/* 오늘살집 — 확장 사이드바 시안(MERIDIAN 2026-10-26) 공통 디자인 스킨
 * 플랫폼 셸(홈·지도) 밖의 모든 승인 화면(목록·상세·전문상담사·청약·뉴스·계산기·비교·계정·고객센터·파트너)에
 * 시안 site.css 의 공통 언어를 입힌다: Pretendard, 중립 잉크(#151b27)·선(#d9dce2), 5~6px 모서리, 30px 제목, 44px 입력창.
 * 화면 구조(마크업)는 그대로 두고 토큰·공통 컴포넌트만 바꾼다 — 끄려면 inc/platform.php 의 bd_platform_on().
 * 콘텐츠 패널(iframe, body.bd-panel-mode) 안에서는 여백을 줄인다. */

:root{
	--bd-font:'Pretendard Variable',Pretendard,-apple-system,BlinkMacSystemFont,'Segoe UI','Malgun Gothic',sans-serif;
	--bd-ink:#151b27;--bd-ink-2:#3c4556;--bd-mute:#606976;--bd-mute-2:#6f7888;
	--bd-line:#d9dce2;--bd-line-2:#eef0f3;--bd-line-3:#e6e9ee;--bd-soft:#f5f3ef;
	--bd-radius:6px;--bd-radius-sm:5px;
	--bd-shadow-card:none;--bd-shadow-card-hover:0 8px 24px #0b1c4d12;
}
html,body{font-family:var(--bd-font)}
body{color:var(--bd-ink);-webkit-font-smoothing:antialiased}
h1,h2,h3{word-break:keep-all}
h1{letter-spacing:-1px;font-weight:700}
h2{letter-spacing:-.5px;font-weight:700}
h3{letter-spacing:-.3px}
p{line-height:1.8}

/* ── 머리말 (시안 .page-title) ── */
.bd-pagehead{background:none;padding:36px 0 6px;margin-bottom:26px}
.bd-pagehead h1,.bd-page-head h1{font-size:30px;line-height:1.4;letter-spacing:-1px;font-weight:700}
.bd-pagehead p,.bd-page-head p{font-size:13px;line-height:1.8;color:var(--bd-mute);margin-top:10px;max-width:650px}
.bd-breadcrumb{font-size:11px;color:var(--bd-mute);margin-bottom:14px}
.bd-section-head h2{font-size:22px;letter-spacing:-.5px}
.bd-section-head p{font-size:13px}

/* ── 버튼 (시안 .solid-button / .line-button) ── */
.bd-btn{border-radius:5px;font-weight:700;letter-spacing:-.2px}
.bd-btn-primary{background:var(--bd-blue);border-color:var(--bd-blue)}
.bd-btn-primary:hover{background:#0b4bd4;border-color:#0b4bd4}
.bd-btn-light,.bd-btn-soft{background:#fff;border:1px solid var(--bd-line);color:var(--bd-ink)}
.bd-btn-light:hover,.bd-btn-soft:hover{border-color:var(--bd-ink);background:#fff}
.bd-btn-ghost{color:var(--bd-ink-2)}
.bd-btn-sm{border-radius:4px}

/* ── 입력 ── */
.bd-field{font-size:12px;color:var(--bd-ink-2)}
.bd-field input,.bd-field select,.bd-field textarea,.bd-select,.cv-toolbar input,.cv-toolbar select{border-radius:4px;border-color:var(--bd-line);min-height:44px;font-size:14px}
.bd-field input:focus,.bd-field select:focus,.bd-field textarea:focus{border-color:var(--bd-blue);box-shadow:none}
.bd-field textarea{min-height:110px}

/* ── 카드·칩·배지·탭·표 ── */
.bd-card{border-radius:6px;border:1px solid var(--bd-line);box-shadow:none}
.bd-card:hover{box-shadow:var(--bd-shadow-card-hover);border-color:#c5cad3}
.bd-card-photo,.bd-card img{border-radius:0}
.bd-card-title h3{font-size:16px;letter-spacing:-.3px}
.bd-chip{border-radius:5px;font-size:12px;min-height:36px;padding:0 13px;color:var(--bd-ink-2)}
.bd-chip.active,.bd-chip[aria-pressed=true]{background:var(--bd-blue);border-color:var(--bd-blue);color:#fff}
.bd-badge{border-radius:4px;font-size:10.5px;letter-spacing:.01em}
.bd-tabs{border-bottom:1px solid var(--bd-line);gap:8px}
.bd-tabs button,.bd-tabs a{font-size:13px;padding:17px 16px;min-height:54px;color:var(--bd-mute)}
.bd-tabs .active{color:var(--bd-blue);border-bottom-color:var(--bd-blue)}
.bd-metric{border-radius:6px;border-color:var(--bd-line)}
.bd-metric strong{font-size:20px;letter-spacing:-.5px}
table.bd-table th,table.bd-table td{border-color:var(--bd-line)}
.bd-metrics,.bd-facts{gap:10px}

/* ── 머리글·바닥글·모바일 내비 (시안 masthead / platform-footer / mobile-nav) ── */
.bd-header{border-bottom:1px solid var(--bd-line);box-shadow:none}
.bd-header-nav{font-size:14px;font-weight:600}
.bd-footer{background:#fff;border-top:1px solid var(--bd-line);color:var(--bd-mute)}
.bd-footer-links a{font-size:12px}
.bd-footer-note{font-size:11px;line-height:1.85}
.bd-mobile-nav{border-top:1px solid var(--bd-line)}

/* ── 상세 화면 (시안 detail-copy / facts-grid / detail-nav) ── */
.bd-detail-title h1{font-size:33px;line-height:1.4;letter-spacing:-1px}
.bd-detail-tabs{background:#fffffff5}
.bd-detail-tabs .bd-tab{font-size:13px;min-height:54px;padding:17px 16px}
.bd-overview h2,.bd-detail-block h2{font-size:22px;letter-spacing:-.5px;margin-bottom:22px}
.bd-overview-item strong{font-size:18px;font-weight:600;letter-spacing:-.3px}
.bd-overview-item small{font-size:11px}

/* ── 전문상담사 목록 카드 / 뉴스 행 / 달력 (시안 model-entry / journal-row / calendar) ── */
.bd-mh-card,.bd-news-card{border-radius:6px;border:1px solid var(--bd-line)}
.bd-news-card h3{font-size:18px;letter-spacing:-.4px;line-height:1.5}
.bd-calendar-head h2{font-size:28px;letter-spacing:-1px}
.bd-cal-day,.bd-calendar-day{border-color:var(--bd-line)}

/* ── 계정·문의 (시안 auth-scene / inquiry-layout) ── */
.bd-auth-story{background:var(--bd-blue);color:#fff}
/* OL90 파란 바탕 위 글씨가 파랑·회색이라 안 보였음 */
.bd-auth-story h2,.bd-auth-story h2 *{color:#fff}
.bd-auth-story .bd-blue{color:#fff;box-shadow:inset 0 -.32em 0 rgba(255,255,255,.28)}
.bd-auth-story .bd-muted,.bd-auth-story p{color:rgba(255,255,255,.86)}
.bd-auth-story .bd-eyebrow{color:rgba(255,255,255,.7)}
.bd-auth-story img{object-fit:cover;object-position:center 60%}
.bd-auth-story h2{font-size:36px;letter-spacing:-1px;line-height:1.4}
.bd-auth-content h1{font-size:29px;letter-spacing:-1px}

/* ── 파트너 콘솔 (시안 work 화면 — 둥근 모서리만 맞춤) ── */
.cv-panel,.cv-card{border-radius:6px;border-color:var(--bd-line)}
.cv-title h1{font-size:26px;letter-spacing:-.8px}

/* ── 콘텐츠 패널(iframe) 안 — 폭이 580~800px 이므로 여백을 줄인다 ── */
body.bd-panel-mode .bd-container{width:calc(100% - 40px);max-width:none}
body.bd-panel-mode .bd-pagehead{padding:22px 0 4px;margin-bottom:18px}
body.bd-panel-mode .bd-pagehead h1,body.bd-panel-mode .bd-page-head h1{font-size:26px}
body.bd-panel-mode .bd-detail-title h1{font-size:26px}
body.bd-panel-mode .bd-grid-3,body.bd-panel-mode .bd-grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}
body.bd-panel-mode .bd-metrics{grid-template-columns:repeat(2,1fr)}
body.bd-panel-mode .bd-detail-tabs{top:0}
@media(max-width:760px){
	body.bd-panel-mode .bd-container{width:calc(100% - 28px)}
	body.bd-panel-mode .bd-grid-3,body.bd-panel-mode .bd-grid-4{grid-template-columns:1fr}
	.bd-pagehead{padding:24px 0 4px;margin-bottom:18px}
	.bd-pagehead h1,.bd-page-head h1{font-size:25px}
}
