/* =====================================================================================
   Netsheipas – dizaino sistema
   Tiksli, šviesi industrinė sąsaja: šiltas neutralus pagrindas, beveik juodas tekstas,
   vienas techninis akcentas (signalinė oranžinė), plonos linijos, Inter + JetBrains Mono metaduomenims.
   ===================================================================================== */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/Inter-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/Inter-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(../fonts/JetBrainsMono-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2212, U+00D7; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(../fonts/JetBrainsMono-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5; }

:root {
	/* Spalvos */
	--bg: #F6F5F1;
	--bg-2: #EFEDE7;
	--surface: #FFFFFF;
	--ink: #111315;
	--ink-2: #33363B;
	--muted: #676B72;
	--faint: #9A9EA5;
	--line: #E2DFD7;
	--line-2: #ECEAE4;
	--accent: #FF4F00;          /* signalinė oranžinė – akcentai, indikatoriai, fokusas */
	--accent-ink: #B33A00;      /* akcentas tekstui (AA kontrastas) */
	--accent-soft: #FFF1EA;
	--ok: #1E7F4A;  --ok-soft: #E8F4EC;
	--warn: #A35F00; --warn-soft: #FDF3E1;
	--bad: #B8321A; --bad-soft: #FBEAE6;
	--heat-red: #E03A1E; --heat-orange: #F29A1A; --heat-green: #2F9E5B;
	/* Tipografija */
	--sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	--fs-xs: 12px; --fs-sm: 13.5px; --fs-base: 16px; --fs-md: 18px;
	--h1: clamp(34px, 5.2vw, 64px); --h2: clamp(27px, 3.4vw, 42px); --h3: clamp(20px, 2vw, 25px); --h4: 18px;
	/* Tarpai, spinduliai, šešėliai */
	--s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
	--sec: clamp(56px, 8vw, 112px);
	--r1: 6px; --r2: 10px; --r3: 14px; --r4: 20px;
	--sh1: 0 1px 2px rgba(17, 19, 21, .06);
	--sh2: 0 6px 24px -8px rgba(17, 19, 21, .14), 0 1px 2px rgba(17, 19, 21, .05);
	--sh3: 0 24px 60px -20px rgba(17, 19, 21, .28);
	--wrap: 1240px;
	--gut: clamp(16px, 4vw, 40px);
	--hdr: 68px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Pagrindas ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 16px); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--fs-base)/1.6 var(--sans); font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--accent); color: #fff; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.022em; line-height: 1.12; }
h1 { font-size: var(--h1); letter-spacing: -.035em; line-height: 1.04; }
h2 { font-size: var(--h2); letter-spacing: -.03em; }
h3 { font-size: var(--h3); }
h4 { font-size: var(--h4); letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 999; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--r1); }
.skip:focus { top: 8px; }
.mono { font-family: var(--mono); font-size: .86em; letter-spacing: .01em; }
.muted { color: var(--muted); }
.nowrap { white-space: nowrap; }

/* ---------- Išdėstymas ---------- */
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.wrap--narrow { max-width: calc(820px + 2 * var(--gut)); }
.sec { padding: var(--sec) 0; }
.sec--tight { padding: calc(var(--sec) * .6) 0; }
.sec--white { background: var(--surface); border-block: 1px solid var(--line-2); }
.sec--ink { background: var(--ink); color: #EDECE8; }
.sec__head { display: flex; align-items: end; justify-content: space-between; gap: var(--s5); margin-bottom: var(--s6); flex-wrap: wrap; }
.sec__head p { max-width: 560px; color: var(--muted); margin: var(--s3) 0 0; font-size: var(--fs-md); }
.sec--ink .sec__head p { color: #A9ACB2; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--s4); }
.eyebrow::before { content: ""; width: 6px; height: 6px; background: var(--accent); border-radius: 1px; }
.sec--ink .eyebrow { color: #A9ACB2; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); line-height: 1.55; }
.grid { display: grid; gap: var(--s4); }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1024px) { .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: minmax(0, 1fr); } }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } }
.stack > * + * { margin-top: var(--s4); }

/* ---------- Mygtukai ---------- */
.btn { --b: var(--ink); --c: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 20px; border-radius: var(--r2); border: 1px solid var(--b); background: var(--b); color: var(--c); font-weight: 600; font-size: 15px; letter-spacing: -.005em; text-decoration: none; white-space: nowrap; transition: transform .15s var(--ease), background .2s, box-shadow .2s, border-color .2s; }
.btn:hover { background: #26292D; border-color: #26292D; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--accent { --b: var(--accent); --c: #fff; }
.btn--accent:hover { background: #E84700; border-color: #E84700; }
.btn--ghost { --b: transparent; --c: var(--ink); border-color: var(--line); background: var(--surface); }
.btn--ghost:hover { background: var(--surface); border-color: var(--ink); }
.btn--soft { --c: var(--ink); background: var(--bg-2); border-color: var(--bg-2); }
.btn--soft:hover { background: var(--line); border-color: var(--line); }
.btn--lg { min-height: 56px; padding: 0 26px; font-size: 16px; border-radius: 12px; }
.btn--sm { min-height: 36px; padding: 0 14px; font-size: 14px; border-radius: 8px; }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-busy { opacity: .55; pointer-events: none; }
.btn .ic-up { color: var(--accent); }
.sec--ink .btn--ghost { background: transparent; color: #fff; border-color: #3A3D42; }
.link { color: var(--ink); font-weight: 500; text-decoration: underline; text-decoration-color: var(--line); }
.link:hover { text-decoration-color: var(--ink); }
.arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.arrow::after { content: "→"; transition: transform .2s var(--ease); }
.arrow:hover::after { transform: translateX(3px); }
.iconbtn { width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: var(--r2); border: 1px solid transparent; background: transparent; color: var(--ink); }
.iconbtn:hover { background: var(--bg-2); }
.iconbtn svg { width: 20px; height: 20px; }

/* ---------- Formos, žymos, segmentai ---------- */
.field { display: grid; gap: 6px; }
.field > span, .label { font-size: 13px; font-weight: 500; color: var(--ink-2); }
.input, .select, .textarea { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r1); background: var(--surface); transition: border-color .15s, box-shadow .15s; }
.textarea { min-height: 88px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(255, 79, 0, .18); }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 14px; font-weight: 500; color: var(--ink-2); cursor: pointer; transition: border-color .15s, background .15s, color .15s; user-select: none; }
.chip:hover { border-color: var(--ink-2); }
.chip[aria-pressed="true"], .chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.seg { display: inline-flex; padding: 3px; background: var(--bg-2); border-radius: 10px; gap: 2px; }
.seg button { border: 0; background: transparent; min-height: 34px; padding: 0 14px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--muted); }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--sh1); }
.badge { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 999px; font: 600 11.5px/1 var(--sans); letter-spacing: .02em; background: var(--bg-2); color: var(--ink-2); white-space: nowrap; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .9; }
.badge--ok { background: var(--ok-soft); color: var(--ok); }
.badge--warn { background: var(--warn-soft); color: var(--warn); }
.badge--bad { background: var(--bad-soft); color: var(--bad); }
.badge--accent { background: var(--accent-soft); color: var(--accent-ink); }
.badge--plain::before { display: none; }
.dots { display: inline-flex; gap: 3px; vertical-align: middle; }
.dots i { width: 14px; height: 4px; border-radius: 2px; background: var(--line); }
.dots i.on { background: var(--ink); }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 14px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 500; }

/* ---------- Kortelės, lentelės ---------- */
.card { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r3); padding: var(--s5); position: relative; transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
a.card { text-decoration: none; display: block; }
a.card:hover, .card--hover:hover { border-color: var(--line); box-shadow: var(--sh2); transform: translateY(-2px); }
.card h3, .card h4 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; margin-bottom: 0; }
.card__img { margin: calc(var(--s5) * -1) calc(var(--s5) * -1) var(--s4); border-radius: var(--r3) var(--r3) 0 0; overflow: hidden; background: #fff; aspect-ratio: 4 / 3; display: grid; place-items: center; border-bottom: 1px solid var(--line-2); }
.card__img img { width: 78%; height: 78%; object-fit: contain; transition: transform .5s var(--ease); }
a.card:hover .card__img img { transform: scale(1.04); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line-2); border-radius: var(--r2); background: var(--surface); }
.table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.table th, .table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.table thead th { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); background: #FBFAF8; position: sticky; top: 0; }
.table tbody tr:last-child td { border-bottom: 0; }
.table td.num, .table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.table .tbd { color: var(--faint); font-style: italic; }
.table tbody th { font-weight: 500; color: var(--ink-2); }

/* ---------- Antraštė ---------- */
.hdr { position: sticky; top: 0; z-index: 60; background: rgba(246, 245, 241, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, background .2s; }
.hdr.is-scrolled { border-bottom-color: var(--line); background: rgba(246, 245, 241, .94); }
.hdr__in { height: var(--hdr); display: flex; align-items: center; gap: var(--s5); }
.logo { display: inline-flex; align-items: center; flex: none; }
.logo img { height: 38px; width: auto; }
.nav { display: flex; align-items: center; gap: 2px; margin: 0 auto 0 8px; }
.nav > li { list-style: none; position: relative; }
.nav ul { margin: 0; padding: 0; }
.nav__a { display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 12px; border-radius: 8px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); text-decoration: none; background: none; border: 0; }
.nav__a:hover, .nav > li:focus-within > .nav__a, .nav > li.is-open > .nav__a { background: var(--bg-2); color: var(--ink); }
.nav__a[aria-current="page"] { color: var(--ink); }
.nav__a svg { width: 14px; height: 14px; opacity: .6; }
.mega { position: absolute; top: calc(100% + 8px); left: -12px; width: min(720px, 80vw); padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r3); box-shadow: var(--sh3); display: grid; grid-template-columns: 1fr 1fr; gap: 6px; opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .18s, transform .18s var(--ease), visibility .18s; }
.mega--sm { width: 340px; grid-template-columns: 1fr; }
.nav > li:hover > .mega, .nav > li:focus-within > .mega, .nav > li.is-open > .mega { opacity: 1; visibility: visible; transform: none; }
.mega a { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 10px; border-radius: var(--r2); text-decoration: none; align-items: center; }
.mega a:hover { background: var(--bg); }
.mega b { display: block; font-size: 14.5px; font-weight: 600; }
.mega small { display: block; font-size: 13px; color: var(--muted); line-height: 1.4; }
.mega .tag { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: var(--bg-2); font: 600 12px/1 var(--mono); color: var(--ink); }
.mega--sm a { grid-template-columns: 1fr; padding: 9px 12px; }
.mega__foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; margin-top: 6px; padding: 12px 10px 2px; border-top: 1px solid var(--line-2); font-size: 14px; }
.mega__group { grid-column: span 1; }
.mega__group h6 { margin: 6px 10px; font: 600 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.mega__group a { grid-template-columns: 1fr; padding: 6px 10px; font-size: 14px; }
.mega--mats { width: min(860px, 86vw); grid-template-columns: repeat(4, 1fr); }
.hdr__tools { display: flex; align-items: center; gap: 6px; }
.hdr__proj { position: relative; }
.hdr__proj .count { position: absolute; top: 4px; right: 3px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--accent); color: #fff; font: 700 10.5px/17px var(--sans); text-align: center; }
.hdr__proj .count:empty { display: none; }
.hdr__menu { display: none; }
@media (max-width: 1180px) { .nav__a { padding: 0 9px; font-size: 14px; } .hdr__price { display: none; } }
@media (max-width: 1040px) {
	.nav, .hdr__cta { display: none; }
	.hdr__menu { display: inline-grid; }
	.hdr__in { gap: 8px; }
	.hdr__tools { margin-left: auto; }
	.logo img { height: 32px; }
	:root { --hdr: 58px; }
}

/* Mobilus meniu (pilnas ekranas) */
.mnav { position: fixed; inset: 0; z-index: 90; background: var(--bg); display: flex; flex-direction: column; transform: translateY(8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .25s var(--ease), visibility .2s; }
.mnav.is-open { opacity: 1; visibility: visible; transform: none; }
.mnav__top { height: 58px; display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gut); border-bottom: 1px solid var(--line); }
.mnav__body { flex: 1; overflow-y: auto; padding: 12px var(--gut) 120px; }
.mnav__body h6 { margin: 22px 0 8px; font: 600 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.mnav__body a { display: flex; justify-content: space-between; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line-2); text-decoration: none; font-size: 17px; font-weight: 500; }
.mnav__body a small { color: var(--muted); font-size: 13px; font-weight: 400; }

/* Mobilus skirtukų juosta */
.tabbar { display: none; }
@media (max-width: 1040px) {
	.tabbar { position: fixed; z-index: 70; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); }
	.tabbar a, .tabbar button { display: grid; justify-items: center; gap: 3px; padding: 6px 0 2px; font-size: 11px; font-weight: 500; color: var(--muted); text-decoration: none; background: none; border: 0; position: relative; }
	.tabbar svg { width: 22px; height: 22px; }
	.tabbar [aria-current="page"] { color: var(--ink); }
	.tabbar .tab-up { color: var(--ink); }
	.tabbar .tab-up span.ic { width: 52px; height: 52px; margin-top: -26px; border-radius: 16px; background: var(--ink); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 20px -6px rgba(17, 19, 21, .5); }
	.tabbar .tab-up span.ic svg { color: var(--accent); width: 24px; height: 24px; }
	.tabbar .count { position: absolute; top: 2px; left: 55%; min-width: 16px; height: 16px; border-radius: 8px; background: var(--accent); color: #fff; font: 700 10px/16px var(--sans); }
	.tabbar .count:empty { display: none; }
	body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
}

/* ---------- Duonos trupiniai ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--muted); margin-bottom: var(--s5); padding: 0; list-style: none; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--faint); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }

/* ---------- Įkėlimo zona (visur ta pati) ---------- */
.drop { position: relative; display: grid; place-items: center; text-align: center; gap: 14px; padding: clamp(26px, 4vw, 44px) 24px; border-radius: var(--r4); background: var(--surface); border: 1.5px dashed #CFCBC1; cursor: pointer; transition: border-color .2s, background .2s, box-shadow .25s, transform .25s var(--ease); isolation: isolate; }
.drop:hover { border-color: var(--ink-2); }
.drop.is-over { border-color: var(--accent); border-style: solid; background: #FFFBF8; box-shadow: 0 0 0 6px rgba(255, 79, 0, .12), var(--sh2); transform: scale(1.01); }
.drop__ic { width: 58px; height: 58px; border-radius: 16px; background: var(--ink); display: grid; place-items: center; color: var(--accent); transition: transform .3s var(--ease); }
.drop.is-over .drop__ic { transform: translateY(-4px) scale(1.06); }
.drop__ic svg { width: 26px; height: 26px; }
.drop__t { font-size: clamp(19px, 2vw, 23px); font-weight: 600; letter-spacing: -.02em; }
.drop__f { font: 500 13px/1 var(--mono); letter-spacing: .06em; color: var(--muted); }
.drop__or { font-size: 14px; color: var(--muted); }
.drop__fine { display: flex; gap: 6px 14px; flex-wrap: wrap; justify-content: center; font-size: 13px; color: var(--muted); }
.drop__fine span { display: inline-flex; align-items: center; gap: 6px; }
.drop__fine svg { width: 15px; height: 15px; color: var(--ok); }
.drop input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.drop--compact { padding: 22px; grid-template-columns: auto 1fr auto; text-align: left; place-items: center start; gap: 16px; }
.drop--compact .drop__ic { width: 46px; height: 46px; border-radius: 12px; }
.drop--compact .drop__fine { justify-content: flex-start; }
@media (max-width: 640px) { .drop--compact { grid-template-columns: 1fr; text-align: center; place-items: center; } .drop--compact .drop__fine { justify-content: center; } .drop__desk { display: none; } }
@media (min-width: 641px) { .drop__mob { display: none; } }
.priv { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.priv svg { width: 16px; height: 16px; color: var(--ok); }

/* ---------- Pradžios herojus ---------- */
.hero { position: relative; padding: clamp(28px, 5vw, 64px) 0 clamp(40px, 6vw, 88px); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line-2) 1px, transparent 1px), linear-gradient(90deg, var(--line-2) 1px, transparent 1px); background-size: 32px 32px; mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, #000 20%, transparent 75%); opacity: .8; pointer-events: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero h1 { margin-bottom: var(--s5); }
.hero h1 em { font-style: normal; color: var(--muted); }
.hero__sub { font-size: clamp(17px, 1.7vw, 20px); color: var(--ink-2); max-width: 540px; margin-bottom: var(--s5); }
.hero__tech { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--s6); }
.hero__tech a { text-decoration: none; }
.hero__drop { max-width: 560px; }
.hero__alt { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: var(--s4); }
.hero__stage { position: relative; aspect-ratio: 1 / 1; max-height: 620px; justify-self: center; width: 100%; }
.hero__stage canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.hero__poster { position: absolute; inset: 8%; display: grid; place-items: center; transition: opacity .6s; }
.hero__poster img { width: 88%; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .14)); }
.hero__stage.is-3d .hero__poster { opacity: 0; }
.hero__spec { position: absolute; left: 4%; bottom: 6%; padding: 12px 14px; border-radius: var(--r2); background: rgba(255, 255, 255, .86); backdrop-filter: blur(8px); border: 1px solid var(--line); font: 500 12px/1.6 var(--mono); color: var(--ink-2); box-shadow: var(--sh1); }
.hero__spec b { color: var(--ink); font-weight: 600; }
.hero__ring { position: absolute; right: 6%; top: 8%; padding: 8px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 12.5px; font-weight: 600; display: inline-flex; gap: 8px; align-items: center; box-shadow: var(--sh1); }
.hero__ring::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px var(--ok-soft); }
@media (max-width: 900px) {
	.hero__grid { grid-template-columns: minmax(0, 1fr); }
	.hero__stage { max-height: 320px; aspect-ratio: 4 / 3; }
	.hero__spec { display: none; }
}
@media (max-width: 640px) {
	.hero { padding-top: 18px; }
	.hero__stage { display: none; }
	.hero h1 { font-size: 36px; margin-bottom: 14px; }
	.hero__sub { font-size: 16px; margin-bottom: 16px; }
	.hero__tech { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gut) * -1) 18px; padding: 0 var(--gut); scrollbar-width: none; }
	.hero__tech .chip { flex: none; min-height: 34px; font-size: 13px; }
	.welcome { font-size: 13.5px; padding: 10px 12px; }
	.drop { padding: 22px 18px; gap: 10px; }
	.drop__ic { width: 48px; height: 48px; }
}
.welcome { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding: 12px 16px; border-radius: var(--r2); background: var(--surface); border: 1px solid var(--line); margin-bottom: var(--s5); font-size: 14.5px; }
.welcome b { font-weight: 600; }

/* ---------- Pasitikėjimo juosta ---------- */
.proof { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof > div { padding: 22px 20px; border-right: 1px solid var(--line); }
.proof > div:last-child { border-right: 0; }
.proof b { display: block; font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; letter-spacing: -.03em; }
.proof span { font-size: 13.5px; color: var(--muted); }
@media (max-width: 760px) { .proof { grid-template-columns: 1fr 1fr; } .proof > div:nth-child(2) { border-right: 0; } .proof > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

/* ---------- Žingsniai ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: st; border: 1px solid var(--line-2); border-radius: var(--r3); background: var(--surface); overflow: hidden; }
.steps > div { padding: 26px 24px 28px; border-right: 1px solid var(--line-2); position: relative; }
.steps > div:last-child { border-right: 0; }
.steps > div::before { counter-increment: st; content: "0" counter(st); display: block; font: 600 12px/1 var(--mono); color: var(--accent-ink); margin-bottom: 18px; letter-spacing: .06em; }
.steps h3 { font-size: 19px; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 14.5px; margin: 0; }
.steps svg { width: 28px; height: 28px; margin-bottom: 14px; color: var(--ink); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } .steps > div:nth-child(2) { border-right: 0; } .steps > div:nth-child(-n+2) { border-bottom: 1px solid var(--line-2); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } .steps > div { border-right: 0; border-bottom: 1px solid var(--line-2); } }
.flow { display: flex; align-items: center; gap: 0; overflow-x: auto; padding: 6px 0 2px; scrollbar-width: none; }
.flow span { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 13.5px; font-weight: 500; }
.flow i { flex: none; width: 28px; height: 1px; background: var(--line); position: relative; }
.flow i::after { content: ""; position: absolute; right: 0; top: -3px; border: 3.5px solid transparent; border-left-color: var(--faint); }
.flow span.is-on { border-color: var(--ink); }

/* ---------- Technologijų kortelės ---------- */
.tcard { display: flex; flex-direction: column; }
.tcard__abbr { font: 600 13px/1 var(--mono); letter-spacing: .06em; color: var(--accent-ink); margin-bottom: 10px; }
.tcard dl { display: grid; grid-template-columns: 1fr auto; gap: 7px 12px; margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line-2); font-size: 13.5px; }
.tcard dt { color: var(--muted); }
.tcard dd { margin: 0; text-align: right; font-weight: 500; }
.tcard .arrow { margin-top: auto; padding-top: 18px; font-size: 14.5px; }

/* ---------- Medžiagų kortelės ---------- */
.mcard { display: flex; flex-direction: column; gap: 6px; }
.mcard__top { display: flex; justify-content: space-between; align-items: start; gap: 10px; }
.mcard__name { font-size: 18px; font-weight: 600; letter-spacing: -.015em; }
.mcard__tech { font: 500 11.5px/1 var(--mono); letter-spacing: .05em; color: var(--muted); }
.mcard__tag { font-size: 14px; color: var(--muted); margin: 2px 0 8px; }
.mcard__rows { display: grid; gap: 6px; font-size: 13px; }
.mcard__rows div { display: grid; grid-template-columns: 92px 1fr; align-items: center; }
.mcard__rows span { color: var(--muted); }
.price-marks { font: 600 13px/1 var(--mono); color: var(--ink); letter-spacing: .04em; }
.price-marks i { color: var(--line); font-style: normal; }

/* ---------- Galerija ---------- */
.gallery { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.gallery figure { margin: 0; background: #fff; border: 1px solid var(--line-2); border-radius: var(--r2); overflow: hidden; aspect-ratio: 1; position: relative; }
.gallery img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s var(--ease); }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption { position: absolute; left: 8px; bottom: 8px; font: 600 10.5px/1 var(--mono); letter-spacing: .06em; padding: 5px 7px; border-radius: 5px; background: rgba(255, 255, 255, .9); border: 1px solid var(--line-2); }
.gallery .wide { grid-column: span 2; grid-row: span 2; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Pagalbininkas (technologijos parinkimas) ---------- */
.finder { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r4); padding: clamp(20px, 3vw, 36px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); }
.finder__q h3 { margin-bottom: 6px; }
.finder__q p { color: var(--muted); }
.finder__step { margin-top: 18px; }
.finder__step .label { display: block; margin-bottom: 10px; }
.finder__out { background: var(--bg); border-radius: var(--r3); padding: 20px; min-height: 260px; display: flex; flex-direction: column; gap: 10px; }
.rec { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r2); padding: 14px 16px; display: grid; gap: 4px; animation: rise .35s var(--ease) both; }
.rec:nth-child(2) { animation-delay: .05s; } .rec:nth-child(3) { animation-delay: .1s; }
.rec b { font-size: 16px; }
.rec small { color: var(--muted); font-size: 13.5px; line-height: 1.45; }
.rec .badge { justify-self: start; }
.rec__note { font-size: 12.5px; color: var(--muted); margin-top: auto; }
@media (max-width: 900px) { .finder { grid-template-columns: minmax(0, 1fr); } }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- DUK ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; font-size: 17px; font-weight: 500; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(45deg); transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .ans { padding: 0 0 22px; color: var(--ink-2); max-width: 760px; }
.faq .ans p:last-child { margin: 0; }

/* ---------- Galutinis kvietimas ---------- */
.final { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.final h2 { color: #fff; margin-bottom: 16px; }
.final p { color: #A9ACB2; font-size: 18px; }
.sec--ink .drop { background: #1A1C1F; border-color: #3A3D42; color: #fff; }
.sec--ink .drop:hover { border-color: #6B6F76; }
.sec--ink .drop__ic { background: var(--accent); color: #fff; }
.sec--ink .drop__f, .sec--ink .drop__or, .sec--ink .drop__fine { color: #A9ACB2; }
@media (max-width: 900px) { .final { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Puslapio antraštė (vidiniai) ---------- */
.phead { padding: clamp(28px, 4vw, 56px) 0 clamp(24px, 3vw, 40px); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--bg) 0%, var(--bg) 100%); }
.phead__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.phead h1 { font-size: clamp(32px, 4.4vw, 54px); margin-bottom: 18px; }
.phead .lead { margin: 0 0 24px; max-width: 660px; }
.phead__media { background: #fff; border: 1px solid var(--line-2); border-radius: var(--r4); aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; }
.phead__media img { width: 78%; height: 78%; object-fit: contain; }
.phead__cta { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 900px) { .phead__grid { grid-template-columns: minmax(0, 1fr); } .phead__media { aspect-ratio: 16 / 9; } }
.answer { border-left: 3px solid var(--accent); padding: 4px 0 4px 18px; margin: 0 0 24px; font-size: 17.5px; color: var(--ink-2); max-width: 700px; }
.answer b { color: var(--ink); }

/* Technologijos specifikacijos juosta */
.specbar { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r3); }
.specbar div { padding: 18px 18px; border-right: 1px solid var(--line-2); }
.specbar div:last-child { border-right: 0; }
.specbar span { display: block; font: 500 11px/1.2 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.specbar b { font-size: 16px; font-weight: 600; }
@media (max-width: 900px) { .specbar { grid-template-columns: 1fr 1fr; } .specbar div { border-bottom: 1px solid var(--line-2); } .specbar div:nth-child(2n) { border-right: 0; } }

/* Turinio tekstas */
.prose { font-size: 17px; line-height: 1.7; color: var(--ink-2); max-width: 760px; }
.prose h2 { font-size: clamp(24px, 2.6vw, 32px); color: var(--ink); margin: 2em 0 .6em; }
.prose h3 { font-size: 20px; color: var(--ink); margin: 1.6em 0 .5em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--accent); }
.prose a { color: var(--ink); font-weight: 500; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 1.4em 0; background: var(--surface); border: 1px solid var(--line-2); }
.prose th, .prose td { padding: 10px 14px; border-bottom: 1px solid var(--line-2); text-align: left; }
.prose th { font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); background: #FBFAF8; }
.prose blockquote { margin: 1.4em 0; padding: 16px 20px; border-radius: var(--r2); background: var(--surface); border: 1px solid var(--line-2); }
.prose .note { padding: 14px 18px; border-radius: var(--r2); background: var(--accent-soft); color: var(--ink); font-size: 15.5px; }
.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(28px, 4vw, 64px); align-items: start; }
.aside { position: sticky; top: calc(var(--hdr) + 20px); display: grid; gap: 14px; }
.aside .card p { font-size: 14.5px; }
.toc { font-size: 14px; }
.toc a { display: block; padding: 6px 0; color: var(--muted); text-decoration: none; border-left: 2px solid transparent; padding-left: 12px; margin-left: -14px; }
.toc a:hover, .toc a.is-on { color: var(--ink); border-left-color: var(--accent); }
@media (max-width: 1024px) { .with-aside { grid-template-columns: minmax(0, 1fr); } .aside { position: static; } }

/* Medžiagos puslapis */
.vtabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.stat { padding: 16px; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r2); }
.stat span { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 6px; }
.stat b { font-size: 20px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat b.tbd { font-size: 15px; color: var(--faint); font-weight: 500; }
.swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.sw { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 13.5px; }
.sw i { width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .1); flex: none; }

/* Palyginimas ir matrica */
.cmp { overflow-x: auto; }
.cmp table { min-width: 680px; }
.cmp th:first-child { width: 190px; }
.matrix th, .matrix td { text-align: center; }
.matrix td:first-child, .matrix th:first-child { text-align: left; }
.matrix .yes { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; background: var(--ink); color: #fff; font-size: 13px; text-decoration: none; }
.matrix .no { color: var(--line); }
.matrix tr.is-dim td { opacity: .25; }
.cmpbar { position: fixed; left: 50%; bottom: 20px; z-index: 75; transform: translate(-50%, 140%); display: flex; gap: 12px; align-items: center; padding: 10px 10px 10px 18px; background: var(--ink); color: #fff; border-radius: 14px; box-shadow: var(--sh3); transition: transform .3s var(--ease); font-size: 14.5px; }
.cmpbar.is-on { transform: translate(-50%, 0); }
@media (max-width: 1040px) { .cmpbar { bottom: 84px; } }

/* Prieš / po slankiklis */
.ba { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r3); overflow: hidden; background: #fff; border: 1px solid var(--line-2); user-select: none; touch-action: pan-y; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.ba__top { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--x, 50%)) 0 0); background: #fff; }
.ba__bar { position: absolute; top: 0; bottom: 0; left: var(--x, 50%); width: 2px; background: var(--accent); }
.ba__bar::after { content: "⇆"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 36px; height: 36px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; font-size: 15px; box-shadow: var(--sh2); }
.ba__lbl { position: absolute; top: 12px; font: 600 11px/1 var(--mono); letter-spacing: .07em; padding: 6px 8px; border-radius: 6px; background: rgba(255, 255, 255, .9); border: 1px solid var(--line-2); }
.ba input { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: ew-resize; margin: 0; }

/* ---------- Poraštė ---------- */
.ftr { background: var(--surface); border-top: 1px solid var(--line); padding: var(--s8) 0 var(--s6); font-size: 14.5px; }
.ftr__grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: var(--s6); }
.ftr h6 { margin: 0 0 14px; font: 600 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.ftr a { text-decoration: none; color: var(--ink-2); }
.ftr a:hover { color: var(--ink); text-decoration: underline; }
.ftr__brand p { color: var(--muted); max-width: 300px; margin: 14px 0; }
.ftr__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: var(--s7); padding-top: var(--s5); border-top: 1px solid var(--line-2); color: var(--muted); font-size: 13px; }
.ftr__legal a { color: var(--muted); }
@media (max-width: 960px) { .ftr__grid { grid-template-columns: 1fr 1fr; } .ftr__brand { grid-column: 1 / -1; } }

/* ---------- Paieška, asistentas, sutikimas, pranešimai ---------- */
.overlay { position: fixed; inset: 0; z-index: 100; background: rgba(17, 19, 21, .32); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
.overlay.is-open { opacity: 1; visibility: visible; }
.search { position: fixed; z-index: 101; left: 50%; top: 10vh; width: min(720px, calc(100% - 24px)); transform: translate(-50%, -10px); background: var(--surface); border-radius: var(--r3); box-shadow: var(--sh3); opacity: 0; visibility: hidden; transition: opacity .2s, transform .25s var(--ease), visibility .2s; overflow: hidden; }
.search.is-open { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.search__bar { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line-2); }
.search__bar svg { width: 20px; height: 20px; color: var(--muted); flex: none; }
.search__bar input { flex: 1; border: 0; outline: 0; font-size: 18px; background: transparent; min-width: 0; }
.search__res { max-height: 60vh; overflow-y: auto; padding: 8px; }
.search__res h6 { margin: 12px 10px 6px; font: 600 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.search__res a { display: block; padding: 10px 12px; border-radius: var(--r1); text-decoration: none; }
.search__res a:hover, .search__res a.is-act { background: var(--bg); }
.search__res a b { display: block; font-weight: 600; font-size: 15px; }
.search__res a small { color: var(--muted); font-size: 13px; }
.search__hint { padding: 14px 18px; color: var(--muted); font-size: 14px; }
.search__hint .chips { margin-top: 10px; }
.drawer { position: fixed; z-index: 101; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--surface); box-shadow: var(--sh3); transform: translateX(102%); transition: transform .3s var(--ease); display: flex; flex-direction: column; }
.drawer.is-open { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--line-2); }
.drawer__head h3 { font-size: 18px; }
.drawer__body { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.drawer__foot { padding: 12px 14px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line-2); }
.msg { max-width: 92%; padding: 11px 14px; border-radius: 14px; font-size: 15px; line-height: 1.5; animation: rise .25s var(--ease) both; }
.msg--me { align-self: flex-end; background: var(--ink); color: #fff; border-bottom-right-radius: 4px; }
.msg--bot { align-self: flex-start; background: var(--bg); border-bottom-left-radius: 4px; }
.msg--bot .links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.msg--bot .links a { font-size: 13px; padding: 6px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; font-weight: 500; }
.ask { display: flex; gap: 8px; }
.ask input { flex: 1; min-width: 0; }
.consent { position: fixed; z-index: 95; left: 16px; bottom: 16px; max-width: 420px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r3); box-shadow: var(--sh3); font-size: 14px; display: none; }
.consent.is-on { display: block; }
.consent p { margin: 0 0 12px; color: var(--ink-2); }
.consent .row { display: flex; gap: 8px; }
@media (max-width: 1040px) { .consent { left: 10px; right: 10px; bottom: 84px; max-width: none; } }
.toast { position: fixed; z-index: 140; left: 50%; bottom: 28px; transform: translate(-50%, 20px); opacity: 0; padding: 12px 16px; border-radius: 12px; background: var(--ink); color: #fff; font-size: 14.5px; box-shadow: var(--sh3); transition: opacity .2s, transform .25s var(--ease); pointer-events: none; max-width: calc(100% - 24px); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 1040px) { .toast { bottom: 96px; } }

/* =====================================================================================
   KONFIGŪRATORIUS (programėlė)
   ===================================================================================== */
.app { --panel: 400px; position: fixed; inset: 0; z-index: 120; background: var(--bg); display: grid; grid-template-rows: 58px minmax(0, 1fr); opacity: 0; transition: opacity .25s; }
.app.is-in { opacity: 1; }
.app--inline { position: relative; z-index: 1; inset: auto; min-height: calc(100vh - var(--hdr)); opacity: 1; }
html.app-open { overflow: hidden; }
html.app-open .tabbar, html.app-open .consent { display: none; }
.app__bar { display: flex; align-items: center; gap: 12px; padding: 0 12px 0 16px; background: var(--surface); border-bottom: 1px solid var(--line); min-width: 0; }
.app__brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.app__brand img { height: 28px; width: auto; }
.app__name { display: flex; align-items: center; gap: 8px; min-width: 0; padding-left: 12px; border-left: 1px solid var(--line); }
.app__name input { border: 1px solid transparent; background: transparent; padding: 6px 8px; border-radius: 6px; font-weight: 600; font-size: 15px; min-width: 0; width: clamp(140px, 24vw, 320px); }
.app__name input:hover { border-color: var(--line); }
.app__name input:focus { outline: none; border-color: var(--ink); background: #fff; }
.app__ref { font: 500 12px/1 var(--mono); color: var(--muted); white-space: nowrap; }
.app__tools { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.app__save { font-size: 12.5px; color: var(--muted); white-space: nowrap; margin-right: 6px; }
.app__save.is-saving::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-right: 6px; animation: pulse 1s infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.app__main { display: grid; grid-template-columns: minmax(0, 1fr) var(--panel); min-height: 0; }
@media (min-width: 1500px) { .app { --panel: 440px; } }

/* Vaizdo sritis */
.vw { position: relative; min-width: 0; min-height: 0; background: radial-gradient(120% 90% at 50% 35%, #FFFFFF 0%, #F1EFEA 60%, #E8E5DE 100%); overflow: hidden; }
.vw canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; outline: none; }
.vw__tb { position: absolute; z-index: 3; top: 14px; left: 14px; display: flex; gap: 6px; flex-wrap: wrap; }
.tb { display: inline-flex; padding: 3px; gap: 2px; background: rgba(255, 255, 255, .92); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--sh1); backdrop-filter: blur(6px); }
.tb button { min-width: 34px; height: 32px; padding: 0 8px; border: 0; border-radius: 7px; background: transparent; font: 600 12px/1 var(--sans); color: var(--ink-2); display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.tb button:hover { background: var(--bg); }
.tb button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.tb svg { width: 17px; height: 17px; }
.vw__info { position: absolute; z-index: 3; top: 14px; right: 14px; width: 260px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: var(--r3); box-shadow: var(--sh2); font-size: 13px; overflow: hidden; }
.vw__info header { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--line-2); }
.vw__info header b { font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vw__info dl { margin: 0; padding: 10px 12px; display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; }
.vw__info dt { font: 500 10.5px/1.6 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.vw__info dd { margin: 0; text-align: right; font: 500 12.5px/1.6 var(--mono); font-variant-numeric: tabular-nums; }
.vw__info .issues { padding: 0 12px 10px; display: grid; gap: 6px; }
.vw__info .issue { display: grid; grid-template-columns: 14px 1fr; gap: 8px; font-size: 12.5px; line-height: 1.45; color: var(--ink-2); }
.vw__info .issue::before { content: ""; width: 8px; height: 8px; margin-top: 5px; border-radius: 50%; background: var(--warn); }
.vw__info .issue.review::before { background: var(--bad); }
.vw__info .note { padding: 8px 12px; border-top: 1px solid var(--line-2); font-size: 11.5px; color: var(--muted); }
.vw__info.is-min dl, .vw__info.is-min .issues, .vw__info.is-min .note { display: none; }
.vw__legend { position: absolute; z-index: 3; left: 14px; bottom: 92px; display: none; gap: 10px; align-items: center; padding: 8px 12px; border-radius: 10px; background: rgba(255, 255, 255, .94); border: 1px solid var(--line); font-size: 12px; box-shadow: var(--sh1); }
.vw__legend.is-on { display: flex; }
.vw__legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; margin-right: 4px; vertical-align: -1px; }
.vw__hint { position: absolute; z-index: 2; left: 50%; bottom: 96px; transform: translateX(-50%); font-size: 12px; color: var(--muted); background: rgba(255, 255, 255, .8); padding: 5px 10px; border-radius: 999px; pointer-events: none; transition: opacity .4s; white-space: nowrap; }
.vw__vis { position: absolute; z-index: 2; right: 14px; bottom: 96px; font-size: 11.5px; color: var(--muted); }
.vw__load { position: absolute; z-index: 4; inset: 0; display: grid; place-items: center; background: rgba(246, 245, 241, .7); backdrop-filter: blur(2px); transition: opacity .3s; }
.vw__load.is-off { opacity: 0; pointer-events: none; }
.prog { width: min(420px, 86%); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r3); padding: 18px 18px 16px; box-shadow: var(--sh2); }
.prog__file { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.prog__file span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prog__file em { font: 500 13px/1.4 var(--mono); font-style: normal; color: var(--muted); flex: none; }
.prog__bar { height: 6px; background: var(--bg-2); border-radius: 3px; overflow: hidden; }
.prog__bar i { display: block; height: 100%; width: 0; background: var(--ink); border-radius: 3px; transition: width .2s; }
.prog__steps { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 7px; font-size: 13.5px; color: var(--faint); }
.prog__steps li { display: flex; align-items: center; gap: 10px; }
.prog__steps li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid currentColor; flex: none; }
.prog__steps li.is-act { color: var(--ink); }
.prog__steps li.is-act::before { border-color: var(--accent); border-top-color: transparent; animation: spin .8s linear infinite; }
.prog__steps li.is-done { color: var(--ink-2); }
.prog__steps li.is-done::before { background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5 7 11l5-6' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") center / 10px no-repeat; border-color: var(--ok); }
.prog__steps li.is-err { color: var(--bad); }
.prog__steps li.is-err::before { border-color: var(--bad); background: var(--bad-soft); }
@keyframes spin { to { transform: rotate(360deg); } }

/* Detalių juosta po vaizdu */
.parts { position: absolute; z-index: 3; left: 14px; right: 14px; bottom: 14px; display: flex; gap: 8px; align-items: stretch; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.pt { flex: none; display: grid; grid-template-columns: 44px auto; gap: 10px; align-items: center; min-width: 170px; max-width: 240px; padding: 8px 12px 8px 8px; background: rgba(255, 255, 255, .94); border: 1px solid var(--line); border-radius: 12px; text-align: left; box-shadow: var(--sh1); transition: border-color .15s, box-shadow .15s; }
.pt:hover { border-color: var(--ink-2); }
.pt[aria-current="true"] { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink), var(--sh2); }
.pt img, .pt .ph { width: 44px; height: 44px; border-radius: 8px; background: var(--bg); object-fit: contain; }
.pt b { display: block; font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pt small { display: block; font: 500 11px/1.4 var(--mono); color: var(--muted); white-space: nowrap; }
.pt--add { grid-template-columns: 1fr; place-items: center; min-width: 120px; border-style: dashed; color: var(--ink-2); font-size: 13px; font-weight: 600; background: rgba(255, 255, 255, .7); }

/* Konfigūracijos skydelis */
.pn { display: flex; flex-direction: column; min-height: 0; background: var(--surface); border-left: 1px solid var(--line); }
.pn__scroll { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 4px 0 24px; }
.pn__sec { padding: 18px 20px; border-bottom: 1px solid var(--line-2); }
.pn__sec:last-child { border-bottom: 0; }
.pn__h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.pn__h h3 { font-size: 15px; font-weight: 600; letter-spacing: -.01em; display: flex; align-items: center; gap: 8px; }
.pn__h h3 i { font: 600 11px/1 var(--mono); font-style: normal; color: var(--faint); }
.pn__h .link { font-size: 13px; }
.pn__mode { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 20px; border-bottom: 1px solid var(--line-2); background: #FCFBF9; }
.pn__mode span { font-size: 13px; color: var(--muted); }
.opts { display: grid; gap: 8px; }
.opts--2 { grid-template-columns: 1fr 1fr; }
.opt { position: relative; display: block; width: 100%; text-align: left; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); transition: border-color .15s, box-shadow .15s, background .15s; }
.opt:hover { border-color: var(--ink-2); }
.opt[aria-pressed="true"], .opt[aria-checked="true"] { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.opt[aria-pressed="true"]::after, .opt[aria-checked="true"]::after { content: ""; position: absolute; top: 12px; right: 12px; width: 18px; height: 18px; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5 7 11l5-6' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") center / 12px no-repeat; }
.opt.is-off { opacity: .45; }
.opt.is-off:hover { border-color: var(--line); }
.opt__t { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14.5px; padding-right: 24px; }
.opt__t .mono { color: var(--accent-ink); font-size: 12px; }
.opt__d { display: block; margin-top: 4px; font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.opt__m { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 8px; font: 500 11.5px/1.4 var(--mono); color: var(--ink-2); }
.opt__m span { white-space: nowrap; }
.opt__p { position: absolute; right: 14px; bottom: 12px; font: 600 12.5px/1 var(--mono); color: var(--ink); }
.opt .badge { margin-top: 8px; }
.opt--rec { border-color: var(--accent); }
.opt--rec .opt__rec { position: absolute; top: -9px; left: 12px; background: var(--accent); color: #fff; font: 700 10px/1 var(--sans); letter-spacing: .05em; text-transform: uppercase; padding: 4px 7px; border-radius: 5px; }
.mats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mat { padding: 11px 12px; }
.mat .opt__t { font-size: 14px; }
.mat .rows { display: grid; gap: 3px; margin-top: 8px; font-size: 11.5px; }
.mat .rows div { display: grid; grid-template-columns: 62px 1fr; align-items: center; color: var(--muted); }
.mat .dots i { width: 10px; height: 3px; }
.mat .more { margin-top: 8px; display: flex; gap: 10px; font-size: 12px; }
.mat .more a, .mat .more button { border: 0; background: none; padding: 0; color: var(--muted); text-decoration: underline; text-underline-offset: 2px; font-size: 12px; }
.swatch-row { display: flex; flex-wrap: wrap; gap: 8px; }
.swb { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px 0 6px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 13px; font-weight: 500; }
.swb i { width: 24px; height: 24px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .12); }
.swb[aria-pressed="true"] { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.qty { display: flex; flex-wrap: wrap; gap: 6px; }
.qty button { min-width: 46px; height: 38px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); font-weight: 600; font-size: 14px; font-variant-numeric: tabular-nums; }
.qty button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.qty input { width: 86px; height: 38px; text-align: center; border: 1px solid var(--line); border-radius: 9px; font-weight: 600; }
.qtyinfo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 12px; background: var(--line-2); border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; }
.qtyinfo div { background: #FCFBF9; padding: 10px 12px; }
.qtyinfo span { display: block; font-size: 11.5px; color: var(--muted); }
.qtyinfo b { font-size: 15px; font-variant-numeric: tabular-nums; }
.qtyinfo .save b { color: var(--ok); }
.dims { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 6px; align-items: end; }
.dims label { display: grid; gap: 4px; font: 600 11px/1 var(--mono); color: var(--muted); }
.dims input { height: 38px; padding: 0 8px; border: 1px solid var(--line); border-radius: 8px; font: 500 13.5px var(--mono); width: 100%; min-width: 0; }
.lockbtn { height: 38px; width: 38px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); display: grid; place-items: center; }
.lockbtn[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.lockbtn svg { width: 16px; height: 16px; }
.scales { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.alert { display: grid; grid-template-columns: 20px 1fr; gap: 10px; padding: 12px 14px; border-radius: 10px; font-size: 13.5px; line-height: 1.5; background: var(--warn-soft); color: #5C3A00; }
.alert svg { width: 18px; height: 18px; margin-top: 1px; }
.alert b { display: block; color: #3D2600; }
.alert--bad { background: var(--bad-soft); color: #6A1C0E; }
.alert--bad b { color: #4A1309; }
.alert--info { background: var(--bg); color: var(--ink-2); }
.alert--info b { color: var(--ink); }
.alert .acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.alert .acts button { height: 30px; padding: 0 10px; border-radius: 7px; border: 1px solid rgba(0, 0, 0, .14); background: rgba(255, 255, 255, .7); font-size: 12.5px; font-weight: 600; }
.speed { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

/* Kainos juosta */
.pb { border-top: 1px solid var(--line); background: var(--surface); padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); box-shadow: 0 -10px 30px -18px rgba(17, 19, 21, .2); }
.pb__sum { font: 500 12px/1.5 var(--mono); color: var(--muted); letter-spacing: .02em; margin-bottom: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pb__row { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.pb__unit { font-size: 13px; color: var(--muted); }
.pb__unit b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.pb__total { text-align: right; }
.pb__total b { display: block; font-size: 28px; font-weight: 650; letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1.05; }
.pb__total small { font-size: 12px; color: var(--muted); }
.pb__acts { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.pb__links { display: flex; justify-content: space-between; gap: 10px; margin-top: 10px; font-size: 12.5px; }
.pb__links button { border: 0; background: none; padding: 0; color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.pb__links button:hover { color: var(--ink); }
.pb__disp { font-size: 12.5px; color: var(--ink-2); margin: -4px 0 10px; display: flex; gap: 6px; align-items: center; }
.pb__disp svg { width: 15px; height: 15px; color: var(--ok); }
.pb.is-calc .pb__total b { opacity: .45; }
.pb__manual { margin-bottom: 12px; }
.bk { margin: 0 0 12px; padding: 12px 14px; border-radius: 10px; background: var(--bg); font-size: 13px; display: none; }
.bk.is-on { display: block; }
.bk div { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; font-variant-numeric: tabular-nums; }
.bk div.t { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 8px; font-weight: 600; }
.bk p { margin: 8px 0 0; font-size: 11.5px; color: var(--muted); }

/* Modalai ir lapai */
.modal { position: fixed; z-index: 130; inset: 0; display: grid; place-items: center; padding: 16px; background: rgba(17, 19, 21, .36); opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
.modal.is-open { opacity: 1; visibility: visible; }
.modal__box { width: min(560px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; background: var(--surface); border-radius: var(--r4); box-shadow: var(--sh3); transform: translateY(10px); transition: transform .25s var(--ease); }
.modal.is-open .modal__box { transform: none; }
.modal__box--wide { width: min(920px, 100%); }
.modal__head { display: flex; justify-content: space-between; align-items: start; gap: 12px; padding: 20px 22px 0; }
.modal__head h3 { font-size: 21px; }
.modal__head p { margin: 6px 0 0; color: var(--muted); font-size: 14.5px; }
.modal__body { padding: 18px 22px 22px; display: grid; gap: 12px; }
.modal__foot { display: flex; justify-content: flex-end; gap: 8px; padding: 0 22px 22px; flex-wrap: wrap; }
.attached { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 12px; border-radius: 10px; background: var(--bg); font-size: 13px; }
.attached b { width: 100%; font-size: 12px; color: var(--muted); font-weight: 500; }
.attached span { padding: 4px 8px; border-radius: 6px; background: var(--surface); border: 1px solid var(--line-2); font: 500 12px/1.4 var(--mono); }
.cmpopts { display: grid; gap: 8px; }
.cmpopt { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); text-align: left; }
.cmpopt:hover { border-color: var(--ink); }
.cmpopt b { font-size: 15px; }
.cmpopt small { display: block; color: var(--muted); font-size: 12.5px; }
.cmpopt .p { font: 600 15px/1 var(--mono); }
.cmpopt.is-cur { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }

/* Mobilus konfigūratorius: vaizdas viršuje, ištempiamas lapas apačioje */
@media (max-width: 900px) {
	.app { grid-template-rows: 52px minmax(0, 1fr); }
	.app__bar { padding: 0 6px 0 10px; gap: 6px; }
	.app__brand img { height: 22px; }
	.app__name { padding-left: 8px; }
	.app__name input { width: 38vw; font-size: 14px; padding: 4px 6px; }
	.app__ref, .app__save, .app__tools .desk { display: none; }
	.app__main { grid-template-columns: minmax(0, 1fr); position: relative; }
	.vw { height: var(--vwh, 46svh); transition: height .32s var(--ease); }
	.vw__info { top: auto; bottom: 64px; right: 10px; left: 10px; width: auto; }
	.vw__info dl { grid-template-columns: repeat(4, auto); }
	.vw__info dd { text-align: left; }
	.vw__tb { top: 10px; left: 10px; right: 10px; }
	.vw__tb .tb--views { display: none; }
	.vw__hint, .vw__vis { display: none; }
	.parts { left: 10px; right: 10px; bottom: 10px; }
	.pt { min-width: 140px; grid-template-columns: 34px auto; padding: 6px 10px 6px 6px; }
	.pt img, .pt .ph { width: 34px; height: 34px; }
	.vw__legend { bottom: 60px; left: 10px; }
	.pn { position: absolute; left: 0; right: 0; bottom: 0; top: calc(46svh - 14px); border-left: 0; border-radius: 18px 18px 0 0; box-shadow: 0 -12px 40px -12px rgba(17, 19, 21, .3); transition: top .32s var(--ease); z-index: 6; }
	.pn.is-collapsed { top: calc(100% - 140px - env(safe-area-inset-bottom)); }
	.pn.is-full { top: 8px; }
	.pn__grab { display: grid; place-items: center; height: 22px; flex: none; cursor: grab; touch-action: none; order: -2; }
	.pn__grab::before { content: ""; width: 40px; height: 4px; border-radius: 2px; background: var(--line); }
	.pn.is-collapsed .pn__scroll { visibility: hidden; }
	.pb { order: -1; box-shadow: none; border-top: 0; border-bottom: 1px solid var(--line-2); padding: 4px 16px 12px; }
	.pn.is-collapsed .pb { border-bottom: 0; }
	.pb__links { display: none; }
	.pn.is-collapsed .pb__disp, .pn.is-collapsed .pb__manual, .pn.is-collapsed .pb__proj, .pn.is-collapsed .prelim, .pn.is-collapsed .bk, .pn.is-collapsed .pb__unit { display: none; }
	.pn.is-collapsed .pb__row { margin-bottom: 8px; justify-content: flex-end; }
	.pn.is-collapsed .pb__total { display: flex; align-items: baseline; gap: 8px; }
	.pn.is-collapsed .pb__total b { font-size: 24px; }
	.vw__info.is-min header { border-bottom: 0; }
	[data-sheet="mid"] .parts, [data-sheet="mid"] .vw__info, [data-sheet="mid"] .vw__tb { display: none; }
	.vw__info header b { font-size: 12.5px; }
	.parts .pt { box-shadow: none; }
	.mats { grid-template-columns: 1fr; }
}
@media (min-width: 901px) { .pn__grab { display: none; } }

/* Projekto vaizdas */
.proj { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; padding: 24px 0 48px; }
.proj__parts { display: grid; gap: 12px; }
.pc { display: grid; grid-template-columns: 132px minmax(0, 1fr) auto; gap: 18px; padding: 14px; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r3); align-items: center; }
.pc__view { width: 132px; height: 112px; border-radius: 10px; background: var(--bg); position: relative; overflow: hidden; }
.pc__view canvas, .pc__view img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: contain; }
.pc__name { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pc__name input { font-size: 16px; font-weight: 600; border: 1px solid transparent; background: transparent; border-radius: 6px; padding: 4px 6px; margin-left: -6px; min-width: 0; width: 100%; max-width: 360px; }
.pc__name input:hover { border-color: var(--line); }
.pc__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; color: var(--muted); margin: 4px 0 8px; }
.pc__meta b { color: var(--ink-2); font-weight: 500; }
.pc__acts { display: flex; flex-wrap: wrap; gap: 6px; }
.pc__price { text-align: right; align-self: stretch; display: flex; flex-direction: column; justify-content: space-between; gap: 8px; }
.pc__price b { font-size: 20px; font-weight: 650; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.pc__price small { display: block; color: var(--muted); font-size: 12.5px; }
.sum { position: sticky; top: calc(var(--hdr) + 16px); background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r3); padding: 20px; display: grid; gap: 14px; }
.sum__rows div { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; font-size: 14.5px; font-variant-numeric: tabular-nums; }
.sum__rows .t { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; font-size: 18px; font-weight: 650; }
.empty { text-align: center; padding: clamp(40px, 8vw, 96px) 20px; display: grid; justify-items: center; gap: 14px; }
.empty__ic { width: 72px; height: 72px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; }
.empty__ic svg { width: 32px; height: 32px; color: var(--accent); }
.empty p { color: var(--muted); max-width: 420px; margin: 0; }
@media (max-width: 1024px) { .proj { grid-template-columns: minmax(0, 1fr); } .sum { position: static; } }
@media (max-width: 640px) { .pc { grid-template-columns: 88px minmax(0, 1fr); } .pc__view { width: 88px; height: 80px; } .pc__price { grid-column: 1 / -1; flex-direction: row; align-items: center; text-align: left; } }

/* Portalas „Mano gamyba“ */
.portal { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; padding: 28px 0 56px; }
.portal__nav { position: sticky; top: calc(var(--hdr) + 16px); display: grid; gap: 2px; align-self: start; }
.portal__nav button { display: flex; justify-content: space-between; align-items: center; text-align: left; height: 42px; padding: 0 12px; border-radius: 9px; border: 0; background: none; font-weight: 500; font-size: 14.5px; color: var(--ink-2); }
.portal__nav button[aria-current="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--sh1); }
.portal__nav .n { font: 600 11px/1 var(--mono); color: var(--muted); }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 20px; }
.kpi { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r3); padding: 16px; text-align: left; text-decoration: none; color: inherit; transition: border-color .15s; }
.kpi:hover { border-color: var(--line); }
.kpi span { font-size: 12.5px; color: var(--muted); }
.kpi b { display: block; font-size: 28px; font-weight: 650; letter-spacing: -.03em; }
.row-list { display: grid; gap: 8px; }
.ritem { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 12px; }
.ritem h4 { font-size: 15.5px; margin: 0 0 4px; }
.ritem p { margin: 0; font-size: 13px; color: var(--muted); }
.ritem__acts { display: flex; gap: 6px; flex-wrap: wrap; justify-content: end; }
.timeline { display: grid; grid-template-columns: repeat(9, 1fr); gap: 4px; margin: 12px 0 4px; }
.timeline i { height: 4px; border-radius: 2px; background: var(--line); }
.timeline i.on { background: var(--ink); }
.timeline i.cur { background: var(--accent); }
.tl-labels { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--muted); }
.notice { display: grid; grid-template-columns: 8px 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--line-2); font-size: 14px; }
.notice::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.notice.unread::before { background: var(--accent); }
.notice small { color: var(--muted); }
@media (max-width: 900px) { .portal { grid-template-columns: minmax(0, 1fr); } .portal__nav { position: static; display: flex; overflow-x: auto; } .portal__nav button { flex: none; } .kpis { grid-template-columns: 1fr 1fr; } }

/* ---------- WooCommerce kasa ---------- */
.woocommerce-checkout .phead { padding-bottom: 20px; }
.nsc-checkout { padding: 28px 0 64px; }
.woocommerce form .form-row { margin: 0 0 14px; padding: 0; }
.woocommerce form .form-row label { font-size: 13px; font-weight: 500; color: var(--ink-2); margin-bottom: 6px; display: block; }
.woocommerce form .form-row .input-text, .woocommerce form .form-row select, .woocommerce .select2-container .select2-selection--single { min-height: 44px; border: 1px solid var(--line); border-radius: var(--r1); padding: 10px 12px; background: var(--surface); width: 100%; }
.woocommerce .select2-container .select2-selection--single .select2-selection__rendered { line-height: 22px; padding: 0; }
.woocommerce .select2-container .select2-selection--single .select2-selection__arrow { top: 9px; }
.woocommerce form .form-row-first, .woocommerce form .form-row-last { width: 48.5%; }
.woocommerce-checkout #customer_details { display: grid; gap: 20px; }
.woocommerce-checkout .col2-set .col-1, .woocommerce-checkout .col2-set .col-2 { width: 100%; float: none; }
.nsc-checkout__grid { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 28px; align-items: start; }
.nsc-checkout__grid > .side { position: sticky; top: calc(var(--hdr) + 16px); background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r3); padding: 20px; }
.nsc-checkout .card h3 { font-size: 18px; margin-bottom: 14px; }
.woocommerce table.shop_table { border: 0; border-collapse: collapse; width: 100%; font-size: 14px; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 10px 0; border-top: 1px solid var(--line-2); }
.woocommerce table.shop_table .product-name dl { font-size: 12.5px; color: var(--muted); margin: 6px 0 0; }
.woocommerce table.shop_table .product-name dl dt, .woocommerce table.shop_table .product-name dl dd { display: inline; margin: 0; }
.woocommerce table.shop_table .product-name dl dd p { display: inline; margin: 0; }
.woocommerce table.shop_table .product-name dl dd::after { content: ""; display: block; }
.woocommerce #payment { background: var(--bg); border-radius: var(--r2); }
.woocommerce #payment ul.payment_methods { border-bottom: 1px solid var(--line); padding: 14px; }
.woocommerce #place_order, .woocommerce button.button.alt { background: var(--ink); color: #fff; border-radius: var(--r2); min-height: 52px; font-weight: 600; width: 100%; font-size: 16px; }
.woocommerce #place_order:hover { background: #26292D; }
.woocommerce-info, .woocommerce-message, .woocommerce-error { border-top: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r2); padding: 14px 18px; list-style: none; }
.woocommerce-error { border-color: var(--bad); }
.nsc-b2b-toggle { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--r2); background: var(--bg); margin-bottom: 14px; font-weight: 500; }
.is-b2c .nsc-b2b, .is-b2c #billing_company_field { display: none !important; }
@media (max-width: 1024px) { .nsc-checkout__grid { grid-template-columns: minmax(0, 1fr); } .nsc-checkout__grid > .side { position: static; } }
.thanks { max-width: 720px; margin: 0 auto; padding: 48px 0; text-align: center; }
.thanks__ic { width: 72px; height: 72px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: grid; place-items: center; margin: 0 auto 18px; }
.thanks__ic svg { width: 34px; height: 34px; }

/* 404 */
.nf { text-align: center; padding: clamp(56px, 10vw, 140px) 0; }
.nf__code { font: 600 13px/1 var(--mono); letter-spacing: .1em; color: var(--accent-ink); }
.nf h1 { margin: 16px 0; }
.nf .row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 24px; }

/* Įspėjimas apie nepatvirtintas kainas (rodomas tik kol savininkas nepatvirtino) */
.prelim { display: flex; gap: 8px; align-items: center; font-size: 12px; color: var(--warn); margin-top: 8px; }

/* Judesio mažinimas */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
.pb__proj { font-size: 12.5px; color: var(--ink-2); margin: -4px 0 10px; padding: 8px 10px; border-radius: 8px; background: var(--bg); }
.pb__proj b { font-variant-numeric: tabular-nums; }
.welcome[hidden] { display: none !important; }
.nav__a { white-space: nowrap; }
.vw__legend.is-on + .vw__hint { display: none; }
