:root { --ink:#1b1f24; --muted:#5b6470; --line:#dfe3e8; --bg:#f6f7f9; --card:#fff; --accent:#0b5fff; --ok:#1b7f3b; --warn:#b26a00; --err:#b3261e; }
* { box-sizing: border-box; }
body { margin:0; font: 16px/1.5 -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color:var(--ink); background:var(--bg); }
header.top { display:flex; align-items:center; justify-content:space-between; padding:12px 24px; background:var(--card); border-bottom:1px solid var(--line); }
.brand { font-weight:700; color:var(--ink); text-decoration:none; }
nav a { margin-left:16px; color:var(--accent); text-decoration:none; }
nav .who { color:var(--muted); margin-right:8px; }
main { max-width: 980px; margin: 24px auto; padding: 0 24px; }
h1 { font-size:1.6rem; margin:0 0 4px; } h2 { font-size:1.15rem; margin:24px 0 8px; }
.muted { color:var(--muted); }
.tiles { display:grid; grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); gap:16px; margin-top:16px; }
.tile { display:block; background:var(--card); border:1px solid var(--line); border-radius:10px; padding:18px; color:inherit; text-decoration:none; }
.tile:hover { border-color:var(--accent); }
.tile h3 { margin:0 0 6px; }
.card { background:var(--card); border:1px solid var(--line); border-radius:10px; padding:18px; margin-top:16px; }
.flash { padding:10px 14px; border-radius:8px; margin-bottom:12px; }
.flash.ok { background:#e8f5ec; color:var(--ok); } .flash.error { background:#fbeae9; color:var(--err); }
form.stack label { display:block; margin:12px 0 4px; font-weight:600; }
form.stack input[type=text], form.stack input[type=email], form.stack select, form.stack textarea { width:100%; padding:8px 10px; border:1px solid var(--line); border-radius:6px; font:inherit; }
form.stack textarea { font-family: ui-monospace, Menlo, Consolas, monospace; font-size:0.9rem; min-height:90px; }
.checks label { display:inline-block; margin:4px 16px 4px 0; font-weight:400; }
button, .btn { background:var(--accent); color:#fff; border:0; border-radius:6px; padding:9px 16px; font:inherit; cursor:pointer; text-decoration:none; display:inline-block; }
.btn.quiet { background:#fff; color:var(--accent); border:1px solid var(--line); }
table { width:100%; border-collapse:collapse; background:var(--card); border:1px solid var(--line); border-radius:10px; overflow:hidden; }
th, td { text-align:left; padding:10px 12px; border-bottom:1px solid var(--line); vertical-align:top; }
th { background:#fafbfc; font-weight:600; }
.pill { display:inline-block; padding:2px 8px; border-radius:999px; background:#eef2f7; font-size:0.85rem; margin-right:4px; }
.pill.on { background:#e8f5ec; color:var(--ok); } .pill.off { background:#f1f1f1; color:var(--muted); }
.signin { max-width:420px; margin:60px auto; }
.signin .btn { display:block; width:100%; text-align:center; margin:10px 0; }
small.help { color:var(--muted); display:block; margin-top:4px; }
.pill.green { background:#e8f5ec; color:var(--ok); } .pill.amber { background:#fff4e0; color:var(--warn); } .pill.red { background:#fbeae9; color:var(--err); }
button.quiet { background:#fff; color:var(--err); border:1px solid var(--line); padding:4px 10px; }
.q { margin: 12px 0; } .q input[type=text], .q input:not([type=checkbox]):not([type=radio]) { width: 100%; max-width: 640px; }
.row { display: block; margin: 6px 0; } .small { font-size: 0.9rem; margin: 2px 0 6px; } .steps .pill { margin-bottom: 4px; }
.q table input:not([type=checkbox]) { width: 100%; max-width: none; min-width: 90px; }
.q table { width: 100%; }

/* ---------------------------------------------------------------- InflectionPointOS look (Bill, 18 Nov 2026)
   The same face as the QuoteRelay and AuditTrack dashboards on every page: navy header, cool paper, white surfaces,
   Manrope, quiet borders. Later rules win over the older ones above. */
:root { --ink:#13203A; --ink-2:#3A4A66; --muted:#6B7891; --line:#E2E7EF; --bg:#F4F6FA; --card:#FFFFFF; --accent:#2F6FED;
        --ok:#138A5B; --warn:#9A5B00; --err:#C8363D; --navy:#13203A; --navy-2:#1C2D50; --radius:14px; }
html { -webkit-font-smoothing:antialiased; }
body { font:14.5px/1.55 "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color:var(--ink); background:var(--bg); }
:focus-visible { outline:2px solid var(--accent); outline-offset:2px; border-radius:6px; }
header.top { background:linear-gradient(180deg,var(--navy),var(--navy-2)); border:0; color:#fff; padding:12px 32px; gap:24px; flex-wrap:wrap; position:sticky; top:0; z-index:10; }
header.top .brand { display:flex; align-items:center; gap:10px; color:#fff; font-weight:600; letter-spacing:-.2px; font-size:16px; }
header.top .brand b { font-weight:800; }
header.top .brand-mark { width:30px; height:30px; border-radius:8px; background:var(--accent); display:grid; place-items:center; font-weight:800; font-size:12px; letter-spacing:.5px; }
header.top nav { display:flex; align-items:center; flex-wrap:wrap; gap:4px; font-size:13px; }
header.top nav a { margin:0; color:#C9D3E6; padding:6px 10px; border-radius:8px; }
header.top nav a:hover { color:#fff; background:rgba(255,255,255,.06); }
header.top nav a.on { color:#fff; background:rgba(255,255,255,.12); }
header.top nav .who { color:#A9B5CC; margin:0 6px 0 10px; font-size:12.5px; }
header.top .ccy-switch { display:inline-flex; margin-left:8px; border:1px solid rgba(255,255,255,.18); border-radius:8px; overflow:hidden; }
header.top .ccy-switch a { padding:4px 9px; border-radius:0; font-size:12px; }
header.top .ccy-switch a.on { background:rgba(255,255,255,.16); color:#fff; }
.banner { margin:12px 32px 0; background:#fff; border:1px solid var(--line); border-radius:10px; padding:8px 14px; font-size:13px; color:var(--ink-2); }
.banner .btn.quiet { margin-left:8px; padding:4px 10px; }
main { max-width:1240px; margin:28px auto 72px; padding:0 32px; }
h1 { font-size:26px; font-weight:800; letter-spacing:-.5px; margin:0 0 6px; }
h2 { font-size:17px; font-weight:800; letter-spacing:-.2px; margin:28px 0 10px; }
h3 { font-weight:800; letter-spacing:-.1px; }
.muted { color:var(--muted); }
.card { border:1px solid var(--line); border-radius:var(--radius); padding:20px 22px; box-shadow:0 1px 2px rgba(19,32,58,.04); }
.tile { border:1px solid var(--line); border-radius:var(--radius); padding:20px 22px; position:relative; overflow:hidden; transition:border-color .12s, box-shadow .12s; }
.tile::before { content:""; position:absolute; left:0; right:0; top:0; height:3px; background:var(--accent); }
.tile:hover { border-color:#C7D0DE; box-shadow:0 4px 14px rgba(19,32,58,.07); }
.tile h3 { font-size:17px; }
.tile-off { background:#F3F4F6; border-color:#E2E5EA; color:#8A93A3; cursor:default; }
.tile-off::before { background:#C9CED6; }
.tile-off:hover { border-color:#E2E5EA; box-shadow:none; }
.tile-off h3, .tile-off .muted { color:#8A93A3; }
.tile-off .tile-why { margin:10px 0 0; font-size:13px; font-weight:600; color:#6B7383; }
table { border:1px solid var(--line); border-radius:12px; border-collapse:separate; border-spacing:0; font-size:13.5px; }
th, td { border-bottom:1px solid #EEF1F6; padding:10px 12px; }
th { background:#F7F9FC; color:var(--muted); font-weight:700; font-size:12px; }
tbody tr:hover td, tr:hover > td { background:#FAFBFD; }
button, .btn { background:var(--ink); border-radius:9px; padding:8px 15px; font-weight:600; font-size:13.5px; }
button:hover, .btn:hover { background:#24365C; }
.btn.quiet, button.btn.quiet { background:#fff; color:var(--ink-2); border:1px solid var(--line); }
.btn.quiet:hover { border-color:#C7D0DE; background:#fff; }
button.quiet { background:#fff; color:var(--err); border:1px solid var(--line); }
.pill { border-radius:999px; font-weight:700; font-size:12px; padding:3px 10px; background:#EEF1F6; color:var(--ink-2); }
.pill.green, .pill.on { background:#E3F4EC; color:var(--ok); } .pill.amber { background:#FFF1DB; color:var(--warn); } .pill.red { background:#FBE7E8; color:var(--err); }
.flash { border-radius:10px; border:1px solid transparent; }
.flash.ok { background:#E3F4EC; border-color:#C4E6D5; } .flash.error { background:#FBE7E8; border-color:#F1C6C8; }
form.stack input[type=text], form.stack input[type=email], form.stack select, form.stack textarea, input[type=text], input[type=email], input[type=date], select, textarea {
  border:1px solid var(--line); border-radius:9px; padding:8px 10px; font:inherit; background:#fff; }
@media (max-width:820px) { header.top { padding:10px 16px; } main { padding:0 16px; } }
@media (prefers-reduced-motion:reduce) { * { transition:none !important; } }
.linkbtn{background:none;border:0;padding:0;font:inherit;color:inherit;cursor:pointer;text-decoration:none;opacity:.85}
.linkbtn:hover{opacity:1;text-decoration:underline}

/* sign-in (19 Nov 2026: say who we are before sending anyone to Google) */
.signin-wrap { display:grid; grid-template-columns:1.2fr 1fr; gap:48px; max-width:980px; margin:64px auto 24px; align-items:center; padding:0 20px; }
.signin-wrap .signin { margin:0; max-width:none; }
.signin-kicker { font-weight:700; color:var(--muted, #6B7891); margin:0 0 10px; }
.signin-intro h1 { font-size:34px; line-height:1.15; letter-spacing:-.6px; margin:0 0 14px; }
.signin-intro p { font-size:16px; line-height:1.55; margin:0 0 18px; max-width:46ch; }
.signin-points { margin:0; padding:0 0 0 18px; line-height:1.7; }
.signin h2 { margin:0 0 6px; }
.signin-next, .signin-help { font-size:13px; color:var(--muted, #6B7891); margin:12px 0 0; }
.signin-foot { text-align:center; font-size:12.5px; color:var(--muted, #6B7891); margin:12px 0 40px; }
@media (max-width:760px) { .signin-wrap { grid-template-columns:1fr; gap:24px; margin-top:28px; } .signin-intro h1 { font-size:26px; } }

/* every screen: a way back and a way home (Bill, 19 Nov 2026) */
.backbar{display:flex;gap:10px;max-width:1240px;margin:14px auto 0;padding:0 28px;font-size:13px;font-weight:700}
.backbar a{padding:6px 12px;border:1px solid #DCE2EC;border-radius:999px;background:#fff;color:#13203A;text-decoration:none}
.backbar a:hover{border-color:#13203A}

.ipfoot{text-align:center;font-size:12.5px;color:#6B7891;padding:26px 0 30px}
.ipfoot a{color:#13203A;text-decoration:none;border-bottom:1px solid #C9D2E0}

/* the header (Whitney, 19 Nov 2026): brand, the client's logo, Products and the person's own menu */
header.top .client-logo{display:flex;align-items:center;background:#fff;border-radius:8px;padding:4px 10px;height:38px;margin-right:auto}
header.top .client-logo img{height:30px;width:auto;display:block}
header.top .client-name{font-weight:700;color:#fff;margin-right:auto}
header.top nav.menus{display:flex;gap:6px;align-items:center}
details.menu{position:relative}
details.menu>summary{list-style:none;cursor:pointer;color:#E3E9F4;padding:7px 12px;border-radius:9px;font-weight:600;display:flex;align-items:center;gap:8px}
details.menu>summary::-webkit-details-marker{display:none}
details.menu>summary::after{content:"▾";font-size:11px;opacity:.7}
details.menu[open]>summary,details.menu>summary:hover{background:rgba(255,255,255,.08)}
details.menu .menu-list{position:absolute;top:calc(100% + 6px);left:0;min-width:220px;background:#fff;border:1px solid #E2E7EF;border-radius:12px;box-shadow:0 12px 30px rgba(19,32,58,.18);padding:6px;z-index:30;display:flex;flex-direction:column}
details.menu .menu-list.right{left:auto;right:0}
details.menu .menu-list a{color:#13203A !important;padding:8px 10px;border-radius:8px;text-decoration:none;font-weight:600}
details.menu .menu-list a:hover,details.menu .menu-list a.on{background:#F1F4F9}
details.menu .menu-head{font-size:11.5px;color:#6B7891;padding:8px 10px 4px}
.avatar{width:24px;height:24px;border-radius:50%;background:var(--accent);color:#fff;display:grid;place-items:center;font-size:12px;font-weight:800}

/* kill switch (19 Nov 2026) */
.killswitch{display:flex;gap:18px;align-items:center;justify-content:space-between;background:#fff;border:1px solid #F1C6C8;border-radius:14px;padding:14px 18px;margin:0 0 18px}
.killswitch.paused{background:#FDF2F2}
.killbtn{background:#C8363D;color:#fff;border:0;border-radius:999px;padding:12px 22px;font-weight:800;font-size:14px;cursor:pointer;white-space:nowrap;box-shadow:0 4px 12px rgba(200,54,61,.3)}
.killbtn:hover{background:#A92B31}.killbtn[disabled]{opacity:.5;cursor:not-allowed}
.pausedbar{background:#C8363D;color:#fff;text-align:center;padding:8px;font-weight:700;font-size:13px}
.pausedbar a{color:#fff;text-decoration:underline}
/* the onboarding wizard tile (Whitney, 19 Nov 2026): leads the main menu until onboarding is complete */
.tile-wizard { border-color:#13203A; background:linear-gradient(180deg,#F4F6FA,#fff); }
.tile-wizard::before { background:#E0A100; }
.tile-wizard.done::before { background:#1F8A4C; }
.tile-private { border-color:#13203A; }
.tile-private::before { background:#13203A; }
/* executive dashboard */
.ex-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(210px,1fr)); gap:12px; margin:12px 0 20px; }
.ex-kpi { background:#fff; border:1px solid #E3E7EE; border-radius:10px; padding:14px 16px; }
.ex-kpi h3 { margin:0 0 6px; font-size:.85rem; font-weight:600; color:#4A5568; }
.ex-kpi .v { font-size:1.35rem; font-weight:700; color:#13203A; line-height:1.25; }
.ex-kpi .p { font-size:.8rem; color:#6B7280; margin-top:4px; }
.ex-bars { display:grid; grid-template-columns:repeat(12,1fr); gap:6px; align-items:end; height:170px; padding:8px 0 0; border-bottom:1px solid #E3E7EE; }
.ex-bars .m { display:flex; gap:2px; align-items:end; height:100%; justify-content:center; }
.ex-bars .a { width:42%; background:#13203A; border-radius:3px 3px 0 0; }
.ex-bars .b { width:42%; background:#C9D1DE; border-radius:3px 3px 0 0; }
.ex-bars .a.under { background:#C2410C; }
.ex-labels { display:grid; grid-template-columns:repeat(12,1fr); gap:6px; font-size:.75rem; color:#6B7280; text-align:center; margin-top:4px; }
.ex-key span { display:inline-block; width:10px; height:10px; border-radius:2px; margin:0 4px 0 12px; vertical-align:middle; }
.ex-table { width:100%; border-collapse:collapse; font-size:.85rem; margin-top:10px; }
.ex-table th, .ex-table td { padding:5px 6px; border-bottom:1px solid #EEF1F5; text-align:right; }
.ex-table th:first-child, .ex-table td:first-child { text-align:left; }

/* language toggle (item 13) */
.langs { display:inline-flex; border:1px solid rgba(255,255,255,.35); border-radius:999px; overflow:hidden; margin-right:10px; vertical-align:middle; }
.langs a { padding:3px 9px; font-size:.75rem; font-weight:600; color:rgba(255,255,255,.75); text-decoration:none; }
.langs a.on { background:#fff; color:#13203A; }
.langs a:focus-visible { outline:2px solid #fff; outline-offset:-2px; }

/* AI chat (item 14) */
.ipchat { position:fixed; right:22px; bottom:22px; z-index:50; }
.ipchat-fab { background:#13203A; color:#fff; border:0; border-radius:999px; padding:12px 20px; font-weight:700; box-shadow:0 6px 18px rgba(19,32,58,.25); cursor:pointer; }
.ipchat-fab:focus-visible { outline:3px solid #9DB4E0; outline-offset:2px; }
.ipchat-panel { position:absolute; right:0; bottom:58px; width:min(400px,calc(100vw - 28px)); height:min(560px,70vh); background:#fff; border:1px solid #E3E7EE; border-radius:14px; box-shadow:0 16px 40px rgba(19,32,58,.18); display:flex; flex-direction:column; overflow:hidden; }
.ipchat-panel[hidden] { display:none; }
.ipchat-panel header { display:flex; justify-content:space-between; align-items:center; padding:10px 14px; background:#13203A; color:#fff; }
.ipchat-x { background:none; border:0; color:#fff; font-size:20px; cursor:pointer; }
.ipchat-log { flex:1; overflow:auto; padding:12px; display:flex; flex-direction:column; gap:8px; }
.ipchat-msg { max-width:88%; padding:8px 11px; border-radius:12px; font-size:.9rem; line-height:1.45; }
.ipchat-msg.me { align-self:flex-end; background:#E8EEF8; }
.ipchat-msg.ai { align-self:flex-start; background:#F6F7F9; }
.ipchat-act { margin-top:8px; padding:8px; border:1px solid #E3E7EE; border-radius:8px; background:#fff; }
.ipchat-body { max-height:120px; overflow:auto; margin:4px 0; color:#4A5568; }
.ipchat-form { display:flex; gap:6px; padding:8px; border-top:1px solid #EEF1F5; }
.ipchat-form textarea { flex:1; resize:none; font:inherit; padding:6px 8px; border:1px solid #D5DBE5; border-radius:8px; }
.ipchat-foot { margin:0; padding:0 12px 8px; font-size:.72rem; color:#6B7280; }
.ipchat-dots { color:#6B7280; }

/* onboarding % and what is still missing (20 Nov 2026) */
.ob-pct { display:flex; align-items:center; gap:8px; font-size:1.15rem; margin:4px 0 6px; }
.ob-deps { list-style:none; padding:0; margin:0 0 6px; font-size:.9rem; color:var(--muted, #5b6470); }
.ob-deps li { display:inline-block; margin-right:12px; }
.ob-pct.small { font-size:.9rem; margin:2px 0; }
.tile .tile-wizard, .tile-wizard { overflow:visible; }
.ob-help { position:relative; display:inline-flex; align-items:center; justify-content:center; width:20px; height:20px; border-radius:50%; background:#13203A; color:#fff; font-size:.75rem; font-weight:700; cursor:help; }
.ob-tip { display:none; position:absolute; left:28px; top:-8px; z-index:40; width:340px; background:#fff; color:#1d2433; border:1px solid #E3E7EE; border-radius:10px; box-shadow:0 12px 30px rgba(19,32,58,.18); padding:12px 14px; font-size:.85rem; font-weight:400; line-height:1.4; text-align:left; }
.ob-help:hover .ob-tip, .ob-help:focus .ob-tip { display:block; }
.ob-who { display:block; font-weight:700; margin-top:8px; color:#13203A; }
.ob-tip ul { margin:2px 0 0; padding-left:18px; }

/* main menu sections (Bill, 20 Nov 2026) */
.home-section { font-size:1.15rem; margin:22px 0 10px; color:#13203A; }
hr.home-split { border:0; border-top:2px solid #13203A; margin:30px 0 4px; opacity:.6; }

.tile-preview{display:inline-block;margin-top:8px;font-weight:600;font-size:14px}

/* the kill switch: small and quiet, top right, only for the people allowed to press it (Bill, 24 Nov 2026) */
.ks-top{display:inline-flex;margin:0 12px 0 0;align-items:center}
.ks-btn{display:inline-flex;gap:4px;align-items:center;background:transparent;color:#6B6F78;border:1px solid #D3D5DB;border-radius:0;padding:3px 8px;font:inherit;font-size:11.5px;font-weight:500;line-height:1.4;cursor:pointer;white-space:nowrap}
.ks-btn:hover{color:#B42318;border-color:#B42318}
.ks-btn.paused{color:#B42318;border-color:#B42318;font-weight:600}
.ks-btn .ic{width:13px;height:13px}
