/* =====================================================================
   Shell — three-pane application frame
   rail (chats) | stage (routed content) | side panel (charts & widgets)
   ===================================================================== */

:root {
    --shell-bg: #101012;
    --rail-bg: #141417;
    --stage-bg: #18181b;
    --panel-bg: #141417;
    --surface-1: #1f1f24;
    --surface-2: #26262d;
    --surface-3: #2e2e36;
    --line: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(255, 255, 255, 0.14);
    --ink: #ececf1;
    --ink-2: #a3a3ad;
    --ink-3: #71717a;
    --accent: #7c7ff3;
    --accent-ink: #c7c8ff;
    --accent-bg: rgba(124, 127, 243, 0.14);
    --danger: #f87171;
    --ok: #34d399;
    --warn: #fbbf24;

    --rail-w: 272px;
    --panel-w: 400px;
    --stage-header-h: 52px;
    --radius: 10px;
    --radius-sm: 7px;
    --shell-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", sans-serif;
    --shell-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

html, body {
    height: 100%;
    overflow: hidden;
}

body {
    font-family: var(--shell-font);
    background: var(--shell-bg);
    color: var(--ink);
}

/* Accessibility helpers (previously in navigation-enhanced.css) */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-nav {
    position: absolute;
    top: -48px;
    left: 8px;
    padding: 8px 12px;
    background: var(--accent);
    color: white;
    border-radius: var(--radius-sm);
    z-index: 20000;
    transition: top 0.2s ease;
}
.skip-nav:focus { top: 8px; }

/* ---------------------------------------------------------------------
   Frame
   --------------------------------------------------------------------- */
.app-container {
    display: flex;
    height: 100vh;
    height: 100dvh;
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
    position: relative;
    background: var(--shell-bg);
}

#navigation-container { display: contents; }
#main-container { display: contents; }

/* ---------------------------------------------------------------------
   Rail (left)
   --------------------------------------------------------------------- */
.rail {
    width: var(--rail-w);
    flex: 0 0 var(--rail-w);
    height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--rail-bg);
    border-right: 1px solid var(--line);
    overflow: hidden;
    transition: transform 0.28s var(--shell-ease);
}

body.rail-collapsed .rail { display: none; }

.rail-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 14px 12px 8px 16px;
}

.rail-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.01em;
    min-width: 0;
}

.rail-brand img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    border-radius: 7px;
}

.rail-icon-btn,
.stage-icon-btn {
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--ink-2);
    cursor: pointer;
    font-size: 14px;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.rail-icon-btn:hover,
.stage-icon-btn:hover {
    background: var(--surface-2);
    color: var(--ink);
}

.stage-icon-btn.is-active {
    background: var(--accent-bg);
    color: var(--accent-ink);
    border-color: rgba(124, 127, 243, 0.35);
}

.rail-icon-btn:focus-visible,
.stage-icon-btn:focus-visible,
.rail-new:focus-visible,
.rail-nav a:focus-visible,
.recent-item:focus-visible,
.rail-user:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 1px;
}

.rail-new {
    margin: 4px 12px 8px;
    height: 38px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 12px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    background: var(--surface-1);
    color: var(--ink);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.rail-new:hover {
    background: var(--surface-2);
    border-color: rgba(255, 255, 255, 0.22);
}

.rail-new i { color: var(--accent-ink); }

.rail-search {
    margin: 0 12px 6px;
    height: 34px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 10px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid transparent;
    color: var(--ink-3);
    transition: border-color 0.15s ease, background 0.15s ease;
}

.rail-search:focus-within {
    border-color: var(--line-strong);
    background: var(--surface-1);
}

.rail-search input {
    flex: 1;
    min-width: 0;
    min-height: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--ink);
    font-size: 13.5px;
    outline: none;
}

.rail-search input::placeholder { color: var(--ink-3); }

.rail-search kbd {
    font: 11px/1 var(--shell-font);
    color: var(--ink-3);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 2px 5px;
}

.rail-nav {
    list-style: none;
    margin: 2px 0 0;
    padding: 0 8px;
}

.rail-nav li { margin: 0; }

.rail-nav a {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* styles.css centres .nav-link */
    gap: 10px;
    height: 34px;
    min-height: 34px;
    min-width: 0;
    padding: 0 10px;
    border-radius: var(--radius-sm);
    color: var(--ink-2);
    text-decoration: none;
    font-size: 13.5px;
    transition: background 0.12s ease, color 0.12s ease;
}

.rail-nav a:hover { background: var(--surface-1); color: var(--ink); }

.rail-nav a.is-active {
    background: var(--surface-2);
    color: var(--ink);
}

.rail-nav .nav-icon {
    width: 18px;
    display: inline-flex;
    justify-content: center;
    color: var(--ink-3);
    font-size: 13px;
}

.rail-nav a.is-active .nav-icon,
.rail-nav a:hover .nav-icon { color: var(--accent-ink); }

.nav-admin-only { display: none; }
body.is-admin .nav-admin-only { display: block; }

.rail-section {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    margin-top: 10px;
    border-top: 1px solid var(--line);
    padding-top: 8px;
}

.rail-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 18px 6px;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-3);
}

.rail-section-title .rail-icon-btn {
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
    font-size: 11px;
}

.rail-recents {
    list-style: none;
    margin: 0;
    padding: 0 8px 8px;
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1 1 auto;
    min-height: 0;
    scrollbar-width: thin;
    scrollbar-color: var(--surface-3) transparent;
}

.rail-recents::-webkit-scrollbar { width: 6px; }
.rail-recents::-webkit-scrollbar-thumb { background: var(--surface-3); border-radius: 3px; }

.rail-empty {
    padding: 10px 12px;
    color: var(--ink-3);
    font-size: 12.5px;
    line-height: 1.45;
}

.recent-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    height: 40px;
    padding: 0 8px 0 10px;
    border-radius: var(--radius-sm);
    color: var(--ink-2);
    cursor: pointer;
    user-select: none;
    transition: background 0.12s ease, color 0.12s ease;
}

.recent-item:hover { background: var(--surface-1); color: var(--ink); }
.recent-item.is-active { background: var(--surface-2); color: var(--ink); }

.recent-dot {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: var(--ink-3);
    opacity: 0.55;
}

.recent-item.is-active .recent-dot { background: var(--accent); opacity: 1; }
.recent-item.is-fresh .recent-dot { background: var(--warn); opacity: 1; }

.recent-main {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.recent-title {
    font-size: 13.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.recent-sub {
    font-size: 11.5px;
    color: var(--ink-3);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.recent-del {
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--ink-3);
    font-size: 12px;
    opacity: 0;
    cursor: pointer;
    transition: opacity 0.12s ease, background 0.12s ease, color 0.12s ease;
}

.recent-item:hover .recent-del,
.recent-item:focus-within .recent-del { opacity: 1; }
.recent-del:hover { background: rgba(248, 113, 113, 0.15); color: var(--danger); }

.rail-footer {
    position: relative;
    border-top: 1px solid var(--line);
    padding: 8px;
}

.rail-user {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    height: 44px;
    min-height: 44px;
    padding: 0 8px;
    border: 0;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--ink);
    text-align: left;
    cursor: pointer;
    transition: background 0.12s ease;
}

.rail-user:hover { background: var(--surface-1); }

.rail-avatar {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11.5px;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.rail-user-meta {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.rail-user-name {
    font-size: 13.5px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rail-user-sub {
    font-size: 11.5px;
    color: var(--ink-3);
}

.rail-user > i { color: var(--ink-3); font-size: 13px; }

.rail-login {
    width: 100%;
    height: 40px;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 12px;
    border: 0;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
}

.rail-menu {
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: calc(100% - 4px);
    padding: 6px;
    border-radius: var(--radius);
    background: var(--surface-2);
    border: 1px solid var(--line-strong);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
    z-index: 30;
}

.rail-menu[hidden] { display: none; }

.rail-menu button,
.rail-menu a {
    width: 100%;
    height: 34px;
    min-height: 34px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 10px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--ink);
    font-size: 13.5px;
    text-decoration: none;
    text-align: left;
    cursor: pointer;
}

.rail-menu button:hover,
.rail-menu a:hover { background: var(--surface-3); }
.rail-menu i { width: 16px; color: var(--ink-2); font-size: 13px; }
.rail-menu .is-danger { color: var(--danger); }
.rail-menu .is-danger i { color: var(--danger); }
.rail-menu hr { border: 0; border-top: 1px solid var(--line); margin: 4px 0; }
.rail-menu-head {
    padding: 6px 10px 8px;
    font-size: 12px;
    color: var(--ink-3);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 998;
}
.nav-overlay.is-active { opacity: 1; visibility: visible; }

/* ---------------------------------------------------------------------
   Stage (center)
   --------------------------------------------------------------------- */
.stage {
    flex: 1 1 auto;
    min-width: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--stage-bg);
    position: relative;
}

.stage-header {
    position: relative;
    height: var(--stage-header-h);
    flex: 0 0 var(--stage-header-h);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 10px 0 8px;
    border-bottom: 1px solid var(--line);
    background: var(--stage-bg);
    z-index: 20;
}

.stage-title-wrap {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.stage-title {
    margin: 0;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stage-title[contenteditable="true"] {
    outline: 1px solid var(--accent);
    border-radius: 4px;
    padding: 0 6px;
}

.stage-crumb {
    color: var(--ink-3);
    font-size: 13px;
}

.stage-profile-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 32px;
    min-height: 32px;
    padding: 0 10px 0 6px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface-1);
    color: var(--ink);
    font-size: 13px;
    cursor: pointer;
    max-width: 240px;
    transition: background 0.12s ease, border-color 0.12s ease;
}

.stage-profile-chip:hover { background: var(--surface-2); border-color: var(--line-strong); }
.stage-profile-chip[hidden] { display: none; }

.chip-avatar {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.stage-profile-chip span:not(.chip-avatar) {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stage-profile-chip i { color: var(--ink-3); font-size: 10px; }

.stage-actions {
    display: flex;
    align-items: center;
    gap: 4px;
}

.stage-actions [hidden] { display: none !important; }

.stage-body {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Routed sections: scrollable pages vs. the chat (which manages its own scroll) */
.stage-body > .stage-page {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

.stage-body > #chat-sessions {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.stage-body > #chartContainer { position: absolute; inset: 0; }

.stage-banner {
    flex: 0 0 auto;
    padding: 8px 14px;
    text-align: center;
    font-size: 13px;
    color: white;
    cursor: pointer;
}

/* Popovers hanging off the stage header */
.stage-popover {
    position: absolute;
    top: calc(100% + 6px);
    min-width: 260px;
    max-width: min(420px, calc(100vw - 24px));
    padding: 6px;
    border-radius: var(--radius);
    background: var(--surface-2);
    border: 1px solid var(--line-strong);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
    z-index: 40;
}

.stage-popover[hidden] { display: none; }
#profilePopover { left: 48px; }
#sessionMenu { right: 10px; min-width: 200px; }

.popover-title {
    padding: 6px 10px 8px;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-3);
}

.popover-link {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 34px;
    padding: 0 10px;
    border-radius: 6px;
    color: var(--accent-ink);
    text-decoration: none;
    font-size: 13.5px;
}

.popover-link:hover { background: var(--surface-3); }

.stage-menu button {
    width: 100%;
    height: 34px;
    min-height: 34px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 10px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--ink);
    font-size: 13.5px;
    text-align: left;
    cursor: pointer;
}

.stage-menu button:hover { background: var(--surface-3); }
.stage-menu button i { width: 16px; color: var(--ink-2); font-size: 13px; }
.stage-menu button.is-danger,
.stage-menu button.is-danger i { color: var(--danger); }

/* Dashboard hero over the Three.js canvas */
.dashboard-hero {
    position: relative;
    z-index: 2;
    max-width: 520px;
    padding: 28px 28px 24px;
    border-radius: 16px;
    background: rgba(20, 20, 24, 0.72);
    border: 1px solid var(--line-strong);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.dashboard-hero h1 {
    margin: 0 0 6px;
    font-size: 26px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.dashboard-hero p {
    margin: 0 0 18px;
    color: var(--ink-2);
    font-size: 14.5px;
    line-height: 1.5;
}

.dashboard-hero-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-btn {
    height: 40px;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    background: var(--surface-1);
    color: var(--ink);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.15s ease, transform 0.15s ease;
}

.hero-btn:hover { background: var(--surface-2); transform: translateY(-1px); }

.hero-btn.is-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
    color: white;
}

/* ---------------------------------------------------------------------
   Side panel (right)
   --------------------------------------------------------------------- */
.side-panel {
    width: var(--panel-w);
    flex: 0 0 var(--panel-w);
    height: 100%;
    display: none;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
    background: var(--panel-bg);
    border-left: 1px solid var(--line);
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: var(--surface-3) transparent;
}

body.panel-open.route-conversations .side-panel { display: flex; }

.side-panel-resizer {
    position: absolute;
    left: -3px;
    top: 0;
    bottom: 0;
    width: 6px;
    cursor: col-resize;
    z-index: 5;
}

.side-panel-resizer:hover,
.side-panel-resizer.is-dragging { background: rgba(124, 127, 243, 0.35); }

.panel-card {
    display: flex;
    flex-direction: column;
    min-height: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--stage-bg);
    overflow: hidden;
}

.panel-card[hidden] { display: none; }

.panel-card.is-collapsed .panel-card-body { display: none; }
.panel-card { flex: 0 0 auto; }
/* The chart card gets the lion's share; the panel itself scrolls past it */
.panel-card.is-grow .panel-card-body { max-height: min(64vh, 680px); }
.side-panel.is-expanded .panel-card.is-grow { flex: 1 1 auto; }
.side-panel.is-expanded .panel-card.is-grow .panel-card-body { max-height: none; }

.panel-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    height: 40px;
    flex: 0 0 40px;
    padding: 0 6px 0 12px;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
}

.panel-card.is-collapsed .panel-card-head { border-bottom: 0; }

.panel-card-head .panel-card-title {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.panel-card-head .panel-card-title i { color: var(--ink-3); font-size: 12px; }
.panel-card-actions { display: flex; align-items: center; gap: 2px; }
.panel-card-actions .rail-icon-btn { width: 28px; height: 28px; min-width: 28px; min-height: 28px; font-size: 12px; }

.panel-card-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 12px;
    scrollbar-width: thin;
    scrollbar-color: var(--surface-3) transparent;
}

.panel-card-body::-webkit-scrollbar { width: 6px; }
.panel-card-body::-webkit-scrollbar-thumb { background: var(--surface-3); border-radius: 3px; }

.panel-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 140px;
    color: var(--ink-3);
    font-size: 13px;
    text-align: center;
    padding: 20px;
}

.panel-empty i { font-size: 22px; opacity: 0.6; }

/* Expanded chart: the chart card takes over the whole panel */
.side-panel.is-expanded { --panel-w: min(720px, 60vw); }

/* Mobile panel header (close button) */
.side-panel-mobile-head { display: none; }

/* ---------------------------------------------------------------------
   Responsive
   --------------------------------------------------------------------- */
@media (max-width: 1199px) {
    :root { --panel-w: 360px; }
}

@media (max-width: 991px) {
    /* Rail becomes a drawer */
    .rail {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: min(300px, 86vw);
        flex-basis: auto;
        transform: translateX(-104%);
        z-index: 999;
        box-shadow: 0 0 0 rgba(0,0,0,0);
    }

    body.rail-collapsed .rail { display: flex; }

    .rail.is-open {
        transform: translateX(0);
        box-shadow: 12px 0 40px rgba(0, 0, 0, 0.5);
    }

    .rail-search kbd { display: none; }

    /* Side panel becomes a full-screen sheet */
    body.panel-open.route-conversations .side-panel {
        position: fixed;
        inset: 0;
        width: 100%;
        flex-basis: auto;
        z-index: 900;
        padding-top: 0;
        border-left: 0;
    }

    .side-panel-mobile-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 48px;
        flex: 0 0 48px;
        padding: 0 4px 0 14px;
        font-size: 14px;
        font-weight: 600;
    }

    .side-panel-resizer { display: none; }
    .side-panel.is-expanded { --panel-w: 100%; }
}

@media (max-width: 575px) {
    .stage-header { padding: 0 6px 0 4px; }
    .stage-profile-chip { max-width: 170px; }
    .stage-title { font-size: 14px; }
    #profilePopover { left: 8px; right: 8px; max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
    .rail, .nav-overlay, .rail-new, .recent-item, .stage-icon-btn { transition: none; }
}

/* Expanded chart hides the other cards so the chart gets the full column */
.side-panel.is-expanded #panelProfile,
.side-panel.is-expanded #panelSettings { display: none; }
