:root {
  color-scheme: light;
  font: 16px/1.5 system-ui, sans-serif;
  color: #122521;
  background: #f3f5f2;
  --accent: #155745;
  --border: #d7e0da;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--accent); }
header { background: #122521; color: white; }
.bar, main { width: min(100% - 2rem, 42rem); margin-inline: auto; }
.bar { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { color: white; font-size: 1.4rem; font-weight: 800; text-decoration: none; }
main { padding-block: 1.5rem 3rem; }
h1 { margin: 0 0 1.25rem; font-size: clamp(2rem, 7vw, 3rem); line-height: 1.08; letter-spacing: -.035em; overflow-wrap: anywhere; }
h2 { font-size: 1.125rem; margin: 0 0 .75rem; }
p { margin: 0 0 1rem; }
.lead { color: #38544a; }
.panel, .items a, .notice { border: 1px solid var(--border); border-radius: .75rem; background: white; padding: 1rem; }
.notice { border-color: #bf9046; background: #fff3da; }
.login { display: grid; gap: 1rem; max-width: 28rem; }
label { display: grid; gap: .4rem; font-weight: 650; }
input { width: 100%; padding: .65rem; border: 1px solid #72887f; border-radius: .5rem; }
button, input { font: inherit; }
button { min-height: 48px; border: 0; border-radius: .5rem; padding: .55rem 1rem; background: var(--accent); color: white; font-weight: 700; cursor: pointer; }
.quiet { background: transparent; color: white; text-decoration: underline; }
:focus-visible { outline: 3px solid #bd6a06; outline-offset: 3px; }
.back, .next { min-height: 44px; display: inline-flex; align-items: center; font-weight: 650; }
.back { margin-bottom: .75rem; }
.items { list-style: none; display: grid; gap: .65rem; padding: 0; margin: 0 0 1rem; }
.items a { display: flex; align-items: center; justify-content: space-between; gap: .65rem; text-decoration: none; }
.items strong { overflow-wrap: anywhere; }
.items a:hover { border-color: var(--accent); }
.badge { display: inline-block; flex: none; border-radius: 2rem; background: #ecf0ed; color: #274137; padding: .25rem .65rem; font-size: .82rem; font-weight: 700; }
.badge[data-status="in_progress"] { background: #dbefe6; color: #114634; }
.badge[data-status="paused"] { background: #f8ebd3; color: #68460d; }
.briefing > .badge { margin-bottom: 1rem; }
.description { white-space: pre-wrap; overflow-wrap: anywhere; margin-bottom: 0; }
.actions { margin-top: 1.25rem; display: grid; gap: .6rem; }
.actions h2 { margin: 0; }
.actions button { width: 100%; }
