/*
 * The scheduler's look, in one place (from design/app.css, 23 Nov 2026). Neutral on purpose: the product's own name and colours
 * replace the tokens below. No web fonts, no outside files, no inline styles (the page's rules forbid them): the system's own
 * letters, Arabic included. Logical properties only, so right-to-left just works.
 */
:root {
  color-scheme: light dark;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Noto Sans Arabic", "Geeza Pro", system-ui, sans-serif;
  --bg: #f5f6f8; --surface: #ffffff; --surface-2: #f0f2f5; --line: #e3e6eb; --line-strong: #cfd4dc;
  --text: #14171c; --muted: #5d6675; --faint: #6f7887;
  --accent: #0d7a74; --accent-soft: #e2f3f1; --accent-text: #ffffff;
  --ok: #1f7a43; --ok-soft: #e6f4ea; --warn: #8a4f00; --warn-soft: #fff2dc; --stop: #b42318; --stop-soft: #fdecea;
  --public-strip: #b42318; --hidden: #3d4655; --hidden-soft: #eceff3;
  --radius: 14px; --radius-s: 9px; --shadow: 0 1px 2px rgb(16 24 40 / 6%), 0 4px 16px rgb(16 24 40 / 6%);
  --gap: 16px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e1014; --surface: #161920; --surface-2: #1d2129; --line: #272c35; --line-strong: #353b46;
    --text: #e9ebef; --muted: #a2abba; --faint: #8b94a4;
    --accent: #3fbfb4; --accent-soft: #12302e; --accent-text: #06201e;
    --ok: #5cc98a; --ok-soft: #10291b; --warn: #f0b154; --warn-soft: #2e2210; --stop: #ff7b6e; --stop-soft: #331513;
    --public-strip: #c2372a; --hidden: #c3cad6; --hidden-soft: #232833;
    --shadow: 0 1px 2px rgb(0 0 0 / 30%), 0 6px 20px rgb(0 0 0 / 25%);
  }
}
:root[data-theme="dark"] {
  --bg: #0e1014; --surface: #161920; --surface-2: #1d2129; --line: #272c35; --line-strong: #353b46;
  --text: #e9ebef; --muted: #a2abba; --faint: #8b94a4;
  --accent: #3fbfb4; --accent-soft: #12302e; --accent-text: #06201e;
  --ok: #5cc98a; --ok-soft: #10291b; --warn: #f0b154; --warn-soft: #2e2210; --stop: #ff7b6e; --stop-soft: #331513;
  --public-strip: #c2372a; --hidden: #c3cad6; --hidden-soft: #232833;
  --shadow: 0 1px 2px rgb(0 0 0 / 30%), 0 6px 20px rgb(0 0 0 / 25%);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--text); font: 15px/1.5 var(--font); -webkit-font-smoothing: antialiased; overflow-wrap: anywhere; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: var(--accent); }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
svg { flex: none; }
.ltr { direction: ltr; unicode-bidi: isolate; }
.short { display: none; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.small { font-size: 13px; }
.sr { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

/* Top bar; on a phone the pages wrap under it as a row you can slide */
.topbar { position: sticky; inset-block-start: 0; z-index: 5; display: flex; align-items: center; gap: 22px; padding-block: 10px; padding-inline: 24px; flex-wrap: wrap;
  background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(10px); border-block-end: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 650; letter-spacing: -0.01em; color: var(--text); text-decoration: none; }
.mark { inline-size: 26px; block-size: 26px; border-radius: 8px; background: var(--accent); display: grid; place-items: center; color: var(--accent-text); }
.mark.big { inline-size: 48px; block-size: 48px; border-radius: 14px; margin-inline: auto; }
.nav { display: flex; gap: 4px; }
.nav a { color: var(--muted); text-decoration: none; padding-block: 6px; padding-inline: 11px; border-radius: 8px; font-weight: 520; display: flex; gap: 7px; align-items: center; white-space: nowrap; }
.nav a:hover { color: var(--text); }
.nav a[aria-current="page"] { color: var(--text); background: var(--surface-2); }
.count { min-inline-size: 19px; padding-inline: 6px; block-size: 19px; border-radius: 10px; background: var(--accent); color: var(--accent-text); font-size: 12px; font-weight: 650; display: inline-grid; place-items: center; }
.topbar .end { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; }
.pill { display: flex; align-items: center; gap: 7px; padding-block: 5px; padding-inline: 11px; border-radius: 999px; background: var(--hidden-soft); color: var(--hidden); font-size: 13px; font-weight: 560; white-space: nowrap; text-decoration: none; }
.pill.stop { background: var(--stop-soft); color: var(--stop); }
.pill.live { background: var(--ok-soft); color: var(--ok); }
.alert { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; padding-block: 9px; padding-inline: 16px; font-weight: 600; text-align: center; }
.alert.stop { background: var(--stop-soft); color: var(--stop); }
.alert a { color: inherit; }

/* Page */
.page { max-inline-size: 1320px; margin-inline: auto; padding-block: 22px 120px; padding-inline: 24px; }
.page.narrow { max-inline-size: 900px; }
.head { display: flex; align-items: baseline; gap: 14px; margin-block-end: 16px; flex-wrap: wrap; }
.head h1 { font-size: 24px; letter-spacing: -0.02em; }
.grid2 { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--gap); align-items: start; }
.col { display: grid; gap: var(--gap); min-inline-size: 0; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); min-inline-size: 0; }
.card > .title { display: flex; align-items: center; gap: 8px; padding-block: 14px 0; padding-inline: 18px; font-weight: 620; font-size: 15px; }
.card > .body { padding: 14px 18px 18px; display: grid; gap: 12px; }
.label { font-size: 12px; font-weight: 650; letter-spacing: 0.04em; text-transform: uppercase; color: var(--faint); }
.empty { padding: 14px 18px 18px; color: var(--muted); }
.spacer { block-size: var(--gap); }
.hint { display: flex; gap: 10px; padding: 12px 14px; border-radius: var(--radius-s); background: var(--surface-2); color: var(--muted); font-size: 13.5px; }

/* Buttons and fields: real controls, keyboard first */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 11px; padding-block: 10px; padding-inline: 16px; font-weight: 650; cursor: pointer; white-space: nowrap; text-decoration: none; background: var(--surface-2); color: var(--text); }
.btn:hover { border-color: var(--line-strong); }
.btn:disabled { opacity: 0.55; cursor: default; }
.btn.primary { background: var(--accent); color: var(--accent-text); }
.btn.danger { background: var(--stop-soft); color: var(--stop); }
.btn.plain { background: transparent; color: var(--muted); padding-inline: 8px; }
.btn.small { padding-block: 6px; padding-inline: 11px; font-size: 13px; border-radius: 9px; }
.btn.wide { inline-size: 100%; }
.buttons { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.fieldlabel { display: grid; gap: 5px; font-size: 13px; font-weight: 600; color: var(--muted); }
.input { inline-size: 100%; padding-block: 9px; padding-inline: 12px; border: 1px solid var(--line-strong); border-radius: var(--radius-s); background: var(--surface); color: var(--text); font-weight: 400; font-size: 15px; }
textarea.input { resize: vertical; line-height: 1.6; }
.input:invalid { border-color: var(--stop); }
.secret { -webkit-text-security: disc; text-security: disc; font-family: var(--font); }
.tick { display: flex; gap: 10px; align-items: center; font-size: 14px; }
input[type="checkbox"], input[type="radio"] { inline-size: 18px; block-size: 18px; accent-color: var(--accent); margin: 0; flex: none; }
details > summary { cursor: pointer; color: var(--muted); font-weight: 600; font-size: 13.5px; }
details[open] > summary { margin-block-end: 10px; }

/* States */
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 620; padding-block: 3px; padding-inline: 10px; border-radius: 99px; background: var(--surface-2); color: var(--muted); white-space: nowrap; }
.badge.you { background: var(--warn-soft); color: var(--warn); }
.badge.ok { background: var(--ok-soft); color: var(--ok); }
.badge.bad { background: var(--stop-soft); color: var(--stop); }
.badge.busy { background: var(--accent-soft); color: var(--accent); }
.badge.off { opacity: 0.7; }
.route { font-size: 12px; font-weight: 600; padding-block: 3px; padding-inline: 8px; border-radius: 999px; background: var(--surface-2); color: var(--muted); white-space: nowrap; }
.route.direct { background: var(--ok-soft); color: var(--ok); }
.route.hand { background: var(--warn-soft); color: var(--warn); }

/* Platform marks */
.avatar { position: relative; inline-size: 38px; block-size: 38px; border-radius: 50%; background: linear-gradient(135deg, #3b4a5e, #1f2a38); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px; flex: none; }
.avatar .pm { position: absolute; inset-block-end: -3px; inset-inline-end: -3px; inline-size: 17px; block-size: 17px; border-radius: 50%; border: 2px solid var(--surface); display: grid; place-items: center; font-size: 9px; font-weight: 800; color: #fff; }
.pm.fb, .mk.fb { background: #1877f2; } .pm.th, .mk.th { background: #111; } .pm.ig, .mk.ig { background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af); }
.pm.tt, .mk.tt { background: #111; } .pm.x, .mk.x { background: #111; } .pm.sc, .mk.sc { background: #fffc00; color: #111; } .pm.other, .mk.other { background: #5d6675; }

/* Lists: home, accounts, passkeys */
.list { display: grid; }
.item { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding-block: 12px; padding-inline: 18px; border-block-start: 1px solid var(--line); }
.item:first-child { border-block-start: 0; }
.item.wide { grid-template-columns: auto minmax(0, 1fr) auto; }
.item.notice { grid-template-columns: minmax(0, 1fr) auto; }
.item .at { font-size: 13px; color: var(--muted); font-weight: 600; direction: ltr; unicode-bidi: isolate; text-align: start; }
.item .what { display: grid; min-inline-size: 0; }
.item .what b { font-weight: 600; font-size: 14.5px; }
.item .what a { color: var(--text); text-decoration: none; }
.item .what a:hover b { text-decoration: underline; }
.item .what span { font-size: 12.5px; color: var(--muted); }
.item .end { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.marks { display: flex; gap: 6px; }
.mk { inline-size: 24px; block-size: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; font-weight: 800; color: #fff; position: relative; text-decoration: none; }
.mk .st { position: absolute; inset-block-end: -4px; inset-inline-end: -4px; inline-size: 13px; block-size: 13px; border-radius: 50%; border: 2px solid var(--surface); background: var(--faint); }
.st.ok { background: var(--ok); } .st.you { background: var(--warn); } .st.bad { background: var(--stop); } .st.busy { background: var(--accent); } .st.off { background: var(--line-strong); }
.needs { display: grid; gap: 10px; }
.need { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--radius-s); background: var(--warn-soft); color: var(--warn); flex-wrap: wrap; }
.need > span { flex: 1 1 220px; min-inline-size: 0; }
.need b { color: var(--text); font-weight: 600; }
.need.calm { background: var(--surface-2); color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stat { display: grid; gap: 2px; padding: 14px 18px; }
.stats .stat + .stat { border-inline-start: 1px solid var(--line); }
.stat .n { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; }

/* A post's story */
.timeline { display: grid; padding: 6px 18px 16px; }
.step { display: grid; grid-template-columns: 96px 18px minmax(0, 1fr); gap: 10px; align-items: start; padding-block: 9px; }
.step .t { font-size: 12.5px; color: var(--muted); direction: ltr; unicode-bidi: isolate; text-align: end; padding-block-start: 1px; }
.step .dot { inline-size: 12px; block-size: 12px; border-radius: 50%; margin-block-start: 4px; background: var(--line-strong); box-shadow: 0 0 0 4px var(--surface); }
.dot.ok { background: var(--ok); } .dot.you { background: var(--warn); } .dot.bad { background: var(--stop); } .dot.busy { background: var(--accent); }
.step .d b { font-weight: 600; font-size: 14px; }
.step .d span { display: block; font-size: 12.5px; color: var(--muted); }
.kv { display: grid; grid-template-columns: fit-content(38%) minmax(0, 1fr); gap: 8px 18px; font-size: 14px; margin: 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; white-space: pre-wrap; }
.panel { border-color: color-mix(in srgb, var(--warn) 45%, var(--line)); }
.panel .title { color: var(--warn); }
figure { margin: 0; display: grid; gap: 6px; }
figure video, figure img { max-inline-size: 100%; max-block-size: 420px; border-radius: 10px; background: #000; display: block; }
figcaption { font-size: 13px; color: var(--muted); }
.shown { white-space: pre-wrap; }
.unseen { background: var(--stop-soft); color: var(--stop); font-size: 12px; border-radius: 4px; padding-inline: 4px; }

/* Write: two columns on a desk, one on a phone, the time and the button always in sight */
.composer { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: var(--gap); align-items: start; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; padding: 12px 14px 0; }
.tab { display: flex; align-items: center; gap: 7px; padding-block: 6px; padding-inline: 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 13px; font-weight: 560; color: var(--muted); cursor: pointer; }
.tab[aria-selected="true"] { background: var(--text); color: var(--surface); border-color: var(--text); }
.tab .own { inline-size: 7px; block-size: 7px; border-radius: 50%; background: var(--warn); }
.editor { padding: 12px 18px 6px; display: grid; gap: 10px; }
.editor .text { min-block-size: 168px; font-size: 17px; line-height: 1.7; border: 1px solid var(--line); border-radius: var(--radius-s); padding: 10px 12px; inline-size: 100%; resize: vertical; background: transparent; color: var(--text); }
.counters { display: flex; gap: 14px; flex-wrap: wrap; padding: 4px 18px 14px; font-size: 12.5px; color: var(--faint); }
.counters b { color: var(--muted); font-weight: 560; }
.counters .over { color: var(--stop); font-weight: 650; }
.files { display: flex; gap: 12px; flex-wrap: wrap; }
.file { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--surface-2); flex: 1 1 280px; min-inline-size: 0; }
.file .name { font-weight: 600; font-size: 14px; }
.facts { font-size: 12.5px; color: var(--muted); }
.okline { font-size: 12.5px; color: var(--ok); }
.file progress { grid-column: 1 / -1; inline-size: 100%; block-size: 6px; accent-color: var(--accent); }
.add { display: grid; place-items: center; gap: 4px; min-block-size: 96px; border: 1.5px dashed var(--line-strong); border-radius: var(--radius-s); color: var(--muted); font-size: 13px; flex: 1 1 140px; text-align: center; cursor: pointer; padding: 10px; }
.add:hover, .add:focus-within { border-color: var(--accent); color: var(--text); }
.accounts { display: grid; gap: 8px; }
.acct { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-s); cursor: pointer; }
.acct:has(input:checked) { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); background: color-mix(in srgb, var(--accent-soft) 55%, var(--surface)); }
.acct:has(input:disabled) { opacity: 0.6; cursor: default; }
.acct .who { display: grid; min-inline-size: 0; }
.acct .who b { font-weight: 600; font-size: 14px; }
.acct .who span { font-size: 12.5px; color: var(--muted); }
.acct .end { display: flex; gap: 10px; align-items: center; }
.opts { display: grid; gap: 16px; }
.group { display: grid; gap: 10px; }
.line { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.line .t { display: grid; flex: 1 1 220px; min-inline-size: 0; }
.line .t b { font-weight: 560; font-size: 14px; }
.line .t span { font-size: 12.5px; color: var(--muted); }
.switch { inline-size: 42px; block-size: 24px; border-radius: 999px; background: var(--line-strong); position: relative; flex: none; border: 0; cursor: pointer; padding: 0; }
.switch::after { content: ""; position: absolute; inset-block-start: 3px; inset-inline-start: 3px; inline-size: 18px; block-size: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgb(0 0 0 / 25%); }
.switch[aria-checked="true"] { background: var(--accent); }
.switch[aria-checked="true"]::after { inset-inline-start: 21px; }
.byhand { padding: 10px 12px; border-radius: var(--radius-s); background: var(--warn-soft); color: var(--warn); font-size: 13px; display: flex; gap: 8px; }
.dock { position: fixed; inset-block-end: 0; inset-inline: 0; z-index: 6; background: color-mix(in srgb, var(--surface) 96%, transparent); backdrop-filter: blur(10px); border-block-start: 1px solid var(--line); }
.dock .in { max-inline-size: 1320px; margin-inline: auto; padding-block: 12px; padding-inline: 24px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; font-size: 13px; flex: 1 1 0; min-inline-size: 0; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding-block: 5px; padding-inline: 10px; border-radius: 999px; font-weight: 560; background: var(--surface-2); color: var(--muted); }
.chip.ok { background: var(--ok-soft); color: var(--ok); }
.chip.warn { background: var(--warn-soft); color: var(--warn); }
.when { display: flex; align-items: center; gap: 10px; padding-block: 4px; padding-inline: 12px; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--surface); }
.when .t { display: grid; line-height: 1.3; }
.when input { border: 0; background: transparent; color: var(--text); font-weight: 620; font-size: 14px; padding: 2px 0; min-inline-size: 0; }
.when .t span { font-size: 12px; color: var(--muted); }
.seg { display: flex; padding: 3px; border-radius: 10px; background: var(--surface-2); gap: 3px; border: 0; margin: 0; }
.seg label { padding-block: 6px; padding-inline: 12px; border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--muted); display: flex; align-items: center; gap: 6px; cursor: pointer; }
.seg label:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 1px; }
.seg label.hidden-choice:has(input:checked) { background: var(--surface); color: var(--hidden); box-shadow: var(--shadow); }
.seg label.public-choice:has(input:checked) { background: var(--public-strip); color: #fff; }

/* Approve: everything shown whole; who sees it is the loudest thing */
.approve { max-inline-size: 860px; margin-inline: auto; display: grid; gap: var(--gap); padding-block-end: 20px; }
.post { overflow: hidden; }
.post .strip { display: flex; align-items: center; gap: 10px; padding-block: 10px; padding-inline: 16px; font-weight: 750; letter-spacing: 0.06em; font-size: 13px; flex-wrap: wrap; }
.post.is-public .strip { background: var(--public-strip); color: #fff; }
.post.is-hidden .strip { background: var(--hidden-soft); color: var(--hidden); }
.post.is-reminder .strip { background: var(--warn-soft); color: var(--warn); }
.post .strip .end { margin-inline-start: auto; font-weight: 600; letter-spacing: 0; display: flex; align-items: center; gap: 8px; }
.post .meta { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: center; padding: 14px 16px 0; }
.post .meta b { font-size: 15px; }
.post .when-line { padding: 6px 16px 0; font-size: 14px; font-weight: 600; }
.post .full { padding: 12px 16px; font-size: 16px; line-height: 1.75; white-space: pre-wrap; }
.post .media { display: flex; gap: 12px; padding: 0 16px 12px; flex-wrap: wrap; }
.post .media figure { flex: 1 1 220px; min-inline-size: 0; }
.post dl { padding: 12px 16px 16px; border-block-start: 1px solid var(--line); }
.post .actions { padding: 0 16px 14px; }
.go { position: sticky; inset-block-end: 0; display: flex; align-items: center; gap: 12px; padding-block: 14px; background: var(--bg); border-block-start: 1px solid var(--line); flex-wrap: wrap; z-index: 4; }
.go .say { font-size: 13px; color: var(--muted); flex: 1 1 260px; }

/* Sign-in */
.signin { min-block-size: 100vh; display: grid; place-items: center; padding: 24px 16px; }
.signin .card { max-inline-size: 400px; inline-size: 100%; padding: 28px; text-align: center; display: grid; gap: 14px; }
.signin .fieldlabel { text-align: start; }
.signin h1 { font-size: 22px; }

/* Dialogs and the short notes that come and go (under the top bar, clear of the bottom bars) */
dialog { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--text); inline-size: min(560px, calc(100vw - 32px)); max-block-size: calc(100vh - 48px); padding: 20px; box-shadow: var(--shadow); }
dialog::backdrop { background: rgb(0 0 0 / 50%); }
dialog h2 { font-size: 18px; margin-block-end: 10px; }
dialog .buttons { margin-block-start: 16px; justify-content: flex-end; }
dialog .choices { display: grid; gap: 8px; margin-block-start: 10px; }
.toast { position: fixed; inset-block-start: 76px; inset-inline: 16px; margin-inline: auto; inline-size: fit-content; max-inline-size: min(560px, calc(100vw - 32px)); background: var(--text); color: var(--surface); padding-block: 11px; padding-inline: 16px; border-radius: 12px; z-index: 20; box-shadow: var(--shadow); font-weight: 560; }
.toast.bad { background: var(--stop); color: #fff; }
@media (prefers-reduced-motion: no-preference) { .toast { animation: drop 0.18s ease-out; } @keyframes drop { from { transform: translateY(-8px); opacity: 0; } } }

/* Tablet */
@media (max-width: 1080px) {
  .grid2, .composer { grid-template-columns: minmax(0, 1fr); }
}

/* Phone: one column; the pages slide under the top bar; small bars at the bottom */
@media (max-width: 700px) {
  .topbar { gap: 10px; padding-inline: 16px; padding-block-end: 0; }
  .nav { order: 3; flex: 1 0 100%; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding-inline: 12px; padding-block: 4px 8px; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { padding-inline: 9px; font-size: 14px; gap: 5px; }
  .nav a svg { display: none; }
  .page { padding-inline: 16px; padding-block-end: 170px; }
  .long { display: none; }
  .short { display: inline; }
  .item { grid-template-columns: 52px minmax(0, 1fr); padding-inline: 14px; }
  .item > .end, .item > .marks { grid-column: 2; justify-self: start; }
  .item.wide { grid-template-columns: auto minmax(0, 1fr); }
  .stat { padding: 12px; }
  .stat .n { font-size: 21px; }
  .step { grid-template-columns: 70px 16px minmax(0, 1fr); }
  .kv { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .kv dd { margin-block-end: 8px; }
  .post .full { font-size: 16.5px; }
  .dock .in { padding-inline: 16px; gap: 10px; }
  .dock .chips { flex: 1 0 100%; }
  .dock .chips:not(:has(.warn)), .dock .chip:not(.warn) { display: none; }
  .dock .btn.primary { flex: 1 1 100%; }
  .when { margin-inline-start: 0; flex: 1 1 0; min-inline-size: 0; padding-inline: 10px; gap: 8px; }
  .when > svg, .when .t > span { display: none; }
  .seg { flex: 0 0 auto; }
  .seg label { padding-inline: 10px; }
  .seg svg { display: none; }
  .go { gap: 8px; padding-block: 10px; }
  .go .say { font-size: 12.5px; }
  .go .btn.primary { flex: 1 1 auto; }
  .toast { inset-block-start: 104px; }
}
