:root { color-scheme: light; --ink: #183a33; --muted: #52655e; --paper: #f5f4ef; --line: #d4dcd4; --green: #153e36; --lime: #e4f0ad; --orange: #805011; --red: #9d2d28; font: 16px/1.5 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); }
button, input, select, textarea { font: inherit; }
button, .button, input, select { min-height: 48px; }
button, .button { cursor: pointer; border: 1px solid var(--line); border-radius: 10px; padding: 11px 16px; background: #fff; color: var(--ink); font-weight: 650; line-height: 1.35; text-align: center; text-decoration: none; }
button:hover, .button:hover { background: #edf1e9; border-color: #879d8c; }
button.primary { background: var(--green); color: #fff; border-color: var(--green); }
button.primary:hover { background: #24594c; }
button:disabled { cursor: default; opacity: .55; }
button.danger { color: var(--red); }
a { color: #1a6553; text-underline-offset: .18em; }
:focus-visible { outline: 3px solid #b07011; outline-offset: 3px; }
.skip-link { position: fixed; z-index: 30; left: 12px; top: -80px; padding: 12px; background: #fff; }
.skip-link:focus { top: 12px; }
header { background: var(--green); color: white; }
.header-inner { max-width: 1120px; margin: auto; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; }
.brand { font-size: 1.2rem; letter-spacing: .12em; font-weight: 800; }
.brand small { display: block; font-size: .7rem; font-weight: 500; letter-spacing: .12em; color: #d0dfb9; margin-top: 2px; }
.identity { text-align: right; font-size: .875rem; }
.identity button { margin-left: 12px; background: transparent; color: white; border-color: #739288; }
.identity .person { display: inline-block; vertical-align: middle; }
.identity small { display: block; color: #ccdad2; text-transform: capitalize; }
main { max-width: 1120px; margin: 0 auto; padding: 24px; }
h1 { margin: 0 0 8px; font-size: clamp(1.7rem, 5vw, 2.3rem); font-weight: 750; line-height: 1.2; letter-spacing: -.035em; }
h2 { margin: 0 0 14px; font-size: 1.15rem; line-height: 1.3; letter-spacing: -.015em; }
h3 { margin: 0 0 6px; font-size: 1rem; }
p { margin: 0 0 12px; }
p:last-child { margin-bottom: 0; }
small, .muted { color: var(--muted); }
.eyebrow { margin: 0 0 8px; font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 750; color: var(--muted); }
.page-intro { margin: 24px 0; }
.page-intro p { color: var(--muted); }
nav { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
nav a { border-radius: 10px; min-height: 48px; padding: 12px 18px; display: inline-block; font-weight: 650; text-decoration: none; }
nav a[aria-current=page] { background: var(--green); color: white; }
.status-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line); background: #eaf0e4; margin-bottom: 20px; }
.status-bar.offline, .notice.warning { background: #fff2da; border-color: #ddbf84; }
.status-copy { font-weight: 650; font-size: .9rem; }
.status-copy small { display: block; font-weight: 400; }
.status-bar button { flex-shrink: 0; }
.notice { padding: 14px 16px; border: 1px solid #bad1b6; border-radius: 12px; margin: 14px 0; background: #edf5e8; overflow-wrap: anywhere; }
.notice.error { border-color: #deb7b1; color: #842723; background: #fff0ed; }
.grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 20px; align-items: start; }
.stack { display: grid; gap: 20px; }
.card { background: #fff; padding: 24px; border: 1px solid var(--line); border-radius: 16px; min-width: 0; }
.card.hero { background: var(--green); color: white; border-color: var(--green); }
.hero .muted, .hero .eyebrow { color: #ccdad2; }
.hero select { color: var(--ink); }
.hero label { color: white; }
.hero .primary { background: var(--lime); color: var(--green); border-color: var(--lime); }
.hero .primary:hover { background: #d6e896; }
.field { display: block; margin: 0 0 16px; }
label, legend { font-weight: 650; font-size: .9rem; }
input:not([type=checkbox]), select, textarea { width: 100%; color: var(--ink); background: #fff; padding: 11px 12px; margin-top: 6px; border: 1px solid #a6b4a8; border-radius: 8px; min-width: 0; }
input[type=checkbox] { width: 22px; height: 22px; accent-color: var(--green); flex-shrink: 0; }
textarea { min-height: 100px; resize: vertical; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.clock-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.clock-actions button { min-height: 60px; }
.inline-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; margin-bottom: 18px; }
.inline-form .field { flex: 1 1 150px; margin: 0; }
.inline-form button { flex: 0 1 auto; }
ul.clean { padding: 0; margin: 0; list-style: none; }
.list-item { padding: 14px 0; border-bottom: 1px solid #e2e6df; }
.list-item:first-child { padding-top: 0; }
.list-item:last-child { padding-bottom: 0; border-bottom: 0; }
.list-item p { margin-bottom: 6px; }
.tag { display: inline-block; padding: 3px 8px; font-size: .75rem; line-height: 1.5; border-radius: 6px; background: #edf1e9; color: var(--green); font-weight: 700; }
.tag.warning { background: #fff0d2; color: #704007; }
.tag.required { background: #edf1e9; color: #52655e; }
.hours { font-size: 2.5rem; line-height: 1.2; letter-spacing: -.04em; font-weight: 750; }
.hours-unit { font-size: 1rem; letter-spacing: 0; font-weight: 400; color: var(--muted); }
.week-total { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 14px 0; }
details { margin-top: 16px; }
summary { cursor: pointer; min-height: 48px; padding: 12px 0; font-weight: 650; }
.event-id { display: block; overflow-wrap: anywhere; font-size: .72rem; color: var(--muted); }
.check-item { padding: 16px 0; border-top: 1px solid #e2e6df; }
.check-label { display: flex; align-items: center; gap: 10px; min-height: 48px; }
.check-item .field { margin: 12px 0 0; }
.check-item .tag { margin: 4px 6px 4px 0; }
.photo-link { display: block; padding: 10px 0; min-height: 44px; overflow-wrap: anywhere; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.metric { padding: 14px; border-radius: 10px; background: #f1f3ec; }
.metric strong { font-size: 1.75rem; display: block; }
.metric span { font-size: .8rem; color: var(--muted); }
.person-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; }
.person-hours { text-align: right; font-size: 1.2rem; font-weight: 700; }
.person-row small { display: block; }
.login { max-width: 480px; margin: 28px auto 60px; }
.login h1 { margin-bottom: 14px; }
.login .card { margin-top: 24px; }
.login button { width: 100%; }
footer { text-align: center; padding: 26px 16px 32px; color: var(--muted); font-size: .8rem; }
@media (max-width: 720px) {
  main { padding: 16px; }
  .header-inner { padding: 16px; gap: 8px; }
  .brand { font-size: 1rem; }
  .identity .person { display: block; font-size: .75rem; }
  .identity button { min-height: 44px; padding: 8px 12px; margin: 6px 0 0; }
  .grid { grid-template-columns: 1fr; gap: 16px; }
  .stack { gap: 16px; }
  .card { padding: 20px; border-radius: 14px; }
  .page-intro { margin: 20px 0; }
  .status-bar { padding: 12px; gap: 8px; }
  .status-bar button { padding: 10px 12px; }
  .login { margin: 24px auto; }
}
@media (prefers-reduced-motion: no-preference) { button, a { transition: background-color .12s ease; } }
