/* Šauktinių gidas (sauktiniugidas.lt) – prieš tarnybą */

:root {
  --paper: #f1ece0;
  --paper-rgb: 241, 236, 224;
  --card: #faf6ec;
  --sunk: #e6dfcd;
  --ink: #2b2118;
  --ink-2: #4b3d2f;
  --muted: #7b6b58;
  --line: #d9cfba;
  --line-strong: #b9aa8f;
  --olive: #4b5320;
  --green-deep: #283014;
  --olive-ink: #f4efe1;
  --brown: #33251a;
  --brown-ink: #f1ece0;
  --accent: #7b1e2e;
  --accent-ink: #fbf3ea;
  --accent-soft: #f1dcd9;
  --accent-text: #7b1e2e;
  --muted-strong: #6a5844;
  --yellow: #e2b33b;
  --yellow-ink: #2b2118;
  --yellow-soft: #f5e6b8;
  --of: #4b5320;
  --of-soft: #e2e4c8;
  --pt: #7a5410;
  --pt-soft: #f4e3b5;
  --is: #6e6152;
  --is-soft: #e6e0d2;
  --ok: #4b5a1e;
  --ok-soft: #e1e6c6;
  --bad: #8b2232;
  --bad-soft: #f3dad9;
  --shadow: 0 1px 0 rgba(43, 33, 24, .05), 0 8px 24px -12px rgba(43, 33, 24, .22);
  --radius: 6px;
  --radius-sm: 4px;
  --btn-radius: 3px;
  --wrap: 1120px;
  --font-display: 'Archivo', 'Arial Narrow', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', monospace;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #18150f;
  --paper-rgb: 24, 21, 15;
    --card: #221e17;
    --sunk: #2c271e;
    --ink: #efe6d2;
    --ink-2: #d3c7ae;
    --muted: #a39479;
    --line: #383024;
    --line-strong: #54493a;
    --olive: #3d4419;
    --green-deep: #1d2310;
    --olive-ink: #f1ead6;
    --brown: #0e0b07;
    --brown-ink: #efe6d2;
    --accent: #c4485b;
    --accent-ink: #fff7f0;
    --accent-soft: #3a1b1f;
    --accent-text: #e07484;
    --muted-strong: #b3a58a;
    --yellow: #e8bd4a;
    --yellow-ink: #1d180f;
    --yellow-soft: #3a3018;
    --of: #bcc57e;
    --of-soft: #2f3420;
    --pt: #e8bd4a;
    --pt-soft: #3a3018;
    --is: #b0a48d;
    --is-soft: #2c271e;
    --ok: #bcc57e;
    --ok-soft: #2b3119;
    --bad: #e07484;
    --bad-soft: #3a1b1f;
    --shadow: 0 1px 0 rgba(0, 0, 0, .25), 0 10px 30px -14px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #18150f;
  --paper-rgb: 24, 21, 15;
  --card: #221e17;
  --sunk: #2c271e;
  --ink: #efe6d2;
  --ink-2: #d3c7ae;
  --muted: #a39479;
  --line: #383024;
  --line-strong: #54493a;
  --olive: #3d4419;
  --green-deep: #1d2310;
  --olive-ink: #f1ead6;
  --brown: #0e0b07;
  --brown-ink: #efe6d2;
  --accent: #c4485b;
  --accent-ink: #fff7f0;
  --accent-soft: #3a1b1f;
  --accent-text: #e07484;
  --muted-strong: #b3a58a;
  --yellow: #e8bd4a;
  --yellow-ink: #1d180f;
  --yellow-soft: #3a3018;
  --of: #bcc57e;
  --of-soft: #2f3420;
  --pt: #e8bd4a;
  --pt-soft: #3a3018;
  --is: #b0a48d;
  --is-soft: #2c271e;
  --ok: #bcc57e;
  --ok-soft: #2b3119;
  --bad: #e07484;
  --bad-soft: #3a1b1f;
  --shadow: 0 1px 0 rgba(0, 0, 0, .25), 0 10px 30px -14px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: 'ss01', 'cv11';
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.08; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.3rem, 6.4vw, 4.6rem); font-weight: 800; font-stretch: 82%; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 800; font-stretch: 85%; }
h3 { font-size: 1.22rem; font-weight: 700; font-stretch: 92%; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mono { font-family: var(--font-mono); font-size: .82em; letter-spacing: 0; }
.muted { color: var(--muted); }
.kicker {
  font-family: var(--font-mono); font-size: .76rem; text-transform: uppercase; letter-spacing: .08em;
  color: var(--muted); display: inline-flex; gap: .6em; align-items: center; margin-bottom: 1rem;
}
.kicker::before { content: ''; width: 18px; height: 2px; background: var(--accent); }

/* ── Header ── */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 16px; height: 62px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 34px; height: 34px; border-radius: 3px; background: var(--olive); color: var(--olive-ink);
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 900; font-size: .95rem; font-stretch: 75%; letter-spacing: .02em;
}
.brand-mark .beret { width: 24px; height: 24px; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; font-stretch: 85%; }
.brand-sub { font-size: .7rem; color: var(--muted); font-family: var(--font-mono); }
.nav { display: none; gap: 2px; margin-left: auto; }
.nav a {
  text-decoration: none; font-size: .9rem; font-weight: 500; padding: 7px 8px; border-radius: var(--btn-radius); color: var(--ink-2); white-space: nowrap;
}
.nav a:hover { background: var(--sunk); color: var(--ink); }
.nav a[aria-current="page"] { background: var(--olive); color: var(--olive-ink); }
.header-actions { display: flex; gap: 8px; margin-left: auto; align-items: center; }
@media (min-width: 1040px) {
  .nav { display: flex; }
  .header-actions { margin-left: 8px; }
}
.icon-btn {
  appearance: none; border: 1px solid var(--line); background: var(--card); color: var(--ink);
  height: 38px; min-width: 38px; padding: 0 12px; border-radius: var(--btn-radius); font: inherit; font-size: .88rem; font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
}
.icon-btn:hover { border-color: var(--line-strong); }
.icon-btn .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); }
.icon-btn .dot.on { background: var(--ok); }
.menu-btn { display: inline-flex; }
@media (min-width: 1040px) { .menu-btn { display: none; } }
.mobile-nav {
  display: none; border-top: 1px solid var(--line); background: var(--paper); padding: 8px 16px 16px;
}
.mobile-nav.open { display: grid; gap: 2px; }
.mobile-nav a { text-decoration: none; padding: 11px 6px; border-bottom: 1px solid var(--line); font-weight: 500; }
.mobile-nav a[aria-current="page"] { color: var(--accent); }

/* ── Buttons, inputs ── */
.btn {
  appearance: none; border: 0; cursor: pointer; font: inherit; font-weight: 600; font-size: .95rem;
  padding: 12px 18px; border-radius: var(--btn-radius); background: var(--olive); color: var(--olive-ink);
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none; line-height: 1.2;
}
.btn:hover { color: var(--olive-ink); filter: brightness(1.15); }
.btn.accent { background: var(--accent); color: var(--accent-ink); }
.btn.accent:hover { color: var(--accent-ink); }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-strong); }
.btn.ghost:hover { color: var(--ink); background: var(--sunk); filter: none; }
.btn.sm { padding: 8px 13px; font-size: .85rem; }
input[type="text"], input[type="number"], input[type="search"], select, textarea {
  font: inherit; color: var(--ink); background: var(--card); border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm); padding: 11px 13px; width: 100%; min-width: 0;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
label { font-weight: 600; font-size: .9rem; }

/* ── Segmented control ── */
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg button {
  appearance: none; font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer;
  border: 1px solid var(--line-strong); background: var(--card); color: var(--ink-2);
  padding: 8px 13px; border-radius: var(--btn-radius);
}
.seg button:hover { border-color: var(--ink); }
.seg button[aria-pressed="true"] { background: var(--olive); color: var(--olive-ink); border-color: var(--olive); box-shadow: inset 0 -3px 0 var(--yellow); }

/* ── Tags ── */
.tag {
  display: inline-flex; align-items: center; gap: 5px; white-space: nowrap;
  font-family: var(--font-mono); font-size: .7rem; font-weight: 500; letter-spacing: .02em;
  padding: 2px 8px; border-radius: var(--btn-radius); line-height: 1.6;
}
.tag.of { background: var(--of-soft); color: var(--of); }
.tag.ist { background: var(--of); color: var(--card); }
.tag.pt { background: var(--pt-soft); color: var(--pt); }
.tag.is { background: transparent; color: var(--is); border: 1px dashed var(--is); }
.tag.tk { background: transparent; color: var(--muted); border: 1px solid var(--line-strong); }
.tag.gal { background: var(--sunk); color: var(--ink-2); }
.tag.ok { background: var(--ok-soft); color: var(--ok); }
.tag.bad { background: var(--bad-soft); color: var(--bad); }

/* ── Hero ── */
.hero { position: relative; padding: 48px 0 40px; overflow: hidden; }
@media (min-width: 900px) { .hero { padding: 72px 0 64px; } }
.hero-nine {
  position: absolute; right: -4vw; top: -6%; z-index: 0; pointer-events: none; user-select: none;
  font-family: var(--font-display); font-weight: 900; font-stretch: 62%;
  font-size: clamp(22rem, 52vw, 46rem); line-height: .8; color: transparent;
  -webkit-text-stroke: 2px var(--line); opacity: .9;
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { max-width: 13ch; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-lead { font-size: 1.12rem; max-width: 52ch; color: var(--ink-2); margin-bottom: 28px; }

/* ── Paieška: laukas, pasiūlymai, rezultatai ── */
[hidden] { display: none !important; }
.chip {
  appearance: none; font: inherit; font-size: .83rem; cursor: pointer; color: var(--ink-2);
  border: 1px solid var(--line); background: var(--paper); padding: 5px 11px; border-radius: var(--btn-radius); text-align: left;
}
.chip:hover { border-color: var(--accent); color: var(--accent); }
.srch { display: grid; gap: 10px; min-width: 0; }
.srch-form {
  position: relative; display: flex; align-items: center; background: var(--card);
  border: 1px solid var(--line-strong); border-radius: var(--radius); transition: border-color .15s, box-shadow .15s;
}
.srch-form:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.srch-ico { width: 20px; height: 20px; margin-left: 14px; flex-shrink: 0; fill: none; stroke: var(--muted); stroke-width: 2.2; stroke-linecap: round; }
.srch-form input[type="search"] {
  border: 0; background: transparent; font-size: 1.08rem; padding: 14px 12px; outline: none; box-shadow: none; flex: 1;
}
.srch-form input::-webkit-search-cancel-button { -webkit-appearance: none; display: none; }
.srch-form input:focus { outline: none; }
.srch-x {
  appearance: none; border: 0; background: transparent; color: var(--muted); font-size: 1.5rem; line-height: 1;
  width: 40px; height: 40px; margin-right: 4px; border-radius: var(--btn-radius); cursor: pointer; flex-shrink: 0;
}
.srch-x:hover { color: var(--ink); background: var(--sunk); }
.srch-chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.srch-chips-k { font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted-strong); margin-right: 2px; }
.srch.has-q .srch-chips { display: none; }
.srch-status { margin: 0; font-family: var(--font-mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted-strong); }
/* Tuščias lieka prieinamumo medyje (kitaip pirmas pranešimas dažnai neperskaitomas), tik nematomas. */
.srch-status:empty { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.srch-out { display: grid; gap: 18px; min-width: 0; }
.srch-out:empty { display: none; }
.srch-notice { margin: 0; }
.srch-notice .answer-short { margin-bottom: 8px; }
.srch-none { border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: 16px 18px; font-size: .95rem; }
.srch-none p:last-child { margin: 0; }
.srch-all { font-weight: 600; color: var(--accent-text); text-decoration: none; justify-self: start; }
.srch-all:hover { text-decoration: underline; }
.answer-short { font-size: 1.12rem; font-weight: 600; line-height: 1.45; margin-bottom: 14px; }

.sr-group { min-width: 0; }
.sr-gh {
  font-family: var(--font-mono); font-size: .74rem; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; color: var(--muted-strong);
  margin: 0 0 8px; display: flex; gap: 8px; align-items: center; font-stretch: 100%;
}
.sr-gh span { background: var(--sunk); color: var(--ink-2); border-radius: 99px; padding: 0 7px; font-size: .7rem; }
.sr-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.sr-item {
  display: grid; gap: 3px; text-decoration: none; color: var(--ink); background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 11px 14px; min-width: 0;
  transition: border-color .15s, background .15s;
}
.sr-item:hover, .sr-item:focus-visible { border-color: var(--accent); color: var(--ink); background: var(--paper); }
.sr-item:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.sr-k { font-size: .76rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; }
.sr-k .tag { font-size: .66rem; padding: 0 6px; }
.sr-t { font-weight: 700; line-height: 1.3; }
.sr-a { color: var(--ink-2); font-size: .95rem; line-height: 1.5; }
.sr-x { color: var(--ink-2); font-size: .9rem; line-height: 1.5; }
.sr-duk { border-left: 3px solid var(--accent); }
.sr-row { grid-template-columns: 34px 1fr; column-gap: 12px; align-items: center; }
.sr-emb { width: 34px; height: auto; }
.sr-more { appearance: none; border: 0; background: none; font: inherit; font-size: .85rem; font-weight: 600; color: var(--accent-text); cursor: pointer; padding: 6px 2px 0; }
.sr-more:hover { text-decoration: underline; }
mark { background: var(--yellow-soft); color: var(--ink); box-shadow: inset 0 -2px 0 var(--yellow); border-radius: 2px; padding: 0 1px; }

/* Paieška pradžios ir „Trumpai“ puslapyje */
.search-panel {
  background: var(--card); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow);
  padding: 16px; max-width: 820px; display: grid; gap: 10px;
}
.search-panel .srch-form { background: var(--paper); }
.search-note { font-size: .78rem; color: var(--muted-strong); margin: 0; }
.tl-search { max-width: none; }

/* Antraštės mygtukas ir langas */
.search-btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; margin: 0; }
@media (max-width: 560px) { .search-btn span { display: none; } .search-btn { padding: 0 10px; } }
/* Siauras kompiuterio ekranas: meniu jau matomas, tad paieška – tik ženkliukas, be paantraštės. */
@media (min-width: 1040px) and (max-width: 1239px) { .search-btn span { display: none; } .search-btn { padding: 0 10px; } }
@media (min-width: 1040px) and (max-width: 1099px) { .brand-sub { display: none; } }
dialog.search-dlg {
  border: 0; padding: 0; background: var(--paper); color: var(--ink); border-radius: 8px;
  width: min(760px, calc(100vw - 24px)); max-height: calc(100dvh - 10vh); margin: 6vh auto auto;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .55); overflow: hidden;
}
dialog.search-dlg[open] { display: flex; flex-direction: column; }
dialog.search-dlg::backdrop { background: rgba(10, 11, 12, .6); backdrop-filter: blur(3px); }
.search-dlg-in { display: flex; flex-direction: column; min-height: 0; flex: 1; }
.search-dlg-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px 0; }
.search-dlg-top .kicker { margin: 0; }
.search-dlg-top kbd { font-family: var(--font-mono); font-size: .7rem; color: var(--muted-strong); border: 1px solid var(--line); border-radius: 3px; padding: 0 5px; }
.search-dlg [data-search-host] { padding: 12px 16px 18px; overflow-y: auto; min-height: 0; }
@media (max-width: 600px) {
  dialog.search-dlg { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; border-radius: 0; }
  .search-dlg-top kbd { display: none; }
}

/* Nuoroda į konkrečią vietą (#id) – trumpam pažymima */
.hit { animation: hit 2s ease-out; }
@keyframes hit { 0%, 40% { box-shadow: 0 0 0 3px var(--yellow); background-color: color-mix(in srgb, var(--yellow) 14%, transparent); } 100% { box-shadow: 0 0 0 0 transparent; } }
@media (prefers-reduced-motion: reduce) { .hit { animation: none; outline: 3px solid var(--yellow); } }

.meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: .78rem; color: var(--muted); }
.meta .src { font-size: .78rem; }
.meta a { color: var(--muted); }
.warn {
  border-left: 3px solid var(--pt); background: var(--pt-soft); color: var(--ink);
  padding: 10px 12px; border-radius: 0 8px 8px 0; font-size: .9rem; margin-top: 12px;
}
.warn.strong { border-left-color: var(--accent); background: var(--accent-soft); }

/* ── Sections ── */
section.block { padding: 56px 0; border-top: 1px solid var(--line); }
@media (min-width: 900px) { section.block { padding: 80px 0; } }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 32px; margin-bottom: 28px; }
.section-head p { max-width: 54ch; color: var(--ink-2); margin: 0; }
.section-head h2 { margin: 0; }

/* ── Path / timeline ── */
.path { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: p; }
@media (min-width: 900px) { .path { grid-template-columns: repeat(5, 1fr); } }
.path > li {
  position: relative; padding: 18px 16px 18px 52px; border-left: 2px solid var(--line-strong);
}
@media (min-width: 900px) {
  .path > li { border-left: 0; border-top: 2px solid var(--line-strong); padding: 26px 18px 6px 0; }
}
.path > li::before {
  counter-increment: p; content: counter(p);
  position: absolute; left: -15px; top: 16px; width: 28px; height: 28px; border-radius: 3px;
  background: var(--paper); border: 2px solid var(--ink); display: grid; place-items: center;
  font-family: var(--font-mono); font-size: .75rem; font-weight: 600;
}
@media (min-width: 900px) { .path > li::before { left: 0; top: -15px; } }
.path > li.hot::before { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.path .when { font-family: var(--font-mono); font-size: .74rem; color: var(--accent); text-transform: uppercase; letter-spacing: .05em; }
.path h3 { margin: 4px 0 4px; font-size: 1.05rem; }
.path p { font-size: .9rem; color: var(--ink-2); margin: 0; }
.path a { font-size: .85rem; }
/* Etapai (diena.html): 3 žingsniai turinio stulpelyje, po kiekvienu – išskleidžiami įrašai. */
.path.etapai { margin-top: 22px; }
@media (min-width: 700px) { .path.etapai { grid-template-columns: repeat(3, 1fr); } .path.etapai > li { border-left: 0; border-top: 2px solid var(--line-strong); padding: 26px 18px 6px 0; } .path.etapai > li::before { left: 0; top: -15px; } }
.path.etapai > li:first-child::before { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.path .hl { color: var(--accent); font-weight: 700; }
.path-more { margin-top: 10px; }
.path-more > summary { list-style: none; cursor: pointer; font-size: .85rem; font-weight: 500; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; display: inline-flex; gap: 8px; align-items: center; }
.path-more > summary::-webkit-details-marker { display: none; }
.path-more > summary::after { content: '↓'; text-decoration: none; display: inline-block; transition: transform .2s; }
.path-more[open] > summary::after { transform: rotate(180deg); }
.path-more .entries { margin-top: 4px; }
.path-more .entry { padding: 12px 0; }
.path-more .entry .t { font-size: .9rem; }
.path-more .entry .ton { font-size: .9rem; }

/* ── Cards ── */
.grid { display: grid; gap: 16px; }
@media (min-width: 720px) { .grid.c2 { grid-template-columns: repeat(2, 1fr); } .grid.c3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid.c3 { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
  display: flex; flex-direction: column; gap: 10px;
}
.card.link { text-decoration: none; transition: border-color .15s, transform .15s; }
.card.link:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-2px); }
.card .num { font-family: var(--font-mono); font-size: .75rem; color: var(--muted); }
.card h3 { margin: 0; }
.card p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.card .foot { margin-top: auto; padding-top: 8px; display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: .8rem; color: var(--muted); }
.tool-card .big { font-family: var(--font-display); font-weight: 800; font-size: 2.1rem; font-stretch: 80%; line-height: 1; }
.tool-card .big small { font-size: .9rem; font-weight: 600; color: var(--muted); font-family: var(--font-body); font-stretch: 100%; }
.tool-card.dark { --paper: var(--olive-ink); background: var(--olive); color: var(--paper); border-color: var(--olive); }
.tool-card.dark .num { color: var(--yellow); }
.tool-card.dark p, .tool-card.dark .foot, .tool-card.dark .big small { color: color-mix(in srgb, var(--paper) 72%, transparent); }
.tool-card.dark:hover { color: var(--paper); }

/* ── Page intro ── */
.page-intro { padding: 44px 0 36px; }
@media (min-width: 900px) { .page-intro { padding: 64px 0 48px; } }
.page-intro h1 { font-size: clamp(2.2rem, 5.4vw, 3.8rem); max-width: 16ch; }
.page-intro .lead { font-size: 1.12rem; color: var(--ink-2); max-width: 60ch; }
.crumbs { font-family: var(--font-mono); font-size: .75rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }

/* ── Knowledge entries ── */
.layout { display: grid; gap: 40px; }
.layout > *, .two-col > *, .grid > *, .check-groups > * { min-width: 0; }
@media (min-width: 1000px) { .layout { grid-template-columns: 230px 1fr; gap: 72px; } }
@media (min-width: 1240px) { .layout { gap: 96px; } }
.toc { position: sticky; top: 84px; align-self: start; display: none; }
@media (min-width: 1000px) { .toc { display: block; } }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 8px 0 8px 16px; text-decoration: none; font-size: .95rem; font-weight: 500; line-height: 1.3; color: var(--ink-2); margin-left: -2px; border-left: 2px solid transparent; transition: color .15s, border-color .15s; }
.toc a:hover { color: var(--ink); border-left-color: var(--ink); }
/* Aktyvi dalis – pažymima slenkant (buildToc). */
.toc a.on { color: var(--accent); border-left-color: var(--accent); font-weight: 600; }
.toc .label { font-family: var(--font-mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); margin-bottom: 12px; }
.tema { margin-bottom: 56px; }
.tema h2 { font-size: clamp(1.5rem, 3vw, 2rem); padding-bottom: 12px; border-bottom: 2px solid var(--ink); margin-bottom: 4px; }
.entries { list-style: none; margin: 0; padding: 0; }
.entry { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; gap: 8px; }
.entry .t { margin: 0; }
.entry .ton { font-weight: 600; margin: 0; color: var(--ink); padding-left: 12px; border-left: 3px solid var(--accent); }
.entries.seq { counter-reset: s; }
.entries.seq .entry { grid-template-columns: 44px 1fr; column-gap: 12px; }
.entries.seq .entry > * { grid-column: 2; }
.entries.seq .entry::before {
  counter-increment: s; content: counter(s, decimal-leading-zero); grid-column: 1; grid-row: 1 / span 3;
  font-family: var(--font-display); font-weight: 800; font-size: 1.8rem; font-stretch: 75%; color: var(--accent); line-height: 1;
}
.entry.is-pt .t::before { content: ''; }
.callout {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin: 0 0 32px;
}
.callout h3 { margin-bottom: .35em; }
.callout p:last-child { margin: 0; }
.callout.red { border-color: var(--accent); background: var(--accent-soft); }

/* ── Legend ── */
.legend { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; font-size: .85rem; color: var(--ink-2); }
.legend span { display: inline-flex; gap: 6px; align-items: center; }

/* ── Tables ── */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { font-family: var(--font-mono); font-weight: 500; font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); background: var(--sunk); }
tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
tr.min td { background: var(--yellow-soft); font-weight: 700; }
tr.sel td { outline: 2px solid var(--accent); outline-offset: -2px; }
td.hl { background: var(--yellow); color: var(--yellow-ink); font-weight: 700; }

/* ── Tools ── */
.tool { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 22px; box-shadow: var(--shadow); }
@media (min-width: 720px) { .tool { padding: 30px; } }
.tool-grid { display: grid; gap: 16px; }
@media (min-width: 720px) { .tool-grid.c3 { grid-template-columns: repeat(3, 1fr); } }
.field { display: grid; gap: 6px; }
.field .hint { font-size: .78rem; color: var(--muted); }
.result-row { display: grid; gap: 12px; margin-top: 22px; }
@media (min-width: 720px) { .result-row { grid-template-columns: repeat(3, 1fr); } }
.res { border-radius: var(--radius-sm); padding: 16px; background: var(--paper); border: 1px solid var(--line); }
.res .lbl { font-size: .8rem; color: var(--muted); font-weight: 600; }
.res .pts { font-family: var(--font-display); font-weight: 800; font-stretch: 78%; font-size: 2.4rem; line-height: 1.05; }
.res .pts small { font-size: .9rem; color: var(--muted); font-family: var(--font-body); font-weight: 600; font-stretch: 100%; }
.res .gap { font-size: .86rem; color: var(--ink-2); margin-top: 6px; }
.res.ok { border-color: var(--ok); }
.res.bad { border-color: var(--bad); }
.verdict { margin-top: 16px; padding: 14px 16px; border-radius: var(--radius-sm); font-weight: 600; }
.verdict.ok { background: var(--ok-soft); color: var(--ok); }
.verdict.bad { background: var(--bad-soft); color: var(--bad); }
.verdict.neutral { background: var(--sunk); color: var(--ink-2); font-weight: 500; }
.bar { height: 8px; border-radius: var(--btn-radius); background: var(--sunk); overflow: hidden; margin-top: 10px; position: relative; }
.bar i { display: block; height: 100%; background: var(--olive); border-radius: var(--btn-radius); }
.bar::after { content: ''; position: absolute; left: 60%; top: -3px; bottom: -3px; width: 2px; background: var(--accent); }

.money { font-family: var(--font-display); font-weight: 900; font-stretch: 75%; font-size: clamp(3rem, 9vw, 5.4rem); line-height: 1; letter-spacing: -0.02em; }
.money small { font-size: .4em; font-weight: 700; }
.breakdown { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 6px; font-size: .92rem; }
.breakdown li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed var(--line); padding-bottom: 6px; }
.breakdown b { font-variant-numeric: tabular-nums; }

/* ── Checklist ── */
.check-groups { display: grid; gap: 20px; }
@media (min-width: 1000px) { .check-groups { grid-template-columns: 1.25fr 1fr; align-items: start; } }
.check-col { display: grid; gap: 20px; }
.check-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.check-card > header { padding: 16px 18px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.check-card > header h3 { margin: 0; }
.check-card.ne > header { background: var(--sunk); }
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { border-bottom: 1px solid var(--line); }
.checklist li:last-child { border-bottom: 0; }
.checklist .cat { padding: 10px 18px 4px; font-family: var(--font-mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); border-bottom: 0; }
.checklist label { display: grid; grid-template-columns: 24px 1fr; gap: 12px; padding: 12px 18px; cursor: pointer; font-weight: 400; font-size: .95rem; }
.checklist label:hover { background: var(--paper); }
.checklist input[type="checkbox"] { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); }
.checklist .name { font-weight: 600; }
.checklist .why { display: block; color: var(--muted); font-size: .85rem; margin-top: 2px; }
.checklist input:checked + span .name { text-decoration: line-through; text-decoration-color: var(--accent); color: var(--muted); }
/* Parduotuvių nuorodos po daiktu: paprastos, matomai pažymėtos (↗), be komisinių. */
.checklist .buy { padding: 0 18px 12px 54px; margin-top: -6px; font-size: .8rem; color: var(--muted); line-height: 1.6; display: flex; flex-wrap: wrap; gap: 2px 12px; align-items: baseline; }
.checklist .buy-k { font-family: var(--font-mono); font-size: .66rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.checklist .buy-i { min-width: 0; }
.checklist .buy b { white-space: nowrap; }
.checklist .buy a { color: var(--ink-2); text-decoration-color: var(--line-strong); text-underline-offset: 2px; }
.checklist .buy a:hover { color: var(--accent); }
.checklist .buy a::after { content: '↗'; font-size: .75em; margin-left: 2px; text-decoration: none; display: inline-block; }
.checklist .buy b { font-weight: 600; color: var(--ink-2); }
.checklist .buy i { font-style: normal; color: var(--muted); }
.checklist .buy i::before { content: '– '; }
@media (max-width: 480px) { .checklist .buy { padding-left: 18px; } }
@media print { .checklist .buy { display: none; } }
.checklist .no { display: grid; grid-template-columns: 24px 1fr; gap: 12px; padding: 12px 18px; font-size: .95rem; }
.checklist .no::before { content: '✕'; color: var(--bad); font-weight: 700; text-align: center; }
.progress { font-family: var(--font-mono); font-size: .8rem; color: var(--muted); }

/* ── Units ── */
.units { display: grid; gap: 14px; }
@media (min-width: 760px) { .units { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .units { grid-template-columns: repeat(3, 1fr); } }
.unit { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.unit.mine { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.unit .place { font-family: var(--font-mono); font-size: .74rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.unit h3 { font-size: 1.08rem; margin: 0; }
.unit dl { margin: 0; display: grid; gap: 8px; font-size: .88rem; }
.unit dt { font-weight: 600; font-size: .74rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; font-family: var(--font-mono); }
.unit dd { margin: 0; color: var(--ink-2); }
.unit .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 6px; }
.goal-filter { margin-bottom: 24px; }
.goal-filter .q { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; font-stretch: 85%; margin-bottom: 12px; }
.empty { padding: 30px; text-align: center; color: var(--muted); border: 1px dashed var(--line-strong); border-radius: var(--radius); }

/* ── Profile dialog ── */
dialog.profile {
  border: 0; padding: 0; border-radius: 8px; background: var(--card); color: var(--ink);
  width: min(560px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); box-shadow: 0 30px 80px -20px rgba(0,0,0,.45);
}
dialog.profile::backdrop { background: rgba(10, 11, 12, .55); backdrop-filter: blur(3px); }
.profile-inner { padding: 24px; display: grid; gap: 20px; }
.profile-inner h2 { font-size: 1.7rem; margin: 0; }
.profile-inner .q { display: grid; gap: 8px; }
.profile-inner .q > span { font-weight: 700; }
.profile-actions { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: center; }
.privacy-line { font-size: .82rem; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; }

.profile-card { --paper: var(--olive-ink); background: var(--olive); color: var(--paper); border-radius: 8px; padding: 24px; display: grid; gap: 16px; }
@media (min-width: 860px) { .profile-card { grid-template-columns: 1fr 1fr; padding: 32px; gap: 32px; } }
.profile-card h2 { color: var(--paper); }
.profile-card p { color: color-mix(in srgb, var(--paper) 75%, transparent); }
.profile-card .btn { background: var(--olive-ink); color: var(--olive); }
.profile-card .btn:hover { color: var(--olive); }
.profile-card .btn.ghost { background: transparent; color: var(--paper); border-color: color-mix(in srgb, var(--paper) 40%, transparent); }
.profile-summary { display: grid; gap: 8px; align-content: start; }
.profile-summary .row { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px solid color-mix(in srgb, var(--paper) 18%, transparent); padding-bottom: 8px; font-size: .92rem; }
.profile-summary .row span:first-child { color: color-mix(in srgb, var(--paper) 60%, transparent); }
.profile-summary .row span:last-child { text-align: right; font-weight: 600; }
.next-step { background: var(--yellow); color: var(--yellow-ink); border-radius: var(--radius-sm); padding: 14px 16px; text-decoration: none; display: block; font-weight: 600; }
.next-step:hover { color: var(--yellow-ink); filter: brightness(1.06); }
.next-step small { display: block; font-family: var(--font-mono); font-weight: 500; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; opacity: .8; }

/* ── Asks ── */
.asks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.asks li { border-bottom: 1px solid var(--line); }
.asks .arrow { font-family: var(--font-mono); color: var(--muted); flex-shrink: 0; }

/* ── Footer ── */
.site-footer { --paper: var(--brown-ink); background: var(--brown); color: var(--paper); border-top: 6px solid var(--olive); padding: 56px 0 32px; margin-top: 40px; }
.site-footer a { color: var(--paper); }
.site-footer a:hover { color: var(--yellow); }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; } }
.site-footer h4 { font-family: var(--font-mono); font-size: .72rem; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: color-mix(in srgb, var(--paper) 55%, transparent); margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .92rem; }
.site-footer p { font-size: .92rem; color: color-mix(in srgb, var(--paper) 78%, transparent); }
.site-footer .footer-not { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; font-stretch: 85%; line-height: 1.15; color: var(--paper) !important; }
.footer-help { border: 1px solid color-mix(in srgb, var(--paper) 25%, transparent); border-radius: var(--radius-sm); padding: 16px; }
.footer-help strong { display: block; font-size: 1.15rem; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid color-mix(in srgb, var(--paper) 18%, transparent); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .8rem; color: color-mix(in srgb, var(--paper) 55%, transparent); }

/* ── Misc ── */
.two-col { display: grid; gap: 24px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; gap: 40px; } }
.prose { max-width: 68ch; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: .92rem; }
.kv dt { font-weight: 600; }
.kv dd { margin: 0; color: var(--ink-2); }
.toast {
  position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%) translateY(20px); opacity: 0;
  background: var(--olive); color: var(--olive-ink); padding: 10px 16px; border-radius: var(--btn-radius); font-size: .9rem; z-index: 60;
  transition: opacity .2s, transform .2s; pointer-events: none; max-width: calc(100vw - 32px);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

@media print {
  .site-header, .site-footer, .no-print, .toc { display: none !important; }
  body { background: #fff; color: #000; font-size: 12pt; }
  .check-card, .card { break-inside: avoid; border-color: #999; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ── Siauri ekranai ── */
.units > * { min-width: 0; }
.unit .tag.tk { white-space: normal; text-align: left; }
@media (max-width: 460px) {
  .brand-sub { display: none; }
  .site-header .wrap { gap: 10px; }
  .header-actions { gap: 6px; }
  .icon-btn { padding: 0 10px; }
}

/* ── Hero: pozicija ── */
.hero-full { min-height: min(calc(100svh - 62px), 780px); display: flex; align-items: center; padding: 56px 0 96px; }
.hero-full .wrap { width: 100%; }
.hero .hero-statement { font-size: clamp(3.6rem, 15vw, 9.5rem); line-height: .9; font-stretch: 72%; font-weight: 900; letter-spacing: -0.025em; max-width: none; margin-bottom: .12em; }
.hero-statement .hero-line { display: block; }
.hero-sub { font-family: var(--font-display); font-weight: 800; font-stretch: 78%; font-size: clamp(1.9rem, 6vw, 3.6rem); line-height: 1; color: var(--accent); margin: 0 0 28px; letter-spacing: -0.015em; }
.hero-full .hero-lead { max-width: 46ch; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
/* Hero fonas: nuotrauka po tekstu, pridengta popieriaus spalvos gradientu, kad tekstas liktų įskaitomas */
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: url(../img/sauktiniai-apkasas.webp) center 40% / cover no-repeat; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(var(--paper-rgb), .97) 0%, rgba(var(--paper-rgb), .9) 42%, rgba(var(--paper-rgb), .55) 100%), linear-gradient(180deg, rgba(var(--paper-rgb), .35) 0%, rgba(var(--paper-rgb), 0) 40%, rgba(var(--paper-rgb), .9) 100%); }
.hero-credit { position: absolute; right: 16px; bottom: 12px; z-index: 1; font-family: var(--font-mono); font-size: .66rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); text-decoration: none; }
.hero-credit:hover { color: var(--ink); text-decoration: underline; }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid var(--line-strong); border-radius: var(--radius-sm); display: none; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--yellow); animation: cue 1.8s ease-in-out infinite; }
@media (min-height: 640px) { .scroll-cue { display: block; } }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { transform: translateY(0); opacity: 0; } }
html.js .hero-line { opacity: 0; transform: translateY(26px); animation: rise .9s cubic-bezier(.2, .7, .2, 1) forwards; animation-delay: calc(var(--d, 0) * 120ms + 80ms); }
@keyframes rise { to { opacity: 1; transform: none; } }
.hero-nine { will-change: transform; }

/* ── 8 dalykai ── */
.know-section { border-top: 1px solid var(--line); padding: 56px 0 72px; }
.know-layout { display: grid; gap: 24px; }
.know-layout > * { min-width: 0; }
.know-aside h2 { font-size: clamp(2rem, 6vw, 3.4rem); line-height: .98; font-stretch: 76%; }
.accent-text { color: var(--accent); }
.know-counter, .know-progress, .know-aside-note { display: none; }
.know { list-style: none; margin: 0; padding: 0; }
.know-item { display: grid; grid-template-columns: 56px 1fr; gap: 14px; padding: 30px 0; border-top: 1px solid var(--line); }
.know-num { font-family: var(--font-display); font-weight: 900; font-stretch: 65%; font-size: 2.6rem; line-height: .9; color: var(--accent); }
.know-body h3 { font-size: clamp(1.45rem, 4.4vw, 2.1rem); line-height: 1.08; font-stretch: 80%; font-weight: 800; margin-bottom: .45em; transition: color .4s; }
.know-body p { color: var(--ink-2); font-size: 1.05rem; max-width: 54ch; margin-bottom: 12px; }
.know-link { display: inline-block; margin-top: 12px; font-weight: 600; color: var(--accent); text-decoration: none; }
.know-link:hover { text-decoration: underline; }
.know-outro { font-family: var(--font-display); font-weight: 800; font-stretch: 80%; font-size: clamp(1.5rem, 4vw, 2.3rem); line-height: 1.1; max-width: 22ch; margin: 40px 0 0; padding-top: 32px; border-top: 2px solid var(--ink); }
@media (min-width: 960px) {
  .know-section { padding: 96px 0 120px; }
  .know-layout { grid-template-columns: minmax(300px, 0.85fr) 1.15fr; gap: 72px; align-items: start; }
  .know-aside { position: sticky; top: 104px; }
  .know-counter { display: flex; align-items: baseline; gap: 10px; margin-top: 28px; font-family: var(--font-display); font-weight: 900; font-stretch: 62%; line-height: .8; }
  .know-counter span { font-size: 9rem; color: var(--accent); font-variant-numeric: tabular-nums; }
  .know-counter small { font-size: 2rem; color: var(--muted); }
  .know-progress { display: block; height: 4px; background: var(--sunk); border-radius: 4px; margin-top: 22px; overflow: hidden; }
  .know-progress i { display: block; height: 100%; width: 12.5%; background: var(--yellow); transition: width .5s cubic-bezier(.2, .7, .2, 1); }
  .know-aside-note { display: block; margin-top: 22px; max-width: 34ch; font-size: .95rem; }
  .know-item { padding: 12vh 0; grid-template-columns: 1fr; }
  .know-item:first-child { padding-top: 2vh; border-top: 0; }
  .know-num { display: none; }
  .know.has-active .know-item:not(.active) h3 { color: var(--muted); }
}

/* ── Scroll reveal ── */
html.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .75s cubic-bezier(.2, .7, .2, 1), transform .75s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--rd, 0ms); }
html.js [data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal], html.js .hero-line { opacity: 1; transform: none; transition: none; animation: none; }
  .scroll-cue span { animation: none; }
}
@media print { html.js [data-reveal], html.js .hero-line { opacity: 1 !important; transform: none !important; } }

/* ── Didelis CTA ── */
.btn.lg { padding: 19px 30px; font-size: 1.12rem; font-weight: 700; letter-spacing: .01em; gap: 12px; }
.btn.accent.lg { box-shadow: 0 4px 0 color-mix(in srgb, var(--accent) 55%, #000); }
.btn.accent.lg:hover { filter: brightness(1.12); }
.btn.accent.lg:active { transform: translateY(2px); box-shadow: 0 2px 0 color-mix(in srgb, var(--accent) 55%, #000); }
@media (max-width: 480px) {
  .hero-actions .btn.lg { width: 100%; justify-content: center; }
}
.profile-card .kicker::before, .tool-card.dark .kicker::before, .site-footer .kicker::before { background: var(--yellow); }
.profile-card .kicker { color: var(--yellow) !important; opacity: 1 !important; }

/* ═════════ Tamsiai žali blokai ═════════ */
.site-header, .page-intro, .know-section {
  --paper: var(--green-deep);
  --ink: #f4efe1;
  --ink-2: #dcd6c0;
  --muted: #a7ad86;
  --line: rgba(244, 239, 225, .14);
  --line-strong: rgba(244, 239, 225, .32);
  --card: rgba(255, 255, 255, .06);
  --sunk: rgba(255, 255, 255, .1);
  --accent: var(--yellow);
  --accent-ink: var(--yellow-ink);
  --accent-text: var(--yellow);
  --muted-strong: #c9c7a8;
  color: var(--ink);
}
.site-header { background: color-mix(in srgb, var(--green-deep) 95%, transparent); border-bottom-color: rgba(0, 0, 0, .25); }
.site-header .brand-mark { background: var(--yellow); color: var(--yellow-ink); }
.nav a[aria-current="page"] { background: var(--yellow); color: var(--yellow-ink); }
.site-header .icon-btn .dot.on { background: var(--yellow); }
.page-intro { background: var(--green-deep); border-bottom: 4px solid var(--olive); }
.page-intro .crumbs a { color: var(--muted); }
.page-intro .btn:not(.ghost) { background: var(--yellow); color: var(--yellow-ink); }
.know-section { background: var(--green-deep); border-top: 0; }
.know-section .tag.tk { color: var(--muted); }

/* ═════════ Mažiau tuščios vietos ═════════ */
section.block { padding: 40px 0; }
.section-head { margin-bottom: 20px; }
.hero-full { min-height: 0; padding: 40px 0 48px; }
.scroll-cue { display: none !important; }
.page-intro { padding: 30px 0 28px; }
.page-intro .lead { margin-bottom: 0; }
.tema { margin-bottom: 36px; }
.know-section { padding: 36px 0 44px; }
.know-outro { margin-top: 20px; padding-top: 22px; }
.site-footer { margin-top: 0; padding-top: 44px; }
@media (min-width: 900px) {
  section.block { padding: 56px 0; }
  .hero-full { padding: 64px 0 64px; }
  .page-intro { padding: 44px 0 36px; }
}

.know-section .tag.ist { background: #f4efe1; color: var(--green-deep); }
.know-section .tag.of { background: rgba(244, 239, 225, .14); color: #e6e9c9; }
.know-section .tag.pt { background: rgba(226, 179, 59, .2); color: var(--yellow); }

/* ═════════ Skyriai: prisegti, išsiplečia ir susitraukia slenkant (Rockstar stilius) ═════════ */
.chapters {
  --ink: #f4efe1; --ink-2: #ddd6c1; --muted: #b3b28f;
  --line: rgba(244, 239, 225, .16); --line-strong: rgba(244, 239, 225, .34);
  --accent: var(--yellow); --accent-ink: var(--yellow-ink);
  --wine: #5c1724;
  background: #110d09; color: var(--ink); position: relative;
}
.chapter { position: relative; height: 175vh; --i: 0; --c: 1; --o: 1; --s: 1; }
.chapter.ch-title { height: 150vh; }
.chapter-stage { position: sticky; top: 62px; height: calc(100svh - 62px); overflow: hidden; }
.chapter-panel {
  position: absolute; inset: 0; display: flex; align-items: center; overflow: hidden;
  background: var(--ch-bg);
  clip-path: inset(calc(var(--i) * 1%) calc(var(--i) * 1.1%));
  will-change: clip-path;
}
.ch-green { --ch-bg: var(--green-deep); }
.ch-olive { --ch-bg: var(--olive); }
.ch-wine  { --ch-bg: var(--wine); }
.ch-brown { --ch-bg: #3a2a1d; }
/* Skyriaus nuotrauka: fonas po tekstu, pridengtas skydo spalva, kad tekstas liktų įskaitomas */
.chapter-photo { position: absolute; inset: 0; background-size: cover; background-position: center 45%; background-repeat: no-repeat; pointer-events: none; }
.chapter-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ch-bg) 0%, color-mix(in srgb, var(--ch-bg) 88%, transparent) 40%, color-mix(in srgb, var(--ch-bg) 45%, transparent) 100%), linear-gradient(180deg, color-mix(in srgb, var(--ch-bg) 40%, transparent) 0%, transparent 35%, color-mix(in srgb, var(--ch-bg) 85%, transparent) 100%); }
.chapter-num {
  position: absolute; right: -2vw; top: 50%; pointer-events: none; user-select: none;
  font-family: var(--font-display); font-weight: 900; font-stretch: 62%; line-height: .8;
  font-size: clamp(18rem, 62vw, 52rem); letter-spacing: -0.04em;
  color: transparent; -webkit-text-stroke: 2px rgba(244, 239, 225, .16);
  transform: translateY(-50%) scale(var(--s)); transform-origin: 70% 50%; will-change: transform;
}
.chapter-content {
  position: relative; z-index: 1; width: 100%;
  opacity: var(--o);
  transform: translateY(calc((1 - var(--c)) * 48px)) scale(calc(1 - (1 - var(--o)) * .06));
  transform-origin: left center; will-change: transform, opacity;
}
.chapter-content h3 {
  font-size: clamp(2.2rem, 7.4vw, 5.4rem); line-height: .96; font-stretch: 72%; font-weight: 900;
  letter-spacing: -0.02em; max-width: 15ch; margin-bottom: .35em; color: var(--ink);
}
.chapter-content h2 { font-size: clamp(2.6rem, 9vw, 6.4rem); line-height: .94; font-stretch: 70%; font-weight: 900; letter-spacing: -0.02em; margin-bottom: .3em; max-width: 14ch; }
.chapter-content p { font-size: clamp(1.05rem, 2.2vw, 1.35rem); color: var(--ink-2); max-width: 44ch; margin-bottom: 18px; }
.chapter-content .meta { margin-bottom: 4px; }
.chapter-content .know-link { color: var(--yellow); font-size: 1.05rem; }
.ch-lead { color: var(--muted) !important; }
.ch-count { font-family: var(--font-mono); font-size: .85rem; letter-spacing: .08em; color: var(--muted); margin-bottom: 18px; }
.ch-count b { color: var(--yellow); font-weight: 500; }
.ch-segs { display: flex; gap: 6px; margin-top: 28px; max-width: 360px; }
.ch-segs i { flex: 1; height: 4px; background: rgba(244, 239, 225, .18); }
.ch-segs i.on { background: var(--yellow); }
.chapters .tag.ist { background: #f4efe1; color: var(--green-deep); }
.chapters .tag.of { background: rgba(244, 239, 225, .14); color: #e6e9c9; }
.chapters .tag.pt { background: rgba(226, 179, 59, .22); color: var(--yellow); }
.chapters .tag.tk { color: var(--muted); }
.ch-btn { background: var(--yellow); color: var(--yellow-ink); }
.ch-btn:hover { color: var(--yellow-ink); }
.ch-end .hero-actions { margin-top: 24px; }
.ch-wine .chapter-num { -webkit-text-stroke-color: rgba(244, 239, 225, .2); }
@media (min-width: 960px) { .chapter { height: 190vh; } .chapter-content { padding-left: 6vw; } }

/* Be animacijų: paprasti sukrauti skydai */
html.no-pin .chapter, html:not(.js) .chapter { height: auto; }
html.no-pin .chapter-stage, html:not(.js) .chapter-stage { position: relative; top: 0; height: auto; min-height: 70vh; display: flex; }
html.no-pin .chapter-panel, html:not(.js) .chapter-panel { position: relative; clip-path: none; padding: 64px 0; width: 100%; }
@media print { .chapter { height: auto; } .chapter-stage { position: static; height: auto; } .chapter-panel { position: relative; clip-path: none; } }

/* Hero: tekstas didėja ir blunka išslenkant */
.hero-full .wrap { transform-origin: 20% 60%; will-change: transform, opacity; }
/* Išeinant visas skydas susitraukia kartu su turiniu (nekarpo teksto) */
.chapter-panel { transform: scale(var(--ps, 1)); transform-origin: 50% 40%; }

/* ── Švelnesnė, greitesnė versija ── */
.chapters { background: #17130d; }
.chapter { height: 130vh; }
.chapter.ch-title { height: 115vh; }
@media (min-width: 960px) { .chapter { height: 140vh; } .chapter.ch-title { height: 120vh; } }
.chapter-panel { clip-path: inset(calc(var(--i) * 1%) calc(var(--i) * 1%)); }
.chapter-content { transform: translateY(calc((1 - var(--c)) * 22px)); }
.chapter-num { -webkit-text-stroke-color: rgba(244, 239, 225, .12); }

/* ── Greitesnė ir sklandesnė: tik transform/opacity, be clip-path ir be header blur ── */
.site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--green-deep); }
.chapter-panel { clip-path: none; transform-origin: 50% 45%; will-change: transform; backface-visibility: hidden; }
.chapter-num, .chapter-content { will-change: transform, opacity; backface-visibility: hidden; }
.chapter-content { transition: none; }
.chapter { height: 112vh; }
.chapter.ch-title { height: 100vh; }
@media (min-width: 960px) { .chapter { height: 118vh; } .chapter.ch-title { height: 104vh; } }

/* ═════════ „Neturiu laiko“ juosta ═════════ */
.quickbar {
  position: fixed; z-index: 40; left: 50%; bottom: 16px; width: min(720px, calc(100vw - 24px));
  display: flex; align-items: center; gap: 14px; padding: 12px 12px 12px 18px;
  background: var(--green-deep); color: #f4efe1; border-radius: 6px;
  border-top: 3px solid var(--yellow);
  box-shadow: 0 18px 50px -12px rgba(0, 0, 0, .55);
  transform: translate(-50%, calc(100% + 32px)); opacity: 0;
  transition: transform .45s cubic-bezier(.2, .8, .2, 1), opacity .3s;
}
.quickbar.show { transform: translate(-50%, 0); opacity: 1; }
.quickbar-text { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; flex: 1; }
.quickbar-text b { font-family: var(--font-display); font-stretch: 85%; font-weight: 800; font-size: 1.08rem; }
.quickbar-text span { font-size: .84rem; color: #c9c7a8; }
.quickbar-cta { background: var(--yellow); color: var(--yellow-ink); white-space: nowrap; font-weight: 700; padding: 13px 18px; }
.quickbar-cta:hover { color: var(--yellow-ink); filter: brightness(1.06); }
.quickbar-x {
  appearance: none; border: 0; background: transparent; color: #c9c7a8; font-size: 1.5rem; line-height: 1;
  width: 36px; height: 36px; cursor: pointer; flex-shrink: 0; border-radius: 3px;
}
.quickbar-x:hover { background: rgba(255, 255, 255, .08); color: #fff; }
@media (max-width: 600px) {
  .quickbar { flex-wrap: wrap; padding: 12px 10px 12px 14px; gap: 10px; bottom: 10px; }
  .quickbar-text { flex-basis: calc(100% - 50px); }
  .quickbar-text span { display: none; }
  .quickbar-cta { order: 3; flex-basis: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .quickbar { transition: none; } }
@media print { .quickbar { display: none !important; } }
.nav a[href="trumpai.html"]:not([aria-current]) { box-shadow: inset 0 0 0 1px var(--yellow); color: var(--yellow); }

/* ═════════ Trumpai puslapis ═════════ */
.quick-jump { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.quick-jump a { text-decoration: none; font-size: .88rem; font-weight: 600; padding: 7px 12px; border-radius: 3px; border: 1px solid var(--line-strong); color: var(--ink); }
.quick-jump a:hover { background: var(--yellow); color: var(--yellow-ink); border-color: var(--yellow); }
.tl-wrap { padding-top: 28px; padding-bottom: 48px; }
.tl-block { margin-bottom: 44px; scroll-margin-top: 80px; }
.tl-head { margin-bottom: 16px; }
.tl-head h2 { margin: 0; }
.tl-note { font-size: .82rem; margin: 12px 0 0; }

.esme { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
@media (min-width: 900px) { .esme { grid-template-columns: 1fr 1fr; } }
.esme a {
  display: grid; grid-template-columns: 48px 1fr 20px; gap: 12px; align-items: center; text-decoration: none;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; height: 100%;
  transition: border-color .2s, background .2s;
}
.esme a:hover { border-color: var(--olive); color: var(--ink); background: var(--paper); }
.esme-n { font-family: var(--font-display); font-weight: 900; font-stretch: 65%; font-size: 2rem; line-height: 1; color: var(--accent); }
.esme b { display: block; font-weight: 700; line-height: 1.3; }
.esme small { display: block; color: var(--muted); font-size: .88rem; margin-top: 2px; }
.esme-go { color: var(--muted); }

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--olive); color: var(--olive-ink); border-radius: var(--radius); padding: 16px; text-decoration: none; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.stat:hover { color: var(--olive-ink); filter: brightness(1.1); }
.stat b { font-family: var(--font-display); font-weight: 900; font-stretch: 72%; font-size: clamp(1.4rem, 4.6vw, 2rem); line-height: 1.05; color: var(--yellow); }
.stat span { font-size: .84rem; opacity: .85; }
.stat:nth-child(4n+2), .stat:nth-child(4n+3) { background: var(--green-deep); }

.faq { border-top: 2px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 16px 40px 16px 2px; position: relative;
  font-weight: 700; font-size: 1.05rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-mono); font-size: 1.3rem; color: var(--accent); transition: transform .2s;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item summary:hover { color: var(--accent); }
.faq-body { padding: 0 2px 18px; }
.faq-body .entries .entry:first-child { padding-top: 4px; }
.faq-body .know-link { color: var(--accent); }
body.has-quickbar .site-footer { padding-bottom: 130px; }
body[data-page="trumpai"] [data-reveal] { transition-duration: .35s !important; transition-delay: 0s !important; }

/* ── Trumpai: ryškesni šuolio mygtukai su švelniu pulsu ── */
.quick-jump a {
  background: rgba(226, 179, 59, .16); border-color: var(--yellow); color: #fff6d8;
  animation: jump-glow 3.2s ease-in-out infinite;
}
.quick-jump a:nth-child(2) { animation-delay: .4s; }
.quick-jump a:nth-child(3) { animation-delay: .8s; }
.quick-jump a:nth-child(4) { animation-delay: 1.2s; }
.quick-jump a:hover { animation: none; }
@keyframes jump-glow {
  0%, 70%, 100% { box-shadow: 0 0 0 0 rgba(226, 179, 59, 0); background-color: rgba(226, 179, 59, .16); }
  35% { box-shadow: 0 0 0 4px rgba(226, 179, 59, .22), 0 0 18px rgba(226, 179, 59, .35); background-color: rgba(226, 179, 59, .3); }
}
@media (prefers-reduced-motion: reduce) { .quick-jump a { animation: none; } }

/* ── Trumpai: D.U.K. panelė – numeruoti klausimai, vienas atidarytas vienu metu ── */
.tl-head-faq .kicker { display: flex; }
.tl-head-faq h2 {
  display: inline; padding: 0 6px; margin-left: -6px;
  background-image: linear-gradient(var(--yellow), var(--yellow)); background-repeat: no-repeat;
  background-size: 0% .42em; background-position: 0 90%;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  transition: background-size .7s cubic-bezier(.2, .7, .2, 1) .25s;
}
.tl-head-faq.in h2, html:not(.js) .tl-head-faq h2 { background-size: 100% .42em; }
.tl-faq-hint { display: flex; align-items: center; gap: 12px; margin: 12px 0 0; color: var(--ink-2); font-size: .95rem; }
.tl-faq-n {
  display: inline-grid; place-items: center; min-width: 34px; height: 34px; padding: 0 9px; border-radius: 999px; flex-shrink: 0;
  background: var(--yellow); color: var(--yellow-ink); font-family: var(--font-display); font-weight: 900; font-stretch: 75%; font-size: 1.15rem;
  animation: faq-pulse 3.2s ease-in-out infinite;
}
.tl-faq-n:empty { display: none; }
@keyframes faq-pulse {
  0%, 70%, 100% { box-shadow: 0 0 0 0 rgba(226, 179, 59, 0); }
  35% { box-shadow: 0 0 0 7px rgba(226, 179, 59, .28); }
}
.faq.tl-faq {
  counter-reset: faq; background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--yellow);
  border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.tl-faq .faq-item { border-bottom: 1px solid var(--line); scroll-margin-top: 84px; }
.tl-faq .faq-item:last-child { border-bottom: 0; }
.tl-faq .faq-item summary {
  display: grid; grid-template-columns: 46px 1fr 32px; align-items: center; gap: 12px;
  padding: 15px 16px 15px 18px; font-size: 1.06rem; line-height: 1.35;
  transition: background .2s, box-shadow .2s, color .2s;
}
.tl-faq .faq-item summary::before {
  counter-increment: faq; content: counter(faq, decimal-leading-zero);
  font-family: var(--font-display); font-weight: 900; font-stretch: 65%; font-size: 1.7rem; line-height: 1;
  color: var(--line-strong); transition: color .2s, transform .25s cubic-bezier(.2, .7, .2, 1);
}
.tl-faq .faq-item summary::after {
  position: static; transform: none; justify-self: end;
  width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--line-strong);
  display: grid; place-items: center; font-size: 1.15rem; line-height: 1;
  transition: transform .28s cubic-bezier(.2, .7, .2, 1), background .2s, border-color .2s, color .2s;
}
.tl-faq .faq-item summary:hover { background: var(--paper); }
.tl-faq .faq-item summary:hover::before { color: var(--accent); transform: translateX(2px); }
.tl-faq .faq-item summary:hover::after { border-color: var(--yellow); background: var(--yellow-soft); }
.tl-faq .faq-item summary:focus-visible { outline: 2px solid var(--yellow); outline-offset: -2px; }
.tl-faq .faq-item[open] summary { background: var(--paper); box-shadow: inset 5px 0 0 var(--yellow); color: var(--ink); }
.tl-faq .faq-item[open] summary::before { color: var(--accent); }
.tl-faq .faq-item[open] summary::after { transform: rotate(45deg); background: var(--yellow); border-color: var(--yellow); color: var(--yellow-ink); }
.tl-faq .faq-body { padding: 2px 18px 22px 76px; background: var(--paper); box-shadow: inset 5px 0 0 var(--yellow); }
.tl-faq .faq-item[open] .faq-body { animation: faq-in .32s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes faq-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.tl-faq .duk-src { background: var(--card); }
.tl-more { margin-top: 16px; }
@media (max-width: 600px) {
  .tl-faq .faq-item summary { grid-template-columns: 34px 1fr 28px; gap: 10px; padding: 13px 12px 13px 14px; font-size: 1rem; }
  .tl-faq .faq-item summary::before { font-size: 1.35rem; }
  .tl-faq .faq-item summary::after { width: 28px; height: 28px; }
  .tl-faq .faq-body { padding: 0 12px 18px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .tl-faq-n { animation: none; }
  .tl-faq .faq-item[open] .faq-body { animation: none; }
  .tl-head-faq h2 { transition: none; }
}

/* ═════════ Piktograma: 100 žmogeliukų ═════════ */
.pikto { margin: 20px 0 10px; display: grid; gap: 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
@media (min-width: 640px) { .pikto { grid-template-columns: minmax(220px, 300px) 1fr; gap: 28px; align-items: center; padding: 24px; } }
.pikto-grid { max-width: 280px; margin: 0 auto; width: 100%; }
.pikto-grid svg { width: 100%; height: auto; display: block; fill: var(--line-strong); }
.pikto-grid use { transition: fill .35s ease; transition-delay: var(--d, 0ms); }
/* Žali užsipildo vienas po kito, kai figūra atsiranda ekrane (data-reveal → .in). Be JS – iš karto. */
.pikto.in .pikto-grid use.on, html:not(.js) .pikto-grid use.on { fill: var(--ok); }
@media (prefers-reduced-motion: reduce) { .pikto-grid use { transition: none; } }
.pikto figcaption { min-width: 0; }
.pikto-num { font-family: var(--font-display); font-weight: 900; font-stretch: 75%; font-size: 1.1rem; color: var(--ok); text-transform: uppercase; letter-spacing: .02em; }
.pikto-num b { font-size: 2.6rem; line-height: 1; margin-right: 4px; }
.pikto h3 { margin: 4px 0 8px; font-size: 1.25rem; }
.pikto p { margin: 0 0 12px; color: var(--ink-2); font-size: .96rem; }
.pikto-legend { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 6px; font-size: .9rem; }
.pikto-legend li { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pikto-legend li::before { content: ''; width: 12px; height: 12px; border-radius: 3px; background: var(--line-strong); flex-shrink: 0; }
.pikto-legend li.on::before { background: var(--ok); }
.pikto-legend .mono { color: var(--muted); }
.pikto .meta .sep { margin: 0 6px; color: var(--muted); }

/* ═════════ Kortelės: antraštė matoma, tekstas atsiskleidžia ═════════ */
.kortos { display: grid; gap: 10px; margin-top: 18px; }
@media (min-width: 700px) { .kortos { grid-template-columns: 1fr 1fr; gap: 12px; } }
.kort { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); align-self: start; min-width: 0; }
.kort > summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 14px 16px;
  font-family: var(--font-display); font-weight: 800; font-stretch: 85%; font-size: 1.08rem; line-height: 1.2; color: var(--ink);
}
.kort > summary::-webkit-details-marker { display: none; }
.kort > summary:hover { color: var(--accent); }
.kort > summary:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; border-radius: var(--radius); }
.kort-h { flex: 1; min-width: 0; }
.kort > summary .tag { font-family: var(--font-mono); font-weight: 500; font-stretch: 100%; }
.kort-x { position: relative; width: 14px; height: 14px; flex-shrink: 0; color: var(--muted); }
.kort-x::before, .kort-x::after { content: ''; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; background: currentColor; transition: transform .2s; }
.kort-x::after { transform: rotate(90deg); }
.kort[open] .kort-x::after { transform: rotate(0); }
.kort[open] { border-color: var(--line-strong); }
.kort[open] > summary { border-bottom: 1px solid var(--line); }
.kort.is-pt[open] > summary { box-shadow: inset 3px 0 0 var(--pt); }
.kort:not(.is-pt)[open] > summary { box-shadow: inset 3px 0 0 var(--of); }
.kort-b { padding: 12px 16px 14px; display: grid; gap: 8px; }
.kort-b .t { margin: 0; font-size: .96rem; }
.kort-b .ton { font-weight: 600; margin: 0; color: var(--ink); padding-left: 12px; border-left: 3px solid var(--accent); }
.kort-b .meta { margin-top: 2px; }

/* ═════════ Dienos ratas (diena.html) ═════════ */
/* Viso pločio juosta po puslapio įžanga – ratas yra puslapio centras, ne kortelė turinio stulpelyje. */
.ratas-band {
  --ink: #f4efe1; --ink-2: #dcd6c0; --muted: #a7ad86;
  --line: rgba(244, 239, 225, .14); --line-strong: rgba(244, 239, 225, .32);
  --card: rgba(255, 255, 255, .06); --sunk: rgba(255, 255, 255, .1);
  --accent: var(--yellow); --accent-ink: var(--yellow-ink);
  --r-bg: #283014; --r-bg-rgb: 40, 48, 20; --r-day: #4b5320; --r-day-2: #5a6328; --r-dusk: #3b4320; --r-night: #15180d; --r-cream: #f4efe1;
  background: var(--r-bg); color: var(--ink); padding: 36px 0 44px; border-bottom: 4px solid var(--olive);
  position: relative; overflow: hidden; isolation: isolate;
  transition: background-color .4s;
}
/* Naktinis atspalvis – blokas su `fonas: 'naktis'` (kb.js, miegas) perjungia juostą iš alyvinės į tamsiai mėlyną. */
.ratas-band.naktis { --r-bg: #0d1322; --r-bg-rgb: 13, 19, 34; --r-night: #070a14; }
@media (min-width: 900px) { .ratas-band { padding: 52px 0 60px; } }
/* Po juosta – tuščia erdvė, kad „Trys etapai“ atsirastų tik paslinkus. */
.ratas-band + .layout { padding-top: 72px; }
@media (min-width: 900px) { .ratas-band + .layout { padding-top: 120px; } }
/* Nuotrauka po ratu – pritemdyta, kad tekstas liktų skaitomas (ugnis dešinėje, po kortele).
   Blokas su `foto` lauku (kb.js) per JS nustato --r-foto / --r-foto-pos – fonas pasikeičia į to bloko nuotrauką. */
.ratas-band::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: var(--r-foto, url(../img/sauktiniai-pratybos.webp)) var(--r-foto-pos, center 55%) / cover no-repeat; opacity: .3;
  filter: saturate(.85);
}
.ratas-band::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(var(--r-bg-rgb), .55) 0%, rgba(var(--r-bg-rgb), .3) 45%, rgba(var(--r-bg-rgb), .7) 100%),
    linear-gradient(180deg, rgba(var(--r-bg-rgb), .25) 0%, rgba(var(--r-bg-rgb), .8) 100%);
}
.ratas-band .wrap { position: relative; }
.ratas-head h2 { font-size: clamp(2rem, 5.2vw, 3.4rem); font-weight: 900; font-stretch: 75%; text-transform: uppercase; letter-spacing: -0.01em; margin: 0 0 10px; }
.ratas-head p { max-width: 62ch; color: var(--ink-2); margin: 0 0 26px; }
.ratas { display: grid; gap: 26px; }
@media (min-width: 900px) { .ratas { grid-template-columns: minmax(320px, 620px) minmax(280px, 1fr); gap: 48px; align-items: center; } }
.ratas-credit { position: absolute; right: 0; bottom: -26px; font-family: var(--font-mono); font-size: .62rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); text-decoration: none; opacity: .8; }
@media (min-width: 900px) { .ratas-credit { bottom: -40px; } }
.ratas-credit:hover { color: var(--ink); text-decoration: underline; opacity: 1; }
.ratas-rest { margin-top: 28px; border-top: 1px solid var(--line); }
.ratas-rest .entry { border-color: var(--line); }
.ratas-rest .entry .t { color: var(--ink-2); }
.ratas-rest .tag.of, .ratas-panel .tag.of { background: rgba(244, 239, 225, .12); color: var(--ink-2); }
.ratas-rest .tag.gal, .ratas-panel .tag.gal { background: rgba(244, 239, 225, .08); color: var(--ink-2); }
.ratas-rest .meta a { color: var(--ink-2); }
.ratas-stage { max-width: 620px; margin: 0 auto; width: 100%; }
.ratas svg { width: 100%; height: auto; display: block; font-family: var(--font-mono); }
.ratas-ring { fill: none; stroke: rgba(244, 239, 225, .18); stroke-width: 1; }
.ratas-ticks line { stroke: rgba(244, 239, 225, .35); stroke-width: 1.2; }
.ratas-ticks line.big { stroke: var(--r-cream); stroke-width: 2; }
.ratas-ico circle, .ratas-ico line { fill: var(--muted); stroke: var(--muted); stroke-width: 1.4; }
.ratas-ico .cut { fill: var(--r-bg); stroke: none; }
.ratas-seg { cursor: pointer; outline: none; }
.ratas-seg path { fill: var(--r-day); stroke: var(--r-bg); stroke-width: 3; transition: fill .15s; }
.ratas-seg:nth-child(odd) path { fill: var(--r-day-2); }
.ratas-seg.dusk path { fill: var(--r-dusk); }
.ratas-seg.night path { fill: var(--r-night); }
.ratas-seg:hover path { fill: #6b7532; }
.ratas-seg.night:hover path { fill: #23271a; }
.ratas-seg[aria-pressed="true"] path, .ratas-seg[aria-pressed="true"]:hover path { fill: var(--yellow); }
.ratas-seg:focus-visible path { stroke: var(--yellow); stroke-width: 3; }
.ratas-n { fill: var(--r-cream); font-size: 15px; font-weight: 500; text-anchor: middle; dominant-baseline: central; pointer-events: none; letter-spacing: .04em; }
.ratas-seg.night .ratas-n { fill: var(--muted); }
.ratas-seg[aria-pressed="true"] .ratas-n { fill: var(--yellow-ink); font-weight: 700; }
.ratas-lbl { fill: var(--muted); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; transition: fill .15s; }
.ratas-lbl:hover, .ratas-lbl.on { fill: var(--r-cream); }
.ratas-lbl.on { font-weight: 700; }
/* Siaurame ekrane užrašai aplink ratą nebetelpa – lieka numeriai ir pavadinimas kortelėje. */
@media (max-width: 440px) { .ratas-labels { display: none; } .ratas svg { margin: -6% auto; width: 112%; max-width: none; position: relative; left: -6%; } }
.ratas-core circle { fill: var(--r-bg); stroke: rgba(244, 239, 225, .22); stroke-width: 1; }
.ratas-core text { text-anchor: middle; fill: var(--r-cream); pointer-events: none; }
.ratas-core-k { font-size: 8.5px; letter-spacing: .18em; text-transform: uppercase; fill: var(--muted) !important; }
.ratas-core-n { font-family: var(--font-display); font-weight: 900; font-stretch: 75%; font-size: 46px; fill: var(--yellow) !important; }
.ratas-panel { min-width: 0; }
.ratas-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.ratas-kicker { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); }
.ratas-nav { display: inline-flex; gap: 6px; }
.ratas-nav .btn { padding: 4px 12px; font-size: 1.1rem; line-height: 1; color: var(--ink); border-color: var(--line-strong); }
.ratas-nav .btn:hover { background: var(--sunk); color: var(--ink); }
.ratas-panel h3 { font-size: clamp(1.35rem, 2.6vw, 1.7rem); font-weight: 900; font-stretch: 80%; text-transform: uppercase; letter-spacing: .01em; margin: 0 0 10px; color: var(--r-cream); }
.ratas-panel .t { margin: 0 0 10px; color: var(--ink-2); font-size: 1.02rem; }
.ratas-panel .ton { font-weight: 600; margin: 0 0 10px; color: var(--ink); padding-left: 12px; border-left: 3px solid var(--yellow); }
.ratas-panel .meta { color: var(--muted); margin-top: 6px; }
.ratas-panel .meta a { color: var(--ink-2); }
.ratas-panel .tag.of { background: rgba(244, 239, 225, .12); color: var(--ink-2); }
.ratas-panel .tag.gal { background: rgba(244, 239, 225, .08); color: var(--ink-2); }
.ratas-hint { font-size: .8rem; margin: 16px 0 0; }

/* ═════════ „Kur tarnauti“ žemėlapis ═════════ */
.map-section {
  --ink: #f4efe1; --ink-2: #dcd6c0; --muted: #a7ad86;
  --line: rgba(244, 239, 225, .14); --line-strong: rgba(244, 239, 225, .32);
  --card: rgba(255, 255, 255, .06); --sunk: rgba(255, 255, 255, .1);
  --accent: var(--yellow); --accent-ink: var(--yellow-ink);
  --map-dot: #e8475f; --map-cream: #f4efe1;
  background: var(--green-deep); color: var(--ink); padding: 36px 0 44px; border-bottom: 4px solid var(--olive);
}
@media (min-width: 900px) { .map-section { padding: 48px 0 56px; } }
.map-head h2 { font-size: clamp(2rem, 5.2vw, 3.4rem); font-weight: 900; font-stretch: 75%; text-transform: uppercase; letter-spacing: -0.01em; margin: 0 0 10px; }
.map-head p { max-width: 62ch; color: var(--ink-2); margin: 0; }
.map-head p b { color: var(--ink); font-weight: 600; }
.map-branches { margin: 22px 0 20px; }
.map-branches button {
  font-family: var(--font-display); font-weight: 800; font-stretch: 85%; text-transform: uppercase; letter-spacing: .02em; font-size: .95rem;
  padding: 9px 14px; display: inline-flex; gap: 10px; align-items: center;
}
.map-branches button b { font-family: var(--font-mono); font-weight: 500; font-size: .78rem; opacity: .7; }
.map-branches button[aria-pressed="true"] { background: var(--map-cream); color: var(--green-deep); border-color: var(--map-cream); box-shadow: inset 0 -3px 0 var(--yellow); }
.map-branches button[aria-pressed="false"] { background: transparent; color: var(--muted); border-color: var(--line-strong); box-shadow: none; }
.map-branches button[aria-pressed="false"]:hover { color: var(--ink); border-color: var(--map-cream); }
.map-layout { display: grid; gap: 28px; }
.map-layout > * { min-width: 0; }
@media (min-width: 900px) { .map-layout { grid-template-columns: minmax(0, 1.45fr) minmax(250px, .8fr); gap: 40px; align-items: start; } }
.map-stage { position: relative; aspect-ratio: 1642 / 1268; max-width: 720px; }
.map-img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.map-sea { position: absolute; left: 2%; top: 60%; transform: rotate(-90deg); transform-origin: left top; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(244, 239, 225, .38); white-space: nowrap; pointer-events: none; }
.map-pins { position: absolute; inset: 0; }
.map-pin { position: absolute; width: 0; height: 0; }
.map-dot { position: absolute; left: -12px; top: -12px; width: 24px; height: 24px; border-radius: 50%; border: 0; padding: 0; background: transparent; cursor: pointer; display: grid; place-items: center; z-index: 2; }
.map-dot i { width: 12px; height: 12px; border-radius: 50%; background: var(--map-dot); box-shadow: 0 0 0 3px rgba(232, 71, 95, .25), 0 2px 8px rgba(0, 0, 0, .45); transition: transform .15s, box-shadow .15s; }
.map-pin:hover .map-dot i, .map-pin.hot .map-dot i, .map-dot:focus-visible i { transform: scale(1.3); box-shadow: 0 0 0 6px rgba(232, 71, 95, .3), 0 2px 10px rgba(0, 0, 0, .5); }
.map-pin.hot .map-dot::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--map-dot); animation: map-pulse 1.1s ease-out infinite; }
@keyframes map-pulse { from { transform: scale(.5); opacity: .9; } to { transform: scale(2.3); opacity: 0; } }
.map-label { position: absolute; left: 13px; top: -10px; white-space: nowrap; font-weight: 700; font-size: .84rem; line-height: 1.25; text-shadow: 0 1px 3px rgba(0, 0, 0, .7); cursor: pointer; z-index: 1; }
.map-label b { font-weight: 500; color: var(--muted); font-family: var(--font-mono); font-size: .74rem; margin-left: 2px; }
.map-pin.lb-l .map-label { left: auto; right: 13px; }
.map-pin.lb-t .map-label { left: 0; top: -30px; transform: translateX(-50%); }
.map-pin.lb-b .map-label { left: 0; top: 12px; transform: translateX(-50%); }
.map-fan { position: absolute; left: -16px; top: 10px; display: none; gap: 6px; padding: 8px 6px 6px; z-index: 5; }
.map-pin.lb-b .map-fan { top: 30px; }
.map-pin.lb-l .map-fan { left: auto; right: -16px; flex-direction: row-reverse; }
.map-pin:hover .map-fan, .map-pin:focus-within .map-fan { display: flex; }
.emb { position: relative; appearance: none; border: 0; background: transparent; padding: 0; cursor: pointer; width: 34px; height: 41px; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .5)); transition: transform .15s; }
.emb:hover, .emb:focus-visible { transform: translateY(-3px) scale(1.08); z-index: 2; }
.emb-img { width: 100%; height: 100%; object-fit: contain; display: block; }
.map-fan .emb { animation: emb-in .25s cubic-bezier(.2, .7, .2, 1) both; }
.map-fan .emb:nth-child(2) { animation-delay: .05s; }
.map-fan .emb:nth-child(3) { animation-delay: .1s; }
.map-fan .emb:nth-child(4) { animation-delay: .15s; }
.map-fan .emb:nth-child(5) { animation-delay: .2s; }
@keyframes emb-in { from { opacity: 0; transform: translateY(-8px) scale(.7); } to { opacity: 1; transform: none; } }
.emb-tip {
  position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%); width: max-content; max-width: 240px;
  background: var(--map-cream); color: #2b2118; padding: 8px 10px; border-radius: 4px; font-size: .8rem; line-height: 1.3; text-align: left;
  display: none; z-index: 6; box-shadow: 0 8px 24px rgba(0, 0, 0, .4); white-space: normal; font-weight: 400;
}
.emb-tip b { display: block; font-weight: 700; }
.emb-tip span { color: #6e6152; font-size: .74rem; }
.emb-tip::after { content: ''; position: absolute; left: 50%; top: 100%; margin-left: -5px; border: 5px solid transparent; border-top-color: var(--map-cream); }
.emb:hover .emb-tip, .emb:focus-visible .emb-tip { display: block; }
.map-list h3 { font-family: var(--font-display); font-weight: 900; font-stretch: 76%; text-transform: uppercase; font-size: 1.7rem; margin: 0 0 6px; }
.map-places { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.map-place {
  appearance: none; font: inherit; cursor: pointer; text-align: left; display: flex; justify-content: space-between; gap: 8px; align-items: center;
  padding: 10px 12px; border-radius: 3px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .05); color: var(--ink); font-weight: 600; font-size: .95rem; min-width: 0;
}
.map-place b { font-family: var(--font-mono); font-weight: 500; font-size: .78rem; color: var(--muted); flex-shrink: 0; }
.map-place:hover, .map-place.hot, .map-place:focus-visible { border-color: var(--map-cream); background: rgba(255, 255, 255, .1); }
.map-place.nop { grid-column: 1 / -1; color: var(--muted); border-style: dashed; }
.map-note { font-size: .82rem; margin: 20px 0 0; max-width: 80ch; }
@media (max-width: 640px) {
  .map-label { display: none; }
  .map-fan { display: none !important; }
  .map-stage { max-width: none; }
  .map-branches button { font-size: .85rem; padding: 8px 11px; gap: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  .map-fan .emb, .map-pin.hot .map-dot::before, .unit.flash { animation: none; }
}

/* Emblema kortelėje ir žemėlapio lange */
.unit-head { display: flex; gap: 12px; align-items: flex-start; }
.unit-head > div { min-width: 0; }
.emb-card { width: 42px; height: 48px; flex-shrink: 0; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .25)); }
.unit.flash { animation: unit-flash 1.8s ease-out; }
@keyframes unit-flash { 0%, 35% { box-shadow: 0 0 0 3px var(--yellow); } 100% { box-shadow: 0 0 0 1px transparent; } }
dialog.unit-dialog { width: min(680px, calc(100vw - 24px)); }
.unit-dialog-inner { gap: 14px; }
.unit-dialog-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.unit-dialog-head h2 { font-size: 1.9rem; margin: 0; }
.unit-dialog-head .kicker { margin-bottom: 6px; }
.unit-dialog-list { display: grid; gap: 8px; }
.udetail { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.udetail summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 42px 1fr 20px; gap: 12px; align-items: center; padding: 12px 14px; }
.udetail summary::-webkit-details-marker { display: none; }
.udetail summary:hover { color: var(--accent); }
.udetail-t { min-width: 0; }
.udetail-t b { display: block; line-height: 1.25; }
.udetail-t small { display: block; color: var(--muted); font-size: .74rem; margin-top: 3px; font-family: var(--font-mono); }
.udetail-x { font-family: var(--font-mono); font-size: 1.3rem; color: var(--accent); text-align: center; transition: transform .2s; }
.udetail[open] .udetail-x { transform: rotate(45deg); }
.udetail-body { padding: 0 14px 14px; display: grid; gap: 12px; }
.udetail-body dl { margin: 0; display: grid; gap: 8px; font-size: .9rem; }
.udetail-body dt { font-weight: 600; font-size: .74rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; font-family: var(--font-mono); }
.udetail-body dd { margin: 0; color: var(--ink-2); }
.udetail-body .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.udetail-body .know-link { margin-top: 0; justify-self: start; }
.emb-md { width: 42px; height: 48px; }

/* ── Krūvio juostos (kaip ryšio signalas), papildo tekstą: 1 – nuosaikus (žalia), 2 – vidutinis (geltona), 3 – aukštas (raudona) ── */
.kruvis { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; margin-right: 7px; vertical-align: -1px; }
.kruvis i { display: block; width: 5px; border-radius: 1px; background: var(--line-strong); opacity: .5; }
.kruvis i:nth-child(1) { height: 6px; }
.kruvis i:nth-child(2) { height: 10px; }
.kruvis i:nth-child(3) { height: 14px; }
.kruvis i.on { background: var(--kruvis-c); opacity: 1; }
.kruvis i.half { background: var(--kruvis-c); opacity: .4; }
.kruvis-g { --kruvis-c: #3f9a47; }
.kruvis-y { --kruvis-c: #e2b33b; }
.kruvis-r { --kruvis-c: #d6453f; }
.emb-tip .kruvis { height: 11px; margin-right: 5px; }
.emb-tip .kruvis i { width: 4px; }
.emb-tip .kruvis i:nth-child(1) { height: 5px; }
.emb-tip .kruvis i:nth-child(2) { height: 8px; }
.emb-tip .kruvis i:nth-child(3) { height: 11px; }

/* ── Fizinis: KFPT įrankiai ── */
.page-intro.compact { padding: 28px 0 18px; }
@media (min-width: 900px) { .page-intro.compact { padding: 40px 0 22px; } }
.page-intro.compact h1 { font-size: clamp(2rem, 4.6vw, 3rem); max-width: none; }
.page-intro.compact .lead { font-size: 1.02rem; margin: 0; }

.flow { list-style: none; margin: 18px 0; padding: 0; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.flow::-webkit-scrollbar { display: none; }
.flow li { flex: 1 0 auto; }
.flow a {
  display: flex; align-items: center; gap: 8px; white-space: nowrap; text-decoration: none; color: var(--ink-2);
  font-size: .84rem; font-weight: 600; padding: 8px 12px 8px 8px; border: 1px solid var(--line); border-radius: var(--btn-radius); background: var(--card);
}
.flow a:hover { border-color: var(--ink); color: var(--ink); }
.flow b { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 3px; background: var(--olive); color: var(--olive-ink); font-family: var(--font-mono); font-size: .72rem; }

.tool-next { margin-top: 28px; scroll-margin-top: 80px; }
#tikrintuvas, #trukumas { scroll-margin-top: 80px; }
.tool-grid.c2 { align-items: start; }
@media (min-width: 720px) { .tool-grid.c2 { grid-template-columns: 1fr 1.3fr; } }
.field-lbl { font-weight: 600; font-size: .9rem; }
.target-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 18px; }
.target-row.tight { margin-top: 0; }
.target-lbl { font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.tool-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

.res-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.pill { font-family: var(--font-mono); font-size: .68rem; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; padding: 2px 7px; border-radius: var(--btn-radius); }
.pill.ok { background: var(--ok-soft); color: var(--ok); }
.pill.bad { background: var(--bad-soft); color: var(--bad); }
.res.weak { box-shadow: inset 0 -3px 0 var(--yellow); }
.weak-tag { display: inline-block; margin-top: 10px; font-size: .74rem; font-weight: 700; background: var(--yellow); color: var(--yellow-ink); padding: 2px 8px; border-radius: var(--btn-radius); }

.gap-block:not(:empty) { margin-top: 22px; padding-top: 20px; border-top: 1px dashed var(--line-strong); }
.gap-head p { margin: 6px 0 12px; color: var(--ink-2); }
.gap-table td, .gap-table th { padding: 9px 12px; }
.gap-table td.num b { display: block; font-size: .95rem; color: var(--bad); }
.gap-table td.num small { display: block; font-size: .72rem; color: var(--muted); font-weight: 400; }
.gap-table td.met span { display: block; color: var(--ok); font-weight: 700; }
.gap-table .sel { background: var(--yellow-soft); }
.gap-table th.sel { background: var(--yellow); color: var(--yellow-ink); }

/* Tikrintuvas: santrauka */
.sum { display: grid; gap: 16px; margin-top: 22px; padding: 18px 20px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--paper); border-left-width: 4px; }
.sum.ok { border-left-color: var(--ok); }
.sum.bad { border-left-color: var(--bad); }
.sum.neutral { border-left-color: var(--line-strong); }
@media (min-width: 760px) { .sum { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } }
.sum-main p { margin: 4px 0 0; color: var(--ink-2); font-size: .92rem; }
.sum-verdict { font-family: var(--font-display); font-weight: 900; font-stretch: 72%; font-size: clamp(1.9rem, 5vw, 2.6rem); line-height: 1; letter-spacing: -0.01em; }
.sum.ok .sum-verdict { color: var(--ok); }
.sum.bad .sum-verdict { color: var(--bad); }
.score-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.score { display: grid; gap: 1px; padding: 6px 10px; border-radius: var(--btn-radius); background: var(--sunk); min-width: 86px; }
.score small { font-size: .68rem; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.score b { font-family: var(--font-display); font-stretch: 80%; font-size: 1.15rem; line-height: 1.1; }
.score.ok b { color: var(--ok); }
.score.bad b { color: var(--bad); }
.score.weak { box-shadow: inset 0 -3px 0 var(--yellow); }
.sum-side { display: grid; gap: 10px; align-content: start; }
.sum-side > div { display: grid; gap: 1px; padding-left: 12px; border-left: 2px solid var(--line-strong); }
.sum-side .lbl { font-family: var(--font-mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.sum-side b { font-size: 1.02rem; }
.sum-side small { font-size: .8rem; color: var(--muted); }

/* Planas */
.plan-ctl { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.goals { display: grid; gap: 10px; }
@media (min-width: 720px) { .goals { grid-template-columns: repeat(3, 1fr); } }
.goal-chip { display: grid; gap: 3px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); font-size: .86rem; }
.goal-chip.weak { border-color: var(--yellow); box-shadow: inset 3px 0 0 var(--yellow); }
.goal-chip .lbl { font-size: .76rem; color: var(--muted); font-weight: 600; }
.goal-line { font-size: .98rem; }
.goal-line b { font-family: var(--font-display); font-size: 1.25rem; font-stretch: 82%; }
.week-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 22px 0 6px; }
.week-nav .seg button { min-width: 38px; padding: 7px 10px; }
.week { margin-top: 16px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.week-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px; padding: 12px 16px; background: var(--sunk); }
.week-head h3 { margin: 0; font-size: 1.1rem; }
.week-head h3 .muted { font-family: var(--font-body); font-size: .82rem; font-weight: 500; }
.week-chk { font-size: .84rem; color: var(--ink-2); }
.days { list-style: none; margin: 0; padding: 0; }
.day { display: grid; grid-template-columns: 38px 1fr; gap: 10px; padding: 11px 16px; border-top: 1px solid var(--line); font-size: .9rem; }
.day .dn { font-family: var(--font-mono); font-size: .76rem; font-weight: 600; color: var(--muted); padding-top: 2px; }
.day .dt { display: inline-block; font-size: .84rem; margin-bottom: 2px; }
.day ul { margin: 2px 0 0; padding-left: 18px; }
.day ul li { margin: 2px 0; }
.day li.star::marker { content: '★ '; color: var(--pt); }
.day li.chk { list-style: none; margin-left: -18px; background: var(--yellow-soft); padding: 3px 8px; border-radius: var(--btn-radius); display: inline-block; }
.day.rest { color: var(--muted); padding-top: 8px; padding-bottom: 8px; }
.day.rest .dt { font-weight: 600; }
.day.test { background: var(--accent-soft); }
.day.test .dt { color: var(--accent); }
.day-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-bottom: 2px; }
.day-head .dt { margin: 0; }
.badge { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .03em; padding: 1px 7px; border-radius: var(--btn-radius); background: var(--olive); color: var(--olive-ink); }
.badge.soft { background: var(--sunk); color: var(--ink-2); }
.day-why { margin: 6px 0 0; font-size: .8rem; color: var(--muted); max-width: 60ch; }

/* Bandomasis testas */
.mock-steps { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.mock-steps li { display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border: 1px solid var(--line); border-radius: var(--btn-radius); font-size: .84rem; font-weight: 600; color: var(--muted); background: var(--card); }
.mock-steps li b { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 3px; background: var(--sunk); font-family: var(--font-mono); font-size: .72rem; font-weight: 500; }
.mock-steps li.now { color: var(--ink); border-color: var(--ink); }
.mock-steps li.now b { background: var(--olive); color: var(--olive-ink); }
.mock-steps li.past { color: var(--ok); }
.mock-steps li.past b { background: var(--ok-soft); color: var(--ok); }
.mock-steps li small { font-weight: 500; color: var(--ink-2); }
.mock-card { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); }
.mock-card .lbl { font-size: .8rem; color: var(--muted); font-weight: 600; }
.mock-clock { font-family: var(--font-display); font-weight: 900; font-stretch: 72%; font-size: clamp(3.4rem, 14vw, 6rem); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; margin: 6px 0 4px; }
.mock-clock.done { color: var(--accent); }
.mock-note { margin: 0 0 14px; color: var(--ink-2); font-size: .92rem; max-width: 56ch; }
.mock-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.mock-entry { display: flex; flex-wrap: wrap; align-items: end; gap: 10px 16px; margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line-strong); }
.mock-entry .field { flex: 0 1 220px; }
.mock-entry input[aria-invalid="true"] { border-color: var(--bad); }

/* Progresas: kreivės */
.spark { display: block; width: 100%; height: auto; margin-top: 12px; overflow: visible; }
.spark polyline { fill: none; stroke: var(--olive); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.spark circle { fill: var(--olive); stroke: var(--paper); stroke-width: 2; }
.spark .lim { stroke: var(--accent); stroke-width: 1.5; stroke-dasharray: 4 4; }
.spark text { font-family: var(--font-mono); font-size: 10px; fill: var(--muted); }
.spark .lim-lbl { fill: var(--accent); }
.plan-foot { font-size: .8rem; margin: 14px 0 0; }

/* Tempas */
.pace-chain { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin: 22px 0 14px; font-family: var(--font-display); font-stretch: 80%; }
.pace-chain b { font-size: clamp(1.7rem, 4.5vw, 2.4rem); font-weight: 800; line-height: 1; }
.pace-chain small { font-size: .9rem; color: var(--muted); font-family: var(--font-body); font-stretch: 100%; font-weight: 600; margin-left: 2px; }
.pace-chain i { font-style: normal; color: var(--accent); font-size: 1.4rem; }
.pace-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 720px) { .pace-grid { grid-template-columns: repeat(4, 1fr); } }
.pace-grid .pts { font-size: 1.9rem; }
.pace-note { font-size: .88rem; color: var(--ink-2); margin: 14px 0 0; }
.laps { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.laps li { font-family: var(--font-mono); font-size: .8rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--btn-radius); padding: 4px 8px; }
.laps li span { color: var(--muted); margin-right: 6px; }
.laps li.fin { background: var(--olive); color: var(--olive-ink); border-color: var(--olive); }
.laps li.fin span { color: inherit; opacity: .75; }
.tool .lbl { font-size: .8rem; color: var(--muted); font-weight: 600; }

/* Progresas */
.pr-sum { margin: 0 0 12px; font-size: .92rem; }
small.up { color: var(--ok); font-weight: 600; }
small.down { color: var(--bad); font-weight: 600; }
.x-btn { appearance: none; border: 0; background: none; color: var(--muted); font-size: 1.1rem; cursor: pointer; padding: 0 4px; line-height: 1; }
.x-btn:hover { color: var(--bad); }

/* ═════════ D.U.K. puslapis ═════════ */
.duk-intro .lead { margin-bottom: 22px !important; }
.duk-search { max-width: 760px; }
.duk-intro .srch-form { background: rgba(255, 255, 255, .08); border-color: rgba(244, 239, 225, .38); }
.duk-intro .srch-form:focus-within { border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(226, 179, 59, .25); }
.duk-intro .srch-form input[type="search"] { color: #fffaf0; font-size: 1.12rem; padding: 16px 12px; }
.duk-intro .srch-form input::placeholder { color: #c9c7a8; opacity: 1; }
.duk-intro .srch-ico { stroke: #c9c7a8; }
.duk-intro .chip { background: transparent; border-color: rgba(244, 239, 225, .28); color: #e9e4cf; }
.duk-intro .chip:hover { border-color: var(--yellow); color: var(--yellow); }
.duk-intro .srch-status { color: #c9c7a8; }
.duk-cats { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.duk-cats a {
  text-decoration: none; font-size: .86rem; font-weight: 600; padding: 6px 11px; border-radius: 3px;
  border: 1px solid rgba(244, 239, 225, .28); color: #f4efe1; display: inline-flex; gap: 7px; align-items: center;
}
.duk-cats a span { font-family: var(--font-mono); font-size: .72rem; color: var(--yellow); }
.duk-cats a:hover { background: var(--yellow); color: var(--yellow-ink); border-color: var(--yellow); }
.duk-cats a:hover span { color: var(--yellow-ink); }
.srch.has-q ~ .duk-cats { display: none; }

.duk-wrap { padding-top: 36px; padding-bottom: 56px; }
.duk-top-sec { margin-bottom: 56px; }
.duk-top { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 760px) { .duk-top { grid-template-columns: 1fr 1fr; } }
.duk-card {
  position: relative; background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--olive);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 18px 16px 64px; display: grid; gap: 8px; align-content: start; min-width: 0;
}
.duk-card:nth-child(-n+3) { border-top-color: var(--accent); }
.duk-n {
  position: absolute; left: 16px; top: 14px; font-family: var(--font-display); font-weight: 900; font-stretch: 65%;
  font-size: 2rem; line-height: 1; color: var(--accent);
}
.duk-card h3 { margin: 0; font-size: 1.14rem; line-height: 1.25; }
.duk-card p { margin: 0; color: var(--ink-2); font-size: .96rem; }
.duk-card .meta { margin-top: 2px; }
.duk-card-more { margin-left: auto; color: var(--accent-text) !important; font-weight: 600; text-decoration: none; font-size: .8rem; }
.duk-card-more:hover { text-decoration: underline; }
@media (max-width: 480px) { .duk-card { padding-left: 18px; padding-top: 50px; } .duk-n { top: 12px; } }

.duk-all-head { margin-bottom: 8px; }
.duk-all-head .kicker { margin-bottom: 6px; }
.duk-kat { margin-bottom: 40px; scroll-margin-top: 80px; }
.duk-kat h2 { font-size: clamp(1.4rem, 2.8vw, 1.85rem); margin: 0 0 4px; }
.duk-kat-lead { margin: 0 0 12px; font-size: .95rem; }
.duk-item summary { line-height: 1.35; }
.duk-star {
  font-family: var(--font-mono); font-weight: 500; font-size: .66rem; text-transform: uppercase; letter-spacing: .05em;
  color: var(--accent-text); border: 1px solid currentColor; border-radius: 3px; padding: 0 5px; margin-left: 6px; vertical-align: 2px; white-space: nowrap;
}
.duk-a { font-size: 1.06rem; font-weight: 600; line-height: 1.5; margin: 0 0 8px; padding-left: 12px; border-left: 3px solid var(--accent); }
.duk-tags { margin-bottom: 12px; }
.duk-src { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 14px; }
.duk-src-h { font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted-strong); padding-top: 10px; }
.duk-src .entry { padding: 12px 0; }
.duk-src .entry:last-child { border-bottom: 0; }
.duk-src .entry .t { font-size: .95rem; }
.duk-foot { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin-top: 14px; font-size: .85rem; color: var(--muted); }
.duk-foot .know-link { margin: 0; }
.duk-fb { display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.duk-fb .btn.sm { padding: 5px 11px; font-size: .8rem; }
.duk-copy { appearance: none; border: 0; background: none; font: inherit; font-size: .82rem; color: var(--muted-strong); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; padding: 0; margin-left: auto; }
.duk-copy:hover { color: var(--accent); }
.duk-none { margin-top: 32px; }

.duk-sr { max-width: 860px; display: grid; gap: 20px; margin-bottom: 40px; }
.duk-sr-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.duk-sr-head h2 { margin: 0; font-size: clamp(1.4rem, 2.8vw, 1.8rem); }
.duk-sr-more { display: grid; gap: 16px; margin-top: 8px; }
.duk-sr-more > h2 { font-size: 1.3rem; margin: 0; padding-top: 16px; border-top: 2px solid var(--ink); }

/* Pradžia: svarbiausi klausimai – nuorodos į D.U.K. */
.asks a {
  text-decoration: none; color: var(--ink); padding: 16px 4px; display: flex; justify-content: space-between; gap: 16px; align-items: center;
  font-size: 1.05rem; font-weight: 500;
}
.asks a:hover { color: var(--accent); }
.two-col > div > .btn { margin-top: 8px; }
.tl-more { margin-top: 16px; }
@media (max-width: 360px) { .site-header .icon-btn { padding: 0 8px; font-size: .84rem; } .site-header .wrap { gap: 8px; } .header-actions { gap: 4px; } }
