/* LSR SpotDesk — main stylesheet */

/* ══════════════════════════════════════════════════════════
   Bootstrap overrides
   ══════════════════════════════════════════════════════════ */

:root {
    --bs-link-color: #013d79;
    --bs-link-color-rgb: 1, 61, 121;
    --bs-link-hover-color: #012d5a;
    --lsr-navy: #013d79;
    --lsr-lime: #9fce68;
}

/* ══════════════════════════════════════════════════════════
   Navbar
   ══════════════════════════════════════════════════════════ */

.lsr-navbar {
    background-color: #013d79;
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.lsr-navbar .navbar-brand {
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.4px;
    color: #fff;
}

.lsr-navbar .navbar-brand:hover { color: #9fce68; }

.lsr-navbar .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    padding-left: 0.85rem;
    padding-right: 0.85rem;
}

.lsr-navbar .nav-link:hover,
.lsr-navbar .nav-link:focus { color: #9fce68; }

.lsr-navbar .nav-link.active { color: #fff; font-weight: 500; }

.lsr-navbar .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.4);
    padding: 0.25rem 0.5rem;
}

.lsr-navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255%2c255%2c255%2c0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ══════════════════════════════════════════════════════════
   Buttons — map legacy class names to Bootstrap 5 CSS vars
   ══════════════════════════════════════════════════════════ */

.btn--primary {
    --bs-btn-bg: #013d79;
    --bs-btn-border-color: #013d79;
    --bs-btn-color: #fff;
    --bs-btn-hover-bg: #012d5a;
    --bs-btn-hover-border-color: #012d5a;
    --bs-btn-hover-color: #fff;
    --bs-btn-active-bg: #012050;
    --bs-btn-active-border-color: #012050;
    --bs-btn-active-color: #fff;
    --bs-btn-disabled-bg: #013d79;
    --bs-btn-disabled-border-color: #013d79;
    --bs-btn-disabled-color: #fff;
    --bs-btn-focus-shadow-rgb: 1, 61, 121;
}

.btn--secondary {
    --bs-btn-bg: transparent;
    --bs-btn-border-color: #013d79;
    --bs-btn-color: #013d79;
    --bs-btn-hover-bg: #013d79;
    --bs-btn-hover-border-color: #013d79;
    --bs-btn-hover-color: #fff;
    --bs-btn-active-bg: #012d5a;
    --bs-btn-active-border-color: #012d5a;
    --bs-btn-active-color: #fff;
    --bs-btn-focus-shadow-rgb: 1, 61, 121;
}

.btn--full-width { width: 100%; }

.btn--approve {
    --bs-btn-bg: #1e7e34;
    --bs-btn-border-color: #1e7e34;
    --bs-btn-color: #fff;
    --bs-btn-hover-bg: #176028;
    --bs-btn-hover-border-color: #176028;
    --bs-btn-hover-color: #fff;
}

.btn--changes {
    --bs-btn-bg: #c0650a;
    --bs-btn-border-color: #c0650a;
    --bs-btn-color: #fff;
    --bs-btn-hover-bg: #984f08;
    --bs-btn-hover-border-color: #984f08;
    --bs-btn-hover-color: #fff;
}

.btn-link {
    color: #013d79;
    text-decoration: none;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    font-size: inherit;
}

.btn-link:hover { color: #012d5a; text-decoration: underline; }
.btn-link--danger { color: #dc3545; }
.btn-link--danger:hover { color: #a71d2a; }

/* ══════════════════════════════════════════════════════════
   Tables
   ══════════════════════════════════════════════════════════ */

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    background: #fff;
}

.data-table thead th {
    background: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
    padding: 0.7rem 1rem;
    font-weight: 600;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #495057;
    white-space: nowrap;
}

.data-table tbody td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
    color: #333;
}

.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover { background: #f8fbff; }
.data-table .actions { white-space: nowrap; }

.row--inactive { opacity: 0.55; }
.row--active { background: #f6fbf0 !important; }

/* ══════════════════════════════════════════════════════════
   Page layout
   ══════════════════════════════════════════════════════════ */

.page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.75rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.page-header h1 {
    margin: 0;
    font-size: 1.55rem;
    font-weight: 700;
    color: #013d79;
    line-height: 1.2;
}

.page-subtitle {
    margin: 0.3rem 0 0;
    color: #6c757d;
    font-size: 0.9rem;
}

.page-breadcrumb {
    margin: 0 0 0.35rem;
    font-size: 0.83rem;
    color: #6c757d;
}

.page-breadcrumb a {
    color: #013d79;
    text-decoration: none;
}

.page-breadcrumb a:hover { text-decoration: underline; }

/* ══════════════════════════════════════════════════════════
   Content sections
   ══════════════════════════════════════════════════════════ */

.section {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f0f0f0;
}

.section-header h2 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #013d79;
}

.section-count {
    font-weight: 400;
    color: #6c757d;
    font-size: 0.88rem;
}

/* ══════════════════════════════════════════════════════════
   Form cards
   ══════════════════════════════════════════════════════════ */

.form-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.75rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.form-card h2 {
    font-size: 1rem;
    font-weight: 600;
    color: #013d79;
    margin: 0 0 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f0f0f0;
}

.form-card hr {
    border-color: #e9ecef;
    margin: 1.25rem 0;
}

.form-group {
    margin-bottom: 1.1rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 0.35rem;
}

.form-group .form-control,
.form-group select.form-control,
.form-group textarea.form-control {
    border-radius: 5px;
    border-color: #ced4da;
    font-size: 0.9rem;
    padding: 0.45rem 0.75rem;
    color: #333;
}

.form-group .form-control:focus,
.form-group select.form-control:focus,
.form-group textarea.form-control:focus {
    border-color: #013d79;
    box-shadow: 0 0 0 0.2rem rgba(1, 61, 121, 0.15);
    outline: none;
}

.form-group--checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
    flex-wrap: wrap;
    align-items: center;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 576px) {
    .form-row { grid-template-columns: 1fr; }
}

.form-inline {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.75rem;
}

.form-inline .form-group { margin-bottom: 0; }

.field-error,
.field-errors li {
    display: block;
    color: #dc3545;
    font-size: 0.82rem;
    margin-top: 0.3rem;
}

.field-errors {
    list-style: none;
    padding: 0;
    margin: 0.3rem 0 0;
}

.field-hint,
.field-help {
    display: block;
    font-size: 0.82rem;
    color: #6c757d;
    margin-top: 0.3rem;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    cursor: pointer;
}

.text-muted { color: #6c757d; font-size: 0.875rem; }

/* ══════════════════════════════════════════════════════════
   Auth pages
   ══════════════════════════════════════════════════════════ */

.auth-wrapper {
    display: flex;
    justify-content: center;
    padding: 3rem 1rem;
}

.auth-card {
    width: 100%;
    max-width: 440px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.auth-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #013d79;
    text-align: center;
    margin: 0 0 0.3rem;
    letter-spacing: 0.2px;
}

.auth-subtitle {
    text-align: center;
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.auth-body p {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 1.25rem;
}

.auth-footer {
    text-align: center;
    margin-top: 1.25rem;
    font-size: 0.875rem;
    color: #6c757d;
}

.auth-footer a { color: #013d79; }

/* ══════════════════════════════════════════════════════════
   Dashboard — tournament / sponsor blocks
   ══════════════════════════════════════════════════════════ */

.tournament-block { margin-bottom: 2.5rem; }

.sponsor-block {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.sponsor-block-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.25rem;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.sponsor-toggle {
    cursor: pointer;
    user-select: none;
}

.sponsor-toggle:hover {
    background: #eef0f3;
}

.sponsor-header-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.collapse-chevron {
    font-size: 1.2rem;
    color: #6c757d;
    line-height: 1;
    transition: transform 0.2s;
    display: inline-block;
}

.sponsor-toggle[aria-expanded="true"] .collapse-chevron {
    transform: rotate(90deg);
}

.status-dots {
    display: flex;
    gap: 4px;
    align-items: center;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.status-dot--created          { background: #4a5568; }
.status-dot--received         { background: #c0392b; }
.status-dot--in-production    { background: #c0650a; }
.status-dot--pending-approval { background: #9a7d0a; }
.status-dot--approved         { background: #1e7e34; }
.status-dot--archived         { background: #6c757d; }

.sponsor-block-name {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
}

.sponsor-block-name a {
    color: #013d79;
    text-decoration: none;
}

.sponsor-block-name a:hover { text-decoration: underline; }

.sponsor-campaign-count {
    font-size: 0.8rem;
    color: #6c757d;
}

/* ── Dashboard filter bar ────────────────────────────────────────────────── */

.dashboard-filter-bar {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.filter-label {
    font-size: 0.85rem;
    color: #6c757d;
    margin-right: 0.25rem;
}

.filter-btn {
    font-size: 0.8rem;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    border: 1px solid #dee2e6;
    background: #fff;
    color: #495057;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.filter-btn:hover {
    border-color: #013d79;
    color: #013d79;
}

.filter-btn--active {
    background: #013d79;
    color: #fff;
    border-color: #013d79;
}

.dashboard-campaign-table {
    box-shadow: none;
    border-radius: 0;
}

/* ══════════════════════════════════════════════════════════
   Empty states
   ══════════════════════════════════════════════════════════ */

.empty-state {
    color: #6c757d;
    font-size: 0.9rem;
    padding: 1.5rem;
    text-align: center;
    margin: 0;
}

.empty-state--centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4rem 2rem;
    text-align: center;
}

.empty-state--indented {
    text-align: left;
    padding: 0.9rem 1.25rem;
}

/* ══════════════════════════════════════════════════════════
   Campaign detail — status controls, share link, notes
   ══════════════════════════════════════════════════════════ */

.status-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.share-link-notice,
.share-link-inactive { font-size: 0.875rem; color: #6c757d; margin: 0.5rem 0 0; }

.share-link-display { margin-bottom: 0.75rem; }

.share-link-url {
    font-size: 0.875rem;
    color: #013d79;
    word-break: break-all;
}

.share-link-hint { font-size: 0.82rem; color: #6c757d; margin-bottom: 0.75rem; }

.notes-thread {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
}

.note {
    padding: 0.9rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.note:last-child { border-bottom: none; }

.note-meta {
    font-size: 0.82rem;
    color: #6c757d;
    margin-bottom: 0.35rem;
}

.note-body {
    margin: 0;
    font-size: 0.9rem;
    color: #333;
    white-space: pre-wrap;
}

.note-form {
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
}

.upload-form {
    background: #f8f9fa;
    border-radius: 6px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.drop-zone {
    border: 2px dashed #ced4da;
    border-radius: 5px;
    padding: 2rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
    background: #fff;
}

.drop-zone:hover,
.drop-zone--active {
    border-color: #013d79;
    background: #f0f5ff;
}

.drop-zone--error {
    border-color: #dc3545;
}

.drop-zone__prompt {
    color: #6c757d;
    font-size: 0.95rem;
}

.drop-zone__browse {
    color: #013d79;
    text-decoration: underline;
    cursor: pointer;
}

.drop-zone__filename {
    display: block;
    margin-top: 0.5rem;
    font-weight: 600;
    color: #013d79;
    font-size: 0.9rem;
}

.upload-notes {
    margin-top: 0.3rem;
    font-size: 0.82rem;
    color: #6c757d;
    font-style: italic;
}

.share-upload-notes {
    margin: 0.3rem 0 0;
    font-size: 0.875rem;
    color: #555;
    font-style: italic;
    line-height: 1.5;
}

/* ══════════════════════════════════════════════════════════
   Badges — tournament status
   ══════════════════════════════════════════════════════════ */

.badge--active, .badge--inactive, .badge--archived {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.78rem;
    font-weight: 600;
}

.badge--active   { background: #e6f4ea; color: #1e7e34; }
.badge--inactive { background: #f0f0f0; color: #6c757d; }
.badge--archived { background: #fef0e0; color: #c0650a; }

/* ══════════════════════════════════════════════════════════
   Status Badges — campaign status
   ══════════════════════════════════════════════════════════ */

.status-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.status-badge--created          { background: #e8edf2; color: #4a5568; }
.status-badge--received         { background: #fde8e8; color: #c0392b; }
.status-badge--in-production    { background: #fef0e0; color: #c0650a; }
.status-badge--pending-approval { background: #fefbe0; color: #9a7d0a; }
.status-badge--approved         { background: #e6f4ea; color: #1e7e34; }
.status-badge--archived         { background: #f0f0f0; color: #6c757d; }

/* ══════════════════════════════════════════════════════════
   Version History
   ══════════════════════════════════════════════════════════ */

.upload-row--latest { background: #f8fbff; }

.badge-latest, .share-badge-latest {
    display: inline-block;
    margin-left: 8px;
    padding: 1px 8px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    background: #013d79;
    color: #fff;
    vertical-align: middle;
}

/* ══════════════════════════════════════════════════════════
   Activity Timeline
   ══════════════════════════════════════════════════════════ */

.timeline {
    display: flex;
    flex-direction: column;
}

.timeline-event {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    flex-wrap: wrap;
}

.timeline-event:last-child { border-bottom: none; }

.timeline-pill {
    display: inline-block;
    flex-shrink: 0;
    min-width: 110px;
    text-align: center;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.timeline-pill--created          { background: #f0f0f0; color: #555; }
.timeline-pill--upload           { background: #e0eeff; color: #1a56a0; }
.timeline-pill--note             { background: #ede9f8; color: #5b3fa8; }
.timeline-pill--approved         { background: #e6f4ea; color: #1e7e34; }
.timeline-pill--changes          { background: #fef0e0; color: #c0650a; }

.timeline-pill--status-created          { background: #e8edf2; color: #4a5568; }
.timeline-pill--status-received         { background: #fde8e8; color: #c0392b; }
.timeline-pill--status-in-production    { background: #fef0e0; color: #c0650a; }
.timeline-pill--status-pending-approval { background: #fefbe0; color: #9a7d0a; }
.timeline-pill--status-approved         { background: #e6f4ea; color: #1e7e34; }
.timeline-pill--status-archived         { background: #f0f0f0; color: #6c757d; }

.timeline-body {
    flex: 1;
    font-size: 0.9rem;
    color: #333;
    min-width: 0;
}

.timeline-time {
    flex-shrink: 0;
    font-size: 0.78rem;
    color: #aaa;
    white-space: nowrap;
}

/* ══════════════════════════════════════════════════════════
   Share page
   ══════════════════════════════════════════════════════════ */

.share-page { background: #f4f6f8; }

.share-header {
    background: #fff;
    border-bottom: 1px solid #e9ecef;
    padding: 0.85rem 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.share-brand {
    font-weight: 600;
    font-size: 0.88rem;
    color: #6c757d;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.share-container {
    max-width: 760px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.share-campaign-header {
    margin-bottom: 2rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #e9ecef;
}

.share-sponsor-name {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #6c757d;
    margin: 0 0 0.3rem;
}

.share-campaign-name {
    font-size: 1.7rem;
    font-weight: 700;
    color: #212529;
    margin: 0 0 0.25rem;
}

.share-spot-length {
    font-size: 0.875rem;
    color: #6c757d;
    margin: 0;
}

.share-section {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.share-section h2 {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.share-uploads {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.share-upload-item {
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #f0f0f0;
}

.share-upload-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.share-upload-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.share-version-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.75rem;
    flex-wrap: wrap;
}

.share-file-link {
    font-size: 0.9rem;
    color: #013d79;
    text-decoration: none;
}

.share-file-link:hover { text-decoration: underline; }

.share-empty { color: #6c757d; font-size: 0.9rem; margin: 0; }

.share-feedback-section { background: #f8fbff; }

.share-feedback-instructions {
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 1rem;
}

.share-approval-notice {
    font-size: 0.82rem;
    color: #6c757d;
    margin-top: 0.75rem;
    padding: 0.75rem;
    background: #fffbec;
    border-left: 3px solid #9a7d0a;
    border-radius: 0 4px 4px 0;
}

.share-notice {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.share-notice--success {
    background: #e6f4ea;
    color: #1e7e34;
    border-left: 4px solid #1e7e34;
}

.share-history-section {
    margin-top: 32px;
    border-top: 2px solid #eee;
    padding-top: 24px;
}

.share-history {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.share-history-entry {
    padding: 12px 16px;
    border-radius: 6px;
    background: #fafafa;
    border: 1px solid #eee;
}

.share-history-header {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.share-history-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.73rem;
    font-weight: 700;
}

.share-history-badge--approved { background: #e6f4ea; color: #1e7e34; }
.share-history-badge--changes  { background: #fef0e0; color: #c0650a; }

.share-history-version { font-size: 0.85rem; font-weight: 600; color: #333; }

.share-history-time {
    font-size: 0.78rem;
    color: #aaa;
    margin-left: auto;
}

.share-history-comment {
    margin: 0;
    font-size: 0.9rem;
    color: #555;
    white-space: pre-wrap;
}

/* ══════════════════════════════════════════════════════════
   Mobile
   ══════════════════════════════════════════════════════════ */

@media (max-width: 575px) {
    /* Make all data tables scroll horizontally rather than overflow */
    .data-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Dashboard — hide Spot column (least critical on small screens) */
    .dashboard-campaign-table th:nth-child(2),
    .dashboard-campaign-table td:nth-child(2) {
        display: none;
    }

    /* Version history — hide Type and Uploaded By columns */
    .uploads-table th:nth-child(3),
    .uploads-table td:nth-child(3),
    .uploads-table th:nth-child(4),
    .uploads-table td:nth-child(4) {
        display: none;
    }

    /* Prevent date strings from wrapping mid-word */
    .data-table td time {
        white-space: nowrap;
    }
}
