/* Client Portal and RS case workspace; no public-home styles. */
.client-portal-mode{background:var(--relo-theme-tint,#eef3f8)}.client-portal-mode #content{max-width:1440px;padding:28px 24px 60px}.client-portal-mode .header{background:var(--relo-theme-surface,white)}
.client-portal-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:34px;align-items:start;min-height:65vh;color:var(--relo-theme-text,#102f4c)}.client-portal-sidebar{position:sticky;top:20px;padding-top:4px}.client-portal-sidebar h1{font-size:25px!important;line-height:1.3;letter-spacing:-.5px;margin:0 0 10px}.portal-account{font-size:14px;color:var(--relo-theme-text,#4b6378);overflow-wrap:anywhere;margin-bottom:24px}.client-portal-sidebar nav{display:grid;gap:6px;margin-bottom:26px}.portal-section-link{border:0;border-radius:7px;text-align:left;background:transparent;font-size:16px;font-weight:500;padding:14px 12px;min-height:50px;color:var(--relo-theme-text,#102f4c);cursor:pointer}.portal-section-link[aria-current=page]{background:#102f4c;color:white;font-weight:700}.client-portal-sidebar>.btn{width:100%;font-size:14px;white-space:normal}
.client-portal-body{min-width:0}.client-portal-pane>h2{font-size:30px!important;margin:0 0 24px;letter-spacing:-.6px}.client-portal-pane[hidden]{display:none}.portal-status{display:flex;justify-content:space-between;align-items:start;gap:20px;border-bottom:1px solid var(--relo-theme-border,#b7c8d7);padding:0 0 24px;margin:0 0 24px}.portal-status h3{font-size:24px;margin:0 0 8px}.portal-status p{margin:0;color:var(--relo-theme-text,#486275)}.portal-status-label{border:1px solid var(--relo-theme-border,#b3c9d8);border-radius:5px;background:var(--relo-theme-tint,#e2edf5);color:var(--relo-theme-text,#163d5e);font-size:13px;font-weight:600;padding:9px 12px;line-height:1.4;white-space:nowrap}.portal-specialist{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:20px;background:var(--relo-theme-surface,white);border-left:4px solid var(--relo-theme-border,#50789c);margin-bottom:22px}.portal-specialist h3{font-size:17px;margin:0}.portal-specialist p{flex:1;font-size:15px;margin:0;min-width:160px}.portal-specialist .btn{font-size:14px}
.portal-quotes{display:grid;gap:16px}.portal-quote{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 24px;padding:24px;background:var(--relo-theme-surface,white);border:1px solid var(--relo-theme-border,#b8cad9);border-radius:10px;align-items:center;margin:0 0 16px}.portal-quote h3{font-size:21px;line-height:1.3;margin:0 0 8px}.portal-quote-tier{font-size:15px;color:var(--relo-theme-text,#526b80);margin:0}.portal-quote-total{font-size:28px;font-weight:700;letter-spacing:-.4px}.portal-quote>.btn{grid-column:1/-1;justify-self:start;font-size:14px;min-height:46px}.portal-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:26px 0}.portal-shortcut{font-size:16px;font-weight:600;text-align:left;padding:20px 16px;border:1px solid var(--relo-theme-border,#b8cad9);border-radius:7px;background:var(--relo-theme-surface,white);color:var(--relo-theme-text,#102f4c);min-height:80px;cursor:pointer}
.portal-form{display:grid;gap:14px;max-width:680px}.portal-form .field{margin:0}.portal-form input,.portal-form select,.portal-form textarea{font:inherit;min-height:50px;width:100%;padding:12px;border:1px solid var(--relo-theme-border,#748da2);border-radius:6px;background:var(--relo-theme-surface,white);color:var(--relo-theme-text,#102f4c)}.portal-form label{font-size:16px;color:var(--relo-theme-text,#173b58)}.portal-form .btn{justify-self:start;min-height:50px}.portal-form .access-error:empty{display:none}.portal-form .access-error{font-size:15px;line-height:1.5;margin:0}
.portal-conversations>h2{font-size:24px}.portal-conversations>.portal-form{background:var(--relo-theme-surface,white);border:1px solid var(--relo-theme-border,#b8cad9);padding:22px;border-radius:8px;max-width:none;margin-bottom:28px}.portal-thread{border:1px solid var(--relo-theme-border,#b8cad9);border-radius:8px;background:var(--relo-theme-surface,white);margin:16px 0;padding:0 20px 20px}.portal-thread>summary{display:list-item;list-style:disclosure-closed;cursor:pointer;font-size:18px;font-weight:700;padding:18px 0;min-height:52px}.portal-thread[open]>summary{list-style:disclosure-open}.portal-message{padding:16px;border-left:3px solid var(--relo-theme-border,#6a8ca9);background:var(--relo-theme-tint,#f0f5f9);margin:12px 0;max-width:90%;overflow-wrap:anywhere}.portal-message.is-mine{margin-left:auto;background:var(--relo-theme-tint,#e3edf6);border-left:0;border-right:3px solid var(--relo-theme-border-strong,#163d5e)}.portal-message>strong{font-size:14px}.portal-message p{white-space:pre-wrap;font-size:16px;line-height:1.7;margin:8px 0}.portal-message time{font-size:12px;color:var(--relo-theme-text,#50697d)}.portal-thread .portal-form{max-width:none;margin-top:20px}
.portal-resources{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.portal-resource{padding:22px;background:var(--relo-theme-surface,white);border:1px solid var(--relo-theme-border,#b8cad9);border-radius:8px;display:flex;flex-direction:column;align-items:start}.portal-resource h3{font-size:21px;line-height:1.4;margin:6px 0 12px}.portal-resource p{font-size:16px;line-height:1.6;margin:0 0 20px}.portal-resource .btn{margin-top:auto;font-size:14px}.portal-content-body{white-space:pre-wrap;line-height:1.8;font-size:17px}.portal-empty{padding:26px;border:1px solid var(--relo-theme-border,#b8cad9);background:var(--relo-theme-surface,white);border-radius:8px}.portal-empty h3{font-size:20px;margin-top:0}.portal-empty p{font-size:16px;line-height:1.7}.portal-email{font-size:18px;font-weight:600;overflow-wrap:anywhere}.portal-amounts>div{display:flex;justify-content:space-between;gap:20px;padding:14px 0;border-bottom:1px solid var(--relo-theme-border,#c5d3de);font-size:17px}.portal-amounts dd{font-weight:700;margin:0;white-space:nowrap}
.case-workspace-heading{display:flex;gap:18px;align-items:center;margin-bottom:24px;flex-wrap:wrap}.case-workspace-heading :is(h1,h2){font-size:25px;margin:0}.case-workspace-heading p{margin:8px 0 0;overflow-wrap:anywhere}.case-workspace-heading .portal-status-label{margin-left:auto}.case-workspace-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.case-workspace-grid>.panel{min-width:0}.case-workspace-grid .portal-quote{grid-template-columns:1fr;padding:18px}.case-workspace-grid .portal-resources{grid-template-columns:1fr}.case-resource-assignment{border-top:1px solid var(--relo-theme-border,#c3d3df);padding:14px 0;display:flex;align-items:center;justify-content:space-between;gap:18px}.case-resource-assignment p{font-size:15px;margin:0}.case-resource-assignment .btn{font-size:13px;white-space:normal}.access-card .access-feedback{font-size:16px;line-height:1.7;color:var(--relo-theme-text,#173b58)}
@media(max-width:950px){.client-portal-layout{grid-template-columns:190px minmax(0,1fr);gap:22px}.portal-shortcuts{grid-template-columns:1fr}.portal-resources,.case-workspace-grid{grid-template-columns:1fr}.portal-status{display:block}.portal-status-label{display:inline-block;margin-top:14px}.portal-quote-total{font-size:25px}}
@media(max-width:650px){.client-portal-mode #content{padding:18px 14px 40px}.client-portal-layout{grid-template-columns:1fr;gap:24px}.client-portal-sidebar{position:static}.client-portal-sidebar nav{display:flex;overflow-x:auto;padding-bottom:8px;margin-bottom:14px;gap:6px}.portal-section-link{white-space:nowrap;font-size:14px;min-height:48px;padding:12px}.client-portal-sidebar h1{font-size:24px!important}.portal-account{font-size:14px;margin-bottom:14px}.client-portal-sidebar>.btn{width:auto}.client-portal-pane>h2{font-size:26px!important;margin-bottom:18px}.portal-status h3{font-size:22px}.portal-quote{padding:18px;grid-template-columns:1fr;gap:14px}.portal-quote h3{font-size:20px}.portal-shortcuts{gap:10px;margin-top:18px}.portal-shortcut{min-height:60px;padding:16px}.portal-message{max-width:100%;padding:14px}.portal-thread{padding:0 14px 16px}.portal-conversations>.portal-form{padding:16px}.portal-form .btn{width:100%}.portal-amounts>div{font-size:15px;flex-wrap:wrap}.case-resource-assignment{display:block}.case-resource-assignment .btn{margin-top:10px}.case-workspace-heading .portal-status-label{margin:0}.portal-specialist .btn{width:100%}}

body.client-portal-mode [data-relo-contact]{display:none}

body.admin-mode [data-relo-contact]{display:none}
.client-portal-layout,.client-portal-sidebar{min-width:0;max-width:100%}
@media(max-width:650px){.client-portal-layout{grid-template-columns:minmax(0,1fr)}.client-portal-sidebar nav{max-width:100%;min-width:0}.portal-section-link{flex-shrink:0}}
.portal-mobile-sections{display:none}
@media(max-width:650px){.client-portal-mode .header{padding:12px 14px;gap:12px;flex-wrap:nowrap}.client-portal-mode .header .brand img{width:140px;height:auto}.client-portal-mode .header .nav{flex-wrap:nowrap;gap:6px}.client-portal-mode .header .nav :is(a,button){font-size:13px;min-height:44px;padding:8px 10px}.client-portal-sidebar nav{display:none}.portal-mobile-sections{display:grid;gap:8px;margin-bottom:14px;font-size:14px}.portal-mobile-sections select{width:100%;min-height:50px;font-size:16px;padding:10px;border:1px solid var(--relo-theme-border,#718b9e);border-radius:6px;background:var(--relo-theme-surface,white);color:var(--relo-theme-text,#102f4c)}}

.portal-quote-actions{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:10px}.portal-quote-actions .btn{font-size:14px;min-height:48px}.portal-profile-prompt{padding:22px;background:var(--relo-theme-surface,#fff);border:2px solid var(--relo-theme-border-strong,#275a81);border-radius:8px;margin:22px 0}.portal-profile-prompt h3{font-size:21px;margin:0 0 10px}.portal-phone{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}.portal-phone>input{grid-column:1/-1}.portal-phone>input[hidden]{display:none}@media(max-width:650px){.portal-phone{grid-template-columns:minmax(0,1fr)}.portal-quote-actions{display:grid;grid-template-columns:minmax(0,1fr);width:100%}.portal-quote-actions .btn{width:100%}}

.portal-quote-history{border-top:1px solid var(--relo-theme-border,#aec3d4);padding-top:18px;margin-top:28px}.portal-quote-history>summary{cursor:pointer;font-weight:600;min-height:48px;line-height:1.6;padding:10px 0;color:var(--relo-theme-text,#244e6f)}.portal-quote-history>p{font-size:15px;color:var(--relo-theme-text,#486275)}
/* Client application shell: shared by a saved quote and a verified account. */
.client-portal-mode{--portal-navy:#102f49;--portal-ink:#102f49;--portal-muted:#4e6478;--portal-line:#c5d2de;--portal-teal:#17694f;background:var(--relo-theme-tint,#eef3f7);color:var(--relo-theme-text,var(--portal-ink))}
.client-portal-mode #content{max-width:none;padding:0}
.client-portal-mode .header{min-height:72px;padding:14px 28px;border-bottom:1px solid var(--relo-theme-border,var(--portal-line))}
.portal-workspace{grid-template-columns:232px minmax(0,1fr);gap:0;align-items:stretch;min-height:calc(100dvh - 72px)}
.portal-workspace .client-portal-sidebar{background:var(--portal-navy);color:#fff;min-height:calc(100dvh - 72px);padding:28px 16px;position:sticky;top:0;align-self:start}
.portal-workspace-title{padding:0 12px 22px}
.portal-product-name{font-size:24px;font-weight:700;letter-spacing:-.6px;margin:0 0 10px;color:#fff}
.portal-workspace .portal-account{font-size:14px;line-height:1.6;margin:0;color:#d2e1ec;overflow-wrap:anywhere}
.portal-workspace .portal-workspace-nav{display:grid;gap:5px;margin:0}
.portal-workspace .portal-section-link{display:flex;gap:12px;align-items:center;width:100%;padding:14px 12px;min-height:50px;text-decoration:none;border:1px solid transparent;border-radius:7px;color:#e7f0f7;background:transparent;font-size:16px;font-weight:500;line-height:1.4;white-space:normal}
.portal-workspace .portal-section-link:hover{background:#23445f;color:white}
.portal-workspace .portal-section-link[aria-current=page]{background:var(--relo-theme-surface,#fff);color:var(--relo-theme-text,var(--portal-navy));font-weight:700;box-shadow:inset 4px 0 #15816b}
.portal-workspace .portal-section-link:disabled{background:transparent;color:var(--relo-theme-on-primary,#d2e1ec);cursor:default;border-style:dashed;border-color:var(--relo-theme-border,#526d83)}
.portal-workspace .portal-availability{display:block;margin-top:4px;font-size:12px;font-weight:400}
.portal-section-notice:empty{display:none}
.portal-section-notice{padding:12px 16px;border:1px solid var(--relo-theme-border,var(--portal-line));border-radius:6px;background:var(--relo-theme-surface,#fff);color:var(--relo-theme-muted,var(--portal-muted));font-size:16px;line-height:1.5}
.portal-nav-icon{width:21px;height:21px;flex:0 0 21px}
.portal-sidebar-help{border-top:1px solid var(--relo-theme-border,#526d83);padding:22px 12px 0;margin-top:30px}
.portal-workspace .portal-sidebar-help p{font-size:15px;line-height:1.6;color:#d2e1ec;margin:0 0 12px}
.portal-help-button{background:transparent;border:1px solid var(--relo-theme-border,#9cb3c5);border-radius:6px;color:#fff;font:inherit;font-size:15px;min-height:48px;padding:10px 12px;width:100%;cursor:pointer}
.portal-help-button:hover{background:#23445f}
.portal-mobile-menu{display:none}
.portal-workspace .client-portal-body{padding:32px clamp(20px,3.5vw,52px) 60px;max-width:1500px;width:100%;min-width:0}
.portal-page-heading{margin-bottom:22px}
.portal-breadcrumb{font-size:14px;color:var(--relo-theme-muted,var(--portal-muted));margin:0 0 8px}
.portal-page-heading h1{font-size:32px!important;line-height:1.25;letter-spacing:-.7px;margin:0;color:var(--relo-theme-text,var(--portal-ink))}
.portal-page-heading h1:focus{outline:none}
.portal-page-intro{font-size:17px;line-height:1.65;color:var(--relo-theme-muted,var(--portal-muted));max-width:780px;margin:0 0 24px}
.portal-workspace :is(.btn,.portal-dashboard-link){min-height:48px;font-size:16px;line-height:1.45;white-space:normal;text-align:center}
.portal-workspace :is(a,button,input,select,textarea):focus-visible{outline:3px solid var(--relo-theme-focus,#176aaf);outline-offset:3px}
.portal-workspace .client-portal-sidebar :is(a,button):focus-visible{outline-color:var(--relo-theme-focus,#fff)}
.portal-plan-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(270px,320px);background:var(--relo-theme-surface,white);border:1px solid var(--relo-theme-border,var(--portal-line));border-radius:12px;overflow:hidden;margin:0 0 26px}
.portal-plan-main{padding:28px;min-width:0}
.portal-plan-label{font-size:15px;font-weight:600;color:var(--relo-theme-muted,var(--portal-muted));margin:0 0 12px}
.portal-plan-heading{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin-bottom:16px}
.portal-plan-heading h2{font-size:32px;line-height:1.2;letter-spacing:-.6px;margin:0}
.portal-plan-visa{background:var(--relo-theme-tint,#eaf1f7);color:var(--relo-theme-text,#244b6b);padding:7px 11px;border-radius:6px;font-size:15px;font-weight:600}
.portal-plan-main>p:not(.portal-plan-label){font-size:17px;line-height:1.65;color:var(--relo-theme-muted,var(--portal-muted));margin:0 0 22px;max-width:600px}
.portal-plan-facts{display:flex;flex-wrap:wrap;gap:12px 24px;padding:18px 0;border-top:1px solid var(--relo-theme-border,#dbe3ea);border-bottom:1px solid var(--relo-theme-border,#dbe3ea);font-size:16px;line-height:1.5;margin:0 0 22px}
.portal-plan-facts strong{font-size:20px;color:var(--relo-theme-text,var(--portal-teal))}
.portal-plan-actions{display:flex;flex-wrap:wrap;gap:10px}
.portal-plan-price{padding:28px;background:var(--relo-theme-surface,#f5f8fb);border-left:1px solid var(--relo-theme-border,var(--portal-line));min-width:0}
.portal-plan-total{display:block;font-size:34px;font-variant-numeric:tabular-nums;letter-spacing:-.7px;line-height:1.2;margin:0 0 20px}
.portal-price-breakdown{margin:0 0 22px}
.portal-price-breakdown>div{display:flex;align-items:start;justify-content:space-between;gap:14px;margin:0 0 12px;font-size:15px;line-height:1.5}
.portal-price-breakdown dt{color:var(--relo-theme-muted,var(--portal-muted));min-width:0}
.portal-price-breakdown dd{margin:0;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}
.portal-plan-price .btn{width:100%}
.portal-price-note{font-size:14px;line-height:1.5;color:var(--relo-theme-muted,var(--portal-muted));margin:14px 0 0}
.portal-section-card{padding:24px;background:var(--relo-theme-surface,white);border:1px solid var(--relo-theme-border,var(--portal-line));border-radius:10px;margin-bottom:24px;min-width:0}
.portal-section-card h2{font-size:22px;line-height:1.35;margin:0 0 14px}
.portal-section-card>p{font-size:17px;line-height:1.65;color:var(--relo-theme-muted,var(--portal-muted));max-width:760px}
.portal-section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:8px}
.portal-section-heading h2{margin:0}
.portal-count{font-size:15px;font-weight:700;border-radius:5px;background:var(--relo-theme-success-bg,#e8f2ed);color:var(--relo-theme-text,var(--portal-teal));padding:5px 10px;line-height:1.4}
.portal-service-list{list-style:none!important;padding:0!important;margin:10px 0 0!important}
.portal-service-row{display:grid;grid-template-columns:24px minmax(0,1fr) auto;align-items:start;gap:12px;padding:16px 0;border-bottom:1px solid var(--relo-theme-border,#dce4eb)}
.portal-service-row:last-child{border:0;padding-bottom:0}
.portal-service-check{color:var(--relo-theme-text,var(--portal-teal));font-size:21px;font-weight:700;line-height:44px}
.portal-service-info{min-width:0}
.portal-service-name{display:block;background:transparent;border:0;padding:10px 0;min-height:44px;font:inherit;font-weight:650;font-size:17px;color:var(--relo-theme-text,var(--portal-ink));text-align:left;text-decoration:underline;text-decoration-color:#9eb3c3;text-underline-offset:4px;cursor:pointer;line-height:1.45;overflow-wrap:anywhere}
.portal-service-name:hover{color:var(--relo-theme-link,#176aaf);text-decoration-color:currentColor}
.portal-service-preview{font-size:16px;color:var(--relo-theme-muted,var(--portal-muted));line-height:1.65;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.portal-service-state{font-size:15px;font-weight:650;margin-top:12px;white-space:nowrap;font-variant-numeric:tabular-nums}
.portal-service-state.is-included{color:var(--relo-theme-text,var(--portal-teal));background:var(--relo-theme-success-bg,#edf6f1);padding:4px 9px;border-radius:5px;margin-top:8px;font-size:14px}
.portal-service-footer{display:flex;gap:20px;align-items:center;justify-content:space-between;border-top:1px solid var(--relo-theme-border,var(--portal-line));padding-top:20px;margin-top:18px}
.portal-service-footer p{font-size:16px;color:var(--relo-theme-muted,var(--portal-muted));line-height:1.6;margin:0;max-width:550px}
.portal-service-footer .btn{flex-shrink:0}
.portal-dashboard-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.portal-dashboard-link{padding:20px;background:var(--relo-theme-surface,#fff);border:1px solid var(--relo-theme-border,var(--portal-line));border-radius:8px;color:var(--relo-theme-text,var(--portal-ink));font:inherit;font-weight:600;cursor:pointer}
.portal-dashboard-link:hover{border-color:var(--relo-theme-border,#176aaf);color:var(--relo-theme-link,#176aaf)}
.portal-account-access{padding:4px 0;color:var(--relo-theme-muted,var(--portal-muted));max-width:700px}
.portal-account-access h2{font-size:21px;color:var(--relo-theme-text,var(--portal-ink))}
.portal-account-access p{font-size:16px;line-height:1.65}
.portal-document-link{margin-top:20px}
.portal-return{border:0;background:transparent;color:var(--relo-theme-text,#102f49);font:inherit;font-size:15px;cursor:pointer;min-height:44px;padding:10px 8px;text-decoration:underline;text-underline-offset:4px}
@media(max-width:1100px){.portal-plan-card{grid-template-columns:minmax(0,1fr) minmax(250px,290px)}.portal-plan-main,.portal-plan-price{padding:24px}.portal-plan-actions{display:grid;grid-template-columns:1fr}.portal-dashboard-actions{grid-template-columns:1fr}}
@media(max-width:900px){.portal-workspace{grid-template-columns:210px minmax(0,1fr)}.portal-workspace .client-portal-body{padding:26px 22px 44px}.portal-plan-card{grid-template-columns:1fr}.portal-plan-price{border-left:0;border-top:1px solid var(--relo-theme-border,var(--portal-line))}.portal-plan-actions{display:flex}.portal-service-footer{display:block}.portal-service-footer .btn{margin-top:16px}.portal-service-state{grid-column:2;margin:0!important;justify-self:start}.portal-service-row{grid-template-columns:24px minmax(0,1fr)}}
@media(max-width:700px){
 .client-portal-mode .header{padding:12px 16px;min-height:64px}.client-portal-mode .header .brand img{width:145px}.client-portal-mode .header .nav :is(a,button){min-height:44px;font-size:14px}
 .portal-workspace{grid-template-columns:minmax(0,1fr);min-height:0}.portal-workspace .client-portal-sidebar{position:static;min-height:0;padding:16px;max-width:100%}.portal-workspace-title{padding:0 0 14px}.portal-product-name{font-size:21px;margin:0 0 4px}.portal-workspace .portal-account{font-size:14px}
 .portal-mobile-menu{display:flex;align-items:center;gap:12px;justify-content:space-between;width:100%;min-height:50px;padding:12px;background:var(--relo-theme-surface,#fff);border:0;border-radius:6px;font:inherit;font-size:16px;font-weight:650;text-align:left;color:var(--relo-theme-text,#102f49);cursor:pointer}.portal-mobile-menu>span:first-of-type{flex:1}
 .portal-workspace .portal-workspace-nav{display:none;margin:12px 0 0}.portal-workspace .portal-nav-open .portal-workspace-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.portal-workspace .portal-section-link{font-size:15px;min-height:50px;padding:12px 10px}.portal-sidebar-help{display:none}
 .portal-workspace .client-portal-body{padding:24px 16px 40px}.portal-page-heading h1{font-size:28px!important}.portal-page-intro{font-size:17px}.portal-plan-main,.portal-plan-price,.portal-section-card{padding:20px}.portal-plan-heading h2{font-size:29px}.portal-plan-total{font-size:32px}.portal-plan-main>p:not(.portal-plan-label){font-size:16px}.portal-plan-actions{display:grid;grid-template-columns:1fr}.portal-section-card h2{font-size:21px}.portal-service-name{font-size:16px}.portal-service-preview{font-size:15px}.portal-service-row{gap:10px}.portal-service-footer .btn{width:100%}.portal-price-breakdown>div{font-size:15px}.portal-dashboard-actions{gap:12px}.portal-account-access .btn{width:100%}
 .customer-workspace .checkout-header .portal-return{display:inline-flex;white-space:nowrap;font-size:14px;min-height:44px;padding:8px}
}
@media(max-width:360px){.portal-workspace .portal-nav-open .portal-workspace-nav{grid-template-columns:1fr}.portal-workspace .client-portal-body{padding:20px 12px 32px}.portal-plan-main,.portal-plan-price,.portal-section-card{padding:16px}.portal-plan-heading{gap:10px}.portal-plan-heading h2{font-size:27px}.portal-price-breakdown>div{font-size:14px;gap:8px}}

/* In-place quote editor: all tiers together, one API-calculated total and one save action. */
.portal-inline-editor{min-width:0;padding-bottom:8px}
.portal-editor-section-heading h2{font-size:24px;line-height:1.3;margin:0 0 10px}
.portal-editor-section-heading p{font-size:16px;line-height:1.6;color:var(--relo-theme-muted,var(--portal-muted));margin-bottom:20px}
.portal-editor-plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:28px}
.portal-editor-plan{padding:22px;background:var(--relo-theme-surface,#fff);border:1px solid var(--relo-theme-border,var(--portal-line));border-radius:10px;display:flex;flex-direction:column;min-width:0;box-shadow:none}
.portal-editor-plan.is-selected{border:2px solid var(--relo-theme-border-strong,#17694f);padding:21px;background:var(--relo-theme-success-bg,#f3faf6)}
.portal-editor-plan-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.portal-editor-plan-heading h3{font-size:23px;margin:0;line-height:1.3}
.portal-editor-description{font-size:16px;line-height:1.6;color:var(--relo-theme-muted,var(--portal-muted));min-height:76px;margin:0 0 18px}
.portal-editor-plan-price{font-size:29px;line-height:1.3;letter-spacing:-.5px;font-variant-numeric:tabular-nums}
.portal-editor-plan>.mini{font-size:14px;color:var(--relo-theme-muted,var(--portal-muted));margin:6px 0 18px}
.portal-editor-plan ul{list-style:none;padding:0;margin:0 0 16px;flex:1}
.portal-editor-plan li{font-size:15px;line-height:1.65;margin:0 0 9px;color:var(--relo-theme-text,var(--portal-ink))}
.portal-editor-detail{background:transparent;border:0;color:var(--relo-theme-text,var(--portal-ink));font:inherit;font-size:15px;text-decoration:underline;text-underline-offset:4px;min-height:44px;padding:10px 0;text-align:left;margin:0 0 10px;cursor:pointer}
.portal-editor-plan>.btn{width:100%}
.portal-editor-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:24px;align-items:start}
.portal-inline-editor .customizer-current-plan,.portal-inline-editor .change-service-plan{display:none}
.portal-editor-services{min-width:0}
.portal-editor-services>h2{font-size:25px;line-height:1.3}
.portal-editor-services>p{font-size:16px;line-height:1.65;color:var(--relo-theme-muted,var(--portal-muted))}
.portal-inline-editor[data-mode=services] .portal-editor-services>h2,.portal-inline-editor[data-mode=services] .portal-editor-services>p:first-of-type{display:none}
.portal-editor-controls{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr));gap:16px;align-items:end}
.portal-editor-controls .field{margin:0}.portal-inline-editor .portal-editor-controls .included-overview{margin:0}.portal-editor-controls .included-overview[open]{grid-column:1/-1}
.portal-inline-editor .addon-category,.portal-inline-editor .included-overview{background:var(--relo-theme-surface,#fff);border:1px solid var(--relo-theme-border,var(--portal-line));border-radius:9px;margin:16px 0}
.portal-inline-editor :is(.addon-category,.included-overview)>summary{font-size:17px;min-height:52px;padding:16px;line-height:1.45}
.portal-inline-editor .addon-category .addons{padding:0 16px 10px}
.portal-inline-editor .addon{background:var(--relo-theme-surface,#fff);padding:20px 0;border:0;border-top:1px solid var(--relo-theme-border,var(--portal-line));border-radius:0;display:grid;grid-template-columns:24px minmax(0,1fr) auto;gap:12px}
.portal-inline-editor .addon input{width:22px;height:22px;margin:3px 0;accent-color:var(--relo-theme-focus,#102f49)}
.portal-inline-editor .addon:has(input:checked){background:var(--relo-theme-success-bg,#edf6f1);border-top-color:var(--relo-theme-border,#90b6a5)}
.portal-inline-editor .addon label strong{font-size:16px;line-height:1.5}
.portal-inline-editor .addon small{font-size:14px;line-height:1.5}
.portal-inline-editor .addon .cost{font-size:16px;line-height:1.5;white-space:nowrap}
.portal-inline-editor .service-preview{font-size:15px;line-height:1.6;color:var(--relo-theme-muted,var(--portal-muted))}
.portal-inline-editor .included-service{padding:16px;gap:12px}
.portal-inline-editor .service-detail-button{font-size:16px;line-height:1.5;min-height:44px}
.portal-inline-editor .category-nav{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}
.portal-inline-editor .category-nav a{font-size:14px;padding:10px 12px;min-height:44px;background:var(--relo-theme-surface,white);border:1px solid var(--relo-theme-border,var(--portal-line));border-radius:6px}
.portal-inline-editor .field{font-size:16px;line-height:1.6}
.portal-inline-editor select{max-width:100%;font-size:16px;padding:12px;min-height:50px;border:1px solid var(--relo-theme-border,#718b9e);border-radius:6px;background:var(--relo-theme-surface,#fff);color:var(--relo-theme-text,var(--portal-ink))}
.portal-editor-summary{position:sticky;top:20px;padding:24px;background:var(--relo-theme-surface,white);border:1px solid var(--relo-theme-border,var(--portal-line));border-radius:10px;min-width:0}
.portal-editor-summary .portal-plan-label{font-size:16px;color:var(--relo-theme-text,var(--portal-ink));line-height:1.5}
.portal-editor-summary>.mini{font-size:14px;color:var(--relo-theme-muted,var(--portal-muted))}
.portal-editor-summary .portal-plan-total{font-size:30px;margin-bottom:22px}
.portal-editor-summary .btn{width:100%}
.portal-editor-feedback{font-size:15px;line-height:1.5;color:var(--relo-theme-text,var(--portal-teal));margin:0 0 14px}
.portal-editor-feedback.has-error{color:var(--relo-theme-error,#9c2929)}
@media(min-width:1600px){.portal-editor-plan-grid{gap:22px}.portal-editor-layout{grid-template-columns:minmax(0,1fr) 310px}}
@media(max-width:1150px){.portal-editor-plan{padding:18px}.portal-editor-plan.is-selected{padding:17px}.portal-editor-plan-heading h3{font-size:20px}.portal-editor-plan-price{font-size:25px}.portal-editor-layout{grid-template-columns:minmax(0,1fr) 245px;gap:18px}.portal-editor-summary{padding:20px}.portal-inline-editor .addon{grid-template-columns:24px minmax(0,1fr)}.portal-inline-editor .addon>.cost{grid-column:2}}
@media(max-width:900px){.portal-editor-plan-grid{gap:10px}.portal-editor-plan{padding:14px}.portal-editor-plan.is-selected{padding:13px}.portal-editor-plan-heading h3{font-size:18px}.portal-editor-description{font-size:15px;min-height:110px}.portal-editor-plan-price{font-size:22px}.portal-editor-plan li{font-size:14px}.portal-editor-layout{grid-template-columns:minmax(0,1fr)}.portal-editor-summary{position:static}.portal-editor-plan .btn{font-size:14px;min-height:50px;padding:10px 8px}}
@media(max-width:700px){
 .portal-inline-editor{padding-bottom:180px}.portal-editor-plan-grid{grid-template-columns:minmax(0,1fr);gap:16px}.portal-editor-plan{padding:20px}.portal-editor-plan.is-selected{padding:19px}.portal-editor-plan-heading h3{font-size:24px}.portal-editor-description{min-height:0;font-size:16px;margin-bottom:14px}.portal-editor-plan-price{font-size:28px}.portal-editor-plan li{font-size:16px}.portal-editor-plan>.btn{font-size:16px}
 .portal-editor-summary{position:fixed;bottom:0;top:auto;left:0;right:0;z-index:30;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;align-items:center;border-radius:0;border:0;border-top:1px solid var(--relo-theme-border,#8ba0b3);padding:12px 16px  max(12px,env(safe-area-inset-bottom));box-shadow:0 -4px 16px #102f4912}
 .portal-editor-summary .portal-plan-label{font-size:14px;margin:0;grid-column:1}.portal-editor-summary>.mini{display:none}.portal-editor-summary .portal-plan-total{grid-column:1;grid-row:2;font-size:25px;margin:0;line-height:1.25}.portal-editor-summary>#portal-save-changes{grid-column:2;grid-row:1/3;min-height:50px;font-size:15px;max-width:165px}
 .portal-editor-summary .portal-editor-feedback{grid-column:1/-1;grid-row:3;margin:4px 0 0;font-size:14px}.portal-editor-summary .portal-price-note{display:none}.portal-editor-summary .portal-price-breakdown{display:block;grid-column:1/-1;margin:10px 0 4px}.portal-editor-summary.show-breakdown .portal-price-breakdown{display:block}
 .portal-inline-editor .addon label strong{font-size:16px}.portal-inline-editor .category-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.portal-inline-editor .category-nav a{font-size:14px;line-height:1.45;display:flex;align-items:center}.portal-inline-editor .addon-category .addons{padding:0 14px 10px}
}

@media(min-width:701px){
 .portal-editor-summary{top:12px;z-index:12;display:grid;grid-template-columns:minmax(180px,.8fr) minmax(250px,1.3fr) 180px;gap:6px 24px;align-items:center;margin-bottom:28px;padding:20px 24px;box-shadow:0 3px 12px #102f4908}
 .portal-editor-summary .portal-plan-label{grid-column:1;grid-row:1;font-size:15px;margin:0}.portal-editor-summary>.mini{display:none}.portal-editor-summary .portal-plan-total{grid-column:1;grid-row:2;font-size:29px;margin:0}
 .portal-editor-summary .portal-price-breakdown{grid-column:2;grid-row:1/3;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0}.portal-editor-summary .portal-price-breakdown>div{display:block;margin:0;font-size:14px}.portal-editor-summary .portal-price-breakdown dd{margin-top:8px;font-size:16px}.portal-editor-summary>#portal-save-changes{grid-column:3;grid-row:1;min-height:48px}.portal-editor-summary .portal-editor-feedback{grid-column:3;grid-row:2;font-size:13px;margin:0}.portal-editor-summary .portal-price-note{grid-column:1/-1;font-size:13px;margin:5px 0 0}.portal-editor-summary>.btn.secondary{grid-column:3;grid-row:3}
}
@media(min-width:701px) and (max-width:1050px){.portal-editor-summary{grid-template-columns:minmax(0,1fr) 170px;gap:7px 16px;padding:18px}.portal-editor-summary .portal-price-breakdown{grid-column:1/-1;grid-row:3;border-top:1px solid var(--relo-theme-border,var(--portal-line));padding-top:12px}.portal-editor-summary>#portal-save-changes{grid-column:2;grid-row:1/3}.portal-editor-summary .portal-editor-feedback{grid-column:1;grid-row:4}.portal-editor-summary .portal-price-note{grid-column:2;grid-row:4;text-align:right}}

@media(max-width:700px){.portal-workspace-title{display:none}.portal-editor-summary{grid-template-columns:minmax(0,1fr) minmax(140px,auto)}.portal-editor-summary>#portal-save-changes{padding:12px 10px;font-size:15px;min-height:50px;max-width:none}.portal-editor-summary .portal-plan-total{font-size:clamp(22px,6.4vw,25px)}}

@media(max-width:360px){.client-portal-mode .header .brand img{width:125px}.client-portal-mode .header .nav{flex-shrink:0}.client-portal-mode .header .nav :is(a,button){white-space:nowrap;font-size:13px;padding:8px}}

.portal-editor-secondary{grid-column:1/-1;display:flex;gap:10px;flex-wrap:wrap;margin-top:8px}.portal-editor-secondary:empty{display:none}.portal-editor-secondary .btn{width:auto;font-size:14px;min-height:44px}
.portal-chat{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto minmax(0,1fr) auto;min-width:0;height:calc(100dvh - 230px);min-height:440px;border:1px solid var(--portal-line);border-radius:16px;overflow:hidden;background:var(--relo-theme-surface,#fff);max-width:1100px}
.portal-chat-header{grid-row:1;display:flex;align-items:center;gap:14px;padding:20px 24px;border-bottom:1px solid var(--portal-line)}
.portal-chat-avatar{display:grid;place-items:center;flex-shrink:0;width:48px;height:48px;border-radius:50%;background:var(--portal-ink);color:white;font-weight:700;font-size:16px}
.portal-chat-header h2{font-size:19px;margin:0 0 5px}.portal-chat-presence{font-size:14px;line-height:1.5;margin:0;color:var(--portal-muted)}
.portal-chat-refresh,.portal-chat-new{font:inherit;font-size:14px;min-height:44px;padding:8px 12px;border:1px solid var(--portal-line);border-radius:7px;background:var(--relo-theme-surface,#fff);color:var(--portal-ink);cursor:pointer}.portal-chat-refresh{margin-left:auto}
.portal-chat-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:12px;justify-content:space-between;padding:10px 24px;background:var(--relo-theme-tint,#eef4f8)}.portal-chat-toolbar select{flex:1 1 180px;min-width:0;min-height:44px;max-width:100%;font:inherit;font-size:14px;color:var(--portal-ink);border:0;background:transparent}
.portal-chat-options{grid-row:2;background:var(--relo-theme-surface,#fff)}.portal-chat-options>h3{margin:0;padding:12px 24px;font-size:16px;line-height:1.5;color:var(--portal-ink)}
.portal-chat-log{grid-row:3;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:24px;display:flex;flex-direction:column;gap:16px;background:var(--relo-theme-tint,#f1f5f9)}
.portal-chat-message{align-self:flex-start;max-width:82%;padding:14px 18px;border-radius:4px 16px 16px;background:var(--relo-theme-surface,#fff);border:1px solid var(--portal-line);overflow-wrap:anywhere}.portal-chat-message.is-mine{align-self:flex-end;background:var(--portal-ink);color:white;border-color:var(--portal-ink);border-radius:16px 4px 16px 16px}
.portal-chat-message strong{font-size:13px}.portal-chat-message p{font-size:16px;line-height:1.6;margin:5px 0 8px;white-space:pre-wrap;color:inherit}.portal-chat-message time{font-size:12px;opacity:.85}
.portal-chat-empty{margin:auto;max-width:420px;text-align:center;color:var(--portal-muted)}.portal-chat-empty svg{width:44px;height:44px;color:var(--portal-ink)}.portal-chat-empty h3{font-size:22px;color:var(--portal-ink)}.portal-chat-empty p{font-size:16px;line-height:1.6}
.portal-chat-composer{grid-row:4;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px;padding:16px 24px}.portal-chat-composer textarea{width:100%;resize:vertical;min-height:58px;max-height:180px;padding:12px;font:inherit;font-size:16px;line-height:1.5;border:1px solid var(--portal-line);border-radius:10px}.portal-chat-composer .btn{min-height:54px}.portal-chat-feedback{grid-column:1/-1;margin:0;font-size:14px;color:var(--relo-theme-error,#942828)}.portal-chat-feedback:empty{display:none}
@media(max-width:700px){.portal-chat-header{padding:16px;flex-wrap:wrap}.portal-chat-header>div{flex:1;min-width:0}.portal-chat-header h2{font-size:17px}.portal-chat-toolbar{padding:8px 12px}.portal-chat-log{padding:16px;height:auto}.portal-chat-message{max-width:92%;padding:12px 14px}.portal-chat-composer{padding:12px;grid-template-columns:minmax(0,1fr)}.portal-chat-composer .btn{justify-self:end;min-width:130px}.portal-chat-refresh{font-size:13px}}
@media(max-width:700px){.portal-editor-secondary{grid-row:6}.portal-editor-secondary .btn{width:100%}}
.portal-verification-banner{display:flex;gap:16px;align-items:center;justify-content:space-between;padding:16px 20px;margin-bottom:24px;background:var(--relo-theme-tint,#eaf1f7);border:1px solid var(--relo-theme-border,#b7cbda);border-radius:9px}.portal-verification-banner strong{font-size:16px;color:var(--relo-theme-text,#102f49)}.portal-verification-banner p{font-size:15px;line-height:1.5;margin:6px 0 0;color:var(--relo-theme-text,#38566e)}.portal-verification-banner .btn{flex-shrink:0}@media(max-width:700px){.portal-verification-banner{display:block;padding:16px}.portal-verification-banner .btn{margin-top:12px;width:100%}}

.client-portal-body:has(.client-portal-pane[aria-labelledby="portal-heading-messages"]:not([hidden]))>.portal-verification-banner{display:none}
@media(max-width:700px){.portal-chat{height:calc(100dvh - 260px);min-height:440px}}

/* Private checklist: source/rules/progress are delivered by the authenticated API. */
.portal-document-checklist .portal-checklist-controls{min-width:0;border:0;padding:0;margin:16px 0;display:grid;gap:16px}
.portal-document-checklist .portal-checklist-controls>legend{font-size:18px;font-weight:700;padding:0 0 12px}
.portal-document-checklist .portal-checklist-toggle,.portal-document-checklist .portal-checklist-item{display:flex;align-items:flex-start;gap:12px;min-height:48px;font-size:16px;line-height:1.5}
.portal-document-checklist input[type=checkbox]{flex:none;width:24px;height:24px;margin-top:3px;accent-color:var(--relo-theme-primary,#102f4c)}
.portal-document-checklist .portal-checklist-items{display:grid;gap:0}
.portal-document-checklist .portal-checklist-item{padding:16px 0;border-bottom:1px solid var(--relo-theme-border,#bdcdda)}
.portal-document-checklist .portal-checklist-item strong{display:block;font-size:18px}
.portal-document-checklist .portal-checklist-item p{margin:6px 0 0;font-size:16px;line-height:1.5}
.portal-document-checklist .portal-checklist-progress{font-size:18px;font-weight:700}
.portal-document-checklist progress{width:100%;height:16px;accent-color:var(--relo-theme-success,#20634d)}
.portal-document-checklist .portal-checklist-feedback{font-size:16px;line-height:1.5}
