:root{--ink:#29233c;--muted:#71697b;--accent:#8e2855;--accent-dark:#6c1a40;--pink:#f9edf2;--line:#e9e3ea;--bg:#fcfbfd;--green:#246851}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--bg);font:16px/1.65 ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif}a{color:var(--accent);text-decoration:none}a:hover{text-decoration:underline}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #5a93ce;outline-offset:4px}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.15;letter-spacing:-.035em}h2{font-size:2.25rem}h3{font-size:1.3rem}p{color:var(--muted)}.wrap{max-width:1240px;margin:auto;padding:0 38px}.narrow{max-width:740px}.topline{background:var(--ink);color:#f8eff4;font-size:.85rem}.topline .wrap{display:flex;justify-content:space-between;padding-top:8px;padding-bottom:8px}.topline a{color:white}header{background:#fff;border-bottom:1px solid var(--line)}.navigation{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:100px}.brand{display:flex;align-items:center;gap:12px;font-size:1.45rem;font-weight:750;letter-spacing:-.045em;color:var(--ink)}.brand:hover{text-decoration:none}.brand small{display:block;font-size:.62rem;letter-spacing:.16em;font-weight:600;color:var(--accent)}.brand-mark{background:var(--accent);color:white;border-radius:15px;width:49px;height:49px;font-family:Georgia,serif;text-align:center;line-height:1.9}.brand-mark span{color:#ffb9d0}.navigation nav{display:flex;gap:25px;align-items:center;font-size:.91rem;font-weight:600}.navigation nav>a:not(.button){color:var(--ink)}.navigation form{margin:0}.button{display:inline-flex;justify-content:center;align-items:center;gap:24px;background:var(--accent);color:white;border:1px solid transparent;border-radius:9px;padding:15px 23px;font-weight:650;font-size:1rem;line-height:1.4;cursor:pointer;text-decoration:none}.button:hover{background:var(--accent-dark);color:white;text-decoration:none}.button.small{padding:11px 17px;font-size:.9rem}.button.outline{border-color:var(--line);background:white;color:var(--accent)}.button.light{background:white;color:var(--accent);width:100%}.text-link{font-weight:650}.link-button{background:transparent;color:var(--accent);border:0;cursor:pointer;padding:0}.hero{background:linear-gradient(110deg,#fcf6f9 0%,#f4f0f7 100%);border-bottom:1px solid var(--line)}.hero-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:80px;align-items:center;padding-top:76px;padding-bottom:70px}.eyebrow{font-size:.77rem;letter-spacing:.16em;font-weight:750;color:var(--accent);margin-bottom:18px}.hero h1{font-size:clamp(3rem,5vw,4.7rem);font-weight:650;line-height:1.08;margin-bottom:25px}.hero h1 em{color:var(--accent);font-family:Georgia,'Times New Roman',serif;font-weight:400}.lead{font-size:1.15rem;max-width:640px;line-height:1.8}.actions{display:flex;gap:26px;align-items:center;flex-wrap:wrap;margin:28px 0}.hero-foot{display:flex;gap:16px;flex-wrap:wrap;margin-top:38px;font-size:.8rem;color:var(--muted)}.hero-foot span{border-top:1px solid #d8c7d1;padding-top:10px}.hero-card{background:var(--ink);border-radius:24px;padding:35px;color:white;box-shadow:0 25px 65px #33203916}.hero-card .eyebrow{color:#edb7ce}.hero-card h2{font-size:2rem;margin-bottom:28px}.step{display:flex;gap:18px;border-top:1px solid #ffffff20;padding:17px 0}.step>span{font-family:Georgia,serif;color:#eeb6ce;font-size:1.25rem}.step strong{font-size:.96rem}.step p{font-size:.88rem;line-height:1.6;color:#d0c8d6;margin:5px 0}.section{padding-top:58px;padding-bottom:64px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:32px}.section-heading h1,.section-heading h2{margin-bottom:12px}.section-heading p{margin:0}.section-heading.compact{margin:22px 0}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin:28px 0 45px}.card{background:white;border:1px solid var(--line);border-radius:15px;padding:28px;display:flex;flex-direction:column;align-items:flex-start}.card p{font-size:.94rem}.card-number{font-family:Georgia,serif;font-size:2rem;color:#bf809c;margin-bottom:32px}.card h3{min-height:2.4em}.card-bottom{display:flex;justify-content:space-between;gap:18px;border-top:1px solid var(--line);padding-top:20px;margin-top:auto;width:100%;font-size:.88rem}.contact-band{background:var(--pink);border:1px solid #efdce6;border-radius:20px;display:flex;align-items:center;justify-content:space-between;padding:38px;margin-bottom:65px;max-width:1164px}.contact-band h2{margin-bottom:15px}.contact-band p{margin:0}footer{background:white;border-top:1px solid var(--line);padding-top:46px}.footer-grid{display:grid;grid-template-columns:1.1fr 1fr .8fr;gap:50px}.footer-grid>div{display:flex;flex-direction:column;gap:9px;font-size:.85rem}.footer-grid strong{margin-bottom:9px;font-size:.95rem}.footer-grid a:not(.brand){color:var(--muted)}.footer-bottom{display:flex;justify-content:space-between;font-size:.8rem;color:var(--muted);border-top:1px solid var(--line);margin-top:35px;padding-top:22px;padding-bottom:22px}.page-title{font-size:clamp(2rem,3.4vw,3.2rem);margin-bottom:20px}.panel{background:white;border:1px solid var(--line);border-radius:16px;padding:28px;margin-bottom:24px}.panel h2{font-size:1.5rem}.form label,label{display:block;font-weight:600;font-size:.93rem;margin-bottom:7px}.form p{margin-bottom:21px;color:var(--ink)}input,select,textarea{display:block;width:100%;padding:11px 13px;border:1px solid #d4cbd9;border-radius:7px;color:var(--ink);background:white;min-height:46px}textarea{resize:vertical}input[type=checkbox],input[type=radio]{display:inline-block;width:19px;height:19px;min-height:0;accent-color:var(--accent);vertical-align:middle}input[type=hidden]{display:none}.helptext{display:block;font-size:.8rem;color:var(--muted);margin-top:7px}.form ul{font-size:.85rem;color:var(--muted);padding-left:20px}.errorlist,.form .errorlist{color:#a32438;background:#fff2f2;padding:10px 25px;border-radius:6px}.split-links{display:flex;justify-content:space-between;gap:12px;font-size:.9rem}.notice{background:#f9f1df;border:1px solid #edddba;padding:18px 22px;border-radius:10px;margin:20px 0;font-size:.95rem}.notice.success{background:#ebf7ef;border-color:#c5e4ce}.notice.error{background:#fff0f1;border-color:#eabcc4}.messages{padding-top:5px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:30px 0 42px}.stats.four{grid-template-columns:repeat(4,1fr)}.stats>div{background:white;border:1px solid var(--line);border-radius:13px;padding:23px}.stats span{display:block;color:var(--muted);font-size:.87rem}.stats strong{display:block;font-size:2.3rem;font-weight:600;margin-top:8px;line-height:1.1}.stats small{font-size:.9rem}.avatar{width:45px;height:45px;border-radius:50%;background:var(--pink);color:var(--accent);display:grid;place-items:center;font-size:1.25rem;margin-bottom:16px}.children .card h3{min-height:0;margin-bottom:10px}.empty{border:1px dashed #cfc4d4;border-radius:14px;padding:32px;grid-column:1/-1;background:#fff}.empty p:last-child{margin:0}.booking-row{display:flex;align-items:center;gap:23px;padding:20px;background:white;border:1px solid var(--line);border-radius:12px;margin-bottom:12px;color:var(--ink)}.booking-row:hover{text-decoration:none;border-color:#b686a0}.booking-row>div:nth-child(2){flex:1}.booking-row p{margin:5px 0 0;font-size:.87rem}.date-box{min-width:64px;text-align:center;background:#f5f2f7;border-radius:8px;padding:9px}.date-box strong{display:block;font-size:1.5rem;line-height:1.2}.date-box span{font-size:.8rem}.badge{display:inline-block;border-radius:6px;padding:6px 10px;font-size:.76rem;font-weight:650;white-space:normal;background:#f0edf3;color:#5e536c}.badge.pending,.badge.review{background:#fcf2dc;color:#7b5914}.badge.approved,.badge.completed,.badge.paid{background:#e8f4ec;color:#286446}.badge.cancelled,.badge.rejected,.badge.expired{background:#f9e9ec;color:#95344e}.booking-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:26px;margin-top:30px;align-items:start}.booking-summary{position:sticky;top:20px}.booking-summary .button{width:100%}.slot-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.slot{border:1px solid var(--line);border-radius:9px;padding:14px;display:flex;align-items:flex-start;gap:10px;cursor:pointer}.slot:has(input:checked){border-color:var(--accent);background:var(--pink)}.slot>span>span,.slot small{display:block;font-size:.8rem;font-weight:400;margin-top:4px}.slot strong{font-size:.9rem}.slot input{flex-shrink:0}dl{display:grid;grid-template-columns:1fr 1.4fr;gap:13px;font-size:.93rem}dt{color:var(--muted)}dd{margin:0;overflow-wrap:anywhere}.muted{color:var(--muted);font-size:.9rem}.mono{font-family:ui-monospace,monospace;font-size:.78rem;overflow-wrap:anywhere}.cancel-form{border-top:1px solid var(--line);padding-top:22px;margin-top:28px}.danger{color:#a12d43}.visit-note{border-left:3px solid #c69ab3;background:#faf7fb;padding:20px;margin:20px 0}.visit-note small{display:block;color:var(--muted)}.summary{border-top:1px solid var(--line);padding-top:14px}.staff-nav{background:var(--pink);border-bottom:1px solid var(--line)}.staff-nav .wrap{display:flex;gap:32px;padding-top:13px;padding-bottom:13px;font-size:.9rem;font-weight:600}.staff-nav span{margin-left:auto;color:var(--muted)}.filters{display:flex;align-items:flex-end;gap:16px;margin:22px 0}.filters label{flex:1}.table-wrap{overflow-x:auto}table{border-collapse:collapse;text-align:left;width:100%;font-size:.87rem}th{font-size:.77rem;text-transform:uppercase;letter-spacing:.04em;color:var(--muted);font-weight:600;background:#f9f7fa}td,th{padding:18px 13px;border-bottom:1px solid var(--line)}td small{display:block;color:var(--muted);margin-top:5px;font-size:.78rem}td strong{font-weight:600}.pagination{display:flex;gap:20px;justify-content:center;padding-top:25px;font-size:.9rem}.stat-pill{background:var(--pink);padding:18px;border-radius:12px}.stat-pill strong{font-size:1.5rem}.price{font-weight:650;white-space:nowrap}.prose h2{font-size:1.4rem;margin-top:32px}.demo{text-align:center;background:#f6e9bb;padding:5px;font-size:.75rem;color:#655016}.skip{position:absolute;top:-100px;left:15px;background:white;padding:12px;z-index:9}.skip:focus{top:10px}hr{border:0;border-top:1px solid var(--line);margin:24px 0}@media(max-width:1000px){.navigation{flex-wrap:wrap;padding-top:18px;padding-bottom:18px}.navigation nav{gap:18px;flex-wrap:wrap}.hero-grid{gap:35px}.hero h1{font-size:3.6rem}.cards{gap:14px}.card{padding:22px}.stats.four{grid-template-columns:repeat(2,1fr)}}@media(max-width:720px){.wrap{padding-left:20px;padding-right:20px}.topline .wrap{font-size:.7rem;gap:12px}.navigation nav{gap:14px;font-size:.8rem}.navigation nav .button{font-size:.8rem;padding:8px 12px}.navigation{gap:16px}.hero-grid{grid-template-columns:1fr;padding-top:44px;padding-bottom:38px;gap:30px}.hero h1{font-size:3.4rem}.hero-card{padding:26px}.hero-foot{margin-top:24px}.cards,.booking-layout{grid-template-columns:1fr}.section{padding-top:36px;padding-bottom:42px}.section-heading{align-items:flex-start;flex-direction:column}.section-heading h2{font-size:1.7rem}.section-heading.compact{flex-direction:row;align-items:center}.contact-band{margin:0 20px 42px;flex-direction:column;align-items:flex-start;gap:20px;padding:28px}.footer-grid{grid-template-columns:1fr;gap:28px}.footer-bottom{gap:15px;flex-wrap:wrap}.stats{gap:10px}.stats>div{padding:15px}.stats span{font-size:.75rem}.stats strong{font-size:1.7rem}.panel{padding:22px}.booking-row{gap:12px;flex-wrap:wrap}.booking-row .badge{margin-left:76px}.booking-row>span:last-child{display:none}.filters{flex-direction:column;align-items:stretch}.slot-grid{grid-template-columns:1fr}.staff-nav .wrap{gap:20px;flex-wrap:wrap}.staff-nav span{margin-left:0}.lead{font-size:1.02rem}h2{font-size:1.9rem}.card h3{min-height:0}.booking-summary{position:static}dl{grid-template-columns:1fr;gap:4px}dd{margin-bottom:12px}.brand{font-size:1.3rem}}@media(prefers-reduced-motion:no-preference){.button,.card,.booking-row{transition:background .15s,border-color .15s}}
/* A light illustrated garden, drawn entirely with scalable vectors. */
:root{--bg:#fffcf8;--ink:#35334a;--accent:#995370;--accent-dark:#78405b;--pink:#f8eaf0;--line:#eae4e2}.hero{position:relative;isolation:isolate;overflow:hidden;background:#fcf7ef}.hero-art{position:absolute;inset:0;z-index:-1;pointer-events:none;overflow:hidden}.parallax-art{width:100%;height:115%;object-fit:cover;will-change:transform}.hero-grid{gap:64px;padding-top:80px;padding-bottom:85px}.hero h1{font-weight:700;letter-spacing:-.055em}.hero h1 em{position:relative}.hero-foot span{background:#fff9;border:1px solid #e5dbd8;padding:8px 12px;border-radius:24px}.hero-card{background:#47445c;border-radius:36px 36px 90px 36px;padding:30px 36px;box-shadow:0 24px 60px #51415f20}.family-art{display:block;width:230px;max-width:100%;height:auto;margin:-10px auto 12px}.hero-card h2{font-size:1.9rem}.hero-card .eyebrow{font-size:.68rem}.button{border-radius:28px;box-shadow:0 5px 12px #78405b12}.card{border-radius:26px;box-shadow:0 10px 30px #51415f06}.card:nth-child(3n+1){background:#fbf1f4}.card:nth-child(3n+2){background:#edf5ef}.card:nth-child(3n+3){background:#faf2df}.card-number{background:#fff9;width:55px;height:55px;display:grid;place-items:center;border-radius:50%;font-size:1.5rem;margin-bottom:25px}.panel{box-shadow:0 8px 30px #51415f05;border-radius:24px}.contact-band{background:linear-gradient(115deg,#e5f0e8,#f8efdf);border:0;border-radius:32px}.calendar-week,.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px}.calendar-week{text-align:center;font-size:.76rem;color:var(--muted);margin-bottom:10px}.calendar-day{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:76px;border:1px solid #d6e6db;border-radius:14px;background:#eff6f1;color:#345e49;line-height:1.3;padding:7px 2px}.calendar-day strong{font-size:1.15rem}.calendar-day small{font-size:.65rem;margin:2px 0}.calendar-day:hover{text-decoration:none;border-color:var(--accent);background:var(--pink)}.calendar-day.selected{background:var(--accent);border-color:var(--accent);color:white;box-shadow:0 4px 12px #99537030}.calendar-day.unavailable{background:#f6f4f2;color:#aaa3a7;border-color:transparent}.day-dot{display:inline-block;width:5px;height:5px;border-radius:50%;background:#5b9675}.selected .day-dot{background:white}.calendar-legend{font-size:.8rem;margin:14px 0 28px}.calendar-legend .day-dot{vertical-align:middle;margin-right:6px}#appointment-calendar{scroll-margin-top:20px}.slot strong{font-size:1.3rem}.slot{border-radius:15px}.slot:hover{background:#faf4f7}.reveal{opacity:1}.button:active{transform:translateY(1px)}
@media(prefers-reduced-motion:no-preference){.button,.card,.calendar-day,.slot{transition:transform .22s ease,background .22s ease,box-shadow .22s ease}.button:hover{transform:translateY(-2px);box-shadow:0 8px 22px #78405b25}.card:hover{transform:translateY(-5px);box-shadow:0 16px 35px #51415f10}.hero-grid>div{animation:arrive .7s ease both}.hero-grid>.hero-card{animation-delay:.12s}.reveal.entered{animation:arrive .65s ease both}@keyframes arrive{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}}
@media(max-width:720px){.hero-grid{padding-top:44px;padding-bottom:44px;gap:30px}.hero h1{font-size:clamp(2.6rem,11vw,3.4rem)}.hero-card{padding:25px;border-radius:28px 28px 65px 28px}.calendar-grid,.calendar-week{gap:4px}.calendar-day{min-height:65px;border-radius:10px}.calendar-day strong{font-size:1rem}.calendar-day small{font-size:.6rem}.panel{padding:18px}.family-art{width:200px}.parallax-art{will-change:auto}.hero-foot{gap:7px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.parallax-art{transform:none!important;will-change:auto}}
.preferences{display:flex;justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:14px;padding-top:0;padding-bottom:14px}.theme-controls,.language-controls{display:flex;align-items:center;gap:6px;margin:0}.preferences button{border:1px solid var(--line);background:var(--bg);color:var(--ink);padding:7px 12px;border-radius:20px;cursor:pointer;font-size:.78rem;min-height:36px}.preferences button[aria-pressed=true]{background:var(--ink);color:var(--bg);border-color:var(--ink)}.preferences select{width:auto;min-height:36px;padding:5px 9px;font-size:.8rem}.preferences label{margin:0;font-size:.8rem}.preferences form{margin:0}.theme-controls button:hover,.language-controls button:hover{border-color:var(--accent)}
html[data-theme=dark]{color-scheme:dark;--bg:#171922;--ink:#eeeaf3;--muted:#beb8c9;--accent:#f0aaca;--accent-dark:#ffd0e4;--pink:#322735;--line:#45404f;--green:#a0d7bd}
[data-theme=dark] header,[data-theme=dark] footer,[data-theme=dark] .panel,[data-theme=dark] .stats>div,[data-theme=dark] .booking-row,[data-theme=dark] .empty{background:#21232f}
[data-theme=dark] .hero{background:#1c1f2b}[data-theme=dark] .hero-art{opacity:.17}[data-theme=dark] .hero-card{background:#303044}[data-theme=dark] .hero-card .eyebrow{color:#f5bdd7}[data-theme=dark] .hero-card p{color:#ded6e7}
[data-theme=dark] .card:nth-child(3n+1){background:#302631}[data-theme=dark] .card:nth-child(3n+2){background:#23332f}[data-theme=dark] .card:nth-child(3n+3){background:#343024}[data-theme=dark] .card-number{background:#ffffff0a;color:#f0c0d5}
[data-theme=dark] .button{background:#e7a4c1;color:#281e2c}[data-theme=dark] .button:hover{background:#f5c2d8;color:#281e2c}[data-theme=dark] .button.outline,[data-theme=dark] .button.light{background:#31303d;color:#f2c4da;border-color:#665265}
[data-theme=dark] input,[data-theme=dark] textarea,[data-theme=dark] select{background:#171922;color:var(--ink);border-color:#645c70}[data-theme=dark] .contact-band{background:linear-gradient(115deg,#233832,#363027)}
[data-theme=dark] .hero-foot span{background:#242633;border-color:#45404f}[data-theme=dark] .topline{background:#101219}[data-theme=dark] .brand-mark{color:#241b28}[data-theme=dark] .brand-mark span{color:#594151}[data-theme=dark] .demo{background:#40371e;color:#f7e2a0}
[data-theme=dark] .notice{background:#393324;border-color:#6d5e3a;color:#f3dfb2}[data-theme=dark] .notice.success{background:#203c30;border-color:#42775c;color:#c8f1d9}[data-theme=dark] .notice.error,[data-theme=dark] .errorlist,[data-theme=dark] .form .errorlist{background:#412a32;border-color:#7a4657;color:#ffc4d1}
[data-theme=dark] th,[data-theme=dark] .date-box,[data-theme=dark] .visit-note{background:#2b2b3a}[data-theme=dark] .badge{background:#393345;color:#e4d7f1}[data-theme=dark] .badge.pending,[data-theme=dark] .badge.review{background:#443923;color:#ffe0a0}[data-theme=dark] .badge.approved,[data-theme=dark] .badge.completed,[data-theme=dark] .badge.paid{background:#254337;color:#b5edcf}[data-theme=dark] .badge.cancelled,[data-theme=dark] .badge.rejected,[data-theme=dark] .badge.expired{background:#462c39;color:#ffc0d5}[data-theme=dark] .danger{color:#ffb0c4}
[data-theme=dark] .calendar-day{background:#243b31;border-color:#456655;color:#c0efd2}[data-theme=dark] .calendar-day.unavailable{background:#292a35;color:#a09baa;border-color:transparent}[data-theme=dark] .calendar-day.selected{background:#e7a4c1;color:#281e2c;border-color:#e7a4c1}[data-theme=dark] .calendar-day:hover{background:#473341;color:#f6d7e6}[data-theme=dark] .calendar-day.selected .day-dot{background:#55384b}[data-theme=dark] .slot:hover,[data-theme=dark] .slot:has(input:checked){background:#382b3b}[data-theme=dark] .skip{background:#21232f}
@media(max-width:720px){.preferences{justify-content:flex-start;gap:10px}.preferences button{padding:7px 10px}.language-controls{flex-wrap:wrap}.navigation nav{column-gap:12px}.navigation .button.small{white-space:normal}}

.preferences{gap:8px}.preferences .icon-toggle{width:44px;height:44px;min-height:44px;padding:0;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;line-height:1}.icon-toggle svg{display:block;flex-shrink:0}.icon-toggle:not(.theme-toggle):not(.notification-bell) svg{border-radius:3px;box-shadow:0 0 0 1px #8884}.theme-toggle .theme-sun{display:none}[data-theme=dark] .theme-toggle .theme-moon{display:none}[data-theme=dark] .theme-toggle .theme-sun{display:block}
.credential{display:block;overflow-wrap:anywhere;user-select:all;font-size:.95rem;letter-spacing:.04em;padding:10px;background:var(--pink);border-radius:8px}.booking-row small{display:block}.staff-nav a[aria-current=page]{text-decoration:underline}
.schedule-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px}.schedule-toolbar h2{margin-bottom:8px}.schedule-month-nav{display:flex;gap:7px}.schedule-filter{display:flex;align-items:center;gap:12px;margin:16px 0 24px}.schedule-filter label{margin:0}.schedule-filter select{width:auto;max-width:360px;flex:1}.staff-calendar{align-items:stretch}.staff-calendar .schedule-day{justify-content:flex-start;min-height:115px;padding:10px 6px;gap:8px;min-width:0;background:var(--bg);color:var(--ink);border-color:var(--line)}.staff-calendar .schedule-day.selected{background:var(--pink);border:2px solid var(--accent);color:var(--ink);padding:9px 5px}.schedule-day.is-today>strong{border-bottom:2px solid var(--accent)}.time-bubbles{display:flex;flex-wrap:wrap;justify-content:center;gap:4px;width:100%}.time-bubble{display:inline-block;border-radius:20px;padding:3px 7px;font-size:.72rem;line-height:1.4;font-weight:650;font-variant-numeric:tabular-nums;white-space:nowrap}.time-bubble.available{background:#dceee1;color:#28593d}.time-bubble.reserved{background:#f4e3bf;color:#755414}.time-bubble.closed{background:#eae6ed;color:#776e80}.no-times{color:var(--muted);font-size:.8rem}.schedule-legend{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:18px}.schedule-legend .muted{margin-left:auto;font-size:.8rem}[data-theme=dark] .time-bubble.available{background:#284d3b;color:#c1f0d4}[data-theme=dark] .time-bubble.reserved{background:#574321;color:#ffe0a1}[data-theme=dark] .time-bubble.closed{background:#3c3745;color:#c7bece}[data-theme=dark] .staff-calendar .schedule-day:hover{background:#352d3d}[data-theme=dark] .staff-calendar .schedule-day.selected{background:#392c3b}
@media(max-width:720px){.schedule-toolbar{align-items:flex-start;flex-direction:column;gap:4px}.schedule-month-nav{margin-bottom:12px}.schedule-filter{flex-wrap:wrap;gap:8px}.schedule-filter select{max-width:100%;min-width:0}.staff-calendar .schedule-day{min-height:100px;padding:7px 2px;border-radius:10px}.staff-calendar .schedule-day.selected{padding:6px 1px}.staff-calendar .time-bubble{font-size:.62rem;padding:2px 3px}.time-bubbles{gap:3px}.schedule-legend .muted{margin-left:0;width:100%}}
/* Thirty dates per page, with space for 24 readable appointment chips per date. */
.thirty-calendar{grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}.thirty-calendar .schedule-day{min-height:100px;justify-content:flex-start;padding:10px 6px}.thirty-calendar .schedule-day.selected{padding:9px 5px}.thirty-calendar .schedule-day>strong{font-size:1rem}.thirty-calendar .schedule-day>strong small{display:inline;font-size:.7rem;font-weight:500;margin-left:3px}.thirty-calendar .time-bubbles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;align-content:start}.thirty-calendar .time-bubble{padding:2px 1px;font-size:.69rem;text-align:center;line-height:1.4}.time-bubble.pending{background:#fff0b8;color:#735400}.time-bubble.approved{background:#dcecff;color:#164f8f}.more-times{font-size:.7rem;color:var(--muted)}.thirty-calendar .no-times{grid-column:1/-1}.patient-calendar .unavailable{opacity:.6}[data-theme=dark] .time-bubble.pending{background:#554414;color:#ffe8a0}[data-theme=dark] .time-bubble.approved{background:#203f67;color:#c5e1ff}
@media(max-width:1000px){.thirty-calendar{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:720px){.thirty-calendar{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.thirty-calendar .schedule-day{min-height:100px;padding:8px 3px}.thirty-calendar .schedule-day.selected{padding:7px 2px}.thirty-calendar .time-bubbles{gap:3px}.thirty-calendar .time-bubble{font-size:.59rem;padding:2px 0}.thirty-calendar .schedule-day>strong{font-size:.84rem}.thirty-calendar .schedule-day>strong small{display:block;margin:2px 0}}
@media(max-width:380px){.thirty-calendar{grid-template-columns:repeat(2,minmax(0,1fr))}.thirty-calendar .time-bubble{font-size:.68rem}}

/* Family profiles, messages and shared reading. */
.profile-picture{width:80px;height:80px;border-radius:50%;object-fit:cover;display:block;margin-bottom:16px;background:var(--pink)}.family-actions{display:flex;flex-wrap:wrap;gap:12px;margin:24px 0}.chat-thread{display:flex;flex-direction:column;gap:4px;padding:18px 0;border-bottom:1px solid var(--line)}.chat-thread > span,.chat-thread small{color:var(--muted)}.chat-history{display:flex;flex-direction:column;gap:16px;margin:24px 0}.chat-message{background:var(--pink);border:1px solid var(--line);padding:18px 22px;border-radius:20px 20px 20px 4px;max-width:85%;overflow-wrap:anywhere}.chat-message.own{align-self:flex-end;background:#e7f2ed;border-radius:20px 20px 4px 20px}.chat-message small{display:block;color:var(--muted);margin-bottom:8px}.file-row{padding:18px 0;border-bottom:1px solid var(--line)}.block-reason{padding:24px;border:1px solid var(--line);border-radius:16px;white-space:normal;overflow-wrap:anywhere}.blocked-card{margin:10vh auto}.story-hero{display:flex;justify-content:space-between;align-items:center;gap:24px}.story-reading{max-width:800px;margin:32px auto;font-family:Georgia,serif;font-size:1.3rem;line-height:1.9}.story-reading p{color:var(--ink)}.story-card h2{font-size:1.7rem}.form input[type=checkbox]{width:auto}.form [id^=id_weekdays]{display:flex;flex-wrap:wrap;gap:12px}.form [id^=id_weekdays] label{display:flex;align-items:center;gap:6px}[data-theme=dark] .chat-message{background:#372c39}[data-theme=dark] .chat-message.own{background:#243d32}@media(max-width:720px){.chat-message{max-width:96%}.story-hero>img{width:90px;height:90px}.family-actions .button{font-size:.9rem;padding:12px}.story-reading{font-size:1.15rem}}
.message-text{white-space:pre-wrap}
.work-calendar{align-items:stretch}.work-day{border:1px solid var(--line);border-radius:16px;padding:10px;background:var(--bg)}.work-day-heading{display:flex;justify-content:space-between;align-items:center;gap:5px;margin-bottom:8px}.work-day-heading .link-button{font-size:.65rem;padding:0}.work-day-heading small{font-size:.65rem;font-weight:400}.work-interval{position:relative;cursor:pointer;text-align:center;margin:0;line-height:1.8;font-size:.68rem}.work-interval input{position:absolute;opacity:0;width:1px;height:1px;margin:0}.work-interval span{display:block;border:1px solid #b6d5c4;border-radius:12px;background:#eef8f1;color:#286649}.work-interval:is(.available,.published):has(input:checked) span,.time-bubble.published{background:#286649;color:#fff}.work-interval:has(input:focus-visible) span{outline:3px solid #629ada;outline-offset:2px}.work-interval.pending span{background:#ffe9a6;color:#624800;border-color:#d6b94e}.work-interval.approved span{background:#cbe4ff;color:#194e80;border-color:#7eacd8}.work-interval.locked{cursor:default}.work-interval.available.locked span{opacity:.35}.publish-bar{position:sticky;bottom:12px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px;background:var(--bg);border:1px solid var(--line);border-radius:16px;z-index:5}.booking-choice-form{display:grid;grid-template-columns:1fr 2fr auto;gap:18px;align-items:end}.booking-choice-form select{width:100%}#booking-step{scroll-margin-top:20px}.booking-layout .form label{display:block;margin-top:20px}[data-theme=dark] .work-interval span{background:#253e31;color:#bbebcb;border-color:#416b54}[data-theme=dark] .work-interval:is(.available,.published):has(input:checked) span{background:#408561;color:#fff}[data-theme=dark] .work-interval.pending span{background:#674f1e;color:#ffe8a3}[data-theme=dark] .work-interval.approved span{background:#244d79;color:#c5e4ff}@media(max-width:800px){.booking-choice-form{grid-template-columns:1fr}.work-interval{font-size:.62rem}.publish-bar{flex-wrap:wrap}.work-day{padding:6px}}

/* Enchanted woodland and parchment: shared by public, family and staff pages. */
:root,html[data-theme=dark]{--ink:#30281c;--muted:#635542;--accent:#315344;--accent-dark:#203e32;--pink:#ede0c3;--line:#c5ac7f;--bg:#f5ebd3;--green:#285f40;--paper:var(--unified-surface);color-scheme:light}
body{background:#17392f var(--woodland-image,url("enchanted-woodland.e3a3bb4aafe6.webp")) center top/cover fixed no-repeat;color:var(--ink)}
main{min-height:65vh;padding-bottom:32px;background:linear-gradient(#0e282b12,#102e2770)}
.topline{background:#16372ff0;color:#f7ecd0;border-bottom:1px solid #bd985966}
header,[data-theme=dark] header{background:var(--paper);border-bottom:1px solid #b18b54;box-shadow:0 5px 24px #071d2933}
.navigation{min-height:94px}.brand{font-family:Georgia,serif;letter-spacing:-.025em;color:#284335}.brand small{color:#725336}.brand-mark{background:#315344;color:#fff0cc;border-radius:45% 40% 44% 38%;box-shadow:inset 0 0 0 2px #c4ac71}.brand-mark span{color:#d7c08c}
.navigation nav{gap:18px}.navigation nav>a:not(.button){color:#30281c}
h1,h2,h3,.button,button,.text-link,.hero-foot span,.step strong{font-family:'Segoe Print','Bradley Hand','URW Chancery L',Georgia,serif}
h1,h2,h3{letter-spacing:-.035em}h1{font-weight:500}h1 em{color:#365a47}p,.hero-card p{color:var(--muted)}
.button,[data-theme=dark] .button,.button.light,.button.outline,[data-theme=dark] .button.light,[data-theme=dark] .button.outline,button:not(.link-button){background:var(--paper);color:#294636;border:1px solid #ad8d59;border-radius:5px 12px 6px 10px;box-shadow:0 4px 0 #513e2533,inset 0 0 12px #b5944b26;font-weight:700;min-height:44px}
.button:hover,[data-theme=dark] .button:hover,button:not(.link-button):hover{background:#fff4d9;color:#17392d;box-shadow:0 5px 14px #0c211c33;transform:translateY(-1px)}
.button:focus-visible,a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #2472a1;outline-offset:4px}
.hero,[data-theme=dark] .hero{background:transparent;position:relative;overflow:hidden;padding:64px 0 70px}.hero-art,[data-theme=dark] .hero-art{opacity:1;inset:0}.hero-art img{width:100%;height:100%;object-fit:cover}.hero-art:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#0d30282e,#0e262610)}
.hero-grid{position:relative;z-index:1;align-items:center;gap:64px}.hero-copy{padding:38px 40px;background:var(--paper);border:1px solid #ceb380;border-radius:4px 24px 8px 18px;box-shadow:0 20px 50px #081d294d}.hero h1{font-size:clamp(2.6rem,4.5vw,4.8rem);margin:15px 0 24px}.lead{font-size:1.08rem;line-height:1.8}.eyebrow{color:#70522e;letter-spacing:.16em;font-size:.72rem}.hero-card,[data-theme=dark] .hero-card{background:var(--paper);border:1px solid #bda06b;border-radius:20px 5px 16px 7px;box-shadow:0 20px 50px #071d2955;transform:rotate(1deg);padding:30px}.hero-card .eyebrow,[data-theme=dark] .hero-card .eyebrow{color:#70522e}.family-art{display:none}.hero-card h2{font-size:2.2rem}.step{border-color:#c5ad80}.step>span{background:#e4d1a6;color:#4d5c38}.hero-foot{gap:6px;flex-wrap:wrap}.hero-foot span,[data-theme=dark] .hero-foot span{background:#e9dbb9;color:#56442e;border:1px solid #cab17f;font-size:.72rem}
.section{margin-top:32px;margin-bottom:32px}.section-heading{padding:24px 28px;background:var(--paper);border-radius:8px 16px 4px 10px;margin-bottom:24px;box-shadow:0 8px 24px #10261d33}.cards{gap:22px}.card,.card:nth-child(n),[data-theme=dark] .card:nth-child(n),.panel,[data-theme=dark] .panel,.stats>div,.booking-row,.empty,.contact-band,[data-theme=dark] .contact-band{background:var(--paper);border:1px solid #c1a674;box-shadow:0 10px 26px #0b241c30;border-radius:7px 17px 6px 12px;color:var(--ink)}.card-number{color:#715b36;background:#e0cca333}.card-bottom{border-color:#c9b084}.contact-band{padding:32px;margin-bottom:32px}.page-head{background:var(--paper);padding:30px;border-radius:8px 20px 4px 16px;margin-bottom:24px}.page-head p{color:var(--muted)}
input,textarea,select,[data-theme=dark] input,[data-theme=dark] select,[data-theme=dark] textarea{background:#fff9e9;color:#30281c;border:1px solid #ad956e;border-radius:6px;min-height:44px}input[type=checkbox],input[type=radio]{min-height:initial;accent-color:#315344}
.staff-nav{background:#173b32ee}.staff-nav a,.staff-nav span{color:#fff0ce}.chat-message,[data-theme=dark] .chat-message,.chat-message.own,[data-theme=dark] .chat-message.own,.block-reason,.notice,.visit-note,.date-box{background:var(--paper);color:#30281c;border-color:#ba9d65;border-radius:5px 17px 6px 12px;box-shadow:0 4px 10px #1d2c1c18}.chat-message.own{background:linear-gradient(110deg,#eee6c9,#d8dec0)}
footer,[data-theme=dark] footer{background:var(--paper);color:#30281c;border-top:1px solid #a98d59}.footer-grid a,.footer-grid strong{color:#315344}.footer-bottom{border-color:#b9a374;color:#635542}.preferences .icon-toggle{background:#f1e3c3;color:#315344;border-radius:7px 12px 5px 9px}.preferences .theme-toggle{background:#315344;color:#fff1cf}
html[data-theme=dark] body{background-color:#102e29;background-blend-mode:multiply}html[data-theme=dark]{--paper:var(--unified-surface)}
[data-theme=dark] .calendar-day{background:#dfebd5;color:#214d33;border-color:#7b9d72}[data-theme=dark] .calendar-day.selected{background:#315344;color:#fff4d6}[data-theme=dark] .calendar-day.unavailable{background:#e2d5bc;color:#716653}[data-theme=dark] .staff-calendar .schedule-day,[data-theme=dark] .work-day{background:#f0e4c7;color:#30281c}[data-theme=dark] th{background:#e4d2ac;color:#30281c}
@media(max-width:1000px){.navigation{flex-wrap:wrap;padding-top:18px;padding-bottom:18px;gap:15px}.navigation nav{flex-wrap:wrap}.hero-grid{gap:25px}.hero-copy{padding:28px}.hero-card{transform:none}}
@media(max-width:720px){body{background-attachment:scroll;background-size:auto 1500px}.wrap{padding-left:18px;padding-right:18px}.hero{padding:28px 0}.hero-grid{grid-template-columns:1fr;gap:24px}.hero-copy{padding:26px 22px}.hero h1{font-size:2.7rem}.hero-card{padding:24px}.navigation nav{gap:12px;font-size:.85rem}.navigation .brand{font-size:1.4rem}.preferences{margin-left:auto}.section-heading{padding:22px;align-items:flex-start;gap:12px}.page-head{padding:22px}.contact-band{margin-left:18px;margin-right:18px;padding:24px}.hero .actions{flex-wrap:wrap}.section-heading h2{font-size:1.8rem}.footer-grid{gap:25px}main{overflow-x:clip}}
@media(prefers-reduced-motion:reduce){.button:hover,button:hover{transform:none}.hero-card{transform:none}}
@font-face{font-family:Caveat;font-style:normal;font-weight:600;font-display:swap;src:url("caveat.eea8484ef43d.ttf") format('truetype')}
h1,h2,h3,.button,button,.text-link,.step strong{font-family:Caveat,'Segoe Print',Georgia,serif}.button,.text-link{font-size:1.35rem}.button.small{font-size:1.15rem}.hero-card,[data-theme=dark] .hero-card{color:#30281c}.hero-card h2{font-size:2.65rem}.step strong{font-size:1.4rem}.hero-copy{background:linear-gradient(110deg,#fff7e4fa,#ead7acf5 62%,#f8ecd2fa)}
:root{--paper:var(--unified-surface)}html[data-theme=dark]{--paper:var(--unified-surface)}.hero-copy{background:var(--paper)}.hero-grid{padding-top:22px;padding-bottom:22px}.hero-grid>div,.hero-card{animation:none}.wrap.section{background:var(--paper);padding-top:30px;padding-bottom:30px;border:1px solid #c0a572;border-radius:6px 18px 8px 12px;box-shadow:0 10px 30px #112b2840}.wrap.section .section-heading{box-shadow:none;padding:0;background:none}.story-reading,.form{color:var(--ink)}.hero .hero-card{color:#30281c}.hero-card .step strong{color:#30281c}
@media(max-width:720px){.wrap.section{margin-left:18px;margin-right:18px}.hero-grid{padding-top:0;padding-bottom:0}}

/* The same landscape changes from daylight to moonlight with the saved theme. */
html{--woodland-image:url("enchanted-woodland.e3a3bb4aafe6.webp")}
html[data-theme=dark]{--woodland-image:url("enchanted-woodland-night.7b3dd9c95d1c.webp")}
html[data-theme=dark] body{background-image:var(--woodland-image);background-blend-mode:normal}
.hero-art .woodland-night{display:none}
[data-theme=dark] .hero-art .woodland-day{display:none}
[data-theme=dark] .hero-art .woodland-night{display:block}
[data-theme=dark] .hero-card p{color:var(--muted)}
[data-theme=dark] .brand-mark{color:#fff0cc}[data-theme=dark] .brand-mark span{color:#d7c08c}
/* Calendar pages and time choices are ink on individual parchment leaves. */
.calendar-grid{gap:10px}
.calendar-grid .calendar-day,.calendar-grid .work-day,[data-theme=dark] .calendar-grid .calendar-day,[data-theme=dark] .calendar-grid .work-day{background:var(--paper);color:#3b3021;border:1px solid #b79a64;border-radius:4px 11px 5px 8px;box-shadow:2px 3px 0 #886a3726,inset 0 0 18px #ad844923}
.calendar-day>strong,.work-day-heading>strong,.calendar-week,.schedule-toolbar,.calendar-day small,.work-day-heading small,.no-times,.more-times{font-family:Caveat,'Segoe Print',Georgia,serif}
.thirty-calendar .schedule-day>strong,.work-day-heading>strong{font-size:1.55rem;line-height:1.1;font-weight:600}.thirty-calendar .schedule-day>strong small,.work-day-heading small{font-size:1rem}.calendar-day.is-today>strong{border-bottom:2px solid #73562d}
.calendar-grid .calendar-day:hover,[data-theme=dark] .calendar-grid .calendar-day:hover{background:url("paper-grain.ad8c869dba80.svg"),linear-gradient(110deg,#fff7dd,#ecd6a6);border-color:#5f7048;color:#30281c;text-decoration:none}
.calendar-grid .calendar-day.selected,[data-theme=dark] .calendar-grid .calendar-day.selected{border:2px solid #315344;background:url("paper-grain.ad8c869dba80.svg"),linear-gradient(110deg,#ecedcc,#d7d9ad);color:#263c29;box-shadow:inset 0 0 0 2px #f9edcd,2px 3px 0 #886a3733}
.calendar-grid .calendar-day.unavailable,[data-theme=dark] .calendar-grid .calendar-day.unavailable{background:url("paper-grain.ad8c869dba80.svg"),linear-gradient(110deg,#e9dec5,#d8c6a6);color:#74654e;opacity:1;box-shadow:inset 0 0 12px #9b77331c}
.thirty-calendar .time-bubble,.work-interval span,.schedule-legend .time-bubble{font-family:Caveat,'Segoe Print',Georgia,serif;font-size:1.05rem;font-weight:600;line-height:1.25;letter-spacing:.01em;border-radius:3px 6px 3px 5px;border:1px solid #93784a55;box-shadow:inset 0 0 7px #93784a12}
.time-bubble.available,.time-bubble.published,.work-interval span,[data-theme=dark] .time-bubble.available,[data-theme=dark] .work-interval span{background:#e3e6c7;color:#294e35;border-color:#839667}
.time-bubble.pending,.time-bubble.reserved,.work-interval.pending span,[data-theme=dark] .time-bubble.pending,[data-theme=dark] .work-interval.pending span{background:#f4dfaa;color:#624817;border-color:#b89950}
.time-bubble.approved,.work-interval.approved span,[data-theme=dark] .time-bubble.approved,[data-theme=dark] .work-interval.approved span{background:#d7e1de;color:#26485b;border-color:#819fa2}
.time-bubble.closed,[data-theme=dark] .time-bubble.closed{background:#ded5c5;color:#655a47;border-color:#b1a58b}
.work-interval:is(.available,.published):has(input:checked) span,[data-theme=dark] .work-interval:is(.available,.published):has(input:checked) span,.time-bubble.published,[data-theme=dark] .time-bubble.published{background:#315344;color:#fff4d6;border-color:#315344}
.slot,[data-theme=dark] .slot{background:var(--paper);border:1px solid #b79a64;border-radius:4px 10px 5px 8px;box-shadow:2px 3px 0 #886a3726;min-height:52px}.slot strong{font-family:Caveat,'Segoe Print',Georgia,serif;font-size:1.5rem;color:#30281c}.slot:hover,.slot:has(input:checked),[data-theme=dark] .slot:hover,[data-theme=dark] .slot:has(input:checked){background:#e3e6c7;border-color:#315344}.slot small{color:#635542}.publish-bar{background:var(--paper)}
@media(max-width:720px){.calendar-grid{gap:6px}.thirty-calendar .time-bubble,.work-interval span{font-size:.9rem;line-height:1.3}.thirty-calendar .schedule-day>strong,.work-day-heading>strong{font-size:1.3rem}.thirty-calendar .schedule-day>strong small,.work-day-heading small{font-size:.85rem}.work-day-heading{flex-wrap:wrap}.work-day-heading .link-button{font-size:.85rem}.schedule-legend .time-bubble{font-size:1rem}}
@media(max-width:480px){.thirty-calendar{grid-template-columns:repeat(2,minmax(0,1fr))}.thirty-calendar .time-bubble,.work-interval span{font-size:.9rem}.calendar-grid .schedule-day{padding:9px 4px}.calendar-grid .work-day{padding:8px 4px}}

/* Day -> golden sunset -> moonlight. Layered images avoid abrupt URL swaps. */
body,html[data-theme=dark] body{isolation:isolate;background-image:url("enchanted-woodland.e3a3bb4aafe6.webp");background-blend-mode:normal}
body::before,body::after{content:'';position:fixed;inset:0;pointer-events:none;background-position:center top;background-size:cover}
body::before{z-index:-2;background-image:url("enchanted-woodland-night.7b3dd9c95d1c.webp");opacity:0;transition:opacity 2.8s ease-in-out}
body::after{z-index:-1;background:linear-gradient(180deg,#82435488 0%,#ef945980 38%,#edb55c33 65%,#10283844);opacity:0}
[data-theme=dark] body::before{opacity:1;transition-delay:1.4s}
.hero-art .woodland-day,.hero-art .woodland-night,[data-theme=dark] .hero-art .woodland-day,[data-theme=dark] .hero-art .woodland-night{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transform:none!important}
.hero-art .woodland-night{opacity:0;transition:opacity 2.8s ease-in-out}
[data-theme=dark] .hero-art .woodland-night{opacity:1;transition-delay:1.4s}
.hero-art::after{z-index:3;background:linear-gradient(180deg,#80405880,#ee945979 38%,#edb55c30 65%,#10283844);opacity:0}
.hero-art::before{content:'';position:absolute;z-index:2;left:71%;top:25%;width:clamp(16px,2vw,30px);aspect-ratio:1;border-radius:50%;background:#ffe4a7;box-shadow:0 0 25px 12px #ffbc5d70;opacity:0;pointer-events:none}
[data-theme-transition=sunset] body::after,[data-theme-transition=sunset] .hero-art::after{animation:woodland-sunset 4.5s ease-in-out both}
[data-theme-transition=sunset] .hero-art::before{animation:setting-sun 2.7s ease-in-out both}
[data-theme-transition=sunrise] body::after,[data-theme-transition=sunrise] .hero-art::after{animation:woodland-sunrise 4.5s ease-in-out both}
@keyframes woodland-sunset{0%{opacity:0}28%{opacity:.8}50%{opacity:.6}80%,100%{opacity:0}}
@keyframes woodland-sunrise{0%{opacity:0}35%{opacity:.6}65%{opacity:.75}100%{opacity:0}}
@keyframes setting-sun{0%{opacity:.7;transform:translateY(0)}55%{opacity:.5}100%{opacity:0;transform:translateY(55px) scale(.75)}}
@media(max-width:720px){body::before{background-size:auto 1500px}}
@media(prefers-reduced-motion:reduce){body::before,.hero-art .woodland-night{transition:none!important;transition-delay:0s!important}body::after,.hero-art::before,.hero-art::after{animation:none!important;opacity:0!important}}

/* Woodland liquid glass. Shared public, family, booking and staff surfaces. */
html[data-theme],html[data-theme=dark]{--ink:#ffe9b0;--muted:#ebd7a4;--accent:#ffe5b8;--accent-dark:#fff0bc;--pink:#28464088;--line:#ffda8d39;--bg:#18352c;--paper:var(--unified-surface);--glass:var(--unified-surface);--glow:0 0 12px #ffce7370,0 0 28px #efbd7928;color-scheme:dark}
html[data-theme=dark]{--glass:var(--unified-surface);--paper:var(--unified-surface);--accent:#ffe9c4;--glow:0 0 12px #ffd17e80,0 0 28px #e9b87738}
html[data-theme] body{color:var(--ink)}html[data-theme] p,html[data-theme] .lead,html[data-theme] .muted{color:var(--muted);text-shadow:0 1px 3px #06171599}
html[data-theme] h1,html[data-theme] h2,html[data-theme] h3,html[data-theme] h1 em,html[data-theme] .hero h1 em{color:#ffe9b0;text-shadow:var(--glow);font-weight:500}
html[data-theme] h1,html[data-theme] h2,html[data-theme] h3{font-family:Georgia,'DejaVu Serif',serif;letter-spacing:-.025em}
html[data-theme] a{color:var(--accent)}html[data-theme] a:hover{color:#fff;text-shadow:var(--glow)}
html[data-theme] header,html[data-theme] footer,html[data-theme] .hero-copy,html[data-theme] .panel,html[data-theme] .card:nth-child(n),html[data-theme] .stats>div,html[data-theme] .booking-row,html[data-theme] .empty,html[data-theme] .chat-message,html[data-theme] .chat-message.own,html[data-theme] .block-reason,html[data-theme] .page-head,html[data-theme] .notice,html[data-theme] .visit-note,html[data-theme] .date-box,html[data-theme] .stat-pill,html[data-theme] .publish-bar{background:var(--glass);color:var(--ink);border:1px solid #ffdc9146;border-radius:20px;box-shadow:inset 0 1px 0 #fff0cc2b,0 12px 40px #03142138;backdrop-filter:blur(15px) saturate(130%);-webkit-backdrop-filter:blur(15px) saturate(130%)}
html[data-theme] header{border-radius:0;border-width:0 0 1px;box-shadow:0 8px 30px #03142124}html[data-theme] .navigation{min-height:82px;gap:16px}html[data-theme] .navigation nav{gap:20px}html[data-theme] .navigation nav>a:not(.button),html[data-theme] .brand,html[data-theme] .footer-grid a,html[data-theme] .footer-grid strong{color:#ffe8ac;text-shadow:0 0 10px #ffce733b}html[data-theme] .brand-mark,html[data-theme=dark] .brand-mark{color:#ffe8ac;background:#6dcda22a;border:1px solid #ffe2ac66;box-shadow:0 0 16px #84ebbb1c}html[data-theme] .brand-mark span{color:#ffe2af}html[data-theme] .preferences{padding-bottom:12px}
html[data-theme] .button,html[data-theme] .button.light,html[data-theme] .button.outline,html[data-theme] button:not(.link-button),html[data-theme] .preferences .icon-toggle,html[data-theme] .preferences .theme-toggle{background:linear-gradient(135deg,#94eacb3d,#b7f3ea15);color:#ffe8ac;border:1px solid #ffd37a7d;border-radius:13px;box-shadow:inset 0 1px 0 #fff3,0 0 16px #8becbe1a;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);text-shadow:0 0 9px #ffd17e77;font-family:inherit;font-size:1rem;font-weight:600;min-height:44px}
html[data-theme] .button:hover,html[data-theme] .button.light:hover,html[data-theme] .button.outline:hover,html[data-theme] button:not(.link-button):hover{background:#93e8c84d;color:white;box-shadow:0 0 24px #89f4d234}html[data-theme] .text-link{font-family:inherit;font-weight:600;font-size:1rem;line-height:1.6;text-shadow:0 0 9px #ffd17e4a}html[data-theme] .link-button{color:var(--accent);text-shadow:0 0 8px #ffd17e44}
html[data-theme] .hero{padding:55px 0 65px;min-height:640px;display:flex;align-items:center}html[data-theme] .hero-grid{width:100%;display:block;padding-top:0;padding-bottom:0}html[data-theme] .hero-copy{max-width:600px;padding:38px 40px}html[data-theme] .hero h1{font-size:clamp(2.8rem,4.4vw,4.4rem);line-height:1.16;margin:0 0 25px}html[data-theme] .hero h1 em{font-style:italic;color:#ffe5b8}html[data-theme] .hero-copy .lead{font-size:1.07rem;max-width:430px;margin-bottom:28px}html[data-theme] .actions{gap:24px}html[data-theme] .hero-card,html[data-theme] .hero-foot,html[data-theme] .card-number,html[data-theme] .eyebrow{display:none}
html[data-theme] .wrap.section{background:none;border:0;box-shadow:none;border-radius:0;padding-top:30px;padding-bottom:30px}html[data-theme] .section-heading{background:none;border:0;border-radius:0;box-shadow:none;padding:0}html[data-theme] .home-services .cards{display:block}html[data-theme] .home-services .card{display:flex;justify-content:space-between;align-items:center;gap:25px;padding:22px 0;border:0;border-bottom:1px solid var(--line);background:none;box-shadow:none;backdrop-filter:none;border-radius:0}html[data-theme] .home-services{background:var(--glass)!important;border:1px solid var(--line)!important;border-radius:20px!important;padding:30px 36px!important;backdrop-filter:blur(15px)}html[data-theme] .home-services h3{margin:0;font-size:1.25rem}html[data-theme] .home-services .card-bottom{margin:0;border:0;gap:30px;padding:0;min-width:280px}html[data-theme] .home-services .card-bottom strong{font-weight:500}
html[data-theme] input,html[data-theme] textarea,html[data-theme] select{background:#0d252bcc;color:#ffeab8;border:1px solid #ffe0b075;box-shadow:inset 0 1px 4px #0003;border-radius:10px;text-shadow:none}html[data-theme] option{background:#173c38;color:#fff}html[data-theme] label{color:var(--ink)}html[data-theme] .errorlist,html[data-theme] .notice.error{color:#ffd5d9;background:#512837e0}html[data-theme] .notice.success{color:#e0ffee;background:#174737dc}html[data-theme] .notice{color:#fff1d6}html[data-theme] .booking-summary{color:var(--ink)}
html[data-theme] .calendar-grid .calendar-day,html[data-theme] .calendar-grid .work-day,html[data-theme] .slot{background:var(--glass);color:#ffe8ac;border:1px solid #f5dcaf4d;border-radius:12px;box-shadow:inset 0 1px 0 #fff2,0 6px 15px #071c2733;backdrop-filter:blur(10px)}html[data-theme] .calendar-grid .calendar-day:hover,html[data-theme] .calendar-grid .calendar-day.selected,html[data-theme] .slot:hover,html[data-theme] .slot:has(input:checked){background:#3c7566b5;color:#fff;border-color:#b7ffe1;box-shadow:0 0 15px #77eebc2e}html[data-theme] .calendar-grid .calendar-day.unavailable{background:#182e3599;color:#d3c6b2;border-color:#cee0d12b;opacity:1}html[data-theme] .slot strong,html[data-theme] .slot small{color:var(--ink)}html[data-theme] .calendar-day>strong,html[data-theme] .work-day-heading>strong,html[data-theme] .calendar-week,html[data-theme] .schedule-toolbar,html[data-theme] .calendar-day small,html[data-theme] .work-day-heading small,html[data-theme] .time-bubble,html[data-theme] .work-interval span,html[data-theme] .slot strong{font-family:inherit;text-shadow:0 0 8px #88ffbf3a}html[data-theme] .thirty-calendar .schedule-day>strong,html[data-theme] .work-day-heading>strong{font-size:1.15rem}html[data-theme] .thirty-calendar .schedule-day>strong small,html[data-theme] .work-day-heading small{font-size:.8rem}html[data-theme] .thirty-calendar .time-bubble,html[data-theme] .work-interval span{font-size:.8rem}
html[data-theme] .time-bubble.available,html[data-theme] .work-interval span{background:#244c3edd;color:#d5ffe5;border-color:#82c9a6}html[data-theme] .time-bubble.pending,html[data-theme] .time-bubble.reserved,html[data-theme] .work-interval.pending span{background:#594723e6;color:#fff0b6;border-color:#e4bd73}html[data-theme] .time-bubble.approved,html[data-theme] .work-interval.approved span{background:#244c65dd;color:#d5f2ff;border-color:#88c6e3}html[data-theme] .time-bubble.closed{background:#333f45dd;color:#d7e0e3;border-color:#9aa9ae}html[data-theme] .work-interval:is(.available,.published):has(input:checked) span,html[data-theme] .time-bubble.published{background:#4b8a70;color:#fff;border-color:#b8ffe1}
html[data-theme] footer{border-radius:0; margin-top:50px}html[data-theme] .footer-bottom{color:var(--muted);border-color:var(--line)}html[data-theme] th{background:#244c4699;color:var(--ink)}html[data-theme] .staff-nav{background:#102e32c9}html[data-theme] .credential{background:#0c2832aa;color:#ffe9b2}html[data-theme] .skip{background:#173c38;color:#fff}
@supports not (backdrop-filter:blur(1px)){html[data-theme]{--glass:var(--unified-surface)}html[data-theme=dark]{--glass:var(--unified-surface)}}
@media(max-width:1000px){html[data-theme] .navigation{padding-top:15px;padding-bottom:12px}html[data-theme] .hero{min-height:570px}}
@media(max-width:720px){html[data-theme] .hero{padding:30px 0 40px;min-height:540px}html[data-theme] .hero-copy{padding:28px 24px;max-width:100%}html[data-theme] .hero h1{font-size:2.7rem}html[data-theme] .navigation nav{gap:12px}html[data-theme] .home-services{margin:20px 18px;padding:24px!important}html[data-theme] .home-services .card{align-items:flex-start;flex-direction:column;gap:14px}html[data-theme] .home-services .card-bottom{min-width:0;flex-wrap:wrap;width:100%;justify-content:space-between;gap:16px}html[data-theme] .thirty-calendar .time-bubble,html[data-theme] .work-interval span{font-size:.7rem}html[data-theme] .section-heading{flex-wrap:wrap;gap:16px}html[data-theme] .panel{padding:22px}html[data-theme] .preferences{padding-bottom:12px}}

/* Compact navigation; theme/language controls share the brand row. */
html[data-theme] header{position:relative}
html[data-theme] .navigation{max-width:1400px;min-height:70px;padding:10px 150px 10px 24px;gap:20px;flex-wrap:nowrap}
html[data-theme] .navigation .brand{font-size:1.25rem;gap:9px;white-space:nowrap}
html[data-theme] .brand-mark{width:38px;height:38px;line-height:1.6;border-radius:12px}
html[data-theme] .navigation nav{gap:14px;font-size:.85rem}
html[data-theme] .navigation .button.small{min-height:38px;padding:8px 12px;font-size:.85rem;gap:12px}
html[data-theme] .preferences{position:absolute;right:max(24px,calc((100vw - 1400px)/2 + 24px));top:14px;width:auto;padding:0;gap:7px;max-width:none;margin:0}
html[data-theme] .preferences .icon-toggle{width:38px;height:38px;min-height:38px;border-radius:11px}
html[data-theme] .hero-grid>div,html[data-theme] .reveal.entered{animation:none}
/* Initial page paint uses the saved theme immediately; only deliberate toggles fade. */
body::before,.hero-art .woodland-night,[data-theme=dark] body::before,[data-theme=dark] .hero-art .woodland-night{transition:none;transition-delay:0s}
[data-theme-transition=sunset] body::before,[data-theme-transition=sunset] .hero-art .woodland-night{transition:opacity 2.8s ease-in-out 1.4s}
[data-theme-transition=sunrise] body::before,[data-theme-transition=sunrise] .hero-art .woodland-night{transition:opacity 2.8s ease-in-out}
html[data-theme=dark]:not([data-theme-transition]) body{background-image:url("enchanted-woodland-night.7b3dd9c95d1c.webp")}
@media(max-width:1100px){html[data-theme] .navigation{flex-wrap:wrap;padding-right:24px;padding-top:12px;padding-bottom:10px;gap:8px}html[data-theme] .navigation .brand{margin-right:100px}html[data-theme] .navigation nav{width:100%;flex-wrap:wrap;gap:6px 14px}html[data-theme] .preferences{right:24px;top:12px}html[data-theme] .navigation nav .button.small{min-height:34px;padding:5px 10px}}
@media(max-width:720px){html[data-theme] .navigation{padding:10px 16px 9px;gap:8px}html[data-theme] .navigation .brand{font-size:1.1rem;margin-right:88px}html[data-theme] .preferences{top:10px;right:16px}html[data-theme] .navigation nav{font-size:.78rem;gap:5px 12px}html[data-theme] .navigation .button.small{font-size:.78rem;min-height:32px}html[data-theme] .brand-mark{width:34px;height:34px}html[data-theme] .preferences .icon-toggle{width:34px;height:34px;min-height:34px}}
@media(prefers-reduced-motion:reduce){body::before,.hero-art .woodland-night{transition:none!important}}

/* Retain the outgoing page until the next same-origin page is ready to paint. */
@view-transition{navigation:auto}
::view-transition-old(root),::view-transition-new(root){animation-duration:.18s;animation-timing-function:ease-out}
html[data-theme]{background:#16342e url("enchanted-woodland.e3a3bb4aafe6.webp") center top/cover no-repeat}
html[data-theme=dark]{background:#102638 url("enchanted-woodland-night.7b3dd9c95d1c.webp") center top/cover no-repeat}
@media(prefers-reduced-motion:reduce){::view-transition-old(root),::view-transition-new(root){animation:none}}

/* Full navigations (including login/logout) retain the previous rendered page.
   Avoid a crossfade that exposes the document's solid fallback background. */
@view-transition{navigation:auto}
::view-transition-old(root){animation:none;opacity:1}
::view-transition-new(root){animation:scene-document-arrive .18s steps(1,end) both}
@keyframes scene-document-arrive{from{opacity:0}to{opacity:1}}
@media(prefers-reduced-motion:reduce){::view-transition-new(root){animation:none}}

/* One stationary landscape behind scrolling content, without a duplicate hero scene. */
html[data-theme],html[data-theme=dark]{background-color:#102638;background-image:none}
html[data-theme] body{position:relative;min-height:100vh;background-attachment:fixed;background-size:cover;background-position:center top;background-repeat:no-repeat}
html[data-theme] body::before,html[data-theme] body::after{position:fixed;inset:0;background-size:cover;background-position:center top}
html[data-theme] .hero-art{transform:none!important}
html[data-theme] .hero-art .woodland-day,html[data-theme] .hero-art .woodland-night{display:none}

/* Keep the woodland uninterrupted below the hero. */
html[data-theme] .hero{border-bottom:0}

/* No shading across the woodland behind page content. */
html[data-theme] main{background:none}

/* Deeper moonlit night, with readable glass surfaces unchanged. */
html[data-theme] body::before{filter:brightness(.55) saturate(.85)}

/* Status labels share the transparent glass surfaces. */
html[data-theme] .badge{background:var(--glass);color:var(--ink);border:1px solid #ffdc9146;border-radius:10px;box-shadow:inset 0 1px 0 #fff0cc2b,0 6px 18px #03142124;backdrop-filter:blur(15px) saturate(130%);-webkit-backdrop-filter:blur(15px) saturate(130%)}
html[data-theme] .badge.approved,html[data-theme] .badge.completed,html[data-theme] .badge.paid{color:#b5edcf}
html[data-theme] .badge.pending,html[data-theme] .badge.review{color:#ffe0a0}
html[data-theme] .badge.cancelled,html[data-theme] .badge.rejected,html[data-theme] .badge.expired{color:#ffc0d5}

/* Override state-specific solid fills as well as the default badge. */
html[data-theme] .badge[class]{background:linear-gradient(135deg,#94eacb3d,#b7f3ea15);border:1px solid #ffd37a7d}
html[data-theme] .link-button{font-family:inherit;font-style:normal}
html[data-theme] .navigation nav .link-button{font-size:inherit;font-weight:600;letter-spacing:normal;color:#ffe8ac;text-shadow:0 0 10px #ffce733b}

/* Warm ivory hover text and shared dividers. */
html[data-theme] a:hover,html[data-theme] .button:hover,html[data-theme] button:not(.link-button):hover{color:#fff1c2}
html[data-theme],html[data-theme=dark]{--line:#ffda8d39}

/* Navigation focuses the heading for assistive technology, without a browser ring. */
main h1[tabindex="-1"]:focus{outline:none}

/* Stable mobile landscape: browser toolbar changes never resize the image. */
.mobile-woodland{display:none}
@media(max-width:1100px){
html[data-theme] body,html[data-theme=dark]:not([data-theme-transition]) body{background-image:none;background-attachment:scroll}
html[data-theme] body::before{display:none}
.mobile-woodland{display:block;position:fixed;top:0;left:0;width:100%;height:100vh;height:100lvh;z-index:-2;pointer-events:none;background:url("enchanted-woodland.e3a3bb4aafe6.webp") center top/cover no-repeat}
.mobile-woodland::before{content:'';position:absolute;inset:0;background:url("enchanted-woodland-night.7b3dd9c95d1c.webp") center top/cover no-repeat;filter:brightness(.55) saturate(.85);opacity:0}
[data-theme=dark] .mobile-woodland::before{opacity:1}
[data-theme-transition=sunset] .mobile-woodland::before{transition:opacity 2.8s ease-in-out 1.4s}
[data-theme-transition=sunrise] .mobile-woodland::before{transition:opacity 2.8s ease-in-out}
html[data-theme] body::after{bottom:auto;height:100vh;height:100lvh}
}
@media(prefers-reduced-motion:reduce){.mobile-woodland::before{transition:none!important}}

/* Pixel height remains unchanged when either mobile browser bar slides in. */
@media(max-width:1100px){
.mobile-woodland,html[data-theme] body::after{height:var(--mobile-scene-height,100lvh)}
}

@media(max-width:1100px){
html,body{overscroll-behavior-y:none}
.mobile-woodland{top:0;transform:translate3d(0,0,0);backface-visibility:hidden;contain:paint;will-change:transform}
}

.story-title-row{display:flex;align-items:center;gap:16px;width:100%;margin-bottom:16px}
.story-title-row img{flex:0 0 64px;width:64px;height:64px;object-fit:contain}
html[data-theme] .story-title-row h2{margin:0;font-size:1.45rem;overflow-wrap:anywhere}
.story-card>.button{margin-top:auto}
@media(max-width:720px){.story-title-row{gap:14px}.story-title-row img{flex-basis:60px;width:60px;height:60px}}

/* Warm lettering stays distinct against snow and lantern light. */
html[data-theme] main :is(h1,h2,h3),html[data-theme] main :is(h1,h2,h3) em{
 text-shadow:-1px -1px 0 #101d19cc,1px -1px 0 #101d19cc,-1px 1px 0 #101d19cc,1px 1px 0 #101d19cc,0 2px 5px #06100ff0,0 4px 14px #06100fbd,0 0 18px #ffce732b;
}
html[data-theme] main :is(p,.lead,.muted){
 text-shadow:-.5px -.5px 0 #0b1915dd,.5px -.5px 0 #0b1915dd,-.5px .5px 0 #0b1915dd,.5px .5px 0 #0b1915dd,0 2px 4px #06100ff0,0 3px 9px #06100fba;
}

/* Introductory copy shares the glass surface of the visit panel. */
html[data-theme] .about-copy .button{background:linear-gradient(135deg,#547b64b8,#365b56b3)}
html[data-theme] .about-copy .button:hover{background:linear-gradient(135deg,#638b70d1,#426d63cc)}

/* Age filters need their own tint over the exposed woodland. */
html[data-theme] .story-filters .button{background:linear-gradient(135deg,#547b64b8,#365b56b3)}
html[data-theme] .story-filters .button:hover{background:linear-gradient(135deg,#638b70d1,#426d63cc)}

.services-intro{margin-bottom:24px}.services-intro p:last-child{margin-bottom:0}

/* Parent community shares the woodland glass surfaces. */
.community-list{display:grid;gap:20px;margin:24px 0}.topic-link,.topic-heading{display:flex;align-items:center;gap:20px}.topic-link{width:100%;text-decoration:none}.topic-link h2{margin:0 0 8px;font-size:1.6rem}.topic-link p{margin:0 0 6px}.topic-heading h1{margin:0;font-size:clamp(1.8rem,4vw,2.8rem)}.topic-thumb{width:84px;height:84px;flex:0 0 84px;object-fit:cover;border-radius:14px;border:1px solid var(--line)}.community-post{margin:24px 0;overflow-wrap:anywhere}.post-image{display:block;max-width:100%;max-height:480px;width:auto;height:auto;object-fit:contain;border-radius:14px;margin:18px 0}.post-meta{font-size:.9rem}.reactions,.moderation-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:20px}.reactions form{margin:0}.reactions .reaction{min-height:40px;padding:6px 12px;gap:7px}.reactions .selected{border-color:#ffe9b0!important;background:#547b64d9!important}.reaction-count{padding:6px 10px}.moderated{border-style:dashed!important}.community .filters{margin-bottom:24px}.community .message-text{white-space:normal}.community input[type=search]{width:100%}@media(max-width:720px){.topic-link,.topic-heading{gap:12px}.topic-thumb{width:64px;height:64px;flex-basis:64px}.topic-link h2{font-size:1.3rem}.topic-heading{align-items:flex-start}.community .section-heading{align-items:flex-start}.reactions{gap:6px}}

/* Clear forum actions sit below the search panel. */
html[data-theme] .forum-actions .button{background:var(--glass);color:#fff0c2;border-color:#ffdc9199;text-shadow:0 1px 2px #071b17;font-weight:700}
html[data-theme] .forum-actions .button:hover{background:var(--glass);color:#fff3cf}
.forum-actions{justify-content:flex-start;gap:14px;margin:0 0 24px}

/* A calm glass surface for uninterrupted story reading. */
html[data-theme] .panel.story-reading{background:var(--glass);backdrop-filter:blur(24px) saturate(110%);-webkit-backdrop-filter:blur(24px) saturate(110%)}
html[data-theme] .story-reading p{color:var(--ink)}

/* One flat surface colour per theme; no per-panel gradients or opacity fades.
   12% transparency: dark green in light theme, dark blue in dark theme. */
html[data-theme]{--unified-surface:rgb(19 52 42 / .88)}
html[data-theme=dark]{--unified-surface:rgb(16 36 54 / .88)}

.profile-back{padding-top:24px}.profile-back .button{display:inline-flex}

.inline-avatar{width:36px;height:36px;object-fit:cover;border-radius:50%;vertical-align:middle;margin-right:10px;border:1px solid var(--line);flex-shrink:0}.profile-greeting{display:flex;align-items:center;gap:16px}.profile-greeting .inline-avatar{width:64px;height:64px;margin:0}

/* Fetch only the visible theme. Retain both layers only during a user-triggered fade. */
html{--scene-day-source:url("enchanted-woodland.e3a3bb4aafe6.webp");--scene-night-source:url("enchanted-woodland-night.7b3dd9c95d1c.webp");--scene-day:var(--scene-day-source);--scene-night:none}
html[data-theme=dark]{--scene-day:none;--scene-night:var(--scene-night-source)}
html[data-theme-transition]{--scene-day:var(--scene-day-source);--scene-night:var(--scene-night-source)}
html[data-theme] body,html[data-theme=dark]:not([data-theme-transition]) body{background-image:var(--scene-day)}
html[data-theme] body::before{background-image:var(--scene-night)}
.mobile-woodland{background-image:var(--scene-day)}
.mobile-woodland::before{background-image:var(--scene-night)}
@media(max-width:1100px){html[data-theme] body,html[data-theme=dark]:not([data-theme-transition]) body{background-image:none}}
@media(max-width:720px){html{--scene-day-source:url("enchanted-woodland-mobile.a81f27a51f76.webp");--scene-night-source:url("enchanted-woodland-night-mobile.024b09b742ec.webp")}}

/* Keep the longer clinic description readable within the introductory heading. */
html[data-theme] .hero h1.portal-heading{margin:0}
html[data-theme] .hero h1 .portal-description{display:block;margin-top:24px;font-size:clamp(1.5rem,2.4vw,2.1rem);line-height:1.35}

/* Introduce the parent portal on one shared glass surface. */
html[data-theme] .wrap.section.home-portal{width:calc(100% - 36px);margin:0 auto;padding:36px;background:var(--glass);border:1px solid var(--line);border-radius:20px;backdrop-filter:blur(15px);-webkit-backdrop-filter:blur(15px)}
.home-portal h2{margin-bottom:18px}
.home-portal .portal-intro{max-width:900px;font-size:1.05rem;margin-bottom:30px}
.portal-features{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:30px 48px}
.portal-features article{border-top:1px solid var(--line);padding-top:24px;min-width:0}
.portal-features h3{font-size:1.5rem;margin:0 0 12px}
.portal-features p{margin:0;line-height:1.75}
@media(max-width:720px){html[data-theme] .wrap.section.home-portal{margin:20px auto;padding:24px}.home-portal h2{font-size:1.9rem}.portal-features{grid-template-columns:1fr;gap:24px}.portal-features article{padding-top:20px}.portal-features h3{font-size:1.35rem}}

/* Founder biography: readable sections and expandable training chronology. */
.founder-biography{max-width:1040px;overflow-wrap:anywhere}
.founder-back{display:inline-block;margin-bottom:22px}
.founder-biography>.lead{max-width:48rem;margin-bottom:28px}
.biography-contents{display:flex;flex-wrap:wrap;gap:8px 22px;border-top:1px solid var(--line);padding-top:18px;margin-top:24px}
.biography-contents a{display:inline-flex;align-items:center;min-height:44px}
.biography-section{scroll-margin-top:110px}
.biography-section p:last-child,.founder-intro>p{margin-bottom:0}
.biography-list{margin:0;padding-left:1.3em;line-height:1.8}
.biography-list li+li{margin-top:12px}
.biography-training{border-top:1px solid var(--line)}
.biography-training summary{padding:18px 0;cursor:pointer;font-size:1.1rem;font-weight:650;min-height:48px}
.biography-training summary:focus-visible{outline:3px solid currentColor;outline-offset:3px}
.biography-training .biography-list{padding-bottom:24px}
@media(max-width:720px){.biography-contents{display:grid;grid-template-columns:1fr;gap:2px}.biography-section{scroll-margin-top:30px}.founder-biography .page-title{font-size:2rem}}

/* Shared transparent family logo in site navigation and footer. */
.brand-logo{display:block;width:48px;height:48px;flex:0 0 48px;object-fit:contain}
@media(max-width:720px){.navigation .brand-logo{width:40px;height:40px;flex-basis:40px}}

/* Keep service details directly below each price, including on narrow screens. */
.services-table{table-layout:fixed}
.services-table th:last-child{width:36%}
.services-table :is(th,td){overflow-wrap:anywhere}
.services-table .price{display:block;white-space:normal}
.service-details{display:flex;align-items:center;min-height:44px;width:fit-content;max-width:100%;margin-top:6px;font-weight:500;line-height:1.4}
@media(max-width:600px){
.services-table thead{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.services-table,.services-table tbody,.services-table tr,.services-table td{display:block;width:100%}
.services-table tr{padding:20px 0;border-bottom:1px solid var(--line)}
.services-table td{padding:0;border:0}
.services-table .service-price{padding-top:12px}
}

/* Give every service introduction the same readable surface as its guide. */
.service-intro .lead{margin-top:0}
.service-intro p:last-child{margin-bottom:0}

.family-admin-actions{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}.family-admin-actions .button{margin:0}

.chat-attachment{margin-top:12px}.chat-attachment> a{display:block}.chat-image-preview{display:block;width:auto;height:auto;max-width:min(100%,360px);max-height:300px;object-fit:contain;border-radius:12px;border:1px solid var(--line)}.chat-attachment p{margin:6px 0}

#registration-terms { max-height:22rem; overflow-y:auto; border:1px solid currentColor; border-radius:12px; padding:1rem; }

/* Keep native date controls within their form column, including iOS Safari. */
.filters>label{min-width:0;max-width:100%}
input[type="date"],input[type="datetime-local"]{box-sizing:border-box;min-width:0;max-width:100%;width:100%;min-height:48px;-webkit-appearance:none;appearance:none;text-align:left}
input[type="date"]::-webkit-date-and-time-value,input[type="datetime-local"]::-webkit-date-and-time-value{text-align:left;min-height:1.5em}
input[type="date"]::-webkit-datetime-edit,input[type="datetime-local"]::-webkit-datetime-edit{padding:0;min-width:0}
@media(max-width:720px){.filters>label{width:100%;flex:initial}.filters input[type="date"],.filters input[type="datetime-local"]{height:48px}}

/* Remember-me uses the same field surface as email and password. */
html[data-theme] input#id_remember_me{-webkit-appearance:none;appearance:none;display:inline-grid;place-content:center;width:22px;height:22px;min-height:22px;padding:0;margin:0;vertical-align:middle;border-radius:5px;cursor:pointer}
html[data-theme] input#id_remember_me::before{content:"";width:6px;height:11px;border:solid currentColor;border-width:0 2px 2px 0;transform:translateY(-1px) rotate(45deg);visibility:hidden}
html[data-theme] input#id_remember_me:checked::before{visibility:visible}
@media(forced-colors:active){html[data-theme] input#id_remember_me{-webkit-appearance:auto;appearance:auto}html[data-theme] input#id_remember_me::before{display:none}}

/* The topic title link covers the entire forum card, including its padding. */
.topic-row{position:relative;cursor:pointer}
.topic-card-link::after{content:"";position:absolute;inset:0;z-index:1;border-radius:inherit}
.topic-row:focus-within{outline:3px solid #5a93ce;outline-offset:3px}

/* Compact shared footer, with the same readable contact details. */
html[data-theme] footer{padding-top:22px;margin-top:30px}
footer .footer-grid{gap:30px}
footer .footer-grid>div{gap:5px;line-height:1.55}
footer .footer-grid strong{margin-bottom:3px;font-size:.9rem}
html[data-theme] footer .brand{font-size:1.15rem;gap:9px}
footer .brand-logo{width:36px;height:36px;flex-basis:36px}
html[data-theme] footer .footer-bottom{margin-top:18px;padding-top:12px;padding-bottom:12px;line-height:1.5}
@media(max-width:720px){
 html[data-theme] footer{padding-top:20px;margin-top:24px}
 footer .footer-grid{gap:16px}
 footer .footer-grid a:not(.brand){min-height:24px;display:flex;align-items:center}
 footer .footer-bottom{gap:6px}
}

/* Breathing room after the home-page feature panel. */
html[data-theme] .wrap.section.home-portal{margin-bottom:96px}
@media(max-width:720px){html[data-theme] .wrap.section.home-portal{margin-bottom:72px}}

/* Keep complete navigation labels readable for every account role. */
html[data-theme] .navigation{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:12px 24px}
html[data-theme] .navigation .brand{margin-right:150px;min-height:44px}
html[data-theme] .navigation nav{display:flex;flex:0 0 100%;width:100%;min-width:0;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:6px 12px;padding-top:10px;border-top:1px solid var(--line)}
html[data-theme] .navigation nav>a,html[data-theme] .navigation nav>form{flex:0 0 auto;white-space:nowrap}
html[data-theme] .navigation nav>a:not(.button),html[data-theme] .navigation nav .link-button{display:inline-flex;align-items:center;min-height:40px;padding:6px 4px;line-height:1.4}
html[data-theme] .navigation nav>form{margin:0}
html[data-theme] .preferences{top:16px}
html[data-theme] .staff-nav .wrap{display:flex;flex-wrap:wrap;align-items:center;gap:6px 20px;padding-top:10px;padding-bottom:10px}
html[data-theme] .staff-nav a{display:inline-flex;align-items:center;min-height:38px;white-space:nowrap;line-height:1.4}
@media(max-width:720px){
 html[data-theme] .navigation{padding:10px 16px;gap:8px}
 html[data-theme] .navigation .brand{margin-right:120px;font-size:1rem;gap:6px}
 html[data-theme] .navigation .brand-logo{width:32px;height:32px;flex-basis:32px}
 html[data-theme] .preferences{top:14px;right:16px}
 html[data-theme] .navigation nav{gap:4px 12px;padding-top:8px;font-size:.84rem}
 html[data-theme] .navigation nav .button.small{min-height:40px;white-space:nowrap}
 html[data-theme] .staff-nav .wrap{gap:4px 16px;font-size:.84rem}
}
@media(max-width:370px){html[data-theme] .navigation .brand{font-size:.88rem;gap:4px}html[data-theme] .navigation .brand-logo{width:26px;height:26px;flex-basis:26px}html[data-theme] .preferences{gap:4px}html[data-theme] .preferences .icon-toggle{width:30px;height:34px}}

/* One-line header; narrow navigation scrolls without breaking labels. */
html[data-theme] .navigation{max-width:1680px;flex-wrap:nowrap;gap:18px;padding:10px 154px 10px 24px;min-height:70px}
html[data-theme] .navigation .brand{margin:0;flex:0 0 auto;font-size:1.15rem}
html[data-theme] .navigation nav{flex:1 1 auto;width:auto;flex-wrap:nowrap;gap:10px;padding:0;border:0;overflow-x:auto;scrollbar-width:thin;scrollbar-color:#ffdc9166 transparent;overscroll-behavior-x:contain}
html[data-theme] .navigation nav>a:not(.button),html[data-theme] .navigation nav .link-button{padding:6px 0}
html[data-theme] .preferences{right:max(24px,calc((100vw - 1680px)/2 + 24px));top:16px}
@media(max-width:1450px){html[data-theme] .navigation{gap:14px}html[data-theme] .navigation nav{gap:9px;font-size:.8rem}html[data-theme] .navigation .brand{font-size:1.05rem}html[data-theme] .navigation .brand-logo{width:38px;height:38px;flex-basis:38px}}
@media(max-width:720px){html[data-theme] .navigation{padding:10px 132px 10px 12px;gap:12px;min-height:64px}html[data-theme] .navigation .brand span{display:none}html[data-theme] .navigation .brand-logo{width:32px;height:32px;flex-basis:32px}html[data-theme] .navigation nav{font-size:.84rem;gap:14px}html[data-theme] .preferences{right:12px;top:15px}html[data-theme] .navigation nav .button.small{min-height:38px}}

/* Align the page links beside the header preferences. */
html[data-theme] .navigation nav{justify-content:safe flex-end}

/* Collapse both navigation groups on phones, leaving controls clear. */
html[data-theme] .mobile-menu-toggle{display:none}
@media(max-width:720px){
 html[data-theme] .navigation{flex-wrap:wrap;justify-content:space-between;gap:0;padding:10px 136px 10px 12px;min-height:64px}
 html[data-theme] .navigation .brand{min-height:44px}
 html[data-theme] .mobile-menu-toggle{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:6px 10px;font-size:.84rem;gap:6px}
 html[data-theme] .navigation nav{display:none;flex:0 0 calc(100% + 124px);width:calc(100% + 124px);margin-top:10px;padding-top:10px;border-top:1px solid var(--line);overflow:visible;flex-wrap:wrap;justify-content:flex-start;gap:6px 16px}
 html[data-theme] header.menu-open .navigation nav{display:flex}
 html[data-theme] .staff-nav{display:none}
 html[data-theme] header.menu-open+.staff-nav{display:block}
 html[data-theme] .staff-nav .wrap{gap:4px 16px;padding:12px 16px}
 html[data-theme] .staff-nav a{white-space:normal}
 html[data-theme] .preferences{top:15px;right:12px;gap:6px}
}

/* Reserve independent phone positions for menu and preference controls. */
@media(max-width:720px){
 html[data-theme] .navigation{padding:10px 12px;justify-content:flex-start}
 html[data-theme] .mobile-menu-toggle{position:absolute;top:15px;right:144px;margin:0;z-index:2;max-width:104px}
 html[data-theme] .navigation nav{flex:0 0 100%;width:100%}
 html[data-theme] .preferences{width:120px;max-width:120px;padding:0;justify-content:flex-end;flex-wrap:nowrap;z-index:3}
}

/* Phone header: full brand and menu button; preferences inside the drawer. */
@media(max-width:720px){
 html[data-theme] .navigation{padding:10px 16px;min-height:64px;justify-content:space-between}
 html[data-theme] .navigation .brand{font-size:1.05rem;gap:7px;margin:0}
 html[data-theme] .navigation .brand span{display:inline}
 html[data-theme] .navigation .brand-logo{width:32px;height:32px;flex-basis:32px}
 html[data-theme] .mobile-menu-toggle{position:static;max-width:none;min-height:40px;font-size:.84rem;padding:6px 10px}
 html[data-theme] header>.preferences{display:none;position:static;width:auto;max-width:none;margin:0 16px;padding:12px 0 14px;justify-content:flex-start;border-top:1px solid var(--line);gap:10px}
 html[data-theme] header.menu-open>.preferences{display:flex}
 html[data-theme] .preferences .notification-panel{left:0;right:auto;width:min(410px,calc(100vw - 32px))}
}

/* Match the booking-to-preferences gap to the 7px icon spacing. */
@media(min-width:721px){
 html[data-theme] .navigation{padding-right:114px}
 html[data-theme] header:has(.notification-widget) .navigation{padding-right:159px}
 html[data-theme] header>.preferences{gap:7px}
}

/* Align staff filter controls on one baseline with equal dimensions. */
html[data-theme] .staff-filters{align-items:end}
html[data-theme] .staff-filters>label{display:flex;flex-direction:column;gap:6px;margin:0;min-width:0}
html[data-theme] .staff-filters input:not([type=hidden]),html[data-theme] .staff-filters select,html[data-theme] .staff-filters>.button{height:48px;min-height:48px;margin:0;border-radius:11px;box-sizing:border-box}
html[data-theme] .staff-filters>.button{align-self:end;width:100%;padding:8px 14px}

/* Center all shared footer content on phones. */
@media (max-width:720px){
 footer .footer-grid,footer .footer-bottom{text-align:center}
 footer .footer-grid>div{align-items:center}
 footer .footer-grid a,footer .brand{justify-content:center}
 footer .footer-bottom{flex-direction:column;align-items:center;justify-content:center}
}

.chat-message .message-read-status{font-size:.78rem;color:var(--muted);margin:10px 0 0;font-variant-numeric:tabular-nums}
.profile-contact-links{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
/* Consistent checkbox colors in Safari and other browsers, independent of OS theme. */
html[data-theme] input[type=checkbox]{-webkit-appearance:none;appearance:none;display:inline-block;flex-shrink:0;box-sizing:border-box;width:24px;height:24px;min-height:24px;padding:0;margin:0 8px 0 0;vertical-align:middle;border:2px solid #c5b47d;border-radius:7px;background-color:#294c42;background-image:none;background-repeat:no-repeat;background-position:center;background-size:18px 18px;cursor:pointer}
html[data-theme] input[type=checkbox]:checked{background-color:#f3dc9b;border-color:#f3dc9b;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12 4 4L19 6' fill='none' stroke='%2319352c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
html[data-theme] input[type=checkbox]:indeterminate{background-color:#f3dc9b;background-image:linear-gradient(#19352c,#19352c);background-size:12px 3px}
html[data-theme] input[type=checkbox]:disabled{opacity:.5;cursor:not-allowed}
@media(forced-colors:active){html[data-theme] input[type=checkbox]{-webkit-appearance:auto;appearance:auto;background-image:none;forced-color-adjust:auto}}

/* Full contact addresses remain readable and actionable on narrow screens. */
a.contact-email{overflow-wrap:anywhere;word-break:normal}

/* Help remains available while primary contacts are awaiting verification. */
.support-help{display:flex;align-items:center;justify-content:flex-end;gap:.75rem;flex-wrap:wrap;padding-top:1rem;padding-bottom:.4rem}
.support-help>span{font-size:.9rem}.support-help-button{display:inline-flex;align-items:center;gap:.5rem;min-height:44px;white-space:normal;text-align:center}.support-help-button svg{flex-shrink:0}.support-unread{display:inline-flex;align-items:center;justify-content:center;min-width:1.5em;height:1.5em;padding:0 .25em;border-radius:50%;background:var(--gold,#e9d49b);color:#173a32;font-weight:700}
@media(max-width:480px){.support-help{justify-content:center;gap:.4rem}.support-help>span{flex-basis:100%;text-align:center}}
.message-reactions{display:flex;gap:.4rem;flex-wrap:wrap;margin-top:.75rem}.message-reactions form{margin:0}.message-reactions button{min-width:44px;min-height:44px;padding:.35rem .55rem}.message-reactions button[aria-pressed=true]{background:#173d31;color:#fff;border:2px solid #b5dba0}html[data-theme=dark] .message-reactions button[aria-pressed=true]{background:#e1f0ff;color:#11243d;border-color:#80b5e8}
html[data-theme] .chat-message .message-reactions .button[aria-pressed=true]{background:#edf6de!important;color:#173d31!important;border:2px solid #b6d48a!important;box-shadow:0 0 0 2px #173d31 inset!important;text-shadow:none!important}

/* The time label represents the checkbox; keep native ticks hidden even on locked slots. */
html[data-theme] .work-calendar .work-interval>input[type=checkbox]{position:absolute;opacity:0;width:1px;height:1px;min-height:0;padding:0;margin:0;border:0;clip-path:inset(50%);overflow:hidden}

/* Feedback shares the active woodland glass instead of solid status fills. */
html[data-theme] .notice[class]{background:var(--glass);color:var(--ink);border:1px solid #ffdc9159;border-radius:18px;box-shadow:inset 0 1px 0 #fff0cc24,0 10px 28px #0314212e;backdrop-filter:blur(18px) saturate(115%);-webkit-backdrop-filter:blur(18px) saturate(115%);max-width:100%;overflow-wrap:anywhere}
html[data-theme] .notice.success{border-inline-start:3px solid #99c6a9a6}
html[data-theme] .notice.error{border-inline-start:3px solid #e5a3aaa6}
html[data-theme] .notice.warning{border-inline-start:3px solid #e6c381a6}
html[data-theme] .manual-phone-page input#id_code:focus{background:var(--glass);color:var(--ink);border-color:#e8cf95;outline:2px solid #e8cf9570;outline-offset:3px;box-shadow:inset 0 1px 4px #0003,0 0 14px #e8cf951c}

/* Contact states remain distinct when the profile narrows to a phone screen. */
.contact-verification{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 28px}
.verification-item{display:flex;align-items:center;gap:10px;flex-wrap:wrap;min-width:0}
.verification-item .badge{max-width:100%;overflow-wrap:anywhere}
@media(max-width:720px){.contact-verification{grid-template-columns:1fr;gap:16px}.verification-item>strong{min-width:76px}}
@media(max-width:360px){.verification-item{display:grid;grid-template-columns:1fr;gap:7px}.verification-item .badge{justify-self:start}}

html[data-theme] .story-filters .button,html[data-theme] .story-filters .button:hover{background:var(--glass);color:var(--ink);border-color:#e8cf9566}
html[data-theme] .story-filters .button[aria-current=page]{border-color:#e8cf95;box-shadow:inset 0 0 0 1px #e8cf9560}

/* Keep the available status separate from the action that closes its slot. */
.slot-availability-actions{display:flex;flex-direction:column;align-items:stretch;gap:9px;width:fit-content;max-width:100%;margin:0}
.slot-availability-actions .schedule-status{text-align:center}
html[data-theme] .slot-availability-actions .link-button{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:7px 10px;border:1px solid #e8cf955c;border-radius:9px;background:var(--glass);color:var(--ink);font-size:.8rem;line-height:1.4;white-space:normal}

/* Shared surfaces: every theme supplies its own translucent palette. */
html[data-theme]{--overlay-glass:var(--unified-surface);--surface-hover:var(--unified-surface);--surface-success:var(--unified-surface);--surface-warning:var(--unified-surface);--surface-info:var(--unified-surface);--surface-neutral:var(--unified-surface);--surface-danger:var(--unified-surface)}
html[data-theme=dark]{--overlay-glass:var(--unified-surface);--surface-hover:var(--unified-surface);--surface-success:var(--unified-surface);--surface-warning:var(--unified-surface);--surface-info:var(--unified-surface);--surface-neutral:var(--unified-surface);--surface-danger:var(--unified-surface)}
html[data-theme] :is(.hero-card,.contact-band,.hero-foot span,.step>span,.card-number,.demo,.credential,.staff-nav,.avatar,.profile-picture){background:var(--glass);color:var(--ink)}
html[data-theme] .hero-card :is(h2,p,strong),html[data-theme] .hero-foot span{color:var(--ink)}
html[data-theme] .button,html[data-theme] .button.light,html[data-theme] .button.outline,html[data-theme] button:not(.link-button),html[data-theme] .preferences :is(.icon-toggle,.theme-toggle),html[data-theme] .about-copy .button{background:var(--glass);color:var(--ink)}
html[data-theme] .button:hover,html[data-theme] .button.light:hover,html[data-theme] .button.outline:hover,html[data-theme] button:not(.link-button):hover,html[data-theme] .about-copy .button:hover{background:var(--surface-hover);color:var(--ink);border-color:#e8cf95}
html[data-theme] .badge[class]{background:var(--glass)}
html[data-theme] .errorlist,html[data-theme] .form .errorlist{background:var(--surface-danger);color:#ffd5df;border:1px solid #e5a3aa80}
html[data-theme] input:not([type=checkbox]):not([type=radio]):not([type=hidden]),html[data-theme] textarea,html[data-theme] select{background:var(--glass);color:var(--ink)}
html[data-theme=dark] option{background:#142536;color:var(--ink)}
html[data-theme] th{background:var(--glass);color:var(--ink)}
html[data-theme] .calendar-grid .calendar-day:is(:hover,.selected),html[data-theme] .slot:hover,html[data-theme] .slot:has(input:checked){background:var(--surface-hover);color:var(--ink)}
html[data-theme] .calendar-grid .calendar-day.unavailable{background:var(--surface-neutral)}
html[data-theme] .time-bubble.available,html[data-theme] .work-interval span{background:var(--surface-success)}
html[data-theme] .time-bubble:is(.pending,.reserved),html[data-theme] .work-interval.pending span{background:var(--surface-warning)}
html[data-theme] .time-bubble.approved,html[data-theme] .work-interval.approved span{background:var(--surface-info)}
html[data-theme] .time-bubble.closed{background:var(--surface-neutral)}
html[data-theme] .work-interval:is(.available,.published):has(input:checked) span,html[data-theme] .time-bubble.published{background:var(--surface-success);box-shadow:inset 0 0 0 1px #e8cf95;border-color:#ffe9b0}
html[data-theme] .reactions .selected{background:var(--surface-hover)!important;color:var(--ink)!important;box-shadow:inset 0 0 0 1px #e8cf95}
html[data-theme] .chat-message .message-reactions .button[aria-pressed=true]{background:var(--surface-hover)!important;color:var(--ink)!important;box-shadow:inset 0 0 0 2px #e8cf95!important}
html[data-theme] .support-unread{background:var(--surface-info);color:var(--ink);border:1px solid #e8cf9580}


/* One readable row per family member, including on narrow child cards. */
.child-family-members{display:grid;gap:.5rem;min-width:0;max-width:100%;margin:.6rem 0 1rem}
.child-family-members ul{list-style:none;padding:0;margin:0;display:grid;gap:.65rem;min-width:0}
.child-family-members li{min-width:0;overflow-wrap:anywhere;line-height:1.5}
.child-family-members .person-label{gap:.4rem .5rem}
.child-family-panel .child-family-members{margin:0}

.child-card-actions{display:flex;flex-direction:column;align-items:flex-start;gap:12px;margin:4px 0 6px;max-width:100%}
.child-card-actions>.button{max-width:100%;white-space:normal;text-align:center}

/* Booking calendar: matching day surfaces, full weekday names and empty-day copy. */
html[data-theme] .calendar-grid.patient-calendar .calendar-day,
html[data-theme] .calendar-grid.patient-calendar .calendar-day:is(.unavailable,:hover){background:var(--glass);color:var(--ink);border-color:#f5dcaf4d;box-shadow:inset 0 1px 0 #fff2,0 6px 15px #071c2733}
html[data-theme] .patient-calendar .schedule-day>strong{width:100%;text-align:center}
html[data-theme] .patient-calendar .schedule-day>strong small{display:block;margin:4px 0 8px;line-height:1.35;font-size:clamp(.7rem,2.8vw,.9rem);overflow-wrap:normal}
html[data-theme] .patient-calendar .no-times{font-family:inherit;font-size:.85rem;line-height:1.4;text-align:center;padding:8px 3px;color:var(--ink);text-shadow:none}

/* Keep editable controls readable without iPhone's automatic focus zoom.
   Preserve larger inherited text and the user's ability to pinch-zoom. */
@media(max-width:1100px),(any-pointer:coarse){
 html[data-theme] body :is(input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=button]):not([type=submit]):not([type=reset]):not([type=image]):not([type=range]):not([type=color]),textarea,select,[contenteditable]:not([contenteditable=false])){font-size:max(16px,1em)}
}

/* Shared-contact accounts: explicit choices and spaced staff actions. */
.representative-contact-details .contact-verification{margin-block:20px}
.login-profile-choice #id_profile{display:grid;gap:14px;margin-block:14px 22px}
.login-profile-choice #id_profile label{display:flex;align-items:flex-start;gap:10px;line-height:1.55}
.login-profile-choice #id_profile input{flex:0 0 auto;margin-top:3px}

.service-tests-link{text-decoration:underline;text-underline-offset:3px;font-weight:600}

/* iOS scroll compositing: long/nested backdrop surfaces can temporarily replace
   the fixed woodland with a solid tile. Keep the translucent theme fills, but
   do not resample the entire scenery behind every mobile card/button on scroll.
   Shared across public, patient and staff pages, including installed apps. */
@media(max-width:1100px){
 html[data-theme] body *,html[data-theme] body *::before,html[data-theme] body *::after{
  -webkit-backdrop-filter:none!important;backdrop-filter:none!important;
 }
}

/* Themed notification-style glass: the shared tint remains identical across
   surfaces; a pale rim and inset highlight give depth without scroll repaint. */
html[data-theme] :is(.panel,.card,.button,.notice,.chat-message,.visit-note,.booking-row,.empty,.notification-panel,.service-picker-trigger,.service-picker-options){border-color:rgb(255 255 255 / .28);box-shadow:inset 0 1px 0 rgb(255 255 255 / .16),0 8px 24px rgb(0 0 0 / .12)}

/* Informational consultation packages reuse the existing themed panels. */
.consultation-packages{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.consultation-package{min-width:0;overflow-wrap:anywhere}
.consultation-package header{display:flex;align-items:baseline;justify-content:space-between;gap:16px;flex-wrap:wrap}
.consultation-package h3{margin:0}
.consultation-package .price{white-space:nowrap}
.consultation-package ul{padding-left:1.25em;margin-bottom:0}
.consultation-package li+li{margin-top:8px}
.consultation-notes{margin-top:20px}
.consultation-notes p:last-child{margin-bottom:0}
@media(max-width:720px){.consultation-packages{grid-template-columns:1fr}}

/* Closed hours remain visible and selectable when defining a new schedule. */
html[data-theme] .work-interval.closed span{background:var(--surface-neutral);color:#d7e0e3;border-color:#9aa9ae;border-style:dashed}
html[data-theme] #work-schedule .schedule-legend .time-bubble.closed{border-style:dashed}
html[data-theme] .work-interval.closed:has(input:checked) span{background:var(--surface-success);color:#fff;border-color:#ffe9b0;border-style:solid;box-shadow:inset 0 0 0 1px #e8cf95}
