:root { color-scheme: dark; }
* { box-sizing: border-box; }
body { max-width: 760px; margin: 0 auto; padding: 28px 20px 60px; background: #0b1120; color: #e5e9f0; font: 16px/1.55 system-ui, -apple-system, sans-serif; }
a { color: #5eead4; }
h1 { font-size: 28px; line-height: 1.2; }
h2 { font-size: 20px; margin-top: 32px; }
p, small { color: #aab4c5; }
label { display: block; margin: 12px 0; font-size: 14px; }
input:not([type=checkbox]), select, textarea { display: block; width: 100%; margin-top: 4px; padding: 10px 12px; border: 1px solid #334155; border-radius: 8px; background: #111a2e; color: inherit; font: inherit; }
button { padding: 10px 18px; margin: 4px 8px 4px 0; border: 0; border-radius: 8px; background: #5eead4; color: #04201c; font: inherit; font-weight: 600; cursor: pointer; }
button.plain { background: #1e293b; color: #e5e9f0; }
button.danger { background: #7f1d1d; color: #fee2e2; }
.card { background: #111a2e; border: 1px solid #1e293b; border-radius: 10px; padding: 14px 16px; margin: 10px 0; overflow-wrap: anywhere; }
.warning { border-left: 3px solid #fbbf24; padding-left: 12px; }
#message { position: sticky; bottom: 76px; padding: 8px 0; background: #0b1120; color: #e5e9f0; }
[hidden] { display: none !important; }
.sitebar{position:fixed;left:0;right:0;bottom:0;z-index:10;padding:10px 16px calc(10px + env(safe-area-inset-bottom));background:#0f172a;border-top:1px solid #334155;font-size:13px;line-height:1.7;text-align:center;color:#aab4c5;overflow-wrap:anywhere}.sitebar a{color:#5eead4}body{padding-bottom:96px!important}
.masthead{text-align:center;padding:18px 16px;margin:0 0 18px;border-bottom:1px solid #334155}.masthead a{display:block;text-decoration:none;font-weight:700;line-height:1.3;overflow-wrap:anywhere}.masthead .name{color:#5eead4;font-size:clamp(28px,7vw,40px)}.masthead .tagline{color:#e5e9f0;font-size:clamp(18px,4.5vw,24px)}
fieldset { border: 1px solid #334155; border-radius: 12px; margin: 12px 0; }
fieldset label { display: inline-block; margin: 6px 14px 6px 0; }
