/* ηθDNA web app — DansLab palette (web-danslab/app/globals.css), shared with dsXNAbuilder and panmer.
   Dark by default; light via [data-theme="light"], set by danslab.xyz through the shared
   localStorage key "theme" (the app has no toggle of its own). */
:root, :root[data-theme="dark"] {
  --bg: rgb(10 10 10); --surface: rgb(17 17 17); --elevated: rgb(22 22 22);
  --border: rgb(38 38 38); --ink: rgb(245 245 245); --muted: rgb(163 163 163);
  --subtle: rgb(115 115 115); --accent: rgb(220 38 38); --accent-hover: rgb(239 68 68);
  --accent-dark: rgb(153 27 27); --ok: rgb(74 222 128); --warn: rgb(250 204 21);
  --bad: rgb(248 113 113);
  /* brushed-metal console, as in the DNA->Music app */
  --panel-top: #1d1d1d; --panel-bottom: #0e0e0e; --panel-edge: #2a2a2a;
  --bevel-hi: rgba(255,255,255,.05); --bevel-lo: rgba(0,0,0,.6);
  --hairline: rgba(255,255,255,.03);
  --recess-bg: rgba(0,0,0,.55); --recess-edge: #262626;
  --recess: inset 0 2px 4px rgba(0,0,0,.6);
  --drop: 0 14px 30px -8px rgba(0,0,0,.7), 0 4px 8px rgba(0,0,0,.4);
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: rgb(255 255 255); --surface: rgb(250 250 250); --elevated: rgb(245 245 245);
  --border: rgb(229 229 229); --ink: rgb(10 10 10); --muted: rgb(82 82 82);
  --subtle: rgb(115 115 115); --ok: rgb(22 163 74); --warn: rgb(161 98 7);
  --bad: rgb(185 28 28);
  --panel-top: #ffffff; --panel-bottom: #ececec; --panel-edge: #d2d2d2;
  --bevel-hi: rgba(255,255,255,.95); --bevel-lo: rgba(0,0,0,.09);
  --hairline: rgba(0,0,0,.04);
  --recess-bg: rgba(0,0,0,.035); --recess-edge: #cfcfcf;
  --recess: inset 0 2px 4px rgba(0,0,0,.10);
  --drop: 0 10px 22px -10px rgba(0,0,0,.28), 0 2px 5px rgba(0,0,0,.10);
  color-scheme: light;
}
:root {
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "JetBrains Mono", Menlo, Consolas, monospace;
  --radius: 8px;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); }
body { font: 15px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
::selection { background: var(--accent); color: #fff; }
code, .mono { font-family: var(--mono); }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
header.top { border-bottom: 1px solid var(--border); }
header.top .wrap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; padding-top: 18px; padding-bottom: 14px; }
.brand { font: 600 26px/1.1 var(--mono); letter-spacing: -0.02em; margin: 0; }
.brand span { color: var(--accent); }
.tagline { color: var(--muted); margin: 0; flex: 1 1 320px; font-size: 14px; }
.toplinks { display: flex; gap: 8px; align-items: center; margin-left: auto; align-self: center; }
.iconbtn { background: linear-gradient(180deg, var(--panel-top), var(--panel-bottom));
  border: 1px solid var(--panel-edge); color: var(--muted); border-radius: 4px;
  box-shadow: inset 0 1px 0 var(--bevel-hi); padding: 2px 8px; cursor: pointer; font: inherit; }
.iconbtn:hover { color: var(--accent); border-color: var(--accent); }

nav.tabs { display: flex; gap: 4px; margin: 18px 0 0; border-bottom: 1px solid var(--border);
  overflow-x: auto; scrollbar-width: none; }
nav.tabs button { background: none; border: 0; border-bottom: 2px solid transparent; color: var(--muted); padding: 8px 14px; font: 600 14px var(--sans); cursor: pointer; flex: none; white-space: nowrap; }
nav.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--accent); }

.layout { display: grid; grid-template-columns: minmax(300px, 380px) minmax(0, 1fr); gap: 24px; padding: 20px 0 40px; }
@media (max-width: 900px) { .layout { grid-template-columns: minmax(0, 1fr); } }

.panel {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--panel-edge);
  background: linear-gradient(180deg, var(--panel-top), var(--panel-bottom));
  box-shadow: var(--drop), inset 0 1px 0 var(--bevel-hi), inset 0 -1px 0 var(--bevel-lo);
  padding: 16px;
}
/* inner hairline: the bevel that makes the panel read as a milled plate */
.panel::before {
  content: ""; position: absolute; inset: 4px; border-radius: calc(var(--radius) - 3px);
  border: 1px solid var(--hairline); pointer-events: none;
}
.panel > * { position: relative; }
.panel + .panel { margin-top: 16px; }
.panel h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 12px; }
.panel h3 { font-size: 14px; margin: 16px 0 8px; }

.field { margin-bottom: 12px; }
.field > label, .field > .label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.row { display: grid; grid-template-columns: repeat(auto-fit, minmax(80px, 1fr)); gap: 10px; }
input[type="number"], input[type="text"], input[type="search"], select, textarea {
  width: 100%; background: var(--recess-bg); color: var(--ink);
  border: 1px solid var(--recess-edge); box-shadow: var(--recess);
  border-radius: 4px; padding: 7px 9px; font: 14px var(--sans);
}
input:hover, select:hover, textarea:hover { border-color: var(--subtle); }
textarea { font-family: var(--mono); font-size: 13px; min-height: 180px; resize: vertical; }
input:focus, select:focus, textarea:focus, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.hint { font-size: 12px; color: var(--subtle); margin-top: 3px; }

.seg { display: inline-flex; border: 1px solid var(--recess-edge); border-radius: 4px; overflow: hidden; box-shadow: var(--recess); }
.seg button { background: transparent; color: var(--muted); border: 0; padding: 6px 14px; font: 600 13px var(--sans); cursor: pointer; }
.seg button + button { border-left: 1px solid var(--border); }
.seg button[aria-pressed="true"] { background: var(--accent); color: #fff; }

.btn {
  background: linear-gradient(180deg, var(--accent-hover), var(--accent));
  color: #fff; border: 0; border-radius: 4px; padding: 9px 16px;
  font: 600 14px var(--sans); cursor: pointer;
  box-shadow: 0 1px 2px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.22);
}
.btn:active { box-shadow: var(--recess); transform: translateY(1px); }
.btn:hover { background: var(--accent-hover); }
.btn:disabled { background: var(--accent-dark); opacity: .6; cursor: wait; }
.btn.ghost { background: linear-gradient(180deg, var(--panel-top), var(--panel-bottom));
  color: var(--ink); border: 1px solid var(--panel-edge);
  box-shadow: 0 1px 2px rgba(0,0,0,.25), inset 0 1px 0 var(--bevel-hi); }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn.small { padding: 5px 10px; font-size: 13px; }
.examples { display: flex; flex-wrap: wrap; gap: 6px; }

/* modXNA picker */
details.mods { border: 1px solid var(--recess-edge); border-radius: 4px;
  background: var(--recess-bg); box-shadow: var(--recess); }
details.mods summary { padding: 8px 10px; cursor: pointer; font-size: 14px; }
details.mods .inner { padding: 0 10px 10px; }
.fams { display: flex; flex-wrap: wrap; gap: 6px 12px; margin: 6px 0 8px; font-size: 13px; }
.fams label { display: inline-flex; align-items: center; gap: 4px; }
.modlist { max-height: 260px; overflow: auto; border: 1px solid var(--recess-edge);
  border-radius: 4px; background: var(--recess-bg); box-shadow: var(--recess); margin-top: 6px; }
.modlist label { display: flex; gap: 8px; align-items: baseline; padding: 3px 8px; font-size: 13px; cursor: pointer; }
.modlist label:hover { background: var(--elevated); }
.modlist .code { font-family: var(--mono); min-width: 3.2em; color: var(--ink); }
.modlist .nm { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.modlist .tag { font-size: 11px; color: var(--subtle); border: 1px solid var(--border); border-radius: 4px; padding: 0 4px; }
.modlist .grp { position: sticky; top: 0;
  background: linear-gradient(180deg, var(--panel-top), var(--panel-bottom)); font-size: 12px; color: var(--muted); padding: 3px 8px; border-bottom: 1px solid var(--border); }

/* estimate */
.estimate { border-left: 3px solid var(--subtle); padding: 8px 10px;
  background: var(--recess-bg); box-shadow: var(--recess);
  border-radius: 0 4px 4px 0; font-size: 13px; }
.estimate.ok { border-left-color: var(--ok); }
.estimate.warn { border-left-color: var(--warn); }
.estimate.bad { border-left-color: var(--bad); }
.estimate b { font-size: 15px; }

/* results */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.stat { background: var(--recess-bg); border: 1px solid var(--recess-edge);
  box-shadow: var(--recess); border-radius: 4px; padding: 10px 12px; }
.stat .v { font: 600 22px/1.2 var(--mono); }
.stat .l { font-size: 12px; color: var(--muted); }
.stat .s { font-size: 12px; color: var(--subtle); }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.tablewrap { overflow: auto; max-height: 560px; border: 1px solid var(--recess-edge);
  border-radius: 4px; box-shadow: var(--recess); }
/* embedded in danslab.xyz the frame grows with the app and the site page scrolls, so the
   model tables flow with it instead of scrolling in a box of their own (only a narrow
   screen keeps a horizontal scrollbar). Nothing may set overflow on body here: hiding one
   axis makes the other compute to auto and gives the body a scrollbar inside the frame. */
:root.embedded .tablewrap { max-height: none; }
table { border-collapse: collapse; width: 100%; font-size: 13px; }
th, td { padding: 5px 10px; text-align: left; border-bottom: 1px solid var(--border); white-space: nowrap; }
th { position: sticky; top: 0; color: var(--muted); font-weight: 600;
  background: linear-gradient(180deg, var(--panel-top), var(--panel-bottom)); }
td.seq { font-family: var(--mono); }
td.num { text-align: right; font-variant-numeric: tabular-nums; }
.flag { color: var(--warn); }
.seqbox { font: 12px/1.6 var(--mono); word-break: break-all; background: var(--recess-bg);
  border: 1px solid var(--recess-edge); box-shadow: var(--recess); border-radius: 4px;
  padding: 10px; max-height: 200px; overflow: auto; }
.empty { color: var(--subtle); text-align: center; padding: 48px 12px; border: 1px dashed var(--border); border-radius: var(--radius); }
.error { color: var(--bad); white-space: pre-wrap; }
.status { font-size: 12px; color: var(--subtle); }
.spinner { display: inline-block; width: 12px; height: 12px; border: 2px solid var(--subtle); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; vertical-align: -1px; margin-right: 6px; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation: none; } }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font: 12px var(--mono); background: var(--recess-bg); border: 1px solid var(--recess-edge); border-radius: 3px; padding: 1px 6px; }

footer { border-top: 1px solid var(--border); color: var(--subtle); font-size: 12px; }
footer .wrap { padding-top: 14px; padding-bottom: 24px; display: flex; flex-wrap: wrap; gap: 6px 18px; }
footer a { color: var(--muted); }

/* help page */
.doc { max-width: 78ch; padding: 20px 0 48px; }
.doc > p:first-child { margin-top: 0; }
.doc h2 { margin-top: 32px; font-size: 20px; }
.doc h3 { margin-top: 22px; font-size: 16px; }
.doc table { margin: 10px 0; }
.doc pre { background: var(--recess-bg); border: 1px solid var(--recess-edge);
  box-shadow: var(--recess); border-radius: 4px; padding: 10px; overflow: auto;
  font: 12px/1.5 var(--mono); }
.doc td, .doc th { white-space: normal; }
.hidden { display: none !important; }
.tablewrap, .modlist, .seqbox, textarea { scrollbar-color: var(--border) transparent; scrollbar-width: thin; }

/* loading: a turning double helix. Each column is a base pair: two dots (the strands) that
   swap height and size half a turn apart, joined by a rung that shortens as they cross. */
.helix { --h: 44px; --d: 9px; --turn: 1.8s; display: flex; gap: 7px; height: var(--h); }
.helix.small { --h: 22px; --d: 6px; gap: 4px; }
.helix span { position: relative; width: var(--d); }
.helix span::before, .helix span::after { content: ""; position: absolute; left: 0; top: 0;
  width: var(--d); height: var(--d); border-radius: 50%;
  animation: helix-a var(--turn) ease-in-out infinite; animation-delay: calc(var(--i) * var(--turn) / -12); }
.helix span::before { background: var(--accent); }
.helix span::after { background: var(--muted); transform: translateY(calc(var(--h) - var(--d)));
  animation-name: helix-b; }
.helix b { position: absolute; left: calc(var(--d) / 2 - 1px); top: calc(var(--d) / 2);
  bottom: calc(var(--d) / 2); width: 2px; background: var(--border);
  animation: helix-rung var(--turn) ease-in-out infinite; animation-delay: calc(var(--i) * var(--turn) / -12); }
@keyframes helix-a { 0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(calc(var(--h) - var(--d))) scale(.55); opacity: .5; } }
@keyframes helix-b { 0%, 100% { transform: translateY(calc(var(--h) - var(--d))) scale(.55); opacity: .5; }
  50% { transform: translateY(0) scale(1); opacity: 1; } }
@keyframes helix-rung { 0%, 50%, 100% { transform: scaleY(1); } 25%, 75% { transform: scaleY(0); } }
@media (prefers-reduced-motion: reduce) {
  .helix span::before, .helix span::after, .helix b { animation: none; }
}

/* startup: over the tabs' content until the engine is ready (the help stays readable) */
.views { position: relative; }
.boot { position: absolute; inset: 0; z-index: 20; display: flex; flex-direction: column;
  align-items: center; gap: 16px; padding-top: 120px;
  background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(2px);
  transition: opacity .35s ease; }
.boot .msg { font: 600 14px var(--sans); color: var(--muted); text-align: center; max-width: 60ch; padding: 0 16px; }
.boot.done { opacity: 0; pointer-events: none; }
.boot.aside { display: none; }
.boot.failed .msg { color: var(--bad); }
.boot.failed .helix b, .boot.failed .helix span::before, .boot.failed .helix span::after { animation-play-state: paused; }

/* building: over the viewer, after a short delay so that quick builds do not flash */
.viewer .busy { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px;
  background: color-mix(in srgb, var(--bg) 70%, transparent); animation: busy-in .2s ease .15s both; }
.viewer .busy .msg { font: 600 13px var(--sans); color: var(--muted); }
@keyframes busy-in { from { opacity: 0; } to { opacity: 1; } }
.viewer.is-busy > .empty { animation: busy-in .2s ease .15s reverse both; }

.viewer { position: relative; height: 460px; border-radius: 4px; overflow: hidden;
  background: var(--recess-bg); border: 1px solid var(--recess-edge); box-shadow: var(--recess); }
.viewer .empty { border: 0; height: 100%; display: flex; align-items: center; justify-content: center; }
.viewerbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 8px 0 4px; }
.legend { display: flex; flex-wrap: wrap; gap: 4px 14px; min-height: 1.5em; margin: 0 0 12px;
  font-size: 12px; color: var(--muted); }
.legend .sw { display: inline-flex; align-items: center; gap: 5px; }
.legend .sw i { width: 11px; height: 11px; border-radius: 2px; border: 1px solid var(--border); }
ul.issues { list-style: none; padding: 0; margin: 8px 0 0; font-size: 13px; }
ul.issues li { border-left: 3px solid var(--subtle); padding: 4px 8px; margin: 4px 0;
  background: var(--recess-bg); border-radius: 0 4px 4px 0; }
ul.issues li.error { border-left-color: var(--bad); }
ul.issues li.warning { border-left-color: var(--warn); }
ul.issues li.info { border-left-color: var(--subtle); color: var(--muted); }
ul.issues .code { font: 11px var(--mono); color: var(--subtle); margin-left: 6px; }
.progress { display: flex; align-items: center; gap: 14px; margin-top: 12px; }
.progress .bar { flex: 1; height: 8px; border-radius: 4px; overflow: hidden; background: var(--recess-bg);
  border: 1px solid var(--recess-edge); box-shadow: var(--recess); }
.progress .bar i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .2s ease; }
.progress .msg { font-size: 12px; color: var(--muted); min-width: 14em; }
details.advanced { margin-top: 12px; border: 1px solid var(--recess-edge); border-radius: 4px;
  background: var(--recess-bg); box-shadow: var(--recess); padding: 6px 12px 10px; }
details.advanced summary { cursor: pointer; font-size: 13px; font-weight: 600; color: var(--muted); padding: 4px 0; }
details.advanced[open] summary { margin-bottom: 6px; }
details.advanced .btn { margin-top: 4px; }

/* ---------------------------------------------------------------- ηθDNA */
.brand .eta { color: var(--accent); }
.layout .controls, .layout .results { min-width: 0; }
.buildbar { display: flex; align-items: center; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.actions.tight { margin: 4px 0 8px; }
.check { display: flex; align-items: center; gap: 8px; font-size: 14px; margin: 6px 0; cursor: pointer; }
.check input { accent-color: var(--accent); width: 15px; height: 15px; }
.inline { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.inline .field { margin-bottom: 0; }

/* file input: the panel accepts a dropped file; the box shows what is loaded */
.drop { border: 1px dashed var(--recess-edge); border-radius: 4px; background: var(--recess-bg);
  box-shadow: var(--recess); padding: 12px; text-align: center; font-size: 13px; color: var(--muted);
  transition: border-color .15s ease, color .15s ease; }
.drop.over { border-color: var(--accent); color: var(--ink); }
.drop .file { display: block; margin-top: 6px; font: 600 13px var(--mono); color: var(--ink); word-break: break-all; }
.drop .file:empty { display: none; }
.drop .btn { margin: 2px; }
.filerow { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 6px 8px; align-items: center; margin: 6px 0; font-size: 13px; }
.filerow .fname { font: 12px var(--mono); color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
details.paste summary { cursor: pointer; font-size: 13px; color: var(--muted); margin-top: 8px; }
details.paste textarea { margin-top: 6px; min-height: 120px; }

/* command to run on your computer */
.cmd { position: relative; margin: 8px 0 4px; }
.cmd pre { margin: 0; background: var(--recess-bg); border: 1px solid var(--recess-edge); box-shadow: var(--recess);
  border-radius: 4px; padding: 10px 70px 10px 10px; font: 12px/1.6 var(--mono); white-space: pre-wrap; word-break: break-all; }
.cmd .copy { position: absolute; top: 6px; right: 6px; }
.panel .lead { font-size: 13px; color: var(--muted); margin: -4px 0 10px; }

/* frames */
.frames { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.framebar { display: flex; align-items: center; gap: 10px; margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.framebar input[type="range"] { flex: 1; accent-color: var(--accent); }
.framebar .n { font: 600 13px var(--mono); color: var(--ink); min-width: 6.5em; text-align: right; }

/* templates (B / A / syn / Z) */
.tmpl { display: inline-block; font: 600 11px/1.5 var(--mono); padding: 0 6px; border-radius: 3px; color: #fff; }
.tmpl.B { background: #6b7280; } .tmpl.A { background: #2563eb; } .tmpl.syn { background: #d97706; } .tmpl.Z { background: #16a34a; }
.stat .bar { display: flex; height: 6px; border-radius: 3px; overflow: hidden; margin-top: 6px; background: var(--border); }
.stat .bar i { display: block; height: 100%; }
.seqcell { font-family: var(--mono); word-break: break-all; white-space: normal !important; }
.report { font: 12px/1.6 var(--mono); color: var(--muted); margin: 8px 0 0; padding: 0; list-style: none; }
details.restable { margin-top: 10px; }
details.restable summary { cursor: pointer; font-size: 13px; color: var(--muted); }
details.restable .tablewrap { max-height: 300px; margin-top: 6px; }

/* model tab */
.beadgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 10px 0 6px; }
.beadgrid table td, .beadgrid table th { padding: 3px 8px; }
.beadgrid h4 { margin: 0 0 4px; font: 600 13px var(--mono); }
.doc .kbd { font: 12px var(--mono); background: var(--recess-bg); border: 1px solid var(--recess-edge); border-radius: 3px; padding: 0 4px; }
.doc ul li { margin: 3px 0; }
.note { border-left: 3px solid var(--accent); padding: 8px 12px; background: var(--recess-bg);
  border-radius: 0 4px 4px 0; font-size: 14px; margin: 12px 0; }

/* command line tab */
.dlgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; margin: 14px 0 6px; }
.dl { position: relative; border-radius: var(--radius); border: 1px solid var(--panel-edge);
  background: linear-gradient(180deg, var(--panel-top), var(--panel-bottom));
  box-shadow: var(--drop), inset 0 1px 0 var(--bevel-hi); padding: 14px 16px; }
.dl h3 { margin: 0 0 4px; font-size: 15px; }
.dl p { margin: 0 0 10px; font-size: 13px; color: var(--muted); }
.dl .meta { font: 11px var(--mono); color: var(--subtle); word-break: break-all; margin-top: 8px; }
.tool { margin-top: 34px; }
.tool h2 { font-family: var(--mono); }
.tool .summary { white-space: pre-wrap; }
table.opts td { white-space: normal; vertical-align: top; }
table.opts td:first-child { white-space: nowrap; font: 13px var(--mono); color: var(--ink); }
table.opts td.def { font: 12px var(--mono); color: var(--muted); white-space: nowrap; }
table.opts .req { font: 600 10px var(--sans); color: var(--accent); border: 1px solid var(--accent); border-radius: 3px;
  padding: 0 4px; margin-left: 6px; text-transform: uppercase; letter-spacing: .04em; }
details.full summary { cursor: pointer; font-size: 13px; color: var(--muted); }
details.full pre { white-space: pre-wrap; }
a.btn { display: inline-block; text-decoration: none; }
a.btn:hover { color: #fff; }
#view-cli .doc { max-width: 1000px; }
#cli-ref pre { white-space: pre-wrap; word-break: break-word; }

/* front-page notice: what the app covers */
.notice { margin: 16px 0 0; padding: 10px 14px; border-left: 3px solid var(--accent); border-radius: 0 4px 4px 0;
  background: var(--recess-bg); box-shadow: var(--recess); font-size: 14px; color: var(--ink); }
