.collection-tools,.config-head,.config-actions,.quote-titlebar,#quote-actions{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}
.collection-tools{margin:-.5rem 0 2rem;padding-bottom:1.15rem;border-bottom:1px solid var(--edge)}
.selections{display:flex;flex-wrap:wrap;gap:.5rem}
.selections button,.quote-open,#download-quote{border:1px solid #c7d4c9;border-radius:3px;background:white;padding:.68rem .95rem;color:#2b4a37;font-weight:500;font-size:.87rem}
.selections button[aria-pressed=true],.selections button:hover{background:#284533;color:white}
.quote-open{display:inline-flex;align-items:center;gap:.7rem;border-color:transparent;background:#eff3ee}
.quote-open span{min-width:1.4rem;border-radius:1rem;background:white;padding:.16rem .4rem;text-align:center}
.height-filter{display:flex;align-items:center;gap:.9rem;margin:1rem 0 .25rem;font-size:.86rem;font-weight:500}
#height-picker{position:relative;width:14rem;font-weight:400}
#height-picker summary{cursor:pointer;background:white;border:1px solid var(--edge);border-radius:3px;padding:.65rem .8rem;display:flex;align-items:center;justify-content:space-between}
#height-picker summary::after{content:'⌄';font-size:1rem}
.height-panel{position:absolute;top:100%;z-index:2;width:100%;padding:.5rem;background:white;box-shadow:0 8px 25px #182b1f22;border:1px solid var(--edge)}
.height-panel input,.variant-field select{width:100%;max-width:100%;border:1px solid #b7c6ba;border-radius:2px;padding:.6rem;font:inherit;color:var(--ink);background:#fff}
#height-options{max-height:14.5rem;overflow:auto;margin-top:.4rem}
#height-options button{display:block;width:100%;padding:.52rem .65rem;text-align:left;border:0;background:#fff;font-size:.89rem}
#height-options button:is(:hover,[aria-pressed=true]){background:#e6eee6;color:#173924}
#height-options p{font-size:.82rem;padding:.5rem}
.info-link{display:inline-block;margin:.65rem;text-decoration:underline;text-underline-offset:4px;font-size:.86rem}
.config{margin-top:3.4rem;padding-top:2rem;border-top:1px solid var(--edge)}
.config-head{margin-bottom:1.4rem}
.config h2,#quote-title{font-size:clamp(1.6rem,3vw,3.1rem);letter-spacing:-.055em;font-weight:500}
.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.table-scroll{width:100%;overflow:auto}
.variant-table{width:100%;border-collapse:collapse;font-size:.88rem;text-align:left}
.variant-table th{color:#496051;font-size:.76rem;font-weight:600;border-bottom:1px solid #809387;background:#f2f5f1}
.variant-table th,.variant-table td{padding:.85rem .75rem;vertical-align:middle}
.variant-table td{border-bottom:1px solid #dae2da}
.variant-table td:nth-child(4){width:30%;min-width:9rem}
.variant-field{display:block;max-width:22rem}
.variant-field + .variant-field{margin-top:.45rem}
.variant-field b{font-weight:500}
.variant-field span,.variant-table small{display:block;font-size:.75rem;color:var(--muted);margin:.22rem 0}
.variant-field select{font-size:.85rem}
.variant-table td:last-child{width:8rem}
.stepper{display:inline-flex;border:1px solid #bccbbf;border-radius:3px;overflow:hidden}
.stepper button,.stepper input{min-height:36px;border:0;text-align:center}
.stepper button{width:30px;color:#274c34;background:#edf2ed;font-size:1rem}
.stepper input{width:3.1rem;-moz-appearance:textfield;appearance:textfield;font-size:.86rem}
.stepper input::-webkit-inner-spin-button,.stepper input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.stepper :focus-visible{outline-offset:-3px}
.config-actions{margin-top:1rem}
.config-actions .button,#quote-actions .button{border:0}
#variant-status,#quote-note,#variant-controls p{font-size:.86rem;line-height:1.5;color:#455e4d}
#variant-controls p{margin-bottom:.65rem}
#quote-dialog{width:min(42rem,calc(100% - 1.5rem));max-height:85vh;overflow:auto;color:var(--ink);border:1px solid #bdc9bf;padding:clamp(1rem,3vw,2rem);border-radius:5px}
#quote-dialog::backdrop{background:#11221880}
.quote-titlebar{border-bottom:1px solid var(--edge);padding-bottom:1rem;flex-wrap:nowrap}
.quote-close{border:0;background:#edf2ec;width:2.5rem;height:2.5rem;font-size:1.5rem;border-radius:50%}
#quote-lines>p{padding:1.5rem 0}
.quote-line{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 0;border-bottom:1px solid var(--edge)}
.quote-line h3{margin:.2rem 0;font-size:1.12rem}
.quote-line small,.quote-line p,.quote-line strong{font-size:.84rem;line-height:1.5}
.quote-line button{background:none;text-decoration:underline;border:0;font-size:.8rem}
#quote-actions{margin-top:1rem}
#quote-note:not(:empty){margin-top:.75rem}
@media(max-width:760px){
.collection-tools{align-items:flex-start}.config{margin-top:2rem}.variant-table,.variant-table tbody,.variant-table tr{display:block}
.variant-table thead{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}
.variant-table tbody tr{border:1px solid var(--edge);padding:.55rem .9rem;margin-bottom:.65rem}
.variant-table td,.variant-table td:nth-child(4),.variant-table td:last-child{width:100%;min-width:0;display:grid;grid-template-columns:minmax(6.3rem,30%) minmax(0,1fr);gap:.3rem .6rem;align-items:center;padding:.45rem 0;border:0}
.variant-table td:before{content:attr(data-label);font-size:.75rem;color:var(--muted)}
.variant-table td>*{grid-column:2}.stepper{justify-self:start}
.variant-table td>small{margin:0}.variant-field{min-width:0}
.config-actions .button{margin-left:auto}.quote-line{align-items:flex-start}
}
