/* TaskMaster - IT SETUP SOLUTIONS */
/* Theme Variables */
:root,
[data-theme="light"] {
    --bg-primary: #f5f6fa;
    --bg-secondary: #ffffff;
    --bg-tertiary: #eef1f5;
    --text-primary: #2d3436;
    --text-secondary: #636e72;
    --text-muted: #b2bec3;
    --border: #dfe6e9;
    --sidebar-bg: #2d3436;
    --sidebar-text: #dfe6e9;
    --sidebar-active: #0984e3;
    --shadow: rgba(0,0,0,0.08);
    --input-bg: #fff;
    --hover-bg: #f0f3f7;
}

[data-theme="dark"] {
    --bg-primary: #1a1a2e;
    --bg-secondary: #16213e;
    --bg-tertiary: #0f3460;
    --text-primary: #e0e0e0;
    --text-secondary: #a0a0b0;
    --text-muted: #6c6c80;
    --border: #2a2a4a;
    --sidebar-bg: #0f0f23;
    --sidebar-text: #c0c0d0;
    --sidebar-active: #0984e3;
    --shadow: rgba(0,0,0,0.3);
    --input-bg: #1a1a2e;
    --hover-bg: #1e2a4a;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.5;
    font-size: 14px;
}
a { color: #0984e3; text-decoration: none; }
a:hover { text-decoration: underline; }

/* ========== APP SHELL ========== */
.app-shell {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 240px;
    background: var(--sidebar-bg);
    color: var(--sidebar-text);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 100;
}
.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.logo {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}
.logo-sub {
    font-size: 11px;
    color: #95a5a6;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.nav-menu {
    list-style: none;
    padding: 10px 0;
    flex: 1;
}
.nav-menu li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    color: var(--sidebar-text);
    text-decoration: none;
    transition: background 0.2s;
}
.nav-menu li a:hover { background: rgba(255,255,255,0.05); }
.nav-menu li.active a {
    background: var(--sidebar-active);
    color: #fff;
    font-weight: 600;
}
.nav-icon { font-size: 16px; width: 20px; text-align: center; }
.sidebar-footer {
    padding: 15px 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.user-badge {
    font-size: 12px;
    padding: 4px 8px;
    border-left: 3px solid;
    border-radius: 3px;
    background: rgba(255,255,255,0.05);
}
.btn-icon {
    background: none;
    border: none;
    color: var(--sidebar-text);
    cursor: pointer;
    font-size: 18px;
    padding: 4px;
}
.theme-icon { opacity: 0.7; }

/* Main content */
.main-content {
    margin-left: 240px;
    padding: 24px 32px;
    flex: 1;
    min-height: 100vh;
}

/* ========== COMMON COMPONENTS ========== */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}
.page-header h2 { font-size: 24px; font-weight: 700; }
.page-subtitle { color: var(--text-secondary); font-size: 14px; }
.page-desc { color: var(--text-secondary); margin-top: 4px; }
.back-link {
    font-size: 13px;
    color: var(--text-secondary);
    display: inline-block;
    margin-bottom: 4px;
}
.header-actions { display: flex; gap: 8px; align-items: center; }
.header-deadline { color: var(--text-secondary); font-size: 13px; }

/* Buttons */
.btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s;
}
.btn-primary { background: #0984e3; color: #fff; }
.btn-primary:hover { background: #0873c7; }
.btn-ghost { background: transparent; color: var(--text-secondary); border: 1px solid var(--border); }
.btn-ghost:hover { background: var(--hover-bg); }
.btn-full { width: 100%; }
.btn-sm { padding: 4px 10px; font-size: 12px; border-radius: 4px; cursor: pointer; border: 1px solid var(--border); background: var(--bg-secondary); color: var(--text-primary); }
.btn-sm:hover { background: var(--hover-bg); }
.btn-edit { color: #0984e3; border-color: #0984e380; }
.btn-delete { color: #e74c3c; border-color: #e74c3c80; }
.btn-add { margin-top: 8px; color: #0984e3; border-color: #0984e380; }
.btn-icon-sm { font-weight: 700; color: #f39c12; border-color: #f39c1280; }

/* Tables */
.data-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-secondary);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px var(--shadow);
}
.data-table th {
    text-align: left;
    padding: 10px 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border);
}
.data-table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover { background: var(--hover-bg); }
.actions-cell { white-space: nowrap; display: flex; gap: 4px; }
.cell-sub { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.row-inactive { opacity: 0.5; }

/* Forms */
.form-input, .form-select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 13px;
    background: var(--input-bg);
    color: var(--text-primary);
    transition: border-color 0.2s;
}
.form-input:focus, .form-select:focus {
    outline: none;
    border-color: #0984e3;
    box-shadow: 0 0 0 3px rgba(9,132,227,0.1);
}
.form-input-color { width: 50px; height: 36px; padding: 2px; border: 1px solid var(--border); border-radius: 6px; cursor: pointer; }
.form-group { margin-bottom: 12px; }
.form-group label { display: block; font-size: 12px; font-weight: 600; color: var(--text-secondary); margin-bottom: 4px; }
.form-row { display: flex; gap: 12px; flex-wrap: wrap; }
.form-row .form-group { flex: 1; min-width: 150px; }
.form-row .flex-2 { flex: 2; }
.form-actions { display: flex; gap: 8px; margin-top: 12px; }
.form-error { color: #e74c3c; font-size: 13px; margin: 8px 0; min-height: 20px; }
.inline-form {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px var(--shadow);
}
.inline-form h3, .inline-form h4 { margin-bottom: 12px; font-size: 16px; }
.filter-bar { display: flex; gap: 12px; margin-bottom: 16px; }
.filter-bar .form-select { width: auto; min-width: 160px; }

/* Badges */
.status-badge, .status-badge-sm {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    color: #fff;
}
.status-badge-sm { padding: 2px 6px; font-size: 10px; }
.priority-dot {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    color: #fff;
}
.priority-dot-sm {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.person-badge {
    display: inline-block;
    padding: 2px 8px;
    border-left: 3px solid;
    border-radius: 3px;
    font-size: 12px;
    background: rgba(9,132,227,0.05);
}
.color-dot { display: inline-block; width: 20px; height: 20px; border-radius: 50%; }
.badge-active { color: #27ae60; font-weight: 600; }
.badge-inactive { color: #e74c3c; font-weight: 600; }
.badge-days { background: #f39c12; color: #fff; padding: 1px 6px; border-radius: 10px; font-size: 11px; font-weight: 700; margin-left: 4px; }
.badge-overdue { background: #e74c3c; color: #fff; padding: 1px 6px; border-radius: 10px; font-size: 11px; font-weight: 700; margin-left: 4px; }
.badge-type { background: var(--bg-tertiary); padding: 2px 8px; border-radius: 4px; font-size: 12px; }
.unassigned { color: var(--text-muted); }

/* Progress bars */
.progress-bar-container {
    width: 100%;
    height: 8px;
    background: var(--bg-tertiary);
    border-radius: 4px;
    overflow: hidden;
}
.progress-bar {
    height: 100%;
    border-radius: 4px;
    transition: width 0.3s;
}
.progress-text { font-size: 11px; color: var(--text-secondary); }
.progress-bar-large {
    position: relative;
    width: 100%;
    height: 24px;
    background: var(--bg-tertiary);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 24px;
}
.progress-bar-large .progress-bar { background: #0984e3; }
.progress-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
}

/* Stats */
.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}
.stat-card {
    background: var(--bg-secondary);
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 1px 3px var(--shadow);
    text-align: center;
}
.stat-number { font-size: 32px; font-weight: 700; }
.stat-label { font-size: 12px; color: var(--text-secondary); text-transform: uppercase; }
.stat-urgent .stat-number { color: #e74c3c; }
.stat-progress .stat-number { color: #3498db; }
.stat-todo .stat-number { color: #f39c12; }
.stat-projects .stat-number { color: #27ae60; }

/* Sections */
.section-block {
    background: var(--bg-secondary);
    border-radius: 8px;
    margin-bottom: 16px;
    box-shadow: 0 1px 3px var(--shadow);
    overflow: hidden;
}
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    cursor: pointer;
    background: var(--bg-tertiary);
    transition: background 0.2s;
}
.section-header:hover { background: var(--hover-bg); }
.section-header-left { display: flex; align-items: center; gap: 8px; }
.section-header-right { display: flex; align-items: center; gap: 8px; }
.section-toggle { font-size: 12px; transition: transform 0.2s; }
.section-block.collapsed .section-toggle { transform: rotate(-90deg); }
.section-block.collapsed .section-body { display: none; }
.section-progress { font-size: 12px; color: var(--text-muted); }
.section-deadline { font-size: 12px; color: var(--text-secondary); }
.section-body { padding: 16px; }
.section-desc { font-size: 13px; color: var(--text-secondary); margin-bottom: 12px; }
.section-title { font-size: 16px; margin-bottom: 12px; }

/* Task rows (dashboard) */
.task-list { display: flex; flex-direction: column; gap: 8px; }
.task-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: var(--bg-secondary);
    border-radius: 6px;
    box-shadow: 0 1px 2px var(--shadow);
}
.task-row-main { display: flex; align-items: center; gap: 10px; flex: 1; }
.task-title { font-weight: 500; }
.task-meta { font-size: 12px; color: var(--text-muted); }
.task-row-right { display: flex; align-items: center; gap: 6px; }
.task-deadline { font-size: 13px; color: var(--text-secondary); }
.deadline-warning { color: #f39c12 !important; font-weight: 600; }
.deadline-overdue { color: #e74c3c !important; font-weight: 700; }
.task-title-cell { font-weight: 500; }
.notes-cell { font-size: 12px; color: var(--text-muted); max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.task-note { cursor: help; }

/* Task table in project detail */
.task-table { font-size: 13px; }
.task-tr { transition: background 0.2s; }
.problems-row td { padding: 0; background: var(--bg-tertiary); }

/* Problems */
.problems-list { padding: 12px 16px; }
.problems-list h4 { margin-bottom: 8px; }
.problem-item {
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 6px;
    margin-bottom: 8px;
    background: var(--bg-secondary);
}
.problem-item.resolved { opacity: 0.6; }
.problem-header { display: flex; gap: 8px; align-items: center; margin-bottom: 6px; }
.problem-date { font-size: 11px; color: var(--text-muted); }
.problem-reporter { font-size: 11px; color: var(--text-muted); }
.problem-add { margin-top: 12px; }
.problem-add .form-row { display: flex; gap: 8px; align-items: flex-end; }

/* Activity */
.activity-list { display: flex; flex-direction: column; gap: 4px; }
.activity-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: var(--bg-secondary);
    border-radius: 6px;
    box-shadow: 0 1px 2px var(--shadow);
}
.activity-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
    background: var(--bg-tertiary);
}
.activity-content { flex: 1; font-size: 13px; }
.activity-performer { font-weight: 600; }
.activity-time { font-size: 11px; color: var(--text-muted); white-space: nowrap; }

/* Timeline */
.timeline-container { overflow-x: auto; }
.timeline-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-secondary);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px var(--shadow);
}
.timeline-table th {
    padding: 10px;
    font-size: 12px;
    font-weight: 600;
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border);
    text-align: center;
    min-width: 140px;
}
.timeline-person-col { min-width: 120px; text-align: left !important; }
.timeline-person-cell { padding: 8px 10px; border-bottom: 1px solid var(--border); }
.timeline-cell {
    padding: 6px;
    border-bottom: 1px solid var(--border);
    border-left: 1px solid var(--border);
    vertical-align: top;
}
.timeline-task {
    padding: 4px 6px;
    border-radius: 4px;
    margin-bottom: 4px;
    font-size: 11px;
}
.timeline-task-title { font-weight: 500; display: block; }
.timeline-task-project { font-size: 10px; color: var(--text-muted); }

/* TV Config */
.tv-info-box {
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 16px;
    font-size: 13px;
}
.tv-info-box code {
    background: var(--bg-secondary);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
}

/* Login */
.login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: var(--bg-primary);
}
.login-card {
    background: var(--bg-secondary);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--shadow);
    width: 380px;
    max-width: 90%;
}
.login-logo { font-size: 28px; font-weight: 700; text-align: center; color: #0984e3; margin-bottom: 4px; }
.login-sub { text-align: center; color: var(--text-secondary); font-size: 13px; margin-bottom: 24px; }
.login-form { display: flex; flex-direction: column; }
.login-setup-link { text-align: center; margin-top: 16px; font-size: 13px; }

/* Toast */
.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    padding: 10px 20px;
    border-radius: 8px;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    z-index: 9999;
    animation: slideIn 0.3s ease, fadeOut 0.5s ease 2.5s;
}
.toast-success { background: #27ae60; }
.toast-error { background: #e74c3c; }
@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes fadeOut { to { opacity: 0; } }

/* Loading & empty states */
.loading { text-align: center; padding: 40px; color: var(--text-muted); }
.empty-state { text-align: center; padding: 40px; color: var(--text-muted); font-size: 14px; }
.error-msg { background: #e74c3c20; color: #e74c3c; padding: 12px 16px; border-radius: 8px; }

/* ========== TV DASHBOARD ========== */
.tv-mode { background: #0a0a1a; }
.tv-mode .login-page { display: none; }

.tv-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #0a0a1a;
    color: #e0e0e0;
    overflow: hidden;
}
.tv-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 32px;
    background: #0f0f23;
    border-bottom: 2px solid #1a1a3e;
}
.tv-logo h1 { font-size: 24px; color: #0984e3; margin: 0; }
.tv-logo span { font-size: 11px; color: #6c6c80; letter-spacing: 2px; text-transform: uppercase; }
.tv-date { font-size: 14px; color: #8080a0; text-align: right; }
.tv-time { font-size: 32px; font-weight: 700; color: #e0e0e0; text-align: right; }
.tv-content { flex: 1; padding: 24px 32px; overflow: hidden; }
.tv-footer {
    padding: 12px;
    text-align: center;
    background: #0f0f23;
}
.tv-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #2a2a4a;
    margin: 0 4px;
    transition: all 0.3s;
}
.tv-dot.active { background: #0984e3; transform: scale(1.3); }

/* TV Screen titles */
.tv-screen-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* TV Cards */
.tv-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
}
.tv-grid-wide { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.tv-card {
    background: #16213e;
    border-radius: 8px;
    padding: 16px;
    transition: transform 0.2s;
}
.tv-card-urgent { background: #1a1020; }
.tv-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.tv-card-title { font-size: 16px; font-weight: 600; color: #fff; margin-bottom: 6px; }
.tv-card-meta { font-size: 12px; color: #8080a0; }
.tv-card-notes { font-size: 12px; color: #6c6c80; margin-top: 6px; font-style: italic; }
.tv-status { padding: 2px 8px; border-radius: 4px; font-size: 11px; font-weight: 600; color: #fff; }
.tv-person { font-weight: 600; font-size: 13px; }
.tv-priority { font-size: 12px; color: #8080a0; }
.tv-overdue { background: #e74c3c; color: #fff; padding: 2px 8px; border-radius: 4px; font-size: 11px; font-weight: 700; margin-left: 6px; }
.tv-soon { background: #f39c12; color: #fff; padding: 2px 8px; border-radius: 4px; font-size: 11px; font-weight: 700; margin-left: 6px; }
.tv-progress-bar { height: 8px; background: #0a0a1a; border-radius: 4px; overflow: hidden; margin: 8px 0; }
.tv-progress-fill { height: 100%; border-radius: 4px; transition: width 0.3s; }
.tv-center { text-align: center; padding: 60px; font-size: 20px; color: #6c6c80; }
.tv-good { color: #27ae60; font-size: 24px; }
.tv-error { text-align: center; padding: 40px; color: #e74c3c; font-size: 16px; }
.tv-loading { text-align: center; padding: 60px; color: #6c6c80; font-size: 18px; }

/* TV Kanban */
.tv-kanban { display: flex; gap: 16px; height: calc(100vh - 180px); }
.tv-kanban-col { flex: 1; display: flex; flex-direction: column; }
.tv-kanban-header {
    font-size: 16px;
    font-weight: 700;
    padding: 10px;
    text-align: center;
    color: #fff;
    margin-bottom: 10px;
}
.tv-kanban-count { font-size: 12px; color: #8080a0; margin-left: 4px; }
.tv-kanban-cards { flex: 1; overflow: hidden; display: flex; flex-direction: column; gap: 8px; }
.tv-kanban-card {
    background: #16213e;
    border-radius: 6px;
    padding: 10px;
}
.tv-kanban-card-title { font-size: 13px; font-weight: 500; color: #e0e0e0; }
.tv-kanban-card-meta { font-size: 11px; color: #6c6c80; display: flex; justify-content: space-between; margin-top: 4px; }
.tv-person-sm { font-weight: 600; }
.tv-more { text-align: center; color: #6c6c80; font-size: 12px; padding: 6px; }

/* TV Per Persoana */
.tv-persons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}
.tv-person-col {
    background: #16213e;
    border-radius: 8px;
    padding: 16px;
}
.tv-person-name { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.tv-person-count { font-size: 12px; color: #8080a0; margin-bottom: 12px; }
.tv-person-tasks { display: flex; flex-direction: column; gap: 6px; }
.tv-person-task {
    padding: 6px 8px;
    background: #0f1a30;
    border-radius: 4px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.tv-status-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

/* TV Timeline */
.tv-timeline-table {
    width: 100%;
    border-collapse: collapse;
}
.tv-timeline-table th {
    padding: 10px;
    font-size: 13px;
    color: #8080a0;
    border-bottom: 2px solid #1a1a3e;
    text-align: center;
}
.tv-timeline-table td {
    padding: 8px;
    border-bottom: 1px solid #1a1a3e;
    vertical-align: top;
}
.tv-tl-person { font-weight: 600; font-size: 14px; white-space: nowrap; }
.tv-tl-cell { min-width: 140px; }
.tv-tl-task {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    margin-bottom: 4px;
}

/* Project link */
.project-link { font-weight: 600; }

/* Help page */
.help-search { margin-bottom: 20px; }
.help-search .form-input { max-width: 400px; font-size: 14px; }
.help-sections { display: flex; flex-direction: column; gap: 8px; }
.help-section {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 2px var(--shadow);
}
.help-section-title {
    padding: 12px 16px;
    margin: 0;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
    user-select: none;
}
.help-section-title:hover { background: var(--hover-bg); }
.help-toggle { font-size: 10px; transition: transform 0.2s; color: var(--text-muted); }
.help-section.open .help-toggle { transform: rotate(90deg); }
.help-section-body {
    display: none;
    padding: 0 16px 16px 16px;
    font-size: 13px;
    line-height: 1.7;
    color: var(--text-secondary);
}
.help-section.open .help-section-body { display: block; }
.help-section-body ul { padding-left: 20px; margin: 6px 0; }
.help-section-body li { margin-bottom: 4px; }
.help-section-body p { margin: 6px 0; }
.help-colors { margin: 8px 0 16px; }
.help-color-row { display: flex; align-items: center; gap: 8px; padding: 3px 0; font-size: 13px; }
.help-dot { width: 14px; height: 14px; border-radius: 50%; display: inline-block; flex-shrink: 0; }

/* Responsive */
@media (max-width: 768px) {
    .sidebar { width: 60px; }
    .sidebar .logo, .sidebar .logo-sub, .sidebar .nav-menu li a span:not(.nav-icon),
    .sidebar .user-badge, .sidebar .btn-sm { display: none; }
    .sidebar .nav-menu li a { justify-content: center; padding: 12px; }
    .main-content { margin-left: 60px; padding: 16px; }
    .form-row { flex-direction: column; }
    .stats-row { grid-template-columns: repeat(2, 1fr); }
}
