.auto-schedule-block{padding:16px;border:1px solid #dbe5f9;background:#f7f9ff;border-radius:18px;margin-bottom:18px}
.auto-schedule-header{display:flex;gap:12px;align-items:start;justify-content:space-between;margin-bottom:12px}
.auto-schedule-header strong{color:#253957;font-size:16px}
.auto-schedule-header p{color:#65748d;font-size:13px;margin:5px 0 0;line-height:1.5}
.auto-official-tag{border-radius:9px;background:#e5ebff;color:#495bbf;font-weight:700;font-size:11px;padding:5px 8px;white-space:nowrap}
.auto-row{display:grid;grid-template-columns:minmax(0,1fr) 110px;gap:10px;margin-bottom:10px}
.auto-row label{display:grid;gap:5px;font-size:12px;font-weight:700;color:#4b5d77}
.auto-row .field-input{width:100%;min-width:0;box-sizing:border-box}
#autoStatus{min-height:22px;line-height:1.5}
.auto-round{padding:14px;border:1px solid #dce5f6;border-radius:14px;background:#fff;margin:10px 0}
.auto-round.chosen{border:2px solid #5266e8;background:#f5f7ff}
.auto-round>strong{display:block;margin-bottom:9px;color:#243752}
.auto-round button{min-height:42px;width:100%;margin-top:10px}
.auto-detail-line{display:flex;align-items:start;justify-content:space-between;gap:12px;border-bottom:1px solid #e9eef8;padding:7px 0;font-size:12px}
.auto-detail-line strong{text-align:right;color:#394761;overflow-wrap:anywhere}
@media(max-width:390px){.auto-schedule-block{padding:12px}.auto-official-tag{white-space:normal;font-size:10px}}
/* Two-step registration: short round selection, then compact details. */
.cert-stage-rounds[hidden],.cert-stage-details[hidden]{display:none!important}
.cert-step-indicator{display:block;font-size:12px;color:#5165d5;font-weight:800;margin:0 0 9px}
.auto-schedule-block.cert-stage-rounds{padding:16px;margin:0;border-radius:16px}
.cert-stage-rounds .auto-schedule-header p{font-size:12px}
.cert-stage-rounds .auto-round{padding:13px;margin-top:8px}
.cert-stage-rounds .auto-detail-line{font-size:12px}
.cert-stage-rounds .auto-round button{min-height:46px;margin-top:10px}
.cert-stage-rounds .auto-official-tag{display:none}
.cert-stage-details{display:grid;gap:14px;min-width:0}
.cert-step-head{display:grid;gap:4px}
.cert-step-head strong{color:#223856;font-size:17px;line-height:1.5;overflow-wrap:anywhere}
.cert-step-head p{color:#708199;font-size:12px;margin:0}
.cert-back{border:0;background:transparent;padding:10px 0 5px;font-size:12px;font-weight:800;color:#5368d9;text-align:left}
.cert-step-head .cert-back{justify-self:start}
.cert-date-summary{border:1px solid #e1e8f4;border-radius:13px;background:#f8faff;padding:8px 13px}
.cert-date-line{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:7px 0;font-size:12px}
.cert-date-line+.cert-date-line{border-top:1px solid #e9edf8}
.cert-date-line span{color:#78869a}
.cert-date-line strong{color:#2f4261;text-align:right;overflow-wrap:anywhere}
.cert-date-editor{border:1px solid #e3e8f3;border-radius:12px;padding:13px;min-width:0}
.cert-date-editor summary{cursor:pointer;color:#435676;font-weight:800;font-size:13px}
.cert-date-editor summary span{font-size:11px;color:#95a0b1;font-weight:500}
.cert-date-editor[open]{display:grid;gap:13px}
.cert-stage-details>.form-actions{position:sticky;bottom:-26px;padding:13px 0 0;background:#fff;border-top:1px solid #e9edf6;margin:0;z-index:2}
@media(max-width:760px){
 .modal:has(.cert-stage-rounds){max-height:calc(100dvh - 32px)}
 .cert-stage-rounds.auto-schedule-block{padding:12px}
 .cert-stage-details>.form-actions{bottom:-21px}
}

/* Auto-filled qualification identity remains in form data, but no redundant edit fields. */
.cert-stage-details [hidden]{display:none!important}
