:root{--ink:#18211f;--muted:#63706b;--paper:#f5f3ee;--card:#fff;--brand:#205b52;--line:#d9ddd9;--warn:#b7472d}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:16px system-ui,-apple-system,sans-serif}button,input,textarea,select{font:inherit}button{cursor:pointer;border:0;border-radius:8px;padding:.55rem .75rem;background:var(--brand);color:white}button.ghost{background:transparent;color:var(--brand);border:1px solid var(--brand)}header{position:sticky;top:0;z-index:2;background:var(--brand);color:white;padding:.8rem max(1rem,calc((100vw - 1180px)/2));display:flex;align-items:center;gap:1rem}header div:first-child{margin-right:auto}header strong{font-size:1.25rem;display:block}header small{opacity:.8}#headerActions{display:flex;gap:.4rem;align-items:center}#headerActions button{white-space:nowrap}#network{font-size:.8rem}main{max-width:1180px;margin:1.2rem auto;padding:0 1rem}.toolbar,.row{display:flex;gap:.6rem;align-items:center;flex-wrap:wrap}.toolbar{justify-content:space-between;margin-bottom:1rem}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1rem}.card{background:var(--card);border:1px solid var(--line);border-radius:12px;padding:1rem;box-shadow:0 1px 2px #00000008}.card h2,.card h3{margin:.1rem 0 .4rem}.muted{color:var(--muted)}.tag{display:inline-block;background:#e4eee9;color:#205b52;border-radius:99px;padding:.12rem .48rem;font-size:.8rem;margin:.1rem}.status{font-size:.8rem;font-weight:650}.status.done{color:#237649}.status.active{color:#9b6700}dialog{border:0;border-radius:14px;width:min(680px,calc(100vw - 1.5rem));box-shadow:0 12px 50px #0007;padding:1.25rem}dialog form{padding:0}.close{float:right;background:none;color:var(--ink);font-size:1.5rem;padding:0}label{display:block;margin:.7rem 0;font-weight:600}input,textarea,select{width:100%;border:1px solid var(--line);border-radius:8px;padding:.55rem;background:#fff}textarea{min-height:5rem}.detail section{border-top:1px solid var(--line);padding:.8rem 0}.detail p{white-space:pre-wrap}.item{padding:.6rem 0;border-bottom:1px solid var(--line)}.item:last-child{border:0}.error{color:var(--warn);font-weight:600}.empty{padding:3rem 1rem;text-align:center;color:var(--muted)}a{color:#135f98}.hidden{display:none}.action-page{max-width:820px;margin:auto}.action-head{display:flex;justify-content:space-between;gap:1rem;align-items:flex-start}.action-head h1{margin:.1rem 0 .5rem}footer{max-width:1180px;margin:2rem auto 1rem;padding:0 1rem;color:var(--muted);font-size:.8rem}@media(max-width:600px){header{padding:.7rem .75rem}main{margin:.75rem auto;padding:0 .75rem}.grid{grid-template-columns:1fr}.toolbar button{flex:1}.card{padding:.85rem}.action-head{display:block}}@media(max-width:600px){dialog{width:calc(100vw - 1rem);padding:1rem}}.action-toolbar{margin-bottom:.65rem}.action-summary{display:flex;justify-content:space-between;gap:1rem;align-items:flex-start}.action-summary h1{font-size:1.35rem;margin:.15rem 0 .4rem}.action-summary p{margin:.1rem 0}.assignee{white-space:nowrap;background:#eef3f0;border-radius:8px;padding:.4rem .55rem;font-size:.88rem}.action-description{margin:.75rem 0;white-space:pre-wrap}.action-section{border-top:1px solid var(--line)}.action-section summary{display:flex;align-items:center;gap:.45rem;cursor:pointer;list-style:none;padding:.7rem 0}.action-section summary::-webkit-details-marker{display:none}.section-count{background:#e4eee9;color:var(--brand);border-radius:99px;padding:.05rem .4rem;font-size:.78rem}.section-chevron{margin-left:auto;color:var(--muted);transition:transform .15s}.action-section[open] .section-chevron{transform:rotate(180deg)}.section-body{padding:0 0 .75rem}.compact-form{margin-top:.45rem}.compact-form label{margin:.45rem 0}.compact-form textarea{min-height:4rem}@media(max-width:600px){.action-summary{display:block}.assignee{display:inline-block;margin-top:.55rem}.action-toolbar{gap:.4rem}.action-toolbar button{padding:.45rem .55rem}}.project-context{display:flex;align-items:end;gap:.5rem;margin:.5rem 0 .75rem}.project-context label{flex:1;margin:0}.project-context-card{display:flex;justify-content:space-between;gap:1rem;align-items:start;margin-bottom:1.1rem}.project-context-card h2{margin-top:0}.project-context-card p{margin-bottom:0}.action-toolbar{display:flex;justify-content:space-between;align-items:center}.action-tools{display:flex;gap:.4rem}.icon-button{display:inline-grid;place-items:center;width:2.35rem;height:2.35rem;padding:0;font-size:1.2rem;line-height:1}@media(max-width:600px){.project-context-card{display:block}.project-context-card>p{margin-top:.65rem}.icon-button{width:2.2rem;height:2.2rem}.action-toolbar button.icon-button{padding:0}}@media(max-width:600px){header{gap:.5rem;flex-wrap:wrap}#network{order:3;width:100%}#headerActions{margin-left:auto;gap:.3rem}#headerActions button{padding:.42rem .5rem;font-size:.88rem}#headerActions .icon-button{padding:0;width:2.15rem;height:2.15rem}}
