/* Shared instructor profile editor, including the embedded operator workspace. */
.sgc-instructor-portal .sgc-instructor-hero>div{min-width:0;max-width:100%}
.sgc-instructor-portal .sgc-instructor-hero h1{overflow-wrap:anywhere}
.sgc-profile-editor,.sgc-profile-editor *{box-sizing:border-box}
.sgc-profile-editor [hidden]{display:none!important}
.sgc-profile-editor{overflow-wrap:anywhere;min-width:0}
.sgc-profile-editor__heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.sgc-profile-editor__heading h2{margin:0 0 8px;font-size:28px;line-height:1.2}
.sgc-profile-editor__heading p{margin:0;color:#605954;line-height:1.6}
.sgc-profile-editor__badge{flex-shrink:0;background:#f0eeeb;color:#605954;border:1px solid #ddd7d2;border-radius:999px;padding:8px 12px;font-size:13px;font-weight:750;line-height:1.4}
.sgc-profile-editor__badge.is-published{background:#e8f5ec;color:#155e34;border-color:#c1ddcb}
.sgc-profile-editor__publication{margin:20px 0 24px;padding:13px 16px;background:#f7f5ef;border-radius:10px;color:#504a43;line-height:1.6;font-size:14px}
.sgc-profile-editor__layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:32px;align-items:start}
.sgc-profile-editor__form,.sgc-profile-editor__preview{min-width:0}
.sgc-profile-editor__form{display:grid;gap:24px}
.sgc-profile-editor__form fieldset{min-width:0;margin:0;padding:18px;border:1px solid #ded8d3;border-radius:12px}
.sgc-profile-editor__form legend{width:auto;float:none;margin:0;padding:0 6px;font-size:16px;font-weight:750;line-height:1.4}
.sgc-profile-editor__label{display:block;margin:0 0 8px;font-weight:750;font-size:15px}
.sgc-profile-editor__form textarea,.sgc-profile-editor__form input[type=file]{display:block;width:100%;max-width:100%;min-width:0;border:1px solid #c9c1ba;border-radius:9px;padding:11px;background:#fff;color:#292520;font:inherit;line-height:1.6}
.sgc-profile-editor__form textarea{min-height:190px;resize:vertical}
.sgc-profile-editor__form input[type=file]{font-size:13px;line-height:1.5;overflow:hidden}
.sgc-profile-editor__form input[type=file]::file-selector-button{border:0;border-radius:5px;background:#eeeae5;color:#292520;padding:8px 10px;margin-right:10px;cursor:pointer;font:inherit}
.sgc-profile-editor__help{margin:8px 0 12px;font-size:13px;color:#665f58;line-height:1.6}
.sgc-profile-editor__check{display:flex!important;align-items:flex-start;gap:10px;margin:15px 0;cursor:pointer;font-size:14px;line-height:1.5}
.sgc-profile-editor__check input[type=checkbox]{flex:none;width:19px;min-width:19px;height:19px;margin:2px 0 0;accent-color:#254f3d}
.sgc-profile-editor__check strong,.sgc-profile-editor__check small{display:block}
.sgc-profile-editor__check small{font-size:13px;font-weight:400;color:#665f58;overflow-wrap:anywhere}
.sgc-profile-editor__actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.sgc-profile-editor__actions button{min-height:46px;padding:12px 20px;border:0;border-radius:10px;background:#211d1e;color:#fff;font:inherit;font-weight:750;cursor:pointer}
.sgc-profile-editor__actions button:hover{background:#3d3736}
.sgc-profile-editor__actions button:disabled{opacity:.6;cursor:wait}
.sgc-profile-editor__actions span{font-size:13px;color:#665f58}
.sgc-profile-editor__cancel-file{display:inline-block;margin-top:10px;background:none;border:1px solid #d3cbc5;border-radius:7px;padding:7px 11px;color:#514941;font:inherit;font-size:13px;cursor:pointer}
.sgc-profile-editor :focus-visible{outline:3px solid #41866a;outline-offset:3px}
.sgc-profile-editor__preview-label{margin:0 0 10px;color:#6e655d;font-size:11px;font-weight:800;letter-spacing:.12em}
.sgc-profile-editor__card{overflow:hidden;border:1px solid #ded8d3;border-radius:16px;background:#fff;box-shadow:0 8px 25px rgba(25,20,20,.05)}
.sgc-profile-editor__card>img,.sgc-profile-editor__placeholder{display:block;width:100%;aspect-ratio:4/3;height:auto;object-fit:cover;object-position:center}
.sgc-profile-editor__placeholder{display:grid;place-items:center;background:linear-gradient(135deg,#ecece6,#e4e8df)}
.sgc-profile-editor__placeholder svg{width:36%;height:auto;fill:#9aa795}
.sgc-profile-editor__card-body{padding:20px}
.sgc-profile-editor__eyebrow{margin:0 0 8px;color:#64735b;font-size:10px;font-weight:850;letter-spacing:.12em}
.sgc-profile-editor__card h3{margin:0 0 14px;font-size:23px;line-height:1.25}
.sgc-profile-editor__bio{white-space:pre-line;font-size:14px;line-height:1.7;color:#514a44;margin:0 0 18px}
.sgc-profile-editor__services{display:flex;flex-wrap:wrap;gap:6px;list-style:none;margin:0 0 16px!important;padding:0!important}
.sgc-profile-editor__services li{margin:0;background:#f0f2ed;color:#465b3d;border-radius:7px;padding:6px 9px;font-size:12px;line-height:1.4}
.sgc-profile-editor__contacts{display:grid;gap:8px;font-size:13px;color:#374b30}
.sgc-profile-editor__preview>a{font-size:13px;color:#285b43;text-underline-offset:3px}
.sgc-instructor-portal--gkg .sgc-profile-editor__actions button{background:#07513e}
.sgc-profile-editor__help.is-error{color:#962c22;font-weight:650}
@media(max-width:820px){.sgc-profile-editor__layout{grid-template-columns:1fr;gap:28px}.sgc-profile-editor__preview{max-width:480px;width:100%}.sgc-profile-editor__heading{flex-wrap:wrap}}
@media(max-width:450px){.sgc-profile-editor__form fieldset{padding:14px}.sgc-profile-editor__heading h2{font-size:25px}.sgc-profile-editor__actions button{width:100%}.sgc-profile-editor__card-body{padding:18px}}
@media(max-width:620px){.sgc-instructor-portal .sgc-instructor-hero h1{font-size:clamp(26px,7vw,34px)}}
