/* Shared content rhythm. Map geometry and fixed navigation remain owned by their layouts. */
:root{--page-top:24px;--page-title-gap:16px;--page-card-gap:16px;--page-card-padding:24px;--page-gutter:24px}
body:not(.map-page) main.container,body:not(.map-page)>div.container,body .help-guide{padding-top:var(--page-top);margin-top:0}
body:not(.map-page) main.container>h1,body:not(.map-page)>div.container>h1,body .request-heading h1,body .admin-heading h1{margin-top:0;margin-bottom:var(--page-title-gap);line-height:1.4}
body .request-heading,body .admin-heading{margin-top:0;margin-bottom:var(--page-title-gap);padding-top:0}
body .card{padding:var(--page-card-padding);margin-block:var(--page-card-gap)}
body :is(#accountNotice,#accountMessage):empty{display:none}
body [data-art-slot="loading"]{display:none}
body :is(.supporting-details,.request-filters,.resource-note,.guide-documents)>summary{display:list-item;cursor:pointer;min-height:var(--ui-touch,44px);padding:var(--space-3,12px) var(--space-4,16px);box-sizing:border-box;font-size:var(--ui-body,16px);line-height:1.6;overflow-wrap:anywhere}
body .supporting-details{border:1px solid var(--border);border-radius:var(--ui-control-radius,12px);margin-block:var(--page-card-gap);background:var(--card)}
body .supporting-details>:not(summary){margin-inline:var(--space-4,16px);font-size:var(--ui-body,16px);line-height:1.7}
body .supporting-details>:last-child{margin-bottom:var(--space-4,16px)}
body details>summary:focus-visible{outline:3px solid var(--brand);outline-offset:3px}
body .compact-work-menu{display:flex;flex-wrap:wrap;gap:var(--space-2,8px);margin-block:var(--page-card-gap)}
body .compact-work-menu a{flex:1 1 140px;margin:0;white-space:normal}
body [data-instant-settings]>strong{display:block;margin-block:var(--space-3,12px)}
body .guide-method .guide-steps{margin-block:var(--space-4,16px)}
body .guide-intro{padding-top:0}
body .guide-intro h1{margin-bottom:var(--page-title-gap)}
body .guide-trust{margin-top:var(--page-card-gap)}
body .guide-trust p{font-size:var(--ui-body,16px)}
body .policy-page{overflow-wrap:anywhere}
body .compact-work-menu,body .supporting-details{min-width:0;max-width:100%;box-sizing:border-box}
@media(max-width:600px){:root{--page-top:16px;--page-card-padding:16px;--page-gutter:16px}body:not(.map-page) main.container,body:not(.map-page)>div.container{padding-left:var(--page-gutter);padding-right:var(--page-gutter)}body:not(.map-page)>.nav{padding-inline:var(--page-gutter)}body:is([data-account-page="signup"],[data-account-page="login"]) main.container{margin-top:0;padding-top:var(--page-top)}}
body .menu-container,body.home-page .simple-home{padding-top:var(--page-top)}
body .menu-container h1{margin-bottom:var(--page-title-gap)}
body.home-page .home-hero{padding-top:0;gap:var(--ui-space-5);padding-bottom:var(--ui-space-5);margin-bottom:var(--ui-space-5)}
body.home-page .simple-home h1{margin-top:0;margin-bottom:var(--page-title-gap)}
body .help-guide .guide-intro{margin-top:var(--space-3,12px)}
body .help-guide .guide-icon{display:none}
body .help-guide .guide-intro h1{margin-top:0}
body .guide-method .guide-steps{border:0;padding:0;background:transparent}
body .guide-method .guide-steps p,body details :is(p,li,dd){font-size:var(--ui-body,16px);line-height:1.7}
body details>summary{min-height:var(--ui-touch,44px);cursor:pointer;overflow-wrap:anywhere}
body:not(.has-bottom-nav):not(.map-page) main.container{padding-bottom:var(--ui-space-5,24px)}
body:not(.has-bottom-nav) .policy-footer{padding-bottom:var(--ui-space-5,24px)}
body .company-info:empty{display:none}
body .public-contact-settings>.supporting-details{margin-bottom:var(--space-3,12px)}
/* One horizontal grid for header and content, using the existing page widths. */
body{--page-width:760px}
body.home-page{--page-width:1168px}
body.resources-page{--page-width:calc(var(--dialog-width)*2 + var(--space-5))}
body:is([data-account-page="login"],[data-account-page="signup"]){--page-width:var(--auth-width,440px)}
body.phone-page{--page-width:520px}
body.customer-requests{--page-width:800px}
body.menu-page{--page-width:var(--menu-width,760px)}
body:not(.map-page):not(.admin-console)>:is(main.container,main.menu-container,main.help-guide,div.container){max-width:var(--page-width);padding-inline:var(--page-gutter);margin-inline:auto}
body:not(.map-page):not(.admin-console)>.nav{padding-inline:max(var(--page-gutter),calc((100% - var(--page-width))/2 + var(--page-gutter)))}
body .supporting-details>summary{font-weight:650}
body .help-guide .guide-intro{margin-top:0}body .help-guide .guide-actions{margin-top:var(--page-title-gap)}
body :is(.profile-status,.urgent-status):empty{display:none}
/* Visual hierarchy: task surfaces, compact rows and contextual supporting areas. */
:root{--workspace-width:1120px;--reading-width:760px;--ui-title:28px;--ui-section:20px;--ui-subsection:18px;--ui-caption:14px;--ui-radius:16px;--ui-header:64px;--layout-gap:24px;--surface-rule:1px solid var(--border)}
body{--page-width:var(--workspace-width)}
body:is([data-account-page="login"],[data-account-page="signup"]){--page-width:var(--auth-width,440px)}
body:is([data-account-page="reset"],[data-account-page="phone"],.phone-page){--page-width:520px}
body:has(.policy-page),body:has(.help-guide){--page-width:var(--reading-width)}
body.customer-requests,body.resources-page{--page-width:var(--workspace-width)}
body:not(.map-page)>.nav{min-height:var(--ui-header);height:auto;box-sizing:border-box;padding-block:var(--space-2);gap:var(--space-4);flex-wrap:wrap;box-shadow:none;border-bottom:var(--surface-rule);background:var(--card)}
body:not(.map-page)>.nav .brand-logo{height:32px;width:auto;max-height:none}
body:not(.home-page):not(.map-page) main h1{font-size:var(--ui-title);line-height:1.35;font-weight:750;margin-top:0;margin-bottom:var(--page-title-gap)}
body main :is(h2,.card h2){font-size:var(--ui-section);line-height:1.45}
body main h3{font-size:var(--ui-subsection);line-height:1.5}
body main :is(p,li,label,input,select,textarea){line-height:1.65}
body main :is(.muted,.review-meta,small){font-size:var(--ui-caption);line-height:1.6}
body .card{border-radius:var(--ui-radius);box-shadow:none}
body :is(button,.btn){box-shadow:none;white-space:normal}
body .btn:is(.ghost,.secondary),body .profile-toggle{background:var(--card);color:var(--brand);border:1px solid var(--border);box-shadow:none}
body :is(.profile-status,[role="alert"]):not(:empty){overflow-wrap:anywhere}
body .management-layout,body .work-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(280px,1fr);gap:var(--layout-gap);align-items:start}
body :is(.management-primary,.management-secondary,.work-primary,.work-settings){min-width:0}
body .management-primary{background:var(--card);border:var(--surface-rule);border-radius:var(--ui-radius);padding:var(--page-card-padding)}
body .management-primary>.card{background:transparent;border:0;border-radius:0;box-shadow:none;padding:var(--space-5) 0;margin:0;border-top:var(--surface-rule)}
body .management-primary>.card:first-child{border-top:0;padding-top:0}
body .management-primary>.card:last-child{padding-bottom:0}
body .management-primary :is(h2,h3){margin-top:0}
body [data-management-priority] .card,body .work-availability .card{background:var(--brand-soft);border-color:var(--border);padding:var(--space-4) var(--page-card-padding)}
body [data-instant-settings]>.btn{display:inline-flex;width:auto}
body [data-instant-settings]>.location-explanation{background:transparent;border:0;margin-bottom:0}
body [data-instant-settings]>.location-explanation>summary{padding-inline:0}
body .management-secondary>.card{background:transparent;border:0;border-top:var(--surface-rule);border-radius:0;padding:var(--space-4) 0}
body .management-secondary #partnerForm{background:var(--card);border:var(--surface-rule);border-radius:var(--ui-radius);padding:var(--space-4)}
body .compact-work-menu{display:grid;grid-template-columns:1fr;gap:0;border:var(--surface-rule);border-radius:var(--ui-radius);background:var(--card);margin-top:0}
body .compact-work-menu a{display:flex;justify-content:space-between;width:auto;min-height:48px;border:0;border-bottom:var(--surface-rule);border-radius:0;padding:var(--space-3) var(--space-4);text-align:left;color:var(--text);background:transparent}
body .compact-work-menu a::after{content:'›';color:var(--muted);margin-left:var(--space-3)}
body .compact-work-menu a:last-child{border-bottom:0}
body .work-heading{display:flex;align-items:center;flex-wrap:wrap;gap:var(--space-2) var(--space-4);padding-block:var(--space-4);border-bottom:var(--surface-rule)}
body .work-heading h2{margin:0;flex:1 1 180px}
body .work-heading p{order:3;flex-basis:100%;font-size:var(--ui-caption);margin:0;color:var(--muted)}
body .work-heading button{background:transparent;color:var(--brand);border:var(--surface-rule);width:auto;min-height:var(--touch-target)}
body .work-settings>.card,body .work-settings>div>.card{border:0;border-top:var(--surface-rule);border-radius:0;background:transparent;padding:var(--space-4) 0}
body .work-settings>h2{margin-top:var(--space-4)}
body #workflowSummary:empty{display:none}
body [data-management-state="registration"]>[data-application-summary]{border-left:var(--focus-width) solid var(--brand)}
body [data-management-state="registration"]>#partnerForm{max-width:var(--reading-width)}
body .booking-card-summary{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:var(--space-2) var(--space-4);align-items:start}
body .booking-card-summary h2,body .booking-card-summary p{grid-column:1;margin:0}
body .booking-card-summary>.btn{grid-column:2;grid-row:1 / span 3;align-self:center;margin:0;width:auto;background:var(--card);color:var(--brand);border:var(--surface-rule)}
body .booking-card-summary .request-status{display:block;color:var(--ink-heading);font-size:var(--ui-caption);font-weight:700}
body .booking-card-summary .booking-summary-time{font-weight:650}
body .booking-card-summary .booking-summary-place{font-size:var(--ui-caption)}
body .booking-card{border:var(--surface-rule);border-radius:var(--ui-radius);box-shadow:none}
body .request-filters{background:transparent;border:var(--surface-rule);border-radius:var(--ui-radius);margin-block:var(--space-4)}
body .request-filters form.card{border:0;margin:0;background:transparent;padding-top:0}
body .account-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;margin-block:var(--space-4)}
body .account-links a{display:flex;align-items:center;min-height:48px;padding:var(--space-3);border:var(--surface-rule);background:transparent;color:var(--brand);border-radius:0;box-shadow:none;width:auto;overflow-wrap:anywhere}
body[data-account-page="account"] #accountContent{display:grid;grid-template-columns:minmax(0,2fr) minmax(280px,1fr);gap:var(--layout-gap);align-items:start}
body[data-account-page="account"] #accountContent[hidden]{display:none}
body[data-account-page="account"] .notification-settings{grid-column:2;grid-row:1 / span 3;margin-top:var(--space-4)}
body[data-account-page="account"] #accountContent>.card{margin-block:var(--space-4);min-width:0}
body .notification-item{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:var(--space-4);padding:var(--space-4) 0}
body .notification-item>:not(a):not(button){grid-column:1}
body .notification-item .btn{grid-column:2;grid-row:1 / span 4;align-self:center;margin:0}
body .support-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(280px,1fr);gap:var(--layout-gap);align-items:start}
body .support-layout>aside{padding-block:var(--space-4);min-width:0}
body .support-layout>aside h2{margin-top:0}
body .resource-table{border:var(--surface-rule);border-radius:var(--ui-radius);background:var(--card)}
body .resource-search{margin-top:var(--space-4)}
body .resource-tools{background:transparent;box-shadow:none}
body .claim-conversations{margin-top:var(--space-5)}
body .admin-toolbar{display:flex;gap:var(--space-4);align-items:center;flex-wrap:wrap;border-bottom:var(--surface-rule);padding-block:var(--space-4)}
body .admin-toolbar p{margin:0;flex:1 1 240px}
body .admin-toolbar button{width:auto;background:var(--card);color:var(--brand);border:var(--surface-rule)}
body .home-shortcuts{border:var(--surface-rule);border-radius:var(--ui-radius);background:var(--card);padding:var(--space-3)}
body .home-shortcuts a{background:transparent;border:0;border-radius:0;box-shadow:none;border-bottom:var(--surface-rule)}
body .home-shortcuts a:last-child{border-bottom:0}
body .situation-cards{gap:0;border:var(--surface-rule);border-radius:var(--ui-radius);background:var(--card);padding:var(--space-3)}
body .situation-cards>a{box-shadow:none;border-radius:0;border:0;border-bottom:var(--surface-rule);background:transparent;padding:var(--space-4)}
body .home-more .more-card{border-radius:0;border:0;border-bottom:var(--surface-rule);box-shadow:none;background:transparent;padding-inline:0}
body .home-membership{box-shadow:none;border-radius:var(--ui-radius)}
body .home-steps-details{border-top:var(--surface-rule);border-bottom:var(--surface-rule);margin-block:var(--space-5);padding-block:var(--space-3)}
body .home-steps-details>summary{font-size:var(--ui-section);font-weight:700;min-height:var(--touch-target);cursor:pointer}
body .guide-actions .btn{width:auto}
body .guide-method{background:transparent}
body .expert-card .btn.ghost,body .planner-card .btn.ghost{box-shadow:none}
body .policy-page{max-width:var(--reading-width);margin-inline:auto}
@media(max-width:800px){
 :root{--ui-title:24px;--ui-header:56px;--layout-gap:16px}
 body :is(.management-layout,.work-layout,.support-layout),body[data-account-page="account"] #accountContent{grid-template-columns:minmax(0,1fr)}
 body[data-account-page="account"] .notification-settings{grid-column:auto;grid-row:auto}
 body .work-settings{border-top:var(--surface-rule);padding-top:var(--space-4)}
 body .management-secondary .compact-work-menu{grid-template-columns:repeat(2,minmax(0,1fr))}
 body .booking-card-summary{grid-template-columns:minmax(0,1fr)}
 body .booking-card-summary>.btn{grid-column:1;grid-row:auto;justify-self:start;width:auto}
 body .notification-item{grid-template-columns:minmax(0,1fr)}
 body .notification-item .btn{grid-column:1;grid-row:auto;justify-self:start;margin-top:var(--space-3)}
 body .account-links{grid-template-columns:1fr}
 body:not(.map-page)>.nav .brand-logo{height:28px}
}
body [data-management-priority] .urgent-panel,body .work-availability .urgent-panel{max-width:none;margin-inline:0}
body[data-account-page] .compact-work-menu a.btn{border:0;border-radius:0;box-shadow:none;border-bottom:var(--surface-rule);background:transparent;justify-content:space-between;text-align:left}
body[data-account-page] .compact-work-menu a.btn:last-child{border-bottom:0}
body[data-account-page] .management-primary :is(.profile-toggle,.optional-profile>button,.public-contact-settings>button),body[data-account-page] [data-service-area-settings]>button{width:auto;display:inline-flex;min-height:var(--touch-target);background:var(--card);color:var(--brand);border:var(--surface-rule)}
body[data-account-page] .management-primary form button[type=submit]{width:auto;display:inline-flex}
body[data-account-page] .management-secondary .phone-signup-panel{box-shadow:none}
body[data-account-page="partner"] #partnerDetails>.card{border:0;background:transparent;margin:0;padding:0}
body .growth-actions .btn{flex:0 1 auto}
body .growth-task{border-radius:0;box-shadow:none;border:0;border-bottom:var(--surface-rule)}
body .support-layout :is(input,textarea),body .management-layout :is(input,select,textarea){min-width:0;max-width:100%;box-sizing:border-box}
body .nav>.logo{margin-right:auto}
/* Profile detail keeps its existing dialog/selection behavior and clear identity hierarchy. */
body .expert-profile-head{align-items:center;gap:var(--space-4)}
body .expert-profile-head>div{min-width:0}
body .expert-profile-head h2{font-size:var(--ui-section);margin:0;overflow-wrap:anywhere}
body .expert-organization{font-size:var(--ui-caption);color:var(--ink-muted);overflow-wrap:anywhere}
body .expert-introduction,body .expert-introduction.is-summary{font-size:var(--type-body);display:block;-webkit-line-clamp:unset;line-clamp:unset;max-height:none;overflow:visible;white-space:normal;overflow-wrap:anywhere}
body .expert-detail-header{border-bottom:var(--surface-rule);padding-bottom:var(--space-3)}
body .expert-detail-status{font-size:var(--type-body);font-weight:650;border-left:var(--focus-width) solid var(--brand);padding-left:var(--space-3)}
body .expert-detail-actions{gap:var(--space-3);border-top:var(--surface-rule);box-shadow:none}
body .expert-badges span,body .expert-help-tasks span{font-size:var(--ui-caption);line-height:1.6}
body .growth-workspace{grid-template-columns:minmax(0,2fr) minmax(280px,1fr);align-items:start}
body .growth-workspace>#growthStatus{grid-column:1 / -1}
body .growth-workspace>#growthPractice{grid-column:1}
body .growth-workspace>#growthLibrary{grid-column:2}
body .growth-workspace .growth-actions .btn{flex:0 1 auto}
@media(max-width:800px){body .growth-workspace{grid-template-columns:minmax(0,1fr)}body .growth-workspace>#growthLibrary{grid-column:1}}
body[data-account-page] .notification-summary .btn,body[data-account-page] .booking-notifications .btn,body[data-account-page] .urgent-panel>.btn{width:auto;display:inline-flex}
body .work-primary>.urgent-panel{max-width:none;border:0;border-top:var(--surface-rule);background:transparent;border-radius:0;padding-inline:0}
body.partner-bookings>details.container{margin-block:var(--space-5);padding-bottom:var(--space-5);max-width:var(--workspace-width)}
body[data-account-page="support"] #rightsContent>a.btn{width:auto;display:inline-flex}
@media(min-width:801px){body .guide-actions .btn{flex:0 1 auto}body .home-shortcuts a{min-height:var(--touch-target)}}
body[data-account-page="admin"] .expert-review-card{background:transparent;border:0;border-top:var(--surface-rule);border-radius:0;padding-inline:0}
body[data-account-page="admin"] .review-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-4);margin-block:var(--space-4)}
body[data-account-page="admin"] .review-fields label{margin:0;min-width:0}
body[data-account-page="admin"] .review-fields label:last-child{grid-column:1 / -1}
body[data-account-page="admin"] .expert-review-actions{justify-content:flex-start;flex-wrap:wrap}
body[data-account-page="admin"] .expert-review-actions .btn{width:auto;flex:0 1 auto;min-height:var(--touch-target)}
body[data-account-page="partner"] .phone-signup-panel{border:var(--surface-rule);background:var(--card);border-radius:var(--ui-radius);padding:var(--space-4)}
body[data-account-page="partner"] .phone-signup-panel .btn{width:auto;display:inline-flex}
@media(max-width:800px){body[data-account-page="admin"] .review-fields{grid-template-columns:minmax(0,1fr)}}
/* Settings are rows, not independent promotional cards. Values remain visible. */
body .management-primary{background:transparent;border:0;border-radius:0;padding:0}
body .management-primary>.card{padding:20px 0;border:0;border-bottom:var(--surface-rule);border-radius:0;background:transparent;margin:0}
body .settings-row{display:grid;grid-template-columns:24px minmax(0,1fr) auto;align-items:start;gap:12px 16px}
body .settings-row>svg{width:24px;height:24px;fill:none;stroke:var(--brand);stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;margin-top:4px}
body .settings-row-info{min-width:0}
body .settings-row-info h2{font-size:18px;line-height:1.5;margin:0 0 6px;font-weight:700}
body .settings-row-info :is(p,strong){font-size:16px;line-height:1.6;margin:0;overflow-wrap:anywhere}
body .settings-row-info .profile-summary{margin:0;padding:0;background:transparent;border:0}
body .settings-row-info .profile-summary p{font-size:15px;color:var(--ink-muted)}
body .settings-row-info .profile-summary p:first-child{color:var(--text);font-weight:500}
body .settings-row>.btn{width:auto;min-height:44px;max-width:100%;margin:0;background:transparent;color:var(--brand);border:var(--surface-rule);box-shadow:none;align-self:center}
body .settings-section>div:not(.settings-row):not([role]){margin-top:16px}
body .settings-section>.profile-status:empty{display:none}
body .public-contact-settings .supporting-details{margin:16px 0}
body .management-secondary .compact-work-menu{display:flex;flex-direction:column;padding:0;border:0;border-top:var(--surface-rule);background:transparent}
body .management-secondary .compact-work-menu a{flex:0 1 auto;font-size:16px;padding:14px 0;min-height:48px}
body .management-primary .settings-row .profile-summary-line{gap:12px;align-items:center}
body[data-account-page="partner"] [data-instant-settings]{max-width:none;margin-inline:0}
body .management-secondary .document-card{background:transparent;border:0;border-bottom:var(--surface-rule);border-radius:0;padding:12px 0;margin:0}
body .management-secondary .document-card h3{font-size:16px;margin:0}
@media(max-width:600px){
 body .settings-row{grid-template-columns:24px minmax(0,1fr);gap:8px 12px}
 body .settings-row>.btn{grid-column:2;justify-self:start}
 body .management-primary>.card{padding-block:16px}
 body .settings-row-info h2{font-size:18px}
}
/* Clear first view: a task surface, compact rows, and supporting detail in place. */
:root{--clear-surface-radius:16px;--clear-row-gap:12px;--clear-section-gap:24px}
body.home-page{background:var(--bg)}
body.home-page .simple-home{max-width:1120px;padding-top:24px}
body.home-page .home-hero{display:grid;grid-template-columns:1fr;gap:24px;align-items:start;padding:24px;background:var(--card);border:0;border-radius:var(--clear-surface-radius);min-height:0;box-shadow:none;margin:0 0 24px}
body.home-page .home-hero h1{font-size:28px;line-height:1.4;margin:0 0 16px}
body.home-page .home-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:0 16px;border:0;border-radius:var(--clear-surface-radius);margin:0;background:var(--card);gap:16px}
body.home-page .home-shortcuts a{display:flex;justify-content:flex-start;gap:12px;min-height:48px;padding:12px 0;font-size:16px}
body.home-page .home-shortcuts a::after{content:'›';margin-left:auto;color:var(--muted)}
body.home-page .home-shortcuts .ui-icon{width:24px;height:24px}
body.home-page .hero-actions-row{display:flex;flex-direction:column;align-items:flex-start;gap:12px;margin:0}
body.home-page .home-browse{margin:0}
body.home-page .home-help{width:auto;min-width:0;min-height:48px}
body.home-page .home-map-section{margin:0 0 24px;padding:20px;background:var(--card);border:0;border-radius:var(--clear-surface-radius);box-shadow:none}
body.home-page .home-map-heading .eyebrow{display:none}
body.home-page .home-map-heading h2{font-size:20px;margin:0}
body.home-page .home-map-heading{margin-bottom:16px}
body.home-page .home-map-caption,body.home-page .home-location-status{font-size:14px;margin:8px 0}
body.home-page .situation-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:0 16px;gap:0;border:0}
body.home-page .situation-cards a{display:flex;flex-direction:row;align-items:center;min-height:64px;padding:16px 0;gap:12px}
body.home-page .situation-cards .situation-copy small{display:none}
body.home-page .situation-cards a::after{content:'›';margin-left:auto;color:var(--muted)}
body.home-page .situation-cards .ui-icon{width:24px;height:24px}
body.home-page #situations{font-size:20px;margin:24px 0 12px}
body.home-page .home-membership{display:flex;flex-wrap:wrap;gap:16px;align-items:center;justify-content:space-between;padding:20px;background:var(--card);border:0}
body.home-page .home-membership h2{font-size:20px}
body.home-page .home-membership-actions .btn{width:auto}
body .booking-card-summary{padding:4px;row-gap:8px}
body .booking-card-summary .request-status{font-size:18px;color:var(--brand);font-weight:700}
body .booking-card-summary .booking-next-action{font-size:15px;color:var(--ink-muted);margin-bottom:8px}
body .booking-card-summary .booking-summary-time{font-size:18px}
body .booking-card-summary>.btn{grid-row:1 / span 6}
body .booking-card{background:var(--card);border:0;border-radius:var(--clear-surface-radius);padding:20px;box-shadow:none}
body .booking-detail-body{border-top:var(--surface-rule);margin-top:16px;padding-top:16px}
body[data-account-page="account"] #accountContent{grid-template-rows:auto auto;row-gap:16px}
body[data-account-page="account"] .account-identity{grid-column:1;grid-row:1;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 16px;margin:0;padding:20px;border:0}
body .account-identity #identity{font-size:20px;font-weight:700;overflow-wrap:anywhere;margin:0}
body .account-identity #membershipState{grid-column:1;font-size:15px;margin:0}
body .account-identity #logout{grid-column:2;grid-row:1 / span 2;background:transparent;color:var(--muted);border:0;align-self:center}
body[data-account-page="account"] .account-links{grid-column:1;grid-row:2;display:flex;flex-direction:column;background:var(--card);border-radius:var(--clear-surface-radius);padding:0 20px;margin:0;gap:0}
body[data-account-page="account"] .account-links a{border:0;border-bottom:var(--surface-rule);min-height:56px;padding:16px 0;box-shadow:none;color:var(--text);background:transparent;font-size:16px}
body[data-account-page="account"] .account-links a::after{content:'›';margin-left:auto;color:var(--muted)}
body[data-account-page="account"] .account-links a{gap:12px;justify-content:flex-start;width:100%;box-sizing:border-box;align-self:stretch;margin:0;border-radius:0}
body[data-account-page="account"] .account-links .ui-icon{width:24px;height:24px;flex-shrink:0;color:var(--brand)}
body[data-account-page="account"] .account-links a:last-child{border-bottom:0}
body[data-account-page="account"] #membershipForm{grid-column:1 / -1;grid-row:auto}
body .notification-settings{box-shadow:none;border:0}
body .notification-settings>h2{font-size:20px;margin-top:0}
body .resource-row .resource-name h3{font-size:18px;line-height:1.5}
body .resource-row .resource-detail-toggle{min-height:44px;font-size:15px;box-shadow:none}
body .resource-row h3 .resource-detail-toggle{display:flex;flex-direction:column;align-items:flex-start;gap:4px;width:100%;padding:8px 0;text-align:left;background:transparent;border:0;color:var(--text);font-size:18px;font-weight:650}
body .resource-row-hint{font-size:14px;font-weight:400;color:var(--ink-muted)}
body .resource-row-hint::after{content:' ⌄';color:var(--brand)}
body .resource-detail-toggle[aria-expanded="true"] .resource-row-hint::after{content:' ⌃'}
body .resource-row .resource-links .btn{border:0;background:transparent;padding-inline:0;box-shadow:none}
body .resource-info>td{background:var(--bg);padding:20px}
body .expert-card,body .planner-card{box-shadow:none}
body .management-primary{background:var(--card);border-radius:var(--clear-surface-radius);padding:0 20px}
body .management-primary>.card:first-child{padding-top:20px}
body .management-primary>.card:last-child{padding-bottom:20px;border-bottom:0}
body .management-secondary .compact-work-menu{background:var(--card);border:0;border-radius:var(--clear-surface-radius);padding:0 16px}
body :is(.notification-off-dialog,.push-guidance-dialog){border:0;border-radius:var(--clear-surface-radius);max-width:min(480px,calc(100vw - 32px))}
body.has-bottom-nav:not(.map-page) main.container{padding-bottom:24px}
body .policy-footer{padding:24px 16px;margin-top:24px}
body .policy-footer .company-info{padding:12px 0}
body .policy-footer .company-info p{margin:4px 0}
@media(max-width:800px){
 body.home-page .simple-home{padding:16px 16px 24px}
 body.home-page .home-hero{grid-template-columns:1fr;padding:20px;gap:16px}
 body.home-page .home-hero h1{font-size:24px}
 body.home-page .home-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:16px}
 body.home-page .home-shortcuts a{font-size:15px;flex-wrap:wrap}
 body.home-page .home-shortcuts a::after{display:none}
 body.home-page .home-map-section{padding:16px}
 body.home-page .situation-cards{grid-template-columns:1fr}
 body .booking-card-summary>.btn{grid-row:auto}
 body[data-account-page="account"] .account-identity,body[data-account-page="account"] .account-links{grid-column:auto;grid-row:auto}
 body .management-primary{padding-inline:16px}
 body .booking-card{padding:16px}
}

/* Member tasks: Korean phrase wrapping and flexible mobile controls. */
body:is([data-account-page="account"],[data-account-page="requests"],[data-account-page="notifications"]) main :is(h1,h2,h3,p,summary,label,button,.btn,dt,dd){word-break:keep-all;overflow-wrap:break-word;white-space:normal}
body:is([data-account-page="account"],[data-account-page="requests"],[data-account-page="notifications"]) main :is(button,.btn){height:auto;min-height:44px;max-width:100%;box-sizing:border-box;line-height:1.6}
body:is([data-account-page="account"],[data-account-page="requests"],[data-account-page="notifications"]) main :is(.notification-item,.notification-settings,.notification-summary,.booking-card){min-width:0;word-break:keep-all;overflow-wrap:break-word}
body:is([data-account-page="account"],[data-account-page="requests"],[data-account-page="notifications"]) main :is(#accountNotice,.muted,.booking-list-heading p,.request-filters summary span){font-size:.875rem;line-height:1.6;font-weight:400}
body:is([data-account-page="account"],[data-account-page="requests"],[data-account-page="notifications"]) main :is(.notification-item p,.notification-settings p,.booking-card-summary p){font-size:1rem;line-height:1.6}
body:is([data-account-page="account"],[data-account-page="requests"],[data-account-page="notifications"]) main :is(.notification-item .btn,.notification-settings button,.refresh-bookings,.booking-gate-actions a){font-size:.9375rem;font-weight:500}
body .customer-requests .booking-list-heading{flex-wrap:wrap}
@media(max-width:600px){
 body:is([data-account-page="account"],[data-account-page="requests"],[data-account-page="notifications"]) main.container{box-sizing:border-box;width:100%;padding-inline:16px}
 body.customer-requests .booking-list-heading{flex-wrap:wrap;align-items:flex-start}
 body.customer-requests .booking-gate-actions{grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr))}
 body[data-account-page="account"] .account-identity{grid-template-columns:minmax(0,1fr);gap:12px}
 body[data-account-page="account"] .account-identity button{justify-self:start}
}

/* Discovery and booking: readable phrases without changing selection or submission. */
body.map-page :is(.region-title,.purpose-chip,.spot .name,.spot .sub,.spot .meta,.card-sheet h2,.card-sheet p,.card-sheet .btn,.expert-profile span){word-break:keep-all;overflow-wrap:break-word;white-space:normal}
body.map-page .spot .sub{overflow:visible;text-overflow:clip}
body.map-page :is(.spot .sub,.spot .meta,.region-title,.card-note,.expert-organization){font-size:.875rem;line-height:1.6}
body.map-page .card-sheet p{font-size:.9375rem;line-height:1.6}
body.map-page .card-sheet h2{font-size:1.125rem;line-height:1.5}
body.map-page .card-sheet .btn{font-size:1rem;min-height:44px;height:auto;line-height:1.5}
body.map-page .purpose-chip{font-size:.875rem;min-height:44px;height:auto;line-height:1.5}
body.map-page .spot>div{min-width:0}
body.resources-page main :is(h1,h2,h3,p,li,dd,summary,label,button,a){word-break:keep-all;overflow-wrap:break-word;white-space:normal}
body.resources-page main :is(button,.btn,input,select){min-height:44px;height:auto;max-width:100%;box-sizing:border-box;font-size:1rem;line-height:1.6}
body.resources-page main :is(.resource-row-hint,.muted,small){font-size:.875rem;line-height:1.6}
body .request-wizard :is(h2,h3,p,label,button,dt,dd){word-break:keep-all;overflow-wrap:break-word;white-space:normal}
body .request-wizard :is(button,input,select){font-size:1rem;line-height:1.6;min-height:44px;height:auto;max-width:100%;box-sizing:border-box}
body .request-wizard .booking-review dd{overflow-wrap:break-word;word-break:keep-all}
@media(max-width:600px){body.resources-page main{padding-inline:16px}body .request-wizard .choice-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,88px),1fr))}body.resources-page main .resource-actions{flex-wrap:wrap;gap:12px}}

body .expert-detail :is(h2,p,span,.btn){word-break:keep-all;overflow-wrap:break-word;white-space:normal}body .expert-detail p{font-size:1rem;line-height:1.6}body .expert-detail .expert-profile-note{font-size:.875rem}body .expert-detail .btn{font-size:1rem;line-height:1.5;min-height:44px;height:auto}

body .expert-detail :is(.expert-profile,.expert-profile-head,.expert-profile-head>div,.expert-detail-body){min-width:0;max-width:100%;box-sizing:border-box}body .expert-detail :is(.expert-organization,.expert-introduction){white-space:normal;word-break:keep-all;overflow-wrap:anywhere;max-width:100%;overflow:visible;text-overflow:clip}

.expert-overview{display:grid;gap:16px;margin-bottom:24px}.expert-overview :is(p,h2,a,summary){word-break:keep-all;overflow-wrap:break-word;white-space:normal}.expert-overview h2{font-size:1.125rem;line-height:1.5;margin:0 0 8px}.expert-overview p{font-size:1rem;line-height:1.6;margin:8px 0}.expert-overview .btn{font-size:1rem;min-height:44px;height:auto;line-height:1.5}.management-switch{display:flex;gap:12px;flex-wrap:wrap}.management-switch [aria-current=page]{background:var(--brand-soft);border-color:var(--brand);font-weight:700}.management-status,.management-tasks{padding:16px;border:1px solid var(--border);border-radius:16px;background:var(--card)}.management-task-row{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;border-bottom:1px solid var(--border);padding:12px 0}.expert-overview .urgent-panel{margin:0}.expert-overview summary{min-height:44px;cursor:pointer}

.expert-overview .btn{width:fit-content;max-width:100%;display:inline-flex;align-items:center;justify-content:center}.expert-overview .management-status{padding:0 0 12px;border:0;border-bottom:1px solid var(--border);border-radius:0;background:transparent}.expert-overview .notification-summary{margin:0}.expert-overview .management-tasks{border:0;padding:12px 0;background:transparent}.expert-overview .management-task-row p{flex:1;min-width:160px}

/* Owner management reuses the existing page; settings stay separate from bookings. */
[data-office-management] form{display:grid;gap:12px;margin-block:16px}
[data-office-management] label{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:16px;min-height:44px}
[data-office-management] input[type=number],[data-office-management] select{min-width:0;max-width:100%;font-size:16px}
[data-office-management] .management-task-row{border-bottom:1px solid var(--line,#e3e8ef);padding-block:16px;overflow-wrap:break-word}
[data-office-management] .management-task-row p{margin-block:6px}
[data-office-management] button{min-height:44px;white-space:normal;word-break:keep-all}
/* Full-screen public expert profile; only the body scrolls. */
body .expert-detail.card{position:fixed;inset:0;width:100%;height:100dvh;max-height:100dvh;margin:0;border:0;border-radius:0;padding:0;box-shadow:none}
body .expert-detail-header{justify-content:flex-start;padding:calc(var(--space-3) + env(safe-area-inset-top)) var(--space-4) var(--space-3)}
body .expert-detail-header h2{font-size:var(--type-office-title)}
body .expert-detail-body{flex:1;min-height:0;padding:var(--space-4);scroll-padding-bottom:var(--space-4)}
body .expert-detail-body>.expert-profile,body .expert-detail-status{width:100%;max-width:var(--content-max,720px);margin-inline:auto}
body .expert-detail .expert-profile-head{flex-wrap:nowrap;align-items:center}
body .expert-detail .expert-profile-head>div{min-width:0}
body .expert-detail .expert-region{margin:var(--space-2) 0;color:var(--muted)}
body .expert-detail .expert-detail-actions{display:grid;grid-template-columns:1fr 1fr;flex-shrink:0;margin:0;padding:var(--space-3) var(--space-4) calc(var(--space-3) + env(safe-area-inset-bottom));background:var(--card)}
body.expert-detail-open .customer-nav{visibility:hidden;pointer-events:none}
body .expert-detail .expert-introduction{white-space:pre-wrap}
.expert-detail .saved-expert-tools{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-2);margin-block:var(--space-3)}
.expert-detail .saved-expert-tools small{flex-basis:100%;overflow-wrap:anywhere}
