/* Custom Properties */
:root {
    --bt-sidebar-bg: #1a1a2e;
    --bt-sidebar-text: #d7d7d7;
    --bt-sidebar-border: rgba(255, 255, 255, 0.1);
    --bt-sidebar-hover: rgba(255, 255, 255, 0.08);
    --bt-sidebar-active: rgba(255, 255, 255, 0.15);
    --bt-sidebar-muted: #888;
    --bt-danger-light: #ff6b6b;
    --bt-code-bg: rgba(0, 0, 0, 0.06);
    --bt-table-header-bg: rgba(0, 0, 0, 0.05);
    --bt-card-hover-shadow: rgba(0, 0, 0, 0.15);
}

.rz-material-dark {
    --bt-sidebar-muted: #aaa;
    --bt-code-bg: rgba(255, 255, 255, 0.1);
    --bt-table-header-bg: rgba(255, 255, 255, 0.05);
    --bt-card-hover-shadow: rgba(255, 255, 255, 0.1);
}

/* Accessibility Utilities */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link:focus {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
    width: auto;
    height: auto;
    padding: 0.75rem 1.5rem;
    margin: 0;
    overflow: visible;
    clip: auto;
    background: var(--rz-primary);
    color: white;
    font-size: 1rem;
    text-decoration: none;
}

/* Biotrackr Summary Cards */
.summary-card {
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.summary-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--bt-card-hover-shadow);
}

/* Sleep Stage Bars */
.stage-bar {
    width: 60px;
    margin: 0 auto;
    border-radius: 6px 6px 0 0;
    min-height: 20px;
    transition: height 0.3s ease;
}

.stage-deep {
    background: linear-gradient(180deg, #1a237e, #3949ab);
}

.stage-light {
    background: linear-gradient(180deg, #42a5f5, #90caf9);
}

.stage-rem {
    background: linear-gradient(180deg, #7b1fa2, #ba68c8);
}

.stage-wake {
    background: linear-gradient(180deg, #ef5350, #ef9a9a);
}

/* Responsive Chart Heights */
.bt-chart {
    height: 300px;
}

@media (max-width: 768px) {
    .bt-chart {
        height: 200px;
    }
}


.rz-material-dark .markdown-body th {
    background-color: rgba(255, 255, 255, 0.05);
}

.rz-material-dark .markdown-body code {
    background-color: rgba(255, 255, 255, 0.1);
}

.rz-material-dark .markdown-body pre {
    background-color: rgba(255, 255, 255, 0.08);
}

.rz-material-dark .markdown-body blockquote {
    border-left-color: #555;
    color: #999;
}

.rz-material-dark .markdown-body hr {
    border-top-color: #444;
}

.rz-material-dark .chat-sidebar-item-date {
    color: #aaa;
}

.rz-material-dark .summary-card:hover {
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}
/* trigger rebuild */
