
@font-face{font-family:"General Sans";src:url(fonts/general-sans-400.woff2) format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"General Sans";src:url(fonts/general-sans-500.woff2) format("woff2");font-weight:500;font-display:swap}
@font-face{font-family:"General Sans";src:url(fonts/general-sans-600.woff2) format("woff2");font-weight:600;font-display:swap}
@font-face{font-family:"Fraunces";src:url(fonts/fraunces-wordmark.woff2) format("woff2");font-weight:300 500;font-display:swap}
:root{
  --ink:#111827;--ink-2:#374151;--muted:#5c6370;--faint:#8b919b;--line:rgba(17,24,39,.08);
  --ground:#f4f2ec;--card:#fff;--tint:#f2efe9;--sky:#eaf1fc;--sky-2:#cfe0fa;
  --green:#048a01;--green-soft:#e9ffc5;--green-ink:#03660a;--lime:#bef264;--red:#be123c;--amber:#f2c14e;
  --r-sm:10px;--r-md:14px;--r:20px;--r-lg:28px;
  --sh-card:0 1px 2px rgba(24,20,12,.05),0 10px 28px -14px rgba(24,20,12,.16);
  --sh-pop:0 1px 2px rgba(24,20,12,.05),0 26px 50px -26px rgba(24,20,12,.3);
  --sans:"General Sans",-apple-system,"Segoe UI",system-ui,sans-serif;--mark:"Fraunces",Georgia,serif;
  --ease:cubic-bezier(.2,.8,.2,1);color-scheme:light;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;background:var(--ground);color:var(--ink);font-family:var(--sans);font-size:16px;line-height:1.5;-webkit-font-smoothing:antialiased;overflow-x:clip}
h1,h2,h3,p{margin:0}
h1,h2,h3{font-weight:500;letter-spacing:-.035em;line-height:1.08;text-wrap:balance}
a{color:inherit}
button,input,select,textarea{font:inherit;color:inherit}
button{cursor:pointer}
[hidden]{display:none!important}
.num{font-variant-numeric:tabular-nums}
.wrap{max-width:1120px;margin:0 auto;padding:0 max(16px,env(safe-area-inset-left,0px))}
.sky{position:absolute;inset:0 0 auto;height:34rem;z-index:-1;pointer-events:none;background:radial-gradient(55% 75% at 22% 0%,rgba(147,197,253,.6),transparent 70%),radial-gradient(45% 65% at 82% 6%,rgba(190,242,100,.42),transparent 70%)}

.demo{position:relative;z-index:5;background:var(--ink);color:#fff;font-size:.84rem;text-align:center;padding:.5rem 1rem}
.demo b{font-weight:500;color:var(--lime)}

/* Päis */
.top{position:sticky;top:10px;z-index:40;margin-top:14px}
header.bar{display:flex;align-items:center;gap:1rem;height:60px;padding:0 .6rem 0 1.3rem;border-radius:999px;background:rgba(255,255,255,.72);box-shadow:inset 0 1px 0 rgba(255,255,255,.9),var(--sh-card);backdrop-filter:blur(16px) saturate(1.4);-webkit-backdrop-filter:blur(16px) saturate(1.4)}
.wm{font-family:var(--mark);font-size:1.5rem;font-weight:500;letter-spacing:-.05em;line-height:1;text-decoration:none}
.wm span{font-weight:300}
.wm small{margin-left:.5rem;font-family:var(--sans);font-size:.72rem;font-weight:500;letter-spacing:.1em;text-transform:uppercase;color:var(--green-ink)}
.nav{display:flex;gap:.2rem;margin-left:1rem}
.nav a{padding:.5rem .85rem;border-radius:999px;font-size:.93rem;font-weight:500;color:var(--ink-2);text-decoration:none;transition:background .15s,color .15s}
.nav a:hover{background:#fff;color:var(--ink)}
.nav a[aria-current="page"]{background:var(--ink);color:#fff}
.grow1{flex:1}
.live{display:flex;align-items:center;gap:.45rem;font-size:.82rem;color:var(--muted);white-space:nowrap}
.live i{width:8px;height:8px;border-radius:999px;background:var(--green);box-shadow:0 0 0 0 rgba(4,138,1,.5);animation:pulse 2s infinite}
@keyframes pulse{70%{box-shadow:0 0 0 8px rgba(4,138,1,0)}100%{box-shadow:0 0 0 0 rgba(4,138,1,0)}}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.45rem;border:0;border-radius:var(--r-md);font-weight:500;font-size:.95rem;line-height:1.2;white-space:nowrap;padding:.72rem 1.15rem;background:var(--ink);color:#fff;text-decoration:none;transition:transform .15s,box-shadow .15s,background .15s}
.btn:hover{transform:translateY(-1px);box-shadow:var(--sh-pop)}
.btn:active{transform:scale(.97)}
.btn.pill{border-radius:999px;height:44px}
.btn.soft{background:#fff;color:var(--ink);box-shadow:var(--sh-card)}
.btn.lime{background:var(--lime);color:var(--ink)}
.btn.sm{padding:.5rem .85rem;font-size:.88rem}
.btn[disabled]{opacity:.4;pointer-events:none}

/* Avaleht */
.hero{padding:3.4rem 0 1.8rem;text-align:center}
.eyebrow{display:inline-flex;align-items:center;gap:.4rem;margin-bottom:1rem;padding:.42rem .9rem;border-radius:999px;background:rgba(190,242,100,.45);font-size:.76rem;font-weight:500;letter-spacing:.12em;text-transform:uppercase;color:var(--green-ink)}
h1{font-size:clamp(2.2rem,5.2vw,3.6rem)}
.hero .sub{max-width:54ch;margin:1rem auto 0;font-size:1.1rem;color:var(--muted);text-wrap:pretty}
.find{position:relative;display:flex;gap:.5rem;max-width:38rem;margin:1.8rem auto 0}
.q{flex:1;display:flex;align-items:center;gap:.6rem;height:54px;padding:0 1rem;border:1.5px solid rgba(17,24,39,.18);border-radius:18px;background:#fff;box-shadow:var(--sh-card);transition:border-color .2s,box-shadow .2s}
.q:focus-within{border-color:var(--ink);box-shadow:0 0 0 4px rgba(190,242,100,.5)}
.q svg{flex:none;width:18px;height:18px;color:var(--muted)}
.q input{flex:1;min-width:0;height:100%;border:0;background:none;outline:0;font-size:1.02rem}
.q input::placeholder{color:var(--muted)}
.q kbd{flex:none;padding:.1rem .45rem;border-radius:6px;background:var(--tint);font-family:var(--sans);font-size:.78rem;color:var(--muted)}
.find .btn{height:54px;border-radius:18px}
.drop{position:absolute;left:0;right:0;top:calc(100% + 8px);z-index:30;padding:.4rem;border-radius:18px;background:#fff;box-shadow:var(--sh-pop),0 0 0 1px var(--line);text-align:left}
.drop button{display:flex;align-items:center;gap:.7rem;width:100%;padding:.55rem .6rem;border:0;border-radius:12px;background:none;text-align:left}
.drop button.on,.drop button:hover{background:var(--sky)}
.drop b{font-weight:500}.drop small{color:var(--muted);font-size:.84rem}
.drop .r{margin-left:auto;font-weight:500;font-size:.92rem}
.drop p{padding:.7rem;color:var(--muted);font-size:.92rem}
.totals{display:flex;justify-content:center;flex-wrap:wrap;gap:.5rem 2.2rem;margin-top:1.6rem;font-size:.92rem;color:var(--muted)}
.totals b{font-weight:500;font-size:1.05rem;color:var(--ink);margin-right:.3rem}

.logo{flex:none;display:grid;place-items:center;width:40px;height:40px;border-radius:12px;font-weight:600;font-size:.9rem;letter-spacing:-.02em;color:var(--ink)}
.logo.anon{background:#e5e7eb!important;color:var(--faint)}
.blur{filter:blur(5px);user-select:none}
.tag{display:inline-flex;align-items:center;gap:.3rem;height:22px;padding:0 .5rem;border-radius:999px;background:var(--sky);font-size:.72rem;font-weight:500;color:var(--ink-2);white-space:nowrap}
.tag.sale{background:var(--amber);color:#3d2a00;letter-spacing:.04em;text-transform:uppercase;font-size:.66rem}
.tag.ok::before{content:"";width:6px;height:6px;border-radius:999px;background:var(--green)}
.up{color:var(--green-ink)}.down{color:var(--red)}.flat{color:var(--faint)}

.shelf{margin-top:2rem}
.shelf-h{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:.7rem;padding:0 .2rem}
.shelf-h h2{font-size:1.05rem;letter-spacing:-.02em}
.shelf-h a{font-size:.88rem;font-weight:500;color:var(--muted);text-decoration:none}
.shelf-h a:hover{color:var(--ink)}
.cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.7rem}
.deal{position:relative;display:block;padding:1rem;border:0;border-radius:var(--r);background:#fff;box-shadow:var(--sh-card);text-align:left;overflow:hidden;transition:transform .25s var(--ease),box-shadow .25s}
.deal:hover{transform:translateY(-4px);box-shadow:var(--sh-pop)}
.deal::before{content:"";position:absolute;inset:0 0 auto;height:64px;background:linear-gradient(180deg,var(--c,#eaf1fc),transparent);opacity:.75}
.deal>*{position:relative}
.deal .hd{display:flex;align-items:center;gap:.65rem;min-width:0}
.deal .hd b{display:block;font-weight:500;letter-spacing:-.02em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.deal .hd small{display:block;font-size:.8rem;color:var(--muted)}
.deal .tag.sale{position:absolute;top:.7rem;right:.7rem}
.trio{display:grid;grid-template-columns:repeat(3,1fr);gap:.4rem;margin-top:1rem}
.trio span{display:block;font-size:.64rem;font-weight:500;letter-spacing:.1em;text-transform:uppercase;color:var(--faint)}
.trio b{display:block;font-weight:500;font-size:1.02rem;letter-spacing:-.02em}

/* Edetabel */
.board{margin-top:2rem;border-radius:var(--r-lg);background:#fff;box-shadow:var(--sh-card);overflow:hidden}
.board-h{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem;padding:1.1rem 1.2rem .9rem}
.board-h h2{font-size:1.25rem;margin-right:auto}
.seg{display:inline-flex;padding:3px;border-radius:12px;background:var(--tint)}
.seg button{height:34px;padding:0 .8rem;border:0;border-radius:9px;background:none;font-size:.88rem;font-weight:500;color:var(--muted);transition:background .15s,color .15s}
.seg button[aria-pressed="true"]{background:#fff;color:var(--ink);box-shadow:0 1px 2px rgba(24,20,12,.12)}
.chips{display:flex;flex-wrap:wrap;gap:.35rem;padding:0 1.2rem .9rem}
.chip{height:32px;padding:0 .8rem;border:0;border-radius:999px;background:var(--tint);font-size:.86rem;font-weight:500;color:var(--ink-2);transition:background .15s,color .15s}
.chip:hover{background:var(--sky)}
.chip[aria-pressed="true"]{background:var(--ink);color:#fff}
.chip.sale[aria-pressed="true"]{background:var(--amber);color:#3d2a00}
.cols,.row{display:grid;grid-template-columns:2.6rem minmax(0,1.7fr) minmax(0,1fr) 8.5rem 7rem 5.2rem;align-items:center;gap:.9rem;padding:0 1.2rem}
.cols{height:36px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:#fbfaf7;font-size:.7rem;font-weight:500;letter-spacing:.1em;text-transform:uppercase;color:var(--faint)}
.cols button{display:inline-flex;align-items:center;gap:.25rem;padding:0;border:0;background:none;font:inherit;letter-spacing:inherit;text-transform:inherit;color:inherit}
.cols button:hover,.cols button[aria-sort]{color:var(--ink)}
.cols .r{justify-self:end}
.rows{margin:0;padding:0;list-style:none}
.row{position:relative;width:100%;min-height:62px;border:0;border-bottom:1px solid var(--line);background:none;text-align:left;transition:background .15s}
.rows li:last-child .row{border-bottom:0}
.row:hover{background:#f7f9fe}
.row.flash{animation:flash 1.4s ease-out}
@keyframes flash{0%{background:rgba(190,242,100,.5)}100%{background:transparent}}
.rank{font-weight:500;color:var(--faint);font-size:.92rem}
.medal{display:grid;place-items:center;width:26px;height:26px;border-radius:999px;font-size:.8rem;font-weight:600;color:#3d2a00}
.medal.m1{background:linear-gradient(135deg,#fde68a,#f2c14e)}.medal.m2{background:linear-gradient(135deg,#f1f5f9,#cbd5e1);color:#334155}.medal.m3{background:linear-gradient(135deg,#fed7aa,#d9976a);color:#4a2a10}
.who{display:flex;align-items:center;gap:.75rem;min-width:0}
.who>span:last-child{min-width:0}
.who b{display:flex;align-items:center;gap:.4rem;font-weight:500;letter-spacing:-.02em;line-height:1.25}
.who b u{text-decoration:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.who small{display:block;font-size:.82rem;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.src{display:flex;flex-wrap:wrap;gap:.25rem}
.rev{justify-self:end;font-weight:500;font-size:1.02rem;letter-spacing:-.02em}
.spark{width:100%;height:30px;overflow:visible}
.grw{justify-self:end;display:inline-flex;align-items:center;gap:.2rem;font-weight:500;font-size:.92rem}
.board-f{display:flex;justify-content:center;padding:.9rem;border-top:1px solid var(--line)}
.none{padding:2.2rem 1rem;text-align:center;color:var(--muted)}

/* Alamlehed */
.page{padding-top:2rem;animation:in .35s var(--ease)}
@keyframes in{from{opacity:0;transform:translateY(8px)}}
.back{display:inline-flex;align-items:center;gap:.35rem;padding:.4rem .7rem .4rem .5rem;border-radius:999px;font-size:.9rem;font-weight:500;color:var(--muted);text-decoration:none}
.back:hover{background:#fff;color:var(--ink)}
.fh{display:flex;flex-wrap:wrap;align-items:center;gap:1rem;margin-top:1rem}
.fh .logo{width:64px;height:64px;border-radius:18px;font-size:1.3rem}
.fh h1{font-size:clamp(1.8rem,4vw,2.5rem)}
.fh p{margin-top:.3rem;color:var(--muted)}
.fh .acts{display:flex;gap:.5rem;margin-left:auto}
.meta{display:flex;flex-wrap:wrap;gap:.35rem;margin-top:1rem}
.grid2{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(0,1fr);gap:.8rem;margin-top:1.2rem;align-items:start}
.pane{padding:1.3rem;border-radius:var(--r);background:#fff;box-shadow:var(--sh-card)}
.pane+.pane{margin-top:.8rem}
.pane h2{font-size:1.1rem;letter-spacing:-.02em}
.kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.6rem}
.kpi span{display:block;font-size:.72rem;font-weight:500;letter-spacing:.08em;text-transform:uppercase;color:var(--faint)}
.kpi b{display:block;margin-top:.15rem;font-size:1.45rem;font-weight:500;letter-spacing:-.03em;line-height:1.15}
.ch-h{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;margin-top:1.3rem}
.ch-h .seg:first-of-type{margin-left:auto}
.chart{position:relative;margin-top:.7rem}
.chart svg{display:block;width:100%;height:auto;overflow:visible}
.chart text{font-family:var(--sans);font-size:11px;fill:#8b919b}
.chart .bar{fill:var(--sky-2);transition:fill .12s;transform-box:fill-box;transform-origin:bottom;animation:rise .6s var(--ease) backwards}
.chart .bar.on{fill:var(--ink)}
@keyframes rise{from{transform:scaleY(0)}}
.chart .ln{fill:none;stroke:var(--ink);stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:var(--len);stroke-dashoffset:var(--len);animation:draw 1s var(--ease) forwards}
@keyframes draw{to{stroke-dashoffset:0}}
.chart .ar{fill:url(#fill);opacity:0;animation:fade .6s .4s forwards}
@keyframes fade{to{opacity:1}}
.chart .dot{fill:#fff;stroke:var(--ink);stroke-width:2.5}
.chart .grid{stroke:rgba(17,24,39,.07)}
.chart .cur{stroke:rgba(17,24,39,.25);stroke-dasharray:3 3}
.tip{position:absolute;top:0;z-index:3;padding:.45rem .65rem;border-radius:10px;background:var(--ink);color:#fff;font-size:.82rem;white-space:nowrap;pointer-events:none;transform:translate(-50%,-110%);box-shadow:var(--sh-pop)}
.tip b{display:block;font-weight:500;font-size:.98rem}
.tip span{color:rgba(255,255,255,.7)}
.mix{display:grid;gap:.55rem;margin-top:.9rem}
.mix div{display:grid;grid-template-columns:7.5rem minmax(0,1fr) 6.5rem;align-items:center;gap:.8rem;font-size:.9rem}
.mix i{display:block;height:8px;border-radius:999px;background:var(--sky);overflow:hidden}
.mix i u{display:block;height:100%;border-radius:999px;background:var(--ink);transform-origin:left;animation:grow .8s var(--ease) backwards}
@keyframes grow{from{transform:scaleX(0)}}
.mix span:last-child{text-align:right;color:var(--muted)}
.note{margin-top:1rem;padding:.75rem .9rem;border-radius:var(--r-md);background:#fff7e0;font-size:.88rem;color:#5c3d00;text-wrap:pretty}
.facts{display:grid;gap:.1rem;margin-top:.7rem}
.facts div{display:flex;justify-content:space-between;gap:1rem;padding:.5rem 0;border-bottom:1px solid var(--line);font-size:.93rem}
.facts div:last-child{border:0}
.facts span{color:var(--muted)}
.facts b{font-weight:500;text-align:right}
.offer{background:var(--ink);color:#fff}
.offer h2{color:#fff}
.offer .price{margin-top:.6rem;font-size:2rem;font-weight:500;letter-spacing:-.04em;line-height:1.1}
.offer .sub2{color:rgba(255,255,255,.65);font-size:.88rem}
.offer label{display:block;margin-top:1rem;font-size:.78rem;font-weight:500;letter-spacing:.06em;text-transform:uppercase;color:rgba(255,255,255,.6)}
.offer .mine{display:flex;align-items:baseline;justify-content:space-between;margin-top:.3rem}
.offer .mine b{font-size:1.35rem;font-weight:500;letter-spacing:-.03em}
.offer .mine span{font-size:.88rem;color:var(--lime)}
input[type=range]{width:100%;height:28px;margin:.2rem 0 0;background:none;-webkit-appearance:none;appearance:none}
input[type=range]::-webkit-slider-runnable-track{height:6px;border-radius:999px;background:rgba(255,255,255,.2)}
input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:22px;height:22px;margin-top:-8px;border-radius:999px;background:var(--lime);box-shadow:0 2px 6px rgba(0,0,0,.35)}
.light input[type=range]::-webkit-slider-runnable-track{background:var(--sky-2)}
.light input[type=range]::-webkit-slider-thumb{background:var(--ink)}
.offer input[type=email],.offer textarea{width:100%;margin-top:.35rem;padding:.65rem .75rem;border:1px solid rgba(255,255,255,.18);border-radius:12px;background:rgba(255,255,255,.08);color:#fff;font-size:1rem;outline:0}
.offer input[type=email]:focus,.offer textarea:focus{border-color:var(--lime)}
.offer ::placeholder{color:rgba(255,255,255,.4)}
.offer .btn{width:100%;margin-top:1rem}
.offer .done{margin-top:1rem;padding:.9rem;border-radius:var(--r-md);background:rgba(190,242,100,.16);color:#d9f99d;font-size:.93rem}
.closed{color:var(--muted);font-size:.93rem;margin-top:.5rem}
.sim{display:grid;gap:.1rem;margin-top:.5rem}
.sim button{display:flex;align-items:center;gap:.65rem;width:100%;padding:.5rem;margin:0 -.5rem;border:0;border-radius:12px;background:none;text-align:left}
.sim button:hover{background:var(--sky)}
.sim .logo{width:34px;height:34px;border-radius:10px;font-size:.78rem}
.sim b{font-weight:500;font-size:.95rem}.sim small{display:block;color:var(--muted);font-size:.8rem}
.sim .r{margin-left:auto;font-weight:500;font-size:.9rem}

.ph{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:1rem;margin-top:1rem}
.ph h1{font-size:clamp(1.8rem,4vw,2.6rem)}
.ph p{margin-top:.4rem;color:var(--muted);max-width:52ch}
.filt{display:flex;flex-wrap:wrap;align-items:center;gap:.8rem 1.4rem;margin-top:1.2rem;padding:1rem 1.2rem;border-radius:var(--r);background:#fff;box-shadow:var(--sh-card)}
.filt label{font-size:.82rem;color:var(--muted)}
.filt .rng{flex:1 1 16rem}
.filt .rng b{font-weight:500;color:var(--ink)}
.cards.m{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:.8rem}
.deal .sp{margin-top:.8rem}
.stats{display:grid;grid-template-columns:1fr 1fr;gap:.8rem;margin-top:1.2rem}
.hb{display:grid;gap:.5rem;margin-top:1rem}
.hb button{display:grid;grid-template-columns:8rem minmax(0,1fr) 6.5rem;align-items:center;gap:.8rem;width:100%;padding:.35rem .5rem;margin:0 -.5rem;border:0;border-radius:10px;background:none;text-align:left;font-size:.92rem}
.hb button:hover{background:var(--sky)}
.hb i{display:block;height:14px;border-radius:999px;background:var(--tint);overflow:hidden}
.hb i u{display:block;height:100%;border-radius:999px;background:var(--ink);transform-origin:left;animation:grow .8s var(--ease) backwards}
.hb span:last-child{text-align:right;font-weight:500}
.big{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.8rem;margin-top:1.2rem}
.big .pane b{display:block;font-size:1.8rem;font-weight:500;letter-spacing:-.04em;line-height:1.1}
.big .pane span{font-size:.86rem;color:var(--muted)}
.hist{display:flex;align-items:flex-end;gap:.5rem;height:150px;margin-top:1.2rem}
.hist div{flex:1;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:.3rem;height:100%;font-size:.74rem;color:var(--muted)}
.hist i{display:block;width:100%;border-radius:8px 8px 3px 3px;background:var(--sky-2);transform-origin:bottom;animation:rise .7s var(--ease) backwards}
.hist i.pos{background:var(--lime)}
.hist b{font-weight:500;color:var(--ink);font-size:.82rem}

.foot{margin-top:4rem;padding:1.6rem 0 3rem;border-top:1px solid var(--line);font-size:.86rem;color:var(--muted);text-align:center}

/* Oma firma lisamine */
dialog{width:min(520px,calc(100vw - 24px));max-height:calc(100dvh - 24px);margin:auto;padding:0;border:0;border-radius:var(--r-lg);background:#fff;color:var(--ink);box-shadow:0 30px 80px -20px rgba(17,24,39,.45);overflow:auto}
dialog::backdrop{background:rgba(17,24,39,.42);backdrop-filter:blur(3px)}
dialog[open]{animation:in .3s var(--ease)}
.dl{padding:1.5rem}
.dl-h{display:flex;align-items:center;justify-content:space-between;gap:1rem}
.dl-h h2{font-size:1.3rem}
.x{flex:none;display:grid;place-items:center;width:36px;height:36px;border:0;border-radius:999px;background:var(--sky);font-size:1.15rem;line-height:1}
.prog{display:flex;gap:.35rem;margin-top:1rem}
.prog i{flex:1;height:5px;border-radius:999px;background:rgba(17,24,39,.12);transition:background .3s}
.prog i.on{background:var(--ink)}.prog i.past{background:#7bbf2e}
.dl p.lead{margin-top:1rem;color:var(--muted)}
.provs{display:grid;grid-template-columns:repeat(3,1fr);gap:.45rem;margin-top:1rem}
.provs button{height:46px;border:0;border-radius:12px;background:var(--tint);font-weight:500;font-size:.92rem;transition:background .15s,color .15s}
.provs button:hover{background:var(--sky)}
.provs button[aria-pressed="true"]{background:var(--ink);color:#fff}
.reading{display:grid;gap:.55rem;margin-top:1.1rem}
.reading div{display:flex;align-items:center;gap:.6rem;font-size:.95rem;color:var(--muted);transition:color .3s}
.reading div.ok{color:var(--ink)}
.reading div i{flex:none;width:18px;height:18px;border-radius:999px;border:2px solid rgba(17,24,39,.18)}
.reading div.run i{border-top-color:var(--ink);animation:spin .7s linear infinite}
.reading div.ok i{border:0;background:var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111827' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 7L10 16l-4-4'/%3E%3C/svg%3E") center/11px no-repeat}
@keyframes spin{to{transform:rotate(360deg)}}
.opt{display:flex;align-items:flex-start;gap:.8rem;width:100%;margin-top:.45rem;padding:.75rem .9rem;border:0;border-radius:var(--r-md);background:var(--tint);text-align:left;transition:background .15s,color .15s}
.opt i{flex:none;width:18px;height:18px;margin-top:.15rem;border-radius:999px;box-shadow:inset 0 0 0 1.5px rgba(17,24,39,.3);background:#fff}
.opt[aria-pressed="true"]{background:var(--ink);color:#fff}
.opt[aria-pressed="true"] i{box-shadow:none;background:var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111827' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 7L10 16l-4-4'/%3E%3C/svg%3E") center/11px no-repeat}
.opt b{display:block;font-weight:500;font-size:.97rem;line-height:1.3}
.opt small{display:block;margin-top:.1rem;font-size:.85rem;opacity:.72}
.sw{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-top:.9rem;padding-top:.9rem;border-top:1px solid var(--line);font-weight:500;font-size:.96rem}
.switch{flex:none;position:relative;width:46px;height:28px;border:0;border-radius:999px;background:#cfd4dc;transition:background .2s}
.switch::after{content:"";position:absolute;top:3px;left:3px;width:22px;height:22px;border-radius:999px;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.25);transition:transform .2s var(--ease)}
.switch[aria-checked="true"]{background:var(--green)}
.switch[aria-checked="true"]::after{transform:translateX(18px)}
.badge{display:flex;align-items:center;gap:.9rem;margin-top:1rem;padding:1rem;border-radius:var(--r-md);background:var(--ink);color:#fff}
.badge .ck{flex:none;display:grid;place-items:center;width:40px;height:40px;border-radius:999px;background:var(--lime);color:var(--ink)}
.badge b{display:block;font-weight:500;font-size:1.05rem;letter-spacing:-.02em;line-height:1.25}
.badge small{display:block;font-size:.84rem;color:rgba(255,255,255,.7)}
.dl-f{display:flex;gap:.5rem;margin-top:1.3rem}
.dl-f .btn{flex:1}
.toast{position:fixed;left:50%;bottom:24px;z-index:60;padding:.7rem 1.1rem;border-radius:999px;background:var(--ink);color:#fff;font-size:.92rem;box-shadow:var(--sh-pop);transform:translate(-50%,20px);opacity:0;transition:transform .3s var(--ease),opacity .3s;pointer-events:none}
.toast.on{transform:translate(-50%,0);opacity:1}

@media (max-width:900px){
  .nav,.live{display:none}
  .cards,.cards.m{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;margin:0 -16px;padding:4px 16px 14px;scrollbar-width:none}
  .cards::-webkit-scrollbar{display:none}
  .cards>*{flex:0 0 72%;scroll-snap-align:start}
  .cols{display:none}
  .row{grid-template-columns:2rem minmax(0,1fr) auto;gap:.6rem;padding:.7rem 1rem}
  .row .src,.row .spark{display:none}
  .row .rev{grid-column:3;grid-row:1}
  .row .grw{grid-column:3;grid-row:2;font-size:.82rem}
  .row .who{grid-row:1/3}
  .row .rank{grid-row:1/3}
  .grid2,.stats{grid-template-columns:1fr}
  .kpis,.big{grid-template-columns:1fr 1fr}
  .fh .acts{margin-left:0;width:100%}
  .fh .acts .btn{flex:1}
  .find{flex-direction:column}
  .q kbd{display:none}
}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

u{text-decoration:none}
a.deal,a.row,.totals a{text-decoration:none;color:inherit}
.totals a{display:inline-flex;align-items:baseline;padding:.35rem .8rem;border-radius:999px;background:rgba(255,255,255,.6);box-shadow:var(--sh-card);transition:transform .15s,background .15s}
.totals a:hover{background:#fff;transform:translateY(-1px)}
.totals{gap:.5rem}
.demo{line-height:1.4}
.sel{height:36px;padding:0 2rem 0 .8rem;border:0;border-radius:10px;background:var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111827' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right .6rem center/14px no-repeat;font-weight:500;font-size:.88rem;appearance:none;-webkit-appearance:none;max-width:15rem}
.fbar{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;padding:0 1.2rem .9rem}
.fbar .cnt{margin-left:auto;font-size:.86rem;color:var(--muted)}
.tag.src{background:var(--sky)}
.tag.lock{background:var(--tint);color:var(--muted)}
.tag.livet{background:var(--green-soft);color:var(--green-ink)}
.tag.dm{background:#fde68a;color:#3d2a00}
.who small b{display:inline;font-weight:400}
.lockbox{position:relative;margin-top:1rem;border-radius:var(--r-md);overflow:hidden;background:var(--tint)}
.lockbox .fake{display:flex;align-items:flex-end;gap:10px;height:150px;padding:18px 22px;filter:blur(7px);opacity:.75}
.lockbox .fake i{flex:1;border-radius:6px 6px 2px 2px;background:var(--ink)}
.lockbox .over{position:absolute;inset:0;display:grid;place-content:center;justify-items:center;gap:.5rem;padding:1rem;text-align:center;background:rgba(244,242,236,.55)}
.lockbox .over svg{width:26px;height:26px}
.lockbox .over b{font-weight:500;font-size:1.05rem;letter-spacing:-.02em}
.lockbox .over p{max-width:38ch;font-size:.9rem;color:var(--ink-2)}
.lockbox .over .btns{display:flex;flex-wrap:wrap;justify-content:center;gap:.4rem;margin-top:.3rem}
.srcline{margin-top:.9rem;font-size:.84rem;color:var(--muted)}
.srcline a{color:var(--ink-2)}
.calc{display:grid;gap:.2rem;margin-top:.8rem}
.calc label{display:flex;justify-content:space-between;font-size:.88rem;color:var(--muted);margin-top:.5rem}
.calc label b{font-weight:500;color:var(--ink)}
.calc .res{margin-top:1rem;padding:1rem;border-radius:var(--r-md);background:var(--green-soft);color:var(--green-ink)}
.calc .res b{display:block;font-size:1.7rem;font-weight:500;letter-spacing:-.03em;line-height:1.1}
.calc .res span{font-size:.86rem}
.plan{display:grid;grid-template-columns:1fr 1fr;gap:.7rem;margin-top:1.2rem}
.plan .pane h3{font-size:1.05rem}
.plan ul{margin:.7rem 0 0;padding:0;list-style:none;display:grid;gap:.45rem;font-size:.93rem;color:var(--ink-2)}
.plan li{display:flex;gap:.5rem}
.plan li::before{content:"";flex:none;width:16px;height:16px;margin-top:.2rem;border-radius:999px;background:var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111827' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 7L10 16l-4-4'/%3E%3C/svg%3E") center/10px no-repeat}
.plan .dark{background:var(--ink);color:#fff}.plan .dark h3{color:#fff}.plan .dark ul{color:rgba(255,255,255,.8)}
.viewer{display:flex;align-items:center;gap:.5rem;font-size:.82rem;color:var(--muted);white-space:nowrap}
@media (max-width:900px){.plan{grid-template-columns:1fr}.viewer span{display:none}.fbar .cnt{margin-left:0;width:100%}}

/* Rahulik versioon: üks tint, üks aktsent. Värvilisi plaate, üleminekuid ega medaleid ei ole. */
.sky{height:26rem;background:radial-gradient(55% 75% at 22% 0%,rgba(147,197,253,.38),transparent 70%),radial-gradient(45% 65% at 82% 6%,rgba(190,242,100,.22),transparent 70%)}
.logo{background:#eceef2;color:var(--ink-2);font-weight:500;border-radius:10px;box-shadow:inset 0 0 0 1px rgba(17,24,39,.06)}
.logo.anon{background:#eceef2!important}
.deal::before{display:none}
.deal{box-shadow:0 0 0 1px var(--line),var(--sh-card)}
.deal:hover{transform:translateY(-2px)}
.tag{background:#eef0f3;color:var(--ink-2)}
.tag.src,.tag.lock{background:#eef0f3}
.tag.sale{background:var(--ink);color:#fff}
.tag.dm{background:none;box-shadow:inset 0 0 0 1px rgba(17,24,39,.22);color:var(--muted)}
.tag.livet{background:#eef0f3;color:var(--ink-2)}
.chip.sale[aria-pressed="true"]{background:var(--ink);color:#fff}
.medal,.medal.m1,.medal.m2,.medal.m3{background:var(--ink);color:#fff;font-weight:500;width:24px;height:24px;font-size:.78rem}
.eyebrow{background:#fff;box-shadow:var(--sh-card);color:var(--ink-2)}
.row:hover{background:#f7f7f5}
.cols{background:#faf9f6}
.chart .bar{fill:#d9dde4}
.mix i,.hb i{background:#eef0f3}
.hist i{background:#d9dde4}.hist i.pos{background:var(--ink)}
.hb button:hover,.sim button:hover,.drop button.on,.drop button:hover{background:#f2f3f5}
.x{background:#eef0f3}
.note{background:#f4f2ec;color:var(--ink-2)}
.calc .res{background:var(--ink);color:#fff}.calc .res span{color:rgba(255,255,255,.7)}
.light input[type=range]::-webkit-slider-runnable-track{background:#d9dde4}
.totals a{background:#fff}
.trio b.up{color:var(--ink)}
.board,.pane,.filt{box-shadow:0 0 0 1px var(--line),var(--sh-card)}
.lockbox{background:#f2f3f5}.lockbox .fake i{background:#9aa1ad}.lockbox .over{background:rgba(255,255,255,.6)}

.lockbox .fake{position:absolute;inset:0;height:auto!important}
.lockbox .over{position:relative;inset:auto;min-height:170px;padding:1.4rem 1rem}
.shelf-h h2 small{margin-left:.5rem;font-size:.82rem;font-weight:400;letter-spacing:0;color:var(--muted)}

.wm{display:inline-flex;align-items:baseline}
.wm b{margin-left:.12em;font-family:var(--sans);font-size:.62em;font-weight:600;letter-spacing:.04em;color:var(--ink)}
.tag.debt{background:#fde8ec;color:var(--red)}
.facts b.down{color:var(--red)}
h1{font-size:clamp(2.1rem,4.8vw,3.3rem)}
.deal .tag.sale{position:static;display:inline-flex;margin-bottom:.7rem}

/* Sõnamärk: chatmated ja selle all paremal väike TRUST. */
.wm{display:inline-flex;flex-direction:column;align-items:flex-end;gap:.28rem}
.wm .wmw{display:block;line-height:1}
.wm b{margin:0 -.3em 0 0;font-family:var(--sans);font-size:.56rem;font-weight:500;letter-spacing:.3em;line-height:1;text-transform:uppercase;color:var(--ink-2)}
.wm .wmw{font-weight:500}.wm .wmw span{font-weight:300}
.wm{gap:.06rem}.wm .wmw{line-height:.9}

.subtop{display:flex;align-items:center;justify-content:space-between;gap:1rem}
.find.sm{flex:0 1 24rem;margin:0;max-width:none}
.find.sm .q{height:44px;border-radius:14px;border-width:1px}
.find.sm .q input{font-size:.95rem}
@media (max-width:900px){.subtop{flex-direction:column;align-items:stretch}.find.sm{flex:none}}
.drop .r{white-space:nowrap;padding-left:.6rem}.drop button>span:nth-child(2){min-width:0}

.empty{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem 2rem;padding:1.6rem;border-radius:var(--r);background:#fff;box-shadow:0 0 0 1px var(--line),var(--sh-card)}
.empty b{display:block;font-weight:500;font-size:1.15rem;letter-spacing:-.02em}
.empty p{margin-top:.3rem;max-width:56ch;color:var(--muted);text-wrap:pretty}
.steps3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.7rem;margin-top:.8rem}
.steps3 .pane+.pane{margin-top:0}
.steps3 .n{display:grid;place-items:center;width:30px;height:30px;border-radius:999px;background:var(--ink);color:#fff;font-size:.86rem;font-weight:500}
.steps3 h3{margin-top:.9rem;font-size:1.08rem}
.steps3 p{margin-top:.4rem;font-size:.94rem;color:var(--muted);text-wrap:pretty}
.applink{padding:.5rem .8rem;border-radius:999px;font-size:.9rem;font-weight:500;color:var(--muted);text-decoration:none;white-space:nowrap}
.applink:hover{background:#fff;color:var(--ink)}
.foot{display:grid;gap:.6rem;justify-items:center}
.foot .fl{display:flex;flex-wrap:wrap;justify-content:center;gap:.4rem 1.4rem}
.foot a{color:var(--ink-2);font-weight:500;text-decoration:none}.foot a:hover{text-decoration:underline}
.chip#fdebt{background:var(--tint)}.chip#fdebt[aria-pressed="true"]{background:var(--red);color:#fff}
@media (max-width:900px){.steps3{grid-template-columns:1fr}.applink{display:none}}
#xfin:not(:empty){margin-top:.8rem}
.facts b a{color:var(--ink);text-underline-offset:3px}
.facts div{align-items:baseline}
.facts b{max-width:62%}

.row .emp{color:var(--muted);font-size:.92rem}
.demo .short{display:none}
.facts b.num{white-space:nowrap}
@media (max-width:900px){
  .demo .long{display:none}.demo .short{display:inline}
  .top{position:static}
  header.bar{flex-wrap:wrap;height:auto;padding:.5rem .5rem .5rem 1.1rem;border-radius:24px;row-gap:.4rem}
  .nav{display:flex;order:5;width:100%;margin:0 -.6rem 0 -.5rem;gap:.15rem;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .nav::-webkit-scrollbar{display:none}
  .nav a{white-space:nowrap;padding:.45rem .75rem;font-size:.9rem}
  .find .q{flex:none;height:52px;width:100%}
  .find.sm .q{height:46px}
  .find .btn{width:100%}
  .row .emp{display:none}
  .shelf-h h2 small{display:none}
  .seg{max-width:100%;overflow-x:auto;scrollbar-width:none}
  .seg::-webkit-scrollbar{display:none}
  .seg button{white-space:nowrap;flex:none}
  .board-h{gap:.7rem}.board-h h2{width:100%}
  .fbar .sel{flex:1 1 9rem;max-width:none}
  .ph .seg{width:100%}
  .fh h1{font-size:1.6rem}
  .fh .logo{width:52px;height:52px;font-size:1.05rem}
  .kpi b{font-size:1.2rem}
  .hero{padding-top:2.2rem}
  .empty .btn{width:100%}
  .hb button{grid-template-columns:6.5rem minmax(0,1fr) 5rem}
  .hist{gap:.25rem}.hist div{font-size:.62rem;text-align:center}
}
@media (max-width:900px){.big .pane b{font-size:1.35rem;white-space:nowrap}.big .pane{padding:1rem}}

/* Toodete vahetaja sõnamärgi kõrval: sama muster mis suurtel toodetel, kaks toodet ühe konto all. */
.brand{position:relative;display:inline-flex;align-items:center;gap:.7rem}
.prod-btn{display:grid;place-items:center;width:30px;height:30px;border:0;border-radius:999px;background:rgba(17,24,39,.06);color:var(--ink-2);cursor:pointer;transition:background .15s,color .15s,box-shadow .15s,transform .25s var(--ease)}
.prod-btn:hover{background:#fff;color:var(--ink);box-shadow:var(--sh-sm)}
.prod-btn[aria-expanded="true"]{background:var(--ink);color:#fff;transform:rotate(180deg)}
.prod{position:absolute;left:-.6rem;top:calc(100% + 16px);z-index:50;width:min(22rem,calc(100vw - 32px));padding:.5rem;border-radius:20px;background:#fff;box-shadow:var(--sh-pop),0 0 0 1px var(--line);animation:in .2s var(--ease)}
.prod-h{display:block;padding:.4rem .6rem .5rem;font-size:.7rem;font-weight:500;letter-spacing:.1em;text-transform:uppercase;color:var(--faint)}
.prod>a{display:flex;align-items:center;gap:.75rem;padding:.6rem;border-radius:14px;text-decoration:none;color:var(--ink)}
.prod>a:hover{background:#f2f3f5}
.prod .pi{flex:none;display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:#eceef2;font-family:var(--mark);font-size:1.05rem;font-weight:500;letter-spacing:-.05em;color:var(--ink)}
.prod .pi.dark{background:var(--ink);color:#fff}
.prod b{display:block;font-weight:500;letter-spacing:-.02em;line-height:1.25}
.prod small{display:block;font-size:.84rem;line-height:1.3;color:var(--muted)}
.prod .ck{flex:none;margin-left:auto;color:var(--green)}
.prod-f{display:block;margin-top:.3rem;padding:.6rem .6rem .3rem;border-top:1px solid var(--line);font-size:.88rem}
.prod-f a{color:var(--ink-2);font-weight:500;text-decoration:none}.prod-f a:hover{text-decoration:underline}
.applink{color:var(--ink-2)}
@media (max-width:900px){.applink{display:inline-flex}header.bar .btn.pill{height:40px;padding:0 .9rem;font-size:.88rem}.grow1{flex:1}}
@media (max-width:900px){.applink{display:none}.prod{left:-.4rem}}
.prod .pi{line-height:1;padding-bottom:.18em}

.nav .ns{display:none}
@media (max-width:900px){
  .nav{display:grid;grid-template-columns:auto auto auto auto;justify-content:space-between;overflow:visible;margin:0;gap:0}
  .nav a{padding:.45rem .6rem;font-size:.86rem;text-align:center}
  .nav .nl{display:none}.nav .ns{display:inline}
}
@media (max-width:360px){.nav a{padding:.4rem .4rem;font-size:.8rem}}

#add .bs{display:none}
@media (max-width:380px){#add .bl{display:none}#add .bs{display:inline}}
@media (max-width:340px){.nav a{padding:.4rem .3rem;font-size:.74rem}}

.foot .src{max-width:62ch;font-size:.8rem;line-height:1.5;color:var(--faint);text-wrap:pretty}
.top{margin-top:16px}

/* The bar matches the one on chatmated.com: same width, height, wordmark size, button and link style.
   Brand and actions take equal shares of the bar, so the menu sits in its exact centre. */
.acts{display:inline-flex;align-items:center;gap:.5rem}
.wm{font-size:27px;font-variation-settings:"SOFT" 100,"WONK" 1}
header.bar .btn.pill{height:40px;padding:0 .95rem;border-radius:14px;font-size:.88rem}
.nav a[aria-current="page"]{background:rgba(63,111,245,.14);color:var(--ink)}
@media (min-width:901px){
  .top{top:14px;margin-top:14px}
  header.bar{max-width:1080px;margin:0 auto;height:64px;padding:0 12px 0 30px;gap:.5rem;background:rgba(255,255,255,.62);box-shadow:var(--sh-card);backdrop-filter:blur(18px) saturate(1.6);-webkit-backdrop-filter:blur(18px) saturate(1.6)}
  .brand,.acts{flex:1 1 0;min-width:max-content}
  .acts{justify-content:flex-end}
  .grow1{display:none}
  /* The bar has 18px more padding on the logo side; half of it shifts the menu back to the true centre. */
  .nav{margin:0;gap:.1rem;transform:translateX(-9px)}
  .nav a{display:flex;align-items:center;height:40px;padding:0 .68rem;font-size:.93rem}
  .nav a:hover{background:rgba(63,111,245,.08)}
  .applink{display:flex;align-items:center;height:40px;padding:0 .6rem;font-size:.93rem}
}
@media (min-width:1040px){.wm{font-size:29px}header.bar .btn.pill{padding:0 1.2rem;font-size:.95rem}}
@media (max-width:900px){header.bar{column-gap:.5rem}}
/* Loendites (sarnased firmad, otsingu tulemused) on nimi alati ühel real ja summa ei murdu. */
.sim button{margin:0;width:100%}
.sim button>span:nth-child(2),.drop button>span:nth-child(2){flex:1;min-width:0}
.sim b,.sim small,.drop b,.drop small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.drop br{display:none}
.sim .r,.drop .r{flex:none;white-space:nowrap;padding-left:.6rem}

/* The top bar is addressed as header.bar everywhere: a bare .bar also matched the chart rects (class "bar"),
   whose CSS height then replaced their own and flattened every column. */
/* Clean-up to the design rules: no outlines, no separator lines, nothing cut with three dots, no side scroll,
   one row where siblings have one row. Later rules win, so this block stays last. */
.deal,.board,.pane,.filt,.empty{box-shadow:var(--sh-card)}
.drop,.prod{box-shadow:var(--sh-pop)}
.q,.find.sm .q{border:0}
.q:focus-within{box-shadow:0 0 0 2px var(--ink)}
.logo{box-shadow:none}
.tag.dm{box-shadow:none;background:#eef0f3}
.cols{border:0}
.row{border-bottom:0}
.rows li:nth-child(even) .row{background:#faf9f6}
.rows li .row:hover{background:#f1f3f8}
.board-f,.prod-f,.sw{border-top:0}
.facts div{border-bottom:0;padding:.4rem 0}
.foot{border-top:0;margin-top:3rem}
/* .src is also the name of the flex tag row in the table; in the footer it is plain running text. */
.foot .src{display:block}
.shelf-h{padding:0}
/* The card after the annual-report slot is not a direct sibling of a card, so it gets the stack gap here. */
#xfin+.pane{margin-top:.8rem}
/* Cards side by side in a grid start on the same line: the stacked-pane margin is for a single column only. */
.big .pane+.pane,.stats .pane+.pane,.plan .pane+.pane{margin-top:0}
.hero .sub{max-width:none;text-wrap:balance}
.trio{display:flex;justify-content:space-between;gap:.6rem}
.trio span{white-space:nowrap;letter-spacing:.06em}
.who b{flex-wrap:wrap;row-gap:.15rem}
.who b u,.who small{overflow:visible;text-overflow:clip;white-space:normal}
.hb button{grid-template-columns:14rem minmax(0,1fr) 6.5rem}
.hb span:first-child{white-space:nowrap}
.big .pane span{display:block;text-wrap:balance}
.hist span{display:block}
/* Paired cards end with their button on the same line. */
.stats .pane{display:flex;flex-direction:column}
.stats .pane .dl-f{margin-top:auto;padding-top:1.3rem}
@media (max-width:900px){
  .dbr{display:none}
  .cards,.cards.m{display:grid;grid-template-columns:1fr;overflow:visible;margin:0;padding:0}
  .cards>*{flex:none}
  .board-h .seg{display:grid;grid-template-columns:1fr 1fr;width:100%;overflow:visible}
  .hb button{grid-template-columns:minmax(0,1fr) auto;row-gap:.3rem}
  .hb span:first-child{white-space:normal}
  .hb i{grid-column:1/-1;grid-row:2;height:10px}
  .hist span{min-height:2.5em;line-height:1.25}
  .stats .facts div{flex-direction:column;gap:.05rem}
  .stats .facts b{max-width:none;text-align:left}
}
@media (min-width:561px) and (max-width:900px){.cards,.cards.m{grid-template-columns:1fr 1fr}}

/* Second pass: equal tab groups, one control height in the leaderboard header, stat tiles, empty card, footer card, product menu. */
.seg{display:inline-grid;grid-auto-flow:column;grid-auto-columns:1fr}
.seg button{padding:0 .9rem;white-space:nowrap}
.board-h{gap:.7rem;padding:1.2rem 1.2rem .8rem}
.board-h h2{margin-right:0}
.board-h .cnt{margin-right:auto;padding:.22rem .65rem;border-radius:999px;background:var(--tint);font-size:.82rem;color:var(--muted);white-space:nowrap}
.fbar{gap:.5rem;padding:0 1.2rem 1.1rem}
.sel{height:40px;border-radius:12px}
.fbar .sel{width:13.5rem}
.chip#fdebt{height:40px;margin-left:auto;padding:0 1rem;border-radius:12px}
.btn.soft{background:rgba(63,111,245,.12);color:var(--ink);box-shadow:none}
.btn.soft:hover{background:rgba(63,111,245,.2);box-shadow:none}
.board-f{padding:1rem 1.2rem 1.3rem}
.board-f .btn{height:46px;min-width:14rem;border-radius:14px;font-size:.95rem}
.totals{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.6rem;max-width:52rem;margin:1.6rem auto 0}
.totals a{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:.15rem;padding:.85rem 1rem .9rem;border-radius:18px;background:#fff;font-size:.84rem;text-align:left;white-space:nowrap}
.totals b{margin:0;font-size:1.4rem;letter-spacing:-.03em;line-height:1.15}
.totals a::after{content:"";position:absolute;top:.9rem;right:.9rem;width:14px;height:14px;opacity:.3;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111827' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17L17 7M9 7h8v8'/%3E%3C/svg%3E") 50%/contain no-repeat;transition:opacity .15s,transform .2s var(--ease)}
.totals a:hover::after{opacity:1;transform:translate(2px,-2px)}
.empty{flex-wrap:nowrap;justify-content:flex-start;gap:1.2rem;padding:1.5rem 1.6rem;background:linear-gradient(100deg,#fff 45%,#eaf0fe)}
.empty .em-i{flex:none;display:grid;place-items:center;width:52px;height:52px;border-radius:16px;background:rgba(63,111,245,.12);color:#3f6ff5}
.empty>div{min-width:0}
.empty p{text-wrap:balance}
.empty .btn{flex:none;margin-left:auto;height:46px;padding:0 1.3rem;border-radius:14px}
/* justify-items from the old grid footer would still centre and shrink the card in a block container. */
.foot{display:block;justify-items:normal;margin-top:3rem;padding:0 0 2.6rem;text-align:left}
.foot-in{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1.2rem 2rem;padding:1.4rem 1.6rem;border-radius:var(--r-lg);background:linear-gradient(100deg,#fff 45%,#eaf0fe);box-shadow:var(--sh-card)}
.fb{display:flex;align-items:center;gap:1.4rem}
.fb p{font-size:.93rem;color:var(--muted)}
.foot .wm{font-size:26px;color:var(--ink)}
.foot .wm:hover{text-decoration:none}
.foot .fl{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:.5rem}
.foot .fl a{display:flex;align-items:center;justify-content:center;height:40px;padding:0 1.1rem;border-radius:12px;background:#fff;box-shadow:var(--sh-sm);font-size:.92rem;white-space:nowrap}
.foot .fl a:hover{background:var(--ink);color:#fff;text-decoration:none}
.foot .src{max-width:none;margin:1.1rem auto 0;text-align:center;text-wrap:balance}
.prod{width:min(20.5rem,calc(100vw - 32px));padding:.6rem;border-radius:22px}
.prod-h{padding:.45rem .6rem .55rem}
.prod>a{gap:.8rem;padding:.55rem .6rem;border-radius:16px;transition:background .15s}
.prod>a+a{margin-top:.15rem}
.prod>a:hover{background:rgba(63,111,245,.08)}
.prod>a[aria-current="true"]{background:rgba(63,111,245,.12)}
.prod .pi{width:42px;height:42px;border-radius:13px;background:#eef0f3}
.prod .pi.dl{padding:0;background:rgba(63,111,245,.12);color:#3f6ff5}
.prod small{white-space:nowrap}
.prod .ck{box-sizing:border-box;width:22px;height:22px;padding:5px;border-radius:999px;background:#3f6ff5;color:#fff}
.prod .go{flex:none;margin-left:auto;margin-right:.2rem;color:var(--faint)}
@media (max-width:900px){
  .board-h h2{width:auto}
  .board-h .seg,.ph .seg{grid-auto-flow:row;grid-template-columns:1fr 1fr;width:100%}
  .fbar .seg{width:100%;grid-auto-columns:minmax(0,1fr)}
  .fbar .seg button{padding:0 .2rem;font-size:.82rem}
  .fbar .sel{width:auto}
  .chip#fdebt{width:100%;margin-left:0}
  .totals{grid-template-columns:1fr 1fr}
  .totals a{white-space:normal}
  .empty{flex-wrap:wrap}
  .empty>div{flex:1 1 60%}
  .empty .btn{width:100%;margin-left:0}
  .board-f .btn{width:100%}
  .foot-in{flex-direction:column;align-items:stretch;padding:1.3rem}
  .fb{flex-direction:column;align-items:flex-start;gap:.7rem}
  .foot .fl{grid-auto-flow:row}
}
/* Avalehe päise kast on 1080 px sisu + 2 x 12 px polstrit = 1104 px; sama laius, asukoht ja kõrgus ülaservast kui chatmated.com päisel. */
@media (min-width:901px){
  .top{--w:min(1104px,calc(100vw - 80px));width:var(--w);margin-left:calc((100% - var(--w)) / 2);margin-top:14px}
  header.bar{max-width:none}
}
@media (min-width:1040px){.top{margin-top:22px}}
/* Avalehel on 1200 kuni 1319 px laiusel paremal keelevalija jaoks lisaruumi; sama nihe siin. */
@media (min-width:1200px) and (max-width:1319px){.top{--w:min(1104px,calc(100vw - 162px));margin-left:calc((100% - var(--w)) / 2 - 41px)}}
/* Kõik, mida saab vajutada, näitab kätt. */
a[href],a[href] *,button:not(:disabled),button:not(:disabled) *,summary,select,label[for],[role="button"]{cursor:pointer}
/* Ühel real olevad kastid on alati ühekõrgused; nupp kasti all servas. */
.big .pane+.pane,.stats .pane+.pane,.plan .pane+.pane,.kpis .pane+.pane{margin-top:0}
.stats>.pane,.plan>.pane{display:flex;flex-direction:column}
.stats>.pane>.dl-f{margin-top:auto;padding-top:1.3rem}

/* Third pass. The wordmark stands exactly where it does on chatmated.com: its box is one 30px line,
   and TRUST hangs under it without taking part in the layout. */
h1,h2,h3{letter-spacing:-.04em}
.btn:hover{background:#000}
.wm{position:relative;display:block;gap:0}
.wm .wmw{position:relative;top:0;line-height:28px}
.wm b{position:absolute;right:-.3em;top:calc(100% - 4px);margin:0}
@media (min-width:1040px){.wm .wmw{top:-1px;line-height:30px}}
@media (max-width:1039px){header.bar{padding-left:24px}}
@media (min-width:901px) and (max-width:1039px){.nav{transform:translateX(-6px)}}
button:focus:not(:focus-visible){outline:0}
/* Leaderboard header: every control says what it filters, the chosen tab is dark. */
.seg button[aria-pressed="true"]{background:var(--ink);color:#fff;box-shadow:none}
.bt{display:flex;align-items:center;gap:.7rem;margin-right:auto}
.board-h .cnt{margin-right:0}
.fld{display:flex;flex-direction:column;gap:.35rem;min-width:0}
.fl-l{font-size:.68rem;font-weight:500;letter-spacing:.1em;line-height:1;text-transform:uppercase;color:var(--faint)}
.board-h .fld{flex-direction:row;align-items:center;gap:.7rem}
.board-h{padding-bottom:1rem}
.fbar{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto auto;align-items:end;gap:.7rem;padding:0 1.2rem 1.2rem}
.fbar .sel{flex:none;width:100%}
.chip#fdebt{display:flex;align-items:center;gap:.6rem;margin-left:0;white-space:nowrap}
.chip#fdebt::before{content:"";flex:none;width:30px;height:18px;border-radius:999px;background:#cfd4dc radial-gradient(circle at 9px 50%,#fff 6px,transparent 6.5px);transition:background .2s}
.chip#fdebt[aria-pressed="true"]::before{background:rgba(255,255,255,.35) radial-gradient(circle at 21px 50%,#fff 6px,transparent 6.5px)}
/* Fastest growers: the growth is the point of the card, so it gets the size and the line. */
.deal{padding:1.2rem}
.deal .hd{gap:.8rem}
.deal .hd .logo{width:46px;height:46px;border-radius:13px}
.deal .hd b{font-size:1.05rem;line-height:1.2;white-space:normal;overflow:visible;text-overflow:clip}
/* A long name may take two rows; the growth block still sits on one line across the cards. */
a.deal{display:flex;flex-direction:column}
.deal .gr{margin-top:auto}
.deal .hd{margin-bottom:1.1rem}
.gr{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-top:1.1rem;padding:.85rem 1rem;border-radius:14px;background:rgba(63,111,245,.08)}
.gr b{display:block;font-size:1.65rem;font-weight:500;letter-spacing:-.04em;line-height:1.1}
.gr small{display:block;margin-top:.15rem;font-size:.64rem;font-weight:500;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.gr .spark{flex:none;width:84px;height:36px}
.gr .spark path{stroke:#3f6ff5;stroke-width:2.2}
.duo{display:grid;grid-template-columns:1fr 1fr;gap:.6rem;margin-top:.95rem;padding:0 1rem}
.duo span span{display:block;font-size:.64rem;font-weight:500;letter-spacing:.06em;text-transform:uppercase;color:var(--faint)}
.duo b{display:block;font-weight:500;font-size:1.08rem;letter-spacing:-.02em}
@media (max-width:900px){
  .board-h .fld{flex-direction:column;align-items:stretch;gap:.35rem;width:100%}
  .fbar{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .fbar .fld:nth-child(n+3){grid-column:1/-1}
  .chip#fdebt{justify-content:center}
}

/* Hero: the search is the main tool, so it and the button beside it share one size and shape;
   the line under them names the official sources. */
.hero{padding:3.6rem 0 2rem}
.eyebrow{gap:.45rem;padding:.45rem .95rem .45rem .7rem}
.eyebrow svg{width:16px;height:16px;color:#3f6ff5}
.hero h1{font-size:clamp(2.3rem,6vw,3.9rem)}
.hero .sub{margin-top:1.1rem;font-size:1.12rem}
.hero .find{max-width:43rem;margin-top:2rem;gap:.6rem}
.hero .q{height:60px;gap:.75rem;padding:0 .9rem 0 .6rem;border-radius:20px}
.hero .q svg{box-sizing:content-box;width:18px;height:18px;padding:11px;border-radius:14px;background:rgba(63,111,245,.12);color:#3f6ff5}
.hero .q kbd{padding:.2rem .55rem;border-radius:8px;background:#eef0f3}
.hero .find .btn{height:60px;gap:.7rem;padding:0 1.4rem 0 .9rem;border-radius:20px;font-size:1rem}
.btn .pl{flex:none;display:grid;place-items:center;width:30px;height:30px;border-radius:999px;background:#fff;color:var(--ink)}
.srcs{display:flex;flex-wrap:wrap;justify-content:center;gap:.4rem 1.6rem;margin:1.1rem 0 0;font-size:.86rem;color:var(--muted)}
.srcs span{display:inline-flex;align-items:center;gap:.4rem;white-space:nowrap}
.srcs svg{width:14px;height:14px;color:#3f6ff5}
.totals{margin-top:2rem}
@media (max-width:900px){
  .hero{padding-top:2.4rem}
  .hero .find .q,.hero .find .btn{height:56px}
  .hero .find .btn{padding:0 1.2rem}
  .srcs{flex-direction:column;align-items:center}
}

/* A tab group standing on the page ground (not inside a white card) gets a white track, or it disappears into the background. */
.ph .seg{padding:4px;border-radius:14px;background:#fff;box-shadow:var(--sh-card)}
.ph .seg button{height:38px;border-radius:10px;color:var(--ink-2)}
.ph .seg button[aria-pressed="true"]{color:#fff}
.ph .seg button:not([aria-pressed="true"]):hover{background:rgba(63,111,245,.1);color:var(--ink)}
/* The empty-card text takes the whole row it has, so a short sentence stays on one row. */
.empty>div{flex:1 1 auto}
.empty p{max-width:none;text-wrap:balance}

/* Tabs keep a small gap between them, so a hovered tab never touches the chosen one; the focus ring is soft. */
.seg{gap:3px}
.ph .seg{gap:4px}
.seg button:focus{outline:0}
.seg button:focus-visible{box-shadow:0 0 0 2px rgba(63,111,245,.35)}

/* Top bar actions: sign-in is a white pill with a dark icon chip, the main action carries the same plus chip as in the hero. */
header.bar .applink{display:inline-flex;align-items:center;gap:.5rem;height:40px;padding:0 .9rem 0 .4rem;border-radius:14px;background:#fff;box-shadow:0 1px 2px rgba(17,24,39,.1),0 6px 18px -6px rgba(45,80,160,.3);color:var(--ink);font-size:.92rem;transition:transform .2s var(--ease)}
header.bar .applink:hover{background:#fff;transform:translateY(-1px)}
header.bar .applink i{display:grid;place-items:center;width:26px;height:26px;border-radius:999px;background:var(--ink);color:#fff}
header.bar .btn.pill{gap:.55rem;padding-left:.45rem}
header.bar .btn .pl{width:26px;height:26px}
/* Leaderboard header in three rows that share one left and one right edge:
   title with the debt switch, the sort tabs across the card, three equal filters. */
.board-h{align-items:center;padding:1.3rem 1.3rem 1.1rem}
.board-h h2{font-size:1.45rem}
.board-h .chip#fdebt{margin-left:auto}
.fbar{grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem .7rem;padding:0 1.3rem 1.3rem}
.fbar .fld:first-child{grid-column:1/-1}
.fbar .seg{display:grid;width:100%;grid-auto-columns:minmax(0,1fr);padding:4px;border-radius:14px}
.fbar .seg button{height:38px;border-radius:10px}
#metric button{height:42px;font-size:.95rem}
.fbar .sel{height:46px;border-radius:14px}
.board .seg,.board .chip#fdebt{background-color:#f1f3f7}
.board .sel{background-color:#f1f3f7}
.board .chip#fdebt[aria-pressed="true"]{background-color:var(--red)}
.board-h .cnt{background:#f1f3f7}
@media (max-width:900px){
  .fbar{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .fbar .fld:nth-child(3){grid-column:auto}
  .fbar .fld:nth-child(4){grid-column:1/-1}
  #metric{grid-auto-flow:row;grid-template-columns:1fr 1fr}
  .board-h .chip#fdebt{margin-left:0}
  header.bar .applink{display:none}
}

/* One cool tint for every control and band on the page, so the tabs, selects, table head and tags match. */
:root{--tint:#f1f3f7}
.shelf-h h2,.board-h h2{font-size:1.25rem}
.pane h2{font-size:1.15rem}
.totals a{border-radius:20px}
/* Leaderboard table: head band and rows are inset to the same left and right edge as the filters above;
   rows are rounded stripes, growth is a pill of one width, the trend line is the accent blue. */
.cols{height:38px;margin:0 .6rem;padding:0 .7rem;border-radius:12px;background:var(--tint)}
.rows{padding:.35rem .6rem .2rem}
.row{min-height:64px;padding:0 .7rem;border-radius:14px;transition:background .15s,transform .2s var(--ease)}
.rows li:nth-child(even) .row{background:#f7f8fb}
.rows li .row:hover{background:rgba(63,111,245,.1)}
.row .spark path{stroke:#3f6ff5;stroke-width:1.8}
.row .grw{justify-content:center;min-width:5rem;height:28px;padding:0 .55rem;border-radius:999px;font-size:.86rem}
.row .grw.up{background:rgba(4,138,1,.1)}
.row .grw.down{background:rgba(190,18,60,.09)}
.row .grw.flat{color:var(--faint)}
.row .rev{font-size:1.05rem}
.row .logo{background:var(--tint)}
.board-f{padding-top:.8rem}
@media (max-width:900px){
  .rows{padding:.2rem .4rem}
  .row{padding:.6rem .6rem}
  .row .grw{min-width:0;height:24px;font-size:.8rem}
}

/* The size tabs carry the longest labels, so that filter gets the widest column and the labels keep air on both sides. */
@media (min-width:901px){.fbar{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.6fr)}}
.fbar .seg button{padding:0 .3rem}

/* Footer links: white pills that stand out from the card; the hover is the soft blue of the page, never dark. */
.foot .fl a{height:44px;padding:0 1.3rem;border-radius:14px;color:var(--ink);box-shadow:0 1px 2px rgba(17,24,39,.1),0 6px 18px -6px rgba(45,80,160,.3);transition:background .15s,transform .2s var(--ease)}
.foot .fl a:hover{background:#e3ebfd;color:var(--ink);transform:translateY(-1px)}

/* The actions grew with their icon chips; tighter paddings give the menu back its exact centre. */
@media (min-width:901px){
  .nav a{padding:0 .5rem}
  .acts{gap:.4rem}
  header.bar .applink{gap:.4rem;padding:0 .75rem 0 .38rem}
  header.bar .btn.pill{padding-right:1rem}
}

/* Rank numbers sit on the centre line of the dark circles of the top three. */
.row .rank,.row .medal{width:26px;height:26px}
.row .rank{display:grid;place-items:center;text-align:center}
.row .medal{display:grid;place-items:center}

/* "Kuidas töötab": the two lists are tables of two columns. Every value starts on one left line,
   each row is a soft band, and both cards use the same column width. */
.stats .facts{gap:.35rem;margin-top:1rem}
.stats .facts div{display:grid;grid-template-columns:11.5rem minmax(0,1fr);align-items:baseline;gap:1rem;padding:.6rem .85rem;border-radius:12px;background:var(--tint)}
.stats .facts b{max-width:none;text-align:left}
@media (max-width:900px){.stats .facts div{grid-template-columns:1fr;gap:.1rem}}

/* Phone bar: one 64px row like on chatmated.com - wordmark, product switch, short action, burger.
   The page links open as a panel under the bar. */
.burger,.nav .nav-login{display:none}
@media (max-width:900px){
  .top{position:sticky;top:10px;margin-top:14px}
  header.bar{position:relative;flex-wrap:nowrap;height:64px;padding:0 12px 0 24px;border-radius:999px;column-gap:.5rem}
  .acts{gap:.5rem}
  header.bar .btn .pl{display:none}
  header.bar .btn.pill{padding:0 1rem}
  #add .bl{display:none}#add .bs{display:inline}
  .burger{display:grid;place-content:center;gap:5px;flex:none;width:40px;height:40px;padding:0;border:0;border-radius:999px;background:rgba(17,24,39,.06)}
  .burger i{display:block;width:16px;height:2px;border-radius:2px;background:var(--ink);transition:transform .25s var(--ease)}
  .burger[aria-expanded="true"] i:first-child{transform:translateY(3.5px) rotate(45deg)}
  .burger[aria-expanded="true"] i:last-child{transform:translateY(-3.5px) rotate(-45deg)}
  .nav{display:none;position:absolute;left:0;right:0;top:calc(100% + 8px);z-index:45;order:0;width:auto;margin:0;padding:.5rem;gap:.15rem;border-radius:22px;background:#fff;box-shadow:var(--sh-pop);transform:none;overflow:visible}
  header.bar.open .nav{display:grid;grid-template-columns:1fr;animation:in .2s var(--ease)}
  .nav a{display:flex;align-items:center;height:48px;padding:0 .9rem;border-radius:14px;font-size:1rem;text-align:left}
  .nav .nl{display:inline}.nav .ns{display:none}
  .nav .nav-login{display:flex;color:var(--muted)}
  .prod{left:-14px}
}
@media (min-width:561px) and (max-width:900px){#add .bl{display:inline}#add .bs{display:none}}

/* Phone pass. .dsk shows on wide screens only, .mob on the phone only. */
.mob{display:none}
.srcs i{font-style:normal}
@media (max-width:900px){
  .dsk{display:none!important}
  .mob{display:inline}
  /* Hero: three rows of text, the search, one row of sources. The action is already in the bar above. */
  .hero{padding:2rem 0 1.4rem}
  .hero .sub{margin-top:.9rem;font-size:1rem}
  .hero .find{margin-top:1.5rem}
  .hero .find .btn{display:none}
  .srcs{flex-direction:row;justify-content:center;gap:.3rem 1.3rem;margin-top:.9rem}
  .totals{margin-top:1.5rem}
  /* Fastest growers: growth on the left, the two figures on the right, so four cards fit in less height. */
  a.deal{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);column-gap:.7rem;padding:1rem}
  .deal .hd{grid-column:1/-1;margin-bottom:.9rem}
  .deal .gr{margin-top:0;padding:.7rem .8rem}
  .deal .gr b{font-size:1.4rem}
  .deal .gr .spark{width:56px;height:30px}
  .deal .duo{grid-template-columns:1fr;gap:.35rem;margin-top:0;padding:0;align-content:center}
  .deal .duo span{display:flex;align-items:baseline;justify-content:space-between;gap:.5rem}
  .deal .duo span span{display:block}
  /* Filters: each select takes the full row, so its text is never cut by the arrow. */
  .fbar .fld:nth-child(n+2){grid-column:1/-1}
  /* Statistics tiles: one per row, number left and label right. */
  .big{grid-template-columns:1fr;gap:.5rem}
  .big .pane{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;padding:.9rem 1.1rem}
  .big .pane span{text-align:right}
  /* Company facts: label column and value column, values on one left line. */
  .grid2 .facts div{display:grid;grid-template-columns:minmax(0,44%) minmax(0,1fr);gap:.8rem}
  .grid2 .facts b{max-width:none;text-align:left}
  .hist div{font-size:.66rem}
}

/* Phone menu: numbered rows with an arrow, then sign-in and add-company as two equal buttons. */
.nav-acts{display:none}
.burger:focus{outline:0}
.burger:focus-visible{box-shadow:0 0 0 2px rgba(63,111,245,.35)}
@media (max-width:900px){
  .nav{counter-reset:n;padding:.6rem;border-radius:24px}
  .nav>a{gap:.9rem;height:52px;padding:0 .8rem 0 .9rem;font-size:1.02rem;font-weight:500;color:var(--ink)}
  .nav>a::before{counter-increment:n;content:counter(n,decimal-leading-zero);font-family:ui-monospace,"SF Mono",Menlo,monospace;font-size:.68rem;font-weight:500;color:var(--faint)}
  .nav>a::after{content:"";flex:none;width:28px;height:28px;margin-left:auto;border-radius:999px;background:var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111827' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") 50%/12px no-repeat}
  .nav>a[aria-current="page"]::before{color:#3f6ff5}
  .nav>a[aria-current="page"]::after{background-color:#fff}
  .nav-acts{display:grid;grid-template-columns:1fr 1fr;gap:.5rem;margin-top:.45rem;padding:.6rem .1rem .1rem}
  .nav .nav-acts .nav-login,.nav .nav-acts .btn{display:flex;align-items:center;justify-content:center;height:48px;padding:0;border-radius:14px;font-size:.98rem;font-weight:500}
  .nav .nav-acts .nav-login{background:var(--tint);color:var(--ink)}
  /* Leaderboard rows: every row has the same three lines - name, sector and county, then revenue and growth. */
  .row{grid-template-columns:26px minmax(0,1fr) auto;row-gap:.45rem;column-gap:.6rem;align-items:center;padding:.75rem .7rem}
  .row .rank{grid-column:1;grid-row:1/3}
  .row .who{grid-column:2/4;grid-row:1}
  .row .rev{grid-column:2;grid-row:2;justify-self:start;padding-left:calc(40px + .75rem)}
  .row .grw{grid-column:3;grid-row:2}
  .who b{flex-wrap:nowrap;min-width:0;height:22px;font-size:.95rem;line-height:22px}
  .who b .tag{height:20px}
  .who b u,.who small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .who b .tag{flex:none}
}

/* Phone rows: the debt tag is a pill of the same size as the growth pill and sits on the same right edge above it. */
@media (max-width:900px){
  .who>span:last-child{flex:1 1 auto;min-width:0}
  .who b{height:24px;line-height:24px}
  .row .grw,.who b .tag{box-sizing:border-box;justify-content:center;min-width:4.9rem;height:24px;padding:0 .55rem;border-radius:999px;font-size:.8rem;font-weight:500}
  .who b .tag{margin-left:auto}
  .row .grw.flat{background:var(--tint)}
}

/* Phone bar holds only the wordmark, the product switch and the burger; "Lisa firma" lives in the menu
   and, since the bar no longer shows it, again under the search in the hero. */
@media (max-width:900px){
  header.bar #add{display:none}
  .burger:focus-visible{box-shadow:none}
  .hero .find .btn{display:inline-flex}
}

/* Debt filter: a real switch. Off is grey with the knob left, on is red with the knob right;
   the chip itself only gets a soft red tint, so the state reads from the switch. */
.chip#fdebt::before{width:34px;height:20px;background:#cfd4dc radial-gradient(circle at 10px 50%,#fff 7px,transparent 7.5px)}
.chip#fdebt[aria-pressed="true"],.board .chip#fdebt[aria-pressed="true"]{background:rgba(190,18,60,.09);color:var(--ink)}
.chip#fdebt[aria-pressed="true"]::before{background:var(--red) radial-gradient(circle at 24px 50%,#fff 7px,transparent 7.5px)}
@media (max-width:900px){
  /* On the phone it is a settings row: label left, switch right. */
  .chip#fdebt{flex-direction:row-reverse;justify-content:space-between;height:48px;padding:0 .9rem 0 1rem;border-radius:14px;font-size:.95rem}
}

/* Phone: the growth distribution is the same kind of list as the two cards above it -
   label on one row at the left, bar in the middle, count at the right. */
@media (max-width:900px){
  .hist{display:grid;align-items:stretch;gap:.7rem;height:auto;margin-top:1rem}
  .hist div{display:grid;grid-template-columns:6.4rem minmax(0,1fr) 3.2rem;align-items:center;justify-content:stretch;gap:.7rem;height:auto;font-size:.92rem;color:var(--ink);text-align:left}
  .hist span{grid-column:1;grid-row:1;min-height:0;line-height:1.3;white-space:nowrap}
  .hist i{grid-column:2;grid-row:1;width:var(--p,0%);height:10px!important;border-radius:999px;transform-origin:left}
  .hist b{grid-column:3;grid-row:1;font-size:.92rem;text-align:right}
}

/* Phone, company page: figures sit in soft tiles, the report table keeps label left and number right on one row,
   the chart switch takes the full width. */
@media (max-width:900px){
  .kpis{gap:.5rem}
  .kpi{padding:.7rem .85rem;border-radius:14px;background:var(--tint)}
  .kpi b{font-size:1.15rem}
  #xfin .facts{gap:.35rem;margin-top:.8rem}
  #xfin .facts div{display:flex;justify-content:space-between;align-items:baseline;gap:.8rem;padding:.55rem .85rem;border-radius:12px;background:var(--tint)}
  #xfin .facts span{min-width:0}
  #xfin .facts b{flex:none;max-width:none;text-align:right;white-space:nowrap}
  .ch-h{gap:.7rem}
  .ch-h h2,.ch-h>b,.ch-h>span:first-child{width:100%}
  .ch-h .seg{width:100%;grid-auto-columns:minmax(0,1fr);padding:4px;border-radius:14px}
  .ch-h .seg:first-of-type{margin-left:0}
  .ch-h .seg button{height:40px;border-radius:10px;font-size:.93rem}
}

/* Phone, company header: both actions are full-width buttons of one size, main action first; tags in an even grid of gaps. */
@media (max-width:900px){
  .fh{gap:.9rem}
  .fh .acts{display:grid;grid-template-columns:1fr;gap:.5rem;width:100%;margin:0}
  .fh .acts .btn{width:100%;height:48px;padding:0 1rem;border-radius:14px;font-size:.98rem}
  .fh .acts .btn:not(.soft){order:-1}
  .meta{gap:.4rem;margin-top:.9rem}
  .meta .tag{height:26px;padding:0 .65rem;font-size:.76rem}
  /* Footer: wordmark, a balanced two-row line, then the three links as one row of equal pills. */
  .foot-in{gap:1rem;padding:1.2rem 1rem 1rem}
  .fb{padding:0 .2rem}
  .fb{gap:.9rem}
  .fb p{text-wrap:balance}
  .foot .fl{grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:.35rem}
  .foot .fl a{height:44px;padding:0;border-radius:12px;font-size:.8rem;letter-spacing:-.01em}
}

/* Phone, empty card: small icon beside the title on one row, the sentence under them, then the button. */
@media (max-width:900px){
  .empty{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:.55rem .8rem;padding:1.1rem}
  .empty>div{display:contents}
  .empty .em-i{grid-column:1;grid-row:1;width:40px;height:40px;border-radius:12px}
  .empty .em-i svg{width:18px;height:18px}
  .empty b{grid-column:2;grid-row:1;font-size:1.08rem}
  .empty p{grid-column:1/-1;grid-row:2;margin:0;font-size:.95rem}
  .empty .btn{grid-column:1/-1;grid-row:3;height:46px;margin-top:.35rem}
}
@media (max-width:380px){.foot .fl a{font-size:.76rem}}

/* Phone rows: rank and logo share one centre line with the name block; revenue starts on the name's left edge, the pill ends on the row's right edge. */
@media (max-width:900px){
  .row{row-gap:.5rem;padding:.8rem .75rem}
  .row .rank{grid-row:1;align-self:center}
  .row .who{align-items:center}
  .row .rev{align-self:center;line-height:24px}
  .row .grw{align-self:center}
}

/* Hero button: the plus sits in a tile of the same size, shape and place as the search icon's tile above it. */
.hero .find .btn{gap:.75rem;padding:0 1.4rem 0 .6rem}
.hero .find .btn .pl{width:40px;height:40px;border-radius:14px}
.hero .find .btn .pl svg{width:18px;height:18px}
@media (max-width:900px){.hero .find .btn{justify-content:flex-start;padding:0 .9rem 0 .6rem}}

/* Phone: the switch is as tall as the row allows, with the same 6px inset as the icon tiles in the search and the button. */
@media (max-width:900px){
  .chip#fdebt{height:52px;padding:0 6px 0 1rem;border-radius:16px}
  .chip#fdebt::before{width:68px;height:40px;background:#cfd4dc radial-gradient(circle at 20px 50%,#fff 15px,transparent 15.5px)}
  .chip#fdebt[aria-pressed="true"]::before{background:var(--red) radial-gradient(circle at 48px 50%,#fff 15px,transparent 15.5px)}
}
@media (max-width:900px){.plan ul{font-size:.9rem}.plan li{white-space:nowrap}}

/* Footer links carry an icon only on the phone, where they are rows like the menu: icon tile, label, arrow. */
.foot .fl a i{display:none}
@media (max-width:900px){
  .foot-in{gap:.7rem;padding:1.2rem .7rem .7rem}
  .fb{padding:0 .5rem}
  .foot .fl{grid-auto-flow:row;grid-template-columns:1fr;gap:.15rem}
  .foot .fl a{justify-content:flex-start;gap:.8rem;height:56px;padding:0 .5rem;border-radius:16px;background:none;box-shadow:none;font-size:1rem;letter-spacing:0}
  .foot .fl a:hover{background:rgba(63,111,245,.08);transform:none}
  .foot .fl a i{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:12px;background:rgba(63,111,245,.12);color:#3f6ff5}
  .foot .fl a::after{content:"";flex:none;width:28px;height:28px;margin-left:auto;border-radius:999px;box-shadow:var(--sh-sm);background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111827' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") 50%/12px no-repeat}
}

/* Phone: tab groups are one row of four equal tabs with short labels; step cards carry their number
   in a tile beside the title, like the empty card above them. */
@media (max-width:900px){
  .ph .seg,#metric{grid-auto-flow:column;grid-template-columns:none;grid-auto-columns:minmax(0,1fr);width:100%}
  .ph .seg button,#metric button{height:42px;padding:0 .2rem;font-size:.9rem}
  .steps3{gap:.6rem}
  .steps3 .pane{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:.6rem .8rem;padding:1.1rem}
  .steps3 .n{grid-column:1;grid-row:1;width:40px;height:40px;border-radius:12px;background:rgba(63,111,245,.12);color:#3f6ff5;font-size:1rem;font-weight:600}
  .steps3 h3{grid-column:2;grid-row:1;margin:0;font-size:1.08rem}
  .steps3 p{grid-column:1/-1;grid-row:2;margin:0;font-size:.95rem}
}

/* "Kuidas töötab" lists. The step number is its own element: "1. " in running text on wide screens,
   a blue tile beside the two lines on the phone. Labels are small caps like every other field label. */
.sn{font-style:normal}
.sn::after{content:".\00a0"}
@media (max-width:900px){
  .stats .facts{gap:.4rem}
  .stats .facts div{grid-template-columns:minmax(0,1fr);row-gap:.15rem;column-gap:.8rem;align-items:center;padding:.7rem .9rem;border-radius:14px;font-size:.68rem;font-weight:500;letter-spacing:.1em;line-height:1.3;text-transform:uppercase;color:var(--faint)}
  .stats .facts span{display:contents}
  .stats .facts b{font-size:1rem;font-weight:500;letter-spacing:-.01em;line-height:1.3;text-transform:none;color:var(--ink)}
  .stats .facts div:has(.sn){grid-template-columns:auto minmax(0,1fr);padding-left:.7rem}
  .stats .facts div:has(.sn) b{grid-column:2}
  .sn{grid-column:1;grid-row:1/3;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:rgba(63,111,245,.12);color:#3f6ff5;font-size:.98rem;font-weight:600;letter-spacing:0}
  .sn::after{content:none}
  .stats .pane .dl-f .btn{height:48px;border-radius:14px}
}

/* Wordmark lockup: "chatmated" as on chatmated.com, then "trust" on the same baseline in the accent blue. */
.wm{display:inline-flex;flex-direction:row;align-items:baseline;gap:0;white-space:nowrap}
.wm b{position:static;margin:0 0 0 .2em;font-family:var(--sans);font-size:.86em;font-weight:500;letter-spacing:-.04em;line-height:1;text-transform:none;color:#3f6ff5}

/* With the longer lockup: menu links never wrap; on narrower desktops the main action uses its short label;
   the footer stays one row. */
.nav a{white-space:nowrap}
@media (min-width:901px) and (max-width:1139px){#add .bl{display:none}#add .bs{display:inline}.fb p{display:none}}
@media (min-width:901px){.foot .fl a{padding:0 1rem}.foot-in{flex-wrap:nowrap}.fb{min-width:0}.fb p{white-space:nowrap}}

/* Product menu: names are shown as their logos. */
.prod .lg{display:flex;align-items:baseline;line-height:1.25}
.prod .mk{font-family:var(--mark);font-weight:500;font-size:1.3rem;letter-spacing:-.05em;font-variation-settings:"SOFT" 100,"WONK" 1}
.prod .mk em{font-style:normal;font-weight:300}
.prod .lg i{margin-left:.22em;font-style:normal;font-family:var(--sans);font-size:1.1rem;font-weight:500;letter-spacing:-.04em;color:#3f6ff5}

/* Lockup, final: the wordmark, then TRUST in a soft blue pill beside it. Same in the product menu. */
.wm{align-items:center}
.wm b{margin:.06em 0 0 .36em;padding:.38em .68em .4em;border-radius:999px;background:rgba(63,111,245,.12);font-size:.34em;font-weight:600;letter-spacing:.12em;line-height:1;text-transform:uppercase;color:#3f6ff5}
.prod .lg{align-items:center}
.prod .lg i{margin:.1em 0 0 .5em;padding:.36em .66em .38em;border-radius:999px;background:rgba(63,111,245,.12);font-size:.58rem;font-weight:600;letter-spacing:.12em;line-height:1;text-transform:uppercase}
.prod>a[aria-current="true"] .lg i{background:#fff}

/* Product menu tiles are the two app icons: chatmated dark, trust blue. */
.prod .pi.tr{background:#3f6ff5;color:#fff}

/* Phone hero: the icon tiles stay at the left edge, the two texts are centred in their bars. */
@media (max-width:900px){
  .hero .q{padding-right:.6rem}
  .hero .q input{padding-right:52px;font-size:.95rem;text-align:center}
  .hero .find .btn{position:relative;justify-content:center;padding:0 3.6rem}
  .hero .find .btn .pl{position:absolute;left:.6rem;top:50%;transform:translateY(-50%)}
}
@media (max-width:380px){.hero .q input{font-size:.86rem}}

/* Every "Pane oma firma üles" button outside the top bar looks like the one in the hero: a white plus tile, then the label. */
.btn.add{gap:.65rem;height:46px;padding-top:0;padding-bottom:0;padding-left:.5rem}
.stats .pane .dl-f .btn{height:46px;padding-top:0;padding-bottom:0}
.btn.add .pl{width:32px;height:32px;border-radius:11px}
@media (max-width:900px){
  .btn.add,.empty .btn.add,.stats .pane .dl-f .btn.add{position:relative;justify-content:center;height:56px;padding:0 3.6rem;border-radius:20px}
  .btn.add .pl{position:absolute;left:.5rem;top:50%;width:40px;height:40px;border-radius:14px;transform:translateY(-50%)}
  .btn.add .pl svg{width:18px;height:18px}
}

/* Desktop footer links: soft blue pills that read against the card; hover is one step deeper. */
@media (min-width:901px){
  .foot .fl a{background:#d6e2fd;box-shadow:none;color:var(--ink)}
  .foot .fl a:hover{background:#c3d4fc;color:var(--ink)}
}
/* Phone: the two card buttons on "Kuidas töötab" are one size. */
@media (max-width:900px){.stats .pane .dl-f .btn{height:56px;border-radius:20px}}

/* Step cards on wide screens: the number sits in a blue tile beside the title (as on the phone),
   and an arrow chip between the cards shows that one step leads to the next. */
@media (min-width:901px){
  .steps3{gap:1rem}
  .steps3 .pane{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:.9rem 1rem;padding:1.4rem}
  .steps3 .n{grid-column:1;grid-row:1;width:46px;height:46px;border-radius:14px;background:rgba(63,111,245,.12);color:#3f6ff5;font-size:1.1rem;font-weight:600}
  .steps3 h3{grid-column:2;grid-row:1;margin:0;font-size:1.15rem}
  .steps3 p{grid-column:1/-1;grid-row:2;margin:0}
  .steps3 .pane:not(:last-child)::after{content:"";position:absolute;z-index:1;right:calc(-.5rem - 15px);top:50%;width:30px;height:30px;margin-top:-15px;border-radius:999px;box-shadow:var(--sh-card);background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233f6ff5' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") 50%/13px no-repeat}
}

/* Statistics: bars in the accent blue on a soft track; the growth distribution is summed up in three tiles
   (shrinking, flat, growing) and the columns carry the same three colours. */
.hb button{grid-template-columns:13rem minmax(0,1fr) 6.5rem;padding:.45rem .6rem;margin:0 -.6rem;border-radius:12px}
.hb i{height:10px;background:var(--tint)}
.hb i u{background:#3f6ff5}
.hb button:hover{background:rgba(63,111,245,.07)}
.hsum{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.6rem;margin-top:1rem}
.hsum span{display:flex;align-items:baseline;gap:.5rem;padding:.75rem 1rem;border-radius:14px;background:var(--tint);font-size:.9rem;color:var(--muted);white-space:nowrap}
.hsum span::before{content:"";align-self:center;flex:none;width:10px;height:10px;border-radius:999px;background:#c2c8d2}
.hsum b{font-size:1.35rem;font-weight:500;letter-spacing:-.03em;color:var(--ink)}
.hsum .neg::before,.hist i.neg{background:#e8a3b3}
.hsum .flat::before,.hist i.flat{background:#c9ced8}
.hsum .pos::before,.hist i.pos{background:#3f6ff5}
.hist{gap:.6rem;height:170px}
.hist i{border-radius:12px 12px 4px 4px}
@media (max-width:900px){
  .hb button{grid-template-columns:minmax(0,1fr) auto;padding:.35rem .5rem;margin:0 -.5rem}
  .hsum{gap:.4rem}
  .hsum span{flex-direction:column;align-items:flex-start;gap:.1rem;padding:.65rem .75rem;font-size:.8rem}
  .hsum span::before{align-self:flex-start;margin-bottom:.25rem}
  .hsum b{font-size:1.2rem}
  .hist{height:auto;gap:.7rem}
  .hist i{border-radius:999px}
}

/* A full-width add button keeps its plus tile at the left edge and its label in the centre, on every screen. */
.dl-f .btn.add{position:relative;justify-content:center;padding:0 3rem}
.dl-f .btn.add .pl{position:absolute;left:7px;top:50%;transform:translateY(-50%)}
@media (max-width:900px){.dl-f .btn.add .pl{left:.5rem}}

/* Step cards: soft blue cards with a white number tile, no arrows between them. */
.steps3 .pane{background:linear-gradient(160deg,#f3f7ff,#e3ecfe)}
.steps3 .pane .n{background:#fff;color:#3f6ff5;box-shadow:var(--sh-sm)}
.steps3 .pane:not(:last-child)::after{content:none}

/* Wide screens: the step number tile is the same size and on the same left line as the plus tile of the card above. */
@media (min-width:901px){
  .steps3 .pane{padding:1.5rem 1.6rem}
  .steps3 .n{width:52px;height:52px;border-radius:16px;font-size:1.15rem}
}

/* Growth summary tiles: dot and number on one row, a one-word label under them on the phone. */
.hsum em{font-style:normal}
.hsum em span{display:inline;padding:0;background:none;font-size:inherit}
.hsum em span::before{content:none}
@media (max-width:900px){
  .hsum span{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:.1rem .45rem;padding:.6rem .75rem}
  .hsum span::before{grid-column:1;grid-row:1;align-self:center;margin:0}
  .hsum b{grid-column:2;grid-row:1;font-size:1.25rem}
  .hsum em{grid-column:1/-1;grid-row:2;font-size:.82rem}
  .hsum em span{display:inline}
  .hsum em .dsk{display:none}
}
@media (min-width:901px){.hsum em .mob{display:none}}
.srcline{text-wrap:pretty}

/* Step cards a step bluer, with darker text, so they stand apart from the white cards and the page ground. */
.steps3 .pane{background:linear-gradient(160deg,#e4ecfe,#cfdcfc)}
.steps3 p{color:var(--ink-2)}

/* Phone leaderboard title: the count sits under the title as a plain line, so a long condition wraps instead of running out of the card. */
@media (max-width:900px){
  .board-h .bt{flex-direction:column;align-items:flex-start;gap:.1rem;width:100%;margin-right:0}
  .board-h .cnt{padding:0;border-radius:0;background:none;font-size:.86rem;line-height:1.35;white-space:normal}
  .seg button:focus-visible{box-shadow:none}
}

/* Phone filtering: title with the count under it and a "Filtrid" button beside; the sort tabs stay in view;
   the four filters open in one group under the tabs. The button shows how many filters are on. */
.filt-btn{display:none}
@media (max-width:900px){
  .board{display:flex;flex-direction:column}
  .board-h,.fbar{display:contents}
  .board-h .bt{order:1;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.1rem .8rem;width:auto;margin:1.2rem 1.2rem 0}
  .board-h .bt h2{grid-column:1;grid-row:1}
  .board-h .bt .cnt{grid-column:1;grid-row:2}
  .filt-btn{grid-column:2;grid-row:1/3;display:inline-flex;align-items:center;gap:.5rem;height:44px;padding:0 .9rem;border:0;border-radius:14px;background:var(--tint);font-size:.95rem;font-weight:500;color:var(--ink);transition:background .15s,color .15s}
  .filt-btn b{display:grid;place-items:center;min-width:22px;height:22px;padding:0 .3rem;border-radius:999px;background:#3f6ff5;color:#fff;font-size:.74rem;font-weight:600}
  .filt-btn[aria-expanded="true"]{background:var(--ink);color:#fff}
  .fbar .fld:first-child{order:2;margin:1rem 1.2rem 0}
  .fbar .fld:nth-child(n+2){order:3;margin:.8rem 1.2rem 0}
  .board-h .chip#fdebt{order:4;width:auto;margin:.8rem 1.2rem 0}
  .board:not(.fopen) .fbar .fld:nth-child(n+2),.board:not(.fopen) .chip#fdebt{display:none}
  .board .rows{order:10;margin-top:.9rem}
  .board .board-f{order:11}
  .board .cols{order:9}
}

/* Phone: the count line runs under the title across the whole card, so it stays on one row. */
@media (max-width:900px){
  .board-h .bt{row-gap:.45rem}
  .board-h .bt .cnt{grid-column:1/-1;white-space:nowrap}
  .filt-btn{grid-row:1}
}

/* Phone: the product menu is exactly as wide as the bar and hangs from it, like the page menu. */
@media (max-width:900px){
  .brand{position:static}
  .prod{left:0;right:0;top:calc(100% + 8px);width:auto;border-radius:24px}
}

/* Wide screens: the debt switch is exactly the size of one sort tab and sits right above the last one. */
@media (min-width:901px){
  .board-h .chip#fdebt{box-sizing:border-box;justify-content:center;width:calc((100% - 17px) / 4);height:42px;margin-right:4px;padding:0 .6rem;border-radius:10px}
}

/* Company page on wide screens: the two columns share their rows, so each pair of cards starts and ends on the same line. */
@media (min-width:901px){
  .grid2{align-items:stretch;grid-auto-flow:row dense;row-gap:.8rem}
  .grid2>div{display:contents}
  .grid2>div:first-child>*{grid-column:1}
  .grid2>div:last-child>*{grid-column:2}
  .grid2 .pane,.grid2 #xfin,.grid2 #xfin+.pane{margin-top:0}
  .grid2 #xfin:empty{display:none}
  .grid2 #xfin{display:grid}
  /* A stretched card keeps its button on its bottom edge. */
  .grid2 .pane{display:flex;flex-direction:column}
  .grid2 .pane>.dl-f{margin-top:auto;padding-top:1.3rem}
}

/* Company view, every screen. Figures are tiles: the leading figure is dark, growth or loss tints its own tile.
   Fact lists are soft bands; a row with a debt is tinted red. The newest column of the chart is the accent blue. */
.kpis{gap:.6rem}
.kpi{padding:.8rem .95rem .85rem;border-radius:14px;background:var(--tint)}
.kpi span{font-size:.66rem}
.kpi b{margin-top:.2rem;font-size:1.35rem;white-space:nowrap}
.kpi:first-child{background:var(--ink)}
.kpi:first-child span{color:rgba(255,255,255,.62)}
.kpi:first-child b{color:#fff}
.kpi:has(b.up){background:rgba(4,138,1,.09)}
.kpi:has(b.down){background:rgba(190,18,60,.08)}
.kpi:first-child:has(b.down){background:var(--ink)}
.grid2 .facts{gap:.35rem;margin-top:.8rem}
.grid2 .facts div{padding:.55rem .85rem;border-radius:12px;background:var(--tint)}
.grid2 .facts div:has(b.down){background:rgba(190,18,60,.07)}
.chart .bar{fill:#cddafb}
.chart .bar:last-of-type{fill:#3f6ff5}
.chart .bar.on{fill:var(--ink)}
.sim button{padding:.55rem .6rem;margin:0;border-radius:14px}
.sim{gap:.2rem;margin-top:.7rem}
.sim .logo{background:var(--tint)}
@media (max-width:900px){
  .kpi{padding:.7rem .85rem .75rem}
  .kpi b{font-size:1.15rem}
  /* "Andmed": label in small caps above its value, so long labels and addresses never squeeze each other. */
  .grid2>div:last-child .facts div{display:grid;grid-template-columns:minmax(0,1fr);gap:.12rem;padding:.6rem .9rem;font-size:.68rem;font-weight:500;letter-spacing:.1em;line-height:1.3;text-transform:uppercase;color:var(--faint)}
  .grid2>div:last-child .facts span{display:contents}
  .grid2>div:last-child .facts b{max-width:none;font-size:1rem;font-weight:500;letter-spacing:-.01em;line-height:1.35;text-align:left;text-transform:none;color:var(--ink)}
  .grid2>div:last-child .facts b.down{color:var(--red)}
}

/* Company page top: the search stands at the left beside the back link; it and the two actions share one height and corner.
   The actions are two equal buttons. */
.find.sm .q{height:46px;gap:.6rem;padding:0 .7rem 0 .4rem;border-radius:14px}
.find.sm .q svg{box-sizing:content-box;width:16px;height:16px;padding:10px;border-radius:10px;background:rgba(63,111,245,.12);color:#3f6ff5}
@media (min-width:901px){
  .subtop{justify-content:flex-start;gap:.8rem}
  .find.sm{flex:0 1 26rem}
  .fh .acts{flex:0 0 26rem;display:grid;grid-template-columns:1fr 1fr;gap:.5rem;width:26rem}
  .fh .acts .btn{height:46px;padding:0 1rem;border-radius:14px}
}

/* Company tags under the name: larger white pills that read on the page ground. */
.meta{gap:.45rem;margin-top:1.1rem}
.meta .tag{height:34px;padding:0 .9rem;background:#fff;box-shadow:var(--sh-sm);font-size:.88rem;font-weight:500;color:var(--ink)}
.meta .tag.dm{background:#fff;box-shadow:var(--sh-sm);color:var(--muted)}
.meta .tag.debt{background:#fde8ec;box-shadow:none;color:var(--red)}
.meta .tag.ok::before{width:8px;height:8px}
@media (max-width:900px){.meta .tag{height:32px;padding:0 .8rem;font-size:.84rem}}

/* Company page top on wide screens, one left-aligned column like on the phone:
   back link, search, name, the two actions under it at the search's width, tags. */
@media (min-width:901px){
  .subtop{flex-direction:column;align-items:flex-start;gap:.7rem}
  .find.sm{flex:none;width:26rem}
  .fh{gap:.9rem 1rem;margin-top:1.2rem}
  .fh>div:not(.acts){flex:1 1 60%}
  .fh .acts{flex:0 0 26rem;width:26rem;margin-left:0}
}

/* Company page on wide screens: every card is stacked in one column at full width, in reading order.
   The width is used inside the cards: fact lists and similar companies run in two columns,
   and a card with one action keeps its text left and its button right. */
@media (min-width:901px){
  .grid2{grid-template-columns:minmax(0,1fr)}
  .grid2>div:first-child>*,.grid2>div:last-child>*{grid-column:1}
  .grid2 .facts{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:.4rem .6rem}
  .sim{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:.3rem .8rem}
  .grid2 .pane:has(>.dl-f){display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:2rem}
  .grid2 .pane:has(>.dl-f)>*{grid-column:1}
  .grid2 .pane:has(>.dl-f)>.dl-f{grid-column:2;grid-row:1/4;margin:0;padding:0}
  .grid2 .pane>.dl-f .btn{flex:none;min-width:14rem;height:46px;border-radius:14px}
}

/* Phone company view, compact pass: two equal actions side by side, tags that fill their rows,
   tighter cards, and "Andmed" as one-line bands (label left, value right). */
@media (max-width:900px){
  .fh{gap:.75rem}
  .fh .acts{grid-template-columns:1fr 1fr;gap:.45rem}
  .fh .acts .btn{height:46px;padding:0 .6rem;font-size:.92rem}
  .meta{gap:.4rem;margin-top:.8rem}
  .meta .tag{flex:1 1 calc(50% - .2rem);justify-content:center;min-width:0;height:32px;padding:0 .35rem;font-size:.78rem;letter-spacing:-.01em}
  .meta .tag.ok{order:9;flex-basis:100%}
  .grid2{gap:.6rem;margin-top:.9rem}
  .pane{padding:1.1rem}
  .pane+.pane,#xfin:not(:empty),#xfin+.pane{margin-top:.6rem}
  .ch-h{margin-top:1rem}
  .lockbox .over{min-height:0;padding:1.1rem .9rem;gap:.4rem}
  .lockbox .over p{font-size:.88rem}
  .grid2>div:last-child .facts{gap:.3rem}
  .grid2>div:last-child .facts div{display:flex;align-items:baseline;justify-content:space-between;gap:.8rem;padding:.5rem .8rem;font-size:.9rem;font-weight:400;letter-spacing:0;line-height:1.35;text-transform:none;color:var(--muted)}
  .grid2>div:last-child .facts span{display:block;flex:0 1 auto;max-width:56%}
  .grid2>div:last-child .facts b{flex:1 1 0;min-width:0;font-size:.92rem;text-align:right;text-wrap:balance}
  .srcline{font-size:.8rem}
}
@media (max-width:900px){
  .meta{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .meta .tag{width:auto}
  .meta .tag.ok{grid-column:1/-1}
}

/* "Ei otsi kapitali" card: the same look as the empty card - soft blue gradient, icon tile, dark action with the plus tile. */
.pane.own{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.2rem 1.2rem;background:linear-gradient(100deg,#fff 45%,#e4ecfe)}
.pane.own .em-i{grid-column:1;grid-row:1/3;display:grid;place-items:center;width:52px;height:52px;border-radius:16px;background:rgba(63,111,245,.12);color:#3f6ff5}
.pane.own h2{grid-column:2;grid-row:1;align-self:end}
.pane.own p{grid-column:2;grid-row:2;align-self:start;margin:0}
.pane.own .dl-f,.grid2 .pane.own>.dl-f{grid-column:3;grid-row:1/3;margin:0;padding:0}
.pane.own .dl-f .btn{flex:none;min-width:13rem}
/* Fact lists: one row per fact, every band the same size. */
@media (min-width:901px){.grid2 .facts{grid-template-columns:minmax(0,1fr)}}
/* Similar companies: each is its own soft band. */
.sim button{padding:.6rem .8rem;background:var(--tint);transition:background .15s}
.sim button:hover{background:rgba(63,111,245,.12)}
.sim .logo{background:#fff}
@media (max-width:900px){
  .pane.own{grid-template-columns:auto minmax(0,1fr);gap:.55rem .8rem}
  .pane.own .em-i{grid-row:1;width:40px;height:40px;border-radius:12px}
  .pane.own .em-i svg{width:18px;height:18px}
  .pane.own h2{align-self:center}
  .pane.own p{grid-column:1/-1;grid-row:2}
  .pane.own .dl-f,.grid2 .pane.own>.dl-f{grid-column:1/-1;grid-row:3;margin-top:.35rem}
  .pane.own .dl-f .btn{flex:1;min-width:0}
}
@media (min-width:901px){
  .grid2 .pane.own{grid-template-columns:auto minmax(0,1fr) auto;column-gap:1.2rem;padding:1.4rem 1.6rem}
  .grid2 .pane.own>.em-i{grid-column:1;grid-row:1/3}
  .grid2 .pane.own>h2,.grid2 .pane.own>p{grid-column:2}
  .grid2 .pane.own>.dl-f{grid-column:3;grid-row:1/3}
}

/* Phone: company tags are one per row, all the same size and as wide as the screen. */
@media (max-width:900px){
  .meta{grid-template-columns:minmax(0,1fr);gap:.35rem}
  .meta>*{grid-column:1}
  .meta>:empty{display:none}
  .meta .tag{height:34px;font-size:.84rem}
  .meta .tag.ok{order:0}
}

/* Locked "Jooksev kvartal" box: on wide screens a row like the owner card - lock tile, text, then a button
   of the same size as the two actions at the top of the page. On the phone the button is full width. */
.lockbox .over .btn{height:46px;padding:0 1.2rem;border-radius:14px;font-size:.95rem}
@media (min-width:901px){
  .lockbox .over{display:grid;grid-template-columns:auto minmax(0,1fr) auto;place-content:normal;align-items:center;justify-items:start;gap:.2rem 1.2rem;min-height:0;padding:1.3rem 1.5rem;text-align:left}
  .lockbox .over>svg{grid-column:1;grid-row:1/3;box-sizing:content-box;width:22px;height:22px;padding:15px;border-radius:16px;background:#fff}
  .lockbox .over b{grid-column:2;grid-row:1;align-self:end}
  .lockbox .over p{grid-column:2;grid-row:2;align-self:start;max-width:none;margin:0}
  .lockbox .over .btns{grid-column:3;grid-row:1/3;margin:0}
  .lockbox .over .btn,.pane.own .dl-f .btn{width:12.75rem;min-width:0}
}
@media (max-width:900px){
  .lockbox .over .btns{width:100%}
  .lockbox .over .btn{flex:1}
}

/* Wide screens: company tags share the left column with the search and the two actions -
   two equal pills per row at the same halves as the buttons, the long source tag across both. */
@media (min-width:901px){
  .meta{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:.5rem;width:26rem}
  .meta>:empty{display:none}
  .meta .tag{justify-content:center;height:38px;padding:0 .5rem;font-size:.88rem}
  .meta .tag.ok{order:9;grid-column:1/-1}
}

/* Phone "Andmed": every band is the same height, sized for two lines; a one-line fact sits in its middle. */
@media (max-width:900px){
  .grid2>div:last-child .facts{gap:.3rem}
  .grid2>div:last-child .facts div{align-items:center;min-height:54px;padding:.3rem .85rem;border-radius:14px;line-height:1.25}
  .grid2>div:last-child .facts span{max-width:50%}
  .grid2>div:last-child .facts b{font-size:.9rem;line-height:1.25}
}

/* Annual report: the balance sheet is one bar - equity in blue, liabilities in grey, total assets above it -
   and the two ratio rows fill up to their percentage. */
.bal{margin-top:.6rem;padding:.9rem 1rem 1rem;border-radius:14px;background:var(--tint)}
.bal-h{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;font-size:.93rem;color:var(--muted)}
.bal-h b{font-size:1.1rem;font-weight:500;letter-spacing:-.02em;color:var(--ink)}
.bal-bar{height:12px;margin-top:.7rem;border-radius:999px;background:#c5cbd6;overflow:hidden}
.bal-bar i{display:block;height:100%;border-radius:999px;background:#3f6ff5}
.bal-l{display:flex;justify-content:space-between;gap:1rem;margin-top:.65rem;font-size:.84rem;color:var(--muted)}
.bal-l span{display:inline-flex;align-items:baseline;gap:.4rem;white-space:nowrap}
.bal-l span::before{content:"";align-self:center;flex:none;width:9px;height:9px;border-radius:999px;background:#3f6ff5}
.bal-l .l::before{background:#c5cbd6}
.bal-l b{font-weight:500;color:var(--ink)}
.grid2 .facts div.meter{background:linear-gradient(90deg,rgba(63,111,245,.18) var(--p,0%),var(--tint) var(--p,0%))}
.grid2 .facts div.meter:has(b.down){background:rgba(190,18,60,.07)}

/* Locked box: the same soft blue as the owner card; on the phone a lock tile beside the title,
   two rows of text, then the button. */
.lockbox{background:linear-gradient(100deg,#f1f3f7 40%,#e1eafd)}
.lockbox .over{background:none}
@media (max-width:900px){
  .lockbox .over{display:grid;grid-template-columns:auto minmax(0,1fr);place-content:normal;align-items:center;justify-items:start;gap:.55rem .8rem;padding:1rem;text-align:left}
  .lockbox .over>svg{grid-column:1;grid-row:1;box-sizing:content-box;width:20px;height:20px;padding:10px;border-radius:12px;background:#fff}
  .lockbox .over b{grid-column:2;grid-row:1;font-size:1rem;line-height:1.25}
  .lockbox .over p{grid-column:1/-1;grid-row:2;max-width:none;margin:0;font-size:.9rem;text-wrap:balance}
  .lockbox .over .btns{grid-column:1/-1;grid-row:3;margin-top:.3rem}
}
/* With no debt tag beside it, the "Jooksev käive" tag takes the whole row like the source tag. */
@media (min-width:901px){.meta:has(.tag.ok):has(#xst:empty):not(:has(.tag.debt)) .tag.lock:has(+#xst){grid-column:1/-1}}

/* Revenue chart: the line is the default view and is drawn in the accent blue; on the phone it is the only view. */
.chart .ln{stroke:#3f6ff5}
.chart .dot{stroke:#3f6ff5}
@media (max-width:900px){.ch-h #mode{display:none}}

/* Phone locked box: tile at the left, title and text in one column beside it, button across. */
@media (max-width:900px){
  .lockbox .over{gap:.15rem .8rem}
  .lockbox .over>svg{grid-row:1/3;align-self:center}
  .lockbox .over b{align-self:end;min-width:0;white-space:normal}
  .lockbox .over p{grid-column:2;grid-row:2;align-self:start;font-size:.86rem;text-wrap:pretty}
  .lockbox .over .btns{margin-top:.7rem}
}

/* Similar companies: the revenue sits on the same line as the company name. */
.sim .r{align-self:flex-start;font-size:.95rem}

/* The registry status tag (for example "Pankrotis") is wrapped in its own holder; the holder steps aside
   so the tag itself is laid out, and sized, like every other tag in the row. */
#xst{display:contents}

/* Phone: nothing on the company page may be wider than the screen. The one-column grid no longer grows
   to fit unbreakable content; long figures get a smaller size and the balance legend may wrap. */
@media (max-width:900px){
  .grid2{grid-template-columns:minmax(0,1fr)}
  .grid2>div,.grid2 .pane,#xfin{min-width:0;max-width:100%}
  .kpis{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .kpi{min-width:0}
  .kpi b{font-size:1.05rem;letter-spacing:-.03em}
  .bal-l{flex-wrap:wrap;gap:.3rem 1rem}
  .bal-h{flex-wrap:wrap}
  .fh h1{overflow-wrap:anywhere}
  .fh>div{min-width:0}
  .chart,.chart svg{max-width:100%}
}

/* Similar companies: a long name is cut inside its row instead of pushing the page wider than the screen. */
.sim{grid-template-columns:minmax(0,1fr)}
.sim button{min-width:0;max-width:100%}
.sim button>span:nth-child(2){flex:1 1 0;min-width:0}
.sim b,.sim small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sim .r{flex:none;white-space:nowrap}
@media (min-width:901px){.sim{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}

/* Owner dialog: three numbered step bands, a soft blue note, and the two buttons stacked at the card's width, main one first. */
.dl{padding:1.4rem}
.dl-h h2{font-size:1.35rem;overflow-wrap:anywhere}
.x{background:var(--tint)}
.x:focus{outline:0}
.x:focus-visible{box-shadow:0 0 0 2px rgba(63,111,245,.35)}
.dl p.lead{margin-top:.7rem;text-wrap:balance}
.dl .facts{gap:.4rem;margin-top:1rem}
.dl .facts div{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:.15rem .8rem;padding:.65rem .8rem;border:0;border-radius:14px;background:var(--tint);font-size:.68rem;font-weight:500;letter-spacing:.1em;line-height:1.3;text-transform:uppercase;color:var(--faint)}
.dl .facts span{display:contents}
.dl .facts b{grid-column:2;max-width:none;font-size:1rem;font-weight:500;letter-spacing:-.01em;line-height:1.3;text-align:left;text-transform:none;color:var(--ink)}
.dl .sn{grid-column:1;grid-row:1/3;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:rgba(63,111,245,.12);color:#3f6ff5;font-size:.98rem;font-weight:600;letter-spacing:0}
.dl .sn::after{content:none}
.dl .note{margin-top:.8rem;padding:.85rem 1rem;border-radius:14px;background:rgba(63,111,245,.08);font-size:.9rem;line-height:1.45;color:var(--ink-2);text-wrap:pretty}
.dl .dl-f{flex-direction:column-reverse;gap:.5rem;margin-top:1rem}
.dl .dl-f .btn{flex:none;width:100%;height:50px;border-radius:16px;font-size:1rem}

/* The top bar no longer carries the add-company button on any screen; it lives in the hero, the cards and the phone menu. */
header.bar #add{display:none}

/* Wide screens: only the first two tags (sector and county) share a row; every other tag is a full row. */
@media (min-width:901px){.meta>.tag:nth-child(n+3),.meta #xst>.tag{grid-column:1/-1}}

/* Company page top on wide screens: two columns that fill the width. Left: back link, search, name and the two actions.
   Right: the tags as a column of the same width, ending on the same line as the actions. */
@media (min-width:901px){
  .page:has(>.fh){display:grid;grid-template-columns:minmax(0,1fr) 26rem;column-gap:2rem}
  .page:has(>.fh)>*{grid-column:1/-1}
  .page:has(>.fh)>.subtop{grid-column:1;grid-row:1}
  .page:has(>.fh)>.fh{grid-column:1;grid-row:2}
  .page:has(>.fh)>.meta{grid-column:2;grid-row:1/3;align-self:end;margin-top:0}
}

/* Wide screens: a little more air between the company header and the first card. */
@media (min-width:901px){.page:has(>.fh)>.grid2{margin-top:1.9rem}}

/* Wide screens: the company header sits on one row grid of 46px rows with 8px gaps on both sides.
   Left: search (1 row), name (2 rows), actions (1 row). Right: each tag row is one row, counted from the bottom,
   so every tag row lines up with a row on the left whatever their number. */
@media (min-width:901px){
  .page:has(>.fh)>.fh{margin-top:8px;row-gap:8px;align-items:center}
  .page:has(>.fh)>.fh>div:not(.acts){display:flex;flex-direction:column;justify-content:center;min-height:100px}
  .page:has(>.fh)>.meta{gap:8px}
  .page:has(>.fh)>.meta .tag{height:46px;border-radius:14px}
}
.dl p.lead{text-wrap:wrap}

/* Wide screens: the first tag row always stands on the company name's line. The tags start at the top
   of the name row and run down from there; the name itself is one 46px line like a tag row. */
@media (min-width:901px){
  .page:has(>.fh)>.meta{grid-row:2;align-self:start;margin-top:8px}
  .page:has(>.fh)>.fh{align-items:flex-start;align-content:flex-start}
  .page:has(>.fh)>.fh>div:not(.acts){justify-content:flex-start;min-height:100px}
  .page:has(>.fh)>.fh h1{line-height:46px}
  .page:has(>.fh)>.fh .logo{margin-top:0}
}

/* Wide screens: more air between the search and the name row; the tags move down with the name. */
@media (min-width:901px){
  .page:has(>.fh)>.fh,.page:has(>.fh)>.meta{margin-top:22px}
}

/* The gap above the step cards equals the gap between them. */
.steps3{margin-top:1rem}
@media (max-width:900px){.steps3{margin-top:.6rem}}

/* Company header: both actions are the same soft blue button. */
.fh .acts .btn:not(.soft){background:rgba(63,111,245,.12);color:var(--ink);box-shadow:none}
.fh .acts .btn:not(.soft):hover{background:rgba(63,111,245,.2);box-shadow:none}

/* Figure tiles: the first tile is the same soft tile as the others. */
.kpi:first-child,.kpi:first-child:has(b.down){background:var(--tint)}
.kpi:first-child span{color:var(--faint)}
.kpi:first-child b{color:var(--ink)}
.kpi:first-child:has(b.up){background:rgba(4,138,1,.09)}
.kpi:first-child:has(b.down){background:rgba(190,18,60,.08)}
.kpi:first-child b.down{color:var(--red)}

/* Wide screens, leaderboard header: one toolbar - title, count and the "Filtrid" button at the left,
   the sort tabs at the right. The four filters open as one row under it, like on the phone. */
@media (min-width:901px){
  .board{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));column-gap:.7rem;align-items:end}
  .board-h,.fbar{display:contents}
  .board>.cols,.board>.rows,.board>.board-f,.board>.none{grid-column:1/-1}
  .board-h .bt{grid-column:1/3;grid-row:1;align-self:center;display:flex;align-items:center;gap:.7rem;margin:1.3rem 0 1.2rem 1.3rem}
  .filt-btn{display:inline-flex;align-items:center;gap:.5rem;height:42px;margin-left:.3rem;padding:0 .9rem;border:0;border-radius:12px;background:var(--tint);font-size:.93rem;font-weight:500;color:var(--ink);cursor:pointer;transition:background .15s,color .15s}
  .filt-btn:hover{background:rgba(63,111,245,.12)}
  .filt-btn b{display:grid;place-items:center;min-width:22px;height:22px;padding:0 .3rem;border-radius:999px;background:#3f6ff5;color:#fff;font-size:.74rem;font-weight:600}
  .filt-btn[aria-expanded="true"],.filt-btn[aria-expanded="true"]:hover{background:var(--ink);color:#fff}
  .fbar .fld:first-child{grid-column:3/6;grid-row:1;align-self:center;flex-direction:row;align-items:center;gap:.8rem;margin:1.3rem 1.3rem 1.2rem 0}
  .fbar .fld:first-child .seg{flex:1}
  .fbar .fld:nth-child(n+2),.board-h .chip#fdebt{grid-row:2;margin-bottom:1.2rem}
  .fbar .fld:nth-child(2){grid-column:1;margin-left:1.3rem}
  .fbar .fld:nth-child(3){grid-column:2}
  .fbar .fld:nth-child(4){grid-column:3/5}
  .board-h .chip#fdebt{grid-column:5;flex-direction:row-reverse;justify-content:space-between;width:auto;height:46px;margin-right:1.3rem;margin-left:0;padding:0 .6rem 0 1rem;border-radius:14px}
  .board:not(.fopen) .fbar .fld:nth-child(n+2),.board:not(.fopen) .chip#fdebt{display:none}
}

/* Wide screens: the toolbar's two sides size themselves, so a long count line can never run under the tabs.
   Left: title with the count as a plain line under it, then the Filtrid button. Right: the sort tabs at their own width.
   On narrower desktops the tabs use their short labels. */
@media (min-width:901px){
  .board-h .bt{grid-column:1/-1;justify-self:start;display:grid;grid-template-columns:auto auto;align-items:center;gap:.05rem 1.1rem;margin:1.1rem 0 1.1rem 1.3rem}
  .board-h .bt h2{grid-column:1;grid-row:1}
  .board-h .bt .cnt{grid-column:1;grid-row:2;padding:0;border-radius:0;background:none;font-size:.84rem;white-space:nowrap}
  .board-h .bt .filt-btn{grid-column:2;grid-row:1/3;margin-left:0}
  .fbar .fld:first-child{grid-column:1/-1;justify-self:end;margin:1.1rem 1.3rem 1.1rem 0}
  .fbar .fld:first-child .seg{flex:none;display:inline-grid;width:auto;grid-auto-columns:1fr}
  #metric button{padding:0 .6rem;font-size:.92rem}
  .fbar .fld:first-child{gap:.6rem}
}
@media (min-width:901px) and (max-width:1199px){
  #metric .dsk{display:none!important}
  #metric .mob{display:inline}
  .fbar .fld:first-child .fl-l{display:none}
}

/* Wide screens: the Filtrid button stays right beside the title; the count line runs under both. */
@media (min-width:901px){
  .board-h .bt{justify-content:start;gap:.35rem .9rem;margin:1rem 0 1rem 1.3rem}
  .board-h .bt .filt-btn{grid-column:2;grid-row:1}
  /* The line takes no width of its own, so its length never moves or stretches the button above it. */
  .board-h .bt .cnt{grid-column:1/-1;grid-row:2;width:0;overflow:visible}
  .board-h .bt .filt-btn{justify-self:start}
}

/* Wide screens: title, Filtrid button and the sort tabs share one centre line; the count line hangs below it. */
@media (min-width:901px){
  .board-h .bt{align-self:start;margin-top:1.1rem}
  .fbar .fld:first-child{align-self:start;margin-top:calc(1.1rem - 4px);margin-bottom:0}
  .board-h .bt h2{line-height:42px}
}

/* Phone: a field with text under 16px makes iOS zoom the page in when it gets focus.
   Every field is 16px on the phone, so typing never zooms. */
@media (max-width:900px){
  .q input,.find.sm .q input,.hero .q input,.sel,input[type=email],input[type=text],input[type=search],textarea,select{font-size:16px}
  .hero .q input{padding-right:44px}
}
@media (max-width:380px){.hero .q input{font-size:16px;padding-right:36px}}

/* Phone menu actions: two full-width buttons, the main one first, each with its icon tile at the left edge and the label centred. */
@media (max-width:900px){
  .nav-acts{grid-template-columns:minmax(0,1fr);gap:.45rem;margin-top:.5rem}
  .nav .nav-acts .nav-login,.nav .nav-acts .btn{position:relative;height:54px;padding:0 3.4rem;border-radius:18px;font-size:1rem}
  header.bar .nav .nav-acts .pl{position:absolute;left:7px;top:50%;display:grid;place-items:center;width:40px;height:40px;border-radius:13px;background:#fff;color:var(--ink);transform:translateY(-50%)}
  .nav .nav-acts .nav-login{color:var(--ink)}
  .nav .nav-acts .nav-login::before,.nav .nav-acts .nav-login::after{content:none}
}

/* Phone: the menu panel is a soft blue sheet; the pieces on it are white so they stand out.
   A little more air between the header and the top of every page. */
@media (max-width:900px){
  header.bar .nav{background:linear-gradient(180deg,#f3f6ff 0%,#e6edfe 100%)}
  header.bar .nav>a.on,header.bar .nav>a[aria-current]{background:#fff}
  header.bar .nav>a::after{background-color:#fff}
  header.bar .nav .nav-acts .nav-login{background:#fff}
  header.bar .nav .nav-acts .nav-login .pl{background:rgba(63,111,245,.12);color:#3f6ff5}
  .hero{padding-top:48px}
  .page:not(:has(>.fh)){padding-top:44px}
}

/* Phone menu, clearer: a stronger blue sheet with a real shadow; every link is its own white tile with a
   numbered blue chip; the current page is the dark tile. */
@media (max-width:900px){
  header.bar .nav{gap:.4rem;background:linear-gradient(180deg,#e9effe 0%,#d9e4fd 100%);box-shadow:0 0 0 1px rgba(63,111,245,.14),0 24px 48px -18px rgba(17,24,39,.38)}
  header.bar .nav>a{height:56px;padding:0 .7rem 0 .55rem;border-radius:16px;background:#fff;font-weight:500;color:var(--ink)}
  header.bar .nav>a::before{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:11px;background:rgba(63,111,245,.12);font-size:.72rem;font-weight:600;color:#3f6ff5}
  header.bar .nav>a::after{background-color:var(--tint)}
  header.bar .nav>a[aria-current="page"]{background:var(--ink);color:#fff}
  header.bar .nav>a[aria-current="page"]::before{background:#3f6ff5;color:#fff}
  header.bar .nav>a[aria-current="page"]::after{background-color:#fff}
  header.bar .nav .nav-acts{margin-top:.35rem;padding-top:.75rem;border-top:1px solid rgba(63,111,245,.2)}
  header.bar .nav .nav-acts .btn{background:#3f6ff5;color:#fff}
  header.bar .nav .nav-acts .btn .pl{color:#3f6ff5}
}
/* Phone, capital page: the menu already carries "Lisa firma", so the empty card has no second button. */
@media (max-width:900px){#mlist .empty .btn.add{display:none}}

/* Wide screens: the product menu hangs from the bar itself, so its left edge is the pill's left edge. */
@media (min-width:901px){
  .brand{position:static}
  .prod{left:0;top:calc(100% + 8px)}
}

/* Product menu: no outline, only the soft shadow (same as the main site). */
.prod{box-shadow:var(--sh-pop)}

/* Phone menu, calmer: a white sheet with a clear shadow, plain rows with a small number and a quiet chevron,
   the current page as one soft blue row, one dark main button and one light one. */
@media (max-width:900px){
  header.bar .nav{gap:.15rem;background:#fff;box-shadow:0 0 0 1px rgba(17,24,39,.06),0 24px 48px -20px rgba(17,24,39,.34)}
  header.bar .nav>a{height:52px;padding:0 .9rem;border-radius:14px;background:none;color:var(--ink)}
  header.bar .nav>a::before{display:block;width:auto;height:auto;border-radius:0;background:none;font-size:.7rem;font-weight:500;color:var(--faint)}
  header.bar .nav>a::after{width:18px;height:18px;border-radius:0;background-color:transparent;opacity:.45}
  header.bar .nav>a[aria-current="page"]{background:rgba(63,111,245,.1);color:var(--ink)}
  header.bar .nav>a[aria-current="page"]::before{background:none;color:#3f6ff5}
  header.bar .nav>a[aria-current="page"]::after{background-color:transparent;opacity:1}
  header.bar .nav .nav-acts{margin-top:.45rem;padding-top:.7rem;border-top:1px solid rgba(17,24,39,.07)}
  header.bar .nav .nav-acts .btn{background:var(--ink);color:#fff}
  header.bar .nav .nav-acts .btn .pl{color:var(--ink)}
  header.bar .nav .nav-acts .nav-login{background:var(--tint)}
  header.bar .nav .nav-acts .nav-login .pl{background:#fff;color:var(--ink)}
}

/* Phone: the product menu and the page menu sit 8px under the pill, the same gap as on the main site. */
@media (max-width:900px){.prod,header.bar .nav{top:calc(100% + 8px)}}

/* Wide screens: a little more air between the header and the hero title. */
@media (min-width:901px){.hero{padding-top:78px}}

/* Wide screens, fresh-figures card: the two actions stack as one column of equal buttons,
   centred on the same line as the icon and the text block. */
@media (min-width:901px){
  .lockbox .over{align-items:center;padding:1.2rem 1.5rem}
  .lockbox .over .btns{display:grid;grid-template-columns:15rem;gap:.5rem;align-self:center}
  .lockbox .over .btn{width:100%;justify-content:center}
  .lockbox .over>svg{align-self:center}
}

/* Fresh-figures card: one short sentence, the two ways to view it as price chips. */
.lockbox .over .lb-ch{display:flex;flex-wrap:wrap;gap:.4rem;justify-self:start}
.lockbox .over .lb-ch i{display:inline-flex;align-items:center;gap:.5rem;height:30px;padding:0 .35rem 0 .75rem;border-radius:999px;background:#fff;font-style:normal;font-size:.84rem;color:var(--ink-2);white-space:nowrap}
.lockbox .over .lb-ch em{display:inline-grid;place-items:center;height:22px;padding:0 .55rem;border-radius:999px;background:rgba(63,111,245,.12);font-style:normal;font-weight:600;font-size:.78rem;color:#3f6ff5}
@media (min-width:901px){
  .lockbox .over{gap:.15rem 1.2rem;padding:1.3rem 1.5rem}
  .lockbox .over>svg{grid-row:1/4}
  .lockbox .over b{font-size:1.05rem}
  .lockbox .over .lb-ch{grid-column:2;grid-row:3;margin-top:.55rem}
  .lockbox .over .btns{grid-row:1/4}
}
@media (max-width:900px){
  .lockbox .over .lb-ch{grid-column:1/-1;grid-row:3;display:grid;grid-template-columns:minmax(0,1fr);justify-self:stretch;gap:.3rem;margin-top:.55rem}
  .lockbox .over .lb-ch i{justify-content:space-between;height:38px;padding:0 .45rem 0 .9rem;border-radius:12px;font-size:.9rem}
  .lockbox .over .lb-ch em{height:26px;font-size:.82rem}
  .lockbox .over .btns{grid-row:4}
}

/* Trusti märk (omaniku otsus 19.11.2026): sõnamärk ja selle kõrval üles tõstetud väike sinine TRUST, ilma taustapillita,
   sõnamärgile lähedal. Sama kuju päises, jaluses ja toodete menüüs. Need read on meelega faili lõpus: varasemad katsed
   (pill, kahel real) jäävad nende alla. */
.wm{display:inline-flex;flex-direction:row;align-items:flex-start;gap:0}
.wm .wmw{display:block;line-height:1}
.wm b{margin:.5em 0 0 .3em;padding:0;background:none;font-family:var(--sans);font-size:.56rem;font-weight:700;letter-spacing:.1em;line-height:1;text-transform:uppercase;color:#3f6ff5}
.prod .lg{align-items:flex-start}
.prod .lg i,.prod>a[aria-current="true"] .lg i{margin:.5em 0 0 .3em;padding:0;border-radius:0;background:none;font-family:var(--sans);font-size:.56rem;font-weight:700;letter-spacing:.1em;line-height:1;text-transform:uppercase;color:#3f6ff5}

/* ===== Uus kujundus (19.11.2026, Priidiku kavand): avaleht ja firma leht =====
   Kõik klassid algavad n-tähega ja elavad konteineris .n2, et need ei põrkaks selle faili varasemate reeglitega.
   Emojisid ei kasutata: märgid on joonistatud SVG-na või on tavaline tekst. */
.n2{--nblue:#3f6ff5;--nsoft:rgba(63,111,245,.12);--ngreen:#0a7a2f;--ngsoft:rgba(4,138,1,.1);--nred:#be123c;--ntint:#f1f3f7;--nsun:#ffd95a;--nfaint:#8b919b;--nsh:0 1px 2px rgba(24,20,12,.05),0 14px 34px -18px rgba(24,20,12,.22);--nease:cubic-bezier(.2,.8,.2,1);animation:in .35s var(--ease)}
.n2 a{color:inherit;text-decoration:none}
.n2 .ncard{border-radius:28px;background:#fff;box-shadow:var(--nsh)}
.n2 .nlab{font-size:.74rem;font-weight:500;letter-spacing:.1em;text-transform:uppercase;color:var(--nfaint)}
.n2 .down{color:var(--nred)}
/* pealkiri */
.nhero{padding:64px 0 0;text-align:center}
.nhero h1{margin:0;font-size:clamp(2.4rem,7vw,4.6rem);font-weight:500;letter-spacing:-.06em;line-height:1}
.nswap{display:inline-grid;height:1.2em;margin-bottom:-.2em;overflow:hidden;vertical-align:bottom;text-align:left;transition:width .6s var(--nease)}
.nswap span{grid-area:1/1;justify-self:start;width:max-content;height:1.2em;line-height:1;color:var(--nblue);transform:translateY(140%);transition:transform .6s var(--nease)}
.nswap span.on{transform:none}
.nswap span.out{transform:translateY(-140%)}
.nhero p{max-width:40rem;margin:1.1rem auto 0;font-size:1.08rem;color:var(--muted)}
.nfind{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;max-width:640px;margin:1.8rem auto 0}
.nq{display:flex;align-items:center;gap:12px;height:60px;padding:0 10px;border-radius:20px;background:#fff;box-shadow:var(--nsh);transition:box-shadow .2s}
.nq:focus-within{box-shadow:0 0 0 3px rgba(63,111,245,.3),var(--nsh)}
.nq i{flex:none;display:grid;place-items:center;width:40px;height:40px;border-radius:14px;background:var(--nsoft);color:var(--nblue)}
.nq i svg{width:18px;height:18px}
.nq input{flex:1;min-width:0;height:100%;border:0;outline:0;background:none;font:inherit;font-size:1rem;color:inherit}
.nq input::placeholder{color:var(--nfaint)}
.nbtn{display:inline-flex;align-items:center;justify-content:center;gap:.6rem;height:60px;padding:0 1.3rem 0 .6rem;border:0;border-radius:20px;background:var(--ink);font:inherit;font-weight:500;color:#fff;white-space:nowrap;cursor:pointer;transition:transform .2s var(--nease)}
.n2 a.nbtn{color:#fff}
.nbtn:hover{transform:translateY(-2px)}
.nbtn i{display:grid;place-items:center;width:40px;height:40px;border-radius:14px;background:#fff;font-style:normal;color:var(--ink)}
.nbtn.soft{padding:0 1.3rem;background:#fff;color:var(--ink);box-shadow:var(--nsh)}
.nbtn svg{width:17px;height:17px}
.nbtn i svg{width:18px;height:18px}
.nsrc{display:flex;align-items:center;max-width:640px;height:44px;margin:8px auto 0;padding:0 6px;border-radius:16px;background:rgba(255,255,255,.6);box-shadow:0 0 0 1px rgba(17,24,39,.05);font-size:.86rem;color:var(--ink-2)}
.nsrc span{flex:1 1 auto;display:inline-flex;align-items:center;justify-content:center;gap:.4rem;height:26px;padding:0 .7rem;white-space:nowrap}
.nsrc span+span{border-left:1px solid rgba(17,24,39,.1)}
.nsrc .lv{font-weight:500;color:var(--ngreen)}
.nsrc .lv::before{content:"";width:8px;height:8px;border-radius:999px;background:#12b347}
.nsrc svg{box-sizing:content-box;width:9px;height:9px;padding:3px;border-radius:999px;background:var(--ngreen);color:#fff}
.nsrc .bad{font-weight:500;color:var(--nred)}
.nsrc .dt{font-family:var(--mono,ui-monospace,Menlo,monospace);font-size:.76rem;color:var(--muted)}
/* neli arvu */
.nkp{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:44px}
.nkp.tight{margin-top:12px}
.nk{position:relative;display:flex;flex-direction:column;justify-content:space-between;gap:1.6rem;min-height:128px;padding:20px;border-radius:24px;background:#fff;box-shadow:var(--nsh);overflow:hidden;transition:transform .25s var(--nease)}
a.nk:hover{transform:translateY(-4px)}
.nk b{font-size:1.9rem;font-weight:500;letter-spacing:-.05em;line-height:1}
.nk.dark{background:var(--ink);color:#fff}
.n2 a.nk.dark{color:#fff}
.nk.dark .nlab{color:#aab1bd}
.nk.dark::after{content:"";position:absolute;right:-50px;top:-50px;width:150px;height:150px;border-radius:999px;background:radial-gradient(circle,rgba(63,111,245,.8),transparent 68%)}
.nk.dark>*:not(.nstick){position:relative;z-index:1}
.nk.red b{color:var(--nred)}
.nstick{position:absolute;right:14px;top:14px;z-index:2;padding:.25rem .65rem;border-radius:999px;background:var(--nsun);font-size:.7rem;font-weight:600;color:var(--ink);transform:rotate(6deg)}
/* jaotise pealkiri */
.nsh{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 20px;margin:52px 4px 16px}
.nsh h2{margin:0;font-size:clamp(1.5rem,3.2vw,2rem);font-weight:500;letter-spacing:-.045em;line-height:1.1}
.nsh .cnt{font-size:.9rem;color:var(--muted)}
/* edetabel */
.nboard{display:grid;gap:6px;padding:20px}
.nrows{display:grid;gap:6px}
.nrow{display:grid;grid-template-columns:var(--rw,2.6rem) 44px minmax(0,1fr) 110px 9.5rem 5.8rem;align-items:center;gap:12px;height:64px;padding:0 16px 0 12px;border-radius:18px;background:var(--ntint);transition:background .15s,transform .2s var(--nease)}
.nrow:hover{background:var(--nsoft);transform:translateX(4px)}
.nrow .r{justify-self:start;display:grid;place-items:center;min-width:30px;height:30px;padding:0 .55rem;white-space:nowrap;font-variant-numeric:tabular-nums;border-radius:999px;background:#fff;font-size:.8rem;font-weight:600}
.nrows .nrow:nth-child(-n+3) .r{background:var(--ink);color:#fff}
.nrows .nrow:first-child .r{background:var(--nsun);color:var(--ink)}
.nboard .nrow.me~.nrow .r,.nboard .nrow.me .r,.nboard:not(#board) .nrow .r{background:#fff;color:var(--ink)}
.nrow .logo{width:44px;height:44px;border-radius:14px;background:#fff;box-shadow:none;font-size:.82rem;font-weight:600}
.nrow .n{min-width:0}
.nrow .n b{display:block;font-weight:500;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nrow .n b u{text-decoration:none}
.nrow .n b .tag{margin-left:.4rem;vertical-align:middle}
.nrow .n small{display:block;font-size:.8rem;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nmb{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;align-items:end;height:30px}
.nmb span{border-radius:5px 5px 2px 2px;background:rgba(63,111,245,.22)}
.nmb span:last-child{background:var(--nblue)}
.nrow .v{font-weight:500;text-align:right;white-space:nowrap}
.ng{justify-self:end;display:inline-flex;align-items:center;gap:.2rem;height:28px;padding:0 .6rem;border-radius:999px;background:var(--ngsoft);font-size:.82rem;font-weight:600;color:var(--ngreen);white-space:nowrap}
.ng.dn{background:rgba(190,18,60,.09);color:var(--nred)}
.ng.flat{background:none;color:var(--nfaint)}
.nrow.me{background:var(--ink);color:#fff}
.n2 a.nrow.me{color:#fff}
.nrow.me:hover{background:var(--ink)}
.nrow.me .n small{color:#aab1bd}
.nrow.me .ng{background:rgba(255,255,255,.14);color:#fff}
.nrow.me .nmb span{background:rgba(255,255,255,.25)}
.nrow.me .nmb span:last-child{background:#fff}
.nmore{display:flex;align-items:center;justify-content:center;width:100%;height:52px;margin-top:6px;border:0;border-radius:18px;background:var(--nsoft);font:inherit;font-weight:500;color:var(--nblue);cursor:pointer;transition:background .15s,transform .2s var(--nease)}
.nmore:hover{background:rgba(63,111,245,.2);transform:translateY(-2px)}
.nmore[hidden],.n2 [hidden]{display:none}
/* filtrid: peidus, kuni vaadatakse tervet tabelit */
.nboard .nfilt{display:none;margin-bottom:8px}
.nboard.full .nfilt{display:block}
.nboard .board-h{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem;margin:0 0 10px;padding:0}
.nboard .fbar{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) minmax(0,1fr) minmax(0,1.5fr);align-items:end;gap:.7rem;padding:0 0 6px}
.nboard .seg,.nboard .sel,.nboard .chip#fdebt{background-color:#f1f3f7}
.nboard .chip#fdebt[aria-pressed="true"]{background-color:var(--red)}
.nboard .filt-btn{display:none}
@media (max-width:900px){
  .nboard .filt-btn{display:inline-flex}
  .nboard .fbar{grid-template-columns:minmax(0,1fr)}
  .nboard:not(.fopen) .fbar .fld:nth-child(n+2),.nboard:not(.fopen) .chip#fdebt{display:none}
}
/* tume kutse */
.ncta{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:24px;margin:12px 0 56px;padding:32px;border-radius:28px;background:var(--ink);color:#fff;overflow:hidden}
.ncta::before{content:"";position:absolute;right:-90px;bottom:-140px;width:340px;height:340px;border-radius:999px;background:radial-gradient(circle,rgba(63,111,245,.85),transparent 66%)}
.ncta>*{position:relative}
.ncta h3{margin:0;font-size:clamp(1.4rem,3vw,1.9rem);font-weight:500;letter-spacing:-.04em;line-height:1.12}
.ncta p{margin:.4rem 0 0;color:#aab1bd}
.ncta .ntags{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.ncta .ntags a{display:flex;align-items:center;gap:.7rem;height:56px;padding:0 1rem 0 .5rem;border-radius:18px;background:rgba(255,255,255,.08);font-weight:500;color:#fff;transition:background .15s,transform .2s var(--nease)}
.ncta .ntags a:hover{background:rgba(255,255,255,.16);transform:translateY(-2px)}
.ncta .ntags i{flex:none;display:grid;place-items:center;width:40px;height:40px;border-radius:14px;background:rgba(255,255,255,.1);font-style:normal;font-family:var(--mono,ui-monospace,Menlo,monospace);font-size:.72rem;color:#9db4fb}
.ncta .ntags small{margin-left:auto;font-size:.82rem;font-weight:400;color:#aab1bd}
.ncta .nbtn{background:#fff;color:var(--ink)}
.ncta .nbtn i{background:var(--nblue);color:#fff}
/* firma leht */
.nsub{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:1.4rem}
.nfind.sm{grid-template-columns:minmax(0,1fr);width:min(320px,58vw);max-width:none;margin:0}
.nfind.sm .nq{height:46px;border-radius:16px}
.nfind.sm .nq i{width:30px;height:30px;border-radius:10px}
.nhead{display:flex;flex-direction:column;align-items:center;padding:36px 0 0;text-align:center}
.nlogo{display:grid;place-items:center;width:76px;height:76px;border-radius:24px;background:var(--ink);font-weight:600;font-size:1.5rem;letter-spacing:-.03em;color:#fff;transform:rotate(-4deg)}
.nhead h1{margin:1.3rem 0 0;font-size:clamp(2rem,6.4vw,4.2rem);font-weight:500;letter-spacing:-.06em;line-height:1;overflow-wrap:anywhere}
.nhead p{margin:1rem 0 0;font-size:1.02rem;color:var(--muted)}
.nacts{display:grid;grid-template-columns:1fr 1fr;gap:8px;width:100%;max-width:640px;margin-top:1.8rem}
.nacts .nbtn{padding:0 1rem}
.nhead .nsrc{width:100%}
.nmoney{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,420px);gap:36px;align-items:end;margin-top:44px;padding:32px}
.nrev strong{display:block;margin-top:.3rem;font-size:clamp(3rem,9vw,6.4rem);font-weight:500;letter-spacing:-.065em;line-height:.9}
.nrev strong small{font-size:.4em;font-weight:500;letter-spacing:-.04em;color:var(--nfaint)}
.nver{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;min-height:30px;margin-top:1.1rem;font-size:.9rem;color:var(--muted)}
.nbars{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;align-items:end;height:120px}
.nbars span{position:relative;border-radius:10px 10px 4px 4px;background:var(--nsoft);transition:background .15s}
.nbars span:last-child{background:var(--nblue)}
.nbars span:hover{background:var(--ink)}
.nbars span::after{content:attr(data-v);position:absolute;left:50%;bottom:calc(100% + 6px);padding:.2rem .5rem;border-radius:8px;background:var(--ink);font-size:.72rem;font-weight:500;white-space:nowrap;color:#fff;opacity:0;transform:translate(-50%,4px);transition:.15s;pointer-events:none}
.nbars span:hover::after{opacity:1;transform:translate(-50%,0)}
.nqs{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;margin-top:6px;font-family:var(--mono,ui-monospace,Menlo,monospace);font-size:.64rem;text-align:center;color:var(--nfaint)}
.nlock{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:18px;margin-top:44px;padding:28px}
.nlock>svg{width:40px;height:40px;padding:9px;border-radius:14px;background:var(--ntint);color:var(--ink-2)}
.nlock b{display:block;font-size:1.15rem;font-weight:500;letter-spacing:-.02em}
.nlock p{margin:.3rem 0 0;font-size:.95rem;color:var(--muted)}
.nlock .nbtn{padding:0 1.2rem;height:52px;border-radius:16px}
.nnote{margin:12px 6px 0;font-size:.84rem;color:var(--muted)}
.ntwo{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;align-items:start}
.nfacts{display:grid;gap:6px;padding:20px}
.nfacts>div{display:grid;grid-template-columns:9.5rem minmax(0,1fr);align-items:center;gap:12px;min-height:52px;padding:10px 14px;border-radius:16px;background:var(--ntint)}
.nfacts>div>span{font-size:.9rem;color:var(--muted)}
.nfacts>div>b{font-weight:500;overflow-wrap:anywhere}
.nfacts a{color:var(--nblue)}
.nnoteb{position:relative;display:flex;flex-direction:column;gap:16px;padding:20px;border-radius:28px;background:linear-gradient(140deg,#cfdcfd,#e3eafe);box-shadow:0 0 0 1px rgba(63,111,245,.16),0 18px 38px -20px rgba(63,111,245,.5);overflow:hidden}
.nnoteb blockquote{margin:0;padding:0 4px;font-size:1.2rem;font-weight:500;letter-spacing:-.03em;line-height:1.3}
.nsig{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px}
.nsig i{display:grid;place-items:center;width:48px;height:48px;border-radius:16px;background:#fff;font-style:normal;font-weight:600;color:var(--nblue);transform:rotate(-4deg)}
.nsig b{display:block;font-weight:500;line-height:1.25}
.nsig div>span{font-size:.86rem;color:var(--muted)}
.nseek{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.nseek>span{grid-column:1/-1;margin:2px 4px 0;font-size:.74rem;font-weight:500;letter-spacing:.1em;text-transform:uppercase;color:var(--nfaint)}
.nbtn.sm{height:46px;padding:0 .8rem;border-radius:14px;font-size:.9rem}
.nbtn.white{background:#fff;color:var(--nblue);box-shadow:0 1px 2px rgba(24,20,12,.05)}
.n2 .nrep{border-radius:28px;padding:20px}
@media (max-width:900px){
  .nhero{padding-top:40px}
  .nhero p{font-size:1rem}
  .nhero p .dbr{display:none}
  .nfind{grid-template-columns:minmax(0,1fr)}
  .nsrc{height:40px;padding:0 2px;border-radius:14px;font-size:.72rem}.nsrc span{padding:0 .3rem;gap:.25rem}.nsrc .lv{flex:0 0 auto;padding:0 .7rem;font-size:0;gap:0}.nsrc .dt{font-size:.66rem}
  .nfind>.nbtn,.ncta>.nbtn{position:relative;padding:0 3.4rem}.nfind>.nbtn i,.ncta>.nbtn i{position:absolute;left:10px}
  .nkp{grid-template-columns:1fr 1fr;gap:10px;margin-top:32px}
  .nkp.tight{margin-top:10px}
  .nk{min-height:112px;padding:16px;border-radius:22px}.nk b{font-size:1.45rem}
  .nsh{margin-top:40px}
  .nboard{padding:14px}
  .nrow{grid-template-columns:var(--rw,auto) minmax(0,1fr) auto;gap:10px;height:60px;padding:0 12px 0 10px}
  .nrow .logo,.nrow .nmb,.nrow .ng{display:none}
  .nrow .v{font-size:.92rem}
  .ncta{grid-template-columns:minmax(0,1fr);padding:24px}
  .ncta .ntags{grid-template-columns:minmax(0,1fr)}.ncta>.nbtn{order:3}
  .nsub{padding-top:1rem}
  .nhead{padding-top:24px}
  .nlogo{width:64px;height:64px;border-radius:20px;font-size:1.25rem}
  .nhead p{font-size:.94rem}
  .nacts .nbtn{height:54px;font-size:.92rem;padding:0 .5rem}
  .nmoney{grid-template-columns:minmax(0,1fr);gap:22px;margin-top:32px;padding:22px}
  .nbars{height:96px;gap:6px}.nqs{gap:6px;font-size:.58rem}
  .nlock{grid-template-columns:minmax(0,1fr);margin-top:32px;padding:22px}
  .ntwo{grid-template-columns:minmax(0,1fr)}
  .nfacts{padding:14px}
  .nfacts>div{grid-template-columns:minmax(0,1fr);gap:2px;padding:10px 12px}
  .nnoteb blockquote{font-size:1.08rem}
}
@media (prefers-reduced-motion:reduce){.n2,.n2 *{animation:none!important;transition:none!important}}
.nboard .fbar .fld{grid-column:auto!important;grid-row:auto!important;justify-self:stretch!important;width:auto!important;margin:0!important}
@media (min-width:901px) and (max-width:1100px){.nboard .fbar{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}
@media (max-width:900px){.nstick{right:10px;top:12px;padding:.2rem .5rem;font-size:.6rem}.nk.dark .nlab{max-width:calc(100% - 62px)}}

/* Trusti märk on üks SVG (sõnamärk ja TRUST kontuuridena): suurus tuleb ainult kõrgusest, asend ei sõltu ümbritsevast. */
.tlogo{display:block;width:auto;height:27px;aspect-ratio:481/100;flex:none;max-width:none}
.wm{display:inline-flex;align-items:center;gap:0;color:var(--ink)}
.prod .lg .tlogo{height:21px}
.foot .wm .tlogo{height:24px}
@media (max-width:900px){.wm .tlogo{height:24px}}

/* Tootevaliku nool hüppab iga paari sekundi tagant kaks korda, et pilk sinna jõuaks. Seisab, kui menüü on lahti, hiir on peal või kasutaja on liikumise vähendamise sisse lülitanud. */
@keyframes nudge{0%,70%,100%{transform:none}76%{transform:translateY(3px)}82%{transform:none}88%{transform:translateY(3px)}94%{transform:none}}
.prod-btn svg{animation:nudge 3.2s ease-in-out 1.2s infinite}
.prod-btn:hover svg,.prod-btn[aria-expanded="true"] svg{animation:none}
@media (prefers-reduced-motion:reduce){.prod-btn svg{animation:none}}

/* Allikariba esimene märk: kilp linnukesega, mitte täpp. */
.nsrc .lv::before{content:none}
.nsrc .lv svg{width:17px;height:17px;padding:0;border-radius:0;background:none;color:#12a340}
@media (max-width:900px){.nsrc .lv svg{width:18px;height:18px}}
/* Filtririba: järjestus on omal real, selle all kolm filtrit. Nii ei saa väljad üksteise peale sõita. */
.nboard .fbar{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.5fr)}
.nboard .fbar .fld:first-child{grid-column:1/-1!important;flex-direction:row;align-items:center;gap:.7rem;justify-self:start!important;max-width:100%}
.nboard .fbar .seg{min-width:0;max-width:100%}
@media (min-width:901px) and (max-width:1100px){.nboard .fbar{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.nboard .fbar .fld:last-child{grid-column:1/-1!important}}
@media (max-width:900px){.nboard .fbar{grid-template-columns:minmax(0,1fr)}.nboard .fbar .fld:first-child{flex-direction:column;align-items:stretch;justify-self:stretch!important}}
.nboard .fbar .sel,.nboard .fbar select{width:100%;max-width:none}

/* Omaniku kaart on sama kõrge kui faktikaart: vahe täidavad kolm vaba kohta, mille omanik saab täita. Read venivad, nii et kõrgus klapib iga firma juures. */
.ntwo{align-items:stretch}
.nslots{flex:1;display:grid;grid-auto-rows:1fr;gap:6px}
.nslot{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;min-height:64px;padding:8px 14px 8px 8px;border:0;border-radius:18px;background:rgba(255,255,255,.5);font:inherit;color:inherit;text-align:left;cursor:pointer;transition:background .15s,border-color .15s,transform .2s var(--nease)}
.nslot:hover{background:#fff;transform:translateY(-2px)}
.nslot[hidden]{display:none}
.nslot>i{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:#fff;color:var(--nblue)}
.nslot:nth-child(odd)>i{transform:rotate(-4deg)}
.nslot:nth-child(even)>i{transform:rotate(4deg)}
.nslot>i svg{width:20px;height:20px}
.nslot b{display:block;font-weight:500;line-height:1.25}
.nslot small{display:block;font-size:.86rem;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nslot em{display:grid;place-items:center;width:32px;height:32px;border-radius:999px;background:var(--nblue);color:#fff}
.nslot em svg{width:15px;height:15px}
.nnoteb blockquote{font-size:1.45rem}
@media (max-width:900px){.nnoteb blockquote{font-size:1.2rem}.nslot{min-height:60px}}
.nseek .nbtn{height:52px;border-radius:16px}

/* Telefon: edetabeli real ei ole töötajate arvu (nimi ja käive mahuvad ära), allikariba mahub ühele reale, kleeps on arvu kõrval, nii et kõigi nelja kaardi silt on ühel real. */
@media (max-width:900px){
  .nrow .nemp,.nacts .nlg{display:none}
  .nsrc{padding:0 4px;font-size:.7rem}
  .nsrc span{flex:1 1 auto;min-width:0;padding:0 .4rem}
  .nsrc span:not(.lv) svg{display:none}
  .nsrc .lv{padding:0 .55rem 0 .45rem}
  .nsrc .dt{font-family:inherit;font-size:.7rem;font-variant-numeric:tabular-nums}
  .nstick{top:auto;bottom:14px;right:12px}
  .nk.dark .nlab{max-width:none}
  .nacts .nbtn{font-size:.95rem}
}

/* Telefon, firma leht: tagasilink on omal real ja otsing selle all täies laiuses. */
@media (max-width:900px){
  .nsub{flex-direction:column;align-items:stretch;gap:8px}
  .nsub .back{align-self:flex-start;margin-left:-.2rem}
  .nfind.sm{width:100%}
  .nfind.sm .nq{height:54px;border-radius:18px}
  .nfind.sm .nq i{width:36px;height:36px;border-radius:12px}
}

/* Faktiread: telefonis on iga rida sama kõrge, ees ikooniplaat; pikk väärtus (aadress) mahub kahele reale. Arvutis ikoone ei ole. */
.nfi{display:none}
/* Fact rows are one height everywhere: the label stays on one line, the value takes at most two. */
.nfacts>div>b small{margin-left:.35rem;font-size:.84rem;font-weight:400;color:var(--muted)}
@media (min-width:901px){
  .nfacts>div{height:56px;min-height:0;padding:0 14px}
  .nfacts>div>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .nfacts>div>b{line-height:1.25;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
}
@media (max-width:900px){
  .nfacts>div{grid-template-columns:44px minmax(0,1fr);grid-template-rows:auto auto;align-content:center;gap:1px 12px;height:72px;min-height:0;padding:0 14px 0 10px;border-radius:18px}
  .nfacts .nfi{grid-row:1/3;align-self:center;display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:#fff;color:var(--nblue)}
  .nfacts>div:nth-child(odd) .nfi{transform:rotate(-4deg)}
  .nfacts>div:nth-child(even) .nfi{transform:rotate(4deg)}
  .nfacts .nfi svg{width:20px;height:20px}
  .nfacts>div>span{grid-column:2;font-size:.8rem;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .nfacts>div>b{grid-column:2;font-size:.97rem;line-height:1.25;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
}

/* Aruande puudumise kaart: ikoon, pealkiri, üks rida ja link registrikaardile. */
.nlock.nrep0{margin-top:0}
.nlock.nrep0>svg{background:var(--nsoft);color:var(--nblue);transform:rotate(-4deg)}
.nlock.nrep0 b{font-size:1.1rem}
@media (max-width:900px){.nlock.nrep0{gap:14px}.nlock.nrep0 .nbtn{width:100%}}

/* Telefon, firma leht: neli arvu on täislaiuses read üksteise all, silt vasakul ja arv paremal. */
@media (max-width:900px){
  .nkp.tight{grid-template-columns:minmax(0,1fr);gap:8px}
  .nkp.tight .nk{flex-direction:row;align-items:center;justify-content:flex-start;gap:.6rem;min-height:0;height:64px;padding:0 20px;border-radius:20px}
  .nkp.tight .nk .nlab{order:1}
  .nkp.tight .nk .nstick{order:2;position:relative;right:auto;top:auto;bottom:auto}
  .nkp.tight .nk b{order:3;margin-left:auto;font-size:1.35rem}
}

/* Telefon: avalehe alapealkiri on lühem ja täpselt kahel real. */
.nsm{display:none}
@media (max-width:900px){.nhero .nlg{display:none}.nhero .nsm{display:inline}.nhero p{font-size:.95rem;white-space:nowrap}}
@media (max-width:359px){.nhero p{font-size:.86rem}}

/* Linnukesed ilma taustaringita (19.11.2026): heledal pinnal tume linnuke, tumedal hele. */
.plan li::before{border-radius:0;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111827' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/100% no-repeat}
.plan .dark li::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E")}
.reading div.ok i{border:0;border-radius:0;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111827' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/100% no-repeat}
.prod .ck{width:18px;height:18px;padding:0;border-radius:0;background:none;color:var(--ink)}
.badge .ck{background:none;color:var(--ink)}
.nsrc svg{width:13px;height:13px;padding:0;border-radius:0;background:none;color:var(--ink)}
