/* NEMOFLOW – wspólny arkusz: strona rezerwacji (kolor serwisu: --brand), panel serwisu i Centrala */
@font-face { font-family: 'Manrope'; src: url('../fonts/manrope-latin-ext.woff2') format('woff2'); font-weight: 200 800; font-display: swap; unicode-range: U+0100-024F, U+1E00-1EFF; }
@font-face { font-family: 'Manrope'; src: url('../fonts/manrope-latin.woff2') format('woff2'); font-weight: 200 800; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }
@font-face { font-family: 'Archivo'; src: url('../fonts/archivo-latin-ext.woff2') format('woff2'); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; unicode-range: U+0100-024F, U+1E00-1EFF; }
@font-face { font-family: 'Archivo'; src: url('../fonts/archivo-latin.woff2') format('woff2'); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }

:root {
    --brand: #CF4B00;
    --brand-ink: #ffffff;
    --nf: #1A171B;          /* NEMOFLOW – kolory jak nemonet.pl */
    --nf-d: #1A171B;
    --accent: #E95E0F;      /* pomarańcz nemonet */
    --accent-d: #CF4B00;
    --accent-dd: #A63A00;
    --grad: linear-gradient(267deg, #E95E0F 0%, #CF4B00 100%);
    --peach: #FBEDE5;
    --ink: #1A171B;
    --text: #444444;
    --muted: #666666;
    --line: #E8E8E8;
    --line2: #d6d4d6;
    --soft: #F6F6F6;
    --tint: #FBEDE5;
    --ok: #1d7f45; --ok-t: #e6f4ec;
    --warn: #b97800; --warn-t: #fff4d6;
    --err: #b3261e; --err-t: #fbeceb;
    --info: #1c5d99; --info-t: #e8f1fb;
    --r: 8px;
    --f: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --fd: 'Archivo', 'Arial Narrow', system-ui, sans-serif;
    --shadow: 0 1px 2px rgba(26, 23, 27, .05), 0 8px 24px -12px rgba(26, 23, 27, .16);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 500 15px/1.55 var(--f); color: var(--text); background: var(--soft); }
a { color: var(--brand); }
h1, h2, h3 { font-family: var(--fd); font-stretch: 112%; font-weight: 700; color: var(--ink); letter-spacing: -.01em; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(26px, 3.4vw, 38px); }
h2 { font-size: 21px; }
h3 { font-size: 17px; }
p { margin: 0 0 .8em; }
small, .muted { color: var(--muted); }
img { max-width: 100%; }
.icon { width: 18px; height: 18px; flex: none; vertical-align: -3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.nowrap { white-space: nowrap; }
.right { text-align: right; }

/* ---------- przyciski i pola ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 18px; border: 1.5px solid transparent; border-radius: var(--r); font: 700 14.5px/1 var(--f); text-decoration: none; cursor: pointer; background: var(--brand); color: var(--brand-ink); transition: filter .15s, background .15s; white-space: nowrap; }
.btn:hover { filter: brightness(1.08); }
.btn:disabled { opacity: .45; cursor: not-allowed; filter: none; }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line2); }
.btn--ghost:hover { background: var(--soft); filter: none; }
.btn--ok { background: var(--ok); color: #fff; }
.btn--danger { background: #fff; color: var(--err); border-color: #e6b5b1; }
.btn--danger:hover { background: var(--err-t); filter: none; }
.btn--sm { min-height: 32px; padding: 0 11px; font-size: 13px; }
.btn--lg { min-height: 52px; padding: 0 26px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--accent { background: var(--grad); color: #fff; box-shadow: 0 8px 20px rgba(233, 94, 15, .3); }
.panel .btn:not(.btn--ghost):not(.btn--danger):not(.btn--ok):not(.btn--accent) { background: var(--grad); color: #fff; }

.input, select.input, textarea.input { width: 100%; min-height: 42px; padding: 9px 12px; border: 1.5px solid var(--line2); border-radius: var(--r); font: 500 15px/1.4 var(--f); color: var(--ink); background: #fff; }
textarea.input { min-height: 80px; resize: vertical; }
.input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(233, 94, 15, .22); }
input[type=color].input { padding: 4px; height: 42px; }
.field { display: grid; gap: 5px; margin-bottom: 14px; }
.field > label, .label { font-size: 13px; font-weight: 700; color: var(--ink); }
.field .help { font-size: 12.5px; color: var(--muted); }
.field .err { font-size: 13px; color: var(--err); font-weight: 700; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand); flex: none; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 18px; }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 18px; }
@media (max-width: 760px) { .grid2, .grid3, .grid4 { grid-template-columns: 1fr; } }

/* ---------- karty, tabele, znaczniki ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 22px; box-shadow: var(--shadow); margin-bottom: 18px; }
.card--flat { box-shadow: none; }
.card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.card__head h2, .card__head h3 { margin: 0; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 800; padding: 8px 10px; border-bottom: 1.5px solid var(--line2); }
.table td { padding: 11px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table tr:hover td { background: #fdf8f5; }
.table a { font-weight: 700; text-decoration: none; }
.table-wrap { overflow-x: auto; }
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 99px; font-size: 12px; font-weight: 800; background: var(--tint); color: var(--nf); white-space: nowrap; }
.chip--ok { background: var(--ok-t); color: var(--ok); }
.chip--warn { background: var(--warn-t); color: #7a5000; }
.chip--err { background: var(--err-t); color: var(--err); }
.chip--info { background: var(--info-t); color: var(--info); }
.chip--line { background: #fff; border: 1px solid var(--line2); color: var(--muted); }
.chip--hot { background: #ffe1d6; color: #a2340b; }
.chip--dark { background: var(--nf); color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
/* wolne godziny w formularzu wizyty (panel) */
.hours-pick .chips { margin: 4px 0 2px; }
.hours-pick .hour { min-width: 62px; padding: 7px 10px; border: 1.5px solid var(--line2); border-radius: var(--r); background: #fff; color: var(--ink); font: 700 14px/1 var(--f); cursor: pointer; }
.hours-pick .hour:hover, .hours-pick .hour:focus-visible { border-color: var(--brand); color: var(--brand); }
.hours-pick .hour.is-on { border-color: var(--brand); background: var(--brand); color: var(--brand-ink); }
.alert { padding: 13px 16px; border-radius: var(--r); margin-bottom: 14px; font-weight: 600; border-left: 5px solid; }
.alert--success { background: var(--ok-t); border-color: var(--ok); color: #14532d; }
.alert--error { background: var(--err-t); border-color: var(--err); color: #7f1d1d; }
.alert--info { background: var(--info-t); border-color: var(--info); color: #173e66; }
.alert--warning { background: var(--warn-t); border-color: var(--warn); color: #5c3d00; }
.empty { padding: 28px; text-align: center; color: var(--muted); border: 1.5px dashed var(--line2); border-radius: 12px; background: #fff; }
.kv { display: grid; gap: 0; margin: 0; }
.kv div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 700; text-align: right; color: var(--ink); }

/* wyróżnione komunikaty */
.callout { display: flex; gap: 14px; align-items: flex-start; padding: 16px 20px; border-radius: 12px; margin-bottom: 18px; line-height: 1.5; }
.callout p { margin: 0; }
.callout p + p { margin-top: 4px; }
.callout .icon { width: 26px; height: 26px; margin-top: 1px; }
.callout__title { font-family: var(--fd); font-stretch: 105%; font-weight: 700; font-size: 18px; line-height: 1.25; }
.callout--walkin { background: var(--ok); color: #fff; }
.callout--walkin a { color: #fff; font-weight: 800; }
.callout--arrive { background: var(--warn-t); border-left: 6px solid #f2b300; color: #3d2e00; }
.callout--brand { background: var(--tint); border-left: 6px solid var(--brand); color: var(--ink); }

/* ---------- strona publiczna (rezerwacja) ---------- */
.pub-head { background: var(--brand); color: var(--brand-ink); }
.pub-head__in { max-width: 1180px; margin: 0 auto; padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.pub-brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.pub-brand__mark { width: 42px; height: 42px; border-radius: 10px; background: rgba(255,255,255,.16); display: grid; place-items: center; font: 800 18px/1 var(--fd); }
.pub-brand__name { font: 700 20px/1.1 var(--fd); font-stretch: 112%; }
.pub-brand__city { font-size: 13px; opacity: .8; }
.pub-head a.tel { color: inherit; font-weight: 800; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.pub-hero { background: #fff; border-bottom: 1px solid var(--line); }
.pub-hero__in { max-width: 1180px; margin: 0 auto; padding: 30px 20px 26px; }
.pub-hero p { color: var(--muted); font-size: 17px; max-width: 720px; }
.pub-main { max-width: 1180px; margin: 0 auto; padding: 26px 20px 60px; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: start; }
.pub-main > .callout { grid-column: 1 / -1; margin-bottom: 0; }
@media (max-width: 980px) { .pub-main { grid-template-columns: minmax(0, 1fr); } }
.step-num { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); font: 800 14px/1 var(--fd); margin-right: 8px; }
.step h2 { display: flex; align-items: center; font-size: 20px; }
.svc-cat { margin-bottom: 16px; }
.svc-cat__name { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 8px; }
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.svc { position: relative; display: block; padding: 13px 14px 13px 44px; border: 1.5px solid var(--line2); border-radius: 10px; background: #fff; cursor: pointer; transition: border-color .15s, background .15s; }
.svc:hover { border-color: var(--brand); }
.svc input { position: absolute; left: 14px; top: 15px; width: 18px; height: 18px; accent-color: var(--brand); }
.svc__name { font-weight: 800; color: var(--ink); display: block; line-height: 1.3; }
.svc__desc { font-size: 13px; color: var(--muted); display: block; margin-top: 3px; }
.svc__meta { display: flex; gap: 10px; font-size: 12.5px; font-weight: 800; color: var(--brand); margin-top: 6px; }
.svc:has(input:checked) { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 7%, #fff); box-shadow: inset 0 0 0 1px var(--brand); }
.svc__pop { color: var(--ok); text-transform: uppercase; font-size: 10.5px; letter-spacing: .05em; align-self: center; }
details.svc-cat > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 0; border-top: 1px solid var(--line); }
details.svc-cat > summary::-webkit-details-marker { display: none; }
details.svc-cat > summary .svc-cat__name { margin: 0; }
details.svc-cat > summary::after { content: '+'; font: 800 20px/1 var(--fd); color: var(--brand); }
details.svc-cat[open] > summary::after { content: '–'; }
details.svc-cat > .svc-grid { padding-bottom: 8px; }
.svc-cat__count { font-size: 12px; color: var(--muted); font-weight: 700; margin-left: auto; }
.days { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; scroll-snap-type: x mandatory; }
.day { flex: 0 0 76px; scroll-snap-align: start; display: grid; justify-items: center; gap: 1px; padding: 9px 4px; border: 1.5px solid var(--line2); border-radius: 10px; background: #fff; cursor: pointer; font: inherit; color: var(--ink); }
.day small { font-size: 11px; font-weight: 800; text-transform: uppercase; color: var(--muted); }
.day b { font: 800 22px/1.1 var(--fd); }
.day em { font-style: normal; font-size: 10.5px; color: var(--muted); min-height: 14px; }
.day:hover:not(:disabled) { border-color: var(--brand); }
.day[aria-pressed=true] { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.day[aria-pressed=true] small, .day[aria-pressed=true] em { color: inherit; opacity: .85; }
.day:disabled { background: var(--soft); color: #aaa6a9; cursor: not-allowed; border-style: dashed; }
.day--full:not(:disabled) { background: repeating-linear-gradient(135deg, #fff, #fff 6px, var(--ok-t) 6px, var(--ok-t) 12px); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.slot { min-height: 44px; border: 1.5px solid var(--line2); border-radius: 8px; background: #fff; font: 800 15px/1 var(--f); color: var(--ink); cursor: pointer; }
.slot:hover { border-color: var(--brand); }
.slot[aria-pressed=true] { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
.slots-msg { padding: 18px; border-radius: 10px; border: 1.5px dashed var(--line2); text-align: center; color: var(--muted); font-weight: 700; }
.slots-msg--walkin { border: 0; background: var(--ok); color: #fff; text-align: left; }
.choice { display: inline-flex; border: 1.5px solid var(--line2); border-radius: 8px; overflow: hidden; }
.choice label { cursor: pointer; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: block; padding: 9px 16px; font-weight: 700; font-size: 14px; }
.choice label + label span { border-left: 1.5px solid var(--line2); }
.choice input:checked + span { background: var(--brand); color: var(--brand-ink); }
.choice input:focus-visible + span { outline: 3px solid rgba(233,94,15,.4); }
.hint { font-size: 13.5px; margin-top: 8px; }
.hint summary { cursor: pointer; color: var(--brand); font-weight: 700; display: inline-flex; gap: 6px; align-items: center; }
.hint div { margin-top: 8px; padding: 12px 14px; background: var(--tint); border-radius: 8px; }
.summary { position: sticky; top: 18px; }
.summary h2 { font-size: 19px; }
.summary__total { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0; font-weight: 800; }
.summary__total b { font: 800 22px/1 var(--fd); color: var(--ink); }
.pub-foot { text-align: center; padding: 26px 20px 34px; font-size: 13px; color: var(--muted); }
.pub-foot a { color: var(--muted); font-weight: 700; }
.embed .pub-head, .embed .pub-hero, .embed .pub-foot { display: none; }
.embed .pub-main { padding-top: 12px; }
.ticket { text-align: center; padding: 30px 22px; }
.ticket__time { font: 800 54px/1 var(--fd); color: var(--brand); margin: 6px 0; }

/* ---------- panel ---------- */
.panel { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100vh; }
.side { background: var(--nf-d); color: #cfcacd; padding: 18px 14px; position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; gap: 4px; }
.side__brand { display: flex; align-items: center; gap: 10px; padding: 4px 8px 16px; color: #fff; text-decoration: none; }
.side__logo { display: block; height: 18px; width: auto; margin-bottom: 8px; }
.brand-logo { display: block; height: 22px; width: auto; }
.side__ws { display: block; font-size: 12px; color: #9a9499; margin-top: 3px; max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side__group { font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: #847e83; padding: 14px 10px 4px; }
.side a.nav { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; color: #ddd8db; text-decoration: none; font-weight: 700; font-size: 14px; }
.side a.nav:hover { background: rgba(255,255,255,.06); color: #fff; }
.side a.nav.is-active { background: rgba(233,94,15,.16); color: #fff; box-shadow: inset 3px 0 0 var(--accent); }
.side a.nav .badge { margin-left: auto; background: var(--accent); color: #fff; font-size: 11px; font-weight: 900; padding: 1px 7px; border-radius: 99px; }
.side__foot { margin-top: auto; padding-top: 16px; font-size: 12.5px; }
.side__foot a { color: #a9a3a8; }
.main { padding: 24px 30px 60px; max-width: 1340px; width: 100%; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.topbar h1 { margin: 0; font-size: 28px; }
.topbar__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.demo-bar { background: linear-gradient(90deg, #1A171B, #2c272d); color: #eeeaec; font-size: 13.5px; padding: 8px 30px; display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.demo-bar a { color: #F7A46F; font-weight: 800; }
.demo-bar--hq { background: var(--accent-dd); }
.mobile-nav { display: none; }
@media (max-width: 960px) {
    .panel { grid-template-columns: 1fr; }
    .side { position: fixed; inset: 0 auto 0 0; width: 270px; z-index: 50; transform: translateX(-100%); transition: transform .2s; }
    .side.is-open { transform: none; box-shadow: 0 0 0 100vmax rgba(0,0,0,.4); }
    .mobile-nav { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; background: var(--nf-d); color: #fff; position: sticky; top: 0; z-index: 40; }
    .mobile-nav button { background: none; border: 0; color: #fff; padding: 6px; }
    .main { padding: 18px 16px 50px; }
    .demo-bar { padding: 8px 16px; }
}
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 18px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; box-shadow: var(--shadow); text-decoration: none; color: inherit; display: block; }
.kpi__label { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.kpi__value { font: 800 30px/1.1 var(--fd); color: var(--ink); margin-top: 6px; }
.kpi__sub { font-size: 12.5px; color: var(--muted); }
.kpi--accent { background: var(--nf); color: #ddd8db; border-color: var(--nf); }
.kpi--accent .kpi__label, .kpi--accent .kpi__sub { color: #a9a3a8; }
.kpi--accent .kpi__value { color: #fff; }
.cols { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 18px; align-items: start; }
@media (max-width: 1100px) { .cols { grid-template-columns: 1fr; } }
.steps-list { list-style: none; margin: 0; padding: 0; }
.steps-list li a { display: flex; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 700; font-size: 14px; }
.steps-list .tick { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line2); display: grid; place-items: center; flex: none; }
.steps-list .done .tick { background: var(--ok); border-color: var(--ok); color: #fff; }
.steps-list .done a { color: var(--muted); text-decoration: line-through; }
.progress { height: 8px; background: var(--line); border-radius: 99px; overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--grad); }
.visit { display: grid; grid-template-columns: 74px minmax(0, 1fr) auto; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); align-items: start; }
.visit__time { font: 800 19px/1.1 var(--fd); color: var(--ink); }
.visit__time small { display: block; font: 600 12px/1.4 var(--f); color: var(--muted); }
.visit__who { font-weight: 800; color: var(--ink); }
.visit__what { font-size: 13.5px; color: var(--muted); }
.visit__acts { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.visit--now { background: linear-gradient(90deg, rgba(233,94,15,.1), transparent); box-shadow: inset 4px 0 0 var(--accent); padding-left: 10px; }
.visit--next { box-shadow: inset 4px 0 0 #F7A46F; padding-left: 10px; }
.visit--done { opacity: .6; }
.visit--cancelled, .visit--no_show { opacity: .5; text-decoration: line-through; }
.visit--late .visit__time { color: var(--warn); }
.break-row { padding: 8px 12px; margin: 6px 0; background: repeating-linear-gradient(135deg, var(--soft), var(--soft) 8px, #fff 8px, #fff 16px); border-radius: 8px; font-size: 13px; font-weight: 800; color: var(--muted); text-align: center; }
@media (max-width: 640px) { .visit { grid-template-columns: 60px 1fr; } .visit__acts { grid-column: 1 / -1; justify-content: flex-start; } }
.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: end; margin-bottom: 16px; }
.filters .field { margin: 0; min-width: 150px; flex: 1 1 150px; }
.tabs { display: flex; gap: 4px; border-bottom: 1.5px solid var(--line2); margin-bottom: 16px; flex-wrap: wrap; }
.tabs a { padding: 10px 14px; font-weight: 800; font-size: 14px; color: var(--muted); text-decoration: none; border-bottom: 3px solid transparent; margin-bottom: -1.5px; }
.tabs a.is-active { color: var(--ink); border-color: var(--accent); }
.bars { display: grid; gap: 8px; }
.bar { display: grid; grid-template-columns: 180px minmax(0, 1fr) 60px; gap: 10px; align-items: center; font-size: 13.5px; }
.bar__track { height: 12px; background: var(--soft); border-radius: 99px; overflow: hidden; }
.bar__track span { display: block; height: 100%; background: var(--nf); border-radius: 99px; }
.cols-chart { display: flex; align-items: flex-end; gap: 6px; height: 160px; padding-top: 10px; }
.cols-chart div { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; height: 100%; font-size: 11px; color: var(--muted); }
.cols-chart span { width: 100%; background: linear-gradient(180deg, var(--accent), var(--nf)); border-radius: 5px 5px 0 0; min-height: 2px; }
.mail-preview { white-space: pre-wrap; font: 500 14px/1.6 var(--f); background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; }
.mail-preview__subject { font-weight: 800; margin-bottom: 10px; color: var(--ink); }
.split { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 18px; align-items: start; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; } }
.list-select a { display: block; padding: 11px 12px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text); font-size: 13.5px; }
.list-select a.is-active { background: var(--tint); box-shadow: inset 3px 0 0 var(--accent); }
.list-select b { display: block; color: var(--ink); }
.svc-row { display: grid; grid-template-columns: minmax(0, 1fr) 90px 120px auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.svc-row--off { opacity: .55; }
.toggle { border: 1.5px solid var(--line2); background: #fff; border-radius: 99px; padding: 3px 10px; font: 800 12px/1.3 var(--f); cursor: pointer; color: var(--muted); }
.toggle.on { background: var(--ok-t); border-color: #9fd1b2; color: var(--ok); }
@media (max-width: 760px) { .svc-row { grid-template-columns: 1fr; } }
.code { font-family: Consolas, monospace; font-size: 13px; background: var(--soft); border: 1px solid var(--line); border-radius: 8px; padding: 12px; word-break: break-all; }
.temp { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 12.5px; }
.temp::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
.temp--hot { color: #d9480f; } .temp--warm { color: #e8a200; } .temp--idle { color: #8a8489; } .temp--cold { color: #2c7be5; } .temp--won { color: var(--ok); } .temp--lost { color: #aaa6a9; }
.score { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; font: 800 14px/1 var(--fd); color: var(--ink); background: conic-gradient(var(--accent) calc(var(--v) * 1%), var(--line) 0); position: relative; }
.score::before { content: ''; position: absolute; inset: 5px; background: #fff; border-radius: 50%; }
.score b { position: relative; }
.tips { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.tips li { padding: 12px 14px 12px 42px; border-radius: 10px; position: relative; font-weight: 600; font-size: 14px; }
.tips li::before { position: absolute; left: 14px; top: 11px; font-weight: 900; }
.tips .plus { background: var(--ok-t); } .tips .plus::before { content: '✓'; color: var(--ok); }
.tips .todo { background: var(--info-t); } .tips .todo::before { content: '→'; color: var(--info); }
.tips .warn { background: var(--warn-t); } .tips .warn::before { content: '!'; color: var(--warn); }
.tips .info, .tips .cold { background: var(--soft); } .tips .info::before, .tips .cold::before { content: 'i'; color: var(--muted); }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 54px 1fr; gap: 10px; padding: 6px 0; font-size: 13.5px; border-bottom: 1px dashed var(--line); }
.timeline time { color: var(--muted); font-weight: 700; }
.timeline .is-action { font-weight: 800; color: var(--ink); }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.feature { padding: 10px 12px; border-radius: 10px; border: 1.5px solid var(--line); font-size: 13px; font-weight: 700; }
.feature b { display: block; font: 800 20px/1.1 var(--fd); }
.feature--on { border-color: #9fd1b2; background: var(--ok-t); }
.feature--off { color: #aaa6a9; border-style: dashed; }
.monitor { background: #121013; color: #f2eef0; min-height: 100vh; padding: 26px 34px; }
.monitor h1 { color: #fff; }
.monitor .visit { border-color: #2e292f; }
.monitor .visit__who, .monitor .visit__time { color: #fff; font-size: 24px; }
.monitor .visit__what { color: #b3adb1; font-size: 17px; }
.auth { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: radial-gradient(1200px 600px at 10% -10%, rgba(233, 94, 15, .35) 0, transparent 60%), var(--nf-d); }
.auth .card { width: min(420px, 100%); padding: 30px; }
.landing { max-width: 1100px; margin: 0 auto; padding: 50px 20px; }
.landing-hero { background: var(--nf-d); color: #d9d4d7; }
.landing-hero h1 { color: #fff; font-size: clamp(32px, 5vw, 56px); }
.feature-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.feature-cards .card h3 { display: flex; gap: 8px; align-items: center; }

/* ---------- stanowiska, kalendarz, kolejka ---------- */
.st-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--st, var(--accent)); margin-right: 6px; vertical-align: 0; flex: none; }
.seg { display: inline-flex; border: 1.5px solid var(--line2); border-radius: var(--r); overflow: hidden; }
.seg__btn { padding: 0 14px; min-height: 39px; display: inline-flex; align-items: center; font-weight: 700; font-size: 14px; color: var(--ink); text-decoration: none; background: #fff; }
.seg__btn.is-on { background: var(--nf); color: #fff; }
.matrix th, .matrix td { text-align: left; }
.matrix__st { font-size: 12.5px; min-width: 110px; vertical-align: bottom; }
.matrix__cell { text-align: center !important; }
.matrix__cell input { width: 18px; height: 18px; accent-color: var(--accent); }
.matrix__cat td { background: var(--soft); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.slots--queue { grid-template-columns: 1fr !important; }
.slots--queue .slot { padding: 0 14px; }

.cal-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 18px; align-items: start; }
@media (max-width: 1200px) { .cal-layout { grid-template-columns: 1fr; } }
.cal-card { padding: 14px; }
.cal-wrap { overflow-x: auto; }
.cal { display: grid; grid-template-columns: 52px repeat(var(--cols), minmax(170px, 1fr)); column-gap: 6px; min-width: calc(60px + var(--cols) * 176px); }
.cal__head { padding: 4px 6px 10px; font-size: 14px; line-height: 1.3; }
.cal__axis { position: relative; }
.cal__axis span { position: absolute; right: 6px; transform: translateY(-50%); font-size: 11.5px; font-weight: 700; color: var(--muted); }
.cal__axis span:first-child { transform: none; }
.cal__col { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 8px; cursor: copy; overflow: hidden; }
.cal__line { position: absolute; left: 0; right: 0; border-top: 1px dashed var(--line); }
.cal__off { position: absolute; left: 0; right: 0; background: repeating-linear-gradient(135deg, var(--soft), var(--soft) 6px, #fff 6px, #fff 12px); cursor: default; }
.cal__lunch span { position: absolute; left: 8px; top: 2px; font-size: 11px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.cal__item { position: absolute; left: 4px; right: 4px; padding: 4px 8px; border-radius: 6px; background: color-mix(in srgb, var(--st) 12%, #fff); border-left: 4px solid var(--st);
             color: var(--ink); text-decoration: none; font-size: 12.5px; line-height: 1.3; overflow: hidden; box-shadow: 0 var(--buf, 0) 0 -1px rgba(26,23,27,.06); cursor: pointer; }
.cal__item small { display: block; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal__item:hover { background: color-mix(in srgb, var(--st) 20%, #fff); }
.cal__item--done { opacity: .6; }
.cal__item--in_progress { box-shadow: inset 0 0 0 2px var(--st); }
.cal__item--ready { background: var(--ok-t); }
.cal__item--no_show { opacity: .45; text-decoration: line-through; }
.cal__now { position: absolute; left: 0; right: 0; border-top: 2px solid var(--err); pointer-events: none; }
.cal__now::before { content: ''; position: absolute; left: -4px; top: -5px; width: 8px; height: 8px; border-radius: 50%; background: var(--err); }

.queue__card .card__head h3 { display: flex; align-items: center; }
.qlist { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; min-height: 40px; }
.qlist__empty { padding: 10px; border: 1.5px dashed var(--line2); border-radius: 8px; text-align: center; font-size: 13px; }
.qcard { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 8px; align-items: start; padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: grab; }
.qcard.is-drag { opacity: .5; border-style: dashed; }
.qcard__pos { width: 24px; height: 24px; border-radius: 50%; background: var(--nf); color: #fff; display: grid; place-items: center; font: 800 12px/1 var(--f); }
.qcard__body { font-size: 13.5px; line-height: 1.35; }
.qcard__body a { color: var(--ink); text-decoration: none; }
.qcard__body small { display: block; color: var(--muted); }
.qcard__move { display: grid; gap: 2px; }
.qcard__move button { border: 1px solid var(--line2); background: #fff; border-radius: 5px; width: 26px; height: 22px; cursor: pointer; font-size: 12px; line-height: 1; }
.qday { padding: 8px 12px; border: 1.5px dashed var(--line2); border-radius: 8px; font-weight: 700; font-size: 13px; background: #fff; }
.qday.is-over { border-color: var(--accent); background: var(--peach); }

.week th, .week td { vertical-align: top; }
.week th.is-today a { color: var(--accent); }
.week__st { min-width: 150px; font-size: 13.5px; }
.week__cell { min-width: 110px; font-size: 13px; }
.week__cell.is-off { background: repeating-linear-gradient(135deg, var(--soft), var(--soft) 6px, #fff 6px, #fff 12px); }
.week__item { display: block; padding: 3px 6px; margin-bottom: 4px; border-left: 3px solid var(--st); background: color-mix(in srgb, var(--st) 10%, #fff); border-radius: 4px; color: var(--ink); text-decoration: none; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- wyszukiwarka globalna, karta pojazdu ---------- */
.gsearch { position: relative; display: flex; align-items: center; gap: 8px; max-width: 560px; margin: -6px 0 18px; padding: 0 12px;
           background: #fff; border: 1.5px solid var(--line2); border-radius: var(--r); }
.gsearch:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(233, 94, 15, .18); }
.gsearch .icon { color: var(--muted); }
.gsearch__input { flex: 1; min-width: 0; border: 0; outline: 0; min-height: 42px; font: 600 15px/1.2 var(--f); color: var(--ink); background: transparent; }
.gsearch__kbd { font: 700 11px/1 var(--f); color: var(--muted); border: 1px solid var(--line2); border-radius: 4px; padding: 3px 6px; }
.gsearch__list { position: absolute; z-index: 60; left: -1.5px; right: -1.5px; top: calc(100% + 6px); background: #fff; border: 1px solid var(--line);
                 border-radius: 10px; box-shadow: var(--shadow); padding: 6px; max-height: 70vh; overflow-y: auto; }
.gsearch__item { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 10px; padding: 8px 10px; border-radius: 8px; color: var(--ink); text-decoration: none; }
.gsearch__item small { grid-column: 2; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gsearch__item:hover, .gsearch__item.is-active { background: var(--peach); }
.gsearch__type { grid-row: span 2; align-self: center; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--accent-d); }
.gsearch__empty { padding: 10px; color: var(--muted); font-size: 14px; }
@media (max-width: 640px) { .gsearch__kbd { display: none; } }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: 12px; padding: 12px 0 12px 18px; border-bottom: 1px solid var(--line); }
.timeline li::before { content: ''; position: absolute; left: 0; top: 18px; width: 9px; height: 9px; border-radius: 50%; background: var(--line2); }
.timeline li.is-done::before { background: var(--ok); }
.timeline li.is-open::before { background: var(--accent); }
.timeline__date { font-weight: 800; font-size: 14px; }
.timeline__date small { display: block; font-weight: 600; color: var(--muted); }
.timeline__body { font-size: 14px; }
.timeline__body small { display: block; color: var(--muted); }
.tyre-card { padding: 12px 0; border-bottom: 1px solid var(--line); }
.tyre-card:last-child { border-bottom: 0; }
.vehicle-row { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; }
.vehicle-row:hover strong { color: var(--accent-d); }

/* ---------- przechowalnia opon ---------- */
.deposit-line a { color: var(--accent-d); text-decoration: none; }
.deposit-line a:hover { text-decoration: underline; }
.rack { margin-bottom: 14px; }
.rack__name { font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 6px; }
.rack__slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 6px; }
.slot-box { position: relative; min-height: 64px; padding: 6px 8px 22px; border: 1.5px solid var(--line2); border-radius: 8px; background: #fff; font-size: 12.5px; }
.slot-box a { display: block; font-weight: 700; color: var(--ink); text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.slot-box a:hover { color: var(--accent-d); }
.slot-box__head { display: flex; justify-content: space-between; align-items: baseline; color: var(--muted); }
.slot-box__head strong { color: var(--ink); }
.slot-box__toggle { position: absolute; right: 6px; bottom: 4px; border: 0; background: none; color: var(--muted); font: 600 11px/1 var(--f); cursor: pointer; padding: 2px; }
.slot-box.is-part { border-color: #f2b07f; background: #fff8f3; }
.slot-box.is-full { border-color: var(--accent); background: var(--peach); }
.slot-box.is-off { opacity: .45; border-style: dashed; }
.slot-legend { display: inline-block; width: 12px; height: 12px; border-radius: 3px; border: 1.5px solid var(--line2); vertical-align: -2px; margin-left: 8px; }
.slot-legend.is-part { border-color: #f2b07f; background: #fff8f3; }
.slot-legend.is-full { border-color: var(--accent); background: var(--peach); }
.slot-legend.is-off { border-style: dashed; opacity: .6; }
@media print {
    .side, .mobile-nav, .demo-bar, .gsearch, .no-print, .messages { display: none !important; }
    .panel { display: block; }
    .main { padding: 0; max-width: none; }
    .card { box-shadow: none; border: 0; padding: 0; }
    body { background: #fff; }
}

/* ---------- powiadomienia, szybka wizyta, wyceny, zgody ---------- */
.notices .notice, .notice { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.notice small { color: var(--muted); margin-right: 6px; }
.notice--ok a { color: var(--ok); font-weight: 700; }
.notice--warn a { color: var(--warn); font-weight: 700; }
.notice.is-new { font-weight: 700; }
.sms-preview { max-width: 360px; background: #eef1f4; border-radius: 16px 16px 16px 4px; font-size: 15px; }
.sms-counter { font-size: 13px; font-weight: 700; color: var(--ok); margin: -6px 0 12px; }
.sms-counter.is-warn { color: var(--warn); }
code.var { cursor: pointer; background: var(--peach); border-radius: 4px; padding: 1px 5px; font-size: 12.5px; }
.conflict { display: flex; align-items: center; gap: 14px; margin: 6px 0; padding: 8px 12px; background: var(--soft); border-radius: 8px; font-size: 14px; }
.input--lg { min-height: 52px; font-size: 18px; font-weight: 700; }
.quick-find { position: relative; }
.quick-find .gsearch__list { top: calc(100% + 2px); left: 0; right: 0; }
.quick-client { padding: 12px 14px; border: 1.5px solid var(--accent); border-radius: 10px; background: #fffaf6; margin-bottom: 12px; }
.quick-client__head { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: center; }
.quick-client__head .input { width: auto; min-height: 34px; }
.quick-client__car { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 8px; font-size: 14px; }
.quick-client__car span { color: var(--muted); }
.quick-new summary { cursor: pointer; font-weight: 800; }
.quick-slots { display: flex; flex-wrap: wrap; gap: 6px; }
.quick-day { flex-basis: 100%; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-top: 6px; }
.quick-slots .hour { min-width: 62px; padding: 7px 10px; border: 1.5px solid var(--line2); border-radius: var(--r); background: #fff; font: 700 14px/1 var(--f); cursor: pointer; }
.quick-slots .hour.is-on { background: var(--accent); border-color: var(--accent); color: #fff; }
button.chip { border: 0; cursor: pointer; font: inherit; }
.chip--hot small { font-weight: 600; opacity: .8; }
.quote-table .input { min-height: 36px; padding: 6px 8px; font-size: 14px; }
.quote-table td { padding: 6px 4px; }
.quote-table td:nth-child(2) { min-width: 200px; }
.quote-table td:nth-child(3), .quote-table td:nth-child(6), .quote-table td:nth-child(7) { width: 78px; }
.quote-table td:nth-child(4) { width: 70px; }
.quote-table td:nth-child(5) { width: 110px; }
.quote-sum { display: grid; grid-template-columns: auto auto; justify-content: end; gap: 4px 18px; font-size: 15px; margin: 6px 0 14px; }
.quote-sum b { text-align: right; }
.quote-sum__total { font-size: 19px; color: var(--ink); }
.quote-items { border-top: 1px solid var(--line); }
.quote-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.quote-decide { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.otp { padding: 12px 14px; border: 1.5px dashed var(--line2); border-radius: 10px; margin-bottom: 14px; background: #fff; }
.otp__title { font-weight: 800; margin: 0 0 8px; display: flex; gap: 8px; align-items: center; }
.otp__row { display: flex; gap: 8px; flex-wrap: wrap; }
.otp__row .input { flex: 1 1 200px; }
.otp__msg { font-size: 13px; margin: 8px 0 0; }
.otp__msg--err { color: var(--err); font-weight: 700; }
.otp__cars { margin-top: 10px; flex-wrap: wrap; }
.otp__row[hidden], .otp__cars[hidden] { display: none; }
.otp__cars { display: flex; flex-wrap: wrap; max-width: 100%; }
.otp__cars label { flex: 1 1 auto; min-width: 0; }
.otp__cars span { white-space: normal; }
.quote-table { table-layout: fixed; min-width: 1000px; }
.quote-table th:nth-child(1) { width: 112px; }
.quote-table th:nth-child(2) { width: auto; }
.quote-table th:nth-child(3), .quote-table th:nth-child(6), .quote-table th:nth-child(7) { width: 76px; }
.quote-table th:nth-child(4) { width: 66px; }
.quote-table th:nth-child(5) { width: 104px; }
.quote-table th:nth-child(8) { width: 130px; }
.quote-table th:nth-child(9) { width: 84px; }
.quote-table th:nth-child(10) { width: 48px; }
#q-book { white-space: normal; line-height: 1.25; }

.inline-form { display: inline-flex; gap: 6px; align-items: center; }
.inline-form .input { width: auto; min-height: 42px; }
.landing-group { margin: 36px 0 14px; font-size: 24px; }
.landing-group:first-child { margin-top: 0; }
.feature-cards .card { margin-bottom: 0; }
