/* Aura Tools - shared stylesheet (index.html + calculators/*.html).
   v1.4 "Light Blueprint Glass": CSS only, system fonts, no raster images,
   backdrop-filter only inside @supports, motion off under prefers-reduced-motion.
   Trade theme colours keep their values; the other tokens are listed in
   design-lab/tools-redesign-light-glass/NOTES.md.
   Order: width rules, then the touch block (wins on source order), then print. */

:root {
  /* Trade theme (values unchanged) */
  --ot-primary: #131D2C;
  --ot-accent: #574ED1;
  --ot-accent-hover: #4638B6;
  --ot-accent-soft: #ECEFFF;
  --ot-ring: rgba(87,78,209,.16);
  /* Light glass: canvas; text ramp primary > t2 > muted > muted-soft; hairlines; field edge */
  --ot-accent-deep: #3B33A8;
  --ot-bg: #F5F7FB;
  --ot-t2: #33415A;
  --ot-muted: #4D5A71;
  --ot-muted-soft: #5B6880;
  --ot-hair: rgba(87,78,209,.10);
  --ot-hair-2: rgba(87,78,209,.18);
  --ot-hair-3: rgba(87,78,209,.30);
  --ot-wash: rgba(87,78,209,.05);
  --ot-frost: rgba(255,255,255,.74);
  --ot-field-edge: #76829A;
  --ot-halo: 63, 73, 89;
  --ot-glass: rgba(255,255,255,.76);
  --ot-glass-solid: rgba(255,255,255,.94);
  --ot-edge: inset 0 1px 0 rgba(255,255,255,.95);
  --ot-hl: inset 0 0 0 1px var(--ot-hair);
  --ot-hl2: inset 0 0 0 1px var(--ot-hair-2);
  --ot-lit: inset 0 -22px 36px -26px rgba(98,112,255,.20);
  --ot-elev-1: var(--ot-edge), var(--ot-hl), var(--ot-lit), 0 1px 2px rgba(var(--ot-halo),.06), 0 12px 30px -12px rgba(var(--ot-halo),.20);
  --ot-elev-2: var(--ot-edge), var(--ot-hl), var(--ot-lit), 0 2px 4px rgba(var(--ot-halo),.06), 0 28px 64px -18px rgba(var(--ot-halo),.34);
  --ot-pill: inset 0 1px 0 rgba(255,255,255,.34), 0 8px 18px -6px rgba(87,78,209,.6);
  --ot-ticks: linear-gradient(90deg, rgba(87,78,209,.65) 1px, transparent 1px) 0 0 / 40px 7px repeat-x, linear-gradient(90deg, rgba(87,78,209,.65) 1px, transparent 1px) 0 0 / 8px 4px repeat-x;
  --ot-r-card: 16px;
  --ot-radius: 6px;
  --ot-ff: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --ot-mono: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Consolas, monospace;
  --ot-chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%234D5A71' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  --ot-nav-h: 56px;
  --ot-dock-h: 0px;
}

html { -webkit-print-color-adjust: exact; print-color-adjust: exact; color-adjust: exact; scroll-behavior: smooth; }

/* EN / Chinese toggle: sibling spans, data-lang on <html> picks one. [hidden] must always win over component display values. */
[hidden] { display: none !important; }
html[data-lang="en"] .lang-zh { display: none; }
html[data-lang="zh"] .lang-en { display: none; }

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: clip; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, label, figure { margin: 0; }
img, svg { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--ot-accent); outline-offset: 2px; }

body {
  min-height: 100vh;
  font-family: var(--ot-ff);
  background: var(--ot-bg);
  color: var(--ot-t2);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px));
}
body.has-dock { --ot-dock-h: 88px; padding-bottom: calc(var(--ot-dock-h) + 72px + env(safe-area-inset-bottom, 0px)); }

/* Blueprint canvas: two fixed layers (spotlight + grid), never repainted. */
body::before, body::after { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; }
body::before { background: radial-gradient(72% 46% at 50% -12%, rgba(87,78,209,.18), rgba(87,78,209,.05) 55%, transparent 72%), conic-gradient(from 180deg at 50% -4%, transparent 40%, rgba(87,78,209,.06) 46.5%, rgba(80,130,255,.10) 50%, rgba(87,78,209,.06) 53.5%, transparent 60%); }
body::after {
  background-image: linear-gradient(rgba(87,78,209,.075) 1px, transparent 1px), linear-gradient(90deg, rgba(87,78,209,.075) 1px, transparent 1px), linear-gradient(rgba(87,78,209,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(87,78,209,.045) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  mask-image: radial-gradient(130% 95% at 50% 0%, #000 22%, rgba(0,0,0,.35) 70%, rgba(0,0,0,.18));
}

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.wrap-narrow { max-width: 720px; }

/* Glass surfaces: blur only where content scrolls under (nav, pill, dock, sheet) and on cards >= 900 px. */
.glass, .calc-card { position: relative; border-radius: var(--ot-r-card); background: var(--ot-glass-solid); box-shadow: var(--ot-elev-1); }

/* Type */
.eyebrow, .nav-brand, .badge, .calc-panel-tag, .step-now, .rd-label, .rd-val u, .rd-sub, .rd-ends, .rd-pin, .tool-meta, .calc-total-unit, .calc-split-label, .calc-unit-tag, .working summary, .page-footer, .bend-strip-label, .bend-strip-unit, .bend-mark-p, .bend-mark-unit, .bend-modal-shape-id, .bend-tile-id, .run-tile-code, .run-group-l, .bend-fields .calc-field label { font-family: var(--ot-mono); font-weight: 500; text-transform: uppercase; letter-spacing: .08em; }
.eyebrow { display: flex; align-items: center; justify-content: center; gap: 14px; font-size: 12px; line-height: 1.2; color: var(--ot-muted); white-space: nowrap; }
.eyebrow::before, .eyebrow::after { content: ""; flex: 0 1 64px; min-width: 10px; height: 1px; background: linear-gradient(90deg, transparent, rgba(87,78,209,.34)); }
.eyebrow::after { transform: scaleX(-1); }
.grad { color: var(--ot-accent-hover); font-weight: 600; letter-spacing: -.025em; line-height: 1.08; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .grad { background: linear-gradient(180deg, #3B33A8 0%, #574ED1 52%, #2B66D6 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
}
.lede { max-width: 640px; margin: 14px auto 0; font-size: 17px; line-height: 1.55; color: var(--ot-t2); text-wrap: balance; }
.badge, .calc-panel-tag { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: var(--ot-radius); font-size: 12px; line-height: 1; color: var(--ot-t2); background: rgba(87,78,209,.07); box-shadow: var(--ot-hl); }

/* Pill buttons */
.btn, .back, .bend-modal-close { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; background: var(--ot-frost); color: var(--ot-primary); font-weight: 600; text-decoration: none; cursor: pointer; box-shadow: var(--ot-edge), var(--ot-hl2), 0 2px 8px -3px rgba(var(--ot-halo),.22); transition: background .15s ease, box-shadow .15s ease, transform .15s ease; }
.btn { min-height: 44px; padding: 0 18px; font-size: 15px; line-height: 1; }
.btn:hover, .back:hover { background: #fff; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ot-accent); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.32), inset 0 0 0 1px rgba(40,30,140,.30), 0 8px 20px -6px rgba(87,78,209,.58); }
.btn-primary:hover, .tool:hover .btn { background: var(--ot-accent-hover); color: #fff; }
.tool:hover .btn { box-shadow: inset 0 1px 0 rgba(255,255,255,.32), 0 8px 20px -6px rgba(87,78,209,.58); }
.btn svg, .back svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Top bar */
.page-nav { position: sticky; top: 0; z-index: 30; background: rgba(245,247,251,.96); box-shadow: 0 1px 0 var(--ot-hair), 0 10px 24px -18px rgba(var(--ot-halo),.35); }
.nav-in { max-width: 1200px; margin: 0 auto; height: var(--ot-nav-h); padding: 0 16px; display: flex; align-items: center; gap: 10px; }
.nav-brand { font-size: 12px; font-weight: 600; line-height: 1; letter-spacing: .10em; color: var(--ot-muted); white-space: nowrap; }
.nav-brand strong { color: var(--ot-accent-hover); font-weight: 700; }
.back { flex: 0 0 auto; width: 44px; height: 44px; gap: 6px; font-size: 14px; }
.back svg { width: 18px; height: 18px; }
.back-l { display: none; }

/* Language switch: fixed bottom-right on phones, top-right on desktop; outside .page-nav (blur would trap fixed children). */
.lang-switch { position: fixed; z-index: 50; right: 12px; bottom: calc(12px + var(--ot-dock-h) + env(safe-area-inset-bottom, 0px)); display: inline-grid; grid-template-columns: 1fr 1fr; padding: 3px; border-radius: 999px; background: var(--ot-glass-solid); box-shadow: var(--ot-elev-1), 0 10px 24px -8px rgba(var(--ot-halo),.35); }
.lang-pill { position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 999px; background: var(--ot-accent); box-shadow: var(--ot-pill); transition: transform .26s cubic-bezier(.3, .9, .3, 1); }
html[data-lang="zh"] .lang-pill { transform: translateX(100%); }
.lang-btn { position: relative; z-index: 1; min-width: 54px; height: 38px; padding: 0 12px; border: 0; border-radius: 999px; background: none; cursor: pointer; font-size: 13px; font-weight: 700; line-height: 1; color: var(--ot-t2); transition: color .2s; }
.lang-btn::after, .stepper a::after { content: ""; position: absolute; inset: -3px 0; }
.lang-btn[aria-pressed="true"] { color: #fff; }

/* Four-step progress: done = soft, current = solid. */
.stepper { display: flex; align-items: center; justify-content: center; flex: 1; min-width: 0; }
.stepper li { display: flex; align-items: center; gap: 8px; }
.stepper li + li::before { content: ""; width: clamp(8px, 3.6vw, 18px); height: 1px; margin: 0 4px; background: var(--ot-hair-3); }
.stepper a { position: relative; display: flex; align-items: center; gap: 8px; text-decoration: none; }
.stepper a::after { inset: -8px; }
.st-n, .step-n { display: grid; place-items: center; width: 28px; height: 28px; flex: 0 0 auto; border-radius: 50%; font: 600 12px/1 var(--ot-mono); color: var(--ot-muted); background: var(--ot-frost); box-shadow: var(--ot-hl2); }
.stepper .is-done .st-n, .step-n { color: var(--ot-accent-hover); background: var(--ot-accent-soft); box-shadow: inset 0 0 0 1px rgba(87,78,209,.32); }
.stepper .is-current .st-n, .step.is-current .step-n { color: #fff; background: var(--ot-accent); box-shadow: 0 0 0 4px var(--ot-ring), 0 6px 14px -4px rgba(87,78,209,.6); }
.st-l { display: none; font-size: 13px; font-weight: 600; color: var(--ot-t2); white-space: nowrap; }
.step-now { flex: 0 0 auto; font-size: 11.5px; font-weight: 600; line-height: 1; letter-spacing: .10em; color: var(--ot-primary); white-space: nowrap; }

/* Hero and the floating instrument cards (decorative, static transforms) */
.hero { position: relative; text-align: center; padding: 34px 0 6px; }
.hero h1 { margin-top: 16px; font-size: clamp(36px, 10.4vw, 48px); }
.hero-sm { padding-top: 22px; }
.hero-sm h1 { margin-top: 12px; font-size: clamp(30px, 8.6vw, 38px); }
.hero-sm .lede { margin-top: 10px; font-size: 16px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }
.fan { position: relative; height: 178px; margin: 26px auto 0; max-width: 960px; }
.fan-card { position: absolute; top: 0; left: 50%; width: 200px; padding: 14px 16px 16px; text-align: left; }
.fan-c { width: 232px; z-index: 3; transform: translateX(-50%); background: #fff; box-shadow: var(--ot-elev-2); }
.fan-l { z-index: 1; transform: translateX(calc(-50% - 108px)) translateY(20px) rotate(-6deg) scale(.92); }
.fan-r { z-index: 1; text-align: right; transform: translateX(calc(-50% + 108px)) translateY(20px) rotate(6deg) scale(.92); }
.fan-l .rd-val b, .fan-r .rd-val b { font-size: 26px; }
.fan-r .rd-val { justify-content: flex-end; }
.fan-ico { width: 64px; margin: 10px 0 0 auto; border-radius: 12px; background: rgba(245,247,251,.9); box-shadow: var(--ot-hl); }
.dots { display: flex; gap: 5px; margin-top: 10px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(87,78,209,.22); box-shadow: inset 0 0 0 1px rgba(87,78,209,.30); }
.dots i:nth-child(-n+5) { background: var(--ot-accent-soft); }

/* Instrument readout bits (hub cards, dock, ruler) */
.rd-label { display: block; font-size: 11px; line-height: 1.2; letter-spacing: .09em; color: var(--ot-muted); white-space: nowrap; }
.rd-val { display: flex; align-items: baseline; gap: 5px; margin-top: 3px; }
.rd-val b, .calc-total-num, .calc-split-value, .bend-strip-num { font-weight: 600; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.rd-val b { font-size: 30px; line-height: 1.05; color: var(--ot-primary); }
.rd-val u { text-decoration: none; font-size: 12px; line-height: 1; color: var(--ot-muted); }
.rd-cut .rd-val b, .calc-total-num { color: var(--ot-accent-deep); text-shadow: 0 0 22px rgba(87,78,209,.34), 0 0 2px rgba(87,78,209,.12); }
.rd-sub { display: block; margin-top: 3px; font-size: 12px; line-height: 1.2; letter-spacing: .04em; color: var(--ot-muted); white-space: nowrap; }
/* A to B ruler: pin positions come from --at, set per result by the page script. */
.rd-strip { position: relative; height: 62px; margin-top: 14px; }
.rd-ends { position: absolute; left: 0; right: 0; top: 0; display: flex; justify-content: space-between; font-size: 11px; font-weight: 600; line-height: 1; color: var(--ot-muted); }
.rd-ruler { position: absolute; left: 0; right: 0; bottom: 0; height: 22px; border-bottom: 1px solid var(--ot-hair-3); opacity: .9; background: linear-gradient(90deg, rgba(87,78,209,.62) 1px, transparent 1px) 0 100% / 10% 14px repeat-x, linear-gradient(90deg, rgba(87,78,209,.40) 1px, transparent 1px) 0 100% / 2% 7px repeat-x; }
.rd-ruler::after { content: ""; position: absolute; right: 0; bottom: 0; width: 1px; height: 14px; background: rgba(87,78,209,.62); }
.rd-pin { position: absolute; left: var(--at); bottom: 0; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11px; font-weight: 700; line-height: 1; letter-spacing: .06em; color: var(--ot-primary); }
.rd-pin::after { content: ""; width: 1.5px; height: 22px; background: var(--ot-accent); }
.rd-pin::before { order: 2; content: ""; width: 9px; height: 9px; margin-bottom: -4px; border-radius: 50%; background: var(--ot-accent); box-shadow: 0 0 0 3px #fff, 0 0 12px 2px rgba(87,78,209,.55); }
.rd-pin.p { color: var(--ot-t2); }
.rd-pin.p::before { background: #fff; box-shadow: inset 0 0 0 2px var(--ot-accent), 0 0 0 3px rgba(255,255,255,.9); }
.rd-pin.p::after { background: var(--ot-hair-3); }
.fan-c .rd-strip { margin-top: 12px; }

/* Hub sections */
.tools-section { margin-top: 56px; text-align: center; }
.tools-section > h2 { margin-top: 14px; font-size: clamp(26px, 7.4vw, 34px); }
.tools-section > h2 + * { margin-top: 28px; }
.tools { display: grid; gap: 14px; text-align: left; }
.tool { display: flex; flex-direction: column; padding: 20px; text-decoration: none; color: inherit; transition: transform .2s ease, box-shadow .2s ease; }
.tool:hover { transform: translateY(-2px); box-shadow: var(--ot-elev-2); }
.tool-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ico-tile { display: grid; place-items: center; width: 56px; height: 56px; flex: 0 0 auto; border-radius: 50%; color: var(--ot-accent-hover); background: radial-gradient(circle at 50% 18%, #fff, rgba(236,239,255,.7)); box-shadow: var(--ot-edge), var(--ot-hl2), 0 8px 18px -8px rgba(87,78,209,.38); }
.ico-tile svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.tool h3 { margin-top: 18px; font-size: 22px; line-height: 1.2; font-weight: 600; letter-spacing: -.015em; color: var(--ot-primary); }
.tool p { margin-top: 8px; font-size: 16px; color: var(--ot-t2); }
.tool-prev { position: relative; display: flex; gap: 8px; margin-top: 18px; padding-top: 16px; }
.tool-prev::before, .calc-result::before, .bend-dock::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 7px; opacity: .55; pointer-events: none; background: var(--ot-ticks); }
.prev-ico { width: 56px; height: 56px; padding: 4px; border-radius: 12px; background: rgba(245,247,251,.92); box-shadow: var(--ot-hl); }
.prev-wave { width: 100%; height: 56px; fill: none; stroke: rgba(87,78,209,.55); stroke-width: 1.5; stroke-linecap: round; }
.tool-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 18px; }
.tool-meta { font-size: 12px; line-height: 1.3; color: var(--ot-muted); }
.feats { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 26px 14px; }
.feats li { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.feats .ico-tile { margin-bottom: 8px; }
.feats b { font-size: 15px; font-weight: 600; color: var(--ot-primary); }
.feats .s { font-size: 14.5px; color: var(--ot-muted); }
.page-footer { position: relative; margin-top: 56px; padding: 22px 0 8px; text-align: center; font-size: 12px; line-height: 1.5; letter-spacing: .06em; color: var(--ot-muted); }
.page-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--ot-hair-3), transparent); }

/* Calculator components: step cards, fields, readout */
.steps { display: grid; gap: 12px; margin-top: 26px; text-align: left; }
.step { padding: 16px; scroll-margin-top: calc(var(--ot-nav-h) + 12px); }
.step-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.step-title { font-size: 17px; font-weight: 600; letter-spacing: -.01em; color: var(--ot-primary); }
.step-head .badge { margin-left: auto; }
.step-sum { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.step-sum p { font-size: 16px; color: var(--ot-t2); }
.step-sum b { color: var(--ot-primary); font-variant-numeric: tabular-nums; }
.step-sum .btn { flex: 0 0 auto; }
.step .calc-field { margin-bottom: 0; }

.calc-card { padding: 20px 16px; margin-top: 26px; }
.calc-field { margin-bottom: 22px; }
.calc-field > label { display: block; margin-bottom: 8px; font-size: 15px; font-weight: 600; letter-spacing: -.01em; color: var(--ot-primary); }
.calc-input-row { display: flex; gap: 10px; }
.calc-input-wrap { position: relative; }
.calc-unit-tag { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 12px; line-height: 1; letter-spacing: .06em; color: var(--ot-muted); pointer-events: none; }
.calc-input, .calc-unit-select {
  display: block; font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ot-primary);
  background: rgba(255,255,255,.86); border: 0; border-radius: var(--ot-radius);
  box-shadow: inset 0 0 0 1px var(--ot-field-edge), inset 0 2px 4px rgba(var(--ot-halo),.07);
  padding: 13px 14px; min-height: 52px;
  appearance: none; -moz-appearance: textfield;
}
.calc-input { flex: 1; min-width: 0; width: 100%; }
.calc-input::-webkit-outer-spin-button, .calc-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc-input::placeholder { color: var(--ot-muted-soft); font-weight: 400; }
.calc-input:focus, .calc-unit-select:focus { outline: 0; box-shadow: inset 0 0 0 1.5px var(--ot-accent), 0 0 0 3px var(--ot-ring); }
.calc-unit-select, .calc-input-open { cursor: pointer; padding-right: 34px; background: rgba(255,255,255,.86) var(--ot-chev) no-repeat right 13px center / 10px 6px; }
.calc-unit-select { flex: 0 0 92px; }
.calc-input-open { letter-spacing: .08em; text-transform: uppercase; }
.calc-hint { margin-top: 8px; font-size: 14px; color: var(--ot-muted); line-height: 1.5; }

/* Result = instrument readout: glass card, tick rule on top, glowing figure. */
.calc-result { position: relative; margin-top: 4px; padding: 22px 18px 18px; overflow: hidden; background: var(--ot-glass-solid); }
.calc-total-row { display: flex; align-items: baseline; gap: 10px; margin: 14px 0 4px; flex-wrap: wrap; }
.calc-total-num { font-size: clamp(44px, 14vw, 60px); line-height: 1; }
.calc-total-unit { font-size: 12px; line-height: 1.3; letter-spacing: .06em; color: var(--ot-muted); }
.calc-split { margin-top: 12px; display: flex; gap: 10px; }
.calc-split-box { flex: 1; padding: 10px 12px; text-align: center; border-radius: 12px; background: var(--ot-wash); box-shadow: var(--ot-hl); }
.calc-split-label { font-size: 12px; line-height: 1.3; color: var(--ot-muted); }
.calc-split-value { font-size: 26px; color: var(--ot-accent-deep); }
.working { margin-top: 14px; border-radius: 12px; background: var(--ot-wash); box-shadow: var(--ot-hl); }
.working summary { display: flex; align-items: center; justify-content: space-between; min-height: 44px; padding: 0 14px; cursor: pointer; list-style: none; font-size: 13px; line-height: 1; letter-spacing: .09em; color: var(--ot-t2); }
.working summary::-webkit-details-marker { display: none; }
.working summary::after { content: ""; width: 8px; height: 8px; margin-top: -3px; border: solid var(--ot-muted); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .2s; }
.working[open] summary::after { margin-top: 3px; transform: rotate(225deg); }
.calc-steps { padding: 0 14px 12px; font: 400 13px/1.7 var(--ot-mono); color: var(--ot-t2); word-break: break-word; }
.calc-message { padding: 14px 16px; font-size: 16px; color: var(--ot-muted); border: 1px dashed var(--ot-hair-3); border-radius: 12px; background: var(--ot-wash); }

/* Track Bending. Segmented controls: pill track, two equal options (>= 52 px); the pressed
   one is a solid accent pill with white text AND a check mark (never colour alone). */
.bend-projection, .bend-segmented { display: flex; padding: 4px; border-radius: 999px; background: var(--ot-wash); box-shadow: var(--ot-hl), inset 0 2px 6px rgba(var(--ot-halo),.07); }
.bend-projection-btn, .bend-segmented-btn {
  flex: 1 1 0; min-width: 0; min-height: 52px;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 15px; font-weight: 600; line-height: 1.3; text-align: center;
  color: var(--ot-t2); background: transparent; border: 0; border-radius: 999px;
  padding: 10px 8px; cursor: pointer;
  transition: background-color .2s, color .2s, box-shadow .2s;
}
.bend-segmented-btn { min-height: 52px; }
.bend-projection-btn { flex-direction: column; gap: 2px; line-height: 1.15; padding: 6px 8px; }
.bend-segmented-btn:hover, .bend-projection-btn:hover { background: rgba(87,78,209,.08); }
.bend-segmented-btn[aria-pressed="true"] { background: var(--ot-accent); color: #fff; box-shadow: var(--ot-pill); }
.bend-segmented-btn[aria-pressed="true"]::before { content: "\2713"; font-size: 14px; }
.bend-segmented-btn:focus-visible, .bend-projection-btn:focus-visible { outline: 3px solid var(--ot-accent); outline-offset: 2px; }
.bend-projection-btn .bend-projection-sub { display: block; font: 500 11.5px/1.1 var(--ot-mono); letter-spacing: .06em; color: var(--ot-muted); transition: color .2s; }
.bend-projection-btn[aria-pressed="true"] { background: var(--ot-accent); color: #fff; box-shadow: var(--ot-pill); }
.bend-projection-btn[aria-pressed="true"] .bend-projection-sub { color: rgba(255,255,255,.88); }

/* minmax(0, 1fr), not 1fr: a bare 1fr will not shrink below the long shape-id caption (22 px overflow at 375 px). */
.bend-shape-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
@media (min-width: 640px) {
  .bend-shape-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tools { grid-template-columns: 1fr 1fr; }
  .feats { grid-template-columns: repeat(4, 1fr); }
}
.bend-tile {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px;
  text-align: center; cursor: pointer;
  background: rgba(255,255,255,.72); border: 0; border-radius: 14px; padding: 10px 10px 12px; min-width: 0;
  box-shadow: var(--ot-edge), var(--ot-hl), 0 6px 16px -10px rgba(var(--ot-halo),.3);
  transition: box-shadow .18s ease, transform .18s ease;
}
.bend-tile:hover, .bend-tile:focus-visible { transform: translateY(-2px); box-shadow: var(--ot-edge), inset 0 0 0 1px var(--ot-hair-3), 0 14px 26px -12px rgba(var(--ot-halo),.38); }
.bend-tile:active { transform: scale(.98); }
.bend-tile.is-chosen { box-shadow: var(--ot-edge), inset 0 0 0 2px var(--ot-accent), 0 0 0 4px var(--ot-ring), 0 14px 28px -12px rgba(87,78,209,.5); }
.bend-tile.is-chosen::after { content: "\2713"; position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font-size: 13px; font-weight: 700; color: #fff; background: var(--ot-accent); box-shadow: 0 0 0 3px #fff, 0 4px 10px -2px rgba(87,78,209,.6); }
.bend-tile img { width: 100%; max-width: 168px; aspect-ratio: 1 / 1; object-fit: contain; background: rgba(245,247,251,.95); border-radius: 10px; box-shadow: var(--ot-hl); }
.bend-tile-label { font-size: 12px; font-weight: 600; color: var(--ot-primary); line-height: 1.35; }
.bend-tile-id { max-width: 100%; font-size: 10.5px; line-height: 1.3; letter-spacing: .02em; color: var(--ot-muted); overflow-wrap: anywhere; }
@media (max-width: 400px) {
  .bend-tile { padding: 8px; }
  .bend-tile-id { font-size: 9.5px; letter-spacing: 0; }
}

/* Wavefold runner calculator (v1.5, v1.6): opening picker (tiles reuse .bend-tile), live diagram, overviews.
   The radio is stretched over its whole tile and drawn invisible; the global focus ring still shows. */
.run-group-l { margin: 16px 0 10px; font-size: 12px; line-height: 1.2; color: var(--ot-muted); }
.run-picker > .run-group-l:first-child { margin-top: 0; }
.run-picker { margin-bottom: 8px; }
.run-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 640px) {
  .run-grid-s { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .run-grid-d { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.run-radio { -webkit-appearance: none; appearance: none; position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; border-radius: 14px; background: transparent; cursor: pointer; }
.run-tile-code { font-size: 14px; font-weight: 700; line-height: 1.2; color: var(--ot-accent-hover); }
.run-diagram { margin-bottom: 18px; }
.run-plate { aspect-ratio: 480 / 266; }
.run-plate svg { width: 100%; height: auto; border-radius: 12px; }
.run-cap { margin-top: 10px; text-align: center; font-size: 14px; line-height: 1.4; color: var(--ot-muted); }
.run-how-body { display: grid; gap: 22px; padding: 4px 14px 16px; }
.run-how-body img { width: 100%; max-width: 520px; height: auto; margin: 0 auto; border-radius: 12px; background: #fff; box-shadow: var(--ot-hl); }

/* Enlarge dialog: centred glass card by default; the touch block makes it a sheet, the desktop block two columns. */
.bend-modal { border: 0; padding: 0; color: var(--ot-t2); overflow: hidden; width: min(560px, 92vw); max-height: 90vh; border-radius: 22px; background: var(--ot-glass-solid); box-shadow: var(--ot-elev-2); }
.bend-modal::backdrop { background: rgba(30,36,78,.34); }
.bend-modal[open] { animation: bend-sheet-up .28s cubic-bezier(.2, .8, .2, 1); }
@keyframes bend-sheet-up { from { transform: translateY(28px); opacity: .6; } to { transform: none; opacity: 1; } }
.bend-modal-body { padding: 20px; overflow-y: auto; max-height: 90vh; }
.bend-modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.bend-modal-type { margin-bottom: 8px; }
.bend-modal-title { font-size: 17px; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; color: var(--ot-primary); }
.bend-modal-shape-id { display: block; margin-top: 4px; font-size: 11.5px; line-height: 1.2; color: var(--ot-muted); }
.bend-modal-close { flex: 0 0 auto; width: 44px; height: 44px; font-size: 24px; line-height: 1; font-weight: 400; color: var(--ot-t2); }
/* Annotated diagram (480 x 448) on a white plate with viewfinder corners; LAST in the DOM so
   single-column layouts show inputs first (<= 40vh); only the wide mouse layout moves it left. */
.bend-modal-diagram, .run-plate { position: relative; max-width: 520px; margin: 16px auto 0; border-radius: 12px; background: #fff; box-shadow: var(--ot-hl), 0 10px 24px -14px rgba(var(--ot-halo),.3); }
.bend-modal-diagram::after, .run-plate::after { --c: linear-gradient(#8C98AE, #8C98AE); content: ""; position: absolute; inset: -5px; pointer-events: none; opacity: .6; background: var(--c) 0 0 / 14px 1.5px, var(--c) 0 0 / 1.5px 14px, var(--c) 100% 0 / 14px 1.5px, var(--c) 100% 0 / 1.5px 14px, var(--c) 0 100% / 14px 1.5px, var(--c) 0 100% / 1.5px 14px, var(--c) 100% 100% / 14px 1.5px, var(--c) 100% 100% / 1.5px 14px; background-repeat: no-repeat; }
.bend-modal-image { display: block; width: 100%; max-width: 520px; max-height: 40vh; margin: 0 auto; aspect-ratio: 480 / 448; object-fit: contain; border-radius: 12px; }
.bend-fields { display: flex; gap: 10px; margin-bottom: 4px; flex-wrap: wrap; }
.bend-fields .calc-field { flex: 1; min-width: 100px; margin-bottom: 0; }
.bend-fields .calc-field label { font-size: 12px; font-weight: 600; line-height: 1.2; color: var(--ot-muted); margin-bottom: 6px; }
.bend-fields .calc-input { padding-right: 46px; }
.bend-fields + .calc-hint { margin-bottom: 18px; }
.bend-result-head { font-size: 13px; font-weight: 600; line-height: 1.45; color: var(--ot-accent-hover); }
.bend-result-type { color: var(--ot-primary); }
.bend-result-sep { margin: 0 2px; color: var(--ot-muted-soft); }
/* Per bend: machine mark M (large) over bend midpoint P, both measured from end A. */
.bend-mark-row { flex-wrap: wrap; }
.bend-mark-box { flex: 1 1 128px; min-width: 0; padding: 12px 10px; }
.bend-mark-box .calc-split-value { font-size: 30px; line-height: 1.1; white-space: nowrap; }
.bend-mark-unit { margin-left: 4px; font-size: 12px; line-height: 1; letter-spacing: .06em; color: var(--ot-muted); }
.bend-mark-p { margin-top: 6px; font-size: 12px; line-height: 1.3; letter-spacing: 0; color: var(--ot-muted); }
.bend-mark-p b { font-weight: 700; color: var(--ot-primary); font-variant-numeric: tabular-nums; }
.bend-mark-align { margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--ot-accent-hover); }
/* Strip and Done bar: touch sheet only. Dock: page-level result bar while the dialog is closed. */
.bend-strip { display: none; }
.bend-done { display: none; }
.bend-dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; gap: 14px; padding: 16px 16px calc(12px + env(safe-area-inset-bottom, 0px)); background: var(--ot-glass-solid); box-shadow: var(--ot-edge), 0 -1px 0 var(--ot-hair), 0 -16px 30px -14px rgba(var(--ot-halo),.26); }
.bend-dock .rd-cell { flex: 1 1 0; min-width: 0; }
.bend-dock .btn { flex: 0 0 auto; padding: 0 20px; }

@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .page-nav { background: rgba(245,247,251,.74); }
  .lang-switch { background: rgba(255,255,255,.84); }
  .glass, .calc-card { background: rgba(255,255,255,.88); }
  .bend-modal { background: rgba(255,255,255,.90); }
  .bend-dock { background: rgba(255,255,255,.93); }
  .page-nav, .lang-switch, .bend-dock { -webkit-backdrop-filter: blur(14px) saturate(1.35); backdrop-filter: blur(14px) saturate(1.35); }
  .bend-modal { -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3); }
  .bend-modal::backdrop { -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
  @media (min-width: 900px) { .glass, .calc-card, .fan-c { background: var(--ot-glass); -webkit-backdrop-filter: blur(14px) saturate(1.35); backdrop-filter: blur(14px) saturate(1.35); } }
}

/* Desktop dialog: two columns, diagram left (last in the DOM; grid-template-areas places it).
   Gated on a fine pointer WITH hover, not width: a large / foldable phone can report >= 760 px. */
@media (min-width: 900px) and (pointer: fine) and (hover: hover) {
  .bend-modal { width: min(960px, 94vw); }
  .bend-modal-main { display: grid; grid-template-columns: minmax(0, 520px) minmax(280px, 1fr); grid-template-areas: "diagram panel"; gap: 26px; align-items: start; }
  .bend-modal-diagram { grid-area: diagram; margin-top: 0; }
  .bend-modal-panel { grid-area: panel; }
  .bend-modal-image { max-height: 44vh; }
  .bend-modal-body { padding: 20px 28px 24px; }
  .bend-modal-head { margin-bottom: 10px; }
  .bend-mark-box { padding: 8px 10px; }
  .rd-strip { margin-top: 10px; }
  .bend-modal-title { font-size: 22px; }
}

/* Plain width rules (touch included; the touch block refines them). */
@media (min-width: 900px) {
  :root { --ot-nav-h: 64px; }
  .wrap, .nav-in { padding: 0 32px; }
  .nav-in { gap: 18px; padding-right: 220px; }
  .nav-brand { font-size: 13px; }
  .back { width: auto; padding: 0 16px 0 12px; }
  .back-l { display: inline; }
  .lang-switch { top: 11px; bottom: auto; right: calc(max(0px, (100vw - 1200px) / 2) + 32px); }
  .stepper { justify-content: flex-end; }
  .stepper li + li::before { width: 36px; margin: 0 10px; }
  .st-l { display: inline; }
  .stepper .is-current .st-l { color: var(--ot-primary); }
  .step-now { display: none; }
  body { padding-bottom: 72px; }
  body.has-dock { padding-bottom: 140px; }
  .hero { padding-top: 72px; }
  .hero h1 { font-size: 68px; }
  .hero-sm { padding-top: 48px; }
  .hero-sm h1 { font-size: 56px; }
  .hero-sm .lede { font-size: 17px; }
  .lede { font-size: 18px; max-width: 660px; }
  .fan { height: 240px; margin-top: 52px; }
  .fan-card { width: 290px; padding: 18px 20px 20px; }
  .fan-c { width: 360px; }
  .fan-l { transform: translateX(calc(-50% - 330px)) translateY(26px) rotate(-5deg); }
  .fan-r { transform: translateX(calc(-50% + 330px)) translateY(26px) rotate(5deg); }
  .fan-c .rd-val b { font-size: 56px; }
  .fan-l .rd-val b, .fan-r .rd-val b { font-size: 44px; }
  .tools-section { margin-top: 96px; }
  .tools-section > h2 { font-size: 40px; }
  .tools { gap: 20px; }
  .tool { padding: 28px; }
  .tool h3 { font-size: 26px; }
  .feats::before { content: ""; position: absolute; left: 12%; right: 12%; top: 28px; height: 1px; background: linear-gradient(90deg, transparent, var(--ot-hair-3) 18%, var(--ot-hair-3) 82%, transparent); }
  .feats .ico-tile { position: relative; }
  .page-footer { margin-top: 112px; }
  .steps { grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
  .step { padding: 22px; }
  .step-shape, .step-measure { grid-column: 1 / -1; }
  .bend-shape-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
  .calc-result { padding: 20px 20px 14px; }
  .calc-total-row { margin: 8px 0 2px; }
  .calc-total-num { font-size: 56px; }
  .bend-dock { left: 50%; right: auto; bottom: 18px; width: min(680px, calc(100% - 48px)); transform: translateX(-50%); border-radius: var(--ot-r-card); padding: 16px 20px; box-shadow: var(--ot-elev-2); }
  .bend-dock::before { display: none; }
  .bend-dock .rd-val b { font-size: 34px; }
}
@media (max-width: 560px) {
  .bend-modal { width: 100vw; height: 100vh; max-height: 100vh; max-width: 100vw; border-radius: 0; margin: 0; }
  .bend-modal-body { max-height: 100vh; }
}

/* Touch layout (2026-10-11 hotfix): keys on TOUCH CAPABILITY, not width (a phone reporting
   >= 760 px used to get the desktop layout). Applies at any width, sits AFTER the width
   rules (source order wins); the desktop dialog block needs (pointer: fine) and
   (hover: hover), so they never both match. Page script repeats the query as TOUCH_QUERY. */
@media (pointer: coarse), (hover: none) {
  html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
  body { font-size: 17px; }
  .lang-btn { min-height: 40px; font-size: 14px; padding: 0 16px; }
  .tools-section > h2 { font-size: 28px; }

  /* Steps read as headings; step cards stay one column at any width. */
  .calc-card { padding: 20px 16px; }
  .steps { grid-template-columns: 1fr; }
  .step-title { font-size: 20px; }
  .calc-field > label { font-size: 17px; }
  .calc-card > .calc-field > label { font-size: 20px; }

  /* Inputs: big numerals, tall targets, no spin buttons (useless under a numeric keypad). */
  .calc-input, .calc-unit-select { font-size: 22px; min-height: 56px; }
  .calc-input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
  .calc-input[type="number"]::-webkit-outer-spin-button,
  .calc-input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

  /* Segmented controls: full width, big targets. */
  .bend-segmented, .bend-projection { width: 100%; }
  .bend-segmented-btn { min-height: 56px; font-size: 17px; }
  .bend-segmented-btn[aria-pressed="true"]::before { font-size: 17px; }
  .bend-projection-btn { min-height: 56px; font-size: 17px; }
  .bend-projection-btn .bend-projection-sub { font-size: 13px; }

  /* Tiles: at most two columns at any width; the developer shape id is hidden (the dialog shows it). */
  .bend-shape-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .bend-tile { min-height: 140px; padding: 12px; gap: 8px; justify-content: flex-start; }
  .bend-tile img { min-width: 72px; min-height: 72px; }
  .bend-tile-label { font-size: 14px; }
  .bend-tile-id { display: none; }
  .run-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .run-tile-code { font-size: 16px; }
  .run-cap { font-size: 15px; }

  /* Dialog = full-screen sheet: title bar, pinned result strip, ONE scroll area (W inputs,
     result, diagram in DOM order), Done bar. Inputs first so the soft keyboard never hides
     them; the strip keeps the numbers in view; Done is a convenience (iOS keeps it under the keyboard). */
  .bend-modal {
    position: fixed; inset: 0; margin: 0;
    width: 100%; max-width: none;
    height: 100vh; height: 100dvh; max-height: none;
    border-radius: 0; box-shadow: none;
  }
  .bend-modal-body { display: flex; flex-direction: column; height: 100%; max-height: none; padding: 0; overflow: hidden; }
  .bend-modal-head { flex: 0 0 auto; align-items: center; margin: 0; padding: 10px 16px; background: rgba(255,255,255,.6); box-shadow: 0 1px 0 var(--ot-hair); }
  .bend-modal-title { font-size: 18px; }
  .bend-modal-shape-id { font-size: 12px; }
  .bend-modal-close { width: 48px; height: 48px; font-size: 28px; }

  /* Pinned result strip. */
  .bend-strip { position: relative; display: flex; flex: 0 0 auto; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 2px 22px; padding: 8px 16px 10px; background: rgba(236,239,255,.86); box-shadow: 0 1px 0 var(--ot-hair-2); }
  .bend-strip-item { display: inline-flex; align-items: baseline; gap: 6px; white-space: nowrap; }
  .bend-strip-label { font-size: 12px; line-height: 1.2; letter-spacing: .09em; color: var(--ot-muted); }
  .bend-strip-num { font-size: 26px; line-height: 1.25; color: var(--ot-accent-deep); }
  .bend-strip-unit { font-size: 12px; line-height: 1; letter-spacing: 0; color: var(--ot-muted); }
  /* Runner page: the same strip pinned under the header (a direct child of <body>, so sticky spans the page); solid, so scrolling content never ghosts through the figures. */
  .run-strip { position: sticky; top: var(--ot-nav-h); z-index: 29; gap: 2px 8px; background: #ECEFFF; }

  .bend-modal-main { display: block; flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 16px 16px 24px; }
  .bend-done { display: block; flex: 0 0 auto; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--ot-glass-solid); box-shadow: 0 -1px 0 var(--ot-hair-2), 0 -12px 24px -16px rgba(var(--ot-halo),.3); }
  .bend-done .btn { width: 100%; min-height: 56px; font-size: 18px; }
  /* Wide touch screens: readable column. */
  .bend-modal-head, .bend-strip, .bend-modal-main, .bend-done {
    padding-left: max(16px, calc((100% - 720px) / 2));
    padding-right: max(16px, calc((100% - 720px) / 2));
  }
  .bend-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 8px; }
  .bend-fields .calc-field { min-width: 0; }
  .bend-fields .calc-field label { font-size: 17px; margin-bottom: 6px; }
  .bend-result-head { font-size: 15px; }
  .bend-mark-p { font-size: 13px; }
  .bend-mark-align { font-size: 15px; }
  .bend-modal-diagram { margin-top: 20px; }
  .btn, .bend-dock .btn { min-height: 48px; }

  /* Page scroll lock while the sheet is open (class set and removed by the page script). */
  html.bend-sheet-open, html.bend-sheet-open body { overflow: hidden; overscroll-behavior: none; scroll-behavior: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .bend-modal[open] { animation: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Short touch viewports (keyboard open, landscape): drop the shape-id line and Done bar. */
@media (pointer: coarse) and (max-height: 560px), (hover: none) and (max-height: 560px) {
  .bend-modal-shape-id, .bend-done { display: none; }
  .bend-modal-head { padding-top: 6px; padding-bottom: 6px; }
  .bend-modal-type { margin-bottom: 4px; }
  .bend-modal-close { width: 44px; height: 44px; }
}

/* Large touch screens (>= 700 px CSS width: foldables, display scaling): one step bigger. */
@media (pointer: coarse) and (min-width: 700px), (hover: none) and (min-width: 700px) {
  body { font-size: 19px; }
  .calc-card > .calc-field > label, .step-title { font-size: 22px; }
  .tools-section > h2 { font-size: 34px; }
  .calc-field > label, .bend-fields .calc-field label { font-size: 19px; }
  .calc-hint { font-size: 15px; }
  .calc-input, .calc-unit-select { font-size: 24px; min-height: 60px; }
  .bend-segmented-btn, .bend-projection-btn { min-height: 64px; font-size: 19px; }
  .bend-projection-btn .bend-projection-sub { font-size: 15px; }
  .bend-tile-label { font-size: 16px; }
  .bend-modal-title { font-size: 20px; }
}

/* Print */
@media print {
  @page { margin: 14mm; }
  body { background: #fff; padding-bottom: 0; }
  body::before, body::after { display: none; }
  .page-nav, .lang-switch, .bend-dock, .run-strip { display: none; }
  .wrap { max-width: 100%; padding: 0; }
  .grad { background: none; -webkit-text-fill-color: currentColor; color: var(--ot-accent-deep); }
  .glass, .calc-card { box-shadow: none; background: #fff; border: 1px solid var(--ot-hair-2); }
  a { color: inherit; text-decoration: none; }
}
