:root{--event-soft:#fceaf3;--event-pink:#a32862;--event-pink-light:#fce8f4;--event-ink:#351439;--event-artwork:linear-gradient(rgba(252,234,243,.90),rgba(252,234,243,.90)),url("/cu69-poster-branded.svg")}
/* Only registration and ticket recovery use this shared compact design. */
body:has(#registration:not([hidden]),#recovery:not([hidden])){background:#fceaf3;min-height:100dvh}
main:has(#registration:not([hidden]),#recovery:not([hidden])){max-width:540px;margin:12px auto 24px;background:#fceaf3}
main:has(#registration:not([hidden]),#recovery:not([hidden]))>header{padding:10px 16px}
main:has(#registration:not([hidden]),#recovery:not([hidden]))>header h1{font-size:20px;line-height:1.35;color:#fff}
main:has(#registration:not([hidden]),#recovery:not([hidden]))>.content{padding:12px 16px 16px}
:is(#registration,#recovery) h2{font-size:18px;line-height:1.35;margin:0 0 6px}
:is(#registration,#recovery) p.muted{font-size:14px;line-height:1.45;margin:0 0 8px}
:is(#registration,#recovery) label{font-size:14px;line-height:1.35;margin:5px 0 3px}
:is(#registration,#recovery) input:not([type=checkbox]),#registration select{font-size:16px;line-height:1.25;padding:7px 9px;min-height:36px;background:#fff;border-color:#ad82a5;min-width:0}
#reg-faculty-field{grid-column:1/-1;min-width:0}
#registration #reg-faculty{min-height:44px;max-width:100%}
#reg-faculty-other-field{margin-top:8px}
.compact-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 10px}
.compact-field:last-child{grid-column:1/-1}
#registration .option{gap:8px;font-weight:500;font-size:14px;line-height:1.4;min-height:44px;margin:8px 0}
#reg-pdpa{flex:0 0 20px;width:20px;height:20px;margin:0;accent-color:#742c80}
:is(#registration,#recovery) .actions{display:flex;flex-direction:column;gap:6px;margin:10px 0 0}
:is(#registration,#recovery) .actions button{flex:0 0 auto;width:100%;min-height:40px;padding:8px 10px;font-size:14px;line-height:1.4}
:is(#registration,#recovery) .secondary{background:#fff7}
:is(#registration,#recovery) .status{margin:8px 0 0;padding:10px;font-size:14px;overflow-wrap:anywhere}
.required-mark{color:#b42336}
#recovery .lookup-required-note{font-size:14px;line-height:1.4;margin:0 0 8px;color:#742c80}
#recovery input{max-width:100%}
@media(max-width:550px){
 main:has(#registration:not([hidden]),#recovery:not([hidden])){width:100%;margin:0;border-radius:0;box-shadow:none}
 main:has(#registration:not([hidden]),#recovery:not([hidden]))>header{padding:10px max(14px,env(safe-area-inset-right)) 10px max(14px,env(safe-area-inset-left))}
 main:has(#registration:not([hidden]),#recovery:not([hidden]))>.content{padding:12px max(14px,env(safe-area-inset-right)) max(14px,env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left))}
}
@media(max-width:359px){.compact-fields{grid-template-columns:minmax(0,1fr)}}

body.keyboard-open:has(#registration:not([hidden]),#recovery:not([hidden])){padding-bottom:env(safe-area-inset-bottom,0px)}

/* Soft original event artwork behind both compact forms. */
main:has(#registration:not([hidden]),#recovery:not([hidden]))>.content{background-image:var(--event-artwork);background-size:cover;background-position:center;background-repeat:no-repeat}

/* Match the approved soft event background in the ticket/shirt purchase form,
   without changing its layout, fields, validation, or checkout behavior. */
body:has(#purchase:not([hidden])){background:#fceaf3;min-height:100dvh}
main:has(#purchase:not([hidden])){background:#fceaf3}
main:has(#purchase:not([hidden]))>.content{background-image:var(--event-artwork);background-size:cover;background-position:center;background-repeat:no-repeat}

body:has(#registration-choice:not([hidden])){background:var(--event-soft);min-height:100dvh}
main:has(#registration-choice:not([hidden])){max-width:540px;margin:12px auto 24px;background:var(--event-soft)}
main:has(#registration-choice:not([hidden]))>.content{background-image:var(--event-artwork);background-size:cover;background-position:center;background-repeat:no-repeat;padding:20px}
#registration-choice h2{margin:0 0 4px;font-size:22px}
#registration-choice>.muted{font-size:15px;line-height:1.6;margin:0 0 16px}
.registration-options{display:grid;gap:14px;margin:18px 0}
#registration-choice .registration-option{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:6px;width:100%;min-height:108px;padding:18px 20px;border:2px solid var(--event-pink);border-radius:12px;text-align:left;text-decoration:none;line-height:1.5;white-space:normal;overflow-wrap:anywhere}
.registration-option-title{font-size:18px;font-weight:700}.registration-option-description{font-size:14px;font-weight:400}
#registration-choice .registration-option-event{background:#b54b80;border-color:#b54b80;color:#fff}
#registration-choice .registration-option-alumni{background:#fff2f9;border-color:#d7a9c4;color:var(--event-ink)}
#registration-choice .registration-option:hover{box-shadow:0 3px 12px #37102e30}
#registration-choice .registration-option:focus-visible{outline:3px solid var(--event-pink);outline-offset:4px}
#registration-choice .actions button{width:100%;min-height:44px}
@media(max-width:550px){main:has(#registration-choice:not([hidden])){width:100%;margin:0;border-radius:0;box-shadow:none}main:has(#registration-choice:not([hidden]))>.content{padding:18px max(16px,env(safe-area-inset-right)) max(70px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left))}}

/* Alumni notice/menu styling is scoped in alumni-registration.css. */
#registration-choice-back{background:#742c80;color:#fff;border-color:#742c80}
#alumni-resume{display:block;width:100%;margin:14px 0 0;padding:12px 16px;border:2px solid var(--event-pink);border-radius:10px;background:var(--event-pink-light);color:var(--event-pink);font-weight:700}

#registration>.post-event-registration-notice{font-weight:800;color:#351439;background:#fce8f4;border-left:4px solid #742c80;padding:12px;border-radius:8px;line-height:1.65}.shirt-order-status{background:#fff7fc}.shirt-order-status h3{overflow-wrap:anywhere}.shirt-status-ok{font-weight:750;color:#165e33}.shirt-status-pending,.shirt-fulfillment-status{font-weight:750}

.shirt-receipt-dialog{width:calc(100% - 24px);max-width:560px;max-height:92dvh;overflow:auto;border:0;border-radius:14px;padding:18px;background:#fff7fc;color:#27152b}.shirt-receipt-dialog::backdrop{background:rgba(35,15,40,.7)}.shirt-receipt-dialog img{width:100%;height:auto;display:block;margin:12px 0;-webkit-touch-callout:default}.shirt-receipt-dialog button,.shirt-receipt-dialog .btn{margin:6px 4px}.shirt-order-status details{font-size:.85em;color:#6d566f;overflow-wrap:anywhere}
