@charset "UTF-8";:root{--bg: #f4f6fb;--surface: #ffffff;--border: #e6eaf2;--text: #1e293b;--text-muted: #64748b;--primary: #4f46e5;--primary-hover: #4338ca;--primary-soft: #eef2ff;--danger: #dc2626;--danger-hover: #b91c1c;--danger-soft: #fef2f2;--success: #16a34a;--sidebar-bg: #0f172a;--sidebar-border: #1e293b;--sidebar-text: #94a3b8;--sidebar-active: #1e293b;--radius: 12px;--radius-sm: 8px;--shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);--shadow: 0 1px 3px rgba(15, 23, 42, .08), 0 1px 2px rgba(15, 23, 42, .04);--shadow-lg: 0 12px 32px rgba(15, 23, 42, .14)}*{box-sizing:border-box}html,body{height:100%;margin:0}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Inter,Helvetica Neue,Arial,sans-serif;color:var(--text);background:var(--bg);font-size:14px;line-height:1.5;-webkit-font-smoothing:antialiased}h1,h2,h3,h4{margin:0 0 12px;color:var(--text);font-weight:650}h2{font-size:20px}h3{font-size:16px}a{color:var(--primary);text-decoration:none}a:hover{text-decoration:underline}.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:9px 16px;border:1px solid transparent;border-radius:var(--radius-sm);font-size:14px;font-weight:550;cursor:pointer;white-space:nowrap;transition:background .15s,border-color .15s,box-shadow .15s,transform .05s;line-height:1.3;text-decoration:none}.btn:active{transform:translateY(1px)}.btn:disabled{opacity:.55;cursor:not-allowed}.btn-primary{background:var(--primary);color:#fff}.btn-primary:hover:not(:disabled){background:var(--primary-hover)}.btn-outline{background:var(--surface);border-color:var(--border);color:var(--text)}.btn-outline:hover:not(:disabled){background:#f8fafc;border-color:#cbd5e1}.btn-danger{background:var(--danger);color:#fff}.btn-danger:hover:not(:disabled){background:var(--danger-hover)}.btn-ghost{background:transparent;color:var(--text-muted)}.btn-ghost:hover:not(:disabled){background:#f1f5f9;color:var(--text)}.btn-sm{padding:5px 11px;font-size:13px}.btn-block{width:100%}.input-label{display:block;font-size:12.5px;font-weight:600;color:var(--text-muted);margin-bottom:5px;letter-spacing:.01em}.input,.taiga-input,select.input,input[type=text],input[type=password],input[type=email]{width:100%;padding:10px 13px;border:1px solid var(--border);border-radius:var(--radius-sm);font-size:14px;font-family:inherit;color:var(--text);background:var(--surface);transition:border-color .15s,box-shadow .15s}.input:focus,.taiga-input:focus,input[type=text]:focus,input[type=password]:focus,input[type=email]:focus,select.input:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px #4f46e524}input[type=checkbox]{accent-color:var(--primary);width:15px;height:15px;cursor:pointer}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-sm);padding:20px}.card+.card{margin-top:16px}.table-wrap{overflow-x:auto;border-radius:var(--radius-sm);border:1px solid var(--border)}table.table{width:100%;border-collapse:collapse;background:var(--surface);font-size:14px}table.table th,table.table td{text-align:left;padding:10px 14px;border-bottom:1px solid var(--border);vertical-align:middle}table.table thead th{background:#f8fafc;font-weight:600;font-size:12.5px;text-transform:uppercase;letter-spacing:.03em;color:var(--text-muted)}table.table tbody tr:last-child td{border-bottom:none}table.table tbody tr:hover td{background:#f8fafc}.badge{display:inline-flex;align-items:center;gap:6px;padding:3px 10px;border-radius:999px;font-size:12px;font-weight:600}.badge-success{background:#ecfdf5;color:#047857}.badge-muted{background:#f1f5f9;color:var(--text-muted)}.dot{display:inline-block;width:10px;height:10px;border-radius:50%}.overlay{position:fixed;inset:0;background:#0f172a73;display:flex;justify-content:center;align-items:center;z-index:100;padding:16px}.modal{background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow-lg);padding:24px;width:380px;max-width:100%;display:flex;flex-direction:column;gap:14px}.modal h3{margin:0}.modal-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:4px}.auth-container{display:flex;justify-content:center;align-items:center;min-height:100vh;background:linear-gradient(135deg,#0f172a,#1e293b 55%,#312e81);padding:24px}.auth-card{width:420px;max-width:100%;background:var(--surface);border-radius:16px;padding:34px;box-shadow:var(--shadow-lg)}.auth-brand{font-size:22px;font-weight:700;margin-bottom:4px}.auth-subtitle{color:var(--text-muted);font-size:14px;margin-bottom:24px}.form-field{display:flex;flex-direction:column;gap:14px}.error-text{color:var(--danger);background:var(--danger-soft);border:1px solid #fecaca;font-size:13px;padding:8px 12px;border-radius:var(--radius-sm);text-align:center}.muted{color:var(--text-muted)}.flex{display:flex;align-items:center;gap:10px}.flex-1{flex:1}.right{text-align:right}.mt-12{margin-top:12px}.mb-16{margin-bottom:16px}.color-palette{display:flex;flex-wrap:wrap;gap:8px}.color-swatch{width:28px;height:28px;border-radius:6px;border:2px solid transparent;cursor:pointer;padding:0;flex:none}.color-swatch:hover{transform:scale(1.12)}.color-swatch.selected{border-color:var(--text);box-shadow:0 0 0 2px var(--surface),0 0 0 4px var(--primary)}.check-toggle{display:inline-flex;align-items:center;gap:10px;background:transparent;border:none;cursor:pointer;padding:0;font-size:14px;font-family:inherit;color:var(--text)}.check-box{width:20px;height:20px;border:2px solid #cbd5e1;border-radius:5px;display:inline-flex;align-items:center;justify-content:center;font-size:13px;line-height:1;color:#fff;background:var(--surface);flex:none;transition:background .12s,border-color .12s}.check-box.checked{background:var(--primary);border-color:var(--primary)}.dropdown{position:relative}.dropdown-toggle{width:100%;padding:10px 13px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);color:var(--text);font-size:14px;font-family:inherit;text-align:left;cursor:pointer;display:flex;align-items:center;justify-content:space-between}.dropdown-toggle:after{content:"\25be";color:var(--text-muted)}.dropdown-menu{position:absolute;top:calc(100% + 4px);left:0;right:0;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm);box-shadow:var(--shadow-lg);z-index:20;max-height:220px;overflow-y:auto;display:flex;flex-direction:column}.dropdown-item{padding:10px 13px;background:transparent;border:none;text-align:left;cursor:pointer;font-size:14px;font-family:inherit;color:var(--text);flex:none}.dropdown-item:hover{background:#f1f5f9}.dropdown-item.selected{background:var(--primary-soft);color:var(--primary);font-weight:600}.toast-container{position:fixed;top:20px;right:20px;z-index:9999;display:flex;flex-direction:column;gap:10px;pointer-events:none}.toast{display:flex;align-items:center;gap:10px;padding:12px 16px;border-radius:10px;background:var(--surface);border:1px solid var(--border);border-left:4px solid var(--primary);box-shadow:var(--shadow-lg);font-size:14px;color:var(--text);max-width:380px;pointer-events:auto;cursor:pointer;animation:toast-in .22s ease}.toast-success{border-left-color:var(--success)}.toast-error{border-left-color:var(--danger)}.toast-info{border-left-color:var(--primary)}.toast-icon{width:20px;height:20px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;color:#fff;flex:none}.toast-success .toast-icon{background:var(--success)}.toast-error .toast-icon{background:var(--danger)}.toast-info .toast-icon{background:var(--primary)}.toast-msg{flex:1}.toast-close{background:transparent;border:none;color:var(--text-muted);cursor:pointer;font-size:14px;padding:2px;line-height:1}.toast-close:hover{color:var(--text)}@keyframes toast-in{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}.spinner{width:22px;height:22px;border:2.5px solid var(--border);border-top-color:var(--primary);border-radius:50%;animation:spin .7s linear infinite;flex:none}.spinner-sm{width:15px;height:15px;border-width:2px}.btn-primary .spinner{border-color:#fff6;border-top-color:#fff}@keyframes spin{to{transform:rotate(360deg)}}.loading-row{display:flex;align-items:center;justify-content:center;gap:10px;padding:32px;color:var(--text-muted);font-size:14px}.field-error{color:var(--danger);font-size:12.5px;margin-top:4px}.input.invalid{border-color:var(--danger)}.skeleton{background:linear-gradient(90deg,#eef1f6 25%,#e2e8f0,#eef1f6 75%);background-size:200% 100%;animation:shimmer 1.2s ease-in-out infinite;border-radius:6px}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.skeleton-list{display:flex;flex-direction:column;gap:12px;padding:16px 0}.skeleton-row{height:22px}.empty-state{text-align:center;padding:48px 20px;color:var(--text-muted)}.empty-state .empty-icon{font-size:40px;line-height:1;margin-bottom:12px}.empty-state .empty-title{font-size:16px;font-weight:600;color:var(--text);margin-bottom:4px}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px;border:2px solid transparent;background-clip:padding-box}::-webkit-scrollbar-thumb:hover{background:#94a3b8;background-clip:padding-box}::-webkit-scrollbar-track{background:transparent}.layout{display:flex;height:100vh;overflow:hidden}.sidebar{width:240px;min-width:240px;background:var(--sidebar-bg);color:var(--sidebar-text);display:flex;flex-direction:column;transition:width .2s ease,min-width .2s ease}.sidebar.collapsed{width:64px;min-width:64px}.sidebar-brand{display:flex;align-items:center;gap:10px;padding:20px 18px;border-bottom:1px solid var(--sidebar-border);white-space:nowrap}.sidebar.collapsed .sidebar-brand{justify-content:center;padding:20px 8px}.brand-logo{width:34px;height:34px;flex:none;object-fit:contain}.brand-name{color:#fff;font-weight:650;font-size:16px}.sidebar.collapsed .brand-name{display:none}.team-indicator{display:flex;align-items:center;gap:8px;padding:12px 18px;border-bottom:1px solid var(--sidebar-border);color:#e2e8f0;font-weight:600;font-size:13px;white-space:nowrap}.team-indicator .dot{width:9px;height:9px;flex:none}.team-name{overflow:hidden;text-overflow:ellipsis}.sidebar.collapsed .team-indicator{justify-content:center;padding:12px 8px}.sidebar.collapsed .team-name{display:none}.sidebar-nav{flex:1;overflow-y:auto;overflow-x:hidden;padding:12px 10px;display:flex;flex-direction:column;gap:2px}.nav-section{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:#64748b;padding:14px 10px 6px;font-weight:600;white-space:nowrap}.sidebar.collapsed .nav-section{display:none}.nav-item{display:flex;align-items:center;gap:10px;padding:9px 12px;border-radius:8px;color:var(--sidebar-text);text-decoration:none;font-weight:500;transition:background .15s,color .15s;white-space:nowrap}.nav-item:hover{background:var(--sidebar-active);color:#fff;text-decoration:none}.nav-item.active{background:var(--sidebar-active);color:#fff}.nav-icon{width:18px;text-align:center;font-size:15px;flex:none}.sidebar.collapsed .nav-item{justify-content:center;padding:9px 0;gap:0}.sidebar.collapsed .nav-label{display:none}.sidebar-footer{padding:14px 12px;border-top:1px solid var(--sidebar-border);display:flex;align-items:center;justify-content:space-between;gap:10px}.sidebar.collapsed .sidebar-footer{flex-direction:column;justify-content:center}.avatar{width:36px;height:36px;border-radius:50%;background:#334155;color:#e2e8f0;display:flex;align-items:center;justify-content:center;font-weight:650;font-size:12px;letter-spacing:.5px;flex:none}.logout-btn{background:transparent;border:none;color:var(--sidebar-text);font-size:18px;cursor:pointer;padding:6px;border-radius:8px;line-height:1;display:flex}.logout-btn:hover{background:var(--sidebar-active);color:#fff}.main{flex:1;display:flex;flex-direction:column;min-width:0}.topbar{display:flex;align-items:center;gap:12px;padding:0 28px;height:60px;background:var(--surface);border-bottom:1px solid var(--border)}.topbar-title{font-size:17px;font-weight:650;margin:0}.icon-btn{background:transparent;border:1px solid var(--border);border-radius:8px;width:36px;height:36px;cursor:pointer;font-size:16px;color:var(--text);display:flex;align-items:center;justify-content:center;flex:none}.icon-btn:hover{background:#f1f5f9}.content{flex:1;overflow:auto;padding:24px 28px}.board-toolbar{display:flex;align-items:center;gap:12px;margin-bottom:18px}.board-month{font-size:16px;font-weight:650;min-width:150px;text-align:center}.team-calendar{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-sm);overflow:hidden;margin-bottom:20px}.team-head{display:flex;align-items:center;gap:10px;padding:14px 18px;border-bottom:1px solid var(--border)}.team-head h3{margin:0}.team-head .dot{width:12px;height:12px}.board-scroll{overflow-x:auto}.board-grid{display:grid;gap:1px;background:var(--border);width:100%}.grid-head,.grid-day{background:var(--surface);padding:6px;text-align:center;display:flex;align-items:center;justify-content:center}.grid-head{background:#f8fafc;font-weight:600;font-size:12px;color:var(--text);line-height:1.2;padding:8px 6px}.grid-subhead{font-size:10px;font-weight:600;color:var(--text-muted);background:#f8fafc;padding:3px 2px;letter-spacing:.03em}.grid-head.weekend{background:#f1f5f9}.grid-day{position:sticky;left:0;z-index:2;background:#f8fafc;font-weight:600;font-size:12px;justify-content:flex-start;padding:6px 12px;text-align:left;border-right:1px solid var(--border);white-space:nowrap;min-height:34px}.grid-day.weekend{background:#f1f5f9;color:var(--text-muted)}.cell-select{width:100%;height:100%;min-height:34px;border:1px solid var(--border);border-radius:4px;background:var(--surface);color:var(--text-muted);font-size:12px;font-weight:600;text-align:center;cursor:pointer;padding:0 4px;transition:background .12s,border-color .12s}.cell-select:hover{background:#f1f5f9}.cell-select:focus{outline:none;border-color:#94a3b8}.cell-select:disabled{cursor:not-allowed;opacity:.55}.cell-select.has-value{font-weight:700}.board-empty{text-align:center;color:var(--text-muted);padding:48px 16px;background:var(--surface);border:1px dashed var(--border);border-radius:var(--radius)}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px;margin-bottom:20px}.stat-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:18px 20px;box-shadow:var(--shadow-sm)}.stat-value{font-size:28px;font-weight:700;line-height:1.1}.stat-value.name{font-size:20px}.stat-label{color:var(--text-muted);font-size:13px;margin-top:4px}.bar-container{display:flex;gap:8px;align-items:flex-end;height:140px;padding:0 8px 24px}.bar{flex:1;border-radius:6px 6px 0 0;min-width:24px;position:relative}.bar-label{position:absolute;bottom:-22px;left:0;right:0;text-align:center;font-size:11px;color:var(--text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
