:root { color-scheme: light dark; --bg: #f5f5f7; --card: #fff; --text: #1d1d1f; --muted: #6e6e73; --line: #d2d2d7; --accent: #4f46e5; --on-accent: #fff; --error: #c0262d; }
@media (prefers-color-scheme: dark) { :root { --bg: #1c1c1e; --card: #2c2c2e; --text: #f5f5f7; --muted: #a1a1a6; --line: #48484a; --accent: #818cf8; --on-accent: #16161d; --error: #ff8a8f; } }
* { box-sizing: border-box; }
body { margin: 0; padding: 0 16px 48px; background: var(--bg); color: var(--text); font: 17px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
header, main, footer { max-width: 600px; margin: 0 auto; }
header { display: flex; justify-content: space-between; align-items: center; padding: 20px 4px; }
header a { color: var(--text); font-weight: 600; text-decoration: none; }
main { background: var(--card); border-radius: 16px; padding: 32px; }
footer { padding: 20px 4px; color: var(--muted); font-size: 15px; }
h1 { font-size: 26px; line-height: 1.2; margin: 0 0 16px; }
h2 { font-size: 20px; margin: 0; }
h3 { font-size: 17px; margin: 24px 0 8px; }
a { color: var(--accent); }
section { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 24px; }
label { display: block; font-weight: 600; margin-bottom: 6px; }
input, textarea { width: 100%; font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--text); margin-bottom: 12px; }
textarea { font: 14px/1.4 ui-monospace, Menlo, monospace; resize: none; field-sizing: content; word-break: break-all; margin-bottom: 0; }
button, .button { display: inline-block; font: inherit; font-weight: 600; color: var(--on-accent); background: var(--accent); border: 0; border-radius: 8px; padding: 10px 20px; cursor: pointer; text-decoration: none; }
button.secondary { color: var(--text); background: none; border: 1px solid var(--line); padding: 6px 14px; }
button.link { color: var(--accent); background: none; padding: 0; font-weight: 400; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.macs { list-style: none; margin: 0; padding: 0; }
.macs li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); }
.macs span { min-width: 0; overflow-wrap: anywhere; }
.macs small { display: block; color: var(--muted); }
.note { color: var(--muted); font-size: 15px; }
.notice { background: var(--bg); border-radius: 8px; padding: 12px 16px; }
.error { color: var(--error); }
.site-footer p + p { font-size: 13px; }
.site-footer a { margin-right: 16px; }
main.wide { max-width: 760px; }
main.wide h2 { margin: 32px 0 8px; }
main.wide ul { padding-left: 20px; }
.row { display: flex; gap: 12px; align-items: center; margin: 16px 0; flex-wrap: wrap; }
.row input { flex: 1 1 240px; margin: 0; }
select { font: inherit; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--text); }
.scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 10px 14px 10px 0; border-top: 1px solid var(--line); white-space: nowrap; }
thead th { border: 0; color: var(--muted); font-weight: 500; }
.details { display: grid; grid-template-columns: auto 1fr; gap: 4px 20px; font-size: 15px; }
.details dt { color: var(--muted); }
.details dd { margin: 0; overflow-wrap: anywhere; }
.check { font-weight: 400; }
.check input { width: auto; margin: 0 6px 0 0; }
.consent { position: fixed; z-index: 10; left: 16px; right: 16px; bottom: 16px; max-width: 560px; margin-inline: auto; background: var(--card); color: var(--text); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; box-shadow: 0 10px 30px rgb(0 0 0 / 0.18); font-size: 15px; }
.consent[hidden] { display: none; }
.consent p { margin: 0 0 12px; }
.consent-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.consent-buttons button { flex: 1 1 120px; }
.consent-buttons [data-consent="no"] { color: var(--text); background: none; border: 1px solid var(--line); }
.footer-link { font: inherit; color: var(--accent); background: none; border: 0; padding: 0; margin-right: 16px; cursor: pointer; text-decoration: underline; }
