
/* V13.4.5 unified homepage theme */
:root{
  --bb-bg:#f6f8fb;
  --bb-card:#ffffff;
  --bb-line:#e6eaf0;
  --bb-text:#101828;
  --bb-sub:#667085;
  --bb-blue:#2563eb;
}

body{
  background:var(--bb-bg) !important;
  color:var(--bb-text) !important;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Pretendard,Arial,sans-serif !important;
}

.header,.topbar,.gnb,.navbar{
  background:rgba(255,255,255,.94) !important;
  backdrop-filter:blur(14px);
  border-bottom:1px solid var(--bb-line) !important;
}

.logo,.brand{
  font-weight:950 !important;
  letter-spacing:-0.05em;
}

.panel,.card,.info-card,.estimate-card,.recommend-card,.summary-card{
  background:var(--bb-card) !important;
  border:1px solid var(--bb-line) !important;
  border-radius:24px !important;
  box-shadow:0 14px 34px rgba(16,24,40,.06) !important;
}

button,.btn{
  border-radius:14px !important;
  font-weight:800 !important;
}

.btn-primary,.primary{
  background:var(--bb-blue) !important;
  border-color:var(--bb-blue) !important;
  color:#fff !important;
}

input,select,textarea,.input,.select{
  border-radius:14px !important;
  border:1px solid #dbe3ef !important;
}

table{
  border-collapse:collapse !important;
}

th{
  background:#f8fafc !important;
}




/* V13.4.7 global family site top strip — V13.4.9 FIX: fixed 배치로 변경해 항상 최상단 표시 */
.family-panel{
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:99999;
  width:100%;
  margin:0;
  padding:6px 0;
  background:linear-gradient(90deg,rgba(239,246,255,.97),rgba(255,255,255,.97));
  border-bottom:1px solid rgba(37,99,235,.14);
  box-shadow:0 8px 24px rgba(16,24,40,.06);
  backdrop-filter:blur(14px);
}

/* family-panel 높이만큼 body 상단 여백 확보 */
body{
  padding-top:50px !important;
}

.family-panel-inner{
  width:min(1180px,calc(100% - 36px));
  min-height:36px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.family-panel-title{
  display:flex;
  align-items:center;
  gap:7px;
  color:#1d4ed8;
  font-size:12px;
  font-weight:900;
  white-space:nowrap;
}

.family-panel-title::before{
  content:"↗";
  display:inline-grid;
  place-items:center;
  width:20px;
  height:20px;
  border-radius:999px;
  background:#2563eb;
  color:#fff;
  font-size:11px;
  font-weight:950;
}

.family-sites{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:6px;
  flex-wrap:wrap;
}

.family-sites a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:28px;
  padding:0 10px;
  border-radius:999px;
  background:rgba(255,255,255,.74);
  border:1px solid rgba(203,213,225,.78);
  color:#334155;
  font-size:12px;
  line-height:1;
  font-weight:850;
  text-decoration:none;
}

.family-sites a:hover{
  background:#fff;
  border-color:#93c5fd;
  color:#1d4ed8;
}

.family-sites a.active{
  background:#2563eb;
  border-color:#2563eb;
  color:#fff;
}

.family-sites a.external{
  background:#fff7ed;
  border-color:#fed7aa;
  color:#c2410c;
}

@media(max-width:900px){
  .family-panel{
    padding:7px 0;
  }
  .family-panel-inner{
    align-items:flex-start;
    flex-direction:column;
    gap:7px;
  }
  .family-sites{
    justify-content:flex-start;
  }
  body{
    padding-top:64px !important;
  }
}
