.dashboard{max-width:1400px;margin:0 auto}.error-banner{background:#fee2e2;border:1px solid #fecaca;color:#dc2626;padding:1rem 1.5rem;border-radius:8px;margin-bottom:1.5rem;display:flex;justify-content:space-between;align-items:center}.error-banner button{background:none;border:none;color:#dc2626;font-size:1.5rem;cursor:pointer;padding:0 .5rem}.job-status-bar{background:linear-gradient(135deg,#3b82f6,#1d4ed8);color:#fff;padding:1rem 1.5rem;border-radius:8px;margin-bottom:1.5rem;box-shadow:0 4px 12px #3b82f64d}.job-status-content{display:flex;align-items:center;gap:1rem}.job-spinner{width:20px;height:20px;border:3px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:spin 1s linear infinite}.job-text{font-weight:600;font-size:1.1rem}.job-hint{font-size:.85rem;opacity:.8;margin-top:.5rem}.pipeline-container{display:flex;align-items:stretch;gap:0;overflow-x:auto;padding:1rem 0;margin-bottom:2rem}.pipeline-arrow{display:flex;align-items:center;justify-content:center;font-size:1.5rem;color:#9ca3af;padding:0 .5rem;flex-shrink:0}.pipeline-step{background:#fff;border:2px solid #e5e7eb;border-radius:12px;padding:1.25rem;min-width:160px;max-width:180px;flex-shrink:0;display:flex;flex-direction:column;transition:all .3s ease}.pipeline-step:hover{border-color:#3b82f6;box-shadow:0 4px 12px #3b82f626}.pipeline-step.active{border-color:#3b82f6;background:linear-gradient(135deg,#eff6ff,#dbeafe);box-shadow:0 4px 16px #3b82f640}.pipeline-step.disabled{opacity:.5;pointer-events:none}.step-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}.step-icon{font-size:1.75rem}.step-number{background:#f3f4f6;color:#6b7280;width:24px;height:24px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.75rem;font-weight:600}.pipeline-step.active .step-number{background:#3b82f6;color:#fff}.step-name{font-size:.95rem;font-weight:600;color:#1f2937;margin:0 0 .25rem}.step-description{font-size:.75rem;color:#6b7280;margin:0 0 .75rem;line-height:1.3}.step-stats{margin-bottom:1rem;flex-grow:1}.stat-main{font-size:.9rem;font-weight:600;color:#1f2937}.stat-sub{font-size:.75rem;color:#6b7280}.step-button{width:100%;padding:.625rem .75rem;background:#3b82f6;color:#fff;border:none;border-radius:6px;font-size:.85rem;font-weight:500;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center;gap:.5rem}.step-button:hover:not(:disabled){background:#2563eb;transform:translateY(-1px)}.step-button:disabled{background:#9ca3af;cursor:not-allowed}.step-button.running{background:#1d4ed8}.btn-spinner{width:14px;height:14px;border:2px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:spin 1s linear infinite}.quick-actions{margin-top:2rem}.quick-actions h2{font-size:1.25rem;color:#1f2937;margin-bottom:1rem}.action-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:1rem}.action-card{background:#fff;border:1px solid #e5e7eb;border-radius:10px;padding:1.25rem;text-decoration:none;display:flex;flex-direction:column;align-items:center;gap:.5rem;transition:all .2s ease;position:relative}.action-card:hover{border-color:#3b82f6;box-shadow:0 4px 12px #00000014;transform:translateY(-2px)}.action-icon{font-size:2rem}.action-label{font-size:.9rem;font-weight:500;color:#374151}.action-badge{position:absolute;top:.75rem;right:.75rem;background:#3b82f6;color:#fff;font-size:.75rem;font-weight:600;padding:.25rem .5rem;border-radius:10px;min-width:20px;text-align:center}.action-card-primary{background:linear-gradient(135deg,#22c55e,#15803d);border:none;cursor:pointer}.action-card-primary .action-icon,.action-card-primary .action-label{color:#fff}.action-card-primary .action-description{color:#fffc;font-size:.75rem}.action-card-primary:hover{background:linear-gradient(135deg,#16a34a,#166534);box-shadow:0 6px 20px #22c55e66}.action-card-primary:disabled{background:#9ca3af;cursor:not-allowed;transform:none;box-shadow:none}.action-card-v2{background:linear-gradient(135deg,#8b5cf6,#6d28d9);border:none;cursor:pointer}.action-card-v2 .action-icon,.action-card-v2 .action-label{color:#fff}.action-card-v2 .action-description{color:#fffc;font-size:.75rem}.action-card-v2:hover{background:linear-gradient(135deg,#7c3aed,#5b21b6);box-shadow:0 6px 20px #8b5cf666}.action-card-v2:disabled{background:#9ca3af;cursor:not-allowed;transform:none;box-shadow:none}@keyframes spin{to{transform:rotate(360deg)}}@media (max-width: 1200px){.pipeline-container{flex-wrap:wrap;justify-content:center}.pipeline-arrow{display:none}.pipeline-step{min-width:140px;max-width:200px}}@media (max-width: 768px){.pipeline-step{min-width:100%;max-width:100%}.action-grid{grid-template-columns:repeat(2,1fr)}}.sources-page{padding:2rem;max-width:1400px;margin:0 auto}.page-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem}.page-header h1{margin:0;font-size:2rem;color:#1a1a1a}.filters{display:flex;gap:1rem;margin-bottom:1.5rem;padding:1rem;background:#f5f5f5;border-radius:8px}.filters label{display:flex;align-items:center;gap:.5rem}.filters select{padding:.5rem;border:1px solid #ddd;border-radius:4px;background:#fff}.source-form{background:#fff;padding:2rem;border-radius:8px;box-shadow:0 2px 8px #0000001a;margin-bottom:2rem}.source-form h3{margin-top:0;margin-bottom:1.5rem;color:#1a1a1a}.form-group{margin-bottom:1rem}.form-group label{display:block;margin-bottom:.5rem;font-weight:500;color:#333}.form-group input[type=text],.form-group input[type=url],.form-group textarea,.form-group select{width:100%;padding:.75rem;border:1px solid #ddd;border-radius:4px;font-size:14px}.form-group textarea{resize:vertical;font-family:inherit}.form-actions{display:flex;gap:1rem;margin-top:1.5rem}.btn-primary:hover{background:#0056b3}.list-summary{color:#666;margin-bottom:1rem}.sources-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:1.5rem}.source-card{background:#fff;padding:1.5rem;border-radius:8px;box-shadow:0 2px 8px #0000001a;transition:box-shadow .2s}.source-card:hover{box-shadow:0 4px 12px #00000026}.source-card.inactive{opacity:.6}.source-header{display:flex;align-items:center;gap:.75rem;margin-bottom:.75rem;flex-wrap:wrap}.source-header h3{margin:0;font-size:1.25rem;color:#1a1a1a}.category-badge{padding:.25rem .75rem;background:#e3f2fd;color:#1976d2;border-radius:12px;font-size:.75rem;font-weight:500}.status-badge{padding:.25rem .75rem;border-radius:12px;font-size:.75rem;font-weight:500}.status-badge.inactive{background:#f5f5f5;color:#999}.source-description{color:#666;font-size:.9rem;margin-bottom:.75rem;line-height:1.4}.source-url{margin-bottom:.75rem;padding:.5rem;background:#f9f9f9;border-radius:4px;font-size:.85rem;overflow-wrap:break-word}.source-url a{color:#007bff;text-decoration:none}.source-url a:hover{text-decoration:underline}.source-meta{display:flex;flex-direction:column;gap:.25rem;margin-bottom:1rem;font-size:.8rem;color:#999}.source-actions{display:flex;gap:.5rem}.source-actions button{flex:1;padding:.5rem 1rem;font-size:.85rem}.empty-state{text-align:center;padding:3rem;color:#999}.empty-state p{font-size:1.1rem}.crawl-status-badge{padding:.25rem .75rem;border-radius:12px;font-size:.7rem;font-weight:500}.crawl-status-badge.success{background:#d4edda;color:#155724}.crawl-status-badge.failed{background:#f8d7da;color:#721c24}.crawl-status-badge.partial{background:#fff3cd;color:#856404}.crawl-error{color:#dc3545;font-style:italic}.btn-primary:disabled,.btn-secondary:disabled{opacity:.6;cursor:not-allowed}.topics-page{padding:2rem;max-width:1400px;margin:0 auto}.page-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:2rem}.subtitle{margin:0;color:#666;font-size:.95rem}.filters{display:flex;gap:2rem;align-items:center;margin-bottom:2rem;padding:1.5rem;background:#f5f5f5;border-radius:8px}.filter-group{display:flex;align-items:center;gap:.75rem}.filter-group label{font-weight:500;color:#333}.filter-group select{padding:.5rem 1rem;border:1px solid #ddd;border-radius:4px;background:#fff;min-width:200px}.filter-stats{margin-left:auto;color:#666;font-weight:500}.topics-list{display:flex;flex-direction:column;gap:1.5rem}.topic-card{background:#fff;padding:1.5rem;border-radius:8px;box-shadow:0 2px 8px #0000001a;transition:box-shadow .2s}.topic-card:hover{box-shadow:0 4px 12px #00000026}.topic-header{margin-bottom:1rem}.topic-title h3{margin:0 0 .75rem;font-size:1.25rem;color:#1a1a1a;line-height:1.4}.topic-badges{display:flex;gap:.5rem;flex-wrap:wrap}.badge{padding:.25rem .75rem;border-radius:12px;font-size:.75rem;font-weight:500}.badge-unassigned{background:#fff3cd;color:#856404}.badge-manual{background:#d1ecf1;color:#0c5460}.badge-auto{background:#d4edda;color:#155724}.badge-empty{background:#f8d7da;color:#721c24}.confidence{padding:.25rem .75rem;border-radius:12px;font-size:.75rem;font-weight:500}.confidence-high{background:#d4edda;color:#155724}.confidence-medium{background:#fff3cd;color:#856404}.confidence-low{background:#f8d7da;color:#721c24}.article-count{padding:.25rem .75rem;background:#e3f2fd;color:#1976d2;border-radius:12px;font-size:.75rem;font-weight:500}.topic-keywords{display:flex;gap:.5rem;flex-wrap:wrap;margin-bottom:1rem}.keyword-tag{padding:.25rem .75rem;background:#f5f5f5;border:1px solid #e0e0e0;border-radius:4px;font-size:.85rem;color:#555}.topic-articles-preview{margin-bottom:1rem;padding:1rem;background:#f9f9f9;border-radius:4px}.topic-articles-preview strong{display:block;margin-bottom:.5rem;color:#333}.topic-articles-preview ul{margin:0;padding-left:1.5rem}.topic-articles-preview li{margin-bottom:.25rem;font-size:.9rem}.topic-articles-preview a{color:#007bff;text-decoration:none}.topic-articles-preview a:hover{text-decoration:underline}.topic-assignment{margin-bottom:1rem;padding-top:1rem;border-top:1px solid #eee}.assigned-info{display:flex;justify-content:space-between;align-items:center}.assigned-to{display:flex;align-items:center;gap:.5rem;font-size:.95rem}.assigned-to strong{color:#333}.agent-beat{color:#666;font-size:.9rem}.assign-controls{display:flex;gap:.75rem;align-items:center}.agent-select{flex:1;padding:.5rem 1rem;border:1px solid #ddd;border-radius:4px;background:#fff;max-width:400px}.btn-primary,.btn-secondary,.btn-danger{padding:.75rem 1.5rem;border:none;border-radius:4px;cursor:pointer;font-size:14px;font-weight:500;transition:all .2s}.btn-sm{padding:.5rem 1rem;font-size:.85rem}.btn-primary{background:#007bff;color:#fff}.btn-primary:disabled{background:#6c757d;cursor:not-allowed;opacity:.6}.btn-secondary{background:#6c757d;color:#fff}.btn-secondary:hover{background:#545b62}.btn-danger{background:#dc3545;color:#fff}.btn-danger:hover{background:#c82333}.topic-meta{display:flex;gap:1.5rem;font-size:.8rem;color:#999}.empty-state{text-align:center;padding:4rem 2rem;color:#999}.empty-state p{font-size:1.1rem;max-width:600px;margin:0 auto}.header-actions{display:flex;gap:.75rem}.badge-approved{background:#d4edda;color:#155724}.badge-rejected{background:#f8d7da;color:#721c24}.badge-pending{background:#fff3cd;color:#856404}.research-badge.badge-completed{background:#d1ecf1;color:#0c5460}.research-badge.badge-in-progress{background:#e2e3e5;color:#383d41}.research-badge.badge-failed{background:#f8d7da;color:#721c24}.topic-card.rejected{opacity:.7;border-left:4px solid #dc3545}.moderation-reason{padding:.75rem 1rem;border-radius:4px;font-size:.9rem;margin-bottom:1rem}.moderation-reason.approved{background:#d4edda;color:#155724}.moderation-reason.rejected{background:#f8d7da;color:#721c24}.moderation-reason.pending{background:#fff3cd;color:#856404}.override-controls{padding:1rem;background:#f8f9fa;border-radius:4px;margin-bottom:1rem;border:1px dashed #dee2e6}.override-controls strong{color:#495057}.settings-page{max-width:1000px;margin:0 auto;padding:2rem}.settings-page h1{margin-bottom:2rem;color:#333}.settings-section{background:#fff;border-radius:8px;padding:2rem;margin-bottom:2rem;box-shadow:0 2px 4px #0000001a}.settings-section h2{margin-top:0;margin-bottom:.5rem;color:#2c3e50}.section-description{color:#666;margin-bottom:1.5rem;font-size:.95rem}.trigger-buttons{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;margin-top:1rem}.trigger-btn{padding:1rem;background:#f8f9fa;border:2px solid #dee2e6;border-radius:6px;cursor:pointer;font-size:1rem;font-weight:500;transition:all .2s}.trigger-btn:hover{background:#e9ecef;border-color:#adb5bd;transform:translateY(-2px)}.trigger-btn.primary{background:#007bff;color:#fff;border-color:#0056b3}.trigger-btn.primary:hover{background:#0056b3;border-color:#004085}.schedule-form{margin-top:1.5rem}.form-group label{display:block;margin-bottom:.5rem;font-weight:500;color:#495057}.form-group input,.form-group select{width:100%;padding:.5rem;border:1px solid #ced4da;border-radius:4px;font-size:1rem}.form-group input[type=number]{width:150px}.time-input-group{display:flex;gap:1rem;margin-bottom:.5rem;align-items:center}.time-input-group input[type=time]{width:150px}.add-btn,.remove-btn{padding:.5rem 1rem;border:none;border-radius:4px;cursor:pointer;font-size:.9rem;transition:all .2s}.add-btn{background:#28a745;color:#fff;margin-top:.5rem}.add-btn:hover{background:#218838}.remove-btn{background:#dc3545;color:#fff}.remove-btn:hover{background:#c82333}.save-btn{padding:.75rem 2rem;background:#007bff;color:#fff;border:none;border-radius:6px;font-size:1rem;font-weight:500;cursor:pointer;transition:all .2s}.save-btn:hover:not(:disabled){background:#0056b3;transform:translateY(-1px)}.save-btn:disabled{background:#6c757d;cursor:not-allowed}.message{padding:1rem;border-radius:6px;margin-bottom:1rem;font-size:.95rem}.message.success{background:#d4edda;color:#155724;border:1px solid #c3e6cb}.message.error{background:#f8d7da;color:#721c24;border:1px solid #f5c6cb}.message.info{background:#d1ecf1;color:#0c5460;border:1px solid #bee5eb}.task-id{font-family:monospace;font-size:.85rem;margin-top:.5rem;opacity:.8}.restart-note{margin-top:1.5rem;padding:1rem;background:#fff3cd;border:1px solid #ffeaa7;border-radius:6px;color:#856404;font-size:.9rem}.restart-note code{display:block;margin-top:.5rem;padding:.5rem;background:#2d3436;color:#0f0;border-radius:4px;font-family:monospace;font-size:.85rem}.loading{text-align:center;padding:3rem;color:#666;font-size:1.1rem}.ai-settings-page{padding:2rem;max-width:1200px;margin:0 auto}.page-header h1{margin:0 0 .5rem;font-size:2rem;color:#1a1a1a}.subtitle{color:#666;margin:0}.error-message{background:#f8d7da;color:#721c24;padding:1rem;border-radius:4px;margin-bottom:1rem}.status-overview{margin-bottom:2rem}.status-overview h2{margin-bottom:1rem;font-size:1.25rem}.status-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem}.status-card{padding:1.5rem;border-radius:8px;text-align:center}.status-card.configured{background:#d4edda;border:1px solid #c3e6cb}.status-card.not-configured{background:#fff3cd;border:1px solid #ffeeba}.status-card h3{margin:0 0 .5rem;font-size:1rem;color:#333}.status-card .provider-name{font-weight:700;font-size:1.1rem;margin:.25rem 0;text-transform:capitalize}.status-card .status-indicator{margin:.25rem 0;font-size:.9rem}.status-card .model-name{margin:.25rem 0 0;font-size:.8rem;color:#666}.settings-sections{display:flex;flex-direction:column;gap:2rem}.settings-section{background:#fff;padding:1.5rem;border-radius:8px;box-shadow:0 2px 8px #0000001a}.settings-section.v2-section{background:linear-gradient(135deg,#faf5ff,#f3e8ff);border:2px solid #c084fc}.settings-section.v2-section h2{color:#7c3aed}.settings-section.v2-section a{color:#7c3aed;text-decoration:underline}.settings-section h2{margin:0 0 1.5rem;font-size:1.25rem;color:#1a1a1a;padding-bottom:.75rem;border-bottom:1px solid #eee}.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1.5rem}.form-group{display:flex;flex-direction:column;gap:.5rem}.form-group.full-width{grid-column:1 / -1}.form-group label{font-weight:500;color:#333;display:flex;align-items:center;gap:.75rem}.form-group input[type=text],.form-group input[type=password],.form-group input[type=number],.form-group select{padding:.75rem;border:1px solid #ddd;border-radius:4px;font-size:14px}.form-group select{background:#fff}.input-with-button{display:flex;gap:.5rem}.input-with-button input{flex:1}.btn-test{padding:.75rem 1.25rem;background:#6c757d;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:14px;white-space:nowrap}.btn-test:hover:not(:disabled){background:#545b62}.btn-test:disabled{opacity:.6;cursor:not-allowed}.key-status{font-size:.75rem;padding:.25rem .5rem;border-radius:4px;font-weight:400}.key-status.set{background:#d4edda;color:#155724}.test-result{padding:.5rem .75rem;border-radius:4px;font-size:.9rem;margin-top:.5rem}.test-result.success{background:#d4edda;color:#155724}.test-result.error{background:#f8d7da;color:#721c24}.checkbox-group label{flex-direction:row;align-items:center;cursor:pointer}.checkbox-group input[type=checkbox]{width:18px;height:18px;margin-right:.5rem}.help-text{font-size:.85rem;color:#666;margin:0}.save-section{display:flex;justify-content:flex-end;padding-top:1rem}.btn-primary{padding:.75rem 2rem;background:#007bff;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:16px;font-weight:500}.btn-primary:hover:not(:disabled){background:#0056b3}.btn-primary:disabled{opacity:.6;cursor:not-allowed}.btn-save{min-width:150px}.users-page{padding:1rem 0}.users-actions,.new-user-form{margin-bottom:1.5rem}.new-user-form h3{margin-bottom:1rem;font-size:1.1rem;font-weight:600}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}@media (max-width: 768px){.form-row{grid-template-columns:1fr}}.form-actions{display:flex;gap:.75rem;margin-top:1rem}.users-table{width:100%;border-collapse:collapse}.users-table th,.users-table td{padding:.75rem 1rem;text-align:left;border-bottom:1px solid #e5e7eb}.users-table th{background:#f9fafb;font-weight:600;font-size:.875rem;color:#374151}.users-table tbody tr:hover{background:#f9fafb}.users-table tbody tr.current-user{background:#f0f9ff}.you-badge{display:inline-block;margin-left:.5rem;padding:.125rem .5rem;background:#dbeafe;color:#1d4ed8;font-size:.75rem;border-radius:9999px;font-weight:500}.role-badge{display:inline-block;padding:.25rem .75rem;font-size:.75rem;font-weight:500;border-radius:9999px}.role-badge.admin{background:#fef3c7;color:#92400e}.role-badge.user{background:#e5e7eb;color:#374151}.status-badge{display:inline-block;padding:.25rem .75rem;font-size:.75rem;font-weight:500;border-radius:9999px}.status-badge.active{background:#d1fae5;color:#065f46}.status-badge.inactive{background:#fee2e2;color:#991b1b}.actions-cell{display:flex;gap:.5rem}.btn-icon{background:none;border:1px solid #e5e7eb;padding:.375rem .5rem;border-radius:4px;cursor:pointer;font-size:1rem;transition:all .2s}.btn-icon:hover{background:#f3f4f6}.btn-icon.danger:hover{background:#fee2e2;border-color:#fca5a5}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;justify-content:center;align-items:center;z-index:1000}.modal{background:#fff;padding:1.5rem;border-radius:8px;width:100%;max-width:400px;box-shadow:0 10px 25px #0003}.modal h3{margin-bottom:1rem;font-size:1.1rem}.login-page{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#1a1a2e,#16213e);padding:1rem}.login-container{background:#fff;border-radius:12px;box-shadow:0 20px 60px #0000004d;padding:2.5rem;width:100%;max-width:400px}.login-header{text-align:center;margin-bottom:2rem}.login-header h1{margin:0;font-size:2rem;color:#1a1a2e;font-weight:700}.login-header p{margin:.5rem 0 0;color:#666;font-size:.95rem}.login-form{display:flex;flex-direction:column;gap:1.25rem}.login-form .form-group{display:flex;flex-direction:column;gap:.5rem}.login-form label{font-weight:500;color:#333;font-size:.9rem}.login-form input{padding:.875rem 1rem;border:1px solid #ddd;border-radius:8px;font-size:1rem;transition:border-color .2s,box-shadow .2s}.login-form input:focus{outline:none;border-color:#4f46e5;box-shadow:0 0 0 3px #4f46e51a}.login-button{background:#4f46e5;color:#fff;border:none;padding:1rem;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:background .2s;margin-top:.5rem}.login-button:hover:not(:disabled){background:#4338ca}.login-button:disabled{background:#9ca3af;cursor:not-allowed}.login-error{background:#fef2f2;color:#dc2626;padding:.875rem 1rem;border-radius:8px;font-size:.9rem;border:1px solid #fecaca}.app{min-height:100vh;display:flex;flex-direction:column}.navbar{background-color:#1a1a2e;color:#fff;padding:.75rem 0;box-shadow:0 2px 8px #00000026;position:sticky;top:0;z-index:100}.nav-container{max-width:1400px;margin:0 auto;padding:0 2rem;display:flex;justify-content:space-between;align-items:center}.nav-brand{display:flex;align-items:center;gap:.5rem;text-decoration:none;color:#fff}.nav-logo{font-size:1.5rem}.nav-title{font-size:1.25rem;font-weight:700;letter-spacing:-.5px}.nav-links{display:flex;gap:.25rem}.nav-links a{color:#fffc;text-decoration:none;font-weight:500;font-size:.9rem;padding:.5rem 1rem;border-radius:6px;transition:all .2s}.nav-links a:hover{color:#fff;background:#ffffff1a}.nav-links a.active{color:#fff;background:#3b82f6}.main-content{flex:1;max-width:1400px;margin:1.5rem auto;padding:0 2rem;width:100%}.main-content-full{flex:1;width:100%}.page-header{margin-bottom:2rem}.page-title{font-size:2rem;font-weight:600;margin-bottom:.5rem}.page-description{color:#666;font-size:1rem}.btn{padding:.75rem 1.5rem;border:none;border-radius:6px;font-size:1rem;font-weight:500;cursor:pointer;transition:all .2s}.btn-primary{background-color:#4a9eff;color:#fff}.btn-primary:hover{background-color:#3a8eef}.btn-success{background-color:#28a745;color:#fff}.btn-success:hover{background-color:#218838}.btn-danger{background-color:#dc3545;color:#fff}.btn-danger:hover{background-color:#c82333}.btn-secondary{background-color:#6c757d;color:#fff}.btn-secondary:hover{background-color:#5a6268}.card{background:#fff;border-radius:8px;padding:1.5rem;box-shadow:0 2px 4px #0000001a;margin-bottom:1.5rem}.card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;padding-bottom:1rem;border-bottom:1px solid #e0e0e0}.card-title{font-size:1.25rem;font-weight:600}.form-group{margin-bottom:1.5rem}.form-label{display:block;margin-bottom:.5rem;font-weight:500;color:#333}.form-input,.form-textarea,.form-select{width:100%;padding:.75rem;border:1px solid #ddd;border-radius:6px;font-size:1rem;font-family:inherit}.form-input:focus,.form-textarea:focus,.form-select:focus{outline:none;border-color:#4a9eff;box-shadow:0 0 0 3px #4a9eff1a}.form-textarea{resize:vertical;min-height:100px}.loading{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:3rem;gap:1rem;color:#6b7280}.spinner{border:4px solid #f3f3f3;border-top:4px solid #4a9eff;border-radius:50%;width:40px;height:40px;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.error{background-color:#f8d7da;color:#721c24;padding:1rem;border-radius:6px;margin-bottom:1rem}.success{background-color:#d4edda;color:#155724;padding:1rem;border-radius:6px;margin-bottom:1rem}.grid{display:grid;gap:1.5rem}.grid-2{grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}.user-menu{display:flex;align-items:center;gap:1rem}.user-name{color:#ffffffe6;font-size:.9rem}.logout-btn{background:#ffffff1a;color:#ffffffe6;border:1px solid rgba(255,255,255,.2);padding:.4rem .75rem;border-radius:4px;font-size:.85rem;cursor:pointer;transition:all .2s}.logout-btn:hover{background:#fff3;color:#fff}*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#f5f5f5;color:#333}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}
