.quote-media-library{margin:1rem 0;display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:.75rem}.quote-media-library>.page-heading{grid-column:1/-1}.quote-media-card{position:relative;display:grid;gap:.35rem;padding:.55rem;border:1px solid #d8dee8;border-radius:12px;background:#fff;min-width:0}.quote-media-card>input{position:absolute;z-index:2;top:.75rem;left:.75rem;width:1.25rem;height:1.25rem}.quote-media-preview{display:grid;place-items:center;width:100%;height:116px;padding:0;overflow:hidden;border:0;border-radius:8px;background:#18263a;color:#fff}.quote-media-preview img{width:100%;height:100%;object-fit:cover}.quote-video-tile{font-size:1.05rem;font-weight:700}.quote-media-card strong,.quote-media-card small{overflow-wrap:anywhere}.quote-item-card{break-inside:avoid}.quote-range-grid{display:grid;grid-template-columns:repeat(6,minmax(90px,1fr));gap:.6rem}.quote-range-grid.three{grid-template-columns:repeat(3,minmax(100px,1fr))}.quote-item-actions{display:flex;flex-wrap:wrap;gap:.6rem;align-items:center}.ai-quote-draft{margin-top:.75rem;padding:.75rem;border:1px solid #f59e0b;border-radius:10px;background:#fff8e8}.ai-quote-draft pre{white-space:pre-wrap;overflow-wrap:anywhere}.quote-item-card textarea{min-height:82px}
.quote-wizard-nav{display:grid;grid-template-columns:repeat(5,1fr);gap:.5rem;margin:1rem 0}.quote-wizard-nav button{display:flex;align-items:center;justify-content:center;gap:.4rem;min-height:48px}.quote-wizard-nav button span{display:grid;place-items:center;width:1.6rem;height:1.6rem;border-radius:50%;background:#dce5ef}.quote-wizard-nav button[aria-current=step]{background:#18263a;color:#fff}.quote-wizard-nav button[aria-current=step] span{background:#ee711c;color:#fff}.quote-wizard-step>button{margin-top:1rem}
.quote-report{background:#fff;color:#172438}.quote-report>header{padding:1.5rem;border-radius:14px 14px 0 0;background:#18263a;color:#fff;border-left:12px solid #ee711c}.quote-report>header h2{margin:.15rem 0}.quote-report-row{display:grid;grid-template-columns:minmax(210px,34%) 1fr;gap:1rem;padding:1rem 0;border-bottom:1px solid #d8dee8;break-inside:avoid}.quote-report-media{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.4rem;align-content:start}.quote-report-media img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:8px}.quote-report-copy h4{margin:.2rem 0}.quote-report-copy dl{display:grid;gap:.25rem;margin:1rem 0 0}.quote-report-copy dl div,.quote-report footer>div{display:flex;justify-content:space-between;gap:1rem;border-top:1px solid #d8dee8;padding:.45rem 0}.quote-report footer{margin-top:1rem;padding:1rem;background:#f2f5f8;border-radius:10px}.quote-report footer .quote-grand-total{font-size:1.25rem;border-top:3px solid #18263a}.quote-report footer small{display:block;margin-top:.6rem}
#quote-media-dialog{width:min(92vw,1000px);max-height:90vh;padding:2.8rem 1rem 1rem;border:0;border-radius:14px;background:#101827;color:#fff}#quote-media-dialog::backdrop{background:rgba(5,12,24,.82)}#quote-media-dialog>[data-close-quote-media]{position:absolute;right:.65rem;top:.55rem;min-width:2.2rem;padding:.25rem .55rem;font-size:1.45rem}#quote-media-dialog img,#quote-media-dialog video{display:block;max-width:100%;max-height:80vh;margin:auto;border-radius:8px}
@media(max-width:800px){.quote-range-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.quote-range-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.quote-media-library{grid-template-columns:repeat(2,minmax(0,1fr))}.quote-wizard-nav{grid-template-columns:1fr}.quote-wizard-nav button{justify-content:flex-start}.quote-report-row{grid-template-columns:1fr}}
@media print{#quote-media-dialog,.quote-media-library input,#quote-media-upload-form,.quote-item-actions,.quote-wizard-nav,.quote-wizard-step:not(.quote-report),.page-heading button{display:none!important}.quote-item-card{box-shadow:none;border:1px solid #bbb}.quote-report-row{grid-template-columns:32% 1fr}}
.quote-workspace-actions{display:flex;flex-wrap:wrap;gap:.65rem;margin:.75rem 0}.quote-context-list{max-height:12rem;overflow:auto;margin:.75rem 0 0;padding-left:1.25rem}.quote-context-list li{margin:.35rem 0}.quote-media-card select[data-assigned="1"]{border-color:#2f855a;background:#e8f7ee}.quote-wizard-step progress{width:100%;height:1rem;margin-top:.75rem}
.quote-media-remove{background:#fff;color:#9b2c2c;border:1px solid #f0b4b4}.quote-media-trash{margin:.75rem 0}.quote-media-trash li{display:flex;justify-content:space-between;align-items:center;gap:.75rem;margin:.4rem 0}.quote-ai-progress{margin:.75rem 0;padding:.85rem;border:1px solid #b8cce3;border-radius:10px;background:#f5f9fd}.quote-ai-progress>div{display:flex;justify-content:space-between;gap:1rem}.quote-ai-progress progress{width:100%;height:1rem}.quote-ai-progress small{display:block;margin-top:.4rem}
.quote-draft-summary{display:grid;gap:.55rem}.quote-draft-summary p{margin:0}.quote-draft-numbers{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.5rem}.quote-draft-numbers span{padding:.6rem;border-radius:8px;background:#fff}.quote-draft-numbers strong{display:block;margin-bottom:.2rem}
.quote-evidence-actions{display:flex;flex-wrap:wrap;gap:.45rem;margin-top:.65rem}.quote-evidence-actions button{font-size:.82rem;padding:.45rem .65rem}.quote-share{margin-top:1rem}.quote-share input{width:100%;font-family:monospace}.quote-share>div{display:flex;gap:.5rem;flex-wrap:wrap;margin-top:.6rem}
.quote-media-card.selected-for-task{outline:3px solid #2f855a;background:#eaf8ef}.quote-task-evidence-choice{font-weight:700}.quote-task-evidence-choice input{width:auto;margin-right:.4rem}
.quote-price-required{display:inline-block;margin:.35rem 0;padding:.25rem .5rem;border-radius:999px;background:#fff0d8;color:#8a4300}.quote-inline-editor{margin-top:.8rem;padding:.65rem;border:1px solid #b8cce3;border-radius:10px;background:#f5f9fd}.quote-inline-editor summary{cursor:pointer;font-weight:700;color:#185884}.quote-inline-edit-form{display:grid;gap:.65rem;margin-top:.7rem}.quote-inline-edit-form textarea{min-height:70px}.quote-inline-edit-form button{justify-self:start}
@media print{.quote-inline-editor,.quote-price-required{display:none!important}}
