/* StraightFlow sistema v2 - vienintelis CSS (apžvalga + pasiūlymas). Taisyklės: /var/straightflow/DESIGN.md */
:root {
  --bg: #F2F2EF; --surface: #FFFFFF; --sunk: #EAEAE6; --line: #DEDEDA;
  --ink: #121212; --ink-2: #3B3B39; --muted: #66665F;
  --red: #C61919; --ok: #1F7A44; --warn: #A35200;
  --btn: #121212; --on-btn: #FFFFFF;
  --deep: #151515; --on-deep: #F1F1EE; --deep-muted: #9C9C97; --deep-line: #2A2A2A;
  --display: "Archivo", "Inter", system-ui, sans-serif;
  --text: "Inter", system-ui, -apple-system, sans-serif;
  --r-c: 6px; --r-p: 10px; --r-w: 14px;
  --ease: cubic-bezier(.2,.8,.2,1);
  --side: 32px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0A0A0A; --surface: #141414; --sunk: #1E1E1E; --line: #272727;
    --ink: #F1F1EE; --ink-2: #C9C9C4; --muted: #8F8F8A;
    --red: #E5483F; --ok: #3CC47A; --warn: #F0A040; --btn: #F1F1EE; --on-btn: #0A0A0A;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0A0A0A; --surface: #141414; --sunk: #1E1E1E; --line: #272727;
  --ink: #F1F1EE; --ink-2: #C9C9C4; --muted: #8F8F8A;
  --red: #E5483F; --ok: #3CC47A; --warn: #F0A040; --btn: #F1F1EE; --on-btn: #0A0A0A;
  color-scheme: dark;
}
@media (max-width: 1024px) { :root { --side: 20px; } }
@media (max-width: 640px) { :root { --side: 16px; } }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.55 var(--text);
  -webkit-font-smoothing: antialiased;
}
.num, .cell, .bars .v, .tbl .r, .rows .v, .chart, .tip, .rng b, .meta, .pack-no, .path .n, .steps .n { font-variant-numeric: tabular-nums; }
h1, h2, h3, h4, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.num, .h1, .h2 { font-family: var(--display); font-stretch: 112%; font-variation-settings: "wdth" 112; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* 2. Karkasas */
.hdr { border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top); background: var(--bg); }
.hdr-in {
  max-width: 1200px; margin: 0 auto; height: 64px; display: flex; align-items: center; gap: 32px;
  padding: 0 calc(var(--side) + env(safe-area-inset-right)) 0 calc(var(--side) + env(safe-area-inset-left));
}
.logo {
  display: block; flex: none; height: 24px; aspect-ratio: 6.833; background: var(--ink);
  -webkit-mask: url(/logo.png) left center / contain no-repeat; mask: url(/logo.png) left center / contain no-repeat;
}
.hdr-end { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 44px calc(var(--side) + env(safe-area-inset-right)) calc(72px + env(safe-area-inset-bottom)) calc(var(--side) + env(safe-area-inset-left)); }
.head { display: flex; align-items: baseline; gap: 8px 16px; flex-wrap: wrap; margin-bottom: 28px; }
.head .h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 700; letter-spacing: -0.015em; }
.meta { font-size: 13px; color: var(--muted); }
.head .meta { margin-left: auto; }
@media (max-width: 640px) { .logo { height: 19px; } .hdr-in { gap: 12px; height: 58px; } .wrap { padding-top: 28px; } .head .meta { margin-left: 0; width: 100%; } }

/* 3.1 Tabai */
.tabs { display: flex; gap: 28px; height: 64px; align-items: stretch; overflow-x: auto; scrollbar-width: none; scroll-padding: 0 var(--side); }
.tabs::-webkit-scrollbar { display: none; }
.tabs a {
  display: flex; align-items: center; font-size: 14px; font-weight: 500; color: var(--muted); text-decoration: none;
  white-space: nowrap; border-bottom: 2px solid transparent; transition: color 150ms var(--ease);
}
.tabs a:hover { color: var(--ink); }
.tabs a.on { color: var(--ink); border-bottom-color: var(--red); }
.tabs-row { display: none; }
@media (max-width: 1023px) {
  .hdr-in > .tabs { display: none; }
  .tabs-row { display: block; border-top: 1px solid var(--line); }
  .tabs-row .tabs { height: 46px; max-width: 1200px; margin: 0 auto; padding: 0 var(--side); gap: 24px; }
}

/* 3.11 Mygtukai ir nuorodos */
.tbtn {
  width: 36px; height: 36px; border: 1px solid var(--line); border-radius: var(--r-c); background: var(--surface);
  display: grid; place-items: center; cursor: pointer; flex: none; transition: border-color 150ms var(--ease);
}
.tbtn:hover { border-color: var(--ink); }
.tbtn svg { width: 17px; height: 17px; }
.link { font-size: 14px; font-weight: 500; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.link::after { content: "→"; transition: transform 150ms var(--ease); }
.link:hover::after { transform: translateX(3px); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 22px; border: 0; border-radius: var(--r-c);
  background: var(--btn); color: var(--on-btn); font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: transform 150ms var(--ease), opacity 150ms var(--ease);
}
.btn:hover { opacity: .88; }
.btn:active { transform: scale(.98); }
.btn.red { background: #C61919; color: #FFFFFF; }
@media (max-width: 1023px), (pointer: coarse) {
  .tbtn { width: 44px; height: 44px; }
  .hdr .link { padding: 11px 0; }
  .panel.flush .more { padding: 14px 24px; }
  .demo-tabs { height: 44px; }
  [data-acc] .demo-tabs a { height: 44px; }
}

/* 3.2 Skaičių juosta */
.strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-p); }
.cell { padding: 22px 24px; min-width: 0; }
.cell + .cell { border-left: 1px solid var(--line); }
.cell label { display: block; font-size: 13px; font-weight: 500; color: var(--muted); }
.cell .num { display: block; font-size: 34px; font-weight: 700; line-height: 1.05; margin-top: 10px; white-space: nowrap; letter-spacing: -0.01em; }
.cell .d { display: block; font-size: 13px; color: var(--muted); margin-top: 8px; }
.up { color: var(--ok); font-weight: 600; }
.down { color: var(--red); font-weight: 600; }
@media (max-width: 1023px) {
  .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cell:nth-child(3) { border-left: 0; }
  .cell:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 640px) { .cell { padding: 16px; } .cell .num { font-size: 26px; } }

/* 3.3 Plokštė, 3.4 tinklelis */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-p); padding: 24px; min-width: 0; }
.panel.flush { padding: 0; overflow: hidden; }
.ph { display: flex; align-items: baseline; gap: 4px 12px; flex-wrap: wrap; margin-bottom: 18px; }
.panel.flush .ph { padding: 22px 24px 0; margin-bottom: 8px; }
.ph h3 { font-size: 15px; font-weight: 600; }
.ph .meta { margin-left: auto; }
.stack > * + * { margin-top: 16px; }
.cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
@media (max-width: 1023px) { .cols { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .panel { padding: 18px; } .panel.flush .ph { padding: 18px 18px 0; } }
.view { display: none; }
.view.on { display: block; }

/* 3.5 Grafikas */
.chart { position: relative; }
.chart svg { display: block; width: 100%; height: 260px; overflow: visible; }
.chart .b { fill: var(--ink); transition: opacity 150ms var(--ease); }
.chart .b.now { fill: var(--red); }
.chart .b.hot { opacity: .5; }
.chart .ax { fill: var(--muted); font-size: 12px; font-family: var(--text); }
.chart .gl { stroke: var(--line); }
.chart .hit { fill: transparent; }
.tip {
  position: absolute; top: -8px; transform: translateX(-50%); pointer-events: none; white-space: nowrap;
  background: var(--ink); color: var(--bg); font-size: 12px; font-weight: 500; padding: 6px 10px; border-radius: var(--r-c);
  opacity: 0; transition: opacity 150ms var(--ease);
}
.tip.on { opacity: 1; }
@media (max-width: 640px) { .chart svg { height: 200px; } }

/* 3.6 Juostos */
.bars li + li { margin-top: 16px; }
.bars .row { display: flex; gap: 12px; align-items: baseline; font-size: 14px; }
.bars .k { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bars .v { margin-left: auto; font-weight: 600; white-space: nowrap; }
.bars small { font-size: 13px; font-weight: 400; color: var(--muted); margin-left: 8px; }
.bars .t { height: 4px; background: var(--sunk); border-radius: 2px; margin-top: 7px; overflow: hidden; }
.bars .t i { display: block; height: 100%; width: var(--w); background: var(--ink); border-radius: 2px; }

/* 3.7 Lentelė */
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { font-size: 12px; font-weight: 500; color: var(--muted); text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 13px 12px; border-bottom: 1px solid var(--line); color: var(--ink-2); vertical-align: top; }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl td:first-child { color: var(--ink); font-weight: 500; }
.tbl th:first-child, .tbl td:first-child { padding-left: 24px; }
.tbl th:last-child, .tbl td:last-child { padding-right: 24px; }
.tbl .r { text-align: right; white-space: nowrap; }
.tbl .nw { white-space: nowrap; }
.tbl .mut { color: var(--muted); font-weight: 400; }
@media (max-width: 640px) {
  .tbl thead { display: none; }
  .tbl, .tbl tbody { display: block; }
  .tbl tr { display: flex; flex-wrap: wrap; column-gap: 14px; row-gap: 2px; padding: 12px 18px; border-bottom: 1px solid var(--line); }
  .tbl tbody tr:last-child { border-bottom: 0; }
  .tbl td, .tbl td:first-child, .tbl td:last-child { display: inline-flex; gap: 5px; padding: 0; border: 0; font-size: 13px; text-align: left; }
  .tbl td::before { content: attr(data-k); color: var(--muted); }
  .tbl td:first-child { display: block; width: 100%; font-size: 14px; padding-bottom: 4px; }
  .tbl td:first-child::before { content: none; }
}

/* 3.8 Sąrašas */
.rows li { display: flex; gap: 16px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--line); }
.rows li:first-child { border-top: 0; padding-top: 0; }
.rows li:last-child { padding-bottom: 0; }
.rows .t { min-width: 0; font-size: 15px; }
.rows .t small { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.rows .v { margin-left: auto; white-space: nowrap; text-align: right; font-family: var(--display); font-stretch: 112%; font-variation-settings: "wdth" 112; font-weight: 600; font-size: 17px; }

/* 3.9 Būsena */
.sq { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.sq::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--muted); flex: none; }
.sq-red::before { background: var(--red); }
.sq-warn::before { background: var(--warn); }
.sq-ok::before { background: var(--ok); }
.sq-mute::before { background: var(--line); }

/* 3.10 Daugiau */
.more { display: block; width: 100%; margin-top: 4px; padding: 12px 0; border: 0; background: none; font-size: 13px; font-weight: 500; color: var(--muted); cursor: pointer; text-align: left; }
.more:hover { color: var(--ink); }
.panel.flush .more { margin: 0; padding: 14px 24px 18px; border-top: 1px solid var(--line); }
.hidden, .tbl tr.hidden, .rows li.hidden { display: none; }

/* 4. Prisijungimas (site/login.html) */
.login-page { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: calc(24px + env(safe-area-inset-top)) var(--side) calc(24px + env(safe-area-inset-bottom)); }
.login { width: 100%; max-width: 380px; display: flex; flex-direction: column; align-items: center; gap: 28px; }
.login-logo { height: 28px; }
.login-card { width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-p); padding: 32px; border-top: 3px solid #C61919; }
.login-card .h2 { font-size: 30px; margin-bottom: 24px; }
.field-label { display: block; font-size: 13px; font-weight: 500; color: var(--muted); margin-bottom: 8px; }
.pw { position: relative; }
.pw input {
  width: 100%; height: 48px; padding: 0 48px 0 14px; border: 1px solid var(--line); border-radius: var(--r-c); background: var(--bg);
  color: var(--ink); font: 400 16px var(--text); transition: border-color 150ms var(--ease), box-shadow 150ms var(--ease);
}
.pw input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--sunk); }
.pw input[aria-invalid="true"] { border-color: var(--red); }
.pw-eye { position: absolute; right: 4px; top: 4px; width: 40px; height: 40px; border: 0; background: none; color: var(--muted); border-radius: var(--r-c); display: grid; place-items: center; cursor: pointer; }
.pw-eye:hover, .pw-eye.on { color: var(--ink); }
.pw-eye svg { width: 19px; height: 19px; }
.login-err { min-height: 20px; margin: 10px 0 6px; font-size: 14px; font-weight: 500; color: var(--red); }
.login-btn { width: 100%; height: 48px; font-size: 15px; }
@media (max-width: 480px) { .login-card { padding: 24px 20px; } }

/* ================= 5. Pasiūlymas ================= */
.sec { background: var(--bg); padding: 120px 0; }
.sec.light { background: var(--surface); }
.sec.deep { background: var(--deep); color: var(--on-deep); --line: var(--deep-line); --muted: var(--deep-muted); --ink: var(--on-deep); --bg: var(--deep); --surface: #1C1C1C; --sunk: #232323; --ink-2: #C9C9C4; }
.in { max-width: 1200px; margin: 0 auto; padding: 0 calc(var(--side) + env(safe-area-inset-right)) 0 calc(var(--side) + env(safe-area-inset-left)); }
@media (max-width: 734px) { .sec { padding: 72px 0; } }
.hdr.over { position: sticky; top: 0; z-index: 5; }
@media (max-width: 1023px) {
  .hdr.over { position: static; }
  .snav-row { position: sticky; top: 0; z-index: 5; background: var(--bg); border-bottom: 1px solid var(--line); border-top: 0; padding-top: env(safe-area-inset-top); }
}
.hdr [data-snav] { gap: 22px; }
section[id] { scroll-margin-top: 72px; }
@media (max-width: 1023px) { section[id] { scroll-margin-top: 64px; } }

.h1 { font-size: clamp(38px, 5.6vw, 72px); font-weight: 700; line-height: 1.0; letter-spacing: -0.025em; text-wrap: balance; }
.h2 { font-size: clamp(30px, 3.8vw, 48px); font-weight: 700; line-height: 1.04; letter-spacing: -0.015em; text-wrap: balance; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.45; color: var(--muted); max-width: 640px; margin-top: 16px; text-wrap: pretty; }
.hero { padding-top: 96px; }
.hero .lead { margin-top: 24px; }
.hero-win { margin-top: 64px; }
@media (max-width: 734px) { .hero { padding-top: 56px; } .hero-win { margin-top: 40px; } }
.note { font-size: 15px; color: var(--muted); max-width: 760px; margin-top: 24px; }
.note-red { color: var(--red); font-weight: 500; }
.stack-top { margin-top: 48px; }

/* 5.3 Dalijimas */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.split.rev { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.split.rev > :first-child { order: 2; }
@media (max-width: 1023px) { .split, .split.rev { grid-template-columns: minmax(0, 1fr); gap: 40px; } .split.rev > :first-child { order: 0; } }

/* 5.4 Kaip veikia: sunumeruoti žingsniai = žymekliai ekrane */
.how { margin-top: 32px; counter-reset: how; }
.how li { display: grid; grid-template-columns: 34px minmax(0, 1fr); padding: 15px 0; border-top: 1px solid var(--line); counter-increment: how; }
.how li:last-child { border-bottom: 1px solid var(--line); }
.how li::before {
  content: counter(how); width: 20px; height: 20px; border-radius: 5px; background: #C61919; color: #FFFFFF; margin-top: 2px;
  font: 700 11px/20px var(--display); text-align: center; grid-row: 1 / 3;
}
.how b { font-size: 16px; font-weight: 600; }
.how span { font-size: 15px; color: var(--muted); margin-top: 3px; }

/* 5.15 Žymeklis ekrane */
.mk-at { position: relative; }
.mk {
  position: absolute; top: -9px; left: -9px; z-index: 2; width: 20px; height: 20px; border-radius: 5px;
  background: #C61919; color: #FFFFFF; font: 700 11px/20px var(--display); font-style: normal; text-align: center;
  box-shadow: 0 0 0 2px var(--surface); pointer-events: none;
}
.mk.r { left: auto; right: -9px; }
.mk.i { position: static; display: inline-block; width: 16px; height: 16px; border-radius: 4px; font-size: 10px; line-height: 16px; margin-left: 7px; vertical-align: 1px; box-shadow: none; }
.btn .mk { box-shadow: 0 0 0 2px var(--surface); }

/* 5.6 Admin langas */
.win { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-w); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0,0,0,.28); font-size: 13px; }
.win-hdr { display: flex; align-items: center; gap: 22px; height: 48px; padding: 0 18px; border-bottom: 1px solid var(--line); }
.win-hdr .logo { height: 14px; }
.win-hdr .tabs { height: 48px; gap: 18px; }
.win-hdr .tabs a { font-size: 12.5px; cursor: default; }
.win-body { padding: 18px; }
.win .panel { padding: 16px; border-radius: 8px; }
.win .panel.flush { padding: 0; }
.win .ph { margin-bottom: 12px; }
.win .ph h3 { font-size: 13px; }
.win .strip { border-radius: 8px; }
.win .cell { padding: 14px 16px; }
.win .cell label { font-size: 12px; }
.win .cell .num { font-size: 22px; margin-top: 6px; }
.win .cell .d { font-size: 12px; margin-top: 4px; }
.win .rows li { padding: 10px 0; }
.win .rows .t { font-size: 13px; }
.win .rows .t small { font-size: 12px; }
.win .rows .v { font-size: 14px; }
.win .tbl { font-size: 12.5px; }
.win .tbl th { font-size: 11.5px; padding: 8px 10px; }
.win .tbl td { padding: 10px; }
.win .tbl th:first-child, .win .tbl td:first-child { padding-left: 16px; }
.win .tbl th:last-child, .win .tbl td:last-child { padding-right: 16px; }
.win .sq { font-size: 12px; }
.win .panel.flush .ph { padding: 14px 16px 0; }
.win-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; margin-top: 12px; }
.cap { font-size: 13px; color: var(--muted); margin-top: 14px; }
@media (max-width: 640px) {
  .win-hdr { gap: 14px; padding: 0 14px; }
  .win-hdr .tabs { gap: 14px; }
  .win-body { padding: 12px; }
  .win-grid { grid-template-columns: minmax(0, 1fr); }
  .win .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .win .tbl tr { display: grid; grid-template-columns: auto auto minmax(0, 1fr); column-gap: 14px; row-gap: 4px; padding: 10px 14px; }
  .win .tbl td, .win .tbl td:first-child, .win .tbl td:last-child { padding: 0; font-size: 12px; }
  .win .tbl td:first-child { grid-column: 1 / 3; grid-row: 1; width: auto; font-size: 12.5px; }
  .win .tbl td:last-child { grid-column: 3; grid-row: 1; justify-self: end; }
  .win .tbl td:not(:first-child):not(:last-child) { grid-row: auto; }
}

/* 5.11 Pokalbis lange */
.inbox { display: grid; grid-template-columns: 210px minmax(0, 1fr); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.thr li { display: flex; gap: 10px; padding: 12px; border-bottom: 1px solid var(--line); }
.thr li.on { background: var(--sunk); }
.thr .ch { width: 16px; height: 16px; flex: none; color: var(--muted); margin-top: 2px; }
.thr .ch svg { width: 16px; height: 16px; display: block; }
.thr div { min-width: 0; }
.thr b { display: block; font-size: 12.5px; font-weight: 600; }
.thr span { display: block; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.conv { border-left: 1px solid var(--line); padding: 16px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.conv-h { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.conv-h svg { width: 16px; height: 16px; color: var(--muted); }
.conv-h .meta { margin-left: auto; font-weight: 400; font-size: 12px; }
.bub { max-width: 88%; padding: 10px 12px; border-radius: 10px; font-size: 12.5px; line-height: 1.45; }
.bub.in { background: var(--sunk); align-self: flex-start; border-bottom-left-radius: 3px; }
.bub.out { background: var(--ink); color: var(--bg); align-self: flex-end; border-bottom-right-radius: 3px; }
.bub small { display: block; font-size: 11.5px; opacity: .72; margin-top: 6px; }
.ctx { display: flex; flex-wrap: wrap; gap: 6px 14px; padding-top: 10px; border-top: 1px solid var(--line); }
.ctx .sq { font-size: 11.5px; }
.send { display: flex; gap: 8px; align-items: center; }
.send .meta { font-size: 11.5px; }
.send .btn { height: 30px; padding: 0 12px; font-size: 12px; margin-left: auto; }
.thr-h { padding: 11px 12px; font-size: 11.5px; font-weight: 600; color: var(--muted); border-bottom: 1px solid var(--line); }
@media (max-width: 640px) { .inbox { grid-template-columns: minmax(0, 1fr); } .thr-col { display: none; } .conv { border-left: 0; } }

/* Pakavimas ir etiketė */
.pack { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 12px; }
.pack-no .mk.i { vertical-align: 6px; }
.pack-no { font-family: var(--display); font-stretch: 112%; font-variation-settings: "wdth" 112; font-size: 28px; font-weight: 700; line-height: 1; margin-bottom: 4px; }
.scan { border: 1.5px dashed var(--line); border-radius: 8px; padding: 16px; text-align: center; color: var(--muted); font-size: 12.5px; margin-top: 12px; }
.scan svg { width: 26px; height: 26px; display: block; margin: 0 auto 8px; color: var(--ink); }
.label6 { align-self: start; background: #FFFFFF; color: #121212; border: 1px solid var(--line); border-radius: 6px; padding: 14px; font-size: 11px; line-height: 1.4; }
.label6 b { font-size: 12.5px; }
.label6 .bc { display: block; width: 100%; height: 38px; margin: 10px 0 4px; }
.label6 .bc rect { fill: #121212; }
.label6 .lt { display: flex; justify-content: space-between; border-bottom: 1px solid #DEDEDA; padding-bottom: 8px; margin-bottom: 8px; font-weight: 600; }
@media (max-width: 640px) { .pack { grid-template-columns: minmax(0, 1fr); } }

/* 5.12 Laiškas */
.mail { background: #FFFFFF; color: #121212; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; font-size: 12.5px; max-width: 420px; }
.mail-top { background: #121212; height: 46px; display: flex; align-items: center; padding: 0 18px; border-bottom: 3px solid #C61919; }
.mail-top .logo { height: 12px; background: #FFFFFF; }
.mail-body { padding: 20px 18px 22px; }
.mail-body h4 { font-family: var(--display); font-stretch: 112%; font-variation-settings: "wdth" 112; font-size: 19px; line-height: 1.15; margin-bottom: 6px; }
.mail-body p { color: #55554F; margin-bottom: 14px; }
.mail-body .btn { height: 36px; font-size: 12.5px; background: #121212; color: #FFFFFF; padding: 0 16px; }
.mail-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid #E6E6E2; }
.mail-row:last-of-type { margin-bottom: 16px; }
.mail-wrap { display: flex; justify-content: center; }
.mails-list { margin-top: 32px; }

/* 5.16 Pristatymo demonstracija (tikri seni užsakymai) */
.demo-tabs { height: 40px; gap: 20px; margin: -6px 0 14px; border-bottom: 1px solid var(--line); }
.demo-tabs a { cursor: pointer; font-size: 13px; }
@media (max-width: 1023px), (pointer: coarse) { .win .demo-tabs { height: 46px; } }
.demo-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; align-items: start; }
.ship li { display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; transition: border-color 150ms var(--ease); }
.ship li + li { margin-top: 6px; }
.ship li:hover { border-color: var(--muted); }
.ship li.on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.ship .r { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--muted); }
.ship li.on .r { border: 4.5px solid var(--ink); }
.ship b { display: block; font-size: 13px; font-weight: 600; }
.ship small { display: block; font-size: 11.5px; color: var(--muted); margin-top: 1px; }
.ship small em { font-style: normal; color: var(--red); font-weight: 600; }
.ship .p { font-weight: 700; font-variant-numeric: tabular-nums; }
.demo-act { margin-top: 14px; }
.demo-act .btn { height: 40px; font-size: 13.5px; width: 100%; }
.demo-done { display: flex; flex-direction: column; gap: 10px; }
.hero-pane { display: none; }
.hero-pane.on { display: block; }
.hero-tabs a { cursor: pointer; }
.hero-pane > .strip + .panel { margin-top: 12px; }
.acc-pane { display: none; }
.acc-pane.on { display: block; }
.acc-pane > .strip + .panel { margin-top: 12px; }
@media (max-width: 640px) {
  .demo-grid { grid-template-columns: minmax(0, 1fr); }
  [data-acc] .demo-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); height: auto; column-gap: 16px; row-gap: 0; }
  [data-acc] .demo-tabs a { height: 44px; }
}

/* 5.17 Ką sutvarkyti: išskleidžiami punktai */
.fixes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 56px; margin-top: 48px; align-items: start; }
.fx-group h3 { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.fixes details { border-top: 1px solid var(--line); }
.fixes details:last-child { border-bottom: 1px solid var(--line); }
.fixes summary { list-style: none; display: grid; grid-template-columns: 8px minmax(0, 1fr) 12px; gap: 12px; align-items: center; padding: 15px 0; cursor: pointer; }
.fixes summary::-webkit-details-marker { display: none; }
.fixes summary .sq { gap: 0; }
.fixes summary b { font-size: 15px; font-weight: 600; }
.fixes summary::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(45deg); margin-top: -4px; transition: transform 150ms var(--ease); justify-self: end; }
.fixes details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
@media (hover: hover) { .fixes summary:hover b { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; } }
.fx-body { padding: 0 0 18px 20px; font-size: 15px; color: var(--muted); max-width: 620px; }
@media (max-width: 1023px) { .fixes { grid-template-columns: minmax(0, 1fr); gap: 40px; } }

/* 5.8 Kelias */
.path { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); margin-top: 56px; border-top: 1px solid var(--line); }
.path li { padding: 22px 14px 0 0; min-width: 0; }
.path li + li { padding-left: 14px; border-left: 1px solid var(--line); }
.path .n { font-family: var(--display); font-stretch: 112%; font-variation-settings: "wdth" 112; font-size: 13px; font-weight: 700; color: var(--muted); }
.path b { display: block; font-size: 16px; font-weight: 600; margin-top: 10px; line-height: 1.3; }
.path .who { margin-top: 10px; }
.path .sq { color: var(--muted); }
@media (max-width: 1023px) {
  .path { grid-template-columns: minmax(0, 1fr); }
  .path li, .path li + li { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: baseline; padding: 15px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .path b, .path .who { margin-top: 0; }
}


@media (max-width: 1023px), (pointer: coarse) {
  .thr-h, .win .ctx .sq, .win .send .meta, .bub small, .ship small, .win .tbl th, .win .cell label, .win .cell .d, .win .rows .t small { font-size: 12px; }
  .label6 { font-size: 12px; }
  .mk { width: 22px; height: 22px; font-size: 12px; line-height: 22px; }
  .mk.i { width: 18px; height: 18px; font-size: 12px; line-height: 18px; }
  .how li::before { width: 22px; height: 22px; font-size: 12px; line-height: 22px; }
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
