/* The public small-group presentation. Legacy card rewriters are not loaded. */
.sg-home-section,.sg-wrap,.sg-dialog{--sg-ink:#132d4c;--sg-muted:#51637a;--sg-line:#dce4ed;--sg-blue:#205fca;--sg-soft:#f1f6fc;font-family:Pretendard,"Noto Sans KR","Apple SD Gothic Neo",Arial,sans-serif;color:var(--sg-ink);line-height:1.6}
.sg-home-section *, .sg-wrap *, .sg-dialog *{box-sizing:border-box;min-width:0}
.sg-home-section :is(h2,p),.sg-wrap :is(h1,h2,h3,h4,p),.sg-dialog :is(h2,h3,h4,p){margin:0}
.sg-home-section .sg-eyebrow,.sg-wrap .sg-eyebrow{display:block;color:#2862a9;font-size:11px;font-weight:750;letter-spacing:.14em;line-height:1.5;margin-bottom:12px}
.sg-home-section .sg-button,.sg-wrap .sg-button,.sg-dialog .sg-button{display:inline-flex;align-items:center;justify-content:center;gap:14px;min-height:48px;padding:12px 20px;border:1px solid var(--sg-blue);border-radius:12px;background:var(--sg-blue);color:#fff!important;text-decoration:none;line-height:1.4;font-family:inherit;font-size:14px;font-weight:700;cursor:pointer;transition:background .15s,box-shadow .15s;box-shadow:none;white-space:normal;text-align:center}
.sg-button:hover:not(:disabled){background:#174ba4;box-shadow:0 5px 16px #205fca22}
.sg-wrap .sg-button-secondary,.sg-dialog .sg-button-secondary{background:#fff;color:#214d82!important;border-color:#becfe3}
.sg-wrap .sg-button:disabled,.sg-dialog .sg-button:disabled{background:#edf0f4;color:#59687c!important;border-color:#dfe5ec;cursor:not-allowed;opacity:1}
.sg-home-section :is(a,button):focus-visible,.sg-wrap :is(a,button,summary,select,input):focus-visible,.sg-dialog :is(a,button,summary):focus-visible{outline:3px solid #7cabf1!important;outline-offset:3px!important}
.sg-home-section{padding:52px 0!important;background:#f4f8fe!important}
.sg-home-section .sg-home-panel{position:relative;display:grid;grid-template-columns:1.08fr 1fr;border:1px solid #d7e5f2;border-radius:24px;overflow:hidden;background:#f7fbff;box-shadow:0 16px 40px #16385b0d}
.sg-home-section .sg-home-copy{position:relative;z-index:1;padding:44px 46px;color:var(--sg-ink)}
.sg-home-section .sg-eyebrow{color:#477297;margin-bottom:14px;font-size:10px;letter-spacing:.1em}
.sg-home-heading{display:flex;align-items:center;flex-wrap:wrap;gap:14px;margin-bottom:28px}
.sg-home-section h2{font-size:clamp(32px,3.1vw,42px)!important;letter-spacing:-.05em;line-height:1.2;color:#102f52!important;font-weight:800}
.sg-home-limit{display:inline-flex;align-items:center;gap:4px;min-height:38px;padding:6px 12px;border:1px solid #f2d4b9;border-radius:8px;background:#fff5ea;color:#784123;font-size:13px;font-weight:650;letter-spacing:-.025em;white-space:nowrap}
.sg-home-limit strong{font-size:19px;line-height:1.2;font-weight:850;color:#c14e13}
.sg-home-benefits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:0 0 28px;padding:0;list-style:none;color:#526b84;font-size:14px;line-height:1.6}
.sg-home-benefits li{display:grid;gap:4px;padding:0 16px;border-left:1px solid #cedfec}
.sg-home-benefits li:first-child{padding-left:0;border-left:0}
.sg-home-benefits strong{color:#173b60;font-size:18px;font-weight:750;letter-spacing:-.055em;white-space:nowrap}
.sg-home-section .sg-button-light{background:#ec701e;border-color:#ec701e;color:#fff!important;min-width:220px;font-size:15px;border-radius:10px;box-shadow:0 6px 18px #ec701e21}
.sg-home-section .sg-button-light:hover{background:#cf5b11;border-color:#cf5b11}
.sg-home-status{display:block;margin-top:12px;color:#5c738c;font-size:12px;line-height:1.5;min-height:18px}
.sg-home-visual{position:relative;overflow:hidden;min-height:360px}
.sg-home-section .sg-home-visual img{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:68% center;filter:saturate(.78) brightness(1.16)}
.sg-home-visual::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#f7fbff 0,rgba(247,251,255,.42) 20%,rgba(231,244,255,.08) 60%)}
body[data-group-design="schedule-first"]{margin:0;background:linear-gradient(160deg,#e3f2ff 0,#dceefa 48%,#eaf5fd 100%) fixed!important;color:#132d4c;font-family:Pretendard,"Noto Sans KR","Apple SD Gothic Neo",Arial,sans-serif;line-height:1.6}
body[data-group-design="schedule-first"] [hidden]{display:none!important}
body[data-group-design="schedule-first"] .g-header{max-width:none;margin:0;padding:18px max(24px,calc((100vw - 1200px)/2));border-bottom:1px solid #dce4ed;background:#fff!important;box-shadow:none;gap:20px;min-height:72px;color:#132d4c}
body[data-group-design="schedule-first"] .g-header .g-brand{color:#153b68!important;font-size:20px;font-weight:850;letter-spacing:-.05em}
body[data-group-design="schedule-first"] .g-header nav{gap:6px;display:flex;flex-wrap:wrap}
body[data-group-design="schedule-first"] .g-header nav a{display:inline-flex;align-items:center;min-height:42px;padding:8px 14px;border-radius:10px;font-size:13px;color:#425772!important}
body[data-group-design="schedule-first"] .g-header nav a[aria-current]{background:#eaf2ff!important;color:#1c55ab!important}
body[data-group-design="schedule-first"] .sg-wrap{max-width:1200px;width:calc(100% - 48px);padding:0;margin:30px auto 64px}
.sg-hero{position:relative;border:1px solid #c5dff0;border-radius:24px;overflow:hidden;margin-bottom:40px;background:#e6f3fd;box-shadow:0 16px 40px #17466f0e}
.sg-hero-visual{position:relative;margin:0;min-height:390px;overflow:hidden;background:#e6f3fd}
body[data-group-design="schedule-first"] .sg-hero-visual img{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:62% center;filter:saturate(.55) brightness(1.2)}
.sg-hero-visual::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(246,251,255,.98) 0%,rgba(240,249,255,.92) 40%,rgba(232,246,255,.74) 65%,rgba(226,242,253,.48) 100%)}
.sg-hero-overlay{position:relative;z-index:2;display:flex;min-height:390px;max-width:800px;flex-direction:column;align-items:flex-start;justify-content:center;padding:48px 56px}
.sg-hero-overlay .sg-eyebrow{margin-bottom:18px;color:#467491;font-size:10px;letter-spacing:.16em}
.sg-hero h1{font-family:Pretendard,"Noto Sans KR","Noto Sans CJK KR","Apple SD Gothic Neo","Malgun Gothic",system-ui,sans-serif;font-size:clamp(34px,3.15vw,44px);line-height:1.42;letter-spacing:-.04em;font-weight:700;color:#102f52;text-wrap:balance}
.sg-hero-online,.sg-hero-class{white-space:nowrap}
.sg-hero-limit{font-size:.9em}
.sg-hero-limit strong{font-weight:800;color:#b8551a}
.sg-hero-overlay>p{max-width:600px;margin:18px 0 24px;font-size:14px;line-height:1.85;color:#385674}
.sg-wrap .sg-button-hero{min-width:190px;background:#143f70;border-color:#143f70;box-shadow:0 10px 24px #143f7026}
.sg-wrap .sg-button-hero:hover{background:#0f3159}
.sg-hero-visual figcaption{position:absolute;right:24px;bottom:18px;z-index:2;color:#3d5c72;font-size:11px;text-shadow:0 1px 8px #fff}
.sg-mobile-break{display:none}
.sg-catalog{scroll-margin-top:96px}
.sg-catalog-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:20px}
.sg-catalog-head .sg-eyebrow{margin:0 0 6px}
.sg-catalog-head h2,.sg-guide h2{font-size:26px;line-height:1.4;letter-spacing:-.035em}
.sg-catalog-head>p{font-size:13px;color:var(--sg-muted);margin-bottom:3px}
.sg-filters{display:flex;align-items:flex-end;gap:12px;padding:20px 22px;border:1px solid #bed5e7;border-radius:16px;background:#fff;box-shadow:0 8px 24px #17466f08}
.sg-filters>label{display:grid;gap:6px;min-width:150px;color:#365170;font-size:12px;font-weight:650}
.sg-filters>label:first-child{min-width:230px}
.sg-filters select{appearance:auto;width:100%;height:46px;border:1px solid #c9d6e6;border-radius:10px;padding:8px 12px;background:#fbfdff;color:#1a3554;font:inherit;font-size:14px}
.sg-filters .sg-open-filter{display:flex;align-items:center;align-self:center;gap:8px;margin-left:auto;margin-top:20px;font-size:13px;min-width:0}
.sg-open-filter input{width:18px;height:18px;margin:0;accent-color:#205fca}
.sg-status{margin:16px 2px 12px;font-size:13px;color:#4f637c;min-height:21px}
.sg-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;align-items:stretch}
.sg-card{display:flex;flex-direction:column;padding:26px;border:1px solid #bfd6e7;border-radius:20px;background:#fff;box-shadow:0 10px 26px #17375f08;min-width:0}
.sg-card-top{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:20px}
.sg-status-pill{display:inline-flex;align-items:center;font-size:12px;line-height:1.4;font-weight:750;padding:6px 10px;border-radius:7px;background:#edf2f8;color:#475b75}
.sg-status-pill.is-open{background:#e8f6ef;color:#176247}
.sg-status-pill.is-pending{background:#fff3d8;color:#705213}
.sg-seats{font-size:12px;color:#446383;font-weight:650}
.sg-topic{font-size:13px!important;font-weight:750;color:#245bab!important;margin:0 0 5px!important;overflow-wrap:anywhere}
.sg-card h3{font-size:22px;line-height:1.45;font-weight:750;letter-spacing:-.035em;overflow-wrap:anywhere;margin-bottom:18px}
.sg-schedule{padding:18px 20px;background:#f0f5fc;border:1px solid #e1eaf6;border-radius:14px;margin-bottom:16px}
.sg-label{font-size:11px;color:#546b86;font-weight:650;display:flex;justify-content:space-between;align-items:center}
.sg-label small{font-size:10px;font-weight:500}
.sg-time-lines{display:grid;gap:3px;margin:6px 0 10px}
.sg-time-lines>b{font-size:21px;line-height:1.5;letter-spacing:-.025em;font-weight:750;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.sg-time-lines>small{font-size:12px;color:var(--sg-muted)}
.sg-schedule>p{font-size:13px;line-height:1.6;color:#4a617d}
.sg-count{border-top:1px solid #d8e3f1;margin-top:14px;padding-top:12px;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:4px 12px;font-size:12px;color:#496584}
.sg-count strong{font-size:13px;color:#25486e;font-weight:700}
.sg-teacher{display:flex;align-items:center;gap:10px;width:100%;padding:5px 0;border:0!important;background:transparent!important;color:#213c60!important;text-align:left;cursor:pointer;font-family:inherit;box-shadow:none!important;border-radius:8px}
.sg-teacher:hover .sg-teacher-link{text-decoration:underline}
.sg-avatar{position:relative;display:inline-grid;place-items:center;width:44px;height:44px;flex:0 0 44px;overflow:hidden;border-radius:12px;border:1px solid #dfe7f1;background:#edf3fb;color:#274c7d;font-size:17px;font-weight:750}
body[data-group-design="schedule-first"] .sg-avatar img{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.sg-teacher>span:nth-child(2){flex:1}
.sg-teacher b{font-size:14px;font-weight:700;line-height:1.45;display:block;overflow-wrap:anywhere}
.sg-teacher small{font-size:11px;line-height:1.5;color:#596f89;display:block;margin-top:2px}
.sg-teacher-link{font-size:12px;white-space:nowrap;color:#2c60a8}
.sg-card-price{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:20px 0 16px;margin-top:auto}
.sg-card-price>span{font-size:12px;color:#526780}
.sg-card-price>strong{font-size:23px;line-height:1.4;letter-spacing:-.025em}
.sg-card-actions{display:grid;grid-template-columns:1.18fr 1fr;gap:10px}
.sg-card-actions .sg-button{min-height:48px;padding:12px 8px;font-size:13px}
.sg-empty{grid-column:1/-1;text-align:center;background:#fff;border:1px solid var(--sg-line);border-radius:18px;padding:40px 24px}
.sg-empty h3{font-size:20px;margin-bottom:8px}
.sg-empty p{font-size:14px;color:var(--sg-muted);margin-bottom:18px}
.sg-guide{margin-top:52px;border-top:1px solid var(--sg-line);padding-top:30px}
.sg-guide>div{margin-bottom:20px}
.sg-guide .sg-eyebrow{margin-bottom:6px}
.sg-wrap .sg-faq{border:1px solid var(--sg-line);border-radius:12px;background:#fff;margin-top:10px;overflow:hidden}
.sg-faq>summary{padding:17px 20px;cursor:pointer;font-size:14px;color:#2b4769;font-weight:650}
.sg-faq>div,.sg-faq>p{padding:0 20px 18px!important;margin:0!important;color:var(--sg-muted);font-size:13px;line-height:1.85}
.sg-faq>div>p+p{margin-top:12px}
body[data-group-design="schedule-first"] .sg-dialog{position:fixed;max-width:1040px;width:calc(100% - 48px);max-height:90dvh;margin:auto;padding:0;border:1px solid #e1e6ed;border-radius:22px;background:#fff;overflow:auto;overscroll-behavior:contain;box-shadow:0 24px 90px #05182c44}
.sg-dialog::backdrop{background:#071d38a6;backdrop-filter:blur(4px)}
.sg-dialog-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding:24px 28px;position:sticky;top:0;z-index:3;background:#fff;border-bottom:1px solid var(--sg-line)}
.sg-dialog-head h2{font-size:24px;line-height:1.4;letter-spacing:-.03em;overflow-wrap:anywhere}
body[data-group-design="schedule-first"] .sg-dialog .sg-dialog-close{position:relative;inset:auto;display:inline-grid;place-items:center;align-self:flex-start;flex:0 0 44px;width:44px;height:44px;min-width:44px;min-height:44px;max-width:44px;max-height:44px;margin:0;padding:0;border:1px solid #ccdae8;border-radius:10px;background:#f4f8fc;color:#24415f;font-size:0;line-height:1;transform:none;box-shadow:none;cursor:pointer}
.sg-dialog .sg-dialog-close::before,.sg-dialog .sg-dialog-close::after{content:none!important;display:none!important}
.sg-dialog .sg-dialog-close svg{display:block;position:static;width:20px;height:20px;margin:0;padding:0;transform:none;pointer-events:none}
.sg-dialog .sg-dialog-close:hover{background:#e4eff9}
.sg-dialog-body{padding:24px 28px}
.sg-detail-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:24px}
.sg-detail-block{margin:0 0 16px;border:1px solid #dce4ee;border-radius:12px;overflow:hidden;background:white}
.sg-detail-block>summary{padding:16px 18px;font-weight:700;font-size:15px;cursor:pointer;color:#23476e;background:#f7fafd}
.sg-detail-block>p,.sg-detail-block>[data-sg-profile-content]{padding:16px 18px;font-size:13px;color:#435d7c;line-height:1.8}
.sg-detail-note{font-size:12px!important}
.sg-session-list{list-style:none;margin:0;padding:0 18px 14px}
.sg-session-list li{display:grid;grid-template-columns:24px 1fr 1.5fr;align-items:center;gap:3px 6px;border-top:1px solid #e7edf5;padding:12px 0;font-size:12px}
.sg-session-list li>span{font-size:10px;color:#647a92}
.sg-session-list li>b{font-weight:650}
.sg-session-list li>strong{font-size:13px;line-height:1.6;font-weight:650;font-variant-numeric:tabular-nums;text-align:right}
.sg-session-list li>small{grid-column:3;font-size:10px;color:#58708e;text-align:right}
.sg-authored{white-space:pre-wrap;overflow-wrap:anywhere;padding:18px;font-size:14px;line-height:1.9;color:#314c6a}
.sg-profile-head{display:flex;align-items:center;gap:12px;margin-bottom:18px}
.sg-profile-head .sg-avatar{width:64px;height:64px;flex-basis:64px}
.sg-profile-head h3{font-size:16px;line-height:1.5}
.sg-profile-head p{font-size:12px;color:#576e89;line-height:1.6;overflow-wrap:anywhere}
.sg-profile-section{margin-bottom:18px}
.sg-profile-section h4{font-size:13px;margin-bottom:7px;font-weight:750}
.sg-profile-section p{font-size:13px;line-height:1.85;white-space:pre-wrap;overflow-wrap:anywhere;color:#475f7b}
.sg-tags{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0}
.sg-tags>span{background:#eef4fc;color:#476386;font-size:11px;padding:3px 8px;border-radius:6px}
.sg-profile-gallery{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:12px}
.sg-profile-gallery img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:8px}
.sg-profile-unavailable{font-size:13px;color:#5a6c82}
.sg-profile-unavailable p{margin-bottom:10px}
.sg-dialog-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;position:sticky;bottom:0;z-index:3;padding:16px 28px;background:#fff;border-top:1px solid var(--sg-line)}
.sg-dialog-footer small{display:block;font-size:11px;color:#58718e}
.sg-dialog-footer strong{font-size:23px;line-height:1.4}
body[data-group-design="schedule-first"] #sgTeacherDialog{max-width:640px}
body[data-group-design="schedule-first"] #enrollDialog{max-width:760px;max-height:90dvh;border-radius:20px;overflow:auto;overscroll-behavior:contain}
#enrollDialog .sg-detail-block{margin:12px 0 0}
#enrollDialog .g-form label{color:#355273!important}
@media(max-width:1024px){
 .sg-hero-visual,.sg-hero-overlay{min-height:360px}.sg-hero-overlay{padding:42px}.sg-hero h1{font-size:38px}
 .sg-card{padding:22px}.sg-time-lines>b{font-size:19px}
}
@media(max-width:760px){
 .sg-home-section{padding:30px 0!important}.sg-home-section .sg-home-panel{display:block;border-radius:20px}.sg-home-section .sg-home-copy{padding:28px 24px;background:linear-gradient(90deg,rgba(247,251,255,.97),rgba(247,251,255,.89))}.sg-home-visual{display:block;position:absolute;inset:0;min-height:0}.sg-home-visual::after{background:transparent}
 .sg-home-section h2{font-size:30px!important}.sg-home-heading{display:grid;gap:12px;margin-bottom:22px}.sg-home-limit{justify-self:start;font-size:13px}.sg-home-benefits{grid-template-columns:1fr;gap:9px;margin-bottom:22px;font-size:14px}.sg-home-benefits li{display:flex;align-items:baseline;gap:6px;padding:0;border:0}.sg-home-benefits strong{font-size:16px;letter-spacing:-.035em}.sg-home-section .sg-button-light{width:100%;min-width:0;font-size:14px}.sg-home-status{font-size:11px}
 body[data-group-design="schedule-first"] .g-header{padding:10px 16px;min-height:64px;gap:12px}.g-header nav{gap:0!important}
 body[data-group-design="schedule-first"] .g-header .g-brand{font-size:17px}
 body[data-group-design="schedule-first"] .g-header nav a{font-size:11px;min-height:38px;padding:6px 8px}
 body[data-group-design="schedule-first"] .g-header nav a:first-child{display:none}
 body[data-group-design="schedule-first"] .sg-wrap{width:calc(100% - 32px);margin:18px auto 40px}
 .sg-hero{margin-bottom:28px;border-radius:20px}.sg-hero-visual{display:block;min-height:350px}.sg-hero-visual::after{background:linear-gradient(180deg,rgba(245,251,255,.94) 0%,rgba(237,248,255,.88) 58%,rgba(225,242,254,.76) 100%)}.sg-hero-overlay{min-height:350px;padding:30px 24px;justify-content:center}.sg-hero-overlay .sg-eyebrow{font-size:9px;margin-bottom:16px}.sg-hero h1{font-size:30px;line-height:1.45}.sg-hero-class{display:block}.sg-hero-overlay>p{font-size:13px;line-height:1.75;margin:14px 0 20px}.sg-hero-overlay>p br{display:none}.sg-wrap .sg-button-hero{width:100%;min-width:0}.sg-hero-visual figcaption{display:none}.sg-mobile-break{display:block}
 .sg-catalog-head{display:block;margin-bottom:14px}.sg-catalog-head h2,.sg-guide h2{font-size:23px}.sg-catalog-head>p{font-size:12px;margin-top:5px}.sg-catalog-head .sg-eyebrow{font-size:10px}
 .sg-filters{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:16px}.sg-filters>label,.sg-filters>label:first-child{min-width:0}.sg-filters select{font-size:13px;min-width:0}.sg-filters .sg-open-filter{grid-column:1/-1;justify-self:start;margin:0;font-size:12px}
 .sg-grid{grid-template-columns:1fr;gap:16px}.sg-card{padding:20px;border-radius:18px}.sg-card h3{font-size:21px;margin-bottom:16px}.sg-card-top{margin-bottom:16px}.sg-schedule{padding:16px}.sg-time-lines>b{font-size:21px}.sg-card-price{padding-top:16px}.sg-card-price>strong{font-size:22px}
 .sg-guide{margin-top:32px;padding-top:24px}.sg-faq>summary{font-size:13px;padding:16px}.sg-faq>div,.sg-faq>p{padding:0 16px 16px!important}
 body[data-group-design="schedule-first"] .sg-dialog{width:calc(100% - 16px);max-height:94dvh;border-radius:18px}
 .sg-dialog-head{padding:16px;gap:12px}.sg-dialog-head h2{font-size:21px}.sg-dialog-head .sg-topic{font-size:11px!important}.sg-dialog-body{padding:16px}.sg-detail-layout{grid-template-columns:1fr;gap:0}.sg-detail-block>summary{font-size:14px}.sg-dialog-footer{padding:12px 16px max(12px,env(safe-area-inset-bottom));gap:10px}.sg-dialog-footer strong{font-size:20px}.sg-dialog-footer .sg-button{font-size:12px;padding:12px;min-height:46px}
 .sg-session-list{padding:0 14px 12px}.sg-session-list li{font-size:12px;grid-template-columns:22px .8fr 1.3fr}.sg-session-list li>strong{font-size:12px}
 body[data-group-design="schedule-first"] #enrollDialog{width:calc(100% - 16px);max-height:94dvh;padding:20px 16px}
}
@media(prefers-reduced-motion:reduce){.sg-button{transition:none!important}}
