/* Layout only. Buttons, fields, colors and corners come from shared admin components. */
.edu-profile-panel{display:flex;flex-direction:column;gap:12px}
.edu-profile-panel h2,.edu-profile-panel p,.edu-profile-current p{margin:0}
.edu-profile-panel__row{display:flex;align-items:end;flex-wrap:wrap;gap:12px}
.edu-profile-panel__row>label{flex:1 1 240px;min-width:0}
.edu-profile-panel__row>.edu-admin__actions{margin:0;display:flex;flex-wrap:wrap;gap:8px}
.edu-profile-panel__status{font-size:14px;line-height:1.4;color:var(--ev-muted)}
.edu-profile-panel__status[data-state=dirty],.edu-profile-panel__status[data-state=error]{color:var(--ev-text);font-weight:600}
.edu-profile-current{display:flex;flex-direction:column;gap:4px;min-width:0;margin-top:12px;font-size:14px;line-height:1.4}
.edu-profile-current__name{font-weight:600}
.edu-profile-current>.edu-admin__actions{margin:8px 0 0}
.edu-profile-advanced>summary,.edu-profile-backup>summary{cursor:pointer;padding:8px 0;font-weight:600}
.edu-profile-advanced[open]>.edu-profile-panel__row,.edu-profile-backup[open]>.edu-profile-panel__row{margin-top:12px}
.edu-profile-backup{margin-top:12px}
.edu-profile-panel [hidden],.edu-profile-current [hidden],.edu-profile-current[hidden]{display:none!important}
#edu-profile-save{scroll-margin-top:24px}

/* Both save destinations share one global action appearance, including legacy app controls. */
.ev-admin :is(button,a).edu-admin__button[data-edu-output-action]{display:inline-flex!important;align-items:center;justify-content:center;gap:8px;box-sizing:border-box;min-height:var(--edu-admin-control-height)!important;padding:10px 14px!important;border:0!important;border-radius:var(--edu-admin-control-radius)!important;background:var(--edu-admin-primary)!important;color:var(--edu-admin-primary-text)!important;font:700 13px var(--edu-admin-font)!important;box-shadow:none!important;cursor:pointer;text-decoration:none!important;line-height:1.25!important;text-align:center;white-space:normal;margin:0!important}
.ev-admin button.edu-admin__button[data-edu-save]:disabled{opacity:.55;cursor:not-allowed}


/* Profile selection is a compact secondary action with room on both sides. */
.edu-profile-current{gap:12px;margin-block:24px}
.edu-profile-current>.edu-admin__button{align-self:flex-start;flex:none;width:fit-content;max-width:100%;margin-block:4px;white-space:normal}
.edu-profile-current>.edu-admin__actions{margin-top:0}
.edu-profile-current>.edu-admin__actions:not(:has(:not([hidden]))){display:none}

.ev-admin :is(button,a).edu-admin__button[data-edu-output-action=secondary]{background:var(--edu-admin-secondary)!important;color:var(--edu-admin-secondary-text)!important}

.edu-profile-change-status{margin:0;font-size:14px;line-height:1.5;color:var(--ev-muted)}.edu-profile-change-status[data-state=dirty],.edu-profile-change-status[data-state=error]{color:var(--ev-text);font-weight:650}

/* The selected school profile is a form block, not an output action. */
.edu-profile-panel{display:grid;gap:20px;margin-block:20px}
#configurations>input{max-width:520px;width:100%;box-sizing:border-box}
#configurations>label{display:flex;align-items:center;gap:12px}
#configurations>div:last-child{display:flex;flex-wrap:wrap;gap:12px}
.edu-upload-results{display:grid;gap:12px;margin-block:12px 0;padding-inline-start:24px}
