
/* ── 목업 전용 ── */
/* ── GP: 주문 화면 부품(css/sections/lms/group-purchase.css 로 옮김). .vg 의 --k-* 변수를 그대로 씀 ── */
.gp-h2 { margin: 0 0 12px; font-size: 18px; font-weight: 800; color: var(--k-ink); letter-spacing: -.01em; }
.gp-h2 small { margin-left: 8px; font-size: 14px; font-weight: 600; color: var(--k-muted); }
.gp-sec { padding-top: 22px; margin-top: 22px; border-top: 1px solid var(--k-line); }
.gp-sec:first-child { padding-top: 0; margin-top: 0; border-top: 0; }
.gp-sec[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.gp-kv { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 10px 16px; align-items: start; margin: 0 0 12px; font-size: 16px; }
.gp-kv dt { font-size: 15px; font-weight: 700; color: var(--k-muted); padding-top: 2px; }
.gp-kv dd { margin: 0; color: var(--k-ink); word-break: keep-all; }
.gp-qty { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.gp-step { display: inline-flex; align-items: center; border: 1px solid #c9ccd4; border-radius: var(--r-inner); overflow: hidden; }
.gp-step button { width: 44px; height: 48px; border: 0; background: #fff; font: inherit; font-size: 22px; font-weight: 700; color: var(--k-violet); cursor: pointer; }
.gp-step button:hover { background: #f6f4ff; }
.gp-step input { width: 64px; height: 48px; border: 0; border-left: 1px solid #c9ccd4; border-right: 1px solid #c9ccd4; text-align: center; font: inherit; font-size: 20px; font-weight: 800; color: var(--k-ink); }
.gp-unit { font-size: 16px; font-weight: 700; color: var(--k-ink); }
.gp-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-left: 4px; }
.gp-chip { min-height: 44px; padding: 0 14px; border: 1px solid var(--k-line); border-radius: var(--r-inner); background: #fff; font: inherit; font-size: 15px; font-weight: 700; color: var(--k-ink); cursor: pointer; }
.gp-chip.is-on { background: var(--k-navy); border-color: var(--k-navy); color: #fff; }
.gp-help { margin: 8px 0 0; font-size: 14px; line-height: 1.55; color: var(--k-muted); word-break: keep-all; }
.gp-help b { color: var(--k-ink); font-weight: 700; }
.gp-err { margin: 8px 0 0; font-size: 14px; font-weight: 700; color: #b42318; line-height: 1.5; }
.gp-err a { color: #b42318; text-decoration: underline; text-underline-offset: 3px; }
/* 금액 표: 주문 창 .enr-rows 재사용, 수강기간 보조 줄 */
.vg .enr-rows { margin-top: 14px; }
.vg .enr-rows dd .enr-dd-sub { text-align: right; }
.vg .enr-refund { margin-top: 14px; }
.vg .enr-refund-more a { color: var(--k-violet); }
/* 담당자 계정 */
.gp-acct { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.gp-acct-who { font-size: 16px; font-weight: 700; color: var(--k-ink); }
.gp-acct-who span { margin-left: 6px; font-weight: 500; color: var(--k-muted); }
.gp-st { display: inline-flex; align-items: center; gap: 7px; font-size: 15px; font-weight: 700; color: var(--k-ink); }
.gp-st::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--k-navy); }
.gp-st--todo::before { background: var(--k-violet); }
.gp-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.gp-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--k-violet); border-radius: var(--r-inner); background: #fff; color: var(--k-violet); font: inherit; font-size: 15px; font-weight: 800; cursor: pointer; text-decoration: none; }
.gp-btn--main { background: var(--k-violet); color: #fff; }
.gp-btn--ghost { border-color: var(--k-line); color: var(--k-text); }
.gp-btn:disabled { border-color:#c9ccd6; color:#8a8f9c; background:#fff; opacity:1; cursor:not-allowed; }
.gp-note { margin: 12px 0 0; padding: 12px 16px; border-radius: var(--r-inner); background: var(--k-navy); color: #fff; font-size: 15px; line-height: 1.55; }
.gp-note b { color: var(--k-lime); }
/* 회사 선택 칸(bk-choice 재사용) */
.vg .bk-choices { margin: 0 0 14px; }
.vg .bk-choice-box { min-height: 0; padding: 14px 16px; }
/* 결제 단추(주문 창 .enr-primary 재사용) */
.vg .enr-primary { margin-top: 18px; }
.gp-pay-note { margin: 10px 0 0; font-size: 14px; line-height: 1.55; color: var(--k-muted); text-align: center; word-break: keep-all; }
.gp-pay-note a { color: var(--k-violet); font-weight: 700; }
@media (max-width: 480px) {
    .gp-kv { grid-template-columns: 1fr; gap: 2px 0; margin-bottom: 14px; }
    .gp-chips { margin-left: 0; width: 100%; }
}

/* 관리 화면은 표가 있어 열을 920px 로 넓힘(주문 화면 680) */
.gp-wide .vg-col { max-width: 920px; }
.gp-h2 { margin: 0 0 12px; font-size: 18px; font-weight: 800; color: var(--k-ink); }
.gp-h2 small { margin-left: 8px; font-size: 14px; font-weight: 600; color: var(--k-muted); }
.gp-sec { padding-top: 22px; margin-top: 22px; border-top: 1px solid var(--k-line); }
.gp-sec:first-child { padding-top: 0; margin-top: 0; border-top: 0; }
.gp-help { margin: 8px 0 0; font-size: 14px; line-height: 1.55; color: var(--k-muted); word-break: keep-all; }
.gp-err { margin: 8px 0 0; font-size: 14px; font-weight: 700; color: #b42318; }
/* 완료 띠(?paid=1 첫 열기) */
.gp-done { margin: 0 0 18px; padding: 16px 20px; border-radius: var(--r-inner); background: var(--k-navy); color: #fff; font-size: 15px; line-height: 1.6; word-break: keep-all; }
.gp-done b { display: block; margin-bottom: 2px; font-size: 18px; font-weight: 800; color: var(--k-lime); }
.gp-done a { color:inherit; text-decoration:underline; }
/* 요약 4칸(관리자 .ops-counts 와 같은 모양) */
.gp-sum { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.gp-counts { flex: 1 1 420px; display: grid; grid-template-columns: repeat(4, 1fr); padding: 6px 8px; border-radius: var(--r-inner); background: var(--k-navy); color: #fff; }
.gp-counts a { display: flex; flex-direction: column; justify-content: center; min-height: 72px; padding: 10px 14px; border-radius: 10px; color: #fff; }
.gp-counts a:hover { background: rgba(255,255,255,.08); }
.gp-counts .n { font-size: 32px; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.gp-counts .l { margin-top: 4px; font-size: 14px; font-weight: 600; color: var(--k-on-navy-2); }
.gp-counts a.is-zero .n, .gp-counts a.is-zero .l { color: var(--k-on-navy-3); }
.gp-sum-side { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.gp-total { font-size: 16px; font-weight: 800; color: var(--k-ink); }
.gp-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--k-violet); border-radius: var(--r-inner); background: #fff; color: var(--k-violet); font: inherit; font-size: 15px; font-weight: 800; cursor: pointer; text-decoration: none; white-space: nowrap; }
.gp-btn--main { background: var(--k-violet); color: #fff; }
.gp-btn--danger { border-color: #b42318; color: #b42318; }
.gp-btn--sm { min-height: 44px; padding: 0 12px; font-size: 14px; }
.gp-btn:disabled { border-color:#c9ccd6; color:#8a8f9c; background:#fff; opacity:1; cursor:not-allowed; }
/* 초대 입력 */
.gp-paste { width: 100%; min-height: 120px; padding: 12px 14px; border: 1px solid #c9ccd4; border-radius: var(--r-inner); font: inherit; font-size: 16px; line-height: 1.5; color: var(--k-ink); resize: vertical; }
.gp-paste:focus-visible { outline: 3px solid var(--k-violet); outline-offset: 0; border-color: var(--k-violet); }
.gp-count { margin: 8px 0 12px; font-size: 15px; font-weight: 700; color: var(--k-text); }
.gp-count.is-over { color: #b42318; }
.gp-invite-btn { width: 100%; min-height: 48px; border: 0; border-radius: var(--r-inner); background: var(--k-violet); color: #fff; font: inherit; font-size: 16px; font-weight: 800; cursor: pointer; }
.gp-invite-btn:disabled { background: #c7c1f5; }
/* 거르기 칩 */
.gp-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.gp-chip { min-height: 40px; padding: 0 12px; border: 1px solid var(--k-line); border-radius: var(--r-inner); background: #fff; font: inherit; font-size: 14px; font-weight: 700; color: var(--k-ink); cursor: pointer; }
.gp-chip em { font-style: normal; margin-left: 5px; color: var(--k-muted); }
.gp-chip.is-on { background: var(--k-navy); border-color: var(--k-navy); color: #fff; }
.gp-chip.is-on em { color: var(--k-on-navy-2); }
/* 수강권 표 */
.gp-table { width: 100%; border-collapse: collapse; }
.gp-table th { padding: 8px 10px 8px 0; text-align: left; font-size: 13.5px; font-weight: 700; color: var(--k-muted); border-bottom: 1px solid var(--k-navy); white-space: nowrap; }
.gp-table td { padding: 12px 10px 12px 0; font-size: 15px; color: var(--k-ink); border-bottom: 1px solid var(--k-line); vertical-align: top; }
.gp-table td.num { width: 28px; color: var(--k-muted); font-variant-numeric: tabular-nums; }
.gp-table .who { min-width: 190px; }
.gp-table .who b { display: block; font-weight: 700; }
.gp-table .who span { font-size: 14px; color: var(--k-muted); overflow-wrap: anywhere; }
.gp-table td.when, .gp-table td.cert { white-space: nowrap; font-variant-numeric: tabular-nums; }
.gp-st { display: inline-flex; align-items: center; gap: 7px; font-size: 15px; font-weight: 700; color: var(--k-ink); white-space: nowrap; }
.gp-st::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--k-navy); flex: none; }
.gp-st--todo::before { background: var(--k-violet); }
.gp-st--off::before { background: #9aa0ad; }
.gp-st--off { color: var(--k-muted); font-weight: 600; }
.gp-sub { display: block; margin-top: 3px; font-size: 13.5px; color: var(--k-muted); white-space: normal; }
.gp-bar { display: flex; align-items: center; gap: 8px; min-width: 110px; }
.gp-bar i { flex: 1 1 auto; height: 8px; border-radius: 4px; background: var(--k-soft); overflow: hidden; }
.gp-bar i::before { content: ''; display: block; height: 100%; width: var(--p, 0%); background: var(--k-violet); }
.gp-bar span { font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.gp-done-chip { font-size: 14px; font-weight: 800; color: var(--k-navy); }
.gp-acts { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
/* 결제 · 영수증 */
.gp-kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px 24px; margin: 0 0 14px; }
.gp-kv dt { font-size: 14px; font-weight: 700; color: var(--k-muted); margin-bottom: 2px; }
.gp-kv dd { margin: 0; font-size: 16px; color: var(--k-ink); font-variant-numeric: tabular-nums; }
.gp-btns { display: flex; flex-wrap: wrap; gap: 8px; }
/* 기록 */
.gp-log { margin: 0; padding: 0; list-style: none; }
.gp-log li { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 4px 16px; align-items: center; padding: 10px 0; border-top: 1px solid var(--k-line); font-size: 15px; }
.gp-log li:first-child { border-top: 0; }
.gp-log time { font-size: 14px; color: var(--k-muted); font-variant-numeric: tabular-nums; }
.gp-log .did b { font-weight: 700; }
@media (max-width: 768px) {
    .gp-counts { grid-template-columns: 1fr 1fr; flex-basis: 100%; }
    .gp-counts .n { font-size: 26px; }
    .gp-sum-side { width: 100%; flex-direction: row; justify-content: space-between; align-items: center; }
    .gp-table thead { display: none; }
    .gp-table, .gp-table tbody, .gp-table tr, .gp-table td { display: block; width: 100%; }
    .gp-table tr { padding: 12px 0; border-bottom: 1px solid var(--k-line); }
    .gp-table td { padding: 3px 0; border: 0; }
    .gp-table td.num { width: auto; font-size: 14px; }
    .gp-table td[data-l]::before { content: attr(data-l) ' '; font-size: 13.5px; font-weight: 700; color: var(--k-muted); }
    .gp-acts { justify-content: stretch; margin-top: 6px; }
    .gp-acts .gp-btn { flex: 1 1 100%; }
    .gp-log li { grid-template-columns: 1fr; gap: 2px; }
}

/* GI: 직원 수락 화면 부품(invite.css 위에 얹는 몇 줄) */
.gi-info { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 6px 12px; margin: 0 0 16px; padding: 14px 16px; border-radius: var(--r-inner); background: var(--k-navy); color: #fff; font-size: 15px; line-height: 1.55; }
.gi-info dt { font-weight: 700; color: var(--k-on-navy-2); }
.gi-info dd { margin: 0; word-break: keep-all; overflow-wrap: anywhere; }
.gi-info dd b { color: var(--k-lime); font-weight: 800; }
.gi-info .gi-wide { grid-column: 1 / -1; padding-top: 8px; margin-top: 4px; border-top: 1px solid var(--k-navy-line); font-weight: 600; }
.gi-social { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.gi-social .bk-btn { margin-top: 0; }
@media (max-width: 480px) {
    .gi-info { grid-template-columns: 1fr; gap: 2px 0; }
    .gi-info dt { margin-top: 6px; }
    .gi-social { grid-template-columns: 1fr; }
}
/* 실제 화면: 기존 .vg 변수와 단추를 재사용합니다. */
.gp,.gi { padding-top:0; overflow-wrap:anywhere; }
.gp fieldset { min-width:0; border:0; padding:0; margin:0; }
.gp-sec[aria-disabled="true"] { opacity:.55; pointer-events:auto; }
.gp-price .gp-kv { display:block; }
.gp-order-kv { display:grid; grid-template-columns:96px minmax(0,1fr); gap:10px 16px; }
.gp-order-kv dd { margin:0; min-width:0; }
.gp-chip { min-height:44px; }
.gp-table { table-layout:fixed; font-size:14px; }
.gp-table th,.gp-table td,.gp-sub { font-size:14px; }
.gp-table .who { min-width:0; }
.gp-table td.when,.gp-table td.cert { white-space:normal; }
.gp-acts { justify-content:flex-start; }
.gp-acts details { position:relative; }
.gp-acts summary { min-height:44px; cursor:pointer; color:var(--k-violet); }
.gp-acts details .gp-btn { margin-top:6px; width:100%; }
.gp-bar progress { width:90px; height:8px; accent-color:var(--k-violet); }
.gp-invite-btn:disabled { background:#8f93a3; color:#fff; opacity:1; cursor:not-allowed; }
.gp-lead-link { color:#fff; text-decoration:underline; }
.gp-st--bad { color:#b42318; }
.gp-st--bad::before { background:#b42318; }
.gp-block { padding:16px; border-radius:12px; background:var(--k-navy); color:#fff; }
.gp-block b { color:var(--k-lime); }
.gp-block a { color:#fff; text-decoration:underline; }
.gp-full { width:100%; min-height:52px; }
.gp-gap { margin-top:12px; }
.gp-sr { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.gp-sheet-host { position:fixed; inset:0; z-index:10000; background:rgba(15,26,75,.6); display:grid; place-items:center; padding:24px; }
.gp-sheet { width:min(560px,100%); max-height:90vh; overflow:auto; background:#fff; border-radius:18px; padding:24px; color:#0b0b0f; font-size:16px; line-height:1.6; }
.gp-sheet h2 { font-size:22px; margin:0; }
.gp-sheet-head { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:16px; }
.gp-sheet .gp-kv { display:grid; grid-template-columns:1fr auto; gap:12px; margin:16px 0; }
.gp-sheet dd { margin:0; }
.gp-sheet .gp-btn--danger { background:#b42318; color:#fff; }
.gp-sheet :focus-visible { outline:3px solid #553ae7; outline-offset:3px; }
.gp-order-item { border-bottom:1px solid var(--k-line); padding:18px 0; }
.gp-order-item p { margin:6px 0; }
.gp-statement { margin-top:18px; }
.gp-log li,.gp-pay-note,.gp-acct-who { overflow-wrap:anywhere; }
.gp .enr-primary { min-height:52px; }
@media(max-width:768px) {
 .gp-table { table-layout:auto; }
 .gp-table th:first-child,.gp-table th:nth-child(2),.gp-table th:last-child { width:auto; }
 .gp-order-kv { grid-template-columns:1fr; gap:4px; }
 .gp-sheet-host { padding:0; }
 .gp-sheet { width:100%; height:100%; max-height:100%; border-radius:0; padding:20px 16px; }
 .gp-btns > .gp-btn { flex:1 1 100%; }
}
@media print {
 body.gp-print-statement * { visibility:hidden!important; }
 body.gp-print-statement #gpStatement,body.gp-print-statement #gpStatement * { visibility:visible!important; }
 body.gp-print-statement #gpStatement { position:absolute; top:0; left:0; width:100%; padding:20px; }
 body.gp-print-statement #gpStatement button,body.gp-print-statement #gpStatement .gp-btns { display:none!important; }
}

.gp-sheet .iv-field .gp-step input { width:64px; text-align:center; }
.gp-sheet .iv-field .gp-step { display:inline-flex; }
.gp .vg-h1:focus:not(:focus-visible),.gi .vg-h1:focus:not(:focus-visible),.gp-sheet h2:focus:not(:focus-visible) { outline:none; }

.gp-done.gp-st--bad { background:#fff; border:2px solid #b42318; color:#b42318; }
.gp-done.gp-st--bad b { color:#b42318; }

@media print {
 body.gp-print-statement #app> :not(main),body.gp-print-statement .vg-hero,body.gp-print-statement #gpCard> :not(#gpStatement) { display:none!important; }
 body.gp-print-statement .vg-card { margin:0; padding:0; box-shadow:none; border:0; }
 body.gp-print-statement .vg-col { max-width:none; padding:0; }
 body.gp-print-statement #gpStatement { position:static; border:0; }
}

/* 기업 화면은 공통 주문 부품의 보조 글자도 14px 이상으로 표시합니다. */
.gp .enr-label,.gp .enr-refund ol,.gp .enr-dd-sub,.gp .enr-refund-more,.gp .enr-error,.gp .enr-seller,.gp-table td[data-l]::before { font-size:14px; }
.gp .enr-seller { color:var(--k-muted); }

.gp .iv-field select { width:100%; min-height:52px; padding:10px 14px; border:1px solid #c9ccd4; border-radius:var(--r-inner); background:#fff; color:var(--k-ink); font:inherit; font-size:17px; }
.gp .vg-h1[data-focus-origin="program"]:focus,.gi .vg-h1[data-focus-origin="program"]:focus,.gp-sheet h2[data-focus-origin="program"]:focus { outline:0; }

.gp .enr-refund>a { color:var(--k-violet); font-size:14px; font-weight:700; text-decoration:underline; text-underline-offset:3px; }
.gp .enr-seller { text-align:left; }
.gp .enr-primary:disabled,.gp-btn--main:disabled,.gi .gp-btn--main:disabled { background:#8f93a3; border-color:#8f93a3; color:#fff; opacity:1; }
.gp .enr-changed [data-quote-retry] { width:100%; margin-top:8px; }
.gp-kv-full { grid-column:1 / -1; }
.gp-mobile-num { display:none; }
.gp-table .who .gp-who-only { color:var(--k-ink); font-size:15px; }
.gp-acts { flex-wrap:nowrap; gap:6px; }
.gp-acts .gp-btn { padding-inline:6px; }
.gp-acts details .gp-btn { margin:0; }
.gp-acts details>div { display:grid; gap:6px; padding-top:6px; }
.gp-acts summary { list-style:none; }
.gp-acts summary::-webkit-details-marker { display:none; }
.gp-table td[data-l]::before { margin-right:6px; }
.gp-counts a[aria-pressed="true"] { color:var(--k-lime); box-shadow:inset 0 -2px var(--k-lime); }
.gp-counts a:hover { background:transparent; }
.gp-log-more summary { min-height:44px; display:flex; align-items:center; color:var(--k-violet); cursor:pointer; }
@media(min-width:769px) {
 .gp-wide .vg-col { width:calc(100% - 48px); padding-inline:0; }
 .gp-wide .vg-card { padding-inline:31px; }
 #gpSeatTable { overflow-x:auto; }
 .gp-table td.when { white-space:nowrap; }
 .gp-table .gp-sub { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
}
@media(min-width:1024px) {
 .gp-wide .vg-col { max-width:1120px; }
}
@media(min-width:769px) and (max-width:1023px) {
 .gp-table .when,.gp-table .gp-col-3 { display:none; }
 .gp-table col.gp-col-0 { width:36px!important; }
 .gp-table col.gp-col-1,.gp-table col.gp-col-2 { width:260px!important; }
 .gp-table col.gp-col-4 { width:140px!important; }
 .gp-table col.gp-col-5 { width:160px!important; }
}
@media(max-width:768px) {
 .gp-table colgroup,.gp-table td.num,.gp-table td.gp-empty { display:none; }
 .gp-table td.who { display:flex; align-items:baseline; gap:8px; }
 .gp-table .gp-mobile-num { display:inline; flex:none; font-size:14px; color:var(--k-muted); }
 .gp-table .who>div { min-width:0; }
 .gp-table .gp-sub { margin-left:38px; }
 .gp-acts .gp-btn { flex:1 1 0; }
 .gp-acts details { flex:1 1 0; }
 .gp-acts summary { width:100%; }
 .gp-table td { padding-block:2px; line-height:1.45; }
 .gp-table tr { padding-block:10px; }
 .gp-table .gp-bar { display:inline-flex; }
}
@media(max-width:480px) {
 .gp-wide .vg-h1 span { font-size:22px; white-space:nowrap; }
 .gp .gp-price-period { display:block; }
 .gp .gp-price-period dd,.gp .gp-price-period .enr-dd-sub { text-align:left; }
}
