/* Blue, white and ink. Compact application surfaces inspired by enterprise UI. */
:root{--navy:#142e4d;--teal:#225ccb;--muted:#62738a;--line:#dce5f0;--ink:#142e4d;--text:#203c5c;color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,sans-serif;font-size:14px}
body{background:linear-gradient(130deg,#f8fbff,#eef4fe);background-attachment:fixed}.workspace{background:linear-gradient(135deg,#f7faff,#edf3fe)}.shell{grid-template-columns:224px minmax(0,1fr)}.sidebar{background:#fff;padding:24px 16px}.sidebar .brand{padding:0 5px}.sidebar nav{margin-top:24px}.sidebar nav button{border-radius:8px;padding:11px 12px;color:#53647b}.sidebar nav button.active{color:#174fad;background:#edf3ff;border:1px solid #d9e6fc}.sidebar nav button:hover{background:#f2f6fd}.nav-label:not(:first-child){margin-top:16px}.workspace-label{margin-top:12px;color:#65788e}.sidebar footer{font-size:10px;padding:18px 8px}.topbar{height:72px;padding:12px 30px;background:#fff;border-bottom:1px solid var(--line)}.topbar-right{display:flex;align-items:center;gap:24px;justify-content:flex-end;min-width:0}.topbar .profile{gap:8px}.topbar .avatar{background:#eef4ff;color:#174fad}.agency-brand{width:160px;height:42px;display:flex;align-items:center;justify-content:flex-end}.agency-brand img{display:block;max-width:100%;max-height:100%;object-fit:contain}.agency-brand-name{font-weight:650;font-size:12px;color:#244466;text-align:right;line-height:1.4}.topbar #agency-brand{padding-left:18px;border-left:1px solid var(--line)}main{max-width:1470px;padding:24px 30px 36px}.eyebrow,.section-kicker{color:#476c9f}.eyebrow{letter-spacing:1.6px}h1{font-size:27px;letter-spacing:-.8px;line-height:1.25;margin:4px 0 7px;color:#132e4c}h2{font-size:19px;color:#1f3b5b}.intro{color:#62738a;font-size:13px;line-height:1.5;margin:0 0 18px}.card{border-color:#dce5f0;border-radius:14px;padding:24px;box-shadow:0 3px 14px #183f7310}.card .card{box-shadow:none}button{background:#225ccb;padding:11px 17px}.secondary{background:#fff;color:#24496f;border-color:#cddbef}.text-button{color:#225ccb}.danger{background:#a82e47}button:focus-visible{outline:3px solid #a8c7ff;outline-offset:3px}input:focus,select:focus{border-color:#3976d4;box-shadow:0 0 0 3px #dfeafb}input,select{padding:11px 12px;border-color:#cdd9e8}label{color:#415972}.page-emblem{color:#3264a4;background:#f2f7ff;border-color:#d9e5f5}.page-heading{margin-bottom:22px}.company-context{padding:10px 14px;margin-bottom:18px;box-shadow:none;border-radius:10px}.company-context select{padding:8px 11px}.context-icon{background:#edf4ff;color:#2862b8;padding:7px}.company-context small{display:none}.company-context strong{font-size:12px}.quote-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.quote-heading .intro{margin-bottom:0;max-width:550px}.quote-heading .carrier-strip{border:0;margin:0;display:grid;grid-template-columns:1fr 1fr;gap:12px 18px;padding:8px 0}.quote-heading .carrier-strip>span{padding:0;justify-content:center;height:26px}.quote-heading .carrier-strip .carrier-logo{width:82px;height:24px}.pdf-import{background:#fff;border:1px solid var(--line);padding:0 15px;margin:16px 0;border-radius:9px}.pdf-import summary{display:flex;align-items:center;gap:10px;cursor:pointer;min-height:43px;font-size:12px;font-weight:650;color:#31527a;list-style:none}.pdf-import summary::-webkit-details-marker{display:none}.pdf-import summary:after{content:'+';font-size:18px;margin-left:auto;color:#58749d}.pdf-import[open] summary:after{content:'−'}.pdf-import summary>span{font-size:10px;font-weight:400;color:#657d9a}.pdf-import label{margin-top:8px}.pdf-import[open]{padding-bottom:14px}.pdf-import .hint{font-size:11px}.steps{margin:14px 0;padding:8px 12px;border-radius:9px;background:#ffffff9c}.step.current{color:#225ccb}.step.current i{background:#225ccb;border-color:#225ccb}.step{font-size:11px}.choices{margin-top:18px;gap:12px;grid-template-columns:repeat(2,minmax(0,1fr))}.choice{display:flex;align-items:center;gap:14px;justify-content:flex-start;min-height:94px;padding:16px;border:1px solid #dbe5f2;border-radius:11px;background:white;position:relative}.choice .symbol{display:grid;place-items:center;width:40px;height:40px;flex:0 0 40px;font-size:24px;color:#356cae;background:#f0f5fc;border-radius:9px}.choice .symbol .icon{width:23px;height:23px}.choice .choice-copy{flex:1;min-width:0}.choice strong{font-size:14px;line-height:1.45;margin:0 0 4px}.choice small{display:block;font-size:11px;line-height:1.5;color:#607790}.choice.selected{background:#f4f8ff;border:1px solid #3c73c6;box-shadow:0 0 0 1px #3c73c6}.choice.selected .symbol{background:#e3edff;color:#225ccb}.choice-check{display:grid;place-items:center;border:1px solid #becfe6;border-radius:50%;width:18px;height:18px;font-size:11px;color:#fff;flex-shrink:0}.choice.selected .choice-check{background:#225ccb;border-color:#225ccb}.choice:disabled{opacity:1;background:#fafbfd;border-color:#e6ebf2;color:#7b8da3}.choice:disabled .symbol{color:#8d9aab;background:#f1f4f8}.choice:disabled .choice-check{display:none}.choice:disabled small{color:#8290a2}.actions{margin-top:20px;padding-top:18px}.actions button{font-size:13px}.preference-tabs button[aria-selected=true]{border-color:#2866bc;background:#edf4ff}.preference-field{background:#f5f8fd;border-color:#dce6f3}.preference-field.enabled{border-color:#cbdcf2}.preference-toggle input,.checks input{accent-color:#225ccb}.preference-field input[type=checkbox]{accent-color:#225ccb}.pill{line-height:1.4}.pill.working{background:#e6efff;color:#2158a8}.summary section,.quotation-dates article{background:#f4f7fc}.agency-row{background:#f8faff;border-color:#dce5f1}.carrier{border-color:#dce5f1;background:#fff}.carrier-select[aria-selected=true]{border-color:#2c64bb;background:#f3f7ff}.organization-item{flex-wrap:wrap}.organization-item>div{flex:1}.organization-item>button{margin-left:auto}.login{margin:7vh auto 30px;border-top:3px solid #225ccb;box-shadow:0 18px 60px #123c6e15}.public-brand-header{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:24px 32px;border-bottom:1px solid #dce5f0;background:#fff}.public-brand-header .brand{width:205px}.public-brand-header>span{font-size:12px;color:#657a94}.brand-dialog{max-width:580px}.logo-paste{border:2px dashed #b7cbe7;border-radius:13px;min-height:190px;padding:22px;text-align:center;background:#f5f9ff}.logo-paste:focus{outline:2px solid #225ccb}.logo-paste strong,.logo-paste>span{display:block;font-size:12px;margin-top:12px}.logo-paste>span{font-weight:400;color:#607790;margin-top:6px}.logo-preview{display:flex;justify-content:center;align-items:center;height:80px}.logo-preview img{max-height:80px;max-width:100%;object-fit:contain}.logo-preview .agency-brand{justify-content:center}.portal-screen{min-height:160px;background:#edf2fa}.portal-screen img{width:auto;max-width:100%;max-height:52vh}.portal-dialog{padding:18px}.portal-heading h2{font-size:18px}.portal-inputs form{margin:10px 0}.portal-message{font-size:12px}.portal-caption{font-variant-numeric:tabular-nums}
@media(min-width:1600px){main{padding-top:30px}.card{padding:26px}.choice{min-height:102px}}
@media(max-width:1150px){.shell{grid-template-columns:190px minmax(0,1fr)}main{padding:22px}.topbar{padding:12px 22px}.topbar .breadcrumb{display:none}.topbar-right{width:100%;justify-content:space-between}.agency-brand{width:150px}.choice{padding:13px;gap:10px}.choice strong{font-size:13px}}
@media(max-width:760px){.shell{display:block}.sidebar{position:static;height:auto;padding:14px 16px}.sidebar .brand{width:170px}.workspace-label,.nav-label,.sidebar footer{display:none}.sidebar nav{display:flex;overflow:auto;gap:4px;margin-top:12px}.sidebar nav button{white-space:nowrap;padding:9px;font-size:11px}.topbar{height:62px;padding:8px 16px}.topbar .profile .avatar{display:none}.topbar .profile span{display:none}.agency-brand{width:130px;height:35px}.topbar-right{gap:10px}.topbar #agency-brand{padding-left:10px}.profile strong{font-size:11px}.profile>.secondary{padding:7px;margin-left:0}.quote-heading{align-items:start}.quote-heading .carrier-strip{gap:10px;min-width:130px}.quote-heading .carrier-strip .carrier-logo{width:60px;height:21px}main{padding:18px 16px 28px}h1{font-size:24px}.company-context{gap:10px;flex-direction:row;margin-bottom:16px}.company-context strong{font-size:10px}.company-context select{max-width:58%;width:auto;font-size:11px}.context-icon{display:none}.step{font-size:10px}.step i{width:21px;height:21px}.steps{gap:3px;padding:7px}.card{padding:18px}.choice .symbol{width:32px;height:32px;flex-basis:32px}.choice{min-height:120px;align-items:flex-start;flex-wrap:wrap;gap:8px}.choice-copy{flex-basis:calc(100% - 44px)!important}.choice-check{position:absolute;top:10px;right:10px}.choice.selected .choice-copy{padding-right:8px}.choices{gap:10px;grid-template-columns:repeat(2,minmax(0,1fr))}.choice strong{font-size:12px}.choice small{font-size:10px}.choice .symbol .icon{width:20px;height:20px}.quote-heading .intro{font-size:11px}.public-brand-header{padding:18px}.public-brand-header .brand{width:175px}.public-brand-header>span{font-size:10px}.login{margin:25px 16px}.grid,.summary,.preferences-grid,.admin-columns{grid-template-columns:1fr}.portal-screen img{max-height:48vh}}
@media(max-width:430px){.quote-heading{display:block}.quote-heading .carrier-strip{display:flex;width:auto;justify-content:flex-start;gap:20px;margin:10px 0 0;padding:0}.step{font-size:9px;gap:3px}.steps{flex-wrap:wrap}.pdf-import summary>span{display:none}.profile strong{max-width:100px;display:block;overflow:hidden;text-overflow:ellipsis}.topbar-right{gap:7px}.agency-brand{width:118px}.choices{gap:8px}.choice{padding:11px;display:block}.choice .symbol{margin-bottom:8px}.choice strong{font-size:12px}.choice small{font-size:10px}.company-context select{max-width:62%}}
@media(min-width:761px) and (max-height:820px){
 main:has(.quote-heading){padding-top:16px;padding-bottom:18px}
 main:has(.quote-heading) .company-context{padding:7px 12px;margin-bottom:12px}
 main:has(.quote-heading) .company-context .context-icon{padding:4px}
 main:has(.quote-heading) .company-context select{padding:7px 10px}
 main:has(.quote-heading) h1{font-size:25px}
 .quote-heading .carrier-strip{gap:7px 16px}
 .pdf-import{margin:11px 0}.pdf-import summary{min-height:36px}
 .steps{margin:10px 0;padding:4px 10px}.step{padding:3px 5px}
 main:has(.quote-heading)>.card{padding:19px 22px}
 main:has(.quote-heading)>.card .intro{margin-bottom:12px}
 .choices{margin-top:13px;gap:10px}.choice{min-height:76px;padding:12px 14px}
 .actions{margin-top:14px;padding-top:13px}
}

/* Agency identity follows the selected context on every authenticated page. */
#agency-brand{width:260px;max-width:100%;min-width:0}.agency-brand{display:flex;align-items:center;gap:10px;width:100%;height:auto;min-height:42px;text-align:left}.agency-brand img{width:64px;height:42px;object-fit:contain;flex:none}.agency-brand strong{font-size:12px;line-height:1.3;overflow-wrap:anywhere}.agency-placeholder{color:#487397;display:grid;place-items:center;width:36px;flex:none}.agency-switch-label{display:block;font-size:10px;color:#5b718a;margin-top:3px}.agency-switch-label select{display:block;width:100%;min-width:0;font-size:11px;padding:5px;height:auto;margin:2px 0 0}.org-photo{background:#f4f8fd;color:#204d73;border:1px dashed #9eb9d2;border-radius:12px;min-width:66px;padding:8px;display:grid;gap:4px;place-items:center}.org-photo img{width:54px;height:38px;object-fit:contain}.org-photo small{font-size:10px}.access-logo-upload{display:grid;gap:10px;background:#f5f9ff;color:#294964;border:1px dashed #99b5d1;border-radius:14px;padding:18px;margin-top:18px;text-align:left;max-width:100%}.access-logo-upload small{font-size:12px}.topbar-right{min-width:0}.logo-preview .agency-brand{justify-content:center}.logo-preview .agency-brand img{width:180px;height:90px}.logo-preview .agency-brand strong{max-width:180px}
@media(max-width:850px){.topbar{flex-wrap:wrap;height:auto;gap:12px}.topbar-right{width:100%;justify-content:space-between}.topbar-right .profile{min-width:0}#agency-brand{width:230px}.agency-brand strong{font-size:11px}}
@media(max-width:480px){.topbar-right{flex-wrap:wrap}#agency-brand{width:100%}.agency-brand img{height:34px;width:56px}.agency-switch-label select{font-size:12px}.organization-item{flex-wrap:wrap}.org-photo{min-width:56px}}
.operation-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0 28px}.operation-counts>div{background:#f0f6fe;padding:16px;border-radius:12px;display:grid;gap:5px}.operation-counts strong{font-size:25px;color:#18559a}.operation-counts span{font-size:12px}.operation-alert{display:flex;align-items:center;gap:14px;border-top:1px solid #dfe9f4;padding:18px 0}.operation-alert>div{flex:1;min-width:0}.operation-alert p{margin:5px 0}.guide{max-width:1100px}.guide h2{margin-top:28px}.guide p{line-height:1.7}.guide table{font-size:12px}.guide th{min-width:145px}.guide td{min-width:145px;white-space:normal}
@media(max-width:600px){.operation-counts{grid-template-columns:repeat(2,minmax(0,1fr))}.operation-alert{flex-wrap:wrap}.operation-alert>div{flex-basis:65%}.portal-toolbar,.portal-inputs form{flex-wrap:wrap}.portal-toolbar button{white-space:normal}.portal-dialog{max-height:94dvh}.portal-inputs label{min-width:0}.portal-inputs input{min-width:0;width:100%}}

.fire-history{margin-top:20px}.fire-result{padding:20px 0;border-bottom:1px solid var(--line,#dde5ef)}.fire-result:last-child{border-bottom:0}.fire-price{color:#174582;font-size:1.25rem;margin:16px 0 6px}.fire-result .portal-preview{max-width:580px}.fire-result .section-title p{margin-bottom:6px}#fire-sources td small{display:block;max-width:220px;margin-top:5px}
@media(max-width:640px){
 #fire-sources table,#fire-sources tbody{display:block;width:100%;min-width:0}
 #fire-sources thead{display:none}
 #fire-sources tr{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:16px 0;border-bottom:1px solid var(--line)}
 #fire-sources td{display:block;padding:0;border:0;min-width:0}
 #fire-sources td:first-child,#fire-sources td:last-child{grid-column:1/-1}
 #fire-sources td:nth-child(2):before{content:'CPF';display:block;font-size:10px;color:var(--muted)}
 #fire-sources td:nth-child(3):before{content:'CEP do imóvel';display:block;font-size:10px;color:var(--muted)}
 #fire-sources td:nth-child(4):before{content:'Fiança: ';color:var(--muted)}
 #fire-sources td:last-child button{width:100%}
 .page-heading:has(+.notice +.card #fire-sources){align-items:flex-start;flex-wrap:wrap;gap:10px}
}

.fire-risk{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;background:#edf5ff;border-radius:12px;padding:14px 18px;margin:12px 0;color:#183a65}.fire-risk strong{font-size:1.25rem}input[aria-invalid="true"]{border-color:#bb2843}.cpf-error{color:#a11e36;font-size:.85rem;display:block;margin-top:6px}

/* Stable interactive viewport and startup preparation. */
.portal-screen{aspect-ratio:16/10;min-height:0;background:#eaf0f8}.portal-screen canvas{width:100%;height:auto;display:block;outline-offset:-3px;cursor:default}.portal-screen>span{position:absolute;inset:0;display:grid;place-items:center;background:#eaf0f8}.portal-screen>span[hidden]{display:none}.portal-dialog{width:min(1320px,96vw)}.portal-dialog.portal-expanded{width:98vw;height:98vh;max-height:98vh}.start-grid{margin:24px 0}.start-grid .carrier{gap:16px;min-height:260px}.start-grid .carrier p{flex:1}.start-footer{display:flex;align-items:center;justify-content:space-between;gap:16px}.danger{background:#b42336;color:#fff;border:1px solid #b42336}.danger:hover{background:#951b2b}.carrier-result>.danger{margin-top:12px}.portal-dialog .hint{font-size:12px}

.portal-screen{aspect-ratio:auto;display:flex;justify-content:center;min-height:180px}.portal-screen canvas{width:auto;max-width:100%;height:auto;max-height:calc(94dvh - 230px);aspect-ratio:16/10}.portal-dialog.portal-expanded .portal-screen canvas{max-height:calc(98dvh - 200px)}.portal-heading,.portal-toolbar{flex-shrink:0}@media(max-width:650px){.portal-screen canvas{max-height:calc(94dvh - 300px)}}
/* A pending portal click must not flash the return control. Its disabled
   semantics still prevent returning before the command is acknowledged. */
.portal-dialog [data-resume]:disabled{opacity:1;cursor:wait}

.start-carrier-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:66px;margin-bottom:12px}
.start-carrier-heading .carrier-logo{margin:0;max-width:calc(100% - 56px)}
.start-carrier-heading .start-restart{display:inline-flex;align-items:center;justify-content:center;flex:0 0 40px;width:40px;height:40px;padding:0;border-radius:12px}

/* Compact request summary; full evidence and live controls stay accessible. */
.history-search{max-width:540px;margin:20px 0}.history-search label{display:block;margin-bottom:7px}.history-search input{width:100%}.history-search .hint{margin:8px 0}.quote-record[hidden]{display:none}.quote-record-heading{align-items:flex-start}.quote-tenant-heading{display:flex;flex-direction:column;align-items:flex-end;text-align:right;gap:5px;max-width:52%}.quote-tenant-heading strong{font-size:17px;color:#16395f;overflow-wrap:anywhere}.quote-tenant-heading .eyebrow{font-size:10px;margin:0}.quote-tenant-heading .pill{margin-top:8px;font-size:11px}.carrier-result .quote-price{font-size:21px;font-weight:750;color:#123e6c;margin:18px 0 3px;line-height:1.25}.carrier-result .pending-price{font-size:16px;font-weight:500;color:#64778d}.quote-price-context,.quote-plan{font-size:12px!important;line-height:1.5;margin:4px 0!important;color:#61728a}.quote-card-actions{display:flex;flex-wrap:wrap;gap:7px;margin:14px 0 8px}.quote-card-actions button{padding:9px 12px;font-size:12px}.carrier-details{margin-top:auto;border-top:1px solid #e0e8f2;padding-top:12px}.carrier-details summary{font-size:12px;font-weight:650;cursor:pointer;color:#355a80}.carrier-details p,.coverage-summary{font-size:12px;line-height:1.55}.coverage-summary{padding-left:16px}.carrier-details .portal-preview{margin-top:12px}.quote-record .carrier-result{padding:20px;gap:0;min-height:0}.quote-record .carrier-logo{height:44px;margin-bottom:14px}.quote-record .carrier-logo img{max-height:44px}.quote-record .carrier-result .pill{font-size:11px;padding:7px 10px}@media(max-width:650px){.quote-tenant-heading{align-items:flex-start;text-align:left;max-width:100%;margin-top:12px}.history-search{max-width:none}.quote-record .carrier-result{padding:16px}}

.too-professional{border:1px solid #b9dddd;border-radius:14px;padding:18px;margin-top:18px;background:#f6fcfc}.too-professional .section-title{align-items:center}.too-professional .carrier-logo{max-width:84px;max-height:38px}.too-professional h3{margin:0}.too-professional .hint{margin-bottom:0}

.quote-delete-actions{display:flex;justify-content:flex-end;margin-top:24px}.quote-delete-actions .danger{background:#8f1d2c;color:#fff;border-color:#8f1d2c}.quote-delete-actions .danger:hover{background:#721725}
/* Keep result actions in a common footer, including deferred Too data. */
.quote-record .quote-card-actions{margin-top:auto;padding-top:16px;display:flex;flex-direction:column;align-items:stretch;gap:8px;min-height:160px;justify-content:flex-start}
.quote-record .quote-card-actions button{width:100%;min-height:40px;line-height:1.35;white-space:normal}
.quote-record .carrier-details{margin-top:0}
@media(max-width:650px){.quote-record .quote-card-actions{min-height:0;margin-bottom:16px}}

/* Confirmed quotation stages: no estimated percentage. */
.quotation-progress{margin:18px 0 12px;min-height:78px;color:#667b96}
.quotation-progress ol{list-style:none;display:flex;gap:5px;margin:0;padding:0}
.quotation-progress li{flex:1;min-width:0;font-size:10px;text-align:center;line-height:1.5}
.quotation-progress li span{display:block;height:4px;border-radius:4px;background:#e4ebf5;margin-bottom:7px}
.quotation-progress li.reached span{background:#2964ca}
.quotation-progress.success li.reached span{background:#148362}
.quotation-progress p{font-size:11px;line-height:1.5;margin:10px 0 0;min-height:33px}
.quotation-progress.paused p{color:#8a661c}
.quotation-progress.working p{color:#2458ab}
.quote-record .result-banner{display:block;width:100%;border-radius:8px;padding:12px 14px;font-size:17px;font-weight:750;line-height:1.35;color:#fff;text-align:center}
.result-banner.declined{background:#b42336}.result-banner.success{background:#087443}.result-banner.attention{background:#946a00}
.result-banner.processing{background:#215bd5}.result-banner.neutral{background:#52647c}
.quote-record .previous-quotation-notice{font-size:16px!important;font-weight:800;line-height:1.5;margin:14px 0 0;color:#593b00;background:#fff0b8;border:2px solid #d9a426;border-left-width:6px;border-radius:8px;padding:14px 16px;box-shadow:0 3px 10px #946a0014}
.quote-record button[data-unavailable-quotation]{opacity:1;color:#708198;background:#f4f6fa;border-color:#dce3ed;cursor:not-allowed}

/* Shared rows keep actions aligned even when one result has longer details. */
.quote-card-summary{min-width:0}.quote-card-summary>.carrier-logo{display:flex;width:120px;max-width:100%}
@supports(grid-template-rows:subgrid){.quote-record .carrier-result{display:grid;grid-template-rows:subgrid;grid-row:span 3;row-gap:0;align-content:start}.quote-record .quote-card-actions{margin-top:0;min-height:0}.quote-record .carrier-details{align-self:start}}

/* Authentication errors must remain prominent over the login paragraph theme. */
.login .error{color:#b42336;font-weight:700}

/* Portal access lights: pulse only during opening, then show a steady outcome. */
.start-grid .start-access-status{display:inline-flex;align-items:center;gap:9px;align-self:flex-start}
.start-access-light{display:inline-block;width:12px;height:12px;flex:0 0 12px;border-radius:50%;background:#94a3b8;box-shadow:0 0 0 3px #94a3b81a}
.start-access-status.opening{background:#fff4ce;color:#775500}
.start-access-status.opening .start-access-light{background:#e5ac00;box-shadow:0 0 0 3px #e5ac0026;animation:start-access-pulse 1.2s ease-in-out infinite}
.start-access-status.pending{background:#fff4ce;color:#775500}
.start-access-status.pending .start-access-light{background:#e5ac00;box-shadow:0 0 0 3px #e5ac0026}
.start-access-status.ready{background:#e4f4ec;color:#176342}
.start-access-status.ready .start-access-light{background:#15945b;box-shadow:0 0 0 3px #15945b26}
.start-access-status.problem{background:#fce9ed;color:#a31d32}
.start-access-status.problem .start-access-light{background:#d12b43;box-shadow:0 0 0 3px #d12b4326}
.start-access-status.idle{background:#eef2f7;color:#62748b}
@keyframes start-access-pulse{0%,100%{opacity:1}50%{opacity:.25}}
@media(prefers-reduced-motion:reduce){.start-access-status.opening .start-access-light{animation:none}}

/* Prominent decision and persistent live-operation indicators. */
.quote-record .carrier-result .result-banner{font-size:22px;font-weight:800;line-height:1.35;min-height:58px;display:flex;align-items:center;justify-content:center;color:#fff}
.quote-carrier-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}
.quote-card-summary .quote-carrier-heading .carrier-logo{margin-bottom:0}
.quotation-status-light{display:inline-flex;flex:none;padding:10px;border-radius:50%}
.quotation-status-light .start-access-light{width:16px;height:16px;flex-basis:16px}
/* One-page quotation: white optional fields, pale blue required fields. */
.pdf-upload{display:flex;align-items:center;flex-wrap:wrap;gap:18px;background:linear-gradient(110deg,#eef5ff,#fff);border:1px solid #ccdff5;border-radius:14px;margin:22px 0 16px;padding:20px 24px}.pdf-upload-copy{display:flex;gap:14px;align-items:center;flex:0 1 auto;min-width:230px}.pdf-upload-icon{display:grid;place-items:center;width:44px;height:44px;background:#dfeaff;border-radius:12px;color:#225ccb;flex:none}.pdf-upload h2{font-size:16px;margin:0 0 4px}.pdf-upload p{font-size:12px;color:#586f8c;margin:0;line-height:1.5}.pdf-upload-button{position:relative;overflow:hidden;display:inline-flex;align-items:center;justify-content:center;background:#225ccb;border:1px solid #225ccb;border-radius:8px;color:white;font-size:13px;font-weight:700;padding:12px 24px;margin:0;cursor:pointer}.pdf-upload-button:focus-within{outline:3px solid #a8c7ff;outline-offset:3px}.pdf-upload-button input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.pdf-upload #pdf-preview{width:100%}.pdf-upload #pdf-preview:empty{display:none}.pdf-status{border-radius:8px;padding:12px 14px;background:#fff;border:1px solid #d6e2f0;display:flex;flex-wrap:wrap;gap:4px 12px;font-size:12px;overflow-wrap:anywhere}.pdf-status strong{color:#2158a8}.pdf-status.complete{background:#edf8f3;border-color:#b8dfca}.pdf-status.complete strong{color:#126443}.pdf-status.error{background:#fff1f3;border-color:#eab4bd}.pdf-status.error strong,.pdf-status.error p{color:#a81f36}.pdf-status p{width:100%;margin-top:4px}.pdf-status span{min-width:0;overflow-wrap:anywhere}
.form-legend{display:flex;gap:22px;flex-wrap:wrap;color:#5a6e87;font-size:12px;margin:0 2px 18px}.form-legend>span{display:flex;gap:7px;align-items:center}.form-legend i{width:16px;height:16px;display:inline-block;background:#fff;border:1px solid #cad7e7;border-radius:4px}.form-legend i.required-swatch{background:#eaf3ff;border-color:#9dbde9}.form-legend b,.required-field>b{color:#225ccb}.quotation-form{max-width:1150px}.quotation-form #fields{display:grid;gap:18px}.quotation-form .form-section{margin:0;padding:24px 28px}.form-section-heading{display:flex;gap:12px;align-items:center;margin-bottom:22px}.form-section-heading h2{font-size:19px;margin:0 0 3px}.form-section-heading p{margin:0;font-size:12px;color:#6a7e97;line-height:1.5}.form-section-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:#f1f5fc;color:#3d6ea9;flex:none}.quotation-form .form-grid-three{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 20px}.quotation-form label{font-size:12px;font-weight:650;min-width:0}.quotation-form input,.quotation-form select{font-size:14px;background:#fff;min-width:0;width:100%;height:44px;border-radius:8px;box-sizing:border-box}.quotation-form .required-field input,.quotation-form .required-field select{background:#eaf3ff;border-color:#9dbde9}.quotation-form input[readonly]{background:#f5f7fa;color:#6d7d92}.quotation-form .money-control{background:#fff}.quotation-form .required-field .money-control{background:#eaf3ff;border-color:#9dbde9}.quotation-form .money-control>span{color:#627d9e}.quotation-form .money-control input{background:transparent;height:42px}.quotation-form .required-field input:focus,.quotation-form .required-field select:focus{background:#f3f8ff}.quotation-form .tenant{border:0;border-top:1px solid #e4ebf3;padding:22px 0 0;margin:22px 0 0}.quotation-form .tenant:first-of-type{border-top:0;padding-top:0;margin-top:0}.tenant-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;gap:12px}.tenant-heading h3{margin:0;font-size:14px;color:#254a73}.tenant-heading .text-button{font-size:12px;padding:5px 0;margin:0}.quotation-form [data-name-origin]{min-height:0;line-height:1.4;font-size:10px;color:#6d8199;font-weight:400}.quotation-form .too-professional{background:#f8fafc;border:1px solid #e4eaf2;border-radius:10px;margin-top:20px;padding:16px 18px}.quotation-form .too-professional .section-title{margin:0 0 12px}.quotation-form .too-professional h3{font-size:13px;margin:0}.quotation-form .too-professional .carrier-logo{width:55px;height:27px}.quotation-form .too-professional .grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.quotation-form .too-professional .hint{margin:10px 0 0;font-size:11px}.quotation-form .coverage-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:18px}.quotation-form .coverage-options label{display:flex;align-items:center;gap:9px;padding:12px;background:#f8fafc;border:1px solid #e0e8f3;border-radius:8px;font-size:12px;margin:0}.quotation-form .coverage-options input{width:17px;height:17px;margin:0;box-shadow:none;flex:none}.quotation-form .coverage-options label:has(input:checked){background:#edf4ff;border-color:#bdcff0;color:#2158a8}.quote-date-details{margin-top:20px;border-top:1px solid #e4ebf3;padding-top:14px}.quote-date-details summary{font-size:12px;color:#4b6484;cursor:pointer;font-weight:600}.quote-date-details .quotation-dates{margin-top:16px}.quote-form-footer{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:22px 0 8px}.quote-form-footer>div{margin-right:auto}.quote-form-footer strong{display:block;font-size:14px;color:#24496f}.quote-form-footer span{display:block;font-size:12px;color:#6b7f99;margin-top:4px}.quote-form-footer button{font-size:13px;min-height:44px}#quote-form-error:empty{display:none}#quote-form-error{padding:14px 18px;background:#fff0f2;border:1px solid #efbec6;border-radius:8px;margin-top:12px}
@media(max-width:1050px){.quotation-form .form-grid-three{grid-template-columns:repeat(2,minmax(0,1fr))}.quotation-form .coverage-options{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.pdf-upload{padding:18px;gap:14px}.pdf-upload-copy{min-width:0;width:100%}.pdf-upload-button{width:100%}.quotation-form .form-section{padding:20px 18px}.quotation-form .form-grid-three,.quotation-form .too-professional .grid,.quotation-form .coverage-options{grid-template-columns:minmax(0,1fr)}.quote-form-footer>div{width:100%}.quote-form-footer button{flex:1}.quotation-form .too-professional{padding:14px}.form-legend{gap:12px;font-size:11px}.quote-heading .carrier-strip{display:none}}
/* Four carriers remain a single, prominent row at every viewport. */
.quote-heading{flex-wrap:wrap;row-gap:18px}
.quote-heading .carrier-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;width:560px;max-width:100%;padding:18px 12px;border:1px solid #dce7f6;border-radius:14px;background:#ffffffd9;box-shadow:0 4px 18px #174c8310}
.quote-heading .carrier-strip>span{height:46px;padding:0 12px;border-right:1px solid #e3ebf6;min-width:0}
.quote-heading .carrier-strip>span:last-child{border:0}
.quote-heading .carrier-strip .carrier-logo{width:100%;max-width:124px;height:40px}
.quote-heading .carrier-strip .carrier-logo img{object-position:center}
@media(max-width:1100px){.quote-heading .carrier-strip{width:100%;max-width:640px}}
@media(max-width:650px){.quote-heading .carrier-strip{display:grid;margin:0;padding:12px 5px;gap:0;min-width:0}.quote-heading .carrier-strip>span{height:34px;padding:0 7px}.quote-heading .carrier-strip .carrier-logo{height:30px}.quote-heading{display:flex}}


.fire-quoted-label{margin-left:12px}.fire-result{scroll-margin-top:24px}.fire-result:focus{outline:3px solid #235bd4;outline-offset:8px}
#fire-sources td:last-child button{margin:4px 8px 4px 0}
.interaction-reason{display:block;margin-top:12px;font-size:14px;font-weight:500;line-height:1.55;text-align:left}
/* Access directory: compact identity, settings and actions grouped per person. */
.user-directory-heading{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin:2.5rem 0 1.25rem;padding-top:1.5rem;border-top:1px solid var(--line,#dbe5f3)}
.user-directory-heading h2{margin:.25rem 0}.user-directory{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem}
.user-access-card{border:1px solid #dce5f2;border-radius:18px;background:#fff;overflow:hidden;box-shadow:0 4px 16px #19385806;min-width:0}
.user-access-card header{display:flex;align-items:center;gap:.85rem;padding:1.4rem 1.4rem 1rem}.user-avatar{display:grid;place-items:center;flex:0 0 44px;height:44px;border-radius:14px;background:#edf3ff;color:#2255b8;font-size:1rem;font-weight:800}
.user-identity{flex:1;min-width:0}.user-identity h3{font-size:1.05rem;line-height:1.4;margin:0}.user-identity p{font-size:.86rem;color:#627693;margin:.3rem 0 0;overflow-wrap:anywhere}.user-access-card header>.pill{flex-shrink:0;font-size:.78rem}
.user-agency{display:flex;gap:.7rem;margin:0 1.4rem 1.2rem;padding:.85rem 1rem;background:#f6f8fc;border-radius:12px;color:#56708e}.user-agency>svg{width:20px;height:20px;flex-shrink:0}.user-agency strong{display:block;font-size:.85rem;line-height:1.45;font-weight:650}.user-agency span{display:block;font-size:.78rem;margin-top:.3rem;color:#71819a}
.user-settings{display:grid;grid-template-columns:1fr 1.15fr;gap:1rem;padding:0 1.4rem 1.25rem}.user-settings label{font-size:.8rem;color:#627693;font-weight:650}.user-settings select,.user-setting-fixed{display:block;width:100%;height:42px;margin-top:.45rem;border:1px solid #d6e1ef;border-radius:9px;background:white;color:#244462;padding:0 .6rem;font-size:.88rem}.user-setting-fixed{display:flex;align-items:center;background:#f7f9fc}.user-model-note{display:flex;align-items:center;flex-wrap:wrap;gap:.4rem;margin-top:.5rem}.user-model-note small{font-size:.72rem;color:#70809a}.user-model-note button{font-size:.73rem!important;padding:.35rem .55rem!important;min-height:28px!important}
.user-access-card footer{display:flex;flex-wrap:wrap;gap:.6rem;align-items:center;padding:1rem 1.4rem;background:#fbfcff;border-top:1px solid #e8edf5}.user-access-card footer button{font-size:.8rem;min-height:36px;padding:.45rem .7rem}.user-access-card footer .user-delete{color:#b32239;border-color:#edc8ce;margin-left:auto}.user-access-card footer .user-delete:hover{background:#fff0f2}
@media(max-width:1250px){.user-directory{grid-template-columns:1fr}}@media(max-width:600px){.user-access-card header{flex-wrap:wrap;padding:1rem}.user-agency{margin:0 1rem 1rem}.user-settings{padding:0 1rem 1rem;grid-template-columns:1fr}.user-access-card footer{padding:1rem}.user-access-card header>.pill{margin-left:auto}}

.quotation-status-light.working{background:#e4f4ec;color:#176342}
.quotation-status-light.working .start-access-light{background:#15945b;box-shadow:0 0 0 3px #15945b26;animation:start-access-pulse 1.2s ease-in-out infinite}
@media(prefers-reduced-motion:reduce){.quotation-status-light.working .start-access-light{animation:none}}
