* { box-sizing: border-box }
:root { color: #242a2e; background: #f8f6f2; font: 16px/1.5 "Helvetica Neue", Arial, sans-serif }
body { margin: 0 }
.mast { background: #102128; color: #faf7f2; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 5vw }
.mast img { display: block; width: 7rem }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: 1.1rem; font-size: .91rem }
nav a, nav button { text-decoration: none; color: inherit }
nav button { background: none; border: none; padding: 0; font: inherit; cursor: pointer }
a, summary { color: #374b46; text-underline-offset: .22em }
nav a:hover, nav button:hover { text-decoration: underline }
main { width: min(76rem, 92%); margin: auto; padding: clamp(2.2rem, 5vw, 5rem) 0 5rem }
main > section + section { margin-top: 3.25rem }
h1, h2 { font-weight: 550; line-height: 1.08; letter-spacing: -.045em; margin: 0 0 .5em; overflow-wrap: anywhere }
h1 { font-size: clamp(2.5rem, 4.6vw, 5rem) }
h2 { font-size: clamp(1.45rem, 2.1vw, 2rem) }
h2 small { font-size: .6em; color: #695e51 }
p { max-width: 62ch; color: #575753 }
.kicker { display: flex; align-items: center; gap: .8rem; color: #695c4e; font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase }
.kicker::after { content: ""; width: 2.6em; height: 2px; background: #c7703a }
.back { display: inline-block; margin-bottom: 1rem }
.columns, .login { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(16rem, 1fr); gap: clamp(1rem, 3vw, 3rem); margin-top: 2rem; align-items: start }
.login { padding: clamp(1.5rem, 5vw, 5rem); background: linear-gradient(100deg, #0d2027d9, #13252f66), url("../assets/senja.webp") center / cover; border-radius: 1rem; align-items: center }
.login-copy { color: #fffdfa }
.login-copy p { color: #f2ede5; max-width: 33ch }
.sheet { border: 1px solid #d6cfc5; border-radius: .9rem; padding: clamp(1.2rem, 2.5vw, 2.4rem); background: #fffdfa }
.context { border-top: 2px solid #ba754a; padding: 1.25rem .35rem; overflow-wrap: anywhere }
label { display: grid; gap: .28rem; margin: 1.1rem 0; font-weight: 550; font-size: .93rem }
input, select, textarea { width: 100%; padding: .65rem .75rem; color: #242a2e; font: inherit; font-weight: 400; background: white; border: 1px solid #bcb8af; border-radius: .4rem }
textarea { resize: vertical }
.primary { display: inline-block; border: 0; border-radius: .45rem; background: #193934; color: white; padding: .75rem 1.15rem; font: inherit; font-weight: 550; text-decoration: none; cursor: pointer }
.primary:hover { background: #274e46 }
:focus-visible { outline: 3px solid #bb6a38; outline-offset: 3px }
.notice { padding: .8rem 1rem; border-left: 3px solid #507464; background: #e8ede7; color: #254438 }
.error { border-color: #a54125; color: #7a2a15; background: #f9ece5 }
.deal-list { list-style: none; margin: 0; padding: 0 }
.deal-list li, .sheet details { border-top: 1px solid #ded8ce; padding: .8rem 0 }
.deal-list a { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; text-decoration: none; overflow-wrap: anywhere }
.deal-list a:hover strong { text-decoration: underline }
.tag { flex: none; color: #534e43; font-size: .83rem }
summary { cursor: pointer; font-weight: 550 }
@media (max-width: 740px) {
  .login, .columns { grid-template-columns: minmax(0, 1fr) }
  .mast { flex-wrap: wrap }
  .login { margin-top: 0 }
  .tag { flex-shrink: 1 }
}

.mast [aria-current=page] { text-decoration: underline; text-underline-offset: .4rem }
.month-heading, .agenda-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem }
.month-heading h2 { margin: 0 }
.month-heading nav a, .secondary { display: inline-block; border: 1px solid #bcb8af; background: transparent; border-radius: .4rem; padding: .45rem .7rem; color: #234237; font: inherit; text-decoration: none; cursor: pointer }
.private-grid a[aria-current=date] { background: #193934; color: white }
.agenda-row { flex-wrap: wrap; border-top: 1px solid #ded8ce; padding: .8rem 0 }
.agenda-row small { display: block; color: #625c54 }
.agenda-row label { margin-top: 0 }
.sheet form + form { margin-top: .85rem }
.sheet details form { max-width: 30rem }
.facts { display: grid; grid-template-columns: auto 1fr; gap: .4rem 1rem }
.facts dd { margin: 0; overflow-wrap: anywhere }

.account-settings { max-width: 36rem }
