
/* Office Guard Vault web app — design v2 (OG-VLT-PDR-012) with the approved brand colors (OG-VLT-PDR-021 §2–3):
   navy #0F1F3D for links, focus, current and selected states and primary actions; red #E8192C only for
   errors, critical warnings and things that need attention; logo slate #2D4059 only in the logo files.
   Inter is the interface font; Barlow Condensed for page titles. */
:root {
  --navy: #0F1F3D;
  --navy-700: hsl(219 52% 24%);
  --navy-100: hsl(219 40% 90%);
  --navy-050: hsl(219 45% 96%);
  --red: #E8192C;          /* fills, bars, dots, borders, icons */
  --red-text: hsl(354 72% 36%);  /* red words: #E8192C is under 4.5:1 for small text on tinted backgrounds */
  --red-050: hsl(354 90% 97%);
  --red-100: hsl(354 85% 93%);
  --slate: hsl(220 31% 44%);

  --ink: hsl(222 33% 11%);
  --ink-2: hsl(220 14% 32%);
  --ink-3: hsl(220 10% 45%);
  --line: hsl(220 18% 88%);
  --line-2: hsl(220 22% 93%);
  --bg: hsl(220 30% 97.5%);
  --surface: #fff;

  --ok: hsl(152 60% 28%);   --ok-050: hsl(152 55% 95%);
  --warn: hsl(32 92% 32%);  --warn-050: hsl(40 100% 95%); --warn-200: hsl(38 90% 75%);
  --info: hsl(214 75% 40%); --info-050: hsl(214 90% 96%);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-brand: "Barlow Condensed", "Inter", sans-serif;

  /* Type scale: one family, hierarchy by size and weight */
  --t-title: 700 30px/1.15 var(--font-brand);  /* page title (Barlow Condensed, PDR-021 §5) */
  --t-section: 600 16px/1.35 var(--font);   /* section heading */
  --t-name: 500 15px/1.35 var(--font);      /* document name */
  --t-body: 400 14px/1.5 var(--font);
  --t-meta: 400 13px/1.4 var(--font);       /* secondary details */
  --t-label: 600 12px/1.3 var(--font);      /* small caps labels */

  --r-sm: 8px; --r: 10px; --r-lg: 14px; --r-xl: 18px;
  --shadow-1: 0 1px 2px hsl(220 30% 20% / .05);
  --shadow-2: 0 6px 16px hsl(220 30% 20% / .08), 0 1px 3px hsl(220 30% 20% / .06);
  --shadow-3: 0 20px 50px hsl(220 40% 15% / .20), 0 4px 12px hsl(220 40% 15% / .08);
  --sidebar-w: 232px;
  --rail-w: 320px;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font: var(--t-body); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; letter-spacing: -.003em; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); }
h1 { font: var(--t-title); letter-spacing: 0; color: var(--navy); }
h2 { font: var(--t-section); letter-spacing: -.01em; }
h3 { font: 600 14.5px/1.35 var(--font); }
p { margin: 0; }
a { color: var(--navy); text-underline-offset: 2px; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -48px; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: var(--r); z-index: 100; }
.skip:focus { top: 12px; }
.meta { font: var(--t-meta); color: var(--ink-3); }
.label { font: var(--t-label); color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; }
.muted { color: var(--ink-3); }
.grow { flex: 1; min-width: 0; }
.clip { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ===== Development sign-in bar (stand-in; not part of the product) ===== */
/* The sticky sidebar and top bar sit below the development bar only when it is on the page; the validation host
   removes it (main.js), so there the offset is 0 (CEO, 1 Nov 2026: content was hidden under a 34px gap). */
:root { --dev-bar-h: 0px; }
body:has(.dev-bar) { --dev-bar-h: 34px; }
.dev-bar { position: sticky; top: 0; z-index: 60; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 6px 16px; background: #111827; color: #e5e7eb; font-size: 12.5px; }
.dev-bar strong { color: #fff; font-weight: 600; letter-spacing: .02em; }
.dev-bar select { background: #1f2937; color: #e5e7eb; border: 1px solid #374151; border-radius: 6px; padding: 3px 8px; font-size: 12.5px; }
.dev-bar .sp { flex: 1; }

/* ===== Shell ===== */
.app { display: grid; grid-template-columns: var(--sidebar-w) 1fr; min-height: calc(100vh - var(--dev-bar-h)); }
.sidebar { background: var(--surface); border-right: 1px solid var(--line-2); padding: 18px 12px; display: flex; flex-direction: column; gap: 4px; position: sticky; top: var(--dev-bar-h); height: calc(100vh - var(--dev-bar-h)); }
/* Brand layer (B-1): the approved Vault kit (OG-VLT-PDR-021, MKT-014 v1.1). Files are the kit's slate
   drawings, used as supplied. Minimum widths: horizontal 200, stacked 120. Each symbol size has its
   own drawing (32, 24; the primary symbol from 48 px): never scale one to fill another. */
:root { --logo-slate: #2D4059; --logo-horizontal-w: 204px; --logo-stacked-w: 160px; }
.logo { display: block; height: auto; max-width: none; }
.logo-horizontal { width: var(--logo-horizontal-w); }
.logo-stacked { width: var(--logo-stacked-w); }
.logo-symbol { width: 48px; height: 48px; }
.logo-symbol32 { width: 32px; height: 32px; }
.logo-symbol24 { width: 24px; height: 24px; }
.brand { display: flex; align-items: center; padding: 2px 0 16px; }
.brand .logo-symbol32 { display: none; }
.side-add { margin: 0 0 14px; }
.nav { display: flex; flex-direction: column; gap: 2px; }
.nav a { display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 12px; border-radius: var(--r); color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 14.5px; }
.nav a:hover { background: var(--bg); color: var(--ink); }
.nav a[aria-current="page"] { background: var(--navy-050); color: var(--navy); font-weight: 600; }
.nav a[aria-current="page"] svg { color: var(--navy); }
.nav svg { width: 20px; height: 20px; color: var(--ink-3); flex: none; }
.nav .count { margin-left: auto; min-width: 22px; height: 20px; padding: 0 7px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 12px; font-weight: 600; display: grid; place-items: center; }
.sidebar .storage { margin-top: auto; padding: 12px; font: var(--t-meta); color: var(--ink-3); }
.sidebar .storage b { color: var(--ink); font-weight: 600; }
.meter { height: 6px; border-radius: 99px; background: var(--line-2); margin-top: 8px; overflow: hidden; }
.meter i { display: block; height: 100%; width: 18%; background: var(--navy); border-radius: 99px; }

.main { min-width: 0; display: flex; flex-direction: column; }
.topbar { display: flex; align-items: center; gap: 12px; height: 64px; padding: 0 28px; background: hsl(220 30% 97.5% / .92); backdrop-filter: blur(8px); position: sticky; top: var(--dev-bar-h); z-index: 20; }
.search { flex: 1; max-width: 620px; position: relative; }
.search input { width: 100%; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); padding: 0 16px 0 42px; font-size: 14.5px; }
.search input::placeholder { color: var(--ink-3); }
.search svg { position: absolute; left: 14px; top: 11px; width: 20px; height: 20px; color: var(--ink-3); }
.topbar .sp { flex: 1; }
.avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: 12.5px; color: #fff; background: var(--slate); flex: none; }
.avatar.sm { width: 26px; height: 26px; font-size: 11px; box-shadow: 0 0 0 2px #fff; }
.avs { display: flex; } .avs .avatar + .avatar { margin-left: -7px; }
.content { padding: 4px 28px 56px; max-width: 1320px; width: 100%; }

/* Page header: title, one line of context, page actions on the right */
.ph { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 12px 0 20px; }
.ph .grow > .meta { margin-top: 4px; }
.ph .acts { display: flex; gap: 8px; flex-wrap: wrap; }
.back { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: var(--ink-2); flex: none; }
.back:hover { background: var(--line-2); }
.back svg { width: 20px; height: 20px; }
.crumb { font: var(--t-meta); color: var(--ink-3); }

/* Two-column page: main + right rail */
.cols { display: grid; grid-template-columns: minmax(0, 1fr) var(--rail-w); gap: 24px; align-items: start; }
.stack { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.stack-sm { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.sticky { position: sticky; top: 112px; }

/* ===== Components ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: var(--r); border: 1px solid transparent; font-weight: 600; font-size: 14px; cursor: pointer; text-decoration: none; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-700); }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-secondary:hover { background: var(--bg); }
.btn-ghost { background: transparent; color: var(--ink-2); }
.btn-ghost:hover { background: var(--line-2); color: var(--ink); }
.btn-link { background: none; border: 0; padding: 0; height: auto; color: var(--navy); font-weight: 600; font-size: 14px; text-decoration: underline; text-underline-offset: 2px; }
.btn-danger { background: var(--surface); color: var(--red-text); border-color: hsl(354 60% 85%); }
.btn-sm { height: 34px; padding: 0 12px; font-size: 13.5px; border-radius: 9px; }
.btn-lg { height: 48px; padding: 0 20px; font-size: 15px; border-radius: 12px; }
.btn-block { width: 100%; }
.icon-btn { width: 36px; height: 36px; border-radius: 10px; border: 0; background: transparent; display: inline-grid; place-items: center; color: var(--ink-3); cursor: pointer; flex: none; }
.icon-btn:hover { background: var(--line-2); color: var(--ink); }
.icon-btn svg { width: 20px; height: 20px; }

.card { background: var(--surface); border-radius: var(--r-lg); border: 1px solid var(--line-2); }
.card-pad { padding: 18px 20px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px 8px; }
.card-head a, .sec-head a { font-size: 13.5px; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.sec-head .meta { margin-left: 8px; }

/* File-type icon: one treatment everywhere */
.fi { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.fi svg { width: 20px; height: 20px; }
.fi.lg { width: 44px; height: 44px; border-radius: 12px; } .fi.lg svg { width: 24px; height: 24px; }
.fi-pdf { background: hsl(350 30% 94.5%); color: hsl(350 32% 40%); }
.fi-doc { background: hsl(214 90% 95%); color: hsl(214 70% 40%); }
.fi-img { background: hsl(160 50% 93%); color: hsl(160 55% 27%); }
.fi-xls { background: hsl(140 45% 93%); color: hsl(140 50% 26%); }
.fi-folder { background: var(--navy-050); color: var(--navy); }
.fi-blocked { background: var(--red-050); color: var(--red); }

/* Lists */
.list { display: flex; flex-direction: column; }
.li { display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 10px 20px; position: relative; text-decoration: none; color: inherit; }
.li + .li { border-top: 1px solid var(--line-2); }
.li:hover { background: hsl(220 30% 98.8%); }
.li .name { font: var(--t-name); color: var(--ink); }
.li .name.strong { font-weight: 600; }
.li .row-acts { display: flex; gap: 6px; align-items: center; }
.li.selected { background: var(--navy-050); }
.li.dim .name { color: var(--ink-3); }
/* Status by small marks, not labels */
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex: none; }
.dot-warn { background: hsl(32 92% 45%); }
.dot-red { background: var(--red); }
.dot-accent { background: var(--navy); }
.st { display: inline-flex; align-items: center; gap: 6px; font: var(--t-meta); }
.st-warn { color: var(--warn); font-weight: 500; }
.st-red { color: var(--red-text); font-weight: 500; }
.st-ok { color: var(--ok); }
.st svg { width: 14px; height: 14px; }

/* Table (desktop file list) */
.ftable { width: 100%; border-collapse: collapse; }
.ftable th { text-align: left; font: var(--t-label); color: var(--ink-3); text-transform: uppercase; letter-spacing: .05em; padding: 12px 12px 10px; border-bottom: 1px solid var(--line-2); }
.ftable th:first-child, .ftable td:first-child { padding-left: 20px; }
.ftable td { padding: 10px 12px; border-bottom: 1px solid var(--line-2); vertical-align: middle; font: var(--t-meta); color: var(--ink-2); }
.ftable tr:last-child td { border-bottom: 0; }
.ftable tbody tr:hover td { background: hsl(220 30% 98.8%); }
.ftable tr.selected td { background: var(--navy-050); }
.ftable .fname { display: flex; gap: 12px; align-items: center; text-decoration: none; color: inherit; }
.ftable .fname .name { font: var(--t-name); color: var(--ink); }
.ftable .hover-acts { opacity: .0; transition: opacity .1s; }
.ftable tr:hover .hover-acts, .ftable tr.selected .hover-acts, .ftable tr:focus-within .hover-acts { opacity: 1; }

/* Chips: used sparingly (filters, a few states) */
.chip { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 999px; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.chip svg { width: 13px; height: 13px; }
.chip-ok { background: var(--ok-050); color: var(--ok); }
.chip-warn { background: var(--warn-050); color: var(--warn); }
.chip-red { background: var(--red-050); color: var(--red-text); }
.chip-accent { background: var(--navy-050); color: var(--navy); }
.chip-plain { background: var(--line-2); color: var(--ink-2); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter { height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 13.5px; font-weight: 500; color: var(--ink-2); cursor: pointer; }
.filter[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }

.seg { display: inline-flex; padding: 3px; background: var(--line-2); border-radius: 10px; }
.seg button { border: 0; background: transparent; height: 32px; padding: 0 14px; border-radius: 8px; font-weight: 500; font-size: 13.5px; cursor: pointer; color: var(--ink-2); display: inline-flex; align-items: center; gap: 6px; }
.seg button svg { width: 16px; height: 16px; }
.seg button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow-1); font-weight: 600; }

/* Quick actions (Home) */
.quick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.qa { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line-2); text-decoration: none; color: var(--ink); cursor: pointer; text-align: left; }
.qa:hover { border-color: var(--line); box-shadow: var(--shadow-2); }
.qa .qi { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--navy-050); color: var(--navy); }
.qa .qi svg { width: 21px; height: 21px; }
.qa b { display: block; font-weight: 600; font-size: 14.5px; line-height: 1.25; }
.qa span.meta { display: block; }
.qa.primary { background: var(--navy); border-color: var(--navy); color: #fff; }
.qa.primary .qi { background: hsl(0 0% 100% / .14); color: #fff; }
.qa.primary .meta { color: hsl(219 30% 82%); }

/* Attention rows */
.att { display: flex; align-items: center; gap: 14px; padding: 12px 20px; }
.att + .att { border-top: 1px solid var(--line-2); }
.att .ai { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.att .ai svg { width: 19px; height: 19px; }
.ai-accent { background: var(--navy-050); color: var(--navy); }
.ai-red { background: var(--red-050); color: var(--red); }
.ai-warn { background: var(--warn-050); color: var(--warn); }
.ai-ok { background: var(--ok-050); color: var(--ok); }
.ai-info { background: var(--info-050); color: var(--info); }

/* File cards with preview (Recent, grid view) */
.fgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 14px; }
.fcard { display: flex; flex-direction: column; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line-2); overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow .15s; }
.fcard:hover { box-shadow: var(--shadow-2); }
.prev { height: 112px; background: hsl(220 25% 96%); display: flex; justify-content: center; align-items: flex-end; padding: 14px 18px 0; position: relative; }
.prev .sheet { width: 100%; max-width: 128px; height: 100%; background: #fff; border-radius: 6px 6px 0 0; box-shadow: 0 0 0 1px var(--line-2), 0 2px 6px hsl(220 30% 20% / .06); padding: 10px 10px 0; display: flex; flex-direction: column; gap: 5px; overflow: hidden; }
.prev .sheet b { font-size: 7px; letter-spacing: .06em; color: var(--ink-2); text-align: center; margin-bottom: 2px; }
.prev .sheet i { display: block; height: 4px; border-radius: 2px; background: var(--line); }
.prev .sheet i:nth-child(3n) { width: 70%; } .prev .sheet i:nth-child(4n) { width: 85%; }
.prev.photo { background: linear-gradient(135deg, hsl(200 35% 80%), hsl(160 28% 74%)); align-items: center; }
.prev.photo .sheet { display: none; }
.prev.photo::after { content: ""; width: 44px; height: 44px; border-radius: 12px; background: hsl(0 0% 100% / .55) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23315b4f' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'><rect x='4' y='4' width='16' height='16' rx='2.5'/><circle cx='9' cy='9.5' r='1.6'/><path d='m20 15-4.5-4.5L6 20'/></svg>") center/24px no-repeat; }
.prev.sheetx .sheet { background: repeating-linear-gradient(0deg, #fff 0 9px, var(--line-2) 9px 10px), #fff; }
.fcard .fbody { display: flex; gap: 10px; align-items: center; padding: 10px 12px 12px; }
.fcard .fbody .fi { width: 28px; height: 28px; border-radius: 8px; } .fcard .fbody .fi svg { width: 16px; height: 16px; }
.fcard .name { font: var(--t-name); font-weight: 500; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fcard .fbody { align-items: flex-start; }

/* Folder tiles */
.folders { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.folder { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line-2); text-decoration: none; color: inherit; }
.folder:hover { box-shadow: var(--shadow-2); }
.folder .name { font: var(--t-name); font-weight: 600; white-space: normal; }

/* Banners and notes */
.note { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; font-size: 14px; }
.note svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.note-info { background: var(--info-050); color: hsl(214 60% 22%); }
.note-warn { background: var(--warn-050); color: hsl(30 70% 20%); }
.note-plain { background: var(--bg); color: var(--ink-2); }
/* Calm but unmistakable: payment instructions changed */
.alert-pay { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; background: #fff; border: 1px solid hsl(354 70% 86%); box-shadow: inset 4px 0 0 var(--red); }
.alert-pay .ai { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; flex: none; background: var(--red-050); color: var(--red); }
.alert-pay .ai svg { width: 20px; height: 20px; }
.alert-pay b { color: var(--red-text); }

/* ===== Compare ===== */
.cmp-head { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.vpill { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 13px; font-weight: 500; color: var(--ink-2); }
.vpill svg { width: 14px; height: 14px; color: var(--ink-3); }
.counts { display: flex; gap: 20px; flex-wrap: wrap; padding: 16px 20px; }
.counts div { display: flex; flex-direction: column; }
.counts b { font-size: 22px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.counts .c-red b { color: var(--red-text); }
.counts .sep { width: 1px; background: var(--line-2); }
.grp-title { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; }
.grp-title .meta { margin-left: 2px; }
/* Detected change */
.chg { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 16px 20px; }
.chg + .chg { border-top: 1px solid var(--line-2); }
.chg .ai { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; }
.chg .ai svg { width: 19px; height: 19px; }
.chg .what { font-weight: 600; font-size: 14.5px; }
.chg .vals { margin-top: 6px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.was { color: var(--ink-3); text-decoration: line-through; text-decoration-color: var(--ink-3); font-size: 14px; }
.now { font-weight: 600; color: var(--ink); font-size: 14.5px; }
.crit .now { font-size: 17px; letter-spacing: -.01em; }
.arrow { color: var(--ink-3); }
.critical-card { box-shadow: inset 4px 0 0 var(--red); border-color: hsl(354 60% 90%); }
/* Possible change: dashed, "check this" */
.possible { border: 1.5px dashed hsl(219 35% 72%); background: var(--navy-050); }
.possible .chg + .chg { border-top-color: hsl(219 40% 88%); }
/* Couldn't read: hatched */
.unread { border-radius: var(--r-lg); padding: 14px 18px; display: flex; gap: 14px; align-items: flex-start; background: repeating-linear-gradient(135deg, hsl(220 20% 97%), hsl(220 20% 97%) 8px, hsl(220 20% 93.5%) 8px, hsl(220 20% 93.5%) 16px); border: 1px solid var(--line); }
.unread .ai { background: #fff; color: var(--ink-2); width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.unread .ai svg { width: 19px; height: 19px; }
.legend { display: grid; gap: 10px; }
.legend div { display: flex; gap: 10px; align-items: center; font-size: 13.5px; }
.sw-d, .sw-p, .sw-u, .sw-o { width: 28px; height: 18px; border-radius: 5px; flex: none; display: inline-block; }
.sw-o { background: #fff; border: 1px solid var(--line); box-shadow: inset 3px 0 0 var(--navy); }
.access-ctl { display: inline-flex; gap: 6px; align-items: center; }
.legend-inline { display: none; gap: 16px; flex-wrap: wrap; } .legend-inline > span { display: inline-flex; gap: 6px; align-items: center; } .legend-inline .sw-d, .legend-inline .sw-o, .legend-inline .sw-p, .legend-inline .sw-u { width: 20px; height: 14px; }
.cmp-pill-m { display: none; }
.att-pay { box-shadow: inset 3px 0 0 var(--red); }
.ai { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: none; } .ai svg { width: 19px; height: 19px; }
.sw-d { background: #fff; border: 1px solid var(--line); box-shadow: inset 3px 0 0 var(--red); }
.sw-p { border: 1.5px dashed hsl(219 35% 65%); background: var(--navy-050); }
.sw-u { background: repeating-linear-gradient(135deg, hsl(220 20% 96%), hsl(220 20% 96%) 4px, hsl(220 20% 88%) 4px, hsl(220 20% 88%) 8px); border: 1px solid var(--line); }
/* Mini pages in the rail */
.minis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mini { background: hsl(220 25% 96%); border-radius: 10px; padding: 10px; }
.mini .pg { background: #fff; border-radius: 4px; height: 128px; box-shadow: 0 0 0 1px var(--line-2); padding: 9px; display: flex; flex-direction: column; gap: 5px; }
.mini .pg i { display: block; height: 4px; border-radius: 2px; background: var(--line); }
.mini .pg i.h-del { background: hsl(354 80% 80%); }
.mini .pg i.h-add { background: hsl(152 50% 70%); }
.mini .pg i.h-pos { background: transparent; outline: 1.5px dashed hsl(219 40% 65%); }
.mini .cap { font-size: 12px; font-weight: 600; color: var(--ink-2); margin-top: 8px; text-align: center; }
/* Side by side */
.sbs-shell { display: grid; grid-template-columns: 264px minmax(0, 1fr); gap: 20px; align-items: start; }
.nav-list .ni { display: grid; grid-template-columns: 24px 1fr; gap: 10px; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: inherit; font-size: 13.5px; cursor: pointer; }
.nav-list .ni:hover { background: var(--bg); }
.nav-list .ni.cur { background: var(--navy-050); box-shadow: inset 3px 0 0 var(--navy); }
.nav-list .n { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 11.5px; font-weight: 700; background: var(--line-2); color: var(--ink-2); }
.nav-list .ni.crit .n { background: var(--red); color: #fff; }
.nav-list .ni.pos .n { background: #fff; border: 1.5px dashed hsl(219 40% 60%); color: var(--navy); }
.toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 10px 12px; background: #fff; border: 1px solid var(--line-2); border-radius: 12px; margin-bottom: 14px; }
.sbs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.page { background: #fff; border-radius: 10px; border: 1px solid var(--line-2); padding: 26px 28px; font-size: 13.5px; line-height: 1.7; color: hsl(220 15% 22%); }
.page h4 { margin: 0 0 12px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.page .sec { padding: 4px 0 4px 10px; margin: 4px 0 0 -10px; border-left: 3px solid transparent; }
.page .sec.changed { border-left-color: var(--navy); }
.page .sec.crit { border-left-color: var(--red); }
.page .sec.pos { border-left: 3px dashed hsl(219 40% 62%); }
.mk { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; font-size: 10.5px; font-weight: 700; background: var(--red); color: #fff; vertical-align: 1px; margin-right: 4px; }
.mk.o { background: var(--ink-3); } .mk.p { background: #fff; color: var(--navy); border: 1.5px dashed var(--navy); }
mark.del { background: hsl(220 18% 92%); color: var(--ink-2); text-decoration: line-through; padding: 1px 3px; border-radius: 4px; }
mark.add { background: hsl(152 60% 89%); color: hsl(152 60% 20%); padding: 1px 3px; border-radius: 4px; }
mark.focus { outline: 2px solid var(--navy); outline-offset: 2px; margin: 0 3px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hatch { background: repeating-linear-gradient(135deg, hsl(220 20% 97%), hsl(220 20% 97%) 6px, hsl(220 20% 92%) 6px, hsl(220 20% 92%) 12px); border-radius: 8px; padding: 12px 14px; color: var(--ink-2); font-size: 13px; margin-top: 10px; }

/* ===== Realty workspace ===== */
.tx-hero { padding: 20px 22px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: center; }
.steps { display: flex; align-items: center; gap: 6px; margin-top: 14px; flex-wrap: wrap; }
.steps .s { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--ink-3); }
.steps .s i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); display: block; }
.steps .s.done i { background: var(--ok); } .steps .s.done { color: var(--ink-2); }
.steps .s.cur i { background: var(--navy); box-shadow: 0 0 0 4px var(--navy-100); } .steps .s.cur { color: var(--navy); }
.steps .ln { width: 22px; height: 2px; background: var(--line); }
.steps .ln.done { background: var(--ok); }
.kv { display: flex; gap: 22px; }
.kv div { display: flex; flex-direction: column; }
.kv b { font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.todo { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 20px; }
.todo + .todo { border-top: 1px solid var(--line-2); }
.dgroup { padding: 12px 20px 4px; display: flex; justify-content: space-between; align-items: center; }
.person { display: flex; gap: 12px; align-items: center; padding: 8px 20px; }
/* People card (CEO, 1 Nov 2026): the access dropdown and Remove sit on their own line under the person, so the name and
   role ("Buyer · Can view") keep the full width instead of wrapping behind the dropdown. */
.person { flex-wrap: wrap; }
.person .grow { min-width: 0; flex: 1 1 0; }
.person-acts { display: flex; gap: 8px; align-items: center; flex-basis: 100%; padding-left: 46px; }
.person-acts .select { flex: 1; min-width: 0; }
.act-item { display: grid; grid-template-columns: 26px 1fr; gap: 10px; padding: 8px 20px; font-size: 13.5px; }
.tx-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.txc { padding: 18px 20px; text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 12px; }
.txc:hover { box-shadow: var(--shadow-2); }
.bar { height: 6px; border-radius: 99px; background: var(--line-2); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 99px; background: var(--navy); }

/* Inbox */
.ib-head { display: flex; gap: 10px; align-items: center; padding: 14px 20px 6px; }
.sugg-dest { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-2); background: var(--bg); border-radius: 8px; padding: 3px 8px; }
.sugg-dest svg { width: 14px; height: 14px; color: var(--navy); }

/* Upload */
.dropzone { border: 1.5px dashed hsl(219 30% 75%); border-radius: var(--r-lg); background: var(--navy-050); padding: 16px 18px; display: flex; gap: 14px; align-items: center; }
.dropzone .qi { width: 40px; height: 40px; border-radius: 12px; background: #fff; color: var(--navy); display: grid; place-items: center; flex: none; }
.up-panel { position: fixed; right: 24px; bottom: 24px; width: 380px; z-index: 75; overflow: hidden; box-shadow: var(--shadow-3); border: 0; }
.up-panel header { padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line-2); }
.up-row { padding: 12px 16px; display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center; }
.up-row + .up-row { border-top: 1px solid var(--line-2); }
.prog { height: 4px; background: var(--line-2); border-radius: 99px; margin-top: 6px; overflow: hidden; }
.prog i { display: block; height: 100%; background: var(--navy); border-radius: 99px; }
.drop-overlay { position: fixed; inset: 0; z-index: 72; display: grid; place-items: center; background: hsl(219 61% 15% / .06); border: 2.5px dashed var(--navy); border-radius: 18px; margin: 10px; }
.drop-overlay .card { padding: 26px 34px; text-align: center; box-shadow: var(--shadow-3); }

/* Dialogs, sheets, menus */
.overlay { position: fixed; inset: 0; background: hsl(222 40% 10% / .42); display: grid; place-items: center; z-index: 70; padding: 16px; }
.dialog { width: min(520px, 100%); background: var(--surface); border-radius: var(--r-xl); box-shadow: var(--shadow-3); padding: 22px 24px 24px; max-height: calc(100vh - 32px); overflow: auto; }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.dialog-head h2 { font-size: 18px; }
.grabber { display: none; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 600; font-size: 13.5px; }
.input { height: 44px; border-radius: var(--r); border: 1px solid var(--line); padding: 0 14px; background: #fff; width: 100%; font-size: 14.5px; }
.input:focus { border-color: var(--navy); outline: 2px solid var(--navy); outline-offset: 1px; }
.select { height: 44px; border-radius: var(--r); border: 1px solid var(--line); padding: 0 10px; background: #fff; font-size: 14px; }
.hint { font: var(--t-meta); color: var(--ink-3); }
.opt { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); cursor: pointer; }
.opt + .opt { margin-top: 8px; }
.opt:has(input:checked) { border-color: var(--navy); background: var(--navy-050); }
.opt input { accent-color: var(--navy); width: 18px; height: 18px; }
.menu { position: absolute; z-index: 90; min-width: 230px; background: #fff; border-radius: 14px; box-shadow: var(--shadow-3), 0 0 0 1px var(--line-2); padding: 6px; }
.menu button, .menu a { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 42px; padding: 0 12px; border: 0; background: transparent; border-radius: 10px; text-align: left; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 14px; cursor: pointer; }
.menu button:hover, .menu a:hover { background: var(--bg); }
.menu svg { width: 18px; height: 18px; color: var(--ink-3); }
.menu hr { border: 0; border-top: 1px solid var(--line-2); margin: 6px 4px; }
.menu .danger { color: var(--red-text); } .menu .danger svg { color: var(--red); }
.menu .mhead { display: none; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 12px; display: flex; gap: 14px; align-items: center; box-shadow: var(--shadow-3); z-index: 80; font-weight: 500; font-size: 14px; }
.toast a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.toast :focus-visible { outline-color: #fff; }
.toast.static { position: static; transform: none; box-shadow: var(--shadow-2); }
.notif { position: absolute; right: 24px; top: 64px; width: 380px; z-index: 90; box-shadow: var(--shadow-3); }
.notif .item { display: flex; gap: 12px; padding: 12px 18px; }
.notif .item + .item { border-top: 1px solid var(--line-2); }
.sugg { border: 1px solid var(--line-2); border-radius: 12px; margin-top: 6px; padding: 4px; }
.sugg div { display: flex; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 8px; background: var(--bg); }
mark.hit { background: hsl(219 80% 92%); color: var(--navy); border-radius: 3px; padding: 0 2px; }
.skeleton { background: linear-gradient(90deg, var(--line-2), hsl(220 20% 97%), var(--line-2)); background-size: 200% 100%; animation: sk 1.4s infinite; border-radius: 8px; }
@keyframes sk { to { background-position: -200% 0; } }

/* File view */
.fview { display: grid; grid-template-columns: minmax(0, 1fr) var(--rail-w); gap: 24px; align-items: start; }
.viewer { background: hsl(220 22% 94%); border-radius: var(--r-xl); padding: 28px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.viewer .page { width: 100%; max-width: 620px; min-height: 520px; box-shadow: var(--shadow-2); border: 0; }
.dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: 13.5px; }
.dl dt { color: var(--ink-3); } .dl dd { margin: 0; color: var(--ink); }
.ver { display: flex; gap: 12px; align-items: center; padding: 10px 20px; }
.ver + .ver { border-top: 1px solid var(--line-2); }
.ver .vn { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; font-size: 12px; font-weight: 700; background: var(--line-2); color: var(--ink-2); }
.ver.cur .vn { background: var(--navy); color: #fff; }

/* Phone share mock */
.phone-stage { display: flex; gap: 28px; flex-wrap: wrap; }
.phone { width: 270px; height: 540px; border-radius: 40px; background: #0b0f19; padding: 11px; box-shadow: var(--shadow-3); flex: none; }
.phone .screen { width: 100%; height: 100%; border-radius: 30px; background: #f2f2f7; overflow: hidden; position: relative; font-size: 13px; }
.phone .mail { padding: 44px 16px 0; }
.phone .att { margin-top: 14px; background: #fff; border-radius: 12px; padding: 10px; display: flex; gap: 10px; align-items: center; }
.phone .psheet { position: absolute; left: 0; right: 0; bottom: 0; background: #fff; border-radius: 18px 18px 0 0; padding: 14px 14px 22px; box-shadow: 0 -8px 30px rgb(0 0 0 / .12); }
.apps { display: flex; gap: 12px; margin-top: 12px; }
.apps .a { width: 50px; text-align: center; font-size: 10px; color: #333; }
.apps .a .aic { width: 50px; height: 50px; border-radius: 13px; background: #ddd; margin-bottom: 4px; display: grid; place-items: center; color: #fff; font-weight: 700; }
.apps .a.og .aic { background: var(--navy); outline: 3px solid var(--navy); outline-offset: 2px; }
.step-cap { margin-top: 10px; font-size: 13.5px; font-weight: 600; text-align: center; }
.step-cap span { display: block; font-weight: 400; color: var(--ink-3); font-size: 12.5px; }

/* Empty states */
.empty { text-align: center; padding: 44px 24px; }
.empty .art { width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 22px; background: var(--navy-050); color: var(--navy); display: grid; place-items: center; }
.empty .art svg { width: 34px; height: 34px; }
.empty h2 { font-size: 18px; }
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; text-align: left; }
.way { padding: 16px; display: flex; gap: 12px; align-items: flex-start; }

/* Journeys and design system */
.journey { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; padding: 16px 20px; align-items: center; }
.journey + .journey { border-top: 1px solid var(--line-2); }
.steps-ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; padding: 0; list-style: none; counter-reset: s; }
.steps-ol li { counter-increment: s; background: var(--bg); border: 1px solid var(--line-2); border-radius: 999px; padding: 4px 12px 4px 6px; font-size: 13px; display: flex; align-items: center; gap: 6px; }
.steps-ol li::before { content: counter(s); width: 20px; height: 20px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: 11px; font-weight: 700; }
.big-num { font-family: var(--font-brand); font-size: 40px; font-weight: 700; color: var(--navy); line-height: 1; text-align: right; }
.big-num small { display: block; font-family: var(--font); font-size: 12px; font-weight: 500; color: var(--ink-3); }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.sw { border-radius: 12px; overflow: hidden; border: 1px solid var(--line-2); background: #fff; font-size: 12.5px; }
.sw div { height: 52px; } .sw p { padding: 8px 10px; }
.ds-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.ds-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.states { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }

/* Phone-only pieces */
.tabbar, .fab, .m-only, .m-head { display: none; }
.hscroll { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; scrollbar-width: none; }
.hscroll > * { scroll-snap-align: start; flex: 0 0 168px; }

/* ===== Tablet: icon rail, rail columns fold below ===== */
@media (min-width: 761px) and (max-width: 1180px) {
  :root { --rail-w: 280px; }
  .quick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 761px) and (max-width: 1024px) {
  :root { --sidebar-w: 76px; }
  .sidebar { padding: 16px 10px; align-items: center; }
  .brand { padding: 2px 0 14px; justify-content: center; } .brand .logo-horizontal { display: none; } .brand .logo-symbol32 { display: block; }
  .files-rail { display: none !important; }
  .cmp-rail { display: none !important; }
  .wide-only { display: none !important; }
  .legend-inline { display: flex; } .cmp-pills { display: none !important; } .cmp-pill-m { display: block; }
  .sbs-shell .nav-card { display: block !important; position: static; } .nav-list { display: flex; overflow-x: auto; gap: 6px; } .nav-list .ni { flex: 0 0 210px; }
  .nav a { justify-content: center; padding: 0; width: 52px; height: 48px; position: relative; }
  .nav a span:not(.count) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .nav .count { position: absolute; top: 4px; right: 2px; margin: 0; min-width: 18px; height: 18px; padding: 0 5px; font-size: 11px; }
  .side-add { width: 48px; height: 48px; padding: 0; font-size: 0; gap: 0; border-radius: 14px; } .side-add svg { width: 22px; height: 22px; }
  .sidebar .storage { display: none; }
  .cols, .fview { grid-template-columns: minmax(0, 1fr); }
  .sticky { position: static; }
  .rail-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .content { padding: 4px 24px 56px; } .topbar { padding: 0 24px; }
  .sbs-shell { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px), (pointer: coarse) {
  .btn-sm { height: 44px; } .icon-btn { width: 44px; height: 44px; } .seg button { height: 40px; } .filter { height: 40px; }
}

/* ===== Phone: designed for one hand, not a stacked desktop ===== */
@media (max-width: 760px) {
  body { background: #fff; }
  h1 { font-size: 26px; }
  .app { grid-template-columns: 1fr; }
  .sidebar, .desk { display: none !important; }
  .m-only { display: block; }
  .topbar { height: 56px; padding: 0 16px; top: var(--dev-bar-h); background: hsl(0 0% 100% / .94); border-bottom: 1px solid var(--line-2); }
  .topbar .search { display: none; }
  .m-head { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; }
  .m-head .ttl { font-weight: 600; font-size: 17px; }
  .content { padding: 4px 16px 168px; }
  .ph { margin: 10px 0 14px; }
  .ph .acts { flex-basis: 100%; } .ph .acts:empty { display: none; }
  .cols, .fview, .sbs, .sbs-shell, .rail-2 { grid-template-columns: minmax(0, 1fr); }
  .sticky { position: static; }
  .stack { gap: 20px; }
  .card { border-radius: 16px; }
  .li { padding: 10px 14px; min-height: 64px; }
  .li .name { font-size: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; white-space: normal; }
  .card-head { padding: 14px 16px 6px; }
  .att { padding: 12px 14px; }
  .chg { padding: 14px 14px; grid-template-columns: 32px minmax(0, 1fr); }
  .chg .go { grid-column: 2; justify-self: start; }
  .todo { padding: 12px 14px; grid-template-columns: 32px minmax(0, 1fr); }
  .todo .go { grid-column: 2; justify-self: start; }
  .counts { gap: 14px; padding: 14px 16px; } .counts b { font-size: 19px; }
  .quick { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .qa { flex-direction: column; gap: 6px; padding: 10px 4px; text-align: center; border-radius: 14px; }
  .qa .meta { display: none !important; }
  .qa b { font-size: 12.5px; font-weight: 600; }
  .qa .qi { width: 44px; height: 44px; border-radius: 14px; }
  .fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .folders { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ways { grid-template-columns: 1fr; }
  .tx-hero { grid-template-columns: 1fr; padding: 16px; }
  .kv { gap: 16px; }
  .steps .s span:not(.sr-only) { display: none; } .steps .s.cur span { display: inline; }
  .page { padding: 18px 16px; }
  .viewer { padding: 12px; border-radius: 16px; } .viewer .page { min-height: 0; }
  .journey { grid-template-columns: 1fr; } .big-num { text-align: left; }
  .phone-stage { justify-content: center; }
  .tabbar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; left: 0; right: 0; bottom: 0; background: hsl(0 0% 100% / .97); backdrop-filter: blur(10px); border-top: 1px solid var(--line-2); padding: 4px 4px calc(4px + env(safe-area-inset-bottom)); z-index: 50; }
  .tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 11px; font-weight: 600; color: var(--ink-3); text-decoration: none; position: relative; min-height: 52px; }
  .tabbar a svg { width: 24px; height: 24px; }
  .tabbar a[aria-current="page"] { color: var(--navy); }
  .tabbar a[aria-current="page"] svg { color: var(--navy); }
  .tabbar .badge { position: absolute; top: 3px; left: 54%; min-width: 18px; height: 18px; border-radius: 9px; background: var(--navy); color: #fff; font-size: 11px; display: grid; place-items: center; padding: 0 5px; }
  .fab { display: grid; position: fixed; right: 16px; bottom: 76px; width: 56px; height: 56px; border-radius: 18px; background: var(--navy); color: #fff; place-items: center; box-shadow: var(--shadow-3); border: 0; z-index: 55; }
  .fab svg { width: 26px; height: 26px; }
  .mbar { position: fixed; left: 0; right: 0; bottom: 61px; padding: 10px 16px; background: #fff; border-top: 1px solid var(--line-2); z-index: 45; display: flex; gap: 10px; }
  .mbar .btn { flex: 1; height: 48px; border-radius: 14px; }
  /* Bottom sheets replace dialogs and menus */
  .overlay { place-items: end stretch; padding: 0; }
  .dialog { width: 100%; max-width: none; border-radius: 22px 22px 0 0; padding: 8px 18px 22px; max-height: 88vh; }
  .grabber { display: block; width: 40px; height: 5px; border-radius: 3px; background: var(--line); margin: 4px auto 12px; }
  /* Same order on screen as for the keyboard: the main action comes last in both (WCAG 1.3.2, 2.4.3). */
  .dialog .acts-row { flex-direction: column; } .dialog .acts-row .btn { width: 100%; height: 48px; }
  .menu.sheet { position: fixed; left: 0; right: 0; bottom: 0; top: auto !important; border-radius: 22px 22px 0 0; padding: 8px 10px calc(14px + env(safe-area-inset-bottom)); min-width: 0; }
  .menu.sheet .mhead { display: flex; gap: 12px; align-items: center; padding: 6px 12px 12px; border-bottom: 1px solid var(--line-2); margin-bottom: 6px; }
  .menu.sheet button, .menu.sheet a { min-height: 50px; font-size: 15px; }
  .menu-scrim { position: fixed; inset: 0; background: hsl(222 40% 10% / .42); z-index: 89; }
  .notif { left: 0; right: 0; top: auto; bottom: 0; width: auto; position: fixed; border-radius: 22px 22px 0 0; }
  .up-panel { left: 0; right: 0; bottom: 61px; width: auto; border-radius: 18px 18px 0 0; }
  .toolbar .desk-tools { display: none; }
  .hide-phone { display: none !important; }
}
/* Late rules */
.m-search { display: none; }
.att .chev { display: none; color: var(--ink-3); } .att .chev svg { width: 18px; height: 18px; }
@media (max-width: 760px) {
  .m-search { display: inline-grid; }
  .sbs > section.old { display: none; }
  .sbs-shell .nav-card { display: none; }
  .pick2 { grid-template-columns: 1fr !important; } .pick2 .arrow { display: none; }
  .counts .sep { display: none; } .counts { display: grid; grid-template-columns: 1fr 1fr; }
  .tx-hero .kv b { font-size: 16px; }
  .att .btn { display: none; } .att .chev { display: grid !important; }
  .att { text-decoration: none; color: inherit; }
  .ph .back { align-self: flex-start; margin: 2px -4px 0 -10px; }
  .vpill { font-size: 13px; padding: 0 12px; height: 32px; } .vpill svg { display: none; }
  .cmp-pills { display: none !important; } .cmp-pill-m { display: block; } .legend-inline { display: flex; gap: 12px; }
  .folder .name { white-space: normal; } .folder { align-items: flex-start; }
  .filter { height: 44px; } .seg button { height: 42px; }
  .dialog .acts-row { position: sticky; bottom: -22px; background: #fff; padding: 12px 0 4px; margin-bottom: -4px; border-top: 1px solid var(--line-2); box-shadow: 0 -8px 16px hsl(0 0% 100% / .9); }
  .li:has(.btn-sm:not(.go)) { flex-wrap: wrap; } .tx-docs .li { flex-wrap: wrap; } .tx-docs .li .grow { flex: 1 1 calc(100% - 60px); } .tx-docs .li > .btn, .tx-docs .li > .st { margin-left: 50px; }
  .dialog .person { flex-wrap: wrap; } .dialog .access-ctl { flex-basis: 100%; padding-left: 38px; } .dialog .access-ctl .select { flex: 1; height: 44px !important; }
  .empty-hero { grid-template-columns: 1fr !important; } .empty-hero .btn { width: 100%; }
  .chg .go { height: auto; padding: 0; color: var(--navy); background: none; margin-top: -2px; font-size: 14px; }
  .todo .go { height: 44px; }
  .grp-title { flex-wrap: wrap; row-gap: 2px; } .grp-title .meta { flex-basis: 100%; margin: 0; }
  .crit .now { font-size: 18px; }
  .li:has(.row-acts) { flex-wrap: wrap; align-items: flex-start; }
  .li .row-acts { flex-basis: 100%; padding-left: 58px; margin-top: -2px; }
  .card-head { flex-wrap: wrap; row-gap: 2px; }
  .tabbar a { font-size: 11.5px; letter-spacing: -.01em; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* ===== App additions (no inline styles: the page's CSP forbids them) ===== */
.dev-bar label { display: inline-flex; gap: 6px; align-items: center; }
.row { display: flex; align-items: center; gap: 10px; }
.row-top { display: flex; align-items: flex-start; gap: 12px; }
.wrap { flex-wrap: wrap; }
.between { justify-content: space-between; }
.end { justify-content: flex-end; }
.gap-sm { gap: 6px; } .gap-lg { gap: 16px; }
.mt-xs { margin-top: 4px; } .mt-sm { margin-top: 8px; } .mt { margin-top: 14px; } .mt-lg { margin-top: 24px; }
.mb-sm { margin-bottom: 8px; } .mb { margin-bottom: 14px; }
.pad-b { padding-bottom: 10px; }
.w-full { width: 100%; }
.strong { font-weight: 600; }
.small { font-size: 13px; }
.center { text-align: center; }
.hidden { display: none !important; }
.red { color: var(--red-text); } .ok { color: var(--ok); }
.link { color: var(--navy); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; background: none; border: 0; padding: 0; cursor: pointer; font-size: 13.5px; }
.link:hover { text-decoration-thickness: 2px; }
.danger-link { color: var(--red-text); }
.fi.sm { width: 28px; height: 28px; border-radius: 8px; } .fi.sm svg { width: 16px; height: 16px; }
.li-compact { min-height: 52px; padding-top: 8px; padding-bottom: 8px; }
.name.sm { font-size: 13.5px; }
.loading { padding: 40px; text-align: center; color: var(--ink-3); }
.error-box { padding: 16px 18px; border-radius: 12px; background: var(--red-050); color: var(--red-text); }
.prev img, .viewer img { max-width: 100%; max-height: 520px; border-radius: 8px; display: block; }
.prev.has-img { padding: 0; } .prev.has-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; max-height: none; }
.toast-wrap { position: fixed; left: 0; right: 0; bottom: 28px; display: flex; justify-content: center; pointer-events: none; z-index: 95; }
.toast-wrap .toast { position: static; transform: none; pointer-events: auto; }
.field-error { color: var(--red-text); font-size: 13px; }
.drop-target { outline: 2px dashed var(--navy); outline-offset: -6px; }
.access-note { font: var(--t-meta); color: var(--ink-3); display: flex; gap: 6px; align-items: flex-start; }
.access-note svg { width: 14px; height: 14px; flex: none; margin-top: 2px; }
.pagetext { white-space: pre-wrap; }
.pg-label { margin: 0 0 6px; }
.prog i { width: 0; transition: width .2s; }
.file-input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.menu-btn-row { display: flex; gap: 6px; }
@media (max-width: 760px) { .toast-wrap { bottom: 140px; } }
.dialog.w-440 { width: min(440px, 100%); } .dialog.w-460 { width: min(460px, 100%); } .dialog.w-480 { width: min(480px, 100%); } .dialog.w-520 { width: min(520px, 100%); } .dialog.w-560 { width: min(560px, 100%); }
.push { margin-left: auto; }
.m-vault { color: var(--navy); letter-spacing: .14em; font-family: var(--font-brand); font-size: 13px; }
.bell { position: relative; }
.bell.unread::after { content: ""; position: absolute; top: 8px; right: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 2px #fff; }
.tone-0 { background: hsl(152 40% 34%); } .tone-1 { background: hsl(32 60% 38%); } .tone-2 { background: hsl(214 50% 42%); }
.tone-3 { background: hsl(280 35% 42%); } .tone-4 { background: hsl(190 50% 32%); } .tone-5 { background: var(--navy); }
.search > span svg { position: absolute; left: 14px; top: 11px; width: 20px; height: 20px; color: var(--ink-3); }
.menu-scrim { position: fixed; inset: 0; background: hsl(222 40% 10% / .42); z-index: 89; }
.hero-pad { padding: 28px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: center; background: linear-gradient(120deg, var(--navy-050), #fff 60%); }
.h-lg { font-size: 20px; }
.gap-v { height: 20px; }
.m-searchbox { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px; border-radius: 14px; background: var(--bg); color: var(--ink-3); text-decoration: none; font-size: 15px; }
.m-searchbox svg { width: 20px; height: 20px; }
.fgrid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.drop-overlay .center-ic { margin: 0 auto 12px; width: 52px; height: 52px; border-radius: 16px; }
.drop-overlay h2 { font-size: 18px; }
@media (max-width: 760px) {
  .m-only.list, .m-only.hscroll { display: flex; }
  .m-only.list { flex-direction: column; }
  .quick.m-only { display: grid; }
  .m-only.row { display: flex; }
}
/* ----- classes for the data-driven screens ----- */
a.plain, .plain { color: inherit; text-decoration: none; }
.block { display: block; }
.t-right { text-align: right; } .nowrap { white-space: nowrap; }
.minw { min-width: 0; }
.ink2 { color: var(--ink-2); }
.accent { color: var(--navy); }
.bg-white { background: #fff; }
.wrap-any { overflow-wrap: anywhere; }
.h-md { font-size: 16.5px; }
.center-row { justify-content: center; }
.divider { border-top: 1px solid var(--line-2); padding-top: 12px; margin-top: 4px; }
.divider-top { border-top: 1px solid var(--line-2); padding-top: 10px; }
.plain-fieldset { border: 0; padding: 0; margin: 0 0 14px; }
.plain-fieldset legend { margin-bottom: 6px; }
.person.nopad { padding: 6px 0; }
.select.sm { height: 36px; font-size: 13.5px; }
.filter { display: inline-flex; align-items: center; text-decoration: none; }
.filter[data-on] { background: var(--navy); border-color: var(--navy); color: #fff; }
.seg-full { display: flex; width: 100%; }
.seg-full > * { flex: 1; justify-content: center; }
.segbtn { display: inline-flex; align-items: center; justify-content: center; height: 32px; padding: 0 14px; border-radius: 8px; font-weight: 500; font-size: 13.5px; color: var(--ink-2); text-decoration: none; }
.segbtn.on { background: #fff; color: var(--ink); box-shadow: var(--shadow-1); font-weight: 600; }
.pane-prev { padding: 14px 14px 0; }
.prev.tall { height: 150px; border-radius: 10px; }
.pane-pad { padding: 14px 20px 0; }
.pane-acts { padding: 14px 20px; }
.pane-dl { border-top: 1px solid var(--line-2); padding-bottom: 14px; }
.big-name { font-size: 15px; overflow-wrap: anywhere; }
.pay-line { display: flex; gap: 8px; align-items: flex-start; color: var(--red-text); font-size: 13px; font-weight: 500; }
.pay-line svg { width: 16px; height: 16px; flex: none; margin-top: 2px; }
.img-box { width: 100%; display: flex; justify-content: center; min-height: 160px; }
.img-box img { max-width: 100%; max-height: 520px; border-radius: 8px; }
.vpill.on { border-color: var(--navy); color: var(--navy); }
.suggest-card { padding: 20px 22px; background: linear-gradient(120deg, var(--navy-050), #fff 70%); }
.pick-form { display: grid; grid-template-columns: 1fr auto 1fr auto; gap: 12px; align-items: end; padding: 6px 20px 20px; }
.pick-form .field { margin: 0; } .pick-form .arrow { padding-bottom: 12px; }
.review-note { align-items: center; }
.page .sec.cur { background: var(--navy-050); border-radius: 0 8px 8px 0; }
.fold { margin: 2px 0; } .fold summary { padding: 4px 0; }
.hatch-n { background: repeating-linear-gradient(135deg, #eee, #eee 3px, #ddd 3px, #ddd 6px); }
.dot-dash { border: 1.5px dashed var(--navy); background: transparent; }
.btn.disabled { opacity: .4; pointer-events: none; }
.nav-list { padding: 0 8px 10px; }
.ni.static { cursor: default; }
.bar i.stage-0 { width: 20%; } .bar i.stage-1 { width: 40%; } .bar i.stage-2 { width: 60%; } .bar i.stage-3 { width: 80%; } .bar i.stage-4 { width: 100%; }
.bar i.done { background: var(--ok); }
.add-note:empty { display: none; }
@media (max-width: 760px) {
  .pick-form { grid-template-columns: 1fr; } .pick-form .arrow { display: none; }
  .sbs.show-old > section.old { display: block; } .sbs.show-old > section.new { display: none; }
  .review-note { flex-wrap: wrap; } .review-note .btn { width: 100%; }
  .mbar { display: flex; }
}
@media (min-width: 761px) { .mbar { display: none; } }
/* Layout check fixes: phone touch targets, compare picker width */
.pick-form { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto; }
.pick-form select { width: 100%; min-width: 0; }
@media (max-width: 760px), (pointer: coarse) {
  .btn { height: 44px; }
  .seg button, .segbtn { height: 44px; }
}
@media (max-width: 760px) { .pick-form { grid-template-columns: minmax(0, 1fr); } }
/* Accessibility review fixes */
.input, .select, .btn-secondary, .filter, .opt { border-color: hsl(220 12% 58%); }
mark.add { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 2px; }
.ni-kind { display: block; font-size: 12px; font-weight: 600; }
.ni.crit .ni-kind { color: var(--red-text); } .ni.pos .ni-kind { color: var(--navy); }
.steps { list-style: none; margin: 14px 0 0; padding: 0; }
@media (max-width: 760px) {
  html { scroll-padding-bottom: calc(150px + env(safe-area-inset-bottom)); scroll-padding-top: 100px; }
  .back { width: 44px; height: 44px; }
  .chg .go { min-height: 44px; display: inline-flex; align-items: center; }
  .toolbar .desk-tools { display: flex !important; flex-wrap: wrap; }
  .sec-head a, .card-head a { display: inline-flex; align-items: center; min-height: 44px; }
}
.txc.stretch { position: relative; }
.stretch-link::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-lg); }
.stretch-link:focus-visible { outline: none; } .stretch-link:focus-visible::after { outline: 2px solid var(--navy); outline-offset: 2px; }
del.mark { text-decoration: line-through; background: hsl(220 18% 92%); color: var(--ink-2); padding: 1px 3px; border-radius: 4px; }
ins.mark { background: hsl(152 60% 89%); color: hsl(152 60% 20%); padding: 1px 3px; border-radius: 4px; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 2px; }
.steps .s, .steps .ln { display: flex; }
.page .pg-h { margin: 0 0 12px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }

/* Accessibility re-check fixes */
.toast .toast-act { color: #fff; text-decoration: underline; text-underline-offset: 2px; margin-left: 12px; }
.toast .toast-act:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 760px), (pointer: coarse) { .toast .toast-act { min-height: 44px; padding: 0 8px; } }
html { scroll-padding-top: 112px; }
@media (max-width: 760px) { html { scroll-padding-top: 100px; } }
.steps .s:not(.done):not(.cur) i { background: #fff; border: 1.5px solid hsl(220 12% 52%); }
.steps .s.done i { display: grid; place-items: center; width: 12px; height: 12px; }
.steps .s.done i::after { content: ""; width: 5px; height: 3px; border: solid #fff; border-width: 0 0 1.5px 1.5px; transform: rotate(-45deg) translate(1px, -1px); }
@media (max-width: 760px) {
  .person .select.sm { height: 44px; }
  .card .li a.grow.plain { display: flex; flex-direction: column; justify-content: center; min-height: 44px; }
  .card-head > a { min-width: 44px; justify-content: center; }
}
/* Simulator check: the development sign-in bar scrolls away on phones, so it never covers the top bar */
@media (max-width: 760px) { .dev-bar { position: static; } .topbar { top: 0; } }
/* Page titles take focus on page change (for screen readers); they are not controls, so no outline */
h1[tabindex="-1"]:focus { outline: none; }

/* ---------- M5: document tabs, Activity, protection ---------- */
.doc-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 4px 0 18px; overflow-x: auto; scrollbar-width: none; }
.doc-tab { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; font-weight: 500; font-size: 14px; color: var(--ink-2); text-decoration: none; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.doc-tab[aria-current="page"] { color: var(--ink); font-weight: 600; border-bottom-color: var(--navy); }
.doc-tab:focus-visible { outline: 2px solid var(--navy); outline-offset: -2px; border-radius: 6px; }
.doc-body .viewer { margin: 0 auto; }
.prot p { margin: 0; } .prot p + p { margin-top: 6px; }
.prot .row { flex: none; gap: 8px; }
.act-tools { display: grid; gap: 12px; margin-bottom: 8px; }
.act-search { gap: 10px; }
.act-search form { min-width: 200px; }
.act-day { font: var(--t-meta); font-weight: 600; color: var(--ink-3); text-transform: uppercase; letter-spacing: .04em; margin: 18px 0 4px; }
.act-list { list-style: none; margin: 0; padding: 0; }
.act-row { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; font-size: 14px; }
.act-row + .act-row { border-top: 1px solid var(--line-2); }
.act-row a { font-weight: 600; }
.avatar.sys { background: var(--line-2); color: var(--ink-2); display: inline-grid; place-items: center; }
.avatar.sys svg { width: 14px; height: 14px; }
.act-empty { padding: 16px 0; }
.act-more { display: inline-block; margin-top: 10px; font-weight: 600; }
.act-foot { margin-top: 16px; font-size: 13px; }
@media (max-width: 760px) {
  .prot { flex-wrap: wrap; }
  .prot .row { width: 100%; }
  .act-search form { min-width: 0; flex-basis: 100%; }
}

/* ---------- M6: folders ---------- */
.tree .opt { margin-left: 0; }
.tree-2 { margin-left: 18px !important; } .tree-3 { margin-left: 36px !important; } .tree-4 { margin-left: 54px !important; }
.tree-5 { margin-left: 72px !important; } .tree-6 { margin-left: 90px !important; } .tree-7 { margin-left: 108px !important; } .tree-8 { margin-left: 126px !important; }
@media (max-width: 760px) { .tree-2, .tree-3, .tree-4, .tree-5, .tree-6, .tree-7, .tree-8 { margin-left: 12px !important; } .tree-3, .tree-4 { margin-left: 24px !important; } .tree-5, .tree-6, .tree-7, .tree-8 { margin-left: 36px !important; } }
.wd-list { margin: 10px 0 0; padding-left: 20px; }
.wd-list li { margin: 4px 0; }
nav.crumb a { text-decoration: none; }
.act-search form { gap: 8px; }

/* ---------- M7: integrity ---------- */
.verify { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; }
.verify .ai { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.verify .ai svg { width: 20px; height: 20px; }
.verify p { margin: 4px 0 0; }
.verify-h { margin: 0; font-size: 16px; }
.verify-ok { background: var(--ok-050); } .verify-ok .ai { color: var(--ok); background: #fff; }
.verify-red { background: var(--red-050); } .verify-red .ai { color: var(--red); background: #fff; } .verify-red .verify-h { color: var(--red-text); }
.verify-warn { background: var(--warn-050); } .verify-warn .ai { color: var(--warn); background: #fff; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; }
.dev-demo { border: 1px dashed var(--line); }

/* Breadcrumbs read as links; separators are not read out. */
nav.crumb a:hover, nav.crumb a:focus-visible { text-decoration: underline; }
nav.crumb .sep { padding: 0 2px; }

/* P-4 Compare: coverage and review lists (OG-VLT-ENG-036 §3) */
.plain-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.inline-dl { margin: 4px 0 0; display: grid; gap: 4px; }
.inline-dl dt, .inline-dl dd { display: inline; margin: 0; }
.inline-dl dt::after { content: ": "; }
#cov-h { font-size: inherit; margin: 0; }
.cov-dl { margin: 0; } .cov-dl dd { margin: 0 0 4px; }

/* ---------- P-2 sign-in, enrollment, invitations, Security (OG-VLT-ENG-036 §1) ---------- */
.auth-mode .sidebar, .auth-mode .topbar, .auth-mode .tabbar, .auth-mode .fab { display: none !important; }
.auth-mode .app { grid-template-columns: minmax(0, 1fr); }
.auth-mode .content { max-width: none; padding: 0 16px 56px; }
.auth-wrap { max-width: 460px; margin: 6vh auto 0; }
.auth-wrap.wide { max-width: 760px; }
.auth-brand { display: flex; justify-content: center; margin-bottom: 18px; }
.auth-card h1 { font-size: 28px; line-height: 1.15; }
.auth-card h2 { font-size: 16px; }
.code-input { font-size: 20px; letter-spacing: .2em; font-variant-numeric: tabular-nums; }
.ref-code { font: 700 34px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .18em; text-align: center; padding: 14px; border-radius: 12px; background: var(--navy-050); color: var(--navy); margin: 10px 0; }
.choice { display: flex; flex-wrap: wrap; gap: 8px; }
.enroll-steps { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 4px 0 0; }
.enroll-steps li { font-size: 12.5px; padding: 4px 10px; border-radius: 999px; background: var(--line-2); color: var(--ink-2); }
.enroll-steps li.cur { background: var(--navy-050); color: var(--navy); font-weight: 600; }
.enroll-steps li.done { background: var(--ok-050); color: var(--ok); }
.rcodes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 16px; padding: 14px 18px 14px 36px; background: var(--bg); border-radius: 12px; margin: 0; }
.rcodes code { font: 600 15px ui-monospace, SFMono-Regular, Menlo, monospace; }
code.key { font: 600 14px ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--bg); padding: 2px 6px; border-radius: 6px; overflow-wrap: anywhere; }
.steps-list { padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; margin: 0; }
.sec-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.sec-grid .sec-wide { grid-column: 1 / -1; }
.sec-grid .li .grow { overflow-wrap: anywhere; }
.sec-grid .li > svg { width: 20px; height: 20px; flex: none; color: var(--ink-3); }
@media (max-width: 900px) { .sec-grid { grid-template-columns: minmax(0, 1fr); } }
.pt0 { padding-top: 0; }
.mail-li { align-items: flex-start; }
.mail-text { white-space: pre-wrap; overflow-wrap: anywhere; font: 13px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--bg); padding: 10px 12px; border-radius: 10px; margin-top: 8px; }
.dev-bar .dev-link { color: #c7d2fe; }
a.avatar { text-decoration: none; }
.stepup-layer { z-index: 90; }
.row.wrap { flex-wrap: wrap; }
.auth-card .opt input[type=checkbox] { accent-color: var(--navy); width: 18px; height: 18px; flex: none; }

/* ============================================================================
   Demo visual polish (OG-VLT-PDR-045, 1 Nov 2026): more confident use of the approved
   navy #0F1F3D and white; red #E8192C only for attention; solid, crisp icon tiles;
   a prominent Verified result. Presentation only: no markup or behavior changes.
   ========================================================================== */
:root { --navy-600: hsl(219 50% 20%); --side-ink: hsl(219 35% 86%); }

/* Navigation: a navy sidebar with white text and icons; the logo sits on a white card */
.sidebar { background: var(--navy); border-right: 0; }
.sidebar .brand { background: #fff; border-radius: 12px; padding: 10px 12px; margin: 0 0 14px; }
.sidebar .brand .logo-horizontal { width: 100%; max-width: var(--logo-horizontal-w); height: auto; } /* fits inside the white card (CEO, 1 Nov 2026) */
.sidebar .side-add .btn-primary, .sidebar .btn-primary { background: #fff; color: var(--navy); font-weight: 700; }
.sidebar .side-add .btn-primary:hover, .sidebar .btn-primary:hover { background: var(--navy-050); }
.nav a { color: var(--side-ink); }
.nav svg { color: var(--side-ink); }
.nav a:hover { background: hsl(0 0% 100% / .08); color: #fff; }
.nav a:hover svg { color: #fff; }
.nav a[aria-current="page"] { background: hsl(0 0% 100% / .14); color: #fff; box-shadow: inset 3px 0 0 #fff; }
.nav a[aria-current="page"] svg { color: #fff; }
.nav .count { background: var(--red); color: #fff; }
.sidebar .storage { color: var(--side-ink); }
.sidebar .storage b { color: #fff; }

/* Quick actions: solid navy icon tiles; a clear hover */
.qa { border-color: var(--line); box-shadow: var(--shadow-1); }
.qa .qi { background: var(--navy); color: #fff; }
.qa:hover { border-color: var(--navy); box-shadow: var(--shadow-2); }
.qa b { color: var(--navy); }
.qa.primary b { color: #fff; } /* the navy "Add files" tile keeps a white label (CEO, 1 Nov 2026) */
.qa.primary:hover { border-color: var(--navy-600); }

/* List and attention icons: solid tiles with white icons instead of faded tints */
.ai-accent { background: var(--navy); color: #fff; }
.ai-info { background: var(--info); color: #fff; }
.ai-ok { background: var(--ok); color: #fff; }
.ai-warn { background: var(--warn); color: #fff; }
.ai-red { background: var(--red); color: #fff; }
.fi-pdf { background: hsl(354 70% 93%); color: hsl(354 72% 38%); }
.fi-doc { background: hsl(214 90% 92%); color: hsl(214 80% 34%); }
.fi-img { background: hsl(160 55% 89%); color: hsl(160 65% 22%); }
.fi-xls { background: hsl(140 50% 89%); color: hsl(140 60% 22%); }
.fi-folder { background: var(--navy); color: #fff; }
.icon-btn { color: var(--navy); }

/* Hierarchy: navy section headings and secondary buttons that read as actions */
.card { border-color: var(--line); box-shadow: var(--shadow-1); }
.card-head h2, .card-head h3, .sec-head h2, .sec-head h3 { color: var(--navy); font-weight: 700; }
.btn-secondary { color: var(--navy); border-color: hsl(219 30% 72%); font-weight: 600; }
.btn-secondary:hover { background: var(--navy-050); border-color: var(--navy); }
.btn-link, .card-head a, .sec-head a { color: var(--navy); }

/* The Verified moment: larger, solid, unmistakable; wording unchanged */
.verify { padding: 18px 20px; border-radius: 14px; border: 1px solid transparent; }
.verify .ai { width: 48px; height: 48px; border-radius: 12px; }
.verify .ai svg { width: 26px; height: 26px; }
.verify-h { font-size: 18px; font-weight: 700; }
.verify-ok { background: var(--ok-050); border-color: hsl(152 45% 70%); }
.verify-ok .ai { background: var(--ok); color: #fff; }
.verify-ok .verify-h { color: var(--ok); }
.verify-red { border-color: hsl(354 70% 80%); } .verify-red .ai { background: var(--red); color: #fff; }
.verify-warn { border-color: var(--warn-200); } .verify-warn .ai { background: var(--warn); color: #fff; }
