/* Shared one-row business header; existing publisher JS remains unchanged. */
@font-face {
    font-family: 'Pretendard';
    src: url('fonts/PretendardVariable.woff2') format('woff2');
    font-weight: 100 900;
    font-display: swap;
}
.header:has(.business-tabs), .academy .academy-header {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
}
.header .business-tabs, .academy-header .business-tabs {
    display: flex;
    flex: 1 1 0;
    min-width: 0;
    gap: 8px;
    font-family: 'Pretendard', -apple-system, 'Malgun Gothic', sans-serif;
}
.header .business-tabs a, .academy-header .business-tabs a {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 8px;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    text-align: center;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
}
.header .business-tabs a[aria-current="page"], .academy-header .business-tabs a[aria-current="page"] {
    border-bottom-color: #ffffff;
    background: #ffffff14;
}
.header .business-tabs a:focus-visible, .academy-header .business-tabs a:focus-visible,
.academy-header .business-logout button:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: -3px;
}
.header .business-tabs + .spacer { display: none; }
.header:has(.business-tabs) .sync { display: none; }
.header:has(.business-tabs) .right { flex: 0 0 auto; align-items: center; }
.header:has(.business-tabs) .user-area { flex-direction: row; align-items: center; gap: 8px; }
.academy-header .business-logout { flex: 0 0 auto; margin: 0; }
.header:has(.business-tabs) .logout.sm, .academy-header .business-logout button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    min-width: 60px;
    padding: 8px;
    border: none;
    border-radius: 7px;
    background: #e53935;
    color: #ffffff;
    font: 600 12px/1 'Pretendard', -apple-system, 'Malgun Gothic', sans-serif;
    white-space: nowrap;
    cursor: pointer;
}
.academy .menu-short { display: none; }
@media (max-width: 480px) {
    .header:has(.business-tabs), .academy .academy-header { padding: 8px; gap: 4px; }
    .header .business-tabs, .academy-header .business-tabs { gap: 2px; }
    .header .business-tabs a, .academy-header .business-tabs a { padding: 8px 2px; font-size: 12px; }
    .header:has(.business-tabs) .user-name { display: none; }
    .academy .menu-long { display: none; }
    .academy .menu-short { display: inline; }
}
