.mobile-tabs button span{color:var(--muted);font-size:10px}.product-card-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.product-card-actions:has(>:only-child){grid-template-columns:1fr}.product-card-actions button{justify-content:center;width:100%}.modal-backdrop{z-index:400;background:#020617b8;place-items:center;padding:14px;display:grid;position:fixed;inset:0}.sr-only{clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;position:absolute!important;overflow:hidden!important}.catalog-pick-btn{background:var(--green-soft)!important}.catalog-page{gap:20px;display:grid}.catalog-intro,.catalog-actions,.catalog-toolbar,.storage-health,.product-heading,.availability-summary,.location-list div,.reservation-panel .section-head,.reservation-list article,.catalog-modal>header,.catalog-modal>footer,.stock-modal>header,.stock-modal>footer,.product-picker>header{align-items:center;display:flex}.catalog-intro{justify-content:space-between;gap:18px}.catalog-intro h1{margin:5px 0 6px}.catalog-intro p{color:var(--muted);margin:0}.catalog-actions{gap:10px}.catalog-kpis{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;display:grid}.catalog-kpis article{background:var(--paper);border:1px solid var(--line);border-radius:14px;align-content:space-between;min-height:126px;padding:20px;display:grid;position:relative}.catalog-kpis article>svg{color:var(--accent);position:absolute;top:18px;right:18px}.catalog-kpis article span{color:var(--muted);font-size:12px}.catalog-kpis article strong{font-family:var(--serif);font-size:32px}.catalog-kpis article.attention strong{color:var(--red)}.storage-health{border:1px solid var(--line);background:var(--paper);border-radius:13px;justify-content:space-between;gap:20px;padding:16px 18px}.storage-health>div{gap:4px;display:grid}.storage-health strong{font-size:14px}.storage-health small{color:var(--muted)}.storage-state{color:var(--amber);align-items:center;gap:7px;font-size:11px;font-weight:800;display:flex}.storage-state.ok{color:var(--green)}.storage-health a{text-decoration:none}.catalog-toolbar{gap:10px}.catalog-search{background:var(--paper);border:1px solid var(--line);border-radius:9px;flex:1;align-items:center;gap:9px;padding:0 13px;display:flex}.catalog-search input{background:0 0;border:0;outline:0;flex:1;min-height:42px}.catalog-toolbar select{border:1px solid var(--line);background:var(--paper);min-height:44px;color:var(--ink);border-radius:9px;padding:0 34px 0 12px}.catalog-loading,.catalog-empty{min-height:280px;color:var(--muted);background:var(--paper);border:1px dashed var(--line);border-radius:14px;align-content:center;place-items:center;gap:10px;display:grid}.catalog-empty h2,.catalog-empty p{margin:0}.product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.product-card{border:1px solid var(--line);background:var(--paper);border-radius:14px;min-width:0;overflow:hidden}.product-image{background:var(--surface-subtle);height:210px;color:var(--muted);place-items:center;display:grid;position:relative}.product-image>img{object-fit:cover;width:100%;height:100%}.product-image>svg{width:42px;height:42px}.availability{background:var(--paper);border:1px solid var(--line);border-radius:999px;padding:5px 8px;font-size:10px;font-weight:800;position:absolute;top:12px;left:12px}.availability.stocked{color:var(--green)}.availability.incoming{color:var(--blue)}.availability.made_to_order{color:var(--amber)}.availability.discontinued{color:var(--red)}.product-card-body{padding:16px}.product-heading{justify-content:space-between;gap:8px}.product-heading small{color:var(--muted);text-transform:uppercase;letter-spacing:.05em;font-size:10px}.product-heading h2{margin:4px 0;font-size:17px}.product-card-body>p{min-height:32px;color:var(--muted);margin:5px 0 12px;font-size:12px}.product-price{margin-bottom:13px;display:grid}.product-price strong{font-size:18px}.product-price small{color:var(--muted);font-size:10px}.availability-summary{border-block:1px solid var(--line);color:var(--muted);flex-wrap:wrap;gap:12px;padding:10px 0;font-size:10px}.availability-summary span{align-items:center;gap:4px;display:flex}.availability-summary strong{color:var(--ink)}.location-list{gap:7px;padding:12px 0;display:grid}.location-list div{justify-content:space-between;gap:8px;font-size:10px}.location-list span{color:var(--muted);align-items:center;gap:4px;display:flex}.product-stock-btn{justify-content:center;width:100%}.reservation-panel{background:var(--paper);border:1px solid var(--line);border-radius:14px;overflow:hidden}.reservation-panel .section-head{border-bottom:1px solid var(--line);justify-content:space-between;padding:18px}.reservation-panel h2{margin:3px 0 0}.reservation-list article{border-bottom:1px solid var(--line);justify-content:space-between;gap:20px;padding:13px 18px}.reservation-list article:last-child{border-bottom:0}.reservation-list article>div{gap:3px;min-width:0;display:grid}.reservation-list small{color:var(--muted)}.reservation-actions{grid-auto-flow:column;gap:8px;display:flex!important}.catalog-modal,.stock-modal,.product-picker{background:var(--paper);border:1px solid var(--line);border-radius:16px;width:min(920px,100vw - 28px);max-height:calc(100vh - 28px);overflow:hidden;box-shadow:0 22px 60px #0f172a33}.stock-modal{width:min(560px,100vw - 28px)}.catalog-modal>header,.catalog-modal>footer,.stock-modal>header,.stock-modal>footer,.product-picker>header{border-bottom:1px solid var(--line);justify-content:space-between;padding:16px 20px}.catalog-modal>footer,.stock-modal>footer{border-top:1px solid var(--line);border-bottom:0;justify-content:flex-end;gap:9px}.catalog-modal h2,.stock-modal h2,.product-picker h2{margin:3px 0 0}.catalog-form-scroll{max-height:calc(100vh - 170px);padding:20px;overflow:auto}.catalog-image-upload{gap:8px;margin-bottom:18px;display:grid}.catalog-image-upload>span,.catalog-form-grid label>span,.stock-form label>span{color:var(--muted);font-size:11px;font-weight:700}.catalog-image-upload>div,.catalog-image-upload>img{border:1px dashed var(--line);object-fit:contain;background:var(--surface-subtle);border-radius:12px;width:100%;height:190px}.catalog-image-upload>div{cursor:pointer;align-content:center;place-items:center;gap:4px;display:grid}.catalog-image-upload small{color:var(--muted)}.catalog-form-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.catalog-form-grid label,.stock-form label{gap:6px;display:grid}.catalog-form-grid input,.catalog-form-grid select,.catalog-form-grid textarea,.stock-form input,.stock-form select{border:1px solid var(--line);background:var(--paper);width:100%;min-height:42px;color:var(--ink);border-radius:8px;padding:9px 11px}.catalog-form-grid textarea{resize:vertical;min-height:82px}.catalog-form-grid .wide{grid-column:1/-1}.catalog-specs{border:1px solid var(--line);background:var(--surface-subtle);border-radius:10px;margin-top:16px;padding:13px}.catalog-specs summary{cursor:pointer;font-size:12px;font-weight:800}.catalog-specs .catalog-form-grid{margin-top:13px}.stock-form{gap:16px;padding:20px;display:grid}.stock-number-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.stock-calculation{background:var(--green-soft);border-radius:10px;gap:4px;padding:15px;display:grid}.stock-calculation strong{color:var(--green);font-size:22px}.stock-calculation small{color:var(--muted)}.quote-catalog-row{grid-column:1/-1;align-items:center;gap:10px;margin:0 0 10px 46px;display:flex}.catalog-pick-btn{border:1px solid var(--accent);background:var(--accent-soft);min-height:38px;color:var(--accent);cursor:pointer;border-radius:8px;align-items:center;gap:7px;padding:0 11px;font-weight:800;display:flex}.catalog-linked,.catalog-custom{color:var(--muted);font-size:10px}.catalog-linked{color:var(--green);align-items:center;gap:4px;display:flex}.product-picker-backdrop{z-index:410}.product-picker{width:min(760px,100vw - 28px)}.product-picker-search{border:1px solid var(--line);border-radius:9px;align-items:center;gap:8px;margin:14px 18px;padding:0 11px;display:flex}.product-picker-search input{min-height:42px;color:var(--ink);background:0 0;border:0;outline:0;flex:1}.product-picker-list{gap:8px;max-height:60vh;padding:0 18px 18px;display:grid;overflow:auto}.product-picker-list>button{border:1px solid var(--line);background:var(--paper);width:100%;color:var(--ink);text-align:left;cursor:pointer;border-radius:10px;grid-template-columns:72px minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px;display:grid}.product-picker-list>button:hover,.product-picker-list>button:focus-visible{border-color:var(--accent);background:var(--surface-subtle)}.product-picker-image{background:var(--surface-subtle);width:72px;height:58px;color:var(--muted);border-radius:7px;place-items:center;display:grid;overflow:hidden}.product-picker-image img{object-fit:cover;width:100%;height:100%}.product-picker-copy{gap:3px;min-width:0;display:grid}.product-picker-copy small,.product-picker-copy em{color:var(--muted);font-size:10px;font-style:normal}.product-picker-copy strong{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.product-picker-price{font-weight:800}.product-picker-empty{min-height:180px;color:var(--muted);text-align:center;align-content:center;place-items:center;gap:5px;display:grid}@media (max-width:1100px){.product-grid,.catalog-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:780px){.catalog-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.storage-health,.catalog-intro{flex-direction:column;align-items:stretch}.storage-health a,.catalog-actions .primary-btn{justify-content:center}.product-grid{grid-template-columns:1fr}.reservation-list article{flex-direction:column;align-items:stretch}.reservation-actions{display:flex!important}.catalog-form-grid{grid-template-columns:1fr}.catalog-form-grid .wide{grid-column:auto}.quote-catalog-row{flex-direction:column;align-items:flex-start;margin-left:0}.product-picker-list>button{grid-template-columns:58px minmax(0,1fr)}.product-picker-image{width:58px;height:50px}.product-picker-price{grid-column:2}.catalog-modal,.stock-modal,.product-picker{border-radius:0;width:100vw;height:100vh;max-height:100vh}.catalog-form-scroll{max-height:calc(100vh - 150px)}}@media (max-width:480px){.catalog-toolbar,.catalog-actions{grid-template-columns:1fr;display:grid}.catalog-kpis{gap:8px}.catalog-kpis article{min-height:105px;padding:14px}.catalog-kpis article strong{font-size:25px}.stock-number-grid{grid-template-columns:1fr}.catalog-page .page-intro>.primary-btn{display:flex}}.catalog-image-slots{grid-template-columns:2fr 1fr 1fr;gap:10px;margin-bottom:18px;display:grid}.catalog-image-slots .catalog-image-upload{min-height:108px;margin:0}.catalog-image-slots .catalog-image-upload.hero{grid-row:span 2}.catalog-image-slots .catalog-image-upload>div,.catalog-image-slots .catalog-image-upload>img{object-fit:cover;height:100%;min-height:108px}.presentation-select{border:1px solid var(--line);background:var(--surface-subtle);width:100%;min-height:38px;color:var(--ink);cursor:pointer;border-radius:8px;font-weight:750}.presentation-select.selected{border-color:var(--accent);background:var(--accent-soft);color:var(--accent)}.presentation-note{color:var(--muted);margin:0;line-height:1.5}.presentation-modal{width:min(590px,100vw - 28px)}.presentation-prices{border:1px solid var(--line);background:var(--surface-subtle);border-radius:10px;gap:8px;padding:12px;display:grid}.presentation-prices label{grid-template-columns:minmax(0,1fr) 150px;align-items:center;gap:12px;display:grid!important}.presentation-prices label span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.presentation-sequence{border:1px solid var(--line);background:var(--surface-subtle);border-radius:10px;gap:7px;padding:12px;display:grid}.presentation-sequence>span{color:var(--muted);font-size:11px;font-weight:800}.presentation-sequence>div{grid-template-columns:22px minmax(0,1fr) 30px 30px;align-items:center;gap:5px;display:grid}.presentation-sequence b{color:var(--accent);font-size:10px}.presentation-sequence strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.presentation-sequence .icon-btn{width:30px;height:30px}.presentation-sequence .icon-btn:disabled{opacity:.35;cursor:not-allowed}.product-open{text-align:left;cursor:pointer;border:0;width:100%;padding:0}.product-image-open{color:#fff;background:#080f1cc7;border-radius:7px;align-items:center;gap:5px;padding:6px 8px;font-size:10px;font-weight:750;display:inline-flex;position:absolute;bottom:10px;right:10px}.product-card-specs{flex-wrap:wrap;gap:5px;margin:-3px 0 12px;display:flex}.product-card-specs span{background:var(--surface-subtle);max-width:100%;color:var(--muted);white-space:nowrap;text-overflow:ellipsis;border-radius:5px;padding:4px 6px;font-size:10px;overflow:hidden}.product-preview-modal{width:min(1080px,100vw - 28px)}.product-preview-body{grid-template-columns:minmax(0,1.5fr) minmax(280px,.72fr);min-height:560px;display:grid}.product-gallery{border-right:1px solid var(--line);background:var(--surface-subtle);min-width:0;padding:20px}.product-gallery-main{background:var(--paper);border-radius:12px;place-items:center;height:440px;display:grid;overflow:hidden}.product-gallery-main img{object-fit:contain;width:100%;height:100%}.product-gallery-empty{color:var(--muted);place-items:center;gap:8px;display:grid}.product-gallery-thumbs{gap:8px;margin-top:10px;display:flex;overflow-x:auto}.product-gallery-thumbs button{background:var(--paper);cursor:pointer;border:2px solid #0000;border-radius:8px;flex:0 0 82px;height:64px;padding:0;overflow:hidden}.product-gallery-thumbs button.active{border-color:var(--accent)}.product-gallery-thumbs img{object-fit:cover;width:100%;height:100%}.product-preview-copy{align-content:start;gap:14px;padding:24px;display:grid;overflow:auto}.product-preview-copy>small{color:var(--muted);font-size:11px}.product-preview-price{font-family:var(--serif);font-size:29px}.product-preview-copy p{color:var(--muted);margin:0;line-height:1.55}.product-preview-copy dl{border-block:1px solid var(--line);gap:10px;margin:0;padding-block:14px;display:grid}.product-preview-copy dl div{gap:3px;display:grid}.product-preview-copy dt{color:var(--muted);text-transform:uppercase;letter-spacing:.05em;font-size:10px;font-weight:800}.product-preview-copy dd{margin:0;font-size:13px}.product-preview-stock{background:var(--green-soft);color:var(--green);border-radius:9px;gap:4px;padding:12px;display:grid}.product-preview-stock span,.product-preview-stock small{font-size:11px}.product-preview-stock strong{font-size:16px}@media (max-width:520px){.catalog-image-slots{grid-template-columns:1fr 1fr}.catalog-image-slots .catalog-image-upload.hero{grid-area:auto/1/auto/-1;height:190px}}@media (max-width:780px){.product-preview-modal{border-radius:0;width:100vw;height:100vh;max-height:100vh}.product-preview-body{grid-template-columns:1fr;overflow:auto}.product-gallery{border-right:0;border-bottom:1px solid var(--line);padding:14px}.product-gallery-main{height:min(52vh,420px)}.product-preview-copy{padding:18px;overflow:visible}.product-card-specs span{font-size:11px}}.product-heading>div{min-width:0}.product-heading h2{overflow-wrap:anywhere;word-break:normal}.catalog-toolbar{flex-wrap:wrap}.catalog-search{flex:240px}.filter-reset{min-height:40px;color:var(--accent);cursor:pointer;background:0 0;border:0;padding:0 10px;font-weight:800}.catalog-results{color:var(--muted);margin:-10px 0 0;font-size:12px}.catalog-number-filter{color:var(--muted);gap:4px;font-size:10px;font-weight:750;display:grid}.catalog-number-filter input{border:1px solid var(--line);background:var(--paper);width:130px;min-height:29px;color:var(--ink);border-radius:8px;padding:6px 10px}.catalog-assistant{border:1px solid var(--line);background:linear-gradient(135deg,var(--paper),var(--accent-soft));border-radius:14px;gap:13px;padding:18px;display:grid}.catalog-assistant-head{gap:11px;display:flex}.catalog-assistant-head>span{background:var(--accent);color:#fff;border-radius:9px;place-items:center;width:34px;height:34px;display:grid}.catalog-assistant-head h2{margin:2px 0 4px;font-size:16px}.catalog-assistant-head p{color:var(--muted);margin:0;font-size:12px}.catalog-assistant-form{gap:9px;display:flex}.catalog-assistant-form input{border:1px solid var(--line);background:var(--paper);min-width:0;min-height:42px;color:var(--ink);border-radius:9px;flex:1;padding:0 12px}.catalog-assistant-error{color:var(--red);margin:0;font-size:12px}.catalog-assistant-reply{gap:10px;display:grid}.catalog-assistant-reply>p{margin:0;font-size:13px}.catalog-assistant-products{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px;display:grid}.catalog-assistant-products a{border:1px solid var(--line);background:var(--paper);color:inherit;border-radius:9px;gap:3px;padding:11px;text-decoration:none;display:grid}.catalog-assistant-products a:hover{border-color:var(--accent)}.catalog-assistant-products span{color:var(--muted);font-size:10px}.catalog-assistant-products b{color:var(--accent);font-size:12px}@media (max-width:480px){.catalog-assistant-form{flex-direction:column}.catalog-assistant-form button{justify-content:center}}.product-card{flex-direction:column;display:flex}.product-image{z-index:0;flex:0 0 210px;overflow:hidden}.product-image>img{display:block}.product-card-body{z-index:1;background:var(--paper);flex:1;position:relative}
:root{--text-primary:#0f172a;--text-secondary:#475569;--text-tertiary:#64748b;--control-bg:#fff;--control-hover:#f1f5f9;--elevated:#fff}:root[data-theme=dark]{--text-primary:#f8fafc;--text-secondary:#cbd5e1;--text-tertiary:#94a3b8;--control-bg:#111827;--control-hover:#1e293b;--elevated:#111827}body{color:var(--text-primary);font-size:14px;line-height:1.5}p,small,label,input,select,textarea,button{line-height:1.45}p{color:var(--text-secondary)}small,.muted,.section-kicker,.nav-label{color:var(--text-tertiary)}.sidebar nav button,.profile-row{min-height:42px;font-size:13px}.top-search input,.table-search input{font-size:14px}.primary-btn,.secondary-btn,.icon-btn,.role-switch,.source-tabs button,.archive-toggle button,.segmented button,.follow-actions button,.quick-dates button,.quote-actions button,.operations-strip button{min-height:40px;font-size:13px;font-weight:650}.icon-btn{min-width:40px}.form-grid label>span,.form-field>span,.customer-status-controls label>span,.catalog-form-grid label>span,.stock-form label>span{color:var(--text-secondary)!important;font-size:12px!important}.form-grid input,.form-grid select,.form-grid textarea,.customer-status-controls input,.customer-status-controls select,.catalog-form-grid input,.catalog-form-grid select,.catalog-form-grid textarea,.stock-form input,.stock-form select,.stock-form textarea{min-height:42px;color:var(--text-primary);background:var(--control-bg);font-size:14px!important}.form-grid textarea,.catalog-form-grid textarea{min-height:90px}.tour-practice{border:1px solid var(--line);background:var(--surface-subtle);border-radius:10px;margin-top:14px;padding:13px}.tour-practice strong{color:var(--text-primary);font-size:12px;display:block}.tour-practice p{color:var(--text-secondary);margin:5px 0 11px;font-size:12px;line-height:1.5}.tour-practice .secondary-btn{min-height:38px;font-weight:700}.personal-report-card{justify-content:space-between;align-items:center;gap:24px;margin-bottom:14px;padding:22px;display:flex}.personal-report-card h2{color:var(--text-primary);margin:5px 0;font-size:20px}.personal-report-card p{max-width:590px;color:var(--text-secondary);margin:0;font-size:13px}.personal-report-card .primary-btn{flex:none;min-height:42px}.compact-report-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}@media (max-width:680px){.personal-report-card{gap:15px;display:grid}.personal-report-card .primary-btn{width:100%}.compact-report-kpis{grid-template-columns:1fr}}.tour-card.targeted{overscroll-behavior:contain;max-height:none;bottom:16px;overflow-y:auto;top:16px!important}@media (max-height:620px) and (min-width:781px){.tour-card,.tour-card.targeted{max-height:none;bottom:12px;top:12px!important}.tour-card{transform:translate(-50%)}}.form-grid,.quote-grid,.catalog-form-grid,.optional-spec-grid,.item-fields{min-width:0}.form-grid>label,.quote-grid>label,.catalog-form-grid>label,.optional-spec-grid>label,.item-fields>label,.form-grid input,.form-grid select,.form-grid textarea,.quote-grid input,.quote-grid select,.quote-grid textarea,.catalog-form-grid input,.catalog-form-grid select,.catalog-form-grid textarea,.optional-spec-grid input,.optional-spec-grid select,.optional-spec-grid textarea,.item-fields input,.item-fields select,.item-fields textarea{min-width:0;max-width:100%}.form-grid label>span{overflow-wrap:anywhere}@media (max-width:700px){.form-grid,.quote-grid,.catalog-form-grid{grid-template-columns:minmax(0,1fr)}.form-grid label.full{grid-column:auto}}.table-head{color:var(--text-secondary)!important;font-size:12px!important}.table-row{min-height:68px;color:var(--text-primary);font-size:14px!important}.table-row small,.timeline-item small,.notification-item small{color:var(--text-tertiary);font-size:12px!important}.badge,.due,.beta-badge,.archived-badge{font-weight:700;font-size:11px!important}.metric-card span,.mini-kpi span,.report-kpis span,.quote-stats span{color:var(--text-secondary);font-size:12px!important}.metric-card strong,.mini-kpi strong{color:var(--text-primary)}.customer-drawer p,.requirement p,.timeline-item p{font-size:14px!important}.quick-next-stage{background:var(--green-soft);color:#047857;border:1px solid #10b981;border-radius:9px;align-items:center;gap:7px;min-height:38px;margin-top:10px;padding:7px 11px;font-size:12px;font-weight:750;display:inline-flex}.quick-next-stage svg{width:14px}:focus-visible{outline-offset:2px;outline:3px solid #10b981!important}button:disabled{opacity:.55;cursor:not-allowed}.global-search{z-index:40;position:relative;overflow:visible!important}.search-spinner{flex:none;margin-left:auto}.global-search-results{background:var(--elevated);border:1px solid var(--line);width:min(680px,100vw - 32px);max-height:min(560px,70vh);color:var(--text-primary);border-radius:14px;padding:8px;position:absolute;top:calc(100% + 10px);left:0;overflow-y:auto;box-shadow:0 18px 45px #0f172a29}.global-search-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;padding:9px 10px 10px;display:flex}.global-search-head strong{font-size:13px}.global-search-head small{font-size:12px}.global-search-results>button{border:0;border-bottom:1px solid var(--line);width:100%;min-height:62px;color:var(--text-primary);text-align:left;background:0 0;border-radius:9px;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:10px;padding:9px;display:grid}.global-search-results>button:hover{background:var(--control-hover)}.global-search-results>button span{gap:2px;min-width:0;display:grid}.global-search-results>button strong{text-overflow:ellipsis;white-space:nowrap;font-size:14px;overflow:hidden}.global-search-results>button small{color:var(--text-secondary);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.global-search-results>button em{color:var(--text-tertiary);font-size:11px;font-style:normal}.search-result-icon{background:var(--surface-subtle);width:36px;height:36px;color:var(--blue);border-radius:9px;place-items:center;display:grid}.search-result-icon svg{width:17px}.search-result-icon.note{color:var(--amber)}.search-result-icon.product{color:var(--green)}.global-search-empty{text-align:center;color:var(--text-secondary);padding:26px 14px;font-size:13px}.archive-toggle{background:var(--surface-subtle);border:1px solid var(--line);border-radius:10px;gap:3px;margin:0 0 10px;padding:3px;display:inline-flex}.archive-toggle button{color:var(--text-secondary);background:0 0;border:0;border-radius:7px;padding:6px 11px}.archive-toggle button.active{background:var(--paper);color:var(--text-primary);box-shadow:0 1px 3px #0f172a14}.archive-toggle b{margin-left:5px}.archived-row{opacity:.8}.archived-badge{color:#92400e;background:#fffbeb;border-radius:999px;margin-top:6px;padding:4px 8px;display:inline-flex}.customer-record-actions{border-bottom:1px solid var(--line);align-items:center;gap:12px;padding:14px 0;display:flex}.customer-record-actions svg{width:15px}.customer-record-actions small{max-width:390px;font-size:12px}.verified-quotation-field>small{color:#047857;align-items:center;gap:5px;margin-top:6px;font-size:12px;display:flex}.verified-quotation-field>small svg{width:14px}.quotation-required{background:var(--amber-soft);border:1px solid #f59e0b;border-radius:10px;grid-template-columns:36px 1fr auto;align-items:center;gap:10px;padding:13px;display:grid}.quotation-required>svg{color:var(--amber)}.quotation-required strong{font-size:14px}.quotation-required p{margin:2px 0 0;font-size:12px}:root[data-theme=dark] body,:root[data-theme=dark] .app-shell,:root[data-theme=dark] .content{background:var(--ivory);color:var(--text-primary)}:root[data-theme=dark] :is(.panel,.metric-card,.mini-kpi,.follow-card,.lead-table,.customer-drawer,.modal,.quote-maker,.quote-folder,.quote-row,.product-card,.catalog-modal,.stock-modal,.reservation-panel,.storage-health,.notification-panel){background:var(--paper);color:var(--text-primary);border-color:var(--line)}:root[data-theme=dark] :is(h1,h2,h3,h4,strong,.table-row,.quote-row,.product-card,.customer-facts strong,.drawer-footer strong){color:var(--text-primary)}:root[data-theme=dark] :is(p,small,.page-intro p,.modal-copy,.quote-row small,.product-card p,.storage-health small,.timeline-item em){color:var(--text-secondary)}:root[data-theme=dark] :is(button:not(.primary-btn),input,select,textarea,.select-filter,.table-search,.top-search){color:var(--text-primary);border-color:var(--line)}:root[data-theme=dark] input::placeholder,:root[data-theme=dark] textarea::placeholder{color:#94a3b8;opacity:1}:root[data-theme=dark] select option{color:#f8fafc;background:#111827}:root[data-theme=dark] .primary-btn{color:#052e24;background:#34d399;border-color:#34d399}:root[data-theme=dark] .secondary-btn{color:#f8fafc;background:#172033;border-color:#334155}:root[data-theme=dark] .archived-badge{color:#fde68a;background:#3b2a0b}:root[data-theme=dark] .verified-quotation-field>small{color:#6ee7b7}:root[data-theme=dark] .quick-next-stage{color:#6ee7b7;border-color:#10b981}:root[data-theme=dark] .global-search-results{box-shadow:0 18px 45px #0000006b}@media (max-width:780px),(pointer:coarse){.primary-btn,.secondary-btn,.icon-btn,.role-switch,.source-tabs button,.archive-toggle button,.segmented button,.follow-actions button,.quick-dates button,.quote-actions button,.operations-strip button{min-height:44px}.icon-btn{min-width:44px}.global-search-results{width:auto;max-height:calc(100vh - 92px);position:fixed;top:72px;left:12px;right:12px}.customer-record-actions{flex-direction:column;align-items:flex-start}.quotation-required{grid-template-columns:34px 1fr}.quotation-required button{grid-column:1/-1;width:100%}}@media (max-width:780px){.topbar{flex-wrap:wrap;align-content:center;gap:7px;min-height:112px;height:auto!important;padding:8px 12px!important}.top-search{border-radius:10px;flex:1 0 100%;order:3;height:44px;background:var(--surface-subtle)!important;border:1px solid var(--line)!important;width:100%!important;margin:0!important;padding:0 11px!important;display:flex!important}.top-actions{margin-left:auto}.top-actions .role-switch{justify-content:center;gap:0;width:44px;min-width:44px;padding:0;font-size:0;overflow:hidden}.top-actions .role-switch svg{width:17px;height:17px}.top-actions .role-switch svg:last-child{display:none}}@media (max-width:480px){.page-intro>.primary-btn{display:inline-flex!important}.page-intro{align-items:flex-start}.page-intro>.primary-btn{justify-content:center;width:100%}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.raw-kpis,.order-kpis{grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin-bottom:16px;display:grid}.raw-kpis article,.order-kpis article{background:var(--paper);border:1px solid var(--line);border-radius:12px;grid-template-columns:30px 1fr;align-items:center;gap:3px 10px;min-height:88px;padding:15px;display:grid}.raw-kpis svg,.order-kpis svg{width:19px;color:var(--accent);grid-row:1/3}.raw-kpis span,.order-kpis span{color:var(--text-secondary);font-size:12px}.raw-kpis strong,.order-kpis strong{font-size:20px}.order-kpis .attention{border-color:color-mix(in srgb,var(--amber)45%,var(--line))}.file-import{cursor:pointer;position:relative}.file-import input{opacity:0;cursor:pointer;position:absolute;inset:0}.file-import.disabled{opacity:.55;pointer-events:none}.raw-database{overflow:hidden}.raw-toolbar,.orders-toolbar{justify-content:space-between;align-items:center;gap:12px;padding:12px;display:flex}.raw-toolbar svg,.orders-toolbar svg{width:15px}.raw-table{overflow:auto}.raw-row{border-top:1px solid var(--line);min-width:850px;min-height:68px;color:var(--text-primary);grid-template-columns:1.15fr 1fr 1.3fr .9fr .75fr;align-items:center;gap:14px;padding:11px 15px;font-size:13px;display:grid}.raw-row>span{min-width:0}.raw-row strong,.raw-row small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.raw-row small{color:var(--text-tertiary);margin-top:3px;font-size:12px}.raw-head{background:var(--surface-subtle);min-height:42px;color:var(--text-secondary);text-transform:uppercase;letter-spacing:.05em;border-top:0;font-size:12px;font-weight:750}.raw-status,.order-state{text-transform:capitalize;border-radius:999px;width:max-content;padding:4px 8px;font-size:11px;font-style:normal;font-weight:750;display:inline-flex}.raw-status.available,.order-state.paid{background:var(--green-soft);color:#047857}.raw-status.allocated,.order-state.partial{background:var(--blue-soft);color:#1d4ed8}.raw-status.duplicate,.raw-status.invalid,.order-state.pending{background:var(--amber-soft);color:#92400e}.raw-pagination{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:14px 15px;display:flex}.raw-pagination small{color:var(--text-secondary);font-size:12px}.request-lead-card{max-width:760px;padding:20px}.request-state{border:1px solid var(--line);background:var(--surface-subtle);border-radius:12px;grid-template-columns:42px 1fr;align-items:center;gap:13px;padding:17px;display:grid}.request-state>svg{width:30px}.request-state.ready>svg{color:var(--green)}.request-state.blocked>svg{color:var(--amber)}.request-state span,.request-state strong,.request-state small{display:block}.request-state span{color:var(--text-secondary);font-size:12px}.request-state strong{margin:3px 0;font-size:17px}.request-state small{color:var(--text-tertiary);font-size:12px}.request-ten{margin-top:14px}.last-batch{margin:11px 0 0;font-size:12px}.orders-toolbar>label{border:1px solid var(--line);background:var(--control-bg);border-radius:9px;align-items:center;gap:8px;min-width:280px;height:42px;padding:0 11px;display:flex}.orders-toolbar>label svg{color:var(--muted)}.orders-toolbar input{width:100%;color:var(--text-primary);background:0 0;border:0;outline:0;font-size:14px}.order-list{overflow:hidden}.order-row{border:0;border-top:1px solid var(--line);background:var(--paper);width:100%;min-height:74px;color:var(--text-primary);text-align:left;grid-template-columns:1.4fr repeat(3,.72fr) .75fr;align-items:center;gap:14px;padding:12px 15px;display:grid}.order-row:first-child{border-top:0}.order-row:hover{background:var(--surface-subtle)}.order-row span{min-width:0}.order-row strong,.order-row small{display:block}.order-row small{color:var(--text-tertiary);margin-bottom:2px;font-size:12px}.balance-due{color:#b45309!important}.customer-order-summary{border:1px solid var(--line);background:var(--surface-subtle);border-radius:12px;margin:14px 0;padding:15px}.customer-order-head{justify-content:space-between;align-items:center;gap:10px;display:flex}.customer-order-head h3{margin:2px 0;font-size:17px}.customer-order-money{grid-template-columns:repeat(3,1fr);gap:8px;margin:12px 0;display:grid}.customer-order-money>div{background:var(--paper);border:1px solid var(--line);border-radius:8px;padding:9px}.customer-order-money small,.customer-order-money strong{display:block}.customer-order-money small{color:var(--text-tertiary);font-size:11px}.customer-order-progress{color:var(--text-secondary);justify-content:space-between;font-size:12px;display:flex}:root[data-theme=dark] .raw-status.available,:root[data-theme=dark] .order-state.paid{color:#6ee7b7}:root[data-theme=dark] .raw-status.allocated,:root[data-theme=dark] .order-state.partial{color:#93c5fd}:root[data-theme=dark] .raw-status.duplicate,:root[data-theme=dark] .raw-status.invalid,:root[data-theme=dark] .order-state.pending{color:#fde68a}:root[data-theme=dark] .balance-due{color:#fbbf24!important}@media (max-width:900px){.raw-kpis,.order-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.order-row{grid-template-columns:1.3fr repeat(2,.8fr)}.order-row>span:nth-child(3),.order-row>span:nth-child(5){display:none}}@media (max-width:620px){.raw-kpis,.order-kpis{grid-template-columns:1fr 1fr}.raw-kpis article,.order-kpis article{min-height:78px;padding:11px}.raw-toolbar,.orders-toolbar{flex-direction:column;align-items:stretch}.orders-toolbar>label{width:100%;min-width:0}.order-row{grid-template-columns:1.3fr .8fr;padding:12px}.order-row>span:nth-child(2),.order-row>span:nth-child(3),.order-row>span:nth-child(5){display:none}.customer-order-money{grid-template-columns:1fr}.request-lead-card{padding:14px}}.analytics-action.online{box-shadow:0 0 0 2px var(--green-soft);border-color:var(--green)!important}.analytics-backdrop{z-index:190;background:#020617b3;justify-content:flex-end;display:flex;position:fixed;inset:0}.analytics-dismiss{cursor:default;background:0 0;border:0;position:absolute;inset:0}.quote-analytics{background:var(--paper);border-left:1px solid var(--line);flex-direction:column;width:min(720px,96vw);height:100%;display:flex;position:relative;box-shadow:-18px 0 48px #0f172a2e}.quote-analytics>header{border-bottom:1px solid var(--line);background:var(--paper);justify-content:space-between;align-items:flex-start;gap:20px;padding:24px 28px;display:flex}.quote-analytics>header h2{color:var(--text-primary);margin:5px 0;font:26px Georgia,serif}.quote-analytics>header p{color:var(--text-secondary);margin:0;font-size:13px}.analytics-scroll{background:var(--ivory);padding:22px 28px 40px;overflow:auto}.intent-summary,.analytics-section{background:var(--paper);border:1px solid var(--line);border-radius:14px;padding:20px}.intent-summary>div:first-child{grid-template-columns:32px 1fr;align-items:center;gap:2px 10px;display:grid}.intent-summary>div:first-child svg{width:24px;color:var(--accent);grid-row:1/3}.intent-summary>div:first-child span{color:var(--text-secondary);font-size:11px}.intent-summary>div:first-child strong{font-size:20px}.intent-summary>p{color:var(--text-primary);margin:16px 0;font-size:14px;line-height:1.55}.recommended-action{background:var(--surface-subtle);border-radius:10px;align-items:flex-start;gap:11px;padding:13px;display:flex!important}.recommended-action svg{width:18px;color:var(--accent);flex:none}.recommended-action span{gap:4px;font-size:13px;line-height:1.4;display:grid}.recommended-action b{text-transform:uppercase;letter-spacing:.06em;color:var(--text-secondary);font-size:10px}.analytics-kpis{grid-template-columns:repeat(4,1fr);gap:10px;margin:12px 0;display:grid}.analytics-kpis article{background:var(--paper);border:1px solid var(--line);border-radius:12px;grid-template-columns:20px 1fr;align-items:center;gap:4px 7px;padding:14px;display:grid}.analytics-kpis svg{width:18px;color:var(--accent);grid-row:1/4}.analytics-kpis span{color:var(--text-secondary);font-size:10px}.analytics-kpis strong{font-size:19px}.analytics-kpis small{color:var(--text-secondary);font-size:10px}.analytics-section{margin-top:12px}.analytics-section-head{justify-content:space-between;align-items:end;gap:14px;margin-bottom:15px;display:flex}.analytics-section-head h3{margin:4px 0 0;font:20px Georgia,serif}.analytics-section-head>small{color:var(--text-secondary);text-align:right;font-size:10px}.analytics-empty{color:var(--text-secondary);margin:0;font-size:13px}.product-signal-list{gap:14px;display:grid}.product-signal-list article>div:first-child{justify-content:space-between;align-items:center;gap:10px;display:flex}.product-signal-list strong{font-size:13px}.product-signal-list i{text-transform:capitalize;background:var(--surface-subtle);color:var(--text-secondary);border-radius:999px;padding:4px 8px;font-size:10px;font-style:normal}.product-signal-list .decision-selected{background:var(--green-soft);color:#047857}.product-signal-list .decision-rejected{background:var(--red-soft);color:#b91c1c}.interest-bar{background:var(--surface-subtle);border-radius:99px;height:7px;margin:7px 0;overflow:hidden}.interest-bar span{background:var(--accent);border-radius:inherit;height:100%;display:block}.product-signal-list small{color:var(--text-secondary);font-size:10px}.session-list{gap:8px;display:grid}.session-list article{border:1px solid var(--line);border-radius:10px;grid-template-columns:38px 1fr auto;align-items:center;gap:10px;padding:11px;display:grid}.session-device{background:var(--surface-subtle);border-radius:9px;place-items:center;width:34px;height:34px;display:grid}.session-device svg{width:16px;color:var(--accent)}.session-list article>span{gap:3px;display:grid}.session-list article>span:last-child{text-align:right}.session-list strong{font-size:12px}.session-list small{color:var(--text-secondary);font-size:10px}.analytics-timeline{gap:0;margin:0;padding:0;list-style:none;display:grid}.analytics-timeline li{grid-template-columns:14px 1fr;gap:10px;min-height:49px;display:grid}.analytics-timeline li>span{border:2px solid var(--accent);border-radius:50%;width:9px;height:9px;margin-top:4px;position:relative}.analytics-timeline li:not(:last-child)>span:after{content:"";background:var(--line);width:1px;height:39px;position:absolute;top:8px;left:2px}.analytics-timeline li div{align-content:start;gap:3px;display:grid}.analytics-timeline strong{font-size:12px}.analytics-timeline small{color:var(--text-secondary);font-size:10px}:root[data-theme=dark] .quote-analytics,:root[data-theme=dark] .quote-analytics>header,:root[data-theme=dark] .intent-summary,:root[data-theme=dark] .analytics-section,:root[data-theme=dark] .analytics-kpis article{background:var(--paper);color:var(--text-primary);border-color:var(--line)}@media (max-width:760px){.quote-analytics{width:100vw}.quote-analytics>header{padding:18px}.analytics-scroll{padding:15px 15px 100px}.analytics-kpis{grid-template-columns:1fr 1fr}.analytics-section-head{flex-direction:column;align-items:flex-start}.analytics-section-head>small{text-align:left}}.help-button{flex:none}.tour-layer{z-index:240;pointer-events:auto;position:fixed;inset:0}.tour-layer.no-target,.tour-welcome-layer{background:#050a12b8}.tour-welcome-layer{place-items:center;padding:20px;display:grid}.tour-welcome{background:var(--paper);width:min(520px,100%);max-height:calc(100vh - 32px);color:var(--ink);border:1px solid var(--line);text-align:center;border-radius:22px;outline:none;padding:34px;overflow:auto;box-shadow:0 24px 70px #0000004d}.tour-symbol{background:var(--green-soft);width:54px;height:54px;color:var(--green);border-radius:16px;place-items:center;margin:0 auto 18px;display:grid}.tour-symbol svg{width:25px}.tour-welcome h2,.tour-card h2{color:var(--ink);margin:10px 0;font-size:25px;line-height:1.18}.tour-welcome>p,.tour-card>p{color:var(--muted);margin:0;font-size:14px;line-height:1.65}.tour-preview{grid-template-columns:repeat(3,1fr);gap:8px;margin:24px 0;display:grid}.tour-preview span{border:1px solid var(--line);background:var(--surface);border-radius:12px;place-items:center;gap:7px;min-height:78px;padding:12px 8px;font-size:12px;font-weight:700;display:grid}.tour-preview svg{width:19px;color:var(--green)}.tour-primary{justify-content:center;width:100%;min-height:46px}.tour-skip{color:var(--muted);cursor:pointer;background:0 0;border:0;padding:13px 20px;font-weight:700}.tour-welcome>small{color:var(--muted);font-size:11px;display:block}.tour-spotlight{pointer-events:none;border:2px solid #10b981;border-radius:12px;transition:left .18s,top .18s,width .18s,height .18s;position:fixed;box-shadow:0 0 0 9999px #050a12b8,0 0 0 5px #10b98133}.tour-card{background:var(--paper);width:min(390px,100vw - 32px);max-height:calc(100vh - 32px);color:var(--ink);border:1px solid var(--line);border-radius:18px;outline:none;padding:22px;position:fixed;top:50%;left:50%;overflow:auto;transform:translate(-50%,-50%);box-shadow:0 20px 60px #00000057}.tour-card.targeted{transition:left .18s,top .18s;transform:none}.tour-card-head,.tour-actions{justify-content:space-between;align-items:center;gap:12px;display:flex}.tour-card-head>span{color:var(--muted);text-transform:uppercase;letter-spacing:.08em;font-size:11px;font-weight:800}.tour-progress{background:var(--line);border-radius:99px;height:4px;margin:11px 0 20px;overflow:hidden}.tour-progress i{background:var(--green);border-radius:inherit;height:100%;transition:width .18s;display:block}.tour-tip{background:var(--green-soft);border:1px solid color-mix(in srgb,var(--green)22%,transparent);border-radius:12px;align-items:flex-start;gap:11px;margin:19px 0;padding:13px;display:flex}.tour-tip svg{color:var(--green);flex:none}.tour-tip span{font-size:12px;line-height:1.45}.tour-tip strong{text-transform:uppercase;letter-spacing:.07em;margin-bottom:3px;font-size:11px;display:block}.tour-actions{margin-top:20px}.tour-actions .primary-btn,.tour-actions .secondary-btn{min-height:42px}.tour-shortcut{color:var(--muted);align-items:center;gap:6px;margin-top:14px;font-size:10px;display:flex}.tour-journey{gap:7px;margin:18px 0;display:grid}.tour-journey>div{background:var(--surface);border:1px solid var(--line);border-radius:10px;align-items:center;gap:11px;padding:9px 10px;display:flex}.tour-journey b{background:var(--green);color:#fff;border-radius:50%;place-items:center;width:27px;height:27px;font-size:12px;display:grid}.tour-journey span,.tour-journey strong,.tour-journey small{display:block}.tour-journey strong{font-size:12px}.tour-journey small{color:var(--muted);margin-top:2px;font-size:10px}.tour-card-final{width:min(470px,100vw - 32px)}:root[data-theme=dark] .tour-welcome,:root[data-theme=dark] .tour-card{color:#f8fafc;background:#111827;border-color:#334155}:root[data-theme=dark] .tour-welcome h2,:root[data-theme=dark] .tour-card h2{color:#f8fafc}:root[data-theme=dark] .tour-preview span,:root[data-theme=dark] .tour-journey>div{background:#172033;border-color:#334155}:root[data-theme=dark] .tour-tip{background:#10b9811f}@media (max-width:780px){.tour-card,.tour-card.targeted{width:auto;max-height:72vh;bottom:16px;right:16px;transform:none;top:auto!important;left:16px!important}.tour-welcome{padding:25px 20px}.tour-welcome h2,.tour-card h2{font-size:21px}.tour-preview{grid-template-columns:1fr}.tour-preview span{grid-template-columns:auto 1fr;justify-content:start;min-height:48px;padding:10px 13px}.tour-spotlight{display:none}.tour-layer.has-target{background:#050a12b8}}@media (prefers-reduced-motion:reduce){.tour-spotlight,.tour-card.targeted,.tour-progress i{transition:none!important}}.training-paths{text-align:left;gap:8px;margin:22px 0;display:grid}.training-paths button{border:1px solid var(--line);background:var(--surface);width:100%;min-height:58px;color:var(--ink);text-align:left;cursor:pointer;border-radius:11px;grid-template-columns:34px 1fr auto;align-items:center;gap:10px;padding:10px;display:grid}.training-paths button:hover,.training-paths button.selected{border-color:var(--green);background:var(--green-soft)}.training-paths button>span{background:var(--paper);width:30px;height:30px;color:var(--green);border-radius:8px;place-items:center;display:grid}.training-paths svg{width:16px}.training-paths i{gap:3px;min-width:0;font-style:normal;display:grid}.training-paths strong{font-size:12px}.training-paths small{color:var(--muted);font-size:10px;line-height:1.3}.training-paths em{color:var(--green);white-space:nowrap;font-size:10px;font-style:normal;font-weight:800}.tour-trial{border:1px solid var(--line);background:var(--surface);border-radius:12px;margin-top:14px;padding:13px}.tour-trial>span{letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin-bottom:5px;font-size:10px;font-weight:800;display:block}.tour-trial>strong{font-size:12px;line-height:1.45;display:block}.tour-trial>div{gap:7px;margin-top:10px;display:grid}.tour-trial button{border:1px solid var(--line);background:var(--paper);color:var(--ink);text-align:left;cursor:pointer;border-radius:8px;padding:9px 10px;font-size:11px;font-weight:650}.tour-trial button:hover{border-color:var(--green)}.tour-trial button.correct{border-color:var(--green);background:var(--green-soft);color:#047857}.tour-trial button.incorrect{border-color:var(--red);background:var(--red-soft);color:#b91c1c}.tour-trial>small{margin-top:9px;font-size:11px;line-height:1.4;display:block}.tour-trial>small.correct{color:#047857}.tour-trial>small.incorrect{color:#b91c1c}:root[data-theme=dark] .training-paths button,:root[data-theme=dark] .tour-trial{background:#172033;border-color:#334155}:root[data-theme=dark] .training-paths button>span,:root[data-theme=dark] .tour-trial button{color:#f8fafc;background:#111827;border-color:#334155}:root[data-theme=dark] .training-paths button.selected,:root[data-theme=dark] .tour-trial button.correct{color:#6ee7b7;background:#10b98124}:root[data-theme=dark] .tour-trial button.incorrect{color:#fca5a5;background:#f8717124}@media (max-width:560px){.training-paths{margin:17px 0}.training-paths button{min-height:54px}.training-paths small{font-size:9px}.tour-trial{padding:11px}.tour-trial button{min-height:40px}}
