.quote-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:70px;padding-block:45px 75px}.quote-main{min-width:0}.quote-intro{display:flex;gap:20px;justify-content:space-between;align-items:center;margin-bottom:20px}.quote-intro h2{font:600 20px 'DM Sans',sans-serif;margin:0}.quote-intro a{white-space:nowrap}.quote-item{display:grid;grid-template-columns:100px minmax(0,1fr);gap:24px;padding-block:25px;border-top:1px solid var(--line)}.quote-item-photo{background:#fff;height:130px;padding:12px;display:flex;align-items:center;justify-content:center}.quote-item-photo img{width:100%;height:100%;object-fit:contain}.quote-item-photo span{font-size:11px;text-align:center;color:var(--muted)}.quote-item-heading{display:flex;justify-content:space-between;gap:15px;align-items:start}.quote-reference{font-size:10px;color:var(--muted);margin:0 0 5px;letter-spacing:.05em}.quote-item h3{font-size:16px;font-weight:600;margin:0 0 20px}.quote-item h3 a:hover{text-decoration:underline}.quote-remove {
  display:inline-flex; flex:none; align-items:center; justify-content:center;
  min-width:44px; min-height:44px; padding:0 8px; margin:-8px -8px -11px 0;
  background:transparent; border:0; border-radius:4px; color:#465566;
  font-size:13px; white-space:nowrap; cursor:pointer;
  text-decoration:underline; text-underline-offset:3px;
}
.quote-remove:hover { color:#182633; background:#f2f3ef; }
.quote-remove:focus-visible { outline:2px solid #2459db; outline-offset:2px; }.quote-item-fields{display:grid;grid-template-columns:minmax(0,1fr) 135px;gap:14px}.quote-item-fields .field{font-size:11px}.quote-item-fields input,.quote-item-fields select{padding:10px;font-size:12px;min-height:42px}.quote-empty,.quote-missing{background:var(--paper);padding:25px;margin-bottom:15px;font-size:14px}.quote-empty h3{font-size:18px}.quote-empty p{color:var(--muted)}.quote-sidebar{padding:24px;background:var(--paper);align-self:start;position:sticky;top:110px;border:1px solid var(--line)}.quote-sidebar h2{font-size:30px}.quote-sidebar ol{padding-left:20px;font-size:13px;color:var(--muted);line-height:1.7}.quote-sidebar li{padding-left:5px;margin-bottom:12px}.quote-sidebar p{font-size:12px;color:var(--muted)}.quote-sidebar .text-link{font-size:12px}.quote-help{font-size:12px;color:var(--muted);margin:15px 0 30px}.quote-project{border-top:1px solid var(--line);padding-top:30px;margin-top:15px}.quote-project h2{font-size:34px}.quote-project>p{font-size:14px;color:var(--muted)}.quote-status{color:#8a3b22;font-size:13px}.quote-form .contact-form{margin-top:24px}.quote-form .fine-print{font-size:12px}.quote-form .fine-print a{text-decoration:underline}.quote-download{margin-top:14px;border:0;background:none;padding:0;font-size:12px;text-decoration:underline;text-underline-offset:4px;color:var(--muted)}@media(max-width:1000px){.quote-layout{grid-template-columns:minmax(0,1fr);gap:35px}.quote-sidebar{position:static}.quote-sidebar ol{display:grid;grid-template-columns:repeat(3,1fr);gap:30px}}@media(max-width:600px){.quote-layout{padding-block:30px 45px}.quote-item{grid-template-columns:64px minmax(0,1fr);gap:14px}.quote-item-photo{height:86px;padding:8px}.quote-item-heading{display:block}.quote-item h3{margin-bottom:6px}.quote-remove{margin:-3px 0 0 -8px}.quote-item-fields{grid-template-columns:1fr}.quote-intro{align-items:start;gap:12px}.quote-intro h2{font-size:18px}.quote-intro a{font-size:12px}.quote-sidebar ol{display:block}.quote-project h2{font-size:30px}.contact-form{grid-template-columns:1fr}}
.quote-item-photo{position:relative}.quote-item-photo .quote-photo-label{position:absolute;bottom:3px;left:2px;right:2px;background:#fff;padding:2px;font-size:8px}.quote-item-fields small{display:block;color:var(--muted);font-size:11px;line-height:1.5;font-weight:400;margin-top:4px}

.quote-item-fields textarea{width:100%;min-width:0;max-width:100%;resize:vertical;font:inherit;line-height:1.5;padding:10px 12px;border:1px solid #c7cec9;background:#fff}

.quote-item-photo:has([data-quote-photo-caption]){height:auto;align-self:start;display:flex;flex-direction:column;justify-content:flex-start}.quote-item-photo [data-quote-photo-caption]{display:block;padding:5px 4px 6px;color:#384451;font-size:11px;line-height:1.45;text-align:center;overflow-wrap:anywhere}.quote-item-photo [data-quote-photo-caption][hidden]{display:none}

.quote-shortlist-actions { display:flex; flex-wrap:wrap; justify-content:flex-end; align-items:center; gap:8px 18px; }
.quote-shortlist-actions button { border:0; border-bottom:1px solid currentColor; background:transparent; padding:0 0 3px; color:var(--ink); }
.quote-browse-note { margin:0 0 18px; color:var(--muted); font-size:13px; }
.shortlist-preview-open { overflow:hidden; }
.sheet-print-copy { display:none; }
#shortlist-sheet { box-sizing:border-box; width:min(790px,calc(100% - 28px)); max-height:calc(100dvh - 36px); padding:0; border:1px solid #cbd1cf; border-radius:8px; color:#1a2b3c; background:#fff; }
#shortlist-sheet::backdrop { background:rgb(14 25 39 / 54%); }
.sheet-tools { position:sticky; top:0; z-index:1; display:flex; justify-content:space-between; gap:12px; padding:12px 22px; background:#f4f5f2; border-bottom:1px solid #dce1df; }
.sheet-tools .button { min-height:40px; padding:8px 14px; }
.sheet-export-status { margin:0; padding:12px 22px; color:#334653; font-size:13px; border-bottom:1px solid #dce1df; }
.sheet-print-option { margin:-10px clamp(20px,4vw,45px) 24px; }
.sheet-print-option button { padding:8px 0; border:0; background:transparent; color:var(--ink); text-decoration:underline; }
.sheet-paper { padding:clamp(20px,4vw,45px); }
.sheet-header, .sheet-intro { display:flex; justify-content:space-between; align-items:baseline; column-gap:16px; }
.sheet-header { border-bottom:2px solid #1a2b3c; padding-bottom:16px; }
.sheet-wordmark { font:700 25px/1.2 var(--sans); letter-spacing:-1.3px; }
.sheet-wordmark span { color:#2459db; }
.sheet-date, .sheet-count { color:#4b5965; font-size:12px; margin:0; }
.sheet-intro { flex-wrap:wrap; padding:24px 0 14px; }
.sheet-intro h1 { color:#1a2b3c; font:400 clamp(32px,4.5vw,50px)/1.1 var(--serif); margin:0 0 5px; }
.sheet-item { display:grid; grid-template-columns:110px minmax(0,1fr); gap:22px; padding:20px 0; border-top:1px solid #d9dedf; align-items:start; break-inside:avoid; }
.sheet-info { min-width:0; }
.sheet-picture { display:flex; flex-direction:column; gap:4px; align-items:center; justify-content:center; min-height:80px; }
.sheet-picture img { display:block; width:100%; height:100px; object-fit:contain; }
.sheet-picture .shade-focus { --focus-height:100px; margin:0; }
.sheet-picture small, .sheet-no-photo { font:400 11px/1.35 var(--sans); color:#53606a; overflow-wrap:anywhere; text-align:center; }
.sheet-picture small:empty { display:none; }
.sheet-ref { margin:0 0 4px; color:#4c5a66; font:500 11px/1.4 var(--sans); }
.sheet-info h2 { margin:0 0 10px; color:#1b2b3a; font:600 clamp(17px,2vw,21px)/1.3 var(--sans); letter-spacing:normal; }
.sheet-specs { display:flex; flex-wrap:wrap; gap:6px 26px; margin:0; }
.sheet-specs div { display:flex; align-items:baseline; flex-wrap:wrap; gap:4px 7px; }
.sheet-specs dt, .sheet-specs dd, .sheet-notes { font-size:13px; line-height:1.5; }
.sheet-specs dt { color:#54616c; } .sheet-specs dd { font-weight:600; margin:0; }
.sheet-specs .sheet-shade { flex-basis:100%; }
.sheet-chip { width:17px; height:13px; display:inline-block; margin-right:5px; border:1px solid #7f8b92; vertical-align:-2px; print-color-adjust:exact; }
.sheet-notes { margin:8px 0 0; white-space:pre-wrap; overflow-wrap:anywhere; }
.sheet-footer { display:flex; flex-wrap:wrap; justify-content:space-between; gap:4px 15px; padding-top:16px; border-top:2px solid #1a2b3c; }
.sheet-footer p { font-size:12px; margin:0; } .sheet-footer p:last-child { flex-basis:100%; margin-top:4px; color:#4b5965; }
@media (max-width:600px) {
  .quote-intro { align-items:baseline; flex-wrap:wrap; }
  .quote-shortlist-actions { justify-content:flex-start; gap:8px 16px; }
  .quote-shortlist-actions .text-link { display:inline-flex; align-items:center; min-height:42px; }
  .sheet-tools { padding:10px 12px; } .sheet-tools .button { min-height:44px; }
  .sheet-item { grid-template-columns:76px minmax(0,1fr); gap:12px; }
  .sheet-picture img { height:78px; } .sheet-intro { padding-top:18px; }
  .sheet-picture .shade-focus { --focus-height:78px; }
}
@media print {
  @page { size:auto; margin:14mm; }
  body.shortlist-preview-open { overflow:visible !important; background:white; }
  body.shortlist-preview-open > :not(.sheet-print-copy) { display:none !important; }
  body.shortlist-preview-open > .sheet-print-copy { display:block !important; position:static; width:100%; }
  #shortlist-sheet::backdrop, #shortlist-sheet .sheet-tools { display:none !important; }
  .sheet-paper { padding:0; } .sheet-header { padding-bottom:8pt; } .sheet-intro { padding:13pt 0 8pt; }
  .sheet-intro h1 { font-size:28pt; } .sheet-item { display:grid; grid-template-columns:75pt minmax(0,1fr); gap:16pt; padding:11pt 0; break-inside:avoid; page-break-inside:avoid; }
  .sheet-picture img { height:64pt; } .sheet-info h2 { font-size:14pt; } .sheet-picture small { font-size:8pt; }
  .sheet-picture .shade-focus { --focus-height:64pt; }
  .sheet-footer { break-inside:avoid; } .sheet-wordmark span { print-color-adjust:exact; }
}

.quote-draft { padding-block:12px; border-block:1px solid var(--line); }
.quote-draft summary { width:fit-content; cursor:pointer; font-weight:600; font-size:14px; }
.quote-draft p { margin:8px 0 0; color:var(--muted); font-size:13px; line-height:1.5; }
.quote-draft p:empty { display:none; }
.quote-draft-actions { display:flex; flex-wrap:wrap; gap:0 18px; }
.quote-draft-actions button,#quote-retry { border:0; background:none; color:var(--ink); padding:8px 0; min-height:40px; font-size:13px; text-decoration:underline; text-underline-offset:3px; }

#quote-project { scroll-margin-top: 4px; }
.quote-project .quote-review-link { display: inline-block; padding-block: 8px; margin-bottom: 8px; font-size: 14px; }
.quote-project .quote-review-link[hidden] { display: none; }
.quote-item:target { scroll-margin-top:12px; border-top:2px solid #365f99; }

.quote-quantity-options { grid-column: 1 / -1; min-width: 0; }
.quote-quantity-options summary { width: fit-content; padding: 6px 0; font-size: 13px; font-weight: 600; cursor: pointer; }
.quote-quantity-options[open] { padding: 9px 14px; background: #f5f6f3; border: 1px solid var(--line); border-radius: 4px; }
.quote-quantity-options p { margin: 4px 0 10px; color: #4b575d; font-size: 13px; }
.quote-option-inputs { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.quote-option-row { display: flex; align-items: flex-end; gap: 7px; }
.quote-option-row label { display: grid; gap: 3px; font-size: 12px; }
.quote-option-row input { background: #fff; border: 1px solid #a9b6b7; border-radius: 3px; width: 110px; }
.quote-quantity-options button { border: 0; padding: 5px 2px; background: transparent; color: var(--ink); min-height: 42px; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.quote-quantity-options .quote-option-status { margin: 0; color: #843d28; }
@media (max-width: 600px) {
  .quote-quantity-options summary, .quote-quantity-options button { min-height: 44px; align-content: center; }
  .quote-option-row input { font-size: 16px; }
}

.quote-sample-link { display: inline-block; width: fit-content; min-height: 32px; padding: 5px 0; font-size: 14px; }

.quote-removal-feedback { display:flex; flex-wrap:wrap; align-items:center; gap:8px 16px; margin:14px 0; padding:10px 14px; background:#f1f5f4; border:1px solid #d4dfdc; border-radius:4px; color:#293e40; font-size:14px; }
.quote-removal-feedback[hidden] { display:none; }
.quote-removal-feedback button { flex:none; min-height:44px; padding:8px 4px; background:transparent; border:0; color:inherit; text-decoration:underline; text-underline-offset:3px; cursor:pointer; }
.quote-removal-feedback button:focus-visible { outline:2px solid #2459db; outline-offset:3px; }
@media (max-width:600px) {
  .quote-form .field, .quote-option-row label { font-size:14px; }
  .quote-form input:not([type="hidden"]), .quote-form select, .quote-form textarea { font-size:16px; }
  .quote-item { grid-template-columns:minmax(0,1fr); }
  .quote-item-content { min-width:0; }
  .quote-item .quote-item-photo { display:grid; grid-template-columns:64px minmax(0,1fr); align-items:center; gap:14px; width:100%; height:auto; padding:0; }
  .quote-item .quote-item-photo > img { grid-column:1; grid-row:1; width:64px; height:80px; object-fit:contain; }
  .quote-item .quote-item-photo > .shade-focus { --focus-height:80px; grid-column:1; grid-row:1; max-width:64px; margin:0; }
  .quote-item .quote-item-photo [data-quote-photo-caption] { grid-column:2; grid-row:1; padding:0; font-size:13px; line-height:1.45; text-align:left; }
  .quote-item .quote-item-photo > span:not(.shade-focus) { grid-column:1/-1; text-align:left; font-size:13px; }
}
