body.cx-dashboard{background:#f5f5fb}body.cx-dashboard>.topbar{display:none}body.cx-dashboard>main{padding:12px;max-width:980px}.cx-shell{max-width:900px;margin:auto;border:1px solid #e0e4ef;border-radius:22px;background:#f5f5fb;overflow:visible}.cx-header{display:flex;align-items:center;gap:10px;padding:14px 18px;background:white;border-radius:22px 22px 0 0;border-bottom:1px solid #e2e6ef}.cx-brand{display:flex;align-items:center;gap:9px;color:#172d79;font-size:15px;font-weight:750;margin-right:auto;line-height:1.25}.cx-brand small{display:block;font-size:11px;font-weight:400;color:#737b8e;margin-top:3px}.cx-mark{display:grid;place-items:center;background:#172d79;color:white;width:34px;height:36px;border-radius:10px;flex-shrink:0}.cx-mark svg{width:21px;height:21px}#cx-language-slot{position:relative}#cx-language-slot .language{font-size:12px;padding:7px 8px;min-height:40px;border:0}#cx-language-slot .language-menu{top:100%;right:0}#cx-menu-slot #customer-menu{margin:0;position:relative}#cx-menu-slot summary{font-size:12px;min-height:40px;padding:10px 8px}.cx-content{padding:20px 22px}.cx-content h1{font-size:25px;margin:0 0 15px;letter-spacing:-.6px}.cx-address{display:flex;align-items:center;gap:12px;margin-bottom:15px}.cx-address label{margin:0;color:#69738c;font-size:12px;white-space:nowrap}.cx-address select{flex:1;min-width:0;max-width:100%;margin:0;background:#fff;border:1px solid #dbe1ef;border-radius:9px;padding:10px;font:inherit;font-size:14px;color:#172653}.cx-shell button{font:inherit;cursor:pointer}.cx-primary{display:flex;align-items:center;gap:10px;width:100%;padding:15px 16px;background:#172d79;color:white;border:0;border-radius:12px;font-weight:650!important}.cx-primary span{flex:1;text-align:left}.cx-primary svg{width:20px;height:20px}.cx-upcoming{width:100%;display:block;text-align:left;padding:13px 15px 0;background:white;border:1px solid #e0e4ef;border-radius:14px;margin:15px 0;color:#172653}.cx-row{display:flex;justify-content:space-between;gap:10px;font-size:11px;align-items:center}.cx-row>span:first-child{color:#727d96;letter-spacing:1px}#cx-status{background:#eef1fa;border-radius:14px;padding:4px 8px;font-size:11px}.cx-appointment{display:flex;align-items:center;gap:12px;margin:12px 0}.cx-date{flex-shrink:0;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#f0f2fa;width:50px;min-height:54px;border-radius:10px;font-size:20px}.cx-date small{font-size:11px}.cx-appointment>div{min-width:0;flex:1}.cx-appointment strong{display:block;font-size:15px;line-height:1.3}.cx-appointment>div>span{display:block;font-size:12px;color:#6f7990;margin-top:4px;overflow-wrap:anywhere}.cx-appointment-footer{display:flex;justify-content:space-between;gap:8px;border-top:1px solid #eef0f6;padding:10px 0;font-size:11px;color:#6f7990}.cx-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px}.cx-actions button{display:flex;align-items:flex-start;flex-direction:column;text-align:left;gap:6px;background:white;border:1px solid #e0e4ef;border-radius:13px;padding:14px;color:#172653;min-width:0}.cx-actions svg{width:21px;height:21px;margin-bottom:3px;color:#263b7d}.cx-actions strong{font-size:14px}.cx-actions small{font-size:11px;color:#788197}.cx-nav{display:grid;grid-template-columns:repeat(4,1fr);gap:3px;border-top:1px solid #e0e4ef;background:white;padding:8px 10px 10px;border-radius:0 0 22px 22px}.cx-nav button{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;min-height:48px;border:0;border-radius:8px;background:none;color:#747e96;padding:5px;font-size:11px}.cx-nav button[aria-current]{background:#f0f2fa;color:#172d79}.cx-nav svg{width:19px;height:19px}.cx-shell button:focus-visible{outline:3px solid #d9ae50;outline-offset:2px}#customer-communities .community-grid{margin:18px 0}#customer-communities [aria-pressed=true]{background:#172d79;color:white}#cx-menu-slot nav{z-index:30;right:0;left:auto;width:220px}
@media(min-width:700px){.cx-content{max-width:740px;margin:auto;padding:28px 32px}.cx-header{padding:18px 30px}.cx-nav{padding-left:18%;padding-right:18%}.cx-actions button{padding:18px}.cx-upcoming{margin:18px 0}}
@media(max-width:420px){body.cx-dashboard>main{padding:6px}.cx-header{padding:11px 12px;gap:3px}.cx-brand{font-size:13px;gap:6px}.cx-mark{width:29px;height:32px}.cx-content{padding:16px}.cx-content h1{font-size:22px}.cx-actions strong{font-size:13px}}
@media(max-height:720px) and (max-width:699px){.cx-header{padding-top:8px;padding-bottom:8px}.cx-content{padding-top:13px;padding-bottom:13px}.cx-content h1{margin-bottom:10px}.cx-address{margin-bottom:10px}.cx-primary{padding:12px}.cx-upcoming{margin:10px 0}.cx-appointment{margin:9px 0}.cx-actions button{padding:11px}.cx-nav{padding-top:5px;padding-bottom:6px}}
#ca-fields label{display:block;margin:12px 0 5px;text-align:left}#ca-fields input:not([type=checkbox]){display:block;width:100%;box-sizing:border-box;min-height:45px;padding:10px 12px}

.cx-address-button{width:100%;background:white;border:1px solid #dbe1ef;border-radius:9px;padding:13px;color:#172653;text-align:center}.cx-address select[hidden]{display:none}#service-address-step{max-width:640px;margin:auto}#service-address-choice{width:100%;min-height:48px}#service-address-detail{white-space:pre-line;overflow-wrap:anywhere;text-align:center}#service-address-step .address-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:20px}

/* Centered appointment summary at every viewport height. */
#customer-home .cx-upcoming{text-align:center}
#customer-home .cx-row{flex-direction:column;justify-content:center;gap:6px}
#customer-home #cx-status[data-status="scheduled"]{color:#16803c;background:transparent;font-weight:800;font-size:15px;padding:2px 8px}
#customer-home .cx-upcoming .cx-appointment{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:7px;margin:12px 0}
#customer-home .cx-appointment>*{width:100%;margin:0;text-align:center;line-height:1.4;overflow-wrap:anywhere}
#customer-home #cx-time{font-size:clamp(11px,3.3vw,15px);white-space:nowrap;overflow-wrap:normal;font-weight:700}
#customer-home #cx-company{font-size:15px;font-weight:700}
#customer-home #cx-service{font-size:14px;color:#6f7990}
#customer-home .cx-appointment-footer{justify-content:center;align-items:center;gap:8px;flex-wrap:wrap;text-align:center}
body:not(.cx-dashboard) #cx-greeting{display:none}
