@font-face { font-family: system; src: local("Inter"); }
:root { color-scheme: light; --ink:#202c27; --muted:#526159; --paper:#f5f7f3; --line:#dbe3db; --green:#235746; --highlight:#e5efe6; font: 16px/1.5 system-ui, sans-serif; }
* { box-sizing:border-box; }
body { margin:0; background:var(--paper); color:var(--ink); }
a { color:var(--green); text-underline-offset:3px; overflow-wrap:anywhere; }
a:hover { text-decoration-thickness:2px; }
:focus-visible { outline:3px solid #a04d18; outline-offset:3px; }
.top { display:flex; align-items:center; flex-wrap:wrap; gap:1rem; padding:1rem max(1.25rem,calc((100vw - 77rem)/2)); background:#fff; border-bottom:1px solid var(--line); }
.brand { display:flex; align-items:center; gap:.6rem; text-decoration:none; font-weight:760; white-space:nowrap; color:var(--ink); }
.mark { display:inline-grid; place-items:center; width:2.25rem; height:2.25rem; background:var(--green); color:white; border-radius:.7rem; font-size:1.25rem; }
nav { display:flex; flex-wrap:wrap; gap:.25rem; flex:1; }
nav a { padding:.4rem .6rem; text-decoration:none; color:var(--muted); border-radius:.5rem; font-size:.9rem; }
nav a[aria-current] { color:var(--green); font-weight:700; background:var(--highlight); }
main { width:min(77rem,calc(100% - 2.5rem)); margin:2rem auto 4rem; }
.heading { display:flex; align-items:center; justify-content:space-between; gap:1rem; margin-bottom:1.25rem; }
h1,h2,h3 { line-height:1.2; overflow-wrap:anywhere; }
h1 { margin:.4rem 0; font-size:clamp(1.85rem, 4vw, 2.65rem); letter-spacing:-.045em; }
h2 { font-size:1.25rem; margin:0 0 .8rem; letter-spacing:-.025em; }
h3 { font-size:1rem; margin:.25rem 0; }
p { margin:.5rem 0; overflow-wrap:anywhere; }
.grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; }
.wide { grid-column:1/-1; }
.panel, .task { background:white; border:1px solid var(--line); border-radius:1rem; padding:1.25rem; min-width:0; }
.hero { background:#204739; border-color:#204739; color:white; }
.hero .muted { color:#c5d9cd; }
.indicator { font-size:clamp(1.35rem,3vw,2rem); font-weight:700; margin:1rem 0; letter-spacing:-.035em; }
.rows,.plain { list-style:none; margin:.45rem 0 1rem; padding:0; }
.rows li { display:flex; justify-content:space-between; align-items:baseline; gap:.6rem; padding:.65rem 0; border-bottom:1px solid var(--line); }
.rows time, small, .muted { color:var(--muted); }
.rows time { flex-shrink:0; font-size:.85rem; }
.badge { display:inline-block; font-size:.83rem; font-weight:650; background:var(--highlight); color:var(--green); border-radius:1rem; padding:.23rem .65rem; }
.button,button { display:inline-block; color:white; background:var(--green); border:1px solid transparent; font:inherit; font-weight:650; padding:.48rem .8rem; border-radius:.55rem; cursor:pointer; text-decoration:none; }
.quiet { background:white; color:var(--green); border-color:var(--line); }
button:hover,.button:hover { filter:brightness(.93); }
.create { margin-bottom:1rem; }
summary { cursor:pointer; color:var(--green); font-weight:650; }
details[open] > summary { margin-bottom:.7rem; }
details + details { margin-top:.45rem; }
.board { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:.85rem; align-items:start; }
.lane { background:#eaf0ea; border:1px solid var(--line); border-radius:1rem; padding:.85rem; min-width:0; }
.lane h2 { display:flex; justify-content:space-between; gap:.5rem; }
.task { padding:.85rem; margin-top:.7rem; scroll-margin-top:1rem; }
.task:target, pre span:target { outline:2px solid var(--green); background:#f0faf3; }
.task details { margin-top:.65rem; border-top:1px solid var(--line); padding-top:.45rem; }
label { display:block; margin:.5rem 0; font-weight:600; }
input:not([type=checkbox]), textarea, select { display:block; width:100%; background:white; color:var(--ink); border:1px solid #9caea4; border-radius:.45rem; padding:.48rem .55rem; font:inherit; margin-top:.24rem; }
textarea { min-height:5rem; resize:vertical; }
.check { display:flex; gap:.5rem; align-items:baseline; overflow-wrap:anywhere; font-weight:400; }
form > button { margin-top:.45rem; }
.top form > button { margin:0; }
.search { display:flex; gap:.65rem; align-items:end; }
.search label { margin:0; max-width:34rem; width:100%; }
.fields dt { font-size:.86rem; color:var(--muted); font-weight:650; }
.fields dd { margin:0 0 .65rem; }
.plain li { margin:.35rem 0; overflow-wrap:anywhere; }
.results li { padding:.55rem 0; border-top:1px solid var(--line); }
.notice,.empty { border-radius:.65rem; background:#e7eee5; padding:.7rem .9rem; color:#35483e; }
.space { margin-top:1rem; }
.preserve,pre { white-space:pre-wrap; overflow-wrap:anywhere; }
pre { margin:0; }
.login { max-width:25rem; margin: min(14vh,6rem) auto 0; padding:1.75rem; }
.login h1 { margin-top:.9rem; }
.login form { margin-top:1.15rem; }
@media (max-width:980px) { .board { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:650px) { main { width:calc(100% - 1.5rem); margin-top:1rem; } .grid,.board { grid-template-columns:minmax(0,1fr); } .top { gap:.5rem; padding:.65rem .75rem; justify-content:space-between; } nav { order:3; flex-basis:100%; } .rows li { flex-wrap:wrap; } }
