/* NINAWA Booking: the daybook. Warm paper, ink rules and a restrained gold signature. */
body { background:var(--brand-bg); }
main { max-width:1440px; padding:36px clamp(20px,5vw,80px) 60px; }
h1,h2,h3 { text-wrap:balance; }
.panel { border-radius:8px; box-shadow:none; }
button,.button,input,select { border-radius:5px; }
summary { list-style:none; }
summary::-webkit-details-marker { display:none; }
.site-header-inner { max-width:1440px; padding-inline:clamp(20px,5vw,80px); }
.site-header { background:var(--brand-bg); }
.menu-toggle { border-radius:4px; }
.edition-line { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:0 0 18px; border-bottom:1px solid var(--brand-line); color:var(--muted); font-size:.68rem; letter-spacing:.1em; }
.edition-line span:first-child { color:var(--brand-navy); font-weight:750; }
.booking-editorial { display:grid; grid-template-columns:1.1fr 1fr; gap:clamp(32px,6vw,100px); align-items:center; padding:70px 0 78px; }
.editorial-copy h1 { font-size:clamp(3rem,5.6vw,5.7rem); line-height:1.07; letter-spacing:-.055em; font-weight:650; margin-bottom:28px; }
.editorial-copy h1 em { font-style:normal; color:var(--brand-gold-deep); }
[dir=rtl] .editorial-copy h1 { font-size:clamp(3.3rem,6.4vw,6.3rem); line-height:1.35; letter-spacing:0; }
.editorial-intro { max-width:490px; font-size:1.05rem; color:var(--muted); line-height:1.95; }
.editorial-actions { display:flex; align-items:center; gap:24px; flex-wrap:wrap; margin:28px 0 18px; }
.editorial-actions>a:last-child { font-size:.85rem; text-decoration:none; border-bottom:1px solid var(--brand-navy); padding:8px 0; }
.activation-note { font-size:.75rem; color:var(--muted); }
.daybook { position:relative; border:1px solid var(--brand-line); border-inline-start:7px solid var(--brand-navy); padding:26px 30px 0; background:#fffdf8; box-shadow:12px 14px 0 #e9e3d5; }
.daybook-top { display:flex; align-items:center; gap:12px; padding-bottom:20px; border-bottom:1px solid var(--brand-line); font-size:.8rem; letter-spacing:.15em; font-weight:750; }
.daybook-top small { font-size:.65rem; color:var(--muted); font-weight:400; letter-spacing:.05em; }
.sample-label { margin-inline-start:auto; color:var(--muted); font-size:.6rem; letter-spacing:.05em; font-weight:400; }
.daybook-title { display:flex; align-items:start; justify-content:space-between; gap:20px; padding:28px 0 16px; }
.daybook-title h2 { font-size:1.65rem; max-width:250px; }
.daybook-title>span { font-size:.7rem; white-space:nowrap; border-bottom:3px solid var(--brand-gold); padding-bottom:10px; direction:ltr; }
.daybook-row { display:grid; grid-template-columns:52px 1fr 22px; align-items:center; gap:16px; padding:22px 0; border-top:1px solid var(--brand-line); }
.daybook-row time { font-size:.85rem; font-variant-numeric:tabular-nums; direction:ltr; }
.daybook-row strong,.daybook-row span { display:block; }
.daybook-row strong { font-size:.95rem; }
.daybook-row div span { font-size:.73rem; color:var(--muted); margin-top:4px; }
.schedule-mark { color:var(--brand-gold-deep); }
.daybook-gap { display:flex; gap:15px; align-items:center; justify-content:space-between; background:var(--brand-gold-soft); padding:12px; font-size:.68rem; border-top:1px solid var(--brand-line); }
.daybook-bottom { display:flex; justify-content:space-between; gap:12px; margin:24px -30px 0; padding:15px 20px; background:var(--brand-navy); color:#fff; font-size:.66rem; }
.daybook-bottom span:last-child { color:#e6cb73; font-weight:700; }
.sector-strip { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:24px; border-block:1px solid var(--brand-line); padding:24px 0; }
.sector-strip>span:first-child { font-size:.65rem; color:var(--muted); letter-spacing:.08em; }
.sector-strip strong { font-size:.9rem; font-weight:550; }
.sector-strip>span:not(:first-child) { color:var(--brand-gold-deep); }
.workflow-story { display:grid; grid-template-columns:1fr 1.2fr; gap:80px; padding:90px 0; }
.story-heading h2 { font-size:clamp(2rem,3vw,3rem); max-width:430px; }
.story-heading>p:last-child { color:var(--muted); max-width:400px; line-height:1.9; }
.story-steps article { display:grid; grid-template-columns:32px 1fr 20px; gap:22px; padding:24px 0; border-top:1px solid var(--brand-line); }
.story-steps article:last-child { border-bottom:1px solid var(--brand-line); }
.story-index { font-size:.7rem; color:var(--brand-gold-deep); font-weight:700; padding-top:5px; }
.story-steps h3 { font-size:1.1rem; margin:0 0 10px; }
.story-steps p { color:var(--muted); font-size:.9rem; margin:0; line-height:1.85; }
.story-arrow { color:var(--brand-gold-deep); }
.brand-principle { display:grid; grid-template-columns:80px 1fr auto; gap:35px; align-items:center; border-block:1px solid var(--brand-line); padding:38px 0; }
.brand-principle h2 { font-size:1.7rem; }
.brand-principle p:last-child { color:var(--muted); font-size:.9rem; max-width:620px; margin-bottom:0; }
.brand-principle a { font-size:.85rem; white-space:nowrap; }
.workspace-navigation { border-radius:4px; padding:18px 0; background:none; border-inline:0; border-top:0; margin-bottom:35px; }
.workspace-initial { border-radius:3px; }
.workspace-navigation nav a { border-radius:3px; }
.page-heading h1 { font-size:clamp(2rem,3.6vw,3rem); }
.page-heading .eyebrow { margin-bottom:8px; }
.page-subtitle { color:var(--muted); max-width:620px; margin-bottom:0; }
.stats { gap:0; border-block:1px solid var(--brand-line); margin:28px 0; }
.stats>div { background:none; border:0; border-radius:0; padding:24px; border-inline-end:1px solid var(--brand-line); }
.stats>div:first-child { padding-inline-start:0; }
.stats>div:last-child { border-inline-end:0; }
.stats strong { font-size:2.5rem; font-variant-numeric:tabular-nums; }
.agenda-list { background:var(--brand-surface); border:1px solid var(--brand-line); border-radius:6px; }
.agenda-list>.section-heading { padding:22px 26px; margin:0; }
.agenda-list>.appointment { margin:0 26px; }
.appointment { grid-template-columns:155px 1fr auto; }
.appointment-context { font-size:.73rem; color:var(--muted); margin-top:8px!important; display:flex; gap:7px; flex-wrap:wrap; }
.appointment-context span { background:var(--brand-bg); padding:2px 7px; }
.agenda-list>.actions { padding:15px 26px; }
.week-overview { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); border-inline-start:1px solid var(--brand-line); margin:0 0 24px; }
.week-day { min-width:0; display:grid; gap:6px; padding:16px 10px; border:1px solid var(--brand-line); border-inline-start:0; text-decoration:none; background:var(--paper); }
.week-day[aria-current=date] { background:var(--brand-navy); color:#fff; }
.week-day span { font-size:.7rem; }
.week-day strong { font-size:1.25rem; }
.week-day small { font-size:.65rem; opacity:.8; }
.manual-desk { margin-top:26px; background:var(--brand-gold-soft); padding:0 26px; border:1px solid var(--brand-line); border-radius:6px; }
.manual-desk>summary { padding:23px 0; font-size:1rem; }
.manual-desk>div { padding-bottom:26px; }
.business-card { position:relative; border-radius:4px; min-height:240px; justify-content:space-between; border-top:3px solid var(--brand-navy); box-shadow:none; }
.business-card:hover { background:var(--brand-surface-warm); box-shadow:none; }
.business-card .business-letter { border-radius:4px; }
.business-card>strong { font-size:1.4rem; }
.business-card>span:last-child { font-size:.8rem; border-top:1px solid var(--brand-line); width:100%; padding-top:16px; }
.booking-masthead { display:flex; gap:22px; align-items:center; border-bottom:1px solid var(--brand-line); padding-bottom:25px; margin-bottom:28px; }
.booking-masthead h1 { font-size:2rem; margin:0; }
.booking-masthead .eyebrow { margin:0 0 6px; }
.booking-masthead .business-letter { border-radius:4px; width:64px; height:64px; flex-shrink:0; }
.booking-layout { grid-template-columns:minmax(0,1.8fr) minmax(240px,.8fr); gap:36px; align-items:start; }
.booking-main { padding:28px 32px; }
.booking-info { padding:24px; border-top:3px solid var(--brand-gold); background:#eee9df; }
.booking-info h2 { font-size:1rem; }
.booking-info>p { font-size:.85rem; overflow-wrap:anywhere; }
.booking-info details { font-size:.85rem; }
.service-summary { font-size:.85rem; }
.service-summary span { font-size:.75rem; }
.booking-doctors { margin:1.2rem 0; }
.doctor-card { padding:.9rem 0; border-top:1px solid var(--line); }
.doctor-card span, .doctor-card small { display:block; color:var(--muted); font-size:.85rem; }
.doctor-card p { margin:.4rem 0 0; font-size:.9rem; }
.booking-steps { display:flex; gap:30px; padding-bottom:22px; border-bottom:1px solid var(--brand-line); margin-bottom:26px; font-size:.78rem; color:var(--muted); }
.booking-steps span { display:flex; align-items:center; gap:8px; }
.booking-steps b { display:inline-grid; place-items:center; width:25px; height:25px; border:1px solid var(--brand-line); border-radius:50%; font-size:.7rem; }
.booking-steps [aria-current=step] { color:var(--brand-navy); font-weight:700; }
.booking-steps [aria-current=step] b { background:var(--brand-navy); color:#fff; }
.booking-fieldset { border:0; padding:0; margin:0; min-width:0; }
.booking-fieldset legend { font-size:1.25rem; font-weight:650; margin-bottom:20px; }
.slot-buttons { display:grid; grid-template-columns:repeat(auto-fill,minmax(96px,1fr)); gap:8px; margin:16px 0; max-height:255px; overflow:auto; }
.slot-buttons button { background:#fff; border:1px solid var(--brand-line); color:var(--brand-navy); font-size:.85rem; padding:9px; }
.slot-buttons button[aria-pressed=true] { background:var(--brand-navy); color:#fff; border-color:var(--brand-navy); }
.booking-summary { padding:16px; background:var(--brand-gold-soft); border-inline-start:3px solid var(--brand-gold); margin-bottom:22px; font-size:.85rem; }
.booking-summary strong { display:block; margin-bottom:8px; }
.step-back { margin-bottom:18px; }
.setup-layout { display:grid; grid-template-columns:230px minmax(0,1fr); gap:32px; align-items:start; }
.setup-nav { position:sticky; top:20px; display:grid; border-top:1px solid var(--brand-line); }
.setup-nav a { padding:16px 12px; border-bottom:1px solid var(--brand-line); text-decoration:none; font-size:.85rem; display:flex; gap:12px; }
.setup-nav a span { color:var(--muted); font-size:.7rem; padding-top:3px; }
.setup-nav a[aria-current=step] { background:var(--brand-navy); color:#fff; }
.setup-nav a[aria-current=step] span { color:#e6cb73; }
.setup-content { min-width:0; }
.setup-content .two-columns { grid-template-columns:1fr; gap:0; }
.setup-checklist { display:flex; gap:8px; flex-wrap:wrap; margin:0 0 25px; }
.setup-checklist a { font-size:.75rem; background:var(--paper); border:1px solid var(--brand-line); padding:7px 12px; text-decoration:none; }
.setup-checklist a[data-ready=true] { border-color:#78937f; background:#edf3ee; color:#275139; }
.setup-content .panel h2 { border-bottom:1px solid var(--brand-line); padding-bottom:20px; }
.auth { border-top:4px solid var(--brand-gold); border-radius:4px; box-shadow:10px 10px 0 #e9e3d5; }
[hidden] { display:none!important; }
textarea { display:block; width:100%; margin-top:8px; padding:12px; font:inherit; border:1px solid var(--brand-border); border-radius:5px; background:#fff; color:var(--ink); resize:vertical; }
textarea:focus-visible { outline:3px solid var(--brand-gold-deep); outline-offset:3px; }
.palette-preview { display:flex; gap:10px; margin-bottom:22px; }
.palette-preview span { width:46px; height:46px; display:grid; place-items:center; background:var(--brand-navy); color:#e6cb73; border-bottom:4px solid #d4aa00; }
.palette-preview [data-palette=olive] { background:#345345; color:#f8f5e7; border-color:#9aab7f; }
.palette-preview [data-palette=clay] { background:#803f31; color:#fff5e8; border-color:#cf9971; }
.business-booking[data-brand=olive] { --brand-navy:#345345; --brand-gold:#9aab7f; --brand-gold-soft:#edf1e5; --green:#345345; }
.business-booking[data-brand=clay] { --brand-navy:#803f31; --brand-gold:#cf9971; --brand-gold-soft:#faece3; --green:#803f31; }
.business-booking .business-letter { background:var(--brand-navy); color:#fff; border:0; }
.business-welcome { font-size:.9rem; color:var(--muted); max-width:680px; margin-bottom:0; white-space:pre-line; overflow-wrap:anywhere; }
.service-detail { display:block; font-size:.75rem; font-weight:400; color:var(--muted); padding-top:5px; }
.access-layout { display:grid; grid-template-columns:1fr 1fr; max-width:1060px; margin:30px auto; border:1px solid var(--brand-line); }
.access-brand { display:flex; flex-direction:column; background:var(--brand-navy-deep); color:#fff; padding:48px; position:relative; overflow:hidden; }
.access-brand .eyebrow { color:#e6cb73; margin-top:50px; font-size:.7rem; }
.access-brand h2 { font-size:3rem; margin-bottom:28px; }
.access-brand>p:not(.eyebrow) { color:#c5d0df; font-size:.9rem; line-height:1.9; }
.access-rule { display:flex; align-items:center; gap:15px; font-size:.65rem; direction:ltr; padding:25px 0; }
.access-rule i { height:1px; background:#e6cb73; flex:1; }
.access-signature { color:#e6cb73; font-size:.7rem; letter-spacing:.15em; margin-top:auto; padding-top:35px; }
.access-layout .auth { border:0; border-radius:0; box-shadow:none; max-width:none; width:100%; margin:0; padding:42px; }
@media(max-width:750px) { .access-layout { grid-template-columns:1fr; margin:0; }.access-brand { padding:28px; }.access-brand .eyebrow { margin:28px 0 10px; }.access-brand h2 { font-size:2.1rem; margin:0; }.access-brand>p:not(.eyebrow),.access-rule,.access-signature { display:none; }.access-layout .auth { padding:28px; } }
@media(max-width:1000px) {
  .booking-editorial { gap:40px; }.workflow-story { gap:40px; }.brand-principle { grid-template-columns:65px 1fr; }.brand-principle a { grid-column:2; }
  .booking-layout { grid-template-columns:minmax(0,1.6fr) minmax(220px,1fr); gap:20px; }.booking-main { padding:24px; }.setup-layout { grid-template-columns:190px minmax(0,1fr); gap:20px; }
}
@media(max-width:750px) {
  main { padding-top:22px; }.edition-line span:last-child { display:none; }.edition-line { font-size:.6rem; letter-spacing:0; }
  .booking-editorial { grid-template-columns:1fr; padding:40px 0 45px; gap:35px; }.editorial-copy h1 { font-size:3.4rem; }[dir=rtl] .editorial-copy h1 { font-size:3.8rem; }
  .editorial-intro { font-size:.95rem; }.editorial-actions { gap:18px; }.daybook { max-width:540px; width:calc(100% - 12px); padding:22px 22px 0; }.daybook-bottom { margin-inline:-22px; }
  .sector-strip { justify-content:start; gap:14px 20px; }.sector-strip>span:first-child { flex-basis:100%; }.sector-strip strong { font-size:.78rem; }
  .workflow-story { grid-template-columns:1fr; gap:20px; padding:45px 0; }.brand-principle { gap:20px; grid-template-columns:42px 1fr; }.brand-principle img { width:42px; height:42px; }.brand-principle h2 { font-size:1.4rem; }
  .booking-layout { grid-template-columns:1fr; }.booking-info { order:2; padding:20px; }.booking-main { padding:22px 18px; }.booking-masthead { gap:16px; }.booking-masthead h1 { font-size:1.55rem; }
  .booking-steps { gap:20px; font-size:.7rem; }.booking-steps span { gap:6px; }.slot-buttons { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .setup-layout { grid-template-columns:1fr; }.setup-nav { position:static; grid-template-columns:repeat(2,minmax(0,1fr)); }.setup-nav a { padding:12px 8px; font-size:.78rem; }
  .week-overview { grid-template-columns:repeat(7,minmax(0,1fr)); }.week-day { padding:12px 4px; text-align:center; }.week-day span { font-size:.6rem; }.week-day small { font-size:.55rem; }
  .appointment { grid-template-columns:1fr; }.agenda-list>.appointment { margin-inline:18px; }.stats>div { padding:16px 10px; }.stats strong { font-size:2rem; }.stats span { font-size:.7rem; }
  .manual-desk { padding-inline:18px; }.manual-desk>summary { font-size:.9rem; }.workspace-navigation nav a { font-size:.78rem; }
}

.form-feedback { border:1px solid #c27461; border-inline-start:4px solid #a33136; background:#fff5ef; padding:16px 18px; margin:0 0 24px; color:#702e25; font-size:.9rem; }
.day-navigation { margin:20px 0; }
.contact-actions { display:flex; flex-wrap:wrap; gap:6px 18px; overflow-wrap:anywhere; }
.message-attention { color:#805625; font-size:.8rem; padding-block:6px; }
.collection-record { border-top:1px solid var(--brand-line); padding:16px 0; }
.collection-record bdi,.panel .stats+p bdi { white-space:nowrap; }
.stats { grid-template-columns:repeat(3,minmax(0,1fr)); }
.stats>div { min-width:0; }
.stats strong { overflow-wrap:anywhere; }
.stats .button { min-height:32px; font-size:.7rem; margin-top:8px; padding:4px 10px; }
@media(max-width:600px) {
  .panel .stats { grid-template-columns:1fr; gap:0; }
  .panel .stats>div { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:12px 0; border-inline:0; border-block-start:0; }
  .panel .stats strong { font-size:1.4rem; margin:0; }
  .panel .stats span { font-size:.8rem; }
}
.form-feedback p { margin:8px 0; }.form-feedback span { font-size:.8rem; }.field-error { display:block; font-size:.8rem; font-weight:400; color:#a33136; margin-top:6px; }[aria-invalid=true] { border-color:#a33136; }

.saved-status { border:1px solid #9dc3aa; border-inline-start:4px solid #215d38; background:#edf5ef; color:#215d38; padding:12px 18px; font-size:.9rem; }
.patient-matches { display:flex; flex-wrap:wrap; gap:.5rem; align-items:center; margin:-.4rem 0 1rem; }
.patient-matches span { width:100%; font-size:.85rem; color:var(--muted); }
.patient-facts { display:grid; grid-template-columns:max-content 1fr; gap:.4rem 1.2rem; margin:0 0 1rem; }
.patient-facts dt { color:var(--muted); font-size:.85rem; }
.patient-facts dd { margin:0; overflow-wrap:anywhere; }
.recovery-codes { border:1px solid var(--line); border-radius:12px; padding:1rem 1.2rem; margin:1rem 0; background:var(--paper); }
.recovery-codes ol { columns:2; padding-inline-start:1.4rem; font-size:1rem; }
.otp-box { display:flex; flex-wrap:wrap; gap:.6rem; align-items:end; margin:-.2rem 0 1rem; }
.otp-box label { flex:1 1 12rem; margin:0; }
.otp-status { width:100%; margin:0; }
.my-booking > div { display:flex; flex-direction:column; gap:.2rem; }
