:root{--bg: #fbfaf7;--surface: #ffffff;--surface-soft: #f4f2ec;--ink: #201d1e;--muted: #6f6a68;--line: #e7e4de;--primary: #316bff;--primary-soft: #eaf0ff;--cyan: #62e8ff;--cyan-soft: #e8fbff;--violet: #775cff;--violet-soft: #f0edff;--sand: #d9cfc0;--sand-soft: #f3eee6;--lime: #c9ff3d;--lime-soft: #f3ffd6;--shadow: 0 18px 44px rgba(32, 29, 30, .08);color:var(--ink);color-scheme:light;font-family:Avenir Next,PingFang SC,Hiragino Sans GB,Microsoft YaHei,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}:root[data-theme=dark]{--bg: #151314;--surface: #201d1e;--surface-soft: #2a2627;--ink: #fbfaf7;--muted: #b7b0aa;--line: #373334;--primary: #6f96ff;--primary-soft: rgba(49, 107, 255, .2);--cyan: #62e8ff;--cyan-soft: rgba(98, 232, 255, .16);--violet: #9a86ff;--violet-soft: rgba(119, 92, 255, .18);--sand: #d9cfc0;--sand-soft: rgba(217, 207, 192, .14);--lime: #c9ff3d;--lime-soft: rgba(201, 255, 61, .14);--shadow: 0 18px 44px rgba(0, 0, 0, .18);color-scheme:dark}*{box-sizing:border-box}html,body,#root{min-height:100%}html{overflow-x:hidden;background:var(--bg);-webkit-text-size-adjust:100%}body{margin:0;min-width:320px;min-height:100dvh;background:var(--bg);overflow-x:hidden}#root{min-height:100dvh}html.scroll-locked,body.scroll-locked{overflow:hidden;height:100dvh;overscroll-behavior:none;touch-action:none}button,input,select,textarea{font:inherit}button{border:0;cursor:pointer}button,input,select,textarea{transition:border-color .16s ease,background-color .16s ease,color .16s ease,box-shadow .16s ease,transform .16s ease}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid rgba(49,107,255,.22);outline-offset:2px}button:active:not(:disabled){transform:translateY(1px)}button:disabled,input:read-only,select:disabled{cursor:not-allowed;opacity:.58}.app-shell{width:min(1180px,100%);min-height:100dvh;margin:0 auto;padding:18px}.card{border:1px solid var(--line);border-radius:22px;background:var(--surface);box-shadow:var(--shadow)}.topbar,.summary-card,.toolbar,.workspace{margin-bottom:14px}.topbar,.brand,.user-menu,.project-card,.search-field,.tabs,.detail-head,.detail-meta{display:flex;align-items:center}.topbar{justify-content:space-between;gap:14px;padding:12px}.brand{min-width:0;gap:10px}.brand-mark{width:38px;height:38px;display:grid;place-items:center;flex:0 0 auto;border-radius:13px;background:var(--ink);color:var(--surface)}.brand strong,.brand span{display:block}.brand strong{font-size:22px;line-height:1}.brand span{margin-top:4px;color:var(--muted);font-size:12px}.user-menu{min-width:0;gap:8px}.user-menu span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:800}.user-menu b,.status-badge,.risk-badge{display:inline-flex;align-items:center;justify-content:center;min-height:24px;padding:0 9px;border-radius:999px;font-size:12px;font-weight:850;white-space:nowrap}.user-menu b,.status-badge.active,.risk-badge.low{background:var(--primary-soft);color:var(--primary)}.user-menu button,.ghost-button,.panel-close,.detail-head-actions button,.modal-head button,.timeline-top button{width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:var(--surface-soft);color:var(--ink)}.screenshot-date{display:none}.summary-card{padding:22px}.metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.metric{min-height:82px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px;border-radius:18px;background:var(--surface-soft)}.metric span{min-width:0;color:var(--muted);font-size:13px;font-weight:800;white-space:nowrap}.metric strong{flex:0 0 auto;font-size:30px;line-height:1}.toolbar{display:grid;grid-template-columns:minmax(260px,360px) minmax(0,1fr);gap:12px}.search-field{min-width:0;height:46px;gap:9px;padding:0 14px;color:var(--muted)}.search-field input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:var(--ink);font-size:13px}.tabs{gap:8px;overflow-x:auto;scrollbar-width:none}.tabs::-webkit-scrollbar{display:none}.tabs button{min-height:46px;flex:0 0 auto;padding:0 16px;border:1px solid var(--line);border-radius:16px;background:var(--surface);color:var(--muted);font-size:13px;font-weight:850;box-shadow:var(--shadow)}.tabs button.active{border-color:var(--primary);background:var(--primary);color:var(--surface)}.workspace{display:block}.project-list{min-width:0;padding:12px}.list-head{display:flex;justify-content:space-between;gap:12px;padding:4px 4px 12px;color:var(--muted);font-size:12px;font-weight:850}.project-card{width:100%;min-height:70px;display:grid;grid-template-columns:16px minmax(0,1fr) auto;grid-template-rows:auto auto;align-items:center;column-gap:12px;row-gap:6px;margin-top:10px;padding:13px 14px;border:1px solid var(--line);border-radius:18px;background:var(--surface);color:var(--ink);text-align:left;box-shadow:0 10px 24px #14221d0a}.plan-mark-mini{min-width:16px;height:16px;display:grid;place-items:center;border-radius:6px;background:var(--primary-soft);color:var(--primary);font-size:9px;font-weight:900;line-height:1}.project-card:has(.status-badge.cancel){opacity:.54;background:var(--surface-soft);box-shadow:none}.project-card.selected{opacity:1;border-color:#316bff7a;background:var(--surface-soft)}.project-title{min-width:0}.project-card strong{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px}.project-card>.status-dot{grid-column:1;grid-row:1;justify-self:center}.project-card small{grid-column:2;grid-row:2;min-width:0;overflow:hidden;color:var(--muted);font-size:12px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.project-card.has-plan small{color:var(--primary)}.project-card time{grid-column:3;grid-row:2;justify-self:end;color:var(--muted);font-size:12px;white-space:nowrap}.project-tags{grid-column:3;grid-row:1;display:inline-flex;justify-content:flex-end;gap:6px}.project-plan-slot{grid-column:1;grid-row:2;display:grid;place-items:center;min-height:16px}.archive-divider{width:100%;min-height:42px;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;margin-top:14px;padding:0 12px;border-radius:14px;background:var(--surface-soft);color:var(--muted);text-align:left;font-size:12px;font-weight:850}.archive-divider span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.archive-divider b{min-width:24px;min-height:24px;display:grid;place-items:center;padding:0 8px;border-radius:999px;background:var(--sand-soft);color:var(--ink)}.completed-divider b{background:var(--lime-soft)}.status-dot{width:9px;height:9px;flex:0 0 auto;border-radius:50%;background:var(--cyan);box-shadow:0 0 0 4px var(--cyan-soft)}.status-dot.contact{background:var(--cyan);box-shadow:0 0 0 4px var(--cyan-soft)}.status-dot.maintain{background:var(--violet);box-shadow:0 0 0 4px var(--violet-soft)}.status-dot.cancel{background:var(--sand);box-shadow:0 0 0 4px var(--sand-soft)}.status-dot.done{background:var(--lime);box-shadow:0 0 0 4px var(--lime-soft)}.status-badge.contact{background:var(--cyan-soft);color:var(--primary)}.status-badge.maintain,.risk-badge.mid{background:var(--violet-soft);color:var(--violet)}.status-badge.cancel,.risk-badge.cancel,.risk-badge.high{background:var(--sand-soft);color:var(--ink)}.status-badge.done{background:var(--lime-soft);color:var(--ink)}.panel-card,.auth-card{padding:16px}.panel-title,.detail-head{position:relative;margin-bottom:20px;padding-right:42px}.panel-title h2,.detail-head h2{margin:0;font-size:20px}.panel-title p,.detail-head p{margin:5px 0 0;color:var(--muted);font-size:13px}.detail-head{gap:10px}.panel-close{position:absolute;top:-2px;right:-2px}.detail-head-actions{position:absolute;top:-2px;right:-2px;display:inline-flex;gap:6px}.detail-meta{gap:8px;margin-bottom:14px}.entry-form,.progress-form,.team-form,.auth-card{display:grid;gap:14px}.auth-card .brand{margin-bottom:14px}.entry-form label,.progress-form label,.team-form label,.auth-card label{display:grid;gap:7px;color:var(--muted);font-size:12px;font-weight:850}.entry-form input,.entry-form select,.progress-form input,.team-form input,.team-form select,.auth-card input{width:100%;height:42px;min-height:42px;padding:0 12px;border:1px solid var(--line);border-radius:13px;outline:0;background:var(--surface);color:var(--ink);line-height:42px}.entry-form input::placeholder,.progress-form input::placeholder,.team-form input::placeholder,.auth-card input::placeholder,.search-field input::placeholder{color:var(--muted);opacity:.78}.entry-form input[type=date],.progress-form input[type=date]{display:block;appearance:none;-webkit-appearance:none;text-align:left}.entry-form input[type=date]::-webkit-date-and-time-value,.progress-form input[type=date]::-webkit-date-and-time-value{min-height:42px;line-height:42px;text-align:left}.entry-form input[type=date]::-webkit-calendar-picker-indicator,.progress-form input[type=date]::-webkit-calendar-picker-indicator{margin:0}.search-field:focus-within,.entry-form input:focus,.entry-form select:focus,.progress-form input:focus,.team-form input:focus,.team-form select:focus,.auth-card input:focus{border-color:#316bff7a;box-shadow:0 0 0 4px #316bff1a}.field-pair{display:grid;grid-template-columns:1fr 1fr;gap:8px}.primary-button{min-height:44px;border-radius:14px;background:var(--primary);color:var(--surface);font-weight:850}.secondary-button{width:100%;min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--line);border-radius:14px;background:var(--surface-soft);color:var(--ink);font-weight:850}.danger-button{width:100%;min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--line);border-radius:14px;background:var(--sand-soft);color:var(--ink);font-weight:850}.timeline{position:relative;flex:0 1 auto;min-height:0;display:block;margin-top:16px;padding-left:4px;padding-right:3px;padding-bottom:2px;max-height:380px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none}.timeline::-webkit-scrollbar{display:none}.timeline-track{position:relative}.timeline-track:before{content:"";position:absolute;left:9px;top:18px;bottom:18px;width:1px;background:var(--line)}.detail-progress-button{flex:0 0 auto;margin-top:10px}.timeline-item{position:relative;display:flex;align-items:flex-start;gap:10px;min-height:0;margin-bottom:12px}.timeline-item:last-child{margin-bottom:0}.timeline-node{position:relative;z-index:1;width:11px;height:11px;margin-top:14px;border-radius:50%;background:var(--primary);box-shadow:0 0 0 5px var(--primary-soft)}.timeline-item.is-plan .timeline-node{background:var(--primary);box-shadow:0 0 0 5px var(--primary-soft)}.timeline-body{min-width:0;flex:1 1 auto;padding:12px;border:1px solid var(--line);border-radius:14px;background:var(--surface-soft);transition:opacity .16s ease,filter .16s ease}.timeline-item.record-tone-1 .timeline-body{opacity:.62;filter:saturate(.78)}.timeline-item.record-tone-2 .timeline-body{opacity:.42;filter:saturate(.58)}.timeline-item.record-tone-3 .timeline-body{opacity:.26;filter:saturate(.38)}.timeline-item.is-plan .timeline-body{border-color:#316bff5c}.timeline-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.timeline-top span{display:inline-flex;gap:5px}.timeline-top button{width:28px;height:28px}.timeline-top time{color:var(--muted);font-size:12px;font-weight:850}.timeline-body p{display:flex;align-items:center;gap:7px;margin:6px 0 0;line-height:1.55;font-size:14px;overflow-wrap:anywhere}.timeline-body p>span:last-child{min-width:0;overflow-wrap:anywhere}.timeline-item.is-plan .timeline-body p,.timeline-item.is-plan .timeline-top time{color:var(--primary)}.plan-mark{min-width:30px;height:18px;display:inline-grid;place-items:center;flex:0 0 auto;border-radius:999px;background:var(--primary-soft);color:var(--primary);font-size:10px;font-weight:900;line-height:1}.empty{padding:24px 12px;color:var(--muted);text-align:center}.loading-shell{width:100%;height:100dvh;min-height:100dvh;display:grid;place-items:center;padding:18px;overflow:hidden;background:var(--bg)}.loading-card{width:min(320px,100%);display:grid;justify-items:center;gap:18px;padding:22px}.loading-card .brand{justify-self:start}.loading-ring{width:34px;height:34px;border:3px solid var(--surface-soft);border-top-color:var(--primary);border-radius:50%;animation:spin .8s linear infinite}.loading-card p{margin:0;color:var(--muted);font-size:13px;font-weight:850}@keyframes spin{to{transform:rotate(360deg)}}.auth-shell{height:100dvh;min-height:100dvh;display:grid;place-items:center;padding:max(18px,env(safe-area-inset-top)) max(18px,env(safe-area-inset-right)) max(18px,env(safe-area-inset-bottom)) max(18px,env(safe-area-inset-left));overflow:hidden;overscroll-behavior:none}.auth-card{width:min(390px,100%)}.password-card{align-content:start}.auth-card h1{margin:2px 0 12px;font-size:28px}.auth-card p{margin:0 0 10px;color:var(--muted)}.auth-card .primary-button,.entry-form .primary-button,.progress-form .primary-button{margin-top:10px}.link-button{min-height:40px;border-radius:12px;background:transparent;color:var(--primary);font-weight:850}.form-error{padding:9px 11px;border-radius:12px;background:var(--violet-soft);color:var(--violet);font-size:13px;font-weight:850}.floating-share,.floating-add,.sheet-wrap{display:none}.sheet-wrap{position:fixed;inset:0;z-index:70;display:grid;place-items:center;padding:18px;background:#201d1e5c;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);overscroll-behavior:contain;touch-action:none}.sheet-wrap>.panel-card{width:min(420px,calc(100vw - 36px));max-height:calc(100vh - 64px);overflow:auto;touch-action:pan-y}.sheet-wrap>.detail-card{width:min(460px,calc(100vw - 36px));display:flex;flex-direction:column;overflow:hidden}.modal-backdrop{position:fixed;inset:0;z-index:90;display:grid;place-items:center;padding:18px;background:#201d1e5c;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);overscroll-behavior:contain;touch-action:none}.progress-modal,.project-modal,.team-modal{width:min(420px,calc(100vw - 36px));position:relative;padding:18px;touch-action:pan-y}.team-modal{width:min(860px,100%);max-height:calc(100vh - 48px);overflow:auto}.team-manager{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:18px}.team-form{align-content:start;padding:14px;border:1px solid var(--line);border-radius:18px;background:var(--surface-soft)}.team-form-actions{display:grid;grid-template-columns:1fr auto;gap:8px;margin-top:10px}.team-list{display:grid;align-content:start;gap:9px}.team-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;gap:10px;align-items:center;padding:11px 12px;border:1px solid var(--line);border-radius:16px;background:var(--surface)}.team-row strong,.team-row span{display:block}.team-row strong{font-size:14px}.team-row span{margin-top:3px;overflow:hidden;color:var(--muted);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.team-row b,.team-row em{min-height:24px;display:inline-flex;align-items:center;justify-content:center;padding:0 9px;border-radius:999px;background:var(--primary-soft);color:var(--primary);font-size:12px;font-style:normal;font-weight:850;white-space:nowrap}.team-row em{background:var(--surface-soft);color:var(--muted)}.team-actions{display:inline-flex!important;gap:5px;margin-top:0!important}.team-actions button{width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:var(--surface-soft);color:var(--ink)}.modal-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px;padding-right:40px}.modal-head strong{font-size:18px}.modal-head button{position:absolute;top:14px;right:14px}.toast{position:fixed;right:18px;bottom:18px;z-index:999;max-width:min(340px,calc(100vw - 28px));padding:11px 14px;border-radius:14px;background:var(--ink);color:var(--surface);font-size:14px;font-weight:850;box-shadow:var(--shadow)}.screenshot-mode .app-shell{padding:54px 18px 64px}.screenshot-mode .topbar{justify-content:space-between;padding:0;border:0;background:transparent;box-shadow:none}.screenshot-mode .screenshot-date{display:block;color:var(--muted);font-size:13px;font-weight:850;white-space:nowrap}.screenshot-mode .topbar .user-menu,.screenshot-mode .brand span,.screenshot-mode .toolbar,.screenshot-mode .floating-share,.screenshot-mode .floating-add,.screenshot-mode .toast{display:none!important}@media(max-width:980px){.toolbar{grid-template-columns:1fr}.sheet-wrap{inset:0;display:block;overflow:hidden;touch-action:none;padding:12px;background:#201d1e5c;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.sheet-wrap>.panel-card,.sheet-wrap>.detail-card{width:calc(100vw - 24px);width:calc(100dvw - 24px);max-width:none;max-height:calc(100dvh - 24px);overflow:auto;border-radius:24px}.modal-backdrop{padding:12px}.progress-modal,.project-modal,.team-modal{width:calc(100vw - 24px);width:calc(100dvw - 24px);max-width:none}.sheet-wrap>.detail-card{overflow:hidden}.timeline{flex:1 1 auto;max-height:none;padding-bottom:2px}}.floating-share,.floating-add{position:fixed;right:22px;z-index:40;width:56px;height:56px;display:grid;place-items:center;border-radius:18px;background:var(--primary);color:var(--surface);box-shadow:var(--shadow)}.floating-share{bottom:88px}.floating-add{bottom:22px}@media(hover:hover)and (pointer:fine){.user-menu button:hover,.ghost-button:hover,.panel-close:hover,.detail-head-actions button:hover,.modal-head button:hover,.timeline-top button:hover,.team-actions button:hover:not(:disabled){background:var(--primary);color:var(--surface)}.tabs button:hover{border-color:var(--primary);background:var(--primary);color:var(--surface)}.project-card:hover{opacity:1;border-color:#316bff7a;background:var(--surface-soft)}.archive-divider:hover{color:var(--ink)}.danger-button:hover:not(:disabled){border-color:var(--sand);filter:brightness(.97)}.secondary-button:hover:not(:disabled){border-color:#316bff7a;color:var(--primary)}.primary-button:hover:not(:disabled),.floating-share:hover,.floating-add:hover{filter:brightness(.95)}.link-button:hover{background:var(--primary-soft)}}@media(max-width:720px){.app-shell{min-height:100dvh;padding:12px 10px max(82px,env(safe-area-inset-bottom))}.auth-shell{height:100dvh;min-height:100dvh}.topbar{border-radius:18px}.brand span,.user-menu b,.list-head span:last-child{display:none}.user-menu{max-width:58%}.summary-card{gap:16px;padding:16px;border-radius:20px}.metrics{grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}.metric{min-height:64px;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:9px 8px;border-radius:14px;text-align:center}.metric span{font-size:11px}.metric strong{font-size:23px}.tabs button,.search-field{min-height:42px;height:42px;border-radius:14px}.tabs button,.search-field input{font-size:12px}.project-list{padding:10px;border-radius:20px}.project-card{min-height:62px;column-gap:9px;row-gap:5px;margin-top:8px;padding:10px 11px;border-radius:15px}.project-card strong{font-size:14px}.project-card small,.project-card time{font-size:11px}.project-tags{gap:4px}.status-badge,.project-card .risk-badge{min-height:22px;padding:0 8px;font-size:11px}.team-manager{grid-template-columns:1fr}.team-row{grid-template-columns:minmax(0,1fr) auto}.team-row em{display:none}.team-actions{grid-column:1 / -1;justify-content:flex-end}}@media(max-width:430px){.field-pair{grid-template-columns:1fr}.toast{right:10px;bottom:80px}}
