/* The Studio. The store's look (web/css/site.css: the same colors, type and buttons), tuned for one person
   making calls: the picture big, the buttons plain, every page usable on a phone at 390px.
   Fonts are the renderer's own OFL files (vendor/render/fonts), so the Studio loads nothing from other sites. */
@font-face { font-family: "Public Sans"; font-weight: 400; src: url("../vendor/render/fonts/PublicSans-400-latin.woff") format("woff"); font-display: swap; }
@font-face { font-family: "Public Sans"; font-weight: 600; src: url("../vendor/render/fonts/PublicSans-600-latin.woff") format("woff"); font-display: swap; }
@font-face { font-family: "Public Sans"; font-weight: 700; src: url("../vendor/render/fonts/PublicSans-700-latin.woff") format("woff"); font-display: swap; }
@font-face { font-family: "Public Sans"; font-weight: 800; src: url("../vendor/render/fonts/PublicSans-800-latin.woff") format("woff"); font-display: swap; }
@font-face { font-family: "Rubik"; font-weight: 700; src: url("../vendor/render/fonts/Rubik-700-latin.woff") format("woff"); font-display: swap; }
@font-face { font-family: "Rubik"; font-weight: 900; src: url("../vendor/render/fonts/Rubik-900-latin.woff") format("woff"); font-display: swap; }

:root {
  --bg: #F2F5F1; --surface: #FFFFFF; --sunk: #E7EDE6; --ink: #15231A; --muted: #56675B; --line: #D5DED4;
  --accent: #1E7438; --accent-ink: #FFFFFF; --accent-soft: #DCEFDF;
  --tag: #F2C230; --tag-ink: #2A2200;
  --teal: #1D6E73; --teal-soft: #D6EDEE; --amber: #A4561C; --amber-soft: #F6E3D3; --red: #B3261E; --red-soft: #F7DEDC;
  --scrim: rgba(12, 20, 14, .62); --shadow: 0 10px 30px rgba(20, 40, 25, .14);
  --display: "Rubik", "Segoe UI", system-ui, sans-serif;
  --body: "Public Sans", "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, monospace;
  --bar-h: 62px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #0E1611; --surface: #16211A; --sunk: #1C2A21; --ink: #E4EDE5; --muted: #98A99D; --line: #29392F;
  --accent: #4DB86B; --accent-ink: #08130B; --accent-soft: #1D3A26; --tag: #E2B52C; --tag-ink: #1C1600;
  --teal: #5EC1C6; --teal-soft: #173638; --amber: #E39A5F; --amber-soft: #3A2718; --red: #F2867E; --red-soft: #3D1C1A;
  --scrim: rgba(0, 0, 0, .7); --shadow: 0 10px 30px rgba(0, 0, 0, .45); color-scheme: dark; } }
:root[data-theme="dark"] {
  --bg: #0E1611; --surface: #16211A; --sunk: #1C2A21; --ink: #E4EDE5; --muted: #98A99D; --line: #29392F;
  --accent: #4DB86B; --accent-ink: #08130B; --accent-soft: #1D3A26; --tag: #E2B52C; --tag-ink: #1C1600;
  --teal: #5EC1C6; --teal-soft: #173638; --amber: #E39A5F; --amber-soft: #3A2718; --red: #F2867E; --red-soft: #3D1C1A;
  --scrim: rgba(0, 0, 0, .7); --shadow: 0 10px 30px rgba(0, 0, 0, .45); color-scheme: dark; }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.5 var(--body); -webkit-text-size-adjust: 100%; overflow-x: hidden; }
.wrap { max-width: 1280px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.15; text-wrap: balance; margin: 0; }
a { color: var(--accent); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.meta { font-size: 12.5px; color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.loading { padding: 40px 0; text-align: center; }
p { margin: 0; }

/* test strip and header */
.test-strip { background: var(--tag); color: var(--tag-ink); font-size: 13px; font-weight: 600; }
.test-strip .wrap { padding-block: 6px; display: flex; gap: 4px 16px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.test-strip .linkbtn { color: var(--tag-ink); }
header.top { position: sticky; top: 0; z-index: 20; background: var(--surface); border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; gap: 16px; padding-block: 10px; min-width: 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.brand-mark { width: 32px; height: 32px; border-radius: 9px; background: var(--ink); color: var(--accent-soft); display: grid; place-items: center; }
.brand-mark svg { width: 100%; height: 100%; display: block; }
.brand b { font-family: var(--display); font-weight: 900; font-size: 19px; white-space: nowrap; }
.libpick select { background: var(--sunk); border: 1px solid var(--line); border-radius: 8px; padding: 5px 8px; font-weight: 600; font-size: 13.5px; max-width: 190px; }
nav.tabs { display: flex; gap: 2px; min-width: 0; }
nav.tabs a { text-decoration: none; color: var(--muted); font-weight: 600; padding: 7px 11px; border-radius: 8px; white-space: nowrap; display: inline-flex; gap: 6px; align-items: center; }
nav.tabs a:hover { color: var(--ink); background: var(--sunk); }
nav.tabs a[aria-current="page"] { color: var(--ink); background: var(--accent-soft); }
.count { font-size: 12px; background: var(--ink); color: var(--bg); border-radius: 999px; padding: 0 7px; }
.acct-area { margin-left: auto; display: flex; align-items: center; gap: 10px; min-width: 0; }
.acct-area .who { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 220px; }

main { padding-block: 22px 56px; }
.view-head { margin-bottom: 16px; display: flex; gap: 10px 16px; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; }
.view-head h1 { font-size: clamp(24px, 3vw, 32px); font-weight: 900; }
.view-head p { margin-top: 4px; color: var(--muted); max-width: 70ch; }
h2.sec { font-size: 20px; margin: 26px 0 10px; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
h2.sec .meta { font-family: var(--body); font-weight: 400; }

/* buttons, chips, pills */
.btn { border: 0; border-radius: 9px; padding: 9px 14px; font-weight: 700; cursor: pointer; background: var(--accent); color: var(--accent-ink); text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px; line-height: 1.3; }
.btn:hover { filter: brightness(1.06); }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn.warn { background: var(--amber); color: #fff; }
.btn.stop { background: transparent; color: var(--red); border: 1px solid var(--red); }
.btn.sm { padding: 6px 11px; font-size: 13px; }
.btn.big { padding: 12px 18px; font-size: 15.5px; }
.btn:disabled { background: var(--sunk); color: var(--muted); cursor: not-allowed; filter: none; border-color: transparent; }
.linkbtn { background: none; border: 0; color: var(--accent); font-weight: 700; cursor: pointer; padding: 4px 2px; text-decoration: underline; text-underline-offset: 2px; font-size: inherit; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 5px 11px; font-size: 13px; font-weight: 500; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip.static { cursor: default; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; border-radius: 6px; padding: 3px 8px; white-space: nowrap; background: var(--sunk); color: var(--ink); }
.p-proven { background: var(--accent); color: var(--accent-ink); }
.p-promising { background: var(--teal); color: var(--surface); }
.p-testing { background: var(--tag); color: var(--tag-ink); }
.p-new, .p-untested { background: var(--surface); border: 1px solid var(--line); }
.p-tiring { background: var(--amber); color: #fff; }
.p-dead, .p-retired, .p-rejected { background: var(--red-soft); color: var(--red); }
.p-late { background: var(--red); color: #fff; }
.p-ok { background: var(--accent-soft); color: var(--ink); }
.p-trending { background: var(--teal-soft); color: var(--teal); }
.pickrow { display: flex; gap: 6px 10px; align-items: center; flex-wrap: wrap; }
.check.pick { font-weight: 700; font-size: 13.5px; }
.empty { padding: 34px 20px; text-align: center; color: var(--muted); background: var(--surface); border: 1px dashed var(--line); border-radius: 12px; }
.notice { background: var(--amber-soft); border-radius: 10px; padding: 10px 12px; font-size: 13.5px; display: grid; gap: 4px; }
.notice.ok { background: var(--accent-soft); }
.notice.bad { background: var(--red-soft); }
.notice ul { margin: 2px 0 0; padding-left: 18px; }
.err { color: var(--red); font-size: 13px; font-weight: 600; }

/* panels and forms */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px; min-width: 0; }
.panel h3 { font-size: 17px; margin-bottom: 10px; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
.form .full { grid-column: 1 / -1; }
.field { display: grid; gap: 5px; min-width: 0; align-content: start; }
.field > label, .field > .lab { font-weight: 600; font-size: 13.5px; }
.field .hint { font-size: 12.5px; color: var(--muted); }
.field input[type=text], .field input[type=email], .field input[type=url], .field input[type=date], .field input[type=number], .field textarea, .field select {
  background: var(--bg); border: 1px solid var(--line); border-radius: 9px; padding: 8px 10px; width: 100%; min-width: 0; }
.field textarea { min-height: 76px; resize: vertical; }
.check { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; cursor: pointer; }
.check input { margin-top: 3px; accent-color: var(--accent); width: 16px; height: 16px; flex: none; }
.notebox { display: grid; gap: 8px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 10px; }
.notebox textarea { background: var(--surface); border: 1px solid var(--line); border-radius: 9px; padding: 8px 10px; width: 100%; min-height: 70px; resize: vertical; }

/* the picture */
.pic { position: relative; aspect-ratio: 4 / 5; width: 100%; background: var(--sunk); border-radius: 10px; overflow: hidden; }
.pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pic .tagline { position: absolute; left: 8px; top: 8px; display: flex; gap: 4px; flex-wrap: wrap; }
.pic .busy { position: absolute; right: 8px; bottom: 8px; font-size: 12px; background: rgba(0,0,0,.66); color: #fff; padding: 3px 8px; border-radius: 6px; }
.pics2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pics2 figure { margin: 0; display: grid; gap: 4px; min-width: 0; }
.pics2 figcaption { font-size: 12px; color: var(--muted); }
.pic.story { aspect-ratio: 9 / 16; }
.pic.story img { object-fit: contain; background: #000; }

/* review */
.qtabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.qtabs button { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 7px 14px; font-weight: 700; cursor: pointer; }
.qtabs button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.strip { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; margin-bottom: 12px; scrollbar-width: thin; }
.strip button { flex: none; width: 58px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: var(--sunk); cursor: pointer; aspect-ratio: 4 / 5; }
.strip button[aria-current="true"] { border-color: var(--accent); }
.strip img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rcard { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.rcard .side { display: grid; gap: 14px; align-content: start; min-width: 0; }
.rcard h2 { font-size: 24px; }
.kv { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px 12px; margin: 0; font-size: 14px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.decide { display: grid; gap: 10px; position: sticky; bottom: 0; background: var(--surface); padding: 12px 0 calc(12px + var(--safe-b)); border-top: 1px solid var(--line); z-index: 3; }
.decide .row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.texts { display: grid; gap: 8px; }
.texts .t { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 9px 11px; font-size: 14px; }
.texts .t b { display: block; font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
details.more summary { cursor: pointer; font-weight: 600; color: var(--accent); }
details.more pre { white-space: pre-wrap; font: 12.5px/1.45 var(--mono); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 10px; margin: 8px 0 0; max-height: 320px; overflow: auto; }
.pager { display: flex; gap: 8px; align-items: center; justify-content: space-between; margin-bottom: 10px; flex-wrap: wrap; }
.waiting { display: flex; gap: 8px; flex-wrap: wrap; margin: 4px 0 16px; }

/* prep */
.prep { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(300px, 380px); gap: 16px; align-items: start; }
.prep .col { display: grid; gap: 14px; align-content: start; min-width: 0; }
.stage { position: relative; width: 100%; aspect-ratio: 1080 / 1350; background: var(--sunk); user-select: none; touch-action: none; overflow: hidden; border-radius: 8px; }
.stage img { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; object-fit: cover; }
.zone { position: absolute; border: 2px dashed #00B3FF; background: rgba(0, 179, 255, .13); cursor: move; }
.zone.sel { border: 2px solid #FF7A00; background: rgba(255, 122, 0, .13); }
.zone.bad { border-color: var(--red); }
.zone .ztag { position: absolute; left: -2px; top: -19px; font: 11px/1 var(--mono); background: #00B3FF; color: #fff; padding: 3px 4px; border-radius: 3px 3px 0 0; white-space: nowrap; }
.zone.sel .ztag { background: #FF7A00; }
.h { position: absolute; width: 14px; height: 14px; background: #fff; border: 2px solid #FF7A00; border-radius: 3px; margin: -7px 0 0 -7px; }
.h[data-h=nw] { left: 0; top: 0; cursor: nwse-resize; } .h[data-h=ne] { left: 100%; top: 0; cursor: nesw-resize; }
.h[data-h=se] { left: 100%; top: 100%; cursor: nwse-resize; } .h[data-h=sw] { left: 0; top: 100%; cursor: nesw-resize; }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 10px; }
.color { display: flex; gap: 4px; align-items: center; min-width: 0; }
.color input[type=color] { width: 34px; height: 32px; padding: 0; border: 1px solid var(--line); border-radius: 6px; background: none; flex: none; }
.fit { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.fit td, .fit th { text-align: left; padding: 4px 6px; border-bottom: 1px solid var(--line); vertical-align: top; overflow-wrap: anywhere; }
.good { color: var(--accent); font-weight: 600; } .bad { color: var(--red); font-weight: 600; }
.joblist { display: grid; gap: 8px; }
.job { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 10px; align-items: center; text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 6px; cursor: pointer; }
.job[aria-current="true"] { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.job img { width: 52px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; display: block; }
.job span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }

/* orders */
.ocard { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 18px; align-items: start; }
.ocard + .ocard { margin-top: 16px; }
.vals { width: 100%; border-collapse: collapse; font-size: 14px; }
.vals th, .vals td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--line); vertical-align: top; overflow-wrap: anywhere; }
.vals th { color: var(--muted); font-weight: 600; width: 34%; }
.clock { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; }
.linkbox { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; background: var(--bg); border: 1px solid var(--line); border-radius: 9px; padding: 8px 10px; }
.linkbox code { font: 12.5px var(--mono); overflow-wrap: anywhere; min-width: 0; flex: 1 1 200px; }

/* scoreboard and tables */
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.tbl th, .tbl td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: var(--bg); }
.tbl td.n, .tbl th.n { text-align: right; font-family: var(--mono); }
.tbl tr:last-child td { border-bottom: 0; }
.tbl .adcell { display: flex; gap: 10px; align-items: center; min-width: 0; }
.tbl .adcell img { width: 38px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 5px; flex: none; }
.why { font-size: 12.5px; color: var(--muted); }
.tbl tr.sub td { background: var(--bg); }
.owners { display: grid; gap: 6px; font-size: 13.5px; }
.owner-res { display: flex; gap: 8px 12px; align-items: center; flex-wrap: wrap; }
.owner-res > span:first-child { flex: 1 1 260px; min-width: 0; }

/* angles and rounds */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 14px; }
.acard { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: grid; gap: 8px; align-content: start; min-width: 0; }
.acard h3 { font-size: 18px; }
.acard .top { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
.acard ul { margin: 0; padding-left: 18px; font-size: 13.5px; }
.round { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: grid; gap: 8px; }
.round + .round { margin-top: 12px; }
.round h3 { font-size: 18px; }
.two { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.signin { max-width: 440px; margin: 40px auto; }
.drop { display: grid; gap: 4px; justify-items: center; text-align: center; padding: 34px 18px; border: 2px dashed var(--line); cursor: pointer; }
.drop.over { border-color: var(--accent); background: var(--accent-soft); }

.toast { position: fixed; left: 50%; bottom: calc(18px + var(--safe-b)); transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 10px; box-shadow: var(--shadow); z-index: 60; font-size: 14px; width: max-content; max-width: min(560px, calc(100% - 32px)); display: flex; gap: 12px; align-items: center; }
.toast .linkbtn { color: var(--accent-soft); }
.bottombar { display: none; }

@media (max-width: 1100px) {
  .prep { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .prep .col.tools { grid-column: 1 / -1; }
  .acct-area .who { display: none; }
}
@media (max-width: 900px) {
  .rcard, .two, .ocard { grid-template-columns: minmax(0, 1fr); }
  .rcard .pic, .ocard .pic { max-width: 460px; justify-self: center; }
  nav.tabs a { padding: 7px 8px; }
}
/* Phones: tabs move to a bottom bar; every grid becomes one column; tables become stacked rows. */
@media (max-width: 760px) {
  body { padding-bottom: calc(var(--bar-h) + var(--safe-b)); }
  input, select, textarea { font-size: 16px !important; }
  nav.tabs { display: none !important; }
  header.top .wrap { gap: 10px; }
  .brand b { font-size: 17px; }
  .libpick select { max-width: 130px; }
  .bottombar:not([hidden]) { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--surface); border-top: 1px solid var(--line); padding-bottom: var(--safe-b); height: calc(var(--bar-h) + var(--safe-b)); }
  .bottombar a { position: relative; display: grid; justify-items: center; align-content: center; gap: 3px; text-decoration: none; color: var(--muted); font-size: 11px; font-weight: 600; min-width: 0; }
  .bottombar svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
  .bottombar a[aria-current="page"] { color: var(--accent); }
  .bottombar .dot { position: absolute; top: 5px; left: calc(50% + 5px); min-width: 17px; height: 17px; border-radius: 9px; background: var(--accent); color: var(--accent-ink); font-size: 10.5px; line-height: 17px; text-align: center; padding: 0 4px; }
  .toast { bottom: calc(var(--bar-h) + 12px + var(--safe-b)); }
  main { padding-block: 16px 28px; }
  .form, .grid2, .pics2 { grid-template-columns: minmax(0, 1fr); }
  .pics2.keep { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prep { grid-template-columns: minmax(0, 1fr); }
  .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .decide { position: fixed; left: 0; right: 0; bottom: calc(var(--bar-h) + var(--safe-b)); padding: 10px 16px; box-shadow: 0 -6px 16px rgba(0,0,0,.08); max-height: 70vh; overflow: auto; }
  .decide .btn.big { padding: 11px 8px; font-size: 14.5px; }
  .rcard .side { padding-bottom: 96px; }
  .panel { padding: 14px; }
  .acct-area .btn { padding: 5px 9px; }
  .tbl, .tbl tbody, .tbl tr, .tbl td { display: block; width: 100%; }
  .tbl thead { display: none; }
  .tbl tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
  .tbl td { border: 0; padding: 3px 12px; text-align: left !important; }
  .tbl td[data-l]::before { content: attr(data-l) ": "; color: var(--muted); font-family: var(--body); font-size: 12.5px; }
  .vals th { width: 40%; }
}
@media (max-width: 380px) {
  .libpick select { max-width: 104px; }
  .brand b { font-size: 16px; }
}
.fit td:last-child, .fit th:last-child { white-space: nowrap; }
