*{box-sizing:border-box}body{margin:0;background:#f7f7f3;color:var(--lg-slate-900);font-family:var(--lg-font-body);font-weight:400;font-size:16px;line-height:1.42}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer;border:1px solid var(--lg-slate-900);background:transparent;padding:10px 19px;letter-spacing:.04em}button:hover{background:var(--lg-slate-900);color:white}button.primary{background:var(--lg-slate-900);color:white}button.primary:hover{background:#16282c}button:disabled{opacity:.4;cursor:not-allowed}button.ghost{border:none;letter-spacing:0;padding:8px 10px}button.danger{color:#a43434;border-color:#a43434}button.small{font-size:13px;padding:6px 12px}a{color:inherit}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(36px,4vw,60px);line-height:1.05;font-weight:300;letter-spacing:-.02em}h2{font-size:28px;line-height:1.15;font-weight:300}h3{font-weight:400;font-size:20px}small,.muted{color:#6f7b7e}label{display:flex;flex-direction:column;gap:8px;font-size:13px;color:#59666a}input,select,textarea{width:100%;border:0;border-bottom:1px solid #9da6a8;background:#fff;padding:10px 9px;min-height:42px;border-radius:0;color:#24373c}textarea{min-height:100px;resize:vertical}input[type=checkbox]{width:18px;min-height:18px;accent-color:#293a3e}input:focus,select:focus,textarea:focus{outline:2px solid #577175;outline-offset:2px}.invalid{outline:2px solid #b53535}button:focus-visible,a:focus-visible{outline:2px solid #577175;outline-offset:4px}.topbar{height:90px;background:white;border-bottom:1px solid #ddd;display:flex;align-items:center;gap:42px;padding:0 4vw}.wordmark{font:clamp(22px,2.4vw,34px) var(--lg-font-display);color:black;white-space:nowrap}.nav{display:flex;gap:8px}.nav button.active{border-bottom:1px solid #293a3e}.session{margin-left:auto;text-align:right;font-size:12px;max-width:200px}.session strong{display:block;font-weight:400}.statusbar{padding:10px 4vw;font-size:12px;background:#e7ecea;display:flex;justify-content:space-between;gap:20px}.content{max-width:1440px;margin:auto;padding:45px 4vw 70px}.eyebrow{font-size:11px;letter-spacing:.16em;text-transform:uppercase;margin-bottom:18px}.hero{padding:38px 45px 44px;background:#293a3e;color:white;position:relative;overflow:hidden;min-height:230px;margin-bottom:38px}.hero:after{content:'';position:absolute;inset:0 0 0 64%;background:linear-gradient(90deg,#293a3e,transparent),url('/visuals/puro.jpeg') center/cover;opacity:.55}.hero>*{position:relative;z-index:1;max-width:62%}.hero h1{margin-bottom:18px}.hero p{font-size:18px;font-weight:300;margin:0;max-width:620px}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:45px}.entry-card{background:white;text-align:left;padding:28px 22px;min-height:230px;border:1px solid #d7dfde;display:flex;flex-direction:column;gap:12px;color:#293a3e}.entry-card:hover{background:#e9eeec;color:inherit;border-color:#293a3e}.entry-card .number{font-size:12px;letter-spacing:.12em;color:#697d7d}.entry-card strong{font-size:24px;font-weight:300;line-height:1.2}.entry-card p{font-size:14px;letter-spacing:0;color:#667678}.entry-card .arrow{margin-top:auto;font-size:25px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px}.section-head h2{margin:0}.empty{padding:35px;border:1px dashed #bfc9c6;color:#6f7b7e;background:#ffffff80}.record-list{background:white;border:1px solid #d9dfdb}.record-row{display:grid;grid-template-columns:2fr 1fr 1fr auto;gap:20px;align-items:center;padding:20px 22px;border-bottom:1px solid #e6e9e6}.record-row:last-child{border-bottom:0}.record-row strong{font-weight:400}.record-row small{display:block;margin-top:4px}.badge{font-size:11px;text-transform:uppercase;letter-spacing:.06em;border:1px solid #ccd3ce;padding:4px 9px;display:inline-block}.wizard-head{display:flex;justify-content:space-between;align-items:start;gap:30px;margin-bottom:28px}.wizard-head h1{font-size:36px;margin-bottom:8px}.wizard-head .actions{display:flex;gap:12px;align-items:center}.wizard-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:35px}.steps{display:flex;flex-direction:column;gap:8px;position:sticky;top:22px;align-self:start}.step{display:flex;align-items:center;gap:12px;text-align:left;border:0;background:transparent;padding:14px 10px;color:#788581;letter-spacing:0}.step b{font-weight:400;font-size:12px;width:24px;height:24px;border:1px solid #bdc8c2;text-align:center;padding-top:3px}.step.current{color:#293a3e;background:#e4ebe5}.step.current b{background:#293a3e;border-color:#293a3e;color:white}.step:hover{background:#e4ebe5;color:inherit}.panel{background:white;border:1px solid #dce1dc;padding:30px}.panel+.panel{margin-top:22px}.panel-title{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.panel-title h2,.panel-title h3{margin:0}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 28px}.form-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.span2{grid-column:1/-1}.check{flex-direction:row;align-items:center;gap:10px;min-height:35px;color:#293a3e;font-size:15px}.radio-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.radio-cards button{text-align:left;letter-spacing:0;padding:17px;background:#fff;border-color:#d0d8d3}.radio-cards button.active{border-color:#293a3e;background:#e9efea}.radio-cards strong{font-size:17px;font-weight:400;display:block}.radio-cards small{display:block;margin-top:10px}.option-tabs{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:24px}.option-tabs button.active{background:#293a3e;color:white}.item-card{border:1px solid #e1e5df;margin-top:20px;padding:22px;background:#fcfcf9}.item-card .form-grid{gap:16px 23px}.item-title{display:flex;justify-content:space-between;gap:15px;align-items:flex-start;margin-bottom:20px}.item-title>strong{min-width:0;font-size:20px;line-height:1.3;font-weight:700;overflow-wrap:anywhere}.item-title small{display:block;margin-top:5px;font-size:13px;line-height:1.4;font-weight:400}.item-title>button{flex-shrink:0}.item-card details{margin-top:20px;border-top:1px solid #e0e5df;padding-top:15px}.item-card summary{cursor:pointer;font-size:14px;margin-bottom:15px}.note{font-size:14px;background:#f0f3ef;padding:16px 20px;border-left:2px solid #667c70;margin:20px 0}.toolbar{display:flex;gap:12px;flex-wrap:wrap}.wizard-footer{display:flex;align-items:center;justify-content:space-between;margin-top:28px;padding-top:20px;border-top:1px solid #cfd7d0}.validator-list{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-bottom:20px}.validator-item{padding:16px;border:1px solid #dce3dc;background:#fcfdfb}.validator-item label{align-items:flex-start}.validator-item small{display:block;margin-top:4px}.validation-rule{padding:22px;background:#e9eee8;margin-top:24px}.summary-table{width:100%;border-collapse:collapse;font-size:14px}.summary-table th{font-weight:400;color:#758379;text-align:left}.summary-table th,.summary-table td{padding:12px 8px;border-bottom:1px solid #e2e7df}.summary-table td.num{text-align:right;white-space:nowrap}.sums{display:flex;gap:30px;justify-content:flex-end;margin:22px 0 0}.sums small{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.08em}.sums strong{font-size:24px;font-weight:300}.review-actions{display:flex;gap:12px;flex-wrap:wrap}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.settings-grid .panel{margin:0}.settings-grid .full{grid-column:1/-1}.toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);background:#293a3e;color:white;padding:14px 28px;box-shadow:0 3px 30px #0002;max-width:90vw;z-index:10}.toast.error{background:#8c3935}dialog{border:0;padding:30px;background:#fff;max-width:min(1050px,94vw);width:100%;max-height:90vh;color:#293a3e;box-shadow:0 10px 100px #0004}dialog::backdrop{background:#132c32a3}.dialog-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:18px}.dialog-head h2{margin:0}.product-list{max-height:55vh;overflow:auto;margin-top:20px}.product-card{display:grid;grid-template-columns:1fr auto;gap:20px;align-items:center;border-bottom:1px solid #e4e7df;padding:18px 4px}.product-card strong{font-weight:400}.product-card small{display:block;margin-top:5px}#preview-dialog{max-width:1200px;padding:16px}#preview-dialog iframe{height:73vh;border:0;width:100%;background:white}.request-item-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}.office-panel{border-left:3px solid #587669;background:#f4f7f1;margin-top:25px;padding:23px}.office-panel h3{margin-bottom:20px}.request-response-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.attachment-list{display:flex;gap:12px;flex-wrap:wrap;font-size:13px;margin-top:15px}.settings-head{margin-bottom:25px;display:flex;justify-content:space-between;gap:20px;align-items:center}.language-dev{width:75px;min-height:28px;padding:2px;font-size:12px;background:transparent}.custom-choice{max-width:780px;margin:50px auto}.custom-choice .radio-cards{grid-template-columns:repeat(2,1fr)}@media(max-width:1050px){.cards{grid-template-columns:repeat(2,1fr)}.wizard-layout{grid-template-columns:170px 1fr;gap:20px}.form-grid.three,.request-item-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.topbar{gap:20px}.session{display:none}.radio-cards{grid-template-columns:1fr}.settings-grid{grid-template-columns:1fr}}@media(max-width:700px){.topbar{height:auto;min-height:90px;flex-wrap:wrap;gap:10px;padding:18px 5vw}.nav{width:100%;justify-content:space-between}.content{padding:25px 5vw}.hero{padding:28px;min-height:210px}.hero>*{max-width:95%}.hero:after{inset:0;opacity:.1}.cards{gap:10px}.entry-card{padding:18px;min-height:190px}.entry-card strong{font-size:20px}.wizard-layout{display:block}.steps{position:static;flex-direction:row;overflow:auto;margin-bottom:20px}.step{min-width:max-content;font-size:13px;padding:10px}.wizard-head{display:block}.wizard-head .actions{margin-top:16px}.form-grid,.form-grid.three,.request-item-grid,.request-response-grid,.validator-list{grid-template-columns:1fr}.panel{padding:22px 18px}.record-row{grid-template-columns:1fr auto;gap:12px}.record-row .record-type{display:none}.sums{gap:18px}.sums strong{font-size:21px}.statusbar{font-size:11px}.statusbar span:nth-child(2){display:none}.custom-choice .radio-cards{grid-template-columns:1fr}}

.mt22{margin-top:22px}.mt18{margin:18px 0 0}.mt25{margin-top:25px}.upload-label{margin-top:25px}

.discount-field{display:grid;grid-template-columns:1fr 1fr;gap:12px;border:1px solid var(--lg-line,#d0cfcf);padding:16px;min-width:0}.discount-field>strong{grid-column:1/-1;font-size:14px}.commercial-editor textarea{min-height:260px;line-height:1.6}.commercial-editor{border-top:3px solid #293a3e}.panel details summary{cursor:pointer;color:#293a3e;margin-bottom:18px}.summary-table{display:block;overflow-x:auto}.summary-table td,.summary-table th{min-width:85px}.summary-table td:first-child{min-width:180px}

.quote-fields{border:0;padding:0;margin:0;min-width:0}.quote-fields:disabled input,.quote-fields:disabled select,.quote-fields:disabled textarea{background:#f1f2f2;color:#5b6063}.pricing-banner{border-left:4px solid #5b6670}.pricing-banner p{max-width:850px}.notification-list{background:#edf3ef}.notification-list .toolbar+.toolbar{margin-top:12px}.email-draft{white-space:pre-wrap;overflow-wrap:anywhere;font-family:inherit;font-size:14px}
.nav .request-count{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 6px;margin-left:8px;border-radius:999px;background:#b93232;color:#fff;font-size:12px;font-weight:700;line-height:1;vertical-align:middle;font-variant-numeric:tabular-nums}
.billing-party-choice{padding:16px 18px;background:#f0f3ef;border:1px solid #dce1dc;margin:20px 0}.billing-party-choice p{margin:8px 0 0;font-size:14px}.billing-group+.billing-group{border-top:1px solid #dce1dc;padding-top:22px;margin-top:24px}.billing-group h3{font-size:18px;font-weight:600;margin-bottom:16px}.billing-group input{border:1px solid #b7c1be;border-radius:3px;min-height:42px}.billing-group input[readonly]{background:#f3f5f2}.billing-group .form-grid{gap:16px 24px}
#billing-review-dialog{max-width:720px}.billing-review-values{margin:20px 0}.billing-review-values>div{display:grid;grid-template-columns:1fr 2fr;gap:16px;padding:10px 0;border-bottom:1px solid #dce1dc}.billing-review-values dt{color:#59666a;font-size:14px}.billing-review-values dd{margin:0;overflow-wrap:anywhere}#billing-review-dialog .toolbar{justify-content:flex-end}@media(max-width:700px){.billing-review-values>div{grid-template-columns:1fr;gap:4px}}
#product-facts-dialog{max-width:760px}.product-facts-changes{width:100%;border-collapse:collapse;font-size:14px;table-layout:fixed}.product-facts-changes th{text-align:left;font-weight:400;color:#6f7b7e}.product-facts-changes th,.product-facts-changes td{padding:12px 10px;border-bottom:1px solid #dce1dc;vertical-align:top;overflow-wrap:anywhere}.product-facts-changes tbody tr:nth-child(even){background:#f5f6f2}.product-facts-changes strong{font-weight:700}#product-facts-dialog .toolbar{justify-content:flex-end}
.record-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}.record-actions button{white-space:nowrap}#delete-quote-dialog{max-width:580px}#delete-quote-dialog .toolbar{justify-content:flex-end}button.danger:hover{background:#a43434;color:#fff}@media(max-width:700px){.record-actions{grid-column:1/-1}}
.workflow-panel{border-top:3px solid #577175}.crm-registration{padding:20px 22px;margin-bottom:22px;background:#f0f4f2;border-left:4px solid #577175}.crm-registration h3{font-size:22px;font-weight:600;margin-bottom:10px}.crm-registration p{margin-bottom:10px}.crm-registration p:last-child{margin-bottom:0}.crm-registration--failed,.crm-registration--uncertain{background:#faf0e8;border-left-color:#9a4c32}.crm-registration--completed{background:#edf4ed;border-left-color:#4f7253}.crm-registration-number{font-size:20px}.crm-registration-error{font-weight:600}.crm-registration small{display:block;overflow-wrap:anywhere}.workflow-quote-status{margin:22px 0 12px}.workflow-details{margin-top:16px}.workflow-details summary{font-size:14px}.workflow-details ul{font-size:14px}@media(max-width:700px){.workflow-panel .panel-title{align-items:start;flex-wrap:wrap;gap:12px}.crm-registration{padding:16px}.workflow-panel .review-actions>button{width:100%}}
.workflow-preparation{
  padding:24px;
  margin:0 0 24px;
  border:1px solid #bdcabe;
  border-left:4px solid #577175;
  background:#f2f5ef;
  color:#293a3e;
}
.workflow-preparation-head{display:grid;grid-template-columns:88px minmax(0,1fr);align-items:center;gap:22px}
.workflow-preparation-animation{display:flex;align-items:center;justify-content:center;min-width:0}
.workflow-preparation-animation .parquet-loader{width:88px;flex:0 1 88px}
.workflow-preparation-eyebrow{margin:0 0 8px;font-size:11px;font-weight:700;line-height:1.3;letter-spacing:.12em;text-transform:uppercase;color:#496158}
.workflow-preparation h3{margin:0 0 9px;font-size:25px;font-weight:600;line-height:1.15;overflow-wrap:anywhere}
.workflow-preparation-help{margin:0;font-size:15px;line-height:1.5;color:#43564d}
.workflow-preparation-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;list-style:none;margin:22px 0 0;padding:0}
.workflow-preparation-steps li{display:grid;grid-template-columns:28px minmax(0,1fr);align-items:center;gap:10px;min-width:0;padding:13px 12px;border:1px solid #d0d9cf;background:#fbfcf9;font-size:14px;line-height:1.35;color:#59685e;overflow-wrap:anywhere}
.workflow-step-icon{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border:1px solid #9eaea0;border-radius:50%;background:#fff;font-size:13px;font-weight:700;line-height:1;color:#536459}
.workflow-preparation-steps .is-current{border-color:#577175;background:#e5ece4;color:#293a3e;font-weight:700}
.workflow-preparation-steps .is-current .workflow-step-icon{border-color:#293a3e;background:#293a3e;color:#fff}
.workflow-preparation-steps .is-complete{border-color:#bdcbbb;color:#3c5846}
.workflow-preparation-steps .is-complete .workflow-step-icon{border-color:#58745c;background:#58745c;color:#fff}
.workflow-preparation-wait{margin:18px 0 0;padding-top:14px;border-top:1px solid #cbd6c9;font-size:14px;line-height:1.5;color:#40564a}
.workflow-preparation [data-validation-invitation-count]{margin:10px 0 0;font-size:14px;color:#40564a}
@media(max-width:700px){
  .workflow-preparation{padding:19px 16px;margin-bottom:20px}
  .workflow-preparation-head{grid-template-columns:62px minmax(0,1fr);gap:15px}
  .workflow-preparation-animation .parquet-loader{width:62px;flex-basis:62px}
  .workflow-preparation h3{font-size:22px}
  .workflow-preparation-help{font-size:14px}
  .workflow-preparation-steps{grid-template-columns:1fr;gap:8px;margin-top:19px}
  .workflow-preparation-steps li{padding:11px 12px}
}
@media(prefers-reduced-motion:reduce){.workflow-preparation .parquet-plank{animation:none;opacity:1;transform:none}}

.wizard-head .actions{flex-wrap:wrap}.commercial-history-list{display:grid;gap:14px}.commercial-history-row{display:grid;grid-template-columns:110px minmax(0,1fr) auto;gap:16px;align-items:start;padding:16px 0;border-top:1px solid #d9dfdb}.commercial-history-row>div{display:flex;gap:8px;flex-wrap:wrap}.commercial-history-panel .panel-title{gap:16px;flex-wrap:wrap}@media(max-width:700px){.commercial-history-row{grid-template-columns:1fr}.commercial-history-panel .panel-title button{width:100%}}
.crm-record-reference{display:flex;align-items:baseline;gap:7px 12px;flex-wrap:wrap}.crm-record-reference small{display:inline}.crm-record-link{padding:2px 0;border:0;background:transparent;letter-spacing:0;font:inherit;font-weight:600;text-align:left;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}.crm-record-link:hover{background:transparent;color:#365b65}.crm-record-link:focus-visible{outline:2px solid #577175;outline-offset:4px}.crm-record-link:disabled{opacity:1;color:#6f7b7e;text-decoration:none}.crm-registration .crm-record-reference small{display:inline}.crm-registration-number .crm-record-link{font-weight:700}
.commercial-history-decisions{flex-basis:100%;margin:10px 0 0;padding-left:20px;font-size:14px;line-height:1.65}

.summary-table td small{display:block;font-size:12px;margin-top:4px}.item-card input:disabled{background:#f0f2ee;color:#7b8580}

/* The first screen is present before the CRM SDK or application data arrive. */
.loading{
  min-height:100vh;
  min-height:100svh;
  display:grid;
  place-content:center;
  justify-items:center;
  gap:18px;
  padding:32px 24px;
  text-align:center;
}
.loading-brand{
  font:clamp(20px,3vw,25px) var(--lg-font-display);
  letter-spacing:.02em;
  line-height:1.2;
}
.loading-status{display:grid;justify-items:center;gap:14px}
.loading-label{
  margin:0;
  font-size:12px;
  font-weight:300;
  letter-spacing:.035em;
  color:#59666a;
}
.parquet-loader{display:block;width:88px;height:auto;max-width:100%;overflow:visible}
.parquet-plank{
  color:#b99771;
  opacity:.35;
  transform-box:fill-box;
  transform-origin:center;
  animation:parquet-lay 3.8s cubic-bezier(.4,0,.2,1) infinite;
  animation-delay:var(--plank-delay,0s);
}
.parquet-plank-right{color:#d0b28b;animation-delay:calc(var(--plank-delay,0s) + .14s)}
.parquet-row:nth-child(2){--plank-delay:.26s}
.parquet-row:nth-child(3){--plank-delay:.52s}
.parquet-row:nth-child(even) .parquet-plank-left{color:#c5a37c}
.parquet-row:nth-child(3n) .parquet-plank-right{color:#bda17f}
.parquet-board{fill:currentColor;stroke:#f7f7f3;stroke-width:1.35;stroke-linejoin:round}
.parquet-grain{fill:none;stroke:#fff6e7;stroke-width:.5;stroke-linecap:round;opacity:.45}
@keyframes parquet-lay{
  0%,100%{opacity:.35;transform:translateY(-2px)}
  20%,64%{opacity:1;transform:translateY(0)}
  86%{opacity:.35;transform:translateY(-2px)}
}
@media(max-width:420px){
  .loading{padding:28px 18px;gap:16px}
  .parquet-loader{width:78px}
}
@media(prefers-reduced-motion:reduce){
  .parquet-plank{animation:none;opacity:1;transform:none}
}

.brand-lockup,.loading-brand{display:flex;align-items:center;gap:12px;min-width:0}
.loading-brand{justify-content:center}
.brand-lockup .wordmark{min-width:0}
.environment-chip{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;min-height:24px;padding:3px 9px;border:1px solid #c5cfca;border-radius:20px;font-family:var(--lg-font-body);font-size:10px;font-weight:600;line-height:1.2;letter-spacing:.07em;white-space:nowrap;color:#35473d;background:#edf2ee}
.environment-chip--development{color:#725a34;background:#f6f0e6;border-color:#ded0b9}
@media(max-width:700px){.brand-lockup,.loading-brand{gap:8px}.brand-lockup .wordmark{font-size:22px}.environment-chip{padding:3px 8px}}

/* The guided steps share one band above the quote or request content. */
.wizard-layout{display:block}
.wizard-body{min-width:0}
[data-return-to-quote]{margin-bottom:18px}
.steps{
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:minmax(0,1fr);
  position:static;
  top:auto;
  gap:8px;
  margin:0 0 26px;
  padding:12px;
  background:#fff;
  border:1px solid #d7dfdb;
  overflow:visible;
}
.step{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:10px;
  min-width:0;
  min-height:64px;
  padding:10px 12px;
  border:0;
  border-bottom:3px solid transparent;
  background:transparent;
  color:#6a777b;
  font-size:14px;
  line-height:1.25;
  letter-spacing:0;
  text-align:left;
  transition:background-color .15s ease;
}
.step .step-number{
  display:grid;
  place-items:center;
  flex:0 0 34px;
  width:34px;
  height:34px;
  padding:0;
  border:1px solid #c5cfca;
  border-radius:50%;
  background:#f3f5f3;
  color:#697a75;
  font-size:14px;
  font-weight:400;
  line-height:1;
}
.step-label{min-width:0;overflow-wrap:anywhere}
.step.complete{background:#f3f6f3;color:#40594f}
.step.complete .step-number{background:#dfe9e2;border-color:#aac0b2;color:#355347}
.step.current{background:#e8eeea;border-bottom-color:var(--lg-slate-900);color:var(--lg-slate-900)}
.step.current .step-number{background:var(--lg-slate-900);border-color:var(--lg-slate-900);color:#fff}
.step.current .step-label{font-weight:700}
.step:not(:disabled):hover{background:#edf2ee;color:var(--lg-slate-900)}
.step:focus-visible{outline:2px solid #577175;outline-offset:2px;position:relative;z-index:1}
.topbar.contextual-quote{height:auto;min-height:64px;gap:20px;padding:12px 4vw}
.topbar.contextual-quote .wordmark{font-size:26px;line-height:1.2;white-space:normal}
.topbar.contextual-quote .session{display:block;max-width:45%;overflow-wrap:anywhere}
.topbar.contextual-quote ~ .statusbar{padding-top:8px;padding-bottom:8px}
.topbar.contextual-quote ~ .content{padding-top:28px}
.topbar.contextual-quote ~ .content .wizard-head{margin-bottom:22px}
.topbar.contextual-quote ~ .content .wizard-head h1{font-size:32px;line-height:1.15}
@media(max-width:850px){
  .steps{gap:6px;padding:8px}
  .step{gap:8px;padding:10px 8px;font-size:13px}
  .step .step-number{flex-basis:30px;width:30px;height:30px}
}
@media(max-width:700px){
  .steps{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-flow:row;grid-auto-columns:auto;gap:8px;margin-bottom:20px;padding:10px}
  .step{min-height:58px;font-size:12px;padding:8px 6px}
  .step .step-number{flex-basis:28px;width:28px;height:28px;font-size:13px}
  .topbar.contextual-quote{padding:12px 5vw}
  .topbar.contextual-quote .wordmark{font-size:24px}
  .topbar.contextual-quote ~ .content{padding-top:24px}
}
@media(max-width:480px){
  .step{flex-direction:column;justify-content:flex-start;gap:6px;min-height:74px;text-align:center;padding:8px 4px}
  .step .step-number{flex-basis:28px}
  .topbar.contextual-quote .session{display:none}
  .topbar.contextual-quote ~ .content .wizard-head h1{font-size:28px}
}
@media(prefers-reduced-motion:reduce){.step{transition:none}}
.context-summary{display:flex;flex-wrap:wrap;gap:10px 28px;margin-top:22px;padding:18px 22px;border-left:3px solid #697f70;background:#f0f3ef;font-size:18px}
.context-summary span{color:var(--lg-slate-700)}
.new-opportunity{border-left:3px solid #697f70}
#tax-scope-dialog{max-width:620px}#tax-scope-dialog .toolbar{justify-content:flex-end;flex-wrap:wrap}.vat-breakdown{width:min(100%,560px);margin:24px 0 0 auto;border-collapse:collapse;font-size:14px}.vat-breakdown th,.vat-breakdown td{padding:10px 14px;border-bottom:1px solid #dce1dc;text-align:right}.vat-breakdown th:first-child,.vat-breakdown td:first-child{text-align:left}.vat-breakdown th{font-weight:400;color:#6f7b7e}

#contact-create-dialog{max-width:min(760px,94vw)}#contact-create-dialog fieldset{border:0;margin:0;padding:0;min-width:0}#contact-create-dialog [aria-invalid="true"]{outline:2px solid #a43434}#contact-create-dialog select[multiple]{min-height:100px}
.saved-drafts{margin-top:12px}.drafts-help{margin-bottom:22px;font-size:15px}.draft-list{background:#fff;border:1px solid #d9dfdb}.draft-row{display:grid;grid-template-columns:minmax(0,2fr) minmax(160px,1fr) minmax(155px,1fr) auto;align-items:center;gap:22px;padding:23px 24px;border-bottom:1px solid #e6e9e6}.draft-row:last-child{border-bottom:0}.draft-description{min-width:0}.draft-description strong{display:block;font-size:19px;font-weight:700;overflow-wrap:anywhere}.draft-description small,.draft-kind small,.draft-date small{display:block;margin-top:5px}.draft-description small{overflow-wrap:anywhere}.draft-date{font-size:14px}.draft-date small{margin:0 0 5px}.draft-action button{white-space:nowrap}.drafts-status{margin:15px 0}
@media(max-width:1000px){.draft-row{grid-template-columns:minmax(0,1fr) auto;gap:15px}.draft-kind{grid-column:1}.draft-date{grid-column:1}.draft-action{grid-column:2;grid-row:1/4}}
@media(max-width:600px){.saved-drafts .section-head{align-items:flex-start}.saved-drafts .section-head h2{font-size:25px}.draft-row{padding:20px;grid-template-columns:minmax(0,1fr)}.draft-action{grid-column:1;grid-row:auto}.draft-action button{width:100%}}
.setting-choice{min-width:0}.setting-choice-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:10px}.setting-choice-heading label{font-size:13px}.setting-choice-heading button{flex-shrink:0;letter-spacing:0}.setting-choice select{max-width:100%;text-overflow:ellipsis;border:1px solid #b7c1be}.setting-choice-preview{white-space:pre-wrap;overflow-wrap:anywhere;margin-top:12px;padding:14px 16px;border:1px solid #dce1dc;background:#f7f8f5;font-size:14px;line-height:1.55}.setting-choice>small{display:block;margin-top:9px;font-size:12px;line-height:1.5}#setting-value-dialog{max-width:720px}#setting-value-dialog textarea{min-height:160px;border:1px solid #b7c1be;line-height:1.5}#setting-value-dialog input{border:1px solid #b7c1be}#setting-value-dialog .toolbar{justify-content:flex-end}@media(max-width:600px){.settings-head{flex-wrap:wrap}.setting-choice-heading{align-items:flex-start;flex-direction:column;gap:8px}.setting-choice-heading button{align-self:flex-start}#setting-value-dialog .dialog-head h2{font-size:24px}}
.settings-texts-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:24px}.settings-texts-nav a{padding:18px 20px;border:1px solid #b7c1be;background:#fff;text-decoration:none;overflow-wrap:anywhere}.settings-texts-nav a:hover{background:#e9eeec}.settings-texts-nav strong{display:block;font-size:18px;font-weight:600;margin-bottom:8px}.settings-texts-nav span{font-size:14px;color:#59666a}.general-conditions-panel{border-top:3px solid #577175;scroll-margin-top:20px}.general-conditions-language{max-width:360px;margin:22px 0}.conditions-writer-actions{margin:22px 0 14px}.writer-edit-link{display:inline-flex;align-items:center;border:1px solid #293a3e;padding:11px 18px;text-decoration:none;line-height:1.4}.writer-edit-link:hover{background:#293a3e;color:#fff}.conditions-writer-help{font-size:14px}.general-conditions-reference{margin-top:24px;border-top:1px solid #dce1dc;padding-top:20px}.general-conditions-reference summary{font-size:17px;font-weight:600}.general-conditions-reference>p{font-size:14px}.general-conditions-text{max-height:65vh;overflow:auto;padding:24px;background:#f7f8f5;border:1px solid #dce1dc;overflow-wrap:anywhere}.general-conditions-text h3{font-size:22px;font-weight:500;line-height:1.4;margin-bottom:25px}.general-condition-clause h4{font-size:15px;margin:0 0 10px;font-weight:600}.general-condition-clause p{white-space:pre-wrap;font-size:14px;line-height:1.65;margin-bottom:26px}.general-condition-clause:last-child p{margin-bottom:0}.general-conditions-text:focus-visible{outline:2px solid #577175;outline-offset:3px}.commercial-editor{scroll-margin-top:20px}@media(max-width:600px){.settings-texts-nav{grid-template-columns:1fr}.general-conditions-language{max-width:none}.writer-edit-link{width:100%;justify-content:center;text-align:center}.general-conditions-text{padding:18px;max-height:60vh}.general-conditions-text h3{font-size:20px}}
.general-conditions-selectors{max-width:740px;margin-top:22px}

/* Keep quote terms in coherent groups, with matching field heights. */
.conditions-panel .panel-title{align-items:flex-start;flex-wrap:wrap}
.conditions-defaults-help{font-size:14px;margin-bottom:24px}
.conditions-group{padding:22px 0;border-top:1px solid #dce1dc}
.conditions-group:last-child{padding-bottom:0}
.conditions-group h3{font-size:18px;font-weight:600;margin-bottom:16px}
.conditions-group .form-grid{gap:16px 24px}
.conditions-group input,.conditions-group textarea{border:1px solid #b7c1be;border-radius:3px}
.conditions-group textarea{min-height:112px;line-height:1.55}
.conditions-tax textarea{min-height:170px}
.conditions-tax #tax-regime-help{font-size:13px;line-height:1.5}
.conditions-attachments .attachment-list:empty{display:none}
.conditions-attachments .upload-label{margin-top:16px}
.conditions-attachments p{font-size:13px;margin:12px 0 0}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
@media(max-width:600px){.conditions-panel .panel-title button{width:100%;letter-spacing:0}.conditions-group{padding:20px 0}.conditions-group .form-grid{grid-template-columns:1fr}.conditions-tax textarea{min-height:210px}}

button.quote-trash{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;padding:7px;flex:0 0 36px;letter-spacing:0;border:0}
button.quote-trash:hover{background:#f9eeee;color:#a43434}
.quote-trash svg{display:block;pointer-events:none}
.request-inline-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:12px}
.billing-address-title{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;margin-bottom:16px}
.billing-group .billing-address-title h3{margin:0}
.internal-history{display:flex;align-items:center;gap:6px;flex:0 0 auto}
.entry-card{min-width:0;overflow-wrap:anywhere}
.internal-history button{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;padding:7px;border:1px solid #b7c1be;letter-spacing:0}
.internal-history svg{display:block;pointer-events:none}
.internal-history button:disabled{background:transparent;color:#697a75}
@media(max-width:700px){.topbar .internal-history{order:-1}.topbar .brand-lockup{min-width:0}}
.draft-action{display:flex;align-items:center;justify-content:flex-end;gap:10px}
.delete-quote-name{font-size:19px;font-weight:600;padding:14px 16px;background:#f4f6f3;overflow-wrap:anywhere;user-select:text}
#delete-quote-dialog input[data-delete-confirm-name]{border:1px solid #b7c1be;margin-top:4px}
.delete-linked-quotes{margin:20px 0;padding:16px;border:1px solid #dce1dc}
.delete-linked-quotes h3{font-size:17px;font-weight:600}
.delete-linked-quotes ul{padding-left:22px}
.delete-linked-quotes li{margin:10px 0;overflow-wrap:anywhere}
.delete-linked-quotes li span{display:block;font-size:13px;color:#59666a}
.delete-linked-quotes p{font-size:13px;margin:12px 0 0}
@media(max-width:600px){.draft-action{justify-content:flex-start}.draft-action .quote-trash{width:36px}.wizard-head .actions{flex-wrap:wrap}}
.option-laying-scheme{margin:22px 0;padding:20px 0;border-top:1px solid #d0cfcf;border-bottom:1px solid #d0cfcf}.option-laying-scheme .panel-title{margin-bottom:10px}.option-laying-scheme h3{margin:0}.laying-scheme-filename{font-size:13px;color:#5f6668;overflow-wrap:anywhere}.laying-scheme-preview{display:flex;justify-content:center;padding:14px;background:#fff}.laying-scheme-preview img{display:block;max-width:100%;max-height:280px;width:auto;height:auto;object-fit:contain}.laying-scheme-upload{display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin-top:14px}.laying-scheme-upload input{max-width:100%}.option-laying-scheme .muted{margin:10px 0 0}
.item-product-image{margin:18px 0;padding:16px 0;border-top:1px solid #d0cfcf;border-bottom:1px solid #d0cfcf}.item-product-image .panel-title{margin-bottom:8px}.item-product-image h4{margin:0;font-weight:600}.product-image-filename{font-size:12px;color:#5f6668;overflow-wrap:anywhere}.product-image-preview{display:flex;justify-content:center;max-width:320px;background:#fff;padding:10px}.product-image-preview img{display:block;max-width:100%;max-height:180px;width:auto;height:auto;object-fit:contain}.product-image-upload{display:flex;flex-direction:column;align-items:flex-start;gap:7px;margin-top:10px}.product-image-upload input{max-width:100%}.item-product-image .muted{margin:8px 0 0}
