/* =====================================================================
   IntrasAero - lennundushooldus. Laeb pärast v3.css-i ja sub.css-i.
   Klaaskokpit ja lennukaart. Tumedad osad (.rxh, .pfd, .vault) on öine navy nagu esmase lennunäidiku taust:
   tsüaan = info, magenta = aktiivne marsruut ja põhitoon, roheline = korras, merevaik = hoiatus.
   Heledad osad (.chart) on kaardipaber laius- ja pikkuskraadide võrgu ning magenta marsruudijoontega.
   Lennukid on joonistatud pealtvaates mõõtkavas (inc/pages/aero.php aero_symbols()).
   ===================================================================== */
html.theme-aero {
  --teal-rgb: 181, 22, 111;
  --hi-rgb: 255, 124, 194;
  --bg-rgb: 243, 241, 234;
  --acc-rgb: 194, 106, 0;
  --bg: #f3f1ea;
  --white: #fffefa;
  --ink: #0b1626;
  --ink-2: #3f4a5c;
  --ink-3: #5a6476;                /* väike tekst vähemalt 4,5:1 valgel, --bg ja --mint taustal */
  --ink-4: #a3abb8;
  --line: #dcd9ce;
  --line-2: #ebe8df;
  --teal: #b5166f;
  --teal-d: #8f0f57;
  --teal-hi: #ff7cc2;
  --mint: #fbe7f1;
  --mint-2: #f5c8df;
  --navy: #081322;
  --navy-d: #050c17;
  --acc: #c26a00;
  --acc-d: #8f4d00;                /* tekstina --acc-t taustal vähemalt 4,5:1 */
  --acc-t: #fff1dc;
  --brand: #b5166f;
  --av2: #2f7f9a;
  --ok: #1a7a49;
  --cy: #47cfe9;                   /* tsüaan tumedal: info, mõõdud */
  --gr: #4be394;                   /* roheline tumedal: korras */
  --amb: #ffb627;                  /* merevaik tumedal: hoiatus */
  --mg: #ff4fa8;                   /* magenta tumedal: aktiivne marsruut */
  --pfd: #0a1628;
  --r: 10px;
  --r-lg: 16px;
}
html.theme-aero .h1, html.theme-aero .h2, html.theme-aero .final__title { font-weight: 860; letter-spacing: -.04em; }
html.theme-aero .btn { border-radius: 8px; }
html.theme-aero .btn--lg { border-radius: 10px; }
html.theme-aero .label::before, html.theme-aero .eyebrow::before { width: 14px; height: 2px; border-radius: 0; box-shadow: none; vertical-align: 4px; background: var(--teal); }
html.theme-aero .chip { border-radius: 10px; }
html.theme-aero .pbadge { border-radius: 10px; }

/* sildid: olemas (roheline) ja kohandame (magenta kontuur) */
.tag { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: 5px; font: 600 10.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; vertical-align: 1px; }
.tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.tag--ok { background: #e3f3ea; color: var(--ok); }
.tag--cu { background: transparent; color: var(--teal-d); box-shadow: inset 0 0 0 1.5px rgba(var(--teal-rgb), .55); }
.tag--cu::before { border-radius: 1px; transform: rotate(45deg); }

/* lennukite sümbolid */
.ac-defs { position: absolute; }
.ac-defs symbol { overflow: visible; }
.ac-prop { fill: none; stroke: currentColor; stroke-width: 1.6; opacity: .55; }
.ac-rotor { fill: none; stroke: currentColor; stroke-width: 1.4; opacity: .7; }
.ac-disc { fill: currentColor; fill-opacity: .07; stroke: currentColor; stroke-width: .8; stroke-dasharray: 3 3; opacity: .8; }

/* ---------------- menüü tume avavaate peal (nagu IntrasAutivo; ainult JS-iga) ---------------- */
html.theme-aero.js .nav:not(.is-solid) .brand { color: #fff; }
html.theme-aero.js .nav:not(.is-solid) .brand__sub { color: var(--teal-hi); }
html.theme-aero.js .nav:not(.is-solid) .nav__links > a, html.theme-aero.js .nav:not(.is-solid) .nav__dd > summary { color: rgba(255, 255, 255, .86); }
html.theme-aero.js .nav:not(.is-solid) .nav__links > a:hover, html.theme-aero.js .nav:not(.is-solid) .nav__dd > summary:hover, html.theme-aero.js .nav:not(.is-solid) .nav__dd[open] > summary { background: rgba(255, 255, 255, .08); }
html.theme-aero.js .nav:not(.is-solid) .nav__links > a[aria-current], html.theme-aero.js .nav:not(.is-solid) .nav__dd.is-cur > summary { color: var(--teal-hi); }
html.theme-aero.js .nav:not(.is-solid) .nav__links > a[aria-current]::after { background: var(--teal-hi); }
html.theme-aero.js .nav:not(.is-solid) .nav__cta .btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .28); box-shadow: none; }
html.theme-aero.js .nav:not(.is-solid), .rxh, .pfd, .vault { --focus: var(--cy); }

/* ---------------- tume avavaade: öine angaar, kompassiroos ---------------- */
.rxh { background: radial-gradient(42% 60% at 78% 40%, rgba(71, 207, 233, .13), transparent 70%), radial-gradient(30% 40% at 12% 90%, rgba(255, 79, 168, .08), transparent 70%), linear-gradient(180deg, #071121, #0a1830 70%, #0b1a33); color: #fff; padding-bottom: clamp(48px, 6vw, 80px); }
.rxh::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(rgba(120, 180, 255, .05) 1px, transparent 1px) 0 0 / 88px 88px, linear-gradient(90deg, rgba(120, 180, 255, .05) 1px, transparent 1px) 0 0 / 88px 88px; -webkit-mask-image: radial-gradient(80% 90% at 70% 40%, #000, transparent 80%); mask-image: radial-gradient(80% 90% at 70% 40%, #000, transparent 80%); }
.rxh__rose { position: absolute; z-index: 0; right: -14vw; top: 50%; width: min(70vw, 900px); height: auto; transform: translateY(-50%); opacity: .5; pointer-events: none; animation: roseTurn 240s linear infinite; }
.rxh__rose circle { fill: none; stroke: rgba(120, 190, 255, .14); stroke-width: .8; }
.rxh__ticks path { stroke: rgba(120, 190, 255, .28); stroke-width: .8; }
.rxh__rose text { font: 500 9px var(--mono); fill: rgba(120, 190, 255, .4); text-anchor: middle; }
@keyframes roseTurn { to { transform: translateY(-50%) rotate(360deg); } }
.rxh .h1 { color: #fff; }
.rxh .h1 .t { color: var(--cy); }
.rxh .sxh__lead { color: rgba(255, 255, 255, .74); }
.rxh .crumbs ol { color: rgba(255, 255, 255, .5); }
.rxh .crumbs [aria-current] { color: rgba(255, 255, 255, .86); }
.rxh .crumbs a:hover { color: var(--cy); }
.rxh .pbadge { border-color: rgba(255, 255, 255, .13); background: rgba(255, 255, 255, .05); box-shadow: none; color: #fff; }
.rxh .pbadge em { color: var(--teal-hi); }
.rxh .sxh__note { color: rgba(255, 255, 255, .62); }
.rxh .sxh__note svg { color: var(--gr); }
.rxh .btn--teal { background: var(--teal); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 14px 30px -12px rgba(224, 33, 138, .7); }
.rxh .btn--ghost { background: rgba(255, 255, 255, .05); color: #fff; border-color: rgba(255, 255, 255, .24); box-shadow: none; }
.rxh .btn--ghost:hover { border-color: rgba(255, 255, 255, .55); }

.rstage { width: min(100%, 600px); margin: 2% 0 18% auto; }
.hplan { position: relative; z-index: 1; padding: 10px 10px 6px; border: 1px solid rgba(120, 190, 255, .18); border-radius: 18px; background: linear-gradient(180deg, rgba(14, 34, 64, .9), rgba(9, 22, 42, .92)); box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .85), inset 0 1px 0 rgba(255, 255, 255, .06); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hplan__bar { display: flex; justify-content: space-between; align-items: center; padding: 4px 8px 8px; font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.hplan__bar b { color: #fff; font-weight: 600; }
.hplan__live { display: inline-flex; align-items: center; gap: 7px; color: var(--gr); }
.hplan__live i { width: 7px; height: 7px; border-radius: 50%; background: var(--gr); box-shadow: 0 0 0 0 rgba(75, 227, 148, .6); animation: live 2s ease-out infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(75, 227, 148, .55); } 80%, 100% { box-shadow: 0 0 0 8px rgba(75, 227, 148, 0); } }
.hplan__svg { display: block; width: 100%; height: auto; overflow: visible; }
.hp-floor { fill: rgba(120, 190, 255, .035); stroke: rgba(120, 190, 255, .35); stroke-width: 1.2; }
.hp-bay { fill: none; stroke: rgba(255, 196, 0, .55); stroke-width: 1; stroke-dasharray: 6 5; }
.hp-bl { font: 600 10px var(--mono); fill: rgba(255, 255, 255, .75); }
.hp-bw { font: 500 9px var(--mono); fill: rgba(120, 190, 255, .6); text-anchor: end; }
.hp-ac { color: #e6eef9; fill: currentColor; }
.hp-ac use { filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .5)); }
.hp-ac--in { color: var(--mg); }
.hp-reg { font: 600 9.5px var(--mono); fill: rgba(255, 255, 255, .82); text-anchor: middle; letter-spacing: .04em; }
.hp-ac--in .hp-reg { fill: var(--mg); }
.hp-taxi { fill: none; stroke: var(--mg); stroke-width: 2; stroke-dasharray: 7 6; animation: taxi 1.6s linear infinite; }
@keyframes taxi { to { stroke-dashoffset: -26; } }
.hp-door { stroke: rgba(255, 255, 255, .55); stroke-width: 2.4; }
.hp-rail { stroke: rgba(255, 255, 255, .18); stroke-width: 1; stroke-dasharray: 2 4; }
.hp-lights circle { fill: var(--cy); opacity: .55; animation: edge 3s ease-in-out infinite; }
.hp-lights circle:nth-child(odd) { animation-delay: 1.5s; }
@keyframes edge { 50% { opacity: .15; } }
.hp-scale { font: 500 8.5px var(--mono); fill: rgba(255, 255, 255, .5); }
.hp-scalebar { fill: none; stroke: rgba(255, 255, 255, .5); stroke-width: 1; }
.js .sxh__stage.is-in .hp-ac--in use { animation: taxiIn 3.2s cubic-bezier(.3, .1, .2, 1) 1s both; }
@keyframes taxiIn { from { transform: translateY(150px); opacity: 0; } 15% { opacity: 1; } to { transform: none; } }
.rcard { position: absolute; z-index: 3; left: -12%; bottom: -26%; width: min(330px, 62%); padding: 14px 16px 12px; border-radius: 14px; background: var(--white); color: var(--ink); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .1); }
.rcard__h { display: flex; align-items: center; gap: 12px; }
.rcard__reg { flex: none; padding: 6px 8px; border: 2px solid var(--ink); border-radius: 5px; font: 600 14px/1 var(--mono); letter-spacing: .04em; }
.rcard__h b { display: block; font-size: 15px; font-weight: 850; letter-spacing: -.01em; }
.rcard__h small { display: block; font-size: 12px; font-weight: 650; color: var(--ink-3); }
.rcard__steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 3px; margin-top: 12px; counter-reset: s; }
.rcard__steps li { position: relative; padding-top: 10px; font-size: 9.5px; font-weight: 750; line-height: 1.2; color: var(--ink-3); }
.rcard__steps li::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; border-radius: 2px; background: var(--line); }
.rcard__steps li.is-done::before { background: var(--ok); }
.rcard__steps li.is-now { color: var(--teal-d); }
.rcard__steps li.is-now::before { background: linear-gradient(90deg, var(--teal) 55%, var(--line) 55%); }
.rcard__meta { display: flex; justify-content: space-between; gap: 10px; margin-top: 10px; padding-top: 9px; border-top: 1px solid var(--line-2); font-size: 12px; font-weight: 650; color: var(--ink-3); }
.rcard__meta b { font: 600 12.5px var(--mono); color: var(--ink); }
.js .sxh__stage.is-in .hplan { animation: stageIn 1.2s var(--ease) .1s both; }
.js .sxh__stage.is-in .rcard { animation: cardIn 1s var(--ease) .7s both; }
/* maailmakellad ICAO koodidega */
.clocks { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin-top: clamp(28px, 4vw, 48px); border: 1px solid rgba(120, 190, 255, .16); border-radius: 14px; background: rgba(8, 20, 40, .55); }
.clocks li { padding: 14px 16px; }
.clocks li + li { border-left: 1px solid rgba(120, 190, 255, .12); }
.clocks small { display: block; font: 600 11px/1 var(--mono); letter-spacing: .12em; color: var(--cy); }
.clocks b { display: block; margin-top: 6px; font: 500 26px/1 var(--mono); letter-spacing: -.02em; color: #fff; font-variant-numeric: tabular-nums; }
.clocks span { display: block; margin-top: 4px; font-size: 12px; font-weight: 650; color: rgba(255, 255, 255, .55); }
.clocks li:last-child b { color: var(--gr); }

/* ---------------- kaardipaber ---------------- */
.chart { position: relative; background: linear-gradient(rgba(11, 22, 38, .045) 1px, transparent 1px) 0 0 / 120px 120px, linear-gradient(90deg, rgba(11, 22, 38, .045) 1px, transparent 1px) 0 0 / 120px 120px, var(--bg); }
.chart::after { content: ''; position: absolute; right: 6%; top: 10%; width: 240px; height: 240px; border: 1px solid rgba(var(--teal-rgb), .14); border-radius: 50%; pointer-events: none; box-shadow: inset 0 0 0 36px transparent, 0 0 0 0 transparent; background: radial-gradient(circle, transparent 60%, rgba(var(--teal-rgb), .05) 60.5%, transparent 61%); }
.chart > .wrap { position: relative; z-index: 1; }

/* ---------------- olemas ja kohandame ---------------- */
html.theme-aero .scope__grid { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
html.theme-aero .scope__h { gap: 12px; }
html.theme-aero .scope__col--on li::before { border-radius: 50%; background: var(--ok); }
html.theme-aero .scope__col--on .scope__h { color: var(--ink-2); }
.scope__col--cust { align-self: stretch; padding: 28px 30px 22px; border: 1.5px dashed rgba(var(--teal-rgb), .5); border-radius: var(--r-lg); background: rgba(255, 255, 255, .55); }
.scope__col--cust .scope__h { color: var(--ink-2); }
.scope__col--cust li { color: var(--ink); }
.scope__col--cust li::before { border-radius: 1px; background: var(--teal); opacity: 1; transform: rotate(45deg); }
html.theme-aero .scope__plus { border-radius: 10px; background: var(--ink); }

/* ---------------- 01 angaar ja meeskond ---------------- */
.hgar { display: grid; grid-template-columns: minmax(270px, .8fr) minmax(0, 1.5fr); gap: 14px; padding: 12px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg); }
.hgar__pick { display: grid; align-content: start; gap: 14px; padding: 8px; }
.hgar__h { font: 600 10.5px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.hgar__ac { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 8px; }
.hgar__ac button { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); text-align: left; cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .3s var(--ease); }
.hgar__ac button:hover { border-color: var(--ink-4); transform: translateY(-1px); }
.hgar__sil { width: 46px; height: 40px; color: var(--ink-3); fill: currentColor; transition: color .2s; }
.hgar__ac b { display: block; font-size: 13.5px; font-weight: 850; line-height: 1.2; }
.hgar__ac small { display: block; font: 500 11px/1.3 var(--mono); color: var(--ink-3); }
.hgar__ac button[aria-checked="true"] { border-color: var(--teal); box-shadow: inset 0 0 0 1px var(--teal), var(--sh-1); }
.hgar__ac button[aria-checked="true"] .hgar__sil { color: var(--teal); }
.hgar__crew ul { display: grid; gap: 4px; margin-top: 8px; }
.hgar__crew li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: var(--white); transition: box-shadow .25s, background-color .25s; }
.hgar__crew .av { width: 30px; height: 30px; flex: none; font-size: 12px; --c: #2f3d52; }
.hgar__crew b { display: block; font-size: 13.5px; font-weight: 850; }
.hgar__crew small { display: block; font: 500 11px/1.3 var(--mono); color: var(--ink-3); }
.hgar__crew li.is-away { background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
.hgar__crew li.is-away .av { --c: #9aa3b0; }
.hgar__crew li.is-match { box-shadow: inset 0 0 0 1.5px var(--ok); }
.hgar__crew li.is-match.is-away { box-shadow: inset 0 0 0 1.5px var(--acc); }
.hgar__floor { min-width: 0; padding: 14px; border-radius: 14px; background: var(--navy); color: #fff; }
.hgar__svg { display: block; width: 100%; height: auto; overflow: visible; }
.hg-floor { fill: rgba(120, 190, 255, .04); stroke: rgba(120, 190, 255, .3); }
.hg-bay rect { fill: none; stroke: rgba(255, 196, 0, .5); stroke-dasharray: 5 4; transition: fill .3s, stroke .3s; }
.hg-bay.is-target rect { fill: rgba(75, 227, 148, .07); stroke: var(--gr); stroke-dasharray: none; stroke-width: 1.4; }
.hg-bay.is-small rect { fill: rgba(255, 182, 39, .05); stroke: rgba(255, 182, 39, .5); }
.hg-bl { font: 600 9px var(--mono); fill: rgba(255, 255, 255, .78); }
.hg-bw { font: 500 8px var(--mono); fill: rgba(120, 190, 255, .65); text-anchor: end; }
.hg-occ { color: #9fb0c6; fill: currentColor; opacity: .7; }
.hg-reg { font: 600 8px var(--mono); fill: rgba(255, 255, 255, .55); text-anchor: middle; }
.hg-new { color: var(--gr); fill: currentColor; animation: acIn .8s var(--ease) both; }
.hg-new.is-wait { color: var(--amb); }
.hg-new use { filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .45)); }
@keyframes acIn { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
.hg-dim { fill: none; stroke: var(--cy); stroke-width: .8; }
.hg-dimt { font: 500 7.5px var(--mono); fill: var(--cy); text-anchor: middle; }
.hg-door { stroke: rgba(255, 255, 255, .5); stroke-width: 2.2; }
.hg-dl { font: 500 8px var(--mono); fill: rgba(255, 255, 255, .45); text-anchor: middle; letter-spacing: .06em; }
.hgar__res { margin-top: 12px; padding: 12px 14px; border-radius: 10px; background: rgba(255, 255, 255, .06); }
.hgar__res.is-in { animation: chipIn .4s var(--ease) both; }
.hgar__res b { display: block; margin-top: 6px; font-size: 14.5px; font-weight: 800; line-height: 1.4; }
.hgar__res span { display: block; margin-top: 3px; font-size: 13px; font-weight: 600; line-height: 1.5; color: rgba(255, 255, 255, .7); }
.hgar__st { display: inline-flex; align-items: center; gap: 7px; font: 600 10.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.hgar__st::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.hgar__st.is-ok { color: var(--gr); }
.hgar__st.is-wait { color: var(--amb); }
.hgar__st.is-bad { color: #ff7a7a; }
.hgar__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 12px; font-size: 12.5px; font-weight: 650; color: rgba(255, 255, 255, .7); }
.hgar__tags .tag--ok { background: rgba(75, 227, 148, .14); color: var(--gr); }
.hgar__tags .tag--cu { color: var(--teal-hi); box-shadow: inset 0 0 0 1.5px rgba(var(--hi-rgb), .55); }

/* ---------------- tumedad osad: lennunäidik ---------------- */
.pfd, .vault { --focus: var(--cy); background: radial-gradient(60% 80% at 90% 0%, rgba(71, 207, 233, .08), transparent 70%), var(--pfd); color: #fff; }
.pfd .h2, .vault .h2 { color: #fff; }
.pfd .h2 .t, .vault .h2 .t { color: var(--cy); }
.pfd .lead, .vault .lead { color: rgba(255, 255, 255, .72); }
.pfd .label, .vault .label { color: var(--cy); }
.pfd .label b, .vault .label b { color: rgba(255, 255, 255, .5); }
html.theme-aero .pfd .label::before, html.theme-aero .vault .label::before { background: var(--cy); }
.pfd .tag--ok, .vault .tag--ok { background: rgba(75, 227, 148, .14); color: var(--gr); }
.pfd .tag--cu, .vault .tag--cu { color: var(--teal-hi); box-shadow: inset 0 0 0 1.5px rgba(var(--hi-rgb), .55); }
#asukohad { padding-bottom: clamp(24px, 3vw, 40px); }
.pfd + .vault { padding-top: clamp(24px, 3vw, 40px); }
.pfd + .vault::before { content: ''; display: block; width: min(1180px, calc(100% - 40px)); height: 1px; margin: 0 auto clamp(40px, 5vw, 72px); background: linear-gradient(90deg, transparent, rgba(120, 190, 255, .25), transparent); }
.pfd__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 16px; font-size: 13px; font-weight: 650; color: rgba(255, 255, 255, .7); }

/* ---------------- 02 ladu ja sertifikaadid ---------------- */
.scan { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .9fr); gap: 16px; }
.scan__wo { padding: 18px; border: 1px solid rgba(120, 190, 255, .16); border-radius: var(--r-lg); background: rgba(255, 255, 255, .03); }
.scan__h { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.scan__h small { display: block; font: 600 10.5px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--cy); }
.scan__h b { display: block; margin-top: 3px; font: 600 16px/1.2 var(--mono); letter-spacing: .02em; }
.scan__btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border: 0; border-radius: 8px; background: var(--teal); color: #fff; font-size: 14px; font-weight: 850; cursor: pointer; box-shadow: 0 10px 20px -10px rgba(224, 33, 138, .8); transition: filter .2s, opacity .2s; }
.scan__btn svg { width: 18px; height: 18px; }
.scan__btn:hover { filter: brightness(1.1); }
.scan__btn[disabled] { opacity: .4; cursor: default; box-shadow: none; }
.scan__list li { display: flex; align-items: center; gap: 12px; padding: 12px 6px; border-bottom: 1px solid rgba(255, 255, 255, .07); border-radius: 8px; transition: background-color .3s; }
.scan__ic { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .14); border-radius: 8px; color: rgba(255, 255, 255, .6); transition: background-color .3s, color .3s, border-color .3s; }
.scan__ic svg { width: 18px; height: 18px; }
.scan__list b { display: block; font-size: 14.5px; font-weight: 800; }
.scan__list code { margin-left: 4px; font: 500 12.5px var(--mono); color: var(--cy); }
.scan__list small { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 600; color: rgba(255, 255, 255, .55); }
.scan__list em { flex: none; margin-left: auto; padding: 4px 9px; border-radius: 5px; background: rgba(255, 255, 255, .06); color: rgba(255, 255, 255, .55); font: 600 10.5px/1.2 var(--mono); font-style: normal; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.scan__list li.is-ok .scan__ic { border-color: transparent; background: rgba(75, 227, 148, .16); color: var(--gr); }
.scan__list li.is-ok em { background: rgba(75, 227, 148, .14); color: var(--gr); }
.scan__list li.is-bad .scan__ic { border-color: transparent; background: rgba(255, 182, 39, .16); color: var(--amb); }
.scan__list li.is-bad em { background: rgba(255, 182, 39, .16); color: var(--amb); }
.scan__list li.is-bad small { color: #ffd38a; }
.scan__list li.is-flash { animation: scanFlash .9s var(--ease); }
@keyframes scanFlash { 0% { background: rgba(71, 207, 233, .22); box-shadow: inset 3px 0 0 var(--cy); } 100% { background: transparent; box-shadow: inset 3px 0 0 transparent; } }
.scan__note { margin-top: 12px; font-size: 13.5px; font-weight: 600; line-height: 1.5; color: rgba(255, 255, 255, .72); }
.scan__note b { color: #fff; }
.scan .again { color: rgba(255, 255, 255, .7); }
.scan .again:hover { color: #fff; }
.scan__side { display: grid; gap: 16px; align-content: start; }
.cert { position: relative; padding: 16px 18px; border-radius: 12px; background: #f7f4ea; color: var(--ink); box-shadow: 0 24px 40px -24px rgba(0, 0, 0, .8); transform: rotate(-1.2deg); background-image: repeating-linear-gradient(0deg, transparent 0 22px, rgba(11, 22, 38, .05) 22px 23px); }
.cert::after { content: 'FORM 1'; position: absolute; right: 14px; top: 12px; padding: 3px 7px; border: 1.5px solid var(--ok); border-radius: 4px; color: var(--ok); font: 600 10px/1 var(--mono); letter-spacing: .1em; transform: rotate(6deg); }
.cert__k { padding-right: 70px; font: 600 10.5px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.cert__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 12px; border: 1px solid var(--ink); }
.cert__grid span { padding: 7px 8px; font: 600 12px/1.2 var(--mono); }
.cert__grid span + span { border-left: 1px solid var(--ink); }
.cert__grid small { display: block; margin-bottom: 4px; font: 500 9px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.cert__ok { display: flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 12.5px; font-weight: 750; color: var(--ok); }
.cert__ok svg { width: 15px; height: 15px; }
.exp { padding: 16px 18px; border: 1px solid rgba(120, 190, 255, .16); border-radius: 12px; background: rgba(255, 255, 255, .03); }
.exp__h { font: 600 10.5px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--cy); }
.exp li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.exp li:last-child { border-bottom: 0; }
.exp b { display: block; font-size: 13.5px; font-weight: 800; }
.exp small { display: block; font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, .55); }
.exp em { margin-left: auto; font: 600 12px/1 var(--mono); font-style: normal; color: rgba(255, 255, 255, .6); white-space: nowrap; }
.exp li.is-soon em { color: var(--amb); }
.exp li.is-late em { color: #ff8a8a; }

/* ---------------- 03 AOG ja kliendid ---------------- */
.aog__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.aogline { position: relative; margin-top: 26px; padding-left: 4px; }
.aogline li { position: relative; display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 14px; padding: 9px 0 9px 22px; }
.aogline li::before { content: ''; position: absolute; left: 0; top: 15px; width: 10px; height: 10px; border: 2px solid var(--teal); border-radius: 50%; background: var(--bg); }
.aogline li:not(:last-child)::after { content: ''; position: absolute; left: 5px; top: 27px; bottom: -9px; width: 0; border-left: 2px dashed rgba(var(--teal-rgb), .45); }
.aogline li.is-now::before { background: var(--teal); box-shadow: 0 0 0 5px rgba(var(--teal-rgb), .18); }
.aogline time { font: 600 14px/1.5 var(--mono); color: var(--ink); }
.aogline span { font-size: 13.5px; font-weight: 600; line-height: 1.45; color: var(--ink-3); }
.aogline b { display: block; font-size: 14.5px; font-weight: 850; color: var(--ink); }
.appr { display: grid; grid-template-columns: 262px minmax(0, 1fr); gap: 22px; align-items: center; }
.ap { position: absolute; z-index: 2; inset: .55em; display: flex; flex-direction: column; padding: 3.4em 1em 1em; border-radius: 2.3em; }
.ap__h small { display: block; font: 600 .6em/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--teal-d); }
.ap__h b { display: block; margin-top: .25em; font-size: 1em; font-weight: 900; letter-spacing: -.01em; }
/* foto: hüdraulikatoru ja klamber (joonistatud), punane ring defekti ümber */
.ap__photo { position: relative; height: 7em; margin-top: .7em; overflow: hidden; border-radius: .7em; background: radial-gradient(60% 80% at 30% 30%, #6d7480, #3c424c); }
.ap__photo i:nth-child(1) { position: absolute; left: -10%; right: -10%; top: 46%; height: .9em; border-radius: 1em; background: linear-gradient(180deg, #d9dde3, #9aa1ab 60%, #6c727c); transform: rotate(-12deg); }
.ap__photo i:nth-child(2) { position: absolute; left: 44%; top: 30%; width: 1.4em; height: 3em; border-radius: .3em; background: linear-gradient(90deg, #8a6a3a, #c69b5a 50%, #8a6a3a); transform: rotate(-12deg); }
.ap__photo i:nth-child(3) { position: absolute; left: 34%; top: 18%; width: 3.6em; height: 3.6em; border: .18em solid #ff4d4d; border-radius: 50%; }
.ap__photo span { position: absolute; left: .6em; bottom: .5em; padding: .2em .5em; border-radius: .3em; background: rgba(0, 0, 0, .55); color: #fff; font: 600 .58em/1.3 var(--mono); }
.ap__t { margin-top: .6em; font-size: .78em; font-weight: 750; line-height: 1.3; }
.ap__rows { margin-top: .5em; }
.ap__rows li { display: flex; justify-content: space-between; padding: .38em 0; border-top: 1px solid var(--line-2); font-size: .74em; font-weight: 650; color: var(--ink-2); }
.ap__rows li:last-child b { font-size: 1.1em; color: var(--ink); }
.ap__rows b { font-family: var(--mono); font-weight: 600; }
.ap__ok { height: 2.6em; margin-top: auto; border: 0; border-radius: .55em; background: var(--teal); color: #fff; font-size: .82em; font-weight: 900; cursor: pointer; transition: background-color .3s; }
.ap__ok[disabled] { background: var(--ink); cursor: progress; font-family: var(--mono); font-weight: 600; letter-spacing: .02em; }
.ap__call { height: 2.4em; margin-top: .4em; border: 1px solid var(--line); border-radius: .55em; background: #fff; font-size: .76em; font-weight: 800; color: var(--ink); cursor: pointer; }
.ap__done { display: flex; align-items: center; justify-content: center; gap: .4em; height: 2.6em; margin-top: auto; border-radius: .55em; background: #e3f3ea; color: var(--ok); font-size: .86em; font-weight: 900; animation: popIn .5s var(--ease) both; }
.ap__done svg { width: 1.2em; height: 1.2em; }
.ap__done[hidden], .ap__ok[hidden], .ap__call[hidden] { display: none; }
.ap.is-ok .ap__photo i:nth-child(3) { border-color: var(--gr); }
.appr__side { padding: 18px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); box-shadow: var(--sh-2); }
.appr__h { font: 600 10.5px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.appr__list { margin-top: 10px; }
.appr__list li { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-top: 1px solid var(--line-2); font-size: 14px; font-weight: 750; }
.appr__list em { margin-left: auto; padding: 4px 9px; border-radius: 5px; background: #e3f3ea; color: var(--ok); font-style: normal; font-size: 11.5px; font-weight: 850; white-space: nowrap; transition: background-color .3s, color .3s; }
.appr__list em.is-wait { background: var(--mint); color: var(--teal-d); }
.appr__list em.is-next { background: var(--line-2); color: var(--ink-3); }
.appr__list em.is-ok { animation: popIn .5s var(--ease); }
.appr__note { margin-top: 10px; padding: 10px 12px; border-radius: 8px; background: var(--bg); font-size: 13.5px; font-weight: 600; line-height: 1.5; color: var(--ink-2); }
.appr__note b { color: var(--ink); }
.appr__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 12px; font-size: 12.5px; font-weight: 650; color: var(--ink-3); }

/* ---------------- 04 asukohad ja keeled ---------------- */
.loc { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(300px, .9fr); gap: 16px; align-items: stretch; }
.loc__map { position: relative; min-height: 380px; overflow: hidden; border: 1px solid rgba(120, 190, 255, .16); border-radius: var(--r-lg); background: radial-gradient(70% 70% at 60% 50%, rgba(71, 207, 233, .07), transparent 70%), rgba(255, 255, 255, .02); }
.loc__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.loc__grid path { fill: none; stroke: rgba(120, 190, 255, .09); stroke-width: .25; vector-effect: non-scaling-stroke; }
.loc__arc { fill: none; stroke: var(--mg); stroke-width: 1.3; stroke-dasharray: 5 5; vector-effect: non-scaling-stroke; opacity: .55; animation: taxi 2.4s linear infinite; }
.loc__who button { position: absolute; z-index: 2; display: flex; align-items: center; gap: 8px; padding: 0; border: 0; background: none; color: #fff; text-align: left; cursor: pointer; transform: translate(-7px, -7px); }
.loc__who i { position: relative; width: 14px; height: 14px; flex: none; border: 2px solid var(--cy); border-radius: 50%; background: var(--pfd); transition: background-color .2s, border-color .2s; }
.loc__who span { padding: 5px 9px; border: 1px solid rgba(120, 190, 255, .2); border-radius: 7px; background: rgba(8, 20, 40, .85); transition: border-color .2s, background-color .2s; }
.loc__who b { display: block; font-size: 13px; font-weight: 850; }
.loc__who small { display: block; font: 500 10px/1.3 var(--mono); color: rgba(255, 255, 255, .6); }
.loc__who button:hover span { border-color: rgba(120, 190, 255, .5); }
.loc__who button[aria-checked="true"] i { border-color: var(--mg); background: var(--mg); box-shadow: 0 0 0 6px rgba(255, 79, 168, .2); }
.loc__who button[aria-checked="true"] span { border-color: var(--mg); background: rgba(40, 10, 40, .9); }
.wcard { align-self: center; padding: 22px; border-radius: var(--r-lg); background: var(--white); color: var(--ink); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.wcard.is-in > * { animation: chipIn .4s var(--ease) both; }
.wcard__k { font: 600 11px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--teal-d); }
.wcard__t { margin-top: 8px; font-size: 24px; font-weight: 860; letter-spacing: -.03em; line-height: 1.15; }
.wcard__dl { display: grid; grid-template-columns: 1fr 1fr; margin-top: 16px; border: 1px solid var(--line); border-radius: 10px; }
.wcard__dl > div { padding: 10px 12px; }
.wcard__dl > div + div { border-left: 1px solid var(--line); }
.wcard__dl dt { font: 600 10px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.wcard__dl dd { margin-top: 5px; font: 600 14.5px/1.2 var(--mono); font-variant-numeric: tabular-nums; }
.wcard__st { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 12px; }
.wcard__st em { padding: 4px 10px; border-radius: 5px; background: var(--mint); color: var(--teal-d); font-style: normal; font-size: 12.5px; font-weight: 850; }
.wcard__st span { font: 500 11.5px/1 var(--mono); color: var(--ink-3); }
.wcard__btn { width: 100%; height: 42px; margin-top: 14px; border: 0; border-radius: 8px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 850; pointer-events: none; }
.wcard__lang { margin-top: 12px; font-size: 13px; font-weight: 650; line-height: 1.5; color: var(--ink-3); }

/* ---------------- 05 turvalisus ja varundus: pardaregistraator ---------------- */
.vault__grid { display: grid; grid-template-columns: minmax(300px, .9fr) minmax(0, 1.3fr); gap: 20px; align-items: start; }
.fdr { display: grid; gap: 14px; }
/* pardaregistraator: rahvusvaheline oranž, valged helkurribad, sulgurid */
.fdr__box { position: relative; height: 200px; padding: 22px 22px 0; overflow: hidden; border-radius: 18px; background: linear-gradient(160deg, #ff7a1a, #ff5a00 55%, #e04c00); color: #1a0e05; box-shadow: inset 0 2px 0 rgba(255, 255, 255, .35), inset 0 -10px 24px rgba(0, 0, 0, .18), 0 30px 50px -24px rgba(255, 90, 0, .55); }
.fdr__box::before, .fdr__box::after { content: ''; position: absolute; top: 14px; width: 12px; height: 12px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ffd2b0, #b34000 70%); box-shadow: 0 160px 0 0 #c44a00; }
.fdr__box::before { left: 14px; }
.fdr__box::after { right: 14px; }
.fdr__stripe { position: absolute; left: 0; right: 0; bottom: 34px; height: 26px; background: repeating-linear-gradient(90deg, #fff 0 22px, rgba(255, 255, 255, .55) 22px 26px); opacity: .9; }
.fdr__box b { position: relative; display: block; margin-top: 18px; font: 600 clamp(18px, 2.2vw, 24px)/1 var(--mono); letter-spacing: .14em; }
.fdr__box small { position: relative; display: block; margin-top: 8px; font: 600 11px/1 var(--mono); letter-spacing: .16em; opacity: .75; }
.fdr__led { position: absolute; right: 26px; top: 64px; width: 10px; height: 10px; border-radius: 50%; background: #3dff7a; box-shadow: 0 0 10px 2px rgba(61, 255, 122, .7); animation: live 1.6s ease-out infinite; }
.fdr__log { padding: 14px 16px; border: 1px solid rgba(120, 190, 255, .16); border-radius: 14px; background: rgba(0, 0, 0, .25); font-family: var(--mono); }
.fdr__h { display: flex; justify-content: space-between; font: 600 10.5px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--cy); }
.fdr__h span:last-child { color: rgba(255, 255, 255, .55); font-variant-numeric: tabular-nums; }
.fdr__log ol { margin-top: 8px; min-height: 172px; }
.fdr__log li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px; padding: 7px 0; border-top: 1px dashed rgba(255, 255, 255, .1); font-size: 12px; line-height: 1.45; color: rgba(255, 255, 255, .8); }
.fdr__log time { color: var(--gr); }
.fdr__log b { color: #fff; font-weight: 600; }
.fdr__log small { display: block; color: rgba(255, 255, 255, .45); font-size: 11px; }
.fdr__log li.is-new { animation: rowIn .6s var(--ease) both; }
.sec { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sec li { padding: 16px; border: 1px solid rgba(120, 190, 255, .14); border-radius: 12px; background: rgba(255, 255, 255, .03); transition: border-color .25s, background-color .25s; }
.sec li:hover { border-color: rgba(71, 207, 233, .4); background: rgba(71, 207, 233, .05); }
.sec__ic { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 9px; background: rgba(71, 207, 233, .12); color: var(--cy); }
.sec__ic svg { width: 19px; height: 19px; }
.sec b { display: block; margin-top: 12px; font-size: 15px; font-weight: 850; letter-spacing: -.01em; }
.sec p { margin-top: 4px; font-size: 13.5px; font-weight: 550; line-height: 1.5; color: rgba(255, 255, 255, .66); }
.bkp { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.5fr); gap: 24px; align-items: center; margin-top: 20px; padding: 22px; border: 1.5px dashed rgba(var(--hi-rgb), .4); border-radius: var(--r-lg); }
.bkp__head h3 { margin-top: 10px; font-size: 22px; font-weight: 850; letter-spacing: -.025em; line-height: 1.2; }
.bkp__head p { margin-top: 8px; font-size: 14px; font-weight: 550; line-height: 1.55; color: rgba(255, 255, 255, .7); }
.bkp__steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; counter-reset: b; }
.bkp__steps li { position: relative; padding: 14px 12px; border-radius: 10px; background: rgba(255, 255, 255, .05); counter-increment: b; }
.bkp__steps li::before { content: '0' counter(b); display: block; font: 600 11px/1 var(--mono); color: var(--teal-hi); }
.bkp__steps small { display: block; margin-top: 8px; font: 600 10.5px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.bkp__steps b { display: block; margin-top: 5px; font-size: 13.5px; font-weight: 750; line-height: 1.35; }

/* ---------------- 06 komplekt ja kohandused ---------------- */
.cust { margin-top: 14px; padding: 20px 22px; border: 1.5px dashed rgba(var(--teal-rgb), .45); border-radius: var(--r-lg); background: rgba(255, 255, 255, .6); }
.cust__h { display: flex; align-items: center; gap: 10px; font: 600 11px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.cust ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 22px; margin-top: 10px; }
.cust li { padding: 11px 0; border-top: 1px solid var(--line-2); }
.cust b { display: block; font-size: 14.5px; font-weight: 850; }
.cust span { display: block; margin-top: 3px; font-size: 13px; font-weight: 600; line-height: 1.5; color: var(--ink-3); }

/* ---------------- kohandumine ---------------- */
@media (max-width: 1180px) {
  .clocks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .clocks li:nth-child(4) { border-left: 0; }
  .clocks li:nth-child(n+4) { border-top: 1px solid rgba(120, 190, 255, .12); }
  .hgar { grid-template-columns: minmax(0, 1fr); }
  .hgar__pick { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
  .hgar__ac { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bkp { grid-template-columns: minmax(0, 1fr); }
  .cust ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1060px) {
  .rstage { width: min(100%, 560px); margin: 4% auto 12%; }
  .scan, .aog__grid, .loc, .vault__grid { grid-template-columns: minmax(0, 1fr); }
  html.theme-aero .scope__grid { grid-template-columns: minmax(0, 1fr); }
  html.theme-aero .scope__plus { justify-self: center; }
}
@media (max-width: 760px) {
  .appr { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .appr__side { width: 100%; }
  .hgar__pick { grid-template-columns: minmax(0, 1fr); }
  .bkp__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sec { grid-template-columns: minmax(0, 1fr); }
  .cust ul { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .rxh__rose { right: -50vw; width: 120vw; opacity: .35; }
  .rstage { width: 100%; margin: 6% auto 0; }
  .rcard { position: relative; left: auto; bottom: auto; width: 100%; margin-top: 12px; }
  .hplan { padding: 6px 6px 2px; }
  .hplan__svg { margin: 0 -2px; }
  .clocks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .clocks li:nth-child(n) { border-left: 0; border-top: 1px solid rgba(120, 190, 255, .12); }
  .clocks li:nth-child(-n+2) { border-top: 0; }
  .clocks li:nth-child(even) { border-left: 1px solid rgba(120, 190, 255, .12); }
  .clocks b { font-size: 22px; }
  .hgar, .scan__wo, .appr__side { padding: 10px; }
  .hgar__floor { padding: 10px; }
  .scan__list li { flex-wrap: wrap; }
  .scan__list em { margin-left: 48px; }
  .cert__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cert__grid span:nth-child(3) { border-left: 0; }
  .cert__grid span:nth-child(n+3) { border-top: 1px solid var(--ink); }
  .loc__map { min-height: 320px; }
  .loc__who small { display: none; }
  .bkp { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .rxh__rose, .hp-taxi, .hp-lights circle, .loc__arc, .hplan__live i, .fdr__led { animation: none !important; }
}
