/* West Fraser Timeoff Portal — Styles */
:root {
    --wf-green: #00563F;
    --wf-green-light: #007A57;
    --wf-green-dark: #003D2D;
    --wf-green-bg: #F0F7F4;
    --wf-gold: #C8A951;
    --white: #FFFFFF;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    --red: #DC2626;
    --red-light: #FEF2F2;
    --blue: #2563EB;
    --blue-light: #EFF6FF;
    --amber: #D97706;
    --amber-light: #FFFBEB;
    --team-a: #00563F;
    --team-b: #2E86AB;
    --team-c: #A23B72;
    --team-d: #F18F01;
    --sidebar-w: 220px;
    --header-h: 64px;
    --radius: 8px;
    --shadow: 0 1px 3px rgba(0,0,0,.1);
    --shadow-lg: 0 4px 12px rgba(0,0,0,.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: var(--gray-50); color: var(--gray-800); min-height: 100vh; }

/* Header */
#header {
    position: fixed; top: 0; left: 0; right: 0; height: 80px;
    background: var(--wf-green); color: var(--white);
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 24px; z-index: 100; box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.header-left { display: flex; align-items: center; gap: 12px; }
.logo svg { width: 120px; height: auto; color: var(--white); }
.header-text h1 { font-size: 20px; font-weight: 700; letter-spacing: -0.3px; }
.header-sub { font-size: 12px; opacity: 0.8; }
.header-right { display: flex; align-items: center; gap: 16px; }
.user-menu { text-align: right; }
#userName { font-weight: 600; font-size: 14px; }
.user-role { display: block; font-size: 11px; opacity: 0.7; text-transform: uppercase; letter-spacing: 0.5px; }
.btn-link { background: none; border: none; color: var(--white); cursor: pointer; font-size: 13px; opacity: 0.8; text-decoration: underline; }
.btn-link:hover { opacity: 1; }

/* Notification Bell */
.notif-bell { position: relative; cursor: pointer; padding: 4px; }
.notif-bell svg { color: var(--white); }
.notif-badge {
    position: absolute; top: -4px; right: -4px;
    background: var(--red); color: var(--white);
    font-size: 10px; font-weight: 700;
    min-width: 18px; height: 18px;
    border-radius: 9px; display: flex; align-items: center; justify-content: center;
    padding: 0 4px;
}

/* Sidebar */
#sidebar {
    position: fixed; top: 80px; left: 0; bottom: 0;
    width: var(--sidebar-w); background: var(--white);
    border-right: 1px solid var(--gray-200);
    padding: 16px 0; z-index: 90; overflow-y: auto;
}
.nav-item {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 20px; color: var(--gray-600);
    text-decoration: none; font-size: 14px; font-weight: 500;
    transition: all 0.15s;
}
.nav-item:hover { background: var(--wf-green-bg); color: var(--wf-green); }
.nav-item.active { background: var(--wf-green-bg); color: var(--wf-green); font-weight: 600; border-right: 3px solid var(--wf-green); }
.nav-item svg { flex-shrink: 0; }

/* Main Content */
#main { padding-top: 80px; min-height: 100vh; }
body.logged-in #main { margin-left: var(--sidebar-w); }

.page { display: none; padding: 24px; }
.page.active { display: block; }

/* Auth Pages */
.auth-container {
    max-width: 400px; margin: 60px auto; padding: 40px;
    background: var(--white); border-radius: var(--radius);
    box-shadow: var(--shadow-lg); text-align: center;
}
.auth-container h2 { color: var(--wf-green); margin-bottom: 4px; }
.auth-subtitle { color: var(--gray-500); margin-bottom: 24px; font-size: 14px; }
.auth-logo svg { width: 160px; height: auto; color: var(--wf-green); margin-bottom: 16px; }
.auth-links { margin-top: 16px; display: flex; justify-content: space-between; }
.auth-links a { color: var(--wf-green); font-size: 13px; }

/* Forms */
.form-group { margin-bottom: 16px; text-align: left; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--gray-700); margin-bottom: 4px; }
.form-group label small { font-weight: 400; color: var(--gray-400); }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 10px 12px; border: 1px solid var(--gray-300);
    border-radius: 6px; font-size: 14px; transition: border-color 0.15s;
    font-family: inherit;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none; border-color: var(--wf-green); box-shadow: 0 0 0 3px rgba(0,86,63,.1);
}
.radio-group { display: flex; gap: 20px; }
.radio-group label { display: flex; align-items: center; gap: 6px; cursor: pointer; font-weight: 400; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    padding: 10px 20px; border-radius: 6px; font-size: 14px; font-weight: 600;
    cursor: pointer; border: 1px solid var(--gray-300); background: var(--white);
    color: var(--gray-700); transition: all 0.15s;
}
.btn:hover { background: var(--gray-50); }
.btn-primary { background: var(--wf-green); color: var(--white); border-color: var(--wf-green); }
.btn-primary:hover { background: var(--wf-green-light); }
.btn-danger { background: var(--red); color: var(--white); border-color: var(--red); }
.btn-danger:hover { opacity: 0.9; }
.btn-sm { padding: 6px 12px; font-size: 13px; }
.btn-full { width: 100%; }
.btn-xs { padding: 4px 8px; font-size: 12px; }
.form-actions { display: flex; gap: 12px; justify-content: flex-end; margin-top: 24px; }
.form-container { max-width: 600px; margin: 0 auto; }

/* Dashboard */
.dashboard-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px; margin-bottom: 32px;
}
.dash-card {
    background: var(--white); border-radius: var(--radius);
    padding: 24px; text-align: center; box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
}
.dash-card.clickable { cursor: pointer; transition: box-shadow 0.15s; }
.dash-card.clickable:hover { box-shadow: var(--shadow-lg); }
.dash-number { font-size: 36px; font-weight: 700; color: var(--wf-green); }
.dash-label { font-size: 13px; color: var(--gray-500); margin-top: 4px; }
.dash-toggle { display: flex; justify-content: center; padding: 8px 0; }

/* Toggle Switch */
.toggle { position: relative; display: inline-block; width: 48px; height: 26px; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
    position: absolute; cursor: pointer; inset: 0;
    background: var(--gray-300); border-radius: 26px; transition: 0.3s;
}
.toggle-slider::before {
    content: ''; position: absolute; height: 20px; width: 20px;
    left: 3px; bottom: 3px; background: var(--white);
    border-radius: 50%; transition: 0.3s;
}
.toggle input:checked + .toggle-slider { background: var(--wf-green); }
.toggle input:checked + .toggle-slider::before { transform: translateX(22px); }

/* Calendar */
.calendar-header {
    display: flex; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap;
}
.calendar-header h2 { min-width: 200px; }
.cal-filters { display: flex; gap: 8px; margin-left: auto; }
.cal-filters select { padding: 6px 10px; border: 1px solid var(--gray-300); border-radius: 6px; font-size: 13px; }
.cal-view-toggle { display: flex; gap: 4px; }

.calendar-legend {
    display: flex; gap: 16px; margin-bottom: 12px; flex-wrap: wrap;
}
.legend-item { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--gray-600); }
.legend-dot { width: 12px; height: 12px; border-radius: 50%; }

.calendar-grid {
    display: grid; grid-template-columns: repeat(7, 1fr);
    border: 1px solid var(--gray-200); border-radius: var(--radius);
    overflow: hidden; background: var(--white);
}
.cal-day-header {
    padding: 8px; text-align: center; font-size: 12px; font-weight: 600;
    color: var(--gray-500); background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
}
.cal-day {
    min-height: 100px; padding: 4px; border: 1px solid var(--gray-100);
    cursor: pointer; transition: background 0.15s; position: relative;
    overflow: hidden;
}
.cal-day:hover { background: var(--wf-green-bg); }
.cal-day.other-month { background: var(--gray-50); }
.cal-day.other-month .cal-date { color: var(--gray-300); }
.cal-day.today { background: #FFFDE7; }
.cal-day.blackout { background: var(--red-light); cursor: not-allowed; }
.cal-date { font-size: 13px; font-weight: 600; color: var(--gray-700); margin-bottom: 2px; }
.cal-event-dot {
    display: inline-block; width: 8px; height: 8px; border-radius: 50%;
    margin: 1px; vertical-align: middle;
}
.cal-day-stats {
    display: flex; flex-direction: column; gap: 0; margin-top: 2px; width: 100%;
}
.cal-stat-line {
    display: flex; justify-content: space-between; align-items: center;
    font-size: 10px; line-height: 1.5; color: var(--gray-600);
    padding: 0 4px;
}
.cal-stat-label { font-weight: 400; text-align: left; }
.cal-lbl-short { display: none; }
.cal-lbl-full { display: inline; }
.cal-stat-val { font-weight: 700; color: var(--gray-800); text-align: right; min-width: 16px; margin-left: 8px; }
.cal-abbr-key {
    display: none; font-size: 10px; color: var(--gray-400); text-align: center;
    padding: 4px 8px; line-height: 1.5;
}
.cal-stat-warn .cal-stat-label, .cal-stat-warn .cal-stat-val { color: #d97706; }
.cal-stat-good .cal-stat-label, .cal-stat-good .cal-stat-val { color: #059669; }
.cal-stat-bad .cal-stat-label, .cal-stat-bad .cal-stat-val { color: #dc2626; }

/* Calendar Day Stats (compact view) */
.cal-day-stats {
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    margin-top: 4px; cursor: pointer;
}
.cal-stats-row {
    display: flex; align-items: center; gap: 4px; font-size: 11px;
}
.cal-stat-shift { font-weight: 600; color: var(--gray-700); font-size: 12px; }
.cal-stat-pending { color: #d97706; font-weight: 600; font-size: 11px; }
.cal-stat-approved { color: #059669; font-weight: 600; font-size: 11px; }
.cal-stats-total {
    font-size: 10px; color: var(--gray-400); font-weight: 500;
}
.cal-team-dot {
    display: inline-block; width: 8px; height: 8px; border-radius: 50%;
}
.cal-more { font-size: 10px; color: var(--gray-500); cursor: pointer; }
.cal-event-bar {
    font-size: 10px; padding: 1px 4px; background: var(--blue-light);
    color: var(--blue); border-radius: 3px; margin: 1px 0;
}
.cal-blackout-bar {
    font-size: 10px; padding: 1px 4px; background: var(--red-light);
    color: var(--red); border-radius: 3px; margin: 1px 0;
}

/* Day Detail */
.day-detail { max-width: 900px; margin: 0 auto; }
.day-detail-header { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.day-events { margin-bottom: 16px; }
.day-sections { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.day-section h3 { margin-bottom: 12px; color: var(--gray-700); }
.day-request-card {
    background: var(--white); border-radius: var(--radius);
    padding: 12px 16px; margin-bottom: 8px;
    border-left: 4px solid var(--gray-300); box-shadow: var(--shadow);
}
.day-request-card .req-name { font-weight: 600; }
.day-request-card .req-team { font-size: 12px; color: var(--gray-500); }
.day-request-card .req-status {
    display: inline-block; padding: 2px 8px; border-radius: 12px;
    font-size: 11px; font-weight: 600; margin-top: 4px;
}
.status-pending { background: var(--amber-light); color: var(--amber); }
.status-covered { background: var(--blue-light); color: var(--blue); }
.status-approved { background: #ECFDF5; color: #059669; }
.status-denied { background: var(--red-light); color: var(--red); }
.status-cancel_pending { background: #FFF7ED; color: #C2410C; }
.status-cancelled { background: var(--gray-100); color: var(--gray-500); }

/* List/Table */
.list-header { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.list-header h2 { margin-right: auto; }
.list-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.list-filters select, .list-filters input {
    padding: 6px 10px; border: 1px solid var(--gray-300);
    border-radius: 6px; font-size: 13px;
}
.list-actions { display: flex; gap: 8px; }

.data-table-wrap { overflow-x: auto; }
table.data-table {
    width: 100%; border-collapse: collapse;
    background: var(--white); border-radius: var(--radius);
    box-shadow: var(--shadow); overflow: hidden;
}
table.data-table th {
    padding: 10px 12px; text-align: left; font-size: 12px;
    font-weight: 600; color: var(--gray-500); background: var(--gray-50);
    border-bottom: 2px solid var(--gray-200); white-space: nowrap;
}
table.data-table td {
    padding: 10px 12px; font-size: 13px; border-bottom: 1px solid var(--gray-100);
}
table.data-table tr:hover { background: var(--wf-green-bg); }
.dept-tag {
    display: inline-block; padding: 2px 6px; border-radius: 4px;
    font-size: 11px; font-weight: 600; color: var(--gray-600);
    background: var(--gray-100); margin-left: 4px;
}
.team-badge {
    display: inline-block; padding: 2px 8px; border-radius: 12px;
    font-size: 11px; font-weight: 600; color: var(--white);
}

/* Upcoming List (Dashboard) */
.upcoming-list { display: flex; flex-direction: column; gap: 8px; }
.upcoming-item {
    display: flex; align-items: center; gap: 12px;
    background: var(--white); padding: 12px 16px;
    border-radius: var(--radius); box-shadow: var(--shadow);
    border-left: 4px solid var(--gray-300);
}
.upcoming-item .ui-date { font-weight: 700; color: var(--wf-green); min-width: 80px; }
.upcoming-item .ui-shift { font-size: 12px; color: var(--gray-500); min-width: 50px; }
.upcoming-item .ui-name { font-weight: 600; flex: 1; }
.upcoming-item .ui-cover { font-size: 13px; color: var(--gray-500); }

/* Settings */
.settings-section {
    background: var(--white); padding: 24px;
    border-radius: var(--radius); box-shadow: var(--shadow);
    margin-bottom: 24px;
}
.settings-section h3 { margin-bottom: 16px; color: var(--wf-green); }
.inline-form {
    display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
    margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--gray-200);
}
.inline-form input, .inline-form select {
    padding: 6px 10px; border: 1px solid var(--gray-300);
    border-radius: 6px; font-size: 13px;
}
.export-controls { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.export-controls input { padding: 6px 10px; border: 1px solid var(--gray-300); border-radius: 6px; font-size: 13px; }

/* Date Picker (Multi-select mini calendar) */
.date-picker-multi {
    border: 1px solid var(--gray-300); border-radius: var(--radius);
    overflow: hidden; max-width: 320px;
}
.dp-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 8px 12px; background: var(--wf-green); color: var(--white);
}
.dp-header button { background: none; border: none; color: var(--white); cursor: pointer; font-size: 16px; padding: 4px 8px; }
.dp-grid { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; }
.dp-dow { padding: 6px; font-size: 11px; color: var(--gray-500); font-weight: 600; }
.dp-day {
    padding: 8px; font-size: 13px; cursor: pointer; border-radius: 4px; transition: all 0.1s;
}
.dp-day:hover { background: var(--wf-green-bg); }
.dp-day.selected { background: var(--wf-green); color: var(--white); font-weight: 600; }
.dp-day.other { color: var(--gray-300); }
.dp-day.today { font-weight: 700; box-shadow: inset 0 0 0 2px var(--wf-green); }
.dp-day.blackout { background: var(--red-light); color: var(--red); cursor: not-allowed; text-decoration: line-through; }

.selected-dates { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.selected-date-tag {
    display: inline-flex; align-items: center; gap: 4px;
    background: var(--wf-green-bg); color: var(--wf-green);
    padding: 4px 10px; border-radius: 20px; font-size: 12px; font-weight: 600;
}
.selected-date-tag button {
    background: none; border: none; color: var(--wf-green); cursor: pointer;
    font-size: 14px; line-height: 1;
}

/* Announcements */
.announcement-card {
    background: var(--white); padding: 20px;
    border-radius: var(--radius); box-shadow: var(--shadow);
    margin-bottom: 12px; border-left: 4px solid var(--wf-green);
}
.announcement-card h4 { color: var(--wf-green); margin-bottom: 8px; }
.announcement-card .ann-body { color: var(--gray-600); font-size: 14px; line-height: 1.5; }
.announcement-card .ann-meta { font-size: 12px; color: var(--gray-400); margin-top: 8px; }

/* Notifications */
.notif-item {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 12px 16px; background: var(--white);
    border-radius: var(--radius); margin-bottom: 8px;
    box-shadow: var(--shadow); border-left: 3px solid var(--gray-200);
}
.notif-item.unread { border-left-color: var(--wf-green); background: var(--wf-green-bg); }
.notif-item .notif-title { font-weight: 600; font-size: 14px; }
.notif-item .notif-body { font-size: 13px; color: var(--gray-600); margin-top: 2px; }
.notif-item .notif-time { font-size: 11px; color: var(--gray-400); margin-top: 4px; }

/* Toast */
.toast {
    position: fixed; bottom: 24px; right: 24px;
    background: var(--gray-800); color: var(--white);
    padding: 12px 24px; border-radius: var(--radius);
    font-size: 14px; z-index: 1000;
    transform: translateY(100px); opacity: 0;
    transition: all 0.3s ease;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.error { background: var(--red); }
.toast.success { background: var(--wf-green); }

/* Modal */
.modal {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,.5); z-index: 200;
    align-items: center; justify-content: center;
}
.modal.open { display: flex; }
.modal-content {
    background: var(--white); border-radius: var(--radius);
    max-width: 600px; width: 90%; max-height: 80vh; overflow-y: auto;
    box-shadow: var(--shadow-lg);
}
.modal-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 24px; border-bottom: 1px solid var(--gray-200);
}
.modal-header h3 { color: var(--wf-green); }
.modal-close { background: none; border: none; font-size: 24px; cursor: pointer; color: var(--gray-400); }
.modal-body { padding: 24px; }

/* Section */
.section { margin-bottom: 32px; }
.section h3 { color: var(--wf-green); margin-bottom: 12px; }

/* QR */
#qrCode { margin: 16px 0; }
#qrCode canvas { border: 8px solid var(--white); box-shadow: var(--shadow); }

/* Message Thread */
.msg-thread { max-height: 400px; overflow-y: auto; margin-bottom: 16px; }
.msg-bubble {
    padding: 8px 12px; margin-bottom: 8px; border-radius: 12px;
    max-width: 80%; font-size: 14px;
}
.msg-bubble.mine { background: var(--wf-green); color: var(--white); margin-left: auto; }
.msg-bubble.theirs { background: var(--gray-100); }
.msg-sender { font-size: 11px; font-weight: 600; margin-bottom: 2px; }
.msg-time { font-size: 10px; opacity: 0.6; margin-top: 2px; }
.msg-input-row { display: flex; gap: 8px; }
.msg-input-row input { flex: 1; }

/* Responsive */
@media (max-width: 768px) {
    :root { --sidebar-w: 0px; }
    #sidebar {
        transform: translateX(-100%); transition: transform 0.3s;
        width: 260px; z-index: 95;
    }
    #sidebar.open { transform: translateX(0); }
    body.logged-in #main { margin-left: 0; }
    .header-left h1 { font-size: 16px; }
    .header-sub { display: none; }
    .dashboard-grid { grid-template-columns: repeat(2, 1fr); }
    .day-sections { grid-template-columns: 1fr; }
    .cal-day { min-height: 52px; padding: 2px; overflow: hidden; }
    .cal-event-bar { font-size: 7px; padding: 1px 2px; }
    .cal-blackout-bar { font-size: 7px; padding: 1px 2px; }
    .cal-date { font-size: 10px; }
    .calendar-grid { font-size: 9px; }
    .cal-day-header { padding: 3px; font-size: 9px; }
    .cal-stat-line { font-size: 8px; line-height: 1.2; padding: 0 1px; gap: 2px; }
    .cal-stat-val { font-size: 9px; }
    .cal-lbl-full { display: none !important; }
    .cal-lbl-short { display: inline !important; }
    .cal-abbr-key { display: block; }
    .list-header { flex-direction: column; align-items: stretch; }
    .list-filters { flex-direction: column; }
    .calendar-header { flex-wrap: wrap; gap: 6px; }
    .calendar-header h2 { font-size: 16px; min-width: auto; }
    .cal-filters { margin-left: 0; flex-wrap: wrap; }
    .cal-filters select { font-size: 11px; padding: 4px 6px; }
    .cal-view-toggle { margin-left: auto; }
    .calendar-legend { gap: 6px; font-size: 9px; flex-wrap: wrap; }
    .legend-dot { width: 7px; height: 7px; }
    
    /* Mobile hamburger */
    .mobile-toggle {
        display: block; background: none; border: none;
        color: var(--white); font-size: 24px; cursor: pointer;
        padding: 4px 8px; margin-right: 8px;
    }
}
@media (min-width: 769px) {
    .mobile-toggle { display: none; }
}

/* Help */
.help-container { max-width: 800px; margin: 0 auto; }
.help-section {
    background: var(--white); border-radius: var(--radius);
    box-shadow: var(--shadow); margin-bottom: 20px; overflow: hidden;
}
.help-section-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 24px; cursor: pointer; background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200); transition: background 0.15s;
}
.help-section-header:hover { background: var(--wf-green-bg); }
.help-section-header h3 { color: var(--wf-green); font-size: 16px; margin: 0; }
.help-section-header .help-icon { font-size: 20px; transition: transform 0.2s; }
.help-section-header.open .help-icon { transform: rotate(180deg); }
.help-section-body {
    padding: 0 24px; max-height: 0; overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}
.help-section-body.open { padding: 20px 24px; max-height: 2000px; }
.help-section-body h4 { color: var(--wf-green); margin: 16px 0 8px; font-size: 14px; }
.help-section-body h4:first-child { margin-top: 0; }
.help-section-body p, .help-section-body li { font-size: 14px; line-height: 1.7; color: var(--gray-600); }
.help-section-body ul { padding-left: 20px; margin: 8px 0; }
.help-section-body li { margin-bottom: 4px; }
.help-section-body .help-badge {
    display: inline-block; padding: 2px 8px; border-radius: 4px;
    font-size: 12px; font-weight: 600;
}
.help-section-body .hb-pending { background: var(--amber-light); color: var(--amber); }
.help-section-body .hb-covered { background: var(--blue-light); color: var(--blue); }
.help-section-body .hb-approved { background: #ECFDF5; color: #059669; }
.help-section-body .hb-denied { background: var(--red-light); color: var(--red); }
.help-intro {
    background: var(--wf-green-bg); border-left: 4px solid var(--wf-green);
    padding: 16px 20px; border-radius: 0 var(--radius) var(--radius) 0;
    margin-bottom: 24px; font-size: 14px; color: var(--gray-700); line-height: 1.6;
}

/* Print */
@media print {
    #header, #sidebar, .btn, .list-filters, .list-actions { display: none !important; }
    #main { margin: 0 !important; padding: 0 !important; }
    .page { padding: 0 !important; }
}
