/* Administravimas: atskira programos išvaizda (šoninis meniu, kompaktiškos kortelės), nepanaši į parduotuvę */
body.adm { --a-bg: #f2f4f2; --a-card: #fff; --a-line: #e0e5e1; --a-ink: #16211c; --a-mute: #5d6b64; --a-side: #14211c; --a-acc: #0a5a46; --a-lime: #d6f43a; --a-acc-rgb: 10 90 70; --a-lime-rgb: 214 244 58; --a-d1: #0b1f18; --a-d2: #0f2c23; --a-d3: #1d5a47; --a-lime2: #8fd16a; --a-on-lime: #0b2a20; --a-tint: #eef5f1; --a-tint2: #f3f7f4; margin: 0; background: var(--a-bg); color: var(--a-ink); font: 15px/1.5 var(--font-text, "DM Sans", system-ui, sans-serif); display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100vh; }
/* šoninis meniu */
.adm-side { position: sticky; top: 0; align-self: start; height: 100vh; display: flex; flex-direction: column; padding: 18px 12px; background: var(--a-side); color: #cfe0d8; overflow-y: auto; }
.adm-logo { display: flex; align-items: center; gap: 10px; padding: 4px 10px 18px; text-decoration: none; }
.adm-logo img { display: block; } .adm-logo span { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; color: var(--a-lime); border: 1px solid rgb(var(--a-lime-rgb) / .5); border-radius: 6px; padding: 2px 6px; }
.adm-g { margin: 18px 10px 6px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #7d9488; }
.adm-i { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; color: #cfe0d8; text-decoration: none; font-weight: 600; }
.adm-i svg { flex: none; opacity: .85; }
.adm-i:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.adm-i.is-on { background: rgba(255, 255, 255, .12); color: #fff; box-shadow: inset 3px 0 0 var(--a-lime); }
.adm-i:focus-visible, .adm-burger:focus-visible { outline: 2px solid var(--a-lime); outline-offset: 2px; }
.adm-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .1); }
.adm-user { padding: 8px 10px 0; font-size: 13px; color: #8fa89c; overflow-wrap: anywhere; }
.adm-bar { display: none; }
/* darbo laukas */
.adm-main { min-width: 0; padding: 28px clamp(16px, 3vw, 40px) 80px; max-width: 1180px; width: 100%; box-sizing: border-box; }
.adm-main .wrap { max-width: none; margin: 0; padding-left: 0; padding-right: 0; width: auto; }
.adm-main .page-h { padding: 0 0 18px; }
.adm-main .eyebrow { display: none; }
.adm-main h1 { margin: 0; font: 700 24px/1.2 var(--font-text, "DM Sans", system-ui, sans-serif); letter-spacing: -.01em; color: var(--a-ink); text-transform: none; }
.adm-main h2 { font: 700 16.5px/1.3 var(--font-text, "DM Sans", system-ui, sans-serif); letter-spacing: 0; margin: 0 0 4px; color: var(--a-ink); }
.adm-main h3 { font: 700 14.5px/1.3 var(--font-text, "DM Sans", system-ui, sans-serif); margin: 14px 0 6px; }
.adm-main .setwrap, .adm-main .wrap[style] { padding-top: 0 !important; padding-bottom: 0 !important; }
.adm-main .panel { background: var(--a-card); border: 1px solid var(--a-line); border-radius: 12px; padding: 18px 20px; box-shadow: 0 1px 2px rgba(20, 33, 28, .04); margin-bottom: 16px; max-width: none; }
.adm-main .vat, .adm-main small { color: var(--a-mute); font-size: 14px; }
.adm-main p { margin: 0 0 8px; }
.adm-main a.link, .adm-main .panel a:not(.btn) { color: var(--a-acc); }
/* formos */
.adm-main label { font-weight: 600; font-size: 14.5px; color: var(--a-ink); }
.adm-main .field { margin-bottom: 12px; }
.adm-main .field > label { display: block; margin-bottom: 4px; }
.adm-main input:not([type=checkbox]):not([type=radio]):not([type=file]), .adm-main select, .adm-main textarea { min-height: 36px; padding: 7px 11px; border: 1px solid #cfd7d1; border-radius: 8px; background: #fff; font: inherit; color: var(--a-ink); box-sizing: border-box; max-width: 100%; }
.adm-main .field input:not([type=checkbox]):not([type=radio]), .adm-main .field select, .adm-main .field textarea { width: 100%; }
.adm-main textarea { min-height: 84px; line-height: 1.45; }
.adm-main input:focus-visible, .adm-main select:focus-visible, .adm-main textarea:focus-visible { outline: 2px solid var(--a-acc); outline-offset: 0; border-color: var(--a-acc); }
.adm-main input[type=checkbox], .adm-main input[type=radio] { accent-color: var(--a-acc); width: 16px; height: 16px; margin: 0; }
.adm-main code { background: #eef2ef; padding: 1px 5px; border-radius: 5px; font-size: 13px; }
/* mygtukai */
.adm-main .btn { min-height: 36px; padding: 0 16px; border-radius: 8px; font: 700 14.5px/1 var(--font-text, "DM Sans", system-ui, sans-serif); box-shadow: none; text-decoration: none; }
.adm-main .btn:not(.btn--ghost) { background: var(--a-acc); color: #fff; border: 1px solid var(--a-acc); }
.adm-main .btn:not(.btn--ghost):hover { background: #08493a; }
.adm-main .btn--ghost { background: #fff; color: var(--a-ink); border: 1px solid #cfd7d1; }
.adm-main .btn--ghost:hover { background: #f3f6f4; border-color: #aeb9b2; }
.adm-main .btn--sm { min-height: 30px; padding: 0 12px; font-size: 14px; }
.adm-main .btn:focus-visible { outline: 2px solid var(--a-acc); outline-offset: 2px; }
/* lentelės */
.adm-main table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.adm-main th { text-align: left; font-size: 13px; font-weight: 700; color: var(--a-mute); text-transform: none; letter-spacing: 0; background: #f7f9f7; white-space: nowrap; }
.adm-main th, .adm-main td { padding: 9px 12px; border-bottom: 1px solid var(--a-line); vertical-align: middle; }
.adm-main tbody tr:hover { background: #fafcfa; }
.adm-main .panel:has(table), .adm-main .kn__t { overflow-x: auto; }
/* posistemis meniu ir išsaugojimo juosta */
.adm-main .setnav { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; }
.adm-main .setnav a { padding: 5px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--a-line); color: var(--a-ink); font-weight: 600; font-size: 14px; text-decoration: none; }
.adm-main .setnav a:hover { border-color: var(--a-acc); }
.adm-main .savebar { position: sticky; bottom: 12px; z-index: 5; background: var(--a-side); color: #fff; border: 0; border-radius: 12px; padding: 10px 14px; box-shadow: 0 10px 30px rgba(20, 33, 28, .28); }
.adm-main .savebar .vat { color: #b9cdc3; } .adm-main .savebar input { background: #1f2f28; border-color: #36493f; color: #fff; }
.adm-main .savebar .btn:not(.btn--ghost) { background: var(--a-lime); color: var(--a-side); border-color: var(--a-lime); }
.adm-main .savebar .btn--ghost { background: transparent; color: #fff; border-color: #4a6358; }
/* valdymo (pradžios) kortelės */
.adm-main .admlist { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.adm-main .admlist a { background: #fff; border: 1px solid var(--a-line); border-radius: 12px; padding: 16px; color: var(--a-ink); text-decoration: none; }
.adm-main .admlist a:hover { border-color: var(--a-acc); box-shadow: 0 2px 10px rgba(20, 33, 28, .08); }
.adm-main .admlist b { font: 700 15.5px var(--font-text, "DM Sans", system-ui, sans-serif); }
.adm-main .admlist span { color: var(--a-mute); font-size: 14px; }
/* gate */
.adm-main [data-adm-gate] { max-width: 460px; }
/* mobilus */
@media (max-width: 899px) {
  body.adm { display: block; }
  .adm-bar { display: flex; align-items: center; gap: 12px; position: sticky; top: 0; z-index: 20; height: 52px; padding: 0 14px; background: var(--a-side); color: #fff; }
  .adm-burger { width: 38px; height: 38px; border: 0; border-radius: 8px; background: rgba(255, 255, 255, .08); display: grid; place-content: center; gap: 4px; cursor: pointer; }
  .adm-burger span { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; }
  .adm-side { position: fixed; z-index: 30; inset: 0 auto 0 0; width: 264px; height: 100vh; transform: translateX(-100%); transition: transform .2s; }
  .adm-side.is-open { transform: none; box-shadow: 0 0 0 100vmax rgba(0, 0, 0, .45); }
  .adm-main { padding: 18px 14px 80px; }
  .adm-main h1 { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) { .adm-side { transition: none; } }
@media print { .adm-side, .adm-bar { display: none; } body.adm { display: block; } }
/* kompaktiškesni laukai (pranoksta bendrus parduotuvės stilius) */
body.adm main.adm-main input:not([type=checkbox]):not([type=radio]):not([type=file]), body.adm main.adm-main select, body.adm main.adm-main textarea { min-height: 36px !important; padding: 6px 11px !important; border-radius: 8px !important; font-size: 15.5px; }
body.adm main.adm-main textarea { min-height: 84px !important; }
body.adm main.adm-main .kn__t td input:not([type=checkbox]) { width: 96px; }
body.adm main.adm-main .po__opt, body.adm main.adm-main fieldset:not(.setdays) label, body.adm main.adm-main fieldset.field > label { padding: 6px 10px; font-size: 14.5px; border-radius: 8px; }
body.adm main.adm-main .field > label { margin-bottom: 4px; }
body.adm main.adm-main .setday span { min-width: 38px; height: 34px; font-size: 14.5px; }
body.adm main.adm-main .po__grid, body.adm main.adm-main .setgrid { gap: 16px; }

.adm-acc { display: flex; align-items: center; gap: 8px; margin: 0 4px 26px; padding: 8px 12px; border: 0; background: rgba(255, 255, 255, .05); border-radius: 12px; color: rgb(var(--a-lime-rgb) / .85); font-weight: 600; font-size: 14.5px; text-decoration: none; transition: background .15s; }
.adm-acc:hover { background: rgba(255, 255, 255, .08); }
/* Klientai */
.cl__stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 16px; }
.cl__stat { background: #fff; border: 1px solid var(--a-line); border-radius: 12px; padding: 14px 16px; } .cl__stat b { display: block; font-size: 24px; line-height: 1.1; } .cl__stat span { color: var(--a-mute); font-size: 14px; }
.cl__tools { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; } .cl__tools input { flex: 1 1 280px; }
.cl__t { padding: 0 !important; overflow-x: auto; } .cl__t table { min-width: 860px; }
.cl__r { cursor: pointer; } .cl__r:focus-visible { outline: 2px solid var(--a-acc); outline-offset: -2px; }
.cl__chip { display: inline-block; margin: 0 4px 2px 0; padding: 2px 8px; border-radius: 999px; background: #eef2ef; font-size: 12.5px; font-weight: 700; } .cl__chip--ok { background: #dff3e4; color: #15622f; } .cl__chip--b { background: #e1e8fb; color: #213a8f; }
.cl__dlg { position: fixed; inset: 0; z-index: 60; background: rgba(20, 33, 28, .5); display: flex; justify-content: flex-end; } .cl__dlg[hidden] { display: none; }
.cl__dlg__b { position: relative; width: min(560px, 100%); height: 100%; overflow-y: auto; background: #fff; padding: 22px 24px 40px; box-shadow: -10px 0 40px rgba(0, 0, 0, .2); }
.cl__x { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border: 0; border-radius: 8px; background: #f0f3f1; cursor: pointer; }
.cl__dl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; margin: 12px 0; } .cl__dl dt { font-size: 12.5px; color: var(--a-mute); text-transform: uppercase; letter-spacing: .05em; } .cl__dl dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.cl__o { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; padding: 8px 0; border-top: 1px solid var(--a-line); } .cl__o b:last-of-type { margin-left: auto; }
.cl__adj { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 12px 0; } .cl__del { margin-top: 18px; color: #b3261e !important; border-color: #e4b3ad !important; }

/* Nustatymai (Shopify tipo): skyrių sąrašas + turinys */
.stg { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 22px; align-items: start; }
.stg__nav { position: sticky; top: 16px; display: flex; flex-direction: column; gap: 2px; padding: 8px; background: #fff; border: 1px solid var(--a-line); border-radius: 12px; }
.stg__nav a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--a-ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.stg__nav a:hover { background: #f3f6f4; } .stg__nav a.is-on { background: #e6efe9; color: var(--a-acc); }
.stg__head { margin-bottom: 12px; } .stg__head h2 { font-size: 18px !important; margin: 0 0 2px !important; }
.stg__2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stg__sws { display: grid; gap: 4px; margin-top: 8px; }
.stg__sw { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--a-line); border-radius: 10px; cursor: pointer; background: #fff; } .stg__sw:has(input:checked) { border-color: var(--a-acc); background: #f3f9f5; }
.stg__sw b { display: block; font-size: 15px; } .stg__sw small { display: block; color: var(--a-mute); font-size: 14px; font-weight: 400; margin-top: 2px; } .stg__sw input { margin-top: 3px; }
.stg__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid var(--a-line); } .stg__row:first-child { border-top: 0; } .stg__row small { display: block; color: var(--a-mute); font-size: 14px; }
.stg__b { flex: none; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; } .stg__b--ok { background: #dff3e4; color: #15622f; } .stg__b--no { background: #f1f1f1; color: #6b6b6b; }
.stg__kv { display: grid; gap: 0; margin: 0 0 8px; } .stg__kv div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--a-line); } .stg__kv div:first-child { border-top: 0; } .stg__kv dt { font-weight: 700; } .stg__kv dd { margin: 0; color: var(--a-mute); text-align: right; }
.stg__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; } .stg__links a { font-weight: 600; }
.stg__body[data-active="naujienlaiskis"] .savebar { display: none; }
@media (max-width: 899px) { .stg { grid-template-columns: 1fr; } .stg__nav { position: static; flex-direction: row; overflow-x: auto; gap: 6px; padding: 6px; } .stg__nav a { white-space: nowrap; } .stg__2 { grid-template-columns: 1fr; } }
.savebar[hidden] { display: none !important; }
.cl__chip--no { background: #f6e1de; color: #8a2a20; } .cl__chk { display: flex; gap: 8px; align-items: center; margin: 8px 0; font-weight: 500 !important; }
@media print { .adm-main > *:not([data-ord-wrap]) { display: none; } .cl__dlg { position: static; background: none; } .cl__dlg__b { box-shadow: none; width: 100%; height: auto; } .cl__x, .cl__adj, [data-ord-wrap] .cl__t, .cl__stats, .cl__tools { display: none; } }
/* aktyvus meniu punktas: švelnus lime fonas, apvali žymė, ryški piktograma */
.adm-i { position: relative; transition: background .15s, color .15s; }
.adm-i.is-on { background: linear-gradient(90deg, rgb(var(--a-lime-rgb) / .20), rgb(var(--a-lime-rgb) / .06)); box-shadow: inset 0 0 0 1px rgb(var(--a-lime-rgb) / .22); color: #fff; }
.adm-i.is-on::before { content: ""; position: absolute; left: 5px; top: 50%; width: 4px; height: 18px; margin-top: -9px; border-radius: 4px; background: var(--a-lime); }
.adm-i.is-on svg { color: var(--a-lime); opacity: 1; margin-left: 4px; }

/* viršutinė juosta: kas prisijungęs */
body.adm { grid-template-columns: 248px minmax(0, 1fr); grid-template-rows: auto 1fr; }
.adm-side { grid-row: 1 / 3; }
.adm-top { display: flex; justify-content: flex-end; align-items: center; padding: 12px clamp(16px, 3vw, 40px) 0; min-height: 52px; }
.adm-who { display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; background: #fff; border: 1px solid var(--a-line); border-radius: 999px; font-size: 14.5px; font-weight: 600; box-shadow: 0 1px 2px rgba(20, 33, 28, .05); }
.adm-av { width: 30px; height: 30px; border-radius: 50%; background: var(--a-lime); color: var(--a-side); display: grid; place-items: center; font-weight: 800; font-size: 14.5px; overflow: hidden; flex: none; } .adm-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.adm-main { padding-top: 6px; }
@media (max-width: 899px) { body.adm { display: block; } .adm-top { padding: 10px 14px 0; } .adm-mail { max-width: 46vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } }
@media print { .adm-top { display: none; } }

/* ===== Admin pradžia (premium suvestinė) ===== */
.ah { display: grid; gap: 18px; max-width: none; }
.ah[hidden] { display: none; }
.ah-mut { color: #6b7a73; font-size: 14px; }
.ah-hero { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; padding: 34px 36px; border-radius: 24px; color: #fff; background: radial-gradient(900px 340px at 92% -20%, rgba(200, 245, 90, .30), transparent 60%), radial-gradient(600px 300px at 0% 120%, rgba(30, 140, 100, .45), transparent 60%), linear-gradient(135deg, #062b21 0%, #0a4a39 100%); box-shadow: 0 18px 40px -18px rgba(6, 43, 33, .55); }
.ah-hero::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 18px 18px; mask-image: linear-gradient(120deg, transparent 30%, #000); pointer-events: none; }
.ah-hero > * { position: relative; z-index: 1; }
.ah-hero__d { margin: 0 0 8px; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .62); font-weight: 600; }
.ah-hero h1 { color: #fff; text-transform: none; margin: 0; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.08; letter-spacing: -.02em; font-weight: 800; }
.ah-hero__s { margin: 10px 0 0; color: rgba(255, 255, 255, .78); font-size: 16.5px; }
.ah-hero__a { display: flex; flex-wrap: wrap; gap: 10px; }
.ah-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; font-size: 15.5px; font-weight: 700; color: #fff; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); text-decoration: none; backdrop-filter: blur(6px); transition: transform .18s, background .18s; }
.ah-btn:hover { background: rgba(255, 255, 255, .2); transform: translateY(-1px); }
.ah-btn--lime { background: #c8f55a; color: var(--a-on-lime); border-color: transparent; } .ah-btn--lime:hover { background: #d6ff6e; }
.ah-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.ah-kpi, .ah-card { background: #fff; border: 1px solid #e3e9e5; border-radius: 20px; box-shadow: 0 1px 2px rgba(20, 33, 28, .04), 0 10px 28px -16px rgba(20, 33, 28, .16); }
.ah-kpi { position: relative; padding: 18px 20px 16px; display: grid; gap: 4px; transition: transform .2s, box-shadow .2s; }
.ah-kpi:hover { transform: translateY(-2px); box-shadow: 0 1px 2px rgba(20, 33, 28, .04), 0 16px 34px -16px rgba(20, 33, 28, .24); }
.ah-kpi__t { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-weight: 600; }
.ah-kpi__v { font-size: clamp(26px, 2.4vw, 32px); letter-spacing: -.02em; font-weight: 800; font-variant-numeric: tabular-nums; color: #0e1f19; line-height: 1.15; }
.ah-spark { width: 100%; height: 36px; margin: 4px 0 2px; }
.ah-kpi__f { font-size: 12.5px; }
.ah-delta { font-size: 12.5px; font-weight: 800; padding: 3px 9px; border-radius: 999px; background: #eef2ef; color: #52615a; }
.ah-delta--up { background: #e1f7ea; color: #0a7a45; } .ah-delta--down { background: #fde8e6; color: #b3261e; }
.ah-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 14px; }
.ah-chart { grid-row: span 2; } .ah-orders { grid-column: 1; } .ah-top { grid-column: 2; }
.ah-grid > .ah-chart { grid-column: 1; grid-row: 1; } .ah-grid > .ah-todo { grid-column: 2; grid-row: 1; } .ah-grid > .ah-orders { grid-row: 2; } .ah-grid > .ah-top { grid-row: 2; }
.ah-card { padding: 20px 22px; min-width: 0; }
.ah-card__h { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.ah-card__h h2, .ah-h2 { margin: 0; font-size: 17.5px; letter-spacing: -.01em; font-weight: 800; color: #0e1f19; }
.ah-h2 { margin-top: 10px; } .ah-card__h .ah-mut { margin: 3px 0 0; }
.ah-link { font-size: 14.5px; font-weight: 700; color: var(--a-acc); text-decoration: none; } .ah-link:hover { text-decoration: underline; }
.ah-seg { display: inline-flex; padding: 3px; background: #eef2ef; border-radius: 999px; flex: none; }
.ah-seg button { min-height: 32px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; font: inherit; font-size: 14px; font-weight: 700; color: #52615a; cursor: pointer; transition: background .18s, color .18s; }
.ah-seg button.is-on { background: #fff; color: var(--a-acc); box-shadow: 0 1px 3px rgba(20, 33, 28, .15); }
.ah-chart__b { position: relative; }
.ah-svg { width: 100%; height: auto; display: block; touch-action: pan-y; }
.ah-grid line, .ah-svg .ah-grid { stroke: #e8eeea; stroke-width: 1; }
.ah-ax { font-size: 12px; fill: #7b8982; font-variant-numeric: tabular-nums; }
.ah-line { stroke: var(--a-acc); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.ah-cross { stroke: var(--a-acc); stroke-opacity: .3; stroke-dasharray: 3 4; }
.ah-dot { fill: #fff; stroke: var(--a-acc); stroke-width: 3; }
.ah-tip { position: absolute; top: 6px; transform: translateX(-50%); display: grid; gap: 1px; padding: 8px 12px; background: #0e1f19; color: #fff; border-radius: 12px; font-size: 14.5px; pointer-events: none; white-space: nowrap; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .4); }
.ah-tip[hidden] { display: none; } .ah-tip b { font-size: 16.5px; } .ah-tip small { color: rgba(255, 255, 255, .6); font-size: 12.5px; }
.ah-empty { padding: 22px 8px; text-align: center; color: #6b7a73; font-size: 15px; }
.ah-chart__b .ah-empty { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(255, 255, 255, .7); }
.ah-todo [data-ah-todo] { display: grid; gap: 4px; }
.ah-todo__i { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 10px; margin: 0 -10px; border-radius: 14px; text-decoration: none; color: inherit; transition: background .15s; }
.ah-todo__i:hover { background: var(--a-tint2); } .ah-todo__i b { display: block; font-size: 15.5px; color: #0e1f19; } .ah-todo__i .ah-mut { display: block; }
.ah-ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: #eef2ef; }
.ah-ic--amber { background: #fff3d6; color: #9a6a00; } .ah-ic--red { background: #fde8e6; color: #b3261e; } .ah-ic--blue { background: #e6ebff; color: #3340b8; } .ah-ic--green { background: #e1f7ea; color: #0a7a45; }
.ah-chev { color: #a2afa8; font-size: 22px; line-height: 1; }
.ah-ok { display: grid; justify-items: center; gap: 6px; padding: 22px 8px; text-align: center; color: #0a7a45; } .ah-ok svg { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: #e1f7ea; box-sizing: content-box; } .ah-ok span { color: #6b7a73; font-size: 14.5px; }
.ah-ord { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid #edf1ee; text-decoration: none; color: inherit; }
.ah-ord:first-child { border-top: 0; } .ah-ord:hover b { color: var(--a-acc); } .ah-ord b { font-size: 15.5px; display: block; }
.ah-av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #c8f55a, #7fd87a); color: var(--a-on-lime); font-weight: 800; }
.ah-ord__r { text-align: right; display: grid; gap: 3px; justify-items: end; }
.ah-pill { font-size: 12px; font-weight: 800; padding: 3px 9px; border-radius: 999px; background: #e6ebff; color: #3340b8; }
.ah-pill--ok { background: #e1f7ea; color: #0a7a45; } .ah-pill--no { background: #fff3d6; color: #9a6a00; }
.ah-bar { display: grid; gap: 6px; margin-bottom: 14px; } .ah-bar:last-child { margin-bottom: 0; }
.ah-bar__h { display: flex; justify-content: space-between; gap: 10px; font-size: 15px; } .ah-bar__h b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ah-bar__t { height: 8px; border-radius: 999px; background: #eef2ef; overflow: hidden; } .ah-bar__t i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--a-acc), var(--a-lime2)); }
.ah-sys { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ah-chip { font-size: 13px; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: #eef2ef; color: #52615a; }
.ah-chip--ok { background: #e1f7ea; color: #0a7a45; } .ah-chip--warn { background: #fff3d6; color: #9a6a00; } .ah-chip--no { background: #fde8e6; color: #b3261e; }
@media (max-width: 1100px) { .ah-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ah-grid { grid-template-columns: minmax(0, 1fr); } .ah-grid > * { grid-column: 1 !important; grid-row: auto !important; } }
@media (max-width: 560px) { .ah-hero { padding: 24px 20px; border-radius: 20px; } .ah-kpis { gap: 10px; } .ah-kpi { padding: 14px; } .ah-card { padding: 16px; } .ah-btn { flex: 1 1 auto; justify-content: center; } }
@media (prefers-reduced-motion: reduce) { .ah-kpi, .ah-btn { transition: none; } }
.adm-main:has(.ah) { max-width: 1760px; }

/* Prisijungęs vartotojas šoninėje juostoje */
.adm-side .adm-who { display: flex; margin: 0 0 12px; padding: 8px 12px 8px 8px; background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .12); color: #fff; box-shadow: none; border-radius: 14px; }
.adm-side .adm-who[hidden] { display: none; }
.adm-side .adm-mail { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: none; }


.adm-side .adm-acc { margin: 14px 4px 0; }


.adm-box { margin: 0 2px 6px; padding: 5px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 16px; background: rgba(255, 255, 255, .03); display: grid; gap: 2px; }
.adm-box .adm-i { border-radius: 11px; }

.adm-side .adm-acc--top { margin: 0 4px 12px; }

/* ===== Premium visų admin skilčių stilius (bendras su suvestine) ===== */
.adm-main:has(.cl__t), .adm-main:has(.setsec), .adm-main:has(.stg), .adm-main:has(.panel) { max-width: 1760px; }
.adm-main .page-h { padding: 4px 0 20px; }
.adm-main .page-h .eyebrow { display: block; margin-bottom: 6px; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--a-acc); }
.adm-main h1 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; letter-spacing: -.02em; }
.adm-main .panel, .adm-main .setsec { border-radius: 20px; border-color: #e3e9e5; padding: 22px 24px; box-shadow: 0 1px 2px rgba(20, 33, 28, .04), 0 10px 28px -16px rgba(20, 33, 28, .16); }
.adm-main .panel > h2:first-child, .adm-main .setsec > h2:first-child { font-size: 17px; font-weight: 800; letter-spacing: -.01em; margin-bottom: 14px; }
.adm-main input:not([type=checkbox]):not([type=radio]):not([type=file]), .adm-main select, .adm-main textarea { min-height: 42px; border-radius: 12px; border-color: #d9e1dc; background: #fbfcfb; transition: border-color .15s, box-shadow .15s, background .15s; }
.adm-main input:not([type=checkbox]):not([type=radio]):not([type=file]):focus, .adm-main select:focus, .adm-main textarea:focus { outline: 0; background: #fff; border-color: var(--a-acc); box-shadow: 0 0 0 4px rgb(var(--a-acc-rgb) / .12); }
.adm-main label { font-weight: 700; font-size: 14.5px; color: #2b3a33; }
.adm-main input[type=checkbox] { accent-color: var(--a-acc); width: 17px; height: 17px; }
/* Rodikliai */
.cl__stats { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin-bottom: 18px; }
.cl__stat { display: flex; flex-direction: column-reverse; gap: 6px; padding: 18px 20px; border-radius: 20px; border-color: #e3e9e5; box-shadow: 0 1px 2px rgba(20, 33, 28, .04), 0 10px 28px -16px rgba(20, 33, 28, .16); transition: transform .2s; }
.cl__stat:hover { transform: translateY(-2px); }
.cl__stat b { font-size: clamp(26px, 2.4vw, 32px); font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: #0e1f19; }
.cl__stat span { font-weight: 600; font-size: 14.5px; }
/* Įrankių juosta: viena eilutė */
.cl__tools { align-items: center; gap: 12px; padding: 10px; margin-bottom: 16px; background: #fff; border: 1px solid #e3e9e5; border-radius: 18px; box-shadow: 0 10px 28px -20px rgba(20, 33, 28, .2); }
.cl__tools input[type=search] { flex: 1 1 320px; width: auto; min-width: 0; border-color: transparent; background: #f3f6f4; padding-left: 14px; }
.cl__tools select { flex: 0 0 auto; width: auto; min-width: 190px; max-width: 100%; }
.cl__tools .btn { min-height: 42px; border-radius: 12px; margin-left: auto; }
/* Lentelės */
.cl__t { border-radius: 20px !important; overflow: hidden; }
.adm-main .cl__t table, .adm-main .kn__t table { font-size: 15px; }
.adm-main th { padding: 13px 16px; font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: #6b7a73; background: #f6f9f7; position: sticky; top: 0; }
.adm-main td { padding: 14px 16px; border-bottom-color: #edf1ee; }
.adm-main tbody tr { transition: background .12s; } .adm-main tbody tr:hover { background: #f6faf7; } .adm-main tbody tr:last-child td { border-bottom: 0; }
.cl__t tbody tr { cursor: pointer; }
/* Sekcijų naršymas (produktai ir kt.) */
.adm-main .setnav { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; margin: 14px 0 6px; background: #e9eeea; border-radius: 999px; }
.adm-main .setnav a { padding: 8px 16px; border-radius: 999px; font-size: 14.5px; font-weight: 700; color: #4a5a53; text-decoration: none; background: transparent; border: 0; transition: background .15s, color .15s; }
.adm-main .setnav a:hover { background: rgba(255, 255, 255, .6); } .adm-main .setnav a.is-on, .adm-main .setnav a:focus-visible { background: #fff; color: var(--a-acc); box-shadow: 0 1px 3px rgba(20, 33, 28, .15); }
/* Nustatymų meniu */
.stg { grid-template-columns: 270px minmax(0, 1fr); gap: 24px; }
.stg__nav { padding: 10px; border-radius: 20px; border-color: #e3e9e5; box-shadow: 0 10px 28px -16px rgba(20, 33, 28, .18); }
.stg__nav a { padding: 10px 14px; border-radius: 12px; font-size: 15.5px; }
.stg__nav a.is-on { background: linear-gradient(135deg, var(--a-acc), var(--a-d3)); color: #fff; box-shadow: 0 8px 16px -10px rgb(var(--a-acc-rgb) / .7); }
/* Išsaugojimo juosta */
.savebar { border-radius: 18px; box-shadow: 0 18px 40px -18px rgba(6, 43, 33, .6); }
/* Mygtukai */
.adm-main .btn { border-radius: 12px; font-weight: 700; }
@media (max-width: 899px) { .cl__tools { padding: 8px; } .cl__tools select, .cl__tools .btn { flex: 1 1 100%; margin-left: 0; } .stg { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .cl__stat, .adm-main tbody tr { transition: none; } }
.adm-main .po__opt { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; cursor: pointer; transition: background .15s, border-color .15s; } .adm-main .po__opt:hover { background: var(--a-tint2); border-color: var(--a-acc); } .adm-main .po__opt input { margin: 0; flex: none; }

/* ===== Odoo tipo sąrašo ir formos peržiūra (adm-view.js) ===== */
.ov[hidden], .ov--form[hidden] { display: none; }
.ov-cp { display: grid; gap: 12px; margin-bottom: 14px; }
.ov-cp__t { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.ov-title { margin: 0 !important; font-size: 20px !important; font-weight: 800 !important; letter-spacing: -.01em; }
.ov-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.ov-search { position: relative; flex: 1 1 420px; min-width: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; padding: 5px 8px 5px 14px; background: #fff; border: 1px solid #d9e1dc; border-radius: 14px; color: #6b7a73; transition: border-color .15s, box-shadow .15s; }
.ov-search:focus-within { border-color: var(--a-acc); box-shadow: 0 0 0 4px rgb(var(--a-acc-rgb) / .12); }
.ov-search input { flex: 1 1 140px; min-width: 120px; border: 0 !important; background: transparent !important; box-shadow: none !important; min-height: 34px !important; padding: 0 6px !important; }
.ov-facet { display: inline-flex; align-items: stretch; border-radius: 8px; overflow: hidden; font-size: 14px; background: #e9f3ee; color: var(--a-acc); }
.ov-facet b { padding: 4px 8px; background: var(--a-acc); color: #fff; font-weight: 700; } .ov-facet--f b { background: #3340b8; } .ov-facet--f { background: #e6ebff; color: #3340b8; } .ov-facet--g b { background: #9a6a00; } .ov-facet--g { background: #fff3d6; color: #7a5200; }
.ov-facet > span { padding: 4px 8px; font-weight: 600; } .ov-facet button { border: 0; background: transparent; color: inherit; padding: 0 8px 0 2px; cursor: pointer; display: grid; place-items: center; }
.ov-tg { border: 0; background: transparent; color: #4a5a53; cursor: pointer; padding: 6px; border-radius: 8px; display: grid; place-items: center; } .ov-tg:hover { background: #eef2ef; }
.ov-dd { position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 30; display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: #fff; border: 1px solid #e3e9e5; border-radius: 16px; box-shadow: 0 24px 50px -16px rgba(20, 33, 28, .35); padding: 8px; }
.ov-dd[hidden] { display: none; } .ov-dd__c { padding: 6px 8px; display: grid; align-content: start; gap: 2px; } .ov-dd__c + .ov-dd__c { border-left: 1px solid #edf1ee; }
.ov-dd__h { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; color: #6b7a73; padding: 6px 8px; }
.ov-dd__i { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 0; background: transparent; border-radius: 10px; font: inherit; font-size: 15px; font-weight: 600; color: #1d2a24; text-align: left; cursor: pointer; } .ov-dd__i:hover { background: var(--a-tint2); }
.ov-dd__ck { width: 18px; height: 18px; flex: none; border-radius: 5px; border: 1.5px solid #bfcbc4; display: grid; place-items: center; color: #fff; } .ov-dd__i.is-on .ov-dd__ck { background: var(--a-acc); border-color: var(--a-acc); }
.ov-pager { display: inline-flex; align-items: center; gap: 4px; font-size: 14.5px; font-weight: 600; color: #4a5a53; font-variant-numeric: tabular-nums; }
.ov-pager button { width: 34px; height: 34px; border: 1px solid #d9e1dc; background: #fff; border-radius: 10px; display: grid; place-items: center; cursor: pointer; color: #1d2a24; } .ov-pager button:disabled { opacity: .4; cursor: default; } .ov-pager button:not(:disabled):hover { background: var(--a-tint2); } .ov-pager span { margin-right: 6px; }
.ov-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 14px; border: 0; border-radius: 11px; background: var(--a-acc); color: #fff; font: inherit; font-size: 14.5px; font-weight: 700; cursor: pointer; } .ov-btn--g { background: #fff; color: #1d2a24; border: 1px solid #d9e1dc; } .ov-btn--g:hover { background: var(--a-tint2); }
.ov-sel { display: flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 14px; background: #e9f3ee; color: var(--a-acc); }
.ov-tbl { background: #fff; border: 1px solid #e3e9e5; border-radius: 20px; box-shadow: 0 10px 28px -18px rgba(20, 33, 28, .2); overflow-x: auto; }
.ov-tbl table { min-width: 860px; }
.ov-tbl th { padding: 0; } .ov-tbl th button { all: unset; box-sizing: border-box; display: block; width: 100%; padding: 13px 16px; cursor: pointer; font: inherit; } .ov-tbl th button:hover { color: var(--a-acc); } .ov-tbl th.is-num button { text-align: right; }
.ov-tbl th.ov-ck, .ov-tbl td.ov-ck { width: 44px; padding: 0 0 0 16px; } .is-num { text-align: right; font-variant-numeric: tabular-nums; }
.ov-arr { font-style: normal; margin-left: 6px; color: var(--a-acc); }
.ov-tbl tr.is-sel { background: #eef6f1; }
.ov-grp td { background: #f1f5f2; font-weight: 700; cursor: pointer; border-bottom: 1px solid #e3e9e5; } .ov-grp:hover td { background: #e9f0ec; }
.ov-car { display: inline-block; font-style: normal; transition: transform .15s; color: #6b7a73; } .ov-car.is-open { transform: rotate(90deg); } .ov-gc { color: #6b7a73; font-weight: 600; }
.ov-tot td { background: #f6f9f7; font-weight: 800; border-top: 2px solid #e3e9e5; border-bottom: 0; }
.ov-empty { padding: 36px; text-align: center; color: #6b7a73; }
/* Forma */
.ov-fh { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.ov-bc { display: flex; align-items: center; gap: 8px; font-size: 18px; } .ov-bc a { color: var(--a-acc); font-weight: 700; text-decoration: none; } .ov-bc a:hover { text-decoration: underline; } .ov-bc__s { color: #a2afa8; } .ov-bc b { font-weight: 800; letter-spacing: -.01em; }
.ov-fa { margin-left: auto; display: flex; gap: 8px; }
.ov-st { display: flex; flex-wrap: wrap; gap: 0; margin-bottom: 16px; background: #fff; border: 1px solid #e3e9e5; border-radius: 14px; overflow: hidden; width: fit-content; max-width: 100%; }
.ov-st__i { position: relative; padding: 10px 26px 10px 22px; border: 0; background: #fff; font: inherit; font-size: 14.5px; font-weight: 700; color: #6b7a73; cursor: pointer; clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%, 12px 50%); margin-left: -8px; } .ov-st__i:first-child { margin-left: 0; clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%); }
.ov-st__i.is-done { background: #e1f3e8; color: #0a7a45; } .ov-st__i.is-on { background: var(--a-acc); color: #fff; } .ov-st__i:not(.is-on):hover { background: #eef2ef; }
.ov-sheet { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(320px, 1fr); gap: 16px; align-items: start; }
.ov-col { display: grid; gap: 16px; min-width: 0; }
.ov-card { background: #fff; border: 1px solid #e3e9e5; border-radius: 20px; padding: 22px 24px; box-shadow: 0 1px 2px rgba(20, 33, 28, .04), 0 10px 28px -16px rgba(20, 33, 28, .16); }
.ov-card h3 { margin: 0 0 12px; font-size: 17.5px; font-weight: 800; }
.ov-col--s .ov-card input:not([type=checkbox]), .ov-col--s .ov-card select, .ov-col--s .ov-card textarea { width: 100%; margin-bottom: 8px; }
.ov-l { display: block; margin: 8px 0 4px; font-size: 13px !important; text-transform: uppercase; letter-spacing: .05em; color: #6b7a73 !important; }
.ov-total { font-size: 17.5px; border-top: 2px solid #e3e9e5 !important; } .ov-link { height: 8px; }
@media (max-width: 1000px) { .ov-sheet { grid-template-columns: 1fr; } .ov-dd { grid-template-columns: 1fr; } .ov-dd__c + .ov-dd__c { border-left: 0; border-top: 1px solid #edf1ee; } }
@media print { .ov-cp, .ov-fh, .ov-st { display: none; } }
.cl__stats[hidden] { display: none; }
.ov-tbl td.ov-ck, .ov-tbl th.ov-ck { vertical-align: middle; } .ov-tbl .ov-ck input { margin: 0; vertical-align: middle; display: block; }
.ov-tbl td { vertical-align: middle; }
.adm-main:has(.page-h) .ov-title { display: none; } .ov-cp__t { justify-content: flex-end; } .ov-cp__t:empty { display: none; } .ov-cp__t .cl__stats { flex: 1 1 100%; }
.ov-ra { display: flex; gap: 6px; justify-content: flex-end; }
.adm-main [hidden] { display: none !important; }
.ov-tbl td { white-space: nowrap; max-width: 360px; overflow: hidden; text-overflow: ellipsis; } .ov-tbl td .vat { white-space: normal; }

/* ===== CRM: kanban ir veiklos ===== */
.ov-seg { display: inline-flex; padding: 3px; background: #e9eeea; border-radius: 12px; } .ov-seg button { border: 0; background: transparent; padding: 7px 14px; border-radius: 9px; font: inherit; font-size: 14.5px; font-weight: 700; color: #4a5a53; cursor: pointer; } .ov-seg button.is-on { background: #fff; color: var(--a-acc); box-shadow: 0 1px 3px rgba(20, 33, 28, .15); }
.kb { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 12px; overflow-x: auto; padding-bottom: 8px; align-items: start; }
.kb-col { background: #eaf0ec; border-radius: 18px; padding: 10px; min-height: 260px; transition: background .15s, outline-color .15s; outline: 2px dashed transparent; } .kb-col.is-over { background: #dcebe3; outline-color: var(--a-acc); }
.kb-h { display: flex; align-items: center; gap: 8px; padding: 6px 8px 0; } .kb-h b { font-size: 15.5px; } .kb-dot { width: 10px; height: 10px; border-radius: 50%; } .kb-n { margin-left: auto; font-size: 13px; font-weight: 800; background: #fff; border-radius: 999px; padding: 2px 9px; color: #4a5a53; }
.kb-sum { padding: 2px 8px 8px 26px; font-size: 14px; font-weight: 700; color: #6b7a73; min-height: 20px; }
.kb-list { display: grid; gap: 8px; }
.kb-empty { text-align: center; color: #8a9891; font-size: 14px; padding: 18px 0; margin: 0; }
.kb-card { background: #fff; border-radius: 14px; padding: 12px 14px; box-shadow: 0 1px 2px rgba(20, 33, 28, .08), 0 6px 14px -10px rgba(20, 33, 28, .3); cursor: grab; border: 1px solid transparent; transition: transform .15s, box-shadow .15s, border-color .15s; display: grid; gap: 4px; }
.kb-card:hover { border-color: #b9d3c6; transform: translateY(-1px); } .kb-card.is-drag { opacity: .45; cursor: grabbing; } .kb-card.is-hot { border-left: 3px solid #e0731e; }
.kb-c1 { display: flex; justify-content: space-between; gap: 6px; } .kb-c1 b { font-size: 15.5px; } .kb-c2 { font-size: 14px; color: #4a5a53; } .kb-c3 { font-size: 14px; color: #6b7a73; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.kb-c4 { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: 4px; } .kb-val { font-size: 14.5px; color: var(--a-acc); }
.kb-c5 { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; }
.kb-av { width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(135deg, #c8f55a, #7fd87a); color: var(--a-on-lime); font-size: 12px; font-weight: 800; display: grid; place-items: center; } .kb-av.is-none { background: #e3e9e5; color: #8a9891; }
.kb-due { font-size: 12.5px; font-weight: 700; color: #6b7a73; } .kb-due.is-late { color: #b3261e; } .kb-due.is-now { color: #9a6a00; }
.kb-foot { margin: 8px 4px 0; color: #6b7a73; font-size: 14.5px; }
.kb-modal { position: fixed; inset: 0; z-index: 80; background: rgba(20, 33, 28, .5); display: grid; place-items: center; padding: 16px; }
.kb-modal__b { width: min(640px, 100%); max-height: 92vh; overflow: auto; background: #fff; border-radius: 22px; padding: 24px; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .5); display: grid; gap: 10px; } .kb-modal__b h3 { margin: 0 0 4px; font-size: 18px; }
.ov-g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; } .ov-f { display: grid; gap: 4px; } .ov-f input, .ov-f textarea, .ov-f select, .ov-col--s .ov-card input, .ov-col--s .ov-card select { width: 100%; }
.ov-qa { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; } .ov-qa a.ov-btn { text-decoration: none; }
.ov-mini { display: grid; gap: 4px; }
.ov-tabs { display: inline-flex; gap: 4px; padding: 3px; background: #eef2ef; border-radius: 12px; margin-bottom: 8px; } .ov-tabs button { border: 0; background: transparent; padding: 7px 14px; border-radius: 9px; font: inherit; font-size: 14.5px; font-weight: 700; color: #4a5a53; cursor: pointer; } .ov-tabs button.is-on { background: #fff; color: var(--a-acc); box-shadow: 0 1px 3px rgba(20, 33, 28, .15); }
.ov-comp { display: grid; gap: 8px; justify-items: start; margin-bottom: 18px; } .ov-comp textarea, .ov-comp input { width: 100%; }
.ov-tl { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; position: relative; } .ov-tl::before { content: ""; position: absolute; left: 15px; top: 8px; bottom: 8px; width: 2px; background: #e3e9e5; }
.ov-tl__i { display: grid; grid-template-columns: 32px 1fr; gap: 12px; padding: 8px 0; position: relative; } .ov-tl__ic { width: 32px; height: 32px; border-radius: 50%; background: #fff; border: 2px solid #e3e9e5; display: grid; place-items: center; font-size: 15.5px; z-index: 1; }
.ov-tl__h { font-size: 14.5px; } .ov-tl__t { font-size: 15.5px; white-space: pre-wrap; color: #2b3a33; margin-top: 2px; }
@media (max-width: 700px) { .ov-g2 { grid-template-columns: 1fr; } .kb { grid-auto-columns: 82%; } }
.ov-col--s .ov-card input[type=checkbox], .ov-f input[type=checkbox] { width: auto; margin: 0; }
.kb { grid-auto-columns: minmax(196px, 1fr); }

/* ===== Kalendorius ir pivot ===== */
.cal { background: #fff; border: 1px solid #e3e9e5; border-radius: 20px; padding: 16px; box-shadow: 0 10px 28px -18px rgba(20, 33, 28, .2); }
.cal-h { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; } .cal-t { font-size: 18px; margin-right: auto; text-transform: capitalize; }
.cal-h button { border: 1px solid #d9e1dc; background: #fff; border-radius: 10px; min-width: 34px; height: 34px; display: grid; place-items: center; cursor: pointer; font: inherit; font-weight: 700; padding: 0 12px; } .cal-h button:hover { background: var(--a-tint2); }
.cal-g { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 1px solid #edf1ee; border-left: 1px solid #edf1ee; }
.cal-dn { padding: 8px; font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: #6b7a73; border-right: 1px solid #edf1ee; border-bottom: 1px solid #edf1ee; background: #f6f9f7; }
.cal-c { min-height: 104px; padding: 6px; border-right: 1px solid #edf1ee; border-bottom: 1px solid #edf1ee; display: flex; flex-direction: column; gap: 3px; min-width: 0; } .cal-c.is-out { background: #fafbfa; } .cal-c.is-out .cal-d { opacity: .4; } .cal-c.is-today { background: #f1f8f3; } .cal-c.is-today .cal-d { background: var(--a-acc); color: #fff; }
.cal-d { align-self: flex-start; font-size: 13px; font-weight: 700; padding: 1px 7px; border-radius: 999px; }
.cal-i { border: 0; text-align: left; padding: 3px 8px; border-radius: 7px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; background: #e6ebff; color: #3340b8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .cal-i--ok { background: #e1f3e8; color: #0a7a45; } .cal-i--no { background: #fde8e6; color: #b3261e; } .cal-i--b { background: #fff3d6; color: #7a5200; } .cal-i:hover { filter: brightness(.95); }
.cal-more { font-size: 12.5px; color: #6b7a73; padding-left: 4px; }
.pv-c { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; } .pv-s { display: grid; gap: 4px; font-size: 13px; font-weight: 700; color: #6b7a73; text-transform: uppercase; letter-spacing: .05em; } .pv-s select { min-width: 180px; }
.pv-t { min-width: 0 !important; } .pv-t th:first-child { text-align: left; } .pv-t tbody th { text-align: left; font-weight: 700; text-transform: none; letter-spacing: 0; font-size: 15px; color: #1d2a24; background: #fff; position: static; } .pv-tot { font-weight: 800; background: #f6f9f7; } .pv-ft th, .pv-ft td { background: #f1f5f2 !important; font-weight: 800; border-top: 2px solid #e3e9e5; }
.pv-t th.is-num, .ov-tbl th.is-num { text-align: right; } .pv-t th:first-child { min-width: 180px; }

/* ===== Siuntų centras ===== */
.pq-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 16px; }
.pq { position: relative; display: grid; gap: 2px; text-align: left; padding: 16px 18px 14px 56px; background: #fff; border: 1px solid #e3e9e5; border-radius: 18px; cursor: pointer; font: inherit; box-shadow: 0 1px 2px rgba(20, 33, 28, .04), 0 10px 28px -18px rgba(20, 33, 28, .2); transition: transform .15s, border-color .15s; }
.pq:hover { transform: translateY(-2px); border-color: #b9d3c6; } .pq b { font-size: 26px; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; } .pq span:last-child { font-size: 14.5px; font-weight: 600; color: #4a5a53; }
.pq-i { position: absolute; left: 16px; top: 16px; width: 28px; height: 28px; border-radius: 50%; background: #eef2ef; display: grid; place-items: center; font-size: 14.5px; font-weight: 800; color: #4a5a53; }
.pq.is-zero { opacity: .65; } .pq.is-bad { border-color: #e4b3ad; background: #fff8f7; } .pq.is-bad .pq-i { background: #fde8e6; color: #b3261e; }
.kj { display: grid; grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); gap: 16px; align-items: start; } .kj-s { margin-top: 16px; }
.kj-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; } .kj-h h3 { margin: 0; font-size: 18px; }
.kj-st { display: flex; flex-wrap: wrap; gap: 10px; margin: 10px 0; } .kj-st div { background: var(--a-tint2); border-radius: 12px; padding: 8px 14px; } .kj-st b { display: block; font-size: 20px; } .kj-st span { font-size: 13px; color: #6b7a73; }
.kj-code { background: var(--a-tint2); border-radius: 10px; padding: 10px 12px; font: 12.5px/1.6 ui-monospace, Menlo, monospace; color: #1d2a24; word-break: break-all; }
.kj-steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; } .kj-steps li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; } .kj-steps li::before { content: counter(s); width: 34px; height: 34px; border-radius: 50%; background: var(--a-acc); color: #fff; display: grid; place-items: center; font-weight: 800; }

.kj-code { white-space: pre-wrap; } .ov-tbl td .ov-wrap { white-space: normal; min-width: 180px; max-width: 280px; } .kj-s p.vat { margin-top: 12px; }

/* ===== Nuolaidų / kuponų forma ===== */
.nl-info { margin: 0 0 14px; padding: 12px 16px; background: #eef6f1; border-radius: 14px; color: #1d4a3a; font-size: 15px; }
.nl-note { margin: 10px 0 0; padding: 10px 12px; background: #fff8e6; border-radius: 12px; color: #7a5200; font-size: 14px; }
.nl-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin-bottom: 14px; } .nl-tiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nl-tile { position: relative; display: grid; gap: 3px; padding: 12px 14px; border: 1.5px solid #d9e1dc; border-radius: 14px; cursor: pointer; background: #fff; transition: border-color .15s, background .15s, box-shadow .15s; } .nl-tile input { position: absolute; opacity: 0; pointer-events: none; }
.nl-tile b { font-size: 15.5px; } .nl-tile span { font-size: 13px; color: #6b7a73; font-weight: 500; } .nl-tile:hover { border-color: #9cc2b0; } .nl-tile.is-on { border-color: var(--a-acc); background: #eef6f1; box-shadow: 0 0 0 3px rgb(var(--a-acc-rgb) / .12); }
.nl-codebox { display: flex; gap: 8px; align-items: center; } .nl-codebox input { flex: 1; font-weight: 800; letter-spacing: .06em; }
.nl-chips { display: flex; flex-wrap: wrap; gap: 6px; } .nl-vals { margin-bottom: 4px; }
.nl-sum__t { font-size: 17px; line-height: 1.35; margin-bottom: 6px; } .nl-sum__t b { color: var(--a-acc); } .nl-sum__code { display: inline-block; margin-top: 10px; padding: 8px 14px; border: 2px dashed var(--a-acc); border-radius: 10px; font-weight: 800; letter-spacing: .12em; color: var(--a-acc); background: #fff; }
.nl-sumcard { background: linear-gradient(135deg, #f1f8f3, #fff); }
.nl-code { display: inline-flex; align-items: center; gap: 6px; } .nl-code b { font-family: ui-monospace, Menlo, monospace; letter-spacing: .05em; background: #eef2ef; padding: 3px 9px; border-radius: 8px; } .nl-copy { border: 0; background: transparent; cursor: pointer; font-size: 16.5px; color: #6b7a73; } .nl-copy:hover { color: var(--a-acc); }
.nl-use { display: grid; gap: 4px; justify-items: end; } .nl-use i { display: block; width: 90px; height: 5px; background: #e3e9e5; border-radius: 99px; overflow: hidden; } .nl-use u { display: block; height: 100%; background: var(--a-acc); }
.nl-test { margin-top: 10px; }
@media (max-width: 700px) { .nl-tiles--3 { grid-template-columns: 1fr; } }
/* ===== Versijų istorija ===== */
.vh { display: grid; gap: 14px; max-width: 900px; } .vh-i ul { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 5px; font-size: 15.5px; } .vh-i.is-cur { border-color: var(--a-acc); box-shadow: 0 0 0 3px rgb(var(--a-acc-rgb) / .1); }
.vh-h { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; } .vh-v { font-size: 20px; font-family: ui-monospace, Menlo, monospace; } .vh-t { color: #4a5a53; font-weight: 600; }

/* ===== Komandos pokalbiai ===== */
.adm-bdg { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--a-lime); color: var(--a-on-lime); font-size: 12.5px; font-weight: 800; display: inline-grid; place-items: center; } .adm-bdg.is-hot { background: #ff6b4a; color: #fff; } .adm-bdg[hidden] { display: none !important; }
.adm-main:has(.ch) { max-width: none; padding-top: 0; padding-bottom: 0; } .adm-main:has(.ch) .page-h { display: none; }
.ch { display: grid; grid-template-columns: 320px minmax(0, 1fr); height: calc(100vh - 58px); min-height: 480px; background: #fff; border: 1px solid #e3e9e5; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 28px -18px rgba(20, 33, 28, .25); margin-top: 6px; }
.ch-side { display: grid; grid-template-rows: auto 1fr; border-right: 1px solid #edf1ee; background: #f8faf9; min-height: 0; } .ch-side > input { margin: 12px; width: calc(100% - 24px) !important; }
.ch-list { overflow-y: auto; padding: 0 8px 12px; }
.ch-sec { display: flex; align-items: center; justify-content: space-between; padding: 12px 10px 6px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: #7b8982; }
.ch-plus { border: 0; background: #e3ede7; width: 22px; height: 22px; border-radius: 7px; cursor: pointer; font-weight: 800; color: var(--a-acc); }
.ch-it { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; border: 0; background: transparent; border-radius: 12px; font: inherit; text-align: left; cursor: pointer; } .ch-it:hover { background: #eef3f0; } .ch-it.is-on { background: #e3efe8; }
.ch-it__l { display: flex; align-items: center; gap: 10px; min-width: 0; } .ch-it__t { display: grid; min-width: 0; } .ch-it__t b { font-size: 15.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .ch-it__t small { color: #7b8982; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 200px; }
.ch-hash { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; background: #e3ede7; color: var(--a-acc); font-weight: 800; }
.ch-bdg { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--a-acc); color: #fff; font-size: 12.5px; font-weight: 800; display: grid; place-items: center; } .ch-bdg.is-hot { background: #ff6b4a; }
.ch-av { display: inline-grid; place-items: center; border-radius: 50%; font-weight: 800; flex: none; } .ch-avw { position: relative; display: inline-block; } .ch-dot { position: absolute; right: -1px; bottom: -1px; width: 11px; height: 11px; border-radius: 50%; background: #b5c0ba; border: 2px solid #f8faf9; } .ch-dot.is-on { background: #1fbf6a; }
.ch-main { display: grid; grid-template-rows: auto 1fr auto auto; min-width: 0; min-height: 0; position: relative; }
.ch-hd { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid #edf1ee; } .ch-hd > div { flex: 1; min-width: 0; } .ch-hd__t { font-size: 17px; display: block; } .ch-hd small { color: #7b8982; } .ch-back { display: none; border: 0; background: transparent; font-size: 28px; line-height: 1; cursor: pointer; } .ch-bell { border: 0; background: #f0f4f2; width: 36px; height: 36px; border-radius: 10px; cursor: pointer; }
.ch-thread { overflow-y: auto; padding: 8px 18px 14px; scroll-behavior: auto; }
.ch-day { text-align: center; margin: 16px 0 8px; font-size: 13px; font-weight: 700; color: #7b8982; } .ch-day::before, .ch-day::after { content: ""; display: inline-block; width: 60px; height: 1px; background: #e3e9e5; vertical-align: middle; margin: 0 10px; }
.ch-newdiv { display: flex; align-items: center; gap: 10px; color: #ff6b4a; font-size: 12.5px; font-weight: 800; text-transform: uppercase; margin: 10px 0; } .ch-newdiv::after { content: ""; flex: 1; height: 1px; background: #ff6b4a55; }
.ch-m { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 10px; padding: 3px 8px; border-radius: 12px; } .ch-m:hover { background: #f6f9f7; } .ch-m.is-new { background: #fff8f1; } .ch-m.is-flash { background: #fff3c4; }
.ch-m__a { display: grid; justify-items: center; align-items: start; padding-top: 3px; } .ch-m__tm { font-size: 11.5px; color: #a2afa8; opacity: 0; } .ch-m:hover .ch-m__tm { opacity: 1; }
.ch-m__h { display: flex; gap: 8px; align-items: baseline; } .ch-m__h b { font-size: 15.5px; } .ch-m__h span { font-size: 12.5px; color: #8a9891; }
.ch-m__t { font-size: 16px; line-height: 1.45; white-space: pre-wrap; word-break: break-word; } .ch-m__t.is-del { color: #a2afa8; font-style: italic; } .ch-ed { color: #a2afa8; }
.ch-men { background: #e8efff; color: #3340b8; padding: 0 5px; border-radius: 6px; font-weight: 700; } .ch-men.is-me { background: #ffe9a8; color: #6b4a00; } .ch-ref { display: inline-block; background: #eef6f1; color: var(--a-acc); padding: 1px 9px; border-radius: 99px; font-weight: 700; text-decoration: none; font-size: 14.5px; }
.ch-q { border-left: 3px solid #b9d3c6; background: var(--a-tint2); padding: 4px 10px; border-radius: 0 8px 8px 0; font-size: 14px; color: #4a5a53; margin-bottom: 3px; cursor: pointer; }
.ch-rx { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 4px; } .ch-rx__i { border: 1px solid #d9e1dc; background: #fff; border-radius: 99px; padding: 1px 9px; font-size: 14px; cursor: pointer; } .ch-rx__i.is-me { background: #e3efe8; border-color: var(--a-acc); }
.ch-tb { position: absolute; right: 10px; top: -14px; display: none; gap: 2px; background: #fff; border: 1px solid #e3e9e5; border-radius: 10px; padding: 2px; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .3); } .ch-m:hover .ch-tb { display: flex; } .ch-tb button { border: 0; background: transparent; width: 30px; height: 28px; border-radius: 8px; cursor: pointer; } .ch-tb button:hover { background: #eef3f0; }
.ch-empty { text-align: center; color: #8a9891; padding: 60px 0; }
.ch-jump { position: absolute; left: 50%; bottom: 90px; transform: translateX(-50%); border: 0; background: var(--a-acc); color: #fff; padding: 8px 16px; border-radius: 99px; font: inherit; font-size: 14.5px; font-weight: 700; cursor: pointer; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .5); }
.ch-bar { display: flex; align-items: center; gap: 6px; padding: 8px 18px; background: var(--a-tint2); border-top: 1px solid #edf1ee; font-size: 14.5px; color: #4a5a53; } .ch-bar button { margin-left: auto; border: 0; background: transparent; cursor: pointer; font-size: 16.5px; } .ch-bar[hidden], .ch-jump[hidden], .ch-pop[hidden] { display: none; }
.ch-comp { position: relative; display: flex; align-items: flex-end; gap: 10px; padding: 12px 18px 16px; border-top: 1px solid #edf1ee; } .ch-comp textarea { flex: 1; resize: none; max-height: 160px; min-height: 44px !important; border-radius: 14px !important; padding: 11px 14px !important; line-height: 1.4; }
.ch-send { border: 0; background: var(--a-acc); color: #fff; width: 44px; height: 44px; border-radius: 14px; font-size: 18px; cursor: pointer; flex: none; } .ch-send:hover { filter: brightness(1.1); }
.ch-pop { position: absolute; left: 18px; bottom: 70px; background: #fff; border: 1px solid #e3e9e5; border-radius: 14px; box-shadow: 0 16px 36px -12px rgba(0, 0, 0, .35); padding: 6px; min-width: 240px; z-index: 5; } .ch-pop button { display: flex; gap: 8px; width: 100%; padding: 8px 10px; border: 0; background: transparent; border-radius: 10px; text-align: left; cursor: pointer; font: inherit; } .ch-pop button:hover { background: #eef3f0; } .ch-pop span { color: #6b7a73; }
@media (max-width: 899px) { .adm-main:has(.ch) { padding: 0 8px; } .ch { grid-template-columns: 1fr; height: calc(100vh - 110px); border-radius: 14px; } .ch-main { display: none; } .ch.is-open .ch-side { display: none; } .ch.is-open .ch-main { display: grid; } .ch-back { display: block; } .ch-tb { display: none !important; } }

/* ===== Pokalbių burbulas ===== */
.chb { position: fixed; right: 22px; bottom: 22px; z-index: 70; width: 58px; height: 58px; border-radius: 50%; border: 0; background: linear-gradient(135deg, var(--a-acc), var(--a-d3)); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 14px 30px -10px rgba(6, 43, 33, .7), 0 0 0 4px rgb(var(--a-lime-rgb) / .0); transition: transform .18s, box-shadow .18s; }
.chb:hover { transform: translateY(-2px) scale(1.04); box-shadow: 0 18px 34px -10px rgba(6, 43, 33, .8), 0 0 0 4px rgb(var(--a-lime-rgb) / .35); } .chb[hidden] { display: none; }
.chb-n { position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; background: var(--a-lime); color: var(--a-on-lime); font-size: 13px; font-weight: 800; display: grid; place-items: center; border: 2px solid #fff; } .chb-n.is-hot { background: #ff6b4a; color: #fff; } .chb-n[hidden] { display: none; }
.chp { position: fixed; right: 22px; bottom: 94px; z-index: 71; width: min(400px, calc(100vw - 24px)); height: min(600px, calc(100vh - 120px)); background: #fff; border-radius: 20px; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .5), 0 0 0 1px rgba(20, 33, 28, .08); display: grid; grid-template-rows: auto 1fr; overflow: hidden; animation: chpin .18s ease-out; } .chp[hidden] { display: none; }
@keyframes chpin { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.chp-h { display: flex; align-items: center; gap: 8px; padding: 10px 12px 10px 16px; background: var(--a-side); color: #fff; } .chp-h b { flex: 1; } .chp-h a, .chp-h button { border: 0; background: rgba(255, 255, 255, .1); color: #fff; width: 30px; height: 30px; border-radius: 9px; cursor: pointer; text-decoration: none; display: grid; place-items: center; font: inherit; } .chp-h a:hover, .chp-h button:hover { background: rgba(255, 255, 255, .2); }
.chp iframe { width: 100%; height: 100%; border: 0; background: #fff; }
@media (prefers-reduced-motion: reduce) { .chp { animation: none; } .chb { transition: none; } }
@media print { .chb, .chp { display: none; } }
/* Mini režimas (pokalbiai iframe viduje) */
html.mini body.adm { display: block; background: #fff; } html.mini .adm-side, html.mini .adm-bar, html.mini .adm-top, html.mini .chb, html.mini .chp { display: none !important; } html.mini .adm-main { padding: 0 !important; max-width: none; }
html.mini .ch { height: 100vh; border: 0; border-radius: 0; box-shadow: none; margin: 0; grid-template-columns: 1fr; } html.mini .ch-main { display: none; } html.mini .ch.is-open .ch-side { display: none; } html.mini .ch.is-open .ch-main { display: grid; } html.mini .ch-back { display: block; } html.mini .ch-tb { display: none !important; }
html.mini .ch-comp { padding: 10px 12px 12px; } html.mini .ch-thread { padding: 8px 10px; } html.mini .ch-hd { padding: 10px 12px; }
.im-prog { height: 8px; background: #e3e9e5; border-radius: 99px; overflow: hidden; margin-top: 12px; } .im-prog i { display: block; height: 100%; width: 0; background: var(--a-acc); transition: width .2s; } .im-rep { margin-top: 10px; } .im-rep pre { max-height: 240px; overflow: auto; background: var(--a-tint2); padding: 10px; border-radius: 10px; font-size: 13px; }
.kj-todo { margin: 10px 0; padding: 12px 14px; background: #fff8e6; border-radius: 14px; color: #7a5200; font-size: 14.5px; } .kj-todo ul { margin: 6px 0 0; padding-left: 18px; display: grid; gap: 4px; }

.ov-seg button.ov-vb { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 32px; padding: 0; } .ov-seg button.ov-vb:hover:not(.is-on) { background: rgba(255, 255, 255, .6); color: var(--a-acc); } .ov-seg button.ov-vb:focus-visible { outline: 2px solid var(--a-acc); outline-offset: 1px; }

.kb-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-bottom: 14px; } .kb-kpi { background: #fff; border: 1px solid #e3e9e5; border-radius: 14px; padding: 12px 14px; display: grid; gap: 2px; } .kb-kpi b { font-size: 20px; letter-spacing: -.01em; } .kb-kpi span { font-size: 13px; color: #5a6a63; font-weight: 600; } .kb-kpi.is-warn { background: #fff4e0; border-color: #f0cf8c; } .kb-card.is-stale { box-shadow: inset 3px 0 0 #e09a1a; }
.po__st--sablonas { background: #eadcfa; color: #5a2f9a; }

.ov-tabs { display: flex; gap: 4px; flex-wrap: wrap; margin: 0 0 12px; border-bottom: 1px solid #e1e8e3; } .ov-tab { display: inline-flex; align-items: center; gap: 7px; border: 0; background: transparent; padding: 9px 14px; font: inherit; font-size: 15px; font-weight: 700; color: #53635c; cursor: pointer; border-radius: 10px 10px 0 0; position: relative; } .ov-tab i { font-style: normal; font-size: 12.5px; background: #e9eeea; color: #46564f; border-radius: 99px; padding: 1px 7px; } .ov-tab:hover { background: #f1f5f2; color: var(--a-side); } .ov-tab.is-on { color: var(--a-acc); background: #fff; box-shadow: inset 0 -2px 0 var(--a-acc); } .ov-tab.is-on i { background: var(--a-acc); color: #fff; } .ov-tab__x { margin-left: 2px; opacity: 0; font-size: 16.5px; line-height: 1; } .ov-tab:hover .ov-tab__x { opacity: .7; } .ov-tab--add { color: var(--a-acc); font-weight: 600; margin-left: auto; } .ov-tab:focus-visible { outline: 2px solid var(--a-acc); }

.adm-kbtn { display: flex; align-items: center; gap: 9px; width: calc(100% - 24px); margin: 4px 12px 10px; padding: 9px 12px; border-radius: 11px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .07); color: rgba(255, 255, 255, .78); font: inherit; font-size: 14.5px; cursor: pointer; } .adm-kbtn:hover { background: rgba(255, 255, 255, .13); color: #fff; } .adm-kbtn span { flex: 1; text-align: left; } .adm-kbtn kbd { font: inherit; font-size: 11.5px; opacity: .65; border: 1px solid rgba(255, 255, 255, .25); border-radius: 5px; padding: 1px 5px; }
.kq { position: fixed; inset: 0; z-index: 400; display: grid; align-items: start; justify-items: center; padding: 12vh 14px 0; } .kq[hidden] { display: none; } .kq__b { position: absolute; inset: 0; background: rgba(10, 22, 17, .5); backdrop-filter: blur(3px); } .kq__p { position: relative; width: min(640px, 100%); background: #fff; border-radius: 18px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); overflow: hidden; } .kq__p input { width: 100%; border: 0; border-bottom: 1px solid #e3e9e5; padding: 18px 20px; font: inherit; font-size: 17.5px; outline: none; } .kq__p ul { list-style: none; margin: 0; padding: 6px; max-height: 50vh; overflow: auto; } .kq__p li { display: grid; grid-template-columns: 92px 1fr; gap: 2px 12px; padding: 10px 12px; border-radius: 10px; cursor: pointer; align-items: baseline; } .kq__p li.is-on, .kq__p li:hover { background: var(--a-tint); } .kq__p li span { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--a-acc); } .kq__p li small { grid-column: 2; color: #6b7a73; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .kq__p .kq__e { display: block; color: #6b7a73; cursor: default; } .kq__f { display: flex; gap: 16px; padding: 9px 16px; border-top: 1px solid #e3e9e5; font-size: 12.5px; color: #78877f; }


/* El. paštas: Apple Mail tipo vaizdas */
.am { --ab: #0a84ff; display: grid; grid-template-columns: 240px minmax(280px, 380px) minmax(0, 1fr); background: #fff; border: 1px solid #dcdce0; border-radius: 16px; overflow: hidden; min-height: 74vh; box-shadow: 0 18px 44px -28px rgba(0, 0, 0, .35); font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', sans-serif; } .am[hidden] { display: none; }
.am__s { background: #f3f3f6; border-right: 1px solid #dcdce0; padding: 14px 10px; display: flex; flex-direction: column; gap: 4px; min-width: 0; } .am__sh { font-size: 12px; font-weight: 700; color: #8a8a90; padding: 4px 8px 6px; text-transform: none; letter-spacing: .02em; }
.am__ah { display: flex; align-items: center; gap: 6px; width: 100%; border: 0; background: transparent; padding: 7px 8px; border-radius: 8px; font: inherit; font-size: 14.5px; color: #1d1d1f; cursor: pointer; text-align: left; } .am__ah:hover { background: rgba(0, 0, 0, .05); } .am__ah b { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .am__car { display: inline-block; color: #8a8a90; transition: transform .15s; width: 10px; } .am__ah.is-open .am__car { transform: rotate(90deg); }
.am__fl { list-style: none; margin: 2px 0 8px; padding: 0 0 0 4px; } .am__f { display: flex; align-items: center; gap: 9px; padding: 6px 10px; border-radius: 8px; font-size: 14.5px; color: #1d1d1f; cursor: pointer; outline: none; } .am__f svg { color: var(--ab); flex: none; } .am__f span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .am__f i { font-style: normal; font-size: 13px; color: #8a8a90; } .am__f:hover { background: rgba(0, 0, 0, .05); } .am__f.is-on { background: rgba(10, 132, 255, .16); font-weight: 600; } .am__f:focus-visible { box-shadow: 0 0 0 2px var(--ab); }
.am__none { padding: 14px 10px; font-size: 14.5px; color: #8a8a90; list-style: none; } .am__err2 { color: #c4361f; } .am__rmw { list-style: none; padding: 4px 6px; } .am__rm { border: 0; background: none; color: #8a8a90; font: inherit; font-size: 13px; cursor: pointer; text-decoration: underline; padding: 4px; } .am__rm:hover { color: #c4361f; }
.am__add { margin-top: auto; border: 1px dashed #c4c4ca; background: transparent; border-radius: 10px; padding: 9px 10px; font: inherit; font-size: 14.5px; font-weight: 600; color: var(--ab); cursor: pointer; } .am__add:hover { background: rgba(10, 132, 255, .08); }
.am__l { border-right: 1px solid #dcdce0; display: flex; flex-direction: column; min-width: 0; background: #fff; } .am__lh { padding: 14px 14px 10px; border-bottom: 1px solid #ececf0; display: grid; gap: 10px; } .am__lh b { font-size: 20px; letter-spacing: -.01em; color: #1d1d1f; } .am__lh span { margin-left: 8px; font-size: 13px; color: #8a8a90; } .am__lh input { border: 0; background: #ececf0; border-radius: 8px; padding: 7px 10px; font: inherit; font-size: 14.5px; outline: none; } .am__lh input:focus { box-shadow: 0 0 0 2px rgba(10, 132, 255, .4); }
.am__list { list-style: none; margin: 0; padding: 0; overflow: auto; max-height: 68vh; flex: 1; } .am__i { position: relative; display: grid; grid-template-columns: 16px 1fr; gap: 4px; padding: 10px 14px 10px 8px; margin: 0 6px; border-radius: 9px; cursor: pointer; outline: none; } .am__i + .am__i::before { content: ""; position: absolute; left: 20px; right: 8px; top: -1px; height: 1px; background: #ececf0; } .am__i:hover { background: #f4f4f7; } .am__i:focus-visible { box-shadow: 0 0 0 2px var(--ab) inset; }
.am__dot { width: 9px; height: 9px; border-radius: 50%; margin-top: 5px; justify-self: center; } .am__i.is-new .am__dot { background: var(--ab); }
.am__t { min-width: 0; } .am__a { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; } .am__a b { font-size: 15px; font-weight: 600; color: #1d1d1f; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .am__a time { font-size: 13px; color: #8a8a90; flex: none; } .am__s2 { font-size: 14.5px; color: #3a3a3f; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 1px; } .am__i.is-new .am__s2 { font-weight: 600; }
.am__i.is-on { background: var(--ab); } .am__i.is-on::before, .am__i.is-on + .am__i::before { display: none; } .am__i.is-on .am__a b, .am__i.is-on .am__s2, .am__i.is-on .am__a time { color: #fff; } .am__i.is-on .am__dot { background: transparent; }
.am__r { min-width: 0; overflow: auto; max-height: 82vh; background: #fff; } .am__empty { display: grid; gap: 4px; place-content: center; text-align: center; min-height: 60vh; color: #8a8a90; } .am__empty b { font-size: 20px; font-weight: 600; } .am__loading { padding: 40px; color: #8a8a90; }
.am__m { padding: 24px 32px 32px; } .am__h h2 { margin: 16px 0 0; font-size: 1.35rem; letter-spacing: -.01em; line-height: 1.25; color: #1d1d1f; font-weight: 700; } .am__who { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: start; } .am__av { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(180deg, #a5a9b4, #7d818d); color: #fff; font-weight: 600; font-size: 18px; } .am__wt { min-width: 0; display: grid; gap: 1px; font-size: 14.5px; } .am__wt b { font-size: 16px; color: #1d1d1f; } .am__wt span, .am__to { color: #6e6e73; overflow-wrap: anywhere; } .am__who time { font-size: 14px; color: #8a8a90; white-space: nowrap; }
.am__body { margin-top: 20px; padding-top: 18px; border-top: 1px solid #ececf0; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.6; font-size: 16px; color: #1d1d1f; } .am__att { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; } .am__chip { background: #f3f3f6; border: 1px solid #e3e3e8; border-radius: 8px; padding: 6px 12px; font-size: 14.5px; } .am__act { margin-top: 22px; } .am__back { display: none; border: 0; background: none; color: var(--ab); font: inherit; font-size: 16.5px; padding: 0 0 12px; cursor: pointer; }
.am__dlg { border: 0; border-radius: 18px; padding: 0; width: min(440px, calc(100vw - 28px)); box-shadow: 0 30px 80px rgba(0, 0, 0, .4); } .am__dlg::backdrop { background: rgba(0, 0, 0, .45); backdrop-filter: blur(3px); } .am__dlg form { padding: 24px; display: grid; gap: 12px; } .am__dlg h2 { margin: 0; font-size: 1.25rem; } .am__dlg label { display: grid; gap: 5px; font-size: 14.5px; font-weight: 600; color: #3a3a3f; } .am__dlg input, .am__dlg select { border: 1px solid #d5d5da; border-radius: 10px; padding: 10px 12px; font: inherit; font-size: 16.5px; background: #fff; font-weight: 400; } .am__dlg input:focus, .am__dlg select:focus { outline: none; border-color: var(--ab); box-shadow: 0 0 0 3px rgba(10, 132, 255, .22); } .am__g { display: grid; grid-template-columns: 1fr 90px; gap: 10px; } .am__err { margin: 0; padding: 10px 12px; border-radius: 10px; background: #fdecea; color: #a02a1a; font-size: 15px; } .am__btns { display: flex; justify-content: flex-end; gap: 8px; }
@media (max-width: 1100px) { .am { grid-template-columns: 210px minmax(240px, 320px) minmax(0, 1fr); } }
@media (max-width: 860px) { .am { grid-template-columns: 1fr; } .am__r { display: none; } .am.is-read .am__s, .am.is-read .am__l { display: none; } .am.is-read .am__r { display: block; max-height: none; } .am__back { display: block; } .am__list { max-height: none; } .am__m { padding: 18px 16px; } .am__who { grid-template-columns: 44px 1fr; } .am__who time { grid-column: 2; } }

/* Nustatymai: premium apdaila */
.stg { grid-template-columns: 290px minmax(0, 1fr); gap: 28px; }
.stg__nav { padding: 12px; border-radius: 24px; box-shadow: 0 1px 2px rgba(20, 33, 28, .04), 0 18px 40px -26px rgba(20, 33, 28, .3); gap: 3px; }
.stg__nav a { padding: 11px 16px; border-radius: 14px; font-size: 15.5px; font-weight: 600; color: #3a4a43; transition: background .15s, color .15s, transform .15s; } .stg__nav a:hover:not(.is-on) { background: #f0f5f2; transform: translateX(2px); }
.stg__head { margin-bottom: 18px; } .stg__head h2 { font-size: 26px !important; letter-spacing: -.025em; font-weight: 800; } .stg__head p { color: #6b7a73; font-size: 15.5px; margin: 4px 0 0; }
.stg__body > section.panel, .stg__body .setsec { position: relative; border-radius: 26px; padding: clamp(22px, 3vw, 34px); background: linear-gradient(180deg, #fff, #fcfdfb); overflow: hidden; }
.stg__body > section.panel::before, .stg__body .setsec::before { content: ""; position: absolute; left: clamp(22px, 3vw, 34px); top: 0; width: 44px; height: 4px; border-radius: 0 0 5px 5px; background: var(--a-lime); }
.stg__body .field label { font-size: 14.5px; font-weight: 700; color: #34443d; letter-spacing: .01em; margin-bottom: 6px; display: block; }
.stg__body input:not([type=checkbox]):not([type=radio]), .stg__body select, .stg__body textarea { border: 1px solid #dde5e0; background: #f8faf8; border-radius: 14px; padding: 13px 16px; font-size: 16.5px; width: 100%; transition: border-color .15s, box-shadow .15s, background .15s; }
.stg__body input:not([type=checkbox]):not([type=radio]):hover, .stg__body select:hover, .stg__body textarea:hover { border-color: #c5d1ca; }
.stg__body input:not([type=checkbox]):not([type=radio]):focus, .stg__body select:focus, .stg__body textarea:focus { outline: none; background: #fff; border-color: var(--a-acc); box-shadow: 0 0 0 4px rgb(var(--a-acc-rgb) / .13); }
.stg__body input::placeholder { color: #a3b0a9; }
.stg__sw { border-radius: 16px; padding: 14px 16px; transition: border-color .15s, background .15s, box-shadow .15s; } .stg__sw:hover { border-color: #b9c9c0; } .stg__sw:has(input:checked) { background: #f2f8f4; box-shadow: 0 8px 20px -14px rgb(var(--a-acc-rgb) / .5); }
.stg__row { padding: 14px 0; } .stg__b { padding: 4px 12px; font-size: 13px; }
/* Išsaugojimo dokas: rodomas tik kai yra pakeitimų */
.adm-main .savedock { position: fixed; left: calc(50% + 124px); bottom: 22px; transform: translate(-50%, 160%); z-index: 60; display: flex; align-items: center; gap: 12px; flex-wrap: nowrap; width: max-content; max-width: calc(100vw - 28px); margin: 0; padding: 10px 10px 10px 18px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; background: rgba(15, 28, 23, .92); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 24px 60px -18px rgba(5, 25, 18, .7), 0 2px 6px rgba(0, 0, 0, .25); opacity: 0; visibility: hidden; pointer-events: none; transition: transform .35s cubic-bezier(.2, .8, .2, 1), opacity .25s, visibility .35s; }
.adm-main .savedock.is-dirty, .adm-main .savedock.is-saved { transform: translate(-50%, 0); opacity: 1; visibility: visible; pointer-events: auto; }
.adm-main .savedock__dot { width: 9px; height: 9px; border-radius: 50%; background: #f5b83d; box-shadow: 0 0 0 4px rgba(245, 184, 61, .22); flex: none; }  .adm-main .savedock.is-saved  .adm-main .savedock__dot { background: #5fd68a; box-shadow: 0 0 0 4px rgba(95, 214, 138, .25); }  .adm-main .savedock.is-bad  .adm-main .savedock__dot { background: #ff6b5e; box-shadow: 0 0 0 4px rgba(255, 107, 94, .25); }
.adm-main .savedock__t { color: #fff; font-size: 15.5px; min-width: 0; }  .adm-main .savedock__t b { font-weight: 600; }  .adm-main .savedock__t p { display: none; }
.adm-main .savedock .btn { border-radius: 999px; padding: 9px 20px; font-weight: 800; min-height: 0; }  .adm-main .savedock .btn:not(.btn--ghost) { background: var(--a-lime); color: var(--a-d1); border-color: var(--a-lime); box-shadow: 0 8px 20px -8px rgb(var(--a-lime-rgb) / .6); }  .adm-main .savedock .btn--ghost { background: transparent; color: #cfe0d8; border-color: rgba(255, 255, 255, .22); }
.adm-main .savedock.is-saved .btn { display: none; }  .adm-main .savedock.is-saved { padding-right: 20px; }
@media (max-width: 899px) { .adm-main .savedock { left: 50%; bottom: 14px; } .stg { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .adm-main .savedock { width: calc(100vw - 20px); border-radius: 22px; padding-left: 16px; }  .adm-main .savedock__t b { font-size: 14.5px; }  .adm-main .savedock .btn--ghost { padding: 9px 12px; } }
@media (prefers-reduced-motion: reduce) { .adm-main .savedock { transition: opacity .15s; } .stg__nav a { transition: none; } }

.am__lt { display: flex; align-items: center; justify-content: space-between; gap: 8px; } .am__new { width: 34px; height: 34px; border-radius: 10px; border: 0; background: rgba(10, 132, 255, .12); color: var(--ab); display: grid; place-items: center; cursor: pointer; transition: background .15s; } .am__new:hover { background: rgba(10, 132, 255, .22); }
.am__c { padding: 22px 30px 28px; display: grid; gap: 12px; } .am__ch { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; } .am__ch b { font-size: 1.25rem; letter-spacing: -.01em; } .am__cl { display: grid; grid-template-columns: 54px 1fr; align-items: center; gap: 10px; border-bottom: 1px solid #ececf0; padding-bottom: 6px; } .am__cl span { font-size: 14.5px; color: #8a8a90; } .am__cl input { border: 0; outline: none; font: inherit; font-size: 16.5px; padding: 6px 0; background: transparent; }
.am__c textarea { border: 0; outline: none; resize: vertical; font: inherit; font-size: 16.5px; line-height: 1.6; min-height: 280px; padding: 8px 0; background: transparent; } .am__cb { display: flex; justify-content: flex-end; gap: 8px; }
@media (max-width: 860px) { .am__c { padding: 18px 16px; } }

/* El. paštas: Apple Mail įrankių juosta */
.am { display: flex; flex-direction: column; grid-template-columns: none; min-height: 0; }
.am__bd { display: grid; grid-template-columns: 240px minmax(280px, 380px) minmax(0, 1fr); min-height: 70vh; min-width: 0; transition: grid-template-columns .2s; } .am.is-nosb .am__bd { grid-template-columns: 0 minmax(280px, 380px) minmax(0, 1fr); } .am.is-nosb .am__s { padding: 0; border: 0; overflow: hidden; visibility: hidden; }
.am__tb { display: flex; align-items: center; gap: 4px; padding: 8px 12px; background: linear-gradient(180deg, #fbfbfd, #f3f3f6); border-bottom: 1px solid #dcdce0; flex-wrap: wrap; }
.am__ib { position: relative; width: 38px; height: 34px; border: 0; border-radius: 9px; background: transparent; color: #4a4a50; display: inline-grid; place-items: center; cursor: pointer; transition: background .12s, color .12s; } .am__ib:hover:not(:disabled) { background: rgba(0, 0, 0, .07); } .am__ib:active:not(:disabled) { background: rgba(0, 0, 0, .13); } .am__ib:disabled { opacity: .32; cursor: default; } .am__ib.is-on { color: #ff9f0a; background: rgba(255, 159, 10, .14); } .am__ib:focus-visible { outline: 2px solid var(--ab); outline-offset: 1px; }
.am__tt { display: grid; margin: 0 10px 0 6px; min-width: 150px; line-height: 1.2; } .am__tt b { font-size: 16.5px; font-weight: 700; color: #1d1d1f; } .am__tt span { font-size: 13px; color: #8a8a90; }
.am__sp { flex: 1; min-width: 4px; } .am__ac { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; } .am__sep { width: 1px; height: 20px; background: #dcdce0; margin: 0 6px; }
.am__se { display: flex; align-items: center; gap: 6px; background: #ececf0; border-radius: 9px; padding: 0 10px; height: 32px; color: #8a8a90; margin-left: 8px; min-width: 150px; max-width: 240px; flex: 0 1 220px; } .am__se:focus-within { box-shadow: 0 0 0 2px rgba(10, 132, 255, .4); background: #fff; } .am__se svg { width: 16px; height: 16px; flex: none; } .am__se input { border: 0; background: transparent; outline: none; font: inherit; font-size: 15px; width: 100%; color: #1d1d1f; padding: 0; }
.am__pop { position: relative; } .am__menu { position: absolute; z-index: 20; top: calc(100% + 6px); left: 0; min-width: 210px; background: rgba(255, 255, 255, .96); backdrop-filter: blur(16px); border: 1px solid #dcdce0; border-radius: 12px; padding: 6px; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .3); } .am__menu[hidden] { display: none; } .am__mh { padding: 6px 10px 4px; font-size: 12px; font-weight: 700; color: #8a8a90; text-transform: uppercase; letter-spacing: .05em; } .am__mi { display: flex; align-items: center; gap: 8px; width: 100%; border: 0; background: transparent; text-align: left; padding: 7px 10px; border-radius: 7px; font: inherit; font-size: 15px; color: #1d1d1f; cursor: pointer; } .am__mi:hover { background: var(--ab); color: #fff; } .am__ck { width: 14px; font-size: 13px; }
.am__tm { display: inline-flex; align-items: center; gap: 4px; flex: none; color: #ff9f0a; } .am__tm time { color: #8a8a90; } .am__i.is-on .am__tm, .am__i.is-on .am__tm time { color: #fff; }
.am__l { border-right: 1px solid #dcdce0; } .am__list { max-height: 72vh; }
@media (max-width: 1100px) { .am__bd { grid-template-columns: 210px minmax(240px, 320px) minmax(0, 1fr); } .am__tt { min-width: 110px; } }
@media (max-width: 860px) { .am__bd { grid-template-columns: 1fr !important; } .am__se { flex: 1 1 100%; max-width: none; margin: 6px 0 0; order: 9; } .am__sep { display: none; } .am__ac { order: 5; } .am.is-nosb .am__s { display: none; } }
@media print { body.adm .adm-side, body.adm .adm-bar, .am__tb, .am__s, .am__l, .am__back, .page-h, .chb, .chp { display: none !important; } .am, .am__bd { display: block !important; border: 0; box-shadow: none; } .am__r { display: block !important; max-height: none !important; overflow: visible !important; } }
.am .am__se input, .am .am__se input:focus { border: 0; background: transparent; box-shadow: none; padding: 0; height: auto; border-radius: 0; }
.am label.am__se input[type=search], .am label.am__se input[type=search]:focus { border: 0 !important; background: transparent !important; box-shadow: none !important; padding: 0 !important; min-height: 0 !important; height: 100% !important; border-radius: 0 !important; width: 100%; }

/* Apple tipo ikonų mygtukai */
.am__tb { gap: 6px; padding: 10px 14px; } .am__ib { width: 42px; height: 34px; border-radius: 10px; background: #fff; border: 1px solid rgba(0, 0, 0, .1); box-shadow: 0 1px 1.5px rgba(0, 0, 0, .05); color: #3c3c43; } .am__ib svg { width: 21px; height: 21px; } .am__ib:hover:not(:disabled) { background: #f4f4f7; } .am__ib:disabled { opacity: .38; box-shadow: none; } .am__ib.is-on { color: #ff9f0a; background: #fff8ec; border-color: rgba(255, 159, 10, .35); } .am__ib.is-on svg { fill: currentColor; }
.am__sep { display: none; } .am__ac { gap: 6px; } .am__tt { margin: 0 8px 0 4px; }
.am__f svg { width: 17px; height: 17px; } .am__f { padding: 7px 10px; gap: 10px; font-size: 15px; }

.am__ib.is-spin svg { animation: am-spin .7s linear infinite; } @keyframes am-spin { to { transform: rotate(360deg); } } @media (prefers-reduced-motion: reduce) { .am__ib.is-spin svg { animation: none; } }

.am__ac { margin-left: 14px; } @media (max-width: 860px) { .am__ac { margin-left: 0; } }

.am__body { white-space: pre-wrap; line-height: 1.65; } .am__a2 { display: inline-block; max-width: 100%; padding: 1px 9px; margin: 1px 2px; border-radius: 999px; background: rgba(10, 132, 255, .1); color: #0a64d6; text-decoration: none; font-size: .93em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; vertical-align: bottom; } .am__a2:hover { background: rgba(10, 132, 255, .2); text-decoration: underline; }
.am__hw { margin-top: 18px; padding-top: 16px; border-top: 1px solid #ececf0; } .am__hb { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; padding: 8px 12px; background: #f6f6f9; border-radius: 10px; font-size: 14px; } .am__if { width: 100%; border: 0; min-height: 200px; display: block; background: #fff; }

/* El. paštas: viso ekrano Apple Mail išdėstymas, juosta iki pat viršaus */
.adm-main:has(.am) { padding-top: 14px; } .adm-main:has(.am) .page-h { display: none; }
.am { height: calc(100vh - 28px); min-height: 520px; } .am__bd { flex: 1; min-height: 0; } .am__s, .am__l, .am__r { min-height: 0; } .am__list { max-height: none; height: 100%; } .am__r { max-height: none; height: 100%; overflow: auto; }
.am__tb { display: grid; grid-template-columns: 240px minmax(280px, 380px) minmax(0, 1fr); gap: 0; padding: 0; align-items: center; transition: grid-template-columns .2s; } .am.is-nosb .am__tb { grid-template-columns: 62px minmax(280px, 380px) minmax(0, 1fr); }
.am__t1 { display: flex; align-items: center; padding: 10px 12px; background: #f3f3f6; border-right: 1px solid #dcdce0; align-self: stretch; } .am__t2 { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-right: 1px solid #dcdce0; align-self: stretch; min-width: 0; } .am__t2 .am__tt { flex: 1; margin: 0; min-width: 0; } .am__t3 { display: flex; align-items: center; gap: 6px; padding: 10px 14px; min-width: 0; flex-wrap: nowrap; align-self: stretch; } .am__t3 .am__ac { margin-left: 0; flex-wrap: nowrap; }
@media (max-width: 1100px) { .am__tb { grid-template-columns: 210px minmax(240px, 320px) minmax(0, 1fr); } }
@media (max-width: 860px) { .am { height: auto; } .am__tb { display: flex; flex-wrap: wrap; padding: 8px 10px; } .am__t1, .am__t2, .am__t3 { border: 0; background: transparent; padding: 0; align-self: auto; flex-wrap: wrap; } .am__t3 { flex: 1 1 100%; margin-top: 6px; } .am__bd { min-height: 70vh; } .am__list, .am__r { height: auto; } }
.am__t3 .am__ib { width: 38px; } .am__t3 .am__ac { gap: 4px; } .am__t3 .am__sp { display: none; }
.am__t3 .am__se { flex: 1 1 96px; min-width: 96px; max-width: none; margin-left: 8px; }
@media (max-width: 1500px) { .am__t3 { padding: 10px 10px; } }

.am__upd { padding: 8px 12px; border-top: 1px solid #ececf0; text-align: center; font-size: 12px; color: #9a9aa0; background: #fafafc; min-height: 31px; } .am__upd:empty { display: none; }



.am.is-nosb .am__tb { grid-template-columns: auto minmax(280px, 380px) minmax(0, 1fr); } .am__t1 { flex-wrap: nowrap; white-space: nowrap; gap: 6px; } .am__t1 .am__ib { flex: none; }

/* El. paštas užpildo visą pagrindinį langą (dešinę nuo admin meniu) */
.adm-main:has(.am) { max-width: none !important; padding: 10px !important; } .adm-main:has(.am) .am { height: calc(100vh - 20px); border-radius: 14px; }
@media (max-width: 860px) { .adm-main:has(.am) { padding: 6px !important; } .adm-main:has(.am) .am { height: auto; } }

/* Kurjeriai: tvarkingas išdėstymas */
.kj { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 18px; }
.kj > .ov-card { display: flex; flex-direction: column; gap: 0; padding: 22px 24px 20px; border-radius: 22px; }
.kj-h { margin-bottom: 6px; } .kj-h h3 { font-size: 20px; letter-spacing: -.015em; }
.kj > .ov-card > p.vat { margin: 0 0 14px; font-size: 15px; line-height: 1.5; color: #5d6b64; min-height: 3em; }
.kj-st { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0 0 16px; } .kj-st div { background: #f4f8f5; border: 1px solid #e6eee9; border-radius: 14px; padding: 12px 14px; text-align: left; } .kj-st b { font-size: 24px; letter-spacing: -.02em; line-height: 1.1; } .kj-st span { font-size: 13px; color: #6b7a73; }
.kj-todo { margin: 0 0 16px; padding: 14px 16px; background: #fff8e6; border: 1px solid #f3e2b3; border-radius: 14px; font-size: 14.5px; line-height: 1.5; } .kj-todo b { display: block; margin-bottom: 4px; font-size: 15px; color: #6b4600; } .kj-todo ul { margin: 0; padding-left: 18px; gap: 5px; }
.kj > .ov-card .cl__chk { margin: 2px 0 14px; font-weight: 700; }
.kj > .ov-card .ov-l { display: block; text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 700; color: #3a4a43; margin: 12px 0 6px; line-height: 1.35; }
.kj > .ov-card input:not([type=checkbox]) { width: 100%; border: 1px solid #dde5e0; background: #f8faf8; border-radius: 12px; padding: 11px 14px; font-size: 15.5px; min-height: 0; } .kj > .ov-card input:not([type=checkbox]):focus { outline: none; background: #fff; border-color: var(--a-acc); box-shadow: 0 0 0 4px rgb(var(--a-acc-rgb) / .12); }
.kj-code { background: var(--a-side); color: #cfe6d9; border-radius: 12px; padding: 12px 14px; font: 12.5px/1.65 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre-wrap; }
.kj > .ov-card > button.btn { align-self: flex-start; margin-top: 16px; } .kj > .ov-card > button.btn + .vat { margin-top: 8px; }
.kj-s .ov-l { text-transform: none !important; letter-spacing: 0 !important; font-size: 14px !important; color: #3a4a43 !important; }
.kj-s .ov-g2 { gap: 4px 18px; }
@media (max-width: 1100px) { .kj { grid-template-columns: minmax(0, 1fr); } }

.am__pw { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; } .am__pw select { min-width: 180px; border: 1px solid #dcdce0; border-radius: 9px; padding: 6px 10px; font: inherit; font-size: 15.5px; background: #fff; } .am__lnk { border: 0; background: none; color: var(--ab); font: inherit; font-size: 14.5px; cursor: pointer; padding: 0; } .am__lnk:hover { text-decoration: underline; }
.am__dlg--w { width: min(620px, calc(100vw - 28px)); } .am__pd { padding: 24px; display: grid; gap: 12px; max-height: 80vh; overflow: auto; } .am__pd h2 { margin: 0; font-size: 1.25rem; } .am__pc { display: grid; gap: 8px; padding: 14px; border: 1px solid #e3e3e8; border-radius: 14px; background: #fafafc; } .am__pc input:not([type=checkbox]), .am__pc textarea { border: 1px solid #d5d5da; border-radius: 10px; padding: 9px 12px; font: inherit; font-size: 15.5px; background: #fff; width: 100%; resize: vertical; } .am__prow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; } .am__sp2 { flex: 1; }
.am__pc .cl__chk { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 15px; font-weight: 600; } .am__pc .cl__chk input { width: auto; margin: 0; } .am__pc .btn { padding: 7px 16px; min-height: 0; }
.am__cl .am__pw select { width: auto; min-width: 200px; flex: none; } .am__cl { align-items: start; } .am__cl > span { padding-top: 9px; }

/* Pašto nustatymų langas (Apple Mail Settings) */
.am__set { display: flex; align-items: center; gap: 9px; width: 100%; border: 0; background: transparent; padding: 8px 10px; margin-top: auto; border-radius: 9px; font: inherit; font-size: 14.5px; color: #3a3a3f; cursor: pointer; } .am__set:hover { background: rgba(0, 0, 0, .06); } .am__set span { flex: 1; text-align: left; } .am__set kbd { font: inherit; font-size: 12px; color: #9a9aa0; } .am__set svg { color: #6e6e73; } .am__s .am__add { margin-top: 8px; }
.am__dlg--n { width: min(680px, calc(100vw - 28px)); } .am__nw { display: flex; flex-direction: column; max-height: 82vh; } .am__nt { display: flex; gap: 2px; padding: 12px 14px 8px; background: #f3f3f6; border-bottom: 1px solid #dcdce0; overflow-x: auto; } .am__ntb { display: grid; justify-items: center; gap: 3px; border: 0; background: transparent; padding: 8px 14px; border-radius: 10px; font: inherit; font-size: 13px; color: #6e6e73; cursor: pointer; min-width: 78px; } .am__ntb:hover { background: rgba(0, 0, 0, .05); } .am__ntb.is-on { background: rgba(10, 132, 255, .14); color: var(--ab); }
.am__nb { padding: 22px 26px 26px; overflow: auto; display: grid; gap: 14px; align-content: start; min-height: 320px; } .am__nr { display: grid; grid-template-columns: 170px 1fr; gap: 14px; align-items: start; } .am__nr > label { font-size: 15px; font-weight: 600; color: #3a3a3f; padding-top: 8px; text-align: right; } .am__nr small { display: block; margin-top: 5px; color: #8a8a90; font-size: 13px; line-height: 1.4; } .am__nr select, .am__nr input:not([type=checkbox]) { border: 1px solid #d5d5da; border-radius: 9px; padding: 7px 10px; font: inherit; font-size: 15.5px; background: #fff; min-width: 220px; max-width: 100%; } .am__nr .cl__chk { margin-top: 8px; display: flex; gap: 8px; align-items: center; font-size: 15.5px; } .am__nr .cl__chk input { width: auto; min-width: 0; }
.am__pa { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 12px 14px; border: 1px solid #e3e3e8; border-radius: 12px; background: #fafafc; } .am__pa .vat { grid-column: 1; } .am__pa .btn { grid-column: 2; grid-row: 1 / 3; align-self: center; }
.am--fs .am__body { font-size: 15px; } .am--fl .am__body { font-size: 16.5px; }
@media (max-width: 640px) { .am__nr { grid-template-columns: 1fr; } .am__nr > label { text-align: left; padding-top: 0; } }

.kp__n { display: flex; align-items: center; gap: 12px; } .kp__img { width: 40px; height: 40px; object-fit: cover; border-radius: 10px; background: #f1f4f2; flex: none; }

.im-pv { margin-top: 14px; } .im-pv h3 { margin: 0 0 10px; font-size: 17.5px; } .im-pv__bar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 10px; } .im-pv__bar input { flex: 1 1 240px; min-width: 0; border: 1px solid #dde5e0; border-radius: 12px; padding: 9px 13px; background: #f8faf8; } .im-pv__bar select { border: 1px solid #dde5e0; border-radius: 12px; padding: 9px 12px; background: #fff; }
.im-pv__t { overflow: auto; max-height: 520px; border: 1px solid #e3e9e5; border-radius: 14px; } .im-pv__t table { width: 100%; border-collapse: collapse; font-size: 14.5px; } .im-pv__t th { position: sticky; top: 0; background: var(--a-tint2); text-align: left; padding: 9px 12px; font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; color: #5d6b64; white-space: nowrap; } .im-pv__t td { padding: 8px 12px; border-top: 1px solid #eef2ef; vertical-align: top; max-width: 280px; overflow-wrap: anywhere; }

.im-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 10px 0; } .im-pv__bar input[type=search] { width: auto; flex: 1 1 260px; min-height: 0; } .im-pv__bar select { width: auto; min-height: 0; }

.kp__rad { display: grid; gap: 4px; margin: 4px 0 8px; } .kp__rad .cl__chk, .kp__n + .x { margin: 0; } .kp__mat { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } .ov-card .cl__chk { display: flex; align-items: center; gap: 8px; margin: 8px 0; font-weight: 600; } .ov-card .cl__chk input { width: auto; }
.ov-card .cl__chk { justify-content: flex-start; text-align: left; width: auto; } .ov-card .kp__rad .cl__chk { display: flex; flex-direction: row; align-items: center; justify-content: flex-start; width: 100%; margin: 3px 0; } .ov-card .cl__chk input[type=radio], .ov-card .cl__chk input[type=checkbox] { margin: 0; flex: none; }
.ov-card input[type=radio], .ov-card input[type=checkbox] { width: 16px !important; height: 16px; min-height: 0 !important; padding: 0 !important; flex: none; accent-color: var(--a-acc); }

.adm-main:has([data-im-wrap]) { max-width: none !important; padding-left: clamp(14px, 2vw, 28px) !important; padding-right: clamp(14px, 2vw, 28px) !important; } [data-im-wrap] > .panel, [data-im-wrap] > section { max-width: none !important; width: 100%; }

/* Visi administravimo puslapiai naudoja visą lango plotį */
.adm-main, .adm-main:has(.ah), .adm-main:has(.cl__t), .adm-main:has(.setsec), .adm-main:has(.stg), .adm-main:has(.panel) { max-width: none !important; padding-left: clamp(14px, 2vw, 28px); padding-right: clamp(14px, 2vw, 28px); }
.vh { max-width: none; }
.adm-main .setgrid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr)) !important; } .adm-main .setgrid > .setsec--wide { grid-column: 1 / -1; }

.im-pv__t th.im-our, .im-pv__t td.im-our { background: #eaf5ee; } .im-pv__t th.im-our { color: #1f6a4a; } .im-pv__t .im-our--f { border-left: 2px solid #b9dcc6; }

.ov-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }

.ov-det { margin-top: 12px; border-top: 1px solid #e6ece8; padding-top: 10px; } .ov-det summary { cursor: pointer; font-weight: 700; font-size: 15px; color: var(--a-acc); } .ov-det .cl__dl { margin-top: 10px; max-height: 360px; overflow: auto; } .ov-det .cl__dl dd { overflow-wrap: anywhere; font-size: 14px; }

/* Užsakymo forma (Shopify tipo) */
.sh-top { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 4px 2px 2px; } .sh-top__l { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; } .sh-nr { font-size: 22px; font-weight: 800; letter-spacing: -.02em; margin-right: 4px; }
.sh-badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 11px; border-radius: 999px; font-size: 14px; font-weight: 700; background: #eceeed; color: #4a5a53; } .sh-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .7; } .sh-badge--ok { background: #dff3e4; color: #15622f; } .sh-badge--warn { background: #fff0cf; color: #8a5a00; } .sh-badge--no { background: #fde3df; color: #a02a1a; } .sh-badge--b { background: #e3e8ff; color: #2a3aa8; } .sh-badge--n { background: #eceeed; color: #4a5a53; } .sh-badge--n::before, .sh-badge--b::before { display: none; }
.sh-card { padding: 0 !important; overflow: hidden; } .sh-card > h3 { padding: 18px 22px 8px; margin: 0; } .sh-h { display: flex; align-items: center; gap: 10px; padding: 16px 22px 12px; border-bottom: 1px solid #eef2ef; } .sh-h h3 { margin: 0; font-size: 16.5px; }
.sh-lines { display: grid; } .sh-line { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 14px 22px; border-bottom: 1px solid #f0f4f1; } .sh-line:last-child { border-bottom: 0; } .sh-img { width: 52px; height: 52px; border-radius: 12px; background: var(--a-tint2); border: 1px solid #e6ece8; display: grid; place-items: center; color: #b7c4bc; overflow: hidden; } .sh-img img { width: 100%; height: 100%; object-fit: cover; } .sh-nm b { font-size: 15.5px; } .sh-nm .vat { font-size: 14px; margin-top: 2px; } .sh-p { color: #5d6b64; font-size: 15px; white-space: nowrap; } .sh-t { font-size: 16px; white-space: nowrap; min-width: 84px; text-align: right; }
.sh-sum { display: flex; justify-content: space-between; gap: 14px; padding: 8px 22px; font-size: 15.5px; } .sh-sum--m { color: #6b7a73; font-size: 14.5px; } .sh-sum--t { border-top: 1px solid #e6ece8; margin-top: 4px; padding-top: 12px; padding-bottom: 14px; font-size: 17.5px; } .sh-card .sh-sum:first-of-type { padding-top: 14px; }
.sh-card .ov-tl, .ov-card .sh-cm { } .sh-cm { display: grid; gap: 8px; margin: 4px 0 16px; } .sh-cm textarea { border: 1px solid #dde5e0; border-radius: 12px; padding: 10px 12px; font: inherit; font-size: 15.5px; background: #f8faf8; resize: vertical; width: 100%; } .sh-cm .btn { justify-self: end; }
.sh-cn { font-size: 16.5px; font-weight: 700; margin: 0 22px 2px; } .sh-card > .vat { margin: 0 22px 8px; } .sh-blk { padding: 10px 22px; border-top: 1px solid #eef2ef; } .sh-bh { font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; color: #7a8982; font-weight: 700; margin-bottom: 3px; } .sh-bt { font-size: 15.5px; white-space: pre-line; overflow-wrap: anywhere; } .sh-tags { display: flex; gap: 6px; flex-wrap: wrap; padding: 10px 22px 16px; border-top: 1px solid #eef2ef; }
@media (max-width: 640px) { .sh-line { grid-template-columns: 48px minmax(0, 1fr); } .sh-p, .sh-t { grid-column: 2; text-align: left; } }

/* Kliento forma */
.sh-top--c { align-items: center; } .sh-av { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--a-d1), var(--a-acc)); color: var(--a-lime); font-weight: 800; font-size: 22px; flex: none; } .sh-who { display: grid; gap: 1px; } .sh-who .sh-nr { margin: 0; } .sh-tags--t { padding: 0; border: 0; }
.sh-stats { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); background: #fff; border: 1px solid #e3e9e5; border-radius: 18px; overflow: hidden; box-shadow: 0 1px 2px rgba(20, 33, 28, .04); } .sh-stat { display: grid; gap: 2px; padding: 14px 20px; border-right: 1px solid #eef2ef; } .sh-stat:last-child { border-right: 0; } .sh-stat span { font-size: 13px; color: #6b7a73; font-weight: 600; } .sh-stat b { font-size: 21px; letter-spacing: -.02em; }
.sh-ord { display: grid; grid-template-columns: minmax(90px, auto) 1fr auto auto auto auto; gap: 12px; align-items: center; padding: 12px 22px; border-bottom: 1px solid #f0f4f1; color: inherit; text-decoration: none; } .sh-ord:hover { background: #f7faf8; } .sh-ord:last-child { border-bottom: 0; } .sh-ord .link { font-size: 14px; }
.sh-empty { padding: 14px 22px 18px; margin: 0; } .sh-pad { padding: 4px 22px 18px; display: grid; gap: 8px; } .sh-pad textarea, .sh-pad input { width: 100%; border: 1px solid #dde5e0; border-radius: 12px; padding: 9px 12px; font: inherit; font-size: 15.5px; background: #f8faf8; } .sh-pad .btn { justify-self: start; } .sh-tl { padding: 6px 22px 16px; }
.sh-card .cl__del { color: #b3261e; border-color: #f0c9c4; }
@media (max-width: 720px) { .sh-ord { grid-template-columns: 1fr auto; } }

/* Naujienlaiškių centras */
.nl-ed { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 18px; align-items: start; } .nl-l, .nl-r { display: grid; gap: 14px; min-width: 0; } .nl-r { position: sticky; top: 12px; }
.nl-bl { display: grid; gap: 12px; margin-bottom: 12px; } .nl-b { border: 1px solid #e3e9e5; border-radius: 14px; padding: 12px 14px; background: #fafcfb; display: grid; gap: 8px; } .nl-bh { display: flex; justify-content: space-between; align-items: center; gap: 8px; } .nl-bh b { font-size: 15px; } .nl-ba { display: flex; gap: 4px; } .nl-ba button { width: 30px; height: 28px; border: 1px solid #dde5e0; border-radius: 8px; background: #fff; cursor: pointer; font-size: 14.5px; } .nl-ba button:hover { background: var(--a-tint); }
.nl-b .ov-f { margin: 0; } .nl-b input:not([type=checkbox]), .nl-b textarea, .nl-b select, .nl-ed .ov-card input:not([type=checkbox]):not([type=datetime-local]), .nl-ed .ov-card select { width: 100%; border: 1px solid #dde5e0; border-radius: 10px; padding: 8px 11px; font: inherit; font-size: 15.5px; background: #fff; } .nl-b textarea { resize: vertical; }
.nl-add { display: flex; flex-wrap: wrap; gap: 6px; } .nl-pr { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 2px 12px; } .nl-pr .cl__chk { display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 15px; margin: 3px 0; } .nl-pr input { width: auto !important; }
.nl-gav { margin-top: 8px; padding: 10px 14px; background: #eaf5ee; border-radius: 12px; font-size: 15.5px; } .nl-gav b { font-size: 20px; color: var(--a-acc); }
.nl-pv .sh-h { justify-content: space-between; } .nl-frw { background: #eef1ea; padding: 14px; display: grid; justify-items: center; } .nl-fr { width: 100%; height: 640px; border: 0; background: #eef1ea; border-radius: 10px; } .nl-frw.is-m .nl-fr { width: 390px; max-width: 100%; border: 1px solid #cfd6d1; background: #fff; } .nl-note { padding: 0 20px 14px; margin: 0; }
.nl-act { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; } .nl-or { text-align: center; color: #8a9891; font-size: 13px; margin: 6px 0; } .nl-plan { display: grid; gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px solid #eef2ef; } .nl-plan input { border: 1px solid #dde5e0; border-radius: 10px; padding: 8px 11px; font: inherit; } .nl-msg { margin: 10px 0 0; } .nl-ed .ov-card > .btn { width: 100%; }
.nl-chart { width: 100%; height: auto; max-height: 190px; } .nl-rp { display: grid; gap: 16px; }
@media (max-width: 1100px) { .nl-ed { grid-template-columns: minmax(0, 1fr); } .nl-r { position: static; } }
.at-rec{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:12px;margin-top:12px}
.at-card{border:1px solid var(--line,#dfe6e2);border-radius:14px;padding:14px;display:flex;flex-direction:column;gap:6px;background:#fff}
.at-card .btn{align-self:flex-start;margin-top:auto}
.at-step{border-left:3px solid var(--a-acc)}
.at-row{display:flex;gap:8px}
.at-row input{max-width:110px}
.kq li mark{background:rgba(214,160,0,.28);color:inherit;border-radius:3px;padding:0 1px}
.ov-sg { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 25; background: #fff; border: 1px solid #e3e9e5; border-radius: 14px; box-shadow: 0 18px 40px -18px rgba(16, 33, 26, .35); padding: 6px; display: grid; gap: 2px; }
.ov-sg__h, .ov-sg__f { padding: 6px 10px; font-size: 12.5px; color: var(--a-mute); }
.ov-sg__i { display: flex; align-items: baseline; gap: 10px; text-align: left; width: 100%; border: 0; background: none; padding: 9px 10px; border-radius: 10px; cursor: pointer; font: inherit; color: var(--a-ink); }
.ov-sg__i:hover, .ov-sg__i:focus-visible { background: var(--a-tint); }
.ov-sg__i small { color: var(--a-mute); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.ov-sg mark { background: rgba(214, 160, 0, .28); color: inherit; border-radius: 3px; padding: 0 1px; }
.adm-nb { margin-left: auto; min-width: 20px; padding: 1px 7px; border-radius: 999px; font: 700 12px/18px var(--font-text, system-ui, sans-serif); text-align: center; background: rgba(255, 255, 255, .14); color: #d4ddd8; }
.adm-nb[hidden] { display: none; }
.adm-nb[data-l="1"] { background: #e0a82e; color: #1c1503; }
.adm-nb[data-l="2"] { background: #d4503c; color: #fff; }
.im-pre { background: #0f1a15; color: #cfe3d8; padding: 12px; border-radius: 10px; font: 12px/1.5 ui-monospace, Menlo, monospace; overflow: auto; max-height: 360px; }
/* Apmokėjimo suvestinė: tekstas arčiau skaičių */
.sh-card .sh-sum { max-width: 440px; margin-left: auto; }
.po__blk { border: 1px solid #e0e5e1; border-radius: 14px; padding: 12px 14px; margin: 10px 0; background: #fbfcfb; }
.po__blk-h { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; } .po__blk-h select { margin-left: auto; max-width: 180px; }
.po__blk-a { display: flex; gap: 4px; } .po__blk-a button { width: 30px; height: 30px; border-radius: 8px; border: 1px solid #d9e1dc; background: #fff; cursor: pointer; }
.po__it { border-top: 1px dashed #dbe3de; padding-top: 8px; margin-top: 8px; }
.po__libg { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin: 8px 0 16px; }
.po__libc { text-align: left; display: grid; gap: 4px; padding: 12px 14px; border: 1px solid #d9e1dc; border-radius: 14px; background: #fff; cursor: pointer; font: inherit; color: inherit; position: relative; }
.po__libc:hover { border-color: var(--a-acc); box-shadow: 0 6px 18px -10px rgb(var(--a-acc-rgb) / .4); } .po__libc small { color: var(--a-mute); font-size: 12.5px; }
.po__libc--f { padding: 0; } .po__libc--f > button:first-child { all: unset; display: grid; gap: 4px; padding: 12px 34px 12px 14px; cursor: pointer; } .po__libx { position: absolute; top: 6px; right: 6px; border: 0; background: none; cursor: pointer; color: #8a2a20; }
.ov-range { border: 0; background: none; font: inherit; color: inherit; cursor: pointer; padding: 4px 6px; border-radius: 8px; } .ov-range:hover { background: #eef2ef; }
.ov-range__i { width: 9ch; min-width: 0 !important; padding: 4px 8px !important; border-radius: 8px !important; text-align: center; }
.po__chk-bar { height: 8px; background: #e7ece9; border-radius: 99px; overflow: hidden; margin: 6px 0 12px; } .po__chk-bar i { display: block; height: 100%; background: var(--a-acc); border-radius: 99px; transition: width .3s; }
.po__chk-r { display: flex; gap: 10px; padding: 7px 0; border-top: 1px solid #eef2ef; } .po__chk-r > span { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; flex: none; background: #f0e6c8; color: #7a5a00; font-size: 12px; font-weight: 800; }
.po__chk-r.is-ok > span { background: var(--a-tint); color: var(--a-acc); } .po__chk-r b { display: block; font-size: 14px; } .po__chk-r small { color: var(--a-mute); font-size: 12.5px; }
/* Valdymas: populiariausios prekės – pavadinimas gali laužytis į 2 eilutes, skaičiai nelūžta */
.ah-bar__h { align-items: flex-start; }
.ah-bar__h b { flex: 1 1 auto; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.3; }
.ah-bar__h span { flex: none; white-space: nowrap; text-align: right; color: var(--a-mute); font-size: 14px; }
/* Didelis datos / laiko langas */
input[type="date"], input[type="datetime-local"] { cursor: pointer; }
.adp { position: fixed; z-index: 2000; width: 340px; max-width: calc(100vw - 16px); background: #fff; border: 1px solid #dfe6e2; border-radius: 18px; box-shadow: 0 24px 60px -20px rgba(16, 33, 26, .45); padding: 14px; font-family: var(--font-text, system-ui, sans-serif); color: var(--a-ink, #16211c); }
.adp__h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; } .adp__h b { font-size: 17px; }
.adp__h button { width: 40px; height: 40px; border: 0; border-radius: 12px; background: #eef2ef; font-size: 22px; cursor: pointer; } .adp__h button:hover { background: #e0e8e3; }
.adp__g { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.adp__w { font-size: 12.5px; font-weight: 700; color: var(--a-mute, #5d6b64); padding: 6px 0; }
.adp__d { height: 42px; border: 0; border-radius: 12px; background: none; font: 600 16px/1 inherit; cursor: pointer; color: inherit; } .adp__d:hover { background: #eef2ef; }
.adp__d.is-today { box-shadow: inset 0 0 0 2px #d6a000; } .adp__d.is-sel { background: var(--a-acc, var(--a-acc)); color: #fff; }
.adp__t { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid #edf1ee; } .adp__t span:first-child { font-weight: 700; margin-right: auto; }
.adp__t select { height: 42px; min-width: 74px; border: 1px solid #d9e1dc; border-radius: 12px; padding: 0 10px; font: 600 17px inherit; background: #fff; }
.adp__f { display: flex; gap: 8px; margin-top: 12px; } .adp__f button { flex: 1; height: 42px; border: 1px solid #d9e1dc; border-radius: 12px; background: #fff; font: 700 15px inherit; cursor: pointer; } .adp__f .adp__ok { background: var(--a-acc, var(--a-acc)); color: #fff; border-color: transparent; }
.ov-pager { white-space: nowrap; flex: none; } .ov-range { white-space: nowrap; }
.sh-stats + [data-ov], [data-po-list] > .sh-stats { margin-bottom: 14px; }
.ov-pager .ov-range { width: auto; height: auto; border: 0; background: none; border-radius: 8px; padding: 6px 8px; display: inline-block; font: inherit; color: inherit; }
.ov-pager .ov-range:hover { background: #eef2ef; }
.adm-logo span i { font-style: normal; font-weight: 600; letter-spacing: 0; text-transform: none; opacity: .75; margin-left: 2px; }
.adm-logo { flex-wrap: wrap; row-gap: 2px; } .adm-logo span i { display: none; }
.adm-logo__v { flex: 1 0 100%; font-style: normal; font-size: 11.5px; font-weight: 600; letter-spacing: .02em; color: #8da398; margin-top: 4px; }

/* Pilot MIS: versijos kortelė šoninės juostos apačioje */
.adm-ver { display: flex; align-items: center; gap: 11px; margin-top: 14px; padding: 10px 12px; border-radius: 16px; text-decoration: none; color: inherit; background: linear-gradient(135deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .03)); border: 1px solid rgba(255, 255, 255, .1); transition: border-color .2s, background .2s, transform .2s; }
.adm-ver:hover { border-color: rgb(var(--a-lime-rgb) / .45); background: linear-gradient(135deg, rgb(var(--a-lime-rgb) / .12), rgba(255, 255, 255, .04)); }
.adm-ver__mark { flex: none; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: linear-gradient(135deg, var(--a-lime), var(--a-lime2)); color: var(--a-on-lime); box-shadow: 0 6px 14px -6px rgb(var(--a-lime-rgb) / .55); }
.adm-ver__t { flex: 1; min-width: 0; display: grid; gap: 1px; }
.adm-ver__t b { color: #fff; font-size: 14px; font-weight: 800; letter-spacing: -.005em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adm-ver__t small { color: rgba(207, 224, 216, .62); font-size: 12px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adm-ver__v { color: var(--a-lime); font-weight: 800; }
.adm-ver__c { font: 500 11.5px ui-monospace, SFMono-Regular, Menlo, monospace; color: rgba(207, 224, 216, .45); background: none; padding: 0; }
.adm-ver__go { flex: none; color: rgba(255, 255, 255, .35); transition: transform .2s, color .2s; } .adm-ver:hover .adm-ver__go { color: var(--a-lime); transform: translateX(2px); }

/* Pilot: pagrindinis ženklas viršuje, klientas (parduotuvė) apačioje per visą plotį */
.adm-logo { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 4px 10px 16px; }
.adm-pmark { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: linear-gradient(135deg, var(--a-lime), var(--a-lime2)); color: var(--a-on-lime); box-shadow: 0 8px 18px -8px rgb(var(--a-lime-rgb) / .6); }
.adm-pword { font: 800 24px/1 var(--font-text, "DM Sans", system-ui, sans-serif); letter-spacing: -.02em; color: #fff; }
.adm-badge { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--a-lime); border: 1px solid rgb(var(--a-lime-rgb) / .5); border-radius: 6px; padding: 2px 6px; white-space: nowrap; }
.adm-logo__v { flex: 1 0 100%; font-style: normal; font-size: 11.5px; font-weight: 600; letter-spacing: .02em; color: #8da398; margin-top: 2px; padding-left: 44px; }
.adm-client { display: block; margin-top: 12px; padding: 16px 14px; border-radius: 16px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); text-align: center; transition: background .2s, border-color .2s; }
.adm-client:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); }
.adm-client img { display: block; width: 100%; max-width: 190px; height: auto; margin: 0 auto; }
.adm-client { margin-top: 0; margin-bottom: 10px; padding: 14px 14px; }
.adm-client img { max-width: 170px; }
.adm-side .adm-kbtn { width: 100%; margin: 0 0 12px; padding: 11px 14px; box-sizing: border-box; }
.adm-side .adm-who, .adm-side .adm-client { box-sizing: border-box; width: 100%; }
.adm-pmark { width: 42px; height: 42px; border-radius: 13px; } .adm-pmark svg { width: 24px; height: 24px; }
.adm-pword { font-size: 32px; letter-spacing: -.03em; }
.adm-logo { gap: 12px; } .adm-logo__v { padding-left: 54px; margin-top: 0; }
.adm-role { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--a-lime); white-space: nowrap; line-height: 1.2; }
.adm-id { display: flex; flex-direction: column; gap: 1px; min-width: 0; flex: 1; }
.adm-side .adm-who { padding: 6px 10px 6px 6px; gap: 10px; } .adm-side .adm-who .adm-av { width: 34px; height: 34px; flex: none; } .adm-side .adm-who .adm-mail { font-size: 14px; line-height: 1.2; }
.adm-side .adm-who .adm-mail { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stg__logobox { display: grid; place-items: center; padding: 18px; margin: 6px 0 10px; border-radius: 14px; background: var(--a-side); min-height: 80px; } .stg__logobox img { max-width: 220px; max-height: 60px; width: auto; height: auto; }
.stg__logobtns { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; } .stg__logo input[readonly] { color: var(--a-mute); font-size: 13px; }
.adm-plogo { display: block; height: 45px; width: auto; max-width: 100%; }
.adm-logo { padding-bottom: 14px; } .adm-logo__v { padding-left: 4px; margin-top: 2px; }
.adm-side .adm-kbtn { margin-bottom: 20px; }
.adm-box--main { margin-bottom: 4px; }
.adm-logo__v { text-align: center; padding-left: 0; }
.adm-logo { justify-content: center; } .adm-plogo { margin: 0 auto; }
.as-msgs { display: grid; gap: 10px; padding: 18px; } .as-m { max-width: 78%; padding: 12px 14px; border-radius: 16px; background: #eef2ef; } .as-m p { margin: 4px 0 0; white-space: pre-wrap; line-height: 1.5; } .as-m small { color: var(--a-mute); font-size: 12px; }
.as-m--u { justify-self: start; border-bottom-left-radius: 5px; } .as-m--a { justify-self: end; background: var(--a-tint); border-bottom-right-radius: 5px; }
/* ===== Pilot automatizacija (Valdymas) ===== */
.ah-auto { margin: 0 0 18px; border-radius: 22px; overflow: hidden; background: #fff; border: 1px solid #e3e9e5; box-shadow: 0 1px 2px rgba(20, 33, 28, .04), 0 18px 40px -22px rgba(10, 60, 45, .35); }
.ah-auto__h { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 18px 22px; color: #fff; background: radial-gradient(120% 160% at 0% 0%, var(--a-d3) 0%, var(--a-d2) 55%, var(--a-d1) 100%); position: relative; }
.ah-auto__h::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(var(--a-lime-rgb) / .10), transparent 40%); pointer-events: none; }
.ah-auto__t { display: flex; align-items: center; gap: 14px; position: relative; z-index: 1; } .ah-auto__t h2 { margin: 0; font-size: 19px; font-weight: 800; letter-spacing: -.01em; color: #fff; } .ah-auto__t p { margin: 2px 0 0; font-size: 13.5px; color: rgba(214, 235, 224, .78); }
.ah-auto__mark { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; color: var(--a-on-lime); background: linear-gradient(135deg, var(--a-lime), var(--a-lime2)); box-shadow: 0 10px 22px -8px rgb(var(--a-lime-rgb) / .55); }
.ah-auto__s { display: flex; align-items: center; gap: 10px; position: relative; z-index: 1; }
.ah-auto__chip { padding: 7px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 800; background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .18); } .ah-auto__chip.is-red { background: #d4503c; border-color: transparent; } .ah-auto__chip.is-amber { background: #e0a82e; color: #1c1503; border-color: transparent; } .ah-auto__chip.is-ok { background: var(--a-lime); color: var(--a-on-lime); border-color: transparent; }
.ah-auto__r { width: 36px; height: 36px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; display: grid; place-items: center; } .ah-auto__r:hover { background: rgba(255, 255, 255, .16); } .ah-auto__r.is-spin svg { animation: ahSpin .8s linear infinite; } @keyframes ahSpin { to { transform: rotate(360deg); } }
.ah-auto__b { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 12px; padding: 18px 22px 8px; }
.ah-task { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 16px; text-decoration: none; color: inherit; background: #f7faf8; border: 1px solid #e6ece8; border-left: 4px solid #c9d4ce; transition: transform .15s, box-shadow .15s, background .15s; }
.ah-task:hover { background: #fff; transform: translateY(-1px); box-shadow: 0 14px 26px -18px rgba(16, 33, 26, .5); }
.ah-task--red { border-left-color: #d4503c; background: #fff7f5; } .ah-task--amber { border-left-color: #e0a82e; background: #fffaf0; } .ah-task--blue { border-left-color: #5a6be8; } .ah-task--green { border-left-color: #2f9e6a; background: #f3fbf6; }
.ah-task__t { display: grid; gap: 3px; min-width: 0; } .ah-task__t small { font-size: 11px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--a-mute); }
.ah-task--red .ah-task__t small { color: #b3261e; } .ah-task--amber .ah-task__t small { color: #8a6000; } .ah-task--blue .ah-task__t small { color: #3340b8; } .ah-task--green .ah-task__t small { color: #1c7a4d; }
.ah-task__t b { font-size: 16px; color: #0e1f19; line-height: 1.25; } .ah-task__k { font-size: 14px; color: #4a5a53; line-height: 1.4; } .ah-task__s { font-size: 12.5px; color: var(--a-mute); }
.ah-task__b { align-self: center; white-space: nowrap; font-size: 13.5px; font-weight: 800; color: var(--a-acc); padding: 8px 12px; border-radius: 999px; background: rgb(var(--a-acc-rgb) / .08); } .ah-task:hover .ah-task__b { background: var(--a-acc); color: #fff; }
.ah-auto__ok { grid-column: 1 / -1; display: grid; justify-items: center; gap: 6px; text-align: center; padding: 26px 16px 22px; } .ah-auto__ok svg { width: 34px; height: 34px; color: #2f9e6a; } .ah-auto__ok b { font-size: 18px; } .ah-auto__ok span { color: var(--a-mute); max-width: 52ch; }
.ah-auto__f { margin: 0; padding: 4px 22px 16px; font-size: 12.5px; color: var(--a-mute); }
@media (max-width: 640px) { .ah-auto__b { grid-template-columns: 1fr; padding: 14px 14px 6px; } .ah-task { grid-template-columns: auto 1fr; } .ah-task__b { grid-column: 1 / -1; justify-self: start; } }
/* Susirašinėjimai su klientais */
.ah-chat { margin-bottom: 18px; } [data-ah-chat] { display: grid; gap: 4px; }
.ah-chat__i { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 11px 10px; margin: 0 -10px; border-radius: 14px; text-decoration: none; color: inherit; } .ah-chat__i:hover { background: var(--a-tint2); }
.ah-chat__i b { display: block; font-size: 15px; color: #0e1f19; } .ah-chat__i .ah-mut { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 62ch; }
.ah-chat__i.is-new b { font-weight: 800; } .ah-chat__m { display: grid; justify-items: end; gap: 4px; } .ah-chat__m small { color: var(--a-mute); font-size: 12.5px; }
.ah-chat__n, .ah-chat__k { font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; } .ah-chat__n { background: #fff3d6; color: #8a6000; } .ah-chat__k { background: var(--a-tint); color: var(--a-acc); }
.ah-grid > .ah-chart { grid-column: 1 / -1; grid-row: auto; } .ah-grid > .ah-orders { grid-column: 1; grid-row: auto; } .ah-grid > .ah-top { grid-column: 2; grid-row: auto; }
.ah-auto__b { grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); align-items: stretch; }
.ah-task { grid-template-columns: auto 1fr; align-items: start; gap: 6px 14px; padding: 16px 18px; }
.ah-task .ah-ic { grid-row: 1 / 3; margin-top: 2px; } .ah-task__t { grid-column: 2; } .ah-task__b { grid-column: 2; justify-self: start; margin-top: 4px; align-self: end; }
@media (max-width: 640px) { .ah-auto__b { grid-template-columns: 1fr; } }
.ah-chart.ah-card { padding: 16px 20px 12px; } .ah-chart .ah-svg { max-height: 220px; }
/* kompaktiškesnė Automatizacija */
.ah-auto__h { padding: 12px 20px; } .ah-auto__mark { width: 38px; height: 38px; border-radius: 12px; } .ah-auto__t h2 { font-size: 17px; } .ah-auto__t p { font-size: 13px; }
.ah-auto__b { grid-template-columns: repeat(auto-fill, minmax(500px, 1fr)); gap: 8px; padding: 12px 16px 4px; }
.ah-task { grid-template-columns: auto 1fr auto; align-items: center; gap: 4px 12px; padding: 10px 14px; border-radius: 14px; }
.ah-task .ah-ic { grid-row: auto; margin: 0; width: 34px; height: 34px; border-radius: 11px; }
.ah-task__t { grid-column: auto; gap: 1px; } .ah-task__t small { font-size: 10.5px; } .ah-task__t b { font-size: 15px; } .ah-task__k { font-size: 13px; line-height: 1.35; }
.ah-task__b { grid-column: auto; justify-self: end; align-self: center; margin: 0; padding: 7px 12px; font-size: 13px; }
.ah-auto__ok { padding: 16px 12px 12px; } .ah-auto__f { padding: 2px 20px 10px; }
@media (max-width: 760px) { .ah-auto__b { grid-template-columns: 1fr; } .ah-task { grid-template-columns: auto 1fr; } .ah-task__b { grid-column: 1 / -1; justify-self: start; } }
.ah-chat__who { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-bottom: 2px; } .ah-chat__nm { font-weight: 800; font-size: 13px; color: var(--a-acc); } .ah-chat__d { font-size: 12px; color: var(--a-mute); background: #f0f4f1; border-radius: 6px; padding: 1px 7px; }
.as-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px 18px; padding: 16px 18px; margin: 10px 0; } .as-info small { display: block; color: var(--a-mute); font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; } .as-info b { font-size: 14.5px; }

/* ===== Pilot temos (Themes): pavadinimai susieti su spalvomis; keičiama Nustatymai → Temos ===== */
html[data-pt="rubinas"] body.adm { --a-side: #26090d; --a-acc: #9b111e; --a-acc-rgb: 155 17 30; --a-lime: #ff8f9b; --a-lime-rgb: 255 143 155; --a-lime2: #e0475a; --a-d1: #1a0508; --a-d2: #3a0d14; --a-d3: #7a0f1a; --a-on-lime: #3a0610; --a-tint: #fbeff0; --a-tint2: #fcf4f5; }
html[data-pt="safyras"] body.adm { --a-side: #0b1a33; --a-acc: #0f52ba; --a-acc-rgb: 15 82 186; --a-lime: #8ab6ff; --a-lime-rgb: 138 182 255; --a-lime2: #5b9bff; --a-d1: #08142a; --a-d2: #0d2e66; --a-d3: #1a63cf; --a-on-lime: #04142e; --a-tint: #edf3fc; --a-tint2: #f3f7fd; }
html[data-pt="opalas"] body.adm { --a-side: #1b2a27; --a-acc: #4b7d71; --a-acc-rgb: 75 125 113; --a-lime: #a8c3bc; --a-lime-rgb: 168 195 188; --a-lime2: #8fb0a7; --a-d1: #111c1a; --a-d2: #22373a; --a-d3: #4b7d71; --a-on-lime: #12211e; --a-tint: #eef4f2; --a-tint2: #f4f8f7; }
html[data-pt="platina"] body.adm { --a-side: #1c1f23; --a-acc: #4a5560; --a-acc-rgb: 74 85 96; --a-lime: #c9d1d9; --a-lime-rgb: 201 209 217; --a-lime2: #aeb8c2; --a-d1: #121417; --a-d2: #272c32; --a-d3: #4a5560; --a-on-lime: #1c1f23; --a-tint: #eff1f3; --a-tint2: #f5f6f8; }
/* Temų pasirinkimas Nustatymuose */
.pt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; margin-top: 14px; }
.pt-card { position: relative; text-align: left; border: 2px solid #e0e5e1; border-radius: 18px; background: #fff; padding: 12px; cursor: pointer; font: inherit; color: inherit; transition: transform .15s, border-color .15s, box-shadow .15s; }
.pt-card:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -20px rgba(16, 33, 26, .5); } .pt-card.is-on { border-color: var(--a-acc); box-shadow: 0 0 0 4px rgb(var(--a-acc-rgb) / .12); }
.pt-prev { display: grid; grid-template-columns: 34% 1fr; height: 96px; border-radius: 12px; overflow: hidden; background: #f2f4f2; border: 1px solid #e0e5e1; } .pt-prev i { display: block; } .pt-prev__s { background: var(--ps); padding: 10px 8px; display: grid; gap: 5px; align-content: start; } .pt-prev__s b { display: block; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .28); } .pt-prev__s b:first-child { background: var(--ph); width: 70%; }
.pt-prev__m { padding: 10px; display: grid; gap: 6px; align-content: start; } .pt-prev__m b { display: block; height: 22px; border-radius: 7px; background: linear-gradient(135deg, var(--pa), var(--ps)); } .pt-prev__m span { display: flex; gap: 6px; } .pt-prev__m span i { flex: 1; height: 16px; border-radius: 5px; background: #fff; border: 1px solid #e0e5e1; } .pt-prev__m u { display: block; height: 8px; width: 40%; border-radius: 4px; background: var(--ph); }
.pt-card h4 { margin: 10px 0 2px; font-size: 16px; display: flex; align-items: center; gap: 8px; } .pt-card p { margin: 0; color: var(--a-mute); font-size: 13px; } .pt-sw { display: inline-flex; gap: 3px; } .pt-sw i { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .1); }
.pt-card__ok { position: absolute; top: 10px; right: 10px; width: 24px; height: 24px; border-radius: 50%; background: var(--a-acc); color: #fff; display: none; place-items: center; font-size: 14px; font-weight: 800; } .pt-card.is-on .pt-card__ok { display: grid; }

/* Darbo laikas pagal savaitės dienas */
.stg__hours { border: 0; margin: 0; padding: 0; min-width: 0; }
.stg__hours legend { font-weight: 700; padding: 0; margin-bottom: 8px; }
.stg__day { display: grid; grid-template-columns: 170px auto 1fr; align-items: center; gap: 10px 16px; padding: 9px 0; border-top: 1px solid var(--a-line); }
.stg__dayon { display: flex; align-items: center; gap: 10px; font-weight: 600; cursor: pointer; }
.stg__dayon input { width: 18px; height: 18px; accent-color: var(--a-acc); }
.stg__dayt { display: inline-flex; align-items: center; gap: 8px; }
.stg__dayt input[type="time"] { width: 112px; padding: 8px 10px; }
.stg__dayt i { font-style: normal; color: var(--a-mute); }
.stg__dayb em { font-style: normal; color: var(--a-mute); font-size: 13px; margin-right: 2px; }
.stg__dayc { display: none; color: var(--a-mute); }
.stg__day:has(.stg__dayon input:not(:checked)) .stg__dayt { display: none; }
.stg__day:has(.stg__dayon input:not(:checked)) .stg__dayc { display: inline; grid-column: 2 / -1; }
@media (max-width: 720px) { .stg__day { grid-template-columns: 1fr; } .stg__day:has(.stg__dayon input:not(:checked)) .stg__dayc { grid-column: auto; } }

/* Papildomi kontaktai */
.stg__kont { margin-top: 14px; }
.stg__kont-h { display: flex; flex-direction: column; gap: 2px; margin-bottom: 8px; } .stg__kont-h small { color: var(--a-mute); }
.stg__kr { display: grid; grid-template-columns: 92px minmax(0, 1fr) minmax(0, 1.2fr) 36px; gap: 10px; align-items: center; margin-bottom: 8px; }
.stg__kt { font-size: 13px; color: var(--a-mute); }
.stg__kd { width: 36px; height: 36px; border: 1px solid var(--a-line); border-radius: 10px; background: var(--a-card); color: var(--a-mute); font-size: 20px; line-height: 1; cursor: pointer; }
.stg__kd:hover { color: #b3261e; border-color: #b3261e; }
.stg__kont-add { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
@media (max-width: 720px) { .stg__kr { grid-template-columns: 1fr 36px; } .stg__kt { grid-column: 1 / -1; } }
.stg__hours { margin-top: 20px; }
.stg__day { grid-template-columns: 160px auto minmax(0, 1fr); }
.stg__dayon { border: 0; background: none; padding: 0; box-shadow: none; }
.stg__dayt input[type="time"] { width: 100px; padding: 7px 8px; }
.stg__dayb { flex-wrap: wrap; }
@media (max-width: 1100px) { .stg__dayb { grid-column: 2 / -1; } }
.stg__kont-add { margin-bottom: 4px; }
.stg__hours .stg__day .stg__dayt input[type="time"] { width: 104px; flex: 0 0 auto; }
.stg__hours .stg__day .stg__dayt { flex-wrap: nowrap; }
.stg__hours .stg__day .stg__dayon { width: auto; }
.stg__hours .stg__day .stg__dayon input[type="checkbox"] { width: 18px; flex: 0 0 auto; }
@media (max-width: 1100px) { .stg__hours .stg__day .stg__dayt { flex-wrap: wrap; } }
.stg__hours .stg__day { grid-template-columns: 160px auto; }
.stg__hours .stg__day .stg__dayb { grid-column: 2; padding-left: 0; }
.stg__hours .stg__day .stg__dayon { grid-row: 1 / span 2; align-self: start; margin-top: 4px; }
.stg__hours .stg__day .stg__dayt:not(.stg__dayb) { grid-column: 2; }
.stg__hours .stg__day .stg__dayb em { width: 44px; }
.stg__hours .stg__day:has(.stg__dayon input:not(:checked)) .stg__dayc { grid-column: 2; grid-row: 1; }
.stg__hours .stg__day:has(.stg__dayon input:not(:checked)) .stg__dayon { grid-row: 1; margin-top: 0; }
@media (max-width: 720px) { .stg__hours .stg__day { grid-template-columns: 1fr; } .stg__hours .stg__day .stg__dayt, .stg__hours .stg__day .stg__dayb, .stg__hours .stg__day:has(.stg__dayon input:not(:checked)) .stg__dayc { grid-column: 1; grid-row: auto; } .stg__hours .stg__day .stg__dayon { grid-row: auto; } }
.stg__hours .stg__day .stg__dayt input.stg__time { width: 84px; text-align: center; font-variant-numeric: tabular-nums; }

/* Laiškų sąrašas: daugkartinis pažymėjimas */
.am__i.is-sel { background: var(--ab); } .am__i.is-sel .am__a b, .am__i.is-sel .am__s2, .am__i.is-sel .am__a time { color: #fff; }
.am__i:focus-visible { outline: 2px solid var(--ab); outline-offset: -2px; }
.am__bulk { display: flex; gap: 10px; margin-top: 14px; justify-content: center; }

/* ===== Pilot MIS vartotojo vadovas (/admin/vadovas/) ===== */
.vd { max-width: 1280px; }
.vd-hero { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: flex-end; justify-content: space-between; padding: 6px 0 22px; }
.vd-hero h1 { margin: 4px 0 8px; font-size: clamp(28px, 4vw, 40px); letter-spacing: -.02em; }
.vd-hero p { margin: 0; max-width: 640px; color: var(--a-mute); }
.vd-hs { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; flex: 1 1 340px; max-width: 520px; }
.vd-hs input { flex: 1 1 260px; min-width: 0; padding: 12px 16px; border: 1px solid var(--a-line); border-radius: 12px; background: var(--a-card); font: inherit; }
.vd-grid { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 32px; align-items: start; }
.vd-toc { position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow: auto; padding: 14px; border: 1px solid var(--a-line); border-radius: 16px; background: var(--a-card); }
.vd-tg { display: flex; flex-direction: column; gap: 1px; margin-bottom: 12px; } .vd-tg:last-child { margin-bottom: 0; }
.vd-tg b { font: 700 11px/1 var(--font-mono, ui-monospace, monospace); letter-spacing: .1em; text-transform: uppercase; color: var(--a-mute); padding: 6px 10px; }
.vd-tg a { padding: 6px 10px; border-radius: 8px; color: var(--a-ink); text-decoration: none; font-size: 14.5px; }
.vd-tg a:hover { background: var(--a-tint); } .vd-tg a.is-on { background: var(--a-tint); color: var(--a-acc); font-weight: 700; }
.vd-main { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.vd-s { background: var(--a-card); border: 1px solid var(--a-line); border-radius: 20px; padding: clamp(18px, 3vw, 30px); scroll-margin-top: 16px; }
.vd-s[hidden], .vd-q[hidden] { display: none; }
.vd-sh { display: flex; flex-direction: column; gap: 4px; margin-bottom: 8px; }
.vd-gr { font: 700 11px/1 var(--font-mono, ui-monospace, monospace); letter-spacing: .12em; text-transform: uppercase; color: var(--a-acc); }
.vd-s h2 { margin: 0; font-size: clamp(22px, 2.6vw, 28px); letter-spacing: -.015em; }
.vd-s h3 { margin: 22px 0 8px; font-size: 16px; }
.vd-lead { margin: 6px 0 16px; font-size: 16.5px; line-height: 1.6; color: var(--a-ink); max-width: 760px; }
.vd-fig { margin: 0 0 8px; } .vd-fig img { display: block; width: 100%; height: auto; border: 1px solid var(--a-line); border-radius: 14px; box-shadow: 0 10px 34px rgba(11, 31, 24, .1); background: var(--a-tint2); }
.vd-fig figcaption { margin-top: 8px; font-size: 13px; color: var(--a-mute); }
.vd-ol { margin: 0; padding-left: 22px; display: grid; gap: 8px; line-height: 1.6; max-width: 800px; } .vd-ol li::marker { color: var(--a-acc); font-weight: 700; }
.vd-tip { margin-top: 18px; padding: 14px 18px; border-radius: 14px; background: var(--a-tint); border: 1px solid var(--a-line); max-width: 800px; }
.vd-tip b { display: block; margin-bottom: 6px; color: var(--a-acc); } .vd-tip ul { margin: 0; padding-left: 20px; display: grid; gap: 5px; line-height: 1.55; }
.vd-nust { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; margin: 18px 0 4px; }
.vd-nc { display: flex; flex-direction: column; border: 1px solid var(--a-line); border-radius: 14px; overflow: hidden; background: var(--a-card); }
.vd-nc img { width: 100%; height: auto; aspect-ratio: 1112 / 820; object-fit: cover; object-position: top; border-bottom: 1px solid var(--a-line); background: var(--a-tint2); }
.vd-nc div { padding: 12px 16px 16px; } .vd-nc h4 { margin: 0 0 4px; font-size: 16px; } .vd-nc p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--a-mute); }
.vd-chips { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.vd-chips li { padding: 6px 12px; border-radius: 999px; background: var(--a-tint); border: 1px solid var(--a-line); font-size: 14px; }
.vd-keys { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 10px 22px; margin-top: 10px; }
.vd-keys div { display: flex; gap: 12px; align-items: center; } .vd-keys kbd { flex: 0 0 auto; min-width: 150px; padding: 5px 10px; border: 1px solid var(--a-line); border-bottom-width: 2px; border-radius: 8px; background: var(--a-tint2); font: 600 13px ui-monospace, monospace; }
.vd-duk { display: grid; gap: 8px; margin-top: 10px; }
.vd-q { border: 1px solid var(--a-line); border-radius: 12px; background: var(--a-card); }
.vd-q summary { cursor: pointer; padding: 13px 16px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.vd-q summary::after { content: '+'; color: var(--a-acc); font-size: 20px; line-height: 1; } .vd-q[open] summary::after { content: '–'; }
.vd-q p { margin: 0; padding: 0 16px 15px; line-height: 1.65; color: var(--a-ink); max-width: 760px; }
.vd-none { text-align: center; color: var(--a-mute); padding: 30px 0; }
@media (max-width: 980px) { .vd-grid { grid-template-columns: 1fr; } .vd-toc { position: static; max-height: none; display: flex; flex-wrap: wrap; gap: 4px 18px; } .vd-tg { margin: 0 0 6px; } }

/* Vartotojai ir rolės */
.vt__card { margin-bottom: 20px; } .vt__card h2 { margin: 0 0 6px; }
.vt__tw { overflow-x: auto; margin: 14px 0; border: 1px solid var(--a-line); border-radius: 14px; }
.vt__t { width: 100%; border-collapse: collapse; min-width: 640px; } .vt__t th { text-align: left; font: 700 11px/1 var(--font-mono, ui-monospace, monospace); letter-spacing: .08em; text-transform: uppercase; color: var(--a-mute); padding: 12px 14px; background: var(--a-tint2); }
.vt__t td { padding: 12px 14px; border-top: 1px solid var(--a-line); vertical-align: middle; } .vt__t tr.is-off td { opacity: .55; }
.vt__t select { padding: 8px 10px; border: 1px solid var(--a-line); border-radius: 10px; background: #fff; font: inherit; }
.vt__t--m td:first-child { width: 55%; font-weight: 600; } .vt__t--m { min-width: 0; }
.vt__chip { display: inline-block; margin: 4px 6px 0 0; padding: 2px 9px; border-radius: 999px; background: var(--a-tint); color: var(--a-acc); font-size: 12px; font-weight: 700; } .vt__chip--w { background: #fff3d6; color: #8a5a00; }
.vt__sw { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; } .vt__sw input { width: 18px; height: 18px; accent-color: var(--a-acc); }
.vt__add { display: grid; grid-template-columns: auto 1fr auto auto; gap: 10px 12px; align-items: center; padding: 16px; border: 1px dashed var(--a-line); border-radius: 14px; background: var(--a-tint2); }
.vt__add input, .vt__add select, .vt__meta input { padding: 10px 12px; border: 1px solid var(--a-line); border-radius: 10px; font: inherit; background: #fff; min-width: 0; } .vt__add .vat { grid-column: 1 / -1; }
.vt__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; } .vt__tab { padding: 9px 14px; border: 1px solid var(--a-line); border-radius: 999px; background: #fff; font: 600 14px inherit; cursor: pointer; } .vt__tab.is-on { background: var(--a-acc); border-color: var(--a-acc); color: #fff; } .vt__tab--new { border-style: dashed; color: var(--a-acc); }
.vt__meta { display: grid; grid-template-columns: 1fr 2fr; gap: 10px; margin-bottom: 4px; } .vt__act { display: flex; gap: 10px; margin-top: 4px; } .vt__err { color: #b3261e; font-weight: 600; }
@media (max-width: 720px) { .vt__add { grid-template-columns: 1fr; } .vt__meta { grid-template-columns: 1fr; } }

.am__chip--link { text-decoration: none; color: inherit; cursor: pointer; transition: border-color .15s, background .15s; } .am__chip--link:hover { border-color: var(--a-acc); background: rgba(var(--a-acc-rgb) / .06); }

/* vadovo peržiūros versija (be prisijungimo ir šoninio meniu) */
body.adm-pub { display: block; }
.adm-pubh { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px clamp(16px, 3vw, 40px); background: var(--a-side, #14211c); color: #e8f1ec; }
.adm-pubh__l { display: inline-flex; } .adm-pubh__l svg { height: 38px; width: auto; }
.adm-pubh__t { font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: #a9c0b5; }
.adm-pubm { margin: 0 auto; max-width: 1280px; }
