
:root { color-scheme: dark; }
body { background: var(--color-bg-app); }
.ox { max-width: 1240px; margin: 0 auto; padding: 24px 16px 64px; display: flex; flex-direction: column; gap: 16px; color: var(--color-text-primary); }
.ox h1 { margin: 0; font-size: 22px; font-weight: 600; }
.ox-sub { margin: 0; color: var(--color-text-secondary); font-size: 14px; }
.ox-rail { display: flex; flex-wrap: wrap; gap: 6px; }
.ox-rail a { display: inline-flex; gap: 6px; align-items: center; padding: 4px 10px; border: 1px solid var(--color-border-default); border-radius: 999px; font-size: 13px; color: var(--color-text-secondary); text-decoration: none; }
.ox-rail a b { font-weight: 600; color: var(--color-text-tertiary); }
.ox-rail a.on { border-color: var(--color-text-primary); color: var(--color-text-primary); }
.ox-rail a.on b { color: var(--color-text-primary); }
.ox-step { display: flex; flex-direction: column; gap: 14px; }
.ox-step h2 { margin: 0; font-size: 18px; font-weight: 600; }
.ox-step h2 span { color: var(--color-text-tertiary); font-weight: 500; margin-right: 6px; }
.ox-h { margin: 6px 0 -4px; font-size: 14px; font-weight: 600; }
table.ox-who, table.ox-facts { border-collapse: collapse; font-size: 14px; width: 100%; max-width: 860px; }
.ox-who th, .ox-who td, .ox-facts th, .ox-facts td { text-align: left; padding: 7px 10px; border-bottom: 1px solid var(--color-border-subtle); vertical-align: top; }
.ox-who thead th, .ox-facts thead th { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--color-text-tertiary); font-weight: 500; }
.ox-who tbody th { width: 210px; font-weight: 600; }
.ox-facts.kv tbody td:first-child { width: 240px; color: var(--color-text-secondary); }
.ox-facts.kv thead { display: none; }
.ox-small { margin: 0; font-size: 13px; color: var(--color-text-secondary); }
.ox-screen { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.ox-screen figcaption { font-size: 13px; color: var(--color-text-secondary); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.ox-scroll { overflow-x: auto; border-radius: 10px; }
.ox-nav { display: flex; gap: 8px; justify-content: space-between; border-top: 1px solid var(--color-border-subtle); padding-top: 14px; }
.ox-btn { display: inline-flex; align-items: center; padding: 8px 18px; border-radius: 8px; border: 1px solid var(--color-border-strong); color: var(--color-text-primary); text-decoration: none; font-size: 14px; font-weight: 600; background: none; cursor: pointer; }
.ox-btn.pri { background: var(--color-text-primary); color: var(--color-bg-app); border-color: transparent; }
.ox-btn[aria-disabled="true"] { visibility: hidden; }
.ox-placeholder { border: 2px dashed #d97706; background: #fff7ed; color: #9a3412; border-radius: 8px; padding: 18px; display: flex; flex-direction: column; gap: 4px; }
.ox-placeholder span { font-size: 12px; }
.ox-await { border: 1px dashed var(--color-border-strong); border-radius: 8px; padding: 14px; color: var(--color-text-tertiary); font-size: 13px; max-width: 860px; }
.ox-await-inline, .ox-try { font-size: 12px; color: var(--color-text-tertiary); }
.ox-try::before { content: "👆 "; }
.ox-overview td:first-child { width: 40px; color: var(--color-text-tertiary); }
.ox-overview a { color: var(--color-text-primary); }
.proto-badge{display:inline-flex;align-items:center;border-radius:999px;padding:1px 8px;font:500 11px/18px 'Inter',system-ui,sans-serif;white-space:nowrap;vertical-align:middle}
.proto-live{background:rgba(34,197,94,.14);color:#4ade80;border:1px solid rgba(34,197,94,.35)}
.proto-coming{background:rgba(245,158,11,.14);color:#fbbf24;border:1px solid rgba(245,158,11,.4)}
.proto-mock{background:rgba(148,163,184,.14);color:#cbd5e1;border:1px solid rgba(148,163,184,.4)}
html.js .ox-step:not(.on) { display: none; }

/* ---- spreadsheet mock-up (no product branding) ---- */
.gs { min-width: 980px; background: #fff; color: #202124; font: 13px/1.3 Arial, Helvetica, sans-serif; border-radius: 10px; overflow: hidden; border: 1px solid #dadce0; }
.gs-top { display: flex; align-items: center; gap: 10px; padding: 8px 12px 4px; }
.gs-doc { width: 22px; height: 28px; border-radius: 3px; background: #9aa0a6; }
.gs-title { font-size: 16px; }
.gs-menu { font-size: 13px; color: #444; }
.gs-share { margin-left: auto; background: #c2e7ff; border-radius: 18px; padding: 7px 18px; font-weight: 600; }
.gs-tools { display: flex; gap: 6px; padding: 6px 12px; margin: 4px 8px; background: #f0f4f9; border-radius: 18px; }
.gs-tools i { width: 16px; height: 16px; border-radius: 3px; background: #c4c7c5; display: inline-block; }
.gs-tools b { width: 1px; background: #c4c7c5; margin: 0 4px; }
.gs-fx { border-top: 1px solid #e1e3e1; border-bottom: 1px solid #e1e3e1; padding: 4px 12px; color: #80868b; font-style: italic; }
.gs-filter { padding: 4px 12px; background: #e6f4ea; color: #137333; font-size: 12px; border-bottom: 1px solid #e1e3e1; }
.gs-body { max-height: 420px; overflow: auto; }
.gs-grid { border-collapse: collapse; white-space: nowrap; }
.gs-grid th { background: #f8f9fa; color: #5f6368; font-weight: 400; font-size: 11px; border: 1px solid #e1e3e1; padding: 2px 6px; min-width: 28px; text-align: center; }
.gs-grid td { border: 1px solid #e1e3e1; padding: 3px 6px; max-width: 300px; overflow: hidden; text-overflow: ellipsis; }
.gs-grid td.n { text-align: right; }
.gs-grid tr.hdr td { font-weight: 700; background: #fff; position: sticky; top: 0; }
.gs-grid tr.silent td { background: #fef7e0; }
.gs-grid.about td:first-child { font-weight: 700; }
.gs-grid.about tr.b td { font-weight: 700; }
.gs-tabs { display: flex; align-items: stretch; gap: 2px; background: #f8f9fa; border-top: 1px solid #e1e3e1; padding: 0 8px; }
.gs-plus { padding: 8px 10px; color: #5f6368; }
.gs-tab { font: inherit; border: 0; background: none; padding: 8px 14px; color: #444; cursor: pointer; border-radius: 0 0 6px 6px; }
.gs-tab.on { background: #e1e9f7; color: #0b57d0; font-weight: 600; }
.gs-tab.new { font-style: italic; }

/* ---- shared-inbox mock-up (no product branding) ---- */
.fr { min-width: 1120px; display: grid; grid-template-columns: 44px 220px 360px 1fr; background: #fff; color: #1f2328; font: 13px/1.35 -apple-system, 'Inter', system-ui, sans-serif; border: 1px solid #d8dbe0; border-radius: 10px; overflow: hidden; height: 560px; }
.fr-rail { background: #f1f2f4; display: flex; flex-direction: column; gap: 14px; align-items: center; padding: 12px 0; }
.fr-rail span { width: 18px; height: 18px; border-radius: 4px; background: #c9ccd2; }
.fr-rail span.on { background: #3b6fe0; }
.fr-rail span.av { margin-top: auto; width: 24px; height: 24px; background: #e8833a; color: #fff; font-size: 9px; display: flex; align-items: center; justify-content: center; }
.fr-nav { border-right: 1px solid #e4e6ea; padding: 10px 8px; overflow: hidden; }
.fr-navh { display: flex; align-items: center; justify-content: space-between; padding: 0 6px 8px; font-size: 15px; }
.fr-compose { background: #6c4ce0; color: #fff; border-radius: 6px; padding: 2px 8px; font-size: 12px; }
.fr-sec { font-size: 11px; color: #6b7280; padding: 10px 6px 4px; font-weight: 600; }
.fr-row { padding: 4px 6px; color: #374151; }
.fr-ws { display: flex; gap: 6px; align-items: center; padding: 4px 6px; }
.fr-ws .sq { width: 14px; height: 14px; border-radius: 3px; background: #9ca3af; }
.fr-inbox { display: flex; gap: 6px; align-items: center; padding: 5px 6px 5px 18px; border-radius: 6px; }
.fr-inbox.on { background: #e9eaed; }
.fr-inbox .ct { margin-left: auto; color: #6b7280; }
.fr-tray { width: 13px; height: 11px; border-radius: 2px; display: inline-block; }
.fr-tray.y { background: #f0a43a; } .fr-tray.g { background: #4caf7a; } .fr-tray.p { background: #8b6be0; }
.fr-new { font-size: 10px; background: #fde68a; color: #92400e; border-radius: 4px; padding: 0 5px; }
.fr-list { border-right: 1px solid #e4e6ea; overflow: hidden; }
.fr-lh { display: flex; justify-content: space-between; padding: 12px 12px 6px; font-size: 15px; color: #6b7280; }
.fr-lh b { color: #1f2328; }
.fr-tabs { display: flex; gap: 14px; padding: 0 12px; border-bottom: 1px solid #e4e6ea; color: #6b7280; }
.fr-tabs span { padding: 6px 0; }
.fr-tabs span.on { color: #1f2328; border-bottom: 2px solid #1f2328; font-weight: 600; }
.fr-empty { padding: 40px 12px; text-align: center; color: #9ca3af; }
.fr-item { padding: 9px 12px; border-bottom: 1px solid #f0f1f3; display: flex; flex-direction: column; gap: 2px; }
.fr-item.on { background: #eef4ff; box-shadow: inset 0 0 0 1px #a8c2f7; }
.fr-item .a { display: flex; align-items: center; gap: 6px; }
.fr-item .dot { width: 7px; height: 7px; border-radius: 50%; background: #3b6fe0; }
.fr-item .t { margin-left: auto; font-size: 11px; color: #6b7280; background: #f1f2f4; border-radius: 4px; padding: 0 5px; }
.fr-item .s { color: #1f2328; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fr-item .sn { color: #6b7280; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fr-clip { font-size: 11px; }
.fr-chip { display: inline-block; border-radius: 4px; padding: 0 6px; font-size: 11px; line-height: 18px; white-space: nowrap; font-weight: 500; }
.fr-chip.b { background: #dbe7ff; color: #1e4fb8; } .fr-chip.g { background: #d7f2e1; color: #17693b; }
.fr-chip.p { background: #ebe3ff; color: #5b3cc4; } .fr-chip.o { background: #ffe5d2; color: #a3470f; }
.fr-chip.y { background: #fdf1c7; color: #7a5a00; }
.fr-conv { padding: 14px 18px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; position: relative; }
.fr-blank { background: #fafbfc; }
.fr-ch { display: flex; align-items: center; gap: 10px; }
.fr-ch .subj { font-size: 16px; }
.fr-ctl { margin-left: auto; display: flex; align-items: center; gap: 6px; color: #6b7280; }
.fr-btn { border: 1px solid #d8dbe0; border-radius: 6px; padding: 3px 10px; color: #1f2328; background: #fff; white-space: nowrap; }
.fr-btn.pri { background: #6c4ce0; border-color: #6c4ce0; color: #fff; }
.fr-meta { display: flex; gap: 6px; align-items: center; position: relative; flex-wrap: wrap; }
.fr-ib { display: inline-flex; gap: 5px; align-items: center; border: 1px solid #e4e6ea; border-radius: 4px; padding: 0 6px; font-size: 12px; }
.fr-add { border: 1px dashed #c3c7ce; border-radius: 4px; padding: 0 6px; color: #6b7280; }
.fr-msg { border: 1px solid #e4e6ea; border-radius: 8px; padding: 10px 12px; }
.fr-msg.folded .mb { display: none; }
.fr-msg .mh { display: flex; gap: 8px; align-items: flex-start; }
.fr-msg .av { width: 26px; height: 26px; border-radius: 5px; background: #e5e7eb; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 600; flex: none; }
.fr-msg .ad, .fr-msg .to { color: #6b7280; font-size: 12px; }
.fr-msg .w { margin-left: auto; color: #6b7280; font-size: 12px; white-space: nowrap; }
.fr-msg .mb { padding: 10px 0 0 34px; }
.fr-msg .q { padding-left: 34px; color: #9ca3af; }
.fr-acts { display: flex; gap: 6px; }
.fr-att { padding: 10px 0 0 34px; display: flex; flex-direction: column; gap: 8px; }
.fr-att .ah { display: flex; justify-content: space-between; max-width: 320px; }
.fr-att a { color: #3b6fe0; text-decoration: none; }
.fr-pdf { width: 240px; border: 1px solid #e4e6ea; border-radius: 8px; overflow: hidden; }
.fr-pdf .th { height: 110px; background: #f6f7f9; padding: 14px 20px; display: flex; flex-direction: column; gap: 8px; }
.fr-pdf .th i { height: 6px; background: #dcdfe4; border-radius: 3px; width: 70%; }
.fr-pdf .th i.w { width: 45%; }
.fr-pdf .fn { display: flex; gap: 8px; align-items: center; padding: 8px 10px; }
.fr-pdf .pdf { background: #d93025; color: #fff; font-size: 9px; font-weight: 700; border-radius: 3px; padding: 1px 4px; }
.fr-msg .mb.sep { border-top: 1px solid #f0f1f3; margin: 10px 0 0 34px; padding-left: 0; }
.fr-comment { margin-top: auto; border: 1px solid #e4e6ea; border-radius: 8px; padding: 10px; color: #9ca3af; }
.fr-picker { position: absolute; top: 24px; left: 120px; z-index: 2; width: 250px; background: #fff; border-radius: 10px; box-shadow: 0 8px 28px rgba(0,0,0,.18); border: 1px solid #e4e6ea; padding: 8px; display: flex; flex-direction: column; gap: 4px; }
.fr-picker .ph { display: flex; gap: 4px; flex-wrap: wrap; padding-bottom: 4px; }
.fr-search { border: 1px solid #3b6fe0; border-radius: 6px; padding: 4px 8px; color: #1f2328; }
.fr-pick { all: unset; cursor: pointer; padding: 4px 6px; border-radius: 6px; }
.fr-pick:hover { background: #f1f2f4; }
.fr-create { border-top: 1px solid #f0f1f3; padding: 6px; color: #6b7280; }

/* ---- Winch frames on this page ---- */
.so .narrow1, .so.narrow1 { max-width: 860px; }
.ox-scroll > .so { min-width: 940px; }
@media (max-width: 640px) { .ox-who tbody th, .ox-facts.kv tbody td:first-child { width: auto; } .ox h1 { font-size: 19px; } }
