*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}:root{--bg: #000000;--surface: #111111;--border: #2a2a2a;--text: #ececec;--muted: #666666;--accent: #c0392b;--accent-glow: rgba(192, 57, 43, .15);--white: #ffffff}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:var(--bg);color:var(--text);min-height:100vh}.nav{position:fixed;top:0;left:0;right:0;display:flex;justify-content:space-between;align-items:center;padding:0 40px;height:64px;z-index:100;background:#000c;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-bottom:1px solid var(--border)}.nav-links{display:flex;gap:4px;align-items:center;position:absolute;left:50%;transform:translate(-50%)}.nav-link{color:var(--muted);font-size:.875rem;text-decoration:none;padding:8px 14px;border-radius:6px;transition:color .2s}.nav-link:hover{color:var(--text)}.nav-actions{display:flex;gap:8px;align-items:center}.btn-nav{background:none;border:none;color:var(--muted);font-size:.875rem;cursor:pointer;padding:8px 16px;border-radius:6px;transition:color .2s}.btn-nav:hover{color:var(--text)}.btn-nav-fill{background:var(--white);border:none;color:#000;font-size:.875rem;font-weight:500;cursor:pointer;padding:8px 18px;border-radius:6px;transition:background .2s}.btn-nav-fill:hover{background:#e0e0e0}.home{min-height:100vh;display:flex;flex-direction:column;background:var(--bg)}.hero{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:28px;text-align:center;padding:120px 24px 80px}.tagline{font-size:clamp(2.8rem,6vw,5rem);font-weight:700;letter-spacing:-.03em;color:var(--white);opacity:0;transform:translateY(16px);transition:opacity .9s ease,transform .9s ease;max-width:760px;line-height:1.08}.tagline.visible{opacity:1;transform:translateY(0)}.hero-sub{font-size:clamp(1rem,2vw,1.2rem);font-weight:400;color:var(--muted);max-width:520px;line-height:1.6;opacity:0;transform:translateY(10px);transition:opacity .9s ease .2s,transform .9s ease .2s}.hero-sub.visible{opacity:1;transform:translateY(0)}.btn-start{opacity:0;transform:translateY(8px);transition:opacity .8s ease,transform .8s ease,background .2s;background:var(--white);color:#000;border:none;padding:14px 40px;font-size:.95rem;font-weight:600;border-radius:8px;cursor:pointer;margin-top:8px}.btn-start.visible{opacity:1;transform:translateY(0)}.btn-start:hover{background:#e0e0e0}.dashboard{min-height:100vh;display:flex;flex-direction:column}.dash-main{max-width:780px;width:100%;margin:0 auto;padding:100px 24px 60px;display:flex;flex-direction:column;gap:24px}.dash-header{display:flex;justify-content:space-between;align-items:center}.dash-title{font-size:1.1rem;font-weight:500;color:var(--muted);letter-spacing:.05em;text-transform:uppercase}.btn-add{background:none;border:1px solid var(--border);color:var(--text);padding:8px 18px;font-size:.85rem;border-radius:6px;cursor:pointer;transition:border-color .2s}.btn-add:hover{border-color:var(--muted)}.empty-state{text-align:center;padding:60px 20px;display:flex;flex-direction:column;align-items:center;gap:20px}.empty-state p{color:var(--muted);font-size:1rem}.btn-add-large{background:none;border:1px solid var(--border);color:var(--text);padding:12px 28px;font-size:.95rem;border-radius:6px;cursor:pointer;transition:border-color .2s}.btn-add-large:hover{border-color:var(--muted)}.advice-panel{background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:24px}.advice-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.advice-header h2{font-size:.85rem;font-weight:500;color:var(--muted);text-transform:uppercase;letter-spacing:.08em}.advice-panel.empty{text-align:center;padding:48px 24px}.advice-panel.empty p{color:var(--muted);margin-bottom:20px}.loading-spinner{color:var(--muted);font-style:italic;font-size:.9rem}.suggestions{font-size:.95rem;line-height:1.7;color:var(--text)}.suggestion-line{margin-bottom:8px}.reasoning-section{margin-top:16px;border-top:1px solid var(--border);padding-top:14px}.reasoning-box{background:var(--bg);border-radius:6px;padding:12px;margin-top:8px;font-size:.85rem;color:var(--muted);line-height:1.6}.task-list{background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:24px}.task-list h2{font-size:.85rem;font-weight:500;color:var(--muted);text-transform:uppercase;letter-spacing:.08em;margin-bottom:16px}.task-section{margin-bottom:16px}h3{font-size:.75rem;font-weight:500;color:var(--muted);text-transform:uppercase;letter-spacing:.05em;margin-bottom:10px}.task-item{border:1px solid var(--border);border-radius:8px;padding:12px 16px;margin-bottom:8px;transition:opacity .2s,border-color .2s;background:var(--bg)}.task-item:hover{border-color:#2e2e42}.task-item.done{opacity:.4}.task-header{display:flex;align-items:center;gap:10px}.priority-badge{font-size:.65rem;font-weight:700;text-transform:uppercase;color:#fff;padding:2px 8px;border-radius:999px;flex-shrink:0}.task-title{flex:1;font-size:.9rem;font-weight:400;color:var(--text)}.task-actions{display:flex;gap:4px}.task-actions button{background:none;border:1px solid var(--border);color:var(--muted);padding:3px 8px;font-size:.8rem;border-radius:4px;cursor:pointer;transition:border-color .2s,color .2s}.task-actions button:hover:not(:disabled){border-color:var(--muted);color:var(--text)}.task-actions button:disabled{opacity:.3;cursor:not-allowed}.btn-danger{color:#c0392b!important}.task-desc{font-size:.82rem;color:var(--muted);margin:6px 0 4px}.task-meta{display:flex;gap:14px;font-size:.78rem;color:var(--muted);margin-top:6px;align-items:center}.prob-wrap{margin-left:auto;animation:fadeUp .5s ease both}.prob-bar-wrap{display:flex;align-items:center;gap:8px;margin-top:8px;animation:fadeUp .5s ease both}.prob-bar-track{flex:1;height:4px;background:#ebebeb;border-radius:999px;overflow:hidden}.prob-bar-fill{height:100%;border-radius:999px;transition:width .6s ease,background .4s ease}.prob-bar-label{font-size:.7rem;font-weight:600;min-width:30px;text-align:right}.prob-bar-side{font-size:.7rem;color:#999;white-space:nowrap;min-width:52px}.prob-bar-side:last-child{text-align:right}.empty{color:var(--muted);font-size:.9rem}button{cursor:pointer;font-family:inherit}.btn-primary{background:var(--accent);color:#fff;border:none;padding:10px 20px;border-radius:6px;font-size:.9rem;font-weight:600;transition:background .2s}.btn-primary:hover{background:#a93226}.btn-secondary{background:none;border:1px solid var(--border);color:var(--muted);padding:6px 14px;border-radius:6px;font-size:.82rem;transition:border-color .2s,color .2s}.btn-secondary:hover:not(:disabled){border-color:var(--muted);color:var(--text)}.btn-secondary:disabled{opacity:.3;cursor:not-allowed}.btn-ghost{background:none;border:none;color:var(--muted);font-size:.82rem;padding:4px 0;transition:color .2s}.btn-ghost:hover{color:var(--text)}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#000000b3;display:flex;align-items:center;justify-content:center;z-index:200;padding:24px}.modal{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:28px;width:100%;max-width:500px;display:flex;flex-direction:column;gap:16px}.modal-header{display:flex;justify-content:space-between;align-items:center}.modal-header h3{font-size:1rem;font-weight:600;color:var(--text)}.modal-close{background:none;border:none;color:var(--muted);font-size:1rem;cursor:pointer;padding:4px 8px;transition:color .2s}.modal-close:hover{color:var(--text)}.modal-hint{font-size:.85rem;color:var(--muted)}.modal-textarea{width:100%;background:var(--bg);border:1px solid var(--border);border-radius:8px;padding:12px;font-size:.9rem;font-family:inherit;color:var(--text);resize:vertical;outline:none;transition:border-color .2s;min-height:100px}.modal-textarea::placeholder{color:var(--muted)}.modal-textarea:focus{border-color:var(--muted)}.modal-actions{display:flex;justify-content:flex-end;gap:10px}.btn-ghost-modal{background:none;border:none;color:var(--muted);font-size:.9rem;padding:8px 16px;border-radius:6px;cursor:pointer;transition:color .2s}.btn-ghost-modal:hover{color:var(--text)}.btn-submit{background:var(--accent);border:none;color:#fff;font-size:.9rem;font-weight:600;padding:8px 24px;border-radius:6px;cursor:pointer;transition:background .2s}.btn-submit:hover:not(:disabled){background:#a93226}.btn-submit:disabled{opacity:.4;cursor:not-allowed}.home-light{min-height:100vh;background:#fff;display:flex;flex-direction:column;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#0d0d0d}.nav-light{position:fixed;top:0;left:0;right:0;height:52px;display:flex;align-items:center;justify-content:space-between;padding:0 40px;background:#ffffffd9;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-bottom:1px solid #e8e8e8;z-index:100}.nav-links-light{display:flex;gap:4px;position:absolute;left:50%;transform:translate(-50%)}.nav-logo{font-size:1rem;font-weight:700;letter-spacing:.06em;color:#0d0d0d;-webkit-user-select:none;user-select:none}.nav-link-light{color:#555;font-size:.78rem;text-decoration:none;padding:6px 12px;border-radius:6px;transition:color .15s}.nav-link-light:hover{color:#000}.nav-link-btn{background:none;border:none;cursor:pointer;font-family:inherit}.nav-actions-light{display:flex;gap:8px;align-items:center}.btn-nav-light{background:none;border:1px solid #e0e0e0;color:#333;font-size:.78rem;padding:6px 14px;border-radius:20px;cursor:pointer;transition:border-color .15s}.btn-nav-light:hover{border-color:#aaa}.btn-nav-dark{background:#000;border:none;color:#fff;font-size:.78rem;font-weight:500;padding:6px 14px;border-radius:20px;cursor:pointer;transition:background .15s}.btn-nav-dark:hover{background:#333}@keyframes fadeUp{0%{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}.home-main{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:80px 24px 60px;gap:14px}.home-main .suggestion-block,.home-main .home-heading{animation:fadeUp .6s ease both;animation-delay:.1s}.home-main .chat-box{animation:fadeUp .6s ease both;animation-delay:.25s}.home-main .see-tasks-link{animation:fadeUp .6s ease both;animation-delay:.35s}.chat-history{flex:1;width:100%;max-width:780px;margin:0 auto;padding:80px 32px 200px;display:flex;flex-direction:column;gap:20px;overflow-y:auto}.chat-msg{display:flex;align-items:flex-start;gap:10px;animation:fadeUp .3s ease both}.chat-msg--user{flex-direction:row-reverse}.chat-avatar{width:30px;height:30px;border-radius:50%;background:#0d0d0d;color:#fff;font-size:.75rem;font-weight:700;display:flex;align-items:center;justify-content:center;flex-shrink:0;margin-top:2px}.chat-bubble{max-width:72%;min-width:60px;padding:10px 14px;border-radius:16px;font-size:.88rem;line-height:1.55;color:#0d0d0d}.chat-bubble p{margin:0}.chat-bubble p+p{margin-top:4px}.chat-msg-body{display:flex;flex-direction:column;gap:3px}.chat-msg--user .chat-msg-body{align-items:flex-end}.chat-msg--assistant .chat-msg-body{align-items:flex-start}.chat-time{font-size:.7rem;color:#aaa;padding:0 4px}.chat-msg--user .chat-bubble{background:#f0f0f0;border-radius:16px 16px 4px}.chat-msg--assistant .chat-bubble{background:#fff;border:1px solid #e8e8e8;border-radius:16px 16px 16px 4px}.chat-bubble--thinking{display:flex;align-items:center;gap:5px;padding:12px 16px}.dot{width:7px;height:7px;border-radius:50%;background:#ccc;animation:blink 1.2s infinite both}.dot:nth-child(2){animation-delay:.2s}.dot:nth-child(3){animation-delay:.4s}@keyframes blink{0%,80%,to{opacity:.2;transform:scale(.85)}40%{opacity:1;transform:scale(1)}}.home-main--expanded{justify-content:center;padding-bottom:180px}.home-main--expanded .suggestion-block,.home-main--expanded .suggestion-loading,.home-main--expanded .chip{animation:fadeUp .55s ease both}.chat-bottom{position:fixed;bottom:0;left:0;right:0;padding:12px 24px 24px;background:linear-gradient(to top,#fff 60%,#fff0);display:flex;flex-direction:column;align-items:center;gap:8px;animation:slideUp .45s ease both}@keyframes slideUp{0%{transform:translateY(40px);opacity:0}to{transform:translateY(0);opacity:1}}.chat-bottom .chat-box{max-width:640px;width:100%}.chat-bottom .see-tasks-link{animation:none}.suggestion-block{width:100%;max-width:480px;min-height:60px;background:#f7f7f7;border:1px solid #e8e8e8;border-radius:12px;padding:12px 16px;display:flex;flex-direction:column;gap:6px;justify-content:center}.suggestion-empty{color:#999;font-size:.78rem;text-align:center}.suggestion-loading{color:#bbb;font-size:.78rem;font-style:italic}.suggestion-preview{font-size:.78rem;color:#333;line-height:1.5;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.btn-more-detail{background:none;border:none;color:#666;font-size:.72rem;padding:0;cursor:pointer;align-self:flex-start;transition:color .15s}.btn-more-detail:hover{color:#000}.submit-error{font-size:.75rem;color:#e53e3e;text-align:center;max-width:480px}.see-tasks-link{background:none;border:none;color:#bbb;font-size:.72rem;text-decoration:underline;cursor:pointer;text-align:center;font-family:inherit;transition:color .15s}.see-tasks-link:hover{color:#888}.chat-hint{font-size:.78rem;color:#999;max-width:480px;width:100%;text-align:left}.home-heading{font-size:clamp(1.2rem,2.5vw,1.6rem);font-weight:700;color:#0d0d0d;letter-spacing:-.02em;text-align:center}.chat-box{width:100%;max-width:480px;background:#fff;border:1.5px solid #d9d9d9;border-radius:14px;padding:12px 12px 8px;display:flex;flex-direction:column;gap:6px;box-shadow:0 2px 10px #0000000f;transition:border-color .2s,box-shadow .2s}.chat-box:focus-within{border-color:#b0b0b0;box-shadow:0 2px 16px #0000001a}.chat-input{width:100%;background:none;border:none;outline:none;font-size:.85rem;font-family:inherit;color:#0d0d0d;resize:none;line-height:1.5}.chat-input::placeholder{color:#bbb}.chat-submit{align-self:flex-end;width:28px;height:28px;border-radius:50%;border:none;background:#e0e0e0;color:#999;font-size:.85rem;cursor:not-allowed;display:flex;align-items:center;justify-content:center;transition:background .2s,color .2s;flex-shrink:0}.chat-submit.active{background:#000;color:#fff;cursor:pointer}.chat-submit.active:hover{background:#333}.chip-row{display:flex;gap:8px;flex-wrap:wrap;justify-content:center}.chip{background:none;border:1px solid #e0e0e0;color:#444;font-size:.75rem;padding:6px 14px;border-radius:20px;cursor:pointer;transition:border-color .15s,color .15s}.chip:hover:not(:disabled){border-color:#aaa;color:#000}.chip:disabled{opacity:.4;cursor:not-allowed}.detail-main{max-width:580px;width:100%;margin:0 auto;padding:90px 24px 60px;display:flex;flex-direction:column;gap:20px}.detail-title{font-size:1.1rem;font-weight:700;color:#0d0d0d}.tasks-main{max-width:640px;width:100%;margin:0 auto;padding:100px 24px 60px;display:flex;flex-direction:column;gap:20px;animation:fadeUp .5s ease both}.tasks-header{display:flex;justify-content:space-between;align-items:center}.tasks-title{font-size:1.1rem;font-weight:700;color:#0d0d0d;letter-spacing:-.01em}.btn-clear-all{background:none;border:1px solid #e0e0e0;color:#666;font-size:.78rem;padding:6px 14px;border-radius:6px;cursor:pointer;transition:border-color .15s,background .15s,color .15s}.btn-clear-all:hover{border-color:#e53e3e;color:#e53e3e;background:#fff5f5}.tasks-empty{text-align:center;padding:48px 20px;display:flex;flex-direction:column;align-items:center;gap:14px;color:#999;font-size:.85rem}.home-light .task-list{background:transparent;border:none;padding:0;display:flex;flex-direction:column;gap:24px}.task-block{background:#f7f7f7;border:1px solid #e8e8e8;border-radius:12px;padding:20px}.task-block-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.task-block-title{font-size:.78rem;font-weight:600;color:#555;text-transform:uppercase;letter-spacing:.06em;margin:0}.task-block-count{font-weight:400;color:#aaa}.task-block-empty{color:#bbb;font-size:.82rem}.home-light .task-list h2{color:#888}.home-light h3{color:#aaa}.home-light .task-item{background:#fff;border-color:#e8e8e8;color:#0d0d0d;animation:fadeUp .4s ease both}.home-light .task-item.working{border-color:#38a169;box-shadow:0 0 0 2px #38a16926}.btn-work{background:#f0f0f0!important;border-color:#d0d0d0!important;color:#444!important;font-size:.72rem!important;padding:3px 8px!important;border-radius:4px!important}.btn-work:hover:not(:disabled){background:#e8f5e9!important;border-color:#38a169!important;color:#38a169!important}.btn-work--active{background:#e8f5e9!important;border-color:#38a169!important;color:#38a169!important}.working-badge{font-size:.68rem;color:#38a169;font-weight:600;animation:pulse-working 1.5s ease-in-out infinite}@keyframes pulse-working{0%,to{opacity:1}50%{opacity:.4}}.home-light .task-item:hover{border-color:#ccc}.home-light .task-item.done{opacity:.45}.home-light .task-title{color:#0d0d0d}.home-light .task-desc{color:#777}.home-light .task-meta{color:#aaa}.home-light .task-actions button{border-color:#e0e0e0;color:#888}.home-light .task-actions button:hover:not(:disabled){border-color:#aaa;color:#333}.home-light .btn-danger{color:#e53e3e!important}.home-light .empty{color:#aaa}.home-light .advice-panel{background:#f7f7f7;border-color:#e8e8e8}.home-light .advice-header h2,.home-light h3{color:#888}.home-light .suggestions,.home-light .suggestion-line{color:#222}.home-light .loading-spinner{color:#aaa}.home-light .reasoning-box{background:#efefef;color:#555;border:none}.home-light .btn-secondary{border-color:#ddd;color:#555}.home-light .btn-secondary:hover:not(:disabled){border-color:#aaa;color:#000}.home-light .btn-ghost{color:#777}.home-light .btn-ghost:hover{color:#000}.task-detail-modal{max-width:480px;max-height:80vh;overflow-y:auto;display:flex;flex-direction:column;gap:18px}.task-detail-meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.task-detail-status{font-size:.75rem;color:#888;background:#f0f0f0;padding:2px 10px;border-radius:20px}.task-detail-prob{font-size:.78rem;font-weight:600;margin-left:auto}.task-detail-fields{display:flex;flex-direction:column;gap:8px;background:#f7f7f7;border-radius:8px;padding:14px}.task-detail-row{display:flex;justify-content:space-between;font-size:.82rem;color:#333}.task-detail-label{color:#999;flex-shrink:0;width:90px}.task-detail-log-section{display:flex;flex-direction:column;gap:10px}.task-detail-log-title{font-size:.75rem;font-weight:600;color:#999;text-transform:uppercase;letter-spacing:.06em}.task-detail-log-empty{font-size:.82rem;color:#ccc}.task-log-entry{background:#f7f7f7;border-radius:8px;padding:10px 12px;display:flex;flex-direction:column;gap:5px}.task-log-prompt{font-size:.82rem;color:#333;font-style:italic}.task-log-changes{display:flex;flex-wrap:wrap;gap:6px}.task-log-change{font-size:.72rem;background:#e8e8e8;color:#555;padding:2px 8px;border-radius:4px}.task-log-time{font-size:.7rem;color:#bbb}.home-light .modal{background:#fff;border-color:#e8e8e8;color:#0d0d0d}.home-light .modal-header h3{color:#0d0d0d}.home-light .modal-close{color:#aaa}.home-light .modal-close:hover{color:#000}.home-light .modal-hint{color:#999}.home-light .modal-textarea{background:#f7f7f7;border-color:#e0e0e0;color:#0d0d0d}.home-light .modal-textarea::placeholder{color:#bbb}.home-light .modal-textarea:focus{border-color:#aaa}.home-light .btn-ghost-modal{color:#888}.home-light .btn-ghost-modal:hover{color:#000}.home-light .btn-submit{background:#000}.home-light .btn-submit:hover:not(:disabled){background:#333}
