:root{color:#1d2433;background:#f5f6f8;font-family:Inter,Microsoft YaHei,PingFang SC,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{min-width:320px;margin:0}a{color:inherit;text-decoration:none}button,input{font:inherit}main{width:min(1440px,100%);margin:0 auto;padding:28px}.topbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}.topbar-actions{display:flex;align-items:center;gap:12px}.page-nav{display:inline-flex;overflow:hidden;border:1px solid #d8dde8;border-radius:8px;background:#fff}.page-nav button{min-height:40px;padding:0 14px;border:0;border-right:1px solid #edf0f5;background:transparent;color:#596174;cursor:pointer}.page-nav button:last-child{border-right:0}.page-nav button.active{background:#ff2442;color:#fff;font-weight:700}.eyebrow{margin:0 0 6px;color:#ff2442;font-size:13px;font-weight:700}h1{margin:0;color:#111827;font-size:30px;line-height:1.15;letter-spacing:0}.refresh-button,.primary-link,.icon-link{display:inline-flex;align-items:center;justify-content:center;border:1px solid #d8dde8;background:#fff;color:#253044;cursor:pointer;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}.refresh-button{min-height:40px;gap:8px;padding:0 14px;border-radius:8px}.refresh-button:hover,.primary-link:hover,.icon-link:hover{border-color:#ff7a8e;box-shadow:0 8px 20px #ff244224;transform:translateY(-1px)}.refresh-button:disabled,.primary-link.disabled{cursor:not-allowed;opacity:.6;transform:none}.summary-band{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;overflow:hidden;margin-bottom:16px;border:1px solid #e6e9ef;border-radius:8px;background:#e6e9ef}.summary-band>div{min-height:78px;padding:16px;background:#fff}.summary-band span{display:block;margin-bottom:8px;color:#7b8496;font-size:13px}.summary-band strong{color:#111827;font-size:19px;line-height:1.25}.summary-band .health-ok strong{color:#0f9f6e}.summary-band .health-warn strong{color:#d97706}.toolbar{display:flex;align-items:center;gap:14px;margin-bottom:16px}.search-box{display:flex;align-items:center;width:min(460px,100%);min-height:44px;gap:10px;padding:0 14px;border:1px solid #dfe3eb;border-radius:8px;background:#fff;color:#7b8496}.search-box input{width:100%;border:0;outline:0;color:#1d2433;background:transparent}.notice{display:flex;align-items:center;gap:10px;margin-bottom:16px;padding:12px 14px;border:1px solid #fed7aa;border-radius:8px;background:#fff7ed;color:#9a3412}.notice.error{border-color:#fecdd3;background:#fff1f2;color:#be123c}.product-grid,.shop-grid,.loading-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:18px}.product-card{overflow:hidden;border:1px solid #e3e7ee;border-radius:8px;background:#fff;box-shadow:0 10px 28px #1118270f;cursor:pointer;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}.shop-card{min-height:248px;padding:18px;border:1px solid #e3e7ee;border-radius:8px;background:#fff;box-shadow:0 10px 28px #1118270f;cursor:pointer;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}.shop-card:hover,.shop-card:focus-visible{border-color:#ff9aac;box-shadow:0 16px 34px #ff24421f;outline:none;transform:translateY(-2px)}.shop-card-header{display:flex;align-items:center;gap:12px;min-height:58px;margin-bottom:16px}.shop-avatar{display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;flex:0 0 auto;border-radius:8px;background:#fff1f2;color:#ff2442}.shop-card-header h2{display:-webkit-box;margin:0 0 5px;overflow:hidden;color:#111827;font-size:18px;line-height:1.35;-webkit-box-orient:vertical;-webkit-line-clamp:2}.shop-card-header span{color:#7b8496;font-size:13px}.product-card:hover,.product-card:focus-visible{border-color:#ff9aac;box-shadow:0 16px 34px #ff24421f;outline:none;transform:translateY(-2px)}.product-image{aspect-ratio:4 / 3;background:#edf1f5}.product-image img{display:block;width:100%;height:100%;object-fit:contain}.image-placeholder{display:grid;width:100%;height:100%;place-items:center;align-content:center;gap:8px;color:#8a94a6}.product-content{padding:15px}.product-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:start;min-height:58px}.product-heading h2{display:-webkit-box;min-width:0;min-height:48px;margin:0;overflow:hidden;color:#111827;font-size:17px;line-height:1.4;letter-spacing:0;-webkit-box-orient:vertical;-webkit-line-clamp:2}.price{min-width:72px;color:#ff2442;font-size:18px;font-weight:800;line-height:1.3;text-align:right;word-break:break-word}.metrics-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:14px 0}.metric{min-height:64px;padding:10px;border:1px solid #eef1f5;border-radius:8px;background:#fafbfc}.metric span{display:block;margin-bottom:6px;color:#7b8496;font-size:12px}.metric strong{display:block;overflow:hidden;color:#161d2d;font-size:18px;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.shop-line{display:flex;align-items:center;min-width:0;gap:8px;margin-bottom:14px;color:#596174}.shop-line span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.card-actions{display:flex;align-items:center;gap:8px}.primary-link{flex:1;min-height:40px;gap:8px;border-color:#ff2442;border-radius:8px;background:#ff2442;color:#fff;font-weight:700}.primary-link:hover{border-color:#e01f3b;background:#e01f3b}.primary-link.disabled{border-color:#d8dde8;background:#eef1f5;color:#7b8496}.icon-link{width:40px;height:40px;flex:0 0 auto;border-radius:8px}.skeleton-card{min-height:430px;overflow:hidden;border-radius:8px;background:linear-gradient(90deg,#eef1f5 25%,#f7f8fa 37%,#eef1f5 63%);background-size:400% 100%;animation:shimmer 1.2s ease-in-out infinite}.empty-state{display:grid;place-items:center;gap:8px;min-height:220px;margin-top:18px;border:1px dashed #cfd5df;border-radius:8px;color:#747d8f}.empty-state strong{color:#1d2433}.back-button{display:inline-flex;align-items:center;gap:8px;min-height:40px;margin-bottom:14px;padding:0 14px;border:1px solid #d8dde8;border-radius:8px;background:#fff;color:#253044;cursor:pointer}.detail-hero{display:grid;grid-template-columns:280px minmax(0,1fr);gap:22px;margin-bottom:16px;overflow:hidden;border:1px solid #e3e7ee;border-radius:8px;background:#fff;box-shadow:0 10px 28px #1118270f}.shop-detail-hero{grid-template-columns:1fr}.detail-image{min-height:280px;background:#edf1f5}.detail-image img{display:block;width:100%;height:100%;object-fit:contain}.detail-main{padding:22px 22px 22px 0}.detail-main.full{padding:22px}.detail-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}.detail-title-row h1{max-width:860px;font-size:22px;line-height:1.35}.detail-title-row p{margin:8px 0 0;color:#596174}.watch-pill{display:inline-flex;align-items:center;flex:0 0 auto;gap:6px;min-height:34px;padding:0 12px;border-radius:999px;background:#fff7ed;color:#d97706;font-size:13px;font-weight:700}.detail-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;overflow:hidden;margin-bottom:18px;border:1px solid #edf0f5;border-radius:8px;background:#edf0f5}.detail-fields>div{min-height:82px;padding:14px;background:#fff}.detail-fields span{display:block;margin-bottom:8px;color:#8a94a6;font-size:12px}.detail-fields strong{display:block;overflow:hidden;color:#111827;font-size:15px;line-height:1.4;text-overflow:ellipsis;white-space:nowrap}.detail-fields .red-value{color:#ff2442}.detail-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding-top:14px;border-top:1px solid #edf0f5}.secondary-link{display:inline-flex;align-items:center;min-height:38px;padding:0 14px;border:1px solid #dfe3eb;border-radius:8px;background:#fff;color:#253044;font-size:14px}.secondary-link:hover{border-color:#ff9aac;color:#ff2442}.detail-metrics-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:16px}.detail-metric{min-height:110px;padding:18px 20px;border:1px solid #e3e7ee;border-left:4px solid #a5adbb;border-radius:8px;background:#fff;box-shadow:0 10px 24px #1118270d}.detail-metric.green{border-left-color:#10b981}.detail-metric.blue{border-left-color:#4f7cff}.detail-metric.red{border-left-color:#ff2442}.detail-metric span{display:block;margin-bottom:10px;color:#8a94a6;font-size:13px}.detail-metric strong{display:block;color:#111827;font-size:28px;line-height:1.1}.detail-metric.green strong{color:#10b981}.detail-metric.blue strong{color:#4f7cff}.detail-metric.red strong{color:#ff2442}.detail-metric small{display:block;margin-top:9px;color:#8a94a6}.chart-panel{padding:22px 26px 18px;border:1px solid #e3e7ee;border-radius:8px;background:#fff;box-shadow:0 10px 28px #1118270f}.chart-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}.chart-header h2{margin:0;color:#111827;font-size:20px;letter-spacing:0}.range-tabs{display:inline-flex;overflow:hidden;border:1px solid #edf0f5;border-radius:8px;background:#f7f8fa}.range-tabs span,.range-tabs strong{min-width:56px;padding:8px 12px;color:#8a94a6;font-size:13px;text-align:center}.range-tabs strong{background:#fff;color:#111827;box-shadow:0 4px 12px #1118270f}.sales-chart{display:block;width:100%;min-height:260px}.chart-axis{fill:#9aa3b2;font-size:13px}.chart-empty{display:grid;min-height:260px;place-items:center;align-content:center;gap:8px;color:#8a94a6}.chart-empty strong{color:#253044}@keyframes shimmer{0%{background-position:100% 0}to{background-position:0 0}}@media (max-width: 820px){main{padding:18px}.topbar{align-items:flex-start;flex-direction:column}.topbar-actions{width:100%;align-items:stretch;flex-direction:column}.page-nav,.refresh-button{width:100%}.page-nav button{flex:1}.summary-band{grid-template-columns:repeat(2,minmax(0,1fr))}.detail-hero{grid-template-columns:1fr}.detail-main{padding:0 18px 18px}.detail-image{min-height:320px}.detail-title-row,.chart-header{align-items:flex-start;flex-direction:column}.detail-fields,.detail-metrics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 560px){.summary-band,.product-grid,.shop-grid,.loading-grid,.metrics-grid,.detail-fields,.detail-metrics-grid{grid-template-columns:1fr}.detail-image{min-height:260px}}
