/* eBook 페이지: solution_eregi.css, solution_translation.css, solution_admission.css 위에 뷰어 화면 부품만 더한다 */
.eb-ph { flex: 1; display: flex; flex-direction: column; gap: 8px; min-height: 0; padding: 30px 11px 12px; background: #F7F5EF; word-break: keep-all; color: #1C1A17; overflow: hidden; }
.eb-ph .ad-ph-mid { min-height: 0; }
.eb-head { padding-bottom: 7px; border-bottom: 2px solid #1C1A17; font-size: 15px; font-weight: 800; letter-spacing: -.03em; }
.eb-search { display: flex; align-items: center; gap: 7px; min-height: 34px; padding: 7px 9px; border: 1px solid #1C1A17; background: #fff; font-size: 11px; color: #6E6A61; }
.eb-search.is-in { font-size: 13px; font-weight: 700; color: #1C1A17; }
.eb-count { font-size: 11px; font-weight: 800; color: #57534A; }

.eb-row { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 8px; padding: 7px 0; border-bottom: 1px solid #DDD8CB; }
.eb-code { align-self: start; padding: 4px 1px; border-radius: 3px; background: #1C1A17; text-align: center; font-size: 10.5px; font-weight: 800; line-height: 1.15; color: #F7F5EF; font-variant-numeric: tabular-nums; }
.eb-code--off { background: #A8A296; }
.eb-row.is-on .eb-code { background: #FFD43B; color: #1C1A17; }
.eb-row b { display: block; font-size: 11.5px; font-weight: 800; line-height: 1.35; letter-spacing: -.02em; }
.eb-row small { display: block; margin-top: 2px; font-size: 10.5px; color: #57534A; }
.eb-row small em { margin-left: 6px; font-style: normal; font-weight: 800; color: #1C1A17; }
.eb-hit mark { padding: 0 2px; background: #FFE680; color: #1C1A17; font-weight: 700; }

.eb-conf { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 8px; padding-bottom: 7px; border-bottom: 1px solid #DDD8CB; }
.eb-date { display: flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 3px; background: #1C1A17; font-size: 11.5px; font-weight: 800; color: #F7F5EF; font-variant-numeric: tabular-nums; }
.eb-conf em { display: block; font-size: 10px; font-style: normal; font-weight: 800; color: #57534A; }
.eb-conf em.live { color: #0F7B4F; }
.eb-conf em.off { color: #8D877B; }
.eb-conf b { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: -.02em; }
.eb-conf small { display: block; font-size: 10px; color: #57534A; }

.eb-pub { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 2px; border-bottom: 1px solid #DDD8CB; }
.eb-pub b { min-width: 0; font-size: 12px; font-weight: 800; letter-spacing: -.02em; }
.eb-mini { display: flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 700; color: #57534A; }
.eb-tabs { display: flex; border-bottom: 1px solid #1C1A17; }
.eb-tabs span { flex: 1; padding: 5px 0; text-align: center; font-size: 10.5px; font-weight: 700; color: #6E6A61; }
.eb-tabs span.on { background: #1C1A17; color: #F7F5EF; }
.eb-ph .er-prog i { background: #1C1A17; }

.eb-text b { display: block; margin-bottom: 5px; font-size: 13px; font-weight: 800; line-height: 1.35; letter-spacing: -.02em; }
.eb-text p { margin: 0 0 5px; font-size: 11.5px; line-height: 1.7; color: #3B3831; }
.eb-text p.eb-grow { font-size: 15px; line-height: 1.6; }
.eb-text p.eb-loose { line-height: 2.1; letter-spacing: .4px; }
.eb-hl { padding: 0 1px; background: #F6EFA6; color: inherit; }
.eb-set { padding-top: 8px; border-top: 1px solid #DDD8CB; font-size: 11px; font-weight: 700; }
.eb-set > span { display: block; margin-bottom: 6px; }
.eb-stepper { display: grid; grid-template-columns: 1fr 1.2fr 1fr; align-items: center; text-align: center; border: 1px solid #1C1A17; }
.eb-stepper i { padding: 7px 0; font-style: normal; font-weight: 800; }
.eb-stepper b { font-size: 13px; font-weight: 800; font-variant-numeric: tabular-nums; }
.eb-slide { height: 5px; background: #DDD8CB; }
.eb-slide i { display: block; width: var(--w, 50%); height: 100%; background: #1C1A17; }
.eb-seg { display: flex; border: 1px solid #1C1A17; }
.eb-seg i { flex: 1; padding: 6px 0; text-align: center; font-style: normal; font-weight: 700; }
.eb-seg i.on { background: #1C1A17; color: #F7F5EF; }
.eb-dark { display: flex; flex-direction: column; gap: 8px; flex: 1; min-height: 0; margin: -30px -11px -12px; padding: 30px 11px 12px; background: #1C1A17; color: #F0ECE2; }
.eb-dark .eb-text p { color: #CFCABE; }
.eb-dark .eb-set { border-color: #4A463E; }
.eb-dark .eb-seg { border-color: #F0ECE2; }
.eb-dark .eb-seg i.on { background: #FFD43B; color: #1C1A17; }

.eb-mark { display: flex; align-items: center; gap: 7px; padding: 8px 10px; background: #1C1A17; font-size: 11.5px; font-weight: 700; color: #F7F5EF; }
.eb-mark i { color: #FFD43B; }
.eb-swatch { display: flex; justify-content: space-between; padding: 8px; background: #1C1A17; }
.eb-swatch i { width: 24px; height: 24px; border-radius: 50%; }
.eb-net { padding: 7px 9px; background: #1C1A17; font-size: 10.5px; line-height: 1.45; color: #F7F5EF; }
.eb-net b { margin-right: 4px; font-weight: 800; color: #FFD43B; }
.eb-net.is-ok { background: #0F7B4F; }
.eb-net.is-ok b { color: #fff; }

.eb-text + .eb-set, .eb-text + .eb-mark, .eb-text + .eb-swatch, .eb-push { margin-top: auto; }
.eb-text + .eb-set + .eb-set { margin-top: 0; }

.eb-fig { display: grid; gap: 8px; padding: 12px; border: 1px solid #E5EAF2; border-radius: 10px; font-size: 12.5px; line-height: 1.55; color: var(--rd-text, #3A4759); }
.eb-fig-img { display: flex; align-items: center; justify-content: center; width: 60%; height: 96px; margin: 0 auto; border-radius: 4px; background: linear-gradient(135deg, #DDE5F2, #BDCBE2); font-size: 28px; color: #fff; }
.eb-fig-img--sm { width: 100%; height: 68px; font-size: 22px; }
.eb-fig-c { text-align: center; font-size: 11px; color: #66758C; }
.eb-warn { background: #FFF1E2; color: #C2570C; }
.eb-stat-t { font-size: 16px !important; }

.eb_page .er_links { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

@media (max-width: 768px) {
  .eb-ph { padding: 28px 10px 11px; gap: 7px; }
  .eb-row { padding: 5px 0; }
}
