/* Blueprint Eval — visual system, copied from Finance (Finance/styles.css)
   so the split-off dashboards read as one product: Command's dark sidebar and
   topbar as the frame, a light, dense working area inside it (white panels on
   a cool canvas, Garp for identity, Roboto for anything read fast).
   Colour is carried by small indicators — badges, dots, icon chips — rather
   than by tinting whole panels.

   Only the dashboard (index.html) uses this file. evaluation.html and
   results.html carry their own light stylesheets, which Finance's palette was
   itself taken from. */
@font-face {
    font-family: "Garp Sans Wide";
    src: url("/assets/Fonts/Garp Sans Wide.otf") format("opentype");
    font-weight: 400 700; font-style: normal; font-display: swap;
}
@font-face {
    font-family: "Roboto";
    src: url("/assets/Fonts/Roboto-Medium.ttf") format("truetype");
    font-weight: 400 900; font-style: normal; font-display: swap;
}

:root {
    /* Brand */
    --navy: #13294C;
    --navy-2: #1D3A66;
    --blue: #2F6FB0;
    --blue-wash: #EDF3FA;
    --blue-line: #C9DCEF;

    /* Status. Deliberately the darker, desaturated set from Eval rather than
       bright dashboard colours — these sit on white and have to pass as text. */
    --green: #157F4F;
    --green-wash: #E9F5EF;
    --green-line: #B4DCC8;
    --amber: #94620B;
    --amber-wash: #FDF4E4;
    --amber-line: #E8D2A4;
    --red: #B23A2B;
    --red-wash: #FBEDEB;
    --red-line: #EBC2BB;

    /* Light main window (Eval) */
    --canvas: #F6F8FA;
    --surface: #FFFFFF;
    --sunk: #F9FAFC;
    --ink: #0F1620;
    --ink-2: #3C4754;
    --ink-3: #68727F;
    --ink-4: #98A1AC;
    --line: #E4E8ED;
    --line-strong: #CDD5DE;

    /* Dark sidebar (Command) */
    --sb-bg: #232323;
    --sb-surface: #2A2A2A;
    --sb-raised: #313131;
    --sb-border: #333333;
    --sb-text: #F5F6F7;
    --sb-text-2: #ABADB2;
    --sb-text-3: #6C6E73;
    --sb-muted: #4A4A4A;
    --sb-blue: #91BEDD;

    --r-xs: 4px;
    --r-sm: 6px;
    --r-md: 10px;

    --shadow: 0 1px 2px rgba(15, 22, 32, .05);
    --shadow-pop: 0 4px 14px rgba(15, 22, 32, .09);
    --shadow-lg: 0 24px 64px rgba(15, 22, 32, .18);

    --font-display: "Garp Sans Wide", -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --ease: cubic-bezier(.4, 0, .2, 1);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
    margin: 0; background: var(--canvas); color: var(--ink);
    font-family: var(--font-body); font-size: 14px; line-height: 1.5;
    -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%;
}
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { margin: 0; font-weight: 700; }
.is-hidden { display: none !important; }
.muted { color: var(--ink-3); }

/* Tabular figures wherever numbers are compared down a column, so
   measurements line up digit for digit. */
.num, .data-table td.num, .data-table th.num {
    font-variant-numeric: tabular-nums;
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* ---------- Mask-based icon system, carried over from Command so every
     dashboard draws from one icon set. ---------- */
.ico {
    display: inline-block; background: currentColor; flex: 0 0 auto;
    -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
    -webkit-mask-position: center; mask-position: center;
    -webkit-mask-size: contain; mask-size: contain;
}
.ico-athletes { -webkit-mask-image: url("/assets/Icons/users-svgrepo-com.svg"); mask-image: url("/assets/Icons/users-svgrepo-com.svg"); }
.ico-eval { -webkit-mask-image: url("/assets/Icons/icon-activity.svg"); mask-image: url("/assets/Icons/icon-activity.svg"); }
.ico-apps { -webkit-mask-image: url("/assets/Icons/apps-grid.svg"); mask-image: url("/assets/Icons/apps-grid.svg"); }
.ico-add { -webkit-mask-image: url("/assets/Icons/add-line.svg"); mask-image: url("/assets/Icons/add-line.svg"); }

/* ============================ Sign in ============================ */
/* A drafting sheet: the navy grid (images/login-grid.webp — the supplied grid
   asset, recoloured navy on transparent) on the light canvas, corner marks
   like a title block, and one white card. The grid fades toward the edges so
   it frames the card instead of competing with it. */
.login-screen {
    position: relative; min-height: 100vh; overflow: hidden;
    display: grid; place-items: center; padding: 40px 20px;
    background: var(--canvas);
}
.login-grid {
    position: absolute; inset: -2%; pointer-events: none;
    background: url("images/login-grid.webp") center / cover no-repeat;
    opacity: .62;
    -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 50%, #000 45%, transparent 100%);
    mask-image: radial-gradient(ellipse 75% 70% at 50% 50%, #000 45%, transparent 100%);
}

/* Corner marks — decorative, hidden from assistive tech in the markup. */
.login-corner { position: absolute; display: grid; gap: 14px; color: var(--ink-3); }
.login-corner p {
    margin: 0; font-size: 9.5px; font-weight: 700; letter-spacing: .38em;
    line-height: 2.15; text-transform: uppercase;
}
.login-corner-dash { width: 10px; height: 1px; background: var(--ink-3); }
.login-corner-tl { top: 44px; left: 56px; padding: 38px 0 0 36px; }
.login-corner-tl::before {
    content: ""; position: absolute; top: 0; left: 0; width: 36px; height: 36px;
    border-top: 1.5px solid var(--navy); border-left: 1.5px solid var(--navy);
}
.login-corner-br { right: 56px; bottom: 48px; padding: 20px 0 0 14px; }
.login-corner-br::before {
    content: ""; position: absolute; top: 0; left: 0; width: 14px; height: 14px;
    border-top: 1.5px solid var(--ink-3); border-left: 1.5px solid var(--ink-3);
}

.login-panel {
    position: relative; width: 100%; max-width: 460px; padding: 50px 50px 40px;
    text-align: center; background: var(--surface);
    border: 1px solid rgba(228, 232, 237, .8); border-radius: 12px;
    box-shadow: 0 1px 3px rgba(15, 22, 32, .04), 0 28px 60px rgba(15, 22, 32, .10);
}
/* logo-mark.png is drawn black; masking it lets the card show it in navy. */
.login-logo {
    display: block; width: 55px; height: 54px; margin: 0 auto 20px; background: var(--navy);
    -webkit-mask: url("/assets/Logos/logo-mark.png") center / contain no-repeat;
    mask: url("/assets/Logos/logo-mark.png") center / contain no-repeat;
}
.login-wordmark {
    margin: 0; font-family: var(--font-display); font-size: 25px; line-height: 1.1;
    text-transform: uppercase; color: var(--navy);
}
/* Product name between two blue rules. */
.login-product {
    display: flex; align-items: center; justify-content: center; gap: 22px;
    margin: 14px 0 0; font-size: 15px; font-weight: 700; letter-spacing: .42em;
    text-transform: uppercase; color: var(--blue);
}
.login-product::before, .login-product::after { content: ""; width: 56px; height: 1.5px; background: var(--blue); }
/* letter-spacing trails the last letter; pull it back so the word centres. */
.login-product span { margin-right: -.42em; }
.login-tag {
    margin: 16px 0 38px; font-size: 10.5px; font-weight: 700; letter-spacing: .22em;
    text-transform: uppercase; color: var(--ink-4);
}

.login-form { display: grid; gap: 18px; text-align: left; }
.login-field { display: grid; gap: 8px; }
.login-field > label,
.field > span {
    font-size: 11px; font-weight: 700; letter-spacing: .16em;
    text-transform: uppercase; color: var(--ink-3);
}
.login-input { position: relative; }
.login-input > svg {
    position: absolute; left: 17px; top: 50%; width: 18px; height: 18px;
    transform: translateY(-50%); color: var(--ink-4); pointer-events: none;
}
.login-input input {
    width: 100%; height: 54px; padding: 0 48px 0 50px;
    border: 1px solid var(--line-strong); border-radius: 8px;
    background: var(--surface); color: var(--ink); font-size: 15px; outline: none;
    transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.login-input input::placeholder { color: var(--ink-4); }
.login-input input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47, 111, 176, .13); }
.login-input:focus-within > svg { color: var(--navy); }
.password-toggle {
    position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
    width: 38px; height: 38px; display: grid; place-items: center;
    border: none; border-radius: 6px; background: none; color: var(--ink-4);
}
.password-toggle:hover { color: var(--navy); background: var(--sunk); }
.password-toggle svg { width: 19px; height: 19px; }
.password-toggle .eye-off { display: none; }
.password-toggle[aria-pressed="true"] .eye-on { display: none; }
.password-toggle[aria-pressed="true"] .eye-off { display: block; }

.login-submit {
    position: relative; width: 100%; height: 56px; margin-top: 6px;
    border-radius: 8px; font-size: 13px; letter-spacing: .02em;
}
.login-submit svg { position: absolute; right: 22px; width: 18px; height: 18px; }
.login-form .link-btn { margin-top: 2px; font-size: 14px; color: var(--ink-2); }
.login-form .status { text-align: center; }

.field input, .field select, .search-input, .select-input {
    width: 100%; height: 40px; padding: 0 12px;
    border: 1px solid var(--line-strong); border-radius: var(--r-sm);
    background: var(--surface); color: var(--ink); outline: none;
    transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.field input:focus, .field select:focus, .search-input:focus, .select-input:focus {
    border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47, 111, 176, .13);
}
.link-btn {
    background: none; border: none; padding: 0; justify-self: center;
    color: var(--ink-3); font-size: 12.5px;
}
.link-btn:hover { color: var(--navy); text-decoration: underline; }
.status { margin: 0; min-height: 18px; font-size: 12.5px; color: var(--red); }

/* The corner marks need the side room; on narrow screens the card stands alone. */
@media (max-width: 1000px) { .login-corner { display: none; } }
@media (max-width: 520px) {
    .login-panel { padding: 38px 24px 30px; }
    .login-product::before, .login-product::after { width: 36px; }
}

/* ============================ Buttons ============================ */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 7px;
    height: 38px; padding: 0 16px; border-radius: var(--r-sm);
    border: 1px solid transparent; font-family: var(--font-display);
    font-size: 11.5px; text-transform: uppercase; white-space: nowrap;
    /* Start Evaluation is an <a> wearing .btn — without these it inherits the
       browser's link underline and visited colour. */
    text-decoration: none; cursor: pointer;
    transition: background .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease), transform .08s var(--ease);
}
.btn:not(:disabled):active { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-sm { height: 30px; padding: 0 12px; font-size: 10.5px; }
.btn-block { width: 100%; height: 42px; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:not(:disabled):hover { background: var(--navy-2); }
.btn-ghost { background: var(--surface); border-color: var(--line-strong); color: var(--ink-2); }
.btn-ghost:not(:disabled):hover { border-color: var(--ink-4); color: var(--ink); }
.btn-danger { background: var(--red-wash); border-color: var(--red-line); color: var(--red); }
.btn-danger:not(:disabled):hover { background: #F7DFDB; }
.btn .ico { width: 12px; height: 12px; }
.icon-btn { background: none; border: none; color: var(--ink-4); font-size: 22px; line-height: 1; padding: 0 4px; }
.icon-btn:hover { color: var(--ink); }

/* ======================= Shell: dark sidebar ======================= */
.eval-app { display: flex; height: 100vh; overflow: hidden; }

.app-sidebar {
    width: 220px; flex: 0 0 220px; display: flex; flex-direction: column;
    padding: 16px 10px 14px; background: var(--sb-bg);
    border-right: 1px solid var(--sb-border); overflow-y: auto;
    font-family: var(--font-body);
}
.sidebar-top { display: flex; align-items: center; gap: 10px; padding: 4px 6px 24px; }
.sidebar-logo { width: 46px; height: 34px; object-fit: contain; flex: 0 0 auto; filter: drop-shadow(0 2px 8px rgba(123,169,208,.25)); }
.sidebar-wordmark { font-family: var(--font-display); font-size: 21px; font-weight: 700; letter-spacing: .3px; color: #fff; white-space: nowrap; }

.dashboard-switcher-wrap { position: relative; }
.dashboard-switcher {
    width: 100%; height: 38px; border: 1px solid var(--sb-border); border-radius: 9px;
    background: var(--sb-surface); color: var(--sb-text-2);
    display: flex; align-items: center; gap: 8px; padding: 0 10px;
}
.dashboard-switcher:hover { background: var(--sb-raised); color: #fff; }
.dashboard-switcher .ico { width: 14px; height: 14px; }
.dashboard-switcher-label { flex: 1; text-align: left; font-size: 13px; font-weight: 600; }
.dashboard-switcher-chevron { font-size: 11px; color: var(--sb-text-3); }
.dashboard-switcher-menu {
    position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 30;
    background: var(--sb-raised); border: 1px solid var(--sb-border); border-radius: 9px;
    box-shadow: 0 18px 42px rgba(0,0,0,.5); padding: 5px; display: grid; gap: 2px;
}
.dashboard-switcher-item {
    border-radius: 6px; padding: 8px 10px; font-size: 12.5px; color: var(--sb-text-2);
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.dashboard-switcher-item.is-current { color: var(--sb-blue); background: rgba(123,169,208,.14); }

.sidebar-divider { height: 1px; margin: 12px 8px 10px; background: var(--sb-border); }
.sidebar-nav-group-label {
    margin: 4px 0 6px 10px; color: var(--sb-muted); font-size: 9px;
    letter-spacing: 1.2px; text-transform: uppercase; font-weight: 700;
}
.sidebar-nav { display: flex; flex-direction: column; gap: 2px; }
.sidebar-tab {
    width: 100%; height: 38px; border: 0; border-radius: 7px; background: transparent;
    color: var(--sb-text-3); font-size: 14px; font-weight: 600;
    display: flex; align-items: center; padding: 0 10px; text-align: left;
}
.sidebar-tab .ico { width: 17px; height: 17px; margin-right: 10px; }
.sidebar-tab:hover:not(.is-active) { color: var(--sb-text-2); background: rgba(255,255,255,.03); }
.sidebar-tab.is-active { color: var(--sb-blue); background: rgba(123,169,208,.14); box-shadow: inset 0 0 0 1px var(--sb-blue); }

.sidebar-foot { margin-top: auto; padding: 12px 10px 0; border-top: 1px solid var(--sb-border); display: grid; gap: 8px; }
.private-tag {
    margin: 0; font-size: 9px; font-weight: 700; letter-spacing: .13em;
    color: var(--sb-text-3); display: flex; align-items: center; gap: 6px;
}
.private-tag .lock { width: 6px; height: 6px; border-radius: 50%; background: var(--sb-blue); }

/* ======================= Shell: light main ======================= */
.app-main { flex: 1; min-width: 0; display: flex; flex-direction: column; overflow: hidden; }

/* Dark, matching the sidebar exactly, so the two form one continuous frame
   around the light working area. Carries the page name and the account menu —
   nothing else. Navigation lives in the sidebar; duplicating it here was the
   thing most likely to drift out of sync. */
.topbar {
    display: flex; align-items: center; justify-content: space-between; gap: 18px;
    height: 64px; padding: 0 24px; flex: 0 0 auto;
    background: var(--sb-bg); border-bottom: 1px solid var(--sb-border);
}
.app-header-title {
    font-family: var(--font-display); font-size: 26px; font-weight: 700;
    letter-spacing: .3px; color: #fff; white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis;
}

/* Account chip, dark variant to sit on the header. */
.account-menu-wrap { position: relative; flex: 0 0 auto; }
.account-card {
    display: flex; align-items: center; gap: 9px; padding: 4px 12px 4px 4px;
    border-radius: 999px; border: 1px solid var(--sb-border);
    background: var(--sb-surface); color: var(--sb-text-2);
}
.account-card:hover { background: var(--sb-raised); color: #fff; }
.account-avatar {
    width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
    background: var(--navy); color: #fff; font-size: 11px; font-weight: 700;
}
.account-email { font-size: 12px; }
.account-dropdown {
    position: absolute; right: 0; top: calc(100% + 8px); min-width: 150px; z-index: 40;
    background: var(--sb-raised); border: 1px solid var(--sb-border);
    border-radius: var(--r-sm); box-shadow: 0 18px 42px rgba(0,0,0,.5); padding: 5px;
}
.account-dropdown-item {
    width: 100%; padding: 8px 11px; border: none; border-radius: var(--r-xs);
    background: none; color: var(--sb-text-2); text-align: left; font-size: 13px;
}
.account-dropdown-item:hover { background: rgba(255,255,255,.06); color: #fff; }

.app-views { flex: 1; overflow-y: auto; padding: 22px 24px 40px; }
.view { display: none; }
.view.is-active { display: block; animation: viewIn .18s var(--ease); }
@keyframes viewIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.load-error {
    margin: 0 0 16px; padding: 11px 14px; border-radius: var(--r-sm);
    border: 1px solid var(--red-line); background: var(--red-wash); color: var(--red); font-size: 13px;
}

/* ---------- Page head ---------- */
.page-head {
    display: flex; align-items: center; justify-content: space-between;
    gap: 20px; flex-wrap: wrap; margin-bottom: 18px; min-height: 38px;
}
.page-blurb { margin: 0; color: var(--ink-3); font-size: 13px; }
.page-head-actions { display: flex; align-items: center; gap: 10px; }
.back-link { background: none; border: none; padding: 0; color: var(--ink-3); font-size: 12.5px; font-weight: 600; }
.back-link:hover { color: var(--navy); text-decoration: underline; }


/* ---------- Panels ---------- */
.panel {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
    box-shadow: var(--shadow); margin-bottom: 16px;
}
.panel-head {
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    padding: 12px 18px; border-bottom: 1px solid var(--line); flex-wrap: wrap;
}
.panel-title { font-family: var(--font-display); font-size: 12px; text-transform: uppercase; color: var(--navy); }
.panel-body { padding: 18px; }
.split-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 16px; align-items: start; }

/* ---------- Tables ---------- */
.table-scroll { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.data-table th {
    padding: 10px 18px; text-align: left; white-space: nowrap;
    font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    color: var(--ink-4); background: var(--sunk); border-bottom: 1px solid var(--line);
}
.data-table td { padding: 11px 18px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.data-table tr:last-child td { border-bottom: none; }
.data-table .num, .data-table th.num { text-align: right; }
.col-action, th.col-action { text-align: right; }
.row-hover { cursor: pointer; transition: background .12s var(--ease); }
.row-hover:hover { background: var(--sunk); }
.empty-state { padding: 34px 18px; text-align: center; color: var(--ink-4); }

.cell-player { display: flex; align-items: center; gap: 10px; }
.cell-player-text { line-height: 1.3; min-width: 0; }
.cell-player-text strong { display: block; }
.cell-player-text .muted { font-size: 11.5px; }
.avatar {
    width: 32px; height: 32px; border-radius: 50%; flex: 0 0 auto; overflow: hidden;
    display: grid; place-items: center; background: var(--navy); color: #fff;
    font-size: 11px; font-weight: 700;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Badges ---------- */
.badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 3px 9px; border-radius: 999px; white-space: nowrap;
    border: 1px solid var(--line-strong); background: var(--sunk); color: var(--ink-2);
    font-size: 10px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
}
.badge-good { border-color: var(--green-line); background: var(--green-wash); color: var(--green); }
.badge-bad { border-color: var(--red-line); background: var(--red-wash); color: var(--red); }
.badge-warn { border-color: var(--amber-line); background: var(--amber-wash); color: var(--amber); }
.badge-info { border-color: var(--blue-line); background: var(--blue-wash); color: var(--blue); }
.badge-neutral { border-color: var(--line-strong); background: var(--sunk); color: var(--ink-3); }

.chip-row { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
    height: 30px; padding: 0 12px; border-radius: var(--r-sm);
    border: 1px solid var(--line); background: var(--surface); color: var(--ink-3);
    font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
    transition: all .15s var(--ease);
}
.chip:hover { border-color: var(--line-strong); color: var(--ink); }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }

.table-tools { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.search-input { width: 210px; height: 32px; font-size: 13px; }
.toggle { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-3); cursor: pointer; }
.toggle input { accent-color: var(--navy); }
.count-note { font-size: 12px; color: var(--ink-4); }

/* ---------- Athlete detail ---------- */
.pf-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 18px; }
.pf-identity { display: flex; align-items: center; gap: 14px; }
.pf-identity .avatar { width: 46px; height: 46px; font-size: 15px; }
.pf-identity h2 { font-family: var(--font-display); font-size: 19px; text-transform: uppercase; color: var(--navy); }
.pf-identity p { margin: 3px 0 0; font-size: 12.5px; color: var(--ink-3); }
.connection-row { display: flex; gap: 7px; flex-wrap: wrap; }
.pf-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }

.kv-list { display: grid; }
.kv { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.kv:last-child { border-bottom: none; }
.kv > span:first-child { font-size: 10.5px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; color: var(--ink-4); }

.placeholder-card { padding: 44px 32px; text-align: center; }
.placeholder-card h3 { font-family: var(--font-display); font-size: 15px; text-transform: uppercase; color: var(--navy); margin-bottom: 10px; }
.placeholder-card p { margin: 0 auto 10px; max-width: 540px; color: var(--ink-2); }


/* ============================ Eval-specific ============================ */
.fine-print { margin: 0; font-size: 11.5px; color: var(--ink-4); }
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.page-head-sub { margin: 0; font-size: 13px; color: var(--ink-3); }
.search-input { width: 240px; }

/* Level and position ride in the table as quiet category tags, the way
   Finance shows revenue streams — they describe an athlete, they aren't a
   state, so they never get status colours. */
.cat-tag {
    display: inline-block; font: 600 11px/1 var(--font-body);
    letter-spacing: .02em; padding: 4px 8px; border-radius: 5px;
    border: 1px solid var(--line); color: var(--ink-3); background: var(--canvas);
    white-space: nowrap;
}
.cat-tag-level { color: #35507A; border-color: #C9D6E8; background: #EEF3FA; }
.cell-empty { color: var(--ink-4); }
.row-arrow { color: var(--ink-4); font-size: 17px; }

/* Blueprint Score column — just the number. */
.score-value {
    font-family: var(--font-display); font-size: 17px;
    color: var(--navy); font-variant-numeric: tabular-nums;
}

/* Switcher entries are links here (other apps live on other origins); keep
   them looking like the menu items, not browser links. */
a.dashboard-switcher-item { text-decoration: none; }
a.dashboard-switcher-item:hover { background: rgba(255,255,255,.06); color: #fff; }

/* Launch card for the dedicated evaluation form. */
.launch-grid { display: grid; grid-template-columns: minmax(0, 720px); gap: 16px; }
.launch-card { display: flex; flex-direction: column; margin-bottom: 0; }
.launch-card .panel-body { display: flex; flex-direction: column; gap: 14px; flex: 1; }
.launch-card-top { display: flex; align-items: center; gap: 12px; }
.launch-chip { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; flex: 0 0 auto; background: var(--blue-wash); color: var(--blue); }
.launch-chip .ico { width: 17px; height: 17px; }
.launch-title { font-family: var(--font-display); font-size: 15px; text-transform: uppercase; color: var(--navy); }
.launch-copy { margin: 0; color: var(--ink-2); max-width: 560px; }
.launch-card .btn { align-self: flex-start; margin-top: auto; }

/* Evaluation date picker on the athlete page — only shown with 2+ evals. */
.eval-select { width: auto; min-width: 180px; height: 38px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .eval-app { flex-direction: column; height: auto; overflow: visible; }
    .app-sidebar { width: 100%; flex: none; flex-direction: row; align-items: center; gap: 10px; overflow-x: auto; padding: 10px 12px; }
    .sidebar-top { padding: 0 8px 0 0; }
    .sidebar-divider, .sidebar-foot, .sidebar-nav-group-label, .dashboard-switcher-wrap { display: none; }
    .sidebar-nav { flex-direction: row; }
    .sidebar-tab { width: auto; padding: 0 12px; }
    .app-main { overflow: visible; }
    .app-views { overflow: visible; padding: 18px 14px 40px; }
    .topbar { padding-left: 14px; padding-right: 14px; }
    .app-header-title { font-size: 20px; }
    .account-email { display: none; }
    .search-input { width: 100%; }
    .col-hide-sm { display: none; }
    .table-tools { width: 100%; }
}
