#dataviz-global-header-host {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2147483647;
}

#root {
    margin-top: 108px;
    height: calc(100vh - 108px);
    overflow: hidden;
    position: relative;
}

header.navbar {
    position: fixed;
    top: 48px;
    left: 0;
    right: 0;
    height: 60px;
    background-color: #fff;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    z-index: 1000;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

header.navbar *,
header.navbar *::before,
header.navbar *::after {
    box-sizing: border-box;
}

header.navbar .container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

header.navbar .navbar-brand {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1d2d35;
    text-decoration: none;
    white-space: nowrap;
}

header.navbar .menu-btn,
header.navbar .menu-icon,
header.navbar .navbar-nav {
    display: none;
}

#guideHelpBtn {
    margin-left: auto;
    border: 1px solid #1d2d35;
    background: #fff;
    color: #1d2d35;
    border-radius: 6px;
    padding: 6px 14px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}

#guideHelpBtn:hover {
    background: #1d2d35;
    color: #fff;
}

#guidePanel {
    position: fixed;
    top: 108px;
    right: 0;
    width: 320px;
    height: calc(100vh - 108px);
    background: #fff;
    border-left: 1px solid #e9ecef;
    box-shadow: -8px 0 24px rgba(0, 0, 0, 0.08);
    z-index: 1100;
    overflow-y: auto;
    padding: 20px 22px 32px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #1d2d35;
    transform: translateX(100%);
    visibility: hidden;
}

#guidePanel.is-open {
    visibility: visible;
    transform: translateX(0);
    transition: transform 200ms ease-out, visibility 0s;
}

#guidePanel h2 {
    font-size: 16px;
    margin: 0 0 12px;
}

#guidePanel h3 {
    font-size: 13px;
    margin: 20px 0 8px;
}

#guidePanel ol {
    margin: 0;
    padding-left: 20px;
    font-size: 13px;
    line-height: 1.7;
}

#guidePanel a {
    color: #0d6efd;
    font-size: 13px;
}

#guidePanel ul {
    margin: 0;
    padding-left: 18px;
    font-size: 13px;
    line-height: 1.9;
}

#guidePanelClose {
    position: absolute;
    top: 12px;
    right: 12px;
    border: 0;
    background: transparent;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    color: #1d2d35;
}

#guideWelcome {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(29, 45, 53, 0.45);
    opacity: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

#guideWelcome.is-open {
    opacity: 1;
    transition: opacity 200ms ease-out;
}

#guideWelcome .guide-card {
    background: #fff;
    border-radius: 12px;
    padding: 28px 28px 24px;
    width: 420px;
    max-width: calc(100vw - 32px);
    color: #1d2d35;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

#guideWelcome h2 {
    font-size: 18px;
    margin: 0 0 8px;
}

#guideWelcome p {
    font-size: 14px;
    margin: 0 0 16px;
    line-height: 1.6;
}

#guideWelcome .guide-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#guideWelcome button,
#guideWelcome a.guide-action {
    display: block;
    text-align: center;
    text-decoration: none;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}

#guideWelcome .guide-primary {
    background: #1d2d35;
    color: #fff;
    border: 0;
}

#guideWelcome .guide-secondary {
    background: #fff;
    color: #1d2d35;
    border: 1px solid #cfd6db;
}

#guideWelcome .guide-quiet {
    background: transparent;
    color: #5b6b73;
    border: 0;
    font-weight: 500;
}

#guideTip {
    position: fixed;
    z-index: 1300;
    max-width: 260px;
    background: #1d2d35;
    color: #fff;
    border-radius: 6px;
    padding: 8px 10px;
    font-size: 12px;
    line-height: 1.5;
    pointer-events: none;
    opacity: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

#guideTip.is-visible {
    opacity: 1;
    transition: opacity 150ms ease-out;
}

#guideTip strong {
    display: block;
    font-size: 12px;
}

@media (prefers-reduced-motion: reduce) {
    #guidePanel.is-open,
    #guideWelcome.is-open,
    #guideTip.is-visible {
        transition: none;
    }
}
