/* The hosted service's pages (git.greatcto.systems, and the own relay):
   the approved design spec's tokens and parts (spec v7, gg.css), so these
   pages look like the dashboard on a Mac without sharing its stylesheet.
   Light by default; dark follows the system. */
/* Inter, served beside this stylesheet (fonts/, SIL OFL 1.1): the system
   font shows until it loads. */
@font-face { font-family: Inter; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/Inter-Regular.woff2") format("woff2"); }
@font-face { font-family: Inter; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/Inter-Medium.woff2") format("woff2"); }
@font-face { font-family: Inter; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/Inter-SemiBold.woff2") format("woff2"); }
.gg {
  /* The approved look (Claude Design RfUvbYQH4wxVJwjzm5ZMTQ, version
     1794822500-1eaf): zinc neutrals; ink in place of blue for buttons,
     links and the selected row; blue only for what is running. */
  --bg: #FBFBFB; --panel: #FFFFFF; --line: #E4E4E7; --control-line: #A1A1AA; --button-line: #D4D4D8;
  --text: #09090B; --muted: #63636B; --accent: #09090B; --accent-hover: #3F3F46; --accent-text: #FFFFFF; --on-bg: #E4E4E7;
  --hover: #F4F4F5; --tab-off: #63636B;
  --ok: #15803D; --bad: #DC2626; --warn: #A16207; --retry: #A16207; --cancel: #63636B;
  --run: #2563EB; --run-line: #BFDBFE; --load: #52525B;
  --bar: #EDEDEF; --code-bg: #0A0A0A; --code-text: #E5E5E5; --focus: #71717A; --focus-on-dark: #A1A1AA;
  --new-bg: #FEF3C7; --new-text: #92400E; --ok-bg: #DCFCE7; --bad-bg: #FEE2E2; --warn-bg: #FEF3C7; --info-bg: #F4F4F5; --info-text: #3F3F46;
  --scrim: rgba(9, 9, 11, .40);
  /* Status chips: failed and "needs you" are filled, the rest outlined. */
  --chip-bg: #FFFFFF; --chip-line: #E4E4E7;
  --chip-bad: #B91C1C; --chip-bad-bg: #FEE2E2; --chip-bad-line: #FECACA;
  --chip-need: #92400E; --chip-need-bg: #FEF3C7; --chip-need-line: #FDE68A;
  /* A bar that is nearly full, and the tints of an unread notification
     (boards H1-H4). */
  --hot: #D97706; --unread-bad: #FEF2F2; --unread-info: #F4F4F5; --unread-warn: #FFFBEB; --unread-ok: #F0FDF4;
  /* No shadows: depth is a hairline, a sheet is set off by the scrim. */
  --shadow: none; --sheet-shadow: none;
  --radius: 12px; --pill: 9999px;
  /* The type scale (board DS3): one family, weights 400, 500 and 600.
     Desktop here; a phone (under 600 px) below. */
  --type-title: 600 24px/30px var(--sans);
  --type-heading: 600 20px/25px var(--sans);
  --type-section: 600 16px/24px var(--sans);
  --type-row: 500 14px/21px var(--sans);
  --type-body: 400 14px/21px var(--sans);
  --type-small: 400 14px/20px var(--sans);
  --type-label: 500 12px/18px var(--sans);
  --type-tab: 500 12px/17px var(--sans);
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --type-code: 400 13px/19px var(--mono);
  --type-log: 400 12px/18px var(--mono);
  --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font: var(--type-body); color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased;
  color-scheme: light;
}
@media (max-width: 599px) {
  .gg { --type-title: 600 20px/25px var(--sans); --type-row: 500 16px/23px var(--sans); --type-body: 400 16px/23px var(--sans); }
}
/* Dark when the person chose it, or chose System on a dark device (board
   T1): the script sets <html data-mode> as it starts. */
:root[data-mode="dark"] {
  .gg {
    --bg: #151516; --panel: #1e1e20; --line: #36363a; --control-line: #6f6f75;
    --text: #ececea; --muted: #a5a5a0; --accent: #6cb2ff; --accent-text: #0b1a2b; --on-bg: #1b3350;
    --ok: #5fd08a; --bad: #ff8a80; --warn: #f2bf5e; --retry: #f2bf5e; --cancel: #a5a5a0;
    --bar: #2c2c30; --code-bg: #0c0d0e; --focus: #8cc4ff;
    --new-bg: #3a2c0c; --new-text: #f2bf5e; --ok-bg: #12301f; --bad-bg: #3a1614; --warn-bg: #3a2c0c;
    --scrim: rgba(0, 0, 0, .55);
    --hot: #f2bf5e; --unread-bad: #2c1817; --unread-info: #17243a; --unread-warn: #2c2412; --unread-ok: #14261b;
    --shadow: 0 12px 32px rgba(0, 0, 0, .5); --sheet-shadow: 0 16px 40px rgba(0,0,0,.25);
    /* The dark theme keeps today's look: the new roles take the values
       their parts had before the restyle. */
    --button-line: #6f6f75; --accent-hover: #6cb2ff; --hover: #151516; --tab-off: #ececea;
    --run: #6cb2ff; --run-line: #36363a; --load: #6cb2ff; --code-text: #e8e8e6; --focus-on-dark: #8cc4ff; --info-bg: #1b3350; --info-text: #ececea;
    --chip-bg: transparent; --chip-line: #36363a;
    --chip-bad: #ff8a80; --chip-bad-bg: transparent; --chip-bad-line: #36363a;
    --chip-need: #f2bf5e; --chip-need-bg: transparent; --chip-need-line: #36363a;
    color-scheme: dark;
  }
}
html, body { margin: 0; padding: 0; }
.gg *, .gg *::before, .gg *::after { box-sizing: border-box; }
.gg { min-height: 100vh; min-height: 100dvh; -webkit-text-size-adjust: 100%; }
.gg a { color: var(--accent); }
.gg a:hover { color: var(--accent-hover); }
.gg h1 { font: var(--type-title); margin: 0; }
.gg h2 { font: var(--type-section); margin: 0; }
.gg h3 { font-size: .9375rem; margin: 0; }
.gg p { margin: 0; }
.gg .muted { color: var(--muted); }
.gg .small { font: var(--type-small); }
.gg .tiny { font-size: .75rem; }
.gg .hidden { display: none !important; }
.gg .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.gg :focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

/* The frame (boards DS1, DS4): from 960 px the menu on the left; from 600
   to 959 px the tab bar's places in a row under the header; under 600 px
   the tab bar at the bottom. Signed-out pages have no menu. */
.gg.shell { display: flex; align-items: stretch; }
.gg svg.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.gg svg.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.gg .sidenav { width: 236px; flex: none; background: var(--panel); border-right: 1px solid var(--line); display: flex; flex-direction: column; padding: 12px 10px; gap: 2px; position: sticky; top: 0; height: 100vh; height: 100dvh; overflow-y: auto; }
.gg .sidenav .head { display: flex; flex-direction: column; padding: 6px 10px 10px; }
.gg .brand { font-weight: 600; color: var(--text); text-decoration: none; }
.gg .machine { color: var(--muted); font: var(--type-small); overflow-wrap: anywhere; }
.gg .sidenav .nav { display: flex; align-items: center; gap: 10px; min-height: 36px; padding: 0 10px; border-radius: 8px; color: var(--text); text-decoration: none; font: var(--type-body); width: 100%; border: 0; background: none; justify-content: flex-start; text-align: left; }
.gg .sidenav .nav:hover { background: var(--hover); color: var(--text); }
.gg .sidenav .nav .label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gg .sidenav .nav.on { background: var(--on-bg); color: var(--accent); font-weight: 600; }
.gg .sidenav .navlabel { padding: 14px 10px 4px; font: var(--type-label); color: var(--muted); }
.gg .sidenav .navgroup[hidden] { display: none; }
.gg .sidenav .mark { flex: 0 0 20px; text-align: center; font-weight: 600; }
.gg .sidenav .mark.ok { color: var(--ok); }
.gg .sidenav .mark.off { color: var(--muted); }
.gg .sidenav .mark.wait { color: var(--warn); }
.gg .sidenav .mark.bad { color: var(--bad); }
.gg .sidenav .said-word { font: var(--type-small); font-weight: 500; color: var(--muted); }
.gg .sidenav .foot { margin-top: auto; border-top: 1px solid var(--line); padding-top: 8px; display: flex; flex-direction: column; gap: 2px; }
/* Profile (Claude Design H1fqxnjJSsp8YDE7ksexkT, boards B1-B3): the
   avatar is the first letter of the email on a zinc disc. */
.gg .ava { width: 20px; height: 20px; flex: none; border-radius: var(--pill); background: var(--on-bg); color: var(--text); font: 600 11px/20px var(--sans); text-align: center; }
.gg .ava.big { width: 28px; height: 28px; font: 600 13px/28px var(--sans); }
.gg .sidenav .profile .caret { width: 16px; height: 16px; color: var(--muted); transform: rotate(180deg); }
.gg .sidenav .profile[aria-expanded="true"] { background: var(--hover); }
.gg .sidenav .profile[aria-expanded="true"] .caret { transform: none; }
/* The menu above Profile: placed by the script from where Profile is. */
.gg .pmenu { position: fixed; z-index: 20; width: 236px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px; display: flex; flex-direction: column; gap: 2px; box-shadow: var(--shadow); }
.gg .pmenu[hidden], .gg .sidenav .nav[hidden], .gg .rows > .go[hidden] { display: none; }
.gg .pmenu .pwho { display: flex; align-items: center; gap: 10px; padding: 8px 10px 10px; color: var(--muted); font: var(--type-small); overflow-wrap: anywhere; min-width: 0; }
.gg .pmenu .sep { height: 1px; background: var(--line); margin: 4px; }
.gg .pmenu .pwho + .sep { margin-top: 0; }
.gg .pmenu .nav:focus-visible { outline-offset: -2px; }
/* Theme (boards T1, PT): three buttons in a tray, the pressed one raised. */
.gg .pmenu .ptheme { display: flex; flex-direction: column; gap: 8px; padding: 4px 10px 6px; }
.gg .pmenu .plabel { font: var(--type-label); color: var(--muted); }
.gg .themeseg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; background: var(--hover); border-radius: 10px; padding: 4px; }
.gg .themeseg button { font: var(--type-small); min-height: 36px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); padding: 0 4px; }
.gg .themeseg button[aria-checked="true"] { font-weight: 500; background: var(--panel); color: var(--text); box-shadow: 0 1px 2px rgba(9, 9, 11, .12); }
.gg .themeseg button:focus-visible { outline-offset: -2px; }
.gg .rows.appearance { padding: 16px; gap: 10px; }
.gg .rows.appearance .themeseg { border-radius: 12px; }
.gg .rows.appearance .themeseg button { min-height: 44px; border-radius: 10px; font: var(--type-body); }
.gg .rows.appearance .themeseg button[aria-checked="true"] { font-weight: 500; }
.gg .sidenav .nav .ver, .gg .pmenu .nav .ver { color: var(--muted); }
.gg .shell-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.gg .phonetop { display: none; align-items: center; gap: 10px; min-height: 48px; padding: 0 4px 0 16px; background: var(--panel); border-bottom: 1px solid var(--line); }
.gg .phonetop .machine { flex: 1; }
.gg .phonetop button.link { min-height: 44px; }
.gg .phonenav { display: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); background: var(--panel); border-top: 1px solid var(--line); position: sticky; bottom: 0; padding-bottom: env(safe-area-inset-bottom); z-index: 2; }
.gg .phonenav a { min-height: 60px; display: flex; flex-direction: column; gap: 2px; align-items: center; justify-content: center; color: var(--tab-off); text-decoration: none; font: var(--type-tab); }
.gg .phonenav a svg.i { width: 22px; height: 22px; }
.gg .phonenav a.on { color: var(--accent); font-weight: 600; box-shadow: inset 0 3px 0 var(--accent); }
/* The current Mac's sections under it in the menu (Claude Design
   5vaLeWj5ayzzPquCj7ir9r, board S2). */
.gg .sidenav .subnav { display: flex; flex-direction: column; gap: 2px; margin: 0 0 4px 19px; padding-left: 10px; border-left: 1px solid var(--line); }
.gg .sidenav .subnav[hidden] { display: none; }
.gg .sidenav .nav.sub { min-height: 32px; }
.gg .sidenav .nav.sub svg.i { width: 18px; height: 18px; }
.gg .sidenav .nav.cur { font-weight: 600; }
/* The pages of Tests, under it (board "Build times in the one menu"). */
.gg .sidenav .subpages { display: flex; flex-direction: column; gap: 2px; margin-left: 28px; }
.gg .sidenav .subpages[hidden] { display: none; }
/* One header on every page of a Mac (boards S2, S4). */
.gg .machead { display: flex; flex-direction: column; gap: 6px; }
.gg .machead .headrow { display: flex; align-items: flex-end; gap: 16px; }
.gg .machead .heads { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.gg .machead .tools:empty { display: none; }
/* The page's own control there looks as it does on the page (page-dash.css). */
.gg .machead .tools select { font: inherit; min-height: 44px; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--control-line); background: var(--panel); color: var(--text); min-width: 0; }
/* The pages of Tests as a switch on a phone. */
.gg .testpages { display: flex; border: 1px solid var(--control-line); border-radius: var(--pill); overflow: hidden; }
.gg .testpages a { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 8px; text-align: center; color: var(--text); text-decoration: none; font-weight: 500; }
.gg .testpages a[aria-current="page"] { background: var(--text); color: var(--bg); }
.gg .macline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); }
.gg .macline .name { color: var(--text); font-weight: 500; overflow-wrap: anywhere; }
.gg .macline:has(.name:empty) { min-height: 22px; }
.gg .macsecs { display: flex; gap: 18px; overflow-x: auto; }
.gg .macsecs a { display: flex; align-items: center; min-height: 44px; padding: 0 4px; font-weight: 500; color: var(--tab-off); text-decoration: none; white-space: nowrap; }
.gg .macsecs a[aria-current="page"] { color: var(--text); box-shadow: inset 0 -2px 0 var(--accent); }
.gg .phonetop .backhome { display: none; align-items: center; gap: 2px; min-height: 44px; color: var(--text); text-decoration: none; font-weight: 500; }
.gg .phonetop .backhome svg.i { width: 20px; height: 20px; }
@media (max-width: 959px) {
  /* A phone: "‹ Home" in the bar; the Mac's line and its sections are one
     white band under it, and the page's title is the section's. */
  .gg.at-mac .phonetop .brand, .gg.at-mac .phonetop .machine { display: none; }
  .gg.at-mac .phonetop .backhome { display: flex; flex: 1; }
  .gg.at-mac .phonetop { border-bottom: 0; }
  .gg .machead { margin: -16px -16px 0; padding: 0 4px 0 16px; background: var(--panel); border-bottom: 1px solid var(--line); gap: 0; }
  .gg .machead .headrow { display: block; }
  .gg .machead .heads { gap: 0; }
  .gg .machead .macline { padding: 0 12px 8px 0; }
  .gg .machead .macline .name { font: var(--type-heading); letter-spacing: -0.015em; }
  .gg .machead .macline .right { margin-left: auto; }
  .gg .machead h1 { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.gg.out .sidenav, .gg.out .phonenav { display: none; }
.gg.out .phonetop { display: flex; }
@media (max-width: 959px) {
  .gg.shell { flex-direction: column; }
  .gg .sidenav { display: none; }
  .gg .phonetop { display: flex; }
  .gg .phonenav { display: grid; }
  .gg .shell-main { flex: 1; }
}
/* A tablet: the same places in one row under the header, icon beside word. */
@media (min-width: 600px) and (max-width: 959px) {
  .gg .phonenav { order: -1; position: sticky; top: 0; bottom: auto; border-top: 0; border-bottom: 1px solid var(--line); padding-bottom: 0; grid-auto-columns: max-content; gap: 4px; padding: 0 8px; }
  .gg .phonenav a { flex-direction: row; gap: 8px; min-height: 48px; padding: 0 12px; font: var(--type-body); color: var(--text); }
  .gg .phonenav a.on { box-shadow: inset 0 -3px 0 var(--accent); }
  .gg .shell-main > .phonetop { order: -2; }
}

/* Profile on a phone (board B3): the avatar, the heading and the email,
   then the account's places as rows; Sign Out in its own card. */
.gg .profilehead { display: flex; align-items: center; gap: 12px; }
.gg .profilehead .ava.big { width: 40px; height: 40px; font: 600 16px/40px var(--sans); }
.gg .profilehead .stack { gap: 0; min-width: 0; }
.gg .profilehead .who { font: var(--type-small); color: var(--muted); overflow-wrap: anywhere; }
/* The account's places, as rows. */
.gg .rows { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 2px 16px; display: flex; flex-direction: column; }
.gg .rows > .who { font: var(--type-small); color: var(--muted); padding: 10px 0 4px; overflow-wrap: anywhere; }
.gg .rows > .go { min-height: 48px; display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; border: 0; border-bottom: 1px solid var(--bar); border-radius: 0; background: none; padding: 0; font: var(--type-body); width: 100%; justify-content: flex-start; text-align: left; }
.gg .rows > .go:last-child { border-bottom: 0; }
.gg .rows > .go > svg.i { color: var(--muted); }
.gg .rows > .go > .label { flex: 1; }
.gg .rows > .go > .count { font: var(--type-small); color: var(--muted); font-variant-numeric: tabular-nums; }
.gg .rows > .go > svg.i.end { width: 16px; height: 16px; }

.gg main { display: flex; flex-direction: column; gap: 12px; padding: 16px; width: 100%; max-width: 980px; flex: 1; }
.gg main:focus { outline: none; }
@media (min-width: 960px) { .gg main { padding: 24px 28px; } }
/* Home fills the width (board H1). */
.gg main.wide { max-width: none; }
@media (min-width: 960px) { .gg main.wide { padding: 24px 32px; gap: 16px; } }
.gg .card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; min-width: 0; }
.gg .stack { display: flex; flex-direction: column; gap: 10px; }
.gg .row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.gg .spacer { flex: 1 1 0; }
.gg .grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 959px) { .gg .grid2 { grid-template-columns: minmax(0, 1fr); } }
.gg .ic { display: inline-flex; align-items: center; gap: 8px; }
.gg .ic svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.gg .name-line { font-weight: 600; font-size: 1.0625rem; overflow-wrap: anywhere; min-width: 0; }

.gg button, .gg .button {
  font: inherit; min-height: 44px; padding: 6px 16px; border-radius: var(--pill);
  border: 1px solid var(--button-line); background: var(--panel); color: var(--text); text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap; cursor: pointer;
}
.gg button.primary, .gg .button.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-text); font-weight: 500; }
.gg button.danger, .gg .button.danger { color: var(--bad); border-color: var(--bad); font-weight: 500; }
.gg button.danger.solid { background: var(--bad); color: #fff; }
.gg button.link { border: 0; background: none; color: var(--accent); padding: 0 4px; min-height: 36px; }
.gg button:disabled, .gg button.busy, .gg .button[aria-disabled="true"] { opacity: .55; cursor: default; }
@media (max-width: 959px) { .gg button, .gg .button { min-height: 48px; } .gg button.link { min-height: 36px; } .gg .card > .button.primary.wide { width: 100%; } }
.gg input { font: inherit; min-height: 44px; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--control-line); background: var(--panel); color: var(--text); min-width: 0; width: 100%; }
.gg input.invalid { border-color: var(--bad); }
.gg label.name { font-weight: 500; font-size: .875rem; }
.gg .field { display: flex; flex-direction: column; gap: 4px; }
.gg .field .err { color: var(--bad); font-size: .875rem; }

.gg .list { display: flex; flex-direction: column; }
.gg .item { display: flex; align-items: center; gap: 12px; padding: 12px 0; min-width: 0; border-top: 1px solid var(--line); }
.gg .list > .item:first-child { border-top: 0; }
.gg .item .what { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.gg .item-title { font-weight: 500; overflow-wrap: anywhere; }
.gg .item-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
@media (max-width: 959px) { .gg .item { flex-direction: column; align-items: stretch; } .gg .item > button { align-self: flex-start; } }

/* A Mac's card: on a phone Open is the full-width button, and the
   detail lines a desktop shows are left out. */
@media (max-width: 959px) {
  .gg .desk-only { display: none; }
  .gg .mac .acts .open { flex: 1 1 100%; }
}

/* A state: word + mark + colour. */
.gg .badge { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: .875rem; white-space: nowrap; }
.gg .badge .dot { width: 8px; height: 8px; border-radius: 4px; display: inline-block; background: currentColor; }
.gg .badge.ok { color: var(--ok); } .gg .badge.bad { color: var(--bad); } .gg .badge.warn { color: var(--warn); } .gg .badge.muted { color: var(--muted); }
.gg .pill { display: inline-flex; align-items: center; min-height: 22px; padding: 0 10px; border-radius: var(--pill); font-size: 12px; font-weight: 500; }
.gg .pill.plain { color: var(--muted); background: var(--bar); }

/* Notices: what happened, what it means, one action. Never a bare red line. */
.gg .notice { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); font-size: .9375rem; }
.gg .notice.bad { border-color: var(--bad); }
.gg .notice.warn { border-color: var(--warn); }
.gg .notice.info { background: var(--info-bg); border-color: transparent; }
.gg .notice .t { font-weight: 600; }
.gg .banner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 10px 16px; font-size: .9375rem; background: var(--warn-bg); color: var(--text); border-bottom: 1px solid var(--line); }
.gg .banner.bad { background: var(--bad-bg); }

/* Loading: blocks shaped like the content, never a lone spinner. */
.gg .sk { background: var(--bar); border-radius: 6px; height: 14px; }
.gg .sk.t { height: 20px; width: 40%; }
.gg .sk.w80 { width: 80%; } .gg .sk.w60 { width: 60%; } .gg .sk.w40 { width: 40%; }
.gg .sk.btn { width: 120px; height: 44px; }
.gg .spin { width: 16px; height: 16px; border-radius: 8px; border: 2px solid var(--bar); border-top-color: var(--run); display: inline-block; flex: none; animation: gg-spin .9s linear infinite; }
@keyframes gg-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .gg .spin { animation: none; } }

/* Empty: one sentence on why, one action. */
.gg .empty { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 24px 16px; }
.gg .empty .t { font-weight: 600; font-size: 1.0625rem; }
.gg .code { font-family: var(--mono); font-size: 15px; letter-spacing: .02em; padding: 10px 12px; background: var(--bg); border: 1px dashed var(--control-line); border-radius: 8px; overflow-wrap: anywhere; }
.gg .kept { display: grid; grid-template-columns: minmax(0, 14rem) minmax(0, 1fr); gap: 10px 16px; margin: 0; }
.gg .kept dt { font-weight: 500; }
.gg .kept dd { margin: 0; color: var(--muted); }
@media (max-width: 959px) { .gg .kept { grid-template-columns: minmax(0, 1fr); gap: 2px; } .gg .kept dd { margin-bottom: 8px; } }
.gg .links { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: .875rem; }

/* Sheets: a question, what it does, the safe button focused. A phone
   gets it from the bottom, the safe button on top. */
.gg dialog.sheet { border: 0; padding: 0; background: transparent; color: var(--text); max-width: 100%; max-height: 100%; }
.gg dialog.sheet::backdrop { background: var(--scrim); }
.gg .sheet-body { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; width: 440px; max-width: calc(100vw - 32px); display: flex; flex-direction: column; gap: 14px; box-shadow: var(--sheet-shadow); }
.gg .sheet-body .acts { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
@media (max-width: 959px) {
  .gg dialog.sheet { margin: auto 0 0; width: 100%; }
  .gg .sheet-body { width: 100%; max-width: 100%; border-radius: 16px 16px 0 0; border-bottom: 0; padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
  .gg .sheet-body .acts { flex-direction: column-reverse; align-items: stretch; }
}


/* "Add to Home Screen" (board P20): on an iPhone in Safari, above the page. */
.gg #install:empty { display: none; }
.gg #install { padding: 16px 16px 0; }
.gg .install { display: flex; flex-direction: column; gap: 8px; }
.gg .install h2 { font: var(--type-heading); }
.gg .install ol { margin: 4px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.gg .install li { display: flex; align-items: center; gap: 12px; }
.gg .install li > span:last-child { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.gg .install .n { flex: 0 0 28px; height: 28px; border-radius: 14px; background: var(--on-bg); color: var(--accent); font-weight: 600; display: flex; align-items: center; justify-content: center; }
.gg .install svg.i { width: 20px; height: 20px; }
/* Signed-out pages (boards C-02, C-08): one narrow column, the site's
   name above the card on a desktop (the phone has it in the top bar). */
.gg .door { width: 100%; max-width: 440px; margin: 0 auto; gap: 16px; }
.gg .door.wide { max-width: 480px; }
.gg .door > .card { padding: 24px; gap: 14px; }
.gg .door > .card.empty { padding: 28px 24px; }
.gg .door .brandrow { gap: 8px; }
.gg .door .brandrow strong { font-size: 1.125rem; }
.gg .door .links { gap: 18px; }
.gg .ic.bad { color: var(--bad); }
.gg .ic.big svg { width: 28px; height: 28px; }
@media (min-width: 960px) {
  .gg.out .phonetop { display: none; }
  .gg .door { padding-top: 48px; }
}

/* An own relay's page (boards C-09, C-10): the same card, words and
   badges, under a header that names the server; no menu. */
.gg.relay .phonetop { display: flex; position: relative; }
.gg.relay main { margin: 0 auto; max-width: 668px; }
.gg.relay #account { display: inline-flex; align-items: center; gap: 6px; }
.gg.relay #account.hidden { display: none; }
.gg.relay #account svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.gg .acct-menu { position: absolute; right: 12px; top: calc(100% + 4px); z-index: 5; display: flex; flex-direction: column; gap: 8px; min-width: 180px; padding: 10px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--sheet-shadow); }
.gg .acct-menu.hidden { display: none; }
.gg .check { display: flex; align-items: center; gap: 8px; font-size: .875rem; }
.gg .check input { width: auto; min-height: 0; }
.gg input.mono { font-family: var(--mono); letter-spacing: .08em; }
.gg .grow { flex: 1 1 0; }
.gg.relay .door > .card { gap: 12px; }
@media (min-width: 960px) {
  .gg.relay .phonetop { min-height: 52px; padding: 0 20px; }
  .gg.relay .door { padding-top: 32px; }
}
@media (max-width: 959px) {
  .gg .stack-phone { flex-direction: column; align-items: stretch; }
}
.gg.relay .phonetop .brand { display: inline-flex; align-items: center; min-height: 44px; }
.gg.relay .check { min-height: 44px; }

/* Your Macs as cards, and one Mac's page (boards Controller-macs-cards
   and Controller-mac-open): a state in a word, the load as three bars,
   and the buttons that state allows. Sizes are the boards'; colours are
   the tokens, so the dark scheme follows by itself. */
.gg main.boards { font-size: 14px; gap: 16px; max-width: none; }
@media (min-width: 960px) { .gg main.boards { padding: 24px 32px 40px; } }
.gg main.boards h1 { font-size: 24px; letter-spacing: -0.02em; }
.gg main.boards h2 { font-size: 17px; }
.gg main.boards h2.name-line { font-weight: 600; }
.gg main.boards .sub { font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }
.gg main.boards button, .gg main.boards .button { min-height: 44px; padding: 0 16px; font-weight: 500; gap: 8px; }
.gg main.boards button:disabled { opacity: .5; }
.gg main.boards button.link { display: inline; min-height: 0; padding: 0; font-weight: 400; text-decoration: underline; }
.gg main.boards .card:not(.empty) { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 960px) { .gg .phone-only { display: none; } }
.gg .pagehead { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.gg .pagehead .titles { flex: 1; min-width: 200px; }
.gg .pagehead.one .titles { min-width: 220px; }
.gg .pagehead .titled { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.gg .pagehead h1 { overflow-wrap: anywhere; min-width: 0; }
.gg .back { font-size: 14px; text-decoration: none; align-self: flex-start; }
.gg .cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 16px; align-items: stretch; }
.gg .cards.top { align-items: start; }
.gg .mac .top { display: flex; align-items: flex-start; gap: 12px; }
.gg .mac .top .titles { flex: 1; min-width: 0; }
.gg .state { font-weight: 500; white-space: nowrap; }
.gg .state.ok { color: var(--ok); } .gg .state.warn { color: var(--warn); } .gg .state.bad { color: var(--bad); }
.gg .state.muted { color: var(--muted); } .gg .state.accent { color: var(--warn); }
.gg .state.go { color: var(--run); } .gg .state.need { color: var(--chip-need); }
/* A status with its mark is a chip: failed and "needs you" are filled,
   running has the blue line, the rest are outlined. */
.gg .state.chip {
  display: inline-flex; align-items: center; width: fit-content; padding: 0 10px;
  border: 1px solid var(--chip-line); border-radius: var(--pill); background: var(--chip-bg);
  font-size: 12px; line-height: 22px; font-weight: 500;
}
.gg .state.chip.bad { color: var(--chip-bad); background: var(--chip-bad-bg); border-color: var(--chip-bad-line); }
.gg .state.chip.need { background: var(--chip-need-bg); border-color: var(--chip-need-line); }
.gg .state.chip.go { border-color: var(--run-line); }
.gg svg.macicon { width: 34px; height: 34px; flex: none; color: var(--muted); }
.gg svg.macicon.big { width: 40px; height: 40px; }
.gg svg.macicon rect { fill: none; stroke: var(--muted); stroke-width: 1.8; }
.gg svg.macicon circle { fill: currentColor; stroke: none; }
.gg svg.macicon.ok { color: var(--ok); } .gg svg.macicon.warn { color: var(--warn); } .gg svg.macicon.bad { color: var(--bad); }
.gg svg.power { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.gg .bars { display: flex; flex-direction: column; gap: 6px; }
/* Boards A3 and A4 of the Mac cards canvas: label, bar and a value that
   never wraps, on one grid, so the three bars stand exactly under each other. */
.gg .bar { display: grid; grid-template-columns: 64px minmax(0, 1fr) 180px; align-items: center; column-gap: 12px; min-height: 22px; font-size: 14px; max-width: 640px; }
.gg .bar .k { color: var(--muted); }
.gg .bar .track { min-width: 0; height: 8px; border-radius: 4px; background: var(--bar); display: flex; }
.gg .bar .fill { border-radius: 4px; background: var(--load); }
.gg .bar .v { text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.gg .bar .v .sub { color: var(--muted); }
@media (max-width: 959px) { .gg .bar { grid-template-columns: 62px minmax(0, 1fr) 112px; column-gap: 10px; } }
.gg .bar.hot .fill { background: var(--hot); }
.gg .bar.hot .v { color: var(--new-text); }
.gg .mac .acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.gg .mac .acts .grow { flex: 1 1 140px; }
.gg .slot:empty { display: none; }
.gg .btns { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.gg .cardhead { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.gg .cardhead a { font-size: 14px; }
.gg .runrow { display: flex; align-items: center; gap: 12px; }
.gg .runrow .what { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.gg a.plain { display: flex; align-items: center; min-height: 44px; padding: 0 8px; }
/* The steps of "Add a Mac". */
.gg .steps { display: flex; flex-direction: column; gap: 12px; }
.gg .steps .step { display: flex; gap: 12px; align-items: flex-start; }
.gg .steps .n { flex: none; width: 28px; height: 28px; border-radius: 14px; background: var(--on-bg); color: var(--accent); font-weight: 600; display: flex; align-items: center; justify-content: center; }
.gg .steps strong { font-weight: 500; }
/* What came of an action, in one line: the mark, what happened, the way out. */
.gg .said { padding: 12px 14px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); overflow-wrap: anywhere; }
.gg .said strong { font-weight: 500; }
.gg .said.bad { border-color: var(--bad); } .gg .said.bad strong { color: var(--bad); }
.gg .said.ok { border-color: var(--ok); } .gg .said.ok strong { color: var(--ok); }
.gg .said.warn { background: var(--warn-bg); color: var(--new-text); border-color: transparent; }
/* How far an update is (board "Update from Your Macs"). */
.gg .update-steps { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 3px; color: var(--muted); }
.gg .update-steps li.ok { color: var(--ok); } .gg .update-steps li.now { color: var(--text); font-weight: 500; }
.gg .said.mini { padding: 8px 10px; border-radius: 8px; font-size: 14px; }
/* A Mac's activity (board Controller-mac-activity). */
.gg .tablecard { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow-x: auto; }
.gg .tablecard table { width: 100%; border-collapse: collapse; font-size: 15px; text-align: left; }
.gg .tablecard th { padding: 10px 12px; font-size: 13px; font-weight: 600; color: var(--muted); }
.gg .tablecard td { padding: 10px 12px; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.gg .tablecard td.when { color: var(--muted); white-space: nowrap; }
.gg .tablecard td.from { color: var(--muted); }
/* The sheets of a Mac (boards Controller-mac-sheet-*): the safe button
   first, the one that acts last. */
.gg .sheet-body.b { width: 512px; border-radius: 12px; gap: 12px; font-size: 15px; }
.gg .sheet-body.b h2 { font-size: 18px; }
.gg .sheet-body.b .acts { gap: 8px; margin-top: 4px; }
.gg .sheet-body.b button { padding: 0 16px; font-weight: 500; gap: 8px; }
.gg .sheet-body.b label { font-weight: 500; }
.gg .sheet-body.b strong { font-weight: 500; }
.gg .sheet-body.b strong.bad { color: var(--bad); }
@media (max-width: 959px) {
  .gg main.boards { padding: 20px 16px; gap: 14px; }
  .gg main.boards h1 { font-size: 26px; }
  .gg main.boards .pagehead.one h1 { font-size: 22px; }
  .gg main.boards .big { min-height: 48px; }
  .gg .pagehead { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 14px; }
  .gg .pagehead .titles, .gg .pagehead.one .titles { min-width: 0; flex: none; }
  .gg .pagehead.list .titles { display: flex; flex-direction: column; gap: 14px; }
  .gg .back { min-height: 44px; display: flex; align-items: center; }
  .gg .cards { gap: 14px; }
  .gg .sheet-body.b { width: 100%; border-radius: 16px 16px 0 0; }
  .gg .sheet-body .acts.safe-first { flex-direction: column; }
}
/* How much of this Mac CI may use (boards C2-Mac, P2-Mac): three levels as
   rows to choose from, the one in use outlined; what each gives at right. */
.gg .levels { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.gg .levels legend { padding: 0; margin-bottom: 4px; }
.gg .lvl { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); cursor: pointer; }
.gg .lvl.on { border: 2px solid var(--accent); background: var(--on-bg); padding: 9px 13px; }
.gg .lvl input { width: 20px; height: 20px; min-height: 0; margin: 0; flex: none; accent-color: var(--accent); }
.gg .lvl .who { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.gg .lvl .name { font-weight: 500; }
.gg .lvl .size { white-space: nowrap; font-variant-numeric: tabular-nums; }
.gg .lvl:has(input:disabled) { cursor: default; }
.gg .lvl input:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
/* One Mac (boards C2-Mac, P2-Mac): one column of cards, about 920 px wide. */
.gg .onecol, .gg .onecol-head { width: 100%; max-width: 920px; }
.gg .onecol { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.gg .onecol-head .sub { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.gg .onecol .card { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.gg .onecol .bars { display: flex; flex-direction: column; gap: 8px; }
.gg .onecol .runs { display: flex; flex-direction: column; gap: 6px; }
.gg .onecol .btns.two > * { flex: 1 1 0; min-width: 0; min-height: 44px; }
.gg .onecol .verline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.gg .onecol .verline .what { flex: 1 1 auto; min-width: 0; font-weight: 500; }
.gg .onecol .adv summary { cursor: pointer; list-style: none; display: flex; align-items: center; min-height: 44px; }
.gg .onecol .adv summary::-webkit-details-marker { display: none; }
.gg .onecol .adv summary::after { content: "›"; margin-left: auto; color: var(--muted); font-size: 20px; transition: transform .15s; }
.gg .onecol .adv[open] summary::after { transform: rotate(90deg); }
.gg .onecol .advrow { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; min-height: 44px; border-top: 1px solid var(--line); }
.gg .onecol .advrow .k { flex: 1 1 8em; min-width: 0; }
.gg .onecol .advrow .v { color: var(--muted); overflow-wrap: anywhere; margin-left: auto; text-align: right; }
.gg .onecol .warn-text { color: var(--warn); font-weight: 500; }
@media (prefers-reduced-motion: reduce) { .gg .onecol .adv summary::after { transition: none; } }
.gg .onecol button.link.danger { color: var(--bad); }
/* This browser is not paired with the Mac (Claude Design
   VEu46r8J3mnAVgH5xJu2va, boards A1-A3): the line under the header and
   the sheet that tells how to pair. */
.gg .pairbar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 16px 18px;
  background: var(--unread-warn); border: 1px solid var(--chip-need-line); border-radius: var(--radius);
}
.gg .pairbar .pairtext { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.gg .pairbar .pairtext strong { font-weight: 600; }
.gg .pairbar button { min-height: 44px; padding: 0 20px; border-radius: var(--pill); font-weight: 500; }
.gg .sheet-body.b.pairsheet { width: 620px; padding: 28px; gap: 18px; font-size: 14px; }
.gg .sheet-body.b.pairsheet h2 { margin: 0; font-size: 20px; font-weight: 600; }
.gg .sheet-body.b.pairsheet p { margin: 0; }
.gg .sheet-body.b.pairsheet strong { font-weight: 600; }
.gg .pairpart { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); }
.gg .pairpart[data-pair="passkey"] { gap: 10px; }
.gg .pairpart ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; }
.gg .pairpart code { font: var(--type-code); background: var(--bar); border-radius: 6px; padding: 1px 6px; }
.gg .sheet-body.b.pairsheet .acts { justify-content: flex-end; }
.gg .sheet-body.b.pairsheet button { min-height: 44px; padding: 0 20px; border-radius: var(--pill); }
@media (max-width: 959px) {
  .gg .pairbar { flex-direction: column; align-items: stretch; gap: 10px; padding: 14px 16px; }
  .gg .pairbar .pairtext { flex: none; }
  .gg .pairbar button { width: 100%; }
  .gg .sheet-body.b.pairsheet { width: 100%; padding: 20px 16px calc(24px + env(safe-area-inset-bottom)); }
}
/* The confirm sheet (boards C5-Confirm, P11-Confirm): the change in the
   Mac's words, the way it is confirmed, Cancel first on a desktop. On a
   phone it rises from the bottom with a grab handle, and its one button
   names the way, above Cancel. */
.gg dialog.sheet:has(> .cf)::backdrop { background: rgba(17, 19, 21, .55); }
.gg .sheet-body.b.cf { width: 460px; padding: 24px; gap: 14px; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 8px 24px rgba(0, 0, 0, .18); font-size: 15px; }
.gg .sheet-body.b.cf h2 { margin: 0; font-size: 20px; line-height: 1.25; font-weight: 700; }
.gg .cf .cf-lines { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; }
.gg .cf .cf-way { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; display: flex; gap: 12px; align-items: center; font-weight: 600; }
.gg .cf .cf-way .mark { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 20px; background: var(--on-bg); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.gg .cf .cf-way .mark svg.i { width: 24px; height: 24px; }
.gg .sheet-body.b.cf .acts { gap: 8px; margin-top: 0; justify-content: flex-end; }
.gg .sheet-body.b.cf .acts button { min-height: 44px; }
.gg .sheet-body.b.cf .acts button.primary { padding: 0 18px; }
.gg .cf .ph { display: none; }
.gg .cf .ph svg.i { width: 20px; height: 20px; }
@media (max-width: 959px) {
  .gg .sheet-body.b.cf { width: 100%; max-width: 100%; border: 0; border-radius: 16px 16px 0 0; padding: 8px 16px calc(28px + env(safe-area-inset-bottom)); gap: 12px; box-shadow: 0 -8px 24px rgba(0, 0, 0, .18); font-size: 16px; }
  .gg .sheet-body.b.cf::before { content: ""; align-self: center; width: 36px; height: 5px; border-radius: 3px; background: var(--line); }
  .gg .cf .cf-way { display: none; }
  .gg .sheet-body.b.cf .acts.safe-first { flex-direction: column-reverse; align-items: stretch; gap: 12px; }
  .gg .sheet-body.b.cf .acts button { min-height: 48px; }
  .gg .cf .desk { display: none; }
  .gg .cf .ph { display: inline-flex; align-items: center; gap: 8px; }
}
/* Adding a browser, its passkey (approved boards A1, A2, B1, C1 on the
   passkey canvas): the steps, the Mac's words, the way it is confirmed. On
   a phone the one action sits in a bar at the bottom. */
.gg .door > .card.pk { padding: 32px; gap: 16px; border-radius: 12px; }
.gg .pk .pk-steps { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.gg .pk .pk-step { display: flex; align-items: center; gap: 12px; }
.gg .pk .pk-n { flex: 0 0 28px; height: 28px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.gg .pk .pk-step.done .pk-n { background: var(--ok-bg); color: var(--ok); }
.gg .pk .pk-step.now .pk-n, .gg .pk .pk-step.now4 .pk-n { background: var(--on-bg); color: var(--accent); }
.gg .pk .pk-step.now > span:last-child, .gg .pk .pk-step.now4 > span:last-child { font-weight: 600; }
.gg .pk .keywords { padding: 12px 14px; border-radius: 10px; gap: 4px; }
.gg .pk .keywords .words { font-size: 18px; letter-spacing: .04em; }
.gg .pk .pk-bar { display: flex; }
.gg .pk .pk-bar > * { flex: 1; min-height: 44px; }
.gg .pk .pk-go .desk { display: inline-flex; align-items: center; gap: 8px; }
.gg .pk .pk-go svg.i { width: 18px; height: 18px; }
.gg .pk .ph { display: none; }
.gg .pk > div:empty { display: none; }
.gg .pk .keywords .words { font-weight: 600; }
.gg .pk .pk-differ { align-self: center; min-height: 44px; }
.gg .pk .pk-within { text-align: center; }
.gg .pk .pk-where { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; }
.gg .pk .pk-where-t { font-weight: 600; }
.gg .pk .pk-wait { display: flex; align-items: center; gap: 8px; }
.gg .pk .pk-spin { width: 14px; height: 14px; border-radius: 7px; border: 2px solid var(--line); border-top-color: var(--accent); box-sizing: border-box; animation: pk-spin 1s linear infinite; }
@keyframes pk-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .gg .pk .pk-spin { animation: none; } }
.gg .pk .pk-how { margin: 0; padding: 0 0 0 20px; display: flex; flex-direction: column; gap: 6px; }
.gg .pk .pk-where .pk-how { gap: 4px; }
.gg .pk .pk-id { font-family: ui-monospace, Menlo, monospace; font-weight: 600; }
.gg .pk .pk-where { gap: 6px; }

@media (max-width: 959px) {
  .gg .door > .card.pk { padding: 4px 0 calc(96px + env(safe-area-inset-bottom)); border: 0; border-radius: 0; background: transparent; box-shadow: none; }
  .gg .pk h1 { font-size: 20px; line-height: 1.25; }
  .gg .pk .desk { display: none !important; }
  .gg .pk .ph { display: inline; }
  .gg .pk .pk-go .ph { display: inline-flex; }
  .gg .pk .keywords, .gg .pk .pk-where { background: var(--panel); }
  .gg .pk .pk-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 5; background: var(--panel); border-top: 1px solid var(--line); padding: 10px 16px calc(30px + env(safe-area-inset-bottom)); }
  .gg .pk .pk-bar > * { min-height: 48px; }
  .gg .pk .pk-differ { align-self: flex-start; }
}
/* Home (boards H1-H4, C1-FirstRun, P0-FirstRun): the bell and New
   Project beside the title, the Macs as a table with their load, disk and
   version, the projects as a table with their last run. Under 960 px
   (board H3) the same as stacked lines. */
.gg .home { gap: 16px; }
.gg .homehead { display: flex; align-items: center; gap: 12px; }
.gg .homehead .titles { flex: 1; min-width: 0; }
.gg .homehead .newproject { flex: none; }
.gg .rowcard { padding: 14px 20px; display: flex; flex-direction: column; }
.gg .rowcard .cardhead { display: flex; align-items: baseline; gap: 8px; }
.gg .rowcard h2.label { flex: 1; font: var(--type-label); color: var(--muted); }
.gg .rowcard .pool { font-variant-numeric: tabular-nums; }
.gg .state.small:not(.chip) { font: var(--type-small); font-weight: 500; }

/* Boards A1 and A2 of the Mac cards canvas (approved 2026-11-17): every
   Mac its own card on the page; CPU, Memory and Disk one under another
   on one grid, so the bars line up across cards. */
.gg .maccards { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.gg .maccards .cardshead { display: flex; align-items: baseline; gap: 12px; }
.gg .maccards .cardshead h2 { margin: 0; font: var(--type-section); font-size: 16px; font-weight: 600; }
.gg .maccards .pool { flex: 1; color: var(--muted); font-variant-numeric: tabular-nums; }
.gg .maccards button.add { align-self: center; min-height: 36px; padding: 0 14px; gap: 6px; font-weight: 500; }
.gg .maccards button.add svg.i { width: 16px; height: 16px; }
.gg .cardgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(360px, 100%), 1fr)); gap: 16px; }
.gg .maccard { position: relative; display: flex; flex-direction: column; gap: 14px; min-width: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; color: var(--text); }
.gg .maccard:hover { border-color: var(--control-line); }
.gg .maccard .mhead { display: flex; align-items: flex-start; gap: 12px; }
.gg .maccard svg.macicon { width: 28px; height: 28px; margin-top: 1px; }
.gg .maccard svg.macicon.off { color: var(--control-line); }
.gg .maccard .who { flex: 1; min-width: 0; display: flex; flex-direction: column; }
/* The name opens the Mac; its link covers the whole card. */
.gg .maccard a.name { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; color: var(--text); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gg .maccard a.name::after { content: ''; position: absolute; inset: 0; border-radius: 12px; }
.gg .maccard a.name:focus-visible { outline: none; }
.gg .maccard:has(a.name:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
.gg .maccard .roleline .small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gg .maccard .mhead > .state { flex: none; }
.gg .maccard .loads { display: flex; flex-direction: column; gap: 8px; }
.gg .maccard.old .loads { opacity: .5; }
.gg .maccard .lrow { display: grid; grid-template-columns: 64px minmax(0, 1fr) 160px; align-items: center; column-gap: 12px; min-height: 20px; font: var(--type-small); }
.gg .maccard .lrow .k { color: var(--muted); }
.gg .maccard .lrow .lv { text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.gg .maccard .mfoot { display: flex; align-items: center; gap: 8px; border-top: 1px solid var(--bar); padding-top: 12px; font: var(--type-small); }
.gg .maccard .mfoot .num { font-variant-numeric: tabular-nums; }
.gg .maccard .mfoot .uplink, .gg .maccard .mfoot button.uplink { position: relative; z-index: 1; font: var(--type-small); font-weight: 500; min-height: 0; padding: 0; }
.gg .maccard .mfoot .note { flex: 1; text-align: right; color: var(--muted); font-size: 12px; }
.gg .maccard .mfoot svg.i { width: 16px; height: 16px; color: var(--muted); }
.gg .maccard .roleline .state.chip { position: relative; z-index: 1; }
/* The Primary or Secondary chip (canvas EN8L8hoHPK7UMpbxEWHQC6, P1, P3):
   a button over the name's link that covers the card. */
.gg .maccard .pschip { position: relative; z-index: 1; }
.gg .maccard .who > .needtext { position: relative; z-index: 1; }
/* Board A2: the phone. One card a row, larger text, Add a Mac under them. */
@media (max-width: 959px) {
  .gg .maccards .cardshead h2 { font-size: 18px; }
  .gg .maccards .pool { flex: none; margin-left: auto; font-size: 14px; }
  .gg .cardgrid { gap: 12px; }
  .gg .maccard { gap: 12px; padding: 14px 16px; }
  .gg .maccard svg.macicon { display: none; }
  .gg .maccard a.name { font-size: 17px; white-space: normal; }
  .gg .maccard .roleline .small { white-space: normal; }
  .gg .maccard .lrow { grid-template-columns: 62px minmax(0, 1fr) 112px; column-gap: 10px; min-height: 22px; font-size: 14px; }
  .gg .maccard .mfoot { padding-top: 10px; font-size: 14px; }
  .gg .maccard .mfoot .uplink, .gg .maccard .mfoot button.uplink { font-size: 14px; }
  .gg .maccards > button.add { align-self: stretch; min-height: 48px; border-radius: 12px; border-style: dashed; background: var(--panel); gap: 8px; }
  .gg .maccards > button.add svg.i { width: 18px; height: 18px; }
}

/* A bar: its value as a share of its width; amber when nearly full. */
.gg .mbar { height: 8px; border-radius: 4px; background: var(--bar); overflow: hidden; display: flex; }
.gg .mbar .fill { height: 100%; background: var(--load); }
.gg .mbar .fill.hot { background: var(--hot); }
.gg .hotv { color: var(--warn); font-weight: 500; }

/* Board H1: the tables. Every row is a grid of the same columns. */
.gg .ptable { display: flex; flex-direction: column; }
.gg .ptable .prow { display: grid; column-gap: 28px; align-items: center; border-bottom: 1px solid var(--bar); color: var(--text); grid-template-columns: minmax(220px, 1.4fr) minmax(160px, 1fr) minmax(220px, 1.4fr) 160px 20px; }
.gg .ptable .head .c { font: var(--type-label); color: var(--muted); padding: 10px 0 6px; }
.gg .ptable .c { padding: 12px 0; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gg .ptable a.name { font-weight: 500; color: var(--text); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gg .ptable a.name:hover { text-decoration: underline; }
.gg .ptable .res .state:not(.chip) { font: var(--type-small); font-weight: 500; }
.gg .ptable .pname a.name { display: block; }
.gg a.chev { display: inline-flex; color: var(--muted); }
.gg a.chev svg.i { width: 16px; height: 16px; }
/* A narrower window keeps every column of the projects, closer together
   (board H1 is drawn at 1600 px); under 1040 px Home shows lines (H3). */
@media (max-width: 1579px) {
  .gg .ptable .prow { column-gap: 16px; grid-template-columns: minmax(160px, 1.4fr) minmax(120px, 1fr) minmax(160px, 1.4fr) 140px 16px; }
}
.gg .prow.line { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 0; border-bottom: 1px solid var(--bar); color: var(--text); text-decoration: none; }
.gg .prow.line .who { flex: 1; display: flex; flex-direction: column; min-width: 0; overflow-wrap: anywhere; }
.gg .prow.line .name { font-weight: 500; }
.gg .prow.line .state:not(.chip) { font: var(--type-small); font-weight: 500; }
.gg .unreadrow { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 0; border-bottom: 1px solid var(--bar); }
.gg .unreadrow .who { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.gg .unreadrow .name { font-weight: 500; }
/* Running now (canvas "Home: Running now", approved 2026-11-18
   v1794995129-eed9): board R1 a table of the runs that go or wait on
   every Mac, the columns of a Mac's Recent runs plus the Mac; whose a run
   is under it. Board R2 (phone): three lines a run. Board R3: one line
   when nothing goes. */
.gg .nowcard { padding: 16px 20px; display: flex; flex-direction: column; }
.gg .nowcard .cardhead { display: flex; align-items: baseline; gap: 12px; }
.gg .nowcard .cardhead h2 { margin: 0; font: var(--type-section); }
.gg .nowcard .pool { flex: 1; color: var(--muted); font-variant-numeric: tabular-nums; }
.gg .nowcard .allruns { font-weight: 500; }
.gg .ntable { display: flex; flex-direction: column; margin-top: 4px; }
.gg .ntable .nrow { display: grid; grid-template-columns: 120px minmax(0, 2.2fr) minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1fr) 110px 90px; column-gap: 20px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--bar); color: var(--text); text-decoration: none; }
.gg .ntable a.nrow:hover { background: var(--bg); }
.gg .ntable .nrow.head { padding: 10px 0 6px; }
.gg .ntable .nrow.head .c { font: var(--type-label); color: var(--muted); }
.gg .ntable .c { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gg .ntable .c.num { text-align: right; font-variant-numeric: tabular-nums; }
.gg .ntable .rn { font-weight: 500; }
.gg .ntable .sha, .gg .nlines .sha { font-family: var(--mono); font-size: 13px; }
.gg .ntable .whose { grid-column: 2 / 8; margin-top: 2px; font: var(--type-small); font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gg .nowfoot { display: flex; align-items: center; gap: 16px; padding-top: 12px; }
.gg .nowfoot button.link.nowmore { font-weight: 500; text-decoration: underline; padding: 0; min-height: 0; }
@media (max-width: 1579px) {
  .gg .ntable .nrow { column-gap: 14px; grid-template-columns: 112px minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 0.9fr) 100px 80px; }
}
.gg .nrow.line { display: flex; flex-direction: column; gap: 3px; min-height: 44px; padding: 12px 0; border-bottom: 1px solid var(--bar); color: var(--text); text-decoration: none; }
.gg .nrow.line .top { display: flex; align-items: center; gap: 8px; }
.gg .nrow.line .rn { flex: 1; min-width: 0; font-weight: 500; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gg .nrow.line .small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 959px) {
  .gg .nowcard { padding: 12px 16px; }
  .gg .nowcard .cardhead h2 { font-size: 18px; }
  .gg .nowcard .pool { flex: none; margin-left: auto; font-size: 14px; }
  .gg .nowfoot { padding-top: 8px; }
  .gg .nowfoot button.nowmore { flex: 1; min-height: 44px; border-radius: 10px; }
  .gg .nowcard.empty .cardhead { flex-wrap: wrap; }
  .gg .nowcard.empty .pool { flex: 1 1 100%; margin-left: 0; }
}
@media (max-width: 959px) {
  .gg .rowcard { padding: 12px 16px; }
  /* The title is for screen readers; the bell is in the top bar. */
  .gg .homehead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .gg .homehead .bellwrap, .gg .homehead .newproject { display: none; }
}

/* The first run (board C1-FirstRun). */
.gg .firstrun { margin: 8px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.gg .firstrun .fr { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.gg .firstrun .n { flex: 0 0 32px; height: 32px; border-radius: 16px; border: 1px solid var(--control-line); color: var(--muted); font-weight: 600; display: flex; align-items: center; justify-content: center; }
.gg .firstrun .fr.done .n { border: 0; background: var(--ok-bg); color: var(--ok); }
.gg .firstrun .fr.now .n { border: 0; background: var(--accent); color: var(--accent-text); }
.gg .firstrun .who { flex: 1 1 220px; display: flex; flex-direction: column; min-width: 0; }
.gg .firstrun .name { font-weight: 500; }

/* The bell (boards H1, H2) and its panel. */
.gg .bellwrap { position: relative; flex: none; }
.gg button.bell { position: relative; width: 44px; height: 44px; min-height: 44px; padding: 0; border-radius: 22px; border: 1px solid var(--line); background: var(--panel); color: var(--text); display: inline-flex; align-items: center; justify-content: center; }
.gg button.bell svg.i { width: 22px; height: 22px; }
.gg .bell .badge, .gg .belltop .count { position: absolute; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--bad); color: #fff; font-size: 12px; font-weight: 600; line-height: 20px; text-align: center; }
.gg .bell .badge { top: -4px; right: -4px; }
.gg .bell .badge[hidden], .gg .belltop .count[hidden] { display: none; }
.gg .npanel { position: absolute; top: calc(100% + 8px); right: 0; width: 420px; max-width: calc(100vw - 32px); background: var(--panel); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); display: flex; flex-direction: column; overflow: hidden; z-index: 5; }
.gg .npanel .nhead { display: flex; align-items: center; gap: 8px; padding: 14px 16px; border-bottom: 1px solid var(--bar); }
.gg .npanel .nhead strong { flex: 1; }
.gg .npanel .nhead button.link, .gg .nbar button.link { font: var(--type-small); }
.gg .nline { display: flex; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--bar); color: var(--text); text-decoration: none; background: var(--panel); }
.gg .nline .mark { flex: 0 0 18px; font-weight: 600; }
.gg .nline.bad .mark { color: var(--bad); } .gg .nline.warn .mark { color: var(--warn); }
.gg .nline.info .mark { color: var(--accent); } .gg .nline.ok .mark { color: var(--ok); }
.gg .nline .what { flex: 1; min-width: 0; display: flex; flex-direction: column; overflow-wrap: anywhere; }
.gg .nline.unread .t { font-weight: 500; }
.gg .nline .sub { font: var(--type-small); color: var(--muted); }
.gg .nline .go { font: var(--type-small); font-weight: 500; color: var(--accent); }
.gg .nline.unread.bad { background: var(--unread-bad); } .gg .nline.unread.info { background: var(--unread-info); }
.gg .nline.unread.warn { background: var(--unread-warn); } .gg .nline.unread.ok { background: var(--unread-ok); }
.gg .nall { min-height: 48px; display: flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 500; }
.gg .nnone { margin: 0; padding: 16px; color: var(--muted); }

/* The bell in the phone's top bar (board H3): signed in, it replaces the
   service's name. */
.gg .belltop { position: relative; width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; color: var(--text); }
.gg .belltop svg.i { width: 24px; height: 24px; }
.gg .belltop .count { top: 4px; right: 2px; min-width: 18px; height: 18px; border-radius: 9px; line-height: 18px; }
.gg .belltop[hidden] { display: none; }
.gg:not(.out) .phonetop .machine { display: none; }
.gg:not(.out) .phonetop .brand { flex: 1; }

/* The bell's page (board H4): its own bar, the lines edge to edge. */
.gg .nbar { display: flex; align-items: center; gap: 8px; }
.gg .nbar h1 { flex: 1; margin: 0; font: var(--type-title); }
.gg .nbar a.back { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; color: var(--accent); }
.gg .nlist.page { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.gg .nlist.page .nline { padding: 14px 16px; }
@media (max-width: 959px) {
  .gg.at-notifications .phonetop { display: none; }
  .gg.at-notifications main { padding: 0; gap: 0; }
  .gg .nbar { min-height: 52px; padding: 0 12px 0 4px; background: var(--panel); border-bottom: 1px solid var(--line); }
  .gg .nbar h1 { font: var(--type-section); }
  .gg .nlist.page { border: 0; border-radius: 0; }
}
/* The main Mac of the fleet (approved canvas Pbcch8GvSp3pRpi4bBmq5T,
   v1794839217-c736): the card on Your Macs, the role chip on each Mac,
   the chooser sheet and the steps of the change. */
.gg .state.chip.ink { color: var(--text); border-color: var(--control-line); font-weight: 600; }
.gg .roleline { display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: center; }

.gg .leadcard .lead { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.gg .leadcard .leadtext { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.gg .leadcard .leadname { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.gg .leadcard .leadname .big { font-size: 18px; font-weight: 600; letter-spacing: -0.015em; }

.gg .lead-sheet { width: 560px; gap: 16px; }
.gg .lead-sheet h2 { margin: 0; font-size: 20px; font-weight: 600; letter-spacing: -0.015em; }
.gg .lead-sheet .opts { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.gg .lead-sheet .opts legend { padding: 0; margin-bottom: 8px; font-weight: 500; }
.gg .lead-sheet .opt { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.gg .lead-sheet .opt:has(input:checked) { border-color: var(--text); background: var(--hover); }
.gg .lead-sheet .opt.dis { cursor: default; opacity: .6; }
.gg .lead-sheet .opt input { margin: 3px 0 0; width: 18px; height: 18px; accent-color: var(--text); flex: none; }
.gg .lead-sheet .optbody { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.gg .lead-sheet .optname { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.gg .lead-sheet .optname .n { font-weight: 600; }
.gg .lead-sheet .what ul, .gg .lead-sheet ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }
.gg .lead-sheet .info { background: var(--info-bg); color: var(--info-text); border-radius: 8px; padding: 10px 12px; }
.gg .lead-sheet .fail { background: var(--bad-bg); color: var(--text); border-radius: 8px; padding: 10px 12px; }

.gg .lsteps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.gg .lsteps .lstep { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.gg .lsteps .lstep:first-child { border-top: 0; }
.gg .lsteps .num { flex: 0 0 24px; height: 24px; border-radius: var(--pill); border: 1px solid var(--control-line); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 500; }
.gg .lsteps .num.now { background: var(--text); color: var(--panel); border-color: var(--text); }
.gg .lsteps .num.done { color: var(--ok); border-color: var(--ok); }
.gg .lsteps .body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.gg .lsteps .t { font-weight: 500; }
.gg .lead-sheet .mono { font-family: var(--mono); font-size: 12px; overflow-wrap: anywhere; }

/* Make Main Mac… (approved canvas B36FzzHu6NKvCP4wbNLR8g, v1794918050-baa4):
   beside the role chip on Home (A2, B2) and on the Main Mac line of a
   Mac's page (C2, C3). */
.gg .makemain { font-weight: 500; }
.gg .mtable .makemain { min-height: 28px; padding: 0 12px; font: var(--type-small); font-weight: 500; }
.gg .mainline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; border-top: 1px solid var(--bar); padding-top: 12px; }
.gg .mainline .mtext { flex: 1 1 320px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.gg .mainline .mhead { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.gg .mainline .mhead .what { font-weight: 500; }
.gg .mainline .makemain { min-height: 40px; padding: 0 18px; }
.gg .lineitem { border-bottom: 1px solid var(--bar); }
.gg .lineitem > .macrow.line { border-bottom: 0; }
.gg .lineitem .lineact { padding: 0 0 12px; }

/* Not paired, said up front (v1794918778-fb03, boards F2–F5): the line on
   the Main Mac card reuses .pairbar; the box in the sheet and the reason
   beside a greyed Make Main Mac… */
.gg .leadcard .leadpair { margin-top: 14px; padding: 10px 12px; }
.gg .leadcard .leadpair button { min-height: 36px; padding: 0 16px; }
.gg .lead-sheet .pairbox { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 12px; border-radius: 8px; background: var(--unread-warn); border: 1px solid var(--chip-need-line); }
.gg .lead-sheet .pairbox strong { font-weight: 600; }
.gg .lead-sheet .pairbox button { min-height: 36px; padding: 0 16px; border-radius: var(--pill); font-weight: 500; }
.gg .needtext { color: var(--chip-need); }
.gg .lineact .needtext, .gg .mainline .needtext { display: block; margin-top: 6px; }

/* The main Mac lock (v1794931405-0882, boards G1–G10): the Locked chip
   with its icon, the Unlocked chip, the card's two actions, the fixed
   main Mac row of the helper sheet. */
.gg .state.chip.lockchip { display: inline-flex; align-items: center; gap: 4px; border-color: #A1A1AA; }
.gg .state.chip.lockchip svg { flex: none; }
.gg .state.chip.unlocked { color: #854D0E; background: #FEF9C3; border-color: #FCD34D; font-weight: 600; }
.gg .leadcard .lockacts { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.gg .leadcard[data-main-lock] .leadtext { flex: 1 1 360px; }
.gg .leadcard[data-main-lock] .lockacts { flex: none; }
.gg .linkish { border: 0; background: none; color: var(--muted); text-decoration: underline; font: inherit; padding: 0 12px; min-height: 44px; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.gg .linkish:hover { color: var(--text); }
.gg .lead-sheet .opt.fixed { cursor: default; align-items: center; justify-content: space-between; background: var(--hover); }
.gg .lead-sheet .opt.fixed .stays { flex: none; }
.gg .lead-sheet .lockp { margin: 0; }

/* Primary and Secondary (canvas EN8L8hoHPK7UMpbxEWHQC6, v1794986959-06c7,
   boards P1–P4): one chip per Mac card, a button that opens the sheet.
   Primary is filled, Secondary outlined; both carry a chevron. */
.gg .pschip { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 0 11px; border-radius: var(--pill); border: 1px solid var(--control-line); background: none; color: var(--text); font: var(--type-small); font-weight: 600; cursor: pointer; }
.gg .pschip.primary { background: var(--text); color: var(--panel); border-color: var(--text); }
.gg .pschip:hover { border-color: var(--text); }
.gg .pschip svg { flex: none; }
.gg .lead-sheet .pschange { margin: 0; color: var(--muted); }
.gg .lead-sheet .pschange:empty { display: none; }

@media (max-width: 959px) {
  .gg .pschip { min-height: 32px; padding: 0 12px; }
  .gg .leadcard .lockacts { flex-direction: column; align-items: stretch; width: 100%; }
  .gg .leadcard .lockacts button { min-height: 44px; width: 100%; justify-content: center; }
  .gg .makemain, .gg .mainline .makemain { min-height: 44px; padding: 0 18px; }
  .gg .leadcard .leadpair button, .gg .lead-sheet .pairbox button { min-height: 44px; width: 100%; }
  .gg .mainline { flex-direction: column; align-items: flex-start; }
  .gg .mainline .mtext { flex: none; }
}

@media (max-width: 599px) {
  .gg .lead-sheet { width: 100%; }
  .gg .lead-sheet .acts button { flex: 1 1 auto; }
}
/* A Mac joins with one passkey (plan 53 S2, board 2c v1795016655-dbdc)
   and Keep this Mac out of the cluster (board 2b · 3). page-cluster.js. */
.gg .clusterask { display: flex; flex-direction: column; gap: 10px; background: var(--unread-warn); border-color: var(--chip-need-line); }
.gg .clusterask .askhead, .gg .clusterjoin .askhead, .gg .keepout .askhead { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.gg .clusterask h2, .gg .clusterjoin h2 { margin: 0; font-size: 1rem; font-weight: 600; }
.gg .clusterask p { margin: 0; }
.gg .clusterask .acts { display: flex; gap: 8px; flex-wrap: wrap; }
.gg .clusterask .acts.stack { flex-direction: column; }
.gg .clusterask .acts.stack button { width: 100%; min-height: 44px; }
.gg .clusterask .pairbox { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.gg .clusterask .pairbox strong { font-weight: 600; }
.gg .clusterjoin { display: flex; flex-direction: column; gap: 10px; }
.gg .csteps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: .875rem; }
.gg .cstep { display: flex; gap: 10px; align-items: center; color: var(--muted); }
.gg .cstep .mark { width: 14px; text-align: center; flex: none; }
.gg .cstep.ok { color: var(--text); }
.gg .cstep.ok .mark { color: var(--ok); font-weight: 600; }
.gg .cstep.now { color: var(--text); }
.gg .cstep.now .mark { color: var(--chip-need); font-weight: 600; }
.gg .clusterjoin .acts { display: flex; gap: 8px; }
.gg .keepout { display: flex; flex-direction: column; gap: 8px; padding-top: 12px; margin-top: 4px; border-top: 1px solid var(--line); }
.gg .keepout .korow { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.gg .keepout .kotext { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.gg .keepout .kotext .t { font-weight: 500; }
.gg .keepout .switch { flex: none; width: 40px; min-height: 24px; height: 24px; padding: 2px; border-radius: var(--pill); border: 1px solid var(--control-line); background: var(--line); display: inline-flex; align-items: center; cursor: pointer; }
.gg .keepout .switch .knob { width: 18px; height: 18px; border-radius: 50%; background: var(--panel); box-shadow: 0 1px 2px rgba(9, 9, 11, .2); transition: transform .15s; }
.gg .keepout .switch[aria-checked="true"] { background: var(--accent); border-color: var(--accent); }
.gg .keepout .switch[aria-checked="true"] .knob { transform: translateX(16px); }
.gg .keepout .switch:disabled { opacity: .5; cursor: default; }
@media (max-width: 959px) { .gg .keepout .switch { min-height: 24px; } }
@media (prefers-reduced-motion: reduce) { .gg .keepout .switch .knob { transition: none; } }

/* The cluster on Home (plan 53; boards 1, 1b and 6, v1795006102-a7a6):
   the block with its figures and member cards, the Macs outside it, and
   the cluster's waiting runs. page-home.js, clusterBlock. */
.gg .cluster, .gg .outside { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.gg .cluster .chead { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.gg .cluster .ctitle { display: flex; align-items: center; gap: 10px; }
.gg .cluster h2, .gg .outside h2 { margin: 0; font: var(--type-section); font-size: 16px; font-weight: 600; }
.gg .cluster .ckv { display: flex; flex-wrap: wrap; column-gap: 28px; row-gap: 6px; padding: 16px 18px; font-size: 14px; }
.gg .cluster .ckv b { font-weight: 600; }
.gg .cluster .cgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.gg .membercard { gap: 6px; }
.gg .membercard .mhead { align-items: center; justify-content: space-between; }
.gg .membercard .roleline, .gg .outcard .roleline { display: flex; align-items: center; gap: 10px; min-width: 0; }
.gg .membercard .mhead > .small { flex: none; }
/* The Mac's address (canvas K6QYk4bT51jQUi2YUt1G9B, v1795089489-2435). */
.gg .membercard .addr { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.gg .cluster .ip { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; color: var(--text); font-variant-numeric: tabular-nums; }
.gg .cluster button.addrcopy { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 4px; min-height: 28px; padding: 0 8px; border: 1px solid var(--button-line); border-radius: 6px; background: var(--panel); color: var(--text); font-size: 12px; cursor: pointer; }
.gg .cluster button.addrcopy svg.i { width: 14px; height: 14px; }
.gg .cluster button.addrcopy.icon { width: 44px; height: 44px; min-height: 44px; padding: 0; justify-content: center; border-radius: 8px; flex: none; }
.gg .cluster button.addrcopy.icon svg.i { width: 18px; height: 18px; }
.gg .cluster.phone .pmember { display: flex; align-items: center; gap: 10px; min-height: 44px; border-top: 1px solid var(--bar); padding-top: 8px; margin-top: 4px; }
.gg .cluster.phone .pwho { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.gg .cluster.phone .pwho > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gg .cluster.phone .psum { border-top: 1px solid var(--bar); padding-top: 8px; margin-top: 4px; }
.gg .membercard .loads { gap: 6px; margin-top: 4px; }
.gg .membercard .lrow { grid-template-columns: 70px minmax(0, 1fr) 48px; column-gap: 8px; }
.gg .outcard { padding: 16px 18px; }
.gg .outcard .orow { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.gg .cluster.phone { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; }
.gg .cluster.phone h2 { font-size: 15px; }
.gg .cluster.phone p { margin: 0; }
.gg .cluster.phone a.mname { position: relative; color: inherit; }
.gg .csec { display: flex; flex-direction: column; gap: 12px; }
.gg .csec h2 { margin: 0; font: var(--type-section); font-size: 16px; font-weight: 600; }
.gg .ctable { padding: 4px 8px; overflow-x: auto; }
.gg .ctable table { width: 100%; border-collapse: collapse; font-size: 13px; }
.gg .ctable th { text-align: left; font-weight: 500; color: var(--muted); padding: 8px 10px; border-bottom: 1px solid var(--line); }
.gg .ctable td { padding: 10px; border-bottom: 1px solid var(--bar); }
.gg .ctable tr:last-child td { border-bottom: 0; }
.gg .ctable td.num { font-variant-numeric: tabular-nums; }
.gg .ctable a.rn { color: var(--text); text-decoration: none; }
.gg .ctable a.rn:hover { text-decoration: underline; }
.gg .ctable > p { margin: 10px; }
.gg .cnowphone { display: flex; flex-direction: column; padding: 12px 14px; }
.gg .cnowphone h2 { margin: 0; font-size: 15px; font-weight: 600; }
.gg .cnowphone > p { margin: 6px 0 0; }
.gg .cline { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; border-bottom: 1px solid var(--bar); color: var(--text); text-decoration: none; font-size: 14px; }
.gg .cline:last-child { border-bottom: 0; }
.gg .cline .rn { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gg .cline .on { flex: none; }
@media (max-width: 959px) {
  .gg .cluster .cgrid { grid-template-columns: minmax(0, 1fr); }
  .gg .outside { gap: 12px; margin-top: 0; }
  .gg .outcard { padding: 12px 14px; }
  .gg .outcard .orow { flex-direction: column; align-items: flex-start; gap: 4px; }
}
/* Sign-in (board "Controller, sign-in"): the product in one look on the
   left, the card on the right; one column on a phone. */
.gg.out main:has(.hero) { max-width: none; padding: 0; }
.gg .hero { position: relative; flex: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 24px 56px; padding: 24px 16px 32px; overflow: hidden; }
.gg .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.gg .hero-bg .dot { fill: var(--bar); }
.gg .hero-bg .glow-in { stop-color: var(--accent); stop-opacity: .16; }
.gg .hero-bg .glow-out { stop-color: var(--accent); stop-opacity: 0; }
.gg .hero-bg .rings { fill: none; stroke: var(--line); }
.gg .hero-bg .rings .dash { stroke-dasharray: 3 9; }
.gg .hero-bg .links { fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-opacity: .55; }
.gg .hero-bg .nodes { fill: var(--accent); }
.gg .hero .pitch { position: relative; flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.gg .hero .pitch h1 { font-size: 2rem; line-height: 1.1; letter-spacing: -.02em; max-width: 640px; }
.gg .hero .pitch .lead { margin: 0; font-size: 1.0625rem; color: var(--muted); max-width: 640px; }
.gg .hero .sample { max-width: 560px; padding: 18px 20px; gap: 8px; box-shadow: var(--shadow); }
.gg .hero .sample .mac { width: 36px; height: 36px; fill: none; stroke: var(--accent); stroke-width: 1.8; flex: none; }
.gg .hero .sample .run { padding: 10px 12px; background: var(--bg); border-radius: var(--radius); font-size: .875rem; flex-wrap: nowrap; }
.gg .hero .st { font-size: .875rem; }
.gg .hero .st.ok { color: var(--ok); }
.gg .hero .st.go { color: var(--run); }
.gg .hero .facts { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: .875rem; color: var(--muted); }
.gg .hero .door { position: relative; flex: 1 1 380px; margin: 0; padding-top: 0; }
.gg .hero .door > .card { box-shadow: var(--shadow); }
.gg .hero .door > .card h2 { margin: 0; font-size: 1.5rem; }
.gg .hero .door > .card > a.button, .gg .hero .door > .card > button { width: 100%; justify-content: center; }
.gg a.dl { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 16px; border-radius: var(--pill); background: var(--panel); border: 1px solid var(--button-line); color: var(--text); text-decoration: none; }
.gg a.dl svg { width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.gg a.dl .stack { gap: 2px; }
/* On a phone the sign-in card comes first, in the first screen; the
   pitch follows. The pitch holds nothing to focus, so the keyboard order
   still matches what is seen. */
@media (max-width: 959px) {
  .gg .hero .door { order: -1; }
}
@media (min-width: 960px) {
  .gg .hero { padding: 40px 72px 64px; }
  .gg .hero .pitch h1 { font-size: 2.875rem; line-height: 1.08; }
  .gg .hero .pitch .lead { font-size: 1.1875rem; }
}
/* Sign-in step 2 (/confirm), approved board 1794911548-9b44. */
.gg .st2 { max-width: 440px; }
.gg .st2 .st2-k { margin: 0; text-transform: uppercase; letter-spacing: .04em; }
.gg .st2 .st2-who { gap: 8px; flex-wrap: wrap; align-items: center; }
.gg .st2 .pill.st2-ok { color: var(--ok, #1a7f37); background: var(--bar); }
.gg .st2 .st2-ssh { display: block; padding: 10px 12px; border-radius: 8px; background: var(--bar); font-size: 13px; overflow-wrap: anywhere; user-select: all; }
.gg .st2 .st2-code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 20px; letter-spacing: .12em; }
.gg .st2 .st2-opt { align-items: flex-start; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; }
.gg .st2 .st2-opt + .st2-opt { margin-top: 8px; }
.gg .st2 .st2-opt:has(input:checked) { border-color: var(--accent, currentColor); }
.gg .st2 .st2-key { justify-content: space-between; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; }
.gg .st2 .st2-qr { align-self: center; background: #fff; padding: 8px; border-radius: 8px; }
.gg .st2 .st2-foot { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 13px; }
.gg .st2 > button.primary, .gg .st2 > .button { width: 100%; }
/* C1–C4 (board 1794930301-31dd): which way is asked first. */
.gg .st2 .st2-first-set { gap: 8px; margin: 0; padding: 12px; border: 1px solid var(--line); border-radius: 10px; }
.gg .st2 .st2-first-set legend { padding: 0 4px; font-weight: 600; }
.gg .st2 .st2-first { flex-wrap: nowrap; align-items: flex-start; gap: 8px; min-height: 44px; }
.gg .st2 .st2-first input { flex: none; width: auto; min-height: 0; margin-top: 3px; padding: 0; }
.gg .st2 .st2-keyrow { gap: 8px; align-items: center; }
.gg .st2 .st2-keyrow .st2-ssh { flex: 1; min-width: 0; }
/* A Mac's settings from the controller (boards Settings-remote-*): the
   tabs, the rule, what waits for Allow on the Mac and what came of it. */
/* The same tabs on every settings page of a Mac, This Mac and Activity
   included (Claude Design 5vaLeWj5ayzzPquCj7ir9r, boards S2 and S4):
   underlined on a computer, pills that scroll sideways on a phone. */
.gg .tabs { display: flex; flex-wrap: wrap; gap: 4px 20px; border-bottom: 1px solid var(--line); }
.gg .tabs a { display: flex; align-items: center; min-height: 44px; padding: 0 2px; text-decoration: none; font-weight: 500; color: var(--tab-off); box-shadow: inset 0 -2px 0 transparent; }
.gg .tabs a:hover { color: var(--text); }
.gg .tabs a[aria-selected="true"] { color: var(--text); box-shadow: inset 0 -2px 0 var(--accent); }
@media (max-width: 959px) {
  .gg .tabs { flex-wrap: nowrap; overflow-x: auto; gap: 8px; border-bottom: 0; scrollbar-width: none; }
  .gg .tabs a { min-height: 36px; padding: 0 14px; border: 1px solid var(--button-line); border-radius: var(--pill); background: var(--panel); color: var(--text); white-space: nowrap; box-shadow: none; }
  .gg .tabs a[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-text); box-shadow: none; }
}
.gg .setstack { display: flex; flex-direction: column; gap: 16px; }
.gg .rule { padding: 12px 14px; border-radius: var(--radius); background: var(--info-bg); color: var(--text); font-size: 14px; overflow-wrap: anywhere; }
.gg .rule.plain { background: var(--panel); border: 1px solid var(--line); }
.gg .rule strong { font-weight: 500; }
.gg .said.ask { padding: 14px 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.gg .said.ask .words { flex: 1; min-width: 240px; }
.gg .said.out { border-color: var(--control-line); }
.gg .cardhead.wraps { flex-wrap: wrap; }
.gg .setrow { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.gg .setrow .what { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.gg .setrow strong { font-weight: 500; }
.gg .setrow.wait { opacity: .6; }
.gg .asked { background: var(--bg); border-radius: 8px; padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; overflow-wrap: anywhere; }
.gg .asked strong { font-weight: 500; }
.gg .sheet-body.b label.check { font-weight: 400; font-size: 15px; min-height: 44px; }
.gg .sheet-body.b .legend { font-weight: 500; }
.gg .sheet-body.b input.days { width: 7rem; }
@media (min-width: 960px) { .gg .asked.phone-only { display: none; } }
@media (max-width: 959px) {
  .gg .setstack { gap: 14px; }
  .gg .tabs.desk-only, .gg .asked.desk-only { display: none; }
}

/* A project's row: its folder, its GitHub repository and the last fetch
   (board Main of the folder-and-repository design). A phone stacks them
   and has no Edit (board Proposed-phone). */
.gg .setrow.proj { flex-wrap: wrap; gap: 12px 20px; padding: 14px 0; }
.gg .setrow.proj .what { flex: 1 1 380px; display: flex; flex-direction: column; gap: 2px; }
.gg .setrow.proj .sub { font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }
.gg .setrow.proj code, .gg .sheet-body code { font-family: var(--mono); font-size: 13px; color: var(--text); }
.gg .setrow.proj .fetch { flex: 0 1 260px; display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.gg .setrow.proj .fetch .state { white-space: normal; }
.gg .setrow.proj .acts2 { display: flex; gap: 8px; }
@media (max-width: 959px) { .gg .setrow.proj .acts2.desk-only { display: none; } }
.gg .setrow.proj.leaving { background: var(--warn-bg); }
.gg .sheet-list { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.gg .sheet-body input.mono { font-family: var(--mono); font-size: 14px; }
.gg .phone-note { padding-top: 8px; border-top: 1px solid var(--line); }
.gg .said.checked-ok { background: var(--ok-bg); border-color: transparent; color: var(--ok); }
/* An update's progress and result (plan 35): a filled line, as on the approved canvas. */
.gg .said.fill { border-color: transparent; }
.gg .said.fill.going { background: var(--info-bg); }
.gg .said.fill.ok { background: var(--ok-bg); }
.gg .said.fill.bad { background: var(--bad-bg); }
/* A sheet with three answers keeps them on one row on a computer. */
@media (min-width: 960px) { .gg .sheet-body.wide { width: 600px; } }
@media (max-width: 959px) {
  .gg .setrow.proj { flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 0; }
  .gg .setrow.proj .what, .gg .setrow.proj .fetch { flex: none; }
  .gg .setrow.proj .sub:last-child a { font-weight: 400; }
  .gg .setrow.proj [data-row="folder"] code { font-family: inherit; font-size: inherit; color: var(--muted); }
  /* Board P2 of the image-push design: the push chip and its note. */
  .gg .setrow.proj .pushline { display: flex; flex-direction: column; gap: 6px; margin-top: 6px; }
  .gg .setrow.proj .pushline .state.chip.ok { color: var(--ok); }
}
/* Board D2 of the image-push design: Image push under a line in Edit…. */
.gg .pushfield { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--line); padding-top: 16px; }

/* Pairing: the Mac key's words (docs/plan/36, approved board W1ouNDgJgGVH7s7o852myt) */
.gg .titled { display: flex; align-items: center; gap: 10px; }
.gg svg.okmark { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--ok); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.gg h1.bad { color: var(--bad); }
.gg .keywords { display: flex; flex-direction: column; gap: 6px; padding: 12px; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; }
.gg .keywords .label { font-size: 12px; font-weight: 500; color: var(--muted); }
.gg .keywords .words { font-family: var(--mono); font-size: 26px; font-weight: 500; letter-spacing: .08em; overflow-wrap: anywhere; }
.gg .keywords p { font-size: .875rem; }
.gg .keyadded .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
@media (max-width: 959px) {
  .gg .keyadded .actions { flex-direction: column; align-items: stretch; gap: 0; }
  .gg .keyadded .actions button.link { min-height: 44px; }
}
/* The access token field of Edit (board TK-E1): under its radio, shown only
   with "With an access token". */
.gg .field[hidden] { display: none; }
.gg .field.indent { padding-left: 24px; }
.gg .field input[data-field="token"] { font-size: 13px; }
/* Add a Project on a phone (board P2 of the one-sheet design): the token
   field is not set in, and the button that asks comes first. */
@media (max-width: 959px) {
  .gg .sheet-body.addproj .field.indent { padding-left: 0; }
  .gg .sheet-body.addproj .acts.safe-first { flex-direction: column-reverse; }
}

/* Keys tab (Claude Design 33GVqJbn84BBfopBUA9sCN, boards A2, P2). */
.gg .keyrows { display: flex; flex-direction: column; }
.gg .setrow.keyrow { align-items: flex-start; padding: 14px 0; }
.gg .setrow.keyrow .what { display: flex; flex-direction: column; gap: 4px; }
.gg .setrow.keyrow .line1 { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.gg .setrow.keyrow b { font-weight: 500; }
.gg .setrow.keyrow .facts { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 14px; color: var(--muted); }
.gg .setrow.keyrow .pill.plain { background: transparent; border: 1px solid var(--line); }
.gg .setrow.keyrow .pill.warn { color: var(--chip-need); background: var(--chip-need-bg); border: 1px solid var(--chip-need-line); }
.gg .setrow.keyrow .pill.bad { color: var(--chip-bad); background: var(--chip-bad-bg); border: 1px solid var(--chip-bad-line); }
.gg .setrow.keyrow.ended strong, .gg .setrow.keyrow.ended .facts { color: var(--muted); }
.gg .keyfoot code { font-family: var(--mono); font-size: 13px; }
/* API Keys: Edit… beside Revoke, and the Edit sheet (Claude Design
   LteNRKqxZq3KzY7vTTDFKb, boards K1, K2, PK). */
.gg .setrow.keyrow .keyacts { display: flex; gap: 8px; flex-shrink: 0; }
.gg .sheet-body.b label.check.top { align-items: flex-start; }
.gg .sheet-body.b label.check.top input { margin-top: 5px; }
.gg .said.mini[data-edit="asks"] { color: var(--chip-need); background: var(--chip-need-bg); border: 1px solid var(--chip-need-line); }
.gg .said.mini[data-edit="asks"][hidden] { display: none; }
/* Key rights: presets, then individual rights (boards K3, PK2). */
.gg .sheet-body.b .presets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.gg .sheet-body.b .presets label.check.preset { border: 1px solid var(--line); border-radius: 10px; padding: 0 12px; gap: 8px; white-space: nowrap; }
.gg .sheet-body.b .presets input, .gg .sheet-body.b details.rights input { flex: none; }
.gg .sheet-body.b .presets label.check.preset:has(input:checked) { border-color: var(--text); }
.gg .sheet-body.b details.rights { border: 1px solid var(--line); border-radius: 12px; padding: 0 16px 12px; display: flex; flex-direction: column; gap: 4px; }
.gg .sheet-body.b details.rights:not([open]) { padding-bottom: 0; }
.gg .sheet-body.b details.rights > summary { min-height: 44px; display: flex; align-items: center; font-weight: 500; cursor: pointer; }
.gg .sheet-body.b details.rights label.check.top { min-height: 0; padding: 6px 0; }
.gg .sheet-body.b details.rights code { font-family: var(--mono); font-size: 12px; }
.gg .sheet-body.b details.rights .runscode { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 8px; font-size: 13px; font-weight: 500; color: var(--chip-need); }
@media (max-width: 959px) {
  .gg .sheet-body.b .presets { grid-template-columns: 1fr; gap: 4px; }
  .gg .sheet-body.b .presets label.check.preset { border: 0; padding: 0; }
  .gg .sheet-body.b details.rights { padding: 0 12px 8px; }
  .gg .sheet-body.b details.rights label.check.top { min-height: 44px; padding-top: 10px; }
}
@media (max-width: 959px) {
  .gg .setrow.keyrow { flex-direction: column; align-items: stretch; gap: 10px; }
  .gg .setrow.keyrow > button.danger { align-self: flex-start; }
  .gg .setrow.keyrow .keyacts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Make a Key: the (i) beside "What it may do" (Claude Design
   E7TekZhEH2vWFNzZdpRBSE, v1795036646-6343, boards J2 and J3). */
.gg .withinfo { display: flex; align-items: center; gap: 6px; }
/* `.sheet-body.b button` (padding 0 16px) outranks `button.info`: name it
   here too, or the circle is squeezed to 7 px inside the sheet. */
.gg button.info, .gg .sheet-body.b button.info { width: 24px; height: 24px; min-height: 0; padding: 0; border: 0; background: transparent; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.gg button.info span { flex: none; width: 24px; height: 24px; box-sizing: border-box; border-radius: 50%; border: 1px solid var(--button-line); background: var(--panel); color: var(--text); font: italic 600 13px/22px Georgia, serif; text-align: center; }
.gg button.info[aria-expanded="true"] span { background: var(--accent); color: var(--accent-text); border-color: var(--accent); }
.gg .keyinfo { background: var(--panel); color: var(--text); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; font-weight: 400; }
.gg .keyinfo[hidden] { display: none; }
.gg .keyinfo strong { font-size: 15px; font-weight: 600; }
.gg .keyinfo b { display: block; font-weight: 600; }
.gg .keyinfo b small { font-size: 13px; font-weight: 400; color: var(--muted); }
.gg .keyinfo span { color: var(--muted); }
.keyinfo.beside { position: fixed; inset: auto; margin: 0; width: 360px; box-sizing: border-box; box-shadow: 0 8px 24px rgba(9, 9, 11, .12); }
@media (max-width: 959px) {
  .gg button.info, .gg .sheet-body.b button.info { width: 44px; height: 44px; margin: -10px; }
}

/* Under a key just made: "Give it to an agent" / "Where it works"
   (Claude Design E7TekZhEH2vWFNzZdpRBSE, v1794991299-61b0). */
.gg .keyuse { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 14px; display: flex; flex-direction: column; gap: 12px; }
.gg .keyuse h3 { margin: 0; font-size: 15px; font-weight: 600; }
.gg .keyuse code { font-family: var(--mono); font-size: 13px; overflow-wrap: anywhere; }
.gg .keyuse .keyway { display: flex; flex-direction: column; gap: 6px; }
.gg .keyuse .label { font-size: 12px; font-weight: 500; color: var(--muted); }
.gg .keyuse .kcode { margin: 0; background: var(--code-bg); color: var(--code-text); font: var(--type-code); font-size: 12px; border-radius: 8px; padding: 10px 12px; white-space: pre-wrap; overflow-wrap: anywhere; }
.gg .keyuse .keyfacts { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; font-size: 14px; }
.gg .keyuse .keyfacts dt { color: var(--muted); font-size: 13px; }
.gg .keyuse .keyfacts dd { margin: 0; }
@media (max-width: 959px) {
  .gg .keyuse .keyfacts { grid-template-columns: 1fr; gap: 2px; }
  .gg .keyuse .keyfacts dd + dt { margin-top: 6px; }
  .gg .keyuse .btns { flex-direction: column; align-items: stretch; }
  .gg .keyuse .btns button { min-height: 44px; }
}

/* Make a Key with the passkey (Claude Design 7nPdaw3wg5sZDf8it65VuF,
   v1795039872-375e): the key said in full (P1, D1), the box that says
   how it is confirmed (blue: at once; amber: waits, P4), the key shown
   once (P2) and the notice of a key made elsewhere (P3, D2). */
.gg .keyfacts-p { display: flex; flex-direction: column; gap: 10px; font-size: 14px; line-height: 1.5; }
.gg .keyfacts-p .keyfact { display: flex; gap: 10px; }
.gg .keyfacts-p .keyfact .label { color: var(--muted); width: 100px; flex-shrink: 0; }
.gg .said.info { background: var(--info-bg); color: var(--info-text); border-color: transparent; }
.gg .said.keymade { display: flex; align-items: center; gap: 16px; border-left: 3px solid var(--run); }
.gg .said.keymade .words { flex: 1; }
.gg .made-title .ok { color: var(--ok); }
@media (max-width: 959px) {
  .gg .keyfacts-p .keyfact .label { width: 92px; }
  .gg .said.keymade { flex-direction: column; align-items: stretch; }
  .gg .said.keymade .btns button { min-height: 44px; }
}

/* Devices (Claude Design LteNRKqxZq3KzY7vTTDFKb, boards D1 and PD). */
.gg .dvrows { margin-top: 12px; }
.gg .setrow.dvrow .what { display: flex; flex-direction: column; gap: 2px; }
.gg .setrow.dvrow .line1 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.gg .setrow.dvrow .facts { font-size: 14px; color: var(--muted); }
.gg .setrow.dvrow > button:disabled { opacity: .5; cursor: not-allowed; }
.gg .dvfoot { margin-top: 12px; }
@media (min-width: 960px) { .gg .dvfoot { display: block; } }
.gg .setrow.dvrow .pill.ok { color: var(--ok); background: var(--bar); }
@media (max-width: 959px) {
  .gg .setrow.dvrow { flex-direction: column; align-items: stretch; gap: 10px; }
  .gg .setrow.dvrow > button.danger { align-self: flex-start; }
}

/* Secrets (Claude Design LteNRKqxZq3KzY7vTTDFKb, boards S1, S2, PS). */
.gg .secpick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.gg .secpick label { color: var(--muted); }
.gg .secpick select { font: inherit; min-height: 44px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--text); max-width: 100%; }
.gg .secrows { margin-top: 12px; }
.gg .setrow.secrow .what { display: flex; flex-direction: column; gap: 2px; }
.gg .setrow.secrow code { font-family: var(--mono); font-weight: 600; overflow-wrap: anywhere; }
.gg .setrow.secrow .facts { font-size: 14px; color: var(--muted); }
.gg .setrow.secrow .acts { display: flex; gap: 8px; }
.gg .secintro code { font-family: var(--mono); font-size: 13px; }
.gg .sechead { margin: 16px 0 0; font-size: 15px; font-weight: 600; }
.gg .secfoot { margin-top: 12px; }
@media (min-width: 960px) { .gg .secfoot { display: block; } }
.gg #sc-value { font-family: var(--mono); font-size: 14px; width: 100%; box-sizing: border-box; resize: vertical; }
.gg #sc-name { font-family: var(--mono); }
@media (max-width: 959px) {
  .gg .secpick { width: 100%; flex-direction: column; align-items: stretch; }
  .gg .setrow.secrow { flex-direction: column; align-items: stretch; gap: 10px; }
  .gg .setrow.secrow .acts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* A Mac's People tab (plan 50 R2, boards D1 to D4 and P1 to P4): the
   joins that wait, who has access, the open invitations. A desktop has
   tables; a phone has one line a person, the role at the end. The
   sheets: Invite and a person's sheet slide in from the right on a
   desktop (460 px) and rise from the bottom on a phone. */
.gg .pp .ph, .gg .pp-side .ph, .gg .pp-sheet .ph { display: none; }
.gg .pp .chip, .gg .pp-side .chip { display: inline-flex; align-items: center; gap: 6px; min-height: 22px; padding: 0 10px; border-radius: var(--pill); font-size: 12px; font-weight: 500; background: var(--chip-bg); border: 1px solid var(--chip-line); white-space: nowrap; }
.gg .pp .chip.warn { color: var(--chip-need); background: var(--chip-need-bg); border-color: var(--chip-need-line); }
.gg .pp .chip.bad { color: var(--chip-bad); background: var(--chip-bad-bg); border-color: var(--chip-bad-line); }
.gg .pp-wants { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--chip-need-line); background: var(--chip-need-bg); border-radius: var(--radius); }
.gg .pp-wants .what { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.gg .pp-block { display: flex; flex-direction: column; gap: 8px; }
.gg .pp-block h3 { margin: 0; font-size: 14px; font-weight: 600; }
.gg .pp-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.gg .pp-table th { text-align: left; font-weight: 500; color: var(--muted); font-size: 12px; padding: 6px 8px; border-bottom: 1px solid var(--line); }
.gg .pp-table td { padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; overflow-wrap: anywhere; }
.gg .pp-table td.act { text-align: right; white-space: nowrap; }
.gg .pp-table tr:last-child td { border-bottom: 0; }
.gg .pp-sub { display: block; }
.gg .pp-words { font-family: var(--mono); font-size: 18px; letter-spacing: .02em; background: var(--code-bg); color: var(--code-text); border-radius: var(--radius); padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; }
.gg .pp-kv { display: flex; gap: 12px; justify-content: space-between; font-size: 14px; }
.gg .pp-kv > :first-child { flex: 0 0 auto; }
.gg .pp-kv > :last-child { text-align: right; overflow-wrap: anywhere; }
.gg .pp-role { align-items: flex-start; }
.gg .pp-role .stack { display: flex; flex-direction: column; }
.gg .seg { display: inline-flex; border: 1px solid var(--control-line); border-radius: var(--pill); padding: 2px; gap: 2px; }
.gg .seg button { min-height: 32px; padding: 0 14px; border: 0; border-radius: var(--pill); background: transparent; }
.gg .seg button[aria-checked="true"] { background: var(--on-bg); color: var(--accent); font-weight: 600; }

/* The side sheet on a desktop. */
.gg dialog.sheet:has(> .pp-side) { margin: 0 0 0 auto; height: 100dvh; max-height: 100dvh; width: 460px; max-width: 100%; border-radius: 0; }
.gg .sheet-body.b.pp-side { width: 100%; box-sizing: border-box; min-height: 100%; padding: 24px; gap: 14px; overflow-y: auto; }
.gg .sheet-body.b.pp-side .acts { margin-top: auto; justify-content: flex-end; gap: 8px; }
.gg .sheet-body.b.pp-sheet { width: 460px; padding: 24px; gap: 12px; }

@media (max-width: 959px) {
  .gg .pp .desk, .gg .pp-side .desk, .gg .pp-sheet .desk { display: none; }
  .gg .pp .ph, .gg .pp-side .ph, .gg .pp-sheet .ph { display: revert; }
  .gg .pp-table td.ph { display: table-cell; text-align: right; white-space: nowrap; color: var(--muted); }
  .gg .pp-table tr.tap { cursor: pointer; }
  .gg .pp-wants { flex-wrap: wrap; }
  .gg .pp-wants > button { flex: 1 1 100%; min-height: 44px; }
  .gg dialog.sheet:has(> .pp-side) { margin: auto 0 0; width: 100%; height: auto; max-height: 92dvh; border-radius: 16px 16px 0 0; }
  .gg .sheet-body.b.pp-side, .gg .sheet-body.b.pp-sheet { width: 100%; min-height: 0; padding: 8px 16px calc(28px + env(safe-area-inset-bottom)); }
  .gg .sheet-body.b.pp-side .acts, .gg .sheet-body.b.pp-sheet .acts { flex-direction: column-reverse; align-items: stretch; gap: 12px; }
  .gg .sheet-body.b.pp-side .acts button, .gg .sheet-body.b.pp-sheet .acts button { min-height: 48px; }
  .gg .pp-table td.act button { min-height: 44px; }
}
/* A Mac's Overview, Runs, a run and a flow, drawn in the controller
   (board M0, Claude Design 5vaLeWj5ayzzPquCj7ir9r): the Mac's own
   dashboard pages, which stay as they are (boards S1, S3), so their
   rules are app.css's own, kept inside .dash and nowhere else. A rem of
   app.css is --rem here: the dashboard's root is 14 px from 960 px, the
   controller's is not. Change them with app.css, not apart from it. */
@keyframes spin { to { transform: rotate(360deg); } }
/* The log on the full screen: the page under it does not scroll. */
body.noscroll { overflow: hidden; }
.gg main.dashmain { max-width: none; gap: 16px; }
@media (min-width: 960px) { .gg main.dashmain { padding: 24px 32px 40px; } }
.gg .dash {
  /* app.css's tokens, light and dark. */
    /* The approved look (Claude Design RfUvbYQH4wxVJwjzm5ZMTQ, version
       1794822500-1eaf): zinc neutrals; ink in place of blue for buttons,
       links and the selected row; blue only for what is running. */
    --bg: #FBFBFB;
    --panel: #FFFFFF;
    --line: #E4E4E7;
    /* Borders of things you type in or switch: inputs, switches, segments. */
    --control-line: #A1A1AA;
    /* Borders of buttons: their label says what they are. */
    --button-line: #D4D4D8;
    --text: #09090B;
    --muted: #63636B;
    --accent: #09090B;
    --accent-hover: #3F3F46;
    --accent-text: #FFFFFF;
    --ok: #15803D;
    --bad: #DC2626;
    --bad-text: #FFFFFF;
    --warn: #A16207;
    --run: #2563EB;
    --run-line: #BFDBFE;
    --bar: #EDEDEF;
    --hover: #F4F4F5;
    /* A load bar, and one that is nearly full (a busy CPU, a low disk). */
    --load: #52525B;
    --hot: #D97706;
    /* Insights, by day: cancelled runs and retry-only passes. */
    --cancel-bar: #A1A1AA;
    --new-bg: #FEF3C7;
    --new-text: #92400E;
    --code-bg: #0A0A0A;
    --code-text: #E5E5E5;
    --code-line: #36363a;
    --code-muted: #a3a3a0;
    /* A button on the dark log: light on dark, as ink is on the page. */
    --code-button: #E5E5E5;
    --code-button-text: #0A0A0A;
    --radius: 12px;
    --pill: 9999px;
    --nav-h: 60px;
    /* Phone tab bar: the places you are not in. */
    --tab-off: #63636B;
    /* A segmented control's chosen part, and a switch. */
    --seg-on-bg: #09090B;
    --seg-on-text: #FBFBFB;
    --switch-off: #FFFFFF;
    --switch-knob: #A1A1AA;
    --knob-shadow: none;
    /* The selected row, step and menu place. */
    --on-bg: #E4E4E7;
    /* The spec's state colours. */
    --retry: #A16207;
    --cancel: #63636B;
    --ok-bg: #DCFCE7;
    --bad-bg: #FEE2E2;
    --warn-bg: #FEF3C7;
    --held-bg: #FEF3C7;
    --held-text: #92400E;
    --info-bg: #F4F4F5;
    --info-text: #3F3F46;
    /* Status chips: failed and "needs you" are filled, the rest outlined. */
    --chip-bg: #FFFFFF;
    --chip-line: #E4E4E7;
    --chip-bad: #B91C1C;
    --chip-bad-bg: #FEE2E2;
    --chip-bad-line: #FECACA;
    --chip-need: #92400E;
    --chip-need-bg: #FEF3C7;
    --chip-need-line: #FDE68A;
    --focus: #71717A;
    --scrim: rgba(9, 9, 11, .40);
    /* Focus on the dark log and the media viewer stays at least 3:1. */
    --focus-on-dark: #A1A1AA;
    --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --rem: 16px;
  font-family: var(--sans); font-size: var(--rem); line-height: 1.45; color: var(--text);
  display: flex; flex-direction: column; min-width: 0;
  :root[data-mode="dark"] & {
      --bg: #151516;
      --panel: #1f1f21;
      --line: #36363a;
      --control-line: #75757a;
      --text: #f0f0ee;
      --muted: #a3a3a0;
      --accent: #6cb2ff;
      --accent-text: #0b1420;
      --ok: #5fd08a;
      --bad: #ff8a80;
      --bad-text: #20100e;
      --warn: #f2bf5e;
      --run: #6cb2ff;
      --bar: #303034;
      --on-bg: #1b3350;
      --retry: #f2bf5e;
      --cancel: #a3a3a0;
      --ok-bg: #12301f;
      --bad-bg: #3a1614;
      --warn-bg: #3a2c0c;
      --new-bg: #3a2e14;
      --new-text: #f2bf5e;
      --cancel-bar: #75757a;
      --held-bg: #3a2c0c;
      --held-text: #f2bf5e;
      --info-bg: #1b3350;
      --info-text: #cfe1ff;
      /* The dark theme keeps today's look: the new roles take the values
         their parts had before the restyle. */
      --button-line: #75757a;
      --tab-off: #f0f0ee;
      --seg-on-bg: #1b3350;
      --seg-on-text: #6cb2ff;
      --switch-off: #303034;
      --switch-knob: #1f1f21;
      --knob-shadow: 0 1px 2px rgba(0, 0, 0, .3);
      --accent-hover: #6cb2ff;
      --run-line: #36363a;
      --hover: #303034;
      --load: #6cb2ff;
      --hot: #f2bf5e;
      --code-bg: #111315;
      --code-text: #e6e6e3;
      --code-button: #6cb2ff;
      --code-button-text: #0b1420;
      --chip-bg: transparent;
      --chip-line: #36363a;
      --chip-bad: #ff8a80;
      --chip-bad-bg: transparent;
      --chip-bad-line: #36363a;
      --chip-need: #f2bf5e;
      --chip-need-bg: transparent;
      --chip-need-line: #36363a;
      --focus: #6cb2ff;
      --focus-on-dark: #8cc4ff;
      --scrim: rgba(0, 0, 0, .72);
  }
  .dash-body { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
  @media (min-width: 600px) { .dash-body { gap: 16px; } }
  /* The run's and the flow's names: the page's h1 is the header's. */
  h2.title { font-size: calc(1.25 * var(--rem)); font-weight: 600; letter-spacing: -0.015em; margin: 0; overflow-wrap: anywhere; }
  @media (min-width: 960px) { h2.title { font-size: 24px; letter-spacing: -0.02em; } }
  a { color: var(--accent); }
  a:hover { color: var(--accent-hover); }
  .hidden { display: none !important; }
  .spacer { flex: 1 1 0; }
  .muted { color: var(--muted); }
  .mono { font-family: var(--mono); font-size: 13px; }
  .num { font-variant-numeric: tabular-nums; }
  .small { font-size: calc(.875 * var(--rem)); }
  /* For screen readers only. */
  .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

  h1 { font-size: calc(1.25 * var(--rem)); font-weight: 600; letter-spacing: -0.015em; margin: 0; overflow-wrap: anywhere; }
  h2 { font-size: calc(1 * var(--rem)); font-weight: 600; margin: 0; }
  p { margin: 0; }

  /* ---------------------------------------------------------------- pieces */

  .card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; min-width: 0; }
  .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
  .stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .stat { font-size: calc(1.25 * var(--rem)); font-weight: 600; }
  .label { color: var(--muted); font-size: 12px; font-weight: 500; }
  .row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
  .stack { display: flex; flex-direction: column; gap: 10px; }
  .filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  a.more, a.back { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; text-decoration: none; }
  a.back { align-self: flex-start; }

  .meter { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 10px; align-items: center; font-size: calc(.875 * var(--rem)); }
  .meter .track { grid-column: 1 / -1; order: 3; }
  .track { height: 8px; border-radius: 4px; background: var(--bar); overflow: hidden; }
  .fill { height: 100%; background: var(--load); border-radius: 4px; }
  details > summary { display: flex; align-items: center; min-height: 44px; cursor: pointer; color: var(--accent); font-weight: 500; font-size: calc(.875 * var(--rem)); }

  button, .button {
    font: inherit; min-height: 44px; padding: 6px 16px; border-radius: var(--pill); cursor: pointer;
    border: 1px solid var(--button-line); background: var(--panel); color: var(--text); text-decoration: none;
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  }
  button.primary, .button.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-text); font-weight: 500; }
  button.danger { color: var(--bad); border-color: var(--bad); font-weight: 500; }
  button.destructive { background: var(--bad); border-color: var(--bad); color: var(--bad-text); font-weight: 500; }
  button.quiet { border-color: transparent; background: transparent; color: var(--muted); }
  button:disabled { opacity: .5; cursor: default; }
  button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible, pre:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
  /* On the dark log and command boxes the accent ring is too dark to see. */
  .logbox :focus-visible, .cmd :focus-visible, pre:focus-visible, dialog.viewer :focus-visible { outline-color: var(--focus-on-dark); }
  input, select {
    font: inherit; font-size: max(16px, calc(1 * var(--rem))); min-height: 44px; padding: 6px 10px; border-radius: 8px;
    border: 1px solid var(--control-line); background: var(--panel); color: var(--text); min-width: 0;
  }
  input[type="checkbox"] { width: 22px; height: 22px; min-height: 0; margin: 0; padding: 0; accent-color: var(--accent); }
  label.check { display: flex; align-items: center; gap: 10px; min-height: 44px; }
  @media (pointer: coarse) { button.primary, .button.primary, dialog button { min-height: 48px; } }

  /* A status is a chip: a glyph and a word in a pill. Failed is filled;
     running has the blue line; the rest are outlined. */
  .badge {
    display: inline-flex; align-items: center; gap: 6px; width: fit-content; justify-self: start; align-self: center;
    padding: 0 10px; border: 1px solid var(--chip-line); border-radius: var(--pill); background: var(--chip-bg);
    font-weight: 500; font-size: 12px; line-height: 22px; white-space: nowrap;
  }
  .glyph { position: relative; flex: none; width: 12px; height: 12px; }
  .glyph::before { content: "●"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 12px; line-height: 1; }
  .s-succeeded { color: var(--ok); } .s-succeeded .glyph::before { content: "✓"; }
  .s-failed, .s-timed_out { color: var(--bad); }
  .badge.s-failed, .badge.s-timed_out { color: var(--chip-bad); background: var(--chip-bad-bg); border-color: var(--chip-bad-line); }
  .badge.s-running { border-color: var(--run-line); }
  .s-failed .glyph::before, .s-timed_out .glyph::before { content: "✕"; }
  .s-flaky { color: var(--retry); } .s-flaky .glyph::before { content: "↻"; }
  .s-cancelled, .s-skipped, .s-lost { color: var(--cancel); } .s-cancelled .glyph::before, .s-skipped .glyph::before, .s-lost .glyph::before { content: "–"; }
  .s-queued, .s-blocked { color: var(--cancel); } .s-queued .glyph::before, .s-blocked .glyph::before { content: "◌"; }
  /* Drawn, not a font glyph: fallback fonts render the half circle as a dot. */
  .s-running { color: var(--run); }
  .s-running .glyph::before { content: ""; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; }
  @media (prefers-reduced-motion: no-preference) { .s-running .glyph::before { animation: spin 1.2s linear infinite; } }

  .notice { padding: 12px 14px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); min-width: 0; overflow-wrap: anywhere; }
  .notice.bad { border-color: var(--bad); color: var(--bad); }
  .notice.warn { border-color: var(--warn); }
  /* CI is held back by the Mac itself: one line says why. */
  .notice.held { border-color: transparent; border-radius: 12px; background: var(--held-bg); color: var(--held-text); font-size: calc(.9375 * var(--rem)); line-height: 1.35; }
  /* News that is not a problem: a newer version exists. */
  .notice.info { border-color: transparent; border-radius: 12px; background: var(--info-bg); color: var(--info-text); font-size: calc(.9375 * var(--rem)); line-height: 1.35; }
  .notice button { margin-top: 8px; }
  .state { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 32px 16px; text-align: center; }
  .state h2 { font-size: calc(1.25 * var(--rem)); }
  .state .choices { display: flex; flex-direction: column; gap: 12px; width: 100%; max-width: 320px; }
  .state .why { font-size: calc(.8125 * var(--rem)); color: var(--muted); overflow-wrap: anywhere; }
  .skeleton { height: 72px; border-radius: var(--radius); background: var(--bar); }

  .cmd { display: flex; align-items: center; gap: 8px; padding: 4px 4px 4px 12px; border-radius: 8px; background: var(--code-bg); }
  .cmd code { flex: 1 1 0; min-width: 0; color: var(--code-text); font-family: var(--mono); font-size: 13px; overflow-wrap: anywhere; }
  .cmd button { border: 0; background: #303034; color: var(--code-text); font-size: calc(.875 * var(--rem)); font-weight: 500; }

  /* ---------------------------------------------------------------- lists */

  /* One markup for every width: a card of two or three lines on a phone,
     columns from 960px. Never a table that scrolls sideways. */
  .list { display: flex; flex-direction: column; }
  .list-head { display: none; }
  .item {
    display: flex; flex-direction: column; gap: 2px; padding: 12px 0; min-width: 0;
    border-top: 1px solid var(--line); color: var(--text); text-decoration: none;
  }
  .list > .item:first-child { border-top: 0; }
  a.item:active { background: var(--hover); }
  .item.run { min-height: 72px; justify-content: center; }
  .item-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-width: 0; }
  .when { color: var(--muted); font-size: calc(.875 * var(--rem)); white-space: nowrap; }
  .item-title { font-weight: 500; overflow-wrap: anywhere; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
  .item-meta { display: flex; min-width: 0; color: var(--muted); font-size: calc(.875 * var(--rem)); white-space: nowrap; }
  .item-meta > * { flex: none; }
  .item-meta > * + *::before { content: "·"; margin: 0 6px; font-family: var(--sans); font-size: calc(.875 * var(--rem)); }
  .item-meta .ref, .item-meta .proj, .item-meta .id { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .item-meta .is-push { display: none; }
  .item .figure { font-weight: 500; white-space: nowrap; }
  .item.test .id { overflow-wrap: anywhere; }
  .kv { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 6px 0 0; }
  .kv dt { color: var(--muted); font-size: 12px; }
  .kv dd { margin: 0; font-variant-numeric: tabular-nums; }
  .kv .low { color: var(--bad); font-weight: 500; }

  /* ---------------------------------------------------------------- a run */

  .run-head { display: flex; flex-direction: column; gap: 10px; }
  .run-title { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
  /* A project can be a path and a ref a long name: they break anywhere
     rather than push the page wider than a phone. */
  .run-meta { display: flex; flex-direction: column; gap: 2px; font-size: calc(.875 * var(--rem)); min-width: 0; overflow-wrap: anywhere; }
  /* Two fixed places: Cancel on the left, Run again on the right. A button
     never appears where another one just was. */
  .actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .actions button { min-height: 48px; width: 100%; }
  /* Tests of a run: one bar, one line of words, the flows. */
  .testbar { display: flex; gap: 2px; height: 8px; border-radius: 4px; overflow: hidden; background: var(--bar); }
  .testbar .seg { flex: 1 0 4px; min-width: 4px; }
  .testbar .passed { background: var(--ok); }
  .testbar .flaky { background: var(--warn); }
  .testbar .failed { background: var(--bad); }
  .testbar .skipped { background: var(--muted); }
  .tests-words { margin: 0; font-weight: 500; }
  .chips { display: flex; flex-wrap: wrap; gap: 8px; }
  .chip { min-height: 44px; padding: 0 14px; border-radius: var(--pill); }
  .chip[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: var(--bg); font-weight: 500; }
  .test-row .item-title { font-weight: 500; font-size: calc(.9375 * var(--rem)); }
  .live-row { padding: 8px 0; }
  .tests .live .track .fill { background: var(--run); }
  /* Tests over a period: a column a day, and a line a flow. */
  .daybars { display: flex; align-items: flex-end; gap: 6px; height: 96px; }
  .daybars .day { flex: 1 1 0; min-width: 0; height: 100%; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: calc(.75 * var(--rem)); }
  .daybars .well { flex: 1; width: 100%; max-width: 40px; display: flex; align-items: flex-end; background: var(--bar); border-radius: 4px; overflow: hidden; }
  .daybars .col { width: 100%; background: var(--ok); display: flex; flex-direction: column; }
  .daybars .bad { background: var(--bad); }
  .daybars.many { gap: 2px; } .daybars.many .day span { display: none; }
  /* Insights, by day: a column per day, passed, failed and cancelled
     stacked from the bottom; retries in a lower row of their own. */
  .trend { display: flex; align-items: flex-end; gap: 2px; height: 100px; }
  .trend .d { flex: 1 1 0; min-width: 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; background: var(--bar); border-radius: 3px; overflow: hidden; }
  .trend .p, .key .p { background: var(--ok); }
  .trend .f, .key .f { background: var(--bad); }
  .trend .c, .key .c { background: var(--cancel-bar); }
  .trend .k, .key .k { background: var(--retry); }
  .trend.flk { height: 48px; }
  .axis { display: flex; justify-content: space-between; color: var(--muted); font-size: calc(.75 * var(--rem)); }
  .axis .wd { display: none; }
  .key { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--muted); font-size: calc(.8125 * var(--rem)); }
  .key i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
  .up { color: var(--ok); font-weight: 500; } .down { color: var(--bad); font-weight: 500; }
  .new { display: inline-flex; align-items: center; min-height: 22px; padding: 0 8px; border-radius: 11px; font-size: 12px; font-weight: 600; color: var(--new-text); background: var(--new-bg); }
  .item.newflaky { gap: 8px; }
  .item.newflaky .stack { gap: 2px; min-width: 0; }
  .item-meta.wrap { flex-wrap: wrap; white-space: normal; }
  .item.flow { gap: 6px; min-height: 56px; }
  .item.flow .fill { background: var(--ok); } .item.flow .fill.part { background: var(--warn); }
  .item.flow .aside { color: var(--warn); font-weight: 500; }
  .test-actions { display: flex; gap: 20px; }
  a.history { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
  a.history::after { content: " ›"; white-space: pre; }
  h1.flow-name { overflow-wrap: anywhere; font-size: calc(1.375 * var(--rem)); }
  .flow-platforms h3 { margin: 4px 0 0; font-size: calc(.875 * var(--rem)); font-weight: 500; color: var(--muted); }
  /* A flow's last runs: one mark each, told apart by shape too. */
  .marks { display: flex; flex-wrap: wrap; gap: 4px; }
  .mark { width: 12px; height: 12px; border-radius: 50%; background: var(--ok); }
  .mark.m-flaky { background: var(--warn); border-radius: 2px; transform: rotate(45deg) scale(.85); }
  .mark.m-failed, .mark.m-error { background: var(--bad); border-radius: 2px; }
  .mark.m-skipped { background: transparent; border: 2px solid var(--muted); }
  .test-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
  button.details { align-self: flex-start; min-height: 44px; padding-left: 0; color: var(--accent); }
  button.details::after { content: " ▸"; }
  button.details[aria-expanded="true"]::after { content: " ▾"; }
  .test-more { padding: 4px 0 8px; }
  .test-more .notice { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
  .item-tests { color: var(--muted); font-size: calc(.875 * var(--rem)); }
  .item-tests.has-failed { color: var(--bad); font-weight: 500; }
  /* Under a waiting run: its place in line and why. */
  .item-wait { color: var(--held-text); font-size: calc(.875 * var(--rem)); overflow-wrap: anywhere; }
  .split { display: flex; flex-direction: column; gap: 12px; }
  /* The run's test result in its header; the Tests card is under the log. */
  .tests-line { font-size: calc(.875 * var(--rem)); overflow-wrap: anywhere; }
  .tests-line .failed-n { color: var(--bad); font-weight: 500; }
  .tests-line button.golink { display: inline-flex; align-items: center; vertical-align: middle; min-height: 44px; padding: 0; border: 0; background: transparent; color: var(--accent); font: inherit; text-decoration: underline; }
  .jobs { padding-top: 4px; padding-bottom: 4px; }
  .jobs.few summary { display: none; }
  .job {
    display: flex; justify-content: space-between; gap: 8px; width: 100%; min-height: 48px; padding: 0 4px;
    text-align: left; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; overflow-wrap: anywhere;
  }
  .joblist > .job:first-child { border-top: 0; }
  .job[aria-pressed="true"] { font-weight: 600; padding-left: 12px; box-shadow: inset 3px 0 0 var(--accent); }
  .detail { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
  .detail > .row > h2 { min-width: 0; overflow-wrap: anywhere; }

  .logbox { position: relative; display: flex; flex-direction: column; min-width: 0; background: var(--code-bg); border-radius: 8px; overflow: hidden; }
  /* On a phone the buttons go to a second line rather than out of the box. */
  .logbar { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; padding: 0 4px; border-bottom: 1px solid var(--code-line); min-width: 0; }
  .logbar button { border: 0; background: transparent; color: var(--code-text); font-size: calc(.875 * var(--rem)); font-weight: 500; padding: 6px 10px; }
  .logbar button[aria-pressed="true"]::before { content: "✓"; }
  /* Copy log is the button people come for: it stands out on the dark bar. */
  .logbar button.copylog {
    /* A fingertip target (44 px) drawn as a 32 px pill: the transparent
       border is pressable, the colour stays inside it. */
    display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 8px;
    border: 6px solid transparent; border-radius: var(--pill); background: var(--code-button) padding-box; color: var(--code-button-text); font-weight: 500;
  }
  .logbar button.copylog::before {
    content: ""; width: 14px; height: 14px; flex: none; background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='12' height='12' rx='2'/%3E%3Cpath d='M5 15V5a2 2 0 0 1 2-2h10'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='12' height='12' rx='2'/%3E%3Cpath d='M5 15V5a2 2 0 0 1 2-2h10'/%3E%3C/svg%3E") center / contain no-repeat;
  }
  .logbar .follow { margin-left: auto; padding-right: 10px; color: var(--code-muted); font-size: 13px; white-space: nowrap; }
  .logtitle { display: none; flex: 1 1 0; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-left: 12px; color: var(--code-text); font-weight: 500; }
  pre.log {
    margin: 0; padding: 12px; border-radius: 8px; background: var(--code-bg); color: var(--code-text);
    font-family: var(--mono); font-size: 12px; line-height: 1.5;
    white-space: pre-wrap; overflow-wrap: anywhere; max-height: 62vh; overflow: auto; overscroll-behavior: contain;
  }
  /* dvh: on a phone the address bar comes and goes. Under 960 px the log
     is the screen less 210 px: one swipe puts its card between the top bar
     and the menu. */
  .logbox pre.log { border-radius: 0; max-height: none; height: 60vh; height: calc(100dvh - 210px); min-height: 200px; }
  .logbox.nowrap pre.log { white-space: pre; overflow-wrap: normal; }
  .jump {
    position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%);
    border: 0; border-radius: var(--pill); padding: 0 16px; white-space: nowrap;
    background: var(--code-button); color: var(--code-button-text); font-size: calc(.875 * var(--rem)); font-weight: 500;
  }
  .logbox.full {
    position: fixed; inset: 0; z-index: 10; border-radius: 0;
    padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
  }
  .logbox.full pre.log { flex: 1 1 0; height: auto; min-height: 0; }
  .logbox.full .logtitle { display: block; }
  .logbox.full .jump { bottom: calc(12px + env(safe-area-inset-bottom)); }

  .evidence { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .evidence figure { margin: 0; display: flex; flex-direction: column; gap: 6px; }
  .evidence video, .evidence img { width: 100%; max-height: 70vh; max-height: min(70dvh, 560px); object-fit: contain; border-radius: 8px; background: #000; }
  .evidence button.shot { padding: 0; border: 0; background: transparent; min-height: 0; display: block; }
  .evidence figcaption { font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }
  .files { display: flex; flex-direction: column; gap: 10px; }
  .file { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
  .file .name { overflow-wrap: anywhere; }
  .file .do { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; align-items: center; }

  /* ---------------------------------------------------------------- dialogs */

  dialog { padding: 0; color: var(--text); background: var(--panel); border: 1px solid var(--line); border-radius: 12px; width: calc(100% - 32px); max-width: 420px; }
  dialog::backdrop { background: var(--scrim); }
  /* Darker in the dark theme, so the sheet still stands out (S34). */
  :root[data-mode="dark"] & dialog::backdrop { background: rgba(0, 0, 0, .72); }
  dialog .sheet { padding: 20px 16px; display: flex; flex-direction: column; gap: 6px; }
  dialog h2 { font-size: calc(1.25 * var(--rem)); letter-spacing: -0.015em; }
  dialog .choices { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
  dialog .choices button { font-weight: 500; }
  dialog .choices button.safe { border: 2px solid var(--accent); }
  /* A question (S34): the answers in a row at the right, the destructive
     one first and the safe one last; on a phone they stack, safe on top. */
  dialog.confirm .choices { flex-direction: row; justify-content: flex-end; flex-wrap: wrap; }
  dialog.confirm .choices button { display: inline-flex; align-items: center; gap: 8px; }
  dialog.confirm .mismatch { color: var(--bad); margin: 0; min-height: 1.2em; }
  dialog.confirm .notice p { margin: 4px 0 0; }
  dialog.confirm input[type="text"] { width: 100%; }
  .spinner { width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; display: inline-block; }
  @media (prefers-reduced-motion: no-preference) { .spinner { animation: spin 1s linear infinite; } }
  /* Run…: a form in the sheet. Two answers side by side, the safe one first. */
  dialog .choices.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  dialog .choices.two > button.hidden + *, dialog .choices.two > :only-child { grid-column: 1 / -1; }
  dialog.runsheet .sheet, dialog.formsheet .sheet { gap: 12px; }
  dialog.runsheet .stack > p, dialog.formsheet .stack > p { margin: 0; }
  dialog.formsheet input[type="text"] { width: 100%; }

  /* Right now: three short lists in one sheet; it scrolls, the page does not. */
  dialog.nowsheet { max-width: 720px; }
  dialog.nowsheet .sheet { gap: 14px; max-height: 85dvh; overflow-y: auto; overscroll-behavior: contain; }
  dialog.nowsheet h3 { margin: 0; font-size: calc(.875 * var(--rem)); font-weight: 500; color: var(--muted); }
  dialog.nowsheet a.item { min-height: 44px; justify-content: center; }
  .item-why { font-size: calc(.875 * var(--rem)); }
  button.nowmore { align-self: flex-start; padding-left: 0; color: var(--text); text-align: left; }
  .fieldset { display: flex; flex-direction: column; gap: 6px; }
  .fieldset .name, fieldset.options > legend { font-weight: 500; font-size: calc(.875 * var(--rem)); color: var(--muted); padding: 0; }
  .fieldset select { width: 100%; }
  fieldset.options { margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; min-width: 0; }
  fieldset.options > legend { margin-bottom: 6px; }
  fieldset.options.titled > legend { font-size: calc(1.125 * var(--rem)); font-weight: 500; color: var(--text); margin-bottom: 4px; }
  fieldset.options.titled > .lede { margin: 0 0 10px; }
  .notice.busy { display: flex; flex-direction: column; gap: 2px; }
  fieldset.options .option { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 4px 12px; border: 1px solid var(--control-line); border-bottom-width: 0; background: var(--panel); cursor: pointer; }
  fieldset.options .option:first-of-type { border-radius: var(--radius) var(--radius) 0 0; }
  fieldset.options .option:last-of-type { border-bottom-width: 1px; border-radius: 0 0 var(--radius) var(--radius); }
  fieldset.options .option:only-of-type { border-radius: var(--radius); }
  fieldset.options .option input { flex: none; width: 20px; height: 20px; min-height: 0; margin: 0; accent-color: var(--accent); }
  fieldset.options .option > span { display: flex; flex-direction: column; min-width: 0; overflow-wrap: anywhere; }
  fieldset.options .option-title { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
  fieldset.options .tag { display: inline-block; padding: 0 8px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 12%, var(--panel)); color: var(--accent); font-size: 12px; font-weight: 500; }
  /* Overview: what is happening now, and the one thing to do. */
  .now .stat a { color: inherit; display: inline-flex; align-items: center; min-height: 44px; }
  button.wide { width: 100%; }
  a.lastrun { display: flex; align-items: center; min-height: 44px; }
  details.thismac > summary { color: var(--text); font-size: calc(1 * var(--rem)); }
  details.thismac[open] > summary { margin-bottom: 4px; }
  details.thismac h2 { font-size: calc(1 * var(--rem)); }
  dialog.viewer { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; border: 0; border-radius: 0; background: #000; color: #fff; }
  dialog.viewer img { width: 100%; height: 100%; object-fit: contain; touch-action: pinch-zoom; display: block; }
  dialog.viewer .close { position: absolute; top: max(8px, env(safe-area-inset-top)); right: max(8px, env(safe-area-inset-right)); background: rgba(17, 19, 21, .7); color: #fff; border-color: #75757a; }
  dialog.viewer .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: rgba(17, 19, 21, .7); font-size: 12px; overflow-wrap: anywhere; }


  /* Overview, one half not loaded: its own words in place, nothing stale. */
  .now .gone { display: none !important; }
  .thismac.unloaded > :not(summary) { display: none; }
  .now .notice, .card > .notice { display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; }

  @media (min-width: 600px) {
    .axis .wd { display: inline; }
    .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .filters { display: flex; }
    .meter { grid-template-columns: 150px minmax(0, 1fr) auto; }
    .meter .track { grid-column: auto; order: 0; }
    .run-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; align-items: start; }
    .run-title, .run-meta, .run-whose, .tests-line, .action-error { grid-column: 1; }
    .actions { grid-column: 2; grid-row: 1 / span 2; grid-template-columns: repeat(2, 150px); }
    pre.log { font-size: 12.5px; }
    .evidence { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
    .file { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; }
    .file .do { display: flex; }
    .item.wf { flex-direction: row; align-items: center; justify-content: space-between; gap: 16px; }
    .item.wf .kv { width: 380px; flex: none; margin: 0; }
    .item.newflaky { flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; }
    .item.newflaky .row { flex: none; }
    .trend { height: 120px; gap: 3px; } .trend.flk { height: 56px; }
    .claim .go { flex-direction: row; }
    input.code { width: 14ch; }
  }
  @media (min-width: 960px) {
    .split { flex-direction: row; align-items: flex-start; }
    .jobs { flex: 0 0 300px; }
    .detail { flex: 1 1 0; min-width: 0; }
    .logbox pre.log { height: var(--log-h, min(60dvh, 520px)); min-height: 320px; }
  }
  @media (min-width: 1440px) {
    .jobs { flex-basis: 340px; }
  }
  @media (orientation: landscape) and (max-height: 480px) {
    .logbox pre.log { height: calc(100vh - 120px); height: calc(100dvh - 120px); }
    .evidence video, .evidence img { max-height: calc(100vh - 16px); max-height: calc(100dvh - 16px); }
  }
  @media (min-width: 960px) {
    --rem: 14px; line-height: 1.5;
    h1 { font-size: 24px; letter-spacing: -0.02em; }
    a.item:hover { background: var(--hover); }
    .runs .list-head, .item.run {
      display: grid; grid-template-columns: 130px minmax(0, 1fr) minmax(0, 240px) 150px 150px 110px; column-gap: 12px;
    }
    .list-head { padding: 0 0 8px; color: var(--muted); font-size: 12px; font-weight: 500; }
    .list-head .right { text-align: right; }
    .item.run {
      grid-template-areas: "status title ref event dur when" "status proj sha event dur when" "status whose whose whose whose whose";
      align-items: center; row-gap: 0; min-height: 56px; padding: 6px 0;
    }
    .item.run .item-top, .item.run .item-meta { display: contents; }
    .item.run .item-meta > * + *::before { content: none; }
    .item.run .badge { grid-area: status; }
    .item.run .item-title { grid-area: title; }
    .item.run .proj { grid-area: proj; }
    .item.run .ref { grid-area: ref; color: var(--text); font-size: calc(1 * var(--rem)); }
    .item.run .sha { grid-area: sha; }
    .item.run .event { grid-area: event; display: block; color: var(--text); font-size: calc(1 * var(--rem)); }
    .item.run .dur { grid-area: dur; text-align: right; color: var(--text); font-size: calc(1 * var(--rem)); }
    .item.run .when { grid-area: when; text-align: right; }
    /* The counts sit under the project, in the title's column. */
    .item.run { grid-template-areas: "status title ref event dur when" "status proj sha event dur when" "status whose whose whose whose whose" "status tests tests tests tests tests"; }
    .item.run .item-tests { grid-area: tests; }
    /* A waiting run has no tests yet: its line takes their place. */
    .item.run .item-wait { grid-area: tests; }
    .item.run .item-whose { grid-area: whose; }
  }
  @media (min-width: 960px) { a.back.up { display: none; } }
  @media (max-width: 599px) {
    /* Under the thumb. */
    dialog.confirm { margin: auto 0 0; width: 100%; max-width: none; border-radius: 16px 16px 0 0; border-bottom: 0; }
    dialog.confirm .sheet { padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
    dialog.confirm .choices { flex-direction: column-reverse; }
    dialog.confirm .choices button { justify-content: center; }
  }
  /* Whose a run is and why (approved board v1794924603-3366). */
  .item-whose { color: var(--muted); font-size: calc(.8125 * var(--rem)); overflow-wrap: anywhere; }
  .run-whose { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px 12px; margin: 0; padding: 12px; background: var(--hover); border-radius: 8px; font-size: calc(.875 * var(--rem)); overflow-wrap: anywhere; }
  .run-whose dt { color: var(--muted); }
  .run-whose dd { margin: 0; }
  @media (max-width: 599px) { .run-whose { grid-template-columns: minmax(0, 1fr); gap: 0; } .run-whose dd + dt { margin-top: 6px; } }
}
/* A Mac's gates (Claude Design 5vaLeWj5ayzzPquCj7ir9r, boards G1, G2, G3). */
.gg { --say-ok: #14532D; --say-bad: #7F1D1D; --say-need: #92400E; }
:root[data-mode="dark"] { .gg { --say-ok: var(--text); --say-bad: var(--text); --say-need: var(--text); } }

.gg .gabout { margin: 0; font: var(--type-small); }
.gg .gabout:empty { display: none; }
.gg .gstack { gap: 14px; }

/* All, QA, Security, Documentation: one pill group on a desk (G1, G2),
   separate pills on a phone (G3). */
.gg .gseg { display: inline-flex; border: 1px solid var(--control-line); border-radius: var(--pill); overflow: hidden; font-size: 14px; font-weight: 500; }
.gg .gseg a { display: flex; align-items: center; min-height: 36px; padding: 0 16px; color: var(--text); text-decoration: none; }
.gg .gseg a:hover { background: var(--hover); }
.gg .gseg a[aria-current="page"] { background: var(--accent); color: var(--accent-text); }

.gg .gcard { display: flex; flex-direction: column; gap: 12px; padding: 16px 20px; }
.gg .gtop { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; }
.gg .gtop > strong { font-weight: 600; overflow-wrap: anywhere; }
.gg .gmeta { font-size: 13px; }
.gg .gmeta a.plain { text-decoration: underline; color: inherit; }
/* Links inside a line of text stay in the line: page-macs.css makes
   `a.plain` a 44 px block for links that stand alone. */
.gg .gmeta a.plain, .gg .gabout a.plain { display: inline; min-height: 0; padding: 0; }

.gg .gsay { padding: 8px 12px; border-radius: 8px; font-size: 14px; line-height: 20px; }
.gg .gsay strong { font-weight: 600; }
.gg .gsay.ok { background: var(--ok-bg); color: var(--say-ok); }
.gg .gsay.bad { background: var(--bad-bg); color: var(--say-bad); }
.gg .gsay.info { background: var(--info-bg); color: var(--info-text); }

.gg .gtiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.gg .gtile { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; color: var(--text); text-decoration: none; min-width: 0; }
.gg .gtile:hover { background: var(--hover); }
.gg .gtile > strong { font-weight: 500; }
.gg .gsum { font-size: 13px; overflow-wrap: anywhere; }

/* One gate's page (G2): a project's line, then its rules. */
.gg .gcard.gone { gap: 0; padding: 14px 20px; }
.gg .gcard.gone .gtop { justify-content: flex-start; align-items: center; gap: 6px 10px; padding-bottom: 8px; }
.gg .gcard.gone .gtop .gmeta { flex: 1 1 0; min-width: 12em; }
.gg .gcard.gone:not(:has(.grule)) .gtop { padding-bottom: 0; }
.gg .grule { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; }
.gg .grule .gwhat { flex: 1 1 0; min-width: 0; overflow-wrap: anywhere; }
.gg .grule strong { font-weight: 600; }
.gg .grule code { font: var(--type-code); }
.gg .glevel { display: inline-flex; flex: none; border: 1px solid var(--control-line); border-radius: var(--pill); overflow: hidden; font-size: 13px; font-weight: 500; }
.gg .glevel span { display: flex; align-items: center; min-height: 30px; padding: 0 12px; }
.gg .glevel span.on { background: var(--accent); color: var(--accent-text); }

@media (max-width: 959px) {
  .gg .gseg { display: flex; gap: 8px; border: 0; border-radius: 0; overflow: visible; }
  .gg .gseg a { padding: 0 14px; border: 1px solid var(--button-line); border-radius: var(--pill); background: var(--panel); white-space: nowrap; }
  .gg .gseg a[aria-current="page"] { border-color: var(--accent); }
  .gg .gcard { gap: 6px; padding: 14px 16px; }
  .gg .gtop { justify-content: flex-start; }
  .gg .gcard:not(.gone) .gmeta .gmore { display: none; }
  .gg .gsay { padding: 8px 10px; font-size: 15px; }
  .gg .gtiles { display: flex; flex-direction: column; gap: 0; }
  .gg .gtile { flex-direction: row; justify-content: space-between; align-items: center; min-height: 44px; padding: 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; font-size: 16px; }
  .gg .gtile:hover { background: none; }
  .gg .gtile > strong { font-weight: 400; }
  .gg .gtile .gsum { display: none; }
  .gg .grule { flex-wrap: wrap; }
}
/* One project of one Mac: boards C4 (desktop) and P9 (phone), plan 40 wave H. */
@media (min-width: 960px) { .gg main.project { padding: 28px; gap: 16px; } }
/* A project shared with this person (plan 50, boards M1 and M2): what
   they may do, on a quiet grey strip, My Access at its end. */
.gg .card.paccess { display: flex; justify-content: space-between; align-items: center; gap: 16px; background: var(--info-bg); color: var(--info-text); border: 0; padding: 12px 18px; }
.gg .card.paccess strong { font-weight: 500; }
.gg .card.paccess a { white-space: nowrap; }
.gg [data-card="recent-runs"] h2 { margin: 0; font-size: 16px; font-weight: 600; }
@media (max-width: 599px) { .gg .card.paccess { display: block; padding: 10px 14px; } }
/* The last run: "✓ Passed  ci · main · Mac · 12 min ago" on one line (C4);
   the run first and the result on the right on a phone (P9). */
.gg .prun { display: flex; flex-direction: row; align-items: center; justify-content: flex-start; gap: 12px; text-align: left; }
.gg .prun .chip { display: inline-flex; align-items: baseline; gap: 6px; font: var(--type-row); color: var(--muted); white-space: nowrap; }
.gg .prun .chip.ok { color: var(--ok); }
.gg .prun .chip.bad { color: var(--bad); }
.gg .prun .rwhat { display: flex; flex-wrap: wrap; column-gap: 6px; min-width: 0; flex: 1 1 240px; }
.gg .prun .rwhat .muted::before { content: "· "; }
.gg .prun .rname { font: var(--type-body); overflow-wrap: anywhere; }
.gg .pkeys { display: flex; flex-direction: column; gap: 14px; }
.gg .pkeys .khead { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.gg .pkeys .khead h2 { font: var(--type-section); margin: 0; }
.gg .pkeys .khead .titles { display: flex; flex-direction: column; gap: 2px; }
.gg .pkeys .khead button svg.i { margin-right: 6px; }
.gg .knew { border: 2px solid var(--accent); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.gg .knew .ktitle { display: flex; flex-direction: column; gap: 2px; }
.gg .knew .ktitle .t { font: var(--type-row); }
.gg .knew p { margin: 0; }
.gg .ktabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); }
.gg .ktabs button { border: 0; border-radius: 8px 8px 0 0; background: transparent; color: var(--muted); font: var(--type-row); padding: 8px 14px; min-height: 40px; }
.gg .ktabs button[aria-selected="true"] { background: var(--on-bg); color: var(--accent); box-shadow: inset 0 -3px 0 var(--accent); }
.gg .kcode { margin: 0; background: var(--code-bg); color: var(--code-text); font: var(--type-code); border-radius: 8px; padding: 12px 14px; white-space: pre-wrap; overflow-wrap: anywhere; }
.gg .knew .row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.gg .kstate { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font: var(--type-small); }
.gg .kstate.ok { color: var(--ok); font-weight: 600; }
.gg .kwarn { background: var(--warn-bg); color: var(--new-text); border-radius: 8px; padding: 10px 12px; }
.gg .klist { display: flex; flex-direction: column; }
.gg .krow { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.gg .krow .kwhat { display: flex; flex-direction: column; min-width: 0; }
.gg .krow .kname { font: var(--type-row); overflow-wrap: anywhere; }
@media (max-width: 599px) {
  .gg .prun .chip { order: 2; font: var(--type-small); font-weight: 600; }
  .gg .prun .rwhat { flex-direction: column; flex-basis: 0; }
  .gg .prun .rwhat .muted::before { content: none; }
  .gg .prun .rname { font: var(--type-row); }
  .gg .pkeys > button.primary { width: 100%; justify-content: center; }
  .gg .ktabs button { flex: 1; padding: 8px 6px; }
}
/* New Project (boards C3 on a desktop, P3 on a phone). */
.gg .newproject { max-width: 760px; gap: 16px; }
.gg .newproject h1 { margin: 0; font-size: 22px; line-height: 1.25; }
.gg .newproject .backlink { display: inline-flex; align-items: center; gap: 4px; min-height: 24px; align-self: flex-start; text-decoration: none; }
.gg .newproject .backlink svg.i { width: 16px; height: 16px; }
.gg .npform { padding: 18px; border-radius: 10px; display: flex; flex-direction: column; gap: 16px; }
.gg .npform .field { gap: 6px; }
.gg .npform label { font-size: 14px; line-height: 1.45; font-weight: 600; }
.gg .npform input { font-size: 16px; }
.gg .forgepicks { display: flex; gap: 8px; }
.gg button.forgepick { padding: 0 18px; font-weight: 600; }
.gg button.forgepick[aria-pressed="true"] { border: 2px solid var(--accent); background: var(--on-bg); color: var(--accent); }
.gg .tokenrow { gap: 8px; flex-wrap: nowrap; }
.gg .tokenrow input { flex: 1; }
.gg .tokenhelp summary { cursor: pointer; color: var(--accent); min-height: 24px; }
.gg .tokenhelp ol { margin: 8px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; }
.gg .tokenhelp .helpgo { margin-top: 8px; display: inline-flex; align-items: center; gap: 8px; }
.gg .tokenhelp .helpgo svg.i { width: 16px; height: 16px; }
.gg .npcheck { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.gg .npcheck:empty { display: none; }
.gg .npcheck .found { font-weight: 600; color: var(--ok); }
.gg .npcheck .bad { color: var(--bad); }
.gg .npacts { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
/* U4, U4s: the hold of a browser added with the passkey alone. */
.gg .nphold { padding: 14px 16px; border-radius: 10px; border-color: var(--warn); display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.gg .nphold[hidden] { display: none; }
.gg .nphold-t { flex: 1 1 280px; display: flex; flex-direction: column; }
.gg .nphold h2 { margin: 0; font-size: 16px; line-height: 1.45; }
.gg .nphold button { white-space: nowrap; }
.gg .npform.held { opacity: .5; }
@media (max-width: 959px) {
  .gg .newproject { gap: 12px; }
  .gg .nphold-t { flex-basis: 100%; }
  .gg .nphold button { flex: 1 1 100%; }
  .gg .newproject h1 { font-size: 20px; }
  /* P3: no card around the form, the picks share the width, and Create
     Project sits in a bar of its own over the tab bar. */
  .gg .npform { background: none; border: 0; padding: 0; gap: 12px; }
  .gg .forgepicks button.forgepick { flex: 1; }
  .gg .tokenhelp summary { min-height: 44px; display: inline-flex; align-items: center; }
  .gg .npacts { margin: 0 -16px; padding: 10px 16px; background: var(--panel); border-top: 1px solid var(--line); }
  .gg .npacts button.primary { flex: 1; }
}
/* A phone: the bar sits on the tab bar (61 px), as on board P3. */
@media (max-width: 599px) {
  .gg .newproject { padding-bottom: 72px; }
  .gg .npacts { position: fixed; left: 0; right: 0; margin: 0; bottom: calc(61px + env(safe-area-inset-bottom)); z-index: 2; }
}
/* A project's Repository section and its access token box (boards TK4,
   TK5 on a desktop; PK3, PK4 on a phone). Colours only from the shared
   variables, so the restyle colours it with the rest. */
.gg .card.repo { display: flex; flex-direction: column; padding: 12px 16px 4px; }
.gg .card.repo h2 { margin: 0 0 4px; font-size: 16px; line-height: 1.45; }
.gg .reporow { min-height: 48px; display: flex; align-items: center; gap: 10px; border-top: 1px solid var(--line); }
.gg .reporow .tkwhere { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.gg button.tkrow { all: unset; box-sizing: border-box; min-height: 56px; display: flex; align-items: center; gap: 10px; border-top: 1px solid var(--line); color: var(--text); cursor: pointer; width: 100%; }
.gg button.tkrow:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.gg .tkwhat { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.gg .tkname { font-weight: 600; }
.gg .tkact { color: var(--accent); font-weight: 600; white-space: nowrap; }
.gg .tkword { font-weight: 600; }
.gg .tkword.ok { color: var(--ok); }
.gg .tkword.soon { color: var(--new-text); }
.gg .tkword.ended { color: var(--bad); }
.gg .tkword.unset { color: var(--muted); font-weight: 400; }
.gg .tkbox .grab { align-self: center; width: 36px; height: 5px; border-radius: 3px; background: var(--line); }
.gg .tkbox .sheet-body { width: 560px; gap: 14px; }
.gg .tkbox .titles { display: flex; flex-direction: column; }
.gg .tkbox h2 { margin: 0; font-size: 20px; line-height: 1.25; }
.gg .tknow { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; background: var(--bg); border-radius: 8px; padding: 10px 12px; }
.gg .tknowlabel { font-weight: 600; }
.gg .tkbox .field { display: flex; flex-direction: column; gap: 6px; }
.gg .tkbox label { font-size: 14px; font-weight: 600; }
.gg .tkacts { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.gg .tkacts .tkmain { display: flex; gap: 8px; margin-left: auto; }
@media (max-width: 959px) {
  .gg button.tkrow { min-height: 60px; }
  /* PK4: Replace Token over Remove Token…, each the full width. */
  .gg .tkacts { flex-direction: column-reverse; align-items: stretch; }
  .gg .tkacts .tkmain { margin-left: 0; }
  .gg .tkacts .tkmain button.primary { flex: 1; }
  .gg .tknow { justify-content: flex-start; }
}
/* Help (Claude Design MP1LH4KWcGWR8D2NdUthvS): C1 on a desktop, the
   topics on the left and one topic in a card; C2 and C3 on a phone, the
   topics as rows, then one topic. Colours only from the shared variables. */
.gg .help { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.gg .helphead { display: flex; flex-direction: column; gap: 4px; }
.gg .helphead .sub { margin: 0; }
.gg .helphead .backlink { display: none; align-items: center; gap: 4px; min-height: 44px; align-self: flex-start; text-decoration: none; font: var(--type-body); }
.gg .helphead .backlink svg.i { width: 16px; height: 16px; }
.gg .helphead .phone-title, .gg .helphead .sub .phone { display: none; }
.gg .helpcols { display: grid; grid-template-columns: 220px minmax(0, 720px); gap: 24px; align-items: start; }
.gg .helptopics { display: flex; flex-direction: column; gap: 2px; position: sticky; top: 24px; }
.gg .helptopics .go { display: flex; align-items: center; gap: 10px; min-height: 36px; padding: 0 10px; border-radius: 8px; color: var(--text); text-decoration: none; font: var(--type-body); }
.gg .helptopics .go:hover { background: var(--hover); color: var(--text); }
.gg .helptopics .go.on { background: var(--on-bg); font-weight: 500; }
.gg .helptopics .tt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.gg .helptopics .hint, .gg .helptopics svg.i.end { display: none; }

.gg .helpart { padding: 28px 32px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.gg .helpart > h2 { font: var(--type-heading); letter-spacing: -0.015em; }
.gg .helpbody { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.gg .helpbody > * { margin: 0; }
.gg .helpbody h3 { font: var(--type-section); margin-top: 12px; display: flex; align-items: center; gap: 10px; scroll-margin-top: 16px; }
.gg .helpbody h4 { font: var(--type-row); margin-top: 4px; scroll-margin-top: 16px; }
.gg .helpbody h3.step .num { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: var(--accent-text); display: inline-flex; align-items: center; justify-content: center; font: var(--type-label); font-weight: 600; }
.gg .helpbody p, .gg .helpbody li { overflow-wrap: anywhere; }
.gg .helpbody ol, .gg .helpbody ul { padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.gg .helpbody li > ol, .gg .helpbody li > ul, .gg .helpbody li > .tablewrap, .gg .helpbody li > pre, .gg .helpbody li > p { margin: 6px 0 0; }
.gg .helpbody code { font: var(--type-code); background: var(--hover); border-radius: 4px; padding: 1px 4px; }
.gg .helpbody pre { background: var(--code-bg); color: var(--code-text); border-radius: 8px; padding: 12px 14px; overflow-x: auto; }
.gg .helpbody pre code { background: none; padding: 0; color: inherit; white-space: pre; }
.gg .helpbody .tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; }
.gg .helpbody table { border-collapse: collapse; width: 100%; font: var(--type-small); }
.gg .helpbody th, .gg .helpbody td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.gg .helpbody th { font-weight: 500; color: var(--muted); background: var(--bg); }
.gg .helpbody tr:last-child td { border-bottom: 0; }
.gg .helpnote { background: var(--info-bg); color: var(--info-text); border-radius: 8px; padding: 10px 14px; }
.gg .helpnote p { margin: 0; }
.gg .helpfoot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 16px; margin-top: 8px; }
.gg .helpfoot .prev { text-decoration: none; color: var(--muted); }
.gg .helpfoot .next { margin-left: auto; }

@media (max-width: 959px) {
  .gg .helphead .backlink { display: inline-flex; }
  .gg .helphead .sub .desk { display: none; }
  .gg .helphead .sub .phone { display: inline; }
  .gg .helpcols { display: block; }
  /* C2: the topics as rows with their hint. */
  .gg .help.index .helpart, .gg .help:not(.index) .helptopics { display: none; }
  .gg .helptopics { position: static; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 2px 16px; gap: 0; }
  .gg .helptopics .go { min-height: 56px; padding: 8px 0; border-radius: 0; border-bottom: 1px solid var(--bar); gap: 12px; }
  .gg .helptopics .go:last-child { border-bottom: 0; }
  .gg .helptopics .go.on { background: none; font-weight: 400; }
  .gg .helptopics .label { font: var(--type-row); }
  .gg .helptopics .hint { display: block; font: var(--type-small); color: var(--muted); }
  .gg .helptopics svg.i.end { display: block; width: 16px; height: 16px; color: var(--muted); flex: none; }
  /* C3: one topic, its name as the page's title. */
  .gg .help:not(.index) .helphead .desk-title, .gg .help:not(.index) .helphead .sub, .gg .help:not(.index) .helpart > h2 { display: none; }
  .gg .help:not(.index) .helphead .phone-title { display: block; }
  .gg .helpart { padding: 16px; }
  .gg .helpfoot { flex-direction: column-reverse; align-items: stretch; }
  .gg .helpfoot .next { margin-left: 0; width: 100%; white-space: normal; text-align: center; }
  .gg .helpfoot .prev { min-height: 44px; display: flex; align-items: center; justify-content: center; }
}
