:root { color-scheme: light; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #263b31; background: #f6f7f4; font-synthesis: none; }
* { box-sizing: border-box; }
body { max-width: 760px; margin: 0 auto; padding: max(28px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(28px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left)); font-size: 16px; line-height: 1.5; }
a { color: inherit; text-underline-offset: 3px; }
button, input, select { font: inherit; }
button, .button, summary, a { -webkit-tap-highlight-color: transparent; }
button, summary { cursor: pointer; }
button:disabled { opacity: .5; cursor: wait; }
:focus-visible { outline: 3px solid #638b77; outline-offset: 4px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; text-decoration: none; }
.brand-mark { display: grid; place-items: center; background: #284c3a; color: white; border-radius: 11px; width: 35px; height: 35px; font-size: 25px; }
.eyebrow { font-size: 10px; font-weight: 700; letter-spacing: .18em; margin: 36px 0 8px; color: #65796c; }
h1 { font-size: clamp(36px, 9vw, 48px); font-weight: 600; letter-spacing: -.055em; line-height: 1.1; margin: 0; }
h1 span { color: #71957a; }
.intro { color: #6a756e; margin: 12px 0 30px; }
h2 { font-size: 18px; font-weight: 600; margin: 0; letter-spacing: -.025em; }
h3 { font-size: 16px; font-weight: 500; margin: 0 0 20px; overflow-wrap: anywhere; }
p { margin: 0 0 12px; }
.row, .section-heading, .target-actions, .form-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.automation { padding: 18px; border: 1px solid #dbe3d9; border-radius: 14px; background: #edf1ea; margin-bottom: 32px; font-size: 14px; }
.automation .row { margin-bottom: 10px; flex-wrap: wrap; }
.automation p:last-child { margin-bottom: 0; }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #39734d; margin: 0 7px 1px 0; }
.muted-dot { background: #9b793d; }
.small, .field-hint { font-size: 13px; color: #657368; }
.section-heading { margin: 0 0 16px; flex-wrap: wrap; }
.count { display: inline-block; font-size: 12px; background: #e6eae3; border-radius: 20px; padding: 1px 7px; vertical-align: middle; margin-left: 5px; }
.text-link { font-size: 14px; font-weight: 600; padding: 10px 0; text-decoration: none; }
.targets { display: grid; gap: 14px; }
.target { background: white; border: 1px solid #e1e5de; border-radius: 16px; padding: 20px; min-width: 0; }
.day { font-size: 14px; font-weight: 600; margin: 0; }
.badge { font-size: 11px; padding: 4px 9px; border-radius: 20px; background: #eef3ea; color: #446741; white-space: nowrap; }
.badge.paused { background: #f4ecda; color: #7d6028; }
.class-time { font-size: 38px; font-weight: 500; letter-spacing: -.05em; line-height: 1.2; margin: 18px 0 6px; font-variant-numeric: tabular-nums; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 18px; border: 1px solid #284c3a; border-radius: 9px; background: #284c3a; color: white; font-size: 14px; font-weight: 600; text-decoration: none; }
.secondary { background: transparent; color: #284c3a; border-color: #d9e0d6; }
.link-button { border: 0; background: transparent; color: #53674d; padding: 10px 0 10px 10px; min-height: 44px; font-size: 13px; }
.danger { color: #8c5b50; }
.pause-details { margin-top: 18px; border-top: 1px solid #edf0e9; }
summary { min-height: 44px; padding: 12px 0; font-size: 13px; }
.pause-item { display: flex; align-items: center; justify-content: space-between; gap: 4px; font-size: 12px; border-top: 1px solid #edf0e9; }
.pause-item span { overflow-wrap: anywhere; }
.editor { border-top: 1px solid #dce2d8; padding-top: 26px; margin-top: 32px; scroll-margin-top: 24px; }
.editor > p { margin: 7px 0 20px; }
label { display: block; font-size: 13px; font-weight: 500; min-width: 0; }
input, select { display: block; width: 100%; min-width: 0; max-width: 100%; min-height: 48px; border: 1px solid #d6ded2; border-radius: 9px; padding: 10px; margin-top: 6px; background: white; color: #263b31; font-size: 16px; }
input[type="date"], input[type="time"] { appearance: none; -webkit-appearance: none; }
.fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; margin: 18px 0; }
.field-hint { margin: 6px 0 0; font-size: 12px; }
.full-width { width: 100%; }
.form-actions { justify-content: flex-start; margin-top: 22px; }
.notice { background: #e4edde; border: 1px solid #c7d8c0; border-radius: 10px; padding: 14px; margin-bottom: 18px; font-size: 14px; }
.notice.error { background: #f9eeea; border-color: #e4c6bc; color: #8d4330; }
.status-error { color: #8d4330; }
.empty { padding: 36px 16px; text-align: center; color: #657368; grid-column: 1 / -1; }
footer { border-top: 1px solid #dce2d8; margin-top: 36px; padding-top: 22px; color: #738074; font-size: 12px; }
footer p { margin-bottom: 0; }
footer summary { font-size: 12px; }
[hidden] { display: none !important; }
@media (min-width: 640px) { body { padding-top: 40px; } .targets { grid-template-columns: 1fr 1fr; } .editor { max-width: 440px; } }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
