/* Eclose account area, design v2.
   Same tokens, type and components as v1 (and the live user page). What changed:
   - the page uses the whole screen width (side margins only) instead of a fixed 960px column;
   - cards are kept only for the three product tiles; every other section is flat
     (heading, whitespace, a thin rule);
   - nothing uses a sibling margin rule inside a grid, so equal tiles stay equal.
   The fonts are the site's own, served from /fonts (the OFL licences sit beside them). */
@font-face { font-family: "Newsreader"; src: url(fonts/Newsreader.woff2?v=0114dcffd0) format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url(fonts/IBMPlexSans.woff2?v=792fd7fce5) format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url(fonts/IBMPlexMono.woff2?v=58cc2333e9) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

/* Palette from the site (v6): warm paper by default, the site's dark greys for the dark theme. */
:root {
  color-scheme: light;
  --paper: #EAE5DC; --raised: #FBF9F5; --ink: #24211E; --muted: #5E574F;
  --rule: rgba(36, 33, 30, 0.13); --rule-strong: rgba(36, 33, 30, 0.3);
  --orange: #C4573F; --orange-text: #A8432D; --orange-soft: rgba(196, 87, 63, 0.1);
  --ok: #1F6B45; --ok-soft: rgba(31, 107, 69, 0.09);
  --bad: #A12B1B; --bad-soft: rgba(161, 43, 27, 0.07);
  --quiet: #6F675E; --quiet-soft: rgba(36, 33, 30, 0.05);
  --btn: #24211E; --btn-ink: #FBF9F5; --focus: #2E6E8E;
  --gut: clamp(16px, 3.5vw, 64px);
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --monof: "IBM Plex Mono", ui-monospace, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: #1B1E23; --raised: #23272E; --ink: #E8EBEE; --muted: #A9B1BB;
    --rule: rgba(255, 255, 255, 0.13); --rule-strong: rgba(255, 255, 255, 0.28);
    --orange: #E0765E; --orange-text: #E0765E; --orange-soft: rgba(224, 118, 94, 0.14);
    --ok: #6FCF97; --ok-soft: rgba(111, 207, 151, 0.1);
    --bad: #F08A7A; --bad-soft: rgba(240, 138, 122, 0.1);
    --quiet: #8C94A0; --quiet-soft: rgba(255, 255, 255, 0.05);
    --btn: #E8EBEE; --btn-ink: #1B1E23; --focus: #5BA3C4;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #1B1E23; --raised: #23272E; --ink: #E8EBEE; --muted: #A9B1BB;
  --rule: rgba(255, 255, 255, 0.13); --rule-strong: rgba(255, 255, 255, 0.28);
  --orange: #E0765E; --orange-text: #E0765E; --orange-soft: rgba(224, 118, 94, 0.14);
  --ok: #6FCF97; --ok-soft: rgba(111, 207, 151, 0.1);
  --bad: #F08A7A; --bad-soft: rgba(240, 138, 122, 0.1);
  --quiet: #8C94A0; --quiet-soft: rgba(255, 255, 255, 0.05);
  --btn: #E8EBEE; --btn-ink: #1B1E23; --focus: #5BA3C4;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; }
body {
  background: var(--paper); color: var(--ink);
  font: 400 15.5px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
.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; }
.mono, .fname { font-family: var(--monof); font-size: 13px; overflow-wrap: anywhere; }
.muted { color: var(--muted); font-size: 14px; }
p { margin: 12px 0 0; max-width: 75ch; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; }
h1 { font-size: clamp(32px, 5vw, 46px); line-height: 1.05; letter-spacing: -0.015em; margin: 0; }
h2 { font-size: 23px; letter-spacing: -0.01em; margin: 0 0 4px; }
h3 { font-size: 17px; margin: 0 0 2px; }
.lead { color: var(--muted); font-size: 16.5px; max-width: 75ch; margin: 12px 0 0; }

/* page width: the whole screen, with side margins only */
.bar, nav.tabs, .wrap, footer.foot { max-width: none; margin-left: auto; margin-right: auto; padding-left: var(--gut); padding-right: var(--gut); }

/* top bar and section navigation */
.bar { padding-top: 16px; padding-bottom: 6px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 500 22px/1 var(--serif); letter-spacing: -0.01em; }
.mark { width: 28px; height: 28px; border-radius: 8px; background: var(--ink); color: var(--paper); display: grid; place-items: center; font: 500 18px/1 var(--serif); flex: none; }
.brand em { font: 400 13.5px/1 var(--sans); color: var(--muted); }
.who { display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--muted); min-width: 0; }
.uname { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.link-btn { font: inherit; color: var(--ink); background: none; border: 0; padding: 4px 0; text-decoration: underline; text-decoration-color: var(--rule-strong); text-underline-offset: 3px; cursor: pointer; }
nav.tabs { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; position: relative; }
nav.tabs::after { content: ""; position: absolute; left: var(--gut); right: var(--gut); bottom: 0; border-bottom: 1px solid var(--rule); pointer-events: none; }
nav.tabs::-webkit-scrollbar { display: none; }
nav.tabs a { text-decoration: none; color: var(--muted); font-size: 14.5px; font-weight: 550; padding: 10px 12px; white-space: nowrap; border-bottom: 2px solid transparent; }
nav.tabs a:hover { color: var(--ink); }
nav.tabs a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--orange); font-weight: 650; position: relative; z-index: 1; }
nav.tabs .pre { font-size: 11px; font-weight: 600; color: var(--orange-text); margin-left: 6px; }

.wrap { padding-top: 28px; padding-bottom: 64px; }
.crumb { font-size: 14px; color: var(--muted); margin: 0 0 14px; }
.crumb a { color: var(--muted); }

/* layout helpers. Spacing between blocks is a gap or an explicit margin on one
   block, never an "adjacent sibling" rule, so it cannot leak into a grid. */
.sect { border-top: 1px solid var(--rule); padding-top: 20px; margin-top: 32px; min-width: 0; }
.col { display: flex; flex-direction: column; gap: 32px; min-width: 0; }
.cols, .split { display: grid; gap: 0 56px; align-items: start; margin-top: 0; }
.cols { grid-template-columns: minmax(0, 1fr) minmax(320px, 440px); }
.split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols > .sect, .split > .sect, .col > .sect { margin-top: 0; }
.cols, .split { margin-top: 32px; }
.sec-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 0 0 10px; }
.sec-h h2 { margin: 0; }
.nothing { color: var(--muted); font-size: 14.5px; margin: 0; }

/* buttons and fields */
.btn { font: inherit; font-weight: 500; background: var(--btn); color: var(--btn-ink); border: 1px solid var(--btn); border-radius: 6px; padding: 10px 18px; cursor: pointer; text-decoration: none; display: inline-block; }
.btn.ghost { background: var(--raised); color: var(--ink); border-color: var(--rule-strong); }
.btn.sm, .btn-sm { font-size: 14px; padding: 7px 14px; border-radius: 6px; }
.btn.danger { background: var(--bad); border-color: var(--bad); color: #fff; }
.btn.ghost.danger { background: transparent; color: var(--bad); border-color: var(--bad); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; }
.plain { font: inherit; font-size: 14px; color: var(--muted); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
input[type="text"], input[type="email"], input[type="password"], input[type="search"], textarea, .input {
  font: inherit; font-size: 15px; color: var(--ink); background: var(--paper);
  border: 1px solid var(--rule-strong); border-radius: 10px; padding: 10px 12px; width: 100%; max-width: 560px;
}
textarea { min-height: 110px; resize: vertical; }
::placeholder { color: var(--quiet); }
label.l { display: block; font-size: 14px; font-weight: 600; margin: 14px 0 6px; }
.acts { display: flex; gap: 10px 14px; flex-wrap: wrap; align-items: center; margin-top: 16px; }
.err { color: var(--bad); font-size: 14px; margin-top: 10px; min-height: 20px; }
.said { color: var(--ok); font-size: 14px; margin-top: 10px; }

/* notices are a rule on the left, not a tinted box */
.banner, .warn { border-left: 3px solid var(--orange); padding: 2px 0 2px 14px; font-size: 14.5px; margin: 14px 0 0; max-width: 75ch; }
.banner { margin: 16px 0 0; }
.banner b { color: var(--ink); }
.notice { font-size: 14px; color: var(--muted); }
.refunded { font-size: 14px; color: var(--ok); }
.badge { display: inline-block; font-size: 12.5px; font-weight: 600; border-radius: 999px; padding: 1px 10px; border: 1px solid var(--rule-strong); color: var(--muted); white-space: nowrap; }
.badge.ok { color: var(--ok); border-color: var(--ok); background: var(--ok-soft); }
.badge.pend { color: var(--orange-text); border-color: var(--orange); background: var(--orange-soft); }
.badge.bad { color: var(--bad); border-color: var(--bad); background: var(--bad-soft); }
/* the theme control: a segmented radio group (System / Light / Dark) */
.seg { display: inline-flex; margin-top: 12px; border: 1px solid var(--rule-strong); border-radius: 6px; overflow: hidden; background: var(--raised); }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: block; padding: 7px 18px; font-size: 14px; font-weight: 500; color: var(--muted); border-left: 1px solid var(--rule-strong); }
.seg label:first-child span { border-left: 0; }
.seg input:checked + span { background: var(--btn); color: var(--btn-ink); }
.seg input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: -3px; }
.tag { display: inline-block; font-size: 12px; font-weight: 600; color: var(--muted); background: var(--quiet-soft); border-radius: 6px; padding: 0 7px; line-height: 20px; vertical-align: 1px; }
.big { font-family: var(--serif); font-weight: 500; font-size: 40px; letter-spacing: -0.03em; line-height: 1.1; }
.big small { font-size: 15px; font-weight: 450; color: var(--muted); letter-spacing: 0; }

/* the one switch: a labelled checkbox, the way the area's own form styles one
   (access.css's .check — the same look, no new design) */
.check { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; cursor: pointer; }
.check input { margin: 2px 0 0; flex: none; }

/* the one place cards stay: three equal product tiles */
.grid { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { background: var(--raised); border: 1px solid var(--rule-strong); border-radius: 10px; padding: 20px 22px; min-width: 0; display: flex; flex-direction: column; }
.card p { margin-top: 10px; }
.card .acts { margin-top: auto; padding-top: 18px; }

/* simple lists */
.todo { list-style: none; margin: 0; padding: 0; }
.todo li { display: flex; justify-content: space-between; align-items: center; gap: 8px 16px; flex-wrap: wrap; padding: 12px 0; border-top: 1px solid var(--rule); }
.todo li:first-child { border-top: 0; padding-top: 2px; }
.todo .what { min-width: 0; flex: 1 1 260px; }
.todo .what span:not(.dot) { display: block; color: var(--muted); font-size: 14px; }
.todo .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); margin-right: 8px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px 24px; margin-top: 16px; max-width: 900px; }
.facts b { display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.facts span { font-weight: 600; }
.kv { border-top: 1px solid var(--rule); padding: 16px 0; }
.kv:first-of-type { border-top: 0; padding-top: 4px; }
.kv .val { font-size: 15.5px; font-weight: 600; overflow-wrap: anywhere; }
.kv p { font-size: 14px; color: var(--muted); margin: 4px 0 0; }
ul.plainlist { margin: 8px 0 0; padding-left: 20px; }
ul.plainlist li { margin: 3px 0; }

/* tables */
.tbl-wrap { overflow-x: auto; margin-top: 10px; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.tbl th { text-align: left; font-size: 12.5px; font-weight: 600; color: var(--muted); padding: 6px 12px 6px 0; border-bottom: 1px solid var(--rule-strong); white-space: nowrap; }
.tbl td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.tbl .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; padding-right: 0; }
.tbl th.num { padding-right: 0; }
.plus { color: var(--ok); font-weight: 600; }
.empty { color: var(--muted); margin: 0; }

/* sign-in: narrow and centred, as in v1 */
.login-card { max-width: 440px; margin: 7vh auto 0; padding: 28px 28px 30px; background: var(--raised); border: 1px solid var(--rule-strong); border-radius: 14px; }
.login-card h1 { font-size: 26px; letter-spacing: -0.03em; margin: 0 0 8px; }
.login-card p { color: var(--muted); font-size: 14px; margin: 0 0 16px; }
.login-card input { max-width: none; }
.login-card .btn { width: 100%; margin-top: 14px; }
.login-card .aside { margin-top: 14px; font-size: 14px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.login-foot { max-width: 440px; margin: 18px auto 0; padding: 0 4px; font-size: 13px; color: var(--muted); }
.login-top { max-width: 440px; margin: 0 auto; padding: 22px 4px 0; }

/* omics: filters and the run lane (same pattern as today's results page) */
.tools { display: flex; justify-content: space-between; align-items: center; gap: 8px 12px; flex-wrap: wrap; margin: 0 0 8px; }
.filters { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; }
.filters .lbl { font-size: 13px; color: var(--quiet); margin: 0 4px 0 0; }
.filters button { font: inherit; font-size: 14px; color: var(--muted); background: none; border: 0; border-radius: 8px; padding: 6px 12px; cursor: pointer; }
.filters button[aria-pressed="true"] { color: var(--ink); background: var(--quiet-soft); font-weight: 600; }
.filters b { font-weight: 500; color: var(--quiet); margin-left: 5px; }
.month { margin: 22px 0 6px 132px; font-size: 14px; font-weight: 600; color: var(--muted); }
.row { display: grid; grid-template-columns: 116px minmax(0, 1fr); column-gap: 16px; }
.row.ready { --rail: var(--ok); --tone: var(--ok); }
.row.running { --rail: var(--orange); --tone: var(--orange-text); }
.row.failed { --rail: var(--bad); --tone: var(--bad); }
.when { padding: 13px 0 0; text-align: right; font-size: 13.5px; color: var(--muted); line-height: 1.35; }
.cell { position: relative; min-width: 0; border-top: 1px solid var(--rule); }
.cell::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: var(--rail); }
a.line { color: inherit; text-decoration: none; width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 18px; align-items: baseline; padding: 12px 0 12px 26px; }
a.line:hover { background: var(--quiet-soft); }
.line .n { font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.line .n small { display: block; font-weight: 400; color: var(--muted); font-size: 13.5px; }
.line .k { font-size: 13.5px; color: var(--muted); white-space: nowrap; }
.line .s { font-size: 13.5px; font-weight: 600; color: var(--tone); white-space: nowrap; min-width: 88px; text-align: right; }
.row .sub { grid-column: 2; padding: 0 0 12px 26px; font-size: 13.5px; color: var(--muted); margin-top: -6px; max-width: 75ch; }
.folded { margin: 18px 0 0 132px; border-top: 1px solid var(--rule); padding-top: 12px; }
.folded summary { cursor: pointer; font-size: 14px; font-weight: 600; }
.folded ul { list-style: none; margin: 8px 0 0; padding: 0; font-size: 14px; }
.folded li { padding: 8px 0; border-top: 1px solid var(--rule); }
.folded li:first-child { border-top: 0; }
.more { margin: 16px 0 0 132px; }
input.search[type="search"] { background: var(--raised); padding: 7px 12px; width: 260px; max-width: 100%; font-size: 14px; }

/* run page */
details { margin-top: 14px; }
summary { cursor: pointer; font-size: 14px; font-weight: 600; }
.all { margin-top: 12px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px 40px; }
.all section { min-width: 0; }
.all h3 { font-size: 13.5px; font-weight: 600; color: var(--muted); margin: 0 0 4px; }
.frow { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-top: 1px solid var(--rule); text-decoration: none; min-width: 0; }
a.frow:hover .fname { text-decoration: underline; }
.frow .sz { color: var(--quiet); font-size: 13px; white-space: nowrap; }
/* the figures of a run: the pictures in a grid across the width, a thin border around each */
.figs { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; margin-top: 16px; }
.figtile { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.figbox { aspect-ratio: 4 / 3; border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; display: flex; align-items: center; justify-content: center; background: var(--quiet-soft); }
.figbox img { width: 100%; height: 100%; object-fit: contain; display: block; }
.figtile .acts { margin-top: 0; }

/* connect your AI */
.cmd { font-family: var(--monof); font-size: 13px; background: var(--quiet-soft); border: 1px solid var(--rule); border-radius: 8px; padding: 8px 10px; margin: 4px 0 8px; overflow-wrap: anywhere; user-select: all; }
.cmdrow { display: flex; gap: 8px; align-items: flex-start; }
.cmdrow .cmd { flex: 1; min-width: 0; }
.cmdrow button { flex: none; margin-top: 4px; }
ol.steps { padding-left: 0; list-style: none; counter-reset: s; margin: 14px 0 0; }
ol.steps > li { counter-increment: s; position: relative; padding: 0 0 16px 38px; }
ol.steps > li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--rule-strong); display: grid; place-items: center; font-size: 13px; font-weight: 650; }
ol.steps h3 { margin-bottom: 2px; }
ol.steps p { margin-top: 6px; }

dialog { border: 1px solid var(--rule-strong); border-radius: 14px; background: var(--raised); color: var(--ink); padding: 22px 24px; width: min(440px, calc(100vw - 32px)); }
dialog::backdrop { background: rgba(0, 0, 0, 0.45); }

footer.foot { padding-bottom: 56px; font-size: 13.5px; color: var(--muted); }
footer.foot .in { border-top: 1px solid var(--rule); padding-top: 16px; }
footer.foot p { margin: 0 0 6px; }

/* The pages say what is there with the `hidden` attribute (one element per state), and
   with `data-runs="none"` on <html> when the account has no runs at all: that one changes
   the layout (the attention line goes full width, the connect steps take the run list's
   place). Nothing else keys off a state attribute. */
.err-box { margin: 8px 0 0; padding: 4px 0 4px 14px; border-left: 3px solid var(--bad); font-size: 14px; }
.err-box .acts { margin-top: 8px; }
.err-box.inline-err { margin-top: 14px; }
.small { font-size: 13px; color: var(--muted); }
.amount { display: flex; align-items: center; gap: 8px; margin-top: 14px; }
.amount span { font-weight: 650; }

/* omics: with runs, list left and notes + connect right; with none, connect takes the wide left column.
   The science package is the grid's last row: it spans both columns, under the two others. */
.omics-cols { grid-template-areas: "runs keep" "runs connect" "package package"; grid-template-rows: auto 1fr auto; row-gap: 32px; }
.s-runs { grid-area: runs; } .s-keep { grid-area: keep; } .s-connect { grid-area: connect; } .s-package { grid-area: package; }
html[data-runs="none"] .omics-cols { grid-template-areas: "runs keep" "connect keep" "package package"; grid-template-rows: auto 1fr auto; }
html[data-runs="none"] .s-runs { padding-bottom: 0; }
html[data-runs="none"] .s-connect { margin-top: 0; }
html[data-runs="none"] .s-connect ol.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; }
html[data-runs="none"] .s-connect ol.steps > li:first-child { grid-column: 1 / -1; }
.cmdrow { max-width: 840px; }
/* home: with no runs the attention line goes full width and credit becomes one row */
.home-top { row-gap: 32px; }
html[data-runs="none"] .home-top { grid-template-columns: minmax(0, 1fr); }
html[data-runs="none"] .credit-body { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 12px 48px; }
html[data-runs="none"] .credit-text { flex: 1 1 320px; }
html[data-runs="none"] .credit-text > p { margin: 0 0 8px; }
html[data-runs="none"] .credit-body .acts { margin-top: 0; }
@media (max-width: 1100px) {
  .omics-cols, html[data-runs="none"] .omics-cols { grid-template-areas: "runs" "keep" "connect"; grid-template-rows: auto; }
  html[data-runs="none"] .s-connect ol.steps { grid-template-columns: minmax(0, 1fr); }
  .cols, .split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .wrap { padding-top: 22px; }
  .uname { max-width: 110px; }
  nav.tabs { flex-wrap: wrap; overflow-x: visible; }
  nav.tabs a { padding: 8px 10px; }
  .more { margin-left: 0; }
  .search { width: 100%; max-width: none; }
  .grid { grid-template-columns: minmax(0, 1fr); }
  .month, .folded { margin-left: 0; }
  .row { grid-template-columns: minmax(0, 1fr); }
  .when { text-align: left; padding: 10px 0 0 26px; font-size: 12.5px; border-top: 1px solid var(--rule); }
  .cell { border-top: 0; }
  a.line { grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding-top: 6px; }
  .line .k { grid-column: 1; grid-row: 2; white-space: normal; }
  .line .s { grid-row: 1 / 3; grid-column: 2; min-width: 0; }
  .row .sub { grid-column: 1; }
  .login-card { margin-top: 3vh; padding: 22px 18px 24px; }
  .cmdrow { flex-direction: column; gap: 0; }
  .cmdrow button { margin: 0 0 8px; }
}

/* home: latest runs and connected apps (flat lists) */
.latest, .apps { list-style: none; margin: 0; padding: 0; }
.latest li { display: grid; grid-template-columns: minmax(0, 1fr) 90px 120px; gap: 4px 16px; align-items: baseline; padding: 10px 0; border-top: 1px solid var(--rule); }
.latest li:first-child { border-top: 0; padding-top: 2px; }
.latest a { font-weight: 600; text-decoration: none; }
.latest a:hover { text-decoration: underline; }
.latest .st { font-size: 13.5px; font-weight: 600; text-align: right; }
.latest .dt { font-size: 13.5px; color: var(--muted); text-align: right; white-space: nowrap; }
.latest .ready .st { color: var(--ok); } .latest .running .st { color: var(--orange-text); } .latest .failed .st { color: var(--bad); }
.apps li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; gap: 4px 20px; align-items: baseline; padding: 10px 0; border-top: 1px solid var(--rule); font-size: 14px; color: var(--muted); }
.apps li:first-child { border-top: 0; padding-top: 2px; }
.apps b { color: var(--ink); font-size: 15px; }
.apps .btn { align-self: center; }
@media (max-width: 680px) {
  .latest li { grid-template-columns: minmax(0, 1fr) auto; }
  .latest .dt { grid-column: 1 / -1; text-align: left; }
  .apps li { grid-template-columns: minmax(0, 1fr); }
}
/* The Eclose AI usage ring in the header: it fills with the week's use; the symbol never changes. */
.ind { position: relative; display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; border-radius: 6px; padding: 2px 6px 2px 4px; margin: -2px -6px -2px -4px; font: inherit; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ind:hover { background: var(--quiet-soft); }
.ring-wrap { position: relative; width: 24px; height: 24px; flex: none; }
.ring { display: block; width: 24px; height: 24px; }
.ring-track, .ring-arc { fill: none; stroke-width: 2; }
.ring-track { stroke: var(--rule-strong); }
.ring-arc { stroke: var(--orange); }
.ring-sym { position: absolute; left: 50%; top: 50%; width: 8px; height: 15px; transform: translate(-50%, -50%); background: var(--ink); -webkit-mask: url(/eclose-symbol.png?v=323f9eeee6) center / contain no-repeat; mask: url(/eclose-symbol.png?v=323f9eeee6) center / contain no-repeat; }
.ind.is-full .ind-txt { color: var(--orange-text); font-weight: 600; }
.ind.is-unknown .ind-txt { color: var(--muted); }
.ind-tip { position: absolute; right: 0; top: calc(100% + 8px); z-index: 20; padding: 7px 10px; border-radius: 6px; background: var(--btn); color: var(--btn-ink); font: 400 12.5px/1.4 var(--sans); white-space: normal; width: max-content; max-width: min(300px, calc(100vw - 24px)); visibility: hidden; opacity: 0; transition: opacity 0.12s; }
.ind-tip::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.ind:hover .ind-tip, .ind:focus-visible .ind-tip { visibility: visible; opacity: 1; }
@media (forced-colors: active) {
  .ring-track { stroke: GrayText; }
  .ring-arc { stroke: Highlight; }
  .ring-sym { background: CanvasText; }
}
