.hero-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-info-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.hero-info-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 1px solid rgba(23, 33, 29, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--brand);
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
    flex: 0 0 auto;
}

.hero-info-button:hover {
    background: rgba(13, 143, 113, 0.12);
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(20, 30, 28, 0.1);
}

.hero-info-button:focus-visible {
    outline: 2px solid rgba(13, 143, 113, 0.35);
    outline-offset: 2px;
}

.hero-info-button-secondary {
    color: #8a4b0f;
    border-color: rgba(138, 75, 15, 0.16);
    background: rgba(255, 246, 230, 0.88);
}

.hero-info-button-secondary:hover {
    background: rgba(232, 158, 33, 0.16);
}

.hero-info-button-secondary:focus-visible {
    outline-color: rgba(232, 158, 33, 0.35);
}

.panel-header,
.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.section-sub {
    margin: 2px 0 0;
    font-size: 0.78rem;
    color: var(--muted, #888);
    font-weight: 400;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: var(--brand-soft);
    color: var(--brand);
    font-size: 0.84rem;
    font-weight: 700;
}

.loading-panel {
    display: grid;
    gap: 8px;
    margin: 12px 0 16px;
}

.loading-panel[hidden] {
    display: none !important;
}

.loading-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.92rem;
}

.loading-meta strong {
    font-size: 0.94rem;
}

.loading-track {
    overflow: hidden;
    width: 100%;
    height: 10px;
    border-radius: 999px;
    background: rgba(23, 33, 29, 0.08);
}

.loading-bar {
    width: 0%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--brand) 0%, var(--accent) 100%);
    transition: width 180ms ease;
}

.slider-label,
.meta-label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

input[type="range"] {
    width: 100%;
    margin: 8px 0 12px;
    accent-color: var(--brand);
}

.run-select {
    width: 100%;
    margin: 8px 0 12px;
    padding: 12px 14px;
    border: 1px solid rgba(23, 33, 29, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text);
    font: inherit;
}

.hidden-control {
    display: none !important;
}

[hidden] {
    display: none !important;
}

.results-table-wrap {
    overflow-x: auto;
    overflow-y: auto;
    margin: 8px 0 12px;
    border: 1px solid rgba(23, 33, 29, 0.08);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.7);
    max-height: 26vh;
}

.results-table {
    width: 100%;
    min-width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
}

.results-table th,
.results-table td {
    padding: 10px 10px;
    text-align: left;
    border-bottom: 1px solid rgba(23, 33, 29, 0.08);
    white-space: nowrap;
}

.results-table th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: rgba(255, 248, 234, 0.98);
    font-size: 0.74rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
}

.results-table tbody tr {
    transition: background 160ms ease, color 160ms ease;
}

.results-table td.metric-cell {
    font-variant-numeric: tabular-nums;
}

.results-table td.metric-cell-strong {
    font-weight: 700;
    color: var(--brand);
}

.timeline-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    min-width: 0;
    width: 100%;
}

.timeline-title-row h2 {
    white-space: nowrap;
    flex: 0 0 auto;
}

.timeline-title-pill {
    flex: 0 0 auto;
}

.timeline-slider-inline {
    display: flex;
    align-items: center;
    flex: 1 1 160px;
    min-width: 120px;
}

.timeline-slider-inline input[type="range"] {
    width: 100%;
    margin: 0;
}

.timeline-title-pill {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(13, 143, 113, 0.1);
    color: var(--brand);
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
}

.timeline-metrics-row {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 1 auto;
    min-width: 0;
    flex-wrap: nowrap;
}

.timeline-metric-pill {
    background: rgba(23, 33, 29, 0.06);
    color: var(--text);
    font-weight: 600;
    white-space: nowrap;
}

.timeline-metric-pill-test {
    background: rgba(239, 131, 84, 0.12);
    color: #9a4d28;
}

.meta-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    margin: 0;
}

.experiment-card {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
}

.experiment-scroll {
    display: grid;
    gap: 16px;
    overflow: auto;
    flex: 1 1 auto;
    min-height: 0;
    padding-right: 4px;
}

.meta-list div {
    display: grid;
    gap: 4px;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(23, 33, 29, 0.08);
}

.meta-list dt {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.meta-list dd {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.4;
}

