/* ===========================
   PAGE-SPECIFIC STYLES
   =========================== */

/* --- Dashboard --- */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-5);
    margin-bottom: var(--space-8);
}

@media (max-width: 1100px) {
    .dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

.quick-actions {
    display: flex;
    gap: var(--space-3);
    margin-bottom: var(--space-8);
    flex-wrap: wrap;
}

.quick-action-btn {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-5);
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    color: var(--text-secondary);
    font-size: var(--text-sm);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
    flex: 1;
    min-width: 160px;
}

.quick-action-btn:hover {
    border-color: var(--brand-primary);
    color: var(--text-primary);
    background: rgba(0, 82, 204, 0.06);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.quick-action-icon {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: var(--bg-surface);
    border: 1.2px solid var(--bg-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
}

.quick-action-icon svg {
    width: 18px;
    height: 18px;
    stroke-width: 2.2;
}

/* --- Leave Balance Donut --- */
.balance-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
}

@media (max-width: 900px) {
    .balance-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.balance-item {
    background: var(--bg-elevated);
    border-radius: var(--radius-md);
    padding: var(--space-4);
    text-align: center;
}

.balance-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto var(--space-3);
    background: conic-gradient(var(--brand-primary) calc(var(--pct) * 3.6deg), var(--bg-border) 0deg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 4px var(--bg-elevated);
    position: relative;
}

.balance-circle-inner {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--bg-elevated);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--text-primary);
}

.balance-label {
    font-size: var(--text-xs);
    color: var(--text-muted);
}

/* --- Calendar --- */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.cal-header {
    font-size: var(--text-xs);
    font-weight: 600;
    text-align: center;
    color: var(--text-muted);
    padding: var(--space-2);
    letter-spacing: 0.05em;
}

.cal-day {
    aspect-ratio: 1;
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xs);
    cursor: pointer;
    transition: background var(--transition-fast);
    position: relative;
}

.cal-day:hover {
    background: var(--bg-elevated);
}

.cal-day.today {
    background: rgba(0, 82, 204, 0.15);
    color: var(--brand-primary);
    font-weight: 700;
}

.cal-day.has-event::after {
    content: '';
    position: absolute;
    bottom: 3px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--brand-primary);
}

.cal-day.leave {
    background: rgba(0, 82, 204, 0.12);
    color: #36b37e;
}

.cal-day.overtime {
    background: rgba(245, 158, 11, 0.12);
    color: #f59e0b;
}

.cal-day.sick {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
}

.cal-day.holiday {
    background: rgba(6, 182, 212, 0.12);
    color: var(--brand-accent);
}

.cal-day.other-month {
    opacity: 0.3;
}

.cal-day.weekend {
    color: var(--text-muted);
}

.cal-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-4);
}

.cal-nav-btn {
    background: var(--bg-elevated);
    border: 1px solid var(--bg-border);
    color: var(--text-muted);
    border-radius: var(--radius-sm);
    padding: var(--space-2);
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cal-nav-btn:hover {
    color: var(--text-primary);
    border-color: var(--brand-primary);
}

.cal-month-title {
    font-size: var(--text-base);
    font-weight: 600;
}

/* --- Flextime Chart wrapper --- */
.chart-wrap {
    position: relative;
}

.chart-legend {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
    margin-top: var(--space-3);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-xs);
    color: var(--text-muted);
}

.legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

/* --- Request Form steps --- */
.request-type-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-3);
    margin-bottom: var(--space-6);
}

@media (max-width: 700px) {
    .request-type-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.request-type-card {
    border: 2px solid var(--bg-border);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    background: var(--bg-elevated);
}

.request-type-card:hover {
    border-color: var(--brand-primary);
    background: rgba(0, 82, 204, 0.06);
}

.request-type-card.selected {
    border-color: var(--brand-primary);
    background: rgba(0, 82, 204, 0.1);
    box-shadow: var(--shadow-glow);
}

.request-type-icon {
    font-size: 28px;
    margin-bottom: var(--space-2);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
}

.request-type-card.selected .request-type-icon {
    color: var(--brand-primary);
}

.request-type-label {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-secondary);
}

.request-type-card.selected .request-type-label {
    color: var(--brand-primary);
}

/* --- Approval detail --- */
.approval-meta {
    display: flex;
    gap: var(--space-3);
    flex-wrap: wrap;
    margin-bottom: var(--space-4);
}

.meta-chip {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    background: var(--bg-elevated);
    border-radius: var(--radius-md);
    padding: var(--space-2) var(--space-3);
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.meta-chip strong {
    color: var(--text-primary);
}

/* --- Worktime Monthly chart --- */
.month-bar-grid {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 120px;
    margin: var(--space-4) 0;
}

.month-bar-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    height: 100%;
    justify-content: flex-end;
}

.month-bar {
    width: 100%;
    border-radius: 4px 4px 0 0;
    background: var(--gradient-brand);
    min-height: 4px;
    transition: height 0.6s ease;
    position: relative;
}

.month-bar.over {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
}

.month-bar-label {
    font-size: 10px;
    color: var(--text-muted);
}

.month-bar-val {
    font-size: 10px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* --- Team view --- */
.team-row {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--bg-border);
}

.team-row:last-child {
    border-bottom: none;
}

.team-name {
    flex: 0 0 120px;
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-primary);
}

.team-bars {
    flex: 1;
    display: flex;
    gap: 3px;
}

.team-bar-day {
    flex: 1;
    border-radius: 3px;
    height: 24px;
    background: var(--bg-elevated);
    font-size: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    transition: background var(--transition-fast);
}

.team-bar-day.present {
    background: rgba(0, 82, 204, 0.2);
    color: #36b37e;
}

.team-bar-day.leave {
    background: rgba(0, 82, 204, 0.2);
    color: var(--brand-primary);
}

.team-bar-day.sick {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.team-bar-day.holiday {
    background: rgba(6, 182, 212, 0.2);
    color: var(--brand-accent);
}

.team-bar-day.overtime {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

.team-bar-day:hover {
    filter: brightness(1.3);
    color: inherit;
}

/* --- Team view v2 (calendar grid) --- */
.tv-scroll-wrapper {
    overflow-x: auto;
    padding-bottom: var(--space-2);
}

.tv-scroll-wrapper::-webkit-scrollbar {
    height: 8px;
}

.tv-scroll-wrapper::-webkit-scrollbar-track {
    background: var(--bg-elevated);
    border-radius: 4px;
}

.tv-scroll-wrapper::-webkit-scrollbar-thumb {
    background: var(--text-muted);
    border-radius: 4px;
}

.tv-scroll-wrapper::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}

.tv-grid {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.tv-header-row,
.tv-emp-row {
    display: flex;
    align-items: center;
    gap: 3px;
}

.tv-emp-row {
    padding: 4px 0;
    border-bottom: 1px solid var(--bg-border);
}

.tv-emp-row:last-child {
    border-bottom: none;
}

.tv-name-col {
    flex: 0 0 130px;
    display: flex;
    align-items: center;
    gap: var(--space-2);
    position: sticky;
    left: 0;
    z-index: 2;
    background: var(--bg-card);
    padding-right: var(--space-2);
}

.tv-emp-name {
    font-size: var(--text-xs);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tv-day-header {
    flex: 0 0 44px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4px 0;
    border-radius: 4px;
}

.tv-day-header.tv-weekend,
.tv-day-header.tv-holiday-col {
    background: rgba(255, 255, 255, 0.04);
}

[data-theme="light"] .tv-day-header.tv-weekend,
[data-theme="light"] .tv-day-header.tv-holiday-col {
    background: rgba(0, 0, 0, 0.05);
}

.tv-day-num {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1;
}

.tv-day-label {
    font-size: 9px;
    color: var(--text-muted);
    line-height: 1;
    margin-top: 2px;
}

.tv-weekend .tv-day-num {
    color: var(--text-muted);
}

.tv-cell {
    flex: 0 0 44px;
    height: 32px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 600;
    cursor: default;
    transition: filter 0.15s ease;
}

.tv-cell:hover {
    filter: brightness(1.2);
}

.tv-cell.tv-unfilled {
    background: var(--bg-elevated);
    color: transparent;
}

.tv-cell.tv-missing {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
    font-weight: 700;
}

.tv-cell.tv-work {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.tv-cell.tv-business-trip {
    background: rgba(0, 82, 204, 0.16);
    color: #0052cc;
}

.tv-cell.tv-overtime {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

.tv-cell.tv-leave {
    background: rgba(99, 102, 241, 0.16);
    color: var(--brand-primary);
    font-weight: 700;
}

.tv-cell.tv-leave-annual {
    background: rgba(34, 197, 94, 0.12);
    color: #22c55e;
    font-weight: 700;
}

.tv-cell.tv-leave-personal {
    background: rgba(245, 158, 11, 0.12);
    color: #f59e0b;
    font-weight: 700;
}

.tv-cell.tv-leave-sick {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
    font-weight: 700;
}

.tv-cell.tv-weekend-cell {
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.06);
}

.tv-cell.tv-holiday-cell {
    background: rgba(6, 182, 212, 0.18);
    color: var(--brand-accent);
    font-weight: 700;
}

[data-theme="light"] .tv-cell.tv-weekend-cell {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .tv-cell.tv-work {
    background: rgba(34, 197, 94, 0.12);
    color: #16a34a;
}

[data-theme="light"] .tv-cell.tv-business-trip {
    background: rgba(0, 82, 204, 0.12);
    color: #0042a6;
}

[data-theme="light"] .tv-cell.tv-overtime {
    background: rgba(245, 158, 11, 0.12);
    color: #d97706;
}

[data-theme="light"] .tv-cell.tv-leave {
    background: rgba(99, 102, 241, 0.11);
    color: var(--brand-primary);
}

[data-theme="light"] .tv-cell.tv-holiday-cell {
    background: rgba(6, 182, 212, 0.14);
    color: #0891b2;
}

[data-theme="light"] .tv-cell.tv-leave-annual {
    background: rgba(34, 197, 94, 0.08);
    color: #16a34a;
}

[data-theme="light"] .tv-cell.tv-leave-personal {
    background: rgba(245, 158, 11, 0.08);
    color: #d97706;
}

[data-theme="light"] .tv-cell.tv-leave-sick {
    background: rgba(239, 68, 68, 0.08);
    color: #dc2626;
}

.tv-legend-swatch {
    width: 12px;
    height: 12px;
    border-radius: 3px;
    display: inline-block;
}

.tv-legend-swatch.tv-work {
    background: rgba(34, 197, 94, 0.35);
}

.tv-legend-swatch.tv-business-trip {
    background: rgba(0, 82, 204, 0.35);
}

.tv-legend-swatch.tv-overtime {
    background: rgba(245, 158, 11, 0.35);
}

.tv-legend-swatch.tv-leave {
    background: rgba(99, 102, 241, 0.35);
    position: relative;
}

.tv-legend-swatch.tv-leave::after {
    content: 'L';
    color: var(--brand-primary);
    font-size: 8px;
    font-weight: 700;
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tv-legend-swatch.tv-holiday {
    background: rgba(6, 182, 212, 0.24);
    border: 1px solid rgba(6, 182, 212, 0.35);
}

.tv-legend-swatch.tv-leave-annual {
    background: rgba(34, 197, 94, 0.2);
    position: relative;
}
.tv-legend-swatch.tv-leave-annual::after { content: 'L'; color: #22c55e; font-size: 8px; font-weight: 700; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }

.tv-legend-swatch.tv-leave-personal {
    background: rgba(245, 158, 11, 0.2);
    position: relative;
}
.tv-legend-swatch.tv-leave-personal::after { content: 'L'; color: #f59e0b; font-size: 8px; font-weight: 700; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }

.tv-legend-swatch.tv-leave-sick {
    background: rgba(239, 68, 68, 0.2);
    position: relative;
}
.tv-legend-swatch.tv-leave-sick::after { content: 'L'; color: #ef4444; font-size: 8px; font-weight: 700; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }

.tv-legend-swatch.tv-unfilled {
    background: var(--bg-elevated);
    border: 1px solid var(--bg-border);
}

.tv-legend-swatch.tv-missing {
    background: rgba(239, 68, 68, 0.5);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* --- Settings page --- */
.settings-section {
    margin-bottom: var(--space-8);
}

.settings-section-header {
    margin-bottom: var(--space-5);
    padding-bottom: var(--space-3);
    border-bottom: 1px solid var(--bg-border);
}

.settings-section-title {
    font-size: var(--text-lg);
    font-weight: 600;
}

.settings-section-desc {
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-top: var(--space-1);
}

.settings-row {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: var(--space-8);
    padding: var(--space-4) 0;
    border-bottom: 1px solid var(--bg-border);
}

.settings-row:last-child {
    border-bottom: none;
}

.settings-row-label {
    flex: 0 0 180px;
}

.settings-row-label strong {
    font-size: var(--text-sm);
    color: var(--text-primary);
    display: block;
}

.settings-row-label span {
    font-size: var(--text-xs);
    color: var(--text-muted);
}

.settings-row-control {
    flex: 1;
    max-width: 320px;
}

/* --- Toggle Switch --- */
.toggle {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 22px;
}

.toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    inset: 0;
    cursor: pointer;
    background: var(--bg-border);
    border-radius: var(--radius-full);
    transition: background var(--transition-fast);
}

.toggle-slider::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    left: 3px;
    top: 3px;
    transition: transform var(--transition-fast);
}

.toggle input:checked+.toggle-slider {
    background: var(--brand-primary);
}

.toggle input:checked+.toggle-slider::before {
    transform: translateX(18px);
}

/* ===========================
   ATTENDANCE WORKFLOW PAGES
   =========================== */

.ts-business-trip-badge {
  font-size: var(--text-xs);
  font-weight: 600;
  color: #0052cc;
  white-space: nowrap;
}

/* --- Timesheet Entry (Phase 2A) --- */
.ts-break-alert {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    margin-bottom: var(--space-4);
    animation: fadeIn 0.3s ease;
}

.ts-break-alert.warn {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #f59e0b;
}

.ts-break-alert.ok {
    background: rgba(0, 82, 204, 0.1);
    border: 1px solid rgba(0, 82, 204, 0.3);
    color: #36b37e;
}

.ts-net-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4);
    background: var(--bg-elevated);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-4);
    font-size: var(--text-sm);
    font-weight: 500;
}

.ts-net-value {
    font-size: 1.3rem;
    font-weight: 800;
}

.ts-toggle-row {
    padding: var(--space-3) 0;
}

.ts-toggle {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    cursor: pointer;
    font-size: var(--text-sm);
}

.ts-toggle input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--brand-primary);
    cursor: pointer;
}

.ts-toggle-label {
    color: var(--text-secondary);
}

.ts-toggle-hint {
    font-size: var(--text-xs);
    margin-left: var(--space-2);
}

.ts-status {
    margin-top: var(--space-3);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: 500;
    text-align: center;
}

.ts-status.success {
    background: rgba(0, 82, 204, 0.1);
    border: 1px solid rgba(0, 82, 204, 0.3);
    color: #36b37e;
}

.ts-status.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

/* Executive — Weekly Attendance Confirmation */
.ts-exec-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-3);
    padding: var(--space-6) var(--space-4);
}

.ts-exec-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-2);
}

.ts-exec-icon-wait {
    background: rgba(99, 102, 241, 0.12);
    color: var(--brand-primary);
}

.ts-exec-icon-done {
    background: rgba(34, 197, 94, 0.14);
    color: var(--brand-success);
}

.ts-exec-message {
    font-size: var(--text-base);
    color: var(--text-primary);
    line-height: 1.55;
    max-width: 360px;
    margin: 0;
}

.ts-exec-message strong {
    color: var(--brand-primary);
    font-weight: 700;
}

.ts-exec-meta {
    font-size: var(--text-xs);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0;
}

.ts-exec-hint {
    font-size: var(--text-xs);
    color: var(--text-muted);
    margin: 0;
}

.ts-exec-actions {
    display: flex;
    justify-content: center;
    gap: var(--space-3);
    margin-top: var(--space-3);
}

/* Timesheet Calendar Mini */
.ts-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0;
    margin-bottom: var(--space-4);
    border-top: 1px solid var(--bg-border);
    border-left: 1px solid var(--bg-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.ts-cal-header {
    font-size: 10px;
    font-weight: 600;
    text-align: center;
    color: var(--text-muted);
    padding: var(--space-2);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-right: 1px solid var(--bg-border);
    border-bottom: 1px solid var(--bg-border);
}

.ts-cal-day {
    aspect-ratio: 1;
    border-radius: 0;
    border-right: 1px solid var(--bg-border);
    border-bottom: 1px solid var(--bg-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    transition: all 0.15s;
    position: relative;
}

.ts-cal-day.other {
    opacity: 0.42;
    color: var(--text-muted);
    background: rgba(127, 140, 160, 0.06);
}
.ts-cal-day.weekend { color: var(--text-muted); opacity: 0.5; }
.ts-cal-day.holiday { background: rgba(6, 182, 212, 0.12); color: var(--brand-accent); }
.ts-cal-day.today { background: rgba(0, 82, 204, 0.2); color: var(--brand-primary); font-weight: 700; box-shadow: inset 0 0 0 1.5px var(--brand-primary); }
.ts-cal-day.cal-work { background: rgba(34, 197, 94, 0.15); color: #22c55e; }
.ts-cal-day.cal-overtime { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }
.ts-cal-day.cal-leave { background: rgba(99, 102, 241, 0.12); color: var(--brand-primary); }
.ts-cal-day.missing { background: rgba(239, 68, 68, 0.12); color: #ef4444; }
.ts-cal-day[data-day-clickable="true"]:hover { filter: brightness(1.15); outline: 1.5px solid currentColor; }
.ts-cal-day.selected { outline: 2px solid var(--brand-primary) !important; outline-offset: -1px; }

.ts-cal-flag {
    font-size: 9px;
    font-weight: 800;
    color: #ef4444;
    margin-top: 1px;
}

.ts-cal-leave {
    font-size: 9px;
    font-weight: 800;
    color: var(--brand-primary);
    margin-top: 1px;
}

.ts-cal-hours {
    font-size: 8px;
    opacity: 0.7;
    margin-top: 1px;
}

.ts-cal-holiday-name {
    font-size: 8px;
    font-weight: 600;
    line-height: 1.1;
    margin-top: 2px;
    padding: 0 2px;
    text-align: center;
    color: var(--brand-accent);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
    max-width: 100%;
}

.ts-month-summary {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-3);
    text-align: center;
    padding-top: var(--space-4);
}

.ts-summary-val {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-primary);
    display: block;
}
.ts-summary-label {
    font-size: var(--text-xs);
    color: var(--text-muted);
}

/* --- Info Banner --- */
.ts-info-banner {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    margin-bottom: var(--space-4);
    line-height: 1.5;
}

.ts-info-banner.ok,
.ts-info-banner:not(.warn) {
    background: rgba(0, 82, 204, 0.08);
    border: 1px solid rgba(0, 82, 204, 0.2);
    color: var(--text-secondary);
}

.ts-info-banner.warn {
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

/* --- Sick Leave Cards (Phase 3) --- */
.sick-cards {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.sick-card {
    background: var(--bg-elevated);
    border-radius: var(--radius-md);
    padding: var(--space-4);
    border: 1px solid var(--bg-border);
}

.sick-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-3);
}

.sick-dates {
    font-weight: 600;
    font-size: var(--text-sm);
}

.sick-card-body {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    margin-bottom: var(--space-3);
}

.sick-detail {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-xs);
    color: var(--text-secondary);
}

.sick-card-flow, .correction-flow {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3);
    background: var(--bg-card);
    border-radius: var(--radius-sm);
}

.flow-step {
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--text-muted);
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-sm);
}

.flow-step.active {
    color: var(--brand-primary);
    background: rgba(0, 82, 204, 0.1);
    font-weight: 600;
}

.flow-arrow {
    color: var(--text-muted);
    font-size: var(--text-xs);
}

/* --- Compliance Dashboard (Phase 4) --- */
.comp-overall {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-5);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-6);
}

.comp-overall.pass {
    background: rgba(0, 82, 204, 0.08);
    border: 1px solid rgba(0, 82, 204, 0.25);
}

.comp-overall.fail {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.comp-overall-icon {
    font-size: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
}

.comp-overall.pass .comp-overall-icon { color: var(--brand-success); }
.comp-overall.fail .comp-overall-icon { color: var(--brand-warning); }

.comp-overall-title {
    font-size: var(--text-lg);
    font-weight: 700;
}

.comp-overall-desc {
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.comp-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.comp-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.comp-card.fail { border-left: 3px solid #ef4444; }
.comp-card.pass { border-left: 3px solid #36b37e; }

.comp-card-header {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4);
}

.comp-card-icon {
    font-size: 1.3rem;
    display: inline-flex;
    align-items: center;
    color: var(--text-secondary);
}
.comp-card.pass .comp-card-icon { color: var(--brand-success); }
.comp-card.fail .comp-card-icon { color: var(--brand-warning); }
.comp-card-title { font-weight: 600; font-size: var(--text-sm); }
.comp-card-desc { font-size: var(--text-xs); color: var(--text-muted); }

.comp-card-badge {
    margin-left: auto;
    font-size: var(--text-xs);
    font-weight: 600;
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
}

.comp-card-badge.pass { background: rgba(0, 82, 204, 0.12); color: #36b37e; }
.comp-card-badge.fail { background: rgba(239, 68, 68, 0.12); color: #ef4444; }
.comp-card-badge.empty { background: var(--bg-elevated); color: var(--text-muted); }

.comp-card-items {
    padding: 0 var(--space-4) var(--space-4);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.comp-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-xs);
    color: var(--text-secondary);
    padding: var(--space-1) 0;
}

.comp-item-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.comp-item-dot.pass { background: #36b37e; }
.comp-item-dot.fail { background: #ef4444; }

.comp-action-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4) var(--space-5);
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: var(--radius-md);
    margin-top: var(--space-5);
    font-size: var(--text-sm);
    color: #f59e0b;
}

/* --- Payroll Timeline (Phase 5) --- */
.payroll-timeline {
    display: flex;
    align-items: flex-start;
    gap: 0;
    padding: var(--space-6) var(--space-4);
    overflow-x: auto;
}

.payroll-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    min-width: 140px;
    text-align: center;
    position: relative;
}

.payroll-step-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-elevated);
    border: 2px solid var(--bg-border);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    transition: all 0.3s;
}

.payroll-step.active .payroll-step-dot {
    border-color: var(--brand-primary);
    background: rgba(0, 82, 204, 0.15);
    box-shadow: 0 0 12px rgba(0, 82, 204, 0.3);
    animation: pulse-ring 2s infinite;
}

.payroll-step.done .payroll-step-dot {
    border-color: #36b37e;
    background: rgba(0, 82, 204, 0.15);
}

/* Empty rules removed */

.payroll-step-line {
    flex: 1;
    height: 2px;
    background: var(--bg-border);
    margin-top: 18px;
    min-width: 40px;
}

.payroll-step-line.done {
    background: #36b37e;
}

.payroll-step-content {
    margin-top: var(--space-2);
}

.payroll-step-title {
    font-size: var(--text-sm);
    font-weight: 700;
}

.payroll-step-desc {
    font-size: var(--text-xs);
    color: var(--text-secondary);
}

.payroll-step-detail {
    font-size: 10px;
    color: var(--text-muted);
    margin-top: 2px;
}

.payroll-countdown {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    background: rgba(0, 82, 204, 0.08);
    border: 1px solid rgba(0, 82, 204, 0.2);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

@keyframes pulse-ring {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 82, 204, 0.3); }
    50% { box-shadow: 0 0 0 8px rgba(0, 82, 204, 0); }
}

/* --- Corrections (Phase 6) --- */
.correction-cards {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.correction-card {
    background: var(--bg-elevated);
    border-radius: var(--radius-md);
    padding: var(--space-4);
    border: 1px solid var(--bg-border);
}

.correction-card.approved { border-left: 3px solid #36b37e; }
.correction-card.rejected { border-left: 3px solid #ef4444; }
.correction-card.pending { border-left: 3px solid #f59e0b; }

.correction-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-3);
}

.correction-date {
    font-weight: 600;
    font-size: var(--text-sm);
}

.correction-desc {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin-bottom: var(--space-3);
    line-height: 1.5;
}

.correction-meta {
    display: flex;
    gap: var(--space-4);
    font-size: var(--text-xs);
    color: var(--text-muted);
    margin-bottom: var(--space-3);
}

.correction-comment {
    font-size: var(--text-xs);
    color: var(--text-secondary);
    font-style: italic;
    padding: var(--space-2) var(--space-3);
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-3);
}

/* --- Utility animation --- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===========================
   SIGNATURE CONFIRMATION
   =========================== */

.sig-confirm-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-5);
    margin-bottom: var(--space-6);
}

@media (max-width: 700px) {
    .sig-confirm-stats {
        grid-template-columns: 1fr;
    }
}

.sig-confirm-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.sig-confirm-card {
    cursor: default;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.sig-confirm-card:hover {
    border-color: rgba(0, 82, 204, 0.25);
}

/* ── Signing View Layout ── */
.sig-confirm-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-6);
    align-items: start;
}

@media (max-width: 1000px) {
    .sig-confirm-layout {
        grid-template-columns: 1fr;
    }
}

/* ── Document Preview ── */
.sig-document-card {
    padding: 0 !important;
    overflow: hidden;
}

.sig-document {
    background: var(--bg-card);
    padding: var(--space-8) var(--space-8) var(--space-6);
    position: relative;
    min-height: 500px;
}

.sig-doc-header-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-brand);
}

.sig-doc-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-30deg);
    font-size: 120px;
    font-weight: 900;
    color: var(--bg-border);
    opacity: 0.15;
    pointer-events: none;
    letter-spacing: 20px;
    user-select: none;
}

.sig-doc-stamp {
    position: absolute;
    top: 28px;
    right: 28px;
    padding: 8px 18px;
    border: 3px solid var(--brand-success);
    border-radius: var(--radius-sm);
    color: var(--brand-success);
    font-weight: 700;
    font-size: var(--text-sm);
    letter-spacing: 3px;
    transform: rotate(12deg);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.sig-doc-stamp.visible {
    opacity: 0.85;
    animation: sigStampIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes sigStampIn {
    from { transform: rotate(12deg) scale(2); opacity: 0; }
    to { transform: rotate(12deg) scale(1); opacity: 0.85; }
}

.sig-doc-body {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.8;
}

.sig-doc-body p {
    margin-bottom: var(--space-3);
}

.sig-doc-details {
    background: var(--bg-elevated);
    border-radius: var(--radius-md);
    padding: var(--space-4);
    margin: var(--space-4) 0;
}

.sig-doc-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: var(--space-2) 0;
    border-bottom: 1px solid var(--bg-border);
}

.sig-doc-detail-row:last-child {
    border-bottom: none;
}

.sig-doc-detail-label {
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
    margin-right: var(--space-4);
}

.sig-doc-detail-value {
    font-weight: 500;
    color: var(--text-primary);
    text-align: right;
}

.sig-doc-signatures {
    margin-top: var(--space-8);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
}

@media (max-width: 600px) {
    .sig-doc-signatures {
        grid-template-columns: 1fr;
        gap: var(--space-5);
    }
}

.sig-doc-sig-label {
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: var(--space-2);
}

.sig-doc-sig-line {
    border-bottom: 2px solid var(--bg-border);
    min-height: 56px;
    display: flex;
    align-items: flex-end;
    padding-bottom: var(--space-1);
}

.sig-doc-sig-line img {
    max-height: 48px;
    max-width: 100%;
    object-fit: contain;
}

.sig-doc-sig-placeholder {
    color: var(--text-muted);
    font-size: var(--text-sm);
    font-style: italic;
}

.sig-doc-sig-date {
    font-size: var(--text-xs);
    color: var(--text-muted);
    margin-top: var(--space-2);
}

/* ── Signature Pad ── */
.sig-pad-section {
    position: sticky;
    top: calc(var(--header-height) + var(--space-4));
}

.sig-tabs {
    display: flex;
    gap: 2px;
    background: var(--bg-elevated);
    border-radius: var(--radius-md);
    padding: 3px;
    margin-bottom: var(--space-5);
}

.sig-tab {
    flex: 1;
    padding: var(--space-2) var(--space-3);
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-family: inherit;
    font-size: var(--text-sm);
    font-weight: 500;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.sig-tab:hover {
    color: var(--text-secondary);
}

.sig-tab.active {
    background: var(--bg-card);
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
}

.sig-panel {
    display: none;
}

.sig-panel.active {
    display: block;
}

/* Canvas */
.sig-canvas-wrapper {
    position: relative;
    border: 2px dashed var(--bg-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #ffffff;
    transition: border-color var(--transition-fast);
}

.sig-canvas-wrapper.drawing {
    border-color: var(--brand-primary);
}

#sig-canvas {
    display: block;
    width: 100%;
    height: 160px;
    cursor: crosshair;
    touch-action: none;
}

.sig-canvas-hint {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #b0b0c0;
    font-size: var(--text-sm);
    pointer-events: none;
    transition: opacity 0.25s;
}

.sig-canvas-hint.hidden {
    opacity: 0;
}

.sig-pen-options {
    display: flex;
    gap: var(--space-4);
    align-items: center;
    margin-top: var(--space-3);
    flex-wrap: wrap;
}

.sig-pen-group {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.sig-color-swatch {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-block;
}

.sig-color-swatch:hover,
.sig-color-swatch.active {
    border-color: var(--brand-primary);
    transform: scale(1.15);
}

.sig-pen-size {
    -webkit-appearance: none;
    appearance: none;
    height: 4px;
    background: var(--bg-border);
    border-radius: 4px;
    outline: none;
    width: 70px;
}

.sig-pen-size::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    background: var(--brand-primary);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 4px rgba(0, 82, 204, 0.3);
}

/* Font options */
.sig-font-options {
    display: flex;
    gap: var(--space-2);
    flex-wrap: wrap;
    margin: var(--space-3) 0;
}

.sig-font-btn {
    padding: var(--space-2) var(--space-4);
    border: 1px solid var(--bg-border);
    background: var(--bg-elevated);
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 18px;
    transition: all 0.2s;
    min-width: 100px;
    text-align: center;
}

.sig-font-btn:hover {
    border-color: var(--brand-primary);
    color: var(--text-primary);
}

.sig-font-btn.active {
    border-color: var(--brand-primary);
    background: rgba(0, 82, 204, 0.08);
    color: var(--text-primary);
    box-shadow: 0 0 8px rgba(0, 82, 204, 0.1);
}

/* Type preview */
.sig-type-preview {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: var(--space-5);
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--bg-border);
}

.sig-type-preview-text {
    color: #1a1a2e;
    font-size: 32px;
    word-break: break-word;
    text-align: center;
}

/* Upload preview */
.sig-upload-preview {
    display: none;
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: var(--space-4);
    text-align: center;
    margin-top: var(--space-3);
}

.sig-upload-preview img {
    max-width: 100%;
    max-height: 120px;
    object-fit: contain;
}

/* ===========================
   INLINE SIGNATURE PAD
   =========================== */

.inline-sig-pad {
    border: 1px solid var(--bg-border);
    border-radius: var(--radius-md);
    padding: var(--space-4);
    background: var(--bg-elevated);
}

.inline-sig-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-3);
}

.inline-sig-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-primary);
}

.inline-sig-required {
    font-size: var(--text-xs);
    color: var(--brand-danger);
    font-weight: 500;
}

.inline-sig-tabs {
    display: flex;
    gap: 2px;
    background: var(--bg-surface);
    border-radius: var(--radius-sm);
    padding: 2px;
    margin-bottom: var(--space-3);
}

.inline-sig-tab {
    flex: 1;
    padding: var(--space-1) var(--space-3);
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-family: inherit;
    font-size: var(--text-xs);
    font-weight: 500;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
    text-align: center;
}

.inline-sig-tab:hover { color: var(--text-secondary); }

.inline-sig-tab.active {
    background: var(--bg-card);
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
}

.inline-sig-canvas-wrap {
    position: relative;
    border: 2px dashed var(--bg-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: #ffffff;
    transition: border-color var(--transition-fast);
}

.inline-sig-canvas-wrap.drawing {
    border-color: var(--brand-primary);
}

.inline-sig-canvas-wrap canvas {
    display: block;
    width: 100%;
    height: 120px;
    cursor: crosshair;
    touch-action: none;
}

.inline-sig-hint {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #b0b0c0;
    font-size: var(--text-sm);
    pointer-events: none;
    transition: opacity 0.25s;
}

.inline-sig-hint.hidden { opacity: 0; }

.inline-sig-actions {
    display: flex;
    gap: var(--space-2);
    margin-top: var(--space-2);
}

.inline-sig-type-preview {
    background: #ffffff;
    border-radius: var(--radius-sm);
    padding: var(--space-4);
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--bg-border);
    margin-top: var(--space-3);
}

/* ===========================
   TEAM VIEW SIGNATURE WIDGET
   =========================== */

.tv-sig-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.2s ease;
}

.tv-sig-widget {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    min-width: 340px;
    max-width: 460px;
    width: 90vw;
    animation: sigWidgetIn 0.25s ease;
}

@keyframes sigWidgetIn {
    from { transform: scale(0.95) translateY(10px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
}

.tv-sig-widget-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4) var(--space-5);
    border-bottom: 1px solid var(--bg-border);
}

.tv-sig-widget-body {
    padding: var(--space-5);
}

.tv-sig-meta {
    margin-bottom: var(--space-4);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.tv-sig-meta-row {
    display: flex;
    justify-content: space-between;
    font-size: var(--text-sm);
}

.tv-sig-meta-label {
    color: var(--text-muted);
    font-weight: 500;
}

.tv-sig-meta-value {
    color: var(--text-primary);
    font-weight: 600;
}

.tv-sig-display {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: var(--space-4);
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--bg-border);
}

.tv-sig-display img {
    max-height: 80px;
    max-width: 100%;
    object-fit: contain;
}

/* Monthly timesheet detail report */
.mr-detail-table {
    font-size: var(--text-xs);
}

.mr-detail-table th,
.mr-detail-table td {
    white-space: nowrap;
}

.mr-detail-table td:nth-child(2) {
    white-space: normal;
    min-width: 120px;
}

.mr-row-week-sum td {
    background: var(--bg-muted, #f1f5f9);
    font-weight: 600;
}

.mr-row-month-total td {
    background: var(--bg-subtle, #e2e8f0);
    font-weight: 700;
}

.mr-zeitkonto-section {
    margin-top: var(--space-6);
    padding-top: var(--space-5);
    border-top: 1px solid var(--border-color, #e5e7eb);
}

.mr-zeitkonto-title,
.mr-zeitkonto-subtitle {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 var(--space-3);
}

.mr-zeitkonto-subtitle {
    margin-top: var(--space-5);
}

.mr-zeitkonto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
}

@media (max-width: 768px) {
    .mr-zeitkonto-grid {
        grid-template-columns: 1fr;
    }
}

.mr-zeitkonto-table td:first-child {
    color: var(--text-secondary);
}

.mr-zeitkonto-val {
    text-align: right;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}