/* ================================================
   VIEWS - Linear/Raycast Premium Style
   ProductiveApp v4.0
   ================================================ */

/* === GOOGLE FONT === */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;450;500;600;700&display=swap');

/* === ADDITIONAL VIEW VARIABLES (non-conflicting with themes) === */
:root {
    --bg-elevated: var(--bg-tertiary);
    --border-secondary: var(--border);
    --text-quaternary: var(--text-muted);
    --accent-hover: var(--accent-light);
    --accent-subtle: var(--bg-card);
    --error: var(--danger);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.25);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.35);
    --transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* === BASE === */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* === MAIN CONTENT === */
.main-content {
    /* margin-left handled by style-base.css + style-sidebar.css */
    min-height: 100vh;
    background: transparent; /* Let body gradient show through */
}

@media (max-width: 768px) {
    .main-content {
        margin-left: 0 !important;
    }
}

/* === VIEW CONTAINER === */
.view-container {
    display: none;
    padding: 20px 40px 32px 40px; /* Added padding-top 20px */
    max-width: 1200px;
    margin: 0 auto; /* BUGFIX 2026-02-12: Removed negative margin-top that was cutting off content */
    animation: viewFadeIn 300ms ease-out;
}

.view-container.active {
    display: block;
}

#view-tasks .app-container {
    margin-left: 0 !important;
}

/* === GALAXY VIEW (Excalidraw iframe) === */
#view-galaxy {
    padding: 0;
    max-width: none;
    height: calc(100vh - 60px);
    margin: 0;
}

#view-galaxy.active {
    display: flex;
}

#galaxy-iframe {
    flex: 1;
    width: 100%;
    height: 100%;
    border: none;
    background: var(--bg-primary);
}

/* === PSYCHO-AUDIT VIEW === */
#view-psycho-audit {
    min-height: calc(100vh - 100px);
    position: relative;
    z-index: 1;
}

@keyframes viewFadeIn {
    from {
        opacity: 0;
        transform: translateY(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === VIEW HEADER === */
.view-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.view-title {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.4px;
}

.view-title-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-subtle);
    border-radius: var(--radius-md);
    color: var(--accent);
}

.view-title-icon svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 1.75;
    fill: none;
}

.view-actions {
    display: flex;
    gap: 8px;
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 14px;
    font-size: 13px;
    font-weight: 500;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.btn-primary {
    background: var(--accent);
    color: white;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    border: 1px solid var(--border-primary);
}

.btn-secondary:hover {
    background: var(--bg-elevated);
    color: var(--text-primary);
    border-color: var(--border-secondary);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
}

.btn-ghost:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.btn-icon {
    width: 36px;
    height: 36px;
    padding: 0;
}

/* ================================================
   DASHBOARD
   ================================================ */

/* Stats Grid */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

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

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

.stat-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all var(--transition);
    cursor: pointer;
}

.stat-card:hover {
    background: var(--bg-tertiary);
    border-color: var(--border-secondary);
    transform: translateY(-2px);
}

.stat-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.stat-icon.notes {
    background: rgba(59, 130, 246, 0.12);
    color: #60a5fa;
}

.stat-icon.projects {
    background: rgba(139, 92, 246, 0.12);
    color: #a78bfa;
}

.stat-icon.tasks {
    background: rgba(34, 197, 94, 0.12);
    color: #4ade80;
}

.stat-icon.urgent {
    background: rgba(239, 68, 68, 0.12);
    color: #f87171;
}

.stat-content h3 {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: -0.5px;
    line-height: 1;
}

.stat-content p {
    font-size: 13px;
    color: var(--text-tertiary);
    margin: 6px 0 0;
}

/* Dashboard Sections */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

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

.dashboard-section {
    background: var(--bg-secondary);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.dashboard-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-primary);
}

.dashboard-section-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.dashboard-section-content {
    padding: 12px;
}

/* Quick Actions */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 12px;
}

.quick-action {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--bg-tertiary);
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition);
}

.quick-action:hover {
    background: var(--bg-elevated);
    border-color: var(--border-secondary);
    transform: translateY(-1px);
}

.quick-action-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    background: var(--accent-subtle);
    color: var(--accent);
}

.quick-action span {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
}

/* Activity List */
.activity-list {
    max-height: 320px;
    overflow-y: auto;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: var(--radius-md);
    transition: background var(--transition);
}

.activity-item:hover {
    background: var(--bg-tertiary);
}

.activity-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    background: var(--bg-tertiary);
    color: var(--text-tertiary);
    flex-shrink: 0;
}

.activity-content {
    flex: 1;
    min-width: 0;
}

.activity-content strong {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.activity-content p {
    font-size: 12px;
    color: var(--text-tertiary);
    margin: 2px 0 0;
}

.activity-time {
    font-size: 11px;
    color: var(--text-quaternary);
    flex-shrink: 0;
}

/* Progress Bar */
.progress-section {
    padding: 20px;
}

.progress-bar-container {
    height: 6px;
    background: var(--bg-tertiary);
    border-radius: 3px;
    overflow: hidden;
    display: flex;
}

.progress-bar-container > div {
    height: 100%;
    transition: width 500ms ease-out;
}

.progress-legend {
    display: flex;
    gap: 20px;
    margin-top: 14px;
}

.progress-legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-tertiary);
}

.progress-legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 2px;
}

/* ================================================
   PROJECTS VIEW
   ================================================ */

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.project-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    padding: 20px;
    cursor: pointer;
    transition: all var(--transition);
    position: relative;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--project-color, var(--accent));
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    opacity: 0;
    transition: opacity var(--transition);
}

.project-card:hover {
    background: var(--bg-tertiary);
    border-color: var(--border-secondary);
    transform: translateY(-2px);
}

.project-card:hover::before {
    opacity: 1;
}

.project-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.project-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    background: var(--bg-tertiary);
}

.project-title h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.project-title p {
    font-size: 12px;
    color: var(--text-tertiary);
    margin: 3px 0 0;
}

.project-stats {
    display: flex;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-primary);
}

.project-stat {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-tertiary);
}

.project-stat svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

/* New Project Card */
.project-card.new {
    border-style: dashed;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 140px;
    color: var(--text-tertiary);
    background: transparent;
}

.project-card.new::before {
    display: none;
}

.project-card.new:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-subtle);
}

.project-card.new svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 1.5;
    fill: none;
    margin-bottom: 8px;
}

.project-card.new span {
    font-size: 13px;
    font-weight: 500;
}

/* ================================================
   NOTES VIEW
   ================================================ */

.notes-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 20px;
    height: calc(100vh - 140px);
}

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

/* Notes Sidebar */
.notes-sidebar {
    background: var(--bg-secondary);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.notes-sidebar-header {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.notes-sidebar-header h3 {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

.notes-list {
    flex: 1;
    overflow-y: auto;
    padding: 8px;
}

.note-item {
    padding: 12px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition);
    margin-bottom: 4px;
}

.note-item:hover {
    background: var(--bg-tertiary);
}

.note-item.active {
    background: var(--accent-subtle);
}

.note-item-title {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.note-item-preview {
    font-size: 12px;
    color: var(--text-tertiary);
    margin: 4px 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.note-item-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    font-size: 11px;
    color: var(--text-quaternary);
}

.note-tag {
    padding: 2px 6px;
    background: var(--bg-tertiary);
    border-radius: 4px;
}

/* Notes Editor */
.notes-editor {
    background: var(--bg-secondary);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.notes-editor-header {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-primary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.note-title-input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.3px;
}

.note-title-input::placeholder {
    color: var(--text-quaternary);
}

.notes-editor-toolbar {
    padding: 10px 20px;
    border-bottom: 1px solid var(--border-primary);
    display: flex;
    gap: 2px;
}

.toolbar-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    border-radius: var(--radius-sm);
    color: var(--text-tertiary);
    cursor: pointer;
    transition: all var(--transition);
}

.toolbar-btn:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.toolbar-btn.active {
    background: var(--accent-subtle);
    color: var(--accent);
}

.toolbar-btn svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.toolbar-divider {
    width: 1px;
    height: 20px;
    background: var(--border-primary);
    margin: 6px 8px;
}

.notes-editor-content {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.note-textarea {
    width: 100%;
    height: 100%;
    min-height: 300px;
    background: none;
    border: none;
    outline: none;
    resize: none;
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-primary);
    font-family: inherit;
}

.note-textarea::placeholder {
    color: var(--text-quaternary);
}

.notes-editor-footer {
    padding: 12px 20px;
    border-top: 1px solid var(--border-primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-quaternary);
}

.save-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
}

.save-indicator.saving { color: var(--accent); }
.save-indicator.saved { color: var(--success); }

/* Empty State */
.notes-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 40px;
    text-align: center;
}

.notes-empty svg {
    width: 48px;
    height: 48px;
    stroke: var(--text-quaternary);
    stroke-width: 1;
    fill: none;
    margin-bottom: 16px;
}

.notes-empty h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 6px;
}

.notes-empty p {
    font-size: 13px;
    color: var(--text-tertiary);
    margin: 0 0 20px;
}

/* ================================================
   MODALS
   ================================================ */

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 500;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay .modal-card {
    width: 100%;
    max-width: 440px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-xl);
    transform: translateY(-8px) scale(0.98);
    transition: transform var(--transition);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.modal-overlay.active .modal-card {
    transform: translateY(0) scale(1);
}

.modal-header {
    padding: 18px 20px;
    border-bottom: 1px solid var(--border-primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header h2 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.modal-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    border-radius: var(--radius-sm);
    color: var(--text-tertiary);
    cursor: pointer;
    transition: all var(--transition);
}

.modal-close:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.modal-close svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--border-primary);
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

/* Form Elements */
.form-group {
    margin-bottom: 16px;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 10px 14px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 14px;
    transition: all var(--transition);
    outline: none;
}

.form-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-subtle);
}

.form-input::placeholder {
    color: var(--text-quaternary);
}

/* Color Picker */
.color-picker {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.color-option {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition);
}

.color-option:hover {
    transform: scale(1.1);
}

.color-option.selected {
    border-color: white;
    box-shadow: 0 0 0 2px var(--accent);
}

/* Icon Picker */
.icon-picker {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 6px;
}

.icon-option {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    background: var(--bg-tertiary);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition);
}

.icon-option:hover {
    background: var(--bg-elevated);
}

.icon-option.selected {
    border-color: var(--accent);
    background: var(--accent-subtle);
}

/* ================================================
   RESPONSIVE
   ================================================ */

@media (max-width: 768px) {
    .view-container {
        padding: 20px 16px;
    }

    .view-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .notes-sidebar {
        display: none;
    }
}

/* ================================================
   THEME SUPPORT
   ================================================ */

[data-theme="minimal"],
[data-theme="academie"] {
    --bg-primary: #fafafa;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f4f4f5;
    --bg-elevated: #e4e4e7;
    --border-primary: rgba(0, 0, 0, 0.06);
    --border-secondary: rgba(0, 0, 0, 0.1);
    --text-primary: #18181b;
    --text-secondary: #52525b;
    --text-tertiary: #71717a;
    --text-quaternary: #a1a1aa;
}

/* ================================================
   THEME ENHANCEMENT - Full App Theming v1.0
   Makes accent color prominent throughout main content
   ================================================ */

/* --- Body: subtle accent-tinted radial glow --- */
body.logged-in::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 20% 0%, var(--accent-glow) 0%, transparent 55%),
                radial-gradient(ellipse at 85% 100%, var(--accent-glow) 0%, transparent 55%);
    opacity: 0.18;
    pointer-events: none;
    z-index: 0;
    transition: opacity 0.5s ease;
}

/* --- View Title: accent underline bar --- */
.view-title {
    position: relative;
    padding-bottom: 12px;
}

.view-title::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 36px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
    opacity: 0.7;
}

/* --- Stat Cards: accent top bar --- */
.stat-card {
    border-top: 2px solid var(--accent);
}

.stat-card:hover {
    box-shadow: 0 8px 24px -4px var(--accent-glow);
    border-top-color: var(--accent-light);
}

/* --- Dashboard Sections: accent left border --- */
.dashboard-section {
    border-left: 3px solid var(--accent);
}

/* --- Quick Actions: accent hover glow --- */
.quick-action:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 16px -2px var(--accent-glow);
}

.quick-action-icon {
    border: 1px solid var(--border);
}

/* --- Project Cards: accent top bar visible --- */
.project-card::before {
    opacity: 0.5;
}

.project-card:hover::before {
    opacity: 1;
}

.project-card:hover {
    box-shadow: 0 8px 24px -4px var(--accent-glow);
}

/* --- Note sidebar: accent on active --- */
.note-item.active {
    border-left: 3px solid var(--accent);
}

.note-item:hover {
    border-left: 3px solid var(--border);
}

/* --- Activity icons: accent-tinted border --- */
.activity-icon {
    border: 1px solid var(--border);
}

/* --- Progress bars: accent fill --- */
.progress-bar-container > div:first-child {
    background: var(--accent);
}

/* --- Form focus: accent ring --- */
.form-input:focus,
.view-container input:focus,
.view-container textarea:focus,
.view-container select:focus {
    border-color: var(--accent) !important;
    box-shadow: 0 0 0 3px var(--accent-glow) !important;
}

/* --- Tabs: accent active indicator --- */
.tab-btn.active,
.nav-tab.active,
.section-tab.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
    background: var(--bg-card);
}

/* --- Scrollbar: accent-tinted thumb --- */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-strong);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* --- Modal: accent header bar --- */
.modal-overlay .modal-card {
    border-top: 3px solid var(--accent);
}

/* --- Text selection: accent color --- */
::selection {
    background: var(--accent);
    color: white;
}

/* --- Section dividers use theme border --- */
.dashboard-section-header {
    border-bottom-color: var(--border);
}

/* --- Empty states: accent icon tint --- */
.notes-empty svg {
    stroke: var(--accent);
    opacity: 0.4;
}
