/* DC Consulting: public site + admin */
:root {
  --blue: #0b62b0; --blue-dark: #084a86; --ink: #111214; --ink-2: #1b1d21; --ink-3: #1f2126;
  --line-dark: #2a2c31; --paper: #f6f5f2; --line: #e3e1dc; --muted: #6b6e73; --muted-2: #7d8087;
  --soft: #a9acb2; --body-dark: #b9bcc2; --accent: #7fa9d6;
  --serif: 'Lato', Arial, sans-serif; --sans: 'Open Sans', Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); text-decoration: underline; }
img { max-width: 100%; }
input, textarea, button, select { font-family: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

/* ---------- shell + rail ---------- */
.shell { display: grid; grid-template-columns: 300px minmax(0, 1fr); height: 100vh; min-height: 720px; overflow: hidden; }
.rail { display: flex; flex-direction: column; background: #fff; border-right: 1px solid #e7e5e0; }
.rail-top { padding: 40px 36px 0; display: flex; flex-direction: column; gap: 18px; }
.logo { align-self: flex-start; background: var(--blue); color: #fff; font-weight: 700; letter-spacing: .04em; font-size: 15px; padding: 9px 12px; border-radius: 6px; }
.logo:hover { color: #fff; text-decoration: none; background: var(--blue-dark); }
.tagline { margin: 0; font-family: var(--serif); font-size: 19px; line-height: 1.3; text-wrap: pretty; }
.menu-btn { display: none; }
.nav { display: flex; flex-direction: column; gap: 2px; padding: 44px 24px 0; }
.nav a { display: flex; align-items: center; gap: 12px; border-radius: 8px; padding: 11px 12px; font-size: 15px; font-weight: 600; color: var(--muted); }
.nav a:hover { background: #f6f5f2; color: var(--ink); text-decoration: none; }
.nav a.active { background: #f1f0ec; color: var(--ink); }
.nav .dot { width: 6px; height: 6px; border-radius: 50%; background: transparent; }
.nav a.active .dot { background: var(--blue); }
.deals { margin-top: auto; background: var(--ink); color: #fff; padding: 28px 36px 24px; display: flex; flex-direction: column; gap: 6px; }
.deals-label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); }
.deals-figure { font-family: var(--serif); font-weight: 700; font-size: 32px; line-height: 1; letter-spacing: -.01em; }
.copy { font-size: 12px; color: var(--muted-2); margin-top: 10px; }
.main { position: relative; min-width: 0; overflow: auto; }
.mobile-footer { display: none; }

/* ---------- shared bits ---------- */
.eyebrow { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.eyebrow.light { font-size: 13px; color: #c9d6e6; }
.pills { display: flex; gap: 12px; flex-wrap: wrap; }
.pill { display: inline-block; border-radius: 999px; padding: 14px 22px; font-size: 15px; font-weight: 600; border: 0; cursor: pointer; }
.pill:hover { text-decoration: none; }
.pill-white { background: #fff; color: var(--ink); }
.pill-white:hover { background: #eef2f7; color: var(--ink); }
.pill-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.5); }
.pill-ghost:hover { color: #fff; border-color: #fff; background: rgba(255,255,255,.08); }
.pill-blue { background: var(--blue); color: #fff; padding: 14px 24px; }
.pill-blue:hover { background: var(--blue-dark); }
.photo { background: var(--img) var(--pos, center) / cover no-repeat #2a2c31; }

/* ---------- home ---------- */
.hero { position: absolute; inset: 0; background: var(--img) center / cover no-repeat #111; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,12,16,.82) 0%, rgba(10,12,16,.35) 60%, rgba(10,12,16,.15) 100%); }
.hero-inner { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: 72px; gap: 28px; color: #fff; max-width: 880px; }
.hero h1 { margin: 0; font-family: var(--serif); font-weight: 700; font-size: clamp(34px, 5.6vh, 62px); line-height: 1.08; letter-spacing: -.01em; text-wrap: balance; }

/* ---------- split pages ---------- */
.split { display: grid; grid-template-columns: minmax(380px, 520px) minmax(0, 1fr); height: 100%; }
.split.wide { grid-template-columns: minmax(380px, 560px) minmax(0, 1fr); }
.panel.dark { background: var(--ink); color: #e9eaec; padding: 64px 52px; overflow: auto; display: flex; flex-direction: column; gap: 24px; }
.panel.centred { justify-content: center; }
.panel h2 { margin: 0; font-family: var(--serif); font-weight: 700; font-size: 34px; line-height: 1.15; color: #fff; }
.panel p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--body-dark); text-wrap: pretty; }
.panel a { color: #9cc3ea; }
.diagram { width: 100%; height: auto; border-radius: 10px; background: #fff; padding: 8px; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tile { border: 1px solid var(--line-dark); border-radius: 10px; padding: 16px; font-size: 15px; font-weight: 600; color: #fff; }
.numbered { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-dark); }
.numbered li { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line-dark); font-size: 17px; font-weight: 600; color: #fff; }
.numbered .num { font-size: 13px; color: var(--muted-2); font-weight: 500; }

/* ---------- contact ---------- */
.contact-details { font-size: 15px !important; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.contact-form input, .contact-form textarea { background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: 8px; padding: 14px; color: #fff; font-size: 15px; width: 100%; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #8b8e94; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--accent); outline: none; }
.contact-form textarea { grid-column: 1 / -1; resize: vertical; }
.contact-form button { justify-self: start; margin-top: 12px; }
.notice { border-radius: 8px; padding: 12px 14px; font-size: 14px; line-height: 1.5; }
.notice.ok { background: #e6f2ea; color: #1d6b3a; }
.notice.err { background: #fbe9e7; color: #b3261e; }

/* ---------- people ---------- */
.people { display: grid; grid-template-columns: 240px minmax(0, 1fr) minmax(0, .7fr); height: 100%; }
.people-list { background: var(--ink); padding: 64px 20px; display: flex; flex-direction: column; gap: 2px; overflow: auto; }
.people-list .eyebrow { padding: 0 12px 16px; }
.people-list a { border-radius: 8px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.people-list a:hover { background: var(--ink-3); text-decoration: none; }
.people-list a.active { background: var(--ink-3); }
.pname { font-size: 15px; font-weight: 600; color: var(--soft); }
.people-list a.active .pname, .people-list a:hover .pname { color: #fff; }
.ptitle { font-size: 12px; color: var(--muted-2); }
.bio { background: var(--paper); padding: 64px 56px; overflow: auto; display: flex; flex-direction: column; gap: 24px; }
.bio-head { display: flex; gap: 28px; align-items: flex-end; flex-wrap: wrap; }
.bio-head img, .initials { width: 180px; height: 220px; object-fit: cover; object-position: 50% 15%; border-radius: 12px; background: #e3e1dc; }
.initials { display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-weight: 700; font-size: 44px; color: #8b8e94; }
.bio-name { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.bio-name h2 { margin: 0; font-family: var(--serif); font-weight: 700; font-size: 38px; line-height: 1.1; }
.bio-name span { font-size: 15px; font-weight: 600; color: var(--blue); }
.bio-text { display: flex; flex-direction: column; gap: 14px; max-width: 62ch; }
.bio-text p { margin: 0; font-size: 16px; line-height: 1.65; color: #3a3d42; text-wrap: pretty; }
.bio-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 20px; max-width: 62ch; }
.bio-foot > a { font-size: 15px; font-weight: 600; word-break: break-all; }
.arrows { display: flex; gap: 8px; }
.arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid #cfccc5; background: #fff; font-size: 18px; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; }
.arrow:hover { text-decoration: none; border-color: var(--ink); color: var(--ink); }
.arrow.dark { background: var(--ink); color: #fff; border: 0; }
.arrow.dark:hover { background: #2a2c31; color: #fff; }

/* ---------- linked lists (services detail, expertise) ---------- */
.numbered.links li { padding: 0; }
.numbered.links li > span:first-child { padding: 16px 0; }
.numbered.links li a, .numbered.links li > span { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.numbered.links li a { color: #fff; padding: 16px 0; }
.numbered.links li a:hover { color: #9cc3ea; text-decoration: none; }
.numbered.links li a:hover .num { color: #9cc3ea; }

/* ---------- deals + detail pages ---------- */
.deals-page { display: grid; grid-template-columns: 340px minmax(0, 1fr) minmax(0, .55fr); height: 100%; }
.deal-list { background: var(--ink); padding: 64px 20px; display: flex; flex-direction: column; gap: 18px; overflow: auto; }
.deal-list > .eyebrow { padding: 0 12px; }
.years { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 8px; }
.years a { border: 1px solid var(--line-dark); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 600; color: var(--soft); }
.years a:hover { color: #fff; border-color: #4a4d55; text-decoration: none; }
.years a.active { background: #fff; border-color: #fff; color: var(--ink); }
.deal-items { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.deal-items a { display: flex; gap: 12px; border-radius: 8px; padding: 10px 12px; font-size: 14px; font-weight: 600; line-height: 1.35; color: var(--soft); }
.deal-items a:hover { background: var(--ink-3); color: #fff; text-decoration: none; }
.deal-items a.active { background: var(--ink-3); color: #fff; }
.deal-items .num { font-size: 12px; color: var(--muted-2); font-weight: 500; padding-top: 2px; flex: 0 0 auto; }
.story { background: var(--paper); padding: 64px 56px; overflow: auto; display: flex; flex-direction: column; gap: 20px; }
.story h2 { margin: 0; font-family: var(--serif); font-weight: 700; font-size: 32px; line-height: 1.2; max-width: 22ch; text-wrap: balance; }
.story h2.big-figure { font-size: 52px; line-height: 1.05; }
.eyebrow.dark { color: var(--blue); }
.rich { display: flex; flex-direction: column; gap: 14px; max-width: 64ch; }
.rich p, .rich li { margin: 0; font-size: 16px; line-height: 1.65; color: #3a3d42; text-wrap: pretty; }
.rich h3 { margin: 8px 0 0; font-size: 17px; font-weight: 700; color: var(--ink); line-height: 1.4; }
.rich ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.rich li::marker { color: var(--blue); }
.story .bio-foot { max-width: 64ch; }
.page-detail .people-list a .pname { font-size: 14px; line-height: 1.35; }

/* ---------- news ---------- */
.news-items a { flex-direction: column; gap: 3px; }
.news-items .date, .news-latest .date { font-size: 12px; font-weight: 600; color: var(--muted-2); letter-spacing: .02em; }
.news-items .empty { color: var(--soft); padding: 10px 12px; display: block; }
.news-img { display: block; align-self: flex-start; max-width: 100%; max-height: 360px; width: auto; height: auto; min-width: 0; object-fit: contain; border-radius: 10px; border: 1px solid var(--line); background: #fff; }
.news-latest { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; max-width: 64ch; }
.news-latest a { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); }
.news-latest a:hover { border-color: var(--ink); text-decoration: none; }
.news-latest .date { color: var(--blue); }
.news-latest b { font-size: 16px; line-height: 1.35; }
.news-latest .ex { font-size: 14px; line-height: 1.55; color: #5a5d63; }
.photo-prev.wide { width: 140px; height: 94px; font-family: var(--sans); font-size: 12px; font-weight: 600; background-position: center; background-size: contain; background-repeat: no-repeat; background-color: #fff; border: 1px solid var(--line); }

/* ---------- mobile (< 900px) ---------- */
@media (max-width: 899px) {
  .shell { display: block; height: auto; min-height: 0; overflow: visible; }
  .rail { position: sticky; top: 0; z-index: 20; border-right: 0; border-bottom: 1px solid #e7e5e0; }
  .rail-top { flex-direction: row; align-items: center; justify-content: space-between; padding: 12px 16px; }
  .tagline, .rail .deals { display: none; }
  .menu-btn { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; padding: 0 11px; }
  .menu-btn span { display: block; height: 2px; background: var(--ink); border-radius: 2px; }
  .nav { display: none; padding: 0 12px 12px; }
  .nav.open { display: flex; }
  .main { overflow: visible; }
  .hero { position: relative; inset: auto; min-height: calc(100svh - 69px); }
  .hero-inner { min-height: calc(100svh - 69px); padding: 40px 20px; }
  .split, .split.wide, .people { display: flex; flex-direction: column; height: auto; }
  .split > *, .people > * { min-width: 0; max-width: 100%; }
  .deals-page { display: flex; flex-direction: column; height: auto; }
  .deals-page > * { min-width: 0; max-width: 100%; }
  .deals-page .photo { display: none; }
  .deals-page.has-sel .story { order: -1; }
  .deal-list { padding: 28px 12px; }
  .deal-items { max-height: 50vh; overflow: auto; }
  .story { padding: 40px 20px; }
  .story h2 { font-size: 26px; }
  .story h2.big-figure { font-size: 40px; }
  .bio-foot > a { min-width: 0; }
  .split .photo, .people .photo { order: -1; min-height: 200px; }
  .panel.dark, .bio { padding: 40px 20px; }
  .people-list { padding: 24px 12px; flex-direction: row; flex-wrap: nowrap; overflow-x: auto; gap: 6px; }
  .people-list .eyebrow { display: none; }
  .people-list a { flex: 0 0 auto; }
  .panel h2 { font-size: 36px; }
  .bio-name h2 { font-size: 30px; }
  .bio-head img, .initials { width: 140px; height: 172px; }
  .tiles, .contact-form { grid-template-columns: 1fr; }
  .mobile-footer { display: flex; flex-direction: column; gap: 6px; background: var(--ink); color: #fff; padding: 28px 20px; }
}

/* ======================= ADMIN ======================= */
.admin-body { min-height: 100vh; }
.login-wrap { min-height: 100vh; display: grid; place-items: center; background: linear-gradient(rgba(10,12,16,.55), rgba(10,12,16,.7)), var(--img) center / cover; padding: 24px; }
.login-card { width: 100%; max-width: 400px; background: #fff; border-radius: 16px; padding: 36px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.login-card .logo { font-size: 13px; padding: 7px 10px; border-radius: 5px; }
.login-card h1 { margin: 4px 0 0; font-family: var(--serif); font-weight: 700; font-size: 28px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: #55585e; }
.field input, .field textarea { border: 1px solid #d8d5cf; border-radius: 8px; padding: 11px 12px; font-size: 15px; color: var(--ink); font-weight: 400; width: 100%; background: #fff; }
.field textarea { font-size: 14px; line-height: 1.5; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(11,98,176,.15); }
.hint { font-weight: 400; color: #8b8e94; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; border-radius: 8px; padding: 11px 16px; font-size: 14px; font-weight: 600; cursor: pointer; text-decoration: none; }
.btn:hover { text-decoration: none; }
.btn-dark { background: var(--ink); color: #fff; } .btn-dark:hover { background: #2a2c31; color: #fff; }
.btn-blue { background: var(--blue); color: #fff; } .btn-blue:hover { background: var(--blue-dark); color: #fff; }
.btn-line { background: #fff; color: var(--ink); border: 1px solid #d8d5cf; } .btn-line:hover { border-color: var(--ink); color: var(--ink); }
.btn-danger { background: none; color: #b3261e; padding-left: 0; } .btn-danger:hover { text-decoration: underline; color: #b3261e; }
.btn-full { width: 100%; padding: 14px; font-size: 15px; }
.link-muted { color: var(--muted); font-size: 13px; text-align: center; }

.admin { min-height: 100vh; display: grid; grid-template-columns: 240px minmax(0, 1fr); background: var(--paper); }
.admin-side { background: var(--ink); color: #fff; padding: 28px 18px; display: flex; flex-direction: column; gap: 6px; }
.admin-brand { display: flex; align-items: center; gap: 8px; padding: 0 8px 28px; }
.admin-brand .logo { font-size: 12px; padding: 6px 9px; border-radius: 5px; }
.admin-brand span { font-size: 12px; color: var(--muted-2); }
.admin-side a.tab { color: var(--soft); border-radius: 8px; padding: 11px 12px; font-size: 14px; font-weight: 600; }
.admin-side a.tab:hover { color: #fff; background: var(--ink-3); text-decoration: none; }
.admin-side a.tab.active { color: #fff; background: var(--ink-3); }
.admin-side .bottom { margin-top: auto; display: flex; flex-direction: column; gap: 6px; }
.admin-side .bottom a, .admin-side .bottom button { background: var(--ink-2); color: #fff; border: 0; border-radius: 8px; padding: 11px 12px; text-align: left; font-size: 14px; cursor: pointer; width: 100%; }
.admin-side .bottom form button { background: none; color: var(--soft); }
.admin-side .bottom a:hover { text-decoration: none; background: var(--ink-3); }
.admin-side .who { font-size: 12px; color: var(--muted-2); padding: 4px 12px; word-break: break-all; }
.admin-main { padding: 40px 48px; display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.admin-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.admin-head h1 { margin: 0; font-family: var(--serif); font-weight: 700; font-size: 30px; }
.admin-head .sub { font-size: 14px; color: var(--muted); }
.card { background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.card.pad { padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.rows { overflow: hidden; }
.row { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 12px 16px; border-bottom: 1px solid #eeece8; }
.row:last-child { border-bottom: 0; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: #e3e1dc 50% 15% / cover; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; color: var(--muted); }
.row .nm { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.row .nm b { font-size: 15px; } .row .nm span { font-size: 13px; color: var(--muted); }
.row form { margin: 0; }
.vis { border: 0; border-radius: 999px; padding: 6px 10px; font-size: 12px; font-weight: 600; cursor: pointer; }
.vis.on { background: #e6f2ea; color: #1d6b3a; } .vis.off { background: #eeece8; color: var(--muted); }
.ctrls { display: flex; gap: 4px; }
.sq { width: 32px; height: 32px; border: 1px solid var(--line); background: #fff; border-radius: 6px; cursor: pointer; color: var(--ink); }
.sq:disabled { opacity: .35; cursor: default; }
.ctrls .btn { height: 32px; padding: 0 12px; font-size: 13px; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; box-shadow: 0 10px 30px rgba(0,0,0,.25); z-index: 50; animation: toast 3.2s forwards; }
.toast.err { background: #b3261e; }
@keyframes toast { 0%, 85% { opacity: 1; } 100% { opacity: 0; visibility: hidden; } }
.alert { border-radius: 8px; padding: 12px 14px; font-size: 14px; background: #fbe9e7; color: #b3261e; }
.edit-grid { display: grid; grid-template-columns: minmax(0, 1fr); max-width: 640px; }
.photo-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.photo-prev { width: 80px; height: 96px; border-radius: 8px; background: #e3e1dc 50% 15% / cover; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 28px; color: #8b8e94; }
.upload { border: 1px dashed #cfccc5; border-radius: 8px; padding: 10px 14px; font-size: 13px; font-weight: 600; cursor: pointer; color: #3a3d42; }
.upload input { display: none; }
.check { display: flex; gap: 8px; align-items: center; font-size: 14px; font-weight: 600; color: #3a3d42; }
.actions { display: flex; gap: 8px; justify-content: space-between; align-items: center; padding-top: 6px; flex-wrap: wrap; }
.actions .right { display: flex; gap: 8px; }
.row .yr { width: 44px; height: 44px; border-radius: 10px; background: #f1f0ec; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: var(--muted); }
.admin-years { padding: 0; }
.admin-years a { border-color: #d8d5cf; color: var(--muted); background: #fff; }
.admin-years a:hover { color: var(--ink); border-color: var(--ink); }
.admin-years a.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.deals-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; max-width: 900px; }
.money-input { display: flex; align-items: center; border: 1px solid #d8d5cf; border-radius: 8px; padding: 0 14px; background: #fff; }
.money-input span { font-size: 22px; color: #8b8e94; }
.money-input input { border: 0; outline: 0; padding: 14px 8px; font-size: 24px; font-weight: 600; width: 100%; }
.hist { border-top: 1px solid #eeece8; padding-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.hist .h { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.hist .h span:last-child { color: #8b8e94; text-align: right; }
.mini-label { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #8b8e94; }
.preview { background: var(--ink); color: #fff; padding: 24px; border-radius: 12px; display: flex; flex-direction: column; gap: 6px; }
.preview .deals-figure { font-size: 36px; }
@media (max-width: 899px) {
  .admin { grid-template-columns: 1fr; }
  .admin-side { flex-direction: row; flex-wrap: wrap; align-items: center; padding: 12px 16px; }
  .admin-brand { padding: 0 8px 0 0; }
  .admin-side .bottom { margin: 0 0 0 auto; flex-direction: row; }
  .admin-side .bottom a, .admin-side .bottom button { width: auto; }
  .admin-side .who { display: none; }
  .admin-main { padding: 24px 16px; }
  .row { grid-template-columns: 44px minmax(0, 1fr); }
  .row > form, .row .ctrls { grid-column: 2; justify-self: start; }
  .deals-grid { grid-template-columns: 1fr; }
}
