* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.site-header {
    background-color: #4285f4;
    border-bottom: 1px solid #3367d6;
    min-height: 56px;
}

.site-header .wrapper {
    display: flex;
    align-items: center;
    min-height: 56px;
    max-width: 100%;
    padding: 0 1.5rem;
}

.site-title {
    font-size: 1.35rem;
    font-weight: 600;
    color: white;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.site-title:hover {
    text-decoration: none;
    color: white;
}

/* Layout: sidebar + content */
.site-content-wrapper {
    display: flex;
    min-height: calc(100vh - 57px);
}

/* Sidebar */
.site-sidebar {
    width: 260px;
    min-width: 260px;
    background: #f8f9fa;
    border-right: 1px solid #e1e4e8;
    padding: 0.75rem 0;
    overflow-y: auto;
    position: sticky;
    top: 0;
    height: calc(100vh - 57px);
    font-size: 0.875rem;
}

.site-sidebar .sidebar-toggle {
    display: none;
}

.site-sidebar + main {
    flex: 1;
    min-width: 0;
}

.nav-section {
    margin-bottom: 0.25rem;
}

.nav-section summary {
    cursor: pointer;
    padding: 0.5rem 1rem;
    font-weight: 600;
    color: #24292e;
    list-style: none;
    user-select: none;
    border-left: 3px solid transparent;
    transition: background 0.15s;
}

.nav-section summary::-webkit-details-marker {
    display: none;
}

.nav-section summary::before {
    content: "\25B6";
    display: inline-block;
    width: 1em;
    font-size: 0.65em;
    vertical-align: middle;
    transition: transform 0.15s;
    margin-right: 0.35rem;
}

.nav-section summary:hover {
    background: #e9ecef;
}

.nav-section[open] > summary::before {
    transform: rotate(90deg);
}

.nav-items {
    list-style: none;
    margin: 0;
    padding: 0 0 0.25rem 0;
}

.nav-item {
    margin: 0;
}

.nav-item > a {
    display: block;
    padding: 0.3rem 1rem 0.3rem 2.2rem;
    color: #24292e;
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: background 0.1s, border-color 0.1s;
}

.nav-item > a:hover {
    background: #e9ecef;
    text-decoration: none;
}

.nav-item.active > a {
    background: #d2e3fc;
    border-left-color: #4285f4;
    color: #1a56db;
    font-weight: 600;
}

/* Main content area */
main {
    flex: 1;
    padding: 2rem;
    max-width: 100%;
    min-width: 0;
}

/* Tab content (driven by sidebar now) */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Mobile responsive sidebar */
@media screen and (max-width: 768px) {
    .site-content-wrapper {
        flex-direction: column;
    }

    .site-sidebar {
        width: 100%;
        min-width: 100%;
        height: auto;
        position: relative;
        border-right: none;
        border-bottom: 1px solid #e1e4e8;
        padding: 0;
    }

    .site-sidebar .sidebar-toggle {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        width: 100%;
        padding: 0.75rem 1rem;
        background: #f8f9fa;
        border: none;
        border-bottom: 1px solid #e1e4e8;
        cursor: pointer;
        font-size: 0.95rem;
        font-weight: 600;
        color: #24292e;
    }

    .site-sidebar .sidebar-toggle svg {
        fill: #586069;
    }

    .site-sidebar .sidebar-toggle:hover {
        background: #e9ecef;
    }

    .site-sidebar .sidebar-content {
        display: none;
        max-height: 60vh;
        overflow-y: auto;
    }

    .site-sidebar.open .sidebar-content {
        display: block;
    }
}

.panel {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

.panel h2 {
    margin-bottom: 1rem;
    color: #333;
    border-bottom: 2px solid #4285f4;
    padding-bottom: 0.5rem;
}

/* Message Log Styles */
.day-group {
    margin-bottom: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.day-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    cursor: pointer;
    user-select: none;
}

.day-header:hover {
    background: #e8f0fe;
}

.day-date {
    font-weight: 600;
    color: #333;
}

.day-count {
    color: #666;
    font-size: 0.9rem;
}

.day-toggle {
    color: #666;
    font-size: 0.8rem;
}

.day-summary {
    padding: 0.75rem 1rem;
    background: #fafafa;
    color: #666;
    font-size: 0.9rem;
    border-top: 1px solid #eee;
}

.day-messages {
    border-top: 1px solid #eee;
}

.day-messages.collapsed {
    display: none;
}

.message-entry {
    padding: 1rem;
    border-bottom: 1px solid #eee;
}

.message-entry:last-child {
    border-bottom: none;
}

.message-entry.assistant {
    background: #f0f7ff;
}

.message-role {
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    margin-right: 0.5rem;
}

.message-entry.user .message-role {
    background: #e8f5e9;
    color: #2e7d32;
}

.message-entry.assistant .message-role {
    background: #e3f2fd;
    color: #1565c0;
}

.message-translation {
    margin-top: 0.5rem;
    padding: 0.5rem;
    background: #e3f2fd;
    border-radius: 4px;
    font-size: 0.9rem;
    color: #1565c0;
    font-style: italic;
}

.timestamp {
    font-size: 0.85rem;
    color: #666;
    font-family: monospace;
}

.message-text {
    margin-top: 0.5rem;
    white-space: pre-wrap;
}

.error {
    color: #d32f2f;
}

/* Panel Description */
.panel-description {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

/* Fonts Audit Table */
table {
    width: 100%;
    border-collapse: collapse;
}

thead {
    background-color: #f8f9fa;
}

th, td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

th {
    font-weight: 600;
    color: #555;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.font-name {
    font-weight: 500;
}

.font-name a {
    color: #333;
    text-decoration: none;
}

.font-name a:hover {
    color: #4285f4;
    text-decoration: underline;
}

.repo-url a, .commit-hash a {
    color: #4285f4;
    text-decoration: none;
    font-family: monospace;
    font-size: 0.9rem;
}

.commit-hash .missing {
    color: #c62828;
    font-style: italic;
}

.repo-url a:hover, .commit-hash a:hover {
    text-decoration: underline;
}

.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: capitalize;
}

.status-badge.verified {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.status-badge.pending {
    background-color: #fff3e0;
    color: #ef6c00;
}

.status-badge.needs_review {
    background-color: #fff8e1;
    color: #f9a825;
}

.status-badge.error {
    background-color: #ffebee;
    color: #c62828;
}

.status-badge.missing {
    background-color: #fce4ec;
    color: #ad1457;
}

.status-badge.missing_commit_hash {
    background-color: #f3e5f5;
    color: #7b1fa2;
}

/* Filter Bar */
.filter-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 4px;
}

.filter-bar label {
    font-weight: 500;
    color: #555;
}

.filter-bar select,
.filter-bar input[type="text"] {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    min-width: 200px;
}

.filter-bar input[type="text"] {
    flex: 1;
    max-width: 300px;
}

/* Designers Grid */
.designers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.designer-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    transition: box-shadow 0.2s;
}

.designer-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.designer-card.hidden {
    display: none;
}

.designer-avatar {
    flex-shrink: 0;
}

.designer-avatar img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    background: #e0e0e0;
}

.avatar-placeholder {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #4285f4;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
}

.designer-info {
    flex: 1;
    min-width: 0;
}

.designer-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.designer-bio {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
    max-height: 4.5em;
    overflow: hidden;
    text-overflow: ellipsis;
}

.designer-bio.no-bio {
    color: #999;
    font-style: italic;
}

.designer-bio p {
    margin: 0 0 0.5rem;
}

.designer-bio p:last-child {
    margin-bottom: 0;
}

.designer-bio a {
    color: #4285f4;
    text-decoration: none;
}

.designer-bio a:hover {
    text-decoration: underline;
}

.designer-link {
    display: inline-block;
    margin-top: 0.5rem;
    color: #4285f4;
    text-decoration: none;
    font-size: 0.9rem;
}

.designer-link:hover {
    text-decoration: underline;
}

#designer-count {
    color: #666;
    font-size: 0.9rem;
}

/* Questions List */
.question-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-left: 4px solid #4285f4;
}

.question-card.hidden {
    display: none;
}

.question-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.question-font {
    font-size: 0.85rem;
    color: #666;
    background: #e3f2fd;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.question-person {
    font-weight: 600;
    color: #1565c0;
    margin-bottom: 0.5rem;
}

.question-role {
    font-size: 0.85rem;
    color: #666;
    text-transform: capitalize;
}

.question-text {
    font-size: 1rem;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.question-context {
    font-size: 0.9rem;
    color: #666;
    background: white;
    padding: 0.75rem;
    border-radius: 4px;
    border: 1px solid #eee;
}

.question-context-label {
    font-weight: 500;
    color: #555;
    margin-bottom: 0.25rem;
}

.no-questions, .no-prs {
    text-align: center;
    color: #666;
    padding: 2rem;
}

/* Pending PRs */
.pr-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-left: 4px solid #4285f4;
}

.pr-card.priority-high {
    border-left-color: #c62828;
}

.pr-card.priority-medium {
    border-left-color: #ef6c00;
}

.pr-card.priority-low {
    border-left-color: #2e7d32;
}

.pr-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.pr-title {
    font-weight: 600;
    font-size: 1.1rem;
    color: #333;
}

.pr-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.pr-type, .pr-priority, .pr-status {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: capitalize;
}

.pr-type {
    background: #e3f2fd;
    color: #1565c0;
}

.pr-priority.priority-high {
    background: #ffebee;
    color: #c62828;
}

.pr-priority.priority-medium {
    background: #fff3e0;
    color: #ef6c00;
}

.pr-priority.priority-low {
    background: #e8f5e9;
    color: #2e7d32;
}

.pr-status {
    background: #f5f5f5;
    color: #666;
}

.pr-status.status-draft {
    background: #e0e0e0;
    color: #424242;
}

.pr-status.status-needs_decision {
    background: #fff8e1;
    color: #f9a825;
}

.pr-status.status-submitted {
    background: #e3f2fd;
    color: #1565c0;
}

.pr-status.status-merged {
    background: #e8f5e9;
    color: #2e7d32;
}

.pr-status.status-closed {
    background: #fce4ec;
    color: #880e4f;
}

.pr-font {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.pr-description {
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.pr-files {
    margin-bottom: 1rem;
}

.pr-files ul {
    margin: 0.5rem 0 0 1.5rem;
    padding: 0;
}

.pr-files li {
    margin-bottom: 0.25rem;
}

.pr-files code, .pr-changes code {
    background: #e8e8e8;
    padding: 0.15rem 0.4rem;
    border-radius: 3px;
    font-size: 0.85rem;
}

.pr-changes {
    margin-bottom: 1rem;
}

.pr-changes ul {
    margin: 0.5rem 0 0 1.5rem;
    padding: 0;
}

.pr-notes {
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid #e0e0e0;
    font-size: 0.9rem;
    color: #666;
}

.pr-files details,
.pr-changes details {
    margin-top: 0.5rem;
}

.pr-files summary,
.pr-changes summary {
    cursor: pointer;
    color: #1565c0;
    font-size: 0.9rem;
}

.pr-files summary:hover,
.pr-changes summary:hover {
    text-decoration: underline;
}

.pr-status.status-ready_to_submit {
    background: #e8f5e9;
    color: #2e7d32;
}

/* Friday Status Slide */
.status-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.btn-download {
    background: #4285f4;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-download:hover {
    background: #3367d6;
}

.status-date {
    color: #666;
    font-size: 0.9rem;
}

.status-slide {
    background: linear-gradient(135deg, #1a73e8 0%, #4285f4 100%);
    border-radius: 8px;
    padding: 2rem;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    aspect-ratio: 16 / 9;
    max-width: 900px;
    display: flex;
    flex-direction: column;
}

.slide-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.slide-title {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 0.75rem;
}

.slide-section {
    flex: 1;
    margin-bottom: 1rem;
}

.slide-section:last-child {
    margin-bottom: 0;
}

.slide-section h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.slide-section ul {
    margin: 0;
    padding-left: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.slide-section li {
    margin-bottom: 0.25rem;
}

.slide-section .empty-list {
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    padding-left: 0;
    list-style: none;
}

.slide-section a.status-link {
    color: #90caf9;
    text-decoration: underline;
}

.slide-section a.status-link:hover {
    color: #bbdefb;
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 1rem;
}

/* Disk Usage Tab */
.disk-usage {
    padding: 1rem;
}

.disk-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.disk-stat {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
}

.stat-label {
    display: block;
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
}

.stat-value.warning {
    color: #f9a825;
}

.stat-value.critical {
    color: #d32f2f;
}

.disk-bar-container {
    background: #e0e0e0;
    border-radius: 4px;
    height: 24px;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.disk-bar {
    background: #4caf50;
    height: 100%;
    transition: width 0.3s ease;
}

.disk-bar.warning {
    background: #f9a825;
}

.disk-bar.critical {
    background: #d32f2f;
}

.disk-breakdown {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.disk-breakdown h3 {
    margin-bottom: 1rem;
    color: #333;
}

#disk-breakdown-table {
    width: 100%;
    border-collapse: collapse;
}

#disk-breakdown-table th,
#disk-breakdown-table td {
    padding: 0.5rem;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

#disk-breakdown-table th {
    background: #f5f5f5;
    font-weight: 600;
}

#disk-breakdown-table code {
    background: #f5f5f5;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-size: 0.9rem;
}

.disk-updated {
    color: #666;
    font-size: 0.85rem;
    text-align: right;
}

/* Library Sources Tab */
.sources-summary {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.summary-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
}

.summary-card.total {
    border-left: 4px solid #4285f4;
}

.summary-card.complete {
    border-left: 4px solid #34a853;
}

.summary-card.warning {
    border-left: 4px solid #fbbc04;
}

.summary-card.neutral {
    border-left-color: #9e9e9e;
}

.summary-card.investigated {
    border-left-color: #673ab7;
}

.summary-card.error {
    border-left: 4px solid #ea4335;
}

.summary-value {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: #333;
}

.summary-label {
    display: block;
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.25rem;
}

.sources-progress {
    margin-bottom: 1.5rem;
}

.progress-bar-container {
    display: flex;
    background: #e0e0e0;
    border-radius: 4px;
    height: 24px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-bar {
    height: 100%;
    transition: width 0.3s ease;
}

.progress-bar.complete {
    background: #34a853;
}

.progress-bar.partial {
    background: #fbbc04;
}

.progress-bar.no-repo {
    background: #9e9e9e;
}

.progress-legend {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    font-size: 0.85rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 2px;
}

.legend-color.complete {
    background: #34a853;
}

.legend-color.partial {
    background: #fbbc04;
}

.legend-color.missing {
    background: #e0e0e0;
}

.legend-color.no-repo {
    background: #9e9e9e;
}

.sources-chart,
.progress-history {
    margin: 1.5rem 0;
    padding: 1rem;
    background: #1e1e1e;
    border-radius: 8px;
}

.sources-chart h3,
.progress-history h3 {
    color: #e0e0e0;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.sources-chart canvas,
.progress-history canvas {
    width: 100%;
    max-width: 600px;
    display: block;
    margin: 0 auto;
}

/* Cache Stats */
.cache-stats {
    margin: 1.5rem 0;
    padding: 1rem;
    background: #1e1e1e;
    border-radius: 8px;
}

.cache-stats h3 {
    color: #e0e0e0;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.cache-summary {
    display: flex;
    gap: 2rem;
    margin-bottom: 1rem;
}

.cache-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cache-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: #e0e0e0;
}

.cache-stat.cloned .cache-value {
    color: #4caf50;
}

.cache-stat.not-cloned .cache-value {
    color: #ff9800;
}

.cache-label {
    font-size: 0.85rem;
    color: #888;
}

.cache-progress {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.cache-bar-container {
    flex: 1;
    height: 10px;
    background: #333;
    border-radius: 5px;
    overflow: hidden;
}

.cache-bar {
    height: 100%;
    background: linear-gradient(90deg, #4caf50, #8bc34a);
    transition: width 0.3s ease;
}

.cache-percent {
    color: #888;
    font-size: 0.9rem;
    min-width: 80px;
    text-align: right;
}

.not-cloned-list {
    margin-top: 1rem;
}

.not-cloned-list summary {
    color: #ff9800;
    cursor: pointer;
    font-size: 0.9rem;
}

.not-cloned-list ul {
    margin-top: 0.5rem;
    padding-left: 1.5rem;
    max-height: 300px;
    overflow-y: auto;
}

.not-cloned-list li {
    color: #888;
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.not-cloned-list a {
    color: #64b5f6;
    text-decoration: none;
}

.not-cloned-list a:hover {
    text-decoration: underline;
}

.sources-filter {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.sources-filter input[type="text"] {
    flex: 1;
    min-width: 200px;
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.95rem;
}

.sources-filter select {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.95rem;
    background: white;
}

#sources-count {
    color: #666;
    font-size: 0.9rem;
}

.sources-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.sources-table th,
.sources-table td {
    padding: 0.6rem 0.8rem;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.sources-table th {
    background: #f5f5f5;
    font-weight: 600;
    position: sticky;
    top: 0;
}

.sources-table .family-name {
    font-weight: 500;
}

.sources-table .designer-name {
    color: #666;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sources-table .repo-cell a {
    color: #1a73e8;
    text-decoration: none;
}

.sources-table .repo-cell a:hover {
    text-decoration: underline;
}

.sources-table code {
    background: #f5f5f5;
    padding: 0.15rem 0.4rem;
    border-radius: 3px;
    font-size: 0.85rem;
}

.sources-table .missing {
    color: #999;
}

.status-badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
}

.status-badge.status-complete {
    background: #e6f4ea;
    color: #1e7e34;
}

.status-badge.status-missing_config,
.status-badge.status-missing_commit {
    background: #fef7e0;
    color: #b06d00;
}

.status-badge.status-no_source,
.status-badge.status-incomplete_source {
    background: #fce8e6;
    color: #c5221f;
}

.status-row-complete {
    background: #f8fff9;
}

.status-row-no_source {
    background: #fff8f7;
}

.no-results {
    padding: 2rem;
    text-align: center;
    color: #666;
}

.more-results {
    padding: 1rem;
    text-align: center;
    color: #666;
    font-style: italic;
    background: #f5f5f5;
    border-radius: 4px;
    margin-top: 1rem;
}

.sources-updated {
    color: #666;
    font-size: 0.85rem;
    text-align: right;
    margin-top: 1rem;
}

#sources-table-container {
    max-height: 600px;
    overflow-y: auto;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

/* Family Detail Dialog */
.family-name-link {
    color: #1a73e8;
    cursor: pointer;
}

.family-name-link:hover {
    text-decoration: underline;
}

#family-detail-dialog {
    border: none;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    padding: 0;
    max-width: 900px;
    width: 90vw;
    max-height: 80vh;
    overflow: hidden;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
}

#family-detail-dialog::backdrop {
    background: rgba(0, 0, 0, 0.5);
}

.dialog-header {
    background: #4285f4;
    color: white;
    padding: 1rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dialog-header h3 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 600;
}

.dialog-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0 0.25rem;
    line-height: 1;
    opacity: 0.8;
}

.dialog-close:hover {
    opacity: 1;
}

.dialog-body {
    padding: 1.25rem;
    overflow-y: auto;
    max-height: calc(80vh - 60px);
}

.dialog-section {
    margin-bottom: 1.25rem;
}

.dialog-section:last-child {
    margin-bottom: 0;
}

.dialog-section h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #666;
    margin-bottom: 0.5rem;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid #e0e0e0;
}

.dialog-field {
    display: flex;
    padding: 0.35rem 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.dialog-field-label {
    min-width: 120px;
    color: #666;
    font-weight: 500;
    flex-shrink: 0;
}

.dialog-field-value {
    color: #333;
    word-break: break-all;
}

.dialog-field-value a {
    color: #1a73e8;
    text-decoration: none;
}

.dialog-field-value a:hover {
    text-decoration: underline;
}

.dialog-field-value code {
    background: #f5f5f5;
    padding: 0.1rem 0.35rem;
    border-radius: 3px;
    font-size: 0.85rem;
}

.dialog-investigation {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    margin-bottom: 0.5rem;
}

.dialog-investigation summary {
    cursor: pointer;
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #1a73e8;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dialog-investigation summary:hover {
    background: #f0f4f8;
}

.dialog-investigation-date {
    font-size: 0.8rem;
    color: #888;
    font-weight: 400;
    margin-left: 0.5rem;
    flex-shrink: 0;
}

.dialog-investigation-body {
    padding: 0.75rem;
    background: #f8f9fa;
    border-top: 1px solid #e0e0e0;
    font-size: 0.85rem;
    line-height: 1.6;
    max-height: 300px;
    overflow-y: auto;
}

.dialog-investigation-body h3 {
    font-size: 0.95rem;
    margin: 1rem 0 0.5rem;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid #ddd;
}

.dialog-investigation-body h4 {
    font-size: 0.9rem;
    margin: 0.75rem 0 0.25rem;
}

.dialog-investigation-body pre {
    background: #272822;
    color: #f8f8f2;
    padding: 0.5rem;
    border-radius: 4px;
    overflow-x: auto;
    font-size: 0.8rem;
}

@media (max-width: 500px) {
    .dialog-field {
        flex-direction: column;
    }
    .dialog-field-label {
        min-width: auto;
        margin-bottom: 0.1rem;
    }
}

/* Build Approaches Tab */
.builds-intro {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #e8f0fe;
    border-radius: 8px;
    color: #333;
    line-height: 1.6;
    font-size: 0.95rem;
}

.builds-summary {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.builds-charts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.builds-chart {
    padding: 1rem;
    background: #1e1e1e;
    border-radius: 8px;
}

.builds-chart h3 {
    color: #e0e0e0;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.builds-chart canvas {
    width: 100%;
    display: block;
}

.builds-descriptions {
    margin-bottom: 1.5rem;
}

.builds-descriptions h3 {
    margin-bottom: 1rem;
    color: #333;
    font-size: 1.1rem;
}

.build-desc-card {
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    border-radius: 6px;
    border-left: 4px solid #ccc;
    background: #f8f9fa;
    display: flex;
    gap: 1rem;
    align-items: baseline;
}

.build-desc-card .desc-label {
    font-weight: 600;
    font-size: 0.9rem;
    min-width: 200px;
    flex-shrink: 0;
}

.build-desc-card .desc-count {
    font-size: 0.8rem;
    color: #666;
    min-width: 50px;
    flex-shrink: 0;
}

.build-desc-card .desc-text {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.5;
}

.build-desc-card.cat-gftools_builder { border-left-color: #34a853; }
.build-desc-card.cat-gftools_builder_makefile { border-left-color: #4caf50; }
.build-desc-card.cat-fontmake_direct { border-left-color: #2196f3; }
.build-desc-card.cat-custom_build_py { border-left-color: #9c27b0; }
.build-desc-card.cat-custom_build_sh { border-left-color: #7b1fa2; }
.build-desc-card.cat-makefile_other { border-left-color: #ff9800; }
.build-desc-card.cat-travis_ci_only { border-left-color: #795548; }
.build-desc-card.cat-github_actions_only { border-left-color: #607d8b; }
.build-desc-card.cat-source_no_build { border-left-color: #f44336; }
.build-desc-card.cat-prebuilt_only { border-left-color: #e91e63; }
.build-desc-card.cat-unknown { border-left-color: #9e9e9e; }

.category-badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
}

.category-badge.cat-gftools_builder { background: #e6f4ea; color: #1e7e34; }
.category-badge.cat-gftools_builder_makefile { background: #e8f5e9; color: #2e7d32; }
.category-badge.cat-fontmake_direct { background: #e3f2fd; color: #1565c0; }
.category-badge.cat-custom_build_py { background: #f3e5f5; color: #7b1fa2; }
.category-badge.cat-custom_build_sh { background: #ede7f6; color: #4527a0; }
.category-badge.cat-makefile_other { background: #fff3e0; color: #e65100; }
.category-badge.cat-travis_ci_only { background: #efebe9; color: #4e342e; }
.category-badge.cat-github_actions_only { background: #eceff1; color: #37474f; }
.category-badge.cat-source_no_build { background: #fce8e6; color: #c5221f; }
.category-badge.cat-prebuilt_only { background: #fce4ec; color: #ad1457; }
.category-badge.cat-unknown { background: #f5f5f5; color: #616161; }

.source-tag {
    display: inline-block;
    padding: 0.15rem 0.4rem;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 500;
    background: #e8eaf6;
    color: #283593;
    margin-right: 0.25rem;
    margin-bottom: 0.15rem;
}

.source-tag.fmt-glyphs { background: #fff3e0; color: #e65100; }
.source-tag.fmt-glyphspackage { background: #fbe9e7; color: #bf360c; }
.source-tag.fmt-ufo { background: #e3f2fd; color: #1565c0; }
.source-tag.fmt-designspace { background: #e8f5e9; color: #2e7d32; }
.source-tag.fmt-sfd { background: #f3e5f5; color: #7b1fa2; }

.builds-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.builds-table th,
.builds-table td {
    padding: 0.6rem 0.8rem;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.builds-table th {
    background: #f5f5f5;
    font-weight: 600;
    position: sticky;
    top: 0;
}

.builds-table .repo-name {
    font-weight: 500;
    font-family: monospace;
    font-size: 0.85rem;
}

.builds-table .repo-name a {
    color: #1a73e8;
    text-decoration: none;
}

.builds-table .repo-name a:hover {
    text-decoration: underline;
}

.builds-table .families-cell {
    color: #666;
    font-size: 0.85rem;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.builds-table code {
    background: #f5f5f5;
    padding: 0.15rem 0.4rem;
    border-radius: 3px;
    font-size: 0.85rem;
}

#builds-table-container {
    max-height: 600px;
    overflow-y: auto;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.builds-pending-notice {
    text-align: center;
    padding: 2rem;
    color: #666;
    font-style: italic;
}

@media (max-width: 900px) {
    .builds-charts {
        grid-template-columns: 1fr;
    }
    .builds-summary {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Plans Tab */
.plan-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid #4285f4;
}

.plan-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.plan-title {
    font-weight: 600;
    font-size: 1.2rem;
    color: #333;
}

.plan-badges {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.plan-date {
    font-size: 0.85rem;
    color: #666;
    font-family: monospace;
}

.plan-prompt {
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: white;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
}

.plan-summary {
    margin-bottom: 1rem;
    color: #333;
    line-height: 1.5;
}

.plan-steps {
    margin-bottom: 1rem;
}

.plan-steps ol {
    margin: 0.5rem 0 0 1.5rem;
    padding: 0;
}

.plan-step {
    margin-bottom: 0.5rem;
    line-height: 1.5;
    font-size: 0.9rem;
}

.plan-step.step-completed {
    color: #2e7d32;
}

.plan-step.step-blocked {
    color: #c62828;
}

.plan-step.step-pending {
    color: #666;
}

.step-status {
    margin-right: 0.25rem;
}

.plan-files {
    margin-top: 0.5rem;
}

.plan-files summary {
    cursor: pointer;
    color: #1565c0;
    font-size: 0.9rem;
}

.plan-files ul {
    margin: 0.5rem 0 0 1.5rem;
    padding: 0;
}

.plan-files li {
    margin-bottom: 0.25rem;
    font-size: 0.85rem;
}

.plan-files code {
    background: #e8e8e8;
    padding: 0.15rem 0.4rem;
    border-radius: 3px;
    font-size: 0.85rem;
}

.plan-design-notes {
    margin-top: 1rem;
    border-top: 1px solid #e0e0e0;
    padding-top: 0.75rem;
}

.design-note {
    margin-bottom: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background: #fafafa;
}

.design-note summary {
    cursor: pointer;
    padding: 0.75rem 1rem;
    background: #f0f4f9;
    border-radius: 6px 6px 0 0;
    font-size: 0.95rem;
}

.design-note[open] summary {
    border-bottom: 1px solid #e0e0e0;
}

.design-note-body {
    padding: 1rem;
    font-size: 0.9rem;
    line-height: 1.6;
}

.design-note-body h3 {
    margin: 1rem 0 0.5rem 0;
    font-size: 1rem;
    color: #333;
}

.design-note-body p {
    margin: 0.5rem 0;
}

.design-note-body ul, .design-note-body ol {
    margin: 0.5rem 0 0.5rem 1.5rem;
}

.design-note-body li {
    margin-bottom: 0.3rem;
}

.design-note-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 0.75rem 0;
    font-size: 0.85rem;
}

.design-note-body th, .design-note-body td {
    padding: 0.4rem 0.6rem;
    border: 1px solid #ddd;
    text-align: left;
}

.design-note-body th {
    background: #f0f4f9;
    font-weight: 600;
}

.design-note-body code {
    background: #e8e8e8;
    padding: 0.1rem 0.3rem;
    border-radius: 3px;
    font-size: 0.85em;
}

/* Bio Guide Tab */
.guide-toc {
    background: #e8f0fe;
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 2.5rem;
    border: 1px solid #d2e3fc;
}

.guide-toc h3 {
    margin-bottom: 0.75rem;
    color: #1a73e8;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.guide-toc ol {
    columns: 2;
    column-gap: 2rem;
    padding-left: 1.5rem;
    margin: 0;
}

.guide-toc li {
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.guide-toc a {
    color: #1a73e8;
    text-decoration: none;
}

.guide-toc a:hover {
    text-decoration: underline;
}

.guide-section {
    margin-bottom: 0;
    padding: 2rem 0;
    border-bottom: 2px solid #e0e0e0;
}

.guide-section:first-of-type {
    padding-top: 0;
}

.guide-section:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.guide-section h3 {
    color: #1a73e8;
    margin-bottom: 1.25rem;
    font-size: 1.3rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e8f0fe;
}

.guide-section h4 {
    color: #333;
    margin: 2rem 0 0.75rem;
    font-size: 1.05rem;
    font-weight: 600;
}

.guide-section h4:first-of-type {
    margin-top: 1rem;
}

.guide-section > p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: #444;
    font-size: 0.95rem;
}

.guide-section ol,
.guide-section > ul {
    margin: 0.75rem 0 1.25rem 1.5rem;
    line-height: 1.8;
}

.guide-section > li,
.guide-section > ol > li,
.guide-section > ul > li {
    margin-bottom: 0.4rem;
}

.guide-section code {
    background: #eef2f7;
    padding: 0.2rem 0.45rem;
    border-radius: 3px;
    font-size: 0.85rem;
    color: #1a5276;
}

.guide-structure-diagram {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1.25rem 0;
}

.structure-block {
    display: flex;
    align-items: baseline;
    gap: 1.25rem;
    padding: 1rem 1.25rem;
    background: #f8f9fa;
    border-left: 4px solid #1a73e8;
    border-radius: 0 6px 6px 0;
    border: 1px solid #e8ecf0;
    border-left: 4px solid #1a73e8;
}

.structure-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: #1a73e8;
    min-width: 140px;
    flex-shrink: 0;
}

.structure-desc {
    font-size: 0.9rem;
    color: #555;
}

.optional-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 400;
    background: #fff3e0;
    color: #e65100;
    padding: 0.1rem 0.35rem;
    border-radius: 3px;
    vertical-align: middle;
}

.guide-rules {
    display: flex;
    gap: 1.5rem;
    margin: 1.25rem 0;
    flex-wrap: wrap;
}

.guide-rule {
    flex: 1;
    min-width: 280px;
    padding: 1.25rem 1.5rem;
    border-radius: 8px;
}

.guide-rule.do {
    background: #e6f4ea;
    border-left: 4px solid #34a853;
}

.guide-rule.dont {
    background: #fce8e6;
    border-left: 4px solid #ea4335;
}

.rule-label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.guide-rule.do .rule-label {
    color: #1e7e34;
}

.guide-rule.dont .rule-label {
    color: #c5221f;
}

.guide-rule ul {
    margin: 0;
    padding-left: 1.25rem;
}

.guide-rule li {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.35rem;
}

.guide-template {
    background: #263238;
    color: #cfd8dc;
    padding: 1.25rem 1.5rem;
    border-radius: 8px;
    margin: 1.25rem 0;
    font-family: 'SF Mono', 'Menlo', 'Monaco', 'Consolas', monospace;
    font-size: 0.85rem;
    line-height: 1.7;
    overflow-x: auto;
    border: 1px solid #37474f;
}

.guide-template pre {
    margin: 0.5rem 0 0;
    white-space: pre-wrap;
    word-break: break-word;
    font-family: inherit;
}

.guide-template strong {
    color: #80cbc4;
    font-weight: 600;
}

.guide-template code {
    background: none;
    color: #cfd8dc;
    padding: 0;
    font-size: inherit;
}

.guide-example-block {
    margin: 1.25rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.example-good,
.example-bad {
    padding: 1rem 1.25rem;
    border-radius: 6px;
    font-size: 0.93rem;
    line-height: 1.7;
}

.example-good {
    background: #f0f9f1;
    border-left: 4px solid #34a853;
}

.example-bad {
    background: #fef5f4;
    border-left: 4px solid #ea4335;
}

.example-label {
    display: inline-block;
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.15rem 0.5rem;
    border-radius: 3px;
    margin-bottom: 0.35rem;
}

.example-good .example-label {
    background: #c8e6c9;
    color: #1b5e20;
}

.example-bad .example-label {
    background: #ffcdd2;
    color: #b71c1c;
}

.example-good p,
.example-bad p {
    margin: 0.35rem 0 0;
    font-style: italic;
    color: #444;
}

.guide-lengths {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 1rem 0;
}

.length-card {
    text-align: center;
    padding: 1.5rem 1.25rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-top: 3px solid #1a73e8;
    border: 1px solid #e8ecf0;
    border-top: 3px solid #1a73e8;
}

.length-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #666;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.length-value {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a73e8;
    margin-bottom: 0.5rem;
}

.length-desc {
    display: block;
    font-size: 0.85rem;
    color: #555;
    line-height: 1.5;
}

.guide-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.25rem 0;
    font-size: 0.9rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.guide-table th,
.guide-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid #e8ecf0;
}

.guide-table tbody tr:last-child td {
    border-bottom: none;
}

.guide-table tbody tr:hover {
    background: #f8fafe;
}

.guide-table th {
    background: #f0f4f8;
    font-weight: 600;
    color: #333;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.priority-tag {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.priority-tag.required {
    background: #fce8e6;
    color: #c5221f;
}

.priority-tag.recommended {
    background: #fef7e0;
    color: #b06d00;
}

.priority-tag.optional {
    background: #e8f0fe;
    color: #1a73e8;
}

.guide-bio-example {
    margin: 0.75rem 0 2rem;
    border: 1px solid #d0d7de;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.bio-preview {
    padding: 1.25rem 1.5rem;
    background: white;
    border-bottom: 1px solid #d0d7de;
}

.bio-preview::before {
    content: 'Preview';
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #888;
    margin-bottom: 0.75rem;
}

.bio-preview p {
    margin: 0 0 0.5rem;
    font-size: 0.93rem;
    color: #333;
    line-height: 1.7;
}

.bio-preview p:last-child {
    margin-bottom: 0;
}

.bio-preview a {
    color: #1a73e8;
    text-decoration: none;
}

.bio-source {
    padding: 1rem 1.5rem;
    background: #263238;
}

.bio-source::before {
    content: 'HTML Source';
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #78909c;
    margin-bottom: 0.5rem;
}

.bio-source pre {
    margin: 0;
    color: #b0bec5;
    font-size: 0.82rem;
    line-height: 1.6;
    white-space: pre-wrap;
    word-break: break-word;
    font-family: 'SF Mono', 'Menlo', 'Monaco', 'Consolas', monospace;
}

.guide-checklist {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin: 1rem 0;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e8ecf0;
}

.guide-checklist label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.6rem 0.75rem;
    background: white;
    border-radius: 6px;
    font-size: 0.9rem;
    line-height: 1.6;
    cursor: pointer;
    transition: background 0.15s;
    border: 1px solid transparent;
}

.guide-checklist label:hover {
    background: #e8f0fe;
    border-color: #d2e3fc;
}

.guide-checklist input[type="checkbox"] {
    margin-top: 0.3rem;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    accent-color: #1a73e8;
}

@media (max-width: 768px) {
    .guide-toc ol {
        columns: 1;
    }
    .guide-rules {
        flex-direction: column;
    }
    .guide-lengths {
        grid-template-columns: 1fr;
    }
    .structure-block {
        flex-direction: column;
        gap: 0.25rem;
    }
    .structure-label {
        min-width: auto;
    }
}
