:root {
  color-scheme: light;
  font-family: Tahoma, "Segoe UI", sans-serif;
  color: #142e30;
  background: #f0f6f4;
  --muted: #445e60;
  --accent: #086753;
  --line: #d5e4df;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  padding: clamp(18px, 6vw, 80px) 16px 24px;
  background: radial-gradient(ellipse at 75% 0%, #d5eee4, transparent 58%);
  min-height: 100vh;
  line-height: 1.8;
}
.shell { max-width: 490px; margin-inline: auto; }
.brand { display: flex; align-items: center; gap: 12px; margin-block-end: 18px; }
.brand strong { display: block; font: 800 1.26rem/1.2 "Segoe UI", sans-serif; text-align: right; }
.brand div > span, footer { color: var(--muted); font-size: .83rem; }
.mark {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #0d433d;
  color: #ddf9e9;
  font: 600 32px/1 "Segoe UI", sans-serif;
}
.tag, .status {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: .8rem;
}
.tag { margin-inline-start: auto; border: 1px solid #c3d9d1; background: #f4fbf7; }
.card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  padding: clamp(18px, 5vw, 34px);
  box-shadow: 0 16px 42px #123a3112;
}
.progress { display: flex; gap: 5px; }
.progress span { flex: 1; height: 4px; border-radius: 4px; background: #e7efeb; }
.progress .complete { background: #228569; }
.eyebrow { font-size: .81rem; color: var(--accent); margin: 12px 0; min-height: 1.5em; }
h1 { margin: 0 0 5px; font-size: clamp(1.36rem, 4.2vw, 1.76rem); line-height: 1.5; }
p { margin: 0 0 16px; color: var(--muted); font-size: .94rem; }
form { display: grid; gap: 9px; }
label { font-weight: 700; font-size: .9rem; }
input:not([type="checkbox"]) {
  width: 100%;
  min-height: 49px;
  padding: 9px 12px;
  border: 1px solid #9fb6b0;
  border-radius: 10px;
  font: inherit;
  color: inherit;
  letter-spacing: .12em;
  background: #fbfdfc;
}
small { color: var(--muted); }
button {
  cursor: pointer;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 7px 12px;
  font: inherit;
  font-weight: 700;
  background: var(--accent);
  color: white;
}
button:hover:not(:disabled) { background: #075442; }
button:disabled { cursor: wait; opacity: .62; }
button[type="submit"] { margin-block-start: 8px; }
.quiet { color: var(--accent); background: #eff7f3; font-size: .87rem; }
.quiet:hover:not(:disabled) { background: #e2f0e8; }
.actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
:focus-visible { outline: 3px solid #147d6d; outline-offset: 3px; }
.check { display: flex; align-items: center; gap: 8px; padding-block: 5px; }
.check input { accent-color: var(--accent); width: 20px; height: 20px; flex: none; }
.status { color: #6b460a; background: #fff2d7; margin-block-end: 12px; }
.status span { width: 7px; height: 7px; border-radius: 50%; background: #99640e; }
.empty { padding: 24px 12px; margin: 0 0 12px; text-align: center; color: var(--muted);
  background: #f7faf9; border: 1px dashed #bed1cb; border-radius: 12px; font-size: .9rem; }
#message:empty { margin: 0; }
#message:not(:empty) { margin: 12px 0 0; padding: 9px 12px; background: #fff3de; color: #6b460a; border-radius: 9px; }
#logout, #retry { width: 100%; margin-block-start: 12px; }
footer { text-align: center; margin-block-start: 15px; }
