:root { color-scheme: light; color: #172b42; background: #f3f6fa; font: 16px/1.5 "Segoe UI", system-ui, sans-serif; --portal-line: #dbe4ed; --portal-accent: #176a72; }
* { box-sizing: border-box; }
body { margin: 0; }
main { max-width: 42rem; margin: 2rem auto; padding: clamp(1rem, 4vw, 2rem); background: white; border: 1px solid var(--portal-line); border-radius: 1rem; box-shadow: 0 8px 28px #1739560d; }
header { display: flex; flex-wrap: wrap; gap: .25rem 1rem; align-items: baseline; justify-content: space-between; }
h1, h2, p { margin-block: 0 1rem; }
h1 { font-size: clamp(1.55rem, 5vw, 2.1rem); line-height: 1.2; }
h2 { font-size: 1.2rem; }
section + section { border-block-start: 1px solid var(--portal-line); margin-block-start: 1.25rem; padding-block-start: 1.25rem; }
article { background: #f2f7fa; padding: .8rem 1rem; margin-block-end: .65rem; border-radius: .65rem; }
article strong { margin-inline-end: .5rem; }
article form { margin-block-start: .6rem; }
form { display: flex; flex-wrap: wrap; gap: .5rem; align-items: end; margin-block-end: .9rem; }
label { display: grid; gap: .2rem; width: min(100%, 20rem); }
input, select, button { font: inherit; border-radius: .45rem; min-height: 44px; padding: .45rem .75rem; }
input, select { color: inherit; border: 1px solid #879eaf; width: 100%; }
.reminder-settings .choice { display: flex; align-items: center; gap: .55rem; width: 100%; }
.reminder-settings input[type="checkbox"] { width: 1.15rem; min-height: 1.15rem; flex-shrink: 0; }
button { border: 1px solid var(--portal-accent); color: white; background: var(--portal-accent); cursor: pointer; }
button.quiet { color: var(--portal-accent); background: white; }
a { color: var(--portal-accent); }
:is(a, button, input, select):focus-visible { outline: 2px solid var(--portal-accent); outline-offset: 2px; }
[role="alert"] { color: #891f26; }
@media (max-width: 42rem) { main { margin: 0; min-height: 100vh; border-radius: 0; border-inline: 0; } }
