/* The AI-writing signal gauge: five flat segments from a low to a very strong signal and a needle that points at the
   band of the result. No number is shown. Shared by the workspace, saved requests and the public pages; the markup
   comes from draft-results.js (TextumiGauge) or from the `gauge` macro of templates/v2/scenes.html. */
.tx-gauge{--g-1:#4f9a72;--g-2:#9cc77f;--g-3:#e9c24f;--g-4:#e58f4a;--g-5:#d4574a;--g-disc:#f1f2f4;--g-needle:#1d2433;--g-hub:#fff;--g-ink:#1d2433;--g-muted:#6b7480;--g-angle:-90deg;display:grid;justify-items:center;width:min(100%,260px);margin-inline:auto}
.tx-gauge-art{display:block;width:100%;height:auto;overflow:visible}
.tx-gauge-seg{stroke-width:4;stroke-linejoin:round}
.tx-gauge .seg-1{fill:var(--g-1);stroke:var(--g-1)}
.tx-gauge .seg-2{fill:var(--g-2);stroke:var(--g-2)}
.tx-gauge .seg-3{fill:var(--g-3);stroke:var(--g-3)}
.tx-gauge .seg-4{fill:var(--g-4);stroke:var(--g-4)}
.tx-gauge .seg-5{fill:var(--g-5);stroke:var(--g-5)}
.tx-gauge-disc{fill:var(--g-disc)}
.tx-gauge-needle{transform-box:view-box;transform-origin:120px 116px;transform:rotate(var(--g-angle));transition:transform 1.1s cubic-bezier(.2,.8,.2,1)}
.tx-gauge-needle .needle,.tx-gauge-needle .pin{fill:var(--g-needle)}
.tx-gauge-needle .hub{fill:var(--g-hub)}
.tx-gauge[data-band="1"]{--g-angle:-72deg;--g-on:var(--g-1)}
.tx-gauge[data-band="2"]{--g-angle:-36deg;--g-on:var(--g-2)}
.tx-gauge[data-band="3"]{--g-angle:0deg;--g-on:var(--g-3)}
.tx-gauge[data-band="4"]{--g-angle:36deg;--g-on:var(--g-4)}
.tx-gauge[data-band="5"]{--g-angle:72deg;--g-on:var(--g-5)}
.tx-gauge-ends{display:flex;justify-content:space-between;width:100%;margin-top:4px;padding-inline:3%;font-size:11px;font-weight:600;letter-spacing:.07em;text-transform:uppercase;color:var(--g-muted)}
.tx-gauge-band{display:grid;justify-items:center;gap:2px;margin-top:8px;text-align:center}
.tx-gauge-band small{font-size:12px;color:var(--g-muted)}
.tx-gauge-band strong{display:inline-flex;align-items:center;gap:8px;font-size:19px;line-height:1.25;font-weight:650;color:var(--g-ink)}
.tx-gauge-band strong::before{content:"";flex:none;width:10px;height:10px;border-radius:50%;background:var(--g-on,var(--g-muted))}
.tx-gauge.compact{width:120px;margin:8px 0 0}
.tx-gauge.compact .tx-gauge-ends,.tx-gauge.compact .tx-gauge-band{display:none}
html[data-theme=dark] .tx-gauge{--g-1:#4a9a6e;--g-2:#8fbb74;--g-3:#d9b347;--g-4:#d98446;--g-5:#cf5a4c;--g-disc:#262c35;--g-needle:#eef1f5;--g-hub:#171b21;--g-ink:#eef1f5;--g-muted:#9aa5b2}
@media (prefers-reduced-motion:reduce){.tx-gauge-needle{transition:none}}
