/* Shared BuildLibrary edition typography and information pages. */
body {
  font-family: Pretendard, "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.bl-site-header__inner { min-height: 68px; }
.bl-site-brand {
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.035em;
}
.bl-site-brand small {
  padding: 3px 7px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .05em;
}
.bl-site-menu a {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.02em;
}

.page-id-3,
.page-id-128 { background: #f7f8fb; }
.page-id-3 .site-main,
.page-id-128 .site-main {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  padding: 64px 0 84px;
}
.page-id-3 article,
.page-id-128 article {
  padding: 48px 54px;
  border: 1px solid var(--bl-border);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(29, 24, 58, .06);
}
.page-id-3 .entry-header,
.page-id-128 .entry-header {
  margin-bottom: 30px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--bl-border);
}
.page-id-3 .entry-title,
.page-id-128 .entry-title {
  margin: 0;
  color: #24203f;
  font-size: 38px;
  line-height: 1.3;
  letter-spacing: -1.6px;
}
.page-id-3 .entry-content,
.page-id-128 .entry-content {
  color: #596273;
  font-size: 16px;
  line-height: 1.9;
}
.page-id-3 .entry-content h2,
.page-id-128 .entry-content h2 {
  margin-top: 38px;
  font-size: 22px;
  letter-spacing: -.5px;
}
.page-id-3 .entry-content h3,
.page-id-128 .entry-content h3 {
  margin-top: 29px;
  color: #302754;
  font-size: 18px;
}
.page-id-3 .entry-content li,
.page-id-128 .entry-content li { margin-bottom: 8px; }

@media (max-width: 760px) {
  .bl-site-brand { font-size: 18px; }
  .bl-site-menu a { font-size: 16px; font-weight: 600; }
  .page-id-3 .site-main,
  .page-id-128 .site-main {
    width: min(100% - 28px, 900px);
    padding: 32px 0 55px;
  }
  .page-id-3 article,
  .page-id-128 article { padding: 30px 24px; border-radius: 14px; }
  .page-id-3 .entry-title,
  .page-id-128 .entry-title { font-size: 30px; }
}

/* Installed-app bridge for the PARTNER subdomain. */
.bl-partner-app { min-height: calc(100vh - 68px); background: #f7f7fa; }
.bl-partner-app__bar { border-bottom: 1px solid #ddd9e9; background: #fff; }
.bl-partner-app__bar .bl-shell { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 62px; }
.bl-partner-app__bar div > div { display: flex; align-items: center; gap: 10px; }
.bl-partner-app__bar small { color: #7665bd; font-size: 10px; font-weight: 800; letter-spacing: .07em; }
.bl-partner-app__bar strong { color: #24203f; font-size: 17px; }
.bl-partner-app__bar a { color: #6551c7; font-size: 12px; font-weight: 800; text-decoration: none; }
.bl-partner-frame { position: relative; min-height: calc(100vh - 130px); background: #f7f7fa; }
.bl-partner-frame iframe { display: block; width: 100%; height: calc(100vh - 130px); min-height: 680px; border: 0; opacity: 0; transition: opacity .2s; }
.bl-partner-frame iframe.is-ready { opacity: 1; }
.bl-partner-frame__loading { position: absolute; z-index: 2; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; color: #24203f; background: linear-gradient(135deg, #f7f7fa, #f0edf9); transition: opacity .18s, visibility .18s; }
.bl-partner-frame__loading.is-hidden { visibility: hidden; opacity: 0; }
.bl-partner-frame__loading span { width: 34px; height: 34px; margin-bottom: 6px; border: 3px solid #ded8f4; border-top-color: #7052dc; border-radius: 50%; animation: bl-partner-spin .7s linear infinite; }
.bl-partner-frame__loading strong { font-size: 17px; }
.bl-partner-frame__loading small { color: #7c8492; font-size: 12px; }
@keyframes bl-partner-spin { to { transform: rotate(360deg); } }

@media (max-width: 760px) {
  .bl-partner-app__bar .bl-shell { min-height: 56px; }
  .bl-partner-app__bar small { display: none; }
  .bl-partner-app__bar strong { font-size: 15px; }
  .bl-partner-frame { min-height: calc(100vh - 124px); }
  .bl-partner-frame iframe { height: calc(100vh - 124px); min-height: 600px; }
}

@media (max-width: 540px) {
  .bl-site-brand { font-size: 17px; }
  .bl-site-brand small { font-size: 9px; }
}

/* PWA install entry point and iOS home-screen guide. */
.bl-app-install[hidden], .bl-install-guide[hidden] { display: none !important; }
.bl-app-install {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: auto;
  margin: 16px auto 0;
  padding: 7px 8px 7px 9px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 13px;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  text-align: left;
  backdrop-filter: blur(8px);
  cursor: pointer;
}
.bl-app-install img { width: 34px; height: 34px; border-radius: 9px; }
.bl-app-install span { display: flex; flex-direction: column; gap: 2px; }
.bl-app-install strong { color: #fff; font-size: 12px; line-height: 1.25; }
.bl-app-install small { color: #cfc9e6; font-size: 10px; }
.bl-app-install b { margin-left: 7px; padding: 7px 11px; border-radius: 8px; background: #fff; color: #5f4ac1; font-size: 11px; }
.bl-install-guide { position: fixed; z-index: 11000; inset: 0; display: grid; place-items: center; padding: 20px; }
.bl-install-guide__backdrop { position: absolute; inset: 0; width: 100%; border: 0; background: rgba(17, 13, 33, .62); }
.bl-install-guide__panel { position: relative; width: min(390px, 100%); padding: 29px 25px 25px; border-radius: 20px; background: #fff; box-shadow: 0 25px 70px rgba(13, 10, 31, .35); text-align: center; }
.bl-install-guide__panel > img { width: 64px; height: 64px; border-radius: 16px; }
.bl-install-guide__panel > p { margin: 9px 0 3px; color: #705bc9; font-size: 11px; font-weight: 800; }
.bl-install-guide__panel h2 { margin: 0 0 20px; color: #24203f; font-size: 22px; }
.bl-install-guide__panel ol { margin: 0; padding: 0; list-style: none; counter-reset: install-step; text-align: left; }
.bl-install-guide__panel li { position: relative; min-height: 34px; padding: 6px 0 10px 43px; color: #4d5563; font-size: 14px; line-height: 1.55; counter-increment: install-step; }
.bl-install-guide__panel li:before { content: counter(install-step); position: absolute; left: 0; top: 3px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #eeeaff; color: #6551c7; font-size: 12px; font-weight: 900; }
.bl-install-guide__panel > small { display: block; margin-top: 9px; padding-top: 15px; border-top: 1px solid #eceaf2; color: #8a91a0; font-size: 11px; line-height: 1.55; }
.bl-install-guide__close { position: absolute; top: 11px; right: 13px; width: 34px; height: 34px; border: 0; background: transparent; color: #8b8498; font-size: 27px; line-height: 1; cursor: pointer; }
body.bl-install-guide-open { overflow: hidden; }

.bl-live-results .bl-result-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 3px 12px;
  color: #667085;
  font-size: 12px;
  font-weight: 700;
  text-align: left;
}
.bl-live-results .bl-result-summary strong { color: #3b4250; font-size: 12px; }
.bl-live-results .bl-result-summary span { display: inline; margin: 0; color: #8a94a5; font-size: 11px; font-weight: 600; }
.bl-live-results .bl-result-channel {
  display: inline-block;
  width: auto;
  margin: 0 0 5px;
  padding: 3px 7px;
  border-radius: 5px;
  background: #eeeaff;
  color: #6551c7;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
}
.bl-live-results .bl-result-channel--light { background: #e8f7ed; color: #168443; }
.bl-live-results .bl-result-channel--insight { background: #fff0e7; color: #b55221; }
.bl-live-results .bl-result-channel--archive { background: #eeebf7; color: #51456f; }

.bl-live-results .bl-result-item { position: relative; padding: 15px 38px 15px 3px; transition: background .16s, padding-left .16s; }
.bl-live-results .bl-result-item:hover { padding-left: 10px; background: #faf9fc; }
.bl-live-results .bl-result-meta { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; }
.bl-live-results .bl-result-meta time { color: #98a2b3; font-size: 11px; }
.bl-live-results .bl-result-item strong { line-height: 1.45; }
.bl-live-results .bl-result-excerpt {
  display: -webkit-box;
  margin-top: 5px;
  overflow: hidden;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.bl-live-results .bl-result-item > i { position: absolute; top: 50%; right: 10px; color: #a39cad; font-size: 17px; font-style: normal; transform: translateY(-50%); transition: transform .16s, color .16s; }
.bl-live-results .bl-result-item:hover > i { color: var(--bl-purple-dark); transform: translate(4px, -50%); }
.bl-live-results mark { padding: 0; background: #f1edff; color: inherit; font-weight: inherit; }

/* Keep the homepage visible while search opens as a focused overlay. */
body.bl-results-open { overflow: hidden; }
.bl-site-header { z-index: 10020; }
body.bl-results-open .bl-hero__content { z-index: 10010; }
body.bl-results-open .bl-hero__content::before {
  content: "";
  position: fixed;
  z-index: 1;
  inset: 68px 0 0;
  background: rgba(18, 14, 35, .38);
  backdrop-filter: blur(1px);
}
.bl-home-search.is-results-open { z-index: 2; }
.bl-home-search.is-results-open .bl-home-search__box { position: relative; z-index: 2; }
.bl-home-search.is-results-open .bl-live-results {
  z-index: 3;
  max-height: calc(100vh - 210px);
  overscroll-behavior: contain;
}

@media (max-width: 760px) {
  .bl-home-search.is-results-open .bl-live-results {
    position: absolute;
    top: 70px;
    right: 0;
    bottom: auto;
    left: 0;
    max-height: min(52dvh, 430px);
    border-radius: 14px;
  }
  .bl-live-results .bl-result-summary { position: sticky; z-index: 2; top: -10px; margin: 0 -4px; padding: 14px 7px 12px; background: #fff; }
  .bl-live-results .bl-result-item { padding-top: 16px; padding-bottom: 16px; }
}

/* Homepage card density and clearer interaction hierarchy. */
.bl-db-card {
  min-height: 272px;
  padding: 24px 23px 21px;
}
.bl-db-card__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 17px;
}
.bl-db-card__icon::after {
  content: none;
}
.bl-db-card__icon svg,
.bl-tool-card > i svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.bl-db-card__icon svg { color: var(--bl-purple-dark); }
.bl-tool-card > i svg { color: var(--bl-purple-dark); }
.bl-db-card h3 { font-size: 20px; }
.bl-db-card > p { margin: 7px 0 16px; }
.bl-db-card strong { font-size: 22px; }
.bl-db-card small { display: block; margin-top: 3px; }
.bl-db-card > i {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  right: 18px;
  bottom: 18px;
  border-radius: 50%;
  background: #f1edff;
  color: var(--bl-purple-dark);
  font-size: 16px;
  transition: transform .2s, background .2s;
}
.bl-db-card:hover > i { transform: translateX(3px); background: #e7e0ff; }

.bl-tool-card {
  position: relative;
  min-height: 132px;
  padding: 20px 22px;
  align-items: center;
}
.bl-tool-card > i {
  width: 46px;
  height: 46px;
  margin-top: 0;
  font-size: 12px;
  letter-spacing: -.02em;
}
.bl-tool-card__body { min-width: 0; }
.bl-tool-card__type {
  display: inline-block;
  margin-bottom: 5px;
  padding: 2px 7px;
  border-radius: 5px;
  background: #f0ecff;
  color: var(--bl-purple-dark);
  font-size: 10px;
  font-weight: 800;
}
.bl-tool-card h3 { margin-bottom: 4px; }
.bl-tool-card p { padding-right: 18px; }
.bl-tool-card > b {
  position: absolute;
  right: 18px;
  color: #aaa3b8;
  font-size: 16px;
  transition: transform .2s, color .2s;
}
.bl-tool-card:hover > b { transform: translateX(3px); color: var(--bl-purple-dark); }
.bl-tool-card__status {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #eef0f3;
  color: #7d8594;
  font-size: 10px;
  font-weight: 800;
}
.bl-tool-card__status.is-live {
  background: var(--bl-lavender);
  color: var(--bl-purple-dark);
}
.bl-tool-card.is-coming {
  cursor: default;
}
.bl-tool-card.is-coming:hover {
  transform: none;
  border-color: var(--bl-border);
  box-shadow: none;
}
.bl-tool-card.is-coming > i { opacity: .72; }
.bl-tool-card.is-coming h3,
.bl-tool-card.is-coming p { padding-right: 46px; }

.bl-estimator-callout {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  align-items: center;
  gap: 18px;
  margin-top: 22px;
  padding: 22px 24px;
  color: var(--bl-ink);
  background: #fff;
  border: 1px solid #dedbea;
  border-radius: 16px;
}
.bl-estimator-callout__icon { display: grid; place-items: center; width: 52px; height: 52px; color: var(--bl-purple-dark); background: #eee9ff; border-radius: 14px; }
.bl-estimator-callout__icon svg { width: 25px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bl-estimator-callout span:nth-child(2) { display: flex; flex-direction: column; gap: 3px; }
.bl-estimator-callout small { color: var(--bl-purple-dark); font-size: 12px; font-weight: 800; }
.bl-estimator-callout strong { font-size: 18px; }
.bl-estimator-callout em { color: var(--bl-muted); font-size: 14px; font-style: normal; }
.bl-estimator-callout > b { color: var(--bl-purple-dark); font-size: 14px; }

.bl-frequency-page { min-height: 70vh; background: #f7f7fa; }
.bl-frequency-hero { padding: 82px 0 96px; color: #fff; background: linear-gradient(120deg, #17132e, #493878); }
.bl-frequency-kicker { margin: 0 0 13px; color: #c8baff; font-size: 13px; font-weight: 800; letter-spacing: .08em; }
.bl-frequency-hero h1 { margin: 0 0 14px; color: #fff; font-size: clamp(34px, 4vw, 50px); letter-spacing: -.04em; }
.bl-frequency-hero p:last-child { margin: 0; color: rgba(255,255,255,.78); font-size: 17px; }
.bl-frequency-app { position: relative; margin-top: -48px; padding-bottom: 90px; }
.bl-frequency-search { padding: 24px; background: #fff; border: 1px solid #e0ddea; border-radius: 18px; box-shadow: 0 18px 48px rgba(28,22,55,.1); }
.bl-frequency-search > label { display: block; margin-bottom: 9px; color: var(--bl-ink); font-size: 14px; font-weight: 800; }
.bl-frequency-search > div:first-of-type { display: flex; gap: 8px; }
.bl-frequency-search input { flex: 1; min-width: 0; height: 52px; padding: 0 17px; border: 1px solid #d8d5e3; border-radius: 10px; font: inherit; }
.bl-frequency-search input:focus { outline: 3px solid rgba(112,82,220,.14); border-color: #755ee0; }
.bl-frequency-search > div > button { min-width: 84px; border: 0; border-radius: 10px; color: #fff; background: var(--bl-ink); font-weight: 800; cursor: pointer; }
.bl-frequency-filters { display: flex !important; flex-wrap: wrap; gap: 7px !important; margin-top: 16px; }
.bl-frequency-filters button { min-width: 0 !important; padding: 8px 11px; color: #596273 !important; background: #f0f2f4 !important; border: 1px solid #e2e5e9 !important; border-radius: 999px !important; font-size: 12px; }
.bl-frequency-filters button.is-active { color: #fff !important; background: var(--bl-ink) !important; border-color: var(--bl-ink) !important; }
.bl-frequency-notice { display: flex; gap: 14px; margin: 18px 0 26px; padding: 15px 18px; color: #63552b; background: #fff9e8; border: 1px solid #eee1b9; border-radius: 12px; font-size: 13px; }
.bl-frequency-notice strong { flex: 0 0 auto; }
.bl-frequency-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.bl-frequency-meta strong { color: var(--bl-ink); font-size: 15px; }
.bl-frequency-meta button { padding: 7px 10px; color: var(--bl-purple-dark); background: transparent; border: 0; font-weight: 700; cursor: pointer; }
.bl-frequency-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.bl-frequency-card { padding: 24px; background: #fff; border: 1px solid #dfdde8; border-radius: 16px; }
.bl-frequency-card__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.bl-frequency-card__head span { padding: 5px 8px; color: #4d5663; background: #eef0f2; border-radius: 5px; font-size: 11px; font-weight: 800; }
.bl-frequency-card__head small { color: #858095; font-size: 11px; }
.bl-frequency-card h2 { margin: 15px 0 12px; color: var(--bl-ink); font-size: 20px; line-height: 1.4; }
.bl-frequency-card__value { margin-bottom: 17px; padding: 14px 16px; background: #f7f5ff; border-radius: 10px; }
.bl-frequency-card__value small { display: block; margin-bottom: 3px; color: #746c89; font-size: 11px; font-weight: 700; }
.bl-frequency-card__value strong { color: #3b2a82; font-size: 17px; }
.bl-frequency-card dl { margin: 0; }
.bl-frequency-card dl > div { display: grid; grid-template-columns: 78px 1fr; gap: 10px; padding: 9px 0; border-top: 1px solid #eeecf2; font-size: 13px; line-height: 1.55; }
.bl-frequency-card dt { color: #777184; font-weight: 700; }
.bl-frequency-card dd { margin: 0; color: #403b4c; }
.bl-frequency-card__warning { color: #8a551e; font-size: 12px; }
.bl-frequency-card__compound { margin: -5px 0 17px; padding: 14px 16px; background: #fbfaf5; border: 1px solid #ece7d5; border-radius: 10px; }
.bl-frequency-card__compound > strong { display: block; margin-bottom: 9px; color: #6e5a23; font-size: 12px; }
.bl-frequency-card__compound section + section { margin-top: 10px; padding-top: 10px; border-top: 1px solid #ece7d5; }
.bl-frequency-card__compound b { color: #3f3a2d; font-size: 13px; }
.bl-frequency-card__compound ul { margin: 5px 0 0; padding-left: 18px; color: #635d4e; font-size: 12px; line-height: 1.55; }
.bl-frequency-card footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding-top: 14px; border-top: 1px solid #eeecf2; }
.bl-frequency-card footer span { color: #3e6c52; font-size: 11px; font-weight: 800; }
.bl-frequency-card footer a { color: var(--bl-purple-dark); font-size: 12px; font-weight: 800; }
.bl-frequency-empty { grid-column: 1 / -1; padding: 50px 20px; text-align: center; background: #fff; border: 1px solid #dfdde8; border-radius: 16px; }

.bl-post-card time { color: #7f8899; font-weight: 500; }
.bl-post-card b { display: block; margin-top: auto; }

@media (max-width: 760px) {
  .bl-estimator-callout { grid-template-columns: 46px 1fr; padding: 18px; }
  .bl-estimator-callout > b { grid-column: 2; }
  .bl-frequency-hero { padding: 56px 0 78px; }
  .bl-frequency-hero p:last-child { font-size: 15px; }
  .bl-frequency-app { margin-top: -36px; }
  .bl-frequency-search { padding: 16px; }
  .bl-frequency-results { grid-template-columns: 1fr; }
  .bl-frequency-notice { flex-direction: column; gap: 4px; }
  .bl-frequency-card { padding: 19px; }
  .bl-frequency-card dl > div { grid-template-columns: 68px 1fr; }
  .bl-db-card { min-height: 248px; }
  .bl-tool-card { min-height: 124px; }
}
