:root { color-scheme: light; font-family: Inter, system-ui, sans-serif; color: #172839; background: #edf3f8; }
* { box-sizing: border-box; }
body { margin: 0; }
a { color: #214f71; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #2a638c; outline-offset: 2px; }
button, input, select { font: inherit; }
header { color: #fff; background: #101e2d; border-bottom: 1px solid #384b5c; }
.header-inner { max-width: 1060px; min-height: 63px; margin: 0 auto; padding: 10px 22px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; font-size: 20px; font-weight: 760; letter-spacing: -.035em; text-decoration: none; }
.brand img { width: 33px; height: 33px; }
header a:not(.brand) { color: #e4edf5; font-size: 14px; }
header a:focus-visible { outline-color: #ffcc76; }
main { width: min(100% - 32px, 440px); margin: clamp(31px, 10vh, 96px) auto 45px; }
main.wide { width: min(100% - 32px, 1016px); margin-top: 28px; }
.panel { border: 1px solid #d4e0eb; border-radius: 12px; padding: clamp(20px, 4vw, 30px); background: #fff; box-shadow: 0 6px 22px #233e5410; }
.wide .panel { margin-top: 14px; }
h1, h2 { margin: 0; letter-spacing: -.035em; line-height: 1.12; }
h1 { font-size: clamp(27px, 6vw, 36px); }
h2 { font-size: 20px; }
p { color: #465d70; line-height: 1.5; margin: 10px 0 16px; }
form { margin: 0; }
.fields { display: grid; gap: 13px; }
.field { display: grid; align-content: start; gap: 5px; min-width: 0; }
.field > span { font-size: 14px; font-weight: 650; }
.field small, .muted { color: #465d70; font-size: 13px; }
input, select { width: 100%; height: 44px; border: 1px solid #afc3d4; border-radius: 7px; padding: 8px 10px; background: #f7fafc; color: #172839; }
.code { font-family: ui-monospace, monospace; letter-spacing: .04em; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 8px 14px; border: 1px solid #e0ab58; border-radius: 7px; background: #ffcc76; color: #172839; text-decoration: none; font-size: 14px; font-weight: 720; cursor: pointer; }
.button:hover { background: #f6bc5c; }
.button.secondary { background: #edf4fa; border-color: #c4d5e3; color: #214f71; }
.button.secondary:hover { background: #e0ebf4; }
.button.revoke { min-height: 34px; color: #933424; background: #fff2ed; border-color: #e7c5bc; }
.button.revoke:hover { background: #fbe3da; }
.heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.row { display: flex; align-items: center; gap: 8px; }
.row input { min-width: 0; }
.row .button { flex: none; }
.admin-actions { flex-wrap: wrap; justify-content: flex-end; }
.issue { display: grid; grid-template-columns: minmax(140px, 1fr) minmax(145px, .75fr) auto; gap: 10px; align-items: end; margin-top: 14px; }
.notice { border: 1px solid #e0b8ad; border-radius: 7px; color: #7d2f21; background: #fff2ed; padding: 9px 11px; font-size: 14px; }
.notice.success { color: #265c41; border-color: #b9d9c9; background: #eaf6ef; }
.scroll { margin-top: 10px; overflow-x: auto; }
table { width: 100%; min-width: 590px; border-collapse: collapse; text-align: left; font-size: 13px; }
th, td { padding: 10px 8px; border-bottom: 1px solid #dce6ed; }
th { color: #425b6d; background: #f4f8fb; font-size: 12px; }
td { line-height: 1.35; overflow-wrap: anywhere; }
td:first-child { min-width: 110px; max-width: 230px; }
.status { display: inline-block; padding: 3px 6px; color: #294e3a; background: #e9f5ee; border-radius: 4px; font-weight: 650; }
.status.inactive { color: #5c4b46; background: #f2eeec; }
.footer { display: flex; justify-content: space-between; gap: 12px; margin-top: 13px; font-size: 13px; }
@media (max-width: 610px) { .issue { grid-template-columns: 1fr; } .heading { align-items: flex-start; } .heading .button { padding: 6px 9px; } }
