/* FulliBook customer space: shared brand, focused journeys, responsive presentation. */
:root{--blue:#123b80;--ink:#193b65;--pink:#bd1263;--muted:#607792;--line:#dce6f2;--mint:#eaf7f0;--shadow:0 8px 30px #173b6810}
*{box-sizing:border-box}body{margin:0;min-height:100dvh;color:var(--ink);font:16px/1.5 'Segoe UI',Arial,sans-serif;background:linear-gradient(120deg,#edf4fff5,#fff8fbed),url('wellness-hero.webp') center/cover fixed}button,input,select,textarea{font:inherit}button,a{touch-action:manipulation;-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.55}a{color:inherit}a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #ce5c99;outline-offset:3px}[hidden]{display:none!important}h1,h2,h3{color:var(--blue);line-height:1.25}h1{margin:4px 0;font-size:30px;letter-spacing:-.7px}h2{font-size:21px;margin:0 0 12px;letter-spacing:-.35px}h3{font-size:17px;margin:0}p{margin:6px 0 14px}.muted,small{color:var(--muted)}small{display:block;font-size:13px}.eyebrow{color:#ab2a64;font-size:11px;letter-spacing:1.2px;font-weight:750;text-transform:uppercase}.icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none;vertical-align:middle}
.portal-header{position:sticky;top:0;z-index:10;display:flex;align-items:center;gap:18px;min-height:76px;padding:14px max(24px,calc((100vw - 1272px)/2));background:#fffefcf5;backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}.portal-header>a{flex:none}.portal-header img{display:block;object-fit:contain}.portal-label{font-size:13px;color:var(--muted);padding-left:18px;border-left:1px solid var(--line)}.header-actions{display:flex;align-items:center;gap:8px;margin-left:auto}.header-actions .button{min-width:44px;padding:10px 13px}.skip{position:fixed;top:-100px;z-index:50;padding:12px;background:#fff}.skip:focus{top:0}
#portal-main{position:relative;z-index:1;max-width:1320px;padding:26px 24px 24px;margin:0 auto}.portal-footer{position:relative;z-index:1;max-width:1320px;margin:0 auto;padding:12px 24px 22px;font-size:12px;color:#5c738c}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:11px 16px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--blue);text-decoration:none;white-space:nowrap;font-size:14px;line-height:1.3;font-weight:650;transition:background .15s,border-color .15s,box-shadow .15s}.button:hover{background:#edf4ff;border-color:#acc2e2}.button.primary{background:var(--blue);color:#fff;border-color:var(--blue);box-shadow:0 5px 12px #123b8018}.button.primary:hover{background:#204f98}.button.quiet{background:#f7f9fd}.button.pink{background:#fff0f7;border-color:#efd0e1;color:#a82f69}.button.danger{background:#fff1f4;border-color:#efccd5;color:#ab2b51}.button:disabled{box-shadow:none}.card{min-width:0;padding:22px;border:1px solid var(--line);border-radius:21px;background:#fff;box-shadow:var(--shadow)}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.stack{display:grid;gap:14px}.section-gap{margin-top:24px}.row-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.card-top,.dialog-head,.section-heading{display:flex;align-items:center;justify-content:space-between;gap:14px}.section-heading{margin-bottom:14px}.section-heading h2{margin:0}.section-heading .button{background:transparent}.list-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 0;border-bottom:1px solid #e6edf5}.list-row:last-child{border:0}.list-row>div{min-width:0}.positive{color:#287d62}.badge{display:inline-flex;align-items:center;width:max-content;padding:5px 9px;border-radius:8px;color:#586c89;background:#edf2f9;font-size:12px;line-height:1.3;font-weight:600;white-space:nowrap}.badge.active,.badge.confirmed,.badge.completed,.badge.checked_in,.badge.in_service{background:#e4f5ec;color:#256e58}.badge.reserved,.badge.pending_review{background:#fff1d8;color:#89611c}.badge.used{background:#e9edff;color:#425b9b}.badge.expired,.badge.cancelled,.badge.reversed{background:#f9eaf1;color:#9a4268}.notice{padding:14px 16px;background:#f4f0fc;border:1px solid #e4daf2;border-radius:13px;color:#625277;font-size:14px}.notice.error{background:#fff2f4;border-color:#efc7ce;color:#a02b44}.notice.success{background:#edf9f3;border-color:#c5e4d5;color:#26755c}.empty{display:flex;align-items:center;gap:24px;min-height:166px;padding:28px;border:1px solid var(--line);border-radius:21px;background:#fff;box-shadow:var(--shadow)}.empty img{width:110px;height:104px;object-fit:contain}.empty h2{font-size:19px;margin:0 0 7px}.empty p{max-width:440px;margin:0;color:var(--muted);font-size:15px}.loading{padding:48px;text-align:center}.toast{position:fixed;z-index:30;bottom:24px;left:50%;transform:translateX(-50%);max-width:calc(100% - 32px);margin:0;padding:13px 18px;border-radius:13px;background:var(--blue);color:#fff;box-shadow:0 8px 30px #123b8033;font-size:14px}
label{display:grid;gap:7px;font-size:13px;font-weight:650}.field-label{display:flex;align-items:center;gap:7px}.field-label .icon{width:17px;height:17px;color:#6183a3}input,select,textarea{width:100%;min-width:0;min-height:48px;padding:11px 13px;border:1px solid #cad9ee;border-radius:11px;background:#fff;color:var(--ink);font-size:16px}input:read-only{background:#f5f8fc;color:#5c7088}input[type=checkbox]{flex:none;width:20px;height:20px;min-height:20px;accent-color:var(--blue)}.check{display:flex;align-items:center;gap:11px;min-height:44px;font-size:14px}.form-stack{display:grid;gap:18px}.form-error{color:#a02b44;font-size:14px;border-radius:10px}.form-error:not(:empty){padding:12px;background:#fff1f4;border:1px solid #efc7ce}.form-error:empty{display:none}.password-field{display:block;position:relative}.password-field input{padding-right:52px}.password-toggle{position:absolute;right:2px;top:2px;bottom:2px;width:46px;display:grid;place-items:center;border:0;border-radius:10px;background:transparent;color:#587594}.password-toggle:hover{background:#edf4ff}details>summary{cursor:pointer;min-height:44px;font-size:14px;font-weight:650}details>p{font-size:14px;color:var(--muted)}.terms{white-space:pre-wrap;overflow-wrap:anywhere}
/* Auth: full-frame imagery, one sign-in action, progressive activation. */
body[data-portal-view=login]{display:flex;flex-direction:column;background:linear-gradient(122deg,#103675eb 0%,#1d489ade 43%,#eef5fcf5 43.2%,#f5f8fbed 100%),url('wellness-hero.webp') center/cover fixed}body[data-portal-view=login] #portal-main{display:flex;align-items:center;justify-content:center;flex:1;width:100%;padding-top:30px;padding-bottom:30px}body[data-portal-view=login] .login-layout{width:100%}body[data-portal-view=login] .portal-footer{width:100%}.login-layout{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);gap:24px;align-items:stretch}.login-intro{min-width:0;overflow:hidden;border:1px solid #d5e1ec;border-radius:27px;background:#10376e;box-shadow:0 15px 45px #173b6815;display:flex;flex-direction:column}.login-visual{position:relative;background:#f3f2ed}.login-visual>img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain}.login-copy{position:relative;flex:1;padding:26px 32px 30px;background:linear-gradient(115deg,#123f80,#092f63)}.login-copy::after{content:'';position:absolute;right:-35px;bottom:-75px;width:220px;height:220px;border:1px solid #ffffff12;border-radius:50%;pointer-events:none}.login-copy .eyebrow{color:#b9dccc}.login-copy h1{color:#fff;font-size:38px;line-height:1.13;margin:10px 0 14px;letter-spacing:-1px}.login-copy h1 span{display:block;color:#b8dfd0}.login-copy p{color:#e2eaf5;max-width:430px;font-size:15px;margin:0;line-height:1.65}.login-card{display:flex;flex-direction:column;justify-content:center;padding:34px 38px;border-radius:27px;border-top:4px solid #b62c70;box-shadow:0 15px 45px #173b6812}.auth-symbol{display:grid;place-items:center;width:52px;height:52px;border-radius:17px;color:var(--blue);background:linear-gradient(130deg,#edf4ff,#e5f5ec);margin-bottom:22px}.auth-symbol .icon{width:27px;height:27px}.login-card h2{font-size:35px;letter-spacing:-1px;margin:8px 0 10px}.auth-help{font-size:14px;color:var(--muted);margin:0 0 26px;max-width:340px}.login-card input{min-height:52px}.login-card [type=submit]{min-height:52px;font-size:15px;justify-content:space-between;padding:14px 20px}.auth-forgot{display:flex;justify-content:flex-end;margin-top:-14px;margin-bottom:-8px}.auth-forgot .button,.auth-alternate .button{background:transparent;border:0;padding:7px 0;min-height:44px;font-size:13px;color:var(--blue);border-radius:5px}.auth-forgot .button:hover,.auth-alternate .button:hover{text-decoration:underline}.auth-alternate{display:flex;align-items:center;justify-content:center;gap:8px;border-top:1px solid var(--line);margin-top:26px;padding-top:14px;font-size:13px;color:var(--muted)}.auth-details{font-size:13px}.auth-details summary{font-size:13px}.auth-details p{margin:0 0 10px;font-size:13px}.auth-progress{display:flex;align-items:center;gap:12px;margin:-7px 0 22px;font-size:12px;color:var(--muted)}.auth-progress span{display:flex;align-items:center;gap:7px}.auth-progress b{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#edf1f8}.auth-progress .active{color:var(--blue);font-weight:650}.auth-progress .active b{background:var(--blue);color:#fff}.auth-progress i{width:28px;height:1px;background:#d5dfee}
/* Customer navigation and content. */
.customer-workspace{display:grid;grid-template-columns:210px minmax(0,1fr);gap:24px;align-items:start}.customer-sidebar{position:sticky;top:102px;padding:16px 12px;border:1px solid var(--line);border-radius:22px;background:#fff;box-shadow:var(--shadow)}.rail-user{display:flex;gap:10px;align-items:center;padding:4px 4px 20px;border-bottom:1px solid #edf1f6;margin-bottom:12px}.customer-avatar{display:grid;place-items:center;flex:none;width:44px;height:44px;border-radius:15px;border:1px solid #d8e5f1;background:linear-gradient(140deg,#e9f1ff,#e8f5ed);color:var(--blue);font-size:20px;font-weight:750}.rail-user>div{min-width:0}.rail-user small{font-size:11px;margin-bottom:3px}.rail-user strong{display:block;font-size:13px;line-height:1.45;overflow-wrap:anywhere}.portal-rail{display:grid;gap:5px}.portal-rail a{display:flex;align-items:center;gap:10px;min-height:48px;padding:11px 12px;text-decoration:none;font-size:14px;font-weight:600;border-radius:12px;color:#536b87}.portal-rail a>.icon:last-child{margin-left:auto;width:14px;height:14px;opacity:0}.portal-rail a:hover{background:#f0f5fc}.portal-rail a[aria-current=page]{background:var(--blue);color:#fff;box-shadow:0 5px 12px #123b8020}.portal-rail a[aria-current=page]>.icon:last-child{opacity:.8}.company-switch{display:flex;align-items:center;gap:8px;min-height:44px;margin-top:18px;padding:10px;font-size:12px;color:var(--muted);text-decoration:none;border-top:1px solid var(--line)}.portal-content{min-width:0}.portal-page-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:22px}.portal-page-head .eyebrow{display:block;max-width:400px;overflow-wrap:anywhere}.portal-page-head h1{font-size:29px;margin:5px 0 0}.company-tools{display:flex;align-items:flex-end;gap:10px}.company-tools label{min-width:170px;max-width:240px;flex:1}.company-tools label>.field-label{font-size:11px;color:var(--muted)}.company-tools label>.field-label .icon{width:14px;height:14px}.company-tools select{font-size:14px;min-height:44px}.company-tools .button{flex:none}.customer-welcome{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;overflow:hidden;border:1px solid #cfdfe9;border-radius:22px;background:linear-gradient(105deg,#f0f7f3,#f8f4ed);min-height:182px;margin-bottom:18px}.customer-welcome>div{position:relative;z-index:1;padding:25px 28px;flex:1;max-width:72%}.customer-welcome h2{font-size:28px;margin:6px 0 10px;letter-spacing:-.7px;overflow-wrap:anywhere}.customer-welcome p{max-width:400px;color:#56708b;font-size:14px;margin:0}.customer-welcome>img{position:absolute;right:0;top:0;width:42%;height:100%;object-fit:cover;mask-image:linear-gradient(90deg,transparent,#000 38%);opacity:.95}.metric-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.metric{position:relative;display:block;min-width:0;min-height:106px;padding:17px 72px 16px 18px;border:1px solid #d6e3f0;border-radius:17px;background:#eef5ff;text-decoration:none;overflow:hidden;transition:transform .15s,box-shadow .15s}.metric:hover{transform:translateY(-2px);box-shadow:var(--shadow)}.metric:nth-child(2){background:#ebf7f0;border-color:#d6e9dd}.metric:nth-child(3){background:#f9f0f6;border-color:#ecdbe7}.metric small{font-size:12px;line-height:1.4}.metric b{display:block;font-size:30px;line-height:1.3;margin-top:7px;color:var(--blue)}.metric>img{position:absolute;right:11px;bottom:16px;width:58px;height:58px;object-fit:contain}.metric>.icon{position:absolute;right:13px;top:13px;width:13px;height:13px;color:#8096b0}.company-picker-head{margin:12px 0 26px}.company-picker-head h1{font-size:34px;margin:6px 0 10px}.company-picker-head p{color:var(--muted)}.company-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr))}.company-card{display:block;padding:0;overflow:hidden;text-decoration:none}.company-cover{position:relative;aspect-ratio:3/1.4;background:#f6f5ef;overflow:hidden}.company-cover>img{width:100%;height:100%;object-fit:cover}.company-mark{position:absolute;left:18px;bottom:14px;display:grid;place-items:center;width:46px;height:46px;border:3px solid #fff;border-radius:15px;background:#edf5ff}.company-card-body{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:20px}.company-card-body h2{font-size:19px;margin-bottom:6px;overflow-wrap:anywhere}.company-card-body small{display:flex;align-items:center;gap:5px}.round-arrow{flex:none;display:grid;place-items:center;width:38px;height:38px;border:1px solid var(--line);border-radius:50%}
/* Visits retain their original payment, contact and rescheduling actions. */
.appointment{display:flex;flex-direction:column;gap:16px;background:linear-gradient(120deg,#fff,#fafcff)}.appointment-heading{display:flex;gap:12px;align-items:center}.visit-date{display:flex;flex-direction:column;align-items:center;justify-content:center;width:54px;min-height:58px;flex:none;border:1px solid #d6e3f2;border-radius:13px;background:#edf4ff;color:var(--blue)}.visit-date strong{font-size:23px;line-height:1.1}.visit-date span{font-size:11px;text-transform:uppercase;margin-top:3px;letter-spacing:.8px}.appointment-id{flex:1;min-width:0}.appointment-id h3{font-size:14px;overflow-wrap:anywhere}.appointment-id small{display:flex;align-items:center;gap:4px;margin-top:4px;font-size:12px}.appointment-id .icon{width:13px;height:13px}.appointment-treatments{display:grid;gap:12px}.appointment-treatments>div+div{border-top:1px dashed var(--line);padding-top:12px}.appointment-treatments strong{display:block;font-size:15px;line-height:1.5;margin-bottom:6px}.appointment-treatments small{display:flex;gap:6px;align-items:center;font-size:12px;margin:4px 0}.appointment-treatments .icon{width:15px;height:15px}.appointment-money{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-top:auto}.appointment-money>b{font-size:21px;color:var(--blue)}.appointment-money small{font-size:11px;text-align:right}.appointment .row-actions .button{font-size:12px;padding:10px 12px}.appointment .row-actions .button:first-child{background:#edf4ff;border-color:#d0e0f4}.pagination{display:flex;gap:15px;align-items:center;justify-content:center;margin-top:22px}
/* Membership and reward wallet. */
.memberships-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.membership-card{position:relative;overflow:hidden;background:linear-gradient(135deg,#123b80,#082d62);border-color:#173f80;color:#fff}.membership-heading{display:flex;align-items:center;justify-content:space-between}.membership-heading>.icon{width:27px;height:27px;color:#bfe3d4}.membership-card h3{font-size:23px;color:#fff;margin:15px 0}.membership-balance{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #ffffff20;border-bottom:1px solid #ffffff20;padding:16px 0;margin:12px 0}.membership-balance small{color:#c8daed}.membership-balance b{display:block;font-size:34px;line-height:1.3;color:#fff}.membership-balance img{width:76px;height:76px;object-fit:contain}.membership-validity{display:flex;align-items:center;gap:7px;font-size:13px;color:#e5eff9}.membership-validity .icon{width:16px;height:16px}.membership-card details{margin-top:10px}.membership-card details p{color:#d1e0f1}.points-history>summary,.reminder-preference summary{display:flex;align-items:center;gap:8px}.points-history>summary .badge{margin-left:auto}.points-history .list-row strong{font-size:14px}.points-history .list-row small{font-size:12px}.reminder-preference .check{font-weight:400;padding-top:8px}.tabs{display:flex;gap:6px;padding:5px;background:#e9eff9;border:1px solid #dfe7f3;border-radius:14px;white-space:nowrap;overflow-x:auto}.tabs button,.tabs a{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 20px;border:0;border-radius:10px;background:transparent;color:#5b6e89;text-decoration:none;font-weight:650;font-size:14px}.tabs .active{background:#fff;color:var(--blue);box-shadow:0 3px 10px #173f820d}.voucher-view-tabs{max-width:350px;margin:0 0 20px}.voucher-view-tabs button{flex:1}.voucher-filters{display:flex;gap:8px;margin-bottom:18px}.voucher-filters button{min-height:44px;padding:9px 16px;border:1px solid var(--line);border-radius:22px;background:#fff;color:#617792;font-size:13px;font-weight:600}.voucher-filters button.active{color:#fff;background:var(--blue);border-color:var(--blue)}.rewards-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.voucher{position:relative;overflow:hidden;display:flex;flex-direction:column;gap:12px;background:linear-gradient(125deg,#fff,#edf9f2);border-color:#cfe6d9}.voucher.classic{background:linear-gradient(125deg,#fff,#f9edf5);border-color:#edd4e3}.voucher.bold{background:linear-gradient(125deg,#173f82,#32689d);border-color:#173f82;color:#fff}.voucher.bold small,.voucher.bold .muted{color:#d5e6f9}.voucher.bold h3{color:#fff}.voucher .eyebrow{color:inherit;font-size:10px}.voucher::after{content:'✧';position:absolute;top:40px;right:16px;font-size:72px;line-height:1;opacity:.12;pointer-events:none}.voucher .code{font:700 17px/1.5 monospace;letter-spacing:1px;border-top:1px dashed #b5c5c7;padding-top:12px;overflow-wrap:anywhere}.voucher h3{font-size:21px;padding-right:32px;line-height:1.4}.voucher .card-top{align-items:flex-start}.voucher .card-top .eyebrow{max-width:70%}.voucher-facts{display:flex;flex-wrap:wrap;gap:7px}.voucher-facts span{padding:5px 8px;border-radius:7px;background:#ffffffb5;color:#3c6475;font-size:12px}.voucher .row-actions{margin-top:auto}.voucher .row-actions .button{font-size:13px}.voucher .terms{font-size:14px}.countdown{font-variant-numeric:tabular-nums}.campaigns{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:10px;margin-bottom:22px}.campaign{flex:0 0 min(340px,85%);border-radius:16px;overflow:hidden;border:1px solid var(--line);background:#fff;text-decoration:none;scroll-snap-align:start}.campaign img{display:block;width:100%;height:180px;object-fit:contain;background:#f5f7fa}.campaign strong{display:block;padding:12px 16px;font-size:14px}
/* Account settings stay separate from company records. */
.account-overview{display:flex;align-items:center;gap:18px;padding:22px 24px;background:linear-gradient(110deg,#f0f7ff,#edf8f0);border:1px solid var(--line);border-radius:21px;margin-bottom:20px}.account-overview>.customer-avatar{width:60px;height:60px;font-size:27px;border-radius:20px;background:#fff}.account-overview>div{min-width:0;flex:1}.account-overview h2{margin:0 0 6px;font-size:22px;overflow-wrap:anywhere}.account-overview p{font-size:14px;margin:0;color:var(--muted)}.account-overview>img{width:100px;height:80px;object-fit:contain}.account-grid{grid-template-columns:1.05fr .95fr}.account-form h2{margin-bottom:20px}.account-security{display:flex;flex-direction:column;align-items:flex-start}.security-art{display:grid;place-items:center;width:46px;height:46px;background:#eff7f1;border-radius:15px;color:#477b68;margin-bottom:14px}.security-art .icon{width:25px;height:25px}.account-security p{font-size:14px}.security-actions{display:grid;gap:7px;width:100%;margin-bottom:14px}.security-actions .button{justify-content:flex-start;background:#f9fbfe}.account-security>small{font-size:12px}.signout-row{width:100%;margin-top:auto;padding-top:18px}.signout-row .button{width:100%;background:#fff3f7;color:#a42f62;border-color:#f0d5e2}#portal-dock{display:none}
/* Dialogs, safe area and mobile priorities. */
dialog{width:min(560px,calc(100vw - 28px));max-height:calc(100dvh - 36px);border:1px solid var(--line);border-radius:22px;padding:0;color:var(--ink);box-shadow:0 16px 80px #0c224343}dialog::backdrop{background:#12345c66;backdrop-filter:blur(4px)}.dialog-head{position:sticky;top:0;padding:16px 20px;border-bottom:1px solid var(--line);background:#fff;z-index:1}.dialog-head h2{margin:0;font-size:21px}.dialog-head .button{width:44px;padding:0;flex:none}#portal-dialog-body{padding:22px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}
@media(min-width:1500px){body[data-portal-view=login] #portal-main{padding-top:30px}.login-card{padding:42px 46px}}
@media(max-width:1100px){.customer-workspace{grid-template-columns:185px minmax(0,1fr);gap:18px}.customer-sidebar{padding:14px 9px}.portal-rail a{font-size:13px;padding:10px}.portal-page-head{flex-wrap:wrap;gap:15px}.company-tools{width:100%;justify-content:flex-end}.company-tools label{max-width:none}.customer-welcome h2{font-size:25px}.customer-welcome>div{padding:24px}.metric{padding:16px 53px 14px 14px}.metric>img{width:46px;height:46px;right:8px}.login-card{padding:28px}.login-copy{padding:26px}.login-copy h1{font-size:33px}.login-card h2{font-size:31px}.auth-alternate{flex-wrap:wrap;gap:0 7px}.grid.two,.memberships-grid,.rewards-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,310px),1fr))}.account-grid{grid-template-columns:1fr}}
@media(max-width:800px){.portal-header{padding:12px 20px}.portal-label{font-size:12px}.login-layout{gap:16px;grid-template-columns:1fr 1fr}.login-copy h1{font-size:29px}.login-card{padding:24px}.auth-symbol{margin-bottom:18px}.login-card h2{font-size:29px}.login-copy p{font-size:14px}.customer-workspace{grid-template-columns:170px minmax(0,1fr);gap:16px}.portal-rail a{gap:8px;padding:10px 7px}.rail-user{gap:8px}.rail-user .customer-avatar{width:35px;height:35px;font-size:17px}.rail-user strong{font-size:12px}.customer-welcome>img{width:29%}.metric-grid{gap:8px}.metric{padding:13px 9px 48px;min-height:117px}.metric>img{width:40px;height:40px;bottom:7px;right:9px}.metric b{font-size:26px}.metric>.icon{display:none}.metric small{font-size:11px}}
@media(max-width:700px){.portal-header{min-height:64px;padding:10px 16px;gap:10px}.portal-header img{width:120px;height:35px}.portal-label{display:none}.header-actions{gap:6px}.header-actions .button{font-size:12px}#portal-main{padding:18px 14px 18px}.portal-footer{padding:5px 16px 20px}body[data-portal-view=company] .portal-footer,body[data-portal-view=account] .portal-footer{padding-bottom:calc(102px + env(safe-area-inset-bottom))}.customer-workspace{display:block}.customer-sidebar{display:none}.portal-page-head{margin-bottom:18px;gap:14px}.portal-page-head h1{font-size:27px}.portal-page-head .eyebrow{font-size:10px;max-width:100%}.company-tools{width:100%;gap:9px}.company-tools label{min-width:0;flex:1}.company-tools select{font-size:14px;min-height:46px}.company-tools .button{min-height:46px;font-size:13px;padding:12px 14px}.company-tools .button .icon{width:18px;height:18px}.customer-welcome{min-height:147px;margin-bottom:14px;gap:0}.customer-welcome>div{padding:20px}.customer-welcome h2{font-size:23px;margin:5px 0 8px}.customer-welcome p{font-size:13px;max-width:230px}.customer-welcome>img{width:38%;max-height:none}.customer-welcome .eyebrow{font-size:9px;letter-spacing:1px}.metric-grid{gap:8px}.metric{min-height:110px;padding:12px 10px 42px;border-radius:15px}.metric small{font-size:11px;line-height:1.4}.metric b{font-size:26px;margin-top:4px}.metric>img{width:39px;height:39px;right:7px;bottom:4px}.section-gap{margin-top:22px}.section-heading h2{font-size:19px}.section-heading{gap:8px}.section-heading .button{font-size:12px;padding:9px 11px}.card{padding:19px;border-radius:19px}.grid,.grid.two,.account-grid,.memberships-grid,.rewards-grid{grid-template-columns:1fr}.grid.metric-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.empty{min-height:159px;padding:20px;gap:16px}.empty img{width:76px;height:86px}.empty h2{font-size:18px}.empty p{font-size:13px}.appointment-heading{gap:10px}.appointment-heading>.badge{font-size:10px;padding:5px 7px}.appointment-id h3{font-size:13px}.appointment-id small{font-size:11px}.appointment-money>b{font-size:22px}.appointment .row-actions{gap:7px}.appointment .row-actions .button{font-size:12px;padding:10px 12px}.list-row{gap:10px}.list-row small{font-size:12px}.account-overview{padding:18px;gap:13px}.account-overview>.customer-avatar{width:47px;height:47px;font-size:24px;border-radius:16px}.account-overview h2{font-size:18px}.account-overview p{font-size:12px}.account-overview>img{width:63px;height:64px}.account-security{padding:20px}.voucher-view-tabs{max-width:none;margin-bottom:16px}.voucher-filters{gap:7px}.voucher-filters button{flex:1;padding:9px 10px;font-size:12px}.voucher h3{font-size:22px}.voucher-facts span{font-size:12px}.voucher .row-actions .button{flex:1}.membership-card h3{font-size:25px}.membership-balance b{font-size:36px}.membership-balance img{width:77px;height:77px}.dialog-head,#portal-dialog-body{padding:16px}.dialog-head h2{font-size:20px}.dialog-actions{flex-wrap:wrap}.toast{bottom:calc(105px + env(safe-area-inset-bottom))}body[data-portal-view=login] .toast,body[data-portal-view=companies] .toast{bottom:24px}
#portal-dock:not([hidden]){position:fixed;z-index:15;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px;padding:9px 10px calc(8px + env(safe-area-inset-bottom));background:#fffffff5;backdrop-filter:blur(14px);border-top:1px solid #d5e2f1;box-shadow:0 -5px 25px #173b6810;border-radius:24px 24px 0 0}#portal-dock>a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:56px;text-decoration:none;font-size:10px;color:#63758b;border-radius:13px}#portal-dock>a>.icon{width:23px;height:23px}#portal-dock>a[aria-current]{color:var(--blue);background:#edf4ff;font-weight:750}.dock-art{position:relative;width:46px;height:34px;display:grid;place-items:center}.dock-art img{position:absolute;width:43px;height:43px;object-fit:contain}.dock-art>.icon{display:none}#portal-dock>a.dock-main{margin-top:-17px;padding-top:11px;border:1px solid #d8e6ef;border-radius:20px;background:#f1f8f4;color:var(--blue)}#portal-dock>a.dock-main[aria-current]{background:#e1f1e9;border-color:#bcdaca}
body[data-portal-view=login]{display:block;background:linear-gradient(135deg,#123b80 0%,#24549d 170px,#edf4fff5 171px,#fff7fbef 100%),url('wellness-hero.webp') center/cover fixed}body[data-portal-view=login] #portal-main{display:block;padding-top:16px;padding-bottom:18px}.login-layout{display:flex;flex-direction:column;gap:15px}.login-intro{display:grid;grid-template-columns:minmax(0,1fr) 37%;border-radius:21px;align-items:stretch;background:#10376e}.login-visual{grid-column:2;grid-row:1;display:flex;align-items:center;background:#123c79}.login-visual>img{aspect-ratio:3/2;height:auto;width:100%;border-radius:0;object-fit:contain;mask-image:linear-gradient(90deg,transparent,#000 20%)}.login-copy{grid-column:1;grid-row:1;min-width:0;padding:18px 16px;background:transparent}.login-copy h1{font-size:23px;line-height:1.15;letter-spacing:-.6px;margin:7px 0 0}.login-copy .eyebrow{font-size:8px;letter-spacing:1px}.login-copy>p{display:none}.login-copy::after{display:none}.login-card{padding:23px 23px 20px;border-radius:21px}.auth-symbol{width:42px;height:42px;border-radius:13px;margin-bottom:17px}.auth-symbol .icon{width:23px;height:23px}.login-card h2{font-size:31px;margin:6px 0 8px}.login-card>.eyebrow{font-size:10px}.auth-help{font-size:13px;margin-bottom:20px}.login-card .form-stack{gap:16px}.login-card input{min-height:50px}.auth-alternate{margin-top:22px;padding-top:11px;gap:7px}.auth-forgot{margin-top:-12px}.auth-progress{gap:9px;font-size:11px;margin:0 0 18px}.auth-progress i{width:22px}.auth-details summary{font-size:12px}.company-picker-head{margin-top:5px}.company-picker-head h1{font-size:29px}.company-picker-head p{font-size:14px}.company-cover{aspect-ratio:3/1.5}}
@media(max-width:370px){.login-card{padding:21px 19px}.login-copy{padding:17px 13px}.login-copy h1{font-size:21px}.auth-alternate{font-size:12px;gap:0 6px}.auth-alternate .button{font-size:12px}.customer-welcome>div{padding:18px}.customer-welcome h2{font-size:22px}.metric small{font-size:10px}.metric b{font-size:24px}.account-overview>img{display:none}.appointment-heading .badge{font-size:9px}.appointment .row-actions .button{padding:10px}.portal-page-head h1{font-size:26px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Existing private booking/payment presentation. */
.customer-manage .manage{max-width:840px;border-radius:22px;margin:22px auto;padding:24px;position:relative;z-index:1}.customer-manage .manage>.tenant-logo{max-width:180px;max-height:54px;object-fit:contain}.manage-title{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:18px 0}.manage-title h1{font-size:28px;margin:7px 0}.manage-title p{margin:0;font-size:14px;color:#627b96}.manage-title>img{border-radius:0;object-fit:contain;background:none;flex:none}.customer-manage .visit-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:18px 0}.customer-manage .visit-steps span{padding:10px 5px;font-size:12px;text-align:center;border:1px solid #e0d8ec}.customer-manage .visit-steps .active{background:#e0f3eb;border-color:#c6e4d7;color:#276451}.manage-money{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:18px 0}.manage-money>div{background:#edf4ff;border:1px solid #d8e5f1;padding:14px 12px;border-radius:12px;font-size:15px;font-weight:700}.manage-money>div:nth-child(2){background:#eaf7f1}.manage-money>div:nth-child(3){background:#fff3e4}.customer-manage .manage-deposit{font-size:14px;background:#f6f3fc;line-height:1.65}.customer-manage .support-card{display:flex;flex-direction:column;align-items:flex-start;gap:9px;border:1px solid #dce6f0;background:linear-gradient(100deg,#f1f7ff,#fff);border-radius:16px;padding:18px;margin:18px 0}.customer-manage .support-card span,.customer-manage .support-card small{font-size:14px;color:#5e7893}.customer-manage .manage-offers{border:1px solid #e2deec;background:#faf7ff;border-radius:14px;padding:0 14px;margin:18px 0}.customer-manage .manage-offers>summary{min-height:48px;display:flex;align-items:center;font-size:14px;font-weight:600;cursor:pointer}.customer-manage .btn{min-height:44px;white-space:nowrap}.customer-manage .manage input,.customer-manage .manage textarea{font-size:16px}.customer-manage .manage>.muted{font-size:13px}.customer-manage .list-row{flex-wrap:nowrap}.customer-manage .list-row>div{flex:1}.customer-manage .list-row p{font-size:14px;color:#5d7690}.customer-manage .list-row>b{white-space:nowrap;color:#123b80}
@media(max-width:600px){.customer-manage .manage{margin:14px 12px;padding:18px}.manage-title h1{font-size:25px}.manage-title>img{width:76px;height:70px}.manage-title .eyebrow{font-size:10px}.manage-money{gap:7px}.manage-money>div{padding:12px 9px;font-size:13px;line-height:1.6}.customer-manage .visit-steps span{font-size:10px}.customer-manage .list-row>b{font-size:14px}.customer-manage .support-card{padding:16px}.customer-manage .manage .notice{font-size:13px;line-height:1.6}}

@media(min-width:701px){body[data-portal-view=login] .portal-footer{color:#526d8a;text-align:center}}

/* Copyright stays readable across the light and blue portal backgrounds. */
.portal-footer{width:100%;text-align:center;color:#254567;font-size:12px;line-height:1.6}
.portal-footer>span{display:inline-block;padding:7px 14px;border-radius:20px;background:#fffffff0;box-shadow:0 1px 8px #1438670a}
