/* A calm, shared application system. */
:root { --app-shadow: 0 8px 30px rgba(20,44,52,.05); }
.platform-page { padding: 46px 0 72px; min-height: 65vh; background: #fff; }
.platform-initial-title { font-size: clamp(30px, 3.3vw, 46px); line-height: 1.15; letter-spacing: -.04em; margin: 0 0 28px; }
.platform-loading { padding: 30px 0; color: var(--muted); }
.platform-page:has(.platform-shell) .platform-initial-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.platform-page > .shell { max-width: 1400px; width: calc(100% - 64px); }
.platform-shell { display: grid; grid-template-columns: 210px minmax(0,1fr); gap: 40px; }
.platform-sidebar { align-self: start; position: sticky; top: 120px; padding: 24px 20px; border-radius: 14px; background: #f3faf7; }
.platform-nav-title { font-size: 12px; font-weight: 750; color: var(--muted); margin: 0 0 24px; }
.platform-sidebar nav { display: grid; gap: 6px; margin-bottom: 28px; }
.platform-sidebar nav a { display: flex; padding: 11px 12px; border-radius: 7px; font-weight: 650; font-size: 14px; }
.platform-sidebar nav a:hover, .platform-sidebar nav a:focus-visible { color: var(--teal-strong); background: #dbf0e8; }
.platform-nav-note { border-top: 1px solid var(--line); padding-top: 18px; font-size: 12px; color: var(--muted); }
.platform-sidebar button { border: 0; background: transparent; padding: 0; }
.workspace-content { min-width: 0; }
.workspace-heading { display: flex; align-items: flex-start; gap: 24px; justify-content: space-between; margin-bottom: 28px; }
.workspace-heading h2 { font-size: clamp(27px,3vw,40px); line-height: 1.2; letter-spacing: -.04em; margin-bottom: 14px; }
.workspace-greeting { font-size: 13px; color: var(--muted); margin: 0 0 8px; }
.workspace-heading p { color: var(--muted); }
.platform-panel { border: 1px solid var(--line); border-radius: 12px; padding: 28px; margin-bottom: 28px; }
.platform-panel h2 { font-size: 23px; }
.platform-section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.platform-section-heading h2 { margin: 0 0 10px; }
.platform-section-heading p { max-width: 65ch; color: var(--muted); }
.platform-empty { padding: 32px; background: #f4faf7; border-radius: 10px; margin: 12px 0 28px; }
.platform-empty h3 { font-size: 24px; }
.platform-empty p { max-width: 66ch; color: var(--muted); }
.platform-empty .button-row { margin-top: 22px; }
.platform-form { display: grid; gap: 18px; max-width: 640px; }
.platform-form label { display: grid; gap: 8px; font-size: 14px; font-weight: 650; }
.platform-form input, .platform-form textarea, .platform-form select { font-weight: 400; font-size: 15px; border-color: #c7d8d3; border-radius: 8px; padding: 12px 14px; }
.platform-form .button { justify-self: start; }
.platform-checkbox { display: flex !important; align-items: flex-start; gap: 12px !important; }
.platform-checkbox input { width: 19px; height: 19px; margin-top: 3px; flex-shrink: 0; accent-color: var(--teal); }
.platform-form a { color: var(--teal-strong); text-decoration: underline; text-underline-offset: 3px; }
.platform-feedback, .platform-message, .platform-global-feedback { padding: 16px 20px; border: 1px solid #b6d9cc; border-radius: 8px; background: var(--mint); margin-bottom: 20px; overflow-wrap: anywhere; }
.platform-feedback[hidden], .platform-global-feedback[hidden] { display: none; }
.platform-form button:disabled { opacity: .65; cursor: wait; }
.auth-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; max-width: 1050px; margin: 0 auto; padding-block: 20px; }
.auth-story { background: var(--mint); border-radius: 16px; padding: 48px; }
.auth-story img { margin-bottom: 32px; }
.auth-story h2 { font-size: 39px; line-height: 1.2; letter-spacing: -.035em; }
.auth-story p { color: var(--muted); }
.auth-form { padding-block: 12px; }
.platform-page:has(.auth-layout) .platform-initial-title { max-width: 1050px; margin-inline: auto; }
.care-actions { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; margin-bottom: 32px; }
.care-actions a { padding: 24px 18px; border: 1px solid var(--line); border-radius: 10px; display: grid; gap: 10px; }
.care-actions a:hover { border-color: #9bcaba; box-shadow: var(--app-shadow); }
.care-actions strong { font-size: 15px; }
.care-actions a > span:last-child { font-size: 12px; color: var(--muted); }
.provider-symbol { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: #e0f3ec; color: var(--teal-strong); font-size: 25px; flex: 0 0 auto; }
.provider-symbol svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.booking-row { display: grid; grid-template-columns: 1fr auto; gap: 28px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.booking-row:last-child { border-bottom: 0; padding-bottom: 0; }
.booking-row h3 { font-size: 19px; margin: 7px 0; }
.booking-row p { font-size: 14px; color: var(--muted); margin: 5px 0; overflow-wrap: anywhere; }
.booking-service { color: var(--teal-strong); font-weight: 750; font-size: 13px; }
.booking-status { display: inline-flex; font-size: 12px; padding: 5px 10px; border-radius: 5px; font-weight: 650; background: #eef3f4; }
.status-pending { background: #fff3db; color: #795700; }
.status-accepted, .status-completed { background: #dff4e8; color: #056244; }
.status-declined, .status-cancelled { background: #f9e8e8; color: #9e2932; }
.booking-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; max-width: 280px; }
.booking-actions .button { font-size: 12px; padding: 8px 12px; min-height: 40px; }
.workspace-support { background: var(--mint); padding: 28px; border-radius: 12px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.workspace-support h2 { font-size: 23px; margin-bottom: 10px; }
.workspace-support p { margin: 0; font-size: 14px; color: var(--muted); }
.provider-search { display: grid; gap: 8px; font-size: 14px; font-weight: 650; max-width: 600px; margin-bottom: 28px; }
.provider-row { padding: 28px 0; display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 24px; border-bottom: 1px solid var(--line); }
.provider-row[hidden] { display: none; }
.provider-row h3 { font-size: 23px; margin: 4px 0 8px; }
.provider-row p { color: var(--muted); margin: 5px 0; }
.admin-application { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.admin-application h3 { font-size: 19px; margin-bottom: 8px; }
.admin-application p { font-size: 14px; }
.provider-profile-form { border-top: 1px solid var(--line); padding-top: 22px; margin-top: 22px; }
.request-dialog { width: min(640px,calc(100% - 32px)); max-height: calc(100dvh - 32px); border: 0; border-radius: 14px; padding: 36px; color: var(--ink); box-shadow: 0 20px 90px rgba(0,0,0,.2); }
.request-dialog::backdrop { background: rgba(13,41,39,.45); }
.request-dialog h2 { padding-right: 30px; font-size: 27px; }
.request-dialog dt { font-weight: 700; margin-top: 14px; }
.request-dialog dd { margin: 4px 0; overflow-wrap: anywhere; }
.dialog-close { position: absolute; top: 12px; right: 16px; border: 0; background: transparent; width: 38px; height: 38px; font-size: 26px; cursor: pointer; }
body:has(.platform-shell) > #main + .footer { display: none; }
.mobile-app-nav { display: none; }
@media(max-width:1100px) {
 .platform-shell { grid-template-columns: 170px minmax(0,1fr); gap: 24px; }
 .care-actions { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .platform-panel { padding: 22px; }
 .booking-row { grid-template-columns: 1fr; gap: 12px; }
 .auth-layout { gap: 36px; }
}
@media(max-width:760px) {
 .platform-page { padding-top: 32px; }
 .platform-page > .shell { width: calc(100% - 36px); }
 .platform-shell { grid-template-columns: 1fr; gap: 20px; }
 .platform-sidebar { position: static; padding: 16px; }
 .platform-sidebar nav { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 4px; margin-bottom: 8px; }
 .platform-sidebar nav a { font-size: 12px; padding: 8px 6px; }
 .platform-nav-note, .platform-nav-title { display: none; }
 .platform-sidebar button { font-size: 12px; min-height: 36px; }
 .workspace-heading { flex-direction: column; gap: 4px; }
 .workspace-heading > button { align-self: flex-end; }
 .workspace-support, .admin-application, .platform-section-heading { flex-direction: column; gap: 14px; }
 .auth-layout { grid-template-columns: 1fr; }
 .auth-story { padding: 28px; }
 .auth-story h2 { font-size: 30px; }
 .auth-story img { width: 48px; height: 48px; margin-bottom: 20px; }
 .provider-row { grid-template-columns: auto 1fr; gap: 16px; }
 .provider-row > .button { grid-column: 2; justify-self: start; }
 .request-dialog { padding: 28px 22px; }
 .mobile-app-nav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 25; display: grid; grid-template-columns: repeat(4,1fr); background: #fff; border-top: 1px solid var(--line); padding: 8px 8px max(8px,env(safe-area-inset-bottom)); box-shadow: 0 -4px 20px rgba(20,44,52,.03); }
 .mobile-app-nav a { display: grid; justify-items: center; font-size: 11px; font-weight: 650; gap: 3px; padding: 3px; }
 .mobile-app-nav svg { width: 20px; height: 20px; fill: none; stroke: var(--teal); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
 body { padding-bottom: 76px; }
 .care-chat { bottom: 88px; }
}
@media(prefers-reduced-motion:reduce) { .platform-page * { scroll-behavior: auto; } }
/* Public application surfaces. */
h1,h2,h3 { letter-spacing: -.025em; }
.section { padding-block: 58px; }
.site-header .header-grid { grid-template-columns: auto minmax(0,1fr) auto; gap: 24px; min-height: 82px; padding-block: 12px; }
.site-header .site-nav { grid-column: 2; grid-row: 1; justify-content: flex-end; gap: 36px; padding-right: 18px; }
.site-header .site-nav a { font-size: 15px; padding: 10px 0; }
.site-header .header-extra { grid-column: 3; grid-row: 1; }
.site-header .brand > span { display: block; }
.site-header .brand { font-size: 25px; }
.site-header .brand-mark { width: 42px; height: 42px; }
.clean-home-hero { padding-block: 32px; }
.clean-hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: 48px; }
.clean-home-hero h1 { font-size: clamp(38px,4.6vw,66px); line-height: 1.07; letter-spacing: -.045em; margin: 0 0 25px; }
.clean-home-hero .lead { font-size: 21px; line-height: 1.5; margin-bottom: 28px; max-width: 36ch; }
.clean-hero-photo { height: 380px; border-radius: 12px; overflow: hidden; }
.clean-hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.clean-service-strip > .shell { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); padding-block: 28px 36px; }
.clean-service-strip a { display: flex; align-items: flex-start; gap: 14px; padding: 8px 22px; border-right: 1px solid var(--line); }
.clean-service-strip a:first-child { padding-left: 0; }.clean-service-strip a:last-child { border-right: 0; padding-right: 0; }
.clean-service-strip .icon { background: #eff8f4; border-radius: 50%; width: 46px; height: 46px; }
.clean-service-strip h2 { font-size: 17px; margin: 0 0 8px; }
.clean-service-strip p { font-size: 13px; color: var(--muted); margin: 0; }
.clean-process { padding-block: 38px; }.clean-process h2 { font-size: 31px; }
.clean-process ol { list-style: none; padding: 0; margin: 30px 0; display: grid; grid-template-columns: repeat(3,1fr); gap: 40px; }
.clean-process li { display: flex; gap: 20px; }
.clean-process li > span { display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0; background: #cde9df; border-radius: 50%; color: var(--teal-strong); font-weight: 800; font-size: 22px; }
.clean-process h3 { font-size: 19px; margin: 0 0 9px; }.clean-process li p { font-size: 14px; color: var(--muted); margin: 0; }
.clean-confirmation { background: #dbefe7; border-radius: 8px; text-align: center; padding: 14px 20px; font-size: 14px; margin: 0; }
.clean-partners > .shell { display: grid; grid-template-columns: 1fr 1fr auto; gap: 42px; align-items: center; }.clean-partners h2 { font-size: 30px; }
.clean-partners p { font-size: 15px; color: var(--muted); }.clean-partners nav { display: grid; gap: 12px; }.clean-partners nav a { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 650; }.clean-partners nav .icon { width: 18px; height: 18px; }.clean-partners nav svg { width: 18px; height: 18px; }
.clean-help { background: #f0f8f5; padding: 28px 32px; border-radius: 12px; display: flex; gap: 36px; align-items: center; justify-content: space-between; margin-bottom: 36px; }.clean-help h2 { font-size: 21px; }.clean-help div a { display: inline-block; font-size: 14px; color: var(--teal-strong); margin-right: 18px; }.clean-help > p { font-size: 14px; }.clean-help > p a { color: var(--red); font-weight: 750; }.clean-help > p span { color: var(--muted); font-size: 12px; }
.clean-footer { background: #fff; padding-block: 32px 22px; border-top: 1px solid var(--line); }.clean-footer-top { display: flex; justify-content: space-between; align-items: center; gap: 32px; }.clean-footer-top nav { display: flex; flex-wrap: wrap; gap: 22px; font-size: 13px; color: var(--muted); }.clean-company { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 16px; font-size: 11px; color: var(--muted); }.clean-company p { margin: 5px 0; }.clean-footer .brand { font-size: 22px; }.clean-footer .brand > span { display: block; }
.page-hero { background: #f6faf8; }.page-hero .page-photo { border-radius: 14px; overflow: hidden; }.page-hero .eyebrow { display: none; }.page-hero h1 { font-size: clamp(34px,4vw,52px); line-height: 1.15; }.page-photo img { object-fit: cover; }
body:has(.platform-shell) .clean-footer { display: none; }
@media(max-width:1080px) {
 .site-header .header-grid { grid-template-columns: minmax(0,1fr) auto auto; min-height: 72px; gap: 18px; }
 .site-header .header-extra { grid-column: 2; }.site-header .menu-toggle { display: flex; grid-column: 3; grid-row: 1; }
 .site-header .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 24px; background: #fff; box-shadow: 0 14px 24px rgba(20,44,52,.1); flex-direction: column; align-items: stretch; gap: 12px; }
 body.menu-open .site-header .site-nav { display: flex; }.site-header .nav-utilities { display: flex; flex-direction: column; gap: 14px; }
 .clean-hero-grid { gap: 28px; }.clean-hero-photo { height: 330px; }.clean-home-hero .lead { font-size: 18px; }
 .clean-service-strip > .shell { grid-template-columns: 1fr 1fr; gap: 20px; }.clean-service-strip a { border: 0; padding: 10px 0; }
 .clean-partners > .shell { grid-template-columns: 1fr 1fr; }.clean-partners > .shell > .button { justify-self: start; }
}
@media(max-width:600px) {
 .site-header .header-grid { min-height: 64px; padding-block: 10px; }.site-header .header-extra { display: none; }.site-header .brand { font-size: 21px; }.site-header .brand-mark { width: 34px; height: 34px; }
 .section { padding-block: 36px; }.clean-home-hero { padding-top: 24px; }.clean-hero-grid { grid-template-columns: 1fr; }.clean-home-hero h1 { font-size: 42px; margin-bottom: 18px; }.clean-home-hero .lead { font-size: 18px; }.clean-hero-photo { height: 250px; }.clean-home-hero .button-row { gap: 10px; }.clean-home-hero .button { padding-inline: 15px; font-size: 13px; }
 .clean-service-strip > .shell { padding-block: 10px 26px; gap: 14px 20px; }.clean-service-strip a { display: grid; gap: 12px; }.clean-service-strip p { font-size: 12px; }
 .clean-process ol { grid-template-columns: 1fr; gap: 24px; }.clean-confirmation { text-align: left; }.clean-partners > .shell { grid-template-columns: 1fr; gap: 20px; }.clean-help { flex-direction: column; align-items: flex-start; gap: 10px; padding: 24px; }.clean-footer-top { flex-direction: column; align-items: flex-start; gap: 24px; }.clean-footer-top nav { gap: 14px 22px; }
 .care-chat { bottom: 88px; }.clean-footer { margin-bottom: 10px; }
}
@media(max-width:760px) { body .care-chat { bottom: 86px; } body .chat-panel { max-height: calc(100dvh - 104px); } }
@media print { .mobile-app-nav, .platform-sidebar { display:none!important; } body {padding-bottom:0;} }
.site-header .brand span, .clean-footer .brand span { position:static; width:auto; height:auto; padding:0; margin:0; overflow:visible; clip:auto; white-space:nowrap; border:0; display:inline; }
.clean-footer a:not(.brand) { display:inline; padding:0; }
.booking-pagination {display:flex;gap:16px;align-items:center;justify-content:space-between;margin-top:24px;font-size:13px;}
.provider-editor {border-bottom:1px solid var(--line);padding:16px 0 24px;margin-bottom:12px;}
.provider-editor summary {cursor:pointer;color:var(--teal-strong);font-weight:650;font-size:14px;}
.provider-editor form {margin-top:24px;}
@media(max-width:760px) {
 .platform-sidebar {background:transparent;padding:0;display:flex;justify-content:flex-end;}
 .platform-sidebar nav {display:none;}
 .auth-story {display:none;}
}
@media(max-width:760px) {
 .care-actions {gap:12px;margin-bottom:24px;}
 .care-actions a {padding:16px 14px;gap:8px;}
 .care-actions strong {font-size:14px;line-height:1.35;}
 .care-actions .provider-symbol {width:38px;height:38px;border-radius:11px;}
}
.auth-provider-options {display:grid;gap:12px;}
.auth-provider-options .button {width:100%;justify-content:center;gap:12px;}
.auth-provider-options span {font-size:20px;font-weight:750;color:#174ea6;}
.auth-divider {display:flex;align-items:center;gap:14px;color:var(--muted);font-size:13px;}
.auth-divider::before,.auth-divider::after {content:'';height:1px;background:var(--line);flex:1;}
#phone-recaptcha {max-width:100%;overflow:auto;}
.auth-form h2 {font-size:24px;}
