/* V-risinājumi · publiskā vietne */
@property --angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@property --p { syntax: '<number>'; initial-value: 0; inherits: true; }

:root {
  --bg: #0a0e1c; --bg2: #101631; --text: #eaf0ff; --muted: #9aa6c7; --line: rgba(255,255,255,.1);
  --glass: rgba(255,255,255,.05); --glass2: rgba(255,255,255,.09);
  --brand: #6ea8ff; --brand2: #b18cff; --ok: #3ddc97; --warn: #ffc857; --info: #6ea8ff; --err: #ff6b7a;
  --eras: #4da3ff; --pips: #34d399; --dsn: #c084fc;
  --shadow: 0 20px 60px rgba(0,0,0,.45);
  --r: 18px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
:root[data-theme="light"] {
  --bg: #f5f7fd; --bg2: #ffffff; --text: #141a33; --muted: #5a6585; --line: rgba(20,26,51,.12);
  --glass: rgba(255,255,255,.7); --glass2: rgba(255,255,255,.95);
  --brand: #2f6dff; --brand2: #8a4dff; --ok: #12a874; --warn: #c98a00; --info: #2f6dff; --err: #d6334a;
  --eras: #1e78e6; --pips: #0f9f70; --dsn: #8f45d8;
  --shadow: 0 20px 50px rgba(30,45,100,.15);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; transition: background .4s, color .4s; }
img { max-width: 100%; }
a { color: inherit; }
[hidden] { display: none !important; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.muted { color: var(--muted); }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--brand); color: #fff; padding: 8px 14px; border-radius: 10px; transition: top .2s; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

/* ---------- fons ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; background: transparent; }
.progress i { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--eras), var(--dsn), var(--pips)); }
.bg { position: fixed; inset: 0; z-index: -2; overflow: hidden; background: radial-gradient(1200px 700px at 80% -10%, color-mix(in srgb, var(--brand2) 18%, transparent), transparent 60%), radial-gradient(900px 600px at -10% 20%, color-mix(in srgb, var(--brand) 16%, transparent), transparent 60%), var(--bg); }
.bg canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .7; }
.bg .grid { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 50% 30%, #000 10%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 10%, transparent 70%); opacity: .5; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .35; animation: float 18s ease-in-out infinite; }
.blob.b1 { width: 420px; height: 420px; background: var(--eras); left: -100px; top: 8%; }
.blob.b2 { width: 380px; height: 380px; background: var(--dsn); right: -80px; top: 35%; animation-delay: -6s; }
.blob.b3 { width: 340px; height: 340px; background: var(--pips); left: 35%; bottom: -120px; animation-delay: -12s; }
:root[data-theme="light"] .blob { opacity: .22; }
@keyframes float { 0%,100% { transform: translate(0,0) scale(1); } 33% { transform: translate(40px,-30px) scale(1.08); } 66% { transform: translate(-30px,30px) scale(.94); } }
.glow { position: fixed; width: 460px; height: 460px; left: 0; top: 0; z-index: -1; pointer-events: none; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--brand) 22%, transparent), transparent 65%); transform: translate(-50%, -50%) translate(var(--gx, 50vw), var(--gy, 30vh)); opacity: 0; transition: opacity .4s; }
.glow.on { opacity: 1; }

/* ---------- galvene ---------- */
header { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s, backdrop-filter .3s, box-shadow .3s; }
header.scrolled { background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 1px 0 var(--line); }
nav { display: flex; align-items: center; gap: 12px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; text-decoration: none; margin-right: auto; }
.brand .logo { border-radius: 10px; object-fit: cover; transition: transform .5s cubic-bezier(.3,1.6,.5,1); }
.brand:hover .logo { transform: rotate(-8deg) scale(1.1); }
.links { display: flex; gap: 4px; }
.links a { text-decoration: none; padding: 8px 14px; border-radius: 10px; color: var(--muted); font-weight: 500; position: relative; transition: color .2s; }
.links a::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px; background: linear-gradient(90deg, var(--brand), var(--brand2)); transform: scaleX(0); transform-origin: 0 50%; transition: transform .3s; border-radius: 2px; }
.links a:hover, .links a.active { color: var(--text); }
.links a:hover::after, .links a.active::after { transform: scaleX(1); }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); background: var(--glass); color: var(--text); cursor: pointer; transition: transform .2s, background .2s; }
.icon-btn:hover { background: var(--glass2); transform: translateY(-2px); }
.i-sun { display: none; }
:root[data-theme="dark"] .i-sun { display: block; }
:root[data-theme="dark"] .i-moon { display: none; }
.burger { display: none; flex-direction: column; gap: 4px; justify-content: center; align-items: center; }
.burger span { width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s, opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- pogas ---------- */
.btn { --mx: 0px; --my: 0px; position: relative; display: inline-flex; align-items: center; gap: 8px; justify-content: center; padding: 13px 24px; border-radius: 14px; border: 1px solid var(--line); background: var(--glass); color: var(--text); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; overflow: hidden; transform: translate(var(--mx), var(--my)); transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background .25s; }
.btn:hover { background: var(--glass2); }
.btn.sm { padding: 9px 18px; font-size: .95rem; }
.btn.primary { color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--brand), var(--brand2)); background-size: 160% 160%; box-shadow: 0 10px 30px color-mix(in srgb, var(--brand) 35%, transparent); animation: shimmer 6s ease-in-out infinite; }
.btn.primary:hover { box-shadow: 0 14px 40px color-mix(in srgb, var(--brand) 50%, transparent); }
.btn.primary.c-eras { background: linear-gradient(135deg, var(--eras), #2b6fd0); box-shadow: 0 10px 30px color-mix(in srgb, var(--eras) 35%, transparent); }
.btn.primary.c-pips { background: linear-gradient(135deg, var(--pips), #0f8a63); box-shadow: 0 10px 30px color-mix(in srgb, var(--pips) 35%, transparent); }
.btn.primary.c-dsn { background: linear-gradient(135deg, var(--dsn), #8f45d8); box-shadow: 0 10px 30px color-mix(in srgb, var(--dsn) 35%, transparent); }
@keyframes shimmer { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.ripple { position: absolute; border-radius: 50%; background: rgba(255,255,255,.4); transform: scale(0); animation: ripple .6s ease-out forwards; pointer-events: none; }
@keyframes ripple { to { transform: scale(4); opacity: 0; } }
button.link { background: none; border: 0; padding: 0; font: inherit; color: var(--brand); text-decoration: underline; cursor: pointer; }
.row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 150px 0 90px; }
h1 { font-size: clamp(2.6rem, 7vw, 5.2rem); line-height: 1.04; margin: 0 0 24px; letter-spacing: -.03em; max-width: 14ch; }
.w { display: inline-block; opacity: 0; transform: translateY(.6em) rotateX(-50deg); filter: blur(8px); animation: wordIn .9s cubic-bezier(.2,.9,.2,1) forwards; animation-delay: calc(.15s + var(--i) * .12s); }
@keyframes wordIn { to { opacity: 1; transform: none; filter: none; } }
.grad { background: linear-gradient(100deg, var(--eras), var(--dsn), var(--pips), var(--eras)); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: wordIn .9s cubic-bezier(.2,.9,.2,1) forwards, gradMove 8s linear infinite; animation-delay: calc(.15s + var(--i) * .12s), 0s; }
@keyframes gradMove { to { background-position: 300% 0; } }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 56ch; }
.typed-line { font-size: 1.15rem; font-weight: 600; min-height: 1.8em; }
.typed { background: linear-gradient(90deg, var(--brand), var(--brand2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.caret { display: inline-block; width: 2px; height: 1.1em; background: var(--brand); vertical-align: -0.2em; margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 6px 14px; border-radius: 99px; background: var(--glass); border: 1px solid var(--line); font-size: .88rem; color: var(--muted); }
.hero-float { position: absolute; display: flex; gap: 12px; align-items: center; padding: 12px 18px; border-radius: 16px; background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--shadow); opacity: 0; animation: popIn .8s cubic-bezier(.2,1.2,.3,1) forwards, bob 6s ease-in-out infinite; }
.hero-float b { display: block; font-size: .95rem; line-height: 1.2; }
.hero-float small { color: var(--muted); }
.hero-float .ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-style: normal; color: #fff; }
.ic.ok { background: var(--eras); } .ic.pub { background: var(--pips); } .ic.star { background: var(--dsn); }
.ic.ok::before { content: '✓'; } .ic.pub::before { content: '↑'; } .ic.star::before { content: '★'; }
.f1 { right: 8%; top: 150px; animation-delay: 1.2s, 1.2s; }
.f2 { right: 2%; top: 270px; animation-delay: 1.5s, 2.5s; }
.f3 { right: 12%; top: 390px; animation-delay: 1.8s, 3.5s; }
@keyframes popIn { from { opacity: 0; transform: translateY(30px) scale(.85); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%,100% { translate: 0 0; } 50% { translate: 0 -14px; } }
.scroll-cue { position: absolute; left: 0; bottom: 20px; width: 26px; height: 42px; border: 2px solid var(--muted); border-radius: 14px; opacity: .7; }
.scroll-cue i { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--muted); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--glass); padding: 14px 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee .track { height: auto; overflow: visible; background: none; border-radius: 0; display: flex; gap: 48px; width: max-content; animation: marq 40s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.marquee span { white-space: nowrap; color: var(--muted); font-weight: 500; }
.marquee span::before { content: '◆'; color: var(--brand); margin-right: 48px; font-size: .6rem; vertical-align: middle; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- sistēmu krāsas ---------- */
.c-eras { --c: var(--eras); } .c-pips { --c: var(--pips); } .c-dsn { --c: var(--dsn); }

/* ---------- trīs kartītes ---------- */
section { padding: 90px 0; position: relative; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 70px; }
.tcard { --rx: 0deg; --ry: 0deg; --sx: 50%; --sy: 50%; position: relative; text-align: left; font: inherit; color: inherit; padding: 28px; border-radius: var(--r); background: var(--glass); border: 1px solid var(--line); cursor: pointer; transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .2s ease-out, box-shadow .3s; overflow: hidden; isolation: isolate; }
.tcard::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(260px circle at var(--sx) var(--sy), color-mix(in srgb, var(--c) 28%, transparent), transparent 70%); opacity: 0; transition: opacity .3s; }
.tcard:hover::before { opacity: 1; }
.tcard:hover { box-shadow: 0 24px 60px color-mix(in srgb, var(--c) 25%, transparent); }
.tcard .dot { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--c); color: #fff; font-weight: 800; font-size: 1.3rem; margin-bottom: 16px; box-shadow: 0 8px 24px color-mix(in srgb, var(--c) 45%, transparent); }
.tcard h3 { margin: 0 0 4px; font-size: 1.5rem; }
.tag { display: inline-block; font-size: .82rem; font-weight: 600; color: var(--c, var(--brand)); background: color-mix(in srgb, var(--c, var(--brand)) 14%, transparent); padding: 3px 12px; border-radius: 99px; }
.tcard p { color: var(--muted); margin: 14px 0 18px; }
.tcard .arrow { color: var(--c); font-weight: 600; display: inline-block; transition: transform .25s; }
.tcard:hover .arrow { transform: translateX(6px); }

/* ---------- virsraksti ---------- */
.kicker { display: inline-block; font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--brand); margin-bottom: 10px; }
h2 { font-size: clamp(2rem, 4.5vw, 3rem); margin: 0 0 12px; letter-spacing: -.02em; line-height: 1.1; }
.sub { color: var(--muted); font-size: 1.1rem; max-width: 60ch; margin: 0 0 36px; }

/* ---------- ritināšanas atklāšana ---------- */
.js .rev { opacity: 0; transform: translateY(32px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0s); }
.js .rev.in { opacity: 1; transform: none; }
.js .tcard.rev.in { transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)); }
.rv { opacity: 0; transform: translateY(20px); animation: rvIn .9s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: .9s; }
.cta.rv { animation-delay: 1.1s; } .chips.rv { animation-delay: 1.3s; } .typed-line.rv { animation-delay: 1s; }
@keyframes rvIn { to { opacity: 1; transform: none; } }
h2.rv, .sub.rv, .kicker.rv { animation: none; opacity: 1; transform: none; }

/* ---------- cilnes ---------- */
.tabs { display: inline-flex; gap: 6px; padding: 6px; border-radius: 16px; background: var(--glass); border: 1px solid var(--line); margin-bottom: 36px; position: relative; }
.tab { position: relative; border: 0; background: transparent; color: var(--muted); font: inherit; font-weight: 600; padding: 10px 24px; border-radius: 12px; cursor: pointer; transition: color .25s, background .25s; }
.tab:hover { color: var(--text); }
.tab[aria-selected="true"] { color: #fff; background: var(--c); box-shadow: 0 8px 22px color-mix(in srgb, var(--c) 45%, transparent); }
.panel { display: none; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.panel.on { display: grid; animation: panelIn .6s cubic-bezier(.2,.8,.2,1); }
@keyframes panelIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.panel h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 14px 0 10px; line-height: 1.15; }
.who { color: var(--muted); }
.who b { color: var(--text); }
.feat { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.feat li { position: relative; padding-left: 30px; }
.feat li::before { content: '✓'; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; display: grid; place-items: center; font-size: .75rem; font-weight: 700; color: #fff; background: var(--c); border-radius: 6px; }
.panel.on .feat li { animation: liIn .5s both; }
.panel.on .feat li:nth-child(1) { animation-delay: .15s; } .panel.on .feat li:nth-child(2) { animation-delay: .22s; } .panel.on .feat li:nth-child(3) { animation-delay: .29s; } .panel.on .feat li:nth-child(4) { animation-delay: .36s; } .panel.on .feat li:nth-child(5) { animation-delay: .43s; }
@keyframes liIn { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }

/* ---------- maketi ---------- */
.screen-wrap { perspective: 1000px; }
.screen { --rx: 0deg; --ry: 0deg; --sx: 50%; --sy: 50%; position: relative; border-radius: 18px; background: var(--bg2); border: 1px solid var(--line); box-shadow: var(--shadow), 0 0 0 1px color-mix(in srgb, var(--c, var(--brand)) 20%, transparent); transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .2s ease-out; overflow: hidden; }
.screen[data-sys="eras"] { --c: var(--eras); } .screen[data-sys="pips"] { --c: var(--pips); } .screen[data-sys="dsn"] { --c: var(--dsn); }
.screen::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(300px circle at var(--sx) var(--sy), rgba(255,255,255,.1), transparent 60%); }
.screen .bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--glass); }
.screen .bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; } .screen .bar i:nth-child(2) { background: #febc2e; } .screen .bar i:nth-child(3) { background: #28c840; }
.screen .bar em { margin-left: 10px; font-style: normal; font-size: .8rem; color: var(--muted); background: var(--glass); border: 1px solid var(--line); padding: 2px 12px; border-radius: 99px; flex: 1; max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.live-dot { margin-left: auto; width: 9px; height: 9px; border-radius: 50%; background: var(--ok); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 60%, transparent); } 70%,100% { box-shadow: 0 0 0 10px transparent; } }
.screen .body { padding: 18px; display: grid; gap: 16px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { padding: 12px; border-radius: 12px; background: var(--glass); border: 1px solid var(--line); }
.kpi small { display: block; color: var(--muted); font-size: .75rem; }
.kpi b { font-size: 1.5rem; color: var(--c); font-variant-numeric: tabular-nums; }
.tbl { display: grid; gap: 4px; font-size: .85rem; }
.tr { display: grid; grid-template-columns: 1.3fr 1.2fr .8fr 1fr; gap: 8px; padding: 9px 10px; border-radius: 10px; background: var(--glass); align-items: center; }
.tr > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tr.hd { background: transparent; color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; }
.tr.new { animation: rowIn .6s cubic-bezier(.2,1.2,.3,1); }
@keyframes rowIn { from { opacity: 0; transform: translateX(-20px) scale(.96); background: color-mix(in srgb, var(--c) 30%, transparent); } to { opacity: 1; transform: none; } }
.st { display: inline-block; padding: 2px 10px; border-radius: 99px; font-size: .75rem; font-weight: 600; width: max-content; }
.st.ok { color: var(--ok); background: color-mix(in srgb, var(--ok) 15%, transparent); }
.st.wa { color: var(--warn); background: color-mix(in srgb, var(--warn) 16%, transparent); }
.st.in { color: var(--info); background: color-mix(in srgb, var(--info) 15%, transparent); }
.st.pop { animation: stPop 3s ease-in-out infinite; }
@keyframes stPop { 0%,85%,100% { transform: scale(1); } 92% { transform: scale(1.15); } }
.spark { width: 100%; height: 54px; }
.spark .area { fill: color-mix(in srgb, var(--c) 18%, transparent); opacity: 0; transition: opacity 1s .5s; }
.spark .line { fill: none; stroke: var(--c); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 600; stroke-dashoffset: 600; }
.panel.on.go .spark .line { animation: draw 2s .2s ease-out forwards; }
.panel.on.go .spark .area { opacity: 1; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters span { padding: 5px 12px; border-radius: 99px; font-size: .8rem; background: var(--glass); border: 1px solid var(--line); color: var(--muted); transition: all .3s; }
.filters span.a { color: #fff; background: var(--c); border-color: transparent; }
.deadline small { color: var(--muted); font-size: .78rem; }
.track { height: 8px; border-radius: 99px; background: var(--glass2); overflow: hidden; }
.track i { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, var(--c), color-mix(in srgb, var(--c) 55%, #fff)); transition: width 1.4s cubic-bezier(.2,.8,.2,1); }
.panel.go .track i { width: var(--w); }
.mrow { display: grid; grid-template-columns: 110px 1fr 36px; gap: 10px; align-items: center; font-size: .85rem; margin-bottom: 8px; }
.mrow b { text-align: right; font-variant-numeric: tabular-nums; }
.mrow:nth-child(2) .track i { transition-delay: .12s; } .mrow:nth-child(3) .track i { transition-delay: .24s; } .mrow:nth-child(4) .track i { transition-delay: .36s; }
.split { display: flex; align-items: center; gap: 20px; }
.ring { --p: 0; position: relative; width: 108px; height: 108px; border-radius: 50%; display: grid; place-items: center; flex: none; background: conic-gradient(var(--c) calc(var(--p) * 1%), var(--glass2) 0); transition: --p 1.6s cubic-bezier(.2,.8,.2,1); }
.ring::before { content: ''; position: absolute; inset: 10px; border-radius: 50%; background: var(--bg2); }
.ring b { position: relative; font-size: 1.7rem; }
.panel.go .ring { --p: var(--target, 84); }
.big { font-size: 1.1rem; }
.levels { display: flex; gap: 8px; }
.levels span { flex: 1; text-align: center; padding: 6px 0; border-radius: 10px; background: var(--glass); border: 1px solid var(--line); font-weight: 700; color: var(--muted); transition: all .3s; }
.levels span.on { color: #fff; background: var(--c); border-color: transparent; animation: stPop 3s ease-in-out infinite; }
.demo-note { text-align: center; font-size: .78rem; color: var(--muted); margin: 10px 0 0; }

/* ---------- testa vide ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; }
.step { position: relative; padding: 26px; border-radius: var(--r); background: var(--glass); border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step .n { font-size: 2.6rem; font-weight: 800; line-height: 1; background: linear-gradient(135deg, var(--brand), var(--brand2)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 8px; }
.step h4 { margin: 0 0 6px; font-size: 1.1rem; }
.step p { margin: 0; color: var(--muted); }
.cred { margin-top: 24px; padding: 26px; border-radius: var(--r); background: var(--glass); border: 1px solid transparent; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; position: relative; background-clip: padding-box; }
.cred:not(.plain)::before { content: ''; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; background: conic-gradient(from var(--angle), var(--eras), var(--dsn), var(--pips), var(--eras)); animation: spin 5s linear infinite; }
.cred:not(.plain) { isolation: isolate; background: var(--bg2); }
@keyframes spin { to { --angle: 360deg; } }
.cred.plain { grid-template-columns: 1fr; background: var(--glass); border: 1px solid var(--line); margin: 14px 0 0; }
.cred label { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 6px; }
.cred code { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 1.1rem; padding: 10px 14px; border-radius: 12px; background: var(--glass); border: 1px solid var(--line); }
.cred code button { font: inherit; font-size: .78rem; padding: 4px 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--glass2); color: var(--text); cursor: pointer; transition: all .2s; }
.cred code button.done { background: var(--ok); color: #fff; border-color: transparent; }
.cred .row { grid-column: 1 / -1; margin-top: 0; }
.note { color: var(--muted); font-size: .9rem; margin-top: 16px; }

/* ---------- kontakti ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: start; }
.contact-grid:has(.contact-info:not([hidden])) { grid-template-columns: 1fr 1.4fr; }
.contact-info h3 { margin: 0 0 16px; font-size: 1.4rem; }
.cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.cards li { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 14px; background: var(--glass); border: 1px solid var(--line); transition: transform .25s, border-color .25s; }
.cards li:hover { transform: translateX(6px); border-color: var(--brand); }
.cards .ico { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: color-mix(in srgb, var(--brand) 16%, transparent); font-size: 1.1rem; }
.cards small { display: block; color: var(--muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; }
.cards a { color: var(--text); font-weight: 600; text-decoration: none; word-break: break-word; }
.cards a:hover { color: var(--brand); }
.glass { padding: 30px; border-radius: 22px; background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: var(--shadow); }
.glass h3 { margin: 0 0 20px; font-size: 1.5rem; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { position: relative; margin-bottom: 16px; }
.field input, .field textarea { width: 100%; font: inherit; color: var(--text); padding: 22px 14px 8px; border-radius: 12px; border: 1px solid var(--line); background: var(--glass); transition: border-color .2s, box-shadow .2s; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 22%, transparent); }
.field label { position: absolute; left: 15px; top: 15px; color: var(--muted); pointer-events: none; transition: all .18s; transform-origin: 0 0; }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { top: 6px; font-size: .74rem; color: var(--brand); }
.field.bad input, .field.bad textarea { border-color: var(--err); animation: shake .4s; }
@keyframes shake { 20%,60% { transform: translateX(-6px); } 40%,80% { transform: translateX(6px); } }
.err { display: block; color: var(--err); font-size: .8rem; min-height: 0; margin-top: 4px; }
.err:empty { display: none; }
.systems { border: 0; padding: 0; margin: 4px 0 18px; display: flex; flex-wrap: wrap; gap: 10px; }
.systems legend { font-weight: 600; margin-bottom: 10px; padding: 0; }
.chip-check { cursor: pointer; }
.chip-check input { position: absolute; opacity: 0; pointer-events: none; }
.chip-check span { display: inline-block; padding: 8px 18px; border-radius: 99px; border: 1px solid var(--line); background: var(--glass); font-weight: 600; transition: all .25s cubic-bezier(.2,1.4,.4,1); }
.chip-check:hover span { border-color: var(--c); transform: translateY(-2px); }
.chip-check input:checked + span { color: #fff; background: var(--c); border-color: transparent; transform: scale(1.06); box-shadow: 0 8px 22px color-mix(in srgb, var(--c) 40%, transparent); }
.chip-check input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); margin-bottom: 6px; }
.consent input { margin-top: 4px; accent-color: var(--brand); width: 17px; height: 17px; }
.submit { width: 100%; margin-top: 14px; }
.submit .spin { display: none; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: rot .7s linear infinite; }
.submit.busy .spin { display: inline-block; }
.submit.busy { pointer-events: none; opacity: .85; }
@keyframes rot { to { transform: rotate(360deg); } }
.status { min-height: 1.4em; margin: 12px 0 0; font-size: .92rem; }
.status.bad { color: var(--err); }
.success { text-align: center; padding: 50px 30px; animation: panelIn .7s cubic-bezier(.2,1.2,.3,1); }
.check { width: 84px; height: 84px; margin-bottom: 8px; }
.check circle { fill: none; stroke: var(--ok); stroke-width: 2.5; stroke-dasharray: 152; stroke-dashoffset: 152; animation: draw .8s ease-out forwards; }
.check path { fill: none; stroke: var(--ok); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .5s .6s ease-out forwards; }
.confetti { position: fixed; top: 0; width: 9px; height: 14px; z-index: 90; pointer-events: none; border-radius: 2px; animation: fall var(--t, 2s) cubic-bezier(.2,.6,.4,1) forwards; }
@keyframes fall { 0% { transform: translate(0,0) rotate(0); opacity: 1; } 100% { transform: translate(var(--dx), 100vh) rotate(var(--rot)); opacity: 0; } }


/* ---------- aploksne un kurjers ---------- */
.write { display: grid; place-items: center; min-height: 260px; }
.write[hidden] { display: none; }
.write-btn { position: relative; display: inline-flex; align-items: center; gap: 18px; padding: 20px 34px 20px 26px; border: 0; border-radius: 22px; cursor: pointer; color: #fff; font: inherit; text-align: left;
  background: linear-gradient(120deg, var(--brand), var(--brand2)); box-shadow: 0 14px 40px color-mix(in srgb, var(--brand) 45%, transparent);
  transform: translate(var(--mx, 0), var(--my, 0)); transition: transform .25s, box-shadow .3s; animation: wpulse 3s ease-in-out infinite; }
.write-btn:hover { transform: translate(var(--mx, 0), var(--my, 0)) scale(1.05); box-shadow: 0 18px 54px color-mix(in srgb, var(--brand2) 55%, transparent); }
.write-btn:focus-visible { outline: 3px solid var(--text); outline-offset: 4px; }
.write-btn .mail { fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s; }
.write-btn:hover .mail { animation: wiggle .6s; }
.write-btn .wl b { display: block; font-size: 1.25rem; }
.write-btn .wl small { opacity: .85; font-size: .88rem; }
@keyframes wpulse { 50% { box-shadow: 0 14px 56px color-mix(in srgb, var(--brand2) 60%, transparent), 0 0 0 10px color-mix(in srgb, var(--brand) 12%, transparent); } }
@keyframes wiggle { 20% { transform: rotate(-9deg) scale(1.1); } 50% { transform: rotate(8deg) scale(1.1); } 80% { transform: rotate(-4deg); } }
body.lock { overflow: hidden; }

.stage { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; --ew: min(340px, 76vw); --lw: min(640px, 94vw); }
.stage[hidden] { display: none; }
.stage-bg { position: fixed; inset: 0; background: rgba(4, 8, 22, .62); backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px); opacity: 0; transition: opacity .45s; }
.stage.on .stage-bg { opacity: 1; }
.stage.fly .stage-bg { opacity: 0; transition-duration: .5s; }
.stage-close { position: fixed; top: 16px; right: 18px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--glass2); color: var(--text); font-size: 1.7rem; line-height: 1; cursor: pointer; opacity: 0; transition: opacity .3s .6s, transform .2s; z-index: 3; }
.stage.on .stage-close { opacity: 1; }
.stage.fly .stage-close, .stage.busy .stage-close { opacity: 0; pointer-events: none; transition-delay: 0s; }
.stage-close:hover { transform: rotate(90deg); }

.pack { position: relative; width: var(--ew); height: calc(var(--ew) * .64); translate: 0 -120vh; rotate: -10deg; opacity: 0; filter: drop-shadow(0 24px 30px rgba(0,0,0,.45));
  transition: translate .8s cubic-bezier(.3,1.4,.5,1), rotate .8s cubic-bezier(.3,1.4,.5,1), opacity .3s, scale .45s ease-in; }
.stage.on .pack { translate: 0 0; rotate: 0deg; opacity: 1; }
.pack > * { position: absolute; }
.eb, .ef, .flap { left: 0; width: 100%; }
.eb { inset: 0; border-radius: 10px; background: linear-gradient(160deg, #26356b, #17224a); z-index: 1; }
.ef { inset: 0; z-index: 3; border-radius: 10px; background: linear-gradient(200deg, #3a52a8, #243372); clip-path: polygon(0 0, 50% 54%, 100% 0, 100% 100%, 0 100%); transition: opacity .5s .1s; }
.flap { top: 0; height: 58%; z-index: 4; background: linear-gradient(180deg, #4c68c9, #34499a); clip-path: polygon(0 0, 100% 0, 50% 100%); transform-origin: top center; transform: perspective(900px) rotateX(0deg); transition: transform .5s ease-in-out, z-index 0s .25s; }
.stage.ph-open .flap { transform: perspective(900px) rotateX(180deg); z-index: 1; background: linear-gradient(0deg, #3a52a8, #2a3c85); }
.seal { left: 50%; top: 58%; width: 46px; height: 46px; margin: -23px 0 0 -23px; z-index: 5; display: grid; place-items: center; border-radius: 50%; color: #fff; font-weight: 800; font-size: 1.2rem;
  background: radial-gradient(circle at 35% 30%, #ff8a9a, #d62f56); box-shadow: 0 3px 10px rgba(0,0,0,.4); transition: transform .35s, opacity .3s; }
.stage.ph-open .seal { transform: scale(0); opacity: 0; }
.stage.sealed .seal { animation: seal .5s ease-out; }
@keyframes seal { 0% { transform: scale(2.2); opacity: 0; } 60% { transform: scale(.85); opacity: 1; } 100% { transform: scale(1); } }

.lw { z-index: 2; left: 50%; top: 50%; width: var(--lw); translate: -50% -50%; scale: .2; opacity: 0; transform-origin: center; pointer-events: none;
  transition: scale .6s cubic-bezier(.2,1.1,.3,1), translate .55s cubic-bezier(.3,1,.4,1), opacity .35s; }
.stage.ph-rise .lw { opacity: 1; scale: .34; translate: -50% -92%; }
.stage.ph-full .lw { opacity: 1; scale: 1; translate: -50% -50%; z-index: 6; pointer-events: auto; }
.stage.ph-full .eb, .stage.ph-full .ef, .stage.ph-full .flap, .stage.ph-full .seal { opacity: 0; transition: opacity .5s .15s; }
.letter { max-height: calc(100dvh - 32px); overflow-y: auto; background: color-mix(in srgb, var(--bg2) 94%, transparent); }
.stage.busy .letter { pointer-events: none; }

.stage.fly .pack { animation: launch .5s ease-in forwards; }
@keyframes launch { 0% { scale: 1; rotate: 0deg; opacity: 1; } 35% { scale: 1.12; rotate: -4deg; } 100% { scale: .08; rotate: 25deg; opacity: 0; } }

.stage.plain .stage-bg, .stage.plain .stage-close { opacity: 1; transition: none; }
.stage.plain .pack { width: var(--lw); height: auto; translate: none; rotate: none; opacity: 1; filter: none; }
.stage.plain .pack > :not(.lw) { display: none; }
.stage.plain .lw { position: relative; left: auto; top: auto; translate: none; scale: 1; opacity: 1; pointer-events: auto; }

#fx { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 95; pointer-events: none; }

@media (max-width: 560px) { .write-btn { padding: 16px 22px 16px 18px; } .write-btn .wl b { font-size: 1.1rem; } }

/* ---------- kājene / dialogi ---------- */
footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: .9rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; align-items: center; }
.foot-links { display: flex; gap: 18px; }
.foot-links a { color: var(--muted); }
dialog { width: min(480px, calc(100% - 32px)); border: 1px solid var(--line); border-radius: 20px; background: var(--bg2); color: var(--text); padding: 28px; box-shadow: var(--shadow); }
dialog[open] { animation: dlgIn .35s cubic-bezier(.2,1.2,.3,1); }
dialog::backdrop { background: rgba(5,8,20,.6); backdrop-filter: blur(4px); animation: fadeIn .3s; }
dialog h3 { margin: 0 0 8px; }
.pre { white-space: pre-line; color: var(--muted); }
@keyframes dlgIn { from { opacity: 0; transform: translateY(20px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } }

/* ---------- tēmas maiņa (View Transitions) ---------- */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-new(root) { clip-path: circle(0 at var(--tx, 50%) var(--ty, 0)); animation: reveal .65s ease-in-out forwards; }
@keyframes reveal { to { clip-path: circle(150vmax at var(--tx, 50%) var(--ty, 0)); } }

/* ---------- adaptīvs ---------- */
@media (max-width: 980px) {
  .panel { grid-template-columns: 1fr; gap: 32px; }
  .hero-float { display: none; }
  .trio, .steps { grid-template-columns: 1fr; }
  .contact-grid:has(.contact-info:not([hidden])) { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .burger { display: flex; }
  .links { position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; padding: 12px 20px 20px; background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); clip-path: inset(0 0 100% 0); opacity: 0; pointer-events: none; transition: clip-path .4s, opacity .3s; }
  .links.open { clip-path: inset(0); opacity: 1; pointer-events: auto; }
  .links a { padding: 12px 8px; }
  nav > .btn { display: none; }
  .hero { padding-top: 120px; }
  .grid2, .cred { grid-template-columns: 1fr; }
  .tabs { display: flex; width: 100%; }
  .tab { flex: 1; padding: 10px 6px; }
  .tr { grid-template-columns: 1.2fr 1fr .9fr; }
  .tr > span:nth-child(2) { display: none; }
  .mrow { grid-template-columns: 90px 1fr 32px; }
  .glass { padding: 22px; }
}


/* ---------- ievada animācija ---------- */
#intro { display: none; }
html.intro-wait #intro { display: block; position: fixed; inset: 0; z-index: 200; }
html.intro-wait body { overflow: hidden; }
.intro-bg { position: absolute; inset: 0; background: radial-gradient(700px 500px at 50% 45%, color-mix(in srgb, var(--brand2) 22%, var(--bg)), var(--bg) 70%); transition: opacity .9s ease .1s; }
#intro.fly .intro-bg { opacity: 0; }
.intro-mark { position: absolute; left: 50%; top: 50%; width: 190px; height: 190px; margin: -95px 0 0 -95px; transform-origin: center; transition: transform 1s cubic-bezier(.65,0,.25,1); }
.intro-mark .tile { position: relative; width: 100%; height: 100%; border-radius: 30px; overflow: hidden; background: color-mix(in srgb, var(--text) 5%, transparent); box-shadow: 0 0 0 1px var(--line), 0 20px 60px rgba(0,0,0,.35);
  animation: tileIn .7s cubic-bezier(.2,1.3,.4,1) both; transition: border-radius 1s cubic-bezier(.65,0,.25,1), box-shadow 1s; }
#intro.fly .tile { box-shadow: 0 0 0 0 transparent; }
.intro-mark img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); filter: blur(6px); animation: logoIn .8s ease-out 1.25s forwards; }
.intro-mark svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; animation: strokeOut .5s ease 1.9s forwards; }
.intro-mark svg path { fill: none; stroke: url(#wg); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 5px rgba(130,170,255,.9));
  animation: strokeDraw 1.25s cubic-bezier(.45,0,.2,1) forwards; }
.intro-mark svg path:nth-of-type(1) { animation-delay: .25s; } .intro-mark svg path:nth-of-type(2) { animation-delay: .4s; } .intro-mark svg path:nth-of-type(3) { animation-delay: .5s; }
.intro-mark svg path:nth-of-type(4) { animation-delay: .6s; } .intro-mark svg path:nth-of-type(n+5) { animation-delay: .75s; }
.intro-mark::before { content: ""; position: absolute; inset: -30px; border-radius: 60px; background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) 55%, transparent), transparent); filter: blur(14px); opacity: 0; animation: halo 2.2s ease-in-out .2s infinite; }
#intro.fly .intro-mark::before { animation: none; opacity: 0; transition: opacity .3s; }
@keyframes tileIn { from { transform: scale(.4) rotate(-12deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes strokeDraw { to { stroke-dashoffset: 0; } }
@keyframes strokeOut { to { opacity: 0; } }
@keyframes logoIn { to { opacity: 1; transform: none; filter: none; } }
@keyframes halo { 0%, 100% { opacity: .25; transform: scale(.92); } 50% { opacity: .85; transform: scale(1.08); } }

html.intro-wait .brand .logo { visibility: hidden; }
html.intro-wait #brand { opacity: 0; }
html.intro-wait main, html.intro-wait footer { opacity: 0; }
html.intro-wait .w, html.intro-wait .rv, html.intro-wait .hero-float { animation-play-state: paused !important; }
html.intro-wait header .links a, html.intro-wait header .btn, html.intro-wait header .icon-btn { opacity: 0; }
html.intro-land .brand .logo { animation: logoLand .7s cubic-bezier(.3,1.6,.5,1) backwards; }
html.intro-land #brand { animation: brandFlow 1s cubic-bezier(.2,.9,.2,1) .15s backwards; }
html.intro-land main, html.intro-land footer { animation: pageIn 1.2s cubic-bezier(.2,.8,.2,1) .2s backwards; }
html.intro-land header .links a, html.intro-land header .btn, html.intro-land header .icon-btn { animation: navIn .7s cubic-bezier(.2,.9,.2,1) backwards; }
html.intro-land header .links a:nth-child(1) { animation-delay: .35s; } html.intro-land header .links a:nth-child(2) { animation-delay: .45s; } html.intro-land header .links a:nth-child(3) { animation-delay: .55s; }
html.intro-land header .btn { animation-delay: .65s; } html.intro-land header .icon-btn { animation-delay: .75s; }
@keyframes logoLand { 0% { transform: scale(1.25); } 100% { transform: none; } }
@keyframes brandFlow { 0% { opacity: 0; transform: translateX(-22px); clip-path: inset(0 100% 0 0); filter: blur(8px); letter-spacing: .3em; } 60% { filter: blur(0); } 100% { opacity: 1; transform: none; clip-path: inset(0 0 0 0); letter-spacing: normal; } }
@keyframes pageIn { 0% { opacity: 0; transform: translateY(34px); filter: blur(12px); } 100% { opacity: 1; transform: none; filter: none; } }
@keyframes navIn { 0% { opacity: 0; transform: translateY(-14px); } 100% { opacity: 1; transform: none; } }

/* ---------- samazināta kustība ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .w, .rv, .hero-float { opacity: 1 !important; transform: none !important; filter: none !important; }
  .bg canvas, .glow, .confetti, #fx, #intro { display: none !important; }
  .write-btn { animation: none; }
  .track i { width: var(--w); }
  .ring { --p: var(--target, 84); }
  .spark .line { stroke-dashoffset: 0; }
  .spark .area { opacity: 1; }
}

/* ---------- ERAS dokumentu numuru krāsas ---------- */
.num { display: inline-block; min-width: 3.1em; text-align: center; padding: 2px 9px; border-radius: 8px; font-size: .78rem; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--nc); background: color-mix(in srgb, var(--nc) 17%, transparent); border: 1px solid color-mix(in srgb, var(--nc) 38%, transparent); }
.t-rec { --nc: #3b8cff; } .t-cre { --nc: #f0603a; } .t-deb { --nc: #c9a100; } .t-pre { --nc: #1fb5a8; } .t-par { --nc: #9a6bff; }
.t-fix { --nc: #e0489a; } .t-bld { --nc: #7a8a00; } .t-spe { --nc: #d98200; } .t-self { --nc: #2fb35a; } .t-oth { --nc: #7b86a6; }
:root[data-theme="dark"] .t-bld { --nc: #b6c928; } :root[data-theme="dark"] .t-deb { --nc: #f0c419; } :root[data-theme="dark"] .t-rec { --nc: #6ea8ff; } :root[data-theme="dark"] .t-par { --nc: #b79bff; }
.tr .num { justify-self: start; }
.tr.new .num { animation: stPop 2s ease-in-out 1; }
.doc-legend { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: .72rem; color: var(--muted); }
.doc-legend span { display: inline-flex; align-items: center; gap: 5px; }
.doc-legend .num { min-width: 0; padding: 0 6px; font-size: .68rem; border-radius: 6px; }
a.link { color: var(--brand); }
