:root { color-scheme: light; font-family: Inter, ui-sans-serif, system-ui, sans-serif; color: #172033; background: #f4f7fb; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
.shell { width: min(900px, calc(100% - 32px)); margin: 56px auto; }
header { margin-bottom: 28px; }
.eyebrow { color: #5268df; font-size: 12px; font-weight: 800; letter-spacing: .15em; margin: 0 0 10px; }
h1 { font-size: clamp(32px, 5vw, 48px); letter-spacing: -.04em; margin: 0 0 8px; }
h2 { font-size: 18px; margin: 0; }
.muted, .hint, small { color: #69758c; }
.tool-link { color: #5268df; font-weight: 700; text-decoration: none; }
.card { background: #fff; border: 1px solid #e4e9f2; border-radius: 16px; box-shadow: 0 12px 36px #243b6810; padding: 24px; margin: 16px 0; }
.section-heading { align-items: center; display: flex; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
label { display: grid; gap: 8px; font-size: 13px; font-weight: 700; }
input { border: 1px solid #ccd4e2; border-radius: 9px; font: inherit; padding: 11px 12px; width: 100%; }
input:focus { border-color: #5268df; outline: 3px solid #5268df22; }
button { background: #5268df; border: 0; border-radius: 9px; color: #fff; cursor: pointer; font: inherit; font-weight: 700; padding: 11px 16px; }
button:hover { filter: brightness(.94); }
.secondary { background: #eef1fb; color: #4054bf; }
.danger { background: #fff0f0; color: #be3e49; }
.inline-form { align-items: end; display: grid; grid-template-columns: 1fr auto; gap: 12px; }
.inline-form label { grid-column: 1 / -1; }
.hint { font-size: 12px; margin: 12px 0 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 16px; }
.site-row { align-items: center; border-top: 1px solid #edf0f5; display: flex; justify-content: space-between; gap: 16px; padding: 17px 0; }
.site-row div { display: grid; gap: 4px; }
.site-row span { color: #5268df; font-size: 14px; }
.site-row small { font-size: 12px; }
.status { background: #f1f3f7; border-radius: 99px; color: #69758c; font-size: 12px; padding: 5px 9px; }
.status.connected { background: #e7f8ee; color: #218650; }
.key-box { background: #f2f5ff; border: 1px solid #cbd5ff; border-radius: 10px; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; padding: 16px; }
.key-box strong { flex-basis: 100%; color: #4054bf; }
code { background: #fff; border-radius: 6px; overflow-wrap: anywhere; padding: 10px; flex: 1; }
.message { min-height: 22px; color: #218650; font-size: 14px; }
.message.error { color: #be3e49; }
@media (max-width: 600px) { .shell { margin: 28px auto; } .form-grid { grid-template-columns: 1fr; } .inline-form { grid-template-columns: 1fr; } .site-row { align-items: flex-start; flex-direction: column; } }
