html, body {
    margin: 0;
    padding: 0;
    background: #0c0f14;
    color: #f2f4f8;
    font-family: Inter, Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

button,
input,
select {
    font-family: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.ta_app {
    min-height: 100vh;
}

.ta_shell {
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    min-height: 100vh;
}

.ta_sidebar {
    border-right: 1px solid rgba(255,255,255,0.08);
    background: #11161e;
    padding: 28px;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: auto;
}

.ta_brand {
    margin-bottom: 24px;
}

.ta_brand_logo_wrap {
    margin-bottom: 10px;
}

.ta_brand_logo_text {
    width: 190px;
    height: auto;
}

.ta_brand p {
    margin: 0;
    color: #b7c0cb;
    line-height: 1.5;
}

.ta_status_card,
.ta_card,
.ta_log_box {
    background: #161c26;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
}

.ta_status_card {
    padding: 18px;
    margin-bottom: 18px;
}

.ta_status_row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.ta_status_row:last-child {
    border-bottom: 0;
}

.ta_status_row strong.is-on,
.is-positive {
    color: #51d88a;
}

.ta_status_row strong.is-off,
.is-negative {
    color: #ff7b7b;
}

.ta_actions {
    display: grid;
    gap: 10px;
    margin-bottom: 18px;
}

.ta_button {
    width: 100%;
    border: 0;
    border-radius: 14px;
    background: #4d8cff;
    color: #fff;
    padding: 14px 16px;
    font-size: 15px;
    cursor: pointer;
}

.ta_button:hover {
    opacity: 0.92;
}

.ta_button_alt {
    background: #2f3947;
}

.ta_form {
    padding: 18px;
    margin-bottom: 18px;
    background: #161c26;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
}

.ta_form h3 {
    margin: 0 0 16px;
    font-size: 18px;
}

.ta_field {
    margin-bottom: 12px;
}

.ta_field label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    color: #b7c0cb;
}

.ta_field input[type="text"],
.ta_field select {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    background: #0e131a;
    color: #fff;
    padding: 12px 14px;
}

.ta_field_checkbox label {
    display: flex;
    gap: 10px;
    align-items: center;
}


.ta_form_group {
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.ta_form_group:last-of-type {
    margin-bottom: 8px;
}

.ta_form_group_title {
    margin: 0 0 12px;
    color: #e5e7eb;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ta_log_box {
    padding: 16px;
    font-size: 14px;
    color: #d7dfeb;
}

.ta_main {
    padding: 20px 28px 10px;
    min-width: 0;
}

.ta_dashboard_sections {
    display: grid;
    gap: 0;
}

.ta_layout_item {
    position: relative;
}

.ta_layout_item[draggable="true"] {
    cursor: grab;
}

.ta_layout_item.is-dragging {
    opacity: 0.55;
}

.ta_drag_handle {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 999px;
    background: rgba(12,15,20,0.92);
    color: #c7d0dc;
    cursor: grab;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    line-height: 1;
    display:none
}

.ta_drag_handle:hover {
    color: #fff;
    border-color: rgba(255,255,255,0.16);
}

.ta_topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    margin-bottom: 18px;
    padding: 14px 16px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    background: rgba(17, 22, 30, 0.92);
    backdrop-filter: blur(12px);
    box-shadow: 0 14px 34px rgba(0,0,0,0.18);
}

.ta_topbar_main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.ta_topbar_title_wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 150px;
}

.ta_topbar_label {
    font-size: 11px;
    color: #91a0b2;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.ta_topbar_value {
    font-size: 20px;
    font-weight: 700;
    color: #f2f4f8;
}

.ta_grid {
    display: grid;
    gap: 18px;
}

.ta_grid_stats {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin-bottom: 18px;
}

.ta_grid_two {
    grid-template-columns: repeat(2, minmax(0, 1fr));


        margin-bottom: 18px;
}

.ta_card {
    padding: 20px;
    min-width: 0;
        margin-bottom: 18px;
}
.ta_grid_two .ta_card,.ta_grid_stats .ta_card{
    margin:0;
}
.ta_card_chart {
    margin-bottom: 18px;
}

.ta_kpi_label {
    font-size: 13px;
    color: #a2acb9;
    margin-bottom: 8px;
}

.ta_kpi_meta {
    font-size: 11px;
    color: #7f8b99;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.ta_kpi_value {
    font-size: 28px;
    font-weight: 700;
}

.ta_section_header {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: end;
    margin-bottom: 16px;
}

.ta_section_header_chart {
    align-items: start;
}

.ta_section_header h2 {
    margin: 0;
    font-size: 22px;
    margin-bottom: 5px;
}

.ta_section_header p {
    margin: 0;
    color: #9ba6b5;
}

.ta_chart_stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    width: min(100%, 840px);
}

.ta_chart_stats_five {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.ta_chart_controls {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: min(100%, 760px);
}

.ta_chart_controls_topbar {
    width: 100%;
    max-width: 920px;
}

.ta_range_presets {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.ta_range_button {
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    background: #0f141c;
    color: #dfe6ef;
    padding: 10px 12px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
}

.ta_range_button:hover {
    border-color: rgba(77, 140, 255, 0.45);
}

.ta_range_button.is-active {
    background: #4d8cff;
    color: #fff;
    border-color: #4d8cff;
}

.ta_range_custom {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.ta_range_custom span {
    color: #91a0b2;
    font-size: 13px;
}

.ta_range_custom input[type="date"] {
    min-width: 150px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    background: #0e131a;
    color: #fff;
    padding: 10px 12px;
}

.ta_chart_stat {
    padding: 12px 14px;
    border-radius: 14px;
    background: #0f141c;
    border: 1px solid rgba(255,255,255,0.06);
}

.ta_chart_stat span {
    display: block;
    font-size: 11px;
    color: #94a2b4;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
}

.ta_chart_stat strong {
    font-size: 15px;
}

.ta_chart_box {
    min-width: 0;
}

.ta_chart {
    width: 100%;
    min-height: 280px;
    border-radius: 16px;
    background: #0f141c;
    border: 1px solid rgba(255,255,255,0.06);
    overflow: hidden;
    position: relative;
}

.ta_chart svg {
    width: 100%;
    height: 280px;
    display: block;
}

.ta_chart_line {
    fill: none;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ta_chart_line.is-positive,
.ta_chart_dots.is-positive circle {
    stroke: #51d88a;
    fill: #51d88a;
}

.ta_chart_line.is-negative,
.ta_chart_dots.is-negative circle {
    stroke: #ff7b7b;
    fill: #ff7b7b;
}

.ta_chart_zero {
    stroke: rgba(255,255,255,0.18);
    stroke-width: 1;
    stroke-dasharray: 5 5;
}

.ta_chart_grid {
    stroke: rgba(255,255,255,0.06);
    stroke-width: 1;
}

.ta_chart_area {
    pointer-events: none;
}

.ta_chart_dots circle {
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.ta_chart_dots circle.is-positive {
    fill: #51d88a;
}

.ta_chart_dots circle.is-negative {
    fill: #ff7b7b;
}

.ta_chart_dots circle.is-neutral {
    fill: #9fb0c2;
}

.ta_chart_hit_point {
    fill: transparent;
    cursor: crosshair;
}

.ta_chart_crosshair {
    stroke: rgba(255,255,255,0.28);
    stroke-width: 1;
    stroke-dasharray: 4 4;
    opacity: 0;
    transition: opacity 0.12s ease;
    pointer-events: none;
}

.ta_chart_crosshair.is-visible {
    opacity: 1;
}

.ta_chart_focus_dot {
    fill: #fff;
    stroke: #0f141c;
    stroke-width: 2;
    opacity: 0;
    transition: opacity 0.12s ease;
    pointer-events: none;
}

.ta_chart_focus_dot.is-visible {
    opacity: 1;
}

.ta_chart_focus_dot.is-positive {
    fill: #51d88a;
}

.ta_chart_focus_dot.is-negative {
    fill: #ff7b7b;
}

.ta_chart_focus_dot.is-neutral {
    fill: #9fb0c2;
}

.ta_chart_tooltip {
    position: absolute;
    min-width: 180px;
    max-width: 240px;
    padding: 12px 12px 10px;
    border-radius: 12px;
    background: rgba(7, 10, 15, 0.96);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 16px 34px rgba(0,0,0,0.35);
    pointer-events: none;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.14s ease, transform 0.14s ease;
    z-index: 3;
}

.ta_chart_tooltip.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.ta_chart_tooltip_title {
    font-size: 12px;
    font-weight: 700;
    color: #f3f7fb;
    margin-bottom: 8px;
}

.ta_chart_tooltip_row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 11px;
    color: #9aacbf;
    margin-top: 4px;
}

.ta_chart_tooltip_row strong {
    font-size: 11px;
    font-weight: 700;
    color: #f3f7fb;
    text-align: right;
}

.ta_chart_tooltip.is-positive .ta_chart_tooltip_title {
    color: #51d88a;
}

.ta_chart_tooltip.is-negative .ta_chart_tooltip_title {
    color: #ff7b7b;
}

.ta_chart_labels text {
    fill: #91a0b2;
    font-size: 11px;
}

.ta_chart_empty {
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: #93a1b2;
    text-align: center;
}

.ta_table_wrap {
    max-width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    min-width: 0;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.05);
}

.ta_table_wrap_main {
    max-height: 440px;
}

.ta_table_wrap_compact {
    max-height: 340px;
}

.ta_table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.ta_table th,
.ta_table td {
    padding: 11px 10px;
    text-align: left;
    font-size: 13px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
}

.ta_table thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #161c26;
}

.ta_table td.is-positive,
.ta_table td.is-positive strong {
    color: #51d88a;
}

.ta_table td.is-negative,
.ta_table td.is-negative strong {
    color: #ff7b7b;
}

.ta_table td.is-neutral,
.ta_table td.is-neutral strong {
    color: #d7dfeb;
}

.ta_table td.is-positive {
    background: rgba(81, 216, 138, 0.10);
}

.ta_table td.is-negative {
    background: rgba(255, 123, 123, 0.10);
}

.ta_table td.is-neutral {
    background: rgba(255, 255, 255, 0.04);
}

.ta_cell_status {
    font-weight: 600;
    text-transform: capitalize;
}

.ta_cell_status.status-new {
    color: #8cb4ff;
    background: rgba(77, 140, 255, 0.12);
}

.ta_cell_status.status-open {
    color: #51d88a;
    background: rgba(81, 216, 138, 0.12);
}

.ta_cell_status.status-closed {
    color: #ffb86c;
    background: rgba(255, 184, 108, 0.12);
}

.ta_table th {
    color: #91a0b2;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.ta_table tr:last-child td {
    border-bottom: 0;
}

.ta_table tr.is-priority-open td {
    background-image: linear-gradient(90deg, rgba(81, 216, 138, 0.08), rgba(81, 216, 138, 0));
}

.ta_cell_symbol {
    font-weight: 600;
}

.ta_cell_num {
    font-variant-numeric: tabular-nums;
    text-align: right !important;
}

.ta_cell_price {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.ta_cell_time {
    font-size: 12px;
    color: #9fb0c3;
}

.ta_cell_status {
    text-transform: lowercase;
}

.ta_table_snapshots th:nth-child(1),
.ta_table_snapshots td:nth-child(1) {
    width: 12%;
}

.ta_table_snapshots th:nth-child(2),
.ta_table_snapshots td:nth-child(2),
.ta_table_snapshots th:nth-child(3),
.ta_table_snapshots td:nth-child(3),
.ta_table_snapshots th:nth-child(4),
.ta_table_snapshots td:nth-child(4),
.ta_table_snapshots th:nth-child(5),
.ta_table_snapshots td:nth-child(5),
.ta_table_snapshots th:nth-child(6),
.ta_table_snapshots td:nth-child(6),
.ta_table_snapshots th:nth-child(7),
.ta_table_snapshots td:nth-child(7),
.ta_table_snapshots th:nth-child(8),
.ta_table_snapshots td:nth-child(8) {
    width: 10%;
}

.ta_table_snapshots th:nth-child(9),
.ta_table_snapshots td:nth-child(9) {
    width: 18%;
}

.ta_table_compact th:nth-child(1),
.ta_table_compact td:nth-child(1) {
    width: 20%;
}

.ta_table_compact th:nth-child(2),
.ta_table_compact td:nth-child(2) {
    width: 14%;
}

.ta_table_compact th:nth-child(3),
.ta_table_compact td:nth-child(3),
.ta_table_compact th:nth-child(4),
.ta_table_compact td:nth-child(4) {
    width: 16%;
}

.ta_table_compact th:nth-child(5),
.ta_table_compact td:nth-child(5) {
    width: 14%;
}

.ta_table_compact th:nth-child(6),
.ta_table_compact td:nth-child(6) {
    width: 20%;
}

.ta_status_hint {
    margin: 12px 0;
    font-size: 12px;
    opacity: 0.7;
}

body.is-auto-refreshing .ta_status_hint {
    opacity: 1;
}

@media (max-width: 1380px) {
    .ta_section_header_chart {
        flex-direction: column;
        align-items: stretch;
    }

    .ta_topbar_main {
        flex-direction: column;
        align-items: stretch;
    }

    .ta_chart_controls,
    .ta_chart_stats {
        width: 100%;
    }
}

@media (max-width: 1180px) {
    .ta_shell {
        grid-template-columns: 1fr;
    }

    .ta_sidebar {
        position: relative;
        height: auto;
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    .ta_grid_stats,
    .ta_grid_two {
        grid-template-columns: 1fr 1fr;
    }

    .ta_chart_stats,
    .ta_chart_stats_five {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .ta_main,
    .ta_sidebar {
        padding: 18px;
    }

    .ta_topbar {
        padding: 14px;
    }

    .ta_topbar_value {
        font-size: 18px;
    }

    .ta_grid_stats,
    .ta_grid_two,
    .ta_chart_stats,
    .ta_chart_stats_five {
        grid-template-columns: 1fr;
    }

    .ta_brand_logo_text {
        width: 160px;
    }

    .ta_chart svg,
    .ta_chart,
    .ta_chart_empty {
        min-height: 240px;
        height: 240px;
    }

    .ta_range_presets,
    .ta_range_custom {
        flex-direction: column;
        align-items: stretch;
    }

    .ta_range_custom input[type="date"] {
        width: 100%;
        min-width: 0;
    }
}

.ta_checks {
    display: grid;
    gap: 10px;
    margin-top: 8px;
}

.ta_checkline {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: rgba(255,255,255,0.84);
}

.ta_checkline input {
    margin: 0;
}

.ta_table_ai th:nth-child(1),
.ta_table_ai td:nth-child(1) {
    width: 10%;
}

.ta_table_ai th:nth-child(2),
.ta_table_ai td:nth-child(2) {
    width: 12%;
}

.ta_table_ai th:nth-child(3),
.ta_table_ai td:nth-child(3) {
    width: 14%;
}

.ta_table_ai th:nth-child(4),
.ta_table_ai td:nth-child(4) {
    width: 10%;
}

.ta_table_ai th:nth-child(6),
.ta_table_ai td:nth-child(6) {
    width: 18%;
}

.ta_cell_status {
    text-align: center !important;

    border: 1px solid transparent;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0.03em;
}

.status-new {
    color: #8cb4ff;
    background: rgba(77, 140, 255, 0.14);
    border-color: rgba(77, 140, 255, 0.28);
}

.status-open,
.status-approved,
.status-opened,
.status-reviewed,
.status-ai_approved {
    color: #56d98c;
    background: rgba(86, 217, 140, 0.14);
    border-color: rgba(86, 217, 140, 0.30);
}

.status-closed,
.status-hold,
.status-pending_manual,
.status-tighten_stop,
.status-take_partial,
.status-bypass,
.status-bypass_error,
.status-invalid_ai_response {
    color: #ffd166;
    background: rgba(255, 209, 102, 0.12);
    border-color: rgba(255, 209, 102, 0.26);
}

.status-rejected,
.status-ai_rejected,
.status-blocked_risk,
.status-manual_rejected,
.status-exit_now {
    color: #ff7b7b;
    background: rgba(255, 123, 123, 0.14);
    border-color: rgba(255, 123, 123, 0.28);
}

.ta_button_alt2 {
    background: #1c7c54;
}

.ta_grid_top_cards {
    margin-bottom: 18px;
}

.ta_ai_health_grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.ta_ai_health_item {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    padding: 14px;
}

.ta_ai_health_item span {
    display: block;
    color: #9ba6b5;
    font-size: 12px;
    margin-bottom: 6px;
}

.ta_ai_health_item strong {
    display: block;
    font-size: 15px;
    line-height: 1.35;
    word-break: break-word;
}

.ta_inline_actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.ta_inline_button {
    border: 0;
    border-radius: 10px;
    background: #4d8cff;
    color: #fff;
    padding: 8px 10px;
    font-size: 12px;
    cursor: pointer;
}

.ta_inline_button:hover {
    opacity: 0.92;
}

.ta_inline_button_alt {
    background: #2f3947;
}

.ta_table_pending th:last-child,
.ta_table_pending td:last-child {
    width: 26%;
}

.status-manual_rejected {
    color: #ff8b8b;
}

@media (max-width: 720px) {
    .ta_ai_health_grid {
        grid-template-columns: 1fr;
    }

    .ta_inline_actions {
        flex-direction: column;
    }
}


.ta_row_detail_trigger {
    cursor: pointer;
}

.ta_row_detail_trigger:hover td {
    background: rgba(77, 140, 255, 0.08);
}

.ta_modal_open {
    overflow: hidden;
}

.ta_modal {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: none;
}

.ta_modal.is-open {
    display: block;
}

.ta_modal_backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 8, 14, 0.76);
    backdrop-filter: blur(6px);
}

.ta_modal_dialog {
    position: relative;
    width: min(980px, calc(100vw - 32px));
    max-height: calc(100vh - 40px);
    margin: 20px auto;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,0.08);
    background: #0d121a;
    box-shadow: 0 24px 80px rgba(0,0,0,0.42);
    overflow: hidden;
}

.ta_modal_header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.ta_modal_kicker {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #8ea1b8;
    margin-bottom: 4px;
}

.ta_modal_header h3 {
    margin: 0;
    font-size: 20px;
    line-height: 1.2;
}

.ta_modal_close {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    color: #fff;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
}

.ta_modal_body {
    padding: 20px;
    max-height: calc(100vh - 120px);
    overflow: auto;
}

.ta_detail_grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.ta_detail_item {
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    background: rgba(255,255,255,0.03);
    padding: 14px;
    min-width: 0;
}

.ta_detail_label {
    color: #8ea1b8;
    font-size: 12px;
    margin-bottom: 8px;
}

.ta_detail_value {
    color: #e7edf7;
    font-size: 14px;
    line-height: 1.45;
    word-break: break-word;
}

.ta_detail_empty {
    color: #708197;
}

.ta_detail_nested_table,
.ta_detail_nested_list {
    display: grid;
    gap: 8px;
}

.ta_detail_nested_row,
.ta_detail_nested_item {
    border-radius: 12px;
    background: rgba(0,0,0,0.18);
    padding: 10px 12px;
}

.ta_detail_nested_key {
    color: #8ea1b8;
    font-size: 12px;
    margin-bottom: 4px;
}

.ta_detail_pre {
    margin: 0;
    white-space: pre-wrap;
    font-size: 12px;
    line-height: 1.45;
    color: #dbe5f3;
}

@media (max-width: 900px) {
    .ta_detail_grid {
        grid-template-columns: 1fr;
    }
}

.ta_detail_item_full {
    grid-column: 1 / -1;
}

.ta_detail_item_json {
    background: rgba(255,255,255,0.02);
}

.ta_detail_disclosure {
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    background: rgba(0,0,0,0.16);
    overflow: hidden;
}

.ta_detail_disclosure summary {
    list-style: none;
    cursor: pointer;
    padding: 12px 14px;
    color: #dbe5f3;
    font-size: 13px;
    font-weight: 600;
    user-select: none;
}

.ta_detail_disclosure summary::-webkit-details-marker {
    display: none;
}

.ta_detail_disclosure summary::after {
    content: '▾';
    float: right;
    color: #8ea1b8;
    transition: transform 0.18s ease;
}

.ta_detail_disclosure[open] summary::after {
    transform: rotate(180deg);
}

.ta_detail_pre_json {
    padding: 0 14px 14px;
    max-height: 320px;
    overflow: auto;
}

