:root {
  --paper: #f2efe8;
  --ink: #20231f;
  --muted: #7b7d73;
  --line: #d8d5cc;
  --lime: #d9f45d;
  --green: hsl(91, 73%, 52%);
  --coral: #f26d55;
  --red: #d94b43;
  --orange: #d98a2e;
  --blue: #5d7cf2;
  --mono: 'DM Mono', monospace;
  --sans: 'Space Grotesk', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); }
button, input, select { font: inherit; }
button { cursor: pointer; }
.shell { width: min(100%, 1440px); margin: 0 auto; overflow: hidden; }
.topbar, .intro-band, .board-section, .entry-section, .rules-section, footer { padding-left: 22px; padding-right: 22px; }
.topbar { display: flex; justify-content: space-between; align-items: flex-start; padding-top: 24px; padding-bottom: 42px; border-bottom: 1px solid var(--line); }
.eyebrow { margin: 0; color: var(--muted); font: 500 10px/1.4 var(--mono); letter-spacing: .08em; }
h1, h2, p { margin-top: 0; }
h1 { margin: 18px 0 0; font-size: clamp(4rem, 16vw, 8.5rem); line-height: .82; letter-spacing: -.08em; font-weight: 700; }
h1 em, h2 em { font-style: normal; font-weight: 400; }
.status-mark { display: flex; align-items: center; gap: 8px; color: var(--muted); font: 500 10px var(--mono); }
.status-mark span { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 3px #e8f1b9; }
.intro-band { display: flex; justify-content: space-between; align-items: end; padding-top: 28px; padding-bottom: 74px; background: var(--lime); }
.intro-band p { margin: 0; font-size: 18px; line-height: 1.3; letter-spacing: -.03em; }
.icon-button { width: 52px; height: 52px; border: 1px solid var(--ink); border-radius: 50%; background: transparent; font-size: 31px; line-height: 1; transition: background .2s, transform .2s; }
.icon-button:hover { background: var(--ink); color: var(--lime); transform: rotate(90deg); }
.board-section { padding-top: 70px; padding-bottom: 80px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 30px; }
.board-tools { display: grid; justify-items: end; gap: 18px; }
.week-picker { display: grid; gap: 6px; color: var(--muted); font: 10px var(--mono); letter-spacing: .06em; }
.week-picker select { min-width: 150px; padding: 8px 28px 8px 0; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; appearance: none; background: transparent; color: var(--ink); font: 11px var(--mono); outline: 0; }
.week-picker select:focus { border-color: var(--blue); }
h2 { margin: 12px 0 0; font-size: clamp(2.4rem, 9vw, 5.6rem); line-height: .86; letter-spacing: -.07em; }
.legend { display: flex; align-items: center; gap: 8px; margin: 0 0 5px; color: var(--muted); font: 10px var(--mono); white-space: nowrap; }
.legend-dot { width: 8px; height: 8px; display: inline-block; border-radius: 50%; }
.legend-dot.positive { background: var(--blue); margin-left: 8px; }.legend-dot.negative { background: var(--coral); }
.board-wrap { overflow-x: auto; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.board { min-width: 610px; display: grid; grid-template-columns: 106px repeat(var(--daughter-count), minmax(150px, 1fr)); }
.board-cell { min-height: 63px; padding: 15px 12px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.daughter-cell { text-align: center; }
.board-cell:nth-last-child(-n + var(--daughter-count)) { border-bottom: 0; }
.board-label { display: flex; align-items: center; color: var(--muted); font: 10px var(--mono); text-transform: uppercase; }
.board-name { font-size: 20px; font-weight: 600; letter-spacing: -.05em; }
.board-value { font: 500 24px var(--mono); }.board-value.initial { color: var(--ink); }.board-value.high { color: var(--blue); }.board-value.low { color: var(--orange); }.board-value.zero-or-less { color: var(--red); }.board-value.negative { color: var(--coral); }
.log-link {  margin-top: 8px; padding: 0; border: 0; border-bottom: 1px solid currentColor; background: transparent; color: var(--muted); font: 9px var(--mono); }.log-link:hover { color: var(--ink); }
.board-cell.header { min-height: 80px; background: var(--ink); color: var(--paper); border-color: #484b44; }.board-cell.header .board-label { color: #aeb0a7; }
.board-cell.today { background: #e8e4da; }.board-cell.future .board-value { color: #b5b4ac; }
.board-cell.last { background: #e5efac; }.board-cell.last.critical { background: #ffd2c8; }
.empty-state { padding: 45px 20px; border: 1px dashed var(--muted); text-align: center; color: var(--muted); }.empty-state span { display: block; color: var(--ink); font-size: 40px; }.empty-state p { margin: 10px 0 0; font: 12px/1.6 var(--mono); }
@media (max-width: 719px) { .board-wrap { overflow-x: hidden; }.board { min-width: 0; width: 100%; grid-template-columns: 96px repeat(var(--daughter-count), minmax(0, 1fr)); }.board-cell { padding: 12px 6px; }.board-label { overflow-wrap: break-word; }.board-name { font-size: 14px; overflow-wrap: anywhere; }.board-value { font-size: 18px; }.log-link { font-size: 8px; } }
.entry-section { padding-top: 70px; padding-bottom: 75px; background: var(--ink); color: var(--paper); }.entry-section .eyebrow { color: #9b9d93; }.entry-section h2 { color: var(--paper); }.compact { margin-bottom: 36px; }
.entry-form, #daughter-form, #login-form { display: grid; gap: 18px; max-width: 690px; }.entry-form label, #daughter-form label, #login-form label { display: grid; gap: 8px; color: #aeb0a7; font: 10px var(--mono); text-transform: uppercase; letter-spacing: .06em; }.entry-form input, .entry-form select, #daughter-form input, #login-form input { width: 100%; padding: 13px 0; border: 0; border-bottom: 1px solid #575b52; border-radius: 0; outline: 0; background: transparent; color: var(--paper); font: 18px var(--sans); }.entry-form input:focus, .entry-form select:focus, #daughter-form input:focus, #login-form input:focus { border-color: var(--lime); }.entry-form select { appearance: none; background: transparent; }.entry-form select option { color: var(--ink); }.points-field { max-width: 220px; }.primary-button { display: flex; align-items: center; justify-content: space-between; gap: 32px; width: max-content; min-width: 190px; padding: 15px 17px; border: 1px solid var(--lime); background: var(--lime); color: var(--ink); font-size: 14px; font-weight: 600; }.primary-button b { font-size: 20px; font-weight: 400; }.primary-button:hover { background: var(--paper); border-color: var(--paper); }.form-message { min-height: 18px; margin: 0; color: var(--lime); font: 11px var(--mono); }.form-message.error { color: var(--coral); }
.entry-actions { display: flex; justify-content: flex-end; margin-top: 28px; }
.actions-section { display: flex; justify-content: center; gap: 12px; padding: 28px 22px 36px; background: var(--lime); }.action-button { display: inline-flex; align-items: center; gap: 9px; padding: 12px 15px; border: 1px solid var(--ink); background: transparent; color: var(--ink); font-size: 13px; }.action-button[hidden] { display: none; }.action-button:hover { background: var(--ink); color: var(--lime); }
.rules-section { padding-top: 70px; padding-bottom: 82px; background: var(--line); }.rules-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 250px)); justify-content: left; gap: 1px; margin-top: 45px; }.rules-grid article { text-align: center; min-height: 170px; padding: 20px; background: var(--coral); }.rules-grid article.saria { background: var(--lime); color: var(--ink); }.rules-grid strong { font: 500 clamp(3rem, 12vw, 5rem) var(--mono); line-height: 1; }.rules-grid p { margin: 25px 0 0; font-size: 15px; line-height: 1.1; }
footer { display: flex; justify-content: space-between; gap: 20px; padding-top: 18px; padding-bottom: 25px; border-top: 1px solid var(--line); color: var(--muted); font: 9px var(--mono); }
dialog { position: relative; width: min(90vw, 520px); padding: 34px 24px; border: 0; background: var(--ink); color: var(--paper); box-shadow: 12px 12px 0 var(--lime); }.entry-form::backdrop, dialog::backdrop { background: rgba(32, 35, 31, .55); }.close-button { position: absolute; top: 10px; right: 16px; border: 0; background: none; color: var(--paper); font-size: 28px; line-height: 1; }.close-button:hover { color: var(--lime); }#daughter-form h2, #login-form h2 { margin: 0 40px 38px 0; color: var(--paper); }#daughter-form label, #login-form label { color: #aeb0a7; }#daughter-form input, #login-form input { color: var(--paper); }#daughter-form .primary-button, #login-form .primary-button { margin-top: 12px; }#log-form h3 { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin: 0 0 24px 0; color: var(--paper); font-size: 2.5rem; line-height: 1.1; letter-spacing: -.04em; }#log-form .log-date { color: #aeb0a7; font: 500 1.5rem var(--mono); white-space: nowrap; }#log-form ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }#log-form li { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid #575b52; }#log-form time { color: #aeb0a7; font: 11px var(--mono); }#log-form li span { font-size: 14px; }#log-form li strong { font: 500 16px var(--mono); }#log-form li strong.positive { color: var(--blue); }#log-form li strong.negative { color: var(--coral); }
@media (min-width: 720px) { .topbar, .intro-band, .board-section, .entry-section, .rules-section, footer { padding-left: 7vw; padding-right: 7vw; }.topbar { padding-top: 40px; padding-bottom: 70px; }.intro-band { padding-top: 45px; padding-bottom: 100px; }.board-section, .entry-section, .rules-section { padding-top: 70px; padding-bottom: 80px; }.entry-form { grid-template-columns: 1fr 1.5fr; column-gap: 30px; }.entry-form label:first-child { grid-column: span 2; }.points-field { grid-column: 1; }.entry-form .primary-button { grid-column: 2; align-self: end; }.actions-section { padding-left: 7vw; padding-right: 7vw; } .rules-grid article { min-height: 210px; padding: 28px; }dialog { padding: 45px; } }
ul.arauak { margin: 20px 0 0 0; padding: 0; list-style: none; }
.positive { display: inline-block; padding: 0 1rem; color: green; font-weight: bold; font-size: 1.3rem; }
.negative { display: inline-block; padding: 0 1rem; color: var(--coral); font-weight: bold; font-size: 1.3rem; }
.neutral { display: inline-block; padding: 0 1rem; color: #000; font-weight: bold; font-size: 1.3rem; }