/*
 * Kyte Family Office · hub-d.css
 *
 * The hand-written half of the Concept D design (REDESIGN-D.md §2). Loads
 * after kyte.css (the hub's structural stylesheet, tokens re-valued to D) and
 * after concept-d.css (lifted verbatim from the study). This file extends the
 * lifted tokens and components to the hub's own classes and neutralises what
 * the old design carried. Anything that is D itself belongs in the study and
 * is lifted; anything the study never drew belongs here.
 */

/* ============ TOKENS THE STUDY NAMES DIFFERENTLY ============ */
:root{
  --page:#e7edf2;            /* the ground outside the shell */
  --shell:#eef2f6;
  --muted:#646e7f;
  --navy:#1F2A44; --navy-dark:#141C30;
  --hover:#f8f9fb;           /* row hover inside a white card */
}
html{background:var(--page);}
body{background:var(--page); font-family:var(--sans); font-size:14px; color:var(--ink);}
b,strong{font-weight:600;}

/* ============ THE SHELL ============
   D's rounded shell panel holding the sidebar and the workspace. The hub's
   .app carries .shell so the study's own rule draws it; the overrides below
   undo what kyte.css set on .app and .side. */
.app.shell{display:grid; grid-template-columns:224px minmax(0,1fr); margin:16px 22px 22px; min-height:calc(100vh - 38px); max-width:1640px; align-items:stretch;}
@media (min-width:1700px){ .app.shell{margin-left:auto; margin-right:auto;} }
.side{width:auto; flex:none; background:transparent; border-right:0; gap:0; padding:22px 14px 18px;
  position:sticky; top:0; height:auto; max-height:100vh; overflow-y:auto; overflow-x:hidden;}
.side .brand{display:flex; align-items:center; gap:12px; padding:0 12px 18px; color:var(--ink);}
.side .brand img.wm{height:30px; width:auto; display:block;}
.side .brand img.ic{display:none; width:28px; height:28px;}
.side .brand strong{font-size:25px; font-weight:550; letter-spacing:-.7px; line-height:1;}
.side .brand small{display:block; font-size:8px; letter-spacing:2px; margin-top:5px; color:var(--muted); white-space:nowrap;}
.side .brand .ws-collapse{margin-left:auto; color:var(--muted); padding:6px; border-radius:8px; background:none; border:0; cursor:pointer; flex:none;}
.side .brand .ws-collapse:hover{background:#ffffff90; color:var(--ink);}
.side .brand .ws-collapse svg{display:block;}
/* 9 Nov 2026 (polish): the logo is its own link beside the collapse button, never around it. */
.side .brand .brand-home{display:flex; align-items:center; min-width:0; color:inherit; border-radius:8px;}
.search-button{display:flex; align-items:center; gap:9px; background:#ffffff65; width:100%; text-align:left; color:#626d7d;
  font-size:12px; margin:0 0 16px; border:1px solid #e0e5eb; border-radius:8px; padding:10px 12px; cursor:pointer; font-family:inherit;}
.search-button:hover{background:#fff;}
.search-button svg{width:17px; height:17px; flex:none;}
.search-button kbd{margin-left:auto; font:10px var(--sans); color:#8993a1;}

/* Navigation: D's item is the study's `nav a, nav button`; the hub's .it
   carried its own height, border and colour, undone here. */
nav.navgrp{display:grid; gap:2px;}
nav.navgrp label.grp{display:block; font-size:9px; letter-spacing:1.5px; color:#6b7380; padding:12px 12px 5px; font-weight:500;}
nav.navgrp label.grp:first-child{padding-top:0;}
.it{height:auto; padding:8px 12px; border:0; border-radius:9px; font-size:12.5px; font-weight:400; color:var(--ink);
  gap:12px; background:transparent; white-space:nowrap; box-shadow:none;}
.it svg{width:19px; height:19px; color:var(--ink); stroke-width:1.5;}
.it:hover{background:#ffffff80; color:var(--ink);}
.it.active{background:#fff; border:0; box-shadow:0 6px 18px #59647b08; color:var(--ink); font-weight:500;}
.it.active svg{color:var(--navy);}
.it.active::after{content:''; width:6px; height:6px; background:var(--navy); border-radius:50%; margin-left:auto; flex:none;}
.it.active:has(.navcount:not([style*="none"]))::after{display:none;}
.navcount{margin-left:auto; min-width:18px; height:18px; padding:0 5px; background:var(--navy); color:#fff; border-radius:99px;
  display:grid; place-items:center; font-size:10px; font-weight:600; font-style:normal; font-variant-numeric:tabular-nums;}
.pinned{border-top:1px solid #e1e6ec; margin-top:12px; padding-top:12px; display:grid; gap:2px;}
.pinned label{font-size:9px; letter-spacing:1.5px; color:#6b7380; padding:0 12px 6px; font-weight:500;}
.pinned .it{font-size:12px; padding:7px 12px;}
/* 9 Nov 2026: a long name stops at the sidebar's edge with an ellipsis; the row carries the whole name as its title (app.js paintRecent). */
.pinned .it{min-width:0;}
.pinned .it span{flex:1 1 auto; min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.pinned:empty, .pinned.empty{display:none;}
.side .account{margin-top:auto; padding-top:14px; display:grid; gap:4px; position:relative;}
.side .account .it{font-size:12px;}
.side .account .acct{border:0; background:transparent; display:flex; align-items:center; gap:12px; text-align:left; font-size:12px;
  padding:8px 12px; border-radius:9px; cursor:pointer; color:var(--ink); width:100%; font-family:inherit;}
.side .account .acct:hover{background:#ffffff80;}
.side .account .acct .av{display:inline-grid; place-items:center; border-radius:50%; width:32px; height:32px; background:var(--navy); color:#fff; font-size:10px; font-weight:600; flex:none;}
.side .account .acct .nm{font-weight:500; display:block;}
.side .account .acct .rl{display:block; font-size:10.5px; color:var(--muted); font-weight:400;}
.side .account .acct .chev{display:none;}
/* The account menu opens upward from the foot of the sidebar. */
.side .account .drop{position:relative;}
.side .account .menu{position:absolute; left:0; right:0; bottom:calc(100% + 6px); top:auto; z-index:30;}

/* The sidebar keeps its foot (28 Sep design pass). Sixteen destinations,
   three labels and three recent records are taller than a 900px laptop
   window, and the whole column used to scroll as one: Settings and the
   account row (Switch view, Log out) sat below the fold with nothing to say
   they were there. Now the sidebar is exactly the shell's height, the
   destinations scroll inside it, and Settings and the account never move.
   Phone widths keep the horizontal strip (the 650px rules below). */
@media (min-width:651px){
  .side{display:flex; flex-direction:column; height:calc(100vh - 38px); max-height:none; overflow:hidden;}
  .side .brand, .side .search-button, .side .pinned, .side .account{flex:none;}
  .side nav.navgrp{flex:0 1 auto; min-height:0; overflow-y:auto; overflow-x:hidden; overscroll-behavior:contain;
    scrollbar-width:thin; scrollbar-color:#d5dbe3 transparent; margin:0 -6px; padding:0 6px;}
  .side nav.navgrp::-webkit-scrollbar{width:6px;}
  .side nav.navgrp::-webkit-scrollbar-thumb{background:#d5dbe3; border-radius:6px;}
}
/* 8 Nov 2026 (team QA): when the destinations scroll, the foot of the list
   fades, so a laptop user can tell there is more below (on a 768px window the
   whole Office section sat under the fold with nothing to say so). app.js sets
   .more-below from the list's own scroll position. */
@media (min-width:651px){
  /* 8 Nov 2026 (design sweep): a soft shadow along the list's foot rather than a fade over it; a place sitting whole in
     the fade (Signing, on a 900px window) read as switched off. The shadow sits under the words, which stay sharp. */
  .side nav.navgrp.more-below{box-shadow:inset 0 -14px 12px -12px rgba(23,27,36,.16);}
}
/* 8 Nov 2026 (design sweep): the phone's one sideways row fades at the end with more beyond it. */
@media (max-width:650px){
  .side nav.navgrp.more-right{-webkit-mask-image:linear-gradient(to right,#000 calc(100% - 40px),transparent);mask-image:linear-gradient(to right,#000 calc(100% - 40px),transparent);}
  .side nav.navgrp.more-left{-webkit-mask-image:linear-gradient(to right,transparent,#000 32px);mask-image:linear-gradient(to right,transparent,#000 32px);}
  .side nav.navgrp.more-left.more-right{-webkit-mask-image:linear-gradient(to right,transparent,#000 32px,#000 calc(100% - 40px),transparent);mask-image:linear-gradient(to right,transparent,#000 32px,#000 calc(100% - 40px),transparent);}
}
/* A short window (most laptops at their default scaling) tightens the rhythm
   before anything has to scroll. */
@media (min-width:651px) and (max-height:900px){
  .side{padding-top:18px; padding-bottom:12px;}
  .side .brand{padding-bottom:12px;}
  .search-button{margin-bottom:10px; padding:8px 12px;}
  nav.navgrp label.grp{padding:9px 12px 4px;}
  .it{padding:6px 12px;}
  .pinned{margin-top:8px; padding-top:8px;}
  .pinned .it{padding:5px 12px;}
  .side .account{padding-top:8px; gap:2px;}
  .side .account .acct{padding:6px 12px;}
}
/* Shorter still (a 768px laptop): one step tighter, after the rule above so it wins. */
@media (min-width:651px) and (max-height:800px){
  .it{padding:5px 12px;}
  nav.navgrp label.grp{padding:7px 12px 3px;}
  .pinned .it{padding:4px 12px;}
}


/* Collapsed to icons (the hub's own control and its narrow-screen default). */
.app.sb-min{grid-template-columns:68px minmax(0,1fr);}
.app.sb-min .side{padding:22px 8px 18px;}
.app.sb-min .side .brand{flex-direction:column; gap:8px; padding:0 0 12px;}
.app.sb-min .side .brand > div, .app.sb-min .side .brand small, .app.sb-min .side .brand img.wm{display:none;}
.app.sb-min .side .brand img.ic{display:block;}
.app.sb-min .side .brand .ws-collapse{margin:0;}
.app.sb-min .search-button{justify-content:center; padding:10px 0;}
.app.sb-min .search-button .ph, .app.sb-min .search-button kbd{display:none;}
.app.sb-min nav.navgrp label.grp, .app.sb-min .pinned, .app.sb-min .it span, .app.sb-min .navcount, .app.sb-min .it.active::after{display:none;}
.app.sb-min .it{justify-content:center; padding:9px 0; gap:0;}
.app.sb-min .side .account .acct{justify-content:center; padding:8px 0;}
.app.sb-min .side .account .acct > span:not(.av){display:none;}
/* 9 Nov 2026 (Matt: the names had gone): the button says what it does. Beside the logo it is "Hide names", an arrow
   pointing in; on the rail it is "Show names", an arrow pointing out, drawn as a button so it reads as the way back. */
.side .brand .ws-collapse .sbi-show{display:none;}
.app.sb-min .side .brand .ws-collapse .sbi-hide{display:none;}
.app.sb-min .side .brand .ws-collapse .sbi-show{display:block;}
.app.sb-min .side .brand .ws-collapse{width:36px; height:32px; display:grid; place-items:center; padding:0; background:#fff; border:1px solid #e0e5eb; color:var(--ink); box-shadow:0 6px 18px #59647b08;}
.app.sb-min .side .brand .ws-collapse:hover{background:#f5f7fa;}
/* The rail's names on hover (app.js showRailTip): one tip on the body, beside the place the pointer is on. */
.rail-tip{position:fixed; z-index:400; left:0; top:0; transform:translate(-4px,-50%); opacity:0; pointer-events:none; white-space:nowrap;
  background:var(--navy-dark); color:#fff; font:500 12px/1.2 var(--sans); padding:7px 10px; border-radius:7px; box-shadow:0 8px 24px #141c3029;
  transition:opacity .12s, transform .12s;}
.rail-tip.on{opacity:1; transform:translate(0,-50%);}
@media (max-width:650px){ .rail-tip{display:none;} }
/* What a button does, on hover (10 Nov 2026, tips.js): the rail's names' look, a line or two wide, attached above the
   button (below where there is no room), never taking a click. */
.hub-tip{position:fixed; z-index:400; left:0; top:0; max-width:280px; opacity:0; pointer-events:none; white-space:normal;
  background:var(--navy-dark); color:#fff; font:500 12px/1.4 var(--sans); padding:7px 10px; border-radius:7px; box-shadow:0 8px 24px #141c3029;
  transform:translateY(2px); transition:opacity .12s, transform .12s;}
.hub-tip.below{transform:translateY(-2px);}
.hub-tip.on{opacity:1; transform:none;}
@media (prefers-reduced-motion:reduce){ .hub-tip{transition:none;} }

/* ============ WORKSPACE HEADER ============ */
.workspace.main{min-width:0; padding:0 7px 7px 0; display:flex; flex-direction:column;}
.topbar{height:62px; display:flex; align-items:center; justify-content:space-between; padding:0 26px; font-size:12px; gap:16px;}
#breadcrumb{display:flex; gap:13px; color:#646e7f; align-items:center; min-width:0;}
#breadcrumb b{font-weight:500; color:var(--ink);}
#breadcrumb a{color:#646e7f;}
#breadcrumb a:hover{color:var(--ink);}
/* 10 Nov 2026 (H294): "Back to Needs you" beside the crumb, on a screen a Needs you question opened. */
.ny-back{display:inline-flex; align-items:center; gap:6px; margin:0 auto 0 14px; padding:6px 12px; border:1px solid #e0e5eb; border-radius:999px; background:#fff; color:var(--ink); font-size:12px; white-space:nowrap;}
.ny-back:hover{background:#f5f7fa;}
.ny-back svg{width:14px; height:14px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round;}
@media (max-width:650px){ .ny-back{margin-left:8px; padding:6px 10px;} }
.topbar.home #breadcrumb{display:none;}
.topbar:not(.home) .topgreet{display:none;}
.topgreet{font-family:var(--sans); font-size:13px; font-weight:500; margin:0; color:var(--ink); letter-spacing:0;}
.header-actions{display:flex; align-items:center; gap:16px; margin-left:auto;}
.local-status{font-size:10px; color:#6b7380; display:none;}
.local-status.on{display:inline-flex; align-items:center;}
.local-status i{display:inline-block; width:6px; height:6px; border-radius:50%; background:var(--navy); margin-right:7px;}
.topbar .bell{padding:6px; border:0; background:transparent; display:inline-flex; color:var(--ink); border-radius:8px; position:relative;}
.topbar .bell:hover{background:#ffffff90;}
.topbar .bell svg{width:19px; height:19px;}
.topbar .bell .dot{position:absolute; top:5px; right:5px; width:8px; height:8px; border-radius:50%; background:var(--navy); border:1.5px solid var(--shell); color:transparent; font-size:0; padding:0;}
.topbar .primary{background:var(--navy); border-color:var(--navy); color:#fff; font-size:12.5px; padding:10px 15px; border-radius:8px;}
.topbar .primary:hover{background:var(--navy-dark);}
/* Back and forward beside the logo (10 Nov 2026, Max; nav-history.js): the bell's look, first in the bar, the
   breadcrumb straight after them and the bar's own buttons still at its right. Disabled reads as a quiet grey. */
.topbar .topnav{display:flex; align-items:center; gap:2px; flex:none; margin-left:-8px;}
.topbar .header-actions{margin-left:auto;}
.topbar .hist{padding:6px; border:0; background:transparent; display:inline-flex; color:var(--ink); border-radius:8px;}
.topbar .hist:hover:not(:disabled){background:#ffffff90;}
.topbar .hist svg{width:19px; height:19px;}
.topbar .hist:disabled{color:#b6bdc8; cursor:default; background:transparent; transform:none;}
@media (max-width:999.98px){ .topbar .hist{width:40px; height:40px; align-items:center; justify-content:center; padding:0;} }
@media (max-width:650px){ .topbar .topnav{margin-left:-10px; gap:0;} .topbar .hist{width:36px;} }

/* ============ THE PAGE ============
   The white main card. Every screen renders into it; the old page padding,
   width cap and ground are gone. */
#page.page{display:flex; flex-direction:column; gap:26px; padding:34px 36px 28px; border-radius:20px; background:#fff;
  box-shadow:0 0 25px #dfe5ee30; min-height:calc(100vh - 142px); max-width:none; width:auto; margin:0; position:relative;}
#page.page.active{display:flex;}

/* ============ A ROUND 11 SCREEN IN THE CARD ============
   The round 11 inbox (r11/window.js) draws inside the white card, edge to edge,
   and the shell stays as on every page (Matt, 20 Oct 2026). The card keeps its
   place and corners; it loses its padding and runs to the shell's foot (the
   shell's 100vh - 38px less the 62px top bar and 9px of edge), so the
   inbox's own columns scroll. At 860px and below the inbox is one column, and the
   card grows with it as every page's does. */
#page.page.r11-page{padding:0; gap:0; overflow:hidden; height:calc(100vh - 109px); min-height:560px;}
@media (max-width:860px){ #page.page.r11-page{height:auto; min-height:calc(100vh - 142px); overflow:visible;} }

/* A FLOWING round 11 screen (Investments, r11/IMPLEMENT-INVESTMENTS.md §4.1;
   r11/window.js fit 'flow'). The card grows with the page and the document
   scrolls, as on every other page: no padding, its height its content's and
   the normal pages' minimum (on a phone, none, as theirs). overflow:clip, not
   hidden, so the card's rounded corners hold while the document scrolls and
   the card is no scroller: anything sticky inside still sticks to the window. */
#page.page.r11-page.flow{padding:0; gap:0; height:auto; min-height:calc(100vh - 142px); overflow:clip;}
@media (max-width:650px){ #page.page.r11-page.flow{min-height:auto;} }

/* ROOM FOR THE FEEDBACK BUTTON (8 Nov 2026, design sweep). The button floats 18px from the window's foot and is 40px
   tall; at the end of a page the last row (a meeting, a note, the last movement, a transcript's toggle) sat under it on
   a phone, a tablet and a laptop, with no way to scroll it clear. A page that flows ends with room for it; a fixed
   window (Needs you, Ask, Talk on a wide screen) keeps its own columns and is left alone. Padding, not a spacer
   element, so nothing moves as the page's content arrives. */
#page.page:not(.r11-page){padding-bottom:48px;}
#page.page.r11-page.flow{padding-bottom:48px;}
@media (max-width:860px){ #page.page.r11-page:not(.flow){padding-bottom:48px;} }
@media (max-width:650px){ #page.page:not(.r11-page), #page.page.r11-page{padding-bottom:64px;} }

/* ============ TYPE ============ */
.pagehead h1, .greet h1{font-family:var(--sans); font-size:32px; font-weight:400; letter-spacing:-.91px; line-height:1.16; margin:0 0 7px;}
.pagehead p, .greet p{font-size:15px; color:#646e7f; letter-spacing:-.14px; line-height:1.55; max-width:72ch;}
.eyebrow-d{font-size:9px; letter-spacing:2.3px; font-weight:500; color:#6b7380; margin-bottom:14px; text-transform:uppercase;}
.eyebrow{font-size:9px; letter-spacing:2.3px; font-weight:500; color:#6b7380; text-transform:uppercase;}
h2, .h2{font-family:var(--sans); font-weight:450; letter-spacing:-.42px;}
.chead .t{font-family:var(--sans); font-size:17px; font-weight:500; letter-spacing:-.28px;}
.chead .cnt{background:#f1f4f7; color:#5d6879;}
.chead .link{color:var(--navy); font-weight:500; font-size:12px;}
.chead .link:hover{color:var(--navy-dark);}
.grouphead{font-size:9px; letter-spacing:2px; color:#6b7380; font-weight:500;}

/* ============ SURFACES ============ */
.card{border-radius:14px; border:1px solid var(--line); box-shadow:none;}
.btn{border-radius:8px; font-weight:400; font-size:12.5px; padding:10px 15px; border:1px solid #e0e5eb; background:#fff; color:var(--ink);}
.btn:hover{background:#f5f7fa;}
.btn:active{transform:translateY(1px);}
.btn.dark{background:var(--navy); border-color:var(--navy); color:#fff;}
.btn.dark:hover{background:var(--navy-dark);}
.btn.line{background:#fff; border-color:#e0e5eb; color:var(--ink);}
.btn.line:hover{background:#f5f7fa;}
.btn.small{font-size:11.5px; padding:7px 12px;}
/* 8 Nov 2026 (design sweep): a button that cannot be pressed looks it (Back on a run-through's first item, a signature's
   Adopt before anything is drawn, a sign-in on its way looked exactly like ones that could be). */
.btn:disabled, .btn[aria-disabled="true"]{opacity:.45; cursor:default; pointer-events:none;}
.fpill, .fdrop{border-radius:9px; font-weight:400; font-size:11.5px; padding:8px 13px; border:1px solid #e0e5eb; background:#fff; color:var(--ink);}
.fpill.on{background:#181d26; border-color:#181d26; color:#fff;}
.fdrop.has{background:#F3F0E6; border-color:#F3F0E6; color:var(--navy);}
.fclear{color:var(--navy);}
.seg{background:#f1f4f7; border-radius:9px; padding:4px; gap:3px; border:0;}
.seg button{border:0; background:transparent; font-size:11px; padding:8px 12px; border-radius:7px; color:var(--ink); font-weight:400;}
.seg button.on{background:#fff; box-shadow:0 2px 7px #283c5010; color:var(--ink); font-weight:500;}
.crumb.arw{color:var(--navy); font-weight:500; font-size:12px;}
.cardfoot.arw, .cardfoot.arw .chev{color:var(--navy);}
.link.arw{color:var(--navy);}
button.citem:hover, .regrow:hover, button.setrow:hover, .statcell:hover, .logrow:hover, tbody tr:hover{background:var(--hover);}
.cicon{background:#f1f4f7; color:#5d6879; border-radius:8px;}
.cmain .t{font-weight:450; font-size:13px;}
.cmain .s{color:var(--muted);}
.pill, .stagepill, .signchip, .accesschip, .sd-tag2, .chip{border-radius:7px; font-weight:400; font-size:10px; padding:5px 9px; border:1px solid #e8ebf0; background:#f9fafb; color:var(--ink);}
.pill.high{background:#F3F0E6; border-color:#F3F0E6; color:var(--navy);}
.pill.med{background:#fbf1e2; border-color:#fbf1e2; color:#9a6a1f;}
.empty{padding:40px 20px; text-align:center; color:#6b7380; line-height:1.8;}
.empty-t{font-family:var(--sans); font-weight:450; font-size:15px; color:var(--ink);}
.empty-ic{background:#f1f4f7; color:#5d6879;}
.empty-link{color:var(--navy);}
.qmaj .ic{background:#f1f4f7; color:#5d6879;}
.skel{background:#f1f4f7;}
input.sheetinput, textarea.sheetinput, .sheetinput{border:1px solid #dde3eb; border-radius:8px; padding:12px; font-size:13px;}
.sheetinput:focus{outline:2px solid var(--navy); outline-offset:3px; border-color:#dde3eb;}
.sheetlab{color:#748092; letter-spacing:1.4px; font-size:9px;}

/* Sub-tabs used by the wrapper screens (Notes, Activity log) and, later, by
   Ask Kyte, Needs you and Entities: D's underline tabs. */
.subtabs{display:flex; gap:26px; border-bottom:1px solid var(--line); margin-top:-6px;}
.subtabs a{font-size:12.5px; padding:0 2px 12px; color:#646e7f; border-bottom:2px solid transparent; margin-bottom:-1px;}
.subtabs a.on{color:#222634; border-bottom-color:var(--navy);}
.subhost{display:flex; flex-direction:column; gap:26px;}

/* ============ OVERLAYS ============ */
.askpanel{border-radius:18px; border:1px solid #e5e9ef; box-shadow:0 30px 100px #12203625;}
.askwrap .dim{background:#23304740; backdrop-filter:blur(5px);}
.askhead{border-bottom:1px solid var(--line);}
.askhead .ph{font-family:var(--sans);}
.esc{border:1px solid #e0e5eb; border-radius:6px; font-size:10px; background:#fff;}
/* top:auto: kyte.css pins .toast to the top and Concept D's #toast to the bottom;
   with both set every toast stretched the full height of the window (28 Sep). */
.toast{top:auto; background:#171d27; border-radius:10px; font-size:12px; box-shadow:0 10px 30px #1c223022;}
/* Above the panel overlay (.askwrap, z-index 90): a toast confirming a panel's action
   must be readable while the panel is still open. The id beats concept-d's #toast. */
#toast.toast{z-index:120;}
/* 8 Nov 2026 (design sweep): its own width, up to 560px. Centred from left:50%, it could only be half the window wide,
   so a sentence wrapped over four lines on a phone; there it spans the room left of the Feedback button. */
#toast.toast{width:max-content; max-width:min(560px, calc(100vw - 120px));}
/* A change that worked says so with a tick, and one that can be taken back carries Undo (10 Nov 2026, Max: "can there be
   a tick or a little box"). The toast takes no clicks unless it has a button to press. */
#toast.toast.ticked{display:flex; align-items:center; gap:9px;}
#toast.toast .toast-tick{flex:none; color:#8fd4a8;}
#toast.toast.with-undo.show{pointer-events:auto;}
#toast.toast .toast-undo{flex:none; margin-left:6px; padding:4px 8px; border:0; border-radius:6px; background:#ffffff1f; color:#fff; font-size:12px; font-weight:600; cursor:pointer;}
#toast.toast .toast-undo:hover{background:#ffffff33;}
@media (max-width:650px){
  #toast.toast{left:16px; right:72px; width:auto; max-width:none; transform:translateY(15px);}
  #toast.toast.show{transform:none;}
}
.menu{border:1px solid #e5e9ef; border-radius:12px; box-shadow:0 10px 30px #1c223022; background:#fff;}
.mrow{font-size:12.5px; border-radius:8px;}
#fb-btn{border-radius:99px; border:1px solid #e0e5eb; background:#fff; color:var(--ink);}

/* The Inbox board cancels the page gutter; the gutter changed. */
/* The Inbox board (Mail, Needs you) used to cancel the page gutter; inside
   the white card it must sit within it. inbox.css loads after this file, so
   the id carries the weight. The Needs you board scrolls with the page; Mail
   keeps a viewport height for its two panes. */
#page .dd-inbox{margin:0 !important; width:auto !important; height:calc(100vh - 210px); border-radius:0; overflow:hidden; background:transparent;}
#page .dd-inbox.ny{height:auto; overflow:visible;}
#page .dd-inbox.ny .split2, #page .dd-inbox.ny .listcol, #page .dd-inbox.ny .listcard, #page .dd-inbox.ny .listbody{height:auto; max-height:none; overflow:visible; min-height:0;}
#page .dd-inbox .phead{padding-top:0;}

/* ============ SIGN-IN ============ */
.signin-d{min-height:100vh; display:flex; align-items:center; justify-content:center; background:var(--page); padding:24px;}
.signin-d .box{width:100%; max-width:380px; padding:30px 28px 26px; background:#fff; border:1px solid #e5e9ef; border-radius:18px; box-shadow:0 30px 100px #12203612;}
.signin-d .brand{display:flex; flex-direction:column; align-items:flex-start; gap:8px; padding:0; margin-bottom:26px;}
.signin-d .brand img{height:30px; width:auto; display:block;}
.signin-d .brand strong{font-size:25px; font-weight:550; letter-spacing:-.7px; line-height:1;}
.signin-d .brand small{display:block; font-size:8px; letter-spacing:2.6px; margin-top:6px; color:var(--muted);}
.signin-d h1{font-size:22px; font-weight:400; letter-spacing:-.56px; margin:0 0 4px;}
.signin-d p{font-size:13px; color:#646e7f; margin:0 0 18px;}
.signin-d input{width:100%; box-sizing:border-box; margin-bottom:10px; padding:12px; border:1px solid #dde3eb; border-radius:8px; font-size:14px; font-family:inherit; color:var(--ink);}
.signin-d input:focus{outline:2px solid var(--navy); outline-offset:3px;}
.signin-d #si-msg{min-height:18px; font-size:12.5px; color:#b4332f; margin-bottom:10px;}
.signin-d .btn{width:100%; justify-content:center; display:flex; align-items:center; gap:8px;}
.signin-d #si-pk{margin-top:10px; display:none;}
.signin-d #si-pk-err{display:none; margin-top:10px; font-size:12.5px; color:#b4332f;}
/* Sign in with Microsoft (5 Oct 2026): the first button when it is on, the form beneath it. */
.signin-d #si-ms svg{flex:none;}
.signin-d #si-ms-msg{display:none; margin-top:10px; font-size:12.5px; color:#b4332f;}
.signin-d .si-or{display:flex; align-items:center; gap:10px; margin:18px 0 14px; font-size:11.5px; color:#646e7f;}
.signin-d .si-or::before, .signin-d .si-or::after{content:""; flex:1; height:1px; background:#e5e9ef;}

/* ============ RESPONSIVE ============
   The study's own breakpoints (1150, 950, 650) reshape the shell. What the
   hub adds: on a phone the nav becomes the study's horizontal strip, and
   Settings and the account must stay reachable inside it. */
@media (max-width:1150px){ .app.shell{grid-template-columns:190px minmax(0,1fr); margin:10px 10px 10px;} #page.page{padding:28px 24px;} .app.sb-min{grid-template-columns:68px minmax(0,1fr);} }
@media (max-width:650px){
  .app.shell, .app.shell.sb-min{display:block; margin:0; border:0; border-radius:0;}
  .side{padding:10px 12px; display:block; position:static; max-height:none;}
  .side .brand, .search-button, .pinned{display:none;}
  nav.navgrp{display:flex; gap:3px; overflow:auto; padding-bottom:4px;}
  nav.navgrp label.grp{display:none;}
  .it{font-size:11px; gap:6px; padding:9px;}
  /* 8 Nov 2026 (design sweep): a finger needs 40px; the strip's places were 32px tall. */
  nav.navgrp .it, .side .account .it{min-height:40px;}
  .it.active::after{display:none;}
  .side .account{display:flex; gap:3px; padding-top:4px; margin:0;}
  .side .account .acct > span:not(.av){display:none;}
  .workspace.main{padding:0;}
  .topbar{padding:0 18px; height:54px;}
  .local-status{display:none !important;}
  #page.page{border-radius:16px 16px 0 0; padding:25px 20px; min-height:auto;}
  .pagehead h1{font-size:28px;}
  #page .dd-inbox{height:auto;}
}

/* ============ PHASE 3: THE DRAWN PAGES ============ */

/* The sphere icon, identical wherever a microphone stood for Kyte (Matt,
   18 Sep). .orb-ico itself is lifted from the study; these hosts adopt it. */
#page .focus.smart .pb-mic, #page .br-crow .mic3, #page .td-mic, #page .pgd-bar .mic2{
  width:34px; height:34px; border-radius:50%; border:0; padding:0; flex:none; position:relative; cursor:pointer;
  background:radial-gradient(circle at 38% 34%,#8fd6ff 0%,#3a63ff 22%,#0b1a6b 46%,#04071c 70%),radial-gradient(circle at 50% 50%,transparent 60%,#3fd3ff 78%,transparent 82%);
  box-shadow:inset 0 0 0 1px #7fb8ff66,inset -3px -4px 8px #c56bff55,inset 3px 3px 6px #38e0ff66,0 0 10px #4fb7ff40; color:transparent;}
#page .focus.smart .pb-mic::before, #page .focus.smart .pb-mic::after{display:none;}
#page .focus.smart .pb-mic svg, #page .br-crow .mic3 svg, #page .td-mic svg, #page .pgd-bar .mic2 svg{display:none;}
#page .focus.smart .pb-mic.on, #page .br-crow .mic3.on, #page .td-mic.on, #page .pgd-bar .mic2.rec{box-shadow:inset 0 0 0 1px #7fb8ff99,0 0 0 4px #4fb7ff33,0 0 18px #4fb7ff80; animation:kyte-pulse 1.6s ease-in-out infinite;}
.citem .orb-ico{width:34px; height:34px;}

/* Home: the glass Smart Box. The lifted .focus draws the glass; these rules
   dress the hub's Smart Box parts in it. */
.sb-panel.focus.smart{padding:24px 26px 22px; border-radius:16px; min-height:0;}
.sb-panel.focus.smart > *{position:relative; z-index:1;}
.sb-panel.focus.smart .eyebrow{color:#8f9bc4;}
.sb-panel.focus.smart h2{color:#fff; font-size:26px; font-weight:400; letter-spacing:-.56px; margin:0 0 8px;}
.sb-panel.focus.smart > p{color:#aab4d6; font-size:13px; max-width:70ch; margin:0;}
.sb-panel.focus.smart .focus-actions{margin-top:14px;}
.sb-panel.focus.smart .focus-actions .go{background:#fff; color:#0d1020; border:0; border-radius:9px; font-size:11.5px; padding:9px 13px; cursor:pointer;}
.sb-panel.focus.smart .pb{margin-top:18px; background:#ffffff10; border:1px solid #ffffff22; border-radius:14px; padding:8px 8px 8px 12px; min-height:52px; backdrop-filter:blur(6px); box-shadow:none;}
.sb-panel.focus.smart .pb-in{color:#fff; font-size:13px;}
.sb-panel.focus.smart .pb-in::placeholder{color:#9aa6d6;}
.sb-panel.focus.smart .pb-send{background:#fff; color:#0d1020; width:38px; height:38px;}
.sb-panel.focus.smart .pb-send:hover{background:#e9eefc;}
.sb-panel.focus.smart .sb-hint{background:#ffffff0d; border:1px solid #ffffff14; margin-top:10px;}
.sb-panel.focus.smart .sb-hint .txt{color:#c9d2ee;}
.sb-panel.focus.smart .sb-tag.ask{background:#ffffff1a; color:#c9d2ee;}
.sb-panel.focus.smart .sb-tag.write{background:#fff; color:#0d1020;}
.sb-panel.focus.smart .sb-chips{margin-top:12px; gap:8px;}
.sb-panel.focus.smart .sb-chip{background:#ffffff0d; border:1px solid #ffffff1c; color:#c9d2ee; font-size:11.5px; font-weight:400; padding:8px 12px; border-radius:9px;}
.sb-panel.focus.smart .sb-chip:hover{background:#ffffff1a; border-color:#ffffff33;}
.sb-panel.focus.smart .sb-chip svg{color:#9aa6d6;}
.sb-panel.focus.smart .sb-response{color:#fff;}
.sb-panel.focus.smart .sb-ans{background:#ffffff0d; border-color:#ffffff14; color:#e6eaf7;}
.sb-panel.focus.smart .sb-ans p, .sb-panel.focus.smart .think{color:#e6eaf7;}
.sb-panel.focus.smart .sb-done{background:#ffffff0d; border:1px solid #ffffff14;}
.sb-panel.focus.smart .sb-done .t{color:#fff;} .sb-panel.focus.smart .sb-done .s{color:#aab4d6;}
.sb-panel.focus.smart .sb-srcchip, .sb-panel.focus.smart .fup{background:#ffffff14; color:#e6eaf7; border-color:#ffffff22;}
.sb-panel.focus.smart .sb-reset{color:#aab4d6;}
.sb-panel.focus.smart .sb-reset:hover{color:#fff;}
.sd-bottom.one{grid-template-columns:1fr;}

/* Capture and the Assistant: the dark studio. */
.capwrap .title-row{margin-top:-4px;}
.capwrap .title-row h1{font-size:32px; letter-spacing:-.91px;}
.capwrap .scope-switch{align-self:center;}
.capture-layout{margin-top:22px;}
.capstage.capture-studio{padding:22px 28px 26px; border:1px solid #171b2e; display:flex; flex-direction:column; align-items:center;}
.capstage.capture-studio .studio-top{width:100%; margin-bottom:22px;}
.capstage.capture-studio .studio-modes{background:#ffffff0d; border:1px solid #ffffff19; padding:3px;}
.capstage.capture-studio .studio-modes button{color:#aab4d6; background:transparent; font-size:10.5px; padding:7px 14px;}
.capstage.capture-studio .studio-modes button.on{background:#fff; color:#0d1020; box-shadow:none;}
.capstage.capture-studio #cap-head h2{font-size:27px; font-weight:400; letter-spacing:-.7px; color:#fff; margin:0;}
.capstage.capture-studio #cap-head .d, .capstage.capture-studio #cap-head p{color:#98a3c9; font-size:12.5px; margin:10px 0 0;}
.capstage.capture-studio .mic-stage{margin:10px 0 2px;}
.capstage.capture-studio .orb{width:230px; height:230px;}
.capstage.capture-studio .capture-mic, .as-orb .capture-mic{position:absolute; inset:0; width:100%; height:100%; border-radius:50%; background:transparent; border:0; box-shadow:none; color:#fff; display:grid; place-items:center; cursor:pointer; animation:none !important;}
.capstage.capture-studio .capture-mic svg{filter:drop-shadow(0 0 12px #4fb7ffa0);}
.capstage.capture-studio .capture-mic.rec svg{opacity:0;}
.capstage.capture-studio .capture-mic.rec::after{content:''; width:19px; height:19px; border-radius:4px; background:#fff; box-shadow:0 0 16px #5ac8ff90;}
.capstage.capture-studio .captime{color:#fff; font-size:22px; letter-spacing:-.35px; margin-top:6px;}
.capstage.capture-studio .capstate{color:#c9d2ee; font-weight:400; font-size:12px;}
.capstage.capture-studio .caphint{color:#7f8ab0;}
.capstage.capture-studio .studio-controls{margin-top:12px;}
.capstage.capture-studio .studio-controls .btn{background:transparent; color:#c9d2ee; border:0; font-size:11px;}
.capstage.capture-studio .studio-controls .btn:hover{color:#fff; background:#ffffff0d;}
.capstage.capture-studio .capfiled{width:100%; text-align:left; margin-top:14px; color:var(--ink);}
.capwrap .capnote.footnote{font-size:10.5px; color:#6b7380; margin:14px 0 0;}
.capture-rail .section-head{margin:8px 0 22px;}
.capture-rail h2{font-size:18px; line-height:1.45; max-width:230px;}
.caprecent{margin-top:34px;}
.as-stage.capture-studio{padding:26px 28px 22px; text-align:center; gap:10px;}
.as-orb{position:relative; width:200px; height:200px; margin:6px auto 0;}
.as-orb .as-ring .in svg{width:26px; height:26px; filter:drop-shadow(0 0 12px #4fb7ffa0); opacity:1;}
.as-orb .as-ring .halo{display:none;}
.as-orb .as-ring.is-listening, .as-orb .as-ring.is-thinking{background:transparent; box-shadow:none;}
.as-ringlab{color:#fff; font-size:13px; font-weight:500; margin-top:2px;}
.as-stage.capture-studio .as-state{color:#c9d2ee;}
.as-stage.capture-studio .as-state.on{color:#8fd19e;}
.as-stage.capture-studio .as-state.warn{color:#f0b76a;}
.as-stage.capture-studio .as-kbd{color:#7f8ab0;}
.as-stage.capture-studio .as-kbd kbd{background:#ffffff14; border-color:#ffffff22; color:#c9d2ee;}
.as-stage.capture-studio .as-live{color:#e6eaf7;}
.as-stage.capture-studio .as-wave i{background:#8fb8ff8c;}
.as-stage.capture-studio .lv-state, .as-stage.capture-studio .lv-cost{color:#c9d2ee;}





#page .capwrap{max-width:none; text-align:left;}
#page .capture-rail{text-align:left;}
#page .capture-rail .capture-step{text-align:left;}
/* 8 Nov 2026 (design sweep): the study's lighter step greys were 3:1 on white; the tertiary grey passes AA. */
#page .capture-step p, #page .capture-rail > p, #page .capture-step > span{color:#6b7380;}

/* Phone: the sidebar is the study's horizontal strip, labels showing, the
   account row beside it. The narrow-screen .sb-min default must not hide
   the words here, because there is no rail to collapse into. */
@media (max-width:650px){
  .app.shell.sb-min .side{padding:10px 12px;}
  .app.shell.sb-min nav.navgrp{display:flex; flex-wrap:nowrap; gap:3px; overflow-x:auto; overflow-y:hidden; padding-bottom:4px; -webkit-overflow-scrolling:touch;}
  .app.shell.sb-min .it{justify-content:flex-start; padding:8px 10px; gap:6px; font-size:11px; flex:none;}
  .app.shell.sb-min .it span{display:inline;}
  .app.shell.sb-min .it svg{width:16px; height:16px;}
  .app.shell.sb-min .navcount{display:grid; margin-left:2px;}
  .app.shell.sb-min .side .account{display:flex; align-items:center; gap:3px; padding:6px 0 0; margin:0;}
  .app.shell.sb-min .side .account .it{flex:none;}
  .app.shell.sb-min .side .account .drop{margin-left:auto;}
  .app.shell.sb-min .side .account .acct{padding:4px;}
  .app.shell.sb-min .side .account .acct .av{width:28px; height:28px;}
  .app.shell.sb-min .side .account .menu{left:auto; right:0; width:220px;}
  .app.shell.sb-min .pinned, .app.shell.sb-min .search-button, .app.shell.sb-min .side .brand{display:none;}
  #page .stats{grid-template-columns:1fr;}
  #page .stat{padding:8px 0; border-left:0; border-top:1px solid var(--line);}
  #page .stat:first-child{border-top:0;}
  #page .rechead.d .rec-main h1{font-size:28px;}
  .sb-panel.focus.smart h2{font-size:22px;}
  .capstage.capture-studio .orb{width:190px; height:190px;}
}
@media (max-width:650px){
  /* kyte.css's collapsed-rail width (.app.sb-min .side) outranked the strip. */
  .app.shell.sb-min .side, .app.shell .side{width:auto; max-width:none; height:auto; max-height:none; overflow:visible; display:block;}
  .app.shell.sb-min .it{height:auto;}
}
@media (max-width:650px){
  .app.shell.sb-min .it, .app.shell .it{width:auto; flex:none;}
  .app.shell.sb-min nav.navgrp, .app.shell nav.navgrp{display:flex; min-width:0; max-width:100%; overflow-x:auto; overflow-y:hidden;}
}

/* ============ THE STUDY'S PAGE LAYOUTS (18 Sep, second pass) ============
   Matt: the pages kept the hub's composition in new clothes. These rules
   carry the study's own layouts (columns, rail, action rows, detail list,
   document rows, people grid) onto the hub's controls. */
.topbar.home #breadcrumb{display:flex;}
.topbar.home .topgreet{display:none;}
#page .title-row{align-items:flex-start;}
#page .title-row h1{font-family:var(--sans); font-size:39px; letter-spacing:-1.26px; font-weight:400; margin:0 0 7px; line-height:1.16;}
#page .title-row .subtitle{font-size:18px; color:#646e7f; margin:0; letter-spacing:-.28px;}
#page .columns{margin-top:29px;}
#page .section-head{margin:27px 0 16px;}
#page .section-head h2{font-size:20px; font-weight:450; letter-spacing:-.42px; margin:0; display:flex; align-items:center; gap:10px;}
#page .section-head h2 .badge{font-weight:400;}
#page .section-head .small-head{font-size:12px;}
#page .section-head.sub{margin:6px 0 4px;}
#page .section-head .h2.quiet{font-size:13px; color:#646e7f;}
#page .text-button{border:0; background:transparent; color:#646e7f; font-size:11px; padding:5px 0; cursor:pointer; font-family:inherit;}
#page .text-button:hover{color:var(--navy); background:transparent;}
#page .badge{font-size:10px; padding:5px 9px; border:1px solid #e8ebf0; border-radius:7px; white-space:nowrap; background:#f9fafb; font-weight:400; display:inline-block; color:var(--ink); margin-left:0; min-width:0; height:auto; line-height:1.3; font-style:normal;}
#page .badge.rose{border:0; background:#F3F0E6; color:var(--navy);}
#page .badge.sage{border:0; background:#e5ede2; color:#3c5a43;}
#page .action-row{display:flex; align-items:center; gap:15px; padding:16px 0; border-top:1px solid var(--line); width:100%; border-radius:0; border-left:0; border-right:0; border-bottom:0; background:transparent; text-align:left; min-height:66px; font-family:inherit; color:inherit; cursor:pointer;}
#page .action-row:first-of-type{border-top:0;}
#page .action-row:hover{background:#f8f9fb;}
#page .action-row .tile{display:grid; place-items:center; width:38px; height:38px; border-radius:8px; background:#f1f4f7; flex-shrink:0; color:#5d6879; font-size:12px; font-weight:500;}
#page .row-copy{flex:1; min-width:0;}
#page .row-copy strong{font-size:12.5px; font-weight:450; display:block;}
#page .row-copy small{font-size:11px; display:block; margin-top:6px; line-height:1.5; color:var(--muted);}
#page .recent-links{display:flex; gap:12px; flex-wrap:wrap;}
#page .recent-links a{flex:1; display:flex; align-items:center; gap:10px; font-size:11px; padding:11px; border:1px solid var(--line); border-radius:9px; color:var(--ink); min-width:150px; cursor:pointer;}
#page .recent-links a:hover{background:#f7f8fa;}
#page .recent-links a .tile{width:34px; height:34px; border-radius:8px; background:#f1f4f7; display:grid; place-items:center; color:#5d6879; flex:none;}
#page .recent-links small{display:block; font-size:9px; margin-top:6px; color:var(--muted);}
#page .rail h2{font-size:18px; font-weight:450; letter-spacing:-.35px; margin:0;}
#page .rail section+section{margin-top:28px; padding-top:25px; border-top:1px solid var(--line);}
#page .rail .section-head{margin:0 0 14px;}
#page .rail .rail-sub{display:block; margin:10px 0 22px; color:var(--muted); font-size:12px;}
#page .rail .rail-foot{display:block; font-size:10px; color:var(--muted);}
#page .rail .rail-empty{font-size:11.5px; color:var(--muted); line-height:1.7; margin:10px 0 0;}
#page .rail .detail-list{margin:18px 0 0;}
#page .rail .detail-list dd .quiet{color:var(--muted);}
#page .rail .detail-list dd .link{background:none; border:0; padding:0; margin-left:8px; font:inherit; font-size:11px; color:var(--navy); cursor:pointer;}
#page .rail .update{display:flex; gap:14px; margin-top:20px; font-size:12px; line-height:1.7; color:var(--ink); background:transparent; border:0; padding:0; width:100%; text-align:left; font-family:inherit; cursor:pointer;}
#page .rail .update small{display:block; font-size:11px; color:var(--muted);}
#page .rail .update .avatar{display:inline-grid; place-items:center; border-radius:50%; width:32px; height:32px; background:#edf0f4; font-size:10px; flex-shrink:0; color:var(--ink);}
#page .rail .update.cap .orb-ico{margin:2px 5px 0;}
#page .rail .week{margin:18px 0 20px;}
#page .rail .timeline .event{padding-bottom:22px;}
#page .rail .timeline .event:last-child{padding-bottom:4px;}
#page .rail .timeline.cash .event{display:block;}
#page .rail .timeline.cash strong.quiet{font-size:12px; font-weight:450; letter-spacing:0;}
#page .rail .rail-rows .logrow{padding:10px 0; border-bottom:1px solid var(--line); font-size:12px; background:transparent;}
#page .rail #sd-activity .sd-timeline{margin-top:6px;}
#page .rail #sd-activity .sd-trow{padding:12px 0; font-size:12px;}
#page .rail .sd-pipe{margin-top:12px;}
#page .rail .sd-note{font-size:11px; color:var(--muted); line-height:1.7;}
#page .rail .sd-loadmore{font-size:11px; color:var(--navy); background:none; border:0; padding:10px 0; cursor:pointer;}
#page .position{font-size:13px; line-height:1.8; color:#646e7f;}
#page .position p{margin:0; color:var(--ink);}
#page .position .poswhy{margin-top:8px; font-size:12px;}
#page .logtable.plain .logrow{padding:13px 0; border-bottom:1px solid var(--line); background:transparent;}
#page .logtable.plain .logrow:last-child{border-bottom:0;}
#page .logtable.plain .composer{padding:0 0 14px; margin-bottom:6px; border-bottom:1px solid var(--line);}
#page .documents .paper.document{display:flex; gap:16px; align-items:center; border-bottom:1px solid var(--line); padding:18px 0; width:100%; background:transparent; border-left:0; border-right:0; border-top:0; text-align:left; font-family:inherit; color:inherit; cursor:pointer;}
#page .documents .paper.document:hover{background:#f8f9fb;}
#page .documents .paper.document .tile{width:38px; height:38px; border-radius:8px; background:#f1f4f7; display:grid; place-items:center; color:#5d6879; flex:none;}
#page .documents .paper.document .s{font-size:11px; color:var(--muted); white-space:nowrap;}
#page .documents .grouphead{padding:18px 0 4px;}
#page .people-grid{display:grid; grid-template-columns:repeat(2,1fr); gap:16px; margin-top:22px;}
#page .people-grid .person{padding:16px 18px; border:1px solid var(--line); border-radius:10px; display:flex; align-items:center; gap:13px; background:#fff; text-align:left; font-family:inherit; color:inherit; cursor:pointer; width:100%;}
#page .people-grid .person:hover{background:#f8f9fb;}
#page .people-grid .person .avatar{display:inline-grid; place-items:center; border-radius:50%; width:32px; height:32px; background:#edf0f4; font-size:10px; flex-shrink:0; color:var(--ink);}
#page .people-grid .person .pp-reach{font-size:11px; color:var(--muted); white-space:nowrap;}
#page .people-grid .pp-letter{grid-column:1/-1; position:static; padding:12px 0 0; font-size:9px; letter-spacing:2px; color:#6b7380; background:transparent; border:0;}
#page .pp-head{padding:0; margin:22px 0 4px;}
#page .pp-head .t{font-family:var(--sans); font-size:20px; font-weight:450; letter-spacing:-.42px;}
#page .pp-head .cnt{background:#f1f4f7; color:#5d6879;}
#page .pp-search{background:#fff; border:1px solid #dde3eb; border-radius:8px; padding:0 12px; min-height:44px;}
#page .pp-foot{padding:16px 0 0;}
#page .pp-note{padding:12px 0 0; font-size:11px; color:var(--muted);}
#page .filters button.selected{background:#181d26; color:#fff; border-color:#181d26;}
@media (max-width:1150px){ #page .columns{grid-template-columns:minmax(0,1.8fr) minmax(220px,1fr); gap:22px;} #page .title-row h1{font-size:34px;} #page .title-row .subtitle{font-size:15px;} }
@media (max-width:950px){ #page .columns{grid-template-columns:1fr;} #page .rail{display:grid; grid-template-columns:1fr 1fr; gap:25px;} #page .rail section+section{margin:0; padding:0; border:0;} }
@media (max-width:650px){ #page .rail{display:block;} #page .rail section+section{margin-top:25px; padding-top:22px; border-top:1px solid var(--line);} #page .people-grid{grid-template-columns:1fr;} #page .title-row{display:block;} #page .title-row h1{font-size:30px;} }
/* The stats strip keeps the study's gap under it; the rail's activity feed
   stacks date over text rather than using the full-width grid. */
#page .stats{margin:0 0 22px;}
#page .rail #sd-activity .sd-trow{display:grid; grid-template-columns:minmax(0,1fr) auto; gap:4px 10px; align-items:start; padding:12px 0; border-bottom:1px solid var(--line);}
#page .rail #sd-activity .sd-trow .sd-time{grid-column:1/-1; font-size:10px; color:var(--muted); letter-spacing:.4px;}
#page .rail #sd-activity .sd-trow .sd-nodecol{display:none;}
#page .rail #sd-activity .sd-trow .sd-desc{font-size:12px; line-height:1.55;}
#page .rail #sd-activity .sd-trow .sd-tag2{align-self:start;}
#page .rail #sd-activity .sd-timeline{border:0; margin:0; padding:0;}
#page .rail #sd-activity .sd-timeline::before{display:none;}
#page .section-head.sub .badge{margin-left:auto;}
#page .rail .section-head.sd-actbar{padding:0; margin:0 0 6px;}
#page .rail .timeline .event time{min-width:54px; color:#6b7380;}

/* ============ ELEMENT-BY-ELEMENT PASS (18 Sep, third pass) ============
   Compared against the study side by side. The study's classes (lifted in
   concept-d.css) do the drawing; these rules put the hub's controls into
   them and out-rank the hub's own structural rules with #page. */

/* Masthead: the study's title-row. */
#page .rechead.d{display:flex; justify-content:space-between; gap:20px; align-items:flex-start; margin:0; flex-wrap:wrap;}
#page .rechead.d .record-title{display:flex; gap:17px; align-items:center; flex-wrap:wrap;}
#page .rechead.d .record-title h1{font-family:var(--sans); font-size:39px; letter-spacing:-1.26px; font-weight:400; margin:0; line-height:1.16;}
#page .rechead.d .record-subtitle{font-size:14px; margin:11px 0 0; color:#646e7f; letter-spacing:-.14px;}
#page .rechead.d .rec-side{padding-top:8px;}
#page .rechead.d .reccap{display:flex; align-items:center; gap:14px;}
#page .rechead.d .reccap .btn{font-size:11px; padding:10px 14px;}
#page .rechead.d .reccap .recdot{display:inline-block; width:6px; height:6px; border-radius:50%; background:var(--navy); margin-right:5px; vertical-align:middle;}
#page .rechead.d .reccap .text-button{font-size:11px;}
#page .actions{display:flex; gap:10px; margin-top:16px; align-items:center; flex-wrap:wrap;}
#page .actions .btn{font-size:11px; padding:10px 14px;}
#page .actions .accesschip{margin-left:auto; border:0; background:transparent; color:#6b7380; font-size:10px; padding:6px 0;}
#page .actions .accesschip:hover{color:var(--ink); background:transparent;}
#page .actions .accesschip svg{width:11px; height:11px;}
#page .stagepill{font-size:10px; padding:5px 9px; border:1px solid #e8ebf0; border-radius:7px; background:#f9fafb; font-weight:400;}

/* Tabs: the study's underline row. Buttons here, links in the study. */
#page .tabs.record-tabs{display:flex; gap:26px; border-bottom:1px solid var(--line); margin-top:26px; padding:0;}
#page .tabs.record-tabs button{font-family:inherit; font-size:12px; padding:0 2px 14px; color:#646e7f; background:none; border:0; border-bottom:2px solid transparent; margin-bottom:-1px; border-radius:0; cursor:pointer; display:inline-flex; align-items:center; box-shadow:none; height:auto; line-height:1.4;}
#page .tabs.record-tabs button.on{color:#222634; border-bottom-color:var(--navy); background:none; font-weight:400;}
#page .tabs.record-tabs button:hover{background:none; color:#222634;}
#page .tabpanel{gap:0 !important;}

/* Overview */
#page .record-columns{margin-top:22px;}
#page .stats{display:grid; grid-template-columns:repeat(3,1fr); margin:0 0 20px;}
#page .stat{padding:0 25px; border-left:1px solid var(--line);}
#page .stat:first-child{padding-left:0; border-left:0;}
#page .stat label{font-size:11px; color:#646e7f; display:block;}
#page .stat strong{font-size:32px; font-weight:400; letter-spacing:-1.05px; display:block; margin-top:9px;}
#page .stat small{font-size:9px; display:block; margin-top:4px; color:var(--muted);}
#page .focus.record-next{padding:27px 27px 25px; min-height:0; border-radius:12px;}
#page .focus.record-next .eyebrow{color:#8f9bc4; font-size:9px; margin-bottom:16px;}
#page .focus.record-next h2{font-size:27px; font-weight:400; letter-spacing:-.56px; margin:0 0 9px; color:#fff;}
#page .focus.record-next p{font-size:13px; color:#aab4d6; max-width:85%; line-height:1.6; margin:0;}
#page .focus.record-next .focus-actions{margin-top:23px; gap:22px;}
#page .focus.record-next .focus-actions button{font-size:11px; padding:10px 14px; background:#fff; color:#0d1020; border:0; border-radius:8px; cursor:pointer;}
#page .focus.record-next .focus-actions .ghost{background:transparent; color:#c9d2ee; padding-left:0;}
#page .needs-section{margin-top:22px; border:1px solid #e6e1d3; border-radius:10px; padding:0 18px 10px; background:#fff;}
#page .needs-section .section-head{margin:17px 0 8px;}
#page .needs-section h2{font-size:16px;}
#page .need-row{display:flex; justify-content:space-between; align-items:center; gap:15px; padding:15px 0; border-top:1px solid var(--line);}
#page .need-row > div:first-child{flex:1; min-width:0;}
#page .need-row strong, #page .expectation-row strong{display:block; font-size:12px; font-weight:450; line-height:1.6;}
#page .need-row small, #page .expectation-row small{display:block; font-size:10px; margin-top:6px; color:var(--muted);}
#page .need-row small a{color:var(--navy);}
#page .row-actions{display:flex; gap:9px; align-items:center; flex:none;}
#page .row-actions .btn, #page .row-actions .text-button{font-size:10px; padding:7px 9px; white-space:nowrap;}
#page .expectation-row{display:flex; align-items:center; gap:12px; border-top:1px solid var(--line); padding:15px 0;}
#page .expectation-row > div{flex:1;}
#page .section-head small.muted{font-size:11px; color:var(--muted);}
#page .position{font-size:12px; line-height:1.8; color:#646e7f;}
#page .position p{margin:0; color:#646e7f;}
#page .position .poswhy{margin-top:6px; font-size:11px;}
#page .action-row{min-height:0; padding:16px 0;}
#page .action-row .row-copy strong{font-size:12.5px;}
#page .action-row .row-copy small{font-size:11px; margin-top:6px;}
#page .action-row > small.muted{font-size:10px; color:var(--muted); white-space:nowrap;}
#page .action-row .avatar{display:inline-grid; place-items:center; border-radius:50%; width:32px; height:32px; background:#edf0f4; font-size:10px; flex-shrink:0;}
#page .recent-links{margin-top:16px;}
#page .rail .detail-list{display:grid; grid-template-columns:100px 1fr; gap:17px 9px; font-size:11px; margin:21px 0;}
#page .rail .detail-list dt{color:#6b7380;}
#page .rail .detail-list dd{margin:0;}
#page .rail .detail-list .avatar{width:23px; height:23px; font-size:8px; margin-right:6px; display:inline-grid; place-items:center; border-radius:50%; vertical-align:middle;}
#page .rail .update.person-row{margin-top:14px; font-size:11px;}
#page .rail .update.person-row small{font-size:9px; margin-top:4px;}
#page .rail #rec-notes .page-card{display:none;}
#page .rail #rec-notes .pages-grid{display:block;}
#page .rail #rec-notes .logrow{display:block; padding:9px 0; border-bottom:1px solid var(--line); font-size:12px; background:transparent; border-left:0; border-right:0; border-top:0; width:100%; text-align:left; font-family:inherit; color:inherit; cursor:pointer;}
#page .rail #rec-notes .empty{padding:14px 0; text-align:left;}
#page .rail #rec-notes .empty .empty-ic{display:none;}
#page .rail #rec-notes .empty-t{font-size:12.5px;}

/* Comms: the study's two columns, feed and boxed composer. */
#page .comms-layout{display:grid; grid-template-columns:minmax(0,1.6fr) minmax(290px,1fr); gap:32px; margin-top:24px;}
#page .feed-period{font-size:9px; letter-spacing:1.2px; text-transform:uppercase; color:#8e98a6; margin:24px 0 10px;}
#page .feed-period:first-child{margin-top:0;}
#page .comm-item{display:flex; gap:13px; width:100%; padding:21px 0; border:0; border-top:1px solid var(--line); border-radius:0; text-align:left; background:#fff; align-items:flex-start; font-family:inherit; color:inherit; cursor:pointer; min-height:0;}
#page .comm-item:hover{background:#f8f9fb;}
#page .comm-item .avatar{display:inline-grid; place-items:center; border-radius:50%; width:32px; height:32px; background:#edf0f4; font-size:10px; flex-shrink:0;}
#page .comm-item .avatar.navy{background:var(--navy); color:#fff;}
#page .comm-item .row-copy{flex:1; min-width:0;}
#page .comm-item .comm-meta{font-size:10px; display:flex; justify-content:space-between; margin-bottom:9px; gap:12px; color:var(--ink);}
#page .comm-item .comm-meta small{color:var(--muted); font-size:10px;}
#page .comm-item .row-copy strong{font-size:13px; font-weight:450; display:block;}
#page .comm-item p{font-size:12px; line-height:1.8; color:#7e8898; margin:9px 0 12px;}
#page .comm-item .badge{margin-top:2px;}
#page .comm-item .go{color:var(--ink); font-size:12px; margin-top:16px;}
#page .comms-feed .comm-item:first-of-type{border-top:0;}
#page .comms-feed + .footnote{margin-top:14px;}
#page .composer{border:1px solid #e3e7ed; padding:18px; border-radius:13px; background:#fafbfd; position:sticky; top:20px;}
#page .composer .chd{margin-bottom:12px;}
#page .composer .seg.sm{display:inline-flex; gap:9px; background:transparent; padding:0;}
#page .composer .seg.sm button{font-size:11px; padding:7px 13px; border:1px solid #e0e5eb; border-radius:8px; background:#fff; color:var(--ink);}
#page .composer .seg.sm button.on{background:#181d26; color:#fff; border-color:#181d26; box-shadow:none;}
#page .composer .composerinputs{position:relative;}
#page .composer textarea.sheetinput{width:100%; border:0; background:transparent; resize:vertical; font-size:12px; line-height:1.9; min-height:130px; padding:5px; box-shadow:none;}
#page .composer textarea.sheetinput:focus{outline:none;}
#page .composer .mentionbtn{position:absolute; right:4px; top:4px; width:28px; height:28px; border-radius:6px; border:1px solid #e5e9ef; background:#fff; font-size:11px; color:#8b94a2; cursor:pointer;}
#page .composer .mentionrow{display:flex; flex-wrap:wrap; gap:8px; margin-top:8px;}
#page .composer .mentionchip{font-size:10px; background:#fff; border:1px solid #e5e9ef; padding:6px 8px; border-radius:6px;}
#page .composer .composerfoot{display:flex; align-items:center; gap:12px; justify-content:space-between; border-top:1px solid var(--line); padding-top:15px; margin-top:17px;}
#page .composer .composerfoot .note{font-size:9px; line-height:1.7; max-width:170px; color:var(--muted);}
#page .composer .composerfoot .btn{font-size:11px; white-space:nowrap; background:var(--navy); border-color:var(--navy); color:#fff;}
#page .composer .kindlab{font-size:11px; color:var(--muted); display:flex; align-items:center; gap:6px;}

/* Files: signing strip, tools, file rows. */
#page .signing-strip{display:flex; align-items:center; gap:16px; background:#f9f7f1; border:1px solid #e6e1d3; border-radius:12px; padding:20px; margin-top:4px;}
#page .signing-strip + .signing-strip{margin-top:10px;}
#page .signing-strip .row-copy{min-width:180px; flex:1;}
#page .signing-strip .btn{font-size:11px;}
#page .table-tools{display:flex; gap:12px; margin:24px 0;}
#page .table-tools input{flex:1; min-width:150px;}
#page .table-tools input, #page .table-tools select, #page .table-tools .fdrop{padding:12px; border:1px solid #dde3eb; border-radius:8px; background:#fff; color:var(--ink); font:inherit; font-size:13px;}
#page .table-tools .fdrop{font-weight:400; display:inline-flex; align-items:center; gap:7px;}
#page .table-tools .fdrop.has{background:#F3F0E6; border-color:#F3F0E6; color:var(--navy);}
#page .table-tools .fclear{font-size:11px; color:var(--navy); background:none; border:0;}
#page .file-row{display:flex; width:100%; align-items:center; gap:16px; text-align:left; border:0; border-top:1px solid var(--line); border-radius:0; padding:18px 5px; background:#fff; font-family:inherit; color:inherit; cursor:pointer; min-height:0;}
#page .file-row:hover{background:#f8f9fb;}
#page #file-list .file-row:first-child{border-top:0;}
#page .file-row .row-copy{min-width:180px; flex:1; overflow-wrap:anywhere;}
#page .file-row .row-copy strong{font-size:12.5px; font-weight:450; display:block;}
#page .file-row small{font-size:10px; color:var(--muted);}
#page .file-row .row-copy small{display:block; margin-top:6px;}
#page .file-row .text-button{font-size:10px; white-space:nowrap;}
#page .file-row .go{color:var(--ink);}

/* Pages and People */
#page .pages-grid{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px;}
#page .page-card{text-align:left; min-height:210px; padding:22px; background:#fcfdfe; border:1px solid var(--line); border-radius:10px; font-family:inherit; color:inherit; cursor:pointer; display:block;}
#page .page-card h3{font-size:17px; font-weight:450; letter-spacing:-.35px; margin:20px 0 10px;}
#page .page-card small{font-size:10px; color:var(--muted);}
#page .notebook-empty{padding:65px 25px; text-align:center; display:grid; justify-items:center; gap:18px;}
#page .notebook-empty h2{font-size:27px;}
#page .notebook-empty p{font-size:13px; line-height:1.9; color:#8490a0; margin:0;}
#page .people-grid .person .go{color:var(--ink);}
#page .section-head > div > .footnote{margin-top:6px;}

/* Home */
#page .home-columns .sd-prow .badge{margin-left:auto;}
#page .rail .update{margin-top:23px; align-items:flex-start;}
#page .rail .update .sd-ico{display:grid; place-items:center; width:18px; height:18px; color:#5d6879; flex:none; margin-top:2px;}
#page .rail .update .sd-ico svg{width:15px; height:15px;}
#page .rail .update .sd-desc{font-size:12px; line-height:1.7;}
#page .rail .update .sd-desc small{display:block; font-size:11px; color:var(--muted);}
#page .rail .update.sub{margin-top:10px; margin-left:32px;}
#page .rail .sd-count, #page .rail .sd-expand{font-size:10px; margin-left:6px;}
#page .rail .sd-expand{color:var(--navy); background:none; border:0; cursor:pointer;}
#page .sb-panel.focus.smart .pb{flex-wrap:nowrap; align-items:center; gap:10px;}
#page .sb-panel.focus.smart .pb-mic{order:0; width:26px; height:26px;}
#page .sb-panel.focus.smart .pb-in{order:1; flex:1 1 auto; min-height:0;}
#page .sb-panel.focus.smart .pb-send{order:2; width:30px; height:30px; margin:0;}
#page .sb-panel.focus.smart .sb-hint{margin-top:8px; padding:6px 0 0; background:transparent; border:0;}
#page .sb-panel.focus.smart .sb-hint .txt{font-size:11px;}
#page .sb-panel.focus.smart .sb-tag{font-size:9px; letter-spacing:1.4px; text-transform:uppercase;}

/* Register: the study's table. */
#page #reg-head h1{font-family:var(--sans); font-size:39px; letter-spacing:-1.26px; font-weight:400; margin:0 0 7px;}
#page #reg-head p{font-size:15px; color:#646e7f; margin:0; letter-spacing:-.21px; max-width:70ch;}
#page .regfilters{display:flex; align-items:center; gap:14px; margin:0 0 4px; flex-wrap:wrap;}
#page .regfilters .seg{display:inline-flex;}
#page .regfilters .lanes{display:inline-flex; gap:8px; flex-wrap:wrap;}
#page .table-wrap{overflow:auto; margin-top:8px;}
#page .reghead{display:grid; grid-template-columns:minmax(0,2fr) 120px minmax(0,1.4fr) 150px 120px 24px; gap:14px; align-items:center; padding:13px 14px; border-bottom:1px solid var(--line); position:static;}
#page .reghead .rh-n, #page .reghead .rh-c, #page .reghead .rh-s{font-size:9px; letter-spacing:1px; text-transform:uppercase; color:#6b7380; font-weight:500; text-align:left; font-family:inherit; background:none; border:0; padding:0; cursor:pointer; width:auto; justify-content:flex-start;}
#page .reghead .rh-status{display:none;}
#page .regrow{display:grid; grid-template-columns:minmax(0,2fr) 120px minmax(0,1.4fr) 150px 120px 24px; gap:14px; align-items:center; padding:20px 14px; border-bottom:1px solid var(--line); background:#fff;}
#page .regrow:hover{background:#f8f9fb;}
#page .regname{font-family:var(--sans); font-size:12.5px; font-weight:450;}
#page .regmeta{font-size:10px; color:var(--muted); margin-top:6px;}
#page .regsig{display:none !important;}
#page .regtype, #page .regowner{font-size:12px; color:var(--ink); min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;}
#page .regsig-cell{min-width:0;}
#page .regsig-line{display:block; font-size:10px; color:var(--muted); margin-top:6px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;}
#page .regright{width:auto; min-width:0; text-align:left; display:flex; flex-direction:column; align-items:flex-start; gap:6px;}
#page .regright .regclear{margin:0; font-size:10px; padding:4px 8px; border-radius:6px;}
#page .regago{margin:0; font-size:10px; color:var(--muted);}
#page .regrow .chevr{justify-self:end; color:var(--ink);}
#page #reg-list .grouphead{padding:18px 14px 6px; font-size:9px; letter-spacing:2px;}
/* The register sits in .table-wrap (overflow:auto), which makes it the sticky
   container: the group label's sticky offset (41, 66 or 107px, meant for the
   window) pushed it down onto the first row, over Elm Court on a phone. The
   wrap never scrolls vertically, so the label simply sits where it is. */
#page #reg-list .grouphead{position:static;}
@media (max-width:1180px){ #page .reghead{display:none;} #page .regrow{grid-template-columns:minmax(0,1fr) auto; grid-template-areas:"main right" "sig right"; row-gap:8px; padding:16px 12px;} #page .regrow .regmain{grid-area:main; min-width:0;} #page .regrow .regtype, #page .regrow .regowner, #page .regrow .chevr{display:none;} #page .regrow .regsig-cell{grid-area:sig; min-width:0;} #page .regrow .regright{grid-area:right; align-items:flex-end; text-align:right;} }
@media (max-width:1150px){ #page .comms-layout{grid-template-columns:minmax(0,1.2fr) minmax(270px,1fr);} #page .pages-grid{grid-template-columns:repeat(2,minmax(0,1fr));} }
@media (max-width:950px){ #page .comms-layout{grid-template-columns:1fr;} #page .composer{position:static;} }
@media (max-width:650px){ #page .pages-grid{grid-template-columns:1fr;} #page .need-row{flex-direction:column; align-items:flex-start;} #page .row-actions{align-self:flex-end;} #page .file-row{flex-wrap:wrap; gap:10px;} #page .table-tools{flex-wrap:wrap;} #page .rechead.d .record-title h1{font-size:30px;} }
/* Capture: the captures list is a section, as in the study. */
#page .caprecent .card{border:0; border-radius:0; padding:0;}
#page .caprecent .chead{padding:0 0 12px; display:flex; align-items:center; gap:14px;}
#page .caprecent .chead .t{font-size:20px; font-weight:450; letter-spacing:-.42px;}
#page .caprecent .citem{padding:15px 0; border-bottom:1px solid var(--line);}
#page .caprecent .grouphead{padding:16px 0 6px;}

/* ============ ASK KYTE, on the Capture page's shape (18 Sep) ============ */
#page .ask-studio{padding:22px 28px 24px; text-align:center;}
#page .ask-studio .mic-stage{margin:6px 0 0;}
#page .ask-studio .orb.ask-orb{width:150px; height:150px; margin:0 auto;}
#page .ask-studio .orb-mark{position:absolute; inset:0; display:grid; place-items:center; color:#fff; pointer-events:none;}
#page .ask-studio .orb-mark svg{width:26px; height:26px; filter:drop-shadow(0 0 12px #4fb7ffa0);}
#page .ask-studio .ask-state{color:#c9d2ee; font-size:12px; margin:12px 0 2px;}
#page .ask-studio .br-composer.glass-ask{display:flex; align-items:center; gap:10px; margin:16px 0 0; padding:8px 8px 8px 12px; border-radius:14px; background:#ffffff10; border:1px solid #ffffff22; box-shadow:none; text-align:left;}
#page .ask-studio .br-composer textarea{flex:1; min-width:0; min-height:24px; max-height:160px; border:0; background:transparent; color:#fff; font-size:13px; line-height:1.5; resize:none; outline:0; padding:6px 0; font-family:inherit;}
#page .ask-studio .br-composer textarea::placeholder{color:#9aa6d6;}
#page .ask-studio .br-composer .send{flex:none; width:32px; height:32px; border-radius:50%; border:0; background:#fff; color:#0d1020; display:grid; place-items:center; cursor:pointer; margin:0;}
#page .ask-studio .br-composer .send svg{width:15px; height:15px;}
#page .ask-studio .chips{justify-content:center;}
#page .ask-studio .chips button{font-family:inherit; cursor:pointer;}
#page .ask-thread{margin-top:22px;}
#page .ask-thread .br-thread{margin:0;}
#page .capture-rail .capture-hint .btn{margin-top:12px; font-size:11.5px;}
#page .ask-context{margin-top:22px; border-top:1px solid var(--line); padding-top:18px;}
#page .ask-context .br-empty{text-align:left; font-size:11.5px; color:var(--muted); padding:0;}
#page .ask-context .br-empty .spark{display:none;}
#page .ask-recent{margin-top:34px;}
#page .ask-recent .br-hist{padding:14px 0; border-bottom:1px solid var(--line); border-radius:0;}
#page .ask-recent .br-hist:hover{background:#f8f9fb;}
#page .ask-recent .br-hist .t{font-size:13px; font-weight:450;}
#page .ask-recent .br-hist .m{font-size:11px; margin-top:4px; display:block;}
#page .ask-recent .br-more{border-top:0; padding:12px 0; font-size:11px; font-weight:400; color:var(--navy);}
#page .ask-recent .br-note{padding:12px 0 0; font-size:11px;}
#page .ask-recent .br-card, #page .ask-recent .empty{padding-left:0; padding-right:0;}
/* The voice room shares the shape. */
#page .as-stage.ask-studio{align-items:stretch; gap:8px;}
#page .as-stage.ask-studio .as-orb{margin:6px auto 0;}
#page .as-card{margin-top:22px;}
/* Every dictation sphere carries the microphone glyph (Matt, 18 Sep). */
#page .focus.smart .pb-mic svg, #page .br-crow .mic3 svg, #page .ask-studio .mic3 svg, #page .td-mic svg, #page .pgd-bar .mic2 svg{display:block; width:13px; height:13px; color:#fff; stroke:#fff; filter:drop-shadow(0 0 6px #4fb7ffc0);}
#page .ask-studio .mic3{width:30px; height:30px; border-radius:50%; border:0; padding:0; flex:none; cursor:pointer; display:grid; place-items:center;
  background:radial-gradient(circle at 38% 34%,#8fd6ff 0%,#3a63ff 22%,#0b1a6b 46%,#04071c 70%),radial-gradient(circle at 50% 50%,transparent 60%,#3fd3ff 78%,transparent 82%);
  box-shadow:inset 0 0 0 1px #7fb8ff66,inset -3px -4px 8px #c56bff55,inset 3px 3px 6px #38e0ff66,0 0 10px #4fb7ff40;}
#page .ask-studio .mic3.on{box-shadow:inset 0 0 0 1px #7fb8ff99,0 0 0 4px #4fb7ff33,0 0 18px #4fb7ff80; animation:kyte-pulse 1.6s ease-in-out infinite;}
#page .focus.smart .pb-mic{display:grid; place-items:center;}
@media (max-width:650px){ #page .ask-studio .orb.ask-orb{width:120px; height:120px;} }
#page .ask-studio .br-composer.glass-ask{width:100%; max-width:640px; margin-left:auto; margin-right:auto;}
#page .ask-studio .chips{margin-top:16px;}
#page .ask-studio .chips button{background:#ffffff0d; border:1px solid #ffffff1c; color:#c9d2ee; font-size:11px; padding:8px 12px; border-radius:9px;}
#page .ask-studio .chips button:hover{background:#ffffff1a;}
#page .ask-studio .orb-mark{display:none;}
#page .ask-studio .orb:not(:has(.orb-canvas)) .orb-mark{display:grid;}
#page .as-stage .studio-modes button{color:#aab4d6;}
#page .as-stage .studio-modes button.on{color:#0d1020;}
/* Ask Kyte as one expandable box (Matt, 18 Sep): the glass material of the
   Smart Box rather than the near-black studio; the thread scrolls inside a
   white panel; the composer stays pinned at the foot. */
#page .focus.ask-studio{padding:20px 22px 20px; min-height:0; border-radius:16px; text-align:center; display:flex; flex-direction:column;
  background:radial-gradient(140% 120% at 8% 0%,#26315e 0%,#151d45 38%,#0d1230 70%,#0a0f28 100%);}
#page .focus.ask-studio > *{position:relative; z-index:1;}
#page .focus.ask-studio .studio-top{display:flex; justify-content:space-between; align-items:center; gap:15px; margin-bottom:10px;}
#page .focus.ask-studio .studio-modes{background:#ffffff12; border:1px solid #ffffff22; padding:3px; border-radius:7px; display:inline-flex;}
#page .focus.ask-studio .studio-modes button{color:#c9d2ee; background:transparent; font-size:10.5px; padding:7px 14px; border:0; border-radius:6px; cursor:pointer;}
#page .focus.ask-studio .studio-modes button.on{background:#fff; color:#0d1020; box-shadow:none;}
#page .focus.ask-studio .studio-label{font-size:8px; letter-spacing:1.6px; color:#8f9bc4;}
#page .focus.ask-studio .ask-idle{padding:6px 0 4px;}
#page .focus.ask-studio.has-thread .ask-idle, #page .focus.ask-studio.has-thread .chips{display:none;}
#page .focus.ask-studio .ask-thread{display:none; background:#fff; border-radius:12px; padding:14px 18px; margin:4px 0 12px; max-height:56vh; overflow:auto; text-align:left; color:var(--ink);}
#page .focus.ask-studio.has-thread .ask-thread{display:block;}
#page .focus.ask-studio .ask-thread .rolelab{font-size:9px; letter-spacing:1.6px; color:#6b7380;}
#page .focus.ask-studio .br-composer.glass-ask{margin-top:auto;}
#page .focus.ask-studio .br-composer .send{padding:0; line-height:0;}
#page .focus.ask-studio .br-composer .send svg{display:block; margin:0; width:15px; height:15px;}
#page .focus.ask-studio .chips button{cursor:pointer;}
/* The voice room's captions: a white panel inside the studio, ink text, as
   the Ask box does (Matt, 18 Sep: white on white). */
#page .as-stage #asst-livevoice{width:100%; text-align:left;}
#page .as-stage .lv-cap{background:#fff; border-radius:12px; padding:12px 14px; margin-top:12px; color:var(--ink); max-height:48vh; overflow:auto;}
#page .as-stage .lv-cap:empty{display:none;}
#page .as-stage .lv-line{color:var(--ink); background:#f1f4f7; border:0;}
#page .as-stage .lv-line.kyte{background:#fff; border:1px solid var(--line);}
#page .as-stage .lv-line.brain{background:#f9f7f1; border:1px solid #e6e1d3;}
#page .as-stage .lv-line.live{opacity:.7;}
#page .as-stage .lv-line .w{color:#6b7380;}
#page .as-stage .lv-bar{color:#c9d2ee;}
#page .as-stage .lv-note{color:#f0b76a;}
#page .as-stage .as-live{background:#fff; color:var(--ink); border-radius:12px; padding:12px 14px; text-align:left;}
#page .as-stage .as-live:empty{display:none;}
#page .as-stage .as-live .part{color:#6b7380;}

/* ============ BOOT SPLASH (21 Sep): the kite, breathing ============
   Option C, Matt's pick. Since the 22 Sep rebrand the mark is the navy icon
   (kyte-icon.svg) and the wordmark rises beneath it. The mark and a
   soft halo breathe in and out until the first screen is ready. */
.boot{position:fixed; inset:0; z-index:800; background:var(--page); display:grid; place-items:center; transition:opacity .35s ease;}
.boot.done{opacity:0; pointer-events:none;}
.boot .halo{position:absolute; width:150px; height:150px; border-radius:50%; background:radial-gradient(circle,#1F2A4422,transparent 70%); animation:boot-breathe 1.6s ease-in-out infinite;}
.boot svg{width:64px; height:64px; overflow:visible; fill:var(--navy); animation:boot-breathe 1.6s ease-in-out infinite;}
.boot .word{position:absolute; top:calc(50% + 66px); left:0; right:0; text-align:center; font-size:22px; letter-spacing:-.7px; font-weight:550; color:var(--ink); opacity:0; animation:boot-rise .6s .4s forwards;}
.boot .word img{display:block; height:22px; width:auto; margin:0 auto;}
.boot .word small{display:block; font-size:8px; letter-spacing:2.6px; margin-top:6px; font-weight:400; color:var(--muted);}
@keyframes boot-breathe{0%,100%{opacity:.55; transform:scale(.94)} 50%{opacity:1; transform:scale(1.04)}}
@keyframes boot-rise{from{opacity:0; transform:translateY(6px)} to{opacity:1; transform:translateY(0)}}
@media (prefers-reduced-motion:reduce){ .boot svg, .boot .halo{animation:none; opacity:1;} .boot .word{animation:none; opacity:1;} }

/* ============ DESIGN PASS (28 Sep 2026, night) ============
   DESIGN-PASS-2026-09-28.md at the repo root lists what each rule answers.
   Shared components first, then the pages that broke them. */

/* One page title. Seven treatments had crept in (39px on the drawn pages,
   32px .pagehead, 28px To do and Rules, 26px Needs you, 29px on a paper, 30px
   on Demo), measured route by route. Every page title now takes the study's
   title-row values; the Inbox keeps its own board header (REDESIGN-D §7.6). */
#page .pagehead h1, #page .td-head h1, #page .dm-head h1, #page .signhead h1,
#page .dd-inbox.ny .phead-title h1, #page .doc-title{
  font-family:var(--sans); font-size:39px; font-weight:400; letter-spacing:-1.26px; line-height:1.16; margin:0 0 7px;}
#page .td-head .td-sub, #page .dm-head p{font-size:15px; color:#646e7f; letter-spacing:-.14px; line-height:1.55; max-width:72ch;}
@media (max-width:1150px){
  #page .pagehead h1, #page .td-head h1, #page .dm-head h1, #page .signhead h1,
  #page .dd-inbox.ny .phead-title h1, #page .doc-title{font-size:34px;}
}
@media (max-width:650px){
  #page .pagehead h1, #page .td-head h1, #page .dm-head h1, #page .signhead h1,
  #page .dd-inbox.ny .phead-title h1, #page .doc-title{font-size:30px; letter-spacing:-.91px;}
}

/* The register's Needs attention column wrote .badge-d with a tone and no
   stylesheet had ever defined it, so "Needs action" rendered as 14px body
   text, larger than the investment's own name. It is the study's badge, in
   the three lane tones REDESIGN-D §3 names (action slate, watched amber,
   quiet plain); the word carries the status, the tone only repeats it. */
#page .badge-d{display:inline-block; font-size:10px; line-height:1.3; padding:5px 9px; border:1px solid #e8ebf0; border-radius:7px;
  white-space:nowrap; background:#f9fafb; color:var(--ink); font-weight:400;}
#page .badge-d.rose{border-color:#F3F0E6; background:#F3F0E6; color:var(--navy); font-weight:500;}
#page .badge-d.amber{border-color:#fbf1e2; background:#fbf1e2; color:#8a5e1a;}
#page .regsig-cell .regsig-line{margin-top:7px;}

/* Needs you sits on the page's own gutter. It kept the Inbox board's 26px
   inner inset, so its title and rows started 32px right of every other page. */
#page .dd-inbox.kyte.ny{--gx:0px;}
#page .dd-inbox.kyte.ny .phead{padding:0 0 8px;}

/* Sheets stay on the screen. The panel markup carries max-height:none, so a
   tall sheet (an invite form, the capture sheet, the access sheet) ran off the
   bottom of a laptop window with its buttons out of reach and nothing to
   scroll. The panel is now capped to the window and its body scrolls; the
   phone rules in kyte.css already did this under 760px. */
#sheetwrap .askpanel, #viewwrap .askpanel, #fbwrap .askpanel{
  top:max(20px, min(14vh, 120px)) !important;
  max-height:calc(100vh - max(20px, min(14vh, 120px)) - 20px) !important;
  max-height:calc(100dvh - max(20px, min(14vh, 120px)) - 20px) !important;}
.askwrap .askpanel > :last-child{overflow-y:auto; min-height:0; overscroll-behavior:contain;}

/* Needs you and its By day view (To do), Entities and its Map (Structure):
   the D underline tabs that REDESIGN-D §7 folded them into. */
#page .ny-views{margin:0 0 18px;}
#page .td-views{margin:0 0 16px;}

/* Concept D styles every <button> with 10px 15px padding. A control that sets
   its own size but not its padding grows out of its shape: the To do tick
   circles were 50px by 22px ovals. */
#page .td-box{padding:0; box-sizing:border-box; min-width:20px;}

/* The study's `header` rule (the 62px top bar) reached every <header> in the
   app: the To do day columns had 62px headers with the count pushed to the
   far edge. The day heading is the word and its count, together. */
#page .td-col header{height:auto; padding:0 2px; justify-content:flex-start; font-size:inherit; margin:0 0 12px;}
/* And the study's Home week strip (.week) caught the "This week" column. */
#page .td-col.week{margin:0; justify-content:flex-start;}
/* Four days in view on a laptop rather than three and a sliver. */
@media (min-width:951px){ #page .td-col:not(.folded){flex:0 0 calc((100% - 48px) / 4); min-width:230px;} }

/* To do: the add row fits a phone (the Add button was off the right edge). */
#page .td-add input{min-width:0;}
@media (max-width:650px){
  #page .td-add{flex-wrap:wrap;}
  #page .td-add input{flex:1 1 calc(100% - 52px); min-height:44px;}
  #page .td-add select{flex:1 1 auto; min-height:44px;}
  #page .td-add > .btn, #page .td-add > button[type="submit"]{flex:none; min-height:44px;}
  #page .td-col{flex-basis:78vw;}
}

/* People: the cards are grid items, and a nowrap subtitle set the column's
   minimum, pushing every card 10px past a phone's edge. */
#page .people-grid{grid-template-columns:repeat(2, minmax(0, 1fr));}
@media (max-width:650px){ #page .people-grid{grid-template-columns:minmax(0, 1fr);} }

/* Phone top bar: "Workspace / Wednesday meeting" wrapped to two lines and
   squeezed "+ Capture" into two. On a phone the root word goes (the page name
   stays, and a record keeps its parent link), and nothing in the bar wraps. */
@media (max-width:650px){
  #breadcrumb{font-size:0; white-space:nowrap; overflow:hidden; min-width:0; flex:1 1 auto; gap:8px;}
  #breadcrumb a, #breadcrumb span, #breadcrumb b{font-size:12px;}
  #breadcrumb > span:first-child{display:none;}
  #breadcrumb b{overflow:hidden; text-overflow:ellipsis; min-width:0;}
  .topbar .header-actions{flex:none; gap:10px;}
  .topbar .primary{white-space:nowrap; padding:9px 13px;}
}

/* The record's five tabs fit a phone without scrolling People out of sight. */
@media (max-width:650px){
  #page .tabs.record-tabs{gap:12px; scrollbar-width:none;}
  #page .tabs.record-tabs::-webkit-scrollbar{display:none;}
  #page .tabs.record-tabs button{flex:none;}
}

/* Your own investments: four children in a row, not the register's six
   columns, which had put the name in a 120px column after an empty one. */
#page #pers-rows .regrow{display:flex; align-items:center; gap:14px; padding:16px 14px;}
#page #pers-rows .regmain{flex:1 1 0; min-width:0;}
#page #pers-rows .regsig{display:block !important; font-size:11px; color:var(--muted); margin-top:5px;}
#page #pers-rows .regright{flex:none; align-items:flex-end; text-align:right;}
@media (max-width:720px){ #page #pers-rows .regrow{flex-wrap:wrap;} #page #pers-rows .regright{flex:1 1 100%; align-items:flex-start; text-align:left; padding-left:41px;} }

/* Review queue: its section cards touched, border on border. */
#page #rv-list > * + *{margin-top:18px;}

/* Settings: the signature card's body sat on the card edge while its heading
   was inset. */
#page #sig-body{padding:4px 22px 18px;}

/* The record's Files tab: Add a paper beside Sign a document. */
#page .files-acts{display:flex; gap:10px; flex-wrap:wrap; align-items:center;}
#page .files-acts label.btn{display:inline-flex; align-items:center; cursor:pointer; margin:0; position:relative;}
#page .vh-file{position:absolute; width:1px; height:1px; opacity:0; overflow:hidden; clip-path:inset(50%); pointer-events:none;}
#page .files-acts label.btn:focus-within{outline:2px solid var(--navy); outline-offset:3px;}
#page .files-acts .busy{opacity:.6; pointer-events:none;}
#page .files-note{margin:12px 0 0; font-size:12.5px; line-height:1.6; color:var(--grey);}
@media (max-width:650px){ #page .files-acts{width:100%;} #page .files-acts > *{flex:1 1 auto; justify-content:center;} }

/* A detail page's head while it loads (record, paper, company, note): the
   eyebrow, the title and the line under it, then skeleton rows. Four pages
   printed a bare "Loading…" line instead. */
#page .head-skel .skel{display:block;}
#page .head-skel .skel:nth-child(1){width:84px; height:9px; margin:6px 0 18px;}
#page .head-skel .skel:nth-child(2){width:min(320px, 70%); height:38px; margin-bottom:14px;}
#page .head-skel .skel:nth-child(3){width:min(240px, 55%); height:13px; margin-bottom:10px;}

/* The record's "From the documents" line, flush with its heading. */
#page .terms-empty{margin:0; font-size:12px; line-height:1.8; color:var(--muted);}

/* SKIP TO THE PAGE (8 Nov 2026, design sweep): out of sight until a keyboard lands on it, the first stop on every page. */
.skip-link{position:fixed; left:16px; top:-64px; z-index:1000; min-height:40px; padding:10px 14px; border-radius:10px; background:var(--navy); color:#fff; border:0; font:600 13px/1 var(--sans); box-shadow:0 8px 24px #12203630; transition:top .15s;}
.skip-link:focus, .skip-link:focus-visible{top:12px; outline:2px solid #fff; outline-offset:-4px;}
#page.page:focus{outline:none;}

/* 8 Nov 2026 (design sweep): a sheet's "esc" means nothing on a touch screen, which has no Escape key; it says Close. */
@media (pointer:coarse){
  .askhead .esc[aria-label="Close"]{font-size:0; min-height:40px; min-width:56px;}
  .askhead .esc[aria-label="Close"]::after{content:"Close"; font-size:12px;}
}

/* A finger's 40px (8 Nov 2026, design sweep): the phone's account button was 36px. */
@media (pointer:coarse){ .side .account .acct{min-width:40px; min-height:40px;} }

/* 9 Nov 2026 (polish): the feedback button shrinks into a small circle in the corner when a row's end lies under it
   (app.js fitFeedbackButton); pointed at or focused, it opens to its word where it is, so it never moves from under the pointer. */
/* 10 Nov 2026 (Max: "I can't see the feedback box?"): the small circle is for a phone only. On a laptop or desktop
   window it sat 6px from the corner at 28px, without its word, on Home, Ask, the Inbox, Investments, Meetings and a
   record, which is where nobody saw it; there it always stands at full size with its word. */
#fb-btn{transition:width .15s ease, height .15s ease, right .15s ease, bottom .15s ease, opacity .15s ease;}
/* Over a bar that stays at a screen's foot (the Inbox's reply bar on a short window), it stands just above the bar
   (app.js fbBarTop), with its word; a list that scrolls under it moves on its own. */
@media (min-width:651px){ #fb-btn.fb-up{bottom:var(--fb-up, 18px);} }
/* 1 Dec 2026 (the meeting page's chat bar, r14/meetings/chat.js chatDockHTML): while the bar is on the page
   (screens/meeting-r14.js sets data-mc-bar on <html> and --mc-bar-up, how far up from the window's foot the bar
   reaches, and takes both away when the page goes), a toast stands above the bar (above its conversation while that is
   open, data-mc-open and --mc-dock-up, so it never covers the conversation's own Undo); and where the bar spans the window's
   width (980px and narrower: on a wider window it sits over the notes, clear of the rail and of the button), so does the
   Feedback button, small circle or not. Nothing moves on any other page. */
:root[data-mc-bar] #toast.toast{bottom:calc(var(--mc-bar-up, 72px) + 12px);}
:root[data-mc-bar][data-mc-open] #toast.toast{bottom:calc(var(--mc-dock-up, 72px) + 12px);}
@media (max-width:980px){ :root[data-mc-bar] #fb-btn{bottom:calc(var(--mc-bar-up, 72px) + 10px);} }
@media (max-width:650px){
  #fb-btn.fb-mini{width:28px; height:28px; min-height:0; padding:0; right:6px; bottom:6px; opacity:.92; box-shadow:0 1px 6px rgba(33,31,27,.10);}
  #fb-btn.fb-mini svg{width:14px; height:14px;}
  #fb-btn.fb-mini:hover, #fb-btn.fb-mini:focus-visible{width:auto; height:40px; padding:0 14px 0 12px; gap:7px; opacity:1;}
}

/* Brief someone (9 Nov 2026): everyone in the office, the ones who cannot see the record yet marked, and the line that
   says what sending does. */
#sheet-body .bp-chips{flex-wrap:wrap;}
#sheet-body .bp-chip{display:inline-flex; align-items:center; gap:6px; min-height:40px;}
#sheet-body .bp-cant{font-size:11px; font-weight:400; color:var(--mut, #6b7480);}
#sheet-body .bp-chip.on .bp-cant{color:rgba(255,255,255,.78);}
#sheet-body .bp-line{margin:10px 0 0; padding:9px 12px; border-radius:8px; background:var(--slate, #eef1f5); color:var(--ink); font-size:13px; line-height:1.6;}
#sheet-body .bp-line[hidden]{display:none;}
#sheet-body .bp-line .text-button{padding:0; margin-left:4px; font-size:13px; font-weight:500; color:var(--navy, #1F2A44); text-decoration:underline; text-underline-offset:3px;}

/* Using a colleague's account with their yes (13 Nov 2026, H330, app.js paintPassStrip): one line across the top of every
   page. Inside someone's account it is the navy of the shell, so it cannot be missed; for the owner it is the quiet
   cream of the shell's own tags. */
.pass-strip{display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin:10px 0 2px; padding:10px 16px; border-radius:12px; font-size:13px; line-height:1.45; min-width:0;}
.pass-strip > span{flex:1; min-width:200px;}
.pass-strip b{font-weight:600;}
.pass-strip .btn{font-size:12.5px; padding:7px 12px; border-radius:9px; white-space:nowrap;}
.pass-strip.inside{background:var(--navy); color:#fff;}
.pass-strip.inside .btn{background:#fff; color:var(--navy); border:1px solid #fff;}
.pass-strip.owner{background:#F3F0E6; color:var(--navy);}
.pass-strip.owner .btn{background:#fff; color:var(--navy); border:1px solid #e0e5eb;}
@media (max-width:650px){ .pass-strip{margin:8px 12px 2px;} }
a.mrow{color:inherit; text-decoration:none;}
/* The paper itself (paper-viewer.js; 13 Nov 2026). Its overlay took its rules from inbox.css, which only Mail loads, so
   on Needs you it drew below the page and "Open the whole paper" seemed to do nothing. Its own rules, always loaded,
   by id so inbox.css's .dd-viewer (the Mail viewer's) neither adds to them nor fights them. The Mail viewer's level (90):
   under the Hub's tips, so its own buttons' tips show, and under the feedback button, which nothing ordinary covers. */
#paper-viewer{position:fixed; inset:0; z-index:90; background:rgba(20,19,17,.62); display:flex; flex-direction:column; padding:28px 40px; font:14px Geist,-apple-system,BlinkMacSystemFont,sans-serif; color:#17181A;}
#paper-viewer .vbar{display:flex; align-items:center; justify-content:space-between; gap:12px; background:#fff; border-radius:12px 12px 0 0; padding:10px 14px; border-bottom:1px solid #E9E8E3; min-width:0;}
#paper-viewer .vname{display:inline-flex; align-items:center; gap:8px; font-size:13.5px; min-width:0;}
#paper-viewer .vname b{font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
#paper-viewer .vname .quiet{font-size:12px; color:#74777E; white-space:nowrap;}
#paper-viewer .r{display:inline-flex; gap:8px; flex:none;}
#paper-viewer .r .btn-line{height:32px; font-size:12.5px; text-decoration:none; display:inline-flex; align-items:center; padding:0 12px; border:1px solid #E9E8E3; border-radius:9px; background:#fff; color:#17181A; cursor:pointer;}
#paper-viewer .r .btn-line:hover{background:#F5F5F3;}
#paper-viewer .vbody{flex:1; min-height:0; background:#fff; border-radius:0 0 12px 12px; position:relative; overflow:hidden;}
#paper-viewer .vbody iframe{position:absolute; inset:0; width:100%; height:100%; border:0;}
#paper-viewer .vpic{position:absolute; inset:0; overflow:auto; display:flex; align-items:flex-start; justify-content:center; padding:16px;}
#paper-viewer .vpic img{max-width:100%; height:auto;}
#paper-viewer .vtext{position:absolute; inset:0; overflow:auto; padding:24px 28px;}
#paper-viewer .vtext pre{max-width:860px; margin:0 auto; white-space:pre-wrap; overflow-wrap:anywhere; font:inherit; font-size:14.5px; line-height:1.6; color:#17181A;}
#paper-viewer .vpdf{position:absolute; inset:0; overflow:auto; display:flex; flex-direction:column; align-items:center; gap:12px; padding:16px; background:#EEF0F2;}
#paper-viewer .vpdf canvas{max-width:100%; height:auto; background:#fff; box-shadow:0 1px 4px #1f2a4426;}
#paper-viewer .vmsg{max-width:460px; margin:60px auto; padding:0 16px; text-align:center; font-size:14px; line-height:1.6; color:#55585F;}
#paper-viewer .vmsg a{color:inherit; text-decoration:underline;}
@media (max-width:640px){ #paper-viewer{padding:10px;} #paper-viewer .vbar{flex-wrap:wrap;} }

/* ============ THE RECORDING BAR (17 Nov 2026, desktop-recording.js) ============
   Kyte for Mac is recording: a band across the top of the page area, above the white card, on every page. Shown only
   inside the app, and only while it has something to say. It stays in view while a long page scrolls. Red is the dot
   and the Stop button and nothing else; the rest is the shell's own ink on white. */
.kdr{position:sticky; top:8px; z-index:60; margin:0 0 8px; flex:none;}
.kdr[hidden]{display:none;}
.kdr-in{display:flex; align-items:center; gap:6px 12px; min-height:44px; padding:6px 8px 6px 16px; background:#fff; border:1px solid #e0e5eb;
  border-radius:14px; box-shadow:0 6px 22px #1c223012; font:13px/18px Geist,-apple-system,BlinkMacSystemFont,sans-serif; color:var(--ink);}
.kdr-what{display:flex; align-items:baseline; gap:10px; min-width:0; flex:0 1 auto;}
.kdr-what b{font-weight:600; font-size:13.5px; white-space:nowrap;}
.kdr-meet{color:#5d6879; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;}
.kdr-clock{font-variant-numeric:tabular-nums; font-weight:500; color:var(--ink); flex:none;}
.kdr-warn{flex:0 1 auto; min-width:0; padding:3px 10px; border-radius:99px; background:#f1f4f7; color:var(--ink); font-size:12.5px; font-weight:500;}
.kdr-problem{flex:0 1 auto; min-width:0; color:var(--ink); font-size:12.5px; font-weight:500;}
.kdr-dot{width:10px; height:10px; border-radius:50%; background:#d63a2f; flex:none; animation:kdr-pulse 2s ease-in-out infinite;}
@keyframes kdr-pulse{0%,100%{box-shadow:0 0 0 0 #d63a2f55; opacity:1;} 50%{box-shadow:0 0 0 6px #d63a2f00; opacity:.72;}}
.kdr-ring{width:10px; height:10px; border-radius:50%; border:2px solid var(--navy); flex:none;}
.kdr-spin{width:12px; height:12px; border-radius:50%; border:2px solid #d5dbe3; border-top-color:var(--navy); flex:none; animation:kdr-turn 1s linear infinite;}
@keyframes kdr-turn{to{transform:rotate(360deg);}}
.kdr-btn{margin-left:auto; flex:none; display:inline-flex; align-items:center; gap:8px; min-height:32px; padding:6px 14px; border-radius:9px; font-size:13px; font-weight:600; white-space:nowrap;}
.kdr-stop{background:#d63a2f; border-color:#d63a2f; color:#fff;}
.kdr-stop:hover{background:#bf2f25; border-color:#bf2f25;}
.kdr-stop:focus-visible{outline:2px solid var(--navy); outline-offset:2px;}
.kdr-sq{width:9px; height:9px; border-radius:2px; background:#fff; flex:none;}
.kdr-rec{background:#fff; border-color:#cfd6df; color:var(--ink);}
.kdr-rec:hover{background:#f5f7fa;}
.kdr-btn:disabled{opacity:.6; cursor:default; transform:none;}
.kdr-in[data-kind="detected"], .kdr-in[data-kind="saving"]{box-shadow:none; background:#ffffffb0;}
.kdr-in[data-kind="saving"]{padding-right:16px;}
/* The screens that are as tall as the window give the band its room. */
.workspace.kdr-on #page.page.r11-page:not(.flow){height:calc(100vh - 109px - var(--kdr-h, 52px));}
.workspace.kdr-on #page .dd-inbox{height:calc(100vh - 210px - var(--kdr-h, 52px));}
.workspace.kdr-on #page .dd-inbox.ny{height:auto;}
@media (max-width:860px){ .workspace.kdr-on #page.page.r11-page:not(.flow){height:auto;} }
@media (max-width:650px){
  .kdr{top:6px; margin:0 10px 8px;}
  .kdr-in{flex-wrap:wrap; padding:8px 8px 8px 14px; border-radius:12px;}
  .kdr-what{flex:1 1 0; flex-wrap:wrap; gap:0 8px;}
  .kdr-btn{min-height:40px; order:3;}
  .kdr-clock{order:2;}
  .kdr-warn, .kdr-problem{order:4; flex:1 1 100%; border-radius:8px;}
  .workspace.kdr-on #page .dd-inbox{height:auto;}
}
@media (prefers-reduced-motion:reduce){ .kdr-dot, .kdr-spin{animation:none;} }
