/* section properties — on top of calc.css */
main.sec { max-width: 1380px; }
main.sec ~ .site-foot { max-width: 1380px; }
main.sec .card.stage { padding-left: 6px; padding-right: 6px; }
main.sec .stage-bar { justify-content: flex-start; gap: 8px; flex-wrap: wrap; }
main.sec .stage-bar .hist { margin-left: auto; }
#view { display: block; width: 100%; height: auto; flex: 1; min-height: 0; user-select: none; touch-action: none; }
#view.dragging, #view.dragging * { cursor: grabbing !important; }
#view.drawing, #view.drawing * { cursor: crosshair !important; }
#view .hit { fill: transparent; stroke: none; }
#snapBtn[aria-pressed="true"] { border-color: var(--text-2); box-shadow: inset 0 0 0 1px var(--text-2); }

/* drawing */
.sc-h { font-size: 13.5px; font-weight: 600; fill: var(--text); }
.sc-h2 { font-size: 13px; font-weight: 600; fill: var(--text); }
.sc-sub { font-size: 12px; fill: var(--text-3); }
.sc-g0 { fill: var(--grid-0); }
.sc-g1 { fill: var(--fill-2); }
.sc-g2 { fill: var(--bg); }
.sc-fill { stroke: none; }
.sc-edge { fill: none; stroke: var(--ink); stroke-width: 1.15; stroke-linejoin: round; pointer-events: none; }
.sc-seam { fill: none; stroke: var(--steel-550); stroke-width: .8; stroke-dasharray: 3 2; pointer-events: none; }
.sc-hit { fill: transparent; stroke: none; cursor: grab; }
.sc-hit:hover { fill: color-mix(in srgb, var(--sel) 5%, transparent); }
.sc-hit.hole:hover { fill: color-mix(in srgb, var(--sel) 8%, transparent); }
.sc-selo { fill: none; stroke: var(--sel); stroke-width: 1.8; stroke-linejoin: round; pointer-events: none; }
.sc-selo.hole { stroke-dasharray: 5 3; }
.sc-ehit { stroke: transparent; stroke-width: 10; cursor: copy; }
.sc-cl { fill: none; stroke: var(--sel); stroke-width: .8; stroke-dasharray: 4 3; pointer-events: none; }
#view .handle { cursor: grab; }
#view .handle .knob { fill: var(--surface); stroke: var(--sel); stroke-width: 1.8; }
#view .handle:hover .knob { fill: var(--sel); }
#view .handle .knob.bad { stroke: var(--bad); fill: var(--bad-bg); }
.sc-draft { fill: none; stroke: var(--sel); stroke-width: 1.5; stroke-dasharray: 5 3; pointer-events: none; }
.sc-draft.bad { stroke: var(--bad); }
.sc-dv { fill: var(--surface); stroke: var(--sel); stroke-width: 1.6; pointer-events: none; }
.sc-dv.close { fill: var(--sel); }
.sc-cross path { stroke: var(--sel); stroke-width: 1.2; pointer-events: none; }
.sc-cross.bad path { stroke: var(--bad); }
.sc-snap { fill: none; stroke: var(--sel); stroke-width: 1.2; pointer-events: none; }
.sc-ax { stroke: var(--text-3); stroke-width: .6; stroke-dasharray: 10 3 2 3; pointer-events: none; }
.sc-axl { font-size: 12px; fill: var(--text-3); }
.sc-pr { stroke: var(--sel); stroke-width: 1; stroke-dasharray: 9 3 2 3; pointer-events: none; }
.sc-prl { font-size: 12.5px; font-weight: 600; fill: var(--sel); }
.sc-pna { stroke: var(--warn); stroke-width: 1; stroke-dasharray: 5 3; pointer-events: none; }
.sc-pna.strong { stroke: var(--text); stroke-width: 1.3; stroke-dasharray: none; }
.sc-pnal { font-size: 12px; font-weight: 600; fill: var(--warn); }
.sc-cg { pointer-events: none; }
.sc-cg circle { fill: var(--surface); stroke: var(--text); stroke-width: 1.2; }
.sc-cg path { fill: var(--text); }
.sc-sc { pointer-events: none; }
.sc-sc circle { fill: var(--surface); stroke: var(--moment); stroke-width: 1.3; }
.sc-sc path { stroke: var(--moment); stroke-width: 1; }
.sc-scl { font-size: 12px; font-weight: 600; fill: var(--moment); }
.sc-o { cursor: move; }
.sc-o path, .sc-o circle:not(.hit) { stroke: var(--text-3); stroke-width: 1.1; fill: none; }
.sc-o:hover path, .sc-o:hover circle:not(.hit) { stroke: var(--sel); }
.sc-ol { font-size: 12px; fill: var(--text-3); }
.sc-ext, .sc-lead { stroke: var(--steel-400); stroke-width: .7; pointer-events: none; }
.sc-leaddot { fill: var(--steel-550); }
.sc-split { stroke: var(--line); }
.sc-band { stroke: none; pointer-events: none; }
.sc-iso { pointer-events: none; }
.sc-na { stroke: var(--text); stroke-width: 1.1; stroke-dasharray: 6 3; pointer-events: none; }
.sc-nal { font-size: 12px; font-weight: 600; fill: var(--text); }
.sc-pk { fill: var(--surface); stroke: var(--text); stroke-width: 1.3; pointer-events: none; }
.sc-pk.t { stroke: var(--x-a9432c, #a9432c); } .sc-pk.c { stroke: var(--x-355289, #355289); }
.sc-pkl { font-size: 12.5px; font-weight: 600; fill: var(--text); }
.sc-lead.dark { stroke: var(--x-6e7177, #6e7177); stroke-width: .8; }
/* pinned ghosts */
.sc-ghost { fill: none; stroke-width: 1.3; stroke-dasharray: 5 4; opacity: .8; pointer-events: none; }
.sc-ghl { font-size: 12px; font-weight: 500; }
/* moment vector */
.sc-mv { cursor: grab; }
.sc-mv .knob { fill: var(--surface); stroke: var(--sel); stroke-width: 1.8; }
.sc-mv:hover .knob { fill: var(--sel); }
/* torsion flow */
.sc-flow { stroke: rgba(23, 24, 26, .62); stroke-width: 1; fill: none; pointer-events: none; }
/* σ diagram */
.sc-dz { stroke: var(--text-2); stroke-width: 1; }
.sc-dfy { stroke: var(--steel-400); stroke-width: .8; stroke-dasharray: 4 3; }
.sc-dt { fill: var(--x-e89b80, #e89b80); fill-opacity: .55; stroke: var(--x-a9432c, #a9432c); stroke-width: 1.3; stroke-linejoin: round; }
.sc-dc { fill: var(--x-97b2db, #97b2db); fill-opacity: .55; stroke: var(--x-355289, #355289); stroke-width: 1.3; stroke-linejoin: round; }
.sc-dl { font-size: 12px; font-weight: 600; }
.sc-dl.t { fill: var(--x-8f3322, #8f3322); } .sc-dl.c { fill: var(--x-2b4c84, #2b4c84); }
.sc-keyd { fill: var(--sel); }
.sc-cmp { font-size: 12px; font-weight: 600; fill: var(--moment); }
.sc-ten { font-size: 12px; font-weight: 600; fill: var(--rust); }

/* Mohr's circle */
.sc-mx { stroke: var(--x-c9c9c4, #c9c9c4); stroke-width: 1; }
.sc-mt { font-size: 12px; fill: var(--text-3); }
.sc-mc { fill: color-mix(in srgb, var(--sel) 4%, transparent); stroke: var(--sel); stroke-width: 1.3; }
.sc-md { stroke: var(--sel); stroke-width: 1; }
.sc-marc { fill: none; stroke: var(--sel); stroke-width: 1; }
.sc-mp1 { fill: var(--sel); }
.sc-mpy { fill: var(--surface); stroke: var(--sel); stroke-width: 1.4; }
.sc-mh { cursor: grab; }
.sc-mh .knob { fill: var(--sel); stroke: var(--halo); stroke-width: 1.5; }
.sc-mh:hover .knob { r: 6.5; }
.sc-ml { font-size: 12px; font-weight: 600; fill: var(--x-1e4fbf, #1e4fbf); }
.sc-pk2 { font-size: 12px; fill: var(--text-3); }
.sc-pv2 { font-size: 12px; fill: var(--text); font-weight: 500; font-variant-numeric: tabular-nums; }

/* pills */
#view .pill rect { fill: var(--surface); stroke: var(--steel-300); }
#view .pill text { font-size: 12.5px; font-weight: 500; fill: var(--text-2); font-variant-numeric: tabular-nums; }
#view .pill.sm text { font-size: 12.5px; }
#view .pill.load rect { stroke: color-mix(in srgb, var(--load) 35%, transparent); } #view .pill.load text { fill: var(--load); font-weight: 600; }
#view .pill.dimv rect { stroke: var(--steel-200); }
#view .pill.lc rect, #view .pill.rr rect { stroke: color-mix(in srgb, var(--sel) 40%, transparent); }
#view .pill.lc text, #view .pill.rr text { fill: var(--x-1e4fbf, #1e4fbf); font-weight: 600; }
#view .pill.editable { cursor: text; }
#view .pill.editable:hover rect { stroke: var(--sel); stroke-width: 1.4; }
#view .pill.editable:focus { outline: none; }
#view .pill.editable:focus rect { stroke: var(--sel); stroke-width: 1.6; }

/* foot strip */
.sc-foot { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; padding: 8px 14px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--text-2); min-height: 40px; font-variant-numeric: tabular-nums; }
.sc-tip { color: var(--text-3); }
.sc-msg { color: var(--warn-ink); }
.sc-leg { display: inline-grid; grid-template-columns: auto auto; column-gap: 10px; align-items: center; }
.sc-sw { display: flex; width: 198px; height: 9px; border-radius: 3px; overflow: hidden; }
.sc-sw i { flex: 1; }
.sc-lticks { grid-column: 1; display: flex; justify-content: space-between; width: 198px; font-size: 10.5px; color: var(--text-3); }
.sc-lticks b { font-weight: 400; }
.sc-lc { grid-row: 1 / span 2; grid-column: 2; font-size: 12px; color: var(--text-2); }
.sc-key { display: inline-flex; align-items: center; gap: 6px; }
.sc-key .sw { width: 14px; height: 10px; border-radius: 2px; display: inline-block; }
.sc-key .sw.c { background: var(--x-6a8bc2, #6a8bc2); }
.sc-key .sw.t { background: var(--x-d16a4d, #d16a4d); }
.sc-dleg { display: inline-grid; grid-template-columns: auto auto; column-gap: 10px; align-items: center; }
.sc-dsw { display: flex; width: 264px; height: 9px; border-radius: 3px; overflow: hidden; }
.sc-dsw i { flex: 1; }
.sc-dticks { grid-column: 1; display: flex; justify-content: space-between; width: 264px; font-size: 10.5px; color: var(--text-3); }
.sc-dticks b { font-weight: 400; }
.sc-hero .v { font-variant-numeric: tabular-nums; }
.sc-hero .s sub, .stat sub { font-size: .75em; }
.sc-load { font-size: 11.5px; color: var(--sel); padding: 0 4px; }

/* editor overlay */
.stage { position: relative; }
.co-edit { position: absolute; transform: translate(-50%, -50%); z-index: 5; display: flex; align-items: center; gap: 4px; background: var(--surface); border: 1.5px solid var(--sel); border-radius: 9px; padding: 2px 8px 2px 4px; box-shadow: 0 6px 18px rgba(20, 22, 28, .14); }
.co-edit input { width: 82px; border: 0; outline: none; font: inherit; font-size: 13px; text-align: right; font-variant-numeric: tabular-nums; padding: 3px 2px; }
.co-edit span { font-size: 11.5px; color: var(--text-3); }

/* examples menu */
.ex-wrap { position: relative; }

/* panel */
.sc-types { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
.co-type { display: grid; justify-items: center; gap: 1px; padding: 5px 7px 4px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); cursor: pointer; font-size: 11px; color: var(--text-2); min-width: 0; }
.co-type span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.co-type:hover { border-color: var(--line-2); color: var(--text); }
.sc-row2 { display: flex; gap: 6px; margin-top: 6px; flex-wrap: wrap; }
.sc-row2 .btn:disabled { opacity: .45; cursor: not-allowed; }
.sc-parts { display: grid; gap: 4px; }
.sc-part { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 5px 4px 5px 8px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.sc-part:hover { border-color: var(--line-2); }
.sc-part.on { border-color: var(--sel); box-shadow: inset 0 0 0 1px var(--sel); }
.sc-part .sw { width: 12px; height: 12px; border-radius: 3px; border: 1px solid var(--steel-500); }
.sc-part.hole .sw { border-style: dashed; }
.sc-part .nm { display: grid; min-width: 0; }
.sc-part .nm b { font-weight: 500; font-size: 13px; overflow-wrap: anywhere; }
.sc-part .nm small { font-size: 11.5px; color: var(--text-3); overflow-wrap: break-word; }   /* wraps on phones, never an ellipsis */
.sc-part .acts { display: flex; align-items: center; gap: 0; }
.sc-part .acts .ghost { padding: 3px 6px; font-size: 12px; color: var(--text-3); }
.sc-part .acts .ghost:hover { color: var(--text); }
.sc-part .acts .ghost:disabled { opacity: .35; cursor: default; }
.co-kv { display: flex; flex-wrap: wrap; gap: 2px 14px; font-size: 12px; color: var(--text-2); padding: 4px 0 2px; }
.co-kv a { color: var(--text-3); font-size: 11px; }
.co-add { justify-self: start; font-size: 12.5px; color: var(--sel); padding: 4px 2px; }
.sc-vt { margin-top: 6px; }
.sc-vt input { text-align: right; }
.sc-vt input.bad { color: var(--bad); border-color: var(--bad); }
#panel input.bad { color: var(--bad); }
#panel .num:has(input.bad) input { border-color: var(--bad); }
.sc-kv { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; font-size: 13px; color: var(--text-2); }
.sc-kv b { font-weight: 500; color: var(--text); text-align: right; font-variant-numeric: tabular-nums; }

/* summary */
.sc-stats { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.sc-stats .stat .v { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* properties */
.sc-copy { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
table.sc-props tbody tr { cursor: default; }
table.sc-props tbody tr:hover { background: var(--surface-2); }
table.sc-props tr.grp td { text-align: left; font-size: 11.5px; font-weight: 600; color: var(--text-2); padding-top: 14px; border-bottom: 1px solid var(--line); background: none; }
table.sc-props td.sym { color: var(--text-2); font-style: italic; }
table.sc-props .sym-in { display: none; color: var(--text-3); font-style: italic; }
table.sc-props td.sym sub { font-style: normal; }
table.sc-props td.u { color: var(--text-3); font-size: 12px; }
table.sc-props td.tab { color: var(--text-2); }
table.sc-props td.note { color: var(--text-3); font-size: 12px; white-space: normal; min-width: 180px; }
.sc-d { font-size: 12px; font-variant-numeric: tabular-nums; }
.sc-d.ok { color: var(--good); }
.sc-d.mid { color: var(--warn-ink); }
.sc-d.far { color: var(--bad); }

/* library */
.sc-lib { display: grid; gap: 10px; }
.sc-lf { display: grid; gap: 6px; }
.sc-chips { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.sc-cl { font-size: 11.5px; color: var(--text-3); width: 52px; flex: none; }
.sc-chips .chip { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 2px 10px; font-size: 12px; color: var(--text-2); cursor: pointer; }
.sc-chips .chip:hover { border-color: var(--line-2); color: var(--text); }
.sc-chips .chip.on { background: var(--text); border-color: var(--text); color: var(--on-accent); }
.sc-lq { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }
.sc-in { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text-2); }
.sc-in > span:first-child { color: var(--text-3); }
.sc-in b { font-weight: 400; color: var(--text-3); }
.sc-in input[type=search] { width: 200px; border: 1px solid var(--line); border-radius: 7px; padding: 5px 9px; font-size: 13px; outline: none; }
.sc-in select { width: auto; }
.sc-in .num input { width: 108px; }
.sc-lres { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; font-size: 13px; color: var(--text-2); }
.sc-best b { color: var(--good); font-weight: 600; }
.sc-best .btn { margin-left: 6px; }
.sc-best.none { color: var(--warn-ink); }
.sc-lgrid { display: grid; grid-template-columns: minmax(0, 1fr) 232px; gap: 16px; align-items: start; }
.sc-lplot { min-width: 0; }
.sc-ltools { display: flex; justify-content: space-between; align-items: center; gap: 8px 16px; flex-wrap: wrap; margin-bottom: 4px; }
.sc-ltools .sc-row2 { margin-top: 0; }
[data-llogx][aria-pressed="true"] { border-color: var(--text-2); box-shadow: inset 0 0 0 1px var(--text-2); }
#lchart .sc-lpan { cursor: grab; }
.sc-lov { display: block; width: 100%; height: auto; margin-top: 2px; touch-action: none; user-select: none; cursor: crosshair; }
.sc-brush { fill: color-mix(in srgb, var(--sel) 8%, transparent); stroke: var(--sel); stroke-width: 1.2; cursor: move; }
.sc-ldot.fail { opacity: .28; }
.sc-lcard { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font-size: 13px; }
.sc-lch { display: grid; gap: 1px; margin-bottom: 8px; }
.sc-lch .k { font-size: 12px; color: var(--text-3); }
.sc-lch b { font-size: 16px; font-weight: 600; }
.sc-lch small { color: var(--text-3); font-size: 11.5px; }
.sc-lcrows { display: grid; gap: 3px; }
.sc-lcrows div { display: flex; justify-content: space-between; gap: 10px; color: var(--text-2); }
.sc-lcrows b { font-weight: 500; color: var(--text); font-variant-numeric: tabular-nums; }
table.sc-lt tr.fail td { color: var(--text-3); }
#lchart { width: 100%; height: auto; display: block; touch-action: none; user-select: none; }
@media (max-width: 760px) { .sc-lgrid { grid-template-columns: minmax(0, 1fr); } }
#lchart .drag { cursor: ns-resize; }
.sc-ldot { fill: var(--steel-400); cursor: pointer; }
.sc-ldot.pass { fill: var(--steel-700); }
.sc-ldot:hover { fill: var(--sel); }
.sc-lcur { fill: none; stroke: var(--text); stroke-width: 1.4; }
.ch-t { font-size: 11px; fill: var(--text-3); font-variant-numeric: tabular-nums; }
.ch-a { font-size: 11.5px; fill: var(--text-2); }
.ch-l { font-size: 11.5px; font-weight: 600; }
.sc-ltw { max-height: 420px; overflow: auto; margin: 0; border-top: 1px solid var(--line); }
table.sc-lt { font-size: 12.5px; }
table.sc-lt th { position: sticky; top: 0; background: var(--surface); z-index: 1; }
table.sc-lt th.sortable { cursor: pointer; user-select: none; }
table.sc-lt th.sortable:hover, table.sc-lt th.on { color: var(--text); }
table.sc-lt th small { font-weight: 400; color: var(--text-3); font-size: 10.5px; }
table.sc-lt td { padding: 5px 7px; }
table.sc-lt tr.pass td:first-child { color: var(--text); font-weight: 500; }
table.sc-lt tr.best td { background: var(--good-bg); }
table.sc-lt tr.cur td:first-child { font-weight: 600; }
.sc-ladd { padding: 0 6px; font-size: 14px; color: var(--text-3); }

/* compare */
.sc-cgrid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 18px; align-items: start; }
.sc-ov { width: 100%; height: auto; background: var(--surface-2); border-radius: 10px; }
.sc-ct th { vertical-align: bottom; }
.sc-ct th small { font-weight: 400; color: var(--text-3); }
.sc-ct td small.up { color: var(--good); }
.sc-ct td small.dn { color: var(--bad); }
.sc-ct td.u { color: var(--text-3); font-size: 12px; }
.sc-ct .x { width: 20px; height: 20px; font-size: 13px; vertical-align: middle; }
.sc-cdot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 5px; vertical-align: 0; }
.sc-empty { margin: 0; font-size: 13px; color: var(--text-3); }

@media (max-width: 1200px) { .sc-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } .sc-stats .stat:nth-child(4) { border-left: 0; } .sc-stats .stat:nth-child(n+4) { border-top: 1px solid var(--line); } }
@media (max-width: 760px) { .sc-cgrid { grid-template-columns: minmax(0, 1fr); } .sc-ov { max-width: 280px; } .sc-nc { display: none; } }
@media (max-width: 560px) {
  table.sc-props th.sym, table.sc-props td.sym, table.sc-props th.tab, table.sc-props td.tab { display: none; }
  table.sc-props .sym-in { display: inline; }
  table.sc-props td.l:first-child { white-space: normal; }
  table.sc-props td, table.sc-props th { padding-left: 5px; padding-right: 5px; }
  table.sc-lt .opt { display: none; }
  table.sc-lt td, table.sc-lt th { padding: 5px 4px; }
  .sc-stats { grid-template-columns: 1fr 1fr; }
  .sc-types { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sc-in input[type=search] { width: 150px; }
  .sc-cl { width: 100%; }
  main.sec .stage-bar .hist { margin-left: 0; }
}
/* library chart: families */
.sc-ldot.c { stroke-width: .6; }
.sc-ldot.dim { opacity: .14; }
.sc-ldot.hl { stroke: var(--text) !important; stroke-width: .8; }
.sc-chips .chip.multi { background: var(--surface); color: var(--text); border-color: var(--text-2); }
.sc-chd { margin-right: 5px; vertical-align: -1px; }
@media (max-width: 560px) {
  .sc-dleg, .sc-leg { grid-template-columns: minmax(0, 1fr); width: 100%; }
  .sc-dleg .sc-lc, .sc-leg .sc-lc { grid-row: auto; grid-column: 1; }
  .sc-dsw, .sc-dticks { width: 100%; }
}
/* pinned shape */
.sc-lpinring { fill: none; stroke: var(--sel); stroke-width: 2.2; pointer-events: none; }
#lchart .hit { fill: transparent; cursor: pointer; }
#lchart .sc-ldot { cursor: pointer; }
#lchart:focus-visible { outline: 2px solid var(--sel); outline-offset: 2px; border-radius: 4px; }
.sc-lprev { margin: 2px 0 0; min-height: 18px; font-size: 12.5px; color: var(--text-2); }
.sc-lchh { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.sc-pintag { display: inline-block; font-size: 11px; font-weight: 600; color: var(--sel); background: color-mix(in srgb, var(--sel) 8%, transparent); border-radius: 999px; padding: 1px 8px; margin-right: 4px; }
.sc-unpin { width: 24px; height: 24px; }
.sc-rank { margin: 0 0 8px; font-size: 12.5px; color: var(--good); }
.sc-compact { margin: 10px 0 0; font-size: 12px; color: var(--text-2); line-height: 1.45; }
.sc-compact b { font-weight: 600; color: var(--text); }
.sc-lbtns { flex-wrap: wrap; }
.sc-lbtns a.btn { text-decoration: none; }
.sc-lhint { margin: 8px 0 0; }
table.sc-lt tr.pinned td { background: color-mix(in srgb, var(--sel) 7%, transparent); }
table.sc-lt tr.pinned td:first-child { color: var(--sel); font-weight: 600; }
.sc-probe { display: inline-flex; align-items: center; gap: 6px; color: var(--text); }
.sc-probe .x { width: 22px; height: 22px; }
.sc-probering { fill: color-mix(in srgb, var(--surface) 70%, transparent); stroke: var(--sel); stroke-width: 2; pointer-events: none; }
.sc-probex { stroke: var(--sel); stroke-width: 1.2; pointer-events: none; }
.sc-rank.no { color: var(--warn-ink); }

/* panel labels wrap to a second line instead of an ellipsis ("Component sagging about x–x"); the reference-material
   select sits under its label so a long material name is never cut */
main.sec .f > label span { white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.25; }
main.sec .f.sc-selw { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 4px 0; }
main.sec .f.sc-selw > label { display: block; color: var(--text-2); font-size: 13px; white-space: normal; }
main.sec .f.sc-selw select { width: 100%; min-width: 0; }

/* .sc-ltw fades out at the bottom while there are more rows below (fadeBoxes in the page script; the sticky header stays) */
.sc-ltw.fade-b { -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 32px), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 32px), transparent); }

/* theme-auto:start · generated by scripts/theme/hexmap.py: dark values (the rule of scripts/theme/colour.py) for
   colours that are not tokens, written as var(--x-rrggbb, #rrggbb): light is the fallback, unchanged */
@media screen and (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --x-000000: #ffffff; --x-1e4fbf: #749ff5; --x-243a66: #9cb3de; --x-2b4c84: #84a3d6; --x-2d8f9c: #79c1cc;
    --x-355289: #839ed0; --x-3b8c5c: #81c197; --x-44649f: #8aa7db; --x-4a7f8f: #729daa; --x-5677b2: #93b0e4;
    --x-5a5f73: #8c90a2; --x-6a8bc2: #9dbae9; --x-6b1f14: #e59c8e; --x-6b7d2b: #a5b675; --x-6e7177: #85827f;
    --x-7b4f9e: #b995da; --x-7f9ecf: #a0bae4; --x-8a5bb0: #c19ae4; --x-8f3322: #d88574; --x-97b2db: #859abb;
    --x-9c6236: #d3a07c; --x-a9432c: #e68c77; --x-afc5e5: #4f5f76; --x-b04b74: #e78eae; --x-b38b26: #d9b76e;
    --x-c0553a: #f1947c; --x-c4623b: #f19c7b; --x-c7d7ee: #303b4a; --x-c9c9c4: #44423f; --x-d16a4d: #f89f86;
    --x-dbe5f1: #2b3239; --x-dcece2: #28322c; --x-de8265: #faab93; --x-e89b80: #fab9a2; --x-ece0ea: #362e34;
    --x-edf2fa: #26292e; --x-efb49c: #cf9f8c; --x-f4cbb8: #4f3428; --x-f4f4f1: #292724; --x-f8dfd2: #3c2d25;
  }
}
@media screen {
  :root[data-theme="dark"] {
    --x-000000: #ffffff; --x-1e4fbf: #749ff5; --x-243a66: #9cb3de; --x-2b4c84: #84a3d6; --x-2d8f9c: #79c1cc;
    --x-355289: #839ed0; --x-3b8c5c: #81c197; --x-44649f: #8aa7db; --x-4a7f8f: #729daa; --x-5677b2: #93b0e4;
    --x-5a5f73: #8c90a2; --x-6a8bc2: #9dbae9; --x-6b1f14: #e59c8e; --x-6b7d2b: #a5b675; --x-6e7177: #85827f;
    --x-7b4f9e: #b995da; --x-7f9ecf: #a0bae4; --x-8a5bb0: #c19ae4; --x-8f3322: #d88574; --x-97b2db: #859abb;
    --x-9c6236: #d3a07c; --x-a9432c: #e68c77; --x-afc5e5: #4f5f76; --x-b04b74: #e78eae; --x-b38b26: #d9b76e;
    --x-c0553a: #f1947c; --x-c4623b: #f19c7b; --x-c7d7ee: #303b4a; --x-c9c9c4: #44423f; --x-d16a4d: #f89f86;
    --x-dbe5f1: #2b3239; --x-dcece2: #28322c; --x-de8265: #faab93; --x-e89b80: #fab9a2; --x-ece0ea: #362e34;
    --x-edf2fa: #26292e; --x-efb49c: #cf9f8c; --x-f4cbb8: #4f3428; --x-f4f4f1: #292724; --x-f8dfd2: #3c2d25;
  }
}
/* theme-auto:end */
