/* rekvizitai.opendata.lt */
@font-face { font-family: "Bricolage"; src: url("../fonts/bricolage.woff2") format("woff2"); font-weight: 300 800; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: "JBMono"; src: url("../fonts/jetbrainsmono.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --ink: #0F2D36; --ink-2: #3B555D; --muted: #5B6F76;
  --paper: #F2F5F4; --white: #FFFFFF; --line: #D6E0DD; --line-2: #E6ECEA;
  --stamp: #2F3BB8; --stamp-d: #232C93; --stamp-t: #E9EBFB;
  --amber: #F2A900; --amber-t: #FFF3D1;
  --rust: #B23A22; --rust-t: #FBE6E0; --moss: #2F7D4F; --moss-t: #E0F1E7; --warn: #7A4E00;
  --r: 14px; --r-s: 8px;
  --wrap: 1200px;
  --shadow: 0 1px 0 var(--line), 0 22px 44px -30px rgba(15, 45, 54, .45);
  --mono: "JBMono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 1rem; }
body { margin: 0; font: 400 17px/1.55 "Bricolage", system-ui, -apple-system, "Segoe UI", sans-serif; font-stretch: 96%; color: var(--ink); background: var(--paper); text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--stamp); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--stamp-d); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-stretch: 80%; font-weight: 760; line-height: 1.04; letter-spacing: -.012em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.7rem); }
h2 { font-size: clamp(1.45rem, 2.4vw, 2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
.mono, code { font-family: var(--mono); font-variant-ligatures: none; font-feature-settings: "zero" 0; }
.muted { color: var(--muted); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: var(--r-s); z-index: 20; }
.skip:focus { top: 1rem; }
main { display: block; padding-bottom: 4rem; }
main:focus { outline: none; }

/* ---------- mygtukai, žymos ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font: inherit; font-weight: 650; font-size: 1rem; line-height: 1.2; padding: .8rem 1.25rem; border-radius: 10px; border: 2px solid transparent; cursor: pointer; text-decoration: none; transition: background-color .15s, color .15s, border-color .15s; }
.btn--stamp { background: var(--stamp); color: #fff; }
.btn--stamp:hover { background: var(--stamp-d); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.pill { display: inline-flex; align-items: center; gap: .3rem; padding: .18rem .65rem; border-radius: 999px; font-size: .86rem; font-weight: 650; line-height: 1.35; white-space: nowrap; text-decoration: none; }
.pill--ok { background: var(--moss-t); color: var(--moss); }
.pill--bad { background: var(--rust-t); color: var(--rust); }
.pill--warn { background: var(--amber-t); color: var(--warn); }
.pill--off { background: var(--line-2); color: var(--ink-2); }
.pill--stamp { background: var(--stamp-t); color: var(--stamp-d); }
.pill--plain { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
a.pill--plain:hover { box-shadow: inset 0 0 0 1px var(--ink); color: var(--ink); }
.stars-s { color: var(--amber); letter-spacing: .02em; }

/* ---------- antraštė ---------- */
.hdr { background: var(--white); border-bottom: 1px solid var(--line); }
.hdr-in { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; display: flex; align-items: center; gap: 1.2rem 1.6rem; flex-wrap: wrap; padding: .85rem 0; }
.logo img { width: 210px; height: auto; }
.hdr-search { flex: 1 1 20rem; max-width: 30rem; display: flex; background: var(--paper); border: 1.5px solid var(--line); border-radius: 10px; position: relative; }
.hdr-search:focus-within { border-color: var(--stamp); background: var(--white); }
.hdr-search input { flex: 1; min-width: 0; font: inherit; font-size: .98rem; border: 0; background: transparent; padding: .6rem .8rem; color: var(--ink); }
.hdr-search input:focus { outline: none; }
.hdr-search button { border: 0; background: transparent; color: var(--ink-2); padding: 0 .75rem; cursor: pointer; border-radius: 0 10px 10px 0; }
.hdr-search button:hover { color: var(--stamp); }
.nav { display: flex; gap: .2rem; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .98rem; padding: .45rem .7rem; border-radius: 8px; white-space: nowrap; }
.nav a:hover { background: var(--paper); }
.nav a[aria-current="page"] { color: var(--stamp); box-shadow: inset 0 -2px 0 var(--stamp); border-radius: 0; }

.crumbs { padding: 1.1rem 0 0; font-size: .9rem; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .2rem; }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: .35rem; color: var(--line); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--stamp); text-decoration: underline; }
.crumbs [aria-current] { color: var(--muted); }

/* ---------- pasiūlymai (autocomplete) ---------- */
.sugg { position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: var(--white); border-radius: 12px; box-shadow: 0 0 0 1px var(--line), 0 24px 48px -20px rgba(15, 45, 54, .35); list-style: none; margin: 0; padding: .35rem; z-index: 30; max-height: 70vh; overflow: auto; }
.sugg li { margin: 0; }
.sugg a { display: grid; grid-template-columns: 1fr auto; gap: .1rem 1rem; padding: .55rem .7rem; border-radius: 8px; text-decoration: none; color: var(--ink); }
.sugg a b { font-weight: 650; }
.sugg a span { color: var(--muted); font-size: .86rem; grid-column: 1; }
.sugg a em { font-style: normal; font-family: var(--mono); font-size: .86rem; color: var(--ink-2); grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.sugg [aria-selected="true"] a, .sugg a:hover { background: var(--stamp-t); }
.sugg .sugg-all a { display: block; color: var(--stamp); font-weight: 600; font-size: .92rem; }

/* ---------- pradžia ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2rem, 5vw, 3.5rem); }
.hero h1 { font-size: clamp(3rem, 8.2vw, 6.4rem); font-stretch: 75%; font-weight: 800; letter-spacing: -.025em; line-height: .92; margin-bottom: .35em; }
.hero-lead { font-size: clamp(1.08rem, 1.6vw, 1.28rem); color: var(--ink-2); max-width: 36rem; }
.big-search { margin: 1.6rem 0 .9rem; position: relative; max-width: 40rem; }
.big-search label { display: block; font-weight: 650; font-size: .95rem; margin-bottom: .45rem; }
.big-search-row { display: flex; gap: .5rem; background: var(--white); padding: .45rem; border-radius: 14px; box-shadow: 0 0 0 2px var(--ink), 0 18px 36px -22px rgba(15, 45, 54, .45); position: relative; }
.big-search-row:focus-within { box-shadow: 0 0 0 3px var(--stamp), 0 18px 36px -22px rgba(47, 59, 184, .55); }
.big-search input { flex: 1; min-width: 0; font: inherit; font-size: 1.2rem; border: 0; padding: .55rem .7rem; background: transparent; color: var(--ink); }
.big-search input:focus { outline: none; }
.big-search .btn { padding-inline: 1.6rem; }
.big-search--inline { margin-inline: auto; }
.hero-meta { color: var(--muted); font-size: .93rem; }
.hero-slip { margin: 0; }
.hero-slip figcaption { margin-top: .9rem; color: var(--muted); font-size: .92rem; padding-left: .2rem; }

/* ---------- lapelis (rekvizitai) ---------- */
.slip { position: relative; background: var(--white); border-radius: var(--r); box-shadow: var(--shadow); padding: 1.9rem clamp(1.1rem, 3vw, 2rem) 1.5rem; }
.slip::before { content: ""; position: absolute; left: 14px; right: 14px; top: 0; height: 9px; background: radial-gradient(circle at 7px 0, var(--paper) 5px, transparent 5.6px) 0 0 / 14px 9px repeat-x; }
.slip-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: .6rem; }
.slip-head h2 { margin: 0; font-size: 1.5rem; }
.slip-head p { margin: 0; color: var(--muted); font-size: .9rem; }
.slip-rows { margin: 0; }
.slip-row { display: grid; grid-template-columns: 10.5rem minmax(0, 1fr); gap: .2rem 1rem; align-items: baseline; padding: .75rem 0; border-top: 1px dashed var(--line); }
.slip-row:first-child { border-top: 0; }
.slip-row dt { color: var(--muted); font-size: .92rem; padding-top: .35rem; }
.slip-row dd { margin: 0; min-width: 0; }
.slip-row dd small { display: block; color: var(--muted); font-size: .85rem; margin: .15rem 0 0 .45rem; }
.slip-row--pavadinimas .cp { font-size: 1.45rem; font-weight: 720; font-stretch: 85%; }
.slip-row--kodas .cp, .slip-row--pvm .cp { font-size: 1.3rem; letter-spacing: .02em; }
.slip-none { color: var(--muted); font-size: 1rem; padding-left: .45rem; display: inline-block; padding-top: .3rem; }
.slip--mini { padding-top: 1.6rem; transform: rotate(-1.2deg); }
.slip--mini .slip-row { grid-template-columns: 8.5rem minmax(0, 1fr); padding: .55rem 0; }
.slip-mini-name { font-size: 1.35rem; font-weight: 760; font-stretch: 80%; line-height: 1.1; margin: 0 0 .5rem; padding-left: .45rem; }
.slip-mini-name a { color: var(--ink); text-decoration: none; }
.slip-mini-name a:hover { color: var(--stamp); }

/* kopijavimo mygtukas */
.cp { position: relative; display: inline-flex; align-items: center; gap: .55rem; max-width: 100%; font: inherit; font-size: 1.08rem; font-weight: 600; color: var(--ink); background: transparent; border: 0; border-radius: 8px; padding: .3rem .45rem; margin: 0; text-align: left; cursor: copy; transition: background-color .2s; }
.mono .cp { font-family: var(--mono); font-weight: 500; }
.cp-v { overflow-wrap: anywhere; }
.cp-i { flex: none; color: var(--stamp); opacity: 0; transition: opacity .15s; }
.cp:hover { background: var(--stamp-t); }
.cp:hover .cp-i, .cp:focus-visible .cp-i { opacity: 1; }
.cp.is-copied { background: var(--amber-t); }
.cp.is-copied::after { content: "Nukopijuota"; position: absolute; right: -.4rem; top: 50%; translate: 100% -50%; rotate: -7deg; font: 700 .78rem/1 var(--mono); letter-spacing: .04em; color: var(--stamp); border: 2px solid var(--stamp); border-radius: 6px; padding: .3rem .45rem; background: var(--white); animation: stamp .45s cubic-bezier(.2, 1.4, .4, 1) both; pointer-events: none; white-space: nowrap; }
@keyframes stamp { from { opacity: 0; scale: 1.6; } to { opacity: 1; scale: 1; } }
@media (hover: none) { .cp-i { opacity: .6; } }

.slip-all { margin-top: 1rem; padding-top: 1.2rem; border-top: 2px solid var(--ink); }
.fmt { border: 0; margin: 0 0 .8rem; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.fmt legend { font-weight: 700; font-size: 1.05rem; margin-bottom: .6rem; padding: 0; }
.fmt label { position: relative; }
.fmt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.fmt span { display: inline-block; padding: .38rem .85rem; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line); font-size: .92rem; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.fmt input:checked + span { background: var(--ink); color: #fff; box-shadow: none; }
.fmt input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }
.fmt-text { display: block; width: 100%; font: 500 .98rem/1.55 var(--mono); font-variant-ligatures: none; color: var(--ink); background: var(--paper); border: 0; border-radius: 10px; padding: .85rem 1rem; resize: none; field-sizing: content; min-height: 3rem; white-space: pre-wrap; }
.fmt-text[hidden] { display: none; }
.slip-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .9rem; }

/* ---------- įmonės kortelė ---------- */
.company { padding-top: 1.2rem; }
.co-head { margin: .6rem 0 1.6rem; max-width: 56rem; }
.co-form { color: var(--ink-2); font-size: 1.02rem; margin-bottom: .4rem; }
.co-form a { color: var(--ink-2); }
.co-head h1 { overflow-wrap: anywhere; margin-bottom: .45em; }
.co-badges { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.co-top { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: clamp(1.2rem, 3vw, 2.2rem); align-items: start; }
.co-side { position: sticky; top: 1rem; display: grid; gap: 1.2rem; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin: 0; }
.tile { background: var(--white); border-radius: 12px; padding: .95rem 1rem; box-shadow: 0 0 0 1px var(--line-2); }
.tile dt { font-size: .86rem; color: var(--muted); }
.tile dd { margin: .1rem 0 0; font-size: 1.75rem; font-weight: 760; font-stretch: 80%; line-height: 1.1; }
.tile dd.tile-note { font-size: .82rem; font-weight: 400; font-stretch: 96%; color: var(--muted); line-height: 1.35; margin-top: .25rem; }
.co-toc { display: grid; gap: .1rem; border-left: 2px solid var(--line); padding-left: .2rem; }
.co-toc a { color: var(--ink-2); text-decoration: none; padding: .3rem .8rem; font-size: .95rem; border-radius: 0 6px 6px 0; }
.co-toc a:hover { color: var(--stamp); background: var(--white); }
.co-sec { margin-top: clamp(2.5rem, 5vw, 3.8rem); }
.sec-lead { color: var(--ink-2); max-width: 46rem; }
.facts { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2.5rem; background: var(--white); border-radius: var(--r); padding: .4rem clamp(1rem, 3vw, 1.8rem); box-shadow: 0 0 0 1px var(--line-2); }
.facts > div { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: .1rem 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line-2); align-items: baseline; }
.facts dt { color: var(--muted); font-size: .92rem; }
.facts dd { margin: 0; min-width: 0; }
.facts .cp { font-size: 1rem; font-weight: 500; padding: .15rem .4rem; margin-left: -.4rem; }
.facts .muted { font-size: .9rem; }
.co-about p { font-size: 1.1rem; max-width: 46rem; line-height: 1.65; }
.co-about strong { font-weight: 700; }
.charts { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.chart { margin: 0; background: var(--white); border-radius: var(--r); padding: 1.1rem 1.2rem .8rem; box-shadow: 0 0 0 1px var(--line-2); }
.chart figcaption { font-weight: 650; margin-bottom: .4rem; }
.chart-empty { color: var(--muted); font-size: .95rem; padding: 2rem 0; }
.mchart { width: 100%; height: auto; overflow: visible; }
.mchart rect { fill: #B9BFEF; }
.mchart rect.last { fill: var(--stamp); }
.mchart--moss rect { fill: #B7D9C5; }
.mchart--moss rect.last { fill: var(--moss); }
.mchart rect:hover { fill: var(--amber); }
.mchart .grid { stroke: var(--line-2); stroke-width: 1; }
.mchart .base { stroke: var(--ink); stroke-width: 1.5; }
.mchart .axis { font: 12px "Bricolage", sans-serif; fill: var(--muted); }
.mchart .val { font: 700 15px "Bricolage", sans-serif; fill: var(--ink); }
.table-more { margin-top: 1rem; }
.table-more summary { cursor: pointer; color: var(--stamp); font-weight: 600; width: max-content; }
.table-wrap { overflow-x: auto; margin-top: .7rem; }
.tbl { border-collapse: collapse; width: 100%; background: var(--white); border-radius: var(--r); font-variant-numeric: tabular-nums; }
.tbl th, .tbl td { padding: .55rem .9rem; text-align: right; border-bottom: 1px solid var(--line-2); }
.tbl th:first-child { text-align: left; font-family: var(--mono); font-weight: 500; }
.tbl thead th { font-size: .88rem; color: var(--muted); font-weight: 600; font-family: inherit; }
.map-links { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin: 1rem 0 1.5rem; }
.check-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: .8rem; }
.check-links li { background: var(--white); border-radius: 12px; padding: 1rem 1.1rem; box-shadow: 0 0 0 1px var(--line-2); }
.check-links a { font-weight: 650; display: block; margin-bottom: .2rem; }
.check-links span { color: var(--muted); font-size: .9rem; }

/* ---------- atsiliepimai ---------- */
.stars { display: inline-flex; gap: .05rem; font-style: normal; }
.stars i { font-style: normal; color: var(--line); }
.stars i.on { color: var(--amber); }
.rv-sum { display: flex; align-items: center; gap: 1.2rem; margin-bottom: 1rem; }
.rv-score { display: flex; align-items: center; gap: .6rem; margin: 0; }
.rv-score > span:first-child { font-size: 3rem; font-weight: 800; font-stretch: 75%; line-height: 1; }
.rv-score .stars { font-size: 1.4rem; }
.rv-list { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: .9rem; max-width: 52rem; }
.rv-list--wide { max-width: none; grid-template-columns: repeat(auto-fill, minmax(22rem, 1fr)); }
.rv { background: var(--white); border-radius: var(--r); padding: 1.1rem 1.3rem; box-shadow: 0 0 0 1px var(--line-2); }
.rv-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem .9rem; margin-bottom: .5rem; }
.rv-head time { color: var(--muted); font-size: .88rem; }
.rv-text { overflow-wrap: anywhere; color: var(--ink-2); margin: 0; }
.rv-co { font-weight: 700; margin-bottom: .3rem; }
.rv-cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.rv-form { background: var(--white); border-radius: var(--r); padding: clamp(1.2rem, 3vw, 2rem); box-shadow: 0 0 0 1px var(--line); max-width: 52rem; }
.rv-form h3 { font-size: 1.5rem; margin-bottom: .3rem; }
.rv-form > p.muted { font-size: .93rem; }
.field { margin-bottom: 1.1rem; }
.field label, .field legend { display: block; font-weight: 650; margin-bottom: .35rem; font-size: .97rem; }
.field input[type="text"], .field input[type="email"], .field input[type="search"], .field textarea, .field select { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--white); border: 1.5px solid var(--line); border-radius: 10px; padding: .65rem .8rem; }
.field textarea { resize: vertical; min-height: 8rem; line-height: 1.5; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--stamp); box-shadow: 0 0 0 3px var(--stamp-t); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.field-hint { font-size: .85rem; color: var(--muted); margin: .3rem 0 0; }
.field-err, .form-err { color: var(--rust); font-size: .9rem; font-weight: 600; margin: .35rem 0 0; }
.form-err { background: var(--rust-t); padding: .7rem 1rem; border-radius: 10px; margin-bottom: 1rem; }
.has-err input, .has-err textarea { border-color: var(--rust); }
.field--check { display: grid; grid-template-columns: auto 1fr; gap: .2rem .6rem; align-items: start; }
.field--check input { width: 1.2rem; height: 1.2rem; margin-top: .2rem; accent-color: var(--stamp); }
.field--check label { font-weight: 400; margin: 0; }
.field--check .field-err { grid-column: 2; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rate { border: 0; padding: 0; margin: 0 0 1.1rem; }
.rate legend { font-weight: 650; margin-bottom: .2rem; padding: 0; }
.rate-stars { display: inline-flex; flex-direction: row-reverse; gap: .1rem; }
.rate-stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rate-stars label { font-size: 2.3rem; line-height: 1; color: var(--line); cursor: pointer; padding: 0 .05rem; transition: color .1s; }
.rate-stars label:hover, .rate-stars label:hover ~ label, .rate-stars input:checked ~ label { color: var(--amber); }
.rate-stars input:focus-visible + label { outline: 3px solid var(--stamp); outline-offset: 1px; border-radius: 4px; }

/* ---------- sąrašai ---------- */
.co-list { list-style: none; margin: 0; padding: 0; background: var(--white); border-radius: var(--r); box-shadow: 0 0 0 1px var(--line-2); }
.co { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding: .85rem 1.15rem; border-top: 1px solid var(--line-2); }
.co:first-child { border-top: 0; }
.co-main { min-width: 0; }
.co-name { font-weight: 680; font-size: 1.06rem; color: var(--ink); text-decoration: none; margin-right: .4rem; }
.co-name:hover { color: var(--stamp); text-decoration: underline; }
.co-main .pill { font-size: .76rem; padding: .08rem .5rem; vertical-align: .1em; }
.co-meta { margin: .15rem 0 0; font-size: .88rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: .1rem 1rem; }
.co-meta .mono { color: var(--ink-2); }
.co-act { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 28rem; }
.co-fig { text-align: right; display: grid; justify-items: end; }
.co-big { font-weight: 720; font-size: 1.06rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.co-small { font-size: .8rem; color: var(--muted); white-space: nowrap; }
.co-list--reg .co-big, .co-list--state .co-big { font-family: var(--mono); font-weight: 500; font-size: .95rem; }

.block { margin-top: clamp(2.8rem, 6vw, 4.5rem); }
.block-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.block-head h2 { margin: 0; }
.block-head a { font-weight: 600; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(1.2rem, 3vw, 2.4rem); }

.ribbon { background: var(--white); border-block: 1px solid var(--line); }
.ribbon-in { display: grid; grid-template-columns: repeat(4, 1fr); margin-block: 0; padding: 1.4rem 0; }
.ribbon-in > div { padding: 0 1.4rem; border-left: 1px solid var(--line); }
.ribbon-in > div:first-child { border-left: 0; padding-left: 0; }
.ribbon dt { color: var(--muted); font-size: .92rem; }
.ribbon dd { margin: 0; font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 800; font-stretch: 75%; line-height: 1.05; font-variant-numeric: tabular-nums; }

.city-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .9rem; }
.city-tiles a { position: relative; display: block; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; color: #fff; text-decoration: none; background: var(--ink); }
.city-tiles img { width: 100%; height: 100%; object-fit: cover; opacity: .88; transition: transform .4s, opacity .2s; }
.city-tiles a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 30, 36, .85), rgba(10, 30, 36, 0) 60%); }
.city-tiles a:hover img { transform: scale(1.04); opacity: 1; }
.ct-name, .ct-n { position: absolute; left: 1rem; z-index: 1; }
.ct-name { bottom: 2.2rem; font-size: 1.45rem; font-weight: 760; font-stretch: 80%; }
.ct-n { bottom: .9rem; font-size: .9rem; opacity: .9; }
.chips { list-style: none; margin: 1.2rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.chips a { display: inline-block; padding: .35rem .8rem; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); text-decoration: none; font-size: .93rem; font-weight: 550; }
.chips a:hover { box-shadow: inset 0 0 0 1.5px var(--stamp); color: var(--stamp); }
.chips span { color: var(--muted); font-weight: 400; margin-left: .2rem; }

.sec-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: .6rem; }
.sec-grid a { display: grid; grid-template-columns: 2.2rem minmax(0, 1fr) auto; gap: .2rem .8rem; align-items: center; padding: .8rem 1rem .7rem; background: var(--white); border-radius: 12px; box-shadow: 0 0 0 1px var(--line-2); color: var(--ink); text-decoration: none; height: 100%; }
.sec-grid a:hover { box-shadow: 0 0 0 1.5px var(--stamp); }
.sg-letter { grid-row: 1 / span 2; width: 2.2rem; height: 2.2rem; border-radius: 8px; background: var(--stamp-t); color: var(--stamp-d); font: 700 1rem/2.2rem var(--mono); text-align: center; }
.sg-name { font-weight: 620; font-size: .97rem; line-height: 1.25; }
.sg-n { font-variant-numeric: tabular-nums; color: var(--ink-2); font-size: .92rem; }
.sg-bar { grid-column: 2 / span 2; width: 100%; height: 4px; }
.sg-bar rect { fill: var(--stamp); }

.faq-list { display: grid; gap: .5rem; max-width: 52rem; }
.faq details { background: var(--white); border-radius: 12px; box-shadow: 0 0 0 1px var(--line-2); }
.faq summary { cursor: pointer; padding: 1rem 1.2rem; font-weight: 650; font-size: 1.05rem; list-style: none; position: relative; padding-right: 3rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.2rem; top: .8rem; font-size: 1.4rem; color: var(--stamp); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 1.2rem 1.1rem; margin: 0; color: var(--ink-2); }
.faq-more { margin-top: 1.4rem; color: var(--ink-2); max-width: 52rem; }

/* ---------- puslapių antraštės ---------- */
.page-head { padding: clamp(1.4rem, 4vw, 2.6rem) 0 1.4rem; }
.page-head .lead { font-size: 1.15rem; color: var(--ink-2); max-width: 46rem; }
.page-head--photo { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 2rem; align-items: center; }
.page-photo { border-radius: var(--r); aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: .8rem; margin: 0 0 1rem; }
.kpis > div { background: var(--white); border-radius: 12px; padding: .9rem 1.1rem; box-shadow: 0 0 0 1px var(--line-2); }
.kpis dt { font-size: .88rem; color: var(--muted); }
.kpis dd { margin: 0; font-size: 1.8rem; font-weight: 780; font-stretch: 78%; font-variant-numeric: tabular-nums; }
.list-layout { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: 2rem; align-items: start; margin-top: 1.5rem; }
.list-side { display: grid; gap: 1.2rem; }
.side-h { font-size: 1.25rem; margin: .6rem 0 0; }
.hbars { margin: 0; background: var(--white); border-radius: var(--r); padding: 1rem 1.1rem; box-shadow: 0 0 0 1px var(--line-2); }
.hbars figcaption { font-weight: 700; margin-bottom: .6rem; }
.hbars ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.hbars li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .15rem .6rem; font-size: .9rem; }
.hb-label a { color: var(--ink); text-decoration: none; }
.hb-label a:hover { color: var(--stamp); text-decoration: underline; }
.hb-track { grid-column: 1 / -1; grid-row: 2; }
.hb-track svg { width: 100%; height: 6px; }
.hb-track rect { fill: var(--stamp); }
.hb-val { font-variant-numeric: tabular-nums; color: var(--ink-2); }
.city-index { columns: 4 13rem; column-gap: 2rem; list-style: none; margin: 0; padding: 0; }
.city-index li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: .6rem; padding: .35rem 0; border-bottom: 1px solid var(--line-2); break-inside: avoid; font-variant-numeric: tabular-nums; }
.city-index a { color: var(--ink); text-decoration: none; font-weight: 550; }
.city-index a:hover { color: var(--stamp); text-decoration: underline; }
.city-index .muted { font-size: .85rem; min-width: 3.4rem; text-align: right; }
.city-index--side { columns: 1; background: var(--white); border-radius: var(--r); padding: .5rem 1.1rem; box-shadow: 0 0 0 1px var(--line-2); }
.city-index--side li { grid-template-columns: minmax(0, 1fr) auto; }
.city-index--side li:last-child { border-bottom: 0; }
.sec-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(21rem, 1fr)); gap: 1.4rem 1.2rem; }
.sec-cards a { position: relative; display: block; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 9; background: var(--ink); color: #fff; text-decoration: none; }
.sec-cards img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.sec-cards a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 30, 36, .88), rgba(10, 30, 36, 0) 65%); }
.sc-txt { position: absolute; left: 1rem; right: 1rem; bottom: .9rem; z-index: 1; display: grid; }
.sc-name { font-size: 1.3rem; font-weight: 760; font-stretch: 80%; line-height: 1.1; }
.sc-n { font-size: .9rem; opacity: .9; }
.sec-cards p { font-size: .93rem; color: var(--ink-2); margin: .6rem 0 0; }
.div-list { list-style: none; margin: 0; padding: 0; columns: 2 24rem; column-gap: 2rem; }
.div-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; padding: .5rem 0; border-bottom: 1px solid var(--line-2); break-inside: avoid; font-variant-numeric: tabular-nums; }
.div-list a { color: var(--ink); text-decoration: none; }
.div-list a:hover { color: var(--stamp); text-decoration: underline; }
.div-list .mono { color: var(--stamp-d); font-size: .9rem; margin-right: .3rem; }
.tabs { display: flex; gap: .3rem; flex-wrap: wrap; border-bottom: 2px solid var(--line); margin-bottom: 1.5rem; }
.tabs a { padding: .6rem .9rem; font-weight: 600; color: var(--ink-2); text-decoration: none; margin-bottom: -2px; border-bottom: 3px solid transparent; }
.tabs a:hover { color: var(--stamp); }
.tabs a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--stamp); }
.tabs + .block { margin-top: 0; }

.pager { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .5rem; margin: 1.6rem 0 0; }
.pager ol { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; flex-wrap: wrap; }
.pager a, .pager span { display: inline-block; min-width: 2.4rem; text-align: center; padding: .45rem .6rem; border-radius: 8px; text-decoration: none; font-weight: 600; font-variant-numeric: tabular-nums; }
.pager a { color: var(--ink); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.pager a:hover { box-shadow: inset 0 0 0 1.5px var(--stamp); color: var(--stamp); }
.pager [aria-current] { background: var(--ink); color: #fff; }
.pager-gap { padding: .45rem .2rem; color: var(--muted); }
.pager-step { padding-inline: 1rem !important; }

/* paieška */
.search-layout { display: grid; grid-template-columns: 19rem minmax(0, 1fr); gap: 2rem; align-items: start; }
.filters { background: var(--white); border-radius: var(--r); padding: 1.2rem; box-shadow: 0 0 0 1px var(--line-2); position: sticky; top: 1rem; }
.filters .field { position: relative; }
.radios { border: 0; padding: 0; }
.radios label { display: flex; gap: .5rem; align-items: center; font-weight: 400; margin: .2rem 0; }
.radios input, .check input { accent-color: var(--stamp); width: 1.05rem; height: 1.05rem; }
.check { display: flex; gap: .5rem; align-items: center; margin-bottom: 1.1rem; }
.filters .btn { width: 100%; }
.results-n { color: var(--ink-2); }
.empty { background: var(--white); border-radius: var(--r); padding: 1.4rem; box-shadow: 0 0 0 1px var(--line-2); color: var(--ink-2); }

/* pranešimai, tekstiniai puslapiai */
.notice { max-width: 40rem; text-align: center; padding: clamp(3rem, 8vw, 6rem) 0; }
.notice-i { margin: 0 auto 1rem; color: var(--stamp); }
.notice .btn { margin-top: .5rem; }
.err-code { font-size: 1rem; color: var(--stamp); margin-bottom: .2rem; }
.prose-page { max-width: 48rem; }
.prose { font-size: 1.06rem; line-height: 1.7; }
.prose h2 { margin-top: 2rem; font-size: 1.6rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: .4rem; }
.prose code { background: var(--white); padding: .1rem .35rem; border-radius: 5px; font-size: .92em; }

.toast { position: fixed; left: 50%; bottom: 1.4rem; translate: -50% 0; background: var(--ink); color: #fff; padding: .7rem 1.1rem; border-radius: 10px; font-weight: 600; z-index: 50; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .4); }

/* ---------- poraštė ---------- */
.ftr { background: var(--ink); color: #CFE0DC; margin-top: 2rem; }
.ftr-in { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 2rem; padding: 3rem 0 2rem; }
.ftr-brand img { width: 210px; margin-bottom: 1rem; }
.ftr-brand p { font-size: .93rem; max-width: 22rem; }
.ftr h2 { font-size: 1rem; font-stretch: 90%; color: #fff; margin-bottom: .7rem; letter-spacing: 0; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.ftr a { color: #CFE0DC; text-decoration: none; font-size: .93rem; }
.ftr a:hover { color: #fff; text-decoration: underline; }
.ftr-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 2rem; border-top: 1px solid rgba(255, 255, 255, .12); padding: 1.2rem 0 1.6rem; font-size: .85rem; color: #9DB5B3; }
.ftr-bottom p { margin: 0; }

/* ---------- prisitaikymas ---------- */
@media (max-width: 1080px) {
  .ftr-in { grid-template-columns: repeat(3, 1fr); }
  .ftr-brand { grid-column: 1 / -1; }
  .rv-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .hero, .co-top, .page-head--photo, .list-layout, .search-layout, .two, .charts { grid-template-columns: minmax(0, 1fr); }
  .co-side, .filters { position: static; }
  .co-toc { display: none; }
  .city-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ribbon-in { grid-template-columns: repeat(2, 1fr); gap: 1rem 0; }
  .ribbon-in > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .hero-slip { max-width: 34rem; }
  .page-photo { max-height: 16rem; }
  .nav { margin-left: 0; width: 100%; overflow-x: auto; scrollbar-width: none; order: 3; }
  .hdr-search { order: 2; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap, .hdr-in { width: min(var(--wrap), 100% - 1.6rem); }
  .logo img { width: 176px; }
  .hdr-search { flex-basis: 100%; max-width: none; }
  .slip-row, .slip--mini .slip-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .slip-row dt { padding-top: 0; padding-left: .45rem; }
  .slip--mini { transform: none; }
  .facts > div { grid-template-columns: minmax(0, 1fr); }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .co { grid-template-columns: minmax(0, 1fr); gap: .3rem; }
  .co-fig { text-align: left; justify-items: start; display: flex; gap: .4rem; align-items: baseline; }
  .co-act { white-space: normal; }
  .rv-cards { grid-template-columns: minmax(0, 1fr); }
  .rv-list--wide { grid-template-columns: minmax(0, 1fr); }
  .big-search-row { flex-direction: column; }
  .big-search .btn { width: 100%; }
  .ftr-in { grid-template-columns: 1fr 1fr; }
  .cp.is-copied::after { right: auto; left: 50%; top: auto; bottom: 100%; translate: -50% -4px; }
  .tiles dd { font-size: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  .hdr, .ftr, .co-side .co-toc, .rv-form, .slip-actions, .fmt, .crumbs, .map-links { display: none !important; }
  body { background: #fff; }
  .slip, .facts, .chart { box-shadow: none; border: 1px solid #ccc; }
}

/* papildymai */
.mchart .axis--halo { paint-order: stroke; stroke: var(--white); stroke-width: 4px; stroke-linejoin: round; }
.slip--mini .slip-row { grid-template-columns: 9.5rem minmax(0, 1fr); }
.faq-wrap { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 0 clamp(1.5rem, 4vw, 3rem); align-items: start; }
.guides ul { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .2rem; }
.guides li { padding: .75rem 0; border-bottom: 1px solid var(--line); }
.guides li a { font-weight: 650; font-size: 1.04rem; color: var(--ink); text-decoration: none; }
.guides li a:hover { color: var(--stamp); text-decoration: underline; }
.guides li p { margin: .25rem 0 0; color: var(--muted); font-size: .9rem; }
@media (max-width: 960px) { .faq-wrap { grid-template-columns: minmax(0, 1fr); } }
.list-side .co { grid-template-columns: minmax(0, 1fr); gap: .25rem; }
.list-side .co-fig { justify-items: start; text-align: left; display: flex; gap: .4rem; align-items: baseline; }
.list-side .co-act { white-space: normal; }
@media (max-width: 640px) { .mchart .axis { font-size: 21px; } .mchart .val { font-size: 26px; } }
