:root {
    --bg: #0b0d12;
    --card: #141822;
    --muted: #8892a6;
    --primary: #00e676;
    --accent: #25d366;
    --text: #eaeef7;
    --danger: #ff5252;
    --warning: #ffca28;
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Arial, sans-serif;
    background: linear-gradient(180deg, #0b0d12, #101522);
    color: var(--text);
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 24px
}

.card {
    background: linear-gradient(180deg, #141822, #10141e);
    border: 1px solid #1f2635;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .25)
}

.header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px
}

.h-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #0f141f;
    display: grid;
    place-items: center;
    border: 1px solid #1d2433
}

.h-logo span {
    font-weight: 800;
    color: #00e676
}

.h-title {
    font-size: 20px;
    font-weight: 700
}

.sub {
    color: var(--muted);
    font-size: 14px
}

.btn {
    display: inline-block;
    border: 0;
    background: var(--primary);
    color: #07110b;
    font-weight: 700;
    padding: 12px 18px;
    border-radius: 12px;
    cursor: pointer;
    transition: .2s;
}

.btn:hover {
    filter: brightness(1.1);
    transform: translateY(-1px)
}

.btn.secondary {
    background: #20283a;
    color: var(--text);
    border: 1px solid #2b354b
}

.btn.warning {
    background: var(--warning);
    color: #1b1403
}

.btn.danger {
    background: var(--danger);
    color: #1a0606
}

.row {
    display: grid;
    gap: 16px
}

@media(min-width:720px) {
    .row {
        grid-template-columns: 1fr 1fr
    }
}

.kpi {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: #0d1421;
    border: 1px solid #1a2234;
    border-radius: 14px;
    padding: 14px
}

.kpi .v {
    font-size: 28px;
    font-weight: 800
}

.kpi .l {
    color: var(--muted);
    font-size: 12px
}

hr.sep {
    border: 0;
    border-top: 1px solid #1b2436;
    margin: 18px 0
}

.form {
    display: grid;
    gap: 12px
}

.input {
    display: flex;
    flex-direction: column;
    gap: 8px
}

.input label {
    font-size: 13px;
    color: var(--muted)
}

.input input,
.input select {
    background: #0b1320;
    border: 1px solid #1c2536;
    border-radius: 12px;
    color: var(--text);
    padding: 12px 14px;
    font-size: 15px;
    outline: none
}

.input input:focus,
.input select:focus {
    border-color: #2d3b56;
    box-shadow: 0 0 0 3px rgba(0, 230, 118, .08)
}

.grid {
    display: grid;
    gap: 10px
}

@media(min-width:720px) {
    .grid {
        grid-template-columns: 1fr 1fr 1fr
    }
}

.table {
    width: 100%;
    border-collapse: collapse
}

.table th,
.table td {
    padding: 12px;
    border-bottom: 1px solid #1a2234;
    text-align: left;
    font-size: 14px
}

.table th {
    color: #a8b2c4;
    font-weight: 700
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #23304a;
    background: #0c1526;
    color: #c9d3e6;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 13px
}

.notice {
    padding: 12px 14px;
    border-radius: 12px;
    background: #0e1b12;
    border: 1px solid #1b2e22;
    color: #bdf7d1
}

.alert {
    position: fixed;
    inset: auto 16px 16px 16px;
    background: #0c1e12;
    border: 1px solid #1b3424;
    color: #b8ffd3;
    padding: 14px 16px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
    display: none
}

.alert.show {
    display: block
}

.small {
    font-size: 12px;
    color: #9aa6bf
}

.center {
    text-align: center
}