html, body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    height: 100%;
    margin: 0;
    overflow: hidden;
}

.page {
    display: flex;
    flex-direction: row;
    height: 100vh;
    overflow: hidden;
}

.sidebar {
    width: 200px;
    background-color: #1e2a38;
    height: 100vh;
    overflow: hidden;
    flex-shrink: 0;
}

.nav-menu {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0;
}

.nav-brand {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    padding: 1.1rem 1rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    letter-spacing: 0.02em;
    margin-bottom: 0.5rem;
}

.nav-section-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.4);
    padding: 0.75rem 1rem 0.25rem;
}

.nav-item {
    display: block;
    padding: 0.55rem 1rem;
    color: rgba(255,255,255,0.82);
    text-decoration: none;
    font-size: 0.88rem;
    border-radius: 4px;
    margin: 1px 0.4rem;
    transition: background 0.15s, color 0.15s;
}

.nav-item:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

main {
    flex: 1;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}

.top-row {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    flex-shrink: 0;
}

.logout-button {
    background: none;
    border: none;
    padding: 0;
    color: #0078d4;
    text-decoration: underline;
    font: inherit;
    cursor: pointer;
}

.logout-button:hover {
    color: #005a9e;
}

.content {
    flex: 1;
    overflow: auto;
    min-height: 0;
    padding-top: 1.1rem;
    padding-bottom: 1.1rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

[class*="dxbl-chart"] svg rect,
.dxbl-widget-container svg rect {
    stroke: rgba(0, 0, 0, 0.15) !important;
    stroke-width: 1px !important;
}

