:root{color-scheme:light;font-family:Inter,PingFang SC,Microsoft YaHei,system-ui,sans-serif;color:#172033;background:#f4f7fb;font-synthesis:none;--ink: #172033;--muted: #6b768a;--line: #e3e9f2;--blue: #315efb;--blue-dark: #2448c5;--teal: #0f9f91;--red: #d9485f;--amber: #b97800;--panel: #ffffff;--shadow: 0 16px 40px rgba(38, 55, 85, .08)}*{box-sizing:border-box}body{margin:0;min-width:320px;background:linear-gradient(135deg,#f8fbff,#f4f7fb 48%,#eef4ff)}button,input,select{font:inherit}button{cursor:pointer}.topbar{display:flex;gap:28px;align-items:center;justify-content:space-between;padding:24px clamp(18px,4vw,64px) 16px;background:#ffffffe6;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:10;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.brand-block{display:flex;gap:12px;align-items:center;min-width:280px}.brand-mark{width:42px;height:42px;display:grid;place-items:center;color:#fff;font-weight:800;letter-spacing:-.06em;border-radius:13px;background:linear-gradient(145deg,#315efb,#27a49a);box-shadow:0 8px 18px #315efb3d}h1,h2,h3,p{margin:0}h1{font-size:21px;letter-spacing:-.02em}h2{font-size:20px;letter-spacing:-.02em}h3{font-size:15px}.eyebrow{font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin-bottom:4px}.controls{display:flex;gap:12px;justify-content:center;flex:1}.controls label{display:grid;gap:5px;font-size:12px;color:var(--muted)}select{min-width:170px;border:1px solid var(--line);border-radius:10px;padding:9px 12px;color:var(--ink);background:#fff}.privacy-note{color:#42766d;font-size:12px;white-space:nowrap}.dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#30b78e;margin-right:6px}.tabs{display:flex;gap:5px;padding:0 clamp(18px,4vw,64px);background:#ffffffe6;border-bottom:1px solid var(--line)}.tab-button{border:0;background:transparent;padding:13px 15px 12px;color:var(--muted);border-bottom:2px solid transparent;font-weight:650}.tab-button.active{color:var(--blue);border-bottom-color:var(--blue)}.main-content{width:min(1440px,calc(100% - 36px));margin:28px auto 48px}.page-stack{display:grid;gap:20px}.panel,.store-summary{background:var(--panel);border:1px solid rgba(223,231,243,.9);border-radius:20px;padding:22px;box-shadow:var(--shadow)}.section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:20px}.section-subtitle{color:var(--muted);font-size:13px;margin-top:7px;line-height:1.6}.muted{color:var(--muted);font-size:12px}.small{font-size:11px;margin-top:4px}.metric-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.metric-card{min-height:112px;padding:15px;background:#f8faff;border:1px solid #ebf0f7;border-radius:14px}.metric-card.good{background:#effbf7;border-color:#d4f2e8}.metric-card.warning{background:#fff8e8;border-color:#ffe5ad}.metric-card.muted{background:#f6f7f9}.metric-label{color:var(--muted);font-size:12px}.metric-value{font-size:22px;font-weight:750;margin:12px 0 7px;letter-spacing:-.03em}.metric-detail{color:var(--muted);font-size:11px}.kpi-overview-panel{overflow:hidden}.kpi-overview-actions,.kpi-manage-actions{display:flex;align-items:end;gap:9px;flex-wrap:wrap}.kpi-overview-actions label,.kpi-manage-actions label{display:grid;gap:5px;color:var(--muted);font-size:12px}.kpi-progress-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.kpi-progress-card,.kpi-leader-card{padding:16px;border:1px solid var(--line);border-radius:15px;background:#fbfcff}.kpi-card-heading{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.kpi-card-heading>div{display:grid;gap:4px}.kpi-card-heading strong{font-size:16px}.kpi-card-heading span,.kpi-data-note{color:var(--muted);font-size:12px}.kpi-data-note{margin-top:8px;line-height:1.5}.kpi-metric-grid{display:grid;grid-template-columns:repeat(5,minmax(115px,1fr));gap:8px;margin-top:13px;overflow-x:auto}.kpi-metric{display:grid;gap:5px;min-width:115px;padding:10px;border-radius:11px;background:#f4f7fc}.kpi-metric>span,.kpi-metric small{color:var(--muted);font-size:11px;line-height:1.35}.kpi-metric strong{font-size:16px;white-space:nowrap}.kpi-metric .status-badge{width:fit-content;margin-top:2px}.kpi-leader-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:14px}.kpi-leader-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px 14px}.kpi-leader-card p,.kpi-leader-card details{grid-column:1 / -1;color:var(--muted);font-size:12px;line-height:1.6}.kpi-responsibilities{white-space:pre-line;color:#46546b;margin-top:7px;line-height:1.6}.kpi-table{min-width:2450px}.kpi-table th{line-height:1.35}.kpi-table td{min-width:120px}.kpi-table td:nth-child(3){min-width:190px}.kpi-table td:nth-child(5){min-width:180px}.kpi-table td:nth-child(14){min-width:310px}.kpi-input,.kpi-textarea{width:100%;min-width:92px;border:1px solid #d8e0ec;border-radius:8px;padding:7px 8px;color:var(--ink);background:#fff;font-size:12px}.kpi-input:focus,.kpi-textarea:focus{outline:2px solid rgba(49,94,251,.18);border-color:#9db2ff}.kpi-textarea{min-height:68px;resize:vertical;line-height:1.5;margin-bottom:7px}.kpi-unit{color:var(--muted);font-size:11px;margin-top:5px;line-height:1.35}.kpi-table .status-badge{margin-top:7px}.table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:14px}table{width:100%;border-collapse:collapse;min-width:720px;font-size:13px}th{background:#f7f9fc;color:var(--muted);text-align:left;font-weight:650;white-space:nowrap}th,td{padding:12px 13px;border-bottom:1px solid #edf0f5;vertical-align:top}tbody tr:last-child td{border-bottom:0}.comparison-heading{align-items:center}.comparison-legend{display:flex;align-items:center;gap:12px;flex-wrap:wrap;color:var(--muted);font-size:12px}.comparison-legend span{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}.comparison-legend span:before{content:"";width:8px;height:8px;border-radius:50%;background:currentColor}.legend-current{color:var(--blue);font-weight:700}.legend-previous{color:#8792a5}.legend-up{color:#16846d}.legend-down{color:var(--red)}.comparison-table{min-width:1320px;font-size:15px}.comparison-table th{padding:16px 15px;line-height:1.35;font-size:14px;color:#59677e}.comparison-table td{padding:17px 15px}.comparison-table tbody tr:nth-child(2n){background:#fbfcff}.comparison-table tbody tr:hover{background:#f4f7ff}.comparison-store{min-width:190px;font-size:16px;color:var(--ink)}.comparison-date{min-width:185px}.comparison-date>div{display:grid;gap:3px;margin-bottom:10px}.comparison-date>div:last-child{margin-bottom:0}.comparison-date span{color:var(--muted);font-size:11px}.comparison-date strong{font-size:14px;font-weight:700;color:var(--ink);white-space:nowrap}.comparison-pair{display:grid;gap:5px;min-width:145px;white-space:nowrap}.comparison-current{color:var(--blue-dark);font-size:20px;line-height:1.15;font-weight:800;letter-spacing:-.02em}.comparison-previous{color:#77849a;font-size:13px;line-height:1.2}.comparison-change{font-size:12px;line-height:1.2;font-weight:700}.comparison-change.up{color:#16846d}.comparison-change.down{color:var(--red)}.comparison-change.flat{color:#8a95a7;font-weight:600}.strong{font-weight:700}.product-name{max-width:250px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.product-cell{min-width:285px;max-width:340px}.product-table .product-name{max-width:330px;white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;line-height:1.45}.product-key{display:flex;align-items:center;gap:6px;margin-top:6px;color:var(--muted);font-size:11px;white-space:nowrap}.product-key .mono{color:var(--ink)}.product-edit-name .grid-input{width:min(100%,250px)}.mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px}.status-badge{display:inline-flex;align-items:center;border-radius:999px;padding:4px 8px;font-size:11px;line-height:1;white-space:nowrap;background:#eef1f6;color:#667287}.status-badge.info{background:#eaf0ff;color:#315efb}.status-badge.good{background:#e3f8ef;color:#177b64}.status-badge.warning{background:#fff0c7;color:#996400}.status-badge.danger{background:#ffe4e8;color:#c23851}.status-badge.muted{background:#f0f2f5;color:#7c8695}.alert-list{display:grid;gap:10px}.alert-card{display:grid;grid-template-columns:minmax(180px,1fr) auto minmax(220px,1.4fr);align-items:center;gap:14px;padding:14px 15px;border:1px solid var(--line);border-left:4px solid #b7c3d9;border-radius:13px;background:#fbfcfe}.alert-card.warning{border-left-color:#e0a12d}.alert-card.danger{border-left-color:var(--red)}.alert-card.good{border-left-color:var(--teal)}.alert-card.info{border-left-color:var(--blue)}.alert-main{min-width:0}.alert-tags{display:flex;flex-wrap:wrap;gap:5px}.alert-reason,.reason{color:#46546b;font-size:12px;line-height:1.55}.quiet-state{padding:30px 10px;text-align:center;color:var(--muted);font-size:13px}.summary-pills,.button-row{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.summary-pills span,.warning-pill{padding:7px 10px;border-radius:999px;background:#f0f3f8;color:#647088;font-size:12px}.summary-pills .warning-pill{background:#fff0c7;color:#996400}.negative{color:var(--red);font-weight:700}.positive{color:var(--teal);font-weight:700}.product-analysis-panel{overflow:hidden}.product-analysis-heading{margin-bottom:18px}.product-table{min-width:1900px}.product-table th{line-height:1.35}.product-table-wrap{max-height:min(68vh,760px);overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable both-edges}.product-table thead th{position:sticky;top:0;z-index:2;background:#f7f9fc;box-shadow:0 1px #dfe6f0,0 4px 10px #2637550d}.product-table th:first-child{min-width:190px}.product-table th:nth-child(2){min-width:360px}.product-table th:nth-child(3),.product-table th:nth-child(4){min-width:110px}.product-table th:nth-child(5),.product-table th:nth-child(6){min-width:145px}.product-table .product-metric{white-space:nowrap;font-variant-numeric:tabular-nums}.product-filter-title{margin-bottom:8px}.product-filter-select,.product-filter-field,.product-filter-input{min-width:0;width:100%;padding:7px 9px;border:1px solid #d7e0ed;border-radius:8px;background:#fff;color:var(--ink);font-size:12px;font-weight:500}.product-filter-select{width:170px}.product-filter-controls{display:flex;align-items:center;gap:7px;min-width:330px}.product-filter-field{width:108px;flex:0 0 108px}.product-filter-input{flex:1 1 180px}.product-filter-select:focus,.product-filter-field:focus,.product-filter-input:focus{outline:2px solid rgba(49,94,251,.18);border-color:#9db2ff}.product-empty-cell{height:180px;text-align:center;vertical-align:middle;color:var(--muted)}.product-empty-cell strong,.product-empty-cell span{display:block}.product-empty-cell strong{color:var(--ink);font-size:14px;margin-bottom:6px}.product-empty-cell span{margin-bottom:12px}.product-date-hint{display:block;margin-top:4px;color:#8a95a7;font-size:11px;font-weight:500}.product-table .order-current{color:var(--blue-dark);font-size:16px;font-weight:800}.product-table .order-previous{color:#77849a;font-size:15px;font-weight:650}.product-table .order-change{white-space:nowrap;font-size:14px}.product-table tr.has-alert{background:#fffdf8}details{margin-top:8px;color:var(--blue);font-size:12px}details summary{cursor:pointer}details ol{margin:8px 0 0 17px;padding:0;color:#4f5d74;line-height:1.65}.primary-button,.secondary-button,.danger-button,.file-button{border-radius:10px;padding:9px 13px;font-weight:650;font-size:12px;border:1px solid transparent}.primary-button,.file-button{background:var(--blue);color:#fff}.primary-button:hover,.file-button:hover{background:var(--blue-dark)}.secondary-button{background:#fff;color:var(--blue);border-color:#cad6ff}.danger-button{background:#fff;color:var(--red);border-color:#ffd0d7}.upload-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.upload-card{display:flex;gap:13px;padding:17px;border:1px solid var(--line);border-radius:15px;background:#fbfcff}.upload-icon{flex:none;width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:#eaf0ff;color:var(--blue);font-weight:800}.upload-copy{display:grid;gap:10px}.upload-copy p{color:var(--muted);font-size:12px;line-height:1.55;min-height:38px}.file-button{display:inline-flex;width:fit-content;align-items:center}.file-history{margin-top:23px;display:grid;gap:8px}.file-history h3{margin-bottom:2px}.file-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid var(--line);border-radius:10px}.file-row-content{display:grid;gap:3px;min-width:0}.file-row-actions{display:flex;align-items:center;gap:9px;flex:none}.file-delete-button{border:1px solid #ffd0d7;border-radius:8px;padding:5px 9px;background:#fff;color:var(--red);font-size:11px;cursor:pointer}.file-delete-button:hover{background:#fff0f2}.file-detail{display:block;color:var(--muted);font-size:12px;line-height:1.5;max-width:720px}.rule-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.rule-grid>div{padding:14px;border-radius:12px;background:#f7f9fc}.rule-grid p{color:var(--muted);font-size:12px;line-height:1.6;margin-top:7px}.grid-input{width:100px;border:1px solid #d8e0ec;border-radius:7px;padding:6px 7px;color:var(--ink);background:#fff}.manage-table{min-width:1200px}.notice{width:min(1440px,calc(100% - 36px));margin:14px auto 0;border-radius:12px;padding:11px 14px;font-size:13px}.notice.success{color:#16715f;background:#e7f8f1;border:1px solid #c7eee0}.notice.warning{color:#8a5b00;background:#fff5d9;border:1px solid #ffe6a2}.notice.error{color:#b82d49;background:#fff0f2;border:1px solid #ffd0d7}.empty-state{display:grid;place-items:center;text-align:center;min-height:430px;padding:45px 20px;border:1px dashed #cbd5e4;border-radius:20px;background:#ffffffb8}.empty-icon{width:54px;height:54px;display:grid;place-items:center;border-radius:18px;background:#eaf0ff;color:var(--blue);font-size:30px;margin-bottom:12px}.empty-state p{max-width:420px;color:var(--muted);margin:8px 0 20px;line-height:1.7;font-size:13px}.footer{text-align:center;color:#8691a3;font-size:12px;padding:0 18px 30px}@media(max-width:1080px){.metric-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.kpi-progress-grid,.kpi-leader-grid{grid-template-columns:1fr}.topbar{flex-wrap:wrap}.controls{order:3;flex-basis:100%;justify-content:flex-start}.upload-grid,.rule-grid{grid-template-columns:1fr}}@media(max-width:640px){.topbar{padding:18px;gap:16px}.brand-block{min-width:0}.privacy-note{width:100%}.tabs{padding:0 12px;overflow-x:auto}.main-content{width:min(100% - 24px,1440px);margin-top:18px}.panel,.store-summary{padding:16px;border-radius:16px}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.metric-value{font-size:19px}.section-heading{flex-direction:column}.kpi-overview-actions,.kpi-manage-actions{width:100%;align-items:stretch}.kpi-overview-actions label,.kpi-manage-actions label,.kpi-overview-actions button,.kpi-manage-actions button{flex:1 1 145px}.kpi-metric-grid{grid-template-columns:repeat(5,minmax(120px,1fr))}.product-table-wrap{max-height:min(62vh,560px)}.product-filter-select{width:100%}.product-filter-controls{min-width:250px;align-items:stretch;flex-direction:column}.product-filter-field,.product-filter-input{width:100%;flex-basis:auto}.alert-card{grid-template-columns:1fr;gap:8px}.controls{width:100%}select{min-width:0;width:100%}.controls label{flex:1}.file-row{align-items:flex-start;flex-direction:column}.file-row-actions{width:100%;justify-content:space-between}}
