/* ------------------------------------------------------------------
   THE DESIGN SYSTEM (canvas approved 28 Nov 2026, made the rule 29 Nov).
   One window on a graphite desk: a frosted sidebar that says where you
   are and what is connected, a slim header with the page, the date and a
   command box, glass panels in two columns, a status bar. Burgundy
   #8E2438 is the only accent; Archivo for words, JetBrains Mono for
   labels, times and counts.

   Every board, workspace and tool page links this file after
   theme-glass.css and loads /pm/shell.js first thing in <body>. Nothing
   on a page hard-codes a colour, a radius or a shadow that is here.
   The rules a new page follows are in AGENTS.md, "The design system".
   ------------------------------------------------------------------ */

/* Mono labels move to JetBrains Mono the same way theme-glass.css moved
   the headings: mirror the face the pages already ask for. */
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/fonts/jetbrains-mono-latin-ext.woff2") format('woff2-variations'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/fonts/jetbrains-mono-latin.woff2") format('woff2-variations'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap;
  src: url("/fonts/jetbrains-mono-latin-ext.woff2") format('woff2-variations'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap;
  src: url("/fonts/jetbrains-mono-latin.woff2") format('woff2-variations'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 600; font-display: swap;
  src: url("/fonts/jetbrains-mono-latin-ext.woff2") format('woff2-variations'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 600; font-display: swap;
  src: url("/fonts/jetbrains-mono-latin.woff2") format('woff2-variations'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 100 800; font-display: swap;
  src: url("/fonts/jetbrains-mono-latin.woff2") format('woff2-variations'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 100 800; font-display: swap;
  src: url("/fonts/jetbrains-mono-latin-ext.woff2") format('woff2-variations'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- tokens ---------- */
:root {
  --sh-ink: #0E0E10; --sh-ink2: #22252B; --sh-text: #3A3E46; --sh-body: #4A4F59; --sh-stone: #5E6470; --sh-mute: #7A808B;
  --sh-line: rgba(14, 14, 16, .10); --sh-line2: rgba(14, 14, 16, .06);
  --sh-burg: #8E2438; --sh-burg2: #5E1424; --sh-rose: #E6C3CB;
  --sh-band: linear-gradient(180deg, #6E1A2C, #3E0C18);
  --sh-pri: linear-gradient(180deg, #8E2438, #5E1424);
  --sh-ok: #1E9E6A; --sh-okfg: #16704B; --sh-amber: #B07D2B; --sh-grey: #7C828D; --sh-off: #9AA0AA;
  --sh-glass: linear-gradient(180deg, rgba(255, 255, 255, .74), rgba(255, 255, 255, .52));
  --sh-glass-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 0 0 .5px rgba(14, 14, 16, .10), 0 14px 34px -18px rgba(14, 22, 40, .35);
  --sh-mono: 'JetBrains Mono', 'IBM Plex Mono', ui-monospace, monospace;
  --sh-sans: Archivo, 'Helvetica Neue', Arial, sans-serif;
  --sh-side: 248px;
}

/* ---------- the desk and the window ---------- */
html.sh-html {
  background:
    radial-gradient(70% 60% at 10% 0%, #E9EDF3 0%, rgba(233, 237, 243, 0) 60%),
    radial-gradient(60% 55% at 95% 10%, #D7DEE9 0%, rgba(215, 222, 233, 0) 60%),
    radial-gradient(60% 60% at 60% 100%, #B9C2CF 0%, rgba(185, 194, 207, 0) 65%),
    linear-gradient(160deg, #D9DDE3 0%, #BCC3CC 100%);
  background-attachment: fixed; min-height: 100%;
}
body.sh { margin: 0; padding: 0; font-family: var(--sh-sans); color: var(--sh-ink); background: transparent; letter-spacing: 0; }
body.sh .mono, .sh-mono { font-family: var(--sh-mono); }

@media (min-width: 900px) {
  html.sh-html { height: 100%; overflow: hidden; }
  body.sh {
    display: grid; grid-template-columns: var(--sh-side) minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto;
    grid-template-areas: "side top" "side body" "side status";
    height: 100vh; height: 100dvh; overflow: hidden; background: rgba(244, 246, 249, .55);
  }
  .sh-side { grid-area: side; } .sh-top { grid-area: top; } .sh-status { grid-area: status; }
  .sh-body { grid-area: body; overflow: auto; overscroll-behavior: contain; scroll-behavior: smooth; }
  .sh-menu { display: none !important; }
}
/* a framed window on the desk, as on the canvas: 24px of desk all round */
@media (min-width: 1100px) {
  html.sh-html { padding: 24px; box-sizing: border-box; }
  body.sh { height: calc(100vh - 48px); height: calc(100dvh - 48px); max-width: 1600px; margin: 0 auto; border-radius: 16px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 0 0 1px rgba(14, 14, 16, .12), 0 40px 90px -30px rgba(14, 22, 40, .45); }
}
/* installed as an app (Dock): the Mac window is the frame, its own red, yellow and green are the buttons */
@media (display-mode: standalone), (display-mode: window-controls-overlay) {
  html.sh-html { padding: 0; }
  body.sh { height: 100vh; height: 100dvh; max-width: none; border-radius: 0; box-shadow: none; }
  .sh-lights { visibility: hidden; }
}
@media (display-mode: window-controls-overlay) {
  .sh-side { padding-top: calc(env(titlebar-area-height, 28px) - 12px); }
  .sh-lights { height: 12px; }
  .sh-top, .sh-side { -webkit-app-region: drag; app-region: drag; }
  .sh-top a, .sh-top button, .sh-top label, .sh-top input, .sh-side a, .sh-side button, .sh-pop { -webkit-app-region: no-drag; app-region: no-drag; }
}

/* ---------- sidebar ---------- */
.sh-side { box-sizing: border-box; padding: 16px 12px; border-right: .5px solid rgba(14, 14, 16, .12); display: flex; flex-direction: column; gap: 2px; min-height: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .46), rgba(255, 255, 255, .26));
  -webkit-backdrop-filter: blur(40px) saturate(180%); backdrop-filter: blur(40px) saturate(180%); }
.sh-lights { display: flex; gap: 8px; padding: 0 6px 16px; flex: none; }
.sh-lights i { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .12); }
.sh-lights i:nth-child(1) { background: #FF5F57; } .sh-lights i:nth-child(2) { background: #FEBC2E; } .sh-lights i:nth-child(3) { background: #28C840; }
.sh-brand { display: block; padding: 4px 8px 18px; text-decoration: none; color: var(--sh-ink); flex: none; }
.sh-brand b { display: block; font-size: 19px; font-weight: 700; letter-spacing: .14em; line-height: 1.15; }
.sh-brand span { display: block; font-family: var(--sh-mono); font-size: 10.5px; letter-spacing: .12em; color: var(--sh-stone); margin-top: 4px; text-transform: uppercase; }
.sh-ctx { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; margin-bottom: 14px; border: 0; border-radius: 12px; text-align: left; cursor: pointer; font: inherit; color: inherit; flex: none;
  background: var(--sh-glass); box-shadow: var(--sh-glass-shadow); position: relative; }
.sh-ctx .i { width: 30px; height: 30px; border-radius: 8px; flex: none; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 13px; }
.sh-ctx .t { min-width: 0; } .sh-ctx .t b { display: block; font-size: 14.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sh-ctx .t span { display: block; font-family: var(--sh-mono); font-size: 10.5px; color: var(--sh-stone); margin-top: 2px; text-transform: uppercase; }
.sh-ctx .c { margin-left: auto; color: var(--sh-mute); }
.sh-ctxmenu { position: absolute; left: 12px; right: 12px; z-index: 40; margin-top: -8px; padding: 6px; border-radius: 12px; background: rgba(255, 255, 255, .96); box-shadow: var(--sh-glass-shadow), 0 20px 40px -16px rgba(14, 22, 40, .4); }
.sh-scroll { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 2px; margin: 0 -12px; padding: 0 12px 8px; scrollbar-width: thin; }
.sh-lab, body.sh .lab { font-size: 10.5px; font-weight: 600; letter-spacing: .16em; color: var(--sh-stone); text-transform: uppercase; }
.sh-side .sh-lab { padding: 18px 10px 6px; flex: none; }
.sh-side .sh-lab:first-child { padding-top: 10px; }
.sh-side a.sh-lab { display: block; text-decoration: none; } .sh-side a.sh-lab:hover { color: var(--sh-burg); }
.sh-side [hidden], .sh-body [hidden].pn { display: none !important; }
.sh-row, .sh-side .tabs .tab, .sh-side .tabs > button { display: flex; align-items: center; gap: 10px; box-sizing: border-box; width: 100%; min-height: 34px; margin: 0; padding: 0 10px; border: 0; border-radius: 9px;
  text-decoration: none; color: var(--sh-ink2); font: 400 14px/1.2 var(--sh-sans); letter-spacing: 0; text-align: left; text-transform: none; background: none; cursor: pointer; flex: none; white-space: nowrap; }
.sh-row:hover, .sh-side .tabs .tab:hover, .sh-side .tabs > button:hover { background: rgba(14, 14, 16, .04); color: var(--sh-ink2); }
.sh-row.on, .sh-side .tabs .tab.on, .sh-side .tabs > button.on { min-height: 36px; color: #fff; font-weight: 600; background: var(--sh-pri); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18); }
.sh-row .n, .sh-side .tabs .tab .n, .sh-side .tabs .tab .badge, .sh-side .tabs > button small { margin-left: auto; font-family: var(--sh-mono); font-size: 11px; font-weight: 400; color: var(--sh-stone); background: none; padding: 0; min-width: 0; border-radius: 0; }
.sh-row.on .n, .sh-side .tabs .tab.on .n, .sh-side .tabs .tab.on .badge, .sh-side .tabs > button.on small { color: #fff; opacity: .75; }
.sh-row .n.you { color: var(--sh-burg); }
.sh-row.on .n.you { color: #fff; }
.sh-side .tabs { display: flex; flex-direction: column; gap: 2px; overflow: visible; margin: 0; padding: 0; border: 0; }
.sh-side .tabs .tab.tabadd { color: var(--sh-stone); font-size: 13px; }
.sh-side .tabs .asep { display: block; width: auto; height: .5px; margin: 8px 10px; background: var(--sh-line); }
.sh-sq { width: 7px; height: 7px; border-radius: 2px; flex: none; }
.sh-tile { width: 18px; height: 18px; border-radius: 5px; flex: none; display: grid; place-items: center; background: #fff; box-shadow: 0 0 0 .5px rgba(14, 14, 16, .14), 0 1px 2px rgba(14, 22, 40, .08); }
.sh-tile svg { width: 11px; height: 11px; display: block; }
.sh-tile b { color: #fff; font-size: 8px; font-weight: 700; letter-spacing: -.02em; }
.sh-tile.lg { width: 20px; height: 20px; border-radius: 6px; } .sh-tile.lg svg { width: 12px; height: 12px; }
.sh-tile.xl { width: 26px; height: 26px; border-radius: 7px; } .sh-tile.xl svg { width: 15px; height: 15px; } .sh-tile.xl b { font-size: 11px; }
.sh-me { flex: none; margin-top: auto; padding: 16px 8px 4px; display: flex; align-items: center; gap: 10px; border-top: .5px solid var(--sh-line); }
.sh-me i { width: 28px; height: 28px; border-radius: 50%; background: var(--sh-ink); color: #fff; display: grid; place-items: center; font-size: 11px; font-weight: 600; font-style: normal; }
.sh-me span { font-size: 13px; font-weight: 600; } .sh-me small { display: block; font-weight: 400; font-size: 11.5px; color: var(--sh-stone); }

/* ---------- header bar ---------- */
.sh-top { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 14px 24px; border-bottom: .5px solid var(--sh-line); position: relative; z-index: 30;
  background: linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, .30)); }
.sh-top h1 { margin: 0; font: 700 22px/1.2 var(--sh-sans); letter-spacing: .02em; color: var(--sh-ink); }
.sh-top .sub { font-family: var(--sh-mono); font-size: 11px; letter-spacing: .1em; color: var(--sh-stone); margin-top: 2px; text-transform: uppercase; }
.sh-live { display: flex; align-items: center; gap: 7px; white-space: nowrap; font-family: var(--sh-mono); font-size: 11px; letter-spacing: .08em; color: #1E7A55; margin-left: 8px; text-transform: uppercase; }
.sh-live i, .sh-live .sdot { width: 7px; height: 7px; border-radius: 50%; background: var(--sh-ok); box-shadow: 0 0 8px rgba(30, 158, 106, .7); flex: none; }
.sh-live.off { color: var(--sh-burg); } .sh-live.off i, .sh-live .sdot.off, .sh-live .sdot.err { background: var(--sh-burg); box-shadow: none; }
.sh-live .sdot.busy { background: var(--sh-amber); box-shadow: none; }
.sh-live:has(.sdot.err) { color: var(--sh-burg); } .sh-live:has(.sdot.busy) { color: var(--sh-amber); }
.sh-cmdw { margin-left: auto; position: relative; }
.sh-cmd { display: flex; align-items: center; gap: 8px; min-width: 260px; min-height: 36px; padding: 0 12px; border-radius: 10px; font-size: 13px; color: var(--sh-stone);
  background: rgba(255, 255, 255, .7); box-shadow: inset 0 0 0 .5px rgba(14, 14, 16, .14); cursor: text; }
.sh-cmd:focus-within { box-shadow: inset 0 0 0 1px rgba(142, 36, 56, .45), 0 0 0 3px rgba(142, 36, 56, .10); }
.sh-cmd input { border: 0; background: none !important; outline: none; font: inherit; color: var(--sh-ink); flex: 1; min-width: 0; padding: 0; box-shadow: none; }
.sh-cmd kbd { font-family: var(--sh-mono); font-size: 11px; }
.sh-cmd svg { width: 14px; height: 14px; flex: none; }
.sh-pop { position: absolute; right: 0; top: calc(100% + 8px); width: min(560px, 92vw); max-height: min(60vh, 520px); overflow: auto; border-radius: 14px; padding: 6px; z-index: 70;
  background: rgba(252, 253, 254, .97); box-shadow: var(--sh-glass-shadow), 0 30px 60px -20px rgba(14, 22, 40, .5); }
.sh-pop[hidden] { display: none; }
.sh-pop .g { padding: 10px 10px 4px; font-size: 10px; font-weight: 600; letter-spacing: .16em; color: var(--sh-stone); text-transform: uppercase; }
.sh-pop button { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 36px; padding: 6px 10px; border: 0; border-radius: 9px; background: none; font: 14px/1.3 var(--sh-sans); color: var(--sh-ink2); text-align: left; cursor: pointer; }
.sh-pop button small { margin-left: auto; font-family: var(--sh-mono); font-size: 10.5px; color: var(--sh-stone); white-space: nowrap; }
.sh-pop button.on, .sh-pop button:hover { background: rgba(142, 36, 56, .08); }
.sh-pop button.cmd b { color: var(--sh-burg); font-weight: 600; }
.sh-menu { width: 36px; height: 36px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .7); box-shadow: inset 0 0 0 .5px rgba(14, 14, 16, .14); font-size: 16px; cursor: pointer; color: var(--sh-ink); }

/* ---------- status bar ---------- */
.sh-status { display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: center; min-height: 30px; box-sizing: border-box; padding: 6px 24px; font-family: var(--sh-mono); font-size: 11px; letter-spacing: .04em; color: var(--sh-stone);
  border-top: .5px solid var(--sh-line); background: linear-gradient(180deg, rgba(255, 255, 255, .25), rgba(255, 255, 255, .45)); }
footer.sh-status { max-width: none; width: auto; margin: 0; justify-content: flex-start; }
.sh-status .r { margin-left: auto; } .sh-status b { font-weight: 500; color: var(--sh-burg); }

/* ---------- the page inside the window ---------- */
.sh-body { min-width: 0; }
.sh-pad { padding: 22px 24px 28px; display: flex; flex-direction: column; gap: 14px; }

/* ---------- components (every board, workspace and tool page uses these) ---------- */
.glass, .pn, .kt { background: var(--sh-glass); -webkit-backdrop-filter: blur(26px) saturate(170%); backdrop-filter: blur(26px) saturate(170%); box-shadow: var(--sh-glass-shadow); }
.pn { border-radius: 14px; overflow: hidden; min-width: 0; }
.pn.pad { padding: 16px 18px; }
.pn-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 14px 18px; border-bottom: .5px solid rgba(14, 14, 16, .08); }
.pn.pad > .pn-h { padding: 0 0 12px; border: 0; }
.pn-h h2 { margin: 0; font: 600 12px/1.3 var(--sh-sans); letter-spacing: .18em; text-transform: uppercase; color: inherit; }
.pn-h .s { font-size: 13px; color: var(--sh-stone); letter-spacing: 0; }
.pn-h .r { margin-left: auto; font-family: var(--sh-mono); font-size: 11px; color: var(--sh-stone); text-transform: uppercase; white-space: nowrap; }
.pn-h .r.you { color: var(--sh-burg); }
.pn-h a.r, .pn-h .r a { font-family: var(--sh-sans); font-size: 12.5px; font-weight: 600; text-decoration: none; text-transform: none; color: var(--sh-ink); }
.pn-h a.r:hover, .pn-h .r a:hover { color: var(--sh-burg); }
.pn-h.band { background: var(--sh-band); color: #fff; border: 0; }
.pn-h.band .s, .pn-h.band .r { color: var(--sh-rose); }
.pn-r { display: flex; gap: 12px; align-items: flex-start; padding: 13px 18px; border-top: .5px solid var(--sh-line2); font-size: 13.5px; color: var(--sh-ink); text-decoration: none; }
.pn-h + .pn-r, .pn > .pn-r:first-child { border-top: 0; }
a.pn-r:hover, label.pn-r:hover, .pn-r.hov:hover { background: rgba(14, 14, 16, .04); }
.pn-r .t { display: block; font-size: 14.5px; font-weight: 600; line-height: 1.35; }
.pn-r .m { display: block; font-size: 12.5px; color: var(--sh-stone); margin-top: 3px; line-height: 1.45; }
.pn-r .m b { font-weight: 600; color: var(--sh-burg); letter-spacing: .06em; font-size: 11px; text-transform: uppercase; }
.pn-r .x { flex: 1; min-width: 0; }
.pn-r .at { font-family: var(--sh-mono); font-size: 11px; color: var(--sh-stone); white-space: nowrap; flex: none; }
.pn-r input[type=checkbox] { width: 18px; height: 18px; margin: 2px 0 0; accent-color: #7A1E31; flex: none; }
.pn-r.done .t { color: var(--sh-stone); text-decoration: line-through; text-decoration-color: rgba(14, 14, 16, .25); }
.pn-f { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 12px 18px; border-top: .5px solid rgba(14, 14, 16, .08); font-size: 12.5px; color: var(--sh-stone); }
.pn-empty { padding: 14px 18px; font-size: 13.5px; color: var(--sh-stone); line-height: 1.5; }
.sq { width: 8px; height: 8px; border-radius: 2px; margin-top: 7px; flex: none; background: var(--sh-ink); }
.dot { width: 8px; height: 8px; border-radius: 50%; margin-top: 6px; flex: none; background: var(--sh-ok); }
.dot.you { background: var(--sh-burg); } .dot.off { background: var(--sh-off); } .dot.bad { background: #C0392B; }
.pill { font-family: var(--sh-mono); font-size: 10.5px; letter-spacing: .08em; padding: 3px 9px; border-radius: 20px; white-space: nowrap; text-transform: uppercase; flex: none; background: rgba(14, 14, 16, .06); color: var(--sh-body); }
.pill.you { background: rgba(142, 36, 56, .10); color: var(--sh-burg); } .pill.ok { background: rgba(30, 158, 106, .12); color: var(--sh-okfg); } .pill.bad { background: rgba(192, 57, 43, .12); color: #A93226; }
.sh-btn { min-height: 36px; padding: 0 14px; border: 0; border-radius: 9px; font: 13px/1 var(--sh-sans); color: var(--sh-ink); background: rgba(255, 255, 255, .7); box-shadow: inset 0 0 0 .5px rgba(14, 14, 16, .16); cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.sh-btn.pri { padding: 0 16px; color: #fff; font-weight: 600; background: var(--sh-pri); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18); }
.sh-btn.pri:hover { background: linear-gradient(180deg, #A12C42, #6E1A2C); }
.sh-btn:disabled { opacity: .55; cursor: default; }

/* KPI tiles */
.kts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.kt { border-radius: 14px; padding: 16px 18px; min-width: 0; position: relative; text-align: left; border: 0; font: inherit; color: inherit; display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; }
button.kt { cursor: pointer; }
.kt .k { font-size: 10.5px; font-weight: 600; letter-spacing: .16em; color: var(--sh-stone); text-transform: uppercase; }
.kt .v { font-size: 40px; font-weight: 700; letter-spacing: -.02em; line-height: 1; margin-top: 10px; font-variant-numeric: tabular-nums; }
.kt .v.you { color: var(--sh-burg); }
.kt .v small { font-size: 14px; font-weight: 500; color: var(--sh-stone); margin-left: 6px; letter-spacing: 0; }
.kt .d { font-size: 13px; color: var(--sh-body); margin-top: 8px; line-height: 1.4; }

/* two columns: the work on the left, the instruments on the right */
.cols { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-start; }
.cols > .l { flex: 1.45 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.cols > .r { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }

/* the goal: one picture at a time, a line of why, dots and arrows */
.goalc { position: relative; border-radius: 16px; overflow: hidden; height: 340px; background: var(--sh-ink); box-shadow: 0 0 0 .5px rgba(14, 14, 16, .2), 0 22px 50px -24px rgba(14, 22, 40, .55); flex: none; }
.goalc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.goalc img.on { opacity: 1; }
.goalc .shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 14, 16, .62) 0%, rgba(14, 14, 16, .12) 45%, rgba(14, 14, 16, 0) 70%); }
.goalc .cap { position: absolute; left: 28px; bottom: 26px; color: #fff; max-width: 520px; }
.goalc .cap .k { font-family: var(--sh-mono); font-size: 11px; letter-spacing: .18em; color: var(--sh-rose); text-transform: uppercase; }
.goalc .cap .t { font-size: 30px; font-weight: 700; letter-spacing: .02em; margin-top: 6px; line-height: 1.1; }
.goalc .cap .d { font-size: 14px; color: #D6D9DF; margin-top: 6px; }
.goalc .nav { position: absolute; right: 20px; bottom: 22px; display: flex; align-items: center; gap: 8px; }
.goalc .nav .pg { width: 6px; height: 6px; padding: 0; border: 0; border-radius: 3px; background: rgba(255, 255, 255, .45); cursor: pointer; transition: width .3s; }
.goalc .nav .pg.on { width: 22px; background: #fff; }
.goalc .nav .ar { width: 40px; height: 40px; border: 0; border-radius: 50%; color: #fff; font-size: 16px; background: rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); cursor: pointer; }
.goalc .nav .pg + .ar { margin-left: 8px; }

/* bars */
.bars { display: flex; flex-direction: column; gap: 7px; margin-top: 12px; }
.bars > div { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--sh-text); }
.bars .k { width: 118px; flex: none; } .bars .v { width: 40px; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.bars .b { flex: 1; height: 8px; border-radius: 4px; background: rgba(14, 14, 16, .08); }
.bars .b i { display: block; height: 8px; border-radius: 4px; background: var(--sh-grey); min-width: 2px; }
.seg { display: flex; gap: 2px; height: 10px; margin: 14px 0 12px; }
.seg span { border-radius: 2px; min-width: 3px; } .seg span:first-child { border-radius: 5px 2px 2px 5px; } .seg span:last-child { flex: 1; border-radius: 2px 5px 5px 2px; }
.leg { display: grid; gap: 6px; font-size: 13px; color: var(--sh-text); }
.leg div { display: flex; gap: 8px; align-items: center; } .leg i { width: 9px; height: 9px; border-radius: 2px; } .leg b { margin-left: auto; font-weight: 600; }
.seg2 { display: inline-flex; gap: 4px; padding: 4px; border-radius: 11px; background: rgba(255, 255, 255, .55); box-shadow: inset 0 0 0 .5px rgba(14, 14, 16, .14); }
.seg2 button { border: 0; border-radius: 8px; padding: 6px 12px; font: 600 12.5px var(--sh-sans); cursor: pointer; background: transparent; color: var(--sh-ink); }
.seg2 button[aria-pressed=true] { background: var(--sh-pri); color: #fff; }
.sh-divider { display: flex; align-items: center; gap: 12px; margin: 14px 0 0; font-size: 10.5px; font-weight: 600; letter-spacing: .16em; color: var(--sh-stone); text-transform: uppercase; }
.sh-divider::after { content: ""; flex: 1; height: .5px; background: rgba(14, 14, 16, .14); }
.sh-toast { position: fixed; left: 50%; bottom: 46px; transform: translateX(-50%); z-index: 90; padding: 10px 16px; border-radius: 10px; background: var(--sh-ink); color: #fff; font: 13.5px var(--sh-sans); opacity: 0; transition: opacity .25s; pointer-events: none; }
.sh-toast.on { opacity: 1; }

/* ---------- under 900px: one column, the sidebar slides in ---------- */
@media (max-width: 899px) {
  .sh-side { position: fixed; z-index: 80; top: 0; bottom: 0; left: 0; width: min(300px, 86vw); transform: translateX(-102%); transition: transform .22s ease; background: rgba(240, 243, 247, .96); padding-top: max(16px, env(safe-area-inset-top)); }
  body.sh-open .sh-side { transform: none; box-shadow: 0 0 0 100vmax rgba(14, 14, 16, .35); }
  .sh-lights { display: none; }
  .sh-top { position: sticky; top: 0; padding: 10px 14px; gap: 10px; -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); background: linear-gradient(180deg, rgba(244, 246, 249, .92), rgba(244, 246, 249, .78)); }
  .sh-top h1 { font-size: 18px; } .sh-live .sh-ag { display: none; }
  .sh-cmdw { order: 5; flex: 1 1 100%; margin-left: 0; } .sh-cmd { min-width: 0; } .sh-cmd kbd { display: none; } .sh-pop { left: 0; right: auto; }
  .sh-pad { padding: 14px 12px 22px; }
  .sh-status { padding: 6px 14px calc(6px + env(safe-area-inset-bottom)); }
  .goalc { height: 240px; } .goalc .cap { left: 18px; bottom: 54px; right: 18px; } .goalc .cap .t { font-size: 22px; } .goalc .nav { right: 12px; bottom: 10px; }
  .goalc .nav .ar { width: 40px; height: 40px; }
  /* The phone pass (29 Nov 2026): the title row keeps the live dot beside it, so the header is three lines, not four */
  .sh-top { row-gap: 8px; } .sh-title { flex: 1 1 0; min-width: 0; } .sh-top h1 { overflow-wrap: anywhere; }
  .sh-live { margin-left: auto; }
  .sh-menu { width: 40px; height: 40px; flex: none; } .sh-cmd { min-height: 40px; }
  /* thumbs: a dot six pixels wide still takes a touch, and a panel's link is as tall as a button */
  .goalc .nav .pg { position: relative; } .goalc .nav .pg::after { content: ''; position: absolute; inset: -17px -5px; }
  .pn-h a.r { padding: 11px 0; margin: -11px 0; }
  .sh-btn { min-height: 40px; }
  /* 11px is the floor for labels on a phone */
  .pill, .sh-lab, body.sh .lab, .kt .k, .pn-h .r, .pn-r .at { font-size: 11px; }
  .sh-status, .sh-status span { font-size: 11px; }
  .kts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .kt { padding: 14px; } .kt .v { font-size: 30px; }
}
/* ---------- the mic and the resolve drawer (on <body>, like the toast) ---------- */
.sh-mic { position: fixed; right: calc(var(--sh-r, 0px) + 22px); bottom: calc(var(--sh-b, 0px) + 44px); z-index: 85; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; display: grid; place-items: center;
  color: var(--sh-ink); background: rgba(255, 255, 255, .9); box-shadow: var(--sh-glass-shadow), 0 10px 24px -10px rgba(14, 22, 40, .5); }
.sh-mic[hidden] { display: none; }
.sh-mic svg { width: 20px; height: 20px; }
.sh-mic.on { color: #fff; background: var(--sh-pri); }
.sh-mic.busy { color: var(--sh-off); cursor: progress; }
.sh-mic:focus-visible, .sh-drawer textarea:focus-visible, .sh-note textarea:focus-visible { outline: 2px solid var(--sh-burg); outline-offset: 2px; }
.sh-drawer, .sh-note { position: fixed; z-index: 80; font-family: var(--sh-sans); color: var(--sh-ink); background: #FAFBFD; box-shadow: 0 0 0 .5px rgba(14, 14, 16, .14), 0 30px 70px -20px rgba(14, 22, 40, .55); }
.sh-drawer { top: var(--sh-t, 0px); right: var(--sh-r, 0px); bottom: var(--sh-b, 0px); width: min(460px, 100vw); display: flex; flex-direction: column; border-radius: 0 var(--sh-rad, 0px) var(--sh-rad, 0px) 0; }
.sh-drawer[hidden], .sh-note[hidden] { display: none; }
.sh-drawer .dh { display: flex; align-items: flex-start; gap: 12px; padding: 18px 20px 12px; border-bottom: .5px solid var(--sh-line); }
.sh-drawer .dh h2 { margin: 0; flex: 1; min-width: 0; font: 700 18px/1.25 var(--sh-sans); overflow-wrap: anywhere; }
.sh-drawer .dh button { width: 32px; height: 32px; border: 0; border-radius: 8px; background: none; font-size: 22px; line-height: 1; color: var(--sh-stone); cursor: pointer; }
.sh-drawer .db { flex: 1; min-height: 0; overflow: auto; padding: 14px 20px 18px; display: flex; flex-direction: column; gap: 14px; }
.sh-drawer .ctx { font-size: 13.5px; line-height: 1.5; color: var(--sh-text); }
.sh-drawer .ctx b { color: var(--sh-ink); font-weight: 600; }
.sh-drawer .dh h2 { text-transform: none; letter-spacing: 0; }
/* Shell.format: a card's text laid out to act on */
.sh-fmt { display: grid; gap: 10px; font-size: 14px; line-height: 1.5; color: var(--sh-text); }
.sh-fmt p { margin: 0; overflow-wrap: anywhere; }
.sh-fmt b { color: var(--sh-ink); font-weight: 600; }
.sh-fmt a { color: var(--sh-burg); text-decoration: none; font-weight: 600; } .sh-fmt a:hover { text-decoration: underline; }
.sh-fmt .sh-lab { display: block; margin-bottom: 3px; }
.sh-fmt .nx { padding: 10px 12px; border-radius: 10px; background: rgba(142, 36, 56, .07); color: var(--sh-ink); font-weight: 600; }
.sh-fmt .nx .sh-lab { color: var(--sh-burg); }
.sh-fmt .dw { padding-top: 10px; border-top: .5px solid var(--sh-line2); }
.sh-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sh-steps li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, .72); box-shadow: inset 0 0 0 .5px rgba(14, 14, 16, .10); }
.sh-steps .n { flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; display: grid; place-items: center; font: 600 11px/1 var(--sh-mono); color: #fff; background: var(--sh-ink); }
.sh-steps.dots .n { width: 6px; height: 6px; margin: 8px 8px 0; background: var(--sh-stone); }
.sh-steps .x { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.sh-steps .x b { display: block; margin-bottom: 1px; }
.sh-drawer .obj { display: flex; align-items: center; gap: 10px; padding: 9px 0; margin-top: 8px; border-top: .5px solid var(--sh-line2); }
.sh-drawer .obj + .obj { margin-top: 0; }
.sh-drawer .obj span:not(.sh-tile) { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sh-drawer .obj a { font-weight: 600; color: var(--sh-burg); text-decoration: none; white-space: nowrap; }
.sh-drawer label, .sh-note label { display: block; margin-bottom: 6px; font: 600 10.5px var(--sh-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--sh-stone); }
.sh-drawer textarea, .sh-note textarea { display: block; width: 100%; box-sizing: border-box; min-height: 64px; resize: vertical; border: 0; border-radius: 10px; padding: 10px 12px; font: 14.5px/1.5 var(--sh-sans); color: var(--sh-ink); background: #fff; box-shadow: inset 0 0 0 .5px rgba(14, 14, 16, .18); }
.sh-drawer .hint { font-size: 12.5px; line-height: 1.45; color: var(--sh-stone); }
.sh-drawer .hint.you { color: var(--sh-burg); }
.sh-drawer .df, .sh-note .df { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 20px 16px; border-top: .5px solid var(--sh-line); }
.sh-note { right: calc(var(--sh-r, 0px) + 22px); bottom: calc(var(--sh-b, 0px) + 102px); width: min(360px, calc(100vw - 28px)); border-radius: 14px; padding: 14px; }
.sh-note .df { padding: 10px 0 0; border: 0; }
.sh-note .in { margin: -2px 0 8px; font: 11px/1.4 var(--sh-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--sh-burg); overflow-wrap: anywhere; }
/* the mic stays on top of the open drawer, so its last row keeps clear of it */
.sh-drawer .df { padding-right: 84px; padding-bottom: 46px; }

@media (prefers-reduced-motion: reduce) { .goalc img, .sh-side { transition: none; } .sh-body { scroll-behavior: auto; } }

/* ---- the cookie banner (public/redesign/consent.js) in the window's voice, on HQ pages and /demos/hq ---- */
.da-consent { background: #0E0E10 !important; color: #F4F6F9 !important; border-color: rgba(255, 255, 255, .12) !important; border-radius: 16px !important;
  box-shadow: 0 30px 60px -24px rgba(14, 22, 40, .7) !important; font-family: var(--sh-sans, 'Archivo'), 'Helvetica Neue', Arial, sans-serif !important; }
.da-consent .da-k { font-family: 'JetBrains Mono', ui-monospace, monospace !important; color: #9AA0AA !important; }
.da-consent .da-h { font-family: 'Archivo', 'Helvetica Neue', Arial, sans-serif !important; font-weight: 700 !important; color: #fff !important; }
.da-consent .da-b { color: #C9CED6 !important; }
.da-consent a { color: #E6C3CB !important; }
.da-consent button { border-radius: 10px !important; background: rgba(255, 255, 255, .92) !important; color: #0E0E10 !important; }
