@font-face{font-family:Manrope;src:url('assets/fonts/Manrope-Variable.ttf') format('truetype');font-weight:200 800;font-style:normal;font-display:swap}
:root{--canvas:#f4f6f9;--surface:#fff;--nav:#fbfcfe;--ink:#172b4d;--muted:#5d6b7d;--line:#e2e8f0;--accent:#2457e6;--accent-hover:#1944c1;--accent-soft:#edf2ff;--accent-rgb:36,87,230;--blue:#2457e6;--good:#217453;--good-soft:#eaf6ef;--warn:#946218;--warn-soft:#fff6e5;--bad:#b44445;--bad-soft:#fceded;--nav-muted:#69778a;--surface-soft:#f8fafd;--radius:13px;--control-radius:8px;--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-6:24px;--space-8:32px;--font:Manrope,'Segoe UI',Arial,sans-serif;--shadow:0 12px 40px #172b4d18,0 2px 8px #172b4d08;--topbar-height:64px;--motion:150ms ease}
*{box-sizing:border-box}html{scroll-padding-top:88px}body{margin:0;background:var(--canvas);color:var(--ink);font:14px/1.55 var(--font);font-variant-numeric:tabular-nums;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button,a,input,select,textarea,summary{outline-offset:3px}button{cursor:pointer}button:disabled{cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #2457e645}a{color:var(--accent);text-decoration:none}a:hover{text-decoration:underline}h1,h2,h3,p{margin:0}h1{font-size:28px;font-weight:700;line-height:1.3;letter-spacing:-.85px;overflow-wrap:anywhere}h2{font-size:16px;font-weight:700;line-height:1.45;letter-spacing:-.3px}h3{font-size:14px;font-weight:700}small,.small{font-size:12px}.muted{color:var(--muted)}.strong{font-weight:700}.mono,.num{font-variant-numeric:tabular-nums}.right{text-align:right}.center{text-align:center}.nowrap{white-space:nowrap}.positive{color:var(--good)}.negative{color:var(--bad)}.zero{color:var(--muted)}.icon{width:18px;height:18px;flex-shrink:0;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.skip{position:fixed;top:-70px;left:16px;padding:12px 16px;background:white;border-radius:8px;z-index:150}.skip:focus{top:12px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:38px;padding:8px 14px;border:1px solid #d7dfeb;border-radius:var(--control-radius);background:var(--surface);color:var(--ink);font-size:12px;font-weight:700;line-height:1.5;white-space:nowrap;text-decoration:none;transition:background var(--motion),border-color var(--motion),color var(--motion)}.btn:hover{background:var(--surface-soft);border-color:#bdcadc;text-decoration:none}.btn:active:not(:disabled){background:#e9eef6}.btn.primary{background:var(--accent);border-color:var(--accent);color:#fff}.btn.primary:hover{background:var(--accent-hover);border-color:var(--accent-hover)}.btn.danger{color:var(--bad);border-color:#eed2d2}.btn.danger:hover{background:var(--bad-soft)}.btn.ghost{background:transparent;border-color:transparent;color:var(--muted)}.btn.ghost:hover{background:#edf1f7;color:var(--ink)}.btn.small{min-height:30px;padding:5px 9px;font-size:11px}.btn.square{padding:8px;min-width:38px}.btn[aria-busy=true]{opacity:.65;cursor:progress;pointer-events:none}.btn:disabled{background:#f0f3f8;color:#8290a3;border-color:#e4e9f0}.btn.ghost:disabled{background:transparent}.text-btn{padding:0;border:0;background:transparent;color:var(--accent);text-align:inherit;font-weight:700}.text-btn:hover{text-decoration:underline}.actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.subtle-link{font-size:12px;font-weight:700;line-height:1.5}.segmented{display:inline-flex;gap:3px;padding:3px;background:#f0f3f8;border:1px solid var(--line);border-radius:9px}.segmented .btn{border:0;background:transparent;color:var(--muted);min-height:28px;padding:4px 12px}.segmented .btn.primary{background:#fff;color:var(--accent);box-shadow:0 1px 3px #172b4d12}
.badge{display:inline-flex;align-items:center;gap:6px;max-width:100%;padding:4px 8px;border-radius:5px;background:#eff2f6;color:#58687d;font-size:11px;font-weight:650;line-height:1.4;white-space:nowrap}.badge:before{content:'';width:5px;height:5px;border-radius:50%;background:currentColor;flex-shrink:0}.badge.warning{background:var(--warn-soft);color:var(--warn)}.badge.good{background:var(--good-soft);color:var(--good)}.badge.blue{background:var(--accent-soft);color:#335fca}.badge.bad{background:var(--bad-soft);color:var(--bad)}.badge.demo{background:#eef2f7;color:var(--muted);border:1px solid #e0e6ef}.pill{min-width:21px;min-height:21px;border-radius:5px;padding:2px 6px;font-size:11px;font-weight:750;text-align:center;background:var(--accent-soft);color:var(--accent)}
input,select,textarea{width:100%;min-width:0;min-height:40px;border:1px solid #d7dfeb;border-radius:var(--control-radius);padding:9px 12px;color:var(--ink);background:#fff;transition:border-color var(--motion),box-shadow var(--motion);font-size:13px;line-height:1.45}select{padding-right:28px;text-overflow:ellipsis}input::placeholder,textarea::placeholder{color:#8591a2}input:hover,select:hover,textarea:hover{border-color:#b7c5d8}input:focus,select:focus,textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px #2457e60c;outline:none}input:disabled,select:disabled,textarea:disabled,input[readonly]{background:#f5f7fa;border-color:var(--line);color:var(--muted);cursor:default}textarea{min-height:96px;resize:vertical}input[type=checkbox],input[type=radio]{width:17px;height:17px;min-height:17px;accent-color:var(--accent);flex-shrink:0;margin:2px 0 0}input[aria-invalid=true],select[aria-invalid=true],textarea[aria-invalid=true]{border-color:var(--bad);box-shadow:0 0 0 3px #b444450b}code{font:12px/1.7 Consolas,monospace;overflow-wrap:anywhere}.brand{display:flex;align-items:center;gap:10px;color:var(--ink);padding:23px 20px;min-width:0}.brand:hover{text-decoration:none}.brand-mark{display:grid;place-items:center;width:32px;height:34px;border-radius:8px;background:var(--accent);color:#fff;flex-shrink:0}.brand-mark svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:2.2}.brand-name{display:block;font-size:16px;font-weight:750;letter-spacing:-.5px;max-width:170px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.brand small{display:block;font-size:11px;color:var(--muted);margin-top:1px;white-space:nowrap}.workspace{min-width:0}.topbar{height:var(--topbar-height);display:flex;align-items:center;justify-content:space-between;gap:20px;background:#fff;border-bottom:1px solid var(--line);padding:0 32px;position:sticky;top:0;z-index:25}.top-context{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:9px}.top-context .icon{width:15px;height:15px}.topbar-right{display:flex;gap:16px;align-items:center}.global-search{display:flex;gap:9px;align-items:center;border:1px solid transparent;border-radius:8px;padding:0 10px;background:#f5f7fb;color:#7d8a9b;min-height:36px;max-width:340px}.global-search:focus-within{border-color:#b9caf8;background:#fff}.global-search input{background:transparent;border:0;box-shadow:none!important;min-height:34px;padding:5px 0;width:220px;font-size:11px}.global-search .btn{min-height:25px;padding:2px 5px;font-size:11px}.search-key{font-size:11px;border:1px solid #dce3ee;border-radius:4px;padding:0 4px}.notif-button{position:relative}.notif-count{position:absolute;right:0;top:0;min-width:16px;height:16px;border:2px solid white;background:var(--accent);color:white;border-radius:8px;font-size:8px;font-weight:700;display:grid;place-items:center}.user-button{display:flex;align-items:center;gap:10px;border:0;background:transparent;padding:3px 0 3px 16px;border-left:1px solid var(--line);text-align:left;color:var(--ink)}.user-button strong{display:block;font-size:12px;font-weight:650;white-space:nowrap}.user-button small{display:block;color:var(--muted);font-size:11px;margin-top:2px}.user-button>.icon{width:14px;height:14px;margin-left:3px;color:var(--muted)}.avatar{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:#e9eefb;color:#425d99;font-size:11px;font-weight:750;flex-shrink:0}.avatar.large{width:56px;height:56px;border-radius:12px;font-size:18px}.main{max-width:1664px;padding:28px 32px 36px;margin:auto;min-width:0}.breadcrumb{display:flex;gap:7px;align-items:center;margin-bottom:16px;font-size:11px;color:var(--muted)}.breadcrumb:empty{display:none}.breadcrumb .icon{width:12px;height:12px}.breadcrumb a{color:var(--muted)}.page-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:24px}.page-heading p{font-size:12px;color:var(--muted);line-height:1.7;margin-top:6px;max-width:760px}.page-heading>.actions{padding-top:2px;flex-shrink:0}.page-meta{font-size:11px;color:var(--muted);display:flex;flex-wrap:wrap;gap:12px;margin-top:8px}.network-footer{display:flex;flex-direction:column;gap:8px;font-size:11px;color:#7a879a;margin-top:32px;padding-top:16px;border-top:1px solid var(--line)}.network-footer a{color:var(--muted)}.footer-meta{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px 24px;width:100%}.creator-credit{font-size:12px;line-height:1.7;color:var(--muted);overflow-wrap:anywhere}.creator-name{font-weight:600}.creator-caption{display:block;font-size:11px;line-height:1.6;color:var(--muted)}.creator-credit .creator-name{display:block;margin-top:4px;font-size:12px;line-height:1.6;font-weight:500;color:var(--ink)}.login-credit{margin-top:16px}.creator-profile h3{font-size:16px;font-weight:700}.creator-profile p{margin-top:8px;color:var(--muted);line-height:1.8;max-width:760px}
/* Shared data surfaces */
.panel{min-width:0;background:white;border:1px solid var(--line);border-radius:var(--radius);margin-bottom:24px;overflow:hidden}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 24px 18px}.panel-head>div:first-child{min-width:0}.panel-head p{font-size:12px;color:var(--muted);margin-top:5px;line-height:1.6}.panel-body{padding:0 24px 24px}.panel-pad{padding:24px}.panel-body>.info:last-child{margin-bottom:0}.section-row,.overview-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:24px;align-items:start;margin-bottom:24px}.two-col{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start;margin-bottom:24px}.three-col{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:start;margin-bottom:24px}.section-title{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:8px 0 16px}.section-title p{font-size:12px;color:var(--muted);margin-top:4px}.section-row>.panel,.two-col>.panel,.three-col>.panel,.overview-grid>.panel{margin-bottom:0}.overview-grid .trend-chart{height:235px}.overview-grid .bars{gap:18px}.insight-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.insight-grid .insight{border-bottom:0;padding:0}.insight-grid .insight+ .insight{border-left:1px solid var(--line);padding-left:24px}.overview-side .panel{margin-bottom:24px}.overview-side .panel:last-child{margin-bottom:0}
.filter-panel{margin-bottom:24px;background:white;border:1px solid var(--line);border-radius:10px;overflow:hidden}.filters{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end;padding:16px}.filter-field{display:flex;flex-direction:column;gap:6px;flex:1 1 145px;min-width:130px}.filter-field label{font-size:12px;font-weight:650;color:var(--muted)}.filter-field input,.filter-field select{height:38px;min-height:38px;font-size:12px;padding:8px 10px}.filter-field.compact{flex:0 1 148px;min-width:122px}.filter-field.search-field{flex:1.7 1 200px}.filter-note{display:flex;flex-wrap:wrap;gap:8px 20px;justify-content:space-between;padding:10px 16px;border-top:1px solid #edf1f6;background:#fcfdfe;font-size:12px;color:var(--muted);line-height:1.6}.filter-note strong{color:var(--ink);font-weight:600}.filter-note .basis{display:inline-flex;align-items:center;gap:6px}.filter-note .basis .icon{width:13px;height:13px}.filter-more{flex-basis:100%;border-top:1px solid var(--line);padding-top:10px}.filter-more>summary{cursor:pointer;font-size:11px;font-weight:650;color:var(--muted);list-style:none;display:inline-flex;gap:6px;align-items:center}.filter-more>summary::-webkit-details-marker{display:none}.filter-more>summary:before{content:'+';font-size:15px}.filter-more[open]>summary:before{content:'−'}.filter-more-content{display:flex;flex-wrap:wrap;gap:12px;padding-top:12px}.filter-more-content>.filter-field{flex:0 1 220px}.active-filters{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:0 16px 14px}.filter-chip{display:inline-flex;align-items:center;gap:8px;min-height:28px;border:1px solid #dbe4f9;background:#f4f7ff;border-radius:6px;padding:4px 8px;font-size:11px;color:#466195;max-width:100%}.filter-chip strong{font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:220px}.filter-chip button{display:grid;place-items:center;width:18px;height:18px;padding:0;border:0;border-radius:4px;background:transparent;color:#5c739b}.filter-chip button:hover{background:#dce7ff;color:var(--accent)}.filter-chip .icon{width:12px;height:12px}.filter-chip.locked{background:#f7f9fc;border-color:var(--line);color:var(--muted)}.filters.panel{border-radius:10px}.metric-control select{width:auto;max-width:195px;min-height:34px;font-size:11px;padding:7px 24px 7px 10px}.metric-control label{font-size:11px}
.kpi-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:white;border:1px solid var(--line);border-radius:var(--radius);margin-bottom:24px;overflow:hidden}.kpi{display:flex;flex-direction:column;min-width:0;padding:22px 24px 20px;color:var(--ink);border-right:1px solid var(--line);transition:background var(--motion)}.kpi:last-child{border-right:0}.kpi:hover{background:#fbfcff;text-decoration:none}.kpi-label{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;font-weight:600;color:var(--muted);min-height:34px}.kpi-label .icon{width:16px;height:16px;color:#7e91b0}.kpi-value{font-size:clamp(24px,2.1vw,32px);font-weight:750;line-height:1.25;letter-spacing:-1.1px;margin:8px 0 10px;min-height:40px;overflow-wrap:anywhere}.kpi:first-child .kpi-value{color:var(--accent)}.kpi-foot{font-size:12px;line-height:1.65;color:var(--muted);margin-top:auto}.kpi-foot .positive,.kpi-foot .negative{font-weight:700}.kpi-unit{font-size:12px;font-weight:500;color:var(--muted);letter-spacing:0}.kpi-value .growth-mark{font-size:17px}
.queue-banner{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 20px;margin-bottom:24px;border:1px solid #dbe4f8;border-radius:10px;background:#f0f4ff;font-size:12px}.queue-banner p{font-size:11px;color:var(--muted);margin-top:3px}.queue-banner .actions{gap:12px}.queue-icon{width:36px;height:36px;border:1px solid #d8e3ff;background:#fff;color:var(--accent);border-radius:9px;display:grid;place-items:center;flex-shrink:0}.queue-panel .panel-head{background:#fcfdff}.queue-heading{display:flex;gap:12px;align-items:center}.queue-heading .pill{font-size:11px;padding:3px 8px}.queue-age{display:inline-flex;align-items:center;gap:6px;color:var(--muted);font-size:11px}.queue-age .icon{width:13px;height:13px}.queue-age.overdue{color:var(--warn)}
.table-wrap{width:100%;overflow:auto;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#c9d3e2 #f7f9fc}.data-table{width:100%;border-collapse:separate;border-spacing:0;font-size:13px}.data-table th{height:42px;padding:11px 16px;background:#f8fafd;border-top:1px solid var(--line);border-bottom:1px solid var(--line);text-align:left;font-size:12px;line-height:1.5;font-weight:650;color:var(--muted);white-space:nowrap}.data-table td{height:54px;padding:12px 16px;border-bottom:1px solid #edf1f6;vertical-align:middle;line-height:1.5}.data-table tr:last-child td{border-bottom:0}.data-table tbody tr{transition:background var(--motion)}.data-table tbody tr:hover,.data-table tbody tr:focus-within{background:#f8faff}.data-table th:first-child,.data-table td:first-child{padding-left:24px}.data-table th:last-child,.data-table td:last-child{padding-right:24px}.data-table .num{text-align:right;white-space:nowrap}.data-table td small{display:block;margin-top:4px;color:var(--muted);font-size:12px;font-weight:450;line-height:1.5}.data-table .entity{font-weight:650;color:var(--ink);line-height:1.5}.data-table .entity:hover{color:var(--accent)}.data-table th button{display:inline-flex;align-items:center;gap:6px;padding:0;border:0;background:transparent;color:inherit;white-space:nowrap;font-size:inherit;font-weight:inherit}.data-table th button:hover{color:var(--ink)}.data-table th .sort-icon{width:12px;height:12px;color:#9aa8ba}.data-table th[aria-sort=ascending] button,.data-table th[aria-sort=descending] button{color:var(--accent)}.table-footer{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px 24px;font-size:11px;color:var(--muted);background:#fff;border-top:1px solid var(--line)}.table-footer .actions{gap:8px}.table-page-label{min-width:68px;text-align:center;font-size:11px}.table-footer .btn{min-width:30px}.table-summary{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;padding:18px 24px;font-size:11px;color:var(--muted)}.table-summary strong{color:var(--ink);font-weight:700}.row-action-trigger{color:var(--muted)}.row-action-trigger .icon{width:16px}.row-actions{display:flex;gap:4px;justify-content:flex-end}.action-popover{position:fixed;inset:auto;border:1px solid var(--line);border-radius:10px;padding:6px;background:white;color:var(--ink);min-width:170px;max-width:270px;box-shadow:var(--shadow);z-index:90;margin:0}.action-popover::backdrop{background:transparent}.action-popover .actions,.action-popover .row-actions{display:flex;flex-direction:column;align-items:stretch}.action-popover .btn{display:flex;justify-content:flex-start;white-space:normal;min-height:36px;border:0;padding:8px 10px}.action-popover .btn.danger{color:var(--bad)}.action-popover:not(:popover-open):not(.fallback-open){display:none}.tabs{display:flex;gap:24px;overflow:auto;white-space:nowrap;border-bottom:1px solid #dae2ee;margin:0 0 24px;scrollbar-width:none}.tabs::-webkit-scrollbar{display:none}.tab{padding:11px 2px 13px;color:var(--muted);font-size:12px;font-weight:550;border-bottom:2px solid transparent}.tab:hover{color:var(--ink);text-decoration:none}.tab.active{font-weight:750;color:var(--accent);border-color:var(--accent)}
/* Charts and mapping */
.chart-legend{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;font-size:11px;color:var(--muted);margin:0 0 12px}.chart-legend>span{display:inline-flex;align-items:center;gap:6px}.chart-key{width:15px;height:3px;border-radius:2px;background:var(--accent)}.trend-chart{display:block;width:100%;height:212px;overflow:visible}.chart-label{font-family:var(--font);font-size:11px;fill:#728198}.chart-gridline{stroke:#e8edf5;stroke-width:1}.chart-area{fill:#2457e60b}.chart-line{stroke:var(--accent);stroke-width:2.5;fill:none;stroke-linejoin:round;stroke-linecap:round}.chart-dot{stroke:var(--accent);stroke-width:1.8;fill:#fff}.chart-hit{fill:transparent;stroke:none}.chart-point:hover .chart-dot,.chart-point:focus .chart-dot{fill:var(--accent);r:5}.chart-support{font-size:11px;color:var(--muted);margin-top:10px}.chart-support summary{display:inline-flex;align-items:center;gap:7px;list-style:none;cursor:pointer;padding:5px 0;font-weight:600}.chart-support summary::-webkit-details-marker{display:none}.chart-support summary .icon{width:13px;height:13px}.chart-support[open] summary{margin-bottom:10px;color:var(--accent)}.chart-support .table-wrap{border:1px solid var(--line);border-radius:8px}.chart-support .data-table{font-size:13px}.chart-support .data-table td,.chart-support .data-table th{padding:9px 12px;height:auto}.bars{display:flex;flex-direction:column;gap:19px}.bar-row{display:grid;grid-template-columns:20px minmax(0,1fr) auto;gap:5px 10px;align-items:center;color:var(--ink);font-size:11px}.bar-row:hover{text-decoration:none}.bar-rank{grid-row:1/3;align-self:start;font-size:11px;color:#8a97aa;padding-top:1px}.bar-label{font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bar-value{font-weight:700;font-size:12px;text-align:right;white-space:nowrap}.bar-track{grid-column:2/4;height:5px;background:#eff3f9;border-radius:3px;overflow:hidden;margin-top:1px}.bar-fill{height:100%;background:#7294ee;border-radius:3px;min-width:0}.bar-row:first-child .bar-fill{background:var(--accent)}.bar-row:hover .bar-fill{background:var(--accent-hover)}.bar-fill.decline{background:#cf9291!important}.stacked{height:10px;border-radius:4px;display:flex;overflow:hidden;margin:4px 0 22px;gap:2px;background:#f0f3f8}.stacked a{height:100%;min-width:2px}.status-list{display:grid;gap:13px}.status-row{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;color:var(--muted)}.status-row strong{color:var(--ink);font-size:12px;margin-right:8px}.status-row .dot{display:inline-block;width:7px;height:7px;border-radius:2px;margin-right:9px}.insight{display:flex;gap:12px;padding:17px 0;border-bottom:1px solid var(--line);font-size:12px}.insight:first-child{padding-top:2px}.insight:last-child{border-bottom:0;padding-bottom:0}.insight>.icon{width:17px;height:17px;color:var(--accent);margin-top:3px}.insight strong{font-size:12px;font-weight:650}.insight p{font-size:11px;line-height:1.75;color:var(--muted);margin:6px 0 8px}.insight .subtle-link{font-size:11px}.matrix-scroll{max-height:650px}.matrix th,.matrix td{text-align:center;min-width:126px;max-width:152px}.matrix th{height:84px;white-space:normal;position:sticky;top:0;z-index:2;font-size:11px;line-height:1.5;padding:12px!important}.matrix th a{color:var(--ink);font-weight:650}.matrix th small{display:block;color:var(--muted);font-weight:450;margin-top:4px}.matrix td{padding:7px!important;height:52px}.matrix th:first-child,.matrix td:first-child{position:sticky;left:0;min-width:228px;max-width:260px;text-align:left;background:white;border-right:1px solid var(--line);z-index:3;padding:12px 20px!important}.matrix th:first-child{background:#f8fafd;z-index:4}.matrix td a.cell{display:block;padding:12px 7px;color:#315693;background:rgba(var(--accent-rgb),var(--heat,.025));border-radius:5px;font-size:11px;font-weight:650;white-space:nowrap;transition:box-shadow var(--motion)}.matrix td a.cell.high{color:#fff;background:var(--accent)}.matrix td a.cell.empty-cell{color:#7d8a9b}.matrix td a.cell:hover,.matrix td a.cell:focus-visible{box-shadow:inset 0 0 0 2px var(--accent);text-decoration:none;outline-offset:2px}.matrix tr:hover td:first-child{background:#f8faff}.legend{display:flex;gap:6px;align-items:center;font-size:11px;color:var(--muted);white-space:nowrap}.legend i{width:16px;height:12px;border-radius:3px;background:rgba(var(--accent-rgb),var(--heat))}.mapping-summary{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:0 0 20px}.coverage-stats{display:flex;flex-wrap:wrap;gap:24px;color:var(--muted);font-size:11px}.coverage-stats strong{font-size:19px;font-weight:750;color:var(--ink);margin-right:6px}.rank-number{color:#8a96a8;font-size:11px}.mini-product{display:flex;gap:10px;align-items:center}.product-symbol{height:32px;width:32px;flex-shrink:0;background:#f0f4fa;color:#6b81a6;border-radius:7px;display:grid;place-items:center}.product-symbol .icon{width:17px;height:17px}
/* Details, forms and feedback */
.info{padding:14px 16px;margin-bottom:20px;border:1px solid #dce6f9;border-radius:9px;background:#f3f7ff;color:#44618c;font-size:12px;line-height:1.75;overflow-wrap:anywhere}.info p+p{margin-top:8px}.info.warning{background:#fffbf2;border-color:#eedebc;color:#886322}.info.error{background:#fff5f4;border-color:#efd3d0;color:#a34242}.info.success{background:#f1f9f5;border-color:#cfe7d9;color:#286746}.info .actions{margin-top:12px}.detail-grid{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:24px;align-items:start}.detail-grid>aside{min-width:0}.detail-grid>aside .panel-body>.actions{align-items:stretch;flex-direction:column}.detail-grid>aside .panel-body>.actions>.btn{width:100%}.facts-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.fact{min-width:0}.fact>label{display:block;font-size:12px;color:var(--muted);margin-bottom:7px;line-height:1.5}.fact>span,.fact>.strong,.fact>a{font-size:12px;line-height:1.75;overflow-wrap:anywhere}.entity-summary{display:flex;align-items:center;flex-wrap:wrap;gap:16px 24px;border:1px solid var(--line);border-radius:var(--radius);background:white;padding:20px 24px;margin-bottom:24px}.entity-identity{display:flex;align-items:center;gap:16px;flex:1;min-width:200px}.entity-summary h2{font-size:16px}.entity-summary p{font-size:12px;color:var(--muted);margin-top:4px}.entity-stat{padding-left:24px;border-left:1px solid var(--line)}.entity-stat>small,.entity-stat>span:not(.badge){display:block;color:var(--muted);font-size:11px}.entity-stat>strong{display:block;font-size:15px;margin-top:4px;font-weight:700}.profile-intro{display:flex;align-items:center;gap:16px;margin-bottom:24px;background:white;border:1px solid var(--line);border-radius:var(--radius);padding:20px 24px}.profile-intro>div{min-width:0}.profile-intro h3{overflow-wrap:anywhere}.profile-intro p{font-size:12px;color:var(--muted);margin-top:7px}.timeline{list-style:none;margin:0;padding:0}.timeline li{position:relative;margin-left:5px;padding:0 0 24px 24px;border-left:1px solid #dbe4f2}.timeline li:before{content:'';position:absolute;top:4px;left:-5px;width:9px;height:9px;border:2px solid white;border-radius:50%;background:#8ea8e5;outline:1px solid #bdcbeb}.timeline li:last-child{border:0;padding-bottom:0}.timeline li:last-child:before{background:var(--accent);outline-color:#9db6ff}.timeline strong{font-size:12px;font-weight:700}.timeline p{font-size:12px;line-height:1.75;color:var(--muted);margin-top:4px}.timeline small{display:block;font-size:12px;color:#7a879a;margin-top:3px}.timeline .timeline-reason{border-left:2px solid #e4e9f2;padding:6px 0 6px 10px;margin-top:8px}.matched{background:#f0f5ff}.matched:hover{background:#eaf1ff!important}.detail-total{padding:20px 24px;text-align:right;font-size:12px;border-top:1px solid var(--line);background:#fcfdff}.detail-total strong{font-size:21px;font-weight:750;margin-left:16px}.detail-total small{display:block;color:var(--muted);font-size:11px;margin-top:7px}.order-success{display:flex;align-items:center;gap:14px;padding:18px 22px;margin-bottom:24px;border:1px solid #cfe7d9;border-radius:12px;background:#f4faf7}.order-success>.icon{color:var(--good);width:22px;height:22px}.order-success>div{flex:1}.order-success strong{font-size:13px}.order-success p{font-size:11px;color:var(--muted);margin-top:4px}.empty{padding:48px 24px;text-align:center;color:var(--muted)}.empty-symbol{width:48px;height:48px;display:grid;place-items:center;margin:0 auto 16px;border:1px solid #e0e7f2;border-radius:12px;background:#f7f9fe;color:#7f94b5}.empty-symbol .icon{width:23px;height:23px}.empty h3{font-size:15px;color:var(--ink);margin-bottom:7px}.empty p{font-size:12px;line-height:1.7;max-width:420px;margin:0 auto 18px}.empty .actions{justify-content:center}.settings-list{display:grid}.settings-row{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px 0;border-bottom:1px solid var(--line)}.settings-row:first-child{padding-top:0}.settings-row:last-child{border-bottom:0;padding-bottom:0}.settings-row strong{font-size:12px;font-weight:700}.settings-row p{font-size:12px;color:var(--muted);line-height:1.8;max-width:850px;margin-top:5px}.settings-row>.btn,.settings-row>label.btn{flex-shrink:0}.progress{height:5px;background:#edf1f7;border-radius:3px;margin:14px 0;overflow:hidden}.progress span{height:100%;display:block;background:var(--accent)}.integration{display:flex;gap:16px;padding:24px}.integration>.icon{width:22px;height:22px;color:#60789f;margin-top:3px}.integration p{font-size:12px;color:var(--muted);line-height:1.8;margin:12px 0 16px}.integration .badge{margin-top:8px}.report-meta{font-size:11px;color:var(--muted);line-height:1.7;padding:0 0 16px}
dialog{border:1px solid var(--line);border-radius:16px;width:min(620px,calc(100vw - 40px));max-height:88vh;padding:0;color:var(--ink);background:white;box-shadow:var(--shadow);overflow:auto}dialog::backdrop{background:#172b4d59}.modal-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:24px;border-bottom:1px solid var(--line);position:sticky;top:0;background:white;z-index:2}.modal-head h2{font-size:18px;line-height:1.45}.modal-head p{font-size:11px;line-height:1.7;margin-top:6px;color:var(--muted);max-width:480px}.modal-head>.btn{margin-top:-3px;min-width:32px;min-height:32px}.modal-body{padding:24px}.modal-body>.profile-intro{padding:0;border:0}.modal-actions{display:flex;gap:8px;justify-content:flex-end;align-items:center;margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}dialog.drawer{height:100dvh;max-height:100dvh;max-width:100vw;width:580px;inset:0 0 0 auto;margin:0;border-radius:16px 0 0 16px;border-width:0 0 0 1px}dialog.drawer .modal-head{padding:28px 28px 24px}dialog.drawer .modal-body{padding:24px 28px 28px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 16px}.field{display:flex;flex-direction:column;gap:7px;min-width:0;font-size:12px}.field.full,.check-label.full{grid-column:1/-1}.field>label{font-size:12px;font-weight:650}.field small,.field-hint{font-size:11px;color:var(--muted);line-height:1.6}.required-mark{color:#7d8a9d;font-size:11px;font-weight:450;margin-left:5px}.field-error{font-size:11px;color:var(--bad);line-height:1.6}.field-error:empty{display:none}.form-error{background:#fff3f2;color:var(--bad);border-left:3px solid #d88d8d;border-radius:6px;padding:12px 14px;font-size:12px;line-height:1.7;margin-top:16px}.form-error:empty{display:none}.form-section{border:0;padding:0;margin:0 0 24px;min-width:0}.form-section:last-of-type{margin-bottom:0}.form-section legend{font-size:12px;font-weight:750;padding:0;margin-bottom:16px;width:100%}.form-section+.form-section{padding-top:22px;border-top:1px solid var(--line)}.section-hint{font-size:12px;color:var(--muted);margin:0 0 16px;line-height:1.7}.form-section .section-hint{font-size:11px;color:var(--muted);margin:-10px 0 16px}.check-label{display:flex;align-items:flex-start;gap:10px;font-size:12px;line-height:1.75;cursor:pointer}.review-ack{padding:16px;border:1px solid #ecdfc1;background:#fffbf2;border-radius:9px;color:#7f652f}.toast{position:fixed;left:calc(50% + 90px);bottom:24px;transform:translate(-50%,110px);max-width:min(560px,90vw);padding:13px 18px;border:1px solid #dce5f0;border-radius:10px;box-shadow:var(--shadow);background:white;color:var(--ink);display:flex;gap:10px;align-items:center;z-index:100;font-size:12px;line-height:1.7;opacity:0;transition:transform var(--motion),opacity var(--motion);pointer-events:none}.toast .icon{color:var(--good);width:18px;height:18px}.toast.show{transform:translate(-50%,0);opacity:1}.toast.error{background:#fff8f7;color:var(--bad);border-color:#efd2cd}.toast.error .icon{color:var(--bad)}.toast.warning{background:#fffbf2;border-color:#e9d8b7;color:#886322}.toast.warning .icon{color:#886322}.notification{display:flex;align-items:flex-start;gap:14px;padding:22px 24px;border-bottom:1px solid var(--line)}.notification:last-child{border-bottom:0}.notification.unread{background:#f6f9ff;box-shadow:inset 3px 0 0 #7396f1}.notification>.avatar{background:#edf2fb;border-radius:9px;color:#597bad}.notification strong{font-size:12px;font-weight:650}.notification p{font-size:12px;color:var(--muted);margin:5px 0 7px}.notification small{font-size:12px;color:var(--muted)}.notification .actions{margin-left:auto;flex-shrink:0}
/* Entry and distributor experience */
.login-page{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(440px,1fr);min-height:100dvh;background:#fff}.login-story{padding:36px clamp(32px,6vw,100px);display:flex;flex-direction:column;justify-content:center;background:#f4f6fb;border-right:1px solid var(--line)}.login-story>.brand{padding:0;position:absolute;top:32px;left:40px}.login-story h1{font-size:32px;font-weight:700;max-width:450px;line-height:1.35;letter-spacing:-1px}.login-story>p{margin-top:12px;font-size:13px;line-height:1.9;color:var(--muted);max-width:400px}.login-overview{background:#fff;border:1px solid #dde5f2;border-radius:14px;margin-top:32px;overflow:hidden;max-width:490px}.login-overview-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 20px;border-bottom:1px solid var(--line);font-size:11px}.login-overview-head strong{font-size:12px}.login-metrics{display:grid;grid-template-columns:1.4fr 1fr;padding:22px 20px;gap:24px}.login-metrics small{font-size:11px;color:var(--muted);display:block}.login-metrics strong{display:block;font-size:25px;line-height:1.4;letter-spacing:-.7px;font-weight:750;margin-top:8px;color:var(--accent)}.login-order{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:15px 20px;border-top:1px solid #edf1f6}.login-order strong{font-size:11px;font-weight:650}.login-order small{display:block;font-size:11px;color:var(--muted);margin-top:3px}.login-bottom{display:flex;gap:20px;font-size:11px;color:var(--muted);margin-top:20px}.login-form-wrap{display:flex;align-items:center;justify-content:center;padding:56px 40px}.login-form{width:100%;max-width:408px}.login-form h2{font-size:25px;font-weight:750;letter-spacing:-.75px;margin:20px 0 8px}.login-form>p{font-size:12px;color:var(--muted);line-height:1.8;margin-bottom:24px}.persona-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:24px}.persona-choice{display:grid;grid-template-columns:20px 1fr;gap:8px 10px;align-content:start;padding:16px;border:1px solid var(--line);border-radius:10px;background:white;color:var(--ink);text-align:left;min-height:102px;transition:border-color var(--motion),background var(--motion)}.persona-choice>.icon{width:18px;height:18px;color:#7a8ba6}.persona-choice>span{font-size:12px;line-height:1.7;font-weight:700}.persona-choice>small{grid-column:2;font-size:12px;color:var(--muted);line-height:1.7}.persona-choice:hover{border-color:#adbef0;background:#fafbff}.persona-choice.active{background:#f3f6ff;border-color:#7595f0;box-shadow:inset 0 0 0 1px #7595f0}.persona-choice.active>.icon,.persona-choice.active>span{color:var(--accent)}.login-form .btn.primary{width:100%;min-height:44px;margin-top:20px;justify-content:space-between}.login-note{font-size:11px;color:var(--muted);line-height:1.8;padding-top:20px;margin-top:24px;border-top:1px solid var(--line)}
.portal-top{display:flex;align-items:center;justify-content:space-between;gap:20px;height:72px;padding:0 max(24px,calc((100vw - 1216px)/2));border-bottom:1px solid var(--line);background:white}.portal-top .brand{padding:0}.portal-top .user-button{padding-left:16px}.portal-top .brand-name{max-width:250px}.portal-nav{display:flex;gap:30px;padding:0 max(24px,calc((100vw - 1216px)/2));border-bottom:1px solid var(--line);background:white;overflow-x:auto;scrollbar-width:none;white-space:nowrap}.portal-nav a{display:flex;align-items:center;gap:8px;padding:16px 0 15px;border-bottom:2px solid transparent;color:var(--muted);font-size:12px;font-weight:550}.portal-nav a .icon{width:16px;height:16px;color:#8090a7}.portal-nav a:hover{color:var(--ink);text-decoration:none}.portal-nav a.active{border-color:var(--accent);color:var(--accent);font-weight:750}.portal-nav a.active .icon{color:var(--accent)}.portal-main{max-width:1280px;margin:auto;padding:28px 32px 40px;min-width:0}.portal-welcome{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:24px}.portal-welcome h1{font-size:27px}.portal-welcome p{font-size:12px;color:var(--muted);margin-top:7px}.portal-main .kpi-value{font-size:30px}.portal-home-context{display:flex;gap:8px;align-items:center;font-size:11px;color:var(--muted);margin-bottom:10px}.catalog-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;font-size:11px;color:var(--muted);margin-bottom:20px}.catalog-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.product-card{min-width:0;display:flex;flex-direction:column;background:white;border:1px solid var(--line);border-radius:12px;overflow:hidden;transition:border-color var(--motion)}.product-card:hover{border-color:#b8c8e7}.product-art{height:158px;background:#f5f7fb;display:grid;place-items:center;border-bottom:1px solid #edf1f6}.product-art svg{width:120px;height:114px}.product-info{display:flex;flex-direction:column;flex:1;padding:18px}.product-info>small{font-size:12px;color:var(--muted)}.product-info h3{font-size:13px;font-weight:650;line-height:1.6;min-height:42px;margin:6px 0 12px}.product-info h3 a{color:var(--ink)}.product-info .price{font-size:19px;font-weight:750;letter-spacing:-.5px;line-height:1.5}.product-info .price small{font-size:11px;font-weight:450;color:var(--muted);letter-spacing:0}.product-meta{min-height:66px;margin:12px 0 16px;font-size:12px;color:var(--muted);line-height:1.7}.product-meta .badge{font-size:11px;padding:3px 6px}.product-meta>small,.product-purchase>div>small{display:block;font-size:11px;margin-top:4px}.product-meta>div{margin-top:4px}.product-card .product-info>.actions{margin-top:auto;flex-wrap:wrap;gap:8px}.product-card .product-info>.actions .btn{flex:1;min-width:78px;font-size:11px;min-height:36px;padding:7px 10px}.stepper{display:inline-flex;align-items:center;border:1px solid #d6dfec;border-radius:8px;background:white;height:36px;overflow:hidden;width:112px;flex-shrink:0}.stepper:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px #2457e610}.stepper button{display:grid;place-items:center;width:30px;height:34px;flex-shrink:0;padding:0;border:0;border-radius:0;background:transparent;color:var(--muted);font-size:16px}.stepper button:hover{background:#eef3ff;color:var(--accent)}.stepper input{width:50px;border:0;border-radius:0;padding:4px 0;text-align:center;font-size:12px;font-weight:650;min-height:32px;height:32px;box-shadow:none!important;appearance:textfield;-moz-appearance:textfield}.stepper input::-webkit-inner-spin-button{display:none}.catalog-pagination{margin-top:24px;border:1px solid var(--line);border-radius:10px}.product-detail-art{height:270px}.product-detail-art svg{height:190px;width:210px}.product-purchase{position:sticky;top:88px}.product-purchase .purchase-price{font-size:25px;letter-spacing:-.8px;font-weight:750}.product-purchase .purchase-price small{font-size:12px;font-weight:500;color:var(--muted);letter-spacing:0}.product-purchase .actions{margin:20px 0}.product-description{font-size:13px;line-height:1.9;color:var(--muted);margin:12px 0 20px}.cart-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:24px;align-items:start}.cart-item{display:flex;gap:18px;align-items:flex-start;padding:24px;border-bottom:1px solid var(--line)}.cart-item:last-child{border:0}.cart-thumb{height:84px;width:80px;flex-shrink:0;display:grid;place-items:center;background:#f5f7fb;border:1px solid #edf1f6;border-radius:9px}.cart-thumb svg{width:72px;height:70px}.cart-item-info{min-width:0;flex:1}.cart-item-info h3{font-size:13px;font-weight:650;margin-bottom:5px}.cart-item-info .actions{margin-top:14px}.cart-item-info .unit-price{font-size:12px;margin-top:8px}.cart-item-info>.field-error{margin-top:8px}.amount{font-weight:750;font-size:13px;white-space:nowrap}.cart-summary{position:sticky;top:88px}.cart-summary h2{font-size:16px}.cart-summary .btn.primary{width:100%;min-height:42px}.cart-note{font-size:11px;line-height:1.85;color:var(--muted);margin-bottom:18px}.summary-row{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin:16px 0;font-size:12px}.summary-row.total{font-size:15px;font-weight:750;padding-top:18px;margin-top:20px;border-top:1px solid var(--line)}.summary-row.total>span:last-child{font-size:20px;letter-spacing:-.6px}.choice-row{display:flex;gap:10px;align-items:center;margin:12px 0}.mobile-checkout{display:none}
@media(min-width:1600px){.main{padding:32px 40px}.data-table{font-size:13px}.panel-head h2{font-size:17px}.kpi-label,.data-table th,.kpi-foot{font-size:12px}}
@media(max-width:1240px){.main{padding:24px}.topbar{padding:0 24px}.global-search input{width:180px}.kpi{padding:18px}.kpi-value{font-size:26px}.kpi-label{font-size:12px}.section-row,.overview-grid{grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);gap:20px}.panel-head{padding:20px}.panel-body{padding:0 20px 20px}.catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.detail-grid{grid-template-columns:minmax(0,1fr) 280px}.two-col,.three-col{gap:20px}.bar-value{font-size:12px}}
@media(max-width:1024px){.top-context{display:none}.topbar{justify-content:flex-end}.topbar-right{flex:1;justify-content:space-between}.global-search{flex:1;max-width:310px}.global-search input{width:100%}.section-row,.overview-grid{grid-template-columns:1fr}.overview-grid .bars{display:grid;grid-template-columns:1fr 1fr;gap:20px 28px}.kpi-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.kpi:nth-child(2){border-right:0}.kpi:nth-child(-n+2){border-bottom:1px solid var(--line)}.kpi-value{font-size:29px}.three-col{grid-template-columns:1fr 1fr}.detail-grid{grid-template-columns:1fr}.detail-grid>aside:not(.product-purchase){display:grid;grid-template-columns:1fr 1fr;gap:20px}.facts-grid{grid-template-columns:1fr 1fr}.login-page{grid-template-columns:1fr 1fr}.login-story{padding:40px 32px}.login-story>.brand{left:32px}.login-story h1{font-size:28px}.login-metrics strong{font-size:21px}.login-form-wrap{padding:32px}.portal-main .kpi-strip{grid-template-columns:repeat(4,minmax(0,1fr))}.portal-main .kpi:nth-child(2){border-right:1px solid var(--line)}.portal-main .kpi:nth-child(-n+2){border-bottom:0}.cart-layout{grid-template-columns:minmax(0,1fr) 300px}.cart-item{gap:12px;padding:18px}.cart-thumb{width:60px;height:68px}.cart-thumb svg{width:55px}.cart-item .amount{font-size:12px}.cart-summary{padding:20px}.summary-row.total>span:last-child{font-size:18px}}
@media(max-width:900px){.workspace{margin-left:0}.topbar{justify-content:space-between;gap:12px;padding:0 20px}.topbar-right{flex:1;justify-content:flex-end}.global-search{flex:0 1 280px;margin-right:auto}.user-button .user-label{display:none}.main{padding:24px}.section-row,.overview-grid{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)}.overview-grid .bars{display:flex}.toast{left:50%}.portal-top,.portal-nav{padding-left:24px;padding-right:24px}.portal-main{padding:24px}.portal-nav{gap:24px}.portal-main .kpi{padding:16px}.portal-main .kpi-value{font-size:28px}.mapping-summary{align-items:flex-start;flex-direction:column}}
@media(max-width:760px){.insight-grid{grid-template-columns:1fr;gap:16px}.insight-grid .insight+ .insight{border-left:0;border-top:1px solid var(--line);padding:16px 0 0}.btn,.btn.small,.btn.square,.stepper,.stepper button,.product-card .stepper,.product-card .stepper button,.cart-item .stepper,.cart-item .stepper button{min-height:44px}.stepper input{height:42px}.filter-chip button{width:32px;height:32px}.product-card .product-info>.actions .btn,.page-heading .btn,.field input,.filters input,.filters select{min-height:44px}.notification>.actions .btn{min-height:44px}.section-row,.overview-grid,.two-col,.three-col{grid-template-columns:1fr;gap:20px;margin-bottom:20px}.panel{margin-bottom:20px}.detail-grid>aside{display:block}.login-page{grid-template-columns:1fr;min-height:100dvh}.login-story{padding:24px;border:0;border-bottom:1px solid var(--line);background:white}.login-story>.brand{position:static;padding:0}.login-story h1,.login-story>p,.login-overview,.login-bottom{display:none}.login-form-wrap{padding:32px 24px;align-items:flex-start;background:var(--canvas)}.login-form{max-width:440px}.login-form h2{margin-top:16px}.portal-main .kpi-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-main .kpi:nth-child(2){border-right:0}.portal-main .kpi:nth-child(-n+2){border-bottom:1px solid var(--line)}.portal-main .kpi{padding:18px}.cart-layout{grid-template-columns:1fr;gap:0}.cart-summary{position:static}.cart-summary .cart-review-action{display:none}.mobile-checkout{position:fixed;bottom:0;left:0;right:0;z-index:24;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 20px calc(14px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #dbe3ef;box-shadow:0 -5px 24px #172b4d08}.mobile-checkout small{display:block;font-size:11px;color:var(--muted)}.mobile-checkout strong{display:block;font-size:17px;font-weight:750;margin-top:2px}.mobile-checkout .btn{min-height:42px;padding:9px 18px}.portal-main:has(.mobile-checkout),.main:has(.mobile-checkout){padding-bottom:105px}.toast{bottom:20px}body:has(.mobile-checkout) .toast{bottom:94px}.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.product-info{padding:16px}.product-info .price{font-size:18px}.product-card .stepper{width:100%;justify-content:space-between}.product-card .stepper input{flex:1}.product-card .btn{width:100%}.portal-welcome{align-items:flex-start}.portal-welcome h1{font-size:25px}.portal-top .brand small{font-size:11px}.portal-demo-label{display:none}.portal-top .actions{gap:6px}.portal-top .user-button{padding-left:10px}.product-purchase{position:static}.overview-grid .trend-chart{height:220px}}
@media(max-width:520px){h1{font-size:25px;letter-spacing:-.7px}.main,.portal-main{padding:20px 16px 28px}.topbar{padding:0 12px;height:60px;gap:8px}.topbar-right{gap:5px;min-width:0}.global-search{padding:0 8px;max-width:210px;min-width:0}.global-search input{font-size:11px;min-width:0}.global-search>.btn{display:none}.global-search>.icon{width:15px}.user-button{padding-left:8px;gap:6px}.user-button>.icon{display:none}.avatar{width:30px;height:30px}.page-heading{gap:12px;flex-wrap:wrap;margin-bottom:20px}.page-heading>div:first-child{flex:1 1 200px}.page-heading>.actions{flex-shrink:1;max-width:100%;padding-top:0;gap:6px}.page-heading p{font-size:11px;line-height:1.8}.page-heading .btn{font-size:11px;min-height:38px;padding:8px 10px}.filters{gap:10px;padding:14px}.filter-field{flex-basis:calc(50% - 10px);min-width:0}.filter-field.compact{flex:1 1 calc(50% - 10px);min-width:0}.filter-field.search-field{flex-basis:100%}.filter-field select,.filter-field input{font-size:11px;min-height:40px;height:40px}.filter-note{padding:10px 14px;font-size:12px;gap:5px}.filter-more-content>.filter-field{flex:1 1 calc(50% - 10px)}.active-filters{padding:0 14px 12px}.filter-chip strong{max-width:145px}.kpi-strip{margin-bottom:20px}.kpi,.portal-main .kpi{padding:16px}.kpi-value,.portal-main .kpi-value{font-size:25px;letter-spacing:-.8px;min-height:34px}.kpi-label{font-size:12px;gap:8px;min-height:33px}.kpi-label .icon{display:none}.kpi-foot{font-size:12px;line-height:1.7}.kpi-unit{font-size:11px}.panel-head{padding:18px 16px 16px;gap:12px;flex-wrap:wrap;align-items:flex-start}.panel-head h2{font-size:15px}.panel-head p{font-size:12px;line-height:1.7}.panel-body{padding:0 16px 18px}.panel-pad{padding:18px 16px}.panel-head>.subtle-link{font-size:11px}.data-table{font-size:13px}.data-table th{font-size:12px}.data-table td{height:56px}.data-table th:first-child,.data-table td:first-child{padding-left:16px}.data-table th:last-child,.data-table td:last-child{padding-right:16px}.data-table td small{font-size:12px}.table-footer{padding:12px 16px;font-size:11px;gap:8px}.table-summary{padding:16px;font-size:11px;gap:8px}.table-footer .actions{gap:3px}.table-page-label{min-width:57px;font-size:11px}.queue-banner{padding:14px;align-items:flex-start;gap:12px}.queue-banner .queue-icon{display:none}.queue-banner strong{font-size:11px}.queue-banner p{font-size:11px}.queue-banner .btn{font-size:11px;min-height:32px;padding:6px 9px}.queue-heading .queue-icon{width:30px;height:30px}.queue-heading{gap:9px}.tabs{gap:20px;margin-bottom:20px}.tab{font-size:11px}.facts-grid{gap:20px 16px;grid-template-columns:1fr 1fr}.fact>label{font-size:12px}.fact>span,.fact>a{font-size:11px}.profile-intro,.entity-summary{padding:18px 16px;gap:12px}.entity-identity{min-width:0;flex-basis:100%}.entity-stat{padding:0;border:0;flex:1}.entity-stat strong{font-size:13px}.detail-total{padding:18px 16px;font-size:11px}.detail-total strong{display:block;font-size:22px;margin:5px 0 0}.info{font-size:11px;padding:13px 14px}.order-success{padding:16px;align-items:flex-start;flex-wrap:wrap}.order-success>.btn{margin-left:36px}.order-success strong{font-size:12px}.form-grid{grid-template-columns:1fr;gap:16px}.field.full{grid-column:1}.field input,.field select,.field textarea{min-height:44px;font-size:13px}.modal-head{padding:20px}.modal-head h2{font-size:17px}.modal-head .btn{font-size:0;width:32px;min-width:32px;padding:6px}.modal-body{padding:20px}.modal-actions{gap:8px}.modal-actions .btn{min-height:42px}.modal-actions .btn.primary{flex:1;white-space:normal}.drawer{width:100%!important;border-radius:0!important}.drawer .modal-head,.drawer .modal-body{padding:20px!important}dialog{width:calc(100vw - 24px);max-height:91dvh;border-radius:13px}.notification{padding:18px 16px;gap:11px;flex-wrap:wrap}.notification>div:not(.actions){flex:1;min-width:0}.notification .actions{margin-left:41px;flex-basis:100%;gap:4px}.notification strong,.notification p{font-size:11px}.notification .btn{font-size:11px}.settings-row{gap:14px;flex-wrap:wrap;padding:18px 0}.settings-row p{font-size:11px}.settings-row .btn{font-size:11px}.settings-row>div:first-child{flex:1 1 200px}.integration{padding:20px 16px;gap:12px}.integration p{font-size:11px}.metric-control select{font-size:11px;max-width:180px}.coverage-stats{gap:12px 20px;font-size:11px}.coverage-stats strong{font-size:17px}.matrix th:first-child,.matrix td:first-child{min-width:160px;max-width:180px;padding:12px!important}.matrix .entity{font-size:11px}.matrix th,.matrix td{min-width:120px}.matrix-scroll{max-height:580px}.legend{font-size:11px}.network-footer{flex-direction:column;gap:5px;font-size:11px;margin-top:24px}.portal-top{height:66px;padding:0 16px;gap:8px}.portal-top .brand-name{font-size:15px;max-width:190px}.portal-top .brand-mark{width:29px;height:31px}.portal-top .brand{gap:8px}.portal-top .btn.square{min-width:32px;padding:5px}.portal-top .user-button{border:0;padding:0}.portal-nav{gap:23px;padding:0 16px}.portal-nav a{padding:14px 0 13px;gap:6px;font-size:12px}.portal-nav .icon{width:14px;height:14px}.portal-welcome{gap:12px}.portal-welcome h1{font-size:23px}.portal-welcome .btn{font-size:11px;min-height:40px;padding:8px 12px}.catalog-toolbar{font-size:11px;gap:12px;align-items:flex-start}.catalog-toolbar>span:last-child{max-width:110px;text-align:right}.catalog-grid{gap:12px}.product-art{height:128px}.product-art svg{width:100px;height:95px}.product-info{padding:13px}.product-info>small{font-size:12px}.product-info h3{font-size:12px;min-height:39px;margin:6px 0 10px}.product-info .price{font-size:17px}.product-info .price small{font-size:11px}.product-meta{font-size:12px;min-height:70px;margin:11px 0 14px}.product-meta .badge{font-size:11px}.product-card .stepper{height:40px}.product-card .stepper button{height:38px;width:34px}.product-card .product-info>.actions .btn{min-height:40px;font-size:11px}.product-detail-art{height:210px}.product-detail-art svg{width:160px;height:150px}.product-description{font-size:12px}.cart-item{padding:18px 16px;gap:12px;flex-wrap:wrap}.cart-thumb{width:58px;height:65px}.cart-item-info{flex-basis:calc(100% - 75px)}.cart-item-info h3{font-size:12px}.cart-item .amount{padding-left:70px;font-size:13px}.cart-item .stepper{height:40px;width:120px}.cart-item .stepper button{height:38px}.cart-item-info .actions .btn{min-height:40px}.cart-note,.summary-row{font-size:11px}.summary-row.total{font-size:14px}.summary-row.total>span:last-child{font-size:20px}.mobile-checkout{padding-left:16px;padding-right:16px}.mobile-checkout strong{font-size:16px}.toast{font-size:11px;padding:12px 15px;max-width:calc(100vw - 32px);width:max-content}.login-form h2{font-size:24px}.persona-choice{padding:14px 12px;gap:7px;grid-template-columns:18px 1fr}.persona-choice>span{font-size:12px}.persona-choice>small{font-size:12px}.login-form .field select{font-size:12px}.login-form .btn.primary{min-height:46px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
@media print{body{background:#fff;color:#172b4d;font-size:11px}.topbar,.portal-top,.portal-nav,.page-heading .actions,.btn,.filter-panel,.filters,.tabs,.toast,.network-footer,.no-print,.breadcrumb,.mobile-checkout,.action-popover,.chart-support{display:none!important}.workspace{margin:0!important}.main,.portal-main{max-width:none;padding:0!important}.page-heading{margin:0 0 18px}h1{font-size:23px}.panel{border:1px solid #dce3ed;break-inside:avoid;margin-bottom:16px;border-radius:8px;box-shadow:none}.panel-head{padding:14px 16px}.panel-head h2{font-size:13px}.panel-body{padding:0 16px 16px}.detail-grid,.section-row,.overview-grid,.two-col,.three-col{display:block}.facts-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.data-table{font-size:13px}.data-table td,.data-table th{height:auto;padding:8px 10px}.table-wrap{overflow:visible}.matrix-scroll{max-height:none}.matrix th,.matrix td{min-width:0;max-width:none;position:static!important}.matrix th:first-child,.matrix td:first-child{min-width:0}.kpi-strip{grid-template-columns:repeat(4,minmax(0,1fr));margin:12px 0 20px}.kpi{padding:14px;border-bottom:0!important}.kpi:nth-child(2){border-right:1px solid var(--line)}.kpi-value{font-size:23px}.kpi-label,.kpi-foot{font-size:12px}.trend-chart{height:170px}.cart-summary,.product-purchase{position:static}.entity-summary,.profile-intro{break-inside:avoid}a{color:inherit;text-decoration:none}dialog{display:none!important}.table-footer{font-size:11px;padding:10px 16px}.info{font-size:11px}.detail-total strong{font-size:20px}}

/* SHP Toys catalog: neutral photo surfaces and compact operational details. */
.creator-credit{display:flex;flex-direction:column;gap:3px;margin-bottom:0}
.creator-credit .creator-product{font-size:12px;font-weight:600;color:var(--ink)}
.creator-credit .creator-caption,.creator-credit .creator-name{display:inline;margin:0;font-size:12px;line-height:1.8}
.creator-credit .creator-name{font-weight:500}
.creator-company{font-size:11px;line-height:1.8;color:var(--muted)}
.brand-copy{min-width:0}
.login-story .brand-name{max-width:none;white-space:normal;overflow-wrap:anywhere}
.login-story .brand small,.portal-top .brand small{white-space:normal;line-height:1.6;margin-top:3px}
.portal-top .brand{min-width:0}
.portal-top .brand-name{max-width:100%}
.portal-top>.actions{flex-shrink:0}
.profile-intro>div{min-width:0;overflow-wrap:anywhere}
.application-identity{grid-template-columns:repeat(2,minmax(0,1fr))}
.application-identity .fact>span{font-size:13px;font-weight:500;overflow-wrap:anywhere}
@media(max-width:520px){.portal-top .brand small{display:none}.application-identity{grid-template-columns:1fr}}
.commerce-note{font-size:12px;line-height:1.8;color:var(--muted);padding:12px 0;margin:0 0 16px;border-top:1px solid var(--line)}
.commerce-note span{display:block}
.catalog-migration-note{font-size:12px;color:var(--muted);margin:-5px 0 20px;line-height:1.8}
.product-art{height:220px;background:#fff;overflow:hidden;padding:14px}
.product-photo{display:flex;align-items:center;justify-content:center;position:relative;width:100%;height:100%;min-width:0;overflow:hidden;background:#fff}
.product-photo img{display:block;width:100%;height:100%;object-fit:contain;max-width:100%}
.photo-fallback{display:none;align-items:center;justify-content:center;flex-direction:column;gap:8px;color:var(--muted);font-size:11px;text-align:center;line-height:1.6;padding:8px}
.photo-fallback .icon{width:24px;height:24px}
.image-unavailable img{display:none}
.image-unavailable .photo-fallback{display:flex}
.product-card .product-info h3{font-size:16px;min-height:0;margin:5px 0 12px;overflow-wrap:anywhere}
.product-card .product-info>.actions{flex-direction:column;align-items:stretch}
.product-card .stepper{width:100%;justify-content:space-between}
.product-card .stepper input{flex:1;min-width:0}
.product-card .product-info>.actions .btn{white-space:normal;line-height:1.6;min-height:42px}
.reference-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr)}
.product-gallery{min-width:0;padding:20px;border-right:1px solid var(--line)}
.product-detail-art{height:auto;aspect-ratio:1/1;max-height:450px;border:0;padding:8px}
.product-thumbnails{display:flex;gap:8px;overflow-x:auto;padding:12px 2px 4px;scrollbar-width:thin}
.product-thumbnails button{flex:0 0 60px;height:60px;padding:4px;border:1px solid var(--line);border-radius:7px;background:#fff;cursor:pointer}
.product-thumbnails button[aria-pressed=true]{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}
.product-thumbnails .photo-fallback{padding:0}.product-thumbnails .photo-fallback>span{display:none}
.reference-copy{padding:24px;min-width:0}
.reference-copy>p{font-size:13px;line-height:1.8;margin:12px 0 20px;color:var(--muted)}
.product-specs{margin:0 0 18px;font-size:13px;line-height:1.7}
.product-specs>div{display:grid;grid-template-columns:minmax(110px,.85fr) minmax(0,1.15fr);gap:16px;padding:11px 0;border-bottom:1px solid var(--line)}
.product-specs dt{color:var(--muted)}.product-specs dd{margin:0;color:var(--ink);overflow-wrap:anywhere}
.product-source{border-top:1px solid var(--line);margin-top:18px;padding-top:14px;font-size:12px;color:var(--muted);line-height:1.8}
.product-source summary{cursor:pointer;color:var(--ink);font-weight:600}.product-source p{margin:10px 0 0}
.portal-main .reference-layout{grid-template-columns:1fr}.portal-main .product-gallery{border-right:0;border-bottom:1px solid var(--line)}
.cart-thumb{padding:5px;background:#fff;overflow:hidden}.cart-thumb .product-photo{border-radius:5px}.cart-thumb .photo-fallback>span{display:none}
.product-cell{display:flex;gap:12px;align-items:center;min-width:195px}.product-cell>div{min-width:0}
.table-product-photo{display:block;flex:0 0 48px;width:48px;height:48px}.table-product-photo .photo-fallback>span{display:none}
.company-profile{font-size:13px;line-height:1.9;margin-bottom:22px;max-width:780px}
.order-company{display:flex;flex-direction:column;gap:5px;margin-bottom:18px;font-size:12px;color:var(--muted);line-height:1.8}.order-company strong{color:var(--ink);font-weight:650;font-size:14px}
@media(max-width:900px){.reference-layout{grid-template-columns:1fr}.product-gallery{border-right:0;border-bottom:1px solid var(--line)}.product-detail-art{max-height:380px}.product-art:not(.product-detail-art){height:190px}}
@media(max-width:520px){.product-art:not(.product-detail-art){height:155px;padding:8px}.product-card .product-info h3{font-size:14px}.product-gallery{padding:14px}.reference-copy{padding:18px 16px}.product-specs>div{gap:12px;grid-template-columns:minmax(100px,.9fr) minmax(0,1.1fr)}.commerce-note{font-size:12px}.catalog-toolbar>span:last-child{max-width:135px}.product-thumbnails button{flex-basis:56px;height:56px}.creator-credit{font-size:12px}.product-purchase .actions{flex-wrap:wrap}}
@media(max-width:370px){.catalog-grid{grid-template-columns:1fr}.product-art:not(.product-detail-art){height:210px}}
@media print{.product-thumbnails,.product-source{display:none}.reference-layout{grid-template-columns:1fr 1fr}.product-gallery{border:0}.product-detail-art{max-height:250px}.commerce-note{font-size:11px}}

/* Directory reference surfaces reuse the operational table and detail layout. */
.directory-notice{margin:0 0 22px;padding:12px 0;border-bottom:1px solid var(--line);color:var(--muted);font-size:12px;line-height:1.8}
.directory-notice p{color:var(--ink)}.directory-notice small{display:block;font-size:11px;max-width:960px}
.page-distributors .filters .search-field{flex:2 1 280px}.page-distributors .data-table td{vertical-align:middle}.page-distributors .data-table td:nth-child(3){min-width:155px}
.page-distributors .data-table td:first-child{min-width:210px}.page-distributors .data-table td:nth-child(2){min-width:210px}.page-distributors .data-table td:last-child .actions{flex-wrap:wrap}
.page-distributor .fact>span,.page-profile .fact>span{overflow-wrap:anywhere}.page-distributor .facts-grid,.page-profile .facts-grid{row-gap:24px}
@media(max-width:520px){.directory-notice{margin-bottom:18px}.page-distributors .filters .search-field{flex-basis:100%}.page-distributor .facts-grid,.page-profile .facts-grid{grid-template-columns:1fr}.page-distributor .product-source,.page-profile .product-source{font-size:12px}}
@media print{.directory-notice{font-size:11px;color:#172b4d}}
