.sales-list{padding:0;overflow:hidden}.sales-list-toolbar{display:flex;align-items:center;gap:12px;padding:16px;border-bottom:1px solid #e5ecf6}.sales-list-toolbar>.searchable-list{width:190px;flex:0 0 190px}.sales-list-toolbar .global-search{width:360px}.sales-pagination{display:flex;align-items:center;gap:10px;margin-left:auto;white-space:nowrap;font-size:12px}.sales-pagination button{padding:7px 11px;border:1px solid #dce6f4;border-radius:6px}.sales-table-wrap{overflow:auto}.sales-table{width:100%;font-size:12px;white-space:nowrap}.sales-table th{padding:14px 12px;color:#536784;background:#f6f9fd}.sales-table td{padding:14px 12px;border-bottom:1px solid #e5ecf6}.sales-table tr[data-sale]{cursor:pointer}.sales-table tr[data-sale]:hover{background:#edf5ff}.sales-seller{display:flex;align-items:center;gap:7px}.sales-seller .avatar{width:28px;height:28px;font-size:10px}.sales-empty{text-align:center;padding:40px!important}.sales-detail .modal-body{overflow:auto}.sales-steps{display:flex;gap:0;margin-bottom:18px}.sales-steps span{padding:9px 17px;background:#edf2fa;font-size:12px}.sales-steps .active{background:#2878ff;color:white}.sales-origin{color:#7c8ba7;font-size:12px}.sales-detail-meta{display:grid;grid-template-columns:repeat(2,1fr);gap:18px;margin:20px 0}.sales-detail small{display:block;color:#7c8ba7;margin-bottom:6px}.sales-order-progress{display:flex;gap:40px;padding:14px;border:1px solid #dce6f4;border-radius:8px;margin:18px 0}.sales-lines{width:100%;font-size:12px}.sales-lines th,.sales-lines td{padding:10px;text-align:left;border-bottom:1px solid #e5ecf6}.sales-totals{display:flex;flex-direction:column;gap:10px;align-items:flex-end;margin:20px 0}.sales-totals span{display:flex;justify-content:space-between;gap:25px;width:260px}.sales-file-links{display:flex;gap:18px;padding:15px 0}.sales-conditions{font-size:12px}.sales-detail .modal-footer{flex-wrap:wrap}.currency-row{display:grid;grid-template-columns:90px 110px 1fr 100px;align-items:end;gap:14px;margin-bottom:18px}#sales-error,#sales-settings-error{color:#bd3c52}#theme-toggle{font-size:22px;width:32px;height:32px}
html[data-theme=dark]{color-scheme:dark;--muted:#a1adc2;--line:#3b4658;background:#161d2a;color:#e1e8f4}html[data-theme=dark] body{background:#161d2a;color:#e1e8f4}html[data-theme=dark] .main,html[data-theme=dark] main{background:transparent}html[data-theme=dark] header,html[data-theme=dark] .card,html[data-theme=dark] dialog,html[data-theme=dark] .module-card,html[data-theme=dark] .meeting-card,html[data-theme=dark] .guest-card{background:#222c3d;color:#e1e8f4;border-color:#3b4658}html[data-theme=dark] h1,html[data-theme=dark] h2,html[data-theme=dark] h3,html[data-theme=dark] .page-heading h1,html[data-theme=dark] .user-caption strong,html[data-theme=dark] .field{color:#e1e8f4}html[data-theme=dark] input,html[data-theme=dark] textarea,html[data-theme=dark] select,html[data-theme=dark] .list-trigger,html[data-theme=dark] .list-popover,html[data-theme=dark] .global-search,html[data-theme=dark] .account-menu{background:#182233;color:#e1e8f4;border-color:#3b4658}html[data-theme=dark] .list-option:hover,html[data-theme=dark] .sales-table tr[data-sale]:hover{background:#31425e}html[data-theme=dark] .sales-table th,html[data-theme=dark] .sales-steps span,html[data-theme=dark] .notice{background:#29364b;color:#c3d1e7}html[data-theme=dark] .sales-table td,html[data-theme=dark] .sales-lines td,html[data-theme=dark] .modal-heading,html[data-theme=dark] .modal-footer{border-color:#3b4658}html[data-theme=dark] .sales-steps .active{background:#2878ff;color:white}html[data-theme=dark] .secondary{color:#c2d4ef;border-color:#465674}html[data-theme=dark] .meet-hero{background:#25334d;border-color:#3b4658}html[data-theme=dark] .meet-hero h2{color:#e1e8f4}html[data-theme=dark] .modal-footer{background:#222c3d}
@media(max-width:700px){.sales-list-toolbar{flex-wrap:wrap}.sales-list-toolbar .global-search{width:100%}.sales-pagination{margin-left:0}.currency-row{grid-template-columns:1fr 1fr}.sales-detail-meta{grid-template-columns:1fr}.sales-order-progress{gap:15px}}
 .sales-detail{display:flex;flex-direction:column;max-height:calc(100dvh - 60px)}.sales-detail .modal-body{min-height:0;flex:1}.sales-detail .modal-heading,.sales-detail .modal-footer{flex-shrink:0}
html[data-theme=dark] .metrics article,html[data-theme=dark] .module-tile{background:#222c3d;color:#e1e8f4;border-color:#3b4658}html[data-theme=dark] .metrics strong,html[data-theme=dark] .module-tile h3{color:#e1e8f4}html[data-theme=dark] table th{background:#29364b;color:#c3d1e7}html[data-theme=dark] table td{border-color:#3b4658}html[data-theme=dark] .calendar-day{background:#222c3d;border-color:#3b4658}
.service-documents{width:min(600px,calc(100vw - 30px));max-height:90dvh;padding:0;border:1px solid var(--line);border-radius:14px}.service-documents .modal-body{display:grid;gap:18px;overflow:auto}.service-documents #service-error{color:#bd3c52}
html[data-theme=dark] .modal-heading{background:#222c3d;color:#e1e8f4}
html[data-theme=dark] .secondary{background:#29364b;color:#c2d4ef}html[data-theme=dark] .secondary:hover{background:#31425e}#editor:has(.sales-detail){overflow:hidden;max-height:calc(100dvh - 30px)}.sales-detail .notice{display:block}.sales-detail .notice p{color:inherit;margin:9px 0}.sales-detail .notice button{margin-top:4px}
/* Dark surfaces share a neutral palette; accent colors remain for actions and status. */
html[data-theme=dark]{--muted:#a9b5c7;--line:#354154;background:#141a23;color:#e8edf5}
html[data-theme=dark] body{background:#141a23;color:#e8edf5}
html[data-theme=dark] header,html[data-theme=dark] .card,html[data-theme=dark] dialog,html[data-theme=dark] .modal-heading,html[data-theme=dark] .modal-footer,html[data-theme=dark] .metrics article,html[data-theme=dark] .module-tile,html[data-theme=dark] .meeting-card{background:#202938;border-color:#354154;color:#e8edf5}
html[data-theme=dark] p,html[data-theme=dark] .card p,html[data-theme=dark] small,html[data-theme=dark] .form-hint{color:#a9b5c7}
html[data-theme=dark] .profile-button,html[data-theme=dark] .profile-button:hover,html[data-theme=dark] .profile-button[aria-expanded=true]{background:#293548;border-color:#40516a;color:#e8edf5}
html[data-theme=dark] .user-caption strong,html[data-theme=dark] .account-menu-heading strong,html[data-theme=dark] .account-menu button{color:#e8edf5}
html[data-theme=dark] .account-menu{background:#202938;border-color:#40516a;box-shadow:0 14px 36px #0006}
html[data-theme=dark] .account-menu-heading{border-color:#354154}
html[data-theme=dark] .account-menu-heading small,html[data-theme=dark] .account-menu button span small,html[data-theme=dark] .user-caption small{color:#b1bed1}
html[data-theme=dark] .account-menu button{background:transparent}
html[data-theme=dark] .account-menu button:hover,html[data-theme=dark] .account-menu button:focus-visible{background:#30415b}
html[data-theme=dark] #totals{background:#182131;border:1px solid #40516a;color:#aebdd2}
html[data-theme=dark] #totals b{color:#f0f5fc}
html[data-theme=dark] .list-option{background:#182233;color:#dce6f5}
html[data-theme=dark] .list-option:hover,html[data-theme=dark] .list-option:focus-visible,html[data-theme=dark] .list-option[aria-selected=true]{background:#30415b;color:#fff}
html[data-theme=dark] .environment-label,html[data-theme=dark] .identity-flow span{background:#293548;color:#bcd5ff}
html[data-theme=dark] .badge{background:#334155;color:#d4e0f1}
html[data-theme=dark] .badge.green{background:#173e35;color:#8ce0be}
html[data-theme=dark] .badge.amber{background:#45371f;color:#f3cd85}
html[data-theme=dark] .badge.red{background:#492734;color:#ffa8ba}
html[data-theme=dark] input::placeholder,html[data-theme=dark] textarea::placeholder{color:#94a3b8}
html[data-theme=dark] .icon-button{color:#b2c5e0}
.quote-sponsors{padding:18px;border:1px solid var(--border,#dce7f5);border-radius:12px;margin:16px 0}.sponsor-filter{width:100%;padding:10px;border:1px solid #dce7f5;border-radius:8px}.sponsor-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;margin-top:12px}.sponsor-option{display:flex;align-items:center;gap:10px;padding:12px;border:1px solid #dce7f5;border-radius:8px}.sponsor-option small{display:block;margin-top:4px}.sponsor-option[hidden]{display:none}.ocr-rule{display:grid;grid-template-columns:1fr 1fr 1.2fr auto;gap:12px;align-items:end;margin:16px 0}#ocr-text{width:100%;margin-top:12px}html[data-theme=dark] .sponsor-row,html[data-theme=dark] .quote-sponsors{background:#182233;border-color:#40516a}html[data-theme=dark] .sponsor-option{background:#202938;border-color:#40516a}html[data-theme=dark] .sponsor-filter{background:#182233;color:#edf3fc;border-color:#40516a}@media(max-width:700px){.ocr-rule{grid-template-columns:1fr}.sponsor-options{grid-template-columns:1fr}}
.order-review-dialog{width:min(1050px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:0;border:1px solid #dce7f5;border-radius:16px}.order-review-dialog form{display:flex;flex-direction:column;max-height:calc(100dvh - 26px)}.order-review-dialog .modal-body{overflow:auto;min-height:0}.review-read{display:flex;align-items:center;gap:15px;justify-content:space-between}.review-fields{margin:20px 0}.review-comparison{margin:20px 0}.review-table-wrap{overflow:auto}.review-table{width:100%;border-collapse:collapse;font-size:12px}.review-table th,.review-table td{padding:10px;text-align:left;border-bottom:1px solid #dce7f5}.review-different{background:#fff4e6;color:#89510b}.review-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:15px}.review-summary small,.review-summary strong{display:block;white-space:pre-wrap}.review-warning{color:#9c5a16}.ocr-template{padding:18px;border:1px solid #dce7f5;border-radius:12px;margin:16px 0}.ocr-template summary{font-weight:600;cursor:pointer;margin-bottom:15px}#review-accept{padding:15px;border:1px solid #e8c78d;border-radius:10px;margin:15px 0}#review-text{width:100%;margin-top:12px}html[data-theme=dark] .order-review-dialog{background:#202938;color:#edf3fc;border-color:#40516a}html[data-theme=dark] .review-different{background:#45371f;color:#f3cd85}html[data-theme=dark] .ocr-template,html[data-theme=dark] .review-table th,html[data-theme=dark] .review-table td{border-color:#40516a}html[data-theme=dark] .review-warning{color:#f3cd85}@media(max-width:650px){.review-read{align-items:start;flex-direction:column}.review-table{min-width:500px}}
.company-logo-preview{background:#fff;border:1px solid #dbe5f2;border-radius:12px;padding:18px;margin:16px 0;max-width:300px}.company-logo-preview img{display:block;max-width:100%;max-height:130px;object-fit:contain}#company-settings-form button.primary{margin-top:12px}#company-error{color:#ef4444}

.quote-sponsor-card{padding:16px;background:var(--surface,#f5f8fc);border:1px solid var(--border,#dce7f5);border-radius:10px;margin-top:12px}.quote-sponsor-card dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 24px;margin:0}.quote-sponsor-card dt{font-size:12px;color:var(--muted,#64748b);margin-bottom:5px}.quote-sponsor-card dd{margin:0;font-size:14px;font-weight:600;overflow-wrap:anywhere;color:var(--text,#173456)}html[data-theme=dark] .quote-sponsor-card{background:#202e40;border-color:#40516a}html[data-theme=dark] .quote-sponsor-card dt{color:#aebed2}html[data-theme=dark] .quote-sponsor-card dd{color:#e6edf7}@media(max-width:650px){.quote-sponsor-card dl{grid-template-columns:repeat(2,minmax(0,1fr))}}
