/* Quote workspace: shared finance and settlement visual language. */
@media(min-width:781px){
.page-quotes .quote-list-panel{border-color:#e1e7ef;border-radius:16px;padding:14px}
.page-quotes .quote-list-toolbar{padding-bottom:8px;border-bottom:1px solid #edf0f5;margin-bottom:12px}
.page-quotes .quote-list-toolbar h2{font-size:18px;line-height:1.4}
.page-quotes .quote-list-toolbar p{font-size:12px;color:#8290a3;margin-top:3px}
.page-quotes .quote-searchbar{border-radius:10px;border-color:#dfe5ef;background:#fafbfd}
.page-quotes .quote-list-filter-disclosure{border-color:#e7ebf3;border-radius:10px}
.page-quotes .quote-list-card{padding:13px!important;border-color:#e3e9f0!important;background:#fff;gap:8px;border-radius:11px!important}
.page-quotes .quote-list-card:hover{background:#f8faff;border-color:#c3ceee!important}
.page-quotes .quote-list-card.active{background:#f3f6ff;border-color:#becbf7!important;box-shadow:inset 3px 0 0 #5069e7}
.page-quotes .quote-card-topline strong{font-size:14px;color:#20304a}
.page-quotes .quote-list-card .quote-code-ref{color:#5069d9}
.page-quotes .quote-list-meta,.page-quotes .quote-invoice-status{color:#7c899c;font-size:12px}
.page-quotes .quote-card-compact-total{background:#f4f7fb;border-radius:7px;padding:8px 10px}
.page-quotes .quote-card-actions{padding-top:8px;border-top:1px solid #e6ebf4}
.page-quotes .quote-editor-head{border-color:#e1e7ef;border-radius:16px;box-shadow:none}
.page-quotes .quote-step-nav{border-color:#e1e7ef}
.page-quotes .quoteedit .panel{border-color:#e1e7ef;box-shadow:none}
.page-quotes .quoteedit input:not([type="checkbox"]):not([type="radio"]),.page-quotes .quoteedit select{border-color:#dde4ee;border-radius:9px}
.page-quotes .quoteedit input:not([type="checkbox"]):not([type="radio"]):focus,.page-quotes .quoteedit select:focus{border-color:#899ff0;box-shadow:0 0 0 3px #5069e712}
.page-quotes .quoteedit .btn{border-radius:9px;box-shadow:none}
/* Match the finance and settlement pages while retaining the quote workspace. */
.page-quotes{background:#f4f6fa;color:#172b4d}
.page-quotes .quote-list-panel{background:#fff;border:1px solid #e2e8f1;border-radius:12px;padding:0;overflow-x:hidden;overflow-y:auto}
.page-quotes .quote-list-toolbar{margin:0;padding:18px 16px 14px;border-bottom:0}
.page-quotes .quote-list-toolbar .section-leading-icon{display:none}
.page-quotes .quote-list-toolbar h2{font-size:20px;color:#172b4d;letter-spacing:-.4px}
.page-quotes .quote-list-toolbar .btn.primary,.page-quotes .quoteedit .btn.primary{background:#5268d4;border-color:#5268d4;color:#fff;box-shadow:none}
.page-quotes .quote-searchbar{margin:0 14px 10px;background:#f7f9fc;min-height:38px}
.page-quotes .quote-list-filter-disclosure{margin:0 14px 14px;border:1px solid #e2e8f1;background:#fff}
.page-quotes .quote-list-panel>.list{padding:0;gap:0;border-top:1px solid #e7ecf4}
.page-quotes .list .quote-list-card{border:0!important;border-bottom:1px solid #e7ecf4!important;border-radius:0!important;padding:17px 16px!important;background:#fff;gap:9px;box-shadow:none;flex-shrink:0}
.page-quotes .list .quote-list-card.active{background:#f0f3fd;box-shadow:inset 3px 0 0 #5268d4}
.page-quotes .list .quote-list-card:hover{background:#f6f8fc}
.page-quotes .quote-list-card .quote-code{color:#75839a;font-size:11px;line-height:1.7}
.page-quotes .quote-card-topline strong{font-size:15px;line-height:1.5}
.page-quotes .quote-list-card .pill{border:0;background:#edf5f2;color:#28806b;padding:4px 8px;font-size:10px}
.page-quotes .quote-list-card .pill.status-draft{background:#f1f3f8;color:#78869a}
.page-quotes .quote-card-compact-total{padding:3px 0!important;background:transparent!important;border:0;border-radius:0}
.page-quotes .quote-card-compact-total strong{font-size:18px;color:#172b4d;font-variant-numeric:tabular-nums}
.page-quotes .quote-card-compact-total small{color:#8491a5;font-size:11px}
.page-quotes .quote-card-owners{font-size:11px;color:#78869a;gap:5px}
.page-quotes .quote-card-owners strong{color:#52627a;font-weight:500}
.page-quotes .quote-card-actions{border:0;padding-top:2px}
.page-quotes .quote-card-action{color:#7989a3;font-size:11px}
.page-quotes .quote-card-action.red{color:#b67a81}
.page-quotes .quoteedit .quote-editor-head{background:transparent;border:0;box-shadow:none;padding:6px 0 0;border-radius:0}
.page-quotes .quote-command-heading{gap:12px}
.page-quotes .quote-command-heading h2,.page-quotes .quote-command-heading .quote-number-heading{font-size:26px;letter-spacing:-.7px;color:#172b4d}
.page-quotes .quote-command-heading .pill{background:#edf5f2;color:#28806b;border:0}
.page-quotes .quote-context-meta{color:#78869a;font-size:12px;margin-top:7px}
.page-quotes .quote-owner-line{padding:12px 0 16px;border:0;background:transparent;color:#78869a}
.page-quotes .quote-financial-strip{gap:14px;margin:0 0 8px;padding:0;background:transparent}
.page-quotes .quote-editor-head{container:quote-summary / inline-size}
.page-quotes .quote-financial-strip{grid-template-columns:repeat(4,minmax(0,1fr))!important;min-width:0}
.page-quotes .quote-financial-metric{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:12px;min-height:112px;padding:20px;border:1px solid #e2e8f1;background:#fff;border-radius:12px;box-shadow:none}
.page-quotes .quote-financial-metric>i{display:none}
.page-quotes .quote-financial-metric>span{font-size:12px;color:#74839a;font-weight:500}
.page-quotes .quote-financial-metric>strong{font-size:27px;color:#172b4d;letter-spacing:-.6px;font-variant-numeric:tabular-nums;line-height:1.25}
.page-quotes .quote-financial-metric{min-width:0;container-type:inline-size}
.page-quotes .quote-financial-metric>strong{max-width:100%;font-size:clamp(18px,10cqw,27px);white-space:normal;overflow-wrap:anywhere}
.page-quotes .quote-financial-metric.quote-metric-profit{background:#edf5f2;border-color:#dbece4}
.page-quotes .quote-financial-metric.quote-metric-profit>strong{color:#28806b}
.page-quotes .quote-financial-metric .quote-metric-currency{font-size:10px;color:#7a89a0;background:transparent;border:0;box-shadow:none}
.page-quotes .quote-step-nav{background:#eef1f7;border:0;border-radius:10px;box-shadow:none;padding:5px;gap:4px}
.page-quotes .quote-step-nav button{background:transparent;border:0;box-shadow:none;border-radius:7px;color:#78869a;padding:12px 8px}
.page-quotes .quote-step-nav button.active{background:#fff;color:#5268d4;box-shadow:0 1px 3px #172b4d0a}
.page-quotes .quote-step-nav button span{background:transparent;color:inherit}
.page-quotes .quote-basic-section{border-color:#e2e8f1;border-radius:12px;box-shadow:none}
.page-quotes .quote-basic-section-summary{background:#f8fafd;min-height:68px;padding:16px 20px}
.page-quotes .quote-basic-section-title strong{color:#172b4d;font-size:16px}
.page-quotes .quote-basic-section-title small{font-size:11px;color:#8390a5}
.page-quotes .quote-basic-section-title>.ui-icon{width:18px;height:18px;color:#788cad}
.page-quotes .quote-basic-section-content{padding:20px}
.page-quotes .quoteedit label{color:#74839a;font-size:11px;gap:8px}
.page-quotes .quoteedit input:not([type="checkbox"]):not([type="radio"]),.page-quotes .quoteedit select,.page-quotes .quoteedit textarea{background:#fff;border:1px solid #e0e6f0;min-height:38px;font-size:12px;border-radius:8px;color:#253858;box-shadow:none}
.page-quotes .quoteedit .btn{min-height:34px;font-size:12px;border:1px solid #e0e6f0;background:#fff;color:#5268d4}
.page-quotes .quoteedit .btn.soft{background:#f4f6fc}
.page-quotes .quoteedit table th{background:#f5f7fb;color:#78869a;font-size:11px}
.page-quotes .quoteedit table td{border-color:#edf1f6}
@media(max-width:1000px){.page-quotes .quote-financial-metric{padding:14px;min-height:96px}.page-quotes .quote-financial-metric>strong{font-size:21px}}
@container quote-summary (max-width:780px){.page-quotes .quote-financial-strip{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px}.page-quotes .quote-financial-metric{min-height:100px;padding:16px}}
@container quote-summary (max-width:370px){.page-quotes .quote-financial-strip{grid-template-columns:minmax(0,1fr)!important}}

/* Prevent the previous intrinsic minimums from pushing financial cards out. */
.page-quotes .quote-editor-head { min-width:0; width:100%; box-sizing:border-box; container:quote-summary / inline-size; }
.page-quotes .quote-financial-strip { width:100%; max-width:100%; box-sizing:border-box; }
.page-quotes .quote-financial-metric { min-width:0; max-width:100%; box-sizing:border-box; }
.page-quotes .quote-financial-metric.negative { background:#fff2f2; border-color:#f1dce0; }
.page-quotes .quote-financial-metric.negative>strong { color:#bb515a; }
.page-quotes .quote-financial-metric>span>small { display:none; }
.page-quotes .quote-card-topline strong { min-width:0; white-space:normal; overflow-wrap:anywhere; }
.page-quotes .quote-cost-workbench-card,
.page-quotes .quote-cost-list-panel,
.page-quotes .quote-terms-panel,
.page-quotes .departure-notice-panel,
.page-quotes .quote-pricing-panel,
.page-quotes .quote-pricing-review,
.page-quotes .export-action-card { background:#fff; border:1px solid #e2e8f1; border-radius:12px; box-shadow:none; min-width:0; }
.page-quotes .quote-cost-summarybar { padding:16px; background:#f8fafd; border-bottom:1px solid #e7ecf4; gap:14px; }
.page-quotes .quote-cost-list-title h3 { font-size:16px; color:#172b4d; }
.page-quotes .quote-cost-list-title p { color:#8390a5; font-size:11px; margin-top:5px; }
.page-quotes .quote-cost-metrics { gap:0; flex-wrap:wrap; }
.page-quotes .quote-cost-metrics>span { min-width:0; padding:0 12px; }
.page-quotes .quote-cost-metrics strong { color:#172b4d; font-size:17px; white-space:normal; overflow-wrap:anywhere; }
.page-quotes .quote-cost-metrics .cost-summary-total { color:#172b4d; }
.page-quotes .quote-cost-primary-actions { flex-wrap:wrap; }
.page-quotes .cost-day-accordion-head { background:#f8fafd; border-color:#e7ecf4; padding:16px; }
.page-quotes .cost-day-accordion-head h3 { color:#172b4d; font-size:15px; }
.page-quotes .cost-day-accordion-head p { color:#8390a5; }
.page-quotes .cost-day-accordion-item { box-shadow:none; border-color:#e7ecf4; }
.page-quotes .quote-cost-table-toolbar { background:#fff; border-color:#e7ecf4; padding:12px 16px; gap:12px; flex-wrap:wrap; }
.page-quotes .quote-cost-filter-controls { flex-wrap:wrap; }
.page-quotes .quote-cost-table-head { color:#74839a; background:#f5f7fb; border-color:#e7ecf4; font-size:11px; }
.page-quotes .quote-cost-table .costrow-summary { padding-top:14px; padding-bottom:14px; background:#fff; }
.page-quotes .quote-cost-table .costrow-summary:hover { background:#f8faff; }
.page-quotes .quote-cost-table .cost-amount { color:#172b4d; font-size:14px; font-variant-numeric:tabular-nums; white-space:normal; overflow-wrap:anywhere; }
.page-quotes .quote-cost-table .cost-item-main strong { color:#253858; font-weight:650; overflow-wrap:anywhere; }
.page-quotes .costrow.editing { background:#f7f9fd; border-color:#c8d3ed; box-shadow:none; }
.page-quotes .cost-resource-pricing-band { background:#f8fafd; border-color:#e2e8f1; border-radius:8px; box-shadow:none; }
.page-quotes .quote-terms-panel,
.page-quotes .departure-notice-panel,
.page-quotes .quote-pricing-panel { padding:20px; }
.page-quotes .quote-terms-hero { margin:-20px -20px 20px; padding:18px 20px; background:#f8fafd; border-bottom:1px solid #e7ecf4; border-radius:12px 12px 0 0; }
.page-quotes .quote-terms-hero .section-leading-icon { background:#eef2fa; color:#788cad; box-shadow:none; }
.page-quotes .quote-terms-hero h3,
.page-quotes .quote-pricing-section-title h3,
.page-quotes .quote-form-card-head h3 { color:#172b4d; font-size:17px; }
.page-quotes .quote-terms-hero p,
.page-quotes .quote-pricing-section-title p,
.page-quotes .quote-form-card-head p { color:#8390a5; font-size:12px; line-height:1.7; }
.page-quotes .quote-term-card { background:#fff; border:1px solid #e2e8f1; border-radius:10px; box-shadow:none; }
.page-quotes .quote-term-card h4 { color:#253858; font-size:14px; }
.page-quotes .quote-term-card textarea { line-height:1.7; }
.page-quotes .charter-notice-template-toolbar { background:#f7f9fc; border-color:#e2e8f1; border-radius:8px; box-shadow:none; }
.page-quotes .pricing-card { background:#f8fafd; border:1px solid #e2e8f1; border-radius:10px; box-shadow:none; padding:18px; min-width:0; }
.page-quotes .pricing-card h4 { color:#253858; font-size:15px; margin:0 0 18px; }
.page-quotes .quote-pricing-source-note { color:#78869a; background:#f3f6fa; border-color:#e2e8f1; font-size:12px; line-height:1.7; }
.page-quotes .quote-price-components { border-color:#e2e8f1; box-shadow:none; border-radius:10px; }
.page-quotes .quote-pricing-review { padding:20px; }
.page-quotes .quote-pricing-review .row { border-color:#e7ecf4; gap:12px; }
.page-quotes .quote-pricing-review strong { font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
.page-quotes .export-action-card { padding:20px; }
.page-quotes .quote-export-documents .quote-form-card-head { padding-bottom:18px; border-bottom:1px solid #e7ecf4; gap:12px; flex-wrap:wrap; }
.page-quotes .pdf-export-group { background:#fff; border:1px solid #e2e8f1; border-radius:10px; box-shadow:none; padding:16px; }
.page-quotes .pdf-export-group-head { padding-bottom:12px; border-bottom:1px solid #edf1f6; margin-bottom:14px; }
.page-quotes .pdf-export-group-head strong { color:#253858; font-size:14px; }
.page-quotes .pdf-export-group-head small { color:#8390a5; font-size:11px; }
.page-quotes .pdf-export-group-icon { background:#eef2fa; color:#788cad; border:0; box-shadow:none; }
.page-quotes .pdf-export-group-internal { background:#fffcf7; border-color:#efe5d5; }
.page-quotes .quote-export-documents .pdf-card { background:#fff; border:1px solid #e2e8f1; border-radius:8px; box-shadow:none; padding:14px; min-height:90px; grid-template-columns:32px minmax(0,1fr) auto; gap:10px; }
.page-quotes .quote-export-documents .has-word-export .pdf-card { padding-right:72px; }
.page-quotes .quote-export-documents .pdf-card:hover { background:#f7f9fd; border-color:#bfcbef; }
.page-quotes .quote-export-documents .pdf-card>i { background:#f0f3fa; color:#637daf; width:32px; height:32px; border-radius:7px; box-shadow:none; }
.page-quotes .quote-export-documents .pdf-card strong { color:#253858; font-size:13px; line-height:1.5; white-space:normal; overflow-wrap:anywhere; }
.page-quotes .quote-export-documents .pdf-card small { color:#8390a5; font-size:11px; line-height:1.6; white-space:normal; }
.page-quotes .quote-export-documents .pdf-card em { background:#edf5f2; color:#28806b; border:0; font-size:10px; }
.page-quotes .quote-export-documents .pdf-internal { background:#fff9ef; border-color:#efe5d5; }
.page-quotes .quote-export-documents .pdf-internal em { background:#fff0d8; color:#a06f2d; }
.page-quotes .quote-invoice-hero { background:#f7f9fc; border:1px solid #e2e8f1; border-radius:10px; box-shadow:none; }
.page-quotes .quote-invoice-illustration { background:#eef2fa; color:#637daf; box-shadow:none; }
.page-quotes .quote-invoice-about { background:#f7f9fc; border-color:#e2e8f1; border-radius:8px; color:#78869a; }
.page-quotes .document-language-selector { background:#f2f5fa; border:0; border-radius:8px; }
.page-quotes .document-language-selector button.active { color:#5268d4; box-shadow:none; }
.page-quotes .export-footnote { color:#8390a5; background:transparent; border:0; }
/* Itinerary shares the same restrained cards, section headers and resource rows. */
.page-quotes .quote-itinerary-rail,
.page-quotes .quote-itinerary-editor { border:1px solid #e2e8f1; background:#fff; border-radius:12px; box-shadow:none; min-width:0; }
.page-quotes .quote-rail-head { padding:18px 16px; background:#f8fafd; border-bottom:1px solid #e7ecf4; }
.page-quotes .quote-rail-head h3 { color:#172b4d; font-size:16px; }
.page-quotes .quote-rail-head p { color:#8390a5; font-size:11px; }
.page-quotes .quote-itinerary-days { gap:0; padding:0; }
.page-quotes .quote-itinerary-day-card { border:0; border-bottom:1px solid #e7ecf4; border-radius:0; background:#fff; box-shadow:none; padding:16px 14px; min-width:0; }
.page-quotes .quote-itinerary-day-card.active { background:#f0f3fd; border-color:#e7ecf4; box-shadow:inset 3px 0 0 #5268d4; }
.page-quotes .quote-itinerary-day-card:hover { background:#f6f8fc; }
.page-quotes .quote-day-index { background:#f1f4fa; color:#637daf; border:0; border-radius:7px; box-shadow:none; }
.page-quotes .quote-day-index small { color:#8390a5; }
.page-quotes .quote-day-copy strong { color:#253858; font-size:13px; white-space:normal; overflow-wrap:anywhere; }
.page-quotes .quote-day-brief { color:#8390a5; font-size:11px; }
.page-quotes .quote-day-hotel { color:#78869a; background:transparent; border:0; }
.page-quotes .quote-active-day-head { background:#f8fafd; border-bottom:1px solid #e7ecf4; padding:18px; gap:14px; }
.page-quotes .quote-active-day-index { background:#eef2fa; color:#5268d4; border:0; box-shadow:none; border-radius:9px; }
.page-quotes .quote-active-day-title h3 { color:#172b4d; font-size:18px; white-space:normal; overflow-wrap:anywhere; }
.page-quotes .quote-active-day-title p,.page-quotes .quote-active-day-title small { color:#8390a5; font-size:11px; }
.page-quotes .quote-active-day-tools .btn { box-shadow:none; }
.page-quotes .quote-active-day-tools .btn.danger { color:#bb515a; border-color:#efdee1; background:#fff5f5; }
.page-quotes .manual-itinerary-resources { gap:16px; background:#fff; }
.page-quotes .itinerary-focus-summary { background:#fff; border:0; border-bottom:1px solid #edf1f6; border-radius:0; padding:4px 0 14px; box-shadow:none; }
.page-quotes .itinerary-focus-day { background:#eef2fa; color:#637daf; border:0; box-shadow:none; font-size:13px; border-radius:7px; }
.page-quotes .itinerary-focus-summary-copy strong { color:#52627a; font-size:12px; white-space:normal; overflow-wrap:anywhere; }
.page-quotes .itinerary-focus-summary-copy small { color:#8390a5; font-size:11px; }
.page-quotes .itinerary-saved-indicator { color:#28806b; font-weight:600; }
.page-quotes .itinerary-scope-switch { background:#f2f5fa; border-color:#e2e8f1; box-shadow:none; border-radius:8px; }
.page-quotes .itinerary-scope-switch button.active { color:#5268d4; background:#fff; box-shadow:none; }
.page-quotes .itinerary-parallel-trigger { background:#fff; border-color:#e0e6f0; color:#5268d4; }
.page-quotes .itinerary-parallel-trigger.is-active { background:#f4f0ff; color:#6842c2; border-color:#ddd3ef; }
.page-quotes .itinerary-editor-section { background:#fff; border:1px solid #e2e8f1; border-radius:10px; padding:18px; box-shadow:none; }
.page-quotes .itinerary-section-heading { padding-bottom:14px; margin-bottom:18px; border-bottom:1px solid #edf1f6; }
.page-quotes .itinerary-section-heading strong { color:#172b4d; font-size:15px; font-weight:650; }
.page-quotes .itinerary-section-heading small { color:#8390a5; font-size:11px; font-weight:500; line-height:1.6; }
.page-quotes .itinerary-section-icon { color:#788cad; background:#eef2fa; border-radius:7px; box-shadow:none; }
.page-quotes .itinerary-core-grid .itinerary-main-text { min-height:220px; background:#fff; border:1px solid #e0e6f0; border-radius:8px; padding:16px; color:#253858; font-size:14px; line-height:1.9; box-shadow:none; overflow-wrap:anywhere; }
.page-quotes .itinerary-core-grid .itinerary-main-text:focus { outline:0; border-color:#899ff0; box-shadow:0 0 0 3px #5268d412; }
.page-quotes .itinerary-attraction-editor { background:#f8fafd; border-color:#e2e8f1; border-radius:8px; box-shadow:none; }
.page-quotes .itinerary-attraction-chip { color:#5268d4; background:#eef2fa; border-color:#dfe6f3; border-radius:6px; }
.page-quotes .itinerary-attractions-heading-actions small { color:#8390a5; font-weight:500; }
.page-quotes .itinerary-content-heading-actions { flex-wrap:wrap; gap:5px; }
.page-quotes .itinerary-resource-section { background:#f8fafd; }
.page-quotes .itinerary-resource-section .itinerary-transport-card,
.page-quotes .itinerary-resource-section .itinerary-hotel-card { background:#fff; border:1px solid #e2e8f1; border-radius:9px; box-shadow:none; }
.page-quotes .itinerary-transport-card-head,
.page-quotes .itinerary-hotel-card-head { background:#fff; padding:14px; border-color:#e7ecf4; }
.page-quotes .itinerary-transport-card-toggle strong,
.page-quotes .itinerary-hotel-card-toggle strong { color:#253858; font-size:13px; }
.page-quotes .itinerary-transport-card-toggle small,
.page-quotes .itinerary-hotel-card-toggle small { color:#8390a5; line-height:1.6; white-space:normal; overflow-wrap:anywhere; }
.page-quotes .itinerary-transport-card-toggle .ui-icon,
.page-quotes .itinerary-hotel-card-toggle .ui-icon { color:#788cad; }
.page-quotes .itinerary-resource-quick-grid label { color:#74839a; font-size:12px; font-weight:600; }
.page-quotes .itinerary-resource-quick-grid label>.ui-icon { color:#788cad; }
.page-quotes .itinerary-resource-quick-grid textarea { min-height:76px; font-size:13px; line-height:1.7; }
.page-quotes .itinerary-more-section { background:#f8fafd; border-color:#e2e8f1; border-radius:10px; box-shadow:none; }
.page-quotes .itinerary-more-section>summary { padding:16px 18px; color:#788cad; }
.page-quotes .itinerary-more-section>summary strong { color:#253858; font-size:14px; }
.page-quotes .itinerary-more-section>summary small { color:#8390a5; font-weight:500; }
.page-quotes .itinerary-more-grid { background:#fff; padding:0 18px 18px; border-color:#e7ecf4; }
.page-quotes .itinerary-guide-notes { background:#fffcf7; border:1px solid #efe5d5; border-radius:10px; box-shadow:none; padding:18px; }
.page-quotes .itinerary-guide-notes .itinerary-section-heading { border-color:#efe5d5; }
.page-quotes .itinerary-guide-notes .itinerary-section-icon { background:#fff0d8; color:#a06f2d; }
.page-quotes .itinerary-guide-notes .itinerary-section-heading strong { color:#8f6b38; }
.page-quotes .itinerary-guide-notes .itinerary-section-heading small { color:#9b875f; }
.page-quotes .itinerary-guide-badge { background:#fff0d8; color:#a06f2d; font-size:10px; font-weight:600; }
.page-quotes .quoteedit .itinerary-guide-notes-input { background:#fff; border-color:#e8dfcd; font-size:13px; line-height:1.8; }
@media(max-width:1120px){
 .page-quotes .itinerary-editor-section { padding:16px; }
 .page-quotes .itinerary-core-grid { grid-template-columns:minmax(0,1fr); }
 .page-quotes .itinerary-resource-quick-grid { grid-template-columns:minmax(0,1fr); }
 .page-quotes .itinerary-section-heading { align-items:flex-start; flex-wrap:wrap; }
}
@media(max-width:1250px){
 .page-quotes .quote-financial-strip { grid-template-columns:repeat(2,minmax(0,1fr))!important; }
 .page-quotes .quote-cost-summarybar { grid-template-columns:minmax(0,1fr); }
 .page-quotes .quote-cost-metrics>span:first-child { border-left:0; padding-left:0; }
 .page-quotes .quote-cost-primary-actions { justify-content:flex-start; }
 .page-quotes .quote-export-layout { grid-template-columns:minmax(0,1fr); }
 .page-quotes .quote-export-documents .pdf-export-group-grid { grid-template-columns:minmax(0,1fr); }
}

/* Hidden attraction storage must not inherit full-width form styling. */
.page-quotes .quoteedit .itinerary-attractions-source { display:none; }

/* Cost entry: original currencies, calm resource rows and aligned editors. */
/* Quote terms keep templates close to the text and separate departure material. */
/* Pricing follows currency, sales, commission and cost review. */
/* Export destinations use consistent cards; Word gets its own action row. */
.page-quotes .quote-export-layout { grid-template-columns:minmax(0,1fr) minmax(280px,330px); gap:20px; align-items:start; }
.page-quotes .quote-export-layout-single { grid-template-columns:minmax(0,1fr); }
.page-quotes .quote-export-documents>.quote-form-card-head,
.page-quotes .quote-tax-card>.quote-form-card-head { margin:-20px -20px 18px; padding:18px 20px; background:#f8fafd; border-bottom:1px solid #e7ecf4; border-radius:12px 12px 0 0; }
.page-quotes .quote-form-card-head h3 { font-size:16px; }
.page-quotes .document-language-selector { flex-wrap:wrap; min-width:0; gap:4px; padding:5px; }
.page-quotes .document-language-selector>span { color:#78869a; font-size:11px; }
.page-quotes .document-language-selector button { padding:7px 9px; font-size:12px; }
.page-quotes .document-language-selector button.active { color:#5268d4; background:#fff; border-radius:6px; }
.page-quotes .quote-export-documents .pdf-export-group { padding:0; overflow:hidden; }
.page-quotes .quote-export-documents .pdf-export-group-head { margin:0; padding:14px 16px; border-bottom:1px solid #e7ecf4; background:#f8fafd; }
.page-quotes .quote-export-documents .pdf-export-group-grid { padding:14px; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.page-quotes .quote-export-documents .pdf-card-shell { display:grid; grid-template-rows:1fr auto; border:1px solid #e2e8f1; border-radius:8px; background:#fff; overflow:hidden; }
.page-quotes .quote-export-documents .pdf-card-shell:hover { border-color:#bfcbef; }
.page-quotes .quote-export-documents .pdf-card { border:0; border-radius:0; padding:14px; min-height:96px; height:auto; align-items:start; }
.page-quotes .quote-export-documents .has-word-export .pdf-card { padding-right:14px; }
.page-quotes .quote-export-documents .pdf-card-copy { min-width:0; gap:6px; }
.page-quotes .quote-export-documents .pdf-card strong { font-weight:650; line-height:1.6; }
.page-quotes .quote-export-documents .pdf-card small { line-height:1.7; }
.page-quotes .quote-export-documents .pdf-card em { align-self:start; padding:4px 6px; }
.page-quotes .quote-export-documents .pdf-word-button { position:static; justify-self:end; margin:0 14px 12px; padding:7px 10px; color:#5268d4; border-color:#e0e6f0; border-radius:6px; background:#f8fafd; font-weight:600; box-shadow:none; }
.page-quotes .quote-export-documents .pdf-export-group-internal .pdf-export-group-head { background:#fff9ef; border-color:#efe5d5; }
.page-quotes .quote-export-documents .pdf-export-group-internal .pdf-export-group-icon { background:#fff0d8; color:#a06f2d; }
.page-quotes .quote-tax-card { gap:0; }
.page-quotes .quote-invoice-hero { padding:20px 16px; min-height:0; gap:16px; background:#fff; border:0; justify-items:stretch; }
.page-quotes .quote-invoice-illustration { width:48px; height:48px; border-radius:10px; }
.page-quotes .quote-invoice-illustration .lucide { width:26px; height:26px; }
.page-quotes .quote-invoice-main { font-size:13px; min-height:44px; white-space:normal; line-height:1.6; text-align:left; justify-content:space-between; }
.page-quotes .quote-invoice-hero small { text-align:left; font-size:11px; line-height:1.7; color:#8390a5; }
.page-quotes .quote-invoice-about { margin-top:12px; padding:14px; }
.page-quotes .quote-invoice-about strong { color:#52627a; font-size:12px; }
.page-quotes .quote-invoice-about p { color:#8390a5; line-height:1.7; }
.page-quotes .export-footnote { align-items:flex-start; line-height:1.7; }
@media(max-width:1250px){
 .page-quotes .quote-export-layout { grid-template-columns:minmax(0,1fr); }
 .page-quotes .quote-export-documents .pdf-export-group-grid { grid-template-columns:minmax(0,1fr); }
}
.page-quotes .quote-pricing-section-title { gap:14px; flex-wrap:wrap; padding-bottom:18px; margin-bottom:20px; border-bottom:1px solid #e7ecf4; }
.page-quotes .quote-pricing-panel .pricing-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; align-items:start; }
.page-quotes .quote-pricing-panel .pricing-card { background:#fff; padding:18px; overflow:hidden; }
.page-quotes .quote-pricing-panel .pricing-card>h4 { padding:14px 18px; margin:-18px -18px 18px; background:#f8fafd; border-bottom:1px solid #e7ecf4; font-size:14px; font-weight:650; }
.page-quotes .quote-pricing-panel .compact-controls { gap:16px; align-items:start; }
.page-quotes .quote-pricing-panel .compact-controls>label { min-width:0; color:#74839a; font-size:12px; line-height:1.6; }
.page-quotes .pricing-cost-category-card .row { padding:10px 0; border-bottom:1px solid #edf1f6; gap:14px; }
.page-quotes .pricing-cost-category-card .row:last-child { border-bottom:0; }
.page-quotes .pricing-cost-category-card .row>span { color:#78869a; font-size:12px; }
.page-quotes .pricing-cost-category-card .row>strong { color:#253858; font-size:13px; font-weight:650; text-align:right; overflow-wrap:anywhere; font-variant-numeric:tabular-nums; }
.page-quotes .quote-price-components-editor { margin-top:22px; padding:18px; background:#f8fafd; border:1px solid #e2e8f1; border-radius:10px; }
.page-quotes .quote-price-components-head { flex-wrap:wrap; gap:12px; padding-bottom:16px; margin-bottom:16px; border-bottom:1px solid #e7ecf4; }
.page-quotes .quote-price-components-head h4 { color:#253858; font-size:15px; font-weight:650; }
.page-quotes .quote-price-components-head p { color:#8390a5; line-height:1.7; }
.page-quotes .quote-price-components-head-actions { flex-wrap:wrap; }
.page-quotes .quote-price-components-hint { color:#78869a; white-space:normal; font-weight:500; }
.page-quotes .quote-price-component-editor-row { border-color:#e2e8f1; border-radius:8px; padding:14px; }
.page-quotes .quote-price-component-editor-row-head { flex-wrap:wrap; }
.page-quotes .quote-price-component-editor-row-head strong { color:#52627a; font-weight:650; }
.page-quotes .quote-price-component-row-status { color:#8390a5; white-space:normal; }
.page-quotes .quote-price-components-actions { flex-wrap:wrap; gap:12px; }
.page-quotes .quote-price-components-actions>span { color:#8390a5; font-size:11px; }
.page-quotes .quote-price-components-total { background:#fff; border-color:#e2e8f1; border-radius:8px; flex-wrap:wrap; gap:10px; padding:14px; }
.page-quotes .quote-price-components-total strong { color:#172b4d; font-size:20px; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
.page-quotes .quote-pricing-review .row { padding:12px 0; }
.page-quotes .quote-pricing-review .row>strong { text-align:right; }
@media(max-width:1250px){
 .page-quotes .quote-pricing-panel .pricing-grid,.page-quotes .quote-price-components-fields { grid-template-columns:minmax(0,1fr); }
}
.page-quotes .quote-terms-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.page-quotes .quote-term-card { padding:0; border-color:#e2e8f1; border-radius:10px; background:#fff; }
.page-quotes .quote-term-card:last-child { grid-column:1/-1; }
.page-quotes .quote-term-card-head { padding:14px 18px; margin:0; background:#f8fafd; border-bottom:1px solid #e7ecf4; gap:10px; }
.page-quotes .quote-term-card-head h4 { color:#253858; font-size:14px; font-weight:650; white-space:normal; }
.page-quotes .quote-term-template { flex:0 1 auto; }
.page-quotes .quote-term-template .template-picker-trigger { min-width:0; width:auto; max-width:100%; min-height:32px; padding:6px 10px; color:#5268d4; font-size:12px; background:#fff; border-color:#e0e6f0; box-shadow:none; }
.page-quotes .quote-term-template .template-picker-trigger span { background:#eef2fa; color:#637daf; font-size:10px; font-weight:600; height:20px; min-width:20px; }
.page-quotes .quote-term-textbox { padding:16px 18px; }
.page-quotes .quote-term-textbox textarea { min-height:180px; padding:12px 14px 30px; border-radius:8px; font-size:13px; line-height:1.85; overflow-wrap:anywhere; }
.page-quotes .quote-term-textbox>span { right:30px; bottom:28px; color:#8390a5; font-size:11px; font-weight:500; }
.page-quotes .quote-terms-validity { padding:16px 18px; margin-top:18px; background:#f8fafd; border:1px solid #e2e8f1; border-radius:9px; }
.page-quotes .quote-terms-validity label { color:#74839a; font-size:12px; }
.page-quotes .quote-terms-validity input { max-width:260px; background:#fff; }
.page-quotes .departure-notice-panel .quote-terms-hero { background:#f5f8fc; }
.page-quotes .charter-notice-template-toolbar { flex-wrap:wrap; padding:16px 18px; gap:14px; }
.page-quotes .charter-notice-template-copy { flex:1 1 280px; }
.page-quotes .charter-notice-template-copy strong { color:#52627a; font-size:13px; font-weight:650; }
.page-quotes .charter-notice-template-copy span { color:#8390a5; font-size:12px; }
.page-quotes .charter-notice-template-toolbar .actions { flex-wrap:wrap; }
.page-quotes .departure-notice-fields { grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.page-quotes .departure-notice-fields>label { min-width:0; padding:16px 18px; background:#fff; border:1px solid #e2e8f1; border-radius:10px; font-size:12px; color:#74839a; }
.page-quotes .departure-notice-fields>label.wide { grid-column:auto; }
.page-quotes .departure-notice-fields>label:first-child { grid-column:1/-1; }
.page-quotes .departure-notice-fields>label:first-child input { max-width:480px; }
.page-quotes .departure-notice-fields>label:last-child { grid-column:1/-1; }
.page-quotes .departure-notice-fields textarea { min-height:150px; font-size:13px; line-height:1.85; }
@media(max-width:1250px){
 .page-quotes .quote-terms-grid,.page-quotes .departure-notice-fields { grid-template-columns:minmax(0,1fr); }
 .page-quotes .quote-term-card-head { align-items:center; }
}
.page-quotes .quote-cost-original-totals { display:flex; align-items:baseline; flex-wrap:wrap; gap:10px 20px; padding:14px 18px; border-bottom:1px solid #e7ecf4; background:#fff; }
.page-quotes .quote-cost-original-totals>span { color:#78869a; font-size:12px; }
.page-quotes .quote-cost-original-totals>div { display:flex; flex-wrap:wrap; gap:8px 24px; min-width:0; }
.page-quotes .quote-cost-original-totals strong { color:#253858; font-size:14px; font-weight:650; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
.page-quotes .quote-cost-list-panel>.quote-cost-summarybar,
.page-quotes .quote-cost-list-panel>.quote-cost-original-totals,
.page-quotes .quote-cost-list-panel>.quote-cost-table-toolbar,
.page-quotes .quote-cost-list-panel>.quote-cost-currency-settings { flex-shrink:0; }
.page-quotes .quote-cost-table-head,
.page-quotes .quote-cost-table .costrow-summary { min-width:760px; grid-template-columns:78px 68px minmax(180px,1fr) 128px 104px 116px 64px; gap:10px; box-sizing:border-box; }
.page-quotes .quote-cost-metrics>span { border-left:1px solid #e2e8f1; }
.page-quotes .quote-cost-metrics>span:first-child { border-left:0; }
.page-quotes .quote-cost-metrics small { color:#78869a; font-size:11px; }
.page-quotes .cost-day-accordion-list { gap:0; padding:0; }
.page-quotes .cost-day-accordion-item { border:0; border-bottom:1px solid #e7ecf4; border-radius:0; background:#fff; }
.page-quotes .cost-day-accordion-item.active { background:#f0f3fd; border-color:#e7ecf4; box-shadow:inset 3px 0 #5268d4; }
.page-quotes .cost-day-accordion-trigger { padding:16px; }
.page-quotes .cost-day-accordion-trigger .cost-day-tab-title { white-space:normal; overflow-wrap:anywhere; color:#253858; font-weight:650; }
.page-quotes .cost-day-accordion-detail { border-color:#e2e8f1; margin:0 16px 16px; }
.page-quotes .cost-day-brief-field { padding:10px; border-bottom:1px solid #edf1f6; }
.page-quotes .cost-day-brief-field i { color:#788cad; }
.page-quotes .quote-cost-table-head>span:nth-last-child(2) { text-align:right; }
.page-quotes .quote-cost-table .cost-pricing-detail { white-space:normal; overflow-wrap:anywhere; line-height:1.6; }
.page-quotes .quote-cost-table .cost-item-main span { color:#8390a5; line-height:1.6; }
.page-quotes .quote-cost-table .cost-type { background:#eef2fa; color:#637daf; font-weight:600; }
.page-quotes .quote-cost-table .cost-component.is-unassigned { color:#a06f2d; font-weight:600; }
.page-quotes .cost-entry-heading { background:#f8fafd; border-color:#e7ecf4; padding:16px 18px; flex-wrap:wrap; }
.page-quotes .cost-entry-heading-toggle { flex-wrap:wrap; }
.page-quotes .cost-entry-heading-copy { flex:1 1 160px; }
.page-quotes .cost-entry-heading-copy strong { white-space:normal; overflow-wrap:anywhere; line-height:1.6; color:#253858; font-weight:650; }
.page-quotes .cost-entry-heading-icon { background:#eef2fa; border:0; color:#788cad; border-radius:7px; }
.page-quotes .cost-entry-subtotal strong { color:#172b4d; font-size:18px; font-weight:700; white-space:normal; overflow-wrap:anywhere; }
.page-quotes .cost-entry-body { background:#fff; padding:18px; gap:16px; }
.page-quotes .cost-entry-body label { color:#74839a; font-size:12px; }
.page-quotes .cost-advanced-settings { background:#f8fafd; border-color:#e2e8f1; border-radius:9px; box-shadow:none; }
.page-quotes .cost-advanced-heading strong { color:#253858; font-weight:650; }
.page-quotes .cost-setting-chips { flex-wrap:wrap; }
.page-quotes .cost-setting-chips>span { font-weight:500; background:#eef2fa; color:#637daf; border-color:#e2e8f1; }
.page-quotes .cost-library-picker .library-picker-actions .btn { box-shadow:none; }
.page-quotes .hotel-cost-room-details { background:#f8fafd; border-color:#e2e8f1; border-radius:9px; }
.page-quotes .hotel-cost-room-line { border-color:#e2e8f1; border-radius:7px; }
@media(max-width:1250px){
 .page-quotes .cost-primary-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .page-quotes .cost-primary-grid>label,.page-quotes .cost-primary-grid>.cost-library-picker { grid-column:span 1; }
 .page-quotes .cost-entry-subtotal { margin-left:0; }
}

}

/* Desktop quote columns scroll independently, including the compact desktop breakpoint. */
@media(min-width:821px){
 body:has(main.page-quotes){overflow:hidden;}
 .app:has(>main.page-quotes){height:var(--app-viewport-height);min-height:0;overflow:hidden;}
 main.page-quotes{display:flex;min-height:0;overflow:hidden;}
 main.page-quotes>.quotes{flex:1 1 auto;height:100%;min-height:0;overflow:hidden;}
 .page-quotes .quote-list-panel{height:100%;max-height:100%;min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior-y:contain;}
 .page-quotes .quoteedit{height:100%;min-height:0;overflow:hidden;grid-template-rows:minmax(0,1fr);}
 .page-quotes .quoteedit>div:first-child{height:100%;max-height:100%;min-height:0;overflow-y:auto;overscroll-behavior-y:contain;}
 .page-quotes .quote-side{max-height:100%;min-height:0;overflow-y:auto;}
}
@media(min-width:821px) and (max-width:1280px){
 .page-quotes .quoteedit.quoteedit-finance{overflow-y:auto;grid-template-rows:auto auto;align-content:start;}
 .page-quotes .quoteedit.quoteedit-finance>div:first-child,.page-quotes .quoteedit.quoteedit-finance .quote-side{height:auto;max-height:none;overflow:visible;}
}

/* Cost entry grows with its content instead of trapping editors in a short table. */
@media(min-width:821px){
 .page-quotes .quoteedit-costs>div:first-child{grid-template-rows:auto auto auto;align-content:start;}
 .page-quotes .quoteedit-costs .quote-step-pane.active,.page-quotes .quoteedit-costs .quote-costs-layout{height:auto;min-height:0;}
 .page-quotes .quoteedit-costs .quote-costs-layout{grid-template-columns:clamp(210px,20vw,260px) minmax(0,1fr);align-items:start;}
 .page-quotes .quoteedit-costs .quote-cost-workbench-card{position:sticky;top:64px;height:auto;min-height:0;max-height:calc(var(--app-viewport-height) - 110px);}
 .page-quotes .quoteedit-costs .cost-itinerary-context{height:auto;max-height:inherit;}
 .page-quotes .quoteedit-costs .cost-day-accordion-list{min-height:0;overflow-y:auto;}
 .page-quotes .quoteedit-costs .quote-cost-list-panel{height:auto;min-height:0;max-height:none;overflow:visible;}
 .page-quotes .quoteedit-costs .quote-cost-table{flex:none;height:auto;min-height:0;max-height:none;overflow:auto;}
 .page-quotes .quoteedit-costs .quote-financial-metric{min-height:76px;padding:12px 16px;gap:6px;}
 .page-quotes .quoteedit-costs .quote-financial-metric>strong{font-size:clamp(18px,9cqw,24px);}
 .page-quotes .quoteedit-costs .quote-cost-summarybar{padding:12px;}
}
@media(min-width:821px){
 .page-quotes .quoteedit-costs .quote-cost-list-panel{container:cost-list-space / inline-size;}
}
@container cost-list-space (max-width:760px){
 .page-quotes .quote-cost-table-head,.page-quotes .quote-cost-table .costrow-summary{min-width:0;grid-template-columns:46px 72px minmax(0,1fr) 100px 74px 92px 42px;gap:4px;padding-left:8px;padding-right:8px;}
 .page-quotes .quote-cost-table .cost-date,.page-quotes .quote-cost-table .cost-type,.page-quotes .quote-cost-table .cost-component,.page-quotes .quote-cost-table .cost-pricing-detail{font-size:11px;}
 .page-quotes .quote-cost-table .cost-amount{font-size:12px;}
}

/* Reserve the day/date column only as much width as its compact labels need. */
@media(min-width:821px){
 .page-quotes .cost-day-accordion-trigger{grid-template-columns:64px minmax(0,1fr) 14px;gap:6px;padding:12px 10px;align-items:start;}
 .page-quotes .cost-day-accordion-trigger .cost-day-tab-meta{min-width:0;gap:2px;}
 .page-quotes .cost-day-accordion-trigger .cost-day-tab-meta strong{font-size:12px;line-height:1.4;}
 .page-quotes .cost-day-accordion-trigger .cost-day-tab-meta small{font-size:10px;line-height:1.4;white-space:nowrap;}
 .page-quotes .cost-day-accordion-trigger .cost-day-tab-title{line-height:1.6;}
 .page-quotes .cost-day-accordion-trigger>.ui-icon{width:14px;height:14px;align-self:center;}
}

/* Translated labels must stay within their own cost-table columns. */
@media(min-width:821px){
 .page-quotes .quote-cost-table .cost-type{display:block;max-width:100%;white-space:normal;overflow-wrap:anywhere;line-height:1.4;}
 .page-quotes .quote-cost-table-head>span,.page-quotes .quote-cost-table .cost-date,.page-quotes .quote-cost-table .cost-component{max-width:100%;white-space:normal;overflow-wrap:anywhere;line-height:1.4;}
 .page-quotes .quote-cost-table .cost-pricing-detail{white-space:normal;overflow-wrap:anywhere;line-height:1.5;}
}
@container cost-list-space (max-width:760px){
 .page-quotes .quote-cost-table-head>span:last-child{font-size:10px;white-space:nowrap;}
}

.page-quotes .pill.status-sent{background:#eaf2ff;color:#245fc5}
.page-quotes .pill.status-confirmed{background:#e9f7ef;color:#18794e}
