










:root { --yellow: #ed0819; --yellow-soft: #ffe8eb; --ink: #0040bf; --cream: #f4f7ff; --paper: #ffffff; --muted: #3159a9; --line: #c5d3f2; --green: #13795b; --red: #ed0819; --blue: #0040bf; --navy: #0040bf; }
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--cream); color: var(--ink); }
body { font-family: "Montserrat", Arial, sans-serif; font-size: 16px; line-height: 1.45; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
h1, h2, h3 { font-family: "Montserrat", Arial, sans-serif; font-weight: 800; letter-spacing: -.035em; }
h1, h2, h3, strong { letter-spacing: -.02em; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(2rem, 3.5vw, 3.1rem); line-height: .95; }
h2 { font-size: clamp(2.1rem, 4vw, 3.4rem); line-height: .95; }
h3 { font-size: 1.85rem; line-height: .95; }

.app-shell { min-height: 100vh; display: flex; background: var(--cream); }
.sidebar { width: 250px; flex: 0 0 250px; min-height: 100vh; background: var(--ink); color: white; padding: 28px 20px 22px; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; z-index: 10; }
.brand-lockup { display: flex; align-items: center; gap: 12px; min-height: 50px; }
.brand-lockup img { width: 45px; height: 45px; object-fit: contain; background: var(--yellow); border-radius: 50%; padding: 3px; }
.brand-lockup strong { display: block; font-size: 1.5rem; line-height: .85; }
.brand-lockup span { display: block; color: #d7d3c6; font-size: .85rem; margin-top: 5px; }
.sidebar-rule { height: 1px; background: #3c3c3c; margin: 27px 0 28px; }
.nav-label, .eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; font-weight: 700; color: var(--muted); }
.sidebar .nav-label { color: #aaa79d; margin: 0 11px 12px; }
.sidebar nav { display: grid; gap: 5px; }
.nav-item { border: 0; color: #cfcbc1; background: transparent; display: flex; align-items: center; gap: 12px; padding: 12px 12px; border-radius: 6px; text-align: left; font-weight: 700; transition: background .2s, color .2s; }
.nav-item:hover, .nav-item-active { color: var(--ink); background: var(--yellow); }
.sidebar-foot { margin-top: auto; color: #aaa79d; font-size: .85rem; display: flex; gap: 8px; align-items: center; padding: 0 11px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #46ba7e; box-shadow: 0 0 0 3px rgb(70 186 126 / 13%); }
.main-area { min-width: 0; flex: 1; }
.topbar { min-height: 94px; background: var(--paper); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px clamp(22px, 4vw, 58px); }
.topbar h1 { font-size: clamp(2rem, 3vw, 2.8rem); }
.user-menu { display: flex; align-items: center; gap: 10px; }
.user-avatar { width: 38px; height: 38px; display: grid; place-items: center; background: var(--yellow); border-radius: 50%; }
.user-copy strong { font-family: "Sofia Sans", Arial, sans-serif; font-size: .95rem; display: block; line-height: 1.1; }
.user-copy span { display: block; margin-top: 3px; }
.role-pill, .status-chip, .mini-tag { display: inline-flex; align-items: center; border-radius: 999px; padding: 4px 9px; font-size: .75rem; font-weight: 700; line-height: 1; }
.role-admin { background: var(--yellow-soft); color: #6f5100; }.role-coach { background: #e4f4ee; color: #1a7157; }.role-player { background: #e8e5ff; color: #5148a4; }.role-unassigned { background: #eee; color: #555; }
.content-wrap { max-width: 1500px; margin: 0 auto; padding: clamp(24px, 4vw, 58px); }
.page-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 32px; }
.page-intro.compact { margin-bottom: 24px; }
.page-intro h2 { margin-top: 8px; }
.intro-copy { color: var(--muted); max-width: 620px; margin-top: 12px; font-size: 1.02rem; }
.action-row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 5px; padding: 11px 16px; font-weight: 700; text-decoration: none; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgb(21 21 21 / 10%); }
.button-yellow { background: var(--yellow); color: var(--ink); }.button-dark { background: var(--ink); color: white; }.button-outline { background: transparent; border-color: #8d897e; color: var(--ink); }
.icon-button { display: inline-grid; place-items: center; border: 0; background: transparent; color: inherit; padding: 7px; border-radius: 4px; text-decoration: none; }.icon-button:hover { background: rgb(21 21 21 / 8%); }.sidebar .icon-button:hover { background: #303030; }
.mobile-menu, .mobile-close { display: none; }
.notice { display: flex; justify-content: space-between; gap: 15px; align-items: center; background: #e7f5ef; border-left: 4px solid var(--green); padding: 12px 15px; margin-bottom: 20px; color: #235d4b; }
.notice button { border: 0; background: transparent; color: inherit; display: grid; place-items: center; }
.kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; margin-bottom: 18px; }
.kpi { background: var(--paper); border: 1px solid var(--line); padding: 20px; min-height: 128px; display: flex; flex-direction: column; justify-content: space-between; }.kpi span, .kpi small { color: var(--muted); font-size: .86rem; }.kpi strong { font-size: 3rem; line-height: .75; margin: 12px 0 4px; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr); gap: 18px; margin-bottom: 18px; }
.panel { background: var(--paper); border: 1px solid var(--line); padding: 22px; }.panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 20px; }.panel-heading h3 { margin-top: 4px; }.panel-meta { color: var(--muted); font-size: .85rem; }
.corner-list { display: grid; gap: 19px; }.corner-row { display: grid; grid-template-columns: 130px minmax(120px, 1fr) 48px 48px; gap: 14px; align-items: center; }.corner-name { display: flex; align-items: center; gap: 9px; font-weight: 700; }.corner-dot { width: 10px; height: 10px; border-radius: 50%; }.corner-track { height: 9px; background: #e8e5db; overflow: hidden; }.corner-track span { display: block; height: 100%; transition: width .4s; }.corner-row strong { font-family: "Sofia Sans", Arial, sans-serif; font-size: .95rem; text-align: right; }.corner-row small { text-align: right; font-weight: 700; font-size: .83rem; }.positive { color: var(--green); }.negative { color: var(--red); }
.attention-row { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid #ebe8df; padding: 13px 0; }.attention-row:first-of-type { border-top: 0; padding-top: 0; }.attention-row strong { font-family: "Sofia Sans", Arial, sans-serif; font-size: .98rem; display: block; }.attention-row span { color: var(--muted); display: block; font-size: .86rem; margin-top: 2px; }.attention-row b { font-family: "Sofia Sans", Arial, sans-serif; font-size: 1.1rem; }
.focus-card { position: relative; border: 1px solid #e7e3d9; padding: 13px; margin-bottom: 10px; }.focus-card div { display: flex; gap: 7px; align-items: center; flex-wrap: wrap; }.focus-card strong { font-family: "Sofia Sans", Arial, sans-serif; font-size: .98rem; }.focus-card small { display: block; color: var(--muted); margin-top: 8px; padding-right: 12px; }.mini-tag { background: var(--yellow-soft); color: #7a5b00; }.status-chip { background: #edf0eb; color: #447052; }
.table-panel { overflow: hidden; }.table-scroll { overflow-x: auto; margin: 0 -22px -22px; }.table-scroll table { width: 100%; border-collapse: collapse; min-width: 760px; }.table-scroll th { background: var(--ink); color: white; text-align: left; padding: 11px 14px; font-size: .77rem; text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; }.table-scroll td { padding: 13px 14px; border-bottom: 1px solid #ebe8df; color: #393833; vertical-align: middle; font-size: .92rem; }.table-scroll tr:last-child td { border-bottom: 0; }.table-scroll td strong { font-family: "Sofia Sans", Arial, sans-serif; display: block; font-size: .95rem; }.table-scroll td small { color: var(--muted); display: block; margin-top: 2px; }.change { font-weight: 700; }.demo-strip { margin-top: 18px; background: var(--yellow); display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 17px 20px; }.demo-strip strong { font-family: "Sofia Sans", Arial, sans-serif; display: block; }.demo-strip span { display: block; color: #5b4500; margin-top: 2px; font-size: .9rem; }
.table-filters { display: grid; grid-template-columns: minmax(220px, 2fr) repeat(5, minmax(125px, 1fr)); gap: 10px; margin-bottom: 9px; padding-bottom: 16px; border-bottom: 1px solid #ebe8df; }.filter-field { display: grid; gap: 5px; }.filter-field span { color: var(--muted); font-size: .75rem; font-weight: 700; }.filter-field input, .filter-field select { width: 100%; border: 1px solid #c9c5ba; background: var(--paper); color: var(--ink); padding: 9px 10px; border-radius: 3px; outline: none; }.filter-field input:focus, .filter-field select:focus { border-color: #9b7500; box-shadow: 0 0 0 3px rgb(255 192 0 / 18%); }.filter-result { color: var(--muted); font-size: .82rem; margin-bottom: 12px; }.player-link { text-align: left; border: 0; background: transparent; padding: 0; color: var(--ink); }.player-link strong { color: #1b5c52; text-decoration: underline; text-decoration-color: #b8d8c9; text-underline-offset: 3px; }.player-link:hover strong { color: #8b6400; text-decoration-color: var(--yellow); }
.back-link { border: 0; background: transparent; color: #1b5c52; padding: 0; font-weight: 700; margin-bottom: 18px; }.back-link:hover { color: #8b6400; }.profile-hero { display: flex; align-items: center; gap: 18px; background: var(--ink); color: white; padding: 26px; margin-bottom: 18px; }.profile-monogram { width: 70px; height: 70px; border-radius: 50%; background: var(--yellow); color: var(--ink); display: grid; place-items: center; font-family: "Teko", Impact, sans-serif; font-size: 2.2rem; }.profile-hero .eyebrow { color: #bcb8ac; }.profile-hero h2 { margin-top: 6px; }.profile-meta { color: #d3d0c7; margin-top: 8px; }.profile-actions { margin-left: auto; }.profile-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; margin-bottom: 18px; }.profile-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; margin-bottom: 18px; }.profile-score-list { display: grid; gap: 18px; }.profile-score-row { display: grid; grid-template-columns: 140px minmax(120px, 1fr) 45px 50px; gap: 12px; align-items: center; }.profile-score-row > div:first-child { display: flex; align-items: center; gap: 8px; }.profile-score-row strong { font-family: "Sofia Sans", Arial, sans-serif; font-size: .94rem; }.profile-score-row b { font-family: "Sofia Sans", Arial, sans-serif; text-align: right; }.profile-score-row small { text-align: right; font-weight: 700; }.profile-score-track { height: 9px; background: #e8e5db; }.profile-score-track span { display: block; height: 100%; }.report-quote { border-left: 4px solid var(--yellow); background: #fff9dd; padding: 16px; color: #48432f; }.report-focus { display: grid; gap: 4px; margin-top: 18px; }.report-focus span, .report-meta span { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }.report-focus strong { font-family: "Sofia Sans", Arial, sans-serif; font-size: 1rem; }.report-meta { display: flex; gap: 25px; margin-top: 20px; padding-top: 15px; border-top: 1px solid #ebe8df; }.report-meta strong { display: block; color: var(--ink); font-family: "Sofia Sans", Arial, sans-serif; text-transform: none; letter-spacing: 0; margin-top: 4px; }.profile-focus, .profile-timeline, .player-report { margin-bottom: 18px; }.profile-plan-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }.profile-plan-list .focus-card { margin: 0; }.self-entry { border-top: 1px solid #ebe8df; padding: 14px 0; }.self-entry:first-of-type { border-top: 0; padding-top: 0; }.self-entry strong { font-family: "Sofia Sans", Arial, sans-serif; }.self-entry p { margin: 6px 0; color: #46443d; }.self-entry span { color: var(--muted); font-size: .88rem; }
.view-section { min-width: 0; }.plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }.plan-card { background: var(--paper); border: 1px solid var(--line); padding: 19px; }.plan-card-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }.plan-card h3 { margin: 22px 0 4px; }.plan-card > strong { font-family: "Sofia Sans", Arial, sans-serif; font-size: 1.05rem; }.plan-card > p { color: var(--muted); margin-top: 8px; }.plan-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }.plan-columns div { background: #f7f4eb; padding: 12px; }.plan-columns span, .plan-card footer { font-size: .77rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }.plan-columns p { font-size: .9rem; margin-top: 6px; }.plan-card footer { display: flex; justify-content: space-between; gap: 10px; margin-top: 18px; text-transform: none; letter-spacing: 0; font-weight: 400; }
.empty-panel { min-height: 230px; display: grid; place-items: center; align-content: center; text-align: center; gap: 9px; color: var(--muted); }.empty-panel h3 { color: var(--ink); }.empty-state { color: var(--muted); padding: 22px 0; }.access-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }.access-card { min-height: 220px; }.access-card h3 { margin: 18px 0 10px; }.access-card p { color: var(--muted); margin-top: 10px; }.access-card p strong { font-family: "Sofia Sans", Arial, sans-serif; color: var(--ink); }.muted { color: var(--muted); }
.drawer-backdrop { position: fixed; inset: 0; z-index: 30; background: rgb(21 21 21 / 48%); display: flex; justify-content: flex-end; }.drawer { width: min(560px, 100%); height: 100%; overflow-y: auto; background: var(--paper); padding: 44px 34px; box-shadow: -15px 0 40px rgb(21 21 21 / 12%); position: relative; }.drawer h2 { margin: 8px 0 27px; }.drawer-close { position: absolute; top: 20px; right: 22px; }.drawer-form { display: grid; gap: 15px; }.field { display: grid; gap: 6px; }.field span { font-size: .82rem; font-weight: 700; color: #4f4d46; }.field input, .field select, .field textarea { width: 100%; border: 1px solid #c9c5ba; background: white; color: var(--ink); padding: 11px 12px; border-radius: 3px; outline: none; }.field textarea { min-height: 92px; resize: vertical; }.field input:focus, .field select:focus, .field textarea:focus { border-color: #9b7500; box-shadow: 0 0 0 3px rgb(255 192 0 / 22%); }.score-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }.score-grid .field input { padding-left: 8px; padding-right: 8px; }.drawer-form .button { margin-top: 9px; }
.access-page { min-height: 100vh; display: grid; place-items: center; align-content: center; text-align: center; padding: 30px; background: var(--cream); }.access-page > * { max-width: 540px; }.access-crest { width: 90px; height: 90px; object-fit: contain; background: var(--yellow); border-radius: 50%; padding: 7px; margin-bottom: 25px; }.access-page h1 { margin-top: 10px; }.access-page p:not(.eyebrow) { color: var(--muted); margin: 18px 0 25px; }
@media (max-width: 1050px) { .sidebar { width: 220px; flex-basis: 220px; }.kpi-grid, .profile-kpis { grid-template-columns: repeat(2, 1fr); }.dashboard-grid, .profile-grid { grid-template-columns: 1fr; }.content-wrap { padding: 32px 24px; }.table-filters { grid-template-columns: repeat(3, minmax(140px, 1fr)); }.filter-field:first-child { grid-column: span 3; } }
@media (max-width: 760px) { .sidebar { display: none; position: fixed; inset: 0 auto 0 0; width: min(290px, 86vw); box-shadow: 15px 0 35px rgb(0 0 0 / 22%); }.sidebar-open { display: flex; }.mobile-menu, .mobile-close { display: inline-grid; }.mobile-close { margin-left: auto; color: white; }.topbar { align-items: flex-start; padding: 16px 18px; }.topbar h1 { font-size: 2.2rem; }.user-copy { display: none; }.content-wrap { padding: 25px 16px; }.page-intro { display: block; }.action-row { justify-content: flex-start; margin-top: 20px; }.corner-row { grid-template-columns: 110px minmax(90px, 1fr) 42px 42px; gap: 8px; }.corner-name { font-size: .9rem; }.plan-grid, .access-grid, .profile-plan-list { grid-template-columns: 1fr; }.plan-columns { grid-template-columns: 1fr; }.demo-strip { align-items: flex-start; flex-direction: column; }.score-grid { grid-template-columns: repeat(2, 1fr); }.score-grid .field:last-child { grid-column: span 2; }.table-filters { grid-template-columns: 1fr 1fr; }.filter-field:first-child { grid-column: span 2; }.profile-hero { align-items: flex-start; flex-wrap: wrap; }.profile-actions { width: 100%; margin-left: 0; }.profile-score-row { grid-template-columns: 105px minmax(80px, 1fr) 38px 42px; gap: 8px; }.profile-meta { font-size: .9rem; } }
@media (max-width: 420px) { .kpi-grid { grid-template-columns: 1fr; }.kpi { min-height: 112px; }.corner-row { grid-template-columns: 95px minmax(70px, 1fr) 38px 38px; font-size: .85rem; }.corner-row small { font-size: .75rem; } }
.analysis-controls { display: grid; grid-template-columns: 2fr repeat(4, minmax(150px, 1fr)); gap: 10px; margin-bottom: 18px; padding: 16px; background: var(--ink); }
.analysis-controls .filter-field span { color: #d7d3c6; }
.analysis-controls .filter-field input, .analysis-controls .filter-field select { background: #fff; }
.analysis-highlights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; margin-bottom: 18px; }
.analysis-highlight { background: var(--yellow); padding: 19px; min-height: 145px; display: grid; align-content: space-between; gap: 8px; }
.analysis-highlight span, .analysis-highlight p { color: #5b4500; font-size: .82rem; }
.analysis-highlight strong { font-family: "Teko", Impact, sans-serif; font-size: 2.1rem; line-height: .85; }
.analysis-highlight b { font-family: "Sofia Sans", Arial, sans-serif; font-size: 1rem; }
.analysis-table-panel { margin-bottom: 18px; }
.radar-panel { margin-bottom: 18px; }
.profile-radar-panel { margin-bottom: 18px; }
.radar-copy { color: var(--muted); margin: -10px 0 2px; }
.radar-wrap { display: flex; align-items: center; justify-content: center; gap: 34px; min-height: 330px; }
.radar-wrap svg { width: min(100%, 360px); height: auto; overflow: visible; }
.radar-label { fill: var(--ink); font-family: "Sofia Sans", Arial, sans-serif; font-size: 11px; font-weight: 700; }
.radar-legend { display: grid; gap: 12px; min-width: 205px; }
.radar-legend-item { display: flex; align-items: center; gap: 10px; }
.radar-legend-item > div { display: grid; gap: 2px; }
.radar-legend-item strong { font-family: "Sofia Sans", Arial, sans-serif; font-size: .94rem; }
.radar-legend-item small { color: var(--muted); font-size: .86rem; }
.radar-key { width: 20px; height: 12px; border-radius: 2px; display: inline-block; flex: 0 0 auto; }
.radar-key-player { background: rgb(255 192 0 / 30%); border: 2px solid #b27d00; }
.radar-key-group { background: rgb(27 92 82 / 10%); border: 2px dashed #1b5c52; }
.radar-note { color: var(--muted); font-size: .82rem; border-top: 1px solid var(--line); padding-top: 12px; }
@media (max-width: 760px) { .analysis-controls, .analysis-highlights { grid-template-columns: 1fr 1fr; }.analysis-controls .filter-field:first-child { grid-column: span 2; }.radar-wrap { display: grid; gap: 18px; }.radar-wrap svg { width: 310px; }.radar-legend { min-width: 0; width: 100%; } }

.profile-prompt { display: flex; align-items: center; justify-content: space-between; gap: 18px; background: var(--yellow-soft); border: 1px solid #e4c64f; padding: 15px 18px; margin-bottom: 20px; }
.profile-prompt > div { display: grid; gap: 3px; }
.profile-prompt .eyebrow { color: #806300; }
.profile-prompt strong { font-family: "Sofia Sans", Arial, sans-serif; font-size: .98rem; }
.profile-prompt span { color: #5c512b; font-size: .88rem; }
.staff-profile-card { max-width: 980px; }
.staff-profile-header { display: flex; align-items: center; gap: 16px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.staff-profile-header h3 { margin-top: 5px; }
.staff-profile-role { color: var(--muted); margin-top: 4px; }
.staff-profile-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.staff-profile-field { display: grid; gap: 5px; }
.staff-profile-field > span, .staff-profile-copy > div > span { color: var(--muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.staff-profile-field strong { font-family: "Sofia Sans", Arial, sans-serif; font-size: .96rem; }
.staff-profile-copy { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding-top: 20px; }
.staff-profile-copy > div { display: grid; gap: 5px; }
.staff-profile-copy p { color: #46443d; white-space: pre-wrap; }
.snc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 18px; }
.snc-card { min-height: 315px; }
.snc-card h3 { margin: 17px 0 9px; }
.snc-card p { color: var(--muted); }
.snc-card p strong { font-family: "Sofia Sans", Arial, sans-serif; color: var(--ink); }
.snc-card ul { margin: 17px 0 0; padding-left: 20px; color: #46443d; display: grid; gap: 9px; }
.snc-list { border-top: 1px solid var(--line); margin-top: 18px; }
.snc-row { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid #ebe8df; font-size: .88rem; }
.snc-row span { color: var(--muted); }
.snc-row strong { font-family: "Sofia Sans", Arial, sans-serif; font-size: .88rem; text-align: right; }
.snc-note { display: flex; align-items: flex-start; gap: 13px; background: #fff9dd; border-color: #e4c64f; }
.snc-note h3 { margin-bottom: 5px; }
.snc-note p { color: #5c512b; }
.resource-grid { display: grid; grid-template-columns: minmax(0, 860px); gap: 18px; }
.resource-card { display: flex; align-items: flex-start; gap: 20px; }
.resource-icon { width: 54px; height: 54px; flex: 0 0 auto; display: grid; place-items: center; background: var(--yellow); color: var(--ink); border-radius: 50%; }
.resource-card-copy { min-width: 0; }
.resource-card h3 { margin: 7px 0 10px; }
.resource-card-copy > p:not(.eyebrow) { color: var(--muted); max-width: 680px; }
.resource-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 18px 0; color: #4f4d46; font-size: .88rem; }
.resource-meta span { display: inline-flex; align-items: center; gap: 7px; }
.resource-meta span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--yellow); }
.resource-download { margin-top: 2px; }
.drawer-help { color: var(--muted); font-size: .84rem; margin: -2px 0 2px; }
.role-snc { background: #e4f4ee; color: #1a7157; }
.role-parent { background: #f0ecff; color: #5148a4; }
.benchmark-panel { margin-bottom: 18px; border-top: 4px solid var(--red); }
.benchmark-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.benchmark-grid > div { display: grid; gap: 5px; padding: 14px; background: #f4f7ff; border-left: 3px solid var(--blue); }
.benchmark-grid span { color: var(--muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.benchmark-grid strong { color: var(--blue); font-size: 1.05rem; }
.benchmark-note { margin-top: 15px; color: var(--muted); font-size: .86rem; }
@media (max-width: 760px) { .profile-prompt { align-items: flex-start; flex-direction: column; }.staff-profile-grid, .staff-profile-copy, .snc-grid { grid-template-columns: 1fr; }.snc-card { min-height: auto; }.resource-card { flex-direction: column; }.resource-icon { width: 48px; height: 48px; } }

/* EFA identity: blue, red, white, with Montserrat throughout. */
body, body * { font-family: "Montserrat", Arial, sans-serif !important; }
.topbar h1 { font-family: "Montserrat", Arial, sans-serif !important; font-size: clamp(2.25rem, 4vw, 3.9rem); line-height: .98; letter-spacing: -.055em; font-weight: 800; }
.sidebar { background: var(--blue); }
.brand-lockup img, .access-crest { background: white; border-radius: 0; padding: 4px; }
.brand-lockup strong, .brand-lockup span { color: white; }
.sidebar-rule { background: rgb(255 255 255 / 28%); }
.sidebar .nav-label, .sidebar-foot { color: rgb(255 255 255 / 78%); }
.nav-item { color: rgb(255 255 255 / 88%); }
.nav-item:hover, .nav-item-active { background: var(--red); color: white; }
.topbar { border-bottom-color: var(--blue); }
.topbar h1, .eyebrow, .intro-copy, .panel-meta, .muted { color: var(--blue); }
.button-yellow { background: var(--red); color: white; }
.button-dark { background: var(--blue); color: white; }
.button-outline { border-color: var(--blue); color: var(--blue); }
.user-avatar, .resource-icon, .profile-monogram { background: var(--red); color: white; }
.table-scroll th, .analysis-controls { background: var(--blue); }
.profile-hero { background: var(--blue); }
.profile-hero .eyebrow, .profile-meta { color: white; }
.demo-strip, .analysis-highlight { background: var(--red); color: white; }
.demo-strip span, .analysis-highlight span, .analysis-highlight p { color: white; }
.profile-prompt, .snc-note, .update-next { background: white; border-color: var(--red); }
.report-quote { border-left-color: var(--red); background: #ffe8eb; color: var(--blue); }
.access-page { background: white; color: var(--blue); }
.access-page h1 { color: var(--blue); }
.access-page .button-dark { background: var(--red); }
.player-link strong, .back-link { color: var(--blue); }
.player-link:hover strong, .back-link:hover { color: var(--red); }
.filter-field input:focus, .filter-field select:focus, .field input:focus, .field select:focus, .field textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgb(237 8 25 / 18%); }

/* EFA PDS identity: red-led, with blue retained as a supporting EFA accent. */
:root { --ink: #211719; --cream: #fff7f8; --paper: #ffffff; --muted: #765c61; --line: #f0cbd0; --red: #c8102e; --blue: #0040bf; --navy: #8f1023; --yellow: #c8102e; --yellow-soft: #ffe7eb; }
html, body { background: var(--cream); color: var(--ink); }
.app-shell { background: var(--cream); }
.sidebar { background: var(--red); }
.sidebar .nav-label, .sidebar-foot { color: #ffe1e5; }
.brand-lockup span { color: #ffe1e5; }
.sidebar-rule { background: rgb(255 255 255 / 32%); }
.nav-item { color: #ffe9ec; }
.nav-item:hover, .nav-item-active { background: white; color: var(--red); }
.topbar { border-bottom-color: var(--red); }
.topbar h1, .eyebrow, .intro-copy, .panel-meta, .muted { color: var(--red); }
.button-yellow { background: var(--red); color: white; }
.button-dark { background: var(--ink); color: white; }
.button-outline { border-color: var(--red); color: var(--red); }
.user-avatar, .resource-icon, .profile-monogram { background: var(--red); color: white; }
.table-scroll th, .analysis-controls { background: var(--red); }
.profile-hero { background: var(--red); }
.demo-strip, .analysis-highlight { background: var(--red); color: white; }
.panel, .kpi, .plan-card { border-color: var(--line); }
.benchmark-panel { border-top-color: var(--blue); }
.benchmark-grid > div { background: #fff1f3; border-left-color: var(--red); }
.benchmark-grid strong { color: var(--red); }
.profile-prompt, .snc-note, .update-next { background: white; border-color: var(--red); }
.report-quote { border-left-color: var(--red); background: #ffe7eb; color: var(--ink); }
.access-page { background: white; color: var(--ink); }
.access-page h1 { color: var(--red); }
.access-page .button-dark { background: var(--red); }
.player-link strong, .back-link { color: var(--red); }
.player-link:hover strong, .back-link:hover { color: var(--blue); }
.filter-field input:focus, .filter-field select:focus, .field input:focus, .field select:focus, .field textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgb(200 16 46 / 18%); }

/* Shared EFA-style masthead: centred crest, balanced heading, compact on scroll. */
.pds-site-header { position: sticky; top: 0; z-index: 60; min-height: 150px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding: 18px clamp(24px, 5vw, 72px); background: white; border-bottom: 4px solid var(--red); transition: min-height .25s ease, padding .25s ease, box-shadow .25s ease; }
.pds-header-side { display: flex; flex-direction: column; gap: 3px; color: var(--red); text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; font-weight: 700; line-height: 1.2; }
.pds-header-side span { color: var(--muted); font-size: .66rem; letter-spacing: .06em; text-transform: none; }
.pds-header-left { justify-self: start; }
.pds-header-right { justify-self: end; align-items: flex-end; text-align: right; }
.pds-header-centre { display: flex; align-items: center; justify-content: center; gap: 12px; min-width: 250px; }
.pds-header-centre img { width: 74px; height: 74px; object-fit: contain; transition: width .25s ease, height .25s ease; }
.pds-header-right { justify-self: end; align-items: flex-end; text-align: right; color: var(--blue); }
.pds-header-utilities { display: flex; align-items: center; justify-content: flex-end; gap: 7px; flex-wrap: wrap; }
.pds-header-utilities a, .pds-header-utilities button, .pds-header-utilities select { border: 1px solid var(--blue); background: white; color: var(--blue); min-height: 34px; padding: 7px 9px; font: inherit; font-size: .74rem; font-weight: 800; text-decoration: none; }
.pds-header-utilities a:hover, .pds-header-utilities button:hover, .pds-header-utilities select:focus { background: var(--blue); color: white; }
.pds-header-help { display: block; color: var(--muted); font-size: .66rem; letter-spacing: .06em; margin-top: 7px; }
.app-shell > .sidebar { top: 150px; height: calc(100vh - 150px); }
@media (max-width: 760px) {
  .pds-site-header { min-height: 102px; padding: 12px 16px; gap: 10px; }
  .pds-header-side { font-size: .62rem; letter-spacing: .06em; }
  .pds-header-side span { font-size: .58rem; }
  .pds-header-centre { min-width: 0; gap: 8px; }
  .pds-header-centre img { width: 56px; height: 56px; }
  .pds-header-utilities { gap: 4px; }
  .pds-header-utilities a, .pds-header-utilities button, .pds-header-utilities select { min-height: 30px; padding: 5px 6px; font-size: .64rem; }
  .pds-header-help { display: none; }
}
@media (prefers-reduced-motion: reduce) { .pds-site-header, .pds-header-centre img { transition: none; } }
.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; }
.pds-accessibility-mode { font-size: 18px; }
.pds-accessibility-mode a:focus, .pds-accessibility-mode button:focus, .pds-accessibility-mode select:focus, .pds-accessibility-mode input:focus, .pds-accessibility-mode textarea:focus { outline: 3px solid var(--red); outline-offset: 3px; }
.pds-footer { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding: 25px clamp(22px, 4vw, 58px); background: var(--blue); color: white; }
.pds-footer > div { display: grid; gap: 4px; }
.pds-footer strong { font-size: .98rem; }
.pds-footer span { color: #dbe6ff; font-size: .78rem; }
.pds-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 18px; }
.pds-footer a { color: white; font-size: .78rem; font-weight: 700; text-decoration: none; }
.pds-footer a:hover { color: #ffccd4; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) { .pds-footer { flex-direction: column; padding: 22px 16px; }.pds-footer nav { justify-content: flex-start; } }

/* Keep the EFA frame still: only the central workspace scrolls. */
body:has(.app-shell) { overflow: hidden; }
.app-shell { height: calc(100vh - 267px); min-height: 0; }
.app-shell > .sidebar { top: 0; height: 100%; overflow-y: auto; }
.main-area { height: 100%; min-height: 0; display: flex; flex-direction: column; overflow: hidden; }
.topbar { flex: 0 0 auto; }
.topbar-spacer { flex: 1; min-width: 0; }
.content-wrap { flex: 1 1 auto; min-height: 0; overflow-y: auto; }
@media (max-width: 900px) { .app-shell { height: calc(100vh - 190px); } }
@media (max-width: 760px) { body:has(.app-shell) { overflow: auto; }.app-shell { height: auto; min-height: calc(100vh - 190px); }.main-area { height: auto; min-height: calc(100vh - 190px); overflow: visible; }.content-wrap { overflow: visible; } }
.attendance-form { margin-bottom: 18px; }
.attendance-controls { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.attendance-summary { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 13px 15px; margin-bottom: 15px; background: #fff1f3; border-left: 4px solid var(--red); color: var(--blue); }
.attendance-summary span { font-size: .82rem; }
.attendance-summary strong { color: var(--red); font-size: 1.1rem; margin-right: 4px; }
.attendance-table { margin: 0; }
.attendance-table table { min-width: 520px; }
.attendance-table td select { min-width: 220px; border: 1px solid var(--line); background: white; color: var(--blue); padding: 9px 10px; font-weight: 700; }
.attendance-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; }
.attendance-history { margin-bottom: 18px; }
.attendance-history td small { color: var(--muted); display: block; margin-top: 3px; }
@media (max-width: 850px) { .attendance-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .attendance-controls { grid-template-columns: 1fr; }.attendance-actions { align-items: flex-start; flex-direction: column; } }
.planning-toolbar, .planning-editor { margin-bottom: 18px; }
.planning-toolbar-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.planning-modes, .planning-navigation { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.planning-modes .button, .planning-navigation .button { padding: 8px 11px; font-size: .78rem; }
.planning-navigation strong { color: var(--blue); min-width: 155px; text-align: center; }
.planning-fields { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.planning-editor > .field { margin-bottom: 12px; }
.planning-list { display: grid; gap: 18px; }
.planning-day { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 16px; align-items: start; }
.planning-date { position: sticky; top: 100px; display: grid; gap: 3px; padding: 12px 0; color: var(--red); text-transform: uppercase; letter-spacing: .08em; }
.planning-date span { color: var(--blue); font-size: .82rem; text-transform: none; letter-spacing: 0; }
.planning-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.planning-card { border-top: 4px solid var(--red); }
.planning-card-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
.planning-card h3 { margin-bottom: 6px; color: var(--blue); }
.planning-card > strong { display: block; color: var(--red); }
.planning-card > p { margin-top: 10px; color: var(--ink); }
.planning-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; color: var(--muted); font-size: .78rem; font-weight: 700; }
.planning-meta span { padding: 5px 8px; background: #fff1f3; }
.planning-notes { margin-top: 15px; padding-top: 12px; border-top: 1px solid var(--line); }
.planning-notes span { color: var(--blue); font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; }
.planning-notes p { margin-top: 5px; color: var(--muted); font-size: .88rem; }
@media (max-width: 900px) { .planning-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }.planning-cards { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .planning-toolbar-row, .planning-navigation { align-items: flex-start; flex-direction: column; }.planning-navigation strong { text-align: left; }.planning-fields { grid-template-columns: 1fr; }.planning-day { grid-template-columns: 1fr; gap: 4px; }.planning-date { position: static; padding-bottom: 0; } }
.plan-finder { margin-bottom: 18px; border-top: 4px solid var(--blue); }
.plan-finder-controls { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 12px; }
.plan-finder-date { margin-top: 15px; color: var(--muted); font-size: .86rem; }
.finder-results { display: grid; gap: 12px; margin-top: 16px; }
.finder-results .planning-card { margin: 0; }
.finder-empty { display: grid; justify-items: start; gap: 6px; padding: 20px; background: #f4f7ff; border-left: 4px solid var(--blue); color: var(--blue); }
.finder-empty span { color: var(--muted); font-size: .88rem; }
@media (max-width: 700px) { .plan-finder-controls { grid-template-columns: 1fr; } }

.passport-link-row { display: flex; justify-content: flex-end; margin: 0 0 12px; }
.passport-banner { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin: 18px 0; padding: 28px 32px; color: white; background: linear-gradient(120deg, var(--red), #b90016); border-left: 8px solid var(--blue); }
.passport-banner h3 { margin: 5px 0; color: white; font-size: clamp(1.5rem, 3vw, 2.4rem); }
.passport-banner p { margin: 0; color: #ffe3e6; }
.passport-mark { padding: 12px 16px; border: 2px solid rgba(255,255,255,.75); text-align: center; font-weight: 900; letter-spacing: .12em; line-height: 1.05; }
.passport-mark span { color: #b9d0ff; font-size: .8rem; }
.passport-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.passport-footer-note { margin-top: 18px; color: var(--muted); font-size: .78rem; }
.nav-section + .nav-section { margin-top: 18px; }
.nav-section .nav-label { margin-bottom: 7px; }
@media (max-width: 760px) { .passport-grid { grid-template-columns: 1fr; }.passport-banner { padding: 22px; } }
@media print {
  body { background: white !important; }
  .pds-site-header, .sidebar, .topbar, .pds-footer, .no-print, .notice, .profile-prompt { display: none !important; }
  .app-shell, .main-area, .content-wrap { display: block !important; margin: 0 !important; padding: 0 !important; max-width: none !important; }
  .passport-print { display: block !important; padding: 0 !important; }
  .passport-print .panel, .passport-banner { break-inside: avoid; box-shadow: none !important; }
  .passport-banner { margin-top: 0; }
}
@media (max-width: 760px) { .topbar h1 { font-size: 2.5rem; } }

/* Match the main EFA navigation: clear blue words, with red only for the active item. */
.sidebar { background: #fff; color: var(--blue); border-right: 1px solid #d9e2f7; }
.brand-lockup strong, .brand-lockup span, .sidebar .nav-label, .sidebar-foot { color: var(--blue); }
.sidebar-rule { background: #d9e2f7; }
.sidebar nav { gap: 2px; }
.nav-item { color: var(--blue); background: transparent; border-radius: 0; border-left: 3px solid transparent; padding: 10px 11px; font-size: .98rem; }
.nav-item:hover, .nav-item-active { background: transparent; color: var(--red); border-left-color: var(--red); }
.mobile-close { color: var(--blue); }
.topbar h1 { color: var(--blue); }

/* PDS uses the same masthead as the main EFA website. */
.pds-site-header { position: sticky; min-height: 267px; display: block; padding: 0; border-bottom: 3px solid var(--blue); overflow: hidden; }
.pds-header-tools { position: absolute; top: 14px; right: 4%; z-index: 2; display: flex; gap: 18px; align-items: center; color: var(--blue); font-size: .78rem; font-weight: 700; }
.pds-header-tools a, .pds-header-tools button, .pds-header-tools select { border: 0; background: transparent; color: var(--blue); font: inherit; padding: 4px 0; text-decoration: none; }
.pds-header-tools button { cursor: pointer; }
.pds-header-tools a:hover, .pds-header-tools button:hover { color: var(--red); text-decoration: underline; text-underline-offset: 4px; }
.pds-header-tools { top: 82px; right: 4%; gap: 10px; font-size: .98rem; }
.pds-header-tools a, .pds-header-tools button, .pds-header-tools select { min-height: 54px; padding: 11px 16px; border: 2px solid var(--blue); background: white; color: var(--blue); font-weight: 800; text-decoration: none; }
.pds-header-tools label { display: flex; }
.pds-header-tools a:hover, .pds-header-tools button:hover, .pds-header-tools select:focus { background: var(--blue); color: white; text-decoration: none; }
.pds-header-tools { top: 18px; right: 4%; gap: 0; font-size: .78rem; }
.pds-header-tools select { min-height: auto; padding: 4px 3px; border: 0; background: transparent; color: var(--blue); font-size: .78rem; font-weight: 800; outline: none; }
.pds-header-tools select:focus { background: transparent; color: var(--blue); box-shadow: 0 0 0 2px rgb(0 64 191 / 18%); }
.user-signout { display: inline-flex; align-items: center; gap: 7px; color: var(--ink); padding: 7px 0 7px 12px; border-left: 1px solid var(--line); font-size: .82rem; font-weight: 800; text-decoration: none; }
.user-signout:hover { color: var(--red); }
.pds-main-nav { width: 100%; height: 100%; min-height: 267px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)) minmax(125px, 160px) repeat(5, minmax(0, 1fr)); align-items: center; gap: 10px; padding: 32px 3% 0; }
.pds-main-nav a, .pds-main-nav-active { align-self: center; justify-self: center; color: var(--blue); font-size: clamp(.82rem, 1.15vw, 1.28rem); font-weight: 800; letter-spacing: -.02em; text-decoration: none; white-space: nowrap; padding: 17px 0 14px; border-bottom: 4px solid transparent; }
.pds-main-nav a:hover { color: var(--red); }
.pds-main-nav-active { color: var(--red); border-bottom-color: var(--red); }
.pds-main-nav-crest { grid-column: 6; grid-row: 1; align-self: center; justify-self: center; z-index: 1; }
.pds-main-nav-crest img { display: block; width: 145px; height: 210px; object-fit: contain; }
.app-shell > .sidebar { top: 267px; height: calc(100vh - 267px); }
@media (max-width: 900px) { .pds-site-header { min-height: 190px; }.pds-main-nav { min-height: 190px; grid-template-columns: repeat(5, minmax(80px, 1fr)) 100px repeat(5, minmax(80px, 1fr)); min-width: 1030px; padding-top: 36px; }.pds-main-nav-crest img { width: 95px; height: 145px; }.app-shell > .sidebar { top: 190px; height: calc(100vh - 190px); } }
@media (max-width: 760px) { .pds-header-tools { top: 8px; right: 16px; gap: 4px; font-size: .64rem; }.pds-header-tools select { min-height: auto; padding: 4px 3px; border: 0; font-size: .64rem; }.pds-header-tools button { display: none; }.pds-main-nav { padding-left: 10px; padding-right: 10px; }.pds-main-nav a, .pds-main-nav-active { font-size: .75rem; } }

.update-log { display: grid; gap: 14px; max-width: 1080px; }
.update-entry { padding: 20px 22px; }
.update-entry-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding-bottom: 15px; border-bottom: 1px solid var(--line); }
.update-entry-head h3 { margin-top: 6px; }
.update-date { color: var(--muted); font-size: .85rem; white-space: nowrap; }
.update-entry-body { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(220px, .85fr); gap: 22px; padding-top: 16px; }
.update-entry-body > div > span { color: var(--muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.update-entry-body ul { margin: 8px 0 0; padding-left: 20px; color: #46443d; display: grid; gap: 6px; }
.update-entry-body p { margin-top: 8px; color: #46443d; }
.update-next { display: flex; align-items: flex-start; gap: 13px; margin-top: 18px; background: #fff9dd; border-color: #e4c64f; }
.update-next h3 { margin-bottom: 5px; }
.update-next p { color: #5c512b; }
@media (max-width: 760px) { .update-entry-head { flex-direction: column; gap: 7px; }.update-date { white-space: normal; }.update-entry-body { grid-template-columns: 1fr; gap: 14px; } }

/* Desktop navigation is a fixed, independent panel; it never disappears behind the workspace. */
@media (min-width: 1051px) {
  .app-shell { display: block; }
  .app-shell > .sidebar { position: fixed; left: 0; top: 267px; bottom: 0; width: 250px; height: auto; min-height: 0; overflow-y: auto; overflow-x: hidden; padding-bottom: 32px; box-sizing: border-box; }
  .main-area { width: calc(100% - 250px); margin-left: 250px; }
}
@media (min-width: 761px) and (max-width: 1050px) {
  .app-shell { display: block; }
  .app-shell > .sidebar { position: fixed; left: 0; top: 267px; bottom: 0; width: 220px; height: auto; min-height: 0; overflow-y: auto; overflow-x: hidden; padding-bottom: 32px; box-sizing: border-box; }
  .main-area { width: calc(100% - 220px); margin-left: 220px; }
}

.pds-sponsor-bar { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 20px; padding: 10px clamp(22px, 4vw, 58px); background: white; border-bottom: 1px solid var(--line); }
.pds-sponsor-label { color: var(--muted); font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.pds-sponsor-list { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; align-items: center; }
.pds-sponsor-list a { display: flex; min-width: 0; min-height: 34px; align-items: center; justify-content: center; padding: 2px 6px; }
.pds-sponsor-list img { display: block; width: 100%; max-width: 126px; height: 32px; object-fit: contain; }
@media (max-width: 900px) { .pds-sponsor-bar { grid-template-columns: 1fr; gap: 5px; }.pds-sponsor-list { gap: 4px; }.pds-sponsor-list img { height: 27px; } }
@media (max-width: 560px) { .pds-sponsor-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }.pds-sponsor-label { font-size: .64rem; } }

/* Main-site header pattern: sponsor concepts above the crest and navigation. */
.pds-site-header > .pds-sponsor-bar { display: block; min-height: 112px; padding: 15px clamp(22px, 4vw, 58px) 8px; }
.pds-site-header > .pds-sponsor-bar .pds-sponsor-list { padding-right: 72px; }
.pds-site-header > .pds-sponsor-bar .pds-sponsor-label { display: block; margin-top: 2px; text-align: center; }
.pds-site-header > .pds-main-nav { min-height: 188px; height: auto; padding-top: 10px; }
.pds-site-header { min-height: 300px; }

/* Keep account controls with the navigation and reclaim the redundant topbar space. */
.sidebar-user { position: relative; padding: 2px 0 0; }
.sidebar-user .user-menu { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; align-items: center; width: 100%; }
.sidebar-user .user-copy { min-width: 0; }
.sidebar-user .user-copy strong { color: var(--blue); font-size: .85rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-user .user-copy span { margin-top: 3px; }

/* Match the main EFA site at every desktop width: sponsors, a simple HOME/crest/Menu
   masthead, then the PDS workspace. The workspace menu remains in the left panel. */
.pds-site-header { min-height: 242px; }
.pds-site-header > .pds-sponsor-bar { min-height: 90px; padding: 13px clamp(22px, 4vw, 58px) 6px; }
.pds-site-header > .pds-sponsor-bar .pds-sponsor-list { padding-right: 72px; }
.pds-site-header > .pds-sponsor-bar .pds-sponsor-label { display: block; margin-top: 2px; text-align: center; }
.pds-site-header > .pds-main-nav { min-height: 152px; height: auto; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 24px; padding: 0 clamp(26px, 5vw, 72px); }
.pds-main-nav-home { justify-self: start !important; }
.pds-menu-trigger { justify-self: end; min-height: 44px; padding: 8px 18px; border: 1px solid var(--blue); background: white; color: var(--blue); font: inherit; font-size: 1rem; cursor: pointer; }
.pds-menu-trigger:hover { border-color: var(--red); color: var(--red); }
.pds-main-nav-crest { grid-column: 2; grid-row: 1; }
.pds-main-nav-crest img { width: 94px; height: 126px; }
.app-shell > .sidebar { top: 242px; height: calc(100vh - 242px); }

@media (min-width: 1051px) {
  .app-shell > .sidebar { top: 242px; }
}

/* Exact desktop masthead geometry from the main EFA website reference. */
.pds-site-header { min-height: 347px; }
.pds-site-header > .pds-sponsor-bar { min-height: 108px; padding: 13px clamp(22px, 4vw, 58px) 6px; }
.pds-site-header > .pds-main-nav { min-height: 239px; height: auto; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)) minmax(125px, 160px) repeat(5, minmax(0, 1fr)); align-items: center; gap: 10px; padding: 32px 3% 0; }
.pds-site-header > .pds-main-nav a, .pds-site-header > .pds-main-nav .pds-main-nav-active { align-self: center; justify-self: center; color: var(--blue); font-size: clamp(.82rem, 1.15vw, 1.28rem); font-weight: 800; letter-spacing: -.02em; text-decoration: none; white-space: nowrap; padding: 17px 0 14px; border-bottom: 4px solid transparent; }
.pds-site-header > .pds-main-nav a:hover { color: var(--red); }
.pds-site-header > .pds-main-nav .pds-main-nav-active { color: var(--red); border-bottom-color: var(--red); }
.pds-site-header > .pds-main-nav .pds-main-nav-crest { grid-column: 6; grid-row: 1; align-self: center; justify-self: center; z-index: 1; }
.pds-site-header > .pds-main-nav .pds-main-nav-crest img { display: block; width: 145px; height: 210px; object-fit: contain; }
.app-shell > .sidebar { top: 347px; height: calc(100vh - 347px); }
@media (min-width: 1051px) { .app-shell > .sidebar { top: 347px; } }
@media (min-width: 761px) and (max-width: 1050px) { .app-shell > .sidebar { top: 267px; } }
@media (max-width: 760px) {
  .pds-site-header { min-height: 190px; }
  .pds-site-header > .pds-sponsor-bar { min-height: 112px; padding: 12px 16px 6px; }
  .pds-site-header > .pds-main-nav { min-height: 78px; grid-template-columns: 1fr auto 1fr; padding: 0 16px; }
  .pds-site-header > .pds-main-nav a { display: none; }
  .pds-site-header > .pds-main-nav a:first-child { display: block; justify-self: start; font-size: .82rem; padding: 10px 0; }
  .pds-site-header > .pds-main-nav .pds-main-nav-active { display: block; grid-column: 3; grid-row: 1; justify-self: end; font-size: .82rem; padding: 10px 0; }
  .pds-site-header > .pds-main-nav .pds-main-nav-crest { grid-column: 2; }
  .pds-site-header > .pds-main-nav .pds-main-nav-crest img { width: 58px; height: 76px; }
  .app-shell > .sidebar { top: 190px; height: calc(100vh - 190px); }
}
@media (min-width: 761px) and (max-width: 1050px) {
  .app-shell > .sidebar { top: 242px; }
}
@media (max-width: 760px) {
  .pds-site-header { min-height: 190px; }
  .pds-site-header > .pds-sponsor-bar { min-height: 112px; padding: 12px 16px 6px; }
  .pds-site-header > .pds-sponsor-bar .pds-sponsor-list { padding-right: 48px; }
  .pds-site-header > .pds-main-nav { min-height: 78px; padding: 0 16px; }
  .pds-main-nav-crest img { width: 58px; height: 76px; }
  .app-shell > .sidebar { top: 190px; height: calc(100vh - 190px); }
}
.sidebar-user .user-signout { padding-left: 8px; font-size: .7rem; gap: 4px; white-space: nowrap; }
.sidebar-user .mobile-close { display: none; }
@media (min-width: 761px) {
  .topbar { min-height: 0; height: 0; padding: 0; border-bottom: 0; overflow: visible; }
}
@media (max-width: 760px) {
  .sidebar-user { padding-top: 5px; }
  .sidebar-user .user-copy { display: block; }
  .sidebar-user .mobile-close { display: inline-grid; position: absolute; top: -5px; right: -4px; color: var(--blue); }
  .sidebar-user .user-signout { font-size: .76rem; }
}

/* Scrolling changes the crest only. Sponsor visibility and navigation type stay fixed. */
.pds-site-header { min-height: 0; padding: 0; }
.pds-site-header > .pds-main-nav { min-height: 0; padding: 12px 3%; }
.pds-site-header > .pds-main-nav .pds-main-nav-crest img { transition: width .25s ease, height .25s ease; }
body.pds-header-small .pds-site-header > .pds-main-nav .pds-main-nav-crest img { width: 105px; height: 150px; }
@media (min-width: 761px) {
  .app-shell { height: calc(100dvh - var(--pds-header-height, 345px)); }
  .app-shell > .sidebar { top: var(--pds-header-height, 345px); height: calc(100dvh - var(--pds-header-height, 345px)); }
}
@media (max-width: 760px) {
  .pds-site-header > .pds-main-nav { min-width: 0; padding: 0 16px; }
  body.pds-header-small .pds-site-header > .pds-main-nav .pds-main-nav-crest img { width: 46px; height: 60px; }
  .app-shell > .sidebar { top: var(--pds-header-height, 190px); height: calc(100dvh - var(--pds-header-height, 190px)); }
}
@media (prefers-reduced-motion: reduce) { .pds-site-header > .pds-main-nav .pds-main-nav-crest img { transition: none; } }

/* Account identity is a photo and name; secondary actions live in its menu. */
.pds-account-menu { width: 100%; position: relative; }
.pds-account-menu summary { display: flex; align-items: center; gap: 12px; list-style: none; cursor: pointer; color: var(--blue); padding: 8px 0; }
.pds-account-menu summary::-webkit-details-marker { display: none; }
.pds-account-menu summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.pds-account-photo { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; overflow: hidden; background: #e8efff; display: grid; place-items: center; color: var(--blue); font-weight: 700; }
.pds-account-photo img { width: 100%; height: 100%; object-fit: cover; }
.pds-account-name { flex: 1; min-width: 0; font-size: .95rem; font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
.pds-account-options { display: grid; padding: 6px 0 12px 56px; gap: 8px; }
.pds-account-options button,.pds-account-options a { font: inherit; font-size: .875rem; text-align: left; border: 0; background: transparent; color: var(--blue); padding: 5px 0; text-decoration: none; }
.pds-header-tools { top: 22px; right: 3%; }
.pds-header-tools select { font-family: Montserrat,Arial,sans-serif; font-size: .875rem; line-height: 1.25; font-weight: 400; padding: 7px 8px; min-height: 36px; min-width: 62px; border: 1px solid #ccd8ee; border-radius: 0; background: #fff; color: #0040bf; }
.pds-idle-backdrop { position: fixed; inset: 0; z-index: 200; background: rgb(0 25 75 / 60%); display: grid; place-items: center; padding: 20px; }
.pds-idle-dialog { max-width: 500px; padding: 30px; background: #fff; color: var(--blue); box-shadow: 0 15px 60px #002c8740; }
.pds-idle-dialog h2 { font-size: 1.6rem; margin-bottom: 18px; }
.pds-idle-dialog p { margin: 12px 0; }
.pds-idle-dialog > div { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 22px; }
.pds-idle-dialog button { background: var(--blue); color: white; border: 0; padding: 12px 18px; }
.pds-idle-dialog a { color: var(--blue); }
@media(pointer:coarse) { .pds-header-tools select { min-height: 44px; } }

.attendance-list-title{font-size:1.15rem;margin:20px 0 12px}.attendance-marked{margin:20px 0;border-top:1px solid var(--line);padding-top:16px}.attendance-marked summary{cursor:pointer;color:var(--blue);font-weight:700;padding:8px 0}.attendance-marked .attendance-table{margin-top:12px}
