:root {
  --navy: #092b70;
  --navy-dark: #041b4e;
  --blue: #30b9e6;
  --green: #73c68b;
  --yellow: #efd466;
  --grey: #8b929c;
  --red: #e51d2a;
  --ink: #17253a;
  --muted: #6c7889;
  --line: #dfe5ed;
  --surface: #fff;
  --canvas: #f3f6fa;
  --shadow: 0 18px 50px rgba(4, 28, 79, .12);
  --radius: 18px;
  font-family: "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--canvas);
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--canvas); }
body { min-width: 320px; min-height: 100vh; margin: 0; background: var(--canvas); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }

.boot { min-height: 100vh; display: grid; place-items: center; align-content: center; gap: 18px; color: var(--navy); }
.boot img { width: 76px; height: 76px; object-fit: contain; }
.boot strong { font-size: 14px; }

.landing {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: clamp(18px, 3vw, 38px);
  background: var(--navy) url("assets/fond-ligue.png") center / cover fixed;
  color: #fff;
}
.landing-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.landing-logo { width: min(390px, 72vw); filter: drop-shadow(0 7px 16px rgba(0,0,0,.25)); }
.landing-tag { padding: 9px 14px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; background: rgba(4,27,78,.45); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; backdrop-filter: blur(8px); }
.landing-main { width: min(1180px, 100%); display: grid; grid-template-columns: minmax(0, 1fr) minmax(470px, .95fr); gap: clamp(28px, 6vw, 76px); align-items: center; flex: 1; margin: 52px auto; }
.landing-copy { max-width: 660px; }
.kicker, .eyebrow { margin: 0 0 9px; color: var(--red); font-size: 11px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.landing-copy .kicker { color: #ffadb3; }
.landing-copy h1 { margin: 0 0 20px; color: #fff; font-size: clamp(46px, 6vw, 78px); line-height: .98; letter-spacing: -.052em; }
.landing-copy p { max-width: 600px; margin: 0; color: #dce7f6; font-size: clamp(16px, 1.6vw, 20px); line-height: 1.62; }
.landing-source { display: flex; gap: 10px; align-items: flex-start; margin-top: 28px; padding: 14px 16px; border-left: 3px solid var(--blue); background: rgba(4,27,78,.54); color: #cbdaf0; font-size: 12px; line-height: 1.5; }
.landing-source strong { color: #fff; }
.access-panel { padding: clamp(20px, 3vw, 30px); border: 1px solid rgba(255,255,255,.24); border-radius: 24px; background: rgba(255,255,255,.96); color: var(--ink); box-shadow: 0 30px 80px rgba(0,0,0,.25); backdrop-filter: blur(18px); }
.access-panel h2 { margin: 0 0 6px; color: var(--navy); font-size: 25px; }
.access-panel > p { margin: 0 0 20px; color: var(--muted); }
.access-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.access-card { position: relative; min-height: 220px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; padding: 21px; border: 0; border-radius: 17px; color: #fff; text-align: left; box-shadow: 0 15px 35px rgba(4,28,79,.18); }
.access-card::after { content: ""; position: absolute; width: 130px; height: 130px; right: -34px; bottom: -46px; border: 25px solid rgba(255,255,255,.13); border-radius: 50%; }
.access-card.girls { background: linear-gradient(145deg, #932059, #d72e72); }
.access-card.boys { background: linear-gradient(145deg, var(--navy-dark), #1253ae); }
.access-card.evaluator { min-height: 170px; background: linear-gradient(145deg, #056b79, #13a1a6); }
.access-card.admin { min-height: 170px; background: linear-gradient(145deg, #29364c, #51627a); }
.access-card:hover { transform: translateY(-3px); filter: saturate(1.1); }
.access-mark { width: 50px; height: 50px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.35); border-radius: 15px; background: rgba(255,255,255,.14); font-size: 19px; font-weight: 900; }
.access-card strong, .access-card small { position: relative; z-index: 1; display: block; }
.access-card strong { font-size: 23px; }
.access-card small { margin-top: 6px; color: rgba(255,255,255,.78); line-height: 1.35; }
.access-arrow { position: relative; z-index: 1; align-self: flex-end; font-size: 25px; }
.landing-footer { display: flex; justify-content: space-between; gap: 18px; color: #d9e5f6; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.app-shell { min-height: 100vh; display: flex; flex-direction: column; }
.app-header { position: sticky; top: 0; z-index: 30; min-height: 76px; display: flex; align-items: center; gap: 20px; padding: 10px clamp(16px, 3vw, 38px); border-bottom: 1px solid #d8e1ec; background: rgba(255,255,255,.97); backdrop-filter: blur(16px); }
.app-brand { display: flex; align-items: center; gap: 13px; min-width: 260px; text-decoration: none; }
.app-brand img { width: 51px; height: 51px; object-fit: contain; }
.app-brand span, .app-brand strong { display: block; }
.app-brand span { color: var(--red); font-size: 9px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.app-brand strong { margin-top: 2px; color: var(--navy); font-size: 14px; }
.section-chip { display: flex; align-items: center; gap: 8px; margin-left: 12px; padding: 8px 12px; border-radius: 999px; background: #ecf2fb; color: var(--navy); font-size: 11px; font-weight: 900; text-transform: uppercase; }
.section-chip.girls { background: #fbe8f1; color: #942056; }
.section-chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.app-main { width: min(1500px, 100%); flex: 1; margin: 0 auto; padding: 30px clamp(18px, 3.5vw, 54px) 60px; }

.btn { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 16px; border: 1px solid var(--navy); border-radius: 10px; background: var(--navy); color: #fff; font-weight: 800; text-decoration: none; transition: .17s ease; }
.btn:hover { border-color: #1452aa; background: #1452aa; transform: translateY(-1px); }
.btn.red { border-color: var(--red); background: var(--red); }
.btn.red:hover { border-color: #be131e; background: #be131e; }
.btn.secondary { border-color: #bdc9d8; background: #fff; color: var(--navy); }
.btn.secondary:hover { border-color: var(--navy); background: #eef4fb; }
.btn.ghost { min-height: 36px; padding: 0 10px; border-color: transparent; background: transparent; color: var(--navy); font-size: 12px; }
.btn.ghost:hover { background: #eef4fb; transform: none; }
.btn.small { min-height: 34px; padding: 0 11px; font-size: 11px; }
.btn.danger { border-color: #efc5c8; background: #fff4f5; color: #b51a23; }
.btn:disabled { opacity: .55; pointer-events: none; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--navy); font-size: 18px; }
.icon-btn:hover { background: #eef4fb; }

.page-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 24px; }
.page-title-row { display: flex; gap: 12px; align-items: flex-start; }
.page-header h1 { margin: 0 0 8px; color: var(--navy); font-size: clamp(29px, 4vw, 45px); line-height: 1.04; letter-spacing: -.035em; }
.page-header p:not(.eyebrow) { max-width: 760px; margin: 0; color: var(--muted); line-height: 1.55; }
.page-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.panel { min-width: 0; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 7px 28px rgba(4,28,79,.055); }
.panel + .panel { margin-top: 18px; }
.panel-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; margin-bottom: 17px; }
.panel-heading h2, .panel-heading h3 { margin: 0; color: var(--navy); }
.panel-heading h2 { font-size: 20px; }
.panel-heading h3 { font-size: 16px; }
.panel-heading p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.muted { color: var(--muted); }

.hero-strip { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 22px; align-items: center; margin-bottom: 18px; padding: clamp(24px, 4vw, 40px); overflow: hidden; border-radius: 22px; background: linear-gradient(120deg, var(--navy-dark), var(--navy)); color: #fff; box-shadow: var(--shadow); }
.hero-strip::after { content: ""; position: absolute; width: 350px; height: 350px; right: -115px; top: -155px; border: 58px solid rgba(255,255,255,.055); border-radius: 50%; }
.hero-strip .eyebrow { color: #ffafb4; }
.hero-strip h1 { position: relative; z-index: 1; margin: 0 0 9px; color: #fff; font-size: clamp(30px, 4vw, 48px); letter-spacing: -.04em; }
.hero-strip p:not(.eyebrow) { position: relative; z-index: 1; max-width: 760px; margin: 0; color: #ccd9ec; line-height: 1.55; }
.hero-strip .btn { position: relative; z-index: 1; }
.hero-strip.girls { background: linear-gradient(120deg, #68173f, #a82461); }

.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; margin-bottom: 17px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: #eaf0f7; }
.field { min-width: 0; display: grid; gap: 7px; }
.field > span, .field > label { color: #58697d; font-size: 10px; font-weight: 900; letter-spacing: .065em; text-transform: uppercase; }
.toolbar .field { flex: 1 1 200px; }
.toolbar .field.compact { flex: 0 1 190px; }
input, select, textarea { width: 100%; min-height: 43px; padding: 9px 11px; border: 1px solid #c9d4e0; border-radius: 9px; outline: none; background: #fff; color: var(--ink); }
textarea { min-height: 94px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: #1d62ba; box-shadow: 0 0 0 3px rgba(29,98,186,.12); }

.player-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.player-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 7px 22px rgba(4,28,79,.055); }
.player-card:hover { border-color: #9cb3d2; transform: translateY(-2px); box-shadow: 0 15px 35px rgba(4,28,79,.1); }
.player-card-photo { position: relative; height: 190px; overflow: hidden; background: linear-gradient(145deg, #e7edf5, #f8fafc); }
.player-card-photo img { width: 100%; height: 100%; object-fit: cover; }
.player-card-placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: #9aa6b4; font-size: 44px; font-weight: 800; }
.player-result-rooster { position: absolute; right: 10px; top: 10px; padding: 4px; border: 2px solid #fff; border-radius: 12px; background: rgba(255,255,255,.95); box-shadow: 0 5px 14px rgba(4,28,79,.18); }
.player-card-body { padding: 15px; }
.player-tracking-label { display: inline-flex; margin-bottom: 7px; padding: 4px 7px; border-radius: 999px; background: #eaf1fa; color: var(--navy); font-size: 8px; font-weight: 900; text-transform: uppercase; }
.player-card-body h3 { margin: 0; color: var(--navy); font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-card-body p { margin: 5px 0 0; color: var(--muted); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-card-progress { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 11px; padding: 8px 9px; border-radius: 8px; background: #eef4fb; }
.player-card-progress strong { color: var(--navy); font-size: 11px; }
.player-card-progress span { color: var(--muted); font-size: 9px; }
.player-card-actions { display: flex; gap: 6px; margin-top: 13px; padding-top: 12px; border-top: 1px solid #edf1f5; }
.player-card-actions .btn { flex: 1; }
.empty { min-height: 230px; display: grid; place-items: center; padding: 32px; border: 1px dashed #b9c8d9; border-radius: 15px; background: #f9fbfd; color: var(--muted); text-align: center; }
.empty strong { display: block; margin-bottom: 6px; color: var(--navy); font-size: 17px; }
.loading { padding: 46px; color: var(--muted); text-align: center; }
.error-banner, .info-banner { margin-bottom: 18px; padding: 14px 16px; border-left: 4px solid var(--red); border-radius: 6px; background: #fff1f2; color: #9a1720; line-height: 1.5; }
.info-banner { border-left-color: var(--blue); background: #eaf8fd; color: #155e79; }
.info-banner strong, .error-banner strong { display: block; }

.form-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; align-items: start; }
.form-sections { display: grid; gap: 18px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.form-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.form-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.form-grid .full { grid-column: 1 / -1; }
.form-grid .span-two { grid-column: span 2; }
.photo-uploader { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 18px; align-items: center; }
.photo-preview { width: 150px; height: 190px; display: grid; place-items: center; overflow: hidden; border: 1px dashed #a9bbcd; border-radius: 13px; background: #edf2f7; color: #8391a0; text-align: center; }
.photo-preview img { width: 100%; height: 100%; object-fit: cover; }
.photo-preview span { padding: 12px; font-size: 11px; font-weight: 700; }
.photo-help { color: var(--muted); font-size: 11px; line-height: 1.5; }
.photo-help .btn { margin: 10px 0 7px; }
.bib-editor { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 22px; align-items: center; margin-top: 5px; padding: 18px; border: 1px solid #d9e2ec; border-radius: 13px; background: #f7f9fc; }
.bib-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.bib-fields p { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 10px; }
.bib-visual { width: 150px; display: grid; justify-items: center; gap: 6px; margin: 0 auto; }
.bib-shape { position: relative; width: 112px; height: 104px; display: grid; place-items: center; clip-path: polygon(19% 0, 38% 10%, 62% 10%, 81% 0, 100% 23%, 84% 39%, 81% 100%, 19% 100%, 16% 39%, 0 23%); background: var(--bib-color); color: var(--bib-foreground); filter: drop-shadow(0 7px 7px rgba(4,28,79,.2)); }
.bib-shape::before { content: ""; position: absolute; left: 50%; top: -2px; width: 34px; height: 20px; border-radius: 0 0 20px 20px; background: #f7f9fc; transform: translateX(-50%); }
.bib-shape span { position: relative; z-index: 1; margin-top: 12px; font-size: 38px; font-weight: 950; text-shadow: 0 1px 1px rgba(0,0,0,.18); }
.bib-visual small { color: var(--muted); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.measure-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.measure-grid.growth-inputs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.measure-grid .field input { text-align: right; font-variant-numeric: tabular-nums; }
.field-help { min-height: 28px; color: var(--muted); font-size: 9px; line-height: 1.3; }
.cs-form-panel { border-top: 5px solid var(--blue); }
.cs-form-badge { display: grid; place-items: center; min-width: 62px; height: 44px; padding: 0 13px; border-radius: 12px; background: var(--navy); color: #fff; font-size: 17px; font-weight: 900; }
.cs-existing { display: flex; min-height: 69px; flex-direction: column; justify-content: center; padding: 10px 13px; border: 1px solid var(--line); border-radius: 9px; background: #f6f8fb; }
.cs-existing span { color: var(--muted); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.cs-existing strong { margin-top: 5px; color: var(--navy); font-size: 12px; }

.rating-legend { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 14px; }
.rating-legend span { display: inline-flex; align-items: center; gap: 7px; padding: 5px 9px 5px 5px; border-radius: 999px; background: #f2f5f8; color: #526173; font-size: 9px; font-weight: 800; }
.rooster-sprite { display: inline-block; width: 78px; height: 52px; flex: 0 0 auto; background: url("assets/coqs-reference-5.png") center 0 / auto 500% no-repeat; }
.rooster-sprite.blue { background-position: center 0; }
.rooster-sprite.green { background-position: center 25%; }
.rooster-sprite.yellow { background-position: center 50%; }
.rooster-sprite.grey { background-position: center 75%; }
.rooster-sprite.red { background-position: center 100%; }
.rating-legend .rooster-sprite { width: 36px; height: 24px; }
.technical-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.technical-item { min-width: 0; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #fbfcfd; }
.technical-item > span { display: block; margin-bottom: 9px; color: var(--navy); font-size: 11px; font-weight: 800; }
.rating-buttons { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; }
.rating-button { min-width: 0; min-height: 62px; display: grid; place-items: center; overflow: hidden; padding: 3px; border: 2px solid #e2e7ed; border-radius: 10px; background: #fff; color: #142035; }
.rating-button .rooster-sprite { width: 100%; max-width: 86px; height: auto; aspect-ratio: 1.5; }
.rating-button:hover { border-color: #91a5bd; background: #f7f9fc; }
.rating-button.selected { border-color: var(--navy-dark); box-shadow: 0 0 0 3px #dce9f8; transform: translateY(-1px); }
.priority-rooster { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); font-size: 11px; font-weight: 900; }
.priority-rooster .rooster-sprite { width: 70px; height: 47px; }
.priority-rooster.compact { display: inline-grid; justify-items: center; gap: 2px; font-size: 7px; line-height: 1; text-transform: uppercase; }
.priority-rooster.compact .rooster-sprite { width: 52px; height: 35px; }
.interview-editor { padding-top: 16px; border-top: 1px solid var(--line); }
.interview-editor-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.interview-editor-head h3 { margin: 2px 0 4px; color: var(--navy); font-size: 17px; }
.interview-editor-head p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.45; }
.form-section-kicker { color: var(--red); font-size: 8px; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.interview-date-field { max-width: 260px; margin-bottom: 12px; }
.interview-question-list { display: grid; gap: 10px; }
.interview-question-row { padding: 13px; border: 1px solid #d5dee8; border-left: 4px solid var(--navy); border-radius: 10px; background: #f8fafc; }
.interview-question-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 9px; }
.interview-question-head strong { color: var(--navy); font-size: 11px; }
.interview-question-row .field + .field { margin-top: 9px; }
.interview-remove { width: 29px; height: 29px; color: var(--red); font-size: 20px; }
.comment-field { padding-top: 3px; }
.form-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.form-status { color: var(--muted); font-size: 11px; }
.form-status.error { color: var(--red); font-weight: 800; }
.form-footer-actions { display: flex; gap: 8px; }

.admin-login-modal { border-top-color: var(--navy); }
.admin-lock { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 13px; border-radius: 14px; background: #edf3fb; font-size: 22px; }
.modal-error { min-height: 19px; margin: 9px 0; color: var(--red); font-size: 11px; font-weight: 800; }
.admin-chip { background: #fff0f1; color: var(--red); }
.admin-hero { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-bottom: 18px; padding: 28px 30px; border-radius: 20px; background: linear-gradient(120deg, var(--navy-dark), #153f81); color: #fff; box-shadow: var(--shadow); }
.admin-hero h1 { margin: 0 0 7px; font-size: clamp(30px, 4vw, 47px); }
.admin-hero p:not(.eyebrow) { max-width: 750px; margin: 0; color: #cbd9ec; }
.admin-count { min-width: 145px; padding: 16px; border: 1px solid rgba(255,255,255,.2); border-radius: 15px; background: rgba(255,255,255,.09); text-align: center; }
.admin-count strong, .admin-count span { display: block; }
.admin-count strong { font-size: 35px; }
.admin-count span { color: #d3dfef; font-size: 10px; text-transform: uppercase; }
.admin-layout { display: grid; grid-template-columns: minmax(340px, .85fr) minmax(420px, 1.15fr); gap: 18px; align-items: start; }
.admin-layout .panel { margin-top: 0; }
.evaluator-list { display: grid; gap: 9px; }
.evaluator-card { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; gap: 11px; align-items: center; padding: 11px; border: 1px solid #dbe3ec; border-radius: 11px; background: #f8fafc; }
.evaluator-avatar { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 13px; background: var(--navy); color: #fff; font-size: 13px; font-weight: 900; }
.evaluator-card strong, .evaluator-card span, .evaluator-card small { display: block; }
.evaluator-card strong { color: var(--navy); font-size: 13px; }
.evaluator-card span { margin-top: 3px; color: var(--muted); font-size: 9px; }
.evaluator-card small { margin-top: 3px; color: #6b7788; font-size: 9px; }
.evaluator-login-state.ready { color: #147447; font-weight: 800; }
.evaluator-login-state.missing { color: var(--red); font-weight: 800; }
.evaluator-card-actions { display: flex; gap: 5px; }
.evaluator-card-actions .icon-btn { width: 33px; height: 33px; font-size: 15px; }
.danger-icon { color: var(--red); }
.admin-empty { padding: 25px; border: 1px dashed #b9c8d9; border-radius: 11px; background: #f8fafc; color: var(--muted); text-align: center; }
.admin-assignments, .admin-security { margin-top: 18px; }
.assignment-players { margin: 17px 0; }
.assignment-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.assignment-player { min-width: 0; display: grid; grid-template-columns: auto 42px minmax(0, 1fr); gap: 9px; align-items: center; padding: 10px; border: 1px solid #dbe3ec; border-radius: 11px; background: #fff; cursor: pointer; }
.assignment-player:has(input:checked) { border-color: #3a73b9; background: #edf5ff; box-shadow: 0 0 0 2px #d5e8ff inset; }
.assignment-player.assigned-other { border-style: dashed; }
.assignment-player input { width: 17px; min-height: 17px; margin: 0; }
.assignment-player-avatar { width: 42px; height: 42px; display: grid; place-items: center; overflow: hidden; border-radius: 50%; background: #dfe8f3; color: var(--navy); font-size: 10px; font-weight: 900; }
.assignment-player-avatar img { width: 100%; height: 100%; object-fit: cover; }
.assignment-player strong, .assignment-player small, .assignment-player em { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.assignment-player strong { color: var(--navy); font-size: 11px; }
.assignment-player small { margin-top: 3px; color: var(--muted); font-size: 8px; }
.assignment-player em { margin-top: 4px; color: var(--red); font-size: 8px; }
.password-form { display: grid; grid-template-columns: minmax(220px, 1fr) minmax(220px, 1fr) auto; gap: 12px; align-items: end; }

.evaluator-login-modal { border-top-color: #0b9298; }
.evaluator-password-field { margin-top: 12px; }
.evaluator-chip { background: #e7f8f8; color: #06747a; }
.evaluator-hero { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-bottom: 25px; padding: 30px; overflow: hidden; border-radius: 22px; background: linear-gradient(120deg, #064b5a, #0c8d93); color: #fff; box-shadow: var(--shadow); }
.evaluator-hero .eyebrow { color: #9df0ef; }
.evaluator-hero h1 { margin: 0 0 8px; font-size: clamp(32px, 5vw, 52px); }
.evaluator-hero p:not(.eyebrow) { max-width: 720px; margin: 0; color: #d5f4f3; line-height: 1.55; }
.evaluator-progress { min-width: 170px; padding: 18px; border: 1px solid rgba(255,255,255,.25); border-radius: 16px; background: rgba(255,255,255,.1); text-align: center; }
.evaluator-progress strong, .evaluator-progress span { display: block; }
.evaluator-progress strong { font-size: 32px; }
.evaluator-progress span { margin-top: 3px; color: #daf4f3; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.evaluator-dashboard-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 15px; }
.evaluator-dashboard-head h2 { margin: 0; color: var(--navy); font-size: 25px; }
.evaluator-dashboard-head > span { padding: 8px 11px; border-radius: 999px; background: #e7f4f5; color: #08757a; font-size: 10px; font-weight: 900; }
.evaluator-assignment-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.evaluator-assignment-card { min-width: 0; overflow: hidden; border: 1px solid #dce4eb; border-radius: 16px; background: #fff; box-shadow: 0 8px 25px rgba(4,28,79,.07); }
.evaluator-assignment-photo { position: relative; height: 190px; display: grid; place-items: center; overflow: hidden; background: linear-gradient(145deg, #dfe8ef, #f8fafc); color: #8c9bad; font-size: 40px; font-weight: 900; }
.evaluator-assignment-photo img { width: 100%; height: 100%; object-fit: cover; }
.assignment-section { position: absolute; right: 10px; top: 10px; padding: 5px 8px; border: 2px solid #fff; border-radius: 999px; background: var(--navy); color: #fff; font-size: 8px; text-transform: uppercase; }
.assignment-section.filles { background: #b72b69; }
.evaluator-assignment-body { padding: 15px; }
.assignment-cs-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.assignment-cs-row > strong { padding: 5px 8px; border-radius: 7px; background: var(--navy); color: #fff; font-size: 10px; }
.assignment-status { color: var(--muted); font-size: 8px; font-weight: 900; text-transform: uppercase; }
.assignment-status.complete { color: #147447; }
.assignment-status.todo { color: var(--red); }
.evaluator-assignment-body h3 { margin: 12px 0 4px; color: var(--navy); font-size: 17px; }
.evaluator-assignment-body > p { margin: 0; color: var(--muted); font-size: 10px; }
.assignment-bib-mini { display: flex; justify-content: center; margin: 11px 0; padding: 8px; border-radius: 10px; background: #f6f8fb; }
.assignment-bib-mini .bib-visual { width: 74px; gap: 2px; }
.assignment-bib-mini .bib-shape { width: 54px; height: 49px; }
.assignment-bib-mini .bib-shape::before { width: 18px; height: 10px; }
.assignment-bib-mini .bib-shape span { margin-top: 7px; font-size: 20px; }
.assignment-bib-mini .bib-visual small { font-size: 6px; }
.evaluator-assignment-body > .btn { width: 100%; }
.evaluator-empty { grid-column: 1 / -1; min-height: 200px; display: grid; place-items: center; align-content: center; gap: 7px; }
.evaluator-empty strong, .evaluator-empty span { display: block; }

.live-summary { position: sticky; top: 98px; }
.summary-card { overflow: hidden; border-radius: 18px; background: var(--navy-dark); color: #fff; box-shadow: var(--shadow); }
.summary-top { display: flex; align-items: center; gap: 14px; padding: 19px; background: linear-gradient(135deg, var(--navy-dark), var(--navy)); }
.summary-avatar { width: 70px; height: 84px; flex: 0 0 70px; display: grid; place-items: center; overflow: hidden; border: 2px solid rgba(255,255,255,.75); border-radius: 10px; background: #dfe6ee; color: var(--navy); }
.summary-avatar img { width: 100%; height: 100%; object-fit: cover; }
.summary-top h3 { margin: 0; font-size: 17px; }
.summary-top p { margin: 5px 0 0; color: #bdd0e8; font-size: 11px; }
.summary-cs { display: inline-block; margin-bottom: 5px; padding: 3px 7px; border-radius: 6px; background: var(--red); color: #fff; font-size: 9px; font-weight: 900; }
.summary-score { padding: 18px; }
.summary-priority { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.summary-priority span { color: #9fb5cf; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.summary-priority strong { font-size: 28px; }
.summary-colors { display: grid; gap: 6px; }
.summary-color-row { display: grid; grid-template-columns: minmax(0, 1fr) 90px; gap: 8px; align-items: center; }
.summary-color-row span { color: #c6d4e5; font-size: 10px; }
.mini-track { height: 7px; overflow: hidden; border-radius: 4px; background: rgba(255,255,255,.1); }
.mini-track i { display: block; height: 100%; border-radius: inherit; }
.reference-note { margin-top: 14px; padding: 13px; border-radius: 11px; background: rgba(255,255,255,.08); color: #c3d2e4; font-size: 10px; line-height: 1.45; }

.sheet-toolbar { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 15px; }
.sheet-toolbar .actions { display: flex; gap: 7px; }
.player-sheet { position: relative; min-height: 720px; overflow: hidden; padding: 36px; border: 1px solid #dce2e9; border-radius: 18px; background: #fff url("assets/cadre-fiche.png") center / 100% 100% no-repeat; box-shadow: var(--shadow); }
.sheet-inner { min-height: 640px; display: grid; grid-template-columns: 220px minmax(320px, 1fr) minmax(320px, 1fr); grid-template-rows: auto 1fr auto; gap: 18px; padding: 28px 20px 16px; background: rgba(255,255,255,.94); }
.sheet-head { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding-bottom: 13px; border-bottom: 2px solid #20242a; }
.sheet-head img { width: 280px; max-height: 66px; object-fit: contain; object-position: left center; }
.sheet-head-meta { text-align: right; }
.sheet-head-meta strong, .sheet-head-meta span { display: block; }
.sheet-head-meta strong { color: var(--navy); font-size: 16px; }
.sheet-head-meta span { margin-top: 4px; color: var(--muted); font-size: 10px; }
.sheet-profile { padding: 0 12px 0 0; border-right: 1px solid var(--line); }
.sheet-photo { width: 100%; aspect-ratio: 4 / 5; display: grid; place-items: center; overflow: hidden; margin-bottom: 11px; background: #222; color: #fff; }
.sheet-photo img { width: 100%; height: 100%; object-fit: cover; }
.sheet-name { margin: 0 0 9px; color: #111; font-size: 17px; text-align: center; }
.profile-facts { display: grid; gap: 6px; margin-bottom: 14px; }
.profile-fact { display: flex; justify-content: space-between; gap: 8px; font-size: 11px; }
.profile-fact span { color: var(--muted); }
.profile-fact strong { color: #111; text-align: right; }
.body-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.body-stat { padding: 9px 7px; border-radius: 999px; background: #222; color: #fff; text-align: center; }
.body-stat span, .body-stat strong { display: block; }
.body-stat span { font-size: 8px; text-transform: uppercase; }
.body-stat strong { margin-top: 3px; font-size: 14px; }
.sheet-bib { margin-top: 12px; padding: 8px 0; border-radius: 10px; background: #f5f7fa; }
.sheet-bib .bib-visual { width: 100px; gap: 3px; }
.sheet-bib .bib-shape { width: 72px; height: 64px; }
.sheet-bib .bib-shape::before { width: 23px; height: 13px; }
.sheet-bib .bib-shape span { margin-top: 8px; font-size: 25px; }
.sheet-bib .bib-visual small { font-size: 7px; }
.sheet-evaluator { margin-top: 10px; padding: 9px; border-left: 4px solid var(--red); background: #f3f6fa; }
.sheet-evaluator span, .sheet-evaluator strong, .sheet-evaluator small { display: block; }
.sheet-evaluator span { color: var(--muted); font-size: 7px; font-weight: 900; text-transform: uppercase; }
.sheet-evaluator strong { margin-top: 3px; color: var(--navy); font-size: 10px; }
.sheet-evaluator small { margin-top: 2px; color: var(--muted); font-size: 7px; }
.position-box { margin-top: 15px; text-align: center; }
.position-box span, .position-box strong { display: block; }
.position-box span { color: var(--muted); font-size: 9px; font-style: italic; }
.position-box strong { margin-top: 4px; color: #111; font-size: 13px; }
.jersey { width: 78px; height: 70px; display: grid; place-items: center; margin: 8px auto 0; clip-path: polygon(22% 0, 38% 12%, 62% 12%, 78% 0, 100% 22%, 86% 37%, 82% 100%, 18% 100%, 14% 37%, 0 22%); background: #26282c; color: #fff; font-size: 30px; font-weight: 900; }
.sheet-technical, .sheet-physical { min-width: 0; padding: 15px; background: rgba(245,246,248,.94); }
.sheet-section-title { display: flex; align-items: center; gap: 10px; margin-bottom: 9px; color: #20242a; }
.sheet-section-title b { width: 38px; height: 38px; display: grid; place-items: center; border: 2px solid #20242a; border-radius: 9px; font-size: 11px; }
.sheet-section-title span, .sheet-section-title strong { display: block; }
.sheet-section-title span { font-size: 15px; font-weight: 300; text-transform: uppercase; }
.sheet-section-title strong { font-size: 17px; line-height: .9; text-transform: uppercase; }
.radar-wrap { min-height: 330px; display: grid; place-items: center; }
.radar-canvas { width: 100%; max-width: 420px; aspect-ratio: 1; }
.sheet-priority { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-left: 5px solid var(--blue); background: #fff; }
.sheet-priority > span { color: var(--muted); font-size: 10px; text-transform: uppercase; }
.sheet-priority .priority-rooster > span { color: var(--navy); font-size: 10px; text-transform: uppercase; }
.physical-list { display: grid; gap: 15px; margin-top: 16px; }
.physical-row { display: grid; grid-template-columns: 74px minmax(0, 1fr) 72px; gap: 9px; align-items: center; }
.physical-row-label strong, .physical-row-label small { display: block; }
.physical-row-label strong { font-size: 11px; }
.physical-row-label small { margin-top: 2px; color: var(--muted); font-size: 8px; }
.physical-track { position: relative; height: 9px; display: grid; grid-template-columns: repeat(4, 1fr); overflow: visible; border-radius: 5px; }
.physical-track i:nth-child(1) { background: var(--grey); }
.physical-track i:nth-child(2) { background: var(--yellow); }
.physical-track i:nth-child(3) { background: var(--green); }
.physical-track i:nth-child(4) { background: var(--blue); }
.physical-track .marker { position: absolute; left: var(--marker, 50%); top: 50%; width: 3px; height: 19px; border-radius: 2px; background: #111; transform: translate(-50%,-50%); box-shadow: 0 0 0 2px #fff; }
.physical-value { padding: 7px 8px; border-radius: 999px; background: #222; color: #fff; font-size: 10px; font-weight: 900; text-align: center; }
.physical-value.blue { background: #178db7; }
.physical-value.green { background: #348b52; }
.physical-value.yellow { background: #a68000; }
.physical-value.grey { background: #666d76; }
.physical-value.unrated { background: #dce1e7; color: #4f5965; }
.physical-source-note { margin-top: 19px; padding: 11px; border: 1px solid #d7dee7; background: #fff; color: var(--muted); font-size: 9px; line-height: 1.45; }
.sheet-interview { grid-column: 2 / -1; padding: 14px; border: 1px solid var(--line); border-left: 4px solid var(--navy); background: rgba(255,255,255,.96); }
.sheet-interview-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.sheet-interview-head strong { color: var(--navy); font-size: 12px; text-transform: uppercase; }
.sheet-interview-head span { color: var(--muted); font-size: 9px; font-weight: 700; }
.sheet-interview-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.sheet-interview-list article { padding: 9px; border-radius: 8px; background: #f5f7fa; }
.sheet-interview-list span { color: var(--red); font-size: 7px; font-weight: 900; text-transform: uppercase; }
.sheet-interview-list h4 { margin: 3px 0 5px; color: var(--navy); font-size: 10px; }
.sheet-interview-list p, .interview-empty { margin: 0; color: #4a5667; font-size: 9px; line-height: 1.45; white-space: pre-wrap; }
.sheet-comment { grid-column: 2 / -1; min-height: 95px; padding: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.96); }
.sheet-comment strong { display: block; margin-bottom: 8px; color: #222; font-size: 11px; font-style: italic; }
.sheet-comment p { margin: 0; color: #333; font-size: 11px; line-height: 1.5; white-space: pre-wrap; }

.cs-selector-panel { display: grid; grid-template-columns: minmax(250px, .72fr) minmax(520px, 1.28fr); gap: 22px; align-items: center; margin-bottom: 16px; padding: 20px 22px; border: 1px solid #dbe3ed; border-top: 5px solid var(--red); border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
.cs-selector-panel h1 { margin: 2px 0 5px; color: var(--navy); font-size: 25px; }
.cs-selector-panel p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.cs-tabs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 7px; }
.cs-tabs.ten { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.cs-tab { min-width: 0; min-height: 64px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 7px 5px; border: 1px solid #cbd7e4; border-radius: 10px; background: #f6f8fb; color: var(--navy); }
button.cs-tab { cursor: pointer; }
button.cs-tab:hover { border-color: #7598c4; background: #edf4fc; }
.cs-tab strong { font-size: 13px; }
.cs-tab small { width: 100%; margin-top: 4px; color: var(--muted); font-size: 7px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cs-tab.active { border-color: var(--navy); background: var(--navy); color: #fff; box-shadow: 0 6px 16px rgba(4,36,94,.2); }
.cs-tab.active small { color: #dbe8f8; }
.cs-tab.empty { border-style: dashed; color: #a1aab5; background: #fafbfc; }

.history-sheet { margin-top: 20px; padding: 28px; border: 1px solid #dce2e9; border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.history-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 16px; border-bottom: 2px solid var(--navy); }
.history-head h2 { margin: 3px 0 0; color: var(--navy); font-size: 25px; }
.history-head > span { padding: 8px 12px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 10px; font-weight: 900; }
.growth-panel, .history-block { margin-top: 20px; padding: 18px; border: 1px solid var(--line); border-radius: 13px; background: #fbfcfe; }
.history-section-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.history-section-title h3, .history-block h3 { margin: 0; color: var(--navy); font-size: 16px; }
.history-section-title p { margin: 4px 0 0; color: var(--muted); font-size: 10px; }
.growth-legend { display: flex; flex-wrap: wrap; gap: 13px; color: var(--muted); font-size: 10px; font-weight: 800; }
.growth-legend span { display: inline-flex; align-items: center; gap: 6px; }
.growth-legend i { width: 18px; height: 4px; border-radius: 2px; }
.growth-legend i.height { background: #0b3b82; }
.growth-legend i.weight { background: #d52231; }
.growth-charts-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.growth-chart-card { min-width: 0; padding: 13px; border: 1px solid #dce3eb; border-top: 4px solid #0b3b82; border-radius: 11px; background: #fff; }
.growth-chart-card.weight { border-top-color: #d52231; }
.growth-chart-card > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 3px 8px; }
.growth-chart-card > header span { color: var(--muted); font-size: 7px; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.growth-chart-card > header h4 { margin: 2px 0 0; color: var(--navy); font-size: 15px; }
.growth-chart-card > header > strong { display: grid; place-items: center; min-width: 38px; height: 28px; border-radius: 7px; background: #eaf0f8; color: #0b3b82; font-size: 10px; }
.growth-chart-card.weight > header > strong { background: #fff0f1; color: #d52231; }
.growth-chart { display: block; max-width: 100%; margin-top: 12px; }
.history-table-wrap { margin-top: 12px; overflow-x: auto; }
.history-table { width: 100%; min-width: 950px; border-collapse: collapse; background: #fff; font-size: 9px; }
.history-table th, .history-table td { padding: 8px 7px; border: 1px solid #dce3eb; text-align: center; }
.history-table thead th { background: var(--navy); color: #fff; font-weight: 800; }
.history-table tbody th { color: var(--navy); font-size: 11px; }
.technical-history { min-width: 980px; }
.history-rating { display: inline-block; min-width: 65px; padding: 5px 6px; border-radius: 7px; color: #132039; font-size: 7px; font-weight: 900; text-transform: uppercase; }
.history-rating.blue { background: var(--blue); }
.history-rating.green { background: var(--green); }
.history-rating.yellow { background: var(--yellow); }
.history-rating.grey { background: #c1c5cb; }
.history-rating.rooster-rating { min-width: 0; padding: 0; background: transparent; }
.history-rating.rooster-rating .rooster-sprite { width: 54px; height: 36px; }
.history-interviews { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.history-interviews > article { padding: 12px; border: 1px solid #dce3eb; border-radius: 9px; background: #fff; }
.history-interviews header { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 8px; border-bottom: 1px solid #e8edf2; }
.history-interviews header strong { color: var(--navy); font-size: 12px; }
.history-interviews header span { color: var(--muted); font-size: 8px; }
.history-interviews header > div { display: flex; flex-direction: column; gap: 3px; text-align: right; }
.history-interviews ol { margin: 9px 0 0; padding-left: 22px; }
.history-interviews li + li { margin-top: 9px; }
.history-interviews h4 { margin: 0 0 4px; color: var(--navy); font-size: 10px; }
.history-interviews p { margin: 0; color: #4a5667; font-size: 9px; line-height: 1.45; white-space: pre-wrap; }
.history-comments { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.history-comments article { padding: 12px; border-left: 4px solid var(--navy); border-radius: 7px; background: #fff; }
.history-comments article > div { display: flex; justify-content: space-between; gap: 10px; }
.history-comments strong { color: var(--navy); }
.history-comments span { color: var(--muted); font-size: 8px; }
.history-comments p { margin: 8px 0 0; color: #3c4757; font-size: 10px; line-height: 1.5; white-space: pre-wrap; }

.confirm-backdrop { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px; background: rgba(3,19,53,.65); }
.confirm-modal { width: min(100%, 430px); padding: 25px; border-top: 5px solid var(--red); border-radius: 14px; background: #fff; box-shadow: 0 25px 70px rgba(0,0,0,.28); }
.confirm-modal h2 { margin: 0 0 8px; color: var(--navy); }
.confirm-modal p { margin: 0 0 20px; color: var(--muted); line-height: 1.5; }
.confirm-actions { display: flex; justify-content: flex-end; gap: 8px; }
.toast { position: fixed; right: 22px; bottom: 22px; z-index: 100; max-width: 370px; padding: 13px 16px; border-radius: 11px; background: var(--navy-dark); color: #fff; box-shadow: 0 15px 35px rgba(0,0,0,.25); opacity: 0; pointer-events: none; transform: translateY(10px); transition: .2s ease; }
.toast.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1180px) {
  .landing-main { grid-template-columns: 1fr; }
  .landing-copy { max-width: 850px; }
  .access-panel { width: min(760px, 100%); }
  .player-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .form-layout { grid-template-columns: 1fr; }
  .live-summary { position: static; }
  .measure-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .measure-grid.growth-inputs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sheet-inner { grid-template-columns: 190px minmax(280px, 1fr) minmax(280px, 1fr); }
  .cs-selector-panel { grid-template-columns: 1fr; }
  .admin-layout { grid-template-columns: 1fr; }
  .form-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .assignment-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .evaluator-assignment-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 850px) {
  .app-brand div { display: none; }
  .app-brand { min-width: auto; }
  .section-chip { margin-left: 0; }
  .player-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .technical-grid { grid-template-columns: 1fr; }
  .cs-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cs-tabs.ten { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .growth-charts-grid { grid-template-columns: 1fr; }
  .sheet-inner { grid-template-columns: 170px minmax(0, 1fr); }
  .sheet-physical { grid-column: 1 / -1; }
  .sheet-interview { grid-column: 1 / -1; }
  .sheet-comment { grid-column: 1 / -1; }
  .history-interviews { grid-template-columns: 1fr; }
  .history-comments { grid-template-columns: 1fr; }
  .password-form { grid-template-columns: 1fr 1fr; }
  .password-form .btn { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .landing { padding: 18px; }
  .landing-top { align-items: flex-start; flex-direction: column; }
  .landing-main { margin: 38px auto; }
  .landing-copy h1 { font-size: 43px; }
  .access-grid { grid-template-columns: 1fr; }
  .access-card { min-height: 170px; }
  .access-card.admin, .access-card.evaluator { min-height: 150px; }
  .landing-footer { flex-direction: column; }
  .app-header { gap: 9px; min-height: 65px; }
  .app-brand img { width: 43px; height: 43px; }
  .section-chip { max-width: 105px; padding: 7px 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .header-actions .btn span { display: none; }
  .app-main { padding: 23px 14px 44px; }
  .page-header { display: block; }
  .page-actions { justify-content: flex-start; margin-top: 14px; }
  .hero-strip { grid-template-columns: 1fr; padding: 24px 20px; }
  .player-grid { grid-template-columns: 1fr; }
  .form-grid, .form-grid.three, .form-grid.four { grid-template-columns: 1fr; }
  .form-grid .full, .form-grid .span-two { grid-column: auto; }
  .photo-uploader { grid-template-columns: 120px minmax(0, 1fr); }
  .photo-preview { width: 120px; height: 155px; }
  .measure-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .measure-grid.growth-inputs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bib-editor { grid-template-columns: 1fr; }
  .bib-fields { grid-template-columns: 1fr; }
  .rating-button { min-height: 56px; }
  .interview-editor-head { align-items: stretch; flex-direction: column; }
  .interview-date-field { max-width: none; }
  .sheet-interview-head { align-items: flex-start; flex-direction: column; }
  .sheet-interview-list { grid-template-columns: 1fr; }
  .form-footer { align-items: stretch; flex-direction: column; }
  .form-footer-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .player-sheet { min-height: 0; padding: 12px; background: #fff; }
  .sheet-toolbar, .sheet-toolbar .actions { align-items: stretch; flex-direction: column; }
  .cs-selector-panel, .history-sheet { padding: 16px; }
  .cs-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cs-tabs.ten { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .history-section-title, .history-head { align-items: flex-start; flex-direction: column; }
  .growth-panel, .history-block { padding: 12px; }
  .sheet-inner { display: block; min-height: 0; padding: 12px; }
  .sheet-head, .sheet-profile, .sheet-technical, .sheet-physical, .sheet-comment { margin-bottom: 14px; }
  .sheet-profile { padding: 0; border-right: 0; }
  .sheet-photo { width: 170px; margin: 0 auto 12px; }
  .radar-wrap { min-height: 280px; }
  .admin-hero { align-items: flex-start; flex-direction: column; padding: 23px 20px; }
  .admin-count { width: 100%; }
  .assignment-list, .password-form { grid-template-columns: 1fr; }
  .password-form .btn { grid-column: auto; }
  .evaluator-hero { align-items: flex-start; flex-direction: column; padding: 23px 20px; }
  .evaluator-progress { width: 100%; }
  .evaluator-dashboard-head { align-items: flex-start; flex-direction: column; }
  .evaluator-assignment-grid { grid-template-columns: 1fr; }
}

@media print {
  @page { size: A4 landscape; margin: 8mm; }
  body { background: #fff; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .app-header, .sheet-toolbar, .page-header, .cs-selector-panel, .toast, .confirm-backdrop { display: none !important; }
  .app-main { width: 100%; max-width: none; padding: 0; }
  .player-sheet { min-height: 0; padding: 8mm; border: 0; border-radius: 0; box-shadow: none; page-break-inside: avoid; }
  .sheet-inner { min-height: 175mm; grid-template-columns: 47mm 1fr 1fr; gap: 5mm; padding: 8mm 5mm 4mm; }
  .sheet-photo { max-height: 63mm; }
  .radar-wrap { min-height: 82mm; }
  .history-sheet { margin: 0; padding: 6mm; border: 0; border-radius: 0; box-shadow: none; page-break-before: always; }
  .growth-panel, .history-block { break-inside: avoid; }
  .history-table-wrap { overflow: visible; }
  .history-table, .technical-history { min-width: 0; font-size: 6.5px; }
  .history-table th, .history-table td { padding: 4px 3px; }
  .history-rating { min-width: 0; padding: 3px; font-size: 5.5px; }
}
