:root {
    --bg: #f3f5f9;
    --panel: rgba(255, 255, 255, 0.92);
    --panel-strong: #ffffff;
    --text: #142235;
    --muted: #607085;
    --line: #dbe3ec;
    --blue: #0b7adf;
    --navy: #102f52;
    --pink: #d52b68;
    --gold: #ffbf36;
    --good: #1d9f67;
    --warn: #f29b1d;
    --bad: #d14343;
    --radius: 22px;
    --shadow: 0 20px 60px rgba(10, 32, 61, 0.12);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
    font-family: "Avenir Next", "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(11, 122, 223, .22), transparent 26%),
        radial-gradient(circle at 85% 0%, rgba(213, 43, 104, .18), transparent 24%),
        linear-gradient(180deg, #fbfcfe, #edf2f8 55%, #f7f9fc);
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

input,
textarea,
select {
    width: 100%;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 14px;
    padding: 0.9rem 1rem;
    color: var(--text);
}

textarea {
    min-height: 120px;
    resize: vertical;
}

label {
    display: grid;
    gap: 0.45rem;
    color: var(--muted);
    font-size: 0.92rem;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

.theme-shell {
    min-height: 100vh;
}

.app-shell {
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: 100vh;
}

.sidebar {
    background: linear-gradient(180deg, rgba(7, 24, 45, .98), rgba(13, 42, 71, .96));
    color: white;
    padding: 2rem 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.brand {
    display: grid;
    gap: 0.35rem;
}

.brand-mark {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.brand-sub {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, .72);
    line-height: 1.45;
}

.nav {
    display: grid;
    gap: 0.55rem;
}

.nav a {
    padding: 0.85rem 1rem;
    border-radius: 14px;
    color: rgba(255, 255, 255, .84);
    background: rgba(255, 255, 255, .04);
}

.nav a:hover {
    background: rgba(255, 255, 255, .1);
    color: white;
}

.sidebar-footer {
    margin-top: auto;
    display: grid;
    gap: 1rem;
    color: rgba(255, 255, 255, .72);
}

.main-content,
.portal-main {
    padding: 2rem;
}

.portal-main {
    max-width: 1240px;
    margin: 0 auto;
    width: 100%;
}

.page-header,
.portal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.portal-header {
    padding: 2rem 2rem 0;
    max-width: 1240px;
    margin: 0 auto;
    width: 100%;
}

.portal-shell {
    background: linear-gradient(180deg, #f7fafe, #eef4fb);
}

.portal-page-header {
    margin-bottom: 1.5rem;
}

.header-actions,
.hero-actions,
.inline-actions,
.form-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.72rem;
    color: var(--blue);
    font-weight: 700;
}

.muted {
    color: var(--muted);
}

.ui-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    flex: 0 0 auto;
    opacity: 0.96;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    min-width: 0;
}

.ui-icon svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.eyebrow .ui-icon {
    width: 14px;
    height: 14px;
    margin-right: 0.38rem;
    vertical-align: -2px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 999px;
    padding: 0.9rem 1.2rem;
    background: linear-gradient(135deg, var(--blue), #1ea2ff);
    color: white;
    cursor: pointer;
    box-shadow: 0 18px 30px rgba(11, 122, 223, .22);
}

.button:hover {
    filter: brightness(1.04);
}

.button-ghost {
    background: rgba(16, 47, 82, .06);
    color: var(--navy);
    box-shadow: none;
}

.button-with-icon {
    gap: 0.55rem;
}

.button-with-icon .ui-icon {
    width: 16px;
    height: 16px;
}

.button-small {
    padding: 0.5rem 0.9rem;
    font-size: 0.86rem;
}

.panel,
.auth-card,
.glass-card,
.feature-card,
.stat-card {
    background: var(--panel);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, .65);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.panel {
    padding: 1.35rem;
    margin-bottom: 1.25rem;
}

.panel-form {
    display: grid;
    gap: 1rem;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.content-grid.two-up {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.stats-grid,
.marketing-grid,
.hero-card-grid {
    display: grid;
    gap: 1rem;
}

.stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 1.5rem;
}

.stat-card {
    padding: 1.2rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--navy);
}

.stat-label {
    color: var(--muted);
    text-transform: capitalize;
}

.landing {
    max-width: 1260px;
    margin: 0 auto;
    padding: 2rem;
}

.landing-hero {
    display: grid;
    grid-template-columns: 1.3fr .9fr;
    gap: 1.5rem;
    padding: 2rem;
    background:
        linear-gradient(135deg, rgba(16, 47, 82, .97), rgba(11, 122, 223, .92) 55%, rgba(255, 191, 54, .9));
    border-radius: 34px;
    color: white;
    box-shadow: var(--shadow);
    overflow: hidden;
    position: relative;
}

.landing-hero>* {
    position: relative;
    z-index: 1;
}

.landing-hero-bg {
    position: absolute;
    inset: 0;
    margin: 0;
    z-index: 0;
}

.landing-hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(9, 25, 46, .16), rgba(9, 25, 46, .58)),
        linear-gradient(90deg, rgba(9, 25, 46, .76), rgba(9, 25, 46, .24) 48%, rgba(255, 191, 54, .18));
}

.landing-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.landing-hero::after {
    content: "";
    position: absolute;
    inset: auto -10% -25% auto;
    width: 280px;
    height: 280px;
    background: rgba(255, 255, 255, .1);
    border-radius: 50%;
    z-index: 0;
}

.landing-home {
    display: grid;
    gap: 1.5rem;
}

.landing-hero-copy {
    display: grid;
    align-content: center;
    gap: 0.9rem;
    max-width: 42rem;
}

.landing-hero-copy h1 {
    font-size: clamp(2.3rem, 4.7vw, 4.4rem);
    line-height: 0.97;
    margin-bottom: 0;
}

.landing-hero-copy>p:last-of-type {
    margin-bottom: 0;
    color: rgba(255, 255, 255, .84);
    font-size: 1.02rem;
    max-width: 36rem;
}

.landing-hero-pills {
    display: flex;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.landing-hero-pills span {
    display: inline-flex;
    align-items: center;
    padding: 0.42rem 0.72rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .12);
    font-size: 0.76rem;
    font-weight: 700;
}

.landing-hero-side,
.hero-card-grid {
    display: grid;
    align-content: center;
    gap: 1rem;
}

.landing-spotlight-card {
    padding: 1.35rem;
    background: rgba(255, 255, 255, .14);
    color: white;
    gap: 0.7rem;
    display: grid;
}

.landing-spotlight-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: rgba(255, 255, 255, .82);
}

.landing-spotlight-eyebrow .ui-icon {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
}

.landing-spotlight-card strong {
    font-size: 1.5rem;
    line-height: 1.02;
}

.landing-spotlight-card small {
    color: rgba(255, 255, 255, .82);
    line-height: 1.55;
}

.landing-mini-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.landing-mini-stat {
    padding: 1.15rem;
    background: rgba(255, 255, 255, .12);
    color: white;
}

.landing-mini-stat .stat-number {
    color: white;
    font-size: 1.7rem;
}

.landing-mini-stat .stat-label {
    color: rgba(255, 255, 255, .8);
    line-height: 1.5;
    text-transform: none;
}

.landing-admin-link {
    background: rgba(255, 255, 255, .92);
    color: var(--navy);
    border: 1px solid rgba(255, 255, 255, .44);
    box-shadow: 0 16px 28px rgba(3, 16, 30, 0.16);
}

.landing-admin-link:hover {
    background: #ffffff;
}

.glass-card {
    padding: 1.2rem;
    background: rgba(255, 255, 255, .12);
    color: white;
}

.marketing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 1.5rem;
}

.feature-card {
    padding: 1.5rem;
}

.landing-detail-grid {
    margin-top: 0;
    align-items: stretch;
}

.landing-detail-card {
    display: grid;
    gap: 0.9rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(247, 250, 254, .96));
}

.landing-detail-card h2,
.landing-detail-card p {
    margin-bottom: 0;
}

.landing-check-list,
.landing-service-list {
    display: grid;
    gap: 0.75rem;
}

.landing-check-list div,
.landing-service-item {
    display: grid;
    gap: 0.2rem;
    padding: 0.95rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(16, 47, 82, .08);
    background: rgba(16, 47, 82, .035);
}

.landing-check-list strong,
.landing-service-item strong {
    color: var(--navy);
}

.landing-check-list span,
.landing-service-item span,
.landing-access-card p {
    color: var(--muted);
    line-height: 1.55;
}

.landing-access-card {
    align-content: start;
}

.landing-access-card .button {
    margin-top: auto;
    justify-self: start;
}

.auth-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 2rem;
}

.auth-card {
    width: min(100%, 520px);
    padding: 2rem;
}

.auth-card-wide {
    width: min(100%, 620px);
}

.form-grid {
    display: grid;
    gap: 1rem;
}

.two-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field-span-2 {
    grid-column: span 2;
}

.filters {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: end;
}

.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--line), transparent);
    margin: 1.25rem 0;
}

.table-wrap {
    overflow-x: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 0.9rem 0.8rem;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
    text-align: left;
}

.table th {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
}

.fms-capture {
    display: grid;
    gap: 1rem;
}

.fms-capture-split {
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
    align-items: start;
}

.fms-table-card,
.fms-legend-card {
    display: grid;
    gap: 0.9rem;
    padding: 1rem;
    border-radius: 22px;
    border: 1px solid rgba(16, 47, 82, .08);
    background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(247, 250, 254, .94));
}

.fms-table-head {
    display: grid;
    gap: 0.28rem;
}

.fms-table-head strong {
    color: var(--navy);
    font-size: 1.08rem;
}

.fms-table-head small {
    color: var(--muted);
    line-height: 1.5;
}

.fms-table thead th,
.fms-legend-table thead th {
    background: linear-gradient(180deg, #123d69, #0b6ec3);
    color: white;
    border-bottom: none;
}

.fms-table thead tr:nth-child(2) th {
    background: linear-gradient(180deg, #18548e, #0e7fda);
}

.fms-table tbody td:first-child,
.fms-total-row td:first-child {
    font-weight: 700;
    color: var(--navy);
}

.fms-table input {
    min-width: 82px;
    text-align: center;
}

.fms-legend-table tbody td:first-child {
    width: 120px;
    text-align: center;
    font-weight: 800;
    color: var(--navy);
}

.block-header-copy {
    min-width: 0;
}

.block-header-accent {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    flex: 0 0 52px;
    color: white;
    box-shadow: 0 16px 32px rgba(12, 35, 66, 0.14);
}

.block-header-accent .ui-icon {
    width: 22px;
    height: 22px;
}

.block-header-accent-blue {
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, .2), transparent 34%),
        linear-gradient(145deg, #123d69, #0b7adf 58%, #58c3ff);
}

.block-header-accent-navy {
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, .16), transparent 34%),
        linear-gradient(145deg, #102f52, #1f4f82);
}

.block-header-accent-rose {
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, .2), transparent 34%),
        linear-gradient(145deg, #c63763, #f06292);
}

.block-header-accent-gold {
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, .22), transparent 34%),
        linear-gradient(145deg, #d59a11, #ffbf36);
}

.force-pair-grid,
.force-text-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.force-text-grid {
    margin-top: 0.1rem;
}

.force-table th,
.force-table td {
    vertical-align: middle;
}

.force-table tbody tr:nth-child(even),
.force-reference-table tbody tr:nth-child(even) {
    background: rgba(11, 122, 223, .03);
}

.force-table tbody td:first-child,
.force-reference-table tbody td:first-child {
    font-weight: 700;
    color: var(--navy);
}

.force-check-table th:not(:first-child),
.force-check-table td:not(:first-child) {
    text-align: center;
}

.force-check-cell {
    width: 96px;
}

.force-check-input {
    width: 20px;
    height: 20px;
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
    accent-color: var(--blue);
}

.force-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
    margin-top: 1rem;
}

.force-summary-grid-triple {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.force-summary-grid-single {
    grid-template-columns: 1fr;
}

.force-reference-card {
    background:
        radial-gradient(circle at top right, rgba(11, 122, 223, .08), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(244, 249, 255, .96));
}

.force-reference-table thead th {
    background: linear-gradient(180deg, #123d69, #0b6ec3);
    color: white;
    border-bottom: none;
}

.force-reference-copy {
    display: grid;
    gap: 0.32rem;
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 18px;
    background: rgba(16, 47, 82, .04);
    border: 1px solid rgba(16, 47, 82, .08);
}

.force-reference-copy strong {
    color: var(--navy);
}

.force-reference-copy p {
    margin-bottom: 0;
    color: var(--muted);
    line-height: 1.55;
}

.force-textarea {
    min-height: 220px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(246, 249, 253, .96)),
        repeating-linear-gradient(180deg, transparent 0, transparent 31px, rgba(16, 47, 82, .05) 31px, rgba(16, 47, 82, .05) 32px);
}

.badge {
    display: inline-flex;
    border-radius: 999px;
    padding: 0.3rem 0.7rem;
    font-size: 0.8rem;
    font-weight: 700;
}

.badge-activo,
.badge-published,
.badge-completado {
    background: rgba(29, 159, 103, .15);
    color: var(--good);
}

.badge-archivado,
.badge-programado,
.badge-draft {
    background: rgba(11, 122, 223, .12);
    color: var(--blue);
}

.badge-baja,
.badge-cancelado {
    background: rgba(209, 67, 67, .14);
    color: var(--bad);
}

.badge-no\ asistió,
.badge-no.asistió {
    background: rgba(242, 155, 29, .18);
    color: #b46d00;
}

.detail-list {
    display: grid;
    gap: 1rem;
}

.detail-list div {
    display: grid;
    gap: 0.3rem;
}

.detail-list strong {
    color: var(--muted);
}

.timeline-item {
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
}

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

.list-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--line);
}

.list-row:last-child {
    border-bottom: none;
}

.service-chip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 0.85rem 1rem;
    margin-bottom: 0.8rem;
}

.page-header-catalog {
    margin-bottom: 1.25rem;
}

.catalog-hero {
    position: relative;
    display: grid;
    grid-template-columns: 1.2fr .85fr;
    gap: 1.2rem;
    align-items: center;
    padding: 1.6rem;
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(135deg, rgba(16, 47, 82, .97), rgba(11, 122, 223, .9) 55%, rgba(255, 191, 54, .82));
    color: white;
}

.catalog-hero>* {
    position: relative;
    z-index: 1;
}

.catalog-hero-bg {
    position: absolute;
    inset: 0;
    margin: 0;
    z-index: 0;
}

.catalog-hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(7, 21, 40, 0.24), rgba(7, 21, 40, 0.64)),
        linear-gradient(90deg, rgba(16, 47, 82, .88), rgba(11, 122, 223, .42) 55%, rgba(255, 191, 54, .18));
}

.catalog-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.catalog-hero-copy {
    display: grid;
    gap: 0.7rem;
    max-width: 44rem;
}

.catalog-hero-copy h2 {
    margin: 0;
    font-size: clamp(2rem, 3.2vw, 3.1rem);
    line-height: 0.98;
}

.catalog-hero-copy p:last-child {
    margin-bottom: 0;
    color: rgba(255, 255, 255, .84);
    max-width: 56rem;
}

.catalog-hero-pills {
    display: flex;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.catalog-hero-pills span {
    display: inline-flex;
    align-items: center;
    padding: 0.42rem 0.72rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .12);
    font-size: 0.76rem;
    font-weight: 700;
}

.catalog-hero-art {
    display: grid;
    justify-items: end;
}

.catalog-art-card {
    width: min(100%, 280px);
    min-height: 220px;
    padding: 1.2rem;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, .14);
    background: linear-gradient(180deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .08));
    color: white;
    backdrop-filter: blur(14px);
    box-shadow: 0 18px 46px rgba(4, 20, 39, 0.22);
    display: grid;
    align-content: start;
    gap: 0.8rem;
}

.catalog-art-card span,
.catalog-art-card small {
    color: rgba(255, 255, 255, .74);
}

.catalog-art-card strong {
    font-size: 2rem;
    line-height: 0.98;
}

.evaluation-picker-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.evaluation-picker-card {
    display: grid;
    min-height: 380px;
    border: 1px solid rgba(16, 47, 82, 0.1);
    border-radius: 30px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(247, 250, 254, .96));
    box-shadow: 0 18px 42px rgba(12, 35, 66, 0.08);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.evaluation-picker-card:hover,
.evaluation-picker-card:focus-visible {
    transform: translateY(-4px);
    box-shadow: 0 24px 56px rgba(12, 35, 66, 0.14);
    border-color: rgba(11, 122, 223, .22);
}

.evaluation-picker-cover,
.selected-service-cover {
    position: relative;
    min-height: 190px;
    padding: 1.25rem;
    color: white;
    isolation: isolate;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, .28), transparent 28%),
        linear-gradient(140deg, #123458, #0b7adf 55%, #58c3ff);
    overflow: hidden;
}

.evaluation-picker-cover::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, .18), transparent 28%),
        linear-gradient(180deg, rgba(8, 20, 38, 0.18), rgba(8, 20, 38, 0.58)),
        var(--evaluation-picker-overlay, linear-gradient(140deg, rgba(18, 52, 88, 0.82), rgba(11, 122, 223, 0.52) 55%, rgba(88, 195, 255, 0.34)));
}

.selected-service-cover::before {
    content: "";
    position: absolute;
    inset: auto -2.2rem -2.4rem auto;
    width: 132px;
    height: 132px;
    border-radius: 32px;
    transform: rotate(18deg);
    background: rgba(255, 255, 255, .16);
}

.selected-service-cover::after {
    content: "";
    position: absolute;
    inset: 1rem 1rem auto auto;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .24);
    z-index: 2;
}

.evaluation-picker-cover>*,
.selected-service-cover>* {
    position: relative;
}

.evaluation-picker-cover>* {
    z-index: 3;
}

.selected-service-cover>* {
    z-index: 1;
}

.evaluation-picker-media {
    position: absolute;
    inset: 0;
    margin: 0;
    z-index: 0;
}

.evaluation-picker-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(0.92) brightness(0.82);
}

.evaluation-picker-eyebrow,
.selected-service-eyebrow {
    display: inline-flex;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.evaluation-picker-code,
.selected-service-cover strong {
    display: block;
    margin-top: 1.2rem;
    font-size: clamp(2.3rem, 4vw, 3.4rem);
    line-height: 0.95;
    letter-spacing: 0.04em;
}

.evaluation-picker-art,
.selected-service-cover span:last-child {
    display: block;
    margin-top: 0.5rem;
    max-width: 12rem;
    color: rgba(255, 255, 255, .84);
}

.selected-service-cover-lines {
    position: absolute;
    left: 1.25rem;
    right: 1.25rem;
    bottom: 1.1rem;
    display: grid;
    gap: 0.35rem;
}

.selected-service-cover-lines span {
    display: block;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .18);
}

.selected-service-cover-lines span:nth-child(1) {
    width: 72%;
}

.selected-service-cover-lines span:nth-child(2) {
    width: 54%;
}

.selected-service-cover-lines span:nth-child(3) {
    width: 61%;
}

.evaluation-picker-body {
    display: grid;
    gap: 0.9rem;
    padding: 1.15rem 1.2rem 1.25rem;
}

.evaluation-picker-body h3 {
    margin-bottom: 0;
    font-size: 1.15rem;
}

.evaluation-picker-body p {
    margin-bottom: 0;
    color: var(--muted);
    line-height: 1.55;
}

.evaluation-picker-meta,
.evaluation-picker-footer,
.selected-service-points {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
    align-items: center;
}

.evaluation-picker-kind,
.evaluation-picker-price,
.selected-service-points span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.35rem 0.72rem;
    background: rgba(16, 47, 82, .06);
    color: var(--navy);
    font-size: 0.78rem;
    font-weight: 700;
}

.evaluation-picker-summary {
    display: grid;
    gap: 0.35rem;
    padding: 0.9rem 1rem;
    border-radius: 18px;
    background: rgba(16, 47, 82, .045);
    border: 1px solid rgba(16, 47, 82, .06);
}

.evaluation-picker-summary span {
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
}

.evaluation-picker-summary strong {
    color: var(--navy);
    line-height: 1.45;
}

.evaluation-picker-footer {
    margin-top: auto;
    justify-content: space-between;
    gap: 0.8rem;
    padding-top: 0.1rem;
}

.evaluation-picker-footer strong {
    color: var(--text);
    font-size: 0.86rem;
    line-height: 1.45;
}

.evaluation-picker-footer span {
    color: var(--blue);
    font-weight: 700;
    white-space: nowrap;
}

.selected-service-hero {
    display: grid;
    grid-template-columns: minmax(220px, 280px) 1fr minmax(220px, 280px);
    gap: 1.25rem;
    align-items: stretch;
}

.selected-service-cover {
    position: relative;
    overflow: hidden;
    min-height: 220px;
    border-radius: 24px;
}

.selected-service-cover-media {
    position: absolute;
    inset: 0;
    margin: 0;
    z-index: 0;
}

.selected-service-cover-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(0.92) brightness(0.82);
}

.selected-service-copy {
    display: grid;
    align-content: start;
    gap: 0.8rem;
}

.selected-service-copy h2,
.selected-service-copy p {
    margin-bottom: 0;
}

.selected-service-copy>p:last-of-type {
    max-width: 42rem;
    line-height: 1.5;
}

.selected-service-media {
    display: grid;
    align-content: start;
}

.selected-media-frame {
    display: grid;
    align-content: start;
    gap: 0.65rem;
    min-height: 220px;
    padding: 1.25rem;
    border-radius: 24px;
    border: 1px dashed rgba(16, 47, 82, .16);
    background:
        radial-gradient(circle at top right, rgba(11, 122, 223, .08), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, .95), rgba(244, 248, 252, .95));
}

.selected-media-frame span,
.selected-media-frame small {
    color: var(--muted);
}

.selected-media-frame strong {
    font-size: 1.3rem;
    color: var(--navy);
}

.selected-media-frame>span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.selected-service-points {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: flex-start;
}

.selected-service-points span {
    display: inline-flex;
    align-items: center;
    line-height: 1.35;
    white-space: normal;
    max-width: min(100%, 22rem);
    min-height: auto;
    padding: 0.5rem 0.82rem;
    background: rgba(16, 47, 82, .05);
    border: 1px solid rgba(16, 47, 82, .06);
    box-shadow: none;
}

.selected-media-frame>span .ui-icon,
.evaluation-section-heading .eyebrow .ui-icon,
.evaluation-focus-card .eyebrow .ui-icon {
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
}

.selected-media-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 0.2rem;
}

.selected-media-metric {
    display: grid;
    gap: 0.15rem;
    padding: 0.85rem 0.9rem;
    border-radius: 18px;
    border: 1px solid rgba(16, 47, 82, .08);
    background: rgba(255, 255, 255, .82);
}

.selected-media-metric strong {
    font-size: clamp(0.98rem, 1.8vw, 1.05rem);
    line-height: 1;
    overflow-wrap: anywhere;
}

.selected-media-metric small {
    color: var(--muted);
}

.selected-media-metric:last-child {
    grid-column: 1 / -1;
}

.selection-summary {
    display: grid;
    gap: 0.25rem;
    align-content: center;
    padding: 1rem 1.1rem;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(246, 249, 253, .94));
    color: var(--muted);
}

.selection-summary strong {
    color: var(--navy);
    font-size: 1rem;
}

.selection-summary small {
    color: var(--muted);
}

.selection-summary-visual {
    position: relative;
    overflow: hidden;
}

.selection-summary-visual::after {
    content: "";
    position: absolute;
    right: -32px;
    bottom: -40px;
    width: 120px;
    height: 120px;
    border-radius: 28px;
    transform: rotate(22deg);
    background: rgba(11, 122, 223, .08);
}

.evaluation-variant-card {
    display: grid;
    grid-template-columns: minmax(220px, .9fr) 1fr;
    gap: 1rem;
    align-items: center;
    padding: 1rem 1.1rem;
    border-radius: 22px;
    border: 1px solid rgba(16, 47, 82, .08);
    background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(247, 250, 254, .94));
}

.evaluation-variant-copy {
    display: grid;
    gap: 0.25rem;
}

.evaluation-variant-kicker {
    color: var(--muted);
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.evaluation-variant-copy strong {
    color: var(--navy);
}

.evaluation-variant-copy small {
    color: var(--muted);
    line-height: 1.5;
}

.evaluation-variant-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

.evaluation-variant-option {
    position: relative;
    display: grid;
}

.evaluation-variant-option input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.evaluation-variant-option span {
    display: grid;
    place-items: center;
    min-height: 62px;
    padding: 0.9rem 1rem;
    border-radius: 18px;
    border: 1px solid rgba(16, 47, 82, .1);
    background: rgba(255, 255, 255, .98);
    color: var(--navy);
    font-weight: 700;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}

.evaluation-variant-option input:checked+span {
    border-color: transparent;
    background: linear-gradient(135deg, #102f52, #0b7adf 56%, #58c3ff);
    color: white;
    box-shadow: 0 18px 36px rgba(12, 35, 66, 0.14);
}

.panel-soft {
    background: linear-gradient(180deg, rgba(255, 255, 255, .88), rgba(247, 250, 253, .84));
    box-shadow: none;
}

.evaluation-intro-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
    padding: 0;
    border: none;
    background: transparent;
}

.evaluation-form {
    display: grid;
    gap: 1.15rem;
}

.evaluation-focus-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

.evaluation-focus-card {
    display: grid;
    gap: 0.55rem;
    padding: 1rem 1.05rem;
    border-radius: 22px;
    border: 1px solid rgba(16, 47, 82, .08);
    background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(247, 250, 254, .94));
}

.evaluation-focus-card p {
    margin-bottom: 0;
}

.evaluation-focus-card .eyebrow {
    color: var(--navy);
}

.evaluation-focus-card p:last-child {
    color: var(--muted);
    line-height: 1.55;
}

.evaluation-section-heading {
    margin: 0;
}

.evaluation-form input[readonly] {
    background: linear-gradient(180deg, rgba(248, 250, 253, .98), rgba(243, 247, 251, .98));
    color: var(--navy);
}

.intro-pill {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.1rem;
    border-radius: 22px;
    border: 1px solid rgba(16, 47, 82, .08);
    background: rgba(255, 255, 255, .86);
}

.intro-pill strong {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--navy), var(--blue));
    color: white;
}

.form-grid-polished label,
.form-grid-polished .selection-summary {
    min-height: 100%;
    align-content: start;
}

.panel-header-stacked {
    align-items: end;
}

.panel-header-stacked h2 {
    margin-bottom: 0.3rem;
}

.template-blocks {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.template-blocks-staged {
    grid-template-columns: 1fr;
}

.block-card {
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 1rem;
    background: rgba(255, 255, 255, .8);
}

.block-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 0.8rem;
}

.block-header h3 {
    margin-bottom: 0.2rem;
}

.block-header p {
    color: var(--muted);
    line-height: 1.55;
    margin-bottom: 0;
}

.block-card-polished {
    position: relative;
    overflow: hidden;
    padding: 1.15rem;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(247, 250, 254, .92));
}

.block-card-polished::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 6px;
    background: linear-gradient(180deg, var(--blue), rgba(11, 122, 223, .14));
}

.block-kicker {
    display: inline-flex;
    margin-bottom: 0.45rem;
    padding: 0.28rem 0.58rem;
    border-radius: 999px;
    background: rgba(16, 47, 82, .06);
    color: var(--navy);
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.block-ornaments {
    display: flex;
    gap: 0.45rem;
    margin-bottom: 0.8rem;
}

.block-ornaments span {
    width: 44px;
    height: 7px;
    border-radius: 999px;
    background: rgba(11, 122, 223, .1);
}

.media-placeholder,
.data-placeholder {
    display: grid;
    gap: 0.35rem;
    padding: 1rem;
    margin-bottom: 0.9rem;
    border-radius: 18px;
    border: 1px dashed rgba(16, 47, 82, .14);
    background: rgba(16, 47, 82, .03);
}

.media-placeholder span,
.data-placeholder span {
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
}

.media-placeholder strong,
.data-placeholder strong {
    color: var(--navy);
}

.media-placeholder small {
    color: var(--muted);
}

.service-theme-strength .selected-media-frame {
    background:
        radial-gradient(circle at top right, rgba(213, 43, 104, .12), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(248, 244, 247, .94));
}

.service-theme-strength .selected-media-metric {
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 12px 26px rgba(61, 24, 50, 0.06);
}

.dashboard-hero {
    position: relative;
    display: grid;
    grid-template-columns: 1.2fr .9fr;
    gap: 1.4rem;
    padding: 1.8rem;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(16, 47, 82, .95), rgba(11, 122, 223, .88) 55%, rgba(255, 191, 54, .62));
    color: white;
}

.dashboard-hero>* {
    position: relative;
    z-index: 1;
}

.dashboard-hero-bg {
    position: absolute;
    inset: 0;
    margin: 0;
    z-index: 0;
}

.dashboard-hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(9, 25, 46, 0.2), rgba(9, 25, 46, 0.52)),
        linear-gradient(90deg, rgba(9, 25, 46, 0.62), rgba(9, 25, 46, 0.18) 46%, rgba(9, 25, 46, 0.42)),
        radial-gradient(circle at top right, rgba(255, 255, 255, .14), transparent 24%);
}

.dashboard-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.dashboard-hero-copy p:last-child {
    color: rgba(255, 255, 255, .84);
}

.dashboard-hero-copy h1 {
    font-size: clamp(2.1rem, 4vw, 4rem);
    line-height: 1;
    margin-bottom: 0.9rem;
}

.dashboard-hero .hero-actions {
    margin-top: 1rem;
}

.dashboard-hero .button-ghost {
    background: rgba(255, 255, 255, .92);
    color: var(--navy);
    border: 1px solid rgba(255, 255, 255, .5);
    box-shadow: 0 16px 28px rgba(3, 16, 30, 0.16);
}

.dashboard-hero .button-ghost:hover {
    background: #ffffff;
}

.dashboard-hero-pills {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
    margin-top: 1rem;
}

.dashboard-hero-pills>span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-width: 0;
    border-radius: 999px;
    padding: 0.55rem 0.8rem;
    background: rgba(255, 255, 255, .12);
    color: white;
    font-size: 0.76rem;
    font-weight: 700;
    white-space: nowrap;
    text-align: center;
}

.dashboard-hero-pills .ui-icon {
    width: 15px;
    height: 15px;
}

.dashboard-hero-art {
    position: relative;
    min-height: 280px;
    display: grid;
    align-items: end;
    justify-items: end;
}

.hero-orb-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(180px, 220px));
    gap: 0.9rem;
    width: 100%;
    justify-content: end;
    align-items: end;
}

.hero-orb {
    display: grid;
    gap: 0.3rem;
    align-content: center;
    border-radius: 28px;
    padding: 1.2rem 1.3rem;
    backdrop-filter: blur(16px);
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .16);
    box-shadow: 0 20px 40px rgba(3, 16, 30, 0.18);
}

.hero-orb>span,
.hero-orb small {
    color: rgba(255, 255, 255, .78);
}

.hero-orb>span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.hero-orb>span .ui-icon {
    width: 15px;
    height: 15px;
}

.hero-orb strong {
    font-size: 2.2rem;
    line-height: 1;
}

@media (max-width: 1200px) {
    .hero-orb-row {
        grid-template-columns: 1fr;
        max-width: 220px;
    }

    .selected-media-metrics,
    .evaluation-focus-grid,
    .fms-capture-split,
    .force-pair-grid,
    .force-text-grid,
    .force-summary-grid {
        grid-template-columns: 1fr;
    }
}

.dashboard-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.dashboard-metric-card {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 0.95rem;
    align-items: center;
    padding: 1.1rem;
    border-radius: 24px;
    border: 1px solid rgba(16, 47, 82, .08);
    background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(247, 250, 254, .94));
    box-shadow: 0 18px 40px rgba(12, 35, 66, 0.08);
}

.dashboard-metric-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    display: grid;
    place-items: center;
    color: white;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, .18), transparent 30%),
        linear-gradient(140deg, #123458, #0b7adf 55%, #58c3ff);
}

.dashboard-metric-icon .ui-icon {
    width: 24px;
    height: 24px;
}

.dashboard-metric-copy {
    display: grid;
    gap: 0.25rem;
}

.dashboard-metric-label {
    color: var(--muted);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.dashboard-metric-number {
    font-size: 2rem;
    line-height: 1;
    color: var(--navy);
}

.dashboard-metric-copy small {
    color: var(--muted);
}

.dashboard-panels {
    margin-bottom: 1.25rem;
}

.dashboard-panel {
    padding: 1.35rem;
}

.dashboard-panel-banner {
    position: relative;
    margin: 0 0 1rem;
    min-height: 120px;
    overflow: hidden;
    border-radius: 22px;
}

.dashboard-panel-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(10, 26, 46, 0.06), rgba(10, 26, 46, 0.34)),
        linear-gradient(90deg, rgba(10, 26, 46, 0.24), transparent 44%);
}

.dashboard-panel-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ranked-services,
.activity-feed {
    display: grid;
    gap: 0.9rem;
}

.ranked-service-card,
.activity-card,
.dashboard-service-card {
    border-radius: 22px;
    border: 1px solid rgba(16, 47, 82, .08);
    background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(247, 250, 254, .94));
}

.ranked-service-card {
    padding: 1rem;
}

.ranked-service-head {
    display: flex;
    gap: 0.85rem;
    align-items: center;
    margin-bottom: 0.8rem;
}

.ranked-service-index {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: white;
    font-weight: 800;
    background: linear-gradient(135deg, var(--navy), var(--blue));
}

.ranked-service-head small {
    color: var(--muted);
}

.ranked-service-bar {
    height: 10px;
    border-radius: 999px;
    background: rgba(16, 47, 82, .07);
    overflow: hidden;
}

.ranked-service-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--blue), #49d3ff);
}

.dashboard-service-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.dashboard-service-spotlight {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
    margin-bottom: 1rem;
}

.service-spotlight-card {
    display: grid;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(16, 47, 82, .08);
    box-shadow: 0 18px 38px rgba(12, 35, 66, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(247, 250, 254, .94));
}

.service-spotlight-media {
    position: relative;
    min-height: 210px;
    overflow: hidden;
}

.service-spotlight-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(10, 26, 46, 0.08), rgba(10, 26, 46, 0.5)),
        linear-gradient(90deg, rgba(10, 26, 46, 0.22), rgba(10, 26, 46, 0.02) 46%, rgba(10, 26, 46, 0.14));
}

.service-spotlight-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-spotlight-badge {
    position: absolute;
    top: 0.9rem;
    left: 0.9rem;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    width: fit-content;
    padding: 0.38rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .18);
    color: white;
    backdrop-filter: blur(10px);
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.service-spotlight-badge .ui-icon {
    width: 13px;
    height: 13px;
}

.service-spotlight-copy {
    display: grid;
    gap: 0.5rem;
    padding: 1rem 1rem 1.1rem;
    color: var(--text);
    background: #fff;
}

.service-spotlight-copy strong {
    font-size: 1.1rem;
    line-height: 1.25;
}

.service-spotlight-copy p {
    margin-bottom: 0;
    color: var(--muted);
    line-height: 1.5;
}

.service-spotlight-copy small {
    color: var(--muted);
    font-weight: 600;
}

.service-spotlight-card {
    grid-template-rows: 230px auto;
}

.service-spotlight-media {
    min-height: 230px;
}

.service-theme-strength .service-spotlight-media::after {
    background:
        linear-gradient(180deg, rgba(61, 24, 50, 0.1), rgba(61, 24, 50, 0.46)),
        linear-gradient(90deg, rgba(61, 24, 50, 0.26), rgba(61, 24, 50, 0.04) 46%, rgba(61, 24, 50, 0.16));
}

.service-theme-performance .service-spotlight-media::after {
    background:
        linear-gradient(180deg, rgba(19, 43, 91, 0.1), rgba(19, 43, 91, 0.46)),
        linear-gradient(90deg, rgba(19, 43, 91, 0.26), rgba(19, 43, 91, 0.04) 46%, rgba(19, 43, 91, 0.16));
}

.dashboard-service-card {
    display: grid;
    grid-template-rows: 150px 1fr;
    overflow: hidden;
    height: 100%;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.dashboard-service-card:hover,
.dashboard-service-card:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 24px 48px rgba(12, 35, 66, 0.12);
    border-color: rgba(11, 122, 223, .18);
}

.dashboard-service-media {
    position: relative;
    min-height: 150px;
    overflow: hidden;
}

.dashboard-service-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(10, 26, 46, 0.06), rgba(10, 26, 46, 0.36)),
        linear-gradient(90deg, rgba(10, 26, 46, 0.24), transparent 44%);
}

.dashboard-service-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(0.92) brightness(0.8);
}

.dashboard-service-media-badge {
    position: absolute;
    top: 0.8rem;
    left: 0.8rem;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.32rem 0.6rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .16);
    color: white;
    backdrop-filter: blur(10px);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.dashboard-service-media-badge .ui-icon {
    width: 12px;
    height: 12px;
}

.service-theme-performance .dashboard-service-media::after {
    background:
        linear-gradient(180deg, rgba(19, 43, 91, 0.2), rgba(19, 43, 91, 0.68)),
        linear-gradient(90deg, rgba(11, 122, 223, 0.34), rgba(19, 43, 91, 0.12) 44%, rgba(56, 215, 255, 0.22));
}

.service-theme-biomechanics .dashboard-service-media::after {
    background:
        linear-gradient(180deg, rgba(16, 40, 61, 0.18), rgba(16, 40, 61, 0.64)),
        linear-gradient(90deg, rgba(21, 128, 122, 0.3), rgba(16, 40, 61, 0.12) 44%, rgba(122, 215, 176, 0.18));
}

.service-theme-strength .dashboard-service-media::after {
    background:
        linear-gradient(180deg, rgba(61, 24, 50, 0.18), rgba(61, 24, 50, 0.66)),
        linear-gradient(90deg, rgba(213, 43, 104, 0.32), rgba(61, 24, 50, 0.12) 44%, rgba(255, 156, 95, 0.18));
}

.service-theme-trail .dashboard-service-media::after {
    background:
        linear-gradient(180deg, rgba(25, 59, 37, 0.18), rgba(25, 59, 37, 0.66)),
        linear-gradient(90deg, rgba(61, 139, 77, 0.3), rgba(25, 59, 37, 0.12) 44%, rgba(214, 195, 107, 0.18));
}

.service-theme-mlss .dashboard-service-media::after {
    background:
        linear-gradient(180deg, rgba(53, 37, 90, 0.18), rgba(53, 37, 90, 0.66)),
        linear-gradient(90deg, rgba(101, 80, 200, 0.32), rgba(53, 37, 90, 0.12) 44%, rgba(155, 136, 255, 0.22));
}

.service-theme-general .dashboard-service-media::after {
    background:
        linear-gradient(180deg, rgba(71, 50, 25, 0.18), rgba(71, 50, 25, 0.66)),
        linear-gradient(90deg, rgba(187, 122, 18, 0.32), rgba(71, 50, 25, 0.12) 44%, rgba(255, 209, 122, 0.22));
}

.dashboard-service-cover {
    padding: 1rem;
    min-height: 150px;
    color: white;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, .24), transparent 26%),
        linear-gradient(140deg, #123458, #0b7adf 55%, #58c3ff);
}

.dashboard-service-cover>span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.58rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .15);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.dashboard-service-cover>span .ui-icon {
    width: 13px;
    height: 13px;
}

.dashboard-service-cover strong {
    display: block;
    margin-top: 1rem;
    font-size: 2rem;
    line-height: 1;
}

.dashboard-service-body {
    display: grid;
    align-content: start;
    gap: 0.45rem;
    padding: 1rem;
}

.dashboard-service-body h3,
.dashboard-service-body p {
    margin-bottom: 0;
}

.dashboard-service-body p,
.dashboard-service-body small {
    color: var(--muted);
}

.dashboard-service-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    color: var(--blue);
    font-weight: 700;
    font-size: 0.88rem;
}

.dashboard-service-link .ui-icon {
    width: 14px;
    height: 14px;
}

.athletes-hero {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    color: white;
    min-height: 0;
    padding: 0.95rem 1.15rem 1rem;
    background: linear-gradient(135deg, rgba(18, 52, 88, 0.94), rgba(21, 128, 122, .86) 55%, rgba(122, 215, 176, .52));
}

.athletes-hero>* {
    position: relative;
    z-index: 1;
}

.athletes-hero-bg {
    position: absolute;
    inset: 0;
    margin: 0;
    z-index: 0;
}

.athletes-hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(9, 25, 46, 0.18), rgba(9, 25, 46, 0.52)),
        linear-gradient(90deg, rgba(9, 25, 46, 0.62), rgba(9, 25, 46, 0.2) 46%, rgba(21, 128, 122, .34));
}

.athletes-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.athletes-hero-copy {
    display: grid;
    gap: 0.45rem;
    max-width: 42rem;
    align-content: end;
}

.athletes-hero-copy p,
.athletes-hero-copy h1 {
    margin: 0;
}

.athletes-hero-copy p:last-child {
    color: rgba(255, 255, 255, .84);
}

.athletes-hero-copy h1 {
    font-size: clamp(1.55rem, 2.4vw, 2.35rem);
    line-height: 0.96;
}

.athletes-hero-pills {
    display: flex;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.athletes-hero-pills>span {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    padding: 0.34rem 0.62rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    color: white;
    font-size: 0.72rem;
    font-weight: 700;
}

.athletes-hero-pills .ui-icon {
    width: 14px;
    height: 14px;
}

.athletes-hero .hero-actions {
    margin: 0;
}

.athletes-hero .button {
    padding: 0.72rem 1rem;
}

.athletes-summary-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.athletes-results-bar {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1rem;
}

.athletes-results-bar h2 {
    margin-bottom: 0.35rem;
}

.athletes-results-bar p:last-child {
    margin-bottom: 0;
    color: var(--muted);
}

.athletes-results-meta {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.athletes-results-meta span {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: rgba(21, 128, 122, 0.08);
    color: #0f5c58;
    font-size: 0.78rem;
    font-weight: 700;
}

.athletes-summary-card {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 0.9rem;
    align-items: center;
    padding: 1rem;
    border-radius: 22px;
    border: 1px solid rgba(16, 47, 82, .08);
    background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(247, 250, 254, .94));
    box-shadow: 0 18px 40px rgba(12, 35, 66, 0.08);
}

.athletes-summary-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    color: white;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, .18), transparent 30%),
        linear-gradient(140deg, #10283d, #15807a 56%, #7ad7b0);
}

.athletes-summary-icon .ui-icon {
    width: 22px;
    height: 22px;
}

.athletes-summary-copy {
    display: grid;
    gap: 0.18rem;
}

.athletes-summary-copy span {
    color: var(--muted);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.athletes-summary-copy strong {
    color: var(--navy);
    font-size: 2rem;
    line-height: 1;
}

.athletes-panels {
    margin-bottom: 1.25rem;
}

.athletes-filter-panel,
.athletes-tip-panel {
    padding: 1.35rem;
}

.athletes-tip-list {
    display: grid;
    gap: 0.9rem;
}

.athletes-tip-item {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 0.8rem;
    align-items: center;
}

.athletes-tip-item strong {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: white;
    background: linear-gradient(135deg, #10283d, #15807a);
}

.athletes-tip-item span {
    color: var(--muted);
}

.athlete-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.athletes-empty-state {
    grid-column: 1 / -1;
    text-align: center;
    display: grid;
    gap: 0.9rem;
    justify-items: center;
    padding: 2rem 1.4rem;
}

.athletes-empty-state h3,
.athletes-empty-state p {
    margin-bottom: 0;
}

.athletes-empty-state p {
    max-width: 34rem;
    color: var(--muted);
}

.athletes-empty-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    color: white;
    background: linear-gradient(135deg, #0f5c58, #3bb9a0);
}

.athletes-empty-icon .ui-icon {
    width: 28px;
    height: 28px;
}

.athlete-card {
    display: grid;
    gap: 1rem;
    padding: 1.15rem;
    border-radius: 24px;
    border: 1px solid rgba(16, 47, 82, .08);
    background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(247, 250, 254, .94));
    box-shadow: 0 18px 40px rgba(12, 35, 66, 0.08);
}

.athlete-card-head {
    display: grid;
    grid-template-columns: 64px 1fr auto;
    gap: 0.9rem;
    align-items: center;
}

.athlete-avatar {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    display: grid;
    place-items: center;
    color: white;
    font-weight: 800;
    letter-spacing: 0.06em;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, .18), transparent 30%),
        linear-gradient(140deg, #10283d, #15807a 56%, #7ad7b0);
}

.athlete-head-copy {
    display: grid;
    gap: 0.2rem;
}

.athlete-head-copy strong {
    font-size: 1.08rem;
}

.athlete-head-copy span {
    color: var(--muted);
}

.athlete-card-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.athlete-card-meta div {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 0.55rem;
    align-items: start;
    padding: 0.8rem 0.85rem;
    border-radius: 16px;
    background: rgba(16, 47, 82, .04);
}

.athlete-card-meta div>span {
    color: var(--blue);
}

.athlete-card-meta .ui-icon {
    width: 16px;
    height: 16px;
}

.athlete-card-meta small {
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.45;
}

.athlete-card-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
}

.athlete-card-actions .button {
    min-height: 48px;
}

.athletes-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.athletes-pagination-pages {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.athletes-page-link {
    min-width: 42px;
    height: 42px;
    padding: 0 0.8rem;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(16, 47, 82, .1);
    background: rgba(255, 255, 255, .92);
    color: var(--navy);
    font-weight: 700;
}

.athletes-page-link.is-active {
    background: linear-gradient(135deg, #0f5c58, #3bb9a0);
    color: white;
    border-color: transparent;
    box-shadow: 0 16px 30px rgba(15, 92, 88, 0.18);
}

.athletes-pagination .button.is-disabled {
    opacity: 0.55;
    pointer-events: none;
}

.athlete-form-hero {
    position: relative;
    overflow: hidden;
    color: white;
    padding: 1.2rem 1.35rem;
    min-height: 220px;
    display: flex;
    align-items: end;
    background: linear-gradient(135deg, rgba(18, 52, 88, 0.94), rgba(21, 128, 122, .86) 55%, rgba(122, 215, 176, .52));
}

.athlete-form-hero>* {
    position: relative;
    z-index: 1;
}

.athlete-form-hero-bg {
    position: absolute;
    inset: 0;
    margin: 0;
}

.athlete-form-hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(9, 25, 46, 0.18), rgba(9, 25, 46, 0.56)),
        linear-gradient(90deg, rgba(9, 25, 46, 0.68), rgba(9, 25, 46, 0.14) 48%, rgba(21, 128, 122, .34));
}

.athlete-form-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.athlete-form-hero-copy {
    display: grid;
    gap: 0.55rem;
    max-width: 46rem;
}

.athlete-form-hero-copy h1,
.athlete-form-hero-copy p {
    margin-bottom: 0;
}

.athlete-form-hero-copy h1 {
    font-size: clamp(1.9rem, 3.4vw, 3.1rem);
    line-height: 0.98;
}

.athlete-form-hero-copy p:last-child {
    color: rgba(255, 255, 255, .84);
}

.athlete-form-hero-pills {
    display: flex;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.athlete-form-hero-pills>span {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    padding: 0.38rem 0.68rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    color: white;
    font-size: 0.74rem;
    font-weight: 700;
}

.athlete-form-hero-pills .ui-icon {
    width: 14px;
    height: 14px;
}

.athlete-form-shell {
    display: grid;
    gap: 1.2rem;
}

.athlete-form-intro {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

.athlete-form-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.82fr);
    gap: 1rem;
    align-items: start;
}

.athlete-form-main,
.athlete-form-side {
    display: grid;
    gap: 1rem;
}

.athlete-section-card {
    padding: 1.2rem;
    border-radius: 24px;
    border: 1px solid rgba(16, 47, 82, .08);
    background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(247, 250, 254, .94));
}

.athlete-section-performance {
    position: relative;
    overflow: hidden;
}

.athlete-section-performance::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 5px;
    background: linear-gradient(90deg, #0f5c58, #3bb9a0);
}

.athlete-section-medical {
    position: relative;
    overflow: hidden;
}

.athlete-section-medical::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 5px;
    background: linear-gradient(90deg, #102f52, #0b7adf);
}

.athlete-section-head {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.athlete-section-head h2 {
    margin-bottom: 0.3rem;
}

.athlete-section-head p:last-child {
    margin-bottom: 0;
    color: var(--muted);
}

.athlete-section-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: rgba(16, 47, 82, .06);
    color: var(--navy);
    font-size: 0.76rem;
    font-weight: 700;
    white-space: nowrap;
}

.athlete-form-grid label {
    min-height: 100%;
}

.athlete-gender-field {
    display: grid;
    gap: 0.45rem;
}

.athlete-gender-field>span {
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.athlete-option-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.athlete-option-card {
    position: relative;
    display: grid;
    min-height: 58px;
}

.athlete-option-card input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.athlete-option-card span {
    display: grid;
    place-items: center;
    min-height: 58px;
    padding: 0.9rem 1rem;
    border-radius: 18px;
    border: 1px solid rgba(16, 47, 82, .1);
    background: rgba(255, 255, 255, .98);
    color: var(--navy);
    font-weight: 700;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}

.athlete-option-card input:checked+span {
    border-color: transparent;
    background: linear-gradient(135deg, #10283d, #15807a 56%, #7ad7b0);
    color: white;
    box-shadow: 0 18px 36px rgba(12, 35, 66, 0.12);
}

.athlete-form-grid label>span {
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.athlete-form-grid input,
.athlete-form-grid textarea,
.athlete-form-grid select {
    border-color: rgba(16, 47, 82, .1);
    background: rgba(255, 255, 255, .98);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4);
}

.athlete-side-card {
    padding: 1.2rem;
    border-radius: 24px;
    border: 1px solid rgba(16, 47, 82, .08);
    background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(247, 250, 254, .94));
}

.athlete-side-card h2 {
    margin-bottom: 0.35rem;
}

.athlete-side-card>p:last-of-type {
    color: var(--muted);
}

.athlete-side-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    margin-bottom: 0.8rem;
    color: white;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, .18), transparent 30%),
        linear-gradient(140deg, #10283d, #15807a 56%, #7ad7b0);
}

.athlete-side-icon .ui-icon {
    width: 22px;
    height: 22px;
}

.athlete-form-note {
    display: grid;
    gap: 0.25rem;
    padding: 0.9rem 1rem;
    border-radius: 18px;
    background: rgba(16, 47, 82, .04);
    color: var(--muted);
}

.athlete-form-note strong {
    color: var(--navy);
}

.athlete-side-steps {
    display: grid;
    gap: 0.85rem;
}

.athlete-side-step {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 0.75rem;
    align-items: start;
}

.athlete-side-step strong {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: white;
    background: linear-gradient(135deg, #10283d, #15807a);
}

.athlete-side-step span {
    color: var(--muted);
}

.athlete-form-actions {
    justify-content: flex-start;
}

.athlete-show-hero {
    position: relative;
    overflow: hidden;
    color: white;
    display: grid;
    grid-template-columns: 1.2fr auto;
    gap: 1rem;
    align-items: end;
    padding: 1.25rem 1.35rem;
    background: linear-gradient(135deg, rgba(18, 52, 88, 0.94), rgba(21, 128, 122, .86) 55%, rgba(122, 215, 176, .52));
}

.athlete-show-hero>* {
    position: relative;
    z-index: 1;
}

.athlete-show-hero-bg {
    position: absolute;
    inset: 0;
    margin: 0;
}

.athlete-show-hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(9, 25, 46, 0.18), rgba(9, 25, 46, 0.58)),
        linear-gradient(90deg, rgba(9, 25, 46, 0.7), rgba(9, 25, 46, 0.18) 48%, rgba(21, 128, 122, .34));
}

.athlete-show-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.athlete-show-hero-copy {
    display: grid;
    gap: 0.7rem;
}

.athlete-show-headline {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.athlete-show-headline h1,
.athlete-show-headline p,
.athlete-show-hero-copy>p {
    margin-bottom: 0;
}

.athlete-show-headline h1 {
    font-size: clamp(2rem, 3.2vw, 3rem);
    line-height: 0.98;
}

.athlete-show-headline p {
    color: rgba(255, 255, 255, .82);
}

.athlete-show-avatar {
    width: 78px;
    height: 78px;
    border-radius: 24px;
    display: grid;
    place-items: center;
    font-size: 1.45rem;
    font-weight: 800;
    color: white;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, .18), transparent 30%),
        linear-gradient(140deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .06));
    backdrop-filter: blur(8px);
}

.athlete-show-pills {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.athlete-show-pills>span {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    padding: 0.38rem 0.68rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
}

.athlete-show-pills .ui-icon {
    width: 14px;
    height: 14px;
}

.athlete-show-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.athlete-hero-edit-button {
    background: rgba(255, 255, 255, .18);
    color: white;
    border: 1px solid rgba(255, 255, 255, .26);
    box-shadow: 0 18px 30px rgba(9, 25, 46, 0.18);
    backdrop-filter: blur(10px);
}

.athlete-hero-edit-button:hover {
    background: rgba(255, 255, 255, .24);
}

.athlete-inline-edit-button {
    background: linear-gradient(135deg, #10283d, #15807a 56%, #7ad7b0);
    color: white;
    box-shadow: 0 18px 30px rgba(12, 35, 66, 0.14);
}

.athlete-inline-edit-button .ui-icon,
.athlete-hero-edit-button .ui-icon {
    width: 16px;
    height: 16px;
}

.athlete-show-summary-grid {
    margin-top: 1.4rem;
}

.athlete-show-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.82fr);
    gap: 1rem;
    align-items: start;
}

.athlete-show-main,
.athlete-show-side {
    display: grid;
    gap: 1rem;
}

.athlete-show-edit-shell {
    display: grid;
    gap: 1rem;
}

.athlete-show-card {
    padding: 1.2rem;
    border-radius: 24px;
    border: 1px solid rgba(16, 47, 82, .08);
    background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(247, 250, 254, .94));
}

.athlete-show-card-accent {
    position: relative;
    overflow: hidden;
}

.athlete-show-card-accent::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 5px;
    background: linear-gradient(90deg, #0f5c58, #3bb9a0);
}

.athlete-show-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.athlete-show-details div,
.athlete-show-info-block {
    display: grid;
    gap: 0.35rem;
    padding: 0.95rem 1rem;
    border-radius: 18px;
    background: rgba(16, 47, 82, .04);
}

.athlete-show-details strong,
.athlete-show-info-block strong {
    color: var(--muted);
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.athlete-show-details span,
.athlete-show-info-block p {
    margin-bottom: 0;
    color: var(--navy);
    line-height: 1.55;
}

.athlete-show-stack {
    display: grid;
    gap: 0.8rem;
}

.athlete-show-data-panels {
    margin: 0;
}

.table-empty {
    color: var(--muted);
    text-align: center;
}

.athlete-show-timeline {
    display: grid;
    gap: 0.9rem;
}

.athlete-show-timeline-item {
    display: grid;
    gap: 0.25rem;
    padding: 0.95rem 0;
    border-bottom: 1px solid var(--line);
}

.athlete-show-timeline-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.athlete-show-timeline-item span,
.athlete-show-timeline-item p {
    color: var(--muted);
    margin-bottom: 0;
}

.athlete-show-edit-actions {
    justify-content: flex-start;
    margin-top: 0.35rem;
}

.agenda-hero {
    position: relative;
    overflow: hidden;
    color: white;
    display: flex;
    align-items: end;
    padding: 1.25rem 1.35rem;
    min-height: 230px;
    background: linear-gradient(135deg, rgba(71, 50, 25, 0.96), rgba(187, 122, 18, .9) 55%, rgba(255, 209, 122, .56));
}

.agenda-hero>* {
    position: relative;
    z-index: 1;
}

.agenda-hero-bg {
    position: absolute;
    inset: 0;
    margin: 0;
}

.agenda-hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(33, 22, 10, 0.14), rgba(33, 22, 10, 0.6)),
        linear-gradient(90deg, rgba(33, 22, 10, 0.72), rgba(33, 22, 10, 0.18) 48%, rgba(255, 191, 54, .28));
}

.agenda-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.agenda-hero-copy {
    display: grid;
    gap: 0.6rem;
    max-width: 48rem;
}

.agenda-hero-copy h1,
.agenda-hero-copy p {
    margin-bottom: 0;
}

.agenda-hero-copy h1 {
    font-size: clamp(2rem, 3.4vw, 3.2rem);
    line-height: 0.98;
}

.agenda-hero-copy p:last-child {
    color: rgba(255, 255, 255, .84);
}

.agenda-hero-pills {
    display: flex;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.agenda-hero-pills>span {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    padding: 0.38rem 0.68rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    color: white;
    font-size: 0.74rem;
    font-weight: 700;
}

.agenda-hero-pills .ui-icon {
    width: 14px;
    height: 14px;
}

.agenda-summary-grid {
    margin-top: 1.45rem;
}

.agenda-summary-icon {
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, .18), transparent 30%),
        linear-gradient(140deg, #473219, #bb7a12 56%, #ffd17a);
}

.agenda-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.82fr);
    gap: 1rem;
    align-items: start;
}

.agenda-main,
.agenda-side {
    display: grid;
    gap: 1rem;
}

.agenda-form-card,
.agenda-results-card {
    padding: 1.2rem;
    border-radius: 24px;
    border: 1px solid rgba(16, 47, 82, .08);
    background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(247, 250, 254, .94));
}

.agenda-chip {
    background: rgba(187, 122, 18, .1);
    color: #8a5a08;
}

.agenda-card-list {
    display: grid;
    gap: 0.95rem;
}

.agenda-item-card {
    display: grid;
    gap: 0.95rem;
    padding: 1rem 1.05rem;
    border-radius: 22px;
    border: 1px solid rgba(16, 47, 82, .08);
    background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(250, 248, 243, .96));
}

.agenda-item-top {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: start;
}

.agenda-item-top-meta {
    display: flex;
    gap: 0.6rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.agenda-item-kicker {
    display: inline-flex;
    margin-bottom: 0.38rem;
    padding: 0.28rem 0.58rem;
    border-radius: 999px;
    background: rgba(187, 122, 18, .1);
    color: #8a5a08;
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.agenda-item-top h3 {
    margin-bottom: 0;
    font-size: 1.1rem;
}

.agenda-item-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.agenda-item-meta div {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 0.55rem;
    align-items: start;
    padding: 0.78rem 0.85rem;
    border-radius: 16px;
    background: rgba(187, 122, 18, .06);
}

.agenda-item-meta .ui-icon {
    width: 16px;
    height: 16px;
    color: #bb7a12;
}

.agenda-item-meta small,
.agenda-item-meta a {
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.45;
}

.agenda-search-help {
    color: var(--muted);
    font-size: 0.78rem;
}

.agenda-item-notes {
    display: grid;
    gap: 0.45rem;
    padding: 0.9rem 1rem;
    border-radius: 18px;
    background: rgba(16, 47, 82, .04);
}

.agenda-item-notes p {
    margin-bottom: 0;
    color: var(--muted);
}

.agenda-item-notes strong {
    color: var(--navy);
}

.agenda-side-icon {
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, .18), transparent 30%),
        linear-gradient(140deg, #473219, #bb7a12 56%, #ffd17a);
}

.evaluations-hero {
    position: relative;
    overflow: hidden;
    color: white;
    display: grid;
    grid-template-columns: 1.2fr auto;
    gap: 1rem;
    align-items: end;
    padding: 1.25rem 1.35rem;
    min-height: 230px;
    background: linear-gradient(135deg, rgba(16, 47, 82, .96), rgba(11, 122, 223, .9) 55%, rgba(88, 195, 255, .44));
}

.evaluations-hero>* {
    position: relative;
    z-index: 1;
}

.evaluations-hero-bg {
    position: absolute;
    inset: 0;
    margin: 0;
}

.evaluations-hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(9, 25, 46, .14), rgba(9, 25, 46, .58)),
        linear-gradient(90deg, rgba(9, 25, 46, .72), rgba(9, 25, 46, .16) 48%, rgba(11, 122, 223, .24));
}

.evaluations-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.evaluations-hero-copy {
    display: grid;
    gap: 0.6rem;
    max-width: 50rem;
}

.evaluations-hero-copy h1,
.evaluations-hero-copy p {
    margin-bottom: 0;
}

.evaluations-hero-copy h1 {
    font-size: clamp(2rem, 3.4vw, 3.2rem);
    line-height: 0.98;
}

.evaluations-hero-copy p:last-child {
    color: rgba(255, 255, 255, .84);
}

.evaluations-hero-pills {
    display: flex;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.evaluations-hero-pills>span {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    padding: 0.38rem 0.68rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    color: white;
    font-size: 0.74rem;
    font-weight: 700;
}

.evaluations-hero-pills .ui-icon {
    width: 14px;
    height: 14px;
}

.evaluations-hero-actions {
    display: flex;
    justify-content: flex-end;
}

.evaluations-summary-grid {
    margin-top: 1.45rem;
}

.evaluations-summary-icon {
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, .18), transparent 30%),
        linear-gradient(140deg, #102f52, #0b7adf 56%, #58c3ff);
}

.evaluations-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(300px, .82fr);
    gap: 1rem;
    align-items: start;
}

.evaluations-main,
.evaluations-side {
    display: grid;
    gap: 1rem;
}

.evaluations-filter-card,
.evaluations-results-card,
.evaluations-side-card {
    padding: 1.2rem;
    border-radius: 24px;
    border: 1px solid rgba(16, 47, 82, .08);
    background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(247, 250, 254, .94));
}

.evaluations-chip {
    background: rgba(11, 122, 223, .08);
    color: var(--blue);
}

.evaluations-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.evaluation-index-card {
    display: grid;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(16, 47, 82, .08);
    background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(247, 250, 254, .96));
    box-shadow: 0 18px 42px rgba(12, 35, 66, .08);
}

.evaluation-index-cover {
    position: relative;
    min-height: 172px;
    padding: 1.15rem;
    color: white;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, .26), transparent 28%),
        linear-gradient(140deg, #123458, #0b7adf 55%, #58c3ff);
}

.evaluation-index-cover::after {
    content: "";
    position: absolute;
    inset: auto -1.8rem -2rem auto;
    width: 120px;
    height: 120px;
    border-radius: 28px;
    transform: rotate(18deg);
    background: rgba(255, 255, 255, .14);
}

.evaluation-index-eyebrow {
    display: inline-flex;
    padding: 0.34rem 0.68rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.evaluation-index-cover strong {
    display: block;
    margin-top: 1rem;
    font-size: clamp(2.2rem, 4vw, 3.25rem);
    line-height: 0.95;
    letter-spacing: 0.04em;
}

.evaluation-index-cover small {
    display: block;
    margin-top: 0.45rem;
    max-width: 14rem;
    color: rgba(255, 255, 255, .84);
}

.evaluation-index-body {
    display: grid;
    gap: 0.9rem;
    padding: 1.1rem 1.15rem 1.2rem;
}

.evaluation-index-top {
    display: flex;
    justify-content: space-between;
    gap: 0.8rem;
    align-items: start;
}

.evaluation-index-kicker {
    display: inline-flex;
    margin-bottom: 0.32rem;
    padding: 0.28rem 0.58rem;
    border-radius: 999px;
    background: rgba(16, 47, 82, .06);
    color: var(--navy);
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.evaluation-index-top h3 {
    margin-bottom: 0;
    font-size: 1.08rem;
    line-height: 1.3;
}

.evaluation-index-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.7rem;
}

.evaluation-index-meta div {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 0.5rem;
    align-items: start;
    padding: 0.78rem 0.82rem;
    border-radius: 16px;
    background: rgba(16, 47, 82, .04);
}

.evaluation-index-meta .ui-icon {
    width: 16px;
    height: 16px;
    color: var(--blue);
}

.evaluation-index-meta small {
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.45;
}

.evaluation-index-actions {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
    align-items: center;
}

.athlete-portal-shell {
    background:
        radial-gradient(circle at top left, rgba(15, 92, 88, .18), transparent 24%),
        radial-gradient(circle at 85% 0%, rgba(11, 122, 223, .16), transparent 22%),
        linear-gradient(180deg, #fbfcfe, #edf3f9 55%, #f7fafc);
}

.portal-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.35rem 2rem 0;
    max-width: 1240px;
    margin: 0 auto;
    width: 100%;
}

.portal-topbar-brand,
.portal-topbar-user {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.portal-topbar-home {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .78);
    color: var(--navy);
    font-weight: 700;
}

.portal-topbar-home .ui-icon {
    width: 16px;
    height: 16px;
}

.portal-topbar-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    background: rgba(15, 92, 88, .08);
    color: #0f5c58;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.portal-topbar-profile {
    display: grid;
    gap: 0.2rem;
}

.portal-topbar-profile strong {
    color: var(--navy);
}

.portal-topbar-profile span {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    color: var(--muted);
    font-size: 0.88rem;
}

.portal-topbar-profile .ui-icon {
    width: 14px;
    height: 14px;
}

.athlete-portal-main {
    padding-top: 1.5rem;
}

.portal-home-hero {
    position: relative;
    overflow: hidden;
    color: white;
    display: grid;
    grid-template-columns: 1.2fr minmax(220px, 260px);
    gap: 1rem;
    align-items: end;
    padding: 1.35rem 1.45rem;
    background: linear-gradient(135deg, rgba(18, 52, 88, 0.94), rgba(15, 92, 88, .9) 55%, rgba(122, 215, 176, .48));
}

.portal-home-hero>* {
    position: relative;
    z-index: 1;
}

.portal-home-hero-bg,
.portal-detail-hero-bg,
.portal-login-hero-bg {
    position: absolute;
    inset: 0;
    margin: 0;
}

.portal-home-hero-bg::after,
.portal-detail-hero-bg::after,
.portal-login-hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
}

.portal-home-hero-bg::after {
    background:
        linear-gradient(180deg, rgba(9, 25, 46, .14), rgba(9, 25, 46, .56)),
        linear-gradient(90deg, rgba(9, 25, 46, .72), rgba(9, 25, 46, .18) 48%, rgba(15, 92, 88, .3));
}

.portal-home-hero-bg img,
.portal-detail-hero-bg img,
.portal-login-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.portal-home-hero-copy {
    display: grid;
    gap: 0.7rem;
}

.portal-home-profile {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.portal-home-profile h1,
.portal-home-profile p,
.portal-home-hero-copy>p {
    margin-bottom: 0;
}

.portal-home-profile h1 {
    font-size: clamp(2rem, 3.4vw, 3.1rem);
    line-height: 0.98;
}

.portal-home-profile p {
    color: rgba(255, 255, 255, .84);
}

.portal-home-avatar {
    width: 80px;
    height: 80px;
    border-radius: 24px;
    display: grid;
    place-items: center;
    color: white;
    font-size: 1.45rem;
    font-weight: 800;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, .18), transparent 30%),
        linear-gradient(140deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .06));
    backdrop-filter: blur(8px);
}

.portal-home-pills {
    display: flex;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.portal-home-pills span,
.portal-detail-pills span {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    padding: 0.38rem 0.68rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
}

.portal-home-highlight {
    display: grid;
    align-content: center;
    gap: 0.35rem;
    padding: 1.1rem;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(245, 249, 255, .9));
    color: var(--navy);
    box-shadow: 0 18px 46px rgba(4, 20, 39, .2);
}

.portal-home-highlight span,
.portal-home-highlight small {
    color: var(--muted);
}

.portal-home-highlight strong {
    font-size: 2.7rem;
    line-height: 1;
}

.portal-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin: 1.45rem 0;
}

.portal-summary-card {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 0.9rem;
    align-items: center;
    padding: 1rem;
    border-radius: 22px;
    border: 1px solid rgba(16, 47, 82, .08);
    background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(247, 250, 254, .94));
    box-shadow: 0 18px 40px rgba(12, 35, 66, .08);
}

.portal-summary-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    color: white;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, .18), transparent 30%),
        linear-gradient(140deg, #10283d, #15807a 56%, #7ad7b0);
}

.portal-summary-icon .ui-icon {
    width: 22px;
    height: 22px;
}

.portal-summary-copy {
    display: grid;
    gap: 0.18rem;
}

.portal-summary-copy span {
    color: var(--muted);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.portal-summary-copy strong {
    color: var(--navy);
    font-size: 1.65rem;
    line-height: 1.1;
}

.portal-home-layout,
.portal-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(300px, .84fr);
    gap: 1rem;
    align-items: start;
}

.portal-home-main,
.portal-home-side,
.portal-detail-main,
.portal-detail-side {
    display: grid;
    gap: 1rem;
}

.portal-home-card,
.portal-detail-card,
.portal-side-card {
    padding: 1.2rem;
    border-radius: 24px;
    border: 1px solid rgba(16, 47, 82, .08);
    background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(247, 250, 254, .94));
}

.portal-evaluation-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.portal-evaluation-card {
    display: grid;
    gap: 0.95rem;
    padding: 1rem 1.05rem;
    border-radius: 22px;
    border: 1px solid rgba(16, 47, 82, .08);
    background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(247, 250, 254, .94));
}

.portal-evaluation-top {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: start;
}

.portal-evaluation-kicker {
    display: inline-flex;
    margin-bottom: 0.38rem;
    padding: 0.28rem 0.58rem;
    border-radius: 999px;
    background: rgba(15, 92, 88, .08);
    color: #0f5c58;
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.portal-evaluation-top h3 {
    margin-bottom: 0;
    font-size: 1.08rem;
}

.portal-evaluation-meta,
.portal-evaluation-actions {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
    align-items: center;
}

.portal-evaluation-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    color: var(--muted);
    font-size: 0.88rem;
}

.portal-evaluation-meta .ui-icon {
    width: 14px;
    height: 14px;
}

.portal-side-stack {
    display: grid;
    gap: 0.75rem;
}

.portal-side-item {
    display: grid;
    gap: 0.3rem;
    padding: 0.9rem 1rem;
    border-radius: 18px;
    background: rgba(16, 47, 82, .04);
}

.portal-side-item strong {
    color: var(--muted);
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.portal-side-item span {
    color: var(--navy);
    line-height: 1.5;
}

.portal-empty-state {
    grid-column: 1 / -1;
    text-align: center;
    display: grid;
    gap: 0.9rem;
    justify-items: center;
    padding: 2rem 1.4rem;
}

.portal-empty-state h3,
.portal-empty-state p {
    margin-bottom: 0;
}

.portal-empty-state p {
    max-width: 34rem;
    color: var(--muted);
}

.portal-detail-hero {
    position: relative;
    overflow: hidden;
    color: white;
    display: grid;
    grid-template-columns: 1.2fr auto;
    gap: 1rem;
    align-items: end;
    padding: 1.25rem 1.35rem;
    background: linear-gradient(135deg, rgba(16, 47, 82, .96), rgba(11, 122, 223, .88) 55%, rgba(88, 195, 255, .42));
}

.portal-detail-hero>* {
    position: relative;
    z-index: 1;
}

.portal-detail-hero-bg::after {
    background:
        linear-gradient(180deg, rgba(9, 25, 46, .14), rgba(9, 25, 46, .58)),
        linear-gradient(90deg, rgba(9, 25, 46, .72), rgba(9, 25, 46, .16) 48%, rgba(11, 122, 223, .26));
}

.portal-detail-hero-copy {
    display: grid;
    gap: 0.65rem;
}

.portal-detail-hero-copy h1,
.portal-detail-hero-copy p {
    margin-bottom: 0;
}

.portal-detail-hero-copy h1 {
    font-size: clamp(1.95rem, 3.2vw, 3rem);
    line-height: 0.98;
}

.portal-detail-pills {
    display: flex;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.portal-detail-pills .ui-icon {
    width: 14px;
    height: 14px;
}

.portal-detail-actions {
    display: flex;
    justify-content: flex-end;
}

.portal-detail-top {
    margin-bottom: 0;
}

.portal-detail-richtext p {
    margin-bottom: 0;
    color: var(--muted);
    line-height: 1.65;
}

.portal-result-grid {
    margin-top: 0.35rem;
}

.portal-result-card {
    min-height: 100%;
}

.portal-login-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 2rem;
}

.portal-login-card {
    overflow: hidden;
    padding: 0;
}

.portal-login-hero {
    display: grid;
    grid-template-columns: minmax(220px, 1.05fr) minmax(0, 0.95fr);
    gap: 1rem;
    align-items: stretch;
    padding: 1.35rem;
    background: linear-gradient(135deg, rgba(16, 47, 82, .96), rgba(15, 92, 88, .88) 55%, rgba(122, 215, 176, .42));
    color: white;
}

.portal-login-media {
    position: relative;
    min-height: 240px;
    margin: 0;
    overflow: hidden;
    border-radius: 24px;
    background: rgba(255, 255, 255, .08);
}

.portal-login-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(9, 25, 46, .18), rgba(9, 25, 46, .46)),
        linear-gradient(90deg, rgba(9, 25, 46, .18), rgba(15, 92, 88, .12));
}

.portal-login-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.portal-login-copy {
    display: grid;
    gap: 0.6rem;
    align-content: center;
    padding: 0.4rem 0.1rem;
}

.portal-login-copy h1,
.portal-login-copy p {
    margin-bottom: 0;
}

.portal-login-copy h1 {
    font-size: clamp(2.1rem, 4vw, 3.35rem);
    line-height: 0.95;
    max-width: 16rem;
}

.portal-login-copy p:last-child {
    color: rgba(255, 255, 255, .84);
    max-width: 20rem;
}

.portal-login-form {
    padding: 1.35rem;
}

.portal-login-card .flash {
    margin: 0 1.35rem;
}

.activity-card {
    display: grid;
    grid-template-columns: 58px 1fr 24px;
    gap: 0.9rem;
    align-items: center;
    padding: 1rem;
}

.activity-card-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    color: white;
    background: linear-gradient(135deg, var(--navy), var(--blue));
}

.activity-card-icon .ui-icon {
    width: 22px;
    height: 22px;
}

.activity-card-secondary .activity-card-icon {
    background: linear-gradient(135deg, #3d8b4d, #d6c36b);
}

.activity-card-secondary {
    grid-template-columns: 58px 1fr;
}

.activity-card-body {
    display: grid;
    gap: 0.3rem;
}

.activity-card-body p {
    margin-bottom: 0;
    color: var(--muted);
}

.activity-card-meta {
    display: flex;
    gap: 0.6rem;
    align-items: center;
    flex-wrap: wrap;
}

.activity-card-meta span:first-child {
    color: var(--muted);
}

.activity-card-arrow {
    display: grid;
    place-items: center;
    color: var(--muted);
}

.activity-card-arrow .ui-icon {
    width: 16px;
    height: 16px;
}

.block-type-file::before {
    background: linear-gradient(180deg, #15807a, rgba(21, 128, 122, .14));
}

.block-type-table::before {
    background: linear-gradient(180deg, #bb7a12, rgba(187, 122, 18, .14));
}

.block-type-chart::before {
    background: linear-gradient(180deg, #6550c8, rgba(101, 80, 200, .14));
}

.block-type-metric::before {
    background: linear-gradient(180deg, #d52b68, rgba(213, 43, 104, .14));
}

.block-type-textarea::before {
    background: linear-gradient(180deg, #0b7adf, rgba(11, 122, 223, .14));
}

.switch {
    display: inline-flex;
    gap: 0.45rem;
    align-items: center;
    font-size: 0.85rem;
    color: var(--muted);
}

.switch input {
    width: auto;
}

.metric-inline {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    font-size: 1.2rem;
}

.metric-inline strong {
    font-size: 2rem;
    color: var(--blue);
}

.chart-preview svg {
    width: 100%;
    height: auto;
}

.chart-raw {
    background: #0f172a;
    color: #cbd5e1;
    border-radius: 14px;
    padding: 0.9rem;
    overflow: auto;
    font-size: 0.82rem;
}

.recommendations-list {
    display: grid;
    gap: 1rem;
}

.recommendation-card {
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 1rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(247, 250, 254, .94));
    box-shadow: 0 16px 34px rgba(12, 35, 66, 0.05);
}

.empty-state {
    padding: 1.5rem;
    border: 1px dashed var(--line);
    border-radius: 22px;
    background: rgba(255, 255, 255, .55);
    color: var(--muted);
}

.empty-state-large {
    padding: 2rem;
}

.flash {
    padding: 0.9rem 1rem;
    border-radius: 14px;
    margin-bottom: 1rem;
    font-weight: 600;
}

.flash-success {
    background: rgba(29, 159, 103, .12);
    color: var(--good);
}

.flash-error {
    background: rgba(209, 67, 67, .12);
    color: var(--bad);
}

.service-theme-performance .evaluation-picker-cover,
.service-theme-performance .selected-service-cover,
.service-theme-performance .dashboard-service-cover,
.service-theme-performance .dashboard-metric-icon {
    --evaluation-picker-overlay:
        linear-gradient(180deg, rgba(11, 28, 56, 0.26), rgba(11, 28, 56, 0.66)),
        linear-gradient(135deg, rgba(19, 43, 91, 0.88), rgba(11, 122, 223, 0.54) 52%, rgba(56, 215, 255, 0.26));
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, .28), transparent 28%),
        linear-gradient(140deg, #132b5b, #0b7adf 52%, #38d7ff);
}

.service-theme-biomechanics .evaluation-picker-cover,
.service-theme-biomechanics .selected-service-cover,
.service-theme-biomechanics .dashboard-service-cover,
.service-theme-biomechanics .dashboard-metric-icon {
    --evaluation-picker-overlay:
        linear-gradient(180deg, rgba(9, 27, 33, 0.22), rgba(9, 27, 33, 0.62)),
        linear-gradient(135deg, rgba(16, 40, 61, 0.9), rgba(21, 128, 122, 0.52) 54%, rgba(122, 215, 176, 0.24));
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, .22), transparent 28%),
        linear-gradient(140deg, #10283d, #15807a 56%, #7ad7b0);
}

.service-theme-strength .evaluation-picker-cover,
.service-theme-strength .selected-service-cover,
.service-theme-strength .dashboard-service-cover,
.service-theme-strength .dashboard-metric-icon {
    --evaluation-picker-overlay:
        linear-gradient(180deg, rgba(36, 10, 25, 0.22), rgba(36, 10, 25, 0.62)),
        linear-gradient(135deg, rgba(61, 24, 50, 0.88), rgba(213, 43, 104, 0.52) 52%, rgba(255, 156, 95, 0.24));
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, .26), transparent 28%),
        linear-gradient(140deg, #3d1832, #d52b68 52%, #ff9c5f);
}

.service-theme-trail .evaluation-picker-cover,
.service-theme-trail .selected-service-cover,
.service-theme-trail .dashboard-service-cover,
.service-theme-trail .dashboard-metric-icon {
    --evaluation-picker-overlay:
        linear-gradient(180deg, rgba(15, 29, 18, 0.22), rgba(15, 29, 18, 0.62)),
        linear-gradient(135deg, rgba(25, 59, 37, 0.88), rgba(61, 139, 77, 0.52) 52%, rgba(214, 195, 107, 0.24));
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, .24), transparent 28%),
        linear-gradient(140deg, #193b25, #3d8b4d 52%, #d6c36b);
}

.service-theme-mlss .evaluation-picker-cover,
.service-theme-mlss .selected-service-cover,
.service-theme-mlss .dashboard-service-cover,
.service-theme-mlss .dashboard-metric-icon {
    --evaluation-picker-overlay:
        linear-gradient(180deg, rgba(24, 16, 44, 0.22), rgba(24, 16, 44, 0.64)),
        linear-gradient(135deg, rgba(53, 37, 90, 0.88), rgba(101, 80, 200, 0.52) 52%, rgba(155, 136, 255, 0.24));
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, .24), transparent 28%),
        linear-gradient(140deg, #35255a, #6550c8 52%, #9b88ff);
}

.service-theme-general .evaluation-picker-cover,
.service-theme-general .selected-service-cover,
.service-theme-general .dashboard-service-cover,
.service-theme-general .dashboard-metric-icon {
    --evaluation-picker-overlay:
        linear-gradient(180deg, rgba(43, 24, 11, 0.18), rgba(43, 24, 11, 0.58)),
        linear-gradient(135deg, rgba(71, 50, 25, 0.86), rgba(187, 122, 18, 0.48) 52%, rgba(255, 209, 122, 0.24));
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, .24), transparent 28%),
        linear-gradient(140deg, #473219, #bb7a12 52%, #ffd17a);
}

@media (max-width: 1080px) {

    .app-shell,
    .landing-hero,
    .marketing-grid,
    .stats-grid,
    .content-grid.two-up,
    .template-blocks,
    .evaluation-picker-grid,
    .selected-service-hero,
    .catalog-hero,
    .evaluation-intro-strip,
    .dashboard-hero,
    .dashboard-metrics-grid,
    .dashboard-service-grid,
    .dashboard-service-spotlight,
    .athletes-summary-grid,
    .athlete-card-grid,
    .athlete-form-intro,
    .athlete-form-layout,
    .athlete-show-layout,
    .athlete-show-hero,
    .athlete-show-details,
    .agenda-layout,
    .agenda-item-meta,
    .portal-summary-grid,
    .portal-home-layout,
    .portal-detail-layout,
    .portal-home-hero,
    .portal-detail-hero,
    .portal-evaluation-grid,
    .portal-login-hero,
    .evaluations-layout,
    .evaluations-hero,
    .evaluations-card-grid,
    .evaluation-index-meta,
    .evaluation-variant-card,
    .evaluation-variant-options {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: sticky;
        top: 0;
        z-index: 2;
    }

    .dashboard-hero-pills {
        grid-template-columns: 1fr;
    }

    .agenda-item-top-meta {
        justify-content: flex-start;
    }

    .landing-mini-stats {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 840px) {
    .app-shell {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
    }

    .main-content,
    .portal-main,
    .portal-header,
    .landing {
        padding: 1rem;
    }

    .page-header,
    .portal-header,
    .header-actions,
    .hero-actions,
    .filters,
    .two-columns,
    .athletes-results-bar,
    .athletes-pagination,
    .athlete-section-head {
        grid-template-columns: 1fr;
        display: grid;
    }

    .landing-mini-stats {
        grid-template-columns: 1fr;
    }

    .landing-access-card .button {
        width: 100%;
        justify-self: stretch;
    }

    .athletes-results-meta,
    .athletes-pagination-pages {
        justify-content: flex-start;
    }

    .athlete-option-grid,
    .athlete-show-actions {
        grid-template-columns: 1fr;
        display: grid;
    }

    .athlete-show-headline {
        align-items: start;
    }

    .portal-topbar,
    .portal-topbar-brand,
    .portal-topbar-user,
    .portal-home-profile,
    .portal-detail-actions {
        grid-template-columns: 1fr;
        display: grid;
    }

    .field-span-2 {
        grid-column: auto;
    }
}