.quote-panel { width: 460px; flex-shrink: 0; border-left: 1px solid #dbe4ef; background: white; display: flex; flex-direction: column; }
        .quote-panel[hidden] { display: none; }
        .quote-panel-header { flex-shrink: 0; padding: 22px; border-bottom: 1px solid #e2e8f0; }
        .quote-panel-body { min-height: 0; overflow-y: auto; padding: 20px; flex: 1; }
        .quote-kicker { font-size: 10px; letter-spacing: 1.7px; color: #64748b; font-weight: 800; }
        .quote-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0; }
        .quote-stat { background: #f1f5f9; border-radius: 12px; padding: 14px; }
        .quote-stat strong { display: block; font-size: 18px; margin-top: 5px; }
        .quote-day { font-size: 13px; font-weight: 800; margin: 24px 0 10px; color: #0f766e; }
        .quote-line { border: 1px solid #e2e8f0; border-radius: 12px; padding: 14px; margin-bottom: 10px; font-size: 12px; }
        .quote-line.invalid { border-color: #fca5a5; background: #fff7f7; }
        .quote-line details { margin-top: 10px; color: #64748b; }
        .quote-line pre { font-size: 10px; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 220px; overflow: auto; }
        .quote-panel-footer { flex-shrink: 0; padding: 18px 20px; border-top: 1px solid #e2e8f0; background: #f8fafc; font-size: 12px; }
        @media (max-width: 1200px) { .quote-panel { width: 390px; } .workspace-sidebar { width: 240px; } }
        @media (max-width: 1000px) { .quote-panel { position: fixed; right: 0; top: 0; bottom: 0; z-index: 1050; height: 100dvh; overflow: hidden; width: min(460px, 100vw); box-shadow: -12px 0 60px #0f172a22; } }
.quote-panel.expanded { position: fixed; inset: 24px; width: auto; z-index: 1050; box-shadow: 0 20px 90px #0f172a55; border-radius: 16px; overflow: hidden; }
.quote-view-tabs { display: flex; gap: 4px; padding: 10px 12px; border-bottom: 1px solid #e2e8f0; flex-shrink: 0; }
.quote-view-tabs button { flex: 1; background: transparent; border: 0; border-radius: 8px; padding: 8px 3px; font-size: 12px; color: #64748b; }
.quote-view-tabs button.active { background: #e0f2fe; color: #0369a1; font-weight: 700; }
.quote-table-scroll { overflow-x: auto; max-width: 100%; }
.quote-table { width: 100%; border-collapse: collapse; white-space: nowrap; font-size: 12px; }
.quote-table th, .quote-table td { padding: 10px; border: 1px solid #dbe4ef; text-align: right; }
.quote-table th:first-child, .quote-table td:first-child { text-align: left; }
.quote-table thead { background: #f1f5f9; }
.quote-table .quote-group th { background: #cffafe; text-align: left; }
.quote-subtotal { background: #f1f5f9; font-weight: 700; }
.quote-basis-row { padding: 12px; margin: 8px 0; border: 1px solid #e2e8f0; border-radius: 10px; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 10px 14px; font-size: 12px; background: #fff; }
.quote-basis-row > .quote-basis-name { grid-column: 1 / -1; font-weight: 700; color: #1e293b; }
.quote-basis-row > label { display: flex; align-items: center; gap: 8px; color: #475569; }
.quote-basis-row select { min-width: 190px; max-width: 100%; }
.quote-basis-row input { width: 64px; }
.quote-basis-row .quote-room-control[hidden] { display: none !important; }
@media (max-width: 520px) { .quote-basis-row { grid-template-columns: 1fr; } .quote-basis-row > .quote-basis-name { grid-column: 1; } .quote-basis-row select { min-width: 0; width: 100%; } }
@media (max-width: 1000px) { .quote-panel.expanded { inset: 0; height: 100dvh; border-radius: 0; width: 100vw; } }
.quote-panel.group-pricing-mode .quote-panel-header { position: relative; padding: 12px 24px; min-height: 52px; color: #fff; background: #0dcaf0; border-bottom: 0; }
.quote-panel.group-pricing-mode .quote-panel-header::before { content: "So Sánh Báo Giá Đoàn"; display: inline-block; font-size: 17px; line-height: 28px; font-weight: 750; }
.quote-panel.group-pricing-mode .quote-kicker, .quote-panel.group-pricing-mode .quote-panel-header h5, .quote-panel.group-pricing-mode .quote-panel-header .small { display: none; }
.quote-panel.group-pricing-mode .quote-panel-header button { float: right; margin-left: 8px; }
.quote-panel.group-pricing-mode .quote-overview-header, .quote-panel.group-pricing-mode .quote-panel-footer { display: none; }
.quote-panel.group-pricing-mode .quote-panel-body { padding: 16px 20px 24px; background: #f8fafc; }
.quote-panel.group-pricing-mode .quote-view-tabs { padding: 8px 16px; background: #fff; }
.quote-group-toolbar { display: flex; align-items: center; gap: 9px; padding: 10px 12px; margin-bottom: 12px; border: 1px solid #dce3eb; border-radius: 8px; background: #fff; box-shadow: 0 2px 6px #0f172a0d; }
.quote-group-toolbar > label { flex: 0 0 auto; margin: 0; color: #334155; font-size: 12px; font-weight: 750; }
.quote-group-toolbar > input { flex: 0 1 300px; min-width: 130px; height: 38px; }
.quote-group-toolbar .btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 36px; white-space: nowrap; font-size: 12px; font-weight: 700; }
.quote-group-toolbar-actions { display: flex; gap: 8px; margin-left: auto; }
.quote-group-hint { margin: 0 2px 10px; color: #64748b; font-size: 11px; }
.quote-pax-rules { margin: 0 2px 14px; padding: 8px 10px; border: 1px solid #e2e8f0; border-radius: 8px; background: #fff; font-size: 12px; }
.quote-pax-rules summary { color: #475569; font-weight: 650; cursor: pointer; }
.quote-pax-rules summary span { color: #94a3b8; font-weight: 400; }
.quote-pax-rules-list { padding-top: 8px; }
.quote-pax-tabs { display: flex; gap: 4px; overflow-x: auto; margin: 0 -2px 12px; padding: 0 2px; border-bottom: 1px solid #dbe2ea; }
.quote-pax-tab { flex: 0 0 auto; padding: 10px 14px; border: 1px solid transparent; border-bottom: 0; border-radius: 7px 7px 0 0; background: transparent; color: #2563eb; font-size: 12px; font-weight: 650; }
.quote-pax-tab.active { border-color: #dbe2ea; background: #fff; color: #15803d; }
.quote-pax-tab i { margin-right: 5px; }
.quote-pax-pane[hidden] { display: none !important; }
.quote-summary-heading { display: flex; align-items: center; gap: 8px; margin: 16px 0 12px; color: #1e293b; font-size: 15px; font-weight: 750; }
.quote-summary-heading i { color: #2563eb; }
.quote-summary-scroll, .quote-matrix-scroll, .quote-pax-table-scroll { max-width: 100%; overflow: auto; border: 1px solid #d8e0e8; border-radius: 5px; background: #fff; }
.quote-summary-table, .quote-matrix, .quote-pax-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; font-size: 12px; }
.quote-summary-table th, .quote-summary-table td, .quote-matrix th, .quote-matrix td, .quote-pax-table th, .quote-pax-table td { padding: 9px 10px; border-right: 1px solid #d8e0e8; border-bottom: 1px solid #d8e0e8; white-space: nowrap; }
.quote-summary-table th:last-child, .quote-summary-table td:last-child, .quote-matrix th:last-child, .quote-matrix td:last-child, .quote-pax-table th:last-child, .quote-pax-table td:last-child { border-right: 0; }
.quote-summary-table thead th { background: #cfe0fb; color: #1e293b; text-align: center; font-weight: 750; }
.quote-summary-table tbody th { color: #2563eb; text-align: center; }
.quote-summary-table td { text-align: right; }
.quote-sale-total { color: #e63946; font-weight: 800; font-size: 14px; }
.quote-profit-total { color: #16834a; font-weight: 700; }
.quote-margin-badge { display: inline-block; padding: 3px 8px; border: 1px solid #d8e0e8; border-radius: 7px; background: #f8fafc; font-size: 11px; font-weight: 700; }
.quote-matrix-card { margin-top: 18px; overflow: hidden; border: 1px solid #d8e0e8; border-radius: 7px; background: #fff; }
.quote-matrix-title { display: table; padding: 5px 13px; border-radius: 0 0 5px 0; background: #ffc107; color: #252525; font-size: 13px; font-weight: 750; }
.quote-matrix-scroll { max-height: 420px; border: 0; border-radius: 0; }
.quote-matrix { min-width: 1120px; font-size: 11px; }
.quote-matrix thead { position: sticky; top: 0; z-index: 2; }
.quote-matrix thead th { background: #f1f3f5; color: #263238; text-align: center; font-weight: 750; }
.quote-matrix thead tr:nth-child(2) th:not(:first-child) { background: #ffedd5; color: #9a3412; }
.quote-matrix tbody td { text-align: left; }
.quote-matrix tbody td:nth-child(n+7) { text-align: right; }
.quote-matrix-category th { background: #e2e8f0; text-align: left; }
.quote-matrix tfoot { position: sticky; bottom: 0; background: #dbe2ea; font-weight: 750; }
.quote-matrix tfoot th, .quote-matrix tfoot td { background: #dbe2ea; text-align: right; }
.quote-pax-total-strip { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; padding: 11px 14px; margin-bottom: 12px; border: 1px solid #b8e7f1; border-radius: 6px; background: #cff4fc; color: #334155; font-size: 12px; }
.quote-pax-total-strip > strong { color: #0d6efd; }
.quote-pax-table { font-size: 12px; }
.quote-pax-table thead th { position: sticky; top: 0; z-index: 1; background: #f1f3f5; text-align: center; }
.quote-pax-table td { white-space: normal; }
.quote-pax-table td:nth-child(n+4) { white-space: nowrap; }
.quote-pax-table .quote-day-group th { background: #cff4fc; color: #146c94; text-align: left; }
.quote-pax-table tfoot th, .quote-pax-table tfoot td { background: #dbe2ea; font-weight: 800; }
.quote-pax-table tfoot tr:last-child td { background: #f1f5f9; }
.quote-group-empty, .quote-group-loading { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 170px; padding: 24px; border: 1px dashed #cbd5e1; border-radius: 8px; background: #fff; color: #64748b; text-align: center; }
.quote-group-empty i { color: #0ea5e9; font-size: 26px; }
.quote-group-empty strong { color: #334155; }
.quote-group-footnote { margin: 12px 2px 0; color: #64748b; font-size: 11px; }
@media (max-width: 760px) { .quote-panel.group-pricing-mode .quote-panel-body { padding: 10px; } .quote-group-toolbar { flex-wrap: wrap; } .quote-group-toolbar > label { flex-basis: 100%; } .quote-group-toolbar > input { flex: 1 1 140px; } .quote-group-toolbar-actions { width: 100%; margin-left: 0; } .quote-group-toolbar-actions .btn { flex: 1; } .quote-matrix { min-width: 1050px; } }
