/* Admin-only Student Hub change intake form */
.c2d-hub-sidebar-section button.c2d-hub-suggest-link{display:block;width:100%;margin-top:5px;padding:10px 12px;background:#eaf4f7;color:#0d607c;border:1px solid #bed9e1;border-radius:8px;font-family:inherit;font-weight:700;font-size:13px;text-align:center;cursor:pointer}
.c2d-hub-sidebar-section button.c2d-hub-suggest-link:hover{background:#d9edf2}
.c2d-hub-change-dialog{position:fixed;inset:0;margin:auto;box-sizing:border-box;width:calc(100vw - 28px);max-width:620px;max-height:calc(100vh - 28px);overflow:auto;border:1px solid #dbe3ea;border-radius:14px;background:#fff;color:#1f2937;box-shadow:0 20px 65px rgba(15,23,42,.2)}
.c2d-hub-change-dialog::backdrop{background:rgba(15,23,42,.46)}
.c2d-hub-change-dialog form{display:flex;flex-direction:column;gap:12px;padding:clamp(20px,4vw,30px)}
.c2d-hub-change-dialog .c2d-hub-change-top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.c2d-hub-change-dialog .c2d-hub-change-top h2{font-size:24px!important;line-height:1.2;margin:4px 0 0!important;color:#111827}
.c2d-hub-change-dialog small{font-size:12px;line-height:1.4;color:#64748b}
.c2d-hub-change-dialog p{margin:0!important;color:#475569;font-size:14px}
.c2d-hub-change-dialog label{font-size:14px;font-weight:700}
.c2d-hub-change-dialog textarea,.c2d-hub-change-dialog input[type=url]{box-sizing:border-box;width:100%;display:block;padding:12px;border:1px solid #cbd5e1;border-radius:9px;color:#1e293b;background:#fff;font-size:14px;font-family:inherit}
.c2d-hub-change-dialog textarea{min-height:132px;resize:vertical}
.c2d-hub-change-dialog :is(input,textarea):focus{outline:2px solid #60a5fa;outline-offset:1px}
.c2d-hub-change-dialog .c2d-hub-change-submit{align-self:center;min-width:190px;background:#11627b;color:#fff;border:0;border-radius:9px;padding:11px 20px;font-weight:700;font-size:14px;cursor:pointer}
.c2d-hub-change-dialog .c2d-hub-change-submit:disabled{opacity:.55;cursor:wait}
.c2d-hub-change-dialog .c2d-hub-change-close{background:transparent;border:0;color:#64748b;font-size:26px;line-height:1;cursor:pointer}
.c2d-hub-change-dialog p.c2d-hub-change-feedback{min-height:18px;text-align:center;font-size:13px}
.c2d-hub-change-dialog p.c2d-hub-change-feedback.is-error{color:#b42318}
.c2d-hub-change-dialog p.c2d-hub-change-feedback.is-success{color:#146c41}

/* Native dialog is added directly to document.body by the admin-only script. */
.c2d-hub-change-dialog:not([open]){display:none!important}
.c2d-hub-change-dialog[open]{display:block!important;position:fixed!important;inset:0!important;margin:auto!important;z-index:2147480000;max-width:min(620px,calc(100vw - 28px))!important;width:100%!important;box-sizing:border-box}
.c2d-hub-change-dialog[open]::backdrop{background:rgba(15,23,42,.48)}


/* Protected clipboard screenshot input */
.c2d-hub-change-dialog .c2d-hub-image-drop{border:2px dashed #90b2c3;border-radius:10px;background:#f3f9fc;padding:15px;display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;cursor:pointer;color:#334155}
.c2d-hub-change-dialog .c2d-hub-image-drop.is-dragging,.c2d-hub-change-dialog .c2d-hub-image-drop:focus{border-color:#0d607c;background:#e3f2f7;outline:2px solid #0d607c;outline-offset:2px}
.c2d-hub-change-dialog .c2d-hub-image-drop span{font-size:12px;line-height:1.35;color:#64748b}
.c2d-hub-change-dialog .c2d-hub-image-drop .c2d-hub-image-drop-title{font-size:14px;font-weight:700;color:#17445b}
.c2d-hub-change-dialog .c2d-hub-image-select{background:#fff;border:1px solid #b7cbd6;border-radius:8px;color:#0d607c;padding:8px 14px;font-weight:700;cursor:pointer}
.c2d-hub-change-dialog .c2d-hub-image-file{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
.c2d-hub-change-dialog .c2d-hub-image-preview{display:flex;align-items:center;gap:12px;border:1px solid #dbe3ea;border-radius:10px;padding:8px;background:#f8fafc;flex-wrap:wrap}
.c2d-hub-change-dialog .c2d-hub-image-preview[hidden]{display:none!important}
.c2d-hub-change-dialog .c2d-hub-image-preview img{max-width:168px;max-height:130px;object-fit:contain;border:1px solid #cbd5e1;border-radius:6px;background:#fff}
.c2d-hub-change-dialog .c2d-hub-image-preview span{font-size:12px;flex:1;min-width:100px;color:#475569}
.c2d-hub-change-dialog .c2d-hub-image-preview button{background:#fff;border:1px solid #cbd5e1;border-radius:8px;padding:8px;color:#7f1d1d;cursor:pointer}
