:root{--paper:#f7f8f3;--white:#fff;--ink:#253c35;--muted:#7b8780;--green:#214d43;--green-light:#eaf0e5;--line:#e5e9e1;--orange:#ac613d;--orange-light:#faf0e7;--red:#a84436;--shadow:0 10px 36px #20392e09}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,"PingFang SC","Microsoft YaHei",system-ui,sans-serif;font-size:14px;line-height:1.65}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.5}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #7fa593;outline-offset:3px}[hidden]{display:none!important}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin-top:0}h1{font-size:34px;line-height:1.35;font-weight:650;letter-spacing:-1px;margin-bottom:12px}h2{font-size:21px;font-weight:620;line-height:1.45;margin-bottom:10px}h3{font-size:16px;font-weight:600;margin-bottom:6px}.muted,.subtle{color:var(--muted)}.eyebrow{font-size:10px;font-weight:650;letter-spacing:2px;color:var(--muted);margin-bottom:12px}.button{display:inline-flex;justify-content:center;align-items:center;gap:9px;border:1px solid var(--line);border-radius:10px;padding:10px 17px;background:var(--white);color:var(--ink);font-size:13px;font-weight:550;line-height:1.5;transition:background .15s,transform .15s}.button:hover{background:#f0f3ed}.button:active{transform:translateY(1px)}.button.primary{background:var(--green);border-color:var(--green);color:white}.button.primary:hover{background:#163c32}.button.ghost{background:transparent}.button.small{font-size:12px;padding:8px 12px}.button.wide{width:100%}.button.danger{color:var(--red);border-color:#e6c7bf}.link-button{background:none;border:0;color:var(--muted);padding:5px;font-size:12px}.link-button:hover{color:var(--green)}.icon-button{background:transparent;border:0;color:var(--muted);font-size:25px;padding:0 7px;line-height:1.2}.boot{display:grid;place-content:center;height:100vh;color:var(--muted)}.app-shell{display:grid;grid-template-columns:224px minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;background:#f1f3ec;border-right:1px solid var(--line);padding:34px 23px 22px;display:flex;flex-direction:column}.brand{font-size:21px;letter-spacing:-.6px;font-weight:650;display:flex;align-items:center;gap:10px;white-space:nowrap}.brand-mark{display:inline-grid;place-content:center;width:36px;height:36px;background:var(--green);color:#f5f5e7;border-radius:11px;font-family:Georgia,serif;font-weight:bold;font-size:29px;line-height:1}.sidebar-caption{font-size:11px;color:var(--muted);margin:13px 0 42px 3px}.sidebar nav{display:grid;gap:8px}.sidebar nav a{display:flex;align-items:center;gap:13px;color:#708078;border-radius:9px;padding:11px 13px;font-size:13px}.sidebar nav a>span:first-child{font-size:20px;line-height:1;width:20px;text-align:center}.sidebar nav a.active{color:var(--green);background:#e1e9db;font-weight:600}.count{font-size:10px;display:inline-grid;place-content:center;min-width:20px;height:20px;padding:0 4px;border-radius:5px;background:#cddbc6;margin-left:auto}.sidebar-note{margin-top:auto;padding:36px 12px;color:#688070}.sidebar-note p{font-size:21px;line-height:1.75;letter-spacing:1px;margin:8px 0 13px}.sidebar-note span{font-size:10px}.note-symbol{font-size:37px;color:#8ba387}.sidebar-bottom{border-top:1px solid #dde3d6;padding-top:20px;display:flex;align-items:center;gap:8px;font-size:11px;color:var(--muted)}.sidebar-bottom button{margin-left:auto}.status-dot{width:6px;height:6px;background:#7e9a73;border-radius:50%}.workspace{min-width:0;padding:0 42px}.topbar{height:91px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:12px;color:var(--muted)}.topbar>div{display:flex;align-items:center;gap:10px}.sync-status{font-size:10px;margin-right:5px}.page-intro{padding:37px 0 27px;display:flex;align-items:center;justify-content:space-between;gap:20px}.page-intro p:last-child{margin-bottom:0}.day-stamp{border:1px solid var(--line);border-radius:10px;padding:8px 12px;color:#6d8171;font-size:11px;white-space:nowrap}.today-layout{display:grid;grid-template-columns:minmax(0,1fr) 292px;gap:24px;align-items:start}.card{background:var(--white);border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow)}.summary{display:flex;gap:0;padding:23px 8px;margin-bottom:27px}.summary>div{flex:1;padding:0 23px;border-right:1px solid var(--line)}.summary>div:last-child{border:0}.stat-label{display:block;font-size:11px;color:var(--muted);margin-bottom:4px}.stat-value{font-size:28px;line-height:1.5;letter-spacing:-1px;font-weight:550;font-variant-numeric:tabular-nums}.stat-unit{font-size:11px;color:var(--muted);margin-left:6px;letter-spacing:0;font-weight:400}.section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px;gap:12px}.section-heading h2{font-size:17px;margin:0}.section-heading span{font-size:11px;color:var(--muted)}.task-stack{display:grid;gap:12px}.task-card{padding:21px 23px}.task-title-row{display:flex;align-items:flex-start;gap:12px}.task-number{flex-shrink:0;font-size:11px;color:#8b9b8d;border:1px solid var(--line);border-radius:8px;display:grid;place-content:center;width:30px;height:30px;margin-top:2px}.task-main{min-width:0;flex:1}.task-main h3{overflow-wrap:anywhere}.task-time{font-size:20px;line-height:1.1;font-weight:550;white-space:nowrap;letter-spacing:-.5px;padding-top:6px}.task-time small{font-size:10px;color:var(--muted);font-weight:400;margin-left:4px}.tag-row{display:flex;flex-wrap:wrap;gap:6px;align-items:center;font-size:10px;color:var(--muted)}.tag{font-size:10px;border-radius:5px;padding:2px 7px;background:#f1f4ec;color:#728269}.tag.high{background:var(--orange-light);color:var(--orange)}.tag.low{background:#eef3f5;color:#637e8c}.next-step{margin:13px 0 0 42px;font-size:12px;color:#65786c;white-space:pre-wrap;overflow-wrap:anywhere}.task-reason{font-size:10px;color:#8c948d;margin:12px 0 0 42px}.task-actions{margin:16px 0 0 42px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.task-actions .move-buttons{margin-left:auto;display:flex}.task-actions .move-buttons button{font-size:14px;padding:4px 7px}.task-card.finished{background:#f6f8f2;box-shadow:none}.task-card.finished h3{color:#788a79}.task-card.finished .task-number{background:#e5eddf;border-color:#e5eddf}.progress-wrap{margin:13px 0 0 42px;font-size:10px;color:var(--muted)}progress{display:block;appearance:none;border:0;border-radius:4px;overflow:hidden;width:100%;height:5px;background:#edf0e8;margin-top:6px}progress::-webkit-progress-bar{background:#edf0e8}progress::-webkit-progress-value{background:#8faa7a;border-radius:4px}progress::-moz-progress-bar{background:#8faa7a;border-radius:4px}.plan-panel{padding:24px}.panel-title{display:flex;align-items:center;gap:9px}.panel-title span{color:#8a9b78;font-size:22px}.plan-panel>p{font-size:11px;color:var(--muted);margin-bottom:23px}.plan-panel label{font-size:12px}.input-with-unit{position:relative}.input-with-unit input{padding-right:45px}.input-with-unit span{position:absolute;right:12px;top:12px;color:var(--muted);font-size:11px}.plan-panel fieldset{border:0;padding:0;margin:20px 0}.plan-panel legend{font-size:12px;margin-bottom:9px}.energy-options{display:flex;gap:6px}.energy-option{flex:1;position:relative}.energy-option input{position:absolute;opacity:0;width:1px;height:1px}.energy-option span{display:flex;flex-direction:column;align-items:center;gap:6px;padding:11px 0;border:1px solid var(--line);border-radius:9px;color:var(--muted);font-size:10px;cursor:pointer}.energy-option b{font-size:18px;font-weight:400;line-height:1}.energy-option input:checked+span{background:var(--green-light);color:var(--green);border-color:#adbea2}.energy-option input:focus-visible+span{outline:3px solid #7fa593;outline-offset:2px}.plan-help{font-size:10px;color:var(--muted);margin:12px 0 0}.rest-note{background:#eaf0e3;border-radius:15px;padding:24px;margin-top:18px;position:relative;overflow:hidden}.rest-note::after{content:'';width:110px;height:110px;border:1px solid #cbd7be;border-radius:50%;position:absolute;right:-45px;bottom:-45px;box-shadow:0 0 0 12px #eaf0e3,0 0 0 13px #d6dfcc;pointer-events:none}.rest-note .eyebrow{font-size:9px;color:#819170}.rest-note h3{color:#506b43;font-size:16px;line-height:1.7;font-weight:500}.rest-note p:last-child{font-size:11px;color:#7b8b70;margin:0;max-width:185px}.warnings{background:#fcf6ee;border:1px solid #efe3d1;border-radius:13px;padding:18px 20px;margin-top:18px}.warnings h3{color:#976e45;font-size:12px}.warnings ul{padding-left:16px;margin:8px 0 0;color:#a17f5c;font-size:11px}.warnings li+li{margin-top:7px}.empty{padding:45px 25px;text-align:center}.empty-icon{display:grid;place-content:center;width:64px;height:64px;background:#edf2e6;border-radius:20px;font-size:32px;color:#8b9f7a;margin:0 auto 18px}.empty h2{font-size:19px}.empty p{font-size:12px;color:var(--muted);line-height:1.9;max-width:360px;margin:0 auto 20px}.enough{background:#edf3e8;border-color:#d9e5d1}.enough .empty-icon{background:#dce9d4}.list-note{margin:18px 2px 0;font-size:10px;color:var(--muted)}.page-footer{display:flex;gap:12px;align-items:center;color:#a1aaa0;font-size:10px;padding:38px 0 25px}.page-footer span{font-family:Georgia,serif;font-size:13px}.task-toolbar{display:flex;gap:12px;justify-content:space-between;margin-bottom:20px}.filters{display:flex;gap:6px;flex-wrap:wrap}.filters button{border:0;border-radius:8px;background:transparent;font-size:12px;padding:8px 14px;color:var(--muted)}.filters button.active{background:#e6eddf;color:var(--green)}.task-toolbar input{width:240px;margin:0}.task-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.library-card{padding:23px}.library-card h3{overflow-wrap:anywhere}.library-card .next-step{margin-left:0;min-height:20px}.library-card .task-actions{margin-left:0}.library-card .progress-wrap{margin-left:0}.library-stats{display:flex;gap:22px;margin-top:20px;color:var(--muted);font-size:11px}.library-stats b{color:var(--ink);font-size:16px;font-weight:500;margin-right:3px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.settings-card{padding:27px}.settings-card>p{font-size:12px;color:var(--muted)}.settings-card form{margin-top:22px}.settings-card .button{margin-top:15px}.settings-card .backup-actions{display:flex;gap:10px;flex-wrap:wrap}.settings-card .footnote{font-size:10px;color:var(--muted);margin:14px 0 0}.settings-card.full{grid-column:1/-1}.settings-card.full p:last-child{margin:0}.error-text{color:var(--red);font-size:12px;margin:10px 0}.error-text:empty{display:none}.global-error{background:#f9eae4;color:#984b37;border:1px solid #edc8b8;border-radius:9px;margin-top:20px;padding:12px 16px;font-size:12px}.toast{position:fixed;left:50%;bottom:28px;transform:translateX(-50%);background:var(--green);color:#fff;padding:12px 25px;border-radius:10px;box-shadow:0 6px 26px #173c3130;z-index:100;font-size:13px;max-width:90vw}.login-screen{display:grid;grid-template-columns:1fr 1fr;min-height:100vh}.login-story{background:#e9eee1;padding:55px 65px;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.login-story::after{content:'';position:absolute;width:300px;height:300px;border:1px solid #c6d3b9;border-radius:50%;right:-140px;bottom:50px;box-shadow:0 0 0 27px #e9eee1,0 0 0 28px #d1ddc7,0 0 0 58px #e9eee1,0 0 0 59px #dce5d5;pointer-events:none}.login-story h1{font-size:55px;line-height:1.55;margin:15px 0 25px;letter-spacing:2px}.login-story>div,.login-story>.subtle{position:relative;z-index:1}.login-story p:not(.eyebrow){font-size:14px;line-height:2.1;color:#73846c}.login-story .subtle{font-size:9px;letter-spacing:2px}.login-panel{display:grid;place-items:center;padding:35px}.login-form{width:100%;max-width:350px}.login-form h2{font-size:28px}.login-form>p.muted{font-size:12px;margin:12px 0 32px}.login-form .button{margin-top:22px;justify-content:space-between}.login-form label{margin-top:24px}label{display:block;margin-bottom:7px;font-size:12px;font-weight:500}input,select,textarea{width:100%;border:1px solid #dfe5d9;border-radius:8px;padding:10px 12px;background:#fff;color:var(--ink);font-size:13px;min-height:41px}input::placeholder,textarea::placeholder{color:#a1aca0}textarea{resize:vertical}input[type=number]{font-variant-numeric:tabular-nums}dialog{border:1px solid var(--line);border-radius:18px;padding:28px;width:540px;max-width:calc(100vw - 30px);max-height:90vh;color:var(--ink);background:#fcfdf9;box-shadow:0 30px 80px #182c3620}dialog::backdrop{background:#20362f66;backdrop-filter:blur(3px)}.dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:18px}.dialog-heading .eyebrow{margin-bottom:6px}.dialog-heading h2{margin-bottom:0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px;margin:18px 0}.field-note{display:block;color:var(--muted);font-size:10px;margin-top:5px}.dialog-actions{border-top:1px solid var(--line);padding-top:20px;margin-top:24px;display:flex;justify-content:flex-end;gap:9px}#work-task-title{font-weight:550;overflow-wrap:anywhere}#work-form>.muted,#confirm-description{font-size:12px;white-space:pre-line}#work-form>.muted{margin-top:12px}.password-fields{display:grid;gap:14px}.file-label{display:inline-flex;width:auto;cursor:pointer;margin:15px 0 0}#task-search{background:white}
@media(min-width:1500px){.workspace{max-width:1450px;width:100%;margin:auto;padding:0 60px}.today-layout{grid-template-columns:minmax(0,1fr) 320px}}
@media(max-width:1150px){.app-shell{grid-template-columns:190px minmax(0,1fr)}.sidebar{padding:28px 15px}.brand{font-size:19px}.workspace{padding:0 25px}.today-layout{grid-template-columns:minmax(0,1fr) 260px;gap:18px}.task-card{padding:18px}.summary>div{padding:0 13px}.sync-status{display:none}.task-grid{grid-template-columns:1fr}}
@media(max-width:900px){.today-layout{grid-template-columns:1fr}.today-aside{display:grid;grid-template-columns:1fr 1fr;gap:16px;grid-row:1}.rest-note{margin:0}.warnings{grid-column:1/-1;margin-top:0}.plan-panel{padding:20px}.plan-panel>p{margin-bottom:12px}.plan-panel fieldset{margin:12px 0}.settings-grid{grid-template-columns:1fr}.settings-card.full{grid-column:auto}.summary{margin-top:6px}.login-story{padding:40px 30px}.login-story h1{font-size:40px}}
@media(max-width:620px){.app-shell{display:block}.sidebar{height:auto;position:relative;padding:18px 20px 12px;border-right:0;border-bottom:1px solid var(--line)}.sidebar .brand{font-size:20px}.brand-mark{width:31px;height:31px;font-size:26px}.sidebar-caption,.sidebar-note,.sidebar-bottom{display:none}.sidebar nav{display:flex;margin-top:18px;gap:6px}.sidebar nav a{padding:8px 12px;flex:1;justify-content:center;font-size:12px;gap:6px}.sidebar nav a>span:first-child{font-size:17px}.count{margin-left:0}.workspace{padding:0 18px}.topbar{height:72px;gap:8px}.topbar>span{font-size:10px}.topbar>div{gap:6px}.topbar .button{padding:7px 9px;font-size:11px}.page-intro{padding:27px 0 22px}.page-intro h1{font-size:28px}.page-intro .muted{font-size:12px}.day-stamp{display:none}.today-aside{display:block}.rest-note{display:none}.warnings{margin-top:15px}.plan-panel{padding:18px}.plan-panel>p{margin-bottom:14px}.energy-option span{flex-direction:row;justify-content:center;padding:9px}.plan-panel fieldset{margin:15px 0}.summary{padding:17px 0}.stat-value{font-size:24px}.summary>div{padding:0 12px}.stat-label{font-size:10px}.task-card{padding:17px 14px}.task-actions{margin-left:0;gap:6px}.task-reason,.next-step,.progress-wrap{margin-left:0}.task-time{font-size:18px}.task-toolbar{flex-direction:column}.task-toolbar input{width:100%}.task-grid{grid-template-columns:1fr}.form-grid{gap:12px}dialog{padding:22px}.login-screen{display:block}.login-story{min-height:270px;padding:25px}.login-story h1{font-size:28px;margin:15px 0;line-height:1.5}.login-story .eyebrow,.login-story>.subtle,.login-story p:not(.eyebrow){display:none}.login-panel{padding:35px 25px}.login-form h2{font-size:25px}.login-form>p.muted{margin-bottom:20px}.page-footer{padding-top:28px}.settings-card{padding:22px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
@media(max-width:620px){.sidebar nav a{padding:8px 7px;gap:5px;white-space:nowrap}.sidebar nav .count{flex-shrink:0}}
.recurrence-fields{border:1px solid var(--line);border-radius:10px;padding:15px;margin:0 0 18px}.recurrence-fields legend{font-size:12px;color:var(--muted)}.recurrence-fields>label,.recurrence-fields>div>label{margin-top:12px}.weekday-options{display:flex;flex-wrap:wrap;gap:10px}.weekday-options label,.check-label{display:flex;align-items:center;gap:5px}.weekday-options input,.check-label input{width:16px;height:16px;min-height:0;flex-shrink:0}.recurrence-card{padding:23px;min-width:0}.recurrence-card h3{overflow-wrap:anywhere}.recurrence-card>.muted{font-size:12px;margin:14px 0 5px}.recurrence-card .task-actions{margin-left:0}.occurrence-history{margin-top:20px;border-top:1px solid var(--line);padding-top:12px}.occurrence-history summary{cursor:pointer;font-size:12px;color:var(--green)}.occurrence-history .task-stack{margin-top:12px}.occurrence-history .library-card{padding:14px;box-shadow:none}.scheduled-notice{margin:0 0 18px}.scheduled-notice p{font-size:12px;margin:6px 0;overflow-wrap:anywhere}#task-kind{margin-bottom:16px}input[readonly]{background:var(--paper);color:var(--muted)}
/* Keep focus indicators within each control and separate task type from title. */
#task-form .task-kind-field{margin-bottom:22px}.field-label{display:block;font-size:12px;font-weight:500;margin:12px 0 9px}.kind-options{display:flex;gap:8px}.kind-options button{flex:1;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--muted);padding:11px 14px;font-size:13px}.kind-options button[aria-pressed=true]{background:var(--green-light);border-color:#7fa593;color:var(--green);font-weight:600}#task-form :is(input,select,textarea,button):focus-visible{outline:2px solid #7fa593;outline-offset:1px}#task-form .recurrence-fields{margin-top:20px;margin-bottom:0}#task-more{margin-top:22px}#task-more>summary{font-size:12px;color:var(--green);cursor:pointer}#task-more .check-label{margin-bottom:18px}.rule-summary{font-size:12px;line-height:1.9;background:var(--green-light);border-radius:9px;padding:12px 14px;margin:16px 0 8px}.task-name-field{margin-bottom:4px}
 .overview-section{margin:0 0 28px}.overview-section h2{font-size:16px;margin:0 0 14px}.overview-section .task-grid{align-items:start}

.manual-launch{margin-top:9px}#manual-dialog{width:620px}#manual-form>.muted{font-size:12px}.manual-list{display:grid;gap:9px;margin-top:14px;max-height:42vh;overflow:auto}.manual-row{border:1px solid var(--line);border-radius:10px;padding:12px 14px;background:#fff}.manual-task{display:flex;align-items:flex-start;gap:10px;margin:0;cursor:pointer}.manual-task input{width:17px;height:17px;min-height:0;flex:none;margin-top:3px}.manual-task span{min-width:0}.manual-task strong{display:block;overflow-wrap:anywhere;font-weight:600}.manual-task small{display:block;color:var(--muted);font-size:10px;font-weight:400}.manual-row-tools{display:flex;align-items:center;justify-content:flex-end;gap:6px;margin-top:9px}.manual-row-tools label{display:flex;align-items:center;gap:6px;margin:0 auto 0 27px;color:var(--muted);font-size:11px}.manual-row-tools input{width:82px;min-height:34px;padding:5px 8px;text-align:right}.manual-row-tools .link-button{font-size:16px}.manual-summary{font-size:12px;margin:16px 0 0}.manual-warning{background:var(--orange-light);border:1px solid #e8d3bd;border-radius:8px;color:#955f34;padding:10px 12px;margin:10px 0 0;font-size:12px}
@media(max-width:620px){.manual-list{max-height:38vh}.manual-row{padding:10px}.manual-row-tools label{margin-left:0}}

/* Keep the manual planner's footer visible while the task list scrolls. */
#manual-dialog[open]{display:flex;flex-direction:column;overflow:hidden}
#manual-form{display:flex;flex-direction:column;min-height:0;max-height:calc(90vh - 56px)}
#manual-list{flex:1;min-height:0;max-height:none;overflow-y:auto}
@media(max-width:620px){#manual-form{max-height:calc(90vh - 44px)}}
@media(max-height:650px){#manual-dialog[open]{overflow:auto;scrollbar-width:none}#manual-dialog[open]::-webkit-scrollbar{display:none}#manual-form{max-height:none}#manual-list{flex:none;max-height:35vh}}

.stage-filters{margin:0 0 20px}.stage-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.stage-card{padding:23px;min-width:0}.stage-card h2{margin:16px 0 9px;font-size:18px;overflow-wrap:anywhere}.stage-card h2 a:hover,.stage-back a:hover{color:var(--green)}.stage-card .muted{font-size:12px;line-height:1.9;min-height:46px;overflow-wrap:anywhere}.stage-card .button{margin-top:7px}.stage-back{margin-top:25px;font-size:12px;color:var(--muted)}.stage-back+.page-intro{padding-top:15px}.stage-description{white-space:pre-wrap;overflow-wrap:anywhere;color:var(--muted);margin:0 0 14px}.stage-toolbar,.stage-add{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.stage-toolbar{margin:0 0 18px}.stage-toolbar>.link-button{margin-left:auto}.stage-summary{display:flex;padding:20px 8px;margin:20px 0}.stage-summary>div{flex:1;padding:0 22px;border-right:1px solid var(--line)}.stage-summary>div:last-child{border:0}.stage-summary b{display:block;font-size:24px;font-weight:550}.stage-summary span{font-size:11px;color:var(--muted)}.stage-add{margin:0 0 25px}.stage-task{padding:20px 23px}.stage-task-head{display:flex;align-items:start;justify-content:space-between;gap:10px}.stage-task-head h3{overflow-wrap:anywhere}.stage-goal{margin:15px 0 0;font-size:12px;color:var(--green)}.stage-task .next-step,.stage-task .task-actions{margin-left:0}.stage-task progress{margin:8px 0 0}.stage-completed{margin-top:26px}.stage-completed summary{cursor:pointer;font-size:14px;color:var(--green);padding:12px 0;border-top:1px solid var(--line)}.stage-completed .task-stack{margin-top:10px}.stage-overdue{margin:0 0 15px}.stage-overdue p{margin:6px 0 0;font-size:12px;color:#976e45}.scheduled-notice a{text-decoration:underline;text-underline-offset:2px}
@media(max-width:900px){.stage-grid{grid-template-columns:1fr}}
@media(max-width:620px){.page-intro{flex-wrap:wrap}.stage-card,.stage-task{padding:18px}.stage-summary>div{padding:0 12px}.stage-summary b{font-size:21px}.stage-toolbar>.link-button{margin-left:0}}
.task-toolbar .stage-filters{margin:0}.stage-card-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.stage-card-actions .link-button{margin-top:7px}.stage-back .button.primary:hover{color:#fff}
@media(max-width:900px){.stage-list-toolbar{flex-wrap:wrap}.stage-list-toolbar #stage-search{margin-left:auto}}
@media(max-width:620px){.stage-list-toolbar #stage-search{margin-left:0}}
.capacity-hint{font-size:12px;color:var(--muted);margin:18px 0 8px}.capacity-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.capacity-grid label{font-size:11px;color:var(--muted)}.capacity-grid input{min-width:0}.date-budget-row{display:grid;grid-template-columns:minmax(0,1fr) 110px auto;align-items:center;gap:8px;margin-bottom:8px}.date-budget-row .link-button{white-space:nowrap}
@media(max-width:620px){.capacity-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.date-budget-row{grid-template-columns:minmax(0,1fr) 85px auto;gap:5px}.date-budget-row input{padding:8px 6px;font-size:11px}}
