/* Brutalist: hard 2px borders, no radius, no soft shadows, mono chrome, one loud accent. */
:root {
  color-scheme: light;
  --page: #efeee9;
  --surface: #ffffff;
  --sunken: #f6f5f1;
  --ink: #000000;
  --ink-2: #3d3d3a;
  --muted: #76756f;
  --line: #000000;
  --hair: #d6d5cf;
  --accent: #ffe14d;      /* focus / active */
  --hover: #fff3b0;       /* hovered rows and cells: pale accent */
  --accent-ink: #000000;
  --good: #0a8f0a;
  --warning: #c98500;
  --critical: #d03b3b;
  --bar: #2a78d6;
  --b: 2px;
  --h: 34px;      /* every control: inputs, selects, buttons */
  --h-sm: 26px;   /* compact buttons in dense rows */
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --sans: system-ui, -apple-system, "Segoe UI", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:where(:not([data-theme="light"])) {
    color-scheme: dark;
    --page: #0b0b0b; --surface: #141414; --sunken: #1b1b1b; --ink: #f2f2ee; --ink-2: #c9c8c0;
    --muted: #8d8c86; --line: #f2f2ee; --hair: #2e2e2c; --accent: #ffe14d; --accent-ink: #000; --hover: #3a3415;
    --good: #2fbf2f; --warning: #fab219; --critical: #ef6a6a; --bar: #4a97f0;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #0b0b0b; --surface: #141414; --sunken: #1b1b1b; --ink: #f2f2ee; --ink-2: #c9c8c0;
  --muted: #8d8c86; --line: #f2f2ee; --hair: #2e2e2c; --accent: #ffe14d; --accent-ink: #000; --hover: #3a3415;
  --good: #2fbf2f; --warning: #fab219; --critical: #ef6a6a; --bar: #4a97f0;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--page); color: var(--ink); font: 14px/1.5 var(--mono); }
a { color: inherit; text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { margin: 0; line-height: 1.2; font-weight: 700; }
h1 { font-size: 22px; }
h2 { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
p { margin: 0 0 8px; }
ul { margin: 0; padding-left: 18px; }
li { margin: 3px 0; }
.prose, .prose li { font-family: var(--sans); font-size: 14px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.up { text-transform: uppercase; letter-spacing: .06em; }
.nowrap { white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }

/* --- frame ------------------------------------------------------------------------- */
.top { border-bottom: var(--b) solid var(--line); background: var(--surface); }
.top .wrap { display: flex; align-items: stretch; flex-wrap: wrap; min-height: 48px; }
.brand { font-weight: 800; letter-spacing: .12em; padding: 13px 16px 13px 0; text-decoration: none; border-right: var(--b) solid var(--line); margin-right: 0; }
.nav { display: flex; }
.nav a { padding: 13px 16px; text-decoration: none; border-right: var(--b) solid var(--line); text-transform: uppercase; font-size: 12px; letter-spacing: .08em; }
.nav a.on { background: var(--ink); color: var(--surface); }
.top .spacer { flex: 1; }
.top .right { display: flex; align-items: center; gap: 8px; padding-left: 12px; }
.top .right form { display: flex; }
main { padding: 20px 0 80px; }
main > .wrap, .stack { display: flex; flex-direction: column; gap: 16px; }
.stack.tight { gap: 10px; }
main > .wrap > *, .stack > *, .grid > * { margin: 0; min-width: 0; }
main > .wrap, .stack { display: flex; flex-direction: column; gap: 16px; }
.stack.tight { gap: 10px; }
main > .wrap > *, .stack > *, .grid > * { margin: 0; min-width: 0; }
.keys { position: fixed; bottom: 0; left: 0; right: 0; border-top: var(--b) solid var(--line); background: var(--surface); font-size: 11px; color: var(--ink-2); padding: 5px 16px; z-index: 5; }
.keys kbd { font-family: var(--mono); border: 1px solid var(--line); padding: 0 4px; margin-right: 3px; background: var(--sunken); }

/* --- containers -------------------------------------------------------------------- */
.box { border: var(--b) solid var(--line); background: var(--surface); }
.box > .hd { display: flex; align-items: center; justify-content: space-between; gap: 8px; border-bottom: var(--b) solid var(--line); padding: 7px 12px; background: var(--sunken); }
.box > .bd { padding: 12px; }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.gside { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); }
@media (max-width: 860px) { .g2, .gside { grid-template-columns: minmax(0, 1fr); } }

/* stat strip: one container, cells split by borders */
.strip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--b); background: var(--line); border: var(--b) solid var(--line); }
.strip > a, .strip > div { padding: 10px 12px; background: var(--surface); text-decoration: none; display: block; min-width: 0; }
.strip > a:hover:not(.on) { background: var(--hover); }
.strip > a:hover:not(.on) .muted { color: var(--ink-2); }
.strip > a.on { background: var(--ink); color: var(--surface); }
.strip > a.on .k, .strip > a.on .muted { color: var(--surface); }
.strip > a.on .sq { border-color: var(--surface); }
.strip .k { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); display: flex; align-items: center; gap: 6px; }
.strip .v { font-size: 26px; font-weight: 800; line-height: 1.15; font-variant-numeric: tabular-nums; }

/* --- controls ---------------------------------------------------------------------- */
.btn { appearance: none; font: inherit; font-size: 12px; line-height: 1; text-transform: uppercase; letter-spacing: .06em; color: var(--ink); background: var(--surface); border: var(--b) solid var(--line); height: var(--h); padding: 0 12px; margin: 0; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap; vertical-align: middle; }
.btn:hover { background: var(--hover); color: var(--ink); }
.btn:active { transform: translate(1px, 1px); }
.btn.solid { background: var(--ink); color: var(--surface); }
.btn.solid:hover { background: var(--ink-2); border-color: var(--ink-2); color: var(--surface); }
.btn.xs { height: var(--h-sm); padding: 0 8px; font-size: 11px; min-width: var(--h-sm); }
.btn[aria-pressed="true"] { background: var(--ink); color: var(--surface); }
.btn:disabled { opacity: .4; cursor: default; }
form.inline { display: inline; margin: 0; }
input[type=text], input[type=search], input[type=number], input[type=password], select, textarea {
  font: inherit; font-size: 13px; line-height: 1.2; color: var(--ink); background-color: var(--surface); border: var(--b) solid var(--line); border-radius: 0; margin: 0; vertical-align: middle; }
input[type=text], input[type=search], input[type=number], input[type=password], select { height: var(--h); padding: 0 10px; }
input[type=search]::-webkit-search-decoration, input[type=search]::-webkit-search-cancel-button { -webkit-appearance: none; }
/* native selects ignore height/padding and draw their own arrow: replace it with a drawn chevron */
select { appearance: none; -webkit-appearance: none; padding-right: 30px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: right 15px center, right 10px center; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
textarea { padding: 8px 10px; }
input[type=file] { font: inherit; font-size: 12px; color: var(--ink-2); max-width: 100%; height: var(--h); line-height: var(--h); }
input[type=file]::file-selector-button { font: inherit; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; height: var(--h); margin: 0 10px 0 0; padding: 0 12px; color: var(--ink); background: var(--surface); border: var(--b) solid var(--line); border-radius: 0; cursor: pointer; vertical-align: middle; }
input[type=file]::file-selector-button:hover { background: var(--hover); }
input:focus, select:focus, textarea:focus, .btn:focus-visible, a:focus-visible { outline: 3px solid var(--accent); outline-offset: 0; }
textarea { width: 100%; min-height: 64px; resize: vertical; }
label.f { display: block; margin: 0 0 10px; }
label.f > span { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); margin-bottom: 3px; }
label.f input, label.f select { width: 100%; }
.row-inputs { display: grid; grid-template-columns: minmax(0, 1fr) 90px 100px; gap: 6px; }

/* segmented tabs */
.seg { display: flex; flex-wrap: wrap; border: var(--b) solid var(--line); background: var(--surface); }
.seg a { padding: 6px 12px; text-decoration: none; border-right: var(--b) solid var(--line); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.seg a:last-child { border-right: 0; }
.seg a.on { background: var(--ink); color: var(--surface); }
.seg .c { opacity: .6; margin-left: 4px; }
.filters { display: flex; gap: 6px; flex-wrap: wrap; align-items: stretch; }
.filters input[type=search] { flex: 1; min-width: 180px; }
.filters .count { height: var(--h); min-width: var(--h); padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; border: var(--b) solid var(--line); background: var(--sunken); font-size: 12px; font-variant-numeric: tabular-nums; }

/* --- markers ------------------------------------------------------------------------ */
.sq { width: 10px; height: 10px; display: inline-block; flex: none; border: 1px solid var(--line); }
.sq.good { background: var(--good); }
.sq.warning { background: var(--warning); }
.sq.critical { background: var(--critical); }
.sq.muted { background: var(--hair); }
.tag { display: inline-flex; align-items: center; gap: 5px; border: var(--b) solid var(--line); padding: 0 6px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; white-space: nowrap; background: var(--surface); }
.tag.inv { background: var(--ink); color: var(--surface); }
.tag.crit { border-color: var(--critical); color: var(--critical); }
.tag.warn { border-color: var(--warning); color: var(--warning); }
.tag.ok { border-color: var(--good); color: var(--good); }
.tag.est { border-style: dashed; }
.est-mark { font-size: 10px; font-weight: 800; letter-spacing: .06em; border: 1px dashed currentColor; padding: 0 3px; margin-left: 2px; vertical-align: 1px; }
.tag.only { background: var(--warning); color: #000; border-color: var(--warning); }
.tz { font-size: 11px; color: var(--ink-2); white-space: nowrap; }
.chip { display: inline-block; border: 1px solid var(--hair); padding: 0 5px; font-size: 11px; margin: 0 4px 4px 0; }

/* --- job list ---------------------------------------------------------------------- */
.list { border: var(--b) solid var(--line); background: var(--surface); }
.jr { display: grid; grid-template-columns: 92px minmax(0, 1fr) 170px auto; gap: 0 14px; align-items: center; padding: 9px 12px; border-bottom: 1px solid var(--hair); outline: none; }
.jr:last-child { border-bottom: 0; }
.jr:hover { background: var(--hover); box-shadow: inset 5px 0 0 var(--accent); }
.jr.focus { background: var(--hover); box-shadow: inset 5px 0 0 var(--accent), inset 0 0 0 2px var(--accent); }
.jr .verd { display: flex; align-items: center; gap: 7px; font-weight: 800; }
.jr .verd .score { font-size: 18px; font-variant-numeric: tabular-nums; min-width: 26px; }
.jr .verd .lbl { font-size: 10px; letter-spacing: .08em; }
.jr .t { font-weight: 700; text-decoration: none; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jr .t:hover, .jr:hover .t, .jr.focus .t { text-decoration: underline; text-decoration-thickness: 2px; background: none; color: inherit; }
.jr .m { font-size: 12px; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jr .why { font: 13px/1.4 var(--sans); margin-top: 2px; }
.jr .pay { font-size: 12px; display: flex; flex-direction: column; gap: 3px; align-items: flex-start; }
.jr .acts { gap: 4px; }
.empty { padding: 36px 16px; text-align: center; color: var(--ink-2); }
.pager { display: flex; justify-content: space-between; align-items: center; }

/* --- job detail -------------------------------------------------------------------- */
.crumbs { display: flex; flex-wrap: wrap; border: var(--b) solid var(--line); background: var(--surface); }
.crumbs > * { padding: 7px 12px; border-right: var(--b) solid var(--line); text-decoration: none; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.crumbs .sp { flex: 1; border-right: var(--b) solid var(--line); }
.crumbs > :last-child { border-right: 0; }
.crumbs .off { color: var(--muted); }
.head { display: grid; grid-template-columns: minmax(0, 1fr) 150px; }
.head .main { padding: 14px; border-right: var(--b) solid var(--line); }
.head .score-cell { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; padding: 12px; }
.head .big { font-size: 46px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.head.apply .score-cell { background: var(--good); color: #fff; }
.head.maybe .score-cell { background: var(--warning); color: #000; }
.head.skip .score-cell { background: var(--critical); color: #fff; }
.head .score-cell .tag { background: transparent; color: inherit; border-color: currentColor; }
@media (max-width: 640px) { .head { grid-template-columns: minmax(0, 1fr); } .head .main { border-right: 0; border-bottom: var(--b) solid var(--line); } }
.meta { font-size: 12px; color: var(--ink-2); margin-top: 6px; }
.payline { margin-top: 10px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 13px; }
.actions { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; padding: 10px 14px; border-top: var(--b) solid var(--line); }
.acts { display: flex; gap: 6px; align-items: center; }
.acts form, .actions form { display: flex; }
.kv { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px 14px; font-size: 13px; }
.kv dt { color: var(--ink-2); text-transform: uppercase; font-size: 11px; letter-spacing: .06em; padding-top: 2px; }
.kv dd { margin: 0; }
/* decision facts: 2px gap on an ink background draws the grid lines, so wrapping never breaks borders */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: var(--b); background: var(--line); border-top: var(--b) solid var(--line); }
.fact { background: var(--surface); padding: 8px 12px; min-width: 0; }
.fact .k { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); }
.fact .v { font-weight: 800; font-size: 15px; line-height: 20px; display: flex; align-items: flex-start; gap: 7px; margin-top: 3px; }
.fact .n { font-size: 11px; color: var(--ink-2); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fact .mk { width: 20px; height: 20px; flex: none; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; border: var(--b) solid var(--line); }
.fact.good .mk { background: var(--good); color: #fff; border-color: var(--good); }
.fact.warn .mk { background: var(--warning); color: #000; border-color: var(--warning); }
.fact.bad { background: color-mix(in srgb, var(--critical) 14%, var(--surface)); }
.fact.bad .mk { background: var(--critical); color: #fff; border-color: var(--critical); }
.fact.bad .v { color: var(--critical); }
.fact.none .mk { color: var(--muted); }
.factnote { border-top: var(--b) solid var(--line); padding: 6px 12px; font-size: 12px; color: var(--ink-2); background: var(--sunken); }
.lede { font: 600 15px/1.45 var(--sans); margin: 10px 0 0; }
/* description highlights */
mark { background: none; color: inherit; padding: 0 1px; }
mark.hl-rn { background: var(--critical); color: #fff; font-weight: 700; }
mark.hl-pay { background: var(--accent); color: #000; font-weight: 700; }
mark.hl-loc { box-shadow: inset 0 -3px 0 var(--warning); font-weight: 600; }
mark.hl-exp { box-shadow: inset 0 -3px 0 var(--bar); font-weight: 600; }
mark.hl-key { font-weight: 800; }
.legend { display: flex; flex-wrap: wrap; gap: 8px; font-size: 11px; justify-content: flex-end; }
.legend mark { white-space: nowrap; }
.desc { white-space: pre-wrap; font: 13px/1.55 var(--sans); max-height: 560px; overflow: auto; }
.alert { border: var(--b) solid var(--critical); background: var(--surface); padding: 8px 12px; font-size: 13px; }
.alert.warn { border-color: var(--warning); }
.alert.info { border-color: var(--line); }

/* --- application documents --------------------------------------------------------- */
.docs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--b); background: var(--line); }
.doc { background: var(--surface); padding: 12px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.doc-hd { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.doc-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.doc-actions form { display: flex; }
.letter { white-space: pre-wrap; font-size: 13px; line-height: 1.5; max-height: 320px; overflow: auto; background: var(--sunken); padding: 10px; border: 1px solid var(--hair); }
@media (max-width: 760px) { .docs { grid-template-columns: minmax(0, 1fr); } }

/* --- resume ------------------------------------------------------------------------ */
.bigscore { font-size: 54px; font-weight: 800; line-height: 1; }
table.t { width: 100%; border-collapse: collapse; font-size: 13px; }
table.t th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); border-bottom: var(--b) solid var(--line); padding: 5px 8px; }
table.t td { border-bottom: 1px solid var(--hair); padding: 6px 8px; vertical-align: top; }
table.t tr:last-child td { border-bottom: 0; }
table.t .r { text-align: right; font-variant-numeric: tabular-nums; }
.scroll { overflow-x: auto; }
.prio { font-weight: 800; font-size: 11px; text-transform: uppercase; }
.prio.high { color: var(--critical); }
.prio.medium { color: var(--warning); }
.prio.low { color: var(--muted); }
.rw { border-left: 4px solid var(--line); padding: 4px 0 4px 10px; margin-bottom: 12px; }
.rw .before { color: var(--muted); text-decoration: line-through; font: 13px/1.4 var(--sans); }
.rw .after { font: 600 14px/1.45 var(--sans); margin: 3px 0; }
.bars { display: flex; flex-direction: column; }
.bar { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr) 42px 92px; gap: 10px; align-items: center; font-size: 12px; padding: 3px 0; border-bottom: 1px solid var(--hair); }
.bar:last-child { border-bottom: 0; }
.bar .track { height: 12px; border: 1px solid var(--line); background: var(--sunken); }
.bar .fill { display: block; height: 100%; background: var(--bar); }
.bar .lab { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.has { color: var(--good); font-weight: 700; }
.missing { color: var(--critical); font-weight: 700; }
@media (max-width: 640px) { .bar { grid-template-columns: minmax(0, 1fr) 42px 80px; } .bar .track { grid-column: 1 / -1; grid-row: 2; } }
details > summary { cursor: pointer; list-style: none; }
details > summary::before { content: "+ "; font-weight: 800; }
details[open] > summary::before { content: "− "; }

/* --- hover states (must read clearly in both themes) ------------------------------------ */
.brand:hover { text-decoration: none; color: var(--ink-2); }
.nav a:hover:not(.on), .seg a:hover:not(.on), .crumbs a:hover, .strip > a:hover:not(.on) { background: var(--hover); color: var(--ink); text-decoration: none; }
.pager .btn:hover, .actions a.btn:hover { text-decoration: none; }
table.t tr:hover td { background: var(--hover); }
table.t tr:hover td:first-child { box-shadow: inset 5px 0 0 var(--accent); }
.bar:hover { background: var(--hover); }
details > summary:hover { background: var(--hover); }
.fact:hover { background: var(--hover); }
.fact.bad:hover { background: color-mix(in srgb, var(--critical) 26%, var(--surface)); }
.chip:hover { border-color: var(--line); }

/* --- misc -------------------------------------------------------------------------- */
.task { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: var(--ink-2); text-transform: uppercase; letter-spacing: .05em; }
.spin { width: 10px; height: 10px; background: var(--ink); animation: blink .8s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.flash { font-size: 12px; }
.login { max-width: 360px; margin: 12vh auto 0; }

/* --- phones: one block. Rows of cells use the 2px-gap grid so borders line up however they wrap. --- */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
.short { display: none; }
@media (max-width: 760px) {
  .keys { display: none; }
  main { padding: 14px 0 32px; }
  main > .wrap, .stack { gap: 12px; }
  .long { display: none; }
  .short { display: inline; }

  /* header: brand + actions, then the nav as a full-bleed row of equal cells */
  .brand { border-right: 0; }
  .nav { order: 3; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--b);
         background: var(--line); border-top: var(--b) solid var(--line); margin: 0 -16px; width: calc(100% + 32px); }
  .nav a { border-right: 0; background: var(--surface); text-align: center; padding: 11px 4px; }
  .nav a.on { background: var(--ink); }
  .top .right .task span:last-child { display: none; }  /* keep the status square, drop the text */

  /* stats: 3 x 2, one-line labels so numbers sit on the same baseline */
  .strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .strip > a { padding: 8px 10px; }
  .strip .k { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 10px; letter-spacing: .04em; }
  .strip .k .sq { margin-right: 5px; vertical-align: -1px; }
  .strip .v { font-size: 22px; }

  /* tabs: 3 x 2 equal cells */
  .seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--b); background: var(--line); }
  .seg a { border-right: 0; background: var(--surface); padding: 8px 4px; font-size: 11px; letter-spacing: .03em;
           display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0 4px; text-align: center; }
  .seg .c { margin: 0; }
  .seg a.on { background: var(--ink); }

  /* filters: search full width, then two equal columns */
  .filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .filters input[type=search] { grid-column: 1 / -1; min-width: 0; width: 100%; }
  .filters select { width: 100%; min-width: 0; }
  .filters .count { display: none; }

  /* job rows: one column - verdict line, title block, pay, actions; 44px-wide touch targets */
  .jr { grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 10px 12px; }
  .jr .verd .score { font-size: 16px; min-width: 0; }
  .jr .pay { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .jr .pay:empty { display: none; }
  .jr .acts .btn.xs { height: var(--h); min-width: 44px; }

  /* job page breadcrumbs: equal cells, no spacer */
  .crumbs { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); gap: var(--b); background: var(--line); }
  .crumbs > * { border-right: 0; background: var(--surface); padding: 9px 6px; text-align: center; font-size: 11px;
                white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .crumbs .sp { display: none; }
  .head .big { font-size: 38px; }
  .actions { display: grid; grid-template-columns: minmax(0, 1fr); }
  .actions .acts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .actions form, .actions .btn { width: 100%; }
}
