.quote-select {
    width: 100%;
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 14px;
    background: rgba(7, 16, 29, 0.8);
    color: var(--quote-text);
}
.quote-preset-panel {
    border-color: rgba(56, 189, 248, 0.24);
}
.quote-details-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.quote-field--wide {
    grid-column: 1 / -1;
}
.quote-print-brand {
    display: none;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--quote-line);
}
.quote-print-brand__mark {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: linear-gradient(135deg, #f97316, #38bdf8);
    color: #fff;
    font-weight: 800;
}
.quote-print-brand strong,
.quote-print-brand span {
    display: block;
}
.quote-print-brand span {
    color: var(--quote-muted);
    font-size: 13px;
}
.quote-preview-total {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    margin-top: 18px;
    padding: 18px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.24), rgba(56, 189, 248, 0.14));
    border: 1px solid rgba(249, 115, 22, 0.32);
}
.quote-preview-total span {
    color: #ffd7bf;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.quote-preview-total strong {
    font-size: 28px;
    white-space: nowrap;
}
.quote-preview-sections {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}
.quote-preview-sections section {
    padding: 18px;
    border: 1px solid var(--quote-line);
    border-radius: 18px;
    background: rgba(8, 18, 34, 0.6);
}
.quote-preview-sections h3 {
    margin: 0 0 10px;
    font-size: 16px;
}
.quote-preview-sections p,
.quote-preview-sections ul,
.quote-preview-sections ol {
    margin: 0;
    color: var(--quote-muted);
}
.quote-preview-sections ul,
.quote-preview-sections ol {
    display: grid;
    gap: 8px;
    padding-left: 20px;
}
.quote-preview-sections li:empty {
    display: none;
}
@media (max-width: 780px) {
    .quote-details-grid {
        grid-template-columns: 1fr;
    }
}
@media print {
    @page {
        margin: 14mm;
    }
    body.lab-sandbox-page--dark {
        background: #ffffff !important;
        color: #111827 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    .quote-demo-shell {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .quote-demo-topbar,
    .quote-demo-alert,
    .quote-editor,
    .quote-summary-cards,
    .quote-preview-badge {
        display: none !important;
    }
    .quote-demo-grid,
    .quote-preview-column {
        display: block !important;
    }
    .quote-preview-panel {
        padding: 0 !important;
        background: #ffffff !important;
        color: #111827 !important;
        border: 0 !important;
        box-shadow: none !important;
    }
    .quote-print-brand {
        display: flex !important;
        border-color: #d1d5db !important;
    }
    .quote-print-brand span,
    .quote-preview-header__eyebrow,
    .quote-preview-meta span,
    .quote-preview-note p,
    .quote-preview-sections p,
    .quote-preview-sections ul,
    .quote-preview-sections ol {
        color: #4b5563 !important;
    }
    .quote-preview-header {
        margin-bottom: 18px !important;
    }
    .quote-preview-header h2 {
        font-size: 30px !important;
        color: #111827 !important;
    }
    .quote-preview-meta {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }
    .quote-preview-meta div,
    .quote-preview-note,
    .quote-preview-sections section {
        background: #f9fafb !important;
        border-color: #d1d5db !important;
        box-shadow: none !important;
    }
    .quote-preview-table th,
    .quote-preview-table td {
        color: #111827 !important;
        border-color: #d1d5db !important;
    }
    .quote-preview-total {
        background: #111827 !important;
        border-color: #111827 !important;
        color: #ffffff !important;
    }
    .quote-preview-total span,
    .quote-preview-total strong {
        color: #ffffff !important;
    }
}
