:root {
    --ui-s1: .25rem; --ui-s2: .5rem; --ui-s3: .75rem; --ui-s4: 1rem; --ui-s5: 1.25rem; --ui-s6: 1.5rem;
    --ui-radius: .85rem; --ui-radius-sm: .55rem; --ui-text: #26282d; --ui-muted: #6b707a;
    --ui-border: #e7e8ec; --ui-canvas: #f4f5f6; --ui-surface: #fff; --ui-accent: #a31d28; --ui-accent-soft: #fbf0f1;
    --ui-text-xs: .75rem; --ui-text-sm: .85rem; --ui-text-base: .94rem; --ui-shadow: 0 1px 3px #20273305;
}
.club-brand { display: inline-flex; align-items: center; gap: .45rem; }
.club-brand img { display: block; width: 48px; height: 50px; object-fit: contain; flex: none; }
.club-brand > span { font-size: .95rem; font-weight: 700; letter-spacing: -.02em; }
.club-brand-hero { background: white; border-radius: 1rem; width: 210px; padding: .4rem; align-self: flex-start; }
.club-brand-hero img { width: 100%; height: 210px; }
@media(max-width:560px) { .club-brand img { width: 38px; height: 40px; }.club-brand > span { font-size: .85rem; }.club-brand-hero { width: 128px; }.club-brand-hero img { width: 100%; height: 128px; }.login-brand:has(.club-brand-hero) { flex-direction: row; align-items: center; min-height: 160px; }.login-brand:has(.club-brand-hero) .login-brand-copy p { font-size: 1.4rem; max-width: 10ch; } }
.sidebar-section > summary { display: flex; align-items: center; gap: .72rem; list-style: none; min-height: 44px; padding: .55rem .75rem; }
.sidebar-section > summary::-webkit-details-marker { display: none; }
.sidebar-section > summary span { flex: 1; min-width: 0; }
.sidebar-section > summary .app-icon:last-child { width: .85rem; height: .85rem; }
.sidebar-section[open] > summary .app-icon:last-child { transform: rotate(180deg); }
.workspace:has(.workspace-menu:not([open])) .sidebar-section > summary { justify-content: center; padding-inline: 0; }
.workspace:has(.workspace-menu:not([open])) .sidebar-section > summary span,
.workspace:has(.workspace-menu:not([open])) .sidebar-section > summary .app-icon:last-child { display: none; }
.workspace:has(.workspace-menu:not([open])) .sidebar { overflow-x: hidden; }
.evolution-workspace { color: var(--ui-text); font-size: var(--ui-text-base); line-height: 1.5; }
.evolution-workspace *, .esporte-modal * { min-width: 0; }
.evolution-workspace h2 { font-size: 1rem; font-weight: 650; letter-spacing: -.015em; }
.evolution-workspace h3 { font-size: .94rem; font-weight: 650; }
.evolution-workspace .panel { border-color: var(--ui-border); border-radius: var(--ui-radius); box-shadow: var(--ui-shadow); }
.evolution-header { display: flex; align-items: center; justify-content: space-between; gap: var(--ui-s4); margin-bottom: var(--ui-s5); }
.evolution-header h1 { font-size: 1.8rem; line-height: 1.25; font-weight: 650; letter-spacing: -.035em; margin: .25rem 0 .3rem; }
.evolution-header > div > p:last-child { color: var(--ui-muted); font-size: var(--ui-text-sm); }
.evo-kicker { color: var(--ui-muted); font-size: .68rem; font-weight: 650; letter-spacing: .09em; text-transform: uppercase; }
.evo-modality-filter { font-size: var(--ui-text-xs); font-weight: 550; min-width: 180px; }
.evo-muted { color: var(--ui-muted); font-size: var(--ui-text-sm); }
.evo-label { display: inline-flex; align-items: center; gap: .4rem; font-size: var(--ui-text-xs); color: var(--ui-muted); font-weight: 550; }
.evo-label .app-icon { width: 1rem; height: 1rem; }
.evo-footnote { color: var(--ui-muted); font-size: .72rem; margin-top: var(--ui-s3); }
.evo-section-heading { display: flex; align-items: center; justify-content: space-between; gap: var(--ui-s3); margin-bottom: var(--ui-s4); }
.evo-section-heading > .app-icon { color: var(--ui-muted); width: 1.1rem; height: 1.1rem; }
.evo-section-heading p { margin-top: .2rem; font-size: var(--ui-text-xs); }
.evo-badge { display: inline-flex; align-items: center; padding: .2rem .55rem; border-radius: 999px; color: var(--ui-muted); background: var(--ui-canvas); font-size: .68rem; font-weight: 600; white-space: nowrap; }
.evolution-overview { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); gap: var(--ui-s4); margin-bottom: var(--ui-s4); }
.classification-summary { padding: var(--ui-s5); }
.evo-sport { display: inline-flex; align-items: center; gap: .5rem; font-size: var(--ui-text-xs); color: var(--ui-accent); font-weight: 650; }
.evo-sport .app-icon { width: 1rem; height: 1rem; }
.classification-level { display: flex; align-items: center; justify-content: space-between; gap: var(--ui-s4); padding: .1rem 0 var(--ui-s4); }
.classification-level h2 { font-size: 1.65rem; line-height: 1.2; margin: .4rem 0; letter-spacing: -.035em; font-weight: 650; overflow-wrap: anywhere; }
.classification-emblem { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 14px; background: var(--ui-accent-soft); color: var(--ui-accent); }
.classification-emblem .app-icon { width: 1.6rem; height: 1.6rem; }
.classification-permissions { border-top: 1px solid var(--ui-border); padding-top: var(--ui-s3); }
.evo-chips { display: flex; gap: .35rem; flex-wrap: wrap; margin-top: .4rem; }
.evo-chip { display: inline-flex; padding: .2rem .6rem; border: 1px solid #efdbde; border-radius: .4rem; color: var(--ui-accent); background: var(--ui-accent-soft); font-size: .73rem; font-weight: 550; overflow-wrap: anywhere; }
.evo-metrics { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: var(--ui-s3); }
.evo-metric { padding: var(--ui-s4); display: flex; flex-direction: column; justify-content: center; gap: .3rem; }
.evo-metric > span { display: flex; align-items: center; gap: .4rem; color: var(--ui-muted); font-size: .73rem; }
.evo-metric .app-icon { width: .95rem; height: .95rem; }
.evo-metric > strong { font-size: 1.55rem; font-weight: 650; line-height: 1.25; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.evo-metric > strong.metric-date { font-size: 1.1rem; letter-spacing: -.02em; }
.evo-metric > small { color: var(--ui-muted); font-size: .67rem; overflow-wrap: anywhere; }
.evolution-content { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,1fr); gap: var(--ui-s4); margin-bottom: var(--ui-s4); align-items: stretch; }
.evo-section { padding: var(--ui-s5); }
.evo-section + .evo-section { margin-top: var(--ui-s4); }
.evolution-content > .evo-section { margin: 0; }
.skill-summary { padding: var(--ui-s4) 0; border-top: 1px solid var(--ui-border); }
.skill-summary:first-of-type { border-top: 0; padding-top: .25rem; }
.skill-heading { display: flex; align-items: center; justify-content: space-between; gap: var(--ui-s3); margin-bottom: .65rem; }
.skill-heading > strong { font-size: var(--ui-text-sm); font-weight: 600; }
.skill-value { font-size: .95rem; font-weight: 650; font-variant-numeric: tabular-nums; }
.skill-value small { color: var(--ui-muted); font-weight: 450; font-size: .75rem; }
.skill-bar { display: block; width: 100%; height: 6px; overflow: hidden; border-radius: 4px; }
.skill-track { fill: #f0e9eb; }.skill-fill { fill: var(--ui-accent); }
.skill-context { display: flex; justify-content: space-between; gap: var(--ui-s2); color: var(--ui-muted); font-size: .68rem; margin-top: .4rem; }
.skill-comparison { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; margin-top: var(--ui-s3); font-size: .73rem; color: var(--ui-muted); }
.skill-comparison strong { color: var(--ui-text); margin-left: .25rem; }
.skill-chart { margin: .6rem 0 0; }.skill-chart svg { display: block; width: 100%; }
.skill-chart text { font: 12px "Segoe UI",sans-serif; fill: var(--ui-muted); }
.skill-chart figcaption { font-size: .7rem; color: var(--ui-muted); }
.chart-grid { stroke: var(--ui-border); stroke-width: 1; }.chart-line { fill: none; stroke: var(--ui-accent); stroke-width: 2.5; }.chart-point { fill: var(--ui-accent); }
.chart-values { margin-top: .75rem; font-size: .75rem; }.chart-values caption { text-align: left; font-size: .7rem; color: var(--ui-muted); padding-bottom: .35rem; }
.chart-values td,.chart-values th { padding: .35rem .3rem; }
.assessment-summary .evo-section-heading { margin-bottom: .5rem; }
.assessment-author { color: var(--ui-text); font-size: var(--ui-text-sm); font-weight: 600; margin-bottom: var(--ui-s4); }
.assessment-results { display: grid; gap: .55rem; }
.assessment-results > div { display: flex; justify-content: space-between; align-items: baseline; gap: var(--ui-s3); font-size: var(--ui-text-sm); }
.assessment-results small { font-weight: 450; color: var(--ui-muted); }
.assessment-guidance { margin-top: var(--ui-s4); padding-top: var(--ui-s3); border-top: 1px solid var(--ui-border); }
.assessment-guidance p { margin-top: .35rem; font-size: var(--ui-text-sm); white-space: pre-wrap; overflow-wrap: anywhere; }
.evo-empty { display: flex; flex-direction: column; align-items: flex-start; padding: var(--ui-s5) 0; gap: var(--ui-s2); }
.evo-empty > .app-icon { color: var(--ui-accent); width: 1.5rem; height: 1.5rem; margin-bottom: .25rem; }
.evo-empty p { color: var(--ui-muted); font-size: var(--ui-text-sm); max-width: 42ch; }
section.panel.evo-empty { padding: var(--ui-s6); }
.evo-timeline { list-style: none; margin: 0; padding: 0; }
.evo-timeline > li { display: grid; grid-template-columns: 30px minmax(0,1fr); gap: var(--ui-s3); position: relative; padding: .65rem 0 1.1rem; }
.evo-timeline > li::before { content: ""; position: absolute; width: 1px; background: var(--ui-border); left: 14px; top: 36px; bottom: 0; }
.evo-timeline > li:last-child::before { display: none; }
.timeline-marker { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ui-accent-soft); color: var(--ui-accent); }
.timeline-marker .app-icon { width: .95rem; height: .95rem; }
.timeline-heading { display: flex; align-items: baseline; justify-content: space-between; gap: var(--ui-s3); flex-wrap: wrap; }
.timeline-heading strong { font-size: var(--ui-text-sm); font-weight: 600; }
.timeline-heading time { font-size: .7rem; color: var(--ui-muted); }
.timeline-content > .evo-muted { margin-top: .15rem; font-size: .73rem; }
.timeline-transition { display: flex; align-items: center; gap: .55rem; flex-wrap: wrap; margin-top: .5rem; font-size: var(--ui-text-sm); }
.timeline-transition > span { color: var(--ui-muted); }
.evo-disclosure { margin-top: .5rem; }
.evo-disclosure > summary { cursor: pointer; color: var(--ui-accent); font-size: .75rem; font-weight: 550; padding: .4rem 0; }
.evo-disclosure > p { margin: .45rem 0; font-size: var(--ui-text-sm); white-space: pre-wrap; overflow-wrap: anywhere; }
.evo-disclosure > .assessment-summary { padding: var(--ui-s3); border: 1px solid var(--ui-border); border-radius: var(--ui-radius-sm); margin-top: .3rem; }
.evolution-workspace .button { gap: .4rem; font-size: .8rem; min-height: 38px; font-weight: 600; }
.evolution-workspace .button .app-icon { width: 1rem; height: 1rem; }
.evo-history-button { flex: none; }
.evo-filters { margin-bottom: var(--ui-s4); border-color: var(--ui-border); }
.evo-filters label { font-size: .75rem; font-weight: 550; }
.evo-filters > label:first-child { flex: 1 1 220px; }.evo-filters > label:not(:first-child) { flex-basis: 210px; }
.evo-filter-count { color: var(--ui-muted); font-size: .73rem; padding-bottom: .7rem; }
.student-evolution-card { padding: var(--ui-s5); margin-bottom: var(--ui-s4); }
.student-card-heading { display: flex; align-items: center; gap: var(--ui-s3); }
.student-avatar { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--ui-border); border-radius: 50%; background: var(--ui-canvas); font-size: .75rem; font-weight: 600; flex: none; }
.student-identity { flex: 1; }.student-identity h2 { margin-bottom: .15rem; }.student-identity > span { font-size: .75rem; color: var(--ui-muted); }
.student-snapshot { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.5fr) minmax(0,1fr); gap: var(--ui-s4); padding: var(--ui-s4) 0; margin-top: var(--ui-s4); border-top: 1px solid var(--ui-border); }
.student-snapshot > div { display: flex; flex-direction: column; gap: .3rem; }.student-snapshot > div > strong { font-size: .94rem; font-weight: 600; }
.student-snapshot .evo-chips { margin-top: 0; }.student-snapshot small { font-size: .7rem; }
.student-card-footer,.student-actions,.student-secondary-actions { display: flex; align-items: center; flex-wrap: wrap; gap: var(--ui-s2); }
.student-card-footer { justify-content: space-between; padding-top: var(--ui-s3); border-top: 1px solid var(--ui-border); }
.student-development { padding-top: .45rem; }.student-development > .skill-summary { max-width: 600px; }
.esporte-modal { width: min(40rem,calc(100vw - 2rem)); max-height: calc(100dvh - 2rem); margin: auto; padding: 0; overflow: hidden; color: var(--ui-text); border: 1px solid var(--ui-border); border-radius: var(--ui-radius); box-shadow: 0 12px 40px #25262b20; }
.esporte-modal[open] { display: flex; flex-direction: column; }
.esporte-modal-wide { width: min(60rem,calc(100vw - 3rem)); }
.esporte-modal-header { display: flex; align-items: center; justify-content: space-between; gap: var(--ui-s4); padding: var(--ui-s4) var(--ui-s6); border-bottom: 1px solid var(--ui-border); flex: none; background: var(--ui-surface); }
.esporte-modal-header h2 { font-size: 1.05rem; font-weight: 650; letter-spacing: -.02em; }
.esporte-modal-header p { margin-top: .25rem; font-size: .78rem; color: var(--ui-muted); }
.modal-close { width: 40px; height: 40px; min-height: 40px; padding: 0; border-color: transparent; flex: none; }
.modal-close .app-icon { width: 1.1rem; height: 1.1rem; }
.esporte-modal-body { padding: var(--ui-s5) var(--ui-s6); overflow: auto; min-height: 0; overscroll-behavior: contain; }
.esporte-modal-body .fields { gap: .8rem 1rem; }.esporte-modal-body label { font-size: .85rem; font-weight: 550; }
.esporte-modal-body .notice { font-size: .8rem; }.esporte-modal-body > .notice:first-child { margin-top: 0; }
.evo-tabs { display: flex; gap: .25rem; border-bottom: 1px solid var(--ui-border); padding-bottom: .6rem; margin-bottom: var(--ui-s5); }
.evo-tabs .button { border-color: transparent; background: transparent; color: var(--ui-muted); }
.evo-tabs .button.selected { background: var(--ui-accent-soft); color: var(--ui-accent); }
.history-overview { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.05fr); gap: var(--ui-s6); }
.history-overview > section + section { border-left: 1px solid var(--ui-border); padding-left: var(--ui-s5); }
.evolution-modal-content h3 { margin: 0 0 var(--ui-s4); }
.history-assessment { padding: var(--ui-s4) 0; border-bottom: 1px solid var(--ui-border); }.history-assessment:first-child { padding-top: 0; }
.assessment-grading { padding: var(--ui-s3); border-color: var(--ui-border); }.assessment-grading legend { font-size: .8rem; }
@media(max-width:560px) {
    .esporte-modal.esporte-modal-wide { max-width: 100vw; border-radius: 0; }
}
@media(max-width:1100px) { .evolution-overview { grid-template-columns: minmax(0,1fr); }.evo-metrics { grid-template-columns: repeat(4,minmax(0,1fr)); }.evo-metric { padding: .85rem; }.student-card-footer { align-items: flex-start; flex-direction: column; } }
@media(max-width:800px) { .evo-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }.evolution-content { grid-template-columns: minmax(0,1fr); }.evolution-header h1 { font-size: 1.6rem; }.sidebar-section { margin-top: 0; padding-top: 0; border-top: 0; }.sidebar-section[open] { flex-basis: 100%; }.history-overview { grid-template-columns: minmax(0,1fr); }.history-overview > section + section { border-left: 0; padding-left: 0; border-top: 1px solid var(--ui-border); padding-top: var(--ui-s5); } }
@media(max-width:560px) { .evolution-header { align-items: flex-start; flex-direction: column; }.evolution-header h1 { font-size: 1.5rem; }.evo-modality-filter { width: 100%; }.classification-summary,.evo-section,.student-evolution-card { padding: var(--ui-s4); }.classification-level h2 { font-size: 1.5rem; }.classification-emblem { width: 40px; height: 40px; }.evo-section-heading { align-items: flex-start; }.evo-history-button { font-size: .72rem !important; }.evo-metric > strong { font-size: 1.4rem; }.evo-metric > strong.metric-date { font-size: .95rem; }.student-snapshot { grid-template-columns: repeat(2,minmax(0,1fr)); }.student-snapshot > div:nth-child(2) { grid-column: 1 / -1; order: 3; }.student-card-heading { flex-wrap: wrap; }.student-actions { width: 100%; }.student-actions > .button { flex: 1 1 45%; min-height: 44px; }.student-secondary-actions { width: 100%; justify-content: space-between; }.evo-filters > label:not(:first-child) { flex: 1 1 100%; }.evo-filter-count { display: none; }.esporte-modal-wide { width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; border: 0; border-radius: 0; }.esporte-modal-header { padding: var(--ui-s4); }.esporte-modal-body { padding: var(--ui-s4); }.evo-tabs { gap: 0; }.evo-tabs .button { padding-inline: .6rem; font-size: .75rem; min-height: 44px; }.timeline-heading { flex-direction: column; gap: .1rem; }.evo-section-heading:has(.evo-history-button) { flex-direction: column; }.esporte-modal .actions > .button { min-height: 44px; } }
