/* NoLimits appointment management — compact, mobile-first */
.nl-manage-wrap{max-width:820px;margin-inline:auto}
.nl-manage-card{background:var(--paper);border:1px solid var(--line-light);padding:clamp(22px,4vw,42px)}
.nl-manage-card h2{font-family:var(--font-head);font-size:clamp(26px,4vw,37px);margin:12px 0}
.nl-manage-card h3{font-size:22px;margin:24px 0 12px}
.nl-manage-card p{line-height:1.6;color:var(--text-soft)}
.nl-manage-tag{color:var(--gold-deep);font-weight:700;letter-spacing:.04em}
.nl-manage-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:20px;margin:22px 0;background:rgba(184,150,87,.07)}
.nl-manage-facts dt{font-size:13px;color:var(--text-soft);margin-bottom:4px}
.nl-manage-facts dd{font-weight:650;margin:0}
.nl-manage-hint{font-size:14px;padding:12px 14px;background:#f2ede3;border-left:3px solid var(--gold-deep)}
.nl-manage-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:22px}
.nl-manage-outline{border:1px solid #74634a;padding:12px 20px;border-radius:3px;color:var(--ink);font:inherit;cursor:pointer;background:transparent}
.nl-manage-msg{padding:16px;margin-bottom:20px;border:1px solid #c4a26a;background:#fff7e7}
.nl-manage-msg.error{color:#8a231b;border-color:#bf6255;background:#fff0ed}
.nl-manage-card label:not(.nl-manage-check){display:block;font-weight:650;margin:14px 0 7px}
.nl-manage-card textarea{font:inherit;width:100%;padding:11px;border:1px solid #a7a19a;background:#fff}
.nl-manage-check{display:flex;gap:11px;align-items:flex-start;margin-top:18px;line-height:1.4}
.nl-manage-check input{width:18px;height:18px;flex:none;margin-top:2px}
.nl-manage-outline:focus-visible{outline:3px solid var(--gold-deep);outline-offset:3px}
@media(max-width:540px){.nl-manage-facts{grid-template-columns:1fr}.nl-manage-actions{flex-direction:column;align-items:stretch}.nl-manage-actions>*{width:100%;text-align:center}}


/* Abschlussansicht: Nur Stornierungsstatus, Text und neue Buchung.
   Auch bei erneuter Öffnung eines bereits stornierten Termins. */
#nl-manage-details.is-cancelled > :not(#nl-manage-status):not(#nl-manage-result){display:none!important}
#nl-manage-details.is-cancelled #nl-manage-result{display:block!important}
#nl-manage-details.is-cancelled #nl-manage-result-title{margin:20px 0 14px}
#nl-manage-details.is-cancelled #nl-manage-result-message{margin:0 0 28px}
#nl-manage-details.is-cancelled #nl-manage-result > .btn{display:inline-flex;justify-content:center;align-items:center;min-height:48px}
@media(max-width:540px){#nl-manage-details.is-cancelled #nl-manage-result > .btn{width:100%}}

/* Management lifecycle: hidden always wins over flex/grid style rules. */
.nl-manage-wrap [hidden]{display:none!important}

/* Terminwahl nutzt dieselben bk-Klassen und Design-Tokens wie die Erstbuchung. */
.nl-manage-picker{background:var(--paper-2);border:1px solid var(--line-light);padding:clamp(12px,3vw,28px);margin:16px 0 20px}
.nl-manage-picker .bk-cal-head,.nl-manage-picker .bk-slots-wrap,.nl-manage-picker #nl-manage-calendar-note{max-width:560px;margin-inline:auto}
.nl-manage-picker .bk-month{text-align:center}
.nl-manage-picker .bk-grid{grid-template-columns:repeat(7,minmax(0,1fr))}
.nl-manage-picker .bk-day{min-width:0;padding:0}
.nl-manage-picker .bk-day:disabled{cursor:not-allowed}
.nl-manage-picker .bk-day:focus-visible,.nl-manage-picker .bk-slot:focus-visible,.nl-manage-picker .bk-nav:focus-visible{outline:2px solid var(--gold-deep);outline-offset:2px}
.nl-manage-picker .bk-slots-title{font-family:var(--font-head);font-weight:700;color:var(--text)}
.nl-manage-picker #nl-manage-calendar-note:empty{display:none}
.nl-manage-picker #nl-manage-calendar-note{margin-top:12px}
.nl-manage-picker .bk-loading{grid-column:1/-1;min-height:180px}
#nl-manage-reschedule-submit:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:420px){.nl-manage-picker .bk-day{min-height:36px}.nl-manage-picker .bk-dow{letter-spacing:0}.nl-manage-picker .bk-month{font-size:1.1rem}.nl-manage-picker .bk-slots{grid-template-columns:repeat(auto-fill,minmax(76px,1fr))}}
