@charset "UTF-8";
/**
 * 부동산 4서비스 통합 — 감성 톤(웜 샌드·세이지·문서 랩)
 * dazabi-design-coder 기준. insurance_calc / insu_info_dashboard / realestate_simple 대체.
 * !important 는 @media 구간에만 사용(프로젝트 규칙).
 */

/* ------------------------------------------------------------------
   토큰 (body 스코프 — 부동산 페이지에서만 유효)
   ------------------------------------------------------------------ */
body.realestate-apt-sale-page,
body.realestate-building-register-page,
body.realestate-apt-rent-page,
body.realestate-lh-calendar-page {
	--re-paper: #f7f4ef;
	--re-surface: #fffcf8;
	--re-surface-2: #fff;
	--re-ink: #2a2622;
	--re-muted: #6e655c;
	--re-line: rgba(90, 75, 60, 0.14);
	--re-accent: #4a6b58;
	--re-accent-hover: #3d5a49;
	--re-accent-soft: rgba(74, 107, 88, 0.12);
	--re-warm: #b8956a;
	--re-radius: 14px;
	--re-radius-sm: 10px;
	--re-shadow: 0 4px 24px rgba(42, 38, 34, 0.06);
	--re-font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

body.realestate-apt-sale-page,
body.realestate-building-register-page,
body.realestate-apt-rent-page,
body.realestate-lh-calendar-page,
body.realestate-app {
	background: var(--re-paper, #f7f4ef) !important;
	color: var(--re-ink, #2a2622);
	font-family: var(--re-font, sans-serif);
}

/* ------------------------------------------------------------------
   셸: main, wrapper, 콘텐츠 폭
   ------------------------------------------------------------------ */
body.insu-info-dashboard-page.realestate-apt-sale-page .main-content,
body.insu-info-dashboard-page.realestate-building-register-page .main-content,
body.insu-info-dashboard-page.realestate-apt-rent-page .main-content,
body.insu-info-dashboard-page.realestate-lh-calendar-page .main-content {
	padding: 20px 0 28px;
	margin-top: 70px;
}

body:has(.life-info-hero).realestate-apt-sale-page .main-content,
body:has(.life-info-hero).realestate-building-register-page .main-content,
body:has(.life-info-hero).realestate-apt-rent-page .main-content,
body:has(.life-info-hero).realestate-lh-calendar-page .main-content {
	margin-top: 0;
	padding-top: 0;
}

.realestate-main .main-wrapper {
	width: 100%;
	margin: 0;
	padding: 0;
}

.realestate-main .insurance-content {
	max-width: 1200px;
	margin: 0 auto;
}

.realestate-container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* 2열 작업대 */
.realestate-main .pc-search-interface,
body.realestate-apt-sale-page .pc-search-interface,
body.realestate-building-register-page .pc-search-interface,
body.realestate-apt-rent-page .pc-search-interface,
body.realestate-lh-calendar-page .pc-search-interface {
	display: grid;
	grid-template-columns: minmax(280px, 300px) 1fr;
	gap: 20px;
	align-items: start;
	height: auto;
	min-height: 0;
}

/* 사이드바 */
.realestate-main .search-sidebar,
body.realestate-apt-sale-page .search-sidebar,
body.realestate-building-register-page .search-sidebar,
body.realestate-apt-rent-page .search-sidebar,
body.realestate-lh-calendar-page .search-sidebar {
	background: var(--re-surface-2, #fff);
	border: 1px solid var(--re-line, rgba(90, 75, 60, 0.14));
	border-radius: var(--re-radius, 14px);
	padding: 20px 18px 22px;
	box-shadow: var(--re-shadow, 0 4px 24px rgba(42, 38, 34, 0.06));
	position: sticky;
	top: 20px;
	align-self: start;
}

/* 결과 패널 */
.realestate-main .search-results-area,
body.realestate-apt-sale-page .search-results-area,
body.realestate-building-register-page .search-results-area,
body.realestate-apt-rent-page .search-results-area,
body.realestate-lh-calendar-page .search-results-area {
	background: var(--re-surface, #fffcf8);
	border: 1px solid var(--re-line, rgba(90, 75, 60, 0.14));
	border-radius: var(--re-radius, 14px);
	box-shadow: var(--re-shadow, 0 4px 24px rgba(42, 38, 34, 0.06));
	padding: 0;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	min-width: 0;
}

/* 사이드바 헤더 */
body.insu-info-dashboard-page .realestate-main .search-sidebar-header,
.realestate-main .search-sidebar-header {
	margin-bottom: 16px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--re-line, rgba(90, 75, 60, 0.14));
	min-height: 52px;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}

.realestate-main .header-with-back {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.realestate-main .back-btn,
body.realestate-apt-sale-page .back-btn,
body.realestate-building-register-page .back-btn,
body.realestate-apt-rent-page .back-btn,
body.realestate-lh-calendar-page .back-btn {
	background: var(--re-surface-2, #fff);
	border: 1px solid var(--re-line, rgba(90, 75, 60, 0.2));
	border-radius: var(--re-radius-sm, 10px);
	color: var(--re-ink, #2a2622);
	width: 40px;
	height: 40px;
	min-width: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.realestate-main .back-btn:hover {
	background: var(--re-accent-soft, rgba(74, 107, 88, 0.1));
	border-color: var(--re-accent, #4a6b58);
	color: var(--re-accent, #4a6b58);
}

.realestate-main .header-text {
	flex: 1;
	min-width: 0;
}

.realestate-main .header-text h3 {
	margin: 0 0 4px;
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--re-ink, #2a2622);
}

.realestate-main .header-text p {
	margin: 0;
	font-size: 0.8rem;
	color: var(--re-muted, #6e655c);
}

/* PC: 종합검색 링크 */
.insu-info-dashboard-page .realestate-main .insu-info-pc-fchome,
.realestate-main .insu-info-pc-fchome {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 12px;
	min-width: 40px;
	height: 40px;
	box-sizing: border-box;
	border-radius: var(--re-radius-sm, 10px);
	border: 1px solid var(--re-line, rgba(90, 75, 60, 0.2));
	background: var(--re-surface-2, #fff);
	color: var(--re-ink, #2a2622);
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
	transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.insu-info-dashboard-page .realestate-main .insu-info-pc-fchome:hover,
.realestate-main .insu-info-pc-fchome:hover {
	background: var(--re-accent-soft, rgba(74, 107, 88, 0.1));
	border-color: var(--re-accent, #4a6b58);
	color: var(--re-accent, #4a6b58);
}

/* 폼 */
.realestate-main .search-form-container {
	margin-bottom: 16px;
}

.realestate-main .form-group {
	margin-bottom: 18px;
}

.realestate-main .form-group label {
	display: block;
	margin-bottom: 6px;
	font-size: 13px;
	font-weight: 600;
	color: var(--re-ink, #2a2622);
}

.realestate-main .search-sidebar .form-control,
.realestate-main .search-sidebar input[type="text"],
.realestate-main .search-sidebar select {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid var(--re-line, rgba(90, 75, 60, 0.25));
	border-radius: var(--re-radius-sm, 10px);
	font-size: 14px;
	background: var(--re-surface-2, #fff);
	color: var(--re-ink, #2a2622);
	transition: border-color 0.2s, box-shadow 0.2s;
}

.realestate-main .search-sidebar .form-control:focus {
	outline: none;
	border-color: var(--re-accent, #4a6b58);
	box-shadow: 0 0 0 3px var(--re-accent-soft, rgba(74, 107, 88, 0.15));
}

.realestate-main .form-hint {
	margin-top: 6px;
	font-size: 12px;
	color: var(--re-muted, #6e655c);
}

.realestate-main .search-btn-primary,
.realestate-main .search-btn-simple {
	width: 100%;
	background: var(--re-accent, #4a6b58);
	color: #fff;
	border: none;
	padding: 12px 16px;
	border-radius: var(--re-radius-sm, 10px);
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	transition: background 0.2s, transform 0.15s;
}

.realestate-main .search-btn-primary:hover,
.realestate-main .search-btn-simple:hover {
	background: var(--re-accent-hover, #3d5a49);
}

.realestate-main .info-section-simple {
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid var(--re-line, rgba(90, 75, 60, 0.12));
}

.realestate-main .info-simple-text {
	margin: 0;
	font-size: 12px;
	line-height: 1.5;
	color: var(--re-muted, #6e655c);
}

/* 전월세 알림 */
.realestate-main .validation-alert {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	padding: 10px 12px;
	border-radius: var(--re-radius-sm, 10px);
	font-size: 13px;
	margin-bottom: 12px;
}

.realestate-main .validation-alert.info {
	background: rgba(184, 149, 106, 0.12);
	color: #5c4a32;
}

.realestate-main .validation-alert.error {
	background: rgba(220, 100, 80, 0.1);
	color: #8b3a2a;
}

/* ------------------------------------------------------------------
   서비스 전환(대시보드)
   ------------------------------------------------------------------ */
.realestate-services-dashboard {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-bottom: 14px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--re-line, rgba(90, 75, 60, 0.14));
}

.realestate-dashboard-btn {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border-radius: var(--re-radius-sm, 10px);
	border: 1px solid var(--re-line, rgba(90, 75, 60, 0.18));
	background: var(--re-surface-2, #fff);
	color: var(--re-ink, #2a2622);
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
	transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.realestate-dashboard-btn:hover {
	background: var(--re-accent-soft, rgba(74, 107, 88, 0.08));
	border-color: var(--re-accent, #4a6b58);
	color: var(--re-accent, #4a6b58);
}

.realestate-dashboard-btn.active {
	background: var(--re-accent, #4a6b58);
	border-color: var(--re-accent, #4a6b58);
	color: #fff;
}

.realestate-dashboard-btn i {
	width: 18px;
	text-align: center;
	flex-shrink: 0;
}

.realestate-btn-text-mobile {
	display: none;
}

/* PC: 우측 영역에 있는 모바일용 대시보드 숨김 */
.realestate-main .search-results-area .realestate-services-dashboard-mobile {
	display: none;
}

/* ------------------------------------------------------------------
   모바일 타이틀 바 (기본 숨김, @media에서 표시)
   ------------------------------------------------------------------ */
.insu-info-dashboard-page .realestate-main .insu-info-mobile-title-bar {
	display: none;
}

.insu-info-dashboard-page .realestate-main .insu-link-mobile-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	width: 100%;
}

.insu-info-dashboard-page .realestate-main .insu-link-mobile-back {
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: var(--re-radius-sm, 10px);
	border: 1px solid var(--re-line, rgba(90, 75, 60, 0.2));
	background: var(--re-surface-2, #fff);
	color: var(--re-ink, #2a2622);
	text-decoration: none;
}

.insu-info-dashboard-page .realestate-main .insu-link-mobile-fchome {
	flex-shrink: 0;
	padding: 8px 12px;
	border-radius: var(--re-radius-sm, 10px);
	border: 1px solid var(--re-line, rgba(90, 75, 60, 0.2));
	background: var(--re-surface-2, #fff);
	color: var(--re-ink, #2a2622);
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
}

/* ------------------------------------------------------------------
   결과 공통: 헤더, 요약, 빈 상태
   ------------------------------------------------------------------ */
.realestate-main .search-results-area .results-header {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
	padding: 16px 20px;
	border-bottom: 1px solid var(--re-line, rgba(90, 75, 60, 0.12));
}

.realestate-main .results-title-section {
	display: flex;
	align-items: center;
	gap: 8px;
}

.realestate-main .results-title-section h4 {
	margin: 0;
	font-size: 1rem;
	font-weight: 700;
	color: var(--re-ink, #2a2622);
}

.realestate-main .result-count {
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--re-accent, #4a6b58);
}

.realestate-main .search-results-area .results-summary,
.realestate-main .results-summary {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 18px;
}

.realestate-main .summary-item {
	font-size: 13px;
	color: var(--re-muted, #6e655c);
}

.realestate-main .summary-item .value {
	font-weight: 600;
	color: var(--re-ink, #2a2622);
}

.realestate-main .results-content {
	flex: 1;
	padding: 16px 20px 20px;
	overflow: auto;
	min-height: 0;
}

.realestate-main .empty-state {
	text-align: center;
	padding: 40px 20px 48px;
	color: var(--re-muted, #6e655c);
}

.realestate-main .empty-state i {
	font-size: 2.25rem;
	color: #b0a99e;
	margin-bottom: 12px;
}

.realestate-main .empty-state h4 {
	margin: 0 0 8px;
	font-size: 1.1rem;
	color: var(--re-ink, #2a2622);
}

.realestate-main .empty-state p {
	margin: 0;
	font-size: 14px;
}

/* ------------------------------------------------------------------
   아파트 매매: 필터, 테이블, 정렬
   ------------------------------------------------------------------ */
body.realestate-apt-sale-page .dong-filter {
	padding: 12px 20px;
	background: rgba(74, 107, 88, 0.06);
	border-bottom: 1px solid var(--re-line, rgba(90, 75, 60, 0.12));
}

body.realestate-apt-sale-page .dong-filter h4 {
	margin: 0 0 10px;
	font-size: 14px;
	font-weight: 600;
}

body.realestate-apt-sale-page .dong-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

body.realestate-apt-sale-page .dong-btn {
	padding: 8px 12px;
	font-size: 12px;
	border-radius: 999px;
	background: #fff;
	border: 1px solid var(--re-line, rgba(90, 75, 60, 0.2));
	color: var(--re-ink, #2a2622);
	cursor: pointer;
	transition: background 0.2s, border-color 0.2s, color 0.2s;
}

body.realestate-apt-sale-page .dong-btn:hover {
	background: var(--re-accent-soft, rgba(74, 107, 88, 0.1));
}

body.realestate-apt-sale-page .dong-btn.active {
	background: var(--re-accent, #4a6b58);
	border-color: var(--re-accent, #4a6b58);
	color: #fff;
}

body.realestate-apt-sale-page .dong-filter .dong-filter-mobile-select {
	display: none;
}

body.realestate-apt-sale-page .results-table .date-cell .date-short {
	display: none;
}

body.realestate-apt-sale-page .results-table .date-cell .date-full {
	display: inline;
}

body.realestate-apt-sale-page .results-table-container {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

body.realestate-apt-sale-page .results-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
}

body.realestate-apt-sale-page .results-table thead th {
	background: rgba(74, 107, 88, 0.08);
	color: var(--re-ink, #2a2622);
	padding: 10px 12px;
	text-align: left;
	font-weight: 600;
	border-bottom: 1px solid var(--re-line, rgba(90, 75, 60, 0.15));
}

body.realestate-apt-sale-page .results-table tbody td {
	padding: 10px 12px;
	border-bottom: 1px solid var(--re-line, rgba(90, 75, 60, 0.1));
}

body.realestate-apt-sale-page .results-table tbody tr:hover {
	background: rgba(74, 107, 88, 0.04);
}

body.realestate-apt-sale-page .results-table th.sortable {
	cursor: pointer;
	user-select: none;
	white-space: nowrap;
}

body.realestate-apt-sale-page .results-table th.sortable:hover {
	background: var(--re-accent-soft, rgba(74, 107, 88, 0.15));
	color: var(--re-accent, #4a6b58);
}

body.realestate-apt-sale-page .sort-icon {
	margin-left: 6px;
	font-size: 11px;
	opacity: 0.45;
}

body.realestate-apt-sale-page .sort-icon.active {
	opacity: 1;
	color: var(--re-accent, #4a6b58);
}

body.realestate-apt-sale-page .apt-dong,
body.realestate-apt-rent-page .apt-dong {
	font-size: 11px;
	color: var(--re-muted, #6e655c);
}

body.realestate-apt-sale-page .price-main,
body.realestate-apt-rent-page .price-main {
	font-weight: 600;
}

/* ------------------------------------------------------------------
   전월세
   ------------------------------------------------------------------ */
body.realestate-apt-rent-page .dong-filter {
	padding: 12px 20px;
	background: rgba(74, 107, 88, 0.06);
	border-bottom: 1px solid var(--re-line, rgba(90, 75, 60, 0.12));
}

body.realestate-apt-rent-page .dong-filter h4,
body.realestate-apt-rent-page .rent-type-filter-title {
	margin: 10px 0;
	font-size: 14px;
	font-weight: 600;
}

body.realestate-apt-rent-page .dong-filter .rent-type-filter-title:first-of-type {
	margin-top: 0;
}

body.realestate-apt-rent-page .dong-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

body.realestate-apt-rent-page .dong-btn {
	padding: 8px 12px;
	font-size: 12px;
	border-radius: 999px;
	background: #fff;
	border: 1px solid var(--re-line, rgba(90, 75, 60, 0.2));
	cursor: pointer;
}

body.realestate-apt-rent-page .dong-btn.active {
	background: var(--re-accent, #4a6b58);
	border-color: var(--re-accent, #4a6b58);
	color: #fff;
}

body.realestate-apt-rent-page .results-table,
body.realestate-apt-rent-page .apt-rent-results-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
}

body.realestate-apt-rent-page .results-table thead th,
body.realestate-apt-rent-page .apt-rent-results-table thead th {
	background: rgba(74, 107, 88, 0.08);
	padding: 10px 12px;
	text-align: left;
	font-weight: 600;
	border-bottom: 1px solid var(--re-line, rgba(90, 75, 60, 0.15));
}

body.realestate-apt-rent-page .results-table tbody td,
body.realestate-apt-rent-page .apt-rent-results-table tbody td {
	padding: 10px 12px;
	border-bottom: 1px solid var(--re-line, rgba(90, 75, 60, 0.1));
}

body.realestate-apt-rent-page .rent-type-badge {
	display: inline-block;
	padding: 4px 8px;
	font-size: 11px;
	font-weight: 600;
	border-radius: 6px;
	background: #dbe7e0;
	color: var(--re-accent, #3d5a49);
}

body.realestate-apt-rent-page .rent-type-badge.wolse {
	background: #e8f0e5;
	color: #2d5a3d;
}

/* ------------------------------------------------------------------
   건축물대장 (카드·탭·테이블)
   ------------------------------------------------------------------ */
body.realestate-building-register-page .content-area .info-cards-container {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
}

body.realestate-building-register-page .content-area .info-card {
	background: var(--re-surface-2, #fff);
	border: 1px solid var(--re-line, rgba(90, 75, 60, 0.14));
	border-radius: var(--re-radius-sm, 10px);
	overflow: hidden;
}

body.realestate-building-register-page .content-area .info-card .card-header {
	padding: 12px 14px;
	background: rgba(90, 75, 60, 0.1);
	text-align: center;
}

body.realestate-building-register-page .content-area .info-card .card-header h3 {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 600;
}

body.realestate-building-register-page .content-area .info-card .card-content {
	padding: 12px 14px;
}

body.realestate-building-register-page .content-area .info-card .info-row {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 10px 0;
	font-size: 0.95rem;
	border-bottom: 1px solid var(--re-line, rgba(90, 75, 60, 0.1));
}

body.realestate-building-register-page .content-area .info-card .info-label {
	color: var(--re-muted, #6e655c);
	font-size: 0.9rem;
}

body.realestate-building-register-page .floor-info-container {
	margin-top: 12px;
	border: 1px solid var(--re-line, rgba(90, 75, 60, 0.14));
	border-radius: var(--re-radius-sm, 10px);
	overflow: hidden;
}

body.realestate-building-register-page .floor-info-container h4 {
	margin: 0;
	padding: 12px 14px;
	font-size: 1rem;
	font-weight: 600;
	background: rgba(74, 107, 88, 0.06);
	border-bottom: 1px solid var(--re-line, rgba(90, 75, 60, 0.12));
}

body.realestate-building-register-page .floor-info-table,
body.realestate-building-register-page .content-area .info-card-table-wrap .info-card-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.95rem;
	line-height: 1.5;
}

body.realestate-building-register-page .floor-info-table thead th,
body.realestate-building-register-page .content-area .info-card-table-wrap .info-card-table thead th {
	background: rgba(74, 107, 88, 0.08);
	padding: 12px 14px;
	text-align: center;
	font-weight: 600;
	font-size: 0.9rem;
	border: 1px solid var(--re-line, rgba(90, 75, 60, 0.15));
}

body.realestate-building-register-page .floor-info-table tbody td,
body.realestate-building-register-page .content-area .info-card-table-wrap .info-card-table tbody td {
	padding: 12px 14px;
	vertical-align: top;
	text-align: left;
	font-size: 0.95rem;
	border: 1px solid var(--re-line, rgba(90, 75, 60, 0.12));
	word-break: keep-all;
	overflow-wrap: break-word;
}

body.realestate-building-register-page .content-area .info-card-table-wrap .info-card-table tbody td:first-child {
	color: var(--re-muted, #6e655c);
	font-weight: 500;
	width: 32%;
	white-space: nowrap;
}

body.realestate-building-register-page .search-address-display {
	margin-bottom: 12px;
	padding: 10px 14px;
	background: rgba(74, 107, 88, 0.06);
	border-radius: var(--re-radius-sm, 10px);
	font-size: 14px;
}

body.realestate-building-register-page .tab-navigation {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 12px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--re-line, rgba(90, 75, 60, 0.14));
}

body.realestate-building-register-page .dong-select-wrapper .dong-select,
body.realestate-building-register-page .unit-input-wrapper .unit-input {
	padding: 8px 12px;
	border: 1px solid var(--re-line, rgba(90, 75, 60, 0.25));
	border-radius: var(--re-radius-sm, 10px);
	font-size: 14px;
	background: #fff;
}

body.realestate-building-register-page .unit-input-wrapper .unit-input {
	width: 180px;
	max-width: 100%;
}

body.realestate-building-register-page .unit-search-btn,
body.realestate-building-register-page .floor-info-btn,
body.realestate-building-register-page .tab-item {
	padding: 8px 14px;
	border-radius: var(--re-radius-sm, 10px);
	font-size: 14px;
	cursor: pointer;
	border: 1px solid var(--re-line, rgba(90, 75, 60, 0.2));
	background: var(--re-surface-2, #fff);
	color: var(--re-ink, #2a2622);
}

body.realestate-building-register-page .unit-search-btn:hover,
body.realestate-building-register-page .floor-info-btn:hover {
	background: var(--re-accent-soft, rgba(74, 107, 88, 0.1));
	border-color: var(--re-accent, #4a6b58);
	color: var(--re-accent, #4a6b58);
}

body.realestate-building-register-page #exclusive-area-result .info-card,
body.realestate-building-register-page #floor-info-result .info-card {
	background: #fff;
	border: 1px solid var(--re-line, rgba(90, 75, 60, 0.14));
	border-radius: var(--re-radius-sm, 10px);
	margin-bottom: 10px;
}

body.realestate-building-register-page #exclusive-area-result .card-header,
body.realestate-building-register-page #floor-info-result .card-header {
	padding: 12px 14px;
	background: rgba(74, 107, 88, 0.08);
	border-bottom: 1px solid var(--re-line, rgba(90, 75, 60, 0.12));
}

body.realestate-building-register-page #exclusive-area-result .card-header h3,
body.realestate-building-register-page #floor-info-result .card-header h3 {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 600;
}

body.realestate-building-register-page #exclusive-area-result .card-content,
body.realestate-building-register-page #floor-info-result .card-content {
	padding: 12px 14px 14px;
}

body.realestate-building-register-page #exclusive-area-result .info-row,
body.realestate-building-register-page #floor-info-result .info-row {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	align-items: flex-start;
	padding: 10px 0;
	font-size: 0.95rem;
	line-height: 1.5;
	border-bottom: 1px solid var(--re-line, rgba(90, 75, 60, 0.08));
}

body.realestate-building-register-page #exclusive-area-result .info-row .info-label,
body.realestate-building-register-page #floor-info-result .info-row .info-label {
	flex: 0 0 auto;
	color: var(--re-muted, #6e655c);
}

body.realestate-building-register-page #exclusive-area-result .info-row .info-value,
body.realestate-building-register-page #floor-info-result .info-row .info-value {
	text-align: right;
	word-break: keep-all;
}

body.realestate-building-register-page .building-msg {
	color: var(--re-muted, #6e655c);
	font-size: 14px;
	margin: 0;
	padding: 8px 0;
}

/* ------------------------------------------------------------------
   모바일 전용 검색 (PC에서 숨김)
   ------------------------------------------------------------------ */
.realestate-mobile-search-wrap {
	display: none;
}

/* ------------------------------------------------------------------
   LH 달력: 셸과 달력 영역이 보이도록
   ------------------------------------------------------------------ */
body.realestate-lh-calendar-page .search-results-area .calendar-main,
body.realestate-lh-calendar-page .search-results-area .calendar-wrapper,
body.realestate-lh-calendar-page .search-results-area .calendar-content,
body.realestate-lh-calendar-page .search-results-area #calendar {
	display: block;
	width: 100%;
}

body.realestate-lh-calendar-page .search-results-area #calendar {
	min-height: 400px;
}

/* ------------------------------------------------------------------
   모바일 / 태블릿
   ------------------------------------------------------------------ */
@media (max-width: 1024px) {
	body.realestate-apt-sale-page .pc-search-interface,
	body.realestate-building-register-page .pc-search-interface,
	body.realestate-apt-rent-page .pc-search-interface,
	body.realestate-lh-calendar-page .pc-search-interface {
		display: grid !important;
		grid-template-columns: 1fr !important;
	}

	body.realestate-apt-sale-page .search-sidebar,
	body.realestate-building-register-page .search-sidebar,
	body.realestate-apt-rent-page .search-sidebar,
	body.realestate-lh-calendar-page .search-sidebar {
		display: none !important;
	}

	body.realestate-apt-sale-page .realestate-services-dashboard:not(.realestate-services-dashboard-mobile),
	body.realestate-building-register-page .realestate-services-dashboard:not(.realestate-services-dashboard-mobile),
	body.realestate-apt-rent-page .realestate-services-dashboard:not(.realestate-services-dashboard-mobile),
	body.realestate-lh-calendar-page .realestate-services-dashboard:not(.realestate-services-dashboard-mobile) {
		display: none !important;
	}

	.realestate-main .search-results-area .realestate-services-dashboard-mobile {
		display: flex !important;
		flex-direction: row;
		flex-wrap: nowrap;
		gap: 4px;
		padding: 8px 0 10px;
		margin: 0 0 10px 0;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		background: var(--re-surface, #fffcf8);
		border-bottom: 1px solid var(--re-line, rgba(90, 75, 60, 0.15));
	}

	.realestate-main .realestate-services-dashboard-mobile .realestate-dashboard-btn {
		flex: 1;
		min-width: 0;
		justify-content: center;
		white-space: nowrap;
		padding: 6px 4px;
		font-size: 11px;
		gap: 4px;
	}

	.realestate-main .realestate-services-dashboard-mobile .realestate-btn-text-pc {
		display: none !important;
	}

	.realestate-main .realestate-services-dashboard-mobile .realestate-btn-text-mobile {
		display: inline !important;
	}

	.insu-info-dashboard-page .realestate-main .insu-info-pc-fchome {
		display: none !important;
	}

	.insu-info-dashboard-page .realestate-main .insu-info-mobile-title-bar {
		display: block !important;
		padding: 10px 0 12px;
		background: var(--re-surface, #fffcf8);
	}

	.insu-info-dashboard-page .realestate-main .insu-info-mobile-header-title h3 {
		font-size: 1.12rem;
		font-weight: 700;
		margin: 0 0 2px 0;
	}

	.insu-info-dashboard-page .realestate-main .insu-info-mobile-header-title p {
		font-size: 0.75rem;
		color: var(--re-muted, #6e655c);
		margin: 0;
	}

	body.realestate-apt-sale-page .main-content,
	body.realestate-building-register-page .main-content,
	body.realestate-apt-rent-page .main-content,
	body.realestate-lh-calendar-page .main-content {
		margin-top: 46px !important;
		padding: 10px 0 24px !important;
	}

	body:has(.life-info-hero).realestate-apt-sale-page .main-content,
	body:has(.life-info-hero).realestate-building-register-page .main-content,
	body:has(.life-info-hero).realestate-apt-rent-page .main-content,
	body:has(.life-info-hero).realestate-lh-calendar-page .main-content {
		margin-top: 0 !important;
		padding-top: 0 !important;
	}

	body.realestate-lh-calendar-page .search-results-area {
		display: block !important;
	}

	body:has(.life-info-hero).realestate-apt-sale-page .realestate-container,
	body:has(.life-info-hero).realestate-building-register-page .realestate-container,
	body:has(.life-info-hero).realestate-apt-rent-page .realestate-container,
	body:has(.life-info-hero).realestate-lh-calendar-page .realestate-container {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	body:has(.life-info-hero).realestate-apt-sale-page .search-results-area,
	body:has(.life-info-hero).realestate-building-register-page .search-results-area,
	body:has(.life-info-hero).realestate-apt-rent-page .search-results-area,
	body:has(.life-info-hero).realestate-lh-calendar-page .search-results-area {
		padding: 0 !important;
		min-height: calc(100vh - var(--header-height, 70px) - 52px - 56px - env(safe-area-inset-bottom, 0)) !important;
		box-sizing: border-box;
	}

	body:has(.life-info-hero) .realestate-main .insu-link-mobile-header-inner {
		padding-left: 10px !important;
		padding-right: 10px !important;
	}

	body:has(.life-info-hero) .realestate-main .search-results-area .realestate-services-dashboard-mobile {
		padding-left: 10px !important;
		padding-right: 10px !important;
	}

	body:has(.life-info-hero) .realestate-main .search-results-area .results-header,
	body:has(.life-info-hero) .realestate-main .search-results-area .results-content {
		padding-left: 10px !important;
		padding-right: 10px !important;
	}

	body:has(.life-info-hero) .realestate-main .search-results-area .results-content {
		padding-top: 12px !important;
		padding-bottom: calc(20px + env(safe-area-inset-bottom, 0)) !important;
	}

	body:has(.life-info-hero) .realestate-main .realestate-mobile-search-wrap {
		display: block !important;
		padding: 0 10px 12px 10px;
		background: var(--re-surface, #fffcf8);
		border-bottom: 1px solid var(--re-line, rgba(90, 75, 60, 0.12));
	}

	/* 아파트 매매: 모바일 동 필터·테이블 */
	body.realestate-apt-sale-page .dong-filter .dong-buttons {
		display: none !important;
	}

	body.realestate-apt-sale-page .dong-filter .dong-filter-mobile-select {
		display: block !important;
		margin-top: 6px;
	}

	body.realestate-apt-sale-page .dong-filter .dong-filter-mobile-select select {
		width: 100%;
		padding: 8px 12px;
		font-size: 14px;
		border: 1px solid var(--re-line, rgba(90, 75, 60, 0.2));
		border-radius: var(--re-radius-sm, 10px);
	}

	body.realestate-apt-sale-page .results-table .date-full {
		display: none !important;
	}

	body.realestate-apt-sale-page .results-table .date-short {
		display: inline !important;
	}

	body.realestate-apt-sale-page .search-results-area .results-content {
		overflow-x: auto !important;
		-webkit-overflow-scrolling: touch !important;
	}

	body.realestate-apt-sale-page .results-table {
		min-width: 720px !important;
	}

	/* 전월세: 가로 스크롤 */
	body.realestate-apt-rent-page .search-results-area .results-content {
		overflow-x: auto !important;
		-webkit-overflow-scrolling: touch !important;
	}

	body.realestate-apt-rent-page .apt-rent-results-table {
		min-width: 680px;
	}

	/* 건축물: 카드 1열 · 결과 테이블 가로 스크롤 */
	body.realestate-building-register-page .content-area .info-cards-container {
		grid-template-columns: 1fr;
	}

	body.realestate-building-register-page .search-results-area .results-content {
		overflow-x: auto !important;
		-webkit-overflow-scrolling: touch !important;
	}

	body.realestate-building-register-page .floor-info-table {
		min-width: 520px;
	}
}

@media (min-width: 1025px) and (max-width: 1280px) {
	.realestate-main .pc-search-interface,
	body.realestate-apt-sale-page .pc-search-interface,
	body.realestate-building-register-page .pc-search-interface,
	body.realestate-apt-rent-page .pc-search-interface,
	body.realestate-lh-calendar-page .pc-search-interface {
		grid-template-columns: minmax(260px, 280px) 1fr;
	}
}
