/* Extreme Minimalist Styles */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Lato', sans-serif;
}

:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --text: #1f2937;
    --text-light: #6b7280;
    --bg: #ffffff;
    --bg-light: #f9fafb;
    --border: #e5e7eb;
    --positive: #10b981;
    --negative: #ef4444;
    --spacing: 0.75rem;
}

body {
    font-family: 'Lato', sans-serif;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--text);
    background: var(--bg);
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 var(--spacing);
    width: 100%;
}

/* Wide container for tables that need more space */
.container-wide {
    max-width: 100%;
    margin: 0;
    padding: 0 var(--spacing);
    width: 100%;
    overflow-x: auto;
}

/* Header */
header {
    background: var(--bg);
    padding: var(--spacing) 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

header h1 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

nav {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

nav a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 400;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.2s ease;
    font-size: 0.875rem;
    letter-spacing: 0.01em;
}

nav a:hover {
    color: var(--text);
    background-color: var(--bg-light);
}

nav a.active {
    color: var(--primary);
    background-color: rgba(37, 99, 235, 0.1);
    font-weight: 500;
}

/* Main Content */
main {
    padding: var(--spacing) 0;
    min-height: calc(100vh - 200px);
}

.hero {
    text-align: center;
    padding: var(--spacing) 0;
    margin-bottom: var(--spacing);
}

.hero h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.hero p {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Stats */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing);
    margin-bottom: var(--spacing);
}

.stat-card {
    background: var(--bg-light);
    padding: var(--spacing);
    text-align: center;
}

.stat-card h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

/* Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing);
    margin-top: var(--spacing);
}

.card {
    background: var(--bg);
    padding: var(--spacing);
}

.card h3 {
    margin-bottom: 0.25rem;
}

.card h3 a {
    color: var(--text);
    text-decoration: none;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0.5rem 0;
}

.value {
    font-size: 1rem;
    font-weight: 600;
}

.change {
    padding: 0.25rem 0.5rem;
    font-weight: 400;
}

.change.positive {
    color: var(--positive);
    background: rgba(16, 185, 129, 0.1);
}

.change.negative {
    color: var(--negative);
    background: rgba(239, 68, 68, 0.1);
}

.chart-preview img {
    width: 100%;
    height: auto;
    margin-top: 0.5rem;
}

/* Detail Page */
.detail-header {
    margin-bottom: calc(var(--spacing) * 2);
}

.back-link {
    display: inline-block;
    margin-bottom: 0.5rem;
    color: var(--primary);
    text-decoration: none;
}

.type-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--bg-light);
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

.metrics {
    margin-bottom: calc(var(--spacing) * 2);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing);
    margin-top: var(--spacing);
}

.metric {
    display: flex;
    justify-content: space-between;
    padding: var(--spacing);
    background: var(--bg-light);
}

.metric-label {
    color: var(--text-light);
}

.metric-value {
    font-weight: 600;
}

.charts {
    margin-top: calc(var(--spacing) * 2);
}

.chart-container {
    margin-bottom: calc(var(--spacing) * 2);
}

.chart-container h3 {
    margin-bottom: var(--spacing);
    font-size: 1rem;
}

.chart-image {
    width: 100%;
    height: auto;
}

/* Footer */
footer {
    background: var(--bg-light);
    padding: var(--spacing) 0;
    margin-top: var(--spacing);
    text-align: center;
    color: var(--text-light);
}

/* History Tables */
.history {
    margin: var(--spacing) 0;
}

.history-table-container {
    overflow-x: auto;
    margin: var(--spacing) 0;
}

/* Outer table - contains period columns */
.history-table-outer {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.7rem;
    font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
    background: #ffffff;
}

.history-table-outer td {
    padding: 0.5rem;
    vertical-align: top;
    border: none;
}

.period-cell {
    padding: 0.5rem;
}

.period-header {
    font-weight: 600;
    text-align: center;
    margin-bottom: 0.5rem;
    padding: 0.25rem;
}

/* Nested table - contains Rates and Vols rows */
.history-table-nested {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.7rem;
    font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
    background: #ffffff;
}

.history-table-nested td {
    padding: 0.25rem 0.5rem;
    background: #ffffff;
    border: none;
}

/* Header row for nested table */
.history-table-nested th {
    font-weight: 600;
    text-align: center;
    border: none;
}

/* Header row value cells - right aligned to match values below */
.history-table-nested th.value-col {
    text-align: right;
}

/* Label column - flexible alignment */
.history-table-nested .label-col {
    font-weight: 600;
    min-width: 100px;
}

.history-table-nested .label-col.label-left {
    text-align: left;
}

.history-table-nested .label-col.label-right {
    text-align: right;
}

/* Value cells - always right aligned */
.history-table-nested .value-col {
    text-align: right;
    min-width: 60px;
    font-weight: 400;
}

/* Value cells with no border - reusable class */
.history-table-nested .value-col.noborder-col {
    border: none;
}

/* Value cell links - no decoration */
.history-table-nested .value-col a {
    color: inherit;
    text-decoration: none;
}

.history-table-nested .value-col a:hover {
    text-decoration: none;
}

/* G4 Summary Table */
.g4-summary-table {
    width: auto;
    table-layout: auto;
    border-collapse: collapse;
    border-spacing: 0;
    font-size: 0.75rem;
    margin: var(--spacing) 0;
    -webkit-border-collapse: collapse;
}

.g4-summary-table th,
.g4-summary-table td {
    padding: var(--spacing) 0.25rem;
    vertical-align: top;
    text-align: left;
    box-sizing: border-box;
}

.g4-summary-table .fx-row td,
.g4-summary-table .equity-row td {
    padding-bottom: 0.25rem;
}

.g4-summary-table .fx-charts-row td,
.g4-summary-table .equity-charts-row td {
    padding: 0;
}

.g4-summary-table .ccy-col {
    width: 400px;
    min-width: 400px;
}

.g4-summary-table .header-row th {
    font-weight: 700;
    text-align: center;
    font-size: 1.2rem;
}

.fx-name, .equity-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.fx-value, .equity-value {
    margin: 0.25rem 0;
}

.fx-change, .equity-change {
    font-size: 0.7rem;
    color: var(--text-light);
    margin: 0.1rem 0;
}

.fx-chart, .equity-chart, .rates-chart, .vols-chart {
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    display: block;
}

.nested-fx-table,
.nested-equity-table,
.nested-rates-table,
.nested-vols-table {
    width: 310px;
    border-collapse: collapse;
    border-spacing: 0;
    font-size: 0.7rem;
    margin-bottom: 0;
    -webkit-border-collapse: collapse;
}

.nested-swaption-vols-table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    font-size: 0.7rem;
    margin-bottom: 0;
    -webkit-border-collapse: collapse;
}

.nested-fx-table,
.nested-equity-table {
    margin-bottom: 0;
}

.nested-fx-table th,
.nested-equity-table th,
.nested-rates-table th,
.nested-vols-table th {
    font-weight: 600;
    padding: 0.25rem;
}

.nested-fx-table th:first-child,
.nested-equity-table th:first-child,
.nested-rates-table th:first-child,
.nested-vols-table th:first-child {
    width: 110px;
    text-align: left;
}

.nested-fx-table th:not(:first-child),
.nested-equity-table th:not(:first-child),
.nested-rates-table th:not(:first-child),
.nested-vols-table th:not(:first-child) {
    width: 50px;
    text-align: right;
}

.nested-fx-table td,
.nested-equity-table td,
.nested-rates-table td,
.nested-vols-table td {
    padding: 0.25rem;
    box-sizing: border-box;
}

.nested-fx-table td:first-child,
.nested-equity-table td:first-child,
.nested-rates-table td:first-child,
.nested-vols-table td:first-child {
    width: 110px;
    text-align: left;
    font-weight: 500;
}

.nested-fx-table td:not(:first-child),
.nested-equity-table td:not(:first-child),
.nested-rates-table td:not(:first-child),
.nested-vols-table td:not(:first-child) {
    width: 50px;
    text-align: right;
}

/* Separator row for rates table */
.nested-rates-table .rates-separator-row td {
    border-bottom: 1px solid #d1d5db;
}

/* Swaption vols table - specific styling */
.nested-swaption-vols-table th {
    font-weight: normal;
    padding: 0.25rem;
    width: 50px;
    text-align: right;
}

.nested-swaption-vols-table td {
    padding: 0.25rem;
    width: 50px;
    text-align: right;
    box-sizing: border-box;
}

.nested-swaption-vols-table .expiry-label {
    font-weight: normal;
}

/* Vol indices table - specific styling */
.nested-vol-indices-table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    font-size: 0.7rem;
    margin-bottom: 0;
    -webkit-border-collapse: collapse;
}

.nested-vol-indices-table th {
    font-weight: normal;
    padding: 0.25rem;
    text-align: right;
    border: none;
}

.nested-vol-indices-table th:first-child {
    width: 100px;
    text-align: right;
}

.nested-vol-indices-table th:not(:first-child) {
    width: 50px;
    text-align: right;
}

.nested-vol-indices-table td {
    padding: 0.25rem;
    text-align: right;
    border: none;
    box-sizing: border-box;
}

.nested-vol-indices-table td:first-child {
    width: 100px;
    text-align: right;
    font-weight: normal;
    border: none;
}

.nested-vol-indices-table td:not(:first-child) {
    width: 50px;
    text-align: right;
}

.nested-vol-indices-table .vol-type-label {
    font-weight: normal;
    text-align: right;
    border: none;
}

.nested-vol-indices-table .vol-index-cell {
    border: 1px solid #000000;
}

/* Chart pair tables for volatility page */
.chart-pair-table {
    width: 100%;
    border-collapse: collapse;
    border: none;
    margin: 0;
    padding: 0;
    table-layout: fixed;
}

.chart-pair-table td {
    border: none;
    margin: 0;
    padding: 0;
    vertical-align: top;
    width: 50%;
}

.cross-market-chart,
.left-right-chart {
    width: 100%;
    height: auto;
    display: block;
}

/* Block borders for swaption vols table - 3x3 blocks */
/* Add border to all cells in each block - Safari compatible approach */
.nested-swaption-vols-table .block-gamma-left,
.nested-swaption-vols-table .block-gamma-right,
.nested-swaption-vols-table .block-intermediate-left,
.nested-swaption-vols-table .block-intermediate-right,
.nested-swaption-vols-table .block-vega-left,
.nested-swaption-vols-table .block-vega-right {
    border: 1px solid #000000 !important;
    -webkit-border-image: none;
}

/* Remove left border from cells that are not the first column of their block */
/* For left blocks: columns are nth-child(2), (3), (4) - remove border from (3) and (4) */
/* For right blocks: columns are nth-child(5), (6), (7) - remove border from (6) and (7) */
.nested-swaption-vols-table .block-gamma-left:nth-child(3),
.nested-swaption-vols-table .block-gamma-left:nth-child(4),
.nested-swaption-vols-table .block-intermediate-left:nth-child(3),
.nested-swaption-vols-table .block-intermediate-left:nth-child(4),
.nested-swaption-vols-table .block-vega-left:nth-child(3),
.nested-swaption-vols-table .block-vega-left:nth-child(4),
.nested-swaption-vols-table .block-gamma-right:nth-child(6),
.nested-swaption-vols-table .block-gamma-right:nth-child(7),
.nested-swaption-vols-table .block-intermediate-right:nth-child(6),
.nested-swaption-vols-table .block-intermediate-right:nth-child(7),
.nested-swaption-vols-table .block-vega-right:nth-child(6),
.nested-swaption-vols-table .block-vega-right:nth-child(7) {
    border-left: none !important;
}

/* Remove right border from cells that are not the last column of their block */
/* For left blocks: columns are nth-child(2), (3), (4) - remove border from (2) and (3) */
/* For right blocks: columns are nth-child(5), (6), (7) - remove border from (5) and (6) */
.nested-swaption-vols-table .block-gamma-left:nth-child(2),
.nested-swaption-vols-table .block-gamma-left:nth-child(3),
.nested-swaption-vols-table .block-intermediate-left:nth-child(2),
.nested-swaption-vols-table .block-intermediate-left:nth-child(3),
.nested-swaption-vols-table .block-vega-left:nth-child(2),
.nested-swaption-vols-table .block-vega-left:nth-child(3),
.nested-swaption-vols-table .block-gamma-right:nth-child(5),
.nested-swaption-vols-table .block-gamma-right:nth-child(6),
.nested-swaption-vols-table .block-intermediate-right:nth-child(5),
.nested-swaption-vols-table .block-intermediate-right:nth-child(6),
.nested-swaption-vols-table .block-vega-right:nth-child(5),
.nested-swaption-vols-table .block-vega-right:nth-child(6) {
    border-right: none !important;
}

/* Remove top border from cells that are not in the first row of their block */
/* Gamma blocks: rows 2, 3, 4 (remove from rows 3 and 4) */
/* Intermediate blocks: rows 5, 6, 7 (remove from rows 6 and 7) */
/* Vega blocks: rows 8, 9, 10 (remove from rows 9 and 10) */
.nested-swaption-vols-table tr:nth-child(3) .block-gamma-left,
.nested-swaption-vols-table tr:nth-child(3) .block-gamma-right,
.nested-swaption-vols-table tr:nth-child(4) .block-gamma-left,
.nested-swaption-vols-table tr:nth-child(4) .block-gamma-right,
.nested-swaption-vols-table tr:nth-child(6) .block-intermediate-left,
.nested-swaption-vols-table tr:nth-child(6) .block-intermediate-right,
.nested-swaption-vols-table tr:nth-child(7) .block-intermediate-left,
.nested-swaption-vols-table tr:nth-child(7) .block-intermediate-right,
.nested-swaption-vols-table tr:nth-child(9) .block-vega-left,
.nested-swaption-vols-table tr:nth-child(9) .block-vega-right,
.nested-swaption-vols-table tr:nth-child(10) .block-vega-left,
.nested-swaption-vols-table tr:nth-child(10) .block-vega-right {
    border-top: none !important;
}

/* Remove bottom border from cells that are not in the last row of their block */
/* Gamma blocks: rows 2, 3, 4 (remove from rows 2 and 3) */
/* Intermediate blocks: rows 5, 6, 7 (remove from rows 5 and 6) */
/* Vega blocks: rows 8, 9, 10 (remove from rows 8 and 9) */
.nested-swaption-vols-table tr:nth-child(2) .block-gamma-left,
.nested-swaption-vols-table tr:nth-child(2) .block-gamma-right,
.nested-swaption-vols-table tr:nth-child(3) .block-gamma-left,
.nested-swaption-vols-table tr:nth-child(3) .block-gamma-right,
.nested-swaption-vols-table tr:nth-child(5) .block-intermediate-left,
.nested-swaption-vols-table tr:nth-child(5) .block-intermediate-right,
.nested-swaption-vols-table tr:nth-child(6) .block-intermediate-left,
.nested-swaption-vols-table tr:nth-child(6) .block-intermediate-right,
.nested-swaption-vols-table tr:nth-child(8) .block-vega-left,
.nested-swaption-vols-table tr:nth-child(8) .block-vega-right,
.nested-swaption-vols-table tr:nth-child(9) .block-vega-left,
.nested-swaption-vols-table tr:nth-child(9) .block-vega-right {
    border-bottom: none !important;
}

/* G7 Summary Table Wrapper */
.table-wrapper {
    overflow-x: auto;
    width: 100%;
    margin: var(--spacing) 0;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on mobile */
}

/* G7 Summary Table */
.g7-summary-table {
    width: max-content; /* Table width matches its content - columns size to widest chart */
    table-layout: auto; /* Auto layout so columns size to content */
    border-collapse: collapse;
    border-spacing: 0;
    font-size: 0.75rem;
    margin: 0;
    -webkit-border-collapse: collapse;
}

.g7-summary-table th,
.g7-summary-table td {
    padding: var(--spacing) 0.25rem;
    vertical-align: top;
    text-align: left;
    box-sizing: border-box;
}

.g7-summary-table .ccy-col {
    white-space: normal; /* Allow normal wrapping for text content in data cells */
}

.g7-summary-table .fx-row td,
.g7-summary-table .equity-row td,
.g7-summary-table .centralbank-row td,
.g7-summary-table .rates-row td {
    padding-bottom: 0.25rem;
}

.g7-summary-table .fx-charts-row td,
.g7-summary-table .fx-vols-charts-row td,
.g7-summary-table .equity-charts-row td,
.g7-summary-table .equity-vols-charts-row td,
.g7-summary-table .centralbank-charts-row td,
.g7-summary-table .cpi-charts-row td,
.g7-summary-table .swap-forwards-charts-row td,
.g7-summary-table .bond-futures-charts-row td,
.g7-summary-table .curve-charts-row td,
.g7-summary-table .rates-charts-row td {
    padding: 0;
    white-space: nowrap; /* Prevent chart cells from wrapping */
    width: auto;
    min-width: -webkit-fit-content; /* Safari compatible */
    min-width: fit-content; /* Ensure cells are at least as wide as their content */
}

.g7-summary-table .ccy-col {
    width: auto;
    /* No min-width - column will size to widest chart in that column */
}

.g7-summary-table .header-row th {
    font-weight: 700;
    text-align: center;
    font-size: 1.2rem;
}

.g7-summary-table .fx-chart,
.g7-summary-table .fx-vols-chart,
.g7-summary-table .equity-chart,
.g7-summary-table .equity-vols-chart,
.g7-summary-table .cb-chart,
.g7-summary-table .cpi-chart,
.g7-summary-table .swap-forwards-chart,
.g7-summary-table .bond-futures-chart,
.g7-summary-table .curve-chart,
.g7-summary-table .rates-chart {
    width: auto;
    height: auto;
    max-width: none; /* Ensure charts are not constrained and display at original dimensions */
    max-height: none;
    margin: 0;
    padding: 0;
    display: block;
}


.g7-summary-table .nested-fx-table,
.g7-summary-table .nested-equity-table,
.g7-summary-table .nested-cb-table,
.g7-summary-table .nested-rates-table {
    width: 210px;
    border-collapse: collapse;
    border-spacing: 0;
    font-size: 0.7rem;
    margin-bottom: 0;
    -webkit-border-collapse: collapse;
}

.g7-summary-table .nested-fx-table th,
.g7-summary-table .nested-equity-table th,
.g7-summary-table .nested-cb-table th,
.g7-summary-table .nested-rates-table th {
    font-weight: 600;
    padding: 0.25rem;
}

.g7-summary-table .nested-fx-table th:first-child,
.g7-summary-table .nested-equity-table th:first-child,
.g7-summary-table .nested-cb-table th:first-child,
.g7-summary-table .nested-rates-table th:first-child {
    width: 60px;
    text-align: left;
}

.g7-summary-table .nested-fx-table th:not(:first-child),
.g7-summary-table .nested-equity-table th:not(:first-child),
.g7-summary-table .nested-cb-table th:not(:first-child),
.g7-summary-table .nested-rates-table th:not(:first-child) {
    width: 50px;
    text-align: right;
}

.g7-summary-table .nested-fx-table td,
.g7-summary-table .nested-equity-table td,
.g7-summary-table .nested-cb-table td,
.g7-summary-table .nested-rates-table td {
    padding: 0.25rem;
    box-sizing: border-box;
}

.g7-summary-table .nested-fx-table td:first-child,
.g7-summary-table .nested-equity-table td:first-child,
.g7-summary-table .nested-cb-table td:first-child,
.g7-summary-table .nested-rates-table td:first-child {
    width: 60px;
    text-align: left;
    font-weight: 500;
}

.g7-summary-table .nested-fx-table td:not(:first-child),
.g7-summary-table .nested-equity-table td:not(:first-child),
.g7-summary-table .nested-cb-table td:not(:first-child),
.g7-summary-table .nested-rates-table td:not(:first-child) {
    width: 50px;
    text-align: right;
}

/* Invisible clickable links for chart popups */
.chart-popup-link {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    display: inline-block;
}

.chart-popup-link:hover {
    color: inherit;
    text-decoration: none;
}

.chart-popup-link img {
    display: block;
}

/* Popup modal for charts */
.chart-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    cursor: pointer;
}

.chart-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.chart-modal-content {
    max-width: 90%;
    max-height: 90%;
    background-color: #ffffff;
    padding: 1rem;
    position: relative;
    cursor: default;
}

.chart-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.15);
    color: #9ca3af;
    border: none;
    outline: none;
    font-size: 2rem;
    width: 3rem;
    height: 3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1002;
    transition: background-color 0.2s, opacity 0.2s;
    font-weight: 700;
    pointer-events: auto;
    opacity: 0;
}

.chart-modal-nav:hover {
    background-color: rgba(255, 255, 255, 0.3);
    opacity: 1;
}

.chart-modal-nav:focus {
    outline: none;
    border: none;
}

.chart-modal-nav:active {
    outline: none;
    border: none;
}

.chart-modal-nav-left {
    left: 0.5rem;
}

.chart-modal-nav-right {
    right: 0.5rem;
}

.chart-modal-content img {
    max-width: 100%;
    max-height: 90vh;
    height: auto;
    display: block;
}

.chart-modal-close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    cursor: pointer;
    line-height: 1;
    padding: 0.25rem 0.5rem;
}

.chart-modal-close:hover {
    color: #666;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h2 {
        font-size: 2rem;
    }
    
    .grid {
        grid-template-columns: 1fr;
    }
    
    nav {
        gap: 1rem;
    }
    
    .history-table-outer {
        font-size: 0.75rem;
    }
    
    .history-table-nested {
        font-size: 0.75rem;
    }
    
    .history-table-nested td {
        padding: 0.25rem;
    }
    
    .g4-summary-table {
        font-size: 0.75rem;
    }
    
    .nested-rates-table,
    .nested-vols-table,
    .nested-swaption-vols-table {
        font-size: 0.7rem;
    }
}