:root { --accent: #ec0244; --deep: #7b0035; --ink: #262f35; --paper: #dddfd8; --white: #fff; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.5 system-ui, sans-serif; padding-bottom: 64px; }
main { max-width: 480px; margin: 0 auto; padding: 16px; }
.site-header { background: var(--ink); padding: 12px 16px; }
.brand { color: var(--white); font-weight: 700; text-decoration: none; }
.button { display: inline-block; background: var(--accent); color: var(--white); padding: 12px 20px; border-radius: 8px; text-decoration: none; min-height: 44px; }
.button:hover { background: var(--deep); }
.cant-find { text-align: center; padding-top: 48px; }
.tab-bar { position: fixed; left: 0; right: 0; bottom: 0; display: flex; background: var(--ink); }
.tab-bar a { flex: 1; text-align: center; padding: 14px 0; min-height: 48px; color: var(--paper); text-decoration: none; }
.tab-bar a[aria-current="page"] { color: var(--white); border-top: 3px solid var(--accent); }
.avatar { width: 96px; height: 96px; border-radius: 50%; background: var(--deep); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 32px; font-weight: 700; margin: 8px auto 16px; }
.note { background: var(--white); border-left: 4px solid var(--accent); padding: 8px 12px; border-radius: 4px; }
.field { display: block; width: 100%; margin: 4px 0 16px; padding: 12px; font-size: 16px; border: 1px solid var(--ink); border-radius: 8px; background: var(--white); }
.field-error { color: var(--deep); font-weight: 600; margin: -8px 0 16px; }
.saved { font-weight: 600; }
.chip-group { border: 0; padding: 0; margin: 0 0 12px; }
.chip-group legend { font-weight: 600; padding: 0; }
.chip { display: inline-block; margin: 4px 4px 0 0; }
.chip input { position: absolute; opacity: 0; }
.chip span { display: inline-block; padding: 8px 14px; border: 1px solid var(--ink); border-radius: 999px; background: var(--white); min-height: 40px; }
.chip input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--white); }
.chip input:focus-visible + span { outline: 3px solid var(--ink); }
.button-plain { background: var(--ink); border: 0; font-size: 16px; cursor: pointer; }
.button-danger { background: var(--deep); border: 0; font-size: 16px; cursor: pointer; }
.link-danger { color: var(--deep); }
