:root {
      --bg: #09090b; --card: #18181b; --card2: #0c0c0e; --line: #27272a;
      --text: #fafafa; --muted: #a1a1aa; --dim: #71717a;
      --emerald: #34d399; --emerald2: #10b981; --emerald-dim: rgba(16,185,129,.12);
      --sky: #7dd3fc; --rose: #fda4af; --amber: #fcd34d; --violet: #c4b5fd; --orange: #fdba74;
      color-scheme: dark;
    }
    * { box-sizing: border-box; }
    html, body { margin: 0; min-height: 100%; color: var(--text); overflow-x: hidden; -webkit-text-size-adjust: 100%; }
    html { height: 100%; }
    button, a, input, select, textarea, summary { touch-action: manipulation; }
    button, a { -webkit-tap-highlight-color: rgba(52,211,153,.18); }
    body {
      font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; line-height: 1.4;
      background:
        radial-gradient(900px 480px at 8% -8%, rgba(16,185,129,.16), transparent 55%),
        radial-gradient(700px 420px at 108% 0%, rgba(14,165,233,.1), transparent 50%),
        radial-gradient(circle at 50% 120%, rgba(16,185,129,.05), transparent 40%),
        #070809;
    }
    button, input { font: inherit; }
    button { cursor: pointer; }
    .wrap {
      max-width: 1240px; margin: 0 auto;
      padding: 16px max(18px, env(safe-area-inset-right)) max(48px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left));
    }
    .orgtabs {
      display: flex; flex-wrap: wrap; gap: 0; margin: 0 0 22px;
      border-bottom: 1px solid var(--line);
    }
    .orgtabs .chip {
      background: transparent; border: 0; border-bottom: 2px solid transparent;
      border-radius: 0; padding: 11px 14px; color: var(--muted); font-weight: 600;
    }
    .orgtabs .chip:hover { color: var(--text); background: transparent; border-color: transparent; border-bottom-color: #3f3f46; }
    .orgtabs .chip.on, .orgtabs .chip.on:hover {
      background: transparent; color: var(--text); border-bottom-color: var(--emerald);
    }
    .orgnav {
      display: grid; gap: 14px; margin: 0 0 22px; padding: 14px 14px 12px;
      background: linear-gradient(180deg, rgba(24,24,27,.92), rgba(12,12,14,.88));
      border: 1px solid var(--line); border-radius: 20px;
      box-shadow: 0 12px 40px rgba(0,0,0,.22);
    }
    @media (min-width: 960px) { .orgnav { grid-template-columns: 1.1fr 1fr 1.15fr; align-items: start; } }
    .orgnav-group { min-width: 0; }
    .orgnav-kicker {
      font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
      color: var(--emerald); margin: 0 0 8px; padding-left: 4px;
    }
    .orgnav-pills { display: flex; flex-wrap: wrap; gap: 6px; }
    .orgnav-item {
      display: inline-flex; align-items: center; gap: 8px;
      text-decoration: none; color: var(--muted);
      background: #09090b; border: 1px solid var(--line);
      border-radius: 999px; padding: 8px 12px 8px 10px;
      font-size: 13px; font-weight: 700; letter-spacing: -.01em;
      transition: border-color .15s ease, color .15s ease, background .15s ease, box-shadow .15s ease;
    }
    .orgnav-item:hover { color: var(--text); border-color: #52525b; }
    .orgnav-item.on {
      color: #052e16; background: linear-gradient(180deg, #34d399, #10b981);
      border-color: transparent; box-shadow: 0 8px 20px rgba(16,185,129,.28);
    }
    .orgnav-dot {
      width: 8px; height: 8px; border-radius: 99px; flex: 0 0 auto;
      background: #3f3f46; box-shadow: 0 0 0 3px rgba(63,63,70,.25);
    }
    .orgnav-dot[data-tone="em"] { background: var(--emerald); }
    .orgnav-dot[data-tone="sky"] { background: var(--sky); }
    .orgnav-dot[data-tone="amber"] { background: var(--amber); }
    .orgnav-dot[data-tone="violet"] { background: var(--violet); }
    .orgnav-dot[data-tone="rose"] { background: var(--rose); }
    .orgnav-item.on .orgnav-dot { background: #052e16; box-shadow: none; }
    .meet-list { display: grid; gap: 10px; }
    .meet-lanes {
      display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 18px;
    }
    .meet-lanes.one { grid-template-columns: 1fr; }
    .meet-lane {
      text-align: left; color: inherit; width: 100%;
      background: #09090b; border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px;
    }
    .meet-lane h3 { margin: 4px 0 6px; font-size: 18px; letter-spacing: -.02em; }
    .meet-lane p { margin: 0; color: var(--muted); font-size: 13px; }
    .meet-lane .sub { margin-top: 10px; }
    .meet-lane:hover { border-color: #3f3f46; }
    .meet-lane.on {
      border-color: rgba(52,211,153,.5); background: linear-gradient(180deg, rgba(16,185,129,.1), #09090b 70%);
      box-shadow: inset 0 0 0 1px rgba(52,211,153,.18);
    }
    .meet-lane.exec.on {
      border-color: rgba(125,211,252,.5); background: linear-gradient(180deg, rgba(14,165,233,.12), #09090b 70%);
      box-shadow: inset 0 0 0 1px rgba(125,211,252,.2);
    }
    .meet-card {
      text-align: left; width: 100%; color: inherit;
      background: #09090b; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px;
    }
    .meet-card:hover { border-color: #3f3f46; }
    .meet-card.on { border-color: rgba(52,211,153,.45); box-shadow: inset 0 0 0 1px rgba(52,211,153,.2); }
    .meet-card.exec.on { border-color: rgba(125,211,252,.45); box-shadow: inset 0 0 0 1px rgba(125,211,252,.2); }
    .meet-card h3 { margin: 4px 0 6px; font-size: 16px; letter-spacing: -.02em; }
    .exec-entry {
      background: linear-gradient(180deg, rgba(14,165,233,.12), #18181b 62%);
      border-color: rgba(125,211,252,.28);
    }
    .exec-entry h3 { margin: 6px 0 8px; font-size: 20px; letter-spacing: -.02em; }
    .meet-compose.exec {
      border-color: rgba(125,211,252,.28);
      background: linear-gradient(180deg, rgba(14,165,233,.08), #18181b 40%);
    }
    .invite-block { margin-top: 4px; }
    .invite-group { margin: 12px 0 4px; }
    .meet-find {
      width: 100%; background: #09090b; border: 1px solid var(--line); color: var(--text);
      border-radius: 12px; padding: 11px 12px; outline: none; margin-bottom: 4px;
    }
    .meet-find:focus { border-color: rgba(125,211,252,.45); }
    .ag-stack { margin: 16px 0 8px; }
    .ag-item {
      background: #09090b; border: 1px solid var(--line); border-radius: 16px;
      padding: 12px 14px; margin: 0 0 12px;
    }
    .ag-head { display: flex; gap: 8px; align-items: center; margin-bottom: 10px; }
    .ag-num {
      flex: 0 0 32px; height: 32px; border-radius: 999px;
      display: inline-flex; align-items: center; justify-content: center;
      font-weight: 800; font-size: 13px; background: var(--emerald-dim); color: var(--emerald);
    }
    .meet-compose.exec .ag-num, .ag-read .ag-num { background: rgba(14,165,233,.16); color: var(--sky); }
    .ag-topic {
      flex: 1; min-width: 0; background: #18181b; border: 1px solid var(--line); color: var(--text);
      border-radius: 12px; padding: 10px 12px; outline: none;
    }
    .ag-topic:focus { border-color: rgba(52,211,153,.45); }
    .ag-move { width: auto; min-width: 36px; padding: 8px 10px; }
    .ag-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    .ag-grid .ag-dec { grid-column: 1 / -1; }
    .ag-grid textarea { min-height: 72px; }
    .ag-read { list-style: none; padding: 0; margin: 12px 0; }
    .ag-read li {
      background: #09090b; border: 1px solid var(--line); border-radius: 16px;
      padding: 12px 14px; margin: 0 0 10px;
    }
    .ag-read-topic { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }
    .ag-read .kicker { display: inline-block; margin-right: 6px; }
    .ag-read-dec { padding: 8px 10px; border-radius: 12px; background: rgba(16,185,129,.08); }
    .copy-box {
      margin-top: 16px; padding: 14px 16px; border-radius: 16px;
      background: linear-gradient(180deg, rgba(52,211,153,.1), #09090b 70%);
      border: 1px solid rgba(52,211,153,.28);
    }
    .copy-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
    .copy-acts .signin, .copy-acts .ghost { width: auto; padding: 11px 16px; }
    .passkey-box {
      margin: 0 0 12px; padding: 12px; border-radius: 12px;
      background: rgba(14,165,233,.08); border: 1px solid rgba(125,211,252,.25);
    }
    .meet-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
    .vote-wrap { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
    .vote-card {
      background: #09090b; border: 1px solid var(--line); border-radius: 14px;
      padding: 12px 14px; margin: 10px 0;
    }
    .sign-box {
      margin-top: 12px; padding: 14px; border-radius: 14px;
      background: linear-gradient(180deg, rgba(252,211,77,.08), rgba(9,9,11,.9));
      border: 1px solid rgba(252,211,77,.28);
    }
    .sign-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
    .sign-acts .signin, .sign-acts .ghost { width: auto; padding: 11px 16px; }
    .assign { overflow: auto; margin-bottom: 16px; }
    .assign table { width: 100%; border-collapse: collapse; font-size: 11px; }
    .assign th, .assign td { border: 1px solid var(--line); padding: 7px 6px; text-align: center; background: #0c0c0e; }
    .assign th { color: var(--dim); font-weight: 700; }
    .assign td.left, .assign th.left { text-align: left; white-space: nowrap; }
    .assign input { accent-color: #10b981; }
    .budgets { display: grid; grid-template-columns: 1fr; gap: 10px; margin-bottom: 16px; }
    .badge { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; border-radius: 999px; padding: 2px 8px; border: 1px solid var(--line); }
    .st-empty { color: var(--dim); }
    .st-requested { color: var(--amber); border-color: rgba(245,158,11,.35); }
    .st-verified { color: var(--sky); border-color: rgba(14,165,233,.35); }
    .st-approved { color: var(--emerald); border-color: rgba(16,185,129,.35); }
    .st-rejected { color: var(--rose); border-color: rgba(244,63,94,.35); }
    .audit { max-height: 140px; overflow: auto; font-size: 11px; color: var(--muted); margin-top: 8px; padding-left: 16px; }
    .field textarea { width: 100%; min-height: 70px; background: #09090b; border: 1px solid var(--line); color: var(--text); border-radius: 12px; padding: 11px 12px; outline: none; resize: vertical; }
    @media (min-width: 900px) { .budgets { grid-template-columns: 1fr 1fr; } }
    .lifecycle { display: flex; flex-wrap: wrap; gap: 8px; align-items: stretch; margin-top: 12px; }
    .life-step { flex: 1; min-width: 140px; background: #09090b; border: 1px solid var(--line); border-radius: 12px; padding: 10px; }
    button.life-step { color: inherit; text-align: left; }
    button.life-step:hover { border-color: var(--emerald2); }
    .life-step.on { border-color: var(--emerald2); background: var(--emerald-dim); }
    .life-step b { display: block; font-size: 13px; margin-bottom: 4px; }
    .life-step span { display: block; font-size: 11px; color: var(--muted); }
    .life-arrow { color: var(--dim); display: flex; align-items: center; }
    .roadmap { display: grid; gap: 10px; margin-top: 12px; }
    .round-card { background: #09090b; border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
    .round-h { display: flex; gap: 8px; align-items: center; margin-bottom: 10px; flex-wrap: wrap; }
    .row-btns { display: flex; gap: 8px; align-items: center; }
    .round-n { width: 28px; height: 28px; border-radius: 999px; display: grid; place-items: center; font-size: 12px; font-weight: 800; background: var(--emerald-dim); color: var(--emerald); border: 1px solid rgba(16,185,129,.3); flex: 0 0 auto; }
    .round-h b { font-size: 15px; }
    .round-h .grow { flex: 1; min-width: 0; }
    .round-grid { display: grid; grid-template-columns: 1fr; gap: 8px; }
    @media (min-width: 800px) { .round-grid { grid-template-columns: 1.1fr 0.7fr 1fr 1.2fr; } }
    .round-read { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; font-size: 12px; }
    @media (min-width: 800px) { .round-read { grid-template-columns: 1fr 0.6fr 1fr 1.1fr 1.4fr; } }
    .round-read span { color: var(--dim); display: block; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 2px; }
    .bod-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin-bottom: 14px; }
    @media (min-width: 900px) { .bod-grid { grid-template-columns: 1fr 1fr; } }
    .ipo-path { display: flex; gap: 0; align-items: stretch; overflow-x: auto; padding: 6px 2px 10px; }
    .ipo-node { flex: 1; min-width: 120px; text-align: center; background: #09090b; border: 1px solid var(--line); border-top: 3px solid var(--accent, var(--emerald2)); color: var(--text); border-radius: 16px; padding: 12px 8px; }
    .ipo-node:hover { border-color: var(--accent, var(--emerald2)); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.28); }
    .ipo-node.on { box-shadow: inset 0 0 0 1px var(--accent, #34d399); }
    .ipo-node .ico-wrap { margin: 8px auto; }
    .ipo-node b { display: block; font-size: 13px; margin-top: 2px; }
    .ipo-join { width: 18px; flex: 0 0 18px; align-self: center; height: 3px; border-radius: 99px; background: #27272a; }
    .ipo-join.on { background: linear-gradient(90deg, #34d399, #7dd3fc); }
    .bod-lock-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
    @media (min-width: 700px) { .bod-lock-grid { grid-template-columns: repeat(4, 1fr); } }
    .bod-lock-cell { background: #09090b; border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
    .bod-lock-cell .metric { font-size: 18px; margin: 6px 0 0; }
    .share-layout { display: grid; grid-template-columns: 1fr; gap: 14px; align-items: start; }
    @media (min-width: 1100px) { .share-layout { grid-template-columns: 420px 1fr; } }
    .share-layout > .sg-form { max-height: none; }
    @media (min-width: 1100px) {
      .share-layout > .sg-form { position: sticky; top: 12px; max-height: calc(100vh - 24px); overflow: auto; }
    }
    .sg-block { border: 1px solid var(--line); border-radius: 14px; padding: 12px; margin: 0 0 12px; background: #09090b; }
    .sg-block h3 { margin: 0 0 10px; font-size: 13px; }
    .sg-toggle { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 12px; border-radius: 14px; border: 1px solid rgba(52,211,153,.35); background: rgba(16,185,129,.08); margin-bottom: 12px; }
    .sg-toggle .kicker { margin-bottom: 4px; }
    .cap-stack { display: grid; gap: 12px; }
    .cap-table .seed td { color: var(--sky); }
    .cap-table .seriesa td { color: var(--violet); }
    .cap-table .seriesb td { color: var(--orange); }
    .cap-table .later td { color: var(--amber); }
    .own-bar .seed { background: linear-gradient(90deg, #0284c7, #7dd3fc); }
    .own-bar .seriesa { background: linear-gradient(90deg, #6d28d9, #c4b5fd); }
    .own-bar .seriesb { background: linear-gradient(90deg, #c2410c, #fdba74); }
    .own-bar .later { background: linear-gradient(90deg, #b45309, #fcd34d); }
    .sg-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
    @media (min-width: 720px) { .sg-metrics { grid-template-columns: repeat(3, 1fr); } }
    .sg-metric { background: #09090b; border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
    .sg-metric .metric { font-size: 18px; margin: 4px 0 2px; }
    .cap-compare { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 4px; }
    @media (min-width: 860px) { .cap-compare { grid-template-columns: 1fr 1fr; } }
    .cap-panel { background: #09090b; border: 1px solid var(--line); border-radius: 14px; padding: 12px; overflow: auto; }
    .cap-panel h3 { margin: 0 0 10px; font-size: 13px; }
    .cap-table { width: 100%; border-collapse: collapse; font-size: 12px; }
    .cap-table.vn { font-size: 11px; }
    .cap-stage { margin-bottom: 14px; }
    .cap-stage h4 { margin: 0 0 8px; font-size: 12px; letter-spacing: .04em; color: var(--emerald); }
    .cap-table th, .cap-table td { border-bottom: 1px solid var(--line); padding: 8px 6px; text-align: right; white-space: nowrap; }
    .cap-table th:first-child, .cap-table td:first-child { text-align: left; }
    .cap-table thead th { color: var(--dim); font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
    .cap-table tfoot td, .cap-table tr.total td { font-weight: 700; border-bottom: 0; border-top: 1px solid var(--line); color: var(--text); }
    .cap-table .inv td { color: var(--emerald); }
    .action-plan { background: linear-gradient(180deg, rgba(16,185,129,.14), rgba(9,9,11,.94)); border: 1px solid rgba(52,211,153,.35); border-radius: 16px; padding: 16px; margin-top: 12px; }
    .action-plan ol { margin: 10px 0 0; padding-left: 22px; }
    .action-plan li { margin: 10px 0; font-size: 13px; line-height: 1.5; }
    .action-plan li b { color: var(--emerald); }
    .own-bar { display: flex; height: 12px; border-radius: 99px; overflow: hidden; background: #27272a; margin: 8px 0 4px; }
    .own-bar span { display: block; height: 100%; }
    .own-bar .founders { background: linear-gradient(90deg, #047857, #34d399); }
    .own-bar .investor { background: linear-gradient(90deg, #0284c7, #7dd3fc); }
    .sg-round { display: flex; gap: 8px; align-items: flex-end; }
    .sg-round select { flex: 1; width: auto; min-width: 0; }
    .legal-docs { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 12px; }
    @media (min-width: 720px) { .legal-docs { grid-template-columns: 1fr 1fr; } }
    .legal-doc { text-align: left; width: 100%; background: #09090b; border: 1px solid var(--line); color: var(--text); border-radius: 14px; padding: 14px; }
    .legal-doc:hover { border-color: var(--emerald2); }
    .legal-doc b { display: block; font-size: 13px; margin-bottom: 4px; color: var(--emerald); }
    .legal-doc span { font-size: 12px; color: var(--muted); }
    .dir-row { display: grid; grid-template-columns: 1fr; gap: 8px; border: 1px solid var(--line); border-radius: 12px; padding: 10px; margin-bottom: 8px; background: #09090b; }
    @media (min-width: 720px) { .dir-row { grid-template-columns: 1fr 1fr; } }
    .warn-box { background: rgba(245,158,11,.1); border: 1px solid rgba(245,158,11,.28); color: var(--amber); border-radius: 12px; padding: 10px 12px; font-size: 12px; margin: 8px 0; }
    .mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
    .header { background: rgba(16,16,18,.9); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; margin-bottom: 12px; position: relative; overflow: hidden; }
    .header::before { display: none; }
    .header-top { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; position: relative; }
    .brand { display: flex; gap: 12px; align-items: center; }
    .logo { width: 46px; height: 46px; border-radius: 16px; display: grid; place-items: center; border: 1px solid rgba(52,211,153,.35); background: linear-gradient(160deg, rgba(52,211,153,.28), rgba(16,185,129,.05)); color: var(--emerald); box-shadow: 0 0 24px rgba(16,185,129,.15); overflow: hidden; }
    .logo.ommer-logo { padding: 0; background: #F5FF00; border-color: #e8f200; box-shadow: 0 8px 24px rgba(245,255,0,.18); }
    .logo.ommer-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
    h1 { margin: 0; font-size: 18px; letter-spacing: -.02em; }
    .sub { color: var(--muted); font-size: 12px; margin-top: 2px; }
    .pill { display: inline-block; border: 1px solid #3f3f46; background: #09090b; color: var(--dim); font-size: 10px; font-weight: 700; letter-spacing: .08em; padding: 3px 8px; border-radius: 999px; vertical-align: middle; margin-left: 8px; }
    .toggle { display: inline-flex; flex-wrap: wrap; background: #09090b; border: 1px solid var(--line); border-radius: 999px; padding: 4px; gap: 2px; }
    .toggle button, .chip, .ghost { border: 0; background: transparent; color: var(--dim); border-radius: 999px; padding: 7px 12px; font-size: 12px; font-weight: 700; }
    .toggle button.on, .chip.on { background: var(--emerald2); color: #052e16; }
    a.chip { display: inline-block; text-decoration: none; color: inherit; }
    .chip { border: 1px solid var(--line); background: var(--card); }
    .chip:hover { border-color: #52525b; color: var(--text); }
    .chip.on:hover { color: #052e16; }
    .ghost { border: 1px solid var(--line); color: var(--muted); }
    .ghost:hover { color: var(--text); border-color: #52525b; }
    .locked-target { border: 1px solid var(--line); background: #09090b; border-radius: 999px; padding: 8px 12px; font-size: 12px; color: var(--muted); }
    .progress-meta { display: flex; justify-content: space-between; gap: 12px; font-size: 11px; color: var(--muted); margin: 12px 0 6px; }
    .bar { height: 6px; background: #27272a; border-radius: 999px; overflow: hidden; }
    .bar > span { display: block; height: 100%; background: linear-gradient(90deg, #047857, #34d399); width: 0; transition: width .4s ease; }
    .bar.thin { height: 8px; }
    .grid-4 { display: grid; grid-template-columns: 1fr; gap: 10px; margin-bottom: 16px; }
    .card { background: linear-gradient(180deg, rgba(28,28,32,.95), rgba(18,18,20,.95)); border: 1px solid var(--line); border-radius: 16px; padding: 14px; }
    .metric-card { display: flex; gap: 12px; align-items: center; }
    .metric-card .copy { flex: 1; min-width: 0; }
    .metric-card .metric { margin: 4px 0 2px; }
    .ico-wrap { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: 0 0 auto; }
    .score-ring { position: relative; display: grid; place-items: center; margin: 6px 0 4px; }
    .score-ring .big { position: absolute; margin: 0; font-size: 22px; text-align: center; line-height: 1.1; }
    .score-ring .big span { display: block; font-size: 11px; font-weight: 700; color: var(--dim); }
    .kicker { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
    .metric { font-size: 24px; font-weight: 700; margin: 8px 0 4px; }
    .hint { font-size: 12px; color: var(--muted); }
    .health-ok { color: var(--emerald); } .health-mid { color: var(--amber); } .health-bad { color: var(--rose); }
    .toolbar { display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; align-items: center; margin: 8px 0 14px; }
    .filters { display: flex; flex-wrap: wrap; gap: 8px; }
    .workspace { display: grid; grid-template-columns: 1fr; gap: 12px; }
    .cols { display: grid; grid-template-columns: 1fr; gap: 10px; }
    .col { background: rgba(24,24,27,.6); border: 1px solid var(--line); border-radius: 16px; padding: 10px; min-height: 120px; }
    .col-h { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 700; margin-bottom: 10px; }
    .count { background: #09090b; border: 1px solid var(--line); border-radius: 999px; padding: 2px 8px; font-size: 11px; color: var(--muted); }
    .empty { border: 1px dashed var(--line); border-radius: 12px; color: #52525b; font-size: 12px; text-align: center; padding: 28px 10px; }
    .task { background: #18181b; border: 1px solid var(--line); border-radius: 12px; padding: 12px; margin-bottom: 8px; }
    .task-top { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
    .task h3 { margin: 0; font-size: 13px; font-weight: 600; }
    .tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
    .tag { font-size: 11px; border-radius: 999px; padding: 3px 8px; border: 1px solid var(--line); }
    .pri-High { color: var(--rose); background: rgba(244,63,94,.1); border-color: rgba(244,63,94,.25); }
    .pri-Medium { color: var(--amber); background: rgba(245,158,11,.1); border-color: rgba(245,158,11,.25); }
    .pri-Low { color: var(--muted); }
    .dept-CEO { color: var(--violet); background: rgba(139,92,246,.12); border-color: rgba(139,92,246,.25); }
    .dept-Marketing { color: var(--emerald); background: var(--emerald-dim); border-color: rgba(16,185,129,.25); }
    .dept-Sales { color: var(--sky); background: rgba(14,165,233,.12); border-color: rgba(14,165,233,.25); }
    .dept-Operations { color: var(--orange); background: rgba(249,115,22,.12); border-color: rgba(249,115,22,.25); }
    .kpi { font-size: 11px; color: #a7f3d0; background: var(--emerald-dim); border: 1px solid rgba(16,185,129,.18); border-radius: 8px; padding: 7px 8px; margin-bottom: 8px; }
    .actions { display: flex; gap: 6px; }
    .actions button { flex: 1; border-radius: 8px; border: 1px solid #3f3f46; background: transparent; color: #d4d4d8; padding: 7px 8px; font-size: 11px; font-weight: 700; }
    .btn-start { background: rgba(14,165,233,.12); border-color: rgba(14,165,233,.3); color: #bae6fd; }
    .btn-done { background: var(--emerald2); border-color: var(--emerald2); color: #052e16; }
    .score { position: sticky; top: 12px; }
    .score.pulse { border-color: rgba(52,211,153,.5); background: rgba(16,185,129,.1); }
    .big { font-size: 40px; font-weight: 700; margin: 4px 0; }
    .big span { font-size: 18px; color: var(--dim); }
    .stat { display: flex; justify-content: space-between; background: var(--card2); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; font-size: 12px; color: var(--muted); margin-top: 8px; }
    .note { margin-top: 12px; font-size: 11px; color: var(--dim); background: var(--card2); border: 1px solid var(--line); border-radius: 10px; padding: 10px; line-height: 1.5; }
    footer { margin-top: 28px; padding-top: 14px; border-top: 1px solid #18181b; font-size: 11px; color: #52525b; display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; }
    .learn-loop {
      display: grid; gap: 8px;
      grid-template-columns: 1fr;
    }
    @media (min-width: 800px) { .learn-loop { grid-template-columns: repeat(5, 1fr); } }
    .learn-step {
      background: #09090b; border: 1px solid var(--line); border-radius: 14px; padding: 12px;
      min-width: 0;
    }
    .learn-step .learn-n {
      display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: .12em;
      color: var(--emerald); margin-bottom: 6px;
    }
    .learn-step b { display: block; margin: 0 0 6px; font-size: 14px; }
    .learn-step span { display: block; font-size: 12px; color: var(--muted); line-height: 1.45; }
    .learn-lines { margin: 10px 0 0; padding-left: 18px; }
    .learn-lines li { margin: 8px 0; font-size: 13px; color: var(--muted); line-height: 1.5; }
    .learn-you-card { border-color: rgba(52,211,153,.35); }
    .learn-browse { display: grid; gap: 16px; margin-top: 18px; }
    .learn-group .kicker { margin-bottom: 8px; }
    .learn-pills { display: flex; flex-wrap: wrap; gap: 6px; }
    .learn-seat {
      display: inline-flex; align-items: center; gap: 8px;
      border: 1px solid var(--line); background: #09090b; color: var(--muted);
      border-radius: 999px; padding: 8px 12px; font-size: 13px; font-weight: 700;
    }
    .learn-seat:hover { color: var(--text); border-color: #52525b; }
    .learn-seat.on {
      color: #052e16; background: linear-gradient(180deg, #34d399, #10b981); border-color: transparent;
    }
    .learn-seat.mine:not(.on) { border-color: rgba(52,211,153,.4); color: var(--text); }
    .learn-you {
      font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
      color: var(--emerald);
    }
    .learn-seat.on .learn-you { color: #052e16; }
    .learn-depts {
      display: grid; gap: 10px;
      grid-template-columns: 1fr;
    }
    @media (min-width: 800px) { .learn-depts { grid-template-columns: 1fr 1fr; } }
    .learn-dept {
      background: #09090b; border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px;
    }
    .learn-dept .kicker { margin-bottom: 8px; }
    .learn-card h3 { margin: 6px 0 0; font-size: 18px; }
    .st-drop {
      margin-top: 12px; padding: 18px; text-align: center; color: var(--muted);
      border: 1px dashed var(--line); border-radius: 14px; background: #09090b; font-size: 13px;
    }
    .st-drop.on { border-color: var(--emerald); color: var(--text); background: var(--emerald-dim); }
    .room-head { margin: 0 0 16px; }
    .room-head .kicker { margin-bottom: 6px; color: var(--emerald); }
    .room-head h2 { margin: 0 0 6px; font-size: 22px; letter-spacing: -.03em; }
    .room-head h3 { margin: 0 0 4px; font-size: 16px; font-weight: 650; }
    .lede { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.5; max-width: 42em; }
    .os-room { margin-bottom: 8px; }
    .sc-form {
      display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 14px; align-items: end;
    }
    .sc-form .signin { grid-column: 1 / -1; width: auto; justify-self: start; padding: 11px 16px; margin: 0; }
    .sc-form .field { margin: 0; }
    .sc-form input {
      width: 100%; background: #09090b; border: 1px solid var(--line); color: var(--text);
      border-radius: 10px; padding: 9px 10px; font: inherit;
    }
    .nn-add select { width: 100%; flex: none; min-width: 0; }
    .sc-find { margin: 0 0 12px; }
    .sc-find input { width: 100%; background: #09090b; border: 1px solid var(--line); color: var(--text); border-radius: 10px; padding: 9px 10px; font: inherit; }
    .sc-no { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--emerald); font-weight: 700; letter-spacing: .04em; }
    .sc-list { display: grid; grid-template-columns: 1fr; gap: 8px; }
    @media (min-width: 800px) { .sc-list { grid-template-columns: 1fr 1fr; } }
    .sc-card { background: #09090b; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
    .sc-card-h { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
    .sc-card-who { margin-top: 4px; font-size: 14px; }
    .sc-card-d { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; font-size: 13px; color: var(--muted); }
    .sc-card-acts { display: flex; gap: 6px; flex-shrink: 0; }
    .sc-form.sc-edit { margin-top: 12px; }
    .sc-form .sc-note { grid-column: 1 / -1; }
    .sc-extras { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 8px; }
    .sc-extra { display: grid; grid-template-columns: 1fr 1.4fr auto; gap: 8px; align-items: center; }
    .sc-extra input {
      width: 100%; background: #09090b; border: 1px solid var(--line); color: var(--text);
      border-radius: 10px; padding: 9px 10px; font: inherit;
    }
    .sc-edit-acts { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
    .sc-edit-acts .signin { width: auto; margin: 0; padding: 11px 16px; }
    .next-step {
      background: linear-gradient(180deg, rgba(16,185,129,.12), rgba(9,9,11,.92));
      border: 1px solid rgba(52,211,153,.35); border-radius: 16px; padding: 14px 16px; margin: 0 0 16px;
    }
    .next-step h3 { margin: 4px 0 6px; font-size: 16px; }
    .next-step p { margin: 0 0 12px; font-size: 13px; color: var(--muted); line-height: 1.5; max-width: 42em; }
    .ceo-home { margin-bottom: 8px; }
    .ceo-pulse { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 16px; }
    @media (min-width: 900px) { .ceo-pulse { grid-template-columns: repeat(4, 1fr); } }
    .ceo-pulse .card, .ceo-pulse-hit { padding: 12px 14px; margin: 0; }
    button.ceo-pulse-hit {
      width: 100%; text-align: left; color: inherit; font: inherit;
      background: var(--card); border: 1px solid var(--line); border-radius: 16px; cursor: pointer;
    }
    button.ceo-pulse-hit:hover { border-color: var(--emerald2); }
    .ceo-day { display: grid; grid-template-columns: 1fr; gap: 12px; margin-bottom: 18px; }
    @media (min-width: 960px) { .ceo-day { grid-template-columns: 1.2fr 0.8fr; align-items: start; } }
    .ceo-give { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    .ceo-give .field { margin: 0; }
    .ceo-give-task { grid-column: 1 / -1; }
    .ceo-give .signin { grid-column: 1 / -1; width: auto; justify-self: start; padding: 11px 16px; margin: 0; }
    .ceo-watch-row { display: flex; gap: 14px; align-items: center; margin-top: 8px; }
    .ceo-watch-row .stat { margin-top: 6px; }
    .ceo-hot { list-style: none; margin: 8px 0 0; padding: 0; }
    .ceo-hot li { border-top: 1px solid var(--line); padding: 8px 0; }
    .ceo-hot li:first-child { border-top: 0; }
    .ceo-hot b { display: block; font-size: 13px; }
    .ceo-hot span { font-size: 12px; color: var(--muted); }
    .ceo-map { margin: 0 0 18px; }
    .ceo-setup { margin: 0 0 10px; background: #09090b; border: 1px solid var(--line); border-radius: 14px; }
    .ceo-setup > summary {
      cursor: pointer; padding: 12px 14px; font-weight: 700; font-size: 13px;
      list-style: none; color: var(--text);
    }
    .ceo-setup > summary::-webkit-details-marker { display: none; }
    .ceo-setup > summary::after { content: "Show"; float: right; color: var(--dim); font-weight: 600; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
    .ceo-setup[open] > summary::after { content: "Hide"; }
    .ceo-setup-body { padding: 0 14px 14px; }
    .ceo-setup-body > .card { margin: 0; }
    .ceo-setup-body > .exec-entry { margin: 0; }
    @media (max-width: 759px) {
      .ceo-give { grid-template-columns: 1fr; }
      .ceo-give-task { grid-column: 1; }
    }
    .next-cta { display: inline-flex; width: auto; margin: 0; padding: 11px 16px; text-decoration: none; }
    .cover-grid { display: grid; grid-template-columns: 1fr; gap: 10px; margin-bottom: 12px; }
    .cover-card { background: #09090b; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
    .cover-h { display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; margin-bottom: 10px; }
    .cover-h b { font-size: 14px; }
    .cover-h span { font-size: 12px; color: var(--muted); }
    .cover-chips { display: flex; flex-wrap: wrap; gap: 6px; }
    .cover-chips .chip { font-size: 11px; padding: 6px 10px; min-height: 32px; }
    .cover-count { margin: 0 0 12px; }
    .cover-dept-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
    .cover-chips .chip[disabled] { opacity: .55; cursor: default; }
    .chip.extra { box-shadow: inset 0 2px 0 var(--sky); }
    .esop-strip { display: grid; grid-template-columns: 1fr; gap: 10px; margin-bottom: 16px; }
    @media (min-width: 800px) { .esop-strip { grid-template-columns: 1fr 1fr 1fr; } }
    .esop-in {
      width: 120px; max-width: 100%; background: #09090b; border: 1px solid var(--line); color: var(--text);
      border-radius: 8px; padding: 7px 8px; font: inherit;
    }
    #pay-form .esop-in, [data-pay-email] { width: 140px; }
    .esop-year-grid { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 12px 0; }
    @media (min-width: 800px) { .esop-year-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); } }
    .esop-year-card { background: #09090b; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
    .esop-year-card .field { margin: 8px 0 0; }
    .esop-year-card .esop-in { width: 100%; }
    .esop-year-card .signin { width: 100%; margin-top: 12px; padding: 11px 16px; }
    .esop-add-year { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; margin-top: 4px; }
    .esop-add-year .field { margin: 0; }
    .esop-add-year input { width: 120px; max-width: 100%; background: #09090b; border: 1px solid var(--line); color: var(--text); border-radius: 8px; padding: 7px 8px; font: inherit; }
    .rw-years-board {
      display: grid; grid-template-columns: 1fr; gap: 12px; margin: 0 0 20px;
    }
    @media (min-width: 880px) {
      .rw-years-board { grid-template-columns: 200px minmax(0, 1fr); align-items: start; }
    }
    .rw-rail {
      background: #0c0c0e; border: 1px solid var(--line); border-radius: 20px; padding: 12px;
    }
    .rw-rail .kicker { margin: 2px 6px 10px; }
    .rw-rail-y {
      display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; width: 100%;
      text-align: left; color: inherit; font: inherit; cursor: pointer;
      background: transparent; border: 1px solid transparent; border-radius: 14px; padding: 10px 12px; margin-bottom: 6px;
    }
    .rw-rail-y b { font-size: 15px; letter-spacing: -.02em; }
    .rw-rail-y span { grid-column: 1; font-size: 12px; color: var(--muted); }
    .rw-rail-y em { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-style: normal; }
    .rw-rail-y:hover { background: #18181b; }
    .rw-rail-y.on { background: #18181b; border-color: rgba(52,211,153,.4); }
    .rw-setup-add { display: flex; gap: 6px; margin-top: 10px; }
    .rw-setup-add input {
      flex: 1; min-width: 0; min-height: 42px; background: #09090b; border: 1px solid var(--line);
      color: var(--text); border-radius: 12px; padding: 8px 10px; font: inherit;
    }
    .rw-canvas {
      background:
        radial-gradient(90% 70% at 100% 0%, rgba(125,211,252,.1), transparent 44%),
        linear-gradient(180deg, #16161a, #0b0b0d);
      border: 1px solid var(--line); border-radius: 22px; padding: 22px 22px 16px;
      min-height: 280px;
    }
    .rw-year-hero h2 { margin: 4px 0 0; font-size: 42px; letter-spacing: -.05em; line-height: 1; }
    .rw-token-name { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
    .rw-year-metric { display: flex; flex-wrap: wrap; gap: 10px; align-items: baseline; margin: 14px 0 18px; }
    .rw-year-metric .metric { margin: 0; font-size: 32px; }
    .rw-next {
      border-radius: 16px; padding: 14px 16px; margin: 0 0 14px;
      background: rgba(9,9,11,.65); border: 1px solid var(--line);
    }
    .rw-next h3 { margin: 4px 0 6px; font-size: 18px; letter-spacing: -.02em; }
    .rw-next p { margin: 0 0 12px; font-size: 13px; color: var(--muted); }
    .rw-next.wait { border-color: rgba(245,158,11,.4); background: rgba(245,158,11,.08); }
    .rw-next.ok { border-color: rgba(52,211,153,.35); background: rgba(16,185,129,.08); }
    .rw-next-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
    .rw-next-row .esop-in { flex: 1; min-width: 180px; }
    .rw-next-addr { margin: 10px 0 0; font-size: 12px; color: var(--sky); word-break: break-all; }
    .rw-fold {
      border: 1px solid var(--line); border-radius: 14px; background: rgba(9,9,11,.45); margin: 0 0 8px; padding: 0 14px 12px;
    }
    .rw-fold summary {
      display: flex; justify-content: space-between; gap: 12px; align-items: center;
      list-style: none; cursor: pointer; padding: 12px 0; font-size: 14px;
    }
    .rw-fold summary::-webkit-details-marker { display: none; }
    .rw-fold summary span { color: var(--muted); font-size: 12px; text-align: right; }
    .rw-fold .rw-quiet { margin-top: 10px; }
    .rw-callout {
      margin: 10px 0 0; padding: 10px 12px; border-radius: 12px; font-size: 12px; line-height: 1.45;
    }
    .rw-callout.wait { background: rgba(245,158,11,.1); border: 1px solid rgba(245,158,11,.28); color: var(--amber); }
    .esop-in.rw-need { border-color: rgba(245,158,11,.55); }
    .rw-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    .rw-fields .field { margin: 0; }
    .rw-span { grid-column: 1 / -1; }
    .rw-canvas .esop-in, .rw-next .esop-in {
      width: 100%; min-height: 42px; border-radius: 12px; padding: 10px 12px;
    }
    .rw-split-stats { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin: 0 0 12px; }
    .rw-split-stats > div { background: #09090b; border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px; }
    .rw-split-stats b { display: block; margin-top: 4px; font-size: 14px; }
    .rw-quiet {
      border: 1px solid var(--line); background: #09090b; color: var(--text);
      border-radius: 12px; padding: 11px 16px; font: inherit; font-weight: 700; min-height: 44px;
    }
    .rw-quiet:hover { border-color: #52525b; }
    .rw-activate {
      border: 0; border-radius: 12px; padding: 11px 18px; min-height: 44px;
      font: inherit; font-weight: 800; cursor: pointer; color: #052e16;
      background: linear-gradient(180deg, #6ee7b7, #10b981);
      box-shadow: 0 12px 28px rgba(16,185,129,.28);
    }
    .rw-activate:hover { filter: brightness(1.05); }
    .rw-canvas .err { margin: 8px 0 0; min-height: 1.2em; }
    .assign th.esop-y, .assign td.esop-y { min-width: 88px; white-space: normal; }
    .esop-math { margin-top: 10px; font-size: 13px; color: var(--muted); line-height: 1.55; }
    .esop-math p { margin: 0 0 8px; }
    .esop-eq {
      font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; color: var(--text);
      background: #09090b; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px;
    }
    .rw-dash { margin: 0 0 18px; }
    .rw-dash-head { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: flex-end; margin: 0 0 14px; }
    .rw-dash-head h2 { margin: 4px 0 6px; font-size: 24px; letter-spacing: -.03em; }
    .rw-dash-head .lede { max-width: 46em; }
    .rw-years { display: flex; flex-wrap: wrap; gap: 8px; }
    .rw-year {
      display: inline-flex; flex-direction: column; align-items: flex-start; gap: 2px;
      min-height: 44px; padding: 8px 14px; border-radius: 14px; cursor: pointer;
      background: #09090b; border: 1px solid var(--line); color: var(--muted); font: inherit; text-align: left;
    }
    .rw-year b { font-size: 14px; color: var(--text); letter-spacing: -.02em; }
    .rw-year span { font-size: 11px; }
    .rw-year.on, .rw-year.on:hover {
      color: #052e16; background: linear-gradient(180deg, #6ee7b7, #10b981); border-color: transparent;
      box-shadow: 0 10px 24px rgba(16,185,129,.22);
    }
    .rw-year.on b, .rw-year.on span { color: inherit; }
    .rw-year:hover { border-color: #52525b; color: var(--text); }
    .rw-hero { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 0 0 16px; }
    @media (min-width: 960px) { .rw-hero { grid-template-columns: 1.15fr .85fr; align-items: stretch; } }
    .rw-wallet {
      position: relative; overflow: hidden;
      background:
        radial-gradient(120% 80% at 100% -10%, rgba(196,181,253,.16), transparent 42%),
        radial-gradient(90% 80% at -10% 110%, rgba(16,185,129,.18), transparent 46%),
        linear-gradient(180deg, #16161a, #0c0c0e);
      border: 1px solid rgba(52,211,153,.28); border-radius: 22px; padding: 18px 18px 16px;
      box-shadow: 0 18px 50px rgba(0,0,0,.28);
    }
    .rw-wallet.is-match { border-color: rgba(52,211,153,.55); box-shadow: 0 18px 50px rgba(16,185,129,.16); }
    .rw-wallet.is-mismatch { border-color: rgba(251,191,36,.45); }
    .rw-steps { display: flex; flex-wrap: wrap; gap: 8px 14px; list-style: none; margin: 0 0 16px; padding: 0; }
    .rw-steps li { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; color: var(--dim); }
    .rw-steps li span {
      width: 22px; height: 22px; border-radius: 99px; display: grid; place-items: center;
      font-size: 11px; border: 1px solid var(--line); background: #09090b;
    }
    .rw-steps li.on { color: var(--text); }
    .rw-steps li.on span { border-color: rgba(52,211,153,.45); color: var(--emerald); }
    .rw-steps li.done { color: var(--emerald); }
    .rw-steps li.done span { background: var(--emerald2); color: #052e16; border-color: transparent; }
    .rw-ident { display: flex; gap: 12px; align-items: center; margin: 0 0 12px; }
    .rw-ident b { display: block; font-size: 15px; letter-spacing: -.02em; }
    .rw-ident div div, .rw-ident.is-empty div div { font-size: 12px; color: var(--muted); margin-top: 2px; }
    .rw-blob {
      width: 44px; height: 44px; border-radius: 16px; flex: 0 0 auto;
      background:
        radial-gradient(circle at 30% 25%, #fff, transparent 36%),
        conic-gradient(from 210deg, hsl(var(--h), 80%, 62%), hsl(calc(var(--h) + 80), 70%, 42%), hsl(var(--h), 80%, 62%));
      box-shadow: 0 0 0 3px rgba(255,255,255,.06), 0 10px 24px rgba(0,0,0,.3);
    }
    .rw-wal-ico {
      width: 44px; height: 44px; border-radius: 16px; display: grid; place-items: center; flex: 0 0 auto;
      background: linear-gradient(160deg, rgba(52,211,153,.28), rgba(16,185,129,.06));
      border: 1px solid rgba(52,211,153,.35); color: var(--emerald);
    }
    .rw-connect .rw-wal-ico { width: 28px; height: 28px; border-radius: 10px; background: rgba(5,46,22,.18); border-color: transparent; color: inherit; }
    .rw-wallet-status { margin: 0 0 12px; font-size: 13px; color: var(--muted); }
    .rw-compare { display: grid; gap: 8px; margin: 0 0 14px; }
    .rw-compare > div {
      display: grid; grid-template-columns: 88px 1fr auto; gap: 8px; align-items: center;
      background: rgba(9,9,11,.72); border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px;
    }
    .rw-compare span { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
    .rw-compare code { font-size: 11px; word-break: break-all; color: var(--text); }
    .rw-copy {
      border: 1px solid var(--line); background: #09090b; color: var(--muted);
      border-radius: 999px; padding: 5px 10px; font-size: 11px; font-weight: 700;
    }
    .rw-copy:hover, .rw-copy.on { color: var(--emerald); border-color: rgba(52,211,153,.4); }
    .rw-connect {
      position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
      width: 100%; min-height: 56px; margin: 0 0 10px; padding: 14px 18px;
      border: 0; border-radius: 16px; cursor: pointer; font: inherit; font-weight: 800; font-size: 15px; letter-spacing: -.02em;
      color: #052e16;
      background: linear-gradient(180deg, #6ee7b7 0%, #10b981 100%);
      box-shadow: 0 14px 34px rgba(16,185,129,.32), inset 0 1px 0 rgba(255,255,255,.28);
      overflow: hidden;
    }
    .rw-connect::after {
      content: ""; position: absolute; inset: 0;
      background: radial-gradient(120% 80% at 12% -30%, rgba(255,255,255,.38), transparent 48%);
      pointer-events: none;
    }
    .rw-connect:hover { filter: brightness(1.05); transform: translateY(-1px); }
    .rw-connect:disabled { opacity: .7; cursor: wait; transform: none; }
    .rw-connect.is-on {
      color: var(--emerald); background: #09090b;
      border: 1px solid rgba(52,211,153,.45); box-shadow: 0 0 0 1px rgba(16,185,129,.12);
    }
    .rw-connect.is-on::after { display: none; }
    .rw-connect.is-bad {
      color: #1c1003; background: linear-gradient(180deg, #fcd34d, #d97706);
      box-shadow: 0 14px 34px rgba(217,119,6,.28);
    }
    .rw-connect.is-off, .rw-connect.is-wait {
      color: var(--text); background: #18181b; border: 1px solid var(--line); box-shadow: none;
    }
    .rw-connect.is-off::after, .rw-connect.is-wait::after { display: none; }
    .rw-connect.is-wait span { opacity: .85; }
    .rw-dist { margin: 0 0 18px; }
    .rw-dist-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 14px; }
    .rw-dist-chip {
      border: 1px solid var(--line); background: #09090b; border-radius: 999px;
      padding: 7px 12px; font-size: 12px; font-weight: 700; color: var(--muted);
    }
    .rw-dist-chip.ok { color: var(--emerald); border-color: rgba(52,211,153,.4); }
    .rw-dist-chip.wait { color: var(--amber); border-color: rgba(245,158,11,.4); }
    .rw-send-lg { width: 100%; min-height: 56px; margin: 0 0 10px; font-size: 16px; font-weight: 800; }
    .rw-dist .rw-send-lg:not(:disabled) {
      color: #052e16; background: linear-gradient(180deg, #34d399, #059669); border-color: transparent;
      box-shadow: 0 14px 34px rgba(5,150,105,.28);
    }
    .rw-dist-table { overflow-x: auto; margin: 12px 0; }
    .rw-dist-table table { width: 100%; }
    .rw-dist-table tr.is-ready td { background: rgba(16,185,129,.08); }
    .rw-dist-who { display: flex; gap: 10px; align-items: center; }
    .rw-dist-who b { display: block; }
    .rw-dist-who span { display: block; font-size: 12px; color: var(--muted); }
    .rw-dist .rw-ava { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; font-size: 10px; font-weight: 800; color: #052e16; background: hsl(var(--h), 55%, 62%); flex: 0 0 auto; }
    .rw-dist .rw-addr { font-size: 11px; word-break: break-all; color: var(--sky); }
    .rw-send {
      width: 100%; min-height: 48px; margin: 0 0 10px; padding: 12px 16px;
      border: 0; border-radius: 14px; cursor: pointer; font: inherit; font-weight: 800;
      color: var(--text); background: #18181b; border: 1px solid var(--line);
    }
    .rw-send:hover { border-color: #52525b; }
    .rw-send:disabled { opacity: .4; cursor: not-allowed; }
    .rw-wallet.is-match .rw-send:not(:disabled) {
      color: #052e16; background: linear-gradient(180deg, #34d399, #059669); border-color: transparent;
      box-shadow: 0 12px 28px rgba(5,150,105,.28);
    }
    .rw-fine { margin: 8px 0 0; font-size: 11px; color: var(--dim); line-height: 1.45; }
    .rw-pulse { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    .rw-stat {
      background: linear-gradient(180deg, rgba(28,28,32,.95), rgba(18,18,20,.95));
      border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px;
    }
    .rw-stat .metric { font-size: 22px; margin: 6px 0 2px; }
    .rw-meta {
      grid-column: 1 / -1; display: grid; gap: 8px;
      background: #09090b; border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px;
    }
    .rw-meta > div { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; }
    .rw-meta span { color: var(--dim); }
    .rw-list { display: grid; gap: 8px; }
    .rw-list-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 4px 2px 2px; }
    .rw-person {
      display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; align-items: center;
      background: linear-gradient(180deg, rgba(24,24,27,.92), rgba(12,12,14,.92));
      border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px;
    }
    .rw-person.is-ready { border-color: rgba(52,211,153,.32); }
    .rw-ava {
      width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center;
      font-size: 11px; font-weight: 800; color: #052e16;
      background: hsl(var(--h), 55%, 62%); grid-row: span 2;
    }
    .rw-person-who { min-width: 0; }
    .rw-person-who b { display: block; font-size: 14px; letter-spacing: -.02em; }
    .rw-person-who span { display: block; font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .rw-person-num { display: none; }
    .rw-person-pay { grid-column: 1 / -1; display: grid; gap: 8px; }
    .rw-person-addr { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
    .rw-person-addr code { font-size: 11px; word-break: break-all; color: var(--sky); }
    .rw-pill {
      display: inline-flex; width: fit-content; border-radius: 999px; padding: 3px 8px;
      font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
      border: 1px solid var(--line); color: var(--muted);
    }
    .rw-pill.ok { color: var(--emerald); border-color: rgba(16,185,129,.35); background: rgba(16,185,129,.1); }
    .rw-pill.sent { color: var(--sky); border-color: rgba(125,211,252,.3); }
    .rw-pill.wait { color: var(--amber); border-color: rgba(252,211,77,.3); }
    .rw-empty { border: 1px dashed var(--line); border-radius: 16px; padding: 28px 14px; text-align: center; color: var(--dim); }
    @media (min-width: 800px) {
      .rw-person { grid-template-columns: auto minmax(0, 1.4fr) 90px 110px minmax(0, 1.6fr); align-items: center; }
      .rw-ava { grid-row: auto; }
      .rw-person-num { display: block; }
      .rw-person-num .kicker { margin-bottom: 2px; }
      .rw-person-num b { font-size: 14px; }
      .rw-person-pay { grid-column: auto; }
    }
    .today-strip {
      display: grid; grid-template-columns: auto auto 1fr; gap: 16px; align-items: end;
      margin: 14px 0 0; padding: 12px 14px; background: #09090b; border: 1px solid var(--line); border-radius: 14px;
    }
    .today-strip .metric { font-size: 20px; margin: 2px 0 0; }
    .today-bar { height: 6px; background: #27272a; border-radius: 99px; overflow: hidden; margin-bottom: 6px; }
    .today-bar > span { display: block; height: 100%; background: linear-gradient(90deg, #047857, #34d399); }
    .dept-section { margin: 22px 0 8px; }
    .dept-section .room-head { margin-bottom: 12px; }
    .depts-room .workspace { grid-template-columns: 1fr; }
    .board-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 12px; }
    .bill-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
    @media (min-width: 800px) { .bill-grid { grid-template-columns: 1fr 1fr; } }
    .bill-trial { color: var(--sky); }
    .bill-active { color: var(--emerald); }
    .bill-past_due { color: var(--rose); }
    .bill-canceled { color: var(--dim); }
    .userbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
    .co-switch {
      max-width: 200px;
      background: var(--card);
      color: var(--text);
      border: 1px solid var(--line);
      border-radius: 10px;
      padding: 8px 10px;
      font-size: 13px;
    }
    .nn-scroll { margin-top: 14px; }
    .nn-board {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
      gap: 10px;
      align-items: stretch;
    }
    .nn-col {
      background: #09090b;
      border: 1px solid var(--line);
      border-radius: 14px;
      padding: 10px;
      min-height: 160px;
      display: flex;
      flex-direction: column;
    }
    .nn-col.over { border-color: rgba(52,211,153,.55); background: #0c1612; }
    .nn-col-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; margin-bottom: 10px; }
    .nn-col-n { font-size: 13px; color: var(--text); }
    .nn-col-n .dim { color: var(--dim); font-weight: 500; }
    .nn-col-body { display: flex; flex-direction: column; gap: 8px; flex: 1; min-height: 80px; }
    .nn-empty { color: var(--dim); font-size: 13px; padding: 8px 2px; }
    .nn-card {
      background: #121214;
      border: 1px solid var(--line);
      border-radius: 12px;
      padding: 10px 12px;
      text-align: left;
    }
    .nn-card[draggable="true"] { cursor: grab; }
    .nn-card.dragging { opacity: .4; }
    .nn-card.cash { opacity: .78; }
    .nn-card b { display: block; font-size: 14px; }
    .nn-amt { font-size: 15px; margin: 4px 0 2px; }
    .nn-card .badge { margin-top: 8px; }
    .nn-acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
    .nn-acts .ghost { min-height: 36px; padding: 6px 10px; font-size: 12px; }
    .avatar { width: 28px; height: 28px; border-radius: 999px; display: grid; place-items: center; font-size: 12px; font-weight: 700; background: rgba(16,185,129,.18); color: var(--emerald); }

    .landing {
      min-height: 100vh; min-height: 100dvh;
      display: flex; flex-direction: column;
      padding: 20px max(22px, env(safe-area-inset-right)) max(40px, env(safe-area-inset-bottom)) max(22px, env(safe-area-inset-left));
      max-width: 1180px; margin: 0 auto;
    }
    .landing-nav {
      display: flex; align-items: center; justify-content: space-between;
      gap: 12px; margin-bottom: 28px;
    }
    .landing-brand {
      display: inline-flex; align-items: center; gap: 12px;
      text-decoration: none; color: var(--text); font-weight: 800; letter-spacing: -.03em; font-size: 18px;
    }
    .landing-brand .logo { width: 40px; height: 40px; border-radius: 12px; }
    .landing-brand em { font-style: normal; color: var(--muted); font-weight: 650; margin-left: 8px; font-size: 13px; letter-spacing: .04em; }
    .landing-nav-link {
      color: var(--muted); text-decoration: none; font-weight: 700; font-size: 13px;
      border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px;
    }
    .landing-nav-link:hover { color: var(--text); border-color: #52525b; }
    .landing-grid {
      flex: 1; display: grid; gap: 28px; align-items: center;
    }
    @media (min-width: 960px) {
      .landing { padding: 28px 32px 48px; }
      .landing-grid { grid-template-columns: 1.15fr 0.9fr; gap: 48px; }
    }
    .landing-kicker {
      font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
      color: var(--emerald); margin: 0 0 12px;
    }
    .landing-copy h1 {
      font-size: clamp(32px, 5vw, 52px); line-height: 1.05; letter-spacing: -.04em;
      margin: 0 0 16px; font-weight: 800;
    }
    .landing-lede { font-size: 17px; color: var(--muted); line-height: 1.55; margin: 0 0 22px; max-width: 36em; }
    .landing-points { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 12px; }
    .landing-points li {
      background: rgba(24,24,27,.72); border: 1px solid var(--line); border-radius: 16px;
      padding: 14px 16px; color: var(--muted); font-size: 14px; line-height: 1.45;
    }
    .landing-points strong { display: block; color: var(--text); font-size: 13px; letter-spacing: .02em; margin-bottom: 4px; }
    .landing-foot { font-size: 12px; color: var(--dim); margin: 0; }
    .landing-card {
      background: linear-gradient(180deg, rgba(24,24,27,.96), rgba(12,12,14,.94));
      border: 1px solid var(--line); border-radius: 24px; padding: 28px 24px 22px;
      box-shadow: 0 24px 80px rgba(0,0,0,.4), 0 0 0 1px rgba(245,255,0,.06);
    }
    .landing-card h2 { margin: 0; font-size: 22px; letter-spacing: -.03em; }
    .landing-card .ghost { width: 100%; margin-top: 10px; }
    .landing-card .signin {
      background: #F5FF00; color: #111; margin-top: 8px;
      box-shadow: 0 10px 28px rgba(245,255,0,.22);
    }
    .landing-card .signin:hover { filter: brightness(1.04); }
    .landing-card.platform { box-shadow: 0 24px 80px rgba(0,0,0,.4), 0 0 0 1px rgba(125,211,252,.14); }
    .landing-card.platform .signin { background: var(--sky); color: #082f49; box-shadow: 0 10px 28px rgba(14,165,233,.22); }
    .gate {
      min-height: 100vh; min-height: 100dvh; display: grid; place-items: center;
      padding: max(24px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
    }
    .panel { width: 100%; max-width: 760px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 28px 24px; }
    .vgrid { display: grid; gap: 10px; }
    .vcard { text-align: left; background: #09090b; border: 1px solid var(--line); color: var(--text); border-radius: 16px; padding: 16px 16px 16px 18px; }
    .vcard:hover, .vcard.on { border-color: var(--emerald2); }
    .vcard.on { background: var(--emerald-dim); }
    .vcard .emo { font-size: 26px; line-height: 1; margin-bottom: 8px; }
    .vcard b { display: block; font-size: 15px; margin-bottom: 4px; }
    .vcard span { font-size: 13px; color: var(--muted); }
    .lock { background: #09090b; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; margin-bottom: 8px; }
    .lock .k { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
    .lock .v { font-size: 15px; font-weight: 700; margin-top: 2px; }
    .tip { background: rgba(16,185,129,.08); border: 1px solid rgba(16,185,129,.2); color: #a7f3d0; border-radius: 12px; padding: 12px; font-size: 12px; line-height: 1.5; margin: 12px 0; }
    .magic { width: 100%; margin-top: 10px; background: linear-gradient(90deg, #059669, #34d399); color: #052e16; border: 0; border-radius: 14px; padding: 14px; font-weight: 800; font-size: 15px; }
    .panel.narrow { max-width: 520px; }
    .steps { display: flex; gap: 8px; margin: 0 0 18px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
    .steps span.on { color: var(--emerald); }
    .ind-grid { display: grid; grid-template-columns: 1fr; gap: 8px; }
    .ind { text-align: left; background: #09090b; border: 1px solid var(--line); color: var(--text); border-radius: 14px; padding: 14px; }
    .ind:hover, .ind.on { border-color: var(--emerald2); }
    .ind.on { background: var(--emerald-dim); }
    .ind b { display: block; font-size: 14px; margin-bottom: 4px; }
    .ind span { font-size: 12px; color: var(--muted); }
    .field { margin-bottom: 12px; }
    .field label { display: block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); margin-bottom: 6px; }
    .field input { width: 100%; background: #09090b; border: 1px solid var(--line); color: var(--text); border-radius: 12px; padding: 11px 12px; outline: none; }
    .field input:focus { border-color: rgba(16,185,129,.5); }
    .signin { width: 100%; margin-top: 6px; background: var(--emerald2); color: #052e16; border: 0; border-radius: 12px; padding: 12px; font-weight: 700; }
    .signin:disabled { opacity: .4; cursor: not-allowed; }
    .err { color: var(--rose); font-size: 12px; min-height: 18px; margin: 4px 0 8px; }
    .demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
    .demo { text-align: left; background: #09090b; border: 1px solid var(--line); color: var(--text); border-radius: 12px; padding: 10px; }
    .demo:hover { border-color: #34d399; }
    .demo b { display: block; font-size: 12px; }
    .demo span { font-size: 11px; color: var(--muted); }
    .demo-note { font-size: 11px; color: var(--dim); margin: 14px 0 8px; }
    .preview { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 14px 0; }
    .preview div { background: #09090b; border: 1px solid var(--line); border-radius: 12px; padding: 10px; }
    .countries { display: flex; flex-wrap: wrap; gap: 6px; }
    .geo { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 0 0 16px; }
    .geo-col { background: #09090b; border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
    .geo-col h3 { margin: 0 0 8px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
    .detect { font-size: 11px; color: var(--emerald); margin: 0 0 14px; }
    .hz-row { display: flex; gap: 8px; margin-top: 8px; }
    .hz-row input, .hz-row select, .field select {
      background: #09090b; border: 1px solid var(--line); color: var(--text);
      border-radius: 12px; padding: 11px 12px; outline: none; width: 100%;
    }
    .hz-row input { flex: 1; }
    .hz-row select { width: 140px; flex: 0 0 140px; }
    @media (min-width: 700px) { .geo { grid-template-columns: 1.1fr 0.9fr; } }
    .back { flex: 0 0 auto; background: transparent; color: var(--muted); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; font-weight: 700; }
    @media (min-width: 640px) { .ind-grid { grid-template-columns: 1fr 1fr; } }
    @media (min-width: 700px) { .grid-4 { grid-template-columns: 1fr 1fr; } .cols { grid-template-columns: 1fr 1fr 1fr; } }
    @media (min-width: 1100px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } .workspace { grid-template-columns: 1fr 280px; } }
    .chat-layout { display: grid; grid-template-columns: 1fr; gap: 12px; }
    .chat-list { max-height: 70vh; overflow: auto; }
    .chat-row { display: block; width: 100%; text-align: left; background: #09090b; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; color: var(--text); margin-bottom: 6px; }
    .chat-row.on { border-color: var(--emerald2); background: var(--emerald-dim); }
    .chat-row .who { display: flex; justify-content: space-between; gap: 8px; align-items: center; font-size: 13px; font-weight: 700; }
    .chat-thread { min-height: 420px; display: flex; flex-direction: column; }
    .bubbles { flex: 1; overflow: auto; max-height: 52vh; padding: 8px 0; }
    .bubble { max-width: 78%; border-radius: 14px; padding: 10px 12px; margin-bottom: 8px; font-size: 13px; white-space: pre-wrap; word-break: break-word; }
    .bubble.me { margin-left: auto; background: var(--emerald-dim); border: 1px solid rgba(16,185,129,.25); }
    .bubble.them { background: #09090b; border: 1px solid var(--line); }
    .bubble.deleted { opacity: .75; font-style: italic; color: var(--dim); }
    .bubble .meta { font-size: 10px; color: var(--dim); margin-bottom: 4px; font-style: normal; display: flex; justify-content: space-between; gap: 8px; }
    .chat-compose { display: flex; gap: 8px; align-items: flex-end; margin-top: 10px; }
    .chat-compose textarea { flex: 1; min-height: 64px; }
    .unread { background: var(--emerald2); color: #052e16; border-radius: 999px; padding: 1px 7px; font-size: 10px; font-weight: 800; }
    .group-h { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin: 12px 0 6px; }
    @media (min-width: 800px) { .chat-layout { grid-template-columns: 280px 1fr; } }
    .medals { display: grid; grid-template-columns: 1fr; gap: 8px; margin-bottom: 14px; }
    .medal { display: flex; gap: 12px; align-items: center; background: #09090b; border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
    .medal .ico { font-size: 28px; line-height: 1; filter: grayscale(1); opacity: .45; }
    .medal b { display: block; font-size: 13px; }
    .medal span { display: block; font-size: 11px; color: var(--muted); }
    .medal.on { border-color: rgba(251,191,36,.45); background: linear-gradient(180deg, rgba(251,191,36,.14), rgba(16,185,129,.06)); }
    .medal.on .ico { filter: none; opacity: 1; }
    .medal.flash { box-shadow: 0 0 0 2px rgba(251,191,36,.45); }
    .months-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
    .month-card { background: #09090b; border: 1px solid var(--line); border-radius: 12px; padding: 10px; }
    .month-card.on { border-color: rgba(251,191,36,.4); }
    .month-card.now { box-shadow: inset 0 0 0 1px var(--emerald2); }
    @media (min-width: 700px) { .medals { grid-template-columns: 1fr 1fr 1fr; } .months-grid { grid-template-columns: repeat(4, 1fr); } }
    @media (min-width: 1100px) { .months-grid { grid-template-columns: repeat(6, 1fr); } }
    .admin-layout { display: grid; grid-template-columns: 1fr; gap: 16px; align-items: start; }
    .admin-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 16px; }
    .stat-card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
    .stat-card .n { font-size: 22px; font-weight: 700; margin: 4px 0 2px; }
    .access-picks { display: grid; grid-template-columns: 1fr; gap: 8px; margin-bottom: 12px; }
    .access-pick { text-align: left; background: #09090b; border: 1px solid var(--line); color: var(--text); border-radius: 14px; padding: 12px; width: 100%; }
    .access-pick:hover, .access-pick.on { border-color: var(--emerald2); }
    .access-pick.on { background: var(--emerald-dim); }
    .access-pick b { display: block; font-size: 13px; margin-bottom: 3px; }
    .access-pick span { font-size: 11px; color: var(--muted); }
    .perm-box { margin: 0 0 14px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: #09090b; }
    .people-card { display: flex; gap: 12px; align-items: flex-start; background: #09090b; border: 1px solid var(--line); border-radius: 14px; padding: 12px; margin-bottom: 8px; }
    .people-card.off { opacity: .55; }
    .people-card .who { flex: 1; min-width: 0; }
    .people-card h3 { margin: 0; font-size: 14px; font-weight: 700; }
    .people-acts { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
    .avatar.lg { width: 42px; height: 42px; font-size: 13px; flex: 0 0 auto; }
    .avatar.bod { background: rgba(139,92,246,.2); color: var(--violet); }
    .avatar.csuite { background: rgba(14,165,233,.2); color: var(--sky); }
    .avatar.dept { background: rgba(16,185,129,.2); color: var(--emerald); }
    .avatar.head { background: rgba(251,191,36,.18); color: #fbbf24; }
    .avatar.share { background: rgba(253,186,116,.18); color: var(--orange); }
    .search { width: 100%; max-width: 280px; background: #09090b; border: 1px solid var(--line); color: var(--text); border-radius: 12px; padding: 9px 12px; outline: none; }
    .search:focus { border-color: rgba(16,185,129,.5); }
    .check-row { display: flex; gap: 8px; align-items: flex-start; margin-top: 10px; font-size: 13px; color: var(--muted); font-weight: 600; letter-spacing: 0; text-transform: none; }
    .check-row input { width: auto; accent-color: #10b981; margin-top: 3px; }
    .ok { color: var(--emerald); font-size: 13px; margin: 0 0 10px; }
    .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
    .mini-chips { display: flex; flex-wrap: wrap; gap: 6px; }
    @media (min-width: 640px) { .access-picks { grid-template-columns: 1fr 1fr; } .admin-stats { grid-template-columns: repeat(3, 1fr); } }
    @media (min-width: 980px) { .admin-stats { grid-template-columns: repeat(6, 1fr); } }
    @media (min-width: 980px) {
      .admin-layout { grid-template-columns: 380px 1fr; }
      .admin-create { position: sticky; top: 12px; }
    }
    .wiki { margin-bottom: 16px; }
    .wiki h2 { font-size: 15px; margin: 0 0 8px; letter-spacing: .04em; }
    .wiki .src { font-size: 12px; color: var(--muted); margin: 0 0 12px; line-height: 1.5; }
    .missing { color: var(--dim); font-style: italic; }
    .wiki .assign { margin-bottom: 0; }
    .dept-map { display: grid; grid-template-columns: 1fr; gap: 10px; }
    .dept-tile { text-align: left; width: 100%; background: linear-gradient(165deg, rgba(24,24,27,.9), #09090b); border: 1px solid var(--line); border-top: 2px solid var(--accent, var(--emerald2)); color: var(--text); border-radius: 16px; padding: 14px; cursor: pointer; }
    .dept-tile:hover { border-color: var(--accent, var(--emerald2)); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0,0,0,.25); }
    .dept-tile-top { display: flex; gap: 10px; align-items: center; }
    .dept-tile .lane { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; margin-top: 10px; }
    .dept-tile .lane span { display: block; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 7px 6px; text-align: center; font-size: 11px; color: var(--muted); }
    .dept-tile .lane b { display: block; color: var(--text); font-size: 15px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
    .board-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 12px; }
    .col { max-height: 62vh; overflow: auto; }
    .col-h { position: sticky; top: 0; z-index: 1; background: #18181b; padding: 6px 0 8px; }
    .col-h .ico-wrap { width: 26px; height: 26px; border-radius: 8px; }
    .col-h .ico-wrap svg { width: 14px; height: 14px; }
    .task { transition: border-color .15s ease; }
    .task:hover { border-color: #3f3f46; }
    @media (min-width: 700px) { .dept-map { grid-template-columns: 1fr 1fr; } .cover-grid { grid-template-columns: 1fr 1fr; } }
    @media (min-width: 1100px) { .dept-map { grid-template-columns: 1fr 1fr; } }
    .presence-grid { display: grid; grid-template-columns: 1fr; gap: 8px; margin-bottom: 14px; }
    .presence-row { display: flex; gap: 12px; align-items: center; background: #09090b; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
    .presence-row .who { flex: 1; min-width: 0; }
    .dot { width: 9px; height: 9px; border-radius: 50%; flex: 0 0 auto; background: #52525b; box-shadow: 0 0 0 3px rgba(82,82,91,.2); }
    .dot.on { background: var(--emerald); box-shadow: 0 0 0 3px rgba(16,185,129,.2); }
    .dot.warn { background: var(--amber); box-shadow: 0 0 0 3px rgba(245,158,11,.2); }
    .dot.off { background: #52525b; }
    .log-list { max-height: 64vh; overflow: auto; display: grid; gap: 6px; }
    .log-item { display: grid; grid-template-columns: 1fr; gap: 4px; background: #09090b; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
    .log-item .when { font-size: 11px; color: var(--dim); }
    .log-item .act { font-size: 13px; font-weight: 700; }
    .log-item .det { font-size: 12px; color: var(--muted); }
    .cat-auth { color: var(--emerald); border-color: rgba(16,185,129,.28); }
    .cat-users { color: var(--sky); border-color: rgba(14,165,233,.28); }
    .cat-plan { color: var(--violet); border-color: rgba(139,92,246,.28); }
    .cat-budget { color: var(--amber); border-color: rgba(245,158,11,.28); }
    .cat-sales, .cat-staff { color: var(--orange); border-color: rgba(249,115,22,.28); }
    .cat-tasks { color: #a7f3d0; border-color: rgba(16,185,129,.22); }
    .cat-chat { color: var(--muted); }
    .cat-platform { color: var(--rose); border-color: rgba(244,63,94,.28); }
    @media (min-width: 800px) {
      .presence-grid { grid-template-columns: 1fr 1fr; }
      .log-item { grid-template-columns: 150px 120px 1fr; align-items: start; }
    }

    .wrap:has(.share-room) { max-width: 1360px; }
    .share-room { display: grid; gap: 16px; }
    .share-head {
      display: grid; gap: 16px; align-items: start;
      background: linear-gradient(135deg, rgba(16,185,129,.12), rgba(14,165,233,.06) 42%, rgba(24,24,27,.95));
      border: 1px solid rgba(52,211,153,.22); border-radius: 20px; padding: 20px 22px;
      position: relative; overflow: hidden;
    }
    .share-head::after {
      content: ""; pointer-events: none; position: absolute; right: -60px; top: -80px;
      width: 240px; height: 240px; border-radius: 50%;
      background: radial-gradient(circle, rgba(52,211,153,.18), transparent 68%);
    }
    .share-head-copy { position: relative; }
    .share-head-copy h2 { margin: 4px 0 8px; font-size: 26px; letter-spacing: -.03em; font-weight: 800; }
    .share-head-copy .hint { max-width: 62ch; line-height: 1.55; }
    .share-act {
      display: inline-block; margin-top: 10px; font-size: 11px; color: var(--dim);
      border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; background: rgba(9,9,11,.55);
    }
    .share-head-tools { display: grid; gap: 12px; position: relative; }
    .share-laws .kicker { margin-bottom: 8px; }
    .share-law-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
    .share-law {
      font: inherit; cursor: pointer; text-align: left; background: rgba(9,9,11,.72);
      border: 1px solid var(--line); color: var(--text); border-radius: 14px; padding: 10px 12px;
    }
    .share-law b { display: block; font-size: 13px; }
    .share-law span { font-size: 11px; color: var(--dim); font-variant-numeric: tabular-nums; }
    .share-law:hover { border-color: #52525b; }
    .share-law.on { border-color: var(--emerald2); background: var(--emerald-dim); box-shadow: inset 0 0 0 1px rgba(52,211,153,.35); }
    .share-law.on span { color: var(--emerald); }
    .share-law:disabled { opacity: .5; cursor: not-allowed; }
    .share-flatten { margin: 0; }
    .share-flash { margin: 0; padding: 10px 14px; border-radius: 12px; }
    .share-layout { display: grid; grid-template-columns: 1fr; gap: 16px; align-items: start; }
    @media (min-width: 1100px) {
      .share-head { grid-template-columns: 1.15fr .85fr; }
      .share-layout { grid-template-columns: 400px minmax(0, 1fr); }
      .share-layout > .sg-form { position: sticky; top: 12px; max-height: calc(100vh - 24px); overflow: auto; }
    }
    .share-rail { padding: 16px; }
    .share-step { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 12px; }
    .share-step-n {
      width: 26px; height: 26px; border-radius: 999px; display: grid; place-items: center; flex: 0 0 auto;
      font-size: 12px; font-weight: 800; color: var(--emerald); background: var(--emerald-dim);
      border: 1px solid rgba(16,185,129,.3);
    }
    .share-step h3 { margin: 2px 0 2px; font-size: 14px; }
    .share-step .hint { margin: 0; }
    .founder-reg { margin: 0 0 16px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .founder-table { min-width: 480px; }
    .founder-table input {
      width: 100%; min-width: 0; background: #09090b; border: 1px solid var(--line); color: var(--text);
      border-radius: 10px; padding: 8px 10px; outline: none; font: inherit;
    }
    .founder-table input:focus { border-color: rgba(16,185,129,.45); }
    .founder-table td:last-child { width: 96px; white-space: nowrap; }
    .inv-break { margin: 10px 0 4px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px; background: #09090b; }
    .inv-break .kicker { margin-bottom: 4px; }
    .inv-break .hint { margin: 0 0 10px; }
    .share-fields { display: grid; grid-template-columns: 1fr; gap: 0 10px; }
    @media (min-width: 520px) {
      .share-fields { grid-template-columns: 1fr 1fr; }
      .share-fields-span { grid-column: 1 / -1; }
    }
    .share-round {
      border: 1px solid var(--line); border-radius: 16px; padding: 12px; margin: 0 0 12px; background: #09090b;
    }
    .share-round.live { border-color: rgba(52,211,153,.35); box-shadow: inset 0 0 0 1px rgba(16,185,129,.08); }
    .share-round-h { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
    .share-round-n {
      width: 28px; height: 28px; border-radius: 999px; display: grid; place-items: center;
      font-size: 12px; font-weight: 800; background: #18181b; border: 1px solid var(--line); color: var(--muted);
    }
    .share-round.live .share-round-n { color: var(--emerald); border-color: rgba(16,185,129,.35); background: var(--emerald-dim); }
    .share-round-h h3 { margin: 0; font-size: 14px; }
    .share-pill {
      display: inline-block; margin-top: 3px; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
      color: var(--dim); border: 1px solid var(--line); border-radius: 999px; padding: 2px 8px;
    }
    .share-pill.on { color: var(--emerald); border-color: rgba(16,185,129,.35); background: rgba(16,185,129,.08); }
    .share-local { font-size: 18px; font-weight: 700; margin: 6px 0 0; font-variant-numeric: tabular-nums; }
    .share-round-link {
      display: block; margin-top: 4px; font-size: 12px; font-weight: 700; color: var(--sky); text-decoration: none;
    }
    .share-round-link:hover { color: var(--emerald); }
    .share-save { position: sticky; bottom: 0; padding-top: 8px; background: linear-gradient(180deg, transparent, rgba(18,18,20,.96) 28%); }
    .share-save .signin { margin-top: 0; }
    .share-ledger {
      padding: 16px 16px 18px;
      background:
        linear-gradient(180deg, rgba(28,28,32,.96), rgba(12,12,14,.96)),
        repeating-linear-gradient(0deg, transparent, transparent 31px, rgba(39,39,42,.35) 32px);
      background-blend-mode: overlay;
    }
    .share-ledger-h { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; align-items: baseline; margin-bottom: 10px; }
    .share-stat-row {
      display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 12px;
    }
    @media (min-width: 720px) { .share-stat-row { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
    .share-stat {
      background: rgba(9,9,11,.7); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px;
      min-width: 0;
    }
    .share-stat .kicker { display: block; margin-bottom: 3px; font-size: 9px; }
    .share-stat b { display: block; font-size: 13px; font-weight: 700; line-height: 1.25; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
    .share-stat .hint { display: block; margin-top: 2px; font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .share-results .sg-metrics { grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 12px; }
    @media (min-width: 720px) { .share-results .sg-metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
    .share-results .sg-metric {
      background: rgba(9,9,11,.7); border-color: var(--line); border-radius: 10px; padding: 8px 10px;
    }
    .share-results .sg-metric .kicker { font-size: 9px; }
    .share-results .sg-metric .metric { font-size: 13px; margin: 3px 0 2px; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
    .share-results .sg-metric .hint { font-size: 10px; }
    .share-ledger .cap-stage { margin-bottom: 10px; }
    .share-ledger .cap-panel {
      background: rgba(9,9,11,.55); border-color: var(--line); border-radius: 12px; padding: 8px 10px 4px; overflow: auto;
    }
    .share-ledger .cap-panel h3, .share-ledger .cap-stage h4 {
      font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--emerald); margin: 0 0 6px;
    }
    .share-ledger .cap-table { font-variant-numeric: tabular-nums; font-size: 11px; }
    .share-ledger .cap-table th { font-size: 9px; padding: 5px 6px; white-space: nowrap; }
    .share-ledger .cap-table td { padding: 5px 6px; }
    .share-ledger .cap-table tbody tr:hover td { background: rgba(16,185,129,.06); }
    .share-ledger .own-bar { height: 10px; margin: 8px 0 6px; }
    .share-ledger .action-plan { margin-top: 12px; padding: 12px 14px; }
    .share-ledger .action-plan li { margin: 6px 0; font-size: 12px; }
    .share-cap-cards { display: none; }
    .share-cap-card {
      background: #09090b; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px;
    }
    .share-cap-card.total { border-color: rgba(16,185,129,.35); background: rgba(16,185,129,.06); }
    .share-cap-card-h {
      display: flex; justify-content: space-between; align-items: baseline; gap: 8px;
      font-size: 13px; font-weight: 700; margin-bottom: 6px;
    }
    .share-cap-card-h b { color: var(--emerald); font-size: 12px; }
    .share-cap-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; margin: 0; }
    .share-cap-card dt {
      font-size: 9px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--dim);
    }
    .share-cap-card dd { margin: 2px 0 0; font-size: 12px; font-variant-numeric: tabular-nums; word-break: break-word; }

    @media (max-width: 1099px) {
      .wrap { padding: 14px 12px 28px; }
      .wrap:has(.share-room) { max-width: 100%; }
      .orgtabs, .orgnav-pills {
        flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none;
      }
      .orgtabs { margin: 0 -12px 16px; padding: 0 12px; }
      .orgtabs::-webkit-scrollbar, .orgnav-pills::-webkit-scrollbar { display: none; }
      .orgtabs .chip, .orgnav-item { flex: 0 0 auto; }
      .orgnav { padding: 12px; border-radius: 18px; }
      .orgnav-item { min-height: 40px; }
      .share-room { gap: 12px; min-width: 0; }
      .share-head { padding: 14px; border-radius: 16px; gap: 12px; }
      .share-head::after { display: none; }
      .share-head-copy h2 { font-size: 20px; margin: 2px 0 6px; }
      .share-head-copy .hint { font-size: 12px; }
      .share-act { max-width: 100%; white-space: normal; line-height: 1.4; }
      .share-law-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
      .share-law { padding: 10px 8px; min-height: 44px; border-radius: 12px; }
      .share-law b { font-size: 12px; }
      .share-law span { font-size: 10px; }
      .share-flatten { flex-direction: column; align-items: stretch; gap: 8px; padding: 10px; }
      .share-flatten .toggle { width: 100%; }
      .share-flatten .toggle button { flex: 1; min-height: 40px; }
      .share-layout, .share-rail, .share-ledger, .share-results, .cap-stack, .cap-stage { min-width: 0; max-width: 100%; }
      .share-rail, .share-ledger { padding: 12px; }
      .share-room input, .share-room select, .share-room textarea { font-size: 16px; }
      .share-save { position: sticky; bottom: 0; z-index: 3; padding: 8px 0 max(4px, env(safe-area-inset-bottom)); }
      .share-save .signin { min-height: 44px; }
      .share-stat-row { grid-template-columns: 1fr 1fr; gap: 6px; }
      .share-stat b { font-size: 12px; overflow-wrap: anywhere; }
      .share-stat .hint { white-space: normal; }
      .share-cap-cards { display: grid; gap: 8px; }
      .share-ledger .share-cap { display: none; }
      .share-ledger .cap-panel { -webkit-overflow-scrolling: touch; max-width: 100%; }
      .share-ledger .action-plan { padding: 12px; }
    }
    @media (min-width: 760px) and (max-width: 1099px) {
      .share-cap-cards { display: none; }
      .share-ledger .share-cap { display: block; }
    }
    @media (max-width: 379px) {
      .share-stat-row { grid-template-columns: 1fr; }
      .share-cap-card dl { grid-template-columns: 1fr; }
      .share-law b { font-size: 11px; }
    }

    @media (hover: none) {
      .ipo-node:hover, .dept-tile:hover, .task:hover, .life-step:hover, .vcard:hover, .ind:hover,
      .chip:hover, .ghost:hover, .orgnav-item:hover, .meet-lane:hover, .meet-card:hover {
        transform: none; box-shadow: none;
      }
      input, select, textarea, .field input, .field select, .field textarea, .search, .meet-find {
        font-size: 16px;
      }
    }

    .goals-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
    @media (min-width: 900px) { .goals-grid { grid-template-columns: 1fr 1fr 1fr; } }
    .goal-box {
      background: #09090b; border: 1px solid var(--line); border-radius: 16px; padding: 14px;
      border-top: 3px solid var(--accent, var(--emerald2));
    }
    .goal-personal { --accent: #34d399; }
    .goal-professional { --accent: #7dd3fc; }
    .goal-financial { --accent: #fbbf24; }
    .goal-box h3 { margin: 0 0 6px; font-size: 15px; }
    .goal-years { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 10px; }
    @media (min-width: 700px) { .goal-years { grid-template-columns: 1fr 1fr; } }
    .goal-year label {
      display: block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
      color: var(--dim); margin-bottom: 4px;
    }
    .goal-box textarea {
      width: 100%; min-height: 96px; margin-top: 0; background: #0c0c0e; border: 1px solid var(--line);
      color: var(--text); border-radius: 12px; padding: 11px 12px; outline: none; resize: vertical;
      font: inherit; font-size: 16px; box-sizing: border-box;
    }
    .goal-box textarea:focus { border-color: var(--accent, rgba(16,185,129,.5)); }
    .goal-horizon-read { display: grid; gap: 8px; margin-top: 6px; }
    .goal-horizon-read span {
      font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--dim);
    }
    .goal-horizon-read p { margin: 2px 0 0; font-size: 13px; white-space: pre-wrap; word-break: break-word; }
    .goal-team { display: grid; gap: 10px; }
    .goal-person { background: #09090b; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
    .goal-person-h { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
    .goal-person-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
    @media (min-width: 800px) { .goal-person-grid { grid-template-columns: 1fr 1fr 1fr; } }
    .goal-person-grid p { margin: 4px 0 0; font-size: 13px; white-space: pre-wrap; word-break: break-word; color: var(--text); }

    .wrap-days { max-width: 1520px; }
    .day-board {
      margin-top: 18px; padding: 18px 18px 16px; border: 1px solid var(--line); border-radius: 22px;
      background:
        linear-gradient(180deg, rgba(16,185,129,.08), transparent 120px),
        #0c0c0e;
    }
    .day-board-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 18px; margin-bottom: 14px; }
    .day-board-title {
      margin: 4px 0 6px; font-size: clamp(20px, 2.1vw, 28px); line-height: 1.2; letter-spacing: -.03em; font-weight: 700;
    }
    .day-board .hint { margin: 0; max-width: 52em; }
    .day-nav { display: flex; gap: 8px; align-items: flex-start; }
    .day-nav .ghost[disabled] { opacity: .35; cursor: not-allowed; }
    .day-people { margin: 10px 0 14px; }
    .day-share {
      margin: 0 0 14px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px; background: #09090b;
    }
    .day-share summary { cursor: pointer; font-weight: 700; font-size: 13px; }
    .day-share .hint { margin: 8px 0 10px; }
    .day-scroll {
      overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 -6px; padding: 2px 6px 8px;
      scroll-snap-type: x proximity; overscroll-behavior-x: contain;
    }
    .day-strip { display: grid; grid-template-columns: repeat(7, minmax(156px, 1fr)); gap: 10px; }
    .day-col {
      background: linear-gradient(180deg, #141418 0%, #09090b 42%);
      border: 1px solid var(--line); border-radius: 18px; padding: 14px 12px 12px;
      min-height: 380px; display: flex; flex-direction: column; gap: 10px;
      scroll-snap-align: start; min-width: 0;
    }
    .day-col.weekend { background: linear-gradient(180deg, #12121a 0%, #09090b 42%); }
    .day-col.today {
      border-color: rgba(52,211,153,.55);
      box-shadow: 0 0 0 1px rgba(52,211,153,.18), 0 18px 40px rgba(16,185,129,.08);
      background: linear-gradient(180deg, #13241c 0%, #09090b 48%);
    }
    .day-col.out { opacity: .55; }
    .day-col-h { display: flex; flex-direction: column; gap: 2px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
    .day-col-w { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
    .day-col-d { font-size: 36px; font-weight: 750; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
    .day-col.today .day-col-d, .day-col.today .day-col-w { color: var(--emerald); }
    .day-col-body { flex: 1; display: flex; flex-direction: column; gap: 8px; min-height: 180px; }
    .day-empty { color: var(--dim); font-size: 13px; padding: 8px 2px; }
    .day-locked { color: var(--dim); font-size: 12px; margin-top: auto; }
    .day-row { display: flex; gap: 6px; align-items: flex-start; }
    .day-item {
      flex: 1; text-align: left; background: #121214; border: 1px solid var(--line); color: var(--text);
      border-radius: 12px; padding: 10px 12px; font: inherit; font-size: 14px; line-height: 1.45;
      white-space: pre-wrap; word-break: break-word; cursor: pointer; min-height: 48px;
    }
    .day-item.done { text-decoration: line-through; opacity: .55; }
    .day-del {
      flex: 0 0 40px; height: 40px; border: 0; background: transparent; color: #a1a1aa;
      border-radius: 8px; cursor: pointer; font-size: 18px; line-height: 1;
    }
    .day-add { display: flex; flex-direction: column; gap: 8px; margin-top: auto; }
    .day-add textarea {
      width: 100%; min-height: 110px; resize: vertical; background: #070708; border: 1px solid var(--line);
      color: var(--text); border-radius: 12px; padding: 10px 12px; outline: none; font: inherit; font-size: 16px; line-height: 1.4;
    }
    .day-add textarea:focus { border-color: rgba(52,211,153,.45); }
    .day-add button {
      background: #10231c; border: 1px solid rgba(52,211,153,.35); color: var(--emerald);
      border-radius: 10px; padding: 10px 12px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer;
    }

    /* iPad portrait and large phones: keep typeable fields at 16px, swipe the week, bigger taps */
    @media (max-width: 1023px) {
      .wrap {
        padding: 14px max(12px, env(safe-area-inset-right)) max(28px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
      }
      .header-top { align-items: flex-start; }
      .userbar { width: 100%; }
      .userbar .ghost, .userbar .chip, .chip, .ghost, .orgnav-item, .toggle button {
        min-height: 40px; display: inline-flex; align-items: center;
      }
      .orgtabs, .orgnav-pills, .filters, .day-people, .mini-chips, .countries {
        flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none;
        padding-bottom: 4px;
      }
      .orgtabs::-webkit-scrollbar, .orgnav-pills::-webkit-scrollbar, .filters::-webkit-scrollbar,
      .day-people::-webkit-scrollbar, .mini-chips::-webkit-scrollbar, .countries::-webkit-scrollbar { display: none; }
      .orgtabs .chip, .orgnav-item, .filters .chip, .day-people .chip, .countries .chip { flex: 0 0 auto; }
      input, select, textarea, .field input, .field select, .field textarea, .search, .meet-find, .ag-topic {
        font-size: 16px; max-width: 100%;
      }
      .signin, .magic, .next-cta { min-height: 44px; }
      .day-board { padding: 16px 14px; }
      .day-nav { width: 100%; }
      .day-nav .ghost { flex: 1; min-height: 44px; justify-content: center; }
      .day-strip {
        grid-template-columns: repeat(7, minmax(210px, 70vw));
        width: max-content; min-width: 0;
      }
      .day-col { width: min(70vw, 300px); min-height: 400px; }
      .day-scroll { scroll-snap-type: x mandatory; }
      .day-share summary { min-height: 40px; display: flex; align-items: center; }
      .nn-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
      .nn-scroll::-webkit-scrollbar { display: none; }
      .nn-board { display: flex; width: max-content; gap: 10px; }
      .nn-col { width: min(78vw, 320px); flex: 0 0 min(78vw, 320px); min-height: 220px; }
      .row-btns { flex-wrap: wrap; }
      .row-btns .ghost, .row-btns .signin { min-height: 40px; }
      .hz-row { flex-wrap: wrap; }
      .landing-nav { flex-wrap: wrap; }
      .landing-copy h1 { font-size: clamp(28px, 6vw, 44px); }
      .chat-compose { flex-wrap: wrap; }
      .assign, .cap-panel, .wiki .assign, .billing-room table {
        -webkit-overflow-scrolling: touch; max-width: 100%;
      }
    }

    @media (max-width: 759px) {
      #app { min-width: 0; max-width: 100%; overflow-x: hidden; }
      .wrap {
        padding: 12px max(12px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
        max-width: 100%;
      }
      .header { padding: 14px; border-radius: 16px; margin-bottom: 12px; }
      .header::before { display: none; }
      h1 { font-size: 18px; }
      .logo { width: 40px; height: 40px; border-radius: 12px; }
      .userbar { width: 100%; }
      .userbar .ghost, .userbar .chip, .chip, .ghost {
        min-height: 40px; display: inline-flex; align-items: center;
      }
      .orgtabs, .orgnav-pills {
        flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none;
      }
      .orgtabs { margin: 0 -12px 16px; padding: 0 12px; }
      .orgtabs::-webkit-scrollbar, .orgnav-pills::-webkit-scrollbar { display: none; }
      .orgtabs .chip, .orgnav-item { flex: 0 0 auto; min-height: 40px; }
      .orgnav { padding: 12px; border-radius: 18px; margin-bottom: 16px; }
      .today-strip { grid-template-columns: 1fr 1fr; }
      .today-bar { grid-column: 1 / -1; }
      .filters { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
      .filters .chip { flex: 0 0 auto; }
      .toolbar { flex-direction: column; align-items: stretch; }
      .search { max-width: 100%; font-size: 16px; }
      input, select, textarea { font-size: 16px; max-width: 100%; }
      .field input, .field select, .field textarea, .hz-row input, .hz-row select { font-size: 16px; }
      .signin, .magic { min-height: 44px; }
      .hz-row { flex-direction: column; align-items: stretch; }
      .day-board { padding: 14px 12px; border-radius: 18px; }
      .day-board-title { font-size: 22px; }
      .day-nav { width: 100%; }
      .day-nav .ghost { flex: 1; min-height: 40px; }
      .day-strip { grid-template-columns: repeat(7, minmax(240px, 82vw)); }
      .day-col { width: min(82vw, 320px); min-height: 420px; }
      .hz-row select { width: 100%; flex: none; }
      .row-btns { flex-wrap: wrap; }
      .row-btns .ghost, .row-btns .signin { flex: 1 1 140px; min-height: 40px; width: auto; }
      .round-read { grid-template-columns: 1fr; }
      .bod-lock-grid { grid-template-columns: 1fr; }
      .sg-metrics { grid-template-columns: 1fr 1fr; }
      .sg-metric { padding: 10px; }
      .sg-metric .metric { font-size: 16px; }
      .metric { font-size: 20px; word-break: break-word; }
      .big { font-size: 32px; }
      .grid-4, .demo-grid, .preview { grid-template-columns: 1fr; }
      .score { position: static; }
      .workspace, .chat-layout, .admin-layout, .share-layout { min-width: 0; }
      .card, .round-card, .panel { max-width: 100%; }
      .sg-round { flex-direction: column; align-items: stretch; }
      .sg-toggle { flex-direction: column; align-items: stretch; }
      .sg-toggle .toggle { width: 100%; }
      .sg-toggle .toggle button { flex: 1; min-height: 40px; }
      .ipo-path { -webkit-overflow-scrolling: touch; scrollbar-width: none; margin: 0 -4px; padding: 4px 4px 12px; }
      .ipo-node { min-width: 108px; padding: 10px 6px; }
      .ipo-join { width: 8px; flex-basis: 8px; }
      .lifecycle { flex-direction: column; }
      .life-step { min-width: 0; }
      .life-arrow { display: none; }
      .assign, .cap-panel, .wiki .assign {
        -webkit-overflow-scrolling: touch; max-width: 100%;
      }
      .assign table, .cap-table { font-size: 11px; }
      .chat-thread { min-height: 0; }
      .bubbles { max-height: 42vh; }
      .chat-compose { flex-direction: column; align-items: stretch; }
      .chat-compose .signin { width: 100%; margin: 0; }
      .people-card { flex-wrap: wrap; }
      .people-acts { width: 100%; justify-content: stretch; }
      .people-acts .ghost { flex: 1; min-height: 40px; justify-content: center; }
      .cover-grid { grid-template-columns: 1fr; }
      .cover-chips { flex-wrap: wrap; }
      .next-cta { width: 100%; justify-content: center; min-height: 44px; }
      .os-room .hz-row .field { flex: 1 1 auto; width: 100%; }
      .meet-lanes { grid-template-columns: 1fr; }
      .meet-lane { min-height: 44px; }
      .ag-grid { grid-template-columns: 1fr; }
      .ag-head { flex-wrap: wrap; }
      .ag-topic { flex: 1 1 100%; min-height: 44px; font-size: 16px; }
      .ag-move { min-height: 40px; }
      .copy-acts .signin, .copy-acts .ghost { flex: 1 1 140px; min-height: 44px; justify-content: center; }
      .esop-in { width: 100%; font-size: 16px; min-height: 40px; }
      .esop-year-card .signin { min-height: 44px; font-size: 16px; }
      .esop-add-year { width: 100%; }
      .esop-add-year input, .esop-add-year .signin { width: 100%; min-height: 40px; font-size: 16px; }
      .rw-connect, .rw-send, .rw-year { min-height: 48px; font-size: 16px; }
      .rw-copy { min-height: 36px; }
      .rw-fields { grid-template-columns: 1fr; }
      .rw-rail { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
      .rw-rail .kicker { width: 100%; }
      .rw-rail-y { width: auto; margin: 0; }
      .rw-setup-add { width: 100%; }
      .rw-year-hero h2 { font-size: 32px; }
      .sc-form { grid-template-columns: 1fr; }
      .sc-form .signin { width: 100%; }
      .sc-extra { grid-template-columns: 1fr; }
      .rw-next-row .rw-activate { width: 100%; }
      .billing-room table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
      .access-pick { min-height: 48px; }
      .legal-doc { min-height: 48px; }
      .gate { padding: 16px; min-height: 100dvh; }
      .panel { padding: 20px 16px; border-radius: 16px; }
      .panel.narrow { max-width: 100%; }
      .landing { padding: 16px 16px 32px; }
      .landing-auth { order: -1; }
      .landing-grid { display: flex; flex-direction: column; }
      .landing-copy h1 { font-size: 30px; }
      .landing-card { padding: 22px 18px 18px; }
      .steps { flex-wrap: wrap; }
      .countries { gap: 6px; }
      .locked-target { white-space: normal; border-radius: 12px; }
      .progress-meta { flex-wrap: wrap; }
      .stat { gap: 8px; }
      .stat span:last-child { text-align: right; word-break: break-word; }
      .footer, footer { gap: 6px; }
      .dept-tile .lane { gap: 4px; }
      .dept-tile .lane span { padding: 6px 4px; font-size: 10px; }
      .admin-stats { grid-template-columns: 1fr 1fr; }
      .months-grid { grid-template-columns: 1fr 1fr; }
      .log-list { max-height: none; }
      .presence-row { flex-wrap: wrap; }
    }
