/* === PlanPro Styles === */

:root {
    /* Montis-Q Color Scheme */
    --bg-primary: #fafafa;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f5f5f5;
    --bg-accent: #fff4ed;
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-muted: #8a8a8a;
    --border-light: #e5e5e5;
    --border-medium: #d4d4d4;
    
    /* Montis-Q Orange */
    --accent-primary: #E85C25;
    --accent-secondary: #d14d1a;
    --accent-tertiary: #f06d38;
    --primary-bg: #fff4ed;
    
    /* Status colors */
    --success: #22c55e;
    --success-bg: #dcfce7;
    --warning: #f59e0b;
    --warning-bg: #fef3c7;
    --danger: #ef4444;
    --danger-bg: #fee2e2;
    --info: #3b82f6;
    --info-bg: #dbeafe;
    --purple: #8b5cf6;
    --purple-bg: #ede9fe;
    
    /* Shadows & Radius */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
}

/* === Login === */
.login-screen {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fff4ed 0%, #fafafa 50%, #fff8f5 100%);
}

.login-container {
    background: var(--bg-secondary);
    padding: 48px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 420px;
}

.login-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.login-logo img {
    width: 48px;
    height: 48px;
}

.login-logo span {
    font-family: 'DM Sans', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.login-subtitle {
    color: var(--text-secondary);
    margin-bottom: 32px;
}

/* === Forms === */
.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-family: inherit;
    background: var(--bg-primary);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(245,158,11,0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 16px;
    border: none;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(232,92,37,0.3);
}

.btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    padding: 6px 10px;
}

.btn-ghost:hover {
    background: var(--bg-tertiary);
}

.btn-icon {
    background: transparent;
    border: none;
    padding: 2px 6px;
    font-size: 12px;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.15s;
    margin-left: 4px;
}

.btn-icon:hover {
    opacity: 1;
}

.edit-btn {
    margin-left: 8px;
}

.btn-danger {
    background: var(--danger);
    color: white;
}

.btn-sm {
    padding: 6px 10px;
    font-size: 12px;
}

.btn-full {
    width: 100%;
}

.login-error {
    background: var(--danger-bg);
    color: var(--danger);
    padding: 12px;
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    display: none;
    font-size: 14px;
}

.login-error.show {
    display: block;
}

/* === App Layout === */
.app-container {
    display: none;
    min-height: 100vh;
}

.app-container.active {
    display: flex;
}

/* === Sidebar === */
.sidebar {
    width: 240px;
    background: var(--bg-secondary);
    border-right: 1px solid var(--border-light);
    position: fixed;
    height: 100vh;
    display: flex;
    flex-direction: column;
    z-index: 100;
}

.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-light);
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-logo img {
    width: 32px;
    height: 32px;
}

.sidebar-logo span {
    font-family: 'DM Sans', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.sidebar-nav {
    flex: 1;
    padding: 12px 8px;
    overflow-y: auto;
}

.nav-section {
    margin-bottom: 20px;
}

.nav-section-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    padding: 8px 12px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
    position: relative;
}

.nav-item:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.nav-item.active {
    background: var(--bg-accent);
    color: var(--accent-secondary);
}

.nav-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 16px;
    background: var(--accent-primary);
    border-radius: 0 3px 3px 0;
}

.nav-item svg {
    width: 18px;
    height: 18px;
}

.nav-item .badge {
    margin-left: auto;
    background: var(--danger);
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 8px;
}

.sidebar-footer {
    padding: 12px;
    border-top: 1px solid var(--border-light);
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: var(--radius-md);
    cursor: pointer;
}

.user-profile:hover {
    background: var(--bg-tertiary);
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-tertiary), var(--accent-primary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 13px;
}

.user-info {
    flex: 1;
}

.user-name {
    font-size: 13px;
    font-weight: 500;
}

.user-role {
    font-size: 11px;
    color: var(--text-muted);
}

.user-menu-arrow {
    color: var(--text-muted);
    font-size: 10px;
}

.user-menu {
    display: none;
    position: absolute;
    bottom: 70px;
    left: 12px;
    right: 12px;
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    z-index: 100;
}

.user-menu.show {
    display: block;
}

.user-menu-item {
    display: block;
    padding: 10px 14px;
    font-size: 13px;
    color: var(--text-primary);
    text-decoration: none;
    cursor: pointer;
}

.user-menu-item:hover {
    background: var(--bg-secondary);
}

.sidebar-footer {
    position: relative;
}

.input-with-button {
    display: flex;
    gap: 8px;
}

.input-with-button input {
    flex: 1;
}

/* === Main === */
.main-content {
    flex: 1;
    margin-left: 240px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    /* Without this a flex item refuses to shrink below its content's minimum
       width, so a wide week grid stretches the whole page (topbar included)
       instead of scrolling inside .grid-wrapper. */
    min-width: 0;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 50;
    flex-wrap: wrap;
    gap: 12px;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.page-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 20px;
    font-weight: 700;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.range-select {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-tertiary);
    padding: 6px 10px;
    border-radius: var(--radius-md);
    font-size: 12px;
}

.range-select select {
    border: none;
    background: transparent;
    font-size: 12px;
    font-family: inherit;
    font-weight: 500;
    cursor: pointer;
}

.content-area {
    flex: 1;
    padding: 24px;
    overflow-x: auto;
}

/* === Views === */
.view {
    display: none;
}

.view.active {
    display: block;
}

/* === Section === */
.section {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    overflow: hidden;
    margin-bottom: 20px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-light);
    flex-wrap: wrap;
    gap: 10px;
}

.section-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 700;
}

.section-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.section-actions select {
    padding: 6px 10px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-family: inherit;
}

/* === Multi-Select Dropdown === */
.multi-select {
    position: relative;
    display: inline-block;
    min-width: 120px;
}

.multi-select-toggle {
    padding: 6px 28px 6px 10px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-family: inherit;
    background: var(--bg-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    position: relative;
}

.multi-select-toggle::after {
    content: '▼';
    position: absolute;
    right: 8px;
    font-size: 8px;
    color: var(--text-muted);
    transition: transform 0.2s;
}

.multi-select.open .multi-select-toggle::after {
    transform: rotate(180deg);
}

.multi-select-toggle:hover {
    border-color: var(--border-medium);
}

.multi-select-toggle .count-badge {
    background: var(--accent-primary);
    color: white;
    font-size: 10px;
    padding: 1px 5px;
    border-radius: 10px;
    margin-left: 4px;
}

.multi-select-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    max-height: 280px;
    overflow-y: auto;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    z-index: 100;
    display: none;
    margin-top: 4px;
}

.multi-select.open .multi-select-dropdown {
    display: block;
}

.multi-select-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 12px;
    transition: background 0.1s;
}

.multi-select-option:hover {
    background: var(--bg-tertiary);
}

.multi-select-option input[type="checkbox"] {
    width: 14px;
    height: 14px;
    cursor: pointer;
    accent-color: var(--accent-primary);
}

.multi-select-option label {
    flex: 1;
    cursor: pointer;
    user-select: none;
}

.multi-select-actions {
    display: flex;
    gap: 8px;
    padding: 8px 12px;
    border-top: 1px solid var(--border-light);
    background: var(--bg-tertiary);
}

.multi-select-actions button {
    flex: 1;
    padding: 4px 8px;
    font-size: 11px;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-family: inherit;
}

.multi-select-actions .btn-select-all {
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
}

.multi-select-actions .btn-clear-all {
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
}

.multi-select-actions button:hover {
    background: var(--border-light);
}

/* === Planning Grid === */
.grid-wrapper {
    overflow: auto;
    max-height: calc(100vh - 280px);
    position: relative;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
}

.planning-grid {
    display: grid;
    font-size: 12px;
    width: max-content;
    min-width: 100%;
    /* First column is the name column (280px min), rest are week columns (70px each) */
    grid-template-columns: minmax(280px, 350px) repeat(var(--cols, 12), minmax(70px, 1fr));
}

.grid-header {
    display: contents;
}

.grid-header > div {
    padding: 10px 6px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--bg-tertiary);
    text-align: center;
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 10;
    min-width: 70px;
}

.grid-header > div:first-child {
    text-align: left;
    padding-left: 16px;
    position: sticky;
    left: 0;
    top: 0;
    z-index: 20;
    background: var(--bg-tertiary);
    min-width: 280px;
    max-width: 350px;
    box-shadow: 2px 0 4px rgba(0,0,0,0.05);
}

/* === Expandable rows === */
.grid-parent {
    display: contents;
}

.grid-parent.collapsed {
    /* Parent row stays visible */
}

.grid-parent > div {
    padding: 10px 6px;
    border-bottom: 1px solid var(--border-light);
    background: var(--bg-secondary);
}

.grid-parent > div:first-child {
    padding-left: 16px;
    font-weight: 500;
    cursor: pointer;
    position: sticky;
    left: 0;
    z-index: 5;
    background: var(--bg-secondary);
    min-width: 280px;
    max-width: 350px;
    box-shadow: 2px 0 4px rgba(0,0,0,0.05);
}

.grid-parent > div:first-child:hover {
    background: var(--bg-tertiary);
}

.grid-parent > div:first-child .name-cell-content {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

/* Hide children when parent is collapsed - using hidden class since display:contents breaks sibling selectors */

.expand-icon {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
    flex-shrink: 0;
}

.grid-parent.collapsed .expand-icon {
    transform: rotate(-90deg);
}

.grid-children {
    display: contents;
}

.grid-children.hidden {
    display: none;
}

.grid-child {
    display: contents;
}

.grid-child > div {
    padding: 8px 6px;
    border-bottom: 1px solid var(--border-light);
    background: var(--bg-primary);
}

.grid-child > div:first-child {
    padding-left: 44px;
    position: sticky;
    left: 0;
    z-index: 5;
    background: var(--bg-primary);
    min-width: 280px;
    max-width: 350px;
    box-shadow: 2px 0 4px rgba(0,0,0,0.05);
}

.grid-child > div:first-child .name-cell-content {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

/* === Name Block Layout === */
.name-block {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.name-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.name-primary {
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.name-secondary {
    font-size: 11px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 2px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.type-icon {
    flex-shrink: 0;
    width: 20px;
    text-align: center;
}

.hours-badge {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 400;
    white-space: nowrap;
}

/* === Hour cells === */
.hour-cell {
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    margin: 2px;
    cursor: pointer;
    transition: all 0.15s;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.hour-cell:hover {
    background: var(--bg-tertiary);
}

.hour-cell.empty {
    background: repeating-linear-gradient(45deg, transparent, transparent 4px, rgba(0,0,0,0.02) 4px, rgba(0,0,0,0.02) 8px);
}

/* === Draggable hour blocks === */
.hour-block {
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: grab;
    user-select: none;
    -webkit-user-drag: element;
    transition: all 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    position: relative;
    z-index: 1;
    position: relative;
    z-index: 1;
}

.hour-block:active {
    cursor: grabbing;
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

/* Note indicator (small dot) */
.hour-block.has-note::before {
    content: '';
    position: absolute;
    top: 2px;
    right: 2px;
    width: 6px;
    height: 6px;
    background: var(--accent-primary);
    border-radius: 50%;
    z-index: 2;
}

/* Note tooltip on hover */
.hour-block.has-note:hover::after {
    content: attr(data-note);
    position: absolute;
    bottom: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-primary);
    border: 1px solid var(--border);
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 400;
    color: var(--text-primary);
    white-space: pre-wrap;
    max-width: 200px;
    z-index: 100;
    box-shadow: var(--shadow-md);
    pointer-events: none;
}

/* Remote work indicator (blue dot) */
.remote-dot {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 8px;
    height: 8px;
    background: var(--info);
    border-radius: 50%;
    z-index: 2;
    pointer-events: none;
}

/* On-leave cell */
.hour-cell.on-leave {
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 3px,
        rgba(139,92,246,0.08) 3px,
        rgba(139,92,246,0.08) 6px
    );
    cursor: default;
    display: flex;
    align-items: center;
    justify-content: center;
}

.leave-indicator {
    font-size: 11px;
    opacity: 0.7;
}

/* Capacity cell needs relative for remote dot */
.cap-cell {
    position: relative;
}

.hour-block.amber, .hour-block.orange {
    background: var(--primary-bg);
    color: var(--accent-secondary);
    border: 1px solid var(--accent-primary);
}

.hour-block.blue {
    background: var(--info-bg);
    color: var(--info);
    border: 1px solid var(--info);
}

.hour-block.green {
    background: var(--success-bg);
    color: var(--success);
    border: 1px solid var(--success);
}

.hour-block.purple {
    background: var(--purple-bg);
    color: var(--purple);
    border: 1px solid var(--purple);
}

.hour-block.pink {
    background: #fce7f3;
    color: #db2777;
    border: 1px solid #db2777;
}

.hour-block.gray {
    background: var(--bg-tertiary);
    color: var(--text-muted);
    border: 1px solid var(--text-muted);
}

.hour-block.dragging {
    opacity: 0.5;
}

.hour-block.overplanned {
    outline: 2px solid var(--danger);
    outline-offset: -1px;
}

/* Departed user styling - grayed out and not editable */
.hour-cell.departed {
    background: var(--bg-tertiary);
    cursor: not-allowed;
    pointer-events: none;
}

.hour-block.departed {
    background: var(--bg-tertiary) !important;
    color: var(--text-muted) !important;
    border-color: var(--border-light) !important;
    opacity: 0.6;
    cursor: not-allowed;
}

.grid-parent.departed > div:first-child,
.grid-child.departed > div:first-child {
    opacity: 0.6;
}

.grid-parent.departed .name-primary::after,
.grid-child.departed .name-primary::after {
    content: ' (departed)';
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 400;
}

.cap-cell.departed {
    opacity: 0.5;
}

.hour-cell.drag-over {
    background: var(--accent-tertiary);
    outline: 2px dashed var(--accent-primary);
}

/* === Resize handles === */
.hour-block-container {
    position: relative;
    display: flex;
    align-items: center;
}

.resize-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 8px;
    cursor: ew-resize;
}

.resize-handle.left {
    left: -4px;
}

.resize-handle.right {
    right: -4px;
}

/* === Capacity colors === */
.cap-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    text-align: center;
}

.cap-available {
    color: var(--success);
}

.cap-full {
    color: var(--info);
}

.cap-negative {
    color: var(--danger);
}

/* Legacy class - keeping for backward compatibility */
.cap-positive {
    color: var(--success);
}

.cap-bar {
    height: 4px;
    background: var(--border-light);
    border-radius: 2px;
    margin-top: 4px;
    overflow: hidden;
}

.cap-bar-fill {
    height: 100%;
    border-radius: 2px;
}

.cap-bar-fill.green {
    background: var(--success);
}

.cap-bar-fill.blue {
    background: var(--info);
}

.cap-bar-fill.red {
    background: var(--danger);
}

/* === Status badges === */
.status-badge {
    display: inline-flex;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
}

.name-secondary .status-badge {
    padding: 2px 6px;
    font-size: 10px;
}

.status-badge.prospect {
    background: var(--purple-bg);
    color: var(--purple);
}

.status-badge.secured {
    background: var(--success-bg);
    color: var(--success);
}

.status-badge.active {
    background: var(--info-bg);
    color: var(--info);
}

.status-badge.completed {
    background: var(--bg-tertiary);
    color: var(--text-muted);
}

.status-badge.pending {
    background: var(--warning-bg);
    color: var(--warning);
}

.status-badge.approved {
    background: var(--success-bg);
    color: var(--success);
}

.status-badge.rejected {
    background: var(--danger-bg);
    color: var(--danger);
}

/* === Avatars === */
.avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    flex-shrink: 0;
}

.avatar.sm {
    width: 24px;
    height: 24px;
    font-size: 10px;
}

.avatar.c1 {
    background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
    color: #4f46e5;
}

.avatar.c2 {
    background: linear-gradient(135deg, #fce7f3, #fbcfe8);
    color: #db2777;
}

.avatar.c3 {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    color: #059669;
}

.avatar.c4 {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #d97706;
}

.avatar.c5 {
    background: linear-gradient(135deg, #e0f2fe, #bae6fd);
    color: #0284c7;
}

.color-dot {
    width: 10px;
    height: 10px;
    border-radius: 3px;
    flex-shrink: 0;
}

/* === Data tables === */
.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.data-table th {
    padding: 12px 14px;
    text-align: left;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    background: var(--bg-tertiary);
}

.data-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--border-light);
}

.data-table tr:hover td {
    background: var(--bg-tertiary);
}

/* === Modals === */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s;
    padding: 16px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.95);
    transition: all 0.2s;
}

.modal-overlay.active .modal {
    transform: scale(1);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid var(--border-light);
}

.modal-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 18px;
    font-weight: 700;
}

.modal-close {
    width: 32px;
    height: 32px;
    border: none;
    background: var(--bg-tertiary);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 18px;
}

.modal-close:hover {
    background: var(--border-light);
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.modal-footer-right {
    display: flex;
    gap: 8px;
}

/* === Admin === */
.admin-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-light);
    background: var(--bg-tertiary);
    overflow-x: auto;
}

.admin-tab {
    padding: 12px 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    position: relative;
    white-space: nowrap;
}

.admin-tab.active {
    color: var(--accent-secondary);
    background: var(--bg-secondary);
}

.admin-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-primary);
}

.admin-content {
    padding: 20px;
}

.admin-panel {
    display: none;
}

.admin-panel.active {
    display: block;
}

/* === Toast === */
.toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 2000;
}

.toast {
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 10px;
    border-left: 4px solid var(--success);
    animation: slideIn 0.3s ease;
    margin-top: 10px;
    font-size: 13px;
}

.toast.error {
    border-left-color: var(--danger);
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* === Project status sections === */
.status-section {
    margin-bottom: 24px;
}

.status-section-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-secondary);
    padding: 8px 0;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-section-title .count {
    background: var(--bg-tertiary);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
}

/* === Week input list === */
.week-inputs {
    max-height: 200px;
    overflow-y: auto;
    margin-bottom: 12px;
}

.week-input {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    margin-bottom: 6px;
}

.week-input label {
    flex: 1;
    font-size: 13px;
}

.week-input input {
    width: 70px;
    padding: 6px 8px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    text-align: center;
    font-size: 13px;
    font-family: inherit;
}

/* === Role visibility === */
.editor-only,
.admin-only {
    display: none !important;
}

.viewer-only {
    display: inline !important;
}

body.role-editor .editor-only,
body.role-admin .editor-only {
    display: inline-flex !important;
}

body.role-editor .viewer-only,
body.role-admin .viewer-only {
    display: none !important;
}

.project-name-link {
    cursor: pointer;
    transition: color 0.15s;
}

.project-name-link:hover {
    color: var(--accent-primary);
    text-decoration: underline;
}

/* Admin nav link */
body.role-admin .nav-section.admin-only {
    display: block !important;
}

/* Admin view - alleen tonen als ook active */
body.role-admin .view.admin-only {
    display: none !important;
}

body.role-admin .view.admin-only.active {
    display: block !important;
}

/* Editor+admin nav section (Management) — block-level, mirroring the admin
   rules above; the generic .editor-only inline-flex rule would break these */
body.role-editor .nav-section.editor-only,
body.role-admin .nav-section.editor-only {
    display: block !important;
}

body.role-editor .view.editor-only,
body.role-admin .view.editor-only {
    display: none !important;
}

body.role-editor .view.editor-only.active,
body.role-admin .view.editor-only.active {
    display: block !important;
}

/* === Dashboard === */
.dashboard-kpis {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.kpi-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
}

.kpi-card.warning {
    background: var(--danger-bg);
    border-color: var(--danger);
}

.kpi-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.kpi-value {
    font-family: 'DM Sans', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
}

.kpi-card.warning .kpi-value {
    color: var(--danger);
}

.kpi-sub {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 24px;
    margin-bottom: 24px;
}

.dashboard-grid .section {
    margin-bottom: 0;
}

.hours-change {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.hours-change .old {
    color: var(--text-muted);
    text-decoration: line-through;
}

.hours-change .arrow {
    color: var(--text-muted);
}

.hours-change .new {
    font-weight: 600;
}

.hours-change .new.increased {
    color: var(--success);
}

.hours-change .new.decreased {
    color: var(--danger);
}

.availability-bar {
    display: flex;
    align-items: center;
    gap: 8px;
}

.availability-bar .bar {
    flex: 1;
    height: 8px;
    background: var(--bg-tertiary);
    border-radius: 4px;
    overflow: hidden;
}

.availability-bar .bar-fill {
    height: 100%;
    background: var(--success);
    border-radius: 4px;
}

.availability-bar .bar-fill.warning {
    background: var(--warning);
}

.availability-bar .bar-fill.danger {
    background: var(--danger);
}

.availability-hours {
    font-size: 12px;
    color: var(--text-secondary);
    min-width: 50px;
    text-align: right;
}

.manager-project {
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    overflow: hidden;
}

.manager-project-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-light);
    cursor: pointer;
    transition: background 0.15s;
}

.manager-project-header:hover {
    background: var(--bg-secondary);
}

.manager-project-header .expand-icon {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
    flex-shrink: 0;
    color: var(--text-muted);
}

.manager-project.collapsed .expand-icon {
    transform: rotate(-90deg);
}

.manager-project.collapsed .manager-project-header {
    border-bottom: none;
}

.manager-project-header h4 {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
}

.manager-project-header .client {
    font-size: 12px;
    color: var(--text-muted);
}

.manager-project-header .project-summary {
    font-size: 12px;
    color: var(--text-muted);
    margin-left: auto;
}

.manager-project-content {
    transition: max-height 0.2s ease-out;
}

.manager-project.collapsed .manager-project-content {
    display: none;
}

.manager-project table {
    width: 100%;
}

/* === Navigation Badge === */
.nav-badge {
    background: var(--danger);
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
    margin-left: auto;
}

/* === Period Navigation === */
.period-nav {
    display: flex;
    gap: 4px;
    margin-right: 16px;
}

/* === Vacancy Styles === */
.vacancy-row {
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(0,0,0,0.03) 10px,
        rgba(0,0,0,0.03) 20px
    );
}

.vacancy-badge {
    background: var(--warning-bg);
    color: var(--warning);
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    margin-right: 8px;
}

.vacancy-cell {
    cursor: pointer;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 5px,
        rgba(0,0,0,0.02) 5px,
        rgba(0,0,0,0.02) 10px
    );
}

.vacancy-block {
    opacity: 0.7;
    border-style: dashed !important;
}

.vacancy-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.vacancy-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
}

/* === Radio/Checkbox Labels === */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 13px;
}

.radio-label input[type="radio"],
.radio-label input[type="checkbox"] {
    margin: 0;
    width: 16px;
    height: 16px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 13px;
}

/* === Scrollable Table Container === */
.scrollable-table-container {
    max-height: 180px; /* Approximately 4 rows */
    overflow-y: auto;
    overflow-x: auto;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
}

.scrollable-table-container table {
    margin: 0;
}

.scrollable-table-container thead {
    position: sticky;
    top: 0;
    background: var(--bg-secondary);
    z-index: 1;
}

.scrollable-table-container::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.scrollable-table-container::-webkit-scrollbar-track {
    background: var(--bg-tertiary);
    border-radius: 3px;
}

.scrollable-table-container::-webkit-scrollbar-thumb {
    background: var(--border-medium);
    border-radius: 3px;
}

/* === Request Detail Modal === */
.request-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

.detail-item {
    background: var(--bg-secondary);
    padding: 12px;
    border-radius: var(--radius-sm);
}

.detail-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.detail-value {
    font-weight: 500;
}

.detail-description {
    background: var(--bg-secondary);
    padding: 12px;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
}

.detail-description .detail-value {
    font-weight: 400;
    white-space: pre-wrap;
    margin-top: 4px;
}

/* === Request Row States === */
.request-row.approved {
    opacity: 0.7;
}

.request-row.rejected {
    opacity: 0.5;
}

/* === Requests Scroll Container === */
.requests-scroll-container {
    max-height: 700px; /* ~15 rijen */
    overflow-y: auto;
}

/* === Request Toolbar === */
.request-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    gap: 16px;
}

.toolbar-left, .toolbar-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* === Request Grid Editable Cells === */
.req-hour-input {
    width: 100%;
    padding: 4px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    text-align: center;
    font-size: 12px;
    background: var(--bg-primary);
}

.req-hour-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px var(--primary-bg);
}

.req-hour-input.changed {
    background: var(--warning-bg);
    border-color: var(--warning);
}

.req-hour-input.zeroed {
    background: var(--danger-bg);
    border-color: var(--danger);
}

.req-hour-input.added {
    background: var(--success-bg);
    border-color: var(--success);
}

.req-hour-input.removed {
    background: var(--danger-bg);
    border-color: var(--danger);
    text-decoration: line-through;
}

/* === Request Grid Row Actions === */
.req-row-actions {
    display: flex;
    gap: 4px;
    margin-left: auto;
    flex-shrink: 0;
}

.req-row-actions .btn {
    padding: 4px 8px;
    font-size: 12px;
    border-radius: 4px;
}

.req-row-actions .btn:hover {
    background: var(--danger-bg);
    color: var(--danger);
}

/* === Added/Removed Row Indicators === */
.grid-child.req-added {
    background: var(--success-bg) !important;
}

.grid-child.req-added > div {
    background: var(--success-bg) !important;
}

.grid-child.req-removed {
    background: var(--danger-bg) !important;
    opacity: 0.7;
}

.grid-child.req-removed > div {
    background: var(--danger-bg) !important;
}

/* === Responsive === */
.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    font-size: 20px;
    cursor: pointer;
    margin-right: 12px;
}

.menu-toggle:hover {
    background: var(--border-light);
}

@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s;
        position: fixed;
        z-index: 1000;
        height: 100vh;
    }
    
    .sidebar.open {
        transform: translateX(0);
    }
    
    .sidebar.open::after {
        content: '';
        position: fixed;
        top: 0;
        left: 240px;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.3);
        z-index: -1;
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .period-nav {
        display: none;
    }
}

/* === App Version === */
.app-version {
    text-align: center;
    font-size: 11px;
    color: var(--text-muted);
    padding: 8px 0;
    border-top: 1px solid var(--border-light);
    margin-top: 8px;
}

/* === Help Panel === */
.help-panel {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    max-width: 100vw;
    height: 100vh;
    background: var(--bg-secondary);
    box-shadow: var(--shadow-lg);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    transition: right 0.3s ease;
}

.help-panel.open {
    right: 0;
}

.help-panel-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.help-panel-overlay.open {
    opacity: 1;
    visibility: visible;
}

.help-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-light);
    background: var(--bg-tertiary);
}

.help-panel-header h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.help-panel-close {
    width: 32px;
    height: 32px;
    border: none;
    background: var(--bg-secondary);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 20px;
    transition: background 0.15s;
}

.help-panel-close:hover {
    background: var(--border-light);
}

.help-panel-search {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-light);
}

.help-panel-search input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-family: inherit;
    background: var(--bg-primary);
}

.help-panel-search input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(232, 92, 37, 0.1);
}

.help-panel-content {
    flex: 1;
    overflow-y: auto;
    padding: 12px 0;
}

.help-category {
    border-bottom: 1px solid var(--border-light);
}

.help-category:last-child {
    border-bottom: none;
}

.help-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
    transition: background 0.15s;
}

.help-category-header:hover {
    background: var(--bg-tertiary);
}

.help-category-header .icon {
    font-size: 12px;
    color: var(--text-muted);
    transition: transform 0.2s;
}

.help-category.open .help-category-header .icon {
    transform: rotate(90deg);
}

.help-category-content {
    display: none;
    padding: 0 20px 16px 20px;
}

.help-category.open .help-category-content {
    display: block;
}

.help-section {
    margin-bottom: 16px;
}

.help-section:last-child {
    margin-bottom: 0;
}

.help-section-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--border-light);
}

.help-section p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 8px;
}

.help-section p:last-child {
    margin-bottom: 0;
}

.help-section ul {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    padding-left: 20px;
}

.help-section li {
    margin-bottom: 4px;
}

.help-table {
    width: 100%;
    font-size: 12px;
    border-collapse: collapse;
    margin-top: 8px;
}

.help-table th,
.help-table td {
    padding: 6px 8px;
    text-align: left;
    border: 1px solid var(--border-light);
}

.help-table th {
    background: var(--bg-tertiary);
    font-weight: 600;
}

.help-highlight {
    background: var(--warning-bg);
    padding: 2px 4px;
    border-radius: 3px;
}

.help-no-results {
    padding: 40px 20px;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
}

@media (max-width: 480px) {
    .help-panel {
        width: 100vw;
        right: -100vw;
    }
}

/* === Week Calendar Picker === */
.week-picker-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 6px 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-family: inherit;
    background: var(--bg-secondary);
    cursor: pointer;
    color: var(--text-primary);
    transition: border-color 0.15s;
    min-height: 34px;
}
.week-picker-trigger:hover { border-color: var(--accent-primary); }
.week-picker-trigger .wp-label { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.week-picker-trigger .wp-icon { font-size: 14px; color: var(--text-muted); margin-left: 6px; flex-shrink: 0; }
.week-picker-trigger.placeholder .wp-label { color: var(--text-muted); }

.week-picker-dropdown {
    position: absolute;
    z-index: 9999;
    background: var(--bg-secondary);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 12px;
    width: 280px;
    user-select: none;
}

.wp-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}
.wp-header .wp-month-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: default;
}
.wp-header button {
    width: 28px; height: 28px;
    border: none;
    background: var(--bg-tertiary);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--text-secondary);
    transition: background 0.15s;
}
.wp-header button:hover { background: var(--border-light); }

.wp-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0;
    margin-bottom: 2px;
}
.wp-weekdays span {
    text-align: center;
    font-size: 10px;
    font-weight: 600;
    color: var(--text-muted);
    padding: 2px 0;
    text-transform: uppercase;
}

.wp-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0;
}
.wp-day {
    text-align: center;
    font-size: 12px;
    padding: 5px 2px;
    cursor: pointer;
    border-radius: 0;
    color: var(--text-primary);
    transition: background 0.1s;
    position: relative;
}
.wp-day:hover { background: var(--bg-accent); }
.wp-day.other-month { color: var(--text-muted); opacity: 0.5; }
.wp-day.today { font-weight: 700; color: var(--accent-primary); }
.wp-day.disabled { opacity: 0.3; cursor: default; pointer-events: none; }

/* Week highlight: entire row */
.wp-day.week-hover { background: var(--bg-accent); }
.wp-day.week-selected {
    background: var(--accent-primary);
    color: #fff;
    font-weight: 600;
}
.wp-day.week-selected.week-start { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.wp-day.week-selected.week-end { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }

.wp-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--border-light);
}
.wp-footer button {
    font-size: 12px;
    padding: 4px 10px;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    transition: background 0.15s;
}
.wp-footer button:hover { background: var(--border-light); }
.wp-footer .wp-today-btn { color: var(--accent-primary); font-weight: 600; }
.wp-footer .wp-clear-btn { color: var(--text-muted); }
