/* Build 203: the minimal theme -- black, hairlines, light type, one red.

   Loaded last on both pages (index.html, filters.html), so it restyles by resetting the design tokens every other sheet
   already reads, plus a short list of components whose look isn't token-driven (sliders, buttons, tabs, cards). The
   older sheets stay as they are underneath: delete this file's <link> and the previous look comes back.

   Rules of the look: one ground (pure black; irlab is dark only since build 211), warm off-white text, a grey for labels, red as
   the only accent, 1px lines instead of filled panels and shadows, Inter at light weights, numbers in tabular figures. */

:root{
  --bg:#000;--surface:#000;--surface2:#0e0e0e;--line:#1f1f1f;--line2:#333;
  --paper:#ece8e1;--paper-dim:#a19d97;--muted:#8c8984;
  --safelight:#d63a3a;--safelight-dim:#8f2626;--accent:var(--safelight);--ember:var(--safelight);
  --phosphor:#ece8e1;--phosphor-dim:#a19d97;
  --red:#d63a3a;--green:#6fae7f;--blue:#6f9fc7;
  --radius:2px;--radius-sm:2px;
  --font-display:'Inter',system-ui,-apple-system,sans-serif;
  --font-mono:'Inter',system-ui,-apple-system,sans-serif;
  --font-body:'Inter',system-ui,-apple-system,sans-serif;
  --shadow-rest:none;--shadow-lift:none;
  --panel-bg:#000;--sunken:#000;--chart-bg:#000;--preview-mat:#000;
  --overlay-bg:rgba(0,0,0,.82);--overlay-border:#333;--overlay-text:#ece8e1;
}

/* the editor's own palette (css/dock.css) */
html.studioOn body.has-image,html.dockOn body.has-image{
  --st-bg:#000;--st-stage:#000;--st-panel:#000;--st-raise:#000;--st-raise2:#0e0e0e;
  --st-hair:#1f1f1f;--st-hair2:#333;--st-text:#ece8e1;--st-dim:#a19d97;--st-faint:#8c8984;
  --st-glass:rgba(0,0,0,.8);--accent-glow:rgba(214,58,58,.28);
}

/* type */
body{font-family:var(--font-body);font-weight:300;font-variant-numeric:tabular-nums;-webkit-font-smoothing:antialiased}
b,strong,h1,h2,h3,h4,summary .dT{font-weight:500}
h1,h2{font-weight:300;letter-spacing:-.01em}
input,select,textarea,button{font-family:inherit}

/* no shadows or glows anywhere they were decoration */
.panel,.dGrp,details,.card,.toolbar,#dock,#previewSticky,.wbStepCard{box-shadow:none!important}

/* sliders: a 1px line, the set part a shade lighter, a ring for the handle */
input[type=range]::-webkit-slider-runnable-track{height:1px!important;border-radius:0!important;
  background:linear-gradient(to right,var(--paper-dim) 0,var(--paper-dim) calc(var(--val,50) * 1%),var(--line2) calc(var(--val,50) * 1%),var(--line2) 100%)!important}
input[type=range]::-moz-range-track{height:1px!important;border-radius:0!important;background:var(--line2)!important}
input[type=range]::-moz-range-progress{height:1px;background:var(--paper-dim)}
input[type=range]::-webkit-slider-thumb{-webkit-appearance:none!important;width:15px!important;height:15px!important;margin-top:-7px!important;
  border-radius:50%!important;background:var(--bg)!important;border:1px solid var(--paper)!important;box-shadow:none!important;transform:none!important}
input[type=range]::-moz-range-thumb{width:14px!important;height:14px!important;border-radius:50%!important;background:var(--bg)!important;
  border:1px solid var(--paper)!important;box-shadow:none!important}
input[type=range]:active::-webkit-slider-thumb{background:var(--paper)!important}
/* white balance tracks keep their colour, as a 2px line */
.sl.wb input[type=range]::-webkit-slider-runnable-track,#wbTempGrp input[type=range].wbBigSl::-webkit-slider-runnable-track{height:2px!important;background:var(--wbGrad)!important}
.sl.wb input[type=range]::-moz-range-track,#wbTempGrp input[type=range].wbBigSl::-moz-range-track{height:2px!important;background:var(--wbGrad)!important}
.sl.wb input[type=range]::-webkit-slider-thumb,#wbTempGrp input[type=range].wbBigSl::-webkit-slider-thumb{margin-top:-6.5px!important}

/* buttons: flat, a hairline edge, selection shown by colour and a red edge rather than a fill */
.btnGhostSmall,.btnGhost,.swapBtn,.stepBtn,.wbModeBtn,.wbNudge,.ptIconBtn,.wbIco{
  background:transparent!important;border:1px solid var(--line2)!important;border-radius:2px!important;box-shadow:none!important;
  color:var(--paper)!important;font-family:var(--font-body)!important;font-weight:400!important}
.btnGhostSmall.on,.btnGhost.on,.swapBtn.on,.wbModeBtn.on,.wbModeBtn.armed,.btnGhostSmall[aria-pressed="true"]{
  border-color:var(--safelight)!important;color:var(--paper)!important;background:transparent!important}
.stepBtn{color:var(--paper-dim)!important}
.wbNudge{border-radius:50%!important;color:var(--paper-dim)!important}

/* cards become ruled sections */
.dGrp{background:transparent!important;border:0!important;border-bottom:1px solid var(--line)!important;border-radius:0!important}
.wbStepCard{background:transparent;border-color:var(--line);border-radius:2px}
.wbStepNum{background:transparent;border-color:var(--line2);font-weight:400}
.wbStepNum.on{background:transparent;border-color:var(--safelight);color:var(--paper)}
.wbBigNum{font-weight:300}
select,input[type=text],input[type=search],input[type=number]{background:transparent;border:1px solid var(--line2);border-radius:2px;color:var(--paper)}

/* the editor's glass and spectrum glow (css/dock.css): flat black, nothing blurred */
html.studioOn body.has-image,html.dockOn body.has-image{
  --gl-fill:var(--st-bg);--gl-strong:var(--st-bg);--gl-chip:transparent;--gl-chip-hover:var(--st-raise2);--gl-edge:var(--st-hair);--gl-hi:transparent;
  --gl-blur:none;--gl-scroll:var(--st-hair2);--gl-glow-a:transparent;--gl-glow-b:transparent;--gl-glow-c:transparent;
  background:var(--st-bg)!important}
html.studioOn body.has-image .toolbar,html.dockOn body.has-image .toolbar{box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
html.studioOn body.has-image #previewSticky{background:transparent!important}
html.studioOn body.has-image #reorderZone,html.dockOn body.has-image #reorderZone{background:var(--st-bg)}

/* square corners */
.dGrp,details[data-step="wb"] .wbSlim,details[data-step="wb"] .wbGains,#histogram,#previewWrap,#preview,#previewOrig,
html.studioOn body.has-image #histogram,html.studioOn body.has-image #previewWrap,html.studioOn body.has-image #preview{border-radius:0!important}
#histogram{background:var(--st-bg,#000)!important}
details[data-step="wb"] .wbSlim,details[data-step="wb"] .wbGains{background:transparent!important;border-color:var(--line)!important}

/* top bar: plain icons, no boxes */
html.studioOn body.has-image .toolbar .ptIconBtn,html.dockOn body.has-image .toolbar .ptIconBtn,.toolbar .ptIconBtn{border-color:transparent!important;background:transparent!important}
/* primary buttons (New, Export): a hairline outline, the chip just its icon */
.keyBtn{background:transparent!important;border:1px solid var(--line2)!important;color:var(--paper)!important;font-family:var(--font-body)!important;font-weight:400!important;border-radius:2px!important}
.keyBtn:hover{background:transparent!important;border-color:var(--paper-dim)!important}
.keyBtn::before{background-color:transparent!important;border-radius:0!important}
html .keyBtn::before{filter:invert(1)}
#bDl.keyBtn{border-color:var(--paper)!important;letter-spacing:.06em}

/* phone top bar: the icon outlines go */
html.dockOn body.has-image .toolbar > :is(#bHome,#bReset,#filterDbBtn)::before,html.dockOn body.has-image .toolbar .ptTools > button::before{border:0!important;background:transparent!important;box-shadow:none!important}
html.dockOn body.has-image .toolbar > :is(.filelabel,#bHome,#bReset,#filterDbBtn),html.dockOn body.has-image .toolbar .ptTools > button{border-radius:0!important}
html.dockOn body.has-image .toolbar{border-bottom:1px solid var(--line)!important}
/* the controls sheet: square, a hairline on top, no shadow */
html.dockOn body.has-image #reorderZone{border-radius:0!important;box-shadow:none!important;border-top:1px solid var(--line)!important}
#sheetGrip span{background:var(--line2)!important}
/* compare bar and scopes button */
#cmpBar,html.dockOn body.has-image #previewSticky > #cmpBar,html.studioOn body.has-image #cw > #cmpBar{background:transparent!important;border:0!important;border-bottom:1px solid var(--line)!important;border-radius:0!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
html.dockOn body.has-image #btnScopesToggle{border:0!important;border-radius:0!important;color:var(--paper-dim)!important}
/* headings: lighter */
html.dockOn body.has-image #reorderZone .stepPanel > summary.stepHdr,html.studioOn body.has-image #reorderZone summary.stepHdr{font-weight:400!important;font-size:17px!important;letter-spacing:.01em!important}
.dGrp .dT,details[data-step="wb"] .wbSlimT,details[data-step="wb"] .wbRowTx b{font-weight:500!important}
html.studioOn body.has-image #studioBrand{font-weight:400!important;letter-spacing:.08em}
#studioBrand .sbWord b{font-weight:400!important}

/* ---- home page (css/dock.css "lab layout"): same rules ---- */
body:not(.has-image){background:#000!important}
#emptyStateGroup.lab{font-family:var(--font-body);font-weight:300}
#emptyStateGroup.lab .labHero h1{font-family:var(--font-body)!important;font-weight:300!important;letter-spacing:-.02em!important;line-height:1.08!important}
#emptyStateGroup.lab .labMark b{font-weight:400}
#emptyStateGroup.lab .labBadge circle{stroke:#d63a3a}
#emptyStateGroup.lab .labHd{font-family:var(--font-body);font-weight:400;color:#8c8984}
#emptyStateGroup.lab .labNo{color:#d63a3a}
#emptyStateGroup.lab .labPanel{background:transparent!important;box-shadow:none!important;border-radius:0!important;border-color:#1f1f1f!important}
#emptyStateGroup.lab .labTerm{background:transparent!important;border-radius:0!important;border-color:#1f1f1f!important}
#emptyStateGroup.lab a.labTool{border-radius:0!important;border-color:#1f1f1f!important}
#emptyStateGroup.lab .labMini,#emptyStateGroup.lab .labSelect,#emptyStateGroup.lab #restoreSlot #btnRestore,#emptyStateGroup.lab .labLang select{background:transparent!important;border-radius:2px!important;border-color:#333!important}
#emptyStateGroup.lab .labRow input[type=checkbox]{accent-color:#d63a3a}
#emptyStateGroup.lab #whatsNew .wnLatest::after{color:#d63a3a}
#emptyStateGroup.lab .flArrow,#emptyStateGroup.lab .ltCmd + *, #emptyStateGroup.lab .ltPrompt::before{color:#d63a3a}
#emptyStateGroup.lab #dropzone.dragover .labTerm,#emptyStateGroup.lab a.labTool:hover,#emptyStateGroup.lab #btnRestore:hover{border-color:#d63a3a!important}
#emptyStateGroup.lab .flTitle,#emptyStateGroup.lab .flSub,#emptyStateGroup.lab .labDecSum,#emptyStateGroup.lab .ltStatus,#emptyStateGroup.lab .labNote,#emptyStateGroup.lab #buildStampHome{font-family:var(--font-body)!important}
#emptyStateGroup.lab .flTitle{font-weight:400!important}
/* the consent bar */
#consentBar{background:var(--bg)!important;border-top:1px solid var(--line)!important;box-shadow:none!important;border-radius:0!important}
#emptyStateGroup.lab .labPanel{border:0!important;padding:0!important}
#emptyStateGroup.lab #dropzone{border-radius:0!important}

/* ---- filters page (css/filters.css) ---- */
body.fltPage{background:#000!important}

body.fltPage{--sunken:#000;--sticky-bg:rgba(0,0,0,.96);--chart-bg:#000;--radius:2px;--warn:#d8a13a}
body.fltPage :is(.backlink,.panel,#chart,#specStrip,.grpHead,.grp details[open] .grpHead,.grp .fgrid,.fb,.advice,.dh-bar,.chip,.fbcurve,.fbadd,.fbclear,button,.ro,.warnbox,.bh,.rk,#fChart,#fChart .readout .ro,#fTabs,#fTabs button,#filterSearch,#filterList,#fLang,input,select){border-radius:2px!important;box-shadow:none!important}
body.fltPage .panel,body.fltPage #fChart,body.fltPage #filterList,body.fltPage #fTabs{background:transparent!important;border-color:var(--line)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
body.fltPage :is(header h1,.pt,.grpHead .gname,.fbconf,#stickyStack b,.fb b,#behaviour h4,.bh .bn,#stackSummary,.provLine b){font-weight:500!important}
body.fltPage header h1{font-weight:300!important;font-family:var(--font-body)!important}
body.fltPage button,body.fltPage .chip{background:transparent!important;border:1px solid var(--line2)!important;color:var(--paper)!important}
body.fltPage .chip.on,body.fltPage button.on,body.fltPage #fTabs button.on,body.fltPage #fTabs button[aria-selected="true"]{border-color:var(--safelight)!important;color:var(--paper)!important}
body.fltPage #fTabs button{border:0!important}
body.fltPage .grpHead .gcount{border-radius:2px!important}
/* the filters page's top rail: plain icons, like the editor's */
body.fltPage .rk{border:0!important;background:transparent!important}
body.fltPage .rkI{border:0!important;background:transparent!important;border-radius:0!important}
body.fltPage .rkKey .rkI{background:transparent!important;color:var(--safelight)!important}
body.fltPage .rk[aria-pressed="true"] .rkI{background:transparent!important;color:var(--safelight)!important}

/* desktop: no rainbow rule under the top bar, the selected rail tab marked by its colour and the red edge only */
html.studioOn body.has-image .toolbar::after{display:none!important}
html.studioOn body.has-image #dock button{border-radius:0!important;font-family:var(--font-body)!important;font-weight:400!important}
html.studioOn body.has-image #dock button svg{stroke-width:1.3!important}
html.studioOn body.has-image #dock button.on,html.studioOn body.has-image #dock button:hover{background:transparent!important;box-shadow:none!important}
html.studioOn body.has-image #dock button.on::before{border-radius:0!important;width:1px!important;left:0!important}
/* the IR mark: red ring */
.labBadge circle{stroke:var(--safelight)}

/* ---- build 205: less on screen ----
   The same tools, fewer words and boxes around them: the card subtitles and the explanatory notes go (a note that
   reports something live -- it has an id, or is the beyond-the-scale warning -- stays), section names become small
   grey capitals, the -/+ buttons beside every slider go (long-press the value to type one), and the tabs at the bottom
   are words with a red line over the one you're on. */
body.has-image .dGrp > summary .dS{display:none!important}
body.has-image #reorderZone p.note:not([id]){display:none!important}
body.has-image #reorderZone .dGrp > summary .dT{font-size:14px!important;font-weight:500!important;letter-spacing:.005em!important;text-transform:none!important;color:var(--paper-dim)!important}
body.has-image #reorderZone .dGrp[open] > summary .dT{color:var(--paper)!important}
body.has-image .slStep .stepBtn{display:none!important}
body.has-image #rawWbBox .wbStepCard .sl .slStep .stepBtn{display:none!important}
html.dockOn body.has-image #dock button svg{display:none!important}
html.dockOn body.has-image #dock button{font-family:var(--font-body)!important;font-weight:400!important;font-size:13px!important;letter-spacing:.02em!important;color:var(--paper-dim)!important;border-radius:0!important}
html.dockOn body.has-image #dock button.on,html.dockOn body.has-image #dock button[aria-pressed="true"]{color:var(--paper)!important;box-shadow:inset 0 1px 0 var(--safelight)!important;background:transparent!important}
html.dockOn body.has-image #dock{border-top:1px solid var(--line)!important}
body.has-image #reorderZone .dGrp > summary .dT{flex:1}
details[data-step="wb"] .wbSlimS{display:none!important}
html.dockOn body.has-image #dock button{border:0!important;outline-offset:-2px}
#dock button:focus:not(:focus-visible){outline:none!important}

/* ---- build 206: a smaller white balance card ---- */
.wbStep{grid-template-columns:22px minmax(0,1fr);column-gap:8px}
.wbStepNum{width:20px!important;height:20px!important;font-size:10.5px!important}
.wbStepCard{padding:10px!important;gap:8px!important;margin-bottom:8px!important}
.wbStepT{font-size:13px!important}
.wbModeRow{gap:4px!important}
.wbModeBtn{min-height:34px!important;font-size:12.5px!important}
.wbBigRow{gap:6px!important}
.wbNudge{width:36px!important;height:36px!important;font-size:11px!important}
.wbBigNum{font-size:28px!important;letter-spacing:0!important}
.wbBigNum .u{font-size:14px!important;margin-left:3px!important}
#wbTempGrp input[type=range].wbBigSl{height:24px!important}
.wbTicks{height:20px!important;font-size:10px!important}
.wbTicks span{padding-top:7px!important}
.wbTicks span::before{height:4px!important}
.wbSwapRow{min-height:40px!important;font-size:13px!important;margin-bottom:8px!important}
.wbNudge{width:40px!important;height:40px!important;padding:0!important}
.wbStepCard,.wbSwapRow{border-radius:2px!important}

/* ---- build 207: the channel swap section, as drawn ----
   The six swaps as a grid of words in hairline cells, the current one underlined in red; the mix as a plain table of
   numbers, zeros dimmed; the working space as four words; the before/after colours as two thin strips. */
#matrixDetails .swapRow{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:0!important;border-top:1px solid var(--line);border-left:1px solid var(--line);margin:4px 0 16px!important}
#matrixDetails .swapRow .swapBtn{min-height:50px;margin:0!important;padding:0 4px!important;border:0!important;border-right:1px solid var(--line)!important;border-bottom:1px solid var(--line)!important;border-radius:0!important;
  color:var(--paper-dim)!important;font-size:14px!important;font-weight:300!important;background:transparent!important;box-shadow:none!important}
#matrixDetails .swapRow .swapBtn.on{color:var(--paper)!important;box-shadow:inset 0 -1px 0 var(--safelight)!important}
#mx.mxGrid{gap:0!important;grid-template-columns:26px repeat(3,minmax(0,1fr)) 34px!important;align-items:stretch}
#mx .hdr{font-family:var(--font-body)!important;font-weight:400!important;font-size:11px!important;color:var(--paper-dim)!important;text-align:center;padding:0 0 8px!important}
#mx .rowlbl{font-family:var(--font-body)!important;font-weight:400!important;font-size:11px!important;color:var(--paper-dim)!important;display:flex;align-items:center;border-top:1px solid var(--line)}
#mx input{height:48px!important;background:transparent!important;border:0!important;border-top:1px solid var(--line)!important;border-radius:0!important;
  text-align:center;color:var(--paper)!important;font-family:var(--font-body)!important;font-size:15px!important;font-weight:300!important}
#mx input.zero{color:var(--muted)!important;opacity:.55}
#mx input.neg{color:var(--safelight)!important}
#mx input.mdiag{border-color:var(--line)!important}
#mx input:focus{outline:1px solid var(--safelight)!important;outline-offset:-1px}
#mx #m20,#mx #m21,#mx #m22,#mx .rowlbl.rl-b{border-bottom:1px solid var(--line)!important}
#mx [id^="mt"]{display:flex;align-items:center;justify-content:center;border-top:1px solid var(--line);font-size:11px;color:var(--muted)}
#mx #mt2{border-bottom:1px solid var(--line)}
.mxPrevLbl{font-size:11px!important;font-weight:400!important;letter-spacing:.12em;text-transform:uppercase;color:var(--paper-dim)!important;margin:18px 0 8px!important}
.mxPreview{gap:3px!important}
.mxPreview div{height:20px!important;border-radius:0!important;background:transparent}
.mxPreview i{inset:0 0 calc(50% + 1px) 0!important}
.mxPreview b{inset:calc(50% + 1px) 0 0 0!important}
.mxFine{border-top:0}
#mxFine,.mxFine{border:0!important;border-radius:0!important;background:transparent!important;border-bottom:1px solid var(--line)!important}

/* ---- build 207: home page, layout A -- one button ----
   The same elements (so the file picker, stacking, decode settings, restore and install all work as before), re-ordered
   and quietened: the title over a 1px spectrum line, one outlined Open photo button, Stack three shots and the filter
   database as two quiet links, then the decoder, What's new and the rest in a small footer. Section numbers go. */
#emptyStateGroup.lab,@media (min-width:900px){#emptyStateGroup.lab{}}
#emptyStateGroup.lab{display:flex!important;flex-direction:column!important;max-width:440px!important;min-height:100vh;min-height:100dvh;padding:0 24px 0!important;gap:0!important}
#emptyStateGroup.lab .labHd{display:none!important}
#emptyStateGroup.lab .labTop{order:0;min-height:56px;border:0!important}
#emptyStateGroup.lab .labLang select,#emptyStateGroup.lab #uiLang{border:0!important;background:transparent!important;color:#8c8984!important;font-size:13px!important;padding:0 4px!important;height:44px}
#emptyStateGroup.lab .labHero{order:1;margin-top:clamp(20px,6vh,72px);padding:0!important;border:0!important}
#emptyStateGroup.lab .labHero h1{font-size:38px!important;line-height:1.12!important;letter-spacing:-.015em!important}
#emptyStateGroup.lab .tagline{margin-top:14px!important;font-size:15px!important;color:#8c8984!important}
#emptyStateGroup.lab #spectrumBar{height:1px!important;margin-top:26px!important;gap:0!important;
  background:linear-gradient(to right,#6a3fd0,#2f7de0,#2bb58a,#e3c53a,#ec7a2c,#d63a3a,#3a0f0f)!important}
#emptyStateGroup.lab #spectrumBar > *,#emptyStateGroup.lab #spectrumTicks{display:none!important}
/* build 216: the spectrum line draws itself in from the violet end, then a bright light runs along it (as before the
   minimal theme), sized for a hairline: a soft glowing spot rather than a band */
#emptyStateGroup.lab #spectrumBar{overflow:visible!important;opacity:0;transform:scaleX(0);transform-origin:left center;
  animation:barFadeIn 1.4s cubic-bezier(.16,.8,.3,1) .2s forwards!important}
#emptyStateGroup.lab #spectrumBar::after{display:block!important;content:''!important;position:absolute!important;right:auto!important;bottom:auto!important;
  top:-3px!important;left:0;width:70px!important;height:7px!important;margin-left:-35px;border-radius:50%;opacity:0;transform:none!important;
  background:radial-gradient(closest-side,rgba(255,255,255,.95),rgba(255,255,255,.35) 45%,transparent)!important;
  filter:blur(1px);box-shadow:none!important;animation:specGlint 1.6s cubic-bezier(.45,0,.25,1) 1.5s forwards!important}
@keyframes specGlint{0%{left:0;opacity:0}12%{opacity:1}85%{opacity:1}100%{left:100%;opacity:0}}
@media (prefers-reduced-motion:reduce){
  #emptyStateGroup.lab #spectrumBar{opacity:1;transform:none;animation:none!important}
  #emptyStateGroup.lab #spectrumBar::after{display:none!important}
}
#emptyStateGroup.lab #dropzone{order:2;margin-top:44px;padding:0!important;border:0!important}
#emptyStateGroup.lab .labTerm{padding:0!important;border:0!important;gap:0!important}
#emptyStateGroup.lab .ltStatus,#emptyStateGroup.lab .ltHint,#emptyStateGroup.lab .ltCaret,#emptyStateGroup.lab .ltCursor,#emptyStateGroup.lab .triDots{display:none!important}
#emptyStateGroup.lab label.labGo.ltPrompt{display:flex!important;align-items:center;justify-content:center;min-height:54px;border:1px solid #ece8e1;border-radius:0;
  font-size:15px!important;letter-spacing:.04em;color:#ece8e1;cursor:pointer;text-decoration:none!important}
#emptyStateGroup.lab label.labGo.ltPrompt:hover{border-color:#d63a3a}
#emptyStateGroup.lab .ltCmd{display:inline-block;text-decoration:none!important}
#emptyStateGroup.lab .ltCmd::first-letter{text-transform:uppercase}
#emptyStateGroup.lab body.imgLoading .ltCmd{opacity:.5}
#emptyStateGroup.lab .labLoadRow{flex-direction:column!important;align-items:stretch!important;gap:12px!important;margin-top:16px!important;border:0!important;padding:0!important}
#emptyStateGroup.lab .labFmtChip{border:0!important;background:none!important;text-align:center;font-size:12px!important;color:#8c8984!important;padding:0!important}
#emptyStateGroup.lab #triStart{order:3;display:flex!important;justify-content:center;min-height:44px;margin-top:28px;background:none!important;border:0!important;color:#a19d97!important;font-size:13px!important;cursor:pointer}
#emptyStateGroup.lab #triStart > span:not(.ltCaret):not(.triDots)::first-letter{text-transform:uppercase}
#emptyStateGroup.lab .labTerm{display:flex!important;flex-direction:column!important}
/* the tools section becomes one quiet link */
#emptyStateGroup.lab .labSec:has(#landingLinks){order:3;margin-top:0;padding:0!important;border:0!important}
#emptyStateGroup.lab a.labTool{border:0!important;padding:0!important;min-height:44px;justify-content:center;align-items:center;background:none!important}
#emptyStateGroup.lab a.labTool .labChart,#emptyStateGroup.lab a.labTool .flSub,#emptyStateGroup.lab a.labTool .flArrow{display:none!important}
#emptyStateGroup.lab a.labTool .flTitle{justify-content:center!important;font-size:13px!important;font-weight:300!important;color:#a19d97!important}
#emptyStateGroup.lab #btnInstallTop{align-self:center;margin:6px auto 0;background:none!important;border:0!important;color:#8c8984!important;font-size:12px!important;min-height:40px}
/* decoder setting: a small row above the footer */
#emptyStateGroup.lab .labDecSec{order:4;margin-top:auto;padding:14px 0 0!important;border:0!important;border-top:1px solid #1f1f1f!important}
#emptyStateGroup.lab .labDecSum{font-size:12px!important;color:#8c8984!important;min-height:36px}
#emptyStateGroup.lab .labFoot{order:5;margin-top:0!important;border-top:0!important;padding-bottom:18px}
#emptyStateGroup.lab #whatsNew,#emptyStateGroup.lab #discordLink,#emptyStateGroup.lab #buildStampHome{font-size:12px!important;color:#8c8984!important}
@media (min-width:900px){
  #emptyStateGroup.lab{display:flex!important;max-width:440px!important;padding:0 24px!important}
  #emptyStateGroup.lab .labHero h1{font-size:44px!important}
}
#emptyStateGroup.lab .labTerm label.labGo.ltPrompt{justify-content:center!important;min-height:54px!important;border:1px solid #ece8e1!important;
  font:300 15px/1 var(--font-body)!important;letter-spacing:.04em!important;color:#ece8e1!important}
#emptyStateGroup.lab .labTerm label.labGo.ltPrompt:hover{border-color:#d63a3a!important}
#emptyStateGroup.lab .labTerm label.labGo.ltPrompt:hover .ltCmd{text-decoration:none!important}
#emptyStateGroup.lab .labTerm label.labGo.ltPrompt:focus-within{outline:1px solid #d63a3a;outline-offset:3px}
#emptyStateGroup.lab .labPanel{display:flex!important;flex-direction:column!important}
#emptyStateGroup.lab .labTerm{display:contents!important}
#emptyStateGroup.lab .labTerm label.labGo.ltPrompt{order:1}
#emptyStateGroup.lab .labLoadRow{order:2}
#emptyStateGroup.lab #triStart{order:3;margin-top:20px}
/* build 207 fix: the layout above forces the home page to show, which beat the inline display:none the code sets when a
   photo opens -- the home page stayed above the editor. Hidden means hidden. */
#emptyStateGroup.lab[style*="display: none"],#emptyStateGroup.lab[style*="display:none"],body.has-image #emptyStateGroup.lab{display:none!important}
/* build 210: the filter database button is one curve in the visible spectrum, violet to red (gradient in index.html) */
#filterDbBtn svg path.fdbCurve{stroke:url(#fdbSpec)!important;stroke-width:2.2!important}
/* build 215: Highlight recovery is one slim row at the top of Light -- its name and a tick box, no header card */
#rawHlBox > summary{display:none!important}
#rawHlBox > .dBody{padding:6px 0 8px!important;margin:0!important}
#rawHlBox #rawHlTick{min-height:40px;font-size:13px;cursor:pointer;padding:0 14px}
#rawHlBox #rawHlTick .hlName{color:var(--paper)}
/* build 216: Simple / Advanced on the home page, a row above the decoder line (src/mode.js keeps it in step with the
   editor's own switch) */
#emptyStateGroup.lab .labModeSec{order:4;margin-top:auto;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:12px;text-align:left!important;
  padding:10px 0!important;border-top:1px solid #1f1f1f}
#emptyStateGroup.lab .labModeSec + .labDecSec{margin-top:0!important}
#emptyStateGroup.lab .labModeLbl{font-size:12px;color:#8c8984}
#emptyStateGroup.lab .labModeSeg{display:inline-flex;border:1px solid #333}
#emptyStateGroup.lab .labModeSeg button{min-height:36px;padding:0 14px;border:0;background:none;color:#8c8984;font:inherit;font-size:12.5px;cursor:pointer}
#emptyStateGroup.lab .labModeSeg button[aria-checked="true"]{color:#ece8e1;box-shadow:inset 0 0 0 1px #d63a3a}
/* build 217: Simple / Advanced is chosen on the home page; in the editor the bar only carries the "also in use" note */
#modeBar .modeSeg{display:none!important}
html.dockOn body.has-image #reorderZone > #modeBar.empty,html.studioOn body.has-image #reorderZone > #modeBar.empty,#modeBar.empty{display:none!important}
#emptyStateGroup.lab #homeMode .modeMore{opacity:.6;font-weight:400}
/* build 294: one small red dot after the two tool links on the start page, so they read as something you can tap */
#emptyStateGroup.lab #triStart,#emptyStateGroup.lab a.labTool .flTitle{align-items:center;justify-content:center}
#emptyStateGroup.lab #triStart::after,#emptyStateGroup.lab a.labTool .flTitle::after{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:#d63a3a;flex:none;margin:0 0 0 12px}
/* Build 297: Digital Aerochrome sits under Swap & mix, in the app's own font (Inter) throughout, with no monospace. */
#ffDetails,#ffDetails *{font-family:var(--font-body)!important}

/* Build 317: one heading style. Export's title was the only step heading at 15px semibold with a red arrow; the
   others (Channel Swap, Light, White Balance, Detail) are 17px regular with no arrow, because in the dock a tab is
   always open. Export now matches, and its arrow goes (src/dock.js keeps it from being folded away). */
html.dockOn body.has-image #exportSection > summary.secHead,html.studioOn body.has-image #exportSection > summary.secHead{font-weight:400!important;font-size:17px!important;letter-spacing:.01em!important;cursor:default!important}
html.dockOn body.has-image #exportSection > summary.secHead::after,html.studioOn body.has-image #exportSection > summary.secHead::after{display:none!important;content:none!important}
/* Build 317: radio buttons and tick boxes in the app's red, not the browser's default blue (Export format, etc.) */
input[type=radio],input[type=checkbox]{accent-color:#d63a3a}

/* Build 319: shorter tool rows on a phone, so one more heading fits: 48px from one row to the next instead of 59
   (the 10px gap above each goes; the row itself keeps a full 44px touch target plus its rule). */
html.dockOn body.has-image #reorderZone .dGrp{margin-top:0!important}
html.dockOn body.has-image #reorderZone .dGrp:not([open]) > summary{margin-bottom:0!important}
html.dockOn body.has-image #reorderZone .dGrp > summary{min-height:47px!important;padding-top:13px!important;padding-bottom:13px!important}
/* Build 320: the before/after divider is hidden while the slider sits at either end (src/i18n.js setComparePos) */
#cmpHandle.cmpEdge{opacity:0!important;pointer-events:none}
/* Build 320: the in-app message card that replaces the browser's alert box (src/shaders.js irlabNotice) */
#irNotice{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(var(--dockH,0px) + 16px);z-index:600;width:min(460px,calc(100vw - 24px));
  max-height:min(60vh,520px);display:flex;flex-direction:column;background:#141518;border:1px solid var(--line2,#3d4048);border-left:3px solid #d63a3a;
  border-radius:10px;box-shadow:0 18px 50px -10px rgba(0,0,0,.8);font:400 14px/1.5 var(--font-body,Inter,system-ui,sans-serif);color:var(--paper,#eceae4)}
#irNotice .irnList{overflow:auto;padding:14px 16px 4px}
#irNotice .irnMsg{margin:0 0 10px;white-space:pre-wrap;overflow-wrap:anywhere}
#irNotice .irnMsg + .irnMsg{border-top:1px solid var(--line,#2a2d33);padding-top:10px}
#irNotice .irnActs{display:flex;justify-content:flex-end;gap:8px;padding:8px 12px 12px}
#irNotice button{min-height:36px;padding:0 14px;border-radius:6px;border:1px solid var(--line2,#3d4048);background:transparent;color:inherit;font:inherit;cursor:pointer}
#irNotice .irnClose{border-color:#d63a3a}
/* shoot planner: after the tools, not above the title */
#emptyStateGroup.lab #planner{order:3;margin-top:24px;padding:0!important;border:0!important}
#emptyStateGroup.lab #planner .labHd{display:none!important}
/* the Photo / NDVI / NGB / IR map switch: four across, its legend on a line of its own underneath */
#matrixDetails .swapRow:has(.idxBtn){grid-template-columns:repeat(4,minmax(0,1fr))}
#matrixDetails .swapRow:has(.idxBtn) #idxLegend{grid-column:1/-1;padding:10px 4px 0;border:0}

/* build 363: touch sizes and legibility found in the audit (measured on a phone-sized screen) */
@media (pointer:coarse){
  body.has-image .toolbar button,body.has-image .toolbar a{min-height:44px!important}
  body.has-image #reorderZone button[aria-label^="Reset"],body.has-image #reorderZone button[title^="Reset"],body.has-image #reorderZone .rstBtn{min-width:44px!important;min-height:44px!important}
  body.has-image #reorderZone select{min-height:40px!important}
  body.has-image #zoomBadge button{min-height:36px}
}
body.has-image #holdHint,body.has-image #cmpBar .cmpBarLabels span{font-size:11px!important}

/* Build 390: the filter database on a wide screen, in the studio's layout: a top bar, the chart filling the left, the
   filter list as a panel on the right with its own scroll. Narrow screens are unchanged. */
#fBar{display:none}
@media (min-width:1100px){
  body.fltPage{max-width:none!important;padding:0!important;margin:0!important;height:100vh;overflow:hidden;--radius:10px;-webkit-font-smoothing:antialiased}
  body.fltPage #fBar{display:flex;align-items:center;justify-content:space-between;height:48px;padding:0 16px 0 12px;border-bottom:1px solid #1f2024;box-sizing:border-box}
  body.fltPage .fBrand{display:flex;align-items:center;gap:10px;text-decoration:none;font:400 15px/1 Inter,ui-sans-serif,system-ui,sans-serif;color:#f1ede6}
  body.fltPage .fMark{display:grid;place-content:center;width:24px;height:24px;border:1.5px solid #d63a3a;border-radius:50%;font:700 9.5px/1 Inter,ui-sans-serif,system-ui,sans-serif;color:#f1ede6}
  body.fltPage .fSub{color:#8a867d}
  body.fltPage .fBack{display:inline-flex;align-items:center;gap:6px;height:34px;padding:0 14px 0 10px;border:1px solid #2c2d33;border-radius:8px;background:rgba(255,255,255,.025);color:#e4e0d8;text-decoration:none;font:500 13px/1 Inter,ui-sans-serif,system-ui,sans-serif;transition:border-color .16s ease,background-color .16s ease}
  body.fltPage .fBack:hover{border-color:#5a5852;background:rgba(255,255,255,.05)}
  body.fltPage .fBack svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
  body.fltPage #fShell{display:grid!important;grid-template-columns:minmax(0,1fr) 480px!important;gap:0!important;padding:0!important;max-width:none!important;margin:0!important;height:calc(100vh - 48px)}
  body.fltPage #fLeft{position:static!important;align-self:stretch!important;padding:16px 24px 24px!important;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#2c2d33 transparent;
    background:radial-gradient(ellipse 70% 62% at 50% 40%,#131317 0%,#0c0c0f 62%,#08080a 100%)}
  body.fltPage #fRight{border-left:1px solid #1f2024;padding:12px 16px 24px!important;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#2c2d33 transparent;height:100%;box-sizing:border-box}
  body.fltPage #chart{height:min(62vh,calc(100vh - 330px))!important}
  body.fltPage #railEditor{display:none!important}
  body.fltPage #fShell#fShell .panel,body.fltPage #fShell#fShell #fChart,body.fltPage #fShell#fShell #filterList,body.fltPage #fShell#fShell #fTabs,body.fltPage #fShell#fShell #chart{border-radius:12px!important}
  body.fltPage #fShell#fShell #filterList{overflow:hidden}
  body.fltPage #fShell#fShell #fChart{background:rgba(0,0,0,.35)!important;border-color:#23242a!important}
  body.fltPage #fShell#fShell #fTabs{position:sticky!important;top:0;z-index:5;background:#000!important}
  body.fltPage #fShell#fShell button,body.fltPage #fShell#fShell .chip,body.fltPage #fShell#fShell .fb,body.fltPage #fShell#fShell .advice,body.fltPage #fShell#fShell .warnbox{border-radius:8px!important;transition:border-color .16s ease,background-color .16s ease,color .16s ease}
  body.fltPage #fShell#fShell .chip:hover,body.fltPage #fShell#fShell button:hover{border-color:#5a5852!important}
  body.fltPage #fShell#fShell #fTabs button,body.fltPage #fShell#fShell .rk{border-radius:10px!important}
  body.fltPage #fShell#fShell input[type=search],body.fltPage #fShell#fShell input[type=text],body.fltPage #fShell#fShell select{border-radius:9px!important}
  body.fltPage #fShell#fShell .grpHead .gcount{border-radius:6px!important}
  body.fltPage #cookieBanner{left:auto!important;right:16px!important;bottom:16px!important;width:auto!important;border:1px solid #2c2d33!important;border-radius:12px!important;background:#141518!important;box-shadow:0 20px 50px -16px rgba(0,0,0,.8)!important}
  body.fltPage #cookieBanner#cookieBanner button#cookieAck{border-radius:8px!important}
}

/* Build 393: filter database, wide screen. Stack panel and large readouts under the chart, a labelled tool strip,
   one-row filter cards. */
@media (min-width:1100px){
  /* 4. tool strip with words */
  body.fltPage #fShell#fShell #fRail{display:flex!important;gap:8px!important;align-items:center;height:42px;padding:0!important;border:0!important;background:none!important}
  body.fltPage #fShell#fShell #fRail .rk{display:inline-flex!important;flex-direction:row!important;align-items:center;gap:6px;width:auto!important;min-width:0!important;height:34px!important;padding:0 13px!important;border:1px solid #2c2d33!important;border-radius:8px!important;background:rgba(255,255,255,.025)!important;color:#c9c5bc!important}
  body.fltPage #fShell#fShell #fRail .rk::after{content:attr(data-lbl)!important;display:inline!important;position:static!important;font:500 12.5px/1 Inter,ui-sans-serif,system-ui,sans-serif!important;letter-spacing:0!important;text-transform:none!important;color:inherit!important;opacity:1!important}
  body.fltPage #fShell#fShell #fRail .rk .rkI{display:none!important}
  body.fltPage #fShell#fShell #fRail #railEditor{display:none!important}
  body.fltPage #fShell#fShell #fRail #railLog{padding:0 12px!important}
  body.fltPage #fShell#fShell #fRail #railClear::after{content:'Clear stack'!important}
  body.fltPage #fShell#fShell #fRail #railLog::after{content:'Log scale'!important}
  body.fltPage #fShell#fShell #fRail #railZoomIn::after{content:'Zoom in'!important}
  body.fltPage #fShell#fShell #fRail #railZoomOut::after{content:'Zoom out'!important}
  body.fltPage #fShell#fShell #fRail #railExport{margin-left:auto}
  body.fltPage #fShell#fShell #fRail #railExport::after{content:'Export PNG'!important}
  body.fltPage #fShell#fShell #fRail .rk:hover{border-color:#5a5852!important;color:#f1ede6!important}
  body.fltPage #fShell#fShell #fRail .rk[aria-pressed="true"]{border-color:rgba(214,58,58,.7)!important;background:rgba(214,58,58,.12)!important;color:#f1ede6!important}
  /* 1 + 2. under the chart: the stack as a list on the left, the measurements as large tiles on the right */
  body.fltPage #fShell#fShell #fChart{display:grid!important;grid-template-columns:minmax(260px,.8fr) minmax(0,1.6fr);grid-template-areas:"chart chart" "stack stats";gap:14px 18px;padding:14px!important}
  body.fltPage #fShell#fShell #chartWrap{grid-area:chart}
  body.fltPage #fShell#fShell #chart{height:max(320px,calc(100vh - 335px))!important}
  body.fltPage #fShell#fShell #stickyStack{grid-area:stack;position:static!important;display:flex!important;flex-direction:column;align-items:stretch!important;gap:0!important;padding:0!important;border:1px solid #23242a!important;border-radius:12px!important;background:rgba(255,255,255,.02)!important;min-height:120px;max-height:210px;overflow:hidden;cursor:default}
  body.fltPage #fShell#fShell #stickyStack::before{content:'Your stack';display:block;padding:11px 14px 9px;font:600 11.5px/1 ui-sans-serif,system-ui,sans-serif;letter-spacing:.11em;text-transform:uppercase;color:#b9b5ac;border-bottom:1px solid #23242a}
  body.fltPage #fShell#fShell #stickyStack .ss-names{display:flex!important;flex-direction:column!important;flex:1!important;gap:0!important;overflow-y:auto!important;overflow-x:hidden!important;white-space:normal!important;scrollbar-width:thin}
  body.fltPage #fShell#fShell #stickyStack .ss-names:empty::before{content:'No filters yet. Press + on any filter in the list to add it.';display:block;padding:14px;font:400 13px/1.5 Inter,ui-sans-serif,system-ui,sans-serif;color:#7f7b73}
  body.fltPage #fShell#fShell .ssChip{display:flex!important;justify-content:space-between;align-items:center;height:36px;padding:0 8px 0 14px!important;border:0!important;border-bottom:1px solid #1c1d21!important;border-radius:0!important;background:none!important;font:500 13.5px/1 Inter,ui-sans-serif,system-ui,sans-serif!important;cursor:pointer}
  body.fltPage #fShell#fShell .ssChip b{color:#e4e0d8!important;font-weight:500!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  body.fltPage #fShell#fShell .ssChip i{display:grid;place-content:center;width:26px;height:26px;border-radius:7px;font-size:16px!important;color:#8a867d!important}
  body.fltPage #fShell#fShell .ssChip:hover{background:rgba(255,255,255,.035)!important}
  body.fltPage #fShell#fShell .ssChip:hover i{background:rgba(214,58,58,.16);color:#f1ede6!important}
  body.fltPage #fShell#fShell #ssStats{display:none!important}
  body.fltPage #fShell#fShell #readout{grid-area:stats;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px!important;margin:0!important;align-content:start}
  body.fltPage #fShell#fShell #readout .ro{padding:13px 14px 12px!important;border:1px solid #23242a!important;border-radius:12px!important;background:rgba(255,255,255,.02)!important;min-width:0}
  body.fltPage #fShell#fShell #readout .ro .k{font:500 11px/1.2 ui-sans-serif,system-ui,sans-serif!important;letter-spacing:.08em!important;text-transform:uppercase;color:#8a867d!important}
  body.fltPage #fShell#fShell #readout .ro .v{margin-top:8px;font:500 24px/1.15 Inter,ui-sans-serif,system-ui,sans-serif!important;letter-spacing:-.01em;color:#f1ede6!important;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
  /* 5. filter cards: one row each */
  body.fltPage #fShell#fShell .fb{padding:0!important;border:0!important;border-bottom:1px solid #1c1d21!important;border-radius:0!important;background:none!important}
  body.fltPage #fShell#fShell .fb .fbrow{display:flex!important;align-items:center;gap:10px;min-height:46px;padding:5px 8px 5px 12px}
  body.fltPage #fShell#fShell .fb .fbinfo{flex:1;min-width:0;display:grid;grid-template-columns:minmax(0,auto) auto;justify-content:start;align-items:center;column-gap:8px;row-gap:2px}
  body.fltPage #fShell#fShell .fb .fbinfo b{font:500 13.5px/1.2 Inter,ui-sans-serif,system-ui,sans-serif!important;color:#e4e0d8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  body.fltPage #fShell#fShell .fb .fbinfo small{grid-column:1/-1;font-size:11.5px!important;line-height:1.3!important;color:#7f7b73!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0!important}
  body.fltPage #fShell#fShell .fb .fbconf{font:600 9.5px/1 ui-sans-serif,system-ui,sans-serif!important;letter-spacing:.06em;padding:3px 7px!important;border-radius:999px!important;justify-self:start;width:auto!important}
  body.fltPage #fShell#fShell .fb .fbactions{display:flex!important;gap:6px;flex:none}
  body.fltPage #fShell#fShell .fb .fbactions button{height:30px!important;min-height:30px!important;padding:0 10px!important;border:1px solid #2c2d33!important;border-radius:8px!important;background:rgba(255,255,255,.025)!important;color:#c9c5bc!important;font:500 12px/1 Inter,ui-sans-serif,system-ui,sans-serif!important}
  body.fltPage #fShell#fShell .fb .fbactions .fbcurve{width:30px;padding:0!important;font-size:0!important}
  body.fltPage #fShell#fShell .fb .fbactions .fbcurve::before{content:'\2248';font-size:15px}
  body.fltPage #fShell#fShell .fb .fbactions .fbadd{border-color:#3d4048!important;color:#f1ede6!important}
  body.fltPage #fShell#fShell .fb.on{background:rgba(214,58,58,.07)!important}
  body.fltPage #fShell#fShell .fb.on .fbadd{background:#d63a3a!important;border-color:#d63a3a!important;color:#fff!important}
  body.fltPage #fShell#fShell .fb:hover{background:rgba(255,255,255,.03)!important}
}

/* Build 396: filter database on a phone picks up the desktop look: rounded cards, pill chips, stat tiles, one-style buttons */
@media (max-width:1099px){
  body.fltPage #fShell#fShell #fChart,body.fltPage #fShell#fShell .panel{border:1px solid #23242a!important;border-radius:14px!important;background:rgba(255,255,255,.02)!important}
  body.fltPage #fShell#fShell #filterSearch{height:44px!important;border:1px solid #2c2d33!important;border-radius:10px!important;background:rgba(255,255,255,.03)!important}
  body.fltPage #fShell#fShell #filterSearch:focus{border-color:#d63a3a!important;outline:0}
  body.fltPage #fShell#fShell #advToggle{height:44px!important;border:1px solid #2c2d33!important;border-radius:10px!important;background:rgba(255,255,255,.025)!important;color:#c9c5bc!important}
  body.fltPage #fShell#fShell .chiprow .chip{height:34px!important;padding:0 14px!important;border:1px solid #2c2d33!important;border-radius:999px!important;background:rgba(255,255,255,.025)!important;color:#c9c5bc!important;font:500 13px/1 Inter,ui-sans-serif,system-ui,sans-serif!important}
  body.fltPage #fShell#fShell .chiprow .chip.on,body.fltPage #fShell#fShell .chiprow .chip[aria-pressed="true"]{border-color:rgba(214,58,58,.7)!important;background:rgba(214,58,58,.14)!important;color:#f1ede6!important}
  body.fltPage #fShell#fShell #filterList{border:1px solid #23242a!important;border-radius:12px!important;overflow:hidden}
  body.fltPage #fShell#fShell #filterList .grp{border:0!important;border-bottom:1px solid #1c1d21!important;border-radius:0!important}
  body.fltPage #fShell#fShell #filterList .grp:last-child{border-bottom:0!important}
  /* filter cards */
  body.fltPage #fShell#fShell .fb{margin:0!important;padding:0!important;border:0!important;border-top:1px solid #1c1d21!important;border-radius:0!important;background:none!important}
  body.fltPage #fShell#fShell .fb .fbrow{display:flex!important;align-items:center;gap:10px;min-height:56px;padding:8px 10px 8px 14px}
  body.fltPage #fShell#fShell .fb .fbinfo{flex:1;min-width:0;display:grid;grid-template-columns:minmax(0,auto) auto;justify-content:start;align-items:center;column-gap:8px;row-gap:3px}
  body.fltPage #fShell#fShell .fb .fbinfo b{font:500 14.5px/1.2 Inter,ui-sans-serif,system-ui,sans-serif!important;color:#e4e0d8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  body.fltPage #fShell#fShell .fb .fbinfo small{grid-column:1/-1;font-size:12px!important;line-height:1.3!important;color:#7f7b73!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0!important}
  body.fltPage #fShell#fShell .fb .fbconf{font:600 9.5px/1 ui-sans-serif,system-ui,sans-serif!important;letter-spacing:.06em;padding:3px 7px!important;border-radius:999px!important;justify-self:start;width:auto!important}
  body.fltPage #fShell#fShell .fb .fbactions{display:flex!important;gap:6px;flex:none}
  body.fltPage #fShell#fShell .fb .fbactions button{height:38px!important;min-height:38px!important;padding:0 12px!important;border:1px solid #2c2d33!important;border-radius:9px!important;background:rgba(255,255,255,.025)!important;color:#c9c5bc!important;font:500 13px/1 Inter,ui-sans-serif,system-ui,sans-serif!important}
  body.fltPage #fShell#fShell .fb .fbactions .fbcurve{width:38px;padding:0!important;font-size:0!important}
  body.fltPage #fShell#fShell .fb .fbactions .fbcurve::before{content:'\2248';font-size:16px}
  body.fltPage #fShell#fShell .fb .fbactions .fbadd{border-color:#3d4048!important;color:#f1ede6!important}
  body.fltPage #fShell#fShell .fb.on{background:rgba(214,58,58,.07)!important}
  body.fltPage #fShell#fShell .fb.on .fbadd{background:#d63a3a!important;border-color:#d63a3a!important;color:#fff!important}
  /* measurements as tiles, stack chips as pills */
  body.fltPage #fShell#fShell #readout{gap:8px!important}
  body.fltPage #fShell#fShell #readout .ro{padding:11px 12px 10px!important;border:1px solid #23242a!important;border-radius:12px!important;background:rgba(255,255,255,.02)!important;min-width:0}
  body.fltPage #fShell#fShell #readout .ro .k{font:500 10.5px/1.2 ui-sans-serif,system-ui,sans-serif!important;letter-spacing:.08em!important;text-transform:uppercase;color:#8a867d!important}
  body.fltPage #fShell#fShell #readout .ro .v{margin-top:6px;font:500 19px/1.15 Inter,ui-sans-serif,system-ui,sans-serif!important;color:#f1ede6!important;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
  body.fltPage #fShell#fShell .ssChip{border:1px solid #2c2d33!important;border-radius:999px!important;background:rgba(255,255,255,.04)!important;padding:5px 8px 5px 12px!important}
  body.fltPage #fShell#fShell .fb .fbinfo{grid-template-columns:minmax(0,1fr) auto!important}
  body.fltPage #fShell#fShell .fb .fbinfo b{white-space:normal}
  body.fltPage #fShell#fShell .fb .fbactions .fbclear{width:38px;padding:0!important;font-size:0!important}
  body.fltPage #fShell#fShell .fb .fbactions .fbclear::before{content:'\00d7';font-size:18px}
  body.fltPage #fShell#fShell .grpHead .gcount{border-radius:999px!important;padding:3px 10px!important}
  body.fltPage #fTabs#fTabs{background:rgba(10,10,12,.94)!important;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-top:1px solid #23242a!important}
}
