:root{color-scheme:dark;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:#020617;color:#f8fafc}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}body{background:linear-gradient(180deg,#020617,#0f172a);color:#f8fafc}button,input,select{font:inherit}.app-shell{min-height:100vh;padding:16px}.app-container{max-width:1440px;margin:0 auto}.layout-grid{display:grid;grid-template-columns:320px 1fr;gap:16px}.content-stack{display:flex;flex-direction:column;gap:16px}.panel{background:#0f172af5;border:1px solid #334155;border-radius:24px;padding:24px;box-shadow:0 20px 60px #00000059}.sidebar-panel{display:flex;flex-direction:column;gap:20px;min-height:calc(100vh - 32px)}.panel-header{display:flex;align-items:center;gap:14px}.panel-header h1{margin:0 0 6px;font-size:1.6rem}.panel-header p,.panel-title-wrap p{margin:0;color:#cbd5e1}.brand-icon{display:flex;align-items:center;justify-content:center;width:52px;height:52px;border-radius:18px;background:#1e293b}.panel-title-wrap{display:flex;flex-direction:column;gap:6px;margin-bottom:16px}.panel-title-wrap h2{margin:0;font-size:1.25rem}.section-block{display:flex;flex-direction:column;gap:12px}.section-block.grow{flex:1;min-height:0}.section-title{font-size:.95rem;font-weight:700}.row-gap{display:grid;gap:10px}.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.stat-card{background:#111827;border:1px solid #334155;border-radius:18px;padding:14px;text-align:center}.stat-card strong{display:block;font-size:1.3rem;color:#fff}.stat-card span{font-size:.8rem;color:#cbd5e1}.input{width:100%;min-height:42px;border-radius:14px;border:1px solid #475569;background:#0f172a;color:#f8fafc;padding:10px 14px;outline:none}.input::placeholder{color:#94a3b8}.input:focus{border-color:#38bdf8;box-shadow:0 0 0 3px #38bdf833}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;border-radius:14px;padding:0 14px;border:1px solid transparent;cursor:pointer;transition:.18s ease}.button:disabled,.icon-button:disabled{cursor:not-allowed;opacity:.5}.button-primary{background:#0ea5e9;color:#fff;border-color:#38bdf859}.button-primary:hover{background:#38bdf8}.button-outline{background:#0f172a;color:#f8fafc;border-color:#475569}.button-outline:hover{background:#1e293b}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:12px;background:transparent;color:#e2e8f0;border:1px solid transparent;cursor:pointer}.icon-button:hover{background:#1e293bd9}.icon-button.danger:hover{color:#fca5a5}.notice-banner{margin-bottom:12px;padding:12px 16px;border-radius:14px;background:#7f1d1d59;border:1px solid rgba(248,113,113,.35);color:#fecaca}.project-list{display:flex;flex-direction:column;gap:10px;overflow:auto}.project-button,.project-item{border:1px solid #334155;background:#0f172a;border-radius:18px}.project-button,.project-item-main{width:100%;display:flex;align-items:center;justify-content:space-between;gap:8px;color:#f8fafc;padding:14px;cursor:pointer;background:transparent;border:0}.project-button span:first-child,.project-item-main span:first-child{display:inline-flex;align-items:center;gap:8px}.project-button:hover,.project-item:hover{background:#1e293b}.project-button.active,.project-item.active{border-color:#38bdf8;box-shadow:0 0 0 1px #38bdf838;background:#1e293b}.project-item{display:grid;grid-template-columns:1fr auto;align-items:center;padding-right:6px}.count-badge,.badge{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:999px;border:1px solid #475569;background:#1e293b;color:#f8fafc;font-size:.78rem}.form-grid{display:grid;gap:12px;grid-template-columns:minmax(0,1fr) 180px 160px 220px auto}.toolbar-stack{display:flex;flex-direction:column;gap:14px}.tab-row{display:flex;flex-wrap:wrap;gap:10px}.tab-button,.mini-tab{min-height:40px;border-radius:14px;border:1px solid #334155;background:#0f172a;color:#e2e8f0;padding:0 14px;cursor:pointer;transition:.18s ease}.tab-button.active,.mini-tab.active{background:#0ea5e9;border-color:#38bdf859;color:#fff}.tab-button:hover,.mini-tab:hover{background:#1e293b}.toolbar-controls{display:grid;grid-template-columns:minmax(0,280px) auto auto;gap:12px;align-items:center}.filter-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:6px;border-radius:16px;background:#0f172a;border:1px solid #334155}.todo-list{display:flex;flex-direction:column;gap:14px}.empty-state{border:1px dashed #475569;border-radius:20px;background:#0f172a;padding:40px;text-align:center;color:#cbd5e1}.todo-card{border:1px solid #334155;background:#0f172a;border-radius:22px;padding:16px}.todo-card-overdue{border-color:#ef444499;background:#7f1d1d33}.todo-card-today{border-color:#fbbf2499;background:#78350f2e}.todo-main-row{display:flex;justify-content:space-between;gap:14px}.todo-main-left{display:flex;gap:12px;min-width:0}.status-button{background:transparent;border:0;color:#f8fafc;cursor:pointer;padding:4px}.status-button.disabled{color:#64748b;cursor:not-allowed;opacity:.6}.todo-text-wrap{min-width:0}.todo-title{font-size:1rem;font-weight:700;word-break:break-word}.todo-title.completed,.subtask-title.completed{color:#94a3b8;text-decoration:line-through}.todo-meta{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:8px;color:#cbd5e1;font-size:.78rem}.meta-date{color:#cbd5e1}.badge-outline{background:transparent;border-color:#64748b}.badge-outline-overdue{background:transparent;border-color:#f87171;color:#fecaca}.badge-outline-today{background:transparent;border-color:#fcd34d;color:#fef3c7}.badge-overdue{background:#ef44441a;border-color:#ef444459;color:#fecaca}.badge-today{background:#fbbf241a;border-color:#fbbf2459;color:#fef3c7}.badge-priority-high{background:#ef44441a;border-color:#ef444459;color:#fca5a5}.badge-priority-medium{background:#f59e0b1a;border-color:#f59e0b59;color:#fde68a}.badge-priority-low{background:#10b9811a;border-color:#10b98159;color:#86efac}.todo-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.subtask-panel{margin-top:14px;border-radius:18px;border:1px solid #334155;background:#0206178c;padding:14px}.subtask-add-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;margin-bottom:12px}.subtask-list{display:flex;flex-direction:column;gap:8px}.empty-subtask{border-radius:16px;border:1px dashed #475569;padding:14px;color:#cbd5e1;font-size:.92rem}.subtask-item{display:flex;justify-content:space-between;gap:10px;align-items:center;border:1px solid #334155;background:#0f172a;border-radius:16px;padding:10px 12px}.subtask-main{display:flex;align-items:center;gap:10px;min-width:0;flex:1;background:transparent;color:#f8fafc;border:0;text-align:left;cursor:pointer}.subtask-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.subtask-actions{display:flex;gap:4px}.accent-icon{color:#7dd3fc}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#020617bf;display:flex;align-items:center;justify-content:center;padding:20px;z-index:1000}.modal-panel{width:min(520px,100%);border-radius:24px;border:1px solid #334155;background:#0f172a;padding:18px;box-shadow:0 30px 80px #00000073}.modal-header,.modal-footer{display:flex;justify-content:space-between;align-items:center;gap:12px}.modal-header h3{margin:0}.modal-body{margin-top:14px}.modal-form-grid{display:grid;gap:12px}@media (max-width: 1100px){.layout-grid{grid-template-columns:1fr}.sidebar-panel{min-height:auto}.form-grid{grid-template-columns:1fr 1fr}.toolbar-controls{grid-template-columns:1fr}}@media (max-width: 700px){.app-shell{padding:12px}.panel{padding:16px;border-radius:20px}.stats-grid{grid-template-columns:1fr 1fr 1fr}.form-grid,.subtask-add-row{grid-template-columns:1fr}.todo-main-row{flex-direction:column}.todo-actions{justify-content:flex-start}.subtask-item{flex-direction:column;align-items:stretch}.subtask-actions{justify-content:flex-end}}
