:root{color:#e5e7eb;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#0f172a;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html,body,#root{min-height:100%}body{color:#e5e7eb;background:radial-gradient(circle at 0 0,#3b82f62e,#0000 32rem),radial-gradient(circle at 100% 100%,#10b9811f,#0000 28rem),#0f172a;margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;color:#fff;background:linear-gradient(135deg,#2563eb,#1d4ed8);border:none;border-radius:12px;padding:12px 16px;font-weight:700;transition:transform .15s,opacity .15s,box-shadow .15s;box-shadow:0 10px 24px #2563eb40}button:hover{transform:translateY(-1px);box-shadow:0 14px 28px #2563eb52}button:disabled{opacity:.65;cursor:not-allowed;transform:none}input{color:#f9fafb;background:#111827;border:1px solid #334155;border-radius:12px;outline:none;width:100%;margin-top:8px;padding:13px 14px}textarea{color:#f9fafb;resize:vertical;background:#111827;border:1px solid #334155;border-radius:12px;outline:none;width:100%;min-height:110px;max-height:260px;margin-top:8px;padding:13px 14px;line-height:1.5}textarea::placeholder{color:#64748b}textarea:focus{border-color:#3b82f6;box-shadow:0 0 0 4px #3b82f629}input::placeholder{color:#64748b}input:focus{border-color:#3b82f6;box-shadow:0 0 0 4px #3b82f629}.auth-page{place-items:center;min-height:100vh;padding:24px;display:grid}.auth-card{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0f172ad1;border:1px solid #94a3b82e;border-radius:24px;width:100%;max-width:430px;padding:34px;box-shadow:0 24px 70px #00000061}.auth-card h1{letter-spacing:-.04em;color:#fff;margin:0;font-size:38px}.form{gap:18px;margin-top:26px;display:grid}.form label{color:#cbd5e1;font-weight:700;display:block}.page{width:min(1120px,100%);margin:0 auto;padding:36px 20px}.page-header{justify-content:space-between;align-items:center;gap:16px;margin-bottom:26px;display:flex}.page-header h1{letter-spacing:-.04em;color:#fff;margin:0;font-size:40px}.muted{color:#94a3b8;margin:8px 0 0}.error{color:#fecaca;background:#7f1d1d59;border:1px solid #f8717159;border-radius:12px;padding:13px 14px;font-weight:700}.secondary-button{color:#e5e7eb;box-shadow:none;background:#1e293b;border:1px solid #334155}.secondary-button:hover{box-shadow:none;background:#334155}.task-list{gap:16px;display:grid}.task-card{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#0f172ac2;border:1px solid #94a3b829;border-radius:20px;padding:22px;box-shadow:0 18px 40px #00000038}.task-card-header{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.task-card h2{color:#f8fafc;margin:0;font-size:21px}.task-card p{color:#cbd5e1;white-space:pre-wrap;line-height:1.55}.task-meta{color:#94a3b8;flex-wrap:wrap;gap:10px;margin-top:16px;font-size:14px;display:flex}.task-meta span{background:#1e293be6;border-radius:999px;padding:6px 10px}.priority{text-transform:uppercase;letter-spacing:.04em;border-radius:999px;padding:7px 11px;font-size:13px;font-weight:800}.priority-high{color:#fca5a5;background:#ef44442e;border:1px solid #ef444459}.priority-medium{color:#fcd34d;background:#f59e0b2e;border:1px solid #f59e0b59}.priority-low{color:#86efac;background:#22c55e29;border:1px solid #22c55e59}.panel{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#0f172ab3;border:1px solid #94a3b829;border-radius:20px;margin-bottom:22px;padding:22px;box-shadow:0 18px 40px #0000002e}.panel h2{color:#f8fafc;margin:0 0 18px;font-size:22px}.create-task-form{grid-template-columns:repeat(3,minmax(180px,1fr));align-items:end;gap:14px;display:grid}.filters{grid-template-columns:repeat(5,minmax(140px,1fr));gap:14px;display:grid}.create-task-form label,.filters label{color:#cbd5e1;font-weight:700;display:block}.empty-state{color:#94a3b8;text-align:center;background:#0f172a73;border:1px dashed #94a3b859;border-radius:18px;padding:28px}@media (width<=900px){.create-task-form,.filters{grid-template-columns:1fr}.page-header{flex-direction:column;align-items:flex-start}}.create-project-form{grid-template-columns:1fr 1.5fr auto;align-items:end;gap:14px;display:grid}.create-project-form label{color:#cbd5e1;font-weight:700;display:block}@media (width<=900px){.create-project-form{grid-template-columns:1fr}}.tabs{gap:10px;margin-bottom:22px;display:flex}.tab{color:#94a3b8;box-shadow:none;background:#111827;border:1px solid #334155}.tab:hover{box-shadow:none;background:#1e293b}.tab-active{color:#fff;background:#2563eb;border-color:#2563eb}.compact-panel{padding:0;overflow:hidden}.compact-panel summary{cursor:pointer;color:#f8fafc;padding:22px;font-size:22px;font-weight:800;list-style:none}.compact-panel summary::-webkit-details-marker{display:none}.compact-panel summary:after{content:"Раскрыть";float:right;color:#94a3b8;font-size:14px;font-weight:700}.compact-panel[open] summary:after{content:"Скрыть"}.compact-panel form,.compact-panel .filters{padding:0 22px 22px}.project-list{gap:14px;display:grid}.project-card{background:#0f172a8c;border:1px solid #94a3b829;border-radius:18px;justify-content:space-between;align-items:center;gap:18px;padding:18px;display:flex}.project-card h3{color:#f8fafc;margin:0;font-size:20px}.project-card p{color:#cbd5e1;margin:8px 0 0}.danger-button{color:#fca5a5;box-shadow:none;background:#ef444429;border:1px solid #ef444459}.danger-button:hover{box-shadow:none;background:#ef44443d}.task-actions{align-items:center;gap:10px;display:flex}.small-button{border-radius:999px;padding:7px 11px;font-size:13px;font-weight:800}.task-card-done{opacity:.72}.task-card-done h2{color:#94a3b8;text-decoration:line-through}.auth-switch{color:#94a3b8;text-align:center;margin:22px 0 0}.auth-switch a{color:#60a5fa;font-weight:800;text-decoration:none}.auth-switch a:hover{text-decoration:underline}.edit-task-form{border-top:1px solid #94a3b829;grid-template-columns:repeat(3,minmax(180px,1fr));align-items:end;gap:14px;margin-top:18px;padding-top:18px;display:grid}.edit-task-form label{color:#cbd5e1;font-weight:700;display:block}.form-actions{align-items:center;gap:10px;display:flex}@media (width<=900px){.edit-task-form{grid-template-columns:1fr}.form-actions{flex-direction:column;align-items:stretch}}.pagination{justify-content:center;align-items:center;gap:14px;margin-top:10px;padding:18px;display:flex}.pagination-info{color:#cbd5e1;font-weight:800}select{color:#f9fafb;background:#111827;border:1px solid #334155;border-radius:12px;outline:none;width:100%;margin-top:8px;padding:13px 14px}select:focus{border-color:#3b82f6;box-shadow:0 0 0 4px #3b82f629}.header-actions,.card-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.nav-link{color:#e5e7eb;background:#1e293b;border:1px solid #334155;border-radius:12px;justify-content:center;align-items:center;min-height:44px;padding:0 14px;font-weight:800;text-decoration:none;display:inline-flex}.nav-link:hover{background:#334155}.danger-button{background:linear-gradient(135deg,#dc2626,#991b1b);box-shadow:0 10px 24px #dc262638}.danger-button:hover{box-shadow:0 14px 28px #dc26264d}.form-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;display:grid}.edit-form{gap:16px;display:grid}.telegram-link-box{background:#0f172ab8;border:1px solid #94a3b829;border-radius:16px;gap:12px;margin-top:18px;padding:16px;display:grid}.telegram-link{color:#fff;background:linear-gradient(135deg,#2563eb,#1d4ed8);border-radius:12px;justify-content:center;align-items:center;width:fit-content;min-height:44px;padding:0 16px;font-weight:800;text-decoration:none;display:inline-flex}.telegram-link-box code{overflow-wrap:anywhere;color:#bfdbfe;background:#020617;border-radius:12px;padding:12px;display:block}.status-pill{white-space:nowrap;border-radius:999px;padding:7px 11px;font-size:13px;font-weight:800}.status-active{color:#86efac;background:#22c55e26}.status-paused{color:#cbd5e1;background:#94a3b829}.status-processing{color:#93c5fd;background:#3b82f62e}.status-failed{color:#fecaca;background:#ef44442e}@media (width<=820px){.page-header{flex-direction:column;align-items:flex-start}.form-grid{grid-template-columns:1fr}.header-actions{width:100%}.header-actions button,.header-actions .nav-link{flex:1}}.page-header{align-items:flex-start;margin-bottom:32px}.header-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:12px;display:flex}.header-actions .nav-link,.header-actions button{min-height:48px}.nav-link{border-radius:16px;min-height:48px;padding:0 20px;font-size:16px}.tabs,.tab-list{flex-wrap:wrap;gap:12px;margin-top:18px;margin-bottom:28px;display:flex}.task-card,.task-card-header{margin-bottom:18px}.task-card h2{margin-bottom:10px}.task-meta{gap:12px;margin-top:22px;margin-bottom:0}.task-meta span{align-items:center;min-height:36px;padding:8px 14px;font-size:15px;display:inline-flex}.card-actions{border-top:1px solid #94a3b824;margin-top:22px;padding-top:18px}.monthly-form{margin-top:24px}.form-grid{margin-top:4px}.telegram-link-box{margin-top:24px}section.task-card+section.task-list{margin-top:28px}@media (width<=820px){.page{padding:28px 16px}.page-header h1{font-size:36px}.header-actions{justify-content:flex-start}.header-actions .nav-link,.header-actions button{flex:unset;width:auto}.card-actions{align-items:stretch}.card-actions button{width:100%}}.app-header{grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:24px;margin-bottom:32px;display:grid}.app-header h1{letter-spacing:-.04em;color:#fff;margin:0;font-size:40px}.app-header-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:12px;display:flex}.app-nav-link,.app-logout-button{color:#e5e7eb;min-width:132px;min-height:52px;box-shadow:none;background:#1e293be6;border:1px solid #334155;border-radius:16px;justify-content:center;align-items:center;padding:0 22px;font-weight:800;text-decoration:none;display:inline-flex}.app-nav-link:hover,.app-logout-button:hover{box-shadow:none;background:#334155;transform:translateY(-1px)}.app-nav-link-active{color:#fff;background:linear-gradient(135deg,#2563eb,#1d4ed8);border-color:#3b82f6b3}.tabs{margin-top:6px;margin-bottom:28px}.task-list{margin-top:24px}.card-actions,.task-actions{gap:10px}@media (width<=820px){.app-header{grid-template-columns:1fr;gap:18px}.app-header h1{font-size:36px}.app-header-actions{grid-template-columns:repeat(2,minmax(0,1fr));width:100%;display:grid}.app-nav-link,.app-logout-button{width:100%;min-width:0}}@media (width<=430px){.app-header-actions{grid-template-columns:1fr}.app-header h1{font-size:32px}}
