/* Accessible booking management styles, scoped to the appointment feature. */
.appt-section{padding-top:35px;padding-bottom:40px}
.appt-card{background:#f7f9fc;border:1px solid #dee5ee;border-radius:20px;padding:clamp(18px,3.5vw,40px);color:#152238}
.appt-card .title{font-size:clamp(25px,3vw,40px);margin-bottom:15px}.appt-card .lead{max-width:72ch}
.appt-form{display:grid;gap:17px;max-width:720px;margin:22px 0}.appt-form .field{display:grid;gap:7px}
.appt-form select,.appt-form input,.appt-form textarea,.appt-reschedule{border:1px solid #c9d4e1;background:white;color:#182b43;padding:12px;border-radius:9px;max-width:100%;font:inherit;width:100%}
.appt-form textarea{min-height:92px}.appt-form .checkline{display:flex;gap:10px;align-items:flex-start}.appt-form .checkline input{width:auto;margin-top:5px}
.appt-notice{margin:12px 0;color:#155d52;font-weight:600;min-height:1em}.appt-error,.appt-warn{color:#ad481b!important}
.appt-policy{border-top:1px solid #d8e0eb;margin-top:20px;padding:18px 0;max-width:80ch}.appt-policy summary{cursor:pointer;font-weight:700}.appt-policy p{line-height:1.7;margin-top:12px}
.appt-stats{display:grid;grid-template-columns:repeat(5,minmax(90px,1fr));gap:9px;margin:22px 0}.appt-stat{background:white;border:1px solid #d6dfeb;border-radius:12px;text-align:center;padding:14px 8px;display:grid;gap:5px}.appt-stat b{font-size:25px}.appt-stat small{font-size:12px}
.appt-row{display:flex;gap:16px;align-items:center;justify-content:space-between;background:#fff;border:1px solid #d8e3ef;border-radius:11px;padding:15px;margin:10px 0}.appt-row small{color:#526074}.appt-row .appt-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end;max-width:420px}.appt-row button{white-space:normal}.appt-state{text-transform:capitalize;font-weight:700;color:#275373}.appt-three-cols{grid-template-columns:repeat(3,minmax(0,1fr));max-width:100%}
@media(max-width:720px){.appt-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.appt-three-cols{grid-template-columns:1fr}.appt-row{align-items:flex-start;flex-direction:column}.appt-row .appt-actions{justify-content:flex-start;max-width:100%}}

/* V7.7: private customer queue position for requested/paid-reschedule dates. */
.appt-queue{display:grid;gap:4px;margin:8px 0 3px;padding:10px 13px;border-radius:9px;border:1px solid #bdd9eb;background:#eef6fb;color:#22445e;max-width:520px}
.appt-queue.appt-queue-wait{background:#fff7ed;border-color:#e8c89b;color:#8a3f12}
.appt-queue strong{font-size:14px;line-height:1.4}
.appt-queue small{font-size:12px;line-height:1.5;color:#4e5c6e}

/* V7.8: A waitlist rank never implies an already-held or booked slot is available. */
.appt-queue.appt-queue-unavailable{background:#fff1f0;border-color:#e9b6ae;color:#9b3224}
.appt-queue.appt-queue-unavailable small{color:#653f3b}
/* V7.9 manual, auditable cancellation triage */
.uc-review{background:#fff;border:1px solid #d9e1eb;border-radius:14px;padding:18px;margin:14px 0;display:grid;gap:10px}
.uc-review p{margin:0;line-height:1.6}.uc-review-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;flex-wrap:wrap}.uc-review-head small{display:block;color:#4c6174;margin-top:5px}
.uc-review-risk{font-weight:700;border-radius:999px;padding:5px 12px;font-size:12px;white-space:nowrap}.uc-review-risk-green{background:#e7f6ec;color:#1f713f}.uc-review-risk-yellow{background:#fff1cc;color:#805500}.uc-review-risk-red{background:#ffe5e2;color:#a42b24}
.uc-review-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding-top:10px}.uc-review-form label{display:grid;gap:5px;font-size:13px;font-weight:600}.uc-review-fullrow{grid-column:1/-1}.uc-review-form input,.uc-review-form select,.uc-review-form textarea,.uc-cancel-dialog select{width:100%;padding:10px;border:1px solid #c9d4e1;border-radius:9px;background:#fff;font:inherit}.uc-review-form button{grid-column:1/-1;justify-self:start}
.uc-cancel-dialog{border:1px solid #cbd8e9;max-width:min(520px,calc(100vw - 24px));border-radius:16px;padding:0;color:#152238}.uc-cancel-dialog::backdrop{background:rgba(12,27,48,.55)}.uc-cancel-dialog-content{padding:26px;display:grid;gap:14px}.uc-cancel-dialog p{margin:0;line-height:1.5}.uc-cancel-dialog label{font-weight:700}.uc-cancel-buttons{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:12px}.uc-cancel-mine{display:grid;gap:4px;border-top:1px solid #dbe5ef;padding:12px 0}.uc-cancel-mine small{color:#5c6a7c}
@media(max-width:720px){.uc-review-form{grid-template-columns:1fr}.uc-review-form button{width:100%}}

/* V7.9.2: transparent refund status and combined founder cancellation history. */
.uc-cancel-history-heading{margin:28px 0 8px;padding-top:14px;border-top:1px solid #d9e1eb;font-size:20px}
.uc-cancel-history-row{display:flex;gap:16px;align-items:flex-start;justify-content:space-between;background:#fff;border:1px solid #d9e1eb;border-radius:12px;padding:14px 18px;margin:10px 0}
.uc-cancel-history-row small{display:block;margin-top:5px;color:#4c6174;line-height:1.5}
.uc-cancel-history-state{font-weight:700;color:#275373;white-space:nowrap}
.uc-refund-status{font-size:14px;color:#234d6c;line-height:1.6}
@media(max-width:720px){.uc-cancel-history-row{flex-direction:column}.uc-cancel-history-state{white-space:normal}}
