/* 하단 탭 5개 + 허브 화면 (쉬운 모드) — 색은 style.css 토큰을 그대로 써서 어두운 모드도 따라간다 */
.bnav { position: fixed; left: 50%; bottom: 0; transform: translateX(-50%); z-index: 60; width: min(100%, 560px); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(0, 0, 0, .1); padding: 4px 4px calc(4px + env(safe-area-inset-bottom)); border-radius: 18px 18px 0 0; }
.bnav[hidden] { display: none; }
.tb-tab { display: grid; justify-items: center; gap: 2px; padding: 6px 2px; min-height: 52px; border-radius: 12px; color: var(--muted); text-decoration: none; font-size: 12px; font-weight: 600; }
.tb-tab .tb-ic { font-size: 22px; line-height: 1.1; filter: grayscale(.6); }
.tb-tab.on { color: var(--brand); background: var(--accent-soft); }
.tb-tab.on .tb-ic { filter: none; }
.tb-tab:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }
body.has-tabs { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
body.has-tabs .foot { margin-bottom: 8px; }

.tb-hub { display: grid; gap: 18px; }
.tb-head { padding: 4px 2px; }
.tb-head h1 { margin: 0 0 6px; font-size: 26px; }
.tb-head p { margin: 0; color: var(--muted); line-height: 1.7; }
.tb-who { margin-top: 8px !important; color: var(--ink) !important; font-weight: 600; }
.tb-sec h2 { margin: 0 0 10px; font-size: 16px; color: var(--ink); }
.tb-grid { display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .tb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tb-item { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px; text-align: left; font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 16px; text-decoration: none; cursor: pointer; box-shadow: var(--shadow); min-width: 0; }
a.tb-item:hover, button.tb-item:hover { border-color: var(--brand); }
.tb-item:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.tb-ico { flex: 0 0 auto; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--accent-soft); font-size: 22px; }
.tb-tx { display: grid; gap: 2px; min-width: 0; }
.tb-tx b { font-size: 15px; }
.tb-tx small { color: var(--muted); font-size: 13px; line-height: 1.5; }
.tb-item.off { opacity: .7; cursor: default; box-shadow: none; }
.tb-soon { position: absolute; right: 10px; top: 10px; font-style: normal; font-size: 11px; padding: 2px 8px; border-radius: 999px; background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); }

/* 전문가 모드에서는 「결정 상담」(메뉴 타일 · 첫 화면 배너)을 숨김 — 쉬운 모드 전용 */
body.mode-pro .lite-only { display: none !important; }
.bnav[hidden]{display:none !important}

/* 배경 그림 위에서도 읽히도록: 머리 설명 · 묶음 제목 · 준비 중 칸에 불투명 바탕 */
.tb-head { padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.tb-head p { color: var(--ink); opacity: .9; }
.tb-sec h2 { display: inline-block; padding: 4px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.tb-item { background: var(--surface); }
.tb-item.off { opacity: 1; }
.tb-item.off .tb-tx small, .tb-item.off .tb-tx b { opacity: .85; }
