/* Template: report — page-level layout, typography, and base elements */

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

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--bn-font-body);
    color: var(--bn-colour-text);
    background: var(--bn-colour-bg);
    line-height: 1.6;
    margin: 0;
    padding: var(--bn-space-xl) var(--bn-space-lg);
}

article {
    max-width: var(--bn-max-width);
    margin: 0 auto;
}

h1 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    letter-spacing: -0.01em;
}

h2 {
    font-size: 1.35rem;
    font-weight: 600;
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid var(--bn-colour-border);
}

h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 1.8rem 0 0.6rem;
}

hr {
    border: none;
    border-top: 1px solid var(--bn-colour-border);
    margin: var(--bn-space-xl) 0;
}

.description {
    color: var(--bn-colour-muted);
    margin-bottom: 1rem;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    margin: 1rem 0;
}

th {
    text-align: left;
    font-weight: 600;
    padding: 0.6rem var(--bn-space-md);
    border-bottom: 2px solid var(--bn-colour-border);
    white-space: nowrap;
}

td {
    padding: 0.5rem var(--bn-space-md);
    border-bottom: 1px solid var(--bn-colour-border);
    vertical-align: top;
}

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

th.bn-sortable {
    cursor: pointer;
    user-select: none;
}

th.bn-sortable:hover {
    color: var(--bn-colour-accent);
}

.bn-sort-arrow {
    font-size: 0.65em;
    margin-left: 0.25em;
    vertical-align: middle;
}

.bn-sort-ghost {
    opacity: 0.2;
}

.bn-sort-active {
    opacity: 0.6;
}

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

td a:hover {
    text-decoration: underline;
}

/* Session table */
.bn-session-table {
    margin: 0;
}

.bn-session-table tr {
    border-bottom: 1px solid var(--bn-colour-border);
}

.bn-session-table tr:last-child {
    border-bottom: none;
}

.bn-session-table td {
    border-bottom: none;
}

.bn-session-table tbody tr[data-session] {
    cursor: pointer;
    transition: background-color 0.15s ease;
}
.bn-session-table tbody tr[data-session]:hover {
    background-color: var(--bn-colour-hover);
}

.bn-session-moderators {
    font-size: 0.95rem;
    margin: 0 0 0.5rem;
    color: var(--bn-colour-text);
}

.bn-session-speakers {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.bn-session-journey {
    font-size: 0.82rem;
    color: var(--bn-colour-muted);
    margin-top: 0.25rem;
    white-space: normal;
}

.bn-session-id {
    white-space: nowrap;
}

.bn-session-duration {
    text-align: right;
    white-space: nowrap;
}

.bn-video-thumb {
    width: 96px;
    height: 54px;
    background: var(--bn-colour-border);
    border-radius: var(--bn-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.bn-play-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid var(--bn-colour-muted);
    color: var(--bn-colour-muted);
    font-size: 0.7rem;
    padding-left: 2px;
}

.bn-sparkline {
    display: inline-flex;
    align-items: flex-end;
    height: 54px;
}

.bn-sparkline-bar {
    width: 5px;
    border-radius: 1px 1px 0 0;
}

.bn-interviews-link {
    color: var(--bn-colour-accent);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.bn-interviews-link:hover {
    text-decoration: none;
    opacity: 0.8;
}

.bn-folder-icon {
    flex-shrink: 0;
}
