
  :root {
    --bg: #ffffff; --fg: #17163a; --muted: #5f5e7a; --line: #e6e5f0; --card: #f5f4fb;
    --accent: #785EF0; --accent-ink: #ffffff; --accent-text: #5a3fd6; --ok: #1f8a5b;
    --paper: #ffffff; --paper-fg: #1f1a17; --paper-line: #ece9e4;
    --shadow: 0 -8px 30px rgba(23, 22, 58, 0.10);
    --display: 'Nunito', ui-rounded, 'SF Pro Rounded', system-ui, -apple-system, 'Segoe UI', sans-serif;
  }
  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
      --bg: #121228; --fg: #f3f2fa; --muted: #aeadc6; --line: #2b2b4b; --card: #1c1c3a;
      --accent: #9b86ff; --accent-ink: #121228; --accent-text: #b9a9ff; --ok: #5fd39c; --shadow: 0 -8px 30px rgba(0, 0, 0, 0.45);
      color-scheme: dark;
    }
  }
  :root[data-theme="dark"] {
    --bg: #121228; --fg: #f3f2fa; --muted: #aeadc6; --line: #2b2b4b; --card: #1c1c3a;
    --accent: #9b86ff; --accent-ink: #121228; --accent-text: #b9a9ff; --ok: #5fd39c; --shadow: 0 -8px 30px rgba(0, 0, 0, 0.45);
    color-scheme: dark;
  }
  html, body { height: 100%; }
  body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--display); font-size: 17px; line-height: 1.4; -webkit-font-smoothing: antialiased; overflow: hidden; }
  * { box-sizing: border-box; }
  button { font: inherit; color: inherit; }
  h1, h2, h3 { margin: 0; text-wrap: balance; }
  p { margin: 0; }
  /* Fixed values that were style attributes (#128): the teammate copy of this
     page runs under a policy that allows no inline style. Values worked out at
     run time are set through the CSS object model instead (paintCss in the
     script). An inline style beat every normal rule, so each of these is
     !important, and they come first, so a later !important rule still beats
     them, as it beat the inline style. */
  .pt-6 { padding-top: 6px !important; } .pt-8 { padding-top: 8px !important; } .pt-10 { padding-top: 10px !important; } .pt-12 { padding-top: 12px !important; } .pt-16 { padding-top: 16px !important; } .pt-24 { padding-top: 24px !important; }
  .mt-8 { margin-top: 8px !important; } .mt-12 { margin-top: 12px !important; } .mt-14 { margin-top: 14px !important; } .mt-16 { margin-top: 16px !important; } .mb-6 { margin-bottom: 6px !important; }
  .ta-c { text-align: center !important; } .br-50 { border-radius: 50% !important; }
  .sz-24 { width: 24px !important; height: 24px !important; } .sz-28 { width: 28px !important; height: 28px !important; } .sz-36 { width: 36px !important; height: 36px !important; }
  .iv-sub { padding-left: 34px !important; } .iv-lab { font-size: 14.5px !important; }
  .pr-stack { display: flex !important; flex-direction: column !important; gap: 10px !important; }

  #app { height: 100%; display: flex; flex-direction: column; }
  .screen { height: 100%; display: flex; flex-direction: column; min-height: 0; }
  /* Settings as a modal over the app (item 47, Iris's settingsmodal board). */
  .smodal { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; } .smodal[hidden] { display: none; }
  .sm-dim { position: absolute; inset: 0; background: rgba(23, 22, 58, .52); }
  .sm-box { position: relative; display: flex; flex-direction: column; width: min(860px, calc(100% - 48px)); max-height: calc(100% - 80px); min-height: 0; background: var(--bg); border-radius: 20px; box-shadow: 0 24px 70px rgba(23, 22, 58, .35); overflow: hidden; }
  .sm-hd { display: flex; align-items: center; gap: 12px; padding: 14px 16px 0 24px; flex: 0 0 auto; } .sm-t { margin: 0; flex: 1; font-size: 24px; font-weight: 900; }
  .sm-x { min-width: 44px; min-height: 44px; border: 0; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 4px; padding: 0 14px; font: inherit; font-size: 14.5px; font-weight: 700; background: #f1effb; color: #17163a; cursor: pointer; } .sm-x svg { width: 18px; height: 18px; fill: currentColor; }
  .sm-tabs { display: flex; gap: 4px; align-items: flex-end; padding: 10px 24px 0; border-bottom: 1px solid var(--line); flex: 0 0 auto; }
  .sm-tab { align-self: stretch; flex: 1 1 0; min-width: 0; min-height: 44px; padding: 0 8px; border-radius: 10px 10px 0 0; display: inline-flex; align-items: center; justify-content: center; text-align: center; font: inherit; font-size: 15px; font-weight: 700; color: var(--muted); background: none; border: 0; cursor: pointer; }
  .sm-tab[aria-selected="true"] { color: var(--fg); background: color-mix(in srgb, var(--accent) 12%, var(--bg)); box-shadow: inset 0 -3px 0 var(--accent); }
  .sm-tab:focus-visible, .sm-x:focus-visible { outline: 2px solid #4b3bb0; outline-offset: 2px; }
  .sm-desc { margin: 12px 0 0; font-size: 14px; line-height: 1.45; color: var(--muted); }
  /* Settings › Personal Staff (Iris, staff-screens v11 section 5). */
  .ss-done { margin-top: 16px; padding: 14px 16px; border: 1px solid #b7e3c9; border-radius: 12px; background: var(--bg); display: flex; flex-direction: column; gap: 4px; } .ss-done:focus { outline: none; } .ss-done:focus-visible { outline: 2px solid #4b3bb0; outline-offset: 2px; }
  .ss-first .ss-what { flex-basis: 100%; text-align: left; min-height: 44px; font-size: 14px; font-weight: 600; color: #5a3fd6; }
  .ss-intro { margin-top: 16px; } .ss-intro .ss-h { display: block; font-size: 16px; font-weight: 800; } .ss-intro .ss-h:focus { outline: none; } .ss-intro p { margin: 10px 0 0; line-height: 1.5; } .ss-intro p.small { color: var(--muted); }
  .ss-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 16px; } .ss-acts .btn, .ss-acts .link { min-height: 44px; }
  .sm-panel #claude-accts .rowh { font-size: 13px; font-weight: 800; color: var(--muted); margin: 16px 0 6px; }
  .sm-panel #claude-pod .rowh { display: none; } /* the tab's own Claude heading already names the card */
  .sm-panel .place { flex-wrap: wrap; } .sm-panel .place > div { flex: 1 1 11em; min-width: 0; } /* at large text the button stacks under the words */
  .su-banner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 12px; padding: 10px 12px; border-radius: 14px; background: color-mix(in srgb, var(--accent) 12%, var(--bg)); font-weight: 800; font-size: 14.5px; } .su-banner[hidden] { display: none; } .su-banner span { flex: 1 1 11em; min-width: 0; } .su-banner button { min-height: 44px; padding: 0 18px; }
  .sm-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 4px 24px 20px; } .sm-body .wrap { padding: 0; max-width: none; display: grid; align-content: start; } .sm-panel[hidden] { display: none; }
  /* The three tabs sit in one cell, so the box is always as tall as the tallest one and never changes size between them (Josh, Nov 17). The window caps it and the body scrolls. */
  .sm-body .wrap > .sm-panel { grid-area: 1 / 1; min-width: 0; } .sm-body .wrap > .sm-panel.sm-off { visibility: hidden; pointer-events: none; }
  @media (max-width: 700px) { .smodal { align-items: flex-end; } .sm-box { width: 100%; height: calc(100% - 28px); max-height: none; border-radius: 20px 20px 0 0; } .sm-hd { padding-left: 16px; } .sm-tabs { padding: 10px 10px 0; } .sm-tab { font-size: 14.5px; } .sm-body { padding: 4px 16px 24px; } }
  @media (forced-colors: active) { .sm-box { border: 1px solid CanvasText; } .sm-tab[aria-selected="true"] { border-bottom: 3px solid Highlight; } .sm-x { border: 1px solid ButtonText; } }
  [hidden], .screen[hidden] { display: none !important; }
  .body { flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; }
  .wrap { width: 100%; max-width: 460px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .foot { background: var(--bg); box-shadow: var(--shadow); border-top: 1px solid var(--line); }
  .foot .wrap { padding-block: 12px 14px; display: flex; flex-direction: column; gap: 10px; }
  .foot:empty, .foot .wrap:empty { display: none; }

  .top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-block: 14px 6px; padding-right: 44px; }
  .brand { display: flex; align-items: center; gap: 8px; font-weight: 900; font-size: 20px; }
  /* No dot beside the name: a purple dot means podmates are working, and nothing else (Josh, Nov 16). */
  .brand i { display: none; }
  .tag { font-size: 12px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; white-space: nowrap; }

  .h1 { font-size: 32px; line-height: 1.1; font-weight: 900; letter-spacing: -0.02em; }
  .h2 { font-size: 24px; line-height: 1.15; font-weight: 900; letter-spacing: -0.01em; }
  .lead { font-size: 17px; color: var(--muted); font-weight: 700; }
  .small { font-size: 13px; color: var(--muted); font-weight: 700; }
  .label { font-size: 12.5px; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }

  .btn { width: 100%; border: 0; border-radius: 999px; padding: 15px 18px; font-weight: 900; font-size: 17px; background: var(--accent); color: var(--accent-ink); cursor: pointer; transition: transform 120ms ease; }
  .btn:active { transform: scale(0.98); }
  .btn.ghost { background: transparent; color: var(--fg); border: 2px solid var(--line); }
  .btn[disabled] { opacity: 0.45; cursor: default; }
  .btn:focus-visible, .chip:focus-visible, .pick:focus-visible, .card:focus-visible, .opt:focus-visible, .tab:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
  .row { display: flex; gap: 10px; }
  .row .btn { flex: 1; }
  .field { display: flex; flex-direction: column; gap: 6px; }
  .field label { font-size: 13px; font-weight: 800; color: var(--muted); }
  .field input { font: inherit; font-weight: 800; font-size: 18px; padding: 12px 14px; border-radius: 14px; border: 2px solid var(--line); background: var(--bg); color: var(--fg); width: 100%; }
  .field input:focus { outline: none; border-color: var(--accent); }
  .field input::placeholder { color: var(--muted); opacity: 0.7; font-weight: 700; }

  /* Teammates are illustrated people: a face, hair, and a shirt in their own color. */
  .av { --c: var(--accent); display: inline-block; flex: 0 0 auto; border-radius: 50%; overflow: hidden; background: color-mix(in srgb, var(--c) 20%, var(--bg)); }
  .av svg { display: block; width: 100%; height: 100%; }
  .av.working { animation: breathe 2.2s ease-in-out infinite; box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 35%, var(--bg)); }
  @keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
  .ai { font-size: 12px; font-weight: 900; color: var(--muted); letter-spacing: 0.02em; }

  .pop { opacity: 0; transform: translateY(10px); animation: pop 420ms cubic-bezier(.2,.9,.3,1.2) forwards; }
  @keyframes pop { to { opacity: 1; transform: none; } }
  .opt { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; background: var(--card); border: 0; width: 100%; text-align: left; font-weight: 800; font-size: 16px; cursor: pointer; }
  .opts { display: flex; flex-direction: column; gap: 10px; padding-block: 12px 24px; }
  .opt .d { display: block; font-size: 14px; color: var(--muted); font-weight: 700; margin-top: 2px; }
  .opt .dot { --c: var(--accent); width: 14px; height: 14px; border-radius: 50%; background: var(--c); flex: 0 0 auto; }
  .onpc { display: flex; gap: 10px; align-items: flex-start; background: var(--card); border-radius: 16px; padding: 12px 14px; font-size: 14px; font-weight: 700; color: var(--muted); margin-top: 12px; }
  .onpc b { color: var(--fg); }
  .onpc i { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); flex: 0 0 auto; margin-top: 5px; }
  .leaders { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .leader { background: var(--card); color: var(--fg); border: 2px solid transparent; border-radius: 20px; padding: 16px 12px; display: flex; flex-direction: column; align-items: center; gap: 8px; font: inherit; font-weight: 900; font-size: 18px; cursor: pointer; }
  .leader .line { font-size: 13.5px; font-weight: 700; color: var(--muted); text-align: center; line-height: 1.3; }
  .leader:hover, .leader:focus-visible { border-color: var(--accent); outline: none; }
  @media (min-width: 900px) { .wrap { max-width: 760px; } .leaders { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
  .onpc { background: none; padding: 0; margin-top: 6px; font-size: 13.5px; }
  body { overflow: auto; }
  .wrap { padding-bottom: 32px; }
  /* 32 px of clear space under the last message, above the message box (Josh, Nov 16). */
  #chat-body > .wrap { padding-bottom: 16px; }
  .stack-v { display: flex; flex-direction: column; gap: 14px; padding-top: 14px; }
  .steps { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; font-weight: 700; }
  .steps b { font-weight: 900; }
  .err { color: #c0392b; font-weight: 800; font-size: 15px; }
  .err:empty { display: none; }
  /* A podmate message that did not send is a plain slate line, not an alarm. */
  .err.soft { color: var(--fg); font-weight: 600; font-size: 14px; }
  .slack { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; border-radius: 999px; padding: 15px 18px; font-weight: 900; font-size: 17px; background: #4A154B; color: #fff; text-decoration: none; }
  .person { background: var(--card); border-radius: 20px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
  .person .nm { font-weight: 900; font-size: 18px; }
  .acct { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--bg); border-radius: 14px; padding: 10px 12px; font-weight: 800; }
  .acct .st { font-size: 13px; color: var(--muted); font-weight: 800; }
  .acct .st.ok { color: var(--ok); }
  .toggle { border: 2px solid var(--line); background: var(--bg); border-radius: 999px; padding: 6px 14px; font-weight: 900; cursor: pointer; }
  .toggle.on { background: var(--ok); border-color: var(--ok); color: #fff; }
  .link { background: none; border: 0; padding: 0; color: var(--accent); font-weight: 900; cursor: pointer; text-decoration: underline; }
  .top .back { margin-right: auto; }
  .leader.own { border: 2px dashed color-mix(in srgb, var(--accent) 55%, var(--line)); background: var(--bg); }
  .plus { width: 64px; height: 64px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 14%, var(--bg)); display: grid; place-items: center; }
  .plus svg { width: 30px; height: 30px; fill: var(--accent); }
  @media (max-width: 600px) {
    #s-hello .hello { gap: 10px; padding-top: 6px; }
    #s-hello .leaders { gap: 8px; }
    #s-hello .leader { padding: 8px 6px; gap: 3px; border-radius: 14px; font-size: 13.5px; }
    #s-hello .leader .av { width: 40px !important; height: 40px !important; }
    #s-hello .leader .line { font-size: 11px; line-height: 1.25; }
    #s-hello .lead { font-size: 14.5px; }
    #s-hello .more-row .link { font-size: 14px; }
  }
  .more-row { display: flex; justify-content: center; gap: 20px; padding-top: 4px; }
  .more-row .link { font-size: 16px; text-decoration: none; }
  .nav { display: flex; justify-content: space-between; align-items: center; padding-block: 14px 4px; font-weight: 800; font-size: 15px; color: var(--muted); }
  .prev { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px 0 14px; border-bottom: 1px solid var(--line); }
  .prev .n { font-weight: 900; font-size: 20px; }
  .prev .n.ph0 { color: var(--muted); }
  .prev .l { font-size: 14px; font-weight: 700; color: var(--muted); text-align: center; max-width: 280px; line-height: 1.3; }
  .sec { padding-top: 16px; display: flex; flex-direction: column; gap: 10px; }
  .sws { display: grid; grid-template-columns: repeat(10, 1fr); gap: 5px; }
  .sws.hc { grid-template-columns: repeat(8, 1fr); }
  .sws.eleven { grid-template-columns: repeat(11, 1fr); }
  .leader:hover { border-color: var(--line); }
  .leader:focus-visible, .leader.is-current { border-color: var(--accent); }
  .leader .tag.current { color: var(--accent); border-color: var(--accent); }
  .swap { display: block; margin: 4px 0 0; font-size: 14px; }
  .sw { aspect-ratio: 1; border-radius: 50%; border: 0; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); padding: 0; cursor: pointer; }
  .sw.on { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--accent); }
  .tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
  .tiles.four { grid-template-columns: repeat(4, 1fr); }
  .tile { background: var(--card); border: 2px solid transparent; border-radius: 16px; padding: 6px 0 4px; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11.5px; font-weight: 800; color: var(--muted); cursor: pointer; }
  .tile.on { border-color: var(--accent); color: var(--fg); }
  .seg { display: flex; background: var(--card); border-radius: 999px; padding: 4px; gap: 4px; }
  .seg button { flex: 1; text-align: center; padding: 9px 6px; border-radius: 999px; font-weight: 800; font-size: 14.5px; color: var(--muted); background: none; border: 0; cursor: pointer; }
  .seg button.on { background: var(--bg); color: var(--fg); box-shadow: 0 1px 4px rgba(23,22,58,.14); }
  .strip { display: flex; align-items: center; gap: 8px; background: var(--card); border-radius: 999px; padding: 5px 10px 5px 6px; font-size: 13px; font-weight: 800; color: var(--muted); margin-top: 8px; }
  .faces { display: flex; } .faces .av { margin-left: -6px; box-shadow: 0 0 0 2px var(--card); } .faces .av:first-child { margin-left: 0; }
  #chat-talk { margin-top: 12px; }
  #chat-talk .talk-h .link { font-size: 13px; text-decoration: none; }
  .chips { display: flex; flex-wrap: wrap; gap: 8px; }
  .chip { background: var(--card); border: 0; border-radius: 999px; padding: 0 14px; min-height: 44px; font-weight: 800; font-size: 15px; cursor: pointer; }
  .chip.on { background: color-mix(in srgb, var(--accent) 16%, var(--bg)); box-shadow: inset 0 0 0 2px var(--accent); }
  .pers { padding-block: 0; }
  .pers .opt { border: 2px solid transparent; font-weight: 700; font-size: 15px; }
  .pers .opt.on { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, var(--bg)); }
  .rd { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line); flex: 0 0 auto; }
  .pers .opt.on .rd { border: 6px solid var(--accent); }
  .field textarea { font: inherit; font-weight: 700; font-size: 15px; padding: 12px 14px; border-radius: 14px; border: 2px dashed var(--line); background: var(--bg); color: var(--fg); resize: none; }
  .field label { display: flex; justify-content: space-between; }
  .hero-av .edit { margin-left: auto; font-size: 14px; }
  .hero-av.small .av { width: 36px !important; height: 36px !important; }
  .chat { display: flex; flex-direction: column; gap: 10px; padding-block: 8px 16px; }
  .chat .row { display: flex; gap: 8px; align-items: flex-end; }
  .chat .row.me { justify-content: flex-end; }
  /* A run is one speaker's messages in a row. Tight inside it, more space when the speaker changes. */
  :root { --run-in: 4px; }
  .chat .row.msgrun { align-items: flex-start; }
  .chat .row.msgrun.run-start { margin-top: calc(var(--run-gap) - 10px); }
  .chat .row.msgrun.run-cont { margin-top: calc(var(--run-in) - 10px); }
  .chat .row.msgrun .avsp { width: 32px; flex: 0 0 32px; }
  .chat .row.msgrun, .chat .row.msgrun:not(.me) { gap: 8px; }
  @media (min-width: 768px) { .chat .row.msgrun, .chat .row.msgrun:not(.me) { gap: 10px; } }
  .chat .row.msgrun .who { font-size: 13px; font-weight: 600; }
  .chat .row.msgrun > .pic { position: relative; width: 32px; height: 32px; flex: 0 0 32px; } .chat .row.msgrun > .pic > .pm, .chat .row.msgrun > .pic > .cinit { width: 32px; height: 32px; display: grid; }
  .chat .row.msgrun > .pm, .chat .row.msgrun > .cinit { width: 32px; height: 32px; flex: 0 0 32px; }
  .chat .row.msgrun .who { color: var(--fg); }
  .chat .who .role { display: block; color: var(--muted); font-weight: 500; font-size: 13px; line-height: 1.3; }
  /* An app's posts (Wren, Nov 17): Slack's logo in the 32 px circle, the time beside the name, and a collapsed run is the whole bubble as one button. */
  .av.app-av { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line); box-sizing: border-box; flex: none; overflow: hidden; }
  .av.app-av svg { width: 18px; height: 18px; } img.av.app-av { object-fit: cover; }
  .chat .row.app-row .who .role { display: inline; margin-left: 6px; }
  .chat .bubble.app-run { display: block; border: 0; font-family: inherit; color: inherit; text-align: left; cursor: pointer; min-height: 0; }
  .chat .bubble.app-run:hover { background: color-mix(in srgb, var(--accent) 8%, var(--bubble, #f3f1fb)); }
  .chat .bubble.app-run:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
  @media (max-width: 699px) { .chat .bubble.app-run { min-height: 44px; } }
  .chat .bubble { max-width: 82%; background: var(--card); border-radius: 18px 18px 18px 6px; padding: 10px 13px; font-size: 16px; line-height: 1.38; font-weight: 600; white-space: pre-wrap; overflow-wrap: break-word; }
  /* The leader's bubble sits in a column that fits its content, so its
     width cap goes on the column. A cap of 82% of a fit-content parent
     broke short words such as "done:" mid-word (Probe). */
  .chat .row > .col { max-width: 82%; min-width: 0; }
  .chat .col .bubble { max-width: none; }
  /* The crew's screenshots, shown with the message (adapters/mirror.ts). */
  .chat .shots { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; max-width: 680px; }
  .chat .shots a, .chat .shots video { display: block; max-width: min(100%, 320px); border-radius: 12px; overflow: hidden; border: 1px solid var(--line, rgba(0,0,0,.08)); background: var(--card); }
  .errcopy { display: block; margin-top: 6px; min-height: 44px; padding: 0 12px; border-radius: 22px; border: 1px solid var(--line, rgba(0,0,0,.15)); background: transparent; font: inherit; font-size: 14px; color: inherit; cursor: pointer; }
  .chat .shots .doc { display: inline-block; padding: 8px 12px; border-radius: 12px; border: 1px solid var(--line, rgba(0,0,0,.08)); background: var(--card); font-size: 14px; }
  .chat .shots img, .chat .shots video { display: block; max-width: 100%; max-height: 360px; object-fit: contain; }
  .chat .mecol { display: flex; flex-direction: column; align-items: flex-end; max-width: 82%; }
  .chat .mecol .bubble { max-width: none; }
  .chat .mecol .shots { justify-content: flex-end; }
  .chat .bubble { white-space: normal; }
  /* Cards in the chat (Iris card-spec.yaml v1). Fixed tokens, so a card looks the same in light and dark. */
  .jcard { --c-text: #17163a; --c-muted: #5f5e7a; --c-fill-btn: #785EF0; --c-link: #6a4fe0; --c-ok: #1a7a50; --c-fill: #f5f4fb; --c-line: #e6e5f0; --c-strong: #8f8da6;
    box-sizing: border-box; width: 680px; max-width: 100%; min-width: 0; container-type: inline-size; margin-top: 8px; background: #fff; color: var(--c-text); border: 2px solid var(--c-line); border-radius: 16px; padding: 14px; font-family: Nunito, ui-rounded, system-ui, sans-serif; font-size: 14.5px; font-weight: 700; line-height: 1.4; white-space: normal; }
  .jcard * { box-sizing: border-box; }
  .jcard h4 { margin: 0 0 8px; font-size: 16px; font-weight: 900; }
  .jcard .jc-src { margin: 0 0 8px; font-size: 12.5px; color: var(--c-muted); }
  .jcard .jc-rows { display: grid; gap: 8px; margin: 0 0 12px; padding: 0; list-style: none; }
  .jcard .jc-row { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 12px; background: var(--c-fill); border: 1px solid var(--c-line); border-radius: 12px; }
  .jcard .jc-row.sel { border-color: var(--c-strong); }
  .jcard .jc-t { flex: 1; min-width: 0; overflow-wrap: anywhere; }
  .jcard .jc-t small { display: block; font-size: 12.5px; color: var(--c-muted); }
  .jcard .jc-trow { display: grid; gap: 8px; align-items: start; padding: 8px 12px; background: var(--c-fill); border: 1px solid var(--c-line); border-radius: 12px; min-height: 44px; }
  .jcard .jc-thead { background: none; border: 1px solid transparent; min-height: 0; padding-top: 0; padding-bottom: 0; }
  .jcard .jc-thead .jc-label { margin: 0; }
  .jcard .jc-rest { grid-column: 1 / -1; font-size: 12.5px; color: var(--c-muted); }
  .chat-decisions { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: start; gap: 8px; padding: 0 16px; }
  .chat-decisions:empty { display: none; }
  .jcard .jc-ext { color: var(--c-link); }
  .jcard .jc-cell { flex: 0 1 auto; min-width: 0; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; text-align: left; }
  .jcard .jc-amt { font-variant-numeric: tabular-nums; white-space: nowrap; }
  .jcard .jc-amt.ok, .jcard .jc-chk { color: var(--c-ok); }
  .jcard .jc-av { flex: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 1px solid var(--c-strong); display: grid; place-items: center; font-size: 12px; font-weight: 900; }
  .jcard .jc-note { margin: 0 0 12px; font-size: 12.5px; color: var(--c-muted); }
  .jcard .jc-btns { display: flex; flex-wrap: wrap; gap: 12px; }
  .jcard .jc-btn { min-width: 120px; min-height: 44px; padding: 0 16px; border-radius: 999px; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; background: #fff; color: var(--c-link); border: 2px solid var(--c-link); }
  .jcard .jc-btn.primary { background: var(--c-fill-btn); border-color: var(--c-fill-btn); color: #fff; }
  .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .jcard .jc-btn[disabled] { opacity: .6; cursor: default; }
  .jcard .jc-link, .jcard .jc-txt { display: inline-flex; align-items: center; min-height: 44px; padding: 0; background: none; border: 0; font: inherit; font-size: 12.5px; color: var(--c-link); text-decoration: underline; cursor: pointer; }
  .jcard .jc-foot { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 4px; }
  .jcard .jc-skel { height: 44px; border-radius: 12px; background: linear-gradient(90deg, var(--c-fill) 25%, var(--c-line) 50%, var(--c-fill) 75%); background-size: 200% 100%; animation: jc-shim 1.4s linear infinite; }
  @keyframes jc-shim { to { background-position: -200% 0; } }
  @media (prefers-reduced-motion: reduce) { .jcard .jc-skel { animation: none; } }
  .jcard .jc-label { margin: 0 0 8px; font-size: 12px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; color: var(--c-muted); }
  .jcard .jc-plain { margin: 0; white-space: pre-wrap; }
  .jcard .jc-vrow { flex-wrap: wrap; } .jcard .jc-ohead { display: inline-flex; align-items: center; gap: 4px; min-width: 44px; min-height: 44px; border: 0; background: none; color: var(--fg); cursor: pointer; padding: 0 4px; } .jcard .jc-vrow > .tp-tile { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; flex: none; margin-right: 8px; } .jcard .jc-vrow > .tp-tile svg { width: 20px; height: 20px; fill: currentColor; } .jcard .jc-ohead:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; } .jcard .jc-det { flex-basis: 100%; } .jcard .jc-hasdet { align-items: center; } .jcard .jc-vrow.jc-hasdet .jc-t { flex: 1 1 0; flex-basis: 0; min-width: 0; } .jcard .jc-hasdet .jc-btn, .jcard .jc-hasdet .jc-amt { } .jcard .jc-hasdet .jc-btn { flex-basis: 100%; width: 100%; order: 3; min-height: 44px; } @media (max-width: 767px) { .jcard .jc-hasdet .jc-btn { min-height: 48px; } } .jcard .jc-hasdet .jc-det { order: 4; }
  @media (max-width: 600px) { .jcard .jc-btn { width: 100%; min-height: 48px; } .jcard .jc-vrow .jc-btn { width: auto; } }
  @container (max-width: 360px) { .jcard .jc-vrow .jc-btn { width: 100%; order: 3; } .jcard .jc-vrow .jc-t { flex-basis: 60%; } }
  @media (max-width: 600px) { .jcard .jc-btns { gap: 12px; } }
  .chat .bubble p { margin: 0; } .chat .bubble p + p, .chat .bubble p + ul, .chat .bubble p + ol, .chat .bubble ul + p, .chat .bubble ol + p { margin-top: 8px; }
  .chat .bubble ul, .chat .bubble ol { margin: 4px 0 0; padding-left: 20px; } .chat .bubble li + li { margin-top: 2px; }
  .chat .bubble code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; background: color-mix(in srgb, var(--fg) 7%, transparent); padding: 1px 4px; border-radius: 4px; }
  .chat .me .bubble { background: var(--accent); color: var(--accent-ink); border-radius: 18px 18px 6px 18px; }
  .chat .rq { display: flex; align-items: center; gap: 6px; width: 100%; min-height: 44px; padding: 0 4px; border: 0; background: none; font: inherit; font-size: 13px; line-height: 1.3; color: #5f5e7a; text-align: left; cursor: pointer; border-radius: 8px; }
  .chat .rq svg { flex: none; width: 14px; height: 14px; fill: currentColor; } .chat .rq .rq-t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .chat .rq b { font-weight: 700; color: var(--fg); }
  .chat .row.me .rq { flex-direction: row; } .chat .rq:focus-visible { outline: 2px solid #4b3bb0; outline-offset: 0; }
  @media (forced-colors: active) { .chat .rq:focus-visible { outline-color: Highlight; } .chat .rq svg { fill: CanvasText; } }
  /* A leader's summary from a topic names it above the bubble, and a tap opens that topic (slice 1 contract). */
  .chat .ft { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 4px; border: 0; background: none; font: inherit; font-size: 13px; line-height: 1.3; color: #5f5e7a; text-align: left; border-radius: 8px; }
  .chat button.ft { cursor: pointer; } .chat .ft b { font-weight: 700; color: var(--fg); } .chat .ft .tp-tile { width: 20px; height: 20px; border-radius: 6px; flex: none; } .chat .ft .tp-tile svg { width: 14px; height: 14px; }
  .chat button.ft:focus-visible { outline: 2px solid #4b3bb0; outline-offset: 0; }
  @media (forced-colors: active) { .chat button.ft:focus-visible { outline-color: Highlight; } }
  .chat .who { font-size: 12.5px; font-weight: 900; color: var(--muted); margin-bottom: 2px; }
  /* Approve and Deny (Wren's approve685 board, Josh: "why is Approve Deny so small???"): the first button filled,
     the rest outlined, at least 120 by 44, 12 apart, a 15 px semibold label. A phone pair is 48 tall and full width. */
  .chat .btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
  .chat .btns button { min-width: 120px; min-height: 44px; border: 2px solid var(--line); background: var(--bg); color: var(--fg); border-radius: 999px; padding: 0 20px; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
  .chat .btns button:first-child { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
  /* The 90% usage question (Iris, usage90 frames 2a to 2d): a soft purple card, never red. */
  .ucard { background: color-mix(in srgb, var(--accent) 8%, #fff); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 12px; max-width: 560px; }
  .ucard .uq { display: flex; gap: 12px; align-items: flex-start; }
  .ucard .uq i { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); flex: 0 0 auto; margin-top: 7px; box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, #fff); }
  .ucard .uq p { margin: 0; font-size: 15.5px; font-weight: 700; line-height: 1.45; }
  .chat .ucard .btns { margin-top: 0; }
  .chat .ucard .btns button { border-radius: 999px; }
  .ucard .udone { display: inline-flex; gap: 6px; align-items: flex-start; margin: 0; font-size: 13.5px; font-weight: 800; color: var(--muted); line-height: 1.4; }
  .ucard .udone svg { width: 16px; height: 16px; fill: var(--accent); flex: 0 0 auto; margin-top: 1px; }
  @media (max-width: 767px) { .chat .ucard .btns { flex-direction: column; } .chat .ucard .btns button { width: 100%; min-height: 48px; } }
  .chat .btns button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
  @media (max-width: 767px) { .chat .btns button { flex: 1 1 0; min-height: 48px; } }
  .compose { display: flex; gap: 8px; align-items: flex-end; }
  .compose textarea { flex: 1; font: inherit; font-weight: 500; font-size: 16px; padding: 12px 14px; border-radius: 18px; border: 2px solid var(--line); background: var(--bg); color: var(--fg); resize: none; max-height: 160px; }
  .compose .send { width: auto; padding: 12px 18px; }
  .intro { display: flex; flex-direction: column; align-items: center; gap: 4px; padding-top: 24px; }
  .intro .who { font-weight: 900; font-size: 26px; margin-top: 8px; }
  .intro .role { font-size: 12.5px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
  .intro .bubble { margin-top: 16px; background: var(--card); border-radius: 18px; padding: 14px 16px; font-weight: 700; display: flex; flex-direction: column; gap: 10px; align-self: stretch; }
  .jobs-h { padding-top: 16px; display: flex; justify-content: space-between; align-items: center; }
  .count { background: var(--accent); color: #fff; border-radius: 999px; padding: 1px 8px; font-size: 12px; }
  .job { display: block; width: 100%; text-align: left; background: var(--card); border: 0; border-radius: 14px; padding: 12px 14px; margin-top: 8px; cursor: pointer; font-weight: 900; }
  .job .small { display: block; margin-top: 2px; }
  .job.waits .small { color: var(--accent); }
  .card-slack { position: relative; border: 2px solid color-mix(in srgb, var(--accent) 55%, var(--line)); border-radius: 16px; padding: 14px; margin-top: 12px; display: flex; flex-direction: column; gap: 6px; }
  .card-slack .x { position: absolute; right: 8px; top: 6px; border: 0; background: none; font-size: 20px; cursor: pointer; color: var(--muted); }
  .btn.pill { width: auto; align-self: flex-start; padding: 8px 14px; font-size: 14px; }
  .fold-asks { display: flex; flex-direction: column; gap: 12px; margin: 12px 0; } .fold-asks:empty { display: none; }
  .fold-item { display: flex; flex-direction: column; gap: 8px; } .fold-row { width: 100%; border: 0; text-align: left; font: inherit; color: var(--fg); cursor: pointer; min-height: 56px; } .fold-row > div { flex: 1; min-width: 0; } .fold-row b { display: block; overflow-wrap: anywhere; } .fold-tag { flex: none; font-size: 13px; font-weight: 800; color: var(--muted); }
  .sm-panel #fold-home, .sm-panel .fold-row { flex-wrap: nowrap; } #fold-home .small, .fold-row .small { overflow-wrap: anywhere; }
  .fold-lab { font-weight: 700; color: var(--fg); }
  .fold-sure { border: 2px solid var(--accent); border-radius: 14px; padding: 12px; background: var(--bg); } .fold-sure .small { margin: 4px 0 8px; } .fold-sure .bb { display: flex; gap: 8px; } .fold-sure .bb button { min-height: 44px; padding: 0 18px; border-radius: 999px; font: inherit; font-weight: 700; border: 1.5px solid var(--muted); background: none; color: var(--fg); cursor: pointer; } .fold-sure .bb button.p { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
  .fold-row .pill { min-height: 44px; padding: 0 18px; flex: 0 0 auto; } .place.fold-row > div { gap: 0; }
  #fold-add, .fold-more .pill { min-height: 44px; padding: 0 18px; } @media (max-width: 700px) { #fold-add, .fold-more .pill { min-height: 48px; } }
  .fold-path { overflow-wrap: anywhere; } .fold-more { padding: 0 12px 4px; } .fold-more .small { margin: 8px 0 0; }
  .places { display: flex; flex-direction: column; gap: 8px; padding-top: 8px; }
  .place { display: flex; align-items: center; gap: 12px; background: var(--card); border-radius: 14px; padding: 12px; }
  .place > div { flex: 1; display: flex; flex-direction: column; }
  .place.off { opacity: .75; }
  .place .ic { width: 32px; height: 32px; border-radius: 10px; background: var(--bg); display: grid; place-items: center; font-weight: 900; }
  .place .ic svg { width: 20px; height: 20px; fill: var(--muted); }
  /* Brand marks keep their own colors and stay clear of the tile's edge (Slack and Teams logos, Josh, Nov 17). */
  .place .ic.logo svg { width: 22px; height: 22px; fill: none; }
  .place.use { align-items: flex-start; }
  .place.use > div { flex: 1; min-width: 0; }
  .place.use .small + .small { margin-top: 4px; }
  .place.use .go { align-self: center; min-width: 120px; min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
  .place.use .go:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
  @media (max-width: 767px) { .place.use { flex-wrap: wrap; } .place.use .go { flex: 1 0 100%; min-height: 48px; } }
  /* No purple dot for the Janeway app (Josh, Nov 16: a rejected mark goes everywhere). The empty slot keeps the names in line. */
  .place .ic.sp { background: none; }
  .pill { border: 2px solid var(--accent); color: var(--accent); background: var(--bg); border-radius: 999px; padding: 5px 12px; font-weight: 900; font-size: 13px; cursor: pointer; }
  .btn.pill { background: var(--accent); color: var(--accent-ink); border: 0; padding: 8px 14px; }
  @media (max-width: 700px) { .place .pill:not(.on) { min-height: 44px; } }
  .pill.on { border: 0; background: color-mix(in srgb, var(--ok) 15%, var(--bg)); color: var(--ok); text-transform: uppercase; font-size: 11px; letter-spacing: .05em; cursor: default; }
  .note { margin-top: 12px; border-radius: 14px; padding: 12px 14px; font-weight: 800; font-size: 14px; }
  .note.ok { background: color-mix(in srgb, var(--ok) 14%, var(--bg)); color: var(--ok); }
  .note.bad { background: #fde8ea; color: #b4232f; }
  /* One quiet line after Janeway updated itself (pods/update.ts). */
  .updated { position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); color: var(--muted); font-size: 13px; font-weight: 700; pointer-events: none; transition: opacity 0.6s; z-index: 50; }
  .plus { width: 32px; height: 32px; border-radius: 50%; border: 0; background: color-mix(in srgb, var(--accent) 12%, var(--bg)); color: var(--accent); font-size: 22px; font-weight: 700; line-height: 1; cursor: pointer; flex: 0 0 auto; margin-left: -8px; padding: 0 0 2px; }
  .plus[hidden] { display: none; }
  .compose:has(input[type="file"]) { padding-left: 16px; }
  .achips { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 8px; }
  .achip { display: inline-flex; align-items: center; gap: 8px; max-width: 220px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 4px 6px 4px 4px; font-size: 13px; font-weight: 700; }
  .achip img { width: 36px; height: 36px; object-fit: cover; border-radius: 8px; display: block; }
  .achip .fn { width: 36px; height: 36px; border-radius: 8px; background: color-mix(in srgb, var(--accent) 12%, var(--bg)); color: var(--accent); display: grid; place-items: center; font-size: 11px; font-weight: 900; }
  .achip span.nm { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .achip button { position: relative; border: 0; background: none; color: var(--muted); font-size: 18px; line-height: 1; cursor: pointer; padding: 2px 4px; }
  .mid.dragging { outline: 3px dashed var(--accent); outline-offset: -6px; }
  .compose:has(input) { align-items: center; border: 2px solid var(--line); border-radius: 23px; padding: 5px 5px 5px 16px; }
  /* The message box wraps and grows with what is typed, up to 8 lines, then scrolls inside. Never sideways (Josh, Nov 16). */
  .compose:has(#chat-in) { align-items: flex-end; }
  .compose #chat-in { display: block; box-sizing: border-box; line-height: 22px; max-height: 188px; resize: none; overflow-x: hidden; overflow-y: hidden; white-space: pre-wrap; overflow-wrap: anywhere; }
  .compose #chat-in:disabled { opacity: 0.6; cursor: not-allowed; }
  /* Large text cuts any placeholder, so it stays on one line and ends in an ellipsis, not a half word (Iris, Nov 17). */
  .compose #chat-in:placeholder-shown { text-overflow: ellipsis; }
  .compose #chat-in::placeholder { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .compose input, .compose #chat-in { flex: 1; min-width: 0; font: inherit; font-weight: 500; font-size: 16px; padding: 6px 0; border: 0; outline: none; background: transparent; color: var(--fg); }
  .compose .send { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--accent); display: grid; place-items: center; cursor: pointer; flex: 0 0 auto; }
  .compose .send { padding: 0; }
  .compose .send svg { width: 18px; height: 18px; fill: #fff; display: block; transform: translateX(1px); }
  .stack-v.tight { gap: 10px; padding-top: 10px; }
  .lead.dark { color: var(--fg); }
  .pod { display: flex; flex-direction: column; align-items: center; padding: 18px 0 6px; position: relative; }
  .pod .mates { display: flex; gap: 22px; margin-top: 14px; }
  .pod .mate { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12px; font-weight: 900; }
  .pod .role { font-size: 12px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
  .pod .mate .role { font-size: 11px; margin-top: 0; }
  .msgl { display: flex; gap: 10px; align-items: flex-start; } .msgl > div { flex: 1; min-width: 0; } .msgl > div > p { margin: 0; background: var(--card); border-radius: 16px; padding: 10px 13px; font-weight: 700; line-height: 1.38; font-size: 15px; }
  .msgl .nm { font-size: 12.5px; font-weight: 900; color: var(--muted); margin: 0 0 3px 2px; }
  .vcard { display: flex; gap: 10px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 8px 10px; margin-top: 6px; color: #17163a; }
  .vcard b { font-weight: 900; font-size: 14.5px; } .vcard .r { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 900; margin-left: 4px; } .vcard .r i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); display: inline-block; }
  .vcard .d { display: block; font-size: 12.5px; font-weight: 700; color: var(--muted); line-height: 1.3; }
  .clabel { font-size: 12px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
  .talkbox { border: 1px solid var(--line); border-radius: 14px; background: #fff; display: flex; flex-direction: column; overflow: hidden; color: #17163a; }
  .talk-h { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; border-bottom: 1px solid var(--line); font-weight: 900; font-size: 14px; } .talk-h span { color: var(--muted); font-size: 12.5px; font-weight: 800; }
  .tmsgs { padding: 8px 12px; display: flex; flex-direction: column; gap: 8px; min-height: 60px; }
  .tm { display: flex; gap: 8px; } .tm .w { font-weight: 900; font-size: 12.5px; } .tm .to { color: var(--muted); font-weight: 800; font-size: 12px; } .tm p { margin: 1px 0 0; font-size: 13.5px; font-weight: 700; line-height: 1.32; }
  .live { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); display: inline-block; margin-right: 6px; }
  .prov { display: flex; align-items: center; gap: 12px; background: var(--card); border-radius: 14px; padding: 8px 12px; }
  .prov .t { flex: 1; } .prov .t b { display: block; font-weight: 900; font-size: 16px; } .prov .t small { display: block; font-size: 13px; font-weight: 800; color: var(--muted); } .prov .t small.ok { color: var(--ok); }
  .prov .sb { background: var(--accent); color: var(--accent-ink); border: 0; border-radius: 999px; padding: 8px 14px; font-weight: 900; font-size: 14px; white-space: nowrap; cursor: pointer; }
  .prov.off .t b { color: var(--muted); }
  .prov { padding: 10px 14px; }
  #people { display: flex; flex-direction: column; gap: 10px; }
  .pnote { background: color-mix(in srgb, #FFB000 14%, var(--bg)); border-radius: 12px; padding: 10px 12px; font-size: 13.5px; font-weight: 800; line-height: 1.35; }
  /* Podmate accounts setup (Iris's macsetup board): a soft card, pills at 15 px and 600, 44 px (48 on phone), 12 px apart. */
  .mc { border-radius: 16px; background: color-mix(in srgb, var(--accent) 8%, var(--bg)); padding: 18px; display: flex; flex-direction: column; gap: 12px; }
  .mc.no { background: var(--card); }
  .mc .hd { display: flex; gap: 12px; align-items: flex-start; }
  .mc .hd > div { flex: 1; min-width: 0; }
  .mc .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--bg); display: grid; place-items: center; flex: 0 0 auto; }
  .mc .ic svg { width: 22px; height: 22px; fill: var(--accent); }
  .mc.no .ic svg { fill: var(--muted); }
  .rowh { font-size: 16.5px; font-weight: 900; margin: 0 0 8px; }
  #own-setup, #claude-pod { margin-top: 24px; }
  #claude-accts { margin-top: 24px; }
  .ar { display: flex; align-items: stretch; gap: 8px; margin-bottom: 8px; }
  .ar .pk { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 6px 14px; border: 0; border-radius: 12px; background: var(--card); color: var(--fg); font: inherit; text-align: left; cursor: pointer; }
  .ar .pk:focus-visible, .ar .lk:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
  .ar .rd { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 2px #7d7b96; flex: 0 0 auto; display: grid; place-items: center; }
  .ar.sel .pk { background: color-mix(in srgb, var(--accent) 9%, var(--bg)); box-shadow: inset 0 0 0 2px var(--accent); }
  .ar.sel .rd { background: var(--accent); box-shadow: none; }
  .ar.sel .rd svg { width: 16px; height: 16px; fill: #fff; }
  .ar .nm { flex: 1; font-weight: 800; font-size: 16px; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .ar .nm small { display: block; font-size: 13.5px; font-weight: 700; color: var(--muted); }
  .ar .lk { min-width: 76px; min-height: 48px; padding: 0 10px; border-radius: 12px; border: 0; box-shadow: inset 0 0 0 2px var(--line); background: var(--bg); color: var(--muted); font: inherit; font-size: 15px; font-weight: 800; cursor: pointer; }
  .ac-note { margin: 4px 0 8px; font-size: 14px; font-weight: 700; color: var(--muted); line-height: 1.45; }
  .ac-add { min-height: 44px; padding: 0 2px; border: 0; background: none; color: var(--accent); font: inherit; font-size: 15px; font-weight: 800; text-decoration: underline; cursor: pointer; }
  .ac-add:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
  .mc .cs-how { margin: 0; font-size: 14px; font-weight: 700; color: var(--muted); }
  .nb { white-space: nowrap; }
  .cs-again { min-height: 44px; padding: 0 2px; border: 0; background: none; color: var(--accent); font: inherit; font-size: 14.5px; font-weight: 800; text-decoration: underline; cursor: pointer; }
  .cs-again:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
  .cs-code { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 800; }
  .cs-code input.bad { border-color: #b3261e; }
  .cs-bad { margin: 0; color: #b3261e; font-size: 14px; font-weight: 800; }
  .cs-code .bb { margin-top: 6px; }
  .mc b { display: block; font-size: 17px; font-weight: 900; line-height: 1.3; }
  .mc p { margin: 4px 0 0; font-size: 15px; font-weight: 700; line-height: 1.45; }
  .mc .bb { display: flex; flex-wrap: wrap; gap: 12px; }
  .mc .bb button, .own-open { min-width: 120px; min-height: 44px; padding: 0 22px; border-radius: 999px; border: 2px solid var(--line); background: var(--bg); color: var(--fg); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
  .mc .bb button.p { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
  .mc .bb button:focus-visible, .own-open:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
  .own-done { display: flex; gap: 8px; align-items: center; font-size: 14.5px; font-weight: 800; color: var(--muted); padding: 6px 2px; }
  .own-done .tick { width: auto; height: auto; background: none; color: var(--ok); font-size: 16px; font-weight: 900; flex: 0 0 auto; }
  .place.cs { flex-wrap: wrap; }
  .cs-code input { max-width: 420px; min-width: 0; min-height: 44px; padding: 0 14px; border: 2px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--fg); font: inherit; font-size: 16px; }
  .own-open.p { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
  @media (max-width: 767px) { .mc .bb { flex-direction: column; } .mc .bb button, .own-open { min-height: 48px; width: 100%; } }
  .errbox { background: #fde8ea; color: #b4232f; border-radius: 12px; padding: 10px 12px; font-size: 14px; font-weight: 800; line-height: 1.35; }
  .failbox { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; padding: 14px; } .failbox b { font-size: 15px; } .failbox span { font-weight: 700; color: #7a2a31; }
  .failbox .sb { margin-top: 4px; background: var(--accent); color: var(--accent-ink); border: 0; border-radius: 999px; padding: 8px 18px; font-weight: 900; font-size: 14px; cursor: pointer; }
  .signing { display: flex; gap: 12px; align-items: flex-start; background: color-mix(in srgb, var(--accent) 7%, var(--bg)); border-radius: 14px; padding: 14px; font-weight: 700; }
  .spin { width: 22px; height: 22px; border-radius: 50%; border: 3px solid color-mix(in srgb, var(--accent) 25%, var(--bg)); border-top-color: var(--accent); flex: 0 0 auto; animation: spin 1s linear infinite; }
  @keyframes spin { to { transform: rotate(360deg); } }
  .get { font-size: 15px; text-decoration: none; }
  .task { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; border: 0; background: var(--card); color: var(--fg); border-radius: 14px; padding: 11px 14px; cursor: pointer; } .task > div { flex: 1; } .task b { display: block; font-size: 15.5px; font-weight: 900; } .task span { display: block; font-size: 13.5px; font-weight: 700; color: var(--muted); margin-top: 1px; } .task svg { width: 22px; height: 22px; fill: var(--accent); flex: 0 0 auto; }
  .field textarea#plate-own { font: inherit; font-weight: 800; font-size: 16px; padding: 12px 14px; border-radius: 14px; border: 2px solid var(--line); background: var(--bg); color: var(--fg); resize: none; }
  .chathead { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); } .chathead b { display: block; font-size: 18px; font-weight: 900; } .chathead small { display: block; font-size: 13px; font-weight: 800; color: var(--muted); }
  .chips { display: flex; flex-wrap: wrap; gap: 6px; } .chip { border: 2px solid color-mix(in srgb, var(--accent) 35%, var(--bg)); color: var(--accent); border-radius: 999px; padding: 0 12px; min-height: 44px; font-weight: 900; font-size: 14px; background: var(--bg); cursor: pointer; }
  .small-link.accent { color: var(--accent); }
  /* The practice run can't be mistaken for real work (#563). */
  #s-practice { background: #fff6e3; color: #17163a; --card: #f6f1ee; --muted: #5f5e7a; --line: #e9e2d6; }
  #s-practice .foot { background: #fff6e3; }
  .pr-banner { flex: 0 0 auto; background: #17163a; color: #fff; font-weight: 800; font-size: 13px; line-height: 1.35; padding: 10px 14px; text-align: center; }
  .pr-banner .link { color: #c9bfff; margin-left: 8px; font-size: 13px; }
  .pr-grid { display: flex; flex-direction: column; gap: 10px; padding: 14px 12px 16px; max-width: 460px; margin: 0 auto; min-height: 100%; }
  .pr-left { display: flex; flex-direction: column; gap: 10px; flex: 1; }
  .pr-msgs { display: flex; flex-direction: column; gap: 10px; margin-top: auto; }
  .pr-right { display: none; }
  .pr-me { align-self: flex-end; background: color-mix(in srgb, var(--accent) 12%, #fff); border-radius: 16px; padding: 10px 13px; font-weight: 700; max-width: 82%; font-size: 15px; }
  .typing { display: inline-flex; gap: 4px; background: var(--card); border-radius: 14px; padding: 12px 14px; } .typing i { width: 7px; height: 7px; border-radius: 50%; background: #a9a6c2; display: block; animation: blink 1.2s infinite; } .typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
  @keyframes blink { 0%, 80%, 100% { opacity: .35; } 40% { opacity: 1; } }
  .joined { align-self: center; display: flex; gap: 8px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px 4px 4px; font-size: 13px; font-weight: 800; }
  .joined .faces .av { box-shadow: 0 0 0 2px #fff; }
  .working { display: flex; gap: 8px; align-items: center; font-size: 14px; font-weight: 800; color: var(--muted); padding-left: 4px; } .working .typing { padding: 6px 8px; background: transparent; }
  .ph0box { flex: 1; border: 2px dashed #e6d9b4; border-radius: 16px; display: flex; flex-direction: column; gap: 12px; align-items: center; justify-content: center; color: #a08a55; font-weight: 800; font-size: 18px; min-height: 300px; }
  .ph0box .faces { gap: 0; }
  .slide { animation: slide 280ms ease-out both; }
  @keyframes slide { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
  @media (prefers-reduced-motion: reduce) { .slide { animation: none; } .typing i { animation: none; } }
  @media (min-width: 900px) {
    .pr-grid { display: grid; grid-template-columns: 460px 1fr; max-width: none; padding: 0; height: 100%; gap: 0; }
    .pr-left { gap: 12px; padding: 20px 28px 150px; border-right: 1px solid #efe4c8; overflow-y: auto; min-height: 0; }
    .pr-right { display: flex; flex-direction: column; padding: 28px 40px; overflow-y: auto; min-height: 0; }
    .pr-site { display: none; }
    #s-practice .foot { position: fixed; left: 0; bottom: 0; width: 459px; box-shadow: none; border-top: 0; background: linear-gradient(to bottom, rgba(255, 246, 227, 0), #fff6e3 16px); }
    #s-practice .foot .wrap { padding: 12px 28px 24px; align-items: flex-start; }
    #s-practice .foot .btn { width: auto; padding-inline: 40px; }
    #s-practice .foot .small-link { align-self: flex-start; }
    #s-practice .body { overflow: hidden; }
  }

  /* Juniper Coffee, the made-up customer's site (Iris, juniper.html). It
     uses its own fonts so it reads as the customer's site, not Janeway.
     Class names start with s so the page's own styles never reach it. */
  .site { --esp: #2b1d14; --cream: #f7f1e6; --sage: #5f7a5a; --rust: #b4562e; font-family: Inter, sans-serif; color: var(--esp); background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 8px 30px rgba(43,29,20,.10); font-weight: 400; line-height: 1.4; }
  .site h1, .site h2, .site h3 { text-wrap: balance; }
  .s1 .snav { display: flex; justify-content: space-between; align-items: center; padding: 18px 28px; border-bottom: 1px solid #eee; }
  .s1 .snav b { font-size: 17px; font-weight: 700; } .s1 .snav span { font-size: 14px; color: #777; margin-left: 18px; }
  .s1 .shero { display: grid; grid-template-columns: 1fr 260px; gap: 28px; padding: 36px 28px; align-items: center; }
  .s1 h1 { font-size: 30px; font-weight: 700; margin: 0 0 8px; } .s1 p { margin: 0; color: #666; font-size: 15px; }
  .s1 .simg { height: 180px; border-radius: 8px; background: url(/coffee.jpg) center/cover; }
  .s1 .smenu { padding: 0 28px 32px; } .s1 .smenu h3 { font-size: 15px; font-weight: 700; margin: 0 0 10px; color: #444; }
  .s1 .smenu ul { margin: 0; padding: 0; list-style: none; display: flex; gap: 10px; flex-wrap: wrap; } .s1 .smenu li { font-size: 14px; color: #444; background: #f4f4f4; padding: 8px 14px; border-radius: 6px; }
  .s2 { background: var(--cream); }
  .s2 .snav { display: flex; justify-content: space-between; align-items: center; padding: 18px 32px; }
  .s2 .slogo { display: flex; align-items: center; gap: 10px; font-family: Fraunces, serif; font-size: 22px; font-weight: 700; }
  .s2 .slogo i { width: 26px; height: 26px; border-radius: 50%; background: var(--sage); display: grid; place-items: center; }
  .s2 .slogo i::after { content: ''; width: 10px; height: 14px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: var(--cream); }
  .s2 .slinks { display: flex; align-items: center; gap: 24px; font-size: 14.5px; font-weight: 500; }
  .s2 .sorder { background: var(--esp); color: var(--cream); border-radius: 999px; padding: 10px 20px; font-weight: 600; }
  .s2 .shero { position: relative; margin: 0 20px; border-radius: 18px; overflow: hidden; min-height: 360px; display: flex; align-items: flex-end; background: url(/coffee.jpg) center 60%/cover; }
  /* The photo grows to fit the headline, never cuts it (Wren). */
  .s2 .shero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(43,29,20,.82) 0%, rgba(43,29,20,.55) 45%, rgba(43,29,20,0) 80%); }
  .s2 .shero .sin { position: relative; margin: 40px; max-width: min(460px, 62%); color: #fff; }
  .s2 .skick { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #e9d9bd; margin-bottom: 10px; }
  .s2 h1 { font-family: Fraunces, serif; font-size: 48px; line-height: 1.04; font-weight: 600; margin: 0 0 14px; letter-spacing: -0.01em; }
  .s2 .shero p { margin: 0 0 22px; font-size: 16px; color: #f3e9d8; line-height: 1.5; }
  .s2 .scta { display: inline-block; background: var(--cream); color: var(--esp); border-radius: 999px; padding: 13px 24px; font-weight: 700; font-size: 15px; }
  .s2 .smenu { padding: 44px 32px 40px; }
  .s2 .smh { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 20px; }
  .s2 .smenu h2 { font-family: Fraunces, serif; font-size: 30px; font-weight: 600; margin: 0; } .s2 .smh span { font-size: 14px; color: var(--sage); font-weight: 600; }
  .s2 .scols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
  .s2 .sitem { display: flex; align-items: baseline; gap: 10px; padding: 12px 0; border-bottom: 1px dotted rgba(43,29,20,.25); }
  .s2 .sitem b { font-weight: 600; font-size: 16px; } .s2 .sitem small { display: block; font-size: 13px; color: #7b6a5c; margin-top: 2px; font-weight: 400; }
  .s2 .sitem .sdots { flex: 1; } .s2 .sitem em { font-style: normal; font-weight: 700; font-size: 16px; }
  .s2 .sitem b { white-space: nowrap; }
  .s2 .stag { display: inline-block; margin-left: 6px; font-size: 10px; font-weight: 700; color: var(--rust); letter-spacing: .04em; text-transform: uppercase; }
  .s2 .sfoot { background: var(--esp); color: var(--cream); padding: 26px 32px; display: grid; grid-template-columns: 1fr 1fr 1.5fr; gap: 24px; font-size: 14.5px; }
  .s2 .sfoot b { display: block; font-family: Fraunces, serif; font-size: 17px; font-weight: 600; margin-bottom: 4px; } .s2 .sfoot span { color: #d9ccb7; overflow-wrap: break-word; }
  .site.m.s1 .snav { padding: 14px 16px; } .site.m.s1 .snav span { margin-left: 10px; font-size: 13px; }
  .site.m.s1 .shero { grid-template-columns: 1fr; gap: 16px; padding: 22px 16px; } .site.m.s1 .simg { height: 150px; order: -1; } .site.m.s1 h1 { font-size: 24px; }
  .site.m.s1 .smenu { padding: 0 16px 22px; } .site.m.s1 .smenu ul { gap: 8px; }
  .site.m.s2 .snav { padding: 14px 16px; } .site.m.s2 .slogo { font-size: 18px; } .site.m.s2 .slinks { gap: 0; } .site.m.s2 .slinks .shide { display: none; } .site.m.s2 .sorder { padding: 8px 16px; font-size: 14px; }
  .site.m.s2 .shero { margin: 0 12px; min-height: 300px; } .site.m.s2 .shero .sin { margin: 20px 20px 22px; max-width: none; } .site.m.s2 .shero::before { background: linear-gradient(0deg, rgba(43,29,20,.85) 0%, rgba(43,29,20,.5) 55%, rgba(43,29,20,.05) 100%); }
  .site.m.s2 h1 { font-size: 32px; } .site.m.s2 .shero p { font-size: 14.5px; margin-bottom: 16px; }
  .site.m.s2 .smh { flex-direction: column; gap: 4px; }
  .site.m.s2 .smenu { padding: 28px 16px 26px; } .site.m.s2 .smenu h2 { font-size: 24px; } .site.m.s2 .scols { grid-template-columns: 1fr; }
  .site.m.s2 .sfoot { grid-template-columns: 1fr; padding: 22px 16px; gap: 14px; }
  /* Labels: numbered pins in a margin beside the site, never on it. */
  .lab { display: grid; grid-template-columns: 40px 1fr; gap: 10px; }
  .lab.m { grid-template-columns: 28px 1fr; gap: 6px; }
  .gut { position: relative; }
  .pin { position: absolute; left: 4px; width: 30px; height: 30px; border-radius: 50%; color: #fff; font-weight: 900; font-size: 14px; display: grid; place-items: center; box-shadow: 0 2px 6px rgba(23,22,58,.18); }
  .lab.m .pin { width: 24px; height: 24px; font-size: 12px; left: 2px; }
  .chg { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; padding-left: 50px; }
  .chg.m { padding-left: 34px; }
  .chg button { display: flex; gap: 10px; align-items: center; font: inherit; font-size: 15px; font-weight: 800; line-height: 1.3; text-align: left; color: var(--fg); background: none; border: 0; padding: 4px 6px; margin-left: -6px; border-radius: 8px; cursor: pointer; }
  .chg.m button { font-size: 13.5px; }
  .chg button:hover, .chg button.on { background: color-mix(in srgb, var(--accent) 10%, #fff); }
  .chg i { width: 24px; height: 24px; border-radius: 50%; color: #fff; font-style: normal; font-size: 12px; font-weight: 900; display: grid; place-items: center; flex: 0 0 auto; }
  .clabel.lb { margin: 0 0 10px 50px; } .clabel.lb.m { margin-left: 34px; }
  .sidewrap { display: grid; grid-template-columns: 1fr 280px; gap: 24px; align-items: start; }
  .chg.side { padding-left: 0; margin-top: 0; } .chg.side button { font-size: 14.5px; align-items: flex-start; } .chg.side i { margin-top: -1px; }
  @media (max-width: 1360px) { .sidewrap { grid-template-columns: 1fr; } .chg.side { padding-left: 50px; } }
  /* Inset, because the site clips anything drawn outside its parts. */
  .flash { box-shadow: inset 0 0 0 3px color-mix(in srgb, var(--c) 75%, transparent), inset 0 0 0 9px color-mix(in srgb, var(--c) 18%, transparent); border-radius: 10px; transition: box-shadow 1.5s ease; }
  /* Where the person is in setup: 8 dots, the practice run as one, none once
     the app opens (#596). Josh: "there's no sense of where I am or where
     I'm going". */
  .pdots { display: flex; gap: 6px; justify-content: center; padding: 12px 0 0; flex: 0 0 auto; } .pdots i { width: 8px; height: 8px; border-radius: 50%; background: #dcdae6; display: block; } .pdots i.done { background: color-mix(in srgb, var(--accent) 45%, #fff); } .pdots i.on { background: var(--accent); width: 22px; border-radius: 999px; }
  /* In the practice run the dots are a solid strip, so the site never scrolls under them (Probe). */
  #s-practice .pdots { padding: 9px 0; background: #fff6e3; border-bottom: 1px solid #efe4c8; }
  /* The leader spot is empty until the person picks one (Josh: "it makes it
     look like my pod leader is an old man before i picked a pod leader"). */
  .spot { width: 104px; height: 104px; border-radius: 50%; border: 2.5px dashed #FFB000; background: #FFF6DC; overflow: hidden; display: block; }
  .spot svg { display: block; width: 100%; height: 100%; }
  .pod .role, .spotline { position: relative; z-index: 1; background: var(--bg); padding: 0 8px; }
  .spotline { font-size: 13px; font-weight: 800; color: var(--muted); margin-top: 2px; text-align: center; }
  #s-chat { position: relative; }
  .new-msg { position: absolute; left: 50%; bottom: 84px; transform: translateX(-50%); z-index: 3; background: var(--accent); color: var(--accent-ink); border: 0; border-radius: 999px; padding: 8px 16px; font-weight: 900; font-size: 14px; box-shadow: 0 4px 14px rgba(23, 22, 58, .2); cursor: pointer; }
  .steplabel { margin-bottom: 8px; }
  .small-link.left { align-self: flex-start; font-size: 13.5px; color: var(--accent); text-decoration: none; }
  .prov.done { background: color-mix(in srgb, var(--ok) 10%, var(--bg)); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--ok) 55%, var(--bg)); }
  /* Official marks, unchanged, 22 px in a 34 px white tile (Iris, logos/SOURCES.md). */
  .prov .lg { width: 34px; height: 34px; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; flex: 0 0 auto; } .prov .lg img { display: block; }
  .prov .lg-openai { color: #17163a; } .prov .lg-openai svg { width: 22px; height: 22px; display: block; }
  /* AIs that can't be chosen yet look it: their marks are faded (Wren). */
  .prov.off .lg { opacity: 0.4; }
  .prov .tick { width: 22px; height: 22px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; flex: 0 0 auto; font-size: 13px; font-weight: 900; }
  .prov .t small.em { color: var(--fg); font-weight: 700; }
  .plan-note { background: color-mix(in srgb, #FFB000 14%, var(--bg)); border-radius: 12px; padding: 10px 12px; font-size: 13.5px; font-weight: 800; line-height: 1.35; }
  .plan-note .links { display: flex; gap: 14px; margin-top: 6px; } .plan-note .link { font-size: 13.5px; }
  .small-link { align-self: center; font-size: 14px; color: var(--muted); }
  .top:has(.back:not([hidden])) .brand { display: none; }
  .hero-av { display: flex; align-items: center; gap: 12px; font-weight: 900; }
  /* Desktop spacing (Wren and Iris, desktop-spacing.png). Josh: "the
     vertical spacing of this is strange. scrunched on the top and a big
     space on the bottom." Each setup screen is one group, centered in the
     window, with its button right after it. Janeway and Back stay top
     left. Under 700 px of height and on phones the button stays pinned.
     Scale: 8, 16, 32, 48. */
  /* Phones and short windows: the group sits centered in the space above
     the pinned button, never crowded at the top with empty space below.
     Josh: "scrunched on the top and a big space on the bottom". The
     spacing follows the desktop scale, a step smaller. */
  @media not all and (min-width: 700px) and (min-height: 700px) {
    .screen.setup > .body > .wrap { min-height: 100%; display: flex; flex-direction: column; }
    .screen.setup > .body > .wrap > * { order: 1; }
    .screen.setup > .body > .wrap > .pdots, .screen.setup > .body > .wrap > .top, .screen.setup > .body > .wrap > .nav { order: -1; }
    .screen.setup > .body > .wrap::before, .screen.setup > .body > .wrap::after { content: ''; flex: 1 1 0; }
    .screen.setup > .body > .wrap::before { order: 0; min-height: 8px; } .screen.setup > .body > .wrap::after { order: 2; min-height: 16px; }
    .screen.setup .wrap > :is([style], .pt-6, .pt-8, .pt-10, .pt-12, .pt-16, .pt-24, .mt-8, .mt-12, .mt-14, .mt-16, .mb-6, .ta-c) { padding-top: 0 !important; } /* what had a style attribute (#128) */
    .screen.setup .h1 + * { margin-top: 12px; }
    .screen.setup :is(.pod, .hero-av) + .h1 { margin-top: 24px; }
    .screen.setup .hello .h1 + .lead { margin-top: 0; }
    #s-plate #plate-cards { margin-top: 24px; gap: 12px; padding-top: 0; }
    #s-plate .wrap > .field { margin-top: 24px; gap: 8px; }
    .screen.setup .stack-v.tight { gap: 12px; }
    .screen.setup .onpc { margin-top: 12px !important; }
    .screen.setup .onpc + .lead { margin-top: 24px; }
  }
  @media (min-width: 700px) and (min-height: 700px) {
    .screen.setup { position: relative; overflow-y: auto; padding: 96px 48px 0; }
    .screen.setup > .body { flex: 0 0 auto; overflow: visible; margin-top: auto; }
    .screen.setup > .body:not(:has(+ .foot:not([hidden]))) { margin-bottom: auto; padding-bottom: 48px; }
    .screen.setup > .foot { margin-bottom: auto; background: var(--bg); box-shadow: none; border-top: 0; position: sticky; bottom: 0; padding-bottom: 48px; }
    /* A screen taller than the window keeps its button in sight (Probe). */
    .screen.setup .wrap { max-width: 520px; padding: 0; }
    #s-hello .wrap { max-width: 760px; }
    .screen.setup > .body .wrap { display: flex; flex-direction: column; }
    .screen.setup > .foot .wrap { padding-top: 32px; align-items: flex-start; gap: 16px; }
    .screen.setup .foot .btn, .screen.setup .foot .slack { width: auto; padding-inline: 32px; }
    .screen.setup .foot .small-link { align-self: flex-start; }
    .screen.setup .pdots { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); padding: 0; }
    .screen.setup .top { position: absolute; top: 0; left: 0; padding: 16px 24px; justify-content: flex-start; gap: 16px; }
    .screen.setup .top .back { margin-right: 0; }
    .screen.setup .top .brand { display: flex !important; } .screen.setup .top .brand[hidden] { display: none !important; }
    .screen.setup .wrap > :is([style], .pt-6, .pt-8, .pt-10, .pt-12, .pt-16, .pt-24, .mt-8, .mt-12, .mt-14, .mt-16, .mb-6, .ta-c) { padding-top: 0 !important; } /* what had a style attribute (#128) */
    .screen.setup .stack-v { padding-top: 0; gap: 16px; }
    .screen.setup .stack-v.tight { gap: 12px; }
    .screen.setup .h1 + * { margin-top: 16px; }
    .screen.setup .hello .h1 + .lead { margin-top: 0; }
    .screen.setup :is(.pod, .hero-av) + .h1 { margin-top: 32px; }
    .screen.setup .pod { padding-top: 0; }
    .screen.setup .opts { padding-bottom: 0; }
    .screen.setup .intro { padding-top: 0; }
    .screen.setup .err:empty, .screen.setup .small:empty { display: none; }
    .screen.setup .onpc { margin-top: 16px !important; }
    .screen.setup .onpc + .lead { margin-top: 12px; }
    /* What's on your plate (Iris, desktop-after-aboutyou.png): text to the
       first card 32, card to card 12, last card to the label 32, label to
       the box 8. */
    #s-plate #plate-cards { margin-top: 32px; gap: 12px; padding-top: 0; }
    #s-plate .wrap > .field { margin-top: 32px; gap: 8px; }
  }
  /* Chat screens sit on the bottom: the box 24 px from the edge, and any
     empty space above the oldest message. */
  @media (min-width: 700px) {
    #chat-body .wrap { display: flex; flex-direction: column; min-height: 100%; }
    #chat-first { margin-top: auto; }
    #s-chat .foot .wrap { padding-bottom: 24px; }
  }

  /* Home: projects, chat, pod (Iris, review-desktop frame 1 and pod-board). */
  /* Sidebar 280 px from 1024 to 1599, 300 from 1600, 260 from 768 to 1023 (Wren). */
  .home { position: relative; overflow-x: clip; height: 100%; display: grid; grid-template-columns: var(--sw, 280px) minmax(0, 1fr) var(--pw, 280px); grid-template-rows: minmax(0, 1fr); }
  .home.hidepod { grid-template-columns: var(--sw, 280px) minmax(0, 1fr); }
  .home.hidepod .podp { display: none; }
  .home .ptop, .home .ptabs { display: none; }
  .side { background: var(--card); border-right: 1px solid var(--line); padding: 20px 14px; overflow-y: auto; display: flex; flex-direction: column; }
  /* Item 46: Janeway at the top is the way home, + creates a pod. With one pod Janeway is plain text. */
  .sidehd { display: flex; align-items: center; gap: 8px; }
  .homebtn, .homeplain { min-height: 44px; padding: 0 10px; border-radius: 10px; display: flex; align-items: center; gap: 8px; margin-right: auto; }
  .homebtn { border: 0; background: none; color: var(--fg); font: inherit; font-size: 20px; font-weight: 900; cursor: pointer; } .homebtn[hidden], .homeplain[hidden] { display: none; }
  .homebtn svg { width: 16px; height: 16px; fill: var(--muted); } .homebtn:hover { background: color-mix(in srgb, var(--accent) 12%, var(--bg)); } .homebtn:focus-visible, .plusbtn:focus-visible { outline: 2px solid #4b3bb0; outline-offset: 2px; }
  .plusbtn { flex: 0 0 44px; width: 44px; height: 44px; border: 2px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--fg); display: grid; place-items: center; cursor: pointer; } .plusbtn svg { width: 20px; height: 20px; fill: currentColor; }
  .side .sidehd .brand { padding: 0 10px; }
  /* A thin rule between the shared pods and the person's own pod (Josh, Nov 17). */
  .side-sep { flex: none; height: 1px; margin: 12px 0; background: var(--line); } /* Ends where a selected row's pill ends, 14 px from the sidebar's edges (Wren). */ .side-sep[hidden] { display: none; }
  .listbtn { flex: 0 0 44px; width: 44px; height: 44px; border: 0; border-radius: 10px; background: color-mix(in srgb, var(--accent) 8%, var(--bg)); color: var(--fg); display: grid; place-items: center; cursor: pointer; } .listbtn svg { width: 22px; height: 22px; fill: currentColor; } .listbtn:focus-visible { outline: 2px solid #4b3bb0; outline-offset: 2px; }
  .side .brand { padding: 0 6px 18px; }
  .side .jobs-h { padding: 12px 6px 0; min-height: 28px; box-sizing: border-box; align-items: center; font-size: 11.5px; }
  .side .job { background: none; padding: 4px 10px; margin-top: 0; min-height: 32px; box-sizing: border-box; font-size: 14.5px; line-height: 20px; font-weight: 500; border-radius: 8px; display: flex; flex-direction: column; justify-content: center; position: relative; }
  @media (max-width: 700px) { .side .job { min-height: 44px; } }
  .side .job .small { font-weight: 500; line-height: 16px; margin-top: 0; }
  .side .job.cur { background: color-mix(in srgb, var(--accent) 12%, var(--bg)); }
  .side .job.waits .small { color: var(--accent); }
  .side .job .small { font-size: 12.5px; }
  .job > span:first-child, .projh { overflow-wrap: anywhere; min-width: 0; }
  /* A title wraps to 2 lines, then ends with an ellipsis (Wren). */
  .projhead .projh { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .side .job:not(.talk) > span:first-child { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  /* Ready for you: the title, a dot where the thing is, and why in one grey line. A dot, not a bell. */
  .side .job.wait { position: relative; padding-right: 26px; }
  .side .job.row-s { position: relative; padding-right: 30px; }
  .rb { position: absolute; right: 12px; top: 13px; width: 14px; height: 14px; display: block; font-style: normal; }
  .rb svg { width: 14px; height: 14px; display: block; }
  /* Status marks: the grey spinner means podmates are working (#124), the green bell means a decision is ready for you (Josh, Nov 16). */
  /* A decision is waiting: the green bell (Josh, Nov 16). Not a tap target, the whole row is. */
  .b-ready { font-style: normal; pointer-events: none; }
  .side .job.dwait > span:not(.sym):not(.reason):not(.ric) { font-weight: 700; }
  .b-done svg { fill: #9b9ab3; }
  .side .job.wait .reason { display: block; margin-top: 2px; color: var(--muted); font-size: 12.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  /* The open ask, pinned under the title while the messages scroll. */
  .dcard { margin: 6px 0 4px; background: color-mix(in srgb, var(--accent) 7%, var(--bg)); border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--bg)); border-radius: 14px; padding: 10px 12px; max-height: 50vh; overflow-y: auto; }
  .dc-top { display: flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
  .dc-n { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; text-transform: none; letter-spacing: 0; color: var(--muted); font-size: 12.5px; }
  .dc-n button { position: relative; border: 0; background: none; color: var(--accent); font-weight: 900; font-size: 16px; line-height: 1; padding: 2px 6px; cursor: pointer; }
  /* The icons stay small, and the tap area reaches 44 px. */
  .dc-n button::after, .achip button::after { content: ''; position: absolute; inset: -14px; }
  .dc-q { margin-top: 4px; font-weight: 900; font-size: 15px; line-height: 1.3; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .dc-opts { margin: 4px 0 0; padding: 0; list-style: none; font-size: 13px; font-weight: 700; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
  .dc-opts li { display: inline; } .dc-opts li + li::before { content: ' · '; }
  .dcard.open .dc-q, .dcard.open .dc-opts { display: block; -webkit-line-clamp: unset; overflow: visible; }
  .dcard.open .dc-opts li { display: block; } .dcard.open .dc-opts li + li::before { content: none; }
  .dc-wchg { margin-top: 6px; font-size: 13px; font-weight: 700; line-height: 1.35; color: #4b3bb0; overflow-wrap: anywhere; } @media (forced-colors: active) { .dc-wchg { color: CanvasText; } }
  .dc-ctx { margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--fg); overflow-wrap: anywhere; white-space: pre-wrap; }
  .dc-act { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
  .dc-main { display: inline-block; background: var(--accent); color: var(--accent-ink); border-radius: 999px; padding: 0 16px; min-height: 44px; display: inline-flex; align-items: center; font-weight: 900; font-size: 14px; text-decoration: none; }
  .dc-ifwrong { margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--muted); overflow-wrap: anywhere; }
  .dc-answer { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; margin-top: 10px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 15px; font-weight: 600; text-decoration: none; }
  .dc-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
  .dc-orows { list-style: none; margin: 8px 0 0; padding: 0; } .dc-orow { border-top: 1px solid color-mix(in srgb, var(--accent) 18%, var(--bg)); }
  .dc-ohr { display: flex; flex-direction: column; align-items: stretch; gap: 2px; } .dc-ohr .dc-pick { width: 100%; max-width: none; flex: none; margin: 2px 0 10px; } .dc-ohead .tp-tile { grid-row: 1 / span 2; grid-column: 1; width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; } .dc-ohead .tp-tile svg { width: 20px; height: 20px; fill: currentColor; } .dc-ohead { display: grid; grid-template-columns: 32px 1fr auto; column-gap: 10px; align-items: center; flex: 1; min-width: 0; min-height: 48px; padding: 8px 0; border: 0; background: none; font: inherit; color: var(--fg); text-align: left; cursor: pointer; }
  .dc-ohead .dc-ot b { font-weight: 700; } .dc-ohead small { grid-column: 2; font-size: 13px; color: var(--muted); font-weight: 400; } .dc-ohead .dc-chev { grid-row: 1 / span 2; grid-column: 3; display: inline-flex; width: 24px; height: 24px; align-items: center; justify-content: center; color: var(--fg); }
  .dc-ohead:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; } .dc-ohead .star { width: 14px; height: 14px; fill: var(--accent); vertical-align: -1px; }
  .dc-obody { padding: 0 0 12px; } .dc-obody p { margin: 2px 0; font-size: 14px; } .dc-obody .dc-apart { color: var(--fg); } .dc-why { margin: 0 0 6px; font-size: 14px; color: var(--fg); }
  .dc-src { display: flex; align-items: center; min-height: 34px; font-size: 14px; font-weight: 600; color: var(--accent-text); overflow-wrap: anywhere; } .dc-srcmore summary { display: flex; align-items: center; gap: 8px; min-height: 34px; cursor: pointer; font-size: 14px; list-style: none; } .dc-srcmore summary::-webkit-details-marker { display: none; } .dc-srcmore summary::before { content: ''; flex: none; width: 6px; height: 6px; margin-left: 2px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); } .dc-srcmore[open] summary::before { transform: rotate(45deg); } @media (max-width: 767px) { .dc-src, .dc-srcmore summary { min-height: 44px; } }
  .pickfail { display: flex; gap: 6px; align-items: flex-start; margin: 8px 0 0; color: #a4161a; font-weight: 600; font-size: 14px; } .pickfail .err-ic { width: 16px; height: 16px; fill: currentColor; flex: none; margin-top: 2px; }
  .jc-pending { margin: 8px 0 0; font-size: 13px; color: var(--muted); }
  .sl-lean { display: inline-flex; align-items: center; gap: 4px; margin-left: 8px; font-size: 13px; font-weight: 700; color: #4b3bb0; } .sl-lean svg { width: 14px; height: 14px; fill: currentColor; }
  .sl-msg { margin: 4px 0 0 40px; max-width: 640px; } .chat .offer-btns { margin-left: 40px; } .chat .btns.offer-btns button:not(:first-child) { box-shadow: inset 0 0 0 2px var(--accent); color: #4b3bb0; } @media (max-width: 767px) { .sl-msg, .chat .offer-btns { margin-left: 0; } .chat .offer-btns button { min-height: 48px; } }
  @media (forced-colors: active) { .sl-lean { color: CanvasText; } }
  .slcard { margin: 12px 0 16px; padding: 12px 14px; border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--bg)); border-radius: 14px; background: color-mix(in srgb, var(--accent) 5%, var(--bg)); }
  .sl-q { margin: 0 0 6px; font-size: 17px; font-weight: 700; } .sl-sub { margin: 0 0 10px; font-size: 14px; line-height: 1.4; color: var(--muted); } .sl-rows { list-style: none; margin: 0; padding: 0; }
  .sl-row { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid color-mix(in srgb, var(--accent) 18%, var(--bg)); } .sl-row:first-child { border-top: 0; }
  .sl-row > .tp-tile { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; flex: none; } .sl-row > .tp-tile svg { width: 20px; height: 20px; fill: currentColor; }
  .sl-b { flex: 1; min-width: 0; } .sl-b p { margin: 2px 0; font-size: 14px; } .sl-b .dc-obody { padding: 0; }
  .dc-pick { flex: 0 1 auto; max-width: 100%; min-height: 44px; min-width: 120px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--bg)); background: var(--bg); color: var(--fg); font: inherit; font-size: 15px; font-weight: 600; padding: 8px 16px; cursor: pointer; text-align: center; overflow-wrap: anywhere; }
  .dc-pick.first { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
  .dc-pick:not(.first) { background: var(--bg); color: var(--fg); border: 2px solid var(--line); }
  @media (max-width: 767px) { .dc-pick { min-height: 48px; min-width: 128px; } }
  .dc-pick:disabled { opacity: 0.5; cursor: default; }
  .dc-pick:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
  .dc-answer:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
  .dc-pick .star, .dc-rec .star { width: 14px; height: 14px; fill: currentColor; flex: none; } .dc-pick.first { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
  .rec-star .star { width: 14px; height: 14px; fill: var(--accent); vertical-align: -2px; }
  .dc-rec { display: flex; gap: 8px; align-items: flex-start; margin-top: 10px; font-size: 13px; line-height: 1.4; color: var(--fg); } .dc-rec .star { margin-top: 2px; color: var(--accent); }
  .dc-changed { margin-top: 8px; padding: 6px 10px; border-radius: 10px; background: var(--bg); font-size: 13px; } .dc-changed b { font-weight: 700; }
  .dc-det { margin-top: 10px; padding-top: 10px; border-top: 1px solid color-mix(in srgb, var(--accent) 22%, var(--bg)); } .dc-det h4 { margin: 10px 0 2px; font-size: 12px; font-weight: 700; color: var(--muted); } .dc-det h4:first-child { margin-top: 0; } .dc-det p { margin: 0; font-size: 13px; line-height: 1.4; overflow-wrap: anywhere; white-space: pre-wrap; }
  .dc-pics { display: flex; flex-wrap: wrap; gap: 12px; } .dc-pic { border: 0; background: none; padding: 0; font: inherit; width: 104px; text-align: left; cursor: pointer; } .dc-pic img { display: block; width: 104px; height: 70px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); } .dc-pic span { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); overflow-wrap: anywhere; } .dc-pic:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 8px; }
  .dc-lb { position: fixed; inset: 0; z-index: 60; background: rgba(23, 22, 58, 0.72); display: flex; align-items: center; justify-content: center; padding: 16px; } .dc-lb-in { position: relative; max-width: min(92vw, 960px); max-height: 92vh; overflow: auto; background: var(--bg); border-radius: 14px; padding: 56px 16px 16px; } .dc-lb-in img { display: block; max-width: 100%; max-height: 66vh; margin: 0 auto; border-radius: 8px; } .dc-lb-in p { margin: 10px 0 0; font-size: 14px; line-height: 1.4; } .dc-lb-x { position: absolute; top: 8px; right: 8px; min-width: 44px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 2px solid var(--line); background: var(--bg); color: var(--fg); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; } .dc-lb-x:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

  .dc-more { font-size: 13px; text-decoration: none; } .dc-more { min-height: 32px; padding: 0 6px; margin-left: -6px; } @media (max-width: 767px) { .dc-more { min-height: 44px; padding: 0 10px; margin-left: -10px; } }
  .dcard.done { background: color-mix(in srgb, var(--ok) 10%, var(--bg)); border-color: color-mix(in srgb, var(--ok) 30%, var(--bg)); }
  .dcard.done .ans { margin: 0; }
  .dc-act:empty { display: none; }
  .side .empty { padding: 8px 10px; }
  .side-pods { margin-top: auto; align-self: flex-start; padding: 8px 6px 0; font-size: 14px; text-decoration: none; }
  .side-pods + .side-set { margin-top: 0; }
  .side-set { margin-top: auto; align-self: flex-start; padding: 8px 6px; font-size: 14px; text-decoration: none; }
  .mid { display: flex; flex-direction: column; min-height: 0; min-width: 0; position: relative; }
  .mid .wrap { max-width: none; padding-left: 24px; padding-right: 24px; }
  .projh { font-size: 24px; line-height: 1.2; font-weight: 900; letter-spacing: -0.01em; padding-block: 22px 8px; }
  .podline { display: flex; align-items: center; gap: 10px; background: var(--card); border-radius: 999px; padding: 5px 6px 5px 8px; margin-top: 16px; font-size: 13.5px; font-weight: 800; color: var(--muted); }
  .podline b { color: var(--fg); font-weight: 900; }
  .podline .t { flex: 1; min-width: 0; }
  /* The strip sits above the scrolling chat, not in it. In the chat it scrolled out of sight at large text and left its top edge cut off (Iris, Nov 17). */
  .plbox { flex: 0 0 auto; }
  .plbox .wrap { padding-bottom: 0; }
  /* 8 px under the strip, and a short fade over the top of the chat, so a message scrolling under it never touches its edge (Iris, Nov 17). */
  .plbox { position: relative; z-index: 2; }
  .plbox .wrap:has(.podline:not([hidden])) { padding-bottom: 8px; }
  .plbox::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 10px; background: linear-gradient(var(--bg), transparent); pointer-events: none; }
  .podline .show { margin-left: auto; border: 0; background: color-mix(in srgb, var(--accent) 10%, var(--bg)); color: var(--accent); border-radius: 999px; padding: 6px 12px; font-weight: 900; font-size: 13.5px; cursor: pointer; white-space: nowrap; }
  /* The project map pane. Hidden until the engine sends steps for the open project (#685). */
  .ap-top .link { text-decoration: none; color: var(--muted); font-size: 14px; }
  .ap-ph { cursor: pointer; border: 0; background: none; color: var(--fg); font-family: inherit; width: 100%; text-align: left; }
  .ap-ph .chev { margin-left: auto; transition: transform 120ms ease; color: var(--muted); }
  .ap-pod.open .ap-ph .chev { transform: rotate(90deg); }
  .ap-more { background: none; border: 0; padding: 6px 10px; color: var(--accent); font: inherit; font-weight: 900; font-size: 13.5px; text-align: left; cursor: pointer; }
  .ap-scroll { height: 100%; overflow-y: auto; }
  .ap-col { max-width: 720px; margin: 0 auto; padding: 34px 24px 48px; display: flex; flex-direction: column; gap: 6px; }
  .ap-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
  .ap-h { font-size: 12px; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin: 14px 4px 6px; }
  .ap-card { display: flex; gap: 12px; align-items: center; width: 100%; border: 0; background: var(--card); color: var(--fg); font: inherit; text-align: left; border-radius: 14px; padding: 12px 14px; cursor: pointer; }
  .ap-card .t { flex: 1; min-width: 0; } .ap-card small { display: block; font-size: 12.5px; font-weight: 800; color: var(--muted); } .ap-card b { display: block; font-size: 15.5px; font-weight: 900; } .ap-card .l { display: block; font-size: 14px; font-weight: 700; }
  .ap-pr { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; box-sizing: border-box; margin-bottom: 8px; padding: 10px 14px; border: 0; border-radius: 14px; background: var(--card); color: var(--fg); font: inherit; text-align: left; cursor: pointer; }
  .ap-pr .t { flex: 1; min-width: 0; display: flex; flex-direction: column; } .ap-pr .t b { font-weight: 800; } .ap-pr .t small { color: var(--muted); font-size: 13px; font-weight: 600; } .ap-pr .chev { color: var(--muted); font-size: 22px; } .ap-pr:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
  .ap-create { margin-top: 12px; }
  .ap-pod { border: 1px solid var(--line); border-radius: 16px; padding: 10px; margin-bottom: 10px; display: flex; flex-direction: column; }
  .ap-ph { display: flex; gap: 10px; align-items: center; padding: 4px 6px 8px; font-weight: 900; font-size: 16.5px; }
  .ap-row { display: flex; align-items: center; gap: 10px; width: 100%; border: 0; background: none; color: var(--fg); font: inherit; font-weight: 800; font-size: 15px; text-align: left; padding: 8px 10px; border-radius: 10px; cursor: pointer; min-height: 44px; }
  .ap-row .t { flex: 1; min-width: 0; } .ap-row small { display: block; font-size: 13px; font-weight: 700; color: var(--muted); }
  .np-btns { display: flex; gap: 8px; flex-wrap: wrap; margin: 4px 0 8px; }
  .np-btn { min-height: 36px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--fg); font: inherit; font-size: 14px; font-weight: 600; padding: 0 16px; cursor: pointer; }
  .np-btn.f { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
  .np-btn:disabled { opacity: .45; cursor: default; }
  .np-cancel { align-self: flex-start; text-decoration: none; color: var(--muted); font-size: 14px; min-height: 32px; }
  .np-col textarea { width: 100%; min-height: 96px; max-height: 144px; font: inherit; font-size: 16px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--fg); resize: none; overflow-y: auto; }
  .np-chip { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--line); border-radius: 14px; padding: 2px 10px; font-size: 13px; color: var(--fg); background: var(--bg); margin-left: 4px; }
  .np-chip select { border: 0; background: none; font: inherit; color: inherit; appearance: none; padding-right: 2px; cursor: pointer; }
  .np-card { border: 1px solid color-mix(in srgb, var(--accent) 25%, var(--bg)); background: color-mix(in srgb, var(--accent) 6%, var(--bg)); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; }
  .np-card[hidden], .np-err[hidden] { display: none; }
  .np-err { border: 1px solid #e0c9c9; background: #fdf6f6; border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; }
  @media (max-width: 767px) { .np-btn { min-height: 44px; } .np-col { justify-content: flex-end; min-height: 100%; } }
  .mappane { display: none; }
  .mp-tabs { display: flex; gap: 2px; padding: 12px 10px; border-bottom: 1px solid var(--line); min-width: 0; overflow: hidden; }
  .mappane { min-width: 0; overflow-x: hidden; }
  .mp-tabs button { border: 0; background: none; color: var(--muted); font: inherit; font-weight: 900; font-size: 14.5px; padding: 7px 10px; border-radius: 10px; cursor: pointer; flex: 0 1 auto; min-width: 0; white-space: nowrap; }
  .mp-tabs button.on { color: var(--fg); background: color-mix(in srgb, var(--accent) 12%, var(--bg)); }
  .mp-body { padding: 14px 16px; overflow-y: auto; min-height: 0; flex: 1; }
  /* The right pane is a stack of sections that scroll as one (Wren, Nov 15). Headers are 28 px, 44 px on touch. */
  .mappane { container-type: inline-size; }
  .mp-stack { overflow-y: auto; overflow-x: hidden; min-height: 0; flex: 1; display: block; }
  .ps { border-bottom: 1px solid var(--line); } .ps[hidden] { display: none; }
  .ps-t { margin: 0; font: inherit; }
  .ps-h { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 32px; padding: 2px 14px; border: 0; background: none; color: var(--fg); font: inherit; font-size: 14px; font-weight: 800; text-align: left; cursor: pointer; }
  .ps-h:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
  .ps-c { flex: none; font-style: normal; display: inline-block; width: 12px; font-size: 18px; line-height: 1; text-align: center; color: var(--muted); transition: transform 120ms ease; } .ps-h[aria-expanded="true"] .ps-c { transform: rotate(90deg); }
  .ps-n { min-width: 0; overflow-wrap: break-word; } /* a long heading wraps, never ends in an ellipsis (Cue, Nov 17) */
  .ps-b { padding: 4px 14px 14px; } .ps-b[hidden] { display: none; }
  /* Every open section has a fixed height and scrolls inside it, so nothing above or below moves (Josh, Nov 16). Bodies: Map 120, Ready for you 160, Talking 300, Podmates 200. */
  .mappane .ps-b { box-sizing: border-box; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; }
  .mappane .ps-b::-webkit-scrollbar { width: 4px; } .mappane .ps-b::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--muted) 55%, transparent); border-radius: 2px; } .mappane .ps-b::-webkit-scrollbar-track { background: transparent; }
  /* A box with more below fades at its bottom edge (Wren). */
  .mappane .ps-b.more { -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 28px), transparent); }
  .mappane #mp-mapb { height: 120px; } .mappane #mp-dwrap { height: 160px; } .mappane #mp-talk { height: auto; max-height: none; overflow: visible; padding: 12px 14px; } .mappane #mp-mapb.fit, .mappane #mp-dwrap.fit, .mappane #mp-dwrap.grow { height: auto; } .mp-none { margin: 0; padding: 8px 12px 12px; font-size: 13px; color: var(--muted); } .mappane #mp-pmb { height: 200px; } .mappane #mp-lnb { height: 200px; }
  .mp-stack > .ps.fill { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; border-bottom: 0; } .mappane .ps.fill > .ps-b { flex: 1 1 auto; height: auto !important; max-height: none !important; min-height: 0; }
  .ps-h-static { cursor: default; }
  .dc-answered { display: block; min-height: 40px; margin-top: 10px; font-weight: 800; color: var(--ok); }
  .ans-h { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 800; color: var(--ok); } .ans-h svg { width: 14px; height: 14px; fill: currentColor; } .ans-line { display: block; margin-top: 2px; font-size: 14px; font-weight: 700; color: var(--fg); overflow-wrap: anywhere; }
  .dcards { display: flex; flex-direction: column; gap: 8px; } .dcards .dc-one { margin: 6px 0 0; max-height: none; overflow: visible; }
  /* The line between two open sections drags to resize them (Josh, Nov 16). It sits over the divider and adds no height. */
  .ps-rz { position: relative; z-index: 3; flex: none; height: 16px; margin: -8px 0; /* a 16 px hit strip centered on the divider, invisible at rest (Wren, Nov 17) */ cursor: row-resize; touch-action: none; }
  .ps-rz[hidden] { display: none; }
  .ps-rz::after { content: ''; position: absolute; left: 0; right: 0; top: 8px; height: 1px; background: transparent; }
  .ps-rz:hover::after, .ps-rz:focus-visible::after, .ps-rz.on::after { top: 7px; height: 3px; background: color-mix(in srgb, var(--accent) 55%, transparent); border-radius: 2px; }
  .ps-rz:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
  .ps-bang { flex: none; margin-left: auto; width: 16px; height: 16px; color: var(--ok); font-style: normal; display: grid; place-items: center; } .ps-bang[hidden] { display: none; } .ps-bang svg { width: 16px; height: 16px; display: block; fill: currentColor; }
  @media (pointer: coarse), (max-width: 699px) { .ps-h { min-height: 44px; } }
  .ps-sub { flex: 0 1 auto; min-width: 0; margin-left: auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 600; color: var(--muted); }
  #mp-pmb > .pl { margin-top: 0; }
  .mappane .scn-first { display: none !important; }
  /* The pod overview fills the middle, like the lessons view does (Wren, Nov 15). */
  .ov { display: none; } .home.ovview .ov:not([hidden]) { display: block; overflow-y: auto; min-height: 0; padding: 32px 48px; }
  .home.ovview #chat-body, .home.ovview .foot, .home.ovview #b-new-msg, .home.ovview .podp, .home.ovview .podline { display: none !important; }
  .ov-in { max-width: 680px; } .ov-t { margin: 0; font-size: 26px; font-weight: 800; } .ov-l { margin: 4px 0 16px; color: var(--muted); font-size: 15px; }
  .ov-talk { min-height: 44px; } .ov-h { margin: 28px 0 8px; font-size: 13.5px; font-weight: 800; color: var(--muted); }
  .ov-list { display: flex; flex-direction: column; } .ov-row { display: flex; align-items: center; gap: 10px; min-height: 44px; width: 100%; border: 0; border-bottom: 1px solid var(--line); background: none; padding: 0 4px; font: inherit; font-size: 15px; color: var(--fg); text-align: left; cursor: pointer; }
  /* Podmates in the pod overview, grouped by function (Iris's podlist board, Wren passed). Leader pinned on top, groups A to Z with Other last, 44 px rows (48 on phone). */
  .ovpl { margin-top: 4px; }
  .ovpl-lead { position: sticky; top: 0; z-index: 2; background: var(--bg); border-bottom: 1px solid var(--line); padding-bottom: 4px; }
  .ovpl-row { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 4px; font-size: 15px; font-weight: 400; color: var(--fg); }
  .ovpl-row .ovpl-f { flex: none; width: 28px; height: 28px; display: grid; place-items: center; } .ovpl-row .ovpl-f img, .ovpl-row .ovpl-f .cinit { width: 28px; height: 28px; border-radius: 50%; }
  .ovpl-row .ovpl-t { flex: 1; min-width: 0; } .ovpl-row small { display: block; font-size: 12.5px; line-height: 14px; font-weight: 700; color: var(--muted); }
  .ovpl-g { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 44px; padding: 0 4px; border: 0; background: none; font: inherit; font-size: 14px; font-weight: 800; color: var(--muted); text-align: left; cursor: pointer; }
  .ovpl-g:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
  .ovpl-g .ovpl-c { flex: none; width: 20px; height: 20px; } .ovpl-g .ovpl-c svg { width: 20px; height: 20px; fill: var(--muted); display: block; }
  .ovpl-g .ovpl-k { flex: 1; min-width: 0; } .ovpl-g .ovpl-n2 { font-weight: 700; }
  @media (max-width: 699px) { .ovpl-row, .ovpl-g { min-height: 48px; } }
  .ov-more { min-height: 44px; padding: 0 4px; border: 0; background: none; color: var(--accent); font: inherit; font-size: 14px; font-weight: 800; text-decoration: underline; cursor: pointer; text-align: left; } @media (max-width: 699px) { .ov-more { min-height: 48px; } }
  .ov-row.dwait .ov-n { font-weight: 700; } .ov-n { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .ov-row .b-ready { flex: none; }
  .side .grp.other { margin-top: 2px; } .side .grp.other .grp-t b { font-weight: 400; }
  .side .grp.other .ini { display: grid; place-items: center; border-radius: 50%; background: color-mix(in srgb, var(--fg) 10%, var(--bg)); font-weight: 700; font-size: 12px; }
  .side .grp.other .rb, .side .grp.other .wk { position: relative; inset: auto; margin: 0; flex: none; }
  /* One-project invites (item 17, Iris projinvite round 3). */
  .iv-sec { padding-top: 20px; } .iv-sec h3 { margin: 0 0 4px; font-size: 15.5px; font-weight: 700; } .iv-sec .small { display: block; margin-bottom: 8px; }
  .iv-make { justify-content: flex-end; } .iv-nm { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin: 12px 0 4px; } .iv-nm .nf { flex: 1 1 11em; min-width: 0; } .iv-nm label { display: block; font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 4px; } .iv-nm input { box-sizing: border-box; width: 100%; min-height: 48px; padding: 0 14px; font: inherit; font-size: 16px; color: var(--fg); background: var(--bg); border: 2px solid color-mix(in srgb, var(--fg) 35%, var(--bg)); border-radius: 12px; } .iv-nm input:focus-visible { outline: 3px solid #785EF0; outline-offset: 2px; } .iv-btn.f:disabled { background: #ece9fb; border-color: #a49cc0; color: #2b2850; cursor: default; } @media (forced-colors: active) { .iv-btn.f:disabled { border-color: GrayText; color: GrayText; } } .iv-row { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 0; flex-wrap: wrap; } .iv-row > .t { flex: 1 1 12em; min-width: 0; } .iv-row b { display: block; font-size: 14.5px; } .iv-row small { display: block; font-size: 12.5px; color: var(--muted); }
  .iv-ic { flex: none; width: 24px; height: 24px; display: grid; place-items: center; } .iv-ic svg { width: 20px; height: 20px; fill: var(--muted); }
  .iv-btn { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 2px solid var(--fg); background: var(--bg); color: var(--fg); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; } .iv-btn.f { background: var(--accent); border-color: var(--accent); color: #fff; }
  .iv-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; flex: none; } .iv-btn svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
  #slack-me [data-testid=slackme-under] { margin: 8px 0 0; }
  .sm-under { margin: 12px 0 0; font-size: 13.5px; color: var(--muted); } #sm-p2 { margin-top: -8px; } .sm-chat-line { margin: 4px 0 0; font-size: 12.5px; color: var(--muted); text-align: right; } .sm-pill { box-sizing: border-box; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--line); background: var(--bg); color: var(--fg); font: inherit; font-size: 14.5px; font-weight: 600; cursor: pointer; } .sm-pill:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; } .sm-chat-line .sm-pill { display: block; margin: 6px 0 0 auto; } #slack-me .errcopy { box-sizing: border-box; height: 44px; } #slack-me .sm-fail { margin: 0; color: var(--fg); font-size: 14px; font-weight: 700; }
  .iv-btn:focus-visible, .cbox:focus-visible, .jn-in:focus-visible { outline: 3px solid #785EF0; outline-offset: 2px; }
  .iv-btn.danger { background: #b3261e; border-color: #b3261e; color: #fff; }
  .iv-boxes, .jn-boxes { display: flex; gap: 8px; margin: 8px 0; } .cbox { box-sizing: border-box; width: 48px; height: 56px; min-width: 44px; text-align: center; font: inherit; font-size: 22px; font-weight: 700; border: 2px solid color-mix(in srgb, var(--fg) 35%, var(--bg)); border-radius: 12px; background: var(--bg); color: var(--fg); }
  .jn-boxes .cbox { width: 56px; background: color-mix(in srgb, var(--accent) 8%, var(--bg)); display: grid; place-items: center; }
  .iv-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: #785EF0; }
  .iv-dlg-veil { position: fixed; inset: 0; background: rgba(20, 18, 40, .45); z-index: 80; } .iv-dlg { position: fixed; z-index: 81; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(92vw, 360px); box-sizing: border-box; padding: 20px; border-radius: 16px; background: var(--bg); color: var(--fg); box-shadow: 0 12px 40px rgba(20,18,40,.3); }
  .iv-dlg h3 { margin: 0 0 6px; font-size: 16px; } .iv-dlg p { margin: 0 0 14px; font-size: 14.5px; } .iv-dlg .iv-acts { display: flex; gap: 10px; justify-content: flex-end; }
  .iv-dlg[hidden], .iv-dlg-veil[hidden] { display: none; }
  .iv-more { width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: #3d3c5c; display: grid; place-items: center; cursor: pointer; flex: none; } .iv-more svg { width: 24px; height: 24px; fill: currentColor; }
  .iv-more:hover { background: color-mix(in srgb, var(--fg) 8%, var(--bg)); } .iv-more:focus-visible { outline: 3px solid #785EF0; outline-offset: 2px; }
  .rm-dlg h3 { font-size: 19px; font-weight: 900; } .rm-dlg p { line-height: 1.45; color: var(--muted, #5b5a78); font-weight: 600; margin-bottom: 16px; } .rm-dlg .iv-acts { gap: 12px; }
  @media (max-width: 599px) { .rm-dlg { left: 0; top: auto; bottom: 0; transform: none; width: 100%; border-radius: 20px 20px 0 0; padding: 20px 16px 24px; } .rm-dlg .iv-acts { flex-direction: column; } .rm-dlg .iv-btn { min-height: 48px; width: 100%; } }
  /* A long project name wraps in the title and stacks the buttons, so Stay keeps its label and 44 px height (Wren). */
  .rm-dlg.lvlong .iv-acts { flex-direction: column; align-items: stretch; } .rm-dlg.lvlong .iv-btn { min-height: 44px; width: 100%; white-space: normal; overflow-wrap: anywhere; text-align: center; } #lv-t { overflow-wrap: anywhere; }
  @media (max-width: 767px) { #s-join .np-col { justify-content: flex-start; } }
  /* A guest with no pod of their own: the same shell, the Projects list of joined projects, and one chat (item 17, Iris G5, Wren). */
  .home.guestview { grid-template-columns: var(--sw, 280px) minmax(0, 1fr); }
  .home.guestview .podp, .home.guestview .podline, .home.guestview #chat-body, .home.guestview .foot, .home.guestview #pod-h, .home.guestview #pod-body, .home.guestview #pod-others, .home.guestview [id="crew-entry"], .home.guestview .card-slack, .home.guestview #lx-side, .home.guestview .ptabs, .home.guestview [data-settings], .home.guestview .sidetray, .home.guestview .rz { display: none !important; }
  .home.guestview .gchat { display: flex; }
  .gchat { flex-direction: column; min-height: 0; flex: 1; } .gchat[hidden] { display: none; }
  .gchat .ghead { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 24px 4px; } .gchat .ghead .projh { margin: 0; min-width: 0; flex: 1; } .gchat .ghead .link { min-height: 44px; min-width: 44px; flex: none; }
  .gchat .gmsgs { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; padding: 8px 24px 16px; }
  .gchat .gfoot { display: flex; gap: 10px; align-items: center; padding: 10px 24px 16px; } .gchat .gfoot .jn-in { flex: 1; min-width: 0; } .gchat .gfoot .np-btn { min-height: 48px; flex: none; }
  @media (max-width: 700px) { .home.guestview { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); } .home.guestview .ptop [data-settings] { display: none !important; } .gchat .ghead, .gchat .gmsgs, .gchat .gfoot { padding-left: 16px; padding-right: 16px; } }
  .jn-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; } .jn-head .h2 { margin: 0; min-width: 0; } .jn-head .link { min-height: 44px; min-width: 44px; flex: none; }
  #s-join .np-btn { min-height: 48px; } #b-jn-back { min-height: 44px; }
  .jn-st { display: flex; align-items: center; gap: 8px; margin: 10px 0; font-size: 14.5px; color: var(--muted); } .jn-st svg { width: 20px; height: 20px; fill: var(--muted); flex: none; } .jn-st .spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--fg) 20%, var(--bg)); border-top-color: var(--accent); animation: jnspin 1s linear infinite; } @keyframes jnspin { to { transform: rotate(360deg); } } @media (prefers-reduced-motion: reduce) { .jn-st .spin { animation: none; } }
  .jn-err { display: flex; gap: 8px; align-items: flex-start; margin: 8px 0; padding: 10px 12px; border-radius: 10px; border: 1px solid #b3261e; font-size: 14.5px; } .jn-err svg { width: 20px; height: 20px; fill: #b3261e; flex: none; } .jn-err[hidden] { display: none; }
  .jn-in { box-sizing: border-box; width: 100%; min-height: 48px; padding: 0 14px; font: inherit; font-size: 16px; border: 2px solid color-mix(in srgb, var(--fg) 35%, var(--bg)); border-radius: 12px; background: var(--bg); color: var(--fg); }
  /* The guest's two chats: the project, and You and {leader} (#91). */
  .gchat .gtabs[hidden], .gchat .g-disc[hidden] { display: none; }
  .gchat .gtabs { display: flex; gap: 8px; padding: 4px 24px 0; flex-wrap: wrap; }
  .gchat .gtab { min-height: 44px; border: 0; border-radius: 999px; padding: 0 16px; font: inherit; font-weight: 800; font-size: 14.5px; background: var(--card); color: var(--muted); cursor: pointer; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .gchat .gtab.on { background: color-mix(in srgb, var(--accent) 12%, var(--bg)); color: var(--accent-text); box-shadow: inset 0 0 0 2px var(--accent); }
  /* The host's own second chat in a project with teammates: You and {leader} (#91). */
  .htabs { display: flex; gap: 8px; padding: 4px 0 8px; flex-wrap: wrap; } .htabs[hidden] { display: none; }
  .htab { min-height: 44px; border: 0; border-radius: 999px; padding: 0 16px; font: inherit; font-weight: 800; font-size: 14.5px; background: var(--card); color: var(--muted); cursor: pointer; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .htab.on { background: color-mix(in srgb, var(--accent) 12%, var(--bg)); color: var(--accent-text); box-shadow: inset 0 0 0 2px var(--accent); }
  .htab:focus-visible { outline: 3px solid #785EF0; outline-offset: 2px; }
  #chat .jn-acts, #chat-first .jn-acts { margin: 2px 0 0 44px; }
  /* The host's private tab (Iris, Nov 18): the group strip is hidden there, the leader's bubble is the guest tab's soft tint, and the Chat with link sits on the title's baseline. On a phone the link has its own row so the title keeps a full line. */
  .home.hostpriv .plbox { display: none; }
  .chat .bubble.lead.tint { background: color-mix(in srgb, var(--accent) 8%, var(--bg)); box-shadow: none; }
  .panehead:has(.htabs:not([hidden])) .projhead { align-items: baseline; }
  /* A 44 px tap area (Wren) with the link's look unchanged: the button is 32 px, and its hit area grows 6 px each way. */
  .jn-act { position: relative; } .jn-act::after { content: ''; position: absolute; inset: -6px -8px; }
  /* Write the answer (slice 3, piece 5, Iris's frame 02): a tinted chip joined to the top of the box. It wraps to two lines on a phone, and Cancel is a 44 px target. */
  .anschip { display: flex; align-items: center; gap: 8px; padding: 4px 4px 4px 14px; margin: 0 0 -1px; border-radius: 14px 14px 0 0; background: color-mix(in srgb, var(--accent) 12%, var(--bg)); font-size: 14px; font-weight: 700; } .anschip[hidden] { display: none; } .anschip span { flex: 1; min-width: 0; overflow-wrap: anywhere; } .anschip b { color: #4b3bb0; } .anschip .link { flex: none; min-height: 44px; min-width: 60px; font-size: 14px; font-weight: 700; text-decoration: underline; }
  .foot:has(.anschip:not([hidden])) .compose { border-top-left-radius: 0; border-top-right-radius: 0; } .foot:has(.anschip:not([hidden])) .compose .plus { display: none; }
  .pw-row { margin: 2px 0 0 40px; }
  .dc-write, .wc-write { min-height: 32px; font-size: 14px; font-weight: 600; text-decoration: underline; } .wc-write { margin-top: 2px; } @media (max-width: 767px) { .dc-write, .wc-write { min-height: 44px; } }
  @media (forced-colors: active) { .anschip { border: 1px solid CanvasText; } .anschip b { color: CanvasText; } }
  .hreply { display: flex; align-items: center; gap: 8px; padding: 0 4px 6px; font-size: 13.5px; font-weight: 700; color: var(--muted); } .hreply[hidden] { display: none; } .hreply span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .hreply .link { min-height: 44px; min-width: 44px; font-size: 20px; }
  .xp-learn, .ss-learn { margin: 14px 0 0; } .xp-learn summary::after, .ss-learn summary::after { content: ''; display: inline-block; width: 7px; height: 7px; margin-left: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); } .xp-learn[open] summary::after, .ss-learn[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
  .xp-learn summary, .ss-learn summary { min-height: 44px; display: flex; align-items: center; width: max-content; font-weight: 700; font-size: 14.5px; color: var(--accent-text); cursor: pointer; text-decoration: underline; text-underline-offset: 2px; } .xp-learn summary:focus-visible, .ss-learn summary:focus-visible { outline: 3px solid #785EF0; outline-offset: 2px; } .xp-learn p, .ss-learn p { margin: 0 0 8px; font-size: 14.5px; line-height: 1.45; color: var(--muted); }
  .jn-act.quiet { font-weight: 600; color: var(--muted); }
  @media (max-width: 700px) {
    .panehead:has(.htabs:not([hidden])) .projhead:has(.back-leader:not([hidden])) { flex-wrap: wrap; align-items: center; row-gap: 0; }
    .panehead:has(.htabs:not([hidden])) .projhead:has(.back-leader:not([hidden])) .back-leader { flex: 0 0 100%; text-align: left; justify-content: flex-start; }
  }
  .gchat .greply { display: flex; align-items: center; gap: 8px; padding: 6px 24px 0; font-size: 13.5px; font-weight: 700; color: var(--muted); } .gchat .greply[hidden] { display: none; } .gchat .greply span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .gchat .greply .link { min-height: 44px; min-width: 44px; font-size: 20px; }
  .gchat .g-disc { padding: 0 24px 12px; margin: 0; }
  .jn-acts { display: flex; gap: 14px; margin-top: 2px; } .jn-act { border: 0; background: none; padding: 0; min-height: 32px; font: inherit; font-weight: 800; font-size: 13px; color: var(--accent-text); cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
  .jn-m.jn-reply { margin-left: 14px; }
  .jn-msgs { display: flex; flex-direction: column; gap: 8px; padding: 8px 0 16px; } .jn-sys { text-align: center; font-size: 13.5px; color: var(--muted); } .jn-m { max-width: 85%; padding: 8px 12px; border-radius: 14px; background: color-mix(in srgb, var(--accent) 8%, var(--bg)); font-size: 14.5px; overflow-wrap: anywhere; } .jn-m small { display: block; font-size: 12px; color: var(--muted); } .jn-m.me { align-self: flex-end; background: color-mix(in srgb, var(--accent) 22%, var(--bg)); }
  .plusmenu { position: fixed; z-index: 70; min-width: 200px; padding: 6px; border-radius: 14px; background: var(--bg); box-shadow: 0 10px 32px rgba(20,18,40,.28); } .plusmenu button { display: block; width: 100%; min-height: 44px; padding: 0 14px; text-align: left; border: 0; border-radius: 10px; background: none; color: var(--fg); font: inherit; font-size: 15px; cursor: pointer; } .plusmenu button:hover, .plusmenu button:focus-visible { background: color-mix(in srgb, var(--accent) 10%, var(--bg)); outline: none; } .plusmenu[hidden] { display: none; }
  /* Who sees this chat (item 34, Iris whosees2): faces beside the title, a list on tap. */
  .whos { flex: none; display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; padding: 0 4px; border: 0; background: none; cursor: pointer; font-family: inherit; color: inherit; border-radius: 22px; align-self: center; }
  .whos[hidden] { display: none; }
  .whos .wf, .whos-ul .wf { flex: none; box-sizing: border-box; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #1b1a3a; border: 2px solid var(--bg); }
  .whos .wf + .wf { margin-left: -6px; }
  .whos .wn { flex: none; margin-left: 4px; font-size: 12.5px; font-weight: 700; color: var(--muted); }
  .whos:focus-visible, .whos-x:focus-visible { outline: 3px solid #785EF0; outline-offset: 2px; }
  .projhead:has(.whos:not([hidden])) { flex-wrap: nowrap; align-items: center; } .projhead:has(.whos:not([hidden])) .projh { flex: 1 1 0; min-width: 0; -webkit-line-clamp: 1; overflow-wrap: anywhere; word-break: normal; text-overflow: ellipsis; }
  .whos-veil { position: fixed; inset: 0; background: rgba(20, 18, 40, .45); z-index: 60; }
  .whos-pop { position: fixed; z-index: 61; box-sizing: border-box; background: var(--bg); color: var(--fg); box-shadow: 0 12px 40px rgba(20, 18, 40, .28); display: flex; flex-direction: column; font-size: 14.5px; }
  .whos-pop[hidden], .whos-veil[hidden] { display: none; }
  .whos-t { margin: 0 0 8px; font-size: 15.5px; font-weight: 700; line-height: 1.3; }
  .whos-ul { list-style: none; margin: 0; padding: 0; overflow-y: auto; min-height: 0; flex: 1 1 auto; }
  .whos-ul li { display: flex; align-items: center; gap: 10px; min-height: 44px; }
  .whos-ul .wf { width: 32px; height: 32px; }
  .whos-ul .wt b { display: block; font-size: 14.5px; font-weight: 700; } .whos-ul .wt small { display: block; font-size: 12.5px; color: var(--muted); }
  .whos-n { margin: 8px 0 0; padding-top: 8px; border-top: 1px solid color-mix(in srgb, var(--fg) 12%, var(--bg)); font-size: 13px; color: var(--muted); }
  .whos-f { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
  .tm-veil { position: fixed; inset: 0; background: rgba(27,26,58,.5); z-index: 60; } .tm-dlg { position: fixed; z-index: 61; left: 50%; top: 40px; transform: translateX(-50%); width: min(660px, calc(100% - 32px)); max-height: calc(100vh - 80px); overflow-y: auto; box-sizing: border-box; background: var(--bg); color: var(--fg); border-radius: 20px; padding: 20px 24px 24px; box-shadow: 0 12px 40px rgba(0,0,0,.25); } .tm-dlg[hidden], .tm-veil[hidden] { display: none; } .tm-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; } .tm-head h2 { font-size: 24px; font-weight: 900; margin: 0; } .tm-dlg h3 { font-size: 17px; font-weight: 800; margin: 0 0 4px; }
  @media (max-width: 599px) { .tm-dlg { left: 0; top: 0; transform: none; width: 100%; max-height: none; height: 100%; border-radius: 0; padding: 16px; } }
  .whos-x.whos-inv { background: var(--accent); border-color: var(--accent); color: #fff; } .whos-x[hidden] { display: none; } .whos-x { min-height: 44px; min-width: 88px; padding: 0 18px; border: 2px solid var(--fg); border-radius: 999px; background: var(--bg); color: var(--fg); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
  @media (max-width: 699px) { .whos-pop { left: 0; right: 0; bottom: 0; max-height: 70vh; padding: 20px 20px 16px; border-radius: 20px 20px 0 0; } }
  @media (min-width: 700px) { .whos-pop { width: 340px; max-height: min(420px, 70vh); padding: 16px 18px 14px; border-radius: 16px; } .whos-veil { background: transparent; } }
  @media (forced-colors: active) { .whos .wf, .whos-ul .wf { border: 1px solid CanvasText; } .whos-pop { border: 1px solid CanvasText; } }
  .grp.sel { background: color-mix(in srgb, var(--fg) 7%, var(--bg)); }
  .lx-pane .lx-trow { width: 100%; grid-template-columns: 36px minmax(0, 1fr) 14px; gap: 10px; } .lx-pane div.lx-trow { grid-template-columns: 36px minmax(0, 1fr); }
  .mappane .mp-stack, .mappane #mp-body { padding-top: 12px; }
  .mp-dwrap .dc-top > span:first-child { display: none; }
  .ps-more { display: block; width: 100%; min-height: 44px; margin-top: 4px; border: 0; background: none; color: var(--accent); font: inherit; font-weight: 700; text-align: left; cursor: pointer; padding: 0; }
  @media (max-width: 699px) { .home.ovview .ov:not([hidden]) { padding: 20px 16px; } }
  .mp-stack .mp-dwrap { padding: 4px 14px 14px; flex: none; }
  /* A long map scrolls inside its own section, so Ready for you and the Live view stay in the pane in the same order (Wren, Nov 15). Up to 4 steps the map keeps its full height. */
  .mappane .mp-stack { display: flex; flex-direction: column; } .mp-stack > .ps { flex: none; }
  .mcard { background: var(--card); border-radius: 14px; padding: 12px 14px; margin-bottom: 10px; display: flex; flex-direction: column; gap: 6px; }
  .mcard b { font-size: 14.5px; font-weight: 600; } .mcard small { font-size: 12.5px; color: var(--muted); font-weight: 500; }
  .mbtns { display: flex; flex-wrap: wrap; gap: 6px; } .mpick { min-height: 44px; border: 2px solid var(--line); background: var(--bg); color: var(--fg); border-radius: 999px; padding: 0 16px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; } .mpick.first { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
  .mlink { color: var(--accent); font-weight: 600; font-size: 14px; min-height: 44px; display: inline-flex; align-items: center; }
  .projhead .back-leader { min-height: 44px; padding: 0 12px 0 4px; font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap; flex: none; }
  .open-map { display: none; text-decoration: none; min-height: 32px; }
  .mp-tabs button[hidden] { display: none; }
  .mp-dwrap { padding: 14px 16px; min-height: 0; } .mp-dwrap[hidden] { display: none; }
  .mp-dwrap .dcard { margin: 0; max-height: none; overflow: visible; }
  .mp-dwrap .dc-q, .mp-dwrap .dc-opts { display: block; -webkit-line-clamp: unset; overflow: visible; }
  .mp-body[hidden] { display: none; }
  /* Map and Ready for you on top, Podmates last in the stack (Josh, 2026-11-15). The live stage is shorter there. */
  .mp-tabs #mp-dec .n { background: var(--accent); color: var(--accent-ink); border-radius: 999px; padding: 0 7px; font-size: 12.5px; }
  @media (max-width: 1199px) { .open-map { display: inline-flex; align-items: center; } }
  /* The button that opens the pane is a chip: a pill with the tab's symbol, 44 px tall, so it reads as a control (Wren). */
  .projhead .open-map { gap: 6px; min-height: 44px; padding: 0 14px 0 11px; border: 0; border-radius: 999px; background: color-mix(in srgb, var(--accent) 12%, var(--bg)); color: var(--fg); font-size: 14px; font-weight: 800; text-decoration: none; white-space: nowrap; cursor: pointer; }
  .projhead .open-map::after { content: '›'; font-size: 18px; line-height: 1; margin-left: 2px; }
  .projhead .open-map svg { width: 18px; height: 18px; fill: color-mix(in srgb, var(--accent) 80%, var(--fg)); flex: none; }
  .mp-top { display: none; align-items: center; justify-content: space-between; padding: 10px 14px 0; }
  .mp-back { display: none; min-height: 44px; text-decoration: none; color: var(--fg); font-weight: 600; } .mp-x { min-height: 44px; min-width: 44px; border: 0; background: none; font-size: 24px; color: var(--muted); cursor: pointer; }
  .mp-tabs .n { display: inline-block; margin-left: 6px; background: var(--bg); border-radius: 999px; padding: 0 7px; font-size: 12.5px; }
  .shared-row { display: flex; justify-content: space-between; gap: 8px; min-height: 36px; }
  .shared-row small, .shared-none { color: var(--muted); }
  .shared-stop { margin: 0 0 6px 20px; }
  .mh { font-size: 13px; font-weight: 600; color: var(--muted); margin: 8px 0 8px; }
  .mcard.rpin { flex-direction: row; align-items: flex-start; gap: 12px; }
  .rpin .pn { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 600; font-size: 13px; display: grid; place-items: center; }
  .rpin .pt { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; overflow-wrap: anywhere; }
  /* Exchange lines, Iris podlive section 2: the newest 2 filled, older ones plain and fading, no border, and the words wrap in full. */
  .convo { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; font: inherit; font-size: 14.5px; font-weight: 700; line-height: 1.35; border: 0; background: none; border-radius: 14px; padding: 8px 12px; margin: 0; min-height: 48px; cursor: pointer; color: var(--fg); }
  .convo + .convo { margin-top: 4px; }
  .convo.now { background: color-mix(in srgb, var(--accent) 7%, var(--bg)); }
  .convo.old { color: var(--muted); } .convo.f1 { opacity: .72; } .convo.f2 { opacity: .5; }
  .cv-t { flex: 1; min-width: 0; overflow-wrap: anywhere; } .cv-t b { font-weight: 900; }
  .cv-pm { display: inline-flex; border-radius: 50%; overflow: hidden; flex: none; } .cv-pm img, .cv-pm .cinit { width: 100%; height: 100%; }
  .cv-av .cv-pm + .cv-pm { margin-left: -8px; border: 2px solid var(--bg); box-sizing: content-box; }
  .cv-av { display: flex; flex: none; } .cv-av .av + .av { margin-left: -8px; border: 2px solid var(--bg); box-sizing: content-box; }
  .convo .cv-av .av + .av, .convo .cv-av .cv-pm + .cv-pm { margin-left: -7px; border: 0; box-shadow: 0 0 0 2px var(--bg); } .convo.now .cv-av .av + .av, .convo.now .cv-av .cv-pm + .cv-pm { box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 7%, var(--bg)); }
  .skel { height: 44px; border-radius: 12px; background: color-mix(in srgb, var(--muted) 10%, var(--bg)); margin-bottom: 8px; }
  /* The faces row, Iris podlive section 2 with Option C: 36 px faces, name then role word under each, quiet faces at 62%. */
  .pfaces { display: flex; flex-wrap: wrap; gap: 12px 18px; padding: 2px 0 18px; margin: 0; }
  .pface { position: relative; display: flex; flex-direction: column; align-items: center; gap: 7px; min-width: 44px; max-width: 72px; padding: 0; border: 0; background: none; font: inherit; color: var(--muted); cursor: default; }
  .pface:not(.talk) { opacity: .62; } .pface:not(.talk)[data-ready] { opacity: 1; }
  .pface[data-ready] { cursor: pointer; }
  .pface .av { box-sizing: border-box; }
  .pface b { font-size: 12.5px; font-weight: 800; line-height: 1.2; max-width: 72px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .pface .rl { font-size: 12px; font-weight: 700; line-height: 1.2; color: var(--muted); max-width: 72px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin: -5px 0 0; display: block; }
  .pface-hint { margin: 0 0 8px; }
  .cv-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
  .cd-h { display: flex; align-items: center; gap: 10px; } .cd-h h3 { margin: 0; font-size: 20px; font-weight: 800; }
  .cd-topic { display: flex; align-items: center; gap: 8px; font-size: 14px; margin: 6px 0 14px !important; } .convo-d .cd-foot { text-align: center; margin: 24px 0 4px; }
  .cmsgs { display: grid; gap: 12px; } .cm { display: flex; gap: 10px; align-items: flex-start; } .cm.run { margin-top: -6px; } .cm-av { flex: none; width: 36px; } .cm-b { min-width: 0; flex: 1; }
  .cm-n { font-size: 14px; margin-bottom: 4px; } .cm-n span { color: var(--muted); font-size: 13px; font-weight: 500; }
  .cm-t { background: var(--card); border-radius: 14px; padding: 10px 14px; font-size: 14.5px; font-weight: 500; line-height: 1.4; overflow-wrap: anywhere; white-space: pre-wrap; }
  .convo-back { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; padding: 0 12px 0 0; font-size: 14px; font-weight: 700; text-decoration: none; color: color-mix(in srgb, var(--accent) 80%, var(--fg)); }
  .convo-d .mpick { margin-top: 10px; } .convo-d [data-testid=convo-msg-error] { margin: 4px 0 0; }
  .cd-topic .cv-dot { width: 12px; height: 12px; box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); margin: 0 4px; } .convo-d h3 { font-size: 17px; margin: 4px 0; } .convo-d p { color: var(--muted); margin: 0; }
  .watch { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; margin-top: 12px; padding: 0 14px; border: 0; border-radius: 12px; background: color-mix(in srgb, var(--accent) 8%, var(--bg)); font: inherit; font-weight: 600; font-size: 14px; color: var(--fg); cursor: pointer; text-align: left; }
  .watch .cv-dot { animation: pulse-dot 1.6s ease-in-out infinite; } @keyframes pulse-dot { 50% { opacity: .35; } } @media (prefers-reduced-motion: reduce) { .watch .cv-dot { animation: none; } }
  .av.ini { display: grid; place-items: center; border-radius: 50%; background: color-mix(in srgb, var(--accent) 15%, var(--bg)); font-weight: 600; }
  .dots { display: flex; gap: 4px; margin: 6px 0 0 36px; } .dots i { width: 6px; height: 6px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 55%, var(--bg)); }
  .nowline { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 13.5px; font-weight: 500; }
  /* The Podmates live view (Wren's consolidated spec): nothing until a podmate speaks, then a 72 px face with its bubble. The stage is a centered wrapping grid. */
  /* Talking: up to 3 whole sentences, newest at the bottom, the oldest fading at the top. It never folds, scrolls or resizes. */
  .live-stage { display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; min-height: 0; overflow: visible; padding: 0; } .live-stage.clip { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 36px); mask-image: linear-gradient(to bottom, transparent 0, #000 36px); }
  .lv { width: 100%; flex: none; display: flex; flex-direction: row; align-items: flex-start; gap: 8px; border: 0; background: none; padding: 0; margin: 0; font: inherit; color: var(--fg); text-align: left; opacity: 0; transform: scale(.96); transition: opacity 250ms ease, transform 250ms ease; }
  .lv[hidden] { display: none; }
  .lv.on { opacity: 1; transform: none; } .lv.off { opacity: 0; transform: scale(.96); transition-duration: 400ms; }
  .lv-b { display: block; flex: 1; min-width: 0; margin: 0; padding: 7px 9px; border-radius: 14px; background: color-mix(in srgb, var(--accent) 9%, var(--bg)); color: var(--fg); font-size: 13px; font-weight: 700; line-height: 1.3; text-align: left; overflow-wrap: anywhere; transition: opacity 150ms ease; position: relative; }
  .lv-t { display: block; }
  .lv-h { display: flex; align-items: baseline; gap: 6px; min-width: 0; margin-bottom: 1px; }
  .lv-im { position: relative; flex: none; display: block; width: 28px; height: 28px; border-radius: 50%; background: var(--bg); }
  .lv-im .cv-pm, .lv-im .av { width: 100% !important; height: 100% !important; display: block; border-radius: 50%; }
  .lv-im .cv-pm img, .lv-im .cv-pm .cinit { width: 100%; height: 100%; }
  .lv-n { font-size: 13px; font-weight: 800; flex: none; max-width: 60%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .lv-r { font-size: 12px; font-weight: 600; color: var(--muted); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .lv-idle { flex: 0 0 100%; margin: 0; text-align: center; color: var(--muted); font-size: 14px; font-weight: 700; line-height: 1.4; opacity: 0; transition: opacity 250ms ease; } .lv-idle.on { opacity: 1; }
  .lv-more { flex: 0 0 100%; align-self: flex-end; justify-self: center; margin: 0 auto; min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: color-mix(in srgb, var(--accent) 12%, var(--bg)); color: var(--fg); font: inherit; font-size: 13.5px; font-weight: 800; cursor: pointer; max-width: max-content; }
  @media (prefers-reduced-motion: reduce) { .lv, .lv.off, .lv-b, .lv-idle { transition: none; } }
  .ovpl-tap { width: 100%; min-height: 44px; border: 0; background: none; font: inherit; font-size: 15px; font-weight: 600; color: var(--accent); text-align: left; cursor: pointer; } .ovpl-tap .ovpl-f { color: var(--accent); } .ovpl-tap .ovpl-f svg { width: 20px; height: 20px; fill: currentColor; display: block; } @media (max-width: 700px) { .ovpl-tap { min-height: 48px; } } .ovpl-tap:disabled { color: var(--muted); text-decoration: none; cursor: default; }
  .mcs { margin-top: 8px; } .mcs .mcard { margin: 6px 0; } .mcs .small { margin: 8px 0 0; }
  .pl-h { display: flex; align-items: center; gap: 6px; width: 100%; min-height: 28px; margin-top: 4px; padding: 0; border: 0; background: none; font: inherit; font-size: 13.5px; font-weight: 800; color: var(--muted); text-align: left; cursor: pointer; }
  .pl-h .ps-c { width: 12px; font-size: 16px; } .pl-h[aria-expanded="true"] .ps-c { transform: rotate(90deg); }
  @media (pointer: coarse), (max-width: 699px) { .pl-h { min-height: 44px; } }
  .pl-row { display: flex; align-items: center; gap: 8px; min-height: 28px; font-size: 14px; width: 100%; border: 0; background: none; color: inherit; font-family: inherit; text-align: left; padding: 0; cursor: pointer; } .pl-row:hover { background: color-mix(in srgb, var(--accent) 8%, var(--bg)); } .pl-row:focus-visible, .mate-open:focus-visible, .pp-open:focus-visible { outline: 3px solid #4b3bb0; outline-offset: 2px; border-radius: 8px; }
  @media (pointer: coarse), (max-width: 699px) { .pl-row { min-height: 44px; } }
  .pl-f { flex: none; display: block; width: 20px; height: 20px; border-radius: 50%; overflow: hidden; } .pl-f .pm, .pl-f .cinit { width: 20px; height: 20px; border-radius: 50%; display: block; }
  .pl-i { flex: 1 1 0; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12.5px; font-weight: 500; color: var(--muted); } .pl-i[hidden] { display: none; } .pl-i::before { content: '\00b7'; margin-right: 8px; }
  .pl-n { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; } .pl-r { flex: none; font-size: 12.5px; font-weight: 600; color: var(--muted); white-space: nowrap; }
  .ex-h { margin: 4px 0 8px; font-size: 17px; }
  .scn-first { margin: 0 !important; min-height: 300px; display: grid; place-items: center; text-align: center; padding: 0 24px; font-size: 15px; font-weight: 800; color: var(--muted); line-height: 1.4; }
  /* Desktop: the pane widens on the Podmates tab only, so the chat keeps 480 px: 680 px at 1440, growing smoothly to 860 px from 1620 up (Wren). */
  .who-av { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; font-size: 40px; font-weight: 700; background: color-mix(in srgb, var(--muted) 14%, var(--bg)); color: var(--muted); } .who-av img { width: 100%; height: 100%; object-fit: cover; }
  .who-pic { display: flex; justify-content: center; padding: 8px 0; } .who-mid { display: flex; justify-content: center; }
  .pcard { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 10px 14px; border: 0; border-radius: 14px; background: color-mix(in srgb, var(--accent) 9%, var(--bg)); color: var(--accent); text-align: left; cursor: pointer; font: inherit; }
  .pcard svg { width: 24px; height: 24px; fill: currentColor; flex: none; } .pc-t { flex: 1; display: flex; flex-direction: column; } .pc-t b { font-weight: 700; color: color-mix(in srgb, var(--accent) 72%, #000); font-size: 16px; } .pc-t small { font-size: 13px; font-weight: 500; } .pc-ch { font-size: 22px; }
  .who-btns { display: flex; gap: 16px; } .who-mid .link, .who-btns .link { min-height: 44px; }
  .au-cards { display: flex; flex-direction: column; gap: 10px; padding: 8px 0; }
  .au-card { display: flex; flex-direction: column; gap: 4px; text-align: left; min-height: 56px; padding: 12px 14px; border: 2px solid color-mix(in srgb, var(--muted) 25%, var(--bg)); border-radius: 14px; background: var(--bg); color: var(--fg); font: inherit; cursor: pointer; }
  .au-card { position: relative; padding-left: 46px; } .au-card::before { content: ''; position: absolute; left: 14px; top: 14px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--muted); background: var(--bg); box-sizing: border-box; } .au-card.on::before { border-color: var(--accent); background: radial-gradient(circle, var(--accent) 0 4px, var(--bg) 5px); }
  .au-card.on { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 6%, var(--bg)); }
  .au-n { font-weight: 600; display: flex; gap: 8px; align-items: center; } .au-l { color: var(--muted); font-size: 13.5px; }
  .au-rec { font-style: normal; font-size: 11.5px; font-weight: 600; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, var(--bg)); padding: 2px 8px; border-radius: 99px; }
  .offer { margin: 12px 0; padding: 14px; border-radius: 14px; background: color-mix(in srgb, var(--accent) 8%, var(--bg)); } .offer .of-q { margin: 0 0 10px; }
  .of-b { display: flex; flex-wrap: wrap; gap: 8px; } .of-b .btn { min-height: 44px; } .of-b .btn.bold { font-weight: 700; } .of-n { margin: 10px 0 0; }
  #s-settings .label { text-transform: none; letter-spacing: 0; font-size: 13px; font-weight: 600; }
  .mcard.sugc { border: 2px solid color-mix(in srgb, var(--accent) 25%, var(--bg)); background: var(--bg); }
  .sugh { margin-top: 18px; }
  .mcard.act { border: 2px solid var(--accent); background: color-mix(in srgb, var(--accent) 5%, var(--bg)); }
  .mdec { display: flex; gap: 8px; align-items: flex-start; font-size: 14.5px; font-weight: 600; padding: 6px 0; } .mdec small { display: block; color: var(--muted); font-weight: 500; font-size: 12.5px; } .mdec i { color: var(--accent); font-style: normal; }
  .mtalk { display: flex; gap: 8px; align-items: flex-start; padding: 6px 0; } .mtalk .w { font-weight: 600; font-size: 13px; } .mtalk p { margin: 1px 0 0; font-size: 14px; line-height: 1.35; }
  /* Conversation drawer (#858 A): over the chat column only, the left of it dimmed. Full screen on a phone. */
  .mid.dr-on > .body, .mid.dr-on > .foot { pointer-events: none; }
  .dr { position: absolute; inset: 0; z-index: 30; display: flex; justify-content: flex-end; } .dr[hidden] { display: none; }
  /* Status cards (ask #927, A, Iris's status-board-v3): one card per piece of work, the whole card opens its drawer. */
  .wc-row { display: flex; padding: 4px 0 8px 42px; }
  .wcard { position: relative; display: flex; align-items: flex-start; gap: 10px; box-sizing: border-box; width: min(82%, 560px); min-height: 44px; padding: 10px 44px 10px 12px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg); box-shadow: 0 1px 3px rgba(20, 20, 40, .05); cursor: pointer; text-align: left; }
  .wcard:hover { background: color-mix(in srgb, var(--accent) 5%, var(--bg)); } .wcard:focus-visible { outline: 2px solid #4b3bb0; outline-offset: 2px; }
  .wcard .wc-f { flex: none; width: 24px; height: 24px; border-radius: 50%; overflow: hidden; } .wcard .wc-f img, .wcard .wc-f .pm { width: 24px !important; height: 24px !important; border-radius: 50%; display: block; }
  .wcard .wc-b { min-width: 0; flex: 1; } .wcard .wc-t { font-size: 15px; font-weight: 800; line-height: 1.35; overflow-wrap: anywhere; }
  /* See the conversation is a faces chip under a message where podmates worked. It shows on hover, tap or keyboard focus, and takes no room at rest (Josh, #126 B; Jobs). It stays in the page so a keyboard and a screen reader reach it. */
  /* Plan so far (slice 2): documents the pod made for this project, newest first. A row opens the whole document in a reading view over the chat column. */
  .pl-plan { padding: 2px 12px 10px; } .pl-none { margin: 4px 4px 6px; font-size: 14px; line-height: 1.4; color: var(--fg); }
  .pd-row { display: flex; align-items: center; gap: 12px; box-sizing: border-box; width: 100%; min-height: 56px; padding: 6px 8px; border: 0; border-radius: 12px; background: none; font: inherit; text-align: left; cursor: pointer; color: var(--fg); } .pd-row:hover { background: color-mix(in srgb, var(--accent) 6%, var(--bg)); } .pd-row.on { background: color-mix(in srgb, var(--accent) 12%, var(--bg)); } .pd-row:focus-visible { outline: 3px solid #4b3bb0; outline-offset: 2px; }
  .pd-ic { flex: none; width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: #eceaf4; color: #4b3bb0; } .pd-ic svg { width: 20px; height: 20px; fill: currentColor; }
  .pd-t { flex: 1; min-width: 0; display: block; font-size: 14.5px; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; } .pd-t small { display: block; margin-top: 1px; font-size: 13px; font-weight: 500; color: var(--muted); }
  .pd-more { display: block; min-height: 44px; margin: 2px 0 0 52px; padding: 0 8px; border: 0; background: none; font: inherit; font-size: 14px; font-weight: 700; color: var(--accent); cursor: pointer; text-align: left; }
  /* The chat tabs leave while a document is open over the reading view (Wren, Nov 23); the back row is the way out. */
  .home.docopen .ptabs, .home.docopen .htabs, .home.docopen .gtabs { display: none !important; }
  .docv { position: absolute; left: 0; right: 0; bottom: 0; top: 0; z-index: 25; display: flex; flex-direction: column; background: var(--bg); } .docv[hidden] { display: none; }
  .docv-s { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 16px 24px 24px; box-sizing: border-box; } .docv-in { max-width: 720px; margin: 0 auto; }
  .docv-back { display: inline-block; line-height: 44px; min-height: 44px; padding: 0 4px; border: 0; background: none; font: inherit; font-size: 15px; font-weight: 700; color: #4b3bb0; cursor: pointer; } .docv-back span { display: inline; }
  .docv-back:focus-visible { outline: 3px solid #4b3bb0; outline-offset: 2px; }
  .docv h1 { margin: 8px 0 4px; font-size: 30px; line-height: 1.15; font-weight: 800; overflow-wrap: anywhere; } .docv .docv-d { margin: 0 0 16px; font-size: 14px; font-weight: 700; color: var(--muted); }
  .docv-b { font-size: 16px; line-height: 1.5; overflow-wrap: anywhere; } .docv-b h2 { margin: 20px 0 6px; font-size: 20px; } .docv-b h3 { margin: 16px 0 4px; font-size: 17px; } .docv-b p { margin: 8px 0; } .docv-b ul, .docv-b ol { margin: 8px 0; padding-left: 24px; } .docv-b li { margin: 3px 0; } .docv-b a { color: #4b3bb0; text-decoration: underline; } .docv-b code { font: 14px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; background: color-mix(in srgb, var(--fg) 8%, transparent); border-radius: 5px; padding: 1px 4px; }
  .docv-b table { border-collapse: collapse; margin: 10px 0; max-width: 100%; display: block; overflow-x: auto; } .docv-b th, .docv-b td { border: 1px solid var(--line); padding: 6px 10px; text-align: left; font-size: 14.5px; } .docv-b th { font-weight: 800; background: color-mix(in srgb, var(--fg) 5%, transparent); }
  .docv-lab { margin: 0 0 4px; font-size: 14px; color: var(--muted); } .docv-lab + h1 { margin-top: 0; }
  .docv-fl { margin: 28px 0 4px; font-size: 20px; font-weight: 700; } .docv-flp { margin: 0 0 16px; }
  .docv-own { margin: 0; max-width: 680px; border: 1px solid #e5e3f4; border-radius: 16px; padding: 20px; background: var(--bg, #fff); }
  .docv-own h2 { margin: 0 0 12px; font-size: 18px; font-weight: 700; }
  .docv-own textarea { display: block; width: 100%; box-sizing: border-box; min-height: 48px; resize: vertical; border: 1px solid #d6d3ee; border-radius: 10px; padding: 12px 14px; font: inherit; font-size: 16px; color: var(--fg); background: none; } .docv-own textarea:focus-visible { outline: 3px solid #4b3bb0; outline-offset: 2px; }
  .docv-own button { margin-top: 12px; min-height: 44px; padding: 0 20px; border: 0; border-radius: 22px; background: var(--accent); color: #fff; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; } .docv-own button:disabled { opacity: .4; cursor: default; } .docv-own button:focus-visible { outline: 3px solid #4b3bb0; outline-offset: 2px; }
  .docv-own-err { margin: 8px 0 0; font-size: 14px; color: var(--fg); }
  .docv-oth { margin: 16px 0 0; } .docv-oth summary { list-style: none; min-height: 44px; display: flex; align-items: center; gap: 8px; font-weight: 700; cursor: pointer; } .docv-oth summary::-webkit-details-marker { display: none; } .docv-oth summary::before { content: '›'; font-size: 20px; width: 12px; transition: transform .15s; } .docv-oth[open] summary::before { transform: rotate(90deg); } @media (prefers-reduced-motion: reduce) { .docv-oth summary::before { transition: none; } }
  @media (max-width: 767px) { .docv-own textarea { min-height: 84px; } }
  .docv-oth summary:focus-visible { outline: 3px solid #4b3bb0; outline-offset: 2px; }
  .docv-f { flex: none; display: flex; align-items: center; gap: 8px; border-top: 1px solid var(--line); padding: 8px 24px; }
  .docv-f input { flex: 1; min-width: 0; min-height: 44px; border: 0; background: none; font: inherit; font-size: 16px; font-weight: 600; color: var(--fg); } .docv-f input::placeholder { color: var(--muted); opacity: 1; } .docv-f input:focus-visible { outline: 3px solid #4b3bb0; outline-offset: 2px; border-radius: 8px; }
  .docv-f button { flex: none; width: 44px; min-height: 44px; border: 0; border-radius: 50%; background: none; font-size: 22px; color: var(--muted); cursor: pointer; } .docv-f button:focus-visible { outline: 3px solid #4b3bb0; outline-offset: 2px; } .docv-f button:not(:disabled) { color: var(--accent); }
  .docv-err { margin: 0 0 12px; font-size: 14px; color: var(--fg); }
  @media (max-width: 767px) { .docv-s { padding: 12px 16px 20px; } .docv h1 { font-size: 28px; } .docv-f { padding: 4px 16px; } }
  /* A message the leader moved to a topic leaves one centered line with Undo for the person who wrote it, and the topic shows From {chat} above it. */
  .mvto { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; min-height: 44px; margin: 6px 0; font-size: 14px; font-weight: 600; color: var(--muted); text-align: center; } .mvto button.mvl { color: #4b3bb0; font: inherit; font-weight: 700; text-decoration: underline; background: none; border: 0; padding: 0; cursor: pointer; min-height: 44px; } .mvto button.mvl:focus-visible, .mvto .mvundo:focus-visible { outline: 3px solid #4b3bb0; outline-offset: 2px; }
  .mvto .mvundo { min-height: 44px; min-width: 44px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); font: inherit; font-size: 14px; font-weight: 800; color: #4b3bb0; cursor: pointer; }
  .mvfail { margin: -4px 0 6px; text-align: center; font-size: 13.5px; color: var(--fg); }
  .mvfrom { margin: 8px 52px 0 0; text-align: right; font-size: 13px; font-weight: 600; color: var(--muted); }
  .seeconvo { display: inline-flex; align-items: center; gap: 8px; box-sizing: border-box; max-width: 100%; height: 0; min-height: 0; margin-top: 0; padding: 0 12px 0 6px; border: 0 solid var(--line); border-radius: 999px; background: var(--bg); box-shadow: 0 1px 3px rgba(20, 20, 40, .08); cursor: pointer; font: inherit; color: var(--accent); font-size: 13px; font-weight: 700; text-align: left; opacity: 0; pointer-events: none; overflow: visible; align-self: flex-start; }
  .seeconvo .sc-f, .seeconvo .sc-t { visibility: hidden; }
  .seeconvo:focus-visible { outline: 3px solid #4b3bb0; outline-offset: 2px; }
  .msgrun.sc-on .seeconvo, .msgrun:focus-within .seeconvo { height: auto; min-height: 32px; margin-top: 6px; border-width: 1px; opacity: 1; pointer-events: auto; } .msgrun.sc-on .seeconvo .sc-f, .msgrun.sc-on .seeconvo .sc-t, .msgrun:focus-within .seeconvo .sc-f, .msgrun:focus-within .seeconvo .sc-t { visibility: visible; }
  @media (hover: hover) { .msgrun:hover .seeconvo { height: auto; min-height: 32px; margin-top: 6px; border-width: 1px; opacity: 1; pointer-events: auto; } .msgrun:hover .seeconvo .sc-f, .msgrun:hover .seeconvo .sc-t { visibility: visible; } }
  @media (hover: none), (pointer: coarse), (max-width: 767px) { .msgrun.sc-on .seeconvo, .msgrun:focus-within .seeconvo { min-height: 44px; } }
  .seeconvo .sc-f { display: inline-flex; } .seeconvo .sc-f > * { margin-left: -6px; border: 2px solid var(--bg); border-radius: 50%; } .seeconvo .sc-f > *:first-child { margin-left: 0; }
  .seeconvo .sc-t { white-space: nowrap; }
  .seeconvo:hover .sc-t { text-decoration: underline; }
  /* Recent updates in the Live view: faces, the exchange's line, a chevron. It opens the same conversation. */
  #ps-talking .ps-t[hidden], #ps-talking #mp-talk[hidden] { display: none; }
  .lc-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  .lc-stage { display: flex; flex-direction: column; gap: 10px; padding: 8px 0; } .lc-none { margin: 0; padding: 18px 8px; text-align: center; font-size: 14px; color: var(--muted); }
  .lc-p { display: flex; align-items: center; gap: 8px; min-height: 44px; } .lc-f { flex: none; display: inline-flex; } .lc-n { flex: none; font-size: 13px; font-weight: 700; max-width: 30%; overflow-wrap: anywhere; }
  .lc-b { min-width: 0; padding: 8px 12px; border-radius: 16px; background: color-mix(in srgb, var(--accent) 8%, var(--bg)); font-size: 14px; line-height: 1.35; overflow-wrap: anywhere; }
  .lc-row-h { display: flex; align-items: center; justify-content: space-between; box-sizing: border-box; width: 100%; min-height: 44px; margin-top: 6px; padding: 0 2px; border: 0; border-top: 1px solid var(--line); background: none; color: var(--muted); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; text-align: left; } .lc-row-h[hidden] { display: none; } .lc-row-h i { font-style: normal; font-size: 18px; line-height: 1; transition: transform 120ms ease; } .lc-row-h[aria-expanded="true"] i { transform: rotate(90deg); } .lc-row-h:focus-visible { outline: 3px solid #4b3bb0; outline-offset: 2px; }
  .lc-list { list-style: none; margin: 0; padding: 0; } .lc-r { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 0; border-top: 1px solid var(--line); } .lc-t { min-width: 0; display: block; font-size: 13px; line-height: 1.35; overflow-wrap: anywhere; } .lc-t b { display: block; font-weight: 700; color: var(--muted); } .lc-t span { display: block; }
  .ru { padding: 4px 14px 12px; } .ru[hidden] { display: none; } .ru-h { margin: 8px 0 6px; font-size: 13px; font-weight: 700; color: var(--muted); }
  .ru-row { display: flex; align-items: center; gap: 8px; box-sizing: border-box; width: 100%; min-height: 44px; margin: 0 0 2px; padding: 6px 8px; border: 0; border-radius: 10px; background: none; font: inherit; text-align: left; cursor: pointer; color: var(--fg); } .ru-row:hover { background: color-mix(in srgb, var(--accent) 6%, var(--bg)); } .ru-row:focus-visible { outline: 3px solid #4b3bb0; outline-offset: 2px; }
  .ru-t { flex: 1; min-width: 0; display: block; font-size: 13px; line-height: 1.35; overflow-wrap: anywhere; } .ru-t b { display: block; font-weight: 800; }
  .ru-f { flex: none; display: inline-flex; } .ru-f > * { margin-left: -6px; border: 2px solid var(--bg); border-radius: 50%; } .ru-f > *:first-child { margin-left: 0; }
  .ru-c { flex: none; color: var(--muted); font-size: 18px; line-height: 1; }
  .wcard .wc-more { display: flex; align-items: center; gap: 8px; box-sizing: border-box; margin-top: 6px; min-height: 44px; border-top: 1px solid var(--line); }
  .wcard .wc-more .sc-f { display: inline-flex; } .wcard .wc-more .sc-f > * { margin-left: -6px; border: 2px solid var(--bg); border-radius: 50%; } .wcard .wc-more .sc-f > *:first-child { margin-left: 0; }
  .wcard .wc-more { font-size: 13px; font-weight: 700; color: var(--accent); }
  .wcard .wk.wc-wk { position: absolute; top: 50%; right: 12px; transform: translateY(-50%); }
  .bubble.dcc { background: none; padding: 0; max-width: min(100%, 560px); } .bubble.dcc .dcards { margin: 0; }
  .wc-btns { display: flex; gap: 8px; margin: 10px 0 4px; } .wc-pick { min-height: 36px; padding: 0 16px; border-radius: 999px; border: 2px solid var(--line); background: var(--bg); color: var(--fg); font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; } .wc-pick.first { background: var(--accent); border-color: var(--accent); color: #fff; } .wc-pick:disabled { opacity: .6; cursor: default; }
  .wc-done { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; margin: 10px 0 4px; font-size: 14px; font-weight: 800; color: var(--ok); } .wc-done svg { width: 16px; height: 16px; fill: currentColor; }
  @media (max-width: 700px) { .wc-pick { min-height: 44px; } }
  .wcard .wc-bell { flex: none; width: 20px; height: 20px; color: var(--ok); } .wcard .wc-bell svg { width: 20px; height: 20px; fill: currentColor; display: block; }
  .wcard.wc-result, .wcard.wc-decision { padding-right: 12px; }
  @media (max-width: 700px) { .wc-row { padding-left: 0; } .wcard { width: 100%; } }
  .dr-ask { flex: none; padding: 10px 16px 14px; border-top: 1px solid var(--line); background: var(--bg); }
  .dr-ask[hidden] { display: none; }
  .dr-in { display: flex; align-items: center; gap: 8px; border: 2px solid var(--line); border-radius: 23px; padding: 5px 5px 5px 16px; }
  .dr-in input { flex: 1; min-width: 0; font: inherit; font-size: 15px; font-weight: 500; border: 0; outline: none; background: transparent; color: var(--fg); padding: 6px 0; }
  .dr-send { width: 36px; height: 36px; border-radius: 50%; border: 0; padding: 0; background: var(--accent); display: grid; place-items: center; cursor: pointer; flex: none; } .dr-send svg { width: 18px; height: 18px; fill: #fff; }
  .dr-err { margin: 6px 4px 0; font-size: 13px; font-weight: 700; color: #b4232f; }
  .dr-b .cm.me { justify-content: flex-end; } .dr-b .cm.me .cm-b { flex: 0 1 auto; max-width: 80%; } .dr-b .cm.me .cm-t { background: var(--accent); color: #fff; border-radius: 16px 16px 6px 16px; padding: 8px 12px; font-weight: 700; }
  .dr-scrim { position: absolute; inset: 0; background: rgba(20, 20, 40, .08); cursor: pointer; }
  .dr-p { position: relative; width: min(100%, max(420px, 62%)); height: 100%; background: var(--bg); border-left: 1px solid var(--line); box-shadow: -8px 0 24px rgba(20, 20, 40, .08); display: flex; flex-direction: column; min-height: 0; }
  .dr-back { align-self: flex-start; display: inline-flex; align-items: center; min-height: 32px; min-width: 44px; padding: 0 16px; font-size: 13px; font-weight: 700; text-decoration: none; } .dr-b2 { display: none; }
  .dr-h { padding: 0 20px 12px; border-bottom: 1px solid var(--line); } .dr-h h3 { margin: 0; font-size: 16px; font-weight: 800; line-height: 1.3; } .dr-n { margin: 2px 0 0; font-size: 12.5px; color: var(--muted); }
  .dr-b { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 16px 20px; scrollbar-width: thin; } .dr-b .cmsgs, .dr-b .cm { max-width: 100%; } .dr-b > .cm { margin-bottom: 12px; }
  .dr-b.more { -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 28px), transparent); }
  .cm-n .cm-tm { margin-left: 6px; font-size: 12px; }
  .dr-b .cm-t code { font: 12.5px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; background: color-mix(in srgb, var(--fg) 8%, transparent); border-radius: 5px; padding: 1px 4px; }
  .dr-empty { margin: 0; padding: 40px 20px; text-align: center; color: var(--muted); font-weight: 700; font-size: 14.5px; }
  .mstep.has-convo, .lv[data-drawer-convo] { cursor: pointer; } .mstep.has-convo:hover > div { background: color-mix(in srgb, var(--accent) 9%, var(--bg)); border-radius: 12px; } .lv[data-drawer-convo]:hover .lv-b { background: color-mix(in srgb, var(--accent) 16%, var(--bg)); }
  @media (max-width: 700px) { .dr { position: fixed; z-index: 60; } .dr-p { width: 100%; border-left: 0; box-shadow: none; } .dr-scrim { display: none; } .dr-b1 { display: none; } .dr-b2 { display: inline; } .dr-back { min-height: 44px; } }
  @media (prefers-reduced-motion: no-preference) { .dr-p { animation: drin .18s ease-out; } @keyframes drin { from { transform: translateX(16px); opacity: 0; } to { transform: none; opacity: 1; } } }
  @media (forced-colors: active) { .dr-p { border: 1px solid CanvasText; } }
  .mstep { position: relative; }
  .mstep:not(:last-child)::before { content: ''; position: absolute; left: 10px; top: 32px; bottom: -8px; width: 2px; background: var(--line); }
  .mstep.done:not(:last-child)::before { background: var(--ok); }
  .mstep.waiting b { color: var(--muted); } .mstep.running > div { background: color-mix(in srgb, var(--accent) 7%, var(--bg)); border-radius: 12px; padding: 10px 12px; flex: 1; margin-top: -4px; }
  @media (max-width: 1199px) {
    .home.hasmap .mappane { display: none; }
    .home.hasmap.paneopen .mappane { display: flex; flex-direction: column; position: fixed; top: 0; right: 0; bottom: 0; width: min(400px, 100%); z-index: 40; background: var(--bg); border-left: 1px solid var(--line); box-shadow: -8px 0 24px rgba(0,0,0,.08); }
    .home.hasmap.paneopen .mp-top { display: flex; flex: none; position: relative; z-index: 2; background: var(--bg); }
  }
  @media (max-width: 767px) {
      .home.hasmap.paneopen .mappane { width: 100%; border-left: 0; box-shadow: none; }
    .home.hasmap.paneopen .mp-back { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 12px; background: color-mix(in srgb, var(--muted) 10%, var(--bg)); font-size: 17px; text-decoration: none; } .home.hasmap.paneopen .mp-x { display: none; }
    .mp-tabs { overflow-x: auto; } .mpick { flex: 1; }
  }
  .mstep { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; font-weight: 800; font-size: 14.5px; }
  .mstep > div { flex: 1 1 auto; min-width: 0; } .mfaces { display: inline-flex; flex: 0 0 auto; align-self: center; } .mfaces > * { margin-left: -6px; border: 2px solid var(--bg); border-radius: 50%; } .mfaces > *:first-child { margin-left: 0; }
  .mstep small { display: block; font-size: 12.5px; font-weight: 700; color: var(--muted); }
  .mstep .mi { width: 22px; height: 22px; border-radius: 50%; flex: 0 0 auto; display: grid; place-items: center; font-size: 12px; font-weight: 900; border: 2px solid var(--line); color: var(--muted); }
  .mstep.done .mi { background: var(--ok); border-color: var(--ok); color: #fff; }
  .mstep.skipped b { color: var(--muted); text-decoration: line-through; }
  .mstep.running .mi { background: var(--accent); border-color: var(--accent); color: #fff; }
  .mstep.ready .mi { border-color: var(--accent); color: var(--accent); }
  @media (min-width: 1200px) {
    .home.hasmap, .home.hasmap.crewview, .home.hasmap.hidepod { grid-template-columns: var(--sw, 280px) minmax(0, 1fr) var(--pw, 280px); }
    .home.hasmap .podp { display: none; }
    .home.hasmap .mappane { display: flex; flex-direction: column; background: var(--bg); border-left: 1px solid var(--line); min-height: 0; }
    .home.hasmap .mappane[hidden] { display: none; }
  }
  .podp { background: var(--bg); border-left: 1px solid var(--line); padding: 20px 16px; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; min-height: 0; }
  .podp-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
  .podp-h h2 { font-size: 20px; font-weight: 900; }
  .podp-h h2#pod-title, .grp-t b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
  .hide { border: 0; background: color-mix(in srgb, var(--accent) 10%, var(--bg)); color: var(--accent); border-radius: 999px; padding: 6px 12px 6px 10px; font-weight: 900; font-size: 13.5px; cursor: pointer; }
  .hide::before { content: '\203A'; margin-right: 6px; }
  .mates { display: flex; flex-direction: column; gap: 8px; }
  /* Meet your pod: the podmates stand in a row (Wren). */
  .pod .mates { flex-direction: row; gap: 22px; }
  .mate-row { display: flex; align-items: center; gap: 12px; background: var(--card); border-radius: 14px; padding: 8px 12px 8px 8px; }
  .mate-open { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; min-height: 44px; border: 0; background: none; padding: 0; color: inherit; font: inherit; text-align: left; cursor: pointer; }
  .mate-row .t { min-width: 0; flex: 1; }
  .msg-mate { flex: 0 0 auto; min-height: 44px; border: 2px solid var(--line); background: var(--bg); color: var(--accent); border-radius: 999px; padding: 0 14px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
  .msg-mate:focus-visible, .dm-back:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
  .dm-bar { padding-top: 14px; } .dm-back { font-size: 14px; font-weight: 800; min-height: 44px; text-decoration: none; }
  .dm-bar[hidden], .dm-note[hidden] { display: none; }
  .dm-note { display: flex; align-items: center; gap: 8px; margin: 6px 0 4px; background: var(--card); border-radius: 12px; padding: 8px 12px; font-size: 14px; font-weight: 700; color: var(--muted); }
  .chat .bubble.lead { background: var(--bg); box-shadow: inset 0 0 0 2px var(--line); }
  .dm-busy { margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--muted); display: flex; flex-direction: column; gap: 4px; }

  .mate-row .nm { font-weight: 900; font-size: 16px; }
  .mate-row .rl { font-weight: 500; font-size: 13px; color: var(--muted); margin-left: 0; display: flex; align-items: center; }
  .mate-row .rl i { display: none; }
  .mate-row .st { display: flex; gap: 6px; align-items: flex-start; font-size: 13px; font-weight: 700; color: var(--muted); line-height: 1.3; margin-top: 1px; }
  .mate-row .st svg { width: 14px; height: 14px; flex: 0 0 auto; margin-top: 1px; fill: var(--ok); }
  .mate-row.waits .st { color: var(--fg); }
  .podp .talkbox { flex: 1 1 auto; min-height: 180px; }
  .podp .tmsgs { flex: 1; overflow-y: auto; }
  .podp .tmsgs > :first-child { margin-top: auto; }
  .podp .seeall { align-self: flex-start; padding: 0 12px 8px; font-size: 13px; text-decoration: none; }
  .podp .talk-h span { font-weight: 800; }
  .home.crewview { grid-template-columns: var(--sw, 280px) minmax(0, 1fr); }
  .home.crewview .podp, .home.crewview .podline { display: none; }
  /* A platform notice: one quiet centered line, not a bubble (Wren). */
  /* System lines (Iris's sysline board, Wren, Cue's lines passed by Margin): a centered line on the feed, no bubble, face or name. Announced as a note. */
  .sysl { align-self: center; max-width: 70%; display: flex; gap: 7px; align-items: flex-start; justify-content: center; margin: 16px auto; font-size: 13.5px; font-weight: 500; line-height: 1.4; color: var(--muted); text-align: center; }
  .sysl svg { width: 16px; height: 16px; fill: currentColor; flex: 0 0 auto; margin-top: 2px; }
  .sysl span { min-width: 0; overflow-wrap: anywhere; }
  .ans[data-testid=answered] { font-size: 14px; font-weight: 700; color: #17163a; margin-top: 8px; } .ans[data-testid=answered] svg { fill: var(--ok); }
  .notice-row { display: flex; justify-content: center; padding: 4px 0; }
  /* Bubbles (Iris bubbles.html, Wren): 16 px corners, a 2 px flat corner on the first bubble of a run toward the speaker's face, 4 px inside a run, 24 px (28 on a phone) where the speaker changes, 16 px around a system line. */
  :root { --run-gap: 24px; } @media (max-width: 400px) { :root { --run-gap: 28px; } }
  .chat .bubble, .chat .me .bubble { border-radius: 16px; }
  .chat .row.run-start:not(.me) .who + .bubble { border-top-left-radius: 2px; }
  .chat .row.me.run-start .who + .bubble { border-top-right-radius: 2px; }
  .chat .row.me.msgrun .col { align-items: flex-end; max-width: 82%; } .chat .row.me.msgrun .col .who { text-align: right; } .chat .row.me.msgrun .col .bubble { align-self: flex-end; }
  .chat .row.me.msgrun .me-face { width: 32px; height: 32px; flex: 0 0 32px; font-size: 14px; }
  .chat .row.me.msgrun .col .shots { justify-content: flex-end; }
  .chat .notice-row { padding: 0; margin: 6px 0; } .chat .notice-row + .row.msgrun.run-start { margin-top: 0; }
  .notice-row.setup-row { padding: 4px 0; } .notice-row.setup-row .mc, .notice-row.setup-row .own-done { width: 100%; max-width: 480px; box-sizing: border-box; }
  .notice { display: inline-block; max-width: 560px; background: #F4F4F6; border: 1px solid #E6E6EB; border-radius: 12px; padding: 6px 12px; font-size: 13px; line-height: 1.4; color: #5B5B6B; }
  .notice .nd { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); vertical-align: middle; margin-right: 6px; }
  .notice b { font-weight: 700; color: #3f3f4f; }
  .notice time { white-space: nowrap; }
  .open-in { display: inline-flex; align-items: center; gap: 6px; }
  .open-in .via { width: 16px; height: 16px; border-radius: 3px; flex: 0 0 auto; }
  /* The leader's podmate ideas: a button, and a badge only when one really matters. */
  .sugg { display: flex; align-items: center; gap: 8px; width: 100%; background: var(--card); border: 0; border-radius: 12px; padding: 10px 12px; font: inherit; font-weight: 900; font-size: 14.5px; color: var(--fg); cursor: pointer; text-align: left; }
  .sugg .chev { margin-left: auto; color: var(--muted); transition: transform 120ms ease; }
  .sugg[aria-expanded="true"] .chev { transform: rotate(90deg); }
  .sugg-list { display: flex; flex-direction: column; gap: 8px; }
  .sugg-item { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
  .sugg-item b { display: block; font-size: 15px; font-weight: 900; overflow-wrap: anywhere; }
  .sugg-item .role { font-size: 13px; font-weight: 800; color: var(--accent); margin-top: 1px; overflow-wrap: anywhere; }
  .sugg-item .does { font-size: 13px; font-weight: 700; color: var(--muted); margin-top: 2px; overflow-wrap: anywhere; }
  .sugg-item .need { font-size: 13px; font-weight: 700; margin-top: 6px; overflow-wrap: anywhere; }
  .sugg-item .acts { display: flex; gap: 8px; margin-top: 8px; }
  .sugg-item .acts button { border-radius: 999px; padding: 6px 14px; font: inherit; font-weight: 900; font-size: 13.5px; cursor: pointer; border: 1px solid var(--line); background: var(--bg); color: var(--fg); }
  .sugg-item .acts .add { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
  .pm { width: 28px; height: 28px; border-radius: 50%; flex: 0 0 auto; display: block; }
  .cinit { width: 28px; height: 28px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 16%, var(--bg)); color: var(--accent); display: grid; place-items: center; font-weight: 900; font-size: 13px; flex: 0 0 auto; }
  .side .crew-job { margin-top: 0; margin-bottom: 6px; }
  .mc-slot { display: contents; }
  .crewsw { display: flex; align-items: center; gap: 8px; min-height: 44px; border: 0; background: color-mix(in srgb, var(--accent) 10%, var(--bg)); color: #5a3fd6; border-radius: 999px; padding: 0 16px 0 8px; font-weight: 900; font-size: 15px; cursor: pointer; }
  .crewsw .cinit { width: 28px; height: 28px; background: var(--accent); color: var(--accent-ink); }
  .crewsw .count { margin-left: 2px; }
  .side .pod-h { padding-top: 22px; text-transform: none; letter-spacing: 0; font-size: 15px; color: var(--fg); }
  .compose input:disabled, .compose #chat-in:disabled { opacity: 0.6; cursor: not-allowed; }
  .compose .send:disabled { opacity: 0.4; cursor: default; }
  .compose .mic { width: 36px; height: 36px; border-radius: 50%; border: 0; background: transparent; color: var(--muted); display: grid; place-items: center; cursor: pointer; flex: 0 0 auto; padding: 0; }
  .compose .mic svg { width: 20px; height: 20px; fill: currentColor; }
  .compose .mic[hidden] { display: none; }
  .compose .mic:disabled { opacity: 0.4; cursor: default; }
  .compose .mic.on { background: color-mix(in srgb, #d92d20 14%, var(--bg)); color: #d92d20; animation: breathe 1.4s ease-in-out infinite; }
  .compose .mic.denied { opacity: 0.5; }
  .disc { margin: 6px 16px 0; font-size: 12.5px; line-height: 1.35; color: var(--muted); }
  .listen { font-size: 13px; font-weight: 800; color: #d92d20; margin: 6px 0 0 16px; }
  .listen.plain { color: var(--muted); }
  .listen[hidden], .micno[hidden] { display: none; }
  .micno { display: flex; flex-direction: column; gap: 4px; margin: 8px 0 0; padding: 12px 14px; border-radius: 14px; background: var(--card); font-size: 14px; font-weight: 700; }
  .micno b { font-weight: 900; }
  .micbtns { display: flex; gap: 16px; }
  .slash { margin: 0 0 8px; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 6px 22px rgba(30, 20, 70, 0.12); padding: 6px; max-height: 50vh; overflow-y: auto; }
  .slash[hidden] { display: none; }
  .slash h3 { margin: 6px 10px 2px; font-size: 11.5px; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
  .slash button { display: block; width: 100%; text-align: left; border: 0; background: none; font: inherit; font-weight: 800; font-size: 14.5px; color: var(--fg); padding: 9px 10px; border-radius: 10px; cursor: pointer; min-height: 40px; }
  .slash button:hover, .slash button:focus-visible { background: color-mix(in srgb, var(--accent) 10%, var(--bg)); outline: none; }
  .brandbtn { background: none; border: 0; padding: 0; color: inherit; font-family: inherit; cursor: default; }
  .side-x { display: none; }
  .sidehd { display: flex; align-items: center; justify-content: space-between; }
  /* The title and Open in Slack stay at the top while the messages scroll (Wren). */
  .panehead { position: sticky; top: 0; z-index: 5; background: var(--bg); padding-bottom: 6px; }
  /* A head taller than the chat box it sticks in spills over the strip above it. Where the box is that short (large text, a landscape phone), the head scrolls with the chat instead (Iris, Nov 17). */
  #chat-body { container-type: size; container-name: chatbox; }
  @container chatbox (max-height: 280px) { .panehead { position: static; } }
  .projhead { display: flex; align-items: baseline; gap: 14px; }
  .head-mark { display: inline-block; vertical-align: middle; margin-left: 10px; line-height: 0; } .head-mark:empty { display: none; } .head-mark .rb { position: relative; inset: auto; margin: 0; }
  .projhead .projh { flex: 1; min-width: 0; }
  /* Tablet with the pane open over the chat (fitHead): the title on one line cut with an ellipsis before the pane, "McCoy" under it, the buttons last. */
  .panehead.fit { display: flex; flex-wrap: wrap; align-items: center; column-gap: 14px; row-gap: 4px; } .panehead.fit .projhead { display: contents; }
  .panehead.fit .projh { order: 0; flex: 1 1 100%; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; -webkit-line-clamp: unset; }
  .panehead.fit .pstate { order: 1; flex: 1 1 100%; margin-top: -4px; } .panehead.fit .open-map, .panehead.fit .open-in { order: 2; }
  /* Tablet with under 300 px of chat beside the pane: the phone pattern, full width with a 44 px "‹ Chat" (fitHead). */
  .home.hasmap.paneopen.panefull .mappane { width: 100%; border-left: 0; box-shadow: none; }
  .home.hasmap.paneopen.panefull .mp-back { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 12px; background: color-mix(in srgb, var(--muted) 10%, var(--bg)); font-size: 17px; text-decoration: none; } .home.hasmap.paneopen.panefull .mp-x { display: none; }
  .open-in { color: var(--accent); font-weight: 900; font-size: 14px; white-space: nowrap; }
  .pstate { font-size: 13.5px; font-weight: 800; color: var(--muted); margin-top: -4px; }
  .pstate.needs { color: var(--accent); }
  .mc-h { display: flex; gap: 10px; align-items: flex-start; padding: 4px 6px 0; }
  .mc-h b { display: block; font-size: 16px; font-weight: 900; }
  .mc-h small { display: block; font-size: 12px; font-weight: 700; color: var(--muted); }
  .side .job.talk { margin-top: 0; }
  /* One list, three levels. Level 1 is indented 20 px and level 2 36 px. Every row has its symbol in its own 20 px column and its dot on the right. */
  .side { --ind1: 20px; --ind2: 36px; }
  .side .job.row-s, .side .job.wait, .side .job.talk, .side .sec-row { flex-direction: row; align-items: center; justify-content: flex-start; gap: 8px; }
  .side .job .sym, .side .sec-row .chev { flex: 0 0 20px; width: 20px; height: 20px; display: grid; place-items: center; }
  .side .job .sym svg { width: 18px; height: 18px; fill: var(--muted); }
  .side .job .sym img, .side .job .sym .cinit { width: 20px; height: 20px; border-radius: 50%; }
  .side .job.row-s, .side .job.wait { padding-left: calc(10px + var(--ind2)); }
  .side .job.talk { padding-left: calc(10px + var(--ind1)); font-weight: 400; }
  .side .job.talk .crew-t { flex: 1; min-width: 0; }
  .side .job.talk.unread .crew-t > span { font-weight: 700; }
  .side .job.row-s > span:not(.sym), .side .job.wait > span:not(.sym):not(.reason) { flex: 1; min-width: 0; }
  .side .job.wait { flex-wrap: wrap; }
  .side .job.wait .reason { flex: 0 0 100%; padding-left: 28px; }
  .side .sec-row, .side .sec-h { padding-left: calc(10px + var(--ind1)); }
  @media (min-width: 701px) { .side .job.row-s, .side .job.wait { min-height: 28px; padding-top: 2px; padding-bottom: 2px; } }
  .side .sec-row .chev { transition: transform 120ms ease; }
  .side .sec-row.open .chev { transform: rotate(90deg); }
  .side .sec-row .lbl { flex: 1; text-align: left; }
  .side .sec-h { display: flex; align-items: center; gap: 8px; }
  .side .job:not(.talk) > span:not(.sym):not(.reason) { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .side .sec-row .lbl { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
  .side .jobs-h.sec-h { padding-left: calc(10px + var(--ind2)); }
  .side .showall { padding-left: calc(10px + var(--ind2)); }
  .side .job.wait .reason { padding-left: 28px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .side .job small.needs, .side .job .small.needs { color: var(--accent); }
  .grp { min-height: 44px; box-sizing: border-box; display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; background: none; border: 0; border-radius: 12px; padding: 8px 6px; color: inherit; font-family: inherit; cursor: pointer; margin-top: 8px; }
  .grp { position: relative; }
  .grp:hover { background: color-mix(in srgb, var(--accent) 6%, var(--bg)); }
  .grp.static { cursor: default; }
  /* The open pod's box has a ⋯ button at its right (Josh, #107). */
  #pod-h { position: relative; } .grp-more { position: absolute; top: 50%; right: 4px; transform: translateY(-50%); width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: none; color: var(--muted); cursor: pointer; opacity: 0; } .grp-more svg { width: 20px; height: 20px; fill: currentColor; }
  #pod-h:hover .grp-more, #pod-h:focus-within .grp-more, .grp-more[aria-expanded="true"] { opacity: 1; } .grp-more:hover { background: color-mix(in srgb, var(--accent) 14%, var(--bg)); } .grp-more:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
  #pod-h .grp.open ~ .grp-more, #pod-h .grp.sel ~ .grp-more { opacity: 1; } #pod-h:has(.grp-more) .grp-t { padding-right: 40px; }
  @media (hover: none) { .grp-more { opacity: 1; } }
  .ap-arch-h { margin: 28px 0 8px; font-size: 13px; font-weight: 700; color: var(--muted); }
  .ap-arch { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 8px 14px; margin-bottom: 8px; border-radius: 12px; background: #f6f5fb; } .ap-arch b { flex: 1; min-width: 0; font-size: 15px; font-weight: 600; overflow-wrap: anywhere; } .ap-arch small { display: block; color: var(--muted); font-weight: 500; }
  .ap-arch .ap-un { min-height: 44px; min-width: 44px; box-sizing: border-box; padding: 0 16px; border: 1.5px solid var(--lx-border, #d9d6ee); border-radius: 999px; background: var(--bg); color: var(--fg); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; } .ap-arch .ap-un:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
  .ap-arch .err { flex-basis: 100%; margin: 0; color: #b42318; font-size: 14px; font-weight: 600; } .ap-arch { flex-wrap: wrap; }
  .ap-flash { margin: 0 0 12px; padding: 10px 14px; border-radius: 10px; background: #efecfd; font-size: 15px; font-weight: 600; } .ap-flash[hidden] { display: none; }
  .grp-t { flex: 1; min-width: 0; }
  .grp-t b { display: block; font-size: 15.5px; font-weight: 900; overflow-wrap: anywhere; }
  .grp-t small { display: block; font-size: 12.5px; font-weight: 700; color: var(--muted); }
  .sec-row { display: flex; align-items: center; gap: 8px; width: 100%; background: none; border: 0; padding: 12px 10px 0; min-height: 28px; box-sizing: border-box; color: var(--muted); font-family: inherit; font-weight: 900; font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; text-align: left; }
  .sec-row .n { margin-left: auto; font-size: 12.5px; letter-spacing: 0; }
  .sec-row .chev { transition: transform 120ms ease; }
  .sec-row.open .chev { transform: rotate(90deg); }
  .namebtn { align-self: flex-start; font-size: 13px; text-decoration: none; margin-top: -8px; }
  .podname-in { flex: 1; min-width: 0; font: inherit; font-weight: 900; font-size: 18px; border: 2px solid var(--accent); border-radius: 10px; padding: 4px 8px; background: var(--bg); color: var(--fg); }
  .done-h { padding: 8px 10px 0; font-weight: 800; text-transform: uppercase; font-size: 11px; letter-spacing: 0.06em; }
  .showall { display: block; background: none; border: 0; padding: 6px 10px; color: var(--accent); font-weight: 900; font-size: 13px; cursor: pointer; text-align: left; }
  .side .job.row-s .rb { top: 50%; margin-top: -7px; }
  .side .sec-h { padding: 12px 6px 0; min-height: 28px; box-sizing: border-box; font-size: 11.5px; }
  .mk { border-radius: 8px; flex: 0 0 auto; display: block; }
  .crewsw .mk { width: 28px; height: 28px; }
  .crew-t > span:first-child { display: inline-flex; align-items: center; gap: 8px; }
  .banner { display: flex; gap: 10px; align-items: center; background: var(--card); border-radius: 12px; padding: 10px 12px; margin-top: 12px; font-size: 13.5px; font-weight: 700; color: var(--muted); }
  .banner svg { width: 18px; height: 18px; fill: var(--muted); flex: 0 0 auto; }
  .src { font-size: 11px; font-weight: 800; color: var(--muted); background: var(--card); border-radius: 6px; padding: 1px 6px; }
  .chat .row.me.fs { flex-direction: column; align-items: flex-end; gap: 3px; }
  .ans { display: flex; gap: 6px; align-items: center; font-size: 13.5px; font-weight: 800; color: var(--ok); }
  .ans svg { width: 16px; height: 16px; fill: var(--ok); }
  .crew-t { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
  /* Under 1024 the pod is a tab next to Chat. */
  @media (max-width: 1023px) {
    .home.hidepod .podp { display: flex; }
    .home .ptabs { display: flex; }
    .home.crewview .ptabs { display: none; }
    .home[data-tab="chat"] .podp, .home[data-tab="pod"] .mid { display: none; }
    .home.crewview .mid { display: flex; }
    .podp { border-left: 0; padding: 14px 16px; }
    .podp .hide, .podline .show { display: none; }
    .projh { font-size: 21px; padding-top: 14px; }
    .podline { margin-top: 10px; }
    .home .podline[hidden] { display: none; }
  }
  /* Item 46: Your pods opens inside the app, beside the sidebar and under the phone header, so Janeway and the + stay where they are. */
  .home > #s-allpods { grid-column: 2 / -1; grid-row: 1 / -1; min-width: 0; }
  .home.podsview > .mid, .home.podsview > .podp, .home.podsview > .ptabs { display: none; }
  /* Your pods is not a pod (Josh, Nov 17): no pod pane at any width, no pod highlighted, no pod's rows opened in the sidebar. */
  .home.podsview .crewsw, .home.podsview .mappane, .home.podsview .rz, .home.podsview .mp-top, .home.podsview .mp-back { display: none !important; }
  .home.podsview #pod-body, .home.podsview [id$="-entry"] > :not(.grp):not([data-slot="head"]), .home.podsview [id$="-entry"] > [data-slot="rows"], .home.podsview [id$="-entry"] > [data-slot="projects"] { display: none !important; } /* McCoy's head sits in a slot, so it stays and its rows and projects go */
  .home.podsview .side .grp, .home.podsview .side .grp.sel, .home.podsview .side .grp.open { background: none; box-shadow: none; }
  .home.podsview .side .job.cur, .home.podsview .side .job.cur.wait, .home.ovview .side .job.talk.cur { background: none; } /* on Your pods nothing in the tree reads as open, only Janeway is tinted */
  .home > #s-allpods .ap-top { display: none; } .home > #s-allpods .ap-col { margin: 0; max-width: 720px; }
  /* A tablet keeps the list beside the chat. */
  @media (min-width: 768px) and (max-width: 1023px) {
    .home, .home.hidepod, .home.crewview { grid-template-columns: 260px minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); grid-template-areas: "side tabs" "side mid"; }
    .side { grid-area: side; }
    .home .ptabs { grid-area: tabs; margin: 12px 24px 0; }
    .mid, .podp { grid-area: mid; }
    .home > #s-allpods { grid-area: mid; }
  }
  /* A phone shows one pane, and the list opens full screen from Janeway. */
  @media (max-width: 767px) {
    .home, .home.hidepod { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto minmax(0, 1fr); }
    .side { display: none; }
    .home > #s-allpods { grid-column: 1; grid-row: 2 / -1; }
    .home .ptop { gap: 8px; } .home .ptop [data-settings] { min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: flex-end; }
    .brandbtn { cursor: pointer; }
    .home.listopen .side { display: flex; position: fixed; inset: 0; z-index: 30; border-right: 0; }
    .home.listopen .ptop { visibility: hidden; }
    .side-x { display: inline; }
    .home .ptop { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; row-gap: 10px; padding: 14px 16px 8px; }
    .home .ptop::after { content: ''; order: 3; flex-basis: 100%; height: 0; }
    .home .ptop .crewsw { order: 4; flex: 0 0 auto; margin-right: auto; }
    .home .ptop .brand { margin-right: auto; }
    .home .ptabs { margin: 0 16px; }
    .home.crewview { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
    .home .ptop .link { text-decoration: none; }
    .mid .wrap { padding-left: 16px; padding-right: 16px; }
  }
  /* Wide windows (Wren). Josh at about 2100 px: "why is there so much
     horizontal spacing in the middle pain?" The chat is one column, the
     pane less 48 px a side, 560 to 840 px wide. The title, messages,
     chips, and the message box share its 2 edges: the leader's face on
     the left edge with the bubble 40 px in, the person's bubble ending on
     the right edge. Sizes come from the pane, not the scroll box, so the
     scroll bar never moves the edges. */
  @media (min-width: 768px) {
    .mid { container-type: inline-size; }
    .mid .wrap { --colw: calc(100cqw - 96px); width: var(--colw); max-width: none; margin-left: 48px; margin-right: 0; padding-left: 0; padding-right: 0; }
    .talk-h { gap: 12px; } .talk-h > div { white-space: nowrap; }
    .chat .row:not(.me) { gap: 12px; }
    .chat .row:not(.me) > .col:first-child { margin-left: 40px; }
    .chat .row > .col, .chat .me .bubble { max-width: 680px; }
    /* Settings: one 720 px group in the middle of the window (Wren). */
    #s-settings > .body { display: flex; flex-direction: column; }
    #s-settings > .body > .wrap { max-width: 720px; padding: 48px 0; margin: auto; }
    .pr-right > * { width: 100%; max-width: 960px; margin-inline: auto; }
    .pr-right > .labwrap { max-width: 1010px; }
    .pr-right > .labwrap:has(.sidewrap) { max-width: 1314px; }
    .lab:not(.m) { grid-template-columns: 40px minmax(0, 960px); }
  }
  @media (min-width: 1600px) {
    .home { grid-template-columns: var(--sw, 300px) minmax(0, 1fr) var(--pw, 280px); }
    .home.hidepod, .home.crewview { grid-template-columns: var(--sw, 300px) minmax(0, 1fr); }
    .pr-grid { grid-template-columns: 520px 1fr; }
    #s-practice .foot { width: 519px; }
  }

  /* ---- One type scale for all of Janeway, modelled on Slack desktop (Wren, Nov 13). ---- */
  :root { --t-title: 18px; --t-pane: 15px; --t-row: 14px; --t-head: 13px; --t-second: 12px; --t-msg: 14px; --t-name: 13px; --t-small: 12px; --t-card: 14px; --t-body: 13px; --t-btn: 13px; --t-box: 14px; --btn-h: 36px; }
  @media (max-width: 700px) { :root { --t-msg: 15px; --t-box: 16px; } }
  .projhead .projh, .projh { font-size: var(--t-title); line-height: 1.25; font-weight: 700; letter-spacing: 0; }
  .podp-h h2, .talk-h { font-size: var(--t-pane); font-weight: 700; }
  .chat .bubble { font-size: var(--t-msg); line-height: 1.45; padding: 8px 12px; font-weight: 500; }
  .chat .row.msgrun .who { font-size: var(--t-name); font-weight: 700; }
  .chat .who .role, .chat .who .dotr { font-size: var(--t-name); font-weight: 500; }
  .chat .notice, .notice, .chat time, .dm-note, .dm-busy, .joined { font-size: var(--t-small); }
  .compose textarea, .compose input, #chat-in { font-size: var(--t-box); font-weight: 500; }
  .side .job, .side .job.row-s, .side .job.talk { font-size: var(--t-row); font-weight: 500; }
  .side .job .small, .side .job small, .side .job.wait .reason, .grp-t small { font-size: var(--t-second); font-weight: 500; }
  .grp-t b, .side .grp b { font-size: var(--t-row); font-weight: 600; }
  /* Headings in sentence case, 13 px at 600 (Wren, Iris's final pictures). */
  .side .sec-row, .side .sec-h, .side .jobs-h, .side .done-h { font-size: var(--t-head); font-weight: 600; text-transform: none; letter-spacing: 0; }
  .ap-card b, .tm .w, .task b { font-size: var(--t-card); font-weight: 700; }
  .ap-card .l, .ap-card small, .task span { font-size: var(--t-body); }
  .home .btn, .home .pill, .home .sb, .home .chips button { font-size: var(--t-btn); font-weight: 600; min-height: var(--btn-h); }
  @media (max-width: 700px) { .home .btn, .home .pill, .home .sb, .side .job, .side .sec-row, .ap-row { min-height: 44px; } }
  /* ---- The sidebar's one focus: Ready for you (Wren, Nov 13). ---- */
  .side .sec-h.ready-h { color: var(--accent); }
  .side .ready-h .rcount { margin-left: auto; padding-right: 10px; font-size: var(--t-head); font-weight: 600; color: var(--accent); }
  .side .job.wait { background: color-mix(in srgb, var(--accent) 8%, var(--bg)); margin: 2px 6px; width: calc(100% - 12px); padding-left: calc(4px + var(--ind2)); border-radius: 10px; font-weight: 500; }
  .side .job.wait .reason { font-size: 12.5px; color: var(--muted); font-weight: 500; }
  .side .job.cur, .side .job.cur.wait { background: color-mix(in srgb, var(--fg) 7%, var(--bg)); }
  .side .job.wait.cur { background: color-mix(in srgb, var(--accent) 14%, var(--bg)); }
  .side .showall, .side .side-set, .side .side-pods, .side .link.side-set, .side .link.side-pods { color: var(--muted); font-weight: 500; font-size: var(--t-row); }
  .side .sec-row .n { background: none; padding: 0; color: var(--muted); font-weight: 500; font-size: var(--t-head); letter-spacing: 0; }
  /* Purple is for Ready for you only: project checks and dots are grey (Wren, Nov 13). */
  .side .job.row-s .b-done svg { fill: #9b9ab3; }
  /* Working is a green dot on the right (Wren, Nov 13). */
  .side .job.wait > span:not(.sym):not(.reason) { font-weight: 500; }
  /* Unread: a slate dot and a semibold title, cleared when opened. A decision is the bell, always last (Wren, Josh, Nov 13). */
  .side .job.unread > span:not(.sym):not(.reason) { font-weight: 600; }
  .side .job .ric { position: absolute; right: 10px; top: 0; bottom: 0; display: flex; align-items: center; gap: 6px; }
  /* the generic row-title rule makes every direct span a block, so the dot column says flex again here */
  .side .job:not(.talk) > span.ric:not(.sym):not(.reason) { display: flex; overflow: visible; }
  .side .job.wait > span.ric:not(.sym):not(.reason) { bottom: auto; height: 28px; }
  /* relative, not static, so the working dot's ring stays on the dot and never stretches over the row */
  .side .job .ric .rb { position: relative; inset: auto; margin-top: 0; }
  .side .job.row-s, .side .job.wait { padding-right: 34px; }
  /* Ready for you is a heading like Projects: chevron, grey count, rows under a 2 px rail (Wren). Rows never scroll on their own. */
  .side .job, .side .sec-row, .side .showall { overflow: clip; }
  .side { overflow-x: hidden; }
  .side .sec-row.ready-h { color: var(--accent); }
  .side .rdy-list { position: relative; }
  .side .rdy-list::before { content: ''; position: absolute; left: calc(10px + var(--ind1) + 9px); top: 0; bottom: 0; width: 2px; border-radius: 1px; background: var(--accent); }
  .side .job.wait { background: none; margin: 0; width: 100%; padding-left: calc(10px + var(--ind2)); }
  .side .job.wait.cur { background: color-mix(in srgb, var(--fg) 7%, var(--bg)); }
  /* Drag handles on the inner edges of the sidebar and the right panel, 1200 px and wider. */
  .rz { display: none; position: absolute; top: 0; bottom: 0; width: 8px; margin-left: -4px; cursor: col-resize; z-index: 30; touch-action: none; }
  .rz::after { content: ''; position: absolute; left: 3px; top: 0; bottom: 0; width: 2px; background: transparent; transition: background 120ms; }
  .rz:hover::after, .rz:focus-visible::after, .rz.drag::after { background: var(--accent); }
  @media (min-width: 1200px) { .rz:not([hidden]) { display: block; } }
  .rz-ghost { user-select: none; }
  /* Phone: tabs are 44 px tall, and the project title gets its own line so it can wrap to 2 lines. */
  @media (max-width: 700px) {
    .mp-tabs { padding-inline: 6px; gap: 0; }
    .mp-tabs button { min-height: 44px; padding-inline: 8px; }
    .open-map { min-height: 44px; }
    .projhead { flex-wrap: wrap; row-gap: 4px; } .panehead:not(.fit) .pstate { margin-top: 8px; }
    .projhead .projh { flex: 1 1 100%; }
    .projhead:has(.back-leader:not([hidden])) { flex-wrap: nowrap; align-items: center; gap: 4px; }
    .projhead:has(.back-leader:not([hidden])) .projh { flex: 1 1 0; min-width: 0; }
  }
  /* The #685 board, sidebar685.js (Nov 14). It wins over the older PNGs (Atlas): regular rows at 400, bold 700 only for something new, selected 500,
     28 px rows and headings, sentence-case headings that wrap, symbols in one column per level from a 14 px base. */
  .side { --b0: 14px; }
  .side .job:is(.row-s, .wait, .talk), .side .showall { font-size: 14px; line-height: 20px; font-weight: 400; }
  .side .job.row-s > span:not(.sym):not(.reason):not(.ric), .side .job.wait > span:not(.sym):not(.reason):not(.ric), .side .job.talk > span:not(.sym):not(.reason):not(.ric) { font-weight: 400; }
  .side .job.unread.row-s > span:not(.sym):not(.reason):not(.ric), .side .job.unread.wait > span:not(.sym):not(.reason):not(.ric) { font-weight: 700; }
  .side .job.cur.row-s > span:not(.sym):not(.reason):not(.ric), .side .job.cur.wait > span:not(.sym):not(.reason):not(.ric) { font-weight: 500; }
  .side .job.talk { padding-left: calc(var(--b0) + var(--ind1)); }
  .side .job.row-s, .side .job.wait { padding-left: calc(var(--b0) + var(--ind2)); }
  .side .sec-row, .side .sec-h { padding-left: calc(var(--b0) + var(--ind1)); }
  .side .jobs-h.sec-h, .side .showall { padding-left: calc(var(--b0) + var(--ind2)); }
  .side .sec-row, .side .sec-h { font-size: 13.5px; line-height: 20px; font-weight: 800; padding-top: 4px; padding-bottom: 4px; margin-top: 12px; min-height: 28px; text-transform: none; letter-spacing: 0; }
  .side .sec-row .lbl { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; }
  .side .sec-row .n { font-size: 12.5px; font-weight: 800; }
  .side .showall { padding-top: 4px; padding-bottom: 4px; }
  .side .grp { min-height: 44px; padding: 7px 10px 7px var(--b0); gap: 8px; }
  .side .grp > :first-child { width: 24px !important; height: 24px !important; flex: 0 0 24px; }
  .side .grp > :first-child img, .side .grp > :first-child svg { width: 24px !important; height: 24px !important; }
  .side .grp-t b, .grp-t b { font-size: 15.5px; line-height: 16px; font-weight: 900; }
  .side .grp-t small { font-size: 12.5px; line-height: 14px; font-weight: 700; }
  .side .job.row-s.dwait > span:not(.sym):not(.reason):not(.ric), .side .job.row-s.dwait.cur > span:not(.sym):not(.reason):not(.ric), .side .job.row-s.dwait.unread > span:not(.sym):not(.reason):not(.ric) { font-weight: 700; }
  @media (min-width: 701px) { .side .job:is(.row-s, .wait, .talk) { min-height: 28px; padding-top: 4px; padding-bottom: 4px; } .side .job.wait .reason { font-size: 12.5px; line-height: 16px; } }
  @media (max-width: 700px) { .side .job:is(.row-s, .wait, .talk) { font-size: 15px; padding-top: 12px; padding-bottom: 12px; } .side .sec-row, .side .sec-h { font-size: 12.5px; padding-top: 12px; padding-bottom: 12px; margin-top: 4px; } }
  /* Approve and Deny from the approved board (approve685.js, Josh #780): 12 px corners, filled Approve, Deny white with a 2 px inset ring #c9c6dc, at least 120 by 44 (48 on phone), 15 px at 600, 12 px apart. The chat buttons, the decision card and the Review pane match. */
  .chat .btns button, .dc-pick, .mpick { border-radius: 12px; min-width: 120px; min-height: 44px; font-size: 15px; font-weight: 600; }
  .chat .btns button:not(:first-child), .dc-pick:not(.first), .mpick:not(.first) { background: #fff; color: #17163a; border: 0; box-shadow: inset 0 0 0 2px #c9c6dc; }
  .mbtns { gap: 12px; }
  @media (max-width: 767px) { .chat .btns button, .dc-pick, .mpick { min-height: 48px; } }
  .chat .ucard .btns button { border-radius: 999px; }
  /* Wren, Nov 14: only purple and green dots. Unread is the bold title. Show all starts at the title column, 44 pt on phone. All pods and Settings carry a symbol. */
  .side .showall { padding-left: calc(var(--b0) + var(--ind2) + 28px); }
  /* Slice 4: workspaces (Iris 33, 33b, 34a to 34c). The heading shows only with 2 or more. */
  .side .ws-hd { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 6px 0 calc(var(--b0) + var(--ind1)); min-height: 28px; box-sizing: border-box; font-size: 13.5px; font-weight: 800; color: var(--muted); }
  .side .ws-hd > span { flex: none; }
  .side .ws-row .sym { flex: 0 0 20px; width: 20px; height: 20px; display: grid; place-items: center; }
  .side .ws-add { white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; min-height: 28px; padding: 0 4px; border: 0; background: none; color: var(--accent); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
  .side .ws-add svg { width: 16px; height: 16px; fill: currentColor; }
  .side .ws-row { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
  .side .ws-row .lbl { flex: 1 1 auto; min-width: 0; }
  .side .ws-row .n { color: var(--muted); font-weight: 500; flex: none; }
  .side .ws-row .sym svg, .wsp-row .sym svg, .wsp-title .sym svg { width: 18px; height: 18px; fill: currentColor; }
  .side .showall.ws-more { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; padding-right: 10px; color: var(--accent); font-weight: 700; }
  .ws-row .ric, .ws-more .ric, .wsp-row .ric, .wsp-more .ric { position: static; display: flex; align-items: center; flex: none; }
  .ws-row .ric .rb, .ws-more .ric .rb, .wsp-row .ric .rb, .wsp-more .ric .rb { position: relative; inset: auto; margin: 0; right: auto; top: auto; }
  .ws-empty { min-height: 70vh; display: flex; flex-direction: column; }
  .ws-et { margin: 0; font-size: 20px; font-weight: 800; } .ws-es { color: var(--muted); font-size: 13.5px; font-weight: 600; }
  .ws-eb { margin: auto 0; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; padding: 48px 0; }
  .ws-eb p { text-wrap: balance; margin: 0; font-size: 16px; font-weight: 600; } .ws-eb .np-btn { min-height: 48px; padding: 0 28px; font-weight: 700; }
  @media (max-width: 700px) { .home.listopen .side { scroll-padding-bottom: 180px; } .home.listopen .side #pod-body, .home.listopen .side #jobs-other { padding-bottom: 0; } .home.listopen .side > .sidetray { margin-top: 16px; } .home.listopen .side::after { content: ""; display: block; flex: none; height: 180px; } }
  .side .ws-new { display: flex; gap: 6px; align-items: center; padding: 6px 10px 6px calc(var(--b0) + var(--ind1)); }
  .side .ws-new input { flex: 1 1 auto; min-width: 0; min-height: 36px; box-sizing: border-box; border: 1px solid var(--line, #d9d6ee); border-radius: 8px; padding: 0 10px; font: inherit; font-size: 14px; }
  .side .ws-err { padding: 0 10px 6px calc(var(--b0) + var(--ind1)); font-size: 13px; }
  .wsp-back { display: flex; align-items: center; min-height: 44px; width: 100%; padding: 0 16px; border: 0; background: none; color: var(--accent); font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; text-align: left; }
  .wsp-title { display: flex; align-items: center; gap: 10px; padding: 4px 16px 8px; font-size: 20px; font-weight: 800; }
  .wsp-title .n, .wsp-row .n { margin-left: auto; font-size: 13.5px; font-weight: 600; color: var(--muted); }
  .wsp-row { display: flex; align-items: center; gap: 12px; min-height: 56px; width: 100%; box-sizing: border-box; padding: 0 16px; border: 0; border-bottom: 1px solid var(--line, #e4e2f3); background: none; color: inherit; font: inherit; font-size: 16px; font-weight: 700; text-align: left; cursor: pointer; }
  .wsp-row .n { margin-left: auto; }
  .wsp-more { display: flex; align-items: center; justify-content: space-between; min-height: 52px; width: 100%; box-sizing: border-box; padding: 0 16px; border: 0; border-bottom: 1px solid var(--line, #e4e2f3); background: none; color: var(--accent); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
  .open-ws { display: none; }
  @media (max-width: 700px) { .projhead:has(.open-ws:not([hidden])) > .back-leader { display: none; } .projhead:has(.open-ws:not([hidden])) { flex-wrap: nowrap; align-items: center; gap: 4px; } .projhead:has(.open-ws:not([hidden])) > .projh { flex: 1 1 0; min-width: 0; } }
  @media (max-width: 700px) {
    .side .job.wsp-proj { min-height: 52px; font-size: 16px; padding-left: 16px; }
    .open-ws { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px 0 4px; font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap; flex: none; }
    .open-ws::before { content: '\2039'; margin-right: 6px; font-size: 20px; }
  }
  .side .side-pods, .side .side-set { display: flex; align-items: center; gap: 8px; align-self: stretch; min-height: 28px; padding: 4px 10px 4px calc(var(--b0) + var(--ind1)); margin-top: auto; }
  .side .side-pods:not([hidden]) + .side-set { margin-top: 0; }
  .side .side-pods .sym, .side .side-set .sym { flex: 0 0 20px; width: 20px; height: 20px; display: grid; place-items: center; }
  .side .side-pods .sym svg, .side .side-set .sym svg { width: 18px; height: 18px; fill: var(--muted); }
  @media (max-width: 700px) { .side .showall, .side .side-pods, .side .side-set { min-height: 44px; box-sizing: border-box; } .side .showall { display: flex; align-items: center; } }
  /* All pods and Settings on a soft tray (Iris's footbar, option C, Wren passed): pinned under the scrolling list, white 44 px rows (48 on phone), the open row has a real 2 px border. */
  .side .sidetray { position: sticky; bottom: -20px; margin: auto -14px -20px; padding: 12px; background: #edeaf8; display: flex; flex-direction: column; gap: 12px; flex: 0 0 auto; z-index: 2; }
  .side .sidetray [hidden] { display: none !important; }
  .side .sidetray .side-pods, .side .sidetray .side-set { display: flex; align-items: center; gap: 10px; align-self: stretch; margin: 0; min-height: 44px; box-sizing: border-box; padding: 0 12px; border: 2px solid transparent; border-radius: 12px; background: #fff; box-shadow: 0 1px 2px rgba(23, 22, 58, .12); color: var(--fg); font: inherit; font-size: 14px; line-height: 20px; font-weight: 400; text-align: left; text-decoration: none; cursor: pointer; }
  .side .sidetray .sym svg { width: 20px; height: 20px; fill: var(--muted); }
  .side .sidetray .sym { flex: 0 0 20px; width: 20px; height: 20px; }
  .side .sidetray .side-pods:focus-visible, .side .sidetray .side-set:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
  .side .sidetray .on, .side .sidetray [aria-current="true"] { border-color: #785EF0; background: #efecfd; box-shadow: none; font-weight: 500; }
  .side .sidetray .on .sym svg, .side .sidetray [aria-current="true"] .sym svg { fill: #17163a; }
  @media (max-width: 700px) { .side .sidetray .side-pods, .side .sidetray .side-set { min-height: 48px; font-size: 15px; } }
  @media (forced-colors: active) { .side .sidetray .side-pods, .side .sidetray .side-set { border-color: Canvas; } .side .sidetray .on, .side .sidetray [aria-current="true"] { border-color: Highlight; border-width: 3px; padding: 0 11px; } }

  /* Podmates learning from feedback (project #27, option D). Plain rows, no counts, badges, or meters.
     Colors and type from Iris's D frames (2026-11-14). */
  :root { --lx-purple: #5b3fd6; --lx-lilac: #ece9ff; --lx-chip: #f3f3f8; --lx-border: #cfc7ff; --lx-held: #17704a; --lx-held-dot: #1f8a5b; --lx-handle: #dcd8f0; --lx-chipback: #f0f0f5; }
  @media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --lx-purple: #b3a4ff; --lx-lilac: #2a2552; --lx-chip: #23234a; --lx-border: #4b4385; --lx-held: #5fd39c; --lx-held-dot: #5fd39c; --lx-handle: #3a3a60; --lx-chipback: #23234a; } }
  :root[data-theme="dark"] { --lx-purple: #b3a4ff; --lx-lilac: #2a2552; --lx-chip: #23234a; --lx-border: #4b4385; --lx-held: #5fd39c; --lx-held-dot: #5fd39c; --lx-handle: #3a3a60; --lx-chipback: #23234a; }
  .side .job.lx-row { flex-direction: row; align-items: center; justify-content: flex-start; gap: 8px; font-weight: 600; margin-bottom: 6px; }
  .side .job.lx-row.cur { background: var(--lx-lilac); color: var(--lx-purple); }
  .lx-row .sym svg { width: 18px; height: 18px; fill: currentColor; }
  .home.lessonsview #chat-body, .home.lessonsview .foot, .home.lessonsview #b-new-msg { display: none !important; }
  .home.lessonsview .podp, .home.lessonsview .podline { display: none !important; }
  .home.lessonsview { grid-template-columns: var(--sw, 280px) minmax(0, 1fr); }
  /* The Map, Review, and Podmates pane stays on a wide screen, as in the frames (Iris). */
  @media (max-width: 1199px) { .home.lessonsview .mappane { display: none !important; } }
  @media (min-width: 1200px) { .home.lessonsview.hasmap { grid-template-columns: var(--sw, 280px) minmax(0, 1fr) var(--pw, 280px); } }
  .lx { flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; background: var(--bg); }
  .lx-col { max-width: 680px; box-sizing: content-box; padding: 8px 64px 96px; }
  .lx-back { min-height: 44px; display: inline-flex; align-items: center; padding: 0; border: 0; background: none; color: var(--lx-purple); font-weight: 700; font-size: 15px; cursor: pointer; }
  .lx-chipback { display: none; }
  .lx-tabs { display: none; }
  .lx-av { flex: none; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; color: #17163a; font-weight: 700; line-height: 1; }
  .lx-title { font-size: 28px; font-weight: 800; letter-spacing: -0.01em; margin: 4px 0 18px; }
  .lx-does { margin: -10px 0 12px; font-size: 15px; line-height: 1.4; color: var(--fg); max-width: 60ch; } .lx-owns { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; } .lx-owns li { padding: 4px 10px; border-radius: 999px; background: var(--card); font-size: 13px; font-weight: 600; color: var(--fg); overflow-wrap: anywhere; }
  .lx-head { display: flex; align-items: center; gap: 16px; margin: 4px 0 22px; }
  .lx-head h2 { font-size: 28px; font-weight: 800; letter-spacing: -0.01em; }
  .lx-role { display: flex; align-items: center; gap: 8px; font-size: 16px; color: var(--muted); margin-top: 4px; }
  .lx-role i { display: none; }
  .lx-sec { font-size: 22px; font-weight: 800; color: var(--fg); margin: 0 0 16px; }
  /* Filters: chips inline on a wide screen, a Filter button and a sheet on a phone. */
  .lx-fbar { display: none; align-items: center; gap: 14px; margin: 0 0 20px; }
  .lx-filterbtn { min-height: 44px; border: 1.5px solid var(--lx-border); background: var(--bg); color: var(--fg); border-radius: 999px; padding: 0 22px; font: inherit; font-weight: 700; font-size: 16px; cursor: pointer; flex: none; }
  .lx-fsum { font-size: 13px; color: var(--muted); }
  .lx-fchips { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
  .lx-crow { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 10px; }
  .lx-crow .gl { font-size: 14px; font-weight: 600; color: var(--muted); margin-right: 2px; }
  .lx-crow .gap { width: 28px; }
  .lx-chip { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 12px; border: 0; border-radius: 999px; background: var(--lx-chip); color: var(--muted); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
  /* A 44px touch target around a chip drawn smaller. */
  .lx-chip::after { content: ''; position: absolute; inset: -7px 0; }
  .lx-chip[aria-pressed="true"] { background: var(--lx-lilac); color: var(--lx-purple); }
  .lx-chip .lx-av { font-size: 10px; }
  /* Profile: plain rows on the page, dated, with the marker and the edit link. */
  .lx-month { font-size: 15px; font-weight: 700; color: var(--fg); margin: 8px 0 4px; }
  .lx-item { padding: 20px 0 24px; border-bottom: 1px solid var(--line); }
  .lx-date { display: block; font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
  .lx-line { margin: 0 0 8px; color: var(--fg); line-height: 1.45; overflow-wrap: anywhere; }
  .lx-line.said, .lx-line.noticed { font-size: 15px; }
  .lx-line.now { font-size: 14px; }
  .lx-line .k { color: var(--muted); font-weight: 700; }
  .lx-foot { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
  .lx-mark { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; }
  .lx-mark i { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
  .lx-mark.back { color: var(--lx-purple); } .lx-mark.back i { background: var(--lx-purple); }
  .lx-mark.held { color: var(--lx-held); } .lx-mark.held i { background: var(--lx-held-dot); }
  .lx-edit { margin-left: auto; min-height: 44px; min-width: 44px; padding: 0; border: 0; background: none; color: var(--muted); font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; text-align: left; }
  .lx-rep { padding: 8px 0 0 20px; }
  .lx-rep .lx-line { margin-bottom: 6px; }
  .lx-more { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 56px; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--fg); font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; padding: 0; text-align: left; }
  .lx-more .chev { color: var(--muted); font-size: 14px; }
  .sv-row { justify-content: space-between; }
  .sv-h { font-size: 16px; font-weight: 800; margin: 20px 0 0; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
  .sv-line { padding: 12px 0 4px; }
  .sv-t { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 16px; }
  .sv-rm { min-width: 44px; min-height: 44px; border: 0; background: none; color: var(--muted); font: inherit; font-weight: 700; cursor: pointer; }
  .sv-q { color: var(--muted); font-size: 13.5px; padding-bottom: 8px; overflow-wrap: anywhere; }
  .sv-quoted { background: #f3f1ff; border-radius: 8px; padding: 10px 12px; font-weight: 600; margin: 8px 0; }
  .lx-empty { color: var(--muted); font-weight: 600; padding: 24px 0; }
  /* Timeline: one line per lesson, hairlines between. */
  .lx-trow { display: grid; grid-template-columns: 66px minmax(0, 1fr) 14px; gap: 16px; align-items: start; width: 100%; padding: 12px 0; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--fg); font: inherit; text-align: left; cursor: pointer; }
  .lx-trow .h { font-size: 14px; font-weight: 600; line-height: 1.4; margin-top: 8px; }
  .lx-trow .s { font-size: 13px; font-weight: 400; line-height: 1.4; color: var(--muted); margin-top: 4px; }
  .lx-trow .b { font-size: 13px; font-weight: 700; color: var(--lx-purple); margin-top: 6px; }
  .lx-trow .chev { color: var(--muted); font-size: 15px; margin-top: 8px; }
  .lx-trow:hover .h { text-decoration: underline; text-decoration-color: var(--line); }
  /* Sheets: a bottom sheet on a phone, a dialog on a wider screen. */
  .lx-veil { position: fixed; inset: 0; background: rgba(15, 14, 40, 0.38); z-index: 60; display: flex; align-items: center; justify-content: center; }
  .lx-sheet { background: var(--bg); color: var(--fg); width: min(480px, calc(100% - 32px)); border-radius: 24px; padding: 20px 20px 24px; box-shadow: 0 20px 60px rgba(0,0,0,.25); display: flex; flex-direction: column; gap: 12px; }
  .lx-handle { display: none; align-self: center; width: 36px; height: 4px; border-radius: 2px; background: var(--lx-handle); margin: -6px 0 2px; }
  .lx-sheet h3 { font-size: 20px; font-weight: 800; }
  .lx-sheet .gl { font-size: 13px; font-weight: 600; color: var(--muted); margin-top: 4px; }
  .lx-sheet .lx-crow { gap: 8px 10px; }
  .lx-sheet label { display: flex; flex-direction: column; gap: 10px; font-size: 13px; font-weight: 600; color: var(--muted); }
  .lx-sheet textarea { font: inherit; font-size: 16px; font-weight: 400; color: var(--fg); background: var(--bg); border: 2px solid var(--lx-purple); border-radius: 14px; padding: 10px 14px; min-height: 48px; resize: none; line-height: 1.4; }
  .lx-sheet textarea:focus { outline: none; border-color: var(--accent); }
  .lx-primary { min-height: 48px; width: 100%; border: 0; border-radius: 999px; background: var(--lx-purple); color: #fff; font: inherit; font-size: 17px; font-weight: 700; cursor: pointer; margin-top: 4px; }
  /* Desktop: one right-aligned row, Cancel, Remove lesson, Save. Phone: Save full width, then the two outlined pills. */
  .lx-eacts { display: flex; justify-content: flex-end; gap: 10px; margin-top: 4px; }
  .lx-eacts .lx-primary { width: auto; min-height: 44px; padding: 0 24px; font-size: 15px; margin: 0; order: 3; }
  .lx-eacts .rm { order: 2; } .lx-eacts .cancel { order: 1; }
  .lx-eacts button:not(.lx-primary) { min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1.5px solid var(--lx-border); background: var(--bg); color: var(--fg); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
  #slack-state .st-short { display: none; }
  @media (max-width: 767px) { #slack-state .st-long { display: none; } #slack-state .st-short { display: inline; } }
  .lx-sheet .disc-p { margin: 0; font-size: 15px; font-weight: 600; color: var(--muted); line-height: 1.45; }
  #b-disc-slack { min-width: 120px; min-height: 44px; padding: 0 18px; font-size: 15px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; }
  .lx-sheet .err { color: #b42318; font-size: 14px; font-weight: 600; }
  .lx-sheet .err:empty { display: none; }
  .lx-undo { position: fixed; left: calc(var(--sw, 280px) + 64px); bottom: 28px; z-index: 61; box-sizing: border-box; width: min(460px, calc(100% - 32px)); min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: #17163a; color: #fff; border-radius: 16px; padding: 6px 8px 6px 20px; font-weight: 400; font-size: 15px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
  .lx-undo button { min-height: 44px; border-radius: 999px; padding: 0 16px; font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; border: 0; background: transparent; color: #cfc7ff; }
  /* The lesson inside the podmate's reply in chat. */
  .chat .bubble.lx-bub { background: var(--lx-lilac); max-width: 520px; }
  .lx-see { display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; border: 0; padding: 0; background: none; color: var(--lx-purple); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; white-space: normal; }
  .lx-bub .lx-cnow { margin: 8px 0 0; white-space: normal; }
  .lx-bub .lx-acts { display: flex; flex-direction: column; align-items: flex-start; white-space: normal; }
  @media (max-width: 767px) {
    .home.lessonsview { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
    .home.lessonsview .ptabs { display: none; }
    .lx-col { padding: 8px 16px 96px; }
    .lx-back { display: none; }
    .lx-chipback { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 0; border-radius: 14px; background: var(--lx-chipback); color: var(--fg); font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; }
    .lx-tabs { display: flex; gap: 4px; margin: 8px -16px 0; padding: 0 16px 0; border-bottom: 1px solid var(--line); }
    .lx-tabs button { min-height: 44px; border: 0; background: none; color: var(--muted); font: inherit; font-weight: 700; font-size: 15px; padding: 0 12px; border-radius: 12px; cursor: pointer; margin-bottom: 0; }
    .lx-tabs button[aria-selected="true"] { background: var(--lx-lilac); color: var(--fg); }
    .lx-title { font-size: 28px; margin: 24px 0 18px; }
    .lx-head { margin: 22px 0 24px; }
    .lx-head h2 { font-size: 24px; }
    .lx-sec { font-size: 20px; margin-bottom: 8px; }
    .lx-fbar { display: flex; }
    .lx-fchips { display: none; }
    .lx-month { display: none; }
    .lx-item { border-bottom: 0; padding: 32px 0 8px; }
    .lx-many .lx-fchips { display: flex; margin-bottom: 8px; }
    .lx-many .lx-month { display: block; margin: 4px 0 0; }
    .lx-many .lx-item { border-bottom: 1px solid var(--line); padding: 16px 0 14px; }
    .lx-many .lx-more { border-bottom: 1px solid var(--line); }
    .lx-more { border-bottom: 0; }
    .lx-foot { flex-direction: column; align-items: flex-start; gap: 6px; }
    .lx-edit { margin-left: 0; color: var(--fg); }
    .lx-trow { padding: 16px 0; }
    .lx-trow .h { font-size: 15px; font-weight: 400; margin-top: 6px; }
    .lx-trow .s { font-size: 13.5px; }
    .lx-chip { min-height: 36px; padding: 0 16px; font-size: 15px; font-weight: 600; gap: 8px; }
    .lx-chip::after { inset: -4px 0; }
    .lx-crow { gap: 10px; }
    .lx-back { font-size: 15px; }
    .lx-handle { display: block; }
    .lx-sheet textarea { min-height: 84px; }
    .lx-eacts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
    .lx-eacts .lx-primary { grid-column: 1 / -1; width: 100%; min-height: 48px; font-size: 17px; order: 0; }
    .lx-eacts .rm { order: 1; } .lx-eacts .cancel { order: 2; }
    .lx-eacts button:not(.lx-primary) { min-height: 48px; font-size: 16px; }
    /* Disconnect Slack: the way out is as wide as the way forward (Wren, Nov 14). */
    .lx-eacts.disc .cancel { grid-column: 1 / -1; width: 100%; }
    .lx-veil { align-items: flex-end; }
    .lx-sheet { width: 100%; border-radius: 24px 24px 0 0; padding: 18px 20px max(20px, env(safe-area-inset-bottom, 0px)); }
    .lx-undo { left: 16px; right: 16px; width: auto; bottom: 24px; min-height: 0; border-radius: 14px; }
  }
  /* One indicator per row, in one 20 px box with the same center on every row (Iris, status3437): the bell when a decision is open, else the ready dot, else the working ring. Shapes are borders and a path, so they show in forced colors. */
  .ov-row .b-ready, .rb.b-ready { box-sizing: border-box; width: 20px; height: 20px; display: grid; place-items: center; border: 0; border-radius: 0; background: transparent; box-shadow: none; font-size: 0; flex: none; }
  /* A podmate is working here: a neutral grey spinner, like Slack's (Josh, Nov 20, #124). A still arc with reduced motion. The arc is a border, so it shows in forced colors. */
  .wk { box-sizing: border-box; display: inline-block; width: 20px; height: 20px; flex: none; font-style: normal; } .wk:not(.rb) { position: relative; }
  .wk::before { content: ''; position: absolute; left: 3px; top: 3px; box-sizing: border-box; width: 14px; height: 14px; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--muted) 30%, var(--bg)); border-top-color: var(--muted); animation: wkspin .9s linear infinite; }
  @keyframes wkspin { to { transform: rotate(360deg); } }
  @media (prefers-reduced-motion: reduce) { .wk::before { animation: none; } }
  /* Topics sit one level in under their project: 20 px, a symbol on every row, 28 px rows (Wren, Nov 13). Not started is grey and normal weight, finished is muted. */
  .side .tp-list { display: flex; flex-direction: column; }
  .side .job.tp-row { margin-left: 56px; width: calc(100% - 56px); min-height: 44px; padding: 4px 28px 4px 2px; font-size: 14px; font-weight: 400; flex-direction: row; align-items: center; justify-content: flex-start; gap: 8px; text-align: left; }
  .side .job.tp-row.has-mk { padding-right: 52px; }
  .side .job.tp-row:not(.talk) > span.tp-nm:not(.sym):not(.reason) { flex: 1; min-width: 0; display: block; overflow: visible; text-overflow: clip; white-space: normal; overflow-wrap: anywhere; line-height: 20px; padding: 2px 0; }
  .side .job.tp-row:not(.talk) > span.tp-tile:not(.sym):not(.reason) { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; flex: none; overflow: visible; text-overflow: clip; background: #eceaf4; color: #8a89a3; }
  /* Project and pod rows wrap long names like topic rows, nothing is cut (Wren, Nov 20 to 21). */
  .side .job.row-s:not(.tp-row):not(.talk) { height: auto; min-height: 28px; align-items: flex-start; }
  .side .job.row-s:not(.tp-row):not(.talk) > span:not(.sym):not(.reason):not(.ric) { display: block; flex: 1; min-width: 0; overflow: visible; text-overflow: clip; white-space: normal; overflow-wrap: anywhere; line-height: 20px; padding: 4px 0; }
  .side .job.tp-row > .tp-tile svg { width: 20px; height: 20px; fill: currentColor; }
  /* Not started rows read as normal text with grey icons, since muted already means finished (Ben's hybrid, #121). */
  .side .job.tp-row.tp-fin { color: var(--muted); }
  .side .tp-hd { padding-left: 0; padding-right: 8px; display: flex; align-items: center; gap: 6px; width: calc(100% - 56px); min-height: 28px; border: 0; background: none; font: inherit; text-align: left; cursor: pointer; }
  .side .tp-hd .chev { flex: 0 0 20px; width: 20px; height: 20px; display: grid; place-items: center; margin-left: 2px; transition: transform 120ms ease; transform: rotate(90deg); }
  .side .tp-hd .chev svg { width: 20px; height: 20px; fill: currentColor; }
  .side .tp-hd[aria-expanded="false"] .chev { transform: none; }
  @media (max-width: 700px) { .side .tp-hd { min-height: 44px; } }
  .side .job.tp-row .ric { position: absolute; right: 12px; top: 50%; margin-top: -10px; }
  .side .tp-hd { margin-left: 56px; padding: 6px 8px 6px 0; font-size: 13px; font-weight: 700; color: var(--muted); }
  .side .tp-more { margin-left: 98px; width: calc(100% - 98px); min-height: 28px; text-align: left; white-space: nowrap; padding-left: 0; }
  .side .tp-more[data-tp-people] { margin-left: 92px; width: calc(100% - 92px); white-space: normal; overflow-wrap: anywhere; padding-right: 8px; }
  /* A decision is a bell badge with its count: blue to pink, white number and bell, 20 px tall, 36 px wide at least (Iris, tree108w-3). */
  .side .tp-person { display: flex; align-items: center; gap: 10px; margin-left: 56px; min-height: 28px; padding: 2px 8px 2px 2px; font-size: 14px; line-height: 20px; }
  .side .tp-pf { width: 24px; height: 24px; flex: 0 0 24px; border-radius: 50%; display: inline-grid; place-items: center; overflow: hidden; } .side .tp-pf .av { width: 24px !important; height: 24px !important; }
  .side .tp-nm2 { min-width: 0; overflow-wrap: anywhere; }
  /* The Podmates and Teammates headings open their page, and the + beside each adds one (tree108o). */
  .side .tp-hdr { display: flex; align-items: center; margin-left: 56px; gap: 4px; }
  .side .tp-hbtn { flex: 1; min-width: 0; min-height: 36px; padding: 6px 8px; border: 0; border-radius: 8px; background: none; font: inherit; font-size: 13px; font-weight: 700; color: var(--muted); text-align: left; cursor: pointer; }
  .side .tp-hbtn[aria-current="true"] { background: color-mix(in srgb, var(--fg) 7%, var(--bg)); color: var(--fg); }
  .side .tp-plus { flex: none; width: 44px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 8px; background: none; color: var(--accent); cursor: pointer; }
  .side .tp-plus svg { width: 20px; height: 20px; fill: currentColor; }
  .side .tp-hbtn:focus-visible, .side .tp-plus:focus-visible { outline: 2px solid #4b3bb0; outline-offset: 0; }
  @media (max-width: 700px) { .side .tp-hbtn, .side .tp-plus { min-height: 44px; height: 44px; } }
  .pp-h1 { margin: 0 0 16px; font-size: 26px; font-weight: 900; letter-spacing: -.01em; }
  .pp-row { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 8px 8px 14px; margin-bottom: 6px; border-radius: 14px; background: var(--card, #f4f3fa); }
  .pp-row .pp-f { flex: 0 0 36px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; } .pp-row .pp-f .av { width: 36px !important; height: 36px !important; }
  .pp-open { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; min-height: 44px; border: 0; background: none; padding: 0; color: inherit; font: inherit; text-align: left; cursor: pointer; }
  .pp-row .pp-t { flex: 1; min-width: 0; font-size: 15.5px; font-weight: 800; overflow-wrap: anywhere; } .pp-row .pp-t small { display: block; margin-top: 1px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
  .pp-rm { flex: none; min-height: 44px; min-width: 92px; padding: 0 18px; border: 0; border-radius: 999px; background: color-mix(in srgb, var(--accent) 12%, var(--bg)); font: inherit; font-size: 15px; font-weight: 700; color: var(--fg); cursor: pointer; }
  .pp-rm:focus-visible { outline: 2px solid #4b3bb0; outline-offset: 2px; }
  .pp-note { margin: 10px 14px 0; font-size: 14px; font-weight: 600; color: var(--muted); }
  @media (forced-colors: active) { .pp-row { border: 1px solid CanvasText; } .pp-rm { border: 1px solid ButtonText; } .side .tp-hbtn[aria-current="true"] { outline: 1px solid Highlight; } }
  .open-topics { display: none; }
  @media (max-width: 700px) { #chat-head.dup { display: none; } }
  @media (max-width: 700px) { .side .tp-person { min-height: 44px; } .open-topics { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; margin-left: auto; }
    /* The way back to Topics sits on the title row, before the title: "‹ Topics" then the name. The back-to-leader row, when there is one, is the row above (Wren, slice 1 phone). */
    .open-topics { margin-left: 0; padding: 0 12px 0 4px; font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap; flex: none; } .open-topics::before { content: '\2039'; margin-right: 6px; font-size: 20px; line-height: 1; }
    .projhead:has(.open-topics:not([hidden])) { flex-wrap: wrap; align-items: center; column-gap: 4px; }
    .projhead:has(.open-topics:not([hidden])) > .back-leader { order: 0; flex: 0 0 100%; text-align: left; justify-content: flex-start; }
    .projhead:has(.open-topics:not([hidden])) > .open-topics { order: 1; } .projhead:has(.open-topics:not([hidden])) > .projh { order: 2; flex: 1 1 0; min-width: 0; white-space: normal; overflow: hidden; -webkit-line-clamp: 2; overflow-wrap: anywhere; } .projhead:has(.open-topics:not([hidden]))::after { content: ''; order: 3; flex: 0 0 100%; height: 0; } .projhead:has(.open-topics:not([hidden])) > .whos, .projhead:has(.open-topics:not([hidden])) > .open-map, .projhead:has(.open-topics:not([hidden])) > .open-in { order: 4; } .projhead:has(.open-topics:not([hidden])) > .projh { -webkit-line-clamp: 3; } }
  /* One way back on a phone topic chat: "\2039 Topics" on the title row, and the back-to-leader row is gone (Wren, Nov 21). The topic name wraps in full, never cut off. */
  @media (max-width: 700px) { .projhead:has(.open-topics:not([hidden])) > .back-leader { display: none; } .projhead:has(.open-topics:not([hidden])) > .projh { display: block; -webkit-line-clamp: unset; overflow: visible; text-overflow: clip; } }
  .tp-pill { box-sizing: border-box; height: 20px; min-width: 36px; padding: 0 6px; border-radius: 10px; border: 1px solid #8b5cf6; background: linear-gradient(90deg, #3b82f6, #ec4899); display: inline-flex; align-items: center; justify-content: center; gap: 2px; color: #fff; font-style: normal; font-weight: 900; font-size: 12px; line-height: 1; }
  .tp-pill svg { width: 12px; height: 12px; }
  @media (forced-colors: active) { .tp-pill { forced-color-adjust: none; background: Canvas; color: CanvasText; border-color: CanvasText; } .side .job.tp-row > .tp-tile { border: 1px solid CanvasText; } }
  /* Ready: a neutral checkmark in the same 20 px box (#124). Its own class, since .b-done is the Done and Cancelled check on project cards. */
  .b-check { box-sizing: border-box; width: 20px; height: 20px; display: inline-grid; place-items: center; flex: none; font-style: normal; font-size: 0; color: var(--muted); pointer-events: none; } .b-check svg { width: 16px; height: 16px; display: block; fill: currentColor; }
  .ap-row .rb, .ap-row .wk { position: relative; inset: auto; margin: 0; }
  .rb.b-ready, .ov-row .b-ready { color: var(--ok); } .b-ready svg { width: 16px; height: 16px; display: block; fill: currentColor; }
  .side .job .rb { right: 12px; top: 50%; margin-top: -10px; } .side .job .ric { right: 12px; } .side .job .ric .rb { position: relative; inset: auto; margin-top: 0; }
  .chat .cinit, .me-face { color: #4a35b0; }
  @media (forced-colors: active) { .side .job.talk, .ov-talk, .btn.pill { border: 1px solid ButtonText; } .dcard, .dcard.done { border: 1px solid CanvasText; } .chat .cinit, .me-face { color: CanvasText; } .dc-pick, .mpick, .chat .btns button:not(:first-child), .dc-pick:not(.first), .mpick:not(.first), .btn, .jc-btn, .mc .bb button, .own-open, .cs-again { border: 1px solid ButtonText; } .chat .bubble, .cinit { border: 1px solid CanvasText; box-sizing: border-box; } }
  @media (forced-colors: active) { .rb.b-ready, .ov-row .b-ready, .ps-bang { color: Highlight; } .wk::before { border-color: GrayText; border-top-color: CanvasText; } .b-check { color: CanvasText; } }
  /* ---- Personal Staff and Start a pod (request #63, Josh approved the build on #981). Values from Iris's v11 board and example-pods final-a. ---- */
  /* The face at the foot of the sidebar opens the menu. On a phone the face sits in the header. */
  .side .sidetray .side-face { display: flex; align-items: center; gap: 10px; align-self: stretch; margin: 0; min-height: 52px; box-sizing: border-box; padding: 8px 10px; border: 0; border-radius: 10px; background: var(--bg); box-shadow: 0 0 0 1px #d9d6ee; color: var(--fg); font: inherit; font-size: 14px; line-height: 20px; font-weight: 700; text-align: left; cursor: pointer; }
  .side .sidetray .side-face .face-gear { width: 20px; height: 20px; flex: 0 0 20px; margin-left: auto; fill: var(--muted); }
  .side .sidetray .side-face:focus-visible, .hd-face:focus-visible, .xp-link:focus-visible, .xp-card:focus-visible, .xp-more:focus-visible, .side-start:focus-visible, .fm-item:focus-visible, .fy-row:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
  .side .sidetray .side-face[aria-expanded="true"] { box-shadow: 0 0 0 2px var(--accent); }
  .fav { width: 24px; height: 24px; flex: 0 0 24px; border-radius: 50%; display: inline-grid; place-items: center; overflow: hidden; background: #ffe3c9; color: #7a3b00; font-size: 12px; font-weight: 800; line-height: 1; }
  .fav img, .fav svg { width: 100%; height: 100%; display: block; border-radius: 50%; }
  .fav.guest { background: #d9f2e6; color: #14532d; }
  .hd-face { display: none; width: 44px; height: 44px; flex: 0 0 44px; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; }
  .hd-face .fav { width: 44px; height: 44px; flex-basis: 44px; font-size: 18px; }
  .facemenu { position: fixed; z-index: 70; width: 250px; padding: 6px; border-radius: 12px; background: var(--bg); box-shadow: 0 4px 18px rgba(30, 20, 80, .18), 0 0 0 1px #e3e1ef; }
  .facemenu[hidden] { display: none; }
  .fm-item { display: flex; align-items: center; width: 100%; min-height: 44px; padding: 0 12px; border: 0; border-radius: 8px; background: none; color: var(--fg); font: inherit; font-size: 14px; font-weight: 600; text-align: left; cursor: pointer; }
  .fm-item:hover { background: var(--card); }
  .fm-link { color: #4b33b8; font-weight: 700; text-decoration: underline; }
  :root[data-theme="dark"] .fm-link { color: #b9a9ff; }
  @media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .fm-link { color: #b9a9ff; } }
  /* A guest keeps the face at the foot, whose menu has only Not {name}? (Iris, v11 section 1). */
  .home.guestview .side .sidetray { display: flex !important; } /* a guest keeps Start and Join, as the + and Start a pod were never hidden for them (Wren) */
  .del-pod-w { margin-top: 24px; } .del-pod-w[hidden] { display: none; } .del-pod-btn { min-height: 44px; padding: 0 18px; border: 1.5px solid #b42318; border-radius: 999px; color: #b42318; background: var(--bg); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; } .del-pod-btn:hover { background: #fdecea; } .del-pod-btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
  .ap-flash { margin: 0 0 12px; padding: 10px 14px; border-radius: 10px; background: #efecfd; font-size: 15px; font-weight: 600; } .ap-flash[hidden] { display: none; }
  .lx-sheet .lx-del { background: #b42318; } .lx-sheet .del-name { width: 100%; box-sizing: border-box; min-height: 44px; padding: 0 12px; border: 1.5px solid var(--lx-border); border-radius: 10px; font: inherit; font-size: 16px; }
  /* Your pods is a small section label above the shared pods, below the personal staff (Josh, #105). */
  .side > .side-sec { order: 0; padding: 6px 0 0; }
  .side-sec-btn { display: flex; align-items: center; min-height: 44px; padding: 0 12px; margin: 0; border: 0; border-radius: 8px; background: none; color: var(--muted); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; text-align: left; }
  .side-sec-btn[hidden], .side-sec[hidden] { display: none; }
  .side-sec-btn:hover { background: color-mix(in srgb, var(--accent) 10%, var(--bg)); } .side-sec-btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
  /* Personal staff not set up: one button in its spot at the top of the sidebar (Josh, #105). */
  .side > .staff-setup-w { order: -2; padding: 0 0 8px; } .staff-setup-w[hidden] { display: none; }
  .side-act-wide { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 44px; padding: 0 12px; border: 2px solid transparent; border-radius: 12px; background: #fff; box-shadow: 0 1px 2px rgba(23, 22, 58, .12); color: var(--fg); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; }
  .side-act-wide:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; } .side-act-wide[aria-current="true"] { border-color: #785EF0; background: #efecfd; box-shadow: none; }
  @media (max-width: 767px) { .side-act-wide { min-height: 48px; font-size: 15px; } }
  /* Start a Pod and Join a Pod with an Invite stay at the bottom of the sidebar, above the user button, while the list scrolls (Josh, #104). */
  .side .sidetray .side-acts { display: flex; flex-direction: column; gap: 8px; align-self: stretch; }
  .side .sidetray .side-act { display: flex; align-items: center; justify-content: center; margin: 0; min-height: 44px; box-sizing: border-box; padding: 0 12px; border: 2px solid transparent; border-radius: 12px; background: #fff; box-shadow: 0 1px 2px rgba(23, 22, 58, .12); color: var(--fg); font: inherit; font-size: 14px; line-height: 20px; font-weight: 500; text-align: center; cursor: pointer; }
  .side .sidetray .side-act:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
  .side .sidetray .side-act[aria-current="true"] { border-color: #785EF0; background: #efecfd; box-shadow: none; }
  @media (max-width: 767px) { .side .sidetray .side-act { min-height: 48px; font-size: 15px; } }
  @media (forced-colors: active) { .side .sidetray .side-act { border-color: CanvasText; } .side .sidetray .side-act[aria-current="true"] { border-color: Highlight; } }
  /* An open Personal Staff moves above McCoy: its header, rows and rule come first (Iris). */
  .side > * { order: 0; }
  .side > .sidehd, .side > .card-slack, .side > #lx-side, .side > #guest-side, .side > #for-you { order: -3; }
  .side.staff-top > #pod-h, .side.staff-top > #pod-body, .side.staff-top > #own-sep2 { order: -2; }
  /* Start a pod sits under the pods, a white row with a thin edge. */
  .side-start-w { padding: 8px 0 4px; }
  .side-start { display: flex; align-items: center; width: 100%; min-height: 44px; padding: 10px 12px; border: 0; border-radius: 10px; background: var(--bg); box-shadow: 0 0 0 1px #e3e1ef; color: var(--fg); font: inherit; font-size: 14px; font-weight: 700; text-align: left; cursor: pointer; }
  .side-start[aria-current="true"] { box-shadow: 0 0 0 2px var(--accent); }
  /* For you: only the person sees it, above the pods, until they have a Personal Staff. */
  .fy { margin: 0 0 8px; }
  .fy[hidden] { display: none; }
  .fy-h { display: flex; align-items: center; min-height: 40px; padding: 0 10px; font-size: 14px; font-weight: 700; }
  .fy-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); display: inline-block; margin-left: 6px; }
  .fy-row { display: flex; align-items: center; width: 100%; min-height: 34px; padding: 0 10px 0 30px; border: 0; border-radius: 8px; background: none; color: var(--fg); font: inherit; font-size: 14px; text-align: left; cursor: pointer; }
  .fy-row[aria-current="true"] { background: color-mix(in srgb, var(--accent) 10%, var(--bg)); }
  @media (max-width: 767px) { .fy-h { min-height: 48px; font-size: 17px; } .fy-row { min-height: 48px; font-size: 16px; } }
  /* The panel beside the sidebar: the examples, the name step, Personal Staff's first screen, and a pod's question. */
  .home > #s-x { grid-column: 2 / -1; grid-row: 1 / -1; min-width: 0; background: var(--bg); }
  .home.xview > .mid, .home.xview > .podp, .home.xview > .ptabs, .home.xview > #s-allpods { display: none !important; }
  .home.xview .rz, .home.xview .mappane { display: none !important; }
  @media (min-width: 768px) and (max-width: 1023px) { .home > #s-x { grid-area: mid; grid-row: 1 / -1; } }
  @media (max-width: 767px) { .home > #s-x { grid-column: 1; grid-row: 2 / -1; } }
  .xp-col.xp-wide { max-width: 1140px; }
  .xp-col { max-width: 600px; margin: 0; padding: 24px 24px 48px; font-size: 14px; line-height: 1.4; color: var(--fg); }
  .xp-link { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0; border: 0; background: none; color: var(--fg); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
  .back-ex { min-height: 44px; margin: 8px 0 -14px; font-size: 14px; }
  .back-ex[hidden] { display: none; }
  #s-x [tabindex="-1"]:focus { outline: none; }
  .xp-q { margin: 6px 0 0; font-size: 15px; font-weight: 700; line-height: 1.3; }
  .xp-sect { margin: 12px 0 6px; font-size: 14px; font-weight: 800; }
  .xp-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  @media (min-width: 1024px) { .xp-wide .xp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
  @media (min-width: 1280px) { .xp-wide .xp-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
  .xp-card { display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; width: 100%; padding: 10px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg); color: var(--fg); font: inherit; text-align: left; cursor: pointer; }
  .xp-card:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
  .xp-scene { display: block; border-radius: 12px; overflow: hidden; margin-bottom: 8px; }
  .xp-scene svg { display: block; width: 100%; height: auto; }
  .xp-t { display: block; margin-bottom: 6px; font-size: 15px; font-weight: 800; line-height: 1.25; }
  .xp-u { margin: 0; padding-left: 16px; font-size: 13px; line-height: 1.5; color: var(--muted); }
  .xp-n { display: block; margin-top: 8px; font-size: 12px; line-height: 1.35; color: var(--muted); }
  .xp-more { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 44px; margin: 10px 0 4px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--bg); box-shadow: inset 0 0 0 2px #8c8aa8; color: var(--fg); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
  .xp-none { display: block; align-self: start; width: 100%; padding: 12px; border: 1px solid #d5d9e2; border-radius: 16px; background: #eceef3; color: #17163a; font: inherit; text-align: left; cursor: pointer; }
  .xp-none b { display: block; font-size: 15px; font-weight: 800; }
  .xp-none span { display: block; margin-top: 4px; font-size: 13px; color: #475569; }
  /* The name step. */
  .xp-lab { display: block; margin-top: 14px; font-size: 13px; color: var(--muted); }
  .xp-in { display: block; width: 100%; height: 44px; margin-top: 6px; padding: 10px; border: 2px solid var(--accent); border-radius: 10px; background: var(--bg); color: var(--fg); font: inherit; font-size: 15px; }
  .xp-in:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 35%, transparent); outline-offset: 2px; }
  .xp-hint { margin-top: 10px; font-size: 12px; color: var(--muted); }
  .xp-err { margin-top: 10px; font-size: 13px; color: #b42318; }
  .xp-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: #785EF0; color: #fff; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
  .xp-btn:focus-visible { outline: 3px solid var(--fg); outline-offset: 2px; }
  .xp-btn.sec { background: var(--bg); color: var(--fg); box-shadow: inset 0 0 0 2px #8c8aa8; }
  .xp-btn[disabled] { opacity: .6; cursor: default; }
  .xp-ulink { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; color: #4b33b8; font: inherit; font-size: 14px; font-weight: 700; line-height: 44px; text-decoration: underline; cursor: pointer; }
  :root[data-theme="dark"] .xp-ulink { color: #b9a9ff; }
  @media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .xp-ulink { color: #b9a9ff; } }
  /* Personal Staff's first screen and its members list. */
  .xp-h1 { margin: 0 0 10px; font-size: 22px; font-weight: 800; line-height: 1.25; }
  .xp-p { margin: 0 0 10px; font-size: 15px; line-height: 1.45; }
  .xp-small { margin: 0 0 14px; font-size: 13px; color: var(--muted); }
  .xp-done { padding: 12px; border: 1px solid var(--line); border-radius: 12px; }
  .ps-staff .lead-card { margin: 8px 0; padding: 12px; border: 1px solid var(--line); border-radius: 12px; }
  .ps-staff .lead-card small { display: block; font-size: 12px; color: var(--muted); }
  .ps-staff .lead-card b { display: block; font-size: 14px; font-weight: 800; }
  .ps-staff { padding: 6px 0 4px; }
  .ps-staff .ps-slot { margin: 10px 0; font-size: 14px; }
  .ps-staff .ps-same { margin: 8px 0 0; font-size: 14px; }
  /* A pod's question: the line everyone in the pod sees, and the person's own answer screen. */
  .q-status { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin: 10px 0 4px; }
  .q-status[hidden] { display: none; }
  .q-bub { display: inline-block; max-width: 100%; padding: 10px 12px; border-radius: 12px; background: #f0eefa; color: #17163a; font-size: 15px; }
  .q-acts { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
  .q-toast-live { position: fixed; left: 50%; bottom: 96px; z-index: 80; width: min(420px, calc(100% - 32px)); transform: translateX(-50%); }
  .q-toast-live[hidden] { display: none; }
  .q-toast { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 10px; background: #1d1b2e; color: #fff; font-size: 13px; }
  .q-toast .xp-ulink { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; color: #c9bcff; line-height: 1.3; text-align: left; }
  .xq-label { margin: 0 0 8px; font-size: 13px; color: var(--muted); }
  .xq-bub { margin: 0 0 8px; padding: 10px 12px; border-radius: 12px; background: #f0eefa; color: #17163a; font-size: 15px; line-height: 1.45; }
  .xq-ans { display: block; width: 100%; min-height: 48px; margin: 8px 0; padding: 10px 12px; border: 2px solid var(--accent); border-radius: 12px; background: var(--bg); color: var(--fg); font: inherit; font-size: 15px; }
  .xq-card { margin: 8px 0; padding: 12px; border: 1px solid var(--line); border-radius: 12px; }
  .xq-card .xq-t { display: block; font-size: 15px; font-weight: 700; }
  .xq-card .xq-q { margin: 6px 0 8px; font-size: 14px; }
  .xq-card .xq-note { font-size: 12px; color: var(--muted); }
  .xq-card .q-acts { margin-top: 10px; }
  .xq-notice { margin: 0 0 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; font-size: 13px; }
  .xq-notice small { display: block; color: var(--muted); }
  .xq-notice b { display: block; font-size: 14px; }
  .xq-offer h3 { margin: 0 0 6px; font-size: 16px; font-weight: 800; }
  .xq-offer p { margin: 0 0 10px; font-size: 14px; color: var(--muted); }
  /* A phone: bigger targets and the face in the header (Iris, section 6). */
  @media (max-width: 767px) {
    .hd-face { display: inline-flex; } .sidehd { gap: 12px; }
    .side .sidetray .side-face { display: none; }
    .facemenu { width: 270px; }
    .fm-item { min-height: 56px; padding: 0 14px; font-size: 18px; }
    .side-start { min-height: 56px; padding: 0 14px; border-radius: 12px; font-size: 19px; }
    .xp-col { padding: 16px 16px 40px; }
    .xp-link, .xp-q { font-size: 17px; }
    .xp-sect { font-size: 16px; }
    .xp-btn, .xp-more { min-height: 48px; }
    .xp-ulink { min-height: 44px; font-size: 16px; }
    .q-acts .xp-btn, .xq-card .xp-btn { width: 100%; min-height: 56px; font-size: 18px; }
  }
  /* Large text on a phone: one column, two cards in each group, the art capped at 96 px (final-a, large text). */
  @media (max-width: 767px) { .xp-big .xp-grid { grid-template-columns: minmax(0, 1fr); } .xp-big .xp-card.xp-extra { display: none; } .xp-big .xp-t { font-size: 21px; } .xp-big .xp-u { font-size: 17px; } .xp-big .xp-n { font-size: 15px; } .xp-big .xp-scene { height: 96px; display: flex; justify-content: center; } .xp-big .xp-scene svg { width: auto; height: 96px; max-width: 100%; } .xp-big .xp-more { min-height: 56px; font-size: 18px; } }
  /* The empty pod: the line sits in the middle of the chat, the message box stays at the foot (Iris, approval screen 6). */
  /* The start screen takes the same top bar as every phone screen: menu, Janeway, + and the person (Wren, Nov 24). */
  #s-plate .ptop3 { display: none; }
  @media (max-width: 767px) { #s-plate .top { display: none; } #s-plate .ptop3 { order: -1; display: flex; align-items: center; gap: 8px; padding: 14px 0 16px; } #s-plate .ptop3 .brand { margin-right: auto; } #s-plate .ptop3 .hd-face { display: inline-flex; } }
  .empty-pod { display: flex; flex-direction: column; justify-content: center; max-width: 420px; min-height: 46vh; }
  .empty-pod[hidden] { display: none; }
  .empty-pod .ep-line { margin: 0 0 10px; font-size: 15px; line-height: 1.45; }
  .empty-pod .ep-lab { margin-top: 6px; font-size: 12px; font-weight: 700; color: var(--muted); }
  .empty-pod .ep-ex { margin: 4px 0; font-size: 14px; line-height: 1.4; color: var(--muted); }
  @media (max-width: 767px) { .empty-pod .ep-line { font-size: 19px; } .empty-pod .ep-lab { font-size: 16px; } .empty-pod .ep-ex { font-size: 18px; } }
  @media (forced-colors: active) { .xp-card, .xp-none, .side-start, .side .sidetray .side-face, .facemenu, .q-bub, .xq-bub, .xq-ans, .xq-card { border: 1px solid CanvasText; } .fy-dot { background: Highlight; forced-color-adjust: none; } }
  /* Phone shell, version B (Wren, Nov 23; frames tree108-slice45 34a to 34d): chat home, a Topics button top left and a Plan so far button top right, 44 px high.
     There is no Chat/Pod toggle; the pod's page opens from its row in the list. 768 and wider keep what they had. */
  @media (max-width: 767px) {
    .home .ptabs { display: none !important; }
    .home, .home.hidepod { grid-template-rows: auto minmax(0, 1fr); }
    /* Two bands before the first message: the buttons, then the project's tabs with the faces on the same row. The Pod strip goes when it only says everyone is ready (Wren, Nov 24). */
    .home .panehead { display: flex !important; flex-wrap: wrap; align-items: center; column-gap: 8px; row-gap: 4px; }
    .home .panehead .projhead { display: contents !important; }
    .home .panehead .htabs { order: 3; flex: 1 1 0; min-width: 0; padding: 0; flex-wrap: nowrap; } .home .panehead .htab { padding: 0 12px; font-size: 14px; flex: 0 1 auto; min-width: 0; }
    .home .panehead .projhead .whos { order: 4 !important; flex: none; margin-left: auto; }
    .home .panehead .projhead .open-in { order: 5; flex: 0 0 100%; } .home .panehead .pstate { order: 6; flex: 1 1 100%; }
    .home .panehead .projhead .back-leader, .home .panehead .projhead .open-ws { order: -1; flex: 0 0 100%; }
    .home .podline.quiet { display: none !important; }
    .home .panehead .projhead .projh { order: 2; flex: 1 1 100%; min-width: 0; }
    .home .projhead .open-topics:not([hidden]), .home .projhead .open-map:not([hidden]) { display: inline-flex !important; align-items: center; justify-content: center; box-sizing: border-box; min-height: 44px; margin: 0; padding: 0 18px; border: 0; border-radius: 999px; background: color-mix(in srgb, var(--accent) 12%, var(--bg)); color: #4b3bb0; font: inherit; font-size: 15px; font-weight: 700; line-height: 1.2; text-decoration: none; white-space: nowrap; cursor: pointer; flex: none !important; }
    .home .projhead .open-topics { order: 0 !important; } .home .projhead .open-map { order: 1 !important; } .home .projhead .open-map:not([hidden]) { margin-left: auto; }
    .home .projhead .open-topics::before, .home .projhead .open-map::after { content: none; } .home .projhead .open-map svg { display: none; }


  }
