@font-face { font-family: Inter; font-weight: 100 900; font-display: swap;
  src: url(/shared/fonts/inter-latin-wght-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: Inter; font-weight: 100 900; font-display: swap;
  src: url(/shared/fonts/inter-latin-ext-wght-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

:root {
  /* secondary brand colours: shared/brand.js replaces these with the API's values (/api/v1/brand) */
  --light-grey: #FAF7F5; --jet: #000000; --white: #FFFFFF;
  --bg: var(--light-grey); --surface: var(--white); --ink: var(--jet);
  --muted: #6b645e; --line: #e7e1dc; --well: #efe9e4;
  --edge: #8a837c; /* the edge of a control with no words of its own, a tick or an empty field: 3:1 against the page and the card, where --line is 1.3:1 */
  --radius: 14px;
  --light-ground: #d9d2cc; /* under a dimension's colour too dark for the dark theme (IdgKit.liftOnDark): 8.0:1 under Acting */
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink); background: var(--bg);
  -webkit-text-size-adjust: 100%;
}
/* Dark only by choice, never by the computer's setting (shared/theme.js), and never on paper: print and the PDF stay light. */
:root { color-scheme: light; }
@media screen {
  :root[data-theme="dark"] { color-scheme: dark; --bg: #17130F; --surface: #221d18; --ink: var(--light-grey); --muted: #a79e96; --line: #3a322b; --well: #2c251f; --edge: #7d746b; }
}
* { box-sizing: border-box; }
[hidden] { display: none !important; } /* hidden whatever display a class gives it: the one copy of this rule (audit SOLID-13) */
body { margin: 0; background: var(--bg); color: var(--ink); }
button, input, select { font: inherit; color: inherit; }
/* the browsers' own grey was 3.63:1 on dark (Chromium) and 2.35:1 on light (WebKit); --muted is 5.82 and 6.34 (WCAG review, 2026-11-08) */
::placeholder { color: var(--muted); opacity: 1; }
button { cursor: pointer; }
img.mark { display: block; object-fit: contain; }
/* A skill, the same in every tool (kit.js, "a skill, drawn the same in every tool"; docs/mocks/skills-alignment.html). Three sizes of
   mark: beside a word, as tall as the line with its name (.mark-s, 22 px beside the dimension line's 15); in a list (.mark-m); and
   large, on its glow, when one skill is read (.markwrap, sized by the card). The glow is a rule: behind a mark, one skill, read now;
   around a card, one dimension; a list has none. A presenter screen sizes the same in its own unit (screen.css). */
:root { --mark-m: 36px; }
/* A participant's page on a computer: from a window of 900 × 540, the phone page fills the window, its words and marks growing with it
   (the vote's map, docs/mocks/vote-desktop.html A; the ice-breaker, reflect, appreciate and contemplation, docs/mocks/participants-desktop.html
   A; Janolof, 2026-12-01: "All A"). --k is a design pixel: 1 at 1440 × 760, held by whichever of the window's width and height is
   shorter, so a page fills the window without scrolling; below .75 it would be too small to read, and a window that small scrolls.
   Each page's own @media (min-width: 900px) and (min-height: 540px) says what fills; a phone, and any smaller window, keeps its page. */
@media (min-width: 900px) and (min-height: 540px) {
  :root { --k: clamp(.75px, min(calc(100vw / 1440), calc(100vh / 760)), 1.8px); }
  /* the participant pages' top bar (.p-top: the ice-breaker, reflect, appreciate, contemplation), one look in all four: what stays
     the same size on a phone grows with a large screen, never below that size */
  .p-top { gap: calc(var(--k) * 14); }
  .p-top .marks { gap: max(4px, calc(var(--k) * 4)); --hold: max(4px, calc(var(--k) * 4.4)); }
  .p-top .marks img { width: max(20px, calc(var(--k) * 22)); height: max(20px, calc(var(--k) * 22)); }
  .p-top .end { gap: max(8px, calc(var(--k) * 10)); }
  .p-top select.lang { font-size: max(13px, calc(var(--k) * 14)); padding: max(6px, calc(var(--k) * 6)) max(10px, calc(var(--k) * 10)); }
  .p-top .themebtn, .p-top .toolsbtn { width: max(40px, calc(var(--k) * 40)); height: max(40px, calc(var(--k) * 40)); }
  .p-top .themebtn svg { width: max(18px, calc(var(--k) * 18)); height: max(18px, calc(var(--k) * 18)); }
  .p-top .toolsbtn svg { width: max(16px, calc(var(--k) * 16)); height: max(16px, calc(var(--k) * 16)); }
  .p-top .clock { font-size: max(15px, calc(var(--k) * 17)); gap: max(8px, calc(var(--k) * 10)); }
  .p-top .clock .ring { width: max(24px, calc(var(--k) * 28)); height: max(24px, calc(var(--k) * 28)); }
}
img.mark-s { width: 1.4667em; height: 1.4667em; flex: none; }
img.mark-m { width: var(--mark-m); height: var(--mark-m); flex: none; }
/* the dimension line: its mark and its name, muted, one size; centred on a card that is itself centred */
.dimline { display: flex; align-items: center; gap: .5em; font-size: 15px; font-weight: 700; line-height: 1.3; color: var(--muted); }
.dimline > span { min-width: 0; overflow-wrap: break-word; }
/* the large mark on its glow: a soft cloud of the dimension's unchanged colour (--dim), from the same family as the vote's islands.
   Closer and fuller (B in docs/mocks/glow-projector.html; Janolof, 2026-12-01, a projector turned the glow "more towards the blue"):
   the colour stays strong around the mark and fades over a short edge. A projector's cool white turns pale, nearly grey tints blue,
   and the wide pale fade the glow had (205 %, 55 % to 22 % at half way, at .85) was almost all such tints. Still to see on a projector. */
.markwrap { position: relative; flex: none; display: grid; place-items: center; }
.markwrap img { position: relative; width: 100%; height: 100%; object-fit: contain; }
.markwrap .halo { position: absolute; left: 50%; top: 50%; width: 165%; aspect-ratio: 1; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--dim) 62%, transparent), color-mix(in srgb, var(--dim) 42%, transparent) 52%,
    color-mix(in srgb, var(--dim) 16%, transparent) 80%, transparent);
  transform: translate(-50%, -50%); }
/* The marks stand as they are in every theme. Only what is drawn around them changes: Acting's wine is too dark for the dark screen, so
   there its cloud is a light ground, fading as the vote's island has it (IdgKit.liftOnDark, on a box marked .lift). It leans towards
   Acting's own colour and darkens outwards (Janolof, 2026-11-10: "not only grey but slightly darker and tuner towards the dimension
   color"): right around the mark it stays light enough for the 3:1 a graphic needs against the wine; beyond, a deeper wine glow.
   --glow and --glow-deep are that light ground, once, for every glow of Acting's on a dark page: behind its large mark here, in the corner
   of the guide's dimension card (guide.css, held equal), around the ice-breaker's and reflect's card (Janolof, 2026-12-01: "We need the
   lighter glow indeed, close to the one we started with", after a plate under the small mark, A, was "no good"; then "Slightly darker":
   78 % and 44 % of the light ground, from 85 and 50, still 3.9 to 1 beside the mark). The vote's island and the landing page's clouds
   draw it in SVG, with the same two numbers (one-place.test.mjs). */
@media screen {
  :root[data-theme="dark"] :is(.lift, .lift *) { --glow: color-mix(in srgb, var(--light-ground) 78%, var(--dim)); --glow-deep: color-mix(in srgb, var(--light-ground) 44%, var(--dim)); }
  :root[data-theme="dark"] .lift .markwrap .halo { width: 205%;
    background: radial-gradient(closest-side, color-mix(in srgb, var(--glow) 95%, transparent), color-mix(in srgb, var(--glow) 88%, transparent) 52%,
      color-mix(in srgb, var(--glow-deep) 45%, transparent) 72%, transparent); opacity: .85; }
}
/* The five marks stand together on one light holder on a dark page (Janolof, 2026-12-01: "a light holder to the top left", 1 in
   docs/mocks/acting-dark.html): the light page's own ground, so they look as they do in light mode, Acting's wine among them. Every group
   of the five (.marks): the top bars, the start pages, the shared screens, the guide, the landing page, the timer, the tools grid. Drawn
   around the group, not inside it, so nothing moves: --hold, its edge, about a fifth of a mark, is written beside a group whose marks are
   larger than 20 px; the marks themselves are as they are. */
@media screen {
  :root[data-theme="dark"] .marks { width: fit-content; border-radius: 999px; background: var(--light-grey); box-shadow: 0 0 0 var(--hold, 4px) var(--light-grey); }
}
/* the skill card (IdgKit.skillCard): the dimension line, the mark on its glow, the name, centred; the description as it reads */
.skillcard .dimline { position: relative; z-index: 1; justify-content: center; text-align: center; }
.skillcard .inner { display: flex; flex-direction: column; align-items: center; min-width: 0; width: 100%; }
.skillcard .inner > :not(.markwrap) { position: relative; align-self: stretch; }
:where(.skillcard .inner) > :is(h2, h3, .desc) { margin: 0; } /* :where, so a tool's own sizes and spaces win */
:where(.skillcard .inner) > :is(h2, h3) { text-align: center; text-wrap: balance; } /* how a long word breaks is the tool's: a screen fits it whole */
/* the list tile (IdgKit.skillTile): the mark beside the name; a tool adds a tick, a bar or Read more */
.skilltile { display: flex; align-items: center; gap: 12px; min-width: 0; }
.skilltile .words { min-width: 0; display: grid; gap: 2px; }
.skilltile .name { font-size: 15px; font-weight: 600; line-height: 1.25; overflow-wrap: anywhere; hyphens: auto; }
.muted { color: var(--muted); }
.code { font-variant-numeric: tabular-nums; font-weight: 600; letter-spacing: .02em; }
.btn { border: 0; border-radius: 999px; padding: .8em 1.4em; font-weight: 600; background: var(--ink); color: var(--bg); }
.btn[disabled] { opacity: .35; cursor: default; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.attribution { font-size: 12px; line-height: 1.5; color: var(--muted); }
.attribution a { color: inherit; }
.marks { display: flex; gap: 4px; }
.marks img { width: 18px; height: 18px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
[aria-disabled="true"] { opacity: .45; cursor: default; } /* at its limit: still reachable, so the keyboard keeps its place */
/* the way back to all the tools. The chevron is drawn, so it needs no glyph and says nothing to a screen reader */
.backlink { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: 14px; font-weight: 500; }
.backlink::before { content: ""; width: .5em; height: .5em; margin-inline: .15em .55em; border-left: 1.5px solid; border-bottom: 1.5px solid; transform: rotate(45deg); }
[dir="rtl"] .backlink::before { transform: rotate(-135deg); }
/* Prototype (Janolof, 2026-11-12): after the name on the landing page and each tool's on its card there, and after All tools on every tool's own page. */
.proto { display: inline-flex; align-items: center; font-size: 12px; font-weight: 600; letter-spacing: .02em; line-height: 1; padding: 5px 9px; border-radius: 999px;
  color: var(--ink); background: var(--well); box-shadow: inset 0 0 0 1px var(--line); white-space: nowrap; }
.proto[hidden] { display: none; }
/* The way to the other tools (kit.js, toolsLauncher; docs/mocks/tools-launcher.html): the grid sign alone, top right, as round as
   light or dark beside it, at every width (Janolof, 2026-11-16: "remove text 'all tools', keep only matrix-icon"). Its words stay
   for a screen reader, and as the button's title. It opens the tools as a grid, each with its own icon and name. */
.toolswrap { position: relative; display: inline-flex; flex: none; }
.toolswrap[hidden] { display: none; }
.toolsbtn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--edge); border-radius: 999px; background: var(--surface); color: var(--ink); cursor: pointer; }
.toolsbtn svg { flex: none; }
.toolsbtn .tl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.toolsbtn:hover { background: var(--well); }
.toolsbtn[aria-expanded="true"] { background: var(--well); box-shadow: inset 0 0 0 1px var(--ink); }
.launcher { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); z-index: 40; width: min(336px, calc(100vw - 24px)); padding: 14px 12px 10px; border-radius: 24px;
  background: var(--surface); color: var(--ink); box-shadow: 0 0 0 1px var(--line), 0 18px 44px -10px rgba(0, 0, 0, .28); text-align: start; white-space: normal; }
.launcher[hidden] { display: none; }
.launcher .head { display: flex; align-items: center; gap: 8px; padding: 2px 8px 10px; }
.launcher .head .marks { gap: 3px; --hold: 3px; }
.launcher .head .marks img { width: 14px; height: 14px; }
.launcher .head b { font-size: 13px; }
.launcher .tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; }
.launcher .tooltile { display: grid; justify-items: center; align-content: start; gap: 6px; padding: 12px 4px 10px; border-radius: 16px; color: var(--ink); text-decoration: none; text-align: center; font-size: 13px; font-weight: 500; line-height: 1.2; overflow-wrap: break-word; hyphens: auto; } /* a long word breaks where its language allows, never anywhere */
.launcher .tooltile:hover { background: var(--well); }
@media (max-width: 359px) { .launcher .tooltile { font-size: 12px; padding-inline: 2px; } } /* a small phone: fewer names broken in two */
.launcher .tooltile[aria-current] { box-shadow: inset 0 0 0 1.5px var(--ink); font-weight: 650; }
.launcher .ic { width: 48px; height: 48px; border-radius: 14px; overflow: hidden; display: grid; place-items: center; }
.launcher .ic { background: #FAF7F5; } /* the icons' own ground (scripts/favicons.py, LG), so a smaller icon sits in its square as drawn, and the guide's
   marks stand on it in dark too, where Acting's would sink (IdgKit.liftOnDark's rule) */
.launcher .ic img { width: 40px; height: 40px; display: block; } /* clear of the square's edges: reflect's line and the ice-breaker's bubble reach theirs (Janolof, 2026-11-13) */
.launcher .ic.five { display: flex; flex-wrap: wrap; justify-content: center; align-content: center; gap: 3px; }
.launcher .ic.five img { width: 10px; height: 10px; } /* three to a row, clear of the square's edges as the other icons are */
.launcher .foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 8px 4px 0; padding: 10px 6px 2px; border-top: 1px solid var(--line); font-size: 14px; }
.launcher .foot a { color: var(--ink); font-weight: 600; }
/* Delete, and its question in place (shared/ask.js): idg.earth's RowAsk and its danger colours (packages/web-shared/styles/tokens.css
   there). Hearth's feedback and the tools' lists of recent sessions. */
:root { --danger-surface: #fef3f2; --danger-line: #f5c4c0; --danger-ink: #a32017; }
@media screen { :root[data-theme="dark"] { --danger-surface: rgba(239, 65, 54, .16); --danger-line: rgba(239, 65, 54, .40); --danger-ink: #f5a49d; } }
.ask button { font: inherit; cursor: pointer; }
.ask .del { font-size: 13px; font-weight: 500; min-height: 32px; padding: 4px 14px; border-radius: 999px; border: 1px solid var(--danger-line); background: var(--surface); color: var(--danger-ink); white-space: nowrap; }
.ask .del:hover { background: var(--danger-surface); border-color: var(--danger-ink); }
.ask .asking { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--danger-line); background: var(--danger-surface); font-size: 13px; white-space: nowrap; } /* in plain case (Janolof, 2026-11-11: "Keep the Confirm/Cancel not upper case") */
.ask .asking[hidden], .ask .del[hidden] { display: none; }
.ask .asking button { border: 0; background: none; padding: 6px 2px; min-height: 28px; }
.ask .yes { color: var(--danger-ink); font-weight: 650; }
.ask .no { color: var(--muted); }
.ask .yes:hover, .ask .no:hover { opacity: .8; }
.ask .bar { color: var(--edge); }
/* a clock's ring */
.ring circle { fill: none; stroke-width: 4; }
.ring .tr { stroke: var(--well); }
.ring .pr { stroke: var(--ink); stroke-linecap: round; transform: rotate(-90deg); transform-origin: 50% 50%; transition: stroke-dashoffset 1s linear; }
/* the switch between light and dark (shared/theme.js shows it, with a moon while light and a sun while dark). Pressed is dark. */
.themebtn { flex: none; display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--edge); border-radius: 999px; background: var(--surface); color: var(--ink); }
.themebtn svg { width: 18px; height: 18px; fill: currentColor; }
.themebtn[hidden] { display: none; }
/* for screen readers only: in the page, not on it */
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* Feedback (shared/web/feedback.js): a pill at the bottom right of a wide screen, or a link where the page keeps a place for it on a
   narrow one and on a phone's views; never on a presenter's screen or the guide's wall, where it is in the ••• menu. The panel opens
   above the pill, and across the bottom of a narrow screen. Sizes in px: it sits outside the presenter screen's one picture. */
.fb-pill { position: fixed; inset-inline-end: 20px; bottom: 20px; z-index: 40; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px;
  border: 0; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: 15px; font-weight: 600; box-shadow: 0 4px 16px rgba(0, 0, 0, .18); }
.fb-slot { display: flex; justify-content: center; }
.fb-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 8px; border: 0; background: none; color: var(--muted); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.fb-panel { position: fixed; inset-inline-end: 20px; bottom: 76px; z-index: 41; box-sizing: border-box; width: 360px; max-width: calc(100vw - 32px); max-height: calc(100vh - 96px);
  overflow: auto; padding: 18px; background: var(--surface); color: var(--ink); border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line), 0 10px 30px rgba(0, 0, 0, .16); text-align: start; }
.fb-panel[hidden] { display: none; }
.fb-title { margin: 0 32px 6px 0; font-size: 17px; line-height: 1.3; }
[dir="rtl"] .fb-title { margin: 0 0 6px 32px; }
.fb-intro { margin: 0; font-size: 14px; line-height: 1.45; color: var(--muted); }
.fb-x { position: absolute; inset-inline-end: 8px; top: 8px; width: 40px; height: 40px; border: 0; border-radius: 999px; background: none; color: var(--muted); font-size: 16px; }
.fb-panel textarea { display: block; box-sizing: border-box; width: 100%; margin-top: 12px; padding: 10px 12px; font: inherit; font-size: 16px; line-height: 1.4;
  background: var(--surface); color: var(--ink); border: 1px solid var(--edge); border-radius: 10px; resize: vertical; }
.fb-count { margin: 4px 0 10px; font-size: 13px; color: var(--muted); text-align: end; }
.fb-check { min-height: 65px; } /* its room is kept, so Send doesn't move when the check draws itself */
.fb-said { margin: 8px 0 0; font-size: 14px; line-height: 1.4; }
.fb-said:empty { display: none; }
.fb-send { margin-top: 10px; min-height: 44px; }
.fb-done .fb-title:focus { outline: none; }
.fb-write[hidden], .fb-done[hidden] { display: none; }
@media (max-width: 699px) {
  .fb-pill { display: none; }
  .fb-panel { inset-inline: 8px; bottom: 8px; width: auto; max-width: none; max-height: calc(100vh - 16px); }
}
@media (min-width: 700px) {
  body:not([data-feedback="foot"]) .fb-slot { display: none; }
  .fb { height: 76px; } /* room at the page's end, so its last line can scroll clear of the pill */
}
body[data-feedback] .fb, body:has(.live:not([hidden])) .fb { height: 0; } /* no pill, or a presenter's screen, which must not scroll */
body[data-feedback="foot"] .fb-pill, body[data-feedback="menu"] .fb-pill, body:has(.live:not([hidden])) .fb-pill { display: none; }
@media print { .fb, .fb-slot { display: none; } }
