body {
    margin: 0;
    padding: 0;
    background: #F4E9D8;
    font-family: Arial, sans-serif;
    color: #222222;
}

.ft-app-shell {
    min-height: 100vh;
    background: #F4E9D8;
}

.topbar {
    display: none;
}

.app-container,
.ft-page {
    max-width: 1420px;
    margin: 0 auto;
    padding: 20px 28px 36px 28px;
    box-sizing: border-box;
}

.ft-header {
    text-align: center;
    margin-bottom: 15px;
}

.ft-title,
.main-title {
    margin: 0;
    font-size: 46px;
    font-weight: 500;
    color: #222222;
    letter-spacing: -0.02em;
}

.hero-subtitle,
.hero-section {
    display: none;
}

.ft-controls-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin-bottom: 5px;
}

.ft-control-block,
.definition-box {
    margin-bottom: 20px;
}

.ft-control-block-wide {
    margin-top: 6px;
}

.ft-label {
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 500;
    color: #333333;
}

.ft-helper-text {
    margin: 0;
    font-size: 14px;
    color: #5B5B5B;
}

.ft-dropdown .Select-control,
.Select-control {
    background: #F8F4EC !important;
    border: 1px solid #CFC3B1 !important;
    border-radius: 4px !important;
    min-height: 50px !important;
    box-shadow: none !important;
}

.Select-placeholder,
.Select-value-label,
.Select-input input {
    color: #222222 !important;
    font-size: 16px !important;
}

.Select-menu-outer {
    background: #F8F4EC !important;
    border: 1px solid #CFC3B1 !important;
    z-index: 2000 !important;
}

.ft-chart-card,
.chart-section {
    background: transparent;
    border: none;
    box-shadow: none;
    margin-bottom: 34px;
    padding: 0;
}

.ft-chart-header,
.chart-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 8px;
}

.ft-button,
.export-button {
    padding: 10px 16px;
    border: 1px solid #CFC3B1;
    border-radius: 4px;
    background: #F8F4EC;
    color: #222222;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.ft-button:hover,
.export-button:hover {
    background: #EFE4D2;
}

.text-title-spacer {
    display: none;
}

.source-definition-box {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

.section-title {
    font-size: 18px;
    font-weight: 500;
    color: #333333;
    margin: 0 0 8px 0;
}

.definition-text {
    color: #555555;
    line-height: 1.6;
    font-size: 14px;
    margin: 0;
}

.definition-text-spaced {
    margin-top: 12px;
}

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

    .ft-title,
    .main-title {
        font-size: 34px;
    }
}

.ft-subtitle {
    max-width: 1400px;
    margin: 5px auto 0 auto;
    color: #5B5B5B;
    text-align: center;
}

.ft-subtitle-line {
    margin: 0 0 3px 0;
    font-size: 16px;
    line-height: 1.2;
    white-space: nowrap;
}

.ft-subtitle-line:last-child {
    margin-bottom: 0;
}

.ft-note-block {
    margin: 2px 0 24px 0;
    padding-top: 8px;
    border-top: 1px solid #D8CBB8;
}

.ft-note-text {
    margin: 0;
    font-size: 13px;
    line-height: 1.65;
    color: #5B5B5B;
}


.ft-note-title {
    margin: 0 0 10px 0;
}

.ft-section-divider-block {
    margin: 18px 0 6px 0;
}

.ft-section-divider {
    border-top: 1px solid #D8CBB8;
    margin-bottom: 16px;
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1420px;
    margin: 0 auto;
    padding: 16px 28px 0 28px;
    box-sizing: border-box;
}

.ft-live-panel {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ft-timestamp {
    font-size: 14px;
    font-weight: 600;
    color: #5B5B5B;
}

.ft-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border: 1px solid #CFC3B1;
    border-radius: 999px;
    background: #F8F4EC;
}

.ft-live-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #B45309;
    display: inline-block;
    animation: pulse-live 1.6s infinite;
}

.ft-live-text {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #7C2D12;
}

@keyframes pulse-live {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(180, 83, 9, 0.45);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(180, 83, 9, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(180, 83, 9, 0);
    }
}

.ft-chart-topline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
