/* 청라 아크원 푸르지오 오피스텔 상세 위젯 (otd) — 모든 규칙은 .otd 아래로 한정 */
.otd {
  --otd-ink: #1a1916;
  --otd-muted: #6d675f;
  --otd-line: #e4ddd3;
  --otd-soft: #f6f3ee;
  --otd-bg: #fff;
  --otd-accent: #1c3a32;
  --otd-accent-ink: #fff;
  --otd-sand: #c4a574;
  --otd-sticky-top: 0px;
  color: var(--otd-ink);
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 16px 40px;
  font-size: 15px;
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: anywhere;
  box-sizing: border-box;
}
.otd *,
.otd *::before,
.otd *::after { box-sizing: border-box; }
.otd button { font: inherit; color: inherit; cursor: pointer; }
/* 사이트 전역 em·i 서체(명조 등)가 위젯 안으로 들어오지 않게 */
.otd em,
.otd i,
.otd b,
.otd strong { font-family: inherit; }
.otd :focus-visible { outline: 2px solid var(--otd-sand); outline-offset: 2px; }
.otd .otd-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.otd .otd-loading,
.otd .otd-error { padding: 40px 0; text-align: center; color: var(--otd-muted); }

.otd .otd-h2 { font-size: clamp(24px, 4vw, 34px); line-height: 1.3; margin: 0 0 8px; font-weight: 700; letter-spacing: -0.02em; }
.otd .otd-h3 { font-size: 21px; line-height: 1.35; margin: 0 0 6px; font-weight: 700; letter-spacing: -0.01em; }
.otd .otd-h3 small { font-size: 14px; font-weight: 500; color: var(--otd-muted); margin-left: 6px; }
.otd .otd-h4 { font-size: 17px; margin: 0; font-weight: 700; }
.otd .otd-sub { margin: 0 0 12px; color: var(--otd-muted); font-size: 14px; }
.otd .otd-note { margin: 8px 0 0; color: var(--otd-muted); font-size: 12.5px; line-height: 1.55; }
.otd .otd-src { margin: 12px 0 0; color: var(--otd-muted); font-size: 12px; }
.otd .otd-eyebrow { margin: 0 0 6px; font-size: 12px; letter-spacing: 0.24em; color: var(--otd-sand); font-weight: 700; }
.otd .otd-sec { margin-top: 40px; }
.otd .otd-sec--first { margin-top: 0; }

/* 히어로 */
.otd .otd-hero { padding: 28px 20px; background: var(--otd-soft); border: 1px solid var(--otd-line); border-radius: 14px; }
.otd .otd-lead { margin: 0 0 18px; font-size: 15.5px; }
.otd .otd-sched { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: 1fr; }
.otd .otd-sched li { background: var(--otd-bg); border: 1px solid var(--otd-line); border-radius: 10px; padding: 12px 14px; display: flex; flex-direction: column; }
.otd .otd-sched b { font-size: 13px; color: var(--otd-accent); }
.otd .otd-sched span { font-size: 18px; font-weight: 700; }
.otd .otd-sched em { font-style: normal; font-size: 12.5px; color: var(--otd-muted); }

.otd .otd-facts { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; grid-template-columns: 1fr; }
.otd .otd-facts li { display: flex; flex-direction: column; padding: 10px 14px; border-radius: 10px; background: #edf3f0; border: 1px solid #d6e3dd; }
.otd .otd-facts b { font-size: 12.5px; color: var(--otd-muted); font-weight: 600; }
.otd .otd-facts span { font-size: 15.5px; font-weight: 700; color: var(--otd-accent); }
.otd .otd-facts em { font-style: normal; font-size: 12px; color: var(--otd-muted); }
@media (min-width: 640px) { .otd .otd-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .otd .otd-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* 오픈 이벤트 */
.otd .otd-ev { padding: 22px 18px; border-radius: 14px; background: #f3f7f5; border: 1px solid #d6e3dd; }
.otd .otd-ev__list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; grid-template-columns: 1fr; }
.otd .otd-ev__item { background: var(--otd-bg); border: 1px solid var(--otd-line); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.otd .otd-ev__item.is-hot { border-color: var(--otd-accent); box-shadow: inset 4px 0 0 var(--otd-sand); }
.otd .otd-ev__when { align-self: flex-start; font-size: 12px; font-weight: 700; color: var(--otd-accent); background: #e6efeb; border-radius: 999px; padding: 3px 10px; }
.otd .otd-ev__item.is-hot .otd-ev__when { background: var(--otd-accent); color: var(--otd-accent-ink); }
.otd .otd-ev__t { font-size: 17px; font-weight: 800; letter-spacing: -0.01em; margin-top: 2px; }
.otd .otd-ev__d { margin: 0; font-size: 14px; line-height: 1.55; color: var(--otd-ink); }
.otd .otd-ev__sub { font-size: 12.5px; font-weight: 600; color: #8a6d3b; }
.otd .otd-ev__how { margin: 4px 0 0; padding-top: 8px; border-top: 1px dashed var(--otd-line); font-size: 12.5px; line-height: 1.55; color: var(--otd-muted); }
.otd .otd-ev__note { margin: 12px 0 0; font-size: 12px; line-height: 1.55; color: var(--otd-muted); }
.otd .otd-ev__swipe { display: none; }
@media (max-width: 719px) {
  .otd .otd-ev { padding: 20px 0 18px; }
  .otd .otd-ev > .otd-eyebrow, .otd .otd-ev > .otd-h3, .otd .otd-ev > .otd-sub, .otd .otd-ev__note { padding: 0 16px; }
  .otd .otd-ev__list { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 82%; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 16px 6px; scroll-padding: 0 16px; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
  .otd .otd-ev__item { scroll-snap-align: start; }
  .otd .otd-ev__swipe { display: block; margin: 0 0 8px; padding: 0 16px; font-size: 12px; color: var(--otd-muted); }
}
@media (min-width: 720px) {
  .otd .otd-ev { padding: 28px 26px; }
  .otd .otd-ev__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .otd .otd-ev__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* 타입 카드 */
.otd .otd-cards { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.otd .otd-card { text-align: left; background: var(--otd-bg); border: 1px solid var(--otd-line); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 2px; min-height: 108px; transition: border-color .15s, box-shadow .15s; }
.otd .otd-card:hover { border-color: var(--otd-accent); box-shadow: 0 4px 14px rgba(0, 0, 0, .06); }
.otd .otd-card__id { font-size: 19px; font-weight: 800; color: var(--otd-accent); letter-spacing: 0.01em; }
.otd .otd-card__area { font-size: 13px; color: var(--otd-muted); }
.otd .otd-card__price { font-size: 13.5px; font-weight: 600; margin-top: auto; }

/* 타입 탭 */
.otd .otd-tabs-wrap { position: sticky; top: var(--otd-sticky-top); z-index: 20; margin: 40px -16px 0; padding: 8px 16px; background: var(--otd-bg); border-bottom: 1px solid var(--otd-line); }
.otd .otd-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.otd .otd-tabs::-webkit-scrollbar { display: none; }
.otd .otd-tab { flex: 0 0 auto; min-height: 44px; padding: 0 16px; border: 1px solid var(--otd-line); background: var(--otd-bg); border-radius: 999px; font-weight: 700; font-size: 14.5px; }
.otd .otd-tab[aria-selected="true"] { background: var(--otd-accent); border-color: var(--otd-accent); color: var(--otd-accent-ink); }

/* 패널 */
.otd .otd-panel { padding-top: 20px; outline: none; }
.otd .otd-panel__head { margin-bottom: 8px; }
.otd .otd-grid { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
.otd .otd-col { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.otd .otd-block { border: 1px solid var(--otd-line); border-radius: 12px; padding: 16px; background: var(--otd-bg); }
.otd .otd-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin-bottom: 10px; }
.otd .otd-row--tools { margin: 0 0 10px; }

.otd .otd-seg { display: inline-flex; border: 1px solid var(--otd-line); border-radius: 999px; padding: 3px; background: var(--otd-soft); }
.otd .otd-seg button { border: 0; background: transparent; padding: 0 14px; min-height: 36px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--otd-muted); }
.otd .otd-seg button[aria-pressed="true"] { background: var(--otd-bg); color: var(--otd-ink); box-shadow: 0 1px 4px rgba(0, 0, 0, .12); }
.otd .otd-link { border: 0; background: none; padding: 6px 0; min-height: 36px; font-size: 13.5px; font-weight: 600; color: var(--otd-accent); text-decoration: underline; text-underline-offset: 3px; }

/* 평면 */
.otd .otd-plan { display: block; position: relative; width: 100%; padding: 0; border: 1px solid var(--otd-line); border-radius: 10px; overflow: hidden; background: #f2f2ee; }
.otd .otd-plan img { display: block; width: 100%; height: auto; }
.otd .otd-plan__zoom { position: absolute; right: 8px; bottom: 8px; padding: 4px 10px; border-radius: 999px; background: rgba(26, 25, 22, .78); color: #fff; font-size: 12px; }
/* 견본주택 유닛 사진: 첫 장은 넓게, 나머지는 두 칸 */
.otd .otd-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.otd .otd-photo { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 10px; overflow: hidden; background: #e9e7e1; aspect-ratio: 1 / 1; }
.otd .otd-photo:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.otd .otd-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.otd .otd-photo__cap { position: absolute; left: 8px; bottom: 8px; padding: 3px 9px; border-radius: 6px; background: rgba(26, 25, 22, .78); color: #fff; font-size: 12px; font-weight: 600; }
.otd .otd-legend { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 12px; font-size: 13px; }
.otd .otd-legend li { display: flex; gap: 7px; align-items: center; }
.otd .otd-num { flex: 0 0 auto; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #1f4a52; color: #fff; font-size: 11px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }

/* 표 */
.otd .otd-table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.otd .otd-table th,
.otd .otd-table td { padding: 9px 10px; border-bottom: 1px solid var(--otd-line); text-align: right; white-space: nowrap; }
.otd .otd-table th:first-child { text-align: left; }
.otd .otd-table thead th { position: sticky; top: 0; background: var(--otd-soft); font-size: 12.5px; color: var(--otd-muted); font-weight: 600; z-index: 1; }
.otd .otd-table--area th { font-weight: 500; color: var(--otd-muted); white-space: normal; }
.otd .otd-table--area td { font-weight: 600; }
.otd .otd-scroll { max-height: 420px; overflow: auto; border: 1px solid var(--otd-line); border-radius: 10px; -webkit-overflow-scrolling: touch; }
.otd .otd-scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.otd .otd-table--price tbody tr { cursor: pointer; }
.otd .otd-table--price tbody tr:hover { background: var(--otd-soft); }
.otd .otd-table--price tbody tr.is-on { background: #edf3f0; box-shadow: inset 3px 0 0 var(--otd-accent); }
.otd .otd-table--price tbody th { font-weight: 600; }
.otd .otd-find { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--otd-muted); }
.otd .otd-find input { width: 96px; min-height: 40px; padding: 0 10px; border: 1px solid var(--otd-line); border-radius: 8px; font: inherit; font-size: 16px; color: var(--otd-ink); background: var(--otd-bg); }

/* 납부일정 */
.otd .otd-pay__sel { margin: 6px 0 10px; font-size: 14.5px; }
.otd .otd-pay__sel b { color: var(--otd-accent); }
.otd .otd-bar { display: flex; height: 10px; border-radius: 999px; overflow: hidden; background: var(--otd-soft); }
.otd .otd-bar .b-dep, .otd .k-dep::before { background: var(--otd-sand); }
.otd .otd-bar .b-mid, .otd .k-mid::before { background: var(--otd-accent); }
.otd .otd-bar .b-bal, .otd .k-bal::before { background: #8a958f; }
.otd .otd-legend-bar { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 8px 0 10px; font-size: 12.5px; color: var(--otd-muted); }
.otd .otd-legend-bar span::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 5px; vertical-align: 0; }
.otd .otd-pay__list { list-style: none; margin: 0; padding: 0; }
.otd .otd-pay__item { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "k v" "d v"; gap: 0 12px; padding: 9px 0 9px 12px; border-bottom: 1px solid var(--otd-line); position: relative; }
.otd .otd-pay__item::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px; border-radius: 2px; background: var(--otd-accent); }
.otd .otd-pay__item--dep::before { background: var(--otd-sand); }
.otd .otd-pay__item--bal::before { background: #8a958f; }
.otd .otd-pay__k { grid-area: k; font-weight: 600; font-size: 14px; }
.otd .otd-pay__d { grid-area: d; font-size: 12.5px; color: var(--otd-muted); }
.otd .otd-pay__v { grid-area: v; align-self: center; font-weight: 700; font-variant-numeric: tabular-nums; font-size: 14.5px; }

/* 옵션 */
.otd .otd-callout { margin: 0 0 14px; padding: 12px 14px; border-radius: 10px; background: #fbf6ec; border: 1px solid #ecdcbc; font-size: 13.5px; }
.otd .otd-acc { border: 1px solid var(--otd-line); border-radius: 12px; margin-bottom: 10px; background: var(--otd-bg); }
.otd .otd-acc > summary { list-style: none; cursor: pointer; padding: 14px 16px; font-weight: 700; font-size: 16px; display: flex; justify-content: space-between; align-items: center; min-height: 48px; }
.otd .otd-acc > summary::-webkit-details-marker { display: none; }
.otd .otd-acc > summary::after { content: "+"; font-size: 20px; color: var(--otd-muted); font-weight: 400; }
.otd .otd-acc[open] > summary::after { content: "−"; }
.otd .otd-acc__body { padding: 0 16px 14px; }
.otd .otd-opt { padding: 12px 0; border-top: 1px solid var(--otd-line); }
.otd .otd-opt__name { margin: 0 0 6px; font-size: 15px; font-weight: 700; }
.otd .otd-opt__var { padding: 6px 0 8px; }
.otd .otd-opt__label { margin: 0 0 4px; font-weight: 600; font-size: 14px; color: var(--otd-accent); }
.otd .otd-opt__label i { font-style: normal; font-weight: 500; color: var(--otd-muted); font-size: 12.5px; margin-left: 4px; }
.otd .otd-opt__desc,
.otd .otd-opt__notes { margin: 0 0 6px; padding-left: 18px; font-size: 13px; color: var(--otd-muted); }
.otd .otd-opt__price { display: grid; grid-template-columns: repeat(3, minmax(0, auto)); gap: 4px 18px; margin: 4px 0 0; justify-content: start; }
.otd .otd-opt__price div { display: flex; flex-direction: column; }
.otd .otd-opt__price dt { font-size: 12px; color: var(--otd-muted); }
.otd .otd-opt__price dd { margin: 0; font-variant-numeric: tabular-nums; font-size: 14px; }
.otd .otd-mini { margin-top: 6px; }
.otd .otd-mini > summary { cursor: pointer; font-size: 12.5px; color: var(--otd-muted); text-decoration: underline; text-underline-offset: 3px; min-height: 32px; display: inline-flex; align-items: center; }
.otd .otd-mini[open] > summary { margin-bottom: 4px; }
.otd .otd-table--opt th, .otd .otd-table--opt td { text-align: right; font-size: 13px; padding: 7px 8px; }
.otd .otd-table--opt th:first-child { text-align: right; }

/* 유의사항 */
.otd .otd-notes ul { margin: 0; padding-left: 18px; font-size: 13.5px; color: var(--otd-muted); }
.otd .otd-notes li { margin: 4px 0; }

/* 확대 보기 */
.otd .otd-zoom { position: fixed; inset: 0; z-index: 9999; background: rgba(10, 10, 10, .9); display: flex; }
.otd .otd-zoom__scroll { flex: 1; overflow: auto; display: flex; align-items: center; justify-content: center; padding: 56px 12px 24px; }
.otd .otd-zoom__scroll img { display: block; max-width: none; width: min(1600px, 220vw); height: auto; background: #fff; }
.otd .otd-zoom--photo .otd-zoom__scroll img { width: auto; max-width: 100%; max-height: calc(100vh - 80px); background: transparent; }
.otd .otd-zoom__close { position: fixed; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 999px; border: 0; background: #fff; color: #111; font-size: 18px; z-index: 1; }
html.otd-noscroll, html.otd-noscroll body { overflow: hidden; }

@media (min-width: 640px) {
  .otd .otd-sched { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .otd .otd-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .otd .otd-legend { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .otd { padding: 32px 24px 56px; font-size: 16px; }
  .otd .otd-hero { padding: 36px 32px; }
  .otd .otd-tabs-wrap { margin-left: -24px; margin-right: -24px; padding-left: 24px; padding-right: 24px; }
  .otd .otd-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); align-items: start; }
  .otd .otd-zoom__scroll img { width: min(1600px, 140vw); }
}
@media (prefers-reduced-motion: reduce) {
  .otd * { transition: none !important; scroll-behavior: auto !important; }
}
