* {
    box-sizing: border-box
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial;
    background: #0b0f14;
    color: #e8eef6
}

.wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px
}

.top {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 18px
}

h1 {
    margin: 0 0 6px 0;
    font-size: 22px
}

h2 {
    margin: 0;
    font-size: 16px
}

.muted {
    color: #9fb0c2
}

.panel {
    background: #121a24;
    border: 1px solid #1c2a3a;
    border-radius: 14px;
    padding: 14px
}

.panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px
}

.status {
    padding: 10px 0
}

.table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden
}

.table th,
.table td {
    padding: 10px;
    border-top: 1px solid #1c2a3a;
    vertical-align: middle
}

.table th {
    text-align: left;
    color: #bcd0e6;
    font-weight: 600
}

.btn {
    background: #1b2a3b;
    border: 1px solid #2a3f57;
    color: #e8eef6;
    padding: 8px 10px;
    border-radius: 10px;
    cursor: pointer
}

.btn:hover {
    filter: brightness(1.1)
}

.btn.danger {
    background: #3a1b1b;
    border-color: #5a2a2a
}

.btn.ok {
    background: #1b3a23;
    border-color: #2a5a3a
}

.actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

.pill {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 999px;
    background: #0e141d;
    border: 1px solid #1c2a3a;
    color: #bcd0e6;
    font-size: 12px
}

.keybox {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 260px
}

.keybox input {
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid #2a3f57;
    background: #0e141d;
    color: #e8eef6
}

.foot {
    margin-top: 12px
}

a {
    color: #89b4ff;
    text-decoration: none
}

a:hover {
    text-decoration: underline
}

code {
    background: #0e141d;
    border: 1px solid #1c2a3a;
    border-radius: 8px;
    padding: 2px 6px
}