/* =====================================================================
   Intras v3 - valdkondade alamlehed: ühised osad, IntrasDent ja IntrasCare
   Laeb pärast v3.css-i; teema tuleb <html> klassist. IntrasAutivo, IntrasBuild, IntrasEstate, IntrasTech, IntrasAero ja IntrasDine lisavad oma faili (autivo.css, build.css, estate.css, tech.css, aero.css, dine.css).
   .theme-dent  jahe emailivalge, koobaltsinine, koralli aktsent (sama mis kinnastel), täpsed nurgad, punktvõrk
   .theme-care  soe liivane, salvei roheline, terrakota, pehmed kaared ja ümarad nupud, öövahetuse tume plokk
   ===================================================================== */

/* ---------------- teemad ---------------- */
html.theme-dent {
  --teal-rgb: 37, 89, 214;
  --hi-rgb: 143, 180, 255;
  --bg-rgb: 244, 247, 251;
  --acc-rgb: 240, 100, 60;
  --bg: #f4f7fb;
  --white: #fff;
  --ink: #0e1a33;
  --ink-2: #4a5670;
  --ink-3: #626c85;                /* väike tekst vähemalt 4,5:1 valgel, --bg, --mint ja --line-2 taustal */
  --ink-4: #a6aec0;
  --line: #dee4ee;
  --line-2: #ebeff6;
  --teal: #2559d6;
  --teal-d: #1c47b3;
  --teal-hi: #8fb4ff;
  --mint: #e9efff;
  --mint-2: #d3defb;
  --navy: #0e1a33;
  --navy-d: #0a1428;
  --acc: #f0643c;
  --acc-d: #c7401b;                /* tekstina --acc-t taustal vähemalt 4,5:1 */
  --acc-t: #fff0ea;
  --brand: #2559d6;
  --av2: #6d8de8;
  --r: 14px;
  --r-lg: 20px;
}
html.theme-care {
  --teal-rgb: 63, 117, 89;
  --hi-rgb: 168, 213, 185;
  --bg-rgb: 246, 241, 232;
  --acc-rgb: 196, 98, 58;
  --bg: #f6f1e8;
  --white: #fffdf9;
  --ink: #1f2a24;
  --ink-2: #545f58;
  --ink-3: #676d67;                /* väike tekst vähemalt 4,5:1 valgel, --bg ja --mint taustal */
  --ink-4: #aeb3aa;
  --line: #e6dfd1;
  --line-2: #efe9de;
  --teal: #3f7559;
  --teal-d: #335f48;
  --teal-hi: #a8d5b9;
  --mint: #e8f0e6;
  --mint-2: #d2e3d1;
  --navy: #1f2a24;
  --navy-d: #17211c;
  --acc: #c4623a;
  --acc-d: #a94f2b;
  --acc-t: #f8e9df;
  --brand: #3f7559;
  --av2: #b08a5c;
  --r: 22px;
  --r-lg: 30px;
  --sh-2: 0 1px 2px rgba(31, 42, 36, .05), 0 12px 28px -14px rgba(31, 42, 36, .2);
  --sh-3: 0 1px 2px rgba(31, 42, 36, .05), 0 26px 50px -24px rgba(31, 42, 36, .32), 0 60px 110px -60px rgba(31, 42, 36, .3);
}

/* hääl: hambaravi on täpne ja terav, hoolekanne pehme ja rahulik */
html.theme-dent .h1, html.theme-dent .h2 { font-weight: 830; letter-spacing: -.038em; }
html.theme-dent .btn { border-radius: 10px; }
html.theme-dent .btn--lg { border-radius: 12px; }
html.theme-care .h1, html.theme-care .h2, html.theme-care .final__title { font-weight: 760; letter-spacing: -.026em; }
html.theme-care .h2 { line-height: 1.07; }
html.theme-care .btn { border-radius: 999px; }
html.theme-care .label, html.theme-care .eyebrow { font: 750 14px/1.2 var(--font); letter-spacing: 0; text-transform: none; }
html.theme-care .label b { font-weight: 750; }
html.theme-care .faq__list summary { font-weight: 760; }
html.theme-care .ready__sum small, html.theme-care .ready__h, html.theme-care .mkit__t small { font: 700 12.5px/1.3 var(--font); letter-spacing: 0; text-transform: none; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* alambränd menüüs */
.brand__sub { font-style: normal; font-weight: 600; color: var(--teal); letter-spacing: -.02em; }
html.theme-care .brand__mark { border-radius: 50%; }

/* ---------------- sektsioonid ja väikesed osad ---------------- */
.sx { position: relative; padding: var(--sec) 0; }
.sx--white { background: var(--white); }
.sx--tint { background: var(--mint); }
.sx--dark { background: var(--navy); color: #fff; }
.sx--dark .h2 .t { color: var(--teal-hi); }
.sx--dark .lead { color: rgba(255, 255, 255, .72); }
.sx--dark .label--hi b { color: rgba(255, 255, 255, .5); }
.sx .h2 + .lead { margin-top: 22px; }
.ticks { display: grid; gap: 12px; margin-top: 28px; }
.ticks li { display: flex; align-items: flex-start; gap: 10px; font-size: 15.5px; font-weight: 650; line-height: 1.45; color: var(--ink-2); }
.ticks svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--teal); }
.lead a { color: var(--teal); }
.av { position: relative; }
.av--b { --c: var(--av2); }
.av--h, .av--q { --c: var(--acc); }
.av--q { background: var(--white) !important; color: var(--acc-d); box-shadow: inset 0 0 0 1.5px var(--acc) !important; }
.av--n { --c: var(--teal); }
.av--c { --c: var(--av2); }

/* ---------------- avavaade ---------------- */
.sxh { position: relative; padding: 126px 0 clamp(80px, 9vw, 128px); overflow: clip; }
.sxh__grid { position: relative; display: grid; grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr); gap: clamp(36px, 4.5vw, 72px); align-items: center; }
.sxh__copy { position: relative; z-index: 2; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; font: 500 12px/1.3 var(--mono); letter-spacing: .03em; color: var(--ink-3); }
.crumbs li + li::before { content: '/'; margin-right: 8px; opacity: .45; }
/* puutepind vähemalt 24 px kõrge (12 px kiri), rida jääb samaks */
.crumbs a { display: inline-block; margin-block: -5px; padding-block: 5px; text-decoration: none; transition: color .2s; }
.crumbs a:hover { color: var(--teal); }
.crumbs [aria-current] { color: var(--ink-2); }
.pbadge { display: inline-flex; align-items: center; gap: 10px; margin-top: 30px; padding: 5px 16px 5px 5px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); box-shadow: var(--sh-1); font-size: 16px; font-weight: 900; letter-spacing: -.025em; }
.pbadge__mark { width: 32px; height: 32px; flex: none; }
.pbadge em { font-style: normal; font-weight: 600; color: var(--teal); }
.sxh__title { margin-top: 20px; font-size: clamp(40px, 4.25vw, 62px); line-height: 1; }
.sxh__title .rv--up { text-wrap: balance; }
.sxh__lead { margin-top: 24px; max-width: 31em; }
.sxh__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.sxh__note { display: flex; align-items: flex-start; gap: 8px; margin-top: 20px; font-size: 14.5px; font-weight: 600; line-height: 1.5; color: var(--ink-3); }
.sxh__note svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--teal); }
.sxh__stage { position: relative; }
.js .sxh__stage > * { opacity: 0; }
.js .sxh__stage.is-in > .ph { animation: stageIn 1.2s var(--ease) .1s both; }
.js .sxh__stage.is-in .dcard, .js .sxh__stage.is-in .ccard { animation: cardIn 1s var(--ease) .6s both; }
.js .sxh__stage.is-in .qrtag { animation: tagIn 1s var(--ease) 1s both; }
.js .sxh__stage.is-in .chip { animation: chipIn .8s var(--ease) 1.3s both; }
@keyframes stageIn { from { opacity: 0; transform: translateY(26px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes tagIn { from { opacity: 0; transform: translateY(-22px) rotate(16deg) scale(.86); } to { opacity: 1; transform: rotate(4deg); } }

/* --- IntrasDent: punktvõrk, foto, QR-silt, päevikukaart --- */
html.theme-dent .sxh::before { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(var(--teal-rgb), .17) 1px, transparent 1.3px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(180deg, #000 10%, transparent 80%); mask-image: linear-gradient(180deg, #000 10%, transparent 80%); }
.dstage { aspect-ratio: 1100 / 733; margin: 7% 5% 12% 7%; }
.dstage__photo { position: absolute; inset: 0; border-radius: var(--r-lg); box-shadow: var(--sh-3); }
.dstage__photo img { object-position: 62% 50%; }
.qrtag { position: absolute; z-index: 3; right: 9%; top: -9%; width: clamp(112px, 23%, 148px); padding: 10px 10px 9px; border-radius: 9px; background: #fff; color: var(--ink); transform: rotate(4deg); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 16px 28px -12px rgba(14, 26, 51, .5), 0 2px 5px rgba(14, 26, 51, .14); }
.qrtag::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(125deg, rgba(255, 255, 255, .7), rgba(255, 255, 255, 0) 38%); }
.qrtag .qr { width: 100%; height: auto; color: var(--ink); }
.qrtag > span { display: block; margin-top: 7px; padding-top: 6px; border-top: 1px dashed var(--line); }
.qrtag b { display: block; font-size: 13px; font-weight: 900; letter-spacing: -.01em; }
.qrtag small { display: block; font: 500 9.5px/1.45 var(--mono); letter-spacing: .02em; color: var(--ink-3); }
.dcard { position: absolute; z-index: 3; left: -9%; bottom: -13%; width: min(340px, 58%); padding: 14px 16px 6px; border-radius: 14px; background: var(--white); box-shadow: 0 0 0 1px rgba(14, 26, 51, .06), var(--sh-3); }
.dcard__h { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 10px; border-bottom: 1px solid var(--line-2); font: 500 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.dcard__h em { font-style: normal; color: var(--teal); }
.dcard__row { display: flex; align-items: center; gap: 11px; padding: 10px 0; }
.dcard__row + .dcard__row { border-top: 1px solid var(--line-2); }
.dcard__row i { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 9px; background: var(--mint); color: var(--teal); }
.dcard__row i svg { width: 16px; height: 16px; }
.dcard__row b { display: block; font-size: 14px; font-weight: 850; line-height: 1.25; }
.dcard__row small { display: block; font-size: 12px; font-weight: 650; color: var(--ink-3); }
.dchip { right: -7%; top: 61%; }

/* --- IntrasCare: kaarjas foto, vahetuste kaart --- */
html.theme-care .sxh { background: radial-gradient(55% 60% at 88% 18%, rgba(var(--hi-rgb), .28), transparent 70%), radial-gradient(40% 40% at 8% 90%, rgba(var(--acc-rgb), .08), transparent 70%); }
.cstage { width: min(100%, 520px); margin: 0 auto; padding: 2% 0 6%; }
.cstage__photo { aspect-ratio: 5 / 5.7; border-radius: 999px 999px var(--r-lg) var(--r-lg); box-shadow: var(--sh-3); background: #e9e0cf; }
.cstage__photo img { object-position: 53% 50%; }
html.theme-care .ph::after { background: linear-gradient(180deg, rgba(31, 42, 36, 0) 62%, rgba(31, 42, 36, .16)); }
.cstage::before { content: ''; position: absolute; z-index: -1; left: -7%; right: 9%; top: 9%; bottom: 0; border-radius: 999px 999px var(--r-lg) var(--r-lg); border: 1.5px solid rgba(var(--teal-rgb), .22); transform: translate(-4%, 4%); }
.ccard { position: absolute; z-index: 3; left: -16%; bottom: 9%; width: min(272px, 60%); padding: 16px 16px 8px; border-radius: 22px; background: var(--white); box-shadow: 0 0 0 1px rgba(31, 42, 36, .05), var(--sh-3); }
.ccard__h { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 800; color: var(--ink-2); }
.ccard__h em { font-style: normal; padding: 3px 10px; border-radius: 99px; background: var(--mint); color: var(--teal-d); font-size: 12px; font-weight: 800; }
.ccard ul { margin-top: 10px; }
.ccard li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line-2); font-size: 14px; }
.ccard li > svg { width: 17px; height: 17px; flex: none; color: var(--acc); }
.ccard li b { font-weight: 800; }
.ccard li .avs { margin-left: auto; font-size: 13px; }
.ccard .avs .av { box-shadow: 0 0 0 .16em var(--white); }
.cchip { right: -6%; top: 9%; }
html.theme-care .chip { border-radius: 999px; padding-right: 20px; }
html.theme-care .chip span small { font: 700 12px/1.4 var(--font); letter-spacing: 0; text-transform: none; }

/* ---------------- IntrasDent: mis kuhu käib ---------------- */
.scope__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.25fr); gap: 22px; align-items: center; max-width: 1020px; margin: 0 auto; }
.scope__col { align-self: stretch; padding: 28px 30px 22px; border-radius: var(--r-lg); }
.scope__col--off { border: 1.5px dashed #c6cfdf; color: var(--ink-3); }
.scope__col--on { background: var(--white); border: 1px solid var(--line); box-shadow: var(--sh-2); }
.scope__h { display: flex; align-items: center; gap: 10px; font: 500 12px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.scope__h svg { width: 20px; height: 20px; flex: none; }
.scope__col--on .scope__h { color: var(--teal); }
.scope__col ul { margin-top: 16px; }
.scope__col li { position: relative; padding: 10px 0 10px 24px; border-bottom: 1px solid var(--line-2); font-size: 16px; font-weight: 700; line-height: 1.4; }
.scope__col li:last-child { border-bottom: 0; }
.scope__col--off li { border-color: #e2e7f0; font-weight: 600; }
.scope__col li::before { content: ''; position: absolute; left: 3px; top: 18px; width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: .3; }
.scope__col--on li { color: var(--ink); }
.scope__col--on li::before { background: var(--teal); opacity: 1; }
.scope__plus { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--teal); color: #fff; box-shadow: 0 10px 20px -8px rgba(var(--teal-rgb), .6); }
.scope__plus svg { width: 20px; height: 20px; }

/* ---------------- IntrasDent: sterilisatsioon ---------------- */
.ster__grid { display: grid; grid-template-columns: minmax(0, .74fr) minmax(0, 1.26fr); gap: clamp(28px, 4.4vw, 64px); align-items: center; }
.ster__dev { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.sphone { width: min(100%, 262px); aspect-ratio: 9 / 18.2; container-type: inline-size; }
.sphone__scr { position: relative; height: 100%; font-size: calc(100cqi / 262 * 14); padding: .55em; border-radius: 2.8em; background: #0b1428; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06), 0 34px 60px -26px rgba(14, 26, 51, .55), 0 12px 24px -12px rgba(14, 26, 51, .3); overflow: hidden; }
.sphone__scr::before { content: ''; position: absolute; inset: .55em; border-radius: 2.3em; background: #fff; }
.sphone__isl { position: absolute; z-index: 4; top: 1.1em; left: 50%; width: 30%; height: 1.5em; margin-left: -15%; border-radius: 99px; background: #05090f; }
.ss { position: absolute; z-index: 2; inset: .55em; display: flex; flex-direction: column; padding: 3.7em 1.3em 1.4em; border-radius: 2.3em; opacity: 0; visibility: hidden; transform: translateY(.7em); transition: opacity .35s, transform .5s var(--ease), visibility 0s .5s; }
.sphone__scr[data-step="scan"] .ss--scan, .sphone__scr[data-step="form"] .ss--form, .sphone__scr[data-step="done"] .ss--done { opacity: 1; visibility: visible; transform: none; transition: opacity .35s, transform .5s var(--ease), visibility 0s; }
.ss__h { font-size: 1.04em; font-weight: 850; letter-spacing: -.01em; text-align: center; }
.ss__view { position: relative; width: 84%; aspect-ratio: 1; margin: 1.4em auto 0; padding: 13%; border-radius: 1.2em; background: #eef2f8; }
.ss__qr { width: 100%; height: auto; color: var(--ink); }
.ss__c { position: absolute; inset: 5%; --b: .2em; --l: 22%; --c: var(--teal);
  background:
    linear-gradient(var(--c), var(--c)) 0 0 / var(--l) var(--b), linear-gradient(var(--c), var(--c)) 0 0 / var(--b) var(--l),
    linear-gradient(var(--c), var(--c)) 100% 0 / var(--l) var(--b), linear-gradient(var(--c), var(--c)) 100% 0 / var(--b) var(--l),
    linear-gradient(var(--c), var(--c)) 0 100% / var(--l) var(--b), linear-gradient(var(--c), var(--c)) 0 100% / var(--b) var(--l),
    linear-gradient(var(--c), var(--c)) 100% 100% / var(--l) var(--b), linear-gradient(var(--c), var(--c)) 100% 100% / var(--b) var(--l);
  background-repeat: no-repeat; }
.ss__line { position: absolute; left: 9%; right: 9%; top: 12%; height: .2em; border-radius: 99px; background: var(--acc); box-shadow: 0 0 .9em .2em rgba(var(--acc-rgb), .45); opacity: 0; }
.sphone__scr.is-scanning .ss__line { opacity: 1; animation: scanLine .9s var(--ease-io) infinite alternate; }
@keyframes scanLine { from { top: 12%; } to { top: 86%; } }
.ss__hint { margin-top: auto; text-align: center; font: 500 .7em/1.3 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); }
.ss__dev { padding-bottom: .8em; border-bottom: 1px solid var(--line-2); }
.ss__dev b { display: block; font-size: 1.16em; font-weight: 900; letter-spacing: -.02em; }
.ss__dev small { display: block; font-size: .8em; font-weight: 650; color: var(--ink-3); }
.ss__fld { margin-top: .75em; padding: .55em .8em; border-radius: .7em; background: var(--bg); }
.ss__fld small { display: block; font: 500 .64em/1.3 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); }
.ss__fld b { display: block; font-size: .95em; font-weight: 800; font-variant-numeric: tabular-nums; }
.ss__res { display: grid; grid-template-columns: 1fr 1fr; gap: .45em; margin-top: .9em; }
.ss__res span { padding: .62em .3em; border: 1px solid var(--line); border-radius: .7em; text-align: center; font-size: .82em; font-weight: 800; color: var(--ink-3); transition: background-color .3s, color .3s, border-color .3s; }
.sphone__scr[data-res="ok"] .ss__res [data-r="ok"] { background: var(--teal); border-color: var(--teal); color: #fff; }
.sphone__scr[data-res="fail"] .ss__res [data-r="fail"] { background: var(--acc); border-color: var(--acc); color: #fff; }
.ss__save { margin-top: auto; padding: .78em; border-radius: .8em; background: var(--ink); color: #fff; text-align: center; font-size: .9em; font-weight: 800; }
.ss--done { align-items: center; justify-content: center; text-align: center; }
.ss__big { width: 4.4em; height: 4.4em; display: grid; place-items: center; border-radius: 50%; background: var(--mint); color: var(--teal); transition: background-color .3s, color .3s; }
.ss__big > span { grid-area: 1 / 1; display: grid; }
.ss__big svg { width: 2.1em; height: 2.1em; }
.ss__no, .sphone__scr[data-res="fail"] .ss__ok { display: none !important; }
.sphone__scr[data-res="fail"] .ss__no { display: grid !important; }
.sphone__scr[data-res="fail"] .ss__big { background: var(--acc-t); color: var(--acc-d); }
.sphone__scr[data-step="done"] .ss__big { animation: popIn .55s var(--ease) both; }
@keyframes popIn { from { transform: scale(.5); opacity: 0; } }
.ss--done b { margin-top: 1em; font-size: 1.16em; font-weight: 900; letter-spacing: -.02em; line-height: 1.25; }
.ss--done small { margin-top: .35em; font-size: .84em; font-weight: 650; line-height: 1.4; color: var(--ink-3); }
.ster__ctl { width: min(100%, 330px); display: grid; gap: 12px; }
/* raadiogrupi silt halli paberi taustal: --ink-3 jääks seal alla 4,5:1 */
.ster__q { font: 500 12px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); color: color-mix(in srgb, var(--ink-3) 82%, #000); text-align: center; }
.seg2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.seg2 button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 42px; border: 0; border-radius: 9px; background: none; font-size: 14.5px; font-weight: 800; color: var(--ink-2); cursor: pointer; transition: background-color .2s, color .2s, box-shadow .2s; }
.seg2 button svg { width: 16px; height: 16px; flex: none; }
/* valitud nupp: rõngas ikooni värvi (valge taust heledal paberil üksi on 1,1:1, WCAG 1.4.11) */
.seg2 button[aria-checked="true"] { --ring: var(--ink-2); background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ring), var(--sh-1); }
.seg2 button[data-res="ok"][aria-checked="true"] { --ring: var(--teal); }
.seg2 button[data-res="fail"][aria-checked="true"] { --ring: var(--acc-d); }
.seg2 button[data-res="ok"][aria-checked="true"] svg { color: var(--teal); }
.seg2 button[data-res="fail"][aria-checked="true"] svg { color: var(--acc-d); }
.ster__go { width: 100%; }
.ster__go[disabled] { opacity: .6; cursor: progress; }
.ster__side { position: relative; }
.dlog { position: relative; z-index: 2; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); box-shadow: var(--sh-2); }
.dlog__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.dlog__head b { font-size: 16px; font-weight: 900; letter-spacing: -.02em; }
.dlog__dev { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 99px; background: var(--mint); color: var(--teal-d); font-size: 13px; font-weight: 800; transition: background-color .3s, color .3s; }
.dlog__dev i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.dlog__dev[data-state="off"] { background: var(--acc-t); color: var(--acc-d); }
.dlog__scroll { overflow-x: auto; }
.dlog__t { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.dlog__t th { padding: 11px 20px; background: var(--bg); text-align: left; white-space: nowrap; font: 500 11px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.dlog__t td { padding: 13px 20px; border-top: 1px solid var(--line-2); white-space: nowrap; font-weight: 650; color: var(--ink-2); }
.dlog__t td:first-child { font: 500 13px/1 var(--mono); color: var(--ink-3); }
.dlog__t td:nth-child(2) { font-weight: 800; color: var(--ink); }
.dlog__t tr.is-new td { animation: rowNew 1.8s var(--ease) both; }
.dlog__t tr.is-new.is-fail td { animation-name: rowFail; }
@keyframes rowNew { from { background: rgba(var(--teal-rgb), .14); } to { background: rgba(var(--teal-rgb), 0); } }
@keyframes rowFail { from { background: rgba(var(--acc-rgb), .2); } to { background: rgba(var(--acc-rgb), .06); } }
.res { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 99px; font-size: 12.5px; font-weight: 850; }
.res::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.res--ok { background: var(--mint); color: var(--teal-d); }
.res--fail { background: var(--acc-t); color: var(--acc-d); }
.dlog__toast { display: flex; align-items: center; gap: 10px; max-height: 0; padding: 0 20px; overflow: hidden; background: var(--acc-t); color: var(--acc-d); font-size: 14px; font-weight: 750; line-height: 1.45; transition: max-height .5s var(--ease), padding .5s var(--ease); }
.dlog__toast svg { width: 18px; height: 18px; flex: none; }
.dlog__toast.is-on { max-height: 120px; padding: 13px 20px; }
.dlog__toast.is-ok { background: var(--mint); color: var(--teal-d); }
/* termopaberil väljatrükk: tekst tuhmub ülevalt, alumine serv on rebitud */
/* päeviku all: kande kolm sammu (demo märgib käimasoleva) ja vana väljatrükk, mis jääb päevikukaardi serva alla */
.ster__below { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px clamp(20px, 3vw, 44px); align-items: start; margin-top: 22px; }
.ssteps { display: grid; gap: 4px; }
.ssteps li { display: flex; align-items: center; gap: 13px; padding: 11px 14px 11px 11px; border-radius: 14px; transition: background-color .35s, box-shadow .35s; }
.ssteps i { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line); font: 500 12.5px/1 var(--mono); font-style: normal; color: var(--ink-3); transition: background-color .35s, color .35s, box-shadow .35s; }
.ssteps b { display: block; font-size: 15.5px; font-weight: 850; letter-spacing: -.01em; line-height: 1.3; }
.ssteps small { display: block; font-size: 13.5px; font-weight: 600; line-height: 1.4; color: var(--ink-3); }
[data-at="1"] .ssteps li:nth-child(1), [data-at="2"] .ssteps li:nth-child(2), [data-at="3"] .ssteps li:nth-child(3) { background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
[data-at="1"] .ssteps li:nth-child(1) i, [data-at="2"] .ssteps li:nth-child(2) i, [data-at="3"] .ssteps li:nth-child(3) i { background: var(--teal); box-shadow: none; color: #fff; }
[data-at="2"] .ssteps li:nth-child(1) i, [data-at="3"] .ssteps li:nth-child(-n+2) i { background: var(--mint); box-shadow: none; color: var(--teal-d); }
.paper { position: relative; z-index: 1; width: 200px; margin: -40px 5% 30px 0; transform: rotate(-5deg); filter: drop-shadow(0 16px 18px rgba(14, 26, 51, .22)); }
.paper__in { padding: 18px 16px 22px; background: linear-gradient(180deg, #f6f2e7, #fbf9f2 40%); -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 12px 100%; mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 12px 100%; }
.paper pre { margin: 0; font: 500 10.5px/1.65 var(--mono); white-space: pre; background: linear-gradient(180deg, rgba(92, 88, 80, .12) 10%, rgba(92, 88, 80, .55) 70%, rgba(92, 88, 80, .8)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.paper figcaption { position: absolute; left: 0; right: 0; bottom: -26px; text-align: center; font: 500 10.5px/1 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--ink-4); }

/* ---------------- IntrasDent: seadmed ja hooldus ---------------- */
.devs__grid { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.devs { display: grid; grid-template-columns: minmax(0, 248px) minmax(0, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); box-shadow: var(--sh-2); }
.devs__list { display: flex; flex-direction: column; gap: 4px; padding: 10px; border-right: 1px solid var(--line); background: var(--bg); }
.devs__tab { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 4px 11px; padding: 10px; border: 1px solid transparent; border-radius: 13px; background: none; text-align: left; cursor: pointer; transition: background-color .2s, border-color .2s, box-shadow .2s; }
.devs__tab:hover { background: rgba(255, 255, 255, .65); }
.devs__tab[aria-selected="true"] { border-color: rgba(var(--teal-rgb), .55); background: var(--white); box-shadow: var(--sh-1); }
.devs__ic { grid-row: 1 / 3; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: var(--mint); color: var(--teal); }
.devs__ic svg { width: 19px; height: 19px; }
.devs__n b { display: block; font-size: 14.5px; font-weight: 850; letter-spacing: -.01em; line-height: 1.25; }
.devs__n small { display: block; font-size: 12.5px; font-weight: 650; color: var(--ink-3); }
.devs__tab em { grid-column: 2; display: flex; align-items: center; gap: 6px; font-style: normal; font-size: 12px; font-weight: 800; color: var(--teal-d); }
.devs__tab em::before, .devs__st i { content: ''; width: 7px; height: 7px; flex: none; border-radius: 50%; background: currentColor; }
[data-st="soon"].devs__tab em, [data-st="soon"] .devs__st { color: #8a5a07; }
[data-st="due"].devs__tab em, [data-st="due"] .devs__st { color: var(--acc-d); }
.devs__pan { min-width: 0; padding: 22px 24px 20px; }
.js .devs__pan:not([hidden]) { animation: chipIn .45s var(--ease) backwards; }
.devs__top { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; }
.devs__qr { width: 60px; height: 60px; flex: none; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); }
.devs__top p { flex: 1; min-width: 0; }
.devs__top b { display: block; font-size: 20px; font-weight: 900; letter-spacing: -.025em; line-height: 1.2; }
.devs__top small { display: block; margin-top: 3px; font: 500 11.5px/1.35 var(--mono); letter-spacing: .02em; color: var(--ink-3); }
.devs__st { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 99px; background: var(--mint); color: var(--teal-d); font-size: 12.5px; font-weight: 850; white-space: nowrap; }
[data-st="soon"] .devs__st { background: #fdf1dc; }
[data-st="due"] .devs__st { background: var(--acc-t); }
.devs__next { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 16px; margin-top: 18px; padding: 15px 16px 16px; border-radius: 14px; background: var(--bg); }
.devs__next small, .devs__meta dt, .devs__h { display: block; font: 500 11px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.devs__next b { display: block; margin-top: 4px; font-size: 16px; font-weight: 850; letter-spacing: -.01em; line-height: 1.3; }
.devs__when { text-align: right; }
.devs__when b { font-variant-numeric: tabular-nums; }
.devs__bar { grid-column: 1 / -1; height: 8px; overflow: hidden; border-radius: 99px; background: var(--line); }
.devs__bar i { display: block; width: calc(var(--v) * 100%); height: 100%; border-radius: inherit; background: var(--teal); }
[data-st="soon"] .devs__bar i { background: #e7a73a; }
[data-st="due"] .devs__bar i { background: var(--acc); }
.devs__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 22px; margin-top: 16px; }
.devs__meta dd { margin: 3px 0 0; font-size: 14.5px; font-weight: 750; line-height: 1.35; }
.devs__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 22px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line-2); }
.devs__h { margin-bottom: 6px; }
.devs__chk li { display: flex; align-items: flex-start; gap: 9px; padding: 4px 0; font-size: 14px; font-weight: 650; line-height: 1.4; color: var(--ink-2); }
.devs__chk i { width: 16px; height: 16px; flex: none; margin-top: 2px; border: 1.5px solid var(--ink-4); border-radius: 5px; }
.devs__hist li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 10px; padding: 4px 0; font-size: 14px; font-weight: 650; line-height: 1.4; color: var(--ink-2); }
.devs__hist small { grid-column: 1 / -1; font: 500 11.5px/1.4 var(--mono); color: var(--ink-3); }
.devs__hist em { font-style: normal; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }

/* ---------------- IntrasDent: algus (kolm sammu) ---------------- */
.start__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.start__list li { display: flex; flex-direction: column; align-items: flex-start; padding: 26px 26px 24px; border: 1px solid rgba(var(--teal-rgb), .14); border-radius: var(--r-lg); background: var(--white); box-shadow: var(--sh-1); }
.start__list i { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--teal); color: #fff; font: 800 17px/1 var(--font); font-style: normal; box-shadow: 0 10px 18px -10px rgba(var(--teal-rgb), .7); }
.start__list b { margin-top: 20px; font-size: 21px; font-weight: 880; letter-spacing: -.025em; line-height: 1.2; }
.start__list p { margin: 9px 0 22px; font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }
.start__list .link-arrow { margin-top: auto; color: var(--teal); }
.start__qr { display: flex; gap: 8px; margin-top: auto; }
.start__qr .qr { width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 7px; color: var(--ink); }
.start__qr .qr:nth-child(2) { transform: rotate(-4deg); }
.start__qr .qr:nth-child(3) { transform: rotate(3deg); }

/* ---------------- IntrasDent: kabinetid ---------------- */
.rooms__grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.rooms__photo { margin-top: 30px; aspect-ratio: 16 / 9.5; border-radius: var(--r-lg); }
.rooms__photo img { object-position: 50% 11%; }   /* valdkond-tervis-lai.jpg on kärbitud liidestuse lehe kaadri järgi (50% 34%) */
.rooms { padding: 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); box-shadow: var(--sh-2); }
.rooms__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; padding-bottom: 16px; }
.rooms__head b { display: block; font-size: 17px; font-weight: 900; letter-spacing: -.02em; }
.rooms__head small { display: block; font-size: 13px; font-weight: 650; color: var(--ink-3); }
.rooms__st { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 99px; background: var(--acc-t); color: var(--acc-d); font-size: 13px; font-weight: 800; transition: background-color .3s, color .3s; }
.rooms__st i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.rooms__st[data-state="ok"] { background: var(--mint); color: var(--teal-d); }
.rooms__axis { display: flex; justify-content: space-between; margin-left: 96px; padding: 0 0 6px; font: 500 11px/1 var(--mono); color: var(--ink-3); }
.rooms__axis span { width: 0; display: flex; justify-content: center; }
.rooms__list li { display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: center; padding: 7px 0; border-top: 1px solid var(--line-2); }
.rooms__name { font-size: 13.5px; font-weight: 800; }
.rooms__track { position: relative; height: 50px; border-radius: 10px; background: repeating-linear-gradient(90deg, var(--bg) 0 calc(20% - 1px), var(--line-2) calc(20% - 1px) 20%); }
.blk { position: absolute; top: 4px; bottom: 4px; left: calc(var(--s) / 10 * 100% + 2px); width: calc((var(--e) - var(--s)) / 10 * 100% - 4px); display: flex; align-items: center; padding: 0 10px 0 6px; overflow: hidden; border-radius: 8px; background: var(--mint); font-size: 12.5px; font-weight: 800; white-space: nowrap; }
.blk .av { font-size: 13px; box-shadow: 0 0 0 2px var(--mint); }
.blk .av + .av { margin-left: -6px; }
.blk > span { min-width: 0; margin-left: 8px; overflow: hidden; text-overflow: ellipsis; }
.blk--hyg { background: var(--acc-t); }
.blk--hyg .av { box-shadow: 0 0 0 2px var(--acc-t); }
.blk--gap { background: repeating-linear-gradient(-45deg, #fff5f1 0 6px, #ffe8df 6px 12px); box-shadow: inset 0 0 0 1.5px rgba(var(--acc-rgb), .7); }
.blk--gap .av { box-shadow: 0 0 0 2px #fff1ec; }
.blk--gap em { font-style: normal; color: var(--acc-d); }
.blk--gap.is-fixed { background: var(--mint); box-shadow: none; animation: blkFix .7s var(--ease); }
@keyframes blkFix { 0% { transform: scale(.94); } 60% { transform: scale(1.03); } 100% { transform: none; } }
.rooms__fix { margin-top: 16px; padding: 16px; border-radius: 14px; background: var(--bg); }
.rooms__fixh b { display: block; font-size: 14.5px; font-weight: 900; }
.rooms__fixh span { display: block; font-size: 13px; font-weight: 650; color: var(--ink-3); }
.cands { display: grid; gap: 6px; margin-top: 12px; }
.cand { width: 100%; display: flex; align-items: center; gap: 10px; padding: 9px 12px 9px 9px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); text-align: left; font-size: 14px; }
button.cand { cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .25s var(--ease); }
button.cand:hover { border-color: var(--teal); box-shadow: var(--sh-1); transform: translateY(-1px); }
.cand .av { font-size: 13px; }
.cand > span { min-width: 0; }
.cand b { display: block; font-weight: 850; }
.cand small { display: block; font-size: 12.5px; font-weight: 650; color: var(--ink-3); }
.cand em { flex: none; margin-left: auto; padding: 4px 11px; border-radius: 99px; font-style: normal; font-size: 12px; font-weight: 850; white-space: nowrap; }
.cand__ok { background: var(--teal); color: #fff; }
.cand__no { background: var(--line-2); color: var(--ink-3); }
.cand.is-no { opacity: .72; }
.rooms__ok { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; font-weight: 650; line-height: 1.5; color: var(--ink-2); animation: chipIn .5s var(--ease) backwards; }
.rooms__ok svg { width: 20px; height: 20px; flex: none; margin-top: 1px; color: var(--teal); }
.rooms__ok b { color: var(--ink); }
.again { margin-top: 10px; padding: 0; border: 0; background: none; font-size: 13.5px; font-weight: 750; color: var(--ink-3); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.again:hover { color: var(--teal); }

/* ---------------- IntrasDent: tarvikud ---------------- */
.stock__grid { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.stock { overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); box-shadow: var(--sh-2); }
.stock__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.stock__head b { font-size: 16px; font-weight: 900; letter-spacing: -.02em; }
.stock__cnt { padding: 5px 11px; border-radius: 99px; background: var(--acc-t); color: var(--acc-d); font-size: 12.5px; font-weight: 850; }
.stock__list li { display: grid; grid-template-columns: minmax(0, 1fr) 110px 104px; align-items: center; gap: 18px; padding: 14px 20px; border-top: 1px solid var(--line-2); }
.stock__list li:first-child { border-top: 0; }
.stock__n b { display: block; font-size: 15px; font-weight: 850; }
.stock__n small { display: block; font-size: 12.5px; font-weight: 650; color: var(--ink-3); }
.stock__bar { position: relative; height: 8px; border-radius: 99px; background: var(--line-2); }
.stock__bar i { position: absolute; inset: 0 auto 0 0; width: calc(var(--v) * 100%); border-radius: inherit; background: var(--teal); transform-origin: 0 50%; transition: transform 1.1s var(--ease) .35s; }
.stock__bar::after, .stock__legend i { content: ''; position: absolute; left: 50%; top: -4px; bottom: -4px; width: 2px; margin-left: -1px; border-radius: 2px; background: var(--ink-4); }
.js .stock:not(.is-in) .stock__bar i { transform: scaleX(0); }
.is-low .stock__bar i { background: var(--acc); }
.is-mid .stock__bar i { background: #e7a73a; }
.stock__list em { justify-self: end; padding: 4px 10px; border-radius: 99px; background: var(--mint); color: var(--teal-d); font-style: normal; font-size: 12.5px; font-weight: 850; white-space: nowrap; }
.is-low em { background: var(--acc-t); color: var(--acc-d); }
.is-mid em { background: #fdf1dc; color: #8a5a07; }
.stock__legend { display: flex; align-items: center; gap: 8px; padding: 10px 20px 14px; font: 500 11px/1 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }
.stock__legend i { position: relative; left: 0; top: 0; bottom: 0; height: 12px; margin: 0; }

/* ---------------- valmisolek (mõlemal lehel) ---------------- */
.ready__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.ready__try { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; padding: 10px 16px 10px 12px; border-radius: 12px; background: rgba(var(--hi-rgb), .14); color: var(--teal-hi); font-size: 14.5px; font-weight: 750; }
.ready__try svg { width: 18px; height: 18px; flex: none; }
html.theme-care .ready__try { border-radius: 99px; background: rgba(var(--teal-rgb), .1); color: var(--teal-d); }
.ready { position: relative; padding: 24px; border-radius: var(--r-lg); background: var(--white); color: var(--ink); box-shadow: var(--sh-3); }
.ready__top { display: flex; align-items: center; gap: 22px; }
.ready__gauge { position: relative; width: 132px; height: 132px; flex: none; }
.ready__gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ready__trk, .ready__val { fill: none; stroke-width: 10; }
.ready__trk { stroke: var(--line-2); }
.ready__val { stroke: var(--teal); stroke-linecap: round; stroke-dasharray: var(--v) 100; transition: stroke-dasharray 1.1s var(--ease); }
.js .ready:not(.is-on) .ready__val { stroke-dasharray: 0 100; }
.ready__num { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-weight: 900; letter-spacing: -.04em; }
.ready__num b { font-size: 40px; font-variant-numeric: tabular-nums; }
.ready__num span { margin-left: 2px; font-size: 19px; color: var(--ink-3); }
.ready__sum small { display: block; font: 500 11.5px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.ready__sum b { display: block; margin-top: 6px; font-size: 21px; font-weight: 900; letter-spacing: -.02em; line-height: 1.2; transition: color .3s; }
.ready__sum span { display: block; margin-top: 6px; font-size: 13.5px; font-weight: 650; color: var(--ink-3); }
.ready.is-full .ready__sum b { color: var(--teal); }
.ready__cats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 22px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line-2); }
.ready__cats li { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 10px; font-size: 13.5px; font-weight: 800; }
.ready__cats i { grid-column: 1 / -1; grid-row: 2; height: 6px; overflow: hidden; border-radius: 99px; background: var(--line-2); }
.ready__cats i b { display: block; width: calc(var(--v) * 1%); height: 100%; border-radius: inherit; background: var(--teal); transition: width 1.1s var(--ease); }
.js .ready:not(.is-on) .ready__cats i b { width: 0; }
.ready__cats em { font: 500 12px/1 var(--mono); font-style: normal; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.ready__todo { margin-top: 22px; }
.ready__h { margin-bottom: 6px; font: 500 11.5px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.ready__todo li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line-2); }
.ready__ic { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 10px; background: var(--acc-t); color: var(--acc-d); transition: background-color .3s, color .3s; }
.ready__ic svg { grid-area: 1 / 1; width: 17px; height: 17px; transition: opacity .3s, transform .45s var(--ease); }
.ready__ic .i-chk { opacity: 0; transform: scale(.4); }
.is-done .ready__ic { background: var(--mint); color: var(--teal); }
.is-done .ready__ic svg:first-child { opacity: 0; transform: scale(.4); }
.is-done .ready__ic .i-chk { opacity: 1; transform: none; }
.ready__txt { flex: 1; min-width: 0; }
.ready__txt b { display: block; font-size: 14.5px; font-weight: 850; line-height: 1.3; transition: color .3s; }
.ready__txt small { display: block; font-size: 12.5px; font-weight: 650; color: var(--ink-3); }
.is-done .ready__txt b { color: var(--ink-3); text-decoration: line-through; text-decoration-thickness: 1.5px; }
.ready__fix { flex: none; height: 34px; padding: 0 14px; border: 1px solid var(--line); border-radius: 9px; background: var(--white); font-size: 13.5px; font-weight: 800; cursor: pointer; transition: border-color .2s, color .2s, background-color .2s; }
.ready__fix:hover { border-color: var(--teal); color: var(--teal); }
.ready__fix[disabled] { border-color: transparent; background: transparent; color: var(--teal); cursor: default; }
html.theme-care .ready__fix, html.theme-care .ready__ic { border-radius: 99px; }
.ready__again { display: block; margin: 14px 0 0 auto; }
html.theme-care .ready { box-shadow: var(--sh-2); }

/* ---------------- moodulite komplekt ja hind ---------------- */
.mkit { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.mkit a { position: relative; height: 100%; display: flex; flex-direction: column; padding: 18px 18px 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); text-decoration: none; transition: border-color .25s, box-shadow .3s, transform .35s var(--ease); }
.mkit a:hover { border-color: rgba(var(--teal-rgb), .45); box-shadow: var(--sh-2); transform: translateY(-3px); }
.mkit__ic { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 11px; background: var(--mint); color: var(--teal); }
html.theme-care .mkit__ic { border-radius: 50%; }
.mkit__ic svg { width: 20px; height: 20px; }
.mkit__t { margin-top: 14px; }
.mkit__t b { display: block; font-size: 16px; font-weight: 880; letter-spacing: -.015em; line-height: 1.25; }
.mkit__t small { display: block; margin-top: 3px; font: 500 11px/1.3 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }
.mkit p { margin-top: 10px; font-size: 13.5px; line-height: 1.52; color: var(--ink-2); }
.mkit .i-up { position: absolute; top: 18px; right: 18px; width: 16px; height: 16px; color: var(--ink-4); transition: transform .3s var(--ease), color .2s; }
.mkit a:hover .i-up { transform: translate(2px, -2px); color: var(--teal); }
.pnote { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px 34px; margin-top: 28px; padding: 24px 28px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); }
.pnote__fig { padding-right: 34px; border-right: 1px solid var(--line); }
.pnote__fig b { display: block; font-size: 42px; font-weight: 900; letter-spacing: -.045em; line-height: 1; color: var(--teal); }
.pnote__fig span { display: block; margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--ink-3); white-space: nowrap; }
.pnote p { max-width: 48em; font-size: 15px; line-height: 1.6; color: var(--ink-2); }

/* ---------------- lõpp ---------------- */
.final__title .t { color: var(--teal); }
/* teised valdkondlikud lahendused lehe lõpus */
.sfam { margin-top: 52px; }
.sfam__h { font: 500 12px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.sfam ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 14px; }
.sfam__a { display: inline-flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255, .7); text-align: left; text-decoration: none; transition: background-color .25s, border-color .25s, transform .35s var(--ease); }
.sfam__a:hover { background: var(--white); border-color: var(--pt); transform: translateY(-2px); }
.sfam__mark { width: 38px; height: 38px; flex: none; transition: transform .45s var(--ease); }
.sfam__a:hover .sfam__mark { transform: rotate(-6deg); }
.sfam b { display: block; font-size: 15.5px; font-weight: 900; letter-spacing: -.02em; line-height: 1.2; }
.sfam b em { font-style: normal; font-weight: 650; color: var(--pt); }
.sfam__a--build b em { background: linear-gradient(transparent 58%, #f2b705 58%, #f2b705 92%, transparent 92%); }
.sfam small { display: block; margin-top: 1px; font-size: 12.5px; font-weight: 650; color: var(--ink-3); }
.sfam .i-arr { width: 16px; height: 16px; flex: none; color: var(--ink-4); transition: transform .3s var(--ease), color .2s; }
.sfam__a:hover .i-arr { transform: translateX(3px); color: var(--pt); }
html.theme-care .sfam__a { border-radius: 999px; padding-right: 20px; }

/* ---------------- IntrasCare: graafik ---------------- */
.roster { overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); box-shadow: var(--sh-3); }
.roster__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.roster__head b { display: block; font-size: 17px; font-weight: 850; letter-spacing: -.015em; }
.roster__head small { display: block; font-size: 13px; font-weight: 650; color: var(--ink-3); }
.roster__legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.roster__legend li { display: inline-flex; align-items: center; gap: 7px; }
.roster__legend .av { font-size: 12px; }
.roster__key { width: 14px; height: 14px; }
.roster__sh { font: 500 11.5px/1.2 var(--mono); color: var(--ink-3); }
.roster__body { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr); }
/* position: relative: lahtrite ekraanilugeja tekst (.sr-only, absoluutne) jääb kerimisala sisse, muidu venitaks see kitsal
   ekraanil (kuni 334 px) kogu lehe laiemaks */
.roster__scroll { position: relative; overflow-x: auto; padding: 14px 18px 20px; }
.roster__t { width: 100%; min-width: 540px; border-collapse: separate; border-spacing: 5px; table-layout: fixed; }
.roster__t thead th { padding: 6px 2px 2px; text-align: center; font: 500 12px/1.2 var(--mono); color: var(--ink-3); }
.roster__t abbr { text-decoration: none; }
.roster__t tbody th { width: 76px; text-align: left; font-size: 13.5px; font-weight: 800; color: var(--ink-2); }
.roster__t tbody th small { display: block; margin-top: 2px; font: 500 10.5px/1.2 var(--mono); color: var(--ink-3); }
.roster__t td { height: 62px; padding: 6px 3px; border-radius: 16px; background: var(--bg); text-align: center; vertical-align: middle; transition: background-color .35s, box-shadow .35s; }
.roster__t td.is-bad { background: var(--acc-t); box-shadow: inset 0 0 0 1.5px rgba(var(--acc-rgb), .75); }
.roster__t td.is-fixed { animation: cellFix 1s var(--ease); }
@keyframes cellFix { from { box-shadow: inset 0 0 0 2px var(--teal); background: var(--mint); } }
.rcell { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
.rcell .av { width: 26px; height: 26px; font-size: 12px; }
.rcell .av.is-warn { box-shadow: 0 0 0 2px var(--white), 0 0 0 3.5px var(--acc); }
.rcell .av.is-new { animation: avNew .6s var(--ease) backwards; }
@keyframes avNew { from { transform: scale(.3); opacity: 0; } }
.rcell__miss { display: inline-grid; place-items: center; width: 26px; height: 26px; border: 1.5px dashed var(--acc); border-radius: 50%; color: var(--acc-d); font: 800 12px/1 var(--font); font-style: normal; }
.roster__side { display: flex; flex-direction: column; padding: 20px 22px 22px; border-left: 1px solid var(--line); background: linear-gradient(180deg, var(--white), var(--bg)); }
.roster__st { display: flex; align-items: center; gap: 10px; font-size: 15.5px; font-weight: 850; letter-spacing: -.01em; }
.roster__st::before { content: ''; width: 10px; height: 10px; flex: none; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 4px rgba(var(--acc-rgb), .15); transition: background-color .3s, box-shadow .3s; }
.roster__st[data-state="ok"]::before { background: var(--teal); box-shadow: 0 0 0 4px rgba(var(--teal-rgb), .15); }
.roster__issues { display: grid; gap: 8px; margin-top: 14px; }
.rissue { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--white); animation: chipIn .45s var(--ease) backwards; }
.rissue__top { display: flex; align-items: center; gap: 10px; padding: 12px 12px 12px 14px; }
.rissue__top > svg { width: 18px; height: 18px; flex: none; color: var(--acc); }
.rissue__top p { flex: 1; min-width: 0; font-size: 14px; font-weight: 800; line-height: 1.35; }
.rissue__top p small { display: block; margin-top: 1px; font-size: 12.5px; font-weight: 650; color: var(--ink-3); }
.rissue__btn { flex: none; height: 32px; padding: 0 14px; border: 1px solid var(--line); border-radius: 99px; background: var(--white); font-size: 13px; font-weight: 800; cursor: pointer; transition: border-color .2s, color .2s, background-color .2s; }
.rissue__btn:hover, .rissue__btn[aria-expanded="true"] { border-color: var(--teal); color: var(--teal); }
.rissue__opts { display: grid; gap: 6px; padding: 0 12px 12px; }
.ropt { width: 100%; display: flex; align-items: center; gap: 10px; padding: 9px 11px 9px 9px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); text-align: left; cursor: pointer; transition: border-color .2s, background-color .2s, transform .25s var(--ease); animation: chipIn .4s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 60ms); }
.ropt:hover { border-color: var(--teal); background: var(--white); transform: translateY(-1px); }
.ropt .av { width: 26px; height: 26px; font-size: 12px; }
.ropt > span { flex: 1; min-width: 0; }
.ropt b { display: block; font-size: 13.5px; font-weight: 800; line-height: 1.3; }
.ropt small { display: block; font-size: 12px; font-weight: 650; line-height: 1.35; color: var(--ink-3); }
.ropt em { flex: none; padding: 3px 10px; border-radius: 99px; font-style: normal; font-size: 11.5px; font-weight: 850; }
.ropt.is-ok em { background: var(--teal); color: #fff; }
.ropt.is-no em { background: var(--acc-t); color: var(--acc-d); }
.rok { display: flex; gap: 10px; align-items: flex-start; padding: 14px; border-radius: 18px; background: var(--mint); color: var(--teal-d); font-size: 14px; font-weight: 750; line-height: 1.45; animation: chipIn .5s var(--ease) backwards; }
.rok svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.roster__act { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: auto; padding-top: 18px; }
.roster__act .btn[disabled] { opacity: .42; box-shadow: none; cursor: not-allowed; }
.roster__done { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 14px; font-weight: 750; color: var(--teal-d); animation: chipIn .5s var(--ease) backwards; }
.roster__done[hidden] { display: none; }
.roster__done svg { width: 18px; height: 18px; flex: none; }
/* demo tabelite kerimisalad (Chrome teeb kerimisala klaviatuuriga fookustatavaks): kaardi overflow: hidden lõikaks väljapoole
   joonistatud fookusrõnga ära, seega rõngas on kerimisala sees, :has-iga terve kaardi ümber */
.dlog__scroll:focus-visible, .roster__scroll:focus-visible { outline-offset: -3px; border-radius: inherit; }
@supports selector(:has(*)) {
  .dlog:has(> .dlog__scroll:focus-visible), .roster:has(.roster__scroll:focus-visible) { outline: 2.5px solid var(--focus, var(--teal)); outline-offset: 3px; }
  .dlog__scroll:focus-visible, .roster__scroll:focus-visible { outline: none; }
}

/* ---------------- IntrasCare: öövahetus ja juhendid ---------------- */
.night { position: relative; overflow: hidden; background: #13211c; color: #fff; }
.night::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(45% 60% at 18% 55%, rgba(84, 168, 156, .2), transparent 70%), radial-gradient(40% 50% at 90% 10%, rgba(var(--hi-rgb), .08), transparent 70%); }
.night .h2 .t { color: var(--teal-hi); }
.night .lead { color: rgba(255, 255, 255, .72); }
.night .label--hi b { color: rgba(255, 255, 255, .5); }
.night__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: clamp(32px, 5.5vw, 88px); align-items: center; }
.night__photo { aspect-ratio: 1100 / 1560; border-radius: 999px 999px var(--r-lg) var(--r-lg); background: #0d1714; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7); }
.night__photo img { object-position: 50% 68%; filter: saturate(.85) contrast(1.05); }
.night__photo figcaption { position: absolute; z-index: 2; left: 50%; bottom: 18px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; border-radius: 99px; background: rgba(19, 33, 28, .72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 13px; font-weight: 750; white-space: nowrap; color: rgba(255, 255, 255, .9); }
.night__photo figcaption svg { width: 16px; height: 16px; color: var(--teal-hi); }
.guide { max-width: 540px; margin-top: 32px; padding: 20px 20px 14px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 28px; background: rgba(255, 255, 255, .06); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.guide__top { display: flex; align-items: center; gap: 14px; }
.guide__ic { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--teal-hi); color: #13211c; }
.guide__ic svg { width: 22px; height: 22px; }
.guide__top > div { flex: 1; min-width: 0; }
.guide__top b { display: block; font-size: 17px; font-weight: 800; }
.guide__top small { display: block; font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .6); }
.guide__qr { width: 58px; height: 58px; flex: none; border-radius: 9px; color: #13211c; transform: rotate(3deg); }
.guide__prog { display: flex; align-items: center; gap: 14px; margin-top: 18px; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .1); border-bottom: 1px solid rgba(255, 255, 255, .1); }
.guide__ring { width: 54px; height: 54px; flex: none; }
.guide__ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.guide__ring circle { fill: none; stroke: rgba(255, 255, 255, .12); stroke-width: 5; }
.guide__ring .v { stroke: var(--teal-hi); stroke-linecap: round; stroke-dasharray: var(--v) 100; transition: stroke-dasharray 1.5s var(--ease) .45s; }
.js .guide:not(.is-in) .guide__ring .v { stroke-dasharray: 0 100; }
.guide__prog p { font-size: 15px; font-weight: 650; color: rgba(255, 255, 255, .8); }
.guide__prog p b { margin-right: 4px; font-size: 22px; font-weight: 850; color: #fff; }
.guide__prog p small { display: block; font-size: 12.5px; color: rgba(255, 255, 255, .5); }
.guide__lh { margin-top: 12px; font-size: 12.5px; font-weight: 750; color: rgba(255, 255, 255, .64); }
.guide__left li { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 14px; }
.guide__left li + li { border-top: 1px solid rgba(255, 255, 255, .06); }
.guide__left .av { width: 26px; height: 26px; font-size: 12px; box-shadow: 0 0 0 2px #1a2b25; }
.guide__left b { font-weight: 800; }
.guide__left span { margin-left: auto; font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .55); text-align: right; }
.guide__left .is-night span { color: var(--teal-hi); }

/* ---------------- IntrasCare: tunnistused ---------------- */
.certs__grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.certs { padding: 22px 24px 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); box-shadow: var(--sh-3); }
.certs__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.certs__head b { font-size: 16px; font-weight: 850; }
.certs__head span { padding: 4px 11px; border-radius: 99px; background: var(--acc-t); color: var(--acc-d); font-size: 12.5px; font-weight: 850; white-space: nowrap; }
.certs__axis { display: flex; justify-content: space-between; margin: 22px 0 6px 132px; font: 500 11px/1 var(--mono); color: var(--ink-3); }
.certs__axis span { width: 0; display: flex; justify-content: center; white-space: nowrap; }
.certs__axis span:first-child { justify-content: flex-start; }
.certs__rows li { display: grid; grid-template-columns: 132px minmax(0, 1fr); align-items: center; min-height: 54px; border-top: 1px solid var(--line-2); }
.certs__rows li > b { padding-right: 10px; font-size: 13.5px; font-weight: 800; line-height: 1.25; }
.certs__rows li > b small { display: block; font-size: 11.5px; font-weight: 650; color: var(--ink-3); }
.certs__track { position: relative; height: 42px; border-radius: 10px; background: linear-gradient(90deg, rgba(var(--acc-rgb), .1) 0 15.6%, transparent 15.6%); }
.certs__track::before { content: ''; position: absolute; left: 0; top: 3px; bottom: 3px; width: 2px; border-radius: 2px; background: var(--ink); }
.dot { position: absolute; top: 50%; left: calc(var(--d) / 90 * 100%); width: 30px; height: 30px; margin: -15px 0 0 -15px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: var(--teal); color: #fff; font: 800 12.5px/1 var(--font); cursor: pointer; box-shadow: 0 0 0 3px var(--white); transition: transform .25s var(--ease); }
.dot.is-warm { background: #c3953a; }
.dot.is-hot { background: var(--acc); }
.dot:hover, .dot:focus-visible { z-index: 3; transform: scale(1.14); }
.dot__tip { position: absolute; left: 50%; bottom: calc(100% + 10px); padding: 7px 11px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 750; white-space: nowrap; opacity: 0; transform: translate(-50%, 4px); pointer-events: none; transition: opacity .2s, transform .2s; }
.dot:hover .dot__tip, .dot:focus-visible .dot__tip { opacity: 1; transform: translate(-50%, 0); }
/* äärmiste täppide vihje ei lähe kaardist välja */
.dot.is-start .dot__tip { left: -4px; transform: translate(0, 4px); }
.dot.is-end .dot__tip { left: auto; right: -4px; transform: translate(0, 4px); }
.dot.is-start:hover .dot__tip, .dot.is-start:focus-visible .dot__tip, .dot.is-end:hover .dot__tip, .dot.is-end:focus-visible .dot__tip { transform: none; }
.js .certs:not(.is-in) .dot { opacity: 0; }
.js .certs.is-in .dot { animation: dotIn .55s var(--ease) backwards; animation-delay: calc(.35s + var(--i, 0) * 80ms); }
@keyframes dotIn { from { opacity: 0; transform: scale(.2); } }
.certs__note { display: flex; align-items: flex-start; gap: 10px; margin-top: 16px; padding: 12px 14px; border-radius: 16px; background: var(--bg); font-size: 13.5px; font-weight: 600; line-height: 1.5; color: var(--ink-2); }
.certs__note svg { width: 18px; height: 18px; flex: none; margin-top: 1px; color: var(--teal); }

/* ---------------- IntrasCare: pöördumised ---------------- */
.route { padding: 10px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg); }
.route__tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px; }
.route__tabs button { display: inline-flex; align-items: center; gap: 9px; height: 46px; padding: 0 18px 0 14px; border: 1px solid transparent; border-radius: 999px; background: none; font-size: 15px; font-weight: 800; color: var(--ink-2); cursor: pointer; transition: background-color .2s, color .2s, box-shadow .2s, border-color .2s; }
.route__tabs button svg { width: 19px; height: 19px; flex: none; }
.route__tabs button:hover { background: rgba(255, 255, 255, .6); }
/* valitud vahekaart: piirjoon ikooni värvi (--line oleks heledal liival 1,1:1, WCAG 1.4.11) */
.route__tabs button[aria-selected="true"] { border-color: var(--acc); background: var(--white); color: var(--ink); box-shadow: var(--sh-1); }
.route__tabs button[aria-selected="true"] svg { color: var(--acc); }
.route__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 10px; }
.route__steps li { position: relative; padding: 18px 18px 20px; border: 1px solid var(--line); border-radius: 22px; background: var(--white); animation: chipIn .5s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 90ms); }
.route__steps li:not(:last-child)::after { content: ''; position: absolute; z-index: 2; right: -15px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border: 1px solid var(--line); border-radius: 50%; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m4.5 3 3 3-3 3' fill='none' stroke='%23a94f2b' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px no-repeat; }
.route__steps small { display: block; font-size: 12.5px; font-weight: 800; color: var(--acc-d); }
.route__steps b { display: block; margin-top: 8px; font-size: 17px; font-weight: 800; letter-spacing: -.015em; line-height: 1.28; }
.route__steps span { display: block; margin-top: 6px; font-size: 13.5px; font-weight: 650; line-height: 1.45; color: var(--ink-3); }

/* ---------------- kohandumine ---------------- */
@media (max-width: 1180px) {
  .mkit { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .roster__body { grid-template-columns: minmax(0, 1fr); }
  .roster__side { border-left: 0; border-top: 1px solid var(--line); }
  .roster__issues { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
}
@media (max-width: 1060px) {
  .sxh { padding-top: 112px; }
  .sxh__grid { grid-template-columns: minmax(0, 1fr); }
  .sxh__copy { max-width: 680px; }
  .sxh__stage { width: 100%; max-width: 640px; margin: 18px auto 0; }
  .cstage { max-width: 470px; }
  .ster__grid, .devs__grid, .rooms__grid, .stock__grid, .ready__grid, .certs__grid { grid-template-columns: minmax(0, 1fr); }
  .stock__copy { order: -1; }
  .ster__side { max-width: 720px; }
  .night__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  .route__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .route__steps li:nth-child(2)::after { display: none; }
}
@media (max-width: 860px) {
  .mkit { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .night__grid { grid-template-columns: minmax(0, 1fr); }
  .night__photo { width: min(100%, 380px); aspect-ratio: 4 / 4.7; margin: 0 auto; }
  .pnote { grid-template-columns: minmax(0, 1fr); }
  .start__list { grid-template-columns: minmax(0, 1fr); }
  .pnote__fig { padding: 0 0 16px; border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 760px) {
  .scope__grid { grid-template-columns: minmax(0, 1fr); }
  .scope__plus { justify-self: center; }
}
@media (max-width: 640px) {
  .sxh { padding: 98px 0 40px; }
  .sxh__actions .btn { width: 100%; }
  .sxh__title { font-size: clamp(36px, 10.4vw, 46px); }
  .dstage { margin: 12% 2% 15% 3%; }
  .dcard { left: -1%; bottom: -12%; width: 78%; padding: 10px 12px 2px; }
  .dcard__row { padding: 8px 0; }
  .dcard__row + .dcard__row { display: none; }
  .dcard__row b { font-size: 13px; }
  .qrtag { right: 5%; top: -12%; width: 92px; min-width: 0; padding: 7px; }
  .qrtag > span { display: none; }
  .dchip, .cchip { display: none; }
  .ccard { left: -3%; top: auto; bottom: 3%; width: 64%; padding: 12px 12px 4px; border-radius: 18px; }
  .ccard li { padding: 7px 0; font-size: 13px; }
  .cstage::before { display: none; }
  .scope__col { padding: 22px 20px 16px; }
  .scope__col li { font-size: 15px; }
  .sphone { width: 232px; }
  .ster__below { grid-template-columns: minmax(0, 1fr); }
  .paper { width: 176px; margin: 0 auto 30px; transform: rotate(-4deg); }
  .dlog__head, .dlog__t th, .dlog__t td { padding-left: 14px; padding-right: 14px; }
  .devs { grid-template-columns: minmax(0, 1fr); }
  .devs__list { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); scrollbar-width: none; }
  .devs__list::-webkit-scrollbar { display: none; }
  .devs__tab { flex: 0 0 auto; min-width: 186px; }
  .devs__pan { padding: 18px 16px 16px; }
  .devs__top p { flex-basis: calc(100% - 74px); }   /* oleku silt läheb telefonis nime alla omaette reale */
  .devs__top b { font-size: 18px; }
  .devs__cols { grid-template-columns: minmax(0, 1fr); }
  .start__list li { padding: 22px 20px 20px; }
  .rooms { padding: 14px; }
  .rooms__axis { margin-left: 70px; }
  .rooms__list li { grid-template-columns: 70px minmax(0, 1fr); }
  .rooms__name { font-size: 12.5px; }
  .blk > span { display: none; }
  .stock__list li { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; padding: 13px 14px; }
  .stock__bar { grid-column: 1 / -1; grid-row: 2; }
  .stock__head, .stock__legend { padding-left: 14px; padding-right: 14px; }
  .ready { padding: 18px 16px; }
  .ready__top { gap: 16px; }
  .ready__gauge { width: 100px; height: 100px; }
  .ready__num b { font-size: 30px; }
  .ready__sum b { font-size: 18px; }
  .ready__cats { grid-template-columns: minmax(0, 1fr); }
  .ready__todo li { flex-wrap: wrap; row-gap: 8px; }
  .ready__txt { flex-basis: calc(100% - 46px); }
  .ready__fix { margin-left: 46px; }
  .mkit { grid-template-columns: minmax(0, 1fr); }
  .pnote { padding: 20px; }
  .roster__head { padding: 16px; }
  .roster__scroll { padding: 10px 10px 16px; }
  /* kerimisvihje: tabel on kaardist laiem. Servas on vari ainult siis, kui sinna saab kerida (background-attachment local/scroll:
     kaardi tooni katted liiguvad sisuga kaasa ja peidavad varju otsas; vari on sisu all, tekst ei tuhmu) */
  .dlog__scroll, .roster__scroll { background: linear-gradient(90deg, var(--white) 40%, transparent) left / 36px 100% no-repeat local, linear-gradient(270deg, var(--white) 40%, transparent) right / 36px 100% no-repeat local, radial-gradient(farthest-side at 0 50%, rgba(16, 27, 36, .3), transparent) left / 16px 100% no-repeat scroll, radial-gradient(farthest-side at 100% 50%, rgba(16, 27, 36, .3), transparent) right / 16px 100% no-repeat scroll var(--white); }
  .roster__side { padding: 16px; }
  .roster__issues { grid-template-columns: minmax(0, 1fr); }
  .guide { padding: 16px 14px 10px; border-radius: 22px; }
  .guide__qr { width: 46px; height: 46px; }
  .certs { padding: 18px 14px 16px; }
  .certs__axis { margin-left: 92px; }
  .certs__rows li { grid-template-columns: 92px minmax(0, 1fr); }
  .certs__rows li > b { font-size: 12.5px; }
  .dot { width: 26px; height: 26px; margin: -13px 0 0 -13px; font-size: 11.5px; }
  .route__tabs button { flex: 1 1 auto; justify-content: center; padding: 0 14px; font-size: 14px; }
  .route__steps { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .route__steps li::after { display: none; }
  .route__steps li:not(:last-child)::after { display: block; right: auto; left: 50%; top: auto; bottom: -15px; margin: 0 0 0 -9px; transform: rotate(90deg); }
  .final__actions .btn { width: 100%; }
  .sfam ul { flex-direction: column; align-items: stretch; }
  .sfam .i-arr { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .js .sxh__stage > * { opacity: 1; }
  .sphone__scr.is-scanning .ss__line { animation: none; }
}

/* telefon: mooduli kaardid libisevad reana (järgmine paistab servast), avavaade jääb kompaktse päise alla */
@media (max-width: 760px) {
  .sxh { padding-top: 86px; }
  .mkit { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); margin-inline: calc(-1 * var(--gut)); padding: 4px var(--gut) 16px; scrollbar-width: none; overscroll-behavior-x: contain; }
  .mkit::-webkit-scrollbar { display: none; }
  .mkit > li { flex: 0 0 78%; scroll-snap-align: start; }
  .mkit a:active { transform: scale(.97); transition: transform .12s; }
  .mkit p { font-size: 15px; }   /* telefonis jooksev tekst vähemalt 15 px */
}
