:root { color-scheme: light dark; --bg: #fff; --fg: #1d2330; --muted: #5b6475; --accent: #2d6cdf; --line: #d9dee8; }
@media (prefers-color-scheme: dark) { :root { --bg: #11151c; --fg: #e8ecf3; --muted: #9aa3b5; --line: #2a3140; } }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.5 system-ui, sans-serif; }
.wrap { max-width: 390px; margin: 0 auto; padding: 16px; }
button, .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; border: 0; border-radius: 10px; background: var(--accent); color: #fff; font: inherit; text-decoration: none; cursor: pointer; }
.btn-secondary { background: var(--muted); }
input, select, textarea { width: 100%; min-height: 44px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: transparent; color: inherit; font: inherit; margin-bottom: 8px; }
label { display: block; margin-top: 8px; }
table { width: 100%; border-collapse: collapse; } th, td { padding: 8px; border-bottom: 1px solid var(--line); text-align: start; }
img, table { max-width: 100%; }
.nav { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.stack { display: flex; flex-direction: column; margin-bottom: 16px; }
.list { list-style: none; margin: 0; padding: 0; }
.row { display: flex; flex-direction: column; gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.inline-form { display: flex; flex-direction: column; gap: 8px; }
