:root{color:#13233a;background:#f5f8fc;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--ink: #13233a;--muted: #617087;--line: #d6e0ea;--field: #edf3f9;--accent: #2f80b7;--accent-deep: #15547f;--warm: #8a6f45;--white: #ffffff}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;font-size:12px}a{color:inherit}.page-shell{position:relative;display:flex;min-height:100vh;flex-direction:column;align-items:center;justify-content:flex-start;overflow:hidden;padding:18px 28px 28px}.page-shell:before{position:absolute;top:0;right:0;bottom:0;left:0;z-index:-2;content:"";background:linear-gradient(115deg,rgba(47,128,183,.12),transparent 38%),radial-gradient(circle at 83% 22%,rgba(197,139,87,.18),transparent 30%),#f5f8fc}.page-shell:after{position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;content:"";background-image:linear-gradient(rgba(19,35,58,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(19,35,58,.06) 1px,transparent 1px);background-size:46px 46px;-webkit-mask-image:linear-gradient(to bottom,black,transparent 82%);mask-image:linear-gradient(to bottom,black,transparent 82%)}.portal{display:grid;width:min(430px,100%);gap:18px;margin:18px auto auto}.logo-lockup{display:grid;justify-content:center;justify-items:center;margin-bottom:12px;color:var(--ink)}.brand-logo{display:block;width:min(140px,46vw);height:auto}.dashboard-logo{margin:0}.dashboard-logo .brand-logo{width:54px}.logo-type{display:grid;gap:3px;justify-items:center}.logo-type strong{color:var(--ink);font-size:20px;line-height:1}.logo-type span{color:var(--muted);font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.portal-header{text-align:center}h1{margin:0;color:var(--ink);font-size:20px;font-weight:760;letter-spacing:0;line-height:1.2}.portal-subtitle{margin:8px auto 0;color:var(--ink);font-size:20px;font-weight:760;line-height:1.2}.lead{margin:8px auto 0;color:#334155;font-size:12px;line-height:1.45}.access-card{border:1px solid var(--line);background:#ffffffd1;box-shadow:0 24px 70px #13233a1f}.mode-tabs{display:grid;grid-template-columns:repeat(3,1fr);border-bottom:1px solid var(--line);background:var(--field)}.mode-tabs button{min-height:52px;border:0;border-right:1px solid var(--line);background:transparent;color:var(--muted);cursor:pointer;font:inherit;font-size:12px;font-weight:750}.mode-tabs button:last-child{border-right:0}.mode-tabs button.active{background:var(--white);color:var(--ink)}.access-form{display:grid;gap:18px;padding:30px}.access-form h2{margin:0;color:var(--ink);font-size:20px;line-height:1.15}.access-form p{margin:9px 0 0;color:var(--muted);font-size:12px;line-height:1.45}.access-form label{display:grid;gap:8px;color:#334155;font-size:12px;font-weight:700}.checkbox-label{display:flex!important;align-items:flex-start;gap:10px!important;font-weight:600!important;line-height:1.45}.checkbox-label input{width:14px!important;min-height:14px!important;margin-top:2px;flex:0 0 auto}.checkbox-label a{color:var(--accent-deep);text-decoration-color:#15547f40;text-underline-offset:3px}.access-form input{width:100%;min-height:46px;border:1px solid var(--line);background:var(--field);color:var(--ink);padding:10px 12px;font:inherit}.access-form button{min-height:48px;border:1px solid var(--accent-deep);background:var(--accent-deep);color:var(--white);cursor:pointer;font:inherit;font-weight:800}.access-form button:disabled,.signed-in-panel button:disabled{cursor:wait;opacity:.7}.form-message{margin:18px 30px 0;border:1px solid var(--line);padding:10px 12px;font-size:12px;line-height:1.45}.form-message.success{border-color:#2f80b759;background:#2f80b714;color:var(--accent-deep)}.form-message.error{border-color:#85463a59;background:#85463a14;color:#71392f}.signed-in-panel{display:grid;gap:8px;border-bottom:1px solid var(--line);padding:18px 30px;color:var(--muted);font-size:12px}.signed-in-panel strong{color:var(--ink);font-size:20px;line-height:1.15}.signed-in-panel button{min-height:38px;border:1px solid var(--line);background:var(--white);color:var(--ink);cursor:pointer;font:inherit;font-weight:800}.dashboard-shell{min-height:100vh;background:#f5f8fc;color:var(--ink)}.dashboard-topbar{position:sticky;top:0;z-index:40;display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid var(--line);background:#fffffff5;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);padding:6px 14px}.dashboard-brand{display:flex;min-width:0;align-items:center;gap:10px}.dashboard-topbar h1{margin:0;color:var(--ink);font-size:20px;line-height:1.2;white-space:nowrap}.dashboard-topbar p{min-width:0;margin:0;color:var(--muted);font-size:12px;line-height:1.4;text-align:right}.dashboard-topbar button{min-height:38px;border:1px solid var(--line);background:var(--white);color:var(--ink);cursor:pointer;font:inherit;font-weight:800;padding:0 14px;white-space:nowrap}.topbar-actions{display:flex;flex:0 0 auto;align-items:center;gap:8px}.topbar-cart-button{display:inline-flex;align-items:center;gap:8px}.cart-count-dot{display:inline-flex;width:18px;height:18px;align-items:center;justify-content:center;border-radius:999px;color:var(--white);font-size:11px;font-weight:900;line-height:1}.cart-count-dot.empty{background:#d96b61}.cart-count-dot.has-items{background:#4f8f72}.dashboard-body{display:grid;grid-template-columns:206px minmax(0,1fr);min-height:calc(100vh - 51px)}.dashboard-menu{display:flex;flex-direction:column;justify-content:space-between;border-right:1px solid var(--line);background:#ffffffb8;padding:5px}.dashboard-menu nav{display:grid;gap:0}.dashboard-menu-footer{display:grid;gap:1px}.dashboard-menu button,.dashboard-menu a{display:flex;min-height:24px;align-items:center;justify-content:space-between;gap:6px;border:1px solid transparent;background:transparent;color:var(--ink);cursor:pointer;font:inherit;font-size:11px;font-weight:400;padding:0 6px;text-align:left;text-decoration:none}.dashboard-menu button.active{border-color:var(--line);background:var(--white);color:var(--accent-deep);font-weight:400}.dashboard-menu a{border-color:var(--line);background:var(--field);justify-content:center}.menu-label{display:inline-flex;min-width:0;align-items:center;gap:8px}.menu-label span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.menu-icon{width:15px;height:15px;flex:0 0 auto;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.menu-badge{display:inline-flex;min-width:20px;height:20px;align-items:center;justify-content:center;border-radius:999px;background:var(--accent);color:var(--white);font-size:11px;font-weight:650;line-height:1;padding:0 6px}.dashboard-panel{padding:18px}.dashboard-page-header{display:flex;align-items:start;justify-content:space-between;gap:18px;margin-bottom:18px}.dashboard-panel h2{margin:0;color:var(--ink);font-size:28px;font-weight:650;line-height:1.1}.dashboard-panel p{margin:8px 0 0;color:var(--muted);font-size:12px;font-weight:400;line-height:1.45}.dashboard-page-header p{font-size:12px;font-weight:400}.date-range-control{display:inline-flex;min-height:38px;align-items:center;gap:8px;border:1px solid var(--line);background:var(--white);color:var(--ink);padding:0 10px}.date-range-control select{border:0;background:transparent;color:inherit;cursor:pointer;font:inherit;font-size:12px;font-weight:550;outline:0}.activity-panel{max-width:1180px;border:1px solid var(--line);background:#f0f5fd;padding:20px}.activity-panel-header{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px}.activity-title,.activity-date,.activity-card-label{display:inline-flex;align-items:center;gap:8px}.activity-title h3{margin:0;color:var(--ink);font-size:18px;font-weight:650;line-height:1.2}.activity-title-icon{color:#2f80ff}.activity-date{color:var(--muted);font-size:12px;font-weight:500}.activity-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.activity-card{display:grid;min-height:74px;align-content:start;gap:8px;border:1px solid var(--line);background:var(--white);padding:12px}.activity-card-label{color:var(--muted);font-size:11px;font-weight:500}.activity-card strong{color:var(--ink);font-size:18px;font-weight:650;line-height:1}.activity-card strong.muted-value{color:var(--muted);font-size:14px;font-weight:500;line-height:1.2}.activity-card-icon{display:inline-flex}.activity-card-icon.green{color:#16a34a}.activity-card-icon.blue{color:#2f80ff}.activity-card-icon.teal{color:#0f9f93}.activity-card-icon.purple{color:#8b5cf6}.activity-card-icon.orange{color:#f59e0b}.activity-card-icon.muted{color:var(--muted)}.metric-help{display:inline-flex;width:15px;height:15px;align-items:center;justify-content:center;border:1px solid currentColor;border-radius:999px;color:var(--muted);font-size:10px;font-weight:600;line-height:1}.dashboard-list{display:grid;gap:1px;max-width:760px;margin-top:16px;border:1px solid var(--line);background:var(--line)}.dashboard-list div{min-height:42px;background:#ffffffd1;color:#334155;display:flex;align-items:center;padding:0 12px;font-size:12px;font-weight:700}.action-list{align-items:start;gap:10px;border:0;background:transparent}.action-list button{width:fit-content}.professional-list{display:grid;gap:1px;max-width:900px;margin-top:16px;border:1px solid var(--line);background:var(--line)}.approval-form{display:grid;grid-template-columns:minmax(220px,360px) auto;gap:10px;align-items:end;max-width:620px;margin-top:16px}.approval-form label{display:grid;gap:6px;color:#334155;font-size:12px;font-weight:800}.approval-form input{width:100%;min-height:38px;border:1px solid var(--line);background:var(--white);color:var(--ink);font:inherit;padding:8px 10px}.approval-form button{min-height:38px;border:1px solid var(--accent-deep);background:var(--accent-deep);color:var(--white);cursor:pointer;font:inherit;font-size:12px;font-weight:800;padding:0 12px}.approval-form button:disabled{cursor:wait;opacity:.7}.table-controls{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}.table-controls label{display:grid;min-width:220px;gap:6px;color:#334155;font-size:12px;font-weight:800}.table-controls input,.table-controls select{min-height:38px;border:1px solid var(--line);background:var(--white);color:var(--ink);font:inherit;padding:8px 10px}.table-control-actions{display:flex;align-items:end;gap:8px}.table-control-actions button{min-height:38px;border:1px solid var(--line);background:var(--white);color:var(--ink);cursor:pointer;font:inherit;font-size:12px;font-weight:800;padding:0 12px}.admin-table-wrap{max-width:100%;margin-top:16px;overflow-x:auto;border:1px solid var(--line);background:var(--white)}.admin-table{width:100%;min-width:980px;border-collapse:collapse;font-size:12px}.admin-table th,.admin-table td{border-bottom:1px solid var(--line);color:#334155;padding:8px 10px;text-align:left;vertical-align:top}.admin-table th{background:var(--field);color:var(--ink);font-size:11px;font-weight:550;white-space:nowrap}.admin-table th:first-child,.admin-table td:first-child{width:42px;color:var(--muted);text-align:right}.admin-table th button{display:inline-flex;align-items:center;gap:6px;border:0;background:transparent;color:inherit;cursor:pointer;font:inherit;font-weight:550;padding:0;text-align:left}.admin-table th button span{color:var(--muted);font-size:11px;font-weight:500}.admin-table tbody tr:last-child td{border-bottom:0}.table-link,.text-action{border:0;background:transparent;color:var(--accent-deep);cursor:pointer;font:inherit;font-weight:800;padding:0;text-align:left;text-decoration:underline;text-decoration-color:#15547f40;text-underline-offset:3px}.image-lightbox-trigger{display:inline-flex;border:0;background:transparent;cursor:zoom-in;padding:0}.detail-panel{display:grid;gap:12px;max-width:980px;margin-top:16px;border:1px solid var(--line);background:#ffffffd6;padding:14px}.detail-panel h3{margin:0;color:var(--ink);font-size:20px;line-height:1.2}.product-detail-image{width:min(260px,100%);aspect-ratio:1 / 1;border:1px solid var(--line);background:var(--white);cursor:zoom-in;object-fit:contain}.product-table-image{width:52px;height:52px;border:1px solid var(--line);background:var(--white);cursor:zoom-in;object-fit:contain}.lightbox-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;display:flex;align-items:center;justify-content:center;background:#13233a6b;padding:28px}.lightbox-dialog{position:relative;display:grid;max-width:min(720px,92vw);max-height:88vh;border:1px solid var(--line);background:var(--white);box-shadow:0 24px 80px #13233a47;padding:14px}.lightbox-dialog img{display:block;max-width:100%;max-height:calc(88vh - 74px);object-fit:contain}.lightbox-close{justify-self:end;min-height:34px;margin-bottom:10px;border:1px solid var(--line);background:var(--white);color:var(--ink);cursor:pointer;font:inherit;font-size:12px;font-weight:800;padding:0 12px}.detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 14px}.detail-grid span{color:#334155;font-size:12px;line-height:1.45}.detail-actions{justify-content:flex-start}.stats-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;max-width:980px;margin-top:16px}.mp-stats-grid{margin-bottom:16px}.stat-tile{display:grid;gap:8px;border:1px solid var(--line);background:var(--white);padding:14px}.stat-tile span{color:#334155;font-size:12px;font-weight:700}.stat-tile strong{color:var(--ink);font-size:28px;line-height:1}.report-panel{display:grid;gap:14px}.report-summary{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px}.report-summary span{border:1px solid var(--line);background:var(--white);color:#334155;font-size:12px;font-weight:800;padding:8px 10px}.analytics-page{display:grid;gap:18px;max-width:1180px}.analytics-filters{display:flex;flex-wrap:wrap;align-items:end;gap:10px}.analytics-filters label{display:grid;min-width:150px;gap:4px;color:var(--muted);font-size:12px;font-weight:400}.analytics-filters input,.analytics-filters select,.analytics-filters button{min-height:34px;border:1px solid var(--line);background:var(--white);color:var(--ink);font:inherit;font-size:12px;padding:7px 10px}.analytics-filters button{cursor:pointer;font-weight:800}.analytics-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.analytics-kpi-card,.analytics-card,.analytics-chart-panel,.analytics-mini-grid article{border:1px solid var(--line);background:var(--white);box-shadow:0 2px 8px #13233a14;padding:14px}.analytics-kpi-card{min-height:86px}.analytics-kpi-card span,.analytics-trend-summary span{color:var(--muted);font-size:11px;font-weight:500}.analytics-kpi-card strong{display:block;margin-top:8px;color:var(--ink);font-size:18px;font-weight:650;line-height:1}.analytics-kpi-card p,.analytics-trend-summary p{margin:10px 0 0;color:var(--muted);font-size:12px;font-weight:400}.analytics-kpi-card p.positive{color:#16a34a}.analytics-kpi-card p.negative{color:#ef4444}.analytics-mini-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.analytics-mini-grid article{display:flex;min-height:78px;align-items:center;gap:14px}.analytics-mini-grid strong{color:var(--ink);font-size:12px;font-weight:550}.analytics-mini-grid span{margin-left:auto;color:var(--muted);font-size:16px;font-weight:650}.analytics-section-header{display:flex;align-items:start;justify-content:space-between;gap:12px}.analytics-card h3,.analytics-chart-panel h3{margin:0;color:var(--ink);font-size:18px;font-weight:650;line-height:1.2}.analytics-card>p,.analytics-chart-panel p{margin:4px 0 0;color:var(--muted);font-size:12px;font-weight:400}.analytics-section-header>span{border:1px solid var(--line);background:var(--white);color:var(--ink);font-size:11px;font-weight:550;padding:8px 10px}.analytics-trend-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:16px}.analytics-trend-summary div{border:1px solid var(--line);background:var(--field);padding:10px}.analytics-trend-summary strong{display:block;margin-top:4px;color:var(--ink);font-size:16px;font-weight:650}.analytics-line-chart{width:100%;height:220px;margin-top:18px;background-image:linear-gradient(var(--line) 1px,transparent 1px),linear-gradient(90deg,var(--line) 1px,transparent 1px);background-size:8.333% 25%}.analytics-line-chart polyline{fill:none;stroke-width:1.6;vector-effect:non-scaling-stroke}.analytics-line-chart .revenue-line{stroke:#1f66ff}.analytics-line-chart .orders-line{stroke:#198996;stroke-dasharray:3 3}.analytics-two-column{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.crm-range-toggle,.crm-leaderboard-tabs{display:inline-flex;overflow:hidden;border:1px solid var(--line);background:#e5e7eb}.crm-range-toggle button,.crm-leaderboard-tabs button{min-height:34px;border:0;background:transparent;color:#475569;cursor:pointer;font:inherit;font-size:11px;font-weight:550;padding:0 12px}.crm-range-toggle button.active,.crm-leaderboard-tabs button.active{background:var(--white);color:var(--ink);box-shadow:0 1px 4px #13233a1f}.crm-overview-page{display:grid;gap:18px;max-width:1180px}.crm-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.crm-kpi-card,.crm-card{border:1px solid var(--line);background:var(--white);box-shadow:0 2px 8px #13233a14}.crm-kpi-card{display:grid;min-height:82px;align-content:start;gap:7px;padding:12px}.crm-kpi-card div,.crm-card-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.crm-kpi-card span{color:var(--muted);font-size:11px;font-weight:500}.crm-kpi-card strong{color:var(--ink);font-size:18px;font-weight:650;line-height:1}.crm-kpi-card p,.crm-health-card p,.crm-empty-state{margin:0;color:var(--muted);font-size:12px;font-weight:400}.crm-main-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(280px,1fr);gap:16px}.crm-card{padding:14px}.crm-card h3{display:inline-flex;align-items:center;gap:8px;margin:0;color:var(--ink);font-size:16px;font-weight:650;line-height:1.2}.crm-distribution-card{min-height:250px}.crm-bar-chart{display:grid;gap:16px;margin-top:18px}.crm-bar-row{display:grid;grid-template-columns:132px minmax(0,1fr) 36px;align-items:center;gap:10px}.crm-bar-row>span{color:var(--muted);font-size:12px;font-weight:400;text-align:right}.crm-bar-row>strong{color:var(--muted);font-size:12px;text-align:right}.crm-bar-track{height:36px;border-left:1px solid #94a3b8;background:linear-gradient(90deg,transparent,transparent)}.crm-bar-fill{display:block;height:100%}.crm-bar-fill.cyan{background:#16b8c7}.crm-bar-fill.green{background:#16803d}.crm-bar-fill.blue{background:#3b82f6}.crm-health-card{display:grid;min-height:250px;align-content:start;gap:40px}.crm-health-card p,.crm-empty-state{align-self:center;justify-self:center}.crm-leaderboard-card{min-height:120px}.crm-leaderboard-table-wrap{margin-top:14px}.crm-empty-state{min-height:62px;display:grid;place-items:center}.crm-pipeline-page{display:grid;gap:18px;max-width:none}.crm-pipeline-filters{display:grid;grid-template-columns:minmax(220px,1.4fr) repeat(5,minmax(140px,.85fr)) auto;gap:12px;align-items:center}.crm-pipeline-filters button{min-height:34px;border:0;background:transparent;color:var(--muted);cursor:not-allowed;font:inherit;font-size:11px;font-weight:550}.crm-pipeline-board{display:grid;grid-auto-columns:minmax(236px,1fr);grid-auto-flow:column;gap:12px;min-height:620px;overflow-x:auto;padding-bottom:8px}.crm-pipeline-column{display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden;border-top:4px solid #3b82f6;background:#e9ecef}.crm-pipeline-column.tone-gold{border-top-color:#d9a400}.crm-pipeline-column.tone-orange{border-top-color:#f97316}.crm-pipeline-column.tone-purple{border-top-color:#a855f7}.crm-pipeline-column.tone-indigo{border-top-color:#4f46e5}.crm-pipeline-column.tone-pink{border-top-color:#db19c7}.crm-pipeline-column.tone-teal{border-top-color:#0f9f93}.crm-pipeline-column.tone-green{border-top-color:#16a34a}.crm-pipeline-column-header{display:flex;align-items:start;justify-content:space-between;gap:8px;padding:12px}.crm-pipeline-column-header h3{margin:0;color:var(--ink);font-size:13px;font-weight:650;line-height:1.2}.crm-pipeline-column-header p{margin:4px 0 0;color:var(--muted);font-size:12px;font-weight:400}.crm-lead-card-list{display:grid;align-content:start;gap:8px;overflow-y:auto;padding:0 10px 12px}.crm-lead-card{display:grid;gap:8px;border:1px solid var(--line);background:var(--white);box-shadow:0 2px 8px #13233a1f;cursor:grab;padding:12px}.crm-lead-card:active{cursor:grabbing}.crm-lead-card strong{color:var(--ink);font-size:12px;font-weight:650;line-height:1.25}.crm-lead-card span,.crm-lead-card small{display:inline-flex;align-items:center;gap:5px;color:var(--muted);font-size:12px;font-weight:400}.crm-lead-card div{display:flex;align-items:center;justify-content:space-between;gap:8px}.crm-lead-card small{min-height:22px;background:#e5e7eb;padding:3px 7px}.crm-lead-card button{display:inline-grid;width:26px;height:26px;place-items:center;border:0;background:transparent;color:var(--muted);cursor:pointer;padding:0}.crm-leads-header-actions{display:flex;align-items:center;gap:8px}.crm-leads-header-actions>button:not(.primary-header-action){display:inline-flex;min-height:34px;align-items:center;gap:8px;border:1px solid var(--line);background:var(--white);color:var(--ink);font:inherit;font-size:11px;font-weight:550;padding:0 12px}.crm-leads-page{display:grid;gap:18px;max-width:none}.crm-leads-filters{display:grid;grid-template-columns:minmax(260px,1.5fr) repeat(5,minmax(140px,.85fr));gap:12px;align-items:center}.crm-leads-filters>button{display:inline-flex;min-height:34px;align-items:center;justify-content:center;gap:8px;border:1px solid var(--line);background:var(--white);color:var(--ink);cursor:pointer;font:inherit;font-size:11px;font-weight:550;padding:0 10px}.crm-leads-filters>button:disabled,.crm-leads-header-actions>button:disabled{cursor:not-allowed;opacity:.65}.crm-leads-table{min-width:1120px}.crm-leads-table td,.crm-leads-table th{vertical-align:middle}.crm-leads-table td{font-size:12px}.crm-stage-pill,.crm-status-pill{display:inline-flex;min-height:22px;align-items:center;border-radius:6px;font-size:11px;font-weight:550;padding:2px 8px;white-space:nowrap}.crm-stage-pill.stage-new,.crm-stage-pill.stage-demo_completed{background:#c9f5fb;color:#0f6673}.crm-stage-pill.stage-attempted{background:#fef3c7;color:#92400e}.crm-stage-pill.stage-connected_gk{background:#ffedd5;color:#9a3412}.crm-stage-pill.stage-connected_dm,.crm-stage-pill.stage-demo_booked,.crm-stage-pill.stage-demo_rescheduled{background:#ede9fe;color:#5b21b6}.crm-stage-pill.stage-ordering_clinic,.crm-status-pill.status-approved{background:#dcfce7;color:#166534}.crm-status-pill.status-pending{background:#ffedd5;color:#9a3412}.crm-status-pill.status-suspended,.crm-status-pill.status-rejected{background:#fee2e2;color:#b91c1c}.crm-rating-select{min-width:108px;min-height:32px;border:1px solid var(--line);background:var(--field);color:var(--ink);font:inherit;font-size:12px;padding:5px 8px}.crm-rating-select.rating-hot{border-color:#fecaca;background:#fef2f2;color:#b91c1c}.crm-rating-select.rating-warm{border-color:#fed7aa;background:#fff7ed;color:#9a3412}.crm-rating-select.rating-cold{border-color:#bfdbfe;background:#eff6ff;color:#1d4ed8}.top-products-list{display:grid;gap:12px;margin-top:18px}.top-product-row{display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:12px}.top-product-row>span{display:inline-flex;width:28px;height:28px;align-items:center;justify-content:center;border-radius:999px;background:#e5e7eb;color:var(--ink);font-size:12px;font-weight:800}.top-product-row strong{color:var(--ink);font-size:13px}.top-product-row p{margin:2px 0 0;color:var(--muted);font-size:12px;font-weight:400}.distribution-ring{width:150px;height:150px;margin:42px auto 28px;border-radius:999px;background:radial-gradient(circle at center,var(--white) 55%,transparent 56%),conic-gradient(#22c55e 0 var(--paid-share),#3b82f6 var(--paid-share) 300deg,#8b5cf6 300deg 326deg,#111827 326deg 342deg,#ef4444 342deg 360deg)}.distribution-legend{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}.distribution-legend span{display:inline-flex;align-items:center;gap:6px;color:var(--ink);font-size:12px}.distribution-legend strong{border-radius:6px;background:#e5e7eb;font-size:12px;padding:3px 8px}.legend-dot{width:8px;height:8px;border-radius:999px;background:#22c55e}.legend-dot.tone-1{background:#3b82f6}.legend-dot.tone-2{background:#8b5cf6}.legend-dot.tone-3{background:#111827}.legend-dot.tone-4{background:#ef4444}.sales-performance-card{overflow:hidden}.sales-performance-table-wrap{margin-top:14px;border:0;box-shadow:none}.sales-performance-table{min-width:900px}.sales-performance-table th:first-child,.sales-performance-table td:first-child{width:auto;color:inherit;text-align:left}.sales-performance-table td{vertical-align:middle}.sales-performance-table td:first-child{display:grid;gap:3px}.professional-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;background:#ffffffd6;padding:12px}.professional-edit-form{display:grid;grid-column:1 / -1;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;border-top:1px solid var(--line);padding-top:12px}.standalone-form{max-width:980px;margin-top:12px;border:1px solid var(--line);background:#ffffffd6;padding:12px}.professional-edit-form label{display:grid;gap:6px;color:#334155;font-size:12px;font-weight:800}.professional-edit-form input,.professional-edit-form select,.professional-edit-form textarea{width:100%;min-height:36px;border:1px solid var(--line);background:var(--white);color:var(--ink);font:inherit;padding:8px 10px}.professional-edit-form textarea{min-height:92px;resize:vertical}.professional-edit-form .large-textarea{min-height:128px}.full-width-field{grid-column:1 / -1}.product-detail-layout{display:grid;grid-template-columns:minmax(180px,300px) minmax(0,1fr);gap:18px;align-items:start}.product-image-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(128px,1fr));gap:10px}.product-detail-copy{display:grid;gap:12px}.edit-form-actions{display:flex;align-items:end;gap:8px}.edit-form-actions button{min-height:36px;border:1px solid var(--line);background:var(--white);color:var(--ink);cursor:pointer;font:inherit;font-size:12px;font-weight:800;padding:0 10px}.edit-form-actions button:first-child{border-color:var(--accent-deep);background:var(--accent-deep);color:var(--white)}.button-link,.table-action{display:inline-flex;align-items:center;justify-content:center;min-height:34px;border:1px solid var(--line);background:var(--white);color:var(--ink);cursor:pointer;font:inherit;font-size:12px;font-weight:800;padding:0 10px;text-decoration:none}.button-link:first-child,.table-action:first-child{border-color:var(--accent-deep);background:var(--accent-deep);color:var(--white)}.status-select{min-height:34px;border:1px solid var(--line);background:var(--white);color:var(--ink);font:inherit;font-size:12px;font-weight:800;padding:0 10px}.quantity-input{width:74px;min-height:34px;border:1px solid var(--line);background:var(--white);color:var(--ink);font:inherit;font-size:12px;padding:6px 8px}.cart-row{display:flex;align-items:center;gap:10px}.cart-row button,.checkout-controls button{min-height:36px;border:1px solid var(--accent-deep);background:var(--accent-deep);color:var(--white);cursor:pointer;font:inherit;font-size:12px;font-weight:800;padding:0 12px}.checkout-layout,.address-layout,.account-layout{display:grid;gap:16px}.order-totals{display:grid;gap:8px;max-width:520px;margin-left:auto;border:1px solid var(--line);background:var(--white);padding:12px}.order-totals div{display:flex;justify-content:space-between;gap:18px;color:#334155;font-size:12px}.order-totals div:last-child{border-top:1px solid var(--line);color:var(--ink);font-weight:650;padding-top:8px}.checkout-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-width:980px}.checkout-controls label{display:grid;gap:6px;color:#334155;font-size:11px;font-weight:500}.checkout-address-field{display:grid;gap:8px}.checkout-address-field button{justify-self:start;background:var(--white);color:var(--ink);border-color:var(--line)}.checkout-controls textarea,.checkout-controls select{width:100%;min-height:38px;border:1px solid var(--line);background:var(--white);color:var(--ink);font:inherit;padding:8px 10px}.checkout-controls textarea{grid-column:1 / -1;min-height:84px;resize:vertical}.address-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-width:980px}.address-column{display:grid;align-content:start;gap:10px;border:1px solid var(--line);background:#ffffffd6;padding:12px}.address-column h3{margin:0;color:var(--ink);font-size:16px}.address-record{display:grid;gap:6px;border-top:1px solid var(--line);padding-top:10px}.address-record strong,.address-record span{color:#334155;font-size:12px;line-height:1.45}.related-product-controls{display:grid;grid-template-columns:minmax(260px,420px) auto;gap:10px;align-items:end}.related-product-controls label{display:grid;gap:6px;color:#334155;font-size:12px;font-weight:800}.related-product-controls select{min-height:38px;border:1px solid var(--line);background:var(--white);color:var(--ink);font:inherit;padding:8px 10px}.related-product-controls button{min-height:38px;border:1px solid var(--accent-deep);background:var(--accent-deep);color:var(--white);cursor:pointer;font:inherit;font-size:12px;font-weight:800;padding:0 12px}.checkbox-field{display:flex!important;align-items:center;gap:8px}.checkbox-field input{width:auto;min-height:auto}.compact-table .admin-table{min-width:620px}.orders-page{display:grid;gap:18px;max-width:1180px}.orders-view-tabs{justify-self:end;display:inline-flex;gap:4px;border:1px solid var(--line);background:#dfe4ea;padding:4px}.orders-view-tabs button{min-height:34px;border:0;background:transparent;color:var(--muted);cursor:pointer;font:inherit;font-size:13px;font-weight:800;padding:0 12px}.orders-view-tabs button.active{background:var(--white);color:var(--ink);box-shadow:0 1px 4px #13233a1f}.orders-view-tabs button:disabled{cursor:not-allowed;opacity:.65}.order-status-panel{display:flex;flex-wrap:wrap;gap:8px;border:1px solid var(--line);background:var(--white);box-shadow:0 8px 24px #13233a14;padding:16px}.order-status-panel button{display:inline-flex;min-height:44px;align-items:center;gap:8px;border:1px solid var(--line);background:var(--white);color:#334155;cursor:pointer;font:inherit;font-size:13px;font-weight:800;padding:0 14px}.order-status-panel button.active{border-color:#1f66ff;background:#1f66ff;color:var(--white)}.order-status-panel button:disabled{cursor:not-allowed;opacity:.55}.order-status-panel strong{font-size:14px}.orders-filter-grid{display:grid;grid-template-columns:auto minmax(260px,1fr) minmax(180px,220px) minmax(180px,220px) minmax(160px,200px);align-items:center;gap:12px}.filter-link,.orders-search,.orders-select,.orders-secondary-actions button,.orders-secondary-actions label{display:inline-flex;min-height:38px;align-items:center;gap:8px;border:1px solid var(--line);background:var(--white);color:var(--ink);font:inherit;font-size:13px;font-weight:800;padding:0 10px}.filter-link{border-color:transparent;background:transparent;color:var(--muted)}.filter-link:disabled,.orders-secondary-actions button:disabled,.orders-select.disabled{cursor:not-allowed;opacity:.6}.orders-search input,.orders-select select,.orders-secondary-actions select{width:100%;border:0;background:transparent;color:inherit;font:inherit;outline:0}.orders-secondary-actions{display:flex;flex-wrap:wrap;gap:12px}.orders-table-wrap{margin-top:0;box-shadow:0 8px 24px #13233a14}.orders-table{min-width:1120px}.orders-table th:first-child,.orders-table td:first-child{width:auto;color:inherit;text-align:left}.orders-table td{font-size:13px;vertical-align:middle}.order-number-link{color:var(--ink);text-decoration:none}.clinic-name-link{color:#2f5fe8}.muted-cell{color:var(--muted);font-size:12px}.order-status-pill{display:inline-flex;min-height:24px;align-items:center;border-radius:6px;font-size:12px;font-weight:900;padding:0 10px}.order-status-pill.paid,.order-status-pill.delivered{background:#c9f7df;color:#087a3b}.order-status-pill.pending{background:#fff3c4;color:#946200}.order-status-pill.processing,.order-status-pill.shipped{background:#dbeafe;color:#1d4ed8}.order-status-pill.canceled{background:#fee2e2;color:#b91c1c}.orders-pagination{display:flex;align-items:center;justify-content:space-between;gap:14px;color:var(--muted);font-size:13px;font-weight:800}.orders-pagination div{display:flex;align-items:center;gap:8px}.orders-pagination button{min-height:34px;border:1px solid var(--line);background:var(--white);color:var(--ink);cursor:pointer;font:inherit;font-weight:800;padding:0 12px}.orders-pagination button:disabled{cursor:not-allowed;opacity:.55}.abandoned-carts-page{position:relative;display:grid;gap:16px;max-width:1120px}.abandoned-table-wrap{margin-top:0;box-shadow:0 8px 24px #13233a14}.abandoned-table{min-width:980px}.abandoned-table th,.abandoned-table td{height:58px;padding:12px 16px;vertical-align:middle}.abandoned-table th:first-child,.abandoned-table td:first-child{width:auto;color:inherit;text-align:left}.abandoned-table tbody tr{cursor:pointer}.abandoned-table tbody tr.selected-row td{background:#f5f9ff}.last-activity-cell{display:inline-flex;align-items:center;gap:6px;color:var(--muted);white-space:nowrap}.abandoned-detail-card{position:absolute;top:74px;left:20px;z-index:5;display:grid;width:min(470px,calc(100vw - 72px));gap:14px;border:1px solid var(--line);background:var(--white);box-shadow:0 18px 48px #13233a2e;padding:18px}.abandoned-detail-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.abandoned-detail-header strong{color:var(--ink);font-size:16px}.abandoned-contact-list{display:grid;gap:8px;color:var(--muted);font-size:13px}.abandoned-contact-list span,.abandoned-item-row{display:flex;align-items:center;gap:8px}.abandoned-card-section{display:grid;gap:8px;border-top:1px solid var(--line);padding-top:12px}.abandoned-card-section strong{color:var(--ink);font-size:13px}.abandoned-item-row{justify-content:space-between;color:#334155;font-size:12px}.clinic-header-actions{display:flex;align-items:center;gap:12px}.clinic-tabs{display:inline-flex;gap:4px;border:1px solid var(--line);background:var(--white);padding:4px}.clinic-tabs button{min-height:38px;border:0;background:transparent;color:var(--ink);cursor:pointer;font:inherit;font-size:13px;font-weight:800;padding:0 14px}.clinic-tabs button.active{background:#dfe4ea}.primary-header-action{display:inline-flex;min-height:42px;align-items:center;gap:8px;border:1px solid #1f66ff;background:#1f66ff;color:var(--white);cursor:pointer;font:inherit;font-size:13px;font-weight:800;padding:0 16px}.primary-header-action:disabled{cursor:not-allowed;opacity:.65}.product-admin-tabs{display:inline-flex;gap:4px;margin-bottom:16px;border:1px solid var(--line);background:#dfe4ea;padding:4px}.product-admin-tabs button{min-height:32px;border:0;background:transparent;color:var(--muted);cursor:pointer;font:inherit;font-size:12px;font-weight:800;padding:0 12px}.product-admin-tabs button.active{background:var(--white);color:var(--ink);box-shadow:0 1px 4px #13233a1f}.product-controls{display:grid;grid-template-columns:minmax(260px,1fr) minmax(150px,200px) minmax(140px,180px) minmax(150px,200px) auto auto;gap:10px;align-items:end}.product-controls label{display:grid;gap:4px;color:var(--muted);font-size:12px;font-weight:400}.product-controls label span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.product-controls input,.product-controls select,.utility-button{min-height:34px;border:1px solid var(--line);background:var(--white);color:var(--ink);font:inherit;font-size:12px;padding:7px 10px}.utility-button,.lock-note{display:inline-flex;align-items:center;gap:8px;font-weight:800}.utility-button{cursor:not-allowed}.lock-note{min-height:34px;color:var(--muted)}.products-table-wrap{margin-top:14px}.products-admin-table{min-width:1120px}.products-admin-table th:first-child,.products-admin-table td:first-child{width:40px;text-align:center}.products-admin-table td{vertical-align:middle}.product-name-cell{display:flex;min-width:270px;align-items:center;gap:10px}.product-name-meta{display:grid;gap:3px}.product-name-cell .table-link{color:var(--ink);text-decoration:none}.product-name-meta span{display:block;color:var(--muted);font-size:11px;font-weight:400}.product-chip,.product-status-pill,.stock-pill{display:inline-flex;min-height:22px;align-items:center;border-radius:6px;font-size:12px;font-weight:800;padding:0 8px;white-space:nowrap}.product-chip{border:1px solid var(--line);background:var(--white);color:var(--ink)}.product-status-pill.active{background:#1f66ff;color:var(--white)}.product-status-pill.inactive,.product-status-pill.discontinued{background:#e5e7eb;color:#374151}.stock-pill.in_stock{border:1px solid #b9f2d2;background:#effdf5;color:#087a3b}.stock-pill.limited{border:1px solid #fde68a;background:#fffbeb;color:#92400e}.stock-pill.out_of_stock{border:1px solid #fecaca;background:#fef2f2;color:#b91c1c}.icon-action{display:inline-flex;width:32px;height:32px;align-items:center;justify-content:center;border:0;background:transparent;color:var(--ink);cursor:pointer;padding:0}.icon-action:disabled{cursor:not-allowed;opacity:.5}.product-modal{display:grid;width:min(760px,94vw);max-height:90vh;overflow:auto;border:1px solid var(--line);background:var(--white);box-shadow:0 24px 80px #13233a47;padding:14px}.product-modal-header{display:flex;align-items:start;justify-content:space-between;gap:14px;margin-bottom:12px}.product-modal-header h3{margin:0;color:var(--ink);font-size:18px;line-height:1.2}.product-modal-header p{margin:4px 0 0;color:var(--muted);font-size:12px;font-weight:400}.product-modal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px}.product-modal-grid label{display:grid;gap:5px;color:var(--ink);font-size:12px;font-weight:800}.product-modal-grid label span{color:var(--muted);font-size:12px;font-weight:400;line-height:1.35}.product-modal-grid input,.product-modal-grid select,.product-modal-grid textarea{width:100%;min-height:34px;border:1px solid var(--line);background:var(--white);color:var(--ink);font:inherit;font-size:12px;padding:7px 10px}.product-modal-grid textarea{min-height:82px;resize:vertical}.product-modal-grid .large-textarea{min-height:96px}.product-modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:14px}.product-modal-actions button{min-height:36px;border:1px solid var(--line);background:var(--white);color:var(--ink);cursor:pointer;font:inherit;font-size:12px;font-weight:800;padding:0 14px}.product-modal-actions button:last-child{border-color:#1f66ff;background:#1f66ff;color:var(--white)}.simple-admin-panel{display:grid;gap:10px;max-width:900px;border:1px solid var(--line);background:var(--white);padding:14px}.simple-admin-panel h3{margin:0;color:var(--ink);font-size:18px}.simple-admin-panel p{margin:0;color:var(--muted);font-size:12px;font-weight:400}.pricing-page{display:grid;gap:16px;max-width:1180px}.pricing-tabs-row{display:flex;align-items:center;justify-content:space-between;gap:14px}.pricing-tabs-row .product-admin-tabs{margin-bottom:0}.pricing-tabs-row .product-admin-tabs button{gap:8px}.pricing-section-header{display:flex;align-items:end;justify-content:space-between;gap:18px}.pricing-section-header h3{margin:0;color:var(--ink);font-size:18px;line-height:1.2}.pricing-section-header p{margin:4px 0 0;color:var(--muted);font-size:12px;font-weight:400}.pricing-template-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.pricing-template-card{display:flex;min-height:72px;align-items:start;justify-content:space-between;gap:14px;border:1px solid var(--line);background:var(--white);box-shadow:0 2px 8px #13233a14;padding:14px}.pricing-template-card strong{color:var(--ink);font-size:13px}.pricing-template-card strong span{color:var(--muted);font-size:12px;font-weight:400}.pricing-template-card p{margin:8px 0 0;color:var(--muted);font-size:12px;font-weight:400}.pricing-card-actions{display:flex;gap:4px}.pricing-card-actions button{display:inline-flex;min-height:30px;align-items:center;gap:6px;border:1px solid var(--line);background:var(--white);color:var(--ink);cursor:pointer;font:inherit;font-size:12px;font-weight:800;padding:0 10px}.pricing-controls{grid-template-columns:minmax(280px,1fr) minmax(180px,220px) auto;padding-top:10px;border-top:1px solid var(--line)}.pricing-table-wrap{margin-top:0}.pricing-table{min-width:980px}.pricing-table th:first-child,.pricing-table td:first-child{width:auto;color:inherit;text-align:left}.pricing-template-modal{display:grid;width:min(560px,94vw);max-height:90vh;overflow:auto;border:1px solid var(--line);background:var(--white);box-shadow:0 24px 80px #13233a47;padding:14px}.pricing-requests-page{display:grid;gap:14px;max-width:1180px}.pricing-request-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px}.pricing-request-filters{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.pricing-request-filters select{min-width:150px;min-height:34px;border:1px solid var(--line);background:var(--white);color:var(--ink);font:inherit;font-size:12px;padding:7px 10px}.pricing-request-filters span{color:var(--muted);font-size:12px;font-weight:400}.pricing-requests-table-wrap{margin-top:0;min-height:64px}.pricing-requests-table{min-width:1080px}.pricing-requests-table th:first-child,.pricing-requests-table td:first-child{width:auto;color:inherit;text-align:left}.pricing-request-empty{display:grid;min-height:64px;place-items:center;color:var(--muted);font-size:12px;font-weight:400}.pricing-request-status{display:inline-flex;min-height:22px;align-items:center;border-radius:6px;font-size:12px;font-weight:800;padding:0 8px}.pricing-request-status.pending{background:#fff3c4;color:#946200}.pricing-request-status.approved{background:#c9f7df;color:#087a3b}.pricing-request-status.rejected{background:#fee2e2;color:#b91c1c}.pricing-request-status.closed{background:#e5e7eb;color:#374151}.resources-page{display:grid;gap:18px;max-width:1180px}.resources-page .product-admin-tabs{width:fit-content;margin-bottom:0}.resources-page .product-admin-tabs button{gap:8px}.resource-category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.resource-category-card{display:flex;min-height:76px;align-items:center;gap:14px;border:1px solid var(--line);background:var(--white);box-shadow:0 2px 8px #13233a14;padding:14px}.resource-category-card>span{display:inline-flex;width:40px;height:40px;align-items:center;justify-content:center;border-radius:8px;background:#f3e8ff;color:#9333ea}.resource-category-card.tone-1>span{background:#dcfce7;color:#16a34a}.resource-category-card.tone-2>span{background:#fce7f3;color:#db2777}.resource-category-card strong{color:var(--ink);font-size:13px}.resource-category-card p{margin:4px 0 0;color:var(--muted);font-size:12px;font-weight:400}.resources-table-wrap{margin-top:0}.resources-table{min-width:940px}.resources-table th:first-child,.resources-table td:first-child{width:auto;color:inherit;text-align:left}.resources-table td:first-child{display:grid;gap:4px}.clinic-admin-page{display:grid;gap:16px;max-width:1180px}.clinic-filter-grid{display:grid;grid-template-columns:minmax(260px,1fr) minmax(180px,240px) minmax(180px,240px) minmax(190px,240px);align-items:center;gap:12px}.clinic-filter-grid.providers{grid-template-columns:minmax(300px,1fr) minmax(180px,280px) minmax(160px,220px) minmax(160px,220px)}.clinic-table-wrap{margin-top:0;box-shadow:0 8px 24px #13233a14}.clinic-table{min-width:1120px}.clinic-table th:first-child,.clinic-table td:first-child{width:auto;color:inherit;text-align:left}.clinic-table td{font-size:13px;vertical-align:middle}.clinic-table td>strong,.clinic-table td>span,.clinic-table td>button+span{display:block}.clinic-table td>span,.clinic-table td>button+span{margin-top:4px;color:var(--muted)}.provider-warning{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;border:1px solid #f59e0b;background:#fff9e8;color:#92400e;padding:14px 16px}.provider-warning div{display:grid;gap:4px}.provider-warning strong,.provider-warning span{font-size:13px}.provider-warning button{min-height:36px;border:1px solid #f59e0b;background:var(--white);color:#92400e;cursor:pointer;font:inherit;font-size:12px;font-weight:800;padding:0 12px}.provider-warning button.active{background:#f59e0b;color:var(--white)}.ordering-clinics-page{position:relative;display:grid;gap:16px;max-width:1180px}.ordering-view-toggle{position:absolute;top:-72px;right:0;display:inline-flex;gap:0;overflow:hidden;border:1px solid var(--line);background:var(--white)}.ordering-view-toggle button{min-height:38px;border:0;background:var(--white);color:#334155;cursor:pointer;font:inherit;font-size:12px;font-weight:550;padding:0 14px}.ordering-view-toggle button.active{background:#5835f5;color:var(--white)}.ordering-metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.ordering-metric-grid div{display:grid;gap:7px;border:1px solid var(--line);background:var(--white);box-shadow:0 8px 24px #13233a14;padding:14px}.ordering-metric-grid span{color:var(--muted);font-size:11px;font-weight:550;letter-spacing:0;text-transform:uppercase}.ordering-metric-grid strong{color:var(--ink);font-size:18px;font-weight:650;line-height:1}.ordering-metric-grid .risk-value,.ordering-table .risk-value{color:#f2054f}.ordering-metric-grid .success-value{color:#0e9f6e}.ordering-metric-grid .muted-value{color:var(--muted);font-size:14px;font-weight:500;text-transform:none}.ordering-stage-tabs{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.ordering-stage-tabs button{display:inline-flex;min-height:40px;align-items:center;gap:8px;border:1px solid var(--line);background:var(--white);color:#334155;cursor:pointer;font:inherit;font-size:12px;font-weight:550;padding:0 14px}.ordering-stage-tabs button.active{border-color:#5835f5;background:#5835f5;color:var(--white)}.ordering-stage-tabs button span{display:inline-flex;min-width:24px;min-height:22px;align-items:center;justify-content:center;border-radius:999px;background:#94a3b82e;color:inherit;font-size:12px}.ordering-help{display:inline-flex;align-items:center;gap:8px;color:#334155;font-size:13px;font-weight:800}.ordering-filter-row{display:grid;grid-template-columns:minmax(280px,1fr) minmax(180px,220px);gap:10px}.ordering-table-wrap{margin-top:0;border-left:2px solid #f2054f;box-shadow:0 8px 24px #13233a14}.ordering-table{min-width:1060px}.ordering-table th:first-child,.ordering-table td:first-child{width:auto;color:inherit;text-align:left}.ordering-table td{font-size:13px;vertical-align:middle}.ordering-table td>span{display:block;margin-top:4px;color:var(--muted);font-size:12px}.ordering-table td b{display:inline-flex;margin-left:8px;border-radius:999px;background:#ffe4e9;color:#f2054f;font-size:11px;padding:2px 8px}.sales-reps-page{position:relative;display:grid;gap:16px;max-width:1240px}.sales-rep-header-actions{position:absolute;top:-76px;right:0;display:flex;align-items:center;gap:10px}.sales-rep-header-actions .button-link{display:inline-flex;min-height:38px;align-items:center;gap:8px;border:1px solid var(--line);background:var(--white);color:var(--ink);text-decoration:none}.sales-rep-header-actions .button-link.disabled{pointer-events:none;opacity:.55}.sales-rep-tabs{display:inline-flex;justify-self:start;gap:4px;border:1px solid var(--line);background:#dfe4ea;padding:4px}.sales-rep-tabs button{display:inline-flex;min-height:38px;align-items:center;gap:8px;border:0;background:transparent;color:#334155;cursor:pointer;font:inherit;font-size:13px;font-weight:900;padding:0 14px}.sales-rep-tabs button.active{background:var(--white);box-shadow:0 1px 4px #13233a1f}.sales-rep-filters{display:grid;grid-template-columns:auto minmax(260px,1fr) minmax(150px,180px) minmax(150px,180px) minmax(150px,180px) minmax(130px,160px) auto;align-items:center;gap:12px}.sales-rep-filters.commission{grid-template-columns:minmax(260px,1fr) minmax(130px,160px) auto}.sales-rep-filters>button{display:inline-flex;min-height:38px;align-items:center;gap:8px;border:1px solid var(--line);background:var(--white);color:var(--ink);cursor:pointer;font:inherit;font-size:13px;font-weight:900;padding:0 12px}.sales-rep-filters>button:disabled{cursor:not-allowed;opacity:.6}.sales-rep-access-summary{margin:0;color:var(--muted);font-size:12px;font-weight:800}.sales-rep-table-wrap{margin-top:0;box-shadow:0 8px 24px #13233a14}.sales-rep-table{min-width:1180px}.sales-rep-table th:first-child,.sales-rep-table td:first-child{width:auto;color:inherit;text-align:left}.sales-rep-table td{font-size:13px;vertical-align:middle}.sales-rep-table select{min-height:34px;min-width:120px;border:1px solid var(--line);background:var(--field);color:var(--muted);font:inherit;padding:0 10px}.rep-name-cell{display:inline-flex;align-items:center;gap:10px}.rep-name-cell>span:last-child{display:grid;gap:5px}.rep-avatar{display:inline-flex;width:28px;height:28px;align-items:center;justify-content:center;border:1px solid #d6e0ea;border-radius:999px;background:#eef2ff;color:#334155;font-size:11px;font-weight:600}.rep-pill{display:inline-flex;min-height:20px;align-items:center;border-radius:5px;font-size:11px;font-weight:900;padding:0 8px}.rep-pill+.rep-pill{margin-left:4px}.rep-pill.access,.rep-pill.level{background:#dcfce7;color:#15803d}.rep-pill.muted{background:#eef2f7;color:#64748b}.rep-pill.warning{background:#fef3c7;color:#d97706}.commission-pending{color:#f97316}.invoice-table tfoot td{border-bottom:0;background:var(--white);color:var(--ink);font-weight:800;text-align:right}.invoice-table tfoot tr:first-child td{border-top:2px solid var(--line)}.invoice-table tfoot tr:last-child td{background:var(--field);font-size:13px;font-weight:900}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60;display:flex;align-items:center;justify-content:center;background:#13233a6b;padding:28px}.modal-panel{width:min(760px,94vw);max-height:88vh;overflow:auto;border:1px solid var(--line);background:var(--white);box-shadow:0 24px 80px #13233a47;padding:16px}.modal-panel h3{grid-column:1 / -1;margin:0;color:var(--ink);font-size:20px}.professional-row div:first-child{display:grid;gap:4px}.professional-row strong{color:var(--ink);font-size:12px}.professional-row span{color:var(--muted);font-size:12px}.row-actions{display:flex;align-items:center;gap:8px}.row-actions button{min-height:34px;border:1px solid var(--line);background:var(--white);color:var(--ink);cursor:pointer;font:inherit;font-size:12px;font-weight:800;padding:0 10px}.row-actions button:disabled{cursor:not-allowed;opacity:.55}.catalog-list{display:grid;gap:1px;max-width:980px;margin-top:16px;border:1px solid var(--line);background:var(--line)}.catalog-row{display:grid;grid-template-columns:180px 180px minmax(220px,1fr);gap:10px;align-items:start;background:#ffffffd6;padding:12px}.catalog-row strong,.catalog-row span,.catalog-row p{margin:0;font-size:12px;line-height:1.4}.catalog-row strong{color:var(--ink)}.catalog-row span,.catalog-row p{color:var(--muted)}.inline-message{margin:12px 0 0}.dashboard-shell h3,.dashboard-shell h4,.dashboard-shell strong,.dashboard-shell b,.dashboard-shell th,.dashboard-shell label,.dashboard-shell button,.dashboard-shell select{font-weight:550}.dashboard-shell .dashboard-page-header h2{font-size:28px;font-weight:650}.dashboard-shell .activity-card-label,.dashboard-shell .crm-kpi-card span,.dashboard-shell .analytics-kpi-card span,.dashboard-shell .analytics-trend-summary span,.dashboard-shell .ordering-metric-grid span,.dashboard-shell .dashboard-stat-label,.dashboard-shell .stat-label{color:var(--muted);font-size:11px;font-weight:500;letter-spacing:0}.dashboard-shell .activity-card strong,.dashboard-shell .crm-kpi-card strong,.dashboard-shell .analytics-kpi-card strong,.dashboard-shell .ordering-metric-grid strong,.dashboard-shell .dashboard-stat-value,.dashboard-shell .stat-value{font-size:18px;font-weight:650;line-height:1.1}.dashboard-shell .activity-card strong.muted-value,.dashboard-shell .ordering-metric-grid .muted-value{font-size:14px;font-weight:500}.dashboard-shell .dashboard-menu button,.dashboard-shell .dashboard-menu a,.dashboard-shell .dashboard-menu button.active,.dashboard-shell .dashboard-menu .menu-label span{font-size:11px;font-weight:400}.dashboard-shell .admin-table{font-size:12px}.dashboard-shell .admin-table th,.dashboard-shell .admin-table th button{color:var(--muted);font-size:11px;font-weight:550}.dashboard-shell .order-status-pill,.dashboard-shell .rep-pill,.dashboard-shell .crm-stage-pill,.dashboard-shell .crm-status-pill,.dashboard-shell .resource-category-pill,.dashboard-shell .product-status-pill{font-size:11px;font-weight:550}.dashboard-shell .primary-header-action,.dashboard-shell .date-range-control select,.dashboard-shell .orders-select select,.dashboard-shell .orders-filter-grid button,.dashboard-shell .crm-range-toggle button,.dashboard-shell .crm-leaderboard-tabs button,.dashboard-shell .product-admin-tabs button,.dashboard-shell .clinic-tabs button,.dashboard-shell .sales-rep-tabs button,.dashboard-shell .ordering-stage-tabs button{font-size:12px;font-weight:550}.dashboard-shell .analytics-card h3,.dashboard-shell .analytics-chart-panel h3,.dashboard-shell .crm-card h3,.dashboard-shell .activity-title h3{font-size:16px;font-weight:650}footer{width:min(430px,100%);margin:26px auto 0;border-top:1px solid var(--line);padding-top:16px;color:var(--muted);font-size:12px;text-align:center;line-height:1.5}footer nav{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 14px;margin-top:8px}footer a{color:var(--accent-deep);text-decoration-color:#15547f40;text-underline-offset:3px}.disclosure{display:grid;gap:10px;border:1px solid var(--line);background:#ffffff94;padding:16px;color:var(--muted);font-size:12px;line-height:1.5}.disclosure p{margin:0}.legal-shell{min-height:100vh;background:linear-gradient(115deg,rgba(47,128,183,.1),transparent 36%),#f5f8fc;padding:28px}.legal-page{width:min(860px,100%);margin:0 auto;border:1px solid var(--line);background:#ffffffe0;padding:30px;color:var(--ink)}.back-link{display:inline-flex;margin-bottom:24px;color:var(--accent-deep);font-size:12px;font-weight:800;text-decoration-color:#15547f40;text-underline-offset:3px}.legal-page h1{font-size:20px}.legal-updated{margin:8px 0 24px;color:var(--muted);font-size:12px;line-height:1.5}.legal-page section{border-top:1px solid var(--line);padding-top:20px;margin-top:20px}.legal-page h2{margin:0;color:var(--ink);font-size:20px;line-height:1.2}.legal-page p{margin:10px 0 0;color:#334155;font-size:12px;line-height:1.6}@media (max-width: 860px){.page-shell,.legal-shell{padding:18px}.legal-page{padding:22px}.access-card{width:min(100%,520px)}}@media (max-width: 520px){h1{font-size:20px}.lead{font-size:12px}.logo-lockup{align-items:flex-start}.brand-logo{width:min(120px,42vw)}.dashboard-logo .brand-logo{width:48px}.dashboard-topbar{display:grid;align-items:start}.topbar-actions{justify-content:start}.dashboard-brand{align-items:center}.approval-form,.professional-edit-form,.catalog-row,.detail-grid{grid-template-columns:1fr}.dashboard-page-header,.activity-panel-header{display:grid}.activity-card-grid,.stats-grid,.crm-kpi-grid,.crm-main-grid{grid-template-columns:1fr}.crm-card-header{display:grid}.crm-leaderboard-tabs{overflow-x:auto}.crm-bar-row{grid-template-columns:96px minmax(0,1fr) 28px}.dashboard-topbar p{text-align:left}.dashboard-body{grid-template-columns:1fr}.dashboard-menu{border-right:0;border-bottom:1px solid var(--line)}.professional-row,.orders-filter-grid{grid-template-columns:1fr}.orders-view-tabs{justify-self:stretch;overflow-x:auto}.orders-pagination{display:grid}.abandoned-detail-card{position:static;width:100%}.clinic-header-actions,.provider-warning{grid-template-columns:1fr}.clinic-header-actions{display:grid}.clinic-filter-grid,.clinic-filter-grid.providers{grid-template-columns:1fr}.ordering-view-toggle{position:static;justify-self:start}.ordering-metric-grid,.ordering-filter-row{grid-template-columns:1fr}.sales-rep-header-actions{position:static;justify-self:start}.sales-rep-filters,.sales-rep-filters.commission,.crm-pipeline-filters{grid-template-columns:1fr}.crm-leads-header-actions{display:grid}.crm-leads-filters{grid-template-columns:1fr}.crm-pipeline-board{grid-auto-columns:minmax(230px,82vw)}}
