:root {
  --accent: #010830;       /* tmavě modrá z loga */
  --accent-dark: #0c1a5c;
  --gold: #eebf00;         /* zlatá z loga */
  --gold-soft: #fff8dc;
  --danger: #b3131f;
  --ink: #0b1030;
  --muted: #5d6477;
  --line: #dde0e5;
  --bg: #ffffff;
  --card: #ffffff;
  --ok: #1b7f4b;
  --warn: #b26a00;
  --radius: 18px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: var(--ink); background: var(--bg); }
[hidden] { display: none !important; }

.top { background: #fff; border-bottom: 4px solid var(--gold); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--accent); font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.brand img { display: block; height: 46px; width: auto; }
.top a.tel { color: var(--accent); text-decoration: none; font-weight: 700; white-space: nowrap; }


.wrap { max-width: 760px; margin: 0 auto; }
main.wrap { padding: 20px 16px 48px; }
h1 { font-size: 1.8rem; line-height: 1.2; margin: 6px 0 6px; font-weight: 800; letter-spacing: -.01em; }
.eyebrow { margin-top: 8px; color: #c99a00; font-size: .78rem; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; }
.lead { color: var(--muted); margin: 0 0 20px; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 16px; box-shadow: 0 2px 14px rgba(1,8,48,.05); }
.card h2 { font-size: 1.05rem; margin: 0 0 14px; display: flex; align-items: center; gap: 10px; }
.num { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--gold); color: var(--accent); font-size: .85rem; font-weight: 800; flex: none; }

.services { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.service { position: relative; }
.service input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.service label { display: block; height: 100%; padding: 12px 14px; border: 2px solid var(--line); border-radius: 10px; cursor: pointer; background: #fff; }
.service label b { display: block; }
.service label small { color: var(--muted); display: block; }
.service input:checked + label { border-color: var(--accent); background: var(--gold-soft); }
.service input:focus-visible + label { outline: 3px solid rgba(238,191,0,.55); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: inherit; border: 2px solid var(--line); background: #fff; border-radius: 14px; padding: 8px 12px; cursor: pointer; min-width: 64px; color: var(--ink); }
.chip small { display: block; color: var(--muted); font-size: .75rem; line-height: 1.1; }
.chip:hover:not(:disabled) { border-color: #9aa1ab; }
.chip.sel { border-color: var(--accent); background: var(--accent); color: #fff; }
.chip.sel small { color: #cdd2ea; }
.chip:disabled { background: #f0f1f3; color: #a3a8b0; cursor: not-allowed; text-decoration: line-through; border-color: #ebedf0; }
.subhead { font-weight: 600; margin: 16px 0 8px; }
.hint { color: var(--muted); font-size: .92rem; }
.linkbtn { font: inherit; background: none; border: 0; color: var(--accent); text-decoration: underline; cursor: pointer; padding: 8px 0; }

.grid2 { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .grid2 { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 4px; }
.field input, .field textarea, .login input {
  width: 100%; font: inherit; padding: 11px 12px; border: 1px solid #b9bfc7; border-radius: 8px; background: #fff; color: var(--ink);
}
.field textarea { min-height: 84px; resize: vertical; }
.field input:focus, .field textarea:focus, .login input:focus { outline: 3px solid rgba(238,191,0,.55); border-color: var(--accent); }
.field.wide { grid-column: 1 / -1; }
.plate { text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0; font-size: .93rem; }
.consent input { margin-top: 4px; width: 18px; height: 18px; flex: none; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.btn { font: inherit; font-weight: 700; border: 0; border-radius: 999px; padding: 13px 22px; background: var(--accent); color: #fff; cursor: pointer; width: 100%; }
.btn:hover:not(:disabled) { background: var(--accent-dark); }
.btn:disabled { background: #c9ced4; cursor: not-allowed; }
.btn.ghost { background: #fff; color: var(--ink); border: 1px solid #b9bfc7; width: auto; padding: 8px 16px; font-weight: 600; }
.btn.ghost:hover:not(:disabled) { background: #f0f1f3; }
.btn.small { padding: 7px 12px; width: auto; font-size: .9rem; }
.btn.cancel { background: var(--danger); border: 0; color: #fff; }
.btn.cancel:hover:not(:disabled) { background: #8f0f19; }
.btn.danger { background: #fff; color: var(--danger); border: 1px solid var(--danger); }
.btn.danger:hover:not(:disabled) { background: #fff0f1; }

.err { background: #fff0f1; border: 1px solid #f2b6bb; color: #8a1019; padding: 10px 12px; border-radius: 8px; margin: 12px 0; }
.okbox { text-align: center; padding: 28px 18px; }
.okbox .tick { width: 56px; height: 56px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; font-size: 30px; margin: 0 auto 12px; }
.sum { text-align: left; max-width: 420px; margin: 16px auto; background: #f7f8fa; border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; }
.sum div { padding: 3px 0; }
.foot { color: var(--muted); font-size: .82rem; margin-top: 24px; }

/* Administrace */
.login { max-width: 360px; margin: 40px auto; }
.login .card { display: grid; gap: 12px; }
.bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.tabs { display: flex; gap: 6px; }
.tab { font: inherit; padding: 8px 14px; border: 1px solid var(--line); background: #fff; border-radius: 8px; cursor: pointer; }
.tab.sel { background: var(--accent); color: #fff; border-color: var(--accent); }
.day { font-weight: 700; margin: 18px 0 8px; text-transform: capitalize; }
.bk { display: grid; gap: 6px; padding: 12px 14px; }
.bk .row1 { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: baseline; }
.bk .time { font-weight: 800; font-size: 1.1rem; }
.badge { font-size: .78rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: #e7f4ec; color: var(--ok); }
.badge.pending { background: #fff3dd; color: var(--warn); }
.badge.cancelled { background: #eceef1; color: #6b727c; }
.bk.is-cancelled { opacity: .6; }
.bk .meta { color: var(--muted); font-size: .92rem; }
.bk a { color: inherit; }
.bk .acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.empty { text-align: center; color: var(--muted); padding: 30px 0; }

dialog { border: 0; border-radius: var(--radius); padding: 20px; width: min(92vw, 460px); box-shadow: 0 10px 40px rgba(0,0,0,.3); }
dialog::backdrop { background: rgba(0,0,0,.45); }
dialog h2 { margin: 0 0 6px; font-size: 1.2rem; }
.dlgacts { display: flex; gap: 10px; justify-content: flex-end; margin-top: 14px; }
.dlgacts .btn { width: auto; }

/* ===== Průvodce rezervací (pneuservis + geometrie) ===== */
.wrap.wide { max-width: 1040px; }
.dc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dc-opt { font-weight: 400; color: var(--muted); }
.dc-hint { color: var(--muted); font-size: .88rem; margin: 6px 0 0; }
.dc-description { color: var(--muted); margin: 4px 0 16px; }
.dc h1 { font-size: 1.6rem; margin: 4px 0 0; }
.dc h2 { font-size: 1.25rem; margin: 0 0 16px; line-height: 1.25; }
.dc h3 { font-size: 1rem; margin: 0 0 10px; }
.dc-fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.dc-fieldset legend { font-weight: 700; padding: 0; margin-bottom: 8px; font-size: .95rem; }

.dc-progress-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.dc-progress-row .dc-progress { flex: 1; }
.dc-restart { margin-top: 8px; white-space: nowrap; font-size: .9rem; }
.dc-progress { list-style: none; display: flex; gap: 6px; padding: 0; margin: 16px 0 18px; max-width: 560px; }
.dc-progress li { flex: 1; }
.dc-step { width: 100%; display: flex; align-items: center; gap: 8px; font: inherit; font-size: .92rem; font-weight: 600; background: none; border: 0; border-bottom: 3px solid var(--line); padding: 6px 2px 9px; color: var(--muted); cursor: pointer; text-align: left; }
.dc-step:disabled { cursor: default; }
.dc-step-number { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #e8eaf1; color: var(--muted); font-size: .8rem; font-weight: 800; flex: none; }
.dc-step[aria-current="step"] { color: var(--accent); border-bottom-color: var(--gold); }
.dc-step[aria-current="step"] .dc-step-number { background: var(--gold); color: var(--accent); }
.dc-step.dc-complete { color: var(--accent); border-bottom-color: var(--accent); }
.dc-step.dc-complete .dc-step-number { background: var(--accent); color: #fff; }

.dc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; grid-template-areas: "main summary" "actions summary"; column-gap: 20px; align-items: start; }
.dc-work { grid-area: main; background: #fff; border: 1px solid var(--line); border-radius: var(--radius) var(--radius) 0 0; border-bottom: 0; padding: 24px 24px 18px; min-width: 0; }
.dc-actions { grid-area: actions; background: #fff; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--radius) var(--radius); padding: 0 24px 20px; min-width: 0; }
.dc-summary { grid-area: summary; min-width: 0; position: sticky; top: 16px; }
.dc-summary-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.dc-summary-main { padding: 18px; }
.dc-summary-title { font-weight: 800; margin-bottom: 10px; }
.dc-empty-summary { color: var(--muted); font-size: .92rem; }
.dc-summary-row { padding: 2px 0 8px; }
.dc-summary-value { font-weight: 700; }
.dc-summary-time { font-weight: 600; color: var(--muted); }
.dc-summary-sub, .dc-summary-small { color: var(--muted); font-size: .88rem; }
.dc-total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; }
.dc-total-label { color: var(--muted); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.dc-total-value { font-size: 1.7rem; font-weight: 800; color: var(--accent); line-height: 1.2; margin-top: 2px; }
.dc-price-note { color: var(--muted); font-size: .8rem; margin-top: 6px; line-height: 1.4; }
.dc-location { display: flex; gap: 10px; background: #f7f8fb; border-top: 1px solid var(--line); padding: 12px 18px; font-size: .88rem; color: var(--muted); }
.dc-location strong { display: block; color: var(--ink); }

.dc-hold { display: flex; gap: 12px; align-items: center; justify-content: space-between; border-left: 4px solid var(--gold); background: var(--gold-soft); padding: 10px 14px; margin-bottom: 18px; border-radius: 0 10px 10px 0; }
.dc-hold p { margin: 0; color: var(--muted); font-size: .85rem; }
.dc-hold.dc-warning, .dc-hold.dc-expired { border-left-color: var(--danger); background: #fff0f1; }
.dc-countdown { font-variant-numeric: tabular-nums; font-weight: 800; font-size: 1.2rem; color: var(--accent); }
.dc-form-alert { background: #fff0f1; border: 1px solid #f2b6bb; color: #8a1019; padding: 10px 12px; border-radius: 10px; margin-bottom: 14px; }
.dc-error { color: #8a1019; font-size: .88rem; margin-top: 6px; }
.dc-link-action { font: inherit; font-weight: 600; background: none; border: 0; color: var(--accent); text-decoration: underline; cursor: pointer; padding: 4px 0; }

/* Služby */
.dc-services { display: grid; gap: 10px; }
.dc-service { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 14px 16px; border: 2px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; transition: border-color .15s, background .15s; }
.dc-service:hover { border-color: #aeb5c9; }
.dc-service:has(input:checked) { border-color: var(--accent); background: var(--gold-soft); }
.dc-service:has(input:focus-visible) { outline: 3px solid rgba(238,191,0,.55); outline-offset: 2px; }
.dc-service input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; }
.dc-icon { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--gold); color: var(--accent); }
.dc-service-copy { display: grid; gap: 1px; }
.dc-service-title { font-weight: 800; }
.dc-service-desc { color: var(--muted); font-size: .9rem; }
.dc-service-meta { display: grid; justify-items: end; color: var(--muted); font-size: .85rem; }
.dc-service-meta strong { color: var(--accent); font-size: 1rem; white-space: nowrap; }

/* Vaše auto */
.dc-config { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.dc-config h3 { margin: 0; }
.dc-segment { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 6px; background: #eef0f6; padding: 4px; border-radius: 12px; }
.dc-segment-item { position: relative; text-align: center; }
.dc-segment-item input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; }
.dc-segment-item span { display: block; padding: 10px 6px; border-radius: 9px; font-weight: 700; font-size: .92rem; color: var(--muted); }
.dc-segment-item input:checked + span { background: #fff; color: var(--accent); box-shadow: 0 1px 4px rgba(1,8,48,.15); }
.dc-segment-item input:focus-visible + span { outline: 3px solid rgba(238,191,0,.55); }
.dc-size-field { max-width: 360px; }
.dc-select, .dc-input { width: 100%; font: inherit; padding: 11px 12px; border: 1px solid #b9bfc7; border-radius: 10px; background: #fff; color: var(--ink); }
.dc-select:focus, .dc-input:focus { outline: 3px solid rgba(238,191,0,.55); border-color: var(--accent); }
.dc-input[aria-invalid="true"], .dc-select[aria-invalid="true"] { border-color: var(--danger); }
textarea.dc-input { min-height: 76px; resize: vertical; }
.dc-input:disabled { background: #f3f4f8; color: #9aa1b4; }

/* Přepínače */
.dc-toggle { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border: 2px solid var(--line); border-radius: 14px; cursor: pointer; background: #fff; }
.dc-toggle:has(input:checked) { border-color: var(--accent); background: var(--gold-soft); }
.dc-toggle input { width: 20px; height: 20px; accent-color: var(--accent); flex: none; margin-top: 2px; }
.dc-toggle-copy { display: grid; gap: 2px; }
.dc-toggle-title { font-weight: 700; }
.dc-toggle-sub { color: var(--muted); font-size: .88rem; }
.dc-inquiry { margin-top: 14px; }
.dc-config + .dc-inquiry { margin-top: 14px; }
.dc-tyre-body { margin-top: 12px; padding: 16px; background: #f7f8fb; border-radius: 14px; display: grid; gap: 14px; }
.dc-option-row { display: flex; flex-wrap: wrap; gap: 8px; }
.dc-option { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 2px solid var(--line); border-radius: 999px; cursor: pointer; background: #fff; font-weight: 600; font-size: .92rem; }
.dc-option:has(input:checked) { border-color: var(--accent); background: var(--gold-soft); }
.dc-option input { accent-color: var(--accent); }
.dc-inline-check { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: .92rem; }
.dc-inline-check input, .consent input { width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.dc-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dc-field { display: grid; gap: 6px; align-content: start; min-width: 0; }
.dc-field-label { font-weight: 700; font-size: .92rem; }
.dc-field-hint { color: var(--muted); font-size: .85rem; }
.dc-optional { margin-top: 14px; }
.dc-optional summary { cursor: pointer; font-weight: 600; color: var(--accent); padding: 4px 0; }
.dc-optional textarea { margin-top: 8px; }
.dc .consent { margin: 16px 0 4px; }

/* Tlačítka */
.dc-button { font: inherit; font-weight: 700; border: 1px solid #b9bfc7; background: #fff; color: var(--ink); border-radius: 999px; padding: 10px 18px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.dc-button:hover:not(:disabled) { background: #f0f2f8; }
.dc-button:disabled { opacity: .45; cursor: not-allowed; }
.dc-primary { background: var(--accent); border-color: var(--accent); color: #fff; margin-left: auto; padding: 12px 24px; white-space: nowrap; }
.dc-primary:hover:not(:disabled) { background: var(--accent-dark); }
.dc-icon-button { padding: 7px 9px; }
.dc-action-row { display: flex; align-items: center; gap: 14px; padding-top: 16px; border-top: 1px solid var(--line); }
.dc-mobile-total { display: none; }

/* Termín */
.dc-suggest { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--gold-soft); border-radius: 14px; padding: 12px 14px; margin-bottom: 18px; }
.dc-suggest-label { display: block; color: var(--muted); font-size: .8rem; }
.dc-suggest strong { text-transform: none; }
.dc-suggest-btn { background: var(--accent); border-color: var(--accent); color: #fff; padding: 8px 18px; }
.dc-suggest-btn:hover:not(:disabled) { background: var(--accent-dark); }
.dc-week-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.dc-week-label { font-weight: 800; }
.dc-week-nav { display: flex; gap: 6px; }
.dc-days { display: grid; grid-template-columns: repeat(var(--cols, 5), 1fr); gap: 6px; }
.dc-cal-head { text-align: center; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 2px 0 4px; }
.dc-cal-pad { min-height: 52px; }
.dc-day { position: relative; border: 2px solid var(--line); border-radius: 12px; min-height: 52px; padding: 6px 2px; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; font: inherit; color: var(--ink); cursor: pointer; }
.dc-day.dc-free { background: #eaf7ee; border-color: #8fd0a3; color: #14532d; }
.dc-day.dc-free:hover:not(:disabled) { border-color: #1f8a4c; background: #dff2e5; }
.dc-day.dc-full:disabled { background: #fdecee; border-color: #f0b3ba; color: #9b1c27; }
.dc-day:hover:not(:disabled) { border-color: var(--accent); }
.dc-day:disabled { background: #f6f7fa; border-color: #eceef3; color: #b3b8c9; cursor: not-allowed; }
.dc-day[aria-pressed="true"], .dc-day.dc-free[aria-pressed="true"]:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.dc-day.dc-today .dc-day-date { text-decoration: underline; text-underline-offset: 3px; }
.dc-day-date { font-weight: 800; font-size: 1.02rem; }
.dc-day-status { font-size: .66rem; line-height: 1; }
.dc-times-head { display: flex; justify-content: space-between; margin: 20px 0 8px; font-weight: 700; }
.dc-loading { color: var(--muted); font-weight: 400; font-size: .85rem; }
.dc-time-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.dc-time { border-radius: 12px; border-width: 2px; padding: 9px 4px; font-variant-numeric: tabular-nums; font-weight: 700; }
.dc-button.dc-time[aria-pressed="true"], .dc-button.dc-time[aria-pressed="true"]:hover:not(:disabled) { background: var(--accent); border-color: var(--accent); color: #fff; }
.dc-empty-times { grid-column: 1 / -1; }
.dc-review { background: #f7f8fb; border-radius: 14px; padding: 12px 14px; margin: -4px 0 18px; display: grid; gap: 2px; font-size: .92rem; }
.dc-review-price { font-weight: 800; color: var(--accent); }

.dc-success-page { max-width: 600px; margin: 20px auto 0; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 24px; }
.dc-success-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--gold); color: var(--accent); display: grid; place-items: center; margin: 0 auto 12px; }
.dc-success-icon svg { width: 28px; height: 28px; }
.dc-confirmation { text-align: left; background: #f7f8fb; border-radius: 14px; padding: 16px 18px; margin: 18px auto; display: grid; gap: 4px; }
.dc-confirm-price { font-weight: 800; color: var(--accent); font-size: 1.1rem; }
.dc-inquiry-status { text-align: left; background: var(--gold-soft); border-radius: 14px; padding: 14px 18px; margin-bottom: 16px; display: grid; gap: 3px; }

@media (max-width: 860px) {
  .dc-layout { grid-template-columns: 1fr; grid-template-areas: "main" "actions"; }
  .dc-summary { display: none; }
  .dc-work { padding: 18px 16px 14px; }
  .dc-actions { padding: 0 16px 14px; position: sticky; bottom: 0; z-index: 5; box-shadow: 0 -6px 16px rgba(1,8,48,.1); border-radius: 0; }
  .dc-mobile-total { display: grid; line-height: 1.2; }
  .dc-mobile-total[hidden] { display: none; }
  .dc-mobile-total span { color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; }
  .dc-mobile-total strong { color: var(--accent); white-space: nowrap; }
  .dc-primary { padding: 12px 16px; }
  .dc-action-row { gap: 10px; }
  .dc-back-text { display: none; }
  .dc-back { padding: 10px 13px; }
}
@media (min-width: 861px) { .dc-review { display: none; } }
@media (max-width: 560px) {
  .dc-progress-row { flex-direction: column; gap: 0; }
  .dc-restart { align-self: flex-end; margin: -6px 0 8px; }
  .dc-fields { grid-template-columns: 1fr; }
  .dc-time-grid { grid-template-columns: repeat(4, 1fr); }
  .dc h1 { font-size: 1.35rem; }
  .dc-service { grid-template-columns: auto 1fr; }
  .dc-service-meta { grid-column: 2; grid-auto-flow: column; justify-content: start; align-items: baseline; gap: 12px; margin-top: -4px; }
  .dc-service { padding: 12px 14px; gap: 12px; }
  .dc-icon { width: 36px; height: 36px; }
  .dc-segment-item span { font-size: .82rem; padding: 10px 2px; }
}

.dc-restored { background: #eef3ff; border-radius: 10px; padding: 8px 12px; margin-bottom: 14px; font-size: .9rem; color: var(--accent); }

/* Nápověda k rozměru pneumatik */
.dc-help { margin-top: -4px; }
.dc-help summary { cursor: pointer; font-weight: 600; color: var(--accent); padding: 2px 0; font-size: .92rem; }
.dc-help-body { margin-top: 8px; padding: 14px 16px; background: #f7f8fb; border-radius: 14px; font-size: .92rem; }
.dc-help-body p { margin: 0 0 8px; color: var(--muted); }
.dc-tyre-code { display: inline-block; font: 800 1.5rem/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .06em; background: var(--accent); color: #fff; padding: 8px 16px; border-radius: 10px; margin: 2px 0 10px; }
.dc-tyre-code .dc-hl { color: var(--gold); }
.dc-help-body ul { margin: 0 0 10px; padding-left: 20px; display: grid; gap: 2px; }
.dc-hl-text { color: #b58900; }

/* Administrace – detaily rezervace */
.bk .inq { background: var(--gold-soft); border-radius: 10px; padding: 8px 12px; font-size: .9rem; display: grid; gap: 2px; }
.bk .inq b { color: var(--accent); }
.bk .price { font-weight: 700; color: var(--accent); }
.badge.inq-badge { background: var(--gold); color: var(--accent); margin-left: 6px; }

/* ===== Prémiový vzhled: měkké pozadí, pohyb, potvrzení ===== */
.page-soft { background: radial-gradient(1200px 400px at 50% -120px, #fff8dc 0%, rgba(255,248,220,0) 70%), #f4f6fb; }
.page-soft .top { box-shadow: 0 1px 0 rgba(1,8,48,.04); }
.page-soft .dc-work, .page-soft .dc-actions, .page-soft .dc-summary-card, .page-soft .dc-success-page {
  box-shadow: 0 1px 2px rgba(1,8,48,.04), 0 18px 40px -20px rgba(1,8,48,.18);
  border-color: #e4e7f0;
}
.page-soft .dc-actions { box-shadow: 0 18px 30px -24px rgba(1,8,48,.2); }
.dc h1 { font-size: clamp(1.45rem, 2.2vw + .9rem, 2rem); letter-spacing: -.02em; }

/* Body důvěry */
.dc-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 0; margin: 8px 0 0; color: var(--muted); font-size: .92rem; font-weight: 600; }
.dc-trust li { display: inline-flex; align-items: center; gap: 6px; }
.dc-trust-ic { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #e3f4e8; color: #1b7f4b; }
.dc-trust-ic svg { width: 11px; height: 11px; stroke-width: 3; }

/* Přechody mezi kroky */
@keyframes dcIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes dcPop { 0% { transform: scale(.92); opacity: 0; } 60% { transform: scale(1.03); } 100% { transform: scale(1); opacity: 1; } }
@keyframes dcShimmer { 0% { background-position: -200px 0; } 100% { background-position: calc(200px + 100%) 0; } }
[data-panel]:not([hidden]) { animation: dcIn .32s cubic-bezier(.2,.7,.2,1) both; }
.dc-tyre-body:not([hidden]), .dc-config:not([hidden]), .dc-hold:not([hidden]), .dc-form-alert:not([hidden]) { animation: dcIn .28s ease both; }
.dc-time-grid .dc-time { animation: dcPop .28s ease both; }
.dc-time-grid .dc-time:nth-child(5n+2) { animation-delay: .02s; }
.dc-time-grid .dc-time:nth-child(5n+3) { animation-delay: .04s; }
.dc-time-grid .dc-time:nth-child(5n+4) { animation-delay: .06s; }
.dc-time-grid .dc-time:nth-child(5n+5) { animation-delay: .08s; }

/* Karty služeb a tlačítka */
.dc-service { transition: border-color .15s, background .15s, transform .15s, box-shadow .15s; }
.dc-service:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -14px rgba(1,8,48,.35); }
.dc-service:has(input:checked) { box-shadow: 0 10px 28px -14px rgba(1,8,48,.4); }
.dc-icon { transition: background .2s, color .2s, transform .2s; }
.dc-service:has(input:checked) .dc-icon { background: var(--accent); color: var(--gold); transform: scale(1.06) rotate(-4deg); }
.dc-button { transition: background .15s, transform .12s, box-shadow .15s, border-color .15s; }
.dc-button:active:not(:disabled) { transform: scale(.97); }
.dc-primary { background: linear-gradient(180deg, #0a1450, var(--accent)); box-shadow: 0 8px 18px -8px rgba(1,8,48,.6); }
.dc-primary:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 12px 22px -8px rgba(1,8,48,.65); background: linear-gradient(180deg, #101c66, #0a1450); }
.dc-day, .dc-time, .dc-segment-item span { transition: background .15s, border-color .15s, color .15s, transform .12s; }
.dc-day:active:not(:disabled), .dc-time:active { transform: scale(.96); }
.dc-total-value { transition: color .2s; font-variant-numeric: tabular-nums; }

/* Načítací kostry */
.dc-skel { border-radius: 12px; background: linear-gradient(90deg, #eef0f6 0%, #f7f8fc 50%, #eef0f6 100%); background-size: 200px 100%; background-repeat: no-repeat; background-color: #eef0f6; animation: dcShimmer 1.2s infinite linear; }
.dc-skel-day { min-height: 52px; }
.dc-skel-time { min-height: 42px; }

/* Informace o platbě a příjezdu */
.dc-info { margin-top: 12px; background: #fff; border: 1px solid #e4e7f0; border-radius: var(--radius); padding: 6px 16px; display: grid; }
.dc-info-row { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; font-size: .88rem; color: var(--ink); }
.dc-info-row + .dc-info-row { border-top: 1px solid var(--line); }
.dc-info-ic { flex: none; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: var(--gold-soft); color: var(--accent); }
.dc-info-ic svg { width: 16px; height: 16px; }
.dc-expect { background: #f7f8fb; border-radius: 14px; padding: 14px 16px; margin: 18px 0 4px; display: grid; gap: 10px; font-size: .92rem; }
.dc-expect strong { font-size: .95rem; }
.dc-expect-row { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); }
.dc-expect-row b { color: var(--ink); }

/* Potvrzení rezervace */
.dc-success-page { max-width: 640px; padding: 28px 24px 24px; }
.dc-done-hero { margin-bottom: 14px; }
.dc-check { width: 76px; height: 76px; display: block; margin: 0 auto 10px; }
.dc-check-circle { fill: var(--gold); stroke: none; transform-origin: center; animation: dcPop .45s ease both; }
.dc-check-mark { fill: none; stroke: var(--accent); stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 50; stroke-dashoffset: 50; animation: dcDraw .5s .3s ease forwards; }
@keyframes dcDraw { to { stroke-dashoffset: 0; } }
.dc-ticket { text-align: left; background: linear-gradient(160deg, #0a1450, var(--accent)); color: #fff; border-radius: 18px; padding: 20px 22px; margin: 14px auto 16px; display: grid; gap: 4px; position: relative; overflow: hidden; animation: dcIn .5s .15s cubic-bezier(.2,.7,.2,1) both; }
.dc-ticket::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, rgba(238,191,0,.35), rgba(238,191,0,0) 70%); }
.dc-ticket-label { color: var(--gold); font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.dc-ticket-date { font-size: 1.5rem; font-weight: 800; line-height: 1.2; }
.dc-ticket-time { font-size: 1.15rem; font-weight: 700; color: var(--gold); font-variant-numeric: tabular-nums; }
.dc-ticket-service { margin-top: 8px; font-weight: 700; }
.dc-ticket-meta { color: #cfd3e6; font-size: .92rem; }
.dc-ticket-price { margin-top: 6px; font-weight: 800; font-size: 1.1rem; }
.dc-done-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 4px 0 8px; }
.dc-cta { text-decoration: none; margin-left: 0; padding: 12px 22px; }
.dc-cta svg { width: 18px; height: 18px; }
.dc-timeline { list-style: none; padding: 0; margin: 20px auto 6px; text-align: left; display: grid; gap: 0; counter-reset: tl; border-top: 1px solid var(--line); }
.dc-timeline li { counter-increment: tl; position: relative; padding: 14px 0 14px 44px; border-bottom: 1px solid var(--line); display: grid; gap: 1px; animation: dcIn .4s calc(.35s + var(--i, 0) * .08s) ease both; }
.dc-timeline li::before { content: counter(tl); position: absolute; left: 0; top: 14px; width: 28px; height: 28px; border-radius: 50%; background: var(--gold); color: var(--accent); font-weight: 800; font-size: .85rem; display: grid; place-items: center; }
.dc-timeline li span { color: var(--muted); font-size: .92rem; }
.dc-done-foot { margin-top: 14px; }

@media (max-width: 560px) {
  .dc-done-actions .dc-button { width: 100%; }
  .dc-ticket-date { font-size: 1.3rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
}

/* Odkazy v barvě značky, tlačítko zrušení nezabírá celou šířku */
main a { color: var(--accent); }
.okbox .btn { max-width: 380px; margin: 14px auto; display: block; }
