:root { --ink: #1c2430; --muted: #6b7684; --line: #dde2e8; --accent: #0b5cad; --bg: #f3f5f8; }
* { box-sizing: border-box; }
body { margin: 0; font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); background: var(--bg); }
main { max-width: 460px; margin: 48px auto; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
h1 { font-size: 20px; margin: 0; }
.env { font-size: 11px; font-weight: 700; letter-spacing: .04em; padding: 3px 8px; border-radius: 99px; white-space: nowrap; }
.env.live { background: #fde8e8; color: #a11919; }
.env.test { background: #e6f4ea; color: #1b6b34; }
label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 14px; }
input, select { display: block; width: 100%; margin-top: 5px; padding: 10px 12px; font: inherit; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 8px; }
input:focus, select:focus { outline: 2px solid var(--accent); outline-offset: -1px; }
small { display: block; min-height: 18px; margin-top: 4px; font-weight: 500; color: var(--accent); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.row.three { grid-template-columns: 1fr 1fr 1fr; }
button, .button { display: block; width: 100%; padding: 12px; font: inherit; font-weight: 600; text-align: center; text-decoration: none; color: #fff; background: var(--accent); border: 0; border-radius: 8px; cursor: pointer; }
.note, footer { font-size: 12px; color: var(--muted); text-align: center; }
footer { margin-top: 20px; }
.alert { padding: 12px 14px; border-radius: 8px; margin-bottom: 18px; font-size: 14px; }
.alert.error { background: #fde8e8; color: #8a1616; }
.alert.success { background: #e6f4ea; color: #1b6b34; }
dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0 0 20px; font-size: 14px; }
dt { color: var(--muted); }
dd { margin: 0; font-weight: 600; word-break: break-all; }
