
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-display: swap; font-weight: 400 900; src: url(/assets/fonts/schibsted-grotesk-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: "Schibsted Grotesk"; font-style: normal; font-display: swap; font-weight: 400 900; src: url(/assets/fonts/schibsted-grotesk-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; }
@font-face { font-family: "Geist Mono"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/assets/fonts/geist-mono-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; }
:root {
  --bg: #f7f5f1; --panel: #ffffff; --ink: #1c1b19; --muted: #6c675f; --line: #e5e0d7; --chip: #eeeae3;
  --accent: #2f4fd0; --accent-ink: #ffffff; --accent-soft: #e6eafb;
  --good: #1c7a48; --warn: #96600a; --warn-soft: #f8eed6;
  --font: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif; --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --r-tile: 16px; --r-icon: 12px; --r-pill: 999px;
  --shadow-bar: 0 4px 14px -8px rgba(40, 30, 20, .25);
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.5 var(--font); }
a { color: var(--accent); text-decoration: none; font-weight: 500; }
a:hover { text-decoration: underline; }
h1 { margin: 0; font-size: 34px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; text-wrap: balance; }
h1.second { font-size: 26px; letter-spacing: -0.01em; line-height: 1.2; }
h2 { margin: 0; font-size: 18px; font-weight: 600; }
h3 { margin: 0; font-size: 15px; font-weight: 600; }
p, pre { margin: 0; }
ul, ol { margin: 0; padding-left: 1.2em; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.mono { font-family: var(--mono); font-size: 12.5px; }
.row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.row.nowrap { flex-wrap: nowrap; }
.row.spread { justify-content: space-between; }
.row.end { justify-content: flex-end; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.stack.tight { gap: 4px; }
.stack > button, .stack > .button { align-self: flex-start; }
.grow { flex: 1; min-width: 0; }
.break { overflow-wrap: anywhere; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:where(a, button, .button, input, select, textarea, summary):focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* header */
.top { display: flex; align-items: center; gap: 28px; padding: 16px 40px; background: var(--panel); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 0.42em; font-weight: 500; font-size: 18px; letter-spacing: -0.01em; color: var(--ink); }
.brand-mark { width: 1.62em; height: auto; flex: none; fill: currentColor; }
.brand-mark .knot { fill: var(--accent); }
.brand-word b { font-weight: 800; }
.brand:hover { text-decoration: none; }
.top nav { display: flex; gap: 22px; font-size: 14px; white-space: nowrap; }
.top nav a { color: var(--muted); font-weight: 400; }
.top nav a:hover { color: var(--ink); text-decoration: none; }
.top nav a.on { color: var(--ink); font-weight: 600; }
.top nav .count { color: var(--warn); font-weight: 600; }
.status-line { min-width: 0; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--accent); }
.status-line > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 32vw; }
.status-line.needs { color: var(--warn); }
.status-line.needs .spinner { animation: none; width: 7px; height: 7px; border: 0; background: currentColor; }
.top .credits { font-size: 13px; color: var(--muted); font-weight: 400; white-space: nowrap; }
.top .credits b { color: var(--ink); font-weight: 600; }
.top .credits:hover { color: var(--ink); text-decoration: none; }
.top .signout { font: 400 13px var(--font); color: var(--muted); background: none; padding: 0; white-space: nowrap; border-radius: 4px; }
.top .signout:hover { color: var(--ink); filter: none; }
main { max-width: 1160px; margin: 0 auto; padding: 44px 40px 64px; display: flex; flex-direction: column; gap: 28px; }
main.narrow { max-width: 720px; }
footer.foot { max-width: 1160px; margin: 0 auto; padding: 0 40px 32px; font-size: 13px; }
footer.foot { color: var(--muted); }
footer.foot a { color: var(--muted); font-weight: 400; text-decoration: underline; text-underline-offset: 2px; }
.section { border-top: 1px solid var(--line); padding-top: 24px; }

/* buttons: pills */
button, .button { font: 600 14px var(--font); border: 0; cursor: pointer; padding: 11px 18px; border-radius: var(--r-pill); background: var(--accent); color: var(--accent-ink); display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
button:hover, .button:hover { filter: brightness(1.08); text-decoration: none; }
button.secondary, .button.secondary { background: var(--panel); color: var(--ink); border: 1px solid var(--line); padding: 10px 18px; }
button.secondary:hover, .button.secondary:hover { filter: none; border-color: var(--ink); }
button.dark, .button.dark { background: var(--ink); color: var(--bg); }
button.danger { background: transparent; color: var(--warn); padding: 10px 4px; }
button.mini, .button.mini { padding: 5px 12px; font-size: 13px; }
button.secondary.mini { padding: 4px 12px; }
button:disabled { opacity: .5; cursor: not-allowed; filter: none; }
button.link { background: none; border: 0; padding: 0; border-radius: 4px; color: var(--accent); font: 500 14px var(--font); }
button.link:hover { filter: none; text-decoration: underline; }
button.link.danger { color: var(--warn); }
a.act, button.link.act { font-weight: 600; font-size: 14px; }

/* status: a dot and words, not a filled pill */
.pill { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 500; color: var(--muted); }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.pill.good { color: var(--good); }
.pill.warn, .pill.bad { color: var(--warn); }
.pill.info { color: var(--accent); }
/* the same without the dot, at the end of a row */
.state { font-size: 13px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.state.good { color: var(--good); }
.state.warn, .state.bad { color: var(--warn); }
.state.info { color: var(--accent); }

/* the add and search bar */
.hero { display: flex; flex-direction: column; gap: 14px; align-items: center; text-align: center; }
.addbar { width: min(620px, 100%); display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 20px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-pill); box-shadow: var(--shadow-bar); }
.addbar:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.addbar input[type] { flex: 1; min-width: 0; width: auto; border: 0; border-radius: 0; padding: 0; background: transparent; font: 15px var(--font); color: var(--ink); outline: 0; }
.addbar input::placeholder { color: var(--muted); }
.addbar button { background: var(--ink); color: var(--bg); padding: 9px 18px; }
.addbar.plain { box-shadow: none; }
.segmented, .chips { display: flex; gap: 8px; flex-wrap: wrap; }
.segmented button { font-weight: 400; font-size: 13px; padding: 5px 12px; background: var(--chip); color: var(--ink); }
.segmented button.on { background: var(--ink); color: var(--bg); }
label.chip { position: relative; flex-direction: row; font-weight: 400; font-size: 13px; padding: 5px 12px; border-radius: var(--r-pill); background: var(--chip); cursor: pointer; }
label.chip input, label.choice-tile input { position: absolute; opacity: 0; pointer-events: none; }
label.chip:has(input:checked) { background: var(--ink); color: var(--bg); }
label.chip:has(input:disabled) { opacity: .5; cursor: not-allowed; }
label.chip:has(input:focus-visible), label.choice-tile:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }

/* tiles */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-tile); padding: 20px; display: flex; flex-direction: column; gap: 12px; color: var(--ink); font-weight: 400; min-width: 0; }
a.card:hover { border-color: var(--ink); text-decoration: none; }
.card .name { font-weight: 600; font-size: 17px; }
.card-head { display: flex; align-items: center; gap: 14px; color: var(--ink); font-weight: 400; min-width: 0; }
a.card-head:hover { text-decoration: none; }
.card-names { min-width: 0; display: flex; flex-direction: column; }
.card-names .domain { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-text { font-size: 14px; color: var(--muted); flex: 1; text-wrap: pretty; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; padding-top: 12px; border-top: 1px solid var(--line); }
.card-foot .tools { font-weight: 600; white-space: nowrap; }
.card.banner { flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.site-icon { width: 48px; height: 48px; border-radius: var(--r-icon); background: var(--chip); display: grid; place-items: center; font-weight: 700; font-size: 20px; color: var(--muted); flex: none; }
img.site-icon { background: var(--panel); border: 1px solid var(--line); object-fit: contain; padding: 7px; }
.site-icon.large { width: 84px; height: 84px; border-radius: 20px; font-size: 36px; }
img.site-icon.large { padding: 14px; }
.site-icon.small { width: 24px; height: 24px; border-radius: 6px; font-size: 12px; }
img.site-icon.small { padding: 3px; }
.avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-weight: 700; flex: none; }
.avatar.small { width: 36px; height: 36px; font-size: 13px; }

/* a listing page: head, facts strip, two columns, rows */
.head { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.head .grow { flex: 1 1 260px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts.two { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.facts > div { padding: 16px 24px; border-left: 1px solid var(--line); min-width: 0; }
.facts > div:first-child { padding-left: 0; border-left: 0; }
.facts .label { font-size: 13px; color: var(--muted); }
.facts .value { font-weight: 600; font-size: 17px; overflow-wrap: anywhere; }
.facts .value.good { color: var(--good); }
.facts .value.plain { font-weight: 400; font-size: 14px; }
.facts .value a { font-weight: 600; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
.split.wide { grid-template-columns: minmax(0, 1fr) 400px; gap: 48px; }
.split > * { min-width: 0; }
.col { display: flex; flex-direction: column; }
.col > h2 { padding-bottom: 8px; }
.list { display: flex; flex-direction: column; }
.list > * { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); color: var(--ink); font-weight: 400; }
.list > .muted { color: var(--muted); }
.list.tight > * { padding: 11px 0; gap: 14px; }
.list > a:hover { text-decoration: none; }
.list > a:hover .muted, .list > a:hover .desc { color: var(--ink); }
.list > details { display: block; font-size: 14px; }
.list .name { font-weight: 600; }
.list .desc { font-size: 14px; color: var(--muted); }
.list .end { display: flex; align-items: center; gap: 12px; flex: none; }
.list .act-cell { min-width: 28px; text-align: right; white-space: nowrap; }
ol.list.numbered { list-style: none; padding: 0; counter-reset: step; }
ol.list.numbered > li { counter-increment: step; display: block; padding-left: 36px; position: relative; }
ol.list.numbered > li::before { content: counter(step); position: absolute; left: 0; top: 14px; font-weight: 600; color: var(--muted); }
.lately { display: flex; flex-direction: column; gap: 10px; list-style: none; margin: 0; padding: 0; font-size: 14px; }
.lately .when { font-size: 13px; color: var(--muted); }
.lately .bad { color: var(--warn); }
.under { border-top: 1px solid var(--line); padding-top: 16px; gap: 16px; }
.narrow-col { max-width: 620px; }
.list > .stacked { display: block; }
.list .sub { display: block; font-size: 13px; color: var(--muted); }
.facts .value .pill { font-size: 17px; font-weight: 600; }
.addr { color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.foot-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; font-size: 14px; }
.ico { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; vertical-align: -2px; }
.mark { display: inline-flex; color: var(--muted); margin-right: 6px; }
p.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--muted); }
p.legend span { display: inline-flex; gap: 6px; align-items: center; }

/* what's under way or wrong: one bordered block */
.block { border: 1px solid var(--accent); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.block.warn { border-color: var(--warn); }
.block > button, .block > .button { align-self: flex-start; }
.spinner { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--accent-soft); border-top-color: var(--accent); animation: spin .9s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation: none; } }
ul.found { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
ul.found li::before { content: "✓ "; color: var(--good); font-weight: 700; }
.shot { width: 100%; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); min-height: 120px; }
.code-input { max-width: 220px; font-family: var(--mono); font-size: 18px; letter-spacing: .18em; }

/* a switch for each yes/no permission */
input.switch { appearance: none; -webkit-appearance: none; width: 36px; height: 20px; border-radius: 999px; background: var(--line); position: relative; cursor: pointer; flex: none; margin: 0; transition: background .15s; }
input.switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .15s; }
input.switch:checked { background: var(--accent); }
input.switch:checked::after { transform: translateX(16px); }
input.switch:disabled { opacity: .5; cursor: not-allowed; }
@media (prefers-reduced-motion: reduce) { input.switch, input.switch::after { transition: none; } }
label.switch-row { flex-direction: row; align-items: center; gap: 14px; font-weight: 400; font-size: 15px; cursor: pointer; }
label.switch-row.off { cursor: default; }
details.group { border-top: 1px solid var(--line); }
details.group:first-of-type { border-top: 0; }
details.group > summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 14px 0 10px; font-weight: 600; font-size: 15px; color: var(--ink); cursor: pointer; border-radius: 4px; }
details.group > summary::-webkit-details-marker { display: none; }
details.group > summary .count { margin-left: auto; font-size: 13px; font-weight: 500; color: var(--muted); }
details.group[open] > summary .count { display: none; }
/* an action's limits show once its switch is on */
.allowance { margin: 0 0 12px; padding: 10px 14px; border-left: 2px solid var(--line); display: none; flex-direction: column; gap: 6px; }
.stacked:has(> label input.switch:checked) > .allowance { display: flex; }
.allowance .inline { flex-direction: row; display: inline-flex; align-items: center; gap: 6px; font-weight: 400; }
input[type].short { width: 6.5rem; padding: 6px 10px; }

/* one of two or three, each with a line of explanation */
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
label.choice-tile { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-tile); padding: 16px 18px; gap: 4px; cursor: pointer; font-weight: 400; }
label.choice-tile .name { font-weight: 600; font-size: 17px; }
label.choice-tile:has(input:checked) { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }

/* the setup command, as a chat bubble */
.bubble { background: var(--ink); color: var(--bg); border-radius: 18px 18px 4px 18px; padding: 16px 18px; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; white-space: pre-wrap; }
pre.bubble { font-family: var(--mono); font-size: 12.5px; max-height: 320px; overflow: auto; }
ol.how { margin: 0; padding-left: 1.3em; display: flex; flex-direction: column; gap: 14px; font-size: 14px; }
ol.how li > * + * { margin-top: 10px; }
.pair { display: flex; align-items: center; gap: 12px; }

/* plain inputs: login fields, try a tool */
label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; }
label small, .hint { font-weight: 400; color: var(--muted); font-size: 13px; }
label.row { flex-direction: row; font-weight: 400; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { font-weight: 600; font-size: 14px; padding: 0; margin-bottom: 8px; }
input[type=text], input[type=password], input[type=search], input[type=url], input[type=date], input[type=number], select, textarea { font: 15px var(--font); color: var(--ink); background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px; width: 100%; }
.fields { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; }
.fields > label { flex: 1 1 220px; max-width: 420px; }
.fields > label.row { flex: 0 0 auto; align-items: center; padding-bottom: 12px; }
.alert { background: var(--warn-soft); color: var(--warn); padding: 12px 16px; border-radius: 12px; }
.alert.soft { color: var(--ink); font-size: 14px; }
.alert.good { background: color-mix(in srgb, var(--good) 12%, transparent); color: var(--ink); }
.alert a { color: inherit; text-decoration: underline; }
blockquote.quote { margin: 0; padding: 4px 0 4px 16px; border-left: 2px solid var(--line); font-style: italic; }
blockquote.quote .muted { font-style: normal; display: block; margin-top: 4px; }
details > summary { cursor: pointer; color: var(--muted); font-size: 14px; border-radius: 4px; }
.pad-top { margin-top: 12px; }
code { font-family: var(--mono); font-size: 12.5px; background: var(--chip); padding: 1px 5px; border-radius: 4px; }
.code-chip { font-family: var(--mono); font-size: 13px; background: var(--chip); border-radius: 8px; padding: 6px 10px; overflow-wrap: anywhere; }
pre.output { font-family: var(--mono); font-size: 12.5px; background: var(--chip); padding: 12px 14px; border-radius: 12px; overflow: auto; max-height: 420px; white-space: pre-wrap; overflow-wrap: anywhere; }
dl.kv { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 18px; margin: 0; font-size: 14px; }
dl.kv dt { color: var(--muted); }
dl.kv dd { margin: 0; overflow-wrap: anywhere; }

/* a tool's answer: a hairline table */
.table-wrap { overflow-x: auto; }
table.result { border-collapse: collapse; width: 100%; font-size: 14px; }
table.result th { text-align: left; font-weight: 500; font-size: 13px; color: var(--muted); padding: 8px 14px 8px 0; white-space: nowrap; }
table.result td { padding: 10px 14px 10px 0; border-top: 1px solid var(--line); vertical-align: top; overflow-wrap: anywhere; }
table.result th.actions, table.result td.actions { width: 1%; white-space: nowrap; padding-right: 0; }
.runner-actions { display: flex; flex-direction: column; gap: 6px; align-items: stretch; }
.runner-actions button { justify-content: center; }

/* a job's details, for support */
.outcome { font-size: 17px; font-weight: 600; }
.grid2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
ol.steps { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; }
ol.steps li { padding: 10px 0; border-top: 1px solid var(--line); }
ol.steps:not(.tech) li { display: grid; grid-template-columns: 1.2em minmax(0, 1fr); gap: 8px; font-size: 14px; }
ol.steps .mark { font-weight: 700; color: var(--muted); margin: 0; }
ol.steps .mark.good { color: var(--good); }
ol.steps .mark.bad { color: var(--warn); }
ol.steps.tech { margin-top: 10px; }
ol.steps .tool { font-family: var(--mono); font-size: 12.5px; font-weight: 500; }
ol.steps .args { font-family: var(--mono); font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }
ol.steps .result { font-size: 13px; margin-top: 2px; overflow-wrap: anywhere; }
.tripwire { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 12px; font-size: 13px; color: var(--muted); }
.tripwire b { display: block; font-size: 20px; color: var(--ink); font-variant-numeric: tabular-nums; }

/* the page's own confirm dialog, and signing in to Bowser */
dialog.modal { border: 1px solid var(--line); border-radius: var(--r-tile); padding: 24px; width: min(440px, calc(100vw - 32px)); background: var(--panel); color: var(--ink); box-shadow: 0 20px 50px -24px rgba(40, 30, 20, .45); }
dialog.modal::backdrop { background: rgba(28, 27, 25, .4); }
dialog.modal p { color: var(--muted); }
.login { max-width: 380px; width: 100%; margin: 10vh auto 0; }

@media (max-width: 820px) {
  .split, .split.wide, .facts, .facts.two, .grid2 { grid-template-columns: minmax(0, 1fr); }
  .facts > div { border-left: 0; padding-left: 0; }
  .facts > div + div { border-top: 1px solid var(--line); }
  .top { padding: 14px 20px; gap: 16px; overflow-x: auto; }
  .status-line > span:last-child { max-width: 60vw; }
  main { padding: 28px 20px 48px; }
  footer.foot { padding: 0 20px 28px; }
  h1 { font-size: 28px; }
  .tripwire { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* on a phone, a row's status and action sit under its words */
@media (max-width: 560px) {
  .list:not(.tight) > * { flex-wrap: wrap; row-gap: 6px; }
  .list:not(.tight) > * > .grow { flex: 1 1 calc(100% - 64px); }
  .list:not(.tight) > * > .grow:first-child { flex-basis: 100%; }
  .list .act-cell { text-align: left; }
}
