@font-face{font-family:Inter;src:url('brand/fonts/inter-latin-wght-normal.woff2') format('woff2');font-weight:100 900;font-display:swap}
@font-face{font-family:'Source Serif 4';src:url('brand/fonts/source-serif-4-latin-wght-normal.woff2') format('woff2');font-weight:200 900;font-display:swap}
:root{--navy:#192b43;--gold:#f4cb00;--ink:#192b43;--muted:#5d6e84;--line:#dce4ee;--canvas:#f4f7fb;--cobalt:#3559ed}
*{box-sizing:border-box}body.billing-portal{margin:0;color:var(--ink);background:var(--canvas);font:15px/1.6 Inter,system-ui,sans-serif}a{color:inherit}button,input,select,textarea{font:inherit}button,summary{cursor:pointer}button:disabled{cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid var(--cobalt);outline-offset:4px}button{border:0}svg{width:21px;height:21px;flex-shrink:0;vertical-align:middle}h1,h2,h3,p{margin:0}h1{font:500 clamp(34px,3.3vw,52px)/1.13 'Source Serif 4',Georgia,serif;letter-spacing:-.035em}h2{font-size:22px;font-weight:650;line-height:1.3;letter-spacing:-.025em}h3{font-size:17px;font-weight:650;line-height:1.4}p{color:var(--muted);margin:12px 0}small,.portal-small{font-size:12px;line-height:1.7;color:var(--muted)}.eyebrow{display:block;font-size:11px;letter-spacing:.15em;font-weight:750;margin-bottom:18px}.eyebrow:before{content:'';display:inline-block;background:var(--gold);width:24px;height:3px;vertical-align:middle;margin-right:10px}.button{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:11px 18px;border-radius:8px;text-decoration:none;font-size:13px;font-weight:700;border:1px solid transparent;line-height:1.5}.button.primary{background:var(--gold);color:var(--navy)}.button.primary:hover{background:#e9bd00}.button.secondary{background:white;border-color:var(--line);color:var(--navy)}.button.secondary:hover{background:#f5f7fb;border-color:#a8b8cd}.button svg{width:17px;height:17px}.portal-text-link{display:inline-flex;align-items:center;gap:12px;font-weight:650;font-size:13px;text-decoration:underline;text-underline-offset:5px}.portal-actions{display:flex;flex-wrap:wrap;align-items:center;gap:16px;margin-top:25px}.portal-actions p{margin:0;flex:1;min-width:180px}.panel{padding:30px;background:#fff;border:1px solid var(--line);border-radius:16px;margin-bottom:24px;box-shadow:0 8px 30px #192b4303}.portal-art{width:240px;height:240px;object-fit:contain;flex-shrink:0}.portal-shell{display:grid;grid-template-columns:264px minmax(0,1fr);min-height:100vh}.portal-sidebar{position:sticky;top:0;height:100dvh;overflow-y:auto;background:var(--navy);color:white;display:flex;flex-direction:column;padding:38px 18px 26px}.portal-brand{display:block;margin:0 10px 46px}.portal-brand img{display:block;width:216px;max-width:100%;height:auto}.portal-label{font-size:10px;font-weight:600;letter-spacing:.16em;color:#bfcbdb;padding:0 12px;display:block;margin:0 0 18px}.portal-sidebar nav{display:grid;gap:6px}.portal-sidebar nav a{display:flex;align-items:center;gap:13px;min-height:48px;padding:10px 13px;border-radius:8px;color:#d8e0ed;text-decoration:none;font-size:13px;font-weight:550}.portal-sidebar nav a:hover{background:#ffffff0b;color:white}.portal-sidebar nav a[aria-current=page]{background:var(--gold);color:var(--navy);font-weight:700}.portal-sidebar nav svg{width:18px;height:18px}.portal-sidebar-footer{margin-top:auto;padding-top:48px;display:grid;gap:14px}.portal-sidebar-footer .portal-label{margin-bottom:0}.portal-sidebar-footer a{font-size:12px;text-decoration:none;padding:0 12px;display:flex;align-items:center;justify-content:space-between}.portal-sidebar-footer a:last-child{color:#bfcde0}.portal-main{min-width:0}.portal-topbar{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:82px;padding:20px 42px;background:white;border-bottom:1px solid var(--line);font-size:12px}.portal-breadcrumb{color:var(--muted);margin-right:8px}.portal-user{display:flex;align-items:center;gap:22px;color:var(--muted)}.portal-user form{display:block}.portal-user button{background:none;color:var(--muted);padding:5px 0;font-weight:500;min-height:40px}.portal-content{max-width:1260px;padding:26px 46px 0;margin:0 auto}.portal-account-context{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:48px;margin-bottom:22px}.portal-context-label{color:var(--muted);font-size:12px;font-weight:600}.portal-company-picker{display:flex;align-items:center;gap:8px}.portal-company-picker label{font-size:12px;color:var(--muted)}.portal-company-picker select{max-width:230px;padding:8px 28px 8px 10px;min-height:40px}.portal-company-picker .button{min-height:40px;padding:8px 13px}.portal-welcome{background:linear-gradient(120deg,#fff 10%,#edf2f8 100%);border:1px solid var(--line);border-radius:20px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:44px 34px 42px 40px;overflow:hidden;min-height:340px}.portal-welcome>div{max-width:530px;position:relative;z-index:1}.portal-welcome h1{font-size:clamp(38px,3.6vw,56px)}.portal-welcome p{max-width:400px}.portal-welcome .portal-art{width:290px;height:290px;margin:-12px -20px -12px -25px}.portal-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:22px 0 32px}.portal-metrics article{background:white;border:1px solid var(--line);border-radius:12px;padding:22px 24px;display:grid;gap:7px}.portal-metrics article>span{font-size:12px;color:var(--muted);font-weight:600}.portal-metrics strong{font-size:34px;letter-spacing:-.04em;line-height:1.25;font-weight:650}.portal-two-column{display:grid;grid-template-columns:1.1fr 1fr;gap:22px}.portal-next .eyebrow,.portal-service-note .eyebrow{font-size:10px;margin-bottom:13px}.portal-next h2,.portal-service-note h2{font-family:'Source Serif 4',Georgia,serif;font-size:29px;font-weight:550}.portal-quick-links{display:grid;margin-top:18px}.portal-quick{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 0;border-bottom:1px solid var(--line);text-decoration:none;font-size:13px;font-weight:600}.portal-quick:last-child{border-bottom:0}.portal-quick:hover{color:var(--cobalt)}.portal-service-note{background:var(--navy);color:white;border-color:var(--navy)}.portal-service-note p{color:#d0dbea;font-size:14px}.portal-service-note .portal-text-link{color:var(--gold);margin:8px 0}.portal-service-note .portal-small{color:#becade;font-size:11px}.portal-section-heading{display:flex;align-items:center;justify-content:space-between;gap:26px;min-height:184px;margin:0 0 28px}.portal-section-heading .portal-art{width:180px;height:180px}.portal-section-heading p{max-width:600px}.portal-section-heading .eyebrow{margin-bottom:13px}.portal-card-heading{display:flex;align-items:center;gap:16px}.portal-card-heading>div{flex:1;min-width:0}.portal-card-heading p{margin:5px 0 0;font-size:13px}.portal-square-icon{display:flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:10px;background:#edf2f8;color:#405a7f;flex-shrink:0}.portal-badge{padding:5px 10px;display:inline-block;font-size:11px;border-radius:6px;font-weight:650;white-space:nowrap}.portal-badge.available{background:#e8f5ee;color:#14684d}.portal-badge.quiet{background:#edf2f8;color:#53647b}.portal-calendar-address{font-size:12px;overflow-wrap:anywhere;border-bottom:1px solid var(--line);padding-bottom:18px;margin-top:18px}.portal-calendar-card .portal-actions{margin-top:20px}.portal-notice{border-left:3px solid #d9ad22;padding:12px 16px;background:#fff9e9;font-size:13px;border-radius:0 7px 7px 0;color:#6b5114}.portal-details{margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}summary{font-weight:650;font-size:13px;line-height:1.5}details[open]>summary{margin-bottom:16px}.portal-details p{font-size:13px}.portal-details label{font-size:12px}.portal-code{font:12px/1.7 ui-monospace,Consolas,monospace;color:#42546c;width:100%;resize:vertical;margin:7px 0 12px;min-height:100px}.portal-service{padding:24px 0;border-bottom:1px solid var(--line)}.portal-service:last-child{border:0;padding-bottom:0}.portal-facts{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:23px 0}.portal-facts dt{color:var(--muted);font-size:11px;margin-bottom:5px}.portal-facts dd{font-weight:600;font-size:13px;margin:0;overflow-wrap:anywhere}.portal-option-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin:28px 0}.portal-option-grid h3{margin:15px 0 0}.portal-option-grid p{font-size:13px}.portal-price{font-size:30px;font-weight:650;color:var(--ink);letter-spacing:-.025em}.portal-price small{font-size:13px;font-weight:400;letter-spacing:normal}.portal-empty{display:flex;align-items:center;gap:22px;padding:28px 0 15px}.portal-empty .portal-art{width:110px;height:110px}.portal-empty h3{font-size:17px}.portal-empty p,.portal-empty-copy{font-size:14px;max-width:650px}.portal-allowance{display:flex;align-items:baseline;gap:12px;margin-top:24px}.portal-allowance strong{font-size:48px;font-weight:600;line-height:1.3;letter-spacing:-.035em}.portal-allowance strong small{font-size:24px;font-weight:400}.portal-allowance>span{font-size:13px;color:var(--muted)}progress{appearance:none;display:block;width:100%;height:7px;overflow:hidden;border:0;border-radius:10px;margin:17px 0;background:#eef2f8}progress::-webkit-progress-bar{background:#eef2f8}progress::-webkit-progress-value{background:var(--cobalt);border-radius:10px}progress::-moz-progress-bar{background:var(--cobalt)}.portal-download form{margin-top:24px}form{display:grid;gap:16px;max-width:620px}label{display:grid;gap:8px;font-size:13px;font-weight:550;color:var(--muted)}input,select,textarea{border:1px solid #cfdbea;border-radius:8px;color:var(--ink);padding:12px;min-height:44px;background:white;max-width:100%}form .button{justify-self:start}input[type=checkbox]{min-height:18px;width:18px;height:18px;accent-color:var(--cobalt);flex-shrink:0;margin:3px 0 0}.checkbox-label{display:flex;align-items:flex-start;gap:10px;color:var(--ink);font-size:13px;font-weight:400}.billing-password{display:flex;gap:8px}.billing-password input{min-width:0;flex:1}.table-wrap{width:100%;overflow-x:auto;margin-top:20px;border:1px solid var(--line);border-radius:9px}table{border-collapse:collapse;width:100%;font-size:12px;text-align:left}th{background:#f5f7fb;color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.05em;padding:14px 16px;white-space:nowrap}td{padding:16px;border-top:1px solid var(--line);vertical-align:top}.portal-reference{overflow-wrap:anywhere;font-size:11px}.preserve-lines{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.8}.portal-guide-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:start}.portal-guide{margin:0;padding:22px 24px}.portal-guide summary{display:flex;align-items:center;gap:15px;list-style:none}.portal-guide summary::-webkit-details-marker{display:none}.portal-guide summary>span:nth-child(2){flex:1}.portal-guide summary b{font-size:20px;color:var(--muted);font-weight:400}.portal-guide[open] summary b{transform:rotate(45deg)}.portal-guide-steps{list-style:none;padding:0;counter-reset:steps;margin:26px 0 0;display:grid;gap:22px}.portal-guide-steps li{position:relative;padding-left:36px;counter-increment:steps}.portal-guide-steps li:before{content:counter(steps);position:absolute;left:0;top:0;width:24px;height:24px;border-radius:50%;background:#edf2f8;text-align:center;font-size:12px;line-height:24px;font-weight:700}.portal-guide-steps h3{font-size:13px}.portal-guide-steps p{font-size:12px;margin:5px 0 0}.portal-help-contact{display:flex;align-items:center;justify-content:space-between;gap:26px;margin-top:26px}.portal-help-contact p{font-size:13px;margin-bottom:0}.portal-footer{border-top:1px solid var(--line);padding:25px 0;margin-top:30px;display:flex;align-items:center;gap:22px;font-size:11px;color:var(--muted)}.portal-footer span{margin-right:auto}.portal-menu{display:none}.portal-pane[hidden],[hidden]{display:none!important}.portal-pane{animation:portal-enter .18s ease-out}.portal-status{padding:14px 18px;background:#e8f5ee;border:1px solid #98cbb7;color:#14684d;border-radius:8px;margin-bottom:20px;font-size:13px}.portal-status.error{color:#7c3519;border-color:#e7c1ae;background:#fff2e9}.portal-skip{position:fixed;top:-100px;left:20px;z-index:50;background:var(--gold);padding:12px 18px;border-radius:5px;font-weight:700}.portal-skip:focus{top:12px}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.portal-auth{min-height:100dvh;display:grid;grid-template-columns:1fr 1fr;background:white}.portal-auth-story{background:var(--navy);color:white;padding:55px max(45px,8vw);position:relative;overflow:hidden;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:36px}.portal-auth-logo{width:220px;height:auto}.portal-auth-story h2{font:500 clamp(38px,4.4vw,66px)/1.1 'Source Serif 4',Georgia,serif;letter-spacing:-.035em}.portal-auth-story .eyebrow{font-size:10px;color:#c6d1e1}.portal-auth-story p{color:#c6d1e1;max-width:280px;font-size:14px}.portal-auth-story .portal-art{width:270px;height:270px;align-self:center;filter:drop-shadow(0 30px 25px #050c1c1a);margin:-20px 0}.portal-auth-story>a:last-child{font-size:12px;text-decoration:none;color:#c6d1e1}.portal-auth-form{padding:48px max(38px,7vw);display:flex;flex-direction:column;justify-content:space-between;gap:70px}.portal-auth-form>.portal-text-link{align-self:flex-end;font-size:12px}.portal-auth-form>div{width:100%;max-width:440px;margin:auto}.portal-auth-form h1{font-size:42px}.portal-auth-form .eyebrow{color:var(--muted);font-size:10px}.portal-auth-form .panel{padding:0;border:0;box-shadow:none;margin-top:30px}.portal-auth-form .panel p{font-size:12px;margin-top:23px}.portal-auth-form form .button.primary{width:100%;margin-top:8px}.portal-auth-form>.portal-small{text-align:center}.portal-auth-form label{font-size:12px}.portal-auth-form input{min-height:48px}.action-note{font-size:12px;color:var(--muted)}
@keyframes portal-enter{from{opacity:.35;transform:translateY(5px)}to{opacity:1;transform:none}}
@media(min-width:1600px){.portal-shell{grid-template-columns:284px minmax(0,1fr)}.portal-sidebar{padding:45px 22px}.portal-welcome .portal-art{width:330px;height:330px}.portal-welcome{padding:45px 46px}}
@media(max-width:1199px){.portal-shell{grid-template-columns:235px minmax(0,1fr)}.portal-content{padding:24px 28px 0}.portal-topbar{padding:18px 28px}.portal-sidebar{padding:30px 12px 24px}.portal-brand{margin-bottom:32px}.portal-welcome{padding:30px}.portal-welcome .portal-art{width:225px;height:225px;margin:0 -25px 0 -15px}.portal-welcome h1{font-size:42px}.portal-two-column{gap:18px;grid-template-columns:1fr 1fr}.panel{padding:24px}.portal-user>span{max-width:180px;overflow:hidden;text-overflow:ellipsis}.portal-auth-story{padding:45px}.portal-auth-form{padding:45px}}
@media(max-width:900px){.portal-shell{display:block}.portal-sidebar{display:none;position:fixed;top:72px;left:0;width:270px;height:calc(100dvh - 72px);z-index:20;box-shadow:25px 0 65px #13223940}.portal-shell.menu-open .portal-sidebar{display:flex}.portal-menu{display:block;background:#f1f4f9;color:var(--ink);font-size:19px;min-width:40px;min-height:40px;border-radius:8px}.portal-topbar{min-height:72px;padding:14px 24px;gap:12px}.portal-topbar>div:nth-child(2){margin-right:auto}.portal-breadcrumb{display:none}.portal-content{padding:20px 28px 0}.portal-welcome .portal-art{width:250px;height:250px}.portal-welcome h1{font-size:46px}.portal-auth-story{padding:36px}.portal-auth-form{padding:36px}.portal-auth-story .portal-art{width:230px;height:230px}.portal-auth-story h2{font-size:45px}.portal-auth-form h1{font-size:36px}}
@media(max-width:620px){.portal-content{padding:16px 18px 0}.portal-topbar{padding:12px 18px}.portal-user{gap:8px}.portal-user>span{display:none}.portal-topbar strong{font-size:11px}.portal-account-context{display:block;margin-bottom:18px}.portal-context-label{font-size:11px}.portal-company-picker{margin-top:12px;flex-wrap:wrap}.portal-company-picker label{width:100%}.portal-company-picker select{flex:1;max-width:none}.portal-welcome{padding:30px 24px;display:block;position:relative;min-height:0}.portal-welcome h1{font-size:39px}.portal-welcome .eyebrow{font-size:9px;letter-spacing:.1em}.portal-welcome p{font-size:13px;max-width:300px}.portal-welcome .portal-art{width:135px;height:135px;position:absolute;right:-28px;top:-25px;opacity:.14;z-index:0;margin:0}.portal-welcome .portal-actions{gap:18px}.portal-welcome .portal-actions .button{font-size:12px}.portal-metrics{gap:8px;margin:14px 0 24px}.portal-metrics article{padding:15px 12px;gap:8px}.portal-metrics article>span{font-size:10px;line-height:1.4;min-height:28px}.portal-metrics strong{font-size:28px}.portal-metrics small{font-size:10px;line-height:1.45}.portal-two-column,.portal-option-grid,.portal-guide-grid{grid-template-columns:1fr}.panel{padding:22px;margin-bottom:18px}.portal-section-heading{min-height:132px;gap:5px;margin-bottom:20px}.portal-section-heading .portal-art{width:90px;height:90px;margin-right:-12px}.portal-section-heading .eyebrow{font-size:9px;letter-spacing:.09em;margin-bottom:12px}.portal-section-heading h1{font-size:33px}.portal-section-heading p{font-size:12px;margin-bottom:0}.portal-card-heading{gap:12px;flex-wrap:wrap}.portal-card-heading h2{font-size:19px}.portal-square-icon{width:38px;height:38px}.portal-badge{font-size:10px}.portal-card-heading>.portal-badge{margin-left:auto}.portal-card-heading>div{flex-basis:160px}.portal-facts{gap:16px}.portal-facts dd{font-size:12px}.portal-actions .button{font-size:12px;padding:10px 14px}.portal-allowance{display:block}.portal-allowance>span{display:block}.portal-allowance strong{font-size:42px}.portal-guide{margin:0}.portal-guide-grid{gap:12px}.portal-help-contact{display:block}.portal-help-contact .button{margin-top:18px}.portal-footer{font-size:10px;flex-wrap:wrap;gap:12px;padding:22px 0}.portal-footer span{width:100%}.portal-empty{padding-top:20px}.portal-empty .portal-art{display:none}.portal-reference{max-width:220px}.portal-auth{display:block}.portal-auth-story{padding:26px 28px;gap:0;min-height:0}.portal-auth-logo{width:180px}.portal-auth-story>div,.portal-auth-story .portal-art,.portal-auth-story>a:last-child{display:none}.portal-auth-form{padding:26px 28px;min-height:calc(100dvh - 110px);gap:42px}.portal-auth-form>.portal-text-link{font-size:11px}.portal-auth-form>div{margin:10px auto}.portal-auth-form h1{font-size:36px}.portal-auth-form>.portal-small{font-size:11px}.portal-auth-form .panel p{font-size:12px}.portal-auth-form form .button{min-height:48px}}
@media(prefers-reduced-motion:reduce){.portal-pane{animation:none}*{scroll-behavior:auto!important}}

.portal-user .button.primary{background:transparent;color:var(--muted);padding:5px 0;border:0;border-radius:0}.portal-user .button.primary:hover{color:var(--ink);text-decoration:underline}

/* Scoped client self-service refinements; existing action forms are retained. */
.portal-findbar{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:0 0 22px}.portal-findbar>label:first-child{flex:1;min-width:180px;max-width:420px}.portal-findbar input{width:100%;padding-left:16px}.portal-findbar>p{margin:0 0 0 auto;font-size:12px}.portal-findbar select{font-size:13px;min-width:150px}.portal-calendar-empty h2{font-size:23px}.portal-calendar-empty>p{font-size:14px}.portal-billing-tools{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:-8px 0 22px}.portal-billing-tools>p{margin:0}.portal-billing-tools .button{font-size:12px;min-height:42px}.portal-agreement .button{margin-top:20px;font-size:12px}.portal-download-history{list-style:none;margin:0;padding:0;display:grid;gap:0}.portal-download-history li{display:grid;grid-template-columns:1fr auto;gap:7px 20px;padding:17px 0;border-bottom:1px solid var(--line);font-size:12px}.portal-download-history li:last-child{border-bottom:0}.portal-download-history li>span{display:flex;align-items:center;gap:10px}.portal-download-history svg{width:18px;height:18px;color:var(--muted)}.portal-download-history small{grid-column:1/-1;font-size:11px;color:var(--muted);padding-left:28px}.portal-download-history time{color:var(--muted);font-size:11px}.portal-print-heading{display:none}
@media(max-width:620px){.portal-findbar{gap:10px}.portal-findbar>label:first-child{max-width:none;flex-basis:100%}.portal-findbar input,.portal-findbar select{font-size:16px}.portal-findbar>p{font-size:11px}.portal-billing-tools{align-items:flex-start;flex-direction:column;gap:12px}.portal-download-history li{grid-template-columns:1fr;gap:8px}.portal-download-history time{padding-left:28px}.portal-download-history small{font-size:10px}}
@media print{
 @page{margin:18mm}
 body.billing-portal{background:white!important;color:#15253b!important}
 .portal-sidebar,.portal-topbar,.portal-account-context,.portal-footer,.portal-art,.portal-no-print,.portal-status,.portal-skip,.portal-billing-tools,.portal-help-contact,form{display:none!important}
 .portal-shell,.portal-main,.portal-content{display:block!important;width:auto!important;margin:0!important;padding:0!important;max-width:none!important}
 .portal-pane[hidden],[hidden]{display:none!important}
 .portal-pane{animation:none!important}
 .portal-section-heading{min-height:0;margin-bottom:24px}.portal-section-heading h1{font-size:30px}.portal-section-heading .eyebrow{font-size:10px}
 .portal-print-heading{display:block;margin:0 0 25px}.portal-print-heading h2{font-size:19px}.portal-print-heading p{font-size:11px}
 .panel{border:0!important;box-shadow:none!important;padding:0!important;margin:0 0 26px!important;break-inside:avoid}
 .portal-details{break-inside:avoid}.portal-agreement>summary{font-size:13px}.portal-agreement .preserve-lines{font-size:11px;line-height:1.65}
 .table-wrap{overflow:visible;border:0}.portal-reference{max-width:none}th,td{font-size:10px;padding:10px 8px}.portal-service{padding:16px 0}.portal-badge{border:1px solid #c4cddb}
}

/* Account feedback: one message, in the section where the action happened. */
.portal-auth-form .billing-password{margin-top:8px;margin-bottom:20px;align-items:stretch}
.portal-problem-message{display:flex;gap:14px;align-items:flex-start;padding:19px;border:1px solid #e6c97b;background:#fff7df;border-radius:16px;color:#664a0a}
.portal-problem-message>span{flex:0 0 30px;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#f4c932;color:#263649;font-weight:800;font-size:19px}
.portal-auth-form .panel .portal-problem-message p{margin:3px 0 0;font-size:14px;line-height:1.6}
.portal-problem .portal-actions{align-items:center;gap:18px}
.portal-problem .portal-actions .button{margin:0}
.portal-saved-message{display:flex;align-items:flex-start;gap:14px;padding:19px 20px;margin:0 0 22px;background:#e9f6ef;border:1px solid #9acdb3;border-radius:16px;color:#175b3e}
.portal-saved-message>span{flex:0 0 30px;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#1b694a;color:#fff;font-size:19px}
.portal-saved-message strong{font-size:15px}.portal-saved-message p{margin:5px 0 0;font-size:13px;line-height:1.6}
.portal-saved-message>div{flex:1;min-width:0}.portal-saved-message button{flex:0 0 36px;border:0;background:transparent;color:#175b3e;cursor:pointer;border-radius:8px;width:36px;height:36px;font-size:26px;line-height:1}
.portal-saved-message button:hover{background:#d0eadc}.portal-saved-message[hidden]{display:none}
@media(max-width:560px){.portal-saved-message{padding:16px 13px;gap:10px}.portal-saved-message button{flex-basis:30px;width:30px}.portal-problem .portal-actions{align-items:stretch;flex-direction:column}.portal-problem .portal-text-link{justify-content:center}}

/* Client status cues; all licensing and billing actions retain their original rules. */
.portal-download-ready{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;margin:22px 0 16px;color:#176a4a;font-size:12px}.portal-download-ready>span:first-child{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#e6f6ee;font-weight:800}.portal-download-ready>span:last-child{color:#60736d}.portal-download-state{display:flex;align-items:flex-start;gap:16px;border:1px solid #e9dfbd;background:#fffcf2;border-radius:12px;padding:22px;margin:24px 0}.portal-download-state.preparing{background:#f4f7ff;border-color:#dae3f8}.portal-state-symbol{display:grid;place-items:center;width:40px;height:40px;border-radius:11px;background:#f5eac6;color:#7b611a;flex-shrink:0}.portal-state-symbol svg{width:20px;height:20px}.preparing .portal-state-symbol{background:#e5edff;color:#3553a2}.portal-download-state h3{font-size:15px;margin:0 0 8px;line-height:1.4}.portal-download-state p{font-size:13px;margin:0;color:#655d48;line-height:1.7}.portal-download-state.preparing p{color:#586983}.portal-download-state a{display:inline-flex;align-items:center;gap:12px;font-size:12px;font-weight:650;min-height:36px;margin-top:10px;text-underline-offset:4px}.portal-download-state a svg{width:16px;height:16px}.portal-calendar-link-copy{min-height:44px}.portal-copy-result{font-size:12px;color:#176a4a;margin:12px 0 0}.portal-copy-result.error{color:#9b392e}.portal-copy-result[hidden]{display:none}
@media(max-width:600px){.portal-download-state{padding:18px;gap:12px}.portal-state-symbol{width:34px;height:34px;border-radius:9px}.portal-download-state h3{font-size:14px}.portal-download-ready>span:last-child{width:100%;padding-left:36px}.portal-download-state p{font-size:12px}}
@media(forced-colors:active){.portal-download-state,.portal-state-symbol{border:1px solid CanvasText}}


/* Keyboard navigation stays visible without competing with the client design. */
.portal-skip-link{position:fixed;top:12px;left:12px;z-index:1000;transform:translateY(-180%);padding:12px 18px;background:#f6cc00;color:#172b45;font-weight:700;border-radius:10px;text-decoration:none;box-shadow:0 8px 28px #11243e26}
.portal-skip-link:focus{transform:translateY(0);outline:3px solid #4263ff;outline-offset:3px}
.portal-shell h1[tabindex="-1"]:focus-visible,.portal-content:focus-visible{outline:3px solid #4263ff;outline-offset:5px;border-radius:4px}
@media(forced-colors:active){.portal-skip-link:focus,.portal-shell h1[tabindex="-1"]:focus-visible,.portal-content:focus-visible{outline-color:Highlight}}

/* One local request message; completion remains server-confirmed. */
.portal-form-feedback{margin-top:16px;padding:14px 18px;border:1px solid #c9d9ee;border-radius:12px;background:#f3f7fc;color:#23456a;font-size:14px;line-height:1.6}
.portal-form-feedback[hidden]{display:none!important}
.portal-download-request{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}
.portal-download-request .button{flex:none;min-height:44px;background:#fff}
.billing-portal form[aria-busy=true]>button[type=submit]{opacity:.65;cursor:wait}
.portal-topbar .portal-form-feedback{position:absolute;right:24px;top:62px;z-index:35;max-width:calc(100vw - 48px);box-shadow:0 8px 24px #14263e14}
@media(max-width:600px){.portal-form-feedback{font-size:13px}.portal-download-request{align-items:flex-start}.portal-download-request .button{width:100%}}
@media print{.portal-form-feedback,.portal-skip-link{display:none!important}}
@media(forced-colors:active){.portal-form-feedback{border-color:CanvasText}.billing-portal button:disabled{color:GrayText}}

.billing-portal form[data-portal-action=download]>button[type=submit]:disabled{opacity:.5;cursor:default}

/* Long account labels and complete multi-page billing records. */
.portal-company-picker{min-width:0;max-width:100%}
.portal-company-picker select{min-width:0}
@media(max-width:640px){
  .portal-company-picker select{flex:1 1 180px;max-width:100%}
}
@media print{
  #portal-billing > .panel,
  #portal-billing .portal-agreement{break-inside:auto}
  #portal-billing h2,
  #portal-billing h3,
  #portal-billing .portal-agreement > summary,
  #portal-billing .portal-print-heading{break-after:avoid}
  #portal-billing tr{break-inside:avoid}
  #portal-billing thead{display:table-header-group}
  #portal-billing .portal-agreement .preserve-lines{orphans:3;widows:3}
}

.portal-payment-tools{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:18px 0 14px}
.portal-payment-tools label{flex:1 1 230px;max-width:360px;min-width:0;margin:0}
.portal-payment-tools input{width:100%;min-width:0}
.portal-payment-tools p{margin:0}
.portal-payment-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:18px}
.portal-payment-pagination .button{min-height:42px}
.portal-payment-empty{padding:22px 0;text-align:center}
.portal-payment-empty p{margin:0 0 12px}
@media(max-width:430px){.portal-payment-tools{gap:10px}.portal-payment-tools label{max-width:none;flex-basis:100%}.portal-payment-pagination{gap:8px}.portal-payment-pagination .button{padding-inline:12px}.portal-payment-pagination>span{font-size:11px}}

/* A concise calendar summary, derived from existing account visibility. */
.portal-overview-context h2{overflow-wrap:anywhere}
.portal-overview-context>p{font-size:13px;line-height:1.75;margin:15px 0 0}
.portal-overview-context>.portal-text-link{margin-top:18px}
.portal-overview-status{display:flex;align-items:center;flex-wrap:wrap;gap:10px 14px;margin-top:16px}
.portal-overview-status .portal-badge{display:inline-flex;align-items:center;gap:6px}
.portal-overview-status .portal-badge>span{font-size:8px}
.portal-badge.attention{background:#fff4d7;color:#795714}
.portal-next:has(.portal-overview-context) .portal-quick-links{margin-top:12px}
@media(max-width:640px){.portal-overview-context h2{font-size:26px}}
@media(forced-colors:active){.portal-overview-status .portal-badge{border:1px solid CanvasText}}

/* Simple website connection choices with the original embed URL and default. */
.portal-height-picker{border:0;padding:0;margin:24px 0 26px;min-width:0}
.portal-height-picker[hidden]{display:none!important}
.portal-height-picker legend{font-size:14px;font-weight:650;margin-bottom:15px;padding:0;display:flex;align-items:center;gap:12px}
.portal-connect-number{display:inline-grid;place-items:center;flex:0 0 28px;width:28px;height:28px;border-radius:50%;background:#edf2f8;color:#526a88;font-size:12px;font-weight:700}
.portal-height-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.portal-height-options>label{position:relative;display:block;margin:0;cursor:pointer;min-width:0}
.portal-height-options input{position:absolute;width:1px;height:1px;margin:0;opacity:0}
.portal-height-choice{display:flex;flex-direction:column;align-items:center;gap:5px;min-height:126px;padding:14px 10px;border:1px solid var(--line);border-radius:12px;background:#fff;text-align:center;color:#536983;transition:border-color .12s,background .12s}
.portal-height-choice svg{width:36px;height:36px;margin-bottom:3px}.portal-height-choice strong{font-size:13px;color:var(--ink)}
.portal-height-choice small{font-size:11px;line-height:1.4}
.portal-height-options input:checked+.portal-height-choice{border:2px solid var(--cobalt);padding:13px 9px;background:#f2f5ff;color:var(--cobalt)}
.portal-height-options input:focus-visible+.portal-height-choice{outline:3px solid var(--cobalt);outline-offset:4px}
.portal-height-options label:hover .portal-height-choice{border-color:#899ec1}
.portal-connect-step{display:flex;align-items:flex-start;gap:12px;margin-top:24px}
.portal-connect-step>div{flex:1;min-width:0}.portal-connect-step h3{font-size:14px;margin:3px 0 12px}
.portal-connect-step p{font-size:13px;margin:10px 0 0}.portal-connect-step .button{margin:0}
.portal-embed-code{margin-top:18px}.portal-embed-code>summary{font-size:12px;color:var(--muted);text-underline-offset:3px}
.portal-embed-code[open]>summary{margin-bottom:14px}
.portal-connection .portal-copy-result.error{color:#923c27}
@media(max-width:600px){.portal-height-options{gap:8px}.portal-height-choice{min-height:112px;padding:12px 6px}.portal-height-options input:checked+.portal-height-choice{padding:11px 5px}.portal-height-choice small{font-size:10px}.portal-height-choice strong{font-size:12px}.portal-height-choice svg{width:30px;height:30px}.portal-connect-step .button{width:100%}}
@media(forced-colors:active){.portal-height-options input:checked+.portal-height-choice{border-color:Highlight;outline:1px solid Highlight}.portal-height-options input:focus-visible+.portal-height-choice{outline-color:Highlight}}
@media(prefers-reduced-motion:reduce){.portal-height-choice{transition:none}}

/* Current client navigation remains identifiable when brand fills are suppressed. */
@media(forced-colors:active){
  .portal-sidebar [aria-current=page]{outline:2px solid Highlight;outline-offset:-3px}
}

/* Comparable plan cards; the original prices, renewal terms and forms remain intact. */
.portal-plan-tools{display:flex;align-items:flex-end;flex-wrap:wrap;gap:16px;margin:24px 0}
.portal-plan-tools[hidden]{display:none!important}
.portal-plan-tools>label{flex:1 1 190px;max-width:280px;margin:0;font-size:12px}
.portal-plan-tools select{width:100%;min-width:0;min-height:44px;margin-top:7px}
.portal-plan-tools>p{margin:0 0 12px auto;font-size:12px}
.portal-plan-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:24px}
.portal-plan-card{display:flex;flex-direction:column;min-width:0;padding:24px;border:1px solid var(--line);border-radius:16px;background:linear-gradient(155deg,#f6f8fc,#fff 45%)}
.portal-plan-card[hidden]{display:none!important}
.portal-plan-card-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:22px}
.portal-plan-card h3{font:550 25px/1.2 'Source Serif 4',Georgia,serif;letter-spacing:-.02em;overflow-wrap:anywhere}
.portal-plan-card .portal-plan-description{font-size:13px;line-height:1.7;margin:14px 0 20px;overflow-wrap:anywhere;white-space:pre-line}
.portal-plan-card .portal-price{font-size:clamp(24px,2.5vw,31px);line-height:1.25;overflow-wrap:anywhere;margin:0 0 12px}
.portal-plan-card .portal-price small{display:block;font-size:12px;margin-top:7px;color:var(--muted)}
.portal-plan-renewal{font-size:12px;line-height:1.65;margin:0 0 15px}
.portal-plan-allowance{font-size:13px;color:var(--ink);padding:12px 0;border-top:1px solid var(--line);margin:0 0 14px}
.portal-plan-card form{margin-top:auto;padding-top:12px}
.portal-plan-card form label{font-size:12px}
.portal-plan-card form .button{width:100%;min-height:44px}
.portal-plan-empty{padding:32px 16px;text-align:center}
.portal-plan-empty p{font-size:13px}
@media(max-width:680px){
  .portal-plan-grid{grid-template-columns:1fr;gap:16px}
  .portal-plan-card{padding:22px}
  .portal-plan-tools{gap:14px}
  .portal-plan-tools>label{max-width:none}
  .portal-plan-tools>p{flex-basis:100%;margin:0}
}
@media(forced-colors:active){.portal-plan-card{border-color:CanvasText}.portal-plan-allowance{border-color:CanvasText}}

/* A quiet reminder for an unsaved local preference, separate from saved receipts. */
.portal-preferences-draft{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 18px;margin:22px 0;border:1px solid #e6d6a8;border-radius:12px;background:#fffbeb;color:#654c12}
.portal-preferences-draft[hidden]{display:none!important}
.portal-preferences-draft strong{font-size:13px}
.portal-preferences-draft p{font-size:12px;line-height:1.6;margin:4px 0 0;color:#654c12}
.portal-preferences-draft .button{flex-shrink:0;min-height:44px;font-size:12px}
@media(max-width:480px){.portal-preferences-draft{align-items:flex-start;flex-direction:column;gap:12px;padding:16px}.portal-preferences-draft .button{width:100%}}
@media(forced-colors:active){.portal-preferences-draft{border-color:CanvasText}}

/* Native links and forms remain usable before optional interaction loads. */
.portal-shell:not(.portal-enhanced) .portal-findbar,
.portal-shell:not(.portal-enhanced) [data-portal-copy],
.portal-shell:not(.portal-enhanced) [data-portal-link-copy],
.portal-shell:not(.portal-enhanced) [data-portal-agreement-copy],
.portal-shell:not(.portal-enhanced) [data-portal-print],
.portal-shell:not(.portal-enhanced) [data-portal-dismiss-saved]{display:none}
@media screen and (max-width:900px){
 .portal-shell:not(.portal-enhanced) .portal-sidebar{display:flex;position:static;width:auto;height:auto;box-shadow:none;padding:22px 24px}
 .portal-shell:not(.portal-enhanced) .portal-brand{margin:0 12px 22px}
 .portal-shell:not(.portal-enhanced) .portal-brand img{width:190px}
 .portal-shell:not(.portal-enhanced) .portal-sidebar nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
 .portal-shell:not(.portal-enhanced) .portal-sidebar nav a{font-size:12px;padding:9px 10px;gap:9px;min-width:0;overflow-wrap:anywhere}
 .portal-shell:not(.portal-enhanced) .portal-sidebar-footer{padding-top:22px;gap:12px}
 .portal-shell:not(.portal-enhanced) .portal-sidebar-footer .portal-label{display:none}
 .portal-shell:not(.portal-enhanced) .portal-menu{display:none}
}
@media screen and (max-width:360px){
 .portal-shell:not(.portal-enhanced) .portal-sidebar{padding:20px 16px}
 .portal-shell:not(.portal-enhanced) .portal-sidebar nav{grid-template-columns:1fr}
}

/* Optional designer handoff stays behind a native disclosure. */
.portal-setup-brief{margin-top:20px;border:1px solid var(--line);border-radius:12px;padding:0 16px;background:#f8fafd}
.portal-setup-brief>summary{cursor:pointer;font-weight:600;padding:16px 0;color:var(--ink)}
.portal-setup-brief>p{font-size:13px;line-height:1.6;margin:0 0 14px}
.portal-setup-brief>label{display:block;font-size:12px;font-weight:600;margin:18px 0 8px}
.portal-setup-brief textarea.portal-brief-text{width:100%;min-height:190px;resize:vertical;font:12px/1.65 Inter,system-ui,sans-serif;white-space:pre-wrap;color:var(--ink);background:white;border:1px solid var(--line);border-radius:8px;padding:12px;margin-bottom:16px;box-sizing:border-box}
.portal-shell:not(.portal-enhanced) [data-portal-brief-copy]{display:none!important}
@media(max-width:600px){.portal-setup-brief{padding:0 12px}.portal-setup-brief textarea.portal-brief-text{font-size:13px}}
@media(forced-colors:active){.portal-setup-brief{border-color:CanvasText}.portal-setup-brief textarea.portal-brief-text{border-color:CanvasText;background:Canvas;color:CanvasText}}

/* Small-screen account entry keeps the next step close to its message. */
@media(max-width:620px){
 .portal-auth-form{padding:22px 24px;justify-content:flex-start;gap:20px}
 .portal-auth-form>div{margin:0 auto}
 .portal-auth-form>.portal-small{margin-top:auto;padding-top:20px}
 .portal-auth-form form,.portal-auth-form form>label{grid-template-columns:minmax(0,1fr);min-width:0}
 .portal-auth-form input{min-width:0;width:100%;font-size:16px}
 .portal-auth-form .billing-password{min-width:0}
}
