/* CSS SECTION — ATHLETE MEDIA: Page styles. Search this label to find the page code. */
.athlete-upload{margin-top:20px;padding:16px;border:1px solid #d5e4e3;border-radius:14px}
.athlete-upload label{display:block;margin:12px 0}.athlete-upload input{display:block;width:100%;box-sizing:border-box;margin-top:6px}
.athlete-upload .attachment-other-title[hidden]{display:none!important}
.athlete-upload-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}.athlete-upload-pair .athlete-upload{min-width:0;margin-top:20px}.athlete-upload-pair+.attachment-help{margin-top:14px}
.attachment-cards,.attachment-queue{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;margin-top:14px}
.attachment-groups{display:grid;gap:22px;margin-top:12px}.attachment-group{min-width:0}.attachment-group>h3{margin:0;color:#193d38;font-size:17px}.attachment-group>p{margin:12px 0 0;color:#64757c;font-size:14px}
.activity-post-requirement-cards .attachment-kind{display:inline-block;max-width:100%;padding:3px 8px;border-radius:6px;background:#edf5f1;color:#3b6558;font-size:11px;line-height:1.4}
.activity-post-requirement-cards .activity-empty-report-card{min-height:150px}
.activity-post-requirement-cards .activity-empty-report-card .activity-post-record-missing{align-self:center;margin:auto 0;color:#8b5b16;font-weight:600}
html[data-osa-theme="dark"] .activity-post-requirement-cards .attachment-kind{background:#29444d;color:#b7d8d1}
.attachment-card{padding:14px;border:1px solid #d5e4e3;border-radius:12px;display:flex;flex-direction:column;gap:8px;overflow-wrap:anywhere;min-width:0}
.attachment-preview{background:#f2f7f6;border:0;border-radius:10px;padding:8px;cursor:zoom-in}.attachment-preview img{display:block;width:100%;height:150px;object-fit:contain}
.attachment-help{font-size:14px;color:#54696b}.queued-file[hidden]{display:none!important}
.athlete-media-dialog{border:0;border-radius:20px;padding:20px;max-width:92vw;max-height:90vh;box-sizing:border-box;color:#153d36;background:white}
.athlete-media-dialog::backdrop{background:#102d35b3}.athlete-media-dialog img{display:block;max-width:85vw;max-height:72vh;object-fit:contain;margin:12px auto}
.athlete-media-dialog iframe{width:min(900px,83vw);height:75vh;border:0}.athlete-media-dialog .media-close{float:right;display:inline-flex;align-items:center;justify-content:center;width:38px;min-width:38px;height:38px;padding:0;border:1px solid #dce5ea;border-radius:50%;background:#f1f5f7;color:#334155;cursor:pointer;font-size:22px;line-height:1}.athlete-media-dialog .media-close:hover{background:#e3ecee}
.athlete-media-dialog:has(.athlete-record-content){width:min(900px,calc(100vw - 40px))!important;max-width:min(900px,calc(100vw - 40px))!important;padding:28px;overflow:auto}
.athlete-record-content{box-sizing:border-box;color:#193d38;font:16px/1.45 'Segoe UI',Arial,sans-serif}
.athlete-record-page{min-height:100vh;margin:0;padding:28px;background:#e9f0f2}
.athlete-record-page>.athlete-record-content{position:relative;width:min(1280px,calc(100vw - 40px));margin:0 auto;padding:28px;border:1px solid #c8d7dc;border-radius:22px;background:#fff;box-shadow:0 18px 48px rgba(24,54,63,.16)}
.athlete-form-preview-content{width:min(1000px,calc(100vw - 40px))!important}
.athlete-form-preview-header{display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:center!important;gap:24px;margin-right:52px!important}.athlete-form-preview-header>div:last-child{text-align:right}.athlete-form-preview-header h1{margin:0!important;text-align:right!important}.athlete-form-preview-header>div:last-child p{margin:6px 0 0;color:#5c7074}
.athlete-form-preview-frame{height:min(72vh,900px);min-height:560px;overflow:hidden;border:1px solid #afc3c9;border-radius:14px;background:#dfe7ea}.athlete-form-preview-frame iframe{display:block;width:100%;height:100%;border:0;background:#fff}
.athlete-form-preview-actions{gap:12px;padding-top:16px}.athlete-form-preview-actions .athlete-form-print{background:#276f67}.athlete-form-preview-actions .athlete-form-print::before{content:'\1F5A8';margin-right:8px;font-size:18px}
html[data-osa-theme="dark"] .athlete-form-preview-header>div:last-child p{color:#b8c8cd}
.athlete-record-top-actions{position:absolute;z-index:2;top:24px;right:24px;display:flex;align-items:center;gap:10px}.athlete-record-close{position:static;display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;padding:0;border:1px solid #9fb6be;border-radius:50%;background:#eef4f5;color:#294751!important;cursor:pointer;font-size:30px;font-weight:600;line-height:1}.athlete-record-close:hover{background:#dce9eb}
.athlete-record-top-actions .athlete-form-print{display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;padding:0;border:1px solid #9bcfc6;border-radius:50%;background:#e6f3f0;color:#246f66!important;font-size:18px;text-decoration:none;transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease}.athlete-record-top-actions .athlete-form-print:hover{background:#d0eae4;border-color:#70b7aa;box-shadow:0 0 0 3px rgba(85,179,165,.22);transform:translateY(-1px)}
.athlete-record-header{display:flex;align-items:flex-start;justify-content:space-between;margin:0 112px 24px 0}
.athlete-record-photo{width:192px!important;height:192px!important;max-width:192px!important;max-height:192px!important;margin:0!important;border:1px solid #d5e5e3;border-radius:8px;object-fit:cover}
.athlete-record-header>div>h1{margin:0;font-size:28px;line-height:1.15}.athlete-record-header>div>p{margin:6px 0 0;color:#5c7074}
.athlete-record-brand{display:flex;align-items:center;gap:18px;min-width:0}.athlete-record-brand img{width:68px;height:68px;min-width:68px;max-width:none!important;max-height:none!important;margin:0!important;border-radius:50%;object-fit:cover}.athlete-record-brand p,.athlete-record-brand span,.athlete-record-brand h1{margin:0}.athlete-record-brand p{color:#17252a;font-size:18px;font-weight:900;line-height:1.25}.athlete-record-brand span{display:block;margin-top:2px;color:#287f75;font-size:16px;font-weight:900}.athlete-record-brand h1{margin-top:8px;font-size:30px;line-height:1.15;color:#111827}
.athlete-record-reference{display:grid;grid-template-columns:1fr .6fr 1.35fr;align-items:center;gap:18px;margin:0 0 18px;padding:18px;border:1px solid #d5e5e3;border-radius:16px;background:#f3f9f8}.athlete-record-reference span{display:block;color:#334155;font-size:12px;font-weight:900;text-transform:uppercase}.athlete-record-reference strong{display:block;margin-top:7px;color:#287f75;font-size:18px}.athlete-record-reference .athlete-record-status{padding:8px 15px;border-radius:999px;background:#e2e8f0;color:#334155;text-align:center}.athlete-record-reference p{margin:0;color:#64748b;line-height:1.45}
.athlete-record-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0}.athlete-record-grid div{min-width:0;padding:14px;background:#f1f7f6;border-radius:12px}.athlete-record-grid dt{font-weight:700}.athlete-record-grid dd{margin:5px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}.athlete-record-content h2{margin:22px 0 8px;font-size:20px}.athlete-record-content a{color:#1d7566}.athlete-record-loading{padding:36px 48px;margin:0;color:#47625e}
.athlete-record-content .athlete-record-header{display:block;margin:0 112px 22px 0;padding-bottom:16px;border-bottom:1px solid #d8e4e8}
.athlete-record-content .athlete-record-brand{gap:12px}
.athlete-record-content .athlete-record-brand img{width:58px;height:58px;min-width:58px}
.athlete-record-content .athlete-record-brand p{font-size:18px}
.athlete-record-content .athlete-record-brand span{font-size:13px}
.athlete-record-content .athlete-record-header h1{margin:10px 0 0;text-align:left;font-size:22px!important;font-weight:700;line-height:1.15}
.athlete-record-content .athlete-record-reference>div:first-child,.athlete-record-content .athlete-record-reference>p{text-align:left}
.athlete-record-content .athlete-record-reference>div:nth-child(2){text-align:center}
.athlete-record-section{margin:0 0 18px;padding:18px;border:1px solid #cbd8dd;border-radius:16px;background:transparent}
.athlete-record-section>h2{display:flex;align-items:center;gap:10px;margin:0 0 16px;padding:14px 16px;border-left:5px solid #388c80;border-radius:12px;background:#eaf3f3!important;color:#18343b!important;font-size:21px}
.athlete-record-section>h2 i{color:#287f75}
.athlete-record-content .athlete-record-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.athlete-record-content .athlete-information-grid{grid-template-columns:218px repeat(2,minmax(0,1fr));grid-template-rows:repeat(3,minmax(78px,auto));align-items:start}
.athlete-record-content .athlete-record-field{display:block;box-sizing:border-box;min-width:0;color:#18343b;font-size:14px;font-weight:800}
.athlete-record-content .athlete-record-field{text-align:left}
.athlete-record-content .athlete-record-field>span{display:block;margin:0 0 7px}
.athlete-record-content .athlete-record-field input,.athlete-record-content .athlete-record-field textarea{display:block;box-sizing:border-box;width:100%;min-width:0;min-height:42px;margin:0;padding:0 12px;border:1px solid #536a75;border-radius:10px;background:#fff;color:#172a31;font:400 15px/1.4 'Segoe UI',Arial,sans-serif;}
.athlete-record-content .athlete-record-field textarea{min-height:76px;padding:10px 12px;resize:vertical}
.athlete-record-content .athlete-record-field input[readonly],.athlete-record-content .athlete-record-field textarea[readonly]{cursor:text}
.athlete-record-content .athlete-record-field-row{display:grid;grid-column:1/-1;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;min-width:0;min-inline-size:0;margin:0;padding:0;border:0;background:transparent}
.athlete-record-content .athlete-record-secondary-row,.athlete-record-content .athlete-record-tryout-row{grid-template-columns:repeat(2,minmax(0,1fr))}
.athlete-record-content .athlete-record-full{grid-column:1/-1}
.athlete-record-content .athlete-record-notes-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
.athlete-record-content .athlete-record-photo-stack{display:contents}
.athlete-record-content .athlete-record-photo-card{grid-column:1;grid-row:1/span 2;display:flex;flex-direction:column;gap:5px;align-items:center;box-sizing:border-box;height:186px;min-height:0;padding:10px;border:1px dashed #8cbab4;background:#f4faf8;color:#18343b}
.athlete-record-content .athlete-record-photo-card>strong{font-size:16px}
.athlete-record-content .athlete-record-photo-card img{display:block;flex:1 1 auto;width:100%!important;height:0!important;min-height:0;max-width:none!important;max-height:none!important;margin:0!important;border:1px solid #c5d8d5;border-radius:4px;object-fit:cover}
.athlete-record-content .athlete-record-photo-placeholder{display:grid;flex:1 1 auto;width:100%;height:0;min-height:0;place-items:center;box-sizing:border-box;border:1px solid #c5d8d5;border-radius:4px;color:#617579;font-size:12px;font-weight:700;text-align:center}
.athlete-record-content .athlete-record-photo-caption{grid-column:1;grid-row:1/span 3;align-self:start;box-sizing:border-box;min-width:0;padding:0;border:0;border-radius:0;background:transparent;color:#18343b}
.athlete-record-content .athlete-record-photo-caption strong,.athlete-record-content .athlete-record-photo-caption span{display:block}
.athlete-record-content .athlete-record-photo-caption strong{margin-bottom:6px;font-size:14px}
.athlete-record-content .athlete-record-photo-caption span{box-sizing:border-box;min-height:42px;padding:11px 12px;border:1px solid #536a75;border-radius:10px;background:#fff;color:#172a31;font-size:14px;font-weight:400}
.athlete-record-content .athlete-record-grid:has(.athlete-record-photo-stack) .athlete-record-id{grid-column:2;grid-row:1}
.athlete-record-content .athlete-record-grid:has(.athlete-record-photo-stack) .athlete-record-name{grid-column:3;grid-row:1}
.athlete-record-content .athlete-record-grid:has(.athlete-record-photo-stack) .athlete-record-sport{grid-column:2;grid-row:2}
.athlete-record-content .athlete-record-grid:has(.athlete-record-photo-stack) .athlete-record-category{grid-column:3;grid-row:2}
.athlete-record-content .athlete-record-grid:has(.athlete-record-photo-stack) .athlete-record-school{grid-column:2;grid-row:3}
.athlete-record-content .athlete-record-grid:has(.athlete-record-photo-stack) .athlete-record-year{grid-column:3;grid-row:3}
html[data-osa-theme="dark"] body .athlete-record-content .athlete-record-section>h2{background:#22343e!important;border-color:#45616a!important;color:#e8f1f2!important}
html[data-osa-theme="dark"] body .athlete-record-content .athlete-record-section>h2 i{color:#69b7aa!important}
html[data-osa-theme="dark"] body .athlete-record-content .athlete-record-field{color:#e8f1f2}
html[data-osa-theme="dark"] body .athlete-record-content .athlete-record-field input,html[data-osa-theme="dark"] body .athlete-record-content .athlete-record-field textarea{border-color:#536a75;background:#13232c;color:#e8f1f2}
html[data-osa-theme="dark"] body .athlete-record-content .athlete-record-photo-card{border-color:#536a75;background:#21343c;color:#e8f1f2}
html[data-osa-theme="dark"] body .athlete-record-content .athlete-record-photo-placeholder{border-color:#536a75;color:#b6c7cd}
html[data-osa-theme="dark"] body .athlete-record-content .athlete-record-photo-caption{background:transparent;color:#e8f1f2}
html[data-osa-theme="dark"] body .athlete-record-content .athlete-record-photo-caption span{border-color:#536a75;background:#13232c;color:#e8f1f2}
.athlete-record-content .athlete-record-attachments .attachment-group h3{margin-top:0}
@media(max-width:760px){.athlete-record-content .athlete-information-grid{grid-template-columns:1fr 1fr;grid-template-rows:none}.athlete-record-content .athlete-record-photo-card{grid-column:1/-1;grid-row:auto;width:100%}.athlete-record-content .athlete-record-photo-caption{grid-column:1/-1;grid-row:auto}.athlete-record-content .athlete-record-grid:has(.athlete-record-photo-stack) .athlete-record-id,.athlete-record-content .athlete-record-grid:has(.athlete-record-photo-stack) .athlete-record-name,.athlete-record-content .athlete-record-grid:has(.athlete-record-photo-stack) .athlete-record-sport,.athlete-record-content .athlete-record-grid:has(.athlete-record-photo-stack) .athlete-record-category,.athlete-record-content .athlete-record-grid:has(.athlete-record-photo-stack) .athlete-record-school,.athlete-record-content .athlete-record-grid:has(.athlete-record-photo-stack) .athlete-record-year{grid-column:auto!important;grid-row:auto!important}.athlete-record-content .athlete-record-field-row{grid-template-columns:repeat(2,minmax(0,1fr))}.athlete-record-content .athlete-record-photo-card img{height:220px!important}.athlete-record-content .athlete-record-header h1{font-size:24px}}
@media(max-width:600px){.athlete-record-section{padding:14px}.athlete-record-section>h2{font-size:18px}.athlete-record-content .athlete-record-grid,.athlete-record-content .athlete-information-grid,.athlete-record-content .athlete-record-field-row,.athlete-record-content .athlete-record-notes-grid{grid-template-columns:1fr}.athlete-record-content .athlete-record-photo-card,.athlete-record-content .athlete-record-photo-caption{grid-column:1;grid-row:auto}.athlete-record-content .athlete-record-field-row,.athlete-record-content .athlete-record-full{grid-column:1}}
@media(max-width:600px){.athlete-media-dialog:has(.athlete-record-content){width:calc(100vw - 24px)!important;max-width:calc(100vw - 24px)!important;padding:18px}.athlete-record-grid,.athlete-record-reference{grid-template-columns:1fr}.athlete-record-brand{gap:12px}.athlete-record-brand img{width:56px;height:56px;min-width:56px}.athlete-record-brand p{font-size:16px}.athlete-record-brand span{font-size:13px}.athlete-record-brand h1{font-size:23px}.athlete-record-content .athlete-record-header{gap:12px;margin-right:112px}.athlete-record-photo{width:96px!important;height:96px!important;max-width:96px!important;max-height:96px!important}}
@media(max-width:600px){.athlete-record-page{padding:12px}.athlete-record-page>.athlete-record-content{width:100%;padding:18px;border-radius:16px}.athlete-record-close{top:14px;right:14px;width:40px;height:40px;font-size:26px}.athlete-record-actions button{width:100%}}
@media(max-width:600px){.athlete-form-preview-header{grid-template-columns:1fr!important;margin-right:42px!important}.athlete-form-preview-header>div:last-child,.athlete-form-preview-header h1{text-align:left!important}.athlete-form-preview-frame{height:68vh;min-height:430px}.athlete-form-preview-actions{flex-direction:column}.athlete-form-preview-actions button{width:100%}}
.athlete-intake-toast{position:fixed;right:20px;bottom:20px;z-index:20000;box-sizing:border-box;width:360px;max-width:calc(100vw - 32px);padding:18px;border:1px solid #465979;border-left:5px solid #61a5fa;border-radius:14px;background:linear-gradient(135deg,#17233b,#25385c);color:#f8fafc;box-shadow:0 16px 36px #0f172a80;font:14px/1.45 var(--osa-font-family,'Segoe UI',sans-serif)}
.athlete-intake-toast.activity-intake-toast{border-left-color:#fbbf24;background:linear-gradient(135deg,#2b243f,#45325d)}
.athlete-intake-toast .intake-heading{display:block;padding-right:30px;font-size:16px;font-weight:750;line-height:1.35}
.athlete-intake-toast p{margin:7px 24px 16px 0;color:#d7e3f4;font-size:14px;line-height:1.45}
.athlete-intake-toast .intake-dismiss{position:absolute;top:9px;right:9px;display:grid;place-items:center;width:32px;height:32px;padding:0;border:0;border-radius:50%;background:transparent;color:#d7e3f4;cursor:pointer;font:24px/1 'Segoe UI',sans-serif}
.athlete-intake-toast .intake-dismiss:hover{background:#ffffff1f;color:#fff}
.athlete-intake-toast .intake-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px}
.athlete-intake-toast .intake-count{padding:5px 9px;border-radius:20px;background:#ffffff1c;color:#e8f1ff;font-size:12px;font-weight:600}
.athlete-intake-toast a{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:8px 12px;border-radius:8px;background:#60a5fa;color:#10203a;font-size:13px;font-weight:750;text-decoration:none}.athlete-intake-toast.activity-intake-toast a{background:#fbbf24;color:#2b1d00}
.athlete-intake-toast a:hover{filter:brightness(1.08)}
.athlete-intake-toast :is(a,button):focus-visible{outline:3px solid #f8fafc;outline-offset:3px}
@media(prefers-reduced-motion:no-preference){.athlete-media-dialog[open],.athlete-intake-toast{animation:athlete-appear .18s ease-out}@keyframes athlete-appear{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}}
.attachment-editor[hidden]{display:none!important}
.attachment-editor{display:grid;gap:12px;padding:12px;background:#f1f7f6;border-radius:10px}
.attachment-editor label{display:block;font-weight:600}.attachment-editor input{display:block;box-sizing:border-box;width:100%;margin-top:6px;padding:10px;border:1px solid #c9dad7;border-radius:8px}
.attachment-fixed-title{margin:8px 0;color:#52636b;overflow-wrap:anywhere}.attachment-fixed-title strong{color:#1f3034}
dialog.athlete-media-dialog,dialog.attachment-editor{position:fixed;inset:0;margin:auto;max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);overflow:auto}
dialog.athlete-media-dialog{width:fit-content;min-width:0;text-align:center}dialog.athlete-media-dialog>div{display:grid;justify-items:center}dialog.athlete-media-dialog>div>img{justify-self:center}
dialog.athlete-media-dialog h3{margin:0 48px 14px 0;font-size:18px;overflow-wrap:anywhere}
dialog.athlete-media-dialog img{max-width:100%;max-height:65dvh;height:auto;object-fit:contain}
dialog.attachment-editor{width:440px;padding:22px;border:1px solid #d5e4e0;border-radius:16px;background:#fff;color:#183c34;box-shadow:0 16px 60px #0003;font:14px/1.45 'Segoe UI',sans-serif;box-sizing:border-box;text-align:left}
dialog.attachment-editor:not([open]){display:none}
dialog.attachment-editor[open]{display:grid;gap:16px}
dialog.attachment-editor::backdrop{background:#102d3580}
.attachment-editor-header,.attachment-editor-actions{display:flex;align-items:center;justify-content:space-between;gap:10px}
.attachment-editor-header h3{margin:0;font-size:20px}
.attachment-editor-header button{width:32px;height:32px;border:0;border-radius:50%;background:#edf3f0;color:#275649;font-size:22px;cursor:pointer}
.attachment-editor-actions{justify-content:flex-end}
.attachment-editor-actions .mini-btn{border:0;border-radius:8px;padding:10px 14px;background:#eaf1ed;color:#234e42;font:600 14px 'Segoe UI',sans-serif;cursor:pointer}
.attachment-editor-actions .attachment-edit-apply{background:#287767;color:#fff}
.attachment-cards{grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr));align-items:start;gap:12px}
.attachment-cards>.attachment-card{position:relative;box-sizing:border-box;height:200px;display:grid;grid-template-rows:38px 104px;align-content:start;padding:10px;gap:8px;background:#fff;border-color:#dbe6e3;border-radius:12px}
.saved-attachment-heading{grid-row:1;display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:0;overflow:visible;padding-right:112px}
.saved-attachment-heading strong{font-size:14px;line-height:1.3;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.saved-attachment-heading small{display:inline-block;margin:0;padding:3px 8px;border-radius:6px;background:#edf5f1;color:#3b6558;font-size:11px;line-height:1.4}
.attachment-cards .attachment-preview{grid-row:2;box-sizing:border-box;height:104px;padding:5px;background:#f4f7f6;border:1px solid #e6eeeb}
.attachment-cards .attachment-preview img{height:92px;width:100%;object-fit:contain}
.attachment-cards .attachment-document-preview{grid-row:2;box-sizing:border-box;width:100%;height:104px;overflow:hidden;border:1px solid #e6eeeb;border-radius:10px;background:#f4f7f6}
.attachment-document-preview{position:relative}
.activity-post-requirement-cards .attachment-document-preview-trigger{display:block;position:relative;padding:0;text-align:left;cursor:zoom-in}
.activity-post-requirement-cards .attachment-document-preview-trigger iframe{pointer-events:none}
.attachment-document-zoom{position:absolute;right:8px;bottom:8px;z-index:2;border:1px solid #d5e4e0;border-radius:7px;background:#fff;color:#235d4f;padding:6px 9px;font:700 12px 'Segoe UI',sans-serif;cursor:pointer;box-shadow:0 2px 8px #183c3426}
.attachment-document-zoom:hover,.attachment-document-zoom:focus-visible{background:#e6f2ee;outline:2px solid #287f75;outline-offset:2px}
.attachment-cards .attachment-document-preview iframe{display:block;width:100%;height:100%;border:0;background:#fff}
.attachment-cards .attachment-document-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:#356d63;font-size:13px;font-weight:750}
.attachment-cards .attachment-document-placeholder i{font-size:28px}
.attachment-cards .attachment-document-placeholder small{color:#66797d;font-size:11px;font-weight:500}
.attachment-cards .attachment-actions{position:absolute;top:10px;right:10px;display:flex;align-items:center;justify-content:flex-end;gap:6px;margin:0}
.attachment-cards .attachment-actions .mini-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;box-sizing:border-box;height:34px;min-height:34px;padding:7px 10px;border:1px solid #dce7e2;border-radius:8px;background:#f1f6f3;color:#235d4f;font:600 12px/1.2 'Segoe UI',sans-serif;text-decoration:none;cursor:pointer;box-shadow:none}
.attachment-cards .attachment-actions .icon-action{width:30px!important;min-width:30px!important;height:30px!important;min-height:30px!important;padding:0!important;font-size:13px!important}
.attachment-cards .attachment-actions .attachment-download{flex:none}
.attachment-cards .attachment-actions .attachment-download-unavailable,
.attachment-cards .attachment-actions .attachment-download-unavailable:hover{opacity:.5;background:#f1f6f3;color:#235d4f;cursor:not-allowed}
.attachment-cards .attachment-actions .mini-btn:hover{background:#e0eee7;border-color:#accbbc}
.attachment-cards .attachment-actions .mini-btn:focus-visible{outline:3px solid #c09b1a;outline-offset:2px}
/* Activity attachments: keep the document title and original filename clear of the action icons. */
.event-attachment-cards>.attachment-card{height:auto;min-height:0;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto;gap:10px;padding:14px}
.event-attachment-cards>.attachment-card .saved-attachment-heading{grid-column:1;grid-row:1;min-width:0;padding-right:0;overflow:visible}
.event-attachment-cards>.attachment-card .saved-attachment-heading strong{max-width:100%;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;line-height:1.4}
.event-attachment-cards>.attachment-card .event-attachment-filename{max-width:100%;white-space:normal;overflow-wrap:anywhere}
.event-attachment-cards>.attachment-card .attachment-actions{grid-column:1;grid-row:2;position:static;justify-content:flex-start;flex-wrap:wrap}
.event-attachment-cards>.attachment-card .attachment-preview{grid-column:1;grid-row:3;width:100%}
.event-attachment-cards>.attachment-card .attachment-document-preview{grid-column:1;grid-row:3;width:100%;height:150px}
.event-attachment-cards>.attachment-card .attachment-missing-note{grid-column:1;grid-row:3}
/* Read-only athlete record: compact awards without clipping the name. */
.athlete-record-page .attachment-cards{justify-items:start}
.athlete-record-page .attachment-cards>.attachment-card{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;gap:8px;height:auto;min-height:0;max-width:320px;padding:10px;width:100%}
.athlete-record-page .attachment-cards>.attachment-card .saved-attachment-heading{grid-column:1;grid-row:1;min-height:42px;overflow:visible;padding-right:0}
.athlete-record-page .attachment-cards>.attachment-card .attachment-actions{grid-column:2;grid-row:1;position:static;align-self:start;gap:6px;margin:0}
.athlete-record-page .attachment-cards>.attachment-card .attachment-actions .icon-action{width:30px!important;min-width:30px!important;height:30px!important;min-height:30px!important;padding:0!important}
.athlete-record-page .attachment-cards>.attachment-card .attachment-preview{grid-column:1/-1;grid-row:2;height:112px;padding:5px}
.athlete-record-page .attachment-cards>.attachment-card .attachment-document-preview{grid-column:1/-1;grid-row:2;height:112px}
.athlete-record-page .attachment-cards>.attachment-card .attachment-preview img{height:100px}
/* Awards use the compact follow-up list layout. The eye button still opens an image. */
.award-attachment-cards{display:grid;grid-template-columns:1fr;gap:12px}
.award-attachment-cards>.attachment-card{display:grid;grid-template-columns:34px minmax(0,1fr) auto;grid-template-rows:auto;align-items:center;gap:10px;height:auto;min-height:74px;max-width:none;padding:12px 14px;width:100%}
.award-attachment-cards>.attachment-card .attachment-person-icon{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#e8f1f1;color:#567078;font-size:16px;line-height:1}
.award-attachment-cards>.attachment-card .saved-attachment-heading{grid-column:2;grid-row:1;min-height:0;overflow:visible;padding-right:0}
.award-attachment-cards>.attachment-card .saved-attachment-heading strong{white-space:normal}
.award-attachment-cards>.attachment-card .attachment-preview{display:none}
.award-attachment-cards>.attachment-card .attachment-actions{grid-column:3;grid-row:1;position:static;gap:6px;margin:0}
.award-attachment-cards>.attachment-card .attachment-actions .icon-action{width:32px!important;min-width:32px!important;height:32px!important;min-height:32px!important;padding:0!important}
/* Restore the original vertical award/requirement card layout. */
.athlete-record-page .attachment-cards{grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr));justify-items:stretch}
.athlete-record-page .attachment-cards>.attachment-card{display:grid;grid-template-columns:1fr;grid-template-rows:44px 124px minmax(0,1fr);gap:10px;height:270px;max-width:none;padding:12px;width:auto}
.athlete-record-page .attachment-cards>.attachment-card .saved-attachment-heading{grid-column:1;grid-row:1;min-height:0;overflow:hidden;padding-right:0}
.athlete-record-page .attachment-cards>.attachment-card .attachment-preview{display:block;grid-column:1;grid-row:2;height:124px;padding:6px}
.athlete-record-page .attachment-cards>.attachment-card .attachment-preview img{height:112px}
.athlete-record-page .attachment-cards>.attachment-card .attachment-actions{grid-column:1;grid-row:3;position:static;align-self:auto;border-top:1px solid #edf1ef;padding-top:10px;margin-top:auto}
.athlete-record-page .attachment-cards>.attachment-card .attachment-actions .icon-action{width:34px!important;min-width:34px!important;height:34px!important;min-height:34px!important}
/* Keep the student requirement queue compact, even with ten attachments. */
.public-form-grid>.athlete-upload,.public-form-grid>.attachment-help{grid-column:1/-1;min-width:0}
.public-form-grid>.athlete-upload{margin-top:0;padding:14px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px;align-items:start}
.public-form-grid .athlete-upload h4{grid-column:1/-1;margin:0;font-size:16px}
.public-form-grid .athlete-upload label{margin:0;font-size:14px;min-width:0}
.public-form-grid .athlete-upload input{min-width:0;padding:9px 10px;font-size:14px}
.public-form-grid .athlete-upload .mini-btn{border:0;border-radius:8px;padding:9px 12px;background:#e6efed;color:#17584d;font:600 14px 'Segoe UI',sans-serif;cursor:pointer}
.public-form-grid .attachment-add{justify-self:end;grid-column:1/-1}
.public-form-grid .attachment-queue{grid-column:1/-1;display:flex;flex-wrap:nowrap;min-width:0;max-width:100%;overflow-x:auto;gap:8px;margin:0;padding-bottom:6px;align-items:start}
.public-form-grid .attachment-queue .attachment-card{flex:0 0 min(300px,100%);box-sizing:border-box;display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:8px;padding:8px}
.public-form-grid .attachment-queue .attachment-card strong{grid-column:2;grid-row:1;font-size:13px;line-height:1.35;overflow-wrap:anywhere}
.public-form-grid .attachment-queue .attachment-preview{grid-column:1;grid-row:1;padding:0;width:48px;height:48px}
.public-form-grid .attachment-queue .attachment-preview img{width:48px;height:48px;object-fit:contain}
.public-form-grid .attachment-queue .attachment-card>small{grid-column:1/-1;font-size:12px;margin:0;overflow-wrap:anywhere}
.public-form-grid .attachment-queue .attachment-queued-document-preview{grid-column:1/-1;width:100%;height:150px;overflow:hidden;border:1px solid #dbe6e3;border-radius:8px;background:#f4f7f6}
.public-form-grid .attachment-queue .attachment-queued-document-preview iframe{display:block;width:100%;height:100%;border:0;background:#fff}
.public-form-grid .attachment-queue .attachment-queued-document-preview .attachment-document-zoom{z-index:2}
.public-form-grid .attachment-queue .mini-btn{grid-column:3;grid-row:1;padding:7px;font-size:12px}
.public-form-grid>.attachment-help{margin:0;font-size:12px}
@media(max-width:760px){.athlete-upload-pair{grid-template-columns:1fr}}@media(max-width:600px){.public-form-grid>.athlete-upload{grid-template-columns:minmax(0,1fr)}}
/* Missing uploads are explicit instead of rendering a broken image icon. */
.attachment-card .attachment-missing-note {
    display: block;
    margin: 8px 0;
    color: #a34700;
    font-weight: 600;
    line-height: 1.4;
}
html[data-osa-theme="dark"] .attachment-card .attachment-missing-note {
    color: #f6c983;
}

/* Saved files: title on the left, print/edit on the right, preview below. */
html body .attachment-cards > .attachment-card {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-rows: auto auto !important;
    height: auto !important;
    min-height: 0 !important;
}
html body .attachment-cards > .attachment-card .saved-attachment-heading {
    grid-column: 1 !important;
    grid-row: 1 !important;
    min-height: 0 !important;
    overflow: visible !important;
    padding-right: 0 !important;
}
html body .attachment-cards > .attachment-card .saved-attachment-heading strong {
    max-width: 100% !important;
    overflow: visible !important;
    overflow-wrap: anywhere;
    text-overflow: clip !important;
    white-space: normal !important;
}
html body .attachment-cards > .attachment-card .attachment-actions {
    align-self: start !important;
    border: 0 !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    grid-column: 2 !important;
    grid-row: 1 !important;
    justify-content: flex-end !important;
    margin: 0 !important;
    padding: 0 !important;
    position: static !important;
}
html body .attachment-cards > .attachment-card .attachment-preview,
html body .attachment-cards > .attachment-card .attachment-missing-note {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
}

/* Uniform print/edit icon controls for every saved requirement/document card. */
html body :is(.attachment-cards, .attachment-queue) .attachment-actions :is(
    .attachment-download, .attachment-edit
) {
    align-items: center !important;
    background: #e8f0f3 !important;
    border: 1px solid #c3d3da !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    color: #244d59 !important;
    display: inline-flex !important;
    flex: 0 0 42px !important;
    height: 42px !important;
    justify-content: center !important;
    min-height: 42px !important;
    min-width: 42px !important;
    padding: 0 !important;
    text-decoration: none !important;
    transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease, transform .16s ease !important;
    width: 42px !important;
}
html body :is(.attachment-cards, .attachment-queue) .attachment-actions :is(
    .attachment-download, .attachment-edit
) :is(i, svg) {
    color: currentColor !important;
    fill: currentColor !important;
    font-size: 17px !important;
}
html body :is(.attachment-cards, .attachment-queue) .attachment-actions :is(
    .attachment-download, .attachment-edit
):not(:disabled):hover {
    background: #d9eee8 !important;
    border-color: #8bc3b8 !important;
    box-shadow: 0 0 0 3px rgba(85, 179, 165, .22) !important;
    color: #154f48 !important;
    transform: translateY(-1px) !important;
}
html body :is(.attachment-cards, .attachment-queue) .attachment-actions :is(
    .attachment-download, .attachment-edit
):focus-visible {
    outline: 3px solid #8bc3b8 !important;
    outline-offset: 2px !important;
}
html body :is(.attachment-cards, .attachment-queue) .attachment-actions :is(
    .attachment-download, .attachment-edit
):disabled {
    cursor: not-allowed !important;
    opacity: .5 !important;
    transform: none !important;
}

html[data-osa-theme="dark"] body :is(.attachment-cards, .attachment-queue) .attachment-actions :is(
    .attachment-download, .attachment-edit
) {
    background: #2c414c !important;
    border-color: #607782 !important;
    color: #ffffff !important;
}
html[data-osa-theme="dark"] body :is(.attachment-cards, .attachment-queue) .attachment-actions :is(
    .attachment-download, .attachment-edit
):not(:disabled):hover {
    background: #3d5662 !important;
    border-color: #9bb2bb !important;
    box-shadow: 0 0 0 3px rgba(111, 205, 176, .24) !important;
    color: #ffffff !important;
}

/* Keep saved activity and sports requirement cards on a shared, even grid. */
html body .saved-requirement-cards {
    align-items: stretch !important;
    grid-auto-rows: 320px !important;
}
/* Old activity records without uploaded files should not reserve a full card row. */
html body .saved-requirement-cards.is-empty {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    grid-auto-rows: auto !important;
}
html body .saved-requirement-cards.is-empty > p {
    margin: 8px 0 0 !important;
}
html body .saved-requirement-cards > .attachment-card {
    box-sizing: border-box !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-rows: 112px minmax(0, 1fr) !important;
    height: 330px !important;
    min-height: 330px !important;
    max-height: 330px !important;
    align-content: stretch !important;
    gap: 10px !important;
    overflow: hidden !important;
    align-self: stretch !important;
    width: 100% !important;
}
html body .saved-requirement-cards > .attachment-card .saved-attachment-heading {
    box-sizing: border-box !important;
    grid-column: 1 !important;
    grid-row: 1 !important;
    height: 112px !important;
    max-height: 112px !important;
    min-height: 0 !important;
    overflow: hidden !important;
    padding: 0 !important;
}
html body .saved-requirement-cards > .attachment-card .saved-attachment-heading strong,
html body .saved-requirement-cards > .attachment-card .event-attachment-filename {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
}
html body .saved-requirement-cards > .attachment-card .saved-attachment-heading strong {
    -webkit-line-clamp: 4 !important;
    line-height: 1.35 !important;
}
html body .saved-requirement-cards > .attachment-card .event-attachment-filename {
    -webkit-line-clamp: 2 !important;
}
html body .saved-requirement-cards > .attachment-card .attachment-actions {
    align-self: start !important;
    grid-column: 2 !important;
    grid-row: 1 !important;
}
html body .saved-requirement-cards > .attachment-card :is(.attachment-preview, .attachment-missing-note) {
    display: block !important;
    box-sizing: border-box !important;
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    width: 100% !important;
}
html body .saved-requirement-cards > .attachment-card.activity-empty-report-card .activity-post-record-missing {
    display: grid !important;
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    place-items: center !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
}
html body .saved-requirement-cards > .attachment-card .attachment-preview img {
    height: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
}
@media (max-width: 640px) {
    html body .saved-requirement-cards {
        grid-auto-rows: 280px !important;
    }
    html body .saved-requirement-cards > .attachment-card {
        height: 300px !important;
        min-height: 300px !important;
        max-height: 300px !important;
        grid-template-rows: 112px minmax(0, 1fr) !important;
    }
    html body .saved-requirement-cards > .attachment-card .saved-attachment-heading {
        height: 112px !important;
        max-height: 112px !important;
    }
}

/* Final compact saved-attachment layout. This must remain last because the
   shared upload partial loads this stylesheet after the page-level rules. */
html body .saved-requirement-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-auto-rows: minmax(260px, auto) !important;
    gap: 14px !important;
}
html body .saved-requirement-cards.activity-post-requirement-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
html body .saved-requirement-cards > .attachment-card,
html body.athlete-page .saved-requirement-cards > .attachment-card,
html body .event-attachment-cards.saved-requirement-cards > .attachment-card {
    box-sizing: border-box !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-rows: auto minmax(130px, 1fr) !important;
    align-content: stretch !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    min-height: 260px !important;
    max-height: none !important;
    padding: 12px !important;
    overflow: visible !important;
}
html body .saved-requirement-cards > .attachment-card .saved-attachment-heading {
    grid-column: 1 !important;
    grid-row: 1 !important;
    box-sizing: border-box !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 0 !important;
    overflow: visible !important;
}
html body .saved-requirement-cards > .attachment-card .saved-attachment-heading :is(strong, .event-attachment-filename) {
    display: block !important;
    -webkit-line-clamp: unset !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
}
html body .saved-requirement-cards > .attachment-card .attachment-actions {
    grid-column: 2 !important;
    grid-row: 1 !important;
    position: static !important;
    align-self: start !important;
    justify-content: flex-end !important;
    margin: 0 !important;
}
html body .saved-requirement-cards > .attachment-card :is(.attachment-preview, .attachment-missing-note) {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    box-sizing: border-box !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 8px !important;
}
html body .saved-requirement-cards > .attachment-card .attachment-document-preview {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    box-sizing: border-box !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: 100% !important;
    overflow: hidden !important;
}
html body .saved-requirement-cards > .attachment-card .attachment-document-preview iframe {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
}
html body .saved-requirement-cards > .attachment-card .attachment-preview img {
    width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
}
html body .saved-requirement-cards > .attachment-card .attachment-preview {
    padding: 0 !important;
    overflow: hidden !important;
}
@media (max-width: 900px) {
    html body .saved-requirement-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}
@media (max-width: 600px) {
    html body .saved-requirement-cards {
        grid-template-columns: 1fr !important;
    }
}

/* Empty requirement/award groups should follow their message instead of
   inheriting the fixed height used by uploaded attachment cards. */
html body .athlete-record-attachments .attachment-group:has(.saved-requirement-cards > p:only-child) {
    min-height: 0 !important;
    height: auto !important;
}
html body .athlete-record-attachments .saved-requirement-cards:has(> p:only-child) {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    grid-auto-rows: auto !important;
    margin-top: 10px !important;
}
html body .athlete-record-attachments .saved-requirement-cards > p:only-child {
    margin: 0 !important;
    padding: 0 !important;
    min-height: 0 !important;
}

/* The eye action shows the same read-only fields as Edit, without a nested
   browser PDF viewer or horizontal toolbar scrollbar. */
.athlete-media-dialog:has(.athlete-record-content) {
    box-sizing: border-box !important;
    width: min(980px, calc(100vw - 40px)) !important;
    max-width: min(980px, calc(100vw - 40px)) !important;
    max-height: calc(100vh - 40px) !important;
    padding: 26px 30px !important;
    overflow-x: hidden !important;
}
.athlete-media-dialog:has(.athlete-record-content) > div,
.athlete-media-dialog .athlete-record-content {
    box-sizing: border-box !important;
    max-width: 100% !important;
    min-width: 0 !important;
    width: 100% !important;
    overflow-x: hidden !important;
}
.athlete-record-actions .athlete-form-print { align-items: center; background: #398e82; border-radius: 12px; color: #fff !important; display: inline-flex; font: 800 16px/1 'Segoe UI', Arial, sans-serif; gap: 8px; justify-content: center; min-height: 46px; min-width: 120px; padding: 0 24px; text-decoration: none; }
.athlete-record-actions .athlete-form-print:hover { background: #287a70; }
.athlete-record-content .athlete-record-field > .athlete-record-print-value { display: none; }
.athlete-requirement-status { margin: 0 0 16px; padding: 14px 16px; border: 1px solid #d5e5e3; border-radius: 12px; background: #f5faf9; }
.athlete-requirement-status h3 { margin: 0 0 10px; color: #193d38; font-size: 16px; }
.athlete-requirement-status ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; margin: 0; padding: 0; list-style: none; }
.athlete-requirement-status li { display: flex; justify-content: space-between; gap: 12px; min-width: 0; color: #334155; }
.athlete-requirement-status li strong { flex: 0 0 auto; color: #287767; font-size: 13px; }
@media (max-width: 600px) { .athlete-requirement-status ul { grid-template-columns: 1fr; } }

/* Keep the record toolbar available while the preview dialog itself scrolls. */
.athlete-media-dialog:has(.athlete-record-content) .athlete-record-top-actions {
    position: sticky !important;
    top: 0 !important;
    right: auto !important;
    z-index: 20 !important;
    width: max-content !important;
    margin: -8px 0 -46px auto !important;
    padding: 8px 0 !important;
    background: transparent !important;
}
.athlete-media-dialog:has(.athlete-record-content) > .media-close {
    display: none !important;
}

/* The shared popup tooltip is appended inside this native dialog. Prevent the
   dialog's generic direct-child grid rule from stretching it into a full bar. */
.athlete-media-dialog > .osa-hover-tooltip {
    display: block !important;
    position: fixed !important;
    box-sizing: border-box !important;
    width: max-content !important;
    inline-size: max-content !important;
    height: auto !important;
    min-height: 0 !important;
    min-width: 0 !important;
    min-inline-size: 0 !important;
    max-width: min(240px, calc(100vw - 24px)) !important;
    margin: 0 !important;
    grid-area: auto !important;
    grid-column: auto !important;
    grid-row: auto !important;
    justify-self: start !important;
    align-self: start !important;
    flex: none !important;
    white-space: nowrap !important;
}
html body dialog.athlete-media-dialog > .osa-hover-tooltip {
    display: block !important;
    position: fixed !important;
    width: max-content !important;
    inline-size: max-content !important;
    min-width: 0 !important;
    max-width: min(240px, calc(100vw - 24px)) !important;
    height: auto !important;
    margin: 0 !important;
}

/* On the student-athlete form preview, printing belongs to the whole form
   toolbar beside Close—not to each uploaded image/document card. */
.athlete-record-content .athlete-record-attachments .attachment-download {
    display: none !important;
}

.athlete-record-bottom-actions {
    display: flex !important;
    justify-content: flex-end !important;
    margin: 22px 0 0 !important;
    padding-top: 16px !important;
    border-top: 1px solid #d8e4e8 !important;
}
.athlete-record-bottom-actions .athlete-record-exit {
    min-width: 112px;
    min-height: 44px;
    padding: 10px 22px;
    border: 1px solid #cbd8dd;
    border-radius: 12px;
    background: #e8f0f3;
    color: #244d59;
    font: 800 15px/1.2 'Segoe UI', Arial, sans-serif;
    cursor: pointer;
    transition: background-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.athlete-record-bottom-actions .athlete-record-exit:hover {
    background: #d7e5e8;
    box-shadow: 0 0 0 3px rgba(85, 128, 145, .16);
    transform: translateY(-1px);
}

@media (max-width: 760px) {
    .athlete-media-dialog:has(.athlete-record-content) {
        width: calc(100vw - 20px) !important;
        max-width: calc(100vw - 20px) !important;
        padding: 20px !important;
    }
}

@media print {
    @page { size: A4 portrait; margin: 12mm; }
    html, body.athlete-record-page { height: auto !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; overflow: visible !important; background: #fff !important; }
    body.athlete-record-page > .athlete-record-content { position: static !important; width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; color: #111 !important; background: #fff !important; overflow: visible !important; }
    .athlete-record-top-actions, .athlete-record-actions, .attachment-actions, .athlete-record-attachments .attachment-preview { display: none !important; }
    .athlete-record-header { margin-right: 0 !important; }
    .athlete-record-section, .athlete-record-grid, .athlete-record-field-row { overflow: visible !important; }
    .athlete-record-field, .athlete-record-photo-card, .attachment-card { break-inside: avoid; }
    .athlete-record-notes textarea { display: none !important; }
    .athlete-record-print-value { display: block !important; min-height: 42px; padding: 10px 12px; border: 1px solid #536a75; border-radius: 10px; white-space: pre-wrap; overflow-wrap: anywhere; }
}
