:root {
    font-family:
        Inter,
        system-ui,
        -apple-system,
        sans-serif;
    color: #182a37;
    background: #f0f4f7;
    font-size: 16px;
    line-height: 1.55;
}
* {
    box-sizing: border-box;
}
body {
    margin: 0;
}
header {
    background: #102c3c;
    color: white;
    padding: 22px max(24px, calc((100% - 1180px) / 2));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}
header a {
    color: white;
    text-decoration: none;
}
.brand {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.7px;
}
.brand span {
    color: #64dfba;
}
.eyebrow {
    color: #56707f;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 2px;
    font-weight: 750;
}
main {
    max-width: 1228px;
    margin: auto;
    padding: 42px 24px;
}
h1 {
    font-size: clamp(28px, 4vw, 40px);
    letter-spacing: -1.4px;
    line-height: 1.15;
    margin: 8px 0 16px;
}
h2 {
    font-size: 21px;
    margin: 0 0 16px;
}
p {
    margin: 12px 0;
    color: #526575;
}
.card {
    background: white;
    border: 1px solid #d9e2e8;
    border-radius: 18px;
    padding: 26px;
    margin: 22px 0;
    box-shadow: 0 6px 18px #102c3c04;
}
.narrow {
    max-width: 520px;
    margin: 50px auto;
}
.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 28px;
}
.stat {
    background: white;
    border: 1px solid #d9e2e8;
    border-radius: 14px;
    padding: 20px;
}
.stat strong {
    display: block;
    font-size: 34px;
    letter-spacing: -1px;
}
.stat small {
    font-size: 14px;
    color: #526575;
}
.toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: end;
}
label {
    display: block;
    font-size: 14px;
    font-weight: 650;
    margin-bottom: 6px;
}
input,
select,
button,
.button {
    font: inherit;
    border-radius: 9px;
    min-height: 46px;
}
input,
select {
    padding: 10px 12px;
    border: 1px solid #aabcc7;
    background: white;
    color: #182a37;
    max-width: 100%;
    width: 100%;
}
input:focus,
select:focus,
button:focus,
a:focus {
    outline: 3px solid #8cdcc7;
    outline-offset: 3px;
}
button,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border: 1px solid transparent;
    background: #006c56;
    color: white;
    text-decoration: none;
    font-weight: 650;
    cursor: pointer;
}
.secondary {
    background: white;
    color: #234757;
    border: 1px solid #b8c9d2;
}
.danger {
    background: #fff0ee;
    color: #9f3327;
    border-color: #edc3bd;
}
.field {
    margin: 18px 0;
}
.toolbar .field {
    margin: 0;
    flex: 1;
    min-width: 150px;
}
.notice {
    padding: 14px 18px;
    background: #ddf6ed;
    border: 1px solid #9fdcc6;
    border-radius: 10px;
    margin: 20px 0;
}
.error {
    background: #fff0ee;
    border-color: #edc3bd;
    color: #922f22;
}
.muted {
    font-size: 14px;
    color: #607586;
}
.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    background: #e7edf2;
    font-size: 14px;
    white-space: nowrap;
}
.active {
    background: #ddf6ed;
    color: #075740;
}
.tablewrap {
    overflow: auto;
}
table {
    border-collapse: collapse;
    width: 100%;
    font-size: 14px;
}
th {
    text-align: left;
    color: #56707f;
    font-weight: 600;
    background: #f6f8fa;
}
th,
td {
    padding: 15px 12px;
    border-bottom: 1px solid #e2e9ed;
}
td code {
    font-weight: 700;
    font-size: 15px;
}
a {
    color: #006c56;
}
td .destination {
    max-width: 260px;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}
.split {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 22px;
}
.split .card {
    margin-top: 0;
}
.full {
    width: 100%;
}
.pagination {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 22px;
}
footer {
    font-size: 13px;
    color: #6a7e8b;
    margin-top: 32px;
}
.mono {
    font-family: ui-monospace, monospace;
    overflow-wrap: anywhere;
}
details {
    margin: 18px 0;
}
summary {
    cursor: pointer;
    font-weight: 650;
}
@media (max-width: 680px) {
    main {
        padding: 26px 16px;
    }
    .card {
        padding: 20px;
    }
    .stats {
        gap: 8px;
    }
    .stat {
        padding: 14px;
    }
    .stat strong {
        font-size: 27px;
    }
    .split {
        grid-template-columns: 1fr;
    }
    header {
        padding: 18px 16px;
    }
    .narrow {
        margin: 24px auto;
    }
    .toolbar > * {
        width: 100%;
    }
    h1 {
        letter-spacing: -0.8px;
    }
}
input[type="checkbox"] {
    width: 20px;
    min-height: 20px;
    vertical-align: middle;
    margin-right: 8px;
}
#qr-preview {
    margin: 24px 0;
    max-width: 300px;
}
#qr-preview svg {
    width: 100%;
    height: auto;
}
button:disabled {
    opacity: 0.6;
    cursor: wait;
}
:root {
    --primary: #006c56;
    --header: #102c3c;
}
header {
    background: var(--header);
}
button,
.button {
    background: var(--primary);
}
a {
    color: var(--primary);
}
.secondary {
    background: white;
    color: #234757;
}
.danger {
    background: #fff0ee;
    color: #9f3327;
}
nav {
    background: white;
    display: flex;
    gap: 8px;
    padding: 10px max(16px, calc((100% - 1180px) / 2));
    overflow: auto;
    border-bottom: 1px solid #d9e2e8;
}
nav a {
    padding: 10px 18px;
    text-decoration: none;
    border-radius: 8px;
    color: #334c5b;
    white-space: nowrap;
}
nav .selected {
    background: #e5f3ee;
    color: #005843;
    font-weight: 750;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}
.brand-logo {
    max-width: 130px;
    max-height: 48px;
    object-fit: contain;
}
.activation {
    max-width: 680px;
    margin: 20px auto;
}
.profile {
    max-width: 580px;
    margin: 24px auto;
    text-align: center;
}
.profile-photo {
    width: 136px;
    height: 136px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
}
.profile-links {
    display: grid;
    gap: 12px;
    margin: 24px 0;
}
.avatar {
    max-width: 90px;
    max-height: 90px;
    object-fit: cover;
}
.prewrap {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}
fieldset {
    border: 1px solid #d9e2e8;
    padding: 18px;
    border-radius: 12px;
    margin: 24px 0;
}
legend {
    font-weight: 750;
    padding: 0 8px;
}
textarea {
    width: 100%;
    font: inherit;
    padding: 12px;
    border: 1px solid #aabcc7;
    border-radius: 9px;
    resize: vertical;
}
textarea:focus {
    outline: 3px solid #8cdcc7;
}
input[type="color"] {
    padding: 4px;
    width: 100%;
    height: 48px;
}
.stats.four {
    grid-template-columns: repeat(4, 1fr);
}
.checkrow {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #e3e9ed;
}
.checkrow .grow {
    flex: 1;
}
.checkrow input[type="number"] {
    width: 90px;
}
.checkrow small {
    display: block;
    color: #607586;
    font-size: 14px;
}
.muted {
    overflow-wrap: anywhere;
}
#wifi-qr {
    max-width: 280px;
    margin: 24px auto;
}
#wifi-qr svg {
    width: 100%;
    height: auto;
}
.bar {
    width: 100%;
    height: 14px;
    accent-color: var(--primary);
}
[hidden] {
    display: none !important;
}
button:disabled {
    opacity: 0.6;
    cursor: wait;
}
.tablewrap {
    margin-top: 18px;
}
td input[type="number"] {
    min-width: 70px;
}
td input[type="text"] {
    min-width: 140px;
}
.notice a {
    font-weight: 650;
}
.stats .stat strong {
    font-variant-numeric: tabular-nums;
}
@media (max-width: 680px) {
    .stats.four {
        grid-template-columns: repeat(2, 1fr);
    }
    .brand {
        font-size: 18px;
    }
    .brand-logo {
        max-width: 65px;
    }
    fieldset {
        padding: 12px;
    }
    .profile {
        padding: 22px;
    }
    .checkrow {
        flex-wrap: wrap;
    }
}

header .brand {
    color: #fff;
}
.module-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
.module-grid .card {
    margin: 0 0 8px;
}
.row {
    margin-top: 18px;
}
@media (max-width: 680px) {
    .module-grid {
        grid-template-columns: 1fr;
    }
}
