:root{--tt-primary:#4f46e5;--tt-primary-light:#818cf8;--tt-primary-dark:#3730a3;--tt-accent:#06b6d4;--tt-success:#10b981;--tt-warning:#f59e0b;--tt-danger:#ef4444;--tt-bg:#f8fafc;--tt-card:#ffffffb8;--tt-card-solid:#fff;--tt-border:#94a3b833;--tt-shadow:0 1px 3px #0000000a,0 8px 24px #0000000f;--tt-shadow-lg:0 4px 6px #0000000a,0 20px 40px #00000014;--tt-radius:16px;--tt-radius-lg:24px;--tt-radius-sm:10px}.tt-page{gap:var(--page-gap);flex-direction:column;padding:0;animation:.5s cubic-bezier(.16,1,.3,1) fadeInUp;display:flex}@keyframes fadeInUp{0%{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}.tt-header{border-radius:var(--tt-radius-lg);background:linear-gradient(135deg,#1e1b4b 0%,#312e81 50%,#1e3a5f 100%);justify-content:space-between;align-items:center;gap:24px;padding:32px 40px;display:flex;position:relative;overflow:hidden;box-shadow:0 8px 32px #1e1b4b4d,0 2px 8px #1e1b4b26}.tt-header:before{content:"";pointer-events:none;background:radial-gradient(circle,#6366f140 0%,#0000 70%);width:300px;height:300px;position:absolute;top:-40%;right:-10%}.tt-header:after{content:"";pointer-events:none;background:radial-gradient(circle,#06b6d433 0%,#0000 70%);width:200px;height:200px;position:absolute;bottom:-30%;left:-5%}.tt-header-left{z-index:1;position:relative}.tt-header h1{color:#fff;letter-spacing:-.02em;margin:0 0 6px;font-size:1.65rem;font-weight:800;line-height:1.2}.tt-header p{color:#ffffffa6;margin:0;font-size:.88rem;font-weight:400}.tt-header-actions{z-index:1;flex-shrink:0;align-items:center;gap:10px;display:flex;position:relative}.tt-stats{grid-template-columns:repeat(4,1fr);gap:16px;display:grid}.tt-stat-card{background:var(--tt-card);border:1px solid var(--tt-border);border-radius:var(--tt-radius);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);box-shadow:var(--tt-shadow);align-items:center;gap:16px;padding:20px 24px;transition:all .3s cubic-bezier(.16,1,.3,1);display:flex}.tt-stat-card:hover{box-shadow:var(--tt-shadow-lg);transform:translateY(-2px)}.tt-stat-icon{border-radius:14px;flex-shrink:0;justify-content:center;align-items:center;width:48px;height:48px;font-size:1.3rem;display:flex}.tt-stat-icon.blue{color:#4f46e5;background:#6366f11a}.tt-stat-icon.green{color:#10b981;background:#10b9811a}.tt-stat-icon.amber{color:#f59e0b;background:#f59e0b1a}.tt-stat-icon.cyan{color:#06b6d4;background:#06b6d41a}.tt-stat-info{flex-direction:column;gap:2px;min-width:0;display:flex}.tt-stat-value{color:#1e293b;letter-spacing:-.02em;font-size:1.5rem;font-weight:800;line-height:1.2}.tt-stat-label{color:#94a3b8;text-transform:uppercase;letter-spacing:.06em;font-size:.75rem;font-weight:600}.tt-grid{flex-direction:column;gap:16px;display:flex}.tt-topbar{background:var(--tt-card);border:1px solid var(--tt-border);border-radius:var(--tt-radius);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);box-shadow:var(--tt-shadow);flex-wrap:wrap;align-items:center;gap:10px;padding:14px 20px;display:flex}.tt-topbar-label{color:#94a3b8;text-transform:uppercase;letter-spacing:.06em;white-space:nowrap;margin-right:4px;font-size:.72rem;font-weight:700}.tt-topbar-chip{cursor:pointer;color:#4f46e5;background:#6366f10d;border:1.5px solid #0000;border-radius:20px;align-items:center;gap:6px;padding:7px 14px;font-size:.8rem;font-weight:600;transition:all .2s;display:inline-flex}.tt-topbar-chip:hover{background:#6366f11a;border-color:#6366f140}.tt-topbar-chip.active{background:var(--tt-primary);color:#fff;border-color:var(--tt-primary)}.tt-topbar-chip .chip-count{background:#6366f126;border-radius:10px;padding:1px 7px;font-size:.72rem;font-weight:700}.tt-topbar-chip.active .chip-count{background:#fff3}.tt-content{background:var(--tt-card);border:1px solid var(--tt-border);border-radius:var(--tt-radius-lg);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);box-shadow:var(--tt-shadow);overflow:visible}.tt-content-header{border-bottom:1px solid var(--tt-border);background:#fff6;justify-content:space-between;align-items:center;padding:20px 24px 16px;display:flex}.tt-content-header h3{color:#1e293b;align-items:center;gap:8px;margin:0;font-size:.95rem;font-weight:700;display:flex}.tt-content-header h3 i{color:var(--tt-primary)}.tt-table-wrap{padding-bottom:8px;position:relative;overflow:auto visible}.tt-table th:last-child,.tt-table td:last-child{z-index:2;background:var(--tt-card-solid);position:sticky;right:0}.tt-table th:last-child{z-index:3;background:#f8fafccc;border-left:1px solid #e2e8f099}.dark .tt-table th:last-child{background:#0f172a80}.dark .tt-table td:last-child{background:#1e293bbf}.tt-table{border-collapse:collapse;width:100%}.tt-table th{text-align:left;color:#64748b;text-transform:uppercase;letter-spacing:.07em;white-space:nowrap;background:#f8fafccc;border-bottom:1px solid #e2e8f099;padding:12px 20px;font-size:.72rem;font-weight:700}.tt-table td{color:#334155;vertical-align:middle;border-bottom:1px solid #f1f5f9cc;padding:16px 20px;font-size:.88rem}.tt-table tbody tr{transition:background .15s}.tt-table tbody tr:hover{background:#6366f105}.tt-table tbody tr:last-child td{border-bottom:none}.badge-tt{color:#4f46e5;white-space:nowrap;background:#6366f114;border:1px solid #6366f126;border-radius:20px;align-items:center;gap:5px;padding:5px 12px;font-size:.78rem;font-weight:700;display:inline-flex}.badge-tt i{font-size:.7rem}.badge-success{color:#059669;background:#10b98114;border-color:#10b98126}.badge-warning{color:#d97706;background:#f59e0b14;border-color:#f59e0b26}.tt-btn{color:#4f46e5;cursor:pointer;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#ffffffd9;border:1px solid #6366f133;border-radius:12px;align-items:center;gap:7px;height:40px;padding:0 18px;font-size:.82rem;font-weight:600;transition:all .2s cubic-bezier(.16,1,.3,1);display:inline-flex}.tt-btn:hover{background:#fff;transform:translateY(-1px);box-shadow:0 4px 12px #6366f133}.tt-btn-primary{background:var(--tt-primary);color:#fff;border-color:#0000}.tt-btn-primary:hover{background:var(--tt-primary-dark);box-shadow:0 4px 16px #6366f159}.tt-btn-green{color:#059669;background:#10b9811a;border-color:#10b98133}.tt-btn-green:hover{background:#10b98126;box-shadow:0 4px 12px #10b98133}.tt-btn-export{color:#0891b2;background:#06b6d41a;border-color:#06b6d433}.tt-btn-export:hover{background:#06b6d426;box-shadow:0 4px 12px #06b6d433}.tt-icon-btn{color:#64748b;cursor:pointer;background:#ffffffe6;border:1.5px solid #e2e8f0cc;border-radius:10px;justify-content:center;align-items:center;width:34px;height:34px;font-size:.85rem;transition:all .2s;display:flex}.tt-icon-btn:hover{color:var(--tt-primary);background:#6366f10d;border-color:#6366f140;transform:scale(1.05)}.tt-icon-btn.danger:hover{color:var(--tt-danger);background:#ef44440f;border-color:#ef444440}.tt-modal{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);z-index:2000;background:#0f172a8c;justify-content:center;align-items:center;padding:20px;animation:.2s ease-out fadeIn;display:flex;position:fixed;inset:0}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.tt-modal-content{background:var(--tt-card-solid);border-radius:var(--tt-radius-lg);border:1px solid #e2e8f099;width:100%;max-width:620px;max-height:90vh;animation:.35s cubic-bezier(.16,1,.3,1) slideUpModal;overflow:hidden;box-shadow:0 24px 60px #0f172a33,0 4px 16px #0f172a14}@keyframes slideUpModal{0%{opacity:0;transform:translateY(24px)scale(.97)}to{opacity:1;transform:translateY(0)scale(1)}}.tt-modal-header{background:linear-gradient(135deg,#1e1b4b 0%,#312e81 100%);justify-content:space-between;align-items:center;padding:24px 28px 20px;display:flex;position:relative;overflow:hidden}.tt-modal-header:before{content:"";pointer-events:none;background:radial-gradient(circle,#6366f14d 0%,#0000 70%);width:200px;height:200px;position:absolute;top:-50%;right:-20%}.tt-modal-header-left{z-index:1;align-items:center;gap:14px;display:flex;position:relative}.tt-modal-icon{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:#fff;background:#ffffff1f;border-radius:14px;justify-content:center;align-items:center;width:48px;height:48px;font-size:1.3rem;display:flex}.tt-modal-title{color:#fff;letter-spacing:-.01em;margin:0;font-size:1.15rem;font-weight:700}.tt-modal-subtitle{color:#ffffff8c;margin:2px 0 0;font-size:.78rem}.tt-modal-close{color:#fff;cursor:pointer;z-index:1;background:#ffffff1a;border:none;border-radius:50%;justify-content:center;align-items:center;width:36px;height:36px;transition:all .2s;display:flex;position:relative}.tt-modal-close:hover{background:#fff3;transform:scale(1.05)}.tt-modal-body{padding:28px}.tt-form-group{margin-bottom:20px}.tt-form-label{color:#475569;text-transform:uppercase;letter-spacing:.06em;margin-bottom:8px;font-size:.78rem;font-weight:700;display:block}.tt-form-label i{color:var(--tt-primary);margin-right:5px}.tt-form-input,.tt-form-select,.tt-form-textarea{color:#1e293b;background:#f8fafc;border:1.5px solid #e2e8f0;border-radius:12px;outline:none;width:100%;padding:12px 16px;font-size:.9rem;font-weight:500;transition:all .2s}.tt-form-input:focus,.tt-form-select:focus,.tt-form-textarea:focus{border-color:var(--tt-primary);background:#fff;box-shadow:0 0 0 4px #6366f11a}.tt-form-textarea{resize:vertical;min-height:110px;line-height:1.6}.tt-form-hint{color:#94a3b8;margin-top:6px;font-size:.73rem;font-style:italic}.tt-modal-footer{border-top:1px solid var(--tt-border);background:#f8fafc;justify-content:flex-end;gap:12px;padding:20px 28px;display:flex}.tt-btn-cancel{color:#64748b;cursor:pointer;background:#fff;border:1.5px solid #e2e8f0;border-radius:12px;align-items:center;gap:7px;height:42px;padding:0 22px;font-size:.88rem;font-weight:600;transition:all .2s;display:inline-flex}.tt-btn-cancel:hover{background:#f1f5f9;border-color:#cbd5e1}.tt-btn-save{background:var(--tt-primary);color:#fff;cursor:pointer;border:none;border-radius:12px;align-items:center;gap:7px;height:42px;padding:0 24px;font-size:.88rem;font-weight:700;transition:all .2s cubic-bezier(.16,1,.3,1);display:inline-flex;box-shadow:0 4px 14px #6366f14d}.tt-btn-save:hover{background:var(--tt-primary-dark);transform:translateY(-1px);box-shadow:0 6px 20px #6366f166}.tt-empty{text-align:center;flex-direction:column;align-items:center;gap:12px;padding:60px 40px;display:flex}.tt-empty-icon{color:#c7d2fe;background:linear-gradient(135deg,#6366f114 0%,#06b6d414 100%);border-radius:24px;justify-content:center;align-items:center;width:72px;height:72px;font-size:2rem;display:flex}.tt-empty h4{color:#475569;margin:0;font-size:1rem;font-weight:700}.tt-empty p{color:#94a3b8;max-width:300px;margin:0;font-size:.85rem}.tt-task-selector{position:relative}.tt-task-selector select{color:#4f46e5;cursor:pointer;appearance:none;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#ffffffe6;border:1.5px solid #6366f133;border-radius:12px;outline:none;height:40px;padding:0 36px 0 14px;font-size:.82rem;font-weight:600;transition:all .2s}.tt-task-selector select:focus{border-color:var(--tt-primary);box-shadow:0 0 0 3px #6366f11f}.tt-task-selector:after{content:"";pointer-events:none;border-top:5px solid #4f46e5;border-left:5px solid #0000;border-right:5px solid #0000;width:0;height:0;position:absolute;top:50%;right:12px;transform:translateY(-50%)}.tt-task-badge{height:40px;color:var(--tt-primary);background:#6366f114;border:1.5px solid #6366f133;border-radius:12px;align-items:center;gap:8px;padding:0 16px;font-size:.82rem;font-weight:700;display:inline-flex}.tt-divider{background:#fff3;flex-shrink:0;width:1px;height:28px}.tt-list::-webkit-scrollbar{width:4px}.tt-list::-webkit-scrollbar-thumb{background:#e2e8f0;border-radius:10px}.tt-modal-content::-webkit-scrollbar{width:6px}.tt-modal-content::-webkit-scrollbar-thumb{background:#e2e8f0;border-radius:10px}.dark .tt-stat-card,.dark .tt-sidebar,.dark .tt-content{background:#0f172abf;border-color:#ffffff14}.dark .tt-stat-value{color:#f1f5f9}.dark .tt-stat-label{color:#64748b}.dark .tt-item-title{color:#e2e8f0}.dark .tt-item-sub{color:#475569}.dark .tt-content-header h3,.dark .tt-sidebar-header h3,.dark .tt-content-header{color:#f1f5f9;background:0 0;border-color:#ffffff0f}.dark .tt-content-header{background:0 0;border-color:#ffffff0f}.dark .tt-table th{color:#64748b;background:#0f172a80;border-color:#ffffff0d}.dark .tt-table td{color:#cbd5e1;border-color:#ffffff0a}.dark .tt-table tbody tr:hover{background:#6366f10a}.dark .tt-form-input,.dark .tt-form-select,.dark .tt-form-textarea{color:#e2e8f0;background:#ffffff0a;border-color:#ffffff1a}.dark .tt-form-input:focus,.dark .tt-form-select:focus,.dark .tt-form-textarea:focus{border-color:var(--tt-primary-light);background:#ffffff0f;box-shadow:0 0 0 4px #6366f126}.dark .tt-form-label{color:#94a3b8}.dark .tt-btn-cancel{color:#94a3b8;background:#ffffff0d;border-color:#ffffff1a}.dark .tt-btn-cancel:hover{background:#ffffff14}.dark .tt-modal-footer{background:#0f172a99;border-color:#ffffff0f}.dark .tt-modal-content{background:#1e293b;border-color:#ffffff14}.dark .tt-icon-btn{color:#64748b;background:#ffffff0d;border-color:#ffffff14}.dark .tt-list-item{border-color:#0000}.dark .tt-list-item:hover{background:#6366f10f}.dark .tt-empty h4{color:#475569}.dark .tt-empty p{color:#334155}@media (max-width:1024px){.tt-stats{grid-template-columns:repeat(2,1fr)}}@media (max-width:900px){.tt-grid{grid-template-columns:1fr}.tt-sidebar{max-height:280px;position:static}.tt-header{flex-direction:column;align-items:flex-start;gap:16px;padding:24px}.tt-header-actions{flex-wrap:wrap;width:100%}.tt-page{padding:0}}@media (max-width:640px){.tt-stats{grid-template-columns:repeat(2,1fr);gap:12px}.tt-stat-card{gap:12px;padding:14px 16px}.tt-stat-icon{width:38px;height:38px;font-size:1.1rem}.tt-stat-value{font-size:1.25rem}.tt-stat-label{font-size:.68rem}.tt-header h1{font-size:1.25rem}.tt-header p{font-size:.8rem}.tt-btn{height:36px;padding:0 12px;font-size:.78rem}.tt-btn span{display:none}.tt-modal-content{border-radius:20px 20px 0 0;max-height:95vh;margin:0}.tt-modal{align-items:flex-end;padding:0}.tt-modal-body{padding:20px}.tt-modal-footer{padding:16px 20px}.tt-form-group{margin-bottom:16px}.tt-table th,.tt-table td{padding:12px 14px}.tt-empty{padding:40px 24px}.tt-divider{display:none}.tt-header-actions{gap:8px}}.tt-card{background:var(--tt-card);border:1px solid var(--tt-border);border-radius:var(--tt-radius-lg);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);box-shadow:var(--tt-shadow);overflow:hidden}.tt-card-header{border-bottom:1px solid var(--tt-border);background:#fff6;justify-content:space-between;align-items:center;padding:20px 24px 16px;display:flex}.tt-card-header h3{color:#1e293b;align-items:center;gap:8px;margin:0;font-size:.95rem;font-weight:700;display:flex}.tt-card-header h3 i{color:var(--tt-primary)}
