:root{--bg:#0f172a;--fg:#e5e7eb;--muted:#94a3b8;--card:#111827;--border:#374151;--ok:#22c55e}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--fg);font-family:system-ui,-apple-system,Segoe UI,Roboto,"Noto Sans","PingFang TC","Microsoft JhengHei",sans-serif}
.wrap{max-width:1000px;margin:0 auto;padding:20px}
.row{display:flex;align-items:center}
.row.gap>*{margin-left:10px}.row.gap>*:first-child{margin-left:0}
.row.between{justify-content:space-between}
.row.wrap{flex-wrap:wrap}
.card{background:var(--card);border:1px solid var(--border);border-radius:12px;padding:16px;margin-top:12px}
.small{font-size:12px}.muted{color:var(--muted)}
.hide{display:none}
input[type=number],select,button{padding:8px 10px;border-radius:10px;border:1px solid var(--border);background:#0b1220;color:var(--fg)}
button{cursor:pointer;border:none;background:var(--ok);color:#052e16;font-weight:700}
button.ghost{background:transparent;color:var(--fg);border:1px solid #475569}
a.ghost{text-decoration:none;padding:8px 10px;border-radius:10px;border:1px solid #475569;color:var(--fg)}
.tableWrap{overflow:auto}
table{width:100%;border-collapse:collapse}
thead th, tbody td{padding:10px 12px;border-bottom:1px solid #19224a}
thead th{font-weight:700;color:#eaf0ff;text-align:left}
tbody td:nth-child(n+3){text-align:right;font-variant-numeric:tabular-nums}
tbody td:nth-child(2){color:#eaf0ff;font-weight:600}
.ok{color:var(--ok)}
