/* 기본 / 변수 */
:root {
  --navy: #14213d;
  --navy-deep: #0d1730;
  --yellow: #f5b800;
  --yellow-dark: #d99f00;
  --ink: #1f2937;
  --muted: #6b7280;
  --line: #e5e7eb;
  --bg-alt: #f5f6f8;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Noto Sans KR", sans-serif;
  color: var(--ink);
  line-height: 1.7;
  word-break: keep-all;
}

section[id] { scroll-margin-top: 64px; }

/* 줄바꿈: 마지막 줄에 "있습니다." 같은 짧은 조각만 덩그러니 남지 않게 한다 */
h1, h2, h3, h4, h5, .hero-lead span, .section-lead, .zone-warning-text strong { text-wrap: balance; }
p, li, .accordion-body { text-wrap: pretty; }

/* 배포 전 채워야 할 자리 표시 — index.html에서 class="todo"를 검색해 모두 없애기 */
.todo:not(.btn) {
  background: #fff3bf;
  outline: 1px dashed #b58900;
  color: #5c4500 !important;
  padding: 0 .25em;
  font-size: inherit;
}
.btn.todo { outline: 1px dashed #b58900; outline-offset: 2px; }

/* 버튼 */
.btn-brand {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--navy-deep);
  font-weight: 700;
}
.btn-brand:hover, .btn-brand:focus {
  background: var(--yellow-dark);
  border-color: var(--yellow-dark);
  color: var(--navy-deep);
}

/* NAV */
.site-nav {
  background: var(--navy);
  padding: .6rem 0;
}
.site-nav .navbar-brand {
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
}
/* 브랜드: 불꽃 + 「불양닷컴」(도메인) + 흐린 글씨 「불법건축물 양성화 플랫폼」 */
/* 「불양닷컴」과 흐린 글씨의 글자 밑선을 맞춤 */
.brand-text { display: inline-flex; align-items: baseline; }
.brand-name { font-size: 1.56em; line-height: 1; font-weight: 800; letter-spacing: -.01em; }
.brand-sub { margin-left: .6rem; color: rgba(255, 255, 255, .55); font-size: .82em; font-weight: 500; }
.site-nav .nav-link { color: rgba(255, 255, 255, .8); }
.site-nav .nav-link:hover { color: #fff; }

/* HERO */
#hero {
  background: linear-gradient(160deg, var(--navy-deep), var(--navy));
  color: #fff;
  padding: 5rem 0 3.5rem;
}
.hero-eyebrow {
  color: var(--yellow);
  font-weight: 700;
  letter-spacing: .02em;
  margin-bottom: .75rem;
}
#hero h1 {
  font-weight: 800;
  font-size: clamp(1.9rem, 5.5vw, 3rem);
  line-height: 1.3;
  margin-bottom: 1rem;
}
.hero-lead {
  max-width: 48rem;
  font-size: clamp(1rem, 2.3vw, 1.15rem);
  color: rgba(255, 255, 255, .85);
  margin-bottom: 1.75rem;
}
.hero-lead span { display: block; }
.hero-risks {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, .15);
}
.hero-risks h5 { font-size: 1rem; font-weight: 700; color: var(--yellow); }
/* 위험 항목 아이콘(원화·집·느낌표) — 외부 아이콘 라이브러리 없이 index.html에 SVG로 직접 그림 */
.risk-item { display: flex; gap: .9rem; align-items: flex-start; }
.risk-icon {
  flex: none;
  display: block;
  width: 40px;
  height: 40px;
  margin-top: .1rem;
  fill: none;
  stroke: var(--yellow);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero-risks p { font-size: .92rem; color: rgba(255, 255, 255, .75); margin-bottom: 0; }

/* 포스트잇 장식: 모바일은 제목 위에 작게, 큰 화면은 제목 바로 오른쪽에 붙임
   왼쪽 아래 모서리가 말린 모양: 모서리를 투명하게 잘라내고(background) ::before로 말린 뒷면을 그림.
   그림자는 잘린 모서리를 따라가도록 box-shadow 대신 filter: drop-shadow 사용 */
.hero-title { position: relative; }
.hero-note {
  --curl: .9rem;
  position: relative;
  display: inline-block;
  margin-bottom: 1rem;
  padding: .55rem 1rem .45rem;
  background: linear-gradient(45deg, transparent var(--curl), #f7dc5c var(--curl), #ffe872 45%, #fff3a3 100%);
  color: #2b2b2b;
  font-family: "Nanum Pen Script", cursive;
  font-size: 1.9rem;
  line-height: 1;
  transform: rotate(-3deg);
  filter: drop-shadow(3px 7px 7px rgba(0, 0, 0, .45));
}
.hero-note::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: calc(var(--curl) * 1.42);
  height: calc(var(--curl) * 1.42);
  background: linear-gradient(45deg, transparent 50%, #c9a82c 50%, #e8c94a 70%, #fbe68a 100%);
  filter: drop-shadow(2px -1px 2px rgba(0, 0, 0, .25));
}
.hero-note br { display: none; }
@media (min-width: 992px) {
  .hero-title { display: inline-block; }
  .hero-note {
    --curl: 1.6rem;
    position: absolute;
    left: 100%;
    top: -1rem;
    width: 8.5rem;
    height: 8.5rem;
    margin: 0 0 0 1.5rem;
    padding: .6rem .6rem 1rem 1.4rem; /* 말린 모서리에 글씨가 가리지 않게 왼쪽·아래 여백을 더 줌 */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 2.9rem;
    line-height: 1.05;
    transform: rotate(5deg);
    filter: drop-shadow(5px 12px 12px rgba(0, 0, 0, .5));
  }
  .hero-note br { display: inline; }
}

/* 공통 섹션 */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--navy); color: #fff; }
.section-eyebrow {
  color: var(--yellow-dark);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  margin-bottom: .25rem;
}
.section-dark .section-eyebrow { color: var(--yellow); }
.section h2 {
  font-weight: 800;
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin-bottom: .75rem;
}
.section-lead { color: var(--muted); max-width: 40rem; margin-bottom: 2rem; }
.section-dark .section-lead { color: rgba(255, 255, 255, .8); }

/* CHECK */
.check-card {
  position: relative;
  height: 100%;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: .75rem;
  align-items: center;
  align-content: start;
  background: #fff;
  border: 1px solid var(--line);
  padding: 1.5rem 1.25rem;
}
.check-card h5 { font-weight: 700; font-size: 1.05rem; margin: 0; }
.check-card p { grid-column: 1 / -1; margin: .75rem 0 0; font-size: .93rem; color: var(--muted); }
.check-no, .step-no, .qc-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background: var(--navy);
  color: var(--yellow);
  font-weight: 700;
}
.notice {
  margin-top: 1.5rem;
  padding: 1.1rem 1.25rem;
  background: #fff8db;
  border-left: 4px solid var(--yellow);
  font-size: .93rem;
}
.notice strong { display: block; margin-bottom: .25rem; }
.notice-info { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--navy); }
.notice ul { margin: .35rem 0 0; padding-left: 1.1rem; }
.notice li { margin-bottom: .2rem; }
/* 원형 안에 숫자가 들어가는 목록 (심의에서 확인하는 조건) */
.num-list {
  list-style: none;
  counter-reset: num;
  padding-left: 0;
  margin: 1rem 0 0;
}
.num-list li {
  counter-increment: num;
  position: relative;
  padding-left: 2.1rem;
  margin-bottom: .6rem;
}
.num-list li::before {
  content: counter(num);
  position: absolute;
  left: 0;
  top: .1rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  line-height: 1.5rem;
  text-align: center;
}

/* 양성화가 원칙적으로 어려운 지역 — 가장 눈에 띄는 경고 박스 */
.zone-warning {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: #fdecea;
  border: 2px solid #c0392b;
}
.zone-warning-head { display: flex; gap: .9rem; align-items: flex-start; }
.zone-warning-icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  background: #c0392b;
  color: #fff;
  font-weight: 800;
  font-size: 1.4rem;
}
.zone-warning-text strong { display: block; font-size: 1.25rem; font-weight: 800; color: #8f1d12; }
.zone-warning-text p { margin: .25rem 0 0; font-size: .95rem; color: #5b3a37; }
.zone-tags { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.zone-tags li {
  background: #fff;
  border: 1px solid #c0392b;
  color: #8f1d12;
  font-weight: 700;
  font-size: .9rem;
  padding: .3rem .7rem;
}
.zone-exception { margin: 1rem 0 0; font-size: .88rem; color: #5b3a37; }
/* "심의에서 확인하는 조건": 위 경고 박스와 같은 빨간 계열, 숫자 원도 같은 빨강 */
.zone-check .zone-warning-icon { font-size: 1.2rem; }
.zone-check .num-list li { font-size: .95rem; color: #5b3a37; }
.zone-check .num-list li::before { background: #c0392b; }

/* QUICK CHECK: 방문자용 간이 검토 */
.quick-check {
  scroll-margin-top: 72px; /* 위에 붙은 메뉴가 머리글을 가리지 않게 */
  margin-top: 2.5rem;
  padding: 2rem 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--yellow);
}
.quick-check h3 { font-weight: 800; font-size: 1.5rem; margin-bottom: .25rem; }
.quick-lead { color: var(--muted); margin-bottom: 1.5rem; }
.qc-q { border: 0; padding: 0; margin: 0 0 1.5rem; min-width: 0; }
.qc-q legend {
  float: none;
  width: auto;
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: 0;
  margin-bottom: .6rem;
  font-size: 1.05rem;
  font-weight: 700;
}
.qc-choices { display: flex; flex-wrap: wrap; gap: .5rem; }
.qc-choice { position: relative; margin: 0; cursor: pointer; }
.qc-choice input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.qc-choice span {
  display: block;
  padding: .55rem .9rem;
  border: 1px solid var(--line);
  background: #fff;
  font-size: .93rem;
  font-weight: 500;
}
.qc-choice:hover span { border-color: var(--navy); }
.qc-choice input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; font-weight: 700; }
.qc-choice input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
.qc-fields { display: flex; flex-wrap: wrap; gap: 1rem; }
.qc-field { display: block; flex: 1 1 14rem; max-width: 22rem; font-size: .93rem; font-weight: 600; }
.qc-field[hidden] { display: none; }
.qc-field .form-control { margin-top: .35rem; border-radius: 0; }
/* 규모 문항: 기 허가 연면적 + 위반한 면적 = 현재 사용 연면적 (2026-11-06). 제목 줄 수가 달라도 입력칸 높이를 맞춘다 */
.qc-fields .qc-field { display: flex; flex-direction: column; justify-content: space-between; flex-basis: 11rem; }
.qc-field[hidden] { display: none; }
.qc-fields-stack { flex-direction: column; gap: .9rem; }
.qc-fields-stack .qc-field { flex: none; width: 100%; max-width: 26rem; }
.qc-fields-stack .qc-field-hint { margin: -.4rem 0 0; }
.qc-field .qc-total { background: var(--bs-secondary-bg, #f1f3f5); font-weight: 700; color: var(--navy); pointer-events: none; }
.qc-hint { margin: .5rem 0 0; font-size: .85rem; color: var(--muted); }
.qc-privacy { margin: 1.25rem 0 0; font-size: .82rem; color: var(--muted); }

/* 간이 검토: 한 문항씩 넘기기 (form.is-steps일 때 지금 문항만 보임) */
.qc-progress { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.25rem; }
.qc-progress-text { flex: none; font-size: .85rem; font-weight: 700; color: var(--navy); }
.qc-progress-bar { flex: 1; height: 6px; background: var(--line); overflow: hidden; }
.qc-progress-bar span { display: block; height: 100%; width: 0; background: var(--yellow); transition: width .25s ease; }
.is-steps .qc-q { display: none; min-height: 9rem; }
.is-steps .qc-q.is-current { display: block; animation: qc-in .2s ease; }
@keyframes qc-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.is-steps .qc-choices { flex-direction: column; align-items: stretch; max-width: 28rem; }
.is-steps .qc-choice span { padding: .75rem 1rem; font-size: 1rem; }
.qc-nav { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.btn-navy { background: var(--navy); border-color: var(--navy); color: #fff; font-weight: 700; padding: .5rem 1.5rem; }
.btn-navy:hover, .btn-navy:focus { background: var(--navy-deep); border-color: var(--navy-deep); color: #fff; }
@media (prefers-reduced-motion: reduce) {
  .is-steps .qc-q.is-current { animation: none; }
  .qc-progress-bar span { transition: none; }
}

/* 간이 검토 결과 */
/* 결과 카드 (2026-11-05): 사이트 남색 바탕 + 판정별 색은 윗줄과 제목에만 */
.qc-result {
  --qc-ok: #4fd1a1; --qc-warn: var(--yellow); --qc-fail: #ff8a7a;
  margin-top: 1.75rem; padding: 1.5rem; background: var(--navy); color: #fff;
  border-top: 4px solid var(--qc-accent, var(--yellow));
}
.qc-result[hidden] { display: none; }
.qc-result.likely { --qc-accent: var(--qc-ok); }
.qc-result.review { --qc-accent: var(--qc-warn); }
.qc-result.unlikely { --qc-accent: var(--qc-fail); }
.qc-result h4 { margin: 0 0 .35rem; font-size: 1.35rem; font-weight: 800; color: var(--qc-accent); }
.qc-result .qc-sub { color: rgba(255, 255, 255, .88); }
.qc-sub { margin: 0 0 1rem; }
.qc-result .qc-sub { margin-bottom: .4rem; }
.qc-next-step { margin: 0 0 1rem; color: rgba(255, 255, 255, .88); } /* 결론 문장(.qc-sub)과 같은 위계 */
.qc-list-title { margin: 1rem 0 .4rem; font-size: .9rem; font-weight: 700; }
.qc-list { margin: 0; padding: 0; list-style: none; }
.qc-list li { padding: .5rem 0; border-top: 1px solid rgba(0, 0, 0, .1); font-size: .92rem; }
.qc-list small { display: block; margin-top: .15rem; color: var(--muted); }
.qc-tag { display: inline-block; margin-left: .5rem; padding: .05rem .5rem; color: #fff; font-size: .78rem; font-weight: 700; }
.qc-tag.warn { background: #b7791f; }
.qc-tag.fail { background: #c0392b; }
.qc-ok li::before { content: "✓ "; color: #1e7a46; font-weight: 700; }
/* 결과가 한 화면에 들어오게: 메뉴 아래에 맞춰 멈추고, 충족 항목은 작은 표시로 한 줄에 */
.qc-result { scroll-margin-top: 76px; }
.qc-result:focus, .qc-result h4:focus { outline: none; }
.qc-ok-inline { display: flex; flex-wrap: wrap; gap: .35rem .5rem; }
.qc-ok-inline li { padding: .15rem .55rem; border: 1px solid rgba(30, 122, 70, .35); background: rgba(255, 255, 255, .6); font-size: .85rem; }
.qc-result-top { display: flex; justify-content: space-between; align-items: flex-start; gap: .75rem; }
.qc-redo { flex: none; padding: .2rem .6rem; border: 1px solid rgba(255, 255, 255, .45); background: transparent; font-size: .82rem; color: #fff; cursor: pointer; }
.qc-redo:hover { border-color: #fff; }
@media (max-width: 575.98px) {
  .qc-result { padding: 1.1rem; }
  .qc-result h4 { font-size: 1.2rem; }
  .qc-more { margin: .75rem 0; }
  .qc-cta { margin-top: .9rem; }
}
.qc-more { margin: 1rem 0; font-size: .85rem; color: var(--muted); }
.qc-cta { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin-top: 1.25rem; }
.qc-link { font-size: .9rem; color: var(--navy); }
.section-dark .form-text { color: rgba(255, 255, 255, .7); }

/* FAQ */
.faq .accordion-button { font-weight: 600; }
.faq .accordion-button:not(.collapsed) {
  background: #fff8db;
  color: var(--ink);
  box-shadow: none;
}
.faq .accordion-button:focus { box-shadow: none; border-color: var(--yellow); }

/* PROCESS */
.step {
  height: 100%;
  padding: 1.5rem 1.25rem;
  border-top: 3px solid var(--navy);
  background: var(--bg-alt);
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: .75rem;
  align-items: center;
  align-content: start;
}
.step h5 { font-weight: 700; font-size: 1.05rem; margin: 0; }
.step p { grid-column: 1 / -1; margin: .75rem 0 0; font-size: .93rem; color: var(--muted); }

/* CONTACT */
.section-dark a { color: var(--yellow); }
#contact .form-control {
  border-radius: 0;
  padding: .7rem .85rem;
}
#contact .form-label { font-size: .9rem; font-weight: 600; }
.consent { font-size: .9rem; }
.consent .form-check { margin-bottom: .5rem; }
.consent-detail {
  margin: .5rem 0 0;
  padding: .75rem .9rem;
  background: rgba(255, 255, 255, .08);
  font-size: .8rem;
  color: rgba(255, 255, 255, .8);
}
/* 제공 항목은 한 줄에 하나씩, 앞에 · 표시 */
ul.consent-detail { list-style: none; }
.consent-detail li { position: relative; padding-left: .8em; }
.consent-detail li::before { content: "·"; position: absolute; left: 0; }
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* FOOTER */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, .7);
  padding: 2rem 0;
  font-size: .85rem;
}
.site-footer a { color: rgba(255, 255, 255, .85); }
.site-footer .disclaimer { color: rgba(255, 255, 255, .55); font-size: .8rem; }
.footer-office-name { font-weight: 700; color: #fff; margin-bottom: .25rem; }
.footer-links {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

/* 개인정보 처리방침 페이지 소제목 (.section h2의 큰 제목 크기를 덮어씀) */
.policy h2 { font-size: 1.1rem; font-weight: 700; margin-bottom: .4rem; }

/* 간이 검토 결과: 결론·상담 버튼 아래의 자세한 항목은 구분선으로 나눔 */
/* 충족한 항목(연한 초록)·확인이 필요한 항목(연한 빨강): 남색 카드 안의 밝은 칸, 진한 글씨 */
.qc-box { margin-top: .9rem; padding: .85rem .95rem .9rem; color: #1f2937; }
.qc-box-ok { background: #e4f5ec; }
.qc-box-check { background: #fdeceb; }
.qc-box-title { margin: 0 0 .6rem; font-size: .8rem; font-weight: 800; letter-spacing: .02em; }
.qc-box-ok .qc-box-title { color: #17694a; }
.qc-box-check .qc-box-title { color: #b42318; }
.qc-ico {
  display: inline-flex; flex: none; align-items: center; justify-content: center;
  width: 1.25rem; height: 1.25rem; margin-right: .5rem;
  border-radius: 50%; color: #fff; font-size: .72rem; font-weight: 900; line-height: 1;
}
.qc-box-ok .qc-ico { background: #1f8a5b; }
.qc-box-check .qc-ico { background: #d97706; }
.qc-chips { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin: 0; padding: 0; list-style: none; }
.qc-chips li { display: inline-flex; align-items: center; font-size: .92rem; font-weight: 700; color: #14532d; }
.qc-checks { margin: 0; padding: 0; list-style: none; }
.qc-checks li { display: flex; align-items: flex-start; padding: .6rem 0; border-top: 1px solid rgba(180, 35, 24, .15); font-size: .92rem; }
.qc-checks li:first-child { border-top: 0; padding-top: .1rem; }
.qc-checks .qc-ico { margin-top: .1rem; }
.qc-checks li.fail .qc-ico { background: #d92d20; }
.qc-checks strong { margin-right: .4rem; font-weight: 700; }
.qc-pill { display: inline-block; padding: .02rem .45rem; background: #fff; border: 1px solid #f0b86e; color: #b45309; font-size: .76rem; font-weight: 700; }
.qc-checks li.fail .qc-pill { border-color: #f4a49b; color: #b42318; }
.qc-checks small { display: block; margin-top: .2rem; color: #6b7280; }
.qc-result .qc-more { margin: 1rem 0 0; color: rgba(255, 255, 255, .6); }
/* 맨 아래 상담 버튼 + 그 위 작은 노란 안내 */
/* 안내 글씨와 버튼을 한 줄에 (좁은 화면에서는 글씨가 두 줄로 접힘) */
.qc-result .qc-cta { display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; margin: 0 0 .25rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(255, 255, 255, .15); }
.qc-cta-lead { flex: 1 1 auto; min-width: 0; margin: 0; font-size: .88rem; font-weight: 700; line-height: 1.45; color: var(--yellow); text-align: left; }
.qc-result .qc-cta .btn { flex: none; white-space: nowrap; }
@media (max-width: 400px) {
  .qc-result .qc-cta { gap: .45rem; }
  .qc-cta-lead { font-size: .8rem; }
  .qc-result .qc-cta .btn { padding: .5rem .8rem; font-size: 1rem; }
}

/* 로고 (2026-11-05): 메뉴 왼쪽 불꽃, 푸터 위 전체 로고 */
.site-nav .navbar-brand { display: inline-flex; align-items: center; }
.brand-logo { height: 36px; width: auto; margin-right: .55rem; }
/* 불꽃은 아래가 넓어 무게중심이 높이의 54% 지점 → 가운데 맞춤이면 글자가 떠 보여서 글자를 조금 내림 (2026-11-06 소장님) */
.brand-logo + .brand-text { position: relative; top: 3px; }
/* 푸터 위 로고: 메뉴와 같은 모양 (불꽃 + 불양닷컴 + 흐린 글씨) */
.footer-brand { display: flex; align-items: center; flex-wrap: wrap; margin-bottom: 1.5rem; color: #fff; font-size: 1.05rem; font-weight: 700; white-space: nowrap; }
.site-nav > .container { flex-wrap: nowrap; gap: .5rem; }
.site-nav .navbar-brand { margin-right: 0; min-width: 0; white-space: nowrap; }
@media (max-width: 400px) {
  .brand-logo { height: 31px; margin-right: .45rem; }
  .brand-logo + .brand-text { top: 2px; }
}

/* 휴대폰 간이 검토: 아래에 내용이 더 있으면 화살표 + 오른쪽 스크롤 막대 (quick-check.js) */
.qc-scroll-hint {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  z-index: 1030;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: .35rem;
  padding: .45rem 1rem;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: .85rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, .55);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .3);
  animation: qc-hint-bounce 1.4s ease-in-out infinite;
}
.qc-scroll-hint[hidden] { display: none; }
.qc-scroll-hint svg { width: 16px; height: 16px; stroke: var(--yellow); stroke-width: 3; fill: none; }
@keyframes qc-hint-bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 5px); }
}
.qc-scroll-track {
  position: fixed;
  right: 4px;
  z-index: 1030;
  width: 4px;
  border-radius: 2px;
  background: rgba(20, 33, 61, .15);
}
.qc-scroll-track[hidden] { display: none; }
.qc-scroll-thumb { position: absolute; left: 0; right: 0; border-radius: 2px; background: var(--navy); }
@media (prefers-reduced-motion: reduce) {
  .qc-scroll-hint { animation: none; }
}
@media (max-width: 340px) {
  .site-nav .navbar-brand { font-size: .92rem; }
}

/* 간이 검토: 주소로 건축물대장 불러오기 (register-lookup.js) */
.qc-lookup[hidden] { display: none !important; }
.qc-optional { font-size: .8em; font-weight: 400; color: #6b7280; }
/* 대장·토지이용계획으로 미리 고른 답 꼬리표 「(대장내용 확인)」 — 남색으로 고른 칸 안에서는 노란 글씨 */
.qc-src { margin-left: .35rem; font-style: normal; font-size: .82em; font-weight: 700; color: var(--navy); white-space: nowrap; }
.qc-choice input:checked + span .qc-src { color: var(--yellow); }
.qc-field .qc-src { display: inline-block; margin-left: .25rem; }
.qc-lookup-row { display: flex; gap: .5rem; }
.qc-lookup-row .form-control { min-width: 0; }
.qc-lookup-row .btn { flex: none; padding-left: 1rem; padding-right: 1rem; }
.qc-lookup-msg { margin: .6rem 0 0; font-size: .9rem; }
.qc-lookup-msg.is-warn { color: #8a5a00; }
.qc-addr-list { display: grid; gap: .35rem; margin-top: .4rem; }
.qc-addr-item { display: block; width: 100%; padding: .5rem .75rem; text-align: left; background: #fff; border: 1px solid var(--line, #dde1e7); font-size: .9rem; }
.qc-addr-item:hover { border-color: var(--navy); }
.qc-addr-item small { display: block; color: #6b7280; }
.qc-reg { margin-top: .75rem; padding: .8rem .9rem; background: #fff; border: 1px solid var(--line, #dde1e7); border-left: 4px solid var(--navy); }
.qc-reg-title { margin: 0; font-size: .8rem; font-weight: 700; color: #6b7280; }
.qc-reg-addr { margin: .1rem 0 .5rem; font-weight: 700; }
/* 동·호 고르기 칸 — 「양성화가 원칙적으로 어려운 지역」 상자(.zone-warning)와 같은 빨간 계열 (2026-11-12 소장님: 노랑·초록은 안 어울림)
   연한 빨강 바탕 + 진한 빨강 테두리·제목. 안 골랐으면 드롭다운 테두리 굵게, 안 고르고 「다음」이면 왼쪽 굵은 줄 + 안내 */
.qc-lookup-pick { display: block; margin: .6rem 0; padding: .7rem .8rem; background: #fdecea; border: 2px solid #c0392b; font-size: .95rem; font-weight: 800; color: #8f1d12; }
.qc-lookup-pick small { display: block; margin-top: .1rem; font-size: .84rem; font-weight: 500; color: #5b3a37; }
.qc-lookup-pick select { margin-top: .45rem; border: 1px solid #c0392b; border-radius: 0; font-weight: 700; color: #8f1d12; }
.qc-lookup-pick.is-pending select { border-width: 2px; }
.qc-lookup-pick select:focus { border-color: #c0392b; box-shadow: 0 0 0 .2rem rgba(192, 57, 43, .25); }
.qc-lookup-pick.is-missing { border-left-width: 8px; }
.qc-pick-err { display: block; margin-top: .4rem; font-size: .88rem; font-weight: 700; color: #c0392b; }
.qc-reg-list { display: grid; grid-template-columns: auto 1fr; gap: .2rem .9rem; margin: 0 0 .5rem; font-size: .9rem; }
.qc-reg-list dt { font-weight: 500; color: #6b7280; }
.qc-reg-list dd { margin: 0; }
.qc-lookup-note { margin: .4rem 0 0; font-size: .82rem; color: #4b5563; }
.qc-lookup-note.is-warn { color: #8a5a00; }
