*{box-sizing:border-box}
:root{font-family:"DM Sans",system-ui,sans-serif;color:#172820;background:#eef0e9;line-height:1.45;--green:#214837;--line:#d8ded4;--muted:#50655a}
body{margin:0}
.wrap{width:min(100% - 32px,720px);margin:auto}
header{background:#182520;color:#fff;padding:15px 0}
.brand,.heading,.actions,nav{display:flex;align-items:center;gap:10px}
.brand strong{font-size:1.13rem}
.mark{font-weight:900;background:#d9f078;color:#172820;border-radius:8px;padding:3px 9px}
.tag,.state{font-size:.78rem;font-weight:700;border-radius:20px;background:#e7eddc;padding:4px 9px;color:#294031}
.tag{margin-left:auto}
nav{gap:5px;border-bottom:1px solid var(--line);padding:10px 0}
nav button{background:transparent;border-color:transparent}
nav [aria-current]{background:#dce7d6;border-color:#dce7d6}
.intro{margin:24px 0 14px}
h1,h2,h3,p{margin:0 0 8px}
h1{font-size:2.25rem;letter-spacing:-.045em;line-height:1.12}
h2{font-size:1.22rem;letter-spacing:-.02em}
h3{font-size:1rem}
p,small,.meta{color:var(--muted)}
.panel{background:#fcfdf9;border:1px solid var(--line);border-radius:15px;padding:16px;margin:12px 0}
.heading{justify-content:space-between;margin-bottom:8px}
.heading h2{margin:0}
.actions{flex-wrap:wrap;margin:10px 0 0}
.capture>*{flex:1;min-height:54px}
button,.button{font:inherit;font-weight:690;color:#173022;background:#fff;border:1px solid #c7d2c5;min-height:44px;padding:8px 13px;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;text-align:center;cursor:pointer}
button:disabled{opacity:.6;cursor:default}
.primary{background:var(--green);color:white;border-color:var(--green)}
#hold{touch-action:none;user-select:none;-webkit-user-select:none}
#hold.active{background:#973a20}
label:not(.button){display:block;margin:8px 0;font-weight:650}
input,textarea,select{font:inherit;display:block;width:100%;padding:8px;margin:4px 0 10px;background:white;color:inherit;border:1px solid #becbbf;border-radius:8px;min-height:44px}
input[type=checkbox]{display:inline-block;width:auto;min-height:0;margin:0 8px}
textarea{resize:vertical}
small{display:block;font-weight:400}
.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px}
.segment{border-top:1px solid var(--line);margin-top:10px;padding-top:10px}
.media{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0}
.media img{width:82px;height:66px;object-fit:cover;border-radius:7px}
audio{width:100%;margin:6px 0}
summary{font-weight:750;cursor:pointer;min-height:36px}
pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit}
#notice{background:#dce7d6;padding:10px 13px;border-radius:8px;margin:12px 0;color:#173022}
.overdue{color:#92351e;font-weight:750}
main{padding-bottom:max(26px,env(safe-area-inset-bottom))}
