* {
    box-sizing: border-box;
}

:root {
    --application-header-height: 58px;
    --background: #080f1c;
    --panel: #101a2a;
    --panel-dark: #0b1423;
    --panel-header: #141f31;
    --border: #26344a;
    --text: #e7edf7;
    --muted: #7f8da2;
    --accent: #4fc3f7;
    --online: #62ff7b;
    --border-soft: rgba(61, 82, 111, 0.72);
    --border-active: rgba(79, 195, 247, 0.72);
    --panel-shadow:
        0 1px 0 rgba(255, 255, 255, 0.025) inset,
        0 4px 14px rgba(0, 0, 0, 0.2);
}

html,
body {
    margin: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: var(--background);
    color: var(--text);
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        Helvetica,
        sans-serif;
}

button {
    font: inherit;
}

.cockpit {
    height: 100vh;
    height: 100dvh;
    display: grid;
    grid-template-rows:
        var(--application-header-height)
        minmax(0, 1fr)
        38px;
}

.topbar {
    min-width: 0;
    display: grid;
    grid-template-columns:
        minmax(190px, auto)
        minmax(170px, 0.7fr)
        minmax(360px, 1.6fr)
        auto;
    align-items: center;
    gap: 12px;
    padding: 0 14px;
    overflow: hidden;
    background:
        linear-gradient(180deg, #121e30 0%, #0f1928 100%);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}

.brand {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-name {
    color: var(--accent);
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.tagline {
    overflow: hidden;
    color: #8795aa;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.workspace-identity,
.application-status-item,
.local-clock,
.profile-placeholder {
    min-width: 0;
    height: 36px;
    display: flex;
    align-items: center;
    border: 1px solid rgba(53, 73, 101, 0.68);
    border-radius: 4px;
    background: rgba(7, 14, 25, 0.42);
}

.workspace-identity {
    gap: 7px;
    padding: 0 9px;
}

.workspace-identity-copy,
.application-status-copy,
.local-clock {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.workspace-identity-copy {
    flex: 1 1 auto;
}

.workspace-identity-copy [data-status-value],
.application-status-copy [data-status-value] {
    overflow: hidden;
    color: #c5d0df;
    font-size: 10px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.workspace-state {
    color: var(--online);
    font-size: 9px;
    font-weight: 650;
    letter-spacing: 0.35px;
    text-transform: uppercase;
}

.header-overline {
    color: #64758e;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.55px;
    line-height: 1.2;
    text-transform: uppercase;
}

.application-status-strip {
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
}

.application-status-item {
    gap: 6px;
    padding: 0 7px;
}

.status-indicator {
    width: 6px;
    height: 6px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #65748a;
    box-shadow: 0 0 5px rgba(101, 116, 138, 0.35);
}

[data-status-state="connected"] .status-indicator,
[data-status-state="active"] .status-indicator {
    background: #30e95f;
    box-shadow: 0 0 7px rgba(48, 233, 95, 0.65);
}

[data-status-state="idle"] .status-indicator {
    background: #d7a84b;
    box-shadow: 0 0 6px rgba(215, 168, 75, 0.42);
}

[data-status-state="error"] .status-indicator {
    background: #ff6577;
    box-shadow: 0 0 7px rgba(255, 101, 119, 0.58);
}

.header-utilities {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.local-clock {
    min-width: 92px;
    padding: 0 9px;
}

.local-clock time {
    color: #c5d0df;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 10px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.profile-placeholder {
    gap: 6px;
    padding: 0 8px 0 5px;
    color: #9ba9bc;
    font-size: 10px;
    font-weight: 600;
    white-space: nowrap;
}

.profile-avatar {
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    color: #9ddfff;
    font-size: 10px;
    border: 1px solid rgba(79, 195, 247, 0.38);
    border-radius: 50%;
    background: rgba(79, 195, 247, 0.08);
}

@media (max-width: 1120px) {
    .topbar {
        grid-template-columns:
            minmax(122px, auto)
            minmax(150px, 0.8fr)
            minmax(320px, 1.8fr)
            auto;
        gap: 7px;
        padding-right: 8px;
        padding-left: 10px;
    }

    .tagline {
        display: none;
    }

    .local-clock {
        min-width: 84px;
        padding-right: 6px;
        padding-left: 6px;
    }

    .profile-placeholder [data-status-value] {
        display: none;
    }

    .profile-placeholder {
        padding-right: 5px;
    }
}

@media (max-width: 760px) {
    :root {
        --application-header-height: 90px;
    }

    .topbar {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-rows: 39px 39px;
        gap: 4px 8px;
        padding: 4px 7px;
    }

    .brand {
        grid-column: 1;
        grid-row: 1;
    }

    .header-utilities {
        grid-column: 2;
        grid-row: 1;
    }

    .workspace-identity {
        grid-column: 1;
        grid-row: 2;
    }

    .application-status-strip {
        grid-column: 2;
        grid-row: 2;
    }

    .application-status-item {
        width: 54px;
        justify-content: center;
        padding: 0 4px;
    }

    .application-status-copy {
        max-width: 38px;
    }

    .application-status-copy .header-overline {
        display: none;
    }

    .application-status-copy [data-status-value] {
        font-size: 8px;
        text-align: center;
    }
}

@media (max-width: 520px) {
    .workspace-identity {
        padding-right: 6px;
        padding-left: 6px;
    }

    .workspace-state,
    .local-clock .header-overline {
        display: none;
    }

    .local-clock {
        min-width: 68px;
    }

    .application-status-item {
        width: 44px;
    }

    .application-status-copy {
        max-width: 28px;
    }
}

.workspace {
    min-width: 0;
    min-height: 0;
    display: grid;
    grid-template-columns:
        minmax(320px, 3fr)
        6px
        minmax(260px, 1fr);
    gap: 0;
    padding: 9px;
    background:
        radial-gradient(
            circle at 50% 0,
            rgba(40, 75, 112, 0.09),
            transparent 52%
        ),
        var(--background);
}

.workspace[data-layout-orientation="vertical"] {
    grid-template-columns: none;
    grid-template-rows:
        minmax(90px, 1fr)
        6px
        minmax(90px, 1fr);
}

.workspace-split {
    min-width: 0;
    min-height: 0;
    display: grid;
}

.workspace-split[data-layout-orientation="horizontal"] {
    grid-template-columns:
        minmax(90px, 1fr)
        6px
        minmax(90px, 1fr);
}

.workspace-split[data-layout-orientation="vertical"] {
    grid-template-rows:
        minmax(90px, 1fr)
        6px
        minmax(90px, 1fr);
}

.dock-slot {
    min-width: 0;
    min-height: 0;
    display: grid;
}

.dock-slot > .panel {
    width: 100%;
    height: 100%;
}

.panel {
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    background: linear-gradient(180deg, #101b2b 0%, #0e1827 100%);
    border: 1px solid var(--border-soft);
    border-radius: 6px;
    box-shadow: var(--panel-shadow);
    transition:
        border-color 120ms ease,
        box-shadow 120ms ease;
}

.panel:hover {
    border-color: rgba(67, 92, 126, 0.9);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.035) inset,
        0 6px 18px rgba(0, 0, 0, 0.24);
}

.chart-panel {
    position: relative;
    display: grid;
    grid-template-rows: 38px 32px minmax(0, 1fr);
    container-name: chart-panel;
    container-type: inline-size;
}

.chart-toolbar {
    position: relative;
    z-index: 20;
    min-width: 0;
    height: 32px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 3px 8px;
    overflow: visible;
    background: linear-gradient(180deg, #101c2c, #0d1725);
    border-bottom: 1px solid rgba(49, 67, 92, 0.88);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.018) inset;
}

.chart-toolbar-field {
    position: relative;
    min-width: 0;
    height: 24px;
    display: flex;
    align-items: center;
    gap: 5px;
    padding-left: 7px;
    color: #6f8098;
    font-size: 9px;
    font-weight: 650;
    letter-spacing: 0.45px;
    text-transform: uppercase;
    background: rgba(8, 15, 28, 0.54);
    border: 1px solid rgba(53, 73, 101, 0.76);
    border-radius: 4px;
}

.chart-toolbar-field:focus-within {
    color: #94a8c2;
    border-color: rgba(79, 195, 247, 0.68);
    box-shadow: 0 0 0 1px rgba(79, 195, 247, 0.1);
}

.chart-toolbar-field input,
.chart-toolbar-field select {
    height: 22px;
    min-width: 0;
    margin: 0;
    padding: 0 6px;
    color: #d8e2ef;
    font: inherit;
    font-size: 11px;
    font-weight: 650;
    letter-spacing: 0;
    text-transform: none;
    background: transparent;
    border: 0;
    border-left: 1px solid rgba(53, 73, 101, 0.7);
    border-radius: 0 3px 3px 0;
    outline: 0;
}

.chart-toolbar-field input {
    appearance: none;
    -webkit-appearance: none;
    color-scheme: dark;
    caret-color: var(--accent);
    background: #0a1422 !important;
    -webkit-text-fill-color: #d8e2ef;
}

.chart-toolbar-field input:focus,
.chart-toolbar-field input:active {
    background: #0a1422 !important;
    box-shadow: none;
}

.chart-toolbar-field input:-webkit-autofill,
.chart-toolbar-field input:-webkit-autofill:hover,
.chart-toolbar-field input:-webkit-autofill:focus {
    -webkit-text-fill-color: #d8e2ef;
    box-shadow: 0 0 0 1000px #0a1422 inset;
    transition: background-color 9999s ease-out;
}

.chart-toolbar-field select {
    cursor: pointer;
}

.chart-combobox input {
    padding-right: 25px;
    cursor: text;
}

.chart-combobox-toggle {
    position: absolute;
    z-index: 2;
    top: 1px;
    right: 1px;
    width: 24px;
    height: 22px;
    display: grid;
    place-items: center;
    padding: 0;
    color: #7f90a7;
    font-size: 13px;
    line-height: 1;
    background: linear-gradient(180deg, #111e30, #0b1625);
    border: 0;
    border-left: 1px solid rgba(53, 73, 101, 0.7);
    border-radius: 0 3px 3px 0;
    cursor: pointer;
}

.chart-combobox-toggle:hover {
    color: var(--accent);
    background: #14263a;
}

.chart-combobox-toggle:focus-visible {
    outline: 1px solid var(--accent);
    outline-offset: -2px;
}

.editable-combobox-popup {
    position: absolute;
    z-index: 40;
    top: calc(100% + 4px);
    right: -1px;
    left: -1px;
    min-width: 120px;
    max-height: 270px;
    overflow: hidden;
    background: #0b1524;
    border: 1px solid rgba(70, 96, 132, 0.96);
    border-radius: 5px;
    box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(79, 195, 247, 0.06) inset;
}

.editable-combobox-popup[hidden] {
    display: none;
}

.editable-combobox-list {
    max-height: 266px;
    overflow-y: auto;
    padding: 4px;
    scrollbar-color: #3f536f #0b1524;
    scrollbar-width: thin;
}

.editable-combobox-option {
    min-height: 25px;
    display: flex;
    align-items: center;
    padding: 4px 8px;
    overflow: hidden;
    color: #bac7d8;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0;
    text-overflow: ellipsis;
    text-transform: none;
    white-space: nowrap;
    border-radius: 3px;
    cursor: pointer;
}

.editable-combobox-option:hover,
.editable-combobox-option.active,
.editable-combobox-option[aria-selected="true"] {
    color: #ecf7ff;
    background: rgba(79, 195, 247, 0.16);
    box-shadow: 2px 0 0 var(--accent) inset;
}

.editable-combobox-empty {
    padding: 9px 10px;
    color: #6f8098;
    font-size: 9px;
    line-height: 1.35;
    text-align: center;
    text-transform: none;
}

.editable-combobox-empty[hidden] {
    display: none;
}

.chart-toolbar-field input[aria-invalid="true"],
.chart-toolbar-field select[aria-invalid="true"] {
    color: #ff9a9a;
}

.symbol-field {
    flex: 0 1 128px;
}

.timeframe-field {
    flex: 0 1 128px;
}

.style-field {
    flex: 0 1 152px;
}

.symbol-field input,
.timeframe-field input,
.style-field input {
    width: 100%;
}

.chart-adapter-status {
    min-width: 0;
    height: 24px;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-left: auto;
    padding: 0 7px;
    color: #718198;
    font-size: 10px;
    white-space: nowrap;
    background: rgba(8, 15, 28, 0.4);
    border: 1px solid rgba(53, 73, 101, 0.64);
    border-radius: 4px;
}

.chart-adapter-status [data-chart-adapter-status] {
    overflow: hidden;
    text-overflow: ellipsis;
}

.adapter-label {
    color: #8c9bb0;
    font-size: 9px;
    font-weight: 650;
    letter-spacing: 0.45px;
    text-transform: uppercase;
}

.adapter-status-light {
    width: 6px;
    height: 6px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #65748a;
    box-shadow: 0 0 5px rgba(101, 116, 138, 0.42);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@container chart-panel (max-width: 600px) {
    .chart-toolbar {
        gap: 4px;
        padding-right: 5px;
        padding-left: 5px;
    }

    .chart-toolbar-field {
        padding-left: 0;
    }

    .chart-toolbar-field > span,
    .chart-toolbar-field > label,
    .adapter-label {
        display: none;
    }

    .chart-toolbar-field input,
    .chart-toolbar-field select {
        border-left: 0;
    }

    .symbol-field {
        flex: 1 1 100px;
    }

    .timeframe-field {
        flex: 0 1 62px;
    }

    .style-field {
        flex: 1 1 112px;
    }

    .chart-adapter-status {
        flex: 0 1 98px;
        margin-left: 0;
    }
}

.panel-header {
    position: relative;
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 12px 0 15px;
    background:
        linear-gradient(180deg, #172438 0%, var(--panel-header) 100%);
    border-bottom: 1px solid rgba(50, 68, 94, 0.92);
    color: #d5deeb;
    font-size: 12px;
    font-weight: 650;
    letter-spacing: 0.35px;
    box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.018) inset;
    transition:
        background 120ms ease,
        color 120ms ease,
        box-shadow 120ms ease;
}

.panel-header::before {
    content: "";
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 7px;
    width: 2px;
    border-radius: 1px;
    background: rgba(79, 195, 247, 0.55);
    box-shadow: 0 0 7px rgba(79, 195, 247, 0.16);
}

.panel-header > span:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

[data-workspace-drag-handle] {
    cursor: grab;
    touch-action: none;
}

[data-workspace-drag-handle]:hover {
    color: #edf5ff;
    background:
        linear-gradient(180deg, #1a2a40 0%, #162237 100%);
    box-shadow:
        0 -1px 0 rgba(255, 255, 255, 0.025) inset,
        0 1px 0 rgba(79, 195, 247, 0.12);
}

[data-workspace-drag-handle][aria-grabbed="true"] {
    cursor: grabbing;
    color: #f3f9ff;
    background:
        linear-gradient(180deg, #1b3048 0%, #17283d 100%);
    box-shadow: 0 -2px 0 var(--accent) inset;
}

[data-workspace-drag-handle] button,
[data-workspace-drag-handle] a,
[data-workspace-drag-handle] input,
[data-workspace-drag-handle] select,
[data-workspace-drag-handle] textarea {
    cursor: pointer;
}

.panel-actions {
    display: flex;
    align-items: center;
    gap: 9px;
}

.panel-subtitle {
    color: #7889a2;
    font-size: 11px;
    font-weight: 450;
    letter-spacing: 0;
}

.chart-placeholder {
    min-width: 0;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #63738a;
    text-align: center;
    background:
        linear-gradient(
            rgba(49, 66, 91, 0.18) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(49, 66, 91, 0.18) 1px,
            transparent 1px
        ),
        var(--panel-dark);
    background-size: 60px 60px;
}

.chart-placeholder strong {
    display: block;
    margin-bottom: 8px;
    color: #9aa9bd;
    font-size: 20px;
}

.right-column {
    grid-template-rows:
        minmax(90px, 1fr)
        6px
        minmax(90px, 1fr);
}

.analysis-panel {
    display: grid;
    grid-template-rows: 38px minmax(0, 1fr);
}

.empty-content {
    min-width: 0;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    color: #6f8098;
    line-height: 1.45;
    text-align: center;
    background:
        linear-gradient(180deg, #0c1625 0%, #0a1321 100%);
}

.vertical-resizer,
.horizontal-resizer {
    position: relative;
    background: transparent;
    z-index: 10;
    transition: background 120ms ease;
}

.vertical-resizer {
    cursor: col-resize;
}

.horizontal-resizer {
    cursor: row-resize;
}

.vertical-resizer::after,
.horizontal-resizer::after {
    content: "";
    position: absolute;
    border-radius: 2px;
    background: #3b4e69;
    opacity: 0.58;
    box-shadow: 0 0 0 1px rgba(3, 9, 17, 0.35);
    transition:
        opacity 120ms ease,
        background 120ms ease,
        box-shadow 120ms ease,
        transform 120ms ease;
}

.vertical-resizer::after {
    top: 8px;
    bottom: 8px;
    left: 2px;
    width: 2px;
}

.horizontal-resizer::after {
    left: 8px;
    right: 8px;
    top: 2px;
    height: 2px;
}

.vertical-resizer:hover::after,
.horizontal-resizer:hover::after,
body.is-resizing .vertical-resizer::after,
body.is-resizing .horizontal-resizer::after {
    opacity: 1;
    background: var(--accent);
    box-shadow:
        0 0 0 1px rgba(79, 195, 247, 0.18),
        0 0 8px rgba(79, 195, 247, 0.5);
}

.vertical-resizer:hover,
body.is-resizing .vertical-resizer {
    background: linear-gradient(
        90deg,
        transparent,
        rgba(79, 195, 247, 0.08),
        transparent
    );
}

.horizontal-resizer:hover,
body.is-resizing .horizontal-resizer {
    background: linear-gradient(
        180deg,
        transparent,
        rgba(79, 195, 247, 0.08),
        transparent
    );
}

.collapse-button {
    width: 24px;
    height: 24px;
    padding: 0;
    border: 1px solid #3b4e69;
    border-radius: 4px;
    background: linear-gradient(180deg, #152238, #0f1929);
    color: #b6c2d2;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.22);
    transition:
        color 100ms ease,
        border-color 100ms ease,
        background 100ms ease,
        box-shadow 100ms ease,
        transform 80ms ease;
}

.collapse-button:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: #16283c;
    box-shadow: 0 0 8px rgba(79, 195, 247, 0.14);
}

.collapse-button:active {
    transform: translateY(1px);
    background: #0c1726;
}

.collapse-button:focus-visible {
    outline: 2px solid rgba(79, 195, 247, 0.62);
    outline-offset: 1px;
}

.analysis-panel.collapsed {
    grid-template-rows: 38px 0;
}

.analysis-panel.collapsed .panel-content {
    display: none;
}

.statusbar {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 0 14px;
    overflow: hidden;
    background:
        linear-gradient(180deg, #0f1928 0%, #0c1522 100%);
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.14);
    color: var(--muted);
    font-size: 11px;
}

.status-group {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 18px;
    white-space: nowrap;
}

.online {
    color: var(--online);
}

.offline {
    color: #728096;
}

body.is-resizing {
    user-select: none;
}

body.is-resizing * {
    cursor: inherit !important;
}

body.is-module-dragging {
    cursor: grabbing;
    user-select: none;
}

body.is-module-dragging * {
    cursor: inherit !important;
}

.workspace-drag-ghost {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10001;
    min-width: 180px;
    max-width: 320px;
    height: 38px;
    display: flex;
    align-items: center;
    padding: 0 14px;
    overflow: hidden;
    pointer-events: none;
    color: #d5deeb;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    text-overflow: ellipsis;
    background: rgba(18, 30, 48, 0.94);
    border: 1px solid var(--accent);
    border-radius: 7px;
    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.45),
        0 0 18px rgba(39, 174, 255, 0.18);
    opacity: 0.92;
    will-change: transform;
}

.workspace-dock-overlays {
    position: fixed;
    inset: 0;
    z-index: 10000;
    pointer-events: none;
}

.workspace-dock-zone {
    position: fixed;
    overflow: hidden;
    border-radius: 8px;
}

.workspace-dock-preview {
    position: absolute;
    top: 0;
    left: 0;
    width: 25%;
    height: 100%;
    pointer-events: none;
    background: rgba(39, 174, 255, 0.2);
    border: 1px solid rgba(139, 213, 255, 0.86);
    border-radius: 7px;
    box-shadow:
        inset 0 0 28px rgba(39, 174, 255, 0.12),
        0 0 18px rgba(39, 174, 255, 0.16);
    opacity: 0;
    transition:
        top 120ms ease-out,
        left 120ms ease-out,
        width 120ms ease-out,
        height 120ms ease-out,
        opacity 90ms ease-out;
}

.workspace-dock-preview[data-position="right"] {
    left: 75%;
}

.workspace-dock-preview[data-position="top"] {
    width: 100%;
    height: 25%;
}

.workspace-dock-preview[data-position="bottom"] {
    top: 75%;
    width: 100%;
    height: 25%;
}

.workspace-dock-preview.active {
    opacity: 1;
}

@media (max-width: 900px) {
    .tagline {
        display: none;
    }

    .workspace {
        grid-template-columns:
            minmax(240px, 2fr)
            6px
            minmax(220px, 1fr);
    }

    .status-group {
        gap: 10px;
    }
}
.chart-container {
    position: relative;
    min-width: 0;
    width: 100%;
    height: 100%;
}

.chart-data-state {
    position: absolute;
    z-index: 5;
    top: 50%;
    left: 50%;
    max-width: min(360px, calc(100% - 40px));
    padding: 8px 12px;
    color: #8190a5;
    font-size: 11px;
    font-weight: 550;
    letter-spacing: 0.2px;
    text-align: center;
    background: rgba(8, 15, 28, 0.82);
    border: 1px solid rgba(53, 73, 101, 0.72);
    border-radius: 4px;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.24);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.chart-data-state[data-data-state="loading"] {
    color: #9ddfff;
    border-color: rgba(79, 195, 247, 0.42);
}

.chart-data-state[data-data-state="error"] {
    color: #ff9a9a;
    border-color: rgba(255, 101, 119, 0.48);
}
