*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Palette lifted from regiscompany.com: yellow #ffd200 CTAs with navy #343a4a text,
   pill-shaped buttons, links #2b7bb9, body text #757575 on #f2f2f2. */
:root {
  --bg: #f2f2f2;
  --hero-bg: linear-gradient(135deg, #fffbe6 0%, #f7f8fa 55%, #eef4f9 100%);
  --surface: #ffffff;
  --border: #e2e5ea;
  --border-strong: #d4d4d8;
  --text: #333333;
  --muted: #757575;
  --dark: #343a4a;
  --accent: #f0c05a;
  --accent-hover: #e3ae42;
  --accent-text: #1f2a4a;
  --accent-tint: #fff9db;
  --accent-tint-border: #f2e29a;
  --link: #2b7bb9;
  --link-hover: #1f5a87;
  --green: #16a34a;
  --amber: #b45309;
  --amber-bg: #fffbeb;
  --radius: 12px;
  --maxw: 1200px;
}

html { -webkit-text-size-adjust: 100%; }

/* Class-level `display` values (.modal-backdrop, .modal-success) would otherwise
   override the [hidden] attribute's user-agent `display: none`. */
[hidden] { display: none !important; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Figtree", Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.55;
}

h1, h2, h3 { color: var(--dark); font-family: "Stack Sans Headline", "Figtree", Helvetica, Arial, sans-serif; font-weight: 600; }

a { color: var(--link); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--link-hover); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--accent); color: var(--accent-text); padding: 10px 16px; z-index: 100;
}
.skip-link:focus { left: 8px; top: 8px; }

/* Text equivalent for meaning that is otherwise carried only by an icon — read
   by screen readers, invisible on screen. Not display:none, which would drop it
   from the accessibility tree along with the visual layout. */
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}

/* ── Top bar ── */
.topbar { border-bottom: 1px solid var(--border); background: var(--surface); }
.topbar-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px; height: 58px;
  display: flex; align-items: center; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; }
.brand-mark {
  width: 30px; height: 30px; border-radius: 7px; flex-shrink: 0;
  background: var(--accent); color: var(--accent-text);
  display: grid; place-items: center; font-size: 12px; font-weight: 700; letter-spacing: .3px;
}
.brand-logo { height: 22px; width: auto; flex-shrink: 0; display: block; }
.brand-divider { width: 1px; height: 22px; background: var(--border-strong); }
.brand-title {
  font-size: 15px; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  padding-left: 12px; border-left: 1px solid var(--border-strong);
}
.topbar-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.btn {
  font: inherit; font-size: 15px; font-weight: 700; cursor: pointer;
  border-radius: 7px; padding: 9px 20px; border: 1px solid transparent;
  text-decoration: none; white-space: nowrap; transition: background .12s, border-color .12s;
}
.btn-primary { background: var(--accent); color: var(--accent-text); }
.btn-primary:hover { background: var(--accent-hover); color: var(--accent-text); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { background: #f4f4f5; color: var(--text); }
.btn:disabled { opacity: .55; cursor: not-allowed; }

/* ── Hero ── */
.hero { background: var(--hero-bg); padding: 64px 0 0; position: relative; overflow: hidden; }
.hero h1 { font-size: 32px; font-weight: 700; letter-spacing: -.5px; }
.hero-tagline { color: var(--muted); max-width: 640px; margin-top: 12px; font-size: 16px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 20px; font-size: 14px; }
.hero-curve {
  height: 34px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 60V30C240 0 480 0 720 30C960 60 1200 60 1440 30V60H0Z' fill='%23f2f2f2'/%3E%3C/svg%3E") no-repeat bottom center;
  background-size: cover;
  margin-top: 4px;
}

/* ── Tabs ── */
.tabs {
  display: flex; gap: 4px; border-bottom: 1px solid var(--border);
  margin: 0 0 28px; overflow-x: auto;
}
.tab {
  font: inherit; font-size: 14px; background: none; border: none; cursor: pointer;
  color: var(--muted); padding: 10px 12px; border-bottom: 2px solid transparent;
  margin-bottom: -1px; white-space: nowrap;
}
.tab:hover { color: var(--text); }
.tab[aria-selected="true"] { color: var(--text); font-weight: 600; border-bottom-color: var(--accent); }

.panel { padding-bottom: 64px; }

.panel-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-bottom: 8px;
}
.section-title { font-size: 22px; font-weight: 700; margin-bottom: 6px; }
.section-sub { color: var(--muted); font-size: 14px; margin-bottom: 24px; max-width: 76ch; }

.search-box {
  font: inherit; font-size: 14px; padding: 8px 16px; width: 240px;
  background: var(--surface);
  border: 1px solid var(--border); border-radius: 8px; outline: none;
}
.search-box:focus { border-color: var(--accent); }

.welcome-box {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px 28px; margin-bottom: 24px; font-size: 15px;
}
.notice {
  border: 1px solid #fde68a; background: var(--amber-bg); color: #713f12;
  border-radius: var(--radius); padding: 14px 18px; margin-bottom: 32px; font-size: 14px;
}

.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }

.overview-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 20px; margin-bottom: 40px;
}
.control-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; transition: box-shadow .15s;
}
.control-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,.06); }
.control-card h3 {
  font-size: 16px; font-weight: 600; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: space-between;
}
.control-card h3 .arrow {
  color: var(--muted); font-size: 18px; font-weight: 400;
  background: none; border: none; cursor: pointer; padding: 2px 8px; border-radius: 6px;
  font-family: inherit; line-height: 1;
}
.control-card h3 .arrow:hover { color: var(--dark); background: var(--accent-tint); }

.control-card-title {
  background: none; border: none; padding: 0; font: inherit;
  color: inherit; cursor: pointer; text-decoration: underline;
  text-underline-offset: 3px; text-align: left;
}
.control-card-title:hover { color: var(--link); }

/* Preview points on the Overview tab; the rest live on the Controls tab. */
.control-card-points { list-style: none; display: grid; gap: 10px; }
.control-card-points li {
  position: relative; padding-left: 26px; font-size: 14px; line-height: 1.45;
}
.control-card-points li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--green); color: #fff;
  font-size: 11px; display: grid; place-items: center;
}
.control-card-more {
  background: none; border: none; padding: 0; margin-top: 16px;
  font: inherit; font-size: 13px; color: var(--link);
  cursor: pointer; text-align: left;
}
.control-card-more:hover { text-decoration: underline; }
.control-item {
  display: flex; align-items: flex-start; gap: 8px;
  padding: 6px 0; font-size: 14px;
}
.check-green {
  width: 18px; height: 18px; margin-top: 2px;
  background: var(--green); border-radius: 50%;
  display: grid; place-items: center;
  color: #fff; font-size: 11px; flex-shrink: 0;
}
.view-more {
  background: none; border: none; padding: 0; margin-top: 8px;
  font: inherit; font-size: 13px; color: var(--link);
  cursor: pointer; display: inline-block;
}
.view-more:hover { text-decoration: underline; }

/* ── Overview: narrow sidebar (Compliance + Resources) | main column ── */
.two-col {
  display: grid; grid-template-columns: 300px 1fr;
  gap: 40px; margin-top: 8px; align-items: start;
}
.overview-sidebar { position: sticky; top: 24px; }
.overview-sidebar .card { margin-bottom: 32px; }
.resource-card { padding: 20px; }

.sidebar-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.sidebar-head h2 { font-size: 20px; font-weight: 700; }
.view-all-link {
  background: none; border: none; padding: 0; font: inherit;
  font-size: 13px; color: var(--link); cursor: pointer;
}
.view-all-link:hover { text-decoration: underline; }

.resource-category { margin-top: 20px; }
.resource-category:first-child { margin-top: 0; }
.resource-category h4 {
  font-size: 13px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .5px; color: var(--muted); margin-bottom: 8px;
}
.resource-link {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 6px 0; font: inherit; font-size: 14px;
  color: var(--link); text-decoration: none;
  background: none; border: none; cursor: pointer; text-align: left;
}
.resource-link:hover { text-decoration: underline; }
.resource-link.is-static { color: var(--text); cursor: default; }
.resource-link.is-static:hover { text-decoration: none; }
.lock-icon { color: var(--muted); font-size: 12px; }

.col-title { font-size: 20px; font-weight: 700; margin: 32px 0 16px; }
.overview-sidebar .col-title:first-child,
.right-col .col-title:first-child { margin-top: 0; }
/* Section heads after the first need the same top gap as .col-title. */
.right-col .sidebar-head { margin-top: 40px; }
.right-col > .sidebar-head:first-child { margin-top: 0; }
.overview-sidebar .sidebar-head { margin-top: 32px; }
.privacy-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px;
}

/* For cards whose rows have no dividers, the card supplies the edge padding
   the dividers used to imply. */
.card-padded { padding: 10px 0; }

/* Inside a card the rows are flat dividers, not tiles. */
.card .sub-row,
.card .update-row { border-bottom: 1px solid var(--border); }
.card .sub-row:last-child,
.card .update-row:last-child { border-bottom: none; }

/* ── Updates preview rows ── */
.update-row { padding: 18px 20px; }
.update-row-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
}
.update-row-head h3 { font-size: 15px; font-weight: 600; }
.update-row-body {
  margin-top: 8px; font-size: 14px; color: #3f3f46;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.update-more {
  background: none; border: none; padding: 0; margin-top: 8px;
  font: inherit; font-size: 13px; color: var(--link); cursor: pointer;
}
.update-more:hover { text-decoration: underline; }

/* ── Subprocessor rows (shared by the Overview preview and the full tab) ── */
.sub-row {
  display: grid; grid-template-columns: auto 1fr auto;
  gap: 16px; align-items: center; padding: 14px 20px;
}
.sub-icon {
  position: relative; overflow: hidden;
  width: 36px; height: 36px; border-radius: 8px; flex-shrink: 0;
  display: grid; place-items: center;
  font-weight: 700; font-size: 14px;
  border: 1px solid var(--border);
}
/* Covers the initials when the logo loads; removed on error so they show. */
.sub-icon-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; padding: 5px; background: #fff;
}
.sub-row-main { min-width: 0; }
.sub-row-head { display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap; }
.sub-row-name { font-weight: 600; font-size: 14.5px; color: var(--dark); }
.sub-row-dot { color: var(--muted); }
.sub-row-purpose { color: var(--muted); font-size: 14px; }
.sub-row-location {
  color: var(--muted); font-size: 13.5px; text-align: right;
  max-width: 230px; line-height: 1.45;
}

/* ── Subprocessor pagination ── */
.sub-pager {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  padding: 14px 20px; border-top: 1px solid var(--border);
  font-size: 13px; color: var(--muted);
}
.sub-pager-size { display: flex; align-items: center; gap: 8px; }
.sub-pager-size select {
  font: inherit; font-size: 13px; padding: 4px 6px;
  border: 1px solid var(--border); border-radius: 6px; background: #fff;
}
.sub-pager-nav { display: flex; gap: 8px; }
.btn-sm { padding: 6px 14px; font-size: 13px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.sub-empty { padding: 28px 20px; color: var(--muted); font-size: 14px; }

/* Without JS the page renders nothing, so this is the only content a visitor
   or a text-only crawler sees. It must carry a real route to the documents. */
.noscript-note {
  margin: 0; padding: 16px 20px;
  background: var(--amber-bg); color: var(--text);
  border-bottom: 1px solid var(--border);
  font-size: 14px; line-height: 1.6;
}

/* ── Compliance list ── */
/* Centred, not top-aligned: most rows are now a single line of text, so a
   top-aligned tick sits visibly high against it. */
.compliance-row {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px;
}
.compliance-tick {
  position: relative; overflow: hidden;
  width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; font-size: 13px;
  background: #ecfdf5; color: var(--green);
}
/* With a real certification mark the circle gives way to the artwork: square,
   larger, no tint — registrar marks carry their own colour and must not be
   recoloured or cropped under their brand terms. */
.compliance-row.has-badge .compliance-tick {
  width: 40px; height: 40px; border-radius: 6px; background: transparent;
}
.compliance-badge-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain;
}
/* Self-assessed reads green like the certified items; the "Self-assessed"
   status line below carries the distinction in words rather than colour. */
.compliance-tick.pending { background: #f4f4f5; color: var(--muted); }
.compliance-tick.draft { background: var(--amber-bg); color: var(--amber); }
.compliance-name { font-weight: 600; font-size: 14px; }
.compliance-desc { color: var(--muted); font-size: 12.5px; }
/* Optional scope qualifier under a compliance name, for claims that cover one
   product rather than the company. Deliberately quiet — it qualifies the claim
   above it rather than competing with it. */
.compliance-scope {
  font-size: 11.5px; font-style: italic; color: var(--muted); margin-top: 1px;
}
/* A qualifier that applies to everything in a card rather than to one row —
   default scope, retention period. Set off by a hairline so it reads as a
   legend, not another entry. Roman, not italic: italic is already doing the
   work on .compliance-scope, and reusing it here weakens both. */
.card-footnote {
  margin: 12px 0 0; padding-top: 10px;
  border-top: 1px solid var(--border);
  font-size: 11.5px; line-height: 1.45; color: var(--muted);
}
/* .card-padded has no horizontal padding of its own — its rows carry a 16px
   gutter each, so the footnote has to reproduce it to line up. Cards that pad
   themselves (.privacy-card) need no override. */
.card-padded .card-footnote { margin-top: 10px; padding: 10px 16px 0; }
.compliance-status { font-size: 12px; margin-top: 2px; color: var(--muted); }
.compliance-status.draft { color: var(--amber); font-weight: 600; }

/* ── Check lists (Data Collected / AI Transparency) ──
   Neutral stroked ticks rather than filled green badges. Green reads as
   reassurance; these lists are disclosures of what we collect and how AI is
   used, so they shouldn't borrow the colour the Controls cards use for
   assurances we can evidence. */
.privacy-card .card-intro { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.check-list { list-style: none; display: grid; gap: 10px; }
.check-list li { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.check-mark { display: flex; flex-shrink: 0; color: var(--muted); }

/* ── Resources tab ── */
.resource-section { margin-bottom: 32px; }
.resource-section > h3 {
  font-size: 16px; font-weight: 600; margin-bottom: 12px;
  padding-bottom: 8px; border-bottom: 1px solid var(--border);
}
.resource-row {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 14px 20px; border: 1px solid var(--border); border-radius: 10px;
  margin-bottom: 8px; background: #fff;
}
.resource-main { flex: 1; min-width: 220px; }
.resource-name { font-weight: 500; font-size: 14px; }
.resource-desc { color: var(--muted); font-size: 12.5px; margin-top: 2px; }

/* ── Controls tab ── */
.controls-list { max-width: 900px; }
.control-category {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px 24px; margin-bottom: 24px;
}
.control-category h3 {
  font-size: 16px; font-weight: 600; margin-bottom: 12px;
  padding-bottom: 8px; border-bottom: 1px solid var(--border);
}
.control-row {
  padding: 14px 0; border-bottom: 1px solid #f0f1f3;
  display: flex; align-items: flex-start; gap: 12px;
}
.control-row:last-child { border-bottom: none; }
.control-row .ctrl-title { font-size: 14px; font-weight: 600; }
/* Full sourced wording sits under the short label on the Controls tab. */
.control-row .ctrl-detail {
  font-size: 13.5px; color: var(--muted); margin-top: 3px; line-height: 1.5;
}

/* ── Subprocessors tab ── */
.sub-footer-note {
  margin-top: 24px; padding: 16px 20px; background: #f7f8fa;
  border-radius: 10px; font-size: 13px; color: var(--muted);
}

.pill {
  font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 999px;
  border: 1px solid var(--border-strong); color: var(--muted); white-space: nowrap;
}
.pill-public { color: var(--green); border-color: #bbf7d0; background: #f0fdf4; }
.pill-nda { color: #b45309; border-color: var(--accent-tint-border); background: var(--accent-tint); }
.pill-email { color: #1d4ed8; border-color: #bfdbfe; background: #eff6ff; }

/* ── Tables ── */
.table-wrap { border: 1px solid var(--border); border-radius: var(--radius); overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th {
  text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .5px;
  color: var(--muted); padding: 11px 16px; border-bottom: 1px solid var(--border); background: #fafafa;
}
.data-table td { padding: 13px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
.data-table tr:last-child td { border-bottom: none; }
.sub-note { display: block; color: var(--muted); font-size: 12.5px; margin-top: 4px; }

/* ── Updates ── */
.update {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px 22px; margin-bottom: 14px;
}
.update-cat {
  display: inline-block; font-size: 11px; font-weight: 600; color: #b45309;
  background: var(--accent-tint); border: 1px solid var(--accent-tint-border); border-radius: 999px; padding: 2px 9px;
}
.update h3 { font-size: 16px; font-weight: 600; margin: 10px 0 4px; }
.update-date { color: var(--muted); font-size: 12.5px; }
.update-body { margin-top: 10px; font-size: 14px; color: #3f3f46; }

/* ── Footer ── */
.footer { background: var(--surface); border-top: 1px solid var(--border); padding: 22px 0; margin-top: 24px; }
.footer-inner {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: var(--muted);
}

/* ── Modal ── */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(24, 24, 27, .5);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 40px 16px; overflow-y: auto; z-index: 50;
}
.modal {
  background: var(--surface); border-radius: 14px; width: 100%; max-width: 620px;
  box-shadow: 0 20px 50px rgba(0,0,0,.22);
}
.modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; border-bottom: 1px solid var(--border);
}
.modal-head h2 { font-size: 17px; font-weight: 600; }
.modal-close {
  background: none; border: none; font-size: 26px; line-height: 1;
  color: var(--muted); cursor: pointer; padding: 0 4px;
}
.modal-close:hover { color: var(--text); }
.modal-body { padding: 22px 24px; display: grid; gap: 18px; }
.modal-intro { font-size: 13.5px; color: var(--muted); }
.modal-foot {
  display: flex; justify-content: flex-end; gap: 10px;
  padding: 16px 24px; border-top: 1px solid var(--border);
}

.modal-sm { max-width: 480px; }

.stack-fields { display: grid; gap: 12px; }
.stack-fields input, .stack-fields textarea {
  font: inherit; font-size: 14px; padding: 10px 12px;
  border: 1px solid var(--border-strong); border-radius: 8px;
  background: var(--surface); color: var(--text); width: 100%;
}
.stack-fields input:focus, .stack-fields textarea:focus {
  outline: 2px solid var(--accent); outline-offset: -1px; border-color: var(--accent);
}
.stack-fields textarea { resize: vertical; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; border: none; }
.field > span, .field > legend { font-size: 13px; font-weight: 500; }
.field em { color: #dc2626; font-style: normal; }
.field input[type="text"], .field input[type="email"], .field select, .field textarea {
  font: inherit; font-size: 14px; padding: 9px 11px;
  border: 1px solid var(--border-strong); border-radius: 7px;
  background: var(--surface); color: var(--text); width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--accent); outline-offset: -1px; border-color: var(--accent);
}
.field textarea { resize: vertical; }
.field > legend { margin-bottom: 8px; }

.doc-checklist {
  display: grid; gap: 4px; max-height: 190px; overflow-y: auto;
  border: 1px solid var(--border); border-radius: 7px; padding: 10px 12px;
}
.doc-checklist-group {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px;
  color: var(--muted); margin: 8px 0 2px;
}
.doc-checklist-group:first-child { margin-top: 0; }

.checkbox { display: flex; gap: 9px; align-items: flex-start; font-size: 13.5px; cursor: pointer; }
.checkbox input { margin-top: 3px; flex-shrink: 0; }

/* What happens after submitting — sets expectations, not a contract. */
.process-note {
  border: 1px solid var(--border); border-radius: 8px;
  background: #fafafa; padding: 12px 14px;
  font-size: 12.5px; line-height: 1.55; color: #3f3f46;
}

.form-error {
  color: #b91c1c; background: #fef2f2; border: 1px solid #fecaca;
  border-radius: 7px; padding: 10px 12px; font-size: 13px;
}

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.modal-success { padding: 40px 32px; text-align: center; display: grid; gap: 12px; justify-items: center; }
.success-mark {
  width: 46px; height: 46px; border-radius: 50%; background: #f0fdf4;
  border: 1px solid #bbf7d0; color: var(--green);
  display: grid; place-items: center; font-size: 22px;
}
.modal-success h3 { font-size: 18px; font-weight: 600; }
.modal-success p { font-size: 14px; color: var(--muted); max-width: 44ch; }
.success-ref code {
  font-size: 12.5px; background: #f4f4f5; border: 1px solid var(--border);
  padding: 2px 7px; border-radius: 5px;
}
.modal-success .btn { margin-top: 10px; }

/* ── Draft marker (remove once content is real) ── */
.draft-flag {
  display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: .4px;
  color: var(--amber); background: var(--amber-bg); border: 1px solid #fde68a;
  border-radius: 4px; padding: 1px 6px; margin-left: 6px; vertical-align: middle;
}

@media (max-width: 900px) {
  .overview-grid { grid-template-columns: 1fr; }
  .overview-sidebar { position: static; }
  .two-col { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .hero { padding-top: 44px; }
  .hero h1 { font-size: 27px; }
  .topbar-actions .btn-ghost { display: none; }
  .search-box { width: 100%; }
}
