/* 신청 흐름·마이페이지 화면의 덧칠 — 바탕은 rental.css(공간 대관 화면) 그대로. 옛 자리 site-assets/sample/flow.css(DB 연동 일감 ⑤에서 옮김) */
.gear-top{align-items:stretch}
.gear-photo{border-radius:var(--r); overflow:hidden; background:var(--bg2); min-height:280px}
.gear-photo img{display:block; width:100%; height:100%; object-fit:cover}
.gear-h{font-size:19px; font-weight:800; margin:0 0 6px}
.gear-spec th{width:34%; color:var(--g1); font-size:14px}
.gear-spec td{color:var(--ink)}

/* ── 신청 흐름·마이페이지 ── */
.flow-steps{list-style:none; display:flex; flex-wrap:wrap; gap:8px 18px; padding:0; margin:22px 0 0; font-size:14px; font-weight:700; color:var(--dim)}
.flow-steps li{display:flex; align-items:center; gap:8px}
.flow-steps li span{width:24px; height:24px; border-radius:50%; display:inline-grid; place-items:center; font-size:12px;
  background:var(--bg2); color:var(--dim)}
.flow-steps li.done span{background:var(--pane2); color:var(--g1)}
.flow-steps li[aria-current] {color:var(--ink)}
.flow-steps li[aria-current] span{background:var(--g2); color:#FFFFFF}
/* 상태 뱃지 — 글자로 상태를 말한다(색만으로 가르지 않는다) */
.badge{display:inline-block; font-size:13px; font-weight:800; line-height:1; padding:6px 10px; border-radius:999px;
  vertical-align:middle; white-space:nowrap; letter-spacing:0; background:var(--bg2); color:var(--ink)}
h1 .badge{font-size:14px; vertical-align:8px; letter-spacing:0; font-weight:800}
.st-REQUESTED,.st-APPLIED,.st-OPEN{background:#E8ECFF; color:#1E2A6B}
.st-APPROVED{background:#DDF3E6; color:#11643A}
.st-WAITING,.st-WAITLIST{background:#FFF1DC; color:#8A4B00}
.st-REJECTED{background:#FDE3E3; color:#9B1C1C}
.st-CANCELED,.st-CLOSED,.st-READY{background:#ECEEF2; color:#555D6B}
/* 표 — 좁은 화면에서는 표만 옆으로 민다(쪽 전체는 넘치지 않게) */
.flow-table{overflow-x:auto}
.flow-table .tb{min-width:640px}
.flow-table .tb a{color:var(--ink)}
.flow-table tfoot th,.flow-table tfoot td{border-bottom:0; padding-top:16px; font-weight:800}
.flow-table tfoot small{font-weight:600; color:var(--dim)}
.kind{font-size:12px; font-weight:800; color:var(--g1)}
.sum-total{font-size:18px}
.muted-cell{color:var(--dim); font-size:14px}
.linkish{background:none; border:0; padding:0; font:inherit; font-size:14px; color:var(--g1); cursor:pointer}
/* 입력 */
.fgrid{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px 16px}
.fgrid label{display:flex; flex-direction:column; gap:6px; font-size:14px; font-weight:800; color:var(--ink)}
.fgrid label small{font-weight:600; color:var(--dim)}
.fgrid .wide{grid-column:1 / -1}
.fgrid input,.fgrid textarea{font:inherit; font-weight:500; font-size:15px; padding:11px 12px; border:1px solid var(--line);
  border-radius:10px; background:var(--pane); color:var(--ink); width:100%}
.fgrid input[readonly]{background:var(--bg2); color:var(--dim)}
.fgrid input:focus,.fgrid textarea:focus{outline:2px solid var(--g1); outline-offset:1px}
/* 칸 아래 오류 — 서버 검사에 걸린 칸(신청자·휴대폰·이메일, apply/applicant-fields.jspf) */
.fgrid input[aria-invalid="true"]{border-color:#C62828}
.fgrid .f-err{font-size:13px; font-weight:700; color:#9B1C1C}
@media(max-width:640px){ .fgrid{grid-template-columns:1fr} }
.agree{display:flex; gap:10px; align-items:flex-start; margin-top:18px; font-size:15px; font-weight:800}
/* 동의 체크박스 — 직접 그린 네모(빠졌을 때 네모 자체를 빨강으로, 바깥 선 없이 · PO 2026-11-05) */
.agree input{appearance:none; -webkit-appearance:none; flex:none; display:grid; place-items:center; width:20px; height:20px; margin:1px 0 0;
  border:1.5px solid #9AA3B5; border-radius:5px; background:#FFFFFF; cursor:pointer; transition:background .15s ease, border-color .15s ease}
.agree input::after{content:''; width:10px; height:6px; margin-top:-2px; border:solid #FFFFFF; border-width:0 0 2px 2px; transform:rotate(-45deg); opacity:0}
.agree input:checked{background:var(--g2); border-color:var(--g2)}
.agree input:checked::after{opacity:1}
.agree input:focus-visible{outline:2px solid var(--g1); outline-offset:2px}
.agree input:disabled{background:var(--bg2); border-color:var(--line); cursor:default}
.agree input.v-bad{border-color:#C62828; background:#FDEEEE}
.total-line{display:flex; flex-wrap:wrap; align-items:baseline; gap:4px 10px; font-size:15px; color:var(--dim)}   /* «합계»와 금액 사이 여백(PO 2026-11-05) */
.total-line b{font-size:22px; color:var(--ink)}
/* 완료 */
/* 대관·대여 신청 완료(apply/done.jsp, 목업 v2 안 A) — 두 칸(.two): 왼쪽 영수증, 오른쪽 다음 단계·취소·단추. */
.ok-ic{flex:none; width:44px; height:44px; border-radius:50%; display:grid; place-items:center; background:var(--g2); color:#FFFFFF}
.ok-ic svg{width:24px; height:24px}
/* 영수증 줄 — 신청번호·내역(이름·이용 일시·금액)·합계·납부 */
.rc-sheet{margin:0; padding:0}
.rc-sheet dt{font-size:14px; font-weight:800; color:var(--g1)}
.rc-sheet dd{margin:0}
.rc-line{display:flex; justify-content:space-between; align-items:baseline; gap:16px; padding:15px 2px; border-bottom:1px solid var(--line2)}
.rc-line dd{font-size:15px; color:var(--ink); text-align:right}
.rc-items{padding:15px 2px 6px; border-bottom:1px solid var(--line2)}
.rc-items ul{list-style:none; margin:10px 0 0; padding:0}
.rc-items li{display:flex; justify-content:space-between; align-items:baseline; gap:16px; padding:9px 0; border-top:1px dashed var(--line)}
.rc-items li:first-child{border-top:0}
.rc-items .nm{display:flex; flex-wrap:wrap; gap:2px 14px; align-items:baseline; min-width:0}
.rc-items .nm b{font-size:15px; color:var(--ink)}
.rc-items .nm span{font-size:14px; color:var(--dim)}
.rc-items .amt{flex:none; font-size:15px; color:var(--ink)}
/* 합계·수강료 줄 — 회색 띠 대신 위에 진한 선(영수증 꼴). 글자는 다른 줄과 같은 시작선(오·열, PO 2026-11-05) */
.rc-sum{border-bottom:0; border-top:1px solid var(--line)}
.rc-sheet > :has(+ .rc-sum){border-bottom:0}
.rc-sum:not(:last-child){border-bottom:1px solid var(--line2)}   /* 아래에 납부 줄이 이어지면 가는 선 */
.rc-sum dt{font-size:15px}
.rc-sum dd b{font-size:20px; font-weight:800; color:var(--g1)}
.rc-sheet > :last-child:not(.rc-sum){border-bottom:0; padding-bottom:4px}
.rc-sum{align-items:center; padding-top:16px; padding-bottom:16px}   /* 위아래 여백 같게, 글자는 세로 가운데 */
/* 다음 단계 — 세로 네 칸, 끝난 칸·지금 칸을 잇는 선 */
.nx{list-style:none; margin:16px 0 0; padding:0; display:grid; gap:16px}
.nx li{position:relative; display:grid; grid-template-columns:26px 1fr; column-gap:12px; font-size:14px}
.nx .n{position:relative; grid-row:span 2; width:26px; height:26px; border-radius:50%; display:grid; place-items:center; font-size:12px; font-weight:800;
  background:var(--pane); color:var(--dim); box-shadow:inset 0 0 0 1.5px var(--line)}
.nx li.done .n{background:var(--g2); color:#FFFFFF; box-shadow:none}
.nx li[aria-current] .n{color:var(--g1); box-shadow:inset 0 0 0 2px var(--g1)}
.nx b{display:block; margin-top:2px; font-size:14px; color:var(--ink)}
.nx li:not(.done):not([aria-current]) b{color:var(--dim)}
.nx small{grid-column:2; display:block; margin-top:2px; font-size:13px; line-height:1.5; color:var(--dim)}
.nx li::before{content:''; position:absolute; left:12px; top:30px; bottom:-14px; width:2px; background:var(--line)}
.nx li:last-child::before{display:none}
.nx li.done::before{background:var(--g2)}
/* 영수증 아래 안내 한 줄 — 공통 안내 모양(site.css .info), 회색 상자·제목 없이(PO 2026-11-05) */
.ok-note{margin:16px 0 0 4px; font-size:14px}
/* 좁은 화면 — 내역 이름·일시는 두 줄 */
@media(max-width:640px){ .rc-items .nm{flex-direction:column} }
.btn.ghost{background:var(--pane); color:var(--ink); box-shadow:inset 0 0 0 1px var(--line)}
/* 취소 단추 — 다시 신청(남색 꽉 찬 단추)과 같은 결: 테두리 없이 옅은 그라데이션(PO 2026-11-05) */
.btn.danger{background:linear-gradient(100deg, #8A1818 0%, #A11F24 60%, #B8302F 100%); color:#FFFFFF; box-shadow:none}
.btn.danger:hover{background:linear-gradient(100deg, #741313 0%, #8E1A1E 60%, #A32A29 100%); color:#FFFFFF; box-shadow:none}
/* 교육 정원 */
.cnt-line{font-size:15px; color:var(--dim)}
.cnt-line b{font-size:20px; color:var(--ink)}
.gauge-bar{display:block; height:8px; border-radius:99px; background:var(--bg2); margin:10px 0 12px; overflow:hidden}
.gauge-bar i{display:block; height:100%; background:var(--g2); border-radius:99px}
.cnt-note{font-size:14px; color:var(--dim); line-height:1.7}
.cnt-note b{color:var(--ink)}
/* 마이페이지 */
/* 마이페이지 목록(/my, 목업 v4 PO 확정 2026-11-04) — 머리 아래 회원정보 한 줄, 탭 둘, 조회 상자(기준 고르기·기간·상태 한 줄 + 검색어 한 줄), 총 n건, 쪽 번호.
   이용이 끝난 줄은 회색 바탕. 휴대폰(640 이하)은 조회 상자를 접고 지금 조건 요약 띠(.qfold)만 — 스크립트가 없으면 펼친 채 */
#ml{scroll-margin-top:80px}
@media(max-width:980px){ #ml{scroll-margin-top:60px} }
.my-acct{margin-top:10px; font-size:14px; color:var(--dim)}
.my-acct a{color:var(--g1); font-weight:700; text-decoration:underline; text-underline-offset:3px; margin-left:6px}
.my-tabs{display:flex; align-items:flex-end; gap:12px; border-bottom:1px solid var(--line); margin:0 0 20px}
.my-tabs nav{display:flex; gap:28px}
.my-tabs nav a{padding:14px 2px 12px; font-size:18px; font-weight:800; color:var(--dim); border-bottom:3px solid transparent; margin-bottom:-1px}
.my-tabs nav a:hover{color:var(--g1)}
.my-tabs nav a[aria-current]{color:var(--ink); border-color:var(--g1)}
.my-tabs em{font-style:normal; font-size:14px; font-weight:700; color:var(--g1); margin-left:6px}
.qbox{display:flex; flex-direction:column; gap:14px; padding:20px 22px; border:1px solid var(--line); border-radius:var(--r); background:var(--pane2); margin:0 0 18px}
.qbox .q-row{display:flex; flex-wrap:wrap; align-items:center; gap:12px 36px}
.qbox .q-row + .q-row{column-gap:10px}
.qbox .q-set{display:flex; flex-wrap:wrap; align-items:center; gap:10px}
.qbox .lb{min-width:44px; font-size:14px; font-weight:800; color:var(--ink)}
.qbox .dates{display:inline-flex; align-items:center; gap:8px; color:var(--dim)}
.qbox .q-basis{font:inherit; font-size:14px; font-weight:800; color:var(--ink); padding:9px 30px 9px 12px; border:1px solid var(--line); border-radius:10px;
  background:var(--pane) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' fill='none' stroke='%236B7287' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 10px center/12px;
  appearance:none; cursor:pointer}
.qbox .q-basis:focus{outline:0; border-color:var(--g1)}
.qbox .seg button[hidden]{display:none}
.qbox input[type=date],.qbox input[type=search]{font:inherit; font-size:14px; padding:9px 12px; border:1px solid var(--line); border-radius:10px; background:var(--pane); color:var(--ink)}
.qbox input[type=date]{width:150px}
.qbox input:focus{outline:0; border-color:var(--g1)}
.qbox .seg{display:inline-flex; border:1px solid var(--line); border-radius:10px; overflow:hidden; background:var(--pane)}
.qbox .seg button,.qbox .seg label span{display:block; cursor:pointer; padding:9px 13px; font-family:inherit; font-size:14px; font-weight:700; color:var(--dim);
  background:transparent; border:0; border-left:1px solid var(--line); white-space:nowrap}
.qbox .seg > :first-child, .qbox .seg > :first-child span{border-left:0}
.qbox .seg button[aria-pressed=true],.qbox .seg input:checked + span{background:var(--g1); color:#FFFFFF}
.qbox .seg label{position:relative; display:block}
.qbox .seg input{position:absolute; opacity:0; width:1px; height:1px; margin:0}
.qbox .seg input:focus-visible + span,.qbox .seg button:focus-visible{outline:2px solid var(--g1); outline-offset:-3px}
.qbox .q-kw{flex:1 1 360px}
.qbox .q-kw input{flex:1; min-width:0}
.qbox .q-go{display:flex; align-items:center; gap:6px}
.qbox .go{cursor:pointer; padding:10px 24px; border:0; border-radius:10px; background:var(--g1); color:#FFFFFF; font-family:inherit; font-size:14px; font-weight:800}
.qbox .reset{padding:10px 6px; font-size:14px; font-weight:700; color:var(--dim)}
.qbox .reset:hover{color:var(--g1)}
.no-js .qbox .q-quick{display:none}
.qfold{display:none}
.my-count{margin:0 0 10px; font-size:14px; color:var(--dim)}
.my-count b{color:var(--ink)}
.pager .off{opacity:.35}
.mylist li.past a{background:#F3F4F7; border-color:#E6E8EE}
.mylist li.past a:hover{border-color:var(--g1)}
.mylist li.past .t b,.mylist li.past .m{color:#4A5168}
@media(max-width:640px){
  .my-tabs nav{flex:1; gap:0}
  .my-tabs nav a{flex:1; text-align:center; font-size:16px}
  .qfold{display:flex; align-items:center; gap:8px; margin:0 0 14px; padding:12px 14px; border:1px solid var(--line); border-radius:12px;
    background:var(--pane2); font-size:13px; color:var(--ink)}
  .no-js .qfold{display:none}
  .qfold > span{flex:1; line-height:1.5; min-width:0; overflow-wrap:anywhere}
  .qfold button{cursor:pointer; display:inline-flex; align-items:center; gap:4px; padding:8px 12px; border:1px solid var(--line); border-radius:10px;
    font-family:inherit; font-size:13px; font-weight:700; color:var(--g1); background:var(--pane)}
  .qfold button svg{transition:transform .2s ease}
  .qfold.is-open{margin-bottom:0; border-radius:12px 12px 0 0; border-bottom-color:var(--line2)}
  .qfold.is-open button svg{transform:rotate(180deg)}
  html:not(.no-js) .qbox:not(.is-open){display:none}
  .qfold.is-open + .qbox{border-top:0; border-radius:0 0 12px 12px}
  .qbox{gap:14px; padding:16px}
  .qbox .q-row{flex-direction:column; align-items:stretch; gap:14px}
  .qbox .q-set{flex-direction:column; align-items:stretch; gap:8px}
  .qbox .dates{display:flex}
  .qbox .q-basis{align-self:flex-start}
  .qbox input[type=date]{width:auto; flex:1; min-width:0}
  .qbox .seg{display:flex; flex-wrap:wrap}
  .qbox .seg > *{flex:1}
  .qbox .seg button,.qbox .seg label span{text-align:center; padding:9px 4px}
  .qbox .q-kw{flex:none}
  .qbox .go{flex:1}
}
.mylist{list-style:none; padding:0; margin:0; display:grid; gap:10px}
.mylist a{display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:16px; padding:18px 20px;
  background:var(--pane); border:1px solid var(--line); border-radius:14px; color:var(--ink); transition:border-color .2s ease}
.mylist a:hover{border-color:var(--g1)}
.mylist .badge{min-width:76px; text-align:center}
.mylist .t{display:flex; flex-direction:column; gap:4px; min-width:0}
.mylist .t b{font-size:16px}
.mylist small{font-size:13px; color:var(--dim); font-weight:500}
.mylist .m{display:flex; flex-direction:column; align-items:flex-end; gap:4px; font-weight:800; font-variant-numeric:tabular-nums}
@media(max-width:640px){ .mylist a{grid-template-columns:1fr auto; gap:8px 12px} .mylist .badge{justify-self:start} .mylist .t{grid-column:1 / -1; grid-row:2} .mylist .m{grid-column:2; grid-row:1} }
/* 신청 상세(마이페이지) — 상자 둘(PO 2026-11-05): 위 상태는 테두리 없는 회색 바탕, 아래 내용은 상자 하나를 가는 선으로 나눔 */
/* 상태 상자 — 아이콘 + 큰 글씨 상태 이름 + 작은 회색 글씨, 왼쪽 띠. 모양은 data-st(신청 상태 값) 하나로 고른다. 색은 뱃지(.st-*) 글자색 그대로.
   PC 는 신청번호·신청 일시가 오른쪽 위, 640 이하는 맨 아래 한 줄 */
.my-st{--st:#1E2A6B; --ic:none; position:relative; overflow:hidden; display:grid; grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center; gap:8px 14px; background:#F3F4F7; border-radius:var(--r); padding:24px 28px 24px 32px}
.my-st::before{content:''; position:absolute; left:0; top:0; bottom:0; width:6px; background:var(--st)}
.my-st .ic{width:30px; height:30px; border-radius:50%; background:var(--st); display:grid; place-items:center}
.my-st .ic::before{content:''; width:18px; height:18px; background:#FFFFFF; -webkit-mask:var(--ic) center / contain no-repeat; mask:var(--ic) center / contain no-repeat}
.my-st .nm{margin:0; font-size:22px; font-weight:800; letter-spacing:-.03em; line-height:1.3; color:var(--st)}
.my-st .no{margin:0; font-size:14px; color:var(--dim); white-space:nowrap}
.my-st .say{grid-column:2 / -1; margin:0; font-size:15px; color:var(--dim)}
.my-st .reject{grid-column:2 / -1; margin-top:4px}
.my-st .reject.why{background:var(--pane); color:var(--ink)}
.my-st .reject.why p{color:var(--dim)}
.my-st[data-st=REQUESTED],.my-st[data-st=APPLIED]{--st:#1E2A6B}
.my-st[data-st=APPROVED]{--st:#11643A}
.my-st[data-st=WAITING]{--st:#8A4B00}
.my-st[data-st=REJECTED]{--st:#9B1C1C}
.my-st[data-st=CANCELED]{--st:#555D6B}
/* 아이콘 — 시계(승인 대기·접수·대기) · 체크(승인 완료, 이용·수업 끝남도 같음) · 느낌표(반려) · 빼기(취소) */
.my-st[data-st=REQUESTED],.my-st[data-st=APPLIED],.my-st[data-st=WAITING]{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='7.2'/%3E%3Cpath d='M12 8.2V12l2.6 1.7'/%3E%3C/svg%3E")}
.my-st[data-st=APPROVED]{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 12.5l3.8 3.8 7.2-8'/%3E%3C/svg%3E")}
.my-st[data-st=REJECTED]{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 6.8v6.4'/%3E%3Cpath d='M12 17.2v.1'/%3E%3C/svg%3E")}
.my-st[data-st=CANCELED]{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7.5 12h9'/%3E%3C/svg%3E")}
@media(max-width:640px){
  .my-st{grid-template-columns:auto minmax(0,1fr); padding:20px 20px 20px 24px}
  .my-st .nm{font-size:20px}
  .my-st .say,.my-st .reject{grid-column:1 / -1}
  .my-st .no{grid-column:1 / -1; order:9; white-space:normal; font-size:13px; padding-top:10px; margin-top:4px; border-top:1px solid #E3E6EC}
}
.my-main{margin-top:var(--gap); padding:0}
.my-sec{padding:26px 28px}
.my-sec + .my-sec{border-top:1px solid var(--line2)}
.my-sec > .gear-h,.my-sec > .tb > caption{margin:0 0 16px; padding:0; font-size:18px; font-weight:800; color:var(--ink); letter-spacing:-.02em}
.my-sec > .tb > caption{padding-bottom:16px}
.my-main--split{display:grid; grid-template-columns:minmax(0,1.35fr) minmax(0,1fr)}
.my-main--split > .my-sec + .my-sec{border-top:0; border-left:1px solid var(--line2)}
@media(max-width:900px){
  .my-main--split{grid-template-columns:minmax(0,1fr)}
  .my-main--split > .my-sec + .my-sec{border-left:0; border-top:1px solid var(--line2)}
}
@media(max-width:640px){ .my-sec{padding:22px 20px} }
.reject{flex-basis:100%; background:#FDF1F1; border-radius:12px; padding:14px 16px; color:#7A1717}
.reject b{font-size:14px}
.reject p{color:#7A1717; margin-top:4px}
/* 마이페이지(DB 연동 일감 ⑤) — 빈 목록 한 줄, 처리 결과 한 줄, 이용자 취소 펼침 상자 */
.my-empty{padding:18px 20px; border:1px dashed var(--line); border-radius:var(--r); color:var(--dim); font-size:15px}
.my-say{padding:12px 16px; border-radius:12px; font-size:15px; font-weight:700; margin-bottom:var(--gap)}
.my-say.ok{background:#DDF3E6; color:#11643A}
.my-say.bad{background:#FDF1F1; color:#7A1717}
.my-say.info{background:#E8ECFF; color:#1E2A6B}
/* 신청서 표의 줄 문제(사유) — 그 줄에만 */
.flow-table .msg{color:#9B1C1C; font-weight:700; font-size:14px}
/* 신청서 담은 항목 표(목업 A안, PO 2026-10-26) — 줄 끝 빼기는 공간대관 선택 시간 칩의 동그란 × 와 같은 선·색, 표 줄 높이에 맞춰 28px · 누르는 자리 44px */
.items-tb td.rm{width:1%; white-space:nowrap; text-align:right}
.items-tb td.rm form{display:inline}
.items-tb tbody td, .items-tb tbody th{vertical-align:middle}
.rm-x{width:28px; height:28px; border-radius:50%; border:1px solid var(--line); background:transparent; color:var(--dim);
  cursor:pointer; font-family:var(--sans); font-size:15px; line-height:1; display:inline-grid; place-items:center; padding:0;
  position:relative; transition:border-color .3s ease, color .3s ease}
.rm-x::after{content:''; position:absolute; inset:-8px}
.rm-x:hover{border-color:var(--g1); color:var(--g1)}
/* 폰 폭 — 표를 옆으로 밀지 않고 줄마다 묶음으로(구분 · 이름 · 금액 · × / 날짜와 시간 / 이용 시간 · 요금). 열 이름은 읽어 주는 기계만 */
@media(max-width:640px){
  .flow-table.items-card{overflow:visible}
  .flow-table .items-tb{min-width:0}
  .items-tb, .items-tb tbody, .items-tb tfoot{display:block}
  .items-tb thead{position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0)}
  .items-tb caption:not(.sr){display:block}   /* 신청 상세의 보이는 표 제목 — 표를 블록으로 풀면 좁게 접히므로 */
  .items-tb tbody tr{display:flex; flex-wrap:wrap; align-items:center; gap:4px 8px; padding:14px 0; border-bottom:1px solid var(--line2)}
  .items-tb tbody tr:first-child{padding-top:2px}
  .items-tb tbody td, .items-tb tbody th, .items-tb tbody .n{border:0; padding:0; text-align:left}
  .items-tb .k{order:1}
  .items-tb .nm{order:2; flex:1 1 0; min-width:0}
  .items-tb .am{order:3}
  .items-tb td.rm{order:4; width:auto; padding-left:6px}
  .items-tb .wh{order:5; flex-basis:100%; font-size:15px}
  .items-tb .ln, .items-tb .fe{order:6; font-size:13.5px; color:var(--dim)}
  .items-tb .fe::before{content:'· '}
  .items-tb .pr{order:6; flex-basis:100%}
  .items-tb tfoot tr{display:flex; justify-content:space-between; align-items:baseline}
  .items-tb tfoot th, .items-tb tfoot td{padding-left:0; padding-right:0}
  .items-tb tfoot td:empty{display:none}
}
/* 회차 표(교육 상세·수강 상세) 폰 폭 — 옆으로 밀지 않고 회차마다 카드처럼: 회차 · 날짜 / 시간 / 메모. 열 이름은 읽어 주는 기계만 */
@media(max-width:640px){
  .flow-table.rounds-card{overflow:visible}
  .flow-table .rounds-tb{min-width:0}
  .rounds-tb, .rounds-tb tbody{display:block}
  .rounds-tb thead{position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0)}
  .rounds-tb tbody tr{display:flex; flex-wrap:wrap; align-items:baseline; gap:2px 10px; padding:12px 0; border-bottom:1px solid var(--line2)}
  .rounds-tb tbody tr:first-child{padding-top:2px}
  .rounds-tb tbody tr:last-child{border-bottom:0; padding-bottom:0}
  .rounds-tb tbody td, .rounds-tb tbody th{border:0; padding:0; text-align:left}
  .rounds-tb .tm{flex-basis:100%; color:var(--dim); font-size:14.5px}
  .rounds-tb .mm{flex-basis:100%; font-size:13.5px}
  .rounds-tb .mm:empty{display:none}
}
/* 신청 상세 맨 아래 단추 줄(PO 2026-11-04) — 목록으로 · 신청 취소를 나란히 가운데(PO 2026-11-05). 못 하는 이유는 내용 상자 아래(.my-why).
   신청 취소는 단추 하나만 든 폼(.my-cancel) — 누르면 확인 창 한 번(PO 2026-11-17) */
.my-acts{display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:10px; margin-top:44px}
/* 단추 줄 — 흰 테두리 단추는 묻혀서(PO 2026-11-05): 목록은 흐린 회색 바탕, 다시 신청은 남색 꽉 찬 단추, 취소는 빨강. 같은 크기 */
.my-acts > .btn,.my-acts > .my-cancel > .btn{min-width:150px; justify-content:center; padding:15px 28px; font-size:16px}
.my-acts > .btn.ghost{background:#EEF0F4; color:var(--ink); box-shadow:none}
.my-acts > .btn.ghost:hover{background:#E3E6EC; color:var(--ink); box-shadow:none}
/* 신청 상세 — 합계 아래 납부·환불 한 줄(따로 상자 없이, PO 2026-11-05) */
.pay-line{display:flex; flex-direction:column; align-items:flex-end; gap:4px; margin:12px 0 0; font-size:14px; color:var(--dim)}
.pay-line > div{display:flex; gap:10px}
.pay-line dt{color:var(--g1); font-weight:800}
.pay-line dd{margin:0}
.pay-line dd b{color:var(--ink)}
/* 직접 취소할 수 없는 이유 — 내용 상자(.my-main) 바로 아래, 상자 왼쪽 끝에 맞춘 ⓘ + 작은 흐린 글씨(PO 2026-11-17).
   아이콘은 글자 높이·같은 색(currentColor). 단추 줄 위 여백은 안내가 없을 때와 같은 .my-acts 그대로 */
.my-why{display:flex; align-items:flex-start; gap:6px; margin:12px 0 0; color:var(--dim); font-size:14px; line-height:1.5}
.my-why > svg{flex:none; width:1.15em; height:1.15em; margin-top:.18em}
.my-cancel{margin:0}

/* ── 교육 상세(/education/{번호}) 절 사이 간격 — PO 2026-10-27 edu-detail-gap ──
   절 위 여백이 rental.css 의 --sec(80px · 640 이하 52px)라 넓다는 지적 → 이 화면의 절(.sec-edu)만 2/3(54px · 640 이하 35px).
   공용 --sec 은 그대로 둔다(대관·장비·신청·마이페이지가 같이 쓴다). 좌우 폭은 손대지 않는다 */
.sec.sec-edu{padding-top:54px}
@media(max-width:640px){ .sec.sec-edu{padding-top:35px} }

/* 입력 확인 안내(apply/form.js .v-msg) — 브라우저 주황 말풍선 대신. 꽉 찬 빨강 그라데이션 말풍선 + 흰 글자, 칸을 가리키는 세모(PO 2026-11-05) */
.v-msg{position:absolute; z-index:20; display:flex; align-items:center; gap:8px; width:max-content; max-width:min(340px, 90vw); margin:0;
  padding:9px 16px 9px 9px; border-radius:14px; background:linear-gradient(100deg, #B0212A 0%, #D23A36 60%, #E2583F 100%);
  color:#FFFFFF; font-size:13px; font-weight:700; line-height:1.4; letter-spacing:-.01em;
  box-shadow:0 8px 20px rgba(176,33,42,.28); animation:v-in .22s ease-out}
.v-msg::before{content:'!'; flex:none; display:grid; place-items:center; width:20px; height:20px; border-radius:50%;
  background:#FFFFFF; color:#B0212A; font-size:12px; font-weight:900}
/* 위 칸을 가리키는 꼭지 — 끝을 둥글린 마름모를 말풍선 뒤에 겹쳐 몸통과 매끈하게 이어지게(말풍선 왼쪽 끝 색) */
.v-msg::after{content:''; position:absolute; z-index:-1; left:13px; top:-5px; width:12px; height:12px;
  background:#B3222A; border-radius:3px 0 0 0; transform:rotate(45deg)}
@keyframes v-in{from{opacity:0; transform:translateY(-4px)} to{opacity:1; transform:none}}
@media(prefers-reduced-motion:reduce){ .v-msg{animation:none} }
.fgrid input.v-bad,.fgrid textarea.v-bad{border-color:#C62828}

/* 합계 상자(edu/site/apply.jsp .fee-box, 인원 합 방식 유료 교육) — '알아 두실 것' 상자 아래·신청 단추 위(PO 2026-11-18 B3안).
   폭·모서리·테두리는 .card 와 같게(같은 열의 한 식구), 높이만 얇게. 단추와 한 묶음으로 보이게 바로 뒤 .go-out 위 여백만 줄인다(다른 화면 단추 위 여백은 그대로) */
.fee-box{display:flex; align-items:center; justify-content:space-between; gap:12px; padding:16px 22px;
  background:var(--pane); border:1px solid var(--line); border-radius:var(--r)}
.fee-box-l{display:flex; align-items:baseline; gap:8px}
.fee-box-l b{font-size:15px; font-weight:800; color:var(--ink)}
.fee-box-l small{font-size:13px; font-weight:600; color:var(--dim)}
.fee-box-v{font-size:20px; font-weight:800; color:var(--ink); white-space:nowrap}
.stack > .fee-box + .go-out{margin-top:calc(14px - var(--gap)); padding-top:0}
/* 신청 단추 묶음(edu/site/apply.jsp .go-stack) — 신청 단추 아래 가운데 '← 이전' 밑줄 글자(PO 2026-11-05: 회색 단추는 어색) */
.go-stack{display:flex; flex-direction:column; align-items:stretch; gap:14px; width:min(100%, 440px)}
.go-stack .cnt-note{order:-1; margin:0}
.go-stack .go{margin:0; display:flex}
.go-stack .gcta{width:100%}
.go-back{order:1; margin:0; display:flex; justify-content:center}
.go-back a{display:inline-flex; align-items:center; gap:5px; color:var(--dim); font-size:14px; font-weight:700;
  text-decoration:underline; text-underline-offset:4px; text-decoration-thickness:1px; text-decoration-color:var(--line)}
.go-back a svg{width:15px; height:15px}
.go-back a:hover,.go-back a:focus-visible{color:var(--ink); text-decoration-color:currentColor}


/* 신청 완료(대관·수강) 다시(PO 2026-11-05) — 가운데 한 줄기(최대 860): 완료 머리 → (대관) 다음 단계 가로 → 영수증 상자 → 단추. 굵은 선 없이 가는 선만 */
.ok-wrap{max-width:860px}
.ok-hero{display:flex; flex-direction:column; align-items:center; text-align:center; gap:10px; padding:8px 0 30px}
.ok-hero .ok-ic{width:60px; height:60px; margin-bottom:6px; box-shadow:0 10px 24px rgba(30,42,107,.22)}
.ok-hero .ok-ic svg{width:30px; height:30px}
.ok-hero h2{display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:8px 12px; margin:0; font-size:26px; font-weight:800; letter-spacing:-.03em}
.ok-hero p{margin:0; font-size:15px; line-height:1.7; color:var(--dim); max-width:560px}
.ok-steps{margin:0 0 var(--gap); padding:22px 32px 24px; border-radius:var(--r); background:var(--pane2)}
.ok-steps > .gear-h{margin:0 0 16px; font-size:15px; color:var(--g1)}
.ok-steps .nx{margin:0}
.ok-wrap .ok-main{padding:10px 30px 24px}
/* 글자 시작선 맞춤 — 다음 단계 띠 · 영수증 글자 · 아래 안내 한 줄이 모두 상자 안쪽 32px 에서 시작 */
.ok-wrap .ok-note{margin:16px 0 0 32px}
.ok-wrap .rc-line:first-child{padding-top:18px}
@media(max-width:640px){ .ok-hero h2{font-size:22px} .ok-wrap .ok-main{padding:6px 20px 20px} .ok-steps{padding:20px 22px} .ok-wrap .ok-note{margin-left:22px} }
/* 다음 단계 가로 네 칸 — 번호 위 · 제목·설명 아래, 잇는 선은 번호 줄에만. 좁으면 세로 */
.nx.nx--row{grid-template-columns:repeat(4, minmax(0,1fr)); gap:12px}
.nx--row li{display:flex; flex-direction:column; align-items:flex-start}
.nx--row .n{margin-bottom:10px; background:#FFFFFF}
.nx--row li.done .n{background:var(--g2)}
.nx--row b{margin-top:0}
.nx--row small{margin-top:3px}
.nx--row li::before{left:34px; right:-8px; top:12px; bottom:auto; width:auto; height:2px}
@media(max-width:640px){
  .nx.nx--row{grid-template-columns:1fr; gap:16px}
  .nx--row li{display:grid; grid-template-columns:26px 1fr; column-gap:12px}
  .nx--row .n{margin-bottom:0}
  .nx--row li::before{left:12px; right:auto; top:30px; bottom:-14px; width:2px; height:auto}
}

/* 마이페이지 상세의 제목·자원 이름 링크 — 끝의 › 로 눌러지는 줄 알리고, 마우스를 올리면 밑줄(PO 2026-11-17) */
.my-tlink{color:inherit; text-decoration:none}
.my-tlink:hover,.my-tlink:focus-visible{text-decoration:underline}
