:root {
  --bg: #f4f6f8;
  --panel: #ffffff;
  --ink: #000000;
  --muted: #5f5f5f;
  --line: #d7dde3;
  --accent: #2980b9;
  --accent-dark: #1f6796;
  --cyan: #55b8e8;
  --gold: #f3b53f;
  --red: #a80000;
  --green: #00a651;
  --nav: #363636;
  --nav-2: #2b2b2b;
  --shadow: 0 14px 34px rgba(17, 24, 39, 0.07);
  --shadow-soft: 0 8px 24px rgba(17, 24, 39, 0.05);
  font-family: "Work Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { max-width: 100%; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--ink); overflow-x: clip; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
a { color: var(--accent); }
button, input, textarea, select { font: inherit; }
strong, b { font-weight: 600; }
input, textarea, select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  padding: 9px 11px;
  min-width: 0;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(41, 128, 185, .12); }
textarea { min-height: 140px; resize: vertical; }
.short-textarea { min-height: 76px; }
.compact-textarea { min-height: 44px; line-height: 1.35; resize: vertical; overflow-wrap: anywhere; }
.tall-ish { min-height: 220px; }
label { display: grid; gap: 5px; color: #4f5b66; font-weight: 500; font-size: .82rem; }
hr { border: 0; border-top: 1px solid var(--line); width: 100%; }

.shell { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; }
.sidebar { background: var(--nav); color: #f8fbff; display: flex; flex-direction: column; padding: 24px 18px; gap: 22px; position: sticky; top: 0; align-self: start; max-height: 100vh; overflow-y: auto; scrollbar-width: thin; }
.sidebar-mobile-head { display: contents; }
.sidebar-menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.18); border-radius: 8px; background: rgba(255,255,255,.08); color: #fff; align-items: center; justify-content: center; gap: 4px; cursor: pointer; }
.sidebar-menu-toggle span { display: block; width: 20px; height: 2px; border-radius: 999px; background: currentColor; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-link { color: inherit; text-decoration: none; }
.brand-link:hover strong, .brand-link:hover span { color: var(--accent); }
.brand strong, .brand span { display: block; }
.brand span { color: #9fb3ce; font-size: .84rem; margin-top: 2px; }
.mark { width: 44px; height: 44px; display: block; object-fit: contain; flex: 0 0 auto; background: var(--accent); border-radius: 8px; padding: 5px; }
.sidebar nav { display: grid; gap: 3px; }
.sidebar nav a { color: #edf3f8; text-decoration: none; padding: 9px 12px; border-radius: 8px; font-size: .94rem; line-height: 1.2; }
.sidebar nav a.nav-child { margin-left: 8px; padding-left: 14px; color: #f4f8fb; }
.sidebar nav a:hover, .sidebar nav a.active { background: var(--nav-2); box-shadow: inset 3px 0 0 var(--cyan); }
.nav-divider { color: #9ed5ef; font-family: "Montserrat", "Trebuchet MS", Arial, sans-serif; font-size: .74rem; font-weight: 800; letter-spacing: .08em; margin: 18px 10px 6px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.1); text-transform: uppercase; }
.sidebar nav .nav-divider:first-child { border-top: 0; padding-top: 0; margin-top: 4px; }
.sidebar-foot { margin-top: 10px; display: grid; gap: 8px; color: #9fb3ce; }
.sidebar-foot a { color: white; }

.main { display: flex; flex-direction: column; min-height: 100vh; padding: 30px; overflow-x: clip; min-width: 0; }
.topbar { display: grid; grid-template-columns: minmax(260px, 1fr) minmax(420px, 640px) minmax(260px, 280px); align-items: start; gap: 18px; margin-bottom: 16px; }
.announcement-ticker { overflow: hidden; white-space: nowrap; border-radius: 8px; }
.announcement-ticker span { display: inline-block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; vertical-align: middle; }
.backend-announcement { margin: 0 0 22px; padding: 10px 14px; color: #1e4f70; background: #eef7fc; border: 1px solid #cfe4f2; font-weight: 600; }
.eyebrow { color: var(--accent); font-size: .82rem; font-weight: 700; margin: 0 0 6px; text-transform: uppercase; }
.breadcrumbs { display: flex; align-items: center; gap: 8px; margin-top: 10px; color: var(--muted); font-size: .82rem; font-weight: 500; }
.breadcrumbs a { color: var(--accent); text-decoration: none; }
.breadcrumbs b { color: var(--muted); font-weight: 600; }
.public-breadcrumbs, .kb-local-breadcrumbs { margin: 0 0 8px; }
h1, h2, p { margin-top: 0; }
h1, h2, h3, .brand strong, .button, .primary, .danger, .marketing-nav a { font-family: "Montserrat", "Trebuchet MS", Arial, sans-serif; }
h1 { margin-bottom: 0; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.04; letter-spacing: 0; }
h2 { font-size: 1.08rem; font-weight: 700; }
h3 { font-weight: 650; }
.workspace-switcher { min-width: 280px; display: grid; gap: 7px; color: var(--muted); font-weight: 600; font-size: .84rem; }

.panel, .metric, .item-card, .person-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}
.panel { padding: 17px; min-width: 0; }
.panel:hover, .metric:hover { border-color: #c8d7e3; box-shadow: 0 16px 38px rgba(17, 24, 39, .08); }
.panel > p, .panel .muted { line-height: 1.55; }
.metric { padding: 16px; min-width: 0; }
.metric span, .metric small, .muted { color: var(--muted); }
.metric strong { display: block; font-size: 2rem; margin: 8px 0 3px; font-weight: 700; }
.metric-link { color: inherit; text-decoration: none; transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease; }
.metric-link:hover { transform: translateY(-2px); border-color: var(--accent); box-shadow: 0 20px 54px rgba(41, 128, 185, .16); }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.dashboard-cockpit { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); gap: 16px; margin-bottom: 16px; align-items: stretch; }
.dashboard-command-panel, .dashboard-rhythm-panel { position: relative; overflow: hidden; }
.dashboard-command-panel::after { content: ""; position: absolute; inset: 0; opacity: .55; pointer-events: none; background-image: linear-gradient(rgba(41,128,185,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(41,128,185,.08) 1px, transparent 1px); background-size: 34px 34px; mask-image: linear-gradient(110deg, #000 0, transparent 82%); }
.dashboard-command-panel > *, .dashboard-rhythm-panel > * { position: relative; z-index: 1; }
.dashboard-gauge-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.dashboard-gauge-card { display: grid; gap: 8px; align-content: start; min-height: 220px; padding: 16px 12px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.88); color: inherit; text-align: center; text-decoration: none; box-shadow: 0 18px 42px rgba(28,49,68,.07); transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease; }
.dashboard-gauge-card:hover { transform: translateY(-2px); border-color: var(--gauge, var(--accent)); box-shadow: 0 22px 54px rgba(41,128,185,.16); }
.dashboard-gauge-card strong { font-family: "Montserrat", "Trebuchet MS", Arial, sans-serif; font-size: .95rem; }
.dashboard-gauge-card small { color: var(--muted); line-height: 1.35; }
.gauge-ring { --pct: 0; --gauge: var(--accent); position: relative; display: grid; width: 112px; aspect-ratio: 1; margin: 0 auto 6px; place-items: center; border-radius: 999px; background: conic-gradient(var(--gauge) calc(var(--pct) * 1%), #e7eef5 0); box-shadow: inset 0 0 0 1px rgba(207,224,246,.88); }
.gauge-ring::after { content: ""; position: absolute; inset: 10px; border-radius: inherit; background: #fff; box-shadow: inset 0 0 0 1px rgba(207,224,246,.75); }
.gauge-ring b { position: relative; z-index: 1; color: var(--ink); font-family: "Montserrat", "Trebuchet MS", Arial, sans-serif; font-size: 1.32rem; line-height: 1; }
.tone-blue { --gauge: var(--accent); }
.tone-green { --gauge: #24b86f; }
.tone-gold { --gauge: #f1b83b; }
.tone-red { --gauge: #c0392b; }
.dashboard-rhythm-panel { display: grid; gap: 14px; align-content: start; background: linear-gradient(135deg, #fff, #f5fbff); }
.dashboard-signal-strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.dashboard-signal-strip a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: inherit; text-decoration: none; }
.dashboard-signal-strip a:hover { border-color: var(--accent); box-shadow: 0 16px 36px rgba(41,128,185,.12); }
.dashboard-signal-strip span { color: var(--muted); font-size: .78rem; font-weight: 700; text-transform: uppercase; }
.dashboard-signal-strip strong { color: var(--ink); font-family: "Montserrat", "Trebuchet MS", Arial, sans-serif; font-size: 1.35rem; }
.dashboard-signal-strip small { grid-column: 1 / -1; color: var(--muted); }
.grid { display: grid; gap: 16px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.wide { grid-column: span 2; }
.narrow { max-width: 560px; }
.stack { display: grid; gap: 12px; }

.panel-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.item-card { display: grid; grid-template-columns: repeat(5, minmax(130px, 1fr)) auto auto; gap: 8px; align-items: start; padding: 12px; margin-bottom: 10px; }
.item-card > input:first-of-type,
.item-card > textarea:first-of-type { grid-column: span 2; }
.person-card { display: grid; grid-template-columns: repeat(6, minmax(110px, 1fr)) auto auto; gap: 8px; align-items: start; padding: 12px; margin-bottom: 10px; }
.person-card textarea { grid-column: 1 / -3; min-height: 110px; }
.person-fit-header { display: grid; grid-template-columns: repeat(6, minmax(110px, 1fr)) auto auto; gap: 8px; align-items: end; padding: 0 12px 6px; color: var(--muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .02em; }
.person-fit-header strong { color: var(--muted); font-size: .76rem; }
.fit-select { display: grid; gap: 4px; }
.fit-select span { display: none; color: var(--muted); font-size: .78rem; font-weight: 700; }
.source-card { display: grid; grid-template-columns: repeat(4, minmax(150px, 1fr)) auto auto; gap: 10px; align-items: start; padding: 12px; margin-bottom: 10px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow-soft); }
.source-card textarea { grid-column: 1 / -3; min-height: 110px; }
.source-card textarea.compact-textarea { grid-column: auto; min-height: 44px; }
.source-card > textarea.compact-textarea:first-of-type { grid-column: span 2; }
.source-card .primary, .source-card .danger { align-self: start; min-width: 110px; }
.source-note { margin-bottom: 16px; }
.source-note p { margin-bottom: 0; color: var(--muted); line-height: 1.55; }
.member-row { display: grid; grid-template-columns: 1fr 180px auto auto; align-items: center; gap: 8px; border-bottom: 1px solid var(--line); padding: 10px 0; }
.member-row span { display: block; color: var(--muted); font-size: .84rem; }
.member-row .small-note { align-self: center; }
.ecosystem-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--line); padding: 12px 0; }
.ecosystem-row span { display: block; color: var(--muted); font-size: .84rem; margin-top: 3px; }
.super-membership-form { display: grid; gap: 10px; }
.super-membership-form select { height: 40px; min-height: 40px; padding: 0 11px; }
.super-membership-form .primary { min-height: 40px; }
.super-row { display: grid; grid-template-columns: minmax(160px, 1fr) minmax(220px, 1.2fr) minmax(115px, .6fr) repeat(4, minmax(120px, auto)) auto; align-items: center; gap: 8px; border-bottom: 1px solid var(--line); padding: 10px 0; }
.access-row { display: grid; grid-template-columns: 1fr 180px auto auto; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); padding: 12px 0; }
.access-row span { display: block; color: var(--muted); font-size: .84rem; margin-top: 3px; }
.access-row p { color: var(--muted); line-height: 1.45; margin: 8px 0 0; }
.access-create-row { display: grid; grid-template-columns: repeat(3, minmax(160px, 1fr)) auto; gap: 10px; align-items: end; }
.access-create-row .wide { grid-column: 1 / -2; }
.access-invite-row { display: grid; grid-template-columns: repeat(5, minmax(130px, 1fr)) auto; gap: 8px; align-items: end; padding: 0 0 12px; border-bottom: 1px solid var(--line); }
.quick-invite-row { display: grid; grid-template-columns: repeat(4, minmax(150px, 1fr)); gap: 8px; align-items: end; padding: 0 0 12px; border-bottom: 1px solid var(--line); }
.quick-invite-row .primary { min-height: 40px; }
.early-link-create { display: grid; grid-template-columns: minmax(220px, 1fr) 160px 180px auto; gap: 8px; align-items: end; }
.early-link-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: center; border-bottom: 1px solid var(--line); padding: 12px 0; }
.early-link-row.disabled { opacity: .62; }
.early-link-row span, .early-link-row code { display: block; color: var(--muted); font-size: .84rem; margin-top: 3px; overflow-wrap: anywhere; }
.form-entry-row { display: grid; grid-template-columns: 1fr 160px auto auto; align-items: start; gap: 10px; border-bottom: 1px solid var(--line); padding: 12px 0; }
.form-entry-row span { display: block; color: var(--muted); font-size: .84rem; margin-top: 3px; }
.form-entry-row p { color: var(--muted); line-height: 1.45; margin: 8px 0 0; }
.email-log-row { border-bottom: 1px solid var(--line); padding: 12px 0; }
.email-log-row summary { cursor: pointer; display: grid; gap: 4px; }
.email-log-row summary span { color: var(--muted); font-size: .84rem; }
.email-log-error { border: 1px solid #f0b8b2; border-radius: 8px; background: #fff4f1; color: #a31515; padding: 10px 12px; font-weight: 700; }
.email-log-row pre { white-space: pre-wrap; overflow: auto; background: #f8fbff; border: 1px solid var(--line); border-radius: 8px; padding: 12px; }
.invite-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; border-bottom: 1px solid var(--line); padding: 13px 0; }
.invite-row span, .invite-row code { display: block; color: var(--muted); font-size: .82rem; margin-top: 3px; overflow-wrap: anywhere; }
.metric-entry-row { display: grid; grid-template-columns: 1fr .8fr 160px 140px 1fr auto; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); padding: 12px 0; }
.agenda-row { display: grid; grid-template-columns: 90px 1fr 120px .6fr auto; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); padding: 12px 0; }
.calendar-row { display: grid; grid-template-columns: 1fr 160px 120px 120px 150px auto auto; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); padding: 12px 0; }
.admin-row input { min-width: 0; }

.primary, .button, .danger {
  min-height: 38px;
  border: 0;
  border-radius: 8px;
  padding: 0 12px;
  display: inline-grid;
  place-items: center;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}
.primary, .button { background: var(--accent); color: white; box-shadow: 0 10px 22px rgba(41, 128, 185, .18); }
.primary:hover, .button:hover { background: var(--accent-dark); }
.button.small { min-height: 30px; padding: 0 10px; font-size: .82rem; }
.danger { background: #fff4f1; color: var(--red); border: 1px solid #edd1cc; }
.button-row { display: flex; flex-wrap: wrap; gap: 6px; }
.button-row form { margin: 0; }
.log-export-payload { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.print-actions { justify-content: flex-end; align-items: center; max-width: 860px; }
.print-actions form { display: flex; flex-wrap: wrap; gap: 6px; }
.ghost { box-shadow: none; }

.flash { padding: 12px 14px; border-radius: 8px; margin-bottom: 18px; border: 1px solid #bfd4ff; background: #eef5ff; color: var(--accent-dark); overflow-wrap: anywhere; }
.flash.error { background: #fff1f0; color: var(--red); border-color: #ffc8c4; }
.app-footer { margin-top: auto; color: var(--muted); font-size: .78rem; line-height: 1.5; border-top: 1px solid var(--line); padding-top: 14px; text-align: center; }
.app-footer p { margin: 0 0 6px; }
.app-footer a { font-weight: 600; text-decoration: none; }
.auth-footer { margin-top: 22px; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 0 0 16px; padding: 5px; background: #f8fbff; border: 1px solid var(--line); border-radius: 8px; }
.auth-tabs a { min-height: 40px; display: grid; place-items: center; border-radius: 7px; color: #363636; text-decoration: none; font-family: "Montserrat", "Trebuchet MS", Arial, sans-serif; font-weight: 700; }
.auth-tabs a.active { background: var(--accent); color: #fff; box-shadow: 0 10px 22px rgba(41, 128, 185, .16); }
.auth-tabs a:not(.active):hover { background: #eef5ff; color: var(--accent); }
.pill, .pulse b, .agenda span { display: inline-flex; align-items: center; justify-content: center; justify-self: start; width: auto; max-width: 100%; border-radius: 999px; padding: 5px 10px; font-size: .76rem; font-weight: 700; background: #fff4d6; color: #8b5d00; line-height: 1.15; white-space: nowrap; }
.status-pill { display: inline-flex; align-items: center; justify-content: center; justify-self: start; width: auto; max-width: 100%; border-radius: 999px; padding: 5px 10px; background: #eef5ff; color: var(--accent-dark); font-size: .74rem; font-weight: 700; line-height: 1.15; white-space: nowrap; }
.status-pill.green { background: #dff8ec; color: #007a47; }
.status-pill.warning { background: #fff4d6; color: #8b5d00; }
.status-pill.red { background: #fde8e4; color: #a62316; }
.category-pill { background: #eef5ff; color: var(--accent-dark); border: 1px solid rgba(23, 106, 160, .08); }
.category-pill.cat-setup, .category-pill.cat-strategic-foundation { background: #eef5ff; color: #176aa0; }
.category-pill.cat-operate, .category-pill.cat-execution-rhythm, .category-pill.cat-source-os-usage { background: #e9f7fb; color: #106b7b; }
.category-pill.cat-sales-admin, .category-pill.cat-people { background: #f2efff; color: #5940a8; }
.category-pill.cat-control, .category-pill.cat-friction { background: #fff0ec; color: #a34225; }
.category-pill.cat-meetings { background: #edf7ee; color: #26743d; }
.category-pill.cat-knowledge, .category-pill.cat-process, .category-pill.cat-source-os-help { background: #f4f7e8; color: #64750d; }
.category-pill.cat-reports, .category-pill.cat-data { background: #edf3ff; color: #2c579f; }
.category-pill.cat-continuity, .category-pill.cat-resource-control { background: #fff5df; color: #8a5d00; }
.category-pill.cat-platform, .category-pill.cat-scalability, .category-pill.cat-worksheets { background: #f1f4f7; color: #516171; }
.visibility-pill { justify-self: start; background: #eef2f5; color: #516171; border: 1px solid #d8e0e7; max-width: 100%; white-space: normal; line-height: 1.2; }
.category-filter.cat-setup, .category-filter.cat-strategic-foundation { background: #eef5ff; border-color: #c9def5; color: #176aa0; }
.category-filter.cat-operate, .category-filter.cat-execution-rhythm, .category-filter.cat-source-os-usage { background: #e9f7fb; border-color: #c2e8ef; color: #106b7b; }
.category-filter.cat-sales-admin, .category-filter.cat-people { background: #f2efff; border-color: #dcd4ff; color: #5940a8; }
.category-filter.cat-control, .category-filter.cat-friction { background: #fff0ec; border-color: #f1d0c4; color: #a34225; }
.category-filter.cat-meetings { background: #edf7ee; border-color: #c8e8ce; color: #26743d; }
.category-filter.cat-knowledge, .category-filter.cat-process, .category-filter.cat-source-os-help { background: #f4f7e8; border-color: #e0e8bd; color: #64750d; }
.category-filter.cat-reports, .category-filter.cat-data { background: #edf3ff; border-color: #ccd9f5; color: #2c579f; }
.category-filter.cat-continuity, .category-filter.cat-resource-control { background: #fff5df; border-color: #ead7a8; color: #8a5d00; }
.category-filter.cat-platform, .category-filter.cat-scalability { background: #f1f4f7; border-color: #d2dae3; color: #516171; }
.green { background: #ddf8ee !important; color: var(--green) !important; }
.red { background: #ffe3e1 !important; color: var(--red) !important; }
.gold { background: #fff4d6 !important; color: #8b5d00 !important; }
.pulse { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--line); padding: 11px 0; }
.pulse b { align-self: center; display: inline-flex; align-items: center; justify-content: center; min-width: 58px; white-space: nowrap; }
.pulse span { display: block; color: var(--muted); margin-top: 3px; }
.agenda { margin: 0; padding-left: 20px; color: var(--muted); }
.compact-agenda { list-style: none; padding: 0; display: grid; gap: 7px; margin-bottom: 14px; }
.compact-agenda li { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--ink); }
.compact-agenda span { background: transparent; color: var(--ink); border-radius: 0; padding: 0; font-size: .96rem; font-weight: 500; }
.compact-agenda b { color: var(--muted); font-weight: 600; font-size: .86rem; white-space: nowrap; }
.agenda.big { list-style: none; padding: 0; display: grid; gap: 0; color: var(--ink); }
.agenda.big li { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); padding: 12px 0; }
.timer { font-size: 2.6rem; font-weight: 700; background: #eef5ff; border-radius: 8px; padding: 16px; margin-bottom: 16px; }
.timer.small { font-size: 2rem; margin-bottom: 0; }
.sync-timer { display: grid; gap: 12px; background: #eef5ff; border-radius: 8px; padding: 16px; margin-bottom: 16px; border: 1px solid #d6e6ff; }
.sync-timer strong { font-size: 2.8rem; line-height: 1; }
.sync-cockpit { position: sticky; top: 12px; z-index: 8; display: grid; grid-template-columns: minmax(420px, .86fr) minmax(500px, 1.14fr); gap: 18px; align-items: start; margin: -10px -10px 18px; padding: 10px; background: linear-gradient(180deg, rgba(246,248,250,.98), rgba(246,248,250,.94)); border: 1px solid rgba(207,224,246,.55); border-radius: 10px; box-shadow: 0 16px 38px rgba(20,48,72,.10); }
.sync-cockpit > * { min-width: 0; max-width: 100%; }
.sync-command-bar { display: grid; grid-template-columns: 1fr; gap: 14px; align-content: start; margin-bottom: 0; min-width: 0; background: linear-gradient(135deg, #fff, #f5fbff); }
.sync-command-bar .sync-timer { margin-bottom: 0; }
.sync-command-copy { max-width: none; }
.sync-command-copy h2 { margin-bottom: 6px; }
.sync-command-copy p { margin-bottom: 0; max-width: none; }
.sync-command-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; align-items: stretch; }
.sync-command-indicators { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.sync-command-indicators span { display: grid; align-content: center; min-height: 72px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--muted); font-size: .82rem; line-height: 1.25; box-shadow: 0 14px 34px rgba(28,49,68,.06); }
.sync-command-indicators b { display: block; margin-bottom: 3px; color: var(--accent); font-family: "Montserrat", "Trebuchet MS", Arial, sans-serif; font-size: 1.32rem; line-height: 1; }
.timer-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.timer-actions button { min-width: 82px; }
.secondary { background: white; color: var(--accent); border: 1px solid #cfe0f6; box-shadow: none; }
.secondary:hover { background: #eef5ff; }
.meeting-generated { margin-top: 18px; }
.meeting-room-panel { margin-bottom: 18px; }
.sync-room-preview { display: grid; gap: 10px; margin-bottom: 0; min-width: 0; max-width: 100%; overflow: hidden; }
.sync-room-preview .panel-header { align-items: center; gap: 12px; }
.sync-room-header { display: flex; justify-content: space-between; }
.sync-room-header h2, .sync-room-header p { margin-bottom: 0; }
.sync-room-header-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 6px; }
.sync-room-actions { justify-content: flex-end; gap: 6px; }
.small-button { min-height: 34px; padding: 7px 10px; font-size: .82rem; }
.meeting-room-frame-wrap { position: relative; min-width: 0; }
.meeting-room-frame { display: block; width: 100%; min-height: 520px; border: 1px solid var(--line); border-radius: 8px; background: #111; }
.sync-room-preview .meeting-room-frame { min-height: 230px; height: clamp(230px, 18vw, 320px); }
body.room-popout-active::after { content: ""; position: fixed; inset: 0; z-index: 360; background: rgba(5, 16, 25, .62); }
.sync-room-preview.room-popout-open {
  position: fixed;
  z-index: 370;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(1120px, calc(100vw - 28px));
  height: min(760px, calc(100vh - 28px));
  min-width: min(640px, calc(100vw - 28px));
  min-height: min(460px, calc(100vh - 28px));
  max-width: calc(100vw - 28px);
  max-height: calc(100vh - 28px);
  resize: both;
  overflow: auto;
  grid-template-rows: auto minmax(0, 1fr);
  padding: 12px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .34);
}
.sync-room-preview.room-popout-open .sync-room-header { cursor: move; user-select: none; }
.sync-room-preview.room-popout-open .meeting-room-frame-wrap { min-height: 0; height: 100%; }
.sync-room-preview.room-popout-open .meeting-room-frame { min-height: 100%; height: 100%; }
.sync-room-disabled { display: grid; align-content: center; justify-items: start; gap: 10px; min-height: 220px; }
.sync-room-disabled h2 { margin: 0; }
.generated-list { margin: 0; padding-left: 20px; color: var(--muted); line-height: 1.55; }
.sync-live-review { margin-top: 18px; }
.sync-live-review .panel-header { align-items: start; }
.sync-review-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-items: start; }
.sync-review-column { display: grid; gap: 10px; min-width: 0; }
.sync-review-column h3 { margin-bottom: 2px; }
.sync-review-card {
  display: grid;
  gap: 9px;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.sync-review-card strong { line-height: 1.25; }
.sync-review-card span,
.sync-review-card p { margin: 0; color: var(--muted); line-height: 1.45; }
.sync-review-card label { display: grid; gap: 4px; color: var(--muted); font-size: .78rem; font-weight: 700; }
.sync-review-card label.check { display: flex; align-items: center; gap: 7px; color: var(--ink); font-size: .9rem; }
.sync-review-card .button-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.sync-review-card .button-row button,
.sync-review-card .button-row .button { width: 100%; min-width: 0; padding-inline: 8px; }
.sync-review-card.readonly .button { justify-self: start; }
.history-item { border-bottom: 1px solid var(--line); padding: 12px 0; }
.history-item pre { white-space: pre-wrap; background: #f8fbff; border: 1px solid var(--line); border-radius: 8px; padding: 12px; overflow: auto; }
.settings-panel { margin-top: 18px; }
.architect-hero { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.architect-hero h2 { font-size: clamp(1.8rem, 4vw, 3.1rem); line-height: 1.05; max-width: 820px; }
.architect-status { display: grid; gap: 8px; justify-items: end; min-width: 150px; }
.architect-status small { color: var(--muted); text-align: right; }
.architect-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.architect-form .wide { grid-column: 1 / -1; }
.architect-checks { border: 1px solid var(--line); border-radius: 8px; padding: 14px; display: flex; flex-wrap: wrap; gap: 10px 18px; }
.architect-checks legend { padding: 0 6px; font-family: "Montserrat", "Trebuchet MS", Arial, sans-serif; font-weight: 700; }
.architect-preview { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.architect-preview ul { margin: 0; padding-left: 18px; color: var(--muted); line-height: 1.7; }
.architect-cta { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 18px; border-left: 4px solid var(--accent); }
.architect-cta p { margin: 5px 0 0; }
.settings-tab-nav { position: sticky; top: 0; z-index: 4; display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 16px; padding: 6px; background: rgba(255,255,255,.95); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow-soft); backdrop-filter: blur(8px); }
.settings-tab-nav button { min-height: 36px; display: inline-grid; place-items: center; padding: 0 11px; border: 0; border-radius: 8px; color: #363636; background: transparent; text-decoration: none; font-family: "Montserrat", "Trebuchet MS", Arial, sans-serif; font-weight: 600; font-size: .84rem; cursor: pointer; }
.settings-tab-nav button:hover, .settings-tab-nav button:focus { background: #eef5ff; color: var(--accent); }
.settings-tab-nav button.active { background: var(--accent); color: #fff; }
.profile-tab-nav { margin-top: 18px; }
.profile-hero { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; margin-bottom: 18px; }
.profile-hero h2 { margin-bottom: 4px; font-size: clamp(1.8rem, 4vw, 2.7rem); line-height: 1.05; }
.profile-hero .button-row { margin-top: 12px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: inline-grid; place-items: center; object-fit: cover; flex: 0 0 auto; background: #eef5ff; color: var(--accent-dark); border: 1px solid #cfe0f6; font-family: "Montserrat", "Trebuchet MS", Arial, sans-serif; font-weight: 800; }
.avatar-lg { width: 96px; height: 96px; font-size: 1.8rem; }
.avatar-sm { width: 36px; height: 36px; font-size: .82rem; }
.avatar-xs { width: 32px; height: 32px; font-size: .76rem; }
.sidebar-profile { display: flex; align-items: center; gap: 9px; color: white; text-decoration: none; min-width: 0; }
.sidebar-profile span { display: grid; gap: 2px; min-width: 0; }
.sidebar-profile strong, .sidebar-profile small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-profile small { color: #9fb3ce; font-size: .72rem; }
.member-identity { display: flex; align-items: center; gap: 10px; min-width: 0; }
.member-identity span { min-width: 0; }
.member-identity strong, .member-identity small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.member-identity small { color: var(--muted); font-size: .84rem; }
.settings-group { scroll-margin-top: 18px; }
body.js-settings-tabs .settings-group { display: none; }
body.js-settings-tabs .settings-group.active { display: block; }
body.js-settings-tabs .settings-group.stack.active { display: grid; }
.mini-card { padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: var(--shadow-soft); }
.mini-card strong { display: block; margin: 5px 0 4px; font-family: "Montserrat", "Trebuchet MS", Arial, sans-serif; font-size: 1.08rem; }
.mini-card small { display: block; color: var(--muted); line-height: 1.45; }
.text-success { color: #047857; }
.text-danger { color: #b91c1c; }
.content-library-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.content-library-card { display: grid; align-content: start; gap: 8px; min-height: 210px; padding: 15px; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: var(--shadow-soft); }
.content-library-card h3 { margin: 0; font-size: 1.04rem; }
.content-library-card p { color: var(--muted); margin: 0; line-height: 1.45; }
.content-library-card small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: #6d7782; line-height: 1.35; }
.content-library-card .button-row { margin-top: auto; }
.content-library-toolbar { display: grid; grid-template-columns: minmax(220px, 340px) 1fr; gap: 12px; align-items: center; margin-bottom: 14px; }
.content-library-toolbar input[type="search"] { min-height: 40px; }
.content-library-tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.content-library-tabs button { min-height: 38px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); font-weight: 700; cursor: pointer; }
.content-library-tabs button.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.content-library-panel { display: none; }
.content-library-panel.active { display: block; }
.content-library-card[hidden] { display: none; }
.content-editor-form { max-width: 1040px; }
.field-help { display: block; margin-top: 5px; color: var(--muted); font-weight: 400; font-size: .78rem; line-height: 1.35; }
.topbar-tools { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; justify-content: stretch; gap: 8px; margin-top: 0; }
.global-search-form { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 6px; min-width: 0; width: 100%; }
.global-search-form input { min-height: 38px; width: 100%; }
.topbar-action-row { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px; min-width: 0; }
.topbar-action-row .button { min-height: 38px; white-space: nowrap; }
.profile-message-list { display: grid; gap: 10px; }
.profile-message-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 10px; border: 1px solid var(--line); border-radius: 8px; padding: 11px; background: #fff; }
.profile-message-row small { display: block; color: var(--muted); font-size: .78rem; }
.profile-message-row p { grid-column: 1 / -1; margin: 0; color: var(--muted); line-height: 1.45; }
.platform-control-panel + .platform-control-panel { margin-top: 14px; }
.inline-edit-tools { display: flex; justify-content: flex-end; margin: 0 0 10px; }
.edit-page-button { min-height: 34px; padding-inline: 11px; font-size: .82rem; }
.quick-add-modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 18px; background: rgba(0, 0, 0, .42); }
.quick-add-modal.open { display: flex; }
.quick-add-panel, .quick-add-dialog { width: min(560px, 100%); background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 24px 70px rgba(0, 0, 0, .24); padding: 18px; }
.quick-add-panel .button-row, .quick-add-dialog .button-row { justify-content: flex-end; }
.search-results, .search-result-list { display: grid; gap: 8px; }
.search-result-row { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 10px 12px; color: inherit; text-decoration: none; }
.search-result-row:hover { border-color: var(--accent); box-shadow: 0 10px 24px rgba(41, 128, 185, .1); }
.search-results-panel { width: min(680px, calc(100vw - 28px)); }
.search-results-body { display: grid; gap: 10px; }
.search-filter-tabs { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.search-filter-tabs button { border: 1px solid #cfe0f1; border-radius: 999px; background: #fff; color: var(--accent-dark); cursor: pointer; font: inherit; font-size: .78rem; font-weight: 800; padding: 6px 11px; }
.search-filter-tabs button:hover, .search-filter-tabs button.active { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 8px 18px rgba(41, 128, 185, .14); }
.search-result-row[hidden] { display: none; }
.marketing-copy-tools { display: grid; gap: 14px; }
.marketing-copy-block { min-height: 440px; font-family: Consolas, "Courier New", monospace; line-height: 1.45; white-space: pre-wrap; }
.platform-access-form { display: grid; gap: 16px; }
.platform-access-grid { display: grid; grid-template-columns: repeat(3, minmax(220px, 1fr)); gap: 13px 16px; align-items: start; }
.platform-access-grid .check { min-height: 44px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: #f8fbff; }
.platform-access-grid .wide { grid-column: span 2; }
.platform-access-actions { display: flex; justify-content: flex-start; }
.platform-access-actions .primary { min-height: 44px; }
.kb-layout { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.kb-item { border-bottom: 1px solid var(--line); padding: 12px 0; }
.kb-item summary { cursor: pointer; display: grid; gap: 4px; }
.kb-item summary span { color: var(--muted); font-size: .86rem; line-height: 1.4; }
.kb-item p { color: var(--muted); line-height: 1.6; margin: 12px 0 0; }
.manual-grid, .resource-grid { display: grid; grid-template-columns: repeat(3, minmax(220px, 1fr)); gap: 14px; margin-top: 14px; }
.kb-flat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
.manual-card, .resource-card { border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 16px; display: grid; gap: 8px; align-content: start; color: inherit; text-decoration: none; min-height: 148px; box-shadow: var(--shadow-soft); }
.manual-card:hover { border-color: var(--accent); box-shadow: 0 14px 34px rgba(41, 128, 185, .13); }
.manual-card span { color: var(--accent); font-weight: 600; }
.manual-card p, .resource-card p { color: var(--muted); line-height: 1.5; margin: 0; }
.manual-article { max-width: 920px; }
.manual-article h2 { font-size: clamp(1.8rem, 4vw, 2.65rem); line-height: 1.05; margin-bottom: 10px; }
.manual-lede { color: var(--accent); font-weight: 600; font-size: 1.05rem; line-height: 1.5; }
.manual-article .article-body { margin: 18px 0; }
.manual-article .article-body h3 { margin: 20px 0 8px; }
.manual-article .article-body p { color: var(--muted); line-height: 1.65; }
.resource-card .button { justify-self: start; margin-top: 4px; }
.resource-card > span:first-child:not(.category-pill) { display: inline-flex; justify-self: start; width: auto; border-radius: 999px; background: #eef5ff; color: var(--accent-dark); padding: 4px 9px; font-size: .72rem; font-weight: 700; text-transform: uppercase; }
.resource-card > span.category-pill:first-child { display: inline-flex; justify-self: start; width: auto; border-radius: 999px; padding: 4px 9px; font-size: .72rem; font-weight: 700; text-transform: uppercase; }
.resource-library { display: grid; gap: 18px; }
.kb-filter-tabs { display: flex; flex-wrap: wrap; gap: 8px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.kb-page .kb-filter-tabs,
.kb-unified-library > .kb-filter-tabs,
.resource-library > .kb-filter-tabs {
  position: sticky;
  top: 0;
  z-index: 3;
  background: rgba(244, 246, 248, .96);
  padding-top: 8px;
  padding-bottom: 10px;
  backdrop-filter: blur(8px);
}
.kb-filter-tabs button { min-height: 36px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: #363636; padding: 0 12px; font-family: "Montserrat", "Trebuchet MS", Arial, sans-serif; font-size: .82rem; font-weight: 600; cursor: pointer; }
.kb-filter-tabs button:hover, .kb-filter-tabs button.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.kb-filter-tabs button.category-filter.cat-setup, .kb-filter-tabs button.category-filter.cat-strategic-foundation { background: #eef5ff; border-color: #c9def5; color: #176aa0; }
.kb-filter-tabs button.category-filter.cat-operate, .kb-filter-tabs button.category-filter.cat-execution-rhythm, .kb-filter-tabs button.category-filter.cat-source-os-usage { background: #e9f7fb; border-color: #c2e8ef; color: #106b7b; }
.kb-filter-tabs button.category-filter.cat-sales-admin, .kb-filter-tabs button.category-filter.cat-people { background: #f2efff; border-color: #dcd4ff; color: #5940a8; }
.kb-filter-tabs button.category-filter.cat-control, .kb-filter-tabs button.category-filter.cat-friction { background: #fff0ec; border-color: #f1d0c4; color: #a34225; }
.kb-filter-tabs button.category-filter.cat-meetings { background: #edf7ee; border-color: #c8e8ce; color: #26743d; }
.kb-filter-tabs button.category-filter.cat-knowledge, .kb-filter-tabs button.category-filter.cat-process, .kb-filter-tabs button.category-filter.cat-source-os-help { background: #f4f7e8; border-color: #e0e8bd; color: #64750d; }
.kb-filter-tabs button.category-filter.cat-reports, .kb-filter-tabs button.category-filter.cat-data { background: #edf3ff; border-color: #ccd9f5; color: #2c579f; }
.kb-filter-tabs button.category-filter.cat-continuity, .kb-filter-tabs button.category-filter.cat-resource-control { background: #fff5df; border-color: #ead7a8; color: #8a5d00; }
.kb-filter-tabs button.category-filter.cat-platform, .kb-filter-tabs button.category-filter.cat-scalability { background: #f1f4f7; border-color: #d2dae3; color: #516171; }
.kb-filter-tabs button.category-filter:hover, .kb-filter-tabs button.category-filter.active { filter: saturate(1.18); box-shadow: inset 0 0 0 2px currentColor; }
.resource-card,
.feature-detail-grid article {
  will-change: transform, opacity;
}
.resource-card.is-hidden,
.feature-detail-grid article.is-hidden { display: none; }
.kb-page { width: min(1160px, 100%); margin: 0 auto; padding: 28px 30px 42px; display: grid; gap: 14px; }
.app-kb-page { width: 100%; padding: 0; margin: 0; }
.kb-hero { margin: 0; }
.kb-hero h1, .kb-hero h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
.kb-hero p { max-width: 830px; }
.kb-category { display: grid; gap: 12px; }
.kb-article { width: min(920px, 100%); background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); padding: 28px; }
.resource-admin-row { display: grid; grid-template-columns: 1fr 180px 160px auto; gap: 8px; align-items: center; border-bottom: 1px solid var(--line); padding: 10px 0; }
.resource-admin-row span { display: block; color: var(--muted); font-size: .82rem; margin-top: 3px; }
.kb-editor { display: grid; grid-template-columns: 1fr 180px 140px 120px; gap: 10px; align-items: end; border: 1px solid var(--line); border-radius: 8px; padding: 12px; background: #fbfdff; }
.kb-bulk-editor { grid-template-columns: 92px 1fr 180px 140px 120px; }
.kb-editor .wide { grid-column: 1 / -1; }
.kb-bulk-editor .wide { grid-column: 1 / -1; }
.kb-editor .check { align-self: center; }
.kb-editor-existing { background: #fff; }
.kb-editor .bulk-check { align-self: end; color: var(--accent-dark); font-weight: 600; }
.bulk-toolbar { display: flex; flex-wrap: wrap; align-items: end; gap: 8px; padding: 10px; margin: 8px 0 12px; border: 1px solid var(--line); border-radius: 8px; background: #f8fbff; }
.bulk-toolbar label { min-width: 180px; margin: 0; }
.bulk-toolbar button { min-height: 38px; }
.billing-plan-form { display: grid; grid-template-columns: minmax(0, 1fr) 180px; gap: 12px; align-items: stretch; border: 1px solid var(--line); border-radius: 8px; padding: 12px; background: #fff; box-shadow: var(--shadow-soft); }
.billing-plan-new { background: #fbfdff; }
.billing-plan-main { display: grid; grid-template-columns: minmax(220px, 1fr) 160px 200px 100px; gap: 10px; align-items: end; min-width: 0; }
.billing-plan-main .wide { grid-column: 1 / -1; }
.billing-plan-main textarea { min-height: 108px; }
.billing-plan-actions { display: grid; grid-template-rows: 1fr auto auto; gap: 8px; align-content: end; }
.billing-plan-actions .check { align-self: start; justify-self: start; padding-top: 30px; }
.billing-plan-actions button { width: 100%; }
.template-editor { display: grid; grid-template-columns: minmax(240px, .85fr) minmax(320px, 1.15fr) auto auto; gap: 10px; align-items: end; border: 1px solid var(--line); border-radius: 8px; padding: 12px; background: #fbfdff; }
.template-editor .wide { grid-column: 1 / -1; }
.template-editor > div:first-of-type { align-self: start; }
.template-editor > div:first-of-type strong { display: block; margin-bottom: 4px; }
.template-editor > div:first-of-type .muted { display: block; line-height: 1.45; }
.email-template-rich .rich-editor,
.email-template-rich .tox-tinymce { min-height: 220px; }
.backup-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; gap: 8px; align-items: center; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; background: #fff; }
.backup-row + .backup-row { margin-top: 8px; }
.backup-row .button, .backup-row .danger { white-space: nowrap; padding-inline: 12px; }
.backup-row strong, .backup-row span { display: block; }
.cms-tall { min-height: 360px; }
.rich-editor-wrap { display: grid; gap: 0; width: 100%; }
.rich-editor { min-height: 240px; width: 100%; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); outline: none; font: 400 1rem/1.6 "Work Sans", Arial, sans-serif; }
.tox.tox-tinymce { border: 1px solid var(--line); border-radius: 8px; box-shadow: none; font-family: "Work Sans", Arial, sans-serif; }
.tox .tox-toolbar, .tox .tox-toolbar__overflow, .tox .tox-toolbar__primary { background: #fff; }
.tox .tox-tbtn, .tox .tox-listboxfield .tox-listbox--select { min-height: 30px; }
.tox .tox-edit-area__iframe { background: #fff; }
.rich-editor-wrap:focus-within .tox.tox-tinymce { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(41, 128, 185, .12); }
.rich-editor-legal .rich-editor { min-height: 360px; }
.rich-editor-legal .tox-tinymce { min-height: 420px; }
.manual-editor-wrap .rich-editor { min-height: 620px; }
.manual-editor-wrap .tox-tinymce { min-height: 680px; }
.kb-rich-editor .rich-editor { min-height: 280px; }
.kb-rich-editor .tox-tinymce { min-height: 340px; }
.article-panel { max-width: 900px; }
.article-body { color: var(--muted); line-height: 1.75; }
.article-body h1 { color: var(--ink); font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.05; margin: 10px 0 18px; }
.article-body h2 { color: var(--ink); margin: 18px 0 6px; font-size: 1.05rem; font-weight: 700; line-height: 1.35; }
.article-body h3, .article-body h4 { color: var(--ink); margin: 16px 0 6px; line-height: 1.35; }
.article-body p { margin-bottom: 12px; font-weight: 400; }
.article-body ul, .article-body ol { margin: 0 0 16px 22px; padding: 0; color: var(--muted); }
.article-body li { margin: 6px 0; line-height: 1.65; }
.article-body blockquote { margin: 16px 0; padding: 12px 16px; border-left: 4px solid var(--accent); background: #f6f6f6; color: #363636; border-radius: 4px; }
.article-body code { background: #eef5ff; color: #1f6796; border-radius: 4px; padding: 2px 5px; font-size: .92em; }
.article-body pre { background: #1f2933; color: #f8fbff; border-radius: 8px; padding: 14px; overflow: auto; line-height: 1.5; }
.article-body pre code { background: transparent; color: inherit; padding: 0; }
.manual-page { max-width: 1120px; overflow: visible; }
.manual-body { max-width: none; }
.manual-protection-notice { max-width: 760px; margin: 4px 0 0; color: var(--muted); font-size: .92rem; line-height: 1.55; }
.longform-shell { display: grid; grid-template-columns: minmax(190px, 240px) minmax(0, 1fr); gap: 28px; align-items: start; overflow: visible; }
.longform-shell.no-toc { grid-template-columns: minmax(0, 1fr); }
.longform-toc { position: sticky; top: 18px; max-height: none; overflow: visible; align-self: start; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 18px 48px rgba(12, 31, 45, .08); padding: 14px; scrollbar-width: thin; }
.longform-toc strong { display: block; margin-bottom: 10px; color: var(--ink); font-family: "Montserrat", "Trebuchet MS", Arial, sans-serif; font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; }
.longform-toc nav { display: grid; gap: 4px; }
.longform-toc a { display: block; color: var(--muted); text-decoration: none; font-weight: 600; font-size: .88rem; line-height: 1.3; padding: 6px 8px; border-radius: 6px; }
.longform-toc a:hover { background: #eef5ff; color: var(--accent); }
.longform-toc a.h3 { padding-left: 18px; font-size: .8rem; font-weight: 500; }
.longform-mobile-jump { display: none; }
.longform-body { min-width: 0; max-width: 900px; }
.manual-page .longform-body { max-width: 980px; }
.longform-body h2[id], .longform-body h3[id] { scroll-margin-top: 24px; }
.article-nav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; }
.article-nav .button { max-width: 100%; white-space: normal; text-align: center; }
.scorecard-panel { margin-bottom: 18px; }
.scorecard-matrix-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; }
.scorecard-matrix { width: 100%; min-width: 980px; border-collapse: collapse; background: #fff; }
.scorecard-matrix th, .scorecard-matrix td { border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); padding: 8px; text-align: left; vertical-align: middle; }
.scorecard-matrix th { background: #f6f6f6; font-family: "Montserrat", "Trebuchet MS", Arial, sans-serif; font-size: .82rem; }
.scorecard-matrix tbody th { min-width: 210px; background: #fff; position: sticky; left: 0; z-index: 1; }
.scorecard-matrix th span { display: block; color: var(--muted); font-family: "Work Sans", Arial, sans-serif; font-size: .78rem; margin-top: 3px; }
.scorecard-matrix td { min-width: 92px; }
.scorecard-matrix input { min-width: 80px; padding: 8px; border-color: transparent; background: transparent; }
.scorecard-matrix .cell-green { background: #effbf6; }
.scorecard-matrix .cell-red { background: #fff1f0; }
.matrix-save { margin-top: 12px; }
.print-center { display: grid; gap: 16px; }
.print-sheets { display: grid; gap: 16px; }
.print-sheet { border: 1px solid var(--line); border-radius: 8px; padding: 16px; background: #fff; break-inside: avoid; }
.print-field { border-bottom: 1px solid var(--line); padding: 8px 0; }
.print-field p { color: var(--muted); line-height: 1.55; margin: 6px 0 0; min-height: 32px; }
.blank-lines { display: block; min-height: 54px; background: repeating-linear-gradient(to bottom, transparent 0, transparent 25px, #d9d9d9 26px); }
.print-table { width: 100%; border-collapse: collapse; margin: 10px 0 18px; }
.print-table th, .print-table td { border: 1px solid var(--line); padding: 8px; text-align: left; vertical-align: top; min-height: 34px; }
.print-table th { background: #f6f6f6; font-size: .82rem; }

/* Shared flyout/modal layer */
.toast-stack { position: fixed; top: 18px; right: 18px; z-index: 450; display: grid; gap: 10px; width: min(380px, calc(100vw - 28px)); pointer-events: none; }
.flash.toast { margin: 0; box-shadow: var(--shadow); pointer-events: auto; display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: start; animation: toast-in .18s ease-out; }
.toast-close { border: 0; background: transparent; color: inherit; font: inherit; font-weight: 800; cursor: pointer; line-height: 1; padding: 2px 4px; }
.toast-report { justify-self: start; grid-column: 1 / -1; border: 1px solid currentColor; border-radius: 999px; background: rgba(255,255,255,.7); color: inherit; padding: 5px 10px; font-family: "Montserrat", "Trebuchet MS", Arial, sans-serif; font-weight: 700; cursor: pointer; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
.sidebar-profile-top { margin: 14px 0 18px; padding: 10px; border: 1px solid rgba(255,255,255,.08); border-radius: 8px; background: rgba(255,255,255,.04); }
.sidebar-profile-top .sidebar-signout { display: inline-block; margin-top: 8px; color: #d9e8f7; font-size: .82rem; }
.source-modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 18px; background: rgba(0, 0, 0, .42); }
.source-modal.open { display: flex; }
.source-modal-panel { width: min(520px, 100%); max-height: calc(100vh - 36px); overflow: auto; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); padding: 18px; }
.source-drawer { justify-content: flex-end; align-items: stretch; padding: 0; }
.source-drawer.open { display: flex; }
.source-drawer-panel { width: min(520px, 100vw); height: 100%; overflow: auto; background: #fff; border-left: 1px solid var(--line); box-shadow: var(--shadow); padding: 20px; animation: drawer-in .2s ease-out; }
@keyframes drawer-in { from { transform: translateX(24px); opacity: .7; } to { transform: translateX(0); opacity: 1; } }
.public-auth-modal { z-index: 320; }
.auth-modal-panel { width: min(500px, calc(100vw - 28px)); }
.auth-modal-tabs { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 14px; }
.auth-modal-tabs button { border: 0; background: #fff; min-height: 38px; padding: 8px 12px; border-radius: 8px; font: inherit; font-weight: 800; cursor: pointer; }
.auth-modal-tabs button.active { background: var(--accent); color: #fff; }
.auth-modal-section { display: none; }
.auth-modal-section.active { display: block; }
.cms-list-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.cms-list-row > div:first-child { min-width: 0; }
.cms-list-row strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.source-editor-header { grid-column: 1 / -1; margin-bottom: 4px; }
body.js-flyouts .source-editor-drawer { display: none; }
body.js-flyouts .source-editor-drawer.open { position: fixed; z-index: 260; top: 0; right: 0; bottom: 0; width: min(720px, 100vw); display: grid; overflow: auto; background: #fff; box-shadow: var(--shadow); border: 0; border-left: 1px solid var(--line); border-radius: 0; padding: 20px; }
body.js-flyouts::after { content: ""; display: none; position: fixed; inset: 0; z-index: 250; background: rgba(0,0,0,.34); }
body.js-flyouts.editor-drawer-open::after { display: block; }
.report-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.report-card { display: grid; gap: 10px; }
.report-stat { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding: 9px 0; }
.report-stat span { color: var(--muted); }
.risk-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 12px 0 18px; }
.risk-grid .report-stat { border: 1px solid var(--line); border-radius: 8px; padding: 12px; background: #fbfdff; }
.generated-document-actions { margin: 0 0 16px; }
.generated-document { max-width: 1060px; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); padding: clamp(20px, 3vw, 34px); }
.generated-document > h1 { font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.05; margin: 6px 0 8px; }
.generated-document-section { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 18px; break-inside: avoid; }
.generated-document-section h2 { margin-bottom: 10px; }
.generated-document-section p, .generated-document-section li { color: var(--muted); line-height: 1.65; }
.document-table { width: 100%; border-collapse: collapse; background: #fff; }
.document-table th, .document-table td { border: 1px solid var(--line); padding: 9px; text-align: left; vertical-align: top; }
.document-table th { background: #f6f6f6; font-size: .82rem; }
.seat-summary-panel { margin-bottom: 18px; }
.seat-summary-panel .panel-header { margin-bottom: 12px; }
.seat-metrics { margin: 0 0 12px; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.calendar-grid > strong { color: var(--muted); font-size: .78rem; text-align: center; }
.calendar-cell { min-height: 92px; border: 1px solid var(--line); border-radius: 8px; background: #fbfdff; padding: 8px; display: grid; align-content: start; gap: 5px; }
.calendar-cell.empty { background: transparent; border-style: dashed; }
.calendar-cell b { font-size: .84rem; }
.calendar-cell span { display: block; background: #eef5ff; color: var(--accent-dark); border-radius: 6px; padding: 4px 6px; font-size: .76rem; line-height: 1.25; overflow-wrap: anywhere; }
.vision-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.vision-grid .primary { justify-self: start; }
.tall { min-height: 440px; }
.check { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.check input { width: auto; }
.role-fit-meter { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .7fr); gap: 20px; align-items: center; }
.role-fit-meter h2 { font-size: clamp(2rem, 5vw, 3.4rem); margin: 0 0 6px; }
.role-fit-bars { display: grid; gap: 8px; }
.role-fit-bars span { display: block; height: 10px; border-radius: 999px; background: #e8eef3; overflow: hidden; }
.role-fit-bars span b { display: block; height: 100%; border-radius: inherit; background: var(--accent); }
.role-fit-bars small { color: var(--muted); }
.fit-legend { display: inline-block; margin: 6px 0 0; padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; background: #f8fbff; color: var(--muted); font-size: .82rem; font-weight: 600; }

.auth-body { display: grid; place-items: center; padding: 30px; background: #f6f6f6; }
.auth-main { width: min(820px, 100%); margin: 0 auto; padding: 42px 30px 18px; display: flex; min-height: calc(100vh - 106px); flex-direction: column; }
.auth-card { width: min(760px, 100%); background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 26px; box-shadow: var(--shadow); }
.auth-brand { margin-bottom: 22px; }
.auth-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 2px; }
.auth-actions a { font-weight: 600; text-decoration: none; }
.auth-note { margin: 16px 0 0; }
.marketing-body { background: #ffffff; color: var(--ink); min-height: 100vh; display: flex; flex-direction: column; }
.marketing-topbar { min-height: 28px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 4px clamp(42px, 5vw, 92px); background: #f6f6f6; color: #363636; font-size: .78rem; }
.public-announcement { flex: 1 1 auto; min-width: 0; color: var(--accent); font-weight: 600; }
.marketing-topbar > span:last-child { margin-left: auto; }
.marketing-nav { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px clamp(42px, 5vw, 92px); border-bottom: 1px solid rgba(0,0,0,.06); background: rgba(255,255,255,.86); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 10; }
.marketing-nav nav, .hero-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.marketing-nav a { color: #363636; text-decoration: none; font-size: .88rem; font-weight: 600; text-transform: uppercase; }
.marketing-nav a.active, .marketing-nav a:hover { color: var(--accent); }
.marketing-nav a.button, .marketing-nav a.button:hover, .marketing-nav a.button.active { color: #fff; }
.split-auth-cta { display: inline-grid; grid-template-columns: 1fr 1fr; overflow: hidden; min-height: 40px; border-radius: 8px; background: var(--accent); box-shadow: 0 10px 22px rgba(41, 128, 185, .18); }
.split-auth-cta a { min-width: 72px; display: grid; place-items: center; padding: 0 10px; color: #fff; border-left: 1px solid rgba(255,255,255,.32); font-size: .8rem; }
.split-auth-cta a:first-child { border-left: 0; }
.split-auth-cta a:hover, .split-auth-cta a.active { color: #fff; background: var(--accent-dark); }
.mobile-auth-cta { display: none; }
.public-menu-toggle { display: none; width: 42px; height: 40px; border: 1px solid var(--line); border-radius: 8px; background: #fff; place-items: center; gap: 4px; padding: 9px; cursor: pointer; }
.public-menu-toggle span { display: block; width: 20px; height: 2px; border-radius: 999px; background: #363636; }
.compact-nav { position: static; }
.bravo-brand strong { font-size: 1.34rem; line-height: 1; color: #000; white-space: nowrap; font-weight: 800; letter-spacing: 0; }
.bravo-brand strong span { display: inline; color: var(--accent); font-size: inherit; margin: 0; }
.bravo-brand em { display: block; color: #5f5f5f; font-style: normal; font-size: .76rem; font-weight: 600; margin-top: 3px; }
.nav-cta { text-transform: uppercase; min-height: 40px; padding: 0 13px; }
.marketing-main { width: min(1140px, 100%); margin: 0 auto; padding: 46px 30px; display: grid; gap: 28px; }
.marketing-hero { position: relative; isolation: isolate; overflow: hidden; min-height: 560px; display: grid; grid-template-columns: minmax(0, .95fr) minmax(320px, .85fr); align-items: center; gap: 42px; padding: 58px max(42px, calc((100vw - 1140px) / 2 + 30px)); background:
    linear-gradient(90deg, rgba(0,0,0,.8), rgba(26,32,36,.82)),
    radial-gradient(circle at 82% 22%, rgba(41,128,185,.32), transparent 30%),
    #24292c; }
.marketing-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url("source-command-center-bg.jpeg") center / cover no-repeat; opacity: .34; filter: saturate(.95) contrast(1.08); transform: scale(1.02); }
.marketing-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.48) 45%, rgba(25,34,40,.62) 100%); }
.hero-copy { display: grid; gap: 20px; max-width: 650px; }
.hero-copy h1 { color: #fff; font-size: clamp(2.45rem, 5vw, 4.4rem); line-height: 1.04; }
.hero-copy p { color: rgba(255,255,255,.88); font-size: 1.14rem; line-height: 1.65; max-width: 660px; }
.hero-copy .eyebrow { color: #99d4f5; margin-bottom: -4px; }
.hero-visual { min-height: 360px; border-radius: 8px; background: rgba(246,246,246,.82); padding: 22px; box-shadow: 0 28px 70px rgba(0,0,0,.26); }
.visual-window { height: 100%; border-radius: 8px; background: rgba(255,255,255,.92); border: 1px solid rgba(255,255,255,.82); padding: 18px; display: grid; gap: 16px; align-content: start; }
.visual-bar { display: flex; gap: 7px; padding-bottom: 8px; border-bottom: 1px solid #d9d9d9; }
.visual-bar span { width: 10px; height: 10px; border-radius: 999px; background: #d9d9d9; }
.visual-grid { display: grid; grid-template-columns: 1fr auto; gap: 9px 14px; align-items: center; }
.visual-grid strong { font-family: "Montserrat", "Trebuchet MS", Arial, sans-serif; color: #363636; }
.visual-grid b { color: var(--accent); font-size: 2rem; }
.visual-grid span { color: #5f5f5f; font-size: .86rem; }
.visual-grid i { height: 9px; width: 92px; border-radius: 999px; background: var(--green); }
.visual-grid i.warn { background: var(--gold); }
.visual-list { display: grid; gap: 9px; }
.visual-list span { border-left: 4px solid var(--accent); background: #f6f6f6; color: #363636; padding: 11px 12px; border-radius: 4px; font-weight: 500; }
.feature-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; padding: 24px max(42px, calc((100vw - 1140px) / 2 + 30px)); background: #fff; box-shadow: 0 -1px 0 rgba(0,0,0,.06), 0 1px 0 rgba(0,0,0,.06); }
.feature-strip article { display: grid; grid-template-columns: 52px 1fr; gap: 2px 12px; align-items: center; }
.feature-strip i { grid-row: span 2; width: 42px; height: 42px; display: grid; place-items: center; border: 2px solid var(--accent); color: var(--accent); font-style: normal; font-weight: 700; font-family: "Montserrat", "Trebuchet MS", Arial, sans-serif; }
.feature-strip strong { font-family: "Montserrat", "Trebuchet MS", Arial, sans-serif; color: #363636; font-size: 1.05rem; }
.feature-strip span { color: #777; font-size: .88rem; }
.infographic-band { display: grid; grid-template-columns: minmax(320px, 1.18fr) minmax(0, .82fr); gap: 26px; align-items: center; padding: 34px max(42px, calc((100vw - 1140px) / 2 + 30px)); background: linear-gradient(135deg, #f7fbff, #fff); }
.infographic-copy { display: grid; gap: 12px; align-content: center; }
.infographic-band.stagger-right .infographic-copy { order: 2; justify-items: start; }
.infographic-band.stagger-right .infographic-preview { order: 1; }
.infographic-copy h2 { font-size: clamp(1.9rem, 4vw, 3.3rem); line-height: 1.02; margin: 0; max-width: 560px; }
.infographic-copy p:not(.eyebrow) { color: var(--muted); line-height: 1.65; margin: 0; max-width: 560px; }
.infographic-copy .button { justify-self: start; }
.infographic-preview { display: block; overflow: hidden; border: 1px solid rgba(41,128,185,.24); border-radius: 8px; background: #fff; box-shadow: 0 24px 60px rgba(20, 48, 72, .16); text-decoration: none; }
.infographic-preview img { display: block; width: 100%; height: auto; max-height: 430px; object-fit: cover; object-position: center top; transition: transform .18s ease; }
.infographic-preview:hover img { transform: scale(1.015); }
.media-lightbox { padding: 22px; background: rgba(9, 24, 36, .78); }
.media-lightbox-panel { position: relative; display: grid; gap: 10px; width: min(1440px, 100%); max-height: calc(100vh - 44px); overflow: auto; background: #f6f6f6; border: 1px solid rgba(255,255,255,.3); border-radius: 10px; box-shadow: 0 34px 90px rgba(0,0,0,.38); padding: 12px; }
.media-lightbox-panel img { display: block; width: 100%; height: auto; border-radius: 6px; background: #fff; }
.media-lightbox-panel video { display: block; width: 100%; max-height: calc(100vh - 130px); border-radius: 6px; background: #000; }
.media-lightbox-video-panel { width: min(1080px, 100%); }
.media-lightbox-close { position: sticky; top: 0; justify-self: end; z-index: 2; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.36); border-radius: 999px; background: rgba(12, 32, 46, .92); color: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; }
.media-lightbox-link { justify-self: center; color: var(--accent); font-weight: 700; text-decoration: none; }
.overview-video-band { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(300px, .82fr); gap: 26px; align-items: center; padding: 36px max(42px, calc((100vw - 1140px) / 2 + 30px)); background: linear-gradient(135deg, #fff, #f7fbff); border-top: 1px solid var(--line); }
.overview-video-copy { display: grid; gap: 12px; align-content: center; }
.overview-video-copy { order: 2; }
.overview-video-preview { order: 1; }
.overview-video-copy h2 { font-size: clamp(1.9rem, 4vw, 3.2rem); line-height: 1.02; margin: 0; max-width: 560px; }
.overview-video-copy p:not(.eyebrow) { color: var(--muted); line-height: 1.65; margin: 0; max-width: 560px; }
.overview-video-copy .button { justify-self: start; }
.overview-video-preview { position: relative; display: block; overflow: hidden; border: 1px solid rgba(41,128,185,.24); border-radius: 8px; background: #0b2334; box-shadow: 0 24px 60px rgba(20, 48, 72, .18); text-decoration: none; min-height: 260px; }
.overview-video-preview img { display: block; width: 100%; height: 100%; max-height: 390px; object-fit: contain; object-position: center; opacity: .9; filter: saturate(.98) contrast(1.04); transition: transform .18s ease; }
.overview-video-preview:hover img { transform: scale(1.015); }
.overview-play-button { position: absolute; left: 50%; top: 50%; transform: translate(-38%, -50%); display: block; width: 86px; height: 86px; background: rgba(41,128,185,.96); clip-path: polygon(0 0, 100% 50%, 0 100%); filter: drop-shadow(0 18px 34px rgba(0,0,0,.38)); }
.marketing-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.marketing-grid article { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); padding: 18px; display: grid; gap: 8px; }
.marketing-grid span { color: var(--muted); line-height: 1.5; }
.marketing-band { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; align-items: start; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px 0; }
.marketing-band h2 { font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.04; margin: 0; }
.marketing-band p { color: var(--muted); line-height: 1.7; margin-bottom: 0; }
.marketing-band.compact { margin-top: 4px; }
.marketing-section-group { display: grid; gap: 20px; padding: 24px 0; }
.marketing-section-group .marketing-band { border: 0; padding: 0; margin: 0; }
.marketing-section-group.stagger-right .marketing-band:not(.audio-band) > :first-child { order: 2; }
.marketing-section-group.stagger-right .marketing-band:not(.audio-band) > :last-child { order: 1; }
.marketing-section-group.stagger-left .marketing-band:not(.audio-band) > :first-child,
.marketing-band.stagger-left > :first-child { order: 1; }
.marketing-section-group.stagger-left .marketing-band:not(.audio-band) > :last-child,
.marketing-band.stagger-left > :last-child { order: 2; }
.audio-section-group { padding-top: 10px; }
.audio-section-group .marketing-grid,
.continuity-section-group .source-map { margin-top: 0; }
.marketing-band.audio-band { grid-template-columns: minmax(280px, .94fr) minmax(0, 1.06fr); border: 0; padding: 0; align-items: center; }
.marketing-band.audio-band + .marketing-grid { margin-top: 0; padding-top: 0; }
.marketing-band.audio-band h2 { font-size: clamp(1.7rem, 3.4vw, 2.7rem); }
.marketing-band.audio-band > .audio-heading-column { order: 1; }
.marketing-band.audio-band > .source-audio-column { order: 2; }
.continuity-copy { align-self: center; padding-top: clamp(16px, 2.6vw, 38px); max-width: 560px; }
.rollout-band { border: 0; padding-top: 10px; align-items: center; }
.rollout-copy { display: grid; gap: 18px; align-content: start; }
.rollout-actions { display: grid; grid-template-columns: repeat(2, minmax(178px, 1fr)); gap: 10px; width: min(430px, 100%); }
.rollout-actions .button { width: 100%; min-height: 42px; justify-content: center; text-align: center; }
.audio-band-body { max-width: none; color: var(--muted); line-height: 1.7; margin: 0; }
.source-audio-column { display: grid; gap: 18px; }
.source-audio-card { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px 16px; align-items: center; overflow: hidden; border: 1px solid rgba(41,128,185,.24); border-radius: 8px; background: linear-gradient(135deg, rgba(15, 43, 64, .96), rgba(42, 137, 190, .9)); box-shadow: 0 20px 44px rgba(28, 83, 120, .18); padding: 16px; color: #fff; }
.source-audio-card::before { content: ""; position: absolute; inset: -40% auto auto 50%; width: 360px; height: 360px; border-radius: 999px; background: radial-gradient(circle, rgba(99,206,242,.22), rgba(99,206,242,0) 64%); transform: translateX(-20%); pointer-events: none; }
.source-audio-copy { position: relative; display: grid; gap: 3px; min-width: 0; }
.source-audio-copy strong { font-family: "Montserrat", "Trebuchet MS", Arial, sans-serif; font-size: 1rem; }
.source-audio-copy span { color: rgba(255,255,255,.82); font-size: .88rem; }
.source-audio-card audio { position: relative; grid-column: 1 / -1; width: 100%; height: 38px; }
.audio-visualizer { position: relative; display: flex; align-items: end; justify-content: center; gap: 4px; width: 52px; height: 46px; padding: 9px; border-radius: 8px; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.18); }
.audio-visualizer span { width: 4px; min-height: 8px; border-radius: 999px; background: linear-gradient(180deg, #ffffff, #63cef2); animation: source-audio-bars 1.1s ease-in-out infinite; }
.audio-visualizer span:nth-child(2) { animation-delay: -.18s; }
.audio-visualizer span:nth-child(3) { animation-delay: -.34s; }
.audio-visualizer span:nth-child(4) { animation-delay: -.08s; }
.audio-visualizer span:nth-child(5) { animation-delay: -.26s; }
.audio-visualizer span:nth-child(6) { animation-delay: -.42s; }
.audio-visualizer span:nth-child(7) { animation-delay: -.14s; }
.audio-caption-ticker { position: relative; grid-column: 1 / -1; overflow: hidden; white-space: nowrap; border-radius: 6px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.16); height: 32px; color: rgba(255,255,255,.9); font-size: .82rem; line-height: 32px; }
.audio-caption-ticker span { display: inline-block; padding-left: 100%; animation: source-caption-scroll 46s linear infinite; will-change: transform; }
@keyframes source-audio-bars {
  0%, 100% { height: 9px; opacity: .78; }
  50% { height: 28px; opacity: 1; }
}
@keyframes source-caption-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}
.source-map { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.source-map article { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 18px; display: grid; gap: 9px; }
.source-map span { color: var(--accent); font-weight: 600; }
.source-map p { color: var(--muted); line-height: 1.5; margin-bottom: 0; }
.home-reviews-section { display: grid; gap: 18px; padding: 26px 0 8px; }
.home-reviews-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; }
.home-reviews-heading h2 { max-width: 760px; margin: 0; font-size: clamp(1.6rem, 3.4vw, 2.5rem); line-height: 1.05; }
.review-carousel-controls { display: flex; gap: 8px; }
.review-carousel-controls[hidden] { display: none; }
.review-carousel { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 28px) / 3); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 14px; scrollbar-width: thin; }
.review-card { scroll-snap-align: start; display: grid; gap: 12px; align-content: start; min-height: 230px; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: var(--shadow-soft); padding: 18px; }
.review-stars { color: var(--accent); letter-spacing: .12em; font-weight: 800; }
.review-card blockquote { margin: 0; color: var(--ink); line-height: 1.55; font-size: 1.02rem; }
.review-card p { display: grid; gap: 2px; margin: 0; color: var(--muted); line-height: 1.35; }
.review-card p strong { color: var(--ink); font-family: "Montserrat", "Trebuchet MS", Arial, sans-serif; }
.review-card small { justify-self: start; border-radius: 999px; background: #fff3d4; color: #8a5b00; font-size: .72rem; font-weight: 800; padding: 4px 8px; }
.uptime-trust { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.uptime-trust strong { font-family: "Montserrat", "Trebuchet MS", Arial, sans-serif; }
.uptime-trust span { color: var(--green); font-weight: 700; }
.uptime-trust small { color: var(--muted); }
.marketing-footer { margin-top: auto; padding: 18px 30px; color: var(--muted); border-top: 1px solid var(--line); font-size: .78rem; background: #f6f6f6; text-align: center; }
.marketing-footer p { margin: 0 0 6px; }
.marketing-footer a { font-weight: 600; text-decoration: none; }
.legal-main { width: min(1160px, 100%); margin: 0 auto; padding: 42px 30px; }
.legal-panel { display: grid; gap: 12px; }
.legal-panel h1 { margin-bottom: 8px; }
.legal-panel h2 { margin: 14px 0 0; }
.legal-panel p { color: var(--muted); line-height: 1.65; margin-bottom: 0; }
.features-page, .support-page, .pricing-page, .kb-page, .contact-page, .partner-page, .public-doc-page { width: min(1160px, 100%); margin: 0 auto; padding: 28px 30px 42px; display: grid; gap: 14px; }
.features-hero, .support-hero, .pricing-hero, .kb-hero, .contact-hero, .partner-hero, .public-doc-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 20px;
  min-height: clamp(300px, 26vw, 360px);
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(41,128,185,.14), rgba(46,204,113,.08) 48%, rgba(255,255,255,0) 76%),
    linear-gradient(90deg, rgba(41,128,185,.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(41,128,185,.05) 1px, transparent 1px),
    #fff;
  background-size: auto, 34px 34px, 34px 34px, auto;
  box-shadow: var(--shadow-soft);
}
.features-hero::after, .support-hero::after, .pricing-hero::after, .kb-hero::after, .contact-hero::after, .partner-hero::after, .public-doc-hero::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 240px;
  height: 240px;
  border: 1px solid rgba(41,128,185,.16);
  transform: rotate(22deg);
  pointer-events: none;
}
.features-hero, .pricing-hero { grid-template-columns: minmax(0, 1fr) minmax(220px, 320px); align-items: center; }
.support-hero, .contact-hero, .partner-hero { grid-template-columns: minmax(0, 1fr) minmax(260px, 360px); align-items: center; }
.kb-hero { grid-template-columns: minmax(0, 1fr) minmax(250px, 330px); align-items: center; }
.public-doc-hero { grid-template-columns: minmax(0, 1fr) minmax(250px, 340px); align-items: center; }
.features-hero > *, .support-hero > *, .pricing-hero > *, .kb-hero > *, .contact-hero > *, .partner-hero > *, .public-doc-hero > * { position: relative; z-index: 1; min-width: 0; }
.features-hero h1, .support-hero h1, .pricing-hero h1, .kb-hero h1, .kb-hero h2, .contact-hero h1, .partner-hero h1, .public-doc-hero h1 { max-width: 830px; margin-bottom: 0; line-height: 1.03; }
.features-hero p:not(.eyebrow), .support-hero p:not(.eyebrow), .pricing-hero p:not(.eyebrow), .kb-hero p, .contact-hero p:not(.eyebrow), .partner-hero p:not(.eyebrow), .public-doc-hero p:not(.eyebrow) { color: var(--muted); line-height: 1.55; max-width: 830px; margin-bottom: 0; }
.features-proof { display: grid; gap: 8px; }
.features-proof span { position: relative; display: grid; grid-template-columns: 28px 1fr; align-items: center; gap: 8px; border: 1px solid rgba(41,128,185,.18); border-left: 4px solid var(--accent); border-radius: 8px; background: rgba(255,255,255,.88); padding: 8px 10px; color: #363636; font-size: .82rem; font-weight: 700; box-shadow: var(--shadow-soft); }
.features-proof span::before { content: ""; width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg, var(--accent), #52d0c6); box-shadow: inset 0 0 0 5px rgba(255,255,255,.28); }
.feature-filter-tabs { position: sticky; top: 0; z-index: 3; background: rgba(244, 246, 248, .96); padding: 8px 0 10px; backdrop-filter: blur(8px); }
.feature-detail-grid, .support-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.feature-detail-grid article, .support-grid article { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow-soft); padding: 16px 16px 16px 54px; display: grid; gap: 7px; align-content: start; min-height: 160px; }
.feature-detail-grid article::before, .support-grid article::before { content: ""; position: absolute; left: 16px; top: 18px; width: 24px; height: 24px; border-radius: 7px; background: linear-gradient(135deg, rgba(41,128,185,.95), rgba(76, 201, 240, .8)); box-shadow: 0 8px 18px rgba(41,128,185,.18); }
.feature-detail-grid article::after, .support-grid article::after { content: ""; position: absolute; right: -36px; bottom: -40px; width: 96px; height: 96px; border: 1px solid rgba(41,128,185,.09); transform: rotate(16deg); }
.feature-detail-grid strong, .support-grid strong { color: var(--ink); font-family: "Montserrat", "Trebuchet MS", Arial, sans-serif; font-size: .98rem; }
.feature-detail-grid p, .support-grid p { color: var(--muted); line-height: 1.46; margin-bottom: 0; font-size: .94rem; }
.feature-detail-grid .pill { justify-self: start; }
.features-copy, .support-copy { padding: 22px; }
.pricing-hero { gap: 24px; align-items: center; background:
  linear-gradient(135deg, rgba(41,128,185,.12), rgba(255,243,212,.62) 55%, rgba(255,255,255,.92) 100%),
  linear-gradient(90deg, rgba(41,128,185,.08) 1px, transparent 1px),
  linear-gradient(180deg, rgba(41,128,185,.05) 1px, transparent 1px),
  #fff; background-size: auto, 34px 34px, 34px 34px, auto; }
.pricing-quick { position: relative; background: rgba(255,255,255,.92); border: 1px solid rgba(41,128,185,.22); border-radius: 8px; box-shadow: var(--shadow); padding: 16px; display: grid; gap: 8px; }
.features-proof, .pricing-quick, .hero-signal-card, .kb-hero-visual, .contact-signal-card, .partner-signal-card, .public-doc-visual { align-self: center; }
.pricing-quick span { display: grid; grid-template-columns: 20px 1fr; gap: 8px; align-items: center; padding: 9px 10px; background: #f6f6f6; border-radius: 6px; color: var(--ink); font-size: .9rem; font-weight: 700; }
.pricing-quick span::before { content: ""; width: 18px; height: 18px; border-radius: 6px; background: linear-gradient(135deg, var(--accent), #2ecc71); }
.hero-mini-chart { height: 88px; display: flex; align-items: end; gap: 10px; padding: 12px; border-radius: 8px; background: linear-gradient(180deg, #f8fbff, #eef7fc); border: 1px solid rgba(41,128,185,.16); }
.hero-mini-chart i { flex: 1; min-width: 18px; height: var(--h); border-radius: 7px 7px 3px 3px; background: linear-gradient(180deg, #2fb8d6, var(--accent)); box-shadow: 0 8px 18px rgba(41,128,185,.16); }
.hero-signal-card { position: relative; z-index: 1; display: grid; gap: 10px; padding: 16px; border: 1px solid rgba(41,128,185,.22); border-radius: 8px; background: rgba(255,255,255,.9); box-shadow: var(--shadow); }
.kb-hero-visual, .contact-signal-card, .partner-signal-card, .public-doc-visual { position: relative; z-index: 1; display: grid; gap: 10px; padding: 18px; border: 1px solid rgba(41,128,185,.22); border-radius: 8px; background: rgba(255,255,255,.9); box-shadow: var(--shadow); }
.kb-hero-visual span { color: var(--accent); font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.kb-hero-visual strong { font-family: "Montserrat", "Trebuchet MS", Arial, sans-serif; font-size: clamp(1.3rem, 2.4vw, 1.8rem); line-height: 1.05; }
.kb-hero-visual div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; height: 70px; align-items: end; padding: 10px; border-radius: 8px; background: linear-gradient(180deg, #f8fbff, #eef7fc); border: 1px solid rgba(41,128,185,.14); }
.kb-hero-visual i { display: block; height: 72%; border-radius: 7px 7px 3px 3px; background: linear-gradient(180deg, #63cef2, var(--accent)); }
.kb-hero-visual i:nth-child(2) { height: 100%; }
.kb-hero-visual i:nth-child(3) { height: 54%; }
.contact-signal-card span { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: #f8fbff; color: var(--ink); font-weight: 700; }
.contact-signal-card strong { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: linear-gradient(135deg, var(--accent), #52d0c6); color: #fff; font-size: .82rem; }
.partner-signal-card span { display: grid; grid-template-columns: auto 1fr; gap: 8px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: #f8fbff; color: var(--ink); font-weight: 700; }
.partner-signal-card strong { color: var(--accent); font-family: "Montserrat", "Trebuchet MS", Arial, sans-serif; }
.partner-page { width: min(1160px, 100%); }
.partner-hero { grid-template-columns: minmax(0, 1.16fr) minmax(300px, .68fr); min-height: clamp(250px, 21vw, 310px); }
.partner-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.partner-grid article, .partner-agreement-preview { background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow-soft); padding: 18px; }
.partner-grid h2, .partner-agreement-preview h2 { font-size: 1.05rem; margin-bottom: 8px; }
.partner-grid p, .partner-agreement-preview p { color: var(--muted); line-height: 1.55; margin-bottom: 0; }
.partner-copy { padding: 24px; }
.partner-apply-panel { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr); gap: 22px; align-items: center; padding: 24px; }
.partner-apply-copy { display: grid; gap: 10px; max-width: 620px; }
.partner-apply-panel form { width: 100%; }
.partner-apply-summary { border: 1px solid var(--line); border-radius: 8px; padding: 18px; background: linear-gradient(135deg, #f8fbfd, #eef8fb); box-shadow: var(--shadow-soft); }
.partner-apply-summary strong { display: block; margin-bottom: 8px; font-family: "Montserrat", "Trebuchet MS", Arial, sans-serif; font-size: 1.1rem; }
.partner-apply-summary ul { margin: 12px 0 0 18px; color: var(--muted); line-height: 1.55; }
.partner-agreement-preview { display: grid; grid-template-columns: minmax(260px, .55fr) minmax(0, 1fr); gap: 24px; align-items: start; padding: 24px; }
.partner-guardrail-heading { position: sticky; top: 18px; align-self: start; }
.partner-guardrail-heading h2 { font-size: clamp(1.45rem, 2.2vw, 2rem); line-height: 1.08; margin-bottom: 10px; }
.partner-guardrail-body { display: grid; gap: 12px; columns: 2 280px; column-gap: 28px; }
.partner-guardrail-body h2 { break-after: avoid; }
.partner-guardrail-body p { break-inside: avoid; }
.app-kb-intro { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.app-kb-intro h2 { margin-bottom: 4px; }
.reseller-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); gap: 14px; }
.reseller-card, .mini-card { border: 1px solid var(--line); border-radius: 8px; padding: 14px; background: #fff; display: grid; gap: 12px; }
.reseller-card code { display: block; white-space: normal; overflow-wrap: anywhere; background: #f5f8fb; border: 1px solid var(--line); border-radius: 6px; padding: 8px; }
.reseller-application-list { display: grid; gap: 10px; }
.mini-card { grid-template-columns: 1fr auto; align-items: center; }
.partner-consent { align-items: flex-start; gap: 12px; line-height: 1.45; color: var(--ink); }
.partner-consent input[type="checkbox"] { flex: 0 0 auto; width: 22px; height: 22px; margin-top: 2px; accent-color: var(--accent); cursor: pointer; }
.partner-legal-links { margin: -4px 0 0; color: var(--muted); font-size: .88rem; line-height: 1.45; }
.partner-legal-links a { font-weight: 700; text-decoration: none; }
.public-doc-visual span { display: grid; gap: 4px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: #f8fbff; color: var(--muted); line-height: 1.35; }
.public-doc-visual strong { color: var(--ink); font-family: "Montserrat", "Trebuchet MS", Arial, sans-serif; }
.public-doc-body { width: 100%; justify-self: stretch; }
.contact-form-panel { display: grid; gap: 14px; }
.hero-card-label { color: var(--accent); font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.signal-step { display: grid; grid-template-columns: 34px 1fr; gap: 9px 10px; align-items: start; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: #f8fbff; }
.signal-step i { grid-row: span 2; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: linear-gradient(135deg, var(--accent), #52d0c6); color: #fff; font-style: normal; font-weight: 800; }
.signal-step strong { font-family: "Montserrat", "Trebuchet MS", Arial, sans-serif; font-size: .9rem; }
.signal-step span { color: var(--muted); font-size: .8rem; line-height: 1.35; }
.pricing-single { display: grid; }
.pricing-card { background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); padding: 28px; display: grid; grid-template-columns: minmax(0, .95fr) minmax(280px, .75fr); gap: 28px; align-items: start; }
.pricing-card.featured { border-color: rgba(41,128,185,.35); box-shadow: 0 22px 58px rgba(41, 128, 185, .14); }
.pricing-card h2 { font-size: clamp(2rem, 5vw, 3.2rem); margin: 0 0 10px; line-height: 1; }
.pricing-card p { color: var(--muted); line-height: 1.65; margin-bottom: 0; }
.pricing-card-main { display: grid; gap: 16px; }
.pricing-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.pricing-included { background: #f6f6f6; border: 1px solid var(--line); border-radius: 8px; padding: 18px; }
.pricing-included h3, .pricing-notes h3 { margin: 0 0 10px; font-size: 1rem; }
.pricing-included ul { display: grid; gap: 8px; margin: 0; padding-left: 20px; color: var(--muted); }
.pricing-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.pricing-notes article { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 18px; box-shadow: var(--shadow); }
.pricing-notes p { color: var(--muted); line-height: 1.55; margin: 0; }
.pricing-copy { padding: 24px; }
.pricing-copy .longform-body { max-width: none; }
.early-access-page {
  width: 100%;
  max-width: none;
  padding: 0;
  gap: 0;
}
.private-entry-panel {
  width: min(860px, calc(100% - 36px));
  margin: 56px auto;
  padding: clamp(22px, 4vw, 36px);
}
.early-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, .85fr);
  align-items: center;
  gap: 38px;
  width: 100vw;
  min-height: 500px;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 42px max(42px, calc((100vw - 1140px) / 2 + 30px));
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.48) 45%, rgba(25,34,40,.62) 100%),
    url("source-command-center-bg.jpeg") center / cover no-repeat;
  box-shadow: inset 0 -1px 0 rgba(255,255,255,.12), 0 24px 68px rgba(17, 24, 39, .13);
}
.early-hero > * { position: relative; z-index: 1; }
.early-copy { display: grid; gap: 16px; max-width: 660px; padding-top: 0; }
.early-copy .eyebrow { margin-bottom: 8px; color: #9bdcff; }
.early-hero h1 { max-width: 660px; color: #fff; font-size: clamp(2.35rem, 4.05vw, 3.55rem); line-height: 1.02; letter-spacing: 0; margin-bottom: 0; text-wrap: balance; text-shadow: 0 18px 42px rgba(0,0,0,.32); }
.early-hero p { color: rgba(255,255,255,.88); line-height: 1.5; font-size: 1.02rem; max-width: 640px; }
.early-continuity-strip { width: min(1180px, calc(100% - 60px)); margin: 28px auto 0; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: 14px; align-items: stretch; }
.early-continuity-note { margin: 0; padding: 16px 18px; border-radius: 8px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-soft); max-width: none; }
.early-continuity-note strong { display: block; font-family: "Montserrat", "Trebuchet MS", Arial, sans-serif; font-size: .9rem; margin-bottom: 5px; }
.early-continuity-note p { margin: 0 0 8px; color: #384450; font-size: .86rem; line-height: 1.45; }
.early-continuity-note a { font-weight: 600; text-decoration: none; }
.early-benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 0; max-width: 650px; }
.early-benefits span { display: grid; align-items: center; min-height: 46px; border: 1px solid rgba(255,255,255,.38); border-radius: 8px; background: rgba(255,255,255,.94); box-shadow: 0 16px 36px rgba(0,0,0,.16); padding: 9px 12px; font-weight: 800; color: #1f2933; font-size: .83rem; }
.early-feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 16px; max-width: 760px; }
.early-feature-grid article { min-height: 116px; background: rgba(255,255,255,.94); border: 1px solid rgba(255,255,255,.38); border-left: 4px solid var(--accent); border-radius: 8px; box-shadow: 0 16px 36px rgba(0,0,0,.15); padding: 13px; overflow: hidden; }
.early-feature-grid strong { font-family: "Montserrat", "Trebuchet MS", Arial, sans-serif; font-size: .95rem; }
.early-feature-grid p { color: #53606b; font-size: .84rem; margin: 6px 0 0; line-height: 1.38; }
.early-punch { margin: 0; display: grid; align-items: center; padding: 16px 18px; border-radius: 8px; background: var(--accent); border: 1px solid rgba(132, 217, 255, .36); color: #fff !important; font-weight: 800; font-size: .96rem !important; line-height: 1.45 !important; box-shadow: var(--shadow-soft); }
.early-signup-visual { min-height: 0; display: grid; align-items: center; padding: 18px; background: rgba(246,246,246,.86); }
.early-form { width: 100%; margin: 0; padding: 20px; background: rgba(255,255,255,.98); backdrop-filter: blur(12px); box-shadow: none; }
.early-form h2 { font-size: 1.12rem; margin-bottom: 6px; }
.early-secondary-strip {
  width: min(1180px, calc(100% - 60px));
  margin: 16px auto 46px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.early-secondary-strip article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  padding: 18px;
}
.early-secondary-strip strong { display: block; font-family: "Montserrat", "Trebuchet MS", Arial, sans-serif; margin-bottom: 6px; }
.early-secondary-strip p { margin: 0; color: var(--muted); line-height: 1.5; }
.turnstile-field { display: block; min-height: 65px; }
.turnstile-field .cf-turnstile { max-width: 100%; overflow: hidden; }
.ecosystem-admin-card { border: 1px solid var(--line); border-radius: 8px; background: #fff; margin-top: 10px; padding: 10px; display: grid; gap: 8px; }
.ecosystem-admin-card .admin-row { margin: 0; border: 0; padding: 0 0 8px; border-bottom: 1px solid var(--line); box-shadow: none; }
.ecosystem-admin-card .admin-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; }
.ecosystem-admin-card .admin-row > div { grid-column: 1 / -1; }
.ecosystem-admin-card .admin-row .primary,
.ecosystem-admin-card .admin-row .button,
.ecosystem-admin-card .admin-row .danger { width: 100%; min-width: 0; padding-inline: 10px; }
.billing-entitlement-row { display: grid; grid-template-columns: 112px 112px 124px 112px auto; gap: 8px; align-items: end; }
.ecosystem-admin-card .billing-entitlement-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ecosystem-admin-card .billing-entitlement-row .button { grid-column: 1 / -1; justify-self: stretch; }
.billing-entitlement-row label { font-size: .74rem; color: var(--muted); }
.billing-entitlement-row select, .billing-entitlement-row input { margin-top: 4px; }
.chat-fab { position: fixed; right: 16px; bottom: 16px; z-index: 30; border: 0; border-radius: 13px; background: linear-gradient(135deg, #4ab0e2, var(--accent)); color: #fff; box-shadow: 0 14px 34px rgba(41,128,185,.28); width: 52px; height: 40px; min-width: 52px; min-height: 40px; padding: 0; font-family: "Montserrat", "Trebuchet MS", Arial, sans-serif; font-weight: 700; cursor: pointer; display: inline-grid; place-items: center; text-align: center; }
.chat-fab::after, .public-chat-fab::after { content: ""; position: absolute; right: 8px; bottom: -6px; width: 15px; height: 15px; background: inherit; clip-path: polygon(0 0, 100% 0, 100% 100%); filter: drop-shadow(0 8px 8px rgba(41,128,185,.16)); }
.chat-fab.has-open { padding: 0; }
.chat-fab-label { display: none; }
.chat-fab-icon { display: block; font-size: 1.38rem; line-height: 1; transform: translateY(1px); }
.message-bubble-icon { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 4px; width: 100%; height: 100%; }
.message-bubble-icon i { display: block; width: 6px; height: 6px; border-radius: 999px; background: #f1f7fb; box-shadow: inset 0 -1px 0 rgba(0,0,0,.12); }
.chat-fab strong { position: absolute; top: -6px; right: -5px; display: inline-grid; min-width: 18px; height: 18px; place-items: center; border-radius: 999px; background: #c0392b; color: #fff; font-size: .6rem; line-height: 1; padding: 0 5px; box-shadow: 0 0 0 2px rgba(255,255,255,.86); }
.public-chat-fab { position: fixed; right: 16px; bottom: 16px; z-index: 30; border: 0; border-radius: 13px; background: linear-gradient(135deg, #4ab0e2, var(--accent)); color: #fff; box-shadow: 0 14px 34px rgba(41,128,185,.28); width: 52px; height: 40px; min-width: 52px; min-height: 40px; padding: 0; font-family: "Montserrat", "Trebuchet MS", Arial, sans-serif; font-weight: 800; cursor: pointer; display: inline-grid; place-items: center; text-align: center; font-size: 0; }
.public-chat-fab .chat-fab-icon { display: grid; place-items: center; width: 100%; height: 100%; font-size: 1.42rem; line-height: 1; transform: translateY(1px); }
.public-chat-fab .chat-fab-label, .public-chat-fab .public-status-label { display: none; }
.chat-modal { position: fixed; inset: 0; z-index: 40; display: none; place-items: end; padding: 22px; background: rgba(0,0,0,.34); }
.chat-modal.open { display: grid; }
.chat-dialog { width: min(520px, 100%); background: #fff; border-radius: 8px; border: 1px solid var(--line); box-shadow: 0 28px 80px rgba(0,0,0,.24); padding: 20px; }
.chat-dialog textarea { min-height: 150px; }
.chat-thread { max-height: 260px; overflow: auto; display: grid; gap: 8px; margin-bottom: 14px; padding-right: 4px; }
.chat-thread-item { border: 1px solid var(--line); border-radius: 8px; background: #f6f6f6; padding: 10px; }
.chat-thread-item.mine { background: #eef5ff; border-color: #cfe0f6; }
.chat-thread-item span { display: block; color: var(--muted); font-size: .76rem; margin-bottom: 4px; }
.chat-thread-item p { margin: 0; line-height: 1.45; color: var(--ink); }
.chat-thread-item .inline-form { margin-top: 8px; }
.chat-log-row { border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 12px; display: grid; grid-template-columns: minmax(0, 1fr) 140px 84px 84px; gap: 10px; margin-top: 8px; align-items: start; }
.chat-log-row p { margin: 6px 0 0; color: var(--muted); line-height: 1.5; }
.chat-reply-row { display: grid; grid-template-columns: minmax(0, 1fr) 120px; gap: 10px; align-items: start; margin: 8px 0 16px 28px; }
.chat-reply-row textarea { min-height: 76px; }

.maintenance-body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 16% 18%, rgba(71, 195, 232, .22), transparent 28%),
    linear-gradient(135deg, rgba(5, 18, 30, .92), rgba(9, 46, 71, .82)),
    url("source-command-center-bg.jpeg") center / cover no-repeat;
  color: #fff;
  display: grid;
  place-items: center;
  padding: clamp(22px, 4vw, 58px);
}
.maintenance-page {
  width: min(920px, 100%);
  display: grid;
  place-items: center;
}
.maintenance-card {
  width: min(760px, 100%);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 10px;
  background: rgba(255,255,255,.94);
  color: var(--ink);
  box-shadow: 0 30px 90px rgba(0,0,0,.38);
  padding: clamp(24px, 5vw, 54px);
  display: grid;
  gap: 18px;
}
.maintenance-card .eyebrow {
  color: var(--accent);
  margin-bottom: 0;
}
.maintenance-card h1 {
  margin: 0;
  max-width: 680px;
  font-size: clamp(2.45rem, 6vw, 4.6rem);
  line-height: .94;
  letter-spacing: 0;
}
.maintenance-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.65;
}
.maintenance-countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 4px;
}
.maintenance-countdown span {
  display: grid;
  gap: 2px;
  justify-items: center;
  border: 1px solid #cfe0f6;
  border-radius: 8px;
  background: #f3f8fd;
  padding: 12px 8px;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
}
.maintenance-countdown strong {
  color: var(--ink);
  font-family: "Montserrat", "Trebuchet MS", Arial, sans-serif;
  font-size: clamp(1.55rem, 4vw, 2.2rem);
  line-height: 1;
}
.maintenance-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.maintenance-note {
  color: #5d6a73;
  font-size: .88rem;
}

@media (max-width: 1100px) {
  html, body { max-width: 100%; overflow-x: hidden; }
  .shell { grid-template-columns: 1fr; width: 100%; max-width: 100vw; overflow-x: hidden; }
  .main { width: 100%; max-width: 100vw; min-width: 0; overflow-x: hidden; }
  .panel, .metric, .item-card, .person-card, .source-card, .kb-editor, .template-editor, .flash { max-width: 100%; min-width: 0; }
  input, textarea, select { min-width: 0; max-width: 100%; }
  .primary, .button, .danger { max-width: 100%; white-space: normal; text-align: center; }
  .button-row { max-width: 100%; min-width: 0; }
  .sidebar { position: sticky; top: 0; z-index: 30; width: 100%; max-width: 100vw; min-width: 0; max-height: none; overflow: hidden; padding: 10px 14px; gap: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.18); }
  .sidebar-mobile-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; }
  .sidebar-menu-toggle { display: inline-flex; flex-direction: column; flex: 0 0 auto; }
  .sidebar .brand { min-width: 0; }
  .sidebar .brand div { min-width: 0; }
  .sidebar nav { display: none; align-items: stretch; flex-wrap: nowrap; gap: 8px; width: 100%; max-width: 100%; min-width: 0; overflow-x: auto; overflow-y: hidden; padding: 2px 0 4px; scrollbar-width: none; overscroll-behavior-x: contain; }
  .sidebar.sidebar-open nav { display: flex; }
  .sidebar nav::-webkit-scrollbar, .sidebar-foot::-webkit-scrollbar { display: none; }
  .nav-divider { flex: 0 0 auto; margin: 0 4px 0 14px; align-self: center; padding-top: 0; border-top: 0; }
  .sidebar nav a.nav-child { flex: 0 0 auto; margin-left: 0; white-space: nowrap; background: rgba(255,255,255,.04); }
  .sidebar nav a:hover, .sidebar nav a.active { box-shadow: inset 0 -3px 0 var(--cyan); }
  .sidebar-foot { display: none; align-items: center; gap: 12px; max-width: 100%; min-width: 0; margin-top: 0; white-space: nowrap; overflow-x: auto; overflow-y: hidden; font-size: .86rem; scrollbar-width: none; }
  .sidebar.sidebar-open .sidebar-foot { display: flex; }
  .topbar { grid-template-columns: 1fr; align-items: stretch; }
  .topbar > div:first-child { order: 1; }
  .workspace-switcher { order: 2; }
  .topbar-tools { order: 3; grid-template-columns: 1fr; justify-content: stretch; }
  .global-search-form { min-width: 100%; width: 100%; }
  .topbar-action-row { justify-content: flex-start; }
  .topbar-action-row .button { flex: 1 1 auto; }
  .platform-access-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .platform-access-grid .wide { grid-column: 1 / -1; }
  .metric-grid, .dashboard-cockpit, .dashboard-gauge-grid, .grid.two, .vision-grid, .marketing-grid, .marketing-band, .source-map, .marketing-hero, .features-hero, .support-hero, .contact-hero, .feature-strip, .infographic-band, .overview-video-band, .feature-detail-grid, .pricing-hero, .pricing-card, .pricing-notes, .billing-entitlement-row, .chat-log-row, .chat-reply-row, .backup-row, .early-benefits, .early-feature-grid, .early-continuity-strip, .early-secondary-strip, .architect-form, .architect-preview, .sync-cockpit, .sync-command-bar, .sync-review-grid, .profile-hero, .content-library-grid { grid-template-columns: 1fr; }
  .sync-cockpit { position: static; margin: 0 0 18px; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
  .profile-hero { justify-items: start; }
  .architect-hero { align-items: flex-start; flex-direction: column; }
  .architect-cta { align-items: flex-start; flex-direction: column; }
  .architect-status { justify-items: start; }
  .early-hero { grid-template-columns: minmax(0, 1fr); min-height: auto; align-items: start; padding: 40px 26px 78px; }
  .early-copy { max-width: none; padding-top: 0; }
  .early-hero h1 { max-width: 840px; font-size: clamp(2.35rem, 6.4vw, 3.35rem); }
  .early-signup-visual { width: min(560px, 100%); }
  .early-form { margin-top: 0; margin-right: 0; }
  .early-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; }
  .early-continuity-strip { width: min(900px, calc(100% - 52px)); }
  .early-secondary-strip { width: min(900px, calc(100% - 52px)); }
  .meeting-room-frame { min-height: 360px; }
  .sync-room-preview .meeting-room-frame { min-height: 220px; height: 260px; }
  .sync-command-body, .sync-command-indicators { grid-template-columns: 1fr; }
  .sync-room-header-actions, .sync-room-actions { justify-content: flex-start; }
  .wide { grid-column: auto; }
  .item-card, .person-card, .source-card, .member-row, .super-row, .access-row, .access-create-row, .access-invite-row, .quick-invite-row, .early-link-create, .early-link-row, .form-entry-row, .invite-row, .resource-admin-row, .metric-entry-row, .agenda-row, .calendar-row, .kb-editor, .template-editor { grid-template-columns: 1fr; }
  .item-card > input:first-of-type,
  .item-card > textarea:first-of-type { grid-column: auto; }
  .person-fit-header { display: none; }
  .fit-select span { display: block; }
  .person-card .fit-select select { width: 100%; }
  .infographic-band.stagger-right .infographic-copy { order: 1; }
  .infographic-band.stagger-right .infographic-preview { order: 2; }
  .overview-video-band { padding: 28px 22px; gap: 18px; }
  .overview-video-copy { order: 1; }
  .overview-video-preview { order: 2; }
  .overview-video-preview { min-height: 220px; }
  .overview-video-preview img { max-height: 300px; }
  .marketing-section-group { gap: 18px; padding: 20px 0; }
  .audio-section-group { width: 100%; max-width: 100%; overflow: hidden; }
  .marketing-band.audio-band { display: grid; grid-template-columns: 1fr; width: 100%; max-width: 100%; overflow: hidden; }
  .marketing-band.audio-band > .audio-heading-column { order: 1; }
  .marketing-band.audio-band > .source-audio-column { order: 2; }
  .audio-band-body { order: 3; }
  .audio-section-group .marketing-grid { order: 4; }
  .marketing-section-group.stagger-right .marketing-band:not(.audio-band) > :first-child,
  .marketing-section-group.stagger-left .marketing-band:not(.audio-band) > :first-child,
  .marketing-band.stagger-left > :first-child { order: 1; }
  .marketing-section-group.stagger-right .marketing-band:not(.audio-band) > :last-child,
  .marketing-section-group.stagger-left .marketing-band:not(.audio-band) > :last-child,
  .marketing-band.stagger-left > :last-child { order: 2; }
  .continuity-copy { padding-top: 0; max-width: none; }
  .rollout-actions { grid-template-columns: repeat(2, minmax(150px, 1fr)); }
  .marketing-band.audio-band + .marketing-grid { margin-top: 0; }
  .access-create-row .wide { grid-column: auto; }
  .kb-editor .wide, .template-editor .wide { grid-column: auto; }
  .person-card textarea,
  .source-card textarea { grid-column: auto; }
  .ecosystem-row { align-items: stretch; flex-direction: column; }
}

@media (max-width: 900px) {
  .marketing-nav { align-items: center; flex-direction: row; flex-wrap: wrap; padding: 14px 18px; }
  .public-menu-toggle { display: grid; margin-left: auto; }
  .marketing-nav nav { display: none; width: 100%; align-items: stretch; gap: 8px; padding-top: 10px; border-top: 1px solid var(--line); }
  .marketing-nav.nav-open nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .marketing-nav nav a { display: grid; min-height: 40px; align-items: center; justify-items: center; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; text-align: center; }
  .marketing-nav nav .split-auth-cta { display: none; }
  .marketing-nav nav .mobile-auth-cta { display: grid; grid-column: 1 / -1; }
  .marketing-nav nav a.nav-cta,
  .marketing-nav nav a.nav-cta:hover,
  .marketing-nav nav a.nav-cta.active,
  .marketing-nav nav a.mobile-auth-cta,
  .marketing-nav nav a.mobile-auth-cta:hover,
  .marketing-nav nav a.mobile-auth-cta.active { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 10px 22px rgba(41, 128, 185, .18); }
  .marketing-nav .nav-cta { justify-self: stretch; }
  .kb-layout, .manual-grid, .resource-grid, .content-library-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .longform-shell { display: block; }
  .longform-toc { display: none; }
  .longform-mobile-jump { display: grid; gap: 6px; margin: 0 0 16px; color: var(--ink); font-weight: 700; }
  .longform-mobile-jump select { width: 100%; }
  .longform-body,
  .manual-page .longform-body { max-width: none; }
}

@media (max-width: 680px) {
  .main { padding: 18px; }
  .topbar { align-items: stretch; }
  .global-search-form { grid-template-columns: minmax(0, 1fr) auto; }
  .global-search-form [data-quick-add-open] { grid-column: 1 / -1; }
  .workspace-switcher { min-width: 0; }
  .sidebar { padding: 9px 12px; max-height: none; overflow-y: visible; scrollbar-width: none; }
  .sidebar.sidebar-open { max-height: 72vh; overflow-y: auto; }
  .sidebar::-webkit-scrollbar { display: none; }
  .sidebar .mark { width: 38px; height: 38px; }
  .sidebar .brand strong { font-size: .98rem; }
  .sidebar .brand span { font-size: .76rem; }
  .sidebar nav { display: none; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .sidebar.sidebar-open nav { display: grid; }
  .sidebar nav a { padding: 9px 10px; font-size: .88rem; white-space: normal; text-align: center; background: rgba(255,255,255,.05); }
  .sidebar nav a.nav-child { white-space: normal; }
  .nav-divider { grid-column: 1 / -1; font-size: .62rem; margin: 4px 0 0; padding-top: 0; border-top: 0; }
  .metric-grid { grid-template-columns: 1fr; }
  .platform-access-grid { grid-template-columns: 1fr; }
  .platform-access-actions .primary { width: 100%; }
  .dashboard-signal-strip { grid-template-columns: 1fr; }
  .gauge-ring { width: 104px; }
  .content-library-grid { grid-template-columns: 1fr; }
  .content-library-toolbar { grid-template-columns: 1fr; }
  .content-library-tabs { justify-content: flex-start; }
  .cms-list-row { grid-template-columns: 1fr; align-items: stretch; }
  .marketing-topbar { align-items: center; flex-direction: column; justify-content: center; padding: 8px 18px; gap: 2px; text-align: center; }
  .public-announcement { width: 100%; }
  .marketing-topbar > span:last-child { margin-left: 0; width: 100%; }
  .marketing-nav { align-items: center; flex-direction: row; padding: 14px 16px; position: static; }
  .marketing-nav.nav-open nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .marketing-nav nav a { min-height: 46px; padding: 8px 6px; font-size: .74rem; line-height: 1.15; }
  .marketing-nav nav .mobile-auth-cta { grid-column: auto; font-size: .74rem; }
  .marketing-nav nav a.nav-cta { min-height: 46px; padding-inline: 6px; }
  .bravo-brand strong { font-size: 1.1rem; white-space: normal; }
  .marketing-main { padding: 30px 18px; }
  .auth-brand { display: none; }
  .auth-main { min-height: auto; padding: 26px 18px 14px; }
  .auth-actions { align-items: stretch; flex-direction: column; gap: 10px; }
  .auth-actions .primary { width: 100%; }
  .marketing-hero { min-height: auto; padding: 36px 18px; }
  .early-hero {
    padding: 30px 18px 92px;
    background-position: center top;
    background:
      linear-gradient(180deg, rgba(5,15,24,.88), rgba(5,15,24,.72) 48%, rgba(5,15,24,.9)),
      url("source-command-center-bg.jpeg") center top / cover no-repeat;
  }
  .early-hero h1 { font-size: clamp(2rem, 9vw, 2.65rem); line-height: 1.03; }
  .early-hero p { font-size: .98rem; line-height: 1.5; }
  .early-continuity-note { padding: 12px; }
  .early-benefits, .early-feature-grid { grid-template-columns: 1fr; }
  .early-benefits span { min-height: 0; }
  .early-feature-grid article { min-height: 0; }
  .early-punch { margin-bottom: 0; }
  .early-signup-visual { width: 100%; padding: 12px; }
  .early-form { margin-top: 0; padding: 16px; }
  .rollout-actions { grid-template-columns: 1fr; width: 100%; }
  .early-continuity-strip { width: calc(100% - 36px); margin: 20px auto 0; }
  .early-secondary-strip { width: calc(100% - 36px); margin: 20px auto 40px; }
  .early-secondary-strip article { padding: 16px; }
  .hero-copy h1 { font-size: clamp(2.2rem, 14vw, 3.15rem); }
  .hero-visual { min-height: 0; padding: 12px; }
  .feature-strip { padding: 20px 18px; }
  .audio-section-group,
  .audio-section-group *,
  .marketing-band.audio-band,
  .source-audio-column,
  .audio-heading-column,
  .source-audio-card { min-width: 0; max-width: 100%; }
  .source-audio-column { width: 100%; justify-self: stretch; overflow: hidden; }
  .source-audio-card { width: 100%; grid-template-columns: 1fr; justify-items: start; padding: 14px; overflow: hidden; box-sizing: border-box; }
  .source-audio-copy { width: 100%; min-width: 0; }
  .source-audio-copy strong,
  .source-audio-copy span { overflow-wrap: anywhere; }
  .audio-caption-ticker { width: 100%; max-width: 100%; }
  .audio-caption-ticker span { animation-duration: 24s; }
  .source-audio-card audio { width: 100%; max-width: 100%; min-width: 0; }
  .audio-visualizer { width: 100%; height: 42px; justify-content: flex-start; }
  .infographic-band { padding: 24px 18px; gap: 16px; }
  .infographic-copy h2 { font-size: clamp(2rem, 10vw, 2.6rem); }
  .infographic-preview img { max-height: 280px; }
  .overview-video-band { padding: 24px 18px; gap: 16px; }
  .overview-video-copy h2 { font-size: clamp(2rem, 10vw, 2.6rem); }
  .overview-video-preview { min-height: 190px; }
  .overview-play-button { width: 64px; height: 64px; }
  .media-lightbox { padding: 12px; }
  .media-lightbox-panel video { max-height: calc(100vh - 96px); }
  .media-lightbox { padding: 10px; }
  .media-lightbox-panel { max-height: calc(100vh - 20px); padding: 8px; border-radius: 8px; }
  .legal-main, .features-page, .pricing-page, .support-page, .kb-page, .contact-page, .partner-page, .public-doc-page { padding: 26px 18px; }
  .features-hero,
  .pricing-hero,
  .support-hero,
  .kb-hero,
  .contact-hero,
  .partner-hero,
  .public-doc-hero { min-height: 0; padding: 18px; grid-template-columns: 1fr; align-items: start; }
  .feature-filter-tabs,
  .kb-page .kb-filter-tabs,
  .kb-unified-library > .kb-filter-tabs,
  .resource-library > .kb-filter-tabs { position: static; }
  .features-proof { grid-template-columns: 1fr; }
  .features-hero > *,
  .pricing-hero > *,
  .support-hero > *,
  .kb-hero > *,
  .contact-hero > *,
  .partner-hero > *,
  .public-doc-hero > * { min-width: 0; max-width: 100%; }
  .features-hero h1,
  .pricing-hero h1,
  .support-hero h1,
  .kb-hero h1,
  .kb-hero h2,
  .contact-hero h1,
  .partner-hero h1,
  .public-doc-hero h1 { font-size: clamp(2.05rem, 10vw, 3rem); line-height: 1.03; overflow-wrap: normal; word-break: normal; }
  .features-hero p:not(.eyebrow),
  .pricing-hero p:not(.eyebrow),
  .support-hero p:not(.eyebrow),
  .kb-hero p,
  .contact-hero p:not(.eyebrow),
  .partner-hero p:not(.eyebrow),
  .public-doc-hero p:not(.eyebrow) { max-width: none; overflow-wrap: normal; word-break: normal; }
  .pricing-quick,
  .support-hero .hero-signal-card,
  .kb-hero-visual,
  .contact-signal-card,
  .partner-signal-card,
  .public-doc-visual { width: 100%; max-width: none; }
  .partner-grid,
  .partner-apply-panel { grid-template-columns: 1fr; }
  .partner-apply-panel,
  .partner-agreement-preview { padding: 18px; }
  .partner-agreement-preview { grid-template-columns: 1fr; }
  .partner-guardrail-heading { position: static; }
  .partner-guardrail-body { columns: auto; }
  .app-kb-intro { display: grid; align-items: start; }
  .support-hero { display: grid; grid-template-columns: 1fr; gap: 16px; overflow: hidden; }
  .support-hero > div { display: grid; gap: 12px; position: relative; z-index: 2; width: 100%; }
  .support-hero h1 { font-size: clamp(2rem, 8.8vw, 2.75rem); max-width: 100%; }
  .support-hero .hero-signal-card {
    position: relative;
    z-index: 1;
    justify-self: stretch;
    align-self: stretch;
    box-sizing: border-box;
    overflow: hidden;
  }
  .support-hero .signal-step {
    position: relative;
    z-index: 1;
    grid-template-columns: 30px minmax(0, 1fr);
    width: 100%;
    box-sizing: border-box;
  }
  .support-hero .signal-step i { width: 30px; height: 30px; }
  .support-hero .signal-step strong,
  .support-hero .signal-step span { min-width: 0; overflow-wrap: anywhere; }
  .support-grid { grid-template-columns: 1fr; gap: 12px; }
  .support-grid article { min-height: 0; width: 100%; padding: 18px 18px 18px 64px; }
  .support-grid article::before { left: 18px; top: 20px; }
  .support-grid strong { font-size: 1rem; line-height: 1.25; }
  .support-grid p { font-size: .94rem; line-height: 1.55; overflow-wrap: anywhere; }
  .kb-layout, .manual-grid, .resource-grid { grid-template-columns: 1fr; }
  .calendar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calendar-grid > strong { display: none; }
  .sync-live-review .panel-header { display: grid; }
  .sync-review-card .button-row { grid-template-columns: 1fr; }
  .sync-review-card .button-row button { min-height: 42px; }
  .chat-fab, .public-chat-fab { right: 10px; bottom: 10px; width: 46px; height: 36px; min-width: 46px; min-height: 36px; padding: 0; border-radius: 12px; display: inline-grid; place-items: center; text-align: center; }
  .chat-fab-label, .public-chat-fab .chat-fab-label, .public-chat-fab .public-status-label { display: none; }
  .chat-fab-icon, .public-chat-fab .chat-fab-icon { font-size: 1.45rem; line-height: 1; }
  .message-bubble-icon { gap: 4px; }
  .message-bubble-icon i { width: 5px; height: 5px; }
  .chat-fab::after, .public-chat-fab::after { right: 8px; bottom: -6px; width: 13px; height: 13px; }
  .chat-fab strong { position: absolute; top: -6px; right: -5px; min-width: 18px; height: 18px; font-size: .6rem; }
  .mini-card { grid-template-columns: 1fr; }
  .review-carousel { grid-auto-flow: column; grid-auto-columns: 100%; grid-template-columns: none; overflow-x: auto; padding-bottom: 12px; }
  .review-carousel-controls { align-self: stretch; width: 100%; justify-content: space-between; }
  .review-carousel-controls .button { flex: 1; }
  .home-reviews-heading { align-items: start; flex-direction: column; }
  .chat-modal { padding: 12px; place-items: end center; }
  .maintenance-body { padding: 18px; align-items: center; }
  .maintenance-card { padding: 22px; }
  .maintenance-card h1 { font-size: clamp(2rem, 11vw, 3rem); line-height: 1; }
  .maintenance-card p { font-size: .96rem; }
  .maintenance-countdown { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .maintenance-actions { align-items: stretch; flex-direction: column; }
  .maintenance-actions .button,
  .maintenance-actions .primary { width: 100%; }
}

@media (max-width: 360px) {
  .marketing-nav.nav-open nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .marketing-nav nav a { font-size: .68rem; padding-inline: 4px; }
  .marketing-nav nav .mobile-auth-cta { grid-column: auto; }
  .early-hero { padding-inline: 14px; }
  .early-hero h1 { font-size: clamp(2rem, 10vw, 2.55rem); }
  .early-continuity-note p, .early-feature-grid p { font-size: .82rem; }
}

@media print {
  @page { margin: .55in; }
  body { background: #fff; color: #000; font-size: 11pt; padding-bottom: .45in; }
  body::before {
    content: "SOURCE OS";
    position: fixed;
    z-index: -1;
    left: 7%;
    right: 7%;
    top: 38%;
    transform: rotate(-22deg);
    color: rgba(41, 128, 185, .055);
    font-family: "Montserrat", "Trebuchet MS", Arial, sans-serif;
    font-size: 68pt;
    font-weight: 800;
    letter-spacing: .08em;
    text-align: center;
    pointer-events: none;
  }
  body::after {
    content: attr(data-print-meta);
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    padding-top: 6px;
    border-top: 1px solid #777;
    background: #fff;
    color: #333;
    font-size: 8.5pt;
    line-height: 1.35;
  }
  .sidebar, .topbar, .app-footer, .marketing-topbar, .marketing-nav, .marketing-footer, .no-print, .button, .primary, .danger, .flash, .toast-stack, .backend-announcement, .chat-launch, .chat-fab, .public-chat-fab, .chat-modal, .chat-dialog, .source-modal, [data-chat-open], .breadcrumbs, .breadcrumb, .page-intro, .page-lede, .print-actions, .settings-tab-nav, .print-center-callout, .print-center > .panel-header { display: none !important; }
  .shell, .main, .marketing-main { display: block; padding: 0 !important; margin: 0 !important; overflow: visible !important; max-width: none !important; width: auto !important; }
  .panel, .print-center, .print-sheet, .generated-document { box-shadow: none !important; border: 0 !important; padding: 0 !important; margin: 0 !important; background: #fff !important; max-width: none !important; }
  .print-sheets { display: block !important; }
  body.js-settings-tabs .print-sheet.settings-group { display: none !important; }
  body.js-settings-tabs .print-sheet.settings-group.active,
  body.print-all-worksheets .print-sheet.settings-group { display: block !important; }
  .print-sheet { page-break-inside: avoid; margin-bottom: 18px !important; }
  body.print-all-worksheets .print-sheet { break-after: page; page-break-after: always; }
  body.print-all-worksheets .print-sheet:last-child { break-after: auto; page-break-after: auto; }
  .generated-document-section { break-inside: avoid; page-break-inside: avoid; }
  .document-table th, .document-table td { border-color: #777 !important; }
  .print-sheet .eyebrow { color: #000; font-size: 9pt; margin: 0 0 4px; }
  .print-sheet h2 { font-size: 18pt; margin: 0 0 12px; }
  .print-field { margin: 0 0 12px; }
  .print-field p { margin: 4px 0 0; }
  .print-table { width: 100%; border-collapse: collapse; margin: 10px 0 16px; table-layout: fixed; }
  .print-table th, .print-table td { border: 1px solid #777; padding: 6px; vertical-align: top; word-break: break-word; }
  .print-table th { background: #f2f2f2 !important; font-weight: 700; }
  .manual-page::before {
    content: "Confidential SOURCE operating doctrine - Tech Bravo internal licensed use only.";
    display: block;
    margin: 0 0 14px;
    padding: 8px 0;
    border-bottom: 1px solid #777;
    color: #000;
    font-size: 9pt;
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: uppercase;
  }
}
