/* CSS SECTION — STUDENT FORMS: Page styles. Search this label to find the page code. */
:root { color-scheme: light; }
* { box-sizing: border-box; }
.student-forms-page [hidden] { display: none !important; }
body.student-forms-page {
    background: #edf2f3;
    color: #122326;
    font-family: var(--osa-font-family, "Segoe UI", Arial, sans-serif);
    margin: 0;
    min-height: 100vh;
    padding: 28px;
}
body.student-forms-page.student-picker-page {
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: 100dvh;
}
body.student-forms-page.student-picker-page .student-form-card { margin: 0; }
.student-form-card {
    background: #fff;
    border: 1px solid #d9e4e6;
    border-radius: 22px;
    box-shadow: 0 22px 58px rgba(17, 50, 49, .15);
    margin: 0 auto;
    max-width: 1050px;
    padding: 34px 42px 42px;
    position: relative;
}
@media (prefers-reduced-motion: no-preference) {
    body.student-forms-page .student-form-card {
        animation: public-form-card-in .34s cubic-bezier(.2, .75, .25, 1) both;
    }
    body.student-forms-page.is-leaving .student-form-card {
        opacity: 0;
        transform: translateY(8px) scale(.995);
        transition: opacity .2s ease-in, transform .2s ease-in;
    }
    .student-form-card :is(button, a, input, select, textarea) {
        transition: color .16s ease, background-color .16s ease, border-color .16s ease,
            box-shadow .16s ease, transform .16s ease;
    }
}
@keyframes public-form-card-in {
    from { opacity: 0; transform: translateY(12px) scale(.99); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.student-form-card.student-choice-card {
    height: 556px;
    max-width: calc(100vw - 32px);
    padding: 24px 32px 28px;
    width: 500px;
}
.student-choice-card .student-form-header {
    justify-content: center;
    margin-bottom: 20px;
    padding-right: 0;
    text-align: left;
}
.student-choice-card .student-form-header img {
    height: 54px;
    width: 54px;
}
.student-choice-card .student-form-header strong { font-size: 18px; }
.student-choice-card .student-form-header span { font-size: 13px; }
.student-choice-card .form-picker h1,
.student-choice-card .form-picker > p {
    text-align: center;
}
.student-choice-card .form-picker h1 { font-size: 28px; }
.student-choice-card .form-picker > p {
    font-size: 14px;
    line-height: 1.45;
    margin-bottom: 0;
}
.student-choice-card .form-choice-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 20px 0 16px;
}
.student-choice-card .form-picker {
    display: flex;
    flex-direction: column;
}
.student-choice-card .form-choice-grid a {
    min-height: 88px;
    padding: 18px 20px;
}
.student-choice-card .form-choice-grid strong {
    font-size: 20px;
    margin-bottom: 6px;
}
.student-choice-card .form-choice-grid span {
    font-size: 14px;
}
.student-choice-card .form-picker > .secondary-link {
    align-items: center;
    display: flex;
    width: 100%;
}
.student-form-close {
    align-items: center;
    background: #edf2f5;
    border: 1px solid #d5e0e5;
    border-radius: 50%;
    color: #172033;
    display: flex;
    font-size: 23px;
    font-weight: 900;
    height: 48px;
    justify-content: center;
    position: absolute;
    right: 24px;
    text-decoration: none;
    top: 22px;
    width: 48px;
}
.student-form-header { align-items: center; display: flex; gap: 13px; margin-bottom: 26px; padding-right: 60px; }
.student-form-header img { border-radius: 50%; height: 62px; object-fit: cover; width: 62px; }
.student-form-header strong, .student-form-header span { display: block; }
.student-form-header strong { font-size: 20px; font-weight: 900; }
.student-form-header span { color: #277b70; font-size: 14px; font-weight: 800; margin-top: 4px; }
.form-title h1, .form-picker h1, .submission-complete h1 { font-size: 32px; margin: 0 0 7px; }
.form-title p, .form-picker > p, .submission-complete p { color: #5b6d75; font-size: 16px; margin: 0 0 25px; }
.student-form-card:has(.public-athlete-form-title) .student-form-header{margin-bottom:20px;padding-bottom:14px;border-bottom:1px solid #dbe5e7}.public-athlete-form-title{margin-bottom:18px}.athlete-photo-upload{display:flex;flex-direction:column;justify-content:center;min-width:0;width:100%;min-height:186px;padding:14px;border:1px dashed #8cbab4;border-radius:12px;background:#f4faf8;color:#1b675d;text-align:center}.athlete-photo-upload>span{font-size:15px;font-weight:850}.athlete-photo-upload .public-photo-preview-frame{display:grid;place-items:center;width:136px;height:136px;margin:10px auto 2px;padding:0;border:1px solid #c5d8d5;border-radius:4px;background:#fff;color:#78908d;font:12px/1.2 inherit;font-weight:700;overflow:hidden;cursor:zoom-in}.athlete-photo-upload .public-photo-preview-frame img{display:block;width:100%;height:100%;margin:0;border:0;border-radius:0;object-fit:cover}.athlete-photo-upload .public-photo-preview-frame img[hidden]{display:none}.public-athlete-photo-picker{display:block;margin-top:5px;color:#17252a;font-size:13px;font-weight:800}.public-athlete-photo-picker input{display:block;box-sizing:border-box;width:100%;margin-top:6px;padding:8px;border:1px solid #cbd8dd;border-radius:10px;background:#fff;color:#35554f;font:13px/1.3 inherit}.public-athlete-photo-picker small{display:block;margin-top:6px;color:#64757c;font-size:11px;font-weight:400;line-height:1.3}.public-photo-lightbox{position:fixed;inset:0;margin:auto;box-sizing:border-box;max-width:min(90vw,620px);max-height:90vh;padding:14px;border:0;border-radius:14px;background:#fff;box-shadow:0 24px 70px rgba(15,23,42,.35)}.public-photo-lightbox::backdrop{background:rgba(15,23,42,.7)}.public-photo-lightbox img{display:block;max-width:calc(90vw - 28px);max-height:calc(90vh - 28px);margin:auto;object-fit:contain}.public-photo-lightbox-close{position:absolute;top:6px;right:6px;width:34px;height:34px;border:0;border-radius:50%;background:#fff;color:#17252a;font-size:25px;line-height:1;cursor:pointer}
.form-choice-grid { display: grid; gap: 18px; grid-template-columns: repeat(2, 1fr); margin: 30px 0; }
.form-choice-grid a {
    border: 2px solid #d5e5e4;
    border-radius: 16px;
    color: #122326;
    display: block;
    min-height: 135px;
    padding: 28px;
    text-decoration: none;
    transition: .18s ease;
}
.form-choice-grid a:hover, .form-choice-grid a:focus-visible {
    background: #f4faf8;
    border-color: #338b7f;
    box-shadow: 0 8px 20px rgba(45, 126, 114, .12);
    outline: none;
}
.form-choice-grid a:active { transform: translateY(1px) scale(.995); }
.student-form-close:hover, .student-form-close:focus-visible { background: #dfecea; border-color: #338b7f; outline: none; }
.public-entry-form button:hover:not(:disabled),
.public-entry-form button:focus-visible { filter: brightness(1.06); transform: translateY(-1px); }
.public-entry-form button:active:not(:disabled) { transform: translateY(0); }
.form-choice-grid strong, .form-choice-grid span { display: block; }
.form-choice-grid strong { color: #287f74; font-size: 23px; margin-bottom: 9px; }
.form-choice-grid span { color: #5b6d75; line-height: 1.45; }
.public-entry-form fieldset { border: 1px solid #d7e2e5; border-radius: 15px; margin: 0 0 22px; padding: 21px; }
.public-entry-form legend { font-size: 18px; font-weight: 900; padding: 0 8px; }
.public-entry-form .public-form-section { border: 0; border-radius: 0; padding: 0; }
.public-entry-form .public-form-section > legend { width: 100%; margin: 0 0 16px; padding: 9px 14px; border-radius: 8px; background: linear-gradient(90deg, #e5f1f0, #f2f8f7); color: #1d6c62; font-size: 15px; font-weight: 900; text-transform: uppercase; }
.public-entry-form .public-form-section > .check-grid,
.public-entry-form .public-form-section > .public-form-grid { padding: 0 2px 4px; }
.public-form-grid { display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.public-form-contact-row { display: grid; gap: 18px; grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.public-external-dates-row { display: grid; gap: 18px; grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); min-width: 0; }
.public-external-coordinator-row { display: grid; gap: 18px; grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); min-width: 0; }
@media (max-width: 600px) { .public-form-contact-row, .public-external-dates-row, .public-external-coordinator-row { grid-template-columns: minmax(0, 1fr); } }
.public-athlete-form-grid{position:relative;grid-template-columns:218px repeat(2,minmax(0,1fr));align-items:start}.public-athlete-media-column,.public-athlete-details{display:contents}.public-athlete-form-grid .athlete-photo-upload{position:absolute;top:0;left:0;box-sizing:border-box;width:218px;height:186px;min-height:0;padding:6px}.public-athlete-form-grid .athlete-photo-upload .public-photo-preview-frame{box-sizing:border-box;width:100%;height:136px;aspect-ratio:auto;margin:2px auto 0;flex:0 0 auto}.public-athlete-form-grid .public-athlete-photo-picker{grid-column:1;grid-row:3;align-self:start;margin-top:0}.public-athlete-details>:nth-child(1){grid-column:2;grid-row:1}.public-athlete-details>:nth-child(2){grid-column:3;grid-row:1}.public-athlete-details>:nth-child(4){grid-column:2;grid-row:2}.public-athlete-details>:nth-child(3){grid-column:3;grid-row:2}.public-athlete-details>:nth-child(5){grid-column:3;grid-row:3}.public-athlete-details>:nth-child(6){grid-column:2;grid-row:3}.public-athlete-contact-row{display:grid;grid-column:1 / -1;grid-row:4;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;min-width:0}.public-athlete-additional-details{display:grid;grid-column:1 / -1;grid-row:5;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;min-width:0}.public-athlete-additional-details label.full{grid-column:1 / -1}.public-athlete-form-grid>.athlete-upload,.public-athlete-form-grid>.attachment-help{grid-column:1 / -1}
.public-form-grid label { display: block; }
.public-form-grid label.full { grid-column: 1 / -1; }
.public-form-grid label > span { display: block; font-size: 14px; font-weight: 800; margin: 0 0 7px; }
.public-form-grid input, .public-form-grid select, .public-form-grid textarea {
    background: #fff;
    border: 1px solid #cbd8dd;
    border-radius: 10px;
    color: #15282b;
    font: inherit;
    min-height: 46px;
    padding: 10px 13px;
    width: 100%;
}
.public-form-grid textarea { min-height: 105px; resize: vertical; }
.public-form-error{margin:0 0 18px;padding:12px 14px;border-radius:10px;background:#feecec;color:#9f2424;font-size:14px;line-height:1.45}
.public-activity-requirement-attachments > .public-form-error{color:#8f1d1d;background:#fff0f0;border:1px solid #e9a5a5}
.public-form-grid small { color: #64757c; display: block; line-height: 1.4; margin-top: 6px; }
.check-grid { display: grid; gap: 10px 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.check-grid label { align-items: flex-start; background: #f5f9f9; border: 1px solid #dce8e8; border-radius: 10px; display: flex; gap: 9px; line-height: 1.35; padding: 11px; }
.check-grid input { flex: 0 0 auto; height: 18px; margin-top: 1px; width: 18px; }
.public-activity-requirement-attachments{grid-column:1/-1;padding:16px;border:1px solid #d5e4e3;border-radius:14px;background:#fbfdfd}.public-activity-requirement-attachments h4{margin:0;color:#193d38;font-size:17px}.public-activity-requirement-attachments>p{margin:7px 0 14px;color:#64757c;font-size:14px}.public-activity-requirement-attachments .athlete-upload{margin:16px 0 0;padding:0;border:0}.public-activity-requirement-attachments .attachment-help{margin:14px 0 0}.public-activity-requirement-attachments .submission-reminder{margin:16px 0 0;padding:11px 13px;border-left:4px solid #287f75;border-radius:8px;background:#eef8f5;color:#234d46;line-height:1.45}.activity-type-other-field{display:grid;gap:7px;grid-column:1/-1;grid-template-columns:minmax(0,1fr);margin-top:4px;width:100%}.activity-type-other-field>label{background:transparent;border:0;border-radius:0;display:block;font-size:14px;font-weight:800;line-height:1.35;padding:0}.activity-type-other-field>input{box-sizing:border-box;display:block;height:46px;max-width:none;min-width:0;padding:10px 12px;width:100%}.activity-type-other-field[hidden]{display:none}
.student-form-actions { align-items: center; display: flex; gap: 12px; justify-content: flex-end; margin-top: 25px; }
.student-form-actions a, .student-form-actions button, .primary-link, .secondary-link {
    border-radius: 11px;
    display: inline-flex;
    font-size: 15px;
    font-weight: 850;
    justify-content: center;
    min-height: 44px;
    padding: 12px 20px;
    text-decoration: none;
}
.student-form-actions a, .secondary-link { background: #e8eef2; color: #15212f; }
.student-form-actions button, .primary-link { background: #338b7f; border: 0; color: #fff; cursor: pointer; }
.form-picker .secondary-link { margin-top: 4px; }
.student-form-messages p { border-radius: 10px; margin: 0 0 20px; padding: 12px 15px; }
.student-form-messages .error { background: #feecec; color: #9f2424; }
.student-form-messages .success { background: #e6f6ef; color: #17644f; }
.submission-complete { padding: 40px 0 25px; text-align: center; }
.submission-complete .complete-mark { align-items: center; background: #dff3ec; border-radius: 50%; color: #277f70; display: inline-flex; font-size: 34px; height: 70px; justify-content: center; margin-bottom: 18px; width: 70px; }
.submission-complete .primary-link, .submission-complete .secondary-link { margin: 8px 5px 0; }
.sport-submission-dialog { width:min(440px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:28px;border:1px solid #d9e4e6;border-radius:20px;background:#fff;color:#172b31;box-shadow:0 24px 70px rgba(10,30,35,.28);text-align:center; }
.sport-submission-dialog::backdrop { background:rgba(7,24,29,.72); }
.sport-submission-dialog .complete-mark { display:grid;place-items:center;width:54px;height:54px;margin:0 auto 14px;border-radius:50%;background:#dff3ec;color:#277f70;font-size:30px; }
.sport-submission-dialog h2 { margin:0 0 10px;font-size:26px; }
.sport-submission-dialog p { margin:0 0 20px;line-height:1.5;color:#526870; }
.sport-submission-dialog .sport-form-download { display:block;padding:13px 18px;border-radius:11px;background:#287f75;color:#fff;font-weight:800;text-decoration:none; }
.sport-submission-dialog .sport-submission-close { margin-top:12px;padding:9px 18px;border:0;background:transparent;color:#375b61;font:inherit;font-weight:700;cursor:pointer; }
.sport-submission-dialog :is(a,button):focus-visible { outline:3px solid #a5d9cf;outline-offset:3px; }
.student-picker-card {
    display: flex;
    flex-direction: column;
}
.student-picker-card .student-form-header { flex: 0 0 auto; justify-content: center; margin-bottom: 16px; }
.student-picker-card .student-form-header > div { display: none; }
.student-picker-card .student-form-header img {
    height: 54px;
    width: 54px;
    box-shadow: 0 12px 24px rgba(17, 50, 49, .14);
}
.student-picker-card .student-form-close {
    height: 34px;
    width: 34px;
    font-size: 20px;
    right: 15px;
    top: 15px;
}
.student-picker-card .form-picker { flex: 1; }
.student-picker-card .form-picker h1 { font-size: 24px; margin-bottom: 10px; }
.student-picker-card .form-choice-grid {
    flex: 1;
    grid-template-rows: repeat(2, 1fr);
    margin: 22px 0 20px;
    gap: 14px;
}
.student-picker-card .form-choice-grid a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-width: 1px;
    border-radius: 12px;
}
.student-picker-card .form-choice-grid strong { font-size: 18px; font-weight: 700; }
.student-picker-card .form-picker > .secondary-link {
    background: #fff;
    border: 1px solid #cbd8dd;
    color: #277b70;
    font-size: 15px;
    font-weight: 700;
    margin-top: auto;
    min-height: 40px;
}
@media (max-width: 700px) {
    body.student-forms-page { min-height: 100dvh; padding: 10px; }
    .student-form-card { border-radius: 15px; max-width: 100%; padding: 24px 18px 30px; width: 100%; }
    /* The chooser should fit its content on a phone, not stretch its two links
       into screen-height blank cards. */
    .student-form-card.student-choice-card { height: auto; min-height: 0; }
    .student-picker-card .student-form-header { margin-bottom: 12px; }
    .student-picker-card .form-picker { flex: 0 0 auto; }
    .student-picker-card .form-choice-grid { flex: 0 0 auto; grid-template-rows: none; margin: 18px 0; }
    .student-picker-card .form-choice-grid a { min-height: 0; padding: 20px 18px; }
    .student-picker-card .form-picker > .secondary-link { margin-top: 0; }
    .form-choice-grid, .public-form-grid, .check-grid { grid-template-columns: 1fr; }
    .public-form-grid label.full { grid-column: auto; }
    .student-form-actions { align-items: stretch; flex-direction: column-reverse; }
    .student-form-actions a, .student-form-actions button { width: 100%; }
    .public-entry-form fieldset { margin-bottom: 16px; padding: 15px 13px; }
    .public-entry-form .public-form-section { padding: 0; }
    .public-entry-form .public-form-section > legend { font-size: 14px; margin-bottom: 13px; padding: 9px 11px; }
    .public-entry-form legend { font-size: 16px; }
    .public-form-grid { gap: 14px; }
    .public-form-grid input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
    .public-form-grid select,
    .public-form-grid textarea { font-size: 16px; }
    .student-forms-page input[type="checkbox"],
    .student-forms-page input[type="radio"] {
        width: 18px !important;
        min-width: 18px !important;
        max-width: 18px !important;
    }
    .check-grid { gap: 9px; }
    .check-grid label { font-size: 14px; padding: 10px; }
    .form-title h1, .form-picker h1, .submission-complete h1 { font-size: 26px; line-height: 1.18; }
    .form-title p, .form-picker > p, .submission-complete p { font-size: 15px; line-height: 1.5; }
    .public-athlete-form-grid{grid-template-columns:1fr}.public-athlete-details{display:grid;grid-column:1;grid-row:auto;grid-template-columns:1fr;gap:14px}.public-athlete-contact-row{display:grid;grid-column:1;grid-row:auto;grid-template-columns:1fr;gap:14px}.public-athlete-additional-details{grid-column:1;grid-row:auto;grid-template-columns:1fr;gap:14px}.public-athlete-media-column{grid-column:1;grid-row:auto;order:-1;display:grid;gap:14px}.public-athlete-form-grid .athlete-photo-upload{position:relative;inset:auto;justify-self:start;width:100%;max-width:100%;height:auto;min-height:0}.public-athlete-form-grid .athlete-photo-upload .public-photo-preview-frame{width:min(100%,220px);height:136px;aspect-ratio:auto}.public-athlete-form-grid .public-athlete-photo-picker{grid-column:1;grid-row:auto;align-self:start}.public-athlete-details>:nth-child(n){grid-column:1;grid-row:auto}.public-athlete-contact-row>:nth-child(n){grid-column:1;grid-row:auto}.public-athlete-details label.full,.public-athlete-additional-details label.full{grid-column:auto}.athlete-photo-upload{width:100%;}
}
.welcome-dialog {
    position: fixed;
    inset: 0;
    margin: auto;
    padding: 0;
    border: 0;
    border-radius: 24px;
    width: min(500px, calc(100vw - 32px));
    height: 556px;
    max-height: calc(100dvh - 32px);
    overflow: hidden;
    color: #082d28;
    background: #f7f8ef;
    box-shadow: 0 24px 80px #062d2855;
}
.welcome-dialog.is-fullscreen-poster {
    inset: 0;
    width: 100vw !important;
    height: 100dvh !important;
    max-width: none;
    max-height: none;
    margin: 0;
    border-radius: 0;
    background: #073f36;
    box-shadow: none;
}
html:has(.welcome-dialog.is-fullscreen-poster[open]),
body:has(.welcome-dialog.is-fullscreen-poster[open]) { overflow: hidden !important; }
.welcome-dialog::backdrop { background: #102e2b99; }
body:has(.welcome-dialog[open]) .student-choice-card { visibility: hidden; }
/* Remove the picker card entirely while its ID-entry dialog is active. Keeping
   it merely visibility-hidden can leave its animated/stacked surface visible
   behind the native dialog in some browsers. */
body.welcome-modal-open .student-choice-card { display: none !important; }
.welcome-dialog[open] { display: flex; flex-direction: column; justify-content: center; }
/* Show the replacement posters in full; the old artwork needed crop offsets. */
.welcome-poster { position: absolute; inset: 0; width: 100%; height: 100%; }
.welcome-poster img { display: block; width: 100%; height: 100%; object-fit: contain; }
.welcome-dialog.is-fullscreen-poster .welcome-poster { z-index: 1; }
.welcome-dialog.is-fullscreen-poster .welcome-poster {
    inset: 50% auto auto 50%;
    width: min(100vw, 85.7143dvh);
    height: min(100dvh, 116.6667vw);
    transform: translate(-50%, -50%);
}
.welcome-dialog.is-fullscreen-poster .welcome-continue {
    bottom: 3%;
}
.welcome-dialog #welcomeEntry { overflow-y: auto; }
.welcome-dialog.is-id-entry { height: fit-content !important; max-height: calc(100dvh - 24px) !important; }
.welcome-dialog.is-id-entry #welcomeEntry { padding: 42px 28px 24px; }
.welcome-dialog[open]::backdrop { animation: welcome-backdrop-in .2s ease-out; }
@keyframes welcome-backdrop-in { from { background: #102e2b00; } to { background: #102e2b99; } }
@media (prefers-reduced-motion: reduce) { .welcome-dialog[open]::backdrop { animation: none; } }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
.welcome-dialog .welcome-close { z-index: 2; background: #eef4f1; color: #123b32; border-color: #cbd8d1; }
.welcome-poster .welcome-continue {
    position: absolute; left: 12%; bottom: 3%; width: 76%; min-height: 48px;
    padding: 10px 16px; border-radius: 12px; font-size: clamp(12px, 3vw, 18px); background: #004d3b;
}
.welcome-dialog[data-kind="event"] .welcome-poster .welcome-continue {
    background: #176f60;
}
@media (max-width: 480px) {
    .welcome-dialog {
        border-radius: 20px;
        height: min(556px, calc(100dvh - 20px));
        max-height: calc(100dvh - 20px);
        width: calc(100vw - 20px);
    }
    .welcome-poster .welcome-continue { border-radius: 12px; font-size: 16px; }
    .welcome-dialog[data-kind="event"] .welcome-poster .welcome-continue {
        border-radius: 14px;
        font-size: 16px;
    }
    .event-choice-page { padding: 10px !important; }
    .event-choice-page .student-form-card.student-choice-card { width: 100%; }
}
.welcome-dialog #welcomeEntry h2 { font-size: 26px; text-transform: none; margin-bottom: 24px; }
.welcome-close { position: absolute; right: 14px; top: 12px; border: 1px solid #ffffff66; border-radius: 50%; width: 34px; height: 34px; color: white; background: #ffffff22; font-size: 24px; cursor: pointer; }
.welcome-brand { padding: 38px 42px 42px; text-align: center; color: white; background: radial-gradient(ellipse at top right, #14816a, transparent 65%), linear-gradient(135deg, #00382e, #00594a); border-radius: 0 0 45% 8% / 0 0 18% 8%; }
.welcome-brand strong { display: block; font-size: clamp(22px, 4vw, 30px); }
.welcome-brand span { display: block; margin-top: 8px; font-size: 17px; }
.welcome-content { padding: 30px 34px 34px; text-align: center; }
.welcome-category { letter-spacing: .28em; font-size: 17px; margin: 0 0 18px; }
.welcome-content h2 { font-size: clamp(34px, 7vw, 58px); line-height: 1.05; text-transform: uppercase; margin: 0; font-weight: 900; }
.welcome-content h2 em { display: block; color: #00664f; }
.welcome-description { font-size: 19px; line-height: 1.4; margin: 18px 0 30px; }
.welcome-dialog[data-kind="sport"] .welcome-description { font-size: 26px; font-weight: 800; text-transform: uppercase; text-decoration: underline; text-decoration-color: #eab62c; text-underline-offset: 8px; }
.welcome-continue { width: 100%; padding: 16px; border: 0; border-radius: 14px; background: #006453; color: white; font: inherit; font-size: 18px; font-weight: 700; cursor: pointer; }
.welcome-id-form { text-align: left; }
.welcome-id-form label { display: block; font-weight: 700; margin-bottom: 8px; }
.welcome-id-form input:not([type="hidden"]) { width: 100%; border: 1px solid #b3ccc3; border-radius: 10px; padding: 13px; font: inherit; margin-bottom: 0 !important; }
.welcome-id-form .osa-inline-validation-warning { margin: 4px 0 0 !important; }
.welcome-id-form > .welcome-continue { margin-top: 14px !important; }
.welcome-dialog [hidden] { display: none; }
.welcome-dialog button:focus-visible, .welcome-dialog input:focus-visible { outline: 3px solid #d5aa25; outline-offset: 3px; }
@media (max-height: 520px) {
    .welcome-dialog.is-id-entry #welcomeEntry { padding: 38px 20px 18px; }
    .welcome-dialog.is-id-entry #welcomeEntry h2 { margin-bottom: 12px; }
    .welcome-dialog.is-id-entry .welcome-id-form input { margin-bottom: 0 !important; padding: 10px 12px; }
    .welcome-dialog.is-id-entry .welcome-id-form .welcome-continue { padding: 12px; font-size: 16px; }
}
.student-forms-page.event-choice-page {
    display: grid;
    place-items: center;
    min-height: 100dvh;
    padding: 16px;
    background: #6b807e !important;
}
.event-choice-page .student-form-card.student-choice-card {
    box-sizing: border-box;
    background: #f7f8ef;
    border: 0;
    border-radius: 24px;
    padding: 48px 28px 28px;
    width: min(420px, calc(100vw - 32px));
    max-width: 100%;
    height: 300px;
    min-height: 0;
    max-height: calc(100dvh - 32px);
    overflow-x: hidden;
    overflow-y: auto;
    color: #082d28;
    animation: event-choice-in .18s ease-out;
}
.event-choice-page .student-form-header { display: none; }
.event-choice-page .student-form-close {
    top: 12px; right: 14px;
    background: #eef4f1; border-color: #cbd8d1; color: #123b32;
    font-size: 24px; font-weight: 400;
}
.event-choice-page .form-picker { flex: 1; justify-content: center; }
.event-choice-page .form-picker,
.event-choice-page .event-choice-buttons,
.event-choice-page .event-choice-buttons a {
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
    width: 100%;
}
.event-choice-page .form-picker h1 { font-size: 26px; margin: 0 0 24px; }
.event-choice-buttons { display: grid; gap: 12px; }
.event-choice-buttons a { display: block; text-align: center; text-decoration: none; }
.event-choice-buttons a:hover { background: #004d40; }
.event-choice-buttons a:focus-visible { outline: 3px solid #d5aa25; outline-offset: 3px; }
.event-choice-form label { display: block; font-weight: 700; margin-bottom: 8px; }
.event-choice-form select {
    display: block; width: 100%; background: #fff; color: #15282b;
    border: 1px solid #b3ccc3; border-radius: 10px;
    padding: 13px; font: inherit; margin-bottom: 14px;
}
.event-choice-form select:focus-visible, .event-choice-form button:focus-visible {
    outline: 3px solid #d5aa25; outline-offset: 3px;
}
@keyframes event-choice-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
    .event-choice-page .student-form-card.student-choice-card { animation: none; }
}

@media (max-width: 700px), (hover: none) and (pointer: coarse) {
    .student-forms-page.event-choice-page {
        box-sizing: border-box;
        padding: 12px !important;
    }
    .event-choice-page .student-form-card.student-choice-card {
        width: calc(100vw - 24px) !important;
        max-width: 420px !important;
        margin: auto !important;
        padding-inline: 20px !important;
    }
}
/* Confirmation content must determine card height, including its final button. */
.student-form-card.student-choice-card.student-confirmation-card {
    box-sizing: border-box;
    width: 100%;
    max-width: 780px;
    height: auto;
    min-height: 0;
    padding: 34px 56px 42px;
    border-radius: 30px;
}
.student-confirmation-card .submission-complete { padding: 0; }
.student-confirmation-card .submission-complete .complete-mark { width: 72px; height: 72px; font-size: 38px; margin-bottom: 22px; }
.student-confirmation-card .submission-complete h1 { font-size: 42px; line-height: 1.15; margin-bottom: 24px; }
.student-confirmation-card .submission-complete p { font-size: 22px; line-height: 1.5; margin: 0 0 24px; }
.student-confirmation-card .student-form-header { padding-right: 44px; }
.student-confirmation-card .student-form-header > div { min-width: 0; }
.student-confirmation-card .student-form-header { margin-bottom: 28px; }
.student-confirmation-card .student-form-header img { width: 80px; height: 80px; }
.student-confirmation-card .student-form-header strong { font-size: 27px; }
.student-confirmation-card .student-form-header span { font-size: 19px; }
.student-confirmation-card .student-form-close { width: 50px; height: 50px; right: 20px; top: 20px; font-size: 25px; }
.student-confirmation-card .submission-complete .primary-link,
.student-confirmation-card .submission-complete .secondary-link { min-height: 58px; padding: 16px 26px; font-size: 19px; margin: 10px 6px 0; }
@media (max-width: 600px) {
    .student-form-card.student-choice-card.student-confirmation-card { padding: 28px 22px 32px; border-radius: 22px; }
    .student-confirmation-card .student-form-header img { width: 62px; height: 62px; }
    .student-confirmation-card .student-form-header strong { font-size: 20px; }
    .student-confirmation-card .student-form-header span { font-size: 14px; }
    .student-confirmation-card .submission-complete h1 { font-size: 32px; }
    .student-confirmation-card .submission-complete p { font-size: 17px; }
    .student-confirmation-card .submission-complete .primary-link,
    .student-confirmation-card .submission-complete .secondary-link { min-height: 48px; padding: 13px 18px; font-size: 15px; }
}
.public-sport-field { min-width: 0; }
.public-sport-field>label:first-child { font-size:14px;font-weight:800;margin-bottom:7px; }
.public-sport-controls { display:flex;gap:8px;align-items:center; }
.public-sport-controls select { flex:1;min-width:0; }
.public-sport-controls .public-add-sport{display:grid;place-items:center;flex:0 0 48px;width:48px;height:48px;padding:0;border:0;border-radius:10px;background:#388579;color:#fff;font:800 25px/1 inherit;cursor:pointer}.public-sport-controls .public-add-sport:hover{background:#246d63}.public-sport-controls .public-add-sport:focus-visible{outline:3px solid #a7d8d1;outline-offset:2px}.public-sport-added-note{display:block;margin-top:7px;color:#287f75;font-size:12px;font-weight:700}.public-sport-added-note[hidden]{display:none}
.public-add-sport-dialog{position:fixed;inset:0;margin:auto;box-sizing:border-box;width:min(460px,calc(100vw - 32px));max-width:calc(100vw - 32px);height:fit-content;max-height:calc(100dvh - 32px);padding:24px;border:1px solid #d5e5e4;border-radius:18px;background:#fff;color:#17252a;box-shadow:0 24px 70px rgba(15,23,42,.28)}.public-add-sport-dialog::backdrop{background:rgba(15,23,42,.58)}.public-add-sport-dialog-header{display:flex;align-items:center;gap:16px;margin-bottom:10px}.public-add-sport-dialog-header h2{margin:0;color:#173d38;font-size:23px}.public-add-sport-close{margin-left:auto;width:38px;height:38px;border:1px solid #d5e5e4;border-radius:50%;background:#f2f7f7;color:#193d38;font-size:24px;line-height:1;cursor:pointer}.public-add-sport-dialog>p{color:#5b6d75;font-size:14px;line-height:1.5}.public-add-sport-dialog form{display:grid;gap:9px}.public-add-sport-dialog form>label{font-weight:800}.public-add-sport-dialog input{box-sizing:border-box;width:100%;min-height:48px;padding:10px 12px;border:1px solid #cbd8dd;border-radius:10px;background:#fff;color:#17252a;font:inherit}.public-add-sport-error{margin:0;color:#a32727;font-size:13px;font-weight:700}.public-add-sport-error[hidden]{display:none}.public-add-sport-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:10px}.public-add-sport-actions button{min-height:42px;padding:8px 16px;border:0;border-radius:10px;font:800 14px/1.2 inherit;cursor:pointer}.public-add-sport-cancel{background:#e7eef0;color:#26404a}.public-add-sport-save{background:#388579;color:#fff}.public-add-sport-save:disabled{opacity:.65;cursor:wait}

/* OSA Online Forms: scale the same form layouts up on large/high-resolution
   screens while preserving the compact phone and tablet breakpoints above. */
@media (min-width: 1440px) {
    body.student-forms-page { padding: clamp(28px, 2vw, 64px); }

    body.student-forms-page:not(.event-choice-page) .student-form-card {
        max-width: min(92vw, 1840px);
        padding: clamp(38px, 2.4vw, 72px) clamp(44px, 3.2vw, 92px);
        border-radius: clamp(22px, 1.2vw, 34px);
    }

    body.student-forms-page:not(.event-choice-page) .student-form-header {
        gap: clamp(16px, 1vw, 28px);
        margin-bottom: clamp(26px, 1.6vw, 48px);
    }

    body.student-forms-page:not(.event-choice-page) .student-form-header img {
        width: clamp(62px, 4vw, 100px);
        height: clamp(62px, 4vw, 100px);
    }

    body.student-forms-page:not(.event-choice-page) .student-form-header strong { font-size: clamp(20px, 1.15vw, 30px); }
    body.student-forms-page:not(.event-choice-page) .student-form-header span { font-size: clamp(14px, .8vw, 21px); }
    body.student-forms-page:not(.event-choice-page) :is(.form-title h1, .form-picker h1, .submission-complete h1) { font-size: clamp(32px, 1.8vw, 52px); }
    body.student-forms-page:not(.event-choice-page) :is(.form-title p, .form-picker > p, .submission-complete p) { font-size: clamp(16px, .9vw, 24px); }

    body.student-forms-page:not(.event-choice-page) .public-entry-form,
    body.student-forms-page:not(.event-choice-page) .form-picker { font-size: clamp(16px, .78vw, 21px); }

    body.student-forms-page:not(.event-choice-page) .public-form-grid { gap: clamp(18px, 1.1vw, 32px); }
    body.student-forms-page:not(.event-choice-page) .public-form-grid label > span,
    body.student-forms-page:not(.event-choice-page) .public-sport-field > label:first-child { font-size: clamp(14px, .72vw, 19px); }

    body.student-forms-page:not(.event-choice-page) .public-form-grid :is(input, select, textarea),
    body.student-forms-page:not(.event-choice-page) .public-form-grid textarea {
        min-height: clamp(46px, 2.8vw, 66px);
        padding: clamp(10px, .72vw, 18px) clamp(13px, .85vw, 22px);
        font-size: clamp(15px, .78vw, 21px);
    }

    body.student-forms-page:not(.event-choice-page) .student-form-actions :is(a, button),
    body.student-forms-page:not(.event-choice-page) :is(.primary-link, .secondary-link) {
        min-height: clamp(44px, 2.8vw, 66px);
        padding: clamp(12px, .8vw, 20px) clamp(20px, 1.25vw, 34px);
        font-size: clamp(15px, .78vw, 21px);
    }

    body.student-forms-page.student-picker-page .student-form-card.student-choice-card {
        width: clamp(500px, 38vw, 760px);
        height: clamp(556px, 42vw, 820px);
        max-width: 92vw;
    }

    body.student-forms-page.student-picker-page .student-choice-card .form-choice-grid a {
        min-height: clamp(88px, 6.4vw, 132px);
        padding: clamp(18px, 1.35vw, 32px);
    }

    body.student-forms-page.student-picker-page .student-choice-card .form-choice-grid strong { font-size: clamp(20px, 1.2vw, 30px); }
    body.student-forms-page.student-picker-page .student-choice-card .form-choice-grid span { font-size: clamp(14px, .82vw, 21px); }

    body.student-forms-page.event-choice-page .student-form-card.student-choice-card {
        width: clamp(420px, 32vw, 680px);
        height: clamp(300px, 23vw, 480px);
        padding: clamp(48px, 3vw, 76px) clamp(28px, 2vw, 52px) clamp(28px, 2vw, 52px);
    }

    body.student-forms-page.event-choice-page .form-picker h1 { font-size: clamp(26px, 1.5vw, 40px); }
    body.student-forms-page.event-choice-page .event-choice-buttons { gap: clamp(12px, .8vw, 22px); }
}

/* Keep the submitted confirmation card at the same compact scale as the
   Activity confirmation; the general large-screen form scaling above should
   not enlarge this success screen. */
body.student-forms-page .student-form-card.student-choice-card.student-confirmation-card {
    box-sizing: border-box;
    width: min(520px, calc(100vw - 32px));
    max-width: 520px;
    height: auto;
    min-height: 0;
    padding: 24px 32px 30px;
    border-radius: 24px;
}
body.student-forms-page .student-confirmation-card .student-form-header {
    gap: 10px;
    margin-bottom: 20px;
    padding-right: 36px;
}
body.student-forms-page .student-confirmation-card .student-form-header img { width: 56px; height: 56px; }
body.student-forms-page .student-confirmation-card .student-form-header strong { font-size: 21px; }
body.student-forms-page .student-confirmation-card .student-form-header span { font-size: 15px; }
body.student-forms-page .student-confirmation-card .student-form-close { width: 40px; height: 40px; right: 14px; top: 14px; font-size: 21px; }
body.student-forms-page .student-confirmation-card .submission-complete { padding: 0; }
body.student-forms-page .student-confirmation-card .submission-complete .complete-mark { width: 58px; height: 58px; font-size: 31px; margin-bottom: 16px; }
body.student-forms-page .student-confirmation-card .submission-complete h1 { font-size: 34px; line-height: 1.15; margin-bottom: 16px; }
body.student-forms-page .student-confirmation-card .submission-complete p { font-size: 16px; line-height: 1.5; margin: 0 0 16px; }
body.student-forms-page .student-confirmation-card .submission-complete .primary-link,
body.student-forms-page .student-confirmation-card .submission-complete .secondary-link { min-height: 44px; padding: 12px 18px; font-size: 15px; margin: 6px 4px 0; }
@media (max-width: 600px) {
    body.student-forms-page .student-form-card.student-choice-card.student-confirmation-card { width: 100%; padding: 24px 20px 26px; border-radius: 22px; }
    body.student-forms-page .student-confirmation-card .student-form-header img { width: 50px; height: 50px; }
    body.student-forms-page .student-confirmation-card .student-form-header strong { font-size: 19px; }
    body.student-forms-page .student-confirmation-card .student-form-header span { font-size: 13px; }
    body.student-forms-page .student-confirmation-card .submission-complete h1 { font-size: 28px; }
    body.student-forms-page .student-confirmation-card .submission-complete p { font-size: 15px; }
    body.student-forms-page .student-confirmation-card .submission-complete .primary-link,
    body.student-forms-page .student-confirmation-card .submission-complete .secondary-link { min-height: 48px; padding: 13px 18px; font-size: 15px; }
}

/* Organizer type controls shared by internal and external activity requests. */
.student-forms-page .activity-organizer-fields {
    display: grid;
    gap: 14px 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.student-forms-page .public-form-grid > .activity-organizer-fields.full {
    grid-column: 1 / -1;
}

.student-forms-page .activity-organizer-fields > label {
    margin: 0;
}

.student-forms-page .activity-organizer-name-row {
    display: grid !important;
    grid-column: 1 / -1 !important;
    grid-template-columns: minmax(0, 1fr) max-content !important;
    gap: 18px;
    align-items: end;
    width: 100%;
    min-width: 0;
}
.student-forms-page .activity-organizer-name-row > label {
    display: grid;
    grid-column: 1;
    grid-row: 1;
    gap: 7px;
    margin: 0;
    width: 100%;
    min-width: 0;
}
.student-forms-page .activity-organizer-name-row > label[hidden] {
    display: none !important;
}
.student-forms-page .activity-organizer-name-row > .activity-collaboration-toggle {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    width: max-content !important;
    min-width: 350px;
    min-height: 56px;
    padding: 12px 22px;
    font-size: 18px;
    text-align: center;
}

.student-forms-page .activity-collaboration-toggle,
.student-forms-page .activity-collaboration-add {
    justify-self: start;
    width: auto;
    min-height: 44px;
    padding: 10px 16px;
    border: 0;
    border-radius: 11px;
    background: #3d8d7d;
    color: #fff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}
.student-forms-page .activity-collaboration-toggle {
    grid-column: auto;
    grid-row: auto;
    justify-self: start;
    align-self: end;
    min-height: 40px;
    padding: 8px 12px;
    width: max-content !important;
    max-width: 100%;
    font-size: 13px;
    line-height: 1.2;
    white-space: nowrap;
}
.student-forms-page .activity-collaboration-add[hidden] {
    display: none !important;
}
.student-forms-page .activity-collaboration-field {
    grid-column: 1 / -1;
    min-width: 0;
    padding-top: 4px;
}
.student-forms-page .activity-collaboration-field > strong {
    display: block;
    margin-bottom: 10px;
}
.student-forms-page .activity-collaboration-rows { display: grid; gap: 12px; }
.student-forms-page .activity-collaboration-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 46px;
    gap: 10px;
    align-items: start;
    min-width: 0;
    padding: 12px;
    border: 1px solid #d7e2e5;
    border-radius: 12px;
    background: #f8fbfb;
}
.student-forms-page .activity-collaboration-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
}
.student-forms-page .activity-collaboration-fields > label:first-child {
    display: grid;
    gap: 7px;
    margin: 0;
    width: 100%;
}
.student-forms-page .activity-collaboration-detail-row {
    display: contents;
}
.student-forms-page .activity-collaboration-detail-row > label {
    display: grid;
    gap: 7px;
    margin: 0;
    min-width: 0;
}
.student-forms-page .activity-collaboration-detail-row > label[hidden] {
    display: none !important;
}
.student-forms-page [data-collaboration-department] {
    grid-column: 2;
    grid-row: 1;
}
.student-forms-page [data-collaboration-name] {
    grid-column: 2;
    grid-row: 1;
}
.student-forms-page [data-collaboration-institution] {
    grid-column: 2;
    grid-row: 1;
}
.student-forms-page .activity-collaboration-add {
    grid-column: 2;
    align-self: end;
    justify-self: end;
    min-height: 40px;
    margin-top: 0;
    padding: 8px 12px;
    white-space: nowrap;
}
.student-forms-page .activity-collaboration-remove {
    grid-column: 2;
    grid-row: 1;
    justify-self: stretch;
    align-self: center;
    transform: translateY(22px);
    width: 46px;
    min-width: 46px;
    min-height: 44px;
    height: 44px !important;
    padding: 0 !important;
    border: 0;
    border-radius: 10px;
    background: #fee2e2;
    color: #b42318;
    font: 900 24px/1 inherit;
    cursor: pointer;
}
.student-forms-page .activity-collaboration-add { margin-top: 0; }

@media (max-width: 700px) {
    .student-forms-page .activity-organizer-fields {
        grid-template-columns: 1fr;
    }
    .student-forms-page .activity-organizer-name-row {
        grid-template-columns: minmax(0, 1fr) !important;
    }
    .student-forms-page .activity-collaboration-toggle {
        grid-column: 1 !important;
        grid-row: auto;
        justify-self: start;
        width: 100% !important;
        min-width: 0;
        min-height: 48px;
        padding: 10px 14px;
        font-size: 15px;
        white-space: normal;
    }
    .student-forms-page .activity-collaboration-fields { grid-template-columns: 1fr; }
    .student-forms-page .activity-collaboration-fields > label:first-child { width: 100%; }
    .student-forms-page [data-collaboration-department],
    .student-forms-page [data-collaboration-name],
    .student-forms-page [data-collaboration-institution] { grid-column: 1; grid-row: auto; }
    .student-forms-page .activity-collaboration-row {
        grid-template-columns: minmax(0, 1fr) 44px;
        padding: 10px;
    }
    .student-forms-page .activity-collaboration-fields {
        grid-column: 1;
        grid-row: 1;
    }
    .student-forms-page .activity-collaboration-add {
        grid-column: 1;
        grid-row: auto;
        justify-self: stretch;
        width: 100%;
        white-space: normal;
    }
    .student-forms-page .activity-collaboration-remove {
        grid-column: 2;
        grid-row: 1;
        width: 44px;
        min-width: 44px;
    }
    .student-forms-page .activity-collaboration-toggle,
    .student-forms-page .activity-collaboration-add { width: 100%; }
}

/* Keep the submitted sport and activity PDF download links visually
   responsive to pointer and keyboard interaction. */
.student-forms-page .submission-complete .sport-form-download,
.sport-submission-dialog .sport-form-download {
    transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.student-forms-page .submission-complete .sport-form-download:hover,
.student-forms-page .submission-complete .sport-form-download:focus-visible,
.sport-submission-dialog .sport-form-download:hover,
.sport-submission-dialog .sport-form-download:focus-visible {
    background: #1f675f;
    box-shadow: 0 6px 16px rgba(31, 103, 95, .2);
    outline: 2px solid #8bd0c1;
    outline-offset: 3px;
    transform: translateY(-1px);
}

.student-forms-page .submission-complete .sport-form-download:active,
.sport-submission-dialog .sport-form-download:active {
    transform: translateY(0);
}

.student-forms-page .post-activity-overdue-alert {
    margin: 0 0 14px;
    padding: 12px 14px;
    border: 1px solid #fecaca;
    border-left: 4px solid #dc2626;
    border-radius: 12px;
    background: #fff1f2;
    color: #7f1d1d;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
}

/* Keep the public post-activity page centered and make its two upload controls
   easy to use on narrow phone screens. */
body.student-forms-page.post-activity-page {
    align-items: center;
    display: flex;
    justify-content: center;
}

.post-activity-page .student-form-card {
    width: min(100%, 1050px);
}

.post-activity-upload-form {
    display: grid;
    gap: 14px;
    margin-top: 18px;
    width: 100%;
}

.post-activity-upload-form > label {
    display: grid;
    gap: 7px;
    min-width: 0;
}

.post-activity-upload-form > label > span {
    font-size: 15px;
    font-weight: 800;
}

.post-activity-upload-form select,
.post-activity-upload-form input[type="file"] {
    box-sizing: border-box;
    display: block;
    min-height: 44px;
    padding: 9px 12px;
    width: 100%;
}

.post-activity-upload-form small {
    color: #64757c;
    font-size: 13px;
    line-height: 1.45;
}

@media (max-width: 700px) {
    body.student-forms-page.post-activity-page {
        min-height: 100dvh;
        padding: 16px;
    }

    .post-activity-page .student-form-card {
        padding: 24px 20px 28px;
    }

    .post-activity-upload-form select,
    .post-activity-upload-form input[type="file"] {
        font-size: 16px;
    }
}

.student-forms-page .post-activity-overdue-alert strong {
    font-weight: 800;
}

.student-forms-page .post-activity-saved-file {
    display: block;
    margin-top: 4px;
    color: #287f74;
    font-size: .9em;
    overflow-wrap: anywhere;
}

.student-forms-page .post-activity-upload-state {
    margin: 10px 0 0;
    padding: 10px 12px;
    border: 1px dashed #9bc8c0;
    border-radius: 10px;
    background: #f2faf7;
    color: #285e55;
    font-size: 14px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.post-activity-attachment-queue {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}

.post-activity-queued-card {
    align-items: center;
    background: #fff;
    border: 1px solid #cfe0dc;
    border-radius: 12px;
    display: grid;
    gap: 8px 12px;
    grid-template-columns: 58px minmax(0, 1fr) auto;
    min-width: 0;
    padding: 10px;
}

.post-activity-queued-card > strong,
.post-activity-queued-filename {
    grid-column: 2;
    overflow-wrap: anywhere;
}

.post-activity-queued-card > strong {
    color: #193d38;
    font-size: 14px;
}

.post-activity-queued-filename {
    color: #64757c;
    font-size: 13px;
}

.post-activity-queued-preview {
    display: block;
    height: 54px !important;
    object-fit: cover;
    width: 58px !important;
}

.post-activity-queued-card > .post-activity-queued-preview-trigger {
    align-items: center;
    background: #f2f7f6;
    border: 0;
    border-radius: 8px;
    cursor: zoom-in;
    display: flex;
    grid-column: 1;
    grid-row: 1 / span 2;
    height: 54px !important;
    overflow: hidden;
    justify-content: center;
    margin: 0;
    min-height: 54px !important;
    min-width: 58px !important;
    padding: 0 !important;
    width: 58px !important;
}

.post-activity-queued-card > .post-activity-queued-document-trigger {
    background: #eef6f4;
    color: #287f75;
    font-size: 12px;
    font-weight: 800;
}

.post-activity-queued-card .post-activity-queued-file[hidden] {
    display: none !important;
}

.post-activity-queued-remove {
    background: #e7f0ed;
    border: 0;
    border-radius: 8px;
    color: #285e55;
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    grid-column: 3;
    grid-row: 1 / span 2;
    padding: 9px 11px;
}

.post-activity-submit-btn {
    background: #287f75;
    border: 0;
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 800;
    justify-self: end;
    min-height: 46px;
    padding: 11px 20px;
}

.post-activity-submit-btn:disabled {
    cursor: not-allowed;
    opacity: .55;
}

@media (max-width: 700px) {
    .post-activity-submit-btn {
        justify-self: stretch;
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .student-forms-page .submission-complete .sport-form-download,
    .sport-submission-dialog .sport-form-download {
        transition: none;
    }
}
