:root { --bg: #f5f8fc; --card: #fff; --ink: #09203e; --muted: #5b6c84; --line: #d9e4f2; --field: #fff; --accent: #1769ff; --accent-ink: #fff; --error: #b42318; --ok: #067647; }
.t-cap  { --bg: #f5f8fc; --ink: #09203e; --accent: #1769ff; --line: #d9e4f2; }
.t-eng  { --bg: #f3f7fb; --ink: #10233e; --accent: #1268e8; --line: #dce6f1; }
.t-util { --bg: #f6f5fb; --ink: #111f37; --accent: #5a3df0; --line: #deddf0; }
.t-tools { --bg: #f6f8fc; --ink: #0a1d37; --accent: #1769ff; --line: #dce5f0; }
.t-ip   { --bg: #07111f; --card: #0e2031; --ink: #eaf1f7; --muted: #91a3b4; --line: #23384b; --field: #0b1928; --accent: #20d2af; --accent-ink: #07111f; --error: #ff8a80; --ok: #7be3c7; }
.t-pw   { --bg: #102d3a; --card: #17384a; --ink: #f8fbf5; --muted: #c1d0d3; --line: #2d6178; --field: #0d2531; --accent: #c9ff4d; --accent-ink: #102d3a; --error: #ffb4a8; --ok: #c9ff4d; }

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--ink); font: 16px/1.55 system-ui, -apple-system, "Segoe UI", sans-serif; }
.top { max-width: 760px; margin: auto; padding: 18px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: block; line-height: 0; }
.brand img { height: 44px; width: auto; max-width: 60vw; }
.back { color: var(--muted); font-size: 14px; font-weight: 600; text-decoration: none; }
.back:hover { color: var(--accent); }
.card { max-width: 760px; margin: 8px auto 48px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 32px; width: calc(100% - 48px); }
h1 { margin: 0 0 6px; font-size: 30px; letter-spacing: -1px; }
.lead { margin: 0 0 24px; color: var(--muted); }
form label { display: block; margin-bottom: 14px; font-size: 14px; font-weight: 700; }
input:not([type=checkbox]), select, textarea { display: block; width: 100%; margin-top: 5px; padding: 11px 12px; background: var(--field); color: var(--ink); border: 1px solid var(--line); border-radius: 9px; font: 16px system-ui; }
textarea { resize: vertical; min-height: 150px; }
input:focus, select:focus, textarea:focus, button:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: 1px; }
small { display: block; margin-top: 4px; text-align: right; color: var(--muted); font-weight: 400; }
.check { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 500 !important; color: var(--muted); }
.check input { margin-top: 5px; width: auto; }
button { background: var(--accent); color: var(--accent-ink); border: 0; border-radius: 9px; padding: 13px 22px; font: 700 16px system-ui; cursor: pointer; }
button:disabled { opacity: .6; cursor: wait; }
#status { min-height: 1.5em; margin: 14px 0 0; font-weight: 600; }
#status.error { color: var(--error); }
#status.ok { color: var(--ok); }
.fine { margin: 24px 0 0; color: var(--muted); font-size: 13px; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
