/* 강사 상세 POST iframe 레이어 팝업 */
html.teacher-layer-open { overflow: hidden; }
#teacher-detail-dialog {
    box-sizing: border-box;
    width: 440px;
    max-width: calc(100vw - 32px);
    max-height: calc(100vh - 32px);
    padding: 0;
    margin: auto;
    border: 0;
    border-radius: 12px;
    background: #fff;
    color: #222;
    box-shadow: 0 16px 60px rgba(0, 0, 0, .3);
    overflow: auto;
}
#teacher-detail-dialog:not([open]) { display: none; }
#teacher-detail-dialog::backdrop { background: rgba(0, 0, 0, .55); }
#teacher-detail-dialog .teacher-layer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    border-bottom: 1px solid #e5e7eb;
}
#teacher-detail-title { margin: 0; font-size: 18px; font-weight: 700; }
#teacher-detail-close {
    padding: 8px 10px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
    color: #222;
    font: inherit;
    cursor: pointer;
}
#teacher-detail-close:focus-visible,
.teacher-detail-form button:focus-visible { outline: 3px solid #2563eb; outline-offset: 3px; }
#teacher-detail-dialog .teacher-layer-frame {
    display: block;
    width: 100%;
    height: 450px;
    height: min(450px, calc(100vh - 110px));
    border: 0;
    background: #fff;
}
.teacher-detail-form {
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
.teacher-detail-form button.popLink {
    border: 0;
    padding: 4px;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
}