:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#202621;background:#f7f8f6;font-synthesis:none;font-optical-sizing:auto;--ink:#202621;--muted:#788078;--line:#e8ebe6;--green:#377a58;--green-dark:#275d42;--soft:#edf4ef;--panel:#fff;--shadow:0 2px 8px #1b2b2010}
*{box-sizing:border-box}body{margin:0;min-width:320px}.shell{min-height:100vh;display:flex}.sidebar{width:244px;flex:none;background:#fff;border-right:1px solid var(--line);padding:27px 16px;display:flex;flex-direction:column;position:fixed;inset:0 auto 0 0;z-index:2}.brand{display:flex;gap:11px;align-items:center;color:#27362b;text-decoration:none;font-size:15px;line-height:1.2;font-weight:700;padding:0 10px 35px}.brand-mark{width:34px;height:34px;background:#397c59;color:white;border-radius:10px;display:grid;place-items:center;font-family:Georgia,serif;font-size:21px}.sidebar nav{display:grid;gap:5px}.nav-item{border:0;background:transparent;color:#69736b;text-align:left;padding:11px 13px;border-radius:8px;font:500 14px inherit;display:flex;gap:12px;align-items:center;cursor:pointer}.nav-item span{font-size:17px;width:17px;text-align:center}.nav-item:hover{background:#f6f8f5}.nav-item.active{background:#edf4ef;color:#327550;font-weight:650}.sidebar-foot{margin-top:auto;padding:12px 10px;color:#535e55;font-size:12px;line-height:1.8}.sidebar-foot span{color:#939a94}.main{margin-left:244px;width:calc(100% - 244px);min-height:100vh}.topbar{height:68px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 38px;gap:15px}.crumb{font-size:13px;color:#8a928b;flex:1}.crumb span{padding:0 8px;color:#c5cbc5}.crumb strong{color:#39443c;font-weight:550}.today{color:#727c73;font-size:12px}.content{max-width:1350px;margin:auto;padding:38px 42px 60px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.eyebrow{margin:0 0 8px;color:#829087;font-size:10px;font-weight:700;letter-spacing:1.3px}.page-heading h1{margin:0;font-size:29px;letter-spacing:-.7px;font-weight:650}.page-heading>div>p:last-child{margin:7px 0 0;color:var(--muted);font-size:13px}.button{border:1px solid transparent;border-radius:7px;padding:10px 14px;font:600 12px inherit;cursor:pointer}.button.primary{background:var(--green);color:#fff}.button.primary:hover{background:var(--green-dark)}.button.secondary{background:#fff;border-color:#dfe5df;color:#465149}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:14px}.stat,.panel,.project-card{background:var(--panel);border:1px solid var(--line);border-radius:10px;box-shadow:var(--shadow)}.stat{padding:17px 18px;display:grid;gap:9px}.stat span{font-size:12px;color:#738076}.stat strong{font-size:27px;line-height:1;font-weight:650;letter-spacing:-.8px}.stat small{color:#9aa19b;font-size:11px}.stat .danger{color:#bc554f}.small-stats{grid-template-columns:repeat(3,1fr);margin:14px 0 22px}.small-stats .stat{padding:14px 18px}.small-stats .stat strong{font-size:22px}.dashboard-grid{display:grid;grid-template-columns:1.12fr .88fr;gap:15px}.panel{padding:19px 20px}.panel-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px}.panel-heading h2,.panel h2{font-size:16px;margin:0;font-weight:650}.text-button{border:0;background:none;color:#428060;font:600 11px inherit;cursor:pointer}.space-top{margin-top:25px}.task-card{background:white;border:1px solid var(--line);border-radius:9px;padding:14px 15px;box-shadow:0 1px 4px #20362408}.panel>.task-card{margin:10px 0}.task-top{display:flex;justify-content:space-between;align-items:center}.priority{font-size:10px;font-weight:650;padding:4px 7px;border-radius:5px;background:#f2f3f1;color:#68736a}.priority.high{background:#fbefed;color:#b3564e}.priority.medium{background:#f8f3e8;color:#987640}.priority.low{background:#edf4ee;color:#4f815e}.more{border:0;background:none;color:#929a93;font-size:19px;cursor:pointer}.task-card h3{font-size:13px;line-height:1.4;margin:10px 0 4px;font-weight:650}.task-id{font-size:10px;color:#8c968d;margin:0 0 12px}.task-meta{display:flex;gap:10px;color:#879187;font-size:10px}.next-action{border-top:1px solid #f0f1ef;padding-top:9px;font-size:11px;color:#69756b;margin:10px 0 0}.next-action b{color:#3d6f4d;margin-right:4px}.list-row{display:flex;gap:11px;align-items:flex-start;padding:10px 0;border-bottom:1px solid #f0f2ef}.list-row b,.list-row small{display:block}.list-row b{font-size:12px;font-weight:600}.list-row small{color:#8d968e;font-size:10px;margin-top:4px}.deadline-dot,.follow-dot{width:8px;height:8px;border-radius:50%;background:#7da989;margin-top:4px;flex:none}.follow-dot{background:#d3a45e}.toolbar{display:flex;gap:10px;margin:16px 0}.toolbar input{flex:1}.toolbar input,.toolbar select,.summary-toolbar input{border:1px solid #e0e5df;border-radius:7px;padding:10px 12px;background:#fff;color:#4a554c;font:12px inherit}.toolbar select{min-width:150px}.quick-filters{display:flex;flex-wrap:wrap;gap:7px;margin:16px 0 20px}.chip{background:transparent;border:1px solid #e2e7e1;border-radius:20px;padding:7px 12px;color:#758077;font:11px inherit;cursor:pointer}.chip.selected{background:#eaf2ec;border-color:#dce9df;color:#32754f;font-weight:650}.task-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.empty{grid-column:1/-1;background:#fff;border:1px dashed #dce3dc;border-radius:10px;text-align:center;padding:45px 16px;color:#778078}.empty h2{font-size:16px;color:#38453a}.empty p{font-size:12px}.empty-icon{width:36px;height:36px;border-radius:50%;background:#edf4ef;color:#377a58;display:grid;place-items:center;margin:auto;font-size:20px}.board{display:grid;grid-template-columns:repeat(4,minmax(220px,1fr));gap:13px;overflow-x:auto;align-items:start}.board-column{background:#f0f2ef;border-radius:10px;padding:11px;min-height:290px}.board-column>header{display:flex;justify-content:space-between;align-items:center;padding:5px 4px 13px}.board-column h2{font-size:12px;margin:0;font-weight:650}.count{font-size:10px;border-radius:12px;background:#fff;color:#788179;padding:3px 7px}.dropzone{min-height:250px;display:grid;align-content:start;gap:9px}.board .task-card{cursor:grab}.project-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.project-card{padding:18px}.project-top{display:flex;justify-content:space-between}.project-symbol{background:#edf4ef;border-radius:7px;color:#43805e;width:30px;height:30px;display:grid;place-items:center}.status-tag{font-size:10px;border-radius:15px;padding:5px 8px;background:#eef3ee;color:#62806a}.project-card h2{font-size:16px;margin:18px 0 7px}.project-card>p{font-size:12px;line-height:1.5;color:#828c83;min-height:36px}.project-progress{border-top:1px solid var(--line);padding-top:12px;display:flex;justify-content:space-between;color:#788379;font-size:11px}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}th{color:#88928a;font-size:10px;font-weight:600;padding:10px;border-bottom:1px solid var(--line)}td{padding:13px 10px;border-bottom:1px solid #f0f2ef;color:#5a645c}td b,td small{display:block}td small{color:#969e97;font-size:10px;margin-top:4px}.timeline{padding-left:24px}.activity-row{display:flex;gap:14px;padding:13px 0;border-bottom:1px solid #f0f2ef}.timeline-dot{width:8px;height:8px;background:#80a88b;border-radius:50%;margin-top:6px;position:relative;flex:none}.timeline-dot:before{content:"";position:absolute;background:#dce8de;width:1px;height:50px;top:8px;left:4px}.activity-row small{font-size:10px;color:#89938a}.activity-row h3{font-size:13px;margin:5px 0}.activity-row p{font-size:11px;color:#788379;margin:0}.summary-toolbar{display:flex;align-items:end;gap:9px;margin-bottom:14px}.summary-toolbar label{font-size:11px;color:#788379;display:grid;gap:6px}.summary-card textarea{width:100%;resize:vertical;border:1px solid #e8ebe6;border-radius:7px;padding:14px;font:13px/1.6 inherit;color:#4e5950}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.settings-grid .panel>p:not(.eyebrow){font-size:12px;color:#788379;line-height:1.7}.settings-grid .panel h2{margin:8px 0 10px}hr{border:0;border-top:1px solid var(--line);margin:22px 0}.muted{color:#89938b;font-size:12px}.menu-toggle{display:none;border:0;background:none;font-size:18px}.icon-button{border:0;background:none;font-size:24px;color:#778078;cursor:pointer}dialog{padding:0;border:0;border-radius:12px;width:min(650px,calc(100vw - 30px));box-shadow:0 20px 80px #14201935}dialog::backdrop{background:#18231c66}dialog form{padding:22px}dialog header{display:flex;align-items:center;justify-content:space-between;margin-bottom:19px}dialog h2{margin:0;font-size:20px}.form-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;max-height:65vh;overflow:auto}.form-fields label{font-size:11px;color:#626d64;display:grid;gap:6px}.form-fields label.wide{grid-column:1/-1}.form-fields input,.form-fields select,.form-fields textarea{min-width:0;border:1px solid #e0e5df;border-radius:6px;padding:9px;font:12px inherit;color:#343d36}.form-fields textarea{min-height:65px;resize:vertical}dialog footer{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}
@media(max-width:1050px){.content{padding:30px 25px}.task-list{grid-template-columns:repeat(2,minmax(0,1fr))}.board{grid-template-columns:repeat(4,235px)}}
@media(max-width:760px){.sidebar{width:230px;transform:translateX(-101%);transition:transform .2s;box-shadow:8px 0 25px #18231c12}.sidebar.open{transform:translateX(0)}.main{margin-left:0;width:100%}.topbar{padding:0 18px;height:58px}.menu-toggle{display:block}.content{padding:26px 16px 45px}.page-heading{align-items:flex-start}.page-heading h1{font-size:25px}.stats{grid-template-columns:repeat(2,1fr)}.small-stats{grid-template-columns:repeat(3,1fr);gap:7px}.small-stats .stat{padding:11px}.small-stats .stat small{font-size:9px}.dashboard-grid,.settings-grid{grid-template-columns:1fr}.task-list,.project-grid{grid-template-columns:1fr}.toolbar{flex-wrap:wrap}.toolbar input{flex-basis:100%}.toolbar select{flex:1;min-width:0}.summary-toolbar{flex-wrap:wrap}.summary-toolbar label{flex-basis:100%}.today{font-size:10px}.heading-actions .button{white-space:nowrap}.form-fields{grid-template-columns:1fr}.form-fields label.wide{grid-column:auto}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}.danger-actions{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding-top:13px}.danger-text,.danger{color:#b44742!important}.project-tasks{margin-top:18px}button,input,select,textarea{font-family:inherit}
:root{color-scheme:light}
html[data-theme="dark"]{color-scheme:dark;--ink:#e7eee8;--muted:#a4b0a7;--line:#37433b;--green:#68b586;--green-dark:#83c69d;--soft:#26372d;--panel:#202a23;--shadow:0 2px 10px #0005;background:#151b17;color:var(--ink)}
html[data-theme="dark"] body{background:#151b17;color:var(--ink)}
html[data-theme="dark"] .sidebar,html[data-theme="dark"] .topbar,html[data-theme="dark"] .panel,html[data-theme="dark"] .stat,html[data-theme="dark"] .task-card,html[data-theme="dark"] .project-card,html[data-theme="dark"] .board-column,html[data-theme="dark"] .login-panel{background:#202a23;color:var(--ink);border-color:var(--line)}
html[data-theme="dark"] .brand,html[data-theme="dark"] .crumb strong,html[data-theme="dark"] h1,html[data-theme="dark"] h2,html[data-theme="dark"] h3,html[data-theme="dark"] b{color:var(--ink)}
html[data-theme="dark"] .nav-item{color:#bdc8bf}html[data-theme="dark"] .nav-item:hover,html[data-theme="dark"] .nav-item.active{background:#2b4032;color:#a9dbb8}
html[data-theme="dark"] input,html[data-theme="dark"] select,html[data-theme="dark"] textarea{background:#17201a;color:var(--ink);border-color:#46534a}
html[data-theme="dark"] .task-id,html[data-theme="dark"] .muted,html[data-theme="dark"] small{color:#a4b0a7}
html[data-theme="dark"] .button.secondary{background:#29362e;border-color:#46534a;color:var(--ink)}html[data-theme="dark"] .text-button{color:#88c59e}
html[data-theme="dark"] .status-tag,html[data-theme="dark"] .priority{background:#2c3930;color:#c3d9c8}
html[data-theme="dark"] .priority.high{background:#452b2b;color:#f3a09a}html[data-theme="dark"] .priority.medium{background:#443b28;color:#e4c683}html[data-theme="dark"] .priority.low{background:#293e30;color:#9dd1a8}
#access-controls{display:flex;align-items:center;gap:12px;margin-left:12px}.theme-toggle{border:1px solid var(--line);border-radius:7px;background:var(--panel);color:var(--ink);width:36px;height:36px;cursor:pointer;font-size:18px}.viewer-badge,.owner-badge{font-size:11px;color:var(--muted);white-space:nowrap}.login-panel{max-width:440px;margin:10vh auto;padding:30px;background:var(--panel);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow)}.login-panel h1{margin:0 0 8px}.login-panel form{display:grid;gap:16px;margin-top:24px}#login-error{color:#b44742;min-height:1em}#sharing-password-form{display:grid;gap:12px}.secret-controls{display:flex;flex-wrap:wrap;gap:8px}#sharing-message{font-size:12px;color:var(--green)}
