/* ATO reviews (preview, flag ?rv=1). Theme vars only, no theme change. */
/* General Sans by Indian Type Foundry, Fontshare Free Font Licence (fonts/GeneralSans-FFL.txt). Self-hosted, review UI only. */
@font-face{font-family:'General Sans';src:url(fonts/GeneralSans-Medium.woff2) format('woff2');font-weight:500;font-display:swap}
@font-face{font-family:'General Sans';src:url(fonts/GeneralSans-Semibold.woff2) format('woff2');font-weight:600;font-display:swap}
.rv-sh{font-family:'General Sans',Sora,sans-serif}
/* v3: card tags. Same box as .wx-pill (26px high, 0 10px, 12px/600, radius 13). Fake glass: translucent light blue + hairline + 1px top sheen. No backdrop-filter, no glow, no outer shadow, no gradient. */
.c.wx[data-rv-dup]{display:none!important}
.rv-reg{font-weight:600;color:var(--tx2)}
/* v4 (MT t1446): Write a review = EXACT aerodrome-filter GO/CAUTION/NO-GO chip recipe (fv3.js .wmf.wmf-aero .c.on[data-v=go] on wmf.js .wmf .c base),
   only --cc swapped to light blue. Rating = plain inline text (gold stars + score + count), no pill. */
.rv-btn{--cc:#5AB8FF;box-sizing:border-box;display:inline-flex;gap:6px;align-items:center;padding:10px 14px;border-radius:999px;border:0;
 font:600 14px/1 Satoshi,sans-serif;white-space:nowrap;vertical-align:middle;color:var(--tx);position:relative;cursor:pointer;-webkit-tap-highlight-color:transparent;
 background:linear-gradient(color-mix(in srgb,var(--cc) 20%,transparent),color-mix(in srgb,var(--cc) 20%,transparent)),var(--gl2);
 box-shadow:inset 0 1px 0 var(--hl),inset 0 0 0 1px var(--cc),0 0 16px -4px color-mix(in srgb,var(--cc) 55%,transparent);
 transition:transform .25s cubic-bezier(.32,.72,0,1),background-color .3s,background .3s,box-shadow .3s,color .3s,opacity .3s}
html[data-theme=night] .rv-btn{--cc:#7CC8FF}
.rv-btn:active,.rv-btn.is-press{transform:scale(.94)}
.rv-btn svg{width:14px;height:14px;fill:none;stroke:var(--cc);stroke-width:2;stroke-linejoin:round;stroke-linecap:round}
.rv-btn.ghost{color:var(--tx2);background:var(--gl2);box-shadow:inset 0 1px 0 var(--hl),inset 0 0 0 1px var(--ln);cursor:default}
.rv-rate{display:inline-flex;align-items:center;gap:4px;margin-left:8px;padding:0;background:none;box-shadow:none;border:0;font:600 13px 'General Sans',Sora,sans-serif;white-space:nowrap;vertical-align:middle;color:var(--tx);position:relative;top:-1px}
.rv-rate[hidden]{display:none}
.rv-rate .rv-st{display:inline-flex;gap:1px}.rv-rate i{display:block;width:12px;height:12px}
.rv-rate svg{display:block;width:100%;height:100%;fill:rgba(212,175,55,.28)}.rv-rate i.on svg{fill:#D4AF37}
.rv-rate b{font-weight:600;font-size:13px;color:var(--tx)}.rv-rate em{font-style:normal;font-weight:500;font-size:12px;color:var(--tx3)}
.rv-agg{font:500 13px 'General Sans',Sora,sans-serif;color:var(--tx2)}.rv-agg b{font-weight:600;color:var(--tx)}
.rv-det{font-family:'General Sans',Sora,sans-serif}
.rv-list{display:grid;gap:10px;margin:12px 0 4px}
.rv-it{padding:12px 14px;border-radius:16px;background:var(--gl2);box-shadow:inset 0 0 0 .5px var(--ln)}
.rv-it .h{display:flex;justify-content:space-between;font-size:12px;color:var(--tx3);margin-bottom:6px}
.rv-it .s{color:var(--acc);letter-spacing:2px}
.rv-it p{margin:0;font-size:14px;line-height:1.45;color:var(--tx)}
.rv-tags{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}
.rv-tag{font:600 11px Sora,sans-serif;padding:3px 8px;border-radius:10px;color:var(--tx2);background:var(--gl1,var(--gl2));box-shadow:inset 0 0 0 .5px var(--ln)}
.rv-tag.inc{color:var(--tx);box-shadow:inset 0 0 0 1px var(--acc)}
.rv-sum{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:10px}
.rv-sum div{padding:10px;border-radius:14px;background:var(--gl2);box-shadow:inset 0 0 0 .5px var(--ln)}
.rv-sum span{display:block;font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:var(--tx3)}.rv-sum b{font-size:15px;white-space:nowrap;color:var(--tx)}
.rv-ov{position:fixed;inset:0;z-index:9999;background:rgba(0,0,0,.35);display:flex;align-items:flex-end;opacity:0;transition:opacity .22s ease}
.rv-ov.on{opacity:1}
.rv-sh{width:100%;max-height:92vh;overflow:auto;box-sizing:border-box;border-radius:24px 24px 0 0;padding:10px 18px 34px;background:var(--bg2,var(--gl2));backdrop-filter:blur(30px);-webkit-backdrop-filter:blur(30px);color:var(--tx);transform:translateY(100%);transition:transform .32s cubic-bezier(.32,.72,0,1)}
.rv-ov.on .rv-sh{transform:none}
.rv-sh .grab{width:38px;height:5px;border-radius:3px;background:var(--ln);margin:0 auto 12px}
.rv-sh h4{font-size:20px;margin:4px 0 12px}
.rv-anon{display:flex;gap:10px;padding:12px 14px;border-radius:14px;margin:0 0 16px;font-size:13.5px;line-height:1.4;background:color-mix(in srgb,var(--acc) 12%,transparent);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--acc) 40%,transparent)}
.rv-anon svg{flex:none;width:18px;height:18px;fill:none;stroke:var(--acc);stroke-width:1.8}
.rv-f{margin-bottom:14px}.rv-f>label{display:block;font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--tx3);margin-bottom:6px}.rv-f>label i{font-style:normal;text-transform:none;letter-spacing:.02em}
.rv-in{width:100%;box-sizing:border-box;min-height:46px;border:0;border-radius:14px;padding:0 14px;font:inherit;font-size:16px;color:var(--tx);background:var(--gl2);box-shadow:inset 0 0 0 .5px var(--ln)}
textarea.rv-in{min-height:110px;padding-top:12px;resize:vertical}
.rv-in:focus{outline:0;box-shadow:inset 0 0 0 1.5px var(--acc)}
.rv-stars{display:flex;gap:4px}.rv-stars button{border:0;background:none;font-size:30px;line-height:1;color:var(--acc);padding:0 2px;cursor:pointer}
.rv-seg{display:flex;gap:6px}.rv-seg button{flex:1;padding:10px 0;border:0;border-radius:12px;font-weight:600;font-size:13px;font-family:inherit;color:var(--tx2);background:var(--gl2);box-shadow:inset 0 0 0 .5px var(--ln)}.rv-seg button.on{color:#fff;background:var(--acc)}
.rv-two{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.rv-err{color:var(--tx);font-size:13px;margin:-4px 0 10px;min-height:1em}
.rv-sub{width:100%;height:50px;border:0;border-radius:16px;font:inherit;font-size:16px;font-weight:700;color:#fff;background:var(--acc)}
.rv-one{font-size:12.5px;color:var(--tx3);text-align:center;margin-top:10px}
@media (prefers-reduced-motion:reduce){.rv-ov,.rv-sh,.rv-btn{transition:none}}
/* Review flow v1 (MT t1485). 8px grid, General Sans, gold stars match the card rating (#D4AF37). Theme values untouched. */
.rv-sh .rv-kick{margin:8px 0 0;font:600 11px/16px 'General Sans',Sora,sans-serif;letter-spacing:.14em;text-transform:uppercase;color:var(--tx3)}
.rv-sh .rv-form h4,.rv-sh .rv-done h4{font:600 24px/32px 'General Sans',Sora,sans-serif;letter-spacing:-.01em;margin:0 0 16px}
.rv-sh .rv-anon{margin:0 0 24px}
.rv-sr{display:flex;gap:4px}.rv-sr button{border:0;background:none;padding:0;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:transform .2s cubic-bezier(.32,.72,0,1)}
.rv-sr button:active{transform:scale(.88)}
.rv-sr svg{display:block;width:100%;height:100%;fill:rgba(212,175,55,.22);transition:fill .2s}
.rv-sr button.on svg{fill:#D4AF37}
.rv-sr button:focus-visible{outline:2px solid #D4AF37;outline-offset:2px;border-radius:8px}
.rv-sr-lg{gap:8px}.rv-sr-lg button{width:40px;height:40px}.rv-sr-sm button{width:24px;height:24px}
.rv-ovr{display:flex;flex-direction:column;align-items:center;gap:8px;padding:16px 0 24px}
.rv-word{font:500 14px/16px 'General Sans',Sora,sans-serif;color:var(--tx2);min-height:16px}
.rv-cats{display:grid;gap:0;margin:0 0 24px;border-radius:16px;background:var(--gl2);box-shadow:inset 0 0 0 .5px var(--ln);padding:0 16px}
.rv-cat{display:flex;align-items:center;justify-content:space-between;height:48px;font:500 15px 'General Sans',Sora,sans-serif;color:var(--tx)}
.rv-cat+.rv-cat{box-shadow:0 -.5px 0 var(--ln)}
.rv-cnt{display:flex;justify-content:space-between;margin-top:8px;font:500 12px/16px 'General Sans',Sora,sans-serif;color:var(--tx3);font-variant-numeric:tabular-nums}
.rv-sh textarea.rv-in{min-height:112px;padding:12px 16px;line-height:1.5;resize:none}
.rv-sh .rv-sub{height:56px;font:600 16px 'General Sans',Sora,sans-serif;letter-spacing:.01em;transition:opacity .2s}
.rv-sh .rv-sub:disabled{opacity:.4}
.rv-done{text-align:center;padding:24px 0 0}
.rv-done p{margin:0 auto 24px;max-width:300px;font:500 15px/24px 'General Sans',Sora,sans-serif;color:var(--tx2)}
.rv-tick{width:64px;height:64px;margin:0 auto 24px;border-radius:50%;display:grid;place-items:center;background:color-mix(in srgb,#D4AF37 14%,transparent);box-shadow:inset 0 0 0 1px color-mix(in srgb,#D4AF37 55%,transparent)}
.rv-tick svg{width:28px;height:28px;fill:none;stroke:#B8932A;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.rv-done-st{display:flex;align-items:center;justify-content:center;gap:8px;margin:0 0 32px;font:600 15px 'General Sans',Sora,sans-serif}
.rv-done-st .rv-st{display:inline-flex;gap:2px}.rv-done-st i{width:20px;height:20px;display:block}.rv-done-st svg{width:100%;height:100%;fill:rgba(212,175,55,.22)}.rv-done-st i.on svg{fill:#D4AF37}
.rv-step[hidden]{display:none}
/* v5 (MT t1499): vivid clean blue across chip, sheet, Submit and star states. No theme accent (--acc) in the review UI.
   Animations are transform/opacity only; hover/press are pre-rendered layers cross-faded by opacity. */
.rv-btn,.rv-sh{--rvb:#0A66FF;--rvh:#2E7DFF;--rvp:#0052D6;--rvt:rgba(10,102,255,.14)}
html[data-theme=night] .rv-btn,html[data-theme=night] .rv-sh{--rvb:#3D88FF;--rvh:#5C9DFF;--rvp:#1F6BF0;--rvt:rgba(61,136,255,.18)}
.rv-btn:not(.ghost),.rv-btn:not(.ghost):hover{--cc:var(--rvb);color:var(--rvb);background:linear-gradient(var(--rvt),var(--rvt)),var(--gl2);box-shadow:inset 0 1px 0 rgba(255,255,255,.35),inset 0 0 0 1px color-mix(in srgb,var(--rvb) 38%,transparent);isolation:isolate;transition:transform .2s cubic-bezier(.32,.72,0,1),color .2s ease!important}
/* t1501: rest = light clear blue glass; hover/press = vivid solid blue layer fades in (opacity, 200 ms). */
.rv-btn:not(.ghost)::before,.rv-btn:not(.ghost)::after{content:'';position:absolute;inset:0;border-radius:inherit;z-index:-1;opacity:0;pointer-events:none;transition:opacity .2s ease}
.rv-btn:not(.ghost)::before{background:var(--rvb)}
.rv-btn:not(.ghost)::after{background:var(--rvp)}
@media (hover:hover){.rv-btn:not(.ghost):hover::before{opacity:1}.rv-btn:not(.ghost):hover{color:#fff;--cc:#fff}}
.rv-btn:not(.ghost):active,.rv-btn.is-press:not(.ghost){color:#fff;--cc:#fff}
.rv-btn:not(.ghost):active::before,.rv-btn.is-press:not(.ghost)::before,.rv-btn:not(.ghost):active::after,.rv-btn.is-press:not(.ghost)::after{opacity:1}
.rv-btn:active,.rv-btn.is-press{transform:scale(.95)}
.rv-btn:focus-visible{outline:2px solid var(--rvb);outline-offset:3px}
/* Sheet: solid theme surface (no backdrop-filter on an animating box), slides on transform only. */
.rv-sh{backdrop-filter:none;-webkit-backdrop-filter:none;background:var(--bg2,var(--bg,#fff))}
.rv-ov.on .rv-sh{will-change:auto}
.rv-sh .rv-anon{background:var(--rvt);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--rvb) 45%,transparent)}
.rv-sh .rv-anon svg{stroke:var(--rvb)}
.rv-sh .rv-in:focus{box-shadow:inset 0 0 0 1.5px var(--rvb)}
.rv-sh .rv-sub{position:relative;isolation:isolate;overflow:hidden;color:#fff;background:var(--rvb);box-shadow:inset 0 1px 0 rgba(255,255,255,.25);transition:transform .2s cubic-bezier(.32,.72,0,1),opacity .2s}
.rv-sh .rv-sub::after{content:'';position:absolute;inset:0;background:var(--rvp);opacity:0;z-index:-1;transition:opacity .15s}
.rv-sh .rv-sub:not(:disabled):active{transform:scale(.97)}
.rv-sh .rv-sub:not(:disabled):active::after{opacity:1}
.rv-sh .rv-sub:disabled{opacity:.45}
/* Stars: bright gold fill, blue focus ring, a short pop when chosen. */
.rv-sr button.on svg{fill:#FFB800}
.rv-sr button:focus-visible{outline:2px solid var(--rvb)}
.rv-sr button.pop{animation:rvPop .28s cubic-bezier(.32,.72,0,1)}
@keyframes rvPop{0%{transform:scale(.8)}60%{transform:scale(1.14)}100%{transform:none}}
.rv-done-st i.on svg{fill:#FFB800}
.rv-sh .rv-tick{background:var(--rvt);box-shadow:inset 0 0 0 1.5px var(--rvb)}
.rv-sh .rv-tick svg{stroke:var(--rvb)}
.rv-sh .rv-done:not([hidden]){animation:rvIn .32s cubic-bezier(.32,.72,0,1)}
@keyframes rvIn{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.rv-btn,.rv-btn::before,.rv-btn::after,.rv-sh .rv-sub,.rv-sh .rv-sub::after{transition:none!important}.rv-sr button.pop,.rv-sh .rv-done:not([hidden]){animation:none}.rv-btn:active,.rv-btn.is-press,.rv-sh .rv-sub:active{transform:none}}
/* v6 (MT t1512): chip is clear neutral glass at rest; on press it briefly fills with the pill blue (--acc #0019C9, .wmpill on main) and fades back. One app-wide blue. */
.rv-btn,.rv-sh,html[data-theme=night] .rv-btn,html[data-theme=night] .rv-sh{--rvb:#0019C9;--rvh:#0019C9;--rvp:#0019C9;--rvt:rgba(0,25,201,.14)}
.rv-btn:not(.ghost),.rv-btn:not(.ghost):hover{--cc:var(--tx2);color:var(--tx2);background:rgba(255,255,255,.55);-webkit-backdrop-filter:blur(12px) saturate(1.4);backdrop-filter:blur(12px) saturate(1.4);box-shadow:inset 0 1px 0 rgba(255,255,255,.9),inset 0 0 0 .5px rgba(0,0,0,.08);transition:color .32s ease!important;transform:none}
html[data-theme=night] .rv-btn:not(.ghost),html[data-theme=night] .rv-btn:not(.ghost):hover{background:rgba(255,255,255,.06);box-shadow:inset 0 1px 0 rgba(255,255,255,.14),inset 0 0 0 .5px rgba(255,255,255,.12)}
.rv-btn:not(.ghost)::after{display:none}
.rv-btn:not(.ghost)::before{background:#0019C9;transition:opacity .32s ease}
@media (hover:hover){.rv-btn:not(.ghost):hover::before{opacity:0}.rv-btn:not(.ghost):hover{color:var(--tx);--cc:var(--tx)}}
.rv-btn:not(.ghost):active,.rv-btn.is-press:not(.ghost){color:#fff;--cc:#fff;transition:color .08s ease!important}
.rv-btn:not(.ghost):active::before,.rv-btn.is-press:not(.ghost)::before{opacity:1;transition:opacity .08s ease}
.rv-btn:active,.rv-btn.is-press{transform:none}
.ap-hero .rv-btn:not(.ghost){color:#fff;--cc:#fff;background:rgba(255,255,255,.08);box-shadow:inset 0 1px 0 rgba(255,255,255,.2),inset 0 0 0 .5px rgba(255,255,255,.18)}
@media (prefers-reduced-motion:reduce){.rv-btn,.rv-btn::before{transition:none!important}}
/* Wide screens (MT t1538): from 700px the sheet becomes a centred card, max 560px, all corners rounded, soft backdrop. Phone unchanged. */
@media (min-width:700px){
.rv-ov{align-items:center;justify-content:center;padding:24px;box-sizing:border-box;background:rgba(0,0,0,.28);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.rv-sh{max-width:560px;max-height:min(86vh,860px);border-radius:24px;padding:10px 24px 28px;box-shadow:0 24px 64px rgba(0,0,0,.28);transform:translateY(24px) scale(.98);opacity:0;transition:transform .32s cubic-bezier(.32,.72,0,1),opacity .22s ease}
.rv-ov.on .rv-sh{transform:none;opacity:1}
.rv-sh .grab{display:none}
}
@media (min-width:700px) and (prefers-reduced-motion:reduce){.rv-sh{transition:none}}
