:root {
    font-family:Inter,system-ui,Arial,sans-serif;
    color:#172033;
    background:#f5f7fb
}
* {
    box-sizing:border-box
}
body {
    margin:0
}
header {
    height:58px;
    padding:0 22px;
    background:#10243c;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:space-between
}
header span {
    margin-left:18px;
    color:#bed0e4;
    font-size:13px
}
main {
    padding:18px
}
.toolbar {
    display:flex;
    gap:8px;
    align-items:center;
    flex-wrap:wrap;
    margin-bottom:12px
}
.toolbar input {
    min-width:280px;
    flex:1
}
.toolbar input,.toolbar select,button {
    height:36px;
    border:1px solid #ccd5e0;
    border-radius:6px;
    background:#fff;
    padding:0 11px
}
button {
    cursor:pointer
}
button:hover {
    background:#f0f5fb
}
.primary {
    display:inline-block;
    padding:10px 14px;
    background:#1769d1;
    color:white;
    text-decoration:none;
    border-radius:6px
}
.danger {
    background:#c73737;
    color:#fff;
    border-color:#c73737
}
.list-status {
    display:flex;
    justify-content:space-between;
    min-height:28px;
    color:#687386;
    font-size:13px
}
.table-wrap {
    background:#fff;
    border:1px solid #dde3eb;
    border-radius:8px;
    overflow:auto;
    max-height:calc(100vh - 180px)
}
table {
    width:100%;
    border-collapse:collapse;
    font-size:13px
}
thead {
    position:sticky;
    top:0;
    background:#f8fafc;
    z-index:1
}
th,td {
    padding:10px 12px;
    border-bottom:1px solid #e7ebf0;
    text-align:left;
    white-space:nowrap
}
tbody tr:hover {
    background:#f8fbff
}
code {
    font-size:11px
}
.sentinel {
    text-align:center;
    padding:14px
}
.sentinel button {
    min-width:140px
}
dialog {
    width:min(920px,92vw);
    max-height:88vh;
    border:0;
    border-radius:10px;
    padding:22px;
    box-shadow:0 20px 70px #0005
}
dialog::backdrop {
    background:#0007
}
pre {
    white-space:pre-wrap;
    word-break:break-word
}
.muted {
    color:#758096
}
.badge {
    padding:3px 7px;
    border-radius:5px;
    background:#eef2f6;
    font-size:11px
}
#msg {
    color:#b02020
}
@media(max-width:760px) {
    main {
        padding:10px
    }
    .toolbar input {
        min-width:160px
    }
    .table-wrap {
        max-height:calc(100vh - 215px)
    }
}
