:root{font-family:Manrope,Inter,system-ui,sans-serif;color:#edf4ff;background:#080d19}*{box-sizing:border-box}body{margin:0}main{max-width:1080px;margin:auto;padding:0 1.5rem 3rem}h2,h3{margin-top:0}.boundary{max-width:780px;color:#aebbd1;line-height:1.6}.panel{position:relative;background:rgba(16,24,43,.86);border:1px solid rgba(126,155,207,.25);border-radius:20px;padding:clamp(1rem,3vw,1.6rem);margin:1.2rem 0;box-shadow:0 24px 80px rgba(0,0,0,.2)}.identity,.actions{display:flex;align-items:center;justify-content:space-between;gap:1rem}.identity{border-left:3px solid #66e3ff}form{display:grid;gap:.8rem}label{display:grid;gap:.4rem;margin:.55rem 0;color:#d8e2f2;font-weight:600}label small,#totp-help{color:#8fa0ba;font-weight:400}input,select,button{font:inherit;border-radius:10px;padding:.72rem .8rem}input,select{background:#090f1e;color:#fff;border:1px solid #465675;width:100%;outline:none}input:focus,select:focus{border-color:#66e3ff;box-shadow:0 0 0 3px rgba(102,227,255,.12)}button{background:linear-gradient(135deg,#66e3ff,#91ddff);color:#07101b;border:0;font-weight:800;cursor:pointer}button:hover:not(:disabled){filter:brightness(1.08)}button:disabled{opacity:.42;cursor:not-allowed}.password-control{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.5rem;align-items:center}.password-toggle{min-width:7.4rem;background:#17243a;color:#dff8ff;border:1px solid #465675}.field-error{display:block;color:#ffb3bd;font-weight:600}.field-error[hidden]{display:none}input[aria-invalid="true"]{border-color:#ff8093;box-shadow:0 0 0 3px rgba(255,128,147,.12)}.actions{justify-content:flex-start;flex-wrap:wrap}.phase,.row,.change{border:1px solid rgba(126,155,207,.25);border-radius:12px;padding:.85rem;margin:.55rem 0}.phase{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:.7rem}.phase legend{font-weight:800;color:#66e3ff}.small{font-size:.85rem;color:#aebbd1}#status{min-height:1.5rem;color:#ffd89a;white-space:pre-wrap;padding:.25rem .1rem}#status.ok{color:#91edbb}#diff{max-height:25rem;overflow:auto}.change code{overflow-wrap:anywhere}.change pre{white-space:pre-wrap}.row{display:flex;justify-content:space-between;gap:.7rem;flex-wrap:wrap;align-items:center}#retry-box{border-color:#ffd89a}@media(max-width:600px){.identity{align-items:flex-start;flex-direction:column}.panel{border-radius:15px}main{padding-inline:1rem}.password-control{grid-template-columns:1fr}.password-toggle{width:100%}}
.uat-editor-sticky{position:sticky;top:var(--workspace-header-height,80px);z-index:30;margin:.8rem 0;padding:.8rem;background:rgba(8,13,25,.96);border:1px solid rgba(126,155,207,.35);border-radius:12px;box-shadow:0 10px 32px rgba(0,0,0,.32)}
.uat-infrastructure-card{margin:1rem 0;border:1px solid rgba(126,155,207,.25);border-radius:12px;background:rgba(9,15,30,.36);overflow:clip}.uat-infrastructure-card>summary{cursor:pointer;padding:1rem 1.1rem;line-height:1.45;overflow-wrap:anywhere}.uat-infrastructure-card>.uat-infrastructure-profile{margin:0;border:0;border-top:1px solid rgba(126,155,207,.2);border-radius:0}.uat-infrastructure-profile{gap:.45rem!important;position:relative}.uat-infrastructure-profile label{margin:.25rem 0}.uat-infrastructure-profile h3{margin-bottom:.25rem;padding-right:6rem}.uat-infrastructure-profile .help{margin:.25rem 0;font-size:.85rem}.infrastructure-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem}.infrastructure-advanced,.infrastructure-tournament-messages{padding:.65rem;border:1px solid #465675;border-radius:8px}.infrastructure-advanced summary{cursor:pointer;color:#aebbd1}.infrastructure-tournament-messages{margin:.6rem 0;background:rgba(8,13,25,.55)}.infrastructure-tournament-messages h4{margin:.1rem 0 .5rem}.infrastructure-tournament-messages textarea{min-height:9rem}.infrastructure-remove{position:absolute;right:1rem;top:.75rem;font-size:.85rem;background:#293147;color:#ffbbc2;padding:.5rem .65rem}.infrastructure-panel>.actions button{font-size:.9rem;padding:.55rem .8rem}@media(max-width:650px){.infrastructure-grid{grid-template-columns:1fr}}
.editor-section{display:block;width:100%;min-width:0;border:1px solid rgba(126,155,207,.25);border-radius:12px;margin:0 0 1rem;background:rgba(9,15,30,.45)}.editor-section>summary{cursor:pointer;padding:1rem 1.2rem;font-size:1.05rem}.editor-section-summary,.phase-summary{display:block;margin:.45rem 0 0 1.25rem;color:#aebbd1;font-size:.78rem;font-weight:500;line-height:1.5;white-space:pre-line;overflow-wrap:anywhere}.status-valid{color:#91edbb}.status-error{color:#ffb3bd}.status-incomplete{color:#ffd89a}.status-neutral{color:#aebbd1}.editor-section>*:not(summary){margin-inline:1rem}.phase-accordion{margin:.7rem 0 .7rem 1rem;border-left:2px solid rgba(102,227,255,.18);padding-left:.8rem}.phase-accordion>summary{cursor:pointer;padding:.65rem 0}.phase-accordion>.phase{display:block}.phase-toggle-row{display:flex;justify-content:center;margin:.1rem auto .8rem}.phase-toggle-row label,.admission-nominations label{display:flex;align-items:center;gap:.5rem;width:auto;margin:.2rem 0}.phase-toggle-row input[type="checkbox"],.admission-nominations input[type="checkbox"]{width:1rem;height:1rem;min-width:1rem;margin:0}.schedule-windows{display:grid;grid-template-columns:1fr;gap:.8rem}.schedule-window{min-width:0;padding:.75rem;background:rgba(8,13,25,.55);border:1px solid rgba(126,155,207,.18);border-radius:10px}.schedule-window h3{margin:0 0 .55rem}.schedule-fields{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(7.5rem,.8fr);gap:.65rem}.schedule-fields label{min-width:0;margin:0}.schedule-fields input{min-width:0;cursor:pointer}.schedule-fields input[type="date"],.schedule-fields input[type="time"]{color-scheme:dark}.schedule-fields input[type="date"]::-webkit-calendar-picker-indicator,.schedule-fields input[type="time"]::-webkit-calendar-picker-indicator{opacity:1;cursor:pointer}.admission-row{display:grid;grid-template-columns:minmax(14rem,1fr) minmax(14rem,1fr);gap:1rem;align-items:start}.admission-nominations{display:grid;grid-template-columns:repeat(auto-fit,minmax(13rem,1fr));gap:.35rem .8rem;width:100%;min-width:0}.editor-errors{color:#ffb3bd;font-weight:600}textarea{font:inherit;border-radius:10px;padding:.72rem .8rem;background:#090f1e;color:#fff;border:1px solid #465675;width:100%;min-height:7rem;resize:vertical}textarea:focus{border-color:#66e3ff;box-shadow:0 0 0 3px rgba(102,227,255,.12);outline:none}@media(max-width:700px){.schedule-fields,.admission-row{grid-template-columns:1fr}.phase-accordion{margin-left:.35rem;padding-left:.5rem}.editor-section>*:not(summary){margin-inline:.55rem}}
.infrastructure-panel{margin:1.2rem 0;padding:1rem;border:1px solid rgba(102,227,255,.28);border-radius:14px;background:rgba(8,13,25,.45)}.uat-infrastructure-profile{padding:1rem;margin:1rem 0;border:1px solid rgba(126,155,207,.25);border-radius:12px}.uat-infrastructure-profile .check{display:flex;align-items:center;gap:.55rem}.uat-infrastructure-profile .check input{width:1rem;min-width:1rem}.infrastructure-panel pre{max-height:28rem;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;background:#090f1e;padding:.85rem;border-radius:10px}
.publication-panel,.published-card{margin:1.2rem 0;padding:1rem;border:1px solid rgba(145,237,187,.28);border-radius:14px;background:rgba(8,13,25,.45)}.publication-panel pre,.published-card pre{max-height:30rem;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;background:#090f1e;padding:.85rem;border-radius:10px}.published-card{border-left:3px solid #91edbb}.publication-panel>.help,.published-card>.help{color:#aebbd1;line-height:1.5}.published-link{display:inline-block;margin:.25rem 0 .8rem;color:#66e3ff;font-weight:700}

/* Partner cards: controls size to content, never to the height of adjacent groups. */
.partner-program-card{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:1rem;font-size:.9rem;line-height:1.45}
.partner-program-card>*,.partner-program-card fieldset{min-width:0}
.partner-program-card fieldset{border:1px solid #33415b;border-radius:10px;padding:.8rem;margin:0;display:grid;gap:.55rem;align-content:start}
.partner-program-card legend{font-size:.9rem;font-weight:600;line-height:1.4;padding:0 .3rem}
.partner-program-card label{font-size:.875rem;font-weight:500;align-content:start;gap:.4rem;margin:.3rem 0}
.partner-program-card input,.partner-program-card select{min-width:0;font-size:.875rem;padding:.6rem .7rem}
.partner-program-card label:has(>input[type="checkbox"]){display:flex;align-items:center;justify-content:flex-start;gap:.55rem}
.partner-program-card input[type="checkbox"]{appearance:auto;flex:0 0 1rem;width:1rem;height:1rem;min-width:1rem;min-height:1rem;padding:0;margin:0;align-self:center;accent-color:#66e3ff}
.partner-program-card input[type="datetime-local"]{color-scheme:dark}
.partner-program-card .small,.partner-program-card .help{font-size:.8rem;line-height:1.5;font-weight:400;color:#aebbd1;margin:.3rem 0}
@media(max-width:700px){.partner-program-card{grid-template-columns:minmax(0,1fr)}}
.partner-assignment-board{grid-column:1/-1}.partner-assignment-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem}.partner-assignment-zone{display:flex;flex-wrap:wrap;align-content:flex-start;gap:.5rem;min-height:5rem;padding:.7rem;border:1px dashed #465675;border-radius:10px}.partner-assignment-zone>strong{flex-basis:100%;font-size:.8rem;font-weight:500;color:#aebbd1}.partner-assignment-tile{font-size:.82rem!important;padding:.5rem .65rem!important;text-align:left;cursor:grab}.partner-assignment-tile[data-assigned="false"]{background:#18243b;color:#e0e9fa;border:1px solid #465675}.preview-action{padding:.7rem .9rem;border:1px solid #66e3ff;border-radius:10px;text-decoration:none;font-size:.9rem}.uat-editor-sticky #draft-save-status{flex:1;min-width:12rem;font-size:.82rem;line-height:1.4;font-weight:400}
