/* 부품 「탭」(552-2) — 밑줄 탭 = 대시보드 `.b01-pg-tabs` 꼴 · 보조 탭 = 작은 알약 · 단 값은 ui_template_button.css */ .ui-tabs { display: flex; align-items: flex-end; gap: 4px; border-bottom: 1px solid var(--color-border); } .ui-tabs__tab { flex: none; display: inline-flex; align-items: center; gap: 6px; height: var(--ui-size-h); padding: 0 12px; margin-bottom: -1px; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--color-text-secondary); font: inherit; font-size: var(--ui-size-font); font-weight: var(--font-weight-bold); line-height: 1; white-space: nowrap; cursor: pointer; } .ui-tabs__tab:is(:hover, [data-state="hover"]):not(:disabled) { color: var(--color-text); } .ui-tabs__tab.is-active { color: var(--color-accent); border-bottom-color: var(--color-accent); } .ui-tabs__tab:disabled { opacity: 0.5; cursor: not-allowed; } /* 보조 탭 — 밑줄 없음 · 고른 칸 = 강조 바탕 · 글 */ .ui-tabs--pill { align-items: center; border-bottom: 0; } .ui-tabs--pill > .ui-btn { flex: none; white-space: nowrap; color: var(--color-text-secondary); } .ui-tabs--pill > .ui-btn.is-active { color: var(--color-accent); font-weight: var(--font-weight-bold); } /* 수 배지 — 빨강 동그라미 */ .ui-tabs__count { min-width: 18px; padding: 0 5px; border-radius: 9px; background: var(--color-danger-fill); color: var(--color-canvas); font-size: 11px; font-weight: var(--font-weight-medium); line-height: 18px; text-align: center; } .ui-tabs__count[hidden] { display: none !important; } /* 숨김 — display 가 [hidden] 을 덮지 않게(공용 기본 꼴이 안 실린 곳 · 페이지 꾸밈 위에서도) */ :is(.ui-tabs, .ui-tabs__tab)[hidden] { display: none !important; }