/* Foundation Phase 1 intentionally adds no visual overrides. */
/* CentralOS estimate workspace */
.estimate-intro{overflow:hidden;background:var(--surface,#fff)!important;border:1px solid var(--line,#e3e6eb)!important;box-shadow:none!important}
.estimate-intro:before{content:"";position:absolute;inset:0;background:linear-gradient(120deg,color-mix(in srgb,var(--purple) 7%,transparent),transparent 48%);pointer-events:none}
.estimate-intro>*{position:relative;z-index:1}.page-eyebrow{display:block;margin-bottom:8px;color:var(--purple);font-size:11px;font-weight:900;letter-spacing:.14em}
.template-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))!important}.template{position:relative;min-height:94px;text-align:left}.template .template-mode{display:inline-flex;margin-top:10px;padding:4px 8px;border-radius:999px;background:color-mix(in srgb,var(--purple) 8%,#fff);color:var(--purple);font-size:10px;font-weight:900;letter-spacing:.04em;text-transform:uppercase}
.estimate-setup-panel{grid-column:1/-1}.estimate-setup-body{display:grid;gap:22px}.estimate-setup-notice{display:flex;align-items:flex-start;gap:14px;padding:16px 18px;border-radius:14px;background:color-mix(in srgb,var(--purple) 6%,#fff);border:1px solid color-mix(in srgb,var(--purple) 16%,#e4e7ec)}
.estimate-setup-notice strong{white-space:nowrap}.estimate-setup-notice span,.estimate-setup-switch span,.estimate-rule-section p{color:var(--muted,#6b7280);font-size:13px;line-height:1.45}.estimate-setup-switch{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 18px;border:1px solid var(--line,#e1e5eb);border-radius:14px}.estimate-setup-switch>div{display:grid;gap:4px}.switch-row{display:flex;align-items:center;gap:8px;margin:0!important}.switch-row input{width:20px;height:20px}
.estimate-config-grid{padding:18px;border:1px solid var(--line,#e1e5eb);border-radius:16px;background:color-mix(in srgb,var(--purple) 2%,#fff)}.estimate-rule-section{display:grid;grid-template-columns:minmax(190px,260px) 1fr;gap:24px;padding-top:20px;border-top:1px solid var(--line,#e1e5eb)}.estimate-rule-section h3{margin:0 0 5px;font-size:17px}.estimate-rule-section p{margin:0}.estimate-rule-list,.estimate-template-editor{display:grid;gap:10px}.estimate-rule-row,.estimate-template-edit-row{display:grid;grid-template-columns:minmax(180px,1fr) 150px auto;gap:10px;align-items:end}.estimate-template-edit-row{grid-template-columns:minmax(180px,.8fr) minmax(260px,1.4fr) auto}.estimate-rule-row label,.estimate-template-edit-row label{margin:0}.estimate-rule-row input,.estimate-template-edit-row input{width:100%}.estimate-setup-actions{display:flex;flex-wrap:wrap;gap:10px;padding-top:18px;border-top:1px solid var(--line,#e1e5eb)}
.estimate-rule-section>div:first-child .mini-btn{margin-top:12px}.estimate-distance-row,.estimate-storage-row{display:grid;grid-template-columns:repeat(2,minmax(120px,1fr)) auto auto;gap:10px;align-items:end;padding:12px;border:1px solid var(--line,#e1e5eb);border-radius:12px}.estimate-storage-row{grid-template-columns:minmax(150px,1.2fr) repeat(3,minmax(95px,1fr))}.estimate-distance-row label,.estimate-storage-row label{margin:0}.estimate-distance-row .switch-row{align-self:center;padding-bottom:10px}
.manual-estimate-mode .automatic-estimate-fields{display:none!important}body:not(.manual-estimate-mode) .manual-estimate-fields{display:none!important}.manual-price-grid{margin-bottom:18px}.estimate-mode-note{margin:0 0 12px;color:var(--muted,#6b7280)}
.pdf-brand-header{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:.42in .45in .3in;border-bottom:3px solid var(--purple)}.pdf-brand-identity{display:flex;align-items:center;gap:14px}.pdf-brand-identity img{width:58px;height:58px;object-fit:contain}.pdf-brand-identity h2{margin:0;font-size:25px;color:#17243a}.pdf-brand-identity p{margin:4px 0 0;color:#687386;font-size:10px}.pdf-document-label{text-align:right}.pdf-document-label span{display:block;color:var(--purple);font-size:10px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.pdf-document-label strong{display:block;margin-top:5px;font-size:18px;color:#17243a}.pdf-clean-content{padding:.34in .45in}.pdf-clean-title{margin:0;color:#17243a;font-size:28px}.pdf-clean-subtitle{margin:7px 0 22px;color:#687386;font-size:12px}.pdf-clean-meta{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid #dfe4ea;border-radius:12px;overflow:hidden;margin-bottom:22px}.pdf-clean-meta div{padding:12px 14px;border-right:1px solid #dfe4ea}.pdf-clean-meta div:last-child{border-right:0}.pdf-clean-meta span{display:block;color:#7a8392;font-size:8px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.pdf-clean-meta strong{display:block;margin-top:5px;color:#1e293b;font-size:11px}.pdf-clean-section{margin-top:20px}.pdf-clean-section h3{margin:0 0 10px;color:#17243a;font-size:14px}.pdf-clean-table{border:1px solid #dfe4ea;border-radius:12px;overflow:hidden}.pdf-clean-row{display:grid;grid-template-columns:1fr 1.2fr;border-bottom:1px solid #e8ebef}.pdf-clean-row:last-child{border-bottom:0}.pdf-clean-row span,.pdf-clean-row strong{padding:9px 12px;font-size:10px}.pdf-clean-row span{color:#687386}.pdf-clean-row strong{color:#17243a}.pdf-clean-total{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-top:22px;padding:18px 20px;border-radius:14px;background:color-mix(in srgb,var(--purple) 7%,#fff);border:1px solid color-mix(in srgb,var(--purple) 18%,#dfe4ea)}.pdf-clean-total span{display:block;color:#687386;font-size:9px;font-weight:900;text-transform:uppercase}.pdf-clean-total strong{display:block;margin-top:4px;color:var(--purple);font-size:28px}.pdf-clean-note{margin-top:18px;padding:14px 16px;border-radius:12px;background:#f6f7f9;color:#4b5563;font-size:10px;line-height:1.5}.pdf-terms-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:18px}.pdf-term-card{padding:18px;border:1px solid #dfe4ea;border-radius:13px}.pdf-term-card h3{margin:0 0 10px;color:#17243a;font-size:14px}.pdf-term-card p{margin:0 0 9px;color:#4b5563;font-size:10px;line-height:1.55;white-space:pre-wrap}.pdf-term-card p:last-child{margin-bottom:0}
html[data-color-mode="dark"] .estimate-setup-notice,html[data-color-mode="dark"] .estimate-setup-switch,html[data-color-mode="dark"] .estimate-config-grid{background:#202b37;border-color:#3b4859}.manual-estimate-mode .summary-strip .metric:nth-child(3),.manual-estimate-mode .summary-strip .metric:nth-child(4){display:none}
@media(max-width:900px){.estimate-rule-section{grid-template-columns:1fr}.estimate-rule-row,.estimate-template-edit-row,.estimate-distance-row,.estimate-storage-row{grid-template-columns:1fr}.pdf-terms-grid{grid-template-columns:1fr}}

/* Company-controlled estimate fields */
.estimate-detail-field-row{display:grid;grid-template-columns:minmax(190px,1.2fr) minmax(140px,.7fr) minmax(130px,.6fr) auto;gap:10px;align-items:end;padding:12px;border:1px solid var(--line,#e1e5eb);border-radius:13px}
.estimate-detail-field-row label{margin:0}.estimate-detail-field-row input,.estimate-detail-field-row select{width:100%}.custom-estimate-detail-fields{display:contents}.custom-estimate-detail-fields>div{min-width:0}
html[data-color-mode="dark"] .estimate-detail-field-row{border-color:#3b4859;background:#182330}
@media(max-width:900px){.estimate-detail-field-row{grid-template-columns:1fr 1fr}.estimate-detail-field-row .mini-btn{justify-self:start}}

/* Catalog-driven estimates */
.catalog-estimate-panel{grid-column:1/-1;min-width:0}.catalog-estimate-head-actions{display:flex;align-items:end;gap:10px;flex-wrap:wrap}.catalog-estimate-head-actions label{display:grid;gap:6px;margin:0;color:var(--muted);font-size:10px;font-weight:900;text-transform:uppercase}.catalog-estimate-head-actions select{min-width:210px}.catalog-estimate-body{display:grid;gap:16px}.catalog-estimate-toolbar{display:grid;grid-template-columns:minmax(280px,1fr) auto;gap:12px;align-items:center}.catalog-folder-strip{display:flex;gap:8px;overflow-x:auto;padding:2px 1px 6px;scrollbar-width:thin}.catalog-folder-strip button{flex:0 0 auto;padding:9px 13px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--muted);font-weight:850}.catalog-folder-strip button.active{border-color:color-mix(in srgb,var(--purple) 35%,var(--line));background:var(--theme-soft);color:var(--purple)}
.catalog-estimate-results{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:10px;max-height:330px;overflow:auto}.catalog-estimate-result{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px;border:1px solid var(--line);border-radius:14px;background:#fff}.catalog-estimate-result>div:first-child{min-width:0}.catalog-estimate-result span{display:block;color:var(--muted);font-size:9px;font-weight:900;text-transform:uppercase}.catalog-estimate-result strong{display:block;margin-top:4px;font-size:13px}.catalog-estimate-result p{margin:4px 0 0;color:var(--muted);font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.catalog-estimate-result>div:last-child{display:grid;justify-items:end;gap:8px;white-space:nowrap}.catalog-estimate-result button{padding:7px 11px;border:0;border-radius:9px;background:var(--purple);color:#fff;font-weight:900}.catalog-estimate-empty{grid-column:1/-1;padding:22px;border:1px dashed var(--line);border-radius:14px;color:var(--muted);text-align:center}.catalog-estimate-empty.large{padding:32px}
.catalog-first-item{display:grid;justify-items:center;gap:8px}.catalog-first-item strong{color:var(--ink);font-size:14px}.catalog-first-item>span{font-size:11px;font-weight:650;text-transform:none}.catalog-first-item>div{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:5px}.catalog-first-item .btn{width:auto}
.catalog-estimate-head-actions .btn.ghost,.catalog-estimate-toolbar .btn.ghost,.catalog-first-item .btn.ghost{background:#fff;color:var(--purple);border:1px solid var(--line)}
.catalog-estimate-head-actions .btn.ghost:hover,.catalog-estimate-toolbar .btn.ghost:hover,.catalog-first-item .btn.ghost:hover{background:var(--theme-soft);border-color:color-mix(in srgb,var(--purple) 35%,var(--line))}
.catalog-lines-head{display:flex;align-items:end;justify-content:space-between;gap:16px;padding-top:5px;border-top:1px solid var(--line)}.catalog-lines-head h3{margin:12px 0 3px}.catalog-lines-head p{margin:0;color:var(--muted);font-size:11px}.catalog-lines-head>span{color:var(--muted);font-size:11px;font-weight:900}.catalog-estimate-lines{display:grid;gap:10px}.catalog-estimate-line{display:grid;grid-template-columns:32px minmax(0,1fr);gap:12px;padding:14px;border:1px solid var(--line);border-radius:15px;background:#fff;font-family:var(--ui-font);font-size:var(--ui-body);line-height:var(--ui-line-height)}.catalog-line-index{width:30px;height:30px;display:grid;place-items:center;border-radius:10px;background:var(--theme-soft);color:var(--purple);font-size:11px;font-weight:900}.catalog-line-main{min-width:0}.catalog-line-grid{display:grid;grid-template-columns:90px minmax(240px,2fr) minmax(145px,1fr) 105px repeat(4,minmax(105px,.8fr));gap:9px;align-items:end}.catalog-line-billing{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:9px;padding:9px 11px;border-radius:10px;background:color-mix(in srgb,var(--theme-soft) 55%,#fff)}.catalog-line-billing>span{margin-left:auto;color:var(--muted);font-size:var(--ui-small);font-weight:850}.catalog-line-estimate-totals{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.catalog-line-estimate-totals span{display:grid;gap:2px;margin:0;color:var(--muted);font-size:10px;font-weight:750}.catalog-line-estimate-totals b{color:var(--ink);font-size:12px}.catalog-line-subgrid{display:grid;grid-template-columns:auto 90px minmax(180px,1fr) auto auto;gap:12px;align-items:end;margin-top:9px}.catalog-line-grid label,.catalog-line-subgrid label{margin:0;color:var(--muted);font-family:var(--ui-font);font-size:var(--ui-label);font-weight:800;line-height:1.45}.catalog-line-grid input,.catalog-line-grid select,.catalog-line-subgrid input{width:100%;min-width:0;font-family:var(--ui-font);font-size:var(--ui-body);font-weight:400;line-height:1.45}.catalog-line-grid select option{font-family:var(--ui-font);font-size:var(--ui-body);font-weight:400;line-height:1.45}.catalog-line-grid input::placeholder,.catalog-line-subgrid input::placeholder{font-family:var(--ui-font);font-size:var(--ui-body);font-weight:400;line-height:1.45}.catalog-line-readonly{display:flex;align-items:center;min-height:42px;margin-top:6px;padding:10px 12px;border:1px solid var(--line);border-radius:9px;background:var(--soft);color:var(--ink);font-family:var(--ui-font);font-size:var(--ui-body);font-weight:400;line-height:1.45}.catalog-line-unit{text-transform:none}.catalog-line-subgrid strong{padding-bottom:10px;font-size:14px;white-space:nowrap}.catalog-line-subgrid button{align-self:end;padding:10px 12px;border:1px solid #f1caca;border-radius:10px;background:#fff6f6;color:#a92525;font-weight:850}.catalog-estimate-totals{margin-left:auto;width:min(500px,100%);border-top:1px solid var(--line)}.catalog-estimate-totals>div{display:flex;justify-content:space-between;gap:18px;padding:9px 2px;color:var(--muted);font-size:12px}.catalog-estimate-totals .catalog-total-final{margin-top:2px;padding:13px 2px;border-top:2px solid var(--line);color:var(--ink);font-size:17px}.catalog-total-final strong{color:var(--purple)}.legacy-estimate-compatibility{margin-top:2px;border:1px solid var(--line);border-radius:13px;background:color-mix(in srgb,var(--theme-soft) 45%,#fff)}.legacy-estimate-compatibility summary{padding:13px 15px;color:var(--muted);font-size:11px;font-weight:850;cursor:pointer}.legacy-estimate-compatibility-body{display:grid;gap:12px;padding:0 15px 15px}.legacy-estimate-compatibility-body p{margin:3px 0 0;color:var(--muted);font-size:11px}.legacy-estimate-compatibility .template-grid{margin-top:3px}
.field-help{display:block;margin-top:5px;color:var(--muted);font-size:10px;line-height:1.4}.saved-status{display:inline-flex;margin-left:8px;padding:3px 8px;border-radius:999px;background:var(--theme-soft);color:var(--purple);font-size:9px;font-weight:900;text-transform:uppercase}.saved-actions select{height:34px;padding:0 28px 0 9px;border:1px solid var(--line);border-radius:8px;background:#fff;font-size:11px;font-weight:800}
html[data-color-mode="dark"] .catalog-folder-strip button,html[data-color-mode="dark"] .catalog-estimate-result,html[data-color-mode="dark"] .catalog-estimate-line,html[data-color-mode="dark"] .catalog-line-billing,html[data-color-mode="dark"] .legacy-estimate-compatibility,html[data-color-mode="dark"] .saved-actions select{background:#182330;border-color:#3b4859;color:#f2f5f9}
html[data-color-mode="dark"] .catalog-estimate-head-actions .btn.ghost,html[data-color-mode="dark"] .catalog-estimate-toolbar .btn.ghost,html[data-color-mode="dark"] .catalog-first-item .btn.ghost{background:#202c38;border-color:#46566a;color:#f0f4f8}
@media(max-width:1450px){.catalog-line-grid{grid-template-columns:90px minmax(220px,2fr) repeat(3,minmax(110px,1fr));}.catalog-line-subgrid{grid-template-columns:auto 90px minmax(160px,1fr) auto auto}}
@media(max-width:820px){.catalog-estimate-toolbar{grid-template-columns:1fr}.catalog-estimate-head-actions{align-items:stretch}.catalog-estimate-head-actions label{width:100%}.catalog-estimate-head-actions select{width:100%}.catalog-line-grid,.catalog-line-subgrid{grid-template-columns:1fr 1fr}.catalog-line-description,.catalog-line-notes{grid-column:1/-1}.catalog-estimate-line{grid-template-columns:1fr}.catalog-line-index{display:none}}

/* Estimate lifecycle controls */
.saved-estimate-card{align-items:flex-start;gap:22px}.saved-estimate-title{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:5px}.estimate-status{display:inline-flex;align-items:center;justify-content:center;min-height:25px;padding:3px 10px;border-radius:999px;background:var(--theme-soft);color:var(--muted);font-size:11px;font-weight:850}.estimate-status.status-sent{color:var(--purple)}.estimate-status.status-accepted{background:#e9f7df;color:#347518}.estimate-status.status-declined,.estimate-status.status-cancelled{background:#fff0f0;color:#a52626}.estimate-status.status-expired{background:#fff5dc;color:#8a6211}.saved-status-control{display:grid;grid-template-columns:auto minmax(108px,1fr);align-items:center;gap:7px;color:var(--muted);font-size:11px;font-weight:800}.saved-status-control select{min-height:36px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink);padding:5px 28px 5px 9px;font:inherit}.saved-actions .mini-btn.primary{background:var(--purple);border-color:var(--purple);color:#fff}html[data-color-mode="dark"] .estimate-status.status-accepted{background:#243d25;color:#a9e48c}html[data-color-mode="dark"] .estimate-status.status-declined,html[data-color-mode="dark"] .estimate-status.status-cancelled{background:#422626;color:#ffb2b2}html[data-color-mode="dark"] .estimate-status.status-expired{background:#45391f;color:#f0d38b}html[data-color-mode="dark"] .saved-status-control select{background:#182330;border-color:#3b4859;color:#f2f5f9}
/* Reviewed estimate handoff and single-page customer PDF. The PDF consumes a
   fixed pricing snapshot and is intentionally independent of the legacy view. */
.estimate-handoff{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:18px;padding:16px;border:1px solid color-mix(in srgb,var(--purple) 20%,#dfe4ec);border-radius:14px;background:color-mix(in srgb,var(--purple) 4%,#fff)}
.estimate-handoff p{flex:1;min-width:260px;margin:0;color:var(--muted);font-size:13px;font-weight:700;line-height:1.45}
.estimate-handoff p.warning{color:#a52727}
.pdf-estimate-placeholder{box-sizing:border-box;width:8.5in;height:11in;min-height:11in;padding:.55in;display:grid;place-items:center;background:#fff;color:#253247;overflow:hidden;page-break-after:auto;break-after:auto}
.pdf-estimate-placeholder>div{max-width:520px;padding:42px;border:1px solid #dce2ea;border-radius:16px;text-align:center;background:#f8fafc}
.pdf-estimate-placeholder strong{display:block;margin-bottom:10px;font-size:26px;color:var(--purple)}
.pdf-estimate-placeholder p{margin:0;font-size:14px;line-height:1.55}
.pdf-estimate-one-page{box-sizing:border-box;width:8.5in;height:11in;min-height:11in;padding:.22in;background:#fff;color:#1a1d25;overflow:hidden;page-break-after:auto;break-after:auto;font-family:Arial,Helvetica,sans-serif}
.pdf-estimate-one-page .pdf-one-sheet{box-sizing:border-box;height:10.56in;padding:.31in .34in .24in;display:grid;grid-template-rows:auto 2px auto auto auto minmax(0,1fr) 1.22in auto auto;gap:.105in;border:1px solid #dfe3ea;border-radius:9px;background:#fff;overflow:hidden}
.pdf-estimate-one-page .pdf-one-header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px;align-items:start}
.pdf-estimate-one-page .pdf-company-identity{display:flex;align-items:flex-start;gap:14px;min-width:0}.pdf-estimate-one-page .pdf-company-identity>div{min-width:0}.pdf-estimate-one-page .pdf-company-logo{width:auto!important;max-width:155px!important;height:auto!important;max-height:58px!important;flex:0 0 auto;margin:0!important;object-fit:contain!important;object-position:left top!important}
.pdf-estimate-one-page .pdf-one-header h1{margin:0;color:var(--pdf-secondary);font-size:28px;line-height:1.05;letter-spacing:-.5px}
.pdf-estimate-one-page .pdf-one-header p{margin:5px 0 6px;color:var(--pdf-primary);font-size:10px;font-weight:800}
.pdf-estimate-one-page .pdf-one-header small{display:block;color:#525965;font-size:8.5px;line-height:1.4}
.pdf-estimate-one-page .pdf-one-header>div:last-child{display:grid;gap:5px;min-width:180px;text-align:right;color:#4b5260;font-size:9px}
.pdf-estimate-one-page .pdf-one-header>div:last-child strong{color:var(--pdf-primary);font-size:13px;text-transform:uppercase}
.pdf-estimate-one-page .pdf-one-divider{background:var(--pdf-primary)}
.pdf-estimate-one-page .pdf-one-title{display:flex;align-items:center;justify-content:space-between;gap:16px}
.pdf-estimate-one-page .pdf-one-title h2{margin:0;color:var(--pdf-primary);font-size:21px;line-height:1.1}
.pdf-estimate-one-page .pdf-one-title span{padding:6px 11px;border-radius:999px;background:color-mix(in srgb,var(--pdf-primary) 9%,#fff);color:var(--pdf-primary);font-size:8px;font-weight:900;text-transform:uppercase}
.pdf-estimate-one-page .pdf-one-cards{display:grid;grid-template-columns:.9fr 1.1fr;gap:.11in}
.pdf-estimate-one-page .pdf-one-cards article,.pdf-estimate-one-page .pdf-one-locations,.pdf-estimate-one-page .pdf-one-pricing,.pdf-estimate-one-page .pdf-one-notes{border:1px solid #dfe3ea;border-radius:7px;background:#fff}
.pdf-estimate-one-page .pdf-one-cards article{padding:10px 12px;min-height:.65in}
.pdf-estimate-one-page h3{margin:0 0 6px;color:var(--pdf-primary);font-size:8px;letter-spacing:.4px;text-transform:uppercase}
.pdf-estimate-one-page .pdf-one-cards strong{display:block;color:var(--pdf-secondary);font-size:11px;line-height:1.25}
.pdf-estimate-one-page .pdf-one-cards p{margin:4px 0 0;color:#4f5662;font-size:8.5px;line-height:1.35}
.pdf-estimate-one-page .pdf-one-details{display:grid;grid-template-columns:1fr 1fr;gap:3px 12px;margin-top:5px}
.pdf-estimate-one-page .pdf-one-details div{display:flex;justify-content:space-between;gap:8px;color:#5b626e;font-size:7.8px}
.pdf-estimate-one-page .pdf-one-details span{white-space:nowrap}.pdf-estimate-one-page .pdf-one-details strong{font-size:7.8px;text-align:right}
.pdf-estimate-one-page .pdf-one-locations{display:grid;grid-template-columns:1fr 30px 1fr;align-items:center;padding:9px 12px}
.pdf-estimate-one-page .pdf-one-locations>span{color:var(--pdf-primary);font-size:22px;text-align:center}
.pdf-estimate-one-page .pdf-one-locations article:last-child{padding-left:10px}
.pdf-estimate-one-page .pdf-one-locations p{margin:0;color:#323844;font-size:9px;line-height:1.35;white-space:pre-line}
.pdf-estimate-one-page .pdf-one-pricing{min-height:0;padding:10px 12px;overflow:hidden}
.pdf-estimate-one-page table{width:100%;border-collapse:collapse;table-layout:fixed}
.pdf-estimate-one-page th{padding:0 0 5px;border-bottom:1px solid #dfe3ea;color:#747b87;font-size:7.5px;text-align:left;text-transform:uppercase}
.pdf-estimate-one-page th:first-child{width:30%}.pdf-estimate-one-page th:nth-child(2){width:11%}.pdf-estimate-one-page th:nth-child(3){width:13%}.pdf-estimate-one-page th:nth-child(4){width:15%}.pdf-estimate-one-page th:nth-child(5){width:13%}.pdf-estimate-one-page th:last-child,.pdf-estimate-one-page td:last-child{width:18%;text-align:right}
.pdf-estimate-one-page td{padding:4px 0;border-bottom:1px solid #edf0f4;color:#313742;font-size:8.5px;vertical-align:top}
.pdf-estimate-one-page td strong{display:inline-block;min-width:52px;color:var(--pdf-secondary);font-size:8px}.pdf-estimate-one-page td span{color:#4e5662}
.pdf-estimate-one-page .pdf-one-subtotal td{padding-top:6px;font-weight:800}
.pdf-estimate-one-page .pdf-one-total td{padding-top:7px;border-bottom:0;color:var(--pdf-secondary);font-size:14px;font-weight:900;text-transform:uppercase}
.pdf-estimate-one-page .pdf-one-total td:last-child{color:var(--pdf-primary);font-size:17px}
.pdf-estimate-one-page .pdf-one-notes{padding:10px 12px;overflow:hidden}
.pdf-estimate-one-page .pdf-one-notes p{margin:0 0 6px;color:#3e4551;font-size:8.5px;line-height:1.3}
.pdf-estimate-one-page .pdf-one-notes>div{height:19px;border-bottom:1px dotted #ccd2dc}
.pdf-estimate-one-page .pdf-one-important{display:grid;grid-template-columns:100px 1fr;gap:12px;padding:7px 4px;border-top:2px solid color-mix(in srgb,var(--pdf-primary) 35%,#dfe3ea);border-bottom:1px solid #dfe3ea}
.pdf-estimate-one-page .pdf-one-important h3{margin:2px 0}.pdf-estimate-one-page .pdf-one-important ul{margin:0;padding-left:15px;color:#444b56;font-size:7.5px;line-height:1.35}
.pdf-estimate-one-page footer{display:flex;justify-content:space-between;gap:20px;color:#69717d;font-size:7.5px}.pdf-estimate-one-page footer span:first-child{color:var(--pdf-primary);font-weight:800}
.pdf-layout-picker{display:inline-flex;align-items:center;gap:3px;padding:4px;border:1px solid var(--line,#e1e5eb);border-radius:12px;background:color-mix(in srgb,var(--purple) 3%,#fff)}
.pdf-layout-picker>span{padding:0 8px;color:var(--muted,#6b7280);font-size:10px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
.pdf-layout-picker button{min-width:82px;padding:8px 12px;border:0;border-radius:8px;background:transparent;color:var(--muted,#6b7280);font:inherit;font-size:12px;font-weight:850;cursor:pointer}
.pdf-layout-picker button:hover{color:var(--purple);background:color-mix(in srgb,var(--purple) 6%,#fff)}
.pdf-layout-picker button.active{color:#fff;background:var(--purple);box-shadow:0 3px 9px color-mix(in srgb,var(--purple) 22%,transparent)}
.pdf-layout-classic .pdf-one-sheet{border:3px double color-mix(in srgb,var(--pdf-secondary) 40%,#dfe3ea);border-radius:2px}.pdf-layout-classic .pdf-one-header h1{font-family:Georgia,"Times New Roman",serif;font-weight:600}.pdf-layout-classic .pdf-one-title{padding:5px 0;border-top:1px solid #d9dee6;border-bottom:1px solid #d9dee6}.pdf-layout-classic .pdf-one-title h2{font-family:Georgia,"Times New Roman",serif;color:var(--pdf-secondary)}.pdf-layout-classic .pdf-one-divider{height:0}.pdf-layout-classic .pdf-one-total td{font-family:Georgia,"Times New Roman",serif}
.pdf-layout-modern .pdf-one-sheet{border:0;border-radius:0;box-shadow:inset 0 7px 0 var(--pdf-primary)}
.pdf-layout-modern .pdf-one-header{padding:15px 17px;border-radius:10px;background:linear-gradient(125deg,var(--pdf-primary),color-mix(in srgb,var(--pdf-primary) 72%,#172033))}
.pdf-layout-modern .pdf-one-header h1,.pdf-layout-modern .pdf-one-header>div:last-child strong{color:#fff}
.pdf-layout-modern .pdf-one-header p{color:color-mix(in srgb,var(--pdf-secondary) 62%,#fff)}
.pdf-layout-modern .pdf-one-header small,.pdf-layout-modern .pdf-one-header>div:last-child{color:rgba(255,255,255,.82)}
.pdf-layout-modern .pdf-company-logo{max-width:170px!important;max-height:64px!important;padding:7px!important;border-radius:8px;background:#fff;box-shadow:0 4px 13px rgba(0,0,0,.14)}
.pdf-layout-modern .pdf-one-divider{height:0;background:transparent}
.pdf-layout-modern .pdf-one-title h2{font-size:23px;letter-spacing:-.4px}
.pdf-layout-modern .pdf-one-title span{background:var(--pdf-secondary);color:#fff}
.pdf-layout-modern .pdf-one-cards article,.pdf-layout-modern .pdf-one-locations,.pdf-layout-modern .pdf-one-pricing,.pdf-layout-modern .pdf-one-notes{border-color:color-mix(in srgb,var(--pdf-primary) 16%,#dfe3ea);border-radius:12px;background:color-mix(in srgb,var(--pdf-primary) 2.5%,#fff)}
.pdf-layout-modern .pdf-one-pricing{box-shadow:0 5px 16px rgba(15,23,42,.06)}
.pdf-layout-modern th{color:var(--pdf-primary)}
.pdf-layout-modern .pdf-one-total td{background:color-mix(in srgb,var(--pdf-primary) 7%,#fff)}
.pdf-layout-corporate .pdf-one-sheet{padding:.28in .31in .22in;border:0;border-left:7px solid var(--pdf-primary);border-radius:0}
.pdf-layout-corporate .pdf-one-header{padding-bottom:10px;border-bottom:1px solid #aeb5c0}
.pdf-layout-corporate .pdf-one-header h1{color:#1f2937;font-size:25px;text-transform:uppercase;letter-spacing:1.1px}
.pdf-layout-corporate .pdf-company-identity{align-items:center}.pdf-layout-corporate .pdf-company-logo{max-width:120px!important;max-height:44px!important}
.pdf-layout-corporate .pdf-one-header p{color:var(--pdf-primary);letter-spacing:.08em;text-transform:uppercase}
.pdf-layout-corporate .pdf-one-header>div:last-child strong{padding:7px 9px;background:var(--pdf-primary);color:#fff;letter-spacing:.06em}
.pdf-layout-corporate .pdf-one-divider{background:var(--pdf-secondary)}
.pdf-layout-corporate .pdf-one-title{padding:2px 0}
.pdf-layout-corporate .pdf-one-title h2{color:#1f2937;font-size:19px;text-transform:uppercase;letter-spacing:.06em}
.pdf-layout-corporate .pdf-one-title span{border:1px solid var(--pdf-primary);border-radius:2px;background:#fff}
.pdf-layout-corporate .pdf-one-cards article,.pdf-layout-corporate .pdf-one-locations,.pdf-layout-corporate .pdf-one-pricing,.pdf-layout-corporate .pdf-one-notes{border-color:#aeb5c0;border-radius:0}
.pdf-layout-corporate h3{color:#4b5563;letter-spacing:.11em}
.pdf-layout-corporate .pdf-one-cards strong{color:var(--pdf-primary)}
.pdf-layout-corporate th{padding:5px 4px;background:#eef1f4;color:#374151}
.pdf-layout-corporate td{padding:5px 4px}
.pdf-layout-corporate .pdf-one-total td{border-top:2px solid var(--pdf-primary);color:#1f2937}
.pdf-layout-corporate .pdf-one-important{border-top-color:var(--pdf-primary)}

/* Build 311: four estimate-only Letter layouts. Empty locations and notes are omitted by the renderer. */
.pdf-estimate-one-page .pdf-one-sheet{display:flex;flex-direction:column;height:10.56in;padding:.32in .35in .23in;gap:.105in;border:1px solid #d9dfe7;border-radius:0;overflow:hidden}
.pdf-estimate-one-page .pdf-one-header{flex:0 0 auto}
.pdf-estimate-one-page .pdf-one-title{flex:0 0 auto}
.pdf-estimate-one-page .pdf-one-title>div{min-width:0}.pdf-estimate-one-page .pdf-one-title small{display:block;margin-bottom:4px;color:#697484;font-size:8px;font-weight:800;letter-spacing:.09em;text-transform:uppercase}
.pdf-estimate-one-page .pdf-title-total{display:none;white-space:nowrap;color:var(--pdf-primary);font-size:22px}
.pdf-estimate-one-page .pdf-one-cards,.pdf-estimate-one-page .pdf-one-locations,.pdf-estimate-one-page .pdf-one-notes,.pdf-estimate-one-page .pdf-one-important,.pdf-estimate-one-page footer{flex:0 0 auto}
.pdf-estimate-one-page .pdf-one-pricing{flex:1 1 auto;min-height:0;padding:11px 12px;overflow:hidden}
.pdf-estimate-one-page .pdf-one-location-pair{grid-template-columns:1fr 30px 1fr}
.pdf-estimate-one-page .pdf-one-location-single{display:block;padding:10px 12px}.pdf-estimate-one-page .pdf-one-location-single article{padding:0!important}
.pdf-estimate-one-page .pdf-one-notes{padding:9px 12px;max-height:.72in}.pdf-estimate-one-page .pdf-one-notes p{margin:0;display:-webkit-box;overflow:hidden;-webkit-line-clamp:3;-webkit-box-orient:vertical}
.pdf-estimate-one-page .pdf-one-important{grid-template-columns:96px 1fr;padding:7px 3px}.pdf-estimate-one-page .pdf-one-important ul{display:grid;grid-template-columns:1fr 1fr;gap:2px 18px}
.pdf-estimate-one-page th{font-size:8px}.pdf-estimate-one-page td{padding:5px 2px;font-size:9px;line-height:1.25}.pdf-estimate-one-page td strong{font-size:8.5px}.pdf-estimate-one-page .pdf-one-total td{font-size:13px}.pdf-estimate-one-page .pdf-one-total td:last-child{font-size:16px}
.pdf-density-compact td{padding:3px 2px;font-size:8px}.pdf-density-compact td strong{font-size:7.8px}.pdf-density-compact .pdf-one-cards article{padding:8px 10px}.pdf-density-compact .pdf-one-important ul{font-size:7px;line-height:1.25}

.pdf-layout-service-summary .pdf-one-sheet{border-top:7px solid var(--pdf-primary);box-shadow:inset 6px 0 0 var(--pdf-secondary)}
.pdf-layout-service-summary .pdf-one-header{padding-left:7px}.pdf-layout-service-summary .pdf-one-header h1{color:var(--pdf-secondary);font-size:25px}.pdf-layout-service-summary .pdf-one-divider{height:0}
.pdf-layout-service-summary .pdf-one-title{padding:4px 7px}.pdf-layout-service-summary .pdf-one-title h2{color:var(--pdf-secondary);font-size:23px}
.pdf-layout-service-summary .pdf-one-cards,.pdf-layout-service-summary .pdf-one-locations,.pdf-layout-service-summary .pdf-one-pricing,.pdf-layout-service-summary .pdf-one-notes{margin-left:7px;border-color:#d9dfe7}
.pdf-layout-service-summary .pdf-one-cards article{border-top:3px solid var(--pdf-secondary);background:#f5f8fa}.pdf-layout-service-summary .pdf-one-total td{background:color-mix(in srgb,var(--pdf-secondary) 8%,#fff)}

.pdf-layout-route-plan .pdf-one-sheet{padding-top:.27in;border:0;box-shadow:inset 0 2.08in 0 var(--pdf-primary)}
.pdf-layout-route-plan .pdf-one-header{padding:12px 15px 9px;color:#fff}.pdf-layout-route-plan .pdf-one-header h1,.pdf-layout-route-plan .pdf-one-header>div:last-child strong{color:#fff}.pdf-layout-route-plan .pdf-one-header p{color:color-mix(in srgb,var(--pdf-secondary) 55%,#fff)}.pdf-layout-route-plan .pdf-one-header small,.pdf-layout-route-plan .pdf-one-header>div:last-child{color:rgba(255,255,255,.82)}
.pdf-layout-route-plan .pdf-company-logo{padding:5px!important;border-radius:6px;background:#fff}.pdf-layout-route-plan .pdf-one-divider{height:0}.pdf-layout-route-plan .pdf-one-title{padding:6px 15px 12px;color:#fff}.pdf-layout-route-plan .pdf-one-title small,.pdf-layout-route-plan .pdf-one-title h2{color:#fff}.pdf-layout-route-plan .pdf-one-title h2{font-size:23px}
.pdf-layout-route-plan .pdf-one-locations{order:4;margin-top:-.08in;border:1px solid #d6dfe7;background:#fff;box-shadow:0 6px 14px rgba(15,42,63,.12)}.pdf-layout-route-plan .pdf-one-cards{order:5}.pdf-layout-route-plan .pdf-one-pricing{order:6}.pdf-layout-route-plan .pdf-one-notes{order:7}.pdf-layout-route-plan .pdf-one-important{order:8}.pdf-layout-route-plan footer{order:9}
.pdf-layout-route-plan .pdf-one-cards article{background:#f1f6f8}.pdf-layout-route-plan .pdf-one-total td{background:color-mix(in srgb,var(--pdf-secondary) 10%,#fff);color:#174b49}.pdf-layout-route-plan .pdf-one-total td:last-child{color:#07534c}

.pdf-layout-scope-first .pdf-one-sheet{border:0;border-top:7px solid var(--pdf-primary)}
.pdf-layout-scope-first .pdf-one-header{padding-bottom:10px;border-bottom:1px solid #dbe1e8}.pdf-layout-scope-first .pdf-one-divider{height:0}
.pdf-layout-scope-first .pdf-one-title{align-items:flex-end;padding:7px 0}.pdf-layout-scope-first .pdf-one-title h2{color:#17243a;font-size:24px}.pdf-layout-scope-first .pdf-title-total{display:block;padding:9px 12px;border:2px solid #17243a;color:#17243a;font-size:20px}
.pdf-layout-scope-first .pdf-one-locations{display:none}.pdf-layout-scope-first .pdf-one-cards{grid-template-columns:.82fr 1.18fr}.pdf-layout-scope-first .pdf-one-cards article{border:0;border-left:4px solid var(--pdf-primary);border-radius:0;background:#f3f5f8}
.pdf-layout-scope-first th{padding:7px 4px;background:#17243a;color:#fff}.pdf-layout-scope-first td{padding:6px 4px}.pdf-layout-scope-first .pdf-one-total td{border-top:2px solid #17243a}.pdf-layout-scope-first .pdf-one-important{border-top-color:var(--pdf-primary)}

.pdf-layout-compact-commercial .pdf-one-sheet{padding:.28in .31in .21in;border:0;border-left:8px solid var(--pdf-primary)}
.pdf-layout-compact-commercial .pdf-one-header{padding-bottom:9px;border-bottom:1px solid #aeb7c3}.pdf-layout-compact-commercial .pdf-one-header h1{font-size:24px;text-transform:uppercase;letter-spacing:.06em}.pdf-layout-compact-commercial .pdf-company-logo{max-width:125px!important;max-height:48px!important}.pdf-layout-compact-commercial .pdf-one-divider{height:0}
.pdf-layout-compact-commercial .pdf-one-title{padding:10px 12px;background:#eef3f5}.pdf-layout-compact-commercial .pdf-one-title h2{color:#1f2937;font-size:20px}.pdf-layout-compact-commercial .pdf-title-total{display:block;font-size:19px}
.pdf-layout-compact-commercial .pdf-one-cards{gap:0;border:1px solid #aeb7c3}.pdf-layout-compact-commercial .pdf-one-cards article{min-height:0;border:0;border-radius:0;padding:9px 11px}.pdf-layout-compact-commercial .pdf-one-cards article+article{border-left:1px solid #aeb7c3}
.pdf-layout-compact-commercial .pdf-one-locations,.pdf-layout-compact-commercial .pdf-one-pricing,.pdf-layout-compact-commercial .pdf-one-notes{border-color:#aeb7c3;border-radius:0}.pdf-layout-compact-commercial th{padding:6px 4px;border-top:2px solid var(--pdf-primary);background:#eef1f4;color:#374151}.pdf-layout-compact-commercial td{padding:5px 4px}.pdf-layout-compact-commercial .pdf-one-total td{border-top:3px solid var(--pdf-primary)}

/* Build 312: exact independent implementations of the approved four-layout visual. */
.pdf-estimate-one-page.estimate-template{position:relative;box-sizing:border-box;width:8.5in;height:11in;min-height:11in;padding:.4in .43in .28in;overflow:hidden;background:#fff;color:#192438;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:11px;line-height:1.35}
.estimate-template *{box-sizing:border-box;min-width:0}.estimate-template .estimate-top{display:flex;align-items:flex-start;justify-content:space-between;gap:24px}.estimate-template .estimate-brand{display:flex;align-items:center;gap:14px}.estimate-template .estimate-logo-wrap{display:grid;place-items:center;flex:0 0 50px;width:50px;height:50px}.estimate-template .estimate-company-logo{display:block;width:50px;height:50px;object-fit:contain}.estimate-template .estimate-logo-dot{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:linear-gradient(135deg,#6530b7,#e94637);color:#fff;font-size:11px;font-weight:850;text-align:center}.estimate-template .estimate-company-name{display:block;color:#172238;font-size:23px;line-height:1.08;font-weight:760;letter-spacing:.015em}.estimate-template .estimate-company-contact{display:block;margin-top:5px;color:#6d7787;font-size:9px;line-height:1.4}.estimate-template .estimate-meta{display:grid;gap:4px;text-align:right}.estimate-template .estimate-meta strong{color:#172238;font-size:14px}.estimate-template .estimate-meta small{color:#6c7686;font-size:9px}.estimate-template .estimate-eyebrow{color:#667286;font-size:8px;font-weight:800;letter-spacing:.13em;text-transform:uppercase}.estimate-template .estimate-document-footer{position:absolute;left:.43in;right:.43in;bottom:.2in;display:flex;justify-content:space-between;gap:16px;padding-top:9px;border-top:1px solid #dce1e8;color:#737e8e;font-size:8px}.estimate-template .estimate-document-footer span:last-child{text-align:right}.estimate-template .estimate-document-footer span:first-child{color:#075985;font-weight:750}
.estimate-template .estimate-table{width:100%;border-collapse:collapse;table-layout:fixed}.estimate-template .estimate-table th{padding:9px 7px;text-align:left;text-transform:uppercase;letter-spacing:.07em;font-size:8px;font-weight:800}.estimate-template .estimate-table th:first-child{width:52%}.estimate-template .estimate-table th:nth-child(n+2),.estimate-template .estimate-table td:nth-child(n+2){text-align:right}.estimate-template .estimate-table td{padding:10px 7px;border-bottom:1px solid #e1e5eb;color:#2e3848;font-size:9.5px;vertical-align:top;overflow-wrap:anywhere;word-break:break-word}.estimate-template .estimate-table td strong{display:block;color:#1e2b3d;font-size:10px}.estimate-template .estimate-table td small{display:block;margin-top:2px;color:#737e8d;font-size:8px}.estimate-template.pdf-density-compact .estimate-table td{padding:6px 7px;font-size:8.5px}.estimate-template.pdf-density-compact .estimate-table td strong{font-size:9px}
.estimate-template .estimate-description-box{display:grid;gap:4px;max-width:100%;margin:0 0 16px;padding:11px 14px;border-left:4px solid var(--pdf-primary);background:#f2f6f8;color:#667286;font-size:9px;line-height:1.45;overflow:hidden}.estimate-template .estimate-description-box strong{color:#233147;font-size:10px}.estimate-template .estimate-description-box span,.estimate-template .estimate-included,.estimate-template .estimate-plan-notes,.estimate-template .estimate-scope-box span,.estimate-template .estimate-important,.estimate-template .estimate-terms,.estimate-template .estimate-fact strong,.estimate-template .estimate-stop strong,.estimate-template .estimate-customer-box small{overflow-wrap:anywhere;word-break:break-word;white-space:pre-wrap}.estimate-template.pdf-description-long .estimate-description-box,.estimate-template.pdf-description-long .estimate-included,.estimate-template.pdf-description-long .estimate-scope-box span{font-size:8px;line-height:1.35}

.estimate-template-service-summary{padding:.34in .45in .28in;border-top:9px solid #075985}.estimate-template-service-summary:before{content:"";position:absolute;top:0;bottom:0;left:.2in;width:7px;background:#18b7a5}.estimate-template-service-summary .estimate-headline{margin:34px 0 21px}.estimate-template-service-summary .estimate-headline h2{margin:5px 0 8px;color:#172238;font-size:29px;line-height:1.06;font-weight:760;letter-spacing:-.025em}.estimate-template-service-summary .estimate-headline p{max-width:72%;margin:0;color:#657184;font-size:10px;line-height:1.5}.estimate-template-service-summary .estimate-customer-line{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:19px}.estimate-template-service-summary .estimate-customer-line.single{grid-template-columns:1fr}.estimate-template-service-summary .estimate-customer-box{padding:13px 15px;border-top:4px solid #18b7a5;background:#f3f7f8}.estimate-template-service-summary .estimate-customer-box span{display:block;margin-bottom:4px;color:#6d7887;font-size:8px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.estimate-template-service-summary .estimate-customer-box strong{display:block;color:#172238;font-size:15px}.estimate-template-service-summary .estimate-customer-box small{display:block;margin-top:4px;color:#667286;font-size:9px}.estimate-template-service-summary .estimate-table th{background:#edf2f5;color:#536174}.estimate-template-service-summary .estimate-bottom-row{display:grid;grid-template-columns:1fr 200px;gap:22px;align-items:start;margin-top:21px}.estimate-template-service-summary .estimate-included{display:grid;gap:4px;color:#667286;font-size:9px;line-height:1.5}.estimate-template-service-summary .estimate-included>strong{color:#263448}.estimate-template-service-summary .estimate-included small{display:grid;gap:2px;margin-top:5px;color:#667286;font-size:8px}.estimate-template-service-summary .estimate-total-box{padding:16px;background:#e8faf7;border-left:5px solid #16b8a5}.estimate-template-service-summary .estimate-total-box span{display:block;color:#39766f;font-size:8px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.estimate-template-service-summary .estimate-total-box strong{display:block;margin:6px 0;color:#07534c;font-size:25px;font-weight:760}

.estimate-template-route-plan{padding:0 .43in .28in}.estimate-template-route-plan .estimate-route-hero{margin:0 -.43in;padding:.4in .43in .5in;background:#073c5c;color:#fff}.estimate-template-route-plan .estimate-hero-top{display:flex;align-items:flex-start;justify-content:space-between;gap:24px}.estimate-template-route-plan .estimate-company-name,.estimate-template-route-plan .estimate-meta strong{color:#fff}.estimate-template-route-plan .estimate-company-contact,.estimate-template-route-plan .estimate-meta small,.estimate-template-route-plan .estimate-eyebrow{color:#bed2df}.estimate-template-route-plan .estimate-route-hero h2{margin:34px 0 5px;color:#fff;font-size:29px;line-height:1;font-weight:760}.estimate-template-route-plan .estimate-route-hero p{margin:0;color:#c6d9e4;font-size:10px}.estimate-template-route-plan .estimate-route-panel{position:relative;margin:-.31in 0 19px;padding:16px 19px;border:1px solid #dbe2e8;background:#fff;box-shadow:0 10px 22px rgba(15,48,70,.12)}.estimate-template-route-plan .estimate-route-grid{display:grid;grid-template-columns:1fr 40px 1fr;align-items:center}.estimate-template-route-plan .estimate-route-grid.single{display:block}.estimate-template-route-plan .estimate-route-grid>span{text-align:center;color:#0fa99d;font-size:22px}.estimate-template-route-plan .estimate-stop label{display:block;color:#778292;font-size:8px;font-weight:800;letter-spacing:.09em;text-transform:uppercase}.estimate-template-route-plan .estimate-stop strong{display:block;margin-top:4px;color:#172238;font-size:12px}.estimate-template-route-plan .estimate-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-bottom:18px}.estimate-template-route-plan .estimate-fact{padding:11px;background:#f2f6f8}.estimate-template-route-plan .estimate-fact span{display:block;color:#737e8e;font-size:8px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.estimate-template-route-plan .estimate-fact strong{display:block;margin-top:4px;color:#172238;font-size:10px}.estimate-template-route-plan .estimate-table th{background:#eaf1f4;color:#516071}.estimate-template-route-plan .estimate-table th:first-child{width:55%}.estimate-template-route-plan .estimate-route-total{display:flex;align-items:center;justify-content:space-between;margin-top:18px;padding:13px 16px;background:#dff7f4;color:#07534c}.estimate-template-route-plan .estimate-route-total span{font-size:9px;font-weight:800;letter-spacing:.09em;text-transform:uppercase}.estimate-template-route-plan .estimate-route-total strong{font-size:25px}.estimate-template-route-plan .estimate-plan-notes{margin:16px 2px 0;color:#667286;font-size:9px;line-height:1.5}.estimate-template-route-plan .estimate-plan-notes strong{color:#233147}

.estimate-template-scope-first{padding:.4in .45in .28in}.estimate-template-scope-first .estimate-top{padding-bottom:21px;border-bottom:1px solid #dfe4ea}.estimate-template-scope-first .estimate-scope-title{display:grid;grid-template-columns:1fr 205px;gap:24px;align-items:end;margin:25px 0 21px}.estimate-template-scope-first .estimate-scope-title h2{margin:5px 0 6px;color:#172238;font-size:28px;line-height:1.06;font-weight:760}.estimate-template-scope-first .estimate-scope-title p{margin:0;color:#667286;font-size:10px}.estimate-template-scope-first .estimate-grand-total{padding:14px;border:3px solid #17243a;text-align:right}.estimate-template-scope-first .estimate-grand-total span{display:block;color:#6d7888;font-size:8px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.estimate-template-scope-first .estimate-grand-total strong{display:block;margin-top:5px;color:#172238;font-size:25px}.estimate-template-scope-first .estimate-scope-box{margin-bottom:19px;padding:14px 16px;border-left:5px solid #684cff;background:#f3f5f8}.estimate-template-scope-first .estimate-scope-box strong{display:block;margin-bottom:4px;font-size:11px}.estimate-template-scope-first .estimate-scope-box span{color:#697587;font-size:9px}.estimate-template-scope-first .estimate-table th{background:#17243a;color:#fff}.estimate-template-scope-first .estimate-totals{width:52%;margin:16px 0 0 auto}.estimate-template-scope-first .estimate-totals div{display:flex;justify-content:space-between;padding:7px 3px;border-bottom:1px solid #e0e4ea;font-size:9px}.estimate-template-scope-first .estimate-totals div:last-child{border:0;font-size:13px}.estimate-template-scope-first .estimate-approval{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:18px;padding:14px 16px;background:#684cff;color:#fff}.estimate-template-scope-first .estimate-approval strong{font-size:10px}.estimate-template-scope-first .estimate-approval span{color:#e4e0ff;font-size:8px}.estimate-template-scope-first .estimate-important{margin:17px 2px 0;color:#667286;font-size:9px;line-height:1.5}.estimate-template-scope-first .estimate-important strong{color:#233147}

.estimate-template-compact-commercial{padding:.38in .43in .28in .55in;border-left:10px solid #075985}.estimate-template-compact-commercial .estimate-company-name{text-transform:uppercase;letter-spacing:.04em}.estimate-template-compact-commercial .estimate-title-bar{display:flex;align-items:flex-end;justify-content:space-between;margin:29px 0 19px;padding:16px;background:#eef3f5}.estimate-template-compact-commercial .estimate-title-bar h2{margin:4px 0 0;color:#172238;font-size:24px;line-height:1;font-weight:760}.estimate-template-compact-commercial .estimate-title-bar>strong{color:#075985;font-size:23px}.estimate-template-compact-commercial .estimate-account-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:18px}.estimate-template-compact-commercial .estimate-account-grid.no-site{grid-template-columns:1fr 1fr}.estimate-template-compact-commercial .estimate-account-grid>div{padding:12px;border:1px solid #dbe1e8}.estimate-template-compact-commercial .estimate-account-grid label{display:block;color:#758090;font-size:8px;font-weight:800;letter-spacing:.09em;text-transform:uppercase}.estimate-template-compact-commercial .estimate-account-grid strong{display:block;margin-top:4px;color:#172238;font-size:10px}.estimate-template-compact-commercial .estimate-account-grid small{display:block;margin-top:3px;color:#667286;font-size:8px}.estimate-template-compact-commercial .estimate-table th{border-top:3px solid #075985;border-bottom:1px solid #ccd5de;color:#4f5d70}.estimate-template-compact-commercial .estimate-table th:first-child{width:49%}.estimate-template-compact-commercial .estimate-commercial-summary{display:grid;grid-template-columns:1fr 200px;gap:20px;margin-top:18px}.estimate-template-compact-commercial .estimate-terms{color:#667286;font-size:9px;line-height:1.5}.estimate-template-compact-commercial .estimate-terms strong{color:#253247}.estimate-template-compact-commercial .estimate-numbers div{display:flex;justify-content:space-between;padding:6px 0;border-bottom:1px solid #e0e5eb;font-size:9px}.estimate-template-compact-commercial .estimate-numbers div:last-child{padding-top:9px;border-bottom:4px solid #075985;font-size:14px}

html[data-color-mode="dark"] .pdf-layout-picker{background:#202b37;border-color:#3b4859}
html[data-color-mode="dark"] .doc.website-pdf .pdf-estimate-one-page,html[data-color-mode="dark"] .doc.website-pdf .pdf-estimate-one-page *{color-scheme:light}
@media(max-width:760px){.preview-section .panel-head{align-items:flex-start}.pdf-layout-picker{width:100%;overflow-x:auto}.pdf-layout-picker>span{display:none}.pdf-layout-picker button{flex:1;min-width:76px}}
@media print{
  @page{size:letter portrait;margin:0}
  .pdf-estimate-one-page{width:8.5in!important;height:11in!important;min-height:11in!important;padding:.22in!important;overflow:hidden!important;page-break-after:auto!important;break-after:auto!important}
  .pdf-estimate-one-page .pdf-one-sheet{height:10.56in!important}
  .pdf-estimate-one-page.estimate-template{padding:.4in .43in .28in!important}
  .pdf-estimate-one-page.estimate-template-service-summary{padding:.34in .45in .28in!important}
  .pdf-estimate-one-page.estimate-template-route-plan{padding:0 .43in .28in!important}
  .pdf-estimate-one-page.estimate-template-compact-commercial{padding:.38in .43in .28in .55in!important}
}

/* AI review-and-confirm actions */
.ai-action-bubble{display:grid;gap:9px;max-width:520px}.ai-action-bubble>span{color:var(--purple);font-size:10px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.ai-action-bubble>strong{font-size:17px}.ai-action-bubble p{margin:0;color:var(--muted);line-height:1.45}.ai-action-bubble .btn{justify-self:start}
.ai-action-review-overlay{z-index:160}.ai-action-review{width:min(760px,calc(100vw - 36px));max-height:min(850px,calc(100vh - 36px));overflow:auto}.ai-action-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:20px 24px}.ai-action-field{display:grid;gap:6px;margin:0}.ai-action-field.full{grid-column:1/-1}.ai-action-field>span{color:var(--muted);font-size:11px;font-weight:850}.ai-action-field input,.ai-action-field select,.ai-action-field textarea{width:100%;min-height:42px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink);font:inherit}.ai-action-field textarea{min-height:90px;resize:vertical}.ai-action-warnings{margin:0 24px;padding:0}.ai-action-warnings:not(:empty){padding:13px 15px;border:1px solid #efc46c;border-radius:12px;background:#fff8e7;color:#6f4b00}.ai-action-warnings strong{display:block}.ai-action-warnings ul{margin:8px 0 0;padding-left:20px}.ai-duplicate-override{display:flex;align-items:flex-start;gap:9px;margin:14px 24px 0;padding:12px;border:1px solid #efc46c;border-radius:10px;background:#fffdf6;font-size:12px;font-weight:750}.ai-action-review .customer-modal-actions{position:sticky;bottom:0;background:var(--panel,#fff)}
html[data-color-mode="dark"] .ai-action-field input,html[data-color-mode="dark"] .ai-action-field select,html[data-color-mode="dark"] .ai-action-field textarea{background:#182330;border-color:#3b4859;color:#f2f5f9}html[data-color-mode="dark"] .ai-action-warnings:not(:empty),html[data-color-mode="dark"] .ai-duplicate-override{background:#41371f;color:#f6ddb0;border-color:#7d652c}
@media(max-width:680px){.ai-action-fields{grid-template-columns:1fr}.ai-action-field.full{grid-column:auto}.ai-action-review .customer-modal-actions{flex-wrap:wrap}}

.estimate-invoice-badge{display:inline-flex;align-items:center;justify-content:center;min-height:25px;padding:3px 10px;border-radius:999px;background:#ede9fe;color:#6542b5;font-size:11px;font-weight:850}
html[data-color-mode="dark"] .estimate-invoice-badge{background:#352b52;color:#cdbdff}
