/* Kernwerk platform, /platform/ (content/platform.md, layouts/_default/platform.html,
   platform.js). Built on style.css: its tokens, frame, captions and buttons. Each screen is a
   page head and a stack of .box bands; a band split in columns has hairline
   dividers and no gaps, like the rest of the site. Everything of the tool's own
   is scoped under #pf. */

/* ---------- light only ---------- */

/* The platform stays light whatever the footer switch says: the light tokens
   again, over the dark ones, and no switch on this page. */
:root[data-theme="dark"],
:root[data-theme="system"] {
    --paper: #ecf0f1;
    --paper-94: #ecf0f1f0;
    --ink: #34495e;
    --ink-40: #34495e70;
    --ink-20: #34495e38;
    --ink-10: #34495e1c;
    --ink-06: #34495e10;
    --mint: #8fdcc4;
    --sky: #9dd3e0;
    --grad-btn: var(--grad);
    --btn-fill: .55;
    --btn-fill-hover: .95;
    --grad-ghost: var(--grad);
    --ghost-hover: .5;
    --mint-a: #8fdcc466;
    --sky-a: #9dd3e066;
    --solid: var(--ink);
    --on-solid: var(--paper);
    --grid-line: #34495e09;
    --panel: rgb(52 73 94 / 2%);
    --green-text: #00876c;
    color-scheme: light;
}
@media (prefers-color-scheme: dark) {
    :root[data-theme="system"] {
        --paper: #ecf0f1;
        --paper-94: #ecf0f1f0;
        --ink: #34495e;
        --ink-40: #34495e70;
        --ink-20: #34495e38;
        --ink-10: #34495e1c;
        --ink-06: #34495e10;
        --mint: #8fdcc4;
        --sky: #9dd3e0;
        --grad-btn: var(--grad);
        --btn-fill: .55;
        --btn-fill-hover: .95;
        --grad-ghost: var(--grad);
        --ghost-hover: .5;
        --mint-a: #8fdcc466;
        --sky-a: #9dd3e066;
        --solid: var(--ink);
        --on-solid: var(--paper);
        --grid-line: #34495e09;
        --panel: rgb(52 73 94 / 2%);
        --green-text: #00876c;
        color-scheme: light;
    }
}
footer .theme-switch { display: none !important; }

/* ---------- tokens of the tool ---------- */

#pf {
    --ink-60: #34495e99;
    --rule: var(--ink-20);
    --npu: #00b894;     /* on the accelerator */
    --cpuf: #d4740a;    /* back on the CPU */
    --fused: #c3ced3;   /* fused into a neighbour */
    --red: #ee5253;
    --yellow: #ffa801;
    --mute: #8296a6;
    --num: var(--display);
}
#pf small { font-size: inherit; }
#pf b { font-weight: 450; }
#pf .grey { color: var(--ink-60); }
#pf .caption { color: var(--ink); }
#pf .caption.grey { color: var(--ink-60); }
#pf button { cursor: pointer; }
#pf .btn[disabled] { opacity: .35; pointer-events: none; }
#pf .lnk {
    border: 0;
    background: none;
    padding: 0;
    font-size: .9375rem;
    color: var(--green-text);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: .5px;
    white-space: nowrap;
}
#pf .lnk:hover { text-decoration-thickness: 1.5px; }

/* ---------- bands ---------- */

#pf .pf-band { padding: 32px var(--gut) 28px; }
#pf .pf-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
#pf .pf-split > * { padding: 32px var(--gut); min-width: 0; }
#pf .pf-split > * + * { border-left: var(--hair); }
/* step 2 is dense: more air above and below in each of its bands */
#pf #s2 .pf-band { padding-top: 44px; padding-bottom: 40px; }
#pf #s2 .pf-split > * { padding-top: 44px; padding-bottom: 44px; }
#pf #s2 .ovbottom > .ovstats { padding: 0; }  /* its cells meet the frame; they carry their own padding */
#pf .pf-foot { padding: 16px var(--gut); color: var(--ink-60); }
#pf .pf-scroll { min-width: 0; }

/* step 2's numbered sections: a thin header band in front of each part of the overview */
#pf .pf-sec { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 16px; padding: 20px var(--gut) 18px; background: var(--panel); }
#pf .pf-sec .n { font-family: var(--mono); font-size: 1.0625rem; color: var(--green-text); }
#pf .pf-sec h2 { margin: 0; font-family: var(--display); font-size: 1.375rem; font-weight: 500; letter-spacing: -.02em; line-height: 1.2; }
#pf .pf-sec .sub { font-size: .9375rem; color: var(--ink-60); }
#pf #s2 .pf-sec + .pf-band { padding-top: 32px; }

/* the step tabs, right under the site's nav */
#pf .pf-tabs { display: flex; align-items: stretch; min-height: 64px; }
#pf .pf-tabs { -webkit-user-select: none; user-select: none; }  /* a menu: the steps (and "Lab · 10 devices available" on the demo) */
#pf .pf-tab {
    flex: 0 1 220px;
    display: flex;
    align-items: center;
    padding: 0 24px;
    border: 0;
    border-right: var(--hair);
    background: transparent;
    font-size: 1.1875rem;
    color: var(--ink-60);
    text-align: left;
    position: relative;
    transition: background-color .2s ease;
}
/* number, label and demo tag on one line, so they share a baseline; the tab centres the line */
#pf .pf-tab .t { white-space: nowrap; }
#pf .pf-tab .n { font-family: var(--mono); font-size: 1.0625rem; margin-right: 12px; }
#pf .pf-tab:not([disabled]):hover { background-color: var(--ink-06); }
#pf .pf-tab[disabled] { cursor: default; opacity: .45; }
#pf .pf-tab.done { color: var(--ink); }
#pf .pf-tab.done .n { color: var(--green-text); }
#pf .pf-tab.active { color: var(--ink); background-image: var(--grad-soft); }
#pf .pf-lab { margin-left: auto; display: flex; align-items: center; gap: 10px; padding: 0 var(--gut); white-space: nowrap; }
#pf .lab-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px #00b89430; animation: pf-breathe 2.4s ease-in-out infinite; }
@keyframes pf-breathe { 50% { box-shadow: 0 0 0 8px #00b89410; } }

/* screens: one at a time */
#pf .pf-screen { display: none; }
#pf .pf-screen.on { display: block; animation: pf-enter .45s cubic-bezier(.2, .7, .2, 1); }
@keyframes pf-enter { from { opacity: 0; transform: translateY(10px); } }

#pf .pf-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px 40px;
    padding: 56px var(--gut) 44px;
}
#pf .pf-head > div:first-child { min-width: 0; flex: 1 1 520px; }
#pf .pf-head .caption { color: var(--ink-60); }
#pf .pf-head .h1 { margin-top: 20px; max-width: 30ch; font-size: clamp(2.1rem, 1.3rem + 2.2vw, 3.4rem); overflow-wrap: anywhere; }
#pf .pf-head .lead { margin-top: 18px; max-width: 62ch; font-size: 1.1875rem; line-height: 1.4; }
#pf .pf-head .btn-row { flex: none; }

/* ---------- 1 · model ---------- */

#pf .s1 { min-height: 500px; }
#pf .s1-left { display: flex; flex-direction: column; gap: 18px; min-height: 600px; }
#pf .s1-left > .drop { flex: 1; }
/* the examples under the drop zone, highlighted: small buttons filled with the site's mint-to-sky
   wash, stronger on hover */
#pf .pf-examples { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 10px;}
#pf .pf-examples .caption { margin-right: 4px; color: var(--ink); }
#pf .pf-examples .caption.try { flex-basis: 100%; color: var(--green-text); font-weight: 600; font-size: .875rem; }
#pf .pf-example { border: 0; border-radius: 3px; background-image: linear-gradient(90deg, var(--mint-a), var(--sky-a)); padding: 8px 14px; font-size: .9375rem; color: var(--ink); transition: box-shadow .2s; }
#pf .pf-example .grey { color: var(--ink); opacity: .65; }
#pf .pf-example:hover, #pf .pf-example:focus-visible { background-image: linear-gradient(90deg, var(--mint), var(--sky)); box-shadow: inset 0 0 0 1px var(--ink); }
/* the privacy note under the drop zone: the weights are stripped in the browser */
#pf .pf-private { display: flex; gap: 14px; align-items: flex-start; padding: 14px 18px; border-radius: 4px; background-image: var(--grad-soft); color: var(--ink); margin-top: 10px; }
#pf .pf-private svg { flex: none; width: 24px; height: 24px; color: var(--green-text); }
#pf .pf-private p { margin: 0; font-size: .9375rem; line-height: 1.45; }
#pf .pf-private b { font-weight: 600; }
#pf .pf-private a { color: var(--green-text); text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
#pf .drop {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    border: 1px dashed var(--ink-40);
    border-radius: 4px;
    background: var(--panel);
    cursor: pointer;
    text-align: center;
    transition: background-color .3s, border-color .3s;
}
#pf .drop.hover { border-color: var(--green); background-image: var(--grad-soft); }
#pf .drop.has { border-style: solid; border-color: var(--ink); }
#pf .drop .ico { width: 76px; height: 76px; border: var(--hair); border-radius: 50%; display: grid; place-items: center; font-size: 2rem; transition: background-color .3s, border-color .3s; }
/* once a model is read: the arrow becomes a green tick */
#pf .drop.done .ico { background: var(--green); border-color: var(--green); color: #fff; }
#pf .drop.done .ico svg { width: 34px; height: 34px; }
#pf .drop .big { font-family: var(--display); font-size: clamp(1.4rem, 1.1rem + .9vw, 1.9rem); letter-spacing: -.03em; word-break: break-all; }
#pf .drop .grey { font-size: 1rem; }
#pf .progress { width: 70%; height: 4px; background: var(--ink-10); overflow: hidden; display: none; }
#pf .progress > i { display: block; height: 100%; width: 0; background: var(--green); transition: width .2s; }
#pf .progress.busy > i { width: 30% !important; animation: pf-slide 1.1s ease-in-out infinite; }
@keyframes pf-slide { from { transform: translateX(-100%); } to { transform: translateX(340%); } }
#pf .err { color: var(--red); max-width: 46ch; }
#pf .err:empty { display: none; }
#pf .parse { opacity: .35; transition: opacity .4s; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
#pf .parse.on { opacity: 1; }
#pf .kv { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--rule); }
#pf .kv:last-child { border-bottom: 0; }
#pf .kv .v { font-size: 1.1875rem; overflow-wrap: anywhere; }
#pf .kv .v small { font-size: .875rem; color: var(--ink-60); margin-left: 8px; }

/* ---------- 2 · overview ---------- */

#pf .what { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
#pf .what > div { padding: 40px var(--gut) 36px; min-width: 0; container-type: inline-size; }
#pf .what > div + div { border-left: var(--hair); }
#pf .what .wv { display: flex; align-items: center; gap: 14px; margin-top: 14px; }
#pf .what .wv svg { flex: none; }
#pf .what .wv > div { min-width: 0; }
#pf .what b { display: block; font-family: var(--display); font-size: 1.5rem; letter-spacing: -.03em; line-height: 1.15; overflow-wrap: break-word; hyphens: auto; }
#pf .what .wd { font-size: .875rem; color: var(--ink-60); margin-top: 4px; overflow-wrap: anywhere; }
@container (max-width: 300px) { #pf .what .wv { flex-direction: column; align-items: flex-start; } #pf .what .wv svg { width: 44px; height: 44px; } }
#pf .how { margin-top: 14px; font-size: .875rem; color: var(--ink-60); line-height: 1.4; }
#pf .how .hw { font-size: .75rem; text-transform: uppercase; }
#pf .how ul { margin: 6px 0 0; padding-left: 16px; }
#pf .conf { display: inline-block; font-family: var(--mono); font-size: .6875rem; text-transform: uppercase; padding: 2px 7px; border-radius: 3px; margin-left: 4px; vertical-align: 3px; letter-spacing: 0; }
#pf .conf.high { background: var(--grad); }
#pf .conf.medium { background: #ffa80133; }
#pf .conf.low { box-shadow: inset 0 0 0 1px var(--mute); color: var(--ink-60); }

#pf .archhd { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
#pf .flow { display: flex; align-items: stretch; gap: 10px; margin-top: 20px; overflow-x: auto; padding: 0 8px 8px 0; }
#pf .io { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; width: 96px; flex: none; text-align: center; }
#pf .io small { font-size: .75rem; color: var(--ink-60); line-height: 1.25; overflow-wrap: anywhere; }
#pf .arw { display: flex; align-items: center; color: var(--ink-40); font-size: 1.25rem; flex: none; }
#pf .blk { flex: 1 1 0; min-width: 120px; background: var(--paper); border: var(--hair); border-radius: 3px; padding: 14px 16px; display: flex; flex-direction: column; position: relative; }
#pf .blk.rep { box-shadow: 4px 4px 0 -1px var(--paper), 4px 4px 0 0 var(--ink), 8px 8px 0 -1px var(--paper), 8px 8px 0 0 var(--ink); margin-right: 8px; }
#pf .blk .bt { font-size: .8125rem; color: var(--ink-60); }
#pf .blk .bt b { font-family: var(--num); font-size: 1.5rem; color: var(--ink); letter-spacing: -.03em; }
#pf .blk svg.bill { width: 100%; height: 76px; margin: 8px 0 6px; }
#pf .blk .bn { font-family: var(--display); font-size: 1.125rem; line-height: 1.15; letter-spacing: -.02em; overflow-wrap: break-word; hyphens: auto; }
#pf .blk .bs { font-size: .75rem; color: var(--ink-60); margin-top: 4px; line-height: 1.3; }
#pf .flow.many .blk { padding: 10px; }
#pf .flow.many .blk .bn { font-size: .9375rem; }
#pf .flow.many .io { width: 78px; }
#pf .flownote { margin-top: 12px; font-size: .9375rem; color: var(--ink-60); }
#pf .flownote:empty { display: none; }

#pf .ovbottom > .ovstats { padding: 0; display: grid; grid-template-columns: 1fr 1fr; }
#pf .ovstats > div { padding: 36px var(--gut); border-bottom: var(--hair); }
#pf .ovstats > div:nth-child(odd) { border-right: var(--hair); }
#pf .ovstats > div:nth-child(n+3) { border-bottom: 0; }
#pf .ovstats b { display: block; font-family: var(--num); font-size: clamp(2rem, 1.5rem + 1.2vw, 2.75rem); letter-spacing: -.04em; line-height: 1.05; }
#pf .ovstats span { font-size: .9375rem; color: var(--ink-60); }
#pf .ovsize { display: flex; flex-direction: column; gap: 14px; }
#pf .sz { display: grid; grid-template-columns: 52px minmax(0, 1fr) 84px; align-items: center; gap: 14px; }
#pf .sz .sv { text-align: right; }
#pf .szb { height: 10px; background: var(--ink-06); }
#pf .szb i { display: block; height: 100%; background: var(--ink); width: 0; transition: width .9s cubic-bezier(.2, .7, .2, 1); }
#pf .sznote { font-size: .875rem; color: var(--ink-60); line-height: 1.4; }

#pf .opsgrid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; margin-top: 14px; }
#pf .oprow { display: grid; grid-template-columns: minmax(0, 1.6fr) auto minmax(40px, 1fr); gap: 14px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--rule); }
#pf .oprow > span:first-child { min-width: 0; }
#pf .oprow .on { font-size: .75rem; color: var(--ink-60); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#pf .oprow .c { text-align: right; }
#pf .oprow .szb { height: 6px !important; }

/* the boards that can hold it: three counts, then the list (folded by default) */
/* how much of the catalogue can hold it: three figures */
#pf .tfilters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 18px; border: var(--hair); }
#pf .tf { display: flex; flex-direction: column; align-items: flex-start; padding: 14px 20px; font-size: .9375rem; color: var(--ink-60); }
#pf .tf + .tf { border-left: var(--hair); }
#pf .tf b { font-family: var(--num); font-size: 2rem; color: var(--ink); letter-spacing: -.04em; line-height: 1.1; }
/* the middle figure, compatible, is the answer: the site's green shade */
#pf .tf:nth-child(2) { background-image: var(--grad-soft); color: var(--ink); }
/* hardware verdicts (step 3 list) */
#pf .lv { width: 22px; height: 22px; border-radius: 50%; display: inline-grid; place-items: center; font-size: .75rem; font-weight: bold; flex: none; vertical-align: middle; }
#pf .lv.asis { background: var(--green); color: var(--paper); }
#pf .lv.convert { color: var(--green-text); box-shadow: inset 0 0 0 1.5px var(--green); }
#pf .lv.quantize { background: var(--yellow); color: var(--ink); }
#pf .lv.no { color: var(--red); box-shadow: inset 0 0 0 1.5px var(--red); }

/* ---------- 3 · hardware ---------- */

#pf .pick { grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); }
#pf .sl { display: grid; grid-template-columns: 140px minmax(0, 1fr) 28px; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--rule); }
#pf .sl:last-child { border-bottom: 0; }
#pf .sl b { font-family: var(--num); font-size: 1.25rem; text-align: right; }
/* sliders in the site's hand: a 3px track filled in ink up to the value
   (--v, set by platform.js), a small paper knob ringed in ink */
#pf .sl input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 20px; margin: 0; background: transparent; cursor: pointer; --v: 50%; }
#pf .sl input[type="range"]::-webkit-slider-runnable-track { height: 3px; background: linear-gradient(90deg, var(--ink) var(--v), var(--ink-20) var(--v)); }
#pf .sl input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; margin-top: -6.5px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 1px var(--ink); transition: background-color .2s; }
#pf .sl input[type="range"]::-moz-range-track { height: 3px; background: var(--ink-20); }
#pf .sl input[type="range"]::-moz-range-progress { height: 3px; background: var(--ink); }
#pf .sl input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border: 0; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 1px var(--ink); transition: background-color .2s; }
#pf .sl input[type="range"]:hover::-webkit-slider-thumb, #pf .sl input[type="range"]:focus-visible::-webkit-slider-thumb { background: var(--mint); }
#pf .sl input[type="range"]:hover::-moz-range-thumb, #pf .sl input[type="range"]:focus-visible::-moz-range-thumb { background: var(--mint); }
#pf .sl input[type="range"]:focus-visible { outline: none; }
#pf .sl input[type="range"]:disabled { cursor: default; }
#pf .sl.off { opacity: .5; }
#pf .besthd { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
#pf .bcard { display: grid; grid-template-columns: 34px minmax(150px, 1fr) minmax(0, 2fr) 90px; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--rule); }
#pf .bcard:last-child { border-bottom: 0; }
#pf .brk { width: 30px; height: 30px; border-radius: 50%; background: var(--green); color: var(--paper); display: grid; place-items: center; }
#pf .bname { font-family: var(--display); font-size: 1.1875rem; letter-spacing: -.02em; line-height: 1.2; min-width: 0; }
#pf .bname small { display: block; font-family: var(--sans); font-size: .75rem; letter-spacing: -.01em; color: var(--ink-60); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#pf .bstats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
#pf .bst { min-width: 0; }
#pf .bst .bl { display: block; font-size: .75rem; text-transform: uppercase; color: var(--ink-60); }
#pf .bst .v { font-size: 1.0625rem; }
#pf .bst small { display: block; font-size: .6875rem; color: var(--ink-60); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#pf .bscore .szb { height: 8px; }

#pf .sc { width: 100%; height: auto; display: block; margin-top: 10px; overflow: visible; }
#pf .sc text { font-family: var(--mono); font-size: 11px; fill: var(--ink-60); }
#pf .sc .gr { stroke: var(--rule); stroke-width: 1; }
#pf .sc .hint, #pf .sc .lab { fill: var(--ink); font-size: 12.5px; }
#pf .sc .hit { fill: transparent; }
#pf .sc .dot { fill: var(--ink); stroke: var(--paper); stroke-width: 2; }
#pf .sc .top .dot { fill: var(--green); }
#pf .sc .nofit .dot { fill: var(--paper); stroke: var(--mute); stroke-width: 1.5; }
#pf .chleg { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .8125rem; color: var(--ink-60); margin-top: 8px; }
#pf .lg { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); margin-right: 6px; vertical-align: -1px; }
#pf .lg.top { background: var(--green); }
#pf .lg.nofit { background: transparent; box-shadow: inset 0 0 0 1.5px var(--mute); }
#pf .chempty { padding: 60px 0; text-align: center; color: var(--ink-60); }

#pf .chtop { display: flex; justify-content: space-between; align-items: center; gap: 14px 20px; margin-bottom: 16px; flex-wrap: wrap; }
#pf .chsort, #pf .ltabs { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; font-size: .875rem; color: var(--ink-60); }
#pf .chsort button, #pf .ltabs button { border: 1px solid var(--rule); background: transparent; border-radius: 3px; padding: 5px 11px; font-size: .875rem; color: var(--ink-60); transition: background-color .2s; }
#pf .chsort button:hover, #pf .ltabs button:hover { background-color: var(--ink-06); }
#pf .chsort button.on, #pf .ltabs button.on { border-color: var(--ink); color: var(--ink); background-image: var(--grad-soft); }
#pf .chsel { display: flex; gap: 14px; align-items: center; font-size: .9375rem; flex-wrap: wrap; }
#pf .chrow { display: grid; grid-template-columns: 30px minmax(170px, 1.4fr) minmax(100px, .7fr) minmax(120px, .9fr) minmax(130px, .9fr) minmax(180px, 1.2fr) 90px 80px; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--rule); }
#pf .chrow:not(.chcols) { cursor: pointer; transition: background-color .2s, opacity .2s; }
#pf .chrow.off { opacity: .5; }
#pf .chcols { font-size: .75rem; text-transform: uppercase; border-bottom: var(--hair); padding-top: 0; }
#pf .chrow > div { min-width: 0; line-height: 1.25; }
#pf .chrow small { display: block; font-size: .6875rem; color: var(--ink-60); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#pf .chk { width: 20px; height: 20px; border-radius: 3px; box-shadow: inset 0 0 0 1px var(--ink); display: grid; place-items: center; color: var(--paper); }
#pf .chrow.on .chk { background: var(--green); box-shadow: none; }
#pf .fit { font-size: .875rem; display: flex; align-items: center; gap: 8px; }
#pf .labbar { display: grid; gap: 4px; }
#pf .labbar .szb { height: 5px; }
#pf .vf { color: var(--ink-60); font-size: .625rem; text-transform: uppercase; border: 1px solid var(--rule); border-radius: 3px; padding: 0 5px; margin-left: 6px; vertical-align: 2px; }
#pf .na { color: var(--ink-40); font-size: .8125rem; }
#pf .vs { font-size: .5625rem; color: var(--ink-60); margin-left: 4px; text-transform: uppercase; }

/* ---------- 4 · layers ---------- */

#pf .pnote { display: none; padding: 18px var(--gut); background: #ffa80114; box-shadow: inset 3px 0 0 var(--yellow); }
#pf .pnote.on { display: block; }
#pf .plhd { display: flex; justify-content: space-between; align-items: baseline; gap: 12px 24px; margin-bottom: 18px; flex-wrap: wrap; }
#pf .pllegend { display: flex; gap: 8px 20px; font-size: .9375rem; align-items: center; flex-wrap: wrap; }
#pf .pllegend span { display: inline-flex; align-items: center; gap: 8px; }
#pf .sw { width: 14px; height: 14px; border-radius: 2px; display: inline-block; flex: none; }
#pf .sw.npu { background: var(--npu); }
#pf .sw.cpu { background: var(--cpuf); }
#pf .sw.fused { background: var(--fused); }
#pf .plrow { display: grid; grid-template-columns: 240px minmax(0, 1fr) 150px 130px 96px; gap: 18px; align-items: center; padding: 11px 8px; border-bottom: 1px solid var(--rule); }
#pf .plrow:not(.plcols) { cursor: pointer; transition: background-color .2s; }
#pf .plrow:not(.plcols):hover { background-color: var(--ink-06); }
#pf .plrow.sel { background-image: var(--grad-soft); box-shadow: inset 2px 0 0 var(--green); }
#pf .plcols { font-size: .75rem; text-transform: uppercase; border-bottom: var(--hair); padding-top: 0; }
#pf .plrow .bn { line-height: 1.25; min-width: 0; }
#pf .plrow .bn small { display: block; font-size: .6875rem; color: var(--ink-60); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#pf .plrow canvas { width: 100%; height: 26px; display: block; }
#pf .cnt { font-size: .875rem; white-space: nowrap; }
#pf .cnt .c { color: var(--cpuf); font-weight: bold; }
#pf .cnt .z { color: var(--ink-40); }
#pf .macp { display: flex; flex-direction: column; justify-content: center; gap: 5px; font-size: .875rem; }
#pf .macp b { font-family: var(--num); font-size: 1.25rem; letter-spacing: -.03em; line-height: 1; }
/* 'Layers on accel.' is the answer of this step: a mint band down the column, header to last row */
#pf .plrow > :nth-child(4) { align-self: stretch; margin: -11px 0; padding: 11px 14px; background: #8fdcc438; }
#pf .plcols > :nth-child(4) { margin: 0 0 -11px; padding: 6px 14px 11px; color: var(--ink); }
#pf .macp .szb { height: 5px; }
/* accel. · CPU · fused: centred under its header */
#pf .plrow > :nth-child(3) { text-align: center; }
#pf .macp .szb i { background: var(--npu); }
#pf .ho { font-size: .875rem; }
#pf .ho small { display: block; font-size: .6875rem; color: var(--ink-60); }
#pf .warn { color: var(--cpuf); font-size: .6875rem; }
#pf .pdetail { grid-template-columns: minmax(0, 380px) minmax(0, 1fr); }
#pf .pdetail h3 { margin: 12px 0 8px; font-size: 1.75rem; line-height: 1.1; }
#pf .pdetail .facts { font-size: .9375rem; color: var(--ink-60); line-height: 1.55; }
#pf .pdetail .facts b { color: var(--ink); }
#pf .pdetail .flist { margin: 0; padding-left: 18px; list-style: disc; }
#pf .pdetail .flist li { padding: 3px 0; }
#pf .pdetail .flist li::marker { color: var(--ink-40); }
#pf .pdetail .caption[style] { display: block; margin: 20px 0 8px !important; }
#pf .fb { display: grid; grid-template-columns: 1fr 50px; gap: 8px; font-size: .875rem; padding: 6px 0; border-bottom: 1px solid var(--rule); }
#pf .fb span:last-child { text-align: right; }
#pf .ltabs { margin-bottom: 14px; }
/* the layer list runs down to the bottom edge of the box, as tall as the hardware facts beside it
   (at least 320px), and scrolls inside; its scrollbar is thin and only shows while hovered */
#pf .pdetail > :last-child { display: flex; flex-direction: column; padding-bottom: 0; }
#pf .llist { flex: 1 1 0; min-height: 320px; overflow-y: auto; overflow-x: hidden; border-top: var(--hair); scrollbar-width: thin; scrollbar-color: transparent transparent; }
#pf .llist:hover { scrollbar-color: var(--ink-20) transparent; }
#pf .llist::-webkit-scrollbar { width: 6px; }
#pf .llist::-webkit-scrollbar-thumb { background: transparent; border-radius: 3px; }
#pf .llist:hover::-webkit-scrollbar-thumb { background: var(--ink-20); }
#pf .lrow { display: grid; grid-template-columns: 54px 66px 150px minmax(0, 1fr) 100px; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--rule); font-size: .8125rem; align-items: center; }
#pf .lrow .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-60); }
#pf .lrow .mc { text-align: right; color: var(--ink-60); white-space: nowrap; }
#pf .lp { display: inline-block; text-align: center; border-radius: 3px; padding: 2px 0; font-size: .6875rem; text-transform: uppercase; }
#pf .lp.npu { background: var(--npu); color: var(--paper); }
#pf .lp.cpu { background: var(--cpuf); color: var(--paper); }
#pf .lp.fused { background: var(--fused); }

/* tooltip */
#tip { position: fixed; z-index: 50; pointer-events: none; max-width: 380px; padding: 10px 13px; border-radius: 4px; background: var(--ink); color: var(--paper); font-size: .875rem; line-height: 1.45; opacity: 0; transition: opacity .12s; }

/* ---------- steps 5-6: run and optimise, demo (not live; ported from the demo-video project) ---------- */
#pf .pf-tab .dtag { display: inline-block; vertical-align: 2px; line-height: 1.3; margin-left: 10px; padding: 1px 6px; border: 1px dashed var(--ink-40); border-radius: 3px; font-family: var(--mono); font-size: .625rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-60); }
#pf .pf-head .dword { color: var(--ink); background: #ffa80140; padding: 0 5px; }
#pf .btn .bdemo { margin: 0 2px 0 4px; padding: 1px 6px; border-radius: 3px; background: #ffa80166; color: var(--ink); font-family: var(--mono); font-size: .625rem; text-transform: uppercase; letter-spacing: .04em; vertical-align: 2px; }
/* /test-optimise/ step 1: the demo's facts, and what the optimiser found on each board */
#pf .demofacts .kv { grid-template-columns: 130px minmax(0, 1fr); }
#pf .demofacts .kv .v small { display: block; margin: 4px 0 0; }
#pf .wins { margin-top: 10px; }
#pf .win { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 12px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--rule); }
#pf .win b { display: block; font-family: var(--mono); font-size: 1.625rem; letter-spacing: -.03em; font-weight: normal; }
#pf .win small { display: block; font-size: .8125rem; color: var(--ink-60); margin-top: 2px; }
#pf .win .wn { font-size: 1.0625rem; font-weight: 500; letter-spacing: -.01em; }
#pf[data-mode="demo"] .pf-head { background-image: repeating-linear-gradient(-45deg, transparent 0 16px, #ffa8010c 16px 32px); }
#pf .dcta { flex: 0 1 auto; min-width: 0; max-width: 100%; }
#pf .eaf { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; max-width: 520px; }
#pf .eaf .btn { flex: 0 1 auto; max-width: 100%; align-self: center; height: 48px; }  /* as tall as the input, beside it */
#pf .eaf input { flex: 1 1 220px; min-width: 0; height: 48px; padding: 0 14px; border: 1px solid var(--ink-40); border-radius: 3px; background: #fff; font: inherit; font-size: 1rem; color: var(--ink); }
#pf .eaf input:focus { outline: 2px solid var(--npu); outline-offset: 1px; }
#pf .eaf .eamsg { flex-basis: 100%; font-size: .8125rem; color: var(--ink-60); }
#pf .eaf .eamsg:empty { display: none; }  /* no empty line under the form, so it centres on the text */
#pf .eaf .eamsg a { color: var(--green-text); }
#pf .eadone { display: inline-block; max-width: 520px; padding: 12px 16px; border-radius: 3px; background: #00b89418; font-size: .9375rem; }
#pf .ea { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); align-items: center; gap: 16px 32px; }
#pf .ea .eaf { max-width: none; }
#pf .ea .dtxt { max-width: 80ch; font-size: 1.0625rem; line-height: 1.5; }
@keyframes pf-pulse { 50% { box-shadow: 0 0 0 6px #00b89433; } }

/* step 5 · run */
#pf .rungrid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }  /* the lanes wider, the price chart narrower */
#pf .rungrid > * { padding: 28px var(--gut); min-width: 0; }
#pf .rungrid > * + * { border-left: var(--hair); }
#pf .runleft { display: flex; flex-direction: column; justify-content: center; gap: 12px; }  /* the hardware, centred against the chart */
/* a lane sits on the page's paper, framed in ink like the boxes; a bar on its left goes yellow while it
   runs and green when done, and a done lane takes the site's soft mint-to-sky wash */
#pf .lane { position: relative; border: 1px solid var(--ink-20); background: var(--panel); border-radius: 4px; padding: 12px 18px 12px 22px; display: flex; flex-direction: column; gap: 8px; min-height: 108px; transition: background .4s, border-color .4s; }
#pf .lane::before { content: ''; position: absolute; left: -1px; top: -1px; bottom: -1px; width: 4px; border-radius: 4px 0 0 4px; background: var(--ink-10); transition: background .3s; }
#pf .lane.running::before { background: repeating-linear-gradient(180deg, var(--yellow) 0 8px, #ffa80155 8px 16px); }
#pf .lane.done { background: var(--grad-soft); border-color: var(--ink-40); }
#pf .lane.done::before { background: var(--green); }
#pf .lh { display: grid; grid-template-columns: minmax(0, 1fr) 220px 80px; gap: 16px; align-items: center; }
#pf .stg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
#pf .stg span { font-family: var(--mono); font-size: .625rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-40); padding-top: 6px; border-top: 4px solid var(--ink-06); transition: color .2s, border-color .2s; }
#pf .stg span.run { color: var(--ink); border-image: repeating-linear-gradient(90deg, var(--yellow) 0 10px, #ffa80155 10px 20px) 4; }
#pf .stg span.ok { color: var(--ink); border-top-color: var(--npu); }
/* the test data row, above the lanes: a folder of images, then the count */
#pf #lanes { display: flex; flex-direction: column; gap: 20px; }
#pf .lane.dload { min-height: 0; margin-bottom: 12px; }  /* set apart from the hardware below: 32px in all */
#pf .dload .lh { grid-template-columns: minmax(0, 1fr) 80px; }
#pf .dload .ln { display: flex; align-items: center; gap: 14px; }
#pf .dload .fold { width: 44px; height: 35px; flex: none; }
#pf .dload .ln small { display: block; margin: 2px 0 0; }
#pf .ln { white-space: nowrap; font-size: 1.0625rem; font-weight: 500; letter-spacing: -.02em; overflow: hidden; text-overflow: ellipsis; }
#pf .ln small { font-family: var(--mono); font-size: .6875rem; font-weight: normal; color: var(--ink-60); margin-left: 10px; letter-spacing: 0; }
#pf .lane .st { justify-self: end; font-family: var(--mono); font-size: .6875rem; text-transform: uppercase; letter-spacing: .05em; padding: 3px 8px; border-radius: 3px; box-shadow: inset 0 0 0 1px var(--rule); color: var(--ink-60); }
#pf .lane .st.run { background: var(--yellow); color: var(--ink); box-shadow: none; }
#pf .lane .st.ok { background: var(--npu); color: #fff; box-shadow: none; }
#pf .lt { font-family: var(--mono); font-size: .75rem; color: var(--ink-60); min-height: 20px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#pf .lr { display: none; grid-template-columns: 100px 100px minmax(0, 1fr) 130px; gap: 16px; align-items: start; }
#pf .lr > div:nth-child(3) { padding-top: 8px; }
#pf .lr.on { display: grid; animation: pf-fade .5s; }
@keyframes pf-fade { from { opacity: 0; } }
#pf .lr b { display: block; font-family: var(--mono); font-size: 1.625rem; font-weight: normal; letter-spacing: -.03em; line-height: 1; }
#pf .lr .u { font-size: .8125rem; color: var(--ink-60); }
#pf .lr .shr { height: 10px; display: flex; gap: 2px; border-radius: 2px; overflow: hidden; margin-bottom: 4px; }
#pf .lr .shr i { display: block; }
#pf .lr .hold { color: var(--green-text); font-weight: 500; }
#pf .pricebox { display: flex; flex-direction: column; gap: 6px; }
#pf .pricebox h3, #pf .chartbox h3 { margin: 0; font-family: var(--display); font-size: 1.375rem; font-weight: 500; letter-spacing: -.02em; }
#pf .pricebox h3 { margin-bottom: 10px; }  /* the title, then some room before the legend and the chart */
#pf .chartlegend { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: .875rem; align-items: center; }
#pf .chartlegend i { display: inline-block; width: 11px; height: 11px; border-radius: 50%; margin-right: 7px; vertical-align: -1px; }
#pf .chartlegend .ring { background: transparent; box-shadow: inset 0 0 0 2px var(--ink); }
#pf .chartlegend .ring.fail { box-shadow: inset 0 0 0 2px var(--ink-40); }
#pf #pchart, #pf #ochart { width: 100%; height: auto; overflow: visible; font-family: var(--mono); fill: var(--ink-60); }
#pf #pchart g text { fill: var(--ink); }
#pf #pchart g text.sub { fill: var(--ink-60); }
#pf .pricebox #pchart { flex: 1 1 0; min-height: 300px; }  /* the rest of the box; buildPrice draws at that size */
#pf .pdot { opacity: 0; transition: opacity .5s; }
#pf .pdot.on { opacity: 1; }

/* step 6 · optimise */
#pf .optpick { display: grid; grid-template-columns: 130px repeat(3, minmax(0, 1fr)); gap: 14px; align-items: center; padding-top: 22px; padding-bottom: 22px; }
#pf .opick { display: grid; grid-template-columns: 24px minmax(0, 1fr); column-gap: 12px; align-items: center; text-align: left; padding: 12px 16px; border: 1px solid var(--rule); border-radius: 5px; background: transparent; color: var(--ink); font-size: 1.0625rem; font-weight: 500; letter-spacing: -.02em; transition: all .25s; animation: pf-pulse 2.2s ease-in-out infinite; }
#pf .opick:hover { background: var(--ink-06); }
#pf .opick .rd { grid-row: span 2; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--ink); position: relative; }
#pf .opick small { font-family: var(--mono); font-size: .6875rem; font-weight: normal; color: var(--ink-60); letter-spacing: 0; }
#pf .optpick:has(.sel) .opick { animation: none; }
#pf .opick.sel { background: #fff; border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
#pf .opick.sel .rd::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--npu); }
#pf .optgrid { display: grid; grid-template-columns: minmax(0, 640px) minmax(0, 1fr); }
#pf .optgrid > * { padding: 28px var(--gut); min-width: 0; }
#pf .optgrid > * + * { border-left: var(--hair); }
#pf .search .caption { color: var(--ink-60); }
#pf .sgrid { display: grid; grid-template-columns: minmax(0, 1fr) 36px 150px 90px; gap: 8px 12px; align-items: center; margin-top: 12px; }
#pf .sgrid .sh { font-family: var(--mono); font-size: .6875rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-60); border-bottom: var(--hair); padding-bottom: 6px; }
#pf .sgrid .sh.r, #pf .sgrid .sc { text-align: right; }
#pf .sgrid .sn, #pf .sgrid .sc, #pf .sgrid .sb, #pf .sgrid .sr { opacity: 0; transition: opacity .2s; }
#pf .sgrid .on { opacity: 1; }
#pf .sgrid .sn { font-size: .9375rem; line-height: 1.2; }
#pf .sgrid .sn small { display: block; font-family: var(--mono); font-size: .6875rem; color: var(--ink-60); }
#pf .sgrid .sc { font-family: var(--mono); font-size: .9375rem; }
#pf .sgrid .sb { position: relative; height: 16px; border-radius: 2px; background: linear-gradient(90deg, transparent calc(100% * 12 / 13 - 1px), var(--ink) calc(100% * 12 / 13 - 1px), var(--ink) calc(100% * 12 / 13 + 1px), transparent calc(100% * 12 / 13 + 1px)), var(--ink-06); }
#pf .sgrid .sb i { position: absolute; top: 3px; bottom: 3px; border-radius: 2px; min-width: 5px; }
#pf .sgrid .sr { font-family: var(--mono); font-size: .75rem; color: var(--ink-60); white-space: nowrap; }
#pf .saxis { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; font-family: var(--mono); font-size: .625rem; color: var(--ink-60); margin: 6px 102px 0 auto; width: 150px; text-align: center; }
#pf .funnel { display: grid; grid-template-columns: repeat(auto-fit, minmax(88px, 1fr)); gap: 6px; margin-top: 10px; }
#pf .funnel div { background: #fff; border: 1px solid var(--rule); border-radius: 4px; padding: 8px 10px; opacity: 0; transition: opacity .2s; }
#pf .funnel div.on { opacity: 1; }
#pf .funnel b { display: block; font-family: var(--mono); font-size: 1.375rem; font-weight: normal; letter-spacing: -.03em; }
#pf .funnel span { font-size: .75rem; color: var(--ink-60); line-height: 1.2; display: block; }
#pf .chartbox { display: flex; flex-direction: column; gap: 8px; position: relative; }
#pf #ochart .dot { opacity: 0; transition: opacity .2s; cursor: default; }
#pf #ochart .dot.on { opacity: 1; }
#pf #ochart .lbl { opacity: 0; transition: opacity .25s; }
#pf #ochart text.lbl { fill: var(--ink); }
#pf #ochart .lbl.keep { fill: var(--green-text); }
#pf #ochart .lbl.on { opacity: 1; }
#pf .optempty { position: absolute; inset: 110px 30px 30px; display: grid; place-content: center; text-align: center; font-size: 1.25rem; line-height: 1.5; transition: opacity .3s; pointer-events: none; }
#pf .optempty.off { opacity: 0; }
#pf .answer { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: var(--hair); opacity: 0; transition: opacity .25s; }
#pf .answer.on { opacity: 1; }
#pf .answer > div { padding: 14px 12px 0 0; }
#pf .answer b { display: block; font-family: var(--mono); font-size: 1.875rem; letter-spacing: -.03em; font-weight: normal; }
#pf .answer span { font-size: .875rem; color: var(--ink-60); }

@media (max-width: 1250px) {
    #pf .pf-tab { padding: 0 16px; }
    #pf .pf-tab .n { margin-right: 8px; }
    #pf .rungrid, #pf .optgrid { grid-template-columns: minmax(0, 1fr); }
    #pf .rungrid > * + *, #pf .optgrid > * + * { border-left: 0; border-top: var(--hair); }
    #pf .pricebox, #pf .chartbox { max-width: 760px; }
}
@media (max-width: 1100px) {
    #pf .pf-tab .dtag { display: none; }
}
@media (max-width: 760px) {
    #pf .lh { grid-template-columns: minmax(0, 1fr) auto; }
    #pf .lh .stg { grid-column: 1 / -1; grid-row: 2; }
    #pf .ln small { display: block; margin: 2px 0 0; }
    #pf .lr { grid-template-columns: 1fr 1fr; }
    #pf .optpick { grid-template-columns: minmax(0, 1fr); }
    #pf .ea { grid-template-columns: minmax(0, 1fr); }
    #pf .sgrid { grid-template-columns: minmax(0, 1fr) 30px 90px; }
    #pf .sgrid .sr, #pf .sgrid .sh:nth-child(4), #pf .saxis { display: none; }
    #pf .answer b { font-size: 1.375rem; }
}

/* ---------- narrower screens ---------- */

@media (max-width: 1250px) {
    #pf .pick, #pf .charts { grid-template-columns: minmax(0, 1fr); }
    #pf .pick > * + *, #pf .charts > * + * { border-left: 0; border-top: var(--hair); }
    #pf .chrow { grid-template-columns: 30px minmax(150px, 1.4fr) 100px 120px minmax(160px, 1.2fr); }
    #pf .chrow > :nth-child(5), #pf .chrow > :nth-child(7), #pf .chrow > :nth-child(8) { display: none; }
}
@media (max-width: 1100px) {
    #pf .plrow { grid-template-columns: 180px minmax(0, 1fr) 120px; }
    #pf .plrow > :nth-child(4), #pf .plrow > :nth-child(5) { display: none; }
    #pf .pdetail { grid-template-columns: minmax(0, 1fr); }
    #pf .pdetail > * + * { border-left: 0; border-top: var(--hair); }
}
@media (max-width: 991px) {
    #pf .pf-split, #pf .what, #pf .opsgrid { grid-template-columns: minmax(0, 1fr); }
    #pf .pf-split > * + *, #pf .what > div + div { border-left: 0; border-top: var(--hair); }
    #pf .s1 { min-height: 0; }
    #pf .s1-left > .drop { min-height: 300px; }
    #pf .pf-lab { display: none; }
    #pf .pf-tab { flex: 1 1 0; padding: 0 16px; }
}
@media (max-width: 640px) {
    #pf { --gut: 20px; }
    #pf .pf-head { padding: 36px var(--gut) 30px; }
    #pf .pf-head .btn-row { width: 100%; }
    #pf .pf-tabs { min-height: 0; }
    #pf .pf-tab { padding: 12px 10px; font-size: 1rem; justify-content: center; }
    #pf .pf-tab .t { display: flex; flex-direction: column; align-items: center; gap: 2px; }
    #pf .pf-tab .n { margin-right: 0; }
    #pf .pf-tab:last-of-type { border-right: 0; }
    #pf .kv { grid-template-columns: 96px minmax(0, 1fr); }
    #pf .kv .v small { display: block; margin: 2px 0 0; }
    #pf .ovstats > div { padding: 20px var(--gut); }
    #pf .tfilters { grid-template-columns: minmax(0, 1fr); }
    #pf .tf + .tf { border-left: 0; border-top: var(--hair); }
    #pf .sl { grid-template-columns: 96px minmax(0, 1fr) 22px; gap: 12px; }
    #pf .bcard { grid-template-columns: 30px minmax(0, 1fr); }
    #pf .bstats { grid-column: 1 / -1; }
    #pf .bscore { display: none; }
    #pf .chrow { grid-template-columns: 26px minmax(0, 1fr) 76px; gap: 10px; }
    #pf .chrow > :nth-child(4), #pf .chrow > :nth-child(6) { display: none; }
    #pf .plcols { display: none; }
    #pf .plrow { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "b n" "c c"; row-gap: 8px; }
    #pf .plrow .bn { grid-area: b; }
    #pf .plrow canvas { grid-area: c; }
    #pf .plrow .cnt { grid-area: n; }
    #pf .lrow { grid-template-columns: 40px 58px minmax(0, 1fr); }
    #pf .lrow .nm, #pf .lrow .mc { display: none; }
}

#pf .lr .plain { display: block; color: var(--ink-60); font-size: .75rem; letter-spacing: 0; text-transform: none; margin-top: 2px; width: max-content; }
