:root{color-scheme:dark;--bg: #0b1220;--surface: #111b2f;--surface-alt: #16233c;--border: #2a3a59;--text: #f8fafc;--text-muted: #94a3b8;--primary: #2563eb;--primary-strong: #1d4ed8;--success: #10b981;--danger: #ef4444;--warning: #f59e0b}*{box-sizing:border-box}html,body,#root{margin:0;min-height:100%}body{background:var(--bg);color:var(--text);font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif}a{color:inherit}h1,h2,h3,h4,p{margin:0}.admin-shell{display:grid;grid-template-columns:280px 1fr;gap:1rem;min-height:100vh;padding:1rem}.sidebar,.card{background:var(--surface);border:1px solid var(--border);border-radius:14px}.sidebar{display:flex;flex-direction:column;padding:1rem;gap:1rem}.brand{display:flex;flex-direction:column;gap:.2rem}.brand span{color:var(--text-muted);font-size:.88rem}.nav{display:flex;flex-direction:column;gap:.4rem}.nav-link{padding:.65rem .75rem;border-radius:10px;border:1px solid transparent;text-decoration:none}.nav-link.active{background:#2563eb33;border-color:var(--primary)}.content{display:flex;flex-direction:column;gap:1rem}.topbar{display:flex;justify-content:space-between;align-items:center}.topbar p{margin-top:.35rem}.stack{display:flex;flex-direction:column;gap:1rem}.grid{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}.two-col{grid-template-columns:minmax(300px,1.15fr) minmax(280px,1fr)}.kpi-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.kpi-value{font-size:1.75rem;font-weight:700;margin-top:.5rem}.card{padding:1rem}.toolbar{display:flex;justify-content:space-between;align-items:end;gap:1rem;flex-wrap:wrap}.toolbar-inline{display:flex;gap:.5rem;align-items:center;flex-wrap:wrap}.pagination-controls{display:flex;justify-content:space-between;align-items:center;gap:.75rem;flex-wrap:wrap}.field-row{display:flex;gap:.75rem}.field-label{display:flex;flex-direction:column;gap:.35rem;color:var(--text-muted);font-size:.88rem}.input{background:var(--surface-alt);border:1px solid var(--border);border-radius:10px;color:var(--text);min-height:40px;padding:.55rem .75rem;font:inherit}.input:focus-visible{outline:2px solid rgba(37,99,235,.35);border-color:var(--primary)}.textarea{min-height:90px;resize:vertical}.btn{border-radius:10px;border:1px solid transparent;padding:.5rem .8rem;font:inherit;font-weight:600;cursor:pointer;min-height:40px}.btn-primary{background:var(--primary);color:#fff}.btn-primary:hover{background:var(--primary-strong)}.btn-danger{background:var(--danger);color:#fff}.btn-danger:hover{background:#dc2626}.btn-ghost{background:transparent;border-color:var(--border);color:var(--text)}.btn-link{background:transparent;border:none;color:#93c5fd;cursor:pointer}.btn:disabled{opacity:.65;cursor:not-allowed}.muted{color:var(--text-muted)}.seller-meta{display:flex;flex-direction:column;gap:.2rem}.seller-name{font-weight:600}.table-card{overflow-x:auto}.table{width:100%;border-collapse:collapse}.table th,.table td{text-align:left;padding:.6rem;border-bottom:1px solid rgba(148,163,184,.18);vertical-align:top}.table tbody tr:hover{background:#2563eb14}.table tbody tr.row-selected{background:#2563eb33}.status{display:inline-flex;border-radius:999px;padding:.18rem .62rem;font-size:.78rem;text-transform:capitalize}.status-open,.status-pending,.status-pending_review,.status-pending-review,.status-in_progress,.status-in-progress,.status-retrying{color:#fde68a;background:#f59e0b33}.status-approved,.status-auto_approved,.status-auto-approved,.status-active,.status-resolved,.status-sent{color:#6ee7b7;background:#10b98133}.status-rejected,.status-failed,.status-suspended,.status-revoked,.status-confirmed_fraud,.status-confirmed-fraud{color:#fca5a5;background:#ef444433}.status-flagged,.status-under_investigation,.status-under-investigation,.status-escalated{color:#fcd34d;background:#fbbf2433}.status-fresh{color:#6ee7b7;background:#10b98133}.status-aging{color:#fde68a;background:#f59e0b33}.status-stale{color:#fca5a5;background:#ef444433}.image-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem}.image-link{display:block;border:1px solid var(--border);border-radius:10px;overflow:hidden;background:#0b1220}.image-link img{width:100%;height:120px;object-fit:cover}.tabs{display:flex;gap:.5rem;flex-wrap:wrap}.tab{border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:999px;padding:.45rem .8rem;cursor:pointer}.tab.active{border-color:var(--primary);background:#2563eb33}.trend-list{display:flex;flex-direction:column;gap:.5rem}.chart-wrap{width:100%;min-height:260px}.trend-row{display:grid;gap:.5rem;grid-template-columns:1fr 1fr 1fr auto;font-size:.9rem;padding:.5rem;border:1px solid rgba(148,163,184,.2);border-radius:10px}.login-shell{display:flex;justify-content:center;align-items:center;min-height:100vh;padding:1rem}.login-card{width:min(440px,100%);display:flex;flex-direction:column;gap:.6rem}.password-field{position:relative;display:flex;align-items:center}.password-input{width:100%;padding-right:5.5rem}.password-toggle{position:absolute;right:.35rem;min-height:32px;min-width:36px;padding:.25rem .4rem;border-color:#94a3b859}.password-toggle svg{width:18px;height:18px;display:block}.inline-link{font-size:.92rem;color:#93c5fd}.toast-stack{position:fixed;right:1rem;bottom:1rem;display:flex;flex-direction:column;gap:.5rem;z-index:99}.toast{border:1px solid transparent;border-radius:10px;padding:.7rem .8rem;min-width:260px;text-align:left;cursor:pointer}.toast-success{background:#10b9812e;color:#bbf7d0;border-color:#10b9818c}.toast-error{background:#ef44442e;color:#fecaca;border-color:#ef44448c}.toast-info{background:#2563eb2e;color:#bfdbfe;border-color:#2563eb8c}.error-text{color:#fecaca}.error-card{border-color:#ef444480}.error-fallback{margin:2rem;padding:1rem;border:1px solid rgba(239,68,68,.55);border-radius:12px;background:#ef44441a}.confirm-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:120;background:#0b1220a8;display:flex;align-items:center;justify-content:center;padding:1rem}.confirm-modal-card{width:min(520px,100%);border:1px solid var(--border);border-radius:14px;background:var(--surface);padding:1rem;display:flex;flex-direction:column;gap:.9rem;box-shadow:0 20px 40px #02061780}.network-graph{width:100%;height:420px;border:1px solid var(--border);border-radius:12px;overflow:hidden;background:#0b1220}.confirm-modal-actions{display:flex;justify-content:flex-end;gap:.6rem}.drawer-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:130;background:#0b1220a8;display:flex;justify-content:flex-end}.drawer-card{width:min(520px,100%);height:100%;border-left:1px solid var(--border);background:var(--surface);padding:1rem;overflow-y:auto}.drawer-header{display:flex;justify-content:space-between;align-items:flex-start;gap:.75rem}.timeline{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.6rem}.timeline-item{border:1px solid var(--border);border-left-width:4px;border-radius:10px;padding:.6rem .75rem;background:#0f172a59}.timeline-item.tone-default{border-left-color:#60a5fa}.timeline-item.tone-success{border-left-color:#34d399}.timeline-item.tone-warning{border-left-color:#f59e0b}.timeline-item.tone-danger{border-left-color:#ef4444}.timeline-title{font-weight:600}.timeline-time{font-size:.85rem;color:var(--text-muted);margin-top:.2rem;margin-bottom:.2rem}@media (max-width: 1024px){.admin-shell,.two-col{grid-template-columns:1fr}}
