





  :root {






    --brand-accent: #e8533a;      /* coral: CTA only, nothing else               */
    --coral-hover: #d04530;
    --signal: #00b37e;            /* emerald: the machine working                */






    --studio-font: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', system-ui, sans-serif;
    --brand-font: var(--studio-font);
    --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    --radius: 14px;




    --term-bg: #1a1a18;
    --term-head: rgba(255, 255, 255, .03);
    --term-line: rgba(255, 255, 255, .09);
    --term-ink: rgba(255, 255, 255, .65);
    --term-muted: rgba(255, 255, 255, .45);
    --term-dim: rgba(255, 255, 255, .22);
    --term-gutter: rgba(255, 255, 255, .12);
    --term-green: #6ee7b7;
    --term-amber: #fde68a;
  }


















  :root,
  .brand-scope {
    --brand-surface: #f5f5f7;     /* the neutral ground                          */
    --brand-ink: #1d1d1f;
    --card: #ffffff;
    --sand: #e8e8ed;              /* the neutral fill (menus, chips, tracks)     */
    --on-sand: #636366;           /* 4.90:1 on --sand, where --muted is 4.15     */
    --fill: rgba(120, 120, 128, .14);  /* a control's gray fill                  */
    --fill-input: rgba(120, 120, 128, .09);
    --line: rgba(0, 0, 0, .1);
    --hairline: rgba(0, 0, 0, .06);
    --muted: #6e6e73;             /* secondary                                   */
    --faint: #86868b;             /* tertiary                                    */





    --accent-ink: var(--brand-accent);
    --accent-ink-hover: var(--coral-hover);
    --signal-dim: #00956a;
    --on-accent: #ffffff;         /* ink on a solid coral or --bad fill          */
    --on-ink: #ffffff;            /* ink on a solid --brand-ink fill             */
    --tint: rgba(232, 83, 58, .12);
    --tint-strong: rgba(232, 83, 58, .2);
    --mint: #e5f6f0;              /* accent-bg                                   */
    --ok-wash: rgba(0, 179, 126, .1);
    --bad-wash: rgba(192, 57, 43, .09);
    --warn: #a5651a;
    --warn-bg: #fdf6e8;
    --warn-line: #e8d4a8;
    --bad: #c0392b;
    --bad-bg: #fdeceb;
    --bad-line: #edb6b1;

    --rail-bg: #f0f0f3;           /* the sidebar, a shade off the ground         */
    --rail-line: rgba(0, 0, 0, .08);
    --hover-wash: rgba(0, 0, 0, .045);
    --active-wash: rgba(0, 0, 0, .075);
    --avatar: #d8d8dd;
    --on-avatar: #5c5c5e;         /* the initials: 4.70:1, --muted was 3.57      */
    --thumb: #ffffff;             /* the selected segment of a sort row          */
    --knob: #ffffff;              /* the face of a switch                        */
    --track: rgba(120, 120, 128, .25);
    --sheen: #ffffff;             /* the highlight that sweeps a skeleton        */
    --overlay: rgba(26, 26, 24, .45);
    --linkedin: #0a66c2;          /* their blue, as ink                          */
    --border-mark: transparent;   /* the brand tile needs no edge on white       */

    --shadow-card: 0 1px 2px rgba(0, 0, 0, .04), 0 8px 24px rgba(0, 0, 0, .05);
    --shadow-soft: 0 1px 3px rgba(0, 0, 0, .08);
    --shadow-menu: 0 0 0 1px rgba(0, 0, 0, .06), 0 14px 34px rgba(0, 0, 0, .13);
    --shadow-panel: 0 0 0 1px rgba(0, 0, 0, .06), 0 18px 50px rgba(0, 0, 0, .22);
    --shadow-lift: 0 0 0 1px var(--hairline), 0 2px 12px rgba(0, 0, 0, .06);
    --shadow-knob: 0 1px 3px rgba(0, 0, 0, .2);
    --shadow-thumb: 0 1px 3px rgba(0, 0, 0, .1);
    --shadow-overlay: 0 18px 50px rgba(26, 26, 24, .28);
  }

  :root { color-scheme: light; }













  .brand-scope {
    color-scheme: light;
    background: var(--card);
    color: var(--brand-ink);
    border-radius: var(--radius);
  }












  @media screen {
  :root[data-theme="dark"] {
    color-scheme: dark;

    --brand-surface: #161617;
    --brand-ink: #f5f5f7;
    --card: #1f1f21;
    --sand: #2b2b2e;
    --on-sand: #98989d;           /* 4.92:1 — --faint sat at 4.33 here too       */
    --fill: rgba(255, 255, 255, .11);
    --fill-input: rgba(255, 255, 255, .06);
    --line: rgba(255, 255, 255, .14);
    --hairline: rgba(255, 255, 255, .09);
    --muted: #98989d;
    --faint: #8e8e93;

    --accent-ink: #ff6b52;        /* "coral, lifted" — 5.9:1 on a card           */
    --accent-ink-hover: #ff8a76;
    --signal-dim: #6ee7b7;        /* "emerald, lifted"                           */
    --on-accent: #ffffff;
    --on-ink: #161617;            /* --brand-ink is near-white here              */
    --tint: rgba(255, 107, 82, .16);
    --tint-strong: rgba(255, 107, 82, .26);
    --mint: rgba(110, 231, 183, .1);
    --ok-wash: rgba(110, 231, 183, .13);
    --bad-wash: rgba(255, 122, 110, .13);
    --warn: #e8b34a;
    --warn-bg: rgba(232, 179, 74, .13);
    --warn-line: rgba(232, 179, 74, .34);
    --bad: #ff7a6e;
    --bad-bg: rgba(255, 122, 110, .12);
    --bad-line: rgba(255, 122, 110, .34);

    --rail-bg: #121213;
    --rail-line: rgba(255, 255, 255, .1);
    --hover-wash: rgba(255, 255, 255, .055);
    --active-wash: rgba(255, 255, 255, .1);
    --avatar: #3a3a3e;
    --on-avatar: #a6a6ab;         /* 4.67:1 — --muted sat at 3.94                */
    --thumb: #47474b;
    --knob: #f5f5f7;
    --track: rgba(255, 255, 255, .18);
    --sheen: #3a3a3e;
    --overlay: rgba(0, 0, 0, .6);
    --linkedin: #6cb0f5;
    --border-mark: rgba(255, 255, 255, .22);



    --shadow-card: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .4);
    --shadow-soft: 0 1px 3px rgba(0, 0, 0, .4);
    --shadow-menu: 0 0 0 1px rgba(255, 255, 255, .08), 0 14px 34px rgba(0, 0, 0, .55);
    --shadow-panel: 0 0 0 1px rgba(255, 255, 255, .08), 0 18px 50px rgba(0, 0, 0, .6);
    --shadow-lift: 0 0 0 1px var(--hairline), 0 2px 12px rgba(0, 0, 0, .35);
    --shadow-knob: 0 1px 3px rgba(0, 0, 0, .5);
    --shadow-thumb: 0 1px 3px rgba(0, 0, 0, .45);
    --shadow-overlay: 0 18px 50px rgba(0, 0, 0, .6);
  }
  }

  * { box-sizing: border-box; }
  body {
    margin: 0;
    font-family: var(--studio-font);
    background: var(--brand-surface);
    color: var(--brand-ink);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
  }

  body.studio { display: flex; align-items: stretch; min-height: 100vh; }


  body { padding-bottom: var(--ppsc-inset, 0px); }
  a { color: inherit; }






  .stage { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
  .stage main { flex: 1 1 auto; }

  .rail {
    flex: 0 0 236px; width: 236px;
    position: sticky; top: 0; height: 100vh; overflow-y: auto; z-index: 30;
    background: var(--rail-bg); border-right: 1px solid var(--rail-line);
    display: flex; flex-direction: column;
  }



  .rail-new {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    margin: 4px 12px 10px; padding: 9px 12px; border: 0; border-radius: 9px;
    background: var(--accent-ink); color: var(--on-accent); cursor: pointer;
    font: inherit; font-size: 13px; font-weight: 600; white-space: nowrap;
  }
  .rail-new:hover { background: var(--accent-ink-hover); }
  .rail.workspaceless .rail-new, .rail.workspaceless .rail-foot .sb-item { display: none; }
  .sb-item {
    display: flex; align-items: center; gap: 9px; width: calc(100% - 16px);
    margin: 1px 8px; padding: 6px 10px; border-radius: 7px; border: 0;
    background: none; cursor: pointer; text-align: left;
    font: inherit; font-size: 13px; color: var(--brand-ink); white-space: nowrap;
  }



  .sb-item svg { color: var(--muted); flex: 0 0 auto; }
  .sb-item[aria-current="page"] svg { color: var(--brand-ink); }
  .sb-item .sb-label { overflow: hidden; text-overflow: ellipsis; }


  .sb-q { padding: 12px 18px 3px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
  nav.segments .sb-q:first-child { padding-top: 4px; }
  .sb-item:hover { background: var(--hover-wash); }
  .sb-item[aria-current="page"] { background: var(--active-wash); font-weight: 600; }
  nav.segments { padding-bottom: 10px; }
  nav.segments .count {
    margin-left: auto; font-size: 11.5px; color: var(--faint);
    font-variant-numeric: tabular-nums;
  }
  nav.segments .count.live { color: var(--signal-dim); font-weight: 600; }
  nav.segments .count.hidden { display: none; }


  .rail-foot .sb-item { color: var(--muted); }
  .rail-foot .sb-item[aria-current="page"] { color: var(--brand-ink); }




  .rail-foot {
    margin-top: auto; border-top: 1px solid var(--rail-line);
    padding: 8px 0 calc(10px + var(--ppsc-inset, 0px));
  }
  .rail-user { display: flex; align-items: center; gap: 9px; margin: 1px 8px; padding: 6px 10px; font-size: 12px; color: var(--muted); }
  .rail-avatar {
    width: 20px; height: 20px; border-radius: 50%; background: var(--avatar); flex: 0 0 auto;
    display: inline-flex; align-items: center; justify-content: center;
    font-style: normal; font-size: 10px; font-weight: 600; color: var(--on-avatar);
  }
  .rail-email { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }


  header.top {
    display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px;
    padding: 11px 26px; background: var(--card); color: var(--brand-ink);
    position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--hairline);
    width: 100%;
  }
  header.top .brand {
    display: flex; align-items: center; gap: 10px; text-decoration: none; justify-self: start;
  }
  header.top .brand img { display: block; border-radius: 8px; }
  header.top .wordmark { font-weight: 700; letter-spacing: -.02em; font-size: 16px; white-space: nowrap; }
  header.top .mark {
    font-size: 11px; font-weight: 600; color: var(--signal-dim); background: var(--mint);
    border-radius: 5px; padding: 3px 8px; white-space: nowrap;
  }




  .account { position: relative; justify-self: end; }
  .rail .account { padding: 8px 6px 4px; }
  .account-button {
    display: flex; align-items: center; gap: 8px; width: 100%; background: transparent;
    cursor: pointer; border: 0; border-radius: 8px; padding: 8px 8px; font: inherit;
    font-size: 13px; color: inherit; min-width: 0;
  }
  .account-button:hover { background: var(--hover-wash); }
  .account-button .logo { height: 20px; width: 20px; object-fit: contain; border-radius: 4px; flex: 0 0 auto; }
  .account-button .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--client-primary, var(--brand-ink)); flex: 0 0 auto; }
  .account-button .tenant { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .account-button .chev { color: var(--faint); flex: 0 0 auto; margin-left: auto; }
  .account-button[aria-expanded="true"] { background: var(--active-wash); }
  .account .menu {



    position: absolute; left: 6px; right: 6px; top: calc(100% + 2px); min-width: 252px; z-index: 40;
    background: var(--card); border-radius: 12px; padding: 6px;
    box-shadow: var(--shadow-menu);
  }
  .account .menu-head { padding: 10px 12px 12px; border-bottom: 1px solid var(--hairline); margin-bottom: 6px; }
  .account .menu-head .tenant { font-weight: 600; }
  .account .menu-head .who { font-size: 12.5px; color: var(--muted); overflow-wrap: anywhere; }
  .account .menu button {
    display: block; width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
    font: inherit; font-size: 13.5px; padding: 9px 12px; border-radius: 8px; color: inherit;
  }
  .account .menu button:hover { background: var(--sand); }

  #menu-workspaces { border-bottom: 1px solid var(--hairline); margin-bottom: 6px; padding-bottom: 6px; }
  .account .menu .workspace-row { display: flex; align-items: center; gap: 8px; }
  .account .menu .workspace-row.current { cursor: default; font-weight: 600; }
  .account .menu .workspace-row.current:hover { background: none; }
  .workspace-tick { width: 14px; flex: 0 0 auto; color: var(--brand-accent, var(--brand-ink)); font-size: 12px; }
  .account .menu .workspace-row .workspace-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }



  .workspace-tag { flex: 0 0 auto; font-size: 11.5px; font-weight: 400; color: var(--muted); }



  .account .menu .workspace-row.under-agency { padding-left: 26px; }
  .workspace-row .pill { margin-left: auto; }




  .account .menu .menu-appearance {
    border-top: 1px solid var(--hairline);
    margin: 6px 0 0; padding: 10px 12px 8px;
    display: grid; gap: 7px;
  }
  .account .menu .menu-label {
    font-size: 11px; font-weight: 600; color: var(--faint);
  }
  .account .menu .sort-row button {
    display: block; flex: 1 1 0; width: auto; min-width: 0;
    text-align: center; padding: 5px 4px; font-size: 12.5px;
  }
  .account .menu .sort-row button:hover { background: var(--hover-wash); }
  .account .menu .sort-row button[aria-pressed="true"],
  .account .menu .sort-row button[aria-pressed="true"]:hover {
    background: var(--thumb); box-shadow: var(--shadow-thumb);
  }








  .page-head { padding: 2px 4px 4px; margin-bottom: 18px; }
  .page-head h1 { margin-bottom: 0; }






  .scard {
    background: var(--card); border: 1px solid var(--line); border-radius: 14px;
    padding: 20px 22px; box-shadow: var(--shadow-soft); margin-top: 16px;
  }
  .scard:first-child { margin-top: 0; }
  .scard-title { font-size: 17px; font-weight: 600; letter-spacing: -.01em; margin: 0; }
  .scard-why { font-size: 13.5px; color: var(--muted); margin: 3px 0 0; max-width: 62ch; }
  .scard-body { margin-top: 16px; }
  .scard-body > .setting:first-of-type { border-top: 0; padding-top: 0; }
  .scard.danger { border-color: color-mix(in srgb, var(--bad) 34%, transparent); }
  .scard.danger .scard-title { color: var(--bad); }

  @media (max-width: 640px) {
    .scard { padding: 17px 16px; }
  }

  .setting { border-top: 1px solid var(--hairline); padding: 16px 0; display: grid; grid-template-columns: 190px 1fr; gap: 20px; }
  .setting:first-of-type { border-top: 0; }
  .setting .what { font-weight: 600; font-size: 14px; }
  .setting .why { font-size: 13px; color: var(--muted); margin-top: 2px; }
















  .apps { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 10px; }
  .app {
    display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
    text-align: left; font: inherit; padding: 14px; border-radius: 12px;
    border: 1px solid var(--line); background: var(--card); cursor: pointer;
    transition: background .12s ease, border-color .12s ease;
  }
  .app:hover { background: var(--hover-wash); }
  .app[aria-expanded="true"] { border-color: var(--brand-ink); background: var(--hover-wash); }
  .app-mark {
    width: 34px; height: 34px; border-radius: 9px; background: var(--sand);
    color: var(--on-sand); display: flex; align-items: center; justify-content: center;
    font-size: 15px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 8px;
  }
  .app-mark.logo { background: #fff; border: 1px solid var(--line); }
  .app-mark img { width: 21px; height: 21px; object-fit: contain; display: block; }
  .app-name { font-size: 14px; font-weight: 600; color: var(--brand-ink); }
  .app-cat { font-size: 12px; color: var(--faint); }




  .app-state { font-size: 12px; font-weight: 600; color: var(--on-sand); margin-top: 8px; }
  .app-state.on { color: var(--signal-dim); }
  .app-state.off { color: var(--warn); }


  .app.soon { cursor: default; opacity: .55; }
  .app.soon .app-state { color: var(--faint); }
  .app.ask { border-style: dashed; }
  .app-open { margin-top: 14px; border-top: 1px solid var(--hairline); padding-top: 14px; }
  .app-open-title { font-size: 14px; font-weight: 600; margin: 0 0 10px; }
  .scard-head { display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; }

  .swatches { display: flex; gap: 10px; flex-wrap: wrap; }
  .swatch { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
  .swatch i { width: 22px; height: 22px; border-radius: 6px; border: 1px solid var(--line); display: block; }

  main { max-width: 1120px; margin: 0 auto; padding: 30px 40px 70px; width: 100%; }


  .card {
    background: var(--card); border: 0; border-radius: 16px;
    padding: 26px; margin-bottom: 18px; box-shadow: var(--shadow-card);
  }
  h1 { font-size: 28px; font-weight: 700; margin: 0 0 6px; letter-spacing: -.021em; line-height: 1.12; }
  h2 { font-size: 19px; font-weight: 700; margin: 0 0 10px; letter-spacing: -.02em; }


  h3 {
    font-size: 12.5px; font-weight: 600; margin: 24px 0 9px;
    color: var(--muted); letter-spacing: 0;
  }
  p.sub { margin: 0 0 20px; color: var(--muted); }
  .eyebrow { font-size: 12px; font-weight: 600; color: var(--muted); }
  .eyebrow.chip { background: var(--sand); border-radius: 6px; padding: 4px 9px; display: inline-block; }


  label.field { display: block; font-size: 13px; font-weight: 600; margin: 0 0 6px; }
  label.field .opt { font-weight: 400; color: var(--muted); }

  .field-help { font-size: 12.5px; color: var(--muted); margin: 6px 0 0; max-width: 62ch; }








  input[type=text], input[type=email], input[type=url], input[type=tel],
  input[type=search], input[type=number], input[type=password], input[type=date],
  textarea, select {
    width: 100%; padding: 11px 14px; font: inherit; color: inherit;
    border: 0; border-radius: 10px; background: var(--fill-input);
  }
  input::placeholder, textarea::placeholder { color: var(--faint); }
  input:focus-visible, textarea:focus-visible, select:focus-visible {
    outline: 2px solid var(--signal); outline-offset: 1px;
  }
  textarea { min-height: 84px; resize: vertical; }
  textarea.editor { min-height: 340px; font-family: var(--mono); font-size: 13px; line-height: 1.65; }
  .grid { display: grid; gap: 18px; }
  .grid.two { grid-template-columns: 1fr 1fr; }
  .target-row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: end; }
  .target-row .or { padding-bottom: 12px; font-size: 12px; font-weight: 600; color: var(--faint); }




  .prompt {
    display: flex; align-items: center; gap: 10px; background: var(--card);
    border-radius: 12px; padding: 5px 8px 5px 16px;
    box-shadow: var(--shadow-lift);
  }
  .prompt:focus-within { box-shadow: 0 0 0 2px var(--signal); }
  .prompt .sigil { color: var(--faint); font-size: 13px; }
  .prompt input {
    border: 0; padding: 8px 0; border-radius: 0; font-size: 14px; background: none;
  }
  .prompt input:focus-visible { outline: none; }
  .prompt .enter {
    font-size: 11px; font-weight: 600; color: var(--on-sand);
    background: var(--sand); border-radius: 5px; padding: 4px 8px; white-space: nowrap;
  }

  button.primary, a.primary {
    background: var(--brand-accent); color: var(--on-accent); border: 0; border-radius: 10px;
    padding: 11px 22px; font: inherit; font-weight: 600; cursor: pointer;
    transition: background .15s;
  }
  button.primary:hover, a.primary:hover { background: var(--coral-hover); }
  button.primary[disabled] { opacity: .5; cursor: default; filter: none; }
  button.ghost[disabled] { opacity: .5; cursor: default; }



  .ghost {
    display: inline-block; background: var(--fill); border: 0;
    border-radius: 10px; padding: 8px 16px; font: inherit; font-size: 13px; font-weight: 600;
    cursor: pointer; color: var(--accent-ink); text-decoration: none; white-space: nowrap;
  }
  .ghost:hover { background: var(--tint); }



  .btn-note { font-weight: 400; font-size: 12px; }
  .ghost.did { color: var(--signal-dim); background: var(--mint); }
  a.go { color: var(--accent-ink); text-decoration-color: color-mix(in srgb, var(--accent-ink) 40%, transparent); }
  a.go:hover { text-decoration-color: currentColor; }
  .onward {
    display: block; margin: 26px 0 0; background: none; border: 0; padding: 0;
    font: inherit; font-size: 14px; font-weight: 600; color: var(--accent-ink); cursor: pointer;
  }
  .onward:hover { text-decoration: underline; }
  .teaches { font-size: 13px; color: var(--muted); margin: 0 0 12px; }


  .checks { display: flex; flex-wrap: wrap; gap: 10px 24px; }
  .checks label {
    display: flex; align-items: center; gap: 10px; font-size: 13px; cursor: pointer;
    border: 0; border-radius: 0; padding: 3px 0; background: none;
  }
  .checks input {
    appearance: none; -webkit-appearance: none; margin: 0; cursor: pointer;
    width: 38px; height: 23px; border-radius: 999px; flex: 0 0 auto;
    background: var(--track); position: relative; transition: background .15s;
  }
  .checks input::after {
    content: ''; position: absolute; top: 2px; left: 2px; width: 19px; height: 19px;
    border-radius: 50%; background: var(--knob); box-shadow: var(--shadow-knob);
    transition: left .15s;
  }
  .checks input:checked { background: var(--signal); }
  .checks input:checked::after { left: 17px; }


  .beast { border-top: 1px solid var(--hairline); margin-top: 24px; padding-top: 6px; }

  .more { margin-top: 18px; }
  .more .grid { padding: 4px 2px 8px; }
  .beast-head {
    display: flex; align-items: center; gap: 10px; width: 100%; text-align: left;
    background: none; border: 0; padding: 12px 2px; font: inherit; font-size: 14px; cursor: pointer;
  }
  .beast-head .bolt { font-size: 15px; }
  .beast-head .meta { font-size: 13px; color: var(--muted); flex: 1; }
  .beast-head .caret { color: var(--faint); transition: transform .15s; }
  .beast-head[aria-expanded="true"] .caret { transform: rotate(180deg); }
  .beast-body { padding: 4px 2px 8px; }
  .beast-body .meta { font-size: 13px; color: var(--muted); margin: 0 0 12px; }
  .beast-body code { font-family: var(--mono); font-size: 12px; background: var(--sand); border-radius: 4px; padding: 1px 5px; }
  .beast-body textarea { font-family: var(--mono); font-size: 13px; line-height: 1.7; }
  .beast-foot { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
  .beast-foot .meta { font-size: 13px; color: var(--muted); }
  .beast-foot .spacer { flex: 1; }



  .running-strip { margin: 0 0 22px; padding-bottom: 18px; border-bottom: 1px solid var(--hairline); }


  .banner { padding: 12px 16px; border-radius: 10px; font-size: 14px; margin-bottom: 14px; border: 1px solid; }
  .banner.warn { background: var(--warn-bg); border-color: var(--warn-line); }
  .banner.error { background: var(--bad-bg); border-color: var(--bad-line); }
  .banner.ok { background: var(--mint); border-color: color-mix(in srgb, var(--signal) 35%, transparent); }
  .banner.info { background: var(--sand); border-color: var(--line); }
  .banner .actions { display: flex; gap: 8px; margin-top: 11px; }




  .banner .linkish {
    background: none; border: 0; padding: 0; font: inherit; color: inherit;
    text-decoration: underline; text-underline-offset: 2px; cursor: pointer;
  }
  .banner .linkish:hover { opacity: .7; }




  .run-grid { display: grid; grid-template-columns: minmax(280px, 380px) 1fr; gap: 30px; align-items: start; }
  .run-steps { padding-top: 4px; }

  ol.stepper { list-style: none; margin: 0; padding: 0; }
  ol.stepper > li {
    display: grid; grid-template-columns: 26px 1fr; gap: 12px;
    padding: 13px 0; border-top: 1px solid var(--line);
  }
  ol.stepper > li:last-child { border-bottom: 1px solid var(--line); }
  .step-mark { font-size: 11px; font-weight: 600; color: var(--faint); padding-top: 3px; font-variant-numeric: tabular-nums; }
  .step-label { font-weight: 600; font-size: 14.5px; color: var(--muted); letter-spacing: -.01em; }





  .step-head { display: flex; align-items: baseline; gap: 10px; }
  .step-agent {
    margin-left: auto; flex: none; white-space: nowrap;
    font-size: 10.5px; font-weight: 600; letter-spacing: .04em;
    text-transform: uppercase; color: var(--faint);
  }
  li.is-done .step-agent { color: var(--muted); }
  li.is-active .step-agent { color: var(--signal); }
  li.is-active .step-mark, li.is-done .step-mark { color: var(--signal); }
  li.is-active .step-label, li.is-done .step-label { color: var(--brand-ink); }
  li.is-active .step-label::after {
    content: '▌'; color: var(--signal); margin-left: 5px; animation: blink .9s step-end infinite;
  }
  @keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }





  .step-fold:empty { display: none; }
  ul.fold { list-style: none; margin: 7px 0 0; padding: 0; font-size: 12.5px; line-height: 1.55; }
  ul.fold > li {
    color: var(--muted); padding-left: 15px; position: relative; margin-top: 3px;
    overflow-wrap: anywhere;
  }
  ul.fold > li::before {
    position: absolute; left: 0; top: 0; font-size: 11px; color: var(--faint);
  }

  .f-said { color: var(--brand-ink); }
  .f-said::before { content: '·'; color: var(--signal); font-weight: 700; }

  .f-section::before { content: '✓'; color: var(--signal); }


  .f-read { font-family: var(--mono); font-size: 11.5px; }
  .f-read::before { content: '↗'; }
  .f-search::before { content: '⌕'; }
  .f-search { font-style: italic; }
  .f-more::before { content: '…'; }
  .f-more { color: var(--faint); }
  ul.fold a { color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--line); }
  ul.fold a:hover { color: var(--brand-ink); border-bottom-color: var(--signal); }
  .fold-count {
    margin-top: 6px; font-size: 11px; color: var(--faint); font-variant-numeric: tabular-nums;
  }
  ul.fold.grew > li:last-child { animation: fold-in .3s ease-out; }
  @keyframes fold-in { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: none; } }

  .terminal {
    background: var(--term-bg); color: var(--term-ink); border-radius: var(--radius);
    border: 1px solid var(--term-line); overflow: hidden; font-family: var(--mono);
    box-shadow: 0 8px 32px rgba(0,0,0,.18);
  }
  .term-head {
    display: flex; align-items: center; gap: 12px; padding: 11px 16px;
    background: var(--term-head); border-bottom: 1px solid var(--term-line); font-size: 12.5px;
  }
  .lights { display: flex; gap: 7px; }
  .lights i { width: 11px; height: 11px; border-radius: 50%; display: block; }
  .lights i:nth-child(1) { background: #ff5f57; }
  .lights i:nth-child(2) { background: #febc2e; }
  .lights i:nth-child(3) { background: #28c840; }
  .term-head .title { color: var(--term-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .term-head .spacer { flex: 1; }
  .term-head .elapsed { color: var(--term-muted); font-variant-numeric: tabular-nums; }

  .term-body { padding: 16px 16px 8px; min-height: 300px; max-height: 460px; overflow-y: auto; }
  ol.term-lines { list-style: none; margin: 0; padding: 0; font-size: 12.5px; line-height: 1.85; }
  ol.term-lines > li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; }
  .ln { color: var(--term-gutter); text-align: right; user-select: none; }
  .tx { color: var(--term-ink); overflow-wrap: anywhere; }
  .tx.stage { color: #fff; font-weight: 500; }
  .tx.stage::before { content: '// '; color: var(--term-dim); }
  .tx.step { color: var(--term-muted); }
  .tx.step::before { content: '› '; color: var(--term-dim); }
  .tx.ok { color: var(--term-green); }
  .tx.ok::before { content: '✓ '; }
  .tx.err { color: #ff7a6e; }
  .tx.err::before { content: '✗ '; }
  li.fresh .tx { animation: type-in .26s ease-out; }
  @keyframes type-in { from { opacity: 0; transform: translateX(-4px); } to { opacity: 1; transform: none; } }
  .caret { color: var(--signal); animation: blink .9s step-end infinite; }

  .term-foot { border-top: 1px solid var(--term-line); padding: 12px 16px 13px; }




  .bar { display: flex; gap: 3px; height: 2px; }
  .bar i { flex: 1; background: rgba(255,255,255,.09); border-radius: 2px; transition: background .4s ease; }
  .bar i.is-done { background: var(--signal); }
  .bar i.is-active { background: var(--term-amber); animation: pulse 1.4s ease-in-out infinite; }
  .foot-row {
    display: flex; align-items: center; gap: 10px; margin-top: 9px;
    font-size: 12px; color: var(--term-muted);
  }
  .foot-row .spacer { flex: 1; }
  .foot-row .pct { font-variant-numeric: tabular-nums; }
  .chips { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 13px; font-size: 11px; color: rgba(255,255,255,.3); }
  .chip { display: flex; align-items: center; gap: 6px; }
  .chip::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
  .chip.is-done { color: var(--signal); }
  .chip.is-active { color: var(--term-amber); }
  @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

  .run-hint { color: var(--muted); font-size: 13px; margin: 20px 2px 0; }



  .run-away { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 14px 2px 0; }
  .run-away .spacer { flex: 1; }
  .run-away .meta { font-size: 13px; color: var(--muted); }


  .how {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line);
    border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 26px;
  }
  .how > div { background: var(--card); padding: 16px 18px; }
  .how .n { font-size: 11px; font-weight: 600; color: var(--faint); display: block; margin-bottom: 5px; font-variant-numeric: tabular-nums; }
  .how .t { font-weight: 600; font-size: 14.5px; display: block; }
  .how .s { font-size: 13px; color: var(--muted); }

  @media (prefers-reduced-motion: reduce) {
    li.fresh .tx, .chip.is-active, .caret, li.is-active .step-label::after,
    ul.fold.grew > li:last-child { animation: none; }
  }


  .result-head { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
  .result-head .who-they-are { flex: 1 1 300px; }
  .score { flex: 0 0 auto; text-align: right; }
  .score .num { font-size: 44px; font-weight: 700; line-height: 1; letter-spacing: -.03em; }
  .score .verdict { font-size: 12px; font-weight: 500; color: var(--muted); margin-top: 4px; }
  .score.is-strong .num { color: var(--signal-dim); }
  .band {
    display: grid; grid-template-columns: repeat(4, 1fr);
    border-radius: var(--radius); overflow: hidden; margin-top: 20px; background: var(--hairline); gap: 1px;
    box-shadow: 0 0 0 1px var(--hairline);
  }
  .band > div { background: var(--card); padding: 15px 18px; }
  .band .v { font-size: 21px; font-weight: 700; letter-spacing: -.02em; }
  .band .k { font-size: 12px; color: var(--muted); margin-top: 2px; }
  .band .v.flag { color: var(--bad); }
  .pills { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }

  .pill {
    display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500;
    padding: 4px 12px; border-radius: 999px; border: 0; background: var(--fill-input);
    color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums;
  }


  .pill .member-invite:disabled { color: var(--muted); text-decoration: none; cursor: default; }



  .access-list { align-items: flex-start; row-gap: 12px; }
  .access-entry { display: inline-flex; flex-direction: column; gap: 3px; align-items: flex-start; }
  .access-by { font-size: 11px; color: var(--muted); padding-left: 12px; letter-spacing: .01em;
    display: inline-flex; align-items: center; gap: 8px; }



  .pill .tiny-role {
    font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
    padding: 1px 7px; background: var(--ok-wash); color: var(--signal-dim);
  }





  .grant {
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
    font-size: 11.5px; color: var(--muted); padding-left: 12px; margin-top: 1px;
  }
  .grant.settled { color: var(--muted); opacity: .85; }
  .pending-grants { margin-top: 12px; display: grid; gap: 6px; }
  .pending-grants .pill.waiting {
    background: var(--fill-input); color: var(--muted); border: 1px dashed var(--line);
  }
  .tiny-select {
    font: inherit; font-size: 11px; color: var(--muted); background: var(--fill-input);
    border: 1px solid var(--line); border-radius: 999px; padding: 1px 6px;
  }
  .tiny-select:disabled { opacity: .5; }




  .agency-acts {
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px;
  }



  .caps { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 4px; }
  .caps .cap { display: flex; gap: 10px; align-items: baseline; font-size: 13px; }
  .caps .cap::before { content: '·'; color: var(--muted); }
  .caps .cap-needs {
    font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted);
  }
  .muted-caps .cap { color: var(--muted); }
  .pill.strong { color: var(--signal-dim); background: var(--ok-wash); }
  .pill.bad { color: var(--bad); background: var(--bad-wash); }



  .pill.soon { color: var(--warn); background: var(--warn-bg); }
  .pill.accent { color: var(--signal-dim); background: var(--ok-wash); }


  .pill.live { color: var(--signal-dim); background: var(--ok-wash); }
  .pill.live::before {
    content: ''; width: 6px; height: 6px; border-radius: 50%;
    background: var(--signal); animation: pulse 1.4s ease-in-out infinite;
  }
  .item.running { border-color: color-mix(in srgb, var(--signal) 28%, var(--line)); }
  .one-thing { margin: 20px 0; border-left: 3px solid var(--signal); background: var(--mint); padding: 15px 18px; border-radius: 0 10px 10px 0; }
  .one-thing .eyebrow { display: block; margin-bottom: 5px; }





  .off-brief {
    margin: 14px 0 0; padding: 12px 14px; border-radius: 10px;
    border: 1px solid var(--hairline); background: color-mix(in srgb, var(--muted) 6%, transparent);
    font-size: 13.5px; line-height: 1.55;
  }
  .off-brief p { margin: 0; }
  .off-brief-head { margin-bottom: 4px; }
  .off-brief-foot { margin-top: 8px; }

  .one-thing .path-onward { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }







  #glance-card .result-head { align-items: flex-start; }
  #glance-card .who-they-are h1 { margin: 0 0 6px; }
  #glance-card .who-they-are .sub { margin: 0; }



  .scored-as { margin: -10px 0 0; color: var(--muted); font-size: 13px; }









  .score.as-control {
    background: none; border: 0; padding: 4px 6px; margin: -4px -6px;
    font: inherit; color: inherit; cursor: pointer; border-radius: 10px;
  }
  .score.as-control .verdict {
    text-decoration: underline dotted; text-underline-offset: 3px;
    text-decoration-color: var(--faint);
  }
  .score.as-control:hover { background: var(--fill); }
  .score.as-control:hover .verdict { color: var(--accent-ink); text-decoration-color: currentColor; }







  .score.as-control.is-rescoring { cursor: default; }
  .score.as-control.is-rescoring:hover { background: none; }
  .score.is-rescoring .num,
  .score.is-rescoring .verdict { opacity: .35; }
  .rescoring {
    display: block; margin-top: 6px; padding: 3px 9px; border-radius: 999px;
    background: var(--tint); color: var(--accent-ink);
    font-size: 11px; font-weight: 600; letter-spacing: .02em; white-space: nowrap;
  }
  @media (prefers-reduced-motion: no-preference) {
    .rescoring { animation: rescore-beat 1.6s ease-in-out infinite; }
    @keyframes rescore-beat { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
  }
  .rescore-line { margin: 10px 0 0; }

  .correct-panel { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
  .correct-panel .ask { font-weight: 600; margin: 0; }
  .correct-field {
    width: 100%; font: inherit; font-size: 14px; line-height: 1.5; resize: vertical;
    padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
    background: var(--fill-input); color: var(--brand-ink);
  }
  .correct-field:focus { outline: 2px solid var(--accent); outline-offset: -1px; border-color: transparent; }



  .learned {
    display: flex; gap: 10px; align-items: flex-start; flex-wrap: wrap;
    margin-top: 16px; padding: 12px 15px; border-radius: 10px;
    background: var(--ok-wash); font-size: 14px; line-height: 1.5;
  }
  .learned .mark { color: var(--signal-dim); font-weight: 700; }
  .learned .meta { display: inline; }
  .learned.is-refused { background: var(--warn-bg); }
  .learned.is-refused .mark { color: var(--warn); }
  .learned .undo {
    background: none; border: 0; padding: 0; font: inherit; font-size: 14px; font-weight: 600;
    color: var(--accent-ink); cursor: pointer; text-decoration: underline; margin-left: auto;
  }
  .learned .undo:hover { color: var(--coral-hover); }
  .learned .undo:disabled { color: var(--faint); cursor: default; text-decoration: none; }



  .corrections { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
  .corrections li {
    display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5;
    padding: 9px 12px; border-radius: 9px; background: var(--ok-wash);
  }
  .corrections li span { flex: 1; }
  .corrections .drop {
    background: none; border: 0; padding: 0 2px; font: inherit; font-size: 17px; line-height: 1;
    color: var(--faint); cursor: pointer;
  }
  .corrections .drop:hover { color: var(--bad); }
  .corrections .drop:disabled { color: var(--hairline); cursor: default; }


  .corrections.is-hunt li { background: var(--fill-input); }









  .ask-leads {
    margin-top: 26px; padding: 16px 18px; border-radius: var(--radius);
    border: 1px solid var(--line); background: var(--fill-input);
    display: flex; flex-direction: column; gap: 10px;
  }
  .ask-leads .eyebrow { display: block; }
  .ask-leads-field {
    width: 100%; font: inherit; font-size: 15px; line-height: 1.5; resize: vertical;
    padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px;
    background: var(--card); color: var(--brand-ink);
  }
  .ask-leads-field:focus { outline: 2px solid var(--accent); outline-offset: -1px; border-color: transparent; }
  .ask-leads-field::placeholder { color: var(--faint); }
  .ask-leads-foot { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }









  .hunt-part { padding: 18px 0; border-top: 1px solid var(--hairline); }
  .hunt-part:first-child { border-top: 0; padding-top: 6px; }
  .hunt-h { margin: 0 0 6px; font-size: 15px; font-weight: 600; }


  .hunt-said { margin: 0 0 10px; font-size: 16px; line-height: 1.5; white-space: pre-line; }


  .corrections.is-never li { background: var(--fill); color: var(--muted); }
  .glance-signals, .glance-roles { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 9px; }
  .glance-signals li { display: flex; gap: 10px; align-items: baseline; }
  .glance-signals .mark { flex: 0 0 auto; font-weight: 700; font-size: 13px; }
  .glance-signals li.for .mark { color: var(--signal-dim); }
  .glance-signals li.against .mark { color: var(--bad); }
  .glance-roles li span { color: var(--muted); }
  .glance-roles li .meta { margin: 2px 0 0; }


  .glance-people-foot { margin-top: 12px; }
  .glance-people-foot .meta { margin: 0; }

  .glance-assets { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
  .glance-foot {
    display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
    margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line);
  }
  .glance-foot .spacer { flex: 1; }



  #result-head { padding: 14px 22px; }
  #result-head h1 { font-size: 21px; margin: 0; }
  #result-head .who-they-are { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
  #result-head .pills { margin-top: 0; }
  #result-head .score { display: flex; align-items: baseline; gap: 8px; }
  #result-head .score .num { font-size: 26px; }
  #result-head .score .verdict { margin-top: 0; }
  #result-head .head-actions { display: flex; gap: 8px; flex-wrap: wrap; }



  .tabs {
    display: flex; gap: 20px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 20px;
    position: sticky; top: 0; z-index: 10; background: var(--brand-surface);
  }
  .tabs button {
    background: none; border: 0; padding: 10px 2px 12px;
    font: inherit; font-size: 13.5px; cursor: pointer; color: var(--muted); display: flex; align-items: center; gap: 7px;
  }
  .tabs button:hover { color: var(--brand-ink); }
  .tabs button[aria-selected=true] { color: var(--brand-ink); box-shadow: inset 0 -2px 0 var(--brand-ink); font-weight: 600; }


  .subtabs { display: flex; gap: 8px; flex-wrap: wrap; margin: -8px 0 18px; }
  .subtabs button {
    background: var(--fill-input); border: 0; border-radius: 999px; padding: 6px 14px;
    font: inherit; font-size: 13px; cursor: pointer; color: var(--muted);
  }
  .subtabs button:hover { color: var(--brand-ink); }
  .subtabs button[aria-selected=true] { background: var(--brand-ink); color: var(--on-ink); font-weight: 600; }

  .panel-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
  .panel-head .primary { padding: 8px 16px; font-size: 13px; }
  .panel-head h2 { margin: 0; display: flex; align-items: center; gap: 8px; }
  .panel-head .spacer { flex: 1; }
  .ghost.tiny { padding: 3px 10px; font-size: 11.5px; }




  .info-tip {
    width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--line);
    display: inline-grid; place-items: center; font-size: 10px;
    color: var(--faint); cursor: help; position: relative; flex: 0 0 auto; font-weight: 600;
  }
  .info-tip:hover, .info-tip:focus-visible { border-color: var(--brand-ink); color: var(--brand-ink); outline: none; }
  .info-tip::after {
    content: attr(data-tip); position: absolute; left: 0; top: calc(100% + 8px); width: 320px;
    background: var(--term-bg); color: rgba(255,255,255,.88); border-radius: 10px; padding: 11px 13px;
    font-family: var(--studio-font); font-size: 12.5px; font-weight: 400; line-height: 1.5;
    letter-spacing: 0; text-transform: none; text-align: left; z-index: 50;
    opacity: 0; visibility: hidden; transition: opacity .12s ease; pointer-events: none;
    box-shadow: 0 10px 30px rgba(0,0,0,.22);
  }
  .info-tip:hover::after, .info-tip:focus-visible::after { opacity: 1; visibility: visible; }


  ul.case { margin: 0; padding-left: 20px; }
  ul.case li { margin-bottom: 9px; font-size: 15px; }

  .dry-run { margin: 0 0 16px; padding: 12px 14px; border: 1px solid var(--hairline); border-radius: 10px; }
  .dry-run .lead { margin: 0; font-weight: 600; }
  .dry-run ul { margin: 8px 0 0; padding-left: 18px; }
  .dry-run li { margin: 3px 0; font-size: 14px; }
  .dry-run details.more { margin-top: 10px; padding-top: 10px; }
  .dry-run .wire { display: grid; gap: 8px; margin-top: 8px; }
  .dry-run .wire pre {
    margin: 0; padding: 8px 10px; font-size: 11.5px; line-height: 1.4; white-space: pre-wrap; overflow-wrap: anywhere;
    background: color-mix(in srgb, var(--muted) 6%, transparent); border-radius: 6px;
  }
  .dry-run .row { display: flex; gap: 8px; align-items: center; margin-top: 12px; }

  details.more { margin-top: 22px; border-top: 1px solid var(--hairline); padding-top: 14px; }
  details.more summary {
    cursor: pointer; font-size: 13px; font-weight: 600; color: var(--accent-ink); list-style: none;
  }
  details.more summary::-webkit-details-marker { display: none; }
  details.more summary::before { content: '▸ '; }
  details.more[open] summary::before { content: '▾ '; }
  details.more .prose { margin-top: 12px; }

  .two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
  .two-col h3 { margin-top: 0; }

  .item.signal.for { border-left: 3px solid color-mix(in srgb, var(--signal) 55%, transparent); }
  .item.signal.against { border-left: 3px solid color-mix(in srgb, var(--bad) 50%, transparent); }
  .signal-meta {
    display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 6px 0 6px;
    font-size: 11.5px; color: var(--faint);
  }
  .strength {
    font-weight: 600; border-radius: 5px; padding: 2px 7px;

    background: var(--sand); color: var(--on-sand);
  }
  .strength.strong { background: var(--mint); color: var(--signal-dim); }

  .strength.weak { background: transparent; border: 1px solid var(--line); color: var(--muted); }

  .one-thing-head { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }

  .deck-answers { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 4px; }


  .cites { display: inline; margin-left: 4px; }
  .cite {
    position: relative; display: inline-block; vertical-align: super; font-size: 10.5px; line-height: 1;
    font-weight: 600; color: var(--accent-ink); text-decoration: none; padding: 0 2px; margin-right: 1px;
  }
  .cite:hover, .cite:focus-visible { color: var(--brand-ink); outline: none; }
  .cite::after {
    content: attr(data-tip); position: absolute; left: 0; top: calc(100% + 8px); width: 280px;
    background: var(--term-bg); color: rgba(255,255,255,.88); border-radius: 10px; padding: 11px 13px;
    font-family: var(--studio-font); font-size: 12.5px; font-weight: 400; line-height: 1.5;
    letter-spacing: 0; text-transform: none; text-align: left; z-index: 50; white-space: normal;
    opacity: 0; visibility: hidden; transition: opacity .12s ease; pointer-events: none;
    box-shadow: 0 10px 30px rgba(0,0,0,.22);
  }
  .cite:hover::after, .cite:focus-visible::after { opacity: 1; visibility: visible; }

  .cite:nth-child(n+6)::after { left: auto; right: 0; }
  .one-thing-head .eyebrow { flex: 1; }


  .similarity { display: inline-flex; align-items: center; gap: 8px; margin-left: 10px; font-size: 11.5px; color: var(--faint); font-variant-numeric: tabular-nums; }
  .similarity i { display: block; width: 54px; height: 4px; border-radius: 2px; background: var(--line); position: relative; }
  .similarity i::after { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--pct); background: var(--signal); border-radius: 2px; }

  td .rank, .rank {
    display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
    background: var(--sand); font-size: 11px; font-weight: 600; color: var(--on-sand); /* #119 */
    font-variant-numeric: tabular-nums;
  }
  tbody tr:first-child .rank { background: var(--brand-accent); color: var(--on-accent); }
  a.linkedin {
    display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 5px;
    background: #0a66c2; color: #fff; font-size: 11px; font-weight: 700; text-decoration: none;
    font-family: var(--studio-font);
  }
  a.linkedin.search {
    background: none; color: var(--linkedin); border: 1px dashed var(--linkedin); opacity: .75;
  }
  a.linkedin.search:hover { opacity: 1; }

  td.contact { white-space: nowrap; }
  td.contact a.email { margin-left: 8px; font-size: 13px; vertical-align: middle; }
  td.contact a.phone { margin-left: 8px; font-size: 13px; vertical-align: middle; font-variant-numeric: tabular-nums; }



  button.phone-find {
    margin-left: 8px; font: inherit; font-size: 11px; font-weight: 500; padding: 2px 7px; border-radius: 5px;
    border: 1px dashed var(--muted); background: none; color: var(--muted); cursor: pointer; opacity: .75;
    vertical-align: middle; line-height: 1.4;
  }
  button.phone-find:hover { opacity: 1; }
  button.phone-find:disabled { cursor: default; opacity: .4; }
  #glance-people button.phone-find { margin-left: 8px; }


  table.people .person-name { font-weight: 600; }
  table.people .person-name.unverified { font-weight: 500; color: var(--muted); }
  table.people .meta.quiet { font-size: 12px; opacity: .75; }
  table.people td.contact .meta.quiet { display: block; margin-top: 4px; }
  table.people a.source { font-size: 12px; margin-left: 6px; white-space: nowrap; }
  th .info-tip { cursor: help; }




  .who-links { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
  .who-links a {
    font-size: 11px; font-weight: 500; padding: 2px 9px; border-radius: 999px;
    color: var(--linkedin); border: 1px dashed var(--linkedin); text-decoration: none; opacity: .8;
  }
  .who-links a:hover { opacity: 1; }
  .who-everyone { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 2px 0 14px; }
  .who-everyone .who-links { margin-top: 0; }


  .guide-steps { margin: 10px 0 0; padding-left: 20px; display: grid; gap: 8px; }
  .guide-steps li { color: var(--muted); font-size: 13.5px; line-height: 1.5; }







  .info-dot {
    display: inline-flex; align-items: center; justify-content: center;
    width: 18px; height: 18px; padding: 0; margin-left: 4px; vertical-align: 1px;
    border: 1px solid var(--line); border-radius: 999px; background: none;
    color: var(--muted); font: 600 11px/1 var(--studio-font); cursor: pointer;
  }
  .info-dot:hover, .info-dot[aria-expanded="true"] { color: var(--brand-ink); border-color: var(--brand-ink); }
  .net-info { border-left: 3px solid var(--line); padding: 2px 0 2px 14px; margin: -6px 0 22px; }
  .net-info p { margin: 0 0 8px; font-size: 13px; color: var(--muted); max-width: 62ch; }
  .net-info p:last-child { margin-bottom: 0; }
  .net-form { display: grid; gap: 12px; }
  .net-cat-row { display: flex; gap: 10px; flex-wrap: wrap; }
  .net-cat-row select { width: auto; padding-right: 36px; }
  .net-cat-row input { flex: 1; min-width: 180px; }
  .net-form textarea { display: block; }
  .net-alt { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
  .net-guide {
    border: 1px solid var(--hairline); border-radius: 12px;
    padding: 14px 16px 16px; margin-top: 12px;
  }
  .net-guide .sort-row { width: fit-content; }
  .net-guide .guide-steps { margin-top: 10px; }
  .net-guide .field-help { margin-top: 12px; }
  .net-file { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 12px; }


  .block { position: relative; }
  .block:hover > .pencil, .pencil:focus-visible { opacity: 1; }

  .block:has(.email) > .pencil { top: auto; bottom: 10px; }
  .pencil {
    position: absolute; top: 10px; right: 10px; z-index: 2;
    width: 30px; height: 30px; border-radius: 8px; cursor: pointer;
    background: #fff; border: 1px solid color-mix(in srgb, var(--accent-ink) 35%, transparent);
    color: var(--accent-ink); font-size: 13px; line-height: 1;
    opacity: 0; transition: opacity .12s ease;
  }
  .pencil:hover { background: var(--tint); }
  .slide.is-hero + .pencil { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.4); color: #fff; }
  .block-form {
    border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px;
    background: var(--card); display: grid; gap: 14px; margin-bottom: 12px;
  }
  .block-label { display: grid; gap: 5px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
  .block-field { font-family: var(--studio-font); font-size: 14px; }
  textarea.block-field { min-height: 0; line-height: 1.6; }
  .block-actions { display: flex; gap: 8px; }
  .proposal-section { padding-right: 44px; }

  .actions-menu { position: relative; }
  .actions-menu > .ghost { padding: 7px 12px; }
  .actions-menu .menu,
  .outcome-pick .menu {
    position: absolute; right: 0; top: calc(100% + 6px); min-width: 180px; z-index: 30;
    background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 5px;
    box-shadow: var(--shadow-menu);
  }
  .actions-menu .menu button,
  .outcome-pick .menu button {
    display: block; width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
    font: inherit; font-size: 13.5px; padding: 8px 11px; border-radius: 7px; color: inherit;
  }
  .actions-menu .menu button:hover,
  .outcome-pick .menu button:hover { background: var(--sand); color: var(--accent-ink); }



  .outcome-pick { position: relative; display: inline-block; vertical-align: middle; margin-left: 6px; }
  .outcome-pick > .pill { cursor: pointer; font: inherit; font-size: 12px; font-weight: 500; padding: 4px 12px; }
  .outcome-pick > .pill:hover { color: var(--accent-ink); }
  .outcome-pick > .pill.quiet {
    background: none; box-shadow: inset 0 0 0 1px var(--line); color: var(--faint);
  }
  .outcome-pick > .pill.quiet:hover { box-shadow: inset 0 0 0 1px var(--accent-ink); color: var(--accent-ink); }
  .outcome-pick .menu { min-width: 210px; }
  .menu-rule { height: 1px; background: var(--hairline); margin: 5px 8px; }




  .item.pickable { display: flex; align-items: flex-start; gap: 12px; }
  .item.pickable > .pick-row { flex: 1; min-width: 0; }
  .item.pickable > button { flex: 0 0 auto; }
  .pick-row { display: flex; gap: 14px; align-items: flex-start; cursor: pointer; }
  .pick-row input { margin-top: 4px; width: 16px; height: 16px; accent-color: var(--accent-ink); flex: 0 0 auto; }
  .pick-spacer { width: 16px; flex: 0 0 auto; }
  .pick-body { flex: 1; min-width: 0; }

  .refine { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--hairline); }
  .refine-row { display: flex; gap: 10px; align-items: center; }
  .refine-row input { flex: 1; font-size: 13.5px; }
  .refine .meta { display: block; margin-top: 8px; }


  .ask-log { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; max-height: 460px; overflow-y: auto; }
  .ask-q { align-self: flex-end; max-width: 82%; background: var(--sand); border: 1px solid var(--line); border-radius: 12px 12px 3px 12px; padding: 9px 14px; white-space: pre-wrap; }
  .ask-a { align-self: flex-start; max-width: 92%; border-left: 3px solid var(--signal); background: var(--mint); border-radius: 0 10px 10px 0; padding: 11px 15px; }
  .ask-a .prose p:last-child { margin-bottom: 0; }
  .ask-a.thinking { color: var(--muted, inherit); font-style: italic; }
  .ask-a .pill.bad { margin-top: 8px; display: inline-block; }
  .ask .meta { display: block; margin-top: 8px; }

  .item.fill input { margin-top: 9px; }
  .item.fill.done { border-color: color-mix(in srgb, var(--signal) 40%, transparent); background: color-mix(in srgb, var(--mint) 45%, transparent); }





  .brand-scope {
    font-family: var(--brand-font);
    --accent: var(--client-accent, var(--brand-ink));
    --primary: var(--client-primary, var(--brand-ink));
    --surface: var(--client-surface, var(--card));
    --ink: var(--client-ink, var(--brand-ink));
  }




  .deck { display: grid; gap: 14px; }
  .slide {
    border: 0; border-radius: var(--radius);
    padding: 26px 28px; background: var(--card); box-shadow: var(--shadow-soft);
  }
  .slide-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 12px; }
  .slide .slide-label { font-size: 11.5px; font-weight: 600; color: var(--muted); }
  .slide .slide-n { margin-left: auto; font-size: 11px; color: var(--faint); font-variant-numeric: tabular-nums; }
  .slide h4 {
    margin: 0; font-size: 25px; font-weight: 700; letter-spacing: -.025em; line-height: 1.16;
    max-width: 26ch;
  }
  .slide .slide-sub { color: var(--muted); margin: 9px 0 0; font-size: 15px; max-width: 52ch; }
  .slide ul { margin: 16px 0 0; padding-left: 20px; }
  .slide li { margin-bottom: 7px; font-size: 15px; }

  .tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin-top: 20px; }
  .tile {
    border-radius: 10px; padding: 14px 16px;
    background: color-mix(in srgb, var(--client-accent, var(--brand-ink)) 9%, #fff);
  }
  .tile-v { font-size: 27px; font-weight: 700; letter-spacing: -.025em; line-height: 1.1; }
  .tile-l { font-size: 12.5px; color: var(--muted); margin-top: 3px; }
  .tile-src { margin-top: 8px; }
  .tile.unsourced { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bad) 45%, transparent); }


  .slide.is-hero {
    background: var(--client-primary, var(--brand-ink));
    border-color: transparent; color: #fff; padding: 34px 32px;
  }
  .slide.is-hero .slide-label { color: rgba(255,255,255,.6); }
  .slide.is-hero .slide-n { color: rgba(255,255,255,.25); }
  .slide.is-hero h4 { font-size: 30px; }
  .slide.is-hero .slide-sub { color: rgba(255,255,255,.72); }
  .slide.is-hero .tile { background: rgba(255,255,255,.1); }
  .slide.is-hero .tile-v { color: #fff; }
  .slide.is-hero .tile-l { color: rgba(255,255,255,.65); }
  .slide.is-hero .pill { color: rgba(255,255,255,.65); border-color: rgba(255,255,255,.28); background: none; }
  .slide.is-hero .go { color: #fff; }
  .slide.is-hero mark.ph { background: rgba(255,255,255,.2); border-bottom-color: rgba(255,255,255,.5); color: #fff; }
  .slide.is-hero .notes summary { color: rgba(255,255,255,.6); }
  .slide.is-hero .notes { border-top-color: rgba(255,255,255,.18); color: rgba(255,255,255,.6); }


  .tiles.phased { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
  .tiles.phased .tile { background: color-mix(in srgb, var(--client-primary, var(--brand-ink)) 7%, #fff); }
  .tiles.phased .tile-v { font-size: 20px; }
  .tiles.phased .tile-l { font-size: 13px; color: var(--brand-ink); margin-top: 5px; }

  .slide.is-close { border-color: var(--brand-ink); border-width: 2px; }

  .notes {
    margin-top: 18px; padding-top: 12px; border-top: 1px dashed var(--line);
    font-size: 13.5px; color: var(--muted);
  }
  .notes summary {
    cursor: pointer; font-size: 11.5px; font-weight: 600;
    list-style: none; color: var(--faint);
  }
  .notes summary::-webkit-details-marker { display: none; }
  .notes summary::before { content: '▸ '; }
  .notes[open] summary::before { content: '▾ '; }
  .notes > div { margin-top: 8px; }






  .one-pager {
    background: #fff; color: #1c1c1c;
    border-radius: var(--radius); box-shadow: var(--shadow-soft);
    padding: 44px 48px; max-width: 760px;
  }
  .one-pager .op-head { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }
  .one-pager .op-logo { max-height: 44px; max-width: 180px; object-fit: contain; }
  .one-pager .op-from { font-weight: 700; letter-spacing: -.01em; color: var(--client-ink, #1c1c1c); }
  .one-pager .op-headline {
    margin: 0 0 18px; font-size: 28px; font-weight: 700; letter-spacing: -.025em;
    line-height: 1.15; max-width: 26ch; color: var(--client-ink, #1c1c1c);
  }
  .one-pager .op-value { margin: 0 0 16px; }
  .one-pager .op-value .eyebrow { color: var(--client-primary, var(--brand-ink)); }
  .one-pager .op-value p { margin: 6px 0 0; font-size: 15.5px; line-height: 1.55; max-width: 62ch; }
  .one-pager .op-points { margin: 18px 0 0; padding-left: 20px; }
  .one-pager .op-points li { margin-bottom: 7px; font-size: 15px; }
  .one-pager .op-cta {
    display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
    margin-top: 28px; padding: 22px 24px; border-radius: 12px;
    background: var(--client-primary, var(--brand-ink)); color: #fff;
  }
  .one-pager .op-cta-words { flex: 1 1 260px; }
  .one-pager .op-cta-words strong { display: block; font-size: 17px; }
  .one-pager .op-cta-words div { margin-top: 4px; opacity: .85; font-size: 14px; }
  .one-pager .op-cta-button {
    display: inline-block; padding: 12px 22px; border-radius: 999px;
    background: #fff; color: var(--client-primary, var(--brand-ink));
    font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap;
  }
  .one-pager .op-cta mark.ph { background: rgba(255,255,255,.2); border-bottom-color: rgba(255,255,255,.5); color: #fff; }
  .one-pager .op-cta mark.grounded { background: rgba(255,255,255,.18); box-shadow: inset 0 -1px 0 rgba(255,255,255,.45); }

  .email { border: 0; border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; box-shadow: var(--shadow-soft); background: var(--card); }
  .email .email-head { display: flex; align-items: center; gap: 10px; padding: 11px 18px; background: var(--sand); border-bottom: 1px solid var(--line); }
  .email .email-head .spacer { flex: 1; }


  .email .email-head .pill { color: inherit; opacity: .75; background: none; border-color: color-mix(in srgb, currentColor 45%, transparent); }
  .email .email-head strong { font-size: 14px; }
  .email .subject { padding: 14px 18px 0; font-weight: 600; }
  .email .body { padding: 7px 18px 18px; white-space: pre-wrap; }
  .prose p { margin: 0 0 12px; }
  .prose h4 { margin: 20px 0 6px; font-size: 15px; font-weight: 700; }
  .cta { border: 1px solid var(--line); background: var(--sand); border-radius: var(--radius); padding: 18px 20px; margin-top: 16px; }
  .cta strong { display: block; }

  table { width: 100%; border-collapse: collapse; font-size: 14px; }
  th, td { text-align: left; padding: 11px 10px; border-bottom: 1px solid var(--hairline); vertical-align: top; }
  th { font-size: 11.5px; color: var(--muted); font-weight: 600; }


  td.confidence { white-space: nowrap; }
  td.confidence .go { font-size: 12px; margin-left: 8px; }





  .monitor-wrap { overflow-x: auto; margin-top: 14px; }
  .monitor-wrap table { min-width: 940px; }



  .monitor-wrap.churn-wrap table { min-width: 660px; }
  .monitor-wrap th.num, .monitor-wrap td.num {
    text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap;
  }
  .monitor-wrap td.who { min-width: 190px; }



  .monitor-wrap .meta { font-size: 12px; color: var(--muted); overflow-wrap: anywhere; font-weight: 400; }
  .monitor-wrap th.sortable { cursor: pointer; user-select: none; white-space: nowrap; }
  .monitor-wrap th.sortable:hover { color: var(--brand-ink); }
  .monitor-wrap th.sorted::after { content: ' ▾'; }
  .monitor-wrap th.sorted.asc::after { content: ' ▴'; }
  .monitor-wrap tr.quiet td.who strong { color: var(--bad); }
  .monitor-note { font-size: 12.5px; color: var(--muted); margin: 12px 0 0; max-width: 78ch; }






  .monitor-screens { margin-top: 18px; border-top: 1px solid var(--hairline); padding-top: 12px; }
  .monitor-screens > summary { cursor: pointer; font-weight: 600; font-size: 14px; }
  .monitor-screens .monitor-wrap table { min-width: 420px; }
  .monitor-screens tr.cold td { color: var(--muted); }
  .monitor-screens tr.cold td:first-child::after { content: ' · never opened'; color: var(--bad); font-size: 12px; }

  .stack { display: grid; gap: 10px; }
  .item { border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }
  .item .meta { font-size: 12.5px; color: var(--muted); overflow-wrap: anywhere; }
  .item.against { border-left: 3px solid color-mix(in srgb, var(--bad) 45%, transparent); }
  .item-head { display: flex; gap: 10px; align-items: center; justify-content: space-between; }

  .next-step { margin-top: 8px; font-size: 16px; font-weight: 600; line-height: 1.35; }
  .next-draft { margin-top: 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--sand); }
  .next-draft .item-head { padding: 9px 14px 0; }
  .next-draft .body { padding: 8px 14px 14px; white-space: pre-wrap; line-height: 1.5; }
  .next-steps { list-style: none; margin: 14px 0 0; padding: 0; }
  .next-steps li { padding: 5px 0; border-top: 1px solid var(--line); }
  .next-steps label.check { display: flex; gap: 10px; align-items: baseline; cursor: pointer; }
  .next-steps label.check input { margin: 0; position: relative; top: 1px; }
  .next-steps li.done span:first-of-type { text-decoration: line-through; opacity: .55; }
  .next-steps .meta { margin-left: auto; white-space: nowrap; }








  .rank-standing { margin: 0 0 4px; font-size: 17px; font-weight: 600; }
  .rank-term { color: var(--muted); font-weight: 400; }
  .rank-list { display: grid; margin-top: 14px; }
  .rank-row {
    display: grid; grid-template-columns: 2.4ch minmax(0, 1fr) auto; gap: 12px;
    align-items: baseline; padding: 9px 0; border-top: 1px solid var(--hairline);
  }
  .rank-row .pos { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
  .rank-row .who { min-width: 0; }
  .rank-row .who a { overflow-wrap: anywhere; }
  .rank-row .note { color: var(--muted); font-size: 13px; margin-left: 8px; }



  .rank-row.other .who { color: var(--muted); }
  .rank-row.ours {
    background: color-mix(in srgb, var(--signal) 9%, transparent);
    border-radius: 8px; padding-left: 8px; padding-right: 8px;
    margin-left: -8px; margin-right: -8px;
  }
  .rank-row.ours .who { font-weight: 600; }



  .rank-note { margin: 11px 0 0; font-size: 12.5px; color: var(--muted); }
  #ranking-slot { margin-top: 28px; }








  .rival-list { display: flex; flex-direction: column; gap: 10px; margin: 10px 0 0; }
  .rival-row {
    display: grid; grid-template-columns: 1fr auto; grid-template-areas: "head act" "why act";
    gap: 2px 14px; align-items: center;
    padding: 14px 16px; background: var(--surface);
    border: 1px solid var(--hairline); border-radius: var(--radius);
  }
  .rival-head { grid-area: head; display: flex; align-items: baseline; gap: 8px; min-width: 0; }
  .rival-name { font-weight: 600; font-size: 15px; }
  .rival-source { font-size: 11.5px; color: var(--faint); text-decoration: none; }
  .rival-source:hover { color: var(--muted); text-decoration: underline; }
  .rival-why { grid-area: why; margin: 0; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
  .rival-row > button { grid-area: act; }
  @media (max-width: 560px) {
    .rival-row { grid-template-columns: 1fr; grid-template-areas: "head" "why" "act"; gap: 4px; }
    .rival-row > button { justify-self: start; margin-top: 8px; }
  }
  .rank-note .linky { font-size: 12.5px; }


  .item .counter-source { margin-left: 8px; }



  details.counter-fold { margin-top: 12px; border-top: 0; padding-top: 0; }
  details.counter-fold .counter-cards { margin-top: 12px; }

  details.counter-fold summary.rank-standing { font-size: 15px; color: var(--brand-ink); }
  details.counter-fold .rank-list { margin-top: 8px; }
  details.counter-fold .rank-note { margin-bottom: 8px; }

  mark.ph {
    background: color-mix(in srgb, var(--warn) 16%, transparent); border-bottom: 1px dashed var(--warn);
    color: inherit; padding: 0 4px; border-radius: 3px; font-family: var(--mono); font-size: .9em;
  }
  mark.ph.filled {
    background: color-mix(in srgb, var(--signal) 12%, transparent);
    border-bottom-color: color-mix(in srgb, var(--signal) 55%, transparent);
    font-family: inherit; font-size: inherit;
  }



  mark.grounded {
    background: color-mix(in srgb, var(--signal) 13%, transparent);
    box-shadow: inset 0 -1px 0 color-mix(in srgb, var(--signal) 45%, transparent);
    color: inherit; border-radius: 3px; padding: 1px 0;
  }
  .slide.is-hero mark.grounded { background: rgba(255,255,255,.18); box-shadow: inset 0 -1px 0 rgba(255,255,255,.45); }
  .grounded-line { font-size: 12.5px; color: var(--muted); margin: 0 0 14px; max-width: 78ch; }
  .grounded-line.none { color: var(--bad); font-weight: 600; }

  code { background: var(--sand); padding: 2px 6px; border-radius: 4px; font-size: 13px; font-family: var(--mono); }
  .finding { display: flex; gap: 12px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--hairline); font-size: 14px; }
  .finding .sev { font-size: 11.5px; font-weight: 600; flex: 0 0 54px; }
  .finding.blocker .sev { color: var(--bad); }
  .finding.note .sev { color: var(--muted); }


  .combo { position: relative; }
  ul.ac {
    position: absolute; z-index: 30; left: 0; right: 0; top: 100%; margin: 7px 0 0; padding: 5px;
    list-style: none; background: var(--card); border: 1px solid var(--line);
    border-radius: 12px; box-shadow: var(--shadow-menu); max-height: 300px; overflow-y: auto;
  }






  ul.ac.up { top: auto; bottom: 100%; margin: 0 0 7px; }
  ul.ac li { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 8px; cursor: pointer; font-size: 14px; }
  ul.ac li[aria-selected='true'] { background: var(--sand); }
  ul.ac .ac-name { font-weight: 600; }
  ul.ac .ac-domain { color: var(--muted); font-size: 13px; }
  ul.ac .ac-tag { margin-left: auto; font-size: 11px; font-weight: 500; color: var(--muted); background: var(--fill-input); border-radius: 999px; padding: 2px 8px; }









  .empty { text-align: center; color: var(--muted); padding: 44px 20px; }
  .empty.inline { text-align: left; padding: 0; margin: 0 0 20px; max-width: 62ch; }
  .hidden { display: none !important; }
  footer { text-align: center; color: var(--faint); font-size: 12px; padding: 26px; }
  footer a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }







  .share { display: inline-flex; align-items: center; gap: 8px; }
  .share-url {
    width: 360px; max-width: 46vw; font-family: var(--mono); font-size: 12px;
    padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px;
    background: var(--sand); color: var(--on-sand); /* #119 */
  }





  .cancel-zone {
    margin-top: 12px; padding: 20px 22px; border-radius: var(--radius);



    border: 1px solid var(--line); background: var(--card);
  }
  .cancel-zone .why { font-size: 13px; color: var(--muted); margin: 0; }
  .cancel-zone .what { font-size: 14px; font-weight: 600; }
  .cancel-options { display: grid; gap: 2px; margin: 10px 0 0; }
  .cancel-option {
    display: flex; gap: 10px; align-items: flex-start; padding: 9px 10px;
    border-radius: 9px; cursor: pointer; font-size: 14px; line-height: 1.45;
  }
  .cancel-option:hover { background: var(--sand); }
  .cancel-option input { margin-top: 3px; flex: 0 0 auto; }
  .cancel-answer { margin-top: 4px; }
  .cancel-actions { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }



  .danger {
    margin-top: 34px; padding: 20px 22px; border-radius: var(--radius);
    border: 1px solid color-mix(in srgb, var(--bad) 30%, transparent);
    background: color-mix(in srgb, var(--bad) 4%, transparent);
  }


  .danger-billing {
    margin: 14px 0 0; padding: 12px 14px; border-radius: 10px;
    background: color-mix(in srgb, var(--warn) 10%, transparent);
    border: 1px solid color-mix(in srgb, var(--warn) 32%, transparent);
    font-size: 13.5px; line-height: 1.55;
  }
  .danger-billing a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }




  .danger-clients {
    margin: 10px 0 0; padding: 12px 14px; border-radius: 10px;
    background: color-mix(in srgb, var(--muted) 8%, transparent);
    border: 1px solid var(--hairline);
    font-size: 13.5px; line-height: 1.55;
  }
  .danger h3 { margin: 0 0 6px; color: var(--bad); }
  .danger .why { font-size: 13px; color: var(--muted); margin: 0; }
  .danger-row { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
  .danger-row input { flex: 1 1 260px; }
  .danger-go {
    flex: 0 0 auto; border: 1px solid var(--bad); background: var(--card); color: var(--bad);
    border-radius: 10px; padding: 11px 22px; font: inherit; font-weight: 600; cursor: pointer;
  }
  .danger-go:hover:not([disabled]) { background: var(--bad); color: var(--on-accent); }
  .danger-go[disabled] { opacity: .4; cursor: default; }





  .reading {
    display: flex; align-items: center; gap: 10px; margin-bottom: 28px;
    padding: 10px 14px; border: 1px solid var(--hairline); border-radius: 999px;
    background: var(--sand); font-size: 13px;
  }
  .reading .dot {
    width: 9px; height: 9px; border-radius: 50%; background: var(--signal);
    flex: 0 0 auto; animation: hb-beat 1.4s ease-in-out infinite;
  }


  .reading .what { font-weight: 600; font-size: 14px; animation: hb-breathe 1.4s ease-in-out infinite; }
  .reading .meta { font-family: var(--mono); font-size: 11.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 45%; }
  .reading.done .dot, .reading.done .what { animation: none; }
  .reading.failed .dot { background: var(--bad); animation: none; }
  .reading.failed .what { animation: none; }
  @keyframes pulse { 0%, 100% { opacity: 1 } 50% { opacity: .25 } }

  #ob-q-body textarea { min-height: 90px; }
  .q-foot { display: flex; align-items: center; gap: 12px; margin-top: 22px; }



  .sample {
    display: block; width: 100%; text-align: left; margin-bottom: 10px; cursor: pointer;
    padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius);
    background: var(--card); font: inherit; font-size: 14.5px; line-height: 1.55;
    transition: border-color .12s, background .12s;
  }
  .sample:hover { border-color: var(--brand-ink); }
  .sample.chosen {
    border-color: var(--accent-ink); background: var(--tint);
    box-shadow: inset 0 0 0 1px var(--accent-ink);
  }






  .door-name { display: block; font-weight: 600; }
  .door-what { display: block; margin-top: 3px; font-size: 13px; color: var(--faint); }







  .examples { margin-top: 20px; }
  .examples-label { margin: 0 0 8px; font-size: 11.5px; font-weight: 600; color: var(--faint); }
  .example {
    display: block; width: 100%; text-align: left; cursor: pointer; position: relative;
    margin: 0 0 6px; padding: 9px 14px 9px 32px;
    border: 1px solid var(--hairline); border-radius: 10px; background: var(--sand);
    font: inherit; font-size: 13.5px; line-height: 1.45; color: var(--muted);
    transition: border-color .12s, color .12s, background .12s;
  }
  .example::before {
    content: '+'; position: absolute; left: 14px; top: 9px;
    color: var(--faint); transition: color .12s;
  }
  .example:hover { border-color: var(--accent-ink); background: var(--card); color: var(--brand-ink); }
  .example:hover::before { color: var(--accent-ink); }




  .chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 18px; }
  .chip-pick {
    border: 1px solid var(--hairline); background: var(--sand); color: var(--brand-ink);
    border-radius: 999px; padding: 5px 13px; font: inherit; font-size: 12.5px; cursor: pointer;
    transition: border-color .12s, color .12s;
  }
  .chip-pick:hover { border-color: var(--accent-ink); color: var(--accent-ink); }


  .chip-pick.on {
    border-color: var(--accent-ink); background: var(--tint); color: var(--accent-ink);
    box-shadow: inset 0 0 0 1px var(--accent-ink);
  }







  .fork { margin: 14px 0 0; }
  .fork .chip-pick { font-size: 13.5px; padding: 7px 16px; }







  .pair-field + .pair-field { margin-top: 22px; }
  .pair-field .chips { margin-top: 10px; }
  .pair-box { min-height: 54px; }







  .draft { margin: 0 0 26px; }
  .draft-head { margin: 0 0 18px; }
  .draft-head h2 { margin: 8px 0 0; font-size: 26px; letter-spacing: -.02em; line-height: 1.2; }
  .draft-head .sub { margin: 8px 0 0; }
  .draft-block {
    margin: 0 0 12px; padding: 14px 18px;
    border: 1px solid var(--hairline); border-radius: 12px; background: var(--sand);
  }
  .draft-block:last-child { margin-bottom: 0; }


  .draft-block.fresh { animation: draft-lit 1.6s ease-out 1; }
  @keyframes draft-lit {
    0% { background: var(--tint); border-color: var(--accent-ink); }
    100% { background: var(--sand); border-color: var(--hairline); }
  }
  .draft-label {
    margin: 0; font-size: 11.5px; font-weight: 600; color: var(--faint);
    display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
  }
  .draft-from { font-weight: 500; color: var(--muted); }
  .draft-from.yours { color: var(--accent-ink); font-weight: 600; }
  .draft-line { margin: 7px 0 0; font-size: 15.5px; line-height: 1.45; font-weight: 600; }
  .draft-para { margin: 7px 0 0; font-size: 14.5px; line-height: 1.6; }
  .draft-points { margin: 8px 0 0; padding: 0; list-style: none; }
  .draft-points li {
    margin: 0 0 4px; padding-left: 16px; position: relative;
    font-size: 13px; line-height: 1.5; color: var(--muted);
  }
  .draft-points li::before { content: '·'; position: absolute; left: 6px; color: var(--faint); }


  .draft-empty { margin: 7px 0 0; font-size: 14px; line-height: 1.5; color: var(--faint); font-style: italic; }
  .draft-waiting { margin: 7px 0 0; font-size: 14px; line-height: 1.5; color: var(--muted); }






  .draft-sources { margin: 0 0 14px; }
  .draft-more { margin: 4px 0 0; }
  .draft-more > summary {
    cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 7px;
    font-size: 13.5px; font-weight: 600; color: var(--muted); padding: 4px 0;
  }
  .draft-more > summary::-webkit-details-marker { display: none; }
  .draft-more > summary::before {
    content: '›'; display: inline-block; font-size: 15px; line-height: 1;
    transition: transform .15s ease; color: var(--faint);
  }
  .draft-more[open] > summary::before { transform: rotate(90deg); }
  .draft-more > summary:hover { color: var(--ink); }



  .draft-more > summary:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; border-radius: 4px; }
  .draft-more-body { margin-top: 12px; }
  @media (prefers-reduced-motion: reduce) {
    .draft-more > summary::before { transition: none; }
  }


  .goal-source { margin: -8px 0 0; font-size: 12.5px; color: var(--faint); max-width: 62ch; }







  .upgrade { max-width: 560px; margin: 6vh auto 0; text-align: center; }
  .upgrade-title { margin: 12px 0 8px; font-size: 30px; letter-spacing: -.02em; }
  .upgrade .sub { margin: 0 auto; max-width: 44ch; }
  a.primary.upgrade-go {
    display: inline-block; margin: 26px 0 0; text-decoration: none;
    padding: 12px 26px;
  }
  .upgrade-fine { margin: 18px 0 0; font-size: 12.5px; color: var(--faint); }

  a.primary.plan-door { display: inline-block; text-decoration: none; }






  .first-run { max-width: 620px; margin: 2vh auto 0; }
  .fr-name { margin: 6px 0 2px; font-size: 30px; letter-spacing: -.02em; }





  .fr-site { display: block; font-size: 13px; color: var(--faint); }
  a.fr-site { color: var(--accent-ink); }
  a.fr-site:hover { text-decoration: underline; }
  .fr-facts { list-style: none; padding: 0; margin: 22px 0 0; }
  .fr-facts li {
    position: relative; padding: 7px 0 7px 20px; font-size: 14.5px;
    border-bottom: 1px solid var(--hairline);
  }
  .fr-facts li:last-child { border-bottom: 0; }
  .fr-facts li::before { content: '·'; position: absolute; left: 4px; color: var(--faint); font-weight: 700; }
  .fr-why {
    margin: 20px 0 0; padding: 14px 16px; border-radius: 12px;
    background: var(--sand); border: 1px solid var(--hairline); font-size: 14.5px; line-height: 1.5;
  }
  .fr-actions { display: flex; gap: 10px; align-items: center; margin-top: 24px; }




  .fr-input { margin-top: 20px; font-size: 17px; font-weight: 500; }

























  :root { --start-col: 900px; }
  #view-start > * { max-width: var(--start-col); }
  #view-start { padding-top: 56px; }
  .start-head { margin: 0; }





  .start-greeting {
    margin: 0 0 26px; font-size: 32px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2;
    font-family: Georgia, 'Iowan Old Style', 'Times New Roman', serif;
  }


  .start-ask-form { position: relative; }


  .start-ask-form input {
    width: 100%; font-size: 16px; padding: 18px 62px 18px 20px; border-radius: 14px;
    background: var(--card); border: 1px solid var(--line);
  }
  .start-ask-form input:focus { border-color: var(--brand-ink); }
  .ask-go {
    position: absolute; right: 9px; top: 50%; transform: translateY(-50%);
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; padding: 0;
    border: 0; border-radius: 10px; cursor: pointer;
    background: var(--fill-input); color: var(--brand-ink);
  }
  .ask-go:hover { background: var(--hover-wash); }
  .ask-go[disabled] { opacity: .45; cursor: default; }






  .start-waiting { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
  .waiting-row {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 9px 15px 9px 11px; border: 1px solid var(--line); border-radius: 999px;
    background: var(--card); color: var(--ink); font: inherit; font-size: 14px;
    text-align: left; cursor: pointer; transition: border-color .12s, background .12s;
  }
  .waiting-row:hover { border-color: var(--muted); background: var(--hover-wash); }
  .waiting-mark {
    display: inline-flex; flex: none; width: 22px; height: 22px; border-radius: 7px;
    align-items: center; justify-content: center;
    background: color-mix(in srgb, var(--pill) 14%, transparent); color: var(--pill);
  }
  .waiting-mark svg { width: 13px; height: 13px; }
  .waiting-n { font-variant-numeric: tabular-nums; font-weight: 600; }
  .start-step {
    display: grid; grid-template-columns: 26px 1fr; gap: 13px; align-items: start;
    padding: 18px 20px; margin: 0 0 12px;
    background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius);
  }
  .start-num {
    display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
    font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums;
    background: var(--fill-input); color: var(--muted);
  }
  .start-step.done .start-num { background: var(--mint, var(--fill-input)); color: var(--signal); }
  .start-step.done .start-step-title { color: var(--muted); }
  .start-body { min-width: 0; }
  .start-step-title { margin: 3px 0 0; font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
  .start-line { margin: 6px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
  .start-act { margin-top: 14px; }










  .start-sec { display: flex; align-items: center; gap: 11px; margin: 30px 0 14px; }
  .start-sec:first-child { margin-top: 0; }


  .start-sec h2 {
    margin: 0; font-size: 22px; font-weight: 700; letter-spacing: -.02em; line-height: 1.25;
  }
  .start-sec .start-num { background: var(--brand-ink); color: var(--on-ink); }
  .start-left {
    margin-left: auto; font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: 999px;
    background: var(--fill-input); color: var(--muted); white-space: nowrap;
    font-variant-numeric: tabular-nums;
  }
  .start-left:empty { display: none; }




  .start-tick {
    display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%;
    margin-top: 2px; font-size: 12px; font-weight: 700; line-height: 1;
    border: 1.5px solid var(--line); background: transparent; color: transparent;
  }
  .start-step.open .start-tick { border-color: var(--accent-ink); }
  .start-step.done .start-tick {
    background: var(--mint); border-color: var(--mint); color: var(--signal-dim);
  }


  .start-step:not(.open):not(.done) { padding-top: 13px; padding-bottom: 13px; }
  .start-step.done { padding-top: 13px; padding-bottom: 13px; }




  .start-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  @media (max-width: 820px) { .start-row { grid-template-columns: 1fr; } }
  .start-field {
    padding: 16px 18px; background: var(--surface); border: 1px solid var(--hairline);
    border-radius: var(--radius); min-width: 0;
  }
  .start-field-head { display: flex; align-items: flex-start; gap: 10px; }
  .start-field h3 { margin: 0; font-size: 15px; font-weight: 600; letter-spacing: -.01em; line-height: 1.35; }
  .start-field .start-tick { flex: none; margin-top: 1px; }
  .start-field.done h3 { color: var(--muted); }
  .start-field.done .start-tick { background: var(--mint); border-color: var(--mint); color: var(--signal-dim); }
  .start-field textarea { margin-top: 12px; min-height: 64px; font-size: 14px; }
  .start-field .chips { margin-top: 12px; gap: 6px; }
  .start-answer {
    margin: 8px 0 0 30px; font-size: 13.5px; color: var(--muted); line-height: 1.45;
    overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  }
  .start-actions { display: flex; align-items: center; gap: 16px; margin-top: 14px; }

  :root { --verb-find: #E8533A; --verb-engage: #0E8C8C; --verb-teach: #7A5EA8; }
  :root[data-theme="dark"] { --verb-find: #F0755F; --verb-engage: #3FB8B8; --verb-teach: #A98FD6; }
  .verb-find { --verb: var(--verb-find); }
  .verb-engage { --verb: var(--verb-engage); }
  .verb-teach { --verb: var(--verb-teach); }


  .start-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
  .start-report { margin: 14px 0 0; }
  .start-chip {
    padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px;
    background: var(--card); color: var(--brand-ink); font: inherit; font-size: 13px;
    cursor: pointer; transition: border-color .12s, background .12s;
  }
  .start-chip:hover { border-color: var(--muted); background: var(--hover-wash); }


  .start-leads { margin-top: 56px; }
  .start-leads .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  @media (max-width: 720px) { .start-leads .tiles { grid-template-columns: 1fr; } }
  .start-leads-line { margin: 14px 0 0; font-size: 13.5px; color: var(--muted); }

  .start-empty {
    padding: 36px 24px; text-align: center; border: 1px dashed var(--line); border-radius: var(--radius);
  }
  .start-empty h2 { margin: 0 0 6px; font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
  .start-empty p { margin: 0 0 18px; font-size: 14px; color: var(--muted); }
  .start-empty p + p { margin-top: -8px; }


  .seg-strip { margin: -8px 0 22px; position: static; }
  .seg-strip .seg[aria-selected=true] { color: var(--brand-ink); }




  #view-workspace:not(.hidden), #view-account:not(.hidden), #view-brief:not(.hidden),
  #view-hunt:not(.hidden), #view-outcomes:not(.hidden), #view-suppress:not(.hidden) {
    display: grid; grid-template-columns: 188px minmax(0, 1fr); gap: 36px; align-items: start;
  }
  .settings-nav { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 2px; }
  .settings-back {
    display: inline-flex; align-items: center; gap: 6px; margin: 0 0 14px; padding: 6px 8px 6px 4px;
    border: 0; border-radius: 7px; background: none; color: var(--muted); font: inherit; font-size: 13px; cursor: pointer;
    align-self: flex-start;
  }
  .settings-back::before { content: '\2039'; font-size: 18px; line-height: 1; }
  .settings-back:hover { color: var(--brand-ink); background: var(--hover-wash); }
  .settings-group { display: flex; flex-direction: column; gap: 1px; margin-bottom: 18px; }
  .settings-group-name {
    padding: 0 10px 6px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--faint);
  }
  .settings-row {
    display: block; width: 100%; padding: 6px 10px; border: 0; border-radius: 7px; background: none;
    color: var(--brand-ink); font: inherit; font-size: 13.5px; text-align: left; cursor: pointer;
  }
  .settings-row:hover { background: var(--hover-wash); }
  .settings-row[aria-current="page"] { background: var(--active-wash); font-weight: 600; }
  .settings-page { min-width: 0; }
  .client-list { display: grid; gap: 6px; }
  .client-list .workspace-row { justify-content: flex-start; }
  @media (max-width: 860px) {
    #view-workspace:not(.hidden), #view-account:not(.hidden), #view-brief:not(.hidden),
    #view-hunt:not(.hidden), #view-outcomes:not(.hidden), #view-suppress:not(.hidden) { grid-template-columns: 1fr; gap: 18px; }
    .settings-nav { position: static; flex-direction: row; flex-wrap: wrap; gap: 6px; }
    .settings-back { margin: 0; }
    .settings-group { flex-direction: row; flex-wrap: wrap; gap: 4px; margin: 0; }
    .settings-group-name { display: none; }
    .settings-row { width: auto; padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 12.5px; }
  }

  .rail-steps {
    display: block; width: calc(100% - 16px); margin: 1px 8px 6px; padding: 8px 10px; border: 1px solid var(--rail-line);
    border-radius: 9px; background: none; color: var(--brand-ink); font: inherit; font-size: 13px; cursor: pointer; text-align: left;
  }
  .rail-steps:hover { background: var(--hover-wash); }
  .rail-steps-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
  .rail-steps-count { font-size: 11.5px; color: var(--faint); font-variant-numeric: tabular-nums; }
  .rail-steps-bar { display: block; height: 4px; margin-top: 7px; border-radius: 2px; background: var(--fill); overflow: hidden; }
  .rail-steps-bar i { display: block; height: 100%; width: 0; background: var(--accent-ink); }


  .report { position: fixed; inset: 0; z-index: 82; overflow-y: auto; }
  .report-backdrop { position: absolute; inset: 0; background: var(--overlay); }
  .report-card {
    position: relative; width: min(720px, calc(100vw - 32px)); margin: 40px auto 24px;
    background: var(--card); border-radius: 16px; box-shadow: var(--shadow-panel); border: 1px solid var(--hairline); overflow: hidden;
  }
  .report-head { display: flex; align-items: center; gap: 12px; padding: 14px 22px; border-bottom: 1px solid var(--hairline); font-size: 13px; }
  .report-brand { font-weight: 600; }
  .report-when { color: var(--muted); }
  .report-close { margin-left: auto; border: 0; background: none; color: var(--faint); font: inherit; font-size: 20px; line-height: 1; cursor: pointer; padding: 2px 6px; }
  .report-close:hover { color: var(--brand-ink); }
  .report-body { padding: 22px 28px 8px; }
  .report-body h2 { margin: 0 0 14px; font-family: Georgia, "Times New Roman", serif; font-weight: 500; font-size: 26px; line-height: 1.2; letter-spacing: -.01em; }
  .report-body p { margin: 0 0 12px; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
  .report-blocker { border: 1px solid var(--hairline); border-radius: 12px; padding: 14px 18px; margin-top: 12px; }
  .report-blocker-title { display: flex; gap: 10px; font-weight: 600; font-size: 15px; }
  .report-blocker-title i { color: var(--accent-ink); font-style: normal; }
  .report-blocker-why { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
  .report-blocker-acts { display: flex; gap: 14px; align-items: center; margin-top: 10px; }
  .report-blocker-acts .primary { padding: 7px 14px; font-size: 13.5px; }
  .report-mute { border: 0; background: none; color: var(--faint); font: inherit; font-size: 13px; cursor: pointer; padding: 2px 4px; }
  .report-mute:hover { color: var(--brand-ink); }
  .report-stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--hairline); margin-top: 18px; }
  .report-stats div { padding: 14px 0 6px 14px; border-left: 1px solid var(--hairline); }
  .report-stats div:first-child { border-left: 0; padding-left: 0; }
  .report-stats b { display: block; font-family: Georgia, "Times New Roman", serif; font-size: 28px; font-weight: 500; line-height: 1; }
  .report-stats span { font-size: 12px; color: var(--muted); }
  .report-foot { display: flex; gap: 12px; align-items: center; padding: 12px 22px 18px; margin: 0; }
  .report-foot input { flex: 1; min-width: 0; }
  @media (max-width: 720px) {
    .report-stats { grid-template-columns: repeat(2, 1fr); }
    .report-stats div:nth-child(3) { border-left: 0; padding-left: 0; }
    .report-body { padding: 18px 18px 8px; }
  }
  .steps { position: fixed; inset: 0; z-index: 80; }
  .steps-backdrop { position: absolute; inset: 0; background: var(--overlay); }
  .steps-card {
    position: absolute; left: 248px; bottom: 24px; width: min(440px, calc(100vw - 32px));
    background: var(--card); border-radius: 14px; box-shadow: var(--shadow-panel); padding: 8px 8px 12px;
  }
  .steps-tour {
    display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border: 0; border-radius: 10px;
    background: none; color: var(--brand-ink); font: inherit; text-align: left; cursor: pointer;
  }
  .steps-tour:hover { background: var(--hover-wash); }
  .steps-play {
    display: inline-flex; flex: none; width: 30px; height: 30px; border-radius: 50%; align-items: center; justify-content: center;
    background: var(--tint); color: var(--accent-ink);
  }
  .steps-play svg { width: 12px; height: 12px; }
  .steps-tour-text { display: flex; flex-direction: column; flex: 1; min-width: 0; font-size: 13.5px; }
  .steps-tour-text span { font-size: 12.5px; color: var(--muted); }
  .steps-chev { color: var(--faint); font-size: 18px; }
  .steps-left { margin: 10px 12px 4px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
  .steps-list { list-style: none; margin: 0; padding: 0; }
  .steps-item { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-top: 1px solid var(--hairline); font-size: 13.5px; }
  .steps-tick {
    display: inline-flex; flex: none; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line);
    align-items: center; justify-content: center; font-size: 11px; color: var(--on-accent);
  }
  .steps-item.done .steps-tick { background: var(--signal-dim); border-color: var(--signal-dim); }
  .steps-item.done .steps-name { color: var(--muted); text-decoration: line-through; }
  .steps-name { flex: 1; min-width: 0; }
  .steps-go { border: 0; background: none; color: var(--accent-ink); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; padding: 2px 4px; }
  .steps-skip { border: 0; background: none; color: var(--faint); font: inherit; font-size: 12.5px; cursor: pointer; padding: 2px 4px; }
  .steps-skip:hover { color: var(--brand-ink); }
  @media (max-width: 720px) { .steps-card { left: 16px; right: 16px; width: auto; } }



  .course-sec { margin-top: 48px; }
  .tour-session .start-tick { border-color: var(--accent-ink); color: var(--accent-ink); }
  .tour-session .start-tick svg { width: 11px; height: 11px; }
  .tour-session .path-name { font-weight: 600; }









  .course { display: grid; gap: 8px; }
  .course-sec .ghost { margin-left: auto; }
  .path-session {
    background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius);
  }
  .path-head {
    display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px 16px;
    background: none; border: 0; color: inherit; font: inherit; text-align: left; cursor: pointer;
  }
  .path-head .start-tick { flex: none; margin-top: 0; }
  .path-name { flex: 1; min-width: 0; font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
  .path-session.done .path-name { color: var(--muted); font-weight: 500; }
  .path-time { font-size: 12.5px; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
  .start-tick.done { background: var(--mint); border-color: var(--mint); color: var(--signal-dim); }

  .lesson-grid {
    list-style: none; margin: 0; padding: 4px 16px 16px; display: grid; gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  .lesson {
    min-width: 0; overflow: hidden; background: var(--card); border: 1px solid var(--line);
    border-radius: var(--radius); transition: border-color .12s, transform .1s;
  }
  .lesson:hover { border-color: var(--brand-ink); transform: translateY(-2px); }
  .lesson.chosen { border-color: var(--accent-ink); box-shadow: inset 0 0 0 1px var(--accent-ink); transform: none; }
  .lesson-open {
    display: flex; flex-direction: column; gap: 5px; width: 100%; height: 100%; padding: 0 0 14px;
    background: none; border: 0; color: inherit; font: inherit; text-align: left; cursor: pointer;
  }
  .lesson-art {
    display: grid; place-items: center; aspect-ratio: 16 / 9; margin-bottom: 8px;
    background: color-mix(in srgb, var(--accent-ink) 8%, var(--fill-input)); color: var(--accent-ink);
    font-family: var(--mono); font-size: 24px; font-weight: 500; letter-spacing: .04em; opacity: .85;
  }
  .lesson-art img { width: 100%; height: 100%; object-fit: cover; }
  .lesson.done .lesson-art { background: var(--mint); color: var(--signal-dim); }
  .lesson-topic, .lesson-meta {
    padding: 0 14px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase;
  }
  .lesson-topic { color: var(--signal-dim); }
  .lesson-title { padding: 0 14px; font-size: 15px; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; text-wrap: balance; }
  .lesson-dek { padding: 0 14px; font-size: 13px; line-height: 1.5; color: var(--muted); flex: 1; }
  .lesson-meta { margin-top: 3px; color: var(--faint); text-transform: none; letter-spacing: .02em; font-size: 11px; }
  .lesson.done .lesson-title { color: var(--muted); font-weight: 600; }
  .lesson-panel {
    margin: 0 16px 16px; padding: 16px 18px; border: 1px solid var(--accent-ink); border-radius: var(--radius);
    background: var(--card);
  }
  .lesson-panel-title { margin: 0 0 8px; font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
  .lesson-panel ul { margin: 0 0 10px; padding-left: 18px; font-size: 14px; line-height: 1.55; }
  .lesson-panel li { margin: 0 0 3px; }
  .lesson-close { margin: 0 0 12px; font-size: 14px; line-height: 1.5; }
  .lesson-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; }




  .intro-past { margin: 30px 0 0; font-size: 15px; font-weight: 600; letter-spacing: -.01em; }



  .people-form { display: grid; grid-template-columns: 3fr 2fr; gap: 14px; }
  @media (max-width: 640px) { .people-form { grid-template-columns: 1fr; } }
  .people-vendors { margin: 8px 0 0; font-size: 13px; }
  .people-head { margin: 28px 0 8px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
  .people-head h2 { margin: 0; font-size: 16px; letter-spacing: -.01em; }
  .people-head .meta { margin: 0; }
  table.people.pickable td:first-child, table.people.pickable th:first-child { width: 28px; padding-right: 0; }
  table.people .pick { width: 16px; height: 16px; margin: 0; accent-color: var(--accent-ink); vertical-align: middle; }
  .people-bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 14px; }
  .people-bar .meta { margin: 0; }
  .people-bar .linky { margin-left: auto; }
  .people-recent { margin: 26px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--hairline); }
  .people-recent li { border-bottom: 1px solid var(--hairline); }
  .people-recent button {
    display: flex; width: 100%; gap: 12px; align-items: baseline; padding: 10px 2px; background: none; border: 0;
    font: inherit; text-align: left; cursor: pointer; color: inherit; border-radius: 6px;
  }
  .people-recent button:hover { background: var(--fill); }
  .people-recent button strong { font-weight: 600; }
  .people-recent button .meta { margin: 0; margin-left: auto; white-space: nowrap; }
  .people-recent button .roles { color: var(--muted); font-size: 13px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .intro-run { padding: 16px 0; border-bottom: 1px solid var(--hairline); }
  .intro-run:last-child { border-bottom: 0; padding-bottom: 0; }
  .intro-run-head { margin: 0 0 10px; font-size: 14.5px; }
  .intro-draft {
    margin: 8px 0 0; padding: 12px 14px; border-radius: 10px;
    background: var(--fill-input); font-size: 13.5px; line-height: 1.55;
    white-space: pre-wrap;
  }




  .net-introducers { margin: 0 0 26px; }
  .net-introducers h3 { margin: 0 0 10px; }
  .introducer .outcome-chips { margin-top: 10px; }
  .net-imports { margin: 0 0 26px; }
  .net-imports > summary { cursor: pointer; font-size: 13.5px; color: var(--muted); list-style: none; }
  .net-imports > summary::before { content: '▸ '; }
  .net-imports[open] > summary::before { content: '▾ '; }
  .net-imports .net-alt { margin-top: 0; }
  #intro-ask .combo { margin-top: 22px; }
  .intro-count { margin: 16px 0 8px; font-size: 14.5px; font-weight: 600; letter-spacing: -.01em; }
  .intro-count.muted { font-weight: 500; color: var(--muted); }
  #intro-first { width: 100%; margin-top: 18px; }
  .intro-quiet { margin: 16px 0 0; font-size: 13.5px; display: flex; gap: 18px; flex-wrap: wrap; }
  .intro-quiet .linky { color: var(--muted); }

  .path-chips { margin-top: 16px; }
  #view-intro .meta, .door-row .meta, .path-note { font-size: 13px; color: var(--muted); }
  .one-thing-head a.ghost { text-decoration: none; }

  .net-summary { margin: 4px 0 26px; }
  .net-tiles { margin-top: 0; grid-template-columns: repeat(4, 1fr); }
  @media (max-width: 640px) { .net-tiles { grid-template-columns: repeat(2, 1fr); } }
  .net-tiles .tile { background: var(--fill); }
  .tier-bar { display: flex; height: 10px; border-radius: 999px; overflow: hidden; margin-top: 16px; background: var(--fill); gap: 2px; }
  .tier-seg { display: block; min-width: 3px; }
  .tier-strong { background: var(--signal); }
  .tier-warm { background: color-mix(in srgb, var(--signal) 55%, #fff); }
  .tier-light { background: color-mix(in srgb, var(--signal) 28%, #fff); }
  .tier-unknown { background: color-mix(in srgb, var(--muted) 25%, transparent); }
  .tier-one-way { background: color-mix(in srgb, var(--bad) 45%, transparent); }
  .tier-legend { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; font-size: 12.5px; color: var(--muted); }
  .tier-key::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: 0; background: var(--muted); }
  .tier-key.tier-strong::before { background: var(--signal); }
  .tier-key.tier-warm::before { background: color-mix(in srgb, var(--signal) 55%, #fff); }
  .tier-key.tier-light::before { background: color-mix(in srgb, var(--signal) 28%, #fff); }
  .tier-key.tier-one-way::before { background: color-mix(in srgb, var(--bad) 45%, transparent); }
  .net-label { cursor: text; border-bottom: 1px dashed var(--line); }
  .net-rename { font: inherit; padding: 2px 6px; }
  .net-row-acts { display: flex; gap: 16px; }
  #view-network h1 .info-dot { vertical-align: middle; margin-left: 6px; }




  .door-row { padding: 18px 0; border-bottom: 1px solid var(--hairline); }
  .door-row:last-child { border-bottom: 0; padding-bottom: 0; }
  .door-row-head { margin: 0 0 10px; font-size: 15px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
  .door-mark {
    margin-left: auto; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px;
    background: var(--fill-input); color: var(--muted); white-space: nowrap;
  }
  .door-mark.pitched { background: var(--mint); color: var(--signal-dim); }
  .door-row-act { margin: 12px 0 0; }
  #intro-doors { margin-top: 4px; }






  .fr-rates { list-style: none; padding: 0; margin: 22px 0 0; }
  .fr-rate {
    display: flex; align-items: center; gap: 14px;
    padding: 11px 0; border-bottom: 1px solid var(--hairline);
  }
  .fr-rate:last-child { border-bottom: 0; }
  .fr-rate-who { flex: 1; min-width: 0; }
  .fr-rate-name { display: block; font-size: 15px; font-weight: 600; }
  .fr-rate-line { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }
  .fr-rate-pick { display: flex; gap: 6px; flex: none; }
  .rate-pick {
    min-width: 52px; padding: 7px 12px; font-size: 13.5px; font-weight: 600;
    border-radius: 999px; border: 1px solid var(--hairline);
    background: var(--card); color: var(--muted); cursor: pointer;
  }
  .rate-pick:hover { border-color: var(--brand-accent); color: var(--brand-ink); }


  .rate-pick.on {
    background: var(--brand-ink); border-color: var(--brand-ink); color: var(--on-ink);
  }
  .fr-learned { list-style: none; padding: 0; margin: 14px 0 0; }
  .fr-learned li {
    padding: 7px 0; font-size: 14.5px; line-height: 1.5;
    border-bottom: 1px solid var(--hairline);
  }
  .fr-learned li:last-child { border-bottom: 0; }
  @media (max-width: 520px) {
    .fr-rate { align-items: flex-start; }
  }






  .fr-added { text-align: center; padding: 30px 0 8px; }
  .fr-check { margin: 0; font-size: 13px; color: var(--brand-ink); font-weight: 600; }
  .fr-added .fr-name { margin-top: 8px; }
  .fr-added-where { margin: 8px 0 0; color: var(--muted); font-size: 14px; }



  .fr-progress {
    height: 3px; margin: 22px auto 0; max-width: 260px; border-radius: 999px;
    background: var(--hairline); overflow: hidden;
  }
  .fr-progress span {
    display: block; height: 100%; width: 0; border-radius: 999px;
    background: var(--brand-accent); transition: width .82s cubic-bezier(.22,.61,.36,1);
  }
  .fr-progress span.go { width: 100%; }
  @media (prefers-reduced-motion: reduce) {
    .fr-progress span { transition: none; }
    .fr-progress span.go { width: 100%; }
  }


  .linky {
    background: none; border: 0; padding: 0; font: inherit; cursor: pointer;
    color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px;
  }




  .start-upload { margin-top: 8px; }
  .hunt-form .start-upload { font-size: 13px; }




  .fr-foot {
    display: flex; align-items: center; gap: 12px;
    margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--hairline);
  }


  .fr-foot.bare { border-top: 0; padding-top: 0; margin-top: 0; }
  .fr-foot.bare:has(.meta:not(:empty)) { margin-top: 18px; }




  .account-nudge {
    display: flex; align-items: center; gap: 14px;
    margin: 0 0 18px; padding: 10px 12px 10px 16px;
    border: 1px solid var(--hairline); border-radius: 12px; background: var(--sand);
    font-size: 13.5px; color: var(--on-sand);
  }
  .account-nudge .ghost { margin-left: auto; flex-shrink: 0; }





  .shelf-task {
    display: flex; align-items: center; gap: 14px;
    margin: 0 0 4px; padding: 12px 12px 12px 16px;
    border: 1px dashed var(--line); border-radius: 12px;
    font-size: 13.5px; color: var(--muted);
  }
  .shelf-task .ghost { margin-left: auto; flex-shrink: 0; }
  @media (max-width: 560px) {
    .shelf-task { align-items: flex-start; flex-direction: column; gap: 10px; }
    .shelf-task .ghost { margin-left: 0; }
  }




  .partial {
    display: inline-flex; align-items: center; gap: 6px; font-size: 12px;
    padding: 3px 10px; border-radius: 999px; background: color-mix(in srgb, var(--warn) 12%, transparent);
    border: 1px solid color-mix(in srgb, var(--warn) 35%, transparent); color: var(--brand-ink);
  }



  .brief-foot { display: flex; gap: 10px; align-items: center; margin-top: 12px; }



  .sharpen-row {
    padding: 16px 0; border-top: 1px solid var(--hairline);
  }
  .sharpen-row:first-of-type { border-top: 0; }
  .sharpen-row textarea { margin-top: 10px; min-height: 64px; }
  .sharpen-row .sample { margin-top: 10px; }





















  .knows {
    background: var(--card); box-shadow: var(--shadow-soft);
    border-left: 3px solid var(--signal);
    border-radius: 4px var(--radius) var(--radius) 4px;
    padding: 20px 24px; margin-top: 22px;
  }
  .knows.editing {
    background: var(--fill-input); box-shadow: none;
    border: 1px solid var(--line); border-radius: var(--radius);
  }
  .knows.editing textarea { background: var(--card); }
  .types {
    background: var(--fill-input); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 18px 20px; margin-top: 22px;
  }
  .types textarea, .types input[type=text] { background: var(--card); }
  .knows-head {
    display: flex; align-items: baseline; justify-content: space-between;
    gap: 16px; flex-wrap: wrap; margin-bottom: 12px;
  }
  .knows-title { margin: 0; font-size: 15px; font-weight: 600; letter-spacing: 0; }





  #view-brief .what { font-weight: 600; font-size: 14px; }
  #view-brief .why { font-size: 13px; line-height: 1.55; color: var(--muted); }




  .know-meter { display: flex; align-items: center; gap: 10px; }
  .know-num { font-size: 14px; font-weight: 700; color: var(--signal-dim); font-variant-numeric: tabular-nums; }
  .know-bar { flex: 0 0 auto; width: 72px; height: 6px; border-radius: 999px; background: var(--sand); overflow: hidden; }
  .know-fill { height: 100%; border-radius: 999px; background: var(--signal); transition: width .4s ease; }
  .know-count { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }


  .task-card { background: var(--fill-input); border: 1px solid var(--line); border-radius: var(--radius); margin-top: 10px; }
  .task-card textarea, .task-card input[type=text] { background: var(--card); }
  .task-card.done { background: transparent; border-color: var(--hairline); }

  .task-card.stated { background: transparent; border: 0; }
  .task-head {
    display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
    background: none; border: 0; cursor: pointer; font: inherit; padding: 13px 18px; color: inherit;
  }
  .task-head.static { cursor: default; }
  .task-mark { color: var(--faint); font-size: 11px; transition: transform .15s; flex: 0 0 auto; }
  .task-mark.open { transform: rotate(90deg); }
  .task-tick {
    flex: 0 0 auto; width: 20px; height: 20px; border-radius: 50%; background: var(--mint);
    color: var(--signal-dim); font-size: 12px; display: inline-flex; align-items: center; justify-content: center;
  }
  .task-ask { flex: 1; font-weight: 600; font-size: 14px; }
  .task-card.done .task-ask { font-weight: 500; color: var(--muted); }
  .task-chip {
    font-size: 11px; font-weight: 600; font-variant-numeric: tabular-nums;
    background: var(--mint); color: var(--signal-dim);
    border: 1px solid color-mix(in srgb, var(--signal) 25%, transparent);
    border-radius: 999px; padding: 2px 9px; white-space: nowrap;
  }
  .task-meta { font-size: 11px; color: var(--faint); white-space: nowrap; }
  .task-body { padding: 0 18px 16px; }
  .task-body .sharpen-row { border-top: 0; padding: 0; }
  .task-body .sharpen-row > .what { display: none; }




  .brief-view { font-size: 14px; line-height: 1.6; }
  .brief-view p { margin: 8px 0; }
  .brief-view ul { margin: 8px 0; padding-left: 20px; }
  .brief-view .what:first-child { margin-top: 0 !important; }
  .brief-quote { border-left: 3px solid var(--sand); padding: 2px 0 2px 12px; color: var(--muted); font-size: 13px; margin: 8px 0; }






  .brief-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
  .brief-block h3 { margin: 0 0 4px; font-size: 14px; font-weight: 600; letter-spacing: -.01em; }
  .brief-block ul, .brief-top { margin: 0; padding-left: 18px; font-size: 14px; line-height: 1.55; }
  .brief-top { margin-bottom: 18px; }
  .brief-block li + li, .brief-top li + li { margin-top: 3px; }
  .brief-more { display: inline-block; margin-top: 6px; font-size: 12.5px; }






  .brief-blank { list-style: none; margin-left: -18px; padding-left: 18px; position: relative; }
  .brief-blank::before { content: '·'; position: absolute; left: 6px; color: var(--faint); }
  .brief-blank-ask {
    background: none; border: 0; padding: 0; font: inherit; color: var(--muted); text-align: left;
    cursor: pointer;
  }
  span.brief-blank-ask { cursor: default; }
  .brief-blank-ask:hover { color: var(--ink); }
  .brief-blank.open .brief-blank-ask { color: var(--ink); }
  .brief-blank-body { margin: 8px 0 12px; }
  .brief-blank-body .sharpen-row { border-top: 0; padding: 0; }
  .brief-blank-body .sharpen-row > .what { display: none; }


  .brief-state { margin: 0 0 14px; font-size: 13px; line-height: 1.55; color: var(--muted); }
  .brief-state.warn { color: var(--ink); }



  .brief-sources { margin-left: auto; font-size: 12.5px; color: var(--faint); }
  .brief-sources summary { cursor: pointer; list-style: none; }
  .brief-sources summary::before { content: '▸ '; }
  .brief-sources[open] summary::before { content: '▾ '; }




  #view-brief .linky, #view-hunt .linky { text-decoration: none; }
  #view-brief .linky:hover, #view-hunt .linky:hover { text-decoration: underline; text-underline-offset: 3px; }
  #view-brief details.more summary, #view-hunt details.more summary, #view-suppress details.more summary { color: var(--muted); font-weight: 500; }
  #view-brief details.more[open] summary, #view-hunt details.more[open] summary, #view-suppress details.more[open] summary { color: var(--ink); }
  .brief-sources summary::-webkit-details-marker { display: none; }
  .brief-sources ul { margin: 8px 0 0; padding-left: 18px; }
  .brief-foot { flex-wrap: wrap; }




  .hunt-label { display: block; margin: 0; font-size: 15px; font-weight: 600; letter-spacing: -.01em; line-height: 1.35; }
  .hunt-form .start-field textarea { margin-top: 10px; min-height: 56px; font-size: 14px; }
  .hunt-form .start-field textarea.hidden { display: none; }
  .hunt-form .start-field .examples-label { display: block; }
  .hunt-two { margin-top: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  @media (max-width: 820px) { .hunt-two { grid-template-columns: 1fr; } }
  .hunt-note { margin: 10px 0 0; font-size: 13px; }
  .hunt-never { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--hairline); }

  #view-suppress .hunt-never { margin-top: 12px; padding-top: 0; border-top: 0; }
  #view-suppress .hunt-never .start-actions { margin-top: 12px; }
  .hunt-never label.hunt-h { display: block; }
  .hunt-never textarea { margin-top: 8px; }
  .hunt-named { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--hairline); }
  .hunt-named details.more { margin-top: 12px; border-top: 0; padding-top: 0; }
  .hunt-form .chips.hidden { display: none; }
  .hunt-foot { margin-top: 22px; }
  .hunt-foot .linky { color: var(--muted); }

  .never-list li { background: var(--fill-input); }
  .never-list .pill { font-size: 11px; vertical-align: 1px; }

  details.danger-fold > summary { color: var(--bad); }
  .danger-fold .danger { margin-top: 12px; }



  .gate {
    max-width: 620px; margin: 6vh auto 0; padding: 44px 44px 40px; text-align: center;
  }
  .gate-mark { margin-bottom: 22px; }
  .gate-mark img { border-radius: 12px; }
  .gate .eyebrow { margin: 0; }
  .gate-title {
    font-size: 27px; line-height: 1.28; font-weight: 400; color: var(--muted);
    letter-spacing: -.02em; margin: 10px 0 0; text-wrap: balance;
  }
  .gate-title strong { font-weight: 700; color: var(--brand-ink); }
  .gate-sub { margin: 16px auto 0; max-width: 46ch; }


  .gate-contains {
    list-style: none; padding: 0; margin: 26px auto; max-width: 340px;
    text-align: left; border: 1px solid var(--hairline); border-radius: 12px;
    background: var(--sand); overflow: hidden;
  }
  .gate-contains li {
    padding: 10px 16px 10px 38px; font-size: 13.5px; position: relative;
    border-bottom: 1px solid var(--hairline);
  }
  .gate-contains li:last-child { border-bottom: 0; }
  .gate-contains li::before {
    content: '✓'; position: absolute; left: 16px; color: var(--signal); font-weight: 700;
  }

  .gate-cta {
    display: inline-block; text-decoration: none; background: var(--brand-accent);
    color: var(--on-accent); padding: 13px 26px; border-radius: 10px; font-weight: 600;
    transition: background .15s;
  }
  .gate-cta:hover { background: var(--coral-hover); }
  .gate-fine { font-size: 12.5px; color: var(--faint); margin: 22px auto 0; max-width: 42ch; }
  .dev-gate, .magic-gate { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--hairline); text-align: left; }
  .dev-gate h3, .magic-gate h3 { margin-bottom: 4px; }










  .research { display: block; margin-top: 22px; border-top: 1px solid var(--hairline); padding-top: 16px; }





  .research > .eyebrow { margin: 0; }
  .research > div { margin-top: 14px; }
  .top-right { display: flex; align-items: center; gap: 14px; justify-self: end; }
  .share-cta {
    display: inline-block; text-decoration: none; background: var(--brand-accent); color: var(--on-accent);
    padding: 9px 18px; border-radius: 10px; font-weight: 600; font-size: 13.5px; white-space: nowrap;
    transition: background .15s;
  }
  .share-cta:hover { background: var(--coral-hover); }
  .invite { text-align: center; }
  .invite .sub { max-width: 56ch; margin-left: auto; margin-right: auto; }
  .invite-actions {
    display: flex; gap: 20px; align-items: center; justify-content: center; flex-wrap: wrap; margin-top: 4px;
  }






  .researched-by {
    margin: 26px 0 0; text-align: center;
    font-size: 12px; color: var(--muted); letter-spacing: .01em;
  }
  .researched-by a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
  .researched-by a:hover { color: var(--ink); }





  .shelf { margin-bottom: 18px; }
  .shelf-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 10px; }
  .shelf-state { font-size: 12px; color: var(--faint); }















  .heartbeat.heartbeat { font-size: 14px; color: var(--brand-ink); animation: hb-breathe 1.4s ease-in-out infinite; }
  .heartbeat::before {
    content: ''; display: inline-block; width: 9px; height: 9px; border-radius: 50%;
    margin-right: 9px; vertical-align: -.05em; background: var(--signal);
    animation: hb-beat 1.4s ease-in-out infinite;
  }
  .heartbeat .meta { font-size: inherit; color: inherit; }

  .terminal .heartbeat.heartbeat { color: var(--term-ink); font-size: 13px; }
  @keyframes hb-beat {
    0%, 100% { transform: scale(1); }
    14% { transform: scale(1.45); }
    28% { transform: scale(1); }
    42% { transform: scale(1.3); }
    64% { transform: scale(1); }
  }
  @keyframes hb-breathe { 0%, 100% { opacity: 1; } 50% { opacity: .6; } }
  @media (prefers-reduced-motion: reduce) {
    .heartbeat.heartbeat, .heartbeat::before, .reading .what { animation: none; }
  }
  .tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }



  #shelf-tiles { display: contents; }
  .tile {
    background: var(--card); border: 0; border-radius: var(--radius);
    padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 10px;
    box-shadow: var(--shadow-soft);
  }













  .counter-abstract {
    margin-top: 18px; padding-left: 14px;
    border-left: 3px solid color-mix(in srgb, var(--signal) 45%, transparent);
    display: grid; gap: 8px;
  }


  .ab-row { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 14px; align-items: baseline; }
  .ab-label {
    font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
    color: var(--muted);
  }
  .ab-line { font-size: 15px; line-height: 1.45; }
  .ab-row.win .ab-label { color: var(--brand-ink); }
  .ab-row.win .ab-line { font-weight: 600; }
  @media (max-width: 560px) {
    .ab-row { grid-template-columns: 1fr; gap: 2px; }
  }

  .counter-cards {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 18px;
  }
  .counter-card {
    background: var(--card); border-radius: var(--radius);
    padding: 14px 16px 12px; box-shadow: var(--shadow-soft);
  }
  .counter-card-title {
    font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
    color: var(--muted); margin: 0 0 8px;
  }
  .counter-bullets { margin: 0; padding-left: 18px; display: grid; gap: 5px; }
  .counter-bullets li { font-size: 14px; line-height: 1.45; }



  .counter-legacy {
    font-size: 13.5px; line-height: 1.5; margin: 0; color: var(--muted);
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  }




  .counter-leads-head {
    display: flex; align-items: baseline; gap: 10px;
    margin: 34px 0 4px; padding-top: 20px; border-top: 1px solid var(--line);
  }
  .counter-leads-title {
    font-size: 20px; font-weight: 700; letter-spacing: -.015em; margin: 0; color: var(--brand-ink);
  }

  .counter-head-acts { display: flex; align-items: center; gap: 14px; }



  .counter-unique {
    margin: 10px 0 12px; font-size: 17px; line-height: 1.4; font-weight: 600;
    letter-spacing: -.01em; color: var(--brand-ink); max-width: 62ch;
  }

  .counter-leads-count {
    font-size: 13px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums;
  }


  .counter-card .more { margin-top: 10px; }
  .counter-card .more summary { font-size: 12.5px; }
  .counter-card .more p { font-size: 13.5px; line-height: 1.5; margin: 8px 0 0; }

  .tile-name {
    font-family: inherit; font-size: 16px; font-weight: 700; letter-spacing: -.01em;
    text-transform: none; margin: 0; color: var(--brand-ink);
  }




  .tile-score { font-size: 21px; font-weight: 700; line-height: 1; letter-spacing: -.02em; white-space: nowrap; font-variant-numeric: tabular-nums; }
  .tile-score.strong { color: var(--signal-dim); }
  .tile-score.promising { color: var(--brand-ink); }
  .tile-score.weak { color: var(--faint); }



  .tile-head { display: flex; align-items: baseline; gap: 10px; min-width: 0; }



  .tile-bet {
    font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
    color: var(--muted); background: color-mix(in srgb, var(--muted) 12%, transparent);
    border-radius: 999px; padding: 3px 8px; white-space: nowrap;
  }
  .tile-site { font-size: 12px; color: var(--muted); text-decoration: none; word-break: break-all; }
  .tile-site:hover { color: var(--brand-ink); text-decoration: underline; }




  .tile-moved {
    font-size: 12.5px; font-weight: 600; color: var(--brand-ink); text-decoration: none;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .tile-moved:hover { text-decoration: underline; }
  .tile-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }



  .tile-facts li {
    font-size: 12.5px; color: var(--muted); padding-left: 14px; position: relative;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .tile-facts li::before { content: '·'; position: absolute; left: 2px; color: var(--faint); font-weight: 700; }

  .tile-why {
    font-size: 13px; margin: 0;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  }



  .tile-from {
    font-size: 12.5px; color: var(--muted); margin: 0;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .fr-wrap .tile-from { margin-top: 10px; white-space: normal; overflow: visible; text-overflow: clip; font-size: 13.5px; }
  .tile-actions { margin-top: auto; display: flex; align-items: center; gap: 14px; padding-top: 6px; }






  .tile-go {
    padding: 7px 16px; font-size: 12.5px; font-weight: 700; border-radius: 999px;
    background: var(--tint); color: var(--accent-ink);
    border: 0; font-family: inherit; cursor: pointer; transition: background .15s;
  }
  .tile-go:hover { background: var(--tint-strong); }








  .tile-actions .tile-go, .tile-actions .ghost {
    padding: 7px 14px; font-size: 13px; font-weight: 600; border-radius: 8px; line-height: 1.3;
  }
  .tile-second { white-space: nowrap; }

  .tile-dismiss {
    margin-left: auto; width: 28px; height: 28px; border-radius: 8px; border: 0; background: transparent;
    color: var(--faint); font: inherit; font-size: 20px; line-height: 1; cursor: pointer; padding: 0;
    display: inline-flex; align-items: center; justify-content: center; transition: background .15s, color .15s;
  }
  .tile-dismiss:hover, .tile-dismiss[aria-expanded="true"] { background: var(--fill); color: var(--brand-ink); }
  .tile-dismiss[disabled] { opacity: .4; cursor: default; }

  .tile-why-remove .ghost { white-space: nowrap; }






  .signin { display: flex; justify-content: center; padding: 6vh 0 0; }
  .signin-card {
    width: 100%; max-width: 380px; background: var(--card); border: 0;
    border-radius: 16px; padding: 34px 32px 30px; text-align: center;
    box-shadow: var(--shadow-card);
  }
  .signin-mark { display: block; margin: 0 auto 18px; border-radius: 10px; }





  :root[data-theme="dark"] .signin-mark { box-shadow: 0 0 0 1px var(--border-mark); }
  .signin-title { font-size: 23px; letter-spacing: -.03em; margin: 0 0 4px; }
  .signin-sub { color: var(--muted); font-size: 14.5px; margin: 0 0 24px; }

  .signin-google {
    display: flex; align-items: center; justify-content: center; gap: 11px;
    width: 100%; box-sizing: border-box; padding: 12px 16px; background: var(--card);
    border: 1px solid var(--line); border-radius: 10px; color: var(--brand-ink);
    font-weight: 600; font-size: 14.5px; text-decoration: none;
    transition: border-color .15s, box-shadow .15s;
  }
  .signin-google:hover { border-color: var(--muted); box-shadow: 0 1px 6px rgba(0,0,0,.07); }
  .signin-g { width: 18px; height: 18px; flex: 0 0 auto; }



  .signin-or {
    display: flex; align-items: center; gap: 12px; margin: 22px 0 18px;
    font-size: 11.5px; font-weight: 500; color: var(--faint);
  }
  .signin-or::before, .signin-or::after {
    content: ''; flex: 1 1 auto; height: 1px; background: var(--line);
  }

  .signin-label {
    display: block; text-align: left; font-size: 13px; font-weight: 600; margin: 0 0 7px;
  }
  #view-signin input[type=email] { font-size: 14.5px; }
  .signin-submit { width: 100%; margin-top: 10px; padding: 12px 20px; font-size: 14.5px; }
  .signin-submit:hover { transform: none; }
  .signin-note {
    margin: 14px 0 0; padding: 12px 14px; background: var(--sand); border-radius: 10px;
    font-size: 13px; line-height: 1.5; color: var(--brand-ink); text-align: left;
  }
  .signin-fine {
    margin: 14px 0 0; font-size: 12px; line-height: 1.5; color: var(--faint); text-align: left;
  }







  .signin-passkey {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    width: 100%; box-sizing: border-box; margin-top: 10px; padding: 12px 16px;
    background: transparent; border: 1px solid var(--line); border-radius: 10px;
    color: var(--brand-ink); font: inherit; font-weight: 600; font-size: 14.5px;
    cursor: pointer; transition: border-color .15s, background .15s;
  }
  .signin-passkey:hover { border-color: var(--muted); background: var(--sand); }
  .signin-passkey svg { width: 18px; height: 18px; flex: 0 0 auto; }





  .welcome-field { text-align: left; margin-top: 18px; }
  .welcome-field label { display: block; font-size: 13.5px; font-weight: 600; margin: 0 0 6px; }
  .welcome-field .why { margin: 6px 0 0; font-size: 12.5px; line-height: 1.55; color: var(--muted); }
  .welcome-field input, .welcome-field select { width: 100%; box-sizing: border-box; font-size: 14.5px; }



  .phone-row { display: flex; gap: 8px; }
  .phone-row select { flex: 0 0 auto; width: auto; max-width: 46%; }
  .phone-row input { flex: 1 1 auto; min-width: 0; }




  .permits { margin-top: 18px; text-align: left; }
  .permits > .why { margin: 0 0 10px; font-size: 12.5px; line-height: 1.55; color: var(--muted); }
  .permit {
    display: flex; align-items: flex-start; gap: 10px; padding: 7px 0;
    font-size: 13.5px; line-height: 1.45; cursor: pointer;
  }
  .permit input[type=checkbox] {
    flex: 0 0 auto; width: 16px; height: 16px; margin: 1px 0 0; accent-color: var(--signal);
  }
  .permit .permit-what { font-weight: 600; }
  .permit .permit-why { display: block; margin-top: 1px; font-size: 12.5px; color: var(--muted); }
  .welcome-foot { display: flex; align-items: center; gap: 12px; margin-top: 24px; }
  .welcome-foot .spacer { flex: 1 1 auto; }


  .welcome-passkey {
    display: flex; align-items: center; gap: 12px; text-align: left;
    margin-top: 22px; padding: 14px 16px; background: var(--sand); border-radius: 10px;
  }
  .welcome-passkey .why { margin: 3px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
  .welcome-passkey .spacer { flex: 1 1 auto; }





  .welcome-concierge {
    display: flex; align-items: center; gap: 12px; text-align: left;
    margin-top: 22px; padding: 14px 16px; border-radius: 10px;
    background: color-mix(in srgb, var(--brand-accent) 7%, var(--sand));
    box-shadow: inset 3px 0 0 var(--brand-accent);
  }
  .welcome-concierge .why { margin: 3px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
  .welcome-concierge .spacer { flex: 1 1 auto; }


  .passkey-row {
    display: flex; align-items: center; gap: 12px; padding: 9px 0;
    border-bottom: 1px solid var(--line);
  }
  .passkey-row:last-of-type { border-bottom: 0; }
  .passkey-row .spacer { flex: 1 1 auto; }
  .passkey-row .meta { font-size: 12px; color: var(--faint); }





  .stage-picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; }
  .stage-pick {
    text-align: left; background: var(--card); border: 1px solid var(--line);
    border-radius: 10px; padding: 11px 13px; cursor: pointer; font: inherit;
    transition: border-color .15s, background .15s, box-shadow .15s;
  }
  .stage-pick:hover { border-color: var(--muted); }
  .stage-pick.chosen {
    border-color: color-mix(in srgb, var(--signal) 55%, transparent);
    background: var(--mint); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--signal) 35%, transparent);
  }
  .stage-pick .stage-label { display: block; font-weight: 600; font-size: 13.5px; }
  .stage-pick .stage-hint { display: block; margin-top: 3px; font-size: 12px; line-height: 1.45; color: var(--muted); }








  .outcome-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
  .outcome-chip {
    border: 1px solid var(--line); background: var(--card); color: var(--brand-ink);
    border-radius: 999px; padding: 6px 14px; font: inherit; font-size: 13px; cursor: pointer;
    transition: border-color .12s, background .12s, box-shadow .12s;
  }
  .outcome-chip:hover { border-color: var(--muted); }
  .outcome-chip.standing { background: var(--mint); border-color: color-mix(in srgb, var(--signal) 35%, transparent); color: var(--signal-dim); }
  .outcome-chip.chosen {
    background: var(--mint); color: var(--signal-dim);
    border-color: color-mix(in srgb, var(--signal) 55%, transparent);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--signal) 35%, transparent);
  }
  .chip-rule { width: 1px; height: 22px; background: var(--line); margin: 0 4px; }

  .item-open { display: block; width: 100%; text-align: left; font: inherit; color: inherit; background: var(--card); cursor: pointer; transition: border-color .12s; }
  .item-open:hover { border-color: var(--muted); }





  .sheet-section { margin-top: 26px; }
  .sheet-section > .eyebrow { display: block; margin-bottom: 9px; }
  .sheet-goal { margin: 0; font-size: 19px; line-height: 1.45; letter-spacing: -.015em; font-weight: 600; }
  .sheet-prose { margin: 0; font-size: 14.5px; line-height: 1.65; }
  .sheet-list { margin: 0; padding-left: 20px; font-size: 14px; line-height: 1.75; }
  .sheet-close {
    margin: 0; font-size: 15.5px; font-weight: 600; line-height: 1.5;
    border-left: 3px solid var(--signal); padding: 2px 0 2px 14px;
  }

  .tile.skeleton { pointer-events: none; }
  .sk {
    border-radius: 7px;
    background: linear-gradient(100deg, var(--sand) 40%, var(--sheen) 50%, var(--sand) 60%);
    background-size: 200% 100%;
    animation: sk-pulse 1.6s ease-in-out infinite;
  }
  .sk-name { height: 17px; width: 55%; margin-bottom: 14px; }
  .sk-line { height: 11px; width: 90%; margin-bottom: 9px; }
  .sk-line.short { width: 70%; }
  .sk-btn { height: 32px; width: 110px; border-radius: 100px; margin-top: 16px; }
  @keyframes sk-pulse { from { background-position: 180% 0; } to { background-position: -20% 0; } }
  @media (prefers-reduced-motion: reduce) { .sk { animation: none; } }


  .library-tools { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }


  .library-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
  .library-head .sub { margin-bottom: 14px; }

  .sort-row {
    display: flex; gap: 2px; background: var(--fill); border-radius: 9px; padding: 2px;
    flex: 0 0 auto;
  }
  .sort-row button {
    font: inherit; font-size: 12.5px; font-weight: 500; color: var(--brand-ink);
    background: none; border: 0; border-radius: 7px; padding: 5px 13px; cursor: pointer;
  }
  .sort-row button[aria-pressed="true"] { background: var(--thumb); font-weight: 600; box-shadow: var(--shadow-thumb); }



  .sort-row.tag-row { flex-wrap: wrap; width: fit-content; max-width: 100%; margin: 0 0 14px; }


  .sort-row.tag-row .add { color: var(--accent-ink); font-weight: 600; }


  .sort-row.tag-row.picking { position: sticky; top: 10px; z-index: 4; gap: 10px; padding: 5px 10px; }
  .sort-row.tag-row.picking .picked {
    font: 600 12.5px/1 "Public Sans", system-ui, sans-serif; color: var(--muted);
    align-self: center; padding-left: 3px;
  }
  .sort-row.tag-row.picking .go { color: var(--accent-ink); font-weight: 600; }
  .sort-row.tag-row.picking .go:disabled { color: var(--faint); font-weight: 500; cursor: default; }

  .item-head.picking { justify-content: flex-start; }
  .item-head.picking > .info { flex: 1; }
  .item-head .pick {
    accent-color: var(--accent-ink); width: 15px; height: 15px; margin: 0;
    flex: none; cursor: pointer; align-self: center;
  }

  .beast-body .list-name { margin-top: 10px; }



  .item.unread > .item-head strong { font-weight: 700; }
  .item.unread > .item-head strong::before {
    content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 999px;
    background: var(--brand-accent); margin-right: 8px; vertical-align: 2px;
  }
  .item-line { margin-top: 4px; font-size: 13.5px; color: var(--muted); }


















  .saved-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(400px, 1fr)); gap: 12px; }




  .saved-tile {
    display: flex; flex-direction: column; padding: 12px 14px;
    cursor: pointer; transition: box-shadow .15s ease, border-color .15s ease;
  }
  .saved-tile:hover, .saved-tile:focus-visible {
    border-color: color-mix(in srgb, var(--brand-accent) 45%, var(--line));
    box-shadow: var(--shadow-soft);
  }
  .saved-tile:focus-visible { outline: 2px solid var(--brand-accent); outline-offset: 2px; }


  .saved-tile .item-head { align-items: flex-start; }
  .saved-tile .info { min-width: 0; }


  .saved-tile .actions-menu > .ghost { padding: 3px 9px; line-height: 1.2; }




  .saved-tile .tile-foot {
    margin-top: auto; padding-top: 8px;
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
  }
  .saved-tile .tile-foot .meta { min-width: 0; }
  .saved-tile .tile-acts { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
  .saved-tile .tile-acts .outcome-pick { margin-left: 0; }


  .note-dump { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 13.5px; max-height: 260px; overflow-y: auto; }

  .reply-box { margin-top: 18px; padding: 16px 18px; border: 1px solid var(--hairline); border-radius: 12px; background: var(--fill-input); }
  .reply-box .reply-text { font-size: 15px; line-height: 1.55; max-height: none; }












  .fr-wrap { max-width: 760px; margin: 0 auto; }
  .fr-hero { text-align: center; padding: 26px 0 10px; }
  .fr-hero h1 { font-size: 34px; letter-spacing: -.03em; margin: 0 0 12px; }
  .fr-hero .sub { max-width: 48ch; margin: 0 auto 24px; font-size: 15.5px; }
  .fr-form { display: flex; gap: 10px; max-width: 520px; margin: 0 auto; }
  .fr-form input { flex: 1; }
  .fr-free { margin: 16px 0 0; font-size: 12.5px; color: var(--faint); }




  .fr-steps { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; }
  .fr-steps li { background: var(--card); padding: 12px 16px; display: flex; align-items: center; gap: 11px; font-size: 13.5px; color: var(--muted); }
  .fr-steps .fr-dot { width: 8px; height: 8px; border-radius: 999px; background: var(--line); flex: 0 0 8px; }
  .fr-steps li.done { color: var(--brand-ink); }
  .fr-steps li.done .fr-dot { background: var(--signal); }
  .fr-steps li.live { color: var(--brand-ink); }
  .fr-steps li.live .fr-dot { background: var(--signal); animation: fr-pulse 1.4s ease-in-out infinite; }
  .fr-steps li.locked { color: var(--faint); }
  .fr-steps li.locked .fr-dot { background: transparent; box-shadow: inset 0 0 0 1.5px var(--faint); }
  .fr-steps .fr-tag { margin-left: auto; font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--faint); }
  @keyframes fr-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
  @media (prefers-reduced-motion: reduce) { .fr-steps li.live .fr-dot { animation: none; } }

  .fr-block { margin-bottom: 18px; }
  .fr-block > h2 {
    font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase;
    color: var(--faint); margin: 0 0 10px; font-weight: 600;
  }
  .fr-read p { margin: 0 0 12px; font-size: 15px; }
  .fr-chips { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 14px; padding: 0; list-style: none; }
  .fr-chips li { font-size: 12px; color: var(--muted); background: var(--sand); border-radius: 999px; padding: 5px 11px; }
  .fr-signals { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
  .fr-signals li { font-size: 13.5px; color: var(--muted); padding-left: 16px; position: relative; }
  .fr-signals li::before { content: '·'; position: absolute; left: 3px; color: var(--faint); font-weight: 700; }




  .fr-goal { font-size: 19px; line-height: 1.45; letter-spacing: -.01em; margin: 0 0 12px; color: var(--brand-ink); }
  .fr-goal-edit { display: grid; gap: 10px; }
  .fr-goal-edit textarea { min-height: 74px; resize: vertical; }
  .fr-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }




  .fr-gate { border: 1px dashed var(--line); background: transparent; box-shadow: none; }
  .fr-gate h2 { color: var(--muted); }
  .fr-gate .fr-goal { font-size: 21px; }
  .fr-buys { list-style: none; margin: 14px 0 20px; padding: 0; display: grid; gap: 9px; }
  .fr-buys li { font-size: 14px; color: var(--muted); padding-left: 24px; position: relative; }
  .fr-buys li::before {
    content: ''; position: absolute; left: 2px; top: 6px; width: 9px; height: 9px;
    border-radius: 2px; background: var(--tint); box-shadow: inset 0 0 0 1.5px var(--accent-ink);
  }





  .fr-wrap .tile-facts li { white-space: normal; overflow: visible; text-overflow: clip; }
  .fr-wrap .tile-why { display: block; overflow: visible; }





  .fr-rival .fr-rival-name {
    font-family: inherit; font-size: 22px; font-weight: 700; letter-spacing: -.02em;
    text-transform: none; margin: 0 0 2px; color: var(--brand-ink);
  }
  .fr-rival .counter-leads-head { margin-bottom: 12px; }



  .fr-locked .ab-label, .fr-locked .ab-line { color: var(--faint); font-weight: 500; }
  .fr-clients { display: grid; gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; }
  .fr-client { background: var(--card); padding: 12px 15px; }
  .fr-client .tile-name { font-size: 15px; }
  .fr-client-why { margin: 4px 0 0; font-size: 13px; color: var(--muted); }
  .fr-client-src { display: inline-block; margin-top: 5px; font-size: 12px; color: var(--accent-ink); }
  .fr-client-src:hover { text-decoration: underline; }
  .fr-sources { margin-top: 18px; }
  .fr-sources ul { margin: 10px 0 0; }
  .fr-rival .fr-cost { text-align: left; margin-top: 18px; }

  .fr-keep { border-top: 1px solid var(--line); margin-top: 26px; padding-top: 20px; }
  .fr-keep .fr-form { margin: 0; max-width: none; }
  .fr-cost { font-size: 11.5px; color: var(--faint); margin: 26px 0 0; text-align: center; }

  @media (max-width: 720px) {
    .fr-hero h1 { font-size: 27px; }
    .fr-form { flex-direction: column; }
  }



  @media (max-width: 980px) {
    .rail { flex: 0 0 64px; width: 64px; }
    .rail .sb-label, .rail .count, .rail .sb-q,
    .rail .rail-email, .account-button .tenant { display: none; }
    .rail-new span { display: none; }
    .rail-new { margin: 4px 12px 10px; padding: 9px 0; }
    .rail .sb-item, .rail .rail-user { justify-content: center; padding: 8px 0; }
    .account-button { justify-content: center; padding: 10px 0; }
    .account-button .chev { margin-left: 0; }
    .account .menu { position: fixed; left: 70px; right: auto; top: 12px; width: 270px; }
  }
  @media (max-width: 860px) {
    .run-grid, .two-col { grid-template-columns: 1fr; }
    .tiles { grid-template-columns: 1fr; }
    .counter-cards { grid-template-columns: 1fr; }
    .band { grid-template-columns: repeat(2, 1fr); }
    .info-tip::after { width: 240px; }
  }



  .rail-open {
    display: none; position: fixed; top: 10px; left: 10px; z-index: 40;
    align-items: center; justify-content: center; width: 40px; height: 40px;
    border: 1px solid var(--hairline); border-radius: 12px;
    background: var(--card); color: var(--brand-ink); cursor: pointer;
    box-shadow: var(--shadow-card);
  }
  .fab {
    display: none; position: fixed; right: 14px; z-index: 40;
    bottom: calc(14px + var(--ppsc-inset, 0px));
    align-items: center; gap: 8px; padding: 12px 18px;
    border: 0; border-radius: 999px; cursor: pointer;
    background: var(--brand-accent); color: var(--on-accent); font: inherit; font-weight: 600;
    box-shadow: var(--shadow-panel);
  }

  @media (max-width: 720px) {
    main { padding: 18px 14px 44px; }
    .grid.two, .target-row, .how { grid-template-columns: 1fr; }
    .target-row .or { padding: 0; }
    h1 { font-size: 25px; }







    .rail {
      position: fixed; inset: 0 auto 0 0; z-index: 60;
      flex: 0 0 auto; width: min(300px, 86vw); height: 100%;
      transform: translateX(-100%);
      box-shadow: var(--shadow-panel);
    }
    .rail.open { transform: translateX(0); }
    @media (prefers-reduced-motion: no-preference) { .rail { transition: transform .22s ease; } }

    .rail .sb-label, .rail .count,
    .rail .rail-email, .account-button .tenant { display: revert; }
    .rail .count.hidden { display: none; }
    .rail-new { display: none; }
    .rail .sb-item, .rail .rail-user { justify-content: flex-start; padding: 9px 12px; }
    .account-button { justify-content: flex-start; padding: 12px 14px; }
    .account .menu { position: absolute; left: 10px; right: 10px; top: 58px; width: auto; }


    .rail .sb-item[data-view="new"] { display: none; }

    .rail-scrim { position: fixed; inset: 0; z-index: 50; background: rgba(0, 0, 0, .38); }
    .rail-open { display: inline-flex; }
    .fab { display: inline-flex; }




    .support.over-fab { --support-lift: 62px; }
  }

  .rail-open.hidden, .fab.hidden { display: none; }





















  .support {
    --support-lift: 0px;
    position: fixed; right: 14px; z-index: 45;
    bottom: calc(14px + var(--support-lift) + var(--ppsc-inset, 0px));
  }
  .support-launchers { display: flex; flex-direction: column; }
  .support-launcher {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; padding: 0;
    border: 1px solid var(--hairline); border-radius: 999px; cursor: pointer;
    background: var(--card); color: var(--brand-ink);
    box-shadow: var(--shadow-panel);
  }
  .support-launcher:hover { border-color: var(--muted); }
  .support-panel {
    position: absolute; right: 0; bottom: 58px;
    width: min(360px, calc(100vw - 28px)); background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow-panel);
    display: flex; flex-direction: column;
    overflow: hidden;
  }
  .support-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 14px 16px 12px; border-bottom: 1px solid var(--hairline); }
  .support-title { font-weight: 700; font-size: 15px; }
  .support-sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
  .support-close { border: 0; background: none; font-size: 20px; line-height: 1; color: var(--faint); cursor: pointer; padding: 2px 4px; }
  .support-close:hover { color: var(--brand-ink); }
  .support-log { padding: 14px 14px 6px; overflow-y: auto; max-height: min(46vh, 420px); min-height: 130px; display: flex; flex-direction: column; gap: 8px; }
  .support-msg { display: flex; }
  .support-msg.user { justify-content: flex-end; }
  .support-bubble {
    max-width: 85%; padding: 8px 12px; border-radius: 12px; font-size: 13.5px;
    line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere;
    background: var(--sand); color: var(--brand-ink);
  }
  .support-msg.user .support-bubble { background: var(--brand-ink); color: var(--on-ink); }

  .support-typing { color: var(--signal-dim); background: var(--mint); font-style: italic; }
  .support-mail { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 14px; border-top: 1px solid var(--hairline); background: var(--mint); }
  .support-mail-link { font-size: 13px; font-weight: 700; color: var(--signal-dim); text-decoration: none; }
  .support-mail-link:hover { text-decoration: underline; }


  .support-link {
    border: 0; background: none; padding: 0; cursor: pointer; display: inline;
    font: inherit; color: var(--accent-ink); font-weight: 700; text-decoration: underline;
  }

  .support-noted { font-size: 11.5px; color: var(--signal-dim); padding: 0 4px; }
  .support-ask { display: flex; gap: 8px; padding: 10px 14px; border-top: 1px solid var(--hairline); }
  .support-ask input { flex: 1; min-width: 0; }
  .support-foot { display: flex; padding: 0 14px 10px; }
  .support-feedback-open {
    border: 0; background: none; padding: 0; cursor: pointer;
    font: 600 12px/1.4 var(--studio-font); color: var(--muted);
  }
  .support-feedback-open:hover { color: var(--brand-ink); }



  .feedback-form { display: flex; flex-direction: column; gap: 10px; padding: 12px 14px 10px; border-top: 1px solid var(--hairline); }
  .feedback-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
  .feedback-title { font-weight: 700; font-size: 13px; }
  .feedback-form textarea { resize: vertical; min-height: 68px; }
  .feedback-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
  .feedback-screen { font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }


  .admin-transcript { margin-top: 4px; }
  details.item > summary { cursor: pointer; font-size: 13px; }








  .tour { position: fixed; inset: 0; z-index: 80; }
  .tour-backdrop { position: absolute; inset: 0; background: var(--overlay); }
  .tour-ring {
    position: absolute; border: 2px solid var(--accent-ink); border-radius: 12px;
    box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent-ink) 25%, transparent);
    pointer-events: none; transition: all .25s ease;
  }
  .tour-card {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: min(440px, calc(100vw - 32px)); background: var(--card);
    border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow-overlay);
    padding: 24px 26px 20px; text-align: left;



    --verb: var(--brand-accent);
    border-top: 3px solid var(--verb);
  }



  .tour-card.anchored {
    transform: none;
    transition: left .25s ease, top .25s ease;
  }
  .tour-count { font-size: 11.5px; font-weight: 600; color: var(--faint); }

  .tour-chapter { display: inline-flex; align-items: center; gap: 6px; color: var(--verb); }
  .tour-chapter .verb-swatch { width: 9px; height: 9px; border-radius: 2px; }


  .tour-title { margin: 10px 0 0; font-size: 22px; font-weight: 650; letter-spacing: -.02em; line-height: 1.2; }
  .tour-body { margin: 10px 0 0; font-size: 15px; line-height: 1.5; color: var(--ink); }
  .tour-again { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 13.5px; cursor: pointer; }
  .tour-again input { accent-color: var(--accent-ink); width: 16px; height: 16px; }
  .tour-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; }
  .tour-dots { display: flex; gap: 6px; }
  .tour-dots i { width: 7px; height: 7px; border-radius: 999px; background: var(--line); display: block; transition: background .2s; }
  .tour-dots i.on { background: var(--verb); }
  .tour-actions { display: flex; gap: 8px; }
  .tour-skip { display: block; margin: 16px auto 0; font-size: 12.5px; color: var(--faint); }
  .tour-skip:hover { color: var(--brand-ink); }
  @media (max-width: 720px) {



    .tour-card, .tour-card.anchored {
      top: auto !important; bottom: 14px; left: 50% !important;
      transform: translateX(-50%); transition: none;
    }
  }

















  @media print {
    @page { margin: 14mm; }


    html, body { background: #fff; }
    body { -webkit-print-color-adjust: exact; print-color-adjust: exact; }


    .rail, .top, footer, #banners, .tabs, .subtabs, .invite, .support, .tour,
    .head-actions, .panel-head .spacer ~ *, .pencil, .info-tip,
    .more, .beast, .gate, .magic-gate, .dev-gate,
    button, select, textarea, input, label.check { display: none !important; }
    main { max-width: none; padding: 0; }
    .card {
      background: transparent; border: 0; box-shadow: none;
      padding: 0 0 18px; margin: 0 0 14px;
    }


    .slide, .stack .item, .result-head, .email-card { break-inside: avoid; }





    @page slides { size: A4 landscape; margin: 12mm; }
    .deck > .block, .deck > .slide {
      page: slides; break-after: page; break-inside: avoid;
    }
    .deck > .block:last-child, .deck > .slide:last-child { break-after: auto; }
    .deck .slide {
      min-height: 160mm; display: flex; flex-direction: column;
      padding: 22px 24px; border-radius: 0;
    }
    .deck .slide h4 { font-size: 30px; }
    .deck .slide.is-hero h4 { font-size: 34px; }

    .deck .slide .tiles { margin-top: auto; }


    .one-pager { box-shadow: none; border-radius: 0; padding: 0; max-width: none; break-inside: avoid; }



    .grounded-line { display: none !important; }
    mark.grounded { background: transparent; box-shadow: none; }
    a { color: inherit; }



    .researched-by {
      margin-top: 18px; padding-top: 10px; border-top: 1px solid #d9d9de;
      color: #6e6e73; break-inside: avoid;
    }
  }
