/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */

:root {
    /* Colors - Light Theme */
    --color-background: #ffffff;
    --color-text: #333333;
    --color-text-secondary: #666666;
    --color-border: #dddddd;

    /* Colors - Dark Theme - Iggy Brand */
    --color-dark-background: #070C18;              /* Navy */
    --color-dark-border: #2C323A;                   /* Darker border for contrast */
    --color-dark-text: #F5F5F5;                    /* Cream text */
    --color-dark-text-secondary: #E0E0E0;
    --color-dark-input: #151b28;

    /* Spacing */
    --spacing-sm: 8px;
    --spacing-lg: 16px;
    --spacing-xxl: 24px;

    /* Layout */
    --border-radius: 4px;

    /* Typography */
    --font-size-sm: 14px;
    --font-size-md: 16px;

    /* Transitions */
    --transition-speed: 0.2s;

    /* App-wide tokens. The pages only use these. The older tokens above stay until the rules that
       still use them move over. */
    --bg: #ffffff;
    --accent: #ff9103;
    --accent-soft: rgba(255, 145, 3, 0.14);
    --accent-dim: rgba(255, 145, 3, 0.4);
    /* Text on an accent fill. Dark in both themes, because light text on the accent reads
       poorly. */
    --on-accent: #0b1220;
    --surface: rgba(255, 255, 255, 0.75);
    --border: rgba(0, 0, 0, 0.08);
    --grid-line: rgba(0, 0, 0, 0.05);
    --muted: #6a7280;
    --text: #0b1220;
    --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    /* Verdicts of a change against the previous version. */
    --better: #1a7f37;
    --better-soft: rgba(26, 127, 55, 0.12);
    --worse: #c62a2a;
    --worse-soft: rgba(198, 42, 42, 0.1);

    --top-bar-height: 56px;
    --section-nav-height: 52px;
    --page-max: 1180px;
    /* The width of the top bar's and the footer's content, which is wider than the page's. */
    --frame-max: 1320px;
    --gutter: 24px;
    --compare-tray-offset: 48px;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100vh;
    max-height: 100vh;
    overflow: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    display: flex;
    flex-direction: column;
}

#app {
    display: flex;
    flex-direction: column;
    height: 100vh;
    max-height: 100vh;
    overflow: hidden;
}

.top-bar { grid-area: bar; }

.content {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    background: var(--color-background);
    position: relative;
}

h3 {
    margin: 0 0 var(--spacing-sm) 0;
    font-size: var(--font-size-md);
    font-weight: 600;
    color: var(--color-text);
}

/* --- Unified Select Styles Start --- */

/* Define a general select style */
select {
    width: 100%;
    padding: var(--spacing-sm);
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
    background-color: var(--color-background);
    color: var(--color-text);
    font-size: var(--font-size-sm);
    margin: var(--spacing-sm) 0 var(--spacing-lg) 0;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: var(--select-arrow);
    background-repeat: no-repeat;
    background-position: right var(--spacing-sm) center;
    background-size: var(--spacing-lg);
    padding-right: var(--spacing-xxl);
    transition: background-image var(--transition-speed);
}

select:focus {
    outline: none;
    border-color: var(--color-border);
}

select option {
    background-color: var(--color-background);
    color: var(--color-text);
    padding: var(--spacing-sm);
}

/* Define select arrow using CSS variables for easy theme switching */
:root {
    --select-arrow: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
}

body.dark {
    /* Override variables for dark mode */
    --color-background: var(--color-dark-background);
    --color-text: var(--color-dark-text);
    --color-text-secondary: var(--color-dark-text-secondary);
    --color-border: var(--color-dark-border);

    --bg: #070c18;
    --surface: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 255, 255, 0.06);
    --grid-line: rgba(255, 255, 255, 0.05);
    --muted: #9ca3af;
    --text: #f5f5f5;
    --better: #63dc8a;
    --better-soft: rgba(99, 220, 138, 0.14);
    --worse: #ff7b72;
    --worse-soft: rgba(255, 123, 114, 0.14);

    /* Update select arrow color for dark mode */
    --select-arrow: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
}

/* Apply dark mode styles */
body.dark select {
    background-color: var(--color-dark-input);
    border-color: var(--color-dark-border);
    color: var(--color-dark-text);
}

body.dark select option {
    background-color: var(--color-dark-input);
    color: var(--color-dark-text);
}

.footer {
    background-color: var(--color-background);
    border-top: 1px solid var(--color-border);
    width: 100%;
    flex-shrink: 0;
}

.footer-inner {
    width: min(var(--frame-max), calc(100% - 2 * var(--gutter)));
    margin: 0 auto;
    padding: 10px 0;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 20px;
    font-size: 12px;
    color: var(--color-text-secondary);
}

.footer-brand {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.footer-brand-name {
    color: var(--color-text);
    font-weight: 700;
    letter-spacing: -0.01em;
}

.footer-links {
    display: inline-flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 150ms;
}

.footer-links a:hover {
    color: #ff9103;
}

.footer-meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 11px;
}

.footer-meta a {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 150ms;
}

.footer-meta a:hover {
    color: #ff9103;
}

.footer-version {
    padding: 2px 6px;
    background: var(--color-border);
    border-radius: 4px;
    color: var(--color-text);
    font-weight: 600;
    white-space: nowrap;
}

body.dark .footer-version {
    background: rgba(255, 255, 255, 0.06);
}

.footer-sep { opacity: 0.4; }

.footer-trademark {
    grid-column: 1 / -1;
    margin: 0;
    font-size: 11px;
    text-align: center;
}

.footer-tagline {
    font-size: 11px;
    color: var(--color-text-secondary);
    letter-spacing: 0.02em;
}

.footer-heart {
    color: #ef4444;
    font-size: 12px;
    margin: 0 2px;
    display: inline-block;
    animation: footer-heart-beat 2s ease-in-out infinite;
}

@keyframes footer-heart-beat {
    0%, 100% { transform: scale(1); }
    14% { transform: scale(1.15); }
    28% { transform: scale(1); }
    42% { transform: scale(1.15); }
    70% { transform: scale(1); }
}

body.dark .footer {
    background-color: var(--color-dark-background);
    border-top-color: var(--color-dark-border);
}

/* Below about 920px the meta row no longer fits on one line. Above it the row never wraps,
   below it the items stack, so no line ends with a separator. */
@media (max-width: 920px) {
    .footer-meta {
        flex-direction: column;
        gap: 4px;
    }
    .footer-sep {
        display: none;
    }
}

@media (max-width: 720px) {
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 8px;
        text-align: center;
    }
    .footer-links {
        justify-content: center;
    }
    .footer-meta {
        justify-content: center;
    }
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Mobile overrides kept at end of file so they win the cascade over
   later desktop rules declared with the same specificity. */
@media (max-width: 768px) {
    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 10px;
    }
    .footer-links { justify-content: center; }
    .footer-meta { justify-content: center; }

    html, body {
        height: auto !important;
        min-height: 100vh;
        max-height: none !important;
        overflow: auto !important;
    }
    #app {
        display: block;
        height: auto !important;
        min-height: 100vh;
        max-height: none !important;
        overflow: visible !important;
    }
}

/* The top bar of every page, and the parts the pages share. They only use the app-wide tokens.
   Glows are radial gradients, because blur filters slow down phones and screenshots. */
.top-bar {
    height: var(--top-bar-height);
    box-sizing: border-box;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    color: var(--text);
    position: relative;
    z-index: 30;
}

.top-bar-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    width: min(var(--frame-max), calc(100% - 2 * var(--gutter)));
    height: 100%;
    margin-inline: auto;
}

.top-bar-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    color: var(--text);
    font-size: 15px;
    font-weight: 650;
    letter-spacing: -0.01em;
    text-decoration: none;
    white-space: nowrap;
}

.top-bar-brand img {
    width: auto;
    height: 36px;
}

.top-bar-divider {
    width: 1px;
    height: 20px;
    background: var(--border);
}

.top-bar-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0 auto;
}

.top-bar-tab {
    padding: 8px 14px;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: var(--muted);
    font: inherit;
    font-size: 14px;
    font-weight: 550;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: color 150ms, background-color 150ms;
}

.top-bar-tab:hover {
    color: var(--text);
}

.top-bar-tab.active {
    color: var(--text);
    background: var(--accent-soft);
}

.top-bar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.top-bar-icon,
.top-bar-github {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 36px;
    box-sizing: border-box;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: var(--muted);
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: color 150ms, border-color 150ms;
}

.top-bar-icon {
    width: 36px;
    padding: 0;
}

.top-bar-github {
    padding: 0 12px;
    border-color: var(--border);
    color: var(--text);
}

.top-bar-github svg {
    width: 16px;
    height: 16px;
}

/* The count after a divider, in the accent color, as the project website shows it. */
.top-bar-github-stars {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding-left: 8px;
    border-left: 1px solid var(--border);
    color: var(--accent);
    font-variant-numeric: tabular-nums;
}

.top-bar-github .top-bar-github-stars svg {
    width: 13px;
    height: 13px;
}

.top-bar-icon:hover,
.top-bar-github:hover {
    color: var(--accent);
    border-color: var(--accent-dim);
}

.top-bar a:focus-visible,
.top-bar button:focus-visible,
.page a:focus-visible,
.page button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.page-frame {
    display: flex;
    flex-direction: column;
    height: 100vh;
    height: 100dvh;
    background: var(--bg);
    color: var(--text);
}

.page-frame > .top-bar {
    flex-shrink: 0;
}

.page-scroll {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    scroll-behavior: smooth;
}

/* Grows on a short page, so the footer stays at the bottom of the window. */
.page {
    display: block;
    flex: 1 0 auto;
    padding-bottom: 72px;
}

.page-container {
    width: min(var(--page-max), calc(100% - 2 * var(--gutter)));
    margin-inline: auto;
}

.page-head {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 40px 0 56px;
}

.page-head::before,
.page-head::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.page-head::before {
    background-image: radial-gradient(var(--grid-line) 1px, transparent 1px);
    background-size: 22px 22px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, black 40%, transparent 100%);
}

.page-head::after {
    background:
        radial-gradient(ellipse 55% 80% at 12% 0%, var(--accent-soft), transparent 70%),
        radial-gradient(ellipse 35% 60% at 88% 0%, var(--accent-soft), transparent 70%);
    opacity: 0.8;
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 36px;
    padding: 0;
    list-style: none;
    color: var(--muted);
    font-size: 13px;
}

.breadcrumbs li + li::before {
    content: "/";
    margin-right: 8px;
}

.breadcrumbs a {
    color: var(--muted);
    text-decoration: none;
}

.breadcrumbs a:hover,
.breadcrumbs [aria-current="page"] {
    color: var(--text);
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--accent);
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.page-title {
    margin: 0;
    font-size: clamp(36px, 6vw, 60px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.page-title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 20px;
}

.page-title-tag {
    padding: 5px 12px;
    border: 1px solid var(--accent-dim);
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent);
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    white-space: nowrap;
}

.page-lead {
    max-width: 680px;
    margin: 20px 0 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.6;
}

.section-nav {
    position: sticky;
    top: 0;
    z-index: 10;
    height: var(--section-nav-height);
    box-sizing: border-box;
    background: var(--bg);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-nav-row {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 100%;
    overflow-x: auto;
    scrollbar-width: none;
}

.section-nav-row::-webkit-scrollbar {
    display: none;
}

.section-nav-link {
    flex: none;
    padding: 8px 14px;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: var(--muted);
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: color 150ms, background-color 150ms;
}

.section-nav-link:hover {
    color: var(--text);
}

.section-nav-link.active {
    color: var(--text);
    background: var(--accent-soft);
}

.page-section {
    padding-top: 72px;
    scroll-margin-top: calc(var(--section-nav-height) + 8px);
}

.section-head {
    max-width: 760px;
    margin-bottom: 32px;
}

.section-title {
    margin: 0;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.section-note {
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.6;
}

.section-text {
    max-width: 760px;
    margin: 24px 0;
    font-size: 15px;
    line-height: 1.65;
}

.section-text a {
    color: var(--text);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--accent-dim);
    text-underline-offset: 3px;
    transition: text-decoration-color 150ms;
}

.section-text a:hover {
    text-decoration-color: var(--accent);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 16px;
    margin: 24px 0;
}

/* For cards of very different heights. Columns keep them packed, while a grid row would stretch
   every card to the tallest one. */
.card-columns {
    columns: 3 280px;
    column-gap: 16px;
    margin: 24px 0;
}

.card-columns > .card {
    break-inside: avoid;
    margin-bottom: 16px;
}

.card {
    min-width: 0;
    box-sizing: border-box;
    padding: 22px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
}

.page-section > .card + .card {
    margin-top: 16px;
}

.card h3 {
    margin: 0 0 10px;
    color: var(--text);
    font-size: 17px;
    letter-spacing: -0.01em;
}

.card p {
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.6;
}

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

.card .card-note {
    font-size: 13px;
}

.step-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: step;
}

.step {
    display: flex;
    flex-direction: column;
    counter-increment: step;
}

.step h3::before {
    content: counter(step);
    display: inline-grid;
    place-items: center;
    width: 26px;
    height: 26px;
    margin-right: 10px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent);
    font-family: var(--mono);
    font-size: 13px;
}

.step .command-block {
    margin-top: auto;
}

.command-block {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    min-width: 0;
    margin-top: 12px;
    padding: 4px 4px 4px 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: color-mix(in srgb, var(--text) 4%, transparent);
}

.command-block-text {
    flex: 1;
    min-width: 0;
    margin: 0;
    padding: 6px 0;
    background: none;
    color: var(--text);
    font-family: var(--mono);
    font-size: 12.5px;
    line-height: 1.5;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.command-word {
    display: inline-block;
    max-width: 100%;
}

code.flag {
    padding: 1px 5px;
    border-radius: 5px;
    background: color-mix(in srgb, var(--text) 6%, transparent);
    color: var(--text);
    font-family: var(--mono);
    font-size: 0.9em;
    white-space: nowrap;
}

.command-copy {
    flex: none;
    min-width: 64px;
    height: 30px;
    padding: 0 10px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg);
    color: var(--muted);
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: color 150ms, border-color 150ms;
}

.command-copy:hover,
.command-copy.copied {
    color: var(--accent);
    border-color: var(--accent-dim);
}

.kind-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

/* The kinds sit at the bottom of each card, so they line up across a row of cards whose texts
   have different lengths. */
.kind-card {
    display: flex;
    flex-direction: column;
}

.kind-card .kind-list {
    flex-direction: column;
    align-items: flex-start;
    margin-top: auto;
    padding-top: 4px;
}

/* Paragraphs in a card as wide as the page keep a line length that the eye can follow. */
.prose-card p,
.prose-card .rule-list,
.prose-card .badge-rule dd {
    max-width: 75ch;
}

/* The table is wider than the card's content by its cell padding, so its text lines up with the
   card's title and a hovered row's band reaches the card's padding. */
.option-table {
    width: calc(100% + 24px);
    margin: 16px -12px 0;
    border-collapse: collapse;
}

.option-table th,
.option-table td {
    padding: 14px 12px;
    border-top: 1px solid var(--border);
    text-align: left;
    vertical-align: top;
}

.option-table thead th {
    padding-top: 0;
    padding-bottom: 10px;
    border-top: 0;
    color: var(--muted);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.option-table tbody tr {
    transition: background-color 150ms;
}

.option-table tbody tr:hover {
    background: var(--grid-line);
}

.option-table tbody th,
.option-table .option-default {
    width: 1%;
    white-space: nowrap;
}

.option-table tbody th {
    padding-right: 32px;
    font-weight: normal;
}

.option-name {
    display: block;
    margin-bottom: 6px;
    color: var(--text);
    font-size: 14.5px;
    font-weight: 600;
}

.option-flags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.option-flags code.flag {
    font-size: 12.5px;
}

.option-table .option-default {
    padding-right: 32px;
    font-size: 13.5px;
}

.option-value {
    color: var(--text);
    font-family: var(--mono);
    font-size: 13px;
}

.option-unset {
    color: var(--muted);
}

.option-table .option-text p {
    max-width: 72ch;
    margin: 0;
}

/* On a phone, each option is a block: its name and flags, its default, then its text. */
@media (max-width: 720px) {
    .option-table,
    .option-table tbody,
    .option-table tr,
    .option-table tbody th,
    .option-table .option-default,
    .option-table td {
        display: block;
        width: auto;
    }

    .option-table thead {
        display: none;
    }

    .option-table tbody tr {
        padding: 12px 0;
        border-top: 1px solid var(--border);
    }

    .option-table tbody th,
    .option-table td {
        padding: 0 12px;
        border: 0;
        white-space: normal;
    }

    .option-table .option-default {
        display: flex;
        align-items: baseline;
        gap: 8px;
        margin: 10px 0 6px;
    }

    .option-table .option-default::before {
        content: attr(data-label);
        color: var(--muted);
        font-size: 12px;
        font-weight: 600;
    }
}

.kind-list code {
    padding: 3px 8px;
    border-radius: 6px;
    background: var(--accent-soft);
    color: var(--text);
    font-family: var(--mono);
    font-size: 12px;
    overflow-wrap: anywhere;
}

/* The badges sit side by side, each with its name above its rule, so the rules keep a short line
   in a card as wide as the page. */
.badge-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 20px 48px;
    margin: 20px 0 0;
}

.badge-rule {
    display: grid;
    gap: 8px;
    align-content: start;
    justify-items: start;
}

.badge-rule dt,
.badge-rule dd {
    margin: 0;
}

.badge-rule dd {
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.6;
}

.badge {
    display: inline-block;
    padding: 3px 10px;
    border: 1px solid var(--accent-dim);
    border-radius: 999px;
    color: var(--accent);
    font-family: var(--mono);
    font-size: 12px;
    white-space: nowrap;
}

.rule-list {
    display: grid;
    gap: 8px;
    margin: 0 0 16px;
    padding-left: 22px;
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.6;
}

/* The delta rule on the left and its thresholds on the right, so the text keeps a short line. */
.noise-card {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(260px, 2fr);
    gap: 24px 56px;
}

@media (max-width: 900px) {
    .noise-card {
        grid-template-columns: minmax(0, 1fr);
    }
}

.threshold-table {
    width: 100%;
    max-width: 560px;
    margin: 8px 0 16px;
    border-collapse: collapse;
    font-size: 14px;
}

.threshold-table th,
.threshold-table td {
    padding: 8px 12px 8px 0;
    border-bottom: 1px solid var(--border);
    text-align: left;
}

.threshold-table thead th {
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.threshold-table tbody th,
.threshold-table td {
    font-family: var(--mono);
}

.suite-list {
    display: grid;
    gap: 8px;
    margin: 12px 0;
    padding: 0;
    list-style: none;
}

.suite-list li {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 4px 12px;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 14px;
}

.suite-runs {
    color: var(--muted);
    font-family: var(--mono);
    white-space: nowrap;
}

.data-status {
    color: var(--muted);
    font-size: 14px;
}

.data-failed {
    padding-left: 10px;
    border-left: 3px solid var(--accent);
    color: var(--text);
}

.data-retry,
.explore-reset {
    padding: 6px 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface);
    color: var(--text);
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: color 150ms, border-color 150ms;
}

.data-retry {
    margin-left: 12px;
}

.data-retry:hover,
.explore-reset:hover {
    border-color: var(--accent-dim);
    color: var(--accent);
}

/* A page head's aside sits next to the text while both fit, and below it otherwise. */
.page-head-layout {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 28px 48px;
}

.page-head-text {
    flex: 1 1 520px;
    min-width: 0;
}

.explore-stats {
    flex: 0 1 440px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
}

.explore-stat {
    min-width: 0;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface);
}

.explore-stat dt {
    color: var(--muted);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.explore-stat dd {
    margin: 6px 0 0;
    color: var(--text);
    font-family: var(--mono);
    font-size: 20px;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.explore-controls {
    display: grid;
    gap: 12px;
    margin-bottom: 20px;
}

.explore-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.explore-scope {
    display: flex;
    height: 46px;
    padding: 3px;
    box-sizing: border-box;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
}

.explore-scope-option,
.explore-kind {
    border: 1px solid transparent;
    background: transparent;
    color: var(--muted);
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
}

.explore-scope-option {
    flex: 1;
    padding: 0 14px;
    border-radius: 9px;
}

.explore-scope-option:hover,
.explore-kind:hover {
    color: var(--text);
}

.explore-scope-option[aria-pressed="true"],
.explore-kind[aria-pressed="true"] {
    border-color: var(--accent-dim);
    background: var(--accent-soft);
    color: var(--text);
}

.explore-search {
    flex: 1 1 280px;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    height: 46px;
    padding: 0 12px;
    box-sizing: border-box;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
}

.explore-search:focus-within,
.explore-facet:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.explore-search-input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
    font: inherit;
    font-size: 14px;
}

.explore-search-input::placeholder {
    color: var(--muted);
}

.explore-search-key {
    padding: 2px 7px;
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--muted);
    font-family: var(--mono);
    font-size: 12px;
}

.explore-facets {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* The text and the select share the field's one cell. The select lies on top, invisible, so a
   click anywhere on the field opens it, and its widest option sets the field's width. */
.explore-facet {
    position: relative;
    display: grid;
    min-width: 0;
    max-width: 264px;
    height: 46px;
    box-sizing: border-box;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
    cursor: pointer;
}

.explore-facet::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 13px;
    width: 6px;
    height: 6px;
    border-right: 1.5px solid var(--muted);
    border-bottom: 1.5px solid var(--muted);
    transform: translateY(-70%) rotate(45deg);
    pointer-events: none;
}

.explore-facet > * {
    grid-area: 1 / 1;
}

.explore-facet-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 0 30px 0 12px;
}

.explore-facet-label {
    color: var(--muted);
    font-size: 11px;
    line-height: 1;
}

.explore-facet-value {
    overflow: hidden;
    padding-top: 2px;
    color: var(--text);
    font-size: 13px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.explore-facet-value .version-tag {
    display: inline-block;
    margin-top: 1px;
    padding: 0 6px;
    font-size: 12px;
}

/* Two classes, so these win over the global select rules. The padding and the font are the
   text's, so the select is as wide as the text of its widest option. */
.explore-facet .explore-select {
    width: 100%;
    min-width: 0;
    height: 100%;
    margin: 0;
    padding: 0 30px 0 12px;
    box-sizing: border-box;
    border: 0;
    border-radius: 0;
    background: transparent;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    opacity: 0;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.explore-facet .explore-select option {
    background: var(--bg);
    color: var(--text);
}

.explore-kinds {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.explore-kind {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 34px;
    padding: 0 12px;
    border-color: var(--border);
    border-radius: 10px;
    background: var(--surface);
}

.explore-kind-count {
    color: var(--muted);
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 500;
}

.explore-table {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--surface);
}

.explore-head,
.explore-row {
    display: grid;
    grid-template-columns:
        minmax(0, 2.6fr) minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr)
        minmax(0, 0.9fr) minmax(0, 0.8fr);
    gap: 16px;
    align-items: center;
    padding: 0 20px;
}

.explore-head {
    min-height: 42px;
    border-bottom: 1px solid var(--border);
    color: var(--muted);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.explore-rows {
    margin: 0;
    padding: 0;
    list-style: none;
}

.explore-rows > li + li {
    border-top: 1px solid var(--border);
}

.explore-row {
    position: relative;
    min-height: 76px;
    padding-block: 12px;
    color: var(--text);
    text-decoration: none;
    transition: background-color 150ms, box-shadow 150ms;
}

.explore-row:hover {
    background: var(--grid-line);
    box-shadow: inset 3px 0 0 var(--accent);
}

/* Inside the edge, because the table clips what lies outside it. */
.explore-rows .explore-row:focus-visible {
    outline-offset: -2px;
}

.explore-cell {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    font-size: 13px;
    overflow-wrap: anywhere;
}

.explore-run {
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.explore-run-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.explore-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
}

.explore-sub {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
}

.explore-main {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.explore-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.explore-date {
    color: var(--muted);
}

.family-mark {
    display: inline-grid;
    flex: none;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--family-soft);
    color: var(--family);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.family-producer {
    --family: #9a4f00;
    --family-soft: rgba(255, 145, 3, 0.14);
}

.family-consumer {
    --family: #0b63c4;
    --family-soft: rgba(20, 124, 229, 0.12);
}

.family-mixed {
    --family: #1a7f3c;
    --family-soft: rgba(36, 161, 72, 0.13);
}

.family-end-to-end {
    --family: #6d3fe0;
    --family-soft: rgba(139, 92, 246, 0.14);
}

body.dark .family-producer { --family: #ffab4a; }
body.dark .family-consumer { --family: #6cb4ff; }
body.dark .family-mixed { --family: #5fd086; }
body.dark .family-end-to-end { --family: #b69cff; }

.version-tag {
    align-self: flex-start;
    max-width: 100%;
    padding: 2px 8px;
    box-sizing: border-box;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-family: var(--mono);
    font-size: 12.5px;
    font-weight: 600;
}

.version-release {
    border-color: var(--accent-dim);
    background: var(--accent-soft);
    color: var(--text);
}

.version-build {
    color: var(--muted);
}

.explore-empty {
    padding: 56px 20px;
    border: 1px dashed var(--border);
    border-radius: 16px;
    text-align: center;
}

.explore-empty-title {
    margin: 0;
    color: var(--text);
    font-size: 18px;
    font-weight: 600;
}

.explore-empty-note {
    margin: 8px 0 18px;
    color: var(--muted);
    font-size: 14px;
}

/* Rows become cards, and each fact shows its label. */
@media (max-width: 720px) {
    .explore-search {
        order: -1;
        flex-basis: 100%;
    }

    .explore-search-key {
        display: none;
    }

    .explore-scope,
    .explore-toolbar > .explore-facet {
        flex: 1 1 140px;
    }

    .explore-facets {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .explore-facet {
        max-width: none;
    }

    .explore-table {
        overflow: visible;
        border: 0;
        border-radius: 0;
        background: transparent;
    }

    .explore-head {
        display: none;
    }

    .explore-rows {
        display: grid;
        gap: 10px;
    }

    .explore-rows > li + li {
        border-top: 0;
    }

    .explore-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
        gap: 12px;
        padding: 14px;
        border: 1px solid var(--border);
        border-radius: 14px;
        background: var(--surface);
    }

    .explore-run,
    .explore-date {
        grid-column: 1 / -1;
    }

    .explore-run {
        align-items: flex-start;
    }

    .explore-label.visually-hidden {
        position: static;
        width: auto;
        height: auto;
        margin: 0;
        overflow: visible;
        clip: auto;
        white-space: normal;
        color: var(--muted);
        font-size: 11px;
        font-weight: 600;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }
}

/* A row's compare toggle sits over the row's right edge, outside its link, so a click on the toggle
   doesn't open a run. */
.explore-rows > li {
    position: relative;
}

.explore-head,
.explore-row {
    padding-right: 64px;
}

.compare-toggle {
    position: absolute;
    top: 50%;
    right: 16px;
    display: inline-grid;
    place-items: center;
    width: 32px;
    height: 32px;
    padding: 0;
    transform: translateY(-50%);
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    color: var(--muted);
    cursor: pointer;
    transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}

.compare-toggle:hover:not(:disabled),
.compare-toggle:focus-visible {
    border-color: var(--accent-dim);
    color: var(--accent);
}

.compare-toggle[aria-pressed="true"] {
    border-color: var(--accent);
    background: var(--accent-soft);
    color: var(--accent);
}

.compare-toggle:disabled {
    cursor: not-allowed;
    opacity: 0.4;
}

/* The tray floats over the end of the page, so the page leaves room for it there: its height
   with two lines of runs, its offset and a gap. */
.compare-tray-space {
    height: calc(108px + var(--compare-tray-offset));
}

.compare-tray {
    position: fixed;
    bottom: var(--compare-tray-offset);
    left: 50%;
    z-index: 40;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
    width: min(760px, calc(100% - 2 * var(--gutter)));
    padding: 12px 16px;
    transform: translateX(-50%);
    border: 1px solid var(--accent-dim);
    border-radius: 14px;
    background: var(--bg);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
    animation: compare-tray-in 0.3s ease-out;
}

/* From below the screen, at the tray's offset, which also centers it. */
@keyframes compare-tray-in {
    from {
        transform: translate(-50%, calc(100% + var(--compare-tray-offset)));
    }
}

.compare-tray-count {
    display: flex;
    flex-direction: column;
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}

.compare-tray-count strong {
    color: var(--text);
    font-size: 15px;
}

.compare-tray-runs {
    display: flex;
    flex: 1 1 260px;
    flex-wrap: wrap;
    gap: 6px;
    min-width: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.compare-tray-run {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    max-width: 100%;
    padding: 3px 4px 3px 10px;
    border: 1px solid var(--border);
    border-radius: 999px;
    font-family: var(--mono);
    font-size: 12px;
}

.compare-tray-run span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.compare-tray-run button {
    display: inline-grid;
    flex: none;
    place-items: center;
    width: 22px;
    height: 22px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: none;
    color: var(--muted);
    cursor: pointer;
}

.compare-tray-run button:hover,
.compare-tray-run button:focus-visible {
    background: var(--border);
    color: var(--text);
}

.compare-tray-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.compare-tray-hint {
    color: var(--muted);
    font-size: 13px;
}

/* The tray scopes the rules, so they win over the later .run-action rules. */
.compare-tray .compare-tray-go {
    border-color: var(--accent);
    background: var(--accent);
    color: var(--on-accent);
}

.compare-tray .compare-tray-go:hover,
.compare-tray .compare-tray-go:focus-visible {
    color: var(--on-accent);
    box-shadow: 0 0 0 3px var(--accent-dim);
}

@media (max-width: 720px) {
    .explore-row {
        padding-right: 56px;
    }

    .compare-toggle {
        top: 14px;
        right: 14px;
        transform: none;
    }

    :root {
        --compare-tray-offset: 24px;
    }

    .compare-tray-space {
        height: calc(112px + var(--compare-tray-offset));
    }

    .compare-tray {
        padding: 10px 12px;
    }

    /* The picked runs get their own line below the count and the actions, and scroll sideways, so
       the tray stays two rows high. */
    .compare-tray-runs {
        order: 1;
        flex-basis: 100%;
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .compare-tray-run {
        flex: none;
    }
}

/* Run page */
.run-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 14px;
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 13px;
}

.run-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    font: inherit;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.15s ease, color 0.15s ease;
}

.run-action:hover,
.run-action:focus-visible,
.run-action.active {
    border-color: var(--accent-dim);
    color: var(--accent);
}

.page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.run-headlines {
    padding-bottom: 40px;
}

/* Four columns, so a run without a rate limit shows its one number at the width of the others. */
.run-kpis {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.run-kpi {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    min-width: 0;
    padding: 18px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
}

.run-kpi-label {
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: help;
}

.run-kpi-value {
    color: var(--text);
    font-size: 26px;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}

.run-kpi small {
    color: var(--muted);
    font-size: 12.5px;
}

.run-change-wrap {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
}

.run-change {
    padding: 2px 7px;
    border-radius: 6px;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
    font-weight: 650;
    white-space: nowrap;
    cursor: help;
}

.run-change-better {
    background: var(--better-soft);
    color: var(--better);
}

.run-change-worse {
    background: var(--worse-soft);
    color: var(--worse);
}

.run-change-gray {
    background: var(--border);
    color: var(--muted);
}

.run-change-note {
    color: var(--muted);
    font-size: 12px;
}

.run-note {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}

.run-banner {
    margin: 14px 0 0;
    padding: 12px 16px;
    background: var(--worse-soft);
    border-left: 3px solid var(--worse);
    border-radius: 10px;
    color: var(--text);
    font-size: 14px;
    line-height: 1.5;
}

.run-badges {
    display: grid;
    gap: 8px;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}

.run-badges li {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 10px;
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.5;
}

.run-charts,
.run-related {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
    gap: 16px;
}

.run-chart {
    position: relative;
    width: 100%;
    height: 340px;
}

/* A chart with many lines and a zoom slider, which takes the whole row. */
.run-chart-tall {
    height: 480px;
}

.run-chart-canvas {
    width: 100%;
    height: 100%;
}

/* Over the chart, so a status replaces it, and clicks pass through to the chart. */
.run-chart-status {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    pointer-events: none;
}

.run-chart-status > * {
    pointer-events: auto;
}

.run-chart-card .card-note {
    margin: 12px 0 0;
}

.run-ladder-card {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 8px 40px;
    align-items: start;
}

.run-ladder-card h3 {
    grid-column: 1 / -1;
}

.run-ladder {
    margin: 0;
    padding: 0;
    list-style: none;
}

.run-ladder-row {
    display: grid;
    grid-template-columns: 56px minmax(48px, 1fr) 84px 210px;
    align-items: center;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid var(--border);
    font-size: 13.5px;
}

.run-ladder-plain .run-ladder-row {
    grid-template-columns: 56px minmax(48px, 1fr) 84px;
}

.run-ladder-plain .run-ladder-change {
    display: none;
}

.run-ladder-label {
    color: var(--muted);
}

.run-ladder-row strong {
    font-variant-numeric: tabular-nums;
    text-align: right;
}

.run-ladder-track {
    height: 10px;
    overflow: hidden;
    background: var(--grid-line);
    border-radius: 6px;
}

.run-ladder-track i {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--accent-dim), var(--accent));
    border-radius: 6px;
}

.run-ladder-key .run-ladder-label,
.run-ladder-key strong {
    color: var(--accent);
    font-weight: 700;
}

.run-facts {
    margin: 0;
}

.run-facts div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 9px 0;
    border-bottom: 1px solid var(--border);
    font-size: 13.5px;
}

.run-facts div:last-child {
    border-bottom: 0;
}

.run-facts dt {
    flex: none;
    color: var(--muted);
}

.run-facts dd {
    min-width: 0;
    margin: 0;
    font-weight: 600;
    text-align: right;
    overflow-wrap: anywhere;
}

.run-command {
    margin-bottom: 24px;
}

.run-command-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 8px;
    font-size: 13.5px;
    font-weight: 600;
}

.run-tag {
    padding: 1px 8px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--muted);
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 400;
    cursor: help;
}

/* The embed code opens in its card, below the button that shows it. The grid spaces its parts, so
   the code block drops its own margin, and a link stays as wide as its text. */
.embed-code {
    display: grid;
    gap: 12px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.embed-code .command-block {
    margin-top: 0;
}

.embed-code .run-action {
    justify-self: start;
}

/* A table wider than the screen scrolls inside its card, not the page. The card is positioned, so
   it also clips the hidden column labels, which are absolute. */
.run-table-card {
    position: relative;
    overflow-x: auto;
}

.run-charts + .run-table-card,
.run-chart-card + .run-table-card {
    margin-top: 16px;
}

.run-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
}

.run-table th,
.run-table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    white-space: nowrap;
}

.run-table th {
    padding-top: 0;
    color: var(--muted);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.run-table tbody tr:last-child td {
    border-bottom: 0;
}

.run-table .run-table-number {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.run-table .run-table-link {
    text-align: right;
}

.run-table-link a {
    color: var(--text);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--accent-dim);
    text-underline-offset: 3px;
}

.run-table-link a:hover {
    text-decoration-color: var(--accent);
}

.run-table-link a + a {
    margin-left: 14px;
}

.run-table-mono {
    font-family: var(--mono);
    font-size: 12.5px;
}

.run-table-current {
    background: var(--accent-soft);
}

.run-table-current td:first-child {
    box-shadow: inset 3px 0 0 var(--accent);
}

.run-table .badge + .badge {
    margin-left: 6px;
}

.run-related {
    align-items: start;
}

.run-advanced > summary {
    padding: 16px 22px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    font-weight: 600;
    cursor: pointer;
}

.run-advanced-body {
    display: grid;
    gap: 16px;
    margin-top: 16px;
}

/* The grid spaces the section's parts, so their own margins would add to its gap. */
.run-advanced-body > .section-text,
.run-advanced-body > .card-columns {
    margin: 0;
}

/* The page fits at most two chart cards in a row, so an odd last card takes the whole row. */
.run-advanced .run-chart-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}

/* Compare */
.compare-head {
    display: grid;
    gap: 16px;
    padding-bottom: 32px;
}

.compare-head > .data-status {
    margin: 0;
}

.compare-level-like {
    --level-color: var(--better);
    --level-soft: var(--better-soft);
}

.compare-level-environment {
    --level-color: var(--accent);
    --level-soft: var(--accent-soft);
}

.compare-level-parameters {
    --level-color: var(--muted);
    --level-soft: var(--grid-line);
}

.compare-level-different {
    --level-color: var(--worse);
    --level-soft: var(--worse-soft);
}

.compare-summary {
    display: grid;
    gap: 6px;
    border-left: 4px solid var(--level-color);
}

.compare-summary .eyebrow {
    margin: 0;
}

.compare-summary-level {
    color: var(--level-color);
    font-size: 22px;
    letter-spacing: -0.01em;
}

.compare-summary-runs {
    margin: 0;
    padding: 0;
    list-style: none;
}

.compare-summary-run {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 24px;
    padding: 12px 0 0;
    border-top: 1px solid var(--border);
}

.compare-summary-run + .compare-summary-run {
    margin-top: 12px;
}

/* Run names are about the same length, so a minimum width puts the changes in columns. */
.compare-summary-name {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 14em;
    font-weight: 600;
}

.compare-summary-change {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
    color: var(--muted);
    font-size: 13px;
}

.compare-level {
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--level-soft);
    color: var(--level-color);
    font-size: 12px;
    font-weight: 650;
}

.compare-baseline {
    border: 1px solid var(--series-color);
    color: var(--series-color);
}

.compare-runs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.compare-run {
    display: flex;
    flex-direction: column;
    border-top: 3px solid var(--series-color);
}

.compare-run-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.series-swatch {
    display: inline-block;
    flex: none;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--series-color);
}

.compare-run-title {
    margin: 12px 0 6px;
    font-size: 17px;
    line-height: 1.3;
}

.compare-run-meta {
    margin-bottom: 8px;
}

.compare-run-conditions {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}

.compare-run-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 16px;
}

.compare-run-add {
    justify-content: center;
    align-items: flex-start;
    gap: 12px;
    border-style: dashed;
    color: var(--muted);
}

.compare-run-add p,
.compare-ask {
    margin: 0;
}

.compare-ask {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    color: var(--muted);
}

.compare-table tbody th {
    padding-top: 10px;
    color: var(--text);
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    vertical-align: top;
}

/* Long values, such as a CPU name, wrap instead of widening the table. A cell with a chip is taller
   than its neighbors, so every cell starts at the top, and a row's values stay on one line. */
.compare-table td {
    vertical-align: top;
    white-space: normal;
}

.compare-table tbody tr:last-child th {
    border-bottom: 0;
}

/* A run is named by its id, which reads in lower case everywhere else. */
.compare-table .compare-run-head {
    text-transform: none;
    letter-spacing: 0;
}

.compare-run-head .series-swatch {
    margin-right: 6px;
}

.compare-run-head small {
    display: block;
    color: var(--muted);
    font-size: 10px;
}

.compare-value {
    display: block;
}

/* The value and the change sit in fixed slots, so the values and the changes each line up down a
   column. */
.compare-cell {
    display: inline-grid;
    grid-template-columns: minmax(5.5em, auto) 4.5em;
    align-items: center;
    gap: 8px;
    font-variant-numeric: tabular-nums;
}

.compare-cell .compare-value {
    text-align: right;
}

.compare-cell-change {
    justify-self: start;
}

.compare-table-note {
    margin: 12px 0 0;
    padding: 0 8px;
}

/* On a wide screen, the run columns take only the width of their values and the metric names take
   the rest, so a row's results sit close together on the right. */
@media (min-width: 721px) {
    .compare-latency-table th:not(:first-child),
    .compare-latency-table td {
        width: 1%;
        padding-left: 48px;
    }
}

/* A light band under the pointer guides the eye across a row. */
.compare-latency-table tbody tr {
    transition: background-color 150ms;
}

.compare-latency-table tbody tr:hover {
    background: var(--grid-line);
}

/* The throughput chart of a run page or a compare page takes most of the row, and the rates of
   each line sit in a narrow card beside it. */
.chart-with-card {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(240px, 1fr);
    gap: 16px;
}

.rates-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Each line of the chart takes two columns: its name and rate on the left, its change and message
   rate on the right, so the rates of all lines line up down the card. */
.rates-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: baseline;
    gap: 4px 12px;
    padding: 16px 0;
    border-top: 1px solid var(--border);
}

.rates-row:first-child {
    padding-top: 6px;
    border-top: 0;
}

.rates-name {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
}

.rates-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rates-change {
    justify-self: end;
}

.rates-baseline {
    color: var(--muted);
    font-size: 11px;
    font-weight: 650;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.rates-value {
    color: var(--text);
    font-size: 24px;
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.rates-messages {
    justify-self: end;
    color: var(--muted);
    font-size: 12px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

/* The bar's length is the line's rate against the fastest line in the card. */
.rates-bar {
    grid-column: 1 / -1;
    height: 4px;
    margin-top: 6px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--border);
}

.rates-bar > span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--series-color);
}

/* Below this width the chart would get too narrow, so the card goes under it. */
@media (max-width: 900px) {
    .chart-with-card {
        grid-template-columns: minmax(0, 1fr);
    }
}

.compare-report-rows tr:first-child th,
.compare-report-rows tr:first-child td {
    border-top: 2px solid var(--border);
}

.compare-table .compare-part th {
    padding-top: 18px;
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.compare-differs th {
    box-shadow: inset 3px 0 0 var(--accent);
}

.compare-cell-differs {
    background: var(--accent-soft);
    font-weight: 600;
}

/* On a phone, a table's columns don't fit, so each row becomes a block: its label, then one line
   per cell. The head is hidden, and each cell names its column from data-label. A row's label is
   its header cell, or else its first cell. The rule comes after every table's desktop rules, so it
   wins over them. */
@media (max-width: 720px) {
    .run-table,
    .run-table tbody,
    .run-table tr,
    .run-table th,
    .run-table td:first-child {
        display: block;
    }

    .run-table thead {
        display: none;
    }

    .run-table tr {
        padding: 10px 0;
        border-bottom: 1px solid var(--border);
    }

    .run-table tr:last-child {
        border-bottom: 0;
    }

    .run-table th,
    .run-table td,
    .run-table tbody th,
    .compare-table .compare-report-rows tr:first-child th,
    .compare-table .compare-report-rows tr:first-child td {
        padding: 3px 8px;
        border: 0;
        white-space: normal;
    }

    .compare-table .compare-report-rows tr:first-child {
        border-top: 2px solid var(--border);
    }

    .compare-table .compare-part th {
        padding-top: 8px;
    }

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

    /* A value too long for its column's line moves to its own line, on the right. */
    .run-table td {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-end;
        align-items: center;
        gap: 2px 8px;
        border-radius: 6px;
    }

    /* A cell without a value, as in a run without badges, would show its label alone. */
    .run-table td:empty {
        display: none;
    }

    /* Only a runs compare cell has a run color. Its swatch and run name are ordered first, ahead of
       the cell's value. */
    .run-table td[style*="--series-color"]::before {
        content: "";
        order: -2;
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: var(--series-color);
    }

    .run-table td::after {
        content: attr(data-label);
        flex: 1 1 auto;
        order: -1;
        color: var(--muted);
        text-align: left;
        font-size: 12px;
        font-weight: 600;
    }

    .run-table .run-change-wrap {
        display: contents;
    }

    .run-table .run-change-note {
        flex-basis: 100%;
        text-align: right;
    }

    /* A compare cell's value and change join the line of its run's name. */
    .compare-cell {
        display: contents;
    }

    /* The baseline's slot stays empty but keeps its width, so its value lines up with the others. */
    .compare-cell-change {
        flex: 0 0 4.5em;
    }

    /* A run's name gives way to its value and change, and wraps, so a row keeps them on one line. */
    .compare-latency-table td::after {
        flex: 1 1 0;
        min-width: 0;
    }

    /* A row's mark runs down the whole block instead of stopping at its first line. */
    .compare-differs,
    .run-table-current {
        box-shadow: inset 3px 0 0 var(--accent);
    }

    .compare-differs th,
    .run-table-current td:first-child {
        box-shadow: none;
    }
}

/* Releases compare. One column as wide as the page, so the wide table scrolls inside its card
   instead of widening the page. */
.release-page {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding-top: 8px;
}

.release-page > .data-status {
    margin: 0;
}

.release-page > .page-section {
    padding-top: 40px;
}

.release-summary-worse {
    --level-color: var(--worse);
}

.release-summary-better {
    --level-color: var(--better);
}

.release-summary-calm {
    --level-color: var(--muted);
}

/* The workload count isn't a verdict, so only the border takes the color of the strongest change.
   */
.compare-summary .release-summary-total {
    color: var(--text);
}

.release-summary-counts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 4px 0 0;
    padding: 0;
    list-style: none;
}

/* A count isn't a change, so it has no ranges to show on hover. */
.release-summary-counts .run-change {
    cursor: default;
}

.release-sub {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 400;
}

.release-runs .release-sub {
    white-space: nowrap;
}

/* A long workload title wraps, like the compare table's values. */
.release-table tbody th {
    white-space: normal;
}

@media (max-width: 720px) {
    .release-controls > :first-child {
        grid-column: 1 / -1;
    }

    .release-table td .release-sub {
        flex-basis: 100%;
        margin-top: 0;
        text-align: right;
    }
}

/* Overview */
.overview-cards {
    margin-top: 0;
}

.overview-card-run,
.overview-card-conditions {
    margin: 0;
    line-height: 1.45;
}

.overview-card-run {
    margin-top: 6px;
    color: var(--text);
    font-size: 13.5px;
    font-weight: 600;
}

.overview-card-conditions {
    color: var(--muted);
    font-size: 12.5px;
}

/* At the foot of each card, so the links in a row line up. */
.overview-card-link {
    margin-top: auto;
    padding-top: 8px;
    color: var(--text);
    font-size: 13px;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--accent-dim);
    text-underline-offset: 3px;
}

.overview-card-link:hover {
    text-decoration-color: var(--accent);
}

.overview-version-value {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-variant-numeric: tabular-nums;
}

.overview-release-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 14px;
}

@media (max-width: 720px) {
    .run-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .run-kpi { padding: 14px 16px; }
    .run-kpi-value { font-size: 22px; }
    .run-chart { height: 280px; }
    .run-chart-tall { height: 360px; }
    .run-ladder-card { grid-template-columns: minmax(0, 1fr); }
    .run-ladder-row { grid-template-columns: 48px minmax(40px, 1fr) 76px; }
    .run-ladder-change { grid-column: 2 / -1; }
    .run-ladder-change:empty { display: none; }
}

@media (max-width: 768px) {
    :root {
        --top-bar-height: 92px;
        --gutter: 16px;
    }

    .top-bar-inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-rows: 48px minmax(0, 1fr);
        grid-template-areas:
            "brand actions"
            "nav   nav";
        gap: 0 8px;
    }

    .top-bar-brand { grid-area: brand; }
    .top-bar-actions { grid-area: actions; }

    .top-bar-brand img { height: 30px; }

    .top-bar-nav {
        grid-area: nav;
        margin: 0 calc(-1 * var(--gutter));
        padding: 0 var(--gutter);
        overflow-x: auto;
        scrollbar-width: none;
    }

    .top-bar-nav::-webkit-scrollbar { display: none; }

    /* 36px wide with the mark alone, as the theme button. */
    .top-bar-github { padding: 0 9px; }
    .top-bar-github-label { display: none; }

    .page-head { padding: 24px 0 40px; }
    .page-lead { font-size: 16px; }
    .page-section { padding-top: 56px; }
    .card { padding: 18px; }
    .badge-rule { grid-template-columns: 1fr; gap: 6px; }
}

/* The brand and the badge with its count need about 380px, so a narrower phone shows the mark alone. */
@media (max-width: 379px) {
    .top-bar-github-stars { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .page-scroll { scroll-behavior: auto; }

    .top-bar-tab,
    .top-bar-icon,
    .top-bar-github,
    .section-nav-link,
    .command-copy,
    .data-retry,
    .explore-reset,
    .explore-row,
    .run-action {
        transition: none;
    }

    .compare-tray {
        animation: none;
    }
}

/* Framework marks. Each framework has its own color, so a page and a screenshot of it tell which
   tool measured the numbers. The OMB color stays apart from the accent and from the colors of a
   better or worse change. */
:root {
    --iggy-bench: #9a4f00;
    --omb: #0f766e;
    --omb-soft: rgba(20, 184, 166, 0.12);
    --omb-dim: rgba(15, 118, 110, 0.35);
}

body.dark {
    --iggy-bench: #ffab4a;
    --omb: #2dd4bf;
    --omb-soft: rgba(45, 212, 191, 0.12);
    --omb-dim: rgba(45, 212, 191, 0.4);
}

/* The first two line colors of the ECharts theme, so a card can mark the line it describes. */
:root {
    --series-1: #5470c6;
    --series-2: #91cc75;
}

body.dark {
    --series-1: #4992ff;
    --series-2: #7cffb2;
}

.framework-chip {
    display: inline-flex;
    flex: none;
    align-items: center;
    padding: 2px 9px;
    border: 1px solid var(--framework-dim);
    border-radius: 999px;
    background: var(--framework-soft);
    color: var(--framework);
    font-family: var(--mono);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.5;
    white-space: nowrap;
    cursor: help;
}

.framework-iggy-bench {
    --framework: var(--iggy-bench);
    --framework-soft: var(--accent-soft);
    --framework-dim: var(--accent-dim);
}

.framework-omb {
    --framework: var(--omb);
    --framework-soft: var(--omb-soft);
    --framework-dim: var(--omb-dim);
}

.omb-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
    max-width: 760px;
    margin: 24px 0 0;
    padding: 14px 18px;
    box-sizing: border-box;
    border: 1px solid var(--omb-dim);
    border-left: 4px solid var(--omb);
    border-radius: 12px;
    background: var(--omb-soft);
}

.omb-banner-text {
    flex: 1 1 360px;
    min-width: 0;
    margin: 0;
    color: var(--text);
    font-size: 14px;
    line-height: 1.55;
}

.omb-banner-link {
    color: var(--omb);
    font-size: 13.5px;
    font-weight: 650;
    text-decoration: underline;
    text-underline-offset: 3px;
    white-space: nowrap;
}

.omb-banner-link:hover {
    text-decoration-thickness: 2px;
}

.omb-driver {
    padding: 2px 8px;
    border: 1px solid var(--omb-dim);
    border-radius: 6px;
    color: var(--text);
    font-family: var(--mono);
    font-size: 12.5px;
    font-weight: 600;
    white-space: nowrap;
}

/* The Methodology tables about OMB: a topic per row, then text in each cell. */
.omb-fact-table {
    width: calc(100% + 24px);
    margin: 16px -12px 0;
    border-collapse: collapse;
    font-size: 14px;
    line-height: 1.55;
}

.omb-fact-table th,
.omb-fact-table td {
    padding: 12px;
    border-top: 1px solid var(--border);
    text-align: left;
    vertical-align: top;
}

.omb-fact-table thead th {
    padding-top: 0;
    padding-bottom: 10px;
    border-top: 0;
    color: var(--muted);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.omb-fact-table tbody th {
    width: 24%;
    color: var(--text);
    font-weight: 600;
}

.omb-fact-table td {
    color: var(--muted);
}

/* On a phone, each row is a block: its topic, then each cell under its column name. */
@media (max-width: 720px) {
    .omb-banner {
        padding: 12px 14px;
    }

    .omb-banner-text {
        flex-basis: 100%;
        font-size: 13.5px;
    }

    .omb-fact-table,
    .omb-fact-table tbody,
    .omb-fact-table tr,
    .omb-fact-table th,
    .omb-fact-table td {
        display: block;
        width: auto;
    }

    .omb-fact-table thead {
        display: none;
    }

    .omb-fact-table tbody tr {
        padding: 10px 0;
        border-top: 1px solid var(--border);
    }

    .omb-fact-table tbody th,
    .omb-fact-table td {
        padding: 2px 12px;
        border: 0;
    }

    .omb-fact-table td[data-label]::before {
        content: attr(data-label);
        display: block;
        margin-top: 8px;
        color: var(--muted);
        font-size: 11px;
        font-weight: 600;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }
}

/* OMB run list */
/* The Explore table with seven columns: the workload, the setup, the version, three numbers and
   the date. Two classes, so these win over the Explore grid, and the phone rule below repeats the
   card grid for the same reason. */
.omb-runs-table .explore-head,
.omb-runs-table .explore-row {
    grid-template-columns:
        minmax(0, 2.3fr) minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 0.9fr)
        minmax(0, 0.9fr) minmax(0, 0.95fr) minmax(0, 0.8fr);
}

.omb-runs-date {
    color: var(--muted);
}

.omb-runs-missing {
    color: var(--muted);
    font-weight: 500;
}

@media (max-width: 720px) {
    .omb-runs-table .explore-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* OMB run page */
/* The source of the run time, after the time itself, and the estimated start of a run whose file
   only gives its end. */
.omb-run-time-source {
    color: var(--muted);
}

.omb-run-estimate {
    font-style: italic;
    cursor: help;
}

/* The latency charts over the run, one below the other at full width, as on the compare page. */
.omb-run-charts {
    display: grid;
    gap: 16px;
}

/* The publish and end-to-end ladders, one below the other, so each keeps the width of the
   iggy-bench ladder. */
.omb-run-ladders {
    display: grid;
    gap: 16px;
}

.omb-run-related-actions {
    margin: 16px 0 0;
}

/* What OMB leaves out of every result, as a plain list in its card. */
.omb-run-unrecorded {
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

.omb-run-unrecorded li + li {
    margin-top: 6px;
}

/* OMB compare page */
/* An unknown setup is no difference that the page knows of, so it stays gray, apart from the
   accent of a setup that differs. */
.omb-compare-level-unknown {
    --level-color: var(--muted);
    --level-soft: var(--grid-line);
}

.omb-compare-time-source {
    color: var(--muted);
    font-size: 12px;
}

/* The nines axis has eight labels, which crowd on a half-width card, so each curve takes the
   full width as on the run page. */
.omb-compare-curves {
    display: grid;
    gap: 16px;
}

.omb-compare-environment {
    margin-top: 4px;
}

/* A number that a run didn't measure reads as a note, not as a value. It stays on one line, so
   its row keeps the height of the rows with numbers. */
.omb-missing {
    color: var(--muted);
    font-style: italic;
    white-space: nowrap;
}

/* The consume rate takes a line of its own under the publish rates, with its change at the end. */
.omb-compare-consume {
    display: flex;
    flex-wrap: wrap;
    grid-column: 1 / -1;
    justify-content: space-between;
    align-items: center;
    gap: 4px 8px;
    color: var(--muted);
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}

.omb-compare-notes {
    margin-top: 6px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}

.omb-compare-notes p {
    margin: 0;
}

.omb-compare-notes p + p {
    margin-top: 4px;
}
