:root{color-scheme:light;--bg:#f7f7fa;--surface:#fff;--ink:#252532;--muted:#707080;--line:#ebebf1;--purple:#6253d8;--purple-dark:#5042bd;--purple-soft:#eeebfc;--green:#24755b;--red:#b14d4f;--radius:16px;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-size:15px;line-height:1.6}button,input,select,textarea{font:inherit;color:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{border:0;background:none;cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #a69bea;outline-offset:3px}button{transition:background-color .16s,color .16s}button:hover{color:var(--purple)}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}h2{font-size:18px;font-weight:650}h3{font-size:16px;font-weight:600}input,select,textarea{min-width:0;border:1px solid #dcdce6;border-radius:10px;background:#fff;padding:11px 12px;width:100%;min-height:44px}input::placeholder,textarea::placeholder{color:#777787}textarea{resize:vertical}input[type=checkbox]{width:20px;height:20px;min-height:0;accent-color:var(--purple)}summary{cursor:pointer;list-style:none;min-height:44px}summary::-webkit-details-marker{display:none}.icon{height:21px;width:21px;flex-shrink:0;vertical-align:middle}.muted{color:var(--muted);font-size:13px}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 16px;min-height:44px;border-radius:10px;font-weight:550;white-space:nowrap}.primary{background:var(--purple);color:white}.primary:hover{background:var(--purple-dark);color:#fff}.secondary{background:#f1f0f7;color:#4f486e}.secondary:hover{background:var(--purple-soft)}.text-button{min-height:44px;padding:6px 8px;color:var(--purple);font-size:13px;display:inline-flex;align-items:center;gap:6px}.icon-button{width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;border-radius:10px;color:var(--muted);flex-shrink:0}.icon-button:hover{background:var(--purple-soft);color:var(--purple)}
#app{max-width:1600px;margin:auto;min-height:100dvh}.sidebar{width:238px;position:fixed;top:0;bottom:0;padding:42px 25px;background:#f0f0f6;border-right:1px solid var(--line);display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:10px;font-size:25px;font-weight:750;letter-spacing:-.02em}.brand img{width:34px;height:34px;border-radius:9px}.trial-label{font-size:10px;font-weight:500;color:#656078;margin-top:9px;white-space:nowrap}.brand-caption{font-size:12px;color:var(--muted);margin:14px 0 50px 2px}.nav{display:flex;flex-direction:column;gap:9px}.nav button{display:flex;align-items:center;gap:14px;border-radius:12px;color:#676677;padding:14px 20px;text-align:left;font-size:15px;min-height:52px}.nav button.active{background:#e7e3fa;color:var(--purple);font-weight:650}.nav button:hover{background:#eae8f5}.sidebar-bottom{margin-top:auto;color:var(--muted);font-size:12px;display:flex;flex-direction:column;gap:17px}.sidebar-bottom button{display:flex;align-items:center;gap:10px;min-height:44px;text-align:left;padding:8px 3px;font-size:14px}.sidebar-bottom>span{display:flex;align-items:center;gap:7px;font-size:11px}.sidebar-bottom>span .icon{width:15px;height:15px}main{margin-left:238px;padding:44px 50px 30px;max-width:1360px}.page-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:32px}.greeting{color:var(--muted);font-size:13px;margin-bottom:6px}h1{font-size:34px;font-weight:700;letter-spacing:-.02em;display:flex;align-items:center;gap:12px;line-height:1.4}.heading-dot{height:7px;width:7px;border-radius:50%;background:var(--purple)}.header-actions{display:flex;align-items:center;gap:12px}.avatar{width:40px;height:40px;border-radius:50%;background:#e9e5f6;color:var(--purple);font-size:15px;font-weight:650}.mobile-nav{display:none}.page-footer{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:11px;margin-top:36px;border-top:1px solid var(--line);padding-top:12px;gap:8px}.page-footer button{font-size:11px;color:var(--muted);min-height:44px}.today-layout{display:grid;grid-template-columns:minmax(0,1fr) 282px;gap:34px;align-items:start}.day-strip{display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--line);padding-bottom:16px;flex-wrap:wrap}.day-strip>span{font-size:12px;color:var(--muted);margin-left:auto}.day-strip b{color:var(--ink);font-weight:600}.date-control{display:flex;align-items:center;gap:8px;min-width:0}.date-control input{border:0;background:none;padding:5px;width:148px;min-height:44px;font-size:14px;font-weight:550}.date-control .icon{color:var(--purple)}.day-strip .text-button{font-size:11px;padding:0 4px}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:18px 0 23px}.segmented{display:flex;gap:3px;background:#eaeaf0;padding:4px;border-radius:10px;flex-shrink:0}.segmented button{padding:5px 13px;font-size:12px;min-height:36px;white-space:nowrap;border-radius:7px;color:#6c6c7b}.segmented button.selected{background:white;color:var(--purple);box-shadow:0 2px 5px #24243908;font-weight:600}.search{display:flex;align-items:center;gap:4px;min-width:0;max-width:200px;color:#8a889a}.search .icon{width:17px;height:17px}.search input{border:0;background:none;padding:7px 4px;font-size:12px;min-height:44px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:14px 0 8px;min-height:44px}.section-heading h2 span,.project-list h2 span{font-size:12px;color:var(--muted);font-weight:450;padding-left:8px}.task-list{background:var(--surface);border-radius:var(--radius);padding:5px 17px}.task-row{display:flex;align-items:flex-start;gap:12px;padding:20px 0;border-bottom:1px solid var(--line);min-width:0}.task-row:last-child{border-bottom:0}.check-button{width:25px;height:25px;padding:0;margin-top:4px;border:1.5px solid #c6c5d2;border-radius:7px;display:flex;align-items:center;justify-content:center;flex-shrink:0;position:relative}.check-button::after{content:"";position:absolute;inset:-9px}.check-button .icon{width:17px;height:17px}.check-button:hover{border-color:var(--purple)}.check-button.checked{background:var(--purple);border-color:var(--purple);color:white}.check-button.review{border-color:#bd864c;color:#9e642c;background:#fff8ec}.task-content{text-align:left;padding:0;min-width:0;flex:1;display:flex;flex-direction:column;gap:4px;color:inherit}.task-title{font-size:15px;font-weight:550;line-height:1.6;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.task-path{font-size:11px;color:#757485;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:100%;display:block}.task-meta{display:flex;flex-wrap:wrap;gap:4px 10px;font-size:11px;color:#797889;margin-top:3px}.task-row.done .task-title{text-decoration:line-through;color:#838291}.task-row.timing .task-title{color:var(--purple)}.timer-button{margin:-5px -6px 0 0;width:36px;height:44px;color:#8b879d}.timer-button .icon{width:17px;height:17px}.late,.danger{color:var(--red)}.blocked{color:#ad602c}.fold{margin:11px 0;border-bottom:1px solid var(--line)}.fold summary{display:flex;align-items:center;gap:8px;padding:12px 0;font-size:13px;color:#676577}.fold summary:after{content:'›';margin-left:auto;transform:rotate(90deg);font-size:20px;color:#9693a5}.fold[open] summary:after{transform:rotate(-90deg)}.fold summary span:not(.late){font-size:11px;color:#858194}.fold .task-row{padding-left:10px;padding-right:10px}.fold.inbox{margin-top:28px}.fold .icon{height:18px;width:18px}.padding{padding:12px}.today-aside{padding-top:7px}.project-summary{background:#fff;padding:18px 20px;border-radius:var(--radius)}.project-summary .section-heading{margin:0 0 10px}.project-summary h2{font-size:15px}.summary-project{width:100%;text-align:left;padding:16px 0;border-bottom:1px solid var(--line)}.summary-project:last-child{border:0}.summary-line{display:flex;gap:12px;justify-content:space-between;align-items:flex-start;font-size:12px;line-height:1.7}.summary-line strong{font-weight:550}.summary-line b{color:var(--purple);white-space:nowrap;font-size:12px}.progress-track{height:5px;background:#edecf3;border-radius:5px;overflow:hidden;margin:12px 0}.progress-track>span{display:block;height:100%;border-radius:inherit;background:var(--purple);transition:background-color .2s}.summary-foot{font-size:10px;color:var(--muted)}.quiet-note{padding:33px 17px;color:#706b83}.note-symbol{margin-bottom:16px;color:#a09aba}.note-symbol .icon{height:30px;width:30px}.quiet-note h3{font-size:14px;font-weight:500;color:#5c566f;margin-bottom:9px}.quiet-note p{font-size:12px;line-height:1.9;max-width:210px}.small-badge{display:inline-block;font-size:10px;color:#726587;background:#ece8f2;padding:4px 9px;border-radius:5px;margin-top:19px}.empty{padding:38px 14px;text-align:center;display:flex;align-items:center;flex-direction:column;color:var(--muted)}.empty>.icon{width:36px;height:36px;color:#b5afca;margin-bottom:17px}.empty h3{color:#625c78;font-weight:500;margin-bottom:8px}.empty p{font-size:12px;max-width:300px;margin-bottom:21px;line-height:1.8}
.work-toolbar{margin-top:0;margin-bottom:25px}.work-toolbar .search{max-width:330px}.work-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:30px}.project-list{padding-right:25px;border-right:1px solid var(--line)}.project-list h2{font-size:14px;margin:12px 0 22px}.project-list>button{display:block;width:100%;text-align:left;border-radius:12px;padding:15px;margin-bottom:8px}.project-list>button.selected{background:#eeebfc}.project-list-name{display:flex;align-items:flex-start;gap:10px;overflow-wrap:anywhere;font-size:13px;font-weight:550}.project-list-name .icon{width:17px;height:20px;color:var(--purple)}.project-list-foot{font-size:11px;color:var(--muted);display:flex;justify-content:space-between;margin-top:10px;padding-left:27px}.project-list-foot b{color:var(--purple);font-weight:500}.project-head{display:flex;align-items:flex-start;gap:16px;justify-content:space-between}.project-context{color:var(--muted);font-size:11px}.project-head h2{font-size:23px;margin:6px 0 12px;overflow-wrap:anywhere;line-height:1.5}.project-head p{color:var(--muted);font-size:12px;max-width:520px}.project-head .secondary{font-size:11px;padding:8px 11px;flex-shrink:0}.project-progress{display:flex;align-items:center;gap:16px;margin:25px 0 29px}.project-progress strong{font-size:24px;color:var(--purple);font-weight:550}.project-progress .progress-track{flex:1}.project-progress>span{font-size:11px;color:var(--muted);white-space:nowrap}.tree{background:#fff;border-radius:var(--radius);padding:6px 18px}.tree-item{margin-left:calc(var(--level)*19px);border-bottom:1px solid var(--line);padding:15px 0}.tree-row{display:flex;align-items:center;gap:10px;min-width:0}.tree-title{display:flex;flex-direction:column;min-width:0;flex:1;text-align:left;padding:3px 0;gap:4px}.tree-title strong{font-size:14px;font-weight:550;overflow-wrap:anywhere;line-height:1.5}.tree-meta{font-size:10px;color:var(--muted)}.tree-row>.check-button{margin:0 9px 0 7px;width:22px;height:22px;border-radius:6px}.tree-progress{color:var(--purple);font-size:12px;white-space:nowrap}.expand{width:32px;height:44px}.expand .icon{width:16px;height:16px}.tree-bar{margin:10px 50px 2px}.cancelled-row{padding:15px;font-size:13px;color:var(--muted)}.cancelled-row p{font-size:11px}
.stats-top{display:flex;align-items:center;justify-content:space-between;gap:16px}.large button{font-size:14px;min-height:42px;padding:7px 19px}.select-wrap{font-size:12px;color:var(--muted)}.select-wrap select{width:auto;border:0;background:#efeff5;padding:9px 12px;font-size:12px}.stat-intro{margin:36px 0 25px}.stat-intro h2{font-size:24px;font-weight:550;margin-bottom:9px}.stat-intro p{color:var(--muted);font-size:13px}.tabs{display:flex;gap:26px;border-bottom:1px solid #e4e2ec;margin-bottom:14px}.tabs button{min-height:47px;padding:8px 6px 12px;position:relative;font-size:13px;color:var(--muted)}.tabs button.selected{color:var(--purple);font-weight:600}.tabs button.selected:after{content:'';height:2px;position:absolute;bottom:-1px;left:0;right:0;background:var(--purple)}.statistics{background:#fff;border-radius:var(--radius);padding:5px 25px 22px}.stat-row{padding:22px 0;border-bottom:1px solid var(--line)}.stat-row-top{display:flex;align-items:flex-start;gap:14px;justify-content:space-between}.stat-title{font-size:15px;font-weight:550;text-align:left;padding:0;overflow-wrap:anywhere;min-height:30px;line-height:1.7}.stat-row-top>strong{font-size:16px;font-weight:550;color:var(--purple);white-space:nowrap}.stat-row-foot{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;font-size:11px;color:var(--muted)}.stat-row .progress-track{height:6px;margin:11px 0 10px}.stat-explainer{color:var(--muted);font-size:11px;line-height:1.9;padding-top:18px}.stat-children summary{display:flex;align-items:center;justify-content:space-between;color:#69617c;font-size:11px;padding-top:12px}.stat-children summary .icon{height:14px;width:14px}.stat-child{display:flex;gap:14px;justify-content:space-between;width:100%;font-size:12px;color:#6b687b;min-height:44px;padding:10px 12px;border-left:1px solid #d5cdef}.stat-child b{font-weight:500;color:var(--purple)}
.timer-dock{position:fixed;bottom:24px;left:calc(50% + 85px);transform:translateX(-50%);background:#32294e;color:white;display:flex;align-items:center;gap:14px;padding:10px 13px 10px 20px;width:min(480px,calc(100% - 40px));border-radius:14px;box-shadow:0 10px 32px #30264325;z-index:4}.timer-dock>div{min-width:0;flex:1;display:flex;flex-direction:column}.timer-dock>div>span{color:#cbc2e6;font-size:10px}.timer-dock strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px;font-weight:500}.timer-dock time{font-variant-numeric:tabular-nums;font-size:14px;color:#e0d7f4;white-space:nowrap}.timer-dock .icon-button{color:white;width:40px}.timer-dock .icon-button:hover{background:#56466e}.pulse{height:7px;width:7px;background:#c6b1fc;border-radius:50%;flex-shrink:0}.timer-dock~*{pointer-events:none}
dialog{border:0;border-radius:20px;padding:26px 30px;background:white;color:var(--ink);width:min(570px,calc(100% - 32px));max-height:88dvh;overflow:auto;overscroll-behavior:contain;box-shadow:0 20px 80px #1c153929}dialog::backdrop{background:#24213766}body.dialog-open{overflow:hidden}.sheet-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.sheet-header h2{font-size:19px}.sheet-header .icon-button{margin-right:-8px}.sheet-header~form label{display:flex;flex-direction:column;font-size:12px;font-weight:500;gap:7px;margin-bottom:16px}.sheet-header~form input,.sheet-header~form textarea,.sheet-header~form select{font-size:14px;font-weight:400}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.form-details{margin-top:2px}.form-details summary{font-size:12px;color:var(--purple);display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.form-details summary:after{content:'+';font-size:18px}.form-details[open] summary:after{content:'−'}.sheet-header~form .checkbox-label{display:flex;flex-direction:row;align-items:center;font-size:12px;gap:10px}.form-hint{font-size:11px;color:var(--muted);line-height:1.8;margin-top:12px}.sheet-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:20px;padding-top:15px;border-top:1px solid var(--line);padding-bottom:5px}.sheet-actions .primary{min-width:130px}#form-error{font-size:12px;color:var(--red);margin-top:10px}.detail-path{font-size:11px;color:var(--muted);overflow-wrap:anywhere}.detail-title{display:flex;align-items:flex-start;gap:16px;justify-content:space-between;margin:13px 0}.detail-title h3{font-size:23px;font-weight:600;overflow-wrap:anywhere;line-height:1.5}.status-tag{font-size:10px;border-radius:5px;padding:5px 8px;white-space:nowrap;background:#f0eef6;color:#665d7c}.status-tag.done{background:#edf6f1;color:var(--green)}.status-tag.review{background:#fff4e9;color:#a16229}.detail-owner{display:flex;justify-content:space-between;font-size:12px;color:var(--muted);gap:15px}.detail-progress{display:flex;align-items:center;gap:14px;margin:22px 0}.detail-progress strong{color:var(--purple);font-size:23px;font-weight:500}.detail-progress .progress-track{flex:1}.detail-progress>span{font-size:11px;color:var(--muted)}.detail-note{background:#f7f6fa;padding:17px 18px;border-radius:12px;font-size:13px;color:#625b73;line-height:1.9;overflow-wrap:anywhere}.detail-blocked{font-size:12px;padding:16px 0}.detail-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding:23px 0;font-size:11px;color:var(--muted);border-bottom:1px solid var(--line)}.detail-facts>span{display:flex;flex-direction:column;gap:6px}.detail-facts strong{font-size:13px;color:var(--ink);font-weight:500}.detail-controls{display:flex;flex-wrap:wrap;gap:10px;padding-top:22px}.detail-controls .secondary{font-size:12px;padding:10px 12px}.detail-controls .text-button{font-size:11px}.detail-children{margin-top:12px}.detail-children button{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;min-height:44px;border-bottom:1px solid var(--line);width:100%;text-align:left;font-size:13px}.history{margin-top:20px;font-size:12px}.history summary{color:var(--muted)}.history p{padding:10px 0;font-size:12px;border-top:1px solid var(--line)}.history p span{display:block;font-size:10px;color:var(--muted);margin-bottom:4px}.review-note{font-size:11px;color:var(--muted);padding-top:17px}.storage-note{display:flex;align-items:flex-start;gap:14px;background:#f4f2fa;padding:17px;border-radius:12px;margin-bottom:25px}.storage-note .icon{color:var(--purple);margin-top:3px}.storage-note strong{font-size:13px;font-weight:550}.storage-note p{font-size:11px;color:#746980;line-height:1.9;margin-top:7px}.settings-heading{margin:28px 0 10px;font-size:15px}.member-list{display:flex;flex-wrap:wrap;gap:9px;margin:15px 0}.member-chip{display:flex;align-items:center;gap:8px;background:#f2f0f7;border-radius:8px;padding:8px 11px;font-size:12px}.member-chip>span{color:var(--purple);font-size:10px;font-weight:600}.inline-form{display:flex;gap:10px}.settings-buttons{display:flex;gap:12px;margin:15px 0}.settings-divider{margin-top:25px;border-top:1px solid var(--line);padding-top:15px;display:flex;justify-content:space-between;align-items:center;gap:12px}.settings-divider .muted{font-size:10px}#toast{position:fixed;bottom:100px;left:50%;transform:translate(-50%,15px);background:#30293e;color:white;padding:13px 20px;font-size:12px;border-radius:10px;z-index:20;opacity:0;pointer-events:none;transition:opacity .18s,transform .18s;max-width:calc(100% - 36px);width:max-content;box-shadow:0 8px 28px #29223424}#toast.visible{opacity:1;transform:translate(-50%,0)}.error-banner{padding:15px;background:#fff0ef;color:var(--red);border-radius:12px;margin-bottom:20px;font-size:12px}.error-banner button{color:var(--red);min-height:44px;text-decoration:underline}
@media(min-width:1600px){.sidebar{left:calc((100vw - 1600px)/2)}}
@media(max-width:1200px){main{padding:35px 30px}.sidebar{width:200px;padding:35px 20px}main{margin-left:200px}.today-layout{grid-template-columns:minmax(0,1fr) 240px;gap:23px}.project-summary{padding:16px}.work-layout{grid-template-columns:200px minmax(0,1fr);gap:20px}.project-list{padding-right:16px}.trial-label{display:none}}
@media(max-width:1000px){.today-layout{grid-template-columns:1fr}.today-aside{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px}.quiet-note{padding:25px 15px}.work-layout{grid-template-columns:1fr}.project-list{border:0;padding:0;display:flex;overflow-x:auto;gap:10px;padding-bottom:10px}.project-list h2{display:none}.project-list>button{min-width:180px;max-width:220px;flex-shrink:0;background:#f0eff6;margin:0}.project-head{margin-top:12px}.project-progress{margin:20px 0}}
@media(max-width:760px){body{font-size:15px}.sidebar{display:none}main{margin-left:0;padding:30px 22px 115px}.page-header{margin-bottom:21px;gap:12px}.greeting{font-size:11px;margin-bottom:4px}h1{font-size:31px}.header-actions{gap:10px}.avatar{width:36px;height:36px;font-size:13px}.header-actions .primary{padding:10px 13px;font-size:12px}.header-actions .primary .icon{width:18px;height:18px}.mobile-nav{display:block;position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid var(--line);padding:7px 12px calc(8px + env(safe-area-inset-bottom));z-index:5}.mobile-nav .nav{flex-direction:row;gap:6px;justify-content:space-around}.mobile-nav .nav button{flex:1;flex-direction:column;gap:2px;padding:6px 4px;min-height:51px;font-size:10px;border-radius:10px;color:#898498}.mobile-nav .nav .icon{width:22px;height:22px}.mobile-nav .nav button.active{background:transparent;color:var(--purple)}.today-layout{gap:22px}.day-strip{gap:9px;padding-bottom:10px}.day-strip>span{font-size:11px}.date-control{gap:5px}.date-control input{width:132px;font-size:12px;padding:4px}.date-control .icon{height:18px;width:18px}.day-strip .text-button{font-size:10px;margin-left:auto}.toolbar{gap:9px;margin:14px 0 15px}.segmented button{font-size:11px;padding:4px 11px}.search{max-width:145px}.search input{font-size:11px}.section-heading{margin:8px 0 7px}.section-heading h2{font-size:16px}.task-list{padding:3px 15px}.task-row{gap:12px;padding:19px 0}.task-title{font-size:14px}.task-path{font-size:10px}.task-meta{font-size:10px;gap:3px 8px}.check-button{width:23px;height:23px;border-radius:6px}.timer-button{width:28px;margin-right:-7px}.today-aside{display:block;padding-top:0}.project-summary{padding:16px 19px}.quiet-note{display:none}.summary-project{padding:13px 0}.summary-line{font-size:12px}.fold summary{font-size:12px}.fold.inbox{margin-top:21px}.page-footer{font-size:10px;margin-top:25px;align-items:flex-start}.page-footer button{font-size:10px;white-space:nowrap;padding:0 4px}.work-toolbar .search{max-width:180px}.work-toolbar .secondary{font-size:11px;padding:10px 11px}.project-list>button{min-width:175px}.project-head h2{font-size:21px}.project-head p{font-size:11px}.project-head .secondary{font-size:10px;padding:8px}.project-context{font-size:10px}.project-progress>span{font-size:10px}.project-progress strong{font-size:23px}.tree{padding:4px 12px}.tree-item{margin-left:calc(var(--level)*12px);padding:14px 0}.tree-row{gap:5px}.tree-title strong{font-size:13px}.tree-meta{font-size:10px}.tree-progress{font-size:11px}.tree-row>.icon-button{width:32px}.tree-row>.check-button{margin:0 6px 0 4px}.tree-bar{margin:10px 37px 0}.stats-top{gap:10px}.large button{font-size:12px;min-height:40px;padding:7px 14px}.select-wrap{font-size:10px}.select-wrap select{font-size:11px;padding:7px}.stat-intro{margin:27px 0 21px}.stat-intro h2{font-size:22px}.stat-intro p{font-size:11px}.tabs{gap:24px}.statistics{padding:3px 18px 18px}.stat-title{font-size:14px}.stat-row-top>strong{font-size:15px}.stat-row-foot{font-size:10px}.stat-explainer{font-size:10px}.timer-dock{left:50%;bottom:calc(83px + env(safe-area-inset-bottom));width:calc(100% - 30px);max-width:520px;padding:9px 10px 9px 16px;border-radius:12px;gap:10px}.timer-dock strong{font-size:11px}.timer-dock time{font-size:13px}dialog{margin:auto 0 0;width:100%;max-width:none;max-height:92dvh;border-radius:20px 20px 0 0;padding:22px 24px calc(25px + env(safe-area-inset-bottom))}.sheet-header{margin-bottom:18px}.sheet-header h2{font-size:18px}.sheet-header~form input,.sheet-header~form textarea,.sheet-header~form select{font-size:16px}.detail-title h3{font-size:21px}.sheet-actions{position:sticky;bottom:-25px;background:#fff;padding-bottom:15px}.detail-owner{font-size:11px}.detail-progress>span{font-size:10px}.detail-facts{font-size:10px}.detail-note{font-size:12px}.detail-controls .secondary{font-size:11px}.form-grid{gap:0 12px}#toast{bottom:calc(155px + env(safe-area-inset-bottom));font-size:11px}.storage-note p{font-size:11px}.settings-divider{flex-wrap:wrap}}
@media(max-width:360px){main{padding-left:16px;padding-right:16px}.greeting{font-size:10px}.day-strip .text-button{display:none}.search{max-width:125px}.task-list{padding:3px 12px}.task-row{gap:10px}.project-progress{gap:10px}.stat-row-foot{flex-wrap:wrap}.detail-progress{flex-wrap:wrap}.detail-progress .progress-track{min-width:100px}.detail-controls .secondary{padding:9px}.stats-top{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;scroll-behavior:auto!important}}

/* Keep task content readable in day-to-day mobile use. */
@media(max-width:760px){.task-title{font-size:16px}.task-path,.task-meta{font-size:12px}.tree-title strong{font-size:14px}.tree-meta,.stat-row-foot,.stat-explainer{font-size:12px}.summary-foot{font-size:12px}.task-path{line-height:1.65}.task-row{padding:20px 0}}

.cancelled-projects{font-size:12px;margin-top:20px;color:var(--muted)}.cancelled-projects button{display:block;min-height:44px;text-align:left;font-size:12px}.cancelled-projects summary{padding:10px 4px}@media(max-width:1000px){.cancelled-projects{min-width:180px;margin-top:0}}
.today-layout>*,.work-layout>*{min-width:0}.task-content{overflow:hidden}.task-title,.tree-title strong{max-width:100%}
