/* 고객 접속 웹페이지 */
body { display: flex; flex-direction: column; min-height: 100vh; }
.topbar {
  height: 64px; flex: none; display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; background: var(--card); border-bottom: 1px solid var(--line);
}
.brand img { display: block; }
.topbar-right { display: flex; align-items: center; gap: 24px; font-size: 14px; color: var(--ink-2); }
.tel a { color: var(--ink); font-weight: 600; }
.staff-link { height: 32px; padding: 0 12px; font-size: 14px; color: var(--ink-2); text-decoration: none; }
.staff-link:hover { color: var(--ink); text-decoration: none; }

.wrap { flex: 1; width: 100%; max-width: 640px; margin: 0 auto; padding: 48px 24px 32px; display: flex; flex-direction: column; gap: 24px; }
.panel { padding: 48px 48px 32px; display: flex; flex-direction: column; gap: 12px; text-align: center; border-top: 3px solid var(--brand-orange); }
.display-sm { font-size: 28px; line-height: 36px; font-weight: 600; letter-spacing: -0.01em; }
.lead { margin: 0 0 12px; font-size: 15px; line-height: 24px; color: var(--ink-2); }
.center { text-align: center; }
form { display: flex; flex-direction: column; gap: 12px; text-align: left; }

.code-input {
  height: 72px; width: 100%; border: 2px solid #D1D5DB; border-radius: var(--r-card);
  font: inherit; font-size: 40px; font-weight: 600; letter-spacing: .12em; text-align: center; color: var(--ink);
  background: var(--card); transition: border-color var(--t-fast);
}
.code-input::placeholder { color: #D1D5DB; }
.code-input:hover { border-color: #9CA3AF; }
.code-input:focus { outline: none; border-color: var(--brand-orange); box-shadow: 0 0 0 1px var(--brand-orange); }
.code-input[aria-invalid="true"] { border-color: var(--danger); }

.code-chip { align-self: center; display: inline-flex; gap: 8px; align-items: baseline; padding: 4px 16px; background: var(--action-soft); border-radius: 999px; }
.code-chip strong { font-size: 20px; letter-spacing: .08em; }

.run-steps { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 16px; text-align: left; }
.run-steps li { display: flex; gap: 16px; align-items: flex-start; }
.run-steps p { margin: 4px 0 0; font-size: 14px; color: var(--ink-2); }
.step-n { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--action-soft); color: var(--action); font-weight: 600; display: flex; align-items: center; justify-content: center; }
.run-actions { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }

.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.trust-item { display: flex; gap: 12px; align-items: flex-start; }
.trust-item .ico { color: var(--ink-2); margin-top: 2px; }
.trust-item strong { font-size: 14px; }
.trust-item p { margin: 2px 0 0; font-size: 13px; line-height: 18px; color: var(--ink-3); }

.fallback { border-top: 1px solid var(--line); padding-top: 24px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.fallback p { margin: 0; font-size: 13px; color: var(--ink-3); }

.url-box { padding: 16px; background: var(--surface); border-radius: var(--r-input); font-size: 18px; font-weight: 600; word-break: break-all; }

.footer { flex: none; padding: 24px; text-align: center; font-size: 13px; line-height: 20px; color: var(--ink-3); border-top: 1px solid var(--line); background: var(--card); }
.footer a { color: var(--ink-2); }

@media (max-width: 640px) {
  .panel { padding: 32px 24px 24px; }
  .trust { grid-template-columns: 1fr; }
  .topbar-right .tel { display: none; }
  .wrap { padding-top: 24px; }
  .display-sm { font-size: 26px; line-height: 34px; }
}

/* 고객 접속 페이지 배경 (scripts/make-login-bg.js 로 만든 추상 이미지) */
body { background: var(--surface) url(/assets/bg/login-remote.jpg) center / cover no-repeat fixed; }
.wrap .card { box-shadow: 0 1px 2px rgb(0 0 0 / .04), 0 12px 32px rgb(17 17 17 / .08); }

.tel { display: inline-flex; align-items: center; gap: 6px; }
.tel .ico { color: var(--ink-3); }

/* 이미 프로그램이 있는 고객 안내, 아래쪽 예비 내려받기는 작게 */
.have-note { display: flex; gap: 8px; align-items: flex-start; margin: 12px 0 0; padding: 12px 14px; border-radius: 10px; background: var(--hover, #f3f4f6); font-size: 14px; line-height: 1.5; text-align: left; }
.have-note .ico { flex: none; margin-top: 2px; }
.fallback-link { font-size: 13px; color: var(--ink-3, #6b7280); }
.fallback-link a { text-decoration: underline; color: inherit; }

/* 내려받기·실행 경고 안내: 실제 화면을 본뜬 그림. 눌러야 할 곳은 .hl 로 표시 */
.warn-note { display: flex; gap: 8px; align-items: flex-start; margin: 8px 0 0; padding: 12px 14px; border-radius: 10px; background: #FFFBEB; border: 1px solid #FDE68A; font-size: 14px; line-height: 1.5; text-align: left; color: var(--ink); }
.warn-note .ico { flex: none; margin-top: 2px; color: var(--warning); }
.run-steps li > div { flex: 1; min-width: 0; }
.kbd { display: inline-block; min-width: 20px; padding: 0 5px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); font-size: 12px; line-height: 18px; text-align: center; }
.shot { position: relative; margin-top: 10px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; font-size: 12px; line-height: 17px; color: #1F2937; user-select: none; }
.shot small { display: block; font-size: 11.5px; line-height: 16px; color: #4B5563; }
.shot-chrome { background: #EEF1F5; padding-bottom: 10px; }
.shot-bar { display: flex; align-items: center; gap: 8px; padding: 6px 10px; background: #DFE3EA; }
.shot-url { flex: 1; padding: 2px 10px; border-radius: 999px; background: #fff; color: #4B5563; }
.shot-dl { flex: none; width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; background: #fff; }
.shot-pop { margin: 10px 10px 0 auto; width: min(100%, 340px); background: #fff; border-radius: 10px; box-shadow: 0 2px 10px rgb(0 0 0 / .14); padding: 8px; }
.shot-bar + .shot-pop { margin-top: 6px; }
.shot-row { display: flex; gap: 10px; align-items: flex-start; padding: 6px; border-radius: 8px; }
.shot-file { display: block; font-weight: 600; word-break: break-all; }
.shot-warn { flex: none; width: 20px; height: 20px; border-radius: 50%; background: #9CA3AF; color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.shot-btns { display: flex; flex-wrap: wrap; gap: 8px; padding: 6px; }
.shot-btns.end { justify-content: flex-end; padding: 12px 0 0; }
.shot-btn { padding: 4px 12px; border-radius: 999px; background: #0B57D0; color: #fff; font-weight: 600; }
.shot-btn.ghost { background: none; color: #0B57D0; border: 1px solid #C7CDD6; }
.shot-smart { background: #0067C0; color: #fff; padding: 16px 16px 14px; }
.shot-smart small { color: #fff; opacity: .95; margin-top: 6px; }
.smart-title { display: block; font-size: 17px; line-height: 24px; font-weight: 400; }
.smart-link { display: inline-block; margin-top: 6px; text-decoration: underline; }
.smart-btn { padding: 4px 22px; border: 1px solid #fff; color: #fff; }
/* 눌러야 할 곳 */
.hl { outline: 3px solid var(--brand-orange); outline-offset: 2px; border-radius: 6px; }
.shot-dl.hl, .shot-btn.hl { border-radius: 999px; }
.smart-btn.hl { border-radius: 0; }
