/* 데모 테스트 신청 (rental/demo-apply.html) — 2026-11-27
   견적 요청 페이지와 같은 격자와 입력 칸 모양(quote-page.css 의 .qt-*)을 그대로 쓴다: 첫 줄에 테스트 방법 카드 세 장, 그 아래 묶음마다 첫 칸에 이름, 둘째부터 넷째 칸에 입력 칸.
   이 파일에는 이 페이지에만 필요한 것만 둔다: 방법에 따라 보이고 숨는 칸, 연구소 주소 상자, 마지막 안내.
   화면 동작은 assets/js/demo-apply.js, 접수는 api/demo.php. */

.da-sec .plt-title { font-size: clamp(34px, 3.6vw, 52px); }

/* 테스트 방법에 따라 보이고 숨는 칸 */
.da-form .qt-field.is-off, .da-form .da-addr.is-off, .da-form .qt-links.is-off { display: none; }

/* 테스트 방법 제목 아래의 안내 링크 */
.da-guide { display: grid; margin-top: 10px; font-size: 14px; }
.qt-pick-head a { color: var(--navy); font-weight: 800; text-decoration: none; white-space: nowrap; }
.qt-pick-head a i { display: inline-block; margin-left: 5px; font-style: normal; color: var(--accent-red); transition: transform .3s cubic-bezier(.22, .61, .36, 1); }
.qt-pick-head a:hover { color: var(--blue); }
.qt-pick-head a:hover i { transform: translateX(4px); }

/* 연구소 주소(시료 보낼 곳, 방문하실 곳): 묶음 이름 아래 */
.da-addr { margin-top: 14px; padding: 12px 14px; border: 1px solid var(--gray-line); border-radius: 12px; font-size: 13.5px; line-height: 1.6; color: var(--text-body); }
.da-addr b { display: block; font-weight: 800; color: var(--navy); }
.da-addr .lc-val { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 8px; align-items: baseline; margin-top: 3px; line-height: 1.75; word-break: keep-all; }
.da-addr .lc-val + .lc-val { margin-top: 0; }
.da-addr .da-k { font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--text-muted); }
.da-addr .da-v { min-width: 0; }
.da-addr .lc-copy { display: inline-flex; align-items: center; gap: 5px; vertical-align: middle; margin: -3px 0 0 8px; padding: 4px 10px 4px 8px; border: 1px solid var(--gray-line); border-radius: 999px; background: #fff; color: var(--text-muted); font: inherit; font-size: 12.5px; font-weight: 700; line-height: 1; cursor: pointer; transition: color .2s, border-color .2s, background-color .2s; }
.da-addr .lc-copy svg { width: 14px; height: 14px; }
.da-addr .lc-copy:hover { color: var(--navy); border-color: var(--navy); }
.da-addr .lc-copy.is-done { color: #fff; background: var(--blue); border-color: var(--blue); }
.da-loc { display: grid; margin-top: 10px; font-size: 14px; }

/* 소재에서 '기타'를 고르면 선택 칸 바로 아래에 직접 입력 칸이 나온다 */
.da-form .da-sub { margin-top: 1px; }
.da-form .da-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* 방문 희망 날짜: 다른 입력 칸과 같은 높이와 테두리 */
.da-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; }
.da-form .qt-field input[type="date"]:hover { border-color: #b9bcc9; }
.da-form .qt-field input[type="date"]:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(62, 104, 179, .18); }
.da-form .qt-field input[type="date"]::-webkit-date-and-time-value { text-align: left; }
.da-form .qt-field input[type="date"]::-webkit-calendar-picker-indicator { cursor: pointer; opacity: .7; }
.da-form .qt-field.is-bad input[type="date"] { border-color: var(--accent-red); }
.da-form .qt-field > label small { margin-left: 8px; font-size: 12.5px; font-weight: 500; color: var(--text-muted); }
.da-hint { display: block; font-size: 12.5px; line-height: 1.5; color: var(--text-muted); word-break: keep-all; }

/* 현장 압축공기, 콤프레샤: 가장 중요한 질문이라 한 줄을 다 쓰고 안내를 크게 붙인다 */
.da-form .qt-lbl em { font-style: normal; color: var(--accent-red); margin-left: 3px; }
.da-key { display: inline-block; margin-left: 8px; padding: 2px 8px 3px; border-radius: 999px; background: var(--accent-red); color: #fff; font-size: 11.5px; font-weight: 800; line-height: 1.3; letter-spacing: .02em; vertical-align: 1px; }
.da-comp-note { margin: 2px 0 0; padding: 14px 16px; border: 1.5px solid rgba(200, 30, 44, .28); border-left: 4px solid var(--accent-red); border-radius: 10px; background: rgba(200, 30, 44, .045); font-size: 14px; line-height: 1.7; color: var(--text-body); word-break: keep-all; text-wrap: pretty; }
.da-comp-note b { font-weight: 800; color: var(--accent-red); }
.da-comp-note span { display: block; margin-top: 4px; font-weight: 700; color: var(--navy); }
.da-form .qt-field.is-bad .da-comp-note { border-color: var(--accent-red); }

/* ---- 마지막 안내(견적 요청 페이지와 같은 규칙) ---- */
#da-final .cmp-h2 { font-size: clamp(30px, 2.9vw, 42px); }
/* 제목은 한 줄로 고정하지 않고 왼쪽 칸 안에서 알아서 줄을 나눈다(글꼴이 넓은 PC에서도 오른쪽 글과 겹치지 않는다). 두 문장은 각각 새 줄에서 시작한다. */
#da-final .cmp-h2 span { display: block; white-space: normal; word-break: keep-all; text-wrap: balance; }
#da-final .cmp-h2 br { display: none; }
#da-final .bls-final-grid > div { min-width: 0; }
#da-final .cmp-lead p { word-break: keep-all; text-wrap: pretty; }
@media (min-width: 1101px) { #da-final .cmp-h2 { font-size: clamp(28px, 2.6vw, 42px); } }
@media (min-width: 1101px) { #da-final .bls-final-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--edu-gap); } } /* 오른쪽 글의 왼쪽 끝을 본문 격자 3번째 칸에 맞춘다 */
/* 2026-11-28 모바일에서 입력 칸 글자를 16px 이상으로(작으면 일부 폰이 칸을 누를 때 화면을 확대한다) */
@media (max-width: 820px) {
  .da-form input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), .da-form select, .da-form textarea { font-size: 16px; }
}
