*{box-sizing:border-box}html,body{margin:0;padding:0;min-height:100%;background:#f4f6fa;color:#0f172a;font-family:-apple-system,BlinkMacSystemFont,Inter,PingFang SC,Microsoft YaHei,sans-serif;-webkit-font-smoothing:antialiased}.auth-shell{min-height:100vh;display:grid;grid-template-columns:minmax(420px,46%) 1fr;background:#fff}@media(max-width:960px){.auth-shell{grid-template-columns:1fr}.auth-hero{display:none}}.auth-hero{background:radial-gradient(circle at 18% 20%,rgba(59,130,246,.24),transparent 46%),radial-gradient(circle at 85% 82%,rgba(14,165,233,.16),transparent 45%),linear-gradient(155deg,#0b192c,#102a4c 52%,#143663);color:#f8fafc;padding:48px 56px;display:flex;flex-direction:column;justify-content:center;position:relative;overflow:hidden}.auth-hero:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background-image:linear-gradient(rgba(255,255,255,.03) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.03) 1px,transparent 1px);background-size:36px 36px;pointer-events:none}.auth-hero-inner{position:relative;z-index:1;max-width:480px;display:flex;flex-direction:column;gap:36px}.brand-lockup{display:flex;align-items:center;gap:14px}.brand-mark{width:42px;height:42px;border-radius:10px;background:linear-gradient(135deg,#2563eb,#0ea5e9);color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 8px 20px #2563eb59;flex-shrink:0}.brand-mark.sm{width:34px;height:34px;border-radius:8px}.brand-name{font-size:18px;font-weight:700;letter-spacing:-.01em;color:#fff}.brand-tagline{font-size:12px;color:#93c5fd;margin-top:2px}.hero-copy h2{margin:0 0 14px;font-size:30px;line-height:1.32;font-weight:700;letter-spacing:-.02em;color:#fff}.hero-copy p{margin:0;font-size:14.5px;line-height:1.75;color:#cbd5e1}.hero-features{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:18px}.hero-features li{display:flex;align-items:flex-start;gap:12px}.feat-dot{width:8px;height:8px;border-radius:50%;background:#38bdf8;box-shadow:0 0 0 4px #38bdf82e;margin-top:6px;flex-shrink:0}.hero-features strong{display:block;font-size:14px;font-weight:600;color:#f8fafc;margin-bottom:3px}.hero-features span{display:block;font-size:12.5px;color:#94a3b8;line-height:1.5}.hero-footer{font-size:12px;color:#64748b;padding-top:12px;border-top:1px solid rgba(148,163,184,.18)}.auth-main{display:flex;align-items:center;justify-content:center;padding:40px 24px;background:#f8fafc}.auth-card{width:100%;max-width:420px;background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:36px 34px;box-shadow:0 12px 36px #0f172a0f}.auth-card-head h1{margin:0;font-size:22px;font-weight:700;color:#0f172a}.auth-card-head .sub{margin:6px 0 22px;font-size:13px;color:#64748b}.auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;background:#f1f5f9;padding:4px;border-radius:10px;margin-bottom:22px}.auth-tabs button{background:transparent;color:#475569;border:none;border-radius:7px;padding:8px 12px;font-size:13.5px;font-weight:500;cursor:pointer;transition:all .15s ease}.auth-tabs button.active{background:#fff;color:#1d4ed8;font-weight:600;box-shadow:0 1px 3px #0f172a1a}.auth-form{display:flex;flex-direction:column;gap:15px}.field-group{display:flex;flex-direction:column;gap:6px}.field-group label{font-size:13px;font-weight:500;color:#334155}.field-group input{width:100%;height:42px;padding:0 12px;background:#fff;border:1px solid #cbd5e1;border-radius:8px;color:#0f172a;font-size:14px;transition:border-color .15s,box-shadow .15s}.field-group input:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1f}.field-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:10px}.auth-submit{width:100%;height:44px;margin-top:6px;font-size:14.5px;font-weight:600;border-radius:8px;box-shadow:0 4px 12px #1d4ed840}.app-shell{min-height:100vh;display:grid;grid-template-columns:244px minmax(0,1fr);background:#f4f6fa}@media(max-width:900px){.app-shell{grid-template-columns:1fr}.sidebar{position:static;height:auto}}.sidebar{background:#0f172a;color:#e2e8f0;display:flex;flex-direction:column;padding:20px 14px;position:sticky;top:0;height:100vh;border-right:1px solid #1e293b}.sidebar-brand{display:flex;align-items:center;gap:11px;padding:2px 8px 18px;border-bottom:1px solid rgba(148,163,184,.14);margin-bottom:14px}.sb-title{font-size:15.5px;font-weight:700;color:#fff;letter-spacing:-.01em}.sb-sub{font-size:11px;color:#94a3b8;margin-top:1px}.side-nav{flex:1;overflow-y:auto;display:flex;flex-direction:column;gap:3px}.nav-group-label{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:#64748b;padding:10px 10px 4px}.side-nav button{display:flex;align-items:center;justify-content:space-between;width:100%;background:transparent;border:none;color:#cbd5e1;padding:9px 11px;border-radius:8px;font-size:13px;font-weight:500;cursor:pointer;text-align:left;transition:background .15s,color .15s}.side-nav button:hover{background:#ffffff0f;color:#fff}.side-nav button.active{background:#1d4ed8;color:#fff;font-weight:600}.nav-pill{font-size:11px;padding:1px 7px;border-radius:999px;background:#94a3b829;color:#cbd5e1}.side-nav button.active .nav-pill{background:#ffffff38;color:#fff}.sidebar-user{margin-top:12px;padding:12px 10px 4px;border-top:1px solid rgba(148,163,184,.16)}.user-row{display:flex;align-items:center;gap:10px}.user-avatar{width:34px;height:34px;border-radius:999px;background:linear-gradient(135deg,#2563eb,#0284c7);color:#fff;font-weight:700;font-size:14px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.user-meta{min-width:0}.user-name{font-size:13px;font-weight:600;color:#f8fafc;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-sub{font-size:11px;color:#94a3b8}.user-shop{margin-top:8px;font-size:11.5px;color:#93c5fd;background:#2563eb29;padding:4px 8px;border-radius:6px}.sidebar-user-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:10px}.sb-btn{background:#ffffff14;color:#e2e8f0;border:1px solid rgba(148,163,184,.2);border-radius:6px;padding:5px 8px;font-size:12px;cursor:pointer}.sb-btn:hover{background:#ffffff24}.sb-btn.danger{color:#fca5a5;border-color:#ef444459}.sb-btn.danger:hover{background:#ef444433}.main-wrap{min-width:0;display:flex;flex-direction:column}.topbar{position:sticky;top:0;z-index:20;background:#fff;border-bottom:1px solid #e5e7eb;padding:14px 28px;display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}.topbar h1{margin:0;font-size:18px;font-weight:700;color:#0f172a}.sub{margin:3px 0 0;color:#64748b;font-size:12.5px}.top-right{display:flex;gap:8px;align-items:center}.content-body{padding:22px 28px 36px;max-width:1440px;width:100%}.profile-drawer{margin-bottom:18px;border-color:#93c5fd!important;background:#f8fbff!important}.inline-check{display:inline-flex;align-items:center;gap:8px;margin:12px 0;font-size:13px;color:#334155;cursor:pointer}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;margin-bottom:18px}.stat-card{background:#fff;border:1px solid #e5e7eb;border-top:3px solid #cbd5e1;border-radius:10px;padding:14px 16px;display:flex;flex-direction:column;gap:6px;box-shadow:0 1px 2px #0f172a0a}.stat-card.accent-green{border-top-color:#16a34a}.stat-card.accent-blue{border-top-color:#2563eb}.stat-card.accent-amber{border-top-color:#d97706}.stat-card span{font-size:12px;font-weight:500;color:#64748b}.stat-card strong{font-size:24px;font-weight:700;color:#0f172a;font-variant-numeric:tabular-nums}.stat-card strong.green{color:#16a34a}.stat-card strong.blue{color:#2563eb}.stat-card strong.amber{color:#d97706}.toast{padding:10px 14px;border-radius:8px;margin-bottom:16px;font-size:13px;font-weight:500}.toast.ok{background:#ecfdf5;border:1px solid #86efac;color:#166534}.toast.err{background:#fef2f2;border:1px solid #fca5a5;color:#991b1b}.two-col{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px}@media(max-width:1100px){.two-col{grid-template-columns:1fr}}.card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:20px;box-shadow:0 1px 3px #0f172a0a}.card h2{margin:0 0 14px;font-size:15.5px;font-weight:700;color:#0f172a}.section-sub{margin:20px 0 10px;font-size:13.5px;font-weight:600;color:#475569}.presets{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:14px}.chip{background:#f1f5f9;color:#334155;border:1px solid #cbd5e1;border-radius:999px;padding:4px 11px;font-size:12px;font-weight:500;cursor:pointer;transition:all .15s}.chip:hover{border-color:#2563eb;color:#1d4ed8;background:#eff6ff}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.form-grid label{display:flex;flex-direction:column;gap:5px;font-size:12.5px;font-weight:500;color:#475569}.form-grid label.full{grid-column:span 2}input,select,textarea{background:#fff;color:#0f172a;border:1px solid #cbd5e1;border-radius:7px;padding:8px 10px;font-size:13px;transition:border-color .15s,box-shadow .15s}input:focus,select:focus,textarea:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1f}.checks{display:flex;gap:18px;flex-wrap:wrap;margin:14px 0;font-size:13px;color:#334155}.actions,.item-actions{display:flex;gap:8px;flex-wrap:wrap}.btn-primary,.btn-primary-sm{background:#1d4ed8;color:#fff;border:1px solid #1d4ed8;border-radius:7px;padding:8px 15px;cursor:pointer;font-size:13px;font-weight:500;transition:background .15s}.btn-primary:hover,.btn-primary-sm:hover{background:#1e40af}.btn-primary:disabled,.btn-primary-sm:disabled{opacity:.6;cursor:not-allowed}.btn-primary-sm{padding:5px 11px;font-size:12px}.btn-ghost{background:#fff;color:#334155;border:1px solid #cbd5e1;border-radius:7px;padding:6px 12px;cursor:pointer;font-size:12.5px;font-weight:500;transition:all .15s}.btn-ghost:hover{background:#f8fafc;border-color:#94a3b8;color:#0f172a}.btn-danger{background:#fef2f2;color:#dc2626;border:1px solid #fecaca;border-radius:7px;padding:5px 11px;cursor:pointer;font-size:12px;font-weight:500}.btn-danger:hover{background:#fee2e2;border-color:#f87171}.list{display:flex;flex-direction:column;gap:10px}.item-card,.product-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:14px 16px}.product-card{display:flex;gap:14px}.thumb{width:86px;height:86px;object-fit:cover;border-radius:8px;border:1px solid #e2e8f0;flex-shrink:0}.prod-body{flex:1;min-width:0}.item-top{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap}.badge{display:inline-block;padding:2px 8px;border-radius:999px;font-size:11px;font-weight:600;margin-left:6px;background:#e2e8f0;color:#334155}.badge.green{background:#dcfce7;color:#166534}.badge.blue{background:#dbeafe;color:#1e40af}.badge.amber{background:#fef3c7;color:#92400e}.badge.red{background:#fee2e2;color:#991b1b}.code-tag{background:#eff6ff;color:#1d4ed8;border:1px solid #bfdbfe;padding:2px 7px;border-radius:5px;font-size:12px;font-weight:600;margin-right:6px}.meta-line{display:flex;gap:14px;flex-wrap:wrap;font-size:12px;color:#64748b;margin-top:6px}.meta-inline{font-size:12px;color:#64748b}.desc,.hint,.ai-summary{font-size:12.5px;color:#475569;margin:6px 0;line-height:1.55}.issue-desc{margin:8px 0;white-space:pre-wrap;color:#0f172a;font-size:13.5px;line-height:1.6}.issue-warn{margin-top:6px;font-size:12px;color:#dc2626;background:#fef2f2;border:1px solid #fecaca;border-radius:6px;padding:5px 8px}.opt-title{font-size:13px;font-weight:500;color:#15803d;margin-top:4px}.scene-row{display:flex;align-items:center;gap:8px;margin:6px 0;font-size:12px;color:#475569}.prompt-box{width:100%;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px}.filter-bar{display:flex;gap:8px;margin-bottom:14px;flex-wrap:wrap}.filter-bar input{flex:1;min-width:220px}.risk-row{margin-top:6px;display:flex;gap:6px;flex-wrap:wrap}.empty{color:#64748b;font-size:13px;padding:28px 16px;text-align:center;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:10px}.err-text{color:#dc2626;font-size:12px}.json-pre{background:#0f172a;color:#e2e8f0;border:1px solid #1e293b;border-radius:8px;padding:12px;font-size:12px;overflow-x:auto;white-space:pre-wrap;word-break:break-word}.progress-panel{margin-top:8px;padding:10px 12px;background:#fff;border:1px solid #dbeafe;border-radius:8px}.progress-head{display:flex;justify-content:space-between;font-size:12px;color:#0f172a;margin-bottom:6px}.progress-track{height:6px;background:#e2e8f0;border-radius:999px;overflow:hidden}.progress-fill{height:100%;background:#2563eb;transition:width .3s ease}.progress-fill.done{background:#16a34a}.progress-fill.error{background:#dc2626}.progress-detail{font-size:11.5px;color:#64748b;margin-top:4px}
