/* --- RESET & BASE (v22.07) --- */
:root {
    --primary: #0ea5a4;
    --primary-dark: #0b8a89;
    --primary-gradient: linear-gradient(135deg, #0ea5a4 0%, #067878 100%);
    --secondary: #64748b;
    --danger: #ef4444;
    --danger-gradient: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
    --gk: #111827;
    --pitch-green: #378b29;
    --bg-light: #f8fafc;
    --text-dark: #0f172a;
    --text-white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: 1px solid rgba(255, 255, 255, 0.5);
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-elevation: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --safe-top: env(safe-area-inset-top, 0px);
    --safe-bot: env(safe-area-inset-bottom, 0px);
}

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html,
body {
    height: 100%;
    margin: 0;
    font-family: 'Segoe UI', system-ui, sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    overflow: hidden;
    overscroll-behavior: none;
}

.app-root {
    display: flex;
    flex-direction: column;
    height: 100vh;
    height: 100dvh;
}

/* --- UTILITIES --- */
.hidden {
    display: none !important;
}

.w-full {
    width: 100%;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.text-left {
    text-align: left;
}

.text-muted {
    color: #94a3b8;
}

.font-bold {
    font-weight: 700;
}

.text-xs {
    font-size: 0.75rem;
}

.opacity-80 {
    opacity: 0.8;
}

.flex-gap-10 {
    display: flex;
    gap: 10px;
}

.bg-gk {
    background-color: var(--gk) !important;
}

.shadow-sm {
    box-shadow: var(--shadow-soft);
}

/* HIDE SPINNERS (Visual Clean-up) */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
    appearance: textfield;
    /* Firefox */
}

/* --- HEADER --- */
.topbar {
    background: var(--primary-gradient);
    color: white;
    padding: calc(8px + var(--safe-top)) 12px 8px;
    box-shadow: var(--shadow-soft);
    z-index: 100;
    flex-shrink: 0;
}

.topbar-unified-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 44px;
}

.match-display-area {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(0, 0, 0, 0.2);
    padding: 6px 14px;
    border-radius: 24px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.club-logo {
    height: 34px;
    width: auto;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.3));
}

.scoreboard {
    font-weight: 800;
    font-size: 20px;
    display: flex;
    gap: 6px;
    align-items: center;
    letter-spacing: -0.5px;
}

.scorebox {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    min-width: 20px;
    text-align: center;
}

.timer-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    padding-left: 12px;
    line-height: 1;
}

#timerDisplay {
    font-weight: 700;
    font-size: 17px;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.5px;
}

.match-half {
    font-size: 9px;
    opacity: 0.9;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.inline-controls-compact {
    display: flex;
    gap: 8px;
}

.btn {
    border: none;
    border-radius: 8px;
    padding: 0 14px;
    height: 36px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
    color: white;
    transition: transform 0.1s, filter 0.2s;
}

.btn:active {
    transform: scale(0.96);
    filter: brightness(0.9);
}

.icon-btn {
    width: 38px;
    padding: 0;
    font-size: 15px;
}

.btn-mini {
    font-size: 10px;
    padding: 4px 10px;
    height: 26px;
    border-radius: 6px;
}

.btn-min-w {
    min-width: 64px;
}

.primary {
    background: var(--gk);
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
}

.secondary {
    background: var(--secondary);
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
}

.danger {
    background: var(--danger);
    background: var(--danger-gradient);
}

/* --- MAIN --- */
.main-area {
    flex-grow: 1;
    overflow-y: auto;
    padding: 12px;
    padding-bottom: calc(20px + var(--safe-bot));
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* CAMPO */
.pitch-container {
    position: relative;
    width: 100%;
    aspect-ratio: 2/3;
    max-height: 62vh;
    background-color: var(--pitch-green);
    background-image: url('../img/campo_f7_referencia.jpg');
    background-size: 100% 100%;
    border: 2px solid white;
    border-radius: 12px;
    margin: 0 auto;
    box-shadow: var(--shadow-elevation);
    overflow: hidden;
}

/* Desktop Alignment: Maintain mobile feel */
@media (min-width: 768px) {
    .pitch-container {
        max-width: 500px;
        /* Constrain width */
        aspect-ratio: 2/3;
        /* Maintain vertical aspect ratio */
    }
}

/* SLOTS Y JUGADORES */
.slot {
    position: absolute;
    width: 60px;
    height: 60px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    display: grid;
    place-items: center;
    transition: all 0.3s;
}

.slot.empty {
    border: 2px dashed rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.slot.empty::after {
    content: '+';
    color: rgba(255, 255, 255, 0.5);
    font-size: 24px;
    font-weight: 300;
}

/* Jugador Tile Moderno */
.player-tile {
    width: 60px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 10px;
    padding: 3px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: grab;
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(4px);
    z-index: 10;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    user-select: none;
    -webkit-user-select: none;
}

.player-tile.pressing {
    transform: scale(1.1);
}

.player-tile.long-pressing {
    animation: pulseTile 1s infinite;
    border-color: var(--primary);
}

@keyframes pulseTile {
    0% {
        box-shadow: 0 0 0 0 rgba(14, 165, 164, 0.7);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(14, 165, 164, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(14, 165, 164, 0);
    }
}

.player-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    font-weight: 800;
    font-size: 16px;
    display: grid;
    place-items: center;
    margin-bottom: 2px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3), 0 2px 4px rgba(0, 0, 0, 0.2);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.player-avatar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.3), transparent);
    pointer-events: none;
}

.avatar-gk {
    background: linear-gradient(135deg, #111827, #374151);
}

.avatar-def,
.avatar-mid,
.avatar-for {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 50%, #1e40af 50%, #1e3a8a 100%);
}

.avatar-bench {
    background: linear-gradient(135deg, #94a3b8, #64748b);
}

.tile-name {
    font-size: 10px;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    max-width: 100%;
    color: #0f172a;
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.8);
    margin-top: 1px;
}

.live-time-badge {
    font-size: 9px;
    font-weight: 600;
    background: #f1f5f9;
    color: #334155;
    padding: 1px 5px;
    border-radius: 4px;
    margin-top: 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    min-width: 30px;
    text-align: center;
}

/* Indicadores visuales de fatiga/tiempo */
.border-time-low {
    border-bottom: 3px solid #ef4444 !important;
}

.border-time-med {
    border-bottom: 3px solid #eab308 !important;
}

.border-time-high {
    border-bottom: 3px solid #10b981 !important;
}

/* Botones Goles Rival */
#btnRivalGoal,
#btnRivalOwnGoal {
    position: absolute;
    bottom: 12px;
    background: var(--danger-gradient);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 11px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5px;
}

#btnRivalGoal {
    right: 12px;
}

#btnRivalOwnGoal {
    left: 12px;
}

/* MENÚ CONTEXTUAL */
.context-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5000;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}

.context-menu.active {
    opacity: 1;
    pointer-events: auto;
}

.context-grid {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    width: 290px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    transform: scale(0.9);
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.context-menu.active .context-grid {
    transform: scale(1);
}

.context-title {
    font-weight: 800;
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--gk);
    background: white;
    padding: 8px 16px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: max-content;
    pointer-events: auto;
}

.ctx-btn {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 5px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.1s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.ctx-btn:active {
    background: #f1f5f9;
    transform: scale(0.95);
}

.ctx-btn i {
    font-size: 22px;
    margin-bottom: 6px;
    display: block;
}

.close-ctx {
    background: #fee2e2;
    color: #ef4444;
    border-color: #fecaca;
    grid-column: span 3;
    padding: 8px;
    font-size: 12px;
}

/* COLORES ICONOS */
.text-green-600 {
    color: #16a34a;
}

.text-blue-500 {
    color: #3b82f6;
}

.text-yellow-400 {
    color: #facc15;
}

.text-red-600 {
    color: #dc2626;
}

.text-orange-500 {
    color: #f97316;
}

/* CONTENEDORES */
.bench-box,
.non-called {
    background: var(--glass-bg);
    border: var(--glass-border);
    border-radius: 12px;
    padding: 12px;
    box-shadow: var(--shadow-sm);
}

.section-title {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.drag-drop-zone {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    min-height: 60px;
    align-items: flex-start;
}

/* EVENTOS */
.events-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 13px;
    color: var(--gk);
}

.events-box {
    max-height: 120px;
    overflow-y: auto;
    background: white;
    border-radius: 8px;
    padding: 8px;
    font-size: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.03);
}

.events-box li {
    padding: 6px 0;
    border-bottom: 1px dashed #e2e8f0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.events-box li:last-child {
    border-bottom: none;
}

/* BOTONERA INFERIOR */
.bottom-actions {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.flex-btn {
    flex: 1;
    height: 44px;
    font-size: 13px;
    gap: 8px;
    border-radius: 10px;
}

/* FORMATION SELECTOR */
.formation-selector-container {
    margin-top: 15px;
    opacity: 0.9;
    text-align: center;
}

.select-tiny {
    font-size: 11px;
    padding: 6px 10px;
    width: auto;
    min-width: 150px;
    border: 1px solid #cbd5e1;
    border-radius: 20px;
    background: white;
    color: var(--secondary);
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

/* MODALES */
.modal-overlay,
.dashboard-modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    backdrop-filter: blur(5px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.modal-overlay:not(.hidden),
.dashboard-modal:not(.hidden) {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: white;
    padding: 24px;
    border-radius: 16px;
    width: 90%;
    max-width: 340px;
    text-align: center;
    box-shadow: var(--shadow-elevation);
    transform: scale(0.95);
    transition: transform 0.3s;
}

.modal-overlay:not(.hidden) .modal-content {
    transform: scale(1);
}

.modal-content h3 {
    margin-top: 0;
    font-size: 18px;
    color: var(--gk);
    margin-bottom: 20px;
}

.dashboard-modal {
    align-items: flex-end;
}

.dashboard-content {
    background: #f8fafc;
    width: 100%;
    height: 92vh;
    border-radius: 20px 20px 0 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.19, 1, 0.22, 1);
}

.dashboard-modal:not(.hidden) .dashboard-content {
    transform: translateY(0);
}

.form-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    margin-bottom: 12px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.form-input:focus {
    border-color: var(--primary);
}

.dashboard-header {
    background: var(--gk);
    color: white;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: grid;
    place-items: center;
}

/* TABS */
.dashboard-tabs {
    display: flex;
    background: white;
    border-bottom: 1px solid #e2e8f0;
    padding: 0 10px;
}

.tab-btn {
    flex: 1;
    padding: 14px;
    background: none;
    border: none;
    font-weight: 600;
    color: #94a3b8;
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
    font-size: 13px;
}

.tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.tab-content {
    display: none;
    padding: 15px;
    flex: 1;
    overflow-y: auto;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* TABLAS */
.table-container {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e2e8f0;
}

.stats-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.stats-table th {
    background: #f1f5f9;
    padding: 10px 8px;
    text-align: left;
    font-weight: 700;
    color: var(--secondary);
    text-transform: uppercase;
    font-size: 10px;
}

.stats-table td {
    padding: 10px 8px;
    border-bottom: 1px solid #f1f5f9;
    color: var(--text-dark);
}

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

.text-center {
    text-align: center;
}

/* ROSTER MODERNIZADO (MOBILE CARDS) */
.roster-tools {
    background: white;
    padding: 16px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 16px;
    border: 1px solid #e2e8f0;
}

.roster-label {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--secondary);
    display: block;
    margin-bottom: 6px;
}

/* --- ROSTER HEADER ALIGNMENT (v22.08) --- */
.team-selector-row {
    display: flex;
    gap: 8px;
    align-items: center;
    width: 100%;
}

.team-select {
    flex: 1;
    height: 40px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 0 10px;
    font-size: 14px;
    background: white;
    color: var(--text-dark);
    font-weight: 600;
}

/* Forzar botones del header a altura 40px */
.team-selector-row .btn {
    height: 40px !important;
    width: 40px;
    padding: 0;
    border-radius: 10px;
    font-size: 16px;
}

/* Añadir Jugador - Grid Layout */
.add-player-box-mobile {
    background: white;
    border: 1px dashed #bae6fd;
    padding: 16px;
    border-radius: 16px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.add-row-top {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.add-row-bot {
    display: flex;
    gap: 10px;
}

.input-dorsal-lg {
    width: 60px;
    height: 44px;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
}

.select-pos-lg {
    flex: 1;
    height: 44px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-weight: 600;
    padding: 0 10px;
    font-size: 14px;
    background: white;
}

.input-name-lg {
    flex: 1;
    height: 44px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 0 12px;
    font-size: 15px;
}

.btn-add-lg {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    font-size: 18px;
    display: grid;
    place-items: center;
}

/* TARJETAS DE JUGADOR */
.roster-list-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.roster-card {
    background: white;
    border-radius: 14px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    border: 1px solid #f1f5f9;
}

.roster-card-num input {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #e2e8f0;
    text-align: center;
    font-weight: 800;
    font-size: 16px;
    color: var(--gk);
    background: #f8fafc;
    /* Los spinners se ocultan globalmente arriba */
}

.roster-card-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.roster-card-name {
    width: 100%;
    border: none;
    border-bottom: 1px solid transparent;
    font-size: 15px;
    font-weight: 600;
    padding: 2px 0;
    color: #0f172a;
    transition: border-color 0.2s;
    background: transparent;
}

.roster-card-name:focus {
    outline: none;
    border-bottom-color: var(--primary);
}

.roster-card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.roster-select-tiny {
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 12px;
    border: 1px solid #cbd5e1;
    background: white;
    color: var(--secondary);
    font-weight: 600;
}

/* Checkbox Titular */
.starter-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--secondary);
    font-weight: 600;
    cursor: pointer;
}

.starter-toggle input {
    accent-color: var(--primary);
    width: 16px;
    height: 16px;
}

.btn-delete-card {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: none;
    background: #fee2e2;
    color: #ef4444;
    display: grid;
    place-items: center;
    font-size: 14px;
    cursor: pointer;
}

/* TOAST */
.toast-notification {
    position: fixed;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(17, 24, 39, 0.9);
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    z-index: 3000;
    display: flex;
    align-items: center;
    gap: 10px;
    pointer-events: none;
    white-space: nowrap;
    backdrop-filter: blur(8px);
    opacity: 0;
    animation: toastPop 3s forwards cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes toastPop {
    0% {
        opacity: 0;
        transform: translate(-50%, 20px) scale(0.9);
    }

    10% {
        opacity: 1;
        transform: translate(-50%, 0) scale(1);
    }

    90% {
        opacity: 1;
        transform: translate(-50%, 0) scale(1);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -20px) scale(0.9);
    }
}

/* PDF REPORT (Oculto) */
.report-wrapper {
    position: fixed;
    left: -9999px;
    top: 0;
}

.report-card {
    width: 200mm;
    margin: 5mm;
    padding: 15mm 10mm;
    background: white;
    font-family: 'Helvetica', sans-serif;
}

.report-header {
    display: flex;
    justify-content: space-between;
    border-bottom: 4px solid var(--primary);
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.report-logo {
    height: 90px;
}

.report-score {
    text-align: right;
}

.team-name {
    font-size: 16pt;
    font-weight: 700;
    color: var(--gk);
    margin-bottom: 5px;
}

.big-score {
    font-size: 36pt;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}

.report-meta {
    background: #f1f5f9;
    padding: 8px;
    text-align: center;
    border-radius: 4px;
    font-size: 11pt;
    margin-bottom: 25px;
    font-weight: 600;
    color: var(--secondary);
}

.report-body {
    display: flex;
    gap: 20mm;
}

.report-column {
    flex: 1;
}

.report-column h4 {
    font-size: 14pt;
    color: var(--gk);
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 5px;
    margin-bottom: 10px;
}

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

.clean-list li {
    padding: 6px 0;
    border-bottom: 1px dotted #ccc;
    font-size: 11pt;
    width: 100%;
}