/* 렌탈 상담 신청(rental/apply.html)과 고객 전용 렌탈신청서(rental/my.html) — 2026-11-27
   견적 요청 페이지와 같은 4칸 격자와 입력 칸 모양(quote-page.css 의 .qt-*)을 그대로 쓴다: 첫 칸에 묶음 이름, 둘째부터 넷째 칸에 내용.
   이 파일에는 두 페이지에만 필요한 것만 둔다: 양식 제목 줄, 묶음 번호, 날짜 칸, 파일 첨부 칸, 진행 단계 줄, 추천 장비, 수량 고르는 줄, 예상 금액 표, 안내 상자.
   상자는 쓰지 않고 선과 여백으로 구분한다. 모든 내용의 왼쪽 끝은 격자의 칸 시작선에 맞춘다.
   화면 동작은 assets/js/rental-apply.js, assets/js/rental-my.js. 접수는 api/rental.php, api/rental_my.php. */

/* ---- 양식 제목 줄 ---- */
.rt-formhead { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; padding-bottom: 18px; border-bottom: 2px solid var(--navy); }
.rt-formhead h2 { margin: 0; font-size: clamp(20px, 1.8vw, 26px); font-weight: 800; color: #000; letter-spacing: -0.015em; line-height: 1.35; word-break: keep-all; }
.rt-formhead p { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--text-muted); }
.rt-formhead em { font-style: normal; color: var(--accent-red); margin-right: 2px; }
.rt-groups { margin-top: 0; }
.rt-groups > .qt-group:first-child { border-top: 0; }

/* 필수 표시(*): 굵고 조금 크게 (파트너 등록 양식과 같은 규칙) */
.rt-form .qt-field label em, .rt-form .qt-lbl em, .rt-formhead em { font-style: normal; color: var(--accent-red); margin-left: 3px; font-weight: 900; font-size: 1.25em; line-height: 1; vertical-align: -0.12em; }
.rt-formhead em { margin-left: 0; }
.rt-form .qt-agree em { margin-left: 0; font-weight: 900; }
.rt-form .qt-field > label small { margin-left: 8px; font-size: 12.5px; font-weight: 500; color: var(--text-muted); }

/* 묶음 번호 */
.rt-no { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 800; letter-spacing: 1.4px; line-height: 1.4; color: var(--eyebrow-red); font-variant-numeric: tabular-nums; }

/* 날짜 칸: 다른 입력 칸과 같은 높이와 테두리 */
.rt-form .qt-field input[type="date"] { appearance: none; -webkit-appearance: none; display: block; width: 100%; min-width: 0; height: 48px; margin: 0; padding: 0 14px; border: 1.5px solid var(--gray-line); border-radius: 10px; background-color: #fff; color: var(--text-dark); font: inherit; font-size: 15px; line-height: 1.4; box-sizing: border-box; transition: border-color .2s, box-shadow .2s; }
.rt-form .qt-field input[type="date"]::-webkit-date-and-time-value { text-align: left; }
.rt-form .qt-field input[type="date"]::-webkit-calendar-picker-indicator { cursor: pointer; opacity: .7; }
.rt-form .qt-field.is-bad input[type="date"] { border-color: var(--accent-red); }
.rt-form .qt-field textarea.is-short { min-height: 96px; }
.rt-form .qt-field input[readonly] { background-color: #f6f7f9; color: var(--text-body); border-color: var(--gray-line); box-shadow: none; cursor: default; }

/* ---- 파일 첨부 칸 ---- */
.rt-file { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 14px; min-height: 48px; padding: 5px 14px 5px 5px; border: 1.5px dashed #b9bcc9; border-radius: 10px; background: #fff; box-sizing: border-box; cursor: pointer; transition: border-color .2s, background-color .2s; }
.rt-file input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.rt-file-btn { display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border-radius: 7px; background: var(--navy); color: #fff; font-size: 14px; font-weight: 800; white-space: nowrap; }
.rt-file-name { min-width: 0; font-size: 14.5px; color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rt-file.has-file { border-style: solid; border-color: var(--navy); background: var(--ice-pale); }
.rt-file.has-file .rt-file-name { color: var(--text-dark); font-weight: 700; }
.rt-file:hover, .rt-file.is-over { border-color: var(--blue); }
.rt-file:has(input:focus-visible) { outline: 2px solid var(--blue); outline-offset: 2px; }
.qt-field.is-bad .rt-file { border-color: var(--accent-red); }

/* 보내기 줄: 왼쪽 이름과 동의 문구의 첫 줄 높이를 맞춘다 */
.rt-form .qt-send .qt-ghead h3 { line-height: 22px; }

/* ---- 상담 신청 페이지: 절차 섹션 아래의 양식 섹션 ---- */
.rt-sec { border-top: 0; }

/* ================= 고객 전용 렌탈신청서 (my.html) ================= */
.rm-sec .plt-title { font-size: clamp(30px, 3.2vw, 46px); }


/* ---- 안내 줄(신청 완료, 예시 화면, 수정 불가 안내) ---- */
.rt-notice { display: none; margin: 0 0 clamp(28px, 3vw, 40px); padding: 16px 18px; border: 1px solid var(--navy); border-radius: 10px; background: var(--ice-pale); font-size: 14.5px; line-height: 1.7; color: var(--navy); word-break: keep-all; }
.rt-notice.is-on { display: block; }
.rt-notice b { display: block; font-weight: 800; }
.rt-notice.is-demo { border-color: var(--accent-red); background: #fdf1f2; color: #8f1420; }

/* ---- 열 수 없을 때 ---- */
.rt-state { display: none; padding: clamp(40px, 6vw, 72px) 0; border-top: 2px solid var(--navy); border-bottom: 1px solid rgba(22, 32, 74, .2); }
.rt-state.is-on { display: block; }
.rt-state h2 { margin: 0; font-size: clamp(20px, 1.8vw, 26px); font-weight: 800; color: #000; letter-spacing: -0.015em; line-height: 1.4; word-break: keep-all; }
.rt-state p { margin: 12px 0 0; max-width: 640px; font-size: 15.5px; line-height: 1.8; color: var(--text-body); word-break: keep-all; }
.rt-state .cta-btn { margin-top: 24px; }
.rt-loading { color: var(--text-muted); }
#rmForm[hidden] { display: none; }

/* ---- 장비 선택: 한 장비가 한 줄. 세 칸에 사진과 모델 | 제조사와 참고영상 | 임대가격 ---- */
.rt-eqs { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--gray-line); }
.rt-eqs > li { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; border-bottom: 1px solid var(--gray-line); }
.rt-eq { position: relative; grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; align-items: center; padding: 16px 0; cursor: pointer; transition: background-color .2s; }
.rt-eq > * { min-width: 0; }
.rt-eq input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; margin: 0; opacity: 0; }
.rt-eq-main { display: flex; align-items: center; gap: 16px; }
.rt-eq-main > i { position: relative; flex: none; width: 20px; height: 20px; border: 1.5px solid #b9bcc9; border-radius: 50%; background: #fff; box-sizing: border-box; transition: border-color .18s; }
.rt-eq-main > i::after { content: ""; position: absolute; inset: 3.5px; border-radius: 50%; background: var(--navy); transform: scale(0); transition: transform .2s cubic-bezier(.34, 1.56, .64, 1); }
.rt-eq:has(input:checked) .rt-eq-main > i { border-color: var(--navy); }
.rt-eq:has(input:checked) .rt-eq-main > i::after { transform: scale(1); }
.rt-eq:has(input:focus-visible) .rt-eq-main > i { outline: 2px solid var(--blue); outline-offset: 2px; }
.rt-eqs.is-single .rt-eq { cursor: default; }
.rt-eqs.is-single .rt-eq-main > i { display: none; }
.rt-eqs:not(.is-single) .rt-eq:has(input:checked) { background: var(--ice-pale); }
.rt-eqs:not(.is-single) .rt-eq { padding-left: 12px; padding-right: 12px; margin: 0 -12px; }
.rt-eq-photo { flex: none; display: flex; align-items: center; justify-content: center; width: 96px; height: 96px; border: 1px solid var(--gray-line); border-radius: 10px; background: #fff; overflow: hidden; box-sizing: border-box; }
.rt-eq-photo img { display: block; max-width: 86%; max-height: 86%; object-fit: contain; }
.rt-eq-txt { min-width: 0; }
.rt-eq-txt b { display: block; font-size: clamp(18px, 1.5vw, 21px); font-weight: 800; color: #000; letter-spacing: -0.015em; line-height: 1.35; word-break: keep-all; }
.rt-eq-use { display: block; margin-top: 3px; font-size: 14px; font-weight: 500; line-height: 1.5; color: var(--text-body); word-break: keep-all; }
.rt-eq-info { display: grid; gap: 2px; font-size: 14.5px; line-height: 1.5; color: var(--text-dark); }
.rt-eq-info small { font-size: 12.5px; font-weight: 700; color: var(--text-muted); }
.rt-eq-info a { justify-self: start; margin-top: 6px; color: var(--navy); font-size: 14px; font-weight: 800; text-decoration: none; }
.rt-eq-info a i { display: inline-block; margin-left: 4px; font-style: normal; color: var(--accent-red); transition: transform .3s cubic-bezier(.22, .61, .36, 1); }
.rt-eq-info a:hover { color: var(--blue); }
.rt-eq-info a:hover i { transform: translateX(4px); }
.rt-eq-price { display: grid; gap: 0; }
.rt-eq-price > span { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--gray-line); }
.rt-eq-price > span:last-child { border-bottom: 0; }
.rt-eq-price small { font-size: 13.5px; color: var(--text-body); }
.rt-eq-price b { font-size: 16px; font-weight: 800; color: #000; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rt-eq-price .is-tbd { font-size: 14px; color: var(--text-muted); border-bottom: 0; }
.qt-field.is-bad .rt-eqs { border-top-color: var(--accent-red); }

/* ---- 임대 일수 ---- */
.rt-readout { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 48px; padding: 0 14px; border-radius: 10px; background: var(--ice-pale); box-sizing: border-box; font-size: 15px; color: var(--navy); }
.rt-readout b { font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rt-readout span { font-size: 13.5px; color: var(--text-muted); font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rt-readout.is-quiet { background: #f6f7f9; }
.rt-readout.is-quiet b { font-weight: 700; color: var(--text-muted); }
.rt-ghead-note { font-size: 13px !important; }

/* ---- 수량을 고르는 줄(호스, 노즐, 드라이아이스): 사진과 품명 | 사양과 가격 | 수량과 금액 ---- */
.rt-items { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--gray-line); }
.rt-items > li { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; align-items: center; min-height: 76px; padding: 10px 0; border-bottom: 1px solid var(--gray-line); box-sizing: border-box; }
.rt-items > li > * { min-width: 0; }
.rt-items > li.is-flash { animation: rtFlash 1.2s ease-out; }
@keyframes rtFlash { from { background-color: var(--ice-pale); } to { background-color: transparent; } }
.rt-item-main { display: flex; align-items: center; gap: 14px; }
.rt-thumb { flex: none; display: flex; align-items: center; justify-content: center; width: 84px; height: 56px; border: 1px solid var(--gray-line); border-radius: 8px; background: #fff; overflow: hidden; box-sizing: border-box; }
.rt-thumb img { display: block; width: 100%; height: 100%; object-fit: contain; }
.rt-thumb.is-none { background: #f6f7f9; }
.rt-item-txt { min-width: 0; }
.rt-item-txt small { display: block; font-size: 12px; font-weight: 700; color: var(--text-muted); line-height: 1.4; }
.rt-item-name { display: block; font-size: 15px; font-weight: 800; color: #000; line-height: 1.4; word-break: keep-all; }
.rt-item-note { display: block; margin-top: 1px; font-style: normal; font-size: 12.5px; font-weight: 700; line-height: 1.45; color: var(--eyebrow-red); word-break: keep-all; }
.rt-item-mid { display: grid; gap: 3px; }
.rt-item-spec { font-size: 13.5px; line-height: 1.5; color: var(--text-muted); word-break: keep-all; text-wrap: pretty; }
.rt-item-price { display: flex; flex-wrap: wrap; gap: 0 14px; font-size: 14px; line-height: 1.5; color: var(--text-body); font-variant-numeric: tabular-nums; }
.rt-item-price b { font-weight: 800; color: var(--text-dark); }
.rt-item-price.is-tbd { color: var(--text-muted); }
.rt-item-qty { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.rt-item-sum { font-size: 15px; font-weight: 800; color: #000; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rt-item-sum.is-zero { color: #b9bcc9; font-weight: 700; }
.rt-item-sum.is-tbd { font-size: 13.5px; font-weight: 700; color: var(--text-muted); }
.rt-step { display: inline-grid; grid-template-columns: 40px 44px 40px; height: 44px; border: 1.5px solid var(--gray-line); border-radius: 10px; background: #fff; overflow: hidden; box-sizing: border-box; }
.rt-step button { display: flex; align-items: center; justify-content: center; margin: 0; padding: 0; border: 0; background: #fff; color: var(--navy); font: inherit; font-size: 20px; font-weight: 700; line-height: 1; cursor: pointer; transition: background-color .15s; }
.rt-step button:hover { background: var(--ice-pale); }
.rt-step button[disabled] { color: #c9ccd8; cursor: default; background: #fff; }
.rt-step input { width: 100%; height: 100%; margin: 0; padding: 0; border: 0; border-left: 1.5px solid var(--gray-line); border-right: 1.5px solid var(--gray-line); border-radius: 0; background: #fff; color: #000; font: inherit; font-size: 15.5px; font-weight: 800; text-align: center; font-variant-numeric: tabular-nums; box-sizing: border-box; -moz-appearance: textfield; appearance: textfield; }
.rt-step input:focus { outline: 0; background: var(--ice-pale); }
.rt-step:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(62, 104, 179, .18); }
.rt-step.has-qty { border-color: var(--navy); }
/* 드라이아이스: 한 품목에 받는 방법 두 줄(임대품과 함께 배송, 택배 발송) */
.rt-items > li.rt-ice { align-items: start; padding: 0; }
.rt-ice > .rt-item-main { padding: 14px 0; }
.rt-ice-rows { grid-column: 2 / -1; display: grid; grid-template-columns: subgrid; }
.rt-ice-row { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; align-items: center; min-height: 64px; padding: 9px 0; box-sizing: border-box; }
.rt-ice-row + .rt-ice-row { border-top: 1px dashed var(--gray-line); }
.rt-ice-row .rt-item-price { display: grid; gap: 1px; }
.rt-ice-row .rt-item-price > span:first-child { font-size: 13.5px; font-weight: 700; color: var(--navy); }

/* 함께 필요한 품목 안내 */
.rt-hints { grid-column: 1 / -1; display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.rt-hints[hidden] { display: none; }
.rt-hints li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 12px 16px; border: 1px solid var(--accent-red); border-radius: 10px; background: #fdf1f2; font-size: 14.5px; line-height: 1.6; color: #8f1420; word-break: keep-all; }
.rt-hints b { font-weight: 800; }
.rt-hints button { flex: none; height: 36px; margin: 0; padding: 0 14px; border: 1.5px solid #8f1420; border-radius: 8px; background: #fff; color: #8f1420; font: inherit; font-size: 13.5px; font-weight: 800; cursor: pointer; transition: background-color .15s, color .15s; }
.rt-hints button:hover { background: #8f1420; color: #fff; }

/* ---- 임대품 배송 방법: 한 방법이 한 줄. 첫 칸에 이름, 나머지 두 칸에 설명 ---- */
.rt-dvs { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--gray-line); }
.rt-dvs > li { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; border-bottom: 1px solid var(--gray-line); }
.rt-dv { position: relative; grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; align-items: center; min-height: 64px; margin: 0 -12px; padding: 12px; box-sizing: border-box; cursor: pointer; transition: background-color .2s; }
.rt-dv > * { min-width: 0; }
.rt-dv input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; margin: 0; opacity: 0; }
.rt-dv-name { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; }
.rt-dv-name > i { position: relative; flex: none; width: 20px; height: 20px; border: 1.5px solid #b9bcc9; border-radius: 50%; background: #fff; box-sizing: border-box; transition: border-color .18s; }
.rt-dv-name > i::after { content: ""; position: absolute; inset: 3.5px; border-radius: 50%; background: var(--navy); transform: scale(0); transition: transform .2s cubic-bezier(.34, 1.56, .64, 1); }
.rt-dv-name b { font-size: 15px; font-weight: 800; color: #000; line-height: 1.4; word-break: keep-all; }
.rt-dv-tag { padding: 2px 8px; border-radius: 6px; background: var(--accent-red); color: #fff; font-size: 12px; font-weight: 800; line-height: 1.5; white-space: nowrap; }
.rt-dv-desc { grid-column: 2 / -1; font-size: 14.5px; line-height: 1.65; color: var(--text-body); word-break: keep-all; text-wrap: pretty; }
.rt-dv:hover { background: #f6f7f9; }
.rt-dv:has(input:checked) { background: var(--ice-pale); }
.rt-dv:has(input:checked) .rt-dv-name > i { border-color: var(--navy); }
.rt-dv:has(input:checked) .rt-dv-name > i::after { transform: scale(1); }
.rt-dv:has(input:focus-visible) .rt-dv-name > i { outline: 2px solid var(--blue); outline-offset: 2px; }
.qt-field.is-bad .rt-dvs { border-top-color: var(--accent-red); }
.rt-addr { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; row-gap: 18px; }
.rt-addr[hidden] { display: none; }
.rt-addr.is-in { animation: qtIn .3s cubic-bezier(.22, .61, .36, 1) both; }

/* ---- 주의사항 ---- */
.rt-cautions { grid-column: 1 / -1; display: grid; gap: 7px; margin: 0; padding: 18px 20px; border: 1px solid var(--gray-line); border-radius: 10px; background: #fafbfc; list-style: none; }
.rt-cautions li { position: relative; padding-left: 14px; font-size: 14.5px; line-height: 1.7; color: var(--text-body); word-break: keep-all; text-wrap: pretty; }
.rt-cautions li::before { content: ""; position: absolute; left: 0; top: .72em; width: 5px; height: 5px; border-radius: 1.5px; background: #9a9db0; }
.rt-cautions li.is-warn { color: var(--accent-red); font-weight: 700; }
.rt-cautions li.is-warn::before { background: var(--accent-red); }
.rt-to { grid-column: 1 / -1; margin: 6px 0 0; font-size: 17px; font-weight: 800; color: #000; letter-spacing: -0.01em; text-align: right; }

/* ---- 예상 금액 표: 항목 | 계산 | 금액 ---- */
.rt-est { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--navy); }
.rt-est > li { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--gray-line); font-size: 15px; line-height: 1.5; }
.rt-est > li > * { min-width: 0; }
.rt-est-label { font-weight: 700; color: var(--text-dark); word-break: keep-all; }
.rt-est-detail { color: var(--text-muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.rt-est-amt { text-align: right; font-weight: 800; color: #000; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rt-est-amt.is-tbd { font-size: 14px; font-weight: 700; color: var(--text-muted); }
.rt-est > li.is-empty { display: block; color: var(--text-muted); }
.rt-est > li.is-sub .rt-est-label, .rt-est > li.is-sub .rt-est-amt { font-weight: 700; color: var(--text-body); }
.rt-est > li.is-total { padding: 18px 0; border-bottom: 2px solid var(--navy); align-items: center; }
.rt-est > li.is-total .rt-est-label { font-size: 16px; font-weight: 800; color: #000; }
.rt-est > li.is-total .rt-est-amt { font-size: clamp(22px, 2vw, 28px); letter-spacing: -0.02em; color: var(--accent-red); }
.rt-est-note { grid-column: 1 / -1; margin: 0; font-size: 13.5px; line-height: 1.7; color: var(--text-muted); word-break: keep-all; text-wrap: pretty; }

/* 수정할 수 없는 상태(정식 견적 이후): 입력 칸을 흐리게 */
.rm-form.is-locked .qt-groups, .rm-form.is-locked .qt-agree { pointer-events: none; }
.rm-form.is-locked .qt-field input, .rm-form.is-locked .qt-field textarea, .rm-form.is-locked .rt-step, .rm-form.is-locked .rt-step input, .rm-form.is-locked .rt-step button { background-color: #f6f7f9; }
.rm-form.is-locked .qt-submit { display: none; }

/* ---- 마지막 안내(견적 요청 페이지와 같은 규칙) ---- */
#rm-final .cmp-h2 { font-size: clamp(30px, 2.9vw, 42px); }
#rm-final .cmp-h2 span { white-space: nowrap; }
#rm-final .cmp-lead p { word-break: keep-all; text-wrap: pretty; }
@media (min-width: 1101px) { #rm-final .bls-final-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--edu-gap); } } /* 오른쪽 글의 왼쪽 끝을 본문 격자 3번째 칸에 맞춘다 */

@media (max-width: 1100px) {
  /* 두 칸 격자: 줄마다 왼쪽에 내용, 오른쪽에 수량과 금액(또는 가격) */
  .rt-dayfield { grid-column: 1 / -1; }
  .rt-eq { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--edu-gap); row-gap: 12px; }
  .rt-eq-main { grid-column: 1 / -1; }
  .rt-items > li { grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; row-gap: 6px; }
  .rt-item-main { grid-column: 1; grid-row: 1; }
  .rt-item-mid { grid-column: 1; grid-row: 2; }
  .rt-items > li > .rt-item-qty { grid-column: 2; grid-row: 1 / span 2; gap: 14px; }
  .rt-item-sum { min-width: 96px; text-align: right; }
  .rt-items > li.rt-ice { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .rt-ice > .rt-item-main { padding-bottom: 4px; }
  .rt-ice-rows { grid-column: 1; grid-row: 2; grid-template-columns: minmax(0, 1fr); }
  .rt-ice-row { grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; }
  .rt-ice-row .rt-item-qty { gap: 14px; }
  .rt-dv { grid-template-columns: minmax(0, 1fr); row-gap: 4px; }
  .rt-dv-desc { grid-column: 1; padding-left: 30px; }
  .rt-est > li { grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; }
  .rt-est-label { grid-column: 1; }
  .rt-est-detail { grid-column: 1; grid-row: 2; }
  .rt-est-amt { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .rt-est > li.is-sub .rt-est-detail { display: none; }
}
@media (max-width: 640px) {
  .rt-formhead { padding-bottom: 14px; }
  .rt-eq { grid-template-columns: minmax(0, 1fr); }
  .rt-eq-photo { width: 76px; height: 76px; }
  .rt-thumb { width: 66px; height: 44px; }
  .rt-item-main { gap: 10px; }
  .rt-items > li > .rt-item-qty, .rt-ice-row .rt-item-qty { flex-direction: column; align-items: flex-end; gap: 6px; }
  .rt-item-sum { min-width: 0; font-size: 14px; }
  .rt-step { grid-template-columns: 36px 40px 36px; height: 40px; }
  .rt-cautions { padding: 14px 16px; }
  .rt-file { column-gap: 10px; }
  .rt-file-btn { padding: 0 12px; }
  #rm-final .cmp-h2 span { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  .rt-addr.is-in { animation: none; }
  .rt-file, .rt-step button, .rt-eq, .rt-dv, .rt-eq-main > i::after, .rt-dv-name > i::after { transition: none; }
  .rt-items > li.is-flash { animation: none; }
}

/* ---- 렌탈 상담 신청 추가 항목 (2026-11-27) ---- */
/* 입력 칸 아래 안내 글 */
.rt-form .qt-hint { font-size: 12.5px; line-height: 1.5; color: var(--text-muted); word-break: keep-all; }
/* 여러 개 고를 수 있는 칸은 네모 표시 (하나만 고르는 칸은 기존 동그라미) */
.qt-opt.is-box i { border-radius: 5px; }
.qt-opt.is-box i::after { inset: auto; left: 4.5px; top: 0.5px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; border-radius: 0; background: none; transform: rotate(45deg) scale(0); }
.qt-opt.is-box:has(input:checked) i { background: var(--navy); }
.qt-opt.is-box:has(input:checked) i::after { transform: rotate(45deg) scale(1); }
/* 파일을 끌어다 놓을 때 */
.rt-file.is-over { border-style: solid; background: var(--ice-pale); }
.rt-file.is-over .rt-file-name { color: var(--navy); font-weight: 700; }
/* 2026-11-28 모바일에서 입력 칸 글자를 16px 이상으로(작으면 일부 폰이 칸을 누를 때 화면을 확대한다) */
@media (max-width: 820px) {
  .rt-form input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), .rt-form select, .rt-form textarea, .rt-step input { font-size: 16px; }
}
/* 2026-11-28 끌어다 놓기 안내는 터치 화면(끌어다 놓을 수 없음)에서 숨긴다: 파일 칸 안내가 잘리지 않게 */
@media (max-width: 640px) { .rt-drag { display: none; } }
/* 2026-11-28 신청서를 열 수 없을 때 안내 아래에 놓는 버튼 줄 */
.rt-state-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.rt-state-btns .cta-btn, .rt-state-btns .cmp-btn-ghost { margin: 0; }
@media (max-width: 640px) { .rt-state-btns > a { flex: 1 1 100%; justify-content: center; text-align: center; box-sizing: border-box; height: 52px; padding-top: 0; padding-bottom: 0; } } /* 모바일에서는 두 버튼 너비를 같게 */

/* 2026-12-03: 희망 일정의 날짜 칸 아래 안내(출고일과 반납일 포함), 접수 완료 창의 둘째 문단 */
.rt-when-note { grid-column: 1 / -1; margin: -6px 0 0; font-size: 13.5px; line-height: 1.65; color: var(--text-body); word-break: keep-all; text-wrap: pretty; }
.rt-when-note b { font-weight: 700; color: var(--navy); }
.qt-modal-box p.rt-modal-sub { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--gray-line); font-size: 13.5px; line-height: 1.65; color: var(--text-muted); }

/* ================= 2026-12-04: 전용 렌탈신청서(my.html) 보강 =================
   ① 함께 필요한 품목(홀더, 분사구)을 고른 줄 바로 아래에서 묻는다  ② 배송지 주소 찾기, 현장 담당자와 연락처
   ③ 프린트하기 버튼과 인쇄 미리보기  (제출 완료 창은 기존 .qt-modal 을 그대로 쓴다) */

/* ---- ① 함께 필요한 품목을 묻는 줄: 고른 품목 바로 아래에 붙는다 ---- */
.rt-items > li:has(+ li.rt-need) { border-bottom-color: transparent; }
.rt-items > li.rt-need { display: block; min-height: 0; padding: 0 0 14px; }
.rt-need-box { margin-left: 98px; padding: 14px 18px 16px; border-radius: 10px; background: var(--ice-pale); } /* 98px = 사진(84) + 간격(14): 품명의 왼쪽 끝에 맞춘다 */
.rt-need-box p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--text-body); word-break: keep-all; }
.rt-need-box p + p { margin-top: 12px; padding-top: 12px; border-top: 1px solid #d5deee; }
.rt-need-box p b { font-weight: 800; color: var(--navy); }
.rt-need-opts { display: grid; gap: 8px; margin-top: 10px; }
.rt-need-opt { position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr); column-gap: 10px; align-items: start; cursor: pointer; }
.rt-need-opt input { position: absolute; left: 0; top: 0; width: 22px; height: 22px; margin: 0; opacity: 0; cursor: pointer; }
.rt-need-opt i { position: relative; width: 22px; height: 22px; border: 1.5px solid #b9bcc9; border-radius: 6px; background: #fff; box-sizing: border-box; transition: background-color .18s, border-color .18s; }
.rt-need-opt i::after { content: ""; position: absolute; left: 6.5px; top: 2.5px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2.2px 2.2px 0; transform: rotate(45deg) scale(0); transition: transform .2s cubic-bezier(.34, 1.56, .64, 1); }
.rt-need-opt:has(input:checked) i { background: var(--navy); border-color: var(--navy); }
.rt-need-opt:has(input:checked) i::after { transform: rotate(45deg) scale(1); }
.rt-need-opt:has(input:focus-visible) i { outline: 2px solid var(--blue); outline-offset: 2px; }
.rt-need-opt:has(input:disabled) { cursor: default; }
.rt-need-opt span { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 10px; min-height: 22px; font-size: 14.5px; line-height: 22px; }
.rt-need-opt span b { font-weight: 800; color: #000; }
.rt-need-opt span small { font-size: 13.5px; color: var(--text-muted); font-variant-numeric: tabular-nums; }

/* ---- ② 배송지: 우편번호와 [주소 찾기], 주소 찾기 창 ---- */
.rt-zip { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.rt-zip-btn { height: 48px; margin: 0; padding: 0 18px; border: 1.5px solid var(--navy); border-radius: 10px; background: #fff; color: var(--navy); font: inherit; font-size: 14.5px; font-weight: 800; white-space: nowrap; cursor: pointer; transition: background-color .15s, color .15s; }
.rt-zip-btn:hover { background: var(--navy); color: #fff; }
.rt-zip-btn[disabled] { border-color: var(--gray-line); color: #9a9db0; background: #f6f7f9; cursor: default; }
.rt-addr input[readonly] { background-color: #f6f7f9; cursor: pointer; }
.rt-addr #rmAddrManual { margin-top: -8px; }
.rt-post { padding: 16px; }
.rt-post-box { display: flex; flex-direction: column; width: min(500px, 100%); height: min(620px, 100%); border-radius: 14px; background: #fff; box-shadow: 0 24px 60px rgba(13, 19, 51, .28); overflow: hidden; transform: translateY(14px) scale(.98); transition: transform .3s cubic-bezier(.22, .61, .36, 1); }
.rt-post.is-on .rt-post-box { transform: none; }
.rt-post-head { flex: none; display: flex; align-items: center; justify-content: space-between; height: 56px; padding: 0 12px 0 20px; border-bottom: 1px solid var(--gray-line); }
.rt-post-head h2 { margin: 0; font-size: 17px; font-weight: 800; color: #000; letter-spacing: -0.01em; }
.rt-x { position: relative; width: 40px; height: 40px; margin: 0; padding: 0; border: 0; border-radius: 10px; background: none; cursor: pointer; }
.rt-x::before, .rt-x::after { content: ""; position: absolute; left: 11px; top: 19px; width: 18px; height: 2px; border-radius: 1px; background: var(--navy); }
.rt-x::before { transform: rotate(45deg); }
.rt-x::after { transform: rotate(-45deg); }
.rt-x:hover { background: #f1f2f5; }
.rt-post-body { flex: 1 1 auto; min-height: 0; }
.rt-post-body p { margin: 0; padding: 28px 20px; font-size: 14.5px; line-height: 1.7; color: var(--text-muted); text-align: center; }

/* ---- ③ 맨 아래 제출 구역: 왼쪽에 제목, 오른쪽 위에 [프린트하기], 가운데에 큰 [견적 요청] ---- */
.rt-send > .qt-ghead { grid-column: 1; grid-row: 1; align-self: center; }
.rt-send-print { grid-column: 2 / -1; grid-row: 1; display: flex; justify-content: flex-end; align-items: center; }
.rt-print-btn { display: inline-flex; align-items: center; gap: 8px; height: 42px; margin: 0; padding: 0 16px 0 14px; border: 1.5px solid var(--navy); border-radius: 10px; background: #fff; color: var(--navy); font: inherit; font-size: 14.5px; font-weight: 800; white-space: nowrap; cursor: pointer; transition: background-color .15s, color .15s; }
.rt-print-btn svg { flex: none; width: 18px; height: 18px; }
.rt-print-btn:hover { background: var(--navy); color: #fff; }
.rt-send > .qt-submit { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 30px; }
.rt-send > .qt-submit .cta-btn { width: min(400px, 100%); height: 62px; border-radius: 16px; font-size: 18px; }
.rt-send > .qt-submit p { max-width: 720px; text-align: center; text-wrap: balance; }
.rt-send > .qt-msg { margin-top: 22px; }

/* ---- ③ 인쇄 미리보기 창: 회색 바탕 위에 종이 한 장 ---- */
.rt-pv { position: fixed; inset: 0; z-index: 1100; display: flex; flex-direction: column; background: #e3e5ea; }
.rt-pv[hidden] { display: none; }
.rt-pv-bar { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 60px; padding: 0 max(20px, env(safe-area-inset-right, 0px)) 0 max(20px, env(safe-area-inset-left, 0px)); border-bottom: 1px solid var(--gray-line); background: #fff; }
.rt-pv-bar h2 { margin: 0; font-size: 17px; font-weight: 800; color: #000; letter-spacing: -0.01em; }
.rt-pv-btns { display: flex; gap: 8px; }
.rt-pv-btns button { height: 40px; margin: 0; padding: 0 18px; border: 1.5px solid var(--navy); border-radius: 10px; font: inherit; font-size: 14.5px; font-weight: 800; cursor: pointer; }
.rt-pv-print { background: var(--navy); color: #fff; }
.rt-pv-close { background: #fff; color: var(--navy); }
.rt-nw { white-space: nowrap; }
.rt-pv-scroll { flex: 1 1 auto; min-height: 0; overflow: auto; padding: 28px 16px 40px; overscroll-behavior: contain; }
.rt-sheet { width: min(794px, 100%); margin: 0 auto; padding: 52px 56px 48px; background: #fff; box-shadow: 0 2px 14px rgba(13, 19, 51, .14); box-sizing: border-box; color: #14172a; font-size: 13.5px; line-height: 1.6; word-break: keep-all; overflow-wrap: anywhere; }
.rs-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 3px solid var(--navy); }
.rs-head h1 { margin: 2px 0 0; font-size: 24px; font-weight: 800; color: #000; letter-spacing: -0.02em; line-height: 1.3; }
.rs-eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .14em; color: #5b6074; }
.rs-org { text-align: right; font-size: 12px; line-height: 1.5; color: #5b6074; }
.rs-org b { display: block; font-size: 14px; font-weight: 800; color: var(--navy); }
.rs-h { display: flex; align-items: center; gap: 9px; margin: 22px 0 8px; font-size: 14.5px; font-weight: 800; color: var(--navy); line-height: 1.3; }
.rs-h::before { content: ""; flex: none; width: 0; height: 15px; border-left: 4px solid var(--navy); } /* 바탕색 대신 테두리로 그린다: 인쇄할 때 바탕색은 빠질 수 있다 */
.rs-h small { font-size: 12px; font-weight: 400; color: #5b6074; }
.rs-t { width: 100%; border-collapse: collapse; border-top: 2px solid var(--navy); table-layout: fixed; }
.rs-t th, .rs-t td { padding: 7px 10px; border: 1px solid #cfd3db; font-size: 13px; line-height: 1.55; text-align: left; vertical-align: top; }
.rs-t th { width: 17%; background: #f4f5f7; font-weight: 700; color: #3d4256; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.rs-t.is-list th { width: auto; text-align: center; }
.rs-t .is-num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rs-t .is-c { text-align: center; white-space: nowrap; }
.rs-t tr.is-sum td { border-top: 2px solid var(--navy); background: #f4f5f7; font-weight: 800; color: #000; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.rs-t td small { display: block; font-size: 12px; color: #5b6074; }
.rs-eq { display: grid; grid-template-columns: 150px minmax(0, 1fr); border-top: 2px solid var(--navy); }
.rs-eq .rs-t { border-top: 0; }
.rs-eq .rs-t th { width: 20%; }
.rs-eq-photo { display: flex; align-items: center; justify-content: center; margin-right: -1px; padding: 8px; border: 1px solid #cfd3db; box-sizing: border-box; }
.rs-eq-photo img { display: block; max-width: 100%; max-height: 104px; object-fit: contain; }
.rs-t td.rs-ph { padding: 4px; vertical-align: middle; }
.rs-ph img { display: block; width: 66px; height: 44px; margin: 0 auto; object-fit: contain; }
.rs-t.is-list td { vertical-align: middle; }
.rs-memo { margin: 0; padding: 9px 12px; border: 1px solid #cfd3db; border-top: 2px solid var(--navy); font-size: 13px; line-height: 1.65; white-space: pre-wrap; }
.rs-note { margin: 6px 0 0; font-size: 12px; line-height: 1.6; color: #5b6074; }
.rs-caut { margin: 0; padding: 10px 14px 10px 34px; border: 1px solid #cfd3db; border-top: 2px solid var(--navy); font-size: 12.5px; line-height: 1.65; }
.rs-caut li { padding-left: 2px; }
.rs-caut li.is-warn { font-weight: 700; color: var(--accent-red); }
.rs-end { break-inside: avoid; }
.rs-agree { display: grid; grid-template-columns: 18px minmax(0, 1fr); column-gap: 10px; align-items: start; margin-top: -1px; padding: 11px 14px; border: 1px solid #cfd3db; }
.rs-agree i { position: relative; width: 18px; height: 18px; margin-top: 1px; border: 1.5px solid #14172a; box-sizing: border-box; }
.rs-agree.is-on i::after { content: ""; position: absolute; left: 4.5px; top: 0.5px; width: 5px; height: 10px; border: solid #14172a; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.rs-agree p { margin: 0; font-size: 13.5px; line-height: 1.55; }
.rs-agree b { font-weight: 800; color: #000; }
.rs-agree small { display: block; margin-top: 2px; font-size: 12px; color: var(--accent-red); }
.rs-sign { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-top: 16px; font-size: 13.5px; }
.rs-sign dl { display: grid; grid-template-columns: auto auto; gap: 2px 14px; margin: 0; }
.rs-sign dt { color: #5b6074; }
.rs-sign dd { margin: 0; font-weight: 700; color: #000; }
.rs-sign b { font-size: 16px; font-weight: 800; color: #000; }
.rs-foot { margin: 18px 0 0; padding-top: 10px; border-top: 1px solid #cfd3db; font-size: 11.5px; line-height: 1.65; color: #5b6074; }
.rs-t tr, .rs-h, .rs-sign { break-inside: avoid; }
.rs-h { break-after: avoid; }

@media (max-width: 1100px) {
  .rt-send > .qt-ghead { grid-column: 1; margin-bottom: 0; }
  .rt-send-print { grid-column: 2; }
}
@media (max-width: 640px) {
  .rt-need-box { margin-left: 0; padding: 12px 14px 14px; }
  .rt-send > .qt-submit { margin-top: 24px; gap: 14px; }
  .rt-send > .qt-submit .cta-btn { width: 100%; height: 58px; font-size: 17px; }
  .rt-send > .qt-submit p { text-align: left; text-wrap: pretty; }
  .rt-need-opt span small { flex-basis: 100%; }
  .rt-pv-bar { height: 56px; }
  .rt-pv-scroll { padding: 14px 10px 28px; }
  .rt-sheet { padding: 26px 18px 24px; font-size: 13px; }
  .rs-head h1 { font-size: 20px; }
  .rs-t th, .rs-t td { padding: 6px 7px; font-size: 12.5px; }
  .rs-t th { width: 24%; }
  .rs-t.is-list { table-layout: auto; }
  .rs-t.is-list col { width: auto !important; }
  .rs-t.is-list th { width: auto; white-space: nowrap; }
  .rs-eq { grid-template-columns: minmax(0, 1fr); }
  .rs-eq-photo { margin: 0 0 -1px; }
  .rs-eq-photo img { max-height: 90px; }
  .rs-ph img { width: 48px; height: 32px; }
  .rs-t.is-kv4, .rs-t.is-kv4 tbody, .rs-t.is-kv4 tr { display: block; }
  .rs-t.is-kv4 tr { display: grid; grid-template-columns: 24% minmax(0, 1fr); }
  .rs-t.is-kv4 th { width: auto; }
  .rs-t.is-kv4 th, .rs-t.is-kv4 td { margin: -1px 0 0 -1px; }
}
@media (prefers-reduced-motion: reduce) { .rt-need-opt i, .rt-need-opt i::after, .rt-post-box, .rt-zip-btn, .rt-print-btn { transition: none; } }

/* 인쇄: 미리보기 창이 열려 있을 때는 종이만 인쇄한다 */
@media print {
  body.rt-pv-on > *:not(.rt-pv) { display: none !important; }
  html:has(body.rt-pv-on), body.rt-pv-on { height: auto !important; margin: 0 !important; padding: 0 !important; overflow: visible !important; background: #fff !important; }
  body.rt-pv-on > #rmPv { position: static; display: block !important; background: none; } /* style.css 의 인쇄 규칙(결과지 말고는 모두 숨김)보다 앞서도록 id 로 적는다 */
  body.rt-pv-on .rt-pv-bar { display: none; }
  body.rt-pv-on .rt-pv-scroll { overflow: visible; padding: 0; }
  body.rt-pv-on .rt-sheet { width: auto; margin: 0; padding: 0; box-shadow: none; font-size: 9.5pt; }
  body.rt-pv-on .rs-head h1 { font-size: 17pt; }
  body.rt-pv-on .rs-h { margin: 13px 0 6px; font-size: 10.5pt; }
  body.rt-pv-on .rs-t th, body.rt-pv-on .rs-t td { padding: 4px 8px; font-size: 9.5pt; line-height: 1.45; }
  body.rt-pv-on .rs-t td.rs-ph { padding: 3px; }
  body.rt-pv-on .rs-ph img { width: 54px; height: 36px; }
  body.rt-pv-on .rs-eq-photo img { max-height: 84px; }
  body.rt-pv-on .rs-memo { padding: 6px 8px; font-size: 9.5pt; line-height: 1.5; }
  body.rt-pv-on .rs-note { font-size: 8.5pt; }
  body.rt-pv-on .rs-caut { padding: 6px 10px 6px 28px; font-size: 8.5pt; line-height: 1.5; }
  body.rt-pv-on .rs-agree { padding: 7px 10px; }
  body.rt-pv-on .rs-agree p { font-size: 9.5pt; }
  body.rt-pv-on .rs-sign { margin-top: 12px; font-size: 9.5pt; }
  body.rt-pv-on .rs-foot { margin-top: 12px; padding-top: 8px; font-size: 8pt; }
  @page { size: A4; margin: 15mm 14mm 16mm; }
}
