:root { color-scheme: light; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: #f5f6f8; color: #17202a; }
* { box-sizing: border-box; }
body { margin: 0; }
.shell { width: min(100% - 28px, 980px); margin: 0 auto; padding: 28px 0 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 750; margin-bottom: 22px; }
.mark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: #111827; color: white; }
.card { background: white; border: 1px solid #e5e7eb; border-radius: 18px; padding: clamp(20px, 4vw, 38px); box-shadow: 0 12px 34px rgba(15, 23, 42, .06); }
.narrow { max-width: 590px; margin: 0 auto; }
h1 { font-size: clamp(28px, 5vw, 42px); letter-spacing: -.035em; margin: 6px 0 14px; }
h2 { margin-top: 34px; }
.eyebrow { text-transform: uppercase; font-size: 12px; letter-spacing: .12em; font-weight: 750; color: #64748b; }
.muted, .footnote { color: #64748b; }
.platform-health { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .45rem; }
.platform-probe { border-radius: 999px; padding: .12rem .45rem; font-size: .75rem; white-space: nowrap; }
.platform-probe.ok { background: #e8f7ed; color: #176b39; }
.platform-probe.bad { background: #fdecec; color: #a32929; }
.footnote { font-size: 13px; }
.break-all { overflow-wrap: anywhere; word-break: break-all; }
form { display: grid; gap: 14px; margin-top: 20px; }
label { display: grid; gap: 7px; font-size: 14px; font-weight: 650; }
input { width: 100%; border: 1px solid #cbd5e1; border-radius: 10px; padding: 12px 13px; font: inherit; }
button, .button { appearance: none; display: inline-flex; justify-content: center; align-items: center; border: 0; border-radius: 10px; padding: 12px 16px; background: #111827; color: white; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
button:hover, .button:hover { opacity: .9; }
button:disabled { opacity: .48; cursor: default; }
.secondary { background: #e2e8f0; color: #17202a; }
.link-button { padding: 0; background: transparent; color: #334155; text-decoration: underline; justify-content: flex-start; }
.small { padding: 7px 10px; font-size: 12px; }
.alert, .notice { margin: 18px 0; border-radius: 12px; padding: 14px 16px; line-height: 1.55; }
.error { background: #fff1f2; color: #9f1239; border: 1px solid #fecdd3; }
.warning { background: #fff7ed; color: #7c2d12; border: 1px solid #fed7aa; }
.notice:not(.warning) { background: #eff6ff; color: #1e3a8a; border: 1px solid #bfdbfe; }
.steps { padding-left: 23px; display: grid; gap: 16px; line-height: 1.5; }
.steps span { color: #64748b; }
.status-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 20px 0; }
.status-grid > div { border: 1px solid #e2e8f0; border-radius: 12px; padding: 14px; display: grid; gap: 5px; }
.status-grid span { color: #64748b; font-size: 12px; }
.exit-list { display: grid; gap: 10px; }
.exit-row { margin: 0; display: flex; align-items: center; justify-content: space-between; border: 1px solid #e2e8f0; border-radius: 12px; padding: 14px; }
.exit-row div { display: grid; gap: 4px; }
.exit-row span { color: #64748b; font-size: 13px; }
.toolbar, .actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.page-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-bottom: 20px; }
.page-nav .button { min-width: 132px; }
.toolbar form, .actions form { margin: 0; display: inline-flex; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; border-bottom: 1px solid #e2e8f0; padding: 12px 9px; vertical-align: top; }
.panel { margin-top: 20px; border: 1px solid #e2e8f0; border-radius: 12px; padding: 14px; }
summary { cursor: pointer; font-weight: 700; }
@media (max-width: 620px) { .shell { width: min(100% - 18px, 980px); padding-top: 14px; } .card { border-radius: 14px; padding: 20px; } .exit-row { align-items: stretch; flex-direction: column; } .page-nav { justify-content: stretch; } .page-nav .button { flex: 1 1 100%; } }

.inline-details { min-width: 72px; }
.inline-details summary { font-size: 12px; color: #334155; }
.inline-details form { min-width: 230px; margin-top: 10px; padding: 10px; background: #f8fafc; border-radius: 10px; }
.region-picker { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.region-picker legend { grid-column: 1 / -1; padding: 0; margin-bottom: 4px; font-size: 14px; font-weight: 700; }
.region-option { display: flex; grid-template-columns: auto 1fr; align-items: center; gap: 10px; border: 1px solid #cbd5e1; border-radius: 12px; padding: 13px; cursor: pointer; }
.region-option:has(input:checked) { border-color: #111827; box-shadow: 0 0 0 1px #111827; }
.region-option.disabled { background: #f8fafc; color: #94a3b8; cursor: default; }
.region-option input { width: auto; margin: 0; }
.region-option span { display: grid; gap: 3px; }
.region-option small { color: #64748b; font-weight: 500; }
.admin-entry { width: 100%; margin-top: 22px; }
@media (max-width: 420px) { .region-picker { grid-template-columns: 1fr; } }
