/* =====================================================
   ICE CREAM ANALYTICS — Global Styles
   Dark mode default. Orange (#ff9500) accent.
   ===================================================== */

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

:root {
    --bg:        #0f0f0f;
    --bg-card:   #1a1a1a;
    --bg-raised: #222222;
    --border:    rgba(255, 255, 255, 0.08);
    --text:      #f0f0f0;
    --text-muted:#888888;
    --accent:    #ff9500;
    --accent-dim:rgba(255, 149, 0, 0.12);
    --green:     #30d158;
    --blue:      #0a84ff;
    --red:       #ff453a;
    --radius:    14px;
    --radius-sm: 8px;
    --shadow:    0 4px 24px rgba(0, 0, 0, 0.4);
    --transition:all 0.2s ease;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.5;
    min-height: 100vh;
}

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    opacity: 0.75;
}

/* ── Layout ─────────────────────────────────────────── */

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Header / Nav ───────────────────────────────────── */

header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(15, 15, 15, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
}

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

.site-title span {
    color: var(--accent);
}

nav a {
    font-size: 14px;
    color: var(--text-muted);
    margin-left: 28px;
    transition: var(--transition);
}

nav a:hover,
nav a.active {
    color: var(--text);
    opacity: 1;
}

nav a.active {
    color: var(--accent);
}

/* ── Page hero ──────────────────────────────────────── */

.page-hero {
    padding: 48px 0 36px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 40px;
}

.page-hero h1 {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
}

.page-hero p {
    font-size: 16px;
    color: var(--text-muted);
}

/* ── Stat cards ─────────────────────────────────────── */

.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    margin-bottom: 40px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
}

.stat-card .label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.stat-card .value {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
}

.stat-card .value.accent {
    color: var(--accent);
}

.stat-card .sub {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ── Cards ──────────────────────────────────────────── */

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
}

.card-title {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* ── Batch selector (flat scrollable list) ──────────── */

.batch-selector {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 32px;
    max-height: 192px;
    overflow-y: auto;
}

.batch-list-item {
    display: grid;
    grid-template-columns: 44px 1fr auto 36px;
    align-items: center;
    gap: 12px;
    width: 100%;
    background: none;
    border: none;
    border-bottom: 1px solid var(--border);
    padding: 10px 16px;
    cursor: pointer;
    text-align: left;
    transition: background 0.15s ease;
}

.batch-list-item:last-child {
    border-bottom: none;
}

.batch-list-item:hover {
    background: var(--bg-raised);
}

.batch-list-item.active {
    background: var(--accent-dim);
}

.batch-item-id {
    font-size: 12px;
    font-weight: 700;
    color: var(--accent);
    font-variant-numeric: tabular-nums;
}

.batch-item-name {
    font-size: 13px;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.batch-item-version {
    color: var(--text-muted);
    font-weight: 400;
}

.batch-item-date {
    font-size: 12px;
    color: var(--text-muted);
    white-space: nowrap;
}

.batch-item-score {
    font-size: 14px;
    font-weight: 700;
    text-align: right;
}

/* ── Dashboard grid ─────────────────────────────────── */

.dashboard-grid {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.metrics-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}

.metric-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

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

.metric-row .metric-name {
    font-size: 13px;
    color: var(--text-muted);
}

.metric-row .metric-val {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.metric-bar-wrap {
    width: 100%;
    height: 4px;
    background: var(--bg-raised);
    border-radius: 2px;
    margin-top: 4px;
    overflow: hidden;
}

.metric-bar {
    height: 100%;
    border-radius: 2px;
    background: var(--accent);
    transition: width 0.4s ease;
}

/* ── Bottom charts row ──────────────────────────────── */

.charts-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 40px;
}

/* ── Score badge ────────────────────────────────────── */

.score-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
    background: var(--accent-dim);
    color: var(--accent);
}

.score-badge.great  { background: rgba(48, 209, 88, 0.12);  color: var(--green); }
.score-badge.ok     { background: rgba(255, 149, 0, 0.12);  color: var(--accent); }
.score-badge.poor   { background: rgba(255, 69, 58, 0.12);  color: var(--red); }

/* ── Journal ────────────────────────────────────────── */

.journal-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-bottom: 60px;
}

/* ── Journal filter bar ─────────────────────────────── */

.journal-filter-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.filter-search {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 13px;
    padding: 6px 12px;
    width: 220px;
    transition: border-color 0.2s ease;
}

.filter-search::placeholder {
    color: var(--text-muted);
}

.filter-search:focus {
    border-color: var(--accent);
    outline: none;
}

.filter-tag-section {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    width: 100%;
}

.filter-group-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    min-width: 72px;
    flex-shrink: 0;
}

.filter-tag-group {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.filter-tag-btn {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 980px;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 12px;
    padding: 4px 12px;
    transition: var(--transition);
}

.filter-tag-btn:hover {
    border-color: var(--accent);
    color: var(--text);
}

.filter-tag-btn.active {
    background: var(--accent-dim);
    border-color: var(--accent);
    color: var(--accent);
}

.filter-clear {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 12px;
    padding: 4px 8px;
    transition: color 0.2s ease;
}

.filter-clear:hover {
    color: var(--text);
}

.journal-empty {
    color: var(--text-muted);
    font-size: 14px;
    text-align: center;
    padding: 40px 0;
}

/* ── Month separator ────────────────────────────────── */

.month-separator {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 20px 0 8px;
    opacity: 0.6;
}

.month-separator:first-child {
    padding-top: 0;
}

/* ── Pagination ──────────────────────────────────────── */

.journal-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.pagination-btn {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: 6px;
    padding: 6px 16px;
    font-size: 13px;
    cursor: pointer;
    transition: border-color 0.15s, color 0.15s;
}

.pagination-btn:hover:not(:disabled) {
    border-color: var(--accent);
    color: var(--accent);
}

.pagination-btn:disabled {
    opacity: 0.3;
    cursor: default;
}

.pagination-info {
    font-size: 13px;
    color: var(--text-muted);
    min-width: 48px;
    text-align: center;
}

/* ── Journal entries (collapsible) ──────────────────── */

.journal-entry {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.journal-entry:hover {
    border-color: rgba(255, 149, 0, 0.3);
}

.journal-entry-summary {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 28px;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.journal-entry-summary::-webkit-details-marker {
    display: none;
}

.journal-entry-meta {
    flex: 1;
}

.journal-entry-meta h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}

.journal-entry-meta .date {
    font-size: 13px;
    color: var(--text-muted);
}

.journal-entry-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.journal-chevron {
    color: var(--text-muted);
    font-size: 20px;
    line-height: 1;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.journal-entry[open] .journal-chevron {
    transform: rotate(90deg);
}

.journal-entry-body {
    padding: 0 28px 24px;
    border-top: 1px solid var(--border);
    padding-top: 20px;
}

.journal-scores {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}

.journal-score-item {
    text-align: center;
}

.journal-score-item .score-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.journal-score-item .score-num {
    font-size: 20px;
    font-weight: 700;
    color: var(--accent);
}

.journal-metrics-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.journal-metric-pill {
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 4px 10px;
    font-size: 12px;
    color: var(--text-muted);
}

.journal-metric-pill strong {
    color: var(--text);
}

.journal-notes {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.journal-note {
    font-size: 14px;
    line-height: 1.6;
    color: #cccccc;
}

.journal-note-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--text-muted);
    margin-bottom: 4px;
    /* When used as <summary> inside <details> */
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    user-select: none;
    width: fit-content;
}

.journal-note-label::-webkit-details-marker {
    display: none;
}

.journal-note-label::before {
    content: '›';
    display: inline-block;
    font-size: 14px;
    line-height: 1;
    transition: transform 0.15s ease;
}

details[open] > .journal-note-label::before {
    transform: rotate(90deg);
}

/* ── Ingredient list ────────────────────────────────── */

.ingredient-list {
    display: flex;
    flex-direction: column;
    margin-top: 8px;
    max-width: 460px;
}

.ingredient-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 0 16px;
    align-items: baseline;
    padding: 5px 0;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
}

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

.ingredient-name {
    color: var(--text);
}

.ingredient-amount {
    color: var(--text-muted);
    font-size: 12px;
    font-variant-numeric: tabular-nums;
    text-align: right;
}

.ingredient-pct {
    color: var(--text-muted);
    font-size: 12px;
    font-variant-numeric: tabular-nums;
    text-align: right;
    min-width: 38px;
    opacity: 0.65;
}

/* ── Media grid + lightbox ──────────────────────────── */

.media-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.media-thumb {
    height: 100px;
    width: auto;
    max-width: 180px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    cursor: zoom-in;
    transition: opacity 0.15s ease, border-color 0.15s ease;
}

.media-thumb:hover {
    opacity: 0.85;
    border-color: rgba(255, 149, 0, 0.4);
}

.media-video {
    max-width: 100%;
    max-height: 320px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    margin-top: 8px;
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    cursor: zoom-out;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.lightbox[hidden] {
    display: none;
}

.lightbox-img {
    max-width: 92vw;
    max-height: 92vh;
    border-radius: var(--radius);
    object-fit: contain;
    box-shadow: 0 8px 48px rgba(0, 0, 0, 0.6);
}

/* ── Tag pills ──────────────────────────────────────── */

.tag-pills-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag-pill {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 149, 0, 0.08);
    border: 1px solid rgba(255, 149, 0, 0.3);
    border-radius: 980px;
    padding: 3px 10px;
    font-size: 11px;
    color: var(--accent);
    letter-spacing: 0.03em;
}

/* ── Wiki ───────────────────────────────────────────── */

.wiki-layout {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 48px;
    align-items: start;
    padding-bottom: 80px;
}

.wiki-toc {
    position: sticky;
    top: 72px;
}

.wiki-toc-title {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.wiki-toc nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.wiki-toc nav a {
    font-size: 13px;
    color: var(--text-muted);
    padding: 5px 10px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    margin-left: 0;
}

.wiki-toc nav a:hover {
    color: var(--text);
    background: var(--bg-raised);
    opacity: 1;
}

.wiki-content {
    display: flex;
    flex-direction: column;
    gap: 56px;
}

.wiki-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.wiki-section-header {
    margin-bottom: 4px;
}

.wiki-section-header h2 {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 4px;
}

.wiki-section-header p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.55;
}

.wiki-entries {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wiki-entry {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.wiki-entry:hover {
    border-color: rgba(255, 149, 0, 0.25);
}

.wiki-entry[open] {
    border-color: rgba(255, 149, 0, 0.35);
}

.wiki-entry-summary {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    user-select: none;
    transition: background 0.15s ease;
}

.wiki-entry-summary::-webkit-details-marker {
    display: none;
}

.wiki-entry-summary::before {
    content: '›';
    color: var(--accent);
    font-size: 18px;
    line-height: 1;
    flex-shrink: 0;
    transition: transform 0.15s ease;
}

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

.wiki-entry-summary:hover {
    background: var(--bg-raised);
}

.wiki-entry-body {
    padding: 0 18px 18px;
    border-top: 1px solid var(--border);
    padding-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 14px;
    line-height: 1.6;
    color: #cccccc;
}

.wiki-entry-body p {
    margin: 0;
}

.wiki-props {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.wiki-prop {
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 6px 12px;
    font-size: 12px;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.wiki-prop span {
    color: var(--text-muted);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.wiki-prop strong {
    color: var(--text);
    font-size: 13px;
}

.wiki-note {
    background: var(--accent-dim);
    border-left: 2px solid var(--accent);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 10px 14px;
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

.wiki-list {
    padding-left: 18px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    color: #cccccc;
}

.wiki-list li {
    font-size: 13px;
    line-height: 1.5;
}

.wiki-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.wiki-table th {
    text-align: left;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--text-muted);
    font-weight: 600;
    padding: 6px 10px;
    border-bottom: 1px solid var(--border);
}

.wiki-table td {
    padding: 8px 10px;
    border-bottom: 1px solid var(--border);
    color: #cccccc;
    vertical-align: top;
}

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

.wiki-table td:first-child {
    color: var(--text);
    font-weight: 500;
}

/* Blend cards */

.wiki-blend-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px 16px;
    background: var(--bg-raised);
    border-radius: var(--radius-sm);
}

.wiki-blend-ratio {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.wiki-blend-part {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 6px 14px;
}

.wiki-blend-name {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
}

.wiki-blend-num {
    font-size: 22px;
    font-weight: 700;
    color: var(--accent);
    line-height: 1.1;
}

.wiki-blend-sep {
    font-size: 18px;
    color: var(--text-muted);
    font-weight: 300;
    align-self: center;
    padding: 0 2px;
}

.wiki-blend-dose {
    font-size: 12px;
    color: var(--text-muted);
}

.wiki-blend-pct {
    color: var(--text-muted);
    opacity: 0.7;
}

.wiki-entry-ratio {
    font-size: 12px;
    font-weight: 500;
    color: var(--accent);
    background: var(--accent-dim);
    border-radius: 4px;
    padding: 1px 7px;
    margin-left: auto;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
    flex-shrink: 0;
}

@media (max-width: 780px) {
    .wiki-layout {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .wiki-toc {
        position: static;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 12px;
        padding-bottom: 28px;
        overflow-x: auto;
    }

    .wiki-toc-title {
        flex-shrink: 0;
        margin-bottom: 0;
    }

    .wiki-toc nav {
        flex-direction: row;
        gap: 4px;
    }

    .wiki-toc nav a {
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .wiki-entry-summary {
        padding: 12px 14px;
        font-size: 13px;
    }

    .wiki-entry-body {
        padding: 14px;
        padding-top: 14px;
    }
}

/* ── Loading state ──────────────────────────────────── */

.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    color: var(--text-muted);
    font-size: 14px;
    gap: 10px;
}

.spinner {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ── Responsive ─────────────────────────────────────── */

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

    .charts-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .page-hero {
        padding: 32px 0 24px;
        margin-bottom: 28px;
    }

    .page-hero h1 {
        font-size: 26px;
    }

    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .filter-search {
        width: 100%;
    }

    .journal-entry-summary {
        flex-direction: column;
        gap: 12px;
    }

    .journal-entry-right {
        flex-direction: row-reverse;
        justify-content: flex-end;
    }

    .journal-scores {
        gap: 16px;
    }
}

/* ── Phone (≤480px) ─────────────────────────────────── */

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    /* Header — tighten and shorten title */
    .header-inner {
        height: 48px;
    }

    .site-title {
        font-size: 13px;
    }

    .site-title span {
        display: none; /* "🍦 Analytics" instead of "🍦 Ice Cream Analytics" */
    }

    nav a {
        font-size: 13px;
        margin-left: 14px;
    }

    /* Stats */
    .stat-card {
        padding: 14px;
    }

    .stat-card .value {
        font-size: 22px;
    }

    /* Batch selector — drop the date column */
    .batch-list-item {
        grid-template-columns: 40px 1fr 32px;
    }

    .batch-item-date {
        display: none;
    }

    /* Journal cards */
    .journal-entry-summary {
        padding: 14px 16px;
    }

    .journal-entry-body {
        padding: 16px;
        padding-top: 16px;
    }

    .journal-entry-meta h2 {
        font-size: 17px;
    }

    .journal-score-item .score-num {
        font-size: 16px;
    }

    .journal-scores {
        gap: 10px;
    }

    .journal-metrics-row {
        gap: 6px;
    }
}
