/* Calculadora «¿Cuánto vale tu coche?» (solo vender-mi-coche.html). Estilos sin cambios respecto a la versión anterior;
   usan los alias de color definidos en styles.css. */
/* ---------- valuation section (dark) ---------- */
.trade { background: var(--bg); color: var(--text); overflow: hidden; }
.trade .h2 { color: var(--white); }
.trade .h2 em { color: var(--rose); }
.trade-lead { margin-top: var(--s4); color: var(--cream-2); max-width: 52ch; }
.trade-grid { display: grid; gap: var(--s7); }
.calc-points { display: grid; gap: 0.75rem; margin-top: 1.75rem; }
.calc-points li { display: flex; gap: 0.875rem; align-items: flex-start; color: var(--cream-2); }
.calc-points b { display: grid; place-items: center; flex: none; width: 2rem; height: 2rem; border-radius: 0.25rem; background: var(--primary-hi); color: var(--on-primary); font: 800 .9375rem var(--display); }
.calc-direct { margin-top: 1.75rem; padding: 1.125rem; border-radius: var(--radius); background: oklch(1 0 0 / .05); border: 1px solid oklch(1 0 0 / .12); }
.calc-direct p { font-weight: 700; margin-bottom: 0.75rem; }
.calc-direct-btns { display: flex; flex-wrap: wrap; gap: 0.625rem; }
/* ---------- Valuation calculator ("¿Cuánto vale tu coche?") ---------- */

.calc {
  position: relative; align-self: start; overflow: hidden;
  border-radius: 0.75rem; background: var(--bg); color: var(--ink);
  box-shadow: 0 3.125rem 6.25rem -40px oklch(0.12 0.03 var(--hue) / .7), 0 0 0 1px oklch(1 0 0 / .06);
}
.calc-top { padding: 1rem 1.25rem 0; background: var(--navy-2); color: var(--cream); }
.calc-top-row { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.calc-step-label { font-size: 0.8125rem; color: oklch(0.99 0.004 var(--hue) / .75); }
.calc-step-label b { color: var(--warm); font-weight: 600; }
.calc-lang { display: inline-flex; padding: 0.1875rem; border-radius: 62.4375rem; background: oklch(0.99 0.004 var(--hue) / .1); }
.calc-lang button { min-width: 2.5rem; min-height: 2rem; border-radius: 62.4375rem; font-size: 0.7812rem; font-weight: 600; color: oklch(0.99 0.004 var(--hue) / .75); transition: background .3s, color .3s; }
.calc-lang button[aria-pressed="true"] { background: var(--cream); color: var(--navy); }
.calc-progress { height: 0.25rem; margin: 0.875rem -20px 0; background: oklch(0.99 0.004 var(--hue) / .12); }
.calc-progress span { display: block; width: 25%; height: 100%; background: var(--primary-hi); border-radius: 0 0.25rem 0.25rem 0; transition: width .7s var(--ease-out); }

.calc-stage { position: relative; transition: height .45s var(--ease-out); }
.calc-step { padding: 1.5rem 1.25rem 1.625rem; }
.calc-step[hidden] { display: none; }
.js .calc-step { transition: opacity .42s var(--ease-out), transform .48s var(--ease-out); }
.calc-step.is-entering-right { position: absolute; inset: 0 0 auto; opacity: 0; transform: translateX(2.5rem); }
.calc-step.is-entering-left { position: absolute; inset: 0 0 auto; opacity: 0; transform: translateX(-40px); }
.calc-step.is-leaving-left { position: absolute; inset: 0 0 auto; opacity: 0; transform: translateX(-40px); pointer-events: none; }
.calc-step.is-leaving-right { position: absolute; inset: 0 0 auto; opacity: 0; transform: translateX(2.5rem); pointer-events: none; }
.calc-step.is-active { position: relative; opacity: 1; transform: none; }
.calc-title { font-size: clamp(1.5rem, 3.4vw, 1.875rem); outline: none; }
.calc-sub { margin-top: 0.5rem; color: var(--ink-soft); font-size: 0.9375rem; }
.calc-fields { display: grid; gap: 0.875rem; margin-top: 1.25rem; }
.calc-fields[hidden] { display: none; }
.calc { container-type: inline-size; }
.calc .form-row { grid-template-columns: 1fr; }
.calc .form-row > * { min-width: 0; }
@container (min-width: 470px) {
  .calc .form-row { grid-template-columns: 1fr 1fr; }
  .damage { grid-template-columns: 12.5rem 1fr !important; justify-items: stretch !important; }
}
.calc-nav { display: flex; align-items: center; justify-content: space-between; gap: 0.625rem; margin-top: 0.375rem; }
.calc-link { margin-top: 0.875rem; font-size: 0.875rem; font-weight: 600; color: var(--accent-2); text-decoration: underline; text-underline-offset: 0.1875rem; }
.calc-alert { padding: 0.625rem 0.75rem; border-radius: 0.75rem; background: #fdecea; color: #a2311f; font-size: 0.875rem; }
.calc-alert[hidden], .calc-ok[hidden] { display: none; }
.calc-ok { padding: 0.625rem 0.75rem; border-radius: 0.75rem; background: oklch(0.52 0.13 150 / .1); color: #1f6e3f; font-size: 0.875rem; font-weight: 500; }
.calc-privacy { display: flex; gap: 0.5rem; align-items: flex-start; margin-top: 0.75rem; font-size: 0.8125rem; color: var(--mute); }
.calc-privacy svg { flex: none; width: 1rem; height: 1rem; margin-top: 2px; fill: none; stroke: var(--green); stroke-width: 2; stroke-linecap: round; }

.drop {
  position: relative; display: grid; justify-items: center; gap: 0.375rem; margin-top: 1.125rem; padding: 1.75rem 1rem;
  border: 2px dashed oklch(0.21 0.02 var(--hue) / .25); border-radius: 0.5rem; background: var(--paper); text-align: center; cursor: pointer;
  transition: border-color .3s, background .3s, transform .5s var(--ease-out);
}
.drop:focus-within { border-color: var(--accent); box-shadow: 0 0 0 0.25rem color-mix(in oklch, var(--color-primary) 14%, transparent); }
.drop input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.drop.is-busy { pointer-events: none; opacity: .6; }
.drop-ico { display: grid; place-items: center; width: 3.375rem; height: 3.375rem; border-radius: 50%; background: var(--navy); color: var(--cream); }
.drop-ico svg { width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.drop-main { font: 600 1.125rem var(--serif); }
.drop-hint { font-size: 0.8125rem; color: var(--mute); }
.calc-reading { display: flex; align-items: center; gap: 0.625rem; margin-top: 0.875rem; font-weight: 500; }
.calc-reading[hidden] { display: none; }
.spinner { width: 1.25rem; height: 1.25rem; border-radius: 50%; border: 0.1562rem solid color-mix(in oklch, var(--color-primary) 25%, transparent); border-top-color: var(--accent); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.pot { display: flex; gap: 0.5rem; }
.pot input { flex: 1; min-width: 0; min-height: 3.125rem; padding: 0.75rem 0.875rem; font-size: 1rem; background: var(--paper); border: 1.5px solid var(--line-2); border-radius: var(--radius-s); }
.pot input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 0.25rem color-mix(in oklch, var(--color-primary) 14%, transparent); }
.field.is-invalid .pot input { border-color: #d23b2a; }
.seg { display: flex; flex-wrap: wrap; gap: 0.375rem; }
.seg button {
  flex: 1 1 auto; min-height: 2.875rem; padding: 0 0.875rem; border-radius: 0.375rem;
  border: 1.5px solid var(--line-2); background: var(--paper); font-size: 0.9375rem; font-weight: 500;
  transition: background .25s, color .25s, border-color .25s, transform .35s var(--ease-bounce);
}
.seg button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--cream); transform: scale(1.02); }
.seg-sm button { min-height: 3.125rem; flex: none; min-width: 3.25rem; }

.damage { display: grid; grid-template-columns: 1fr; justify-items: center; gap: 1rem; align-items: center; padding: 0.875rem; border-radius: 0.5rem; background: var(--paper); border: 1px solid var(--line); }
.damage-side { width: 100%; }
.car-map { width: 100%; max-width: 12.5rem; height: auto; overflow: visible; }
.car-map .car-body { fill: #f6eef0; stroke: var(--navy); stroke-width: 2.5; }
.car-glass { fill: #e3d3d6; }
.car-wheel { fill: var(--navy); }
.car-dir { font: 600 0.625rem var(--sans); letter-spacing: .14em; fill: var(--mute); pointer-events: none; }
.zone { fill: oklch(0.21 0.02 var(--hue) / .04); stroke: oklch(0.21 0.02 var(--hue) / .35); stroke-width: 1.5; stroke-dasharray: 4 3; cursor: pointer; transition: fill .25s, stroke .25s; outline: none; transform-box: fill-box; transform-origin: center; }
.zone:focus-visible { stroke: var(--accent); stroke-width: 3; stroke-dasharray: none; }
.zone.is-scratch { fill: rgba(242, 176, 74, .75); stroke: #b27414; stroke-dasharray: none; }
.zone.is-dent { fill: rgba(210, 59, 42, .78); stroke: #8f2215; stroke-dasharray: none; }
.zone.is-pop { animation: zonePop .45s var(--ease-bounce); }
@keyframes zonePop { 40% { transform: scale(1.06); } }
.legend { display: grid; gap: 0.5rem; font-size: 0.8438rem; color: var(--ink-soft); }
.legend li { display: flex; align-items: center; gap: 0.5rem; }
.lg { width: 1rem; height: 1rem; border-radius: 0.25rem; flex: none; }
.lg-none { border: 1.5px dashed oklch(0.21 0.02 var(--hue) / .4); }
.lg-scratch { background: rgba(242, 176, 74, .85); }
.lg-dent { background: rgba(210, 59, 42, .85); }
.damage-sum { margin-top: 0.875rem; font-weight: 600; font-size: 0.9375rem; }
.damage-side .calc-link { margin-top: 0.5rem; }

.photos { display: flex; flex-wrap: wrap; gap: 0.625rem; }
.photo, .photo-add { position: relative; width: 4.75rem; height: 4.75rem; border-radius: 0.875rem; overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo button { position: absolute; top: 0.25rem; right: 0.25rem; display: grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: oklch(0.16 0.04 var(--hue) / .75); color: #fff; font-size: 1rem; line-height: 1; }
.photo-add { display: grid; place-content: center; justify-items: center; border: 2px dashed var(--line-2); background: var(--paper); color: var(--mute); cursor: pointer; transition: border-color .3s, color .3s; }
.photo-add[hidden] { display: none; }
.photo-add input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.photo-add span { font-size: 1.625rem; line-height: 1; }
.photo-add em { font-style: normal; font-size: 0.75rem; }

/* one optional photo per marked damage */
.dmg-photos { margin-top: 1.125rem; }
.dmg-photos[hidden] { display: none; }
.dmg-photos-t { font-weight: 700; font-size: 0.9375rem; margin-bottom: 0.5rem; }
.dmg-list { display: grid; gap: 0.5rem; margin-bottom: 0.5rem; }
.dmg-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 0.75rem; padding: 0.625rem 0.75rem; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--paper); }
.dmg-what { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9062rem; min-width: 0; }
.dmg-add, .dmg-has { display: flex; align-items: center; gap: 0.5rem; }
.dmg-thumb { width: 3rem; height: 3rem; border-radius: var(--radius-s); object-fit: cover; flex: none; }
.dmg-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: 0 0.875rem; border: 1.5px solid var(--line-2); border-radius: var(--radius-btn); background: var(--white); color: var(--ink); font-size: 0.875rem; font-weight: 700; cursor: pointer; touch-action: manipulation; -webkit-user-select: none; user-select: none; transition: border-color var(--dur-ui), color var(--dur-ui), transform var(--dur-press) var(--ease-out); }
.dmg-btn:active { transform: scale(.97); }
.dmg-btn input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.dmg-btn:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.dmg-cam { display: none; }
@media (pointer: coarse) { .dmg-cam { display: inline-flex; } }
.dmg-remove { color: var(--accent-2); }
.dmg-bad { flex-basis: 100%; font-size: 0.8125rem; color: var(--accent-2); font-weight: 600; }
@media (hover: hover) and (pointer: fine) { .dmg-btn:hover { border-color: var(--accent); color: var(--accent); } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* result */
.res-range { margin-top: 1.125rem; padding: 1.375rem 1.125rem; border-radius: 0.5rem; text-align: center; background: var(--navy); color: var(--cream); position: relative; overflow: hidden; }
.res-range::after { content: ""; position: absolute; inset: auto -20% -60% -20%; height: 120%; background: radial-gradient(50% 50% at 50% 50%, color-mix(in oklch, var(--color-primary) 45%, transparent), transparent 70%); pointer-events: none; }
.res-label { font-size: 0.75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--warm); }
.res-value { margin-top: 0.5rem; font: 700 clamp(1.75rem, 6vw, 2.5rem)/1.1 var(--serif); letter-spacing: -.02em; font-variant-numeric: tabular-nums; position: relative; z-index: 1; }
.res-car { margin-top: 0.5rem; font-size: 0.875rem; color: oklch(0.99 0.004 var(--hue) / .75); position: relative; z-index: 1; }
.res-bar { position: relative; z-index: 1; height: 0.375rem; margin: 1rem auto 0; max-width: 16.25rem; border-radius: 0.375rem; background: oklch(0.99 0.004 var(--hue) / .15); overflow: hidden; }
.res-bar span { display: block; height: 100%; width: 100%; background: var(--rose); transform-origin: left; animation: barIn 1.4s var(--ease-out) both; }
@keyframes barIn { from { transform: scaleX(0); } }
.res-noref { background: var(--paper); color: var(--ink); border: 1px solid var(--line); text-align: left; }
.res-noref::after { display: none; }
.res-block { margin-top: 1.25rem; }
.res-block h4 { font: 600 1.125rem var(--serif); }
.res-block p { margin-top: 0.375rem; font-size: 0.9062rem; color: var(--ink-soft); }
.res-ref { font-size: 0.8125rem !important; }
.res-ref span { color: var(--mute); }
.res-note { padding: 0.5rem 0.75rem; border-radius: 0.625rem; background: var(--bg-2); font-size: 0.8125rem !important; }
.res-factors { display: grid; gap: 0.375rem; margin-top: 0.625rem; }
.res-factors li { display: grid; grid-template-columns: 1.375rem 1fr auto; gap: 0.5rem; align-items: center; padding: 0.625rem 0.75rem; border-radius: 0.75rem; background: var(--paper); border: 1px solid var(--line); font-size: 0.875rem; animation: msgIn .5s var(--ease-out) both; }
.res-factors li:nth-child(2) { animation-delay: .06s; } .res-factors li:nth-child(3) { animation-delay: .12s; } .res-factors li:nth-child(4) { animation-delay: .18s; } .res-factors li:nth-child(5) { animation-delay: .24s; }
.res-factors b { font-variant-numeric: tabular-nums; }
.f-up .f-ico, .f-up b { color: var(--green); }
.f-down .f-ico, .f-down b { color: var(--accent-2); }
.f-eq .f-ico, .f-eq b { color: var(--mute); }
.res-warn { margin-top: 1rem; padding: 0.75rem 0.875rem; border-radius: 0.75rem; background: #fff4e0; color: #6b4a12; font-size: 0.8438rem; }
.res-final { margin-top: 1rem; font-size: 0.875rem; font-weight: 500; }
.res-cta { display: grid; gap: 0.625rem; margin-top: 1.125rem; }
.res-sent { margin-top: 0.75rem; font-size: 0.8125rem; color: var(--green); text-align: center; }
.res-sent.is-fail { color: #8a5a0f; }
.res-cta .btn { white-space: normal; line-height: 1.25; padding-top: 0.625rem; padding-bottom: 0.625rem; }
.res-method { margin-top: 0.875rem; font-size: 0.75rem; color: var(--mute); line-height: 1.5; }

.calc-match { margin-top: 0.75rem; padding: 0.625rem 0.75rem 0.625rem 2.25rem; border-radius: 0.75rem; background: oklch(0.52 0.13 150 / .1); color: oklch(0.40 0.1 150); font-size: .9375rem; font-weight: 700; position: relative; }
.calc-match::before { content: "✓"; position: absolute; left: 0.8125rem; top: 0.5625rem; }
.calc-match.is-miss { background: var(--bg-2); color: var(--ink-soft); }
.calc-match.is-miss::before { content: "i"; font-style: italic; }
.calc-match[hidden] { display: none; }
.res-workshop { text-align: left; }
.res-ws-title { margin-top: 0.5rem; font: 800 clamp(1.6rem, 1.2rem + 1.6vw, 2.2rem)/1.05 var(--serif); font-stretch: 85%; position: relative; z-index: 1; }

@media (min-width: 540px) {
  .calc-step { padding: 1.75rem 1.75rem 1.875rem; }
  .calc-top { padding: 1.125rem 1.75rem 0; }
  .calc-progress { margin: 1rem -28px 0; }
}
@container (min-width: 520px) { .res-cta { grid-template-columns: 1fr 1fr; } }
@media (hover: hover) and (pointer: fine) {
  .calc-link:hover { color: var(--accent); }
  .drop:hover, .drop.is-over { border-color: var(--accent); background: var(--tint); transform: translateY(-2px); }
  .seg button:hover { border-color: var(--navy-3); }
  .zone:hover { fill: color-mix(in oklch, var(--color-primary) 12%, transparent); stroke: var(--accent); }
  .photo-add:hover { border-color: var(--accent); color: var(--accent); }
}
@media (prefers-reduced-motion: reduce) { .res-bar span { animation: none; } }
.trade .kicker { color: var(--warm); }

/* ---------- rediseño 2026-10 v2: cabecera de la sección, formulario primero y documento como atajo opcional ---------- */
.trade { padding: var(--s4) 0 var(--section); }
.trade .h1 { color: var(--on-night); }
.trade .crumbs, .trade .crumbs a { color: var(--on-night-mute); }
.trade .crumbs a { text-decoration-color: rgba(255, 255, 255, .3); }
.trade .crumbs [aria-current] { color: var(--on-night); }
.trade .trade-copy { padding-top: var(--s3); }
.trade-grid { grid-template-areas: "copy" "calc" "more"; }
.trade-copy { grid-area: copy; } .trade-grid > .calc { grid-area: calc; min-width: 0; } .trade-more { grid-area: more; }
.trade-more .calc-points { margin-top: 0; }
.calc-points b { border-radius: 50%; background: transparent; border: 1.5px solid rgba(255, 255, 255, .35); color: var(--on-night); }
.calc-direct { border-radius: var(--r); }
.drop.drop-compact { grid-template-columns: 2.5rem minmax(0, 1fr); justify-items: start; align-items: center; gap: 2px 0.75rem; margin: 1rem 0 0.375rem; padding: 0.75rem 0.875rem; border-width: 1.5px; text-align: left; background: var(--sunken); }
.drop-compact .drop-ico { grid-row: span 2; width: 2.5rem; height: 2.5rem; background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.drop-compact .drop-ico svg { width: 1.125rem; height: 1.125rem; }
.drop-compact .drop-main { font: 700 0.9375rem/1.3 var(--sans); color: var(--ink); }
.drop-compact .drop-hint { font-size: 0.7812rem; }
.calc-fields { margin-top: 0.875rem; }
@media (min-width: 1000px) {
  .trade-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); grid-template-areas: "copy calc" "more calc"; grid-template-rows: auto 1fr; column-gap: var(--s8); row-gap: var(--s6); align-items: start; }
}

/* ---------- v5 (oct 2026): la misma calculadora en el «catálogo claro» del resto de la web ---------- */
.trade { padding: var(--s4) 0 var(--section); }
.trade .h1, .trade .crumbs [aria-current] { color: var(--ink); }
.trade .h1 .tt { color: var(--soft); }
.trade .crumbs, .trade .crumbs a { color: var(--mute); }
.trade .crumbs a { text-decoration-color: var(--line-2); }
.trade .trade-copy { padding-top: var(--s3); }
.trade-lead { color: var(--mute); font-size: var(--fs-lg); line-height: 1.5; }
.trade-more .calc-points { gap: 0; border-top: 1px solid var(--line); }
.calc-points li { display: grid; grid-template-columns: 2.75rem 1fr; gap: 0.625rem; padding: 1rem 0; border-bottom: 1px solid var(--line); color: var(--text); }
.calc-points b { display: block; width: auto; height: auto; border: 0; border-radius: 0; background: none; color: var(--soft); font: 400 1rem var(--sans); font-variant-numeric: tabular-nums; }
.calc-points b::before { content: "0"; }
.calc-direct { margin-top: var(--s5); padding: var(--s5); border: 0; border-radius: var(--r); background: var(--panel); }
.calc-direct p { font-weight: 500; color: var(--ink); }
.calc { border-radius: var(--r); background: #fff; color: var(--ink); box-shadow: 0 0 0 1px var(--line), 0 2.5rem 5rem -50px rgba(21, 21, 21, .4); }
.calc-top { background: var(--panel); color: var(--ink); }
.calc-step-label { color: var(--mute); }
.calc-step-label b { color: var(--ink); }
.calc-lang { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.calc-lang button { color: var(--mute); }
.calc-lang button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.calc-progress { background: var(--line); }
.calc-progress span { background: var(--brand); }
.calc-title { font-weight: 400; letter-spacing: -0.03em; }
.calc-link { color: var(--ink); font-weight: 500; }
.seg button { border: 0; border-radius: var(--r-pill); box-shadow: inset 0 0 0 1px var(--line-2); background: #fff; }
.seg button[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; transform: none; }
.pot input { border: 0; box-shadow: inset 0 0 0 1px var(--line-2); border-radius: var(--r-sm); background: #fff; }
.pot input:focus { box-shadow: inset 0 0 0 2px var(--ink); }
.damage { border-radius: var(--r-sm); background: var(--panel); border: 0; }
.car-map .car-body { fill: #fff; stroke: var(--ink); stroke-width: 2; }
.car-glass { fill: var(--panel-2); }
.car-wheel { fill: var(--ink); }
.zone:focus-visible { stroke: var(--ink); }
.drop-ico { background: var(--ink); color: #fff; }
.drop:focus-within { border-color: var(--ink); box-shadow: none; }
.drop.drop-compact { background: var(--panel); border-color: var(--line-2); }
.drop-compact .drop-ico { background: #fff; color: var(--ink); border-color: var(--line); }
.drop-main { font-family: var(--sans); font-weight: 500; }
.dmg-row, .res-factors li, .photo-add { background: #fff; }
.res-range { border-radius: var(--r-sm); background: var(--dark); color: #fff; }
.res-range::after { background: radial-gradient(50% 50% at 50% 50%, rgba(148, 31, 43, .45), transparent 70%); }
.res-label { color: rgba(255, 255, 255, .6); letter-spacing: .04em; text-transform: none; font-size: 0.8125rem; }
.res-value { font-family: var(--sans); font-weight: 400; letter-spacing: -0.04em; }
.res-bar span { background: #fff; }
.res-block h4, .res-ws-title { font-family: var(--sans); font-weight: 500; font-stretch: normal; }
.res-noref { background: var(--panel); color: var(--ink); border: 0; }
@media (hover: hover) and (pointer: fine) {
  .seg button:hover { box-shadow: inset 0 0 0 1px var(--ink); }
  .zone:hover { fill: rgba(21, 21, 21, .06); stroke: var(--ink); }
  .drop:hover, .drop.is-over { border-color: var(--ink); background: var(--panel); }
  .calc-link:hover { color: var(--mute); }
}
