:root{color:#172033;font-synthesis:none;--primary:#243b80;--primary-hover:#1d326e;--primary-contrast:#fff;--border:#d8dee8;--border-strong:#c6cfdd;--app-bg:#eef2f8;--app-bg-deep:#dfe7f3;--sidebar-bg:#fff;--topbar-bg:#ffffffd1;--surface:#fff;--surface-raised:#fff;--surface-soft:#f8fafc;--surface-muted:#eef2f7;--input-bg:#fff;--text:#172033;--text-muted:#647085;--text-soft:#7a8496;--shadow-soft:0 10px 30px #1a2c4b13;--shadow-panel:0 18px 45px #1a2c4b1a;--danger:#b42318;background:#eef2f8;font-family:Tahoma,Arial,sans-serif}:root[data-theme=dark]{color:#ececec;--primary:#168fe4;--primary-hover:#2da6f5;--primary-contrast:#f7fbff;--border:#3d3d3d;--border-strong:#565656;--app-bg:#181818;--app-bg-deep:#202020;--sidebar-bg:#171717;--topbar-bg:#202020f5;--surface:#212121;--surface-raised:#292929;--surface-soft:#252525;--surface-muted:#303030;--input-bg:#191919;--text:#ececec;--text-muted:#bcbcbc;--text-soft:#aaa;--shadow-soft:0 12px 32px #0000003d;--shadow-panel:0 22px 55px #00000057;--danger:#ff7b72;background:#181818}*{box-sizing:border-box}html,body,#root{min-height:100%}body{color:var(--text);background:radial-gradient(circle at 8% 3%, #118be82e, transparent 27rem), linear-gradient(145deg, var(--app-bg) 0%, var(--app-bg) 58%, color-mix(in srgb, var(--app-bg-deep) 48%, var(--app-bg)) 100%);direction:rtl;background-attachment:fixed;margin:0;overflow-x:hidden}button,input,select,textarea{font:inherit}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline-offset:2px;outline:3px solid #4667d92e}.shell{width:100%;max-width:1480px;margin:auto;padding:24px 24px 56px}.hero{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-soft);border-radius:20px;justify-content:space-between;align-items:center;padding:26px 30px;display:flex}.hero h1{margin:6px 0;font-size:30px}.hero p{color:var(--text-muted);margin:0}.eyebrow{letter-spacing:.7px;font-size:12px;font-weight:800;color:var(--adaptive-text-info,#3d57a6)!important}.notice{z-index:5000;text-align:right;width:min(520px,100vw - 36px);color:var(--adaptive-text-info,#183153);border:1px solid #0000;border-radius:12px;grid-template-columns:auto 1fr auto;align-items:center;gap:9px;margin:0;padding:13px 16px;font-weight:700;display:grid;position:fixed;top:18px;right:18px;box-shadow:0 12px 35px #1018282e}.notice small{opacity:.65;font-size:10px}.notice.success{background:var(--adaptive-surface-success,#ecfdf3);border-color:var(--adaptive-border-success,#b7ebc9);color:var(--adaptive-text-success,#17633b)}.notice.error{background:var(--adaptive-surface-neutral,#fff1f1);border-color:var(--adaptive-border-danger,#f3c1c1);color:var(--adaptive-text-danger,#9e2d2d)}.grid{grid-template-columns:360px 1fr;gap:22px;margin-top:22px;display:grid}.card{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-soft);border-radius:18px;padding:22px}h2{align-items:center;gap:8px;margin:0 0 18px;font-size:19px;display:flex}.form label,.inline-form label{gap:7px;margin-bottom:14px;font-size:13px;font-weight:700;display:grid}input,select,textarea{border:1px solid var(--border);background:var(--input-bg);width:100%;color:var(--text);border-radius:10px;outline:none;padding:11px 12px}textarea{resize:vertical;min-height:86px}input:focus,select:focus,textarea:focus{border-color:#4667d9;box-shadow:0 0 0 3px #4667d91f}button{cursor:pointer;background:var(--primary);color:var(--primary-contrast);border:0;border-radius:10px;padding:11px 16px;font-weight:800}button:hover{filter:brightness(1.06)}.section-title{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.section-title h2{margin-bottom:7px}.muted{color:var(--text-soft);margin:0;font-size:12px}.icon-button{place-items:center;padding:9px;display:grid}.search-box{background:var(--adaptive-surface-neutral,#f8fafc);margin:13px 0 14px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:14px}th,td{text-align:right;border-bottom:1px solid var(--border);white-space:nowrap;padding:13px 10px}th{color:var(--text-muted);font-size:12px}tbody tr{cursor:pointer;transition:background .15s}tbody tr:hover{background:var(--adaptive-surface-neutral,#f7f9ff)}tbody tr.selected-row{background:var(--adaptive-surface-info,#edf2ff)}td strong{display:block}td small{color:var(--adaptive-text-info,#7b8494);margin-top:4px;display:block}.role-badge{background:var(--adaptive-surface-info,#eef2ff);color:var(--adaptive-text-info,#334a96);border-radius:999px;padding:5px 9px;font-size:12px;font-weight:700;display:inline-flex}.empty{color:var(--adaptive-text-info,#7b8494);text-align:center;padding:35px 0}.profile-section{margin-top:22px}.empty-profile{text-align:center;color:var(--adaptive-text-info,#7b8494);padding:50px 20px}.profile-header{justify-content:space-between;align-items:center;gap:20px;display:flex}.profile-header h2{margin:5px 0;font-size:25px}.profile-header p{color:var(--adaptive-text-info,#697489);margin:0}.profile-stats{flex-wrap:wrap;gap:10px;display:flex}.profile-stats span{background:var(--adaptive-surface-neutral,#f4f6fb);border-radius:10px;align-items:center;gap:7px;padding:9px 11px;font-size:13px;display:inline-flex}.profile-grid{grid-template-columns:1fr 1.3fr 1fr;align-items:start;gap:20px;margin-top:20px;display:grid}.module-card h2{font-size:17px}.empty-mini{color:var(--adaptive-text-info,#8a93a2);min-height:46px;font-size:13px}.clean-list,.address-list{margin:0 0 16px;padding:0;list-style:none}.clean-list li{border-bottom:1px solid var(--adaptive-border-neutral,#edf0f4);align-items:center;gap:10px;padding:11px 0;display:flex}.clean-list li>div{gap:3px;margin-left:auto;display:grid}.clean-list span{color:var(--adaptive-text-info,#7b8494);font-size:11px}.clean-list b{direction:ltr;font-size:13px}.clean-list svg,.person-info svg,.address-list svg{color:var(--adaptive-text-warning,#d49d21);vertical-align:middle}details{border-top:1px solid var(--adaptive-border-neutral,#e8ecf2);padding-top:13px}summary{cursor:pointer;color:var(--adaptive-text-info,#30498f);font-size:13px;font-weight:800}.inline-form{background:var(--adaptive-surface-neutral,#f8fafc);border-radius:13px;margin-top:17px;padding:15px}.inline-form.two-column{grid-template-columns:1fr 1fr;gap:0 12px;display:grid}.inline-form .full{grid-column:1/-1}.check{justify-content:flex-start;align-items:center;grid-template-columns:auto 1fr!important;gap:8px!important;display:flex!important}.check input{width:auto}.people-list{gap:11px;margin-bottom:16px;display:grid}.person{border:1px solid var(--adaptive-border-neutral,#e7ebf2);border-radius:13px;align-items:flex-start;gap:11px;padding:13px;display:flex}.avatar{background:var(--adaptive-surface-info,#e9eeff);width:40px;height:40px;color:var(--adaptive-text-info,#30498f);border-radius:12px;flex:0 0 40px;place-items:center;font-weight:900;display:grid}.person-info{gap:5px;min-width:0;display:grid}.person-info strong{align-items:center;gap:5px;display:flex}.person-info>span{color:var(--adaptive-text-info,#697489);font-size:12px}.contact-chips{flex-wrap:wrap;gap:6px;display:flex}.contact-chips span{background:var(--adaptive-surface-neutral,#f2f4f7);direction:ltr;border-radius:999px;align-items:center;gap:4px;padding:5px 8px;font-size:11px;display:inline-flex}.address-list li{border-bottom:1px solid var(--adaptive-border-neutral,#edf0f4);gap:5px;padding:12px 0;display:grid}.address-list strong{align-items:center;gap:5px;display:flex}.address-list span,.address-list small{color:var(--adaptive-text-info,#697489);font-size:12px}.address-list p{margin:0;font-size:13px;line-height:1.8}@media (width<=1100px){.profile-grid{grid-template-columns:1fr 1fr}.people-card{grid-column:span 2}}@media (width<=800px){.shell{padding:18px 12px 40px}.grid,.profile-grid{grid-template-columns:1fr}.people-card{grid-column:auto}.hero,.profile-header{align-items:flex-start}.profile-header{flex-direction:column}.hero h1{font-size:24px}.inline-form.two-column{grid-template-columns:1fr}.inline-form .full{grid-column:auto}}.danger-stat{color:var(--adaptive-text-danger,#a33a2c);background:var(--adaptive-surface-danger,#fff2f0)!important}.crm-grid{grid-template-columns:1fr 1fr;align-items:start;gap:20px;margin-top:20px;display:grid}.crm-form-card h2,.followup-card h2,.timeline-card h2{font-size:17px}.always-open{border-top:0;margin-top:0;padding-top:0}.followup-card,.timeline-card{grid-column:1/-1}.followup-list{gap:10px;display:grid}.followup-item{border:1px solid var(--adaptive-border-neutral,#e4e9f1);background:var(--adaptive-surface-neutral,#fbfcfe);border-radius:13px;justify-content:space-between;align-items:center;gap:16px;padding:14px;display:flex}.followup-item.overdue{border-color:var(--adaptive-border-danger,#efb5ad);background:var(--adaptive-surface-neutral,#fff7f5)}.followup-main{gap:5px;min-width:0;display:grid}.followup-main strong{align-items:center;gap:6px;display:flex}.followup-main span,.followup-main small{color:var(--adaptive-text-info,#697489);font-size:12px}.followup-main p{color:var(--adaptive-text-info,#435069);margin:2px 0 0;font-size:13px;line-height:1.8}.complete-button{white-space:nowrap;background:#19704a;align-items:center;gap:6px;padding:9px 12px;display:inline-flex}.timeline{margin-top:10px;position:relative}.timeline:before{content:"";background:var(--adaptive-surface-neutral,#e3e8f1);width:2px;position:absolute;top:12px;bottom:12px;right:17px}.timeline-item{grid-template-columns:36px 1fr;gap:13px;padding:8px 0 18px;display:grid;position:relative}.timeline-icon{z-index:1;background:var(--adaptive-surface-info,#eaf0ff);width:36px;height:36px;color:var(--adaptive-text-info,#30498f);border-radius:12px;place-items:center;display:grid;position:relative}.timeline-item.followUp .timeline-icon{background:var(--adaptive-surface-warning,#fff5dc);color:var(--adaptive-text-warning,#9b6a00)}.timeline-content{border:1px solid var(--adaptive-border-neutral,#e7ebf2);border-radius:13px;gap:6px;min-width:0;padding:12px 14px;display:grid}.timeline-title{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.timeline-title time{color:var(--adaptive-text-info,#7a8496);white-space:nowrap;font-size:11px}.timeline-meta{color:var(--adaptive-text-info,#52627c);align-items:center;gap:5px;font-size:12px;display:flex}.timeline-content small{color:var(--adaptive-text-info,#7a8496);font-size:11px}.timeline-content p{color:var(--adaptive-text-info,#3e4c63);margin:2px 0 0;font-size:13px;line-height:1.9}.task-status-2{color:var(--adaptive-text-success,#19704a)}.task-status-3{color:var(--adaptive-text-info,#7a8496)}@media (width<=900px){.crm-grid{grid-template-columns:1fr}.followup-card,.timeline-card{grid-column:auto}.followup-item{flex-direction:column;align-items:flex-start}.timeline-title{flex-direction:column;gap:4px}}.persian-date-picker{border:1px solid var(--adaptive-border-info,#dbe2ee);background:var(--adaptive-surface-neutral,#fbfcff);border-radius:12px;min-width:0;margin:0;padding:10px 12px 12px}.persian-date-picker legend{color:var(--adaptive-text-info,#334564);padding:0 7px;font-size:12px;font-weight:700}.persian-date-grid label{min-width:0}.persian-date-grid select,.persian-date-grid input{width:100%}.followup-groups{gap:16px;display:grid}.followup-group{gap:9px;display:grid}.followup-group h3{color:var(--adaptive-text-info,#3f4d64);align-items:center;gap:8px;margin:0;font-size:14px;display:flex}.followup-group h3 span{background:var(--adaptive-surface-info,#e9eef8);min-width:25px;height:22px;color:var(--adaptive-text-info,#253f82);border-radius:999px;justify-content:center;align-items:center;font-size:11px;display:inline-flex}.followup-group.overdue h3{color:var(--adaptive-text-danger,#ad3e31)}.followup-group.overdue h3 span{background:var(--adaptive-surface-danger,#ffe5e1);color:var(--adaptive-text-danger,#ad3e31)}.followup-group.today h3{color:var(--adaptive-text-warning,#936500)}.followup-group.today h3 span{background:var(--adaptive-surface-warning,#fff1c8);color:var(--adaptive-text-warning,#8a6000)}.followup-group.future h3{color:var(--adaptive-text-info,#1f5a8f)}.followup-group.future h3 span{background:var(--adaptive-surface-info,#e1f0ff);color:var(--adaptive-text-info,#1f5a8f)}@media (width<=720px){.persian-date-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.editor-toolbar{background:var(--adaptive-surface-neutral,#fff);border-radius:14px;flex-wrap:wrap;align-items:center;gap:8px;margin-top:14px;padding:10px 12px;display:flex;box-shadow:0 6px 22px #0000000b}.editor-toolbar>span{color:var(--adaptive-text-info,#58657b);font-size:12px;font-weight:800}.editor-toolbar button{background:var(--adaptive-surface-neutral,#f1f4fb);color:var(--adaptive-text-info,#2e467f);align-items:center;gap:5px;padding:7px 10px;font-size:12px;display:inline-flex}.editor-toolbar small{color:var(--adaptive-text-info,#7b8494);margin-right:auto}.company-detail-line{color:var(--adaptive-text-info,#667085);flex-wrap:wrap;gap:8px 16px;margin-top:9px;font-size:12px;display:flex}.profile-actions{flex-wrap:wrap;gap:8px;display:flex}.secondary-button,.danger-button{justify-content:center;align-items:center;gap:6px;display:inline-flex}.secondary-button{background:var(--adaptive-surface-neutral,#eef2f8);color:var(--adaptive-text-info,#34425d)}.danger-button{color:#fff;background:#b53a36}.row-actions{align-items:center;gap:5px;margin-right:auto;display:flex}.row-actions.vertical{flex-direction:column;margin-right:auto}.mini-action{background:var(--adaptive-surface-info,#edf2ff);color:var(--adaptive-text-info,#30498f);border-radius:8px;justify-content:center;align-items:center;gap:5px;padding:6px;display:inline-flex}.mini-action.danger{background:var(--adaptive-surface-danger,#fff0ef);color:var(--adaptive-text-danger,#a43732)}.mini-action.labeled{padding:7px 10px;font-size:11px}.crm-collapsible-card{padding:0;overflow:hidden}.entry-details{border:0;padding:0}.entry-details>summary{color:var(--adaptive-text-info,#172033);justify-content:space-between;align-items:center;gap:12px;padding:18px 20px;list-style:none;display:flex}.entry-details>summary::-webkit-details-marker{display:none}.entry-details>summary span{align-items:center;gap:8px;font-size:17px;display:inline-flex}.entry-details>summary b{color:var(--adaptive-text-info,#30498f);background:var(--adaptive-surface-info,#edf2ff);border-radius:999px;padding:7px 10px;font-size:12px}.entry-details[open]>summary{border-bottom:1px solid var(--adaptive-border-neutral,#e8ecf2)}.entry-details .inline-form{border-radius:0;margin:0;padding:18px 20px 22px}.optional-label{color:var(--adaptive-text-info,#8a93a2);font-weight:400}.field-help{color:var(--adaptive-text-info,#7b8494);font-weight:400;line-height:1.7}.money-input{gap:6px;width:100%;display:grid}.money-input>input[type=text]{font-variant-numeric:tabular-nums;letter-spacing:.02em;width:100%}.money-input>input[type=hidden]{display:none}.money-words{text-align:right;min-height:1.6em;font-size:11px;line-height:1.7;display:block;color:var(--adaptive-text-info,#1f4f8f)!important;font-weight:500!important}.money-words b{color:var(--adaptive-text-info,#173b6d);font-weight:700}.money-words.empty{color:var(--adaptive-text-info,#8a94a6)!important}.reminder-check{background:var(--adaptive-surface-info,#f0f5ff);border-radius:10px;padding:10px}.followup-actions{flex-wrap:wrap;align-items:center;gap:7px;display:flex}.timeline-actions{flex-wrap:wrap;gap:7px;margin-top:6px;display:flex}.modal-backdrop{z-index:1000;background:#0f172a8c;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.modal{background:var(--adaptive-surface-neutral,white);border-radius:18px;width:min(760px,100%);max-height:92vh;overflow:auto;box-shadow:0 24px 80px #0000003d}.modal-header{z-index:2;background:var(--adaptive-surface-neutral,white);border-bottom:1px solid var(--adaptive-border-neutral,#e8ecf2);justify-content:space-between;align-items:center;gap:12px;padding:17px 20px;display:flex;position:sticky;top:0}.modal-header h2{margin:0}.icon-button.ghost{background:var(--adaptive-surface-neutral,#f1f4f8);color:var(--adaptive-text-info,#44516a)}.modal-form{padding:20px}.modal-form.two-column{grid-template-columns:1fr 1fr;gap:0 13px;display:grid}.modal-form label{gap:7px;margin-bottom:14px;font-size:13px;font-weight:700;display:grid}.modal-form .full{grid-column:1/-1}.modal-actions{flex-wrap:wrap;gap:9px;margin-top:6px;display:flex}.modal-actions button{align-items:center;gap:6px;display:inline-flex}.detail-note{color:var(--adaptive-text-info,#667085);background:var(--adaptive-surface-neutral,#f7f9fc);border-radius:10px;align-items:center;gap:7px;padding:10px 12px;font-size:12px;display:flex}@media (width<=900px){.profile-header{flex-direction:column;align-items:flex-start}.profile-actions{order:3}}@media (width<=700px){.editor-toolbar small{width:100%;margin-right:0}.modal-form.two-column{grid-template-columns:1fr}.modal-form .full{grid-column:auto}.entry-details>summary{flex-direction:column;align-items:flex-start}.followup-actions{width:100%}}.global-action-center{gap:16px;margin:18px 0 24px;display:grid}.action-center-header{border:1px solid color-mix(in srgb, var(--primary) 28%, var(--border));background:linear-gradient(145deg, color-mix(in srgb, var(--primary) 7%, white), white 52%);grid-template-columns:1fr auto;align-items:start;gap:14px;display:grid}.action-center-header h2,.global-followups-card h2{align-items:center;gap:8px;margin:4px 0 8px;display:flex}.action-center-header p{margin:0}.action-summary{flex-wrap:wrap;grid-column:1/-1;gap:10px;display:flex}.action-summary span{background:var(--adaptive-surface-neutral,#f4f7fb);border:1px solid var(--border);border-radius:999px;align-items:center;gap:6px;padding:8px 12px;font-size:.88rem;font-weight:700;display:inline-flex}.action-summary .summary-overdue{color:var(--adaptive-text-danger,#a51d2d);background:var(--adaptive-surface-neutral,#fff1f2);border-color:var(--adaptive-border-danger,#fecdd3)}.global-entry-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.company-picker{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;display:grid}.input-with-icon{position:relative}.input-with-icon svg{color:var(--muted);pointer-events:none;position:absolute;top:50%;right:11px;transform:translateY(-50%)}.input-with-icon input{padding-right:36px}.global-filters{grid-template-columns:minmax(220px,1.6fr) repeat(4,minmax(145px,1fr));gap:10px;margin:14px 0 16px;display:grid}.global-filters label{border:1px solid var(--border);background:var(--adaptive-surface-neutral,#fff);border-radius:10px;align-items:center;gap:7px;min-height:44px;padding:0 10px;display:flex}.global-filters label input,.global-filters label select{box-shadow:none;background:0 0;border:0;width:100%;padding:8px 0}.global-filters label input:focus,.global-filters label select:focus{outline:0}.result-count{background:var(--adaptive-surface-info,#eff6ff);min-width:72px;color:var(--adaptive-text-info,#1d4ed8);border-radius:999px;justify-content:center;align-items:center;padding:7px 10px;font-weight:800;display:inline-flex}.global-task-list,.global-activity-list{gap:10px;display:grid}.global-task-item{border:1px solid var(--border);border-right:4px solid var(--adaptive-border-info,#94a3b8);background:var(--adaptive-surface-neutral,#fff);border-radius:12px;grid-template-columns:minmax(180px,.95fr) minmax(250px,1.65fr) minmax(180px,.85fr) auto;align-items:center;gap:14px;padding:13px;display:grid}.global-task-item.priority-3{border-right-color:var(--adaptive-border-warning,#f59e0b)}.global-task-item.priority-4{border-right-color:#dc2626}.global-task-item.overdue{background:var(--adaptive-surface-neutral,#fff7f7)}.global-task-party,.global-task-main,.global-task-due{gap:5px;min-width:0;display:grid}.global-task-party small,.global-task-due small,.global-task-due span,.global-activity-item small{color:var(--muted);font-size:.78rem}.global-task-main strong{align-items:center;gap:5px;display:inline-flex}.global-task-main p,.global-activity-item p{color:var(--adaptive-text-info,#4b5563);white-space:pre-wrap;margin:0;line-height:1.8}.global-task-due time{font-weight:800}.global-task-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px;display:flex}.company-link{width:fit-content;color:var(--primary);cursor:pointer;text-align:right;background:0 0;border:0;align-items:center;gap:6px;padding:0;font-weight:800;display:inline-flex}.company-link:hover{text-decoration:underline}.manual-party{flex-wrap:wrap;align-items:center;gap:6px;font-weight:800;display:inline-flex}.manual-party b{color:var(--adaptive-text-warning,#854d0e);background:var(--adaptive-surface-warning,#fef9c3);border:1px solid var(--adaptive-border-warning,#fde68a);border-radius:999px;padding:2px 6px;font-size:.68rem}.global-activities-card>details>summary{cursor:pointer;justify-content:space-between;align-items:center;gap:12px;font-weight:800;display:flex}.global-activities-card>details>summary span{align-items:center;gap:7px;display:inline-flex}.global-activity-list{margin-top:16px}.global-activity-item{border:1px solid var(--border);background:var(--adaptive-surface-neutral,#fafcff);border-radius:10px;grid-template-columns:minmax(180px,.9fr) minmax(280px,1.8fr) auto;align-items:start;gap:14px;padding:12px;display:grid}.global-activity-item>div{gap:5px;display:grid}.related-company-banner{background:var(--adaptive-surface-info,#eef6ff);border:1px solid var(--adaptive-border-info,#bfdbfe);color:var(--adaptive-text-info,#1e3a8a);border-radius:10px;flex-wrap:wrap;align-items:center;gap:7px;padding:10px 12px;display:flex}.related-company-banner span,.related-company-banner small{color:var(--adaptive-text-info,#64748b)}.modal-header p{color:var(--muted);margin:4px 0 0}@media (width<=1100px){.global-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.global-filters .search-filter{grid-column:1/-1}.global-task-item{grid-template-columns:minmax(180px,1fr) minmax(240px,1.6fr)}.global-task-actions{justify-content:flex-start}}@media (width<=760px){.global-entry-grid,.company-picker,.global-filters,.global-task-item,.global-activity-item,.action-center-header{grid-template-columns:1fr}.global-filters .search-filter{grid-column:auto}}.crm2-workspace{gap:18px;margin-bottom:20px;display:grid}.crm-guide-launcher{border:1px solid var(--adaptive-border-info,#cddbf0);background:linear-gradient(135deg,var(--adaptive-surface-neutral,#f8fbff),var(--adaptive-surface-info,#eef5ff));border-radius:15px;justify-content:space-between;align-items:center;gap:14px;padding:12px 14px;display:flex}.crm-guide-launcher>div:first-child{align-items:center;gap:9px;display:flex}.crm-guide-launcher>div:first-child span{gap:2px;display:grid}.crm-guide-launcher small{color:var(--adaptive-text-info,#68768b)}.crm-guide-badges{flex-wrap:wrap;align-items:center;gap:6px;margin-inline-start:auto;display:flex}.crm-guide-badges b{background:var(--adaptive-surface-info,#e7eefb);color:var(--adaptive-text-info,#31527d);border-radius:999px;padding:5px 8px;font-size:11px}.crm-guide-badges b.danger{background:var(--adaptive-surface-danger,#feeceb);color:var(--adaptive-text-danger,#a52a23)}.crm-guide-badges b.warning{background:var(--adaptive-surface-warning,#fff3d5);color:var(--adaptive-text-warning,#8a5700)}.crm-guide-backdrop{z-index:1260;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#0f172a61;position:fixed;inset:0}.crm-guide-drawer{inset-block:0;background:var(--surface,#fff);grid-template-rows:auto minmax(0,1fr);width:min(980px,94vw);display:grid;position:absolute;right:0;box-shadow:-20px 0 60px #0f172a38}.crm-guide-drawer>header{border-bottom:1px solid var(--border,#e2e8f0);justify-content:space-between;align-items:flex-start;gap:14px;padding:18px 20px;display:flex}.crm-guide-drawer>header h2{margin:5px 0}.crm-guide-drawer>header p{color:var(--adaptive-text-info,#667085);margin:0}.crm-guide-drawer>header>div:last-child{gap:6px;display:flex}.crm-guide-body{align-content:start;gap:14px;min-height:0;padding:16px 18px 24px;display:grid;overflow-y:auto}[data-theme=dark] .crm-guide-launcher{background:linear-gradient(135deg,#17233b,#1c2d4c);border-color:#344969}[data-theme=dark] .crm-guide-drawer{background:#101a2b}.crm2-heading{border:1px solid var(--adaptive-border-info,#cddbf0);background:linear-gradient(135deg, var(--adaptive-surface-neutral,#f8fbff) 0%, var(--adaptive-surface-info,#edf4ff) 65%, var(--adaptive-surface-warning,#fff7ed) 100%);border-radius:18px;justify-content:space-between;align-items:center;gap:18px;padding:22px 24px;display:flex;box-shadow:0 12px 34px #1e40af14}.crm2-heading h2{color:var(--adaptive-text-info,#14213d);margin:7px 0 4px;font-size:1.35rem}.crm2-heading p{color:var(--adaptive-text-info,#5b6980);margin:0}.crm2-kicker{color:var(--adaptive-text-info,#1d5fc3);align-items:center;gap:6px;font-size:.78rem;font-weight:800;display:inline-flex}.crm2-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.crm2-metrics button{text-align:right;border:1px solid var(--adaptive-border-info,#dbe4f0);background:var(--adaptive-surface-neutral,#fff);min-height:92px;color:var(--adaptive-text-info,#344054);border-radius:15px;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;padding:15px;display:grid}.crm2-metrics button svg{width:20px;color:var(--adaptive-text-info,#316fd1)}.crm2-metrics button strong{color:var(--adaptive-text-info,#17233a);font-size:1.45rem}.crm2-metrics button.active{border-color:#3777dd;box-shadow:inset 0 0 0 1px #3777dd,0 8px 22px #3777dd1f}.crm2-metrics button.danger svg,.crm2-metrics button.danger strong{color:var(--adaptive-text-danger,#b42318)}.crm2-metrics button.warning svg,.crm2-metrics button.warning strong{color:var(--adaptive-text-warning,#b54708)}.crm2-grid{grid-template-columns:minmax(0,1.65fr) minmax(280px,.75fr);align-items:start;gap:16px;display:grid}.crm2-actions-card,.crm2-health-card,.crm2-cadence-card{margin:0}.crm2-action-list{gap:10px;display:grid}.crm2-action{border:1px solid var(--adaptive-border-info,#e0e7f0);background:var(--adaptive-surface-neutral,#fbfcfe);border-radius:13px;grid-template-columns:62px minmax(0,1fr) auto;align-items:center;gap:13px;padding:13px;display:grid}.crm2-score{text-align:center;background:var(--adaptive-surface-info,#eaf2ff);width:56px;height:56px;color:var(--adaptive-text-info,#245dac);border-radius:14px;place-content:center;display:grid}.crm2-score strong{font-size:1.1rem}.crm2-score small{font-size:.64rem}.crm2-score.high{color:var(--adaptive-text-warning,#a15c05);background:var(--adaptive-surface-warning,#fff4d8)}.crm2-score.critical{color:var(--adaptive-text-danger,#b42318);background:var(--adaptive-surface-danger,#feeceb)}.crm2-action-main{gap:5px;min-width:0;display:grid}.crm2-action-main>div{flex-wrap:wrap;align-items:center;gap:9px;display:flex}.crm2-action-main>div button{color:var(--adaptive-text-info,#2563b8);background:0 0;border:0;align-items:center;gap:3px;padding:0;display:inline-flex}.crm2-action-main p{color:var(--adaptive-text-info,#58657a);margin:0;line-height:1.7}.crm2-action-main small{color:var(--adaptive-text-info,#758198);align-items:center;gap:5px;display:inline-flex}.crm2-action-main>span{background:var(--adaptive-surface-info,#eef6ff);width:fit-content;color:var(--adaptive-text-info,#21579c);border-radius:8px;padding:4px 8px;font-size:.76rem;font-weight:700}.crm2-action-buttons{gap:7px;min-width:96px;display:grid}.crm2-health-list{gap:8px;display:grid}.crm2-health-list>button{border:1px solid var(--adaptive-border-neutral,#e3e8ef);background:var(--adaptive-surface-neutral,#fff);text-align:right;border-radius:12px;grid-template-columns:46px 1fr;align-items:center;gap:10px;width:100%;padding:10px;display:grid}.crm2-health-list>button>span:last-child{gap:3px;min-width:0;display:grid}.crm2-health-list small{color:var(--adaptive-text-info,#69768a);line-height:1.55}.health-ring{width:43px;height:43px;color:var(--adaptive-text-info,#224b84);border:4px solid #4b82d0;border-radius:50%;place-items:center;font-weight:900;display:grid}.health-ring.attention{border-color:var(--adaptive-border-warning,#e7a72f);color:var(--adaptive-text-warning,#9a5b00)}.health-ring.risk{color:var(--adaptive-text-danger,#a7221c);border-color:#dc5b55}.crm2-cadence-card .section-title label{align-items:center;gap:8px;font-size:.78rem;display:flex}.crm2-cadence-card select{min-width:220px}.crm2-cadence-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;display:grid}.crm2-cadence-grid>div{border:1px solid var(--adaptive-border-info,#dfe6ef);background:var(--adaptive-surface-neutral,#fbfcff);border-radius:14px;grid-template-rows:auto 1fr auto;gap:9px;padding:14px;display:grid}.crm2-cadence-grid p{color:var(--adaptive-text-info,#66748a);margin:4px 0 0;font-size:.78rem;line-height:1.6}.crm2-cadence-grid ol{color:var(--adaptive-text-info,#4e5c72);margin:0;padding-right:20px;font-size:.78rem;line-height:1.9}.crm2-cadence-grid button{justify-content:center;align-items:center;gap:6px;display:inline-flex}[data-theme=dark] .crm2-heading{background:linear-gradient(135deg,#17233b,#1c2d4c 65%,#332617);border-color:#344969}[data-theme=dark] .crm2-heading h2,[data-theme=dark] .crm2-metrics button strong{color:#edf4ff}[data-theme=dark] .crm2-heading p{color:#aebbd0}[data-theme=dark] .crm2-metrics button,[data-theme=dark] .crm2-action,[data-theme=dark] .crm2-health-list>button,[data-theme=dark] .crm2-cadence-grid>div{color:#dce7f7;background:#172238;border-color:#30415c}[data-theme=dark] .crm2-action-main p,[data-theme=dark] .crm2-health-list small,[data-theme=dark] .crm2-cadence-grid p,[data-theme=dark] .crm2-cadence-grid ol{color:#aab8cd}@media (width<=1100px){.crm2-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.crm2-grid{grid-template-columns:1fr}.crm2-cadence-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=680px){.crm-guide-launcher{flex-direction:column;align-items:stretch}.crm-guide-badges{margin-inline-start:0}.crm-guide-drawer{width:100%}.crm2-heading{flex-direction:column;align-items:stretch}.crm2-metrics,.crm2-cadence-grid{grid-template-columns:1fr}.crm2-action{grid-template-columns:52px 1fr}.crm2-action-buttons{grid-column:1/-1;grid-template-columns:1fr 1fr}.crm2-cadence-card .section-title,.crm2-cadence-card .section-title label{flex-direction:column;align-items:stretch}.crm2-cadence-card select{width:100%;min-width:0}}.main-module-nav{background:var(--adaptive-surface-neutral,#fff);border-radius:14px;gap:10px;margin-top:16px;padding:8px;display:flex;box-shadow:0 6px 22px #0000000b}.main-module-nav button,.module-tabs button{color:var(--adaptive-text-info,#526078);background:0 0;align-items:center;gap:7px;display:inline-flex}.main-module-nav button.active,.module-tabs button.active{color:#fff;background:#243b80}.sales-module{margin-top:22px}.module-tabs{background:var(--adaptive-surface-neutral,white);border-radius:14px;align-items:center;gap:8px;margin-bottom:18px;padding:8px;display:flex;box-shadow:0 6px 22px #0000000b}.module-tabs .refresh-module{background:var(--adaptive-surface-neutral,#f1f4fa);color:var(--adaptive-text-info,#30446e);margin-right:auto}.catalog-layout{grid-template-columns:430px 1fr;align-items:start;gap:20px;display:grid}.catalog-form-card{position:sticky;top:12px}.product-form{margin-top:8px}.catalog-list-card{min-width:0}.search-field{border:1px solid var(--adaptive-border-info,#d8dee8);background:var(--adaptive-surface-neutral,white);border-radius:10px;align-items:center;gap:8px;padding:0 11px;display:flex}.search-field:focus-within{border-color:#4667d9;box-shadow:0 0 0 3px #4667d91f}.search-field input{border:0;padding-right:0;box-shadow:none!important}.catalog-table{max-height:720px;margin-top:14px}.catalog-table tbody tr{cursor:default}.request-dashboard{grid-template-columns:minmax(0,1.7fr) minmax(330px,.8fr);align-items:start;gap:20px;display:grid}.request-list-card{min-width:0}.request-detail-card{position:sticky;top:12px}.request-filters{grid-template-columns:1fr 220px;gap:10px;margin:12px 0 14px;display:grid}.request-table tbody tr{cursor:default}.request-status{background:var(--adaptive-surface-neutral,#edf1f7);color:var(--adaptive-text-info,#45536a);border-radius:999px;padding:5px 9px;font-size:11px;font-weight:800;display:inline-flex}.request-status.status-2{background:var(--adaptive-surface-info,#eaf0ff);color:var(--adaptive-text-info,#2f4b9a)}.request-status.status-3{background:var(--adaptive-surface-warning,#fff4d9);color:var(--adaptive-text-warning,#856000)}.request-status.status-4{background:var(--adaptive-surface-info,#e7f7ff);color:var(--adaptive-text-info,#16607d)}.request-status.status-5{background:var(--adaptive-surface-success,#e8f8ef);color:var(--adaptive-text-success,#1c6842)}.request-status.status-6,.request-status.status-7{background:var(--adaptive-surface-danger,#fff0ee);color:var(--adaptive-text-danger,#9a382e)}.request-detail-meta{background:var(--adaptive-surface-neutral,#f7f9fc);color:var(--adaptive-text-info,#526078);border-radius:12px;gap:9px;padding:12px;font-size:12px;display:grid}.request-detail-meta span{align-items:center;gap:6px;display:flex}.text-link{color:var(--adaptive-text-info,#30498f);background:0 0;padding:0;text-decoration:underline}.request-line-summary{gap:9px;margin:16px 0;padding:0;list-style:none;display:grid}.request-line-summary li{border:1px solid var(--adaptive-border-neutral,#e6eaf1);border-radius:12px;justify-content:space-between;gap:14px;padding:12px;display:flex}.request-line-summary li>div{gap:4px;display:grid}.request-line-summary small{color:var(--adaptive-text-info,#697489)}.request-line-summary p{color:var(--adaptive-text-info,#4b596f);margin:2px 0 0;font-size:12px}.request-line-summary b{white-space:nowrap;color:var(--adaptive-text-info,#233b7a)}.request-notes{background:var(--adaptive-surface-warning,#fffaf0);border-radius:11px;padding:12px}.request-notes p{margin:6px 0 0;line-height:1.9}.request-form-card{margin-top:20px}.request-header-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px;display:grid}.request-header-fields label{gap:7px;margin-bottom:14px;font-size:13px;font-weight:700;display:grid}.request-header-fields .full{grid-column:1/-1}.request-lines-editor{border-top:1px solid var(--adaptive-border-neutral,#e7ebf2);padding-top:18px}.request-line-editor{border:1px solid var(--adaptive-border-info,#dfe5ee);background:var(--adaptive-surface-neutral,#fbfcfe);border-radius:14px;margin-top:12px;padding:14px}.request-line-editor header{justify-content:space-between;align-items:center;margin-bottom:11px;display:flex}.request-line-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:0 12px;display:grid}.request-line-grid label{gap:7px;margin-bottom:12px;font-size:12px;font-weight:700;display:grid}.request-submit-row{justify-content:flex-start;align-items:center;gap:15px;display:flex}.request-submit-row button{align-items:center;gap:7px;display:inline-flex}.request-submit-row span{color:var(--adaptive-text-info,#7a8496);font-size:12px}@media (width<=1050px){.catalog-layout,.request-dashboard{grid-template-columns:1fr}.catalog-form-card,.request-detail-card{position:static}}@media (width<=760px){.main-module-nav,.module-tabs{flex-wrap:wrap}.module-tabs .refresh-module{margin-right:0}.request-filters,.request-header-fields,.request-line-grid{grid-template-columns:1fr}.request-header-fields .full,.request-line-grid .wide{grid-column:auto}.request-submit-row{flex-direction:column;align-items:stretch}}.main-module-nav{z-index:20;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);flex-wrap:wrap;position:sticky;top:0}.main-module-nav button{min-width:145px}.action-center,.reference-module,.import-module,.sales-module{gap:18px;display:grid}.action-center-hero{justify-content:space-between;align-items:center;gap:24px;display:flex}.action-stats{flex-wrap:wrap;gap:10px;display:flex}.action-stats span{background:var(--adaptive-surface-neutral,#f4f7fb);border:1px solid var(--adaptive-border-info,#e3eaf2);border-radius:12px;align-items:center;gap:7px;padding:9px 13px;font-weight:700;display:inline-flex}.sub-tabs{flex-wrap:wrap;gap:8px;margin:12px 0;display:flex}.sub-tabs button{background:var(--adaptive-surface-neutral,#f4f7fb);color:var(--adaptive-text-info,#24364b);border:1px solid var(--adaptive-border-info,#dbe5ef);padding:9px 14px}.sub-tabs button.active{color:#fff;background:#173f5f}.sub-tabs b{background:#fff3;border-radius:999px;margin-right:6px;padding:1px 7px}.search-control{border:1px solid var(--adaptive-border-info,#d8e1ea);background:var(--adaptive-surface-neutral,#fff);border-radius:10px;align-items:center;gap:8px;padding:0 10px;display:flex}.search-control input{background:0 0;border:0;outline:none;width:100%;padding:10px 0}.global-followups{gap:10px;display:grid}.task-company-line{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.task-company-line>span{align-items:center;gap:5px;font-weight:700;display:inline-flex}.link-button{color:var(--adaptive-text-info,#1769aa);cursor:pointer;background:0 0;border:0;align-items:center;gap:5px;padding:0;font-weight:700;display:inline-flex}.link-button:hover{text-decoration:underline}.completion-note{background:var(--adaptive-surface-neutral,#ebf8ef);border-right:3px solid #2e8b57;border-radius:7px;align-items:center;gap:6px;padding:8px 10px;display:flex}.chain-note{color:var(--adaptive-text-warning,#785a00);background:var(--adaptive-surface-warning,#fff6d9);border-radius:6px;width:fit-content;padding:5px 8px}.secondary-button.compact{padding:8px 10px;font-size:.85rem}.task-status-card-2{opacity:.88;border-right-color:#2e8b57!important}.task-status-card-3{opacity:.7;border-right-color:#7b8794!important}.compact-entry-grid{grid-template-columns:1fr 1fr;gap:16px;display:grid}.nested-form{background:var(--adaptive-surface-neutral,#f7f9fc);border:1px solid var(--adaptive-border-info,#dfe7f0);border-radius:10px;gap:10px;padding:14px;display:grid}.reference-grid{grid-template-columns:1.35fr 1fr}.map-link{color:var(--adaptive-text-info,#1769aa);align-items:center;gap:5px;width:fit-content;margin-top:5px;font-weight:700;display:inline-flex}.import-card{gap:20px;display:grid}.import-steps{grid-template-columns:repeat(3,1fr);gap:14px;display:grid}.import-steps article{border:1px solid var(--adaptive-border-info,#dfe7f0);background:var(--adaptive-surface-neutral,#f8fafc);border-radius:12px;gap:12px;padding:16px;display:flex}.import-steps article>b{color:#fff;background:#173f5f;border-radius:50%;place-items:center;min-width:32px;height:32px;display:grid}.import-steps p{color:var(--adaptive-text-info,#66778a);margin:5px 0 12px}.inline-link{width:fit-content;text-decoration:none;display:inline-flex}.file-picker{color:#fff;cursor:pointer;background:#173f5f;border-radius:9px;align-items:center;gap:8px;width:fit-content;padding:9px 13px;display:inline-flex}.file-picker input{display:none}.import-result{background:var(--adaptive-surface-neutral,#ebf8ef);border:1px solid var(--adaptive-border-success,#bde5c9);border-radius:10px;padding:12px 14px}.import-errors{border-top:1px solid var(--adaptive-border-neutral,#e4e9ef);padding-top:10px}.sales-top-grid{grid-template-columns:1fr 1.4fr}.request-entry{overflow:visible}.request-form{gap:16px;display:grid}.request-lines{gap:12px;display:grid}.request-line-card{border:1px solid var(--adaptive-border-info,#dfe7f0);background:var(--adaptive-surface-neutral,#f8fafc);border-radius:12px;padding:13px}.request-line-card header{justify-content:space-between;align-items:center;margin-bottom:10px;display:flex}.request-line-grid{grid-template-columns:1.4fr .65fr .75fr 1.15fr;align-items:end;gap:10px;display:grid}.request-line-grid .wide{grid-column:span 2}.wide-modal{max-width:1050px}.request-view{gap:16px;display:grid}@media (width<=1050px){.filter-row{grid-template-columns:1fr 1fr}.compact-entry-grid,.reference-grid,.sales-top-grid,.import-steps{grid-template-columns:1fr}.request-line-grid{grid-template-columns:1fr 1fr}}@media (width<=680px){.filter-row,.request-line-grid{grid-template-columns:1fr}.request-line-grid .wide{grid-column:span 1}.action-center-hero{flex-direction:column;align-items:flex-start}.main-module-nav button{flex:45%;min-width:0}}.pricing-module{gap:18px;display:grid}.sub-tabs{flex-wrap:wrap;gap:10px;display:flex}.sub-tabs button{align-items:center;gap:8px;display:inline-flex}.sub-tabs button.active{color:#fff;background:#173f5f;border-color:#173f5f}.compact-card{padding:18px 20px}.inline-create-form{grid-template-columns:minmax(280px,1fr) auto;align-items:end;gap:12px;display:grid}.pricing-layout{grid-template-columns:minmax(260px,330px) minmax(0,1fr);align-items:start;gap:18px;display:grid}.inquiry-list-panel{max-height:calc(100vh - 24px);position:sticky;top:12px;overflow:auto}.inquiry-list{gap:8px;margin-top:12px;display:grid}.inquiry-list>button{text-align:right;background:var(--adaptive-surface-neutral,#f8fafc);border:1px solid var(--adaptive-border-info,#d9e2ec);color:var(--adaptive-text-info,#172033);border-radius:12px;gap:4px;padding:12px;display:grid}.inquiry-list>button:hover,.inquiry-list>button.active{background:var(--adaptive-surface-info,#eef4ff);border-color:#2b59a2}.inquiry-list>button span,.inquiry-list>button small{color:var(--adaptive-text-info,#68758a)}.inquiry-detail-panel{min-height:480px}.inquiry-header{border-bottom:1px solid var(--adaptive-border-neutral,#e4e9ef);justify-content:space-between;align-items:flex-start;gap:16px;padding-bottom:14px;display:flex}.header-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.inquiry-summary{flex-wrap:wrap;gap:9px;padding:12px 0;display:flex}.inquiry-summary span{background:var(--adaptive-surface-neutral,#f1f5f9);border:1px solid var(--adaptive-border-neutral,#e2e8f0);border-radius:999px;padding:6px 11px;font-size:.88rem}.inquiry-lines{gap:16px;display:grid}.inquiry-line{border:1px solid var(--adaptive-border-info,#dbe4ee);background:var(--adaptive-surface-neutral,#fff);border-radius:16px;padding:14px}.inquiry-line>header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.inquiry-line>header>div{grid-template-columns:auto 1fr;align-items:center;gap:4px 9px;display:grid}.inquiry-line>header small{color:var(--adaptive-text-info,#6b7280);grid-column:2}.line-number{color:#fff;background:#173f5f;border-radius:50%;grid-row:1/span 2;place-items:center;width:30px;height:30px;display:grid}.quote-table td small,.price-board td small{color:var(--adaptive-text-info,#718096);margin-top:3px;display:block}.quote-table tr.lowest-row td{background:var(--adaptive-surface-success,#f0fff7)}.quote-table tr.selected-row td{box-shadow:inset 0 2px #1d4ed8,inset 0 -2px #1d4ed8}.best-price{color:var(--adaptive-text-success,#047857);background:var(--adaptive-surface-success,#d1fae5);border-radius:999px;margin-right:6px;padding:2px 7px;font-size:.75rem;font-style:normal;display:inline-block}.validity{border-radius:999px;padding:3px 8px;font-size:.78rem;font-weight:700;display:inline-block}.validity.valid{color:var(--adaptive-text-success,#086d3c);background:var(--adaptive-surface-success,#dcfce7)}.validity.expiring{color:var(--adaptive-text-warning,#92400e);background:var(--adaptive-surface-warning,#fef3c7)}.validity.expired{color:var(--adaptive-text-danger,#991b1b);background:var(--adaptive-surface-danger,#fee2e2)}.selection-note{background:var(--adaptive-surface-info,#edf5ff);border:1px solid var(--adaptive-border-info,#bfdbfe);color:var(--adaptive-text-info,#1e3a8a);border-radius:11px;align-items:center;gap:8px;margin-top:10px;padding:10px 12px;display:flex}.selection-note span{flex:1}.pricing-modal{width:min(850px,100vw - 30px);max-height:92vh;overflow:auto}.quote-form{gap:13px;display:grid}.mode-switch{gap:8px;display:flex}.mode-switch button{background:var(--adaptive-surface-neutral,#f5f7fa);color:var(--adaptive-text-info,#31405a);flex:1}.mode-switch button.active{color:#fff;background:#173f5f}.price-board .section-heading{align-items:center}.price-board .search-box{margin-bottom:13px}.empty-state{min-height:380px;color:var(--adaptive-text-info,#718096);text-align:center;place-content:center;justify-items:center;display:grid}.empty-state h3{color:var(--adaptive-text-info,#253249);margin-bottom:0}@media (width<=1000px){.pricing-layout{grid-template-columns:1fr}.inquiry-list-panel{max-height:none;position:static}}@media (width<=720px){.inline-create-form{grid-template-columns:1fr}.inquiry-header{flex-direction:column}.inquiry-line>header{flex-direction:column;align-items:flex-start}.selection-note{flex-wrap:wrap;align-items:flex-start}}.company-intelligence{gap:18px;margin-top:22px;display:grid}.intelligence-summary-grid{grid-template-columns:repeat(5,minmax(150px,1fr));gap:12px;display:grid}.intelligence-summary-card{text-align:right;background:var(--adaptive-surface-neutral,#fff);min-height:110px;color:var(--adaptive-text-info,#263450);border:1px solid var(--adaptive-border-neutral,#e5e9f1);grid-template-columns:auto 1fr;align-items:center;gap:8px 10px;padding:16px;display:grid;box-shadow:0 6px 20px #0000000a}.intelligence-summary-card svg{color:var(--adaptive-text-info,#425ca8)}.intelligence-summary-card strong{color:var(--adaptive-text-info,#18264a);font-size:25px}.intelligence-summary-card span{color:var(--adaptive-text-info,#667085);grid-column:1/-1;font-size:12px}.intelligence-summary-card.active{background:var(--adaptive-surface-info,#eef3ff);border-color:#4f69bb;box-shadow:0 0 0 3px #4f69bb1a}.call-priority-card{padding-bottom:15px}.count-badge{background:var(--adaptive-surface-info,#edf2ff);color:var(--adaptive-text-info,#334a96);border-radius:999px;padding:7px 10px;font-size:12px;font-weight:800}.call-queue-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.call-queue-grid>section{border:1px solid var(--adaptive-border-neutral,#e4e9f1);background:var(--adaptive-surface-neutral,#fbfcfe);border-radius:13px;min-width:0;padding:12px}.call-queue-grid h3{justify-content:space-between;align-items:center;margin:0 0 10px;font-size:14px;display:flex}.call-queue-grid h3 span{background:var(--adaptive-surface-info,#edf2ff);color:var(--adaptive-text-info,#334a96);border-radius:999px;padding:3px 8px;font-size:11px}.priority-company-strip{grid-template-columns:1fr;gap:8px;display:grid}.priority-company-strip>button{text-align:right;background:var(--adaptive-surface-neutral,#f8fafc);color:var(--adaptive-text-info,#24314a);border:1px solid var(--adaptive-border-neutral,#e5eaf2);grid-template-columns:30px 1fr auto;align-items:center;gap:9px;padding:11px;display:grid}.priority-company-strip>button>b{color:#fff;background:#243b80;border-radius:9px;place-items:center;width:28px;height:28px;display:grid}.priority-company-strip>button>span{gap:3px;min-width:0;display:grid}.priority-company-strip strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.priority-company-strip small{color:var(--adaptive-text-info,#778196);text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.wide-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.secondary-button{background:var(--adaptive-surface-neutral,#eef2f8);color:var(--adaptive-text-info,#243b80);align-items:center;gap:6px;display:inline-flex}.quick-filter-row{flex-wrap:wrap;gap:7px;margin:14px 0 12px;display:flex}.quick-filter-row button{background:var(--adaptive-surface-neutral,#f1f4f8);color:var(--adaptive-text-info,#47536a);padding:8px 11px;font-size:12px}.quick-filter-row button.active{color:#fff;background:#243b80}.company-main-search{border:1px solid var(--adaptive-border-info,#dbe1eb);background:var(--adaptive-surface-neutral,#fbfcfe);border-radius:12px;grid-template-columns:auto 1fr;align-items:center;gap:9px;padding:0 12px;display:grid}.company-main-search svg{color:var(--adaptive-text-info,#6f7c92)}.company-main-search input{background:0 0;border:0;box-shadow:none!important}.saved-view-row{color:var(--adaptive-text-info,#667085);flex-wrap:wrap;align-items:center;gap:7px;margin-top:12px;font-size:12px;display:flex}.saved-view-chip{border:1px solid var(--adaptive-border-info,#dce2ec);border-radius:999px;display:inline-flex;overflow:hidden}.saved-view-chip button{background:var(--adaptive-surface-neutral,#f8fafc);color:var(--adaptive-text-info,#334564);border-radius:0;padding:6px 9px}.saved-view-chip button+button{border-right:1px solid var(--adaptive-border-info,#dce2ec);padding:6px}.company-smart-form{background:var(--adaptive-surface-neutral,#f8fafc);border:1px solid var(--adaptive-border-neutral,#e2e7ef);border-radius:14px;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:16px;padding:16px;display:grid}.company-smart-form h3,.company-smart-form .full{grid-column:1/-1}.company-smart-form label,.advanced-company-filters label{gap:6px;font-size:12px;font-weight:700;display:grid}.company-smart-form small{color:var(--adaptive-text-info,#7b8494);font-weight:400}.advanced-company-filters{background:var(--adaptive-surface-neutral,#f8fafc);border:1px solid var(--adaptive-border-neutral,#e3e8f0);border-radius:13px;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:14px;padding:14px;display:grid}.company-intelligence-table-wrap{border:1px solid var(--adaptive-border-neutral,#e5e9f0);border-radius:13px;max-height:620px;margin-top:16px}.company-intelligence-table thead{z-index:2;background:var(--adaptive-surface-neutral,#f7f9fc);position:sticky;top:0}.company-intelligence-table td{vertical-align:top}.action-state{border-radius:999px;padding:5px 8px;font-size:11px;font-weight:800;display:inline-flex}.action-overdue{background:var(--adaptive-surface-danger,#fff0ee);color:var(--adaptive-text-danger,#a33a2c)}.action-scheduled{background:var(--adaptive-surface-info,#eef3ff);color:var(--adaptive-text-info,#3450a0)}.action-inactive{background:var(--adaptive-surface-neutral,#f0f1f3);color:var(--adaptive-text-info,#656d7a)}.action-not-contacted,.action-needs-action{background:var(--adaptive-surface-warning,#fff7df);color:var(--adaptive-text-warning,#8a6300)}.action-active{background:var(--adaptive-surface-neutral,#eaf8ef);color:var(--adaptive-text-success,#17633b)}.danger-text{color:var(--adaptive-text-danger,#b43d31)!important}.classification-manager{margin-top:18px}.classification-manager summary{align-items:center;gap:7px;display:flex}.classification-manager-grid{grid-template-columns:1fr 1fr;gap:16px;padding-top:14px;display:grid}.classification-manager-grid section{border:1px solid var(--adaptive-border-neutral,#e3e8f0);border-radius:12px;padding:13px}.classification-manager-grid h3{margin:0;font-size:15px}.tag-cloud{flex-wrap:wrap;gap:7px;margin-top:10px;display:flex}.tag-cloud span{background:var(--adaptive-surface-neutral,#f1f4f8);color:var(--adaptive-text-info,#42506a);border-radius:999px;align-items:center;gap:4px;padding:6px 9px;font-size:11px;display:inline-flex}.company-detail-line{flex-wrap:wrap;gap:8px 14px;margin-top:10px;display:flex}.company-detail-line span{color:var(--adaptive-text-info,#59677d);font-size:12px}@media (width<=1100px){.intelligence-summary-grid{grid-template-columns:repeat(3,1fr)}.call-queue-grid{grid-template-columns:1fr}.company-smart-form,.advanced-company-filters{grid-template-columns:repeat(2,1fr)}}@media (width<=700px){.intelligence-summary-grid{grid-template-columns:1fr 1fr}.priority-company-strip,.classification-manager-grid,.company-smart-form,.advanced-company-filters{grid-template-columns:1fr}.company-smart-form h3,.company-smart-form .full{grid-column:auto}.wide-actions{justify-content:flex-start}}.managed-reference-list{flex-wrap:wrap;gap:.55rem;display:flex}.managed-reference-list>span{border:1px solid var(--border);background:var(--surface-soft);border-radius:999px;align-items:center;gap:.35rem;padding:.4rem .55rem;display:inline-flex}.managed-reference-list b{align-items:center;gap:.25rem;font-size:.88rem;display:inline-flex}.managed-reference-list button{color:var(--primary);cursor:pointer;background:0 0;border:0;padding:.15rem .25rem;font-size:.75rem}.managed-reference-list .danger-link{color:var(--danger)}.managed-reference-list>span.inactive-reference{opacity:.62;background:var(--adaptive-surface-neutral,#f3f4f6);border-style:dashed}.combined-followup-toggle{border:1px dashed var(--adaptive-border-info,#98abd7);background:var(--adaptive-surface-neutral,#f3f6ff);border-radius:10px;padding:11px 13px}.activity-followup-fields{margin-top:-2px}@media (width>=1180px){.classification-manager-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}.inline-add-link{color:var(--adaptive-text-info,#30498f);cursor:pointer;background:0 0;border:0;padding:0 6px;font-size:12px}.inline-add-link:hover{text-decoration:underline}.price-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0;display:grid}.price-metrics>div,.decision-summary>div{background:var(--adaptive-surface-neutral,#f6f8fb);border:1px solid var(--adaptive-border-neutral,#e2e8f0);border-radius:12px;flex-direction:column;gap:5px;padding:10px;display:flex}.price-metrics span,.decision-summary span{color:var(--adaptive-text-info,#64748b);font-size:.78rem}.price-metrics strong,.decision-summary strong{color:var(--adaptive-text-info,#0f172a);font-size:.91rem}.best-price.eligible{background:var(--adaptive-surface-success,#dcfce7);color:var(--adaptive-text-success,#166534)}.best-price.actual{background:var(--adaptive-surface-info,#dbeafe);color:var(--adaptive-text-info,#1d4ed8)}.quote-restricted{background:var(--adaptive-surface-warning,#fffaf0)}.supplier-status{border-radius:999px;width:max-content;margin-top:5px;padding:3px 8px;font-size:.72rem;display:inline-flex}.supplier-status.status-1{background:var(--adaptive-surface-success,#dcfce7);color:var(--adaptive-text-success,#166534)}.supplier-status.status-2{background:var(--adaptive-surface-warning,#fef3c7);color:var(--adaptive-text-warning,#92400e)}.supplier-status.status-3{background:var(--adaptive-surface-warning,#ffedd5);color:var(--adaptive-text-danger,#9a3412)}.supplier-status.status-4,.supplier-status.status-5{background:var(--adaptive-surface-danger,#fee2e2);color:var(--adaptive-text-danger,#991b1b)}.validity.instant{background:var(--adaptive-surface-info,#ede9fe);color:var(--adaptive-text-violet,#6d28d9)}.validity.revoked,.validity.superseded{background:var(--adaptive-surface-neutral,#f1f5f9);color:var(--adaptive-text-info,#475569)}.pricing-decision-card{border:1px solid var(--adaptive-border-info,#d8e3ef);background:var(--adaptive-surface-neutral,#fbfdff);border-radius:14px;margin-top:14px;padding:13px}.pricing-decision-card>header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.pricing-decision-card h4{align-items:center;gap:7px;margin:0;display:flex}.pricing-decision-card p{color:var(--adaptive-text-info,#64748b);margin:4px 0 0;font-size:.83rem}.decision-summary{grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;margin-top:12px;display:grid}.decision-actions{justify-content:center;align-items:center;gap:6px;flex-direction:row!important;display:flex!important}.approval{border-radius:999px;width:max-content;padding:3px 8px;display:inline-flex}.approval.a-4{background:var(--adaptive-surface-success,#dcfce7);color:var(--adaptive-text-success,#166534)}.approval.a-5{background:var(--adaptive-surface-danger,#fee2e2);color:var(--adaptive-text-danger,#991b1b)}.approval.a-2,.approval.a-3{background:var(--adaptive-surface-warning,#fef3c7);color:var(--adaptive-text-warning,#92400e)}.approval.a-1{background:var(--adaptive-surface-neutral,#e2e8f0);color:var(--adaptive-text-info,#475569)}.board-filters{grid-template-columns:1fr 220px;gap:10px;margin-bottom:12px;display:grid}.quick-validity{flex-wrap:wrap;align-items:end;gap:7px;display:flex}.quick-validity>button{background:var(--adaptive-surface-info,#eff6ff);color:var(--adaptive-text-info,#1d4ed8);border:1px solid var(--adaptive-border-info,#bfdbfe);border-radius:9px;padding:8px 11px}.quick-validity label{min-width:150px}.standalone-lines{flex-direction:column;gap:10px;display:flex}.sub-card{border:1px solid var(--adaptive-border-info,#dbe4ef);background:var(--adaptive-surface-neutral,#f8fafc);border-radius:12px;padding:12px}.sub-card>header{justify-content:space-between;align-items:center;margin-bottom:10px;display:flex}.line-fields{flex-direction:column;gap:10px;display:flex}.info-note{background:var(--adaptive-surface-info,#eff6ff);border:1px solid var(--adaptive-border-info,#bfdbfe);color:var(--adaptive-text-info,#1e40af);border-radius:10px;padding:10px 12px}.pricing-modal{max-width:min(900px,95vw)}@media (width<=900px){.price-metrics,.decision-summary{grid-template-columns:1fr 1fr}.board-filters{grid-template-columns:1fr}.pricing-decision-card>header{flex-direction:column}}@media (width<=600px){.price-metrics,.decision-summary{grid-template-columns:1fr}}.role-checkbox-group{border:1px solid var(--adaptive-border-info,#dbe3ef);background:var(--adaptive-surface-neutral,#f8fafc);border-radius:12px;flex-wrap:wrap;grid-column:1/-1;gap:10px 18px;padding:12px 14px;display:flex}.role-checkbox-group legend{color:var(--adaptive-text-info,#263b74);padding:0 7px;font-weight:800}.role-checkbox-group .check{grid-auto-flow:column;align-items:center;gap:7px;font-weight:600;display:inline-flex}.role-checkbox-group small{color:var(--adaptive-text-info,#748197);flex-basis:100%;font-weight:400}.inquiry-suppliers-card{border:1px solid var(--adaptive-border-info,#dbe4ef);background:var(--adaptive-surface-neutral,#fbfdff);border-radius:14px;margin:13px 0;padding:13px}.inquiry-suppliers-card>header,.standalone-suppliers-editor>.section-title{justify-content:space-between;align-items:center;gap:12px;display:flex}.supplier-target-list{gap:9px;margin-top:10px;display:grid}.supplier-target-list article{border:1px solid var(--adaptive-border-neutral,#e3e8f0);background:var(--adaptive-surface-neutral,#fff);border-radius:11px;grid-template-columns:minmax(180px,1.3fr) repeat(3,minmax(120px,.7fr)) auto;align-items:center;gap:9px;padding:10px;display:grid}.standalone-suppliers-editor{border:1px solid var(--adaptive-border-info,#dbe4ef);background:var(--adaptive-surface-neutral,#f8fafc);border-radius:13px;padding:13px}.supplier-draft-row{border-bottom:1px solid var(--adaptive-border-neutral,#e4e9f1);grid-template-columns:32px repeat(5,minmax(130px,1fr)) auto;align-items:end;gap:9px;padding:11px 0;display:grid}.supplier-draft-row:last-child{border-bottom:0}.supplier-draft-row>b{color:#fff;background:#263b80;border-radius:8px;place-items:center;width:28px;height:28px;margin-bottom:6px;display:grid}@media (width<=1050px){.supplier-target-list article{grid-template-columns:1fr 1fr}.supplier-draft-row{grid-template-columns:32px 1fr 1fr}}@media (width<=650px){.inquiry-suppliers-card>header,.standalone-suppliers-editor>.section-title{flex-direction:column;align-items:flex-start}.supplier-target-list article,.supplier-draft-row{grid-template-columns:1fr}.supplier-draft-row>b{margin-bottom:0}}.module-purchases{--module-color:#0f766e}.main-module-nav button[data-module=purchases]{--nav-color:#0f766e}.purchase-order-module{gap:16px;display:grid}.purchase-create-card{border:1px solid var(--adaptive-border-info,#dbe4ea);background:var(--adaptive-surface-neutral,#fff);border-top:4px solid #0f766e;border-radius:17px;gap:14px;padding:18px;display:grid;box-shadow:0 8px 24px #0f766e0f}.purchase-create-card>div h2{align-items:center;gap:9px;margin:0 0 5px;display:flex}.purchase-create-card>div p{color:var(--adaptive-text-info,#64748b);margin:0}.purchase-create-card form{grid-template-columns:minmax(260px,1.5fr) minmax(220px,1fr) auto;align-items:end;gap:10px;display:grid}.purchase-workspace{grid-template-columns:300px minmax(0,1fr);align-items:start;gap:14px;display:grid}.purchase-list,.purchase-detail{border:1px solid var(--adaptive-border-info,#dbe4ea);background:var(--adaptive-surface-neutral,#fff);border-radius:16px}.purchase-list{gap:10px;padding:13px;display:grid;position:sticky;top:12px}.purchase-list>header{justify-content:space-between;align-items:center;display:flex}.purchase-list>header h3{margin:0}.purchase-list>header button{padding:7px}.purchase-list>div{gap:7px;max-height:690px;display:grid;overflow-y:auto}.purchase-list>div>button{border:1px solid var(--adaptive-border-neutral,#e2e8f0);background:var(--adaptive-surface-neutral,#f8fafc);width:100%;color:var(--adaptive-text-info,#172033);text-align:right;border-radius:11px;gap:4px;padding:11px;display:grid}.purchase-list>div>button.active{background:var(--adaptive-surface-success,#ecfdf8);border-color:#0f766e;border-right-style:solid;border-right-width:5px}.purchase-list span,.purchase-list small{color:var(--adaptive-text-info,#64748b)}.purchase-detail{min-height:300px;padding:17px}.purchase-detail>header{border-bottom:1px solid var(--adaptive-border-neutral,#e2e8f0);justify-content:space-between;align-items:start;gap:12px;padding-bottom:14px;display:flex}.purchase-detail>header h2{margin:4px 0}.purchase-header-actions,.purchase-status-actions{flex-wrap:wrap;gap:8px;display:flex}.purchase-header-actions button,.purchase-status-actions button,.purchase-lines section>button{align-items:center;gap:7px;display:inline-flex}.purchase-kpis{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0;display:grid}.purchase-kpis>div{border:1px solid var(--adaptive-border-neutral,#dce7e4);background:var(--adaptive-surface-neutral,#f3fbf9);border-radius:12px;gap:5px;padding:13px;display:grid}.purchase-kpis span,.purchase-kpis small{color:var(--adaptive-text-info,#64748b)}.purchase-kpis b{color:var(--adaptive-text-info,#115e59);font-size:19px}.purchase-status-actions{border-block:1px dashed #dbe4ea;padding:12px 0}.purchase-quick-action{border:1px solid var(--adaptive-border-success,#b7ebc9);background:var(--adaptive-surface-neutral,#f2fbf5);border-radius:12px;justify-content:space-between;align-items:center;gap:12px;padding:13px;display:flex}.purchase-quick-action>div{align-items:center;gap:9px;display:flex}.purchase-quick-action p{gap:3px;margin:0;display:grid}.purchase-quick-action span{color:var(--adaptive-text-info,#64748b);font-size:11px}.purchase-technical-steps{border:1px solid var(--adaptive-border-info,#dbe4ea);border-radius:10px;margin-top:10px;padding:9px 11px}.purchase-technical-steps summary{cursor:pointer;color:var(--adaptive-text-info,#526078);font-size:12px;font-weight:750}.purchase-lines{gap:11px;margin-top:14px;display:grid}.purchase-lines>section{border:1px solid var(--adaptive-border-info,#dbe4ea);border-radius:13px;gap:10px;padding:13px;display:grid}.purchase-lines>section>header{justify-content:space-between;gap:12px;display:flex}.purchase-lines>section>header>div{gap:4px;display:grid}.purchase-lines small{color:var(--adaptive-text-info,#64748b)}.receipt-progress{background:var(--adaptive-surface-neutral,#e2e8f0);border-radius:999px;height:8px;overflow:hidden}.receipt-progress span{border-radius:inherit;background:#0f766e;height:100%;display:block}.receipt-history{border-top:1px dashed var(--adaptive-border-info,#dbe4ea);gap:6px;padding-top:8px;display:grid}.receipt-history>div{background:var(--adaptive-surface-neutral,#f8fafc);border-radius:9px;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;padding:8px;display:grid}.receipt-history>div.reversal{background:var(--adaptive-surface-neutral,#fff1f2);color:var(--adaptive-text-violet,#9f1239);text-decoration:line-through}.receipt-history button{padding:6px 8px}.purchase-receipt-modal{max-width:780px}.purchase-receipt-modal form{gap:12px;display:grid}.purchase-receipt-modal .two-column{grid-template-columns:1fr 1fr;gap:10px;display:grid}.purchase-receipt-modal .variance-approval{border:1px solid var(--adaptive-border-warning,#f1c36d);background:var(--adaptive-surface-warning,#fff8e8);border-radius:10px;grid-template-columns:auto 1fr;align-items:start;padding:11px 12px}.purchase-receipt-modal .variance-approval input{margin-top:3px}.purchase-receipt-modal .variance-approval small{color:var(--adaptive-text-warning,#7c5a16);grid-column:2;font-weight:500;line-height:1.7}.price-correction-safe{border:1px solid var(--adaptive-border-success,#8ac6a2);background:var(--adaptive-surface-neutral,#eefaf3);color:var(--adaptive-text-success,#17633a);border-radius:11px;align-items:flex-start;gap:9px;padding:12px 13px;display:flex}.price-correction-safe>div{gap:4px;display:grid}.price-correction-safe span{line-height:1.7}.price-correction-comparison{grid-template-columns:1fr 1fr;gap:9px;margin-bottom:12px;display:grid}.price-correction-comparison span{border:1px solid var(--adaptive-border-info,#dbe4ef);background:var(--adaptive-surface-neutral,#f7f9fc);color:var(--adaptive-text-info,#64748b);border-radius:10px;gap:5px;padding:11px;display:grid}.price-correction-comparison b{color:var(--adaptive-text-info,#14213d);font-size:1.05rem}.correction-modal .variance-approval{border:1px solid var(--adaptive-border-warning,#f1c36d);background:var(--adaptive-surface-warning,#fff8e8);border-radius:10px;grid-template-columns:auto 1fr;align-items:start;padding:11px;display:grid}.finance-entry-modal{width:min(820px,100%)}.finance-entry-modal .modal-header>div{gap:3px;display:grid}.finance-entry-modal .modal-header small{color:var(--adaptive-text-info,#667085)}.finance-entry-modal>.inline-feedback{margin:14px 20px 0}.finance-entry-modal .modal-form{max-height:calc(92vh - 90px);overflow-y:auto}@media (width<=1000px){.purchase-create-card form,.purchase-workspace{grid-template-columns:1fr}.purchase-list{position:static}.purchase-list>div{max-height:330px}}@media (width<=650px){.purchase-kpis,.purchase-receipt-modal .two-column{grid-template-columns:1fr}.purchase-detail>header,.purchase-lines>section>header{flex-direction:column}.receipt-history>div{grid-template-columns:1fr}}.form-warning{border:1px solid var(--adaptive-border-warning,#f6c56f);background:var(--adaptive-surface-warning,#fff8e6);color:var(--adaptive-text-warning,#7a4b00);border-radius:10px;margin:0;padding:10px 12px;font-size:.84rem;line-height:1.8}.profile-completion{border:1px solid var(--adaptive-border-info,#cdd9ee);background:var(--adaptive-surface-neutral,#f4f7ff);color:var(--adaptive-text-info,#30498f);border-radius:999px;align-items:center;gap:9px;margin-top:9px;padding:7px 11px;display:inline-flex}.profile-completion b{font-size:.92rem}.profile-completion span{font-size:.78rem}.completion-chip{border-radius:999px;justify-content:center;min-width:52px;padding:4px 8px;font-size:.76rem;font-weight:800;display:inline-flex}.completion-low{background:var(--adaptive-surface-danger,#fee2e2);color:var(--adaptive-text-danger,#991b1b)}.completion-medium{background:var(--adaptive-surface-warning,#fef3c7);color:var(--adaptive-text-warning,#92400e)}.completion-high{background:var(--adaptive-surface-success,#dcfce7);color:var(--adaptive-text-success,#166534)}.reminder-center-shell{display:inline-flex}.reminder-bell-button{border:1px solid var(--adaptive-border-info,#cdd8ec);white-space:nowrap;align-items:center;gap:7px;display:inline-flex;position:relative;background:var(--adaptive-surface-neutral,#f4f7ff)!important;color:var(--adaptive-text-info,#294687)!important}.reminder-bell-button.has-reminders{border-color:var(--adaptive-border-warning,#f2b94b);background:var(--adaptive-surface-warning,#fff7df)!important;color:var(--adaptive-text-warning,#8a5a00)!important}.reminder-bell-button b{color:#fff;background:#c13b35;border-radius:999px;place-items:center;min-width:21px;height:21px;padding:0 5px;font-size:11px;display:inline-grid}.reminder-center-backdrop{overscroll-behavior:contain;padding:max(10px, env(safe-area-inset-top)) 18px 18px;align-items:start;overflow-y:auto}.reminder-center-modal{flex-direction:column;width:min(1120px,100%);height:min(860px,100dvh - 36px);min-height:min(620px,100dvh - 36px);max-height:calc(100dvh - 36px);margin-block:auto;display:flex;overflow:hidden}.reminder-view-switch,.party-mode-selector{align-items:center;gap:5px;display:inline-flex}.reminder-view-switch{border:1px solid var(--adaptive-border-info,#d9e2ee);background:var(--adaptive-surface-neutral,#f3f6fa);border-radius:12px;margin:12px 18px 0;padding:4px}.reminder-view-switch button,.party-mode-selector button{color:var(--adaptive-text-info,#536179);box-shadow:none;background:0 0;border:1px solid #0000;justify-content:center;align-items:center;gap:6px;display:inline-flex}.reminder-view-switch button.active,.party-mode-selector button.active{border-color:var(--adaptive-border-success,#7cc8a4);background:var(--adaptive-surface-success,#e7f7ef);color:var(--adaptive-text-success,#146b45);box-shadow:0 3px 10px #146b451f}.party-mode-selector{border:1px solid var(--adaptive-border-info,#d9e2ee);background:var(--adaptive-surface-neutral,#f3f6fa);border-radius:12px;width:100%;padding:4px}.party-mode-selector button{flex:1;min-height:42px}.party-mode-current{color:var(--adaptive-text-info,#64748b);margin:-4px 0 8px;font-size:12px}.party-mode-current b{color:var(--adaptive-text-success,#146b45)}.cadence-step-badge{background:var(--adaptive-surface-info,#eee9ff);border-radius:999px;width:max-content;padding:4px 9px;font-weight:800;display:inline-flex;color:var(--adaptive-text-info,#6342a8)!important}.cadence-auto-next{border:1px solid var(--adaptive-border-info,#c9bdf0);background:var(--adaptive-surface-neutral,#f6f3ff);color:var(--adaptive-text-info,#594092);border-radius:11px;align-items:center;gap:8px;padding:11px 13px;display:flex}.company-view-switch{border:1px solid var(--adaptive-border-info,#d9e2ee);background:var(--adaptive-surface-neutral,#f3f6fa);border-radius:10px;gap:4px;padding:3px;display:inline-flex}.company-view-switch button{color:var(--adaptive-text-info,#59677d);box-shadow:none;background:0 0;border:0;align-items:center;gap:5px;padding:7px 10px;display:inline-flex}.company-view-switch button.active{background:var(--adaptive-surface-neutral,#fff);color:var(--adaptive-text-info,#244c92);box-shadow:0 2px 8px #1f3a6921}.module-companies{max-width:none}.board-scroll-hint{color:var(--adaptive-text-info,#667085);margin:4px 2px 8px;font-size:11px}.company-stage-board{overscroll-behavior:contain;scrollbar-gutter:stable;scrollbar-width:auto;grid-auto-columns:minmax(270px,310px);grid-auto-flow:column;align-items:stretch;gap:12px;height:clamp(470px,68dvh,760px);padding:5px 2px 12px;display:grid;overflow:auto}.company-stage-board::-webkit-scrollbar{width:13px;height:13px}.company-stage-board::-webkit-scrollbar-thumb{background:#8494ad padding-box padding-box;border:3px solid #0000;border-radius:999px}.company-stage-column{border:1px solid var(--adaptive-border-info,#dce4ee);background:var(--adaptive-surface-neutral,#f6f8fb);border-top:4px solid #6d8ed1;border-radius:14px;grid-template-rows:auto minmax(0,1fr);height:100%;min-height:0;padding:10px;transition:background .15s,border-color .15s;display:grid}.company-stage-column.drag-over{background:var(--adaptive-surface-neutral,#eaf8f0);border-color:#2e9b68}.company-stage-column>header{border-bottom:1px solid var(--adaptive-border-info,#dce4ee);justify-content:space-between;align-items:center;margin-bottom:9px;padding:2px 3px 9px;display:flex}.company-stage-column>header b{background:var(--adaptive-surface-info,#e5ebf5);min-width:26px;height:26px;color:var(--adaptive-text-info,#41516b);border-radius:999px;place-items:center;display:inline-grid}.company-stage-column>div{overscroll-behavior:contain;align-content:start;gap:9px;min-height:0;padding-inline-end:3px;display:grid;overflow-y:auto}.company-stage-card{border:1px solid var(--adaptive-border-neutral,#dfe5ed);background:var(--adaptive-surface-neutral,#fff);cursor:grab;border-radius:12px;gap:6px;padding:11px;display:grid;box-shadow:0 3px 10px #1e32500f}.company-stage-card:active{cursor:grabbing}.company-stage-card-title{color:var(--adaptive-text-info,#183f7a);text-align:right;box-shadow:none;background:0 0;border:0;padding:0;font-weight:850}.company-stage-card small,.company-stage-card p{color:var(--adaptive-text-info,#68768a);margin:0;font-size:11px}.company-stage-card>span{background:var(--adaptive-surface-info,#eef2ff);width:max-content;color:var(--adaptive-text-info,#405493);border-radius:999px;padding:3px 7px;font-size:10px}.company-stage-card label{color:var(--adaptive-text-info,#667085);gap:4px;margin-top:3px;font-size:10px;display:grid}.company-stage-card select{min-height:34px;padding:5px 8px;font-size:11px}.empty-stage{border:1px dashed var(--adaptive-border-info,#cbd5e1);min-height:85px;color:var(--adaptive-text-info,#8995a6);text-align:center;border-radius:10px;place-items:center;padding:10px;font-size:11px;display:grid}.board-load-more{border:1px solid var(--adaptive-border-info,#bdd0ec);background:var(--adaptive-surface-info,#edf4ff);width:100%;color:var(--adaptive-text-info,#24558f);padding:9px;position:sticky;bottom:0;box-shadow:0 -5px 12px #f6f8fbeb}.stage-undo-toast{z-index:1300;border:1px solid var(--adaptive-border-success,#9fc6ae);color:#fff;background:#173c2b;border-radius:12px;align-items:center;gap:10px;max-width:min(560px,100vw - 32px);padding:11px 14px;display:flex;position:fixed;bottom:24px;left:24px;box-shadow:0 16px 40px #0000003d}.stage-undo-toast button{background:var(--adaptive-surface-neutral,#fff);color:var(--adaptive-text-success,#173c2b);padding:6px 9px}.company-board-drawer-backdrop{z-index:1250;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#0f172a47;position:fixed;inset:0}.company-board-drawer{inset-block:0;background:var(--surface,#fff);border-left:1px solid var(--border,#dbe3ef);width:min(430px,92vw);padding:22px;animation:.18s ease-out company-drawer-in;position:absolute;right:0;overflow-y:auto;box-shadow:-18px 0 48px #0f172a2e}@keyframes company-drawer-in{0%{opacity:.65;transform:translate(28px)}}.company-board-drawer>header{border-bottom:1px solid var(--border,#e2e8f0);justify-content:space-between;align-items:flex-start;gap:12px;padding-bottom:16px;display:flex}.company-board-drawer h3{margin:4px 0;font-size:1.2rem}.company-board-drawer header p,.company-board-drawer header small{color:var(--muted,#64748b);margin:0}.company-board-drawer-stage{background:var(--soft-surface,#f4f7fb);border-radius:12px;gap:7px;margin:18px 0;padding:14px;display:grid}.company-board-drawer-stage span{color:var(--muted,#64748b);font-size:.78rem}.company-board-drawer dl{grid-template-columns:1fr 1fr;gap:10px;margin:0;display:grid}.company-board-drawer dl div{border:1px solid var(--border,#e2e8f0);border-radius:11px;min-width:0;padding:12px}.company-board-drawer dt{color:var(--muted,#64748b);margin-bottom:5px;font-size:.76rem}.company-board-drawer dd{overflow-wrap:anywhere;margin:0;font-weight:700}.company-board-drawer-tags{flex-wrap:wrap;gap:6px;margin-top:14px;display:flex}.company-board-drawer-tags span{background:var(--adaptive-surface-info,#e8efff);color:var(--adaptive-text-info,#24438b);border-radius:999px;padding:5px 9px;font-size:.76rem}.company-board-drawer footer{border-top:1px solid var(--border,#e2e8f0);flex-wrap:wrap;gap:8px;margin-top:22px;padding-top:16px;display:flex}[data-theme=dark] .company-board-drawer{background:#111b2e}[data-theme=dark] .company-board-drawer-stage{background:#19253a}[data-theme=dark] .company-stage-column{background:#111c2e;border-color:#34445d}[data-theme=dark] .company-stage-card,[data-theme=dark] .company-view-switch button.active{color:#e6eefb;background:#1a2940;border-color:#34445d}[data-theme=dark] .company-stage-card-title{color:#a9c9ff}[data-theme=dark] .reminder-view-switch,[data-theme=dark] .party-mode-selector,[data-theme=dark] .company-view-switch{background:#111c2e;border-color:#34445d}.reminder-center-modal .modal-header{align-items:flex-start}.reminder-center-modal .modal-header h2{align-items:center;gap:8px;display:flex}.reminder-center-modal .modal-header p{margin:5px 0 0}.browser-notification-banner{border:1px solid var(--adaptive-border-info,#c9d8f0);background:var(--adaptive-surface-neutral,#f4f8ff);color:var(--adaptive-text-info,#274477);border-radius:12px;grid-template-columns:auto 1fr auto;align-items:center;gap:11px;margin:15px 18px 0;padding:12px 14px;display:grid}.browser-notification-banner div{gap:3px;display:grid}.browser-notification-banner small{color:var(--adaptive-text-info,#697891);line-height:1.6}.reminder-center-list{flex:1;align-content:start;gap:10px;min-height:250px;padding:16px 18px 20px;display:grid;overflow-y:auto}.reminder-center-modal>.empty-mini{border:1px dashed var(--adaptive-border-info,#ccd7e6);border-radius:14px;flex:1;place-items:center;min-height:300px;margin:16px 18px 20px;display:grid}.reminder-center-item{border:1px solid var(--adaptive-border-info,#dfe5ee);background:var(--adaptive-surface-neutral,#fff);border-radius:13px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;padding:13px;display:grid}.reminder-center-item.unread{border-color:var(--adaptive-border-warning,#f0bd56);background:var(--adaptive-surface-warning,#fffaf0);box-shadow:inset -4px 0 #e7a72f}.reminder-center-content{gap:5px;display:grid}.reminder-center-content>span{color:var(--adaptive-text-info,#526078);font-size:.84rem}.reminder-center-content small{color:var(--adaptive-text-info,#64748b);align-items:center;gap:5px;display:inline-flex}.reminder-center-content p{color:var(--adaptive-text-info,#4b5563);margin:3px 0 0;line-height:1.7}.reminder-center-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:7px;max-width:360px;display:flex}@media (width<=760px){.reminder-center-backdrop{padding:8px}.reminder-center-modal{width:100%;height:calc(100dvh - 16px);min-height:min(520px,100dvh - 16px);max-height:calc(100dvh - 16px)}.reminder-view-switch{grid-template-columns:1fr 1fr;display:grid}.company-stage-board{grid-auto-columns:minmax(245px,86vw)}.stage-undo-toast{bottom:16px;left:16px;right:16px}.company-board-drawer{width:100%}.company-board-drawer dl{grid-template-columns:1fr}.reminder-center-shell{width:100%;margin-right:0}.reminder-bell-button{justify-content:center;width:100%}.browser-notification-banner{grid-template-columns:auto 1fr}.browser-notification-banner button{grid-column:1/-1}.reminder-center-item{grid-template-columns:1fr}.reminder-center-actions{justify-content:flex-start;max-width:none}}.product-category-card{margin-bottom:1rem}.compact-checks{border:1px solid var(--border);border-radius:12px;flex-wrap:wrap;gap:.45rem .9rem;padding:.8rem;display:flex}.compact-checks .check{min-width:120px}.product-filters{grid-template-columns:2fr 1fr;gap:.7rem;margin-bottom:.8rem;display:grid}.advanced-details{border:1px dashed var(--border);border-radius:12px;padding:.6rem .8rem}.advanced-details summary{cursor:pointer;color:var(--primary);font-weight:700}.dynamic-attributes{border:1px solid var(--border);border-radius:12px;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.65rem;padding:.8rem;display:grid}.dynamic-attributes legend{padding:0 .4rem;font-weight:800}.document-mode-tabs{gap:.5rem;margin-bottom:1rem;display:flex}.document-mode-tabs button{background:var(--adaptive-surface-neutral,#eef3f7);color:var(--adaptive-text-info,#243746)}.document-mode-tabs button.active{background:var(--primary);color:#fff}.document-list{gap:.55rem;max-height:330px;margin-top:1rem;display:grid;overflow:auto}.document-item{border:1px solid var(--border);background:var(--adaptive-surface-neutral,#fbfdff);border-radius:12px;justify-content:space-between;align-items:center;gap:1rem;padding:.8rem;display:flex}.document-item div:first-child{gap:.2rem;display:grid}.document-item span,.document-item small{color:var(--muted)}@media (width<=760px){.product-filters,.dynamic-attributes{grid-template-columns:1fr}.document-item{flex-direction:column;align-items:flex-start}}.form-help{background:var(--adaptive-surface-neutral,#f4f7fa);color:var(--adaptive-text-info,#536174);border-radius:10px;margin:.2rem 0;padding:.65rem .8rem;font-size:.88rem;line-height:1.8}.proforma-module{gap:14px;display:grid}.proforma-topbar{align-items:center}.proforma-topbar>div:first-child{gap:3px;display:grid}.proforma-topbar h2,.proforma-topbar p{margin:0}.proforma-layout{grid-template-columns:minmax(280px,.72fr) minmax(0,1.78fr);align-items:start;gap:14px;display:grid}.proforma-list-card,.proforma-detail-card{min-height:560px}.proforma-list-card{position:sticky;top:77px}.proforma-list{gap:8px;max-height:690px;padding-left:3px;display:grid;overflow:auto}.proforma-list-item{border:1px solid var(--adaptive-border-info,#dfe5ee);background:var(--adaptive-surface-neutral,#fff);width:100%;color:var(--adaptive-text-info,#172033);text-align:right;cursor:pointer;border-radius:12px;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;padding:11px 12px;display:grid}.proforma-list-item:hover{border-color:var(--adaptive-border-info,#9eb2d8);background:var(--adaptive-surface-neutral,#f8faff)}.proforma-list-item.active{background:var(--adaptive-surface-info,#edf3ff);border-color:#38579b;box-shadow:inset -4px 0 #38579b}.proforma-list-item>div:first-child{gap:4px;min-width:0;display:grid}.proforma-list-item strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.proforma-list-item span,.proforma-list-item small{color:var(--adaptive-text-info,#64748b)}.proforma-list-amount{white-space:nowrap;align-content:start;justify-items:end;gap:5px;display:grid}.proforma-list-amount b{color:var(--adaptive-text-info,#172554)}.proforma-list-amount small{font-size:.72rem}.proforma-status{white-space:nowrap;background:var(--adaptive-surface-neutral,#e2e8f0);width:max-content;color:var(--adaptive-text-info,#475569);border-radius:999px;justify-content:center;align-items:center;padding:4px 9px;font-size:.74rem;font-weight:800;display:inline-flex}.proforma-status.status-1{background:var(--adaptive-surface-neutral,#e2e8f0);color:var(--adaptive-text-info,#475569)}.proforma-status.status-2{background:var(--adaptive-surface-warning,#fef3c7);color:var(--adaptive-text-warning,#92400e)}.proforma-status.status-3{background:var(--adaptive-surface-info,#dbeafe);color:var(--adaptive-text-info,#1d4ed8)}.proforma-status.status-4{background:var(--adaptive-surface-info,#ede9fe);color:var(--adaptive-text-violet,#6d28d9)}.proforma-status.status-5{background:var(--adaptive-surface-warning,#ffedd5);color:var(--adaptive-text-danger,#9a3412)}.proforma-status.status-6{background:var(--adaptive-surface-success,#dcfce7);color:var(--adaptive-text-success,#166534)}.proforma-status.status-7,.proforma-status.status-9{background:var(--adaptive-surface-danger,#fee2e2);color:var(--adaptive-text-danger,#991b1b)}.proforma-status.status-8{background:var(--adaptive-surface-neutral,#f1f5f9);color:var(--adaptive-text-info,#475569)}.proforma-detail{gap:15px;display:grid}.proforma-detail>header{border-bottom:1px solid var(--adaptive-border-neutral,#e4e9f1);justify-content:space-between;align-items:flex-start;gap:16px;padding-bottom:13px;display:flex}.proforma-detail>header h2{margin:3px 0 5px}.proforma-header-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.proforma-meta-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;display:grid}.proforma-meta-grid>span{border:1px solid var(--adaptive-border-neutral,#e3e8f0);background:var(--adaptive-surface-neutral,#f8fafc);color:var(--adaptive-text-info,#475569);border-radius:10px;align-items:center;gap:7px;padding:9px 10px;display:inline-flex}.warning-text{color:var(--adaptive-text-warning,#9a6700)!important;background:var(--adaptive-surface-warning,#fff9e8)!important;border-color:var(--adaptive-border-warning,#f4cf70)!important}.danger-text{color:var(--adaptive-text-danger,#991b1b)!important;background:var(--adaptive-surface-neutral,#fff1f2)!important;border-color:var(--adaptive-border-danger,#fecdd3)!important}.proforma-lines-table table{min-width:790px}.proforma-lines-table td:nth-child(2){min-width:250px}.proforma-lines-table td:nth-child(2) strong,.proforma-lines-table td:nth-child(2) small{display:block}.proforma-lines-table td:nth-child(2) small{color:var(--adaptive-text-info,#64748b);margin-top:4px}.proforma-summary-grid{grid-template-columns:minmax(0,1.35fr) minmax(260px,.65fr);gap:13px;display:grid}.proforma-terms,.proforma-totals,.proforma-workflow{border:1px solid var(--adaptive-border-info,#dfe5ee);background:var(--adaptive-surface-neutral,#fbfdff);border-radius:13px;padding:13px}.proforma-terms h3,.proforma-workflow h3{margin:0 0 9px}.proforma-terms p{margin:5px 0;line-height:1.8}.proforma-totals{align-content:start;gap:2px;display:grid}.proforma-totals>span,.proforma-totals>strong{border-bottom:1px dotted var(--adaptive-border-info,#c8d0dc);justify-content:space-between;align-items:center;gap:12px;padding:7px 5px;display:flex}.proforma-totals>strong{background:var(--adaptive-surface-info,#eef4ff);color:var(--adaptive-text-info,#172554);border:2px solid #38579b;border-radius:10px;margin-top:5px}.proforma-totals>strong b{font-size:1.02rem}.workflow-actions{align-items:center}.send-action{align-items:center;gap:6px;display:inline-flex}.send-action select{min-width:125px}.success-button{color:#fff;background:#16834d}.warning-button{color:#fff;background:#a9690b}.editor-mode-tabs{flex-wrap:wrap;gap:7px;padding:15px 18px 0;display:flex}.editor-mode-tabs button{background:var(--adaptive-surface-neutral,#edf2f7);color:var(--adaptive-text-info,#334155);border:1px solid var(--adaptive-border-info,#d9e1eb);align-items:center;gap:6px;display:inline-flex}.editor-mode-tabs button.active{color:#fff;background:#30498f;border-color:#30498f}.editor-mode-intro{gap:4px;padding:15px 18px 0;display:grid}.editor-mode-intro span{color:var(--adaptive-text-info,#64748b);font-size:12px;line-height:1.7}.editor-mode-tabs.guided{grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.editor-mode-tabs.guided button{text-align:right;justify-content:flex-start;padding:11px 12px}.editor-mode-tabs.guided button>span{gap:2px;display:grid}.editor-mode-tabs.guided button small{color:inherit;opacity:.78;font-weight:500}.sales-flow-guide{border:1px solid var(--adaptive-border-info,#dbe5f2);background:var(--adaptive-surface-neutral,#fbfdff);border-radius:13px;align-items:center;gap:7px;margin-bottom:12px;padding:9px 12px;display:flex;overflow-x:auto}.sales-flow-guide span{white-space:nowrap;color:var(--adaptive-text-info,#64748b);align-items:center;gap:6px;font-size:12px;font-weight:700;display:inline-flex}.sales-flow-guide span b{background:var(--adaptive-surface-info,#e8eef7);width:23px;height:23px;color:var(--adaptive-text-info,#35527e);border-radius:50%;place-items:center;display:inline-grid}.sales-flow-guide span.active{color:var(--adaptive-text-info,#2457a6)}.sales-flow-guide span.active b{color:#fff;background:#316ee8}.sales-flow-guide i{color:var(--adaptive-text-info,#9aa8bb);font-style:normal}.smart-allocation{border:1px solid var(--adaptive-border-success,#b7dfc9);background:var(--adaptive-surface-neutral,#f2fbf6);color:var(--adaptive-text-success,#176b46);border-radius:11px;align-items:center;gap:10px;padding:12px;display:flex}.smart-allocation>div{gap:3px;display:grid}.smart-allocation span{color:var(--adaptive-text-success,#557565);font-size:12px}.allocation-details{margin:0}.allocation-details label{gap:6px;margin-top:10px;display:grid}@media (width<=760px){.editor-mode-tabs.guided{grid-template-columns:1fr}}.proforma-editor-modal{width:min(1120px,100vw - 28px);max-height:94vh;overflow:auto}.proforma-form{padding:2px 18px 20px}.proforma-form .form-section{border:1px solid var(--adaptive-border-info,#dfe5ee);background:var(--adaptive-surface-neutral,#fff);border-radius:14px;margin-top:15px;padding:14px}.proforma-form .form-section>h3,.proforma-form .section-title h3{color:var(--adaptive-text-info,#253b78);margin:0 0 11px}.proforma-form .two-column{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 13px;display:grid}.proforma-form label,.persian-date-field{color:var(--adaptive-text-info,#344054);gap:6px;font-size:.82rem;font-weight:750;display:grid}.proforma-form label>small{color:var(--adaptive-text-info,#64748b);font-weight:400;line-height:1.6}.proforma-form .full{grid-column:1/-1}.validity-box{gap:8px;display:grid}.persian-date-grid{grid-template-columns:repeat(3,minmax(70px,1fr)) minmax(95px,1.1fr);gap:7px;display:grid}.inquiry-proforma-preview{border:1px solid var(--adaptive-border-info,#bcd2f5);background:var(--adaptive-surface-info,#eff6ff);color:var(--adaptive-text-info,#1e3a8a);border-radius:11px;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;display:flex}.proforma-line-editors{gap:11px;display:grid}.proforma-line-editor{border:1px solid var(--adaptive-border-info,#dce4ef);background:var(--adaptive-surface-neutral,#f9fbfe);border-radius:13px;padding:12px}.proforma-line-editor>header{justify-content:space-between;align-items:center;margin-bottom:10px;display:flex}.proforma-line-grid{grid-template-columns:repeat(4,minmax(140px,1fr));align-items:end;gap:9px;display:grid}.proforma-line-grid .wide{grid-column:span 2}.proforma-line-grid .check{grid-auto-flow:column;justify-content:start;align-self:center;align-items:center;gap:7px;display:inline-flex}.line-live-total{border:1px solid var(--adaptive-border-info,#c7d7ed);background:var(--adaptive-surface-info,#eff6ff);color:var(--adaptive-text-info,#1e3a8a);border-radius:10px;gap:3px;padding:9px 11px;display:grid}.line-live-total span{font-size:.75rem}.proforma-final-grid{grid-template-columns:minmax(0,1.3fr) minmax(270px,.7fr);align-items:start;gap:13px;display:grid}.proforma-live-summary{border:1px solid var(--adaptive-border-info,#c8d7ed);background:var(--adaptive-surface-neutral,#f3f7ff);border-radius:12px;gap:2px;padding:11px;display:grid}.proforma-live-summary>span,.proforma-live-summary>strong{border-bottom:1px dotted var(--adaptive-border-info,#bdc8d8);justify-content:space-between;gap:10px;padding:6px 4px;display:flex}.proforma-live-summary>strong{color:#fff;background:#30498f;border:0;border-radius:9px;margin-top:4px;padding:9px}.proforma-form .advanced-details,.proforma-form .advanced-fields{margin-top:12px}.proforma-form textarea{resize:vertical;min-height:82px}.proforma-public-settings{border:1px solid var(--adaptive-border-info,#b8c6d4);background:var(--adaptive-surface-neutral,#f6f8fa);border-radius:13px;gap:11px;margin-top:14px;padding:13px;display:grid}.proforma-public-settings .signature-option{background:var(--adaptive-surface-neutral,#fff);border:1px solid var(--adaptive-border-info,#dce3eb);border-radius:10px;padding:9px 10px}.public-terms-preview{background:var(--adaptive-surface-neutral,#f1f4f7);white-space:pre-wrap;border-right:4px solid #13294b;padding:9px;margin-top:9px!important}.filter-row{grid-template-columns:1fr;gap:8px;margin-bottom:10px;display:grid}.search-field{position:relative}.search-field svg{color:var(--adaptive-text-info,#738198);pointer-events:none;position:absolute;top:50%;right:10px;transform:translateY(-50%)}.search-field input{padding-right:36px}@media (width<=1050px){.proforma-layout{grid-template-columns:1fr}.proforma-list-card{min-height:0;position:static}.proforma-list{max-height:330px}.proforma-line-grid{grid-template-columns:repeat(2,minmax(150px,1fr))}}@media (width<=760px){.proforma-detail>header,.proforma-topbar,.proforma-summary-grid,.proforma-final-grid{flex-direction:column;grid-template-columns:1fr;align-items:stretch}.proforma-header-actions{justify-content:flex-start}.proforma-meta-grid,.proforma-form .two-column,.proforma-line-grid,.filter-row{grid-template-columns:1fr}.proforma-form .full,.proforma-line-grid .wide{grid-column:auto}.persian-date-grid{grid-template-columns:repeat(2,1fr)}.proforma-list-item{grid-template-columns:1fr}.proforma-list-amount{justify-items:start}.send-action{flex-wrap:wrap;width:100%}}.administration-module{gap:16px;margin-top:22px;display:grid}.safety-overview,.section-heading,.button-row{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.section-heading{align-items:center;margin-bottom:14px}.section-heading h2,.section-heading h3,.safety-overview h2{margin:0}.button-row{flex-wrap:wrap;justify-content:flex-end}.button-row button,.section-heading button,.export-grid button,.asset-card button,.bank-card>button{justify-content:center;align-items:center;gap:6px;display:inline-flex}.primary-button{color:#fff;background:#13294b;justify-content:center;align-items:center;gap:7px;display:inline-flex}.stack-form{gap:16px;display:grid}.stack-form label{gap:7px;font-size:13px;font-weight:750;display:grid}.form-grid{gap:12px;display:grid}.form-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.form-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.form-grid .full{grid-column:1/-1}.brand-settings-grid{grid-template-columns:repeat(3,minmax(150px,1fr));gap:12px;display:grid}.brand-settings-grid label{border:1px solid var(--adaptive-border-info,#dfe5ee);border-radius:12px;grid-template-columns:1fr 64px;align-items:center;padding:10px 12px}.brand-settings-grid input[type=color]{min-height:42px;padding:3px}.asset-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.asset-card{border:1px solid var(--adaptive-border-info,#dce4ee);background:var(--adaptive-surface-neutral,#f8fafc);border-radius:14px;align-content:start;gap:10px;padding:14px;display:grid}.asset-card b{align-items:center;gap:7px;display:flex}.asset-card img{object-fit:contain;background:var(--adaptive-surface-neutral,#fff);border:1px solid var(--adaptive-border-neutral,#e3e8ef);border-radius:10px;width:100%;height:135px}.asset-card p{color:var(--adaptive-text-info,#667085);margin:0;line-height:1.8}.bank-list{gap:12px;display:grid}.bank-card{border:1px solid var(--adaptive-border-info,#dce3ed);background:var(--adaptive-surface-neutral,#fbfdff);border-radius:14px;padding:14px}.bank-card>button{margin-top:10px}.checkbox-stack{align-content:center;gap:8px;display:grid}.checkbox-label{flex-direction:row;align-items:center;grid-template-columns:none!important;gap:8px!important;display:flex!important}.checkbox-label input{width:auto}.status-chip{background:var(--adaptive-surface-neutral,#eaf0f6);color:var(--adaptive-text-info,#34495e);border-radius:999px;padding:6px 11px;font-size:12px;font-weight:800}.export-grid{grid-template-columns:repeat(4,minmax(150px,1fr));gap:9px;margin-top:14px;display:grid}.export-grid button{background:var(--adaptive-surface-neutral,#eef3f7);color:var(--adaptive-text-info,#13294b);border:1px solid var(--adaptive-border-info,#d8e1ea)}.warning-note{background:var(--adaptive-surface-warning,#fff8e8);color:var(--adaptive-text-warning,#7b5810);border:1px solid var(--adaptive-border-warning,#f1d79d);border-radius:11px;padding:10px 12px;line-height:1.8}.empty-note{color:var(--adaptive-text-info,#667085);text-align:center;border:1px dashed var(--adaptive-border-info,#cdd6e1);border-radius:11px;padding:12px}.compact-table{max-height:420px}.administration-module tbody tr{cursor:default}.preview-tabs{flex-wrap:wrap;gap:7px;display:flex}.preview-tabs button{background:var(--adaptive-surface-neutral,#eef3f7);color:var(--adaptive-text-info,#334155);border:1px solid var(--adaptive-border-info,#d7e0ea)}.preview-tabs button.active{color:#fff;background:#13294b;border-color:#13294b}.organization-document-preview{--preview-primary:#13294b;--preview-accent:#b8c6d4;border:1px solid var(--adaptive-border-info,#d5dde7);border-top:10px solid var(--preview-primary);background:var(--adaptive-surface-neutral,#fff);border-radius:5px;grid-template-rows:auto auto 1fr auto auto;gap:16px;width:min(900px,100%);min-height:480px;margin:0 auto;padding:28px;display:grid;box-shadow:0 12px 32px #0f172a1a}.organization-document-preview>header,.organization-document-preview>footer,.preview-brand,.preview-contact-strip{justify-content:space-between;align-items:center;gap:15px;display:flex}.preview-brand{justify-content:flex-start}.preview-brand img,.preview-logo-placeholder{object-fit:contain;width:88px;height:68px}.preview-logo-placeholder{border:1px dashed var(--adaptive-border-info,#9ca9b8);color:var(--adaptive-text-info,#738095);border-radius:8px;place-items:center;display:grid}.preview-brand h3{color:var(--preview-primary);margin:0 0 4px;font-size:1.3rem}.preview-brand small{color:var(--adaptive-text-info,#667085);letter-spacing:.06em}.preview-document-title{justify-items:end;gap:4px;display:grid}.preview-document-title b{color:var(--preview-primary);font-size:1.05rem}.preview-contact-strip{background:color-mix(in srgb, var(--preview-accent) 24%, white);border-radius:8px;flex-wrap:wrap;justify-content:center;padding:8px 10px;font-size:.78rem}.preview-body{padding:18px 0}.preview-table{border:1px solid var(--adaptive-border-info,#cfd8e3);grid-template-columns:2fr repeat(3,1fr);display:grid}.preview-table>*{border-left:1px solid var(--adaptive-border-info,#d8e0e9);border-bottom:1px solid var(--adaptive-border-info,#d8e0e9);padding:10px}.preview-table>b{color:#fff;background:var(--preview-primary)}.preview-writing-lines{border-top:1px solid var(--adaptive-border-info,#d9e0e8);border-bottom:1px solid var(--adaptive-border-info,#d9e0e8);height:90px;margin-top:24px}.preview-writing-lines.short{height:45px;margin-top:18px}.preview-bank{border-right:4px solid var(--preview-primary);background:var(--adaptive-surface-neutral,#f4f7fa);padding:10px 12px}.organization-document-preview>footer{border-top:2px solid var(--preview-primary);color:var(--adaptive-text-info,#475467);align-items:flex-end;padding-top:12px;font-size:.78rem}.organization-document-preview>footer span{max-width:70%}.quick-quote-panel{border:1px solid var(--adaptive-border-info,#b8cbe1);background:var(--adaptive-surface-neutral,#f5f8fc);border-right:5px solid #13294b;border-radius:12px;margin:4px 0 13px;padding:12px}.quick-quote-panel>header,.quick-quote-panel.empty{justify-content:space-between;align-items:center;gap:12px;display:flex}.quick-quote-panel>header{margin-bottom:11px}.quick-quote-panel>header>div,.quick-quote-panel.empty>div{gap:4px;display:grid}.quick-quote-panel b{color:var(--adaptive-text-info,#13294b);align-items:center;gap:7px;display:inline-flex}.quick-quote-panel small,.quick-quote-panel p{color:var(--adaptive-text-info,#667085);margin:0}.quick-quote-panel form{grid-template-columns:minmax(160px,1.3fr) repeat(4,minmax(110px,.8fr)) minmax(160px,1fr) auto;align-items:end;gap:8px;display:grid}.quick-quote-panel form label{color:var(--adaptive-text-info,#475467);gap:5px;font-size:.75rem;font-weight:750;display:grid}.quick-quote-panel form button{white-space:nowrap;min-height:41px}.quick-quote-panel .inquiry-item-picker{grid-column:span 2;min-width:260px}.inquiry-item-results>button>span{align-items:center;gap:7px;min-width:0;display:flex}.inquiry-item-results>button em{background:var(--adaptive-surface-neutral,#edf3fb);color:var(--adaptive-text-info,#3455b2);border-radius:999px;flex:none;padding:2px 6px;font-size:9px;font-style:normal;font-weight:750}.registry-verification-card{border-top:5px solid #243b80;margin-top:20px}.registry-verification-card>header{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:18px;display:flex}.registry-verification-card>header h2{margin:4px 0 7px}.registry-verification-card>header p{color:var(--adaptive-text-info,#667085);margin:0}.registry-last-check{border:1px solid var(--adaptive-border-success,#b7ebc9);background:var(--adaptive-surface-success,#ecfdf3);min-width:220px;color:var(--adaptive-text-success,#17633b);border-radius:12px;grid-template-columns:auto 1fr;align-items:center;gap:3px 8px;padding:11px 13px;display:grid}.registry-last-check svg{grid-row:span 3}.registry-last-check b,.registry-last-check small{grid-column:2}.registry-steps{background:var(--adaptive-surface-neutral,#f5f7fb);border-radius:12px;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:14px;padding:12px;display:flex}.registry-steps>div{color:var(--adaptive-text-info,#475467);align-items:center;gap:7px;display:flex}.registry-steps>div b{color:#fff;background:#243b80;border-radius:50%;place-items:center;width:27px;height:27px;display:grid}.button-link{color:#fff;background:#243b80;border-radius:10px;align-items:center;gap:7px;padding:11px 16px;font-weight:800;text-decoration:none;display:inline-flex}.registry-official-link{align-items:center;text-decoration:none;display:inline-flex}.registry-paste-box{gap:7px;font-size:13px;font-weight:800;display:grid}.registry-paste-box>span{align-items:center;gap:7px;display:flex}.registry-paste-box textarea{direction:rtl;min-height:135px}.registry-verification-card .button-row{flex-wrap:wrap;gap:9px;margin:10px 0 18px;display:flex}.registry-source-grid{grid-template-columns:1fr 1.4fr;gap:12px;margin:12px 0;display:grid}.registry-source-grid label{gap:6px;font-size:12px;font-weight:800;display:grid}.registry-identity-check{border:1px solid var(--adaptive-border-warning,#efc45f);background:var(--adaptive-surface-warning,#fffbeb);border-radius:12px;gap:12px;margin:4px 0 16px;padding:14px;display:grid}.registry-identity-check.matched{border-color:var(--adaptive-border-success,#8bd3a8);background:var(--adaptive-surface-success,#ecfdf3)}.registry-identity-title{color:var(--adaptive-text-warning,#835a00);align-items:flex-start;gap:9px;display:flex}.registry-identity-check.matched .registry-identity-title{color:var(--adaptive-text-success,#17633b)}.registry-identity-title>div{gap:4px;display:grid}.registry-identity-title strong{font-size:14px}.registry-identity-title small{color:var(--adaptive-text-info,#667085);line-height:1.8}.registry-identity-grid{grid-template-columns:1fr 1fr;gap:10px;display:grid}.registry-identity-grid>div{background:#ffffffb8;border:1px solid #11182717;border-radius:10px;gap:5px;padding:11px;display:grid}.registry-identity-grid small{color:var(--adaptive-text-info,#667085)}.registry-identity-grid b{color:var(--adaptive-text-info,#13294b);overflow-wrap:anywhere}.registry-identity-grid span{color:var(--adaptive-text-info,#475467);font-size:12px}.registry-hard-warning{background:var(--adaptive-surface-danger,#fff0f0);color:var(--adaptive-text-danger,#a12828);border-radius:9px;margin:0;padding:9px 11px;font-size:12px;font-weight:800}.registry-identity-confirm{color:var(--adaptive-text-warning,#684900);align-items:flex-start;gap:8px;margin:0;font-size:12px;font-weight:800;line-height:1.8;display:flex}.registry-identity-confirm input{width:auto;margin-top:4px}.registry-compare-header,.registry-compare-row{grid-template-columns:72px minmax(180px,.9fr) minmax(220px,1.2fr);align-items:start;gap:12px;display:grid}.registry-compare-header{color:#fff;background:#243b80;border-radius:10px 10px 0 0;padding:10px 12px;font-size:12px;font-weight:800}.registry-compare-row{border:1px solid var(--adaptive-border-neutral,#e4e7ec);background:var(--adaptive-surface-neutral,white);border-top:0;padding:12px;position:relative}.registry-compare-row.conflict{background:var(--adaptive-surface-warning,#fffbeb);border-color:var(--adaptive-border-warning,#f2ce75)}.registry-compare-row>div,.registry-compare-row>label:not(.registry-apply-check){gap:5px;margin:0;display:grid}.registry-compare-row small{color:var(--adaptive-text-info,#667085)}.registry-compare-row strong{background:var(--adaptive-surface-neutral,#f7f8fa);overflow-wrap:anywhere;white-space:pre-wrap;border:1px solid #0000;border-radius:9px;min-height:41px;padding:10px 11px;font-size:13px}.registry-apply-check{align-self:center;align-items:center;gap:6px;font-size:12px;font-weight:800;display:flex}.registry-apply-check input{width:auto}.registry-conflict-note{color:var(--adaptive-text-warning,#8a5a00);grid-column:2/4;font-size:11px;font-weight:700}.registry-location-details{margin:12px 0}.registry-location-details summary{cursor:pointer;color:var(--adaptive-text-info,#334a96);font-weight:800}.registry-save{background:var(--adaptive-surface-info,#eef2ff);border-radius:12px;justify-content:space-between;align-items:center;gap:15px;margin-top:16px;padding:13px;display:flex}.registry-save p{color:var(--adaptive-text-info,#475467);margin:0;font-size:12px}.sales-order-module{margin-top:22px}.order-topbar{margin-bottom:16px}.order-layout{grid-template-columns:minmax(290px,.72fr) minmax(0,1.8fr);align-items:start;gap:18px;display:grid}.order-list-card{max-height:calc(100vh - 36px);position:sticky;top:12px;overflow:auto}.order-list{gap:9px;margin-top:13px;display:grid}.order-list-item{border:1px solid var(--adaptive-border-neutral,#e1e6ee);background:var(--adaptive-surface-neutral,white);width:100%;color:var(--adaptive-text-info,#172033);text-align:right;grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:13px;display:grid}.order-list-item.active{background:var(--adaptive-surface-info,#eef2ff);border-color:#4667d9;box-shadow:0 0 0 3px #4667d91a}.order-list-item>div{gap:4px;min-width:0;display:grid}.order-list-item>div:last-child{justify-items:end}.order-list-item span,.order-list-item small{color:var(--adaptive-text-info,#667085);font-size:11px}.order-list-item b{color:var(--adaptive-text-info,#13294b)}.order-detail-card{min-width:0}.order-detail-header{border-bottom:1px solid var(--adaptive-border-neutral,#e5e9f0);justify-content:space-between;align-items:flex-start;gap:16px;padding-bottom:16px;display:flex}.order-detail-header h2{direction:ltr;justify-content:flex-end;margin:4px 0 6px;font-size:26px}.order-detail-header>div:last-child{color:var(--adaptive-text-info,#667085);justify-items:end;gap:8px;display:grid}.order-status{background:var(--adaptive-surface-info,#eef2ff);width:fit-content;color:var(--adaptive-text-info,#334a96);border-radius:999px;align-items:center;padding:5px 9px;font-size:11px;font-style:normal;font-weight:850;display:inline-flex}.order-status-2,.order-status-3{background:var(--adaptive-surface-info,#eff8ff);color:var(--adaptive-text-info,#175cd3)}.order-status-4,.order-status-5{background:var(--adaptive-surface-warning,#fff7e6);color:var(--adaptive-text-warning,#8b5a00)}.order-status-6,.order-status-7{background:var(--adaptive-surface-neutral,#f0fdf4);color:var(--adaptive-text-success,#17633b)}.order-status-8{background:var(--adaptive-surface-success,#dcfae6);color:var(--adaptive-text-success,#067647)}.order-status-9{background:var(--adaptive-surface-danger,#fff0f0);color:var(--adaptive-text-danger,#a12828)}.order-kpi-grid{grid-template-columns:repeat(5,minmax(130px,1fr));gap:10px;margin:17px 0;display:grid}.order-kpi-grid>div,.order-kpi-grid>button{border:1px solid var(--adaptive-border-neutral,#e3e7ed);background:var(--adaptive-surface-neutral,#f9fafb);border-radius:12px;grid-template-columns:auto 1fr;gap:3px 8px;padding:12px;display:grid}.order-kpi-grid>button{width:100%;color:inherit;font:inherit;text-align:right}.order-kpi-grid .finance-kpi-action{cursor:pointer;transition:transform .15s,box-shadow .15s,border-color .15s}.order-kpi-grid .finance-kpi-action:hover{border-color:#7891d8;transform:translateY(-2px);box-shadow:0 8px 20px #203d791f}.order-kpi-grid .finance-kpi-action:focus-visible{outline-offset:2px;outline:3px solid #355bbf40}.order-kpi-grid .finance-kpi-action>em{color:var(--adaptive-text-info,#294b9b);grid-column:2;font-size:11px;font-style:normal;font-weight:800}.order-kpi-grid svg{color:var(--adaptive-text-info,#3d57a6);grid-row:span 3}.order-kpi-grid span,.order-kpi-grid strong,.order-kpi-grid small{grid-column:2}.order-kpi-grid span,.order-kpi-grid small{color:var(--adaptive-text-info,#667085);font-size:11px}.order-kpi-grid strong{color:var(--adaptive-text-info,#13294b);font-size:17px}.order-kpi-grid .negative{border-color:var(--adaptive-border-danger,#f2b8b5);background:var(--adaptive-surface-neutral,#fff5f5)}.order-kpi-grid .negative strong,.order-kpi-grid .negative svg{color:var(--adaptive-text-danger,#b42318)}.order-kpi-grid .warning{border-color:var(--adaptive-border-warning,#efd48a);background:var(--adaptive-surface-warning,#fffbeb)}.inline-warning{border:1px solid var(--adaptive-border-warning,#efd48a);background:var(--adaptive-surface-warning,#fffbeb);color:var(--adaptive-text-warning,#795500);border-radius:10px;align-items:center;gap:9px;margin-bottom:16px;padding:11px 13px;font-size:12px;font-weight:750;display:flex}.order-lines-table{border:1px solid var(--adaptive-border-neutral,#e5e9f0);border-radius:12px}.order-lines-table tbody tr{cursor:default}.order-workflow,.order-finance{border:1px solid var(--adaptive-border-neutral,#e3e7ed);background:var(--adaptive-surface-neutral,#fbfcfe);border-radius:14px;margin-top:18px;padding:17px}.order-workflow h3,.order-finance h3{color:var(--adaptive-text-info,#13294b);align-items:center;gap:7px;margin:0 0 12px;font-size:16px;display:flex}.status-history,.financial-history{gap:8px;margin-top:14px;display:grid}.status-history>div,.financial-history>div{background:var(--adaptive-surface-neutral,white);border-right:3px solid #6f86d4;border-radius:8px;gap:9px;padding:10px 11px;display:flex}.status-history p,.financial-history p{gap:3px;margin:0;display:grid}.financial-history p{flex:1;min-width:0}.status-history span,.status-history small,.financial-history span,.financial-history small{color:var(--adaptive-text-info,#667085);font-size:11px}.compact-form{margin-top:14px}.compact-form button{align-self:end}.payment-source-summary{border:1px solid var(--adaptive-border-info,#bfd0e6);background:var(--adaptive-surface-neutral,#f4f8fd);border-radius:10px;grid-template-columns:repeat(5,minmax(120px,1fr));gap:7px;padding:10px 12px;display:grid}.payment-source-summary span{color:var(--adaptive-text-info,#667085);gap:2px;font-size:10px;display:grid}.payment-source-summary b{color:var(--adaptive-text-info,#13294b);font-size:11px}.procurement-approval-check{border:1px solid var(--adaptive-border-success,#b7ebc9);background:var(--adaptive-surface-neutral,#f2fbf5);border-radius:11px;gap:9px;margin:0 0 13px;padding:11px 13px;display:grid}.procurement-approval-check.blocked{border-color:var(--adaptive-border-danger,#efc0b9);background:var(--adaptive-surface-neutral,#fff7f6)}.procurement-approval-check>div{align-items:center;gap:8px;display:flex}.procurement-approval-check p{gap:2px;margin:0;display:grid}.procurement-approval-check span{color:var(--adaptive-text-info,#667085);font-size:10px}.procurement-approval-check ul{color:var(--adaptive-text-danger,#9b2c23);gap:4px;margin:0;padding:0 20px 0 0;font-size:11px;display:grid}.financial-history .receipt{border-right-color:#32a66a}.financial-history .payment{border-right-color:#d18a1e}.financial-history .correction{background:var(--adaptive-surface-neutral,#faf7ff);border-right-color:#8c62c4}.financial-history .correction-balance{color:var(--adaptive-text-warning,#7a4f00);font-weight:750}.financial-history .correction-link{color:var(--adaptive-text-violet,#6941a5);font-weight:750}.correction-action{white-space:nowrap;align-self:center}.financial-document-field{border:1px dashed var(--adaptive-border-info,#aab9ce);background:var(--adaptive-surface-neutral,#f8fbff);border-radius:12px;padding:.75rem}.financial-document-field>span{align-items:center;gap:.4rem;font-weight:700;display:flex}.financial-document-field small{color:var(--adaptive-text-info,#63738a)}.financial-attachments{flex-wrap:wrap;align-items:center;gap:.4rem;display:flex}.financial-attachments a{border:1px solid var(--adaptive-border-info,#cbd7e8);background:var(--adaptive-surface-neutral,#fff);color:var(--adaptive-text-info,#173b70);border-radius:9px;align-items:center;gap:.3rem;padding:.4rem .55rem;font-size:.78rem;text-decoration:none;display:inline-flex}.financial-attachments a small{color:var(--adaptive-text-info,#718096)}.instrument-status{color:var(--adaptive-text-warning,#6f5311);background:var(--adaptive-surface-warning,#fff7dc);border-radius:8px;padding:.25rem .45rem;display:inline-flex}.instrument-status-4{background:var(--adaptive-surface-success,#e8f7ee);color:var(--adaptive-text-success,#17643a)!important}.instrument-status-5,.instrument-status-7,.instrument-status-8{background:var(--adaptive-surface-danger,#fff0ef);color:var(--adaptive-text-danger,#9d2d28)!important}.instrument-action{color:var(--adaptive-text-warning,#6f5311);border-color:var(--adaptive-border-warning,#e4cf8d);white-space:nowrap;align-self:center}.instrument-current-state{background:var(--adaptive-surface-neutral,#f6f8fb);border-radius:12px;gap:.25rem;padding:.8rem;display:grid}.instrument-current-state strong{font-size:1.1rem}.instrument-modal{max-width:620px}.fully-corrected{background:var(--adaptive-surface-neutral,#f2f4f7);color:var(--adaptive-text-info,#667085);white-space:nowrap;border-radius:999px;align-self:center;padding:4px 7px;font-size:10px;font-style:normal}.correction-modal{max-width:760px}.correction-modal .modal-header>div{gap:4px;display:grid}.correction-modal .modal-header h2{margin:0}.correction-modal .modal-header small{color:var(--adaptive-text-info,#667085);line-height:1.7}.correction-original{border:1px solid var(--adaptive-border-info,#d7dded);background:var(--adaptive-surface-neutral,#f7f9ff);border-radius:11px;gap:4px;padding:12px 14px;display:grid}.correction-original span{color:var(--adaptive-text-info,#667085);font-size:11px}.correction-original strong{color:var(--adaptive-text-info,#13294b);font-size:19px}.correction-original small{color:var(--adaptive-text-info,#526078)}.correction-mode-selector{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.correction-mode-selector button{border:1px solid var(--adaptive-border-info,#d7dded);background:var(--adaptive-surface-neutral,#fff);min-height:82px;color:var(--adaptive-text-info,#344054);text-align:right;border-radius:11px;gap:5px;padding:11px;display:grid}.correction-mode-selector button:hover{border-color:var(--adaptive-border-info,#9fb2e6);background:var(--adaptive-surface-neutral,#f8faff)}.correction-mode-selector button.active{background:var(--adaptive-surface-info,#eef3ff);border-color:#29468f;box-shadow:0 0 0 2px #29468f1a}.correction-mode-selector strong{color:var(--adaptive-text-info,#13294b);font-size:13px}.correction-mode-selector small{color:var(--adaptive-text-info,#667085);font-size:10px;line-height:1.6}.correction-confirm{border:1px solid var(--adaptive-border-warning,#efd48a);background:var(--adaptive-surface-warning,#fffbeb);color:var(--adaptive-text-warning,#795500);border-radius:9px;padding:10px 12px}.inline-feedback{border:1px solid;border-radius:10px;align-items:flex-start;gap:8px;margin:10px 0 14px;padding:11px 13px;font-size:12px;font-weight:750;line-height:1.8;display:flex}.inline-feedback.success{color:var(--adaptive-text-success,#17633b);background:var(--adaptive-surface-success,#ecfdf3);border-color:var(--adaptive-border-success,#b7ebc9)}.inline-feedback.error{color:var(--adaptive-text-danger,#9e2d2d);background:var(--adaptive-surface-neutral,#fff1f1);border-color:var(--adaptive-border-danger,#f3c1c1)}.inline-feedback svg{flex:none;margin-top:2px}.order-kpi-grid .positive{border-color:var(--adaptive-border-success,#b7ebc9);background:var(--adaptive-surface-neutral,#f2fbf5)}.order-kpi-grid .positive strong,.order-kpi-grid .positive svg{color:var(--adaptive-text-success,#17633b)}.order-next-action{border:1px solid var(--adaptive-border-info,#b8c7ee);background:linear-gradient(135deg, var(--adaptive-surface-neutral,#f3f6ff), var(--adaptive-surface-neutral,#fff));border-radius:13px;justify-content:space-between;align-items:center;gap:16px;margin-top:16px;padding:14px 16px;display:flex}.order-next-action>div{gap:4px;display:grid}.order-next-action b{color:var(--adaptive-text-info,#243b80)}.order-next-action span{color:var(--adaptive-text-info,#667085);font-size:12px}.order-progress{grid-template-columns:repeat(4,minmax(120px,1fr));gap:8px;margin:12px 0 4px;display:grid}.order-progress.simplified{grid-template-columns:repeat(5,minmax(110px,1fr))}.credit-funding-banner,.funding-choice-panel{border:1px solid var(--adaptive-border-warning,#e2c57a);background:var(--adaptive-surface-warning,#fffbeb);color:var(--adaptive-text-warning,#704b08);border-radius:12px;justify-content:space-between;align-items:center;gap:12px;margin-top:12px;padding:12px 14px;display:flex}.credit-funding-banner>div,.funding-choice-panel p{gap:3px;margin:0;display:grid}.credit-funding-banner span,.credit-funding-banner small,.funding-choice-panel span{color:var(--adaptive-text-warning,#756442);font-size:11px}.funding-choice-panel{margin-bottom:13px}.funding-choice-panel>div:first-child{align-items:center;gap:9px;display:flex}.derived-status-field{border:1px solid var(--adaptive-border-info,#dbe4ea);background:var(--adaptive-surface-neutral,#f7f9fc);border-radius:9px;align-content:center;gap:4px;padding:9px 11px;display:grid}.derived-status-field span,.derived-status-field small{color:var(--adaptive-text-info,#667085);font-size:10px}.supply-item .supply-purchase-order{color:var(--adaptive-text-info,#31519a);font-weight:750}.mini-action.ready-action{color:var(--adaptive-text-success,#17633b);border-color:var(--adaptive-border-success,#b7ebc9);background:var(--adaptive-surface-neutral,#f2fbf5)}.order-progress>div{border:1px solid var(--adaptive-border-neutral,#e3e7ed);background:var(--adaptive-surface-neutral,#fafbfc);min-width:0;color:var(--adaptive-text-info,#7a8496);border-radius:9px;align-items:center;gap:7px;padding:8px 9px;display:flex}.order-progress span{background:var(--adaptive-surface-neutral,#e8ebf0);border-radius:50%;flex:0 0 23px;place-items:center;width:23px;height:23px;font-size:11px;font-weight:850;display:grid}.order-progress small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.order-progress .done{color:var(--adaptive-text-success,#17633b);border-color:var(--adaptive-border-success,#c9ead5);background:var(--adaptive-surface-neutral,#f3fbf6)}.order-progress .done span{color:#fff;background:#2f9a60}.order-progress .current{color:var(--adaptive-text-info,#243b80);border-color:var(--adaptive-border-info,#9fb2e6);background:var(--adaptive-surface-info,#eef3ff);font-weight:800}.order-progress .current span{color:#fff;background:#3d57a6}.order-sourcing{border:1px solid var(--adaptive-border-info,#dbe3f2);background:var(--adaptive-surface-neutral,#f9fbff);border-radius:14px;margin-top:18px;padding:17px;scroll-margin-top:20px}.subsection-heading{justify-content:space-between;gap:14px;display:flex}.subsection-heading h3{color:var(--adaptive-text-info,#13294b);align-items:center;gap:7px;margin:0 0 5px;font-size:16px;display:flex}.subsection-heading p{margin:0}.order-line-cards{gap:11px;margin-top:13px;display:grid}.order-line-card{border:1px solid var(--adaptive-border-info,#e0e6ef);background:var(--adaptive-surface-neutral,white);border-right:4px solid #d18a1e;border-radius:12px;overflow:hidden}.order-line-card.complete{border-right-color:#32a66a}.order-line-card>header{background:var(--adaptive-surface-neutral,#fbfcfe);justify-content:space-between;align-items:center;gap:16px;padding:12px 14px;display:flex}.order-line-card>header>div{gap:3px;display:grid}.order-line-card>header>div:last-child{justify-items:end}.order-line-card>header span,.order-line-card>header small{color:var(--adaptive-text-info,#667085);font-size:11px}.order-line-card>header b{color:var(--adaptive-text-info,#526078);font-size:11px}.order-line-card>header button{padding:7px 9px;font-size:11px}.supply-list{gap:7px;padding:10px 13px 13px;display:grid}.supply-item{border:1px solid var(--adaptive-border-neutral,#e5e9f0);background:var(--adaptive-surface-neutral,white);border-radius:9px;justify-content:space-between;align-items:center;gap:12px;padding:10px 11px;display:flex}.supply-item>div:first-child{gap:3px;display:grid}.supply-item strong{align-items:center;gap:7px;display:flex}.supply-item strong em{background:var(--adaptive-surface-warning,#fff3d6);color:var(--adaptive-text-warning,#8b5a00);border-radius:999px;padding:2px 6px;font-size:9px;font-style:normal}.supply-item span,.supply-item small{color:var(--adaptive-text-info,#667085);font-size:11px}.supply-item .supply-financial-line{color:var(--adaptive-text-info,#344054);font-weight:700}.supply-item.cancelled{opacity:.68;background:var(--adaptive-surface-neutral,#fff7f7);border-style:dashed}.mini-action.danger{color:var(--adaptive-text-danger,#b42318)}.order-workflow,.order-finance{scroll-margin-top:20px}.history-details{border:1px solid var(--adaptive-border-neutral,#e3e7ed);background:var(--adaptive-surface-neutral,white);border-radius:9px;margin-top:12px;padding:9px 11px}.history-details summary{cursor:pointer;color:var(--adaptive-text-info,#526078);font-size:12px;font-weight:750}.compact-history{gap:6px;margin-top:9px;display:grid}.compact-history p{background:var(--adaptive-surface-neutral,#f7f8fa);border-radius:7px;gap:2px;margin:0;padding:8px;display:grid}.compact-history span{color:var(--adaptive-text-info,#667085);font-size:10px}.supply-modal{max-width:760px}.supply-modal .modal-header>div{gap:3px;display:grid}.supply-modal .modal-header h2{margin:0}.supply-modal .modal-header small{color:var(--adaptive-text-info,#667085)}.active-filter-strip{border:1px solid var(--adaptive-border-info,#dbe3f6);background:var(--adaptive-surface-neutral,#f7f9ff);color:var(--adaptive-text-info,#526078);border-radius:10px;flex-wrap:wrap;align-items:center;gap:7px;margin:10px 0;padding:9px 11px;font-size:11px;display:flex}.active-filter-strip b{background:var(--adaptive-surface-info,#e9efff);color:var(--adaptive-text-info,#29448c);border-radius:999px;padding:4px 8px;font-size:10px}.active-filter-strip button{color:var(--adaptive-text-danger,#b42318);background:0 0;align-items:center;gap:4px;margin-right:auto;padding:5px 8px;display:inline-flex}.filtered-empty{justify-items:center}.company-compact-list{border:1px solid var(--adaptive-border-neutral,#e1e6ee);border-radius:12px;width:100%;max-height:385px;overflow:hidden auto}.company-compact-row{border:0;border-bottom:1px solid var(--adaptive-border-neutral,#edf0f4);background:var(--adaptive-surface-neutral,white);width:100%;color:var(--adaptive-text-info,#172033);text-align:right;border-radius:0;grid-template-columns:minmax(190px,1.45fr) minmax(150px,1.1fr) minmax(155px,1.05fr) minmax(135px,.95fr) minmax(120px,.85fr) 22px;align-items:center;gap:10px;padding:10px 12px;display:grid}.company-compact-row:last-child{border-bottom:0}.company-compact-row:not(.header):hover{background:var(--adaptive-surface-neutral,#f8faff)}.company-compact-row.selected{background:var(--adaptive-surface-info,#eef2ff);box-shadow:inset -3px 0 #3455b2}.company-compact-row.header{z-index:2;background:var(--adaptive-surface-neutral,#f5f7fa);color:var(--adaptive-text-info,#526078);font-size:10px;font-weight:800;position:sticky;top:0}.company-compact-row>span{gap:3px;min-width:0;display:grid}.company-compact-row strong,.company-compact-row b,.company-compact-row small,.company-compact-row em{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.company-compact-row small{color:var(--adaptive-text-info,#697489);font-size:10px}.company-compact-row em{color:var(--adaptive-text-info,#526fae);font-size:9px;font-style:normal}.company-compact-row .role-badge{color:var(--adaptive-text-info,#30498f);font-size:10px}.smart-picker-label{gap:7px;min-width:0;display:grid}.smart-picker{border:1px solid var(--adaptive-border-info,#d8e1ea);background:var(--adaptive-surface-neutral,#fff);border-radius:10px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:7px;padding:0 9px;display:grid;position:relative}.smart-picker:focus-within{border-color:#4667d9;box-shadow:0 0 0 3px #4667d91f}.smart-picker>input{background:0 0;border:0;outline:0;width:100%;min-width:0;box-shadow:none!important}.smart-picker-clear{background:var(--adaptive-surface-neutral,#eef2f8);color:var(--adaptive-text-info,#526078);place-items:center;padding:5px;display:grid}.smart-picker-results{z-index:40;border:1px solid var(--adaptive-border-info,#d8e1ea);background:var(--adaptive-surface-neutral,white);border-radius:12px;gap:3px;max-height:320px;padding:6px;display:grid;position:absolute;top:calc(100% + 6px);left:0;right:0;overflow:auto;box-shadow:0 16px 38px #1222412e}.smart-picker-results>button{text-align:right;background:var(--adaptive-surface-neutral,#fff);color:var(--adaptive-text-info,#172033);border-radius:8px;gap:3px;padding:9px 10px;display:grid}.smart-picker-results>button:hover{background:var(--adaptive-surface-info,#eef3ff)}.smart-picker-results small{color:var(--adaptive-text-info,#718096);text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.smart-picker-results p{color:var(--adaptive-text-info,#718096);margin:8px;font-size:12px}.sales-primary-tabs{z-index:4;position:sticky;top:8px}.catalog-maintenance-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;display:grid}.catalog-reference-price-card{border-color:var(--adaptive-border-info,#cdd8f2);background:linear-gradient(180deg, var(--adaptive-surface-neutral,#fbfcff), var(--adaptive-surface-neutral,#fff))}.product-catalog-tree{gap:8px;margin-top:12px;display:grid}.catalog-tree-node{border:1px solid var(--adaptive-border-neutral,#e0e5ed);background:var(--adaptive-surface-neutral,#fff);border-radius:11px;overflow:hidden}.catalog-tree-node>summary{cursor:pointer;background:var(--adaptive-surface-neutral,#f8fafc);justify-content:space-between;align-items:center;gap:12px;padding:11px 13px;list-style-position:inside;display:flex}.catalog-tree-node>summary>span:first-child{gap:2px;display:inline-grid}.catalog-tree-node>summary small{color:var(--adaptive-text-info,#697489);font-size:10px}.catalog-tree-node.level-0>summary{background:var(--adaptive-surface-info,#edf2ff);color:var(--adaptive-text-info,#203a81)}.catalog-tree-children{border-right:3px solid var(--adaptive-border-info,#e1e8fa);gap:7px;padding:8px 12px 11px;display:grid}.catalog-price-chip{background:var(--adaptive-surface-neutral,#eef8f2);color:var(--adaptive-text-success,#17633b);white-space:nowrap;border-radius:999px;padding:5px 8px;font-size:10px;font-weight:800}.catalog-price-chip.expired{background:var(--adaptive-surface-neutral,#fff2f1);color:var(--adaptive-text-danger,#b42318)}.catalog-product-row{border:1px solid var(--adaptive-border-neutral,#edf0f4);background:var(--adaptive-surface-neutral,white);border-radius:9px;grid-template-columns:minmax(180px,1.35fr) minmax(160px,1fr) auto;align-items:center;gap:11px;padding:9px 10px;display:grid}.catalog-product-row>div{min-width:0}.catalog-product-row>div:first-child,.catalog-product-price{gap:3px;display:grid}.catalog-product-row small{color:var(--adaptive-text-info,#697489);font-size:10px}.catalog-product-price b{color:var(--adaptive-text-success,#17633b);font-size:12px}.timeline-heading{align-items:flex-end}.timeline-filters{flex-wrap:wrap;gap:5px;display:flex}.timeline-filters button{border:1px solid var(--adaptive-border-info,#dce2eb);background:var(--adaptive-surface-neutral,#fff);color:var(--adaptive-text-info,#526078);padding:6px 9px;font-size:10px}.timeline-filters button.active{background:var(--adaptive-surface-info,#edf2ff);color:var(--adaptive-text-info,#27458f);border-color:#3455b2}.compact-horizontal-timeline:before{right:16px}.compact-horizontal-timeline .timeline-item{grid-template-columns:36px minmax(220px,1fr) minmax(120px,auto) auto;align-items:center;padding:6px 0 10px}.compact-horizontal-timeline .timeline-content{grid-template-columns:minmax(130px,.8fr) minmax(190px,1.3fr);align-items:center;gap:5px 12px;padding:9px 11px;display:grid}.compact-horizontal-timeline .timeline-title{min-width:0}.compact-horizontal-timeline .timeline-title strong,.compact-horizontal-timeline .timeline-meta,.compact-horizontal-timeline .timeline-content small,.compact-horizontal-timeline .timeline-content p{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.compact-horizontal-timeline .timeline-content p{margin:0;line-height:1.5}.timeline-time{color:var(--adaptive-text-info,#697489);white-space:nowrap;font-size:10px}.compact-horizontal-timeline .timeline-actions{gap:4px;display:flex}.timeline-paging{color:var(--adaptive-text-info,#697489);justify-content:center;align-items:center;gap:12px;margin-top:8px;font-size:10px;display:flex}.proforma-conversion-banner{border:1px solid var(--adaptive-border-info,#c8d7fa);background:var(--adaptive-surface-neutral,#f4f7ff);border-radius:12px;justify-content:space-between;align-items:center;gap:14px;margin:15px 0;padding:13px 14px;display:flex}.proforma-conversion-banner>div{color:var(--adaptive-text-info,#3455b2);align-items:center;gap:10px;display:flex}.proforma-conversion-banner p{gap:3px;margin:0;display:grid}.proforma-conversion-banner span{color:var(--adaptive-text-info,#526078);font-size:11px}.proforma-conversion-banner.completed{border-color:var(--adaptive-border-success,#b7ebc9);background:var(--adaptive-surface-neutral,#f2fbf5)}.proforma-conversion-banner.completed>div{color:var(--adaptive-text-success,#17633b)}.order-kpi-grid .balance-kpi{grid-template-rows:auto auto auto auto}.order-kpi-grid .balance-kpi svg{grid-row:span 4}.order-kpi-grid .balance-kpi>b{color:var(--adaptive-text-danger,#b42318);grid-column:2;font-size:13px}.order-kpi-grid .balance-kpi.settled{border-color:var(--adaptive-border-success,#b7ebc9);background:var(--adaptive-surface-neutral,#f2fbf5)}.order-kpi-grid .balance-kpi.settled>b,.order-kpi-grid .balance-kpi.settled svg{color:var(--adaptive-text-success,#17633b)}.supplier-balance-panel{border:1px solid var(--adaptive-border-neutral,#e1e6ee);background:var(--adaptive-surface-neutral,#fbfcfe);border-radius:12px;margin:0 0 16px;padding:13px}.supplier-balance-list{gap:7px;display:grid}.supplier-balance-list>div{border:1px solid var(--adaptive-border-neutral,#e6e9ef);background:var(--adaptive-surface-neutral,white);border-radius:9px;grid-template-columns:minmax(160px,1.3fr) minmax(95px,.7fr) minmax(95px,.7fr) minmax(130px,1fr);align-items:center;gap:9px;padding:9px 10px;font-size:11px;display:grid}.supplier-balance-list p{gap:2px;margin:0;display:grid}.supplier-balance-list small,.supplier-balance-list span{color:var(--adaptive-text-info,#697489);font-size:10px}.supplier-balance-list b{color:var(--adaptive-text-danger,#b42318)}.supplier-balance-list .settled b{color:var(--adaptive-text-success,#17633b)}.supplier-balance-list .incomplete{border-color:var(--adaptive-border-warning,#efd48a);background:var(--adaptive-surface-warning,#fffbeb)}.supplier-balance-list .unallocated{border-style:dashed;border-color:var(--adaptive-border-danger,#e2b3a9);background:var(--adaptive-surface-neutral,#fff8f6)}.reference-price-board{border:1px solid var(--adaptive-border-info,#dbe3f6);background:var(--adaptive-surface-neutral,#f8faff);border-radius:12px;margin:12px 0 17px;padding:13px}.reference-price-grid{grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:8px;display:grid}.reference-price-grid article{border:1px solid var(--adaptive-border-info,#dfe5ee);background:var(--adaptive-surface-neutral,white);border-radius:9px;grid-template-columns:1fr auto;gap:4px 10px;padding:10px;display:grid}.reference-price-grid article>div{gap:2px;min-width:0;display:grid}.reference-price-grid article small,.reference-price-grid article span,.reference-price-grid article time{color:var(--adaptive-text-info,#697489);font-size:9px}.reference-price-grid article em{color:var(--adaptive-text-info,#3455b2);font-size:9px;font-style:normal}.reference-price-grid article>b{color:var(--adaptive-text-success,#17633b);white-space:nowrap}.reference-price-grid article.expired{opacity:.7}.reference-price-grid article.exception{border-right:3px solid #3455b2}@media (width<=900px){.quick-quote-panel form{grid-template-columns:repeat(3,minmax(140px,1fr))}.quick-quote-panel .inquiry-item-picker{grid-column:span 2}.form-grid.three,.brand-settings-grid,.export-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.registry-compare-header,.registry-compare-row{grid-template-columns:62px 1fr}.registry-compare-header span:last-child{display:none}.registry-compare-row>label:not(.registry-apply-check),.registry-conflict-note{grid-column:2}.order-layout{grid-template-columns:1fr}.order-list-card{max-height:none;position:static}.order-kpi-grid,.order-progress,.order-progress.simplified{grid-template-columns:repeat(2,minmax(0,1fr))}.company-compact-row{grid-template-columns:minmax(180px,1.3fr) minmax(140px,1fr) minmax(135px,1fr) 22px}.company-compact-row>span:nth-child(3),.company-compact-row>span:nth-child(4){display:none}.catalog-maintenance-grid{grid-template-columns:1fr}.compact-horizontal-timeline .timeline-item{grid-template-columns:36px minmax(0,1fr) auto}.compact-horizontal-timeline .timeline-time{grid-column:2}.compact-horizontal-timeline .timeline-actions{grid-area:1/3/span 2}.supplier-balance-list>div{grid-template-columns:minmax(150px,1fr) repeat(3,auto)}.payment-source-summary{grid-template-columns:repeat(2,minmax(120px,1fr))}}@media (width<=650px){.safety-overview,.section-heading{flex-direction:column;align-items:stretch}.form-grid.three,.form-grid.two,.brand-settings-grid,.asset-grid,.export-grid{grid-template-columns:1fr}.quick-quote-panel>header,.quick-quote-panel.empty,.organization-document-preview>header,.organization-document-preview>footer{flex-direction:column;align-items:stretch}.quick-quote-panel form{grid-template-columns:1fr}.quick-quote-panel .inquiry-item-picker{grid-column:auto;min-width:0}.organization-document-preview{min-height:420px;padding:18px}.preview-document-title{justify-items:start}.organization-document-preview>footer span{max-width:none}.button-row{justify-content:stretch}.registry-verification-card>header,.registry-save{flex-direction:column;align-items:stretch}.registry-last-check{min-width:0}.registry-source-grid,.registry-identity-grid,.order-kpi-grid{grid-template-columns:1fr}.order-detail-header{flex-direction:column}.order-detail-header>div:last-child{justify-items:start}.notice{grid-template-columns:auto 1fr;width:calc(100vw - 20px);top:10px;right:10px}.notice small{display:none}.order-next-action,.order-line-card>header,.supply-item{flex-direction:column;align-items:stretch}.order-line-card>header>div:last-child{justify-items:start}.order-progress,.correction-mode-selector{grid-template-columns:1fr}.company-compact-row{grid-template-columns:minmax(0,1fr) auto}.company-compact-row.header,.company-compact-row>span:not(:first-child){display:none}.catalog-product-row{grid-template-columns:1fr}.catalog-tree-node>summary{flex-direction:column;align-items:flex-start}.compact-horizontal-timeline .timeline-item{grid-template-columns:36px minmax(0,1fr)}.compact-horizontal-timeline .timeline-content{grid-template-columns:1fr}.compact-horizontal-timeline .timeline-time,.compact-horizontal-timeline .timeline-actions{grid-area:auto/2}.proforma-conversion-banner{flex-direction:column;align-items:stretch}.supplier-balance-list>div{grid-template-columns:1fr 1fr}.payment-source-summary{grid-template-columns:1fr}}.module-work,.module-dashboard,.module-companies{--module-color:#2563eb}.module-sales,.module-reference{--module-color:#0891b2}.module-pricing{--module-color:#d97706}.module-proforma{--module-color:#7c3aed}.module-orders{--module-color:#15803d}.module-company-settings{--module-color:#64748b}.module-administration,.module-import{--module-color:#475569}.shell .hero{border-top:4px solid var(--module-color,#2563eb)}.shell .hero>svg,.shell .eyebrow{color:var(--module-color,#2563eb)!important}.main-module-nav button[data-module=dashboard],.main-module-nav button[data-module=work],.main-module-nav button[data-module=companies]{--nav-color:#2563eb}.main-module-nav button[data-module=sales],.main-module-nav button[data-module=reference]{--nav-color:#0891b2}.main-module-nav button[data-module=pricing]{--nav-color:#d97706}.main-module-nav button[data-module=proforma]{--nav-color:#7c3aed}.main-module-nav button[data-module=orders]{--nav-color:#15803d}.main-module-nav button[data-module=company-settings]{--nav-color:#64748b}.main-module-nav button[data-module=administration],.main-module-nav button[data-module=import]{--nav-color:#475569}.main-module-nav button{border-bottom:3px solid color-mix(in srgb, var(--nav-color) 38%, transparent)}.main-module-nav button.active{background:var(--nav-color);color:#fff;border-bottom-color:var(--nav-color)}.context-back-bar{z-index:19;border:1px solid color-mix(in srgb, var(--module-color) 30%, #d8dee8);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff5;border-radius:12px;justify-content:space-between;align-items:center;gap:12px;margin:9px 0 0;padding:8px 12px;display:flex;position:sticky;top:68px;box-shadow:0 7px 22px #14233c17}.context-back-bar button{background:var(--module-color);align-items:center;gap:7px;padding:8px 12px;display:inline-flex}.context-back-bar small{color:var(--adaptive-text-info,#64748b)}.priority-company-row{border:1px solid var(--adaptive-border-neutral,#e5eaf2);background:var(--adaptive-surface-neutral,#f8fafc);border-radius:10px;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:9px;padding:10px;display:grid}.priority-company-row>b{color:#fff;background:#2563eb;border-radius:9px;place-items:center;width:28px;height:28px;display:grid}.priority-company-row>span{gap:4px;min-width:0;display:grid}.priority-company-name{text-align:right;text-overflow:ellipsis;white-space:nowrap;color:var(--adaptive-text-info,#172033);background:0 0;padding:0;overflow:hidden}.priority-company-name:hover{color:var(--adaptive-text-info,#2563eb)}.priority-open-button{background:var(--adaptive-surface-info,#eaf0ff);color:var(--adaptive-text-info,#1e40af);place-items:center;padding:7px;display:grid}.priority-company-row small{color:var(--adaptive-text-info,#778196);font-size:10px}.prospecting-scroll{scrollbar-gutter:stable;max-height:350px;padding-left:3px;overflow-y:auto}.market-operator-filter{color:var(--adaptive-text-info,#64748b);grid-template-columns:auto minmax(150px,1fr);align-items:center;gap:8px;margin:-2px 0 9px;font-size:10px;display:grid}.market-operator-filter select{padding:7px 9px;font-size:10px}.market-score{color:var(--adaptive-text-info,#475569)!important}.market-reason-chips{flex-wrap:wrap;gap:5px;display:flex}.market-reason-chips button{border:1px solid var(--adaptive-border-warning,#f0cf9b);background:var(--adaptive-surface-warning,#fff8eb);color:var(--adaptive-text-warning,#9a5704);border-radius:999px;padding:4px 7px;font-size:9px}.market-settings-form{border:1px solid var(--adaptive-border-info,#dce3ed);background:var(--adaptive-surface-neutral,#f8fafc);border-radius:13px;grid-template-columns:repeat(4,minmax(125px,1fr));gap:9px;margin:12px 0 16px;padding:13px;display:grid}.market-settings-form label{gap:5px;font-size:10px;font-weight:700;display:grid}.market-settings-form input{padding:8px 9px}.market-settings-intro{grid-column:1/-1;justify-content:space-between;gap:10px;display:flex}.market-settings-intro small{color:var(--adaptive-text-info,#64748b)}.market-settings-form>button{justify-content:center;align-self:end;align-items:center;gap:6px;display:inline-flex}.smart-company-field{gap:6px;min-width:0;font-size:12px;font-weight:700;display:grid;position:relative}.smart-company-field>span em{color:var(--adaptive-text-danger,#b42318);font-style:normal}.smart-company-picker{position:relative}.smart-company-trigger{border:1px solid var(--adaptive-border-info,#d8dee8);background:var(--adaptive-surface-neutral,white);width:100%;min-height:43px;color:var(--adaptive-text-info,#172033);text-align:right;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;padding:8px 11px;display:grid}.smart-company-trigger>span{gap:2px;min-width:0;display:grid;overflow:hidden}.smart-company-trigger b,.smart-company-trigger small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.smart-company-trigger small{color:var(--adaptive-text-info,#718096);font-size:9px}.smart-company-popover{z-index:120;border:1px solid var(--adaptive-border-info,#d8e1ea);background:var(--adaptive-surface-neutral,white);border-radius:12px;padding:7px;position:absolute;top:calc(100% + 6px);left:0;right:0;box-shadow:0 16px 38px #12224133}.smart-company-search{border:1px solid var(--adaptive-border-info,#d8dee8);border-radius:9px;grid-template-columns:auto 1fr;align-items:center;gap:7px;padding:0 8px;display:grid}.smart-company-search input{border:0;padding:9px 3px;box-shadow:none!important}.smart-company-results{gap:3px;max-height:286px;margin-top:6px;display:grid;overflow-y:auto}.smart-company-results>button{text-align:right;background:var(--adaptive-surface-neutral,white);color:var(--adaptive-text-info,#172033);grid-template-columns:1fr auto;align-items:center;gap:8px;padding:8px 9px;display:grid}.smart-company-results>button.active{background:var(--adaptive-surface-info,#eef4ff)}.smart-company-results>button span{gap:2px;min-width:0;display:grid}.smart-company-results small{color:var(--adaptive-text-info,#718096);font-size:9px}.smart-company-results p{color:var(--adaptive-text-info,#718096);margin:10px;font-size:11px}.smart-company-required{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.inquiry-list-items{gap:7px;max-height:650px;padding-left:2px;display:grid;overflow-y:auto}.inquiry-list-items>button{border:1px solid var(--adaptive-border-info,#d9e2ec);background:var(--adaptive-surface-neutral,#f8fafc);width:100%;color:var(--adaptive-text-info,#172033);text-align:right;border-radius:11px;gap:4px;padding:11px 12px;display:grid;position:relative}.inquiry-list-items>button:hover{border-color:var(--adaptive-border-warning,#d59a37);background:var(--adaptive-surface-warning,#fffaf0)}.inquiry-list-items>button.selected{background:linear-gradient(90deg,var(--adaptive-surface-neutral,#fffdf7),var(--adaptive-surface-warning,#fff5dc));border-color:#d18a1e;border-right-style:solid;border-right-width:5px;padding-right:9px;box-shadow:0 5px 16px #a7670a1f}.inquiry-list-items>button span,.inquiry-list-items>button small{color:var(--adaptive-text-info,#68758a)}.selected-inquiry-check{color:var(--adaptive-text-warning,#b87410);position:absolute;top:9px;left:9px}.unified-inquiry-form{gap:14px}.unified-inquiry-section{border:1px solid var(--adaptive-border-info,#dce4ee);background:var(--adaptive-surface-neutral,#fbfcfe);border-radius:14px;gap:12px;padding:14px;display:grid}.unified-inquiry-section>header{justify-content:space-between;align-items:center;gap:12px;display:flex}.unified-inquiry-section>header b{color:var(--adaptive-text-info,#18315d);font-size:15px}.unified-inquiry-section>header small{color:var(--adaptive-text-info,#718096)}.unified-inquiry-grid{grid-template-columns:1fr 1fr;align-items:start;gap:11px;display:grid}.unified-inquiry-grid .full,.unified-quote-fields .full{grid-column:1/-1}.validity-preset-panel{gap:6px;display:grid}.validity-preset-panel>span{font-size:12px;font-weight:800}.validity-preset-panel>div{flex-wrap:wrap;gap:5px;display:flex}.validity-preset-panel button{border:1px solid var(--adaptive-border-info,#c8d6f1);background:var(--adaptive-surface-info,#eef3ff);color:var(--adaptive-text-info,#29478e);padding:8px 10px}.unified-quote-lines{gap:12px;display:grid}.unified-quote-line{border:1px solid var(--adaptive-border-info,#dce4ee);background:var(--adaptive-surface-neutral,#fff);border-right:4px solid #d18a1e;border-radius:12px;gap:11px;padding:13px;display:grid}.unified-quote-line>header{justify-content:space-between;align-items:center;display:flex}.unified-quote-fields{border-top:1px dashed var(--adaptive-border-info,#dce4ee);grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding-top:11px;display:grid}.price-board .board-filters{grid-template-columns:minmax(260px,1fr) 180px 190px}.market-price-tiles{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:11px;margin:13px 0 17px;display:grid}.market-price-tiles>button{border:1px solid var(--adaptive-border-info,#dce3ec);background:var(--adaptive-surface-neutral,#fff);color:var(--adaptive-text-info,#172033);text-align:right;border-top:4px solid #d18a1e;border-radius:13px;gap:11px;padding:14px;display:grid;box-shadow:0 5px 16px #1426460d}.market-price-tiles>button:hover,.market-price-tiles>button.active{background:var(--adaptive-surface-neutral,#f5f8ff);border-color:#3157a7;transform:translateY(-1px)}.market-price-tiles header,.market-price-tiles footer{justify-content:space-between;align-items:center;gap:9px;display:flex}.market-price-tiles header span{background:var(--adaptive-surface-info,#eef3ff);color:var(--adaptive-text-info,#31529a);border-radius:999px;padding:3px 7px;font-size:10px}.market-price-tiles>button>div{grid-template-columns:1fr 1fr;gap:9px;display:grid}.market-price-tiles>button>div>span{background:var(--adaptive-surface-neutral,#f7f9fc);color:var(--adaptive-text-info,#68758a);border-radius:9px;gap:3px;padding:9px;font-size:10px;display:grid}.market-price-tiles>button>div b{color:var(--adaptive-text-info,#173f5f);font-size:17px}.market-price-tiles>button>div small{color:var(--adaptive-text-info,#718096);text-overflow:ellipsis;white-space:nowrap;font-size:9px;overflow:hidden}.market-price-tiles footer em,.market-price-tiles footer time{color:var(--adaptive-text-info,#68758a);font-size:9px;font-style:normal}.active-board-filter{border:1px solid var(--adaptive-border-info,#c8d6f1);background:var(--adaptive-surface-neutral,#f2f6ff);color:var(--adaptive-text-info,#29478e);border-radius:9px;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px;padding:8px 11px;font-size:11px;display:flex}.active-board-filter button{background:var(--adaptive-surface-neutral,#fff);color:var(--adaptive-text-info,#29478e);padding:6px 9px}.legacy-reference-prices{border:1px solid var(--adaptive-border-info,#dce3ec);background:var(--adaptive-surface-neutral,#fafbfc);border-radius:11px;margin-top:16px;padding:11px 13px}.legacy-reference-prices summary{cursor:pointer;color:var(--adaptive-text-info,#526078);font-weight:800}.legacy-reference-prices .reference-price-grid{margin-top:10px}.pricing-decision-modal.with-references{width:min(1320px,100vw - 30px);max-width:min(1320px,97vw);overflow:hidden}.pricing-decision-workspace{min-width:0}.pricing-decision-modal.with-references .pricing-decision-workspace{grid-template-columns:minmax(430px,.9fr) minmax(520px,1.1fr);max-height:calc(92vh - 70px);display:grid}.pricing-decision-modal.with-references .pricing-decision-form{overflow-y:auto}.pricing-decision-form{min-width:0}.pricing-reference-toolbar{border:1px solid var(--adaptive-border-info,#c8d6f1);background:var(--adaptive-surface-neutral,#f2f6ff);border-radius:12px;justify-content:space-between;align-items:center;gap:12px;margin-bottom:15px;padding:11px 12px;display:flex}.pricing-reference-toolbar>div{gap:3px;display:grid}.pricing-reference-toolbar small{color:var(--adaptive-text-info,#61708a);font-size:10px}.pricing-reference-toolbar button{white-space:nowrap;align-items:center;gap:6px;display:inline-flex}.pricing-reference-toolbar button.active{background:var(--adaptive-surface-info,#dce8ff);border-color:var(--adaptive-border-info,#8faee6);color:var(--adaptive-text-info,#173f7a)}.pricing-reference-toolbar button>span{text-align:center;background:#173f7a1a;border-radius:999px;min-width:22px;padding:2px 6px}.pricing-reference-access{border:1px dashed var(--adaptive-border-info,#9eb4d8);background:var(--adaptive-surface-neutral,#fbfdff);border-radius:12px;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px;margin-bottom:14px;padding:11px;display:grid}.pricing-reference-access label{margin:0}.pricing-reference-access>button{margin-bottom:1px}.selected-price-source{background:var(--adaptive-surface-neutral,#eaf8ef);color:var(--adaptive-text-success,#17633a);border-radius:9px;grid-column:1/-1;align-items:flex-start;gap:7px;margin:2px 0 0;padding:8px 9px;font-size:11px;line-height:1.65;display:flex}.selected-price-source svg{flex:none;margin-top:2px}.selected-price-source span{gap:2px;display:grid}.selected-price-source small{color:var(--adaptive-text-success,#456f54)}.pricing-reference-panel{border-right:1px solid var(--adaptive-border-info,#dce3ed);background:var(--adaptive-surface-neutral,#f7f9fc);grid-template-rows:auto auto auto minmax(0,1fr);gap:12px;min-width:0;padding:16px;display:grid;overflow:hidden}.pricing-reference-panel>header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.pricing-reference-panel>header h3{color:var(--adaptive-text-info,#18315d);align-items:center;gap:7px;margin:2px 0 3px;display:flex}.pricing-reference-panel>header small{color:var(--adaptive-text-info,#68758a)}.pricing-reference-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.pricing-reference-metrics>div{border:1px solid var(--adaptive-border-info,#dce4ee);background:var(--adaptive-surface-neutral,#fff);border-radius:10px;gap:3px;min-width:0;padding:9px;display:grid}.pricing-reference-metrics span,.pricing-reference-metrics small{color:var(--adaptive-text-info,#718096);text-overflow:ellipsis;white-space:nowrap;font-size:9px;overflow:hidden}.pricing-reference-metrics strong{color:var(--adaptive-text-info,#173f5f);font-size:13px}.pricing-reference-help{background:var(--adaptive-surface-info,#edf4ff);color:var(--adaptive-text-info,#29478e);border-radius:9px;margin:0;padding:8px 10px;font-size:10px;line-height:1.65}.pricing-reference-list{gap:9px;min-height:0;padding-left:3px;display:grid;overflow-y:auto}.pricing-reference-list>article{border:1px solid var(--adaptive-border-info,#dce3ec);background:var(--adaptive-surface-neutral,#fff);border-radius:12px;gap:8px;padding:11px;display:grid}.pricing-reference-list>article.selected{background:var(--adaptive-surface-neutral,#f7faff);border-color:#2b62b1;box-shadow:inset 4px 0 #2b62b1}.pricing-reference-list>article.unavailable{background:var(--adaptive-surface-neutral,#fffaf8)}.pricing-reference-list>article>header{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;display:grid}.pricing-reference-list>article>header>div{gap:2px;min-width:0;display:grid}.pricing-reference-list>article>header small{color:var(--adaptive-text-info,#718096);font-size:9px}.pricing-reference-amount{background:var(--adaptive-surface-neutral,#f4f7fb);border-radius:9px;gap:2px;padding:8px 9px;display:grid}.pricing-reference-amount b{color:var(--adaptive-text-info,#173f5f);font-size:15px}.pricing-reference-amount small{color:var(--adaptive-text-info,#68758a);font-size:9px}.pricing-reference-list dl{grid-template-columns:1fr 1fr;gap:5px 8px;margin:0;display:grid}.pricing-reference-list dl>div{gap:2px;min-width:0;display:grid}.pricing-reference-list dt{color:var(--adaptive-text-info,#8a94a6);font-size:8px}.pricing-reference-list dd{color:var(--adaptive-text-info,#39465a);text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:9px;overflow:hidden}.pricing-reference-confirmed{color:var(--adaptive-text-success,#17633a);font-size:9px}.pricing-reference-warning{color:var(--adaptive-text-danger,#a13b24);align-items:center;gap:5px;margin:0;font-size:9px;display:flex}.pricing-reference-list>article>button{justify-content:center;align-items:center;gap:6px;width:100%;display:inline-flex}.pricing-reference-list>article>button:disabled{opacity:.48;cursor:not-allowed;filter:none;background:var(--adaptive-surface-neutral,#eef2f6);color:var(--adaptive-text-info,#6b7789);border-color:var(--adaptive-border-info,#cbd5e1);box-shadow:none}.pricing-reference-list>article>button:disabled:hover{filter:none}.pricing-reference-list .selected-reference{border-color:var(--adaptive-border-success,#86b89b);background:var(--adaptive-surface-neutral,#eaf8ef);color:var(--adaptive-text-success,#17633a)}.pricing-reference-empty{min-height:240px;color:var(--adaptive-text-info,#718096);text-align:center;place-items:center;gap:8px;padding:20px;display:grid}.pricing-reference-empty b{color:var(--adaptive-text-info,#39465a)}.pricing-reference-empty span{max-width:360px;font-size:11px;line-height:1.75}@media (width<=1080px){.pricing-decision-modal.with-references{overflow:auto}.pricing-decision-modal.with-references .pricing-decision-workspace{max-height:none;display:block}.pricing-decision-modal.with-references .pricing-decision-form{overflow:visible}.pricing-reference-panel{border-top:1px solid var(--adaptive-border-info,#dce3ed);border-right:0;max-height:620px}}@media (width<=620px){.pricing-reference-toolbar{flex-direction:column;align-items:stretch}.pricing-reference-access{grid-template-columns:1fr}.selected-price-source{grid-column:auto}.pricing-reference-metrics,.pricing-reference-list dl{grid-template-columns:1fr}}.catalog-pricing-guidance{grid-template-columns:auto 1fr;align-content:start;gap:13px;display:grid}.catalog-pricing-guidance>svg{color:var(--adaptive-text-warning,#d18a1e)}.catalog-pricing-guidance h2{margin:0 0 7px}.catalog-pricing-guidance small{color:var(--adaptive-text-info,#68758a);margin-top:10px;display:block}.crm-background-refresh{background:var(--adaptive-surface-neutral,#f2f6ff);color:var(--adaptive-text-info,#526fae);border-radius:8px;align-items:center;gap:7px;margin:8px 0;padding:7px 10px;font-size:10px;display:flex}.crm-background-refresh svg{animation:1.1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.company-list-pagination{border:1px solid var(--adaptive-border-neutral,#e1e6ee);background:var(--adaptive-surface-neutral,#f8fafc);color:var(--adaptive-text-info,#68758a);border-radius:10px;justify-content:space-between;align-items:center;gap:12px;margin-top:10px;padding:8px 10px;font-size:11px;display:flex}.company-list-pagination>div{align-items:center;gap:8px;display:flex}.company-list-pagination button{background:var(--adaptive-surface-neutral,#eef2f8);color:var(--adaptive-text-info,#29478e);padding:6px 10px}.company-list-pagination button:disabled{opacity:.45}@media (width<=850px){.unified-inquiry-grid,.unified-quote-fields{grid-template-columns:1fr}.unified-inquiry-grid .full,.unified-quote-fields .full{grid-column:auto}.price-board .board-filters{grid-template-columns:1fr}.company-list-pagination{flex-direction:column;align-items:stretch}.company-list-pagination>div{justify-content:space-between}}.optional-request-inquiry{margin-top:10px}.optional-request-inquiry summary{color:var(--adaptive-text-info,#64748b);font-weight:700}@media (width<=900px){.market-settings-form{grid-template-columns:repeat(2,minmax(0,1fr))}.context-back-bar{top:114px}}@media (width<=650px){.market-settings-form{grid-template-columns:1fr}.market-settings-intro,.context-back-bar{flex-direction:column;align-items:stretch}.context-back-bar{position:static}}.executive-dashboard{gap:16px;margin:18px 0 20px;display:grid}.executive-dashboard-head{background:linear-gradient(145deg, var(--adaptive-surface-neutral,#f6f9ff), var(--adaptive-surface-neutral,#fff) 52%);border-top:4px solid #2563eb;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:14px 20px;display:grid}.executive-dashboard-head h2{margin:4px 0 8px}.executive-controls{flex-wrap:wrap;align-items:end;gap:8px;display:flex}.executive-controls label{min-width:185px;color:var(--adaptive-text-info,#475467);gap:5px;font-size:12px;font-weight:800;display:grid}.executive-controls select{min-height:42px}.executive-controls button{align-items:center;gap:7px;min-height:42px;display:inline-flex}.executive-last-update{color:var(--adaptive-text-info,#7a8496);grid-column:1/-1}.executive-error{border:1px solid var(--adaptive-border-danger,#f3c1c1);background:var(--adaptive-surface-neutral,#fff1f1);color:var(--adaptive-text-danger,#9e2d2d);border-radius:12px;align-items:center;gap:8px;padding:11px 13px;font-weight:700;display:flex}.executive-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.executive-kpi{border:1px solid var(--adaptive-border-info,#dce4ef);background:var(--adaptive-surface-neutral,#fff);border-radius:16px;grid-template-rows:auto auto 1fr;grid-template-columns:auto 1fr;align-content:start;gap:6px 10px;min-height:145px;padding:17px;display:grid;position:relative;overflow:hidden;box-shadow:0 7px 24px #0f172a0b}.executive-kpi:before{content:"";background:#2563eb;width:4px;position:absolute;inset:0 auto 0 0}.executive-kpi>svg{background:var(--adaptive-surface-info,#eff6ff);width:39px;height:39px;color:var(--adaptive-text-info,#2563eb);border-radius:11px;grid-row:1/span 2;padding:8px}.executive-kpi span{color:var(--adaptive-text-info,#667085);font-size:12px;font-weight:800}.executive-kpi strong{color:var(--adaptive-text-info,#13294b);overflow-wrap:anywhere;font-size:20px;line-height:1.55}.executive-kpi small{color:var(--adaptive-text-info,#7a8496);grid-column:1/-1;align-self:end;line-height:1.7}.executive-kpi.profit:before{background:#15803d}.executive-kpi.profit>svg{background:var(--adaptive-surface-success,#ecfdf3);color:var(--adaptive-text-success,#15803d)}.executive-kpi.cash:before{background:#7c3aed}.executive-kpi.cash>svg{background:var(--adaptive-surface-violet,#f3e8ff);color:var(--adaptive-text-violet,#7c3aed)}.executive-kpi.cash.negative{border-color:var(--adaptive-border-danger,#f2b8b5);background:var(--adaptive-surface-neutral,#fff8f8)}.executive-kpi.cash.negative:before{background:#b42318}.executive-kpi.cash.negative>svg,.executive-kpi.cash.negative strong{color:var(--adaptive-text-danger,#b42318)}.executive-kpi.receivable:before{background:#0891b2}.executive-kpi.receivable>svg{background:var(--adaptive-surface-info,#ecfeff);color:var(--adaptive-text-info,#0e7490)}.executive-kpi.payable:before{background:#d97706}.executive-kpi.payable>svg{background:var(--adaptive-surface-warning,#fff7ed);color:var(--adaptive-text-danger,#c2410c)}.executive-kpi.purchase:before{background:#0f766e}.executive-kpi.purchase>svg{background:var(--adaptive-surface-neutral,#f0fdfa);color:var(--adaptive-text-info,#0f766e)}.executive-grid{gap:16px;display:grid}.executive-funnel-grid{grid-template-columns:minmax(0,1.6fr) minmax(300px,.8fr)}.executive-ranking-grid,.executive-attention-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.executive-funnel,.executive-crm-snapshot,.executive-ranking,.executive-attention,.executive-status-card{min-width:0}.funnel-steps{grid-template-columns:minmax(110px,1fr) auto minmax(110px,1fr) auto minmax(110px,1fr) auto minmax(110px,1fr);align-items:center;gap:9px;margin-top:14px;display:grid}.funnel-steps>div{text-align:center;border:1px solid var(--adaptive-border-info,#dce4ef);background:var(--adaptive-surface-neutral,#f8fafc);border-radius:13px;align-content:center;gap:5px;min-height:84px;padding:12px 9px;display:grid}.funnel-steps>div.final{background:var(--adaptive-surface-neutral,#effdf4);border-color:var(--adaptive-border-success,#b7ebc9)}.funnel-steps b{color:var(--adaptive-text-info,#13294b);font-size:23px}.funnel-steps span{color:var(--adaptive-text-info,#667085);font-size:11px;font-weight:700}.funnel-steps>svg{color:var(--adaptive-text-info,#94a3b8)}.conversion-row{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.conversion-row span{background:var(--adaptive-surface-neutral,#f6f8fb);color:var(--adaptive-text-info,#667085);border-radius:10px;flex:220px;justify-content:space-between;align-items:center;gap:8px;padding:9px 11px;font-size:12px;display:flex}.conversion-row b{color:var(--adaptive-text-info,#243b80)}.crm-snapshot-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:13px;display:grid}.crm-snapshot-grid>div{border:1px solid var(--adaptive-border-neutral,#e1e7ef);background:var(--adaptive-surface-neutral,#fbfcfe);border-radius:12px;gap:5px;padding:12px;display:grid}.crm-snapshot-grid span{color:var(--adaptive-text-info,#667085);font-size:11px}.crm-snapshot-grid b{color:var(--adaptive-text-info,#13294b);font-size:20px}.crm-snapshot-grid .warn{border-color:var(--adaptive-border-warning,#f2c8aa);background:var(--adaptive-surface-warning,#fff8ed)}.crm-snapshot-grid .warn b{color:var(--adaptive-text-warning,#b54708)}.executive-bars{gap:8px;margin-top:8px;display:grid}.executive-bars>button{text-align:right;color:inherit;background:var(--adaptive-surface-neutral,#fbfcfe);border:1px solid var(--adaptive-border-neutral,#e4e9f1);grid-template-columns:30px minmax(0,1fr);align-items:center;gap:10px;padding:10px;display:grid}.executive-bars>button:hover{background:var(--adaptive-surface-neutral,#f5f8ff);border-color:var(--adaptive-border-info,#cdd9f2)}.bar-rank{background:var(--adaptive-surface-info,#e9efff);width:29px;height:29px;color:var(--adaptive-text-info,#30498f);border-radius:9px;place-items:center;font-weight:900;display:grid}.bar-main{gap:5px;min-width:0;display:grid}.bar-main b{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.bar-main small{color:var(--adaptive-text-info,#667085)}.bar-main i{background:var(--adaptive-surface-neutral,#e9eef5);border-radius:999px;height:6px;display:block;overflow:hidden}.bar-main i em{border-radius:inherit;background:#2563eb;min-width:4px;height:100%;display:block}.executive-bars.supplier .bar-main i em{background:#0f766e}.executive-bars.supplier .bar-rank{background:var(--adaptive-surface-success,#e8f7f4);color:var(--adaptive-text-info,#0f766e)}.attention-count{background:var(--adaptive-surface-neutral,#fff1f1);min-width:34px;height:34px;color:var(--adaptive-text-danger,#b42318);border-radius:10px;place-items:center;font-weight:900;display:grid}.attention-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:8px 0 12px;display:grid}.attention-summary span{border:1px solid var(--adaptive-border-warning,#eee1d5);background:var(--adaptive-surface-neutral,#fffbf7);color:var(--adaptive-text-warning,#7a6553);border-radius:10px;gap:4px;padding:9px;font-size:10px;display:grid}.attention-summary b{color:var(--adaptive-text-warning,#7a3e00);font-size:12px}.attention-list{gap:8px;display:grid}.attention-list>button{color:inherit;background:var(--adaptive-surface-neutral,#fff);border:1px solid var(--adaptive-border-neutral,#e4e9f1);text-align:right;grid-template-columns:minmax(140px,.8fr) minmax(220px,1.6fr) auto;align-items:center;gap:10px;padding:10px 11px;display:grid}.attention-list>button:hover{background:var(--adaptive-surface-neutral,#fffaf4);border-color:var(--adaptive-border-warning,#efd4b9)}.attention-list>button>span:first-child{gap:3px;display:grid}.attention-list small{color:var(--adaptive-text-info,#667085)}.attention-amounts{flex-wrap:wrap;gap:5px;display:flex}.attention-amounts em{background:var(--adaptive-surface-warning,#fff7ed);color:var(--adaptive-text-danger,#9a3412);border-radius:7px;padding:4px 7px;font-size:10px;font-style:normal;font-weight:800}.attention-amounts em.danger{background:var(--adaptive-surface-neutral,#fff1f1);color:var(--adaptive-text-danger,#b42318)}.attention-list>button>svg{color:var(--adaptive-text-info,#94a3b8)}.status-bars{gap:10px;margin-top:12px;display:grid}.status-bars>div{grid-template-columns:minmax(120px,.9fr) minmax(120px,1.7fr) 30px;align-items:center;gap:9px;display:grid}.status-bars span{color:var(--adaptive-text-info,#475467);font-size:11px;font-weight:700}.status-bars i{background:var(--adaptive-surface-neutral,#edf1f6);border-radius:999px;height:9px;display:block;overflow:hidden}.status-bars i em{border-radius:inherit;background:#3d57a6;min-width:5px;height:100%;display:block}.status-bars b{color:var(--adaptive-text-info,#13294b);text-align:left}.dashboard-purchase-link{background:var(--adaptive-surface-neutral,#eef8f6);width:100%;color:var(--adaptive-text-info,#0f766e);border:1px solid var(--adaptive-border-success,#cbe5df);justify-content:center;align-items:center;gap:7px;margin-top:16px;display:flex}@media (width<=1050px){.executive-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.executive-funnel-grid,.executive-ranking-grid,.executive-attention-grid{grid-template-columns:1fr}}@media (width<=760px){.executive-dashboard-head{grid-template-columns:1fr}.executive-controls{width:100%}.executive-controls label{flex:180px}.executive-kpi-grid,.funnel-steps{grid-template-columns:1fr}.funnel-steps>svg{margin:auto;transform:rotate(-90deg)}.attention-summary,.crm-snapshot-grid{grid-template-columns:1fr 1fr}.attention-list>button{grid-template-columns:1fr auto}.attention-amounts{grid-column:1/-1}}@media (width<=480px){.attention-summary,.crm-snapshot-grid{grid-template-columns:1fr}.status-bars>div{grid-template-columns:1fr 30px}.status-bars i{grid-column:1/-1}}.executive-chart-grid{grid-template-columns:minmax(0,1.65fr) minmax(320px,.85fr)}.executive-chart-card{min-width:0}.executive-trend-chart{margin-top:8px}.chart-legend{color:var(--adaptive-text-info,#667085);flex-wrap:wrap;align-items:center;gap:14px;margin-bottom:8px;font-size:11px;font-weight:700;display:flex}.chart-legend span{align-items:center;gap:6px;display:inline-flex}.chart-legend span i{border-radius:999px;width:18px;height:4px;display:inline-block}.chart-legend .sales i{background:#2563eb}.chart-legend .profit i{background:#15803d}.chart-legend small{color:var(--adaptive-text-info,#8791a2);margin-right:auto}.executive-trend-chart svg{width:100%;height:auto;min-height:210px;display:block;overflow:visible}.chart-grid-line{stroke:#e7ecf3;stroke-width:1px}.trend-line{stroke-width:4px;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}.trend-line.sales{stroke:#2563eb}.trend-line.profit{stroke:#15803d}.trend-point{stroke:#fff;stroke-width:2.5px;vector-effect:non-scaling-stroke}.trend-point.sales{fill:#2563eb}.trend-point.profit{fill:#15803d}.trend-labels{color:var(--adaptive-text-info,#667085);text-align:center;direction:ltr;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px;margin:-4px 12px 0;font-size:10px;font-weight:700;display:grid}.trend-labels span{direction:rtl}.chart-empty{border:1px dashed var(--adaptive-border-info,#d7dfeb);background:var(--adaptive-surface-neutral,#fbfcfe);min-height:220px;color:var(--adaptive-text-info,#8791a2);text-align:center;border-radius:13px;place-items:center;padding:20px;display:grid}.liquidity-bars{gap:18px;margin-top:22px;display:grid}.liquidity-row{grid-template-columns:minmax(105px,.85fr) minmax(140px,1.7fr) minmax(115px,auto);align-items:center;gap:10px;display:grid}.liquidity-row>span{color:var(--adaptive-text-info,#475467);font-size:11px;font-weight:800}.liquidity-row>b{color:var(--adaptive-text-info,#13294b);text-align:left;overflow-wrap:anywhere;font-size:11px}.liquidity-track{background:var(--adaptive-surface-neutral,#eef2f7);direction:rtl;border-radius:999px;height:18px;overflow:hidden}.liquidity-track i{border-radius:inherit;background:#0891b2;height:100%;display:block}.liquidity-row.payable .liquidity-track i{background:#d97706}.liquidity-row.cash .liquidity-track i{background:#7c3aed}.liquidity-row.negative .liquidity-track i{background:#b42318}.liquidity-row.negative>b{color:var(--adaptive-text-danger,#b42318)}.funnel-caveat{color:var(--adaptive-text-info,#8791a2);margin-top:9px;font-size:10px;line-height:1.8;display:block}.status-donut-layout{grid-template-columns:150px minmax(0,1fr);align-items:center;gap:18px;margin-top:14px;display:grid}.status-donut{aspect-ratio:1;border-radius:50%;place-items:center;width:142px;display:grid;position:relative}.status-donut:after{content:"";aspect-ratio:1;background:var(--adaptive-surface-neutral,#fff);border-radius:50%;width:82px;position:absolute;box-shadow:inset 0 0 0 1px #eef2f7}.status-donut>div{z-index:1;text-align:center;gap:2px;display:grid;position:relative}.status-donut b{color:var(--adaptive-text-info,#13294b);font-size:22px}.status-donut span{color:var(--adaptive-text-info,#667085);font-size:10px;font-weight:700}.status-donut-legend{gap:7px;display:grid}.status-donut-legend>div{border-bottom:1px solid var(--adaptive-border-neutral,#f0f3f7);grid-template-columns:9px minmax(0,1fr) 34px 35px;align-items:center;gap:7px;padding:5px 0;display:grid}.status-donut-legend i{border-radius:50%;width:9px;height:9px}.status-donut-legend span{color:var(--adaptive-text-info,#475467);font-size:10px;font-weight:700}.status-donut-legend b{color:var(--adaptive-text-info,#13294b);font-size:11px}.status-donut-legend small{color:var(--adaptive-text-info,#8791a2);text-align:left}@media (width<=1050px){.executive-chart-grid{grid-template-columns:1fr}}@media (width<=650px){.liquidity-row{grid-template-columns:1fr;gap:6px}.liquidity-row>b{text-align:right}.status-donut-layout{grid-template-columns:1fr;justify-items:center}.status-donut-legend{width:100%}.trend-labels{margin-inline:0;font-size:9px}}.executive-controls.md3-controls{justify-content:flex-end}.executive-controls.md3-controls label{min-width:155px}.executive-custom-filter{border:1px solid var(--adaptive-border-info,#dbe4f0);background:var(--adaptive-surface-neutral,#f8faff);border-radius:12px;flex-wrap:wrap;grid-column:1/-1;align-items:center;gap:12px;padding:10px 12px;display:flex}.executive-custom-filter>label{color:var(--adaptive-text-info,#475467);align-items:center;gap:8px;font-size:11px;font-weight:800;display:flex}.executive-custom-filter input,.executive-custom-filter select{min-height:36px}.executive-custom-filter:not(.range) input{width:100px}.jalali-inline-date{direction:rtl;gap:5px;display:inline-flex}.jalali-inline-date input{width:76px}.jalali-inline-date input:last-child{width:58px}.jalali-inline-date select{min-width:105px}.active-report-range{background:var(--adaptive-surface-info,#eef4ff);color:var(--adaptive-text-info,#38528f);border-radius:9px;flex-wrap:wrap;grid-column:1/-1;align-items:center;gap:7px;padding:7px 10px;font-size:11px;display:flex}.active-report-range small{color:var(--adaptive-text-info,#667085);margin-right:auto}.executive-kpi.invoice:before{background:#b54708}.executive-kpi.invoice>svg{background:var(--adaptive-surface-warning,#fff7ed);color:var(--adaptive-text-warning,#b54708)}.executive-market-inquiry{min-width:0}.inquiry-kpi-grid{grid-template-columns:1fr;gap:9px;margin-top:12px;display:grid}.inquiry-kpi-grid>div{border:1px solid var(--adaptive-border-neutral,#e1e7ef);background:var(--adaptive-surface-neutral,#fbfcfe);border-radius:11px;justify-content:space-between;align-items:center;gap:10px;padding:11px 12px;display:flex}.inquiry-kpi-grid span{color:var(--adaptive-text-info,#667085);font-size:11px;font-weight:700}.inquiry-kpi-grid b{color:var(--adaptive-text-info,#13294b);font-size:19px}.liquidity-row.received .liquidity-track i{background:#0f766e}.liquidity-row.paid .liquidity-track i{background:#d97706}.liquidity-row.receivable .liquidity-track i{background:#0891b2}.order-document-actions{flex-wrap:wrap;gap:8px;margin:10px 0 4px;display:flex}.order-document-actions button{align-items:center;gap:7px;display:inline-flex}.sales-invoice-module{gap:14px;display:grid}.invoice-topbar{align-items:center}.invoice-layout{grid-template-columns:minmax(285px,.75fr) minmax(0,1.65fr);align-items:start;gap:14px;display:grid}.invoice-list-card{min-width:0;position:sticky;top:135px}.invoice-list{gap:7px;max-height:68vh;margin-top:10px;display:grid;overflow:auto}.invoice-list>button{text-align:right;color:inherit;background:var(--adaptive-surface-neutral,#fff);border:1px solid var(--adaptive-border-neutral,#e1e7ef);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:9px;padding:10px;display:grid}.invoice-list>button.active{border-color:var(--adaptive-border-info,#7f9fe8);background:var(--adaptive-surface-neutral,#f4f7ff);box-shadow:inset -3px 0 #3459aa}.invoice-list>button>span{gap:3px;min-width:0;display:grid}.invoice-list b,.invoice-list strong{color:var(--adaptive-text-info,#13294b)}.invoice-list small{color:var(--adaptive-text-info,#667085);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.invoice-detail-card{min-width:0}.invoice-detail-card>header{border-bottom:1px solid var(--adaptive-border-neutral,#e8edf4);justify-content:space-between;align-items:flex-start;gap:14px;padding-bottom:12px;display:flex}.invoice-detail-card>header>div{gap:4px;display:grid}.invoice-detail-card h2{margin:0}.invoice-status{background:var(--adaptive-surface-neutral,#eef2f7);color:var(--adaptive-text-info,#475467);border-radius:999px;justify-self:end;padding:5px 9px;font-size:10px;font-weight:900;display:inline-flex}.invoice-status.status-2{background:var(--adaptive-surface-info,#e8f0ff);color:var(--adaptive-text-info,#30498f)}.invoice-status.status-3{background:var(--adaptive-surface-info,#ecfeff);color:var(--adaptive-text-info,#0e7490)}.invoice-status.status-4{background:var(--adaptive-surface-success,#ecfdf3);color:var(--adaptive-text-success,#15803d)}.invoice-status.status-9{background:var(--adaptive-surface-neutral,#fff1f1);color:var(--adaptive-text-danger,#b42318)}.invoice-actions,.invoice-status-actions{flex-wrap:wrap;gap:8px;margin:12px 0;display:flex}.invoice-actions button,.invoice-status-actions button{align-items:center;gap:6px;display:inline-flex}.invoice-kpis{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:10px 0;display:grid}.invoice-kpis>div{border:1px solid var(--adaptive-border-neutral,#e1e7ef);background:var(--adaptive-surface-neutral,#fbfcfe);border-radius:11px;gap:5px;padding:11px;display:grid}.invoice-kpis span{color:var(--adaptive-text-info,#667085);font-size:10px}.invoice-kpis b{color:var(--adaptive-text-info,#13294b);font-size:15px}.invoice-parties{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:10px 0;display:grid}.invoice-parties p{border:1px solid var(--adaptive-border-neutral,#e5eaf1);background:var(--adaptive-surface-neutral,#fff);border-radius:10px;margin:0;padding:10px;line-height:1.9}.invoice-parties small{color:var(--adaptive-text-info,#667085)}.invoice-tax-box{border:1px solid var(--adaptive-border-success,#b9dfcb);background:var(--adaptive-surface-neutral,#f0fdf4);color:var(--adaptive-text-success,#166534);border-radius:10px;flex-wrap:wrap;align-items:center;gap:10px;margin:10px 0;padding:10px 12px;display:flex}.invoice-create-modal form{gap:11px;display:grid}.invoice-create-lines{border:1px solid var(--adaptive-border-neutral,#e1e7ef);border-radius:10px;max-height:300px;overflow:auto}.invoice-create-lines table{margin:0}.invoice-create-lines input{min-width:110px}.invoice-create-modal .persian-date-field{margin:0}.invoice-create-modal .check{align-self:end;align-items:center;gap:8px;min-height:42px;display:flex}.invoice-create-modal .check input{width:auto;min-height:auto}@media (width<=1050px){.invoice-layout{grid-template-columns:1fr}.invoice-list-card{position:static}.invoice-list{max-height:360px}.invoice-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=720px){.executive-custom-filter.range{flex-direction:column;align-items:stretch}.jalali-inline-date{width:100%}.jalali-inline-date input,.jalali-inline-date input:last-child,.jalali-inline-date select{flex:1;width:auto;min-width:0}.invoice-detail-card>header{flex-direction:column}.invoice-status{justify-self:start}.invoice-kpis,.invoice-parties{grid-template-columns:1fr}}.main-module-nav button[data-module=invoices]{--nav-color:#4f46e5;border-bottom-color:#4f46e5!important}.main-module-nav button[data-module=invoices].active{color:#fff!important;background:#4f46e5!important;border-bottom-color:#4f46e5!important}.main-module-nav button[data-module=invoices].active svg,.main-module-nav button[data-module=invoices].active span{fill:currentColor;color:#fff!important}.main-module-nav button[data-module=invoices]:focus-visible{outline-offset:2px;outline:3px solid #4f46e547}.shell.module-invoices{--module-color:#4f46e5!important}.shell.module-invoices .hero{border-top-color:#4f46e5!important}.shell.module-invoices .hero>svg,.shell.module-invoices .eyebrow{color:var(--adaptive-text-info,#4f46e5)!important}.main-module-nav button[data-module=invoices],.main-module-nav button.aor-invoice-nav-hf3{--nav-color:#4f46e5!important;border-bottom:3px solid #4f46e56b!important}.main-module-nav button[data-module=invoices].active,.main-module-nav button.aor-invoice-nav-hf3.active{color:#fff!important;background:#4f46e5!important;border-bottom-color:#4f46e5!important}.main-module-nav button[data-module=invoices].active svg,.main-module-nav button.aor-invoice-nav-hf3.active svg{color:#fff!important;stroke:#fff!important}.main-module-nav button[data-module=invoices]:focus-visible,.main-module-nav button.aor-invoice-nav-hf3:focus-visible{outline-offset:2px;outline:3px solid #4f46e547!important}.main-module-nav button{--nav-color:#64748b}.module-invoices{--module-color:#4f46e5}.main-module-nav button[data-module=invoices]{--nav-color:#4f46e5}.module-invoices .hero{border-top-color:#4f46e5!important}.module-invoices .hero>svg,.module-invoices .eyebrow{color:var(--adaptive-text-info,#4f46e5)}.module-trades{--module-color:#0f766e}.main-module-nav button[data-module=trades]{--nav-color:#0f766e}.main-module-nav{z-index:20;flex-wrap:wrap;align-items:stretch;gap:10px;display:flex;position:sticky;top:0}.nav-group{border:1px solid var(--adaptive-border-neutral,#e3e8ef);background:color-mix(in srgb, var(--adaptive-surface-neutral,#fff) 93%, var(--adaptive-surface-neutral,#f1f5f9));border-radius:13px;flex-wrap:wrap;align-content:flex-start;align-items:center;gap:7px;padding:7px 8px 9px;display:flex;box-shadow:inset 0 1px #ffffffbf}.nav-group:first-of-type{flex:280px}.nav-group:nth-of-type(2){flex:3 640px}.nav-group:nth-of-type(3){flex:300px}.nav-group:nth-of-type(4){flex:2 520px}.nav-group-label{width:100%;color:var(--adaptive-text-info,#7c8798);padding:1px 5px 3px;font-size:10px;font-weight:800;line-height:1}.nav-group button{flex:auto;min-width:126px}.nav-group button.active{box-shadow:0 5px 14px color-mix(in srgb, var(--nav-color) 23%, transparent)}.desktop-context-menu{overscroll-behavior:contain;scrollbar-gutter:stable;z-index:1200;background:var(--adaptive-surface-neutral,#fff);border:1px solid var(--adaptive-border-info,#d7dee8);direction:rtl;border-radius:12px;gap:2px;width:min(278px,100vw - 16px);max-height:calc(100vh - 16px);padding:6px;display:grid;position:fixed;overflow:hidden auto;box-shadow:0 18px 48px #0f172a38,0 3px 10px #0f172a1a}.desktop-context-menu button{text-align:right;color:var(--adaptive-text-info,#233047);background:0 0;border:0;border-radius:8px;grid-template-columns:minmax(0,1fr);gap:2px;min-height:42px;padding:9px 10px;display:grid}.desktop-context-menu button:hover,.desktop-context-menu button:focus-visible{background:var(--adaptive-surface-info,#eef4ff);outline:none}.desktop-context-menu button small{color:var(--adaptive-text-info,#7b8798);font-size:10px}.desktop-context-menu button.danger{color:var(--adaptive-text-danger,#b42318)}.desktop-context-menu button.danger:hover,.desktop-context-menu button.danger:focus-visible{background:var(--adaptive-surface-danger,#fff1f0)}.desktop-context-menu button:disabled{opacity:.46;cursor:not-allowed;background:0 0}.trade-case-module{gap:14px;display:grid}.trade-case-toolbar{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.trade-case-toolbar h2,.trade-case-detail h2,.trade-statement h2{align-items:center;gap:8px;margin:2px 0 6px;display:flex}.trade-command-bar{flex-wrap:wrap;justify-content:flex-end;gap:7px;display:flex}.trade-command-bar button,.trade-quick-links button{align-items:center;gap:6px;display:inline-flex}.trade-case-filters{justify-content:space-between;align-items:center;gap:10px;display:flex}.trade-search{border:1px solid var(--adaptive-border-info,#d5deea);background:var(--adaptive-surface-neutral,#fff);border-radius:10px;align-items:center;gap:7px;min-width:min(520px,100%);padding:0 10px;display:flex}.trade-search:focus-within{border-color:#0f766e;box-shadow:0 0 0 3px #0f766e1c}.trade-search input{width:100%;min-height:42px;box-shadow:none!important;border:0!important}.trade-filter-buttons{flex-wrap:wrap;gap:6px;display:flex}.trade-filter-buttons button{background:var(--adaptive-surface-neutral,#f4f7fb);color:var(--adaptive-text-info,#526075);border:1px solid var(--adaptive-border-info,#e0e6ef)}.trade-filter-buttons button.active{background:var(--adaptive-surface-neutral,#e8f5f3);color:var(--adaptive-text-info,#0f665f);border-color:var(--adaptive-border-info,#7dc8c1)}.trade-filter-buttons button.active.warning{background:var(--adaptive-surface-warning,#fff7e8);color:var(--adaptive-text-warning,#9a6700);border-color:var(--adaptive-border-warning,#f5c56b)}.trade-case-layout{grid-template-columns:minmax(300px,390px) minmax(0,1fr);align-items:start;gap:14px;display:grid}.trade-case-list{gap:6px;max-height:76vh;display:grid;position:static;overflow:auto}.trade-case-row{border:1px solid var(--adaptive-border-info,#dce4ee);background:var(--adaptive-surface-neutral,#fff);cursor:default;-webkit-user-select:none;user-select:none;border-radius:11px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 11px;display:grid}.trade-case-row:hover{background:var(--adaptive-surface-neutral,#f8fbfb);border-color:var(--adaptive-border-info,#a7d3cf)}.trade-case-row:focus-visible{border-color:#0f766e;outline:3px solid #0f766e29}.trade-case-row.active{background:var(--adaptive-surface-neutral,#edf8f7);border-color:#4ba69e;box-shadow:inset -3px 0 #0f766e}.trade-case-row-main{gap:2px;min-width:0;display:grid}.trade-case-row-main b{color:var(--adaptive-text-info,#0e544f);text-align:right;font-size:12px}.trade-case-row-main span{color:var(--adaptive-text-info,#172033);white-space:nowrap;text-overflow:ellipsis;font-weight:800;overflow:hidden}.trade-case-row-main small{color:var(--adaptive-text-info,#7b8798)}.trade-case-row-metrics{place-items:center end;gap:4px;display:grid}.trade-case-row-metrics>span:first-child{white-space:nowrap;font-size:11px;font-weight:800}.ellipsis-action{border-radius:7px;min-width:30px;min-height:28px;font-size:20px;line-height:1;color:var(--adaptive-text-info,#526075)!important;background:0 0!important;border:0!important;padding:0 7px!important}.ellipsis-action:hover{background:var(--adaptive-surface-neutral,#e7edf5)!important}.trade-alert-count{background:var(--adaptive-surface-warning,#fff4dc);color:var(--adaptive-text-warning,#9a6700);font-size:10px;font:inherit;border:0;border-radius:999px;align-items:center;gap:3px;padding:3px 6px;line-height:1;display:inline-flex}.trade-alert-count:hover,.trade-alert-count:focus-visible{background:var(--adaptive-surface-warning,#ffe7b0);outline-offset:1px;outline:2px solid #f4ba4b}.trade-alert-count.critical{background:var(--adaptive-surface-danger,#ffebe9);color:var(--adaptive-text-danger,#b42318)}.trade-alert-count.critical:hover,.trade-alert-count.critical:focus-visible{background:var(--adaptive-surface-danger,#ffd8d3);outline-color:#e88278}.trade-case-detail{gap:12px;min-height:480px;display:grid}.trade-detail-header{border-bottom:1px solid var(--adaptive-border-neutral,#e6ebf2);justify-content:space-between;align-items:flex-start;gap:16px;padding-bottom:10px;display:flex}.trade-detail-status{justify-items:end;gap:4px;display:grid}.trade-detail-status span{background:var(--adaptive-surface-neutral,#e8f5f3);color:var(--adaptive-text-info,#0f665f);border:1px solid var(--adaptive-border-info,#b8ddd9);border-radius:999px;padding:6px 10px;font-weight:800}.trade-detail-status small{color:var(--adaptive-text-warning,#9a6700)}.trade-detail-tabs{border-bottom:1px solid var(--adaptive-border-neutral,#e4e9f0);flex-wrap:wrap;gap:5px;padding-bottom:7px;display:flex}.trade-detail-tabs button{color:var(--adaptive-text-info,#667085);background:0 0;border:0;border-radius:8px;padding:7px 10px}.trade-detail-tabs button.active{background:var(--adaptive-surface-neutral,#e7f5f3);color:var(--adaptive-text-info,#0f665f)}.trade-kpi-grid,.statement-kpis{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;display:grid}.trade-metric{border:1px solid var(--adaptive-border-neutral,#e0e6ee);background:var(--adaptive-surface-neutral,#fff);border-radius:11px;gap:5px;padding:11px;display:grid}.trade-metric span{color:var(--adaptive-text-info,#667085);font-size:11px}.trade-metric strong{color:var(--adaptive-text-info,#13294b);font-size:17px}.trade-metric small{color:var(--adaptive-text-info,#667085)}.trade-metric.good{border-inline-start:4px solid #1f9d55}.trade-metric.danger{border-inline-start:4px solid #d92d20}.trade-progress-card{border:1px solid var(--adaptive-border-neutral,#e1e7ef);background:var(--adaptive-surface-neutral,#f8fafc);border-radius:12px;gap:8px;padding:12px;display:grid}.trade-progress-card>div:first-child{justify-content:space-between;gap:10px;display:flex}.trade-progress{background:var(--adaptive-surface-neutral,#e2e8f0);border-radius:999px;height:9px;overflow:hidden}.trade-progress i{border-radius:inherit;background:#0f766e;height:100%;display:block}.trade-progress-card p{color:var(--adaptive-text-info,#667085);margin:0;font-size:11px}.trade-quick-links{flex-wrap:wrap;gap:7px;display:flex}.trade-finance-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.trade-finance-card,.trade-cash-card{border:1px solid var(--adaptive-border-info,#dfe6ef);background:var(--adaptive-surface-neutral,#fff);border-radius:12px;padding:12px}.trade-finance-card h3{margin:0 0 7px}.trade-finance-card>div{border-bottom:1px solid var(--adaptive-border-neutral,#edf1f5);justify-content:space-between;gap:10px;padding:7px 0;display:flex}.trade-finance-card>div:last-child{border-bottom:0}.trade-finance-card .emphasis{background:var(--adaptive-surface-neutral,#f6f9fc);border-radius:8px;margin:4px -7px -5px;padding:9px 7px}.trade-cash-card{grid-column:1/-1;grid-template-columns:1fr auto;align-items:center;gap:6px 14px;display:grid}.trade-cash-card strong{direction:ltr;font-size:22px}.trade-cash-card small{color:var(--adaptive-text-info,#667085);grid-column:1/-1}.trade-expenses{gap:12px;display:grid}.trade-expense-form{border:1px solid var(--adaptive-border-info,#dce4ed);background:var(--adaptive-surface-neutral,#f8fafc);border-radius:12px;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;padding:12px;display:grid}.trade-expense-form .section-title{grid-column:1/-1;justify-content:space-between;align-items:center;gap:10px;display:flex}.trade-expense-form .section-title h3{align-items:center;gap:6px;margin:0;display:flex}.trade-expense-form label{color:var(--adaptive-text-info,#526075);gap:5px;font-size:11px;font-weight:700;display:grid}.trade-expense-form .full{grid-column:1/-1}.trade-expense-date{grid-template-columns:repeat(3,minmax(80px,1fr)) minmax(110px,1fr);gap:6px;display:grid}.trade-expense-list{gap:6px;display:grid}.trade-expense-row{border:1px solid var(--adaptive-border-neutral,#e0e6ee);border-radius:10px;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:9px 11px;display:grid}.trade-expense-row>div:first-child{gap:2px;display:grid}.trade-expense-row small{color:var(--adaptive-text-info,#7b8798)}.trade-expense-row.cancelled{opacity:.62;background:var(--adaptive-surface-neutral,#f7f7f8);text-decoration:none}.row-actions{flex-wrap:wrap;gap:6px;display:flex}.mini-action{min-height:30px!important;padding:5px 8px!important;font-size:10px!important}.mini-action.danger{background:var(--adaptive-surface-danger,#fff1f0)!important;color:var(--adaptive-text-danger,#b42318)!important;border:1px solid var(--adaptive-border-danger,#f1b8b3)!important}.trade-documents-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.trade-documents-grid article{border:1px solid var(--adaptive-border-info,#e0e6ef);border-radius:12px;gap:7px;padding:11px;display:grid}.trade-documents-grid h3{align-items:center;gap:6px;margin:0 0 3px;display:flex}.trade-documents-grid article>button{text-align:right;border:1px solid var(--adaptive-border-neutral,#e1e7ef);background:var(--adaptive-surface-neutral,#f9fbfd);color:var(--adaptive-text-info,#233047);border-radius:9px;gap:2px;padding:9px;display:grid}.trade-documents-grid article>button:hover{border-color:var(--adaptive-border-info,#91c7c2);background:var(--adaptive-surface-neutral,#f1faf9)}.trade-documents-grid article>button small{color:var(--adaptive-text-info,#748094)}.trade-alert-list{gap:8px;display:grid}.trade-alert-list>button{text-align:right;width:100%;color:var(--adaptive-text-info,#233047);font:inherit;border:1px solid var(--adaptive-border-neutral,#e0e6ee);background:var(--adaptive-surface-neutral,#fff);border-inline-start-width:4px;border-radius:11px;padding:10px 12px;display:block}.trade-alert-list>button:hover,.trade-alert-list>button:focus-visible{border-color:var(--adaptive-border-info,#91aacb);outline:none;box-shadow:0 4px 12px #23304714}.trade-alert-list>button>div{align-items:center;gap:5px;font-size:10px;font-weight:800;display:flex}.trade-alert-list>button h3{margin:5px 0 3px;font-size:14px}.trade-alert-list>button p{color:var(--adaptive-text-info,#58667b);margin:0}.trade-alert-list>button.info{border-inline-start-color:#3b82f6}.trade-alert-list>button.warning{background:var(--adaptive-surface-neutral,#fffdf7);border-inline-start-color:#f59e0b}.trade-alert-list>button.critical{background:var(--adaptive-surface-neutral,#fff9f8);border-inline-start-color:#d92d20}.trade-alert-list>button.critical>div{color:var(--adaptive-text-danger,#b42318)}.trade-alert-action{color:var(--adaptive-text-info,#245da8);align-items:center;gap:3px;margin-top:8px;font-size:11px;font-weight:800;display:inline-flex}.trade-no-alert{color:var(--adaptive-text-success,#16834f);background:var(--adaptive-surface-neutral,#f1fbf5);border:1px solid var(--adaptive-border-success,#bfe4cd);border-radius:12px;justify-content:center;align-items:center;gap:8px;padding:20px;display:flex}.trade-statement{gap:12px;display:grid}.trade-statement>header{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.statement-period-controls{background:var(--adaptive-surface-neutral,#f8fafc);border:1px solid var(--adaptive-border-info,#e0e6ef);border-radius:11px;grid-template-columns:minmax(260px,1fr) minmax(260px,1fr) auto;align-items:end;gap:10px;padding:10px;display:grid}.statement-period-controls>label{color:var(--adaptive-text-info,#526075);gap:5px;font-size:11px;font-weight:800;display:grid}.statement-date-picker{grid-template-columns:repeat(3,minmax(75px,1fr));gap:5px;display:grid}.statement-ledgers{gap:12px;display:grid}.statement-ledger{border:1px solid var(--adaptive-border-info,#dfe6ee);background:var(--adaptive-surface-neutral,#fff);border-radius:12px;padding:10px}.statement-ledger h3{margin:0 0 7px}.statement-opening{background:var(--adaptive-surface-neutral,#f8fafc);border-radius:8px;justify-content:space-between;padding:7px 9px;display:flex}.statement-table-wrap{max-height:430px;margin-top:8px;overflow:auto}.positive{color:var(--adaptive-text-success,#15803d)!important}.negative{color:var(--adaptive-text-danger,#b42318)!important}@media (width<=1150px){.trade-case-layout{grid-template-columns:1fr}.trade-case-list{max-height:360px;position:static}.trade-kpi-grid,.statement-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.trade-case-toolbar,.trade-case-filters{align-items:stretch}.trade-case-toolbar{display:grid}}@media (width<=800px){.trade-case-filters,.trade-statement>header{display:grid}.trade-search{min-width:0}.trade-expense-form{grid-template-columns:1fr}.trade-expense-form .full,.trade-expense-form .section-title{grid-column:auto}.trade-expense-date{grid-template-columns:repeat(2,minmax(0,1fr))}.trade-documents-grid,.trade-finance-grid{grid-template-columns:1fr}.trade-cash-card{grid-column:auto}.statement-period-controls{grid-template-columns:1fr}.nav-group{flex:100%!important}}@media (width<=560px){.trade-kpi-grid,.statement-kpis,.trade-case-row{grid-template-columns:1fr}.trade-case-row-metrics{grid-template-columns:1fr auto auto;justify-items:start}.trade-detail-header{display:grid}.trade-detail-status{justify-items:start}.trade-expense-row{grid-template-columns:1fr}.nav-group button{flex:45%;min-width:0}}.desktop-context-menu button.divider-before{border-top:1px solid var(--adaptive-border-neutral,#e6ebf2);border-top-left-radius:0;border-top-right-radius:0;margin-top:5px}.desktop-context-label{justify-content:space-between;align-items:center;gap:12px;display:flex}.desktop-context-label kbd{border:1px solid var(--adaptive-border-info,#d6dde7);background:var(--adaptive-surface-neutral,#f8fafc);min-width:42px;color:var(--adaptive-text-info,#667085);text-align:center;direction:ltr;border-bottom-width:2px;border-radius:5px;padding:2px 5px;font:10px/1.25 Consolas,Segoe UI,sans-serif}.desktop-list-item-shell{grid-template-columns:minmax(0,1fr) 31px;align-items:stretch;gap:4px;min-width:0;display:grid;position:relative}.desktop-list-item-shell>:first-child{width:100%;min-width:0}.desktop-more-button,.desktop-more-inline{cursor:pointer;place-items:center;width:31px;min-width:31px;border:1px solid var(--adaptive-border-info,#dce3ed)!important;background:var(--adaptive-surface-neutral,#f7f9fc)!important;color:var(--adaptive-text-info,#53627a)!important;border-radius:9px!important;padding:0!important;font-size:20px!important;line-height:1!important;display:grid!important}.desktop-more-button:hover,.desktop-more-button:focus-visible,.desktop-more-inline:hover,.desktop-more-inline:focus-visible{outline:2px solid #3459aa21;border-color:var(--adaptive-border-info,#9db0cf)!important;background:var(--adaptive-surface-info,#eef4ff)!important;color:var(--adaptive-text-info,#244a91)!important}.desktop-more-button.compact{align-self:center;width:26px;min-width:26px;height:28px}.desktop-more-inline{width:28px;min-width:28px;height:28px}.desktop-selected-row{box-shadow:inset -3px 0 #3459aa;background:var(--adaptive-surface-neutral,#f2f6ff)!important}.data-table tbody tr,.table-wrap tbody tr{transition:background .12s,box-shadow .12s}.data-table tbody tr:hover,.table-wrap tbody tr:hover{background:var(--adaptive-surface-neutral,#f8faff)}.proforma-list>.desktop-list-item-shell>.proforma-list-item,.order-list>.desktop-list-item-shell>.order-list-item{height:100%}.purchase-list>div>.desktop-list-item-shell>button:first-child{border:1px solid var(--adaptive-border-neutral,#e2e8f0);background:var(--adaptive-surface-neutral,#f8fafc);width:100%;color:var(--adaptive-text-info,#172033);text-align:right;border-radius:11px;gap:4px;padding:11px;display:grid}.purchase-list>div>.desktop-list-item-shell>button:first-child.active{background:var(--adaptive-surface-success,#ecfdf8);border-color:#0f766e;border-right-style:solid;border-right-width:5px}.invoice-list>.desktop-list-item-shell>button:first-child{text-align:right;color:inherit;background:var(--adaptive-surface-neutral,#fff);border:1px solid var(--adaptive-border-neutral,#e1e7ef);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:9px;padding:10px;display:grid}.invoice-list>.desktop-list-item-shell>button:first-child.active{border-color:var(--adaptive-border-info,#7f9fe8);background:var(--adaptive-surface-neutral,#f4f7ff);box-shadow:inset -3px 0 #3459aa}.invoice-list>.desktop-list-item-shell>button:first-child>span{gap:3px;min-width:0;display:grid}.inquiry-list-items>.desktop-list-item-shell>button:first-child{border:1px solid var(--adaptive-border-info,#d9e2ec);background:var(--adaptive-surface-neutral,#f8fafc);width:100%;color:var(--adaptive-text-info,#172033);text-align:right;border-radius:11px;gap:4px;padding:11px 12px;display:grid;position:relative}.inquiry-list-items>.desktop-list-item-shell>button:first-child:hover{border-color:var(--adaptive-border-warning,#d59a37);background:var(--adaptive-surface-warning,#fffaf0)}.inquiry-list-items>.desktop-list-item-shell>button:first-child.selected{background:linear-gradient(90deg,var(--adaptive-surface-neutral,#fffdf7),var(--adaptive-surface-warning,#fff5dc));border-color:#d18a1e;border-right-style:solid;border-right-width:5px;padding-right:9px;box-shadow:0 5px 16px #a7670a1f}.company-compact-row:not(.header){cursor:default}.company-compact-row:not(.header):focus-visible{outline-offset:-2px;background:var(--adaptive-surface-neutral,#f4f7ff);outline:2px solid #5c7bd9}.company-compact-row>.desktop-more-button{justify-self:end}@media (width<=700px){.desktop-list-item-shell{grid-template-columns:minmax(0,1fr) 28px}.desktop-more-button{width:28px;min-width:28px}}.desktop-command-bar{border:1px solid var(--adaptive-border-info,#d9e3f0);background:var(--adaptive-surface-neutral,#f8fbff);border-radius:12px;flex-wrap:wrap;align-items:center;gap:7px;margin:8px 0 12px;padding:9px 10px;display:flex}.desktop-command-bar.compact{margin:6px 0 10px;padding:7px 8px}.desktop-command-bar button{border:1px solid var(--adaptive-border-info,#d6e0ed);background:var(--adaptive-surface-neutral,#fff);min-height:34px;color:var(--adaptive-text-info,#29405f);border-radius:9px;align-items:center;gap:7px;padding:6px 10px;font-weight:700;display:inline-flex}.desktop-command-bar button:hover:not(:disabled){background:var(--adaptive-surface-info,#eef5ff);border-color:var(--adaptive-border-info,#a8c2ef)}.desktop-command-bar button:disabled{opacity:.46;cursor:not-allowed}.desktop-command-bar button.danger{color:var(--adaptive-text-danger,#a52b2b);border-color:var(--adaptive-border-danger,#efc8c8);background:var(--adaptive-surface-neutral,snow)}.desktop-command-bar button.divider-before{margin-inline-start:7px}.desktop-command-bar kbd{color:var(--adaptive-text-info,#6b7b91);background:var(--adaptive-surface-neutral,#eef2f7);border-radius:5px;padding:2px 5px;font:10px/1.1 Consolas,monospace}.md42-bulk-bar{border-color:var(--adaptive-border-info,#b7cff8);background:var(--adaptive-surface-neutral,#f4f8ff);justify-content:space-between;align-items:center;gap:12px;padding:10px 14px;display:flex}.md42-bulk-bar>div{flex-wrap:wrap;align-items:center;gap:9px;display:flex}.md42-bulk-bar>div:first-child span{color:var(--adaptive-text-info,#6b7b91);font-size:12px}.md42-bulk-bar button{align-items:center;gap:6px;display:inline-flex}.md42-row-check{cursor:pointer;justify-content:center;align-items:center;padding:0 3px;display:inline-flex}.md42-row-check input{accent-color:#316ee8;width:17px;height:17px}.trade-case-row{grid-template-columns:auto minmax(0,1fr) auto}.md42-ops-panel{border:1px solid var(--adaptive-border-info,#d7e4f4);background:linear-gradient(180deg, var(--adaptive-surface-neutral,#fbfdff), var(--adaptive-surface-neutral,#f5f9ff));border-radius:14px;margin:12px 0 8px;overflow:hidden}.md42-ops-heading{justify-content:space-between;align-items:center;gap:16px;padding:11px 13px 7px;display:flex}.md42-ops-heading>div{flex-wrap:wrap;align-items:baseline;gap:9px;display:flex}.md42-ops-heading>div span{color:var(--adaptive-text-info,#316ee8);font-size:11px;font-weight:800}.md42-ops-heading>div b{color:var(--adaptive-text-info,#1d2d44)}.md42-ops-heading small{color:var(--adaptive-text-info,#718096);max-width:520px}.md42-smart-command-bar{flex-wrap:wrap;gap:7px;padding:8px 12px 11px;display:flex}.md42-smart-command-bar button{border:1px solid var(--adaptive-border-info,#cdd9e8);background:var(--adaptive-surface-neutral,#fff);min-height:36px;color:var(--adaptive-text-info,#29405f);border-radius:9px;align-items:center;gap:7px;padding:7px 11px;font-weight:800;display:inline-flex}.md42-smart-command-bar button:hover:not(:disabled){border-color:var(--adaptive-border-info,#8fb3ed);background:var(--adaptive-surface-info,#edf5ff)}.md42-smart-command-bar button.positive{color:var(--adaptive-text-success,#167348);border-color:var(--adaptive-border-success,#b8dfcc);background:var(--adaptive-surface-neutral,#f4fff8)}.md42-smart-command-bar button.attention{color:var(--adaptive-text-warning,#81540a);border-color:var(--adaptive-border-warning,#efd39b);background:var(--adaptive-surface-warning,#fffaf0)}.md42-smart-command-bar button.close-command{color:var(--adaptive-text-info,#244f9e);border-color:var(--adaptive-border-info,#9bbaf0);background:var(--adaptive-surface-neutral,#f3f7ff)}.md42-smart-command-bar button:disabled{opacity:.43;cursor:not-allowed}.md42-live-control-strip{background:var(--adaptive-surface-info,#dfe7f2);border-top:1px solid var(--adaptive-border-info,#dfe7f2);grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;display:grid}.md42-live-control-strip>span,.md42-live-control-strip>button{background:var(--adaptive-surface-neutral,#fff);font-size:12px;font:inherit;border:0;border-radius:0;justify-content:space-between;gap:8px;padding:8px 10px;display:flex}.md42-live-control-strip>.ok{color:var(--adaptive-text-success,#26714e)}.md42-live-control-strip>.open{color:var(--adaptive-text-warning,#9a4c16);background:var(--adaptive-surface-neutral,#fffaf4)}.md42-live-control-strip>button.alert-link{cursor:pointer}.md42-live-control-strip>button.alert-link:hover,.md42-live-control-strip>button.alert-link:focus-visible{background:var(--adaptive-surface-warning,#fff1db);outline:none;box-shadow:inset 0 0 0 2px #efc477}.md42-proof-list{gap:8px;max-height:min(52vh,430px);margin:12px 0;display:grid;overflow:auto}.md42-proof-list article{border:1px solid var(--adaptive-border-info,#dfe6ef);background:var(--adaptive-surface-neutral,#fbfcfe);border-radius:10px;justify-content:space-between;align-items:center;gap:14px;padding:11px 12px;display:flex}.md42-proof-list article>div{gap:3px;display:grid}.md42-proof-list article span,.md42-proof-list article small{color:var(--adaptive-text-info,#6b778b);font-size:11px}.md42-proof-list label{cursor:pointer;flex:none;align-items:center;gap:6px;display:inline-flex}.md42-proof-list label.disabled{opacity:.55;cursor:wait}.md42-proof-complete{color:var(--adaptive-text-success,#187249);background:var(--adaptive-surface-neutral,#f1fbf5);border:1px solid var(--adaptive-border-success,#bfe4cd);border-radius:10px;align-items:center;gap:10px;margin:12px 0;padding:18px;display:flex}.md42-proof-complete>div{gap:3px;display:grid}.md42-proof-complete span{color:var(--adaptive-text-success,#547162);font-size:12px}.md42-history-panel{margin:10px 0 12px;padding:12px 14px}.md42-history-panel>header{justify-content:space-between;align-items:center;margin-bottom:10px;display:flex}.md42-history-panel>header>div{align-items:center;gap:7px;display:flex}.md42-history-panel>header small{color:var(--adaptive-text-info,#718096)}.md42-history-panel>div{padding-inline-start:4px;position:relative}.md42-history-panel article{border-bottom:1px dashed var(--adaptive-border-info,#dde5ef);grid-template-columns:16px minmax(0,1fr) auto;align-items:start;gap:8px;padding:9px 4px;display:grid}.md42-history-panel article i{background:#6885ac;border-radius:50%;width:9px;height:9px;margin-top:5px}.md42-history-panel article.kind-finance i{background:#2e9d67}.md42-history-panel article.kind-expense i{background:#bd7b27}.md42-history-panel article div{flex-direction:column;gap:2px;display:flex}.md42-history-panel article span,.md42-history-panel article time{color:var(--adaptive-text-info,#718096);font-size:11px}.md42-finance-modal .modal-form{max-height:72vh;overflow:auto}.md42-dropzone{text-align:center;border:2px dashed var(--adaptive-border-info,#a9bfdb);background:var(--adaptive-surface-neutral,#f8fbff);border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:7px;min-height:130px;padding:16px;display:flex}.md42-dropzone>span{color:var(--adaptive-text-info,#718096);font-size:12px}.md42-file-chips{flex-wrap:wrap;justify-content:center;gap:6px;width:100%;margin-top:4px;display:flex}.md42-file-chips>span{background:var(--adaptive-surface-neutral,#fff);border:1px solid var(--adaptive-border-info,#d5dfeb);border-radius:999px;align-items:center;gap:5px;padding:4px 8px;font-size:11px;display:inline-flex}.md42-file-chips button{color:var(--adaptive-text-danger,#a33);background:0 0;border:0;padding:0 2px;font-size:15px}.md42-jalali-picker{grid-template-columns:repeat(3,1fr);gap:6px;display:grid}.md42-close-modal form{flex-direction:column;gap:12px;display:flex}.md42-close-ok{border:1px solid var(--adaptive-border-success,#b7dfca);background:var(--adaptive-surface-neutral,#f4fff8);color:var(--adaptive-text-success,#1f6f49);border-radius:12px;align-items:center;gap:12px;padding:14px;display:flex}.md42-close-ok div{flex-direction:column;gap:3px;display:flex}.md42-close-blockers{border:1px solid var(--adaptive-border-warning,#efca9a);background:var(--adaptive-surface-neutral,#fffaf2);border-radius:12px;align-items:flex-start;gap:10px;padding:13px;display:flex}.md42-close-blockers>div{flex:1}.md42-close-blockers p{background:var(--adaptive-surface-neutral,#fff);border:1px solid var(--adaptive-border-warning,#eee0c8);border-radius:8px;justify-content:space-between;gap:10px;margin:7px 0 0;padding:7px 9px;display:flex}.md42-close-blockers p.hard{border-color:var(--adaptive-border-danger,#efbbbb);background:var(--adaptive-surface-neutral,#fff6f6)}.md42-close-blockers em{color:var(--adaptive-text-danger,#a33131);white-space:nowrap;font-size:10px;font-style:normal}.md42-exception-toggle{border:1px solid var(--adaptive-border-danger,#e5b2b2);background:var(--adaptive-surface-neutral,#fff7f7);border-radius:10px;align-items:flex-start;gap:10px;padding:11px;display:flex}.md42-exception-toggle input{width:17px;height:17px;margin-top:4px}.md42-exception-toggle span{flex-direction:column;gap:3px;display:flex}.md42-exception-toggle small{color:var(--adaptive-text-danger,#7a5d5d)}.md42-exception-fields{border:1px solid var(--adaptive-border-danger,#ead0d0);background:var(--adaptive-surface-neutral,snow);border-radius:10px;grid-template-columns:1fr 1.6fr;gap:10px;padding:12px;display:grid}.md42-exception-fields label{flex-direction:column;gap:5px;display:flex}.md42-exception-fields p{color:var(--adaptive-text-danger,#805757);grid-column:1/-1;gap:6px;margin:0;font-size:11px;display:flex}@media (width<=1000px){.md42-live-control-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.md42-bulk-bar,.md42-ops-heading{flex-direction:column;align-items:stretch}.md42-exception-fields{grid-template-columns:1fr}}.supplier-rank{background:var(--adaptive-surface-neutral,#e2e8f0);min-width:28px;height:28px;color:var(--adaptive-text-info,#475569);border-radius:50%;place-items:center;font-weight:800;display:inline-grid}.supplier-rank.eligible{background:var(--adaptive-surface-info,#dbeafe);color:var(--adaptive-text-info,#1d4ed8)}.profit-breakdown{grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;margin:12px 0;display:grid}.profit-breakdown h3{grid-column:1/-1;margin:0}.profit-breakdown>div{border:1px solid var(--adaptive-border-info,#dbe4ef);background:var(--adaptive-surface-neutral,#f8fafc);border-radius:11px;flex-direction:column;gap:4px;padding:10px;display:flex}.profit-breakdown span,.profit-breakdown small{color:var(--adaptive-text-info,#64748b)}.profit-breakdown small{font-size:.72rem;line-height:1.6}@media (width<=900px){.profit-breakdown{grid-template-columns:1fr 1fr}}.inquiry-price-picker{border:1px solid var(--adaptive-border-info,#93c5fd);background:var(--adaptive-surface-info,#eff6ff);border-radius:10px;gap:8px;padding:10px;display:grid}.inquiry-price-picker .field-title{color:var(--adaptive-text-info,#1e3a8a);font-weight:800}.inquiry-price-picker small{color:var(--adaptive-text-info,#1e40af);line-height:1.7}.inquiry-price-actions{grid-template-columns:minmax(210px,.8fr) minmax(260px,1.2fr);gap:8px;display:grid}.inquiry-price-actions button{justify-content:center;align-items:center;gap:7px;display:flex}.inquiry-price-actions button b{background:#ffffff40;border-radius:999px;place-items:center;min-width:24px;height:24px;padding:0 6px;display:inline-grid}.inquiry-quote-reference{border:1px dashed var(--adaptive-border-info,#93c5fd);background:var(--adaptive-surface-neutral,#f8fbff);border-radius:10px;padding:9px}.inquiry-quote-reference summary{cursor:pointer;color:var(--adaptive-text-info,#1d4ed8);font-weight:700}.inquiry-quote-reference>div{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:9px;display:grid}.inquiry-quote-reference p{border:1px solid var(--adaptive-border-info,#dbeafe);background:var(--adaptive-surface-neutral,#fff);border-radius:8px;gap:3px;margin:0;padding:8px;display:grid}.inquiry-quote-reference small{color:var(--adaptive-text-info,#64748b)}.proforma-reference-backdrop{z-index:1200;padding:14px}.proforma-reference-modal{width:min(1120px,100%);max-height:94vh;overflow:auto}.proforma-reference-modal .modal-header>div{gap:4px;display:grid}.proforma-reference-modal .modal-header p{color:var(--adaptive-text-info,#64748b);margin:0;font-size:.82rem}.proforma-reference-body{gap:12px;padding:15px 18px 20px;display:grid}.reference-summary{border:1px solid var(--adaptive-border-info,#bfdbfe);background:var(--adaptive-surface-info,#eff6ff);color:var(--adaptive-text-info,#1e3a8a);border-radius:11px;flex-wrap:wrap;align-items:center;gap:9px;padding:10px 12px;display:flex}.reference-summary span{border-left:1px solid var(--adaptive-border-info,#bfdbfe);align-items:center;gap:5px;padding-left:10px;display:flex}.reference-summary small{color:var(--adaptive-text-info,#475569);margin-inline-start:auto}.reference-search{display:block;position:relative}.reference-search svg{color:var(--adaptive-text-info,#64748b);position:absolute;top:50%;right:12px;transform:translateY(-50%)}.reference-search input{width:100%;padding-right:40px}.reference-candidate-list{gap:10px;display:grid}.reference-candidate{border:1px solid var(--adaptive-border-info,#dbe4ef);background:var(--adaptive-surface-neutral,#fff);border-radius:12px;gap:10px;padding:12px;display:grid}.reference-candidate.selected{border-color:#2563eb;box-shadow:0 0 0 2px #dbeafe}.reference-candidate.invalid{background:var(--adaptive-surface-neutral,snow)}.candidate-heading{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.candidate-heading>div:first-child{gap:4px;display:grid}.candidate-heading span{color:var(--adaptive-text-info,#64748b);font-size:.8rem}.candidate-badges{flex-wrap:wrap;justify-content:flex-end;gap:5px;display:flex}.candidate-badges em{background:var(--adaptive-surface-neutral,#e2e8f0);color:var(--adaptive-text-info,#475569);border-radius:999px;padding:4px 8px;font-size:.72rem;font-style:normal;font-weight:700}.candidate-badges .rank-0,.candidate-badges .rank-1{background:var(--adaptive-surface-info,#dbeafe);color:var(--adaptive-text-info,#1d4ed8)}.candidate-badges .valid{background:var(--adaptive-surface-success,#dcfce7);color:var(--adaptive-text-success,#166534)}.candidate-badges .warning{background:var(--adaptive-surface-danger,#fee2e2);color:var(--adaptive-text-danger,#991b1b)}.candidate-badges .selected-badge{color:#fff;background:#1d4ed8}.candidate-values{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;display:grid}.candidate-values span{background:var(--adaptive-surface-neutral,#f8fafc);color:var(--adaptive-text-info,#64748b);border-radius:8px;gap:3px;padding:8px;font-size:.75rem;display:grid}.candidate-values b{color:var(--adaptive-text-info,#0f172a);font-size:.82rem}.candidate-warning{background:var(--adaptive-surface-warning,#fff7ed);color:var(--adaptive-text-danger,#9a3412);border-radius:8px;align-items:center;gap:6px;margin:0;padding:8px 10px;font-size:.78rem;display:flex}.candidate-actions{flex-wrap:wrap;gap:7px;display:flex}.candidate-actions button{align-items:center;gap:6px;display:flex}.reference-empty{border:1px dashed var(--adaptive-border-info,#cbd5e1);min-height:190px;color:var(--adaptive-text-info,#64748b);text-align:center;border-radius:12px;place-items:center;gap:6px;display:grid}.reference-empty b{color:var(--adaptive-text-info,#334155)}.candidate-actions button:disabled{opacity:.48;cursor:not-allowed;filter:none;background:var(--adaptive-surface-neutral,#eef2f6);color:var(--adaptive-text-info,#6b7789);border-color:var(--adaptive-border-info,#cbd5e1);box-shadow:none}.candidate-actions button:disabled:hover{filter:none}.candidate-actions .selected-basis{border-color:var(--adaptive-border-success,#86b89b);background:var(--adaptive-surface-neutral,#eaf8ef);color:var(--adaptive-text-success,#17633a)}.candidate-instant-confirm{border:1px solid var(--adaptive-border-warning,#f5c06a);background:var(--adaptive-surface-warning,#fff8e8);color:var(--adaptive-text-warning,#8a4b08);border-radius:10px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 11px;display:grid}.candidate-instant-confirm>div:nth-child(2){gap:3px;display:grid}.candidate-instant-confirm span{font-size:.76rem;line-height:1.7}.candidate-instant-confirm-actions{flex-wrap:wrap;gap:6px;display:flex}.candidate-instant-confirm-actions button{white-space:nowrap}.proforma-purchase-basis{border:1px solid var(--adaptive-border-info,#dbe4ef);background:var(--adaptive-surface-neutral,#f8fafc);color:var(--adaptive-text-info,#536176);border-radius:9px;align-items:flex-start;gap:8px;padding:9px 10px;font-size:.78rem;line-height:1.7;display:flex}.proforma-purchase-basis svg{flex:none;margin-top:2px}.proforma-purchase-basis span{gap:2px;display:grid}.proforma-purchase-basis small{color:var(--adaptive-text-info,#69768a)}.proforma-purchase-basis.selected{border-color:var(--adaptive-border-success,#9cd2ae);background:var(--adaptive-surface-neutral,#effaf3);color:var(--adaptive-text-success,#17633a)}.proforma-purchase-basis.selected small{color:var(--adaptive-text-success,#456f54)}@media (width<=760px){.inquiry-price-actions,.candidate-values{grid-template-columns:1fr}.candidate-heading{flex-direction:column}.candidate-badges{justify-content:flex-start}.reference-summary small{width:100%;margin-inline-start:0}.candidate-instant-confirm{grid-template-columns:1fr}.candidate-instant-confirm-actions{width:100%}}.app-frame{direction:ltr;grid-template-columns:minmax(0,1fr) 286px;grid-template-areas:"stage sidebar";min-height:100vh;display:grid}.app-stage{direction:rtl;grid-area:stage;min-width:0}.app-sidebar{z-index:80;height:100vh;color:var(--text);background:linear-gradient(180deg, color-mix(in srgb, var(--module-color,#2563eb) 10%, transparent), transparent 230px), var(--sidebar-bg);border-left:1px solid var(--border);-webkit-backdrop-filter:blur(22px)saturate(140%);backdrop-filter:blur(22px)saturate(140%);direction:rtl;flex-direction:column;grid-area:sidebar;gap:18px;padding:20px 16px 16px;display:flex;position:sticky;top:0;overflow:hidden;box-shadow:-14px 0 42px #182c4c12}.app-brand{border-bottom:1px solid var(--border);grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:11px;min-height:58px;padding:4px 5px 14px;display:grid}.app-brand>div:nth-child(2){gap:3px;min-width:0;display:grid}.app-brand strong{letter-spacing:1.4px;font-family:Arial,sans-serif;font-size:18px}.app-brand span{color:var(--text-muted);white-space:nowrap;text-overflow:ellipsis;font-size:10px;overflow:hidden}.brand-orbit{background:color-mix(in srgb, var(--module-color,#2563eb) 15%, var(--surface));border:1px solid color-mix(in srgb, var(--module-color,#2563eb) 42%, var(--border));width:42px;height:42px;box-shadow:inset 0 0 18px color-mix(in srgb, var(--module-color,#2563eb) 12%, transparent);border-radius:14px;position:relative}.brand-orbit i{background:var(--module-color,#2563eb);width:7px;height:7px;box-shadow:0 0 12px color-mix(in srgb, var(--module-color,#2563eb) 65%, transparent);border-radius:50%;position:absolute}.brand-orbit i:first-child{top:8px;right:17px}.brand-orbit i:nth-child(2){opacity:.78;top:17px;right:8px}.brand-orbit i:nth-child(3){opacity:.62;top:17px;left:8px}.brand-orbit i:nth-child(4){opacity:.88;bottom:8px;right:17px}.sidebar-close{color:var(--text-muted);background:0 0;padding:7px;display:none}.workspace-summary{border:1px solid color-mix(in srgb, var(--module-color,#2563eb) 35%, var(--border));background:color-mix(in srgb, var(--module-color,#2563eb) 8%, var(--surface));border-radius:15px;gap:5px;padding:13px 14px;display:grid}.workspace-summary span{color:var(--text-muted);font-size:10px;font-weight:700}.workspace-summary strong{font-size:13px;line-height:1.65}.app-sidebar .main-module-nav{min-height:0;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;scrollbar-width:thin;background:0 0;border-radius:0;flex:1;align-content:start;gap:17px;margin:0;padding:1px 3px 18px;display:grid;position:static;overflow:hidden auto}.app-sidebar .nav-group,.app-sidebar .nav-group:nth-of-type(n){box-shadow:none;background:0 0;border:0;border-radius:0;align-items:stretch;gap:5px;padding:0;display:grid}.app-sidebar .nav-group-label{width:auto;color:var(--text-soft);letter-spacing:.2px;padding:0 10px 4px;font-size:10px}.app-sidebar .nav-group button{width:100%;min-width:0;min-height:42px;color:var(--text-muted);border:1px solid #0000;border-right:3px solid color-mix(in srgb, var(--nav-color) 40%, transparent);text-align:right;background:0 0;border-bottom:1px solid #0000;border-radius:11px;justify-content:flex-start;gap:10px;padding:9px 11px;transition:background .18s,border-color .18s,color .18s,transform .18s}.app-sidebar .nav-group button:hover{filter:none;color:var(--text);background:color-mix(in srgb, var(--nav-color) 8%, var(--surface));border-color:color-mix(in srgb, var(--nav-color) 20%, transparent);border-right-color:var(--nav-color);transform:translate(-2px)}.app-sidebar .nav-group button.active,.app-sidebar .main-module-nav button[data-module=invoices].active{box-shadow:0 9px 22px color-mix(in srgb, var(--nav-color) 15%, transparent);color:color-mix(in srgb, var(--nav-color) 80%, var(--text))!important;background:color-mix(in srgb, var(--nav-color) 16%, var(--surface))!important;border:1px solid color-mix(in srgb, var(--nav-color) 32%, var(--border))!important;border-right:4px solid var(--nav-color)!important}.app-sidebar .nav-group button.active svg{color:var(--nav-color)!important;stroke:currentColor!important}.sidebar-footer{border-top:1px solid var(--border);gap:5px;padding:13px 10px 4px;display:grid}.sidebar-footer span{color:var(--text-muted);align-items:center;gap:7px;font-size:11px;font-weight:700;display:flex}.sidebar-footer span i{background:#22c55e;border-radius:50%;width:7px;height:7px;box-shadow:0 0 10px #22c55eb3}.sidebar-footer small{text-align:right;color:var(--text-soft);direction:ltr;font-size:9px}.app-topbar{z-index:70;min-height:72px;color:var(--text);background:var(--topbar-bg);border-bottom:1px solid var(--border);-webkit-backdrop-filter:blur(22px)saturate(145%);backdrop-filter:blur(22px)saturate(145%);justify-content:space-between;align-items:center;gap:16px;padding:11px 24px;display:flex;position:sticky;top:0;box-shadow:0 8px 28px #1c2e4c0e}.topbar-leading,.topbar-leading>div,.topbar-tools{align-items:center;gap:10px;display:flex}.topbar-leading>div{gap:3px;display:grid}.topbar-leading small{color:var(--text-soft);font-size:9px;font-weight:700}.topbar-leading strong{color:var(--text-muted);align-items:center;gap:7px;font-size:12px;display:flex}.app-menu-toggle{color:var(--text);background:var(--surface-muted);border:1px solid var(--border);padding:9px;display:none}.topbar-tools{flex-wrap:wrap;justify-content:flex-end}.crm-quick-actions{border-inline-end:1px solid var(--line,#d8e0ea);align-items:center;gap:6px;padding-inline-end:8px;display:flex}.crm-quick-actions button{background:color-mix(in srgb, #2563eb 9%, var(--surface,#fff));min-height:36px;color:var(--adaptive-text-info,#1d4ed8);font:inherit;cursor:pointer;border:1px solid #2563eb47;border-radius:10px;align-items:center;gap:6px;padding:7px 11px;font-size:.84rem;font-weight:800;display:inline-flex}.crm-quick-actions button:hover,.crm-quick-actions button:focus-visible{color:#fff;background:#2563eb;outline:none}:root[data-theme=dark] .crm-quick-actions{border-inline-end-color:#334155}:root[data-theme=dark] .crm-quick-actions button{color:#bfdbfe;background:#2563eb29;border-color:#60a5fa52}.topbar-tools .reminder-bell-button{min-height:40px;color:var(--text-muted);background:var(--surface);border-color:var(--border);box-shadow:none}.theme-switcher{border:1px solid var(--border);background:var(--surface-muted);border-radius:13px;align-items:center;gap:3px;padding:4px;display:flex}.theme-switcher button{min-height:32px;color:var(--text-muted);background:0 0;border:1px solid #0000;align-items:center;gap:5px;padding:6px 9px;font-size:10px;display:inline-flex}.theme-switcher button:hover{filter:none;color:var(--text)}.theme-switcher button.active{color:var(--text);background:var(--surface-raised);border-color:var(--border);box-shadow:0 4px 12px #10233e1a}.app-sidebar-scrim{display:none}.app-content{min-width:0}.app-content .hero{background:linear-gradient(135deg, color-mix(in srgb, var(--module-color,#2563eb) 9%, var(--surface)), var(--surface) 58%);padding:22px 26px;position:relative;overflow:hidden}.app-content .hero:after{content:"";border:28px solid color-mix(in srgb, var(--module-color,#2563eb) 8%, transparent);pointer-events:none;border-radius:50%;width:210px;height:210px;position:absolute;bottom:-145px;left:-95px}.hero-module-icon{z-index:1;min-width:70px;height:70px;color:var(--module-color,#2563eb);background:color-mix(in srgb, var(--module-color,#2563eb) 12%, var(--surface));border:1px solid color-mix(in srgb, var(--module-color,#2563eb) 30%, var(--border));border-radius:20px;place-items:center;display:grid;position:relative}.hero-module-icon svg{width:34px;height:34px}.app-content>.editor-toolbar{position:relative;top:auto}:root[data-theme=dark] .app-sidebar{box-shadow:-18px 0 50px #00000047}:root[data-theme=dark] .app-sidebar .nav-group button.active,:root[data-theme=dark] .app-sidebar .main-module-nav button[data-module=invoices].active{color:#f7fbff!important}:root[data-theme=dark] .app-sidebar .nav-group button.active svg{color:color-mix(in srgb, var(--nav-color) 68%, white)!important}:root[data-theme=dark] .hero,:root[data-theme=dark] .card,:root[data-theme=dark] .modal,:root[data-theme=dark] .module-tabs,:root[data-theme=dark] .editor-toolbar,:root[data-theme=dark] .context-back-bar,:root[data-theme=dark] .desktop-context-menu,:root[data-theme=dark] .smart-picker-results,:root[data-theme=dark] .smart-company-popover,:root[data-theme=dark] .purchase-create-card,:root[data-theme=dark] .purchase-list,:root[data-theme=dark] .purchase-detail,:root[data-theme=dark] .inquiry-line,:root[data-theme=dark] .reference-candidate,:root[data-theme=dark] .order-line-card,:root[data-theme=dark] .catalog-tree-node,:root[data-theme=dark] .trade-expense-row,:root[data-theme=dark] .trade-alert-list>button{color:var(--text);background-color:var(--surface);border-color:var(--border)}:root[data-theme=dark] :is(.search-control,.search-field,.smart-picker,.smart-company-trigger,.desktop-toolbar-search){color:var(--text);background:var(--input-bg);border-color:var(--border)}:root[data-theme=dark] :is(.smart-picker-results>button,.smart-company-results>button,.inquiry-list>button,.invoice-list>button,.attention-list>button,.executive-bars>button){color:var(--text);background:var(--surface-raised);border-color:var(--border)}:root[data-theme=dark] :is(.request-line-editor,.nested-form,.inline-form,.financial-document-field,.proforma-purchase-basis,.profit-breakdown>div,.candidate-values span,.pricing-reference-metrics>div,.md42-live-control-strip>button,.md42-file-chips>span){color:var(--text);background:var(--surface-soft);border-color:var(--border)}:root[data-theme=dark] :is(.modal-header,.entry-details[open]>summary,.clean-list li,.address-list li,th,td){border-color:var(--border)}:root[data-theme=dark] :is(.hero h1,.hero h2,.card h2,.card h3,.modal h2,.executive-kpi strong,.funnel-steps b,.crm-snapshot-grid b,.status-bars b,.candidate-values b,.reference-empty b){color:var(--text)}:root[data-theme=dark] :is(.hero p,.muted,.card small,.card p,th,td small,.executive-kpi span,.executive-kpi small,.bar-main small,.attention-list small,.candidate-heading span,.candidate-values span,.proforma-reference-modal .modal-header p,.reference-summary small){color:var(--text-muted)}:root[data-theme=dark] input::placeholder,:root[data-theme=dark] textarea::placeholder{color:#75869f;opacity:1}:root[data-theme=dark] tbody tr:hover{background:#2366ae2e}:root[data-theme=dark] tbody tr.selected-row{background:#3070cf38}:root[data-theme=dark] .executive-dashboard-head{background:linear-gradient(145deg, color-mix(in srgb, #2563eb 14%, var(--surface)), var(--surface) 58%)}:root[data-theme=dark] .executive-kpi{color:var(--text);background:var(--surface);border-color:var(--border);box-shadow:var(--shadow-soft)}:root[data-theme=dark] .executive-kpi.cash.negative{background:#321c26;border-color:#713543}:root[data-theme=dark] .funnel-steps>div,:root[data-theme=dark] .conversion-row span,:root[data-theme=dark] .crm-snapshot-grid>div,:root[data-theme=dark] .attention-summary span,:root[data-theme=dark] .status-bars i,:root[data-theme=dark] .bar-main i{background:var(--surface-soft);border-color:var(--border);color:var(--text-muted)}:root[data-theme=dark] .funnel-steps>div.final{background:#103529;border-color:#28674b}:root[data-theme=dark] .crm-snapshot-grid .warn{background:#38291b;border-color:#77532c}:root[data-theme=dark] .executive-bars>button:hover,:root[data-theme=dark] .attention-list>button:hover{background:var(--surface-muted);border-color:var(--border-strong)}:root[data-theme=dark] .action-stats span,:root[data-theme=dark] .sub-tabs button,:root[data-theme=dark] .profile-stats span,:root[data-theme=dark] .contact-chips span{color:var(--text-muted);background:var(--surface-muted);border-color:var(--border)}:root[data-theme=dark] .sub-tabs button.active{color:#fff;background:#245eb3}:root[data-theme=dark] .inquiry-price-picker,:root[data-theme=dark] .inquiry-quote-reference,:root[data-theme=dark] .reference-summary{color:#b8d9ff;background:#102d53;border-color:#275b8e}:root[data-theme=dark] .inquiry-price-picker :is(.field-title,small),:root[data-theme=dark] .inquiry-quote-reference summary{color:#b8d9ff}:root[data-theme=dark] .inquiry-quote-reference p{background:var(--surface);border-color:#275b8e}:root[data-theme=dark] .reference-candidate.selected{border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f640}:root[data-theme=dark] .reference-candidate.invalid{background:#2c1d27}:root[data-theme=dark] .candidate-warning,:root[data-theme=dark] .candidate-instant-confirm{color:#ffd18d;background:#3a2b16;border-color:#8b6127}:root[data-theme=dark] .proforma-purchase-basis.selected,:root[data-theme=dark] .candidate-actions .selected-basis{color:#a7edc4;background:#123626;border-color:#317657}:root[data-theme=dark] .desktop-context-menu button{color:var(--text)}:root[data-theme=dark] .desktop-context-menu button:hover{background:var(--surface-muted)}:root[data-theme=dark] .notice{box-shadow:0 16px 42px #0006}:root[data-theme=dark] .modal-header{color:var(--text);background:color-mix(in srgb, var(--surface-raised) 92%, transparent);border-color:var(--border);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}:root[data-theme=dark] .icon-button.ghost{color:var(--text-muted);background:var(--surface-muted)}:root[data-theme=dark] .proforma-form .form-section,:root[data-theme=dark] .proforma-line-editor,:root[data-theme=dark] .proforma-public-settings,:root[data-theme=dark] .proforma-public-settings .signature-option{color:var(--text);background:var(--surface-raised);border-color:var(--border)}:root[data-theme=dark] .proforma-form :is(label,.persian-date-field){color:var(--text-muted)}:root[data-theme=dark] .proforma-form :is(.form-section>h3,.section-title h3){color:#b9d3ff}:root[data-theme=dark] .editor-mode-tabs button{color:var(--text-muted);background:var(--surface-muted);border-color:var(--border)}:root[data-theme=dark] .editor-mode-tabs button.active{color:#fff;background:#365caa;border-color:#4c78cf}:root[data-theme=dark] .line-live-total,:root[data-theme=dark] .proforma-live-summary,:root[data-theme=dark] .inquiry-proforma-preview{color:#b8d9ff;background:#102d53;border-color:#275b8e}:root[data-theme=dark] .public-terms-preview{color:var(--text-muted);background:var(--surface-soft);border-color:#547bb6}:root[data-theme=dark] .intelligence-summary-card,:root[data-theme=dark] .call-queue-grid>section,:root[data-theme=dark] .priority-company-strip>button,:root[data-theme=dark] .priority-company-row,:root[data-theme=dark] .company-smart-form,:root[data-theme=dark] .advanced-company-filters,:root[data-theme=dark] .classification-manager-grid section,:root[data-theme=dark] .company-main-search,:root[data-theme=dark] .saved-view-chip button,:root[data-theme=dark] .market-settings-form{color:var(--text);background:var(--surface-raised);border-color:var(--border)}:root[data-theme=dark] .intelligence-summary-card.active{background:#12345e;border-color:#3c74bf;box-shadow:0 0 0 3px #3b82f624}:root[data-theme=dark] .intelligence-summary-card :is(strong,svg),:root[data-theme=dark] .priority-company-name{color:#d5e4ff}:root[data-theme=dark] .intelligence-summary-card span,:root[data-theme=dark] .priority-company-strip small,:root[data-theme=dark] .priority-company-row small,:root[data-theme=dark] .company-detail-line span,:root[data-theme=dark] .saved-view-row{color:var(--text-muted)}:root[data-theme=dark] :is(.count-badge,.call-queue-grid h3 span){color:#bdd5ff;background:#173761}:root[data-theme=dark] .quick-filter-row button,:root[data-theme=dark] .secondary-button{color:#c5d9ff;background:var(--surface-muted);border-color:var(--border)}:root[data-theme=dark] .quick-filter-row button.active{color:#fff;background:#2f5ea9}:root[data-theme=dark] .company-intelligence-table thead{background:var(--surface-muted)}:root[data-theme=dark] .tag-cloud span{color:var(--text-muted);background:var(--surface-muted)}:root[data-theme=dark] .price-metrics>div,:root[data-theme=dark] .decision-summary>div,:root[data-theme=dark] .pricing-decision-card,:root[data-theme=dark] .sub-card,:root[data-theme=dark] .market-price-tiles>button,:root[data-theme=dark] .market-price-tiles>button>div>span,:root[data-theme=dark] .inquiry-list-items>button,:root[data-theme=dark] .unified-quote-line,:root[data-theme=dark] .trade-metric{color:var(--text);background:var(--surface-raised);border-color:var(--border)}:root[data-theme=dark] :is(.price-metrics strong,.decision-summary strong,.market-price-tiles>button>div b,.pricing-reference-metrics strong,.trade-metric strong){color:var(--text)}:root[data-theme=dark] :is(.price-metrics span,.decision-summary span,.market-price-tiles>button>div>span,.inquiry-list-items>button span,.inquiry-list-items>button small,.trade-metric span,.trade-metric small){color:var(--text-muted)}:root[data-theme=dark] .market-price-tiles>button:hover,:root[data-theme=dark] .market-price-tiles>button.active,:root[data-theme=dark] .inquiry-list-items>button:hover{color:var(--text);background:var(--surface-muted);border-color:var(--border-strong)}:root[data-theme=dark] .inquiry-list-items>button.selected{background:linear-gradient(90deg,#162c47,#3b2b12);border-color:#b97819}:root[data-theme=dark] .order-list-item,:root[data-theme=dark] .desktop-command-bar,:root[data-theme=dark] .desktop-command-bar button,:root[data-theme=dark] .order-kpi-grid>div,:root[data-theme=dark] .order-kpi-grid>button,:root[data-theme=dark] .order-workflow,:root[data-theme=dark] .order-finance,:root[data-theme=dark] .status-history>div,:root[data-theme=dark] .financial-history>div,:root[data-theme=dark] .payment-source-summary,:root[data-theme=dark] .purchase-list>div>.desktop-list-item-shell>button:first-child,:root[data-theme=dark] .invoice-list>.desktop-list-item-shell>button:first-child,:root[data-theme=dark] .inquiry-list-items>.desktop-list-item-shell>button:first-child{color:var(--text);background:var(--surface-raised);border-color:var(--border)}:root[data-theme=dark] .desktop-command-bar button:hover:not(:disabled){background:var(--surface-muted);border-color:var(--border-strong)}:root[data-theme=dark] .desktop-command-bar button.danger{color:#ff9d96;background:#321c26;border-color:#713543}:root[data-theme=dark] .desktop-command-bar kbd{color:var(--text-muted);background:var(--surface-muted)}:root[data-theme=dark] .order-list-item.active,:root[data-theme=dark] .invoice-list>.desktop-list-item-shell>button:first-child.active{color:var(--text);background:#15345b;border-color:#477aca;box-shadow:inset -3px 0 #4d83dd}:root[data-theme=dark] .purchase-list>div>.desktop-list-item-shell>button:first-child.active{background:#123b35;border-color:#2c8c7c}:root[data-theme=dark] :is(.order-list-item b,.order-kpi-grid strong,.order-workflow h3,.order-finance h3,.payment-source-summary b){color:var(--text)}:root[data-theme=dark] :is(.order-list-item span,.order-list-item small,.order-kpi-grid span,.order-kpi-grid small,.status-history span,.status-history small,.financial-history span,.financial-history small,.payment-source-summary span){color:var(--text-muted)}:root[data-theme=dark] .order-kpi-grid .warning{background:#3b3018;border-color:#806625}:root[data-theme=dark] .order-kpi-grid .negative{background:#321c26;border-color:#713543}@media (width<=1120px){.app-frame{display:block}.app-sidebar{width:min(320px,100vw - 42px);transition:transform .22s;position:fixed;top:0;right:0;transform:translate(105%);box-shadow:-24px 0 58px #00000042}.app-sidebar.open{transform:translate(0)}.app-sidebar-scrim{z-index:79;opacity:0;pointer-events:none;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#02091594;border:0;border-radius:0;padding:0;transition:opacity .2s;display:block;position:fixed;inset:0}.app-sidebar-scrim.visible{opacity:1;pointer-events:auto}.app-menu-toggle,.sidebar-close{place-items:center;display:grid}}@media (width<=760px){.app-topbar{align-items:flex-start;padding:9px 12px}.topbar-leading strong{font-size:10px}.topbar-tools{gap:6px}.theme-switcher button span,.topbar-tools .reminder-bell-button span,.crm-quick-actions button span{display:none}.crm-quick-actions{gap:4px;padding-inline-end:4px}.theme-switcher button{padding:6px 8px}.app-content{padding:14px 10px 40px}.app-content .hero{padding:18px}.hero-module-icon{border-radius:15px;min-width:52px;height:52px}.hero-module-icon svg{width:27px;height:27px}}@media print{:root{--lightningcss-light:initial!important;--lightningcss-dark: !important;color-scheme:light!important}.app-frame{display:block}.app-sidebar,.app-topbar{display:none!important}.app-content{max-width:none;padding:0}}.settlement-summary{border-top:1px solid var(--adaptive-border-info,#dbe5ef);margin-top:16px;padding-top:12px}.settlement-summary h3{margin:0 0 12px;font-size:1rem}.settlement-row{border-bottom:1px solid var(--adaptive-border-neutral,#e2e8f0);flex-wrap:wrap;align-items:center;gap:12px;padding:12px 4px;display:flex}.settlement-row>div{flex:1;gap:4px;min-width:180px;display:grid}.settlement-row span,.settlement-row small{color:var(--adaptive-text-info,#64748b);font-size:.82rem}.settlement-row strong{white-space:nowrap}.settlement-row button{font-size:.82rem}.settlement-next{background:var(--surface-soft,#f0f7fa);border-radius:10px;flex-wrap:wrap;align-items:center;gap:10px;margin-top:12px;padding:14px;display:flex}.settlement-next>span{flex:1;min-width:160px}.settlement-next details{width:100%}.settlement-blocker{justify-content:space-between;align-items:center;gap:12px;padding:9px 0;display:flex}.settlement-blocker span{font-size:.85rem}.settlement-summary button:focus-visible{outline-offset:2px;outline:3px solid #0d9488}.trade-purchase-workspace{min-width:0;margin-block:18px}.trade-purchase-workspace>header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.trade-purchase-workspace .purchase-workspace{flex-direction:column;display:flex}.trade-purchase-workspace .purchase-list{width:100%;max-height:none}.trade-purchase-workspace .purchase-list>div:last-child{flex-wrap:wrap;gap:8px;display:flex}.trade-purchase-workspace .desktop-list-item-shell{flex:220px}.trade-purchase-workspace .purchase-detail>section[aria-label="خریدهای مرتبط با همین فروش"],.trade-purchase-workspace .purchase-detail>.desktop-command-bar{display:none}.trade-purchase-workspace .purchase-detail{width:100%;min-width:0}.trade-purchase-workspace .purchase-detail h2{white-space:nowrap}.sales-proposal-board{gap:12px;padding-block:16px;display:flex;overflow-x:auto}.sales-proposal-board>section{background:var(--surface-soft,#eef4f7);border-radius:12px;flex:0 0 240px;padding:12px}.sales-proposal-board article{background:var(--surface,#fff);border:1px solid var(--adaptive-border-info,#dbe3ee);border-radius:10px;flex-direction:column;gap:8px;margin-block:10px;padding:12px;display:flex}.recent-activities .timeline:before{display:none}.recent-activities .timeline-item{width:100%;padding:6px 0 12px;display:block}.recent-activities .timeline-content{width:100%;min-width:0}.recent-activities .timeline-title{flex-wrap:wrap}.recent-activities .timeline-title strong,.recent-activities .timeline-meta,.recent-activities .timeline-content p{overflow-wrap:anywhere}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}:root[data-theme=dark] body{background:var(--app-bg)}:root[data-theme=dark] .app-content .hero{background:var(--surface)}:root[data-theme=dark] :is(.timeline-content,.followup-item,.crm2-cadence-grid>div,.crm2-cadence-grid>article,.sales-proposal-board>section,.sales-proposal-board article){background:var(--surface-soft);color:var(--text);border-color:var(--border)}:root[data-theme=dark] :is(.timeline-meta,.timeline-title time,.timeline-content small,.timeline-content p){color:var(--text-muted)}:root[data-theme=dark] :is(.entry-details>summary,.section-title,.timeline-title strong){color:var(--text)}:root[data-theme=dark] :is(.app-sidebar,.app-topbar){background:var(--sidebar-bg)}.app-content>*,.crm2-workspace,.crm2-workspace>details,.action-center,.recent-activities{min-width:0;max-width:100%}.sales-proposal-board{width:100%;min-width:0;max-width:100%}.crm2-cadence-card .section-title .smart-company-field{flex-shrink:0;width:min(100%,360px);display:grid}.daily-work-tabs{flex-wrap:wrap;gap:8px;margin:16px 0;display:flex}.daily-work-tabs button{background:var(--surface-soft,#f1f5f9);color:var(--text,#172033);border:1px solid var(--border,#d8dee8)}.daily-work-tabs button[aria-pressed=true]{outline-offset:1px;outline:2px solid #6084dc}.daily-work-list{gap:10px;max-height:560px;margin-bottom:16px;display:grid;overflow:auto}.daily-work-item{border:1px solid var(--border,#d8dee8);border-radius:12px;justify-content:space-between;align-items:center;gap:16px;padding:16px;display:flex}.daily-work-item>div{overflow-wrap:anywhere;min-width:0}.daily-work-item>button{flex-shrink:0}.daily-work-item h3{margin:6px 0;font-size:1rem}.daily-work-item p{font-size:.85rem}.daily-work-item details{margin-top:12px}@media (width<=650px){.daily-work-item{flex-direction:column;align-items:stretch}}:root[data-theme=dark] :is(.supplier-balance-panel,.supplier-balance-list>div,.order-sourcing,.order-line-card>header,.supply-item,.history-details,.compact-history p,.desktop-more-button,.desktop-more-inline,.related-company-banner,.payment-source-summary,.persian-date-field,.smart-company-search){background:var(--surface-raised);color:var(--text);border-color:var(--border)}:root[data-theme=dark] :is(.supplier-balance-panel,.order-sourcing,.supply-item,.history-details,.modal) :is(label,legend,h3,strong){color:var(--text)}:root[data-theme=dark] :is(.supplier-balance-list,.order-line-card>header,.supply-item,.compact-history,.modal) :is(small,legend),:root[data-theme=dark] :is(.supplier-balance-list span,.order-line-card>header span,.order-line-card>header b,.supply-item span,.supply-item .supply-financial-line,.history-details summary){color:var(--text-muted)}:root[data-theme=dark] :is(.supply-item .supply-purchase-order,.link-button,.smart-company-results small,.smart-company-trigger small){color:#b8d4ff}:root[data-theme=dark] .supplier-balance-list b{color:#ffaaa3}:root[data-theme=dark] .supplier-balance-list .settled b{color:#9ce0b8}:root[data-theme=dark] :is(.supplier-balance-list .incomplete,.supplier-balance-list .unallocated,.variance-approval){color:#ffe0a3;background:#382d1c;border-color:#806625}:root[data-theme=dark] .variance-approval :is(small,label,strong){color:#ffe0a3}:root[data-theme=dark] .supply-item.cancelled{opacity:1;background:#342326}:root[data-theme=dark] :is(.notice.success,.inline-feedback.success){color:#b5f0cf;background:#18372a;border-color:#41745a}:root[data-theme=dark] :is(.notice.error,.inline-feedback.error){color:#ffb9b9;background:#3e2226;border-color:#97565e}:root[data-theme=dark] :is(.notice.success,.notice.error,.inline-feedback.success,.inline-feedback.error) :is(p,small,strong,span){color:inherit}:root[data-theme=dark] :is(.modal,.desktop-context-menu,.smart-company-popover,.smart-picker-results){background:var(--surface);color:var(--text)}:root[data-theme=dark] :is(input,textarea,select,option,optgroup){background-color:var(--input-bg);color:var(--text);border-color:var(--border-strong);--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}:root[data-theme=dark] :is(input,textarea)::placeholder{color:#aaa}:root[data-theme=dark] :is(.smart-company-results>button.active,.smart-company-results>button:hover,.desktop-context-menu button:hover,.desktop-context-menu button:focus-visible,.desktop-more-button:hover,.desktop-more-inline:hover){color:#fff;background:#3b4658}:root[data-theme=dark] .desktop-context-menu button.danger{color:#ffaaa3}:root[data-theme=dark] .desktop-context-menu button.danger:is(:hover,:focus-visible){background:#492b30}:root[data-theme=dark] :is(.modal fieldset,.modal .nested-form){border-color:var(--border)}:root[data-theme=dark] :is(.order-progress>div,.financial-attachments a,.chain-note,.sales-flow-guide,.trade-case-row,.trade-progress-card,.inquiry-suppliers-card,.supplier-target-list article,.quick-quote-panel,.standalone-suppliers-editor,.pricing-decision-card,.price-metrics>div,.decision-summary>div,.sub-card){background:var(--surface-raised);color:var(--text);border-color:var(--border)}:root[data-theme=dark] :is(.order-progress .done,.trade-case-row.active){color:#b5f0cf;background:#203c30;border-color:#41745a}:root[data-theme=dark] .order-progress .current{color:#d1e2ff;background:#2a3c57;border-color:#6584ad}:root[data-theme=dark] :is(.order-progress small,.sales-flow-guide span,.quick-quote-panel label,.trade-case-row-main span,.price-metrics strong,.decision-summary strong,.quick-quote-panel b){color:var(--text)}:root[data-theme=dark] :is(.trade-case-row-main b,.sales-flow-guide span.active){color:#abdace}:root[data-theme=dark] .trade-case-row:hover{background:#34443f}:root[data-theme=dark] .quote-restricted{background:#382d1c}:root[data-theme=dark] .supplier-status.status-1{color:#b5f0cf;background:#203c30}:root[data-theme=dark] :is(.supplier-status.status-2,.supplier-status.status-3){color:#ffe0a3;background:#382d1c}:root[data-theme=dark] :is(.supplier-status.status-4,.supplier-status.status-5){color:#ffb9b9;background:#3e2226}:root[data-theme=dark] .order-progress>div:not(.done):not(.current)>span{background:var(--surface-muted);color:var(--text)}:root[data-theme=dark]{--adaptive-surface-neutral:#292929;--adaptive-surface-info:#263448;--adaptive-surface-success:#253b31;--adaptive-surface-warning:#3b3222;--adaptive-surface-danger:#3d282c;--adaptive-surface-violet:#352d45;--adaptive-text-neutral:#d0d0d0;--adaptive-text-info:#b8d4ff;--adaptive-text-success:#b5f0cf;--adaptive-text-warning:#ffe0a3;--adaptive-text-danger:#ffb9b9;--adaptive-text-violet:#dbc5ff;--adaptive-border-neutral:#535353;--adaptive-border-info:#566b88;--adaptive-border-success:#527561;--adaptive-border-warning:#86704c;--adaptive-border-danger:#865760;--adaptive-border-violet:#736085}:root[data-theme=dark] :is(.reminder-view-switch,.party-mode-selector,.company-view-switch,.company-board-drawer,.company-board-drawer-stage,.company-stage-column,.company-stage-card){background:var(--surface-raised);border-color:var(--border);color:var(--text)}:root[data-theme=dark] .reminder-center-content :is(strong,span,p,small){color:var(--text)}:root[data-theme=dark] .reminder-center-content small{color:var(--text-muted)}:root[data-theme=dark] .reminder-center-item.unread{background:#3b3222;border-color:#ae8847}:root[data-theme=dark] .eyebrow{color:color-mix(in srgb,var(--module-color,#9daac0) 40%,white)}:root[data-theme=dark] .organization-document-preview{color:#172033;--text:#172033;--text-muted:#647085;--adaptive-surface-neutral:initial;--adaptive-surface-info:initial;--adaptive-surface-success:initial;--adaptive-surface-warning:initial;--adaptive-surface-danger:initial;--adaptive-surface-violet:initial;--adaptive-text-neutral:initial;--adaptive-text-info:initial;--adaptive-text-success:initial;--adaptive-text-warning:initial;--adaptive-text-danger:initial;--adaptive-text-violet:initial;--adaptive-border-neutral:initial;--adaptive-border-info:initial;--adaptive-border-success:initial;--adaptive-border-warning:initial;--adaptive-border-danger:initial;--adaptive-border-violet:initial;background:#fff}:root[data-theme=dark] .organization-document-preview h3{color:var(--preview-primary)}:root[data-theme=dark] .organization-document-preview :is(small,p){color:#475467}:root[data-theme=dark] .shell .eyebrow{color:color-mix(in srgb,var(--module-color,#9daac0) 40%,white)!important}.document-followups{border:1px solid var(--border);background:var(--surface-soft);color:var(--text);border-radius:12px;margin:16px 0;padding:16px}.document-followups h3,.document-followups h4{margin:0 0 10px}.document-followup-last{background:var(--surface);border-radius:8px;gap:5px;margin:12px 0;padding:12px;display:grid}.document-followup-last span,.document-followup-row small,.document-followup-history small{color:var(--text-muted);font-size:.8rem;display:block}.document-followups p{white-space:pre-wrap;overflow-wrap:anywhere;margin:6px 0}.document-followup-row{justify-content:space-between;align-items:center;gap:12px;padding:10px 0;display:flex}.document-followup-row>div{overflow-wrap:anywhere;min-width:0}.document-followup-row button{flex-shrink:0}.document-followups details{margin-top:12px}.document-followup-history{border-bottom:1px solid var(--border);padding:12px 0}.document-followup-warning{border:1px solid var(--adaptive-border-warning,#d6ad58);background:var(--adaptive-surface-warning,#fff8e8);border-radius:10px;padding:12px}.document-followup-warning>div{justify-content:space-between;align-items:center;gap:12px;padding:8px 0;display:flex}@media (width<=650px){.document-followup-row,.document-followup-warning>div{flex-direction:column;align-items:stretch}}.global-search-trigger{background:var(--input-bg);min-width:170px;max-width:300px;color:var(--text);border:1px solid var(--border);flex:1;align-items:center;gap:8px;font-size:.8rem;display:flex}.global-search-trigger span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.global-search-trigger kbd{white-space:nowrap;color:var(--text-muted);margin-inline-start:auto;font-size:.65rem}.global-search-modal{flex-direction:column;width:min(760px,100vw - 24px);max-height:90dvh;display:flex;overflow:hidden}.global-search-body{padding:18px;overflow:auto}.global-search-body>label{gap:8px;display:grid}.global-search-results{gap:6px;display:grid}.global-search-results>button{text-align:right;background:var(--surface-raised);color:var(--text);border:1px solid var(--border);grid-template-columns:100px minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px;display:grid}.global-search-results>button[aria-selected=true]{outline:2px solid var(--primary);outline-offset:-2px;background:var(--surface-muted)}.global-search-results strong,.global-search-results small{overflow-wrap:anywhere;display:block}.global-search-results small,.global-search-kind,.global-search-status{color:var(--text-muted);font-size:.76rem}.global-search-results small{text-align:right;margin-top:5px}@media (width<=1100px){.app-topbar{flex-wrap:wrap}.global-search-trigger{flex-basis:100%;order:3;max-width:none}}@media (width<=550px){.global-search-results>button{grid-template-columns:75px minmax(0,1fr)}.global-search-status{grid-column:2}.global-search-trigger kbd{display:none}}.trade-overview{background:var(--surface);border:1px solid var(--border);color:var(--text);border-radius:12px;margin:12px 0;padding:16px}.trade-overview h3{margin:0 0 12px}.trade-overview p{line-height:1.9}.trade-overview small,.trade-overview time{color:var(--text-muted);font-size:.8rem}.trade-overview-balances{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px;margin:12px 0;display:grid}.trade-overview-balances article{border:1px solid var(--border);background:var(--surface-soft);border-radius:8px;gap:6px;padding:12px;display:grid}.trade-overview-latest{overflow-wrap:anywhere;gap:6px;padding:12px 0;display:grid}.trade-overview details{margin-top:12px}.trade-overview summary,.settlement-summary>summary{cursor:pointer;font-weight:700;line-height:1.8}.trade-overview-weights>div{border-bottom:1px solid var(--border);gap:6px;padding:12px 0;display:grid}.trade-overview-docs>div{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:8px;padding-top:12px;display:grid}.trade-overview-docs button{text-align:right;background:var(--surface-soft);color:var(--text);border:1px solid var(--border);overflow-wrap:anywhere;gap:6px;display:grid}.trade-overview-path{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:12px 0;padding:0;list-style:none;display:grid}.trade-overview-path li{text-align:center;border:1px solid var(--border);color:var(--text-muted);border-radius:8px;padding:8px;font-size:.8rem}.trade-overview-path li.current{color:var(--text);border:2px solid var(--primary);font-weight:700}.trade-overview-path li.done{color:var(--adaptive-text-success,#176347);background:var(--adaptive-surface-success,#ecf9f1)}@media (width<=600px){.trade-overview-path{grid-template-columns:repeat(2,minmax(0,1fr))}}.order-brief{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:14px 0;display:grid}.order-brief>div{border:1px solid var(--border);background:var(--surface-soft);color:var(--text);border-radius:10px;gap:8px;padding:12px;display:grid}.order-brief span{color:var(--text-muted);font-size:.8rem}.order-detail-tabs{border-bottom:1px solid var(--border);flex-wrap:wrap;gap:8px;margin:16px 0;padding-bottom:12px;display:flex}.order-detail-tabs button,.order-line-toggle{background:var(--surface-soft);color:var(--text);border:1px solid var(--border)}.order-detail-tabs button[aria-pressed=true]{border:2px solid var(--primary);background:var(--surface-raised);font-weight:800}.order-line-toggle{text-align:right;border:0;border-radius:10px;gap:8px;width:100%;padding:16px;display:grid}.order-line-toggle small{color:var(--text-muted)}.order-more{margin:8px 0}.order-more-content{border:1px solid var(--border);background:var(--surface);border-radius:10px;flex-wrap:wrap;gap:8px;padding:12px;display:flex}.order-detail-card [hidden]{display:none!important}@media (width<=650px){.order-brief{grid-template-columns:1fr}.order-detail-tabs button{flex:1}}.inquiry-start-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:14px 0;display:grid}.inquiry-start-options button{text-align:right;background:var(--surface-soft);color:var(--text);border:1px solid var(--border);gap:8px;padding:16px;display:grid}.inquiry-start-options span{color:var(--text-muted);font-size:.8rem}.inquiry-next{border:1px solid var(--border);background:var(--surface-soft);border-radius:12px;justify-content:space-between;align-items:center;gap:12px;margin:12px 0;padding:14px;display:flex}.inquiry-next>div{gap:8px;display:grid}.inquiry-next span{color:var(--text-muted)}.inquiry-detail details>summary,.quote-optional>summary{cursor:pointer;padding:10px 0;font-weight:700}.inquiry-detail .inquiry-line[hidden]{display:none!important}.inquiry-comparison{margin:18px 0}.inquiry-comparison td{vertical-align:top}.inquiry-comparison small{color:var(--text-muted);margin-top:5px;display:block}.quote-optional-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:12px 0;display:grid}.inquiry-more .header-actions{border:1px solid var(--border);background:var(--surface);border-radius:8px;padding:12px}@media (width<=650px){.inquiry-start-options,.quote-optional-grid{grid-template-columns:1fr}.inquiry-next{flex-direction:column;align-items:stretch}}.inquiry-comparison table{table-layout:fixed;width:100%;min-width:580px}.inquiry-comparison th,.inquiry-comparison td{white-space:normal;overflow-wrap:anywhere}.inquiry-comparison th:first-child{width:26%}.access-screen{background:var(--surface,#f5f6f8);min-height:100vh;color:var(--text,#202630);place-content:center;padding:24px;display:grid}.access-screen form{border:1px solid var(--border,#ddd);background:var(--surface-raised,#fff);border-radius:16px;gap:16px;width:min(440px,90vw);padding:28px;display:grid}.access-screen label,.access-fields label{gap:8px;display:grid}.access-account-bar{z-index:100;background:var(--surface,#fff);color:var(--text);border-bottom:1px solid var(--border);justify-content:flex-end;align-items:center;gap:12px;padding:8px 20px;display:flex;position:relative}.access-account-bar button{padding:6px 12px;font-size:.8rem}.access-manager{max-width:1200px;color:var(--text);background:var(--surface);margin:auto;padding:24px}.access-manager header,.access-user-list,.access-presets{flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:16px;display:flex}.access-manager form{border:1px solid var(--border);border-radius:12px;padding:20px}.access-manager form>label,.access-manager fieldset label{align-items:center;gap:8px;margin:12px;display:inline-flex}.access-manager input[type=checkbox]{width:20px;height:20px}.access-fields{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;display:grid}.network-session [hidden],.network-session[data-profit=false] :is(.profit-breakdown,.trade-kpi-grid,.pricing-reference-metrics),.network-session[data-profit=false] :is(.order-kpi-grid>div:last-child,.decision-summary>div:nth-child(4)),.network-session[data-finance=false] :is(.order-brief>div:last-child,.order-kpi-grid,.supplier-balance-panel,#order-finance,.order-detail-tabs button[aria-controls=order-tab-finance],.trade-overview-balances,.supply-financial-line),.network-session[data-purchase=false] :is(.supply-list,.supplier-balance-panel,.price-metrics,.pricing-reference-panel){display:none!important}@media (width<=650px){.access-account-bar{flex-wrap:wrap}.access-manager{padding:12px}}.inquiry-comparison button{white-space:normal;margin-bottom:5px}
