/* Homepage palette; supplied calendar styles own fonts and geometry. */
:root{--ink:#241c18;--green:#c42a00;--cream:#fdf7f2;--gold:#9a5b00;--line:#ebdcd0}
.hh-calendars-v2{--ink:#241c18;--green:#a8d5aa;--red:#e8a19b;--orange:#f8c992;--yellow:#fae7a3;--blue:#a0c9e6}
.hh-cal{background:#fffaf6;border-color:#ebdcd0}
.hh-cal .hh-number{color:#241c18}
.hh-cal .hh-today{outline-color:#c42a00;box-shadow:0 0 0 6px #ffe9e1}
.hh-cal .hh-month-nav button{background:#ffe9e1;color:#6e1800;border-color:#ebdcd0}
.lead,.muted,.small,.subtle{color:#6b5b50}.notice,.badge{background:#fff3d9}
.hh-calendars-v2 a{color:#c42a00}.hh-weekdays span:last-child{color:#b42324}
/* Only the surrounding page shell changes in the embedded view. */
html.embedded,html.embedded body{background:transparent}
.embedded body>header{background:transparent;border:0;padding:0;justify-content:flex-end}
.embedded body>header>.brand,.embedded body>header nav>a,.embedded body>footer{display:none}
.embedded main.hh-calendars-v2{margin:0;max-width:none;padding:0 0 24px}
.embedded main>.eyebrow,.embedded main>h1,.embedded main>.lead{display:none}
.embedded .tabs{margin-top:12px}
.embedded dialog{position:absolute;top:var(--dialog-top,24px);bottom:auto;margin:0 auto}

.hh-cal button.hh-half:disabled{opacity:1}

.hh-calendars-v2 .tabs button[aria-selected=true],.hh-calendars-v2 button.primary{background:#c42a00;border-color:#c42a00;color:#fff}

/* Owner-requested controls around the preserved calendar grid. */
.calendar-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;max-width:580px;margin:0 auto 20px}.calendar-toolbar .tabs{margin:0;gap:6px}.calendar-toolbar button{white-space:nowrap}.hh-month-nav{display:grid;grid-template-columns:44px 1fr 44px;align-items:center}.hh-month-nav h3{margin:0;text-align:center}.hh-cal .hh-month-nav button{width:44px;height:44px;min-height:44px;padding:10px;display:grid;place-items:center;background:#fff;border-color:#ebdcd0}.hh-month-nav svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.hh-cal .hh-month-nav button:disabled{opacity:.35}.standard-times{line-height:1.7;white-space:pre-line}.special-times{background:#f3efeb;border-radius:10px;overflow:hidden}.special-times>button{width:100%;border:0;background:transparent;text-align:left;padding:14px}.special-times>div{padding:0 14px 14px}.special-times:has(>button[hidden]):has(>div[hidden]){display:none}#resetSelection{font-size:13px;background:transparent;margin:0;flex-shrink:0}.selection-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:12px}.selection-actions .notice{flex:1;min-width:140px;margin:0}.selection-actions:has(>button[hidden]):has(>.notice:empty){display:none}#selectionSummary{white-space:pre-line}
@media(max-width:480px){.calendar-toolbar{gap:8px}.calendar-toolbar button{padding:9px 10px;font-size:13px}.calendar-toolbar .tabs{gap:4px}}

html.embedded{overflow:hidden}.embedded dialog{overflow:auto;max-height:var(--dialog-max-height,calc(100vh - 48px))}

/* Branded customer page; preserved calendar grid fonts and geometry stay intact. */
body{font-family:Inter,Arial,sans-serif}body>header{max-width:none;padding:20px max(22px,calc((100vw - 1136px)/2));border-bottom:1px solid #ebdcd0}.brand{display:flex;align-items:center;gap:14px;color:#241c18;font-family:Fraunces,Georgia,serif;font-size:27px;line-height:1.2}.brand img{display:block;width:48px;height:48px;object-fit:contain}.brand small{display:block;font:12px/1.5 Inter,Arial,sans-serif;color:#6b5b50;margin-top:4px}header nav a{font-size:14px;color:#6e1800}main>h1,#portal h2,#portal h3,dialog h2{font-family:Fraunces,Georgia,serif}.panel{border-radius:20px}button.primary{border-radius:24px;padding:12px 20px}#portal{padding:30px}#portal>.bar{justify-content:space-between}#portal h2{margin:0}#portal .portal-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(280px,1fr);gap:28px}#portal .account-bookings{grid-column:1;grid-row:1}#portal .account-details{grid-column:2;grid-row:1}#portal .card{padding:22px;border-radius:16px;background:#fffaf6}#portal input,#portal textarea,dialog input,dialog textarea,dialog select{border-color:#d4c2b4;border-radius:10px}#portal .booking-card{padding:24px}#portal .linked-booking{border:2px solid #c42a00;background:#fff8ec}.account-nav{display:flex;flex-wrap:wrap;gap:10px;border-block:1px solid #ebdcd0;padding:18px 0;margin:20px 0}.account-nav a{border-radius:22px;background:#fff3d9;padding:9px 15px;text-decoration:none;font-size:14px}#myDogSection{border-top:1px solid #ebdcd0;margin-top:30px;padding-top:16px}.customer-footer{border-top:1px solid #ebdcd0;padding:28px 20px 34px;font-size:12px;background:#f7eadf;color:#6b5b50}.customer-footer p{margin:5px 0}.customer-footer p:first-child{font-family:Fraunces,Georgia,serif;font-size:18px;color:#241c18}.customer-footer a{color:#9a300f}.account-view main{max-width:1180px}.account-view #accountWelcome{max-width:760px;margin-top:28px}.account-view #portal{margin-top:24px!important}.embedded .brand{display:none}@media(max-width:760px){body>header{padding:16px 18px}.brand{font-size:23px}.brand small{max-width:180px;font-size:10px}header nav{justify-content:flex-end}main{padding:28px 16px 48px}#portal{padding:20px}#portal .portal-grid{display:flex;flex-direction:column}#portal .account-bookings{order:0}#portal .account-details{order:1}.account-nav{gap:7px}.account-nav a{padding:8px 12px;font-size:13px}#profileDogs .actions>button{width:100%;text-align:center}.customer-footer p{line-height:1.8}}

.hh-cal{font-family:system-ui,sans-serif}

.request-warning{background:#fff3cd!important;color:#725200!important;border:2px solid #d6a600;border-left-width:6px;border-radius:10px;padding:16px 18px;margin:20px 0;font-size:15px;line-height:1.6}.request-warning strong{display:block;font-size:17px}.request-warning p{margin:7px 0 0}

/* Service choice directly above the month card; account is reached from the page navigation. */
.calendar-toolbar{justify-content:center}.calendar-toolbar .tabs{width:100%;display:flex}.calendar-toolbar [role=tab]{flex:1}

.availability-only #bookingLayout{display:block}.availability-only #bookingLayout>aside,.availability-only #portal,.availability-only #accountWelcome{display:none!important}
.hh-cal>.legend,.hh-cal>#calendarHelp{max-width:580px;width:100%;margin-inline:auto;overflow-wrap:anywhere}
.hh-cal .legend{align-items:flex-start}.hh-cal .legend>span{max-width:100%;min-width:0}
.staff-calendar #calendarHelp{display:none}.staff-calendar .hh-past:has([data-staff-date]) .hh-half{visibility:visible}
.hh-cal .hh-full-booked{position:absolute;inset:0;background:var(--red);pointer-events:none}
.hh-cal .hh-past .hh-full-booked{visibility:hidden}
.hh-cal .hh-fully-booked .hh-half{clip-path:none}.hh-cal button.hh-half:disabled:hover{filter:none}
.staff-booking-count{position:absolute;right:3px;bottom:3px;border-radius:50%;background:#fffaf6;color:#241c18;min-width:17px;line-height:17px;font-size:11px}
.special-time{color:#b42324!important;font-weight:750!important}.staff-day-bookings{display:grid;gap:12px;margin-top:20px}.staff-day-bookings>button{text-align:left}

#googleAuth>h3{font-size:19px;margin:14px 0}.google-other{display:flex;align-items:center;gap:12px;margin-top:16px;font-size:14px;color:#6e1800}.google-other>div{min-width:44px;min-height:44px}.google-other>span{max-width:230px}#googleAuth iframe{max-width:100%}

/* Booking links open their own summary, never a blank request form. */
#bookingLayout>.hh-cal{grid-column:1;grid-row:1}#bookingLayout>aside{grid-column:2;grid-row:1}
/* Selection and request controls share one card and one flow. */
#selectionOverview{margin-bottom:20px}#selectionOverview p{margin-bottom:12px}
#selectionOverview h2{margin-top:0}.availability-only #selectionOverview{display:none!important}
.booking-detail #bookingLayout{display:block}.booking-detail #selectionOverview,.booking-detail #bookingLayout>aside,.booking-detail #calendarHelp{display:none!important}
.linked-booking-view{margin:24px 0}.linked-booking-view h2{margin:4px 0 12px}.linked-booking-view .eyebrow{margin:0}.booking-when{font-size:clamp(18px,2.4vw,23px);font-weight:650;line-height:1.65;white-space:normal}
.booking-state{padding:16px 20px;background:#fff3cd;color:#725200;border-left:5px solid #d6a600;border-radius:10px;margin:20px 0}.booking-state p{margin:6px 0 0}.booking-state[data-status=confirmed],.booking-state[data-status=in_progress],.booking-state[data-status=completed]{background:#ddf0e2;color:#185c34;border-color:#388452}.booking-state[data-status=cancelled],.booking-state[data-status=rejected]{background:#fbe2df;color:#972a22;border-color:#be4034}
.booking-detail .calendar-toolbar button:disabled{opacity:1;cursor:default}.booking-detail .hh-past:has([aria-pressed=true]) .hh-half{visibility:visible}.booking-detail #portal .portal-grid{display:block}.booking-detail #myBookingSection,.booking-detail .account-nav{display:none}.booking-detail #portal .account-details{max-width:760px}
#authForm .auth-forgot,#authForm .auth-back{display:block;border:0;background:transparent;color:#9a300f;font-size:13px;font-weight:400;padding:2px 0;margin:8px 0 18px;border-radius:0;text-decoration:underline;text-underline-offset:3px;box-shadow:none}
@media(max-width:780px){#bookingLayout{grid-template-columns:1fr}#bookingLayout>aside{grid-column:1;grid-row:1}#bookingLayout>.hh-cal{grid-column:1;grid-row:2}.linked-booking-view{padding:20px}.linked-booking-view .actions{align-items:stretch}.linked-booking-view .actions>button{width:100%}}

/* Google buttons remain complete, native controls with their entire text clickable. */
#authDialog{width:min(560px,calc(100vw - 28px))}#authDialog .dialog-head h2{font-size:26px}
#googleAuth{padding-top:8px}#googleAuth>h3{font-size:17px}#googleAuth iframe{max-width:none}
.google-other{display:block;margin-top:18px}.google-other p{font-size:13px;margin:0 0 8px;color:#6b5b50}.google-other>div{min-width:0;min-height:44px}
.auth-account-choice{display:flex;justify-content:flex-end;align-items:center;gap:7px;font-size:13px;margin:20px 0 8px}
.auth-account-choice button{border:0;padding:5px 0;background:transparent;color:#9a300f;text-decoration:underline;text-underline-offset:3px;font-size:13px}
.auth-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:18px}
#authForm .auth-forgot{margin:0;text-align:right;min-height:40px;flex-shrink:0}#authForm .auth-back{margin:16px 0 0 auto;text-align:right}
@media(max-width:420px){#authDialog{padding:18px}#authDialog .dialog-head h2{font-size:23px}.auth-actions{gap:8px}#authForm .auth-forgot{font-size:12px}}

/* Date/time controls must fit narrow forms even with the explicit midnight label. */
#boardingTimeFields .row,#changeBoardFields .row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
#boardingTimeFields .row>div,#changeBoardFields .row>label,#boardingTimeFields select,#changeBoardFields select,#changeBoardFields input{min-width:0;max-width:100%}
/* Center the homepage account invitation without touching the calendar grid. */
.embedded #guestPrompt{text-align:center}
.embedded #loginPrompt{display:block;margin-inline:auto}

#boardingSpecialWrap .special-times{margin-top:12px}

.staff-booking-times{position:absolute;right:3px;bottom:3px;display:flex;flex-direction:column;gap:1px;max-height:65%;overflow:auto;font-size:10px;line-height:1.2;color:#4c2213;font-weight:700}.staff-booking-times span{padding:1px 3px;border-radius:3px;background:#fff8e9e8}.staff-block-part{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;background:transparent!important;border:0!important;border-radius:0!important;z-index:5}.staff-block-part.part-0{clip-path:polygon(0 0,100% 0,0 100%)}.staff-block-part.part-1{clip-path:polygon(100% 0,100% 100%,0 100%)}.staff-block-part[aria-pressed=true]{background:#ffc44caa!important}.staff-block-part:focus-visible{outline:3px solid #a72d14!important;outline-offset:-3px}.staff-block-part:disabled{cursor:not-allowed}

/* Disjoint hit areas: a click on Õhtu must never hit Hommik at a shared centre. */
.staff-block-part{width:50%!important;clip-path:none!important}.staff-block-part.part-0{inset:0 auto 0 0!important}.staff-block-part.part-1{inset:0 0 0 auto!important}.staff-block-part[aria-pressed=true]{background:#ffc44c55!important;box-shadow:inset 0 0 0 2px #a16e10!important}
