/* Compact spacing with natural overflow for enlarged text and small screens. */
html body main{padding:12px 16px 24px}
body>.topbar{padding:8px 16px}
main h1,.panel h1,.account-head h1{font-size:26px;line-height:1.15;margin:0 0 10px}
main h2,.biz-body h2{font-size:20px;line-height:1.2;margin:12px 0 10px}
main h3{font-size:17px;margin:10px 0}
main .panel,main .account-shell{padding:16px;margin-top:10px}
main .auth-wrap,main .account-wrap{margin-top:0}
main .button{min-height:44px;padding:8px 14px;min-width:0;font-size:14px}
main label,#ca-fields label,.biz-body label{margin:9px 0 4px}
main input:not([type=checkbox]),main select{min-height:44px;padding:9px 10px;font-size:16px}
main .form-button{margin-top:12px}
main .sub,main .intro,main .notice,main .switch{margin-top:10px;margin-bottom:10px;line-height:1.4}
main .records,main .state-card,main .biz-box,main .support-card{padding:12px;margin-top:10px}
main .records p,main .directory-card p{margin:5px 0;line-height:1.35}
main .records h3,main .directory-card h3{margin:0 0 6px}
main .account-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px}
main .account-tile{min-height:86px;padding:12px}
main .account-tile span{margin-top:5px;font-size:12px}
main .biz-tiles{gap:7px}main .biz-tiles button{min-height:78px;padding:8px}
main .biz-body{padding:10px}main .biz-button{margin-top:8px}
main .biz-summary p{margin:4px 0}
main .biz-quick{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
main .biz-footer{margin-top:8px}
body.cx-dashboard>main{padding:6px}
.cx-header{padding:8px 12px}.cx-content{padding:12px 14px}.cx-content h1{font-size:22px;margin-bottom:10px}
.cx-upcoming{margin:10px 0;padding:10px 12px 0}.cx-appointment{margin:8px 0}.cx-actions{gap:8px}.cx-actions button{padding:10px;gap:4px}.cx-nav{padding:5px 8px}
#find-business>h1{font-size:25px;margin-bottom:4px}
#find-business>button[data-go="customer-communities"]{min-height:36px;margin:0 auto;font-size:13px}
#find-business .back{min-height:36px;padding:4px 0}
#category-choice-heading{font-size:18px;margin:10px 0}
#directory-address-fold{margin:8px 0 12px;border:1px solid var(--line);border-radius:10px;background:white}
#directory-address-fold>summary{position:relative;list-style:none;cursor:pointer;min-height:44px;padding:11px 34px;font-size:14px;font-weight:650;text-align:center;color:var(--blue)}
#directory-address-fold>summary::-webkit-details-marker{display:none}
#directory-address-fold>summary:after{content:'⌄';position:absolute;right:14px}
#directory-address-fold[open]>summary:after{content:'⌃'}
#directory-address-fold .directory-address-panel{padding:0 12px 12px;margin:0;gap:8px}
#directory-address-detail{font-size:14px}
#find-business .category-grid{gap:7px;margin-top:8px;grid-auto-rows:1fr}
#find-business .category-grid>button{min-height:48px;padding:7px;font-size:13px;line-height:1.25;border-radius:10px;text-wrap:balance}
#service-options{padding:10px;margin-top:10px;scroll-margin-top:8px}
#back-to-categories{margin:0 auto 10px;min-height:40px;padding:7px 12px;font-size:13px}
#service-heading{font-size:20px;margin:8px 0}
#directory-categories>button:last-child:nth-child(odd),#service-buttons>button:last-child:nth-child(odd){width:calc((100% - 7px)/2)}
#service-buttons>button:only-child{width:100%}
#business-results{margin-top:10px;padding:10px}
#business-results .company-results-grid{gap:7px;grid-auto-rows:auto}
#business-results .directory-card{padding:9px;margin:0;min-height:0}
#business-results .directory-card h3{font-size:15px}
#business-results .directory-card p,#business-results .directory-card a{font-size:13px}
#customer-communities .community-grid{gap:7px;margin:10px 0}
#customer-communities .community-grid button{min-height:48px;padding:6px;font-size:13px}
.hub-pager,.hub-step-nav{display:flex;align-items:center;justify-content:center;gap:10px;margin:10px 0}
.hub-pager button,.hub-step-nav button{min-height:44px;border:1px solid #bdcbe2;border-radius:9px;background:white;color:var(--blue);padding:8px 14px;font:inherit;font-size:14px;cursor:pointer}
.hub-pager button:disabled,.hub-step-nav button:disabled{opacity:.45;cursor:default}
.hub-page-count{font-size:13px;color:var(--muted);white-space:nowrap}
.hub-step-title{font-size:14px;font-weight:650;color:var(--blue);text-align:center;margin:10px 0}
[data-hub-page-hidden],.hub-step[hidden],.hub-pager[hidden],.hub-step-nav[hidden]{display:none!important}
.hub-step{min-width:0}.hub-step>:first-child{margin-top:0}
.hub-disclosure{border:1px solid var(--line);border-radius:10px;margin:12px 0;padding:0 12px}
.hub-disclosure>summary{min-height:44px;cursor:pointer;color:var(--blue);font-weight:650;padding:11px 0;text-align:center}
.hub-disclosure .profile-billing{margin-top:0;padding-top:8px;border:0}
#listing-services,#listing-communities{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}
#listing-services label,#listing-communities label{min-width:0;min-height:44px;font-size:13px;text-align:left}
#ca-form:not([hidden])~button{margin-top:10px}
@media(min-width:700px){html body main{padding:20px 24px 30px}.cx-content{padding:18px 22px}#find-business .category-grid>button{font-size:14px;min-height:52px}}
@media(max-width:340px){#listing-services,#listing-communities{grid-template-columns:1fr}main .account-grid{grid-template-columns:1fr}}
#back-to-services{display:flex;margin:10px auto}#back-to-services[hidden]{display:none}
#ca-list[hidden],#ca-add[hidden]{display:none!important}
.hub-step-nav button[hidden]{display:none!important}
.home{padding-top:10px}.brand{margin-bottom:14px}.brand img{width:135px;margin-bottom:8px}.ornament{margin-bottom:12px}.home-actions{margin-top:18px;gap:8px}.business-area{margin-top:20px;padding-top:14px}.note{margin-top:20px}
.cx-actions small,.cx-nav button span{min-height:0}
#service-address-step .address-actions{margin-top:12px;gap:8px}
.cx-actions button{min-height:88px}.cx-actions strong{min-height:28px}.cx-date{min-height:38px;width:38px;font-size:18px}.cx-appointment{gap:6px}.cx-row{gap:4px}
/* Equal customer and business entry points on the welcome screen. */
#home{max-width:760px;margin:0 auto;padding-top:12px}
#home .brand{margin-bottom:10px}#home .brand-name{font-size:24px;letter-spacing:0;margin-bottom:0}
#home .ornament{margin-bottom:14px}
#home>h1{font-size:clamp(25px,4vw,36px);max-width:560px;margin:0 auto 8px}
#home>.intro{font-size:15px;margin:0 auto 18px;max-width:420px}
.home-portals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.home-portal{display:grid;grid-template-rows:auto auto 1fr 1fr;align-items:stretch;gap:10px;min-width:0;padding:20px;background:#fff;border:1px solid #d2dced;border-top:3px solid var(--blue);border-radius:18px;box-shadow:0 8px 24px #102b7d0d}
.home-portal-icon{display:grid;place-items:center;width:42px;height:42px;margin:0 auto;color:var(--blue);background:#edf2ff;border-radius:12px}
.home-portal-icon svg{width:24px;height:24px}
#home .home-portal h2{margin:0 0 4px;font-size:20px}
#home .home-portal .button{width:100%;min-height:48px;font-size:15px;line-height:1.3;padding:10px 12px}
#home .home-login{border:1px solid #b5c4df;background:#f7f9ff;color:var(--blue)}
#home .home-login:hover{background:#edf2ff}
@media(max-width:520px){.home-portals{grid-template-columns:1fr;gap:12px}.home-portal{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto auto;gap:8px;padding:13px 14px}.home-portal-icon{display:none}#home .home-portal h2{grid-column:1/-1;font-size:18px;margin:0 0 3px}#home .home-portal .button{font-size:14px;padding:10px 8px}}
@media(max-width:300px){.home-portal{grid-template-columns:1fr}}
/* Compact account navigation and a balanced four-action overview. */
body>.topbar{align-items:center;gap:6px;padding:6px 12px}
body>.topbar>.language,body>.topbar>.hub-menu>summary{min-height:44px;font-size:13px;padding:8px 12px;border-radius:10px;line-height:1.25}
body>.topbar>.hub-menu{margin:0}
#account{max-width:680px;margin:0 auto}
#account .account-shell{margin:0;padding:12px;border-radius:14px}
#account .account-navigation{gap:8px;margin:0 0 10px;padding:0 0 6px}
#account .account-navigation .account-back{min-height:44px;padding:6px 8px;font-size:13px}
#account .account-head{margin:0 0 12px}
#account .account-head h1{font-size:23px;margin:0;line-height:1.2}
#account .account-head p{font-size:12px;margin:4px 0 0;line-height:1.35;overflow-wrap:anywhere}
#account [data-view-panel="overview"]>.account-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0}
#account .account-grid .account-tile{min-height:86px;padding:12px 8px;border-radius:12px;background:#f7f9ff;border:1px solid #d6dfef;box-shadow:none}
#account .account-grid .account-tile strong{font-size:15px;line-height:1.3;color:var(--blue)}
#account .account-grid .account-tile span{font-size:11px;line-height:1.3;margin-top:5px}
#account .account-view>p{font-size:13px;line-height:1.4;margin-bottom:10px}
@media(max-width:300px){#account [data-view-panel="overview"]>.account-grid{grid-template-columns:1fr}body>.topbar{flex-wrap:wrap}}
/* Fill the visible phone viewport; keep the lower actions above navigation. */
body.cx-dashboard{min-height:100dvh}
body.cx-dashboard>main{padding:0;max-width:900px}
#customer-home.active{animation:none}
#customer-home .cx-shell{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column;border-radius:0;border-top:0;border-bottom:0}
#customer-home .cx-header{flex:none;border-radius:0;padding:8px 12px;gap:4px 8px}
#customer-home .cx-content{flex:1;display:flex;flex-direction:column;padding:12px 14px;min-width:0}
#customer-home .cx-content>h1{font-size:22px;margin:0 0 10px}
#customer-home .cx-primary,#customer-home .cx-upcoming{flex:none}
#customer-home .cx-actions{margin-top:auto;padding-top:10px;flex:none}
#customer-home .cx-nav{position:sticky;bottom:0;z-index:10;flex:none;border-radius:0;padding:5px 8px max(5px,env(safe-area-inset-bottom));box-shadow:0 -3px 12px #102b7d08}
#customer-home .cx-nav button{min-height:48px}
@media(max-height:650px){#customer-home .cx-header{padding-top:4px;padding-bottom:4px}#customer-home .cx-content{padding:8px 12px}#customer-home .cx-content>h1{font-size:20px;margin-bottom:8px}#customer-home .cx-appointment{flex-direction:row;text-align:left;margin:6px 0}#customer-home .cx-appointment>div{width:auto}#customer-home .cx-upcoming{margin:8px 0}#customer-home .cx-actions button{min-height:78px;padding:8px}}
/* One shared bottom bar across signed-in Personal screens. */
body.personal-portal>main{padding-bottom:calc(var(--personal-nav-height,68px) + 12px)}
body.personal-portal.cx-dashboard>main{padding-bottom:var(--personal-nav-height,68px)}
body.personal-portal #customer-home .cx-shell{min-height:calc(100vh - var(--personal-nav-height,68px));min-height:calc(100dvh - var(--personal-nav-height,68px))}
#personal-navigation{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:900px;z-index:15;background:#fff;border:1px solid #e0e4ef;border-bottom:0;border-radius:0;padding:5px 8px max(5px,env(safe-area-inset-bottom));box-shadow:0 -3px 12px #102b7d0d}
#personal-navigation[hidden]{display:none!important}
#personal-navigation button{font:inherit;font-size:11px;cursor:pointer;min-width:0;min-height:48px;text-align:center}
#personal-navigation button:focus-visible{outline:3px solid var(--gold);outline-offset:-3px}
#invite-friend [hidden]{display:none!important}
#invite-friend .invite-channels{display:flex;justify-content:center;gap:28px;padding:8px;margin:10px 0}
#invite-friend .invite-channels label{display:flex;align-items:center;gap:8px;min-height:44px;margin:0}
#invite-friend .invite-channels input{width:20px;height:20px;min-height:20px}
#invite-result{font-size:14px;line-height:1.4;overflow-wrap:anywhere}
#invite-sms{display:flex;width:100%;text-decoration:none;margin-top:10px}
#personal-navigation button span{line-height:1.2;text-wrap:balance}
/* Matching dashboard controls and personal product records. */
#customer-home .cx-header{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
#cx-language-slot,#cx-invite-slot,#cx-menu-slot{width:100%;min-width:0;justify-self:stretch}
#cx-language-slot .language,#cx-invite-slot>button,#cx-menu-slot summary{display:flex;align-items:center;justify-content:center;width:100%;min-height:44px;padding:7px 5px;border:1px solid #cbd6e8;border-radius:10px;background:#fff;color:var(--blue);font:inherit;font-size:12px;font-weight:650;line-height:1.2;white-space:normal;text-align:center;box-sizing:border-box;cursor:pointer}
#cx-menu-slot .hub-menu{width:100%;margin:0}#cx-invite-slot>button:focus-visible{outline:3px solid var(--gold)}
.products-screen{max-width:680px;margin:auto}.products-screen [hidden]{display:none!important}
.products-heading{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px}.products-heading h1{margin:0;font-size:22px}.products-heading .button{font-size:12px}
#products-status{font-size:13px;text-align:center;line-height:1.4}#products-status:empty{margin:0}
.products-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px}
.product-card{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:90px;padding:12px 8px;border:1px solid #d6dfef;border-radius:12px;background:#f7f9ff;color:var(--blue);font:inherit;cursor:pointer;overflow-wrap:anywhere}
.product-card strong{font-size:15px}.product-card span,.product-card small{font-size:12px;color:var(--muted)}
.product-summary{text-align:center}.product-summary h2{margin-bottom:4px}.product-summary p{font-size:13px;color:var(--muted);margin:0 0 10px}.product-photo{display:block;width:100px;height:90px;object-fit:contain;border-radius:10px;margin:10px auto}
.product-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:10px 0}
.product-info{display:grid;grid-template-columns:minmax(90px,1fr) minmax(0,2fr);gap:8px;font-size:13px;line-height:1.4;margin:10px 0 14px}.product-info dt{font-weight:650}.product-info dd{margin:0;text-align:center;overflow-wrap:anywhere;white-space:pre-wrap}
.product-record{padding:10px 0;text-align:center;border-bottom:1px solid var(--line);font-size:13px;overflow-wrap:anywhere}.product-record p{margin:5px 0;white-space:pre-wrap}.product-record .button{font-size:12px;margin:3px}
#products-form fieldset{border:1px solid var(--line);border-radius:12px;padding:12px;margin:10px 0}#products-form legend{font-size:14px;font-weight:650;color:var(--blue)}
.products-screen textarea{width:100%;font:inherit;font-size:16px;padding:10px;border:1px solid var(--line);border-radius:9px;resize:vertical}.products-screen input[type=file]{font-size:13px;max-width:100%}
.product-confirm{padding:10px;border:1px solid var(--line);border-radius:10px;margin:8px 0}
.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:340px){.products-heading{grid-template-columns:auto 1fr}.products-heading #products-add{grid-column:1/-1}.product-info{grid-template-columns:1fr}.product-info dt{text-align:center}.products-grid{grid-template-columns:1fr}}

/* Product fields must not inherit the global fieldset checkbox sizing. */
#products-form fieldset{min-width:0;margin:8px 0;padding:10px}
#my-products input:not([type=checkbox]):not([type=radio]),#my-products select,#my-products textarea{display:block;box-sizing:border-box;width:100%;min-width:0;min-height:44px;font-size:16px}
#products-form label{display:block;text-align:center;margin:8px 0 4px;font-size:13px}
#products-form legend{margin:auto;text-align:center}
#products-form textarea{min-height:64px}
#products-history-product{text-align:center;font-weight:650;color:var(--blue)}
.product-job{border-top:1px solid var(--line);margin-top:10px;padding-top:10px}

.product-uploads{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}.product-uploads .button{width:100%;min-height:56px;font-size:13px;white-space:normal;padding:8px}.product-uploads p{overflow-wrap:anywhere}
#cx-notification-slot{grid-column:1/-1;width:100%}#warranty-bell{display:flex;align-items:center;justify-content:center;gap:5px;min-height:44px;font-size:12px;padding:7px;border:1px solid #cbd6e8;border-radius:10px;background:white;color:var(--blue)}#cx-notification-slot #warranty-bell{width:100%}#warranty-bell[hidden],#warranty-count[hidden]{display:none!important}.notification-count{border-radius:20px;background:#ffebee;color:#c62828;padding:2px 6px;font-size:12px;font-weight:800}.topbar{flex-wrap:wrap}#warranty-list .records{padding:12px;margin:8px 0}#warranty-list h2{font-size:17px;margin:5px}#warranty-list p{font-size:13px;margin:6px;overflow-wrap:anywhere}
/* Stable, equal header controls on every Personal page. */
body.personal-portal:not(.cx-dashboard)>.topbar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:"logout menu" "notifications language";gap:8px;align-items:stretch;justify-content:center;width:100%;max-width:680px;box-sizing:border-box;padding:8px 16px;margin:0 auto}
body.personal-portal>.topbar>#customer-signout{grid-area:logout}
body.personal-portal>.topbar>#customer-menu{grid-area:menu}
body.personal-portal>.topbar>#warranty-bell{grid-area:notifications}
body.personal-portal>.topbar>#language-toggle{grid-area:language;margin:0}
body.personal-portal>.topbar>#customer-menu{width:100%;min-width:0;margin:0;align-self:stretch}
body.personal-portal>.topbar>.language,body.personal-portal>.topbar>#customer-menu>summary{box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:5px;width:100%;height:44px;min-height:44px;min-width:0;margin:0;padding:7px 6px;border:1px solid #cbd6e8;border-radius:10px;background:#fff;color:var(--blue);font:inherit;font-size:13px;font-weight:650;line-height:1.2;text-align:center}
body.personal-portal>.topbar>[hidden]{display:none!important}
body.personal-portal>.topbar>#language-menu{position:absolute;right:16px;top:calc(100% - 4px);z-index:50}
body.personal-portal>.topbar>#customer-menu>nav{right:0;left:auto;max-width:calc(100vw - 32px)}
#customer-home .cx-header{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
#cx-notification-slot{grid-column:auto}
#cx-language-slot,#cx-invite-slot,#cx-menu-slot,#cx-notification-slot{min-width:0;width:100%}
#customer-home .cx-header #language-toggle,#customer-home .cx-header #cx-invite-slot>button,#customer-home .cx-header #customer-menu>summary,#customer-home .cx-header #warranty-bell{box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:5px;width:100%;height:44px;min-height:44px;min-width:0;margin:0;padding:7px 6px;border:1px solid #cbd6e8;border-radius:10px;background:#fff;color:var(--blue);font:inherit;font-size:13px;font-weight:650;line-height:1.2;text-align:center}
#warranty-bell svg{flex-shrink:0}
/* Keep the header and navigation in the visible viewport; only long content scrolls. */
body.personal-portal{height:100dvh;min-height:0;display:flex;flex-direction:column;overflow:hidden}
body.personal-portal>.topbar{flex:none}
html body.personal-portal>main{flex:1 1 0;min-height:0;width:100%;box-sizing:border-box;overflow-y:auto;overscroll-behavior-y:contain;padding-bottom:12px;margin-top:0;margin-bottom:0;scroll-padding-bottom:12px}
html body.personal-portal.cx-dashboard>main{padding:0}
body.personal-portal #personal-navigation{position:relative;flex:none;left:auto;bottom:auto;transform:none;box-sizing:border-box;margin:0 auto;width:100%}
body.personal-portal #customer-home{min-height:100%}
body.personal-portal #customer-home .cx-shell{min-height:100%;box-sizing:border-box}
body.personal-portal #customer-home .cx-header{position:sticky;top:0;z-index:20}
/* Text fields in the request form must not inherit checkbox widths. */
#cr-form input:not([type=checkbox]):not([type=radio]),#cr-form select,#cr-form textarea{box-sizing:border-box;width:100%;min-width:0}
#cr-form [hidden]{display:none!important}
/* Compact request fields: balanced pairs, centered labels, full-width issue. */
#cr-form{padding:14px;max-width:680px;margin-inline:auto}
#cr-fields{min-width:0;padding:12px}
#cr-fields>legend,#cr-form .hub-step-title{text-align:center;margin-inline:auto}
#cr-form label{display:block;text-align:center;font-size:13px;line-height:1.3;margin:8px 0 4px}
#cr-form .cr-equipment-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#cr-form .cr-equipment-grid>div{min-width:0;display:flex;flex-direction:column}
#cr-form .cr-equipment-grid label:not(.button){margin:0 0 5px;min-height:34px;display:flex;align-items:center;justify-content:center}
#cr-form input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]),#cr-form select{height:44px;min-height:44px;font-size:16px;padding:8px;border-radius:10px;text-align:center}
#cr-form .cr-label-upload>.button{height:44px;min-height:44px;box-sizing:border-box;display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:13px;margin:0;padding:8px;border-radius:10px}
#cr-form .cr-label-upload:focus-within>.button{outline:3px solid var(--gold);outline-offset:2px}
#cr-form textarea{display:block;min-height:84px;padding:10px;font:inherit;font-size:16px;line-height:1.4;border:1px solid var(--line);border-radius:10px;resize:vertical}
#cr-form .cr-check{display:flex;align-items:center;justify-content:center;gap:7px;min-height:44px;margin:4px 0}
#cr-form .cr-check input{width:18px;height:18px;min-height:18px;flex:none;margin:0}
#cr-form input[type=file]:not(.sr-only){font-size:12px;padding:8px;min-height:44px}
#cr-form .cr-photo-help,#cr-form .cr-file-name,#cr-form .cr-time-note{display:block;font-size:12px;text-align:center;line-height:1.4;margin:6px 0;overflow-wrap:anywhere}
#cr-form .cr-file-name:empty,#cr-address-status:empty,#cr-slot-status:empty{display:none}
#cr-address-step{text-align:center}
#cr-form #cr-manage-addresses,#cr-form #cr-manage-profile{display:block;margin:8px auto;min-height:44px}
#cr-form #cr-slots fieldset{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;min-width:0;margin:12px 0;padding:10px}
#cr-form #cr-slots legend{font-size:13px;text-align:center;margin:auto}
#cr-form #cr-slots .cr-check{border:1px solid var(--line);border-radius:9px;font-size:12px;padding:6px;box-sizing:border-box}
#cr-form #cr-slots .cr-check:has(input:checked){background:#eef2fc;border-color:var(--blue)}
#cr-form #cr-slots .inline-link{min-height:44px;text-align:center}
#cr-form .hub-step-nav{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px;margin-top:14px}
#cr-form .hub-step-nav button{width:100%;min-height:44px}

#cr-form .cr-photo-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:6px}
#cr-form .cr-photo-options>.button{width:100%;min-width:0;min-height:44px;padding:6px 3px;margin:0;font-size:12px;text-align:center}
#cr-form #cr-attach-label:disabled{opacity:.5;cursor:default}

#cr-form #cr-attach-photos{width:100%;min-height:44px;margin:0;font-size:13px}
#cr-form .cr-extra-photo{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;margin-top:6px;padding:4px 8px;border:1px solid var(--line);border-radius:9px}
#cr-form .cr-extra-photo span{min-width:0;overflow-wrap:anywhere}
#cr-form .cr-extra-photo button{flex:none;min-height:44px;font-size:12px}
#cr-form #cr-attach-photos:disabled{opacity:.5;cursor:default}

/* Full, centered appliance identifiers, including long manufacturer suffixes. */
#cr-form textarea.cr-identifier-value{height:44px;min-height:44px;max-height:none;padding:10px 8px;margin:0;text-align:center;font-size:16px;line-height:22px;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-all;overflow:hidden;resize:none}
@media(max-width:480px){#cr-form .cr-equipment-grid>.cr-identifier{grid-column:1 / -1}}

.hub-address-chooser{width:100%;min-width:0}
.hub-address-chooser .hub-address-trigger,.hub-address-chooser .hub-address-option{box-sizing:border-box;width:100%;min-width:0;min-height:48px;height:auto;white-space:pre-wrap;overflow-wrap:anywhere;text-align:center;justify-content:center;font:inherit;font-size:16px;line-height:1.4;padding:12px;color:#152554;border:1px solid #cbd2dd;border-radius:10px;background:white}
.hub-address-options{display:grid;gap:8px;max-height:50vh;overflow-y:auto;margin-top:8px;padding:4px}
.hub-address-options[hidden]{display:none!important}
.hub-address-option[aria-pressed=true]{border-color:#172d79;background:#f0f2fa}
.hub-address-chooser button:focus-visible{outline:3px solid #d9ae50;outline-offset:1px}

/* Keep every service-request step focused on its form and bottom navigation. */
body.cx-request-flow > .topbar{display:none!important}

#request-service .cr-request-heading{display:flex;flex-direction:column;align-items:center;gap:6px;width:100%;max-width:680px;margin:12px auto 16px;text-align:center;font-size:20px;line-height:1.3;}
#request-service .cr-request-company{display:block;max-width:100%;font-size:24px;overflow-wrap:anywhere;text-wrap:balance;}

/* Compact upper navigation mirrors the four-item bottom navigation. */
.upper-nav-icon{display:none;flex-shrink:0}
body.personal-portal:not(.cx-dashboard)>.topbar{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-areas:"logout menu notifications language";gap:3px;padding:6px 8px;border-bottom:1px solid #e0e4ef;background:#fff}
body.personal-portal>.topbar>#warranty-bell,body.personal-portal>.topbar>.language,body.personal-portal>.topbar>#customer-menu>summary,#customer-home .cx-header #language-toggle,#customer-home .cx-header #cx-invite-slot>button,#customer-home .cx-header #customer-menu>summary,#customer-home .cx-header #warranty-bell{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;border:0;border-radius:8px;background:transparent;color:#747e96;height:auto;min-height:54px;padding:5px 2px;font-size:11px;font-weight:500;line-height:1.2;text-align:center;white-space:normal}
body.personal-portal>.topbar .upper-nav-icon,#customer-home .cx-header .upper-nav-icon{display:block;width:20px;height:20px}
body.personal-portal>.topbar #warranty-bell svg,#customer-home .cx-header #warranty-bell svg{width:20px;height:20px}
body.personal-portal>.topbar #language-toggle>span[aria-hidden],#customer-home .cx-header #language-toggle>span[aria-hidden]{display:none}
body.personal-portal #warranty-bell .notification-count{position:absolute;top:0;right:calc(50% - 24px);font-size:11px;line-height:1.2;min-width:15px;padding:2px 4px}
#customer-home .cx-header{grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;padding:8px}
#customer-home .cx-brand{grid-column:1/-1;margin-bottom:5px}
body.personal-portal>.topbar>#customer-menu>nav{left:0;right:auto;max-width:calc(100vw - 32px)}

/* Personal pages use the persistent bottom Home navigation. */
body.personal-portal #account .account-navigation,
body.personal-portal .screen > .back,
body.personal-portal .products-heading > .back{display:none!important}
body.personal-portal .products-heading{grid-template-columns:minmax(0,1fr) auto}

/* Match the service request's centered equipment fields. */
#products-form .products-label-upload{text-align:center;margin-bottom:12px}
#products-form .products-label-upload .sub{overflow-wrap:anywhere}
#products-form .products-equipment-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px}
#products-form .products-equipment-grid>div{min-width:0}

#products-form .products-equipment-grid input{text-align:center;width:100%;min-width:0;box-sizing:border-box}
#products-photo-options[hidden]{display:none}


/* Compact product entry: four balanced rows, including purchase details. */
#products-form fieldset{padding:8px;margin:6px 0}
#products-form .products-equipment-grid{gap:4px 8px}
#products-form .products-equipment-grid label{font-size:12px;margin:3px 0;line-height:1.25;min-height:30px;display:flex;align-items:center;justify-content:center}
#my-products #products-form .products-equipment-grid input{height:40px;min-height:40px;margin:0;padding:6px;border-radius:8px;font-size:16px}
#products-form .products-label-upload{margin-bottom:6px}
#products-form .sub{font-size:11px;line-height:1.35;margin:5px 0}
#products-form .sub:empty{display:none}
#products-form .button{min-height:40px;padding:7px 10px;font-size:13px;margin:4px auto}
#products-form #products-photo-options{gap:8px;margin:4px 0;justify-content:center}
#products-form #products-photo-options .button{flex:1;max-width:160px;margin:0}
#products-form #products-notes{min-height:52px;height:52px;padding:6px}

[data-view-panel="tenants"]{text-align:center}
[data-view-panel="tenants"] .records{padding:12px;margin:10px 0;overflow-wrap:anywhere}
[data-view-panel="tenants"] .button{margin:4px;min-height:40px;padding:8px;font-size:13px}
[data-view-panel="tenants"] input,[data-view-panel="tenants"] select,[data-view-panel="tenants"] textarea{box-sizing:border-box;width:100%;min-width:0;text-align:center}
[data-view-panel="tenants"] [hidden]{display:none!important}
.rental-product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 8px}
.rental-product-grid label{font-size:12px;margin:4px 0;min-height:30px;display:flex;align-items:center;justify-content:center}
.rental-product-grid input{height:40px;min-height:40px;padding:6px;font-size:16px}
#rt-product-form>p,#rt-invite-form>p{font-size:12px;line-height:1.4}
#ca-tenant-fields{margin-top:16px}

.rental-approval-setting{margin:10px 0;text-align:center}
.rental-approval-setting label{display:flex;align-items:center;justify-content:center;gap:8px;font-size:13px}
.rental-approval-setting input[type=checkbox]{width:20px;min-width:20px;height:20px;margin:0;accent-color:#172d79}
.rental-approval-setting p{font-size:12px}
#rental-requests .records{padding:12px;margin:10px 0;text-align:center;overflow-wrap:anywhere}

.home-portals{grid-template-columns:repeat(3,minmax(0,1fr))}
#home .home-portal h2{font-size:19px;min-height:48px;display:flex;align-items:center;justify-content:center}
@media(max-width:650px){.home-portals{grid-template-columns:1fr}#home .home-portal h2{min-height:0}}
.pm-dashboard-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0}
.pm-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:16px 10px;min-height:128px;border:1px solid #d9deea;border-radius:14px;background:#fff;color:#172d79;text-align:center;font:inherit;font-size:14px}
.pm-tile svg{width:24px;height:24px}.pm-tile span{font-size:13px;color:#687388}
#pm-dashboard{text-align:center;max-width:680px;margin:auto}#pm-dashboard h1{font-size:26px;margin:12px 0}#pm-dashboard>p{margin:6px 0}
#pm-history-panel{margin-top:18px}#pm-history-list .records{padding:12px;border:1px solid #d9deea;border-radius:12px;margin:10px 0;overflow-wrap:anywhere}
#pm-profile-company{display:none}body.pm-portal #pm-profile-company{display:block}
body.pm-portal #rt-start{display:none}
#pm-dashboard [hidden]{display:none!important}


.pm-only{display:none}body.pm-portal .pm-only{display:block}body.pm-portal .personal-only{display:none}

.product-card .product-address{display:block;width:100%;white-space:normal;overflow-wrap:anywhere;text-align:center;font-size:13px;line-height:1.4;color:var(--blue)}
.new-service-panel{text-align:center}.new-service-details{margin:12px 0}.new-service-details dt{font-weight:700;margin-top:10px}.new-service-details dd{margin:3px 0;overflow-wrap:anywhere}.new-service-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:16px}.new-service-actions button{min-width:0;white-space:normal;padding:12px 8px}

/* Consistent compact cards across customer, business and property management pages. */
main .account-grid,main .biz-tiles,.pm-dashboard-grid,.cx-actions{gap:8px;align-items:stretch;grid-auto-rows:1fr}
main .account-tile,main .biz-tiles button,.pm-tile,.cx-actions button{box-sizing:border-box;min-width:0;min-height:76px;padding:10px 8px;gap:5px;border-radius:12px;text-align:center;overflow-wrap:anywhere}
main .biz-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}
main .biz-tiles button strong,.pm-tile strong{font-size:14px;line-height:1.3;text-wrap:balance}
main .biz-tiles button svg,.pm-tile svg{width:20px;height:20px;flex-shrink:0}
.pm-dashboard-grid{margin:10px 0}.pm-tile span{font-size:12px}.cx-actions strong{min-height:0}.cx-actions small{min-height:0}
main .biz-account-label{margin:4px 0 10px;font-size:13px}
main .biz-alert{padding:10px;margin-bottom:10px}
main .biz-body h1{font-size:23px;margin-bottom:5px}
main .biz-login-row{margin-bottom:8px}
main .biz-account-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;align-items:stretch}
main .biz-account-controls>button,main .biz-language-slot .language{box-sizing:border-box;width:100%;min-height:44px;margin:0;padding:6px 3px;font-size:12px;line-height:1.25;border:1px solid #d6dfeb;border-radius:9px;background:#fff;color:var(--blue);text-align:center;white-space:normal}
main .biz-language-slot{margin:0;min-width:0;display:flex;align-items:stretch}
main .biz-account-controls #biz-notification-bell{position:relative;flex-wrap:wrap;gap:3px}
main .biz-back{min-height:44px;padding:6px 0;margin:0}
main .biz-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
main .biz-links button{min-width:0;min-height:48px;padding:8px;border:1px solid #d6dfeb;border-radius:9px;font-size:13px}
main .biz-edit{margin-top:8px}main .biz-edit summary{padding:9px;min-height:44px}
main [data-biz-view="requests"]>.biz-box,main [data-biz-view="jobs"]>.biz-box{padding:0;border:0;background:transparent}
main .records,main .biz-box,main .directory-card,main .support-card,main .state-card{box-sizing:border-box;padding:12px;overflow-wrap:anywhere}
main .records:empty,main p[role="status"]:empty{display:none}
main .service-notification h2{margin:4px 0 8px;font-size:18px}
main .service-history-card{gap:6px}
main .service-history-tabs,main .biz-job-tabs{gap:6px;margin:10px 0;justify-content:center}
main .biz-job-tabs button{flex:1 1 110px;min-height:44px}
main .new-service-actions{gap:8px;margin-top:10px}
main .cr-form{margin:12px auto}main .cr-form fieldset{padding:12px;margin:10px 0}main .cr-form h2{margin-top:12px}
main .prelaunch-card{padding:16px;margin:12px auto}
@media(max-width:340px){main .biz-tiles button strong{font-size:13px}main .biz-account-controls{gap:3px}main .biz-account-controls>button,main .biz-language-slot .language{font-size:11px}}

/* Business dashboard: eight compact actions, two equal rows of four. */
#business-dashboard [data-biz-view="home"] .biz-tiles{grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:1fr;gap:6px;margin:0}
#business-dashboard [data-biz-view="home"] .biz-tiles button{min-height:68px;padding:6px 3px;gap:4px;border-radius:10px}
#business-dashboard [data-biz-view="home"] .biz-tiles button strong{font-size:11px;line-height:1.25;overflow-wrap:normal;hyphens:auto}
#business-dashboard [data-biz-view="home"] .biz-tiles button svg{width:18px;height:18px}
#business-dashboard .biz-shell,#business-dashboard .biz-body{height:auto;min-height:0}
#business-dashboard .biz-body{padding-bottom:6px}
#business-dashboard [data-biz-view="home"]{margin-bottom:0;padding-bottom:0}
body.biz-mode main{padding-bottom:6px}

/* Keep business dashboard content together instead of stretching to the viewport. */
html body.biz-mode:has(#business-dashboard.active [data-biz-view="home"]:not([hidden]))>main{padding:8px 16px;margin:0}
#business-dashboard.active:has([data-biz-view="home"]:not([hidden])){display:block;min-height:0}
#business-dashboard:has([data-biz-view="home"]:not([hidden]))>.biz-shell{display:block;flex:none}
#business-dashboard:has([data-biz-view="home"]:not([hidden])) .biz-body{display:block;padding:12px}
#business-dashboard [data-biz-view="home"]:not([hidden]){display:block}
#business-dashboard [data-biz-view="home"] .biz-tiles{margin-top:8px;padding-top:0}
#business-dashboard .biz-account-controls{grid-auto-rows:1fr}
#business-dashboard .biz-account-controls>button,#business-dashboard .biz-language-slot .language{height:100%;min-height:44px;display:flex;align-items:center;justify-content:center}

/* Calendar views share a readable minimum size as appointment density increases. */
#biz-live-calendar{text-align:center}#biz-live-calendar button{font:inherit;min-height:44px;min-width:0;padding:7px;border:1px solid #cbd5e5;border-radius:8px;background:white;color:var(--blue);cursor:pointer;line-height:1.3}
#biz-live-calendar .bc-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-bottom:10px}#biz-live-calendar .bc-tabs [aria-pressed="true"]{background:var(--blue);color:white}
#biz-live-calendar .bc-navigation{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:6px;font-size:14px}#biz-live-calendar .bc-today{margin:8px auto 0;padding:6px 16px}#biz-live-calendar .bc-zone{font-size:12px;margin:6px 0;color:var(--muted)}
#biz-live-calendar .bc-month{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}#biz-live-calendar .bc-weekday{font-size:11px;padding:7px 0}#biz-live-calendar .bc-date{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:3px 0;min-height:48px;border-color:transparent;font-size:13px}#biz-live-calendar .bc-date[aria-current]{background:#eef2fc;border-color:#607bb6}#biz-live-calendar .bc-count{background:#23783d;color:white;border-radius:8px;padding:1px 5px;font-size:11px}
#biz-live-calendar .bc-agenda{max-height:480px;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}#biz-live-calendar .bc-day{margin:6px 0;border-bottom:1px solid #e1e6ef}#biz-live-calendar .bc-day-heading{width:100%;border:0;font-weight:650}#biz-live-calendar .bc-empty{font-size:13px;margin:10px 0}
#biz-live-calendar .bc-appointment{margin:8px 0;padding:12px;background:#f3f7f4;border-left:3px solid #23783d;border-radius:9px}#biz-live-calendar .bc-summary{display:flex;flex-direction:column;align-items:center;gap:5px;width:100%;border:0;background:transparent;font-size:14px;padding:0}#biz-live-calendar .bc-status{color:#23783d;font-weight:700;font-size:12px}#biz-live-calendar .bc-details p{font-size:13px;margin:5px 0}#biz-live-calendar .compact{padding:8px;margin:6px 0}#biz-live-calendar .dense{padding:6px;margin:4px 0}#biz-live-calendar .dense .bc-summary{gap:2px}#biz-live-calendar .dense .bc-status{display:none}
