body{font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif;line-height:1.5;margin:0;background:#0b0d10;color:#e6e9ef}
.container{max-width:920px;margin:0 auto;padding:16px}
.topbar{background:#11151c;border-bottom:1px solid #232634}
.topbar .container{display:flex;align-items:center;justify-content:space-between}
.brand{font-weight:600}
.card{display:flex;flex-direction:column;gap:8px;background:#11151c;border:1px solid #232634;border-radius:8px;padding:16px;max-width:360px}
input{background:#0b0d10;border:1px solid #232634;color:#e6e9ef;border-radius:6px;padding:10px}
.btn-row{display:flex;gap:8px;flex-wrap:wrap}
.btn{background:#232634;color:#e6e9ef;border:1px solid #2c2f3a;padding:10px 14px;border-radius:8px;cursor:pointer;text-decoration:none;display:inline-block}
.btn.primary{background:#1e66f5;border-color:#1b5bd1}
.flash{list-style:none;padding:0;margin:8px 0}
.flash .error{color:#e78284}

/* table styles */
.table-wrap{overflow-x:auto;border:1px solid #232634;border-radius:8px}
.table{width:100%;border-collapse:separate;border-spacing:0;background:#11151c}
.table thead th{position:sticky;top:0;background:#161a22;color:#c6d0f5;text-align:left;font-weight:600;border-bottom:1px solid #232634;padding:12px}
.table tbody td{border-bottom:1px solid #232634;padding:12px;vertical-align:middle}
.table tbody tr:nth-child(odd){background:#10141b}
.table tbody tr:hover{background:#151924}
.num{text-align:right;white-space:nowrap}
.neg{color:#e78284}
.tag{display:inline-block;background:#232634;border:1px solid #2c2f3a;border-radius:999px;padding:4px 8px;font-size:.85rem;color:#c6d0f5}
.title{font-weight:600}
.muted{color:#8c8fa1;font-size:.9rem;margin-top:2px}
