:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:#202624;background:#f5f7f6;font-size:14px;letter-spacing:0;--green:#176c4c;--line:#e2e7e4;--muted:#69736d}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit;letter-spacing:0}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}button,a{touch-action:manipulation}button:focus-visible,a:focus-visible{outline:3px solid #83bda5;outline-offset:2px}input,textarea,select{border:1px solid #cfd8d2;border-radius:5px;background:white;padding:10px 11px;color:inherit;min-width:0;width:100%}input:focus,textarea:focus,select:focus{outline:2px solid #95c5ad;border-color:var(--green)}textarea{resize:vertical;min-height:150px;line-height:1.6}label{display:flex;flex-direction:column;gap:7px;font-weight:500}button{border:1px solid transparent;border-radius:5px;display:inline-flex;gap:7px;align-items:center;justify-content:center;min-height:36px;padding:7px 12px;white-space:nowrap;background:none;color:inherit}button svg,a svg{width:17px;height:17px;flex-shrink:0}.primary{background:var(--green);color:white;border-color:var(--green)}.primary:hover{background:#10533a}.secondary{background:white;border-color:#d6dfd9}.secondary:hover{background:#f0f5f2}.icon{width:36px;height:36px;padding:8px;flex-shrink:0}.icon:hover,.plain:hover{background:#ecf1ed}.plain{padding:3px 7px;min-height:30px}.subtle{color:var(--muted)}h1,h2,p{margin-top:0}h1{font-size:24px;font-weight:650;margin-bottom:7px}h2{font-size:16px;font-weight:600;margin-bottom:0}.brand{display:flex;align-items:center;gap:10px;font-size:18px;font-weight:650;white-space:nowrap}.brand>svg{color:var(--green);width:25px;height:25px}.topbar{height:66px;background:white;border-bottom:1px solid var(--line);padding:0 24px;display:flex;align-items:center;justify-content:space-between;gap:16px}.top-actions{display:flex;align-items:center;gap:10px}.layout{display:grid;grid-template-columns:220px minmax(0,1fr);min-height:calc(100dvh - 66px)}.projects{border-right:1px solid var(--line);background:#fbfcfb;padding:22px 12px 12px;display:flex;flex-direction:column}.section-label{display:flex;justify-content:space-between;padding:0 12px 14px;color:var(--muted);font-size:12px;font-weight:600}.section-label span{font-variant-numeric:tabular-nums}.search{position:relative;margin:0 4px 16px}.search svg{position:absolute;top:10px;left:10px;width:16px;height:16px;color:var(--muted)}.search input{padding:8px 8px 8px 33px;font-size:13px}#project-list{overflow-y:auto;max-height:calc(100dvh - 245px)}.project{display:flex;align-items:center;width:100%;border-radius:4px;text-align:left;justify-content:flex-start;padding:10px;gap:10px;font-size:13px}.project:hover{background:#eff3f0}.project.active{background:#e3efe8;color:#155f43;font-weight:600}.project .pid{font-size:11px;font-family:monospace;color:var(--muted)}.project .count{margin-left:auto;font-size:11px}.sidebar-foot{display:flex;align-items:center;gap:8px;border-top:1px solid var(--line);margin:18px 8px 0;padding-top:16px;color:var(--muted);font-size:12px}.sidebar-foot svg{height:14px;width:14px}main{min-width:0;background:white}.project-header{padding:25px 30px 23px;display:flex;justify-content:space-between;align-items:center;gap:16px;border-bottom:1px solid var(--line)}.project-header p{font-size:13px;margin-bottom:0;line-height:1.5}.eyebrow{font-family:monospace;font-size:12px;color:var(--muted);margin-bottom:7px}.work-columns{display:grid;grid-template-columns:260px minmax(0,1fr);min-height:calc(100dvh - 206px)}.tasks-pane{border-right:1px solid var(--line);padding:20px 12px}.pane-heading{display:flex;align-items:center;justify-content:space-between;padding:0 8px 14px;gap:12px}.pane-heading select{width:88px;font-size:12px;padding:5px}.task-item{display:flex;flex-direction:column;align-items:flex-start;text-align:left;border:1px solid transparent;border-bottom-color:var(--line);width:100%;gap:9px;padding:15px 12px;min-height:88px;white-space:normal}.task-item.active{background:#f0f6f2;border-color:#cbded2}.task-item strong{font-weight:600;line-height:1.5;overflow-wrap:anywhere}.task-item .task-info{font-size:11px;color:var(--muted);display:flex;gap:12px}.detail-pane{padding:26px 30px;min-width:0}.detail-heading{display:flex;align-items:center;gap:10px}.detail-heading h2{font-size:20px;line-height:1.5;flex:1;min-width:0;overflow-wrap:anywhere}.badge{border-radius:4px;background:#e7f1e9;color:#1b6746;padding:4px 7px;font-size:11px;white-space:nowrap}.badge.closed{background:#eceeec;color:#727771}.task-meta{display:flex;align-items:center;gap:16px;margin:12px 0 23px;color:var(--muted);font-size:12px;flex-wrap:wrap}.task-meta code{font-size:12px}.tabs{display:flex;border-bottom:1px solid var(--line);gap:21px;margin-bottom:22px}.tabs button{border-radius:0;border-bottom:2px solid transparent;padding:9px 0 12px;font-size:13px}.tabs button[aria-selected=true]{color:var(--green);border-bottom-color:var(--green);font-weight:600}.tabs span{font-size:11px;color:var(--muted)}.material-actions{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px}.material-actions button{font-size:12px;padding:8px 10px}.file-row{display:flex;align-items:center;gap:12px;border-bottom:1px solid #eef1ef;padding:13px 0;min-width:0}.file-thumb{width:40px;height:44px;background:#f0f3f2;border:1px solid var(--line);border-radius:4px;display:flex;align-items:center;justify-content:center;padding:0;flex-shrink:0}.file-thumb img{width:100%;height:100%;object-fit:cover;border-radius:3px}.file-thumb svg{width:21px;height:21px;color:#68786e}.file-info{flex:1;min-width:0}.file-info strong{display:block;font-size:13px;font-weight:500;overflow-wrap:anywhere;line-height:1.5}.file-info small{display:block;margin-top:5px;font-size:11px;color:var(--muted)}a.icon{color:inherit;text-decoration:none;display:flex;align-items:center;justify-content:center}.drive-list{margin-top:23px}.drive-list h3{font-size:12px;color:var(--muted);font-weight:500;margin:0 0 4px}.drive-row .file-thumb{background:#eff4fb}.drive-row .file-thumb svg{color:#376eba}.drive-row small{color:#806131}.long-text{white-space:pre-wrap;line-height:1.8;overflow-wrap:anywhere}.detail-footer{margin-top:30px;padding-top:22px;border-top:1px solid var(--line);display:flex;align-items:center;gap:16px;flex-wrap:wrap}.detail-footer .subtle{font-size:12px}.empty{padding:70px 18px;text-align:center;color:var(--muted)}.empty svg{width:42px;height:42px;color:#a4b3aa;margin-bottom:16px}.empty h2{font-size:15px;font-weight:500}.empty.small{padding:35px 10px;font-size:13px}.auth{min-height:100dvh;display:flex;align-items:center;justify-content:center;padding:25px}.auth-box{width:380px;background:white;padding:32px;border:1px solid var(--line);border-radius:8px}.auth h1{font-size:22px;margin:32px 0 24px}.auth form{display:flex;flex-direction:column;gap:18px}.auth-note{font-size:12px;margin:22px 0 0;text-align:center}.auth label{font-size:13px}.auth .primary{height:42px}.error{color:#af3030;font-size:13px;line-height:1.6;margin:0;white-space:pre-wrap}.error:empty{display:none}dialog{border:1px solid var(--line);border-radius:8px;padding:24px;width:540px;max-width:calc(100% - 32px);max-height:calc(100dvh - 40px);box-shadow:0 12px 48px #20352b22}dialog::backdrop{background:#12251a66}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.dialog-heading h2{font-size:18px}#dialog-fields{display:flex;flex-direction:column;gap:18px}.dialog-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:22px}#dialog-error{margin-top:15px}.dialog-note{line-height:1.6;font-size:12px;color:var(--muted);margin:0}.toast{position:fixed;bottom:26px;left:50%;transform:translateX(-50%);padding:12px 20px;background:#24352b;color:white;border-radius:6px;max-width:calc(100% - 32px);box-shadow:0 3px 15px #0002;z-index:10;font-size:13px}.upload-progress{display:flex;align-items:center;gap:12px;font-size:12px;color:var(--muted);padding-bottom:16px}.upload-progress progress{width:160px;max-width:55%;accent-color:var(--green)}#image-dialog{width:1000px;padding:16px}.image-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:12px}.image-toolbar span{overflow-wrap:anywhere}#preview-image{display:block;max-width:100%;max-height:75dvh;margin:auto;object-fit:contain}.mobile-only,#mobile-project{display:none}[hidden]{display:none!important}
@media(min-width:1500px){.detail-pane{padding-left:40px;padding-right:40px}.work-columns{grid-template-columns:300px minmax(0,1fr)}}
@media(max-width:1100px){.layout{grid-template-columns:185px minmax(0,1fr)}.work-columns{grid-template-columns:210px minmax(0,1fr)}.detail-pane{padding:22px 20px}.project-header{padding:23px 20px}.topbar{padding:0 20px}.tabs{gap:17px}.detail-heading .badge{display:none}}
@media(max-width:760px){.topbar{height:58px;padding:0 16px}.brand{font-size:16px}.brand>svg{width:22px}.top-actions{gap:3px}.top-actions>span{display:none}.layout{display:block;min-height:calc(100dvh - 58px)}.projects{display:none}.project-header{padding:17px 16px;align-items:center}.project-header h1{font-size:21px}.project-header p{display:none}.eyebrow{display:none}#mobile-project{display:block;margin-bottom:12px;font-size:12px;width:180px;padding:6px 9px}.project-header .primary{padding:8px 10px;font-size:12px}.work-columns{display:block;min-height:0}.tasks-pane{border:0;padding:19px 12px}.task-item{min-height:83px}.detail-pane{display:none;padding:20px 16px}.mobile-detail .tasks-pane{display:none}.mobile-detail .detail-pane{display:block}.mobile-detail .project-header{display:none}.mobile-only{display:inline-flex}.detail-heading{gap:6px}.detail-heading h2{font-size:19px}.task-meta{margin-top:14px;gap:10px}.tabs{gap:22px}.detail-footer{align-items:stretch}.detail-footer>.primary{width:100%;min-height:42px}.material-actions{gap:6px}.material-actions button{flex:1;font-size:11px;padding:8px 6px;gap:5px}.material-actions svg{width:15px}.auth-box{padding:28px 24px}.detail-heading .icon{width:32px;padding:7px}.file-row{gap:10px}.tabs button{font-size:12px}dialog{padding:20px}.toast{bottom:16px}}
