/* =========================================================
   Rezerwacja online + zarządzanie wizytą (rezerwacja.html, wizyta.html)
   ========================================================= */
.page-rezerwacja .actionbar, .page-wizyta .actionbar { display: none !important; }
.page-rezerwacja body, body.page-rezerwacja { padding-bottom: 0; }

.bk-head { padding: calc(var(--nav-h) + clamp(1.5rem, 4vw, 3rem)) 0 clamp(1.5rem, 3vw, 2.5rem); }
.bk-head h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); letter-spacing: -.03em; }
.bk-head .lead { margin-top: .8rem; }

.demo-flag {
  display: flex; align-items: center; gap: .8rem; margin-top: 1.4rem; padding: .75rem 1rem; border-radius: 14px;
  background: #fff3c4; color: #5a4300; font-size: .92rem; border: 1px dashed #d8b64a;
}
.demo-flag strong { white-space: nowrap; }

.bk { padding-bottom: var(--sec); }
.bk__grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(1.25rem, 3vw, 2.5rem); align-items: start; }
.bk__main { background: var(--ivory); border-radius: var(--r-lg); border: 1px solid var(--line-soft); box-shadow: var(--shadow-sm); overflow: clip; }  /* clip, nie hidden — inaczej pasek .bk-nav nie przyklei się na telefonie */
.bk__body { padding: clamp(1.25rem, 3.5vw, 2.25rem); min-height: 420px; }

/* pasek kroków */
.bk-steps { list-style: none; margin: 0; padding: 1rem clamp(1rem, 3vw, 2rem); display: flex; gap: .25rem; border-bottom: 1px solid var(--line-soft); position: relative; background: linear-gradient(var(--ivory), var(--cream)); }
.bk-steps::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: calc(var(--prog, 0) * 100%); background: var(--accent); transition: width .6s var(--ease); }
.bk-steps li { flex: 1; min-width: 0; }
.bk-steps button {
  width: 100%; display: flex; align-items: center; gap: .55rem; padding: .35rem .25rem; border: 0; background: none; cursor: default;
  font-size: .86rem; font-weight: 600; color: var(--ink-faint); text-align: left;
}
.bk-steps .n {
  width: 28px; height: 28px; flex: none; border-radius: 50%; border: 1.5px solid currentColor; display: grid; place-items: center;
  font-size: .8rem; transition: background var(--t-base), color var(--t-base), border-color var(--t-base);
}
.bk-steps .t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bk-steps li.is-current button { color: var(--ink); }
.bk-steps li.is-current .n { background: var(--ink); border-color: var(--ink); color: var(--ivory); }
.bk-steps li.is-done button { color: var(--ink-soft); cursor: pointer; }
.bk-steps li.is-done .n { background: var(--accent-lite); border-color: var(--accent-lite); color: var(--accent-deep); font-size: 0; }
.bk-steps li.is-done .n { position: relative; }
.bk-steps li.is-done .n::before { content: ""; position: absolute; inset: 0; margin: auto; width: 12px; height: 12px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/contain no-repeat; }
.bk-steps li.is-done button:hover .t { text-decoration: underline; }
@media (max-width: 760px) {
  .bk-steps .t { display: none; }
  .bk-steps li.is-current .t { display: block; }
  .bk-steps li { flex: 0 0 auto; }
  .bk-steps li.is-current { flex: 1; }
}

/* panele kroków */
.bk-panel[hidden] { display: none; }
.bk-panel.is-entering { animation: bkIn .5s var(--ease) both; }
.bk-panel.is-entering.back { animation-name: bkInBack; }
@keyframes bkIn { from { opacity: 0; transform: translate3d(24px, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes bkInBack { from { opacity: 0; transform: translate3d(-24px, 0, 0); } to { opacity: 1; transform: none; } }
.bk-panel h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); margin-bottom: .35rem; }
.bk-panel > p.muted { margin-bottom: 1.4rem; }
.bk-q { font-family: var(--body); font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-deep); font-weight: 700; margin: 1.6rem 0 .8rem; }

/* kategorie zwierzaka */
.kats { display: grid; grid-template-columns: repeat(6, 1fr); gap: .6rem; }
.kat {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: .45rem; padding: .95rem .4rem .8rem; border-radius: 16px;
  border: 1.5px solid var(--line); background: var(--cream); cursor: pointer; text-align: center; font-weight: 600; font-size: .9rem; line-height: 1.2;
  transition: border-color var(--t-fast), background var(--t-fast), transform var(--t-fast) var(--ease);
}
.kat:hover { border-color: var(--ink-faint); transform: translateY(-2px); }
.kat input { position: absolute; opacity: 0; pointer-events: none; }
.kat .ico { width: 48px; height: 44px; color: var(--ink-soft); transition: color var(--t-fast), transform .4s var(--ease); }
.kat.is-checked { border-color: var(--ink); background: var(--ivory); box-shadow: 0 0 0 3px var(--accent-lite); }
.kat.is-checked .ico { color: var(--accent-deep); transform: scale(1.08) rotate(-4deg); }
.kat:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 3px; }
.kat-hint { margin: .9rem 0 0; font-size: .9rem; color: var(--ink-soft); min-height: 1.4em; }
@media (max-width: 760px) { .kats { grid-template-columns: repeat(3, 1fr); } }

/* opcje (usługi, groomerki) */
.opts { display: grid; gap: .6rem; }
.opt {
  position: relative; display: grid; grid-template-columns: 1fr auto 26px; align-items: center; gap: .3rem 1rem;
  padding: 1rem 1.1rem; border-radius: 16px; border: 1.5px solid var(--line); background: var(--ivory); cursor: pointer;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}
.opt:hover { border-color: var(--ink-faint); }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt__name { font-weight: 600; display: block; }
.opt__desc { display: block; font-size: .87rem; color: var(--ink-soft); margin-top: 2px; }
.opt__meta { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.opt__price { font-family: var(--display); font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.opt__time { font-size: .8rem; color: var(--ink-soft); white-space: nowrap; display: inline-flex; align-items: center; gap: .3em; }
.opt__time::before { content: ""; width: 12px; height: 12px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.opt__check { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line); transition: background var(--t-fast), border-color var(--t-fast); display: grid; place-items: center; }
.opt.is-checked { border-color: var(--ink); box-shadow: 0 0 0 3px var(--accent-lite); }
.opt.is-checked .opt__check { background: var(--ink); border-color: var(--ink); }
.opt.is-checked .opt__check::after { content: ""; width: 12px; height: 12px; background: var(--ivory); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/contain no-repeat; }
.opt:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 3px; }
@media (max-width: 520px) {
  .opt { grid-template-columns: 1fr 26px; }
  .opt__meta { grid-column: 1; grid-row: 2; flex-direction: row; align-items: center; gap: .8rem; text-align: left; }
  .opt__check { grid-column: 2; grid-row: 1 / span 2; }
}

.groomers { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .7rem; }
.groomer { grid-template-columns: auto 1fr 26px; padding: 1.1rem; }
.ava {
  --h: 340; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: radial-gradient(circle at 30% 25%, hsl(var(--h) 70% 92%), hsl(var(--h) 45% 78%));
  font-family: var(--display); font-weight: 700; font-size: 1.3rem; color: hsl(var(--h) 35% 28%);
  position: relative; overflow: hidden;
}
.ava::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(var(--a, 45deg), transparent 0 7px, rgba(255, 255, 255, .25) 7px 9px); }
.ava span { position: relative; z-index: 1; }
.ava--any { background: var(--ink); color: var(--ivory); }
.ava--any::after { display: none; }
.ava--any i { width: 26px; height: 26px; background: var(--accent-lite); -webkit-mask: var(--lapka) center/contain no-repeat; mask: var(--lapka) center/contain no-repeat; }

/* kalendarz + godziny */
.pick { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(1.25rem, 3vw, 2.5rem); align-items: start; }
@media (max-width: 700px) { .pick { grid-template-columns: 1fr; } .cal { max-width: 440px; } }   /* iPad mini pionowo zostaje w dwóch kolumnach — jedna kolumna dawała dni po 170 px i godziny pod zgięciem */
.cal__head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .6rem; }
.cal__title { font-size: 1.2rem; text-transform: capitalize; }
.cal__nav { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--ivory); cursor: pointer; display: grid; place-items: center; transition: background var(--t-fast), border-color var(--t-fast); }
.cal__nav svg { width: 18px; height: 18px; }
.cal__nav:hover:not(:disabled) { border-color: var(--ink); }
.cal__nav:disabled { opacity: .3; cursor: not-allowed; }
.cal__dow, .cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal__dow span { text-align: center; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-faint); padding: .3rem 0; }
.cal__day {
  aspect-ratio: 1; border-radius: 12px; border: 0; background: transparent; font-weight: 500; font-variant-numeric: tabular-nums;
  color: rgba(38, 33, 31, .3); position: relative; cursor: default; font-size: .95rem;
}
.cal__day.is-free { color: var(--ink); background: var(--cream); cursor: pointer; font-weight: 600; transition: background var(--t-fast), transform var(--t-fast) var(--ease); }
.cal__day.is-free::after { content: ""; position: absolute; left: 50%; bottom: 6px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--accent); }
.cal__day.is-free:hover { background: var(--accent-lite); }
.cal__day.is-today { box-shadow: inset 0 0 0 1.5px var(--ink-faint); }
.cal__day.is-selected { background: var(--ink) !important; color: var(--ivory); transform: scale(1.04); }
.cal__day.is-selected::after { background: var(--accent-lite); }
.cal__day.is-past { text-decoration: line-through; text-decoration-color: rgba(38, 33, 31, .15); }
.cal__grid.is-loading .cal__day { color: transparent; background: linear-gradient(90deg, var(--cream) 0%, var(--sand) 50%, var(--cream) 100%) 0 0 / 300% 100%; animation: shimmer 1.3s linear infinite; }
@keyframes shimmer { to { background-position: -300% 0; } }
.cal__msg { min-height: 1.4em; margin: .8rem 0 0; font-size: .9rem; color: var(--ink-soft); }
.cal__legend { display: flex; align-items: center; gap: .45rem; font-size: .8rem; color: var(--ink-faint); margin: .3rem 0 0; flex-wrap: wrap; }
.cal__legend .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); display: inline-block; }
.cal__legend .dot--off { background: rgba(38, 33, 31, .2); margin-left: .6rem; }

.slots { min-height: 200px; }
.slots__day { font-size: 1.15rem; margin-bottom: 1rem; }
.slots__day::first-letter { text-transform: uppercase; }
.slots__label { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-faint); font-weight: 700; margin: 0 0 .5rem; }
.slots__group + .slots__group { margin-top: 1.2rem; }
.slots__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: .5rem; }
.slot {
  min-height: 46px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--ivory); font-weight: 600; font-variant-numeric: tabular-nums;
  cursor: pointer; transition: border-color var(--t-fast), background var(--t-fast), transform var(--t-fast) var(--ease), color var(--t-fast);
}
.slot:hover { border-color: var(--ink); transform: translateY(-1px); }
.slot.is-on { background: var(--ink); border-color: var(--ink); color: var(--ivory); }
.slots__loading { display: flex; align-items: center; gap: .7rem; color: var(--ink-soft); font-size: .95rem; padding: 1rem 0; }
.slots__empty { color: var(--ink-soft); }
.spinner { width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid var(--accent-lite); border-top-color: var(--accent-deep); animation: spin .8s linear infinite; display: inline-block; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.err { color: var(--err); font-weight: 600; }
.link-btn { border: 0; background: none; padding: 0; color: var(--accent-deep); font-weight: 700; text-decoration: underline; cursor: pointer; }

/* formularz */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.1rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field--full { grid-column: 1 / -1; }
.field label, .field .lbl { font-weight: 600; font-size: .92rem; }
.field label small { font-weight: 400; color: var(--ink-faint); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: .75rem .95rem; border-radius: 12px; border: 1.5px solid var(--line); background: var(--ivory);
  transition: border-color var(--t-fast), box-shadow var(--t-fast); font-size: 1rem;
}
.field textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.field select { appearance: none; background: var(--ivory) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2326211f' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right .9rem center / 18px no-repeat; padding-right: 2.6rem; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-faint); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--accent-lite); }
.field.has-err input, .field.has-err select, .field.has-err textarea { border-color: var(--err); }
.field__err { color: var(--err); font-size: .85rem; font-weight: 600; min-height: 0; }
.field__err:empty { display: none; }
.field__fix { border: 0; background: none; padding: 0; font: inherit; color: var(--ink); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.hints { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .2rem; }
.hint { border: 1px dashed var(--line); background: transparent; border-radius: 999px; padding: .3em .8em; font-size: .84rem; cursor: pointer; color: var(--ink-soft); }
.hint:hover { border-style: solid; border-color: var(--ink-faint); color: var(--ink); }
.hint::before { content: "+ "; color: var(--accent-deep); font-weight: 700; }
.consent { display: grid; grid-template-columns: 24px 1fr; gap: .7rem; align-items: start; font-size: .92rem; cursor: pointer; }
.consent input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--ink); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.size-chip { display: inline-flex; align-items: center; gap: .5em; padding: .55em .9em; border-radius: 999px; background: var(--blush); font-weight: 600; font-size: .92rem; align-self: flex-start; }
@media (max-width: 620px) { .form { grid-template-columns: 1fr; } }

/* podsumowanie */
.review { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.review li { display: grid; grid-template-columns: 140px 1fr auto; gap: .3rem 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); align-items: start; }
.review dt, .review .k { color: var(--ink-soft); font-size: .9rem; }
.review .v { font-weight: 600; }
.review .v small { display: block; font-weight: 400; color: var(--ink-soft); }
@media (max-width: 560px) { .review li { grid-template-columns: 1fr auto; } .review .k { grid-column: 1 / -1; } }
.alert { display: flex; gap: .8rem; align-items: flex-start; padding: .9rem 1.1rem; border-radius: 14px; margin-bottom: 1.2rem; font-size: .95rem; }
.alert--err { background: #fbe9e7; color: #7a2520; }
.alert--info { background: var(--blush); color: var(--ink); }
.alert--ok { background: #e6f2ea; color: #1f4d33; }
.alert[hidden] { display: none; }

/* nawigacja kroków */
/* przyklejony u dołu na każdej szerokości — na laptopie 1280×720 i iPadzie poziomo lista usług spychała „Dalej” pod zgięcie */
.bk-nav {
  display: flex; align-items: center; gap: .75rem; padding: 1rem clamp(1.25rem, 3.5vw, 2.25rem); padding-bottom: calc(1rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line-soft); background: var(--ivory); position: sticky; bottom: 0; z-index: 30; box-shadow: 0 -10px 30px -18px rgba(38, 33, 31, .35);
}
.bk-nav__sum { flex: 1; min-width: 0; font-size: .88rem; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bk-nav__sum strong { color: var(--ink); }
.bk-nav .btn { min-width: 132px; }
.bk-nav .btn.is-soft { opacity: .5; }
.btn .spinner { width: 16px; height: 16px; border-width: 2px; border-color: rgba(255, 252, 250, .35); border-top-color: var(--ivory); }
@media (max-width: 520px) { .bk-nav .btn { min-width: 0; padding-inline: 1.1em; } .bk-nav__sum { display: none; } .bk-nav .btn--primary { flex: 1; } }

/* boczne podsumowanie */
.bk__side { position: sticky; top: calc(var(--nav-h) + 1rem); display: grid; gap: 1rem; }
.sum { background: var(--ivory); border-radius: var(--r-lg); border: 1px solid var(--line-soft); overflow: hidden; box-shadow: var(--shadow-sm); }
.sum__img { aspect-ratio: 16 / 9; background: #d6828c; overflow: hidden; }
.sum__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; transition: opacity .18s var(--ease, ease); }
.sum__img img.is-swap { opacity: 0; }
.sum__body { padding: 1.3rem 1.4rem 1.4rem; }
.sum__body h2 { font-size: 1.25rem; margin-bottom: .8rem; }
.sum dl { margin: 0; display: grid; gap: .1rem; }
.sum dl div { display: grid; grid-template-columns: 92px 1fr; gap: .8rem; padding: .55rem 0; border-bottom: 1px dashed var(--line); }
.sum dt { font-size: .82rem; color: var(--ink-faint); padding-top: 2px; }
.sum dd { margin: 0; font-weight: 600; font-size: .95rem; transition: color var(--t-base); }
.sum dd.empty { color: rgba(38, 33, 31, .28); font-weight: 500; }
.sum dd.flash { animation: flash .9s var(--ease); }
@keyframes flash { 0% { color: var(--accent-deep); transform: translateX(4px); } 100% { transform: none; } }
.sum__total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 1rem; }
.sum__total strong { font-family: var(--display); font-size: 1.35rem; }
.sum__note { font-size: .82rem; color: var(--ink-soft); margin: .6rem 0 0; }
.side-help { padding: 1.1rem 1.3rem; border-radius: var(--r-md); background: var(--blush); font-size: .9rem; }
.side-help a { font-weight: 700; }
@media (max-width: 960px) {
  .bk__grid { grid-template-columns: 1fr; }
  .bk__side { position: static; order: -1; display: none; }
}

/* ekran sukcesu */
.done { text-align: center; padding: clamp(1rem, 4vw, 2.5rem) 0 1rem; }
.done__check { width: 96px; height: 96px; margin: 0 auto 1.4rem; }
.done__check circle { fill: var(--blush); }
.done__check path { fill: none; stroke: var(--accent-deep); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .7s var(--ease) .25s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.done > p { max-width: 46ch; margin: .8rem auto 0; color: var(--ink-soft); }
.done .review { text-align: left; margin: 2rem auto 0; max-width: 560px; }
.done .review li { grid-template-columns: 140px 1fr; }
@media (max-width: 560px) { .done .review li { grid-template-columns: 1fr; gap: .1rem; } }
.done__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-top: 2rem; }
.confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.confetti i { position: absolute; top: -20px; width: 18px; height: 18px; background: var(--accent); opacity: .8; -webkit-mask: var(--lapka) center/contain no-repeat; mask: var(--lapka) center/contain no-repeat; animation: fall 2.6s var(--ease) forwards; }
@keyframes fall { to { transform: translate3d(var(--x, 0), 520px, 0) rotate(var(--r, 120deg)); opacity: 0; } }

/* wizyta.html */
.visit { max-width: 760px; }
.visit__card { background: var(--ivory); border-radius: var(--r-lg); border: 1px solid var(--line-soft); box-shadow: var(--shadow-sm); padding: clamp(1.4rem, 4vw, 2.4rem); }
.visit__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.4rem; }
.pill { display: inline-flex; align-items: center; gap: .45em; padding: .35em .85em; border-radius: 999px; font-weight: 700; font-size: .85rem; }
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.pill--ok { background: #e6f2ea; color: #1f6b42; }
.pill--cancel { background: #fbe9e7; color: #9a2f28; }
.pill--past { background: var(--sand); color: var(--ink-soft); }
.visit__when { font-family: var(--display); font-size: clamp(1.6rem, 4vw, 2.3rem); line-height: 1.1; letter-spacing: -.02em; }
.visit__when::first-letter { text-transform: uppercase; }
.visit__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.6rem; }
.btn--danger { --bg: transparent; --fg: var(--err); border-color: rgba(179, 64, 58, .35); }
.btn--danger:hover { --bg: #fbe9e7; border-color: var(--err); }
.resched { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.resched__foot { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; justify-content: flex-end; margin-top: 1.5rem; }
.skeleton { border-radius: 10px; background: linear-gradient(90deg, var(--cream) 0%, var(--sand) 50%, var(--cream) 100%) 0 0 / 300% 100%; animation: shimmer 1.3s linear infinite; }

dialog.confirm { border: 0; border-radius: var(--r-lg); padding: 0; max-width: min(440px, calc(100% - 2rem)); box-shadow: var(--shadow-lg); background: var(--ivory); color: var(--ink); }
dialog.confirm::backdrop { background: rgba(38, 33, 31, .45); backdrop-filter: blur(3px); }
.confirm__in { padding: 1.8rem; }
.confirm__in h2 { font-size: 1.4rem; margin-bottom: .6rem; }
.confirm__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .6rem; margin-top: 1.4rem; }
