@import url('/static/fonts.css');
:root{color-scheme:light;--bg:#f5f8fa;--surface:#fff;--text:#173746;--muted:#74848e;--border:#e4ebef;--accent:#70c9f3;--accent-strong:#1b9ed9;--soft:#eaf7fd;--shadow:0 18px 70px #1737460b;--danger:#b34242;--green:#238267;--green-bg:#e9f7f0;font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:14px}html[data-theme=dark]{color-scheme:dark;--bg:#101d26;--surface:#172832;--text:#eef5f8;--muted:#9aadb9;--border:#2c404d;--soft:#1d3b4b;--shadow:0 18px 70px #0002;--danger:#ffaaa2;--green:#82d8b9;--green-bg:#1c4036}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text)}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button,a{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}a{color:inherit;text-decoration:none}button{color:inherit}button:focus-visible,a:focus-visible{outline:3px solid var(--accent);outline-offset:4px}h1,h2,p{margin-top:0}h1,h2{letter-spacing:-.045em;line-height:1.15}h1{font-size:36px}h2{font-size:28px}p{line-height:1.7}.brand{font-weight:850;font-size:43px;letter-spacing:-3px;line-height:1}.brand>span:last-child{color:var(--accent-strong)}.muted{color:var(--muted)}.eyebrow,.small-label{font-size:10px;font-weight:750;letter-spacing:2px;display:block;margin-bottom:16px}.eyebrow{color:var(--muted)}.small-label{color:var(--accent-strong)}.preferences{display:flex;gap:12px;align-items:center}.quiet{border:0;background:transparent;border-radius:8px;padding:9px 11px;font-weight:600}.quiet:hover{background:var(--soft)}.theme{font-size:21px}.primary,.secondary{border-radius:10px;padding:13px 20px;font-weight:650;border:1px solid transparent;display:inline-flex;justify-content:center;align-items:center;gap:12px}.primary{background:var(--accent);color:#113246}.primary:hover{background:#88d4f8}.secondary{background:var(--surface);border-color:var(--border)}.icon-button{background:transparent;border:1px solid var(--border);border-radius:9px;width:36px;height:36px;font-size:19px}.public-header,.public-footer{display:flex;justify-content:space-between;align-items:center;padding:32px 6vw}.public-footer{color:var(--muted);font-size:12px}.home{min-height:100dvh;display:flex;flex-direction:column;background:radial-gradient(ellipse at 50% 45%,var(--soft),transparent 65%),var(--bg)}.coming{text-align:center;margin:auto;padding:55px 24px;max-width:720px}.coming h1{font-size:clamp(40px,5vw,68px);margin-bottom:22px}.coming p{max-width:490px;margin:0 auto 28px;color:var(--muted);font-size:17px}.spark{font-size:100px;color:var(--accent-strong);line-height:1;margin:25px}.status-pill{display:inline-flex;gap:9px;align-items:center;padding:10px 15px;border:1px solid var(--border);background:var(--surface);border-radius:30px;font-size:12px}.status-pill>span:first-child{width:7px;height:7px;border-radius:50%;background:var(--accent-strong)}.login-layout{min-height:100dvh;display:grid;grid-template-columns:1fr 1fr}.login-story{background:#dff3fd;color:#173746;padding:48px 64px;display:flex;flex-direction:column;position:relative;overflow:hidden}.login-story .eyebrow{color:#577d91}.story-copy{margin:auto 0;max-width:520px;padding-top:70px}.story-copy h1{font-size:clamp(36px,3.8vw,58px);line-height:1.08;margin-bottom:24px}.story-copy p{max-width:340px;font-size:16px;color:#587889}.story-footer{font-size:12px;color:#688796}.login-form-side{position:relative;padding:38px 48px;display:flex;align-items:center;justify-content:center;background:var(--surface)}.login-form-side>.preferences{position:absolute;right:35px;top:30px}.login-form-wrap{width:100%;max-width:360px}.login-form-wrap h2{font-size:30px;margin-bottom:12px}.login-form-wrap>.muted{margin-bottom:35px}.login-form-wrap label{margin-bottom:23px}.login-submit{width:100%;justify-content:space-between;margin-top:6px}.login-note{border-top:1px solid var(--border);margin-top:33px;padding-top:22px;display:flex;gap:10px;align-items:center;font-size:12px;color:var(--muted)}label{display:block;font-size:12px;font-weight:600}label>span{display:block;margin-bottom:9px}input,select{display:block;width:100%;padding:12px 13px;border:1px solid var(--border);background:var(--surface);border-radius:8px;color:var(--text);outline:none;font-weight:400}input:focus,select:focus{border-color:var(--accent-strong);box-shadow:0 0 0 3px #70c9f322}input:read-only{background:var(--bg);color:var(--muted)}.password-field{position:relative}.password-field input{padding-right:45px}.password-field button{position:absolute;right:6px;top:5px;height:33px;width:33px;border:0;background:none;color:var(--muted)}.connection-art{height:240px;position:relative;max-width:390px;margin:25px 0 20px}.orbit{position:absolute;border:1px solid #9bcde0;border-radius:50%;left:50%;top:50%;transform:translate(-50%,-50%)}.orbit-one{height:175px;width:175px}.orbit-two{height:260px;width:260px;border-style:dashed}.art-core{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%) rotate(-8deg);width:100px;height:100px;display:grid;place-content:center;background:#70c9f3;border-radius:28px;font-size:65px;font-weight:850;letter-spacing:-7px;box-shadow:0 15px 25px #2f9ec025}.art-core span{display:none}.art-node{position:absolute;background:#fff;border:1px solid #cae7f4;box-shadow:0 8px 20px #17374608;border-radius:16px;width:53px;height:53px;display:grid;place-content:center;font-size:27px}.node-a{left:15%;top:8%;color:#cc9c60}.node-b{right:6%;top:40%;color:#3887a5}.node-c{left:20%;bottom:0;color:#85a17d}.admin-shell{display:grid;grid-template-columns:232px minmax(0,1fr);min-height:100dvh;transition:grid-template-columns .2s}.sidebar{background:var(--surface);border-right:1px solid var(--border);height:100dvh;position:sticky;top:0;padding:34px 18px 16px;display:flex;flex-direction:column}.sidebar .brand{padding:0 13px;font-size:37px;margin-bottom:48px}.mini-brand{display:none}.sidebar-caption{font-size:9px;letter-spacing:1.5px;color:var(--muted);padding:0 15px;margin-bottom:15px}.sidebar nav{display:flex;flex-direction:column;gap:7px}.sidebar nav button{border:0;background:transparent;padding:13px 15px;display:flex;align-items:center;gap:14px;border-radius:10px;text-align:left;font-size:13px;color:var(--muted)}.sidebar nav button:hover{background:var(--bg)}.sidebar nav button.active{background:var(--soft);color:var(--text);font-weight:700}.nav-icon{font-size:22px;width:22px;text-align:center;line-height:1;flex-shrink:0}.sidebar-bottom{margin-top:auto;padding-top:25px}.account{border-top:1px solid var(--border);padding:20px 6px 10px;display:flex;gap:10px;align-items:center}.avatar{width:35px;height:35px;border-radius:50%;background:var(--text);color:var(--surface);font-size:12px;display:grid;place-content:center;flex-shrink:0}.account-info{min-width:0}.account-info strong{font-size:12px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.account-info small{font-size:10px;color:var(--muted);display:block;margin-top:5px}.logout{display:flex;align-items:center;gap:12px;font-size:11px;color:var(--muted);margin-top:8px}.topbar{height:80px;background:var(--surface);border-bottom:1px solid var(--border);padding:0 36px;display:flex;align-items:center;justify-content:space-between}.breadcrumb{display:flex;align-items:center;gap:15px;font-size:12px;color:var(--muted)}.breadcrumb strong{color:var(--text);font-weight:550}.environment{border:1px solid var(--border);border-radius:5px;padding:4px 8px;font-size:10px;color:var(--muted)}.content{padding:40px 42px 20px;max-width:1600px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:8px 0 30px}.page-heading h1{margin-bottom:12px;font-size:32px}.page-heading .eyebrow{font-size:9px;letter-spacing:1.7px}.page-heading p{margin-bottom:0;font-size:13px}.table-card{background:var(--surface);border:1px solid var(--border);border-radius:14px;overflow:hidden;box-shadow:var(--shadow)}.table-toolbar{display:flex;align-items:center;justify-content:space-between;padding:21px 23px;border-bottom:1px solid var(--border);gap:16px}.table-toolbar strong{font-size:13px}.table-toolbar input{max-width:250px;padding:9px 12px;font-size:12px}.table-scroll{overflow-x:auto}table{border-collapse:collapse;width:100%;text-align:left;white-space:nowrap}th{font-size:10px;color:var(--muted);font-weight:550;letter-spacing:.3px;padding:14px 23px;background:var(--bg)}td{padding:20px 23px;font-size:12px;border-top:1px solid var(--border)}td .country-name{font-weight:650}.flag{font-size:22px;margin-right:12px;vertical-align:middle}.badge{padding:5px 9px;background:var(--green-bg);color:var(--green);font-size:10px;font-weight:600;border-radius:6px;display:inline-block}.badge.inactive{background:var(--bg);color:var(--muted)}.edit{border:1px solid var(--border);border-radius:7px;background:var(--surface);padding:6px 10px;font-size:11px}.table-foot{font-size:11px;color:var(--muted);padding:17px 23px;border-top:1px solid var(--border)}.help-card{display:flex;gap:14px;border:1px solid var(--border);border-radius:12px;padding:20px 24px;margin-top:22px}.help-card>span{font-size:24px;color:var(--accent-strong)}.help-card strong{font-size:12px}.help-card p{font-size:12px;color:var(--muted);margin:6px 0 0}.content-footer{display:flex;justify-content:space-between;font-size:10px;color:var(--muted);margin-top:45px;gap:20px}.content-footer>span:last-child{font-weight:800;font-size:18px;letter-spacing:-1px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:24px 0}.stat{background:var(--surface);padding:24px;border:1px solid var(--border);border-radius:13px}.stat>span{color:var(--muted);font-size:12px}.stat strong{display:block;font-size:38px;margin:20px 0 5px;letter-spacing:-2px}.stat small{color:var(--muted)}.welcome-card{border:1px solid var(--border);background:var(--soft);padding:32px;border-radius:15px;position:relative}.welcome-card h2{font-size:27px;margin-bottom:12px}.welcome-card p{max-width:610px;margin-bottom:0;color:var(--muted);font-size:13px}.setup-list{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:24px}.setup-list h3{font-size:14px;margin:0 0 10px}.setup-item{padding:17px 0;display:flex;align-items:center;gap:14px;border-bottom:1px solid var(--border)}.setup-item:last-child{border:0}.setup-item .step{width:30px;height:30px;background:var(--soft);border-radius:8px;display:grid;place-content:center;font-size:12px}.setup-item strong{font-size:12px}.setup-item p{font-size:12px;color:var(--muted);margin:5px 0 0}.setup-item button{margin-left:auto}dialog{width:min(570px,calc(100% - 32px));border:1px solid var(--border);padding:0;border-radius:17px;background:var(--surface);color:var(--text);box-shadow:0 30px 100px #0003;max-height:90dvh}dialog::backdrop{background:#10283566;backdrop-filter:blur(3px)}.modal-header{padding:25px 28px 20px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--border)}.modal-header h2{font-size:23px;margin:0}.modal-header .eyebrow{font-size:9px;margin-bottom:10px}.modal-body{padding:25px 28px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.form-grid .full{grid-column:1/-1}.field-help{font-size:11px;color:var(--muted);font-weight:400;line-height:1.6;margin:10px 0 0}.checkbox-label{display:flex;gap:10px;align-items:center;margin-top:22px}.checkbox-label input{width:17px;height:17px;accent-color:var(--accent-strong)}.checkbox-label span{margin:0}.modal-footer{padding:18px 28px;display:flex;justify-content:flex-end;gap:10px;background:var(--bg);border-top:1px solid var(--border)}.notice{padding:13px 15px;border-radius:9px;font-size:12px;line-height:1.6;margin:14px 0}.error{color:var(--danger);background:#b3424210;border:1px solid #b3424230}.toast{position:fixed;right:28px;bottom:28px;background:var(--text);color:var(--surface);padding:15px 22px;z-index:10;border-radius:10px;box-shadow:var(--shadow)}[hidden]{display:none!important}.collapsed .admin-shell{grid-template-columns:78px minmax(0,1fr)}.collapsed .sidebar{padding:34px 12px 16px}.collapsed .nav-label,.collapsed .sidebar-caption,.collapsed .account-info,.collapsed .full-brand{display:none}.collapsed .mini-brand{display:inline}.collapsed .sidebar .brand{padding:0 6px}.collapsed .sidebar nav button{padding:13px 14px}.collapsed .account{justify-content:center}.collapsed .logout{padding:10px 15px}.empty{text-align:center;padding:45px 20px;color:var(--muted)}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}@media(max-width:1000px){.content{padding:30px 24px}.topbar{padding:0 24px}.login-story{padding:40px}.stats{gap:12px}.stat{padding:18px}td,th{padding:16px}.breadcrumb>span{display:none}}@media(max-width:700px){.login-layout{grid-template-columns:1fr}.login-story{padding:27px;min-height:210px}.login-story .brand{font-size:36px}.story-copy{padding-top:30px}.story-copy h1{font-size:30px;margin-bottom:10px}.story-copy .eyebrow,.story-copy p,.connection-art,.story-footer{display:none}.login-form-side{padding:85px 27px 40px}.login-form-side>.preferences{top:17px;right:22px}.login-form-wrap{max-width:450px}.admin-shell,.collapsed .admin-shell{display:block}.sidebar,.collapsed .sidebar{position:fixed;left:0;top:0;width:232px;z-index:20;box-shadow:20px 0 60px #0002;padding:34px 18px 16px}.collapsed .sidebar{display:none}.collapsed .nav-label,.collapsed .sidebar-caption,.collapsed .account-info,.collapsed .full-brand{display:initial}.collapsed .mini-brand{display:none}.topbar{padding:0 18px;height:68px}.breadcrumb{gap:10px}.environment{display:none}.content{padding:23px 18px}.page-heading{align-items:flex-start;flex-direction:column;margin-top:10px}.page-heading h1{font-size:29px}.stats{grid-template-columns:1fr}.stat{display:flex;align-items:center;gap:15px}.stat strong{font-size:28px;margin:0 0 0 auto}.stat small{display:none}.table-toolbar{padding:17px;flex-wrap:wrap}.table-toolbar input{max-width:100%}.welcome-card{padding:24px}.setup-list{padding:20px}.content-footer{margin-top:30px}.public-header,.public-footer{padding:25px}.public-footer>span{max-width:130px;text-align:right}#editor{width:100%;max-width:100%;height:100dvh;max-height:100dvh;border-radius:0;margin:0;border:0}#editor form{min-height:100%;display:flex;flex-direction:column}.modal-body{flex:1}.form-grid{grid-template-columns:1fr}.modal-footer{position:sticky;bottom:0}.modal-header,.modal-body,.modal-footer{padding:22px}}

.settings-status{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:12px;font-size:11px}
#location-settings-open{white-space:nowrap}
@media(max-width:700px){.setup-item:has(#location-settings-open){flex-wrap:wrap}.setup-item:has(#location-settings-open)>div{flex:1;min-width:180px}#location-settings-open{margin-left:44px}}

.coming .welcome-intro{margin-bottom:8px}
#welcome-summary{margin-top:24px}
#welcome-summary p{font-size:13px;margin-bottom:16px}
#welcome-dialog{width:min(600px,calc(100% - 32px))}
.welcome-dialog-content{padding:32px}
.welcome-dialog-header{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:36px}
.welcome-dialog-header .brand{font-size:38px}
#welcome-dialog h2{font-size:32px;line-height:1.2;margin-bottom:14px}
#welcome-dialog-description{font-size:15px;margin-bottom:25px}
.country-options{display:grid;gap:12px}
.country-option{position:relative;display:flex;align-items:center;gap:14px;padding:20px 18px;border:2px solid var(--border);border-radius:16px;background:var(--surface);cursor:pointer;min-height:92px}
.country-option:has(input:checked){border-color:var(--accent);background:var(--soft)}
.country-option:focus-within{outline:3px solid var(--accent);outline-offset:3px}
.country-option input{position:absolute;width:1px;height:1px;opacity:0;padding:0;left:12px;top:12px}
.country-option>span{margin-bottom:0}
.country-option .flag{font-size:28px;margin:0;flex-shrink:0}
.country-option-copy{display:flex!important;flex-direction:column;gap:7px;flex:1;min-width:0}
.country-option strong{font-size:18px}
.country-option small{font-size:12px;font-weight:400;color:var(--muted);line-height:1.4}
.country-option .detected-country{color:var(--accent-strong);font-weight:600}
.country-arrow{font-size:24px;color:var(--accent-strong)}
.welcome-actions{display:flex;flex-direction:column;gap:12px;margin-top:24px}
.location-symbol{margin:24px auto;width:100px;height:100px;border-radius:28px;background:var(--soft);display:grid;place-content:center;color:var(--accent-strong);font-size:70px}
.location-instructions{font-size:14px;line-height:1.7}
#welcome-progress:empty{display:none}
@media(max-width:700px){.country-option{padding:20px 16px}}

.header-country{display:inline-flex;align-items:center;gap:7px;border:1px solid var(--border);background:var(--surface);font-size:12px}
#header-country-flag{font-size:22px;line-height:1}
@media(max-width:420px){.public-header{padding:22px 16px}.public-header>.brand{font-size:36px}.public-header .preferences{gap:3px}.header-country{padding:7px}#header-country-code{display:none}}

/* Public service catalogue */
.storefront{display:block;min-height:100vh;background:var(--surface)}
.storefront .public-header,.storefront .public-footer{max-width:1080px;margin:auto;padding:28px 32px}
.store-main{max-width:1080px;margin:auto;padding:0 32px 48px}
.store-location{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 0 10px;border-top:1px solid var(--border)}
.address-block{display:flex;gap:14px;align-items:center;min-width:0}
.address-pin{font-size:32px;color:var(--accent-strong)}
.address-block .small-label{margin-bottom:5px;font-size:10px}
#home-address{margin:0;font-size:16px;font-weight:600;overflow-wrap:anywhere;line-height:1.5}
.google-attribution{font-size:12px;text-decoration:underline;color:var(--muted)}
.store-country-summary{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:12px;margin-bottom:12px}
.home-banners{display:grid;gap:16px;margin:24px 0 36px}
.service-banner{position:relative;isolation:isolate;overflow:hidden;border-radius:26px;padding:40px;min-height:230px;display:flex;align-items:center;gap:24px;color:#173746}
.banner-background{position:absolute;inset:0;z-index:-1}
.banner-copy{flex:1;min-width:0}
.banner-copy h2{font-size:clamp(28px,4vw,42px);max-width:560px;margin-bottom:14px;overflow-wrap:anywhere}
.banner-copy p{font-size:17px;line-height:1.65;max-width:540px;margin:0;overflow-wrap:anywhere}
.banner-art{width:170px;height:170px;flex-shrink:0;display:grid;place-items:center;border-radius:50%;background:#fff5}
.banner-art svg{width:100px;height:100px;stroke-width:1.2}
.banner-light-text{color:#fff}
.section-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:24px}
.section-heading h1{font-size:26px;letter-spacing:-.035em;margin:0}
.section-heading>span{color:var(--muted);font-size:16px;white-space:nowrap}
.service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.service-card{text-align:left;border:1.5px solid var(--border);border-radius:25px;padding:25px 22px;background:var(--surface);display:flex;flex-direction:column;align-items:flex-start;min-height:185px;transition:background .15s,border-color .15s}
.service-card:hover,.service-card:focus-visible{background:var(--soft);border-color:var(--accent)}
.service-icon,.catalogue-icon{display:inline-grid;place-items:center;width:64px;height:64px;background:#e7f6ff;color:#2195cd;border-radius:20px;flex-shrink:0}
.service-icon svg{width:34px;height:34px}
.service-card strong{font-size:20px;margin:20px 0 6px;overflow-wrap:anywhere;max-width:100%}
.service-description{font-size:15px;line-height:1.5;color:var(--muted);overflow-wrap:anywhere;max-width:100%}
.tone-sparkles{background:#fff2e3;color:#d28c43}
.tone-home{background:#eaf4e5;color:#7e9e6b}
.catalogue-icon{width:42px;height:42px;border-radius:12px}
.catalogue-icon svg{width:26px;height:26px}
.how-it-works{margin-top:48px;padding:32px;border:1px solid var(--border);border-radius:24px;background:var(--bg)}
.how-it-works h2{font-size:27px}
.how-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;margin:28px 0}
.how-steps>div>span{color:var(--accent-strong);font-weight:700}
.how-steps h3{font-size:16px;margin:12px 0 8px}
.how-steps p,.how-it-works small{color:var(--muted);line-height:1.6}
.store-navigation{position:sticky;bottom:0;z-index:5;background:var(--surface);border-top:1px solid var(--border);display:flex;justify-content:center;gap:80px;padding:12px 20px max(12px,env(safe-area-inset-bottom))}
.store-navigation a,.store-navigation button{display:flex;align-items:center;flex-direction:column;gap:4px;border:0;background:transparent;color:var(--muted);font-size:12px;padding:4px 10px}
.store-navigation .selected{color:var(--accent-strong)}
.store-navigation span:first-child{font-size:22px}
#service-preview{width:min(480px,calc(100% - 32px))}
textarea{font:inherit;background:var(--surface);color:var(--text);border:1px solid var(--border);border-radius:9px;padding:12px;width:100%;resize:vertical}
input[type=color]{min-height:44px;padding:4px}
@media(max-width:600px){
 .storefront .public-header,.storefront .public-footer{padding:22px 18px}
 .store-main{padding:0 18px 28px}
 .store-location{gap:10px;align-items:flex-start}
 .store-location>.quiet{font-size:11px;padding:6px;max-width:90px}
 #home-address{font-size:14px}
 .store-country-summary{flex-wrap:wrap;gap:0}
 .service-banner{padding:24px;min-height:205px;gap:12px;border-radius:22px}
 .banner-art{width:75px;height:100px}
 .banner-art svg{width:65px;height:65px}
 .banner-copy h2{font-size:28px}
 .banner-copy p{font-size:14px}
 .section-heading h1{font-size:20px}
 .section-heading>span{font-size:12px}
 .service-grid{gap:10px}
 .service-card{padding:15px 11px;border-radius:18px;min-height:160px}
 .service-card strong{font-size:14px;margin-top:16px}
 .service-description{font-size:12px}
 .service-icon{width:46px;height:46px;border-radius:14px}
 .service-icon svg{width:27px;height:27px}
 .how-it-works{padding:24px}
 .how-steps{grid-template-columns:1fr;gap:12px}
 .store-navigation{gap:35px}
}
@media(max-width:359px){.service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.banner-art{display:none}}
@media(prefers-reduced-motion:reduce){.service-card{transition:none}}

.coverage-unavailable{text-align:center;max-width:650px;margin:48px auto;padding:40px 24px;border:1px solid var(--border);border-radius:24px;background:var(--bg)}
.coverage-unavailable h1{font-size:clamp(26px,4vw,36px);margin:22px 0 16px}
.coverage-unavailable p{color:var(--muted);margin-bottom:24px}

.address-results{list-style:none;margin:16px 0 0;padding:0;display:grid;gap:8px}
.address-result{display:block;width:100%;text-align:left;padding:16px;border:1px solid var(--border);border-radius:12px;background:var(--surface);color:var(--text);font-size:14px;line-height:1.5}
.address-result:hover,.address-result:focus-visible{background:var(--soft);border-color:var(--accent)}
.places-attribution{display:block;text-align:right;margin-top:12px;font-size:12px;color:var(--muted)}
#address-query{margin-top:10px}

/* Keep the location dialog stable while address suggestions arrive. */
#welcome-dialog{height:min(780px,calc(100dvh - 32px));max-height:calc(100dvh - 32px);overflow:hidden}
#welcome-dialog .welcome-dialog-content{height:100%;display:flex;flex-direction:column;overflow-y:auto;scrollbar-gutter:stable}
#welcome-dialog .welcome-dialog-content>*{flex-shrink:0}
#welcome-step{flex:1 1 auto!important;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:4px}
#welcome-progress{min-height:18px;margin-top:12px}
#welcome-dialog .welcome-actions{margin-top:16px}
.address-result{overflow-wrap:anywhere}
@media(max-width:700px){
 #welcome-dialog{
  --location-gap-top:max(24px,env(safe-area-inset-top));
  --location-gap-bottom:max(24px,env(safe-area-inset-bottom));
  width:min(600px,calc(100% - 32px));
  max-width:calc(100% - 32px);
  height:min(680px,calc(100dvh - var(--location-gap-top) - var(--location-gap-bottom)));
  max-height:calc(100dvh - var(--location-gap-top) - var(--location-gap-bottom));
  inset:var(--location-gap-top) 0 var(--location-gap-bottom);
  margin:auto;border-radius:24px;border:1px solid var(--border);
 }
 #welcome-dialog .welcome-dialog-content{padding:22px 18px}
 #welcome-dialog .welcome-dialog-header{margin-bottom:24px;gap:10px}
 #welcome-dialog .welcome-dialog-header .brand{font-size:34px}
 #welcome-dialog .welcome-dialog-header .preferences{gap:6px}
 #welcome-dialog h2{font-size:27px;margin-bottom:12px}
 #welcome-dialog-description{font-size:14px;line-height:1.6;margin-bottom:18px}
 #welcome-dialog .coverage-map-icon{width:140px;height:140px;margin:12px auto}
 #welcome-dialog .coverage-map-icon svg{width:96px;height:96px}
 #welcome-dialog .welcome-actions{gap:10px;margin-top:12px}
}

.coverage-map-icon{width:180px;height:180px;max-width:100%;margin:20px auto;display:grid;place-items:center;border-radius:50%;background:var(--soft);color:var(--accent-strong)}
.coverage-map-icon svg{width:120px;height:120px}
@media(max-height:700px){.coverage-map-icon{width:120px;height:120px;margin:8px auto}.coverage-map-icon svg{width:88px;height:88px}}

#home-skeleton{padding-top:24px}
.skeleton-label{display:block;color:var(--muted);font-size:13px;margin-bottom:18px}
.skeleton-block{background:var(--border);border-radius:16px;animation:skeleton-pulse 1.6s ease-in-out infinite}
.skeleton-address{height:48px;width:min(65%,420px);margin-bottom:32px}
.skeleton-banner{height:230px;border-radius:26px;margin-bottom:36px}
.skeleton-heading{height:28px;width:45%;margin-bottom:24px}
.skeleton-grid .skeleton-block{height:185px;border-radius:25px}
@keyframes skeleton-pulse{0%,100%{opacity:.45}50%{opacity:.9}}
@media(max-width:600px){.skeleton-banner{height:205px}.skeleton-grid .skeleton-block{height:160px;border-radius:18px}}
@media(prefers-reduced-motion:reduce){.skeleton-block{animation:none}}

/* Shared navigation and action icons. */
[data-icon]{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}
[data-icon] svg,.theme svg,.help-icon svg,.setup-item .step svg{width:22px;height:22px;display:block}
.icon-button{display:inline-flex;align-items:center;justify-content:center}
.theme{display:inline-flex;align-items:center;justify-content:center}
.address-pin svg{width:28px;height:28px}
.header-country [data-icon] svg{width:14px;height:14px}
.art-node[data-icon] svg{width:27px;height:27px}
.password-field button{display:flex;align-items:center;justify-content:center}
.password-field button>svg{width:22px;height:22px}
.store-navigation [data-icon] svg{width:24px;height:24px}
.sidebar nav button[data-page=settings]{margin-top:12px;border-top:1px solid var(--border);border-radius:0 0 10px 10px}

/* Compact address action and evenly spaced mobile navigation. */
.store-location>.location-current-button{width:44px;height:44px;min-width:44px;max-width:none;flex-shrink:0;padding:10px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--border);border-radius:12px;color:var(--accent-strong)}
.store-location .address-block{flex:1;min-width:0}
.store-location .address-block>div{min-width:0}
@media(max-width:700px){
 .store-navigation{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;padding-left:max(8px,env(safe-area-inset-left));padding-right:max(8px,env(safe-area-inset-right))}
 .store-navigation a,.store-navigation button{width:100%;min-width:0;min-height:48px;justify-content:center;align-items:center;text-align:center;padding:4px;line-height:1.4}
 .store-location{align-items:center}
}

#account-required{width:min(480px,calc(100% - 32px));height:fit-content;max-height:calc(100dvh - 32px);margin:auto;border:1px solid var(--border);border-radius:22px}
.account-required-body{display:flex;align-items:center;flex-direction:column;text-align:center;gap:16px}
.account-required-body p{margin:0}
.account-required-body .service-icon{width:72px;height:72px}
#account-required .modal-footer{justify-content:center}
#account-required .modal-footer button{width:100%}

.account-fields{border:0;padding:0;margin:0;display:grid;gap:18px;min-width:0}
.account-fields>button{width:100%;margin-top:6px}
.account-phone{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.account-actions{display:grid;gap:10px;margin-top:18px}
.account-gate{text-align:center}
.account-gate .service-icon{margin-bottom:18px}
.registration-address{padding:16px;border:1px solid var(--border);border-radius:14px;background:var(--bg)}
.registration-address p{margin:8px 0 12px;overflow-wrap:anywhere}
.registration-address label{margin-top:12px}
#account-view{padding:24px 0 40px}
.account-card{padding:28px;border:1px solid var(--border);border-radius:22px;background:var(--surface)}
.account-card h1{font-size:28px;margin:20px 0}
.account-details{display:grid;grid-template-columns:100px 1fr;gap:16px;margin:0}
.account-details dt{color:var(--muted)}
.account-details dd{margin:0;overflow-wrap:anywhere;min-width:0}
.account-menu{display:grid;gap:12px;margin:22px 0}
.account-menu button{text-align:left;justify-content:flex-start;padding:18px}
.saved-address{display:flex;gap:16px;border:1px solid var(--border);border-radius:18px;padding:20px;margin-top:14px}
.saved-address>div{min-width:0;flex:1}
.saved-address h3{margin:0 0 12px}
.saved-address p{overflow-wrap:anywhere}
.address-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
#address-list .section-heading{flex-wrap:wrap}
#address-list .section-heading h2{margin:0}
@media(max-width:480px){
 .account-phone{grid-template-columns:1fr}
 .account-card{padding:20px}
 .account-details{grid-template-columns:1fr;gap:8px}
 .account-details dd{margin-bottom:12px}
 .saved-address{padding:16px;gap:12px}
 .saved-address .service-icon{width:40px;height:40px}
}

/* Account dialogs size to their content, including on mobile. */
#account-required{height:fit-content;min-height:0;max-height:calc(100dvh - 32px);overflow-y:auto}
#account-required form{min-height:0;display:block}
#account-required .modal-header{padding:22px 24px 18px;gap:16px}
#account-required .modal-body{padding:20px 24px 24px;flex:none}
.account-heading{display:flex;align-items:center;gap:12px;min-width:0}
#account-heading-icon{display:grid;place-items:center;width:42px;height:42px;flex-shrink:0;border-radius:13px;color:var(--accent-strong);background:var(--soft)}
#account-required .account-heading h2{font-size:23px;line-height:1.25}
#account-required .account-fields{gap:14px}
#account-required .account-gate p{margin-bottom:0;color:var(--muted)}
#account-required .account-gate .service-icon{display:none}
#account-required .account-actions{margin-top:18px;gap:10px}
#account-required .account-fields>button{margin-top:8px;min-height:46px}
.auth-input-wrap{position:relative;display:block;margin:0}
.auth-input-icon{position:absolute;left:13px;top:50%;transform:translateY(-50%);display:flex;color:var(--muted);pointer-events:none}
.auth-input-icon svg{width:19px;height:19px}
.auth-input-wrap input{padding-left:42px;min-height:46px}
.auth-input-wrap input[type=password],.auth-input-wrap:has(.auth-password-toggle) input{padding-right:46px}
.auth-password-toggle{position:absolute;right:3px;top:50%;transform:translateY(-50%);width:42px;height:42px;display:grid;place-items:center;border:0;border-radius:8px;background:transparent;color:var(--muted)}
.auth-password-toggle:hover{background:var(--soft)}
.auth-password-toggle svg{width:20px;height:20px}
.auth-field-label{display:block;font-size:12px;font-weight:600;margin-bottom:9px}
.auth-phone-row{display:grid;grid-template-columns:110px minmax(0,1fr);gap:10px}
.auth-phone-row select{padding:10px 8px;font-size:14px;min-height:46px}
.auth-phone-row input{min-width:0;min-height:46px}
#account-required .auth-password-help{margin:0;font-size:11px}
@media(max-width:480px){
 #account-required .modal-header{padding:18px}
 #account-required .modal-body{padding:18px}
 #account-required .account-heading h2{font-size:21px}
 .auth-phone-row{grid-template-columns:104px minmax(0,1fr);gap:8px}
}

/* Intrinsic dialog height avoids stretching between the browser's modal insets. */
#account-required{block-size:fit-content;inset:0;margin:auto}
#account-required[data-mode=gate],#account-required[data-mode=login]{width:min(440px,calc(100% - 32px))}
#account-required #account-body{min-height:0;display:block}
#account-required .account-switch{margin-top:18px;padding-top:16px;border-top:1px solid var(--border);display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:4px 8px}
.account-switch p{margin:0;color:var(--muted);font-size:13px}
#account-required .account-switch button{color:var(--accent-strong);padding:7px 9px;min-height:36px;font-weight:700}
#account-required[data-mode=gate] .account-actions{margin-top:20px}

/* Profile overview and internal account pages. */
.profile-page{width:100%;min-width:0;margin:0}
.profile-page>h1{font-size:30px;margin:8px 0 24px}
.profile-summary{display:flex;gap:20px;align-items:center;padding:24px;border:1px solid var(--border);border-radius:22px;background:var(--soft)}
.profile-avatar{display:grid;place-items:center;width:76px;height:76px;flex-shrink:0;border-radius:50%;background:var(--accent);color:#173746;font-size:27px;font-weight:750}
.profile-summary>div{min-width:0}
.profile-summary h2{font-size:23px;margin:0 0 9px;overflow-wrap:anywhere}
.profile-summary p{margin:0 0 5px;font-size:14px;line-height:1.5;overflow-wrap:anywhere}
.profile-summary .badge{margin-top:5px}
.badge.unverified{background:#fff0cf;color:#805100}
.profile-group-title{font-size:11px;letter-spacing:1.5px;color:var(--muted);margin:28px 0 12px}
.profile-menu{border:1px solid var(--border);border-radius:18px;overflow:hidden;background:var(--surface)}
.profile-menu-row{display:flex;align-items:center;gap:14px;width:100%;border:0;background:transparent;padding:18px;text-align:left}
.profile-menu-row+.profile-menu-row{border-top:1px solid var(--border)}
.profile-menu-row:hover{background:var(--soft)}
.profile-menu-row>span:nth-child(2){flex:1;font-weight:600}
.profile-menu-row>svg{width:18px;height:18px;color:var(--muted);flex-shrink:0}
.profile-menu-icon{display:grid;place-items:center;color:var(--accent-strong)}
.profile-menu-icon svg{width:23px;height:23px}
.profile-logout{width:100%;display:flex;align-items:center;gap:14px;padding:17px 18px;margin-top:22px;border:1px solid var(--border);border-radius:14px;background:var(--surface);color:var(--danger);font-weight:650;text-align:left}
.profile-back{display:inline-flex;align-items:center;gap:9px;color:var(--accent-strong);padding:8px 0;margin-bottom:14px}
.profile-back svg{width:21px;height:21px}
.profile-form{padding:24px;border:1px solid var(--border);border-radius:20px;background:var(--surface)}
.profile-form h2{font-size:20px;margin:24px 0 14px}
.profile-form h2:first-child{margin-top:0}
.profile-form .account-fields>button{min-height:46px}
.preference-options{display:flex;gap:12px;flex-wrap:wrap}
.preference-choice{flex:1;min-width:90px;display:flex;align-items:center;justify-content:center;gap:10px;border:1px solid var(--border);border-radius:12px;background:var(--surface);padding:18px 12px}
.preference-choice[aria-pressed=true]{border-color:var(--accent-strong);background:var(--soft);color:var(--accent-strong);font-weight:700}
.profile-faq{display:grid;gap:12px}
.profile-faq details{border:1px solid var(--border);border-radius:16px;overflow:hidden;background:var(--surface)}
.profile-faq summary{display:flex;align-items:center;gap:14px;justify-content:space-between;padding:18px;cursor:pointer;font-weight:650;list-style:none;line-height:1.5}
.profile-faq summary::-webkit-details-marker{display:none}
.profile-faq summary svg{flex-shrink:0;width:19px;height:19px}
.profile-faq details[open]{background:var(--soft)}
.profile-faq details[open] summary svg{transform:rotate(180deg)}
.profile-faq details p{margin:0;padding:0 18px 18px;line-height:1.7}
.profile-about-hero{padding:32px;border-radius:22px;background:var(--soft);position:relative;overflow:hidden}
.profile-about-hero .brand{display:block;margin-bottom:18px}
.profile-about-hero p{max-width:70%;font-size:20px;line-height:1.5;margin:0}
.profile-about-hero>svg{position:absolute;right:24px;bottom:25px;width:65px;height:65px;color:var(--accent-strong)}
.profile-about-copy{padding:12px 0}
.profile-about-copy h2{font-size:22px;margin:25px 0 12px}
.profile-about-copy p{color:var(--muted)}
.logout-confirm{text-align:center}
.logout-confirm .service-icon{margin-bottom:20px}
.logout-confirm p{margin:0;color:var(--muted)}
.danger-button{border:1px solid var(--danger);border-radius:10px;background:var(--danger);color:var(--surface);padding:13px 20px;font-weight:650}
#account-required[data-mode=logout]{width:min(410px,calc(100% - 32px))}
#address-form{padding:24px;border:1px solid var(--border);border-radius:20px}
#profile-success{background:var(--green-bg);color:var(--green)}
@media(max-width:600px){
 .profile-page>h1{font-size:27px;margin-bottom:20px}
 .profile-summary{gap:14px;padding:18px}
 .profile-avatar{width:60px;height:60px;font-size:23px}
 .profile-summary h2{font-size:20px}
 .profile-summary p{font-size:13px}
 .profile-menu-row{padding:16px}
 .profile-form,#address-form{padding:18px}
 .profile-about-hero{padding:24px}
}

/* Account pages share the main content width. */
.requests-page{width:100%;min-width:0}
.requests-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:8px 0 28px}
.requests-heading h1{font-size:30px;margin:0 0 10px}
.requests-heading p{margin:0}
.requests-heading>.primary{flex-shrink:0}
.requests-empty{width:100%;padding:54px 24px 64px;border:1px solid var(--border);border-radius:24px;background:var(--surface);text-align:center}
.requests-illustration{position:relative;width:148px;height:148px;margin:0 auto 28px;display:grid;place-items:center;border-radius:50%;background:var(--soft);color:var(--accent-strong)}
.requests-illustration>span>svg{width:66px;height:66px;stroke-width:1.3;transform:rotate(-8deg)}
.requests-illustration>i{position:absolute;right:0;top:6px;display:grid;place-items:center;width:40px;height:40px;border-radius:14px;background:var(--surface);border:1px solid var(--border)}
.requests-empty h2{font-size:27px;margin-bottom:14px}
.requests-empty p{color:var(--muted);max-width:440px;margin:0 auto 26px}
.requests-filters{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:24px}
.requests-filters button{padding:10px 18px;border:1px solid var(--border);border-radius:24px;background:var(--surface)}
.requests-filters button[aria-pressed=true]{background:var(--soft);border-color:var(--accent);color:var(--accent-strong)}
.requests-list{display:grid;gap:16px}
.request-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:20px;align-items:center;padding:24px;border:1px solid var(--border);border-radius:20px;background:var(--surface)}
.request-row h2{font-size:20px;margin:0 0 10px;letter-spacing:-.025em}
.request-row p{margin:0;color:var(--muted);font-size:14px}
.request-row .request-status{display:inline-block;border-radius:20px;background:var(--soft);color:var(--accent-strong);padding:6px 12px;font-size:12px;font-weight:650;margin-bottom:10px}
.request-row .request-status.completed{background:var(--green-bg);color:var(--green)}
.request-row .request-meta{display:flex;flex-wrap:wrap;gap:6px 20px;margin-top:10px}
.request-row .request-side{text-align:right}
@media(max-width:600px){
 .requests-heading{align-items:flex-start;flex-direction:column;gap:16px}
 .requests-heading h1{font-size:27px}
 .requests-heading>.primary{display:none}
 .requests-empty{padding:36px 18px 40px;border-radius:20px}
 .requests-empty h2{font-size:23px}
 .requests-illustration{width:124px;height:124px}
 .request-row{grid-template-columns:auto minmax(0,1fr);padding:18px;gap:14px}
 .request-row .request-side{grid-column:2;text-align:left}
 .request-row h2{font-size:18px}
 .request-row>.service-icon{width:44px;height:44px}
}

.profile-faq details p{white-space:pre-line;overflow-wrap:anywhere}

.addresses-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;margin:8px 0 24px}
.addresses-heading h1{font-size:30px;margin:0}
@media(max-width:600px){.addresses-heading h1{font-size:27px}.addresses-heading{gap:16px}}

/* Wide category rows follow the same catalogue order as compact cards. */
.service-card.service-card-wide{grid-column:1 / -1;display:flex;flex-direction:row;align-items:center;gap:22px;min-height:116px;padding:24px}
.service-card-wide .service-icon{width:36px;height:36px;background:transparent;color:var(--accent-strong);margin:0;flex-shrink:0}
.service-card-wide .service-icon svg{width:30px;height:30px}
.service-wide-copy{display:flex;flex-direction:column;gap:6px;flex:1;min-width:0}
.service-card-wide strong{margin:0;font-size:20px;line-height:1.35}
.service-card-wide .service-description{margin:0;overflow-wrap:anywhere}
.service-wide-arrow{flex-shrink:0;color:var(--muted);display:grid;place-items:center}
.service-wide-arrow svg{width:26px;height:26px;transform:rotate(-45deg)}
@media(max-width:600px){.service-card.service-card-wide{padding:20px 16px;gap:14px;min-height:104px}.service-card-wide strong{font-size:17px}.service-card-wide .service-description{font-size:14px}.service-wide-arrow svg{width:22px;height:22px}}

.notification-bell{position:relative;display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px}
.notification-bell svg{width:25px;height:25px}
.notification-bell[aria-current=page]{color:var(--accent-strong);background:var(--soft)}
.notification-count{position:absolute;top:-2px;right:-5px;min-width:21px;height:21px;padding:0 5px;border-radius:20px;background:var(--accent-strong);color:white;font-size:11px;font-weight:750;display:grid;place-items:center;border:2px solid var(--surface)}
.notifications-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:8px 0 28px}
.notifications-heading h1{font-size:30px;margin:0 0 10px}
.notifications-heading p{margin:0}
.notification-actions{display:flex;gap:8px;flex-wrap:wrap}
.notifications-list{display:grid;gap:14px}
.notification-item{display:flex;align-items:flex-start;gap:18px;padding:24px;border:1px solid var(--border);border-radius:20px;background:var(--surface)}
.notification-item.is-unread{background:var(--soft);border-color:var(--accent)}
.notification-item>.service-icon{flex-shrink:0;width:48px;height:48px}
.notification-copy{min-width:0;flex:1}
.notification-title{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:10px}
.notification-title h2{font-size:19px;margin:0;line-height:1.4;overflow-wrap:anywhere}
.notification-copy p{margin:0 0 14px;color:var(--muted);white-space:pre-line;overflow-wrap:anywhere}
.notification-copy time,.notification-read-label{font-size:12px;color:var(--muted)}
.notification-read{display:block;margin-top:10px;padding-left:0;color:var(--accent-strong)}
.notification-read-label{display:block;margin-top:12px}
.notification-more{text-align:center;margin:24px 0}
.requests-illustration>svg{width:62px;height:62px;stroke-width:1.3}
@media(max-width:600px){.notifications-heading{align-items:flex-start;flex-direction:column;gap:16px}.notifications-heading h1{font-size:27px}.notification-item{gap:12px;padding:18px 14px}.notification-item>.service-icon{width:36px;height:36px}.notification-title h2{font-size:17px}.notification-title{gap:8px}.notification-actions{width:100%}}
.account-mode-bar{width:min(1120px,calc(100% - 48px));margin:0 auto 20px;display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.account-mode-switch{display:inline-flex;padding:5px;background:var(--bg);border:1px solid var(--border);border-radius:16px;gap:4px}
.account-mode-switch button{border:0;background:transparent;border-radius:12px;padding:11px 24px;font-weight:650;color:var(--muted)}
.account-mode-switch button[aria-pressed=true]{background:var(--soft);color:var(--accent-strong);box-shadow:0 2px 8px #17374608}
#account-mode-status{color:var(--danger);font-size:13px}
.provider-status{display:flex;gap:20px;background:var(--soft);border:1px solid var(--border);padding:28px;border-radius:22px;margin-bottom:22px}
.provider-status>div{min-width:0;flex:1}.provider-status .service-icon{flex-shrink:0}.provider-status h2{font-size:25px;margin-bottom:12px}.provider-status p{margin:14px 0 0;white-space:pre-line;overflow-wrap:anywhere}
.provider-shortcuts{display:flex;gap:12px;flex-wrap:wrap;margin:24px 0}.provider-shortcuts a{white-space:normal}
.provider-note{white-space:pre-line;overflow-wrap:anywhere;background:var(--soft)}.provider-note p{margin-bottom:0}
.provider-document{padding:22px;border:1px solid var(--border);border-radius:18px;margin:24px 0;overflow-wrap:anywhere}
.provider-plan{padding:32px;background:var(--soft);border:1px solid var(--border);border-radius:22px}.provider-plan h2{margin-top:24px}
.upload-zone{border:2px dashed var(--border);border-radius:18px;background:var(--bg);padding:24px;text-align:center;transition:border-color .15s,background .15s}
.upload-zone label{display:flex;flex-direction:column;align-items:center;gap:9px;cursor:pointer;font-weight:400;font-size:14px}.upload-zone label strong{font-size:17px;color:var(--text)}.upload-zone label span{margin:0;color:var(--muted)}.upload-zone svg{width:38px;height:38px;color:var(--accent-strong)}.upload-zone small{color:var(--muted)}
.upload-zone input[type=file]{margin:16px auto 0;max-width:420px;background:var(--surface);font-size:12px}.upload-zone.dragging,.upload-zone:focus-within{border-color:var(--accent-strong);background:var(--soft)}
.upload-previews{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px}.upload-preview{border:1px solid var(--border);border-radius:14px;overflow:hidden;background:var(--surface)}.upload-preview img,.upload-preview iframe{width:100%;height:230px;object-fit:contain;background:var(--bg);border:0}.upload-preview iframe{height:340px}.upload-preview p{font-size:12px;overflow-wrap:anywhere;margin:10px 12px 0}.upload-preview button{margin:4px 4px 8px}
.request-create-action{display:flex;justify-content:flex-end;margin-bottom:22px}.request-description{white-space:pre-line;overflow-wrap:anywhere}.request-row details{margin-top:14px}.request-row summary{cursor:pointer;color:var(--accent-strong)}.request-row .request-side button{display:block;margin-top:12px}.request-photo-list{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}.request-photo-list img{width:130px;height:130px;object-fit:contain;border-radius:12px;border:1px solid var(--border)}
.people-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;gap:12px;margin-bottom:24px}.people-pagination{display:flex;align-items:center;justify-content:center;gap:20px;margin:24px 0}.admin-document-preview{display:block;max-width:100%;max-height:360px;object-fit:contain;background:var(--bg);border:1px solid var(--border);border-radius:12px;margin-bottom:16px}
#people-editor{width:min(760px,calc(100% - 32px))}#people-editor form{display:grid;gap:16px}#people-editor hr{border:0;border-top:1px solid var(--border);margin:28px 0}#provider-review{margin-top:22px}
@media(max-width:800px){.people-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.people-filters button{grid-column:1/-1}}
@media(max-width:600px){.account-mode-bar{width:calc(100% - 32px);margin-top:0}.account-mode-switch{width:100%}.account-mode-switch button{flex:1;padding:11px 12px}.provider-status{padding:20px;gap:14px}.provider-status h2{font-size:22px}.upload-zone{padding:18px 12px}.provider-plan{padding:24px}.provider-shortcuts{flex-direction:column}.provider-shortcuts a{justify-content:center}.request-create-action>a{width:100%}.people-filters{grid-template-columns:1fr}.upload-previews{grid-template-columns:1fr}}

/* Keep the role switch inside the header; changing role preserves the current view. */
.storefront .public-header{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);column-gap:24px;row-gap:18px;align-items:center}
.storefront .public-header>.brand{grid-column:1;grid-row:1;justify-self:start}
.storefront .public-header>.preferences{grid-column:3;grid-row:1;justify-self:end}
.storefront .public-header>.account-mode-bar{grid-column:2;grid-row:1;width:auto;margin:0;display:flex;flex-direction:column;align-items:center;gap:6px;min-width:0}
.public-header .account-mode-switch{padding:4px;gap:4px;border-radius:30px;background:var(--bg);border:1px solid var(--border);width:auto}
.public-header .account-mode-switch button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:10px 16px;border-radius:24px;font-size:13px;line-height:1.2;white-space:nowrap;transition:background .15s,color .15s}
.public-header .account-mode-switch button>span:first-child{display:flex;flex-shrink:0}
.public-header .account-mode-switch button svg{width:18px;height:18px}
.public-header .account-mode-switch button[aria-pressed=true]{background:var(--soft);color:var(--accent-strong);box-shadow:0 1px 5px #17374612}
.public-header #account-mode-status{font-size:12px;text-align:center;max-width:300px}
.public-header #account-mode-status:empty{display:none}
@media(max-width:900px){
 .storefront .public-header{grid-template-columns:minmax(0,1fr) auto;column-gap:12px;row-gap:20px}
 .storefront .public-header>.preferences{grid-column:2}
 .storefront .public-header>.account-mode-bar{grid-column:1/-1;grid-row:2;justify-self:center;width:100%}
 .public-header .account-mode-switch{width:min(100%,360px)}
 .public-header .account-mode-switch button{flex:1;padding:10px 12px}
}
@media(prefers-reduced-motion:reduce){.public-header .account-mode-switch button{transition:none}}

/* Desktop navigation floats above the viewport edge; mobile keeps its full-width bar. */
@media(min-width:901px){
 .storefront{padding-bottom:116px}
 .store-navigation{position:fixed;left:50%;bottom:22px;transform:translateX(-50%);width:min(520px,calc(100% - 48px));display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:10px;border:1px solid var(--border);border-radius:28px;box-shadow:0 8px 32px #00000018}
 .store-navigation a,.store-navigation button{min-width:0;min-height:58px;justify-content:center;gap:6px;padding:8px 12px;border-radius:19px;line-height:1.35;transition:background .15s,color .15s}
 .store-navigation a:hover,.store-navigation button:hover,.store-navigation .selected{background:var(--soft);color:var(--accent-strong)}
 .store-navigation a:focus-visible,.store-navigation button:focus-visible{outline-offset:1px}
}
@media(min-width:901px) and (prefers-reduced-motion:reduce){.store-navigation a,.store-navigation button{transition:none}}

/* Account overview shared by customer and provider profiles. */
.profile-identity{display:flex;align-items:center;gap:22px;margin:24px 0}
.profile-identity .profile-avatar{width:96px;height:96px;background:var(--soft);color:var(--accent-strong);font-size:32px}
.profile-identity.is-provider .profile-avatar{background:#ffeadb;color:#925d3c}
.profile-identity>div{min-width:0}
.profile-identity h2{font-size:clamp(25px,3vw,36px);line-height:1.15;margin:0 0 10px;overflow-wrap:anywhere}
.profile-identity p{margin:5px 0;overflow-wrap:anywhere}
.profile-contact{font-size:14px;color:var(--muted)}
.profile-location{display:flex;align-items:center;gap:9px;color:var(--muted);font-size:14px;margin:0 0 24px}
.profile-location svg{width:20px;height:20px;flex-shrink:0}
.profile-location span{overflow-wrap:anywhere}
.profile-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:28px 0}
.profile-stat{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;gap:12px;padding:24px 12px;border-radius:18px;background:var(--soft);min-width:0}
.profile-stat strong{font-size:clamp(26px,3vw,36px);line-height:1.15}
.profile-stat span{font-size:14px;color:var(--muted);line-height:1.5}
.profile-trust{margin:30px 0 20px}
.profile-trust h3{font-size:20px;margin:0 0 8px}
.profile-trust-row{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:18px 0;border-bottom:1px solid var(--border);font-size:15px}
.profile-trust-row>span{display:flex;align-items:center;gap:9px;color:var(--muted)}
.profile-trust-row svg{width:20px;height:20px;flex-shrink:0}
.profile-trust-row strong{text-align:right;overflow-wrap:anywhere;max-width:65%}
.profile-review-empty{display:flex;align-items:flex-start;gap:16px;padding:22px;border:1px solid var(--border);border-radius:18px;margin:24px 0 30px}
.profile-review-empty>svg{width:26px;height:26px;flex-shrink:0;color:var(--accent-strong)}
.profile-review-empty p{color:var(--muted);line-height:1.6;margin:8px 0 0;font-size:14px}
@media(max-width:600px){
 .profile-identity{gap:16px;margin:20px 0}
 .profile-identity .profile-avatar{width:72px;height:72px;font-size:26px}
 .profile-stats{gap:10px;margin:24px 0}
 .profile-stat{padding:20px 8px;border-radius:15px;gap:10px}
 .profile-stat span{font-size:12px}
 .profile-trust-row{font-size:14px;gap:12px}
 .profile-trust-row strong{max-width:58%}
 .profile-trust h3{font-size:18px}
 .profile-review-empty{padding:18px}
}

/* The saved account mode supplies the public interface accent palette. */
html[data-account-mode=provider]{--accent:#efb58d;--accent-strong:#a45b2c;--soft:#fff1e7;--bg:#fcf8f5;--border:#ebdfd6}
html[data-theme=dark][data-account-mode=provider]{--accent:#efb58d;--accent-strong:#f3bd98;--soft:#3c2d25;--bg:#201c1a;--border:#514037}
html[data-account-mode=provider] .primary{color:#382315}
html[data-account-mode=provider] .primary:hover{background:#f5c8a8}
html[data-account-mode=provider] .profile-identity.is-provider .profile-avatar{background:var(--soft);color:var(--accent-strong)}
html[data-account-mode=provider] input:focus,html[data-account-mode=provider] select:focus{box-shadow:0 0 0 3px #efb58d33}

.profile-trust-action{border-radius:8px;padding-left:10px;padding-right:10px}
.profile-trust-action:hover{background:var(--soft)}
.profile-trust-action strong{margin-left:auto}
.profile-trust-action>svg{color:var(--accent-strong)}
.phone-verification{width:100%;max-width:none;margin:20px 0;padding:24px;border:1px solid var(--border);border-radius:22px}
.phone-verification h2{margin-top:20px;overflow-wrap:anywhere}
.phone-verification form{margin-top:24px}
.phone-verification input[name=code]{font-size:24px;letter-spacing:.3em}
.phone-code-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}
@media(max-width:600px){.phone-verification{padding:18px}.phone-code-actions>*{flex:1}}

#phone-number-dialog{width:min(460px,calc(100% - 32px));max-width:460px;height:fit-content;block-size:fit-content;min-height:0;inset:0;max-height:calc(100dvh - 40px);margin:auto;padding:0;border:1px solid var(--border);border-radius:22px;background:var(--surface);color:var(--text);overflow:auto;box-shadow:var(--shadow)}
#phone-number-dialog::backdrop{background:#0b202966}
#phone-number-dialog .modal-header{padding:22px;display:flex;align-items:center;justify-content:space-between;gap:16px}
#phone-number-dialog .modal-header h2{margin:0;font-size:23px}
#phone-number-dialog .modal-body{padding:0 22px 22px}

/* Compact phone dialog and balanced verification layout. */
#phone-number-dialog .modal-body{flex:none;padding:18px 22px 22px}
#phone-number-dialog .account-fields{gap:12px}
#phone-number-dialog .field-help{margin:0;line-height:1.5}
#phone-number-dialog .phone-code-actions{margin-top:4px;justify-content:flex-end;gap:10px}
#phone-number-dialog .modal-header{padding:18px 22px}
#phone-number-dialog .modal-header h2{font-size:21px}
.phone-verification{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding:0;overflow:hidden;border-radius:24px;align-items:stretch}
.phone-verification-form{padding:clamp(24px,4vw,48px);min-width:0}
.phone-verification-form>.service-icon{width:48px;height:48px}
.phone-verification-form h2{font-size:clamp(22px,2.4vw,30px);margin:22px 0 12px}
.phone-verification-form>p{color:var(--muted);max-width:360px;line-height:1.6}
.phone-verification-form #phone-change-number{padding:6px 0;border:0;background:transparent;color:var(--accent-strong);font-size:13px}
.phone-verification input[name=code]{width:220px;max-width:100%;height:60px;font-size:28px;letter-spacing:.45em;text-align:center;padding:10px 10px 10px 22px;border-radius:12px;font-variant-numeric:tabular-nums}
.phone-verification .phone-code-actions{align-items:flex-start;flex-direction:column;gap:12px;margin-top:20px}
.phone-verification .phone-code-actions .primary{order:-1;min-width:220px;max-width:100%;min-height:46px}
.phone-verification #phone-request-code{font-size:12px;padding:6px 0;background:transparent;border:0;color:var(--accent-strong);min-height:32px}
.phone-verification #phone-code-status{font-size:13px;margin:12px 0 0}
.phone-verification-art{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:32px;text-align:center;background:var(--soft);color:var(--accent-strong)}
.phone-security-art{display:block;width:min(100%,300px);height:auto}
.phone-verification-art h3{font-size:20px;line-height:1.3;margin:12px 0;color:var(--text)}
.phone-verification-art p{font-size:14px;line-height:1.7;max-width:260px;color:var(--muted);margin:0}
@media(max-width:650px){
 .phone-verification{grid-template-columns:1fr}
 .phone-verification-form{padding:24px}
 .phone-verification-art{padding:22px;flex-direction:row;gap:16px;text-align:left}
 .phone-security-art{width:84px;flex-shrink:0}
 .phone-verification-art h3{font-size:16px;margin:0}
 .phone-verification-art p{display:none}
 .phone-verification .phone-code-actions>*{flex:none}
 #phone-number-dialog .phone-code-actions>*{flex:1;padding:12px 10px}
}

.phone-verification #phone-request-code{background:#f0f2f4;color:#46545f;padding:12px 16px;min-height:44px;min-width:min(220px,100%);max-width:100%;border-radius:10px;border:0;font-size:13px;font-weight:600;line-height:1.4}
.phone-verification #phone-request-code:hover:not(:disabled){background:#e4e8ec}
.phone-verification #phone-request-code:disabled{opacity:1;color:#65727d;cursor:default}
html[data-theme=dark] .phone-verification #phone-request-code{background:#2b3740;color:#d9e2e9}
html[data-theme=dark] .phone-verification #phone-request-code:hover:not(:disabled){background:#35434e}
html[data-theme=dark] .phone-verification #phone-request-code:disabled{color:#b5c1cb}

/* Shared two-column layout for full-page customer and provider forms. */
.account-form-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);width:100%;border:1px solid var(--border);border-radius:24px;background:var(--surface);overflow:hidden;margin:20px 0;align-items:stretch}
.account-form-layout>.account-form-main{min-width:0;width:100%;margin:0;padding:clamp(24px,3.5vw,42px);border:0;border-radius:0;background:transparent}
.account-form-main .form-grid{grid-template-columns:1fr}
.account-form-main .account-fields>button{width:auto;justify-self:start;min-width:min(220px,100%);max-width:100%;padding-inline:24px}
.account-form-main input,.account-form-main select,.account-form-main textarea{min-width:0;max-width:100%}
.account-form-main .preference-options{flex-wrap:wrap}
.account-form-art{padding:36px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;background:var(--soft);color:var(--accent-strong);min-width:0}
.account-form-illustration{width:240px;height:240px;max-width:100%;display:grid;place-items:center;position:relative;isolation:isolate}
.account-art-orbit{position:absolute;inset:12px;border:1px dashed currentColor;border-radius:50%;opacity:.25}
.account-art-icon{display:grid;place-items:center;width:150px;height:150px;border-radius:38px;background:var(--surface);box-shadow:0 12px 28px #00000008;transform:rotate(-7deg)}
.account-art-icon svg{width:80px;height:80px;transform:rotate(7deg);stroke-width:1.4}
.account-art-spark{position:absolute;right:15px;top:30px;background:var(--surface);border-radius:18px;padding:12px;display:grid;place-items:center;box-shadow:0 8px 20px #00000006}
.account-art-spark svg{width:28px;height:28px}
.account-form-art h3{color:var(--text);font-size:21px;line-height:1.3;margin:20px 0 12px;max-width:300px}
.account-form-art p{color:var(--muted);font-size:14px;line-height:1.7;max-width:300px;margin:0}
@media(max-width:700px){
 .account-form-layout{grid-template-columns:1fr}
 .account-form-layout>.account-form-main{padding:24px}
 .account-form-art{padding:22px;display:grid;grid-template-columns:72px minmax(0,1fr);gap:0 16px;text-align:left}
 .account-form-illustration{width:72px;height:84px;grid-row:1/3}
 .account-art-orbit,.account-art-spark{display:none}
 .account-art-icon{width:64px;height:64px;border-radius:18px}
 .account-art-icon svg{width:36px;height:36px}
 .account-form-art h3{font-size:16px;margin:0 0 5px}
 .account-form-art p{font-size:12px;line-height:1.5}
}

.account-form-layout>#address-form{border:0;border-radius:0;padding:clamp(24px,3.5vw,42px)}
@media(max-width:700px){.account-form-layout>#address-form{padding:24px}}

/* Keep the native picker accessible without displaying browser file controls. */
.upload-zone{position:relative}
.upload-zone input[type=file]{position:absolute;width:1px;height:1px;max-width:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.document-upload .upload-previews{grid-template-columns:minmax(0,1fr);width:100%;min-width:0}
.document-upload.has-file{padding:12px;border-style:solid;background:var(--soft)}
.document-upload .upload-preview{border:0;background:var(--surface)}
.document-upload .upload-preview img{display:block;height:260px;object-fit:contain;border-radius:10px}
.document-upload .upload-preview iframe{display:block;height:340px;border-radius:10px}
.document-upload .upload-preview p{margin:12px;line-height:1.5}
.document-upload .upload-preview button{font-size:13px;padding:10px 14px}
.document-upload label[hidden],.document-upload .upload-previews[hidden]{display:none}
@media(max-width:600px){.document-upload .upload-preview img{height:210px}}

.upload-zone .upload-guidance{max-width:340px;font-size:13px;line-height:1.6;margin:4px 0}

.provider-dashboard{display:grid;gap:28px}
.provider-dashboard-hero{display:grid;grid-template-columns:minmax(0,1fr) 180px;align-items:center;gap:32px;padding:36px;border:1px solid var(--border);border-radius:24px;background:var(--soft)}
.provider-dashboard-hero h2{font-size:clamp(25px,3vw,36px);max-width:620px;margin-bottom:16px}
.provider-dashboard-hero p{color:var(--muted);max-width:610px;margin-bottom:24px}
.provider-dashboard-emblem{width:160px;height:160px;display:grid;place-items:center;border-radius:50%;background:var(--surface);color:var(--accent-strong)}
.provider-dashboard-emblem svg{width:80px;height:80px;stroke-width:1.4}
.provider-dashboard-note{display:flex;gap:16px;border:1px solid var(--border);border-radius:18px;padding:24px}
.provider-dashboard-note>span{color:var(--accent-strong)}
.provider-dashboard-note svg{width:26px;height:26px}
.provider-dashboard-note h3{margin:0 0 8px;font-size:17px}
.provider-dashboard-note p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;color:var(--muted)}
.provider-dashboard-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.provider-dashboard-stats>div{border:1px solid var(--border);border-radius:18px;padding:24px;display:flex;flex-direction:column;gap:12px;min-width:0}
.provider-dashboard-stats span,.provider-dashboard-stats small{color:var(--muted)}
.provider-dashboard-stats strong{font-size:32px;line-height:1.25}
.provider-dashboard-stats .provider-stat-status{font-size:22px}
.provider-dashboard-checklist h3{margin:0 0 8px;font-size:23px}
.provider-dashboard-checklist header p{color:var(--muted);margin-bottom:20px}
.provider-check-row{display:flex;align-items:center;gap:16px;padding:20px;border-bottom:1px solid var(--border)}
.provider-check-row:last-child{border-bottom:0}
.provider-check-row:hover{background:var(--soft)}
.provider-check-icon{display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;border-radius:12px;background:var(--soft);color:var(--accent-strong)}
.provider-check-icon svg{width:23px;height:23px}
.provider-check-copy{display:flex;flex-direction:column;gap:5px;min-width:0;flex:1}
.provider-check-copy small{color:var(--muted);overflow-wrap:anywhere;line-height:1.5}
.provider-check-row>svg{width:18px;height:18px;flex-shrink:0;color:var(--muted)}
.provider-check-done{background:var(--green-bg);color:var(--green)}
.provider-dashboard-links{display:flex;gap:12px;flex-wrap:wrap}
@media(max-width:650px){
 .provider-dashboard{gap:22px}
 .provider-dashboard-hero{grid-template-columns:1fr;padding:24px;gap:18px}
 .provider-dashboard-emblem{grid-row:1;width:64px;height:64px}
 .provider-dashboard-emblem svg{width:34px;height:34px}
 .provider-dashboard-stats{gap:8px}
 .provider-dashboard-stats>div{padding:14px 10px;gap:8px}
 .provider-dashboard-stats span,.provider-dashboard-stats small{font-size:11px;line-height:1.5}
 .provider-dashboard-stats strong{font-size:25px}
 .provider-dashboard-stats .provider-stat-status{font-size:15px}
 .provider-check-row{padding:16px 12px;gap:10px;flex-wrap:wrap}
 .provider-check-copy{flex-basis:calc(100% - 60px)}
 .provider-check-row .badge{margin-left:54px}
 .provider-check-row>svg{margin-left:auto}
 .provider-dashboard-links>a{width:100%}
}

.professional-information{display:grid;gap:26px}
.professional-identity{display:flex;align-items:center;gap:22px;padding:30px;background:var(--soft);border:1px solid var(--border);border-radius:24px}
.professional-identity>div{min-width:0}
.professional-identity .profile-avatar{background:var(--surface);color:var(--accent-strong)}
.professional-identity .small-label{margin-bottom:10px}
.professional-identity h2{font-size:clamp(24px,3vw,34px);overflow-wrap:anywhere;margin:0 0 14px}
.professional-review{display:flex;align-items:flex-start;gap:18px;padding:24px;border:1px solid var(--border);border-radius:18px}
.professional-review>span{display:grid;place-items:center;padding:12px;border-radius:12px;background:var(--soft);color:var(--accent-strong)}
.professional-review>span svg{width:26px;height:26px}
.professional-review>div{min-width:0;flex:1}
.professional-information h3{font-size:19px;margin:0 0 10px}
.professional-review p{color:var(--muted);margin:0;line-height:1.7}
.professional-review-note{margin-top:18px;padding-top:18px;border-top:1px solid var(--border)}
.professional-review-note p,.professional-description p{white-space:pre-wrap;overflow-wrap:anywhere}
.professional-review .primary{margin-top:18px}
.professional-description{padding:24px;border:1px solid var(--border);border-radius:18px}
.professional-description p{color:var(--muted);margin:0;line-height:1.8}
.professional-files-heading p{color:var(--muted);font-size:14px;margin-bottom:20px}
.professional-files{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.professional-photo-card{border:1px solid var(--border);border-radius:20px;overflow:hidden;min-width:0;background:var(--surface)}
.professional-photo-card header{padding:22px}
.professional-photo-card header p{font-size:13px;color:var(--muted);margin:0;overflow-wrap:anywhere}
.professional-photo-preview{height:260px;margin:0 20px;background:var(--bg);border-radius:14px;overflow:hidden;display:grid;place-items:center}
.professional-photo-preview img{display:block;width:100%;height:100%;object-fit:contain}
.professional-file-placeholder{display:grid;justify-items:center;gap:14px;text-align:center;color:var(--muted);padding:20px;font-size:13px}
.professional-file-placeholder svg{width:48px;height:48px;color:var(--accent-strong)}
.professional-photo-card footer{padding:20px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.professional-photo-card footer>span{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--muted)}
.professional-photo-card footer>span svg{width:15px;height:15px}
.professional-photo-card footer .secondary{font-size:13px;padding:10px 14px}
.professional-photo-card footer small{color:var(--muted);line-height:1.6}
@media(max-width:650px){
 .professional-identity{padding:22px;gap:14px}
 .professional-identity .profile-avatar{width:56px;height:56px;font-size:22px}
 .professional-identity .small-label{font-size:9px;letter-spacing:1px}
 .professional-review{padding:18px;gap:12px}
 .professional-review>span{padding:9px}
 .professional-files{grid-template-columns:1fr}
 .professional-photo-preview{height:220px}
 .professional-description{padding:20px}
}

/* Structured administrative provider review. */
#people-editor{width:min(980px,calc(100% - 32px));max-width:980px;height:fit-content;block-size:fit-content;min-height:0;max-height:calc(100dvh - 32px);inset:0;margin:auto;border-radius:22px;overflow:auto}
#people-editor .review-modal-header{position:sticky;top:0;z-index:2;background:var(--surface);display:flex;justify-content:space-between;align-items:center;gap:16px;padding:22px 28px}
#people-editor .review-modal-header h2{margin:0;font-size:24px;overflow-wrap:anywhere}
#people-editor .review-modal-header .small-label{margin:0 0 8px}
#people-editor .modal-body{padding:24px 28px;flex:none}
.review-section-heading{display:flex;justify-content:space-between;gap:18px;align-items:center;margin-bottom:22px}
.review-section-heading h3{margin:0 0 10px;font-size:22px}
.review-section{padding:22px;border:1px solid var(--border);border-radius:18px;margin-bottom:20px;background:var(--surface)}
.review-section h3{margin:0 0 16px;font-size:19px}
.review-section h4{margin:0 0 10px;font-size:15px}
.review-data{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 28px;margin:0}
.review-data dt{color:var(--muted);font-size:12px;margin-bottom:6px}
.review-data dd{margin:0;font-weight:600;overflow-wrap:anywhere;line-height:1.6}
.review-bio{border-top:1px solid var(--border);padding-top:18px;margin-top:20px}
.review-bio p{color:var(--muted);white-space:pre-wrap;overflow-wrap:anywhere;margin:0}
.review-photos,.review-contact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.review-photo{min-width:0;padding:14px;border-radius:14px;background:var(--bg)}
.review-photo-open{display:block;width:100%;padding:0;border:1px solid var(--border);border-radius:12px;overflow:hidden;background:var(--surface);text-align:center}
.review-photo-open img{display:block;width:100%;height:230px;object-fit:contain}
.review-photo-open>span{display:flex;justify-content:center;align-items:center;gap:8px;padding:12px;background:var(--soft);color:var(--accent-strong);font-weight:600;font-size:13px}
.review-photo-open svg{width:18px;height:18px}
.review-photo>.quiet{display:inline-block;font-size:12px;margin-top:8px}
.review-photo-empty{height:274px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:14px;color:var(--muted)}
.review-photo-empty svg{width:48px;height:48px}
#people-editor .review-section form{display:grid;gap:14px}
#people-editor .review-section label{margin:0}
#people-editor .review-section .field-help{margin:0 0 14px}
#people-editor .review-section form>.secondary,#people-editor .review-section form>.primary{justify-self:start}
#people-account{margin-top:24px;border-top:1px solid var(--border);padding-top:20px}
.review-verification{border:1px solid var(--border);border-radius:14px;padding:18px;min-width:0}
.review-verification header{display:flex;gap:12px;align-items:center}
.review-verification header>div{min-width:0}
.review-verification header p{font-size:13px;margin:0;color:var(--muted);overflow-wrap:anywhere}
.review-verification .service-icon{width:40px;height:40px;flex-shrink:0}
.review-verification .badge{justify-self:start}
.admin-photo-viewer{width:calc(100vw - 24px);max-width:none;height:calc(100dvh - 24px);max-height:none;inset:0;margin:auto;border-radius:16px;overflow:hidden;background:var(--surface);padding:0}
.admin-photo-viewer[open]{display:flex;flex-direction:column}
.admin-photo-viewer::backdrop{background:#07131bec}
.admin-photo-viewer header{display:flex;align-items:center;gap:16px;padding:18px 22px;border-bottom:1px solid var(--border);flex-shrink:0}
.admin-photo-viewer h2{font-size:20px;margin:0 auto 0 0}
.admin-photo-stage{flex:1;min-height:0;display:grid;place-items:center;padding:16px;background:var(--bg)}
.admin-photo-stage img{width:100%;height:100%;min-height:0;object-fit:contain}
@media(max-width:650px){
 #people-editor .modal-body{padding:16px}
 #people-editor .review-modal-header{padding:18px}
 .review-section{padding:16px}
 .review-section-heading{align-items:flex-start;flex-direction:column}
 .review-photos,.review-contact-grid,.review-data{grid-template-columns:1fr}
 .review-photo-open img{height:210px}
 .admin-photo-viewer header{gap:10px;padding:12px}
 .admin-photo-viewer header .secondary{font-size:12px;padding:9px}
 .admin-photo-viewer h2{font-size:16px}
}

.stored-upload{margin-bottom:18px;display:grid;justify-items:center;gap:10px;font-size:13px}
.stored-upload img{display:block;width:100%;max-height:180px;object-fit:contain;border-radius:12px}
.upload-zone.has-file .stored-upload{display:none}
.professional-edit-action{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.professional-edit-action p{margin:0}

/* Private provider files are fetched only after explicit user action. */
.provider-private-dialog { margin: auto; inset: 0; height: auto; min-height: 0; width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 28px; border: 1px solid var(--border); border-radius: 24px; background: var(--surface, white); color: var(--text, #193b49); overflow: auto; }
.provider-private-dialog::backdrop { background: #122c3980; backdrop-filter: blur(4px); }
.provider-private-dialog h2 { margin-top: 0; }
.provider-file-modal { width: min(960px, calc(100vw - 32px)); }
.provider-file-modal header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.provider-file-modal header svg { width: 24px; height: 24px; }
.private-file-content { display: grid; place-items: center; min-height: 180px; }
.private-file-content img { max-width: 100%; max-height: 70dvh; object-fit: contain; }
.private-file-content iframe { width: 100%; height: 65dvh; border: 0; }
.provider-edit-confirm .professional-edit-action { flex-wrap: wrap; margin-bottom: 0; }

.application-details-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.application-details-heading h3 { margin: 0; min-width: 0; }
.application-details-heading button { flex-shrink: 0; margin-left: auto; }
.application-details-heading button svg { width: 20px; height: 20px; }
@media (max-width: 480px) { .application-details-heading { gap: 10px; } .application-details-heading button { padding: 10px; font-size: 12px; gap: 6px; } }

/* Native dialogs with inset:0 need an intrinsic height to avoid stretching. */
dialog.provider-edit-confirm { height: fit-content; min-height: 0; width: min(480px, calc(100vw - 32px)); padding: 24px; }
.provider-edit-confirm h2 { font-size: 23px; margin-bottom: 12px; }
.provider-edit-confirm p { margin-bottom: 20px; }
.provider-edit-confirm .professional-edit-action { margin: 0; justify-content: flex-end; gap: 10px; }
.provider-edit-confirm button { padding: 11px 16px; }
#provider-application .provider-form-actions { display: flex; justify-content: flex-end; align-items: center; gap: 12px; border-top: 1px solid var(--border); padding-top: 22px; margin-top: 8px; }
#provider-application .provider-form-actions button { width: auto; min-height: 44px; margin: 0; }
#provider-application .provider-form-actions svg { width: 20px; height: 20px; }
@media (max-width: 480px) { #provider-application .provider-form-actions { flex-wrap: wrap; } #provider-application .provider-form-actions button { flex: 1; padding: 12px; } .provider-edit-confirm .professional-edit-action button { flex: 1; } }

/* Paired provider actions share equal columns and a consistent height. */
#provider-application .provider-form-actions,
.provider-edit-confirm .professional-edit-action { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 12px; }
#provider-application .provider-form-actions button,
.provider-edit-confirm .professional-edit-action button { width: 100%; min-width: 0; min-height: 48px; height: 100%; margin: 0; padding: 12px; box-sizing: border-box; }

/* Textareas use the same regular text weight as other form controls. */
textarea { font-weight: 400; }

/* Keep uploaded images centered regardless of their aspect ratio. */
.document-upload.has-file { display: grid; place-items: center; }
.document-upload .upload-preview { text-align: center; min-width: 0; width: 100%; }
.document-upload .upload-preview img { width: 100%; max-width: 100%; margin-inline: auto; object-fit: contain; object-position: center center; }
.provider-file-modal .private-file-content { width: 100%; justify-items: center; align-items: center; }
.provider-file-modal .private-file-content img { display: block; margin: auto; object-position: center center; }

/* Service request selectors: descriptive rows and compact modal pickers. */
.request-choice-field { display: grid; gap: 9px; }
.request-choice-field > span { font-size: 12px; font-weight: 600; }
.request-choice { display: flex; align-items: center; gap: 14px; width: 100%; padding: 16px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); text-align: left; color: var(--text); }
.request-choice:hover,.request-choice[aria-pressed=true] { background: var(--soft); border-color: var(--accent-strong); }
.request-item-icon { display: grid; place-items: center; width: 46px; height: 46px; flex: 0 0 46px; border-radius: 13px; background: var(--soft); color: var(--accent-strong); }
.request-item-icon svg { width: 25px; height: 25px; }
.request-item-copy { display: grid; gap: 5px; flex: 1; min-width: 0; }
.request-item-copy strong { font-size: 14px; line-height: 1.4; }
.request-item-copy small { color: var(--muted); font-size: 12px; font-weight: 400; line-height: 1.5; overflow-wrap: anywhere; }
.request-choice > svg { width: 18px; height: 18px; flex: 0 0 18px; color: var(--muted); }
dialog.request-picker { height: fit-content; width: min(600px, calc(100vw - 32px)); padding: 0; overflow: hidden; }
.request-picker[open] { display: flex; flex-direction: column; }
.request-picker > header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; border-bottom: 1px solid var(--border); flex-shrink: 0; }
.request-picker h2 { font-size: 23px; margin: 0; }
.request-picker .icon-button { display: grid; place-items: center; flex-shrink: 0; }
.request-picker .icon-button svg { width: 20px; height: 20px; }
.request-picker-body { display: grid; gap: 12px; overflow-y: auto; min-height: 0; padding: 22px 24px; overscroll-behavior: contain; }
.request-add-address { width: 100%; }
.request-add-address svg { width: 20px; height: 20px; }
.request-new-address .account-fields { margin: 0; padding: 0; border: 0; display: grid; gap: 16px; min-width: 0; }
.request-address-labels { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.request-address-labels label { position: relative; cursor: pointer; }
.request-address-labels input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.request-address-labels span { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 12px 8px; border: 1px solid var(--border); border-radius: 10px; margin: 0; }
.request-address-labels svg { width: 19px; height: 19px; flex-shrink: 0; }
.request-address-labels input:checked + span { background: var(--soft); border-color: var(--accent-strong); color: var(--accent-strong); }
.request-address-labels input:focus-visible + span { outline: 2px solid var(--accent-strong); outline-offset: 2px; }
.request-address-results { display: grid; gap: 8px; max-height: 240px; overflow-y: auto; }
.request-address-results:empty { display: none; }
.request-address-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.request-address-actions button { min-height: 48px; }
@media(max-width:480px) { .request-picker > header,.request-picker-body { padding: 18px; } .request-choice { padding: 12px; gap: 10px; } .request-address-labels span { font-size: 11px; } }

.file-status-pending { background: #fff1d2; color: #805300; }
.file-status-rejected { background: #fce8e8; color: #983b3b; }
.file-status-approved { background: var(--green-bg); color: var(--green); }
.review-photo .review-verification { margin-top: 16px; box-shadow: none; }
.review-photo .review-verification textarea { font-weight: 400; }
html[data-theme=dark] .file-status-pending { background: #46391c; color: #ffdc91; }
html[data-theme=dark] .file-status-rejected { background: #482a2a; color: #ffb5b5; }

/* Stripe settings, billing history and provider memberships. */
dialog.billing-dialog { margin: auto; inset: 0; height: fit-content; min-height: 0; width: min(680px,calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid var(--border); border-radius: 22px; background: var(--surface); color: var(--text); overflow: hidden; }
dialog.billing-dialog[open] { display: flex; flex-direction: column; }
.billing-dialog::backdrop { background: #122c3980; backdrop-filter: blur(4px); }
.billing-dialog > header { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:22px; border-bottom:1px solid var(--border); flex-shrink:0; }
.billing-dialog h2 { font-size:24px; margin:0; }
.billing-dialog .icon-button svg { width:20px; height:20px; }
.billing-body { padding:24px; overflow-y:auto; min-height:0; }
.billing-body fieldset { min-width:0; border:0; margin:0; padding:0; display:grid; gap:16px; }
.billing-body .notice { margin:0; }
.billing-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.billing-actions button { min-height:48px; }
.billing-publish { margin-top:28px; border-top:1px solid var(--border); padding-top:22px; }
.billing-publish [data-prices] { margin-top:20px; }
.billing-filters { display:flex; flex-wrap:wrap; gap:14px; align-items:flex-end; margin-bottom:20px; }
.billing-filters label { flex:1; min-width:140px; }
.billing-history-dialog { width:min(1200px,calc(100vw - 32px))!important; }
.billing-results td { white-space:normal; min-width:140px; vertical-align:top; line-height:1.7; }
.billing-reference { display:inline-block; max-width:260px; overflow-wrap:anywhere; }
.billing-pagination { display:flex; justify-content:center; gap:18px; align-items:center; margin-top:18px; }
.billing-empty { text-align:center; padding:35px 20px; border:1px solid var(--border); border-radius:18px; }
.billing-empty>svg { width:54px; height:54px; color:var(--accent-strong); }
.billing-user-link { margin-bottom:20px; }
.billing-user-link svg { width:22px; height:22px; }
.billing-plan { padding:28px; border:1px solid var(--border); border-radius:22px; background:var(--soft); }
.billing-plan h2 { margin:18px 0; }
.billing-offers { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:20px; margin-top:24px; }
.billing-offer { border:1px solid var(--border); border-radius:20px; padding:24px; display:grid; gap:14px; }
.billing-offer h3,.billing-offer p { margin:0; }
@media(max-width:480px) { .billing-actions { grid-template-columns:1fr; } .billing-body { padding:18px; } }

/* Stripe setup: one decision per section, with saved progress per environment. */
.stripe-setup .billing-body { display:grid; grid-auto-rows:max-content; align-content:start; gap:18px; }
.stripe-intro,.stripe-current { margin:0; color:var(--muted); line-height:1.6; }
.stripe-setup .stripe-environments { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.stripe-environments legend { margin-bottom:12px; font-weight:600; }
.stripe-environments label { display:flex; align-items:center; gap:12px; padding:16px; border:1px solid var(--border); border-radius:14px; cursor:pointer; }
.stripe-environments label:has(input:checked) { background:var(--soft); border-color:var(--accent-strong); }
.stripe-environments input { width:18px; height:18px; flex-shrink:0; margin:0; }
.stripe-environments span { display:grid; gap:4px; }
.stripe-environments small { color:var(--muted); font-weight:400; }
.stripe-progress { display:flex; gap:8px; list-style:none; padding:0; margin:0; }
.stripe-progress li { flex:1; padding:10px 6px; border-radius:10px; background:var(--soft); color:var(--muted); text-align:center; font-size:13px; }
.stripe-progress .is-complete { color:var(--accent-strong); font-weight:600; }
.stripe-step { border:1px solid var(--border); border-radius:16px; overflow:hidden; }
.stripe-step>summary { display:flex; align-items:center; gap:12px; padding:18px; cursor:pointer; list-style:none; }
.stripe-step>summary::-webkit-details-marker { display:none; }
.stripe-step>summary::after { content:'+'; margin-left:auto; font-size:22px; }
.stripe-step[open]>summary::after { content:'−'; }
.stripe-step>summary>span:last-of-type:not(.stripe-step-number) { color:var(--muted); font-size:12px; }
.stripe-step-number { width:30px; height:30px; display:grid; place-items:center; flex-shrink:0; border-radius:50%; background:var(--soft); color:var(--accent-strong); }
.stripe-step-body { display:grid; gap:16px; padding:0 18px 18px; }
.stripe-step-body p { margin:0; line-height:1.6; }
.stripe-step-body label { display:grid; gap:8px; }
.stripe-step-body small,.stripe-step-body .field-help { font-weight:400; color:var(--muted); line-height:1.5; }
.stripe-step-body button { width:100%; min-height:48px; }
.stripe-step-body input,.stripe-step-body select { min-width:0; width:100%; }
.stripe-help { padding:12px 14px; border-radius:12px; background:var(--soft); }
.stripe-help summary { cursor:pointer; font-weight:600; }
.stripe-help[open]>summary { margin-bottom:12px; }
.stripe-help p+label,.stripe-help label+p { margin-top:12px; }
.stripe-copy { display:flex; align-items:center; gap:8px; }
.stripe-copy button { width:auto; flex-shrink:0; }
.stripe-price-preview { padding:12px; border-radius:10px; background:var(--soft); }
.stripe-price-list { list-style:none; padding:0; margin:0; display:grid; gap:10px; }
.stripe-price-list li { display:grid; gap:4px; padding:12px; border:1px solid var(--border); border-radius:10px; }
.stripe-price-list span { font-size:13px; color:var(--muted); }
@media(max-width:480px) {
 .stripe-setup .stripe-environments { gap:8px; }
 .stripe-environments label { padding:12px 8px; gap:8px; }
 .stripe-step>summary { flex-wrap:wrap; padding:14px; gap:8px; }
 .stripe-step>summary>strong { font-size:14px; }
 .stripe-step>summary>span:last-of-type:not(.stripe-step-number) { display:none; }
 .stripe-step-body { padding:0 14px 14px; }
 .stripe-progress li { font-size:11px; }
}

.people-detail-heading { display:flex; justify-content:space-between; align-items:center; gap:16px; margin-bottom:24px; }
.people-detail-heading a { display:inline-flex; align-items:center; gap:8px; }
.people-detail-heading svg { width:20px; height:20px; }
.people-detail-hero { display:flex; gap:24px; align-items:center; padding:28px; border:1px solid var(--border); border-radius:20px; background:var(--surface); }
.people-detail-hero .avatar { width:80px; height:80px; flex-shrink:0; font-size:28px; }
.people-detail-hero h2 { margin:0 0 10px; }
.people-detail-hero p { margin:0 0 12px; overflow-wrap:anywhere; }
.people-detail-stats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin:24px 0; }
.people-detail-stats>div { display:grid; gap:8px; padding:22px; background:var(--soft); border-radius:14px; }
.people-detail-stats strong { font-size:22px; overflow-wrap:anywhere; }
.people-detail-stats span { color:var(--muted); }
.people-detail-checks { display:flex; gap:10px; flex-wrap:wrap; margin:16px 0; }
.people-detail-tabbed { margin-bottom:20px; min-width:0; }
.people-detail-tabs { display:flex; align-items:stretch; gap:4px; overflow-x:auto; position:relative; z-index:1; }
.people-detail-tabs [role=tab] { flex:0 0 auto; min-height:48px; padding:14px 22px; border:1px solid var(--border); border-radius:10px 10px 0 0; background:var(--bg); color:var(--muted); font:inherit; font-weight:600; white-space:nowrap; }
.people-detail-tabs [role=tab]:hover { color:var(--text); background:var(--soft); }
.people-detail-tabs [aria-selected=true],.people-detail-tabs [aria-selected=true]:hover { border-bottom-color:var(--surface); background:var(--surface); color:var(--text); }
.people-detail-tabs [role=tab]:focus-visible { outline-offset:-4px; }
.people-detail-tabbed>[role=tabpanel] { position:relative; margin-top:-1px; min-height:180px; padding:24px; border:1px solid var(--border); border-radius:0 14px 14px 14px; background:var(--surface); }
.people-activity-list { display:grid; gap:14px; }
.people-activity-list article { border:1px solid var(--border); border-radius:14px; padding:20px; overflow-wrap:anywhere; }
.people-activity-list h4 { margin:0 0 12px; }
.people-activity-list p { margin:10px 0; white-space:pre-wrap; }
.people-activity-list small { color:var(--muted); }
#people-results td:last-child { white-space:nowrap; }
.people-row-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; min-width:240px; }
.people-row-actions > .secondary { display:inline-flex; align-items:center; justify-content:center; width:100%; min-height:44px; margin:0; padding:10px 16px; font-size:13px; font-weight:600; line-height:20px; border:1px solid var(--border); border-radius:10px; background:var(--surface); color:var(--text); text-align:center; white-space:nowrap; }
.people-row-actions > .secondary:hover { background:var(--soft); }
@media(max-width:700px) {
 .people-detail-heading { align-items:stretch; flex-direction:column; }
 .people-detail-hero { padding:20px; gap:16px; }
 .people-detail-hero h2 { font-size:23px; }
 .people-detail-hero .avatar { width:60px; height:60px; font-size:22px; }
 .people-detail-stats { grid-template-columns:1fr; gap:10px; }
 .people-detail-stats>div { padding:16px; }
 .people-detail-tabs [role=tab] { padding:12px 16px; }
 .people-detail-tabbed>[role=tabpanel] { padding:16px; }
}

.provider-category-picker { margin-bottom:20px; }
.provider-category-options { display:grid; gap:10px; }
.provider-category-choice { display:flex!important; align-items:center; gap:12px; border:1px solid var(--border); border-radius:14px; padding:14px; cursor:pointer; }
.provider-category-choice.is-selected { background:var(--soft); border-color:var(--accent-strong); }
.provider-category-choice>input { width:20px!important; height:20px; flex-shrink:0; margin:0; accent-color:var(--accent-strong); }
.provider-category-choice>span:last-child { display:grid; gap:5px; }
.provider-category-choice .service-icon { width:40px; height:40px; flex-shrink:0; margin:0; }
.provider-category-choice small { color:var(--muted); font-weight:400; line-height:1.5; }
.provider-category-choice:has(input:disabled) { opacity:.6; cursor:default; }
.provider-category-modal { width:min(620px,calc(100vw - 32px)); height:auto; min-height:0; max-height:calc(100dvh - 32px); margin:auto; padding:24px; }
.provider-category-modal .provider-form-actions { position:static; }
.provider-category-summary { margin-top:24px; }
.plan-benefits { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin:24px 0 0; }
.plan-benefits>div { padding:14px; background:var(--surface); border-radius:12px; }
.plan-benefits dt { color:var(--muted); font-size:13px; }
.plan-benefits dd { margin:8px 0 0; font-weight:600; }

.profile-identity-copy { min-width:0; flex:1; }
.profile-validation-tag { display:inline-flex; align-items:center; gap:10px; padding:12px 16px; border:1px solid var(--border); border-radius:999px; background:var(--soft); color:var(--accent-strong); font-size:14px; font-weight:600; margin-left:auto; flex-shrink:0; }
.profile-validation-tag svg { width:20px; height:20px; }
.profile-validation-tag.is-verified { background:var(--green-bg); color:var(--green); }
.profile-membership-card { display:flex; align-items:center; gap:24px; padding:28px; border:1px solid var(--border); border-radius:22px; margin:28px 0; background:var(--soft); }
.profile-membership-card>div { flex:1; min-width:0; }
.profile-membership-card>.service-icon { margin:0; flex-shrink:0; }
.profile-membership-card>svg { width:24px; height:24px; flex-shrink:0; color:var(--accent-strong); }
.profile-membership-card h3 { margin:0 0 10px; font-size:28px; }
.profile-membership-card p { margin:0 0 14px; color:var(--muted); }
.profile-membership-card .small-label { margin-bottom:10px; }
.membership-link { font-weight:600; color:var(--accent-strong); }
.membership-current-benefits { margin-top:28px; padding-top:24px; border-top:1px solid var(--border); }
.membership-benefits { list-style:none; padding:0; margin:20px 0 0; display:grid; gap:20px; }
.membership-benefits li { display:flex; align-items:flex-start; gap:12px; }
.membership-benefits li>svg { width:20px; height:20px; flex-shrink:0; color:var(--accent-strong); margin-top:2px; }
.membership-benefits p { margin:6px 0 0; color:var(--muted); line-height:1.6; }
.membership-comparison { margin:36px 0; }
.membership-comparison>header h2 { margin:0 0 14px; }
.membership-comparison>header p { color:var(--muted); }
.membership-comparison-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.membership-comparison-card { padding:26px; border:1px solid var(--border); border-radius:22px; background:var(--surface); }
.membership-comparison-card.is-premium { border:2px solid var(--accent-strong); background:var(--soft); }
.membership-card-heading { display:flex; align-items:center; flex-wrap:wrap; gap:12px; }
.membership-card-heading h3 { margin:0; font-size:24px; }
.membership-card-heading .service-icon { margin:0; }
.membership-upgrade { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-top:20px; padding:24px; border:1px solid var(--border); border-radius:18px; }
.membership-upgrade p { margin:0; }
.membership-upgrade button { flex-shrink:0; min-height:48px; }
@media(max-width:700px) {
 .profile-identity.is-provider { flex-wrap:wrap; }
 .profile-validation-tag { margin-left:0; }
 .profile-membership-card { padding:20px; gap:14px; align-items:flex-start; }
 .membership-comparison-grid { grid-template-columns:1fr; }
 .membership-upgrade { flex-direction:column; align-items:stretch; }
 .membership-comparison-card { padding:20px; }
}

/* Compact professional files and contact verification summary. */
.professional-photo-card { display:flex; flex-direction:column; border-radius:16px; }
.professional-photo-card header { display:grid; grid-template-columns:48px minmax(0,1fr); align-items:center; gap:6px 14px; padding:20px 20px 14px; }
.professional-photo-card header .service-icon { grid-row:1/3; width:48px; height:48px; border-radius:14px; margin:0; background:var(--soft); color:var(--accent-strong); }
.professional-photo-card header .service-icon svg { width:25px; height:25px; }
.professional-photo-card header h3 { margin:0; font-size:16px; line-height:1.4; }
.professional-photo-card header .badge { justify-self:start; }
.professional-photo-card header p { grid-column:2; margin-top:6px; }
.professional-photo-card footer { padding:0 20px 20px; margin-top:auto; }
.professional-photo-card footer .secondary { width:100%; min-height:42px; }
.professional-contact { margin-top:26px; }
.professional-contact h3 { margin:0 0 18px; font-size:19px; }
.professional-contact-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.professional-contact-row { display:flex; align-items:center; gap:12px; min-width:0; padding:16px; border:1px solid var(--border); border-radius:12px; }
.professional-contact-row:hover { background:var(--soft); }
.professional-contact-icon { display:grid; place-items:center; width:40px; height:40px; flex-shrink:0; border-radius:12px; color:var(--accent-strong); background:var(--soft); }
.professional-contact-icon svg { width:22px; height:22px; }
.professional-contact-copy { display:grid; gap:5px; min-width:0; flex:1; }
.professional-contact-copy strong { font-size:14px; }
.professional-contact-copy>span { color:var(--muted); font-size:12px; overflow-wrap:anywhere; }
.professional-contact-row>svg { width:18px; height:18px; flex-shrink:0; color:var(--muted); }
.professional-contact-row .badge { flex-shrink:0; }
@media(max-width:800px) {
 .professional-contact-list { grid-template-columns:1fr; }
}
@media(max-width:420px) {
 .professional-contact-row { flex-wrap:wrap; }
 .professional-contact-row .badge { margin-left:52px; }
}

.application-selected-categories { display:flex; flex-wrap:wrap; gap:10px; }
.application-category-chip { display:inline-flex; align-items:center; gap:8px; padding:10px 14px; border-radius:10px; background:var(--soft); color:var(--text); font-size:14px; }
.application-category-chip svg { width:20px; height:20px; color:var(--accent-strong); }
.application-category-scroll { max-height:48dvh; overflow-y:auto; padding:4px; margin:16px 0; overscroll-behavior:contain; }
.provider-category-modal .category-search { display:grid; gap:8px; }
.provider-category-modal .category-search input { width:100%; }

.provider-category-modal { width:min(500px,calc(100vw - 32px)); padding:20px; overflow:hidden; }
.provider-category-modal>form { display:flex; flex-direction:column; min-height:0; max-height:calc(100dvh - 76px); margin:0; }
.provider-category-modal [data-picker] { display:flex; flex-direction:column; min-height:0; overflow:hidden; }
.provider-category-modal [data-picker]>h3,
.provider-category-modal [data-picker]>p { flex-shrink:0; }
.provider-category-modal [data-picker]>[data-category-count] { margin:0 0 14px; }
.provider-category-modal .provider-category-options { min-height:0; overflow-y:auto; overscroll-behavior:contain; scrollbar-gutter:stable; padding:4px; }
.provider-category-modal .provider-form-actions,
.provider-category-modal [data-error] { flex-shrink:0; }
.provider-category-modal .provider-form-actions { background:var(--surface); }
.provider-category-modal .provider-form-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin-top:16px; padding-top:16px; border-top:1px solid var(--border); }
.provider-category-modal .provider-form-actions button { width:100%; min-width:0; min-height:44px; margin:0; padding:12px 10px; justify-content:center; }
.provider-category-modal .application-category-scroll { max-height:36dvh; }
.provider-category-modal .provider-category-options { grid-template-columns:1fr; }
.provider-category-modal [data-picker]>h3 { margin-bottom:8px; font-size:18px; }
.provider-category-modal [data-picker]>p:not(.field-help) { display:none; }
.provider-category-picker>h3 { margin:0; font-size:16px; }
.provider-category-picker>.field-help { margin:8px 0 12px; }
.application-category-select { width:100%; justify-content:flex-start; margin-bottom:12px; }
.application-category-select>svg:last-child { margin-left:auto; }
.application-category-select svg { width:20px; height:20px; }
.application-category-dropdown { border:1px solid var(--border); border-radius:12px; background:var(--surface); }
.application-category-dropdown>summary { display:flex; align-items:center; gap:12px; padding:12px; cursor:pointer; list-style:none; }
.application-category-dropdown>summary::-webkit-details-marker { display:none; }
.application-category-dropdown>summary>span:nth-child(2) { flex:1; }
.application-category-dropdown>summary>svg { width:20px; height:20px; }
.application-category-dropdown .service-icon { width:36px; height:36px; margin:0; border-radius:10px; flex-shrink:0; background:var(--soft); color:var(--accent-strong); }
.application-category-dropdown .service-icon svg { width:20px; height:20px; }
.application-category-dropdown-body { border-top:1px solid var(--border); padding:12px; }
.application-category-single-options { display:grid; gap:8px; max-height:240px; overflow-y:auto; margin-top:12px; }
.application-category-dropdown summary:focus-visible { outline:2px solid var(--accent-strong); outline-offset:2px; border-radius:12px; }

/* Keep long admin menus and Stripe setup reachable on short viewports. */
.admin-page .sidebar { min-height:0; overflow:hidden; }
.admin-page .sidebar>.brand,
.admin-page .sidebar>.sidebar-caption,
.admin-page .sidebar>.sidebar-bottom { flex-shrink:0; }
.admin-page .sidebar>nav { flex:1 1 auto; min-height:0; overflow-y:auto; overscroll-behavior:contain; scrollbar-gutter:stable; padding-bottom:8px; }
.admin-page .sidebar>nav>button { flex-shrink:0; }
.billing-dialog>.billing-body { flex:1 1 auto; min-height:0; overflow-y:auto; overscroll-behavior:contain; scrollbar-gutter:stable; }
@media(max-height:600px) {
 .admin-page .sidebar>.brand { margin-bottom:20px; }
 .admin-page .sidebar>.sidebar-bottom { padding-top:12px; }
 .billing-dialog>header { padding:14px 20px; }
}

/* Provider plan: current membership, comparison and direct checkout. */
.membership-current-heading { display:flex; justify-content:space-between; align-items:center; gap:20px; }
.membership-current-heading h2 { margin:8px 0; }
.membership-current-heading .service-icon { margin:0; flex-shrink:0; }
.membership-current-actions { display:flex; gap:12px; flex-wrap:wrap; align-items:center; }
.membership-table-wrap { overflow-x:auto; border:1px solid var(--border); border-radius:18px; }
.membership-table { width:100%; border-collapse:collapse; background:var(--surface); table-layout:fixed; white-space:normal; }
.membership-table th,.membership-table td { padding:20px; border-bottom:1px solid var(--border); text-align:center; line-height:1.5; white-space:normal; overflow-wrap:break-word; vertical-align:middle; }
.membership-table th:first-child { width:40%; text-align:left; }
.membership-table tbody th { font-weight:500; }
.membership-table thead th { font-size:18px; }
.membership-table small { display:block; font-size:12px; font-weight:500; margin-top:4px; color:var(--muted); }
.membership-table .is-premium { background:var(--soft); }
.membership-table tbody tr:last-child>* { border-bottom:0; }
.membership-price { font-size:30px; font-weight:700; }
.membership-price span { font-size:16px; font-weight:400; color:var(--muted); }
.membership-upgrade .muted { margin-top:8px; font-size:14px; }
.membership-upgrade select { margin-top:8px; }
@media(max-width:600px) {
 .membership-table th,.membership-table td { padding:14px 10px; font-size:13px; }
 .membership-table thead th { font-size:15px; }
 .membership-upgrade button { width:100%; }
}

/* Plan B: comparison beside the Premium subscription summary. */
.membership-options { display:grid; grid-template-columns:minmax(0,2fr) minmax(260px,1fr); gap:24px; align-items:stretch; }
.membership-options .membership-table-wrap { min-width:0; }
.membership-options .membership-table { height:100%; }
.membership-options .membership-table thead { background:var(--soft); }
.membership-premium-summary { min-width:0; padding:28px; border-radius:18px; background:var(--soft); display:flex; flex-direction:column; align-items:stretch; gap:18px; }
.membership-premium-summary h3 { display:flex; align-items:center; gap:12px; margin:0; font-size:28px; }
.membership-premium-summary h3 svg { width:30px; height:30px; flex-shrink:0; }
.membership-premium-summary p { margin:0; line-height:1.5; }
.membership-premium-summary button { width:100%; min-height:48px; margin-top:auto; white-space:normal; padding:14px; line-height:1.4; }
.membership-premium-summary small { text-align:center; color:var(--muted); }
.membership-premium-summary select { width:100%; min-width:0; }
@media(max-width:760px) {
 .membership-options { grid-template-columns:minmax(0,1fr); gap:20px; }
 .membership-premium-summary { padding:22px; }
 .membership-layout-b>header h2 { font-size:24px; }
 .membership-options .membership-table th,.membership-options .membership-table td { padding:14px 8px; }
}

/* Compact current-plan strip matching proposal B. */
.membership-current-banner { background:var(--soft); border-radius:18px; padding:20px 24px; }
.membership-banner-row { display:flex; align-items:center; gap:20px; }
.membership-banner-icon { display:flex; flex-shrink:0; padding-right:20px; border-right:1px solid var(--border); }
.membership-banner-icon svg { width:32px; height:32px; }
.membership-banner-copy { flex:1; min-width:0; }
.membership-banner-copy h2 { margin:0; font-size:22px; font-weight:500; line-height:1.4; }
.membership-banner-copy h2 strong { font-weight:700; }
.membership-banner-copy p { margin:4px 0 0; font-size:14px; color:var(--muted); }
.membership-banner-actions { display:flex; align-items:center; flex-wrap:wrap; justify-content:flex-end; gap:10px; }
.membership-banner-actions button { min-height:44px; padding:10px 14px; font-size:14px; }
@media(max-width:760px) {
 .membership-current-banner { padding:18px; }
 .membership-banner-row { flex-wrap:wrap; gap:14px; }
 .membership-banner-icon { padding-right:14px; }
 .membership-banner-copy h2 { font-size:18px; }
 .membership-banner-actions { width:100%; justify-content:flex-start; }
}
