/* Scoped to the Fed Rate Viewer page; the published chart is the main focus. */
.fx-hero {padding:16px 20px;border-radius:20px;margin-bottom:0;}
.fx-hero .fx-badge {font-size:9px;padding:4px 10px;margin-bottom:5px;letter-spacing:.08em;}
.fx-hero h1 {font-size:28px;margin-bottom:5px;line-height:1.2;}
.fx-hero p {font-size:13px;line-height:1.5;}
.fx-dashboard-shell .fx-dashboard-header {padding:10px 18px;font-size:15px;}
.fx-dashboard-shell .fx-dashboard-body {padding:14px;}
.fx-dashboard-shell .fx-main {min-width:0;}
.fx-dashboard-shell #rateTabs {margin-bottom:10px!important;gap:6px;}
.fx-dashboard-shell #rateTabs .nav-link {font-size:13px;padding:8px 16px!important;}
.fx-dashboard-shell .fx-integrated-card {background:#fff;padding:16px;border:1px solid #dce7ee;border-radius:16px;margin-bottom:16px;overflow:hidden;min-width:0;box-shadow:0 10px 28px #15364b08;}
.fx-integrated-heading {display:flex;align-items:center;justify-content:space-between;gap:12px;}
.fx-integrated-title {min-width:0;}
.fx-integrated-eyebrow {font-size:9px;font-weight:800;letter-spacing:.12em;color:#45788b;}
.fx-integrated-heading h2 {font-size:22px;letter-spacing:-.025em;line-height:1.2;color:#15394b;font-weight:800;margin:3px 0 0;}
.fx-integrated-quote {display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-shrink:0;}
.fx-integrated-number {font-size:36px;font-weight:800;line-height:1.1;letter-spacing:-.05em;color:#12394b;font-variant-numeric:tabular-nums;}
.fx-integrated-status {display:inline-flex;align-items:center;gap:5px;font-size:9px;font-weight:700;background:#e7f8f1;color:#08765f;border:1px solid #c9eadf;border-radius:30px;padding:5px 8px;max-width:155px;}
.fx-integrated-status:before {content:'';width:5px;height:5px;border-radius:50%;background:currentColor;flex-shrink:0;}
.fx-integrated-reading {margin:8px 0 10px;}
.fx-integrated-reading-copy {display:flex;align-items:baseline;flex-wrap:wrap;gap:3px 14px;min-width:0;font-size:11px;line-height:1.5;color:#567080;}
.fx-integrated-reading-copy p {margin:0;line-height:1.5;}
.fx-integrated-period {display:flex;align-items:baseline;gap:3px 5px;flex-wrap:wrap;}
.fx-integrated-period strong {color:#284d61;}
.fx-integrated-frequency {font-size:10px;color:#718696;}
.fx-integrated-target {font-size:10px;color:#3e6b7e;}
.fx-integrated-target:empty {display:none;}
.fx-integrated-toolbar {display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:9px;}
.fx-integrated-modes {display:flex;padding:3px;border-radius:9px;background:#edf2f6;gap:3px;}
.fx-integrated-modes button {line-height:1.3;font-family:inherit;font-size:11px;font-weight:700;color:#61788a;padding:7px 10px;border:0;background:transparent;border-radius:6px;cursor:pointer;display:flex;gap:5px;align-items:center;}
.fx-integrated-modes button[aria-pressed=true] {color:#154459;background:#fff;box-shadow:0 2px 8px #1b3a5014;}
.fx-integrated-legend {display:flex;gap:12px;font-size:10px;color:#647d8e;}
.fx-integrated-legend span {display:flex;align-items:center;gap:5px;}
.fx-integrated-legend i {height:6px;width:6px;display:inline-block;border-radius:2px;}
.fx-legend-up {background:#26c6a3;}
.fx-legend-down {background:#f17b86;}
.fx-integrated-plot {--fx-macro-grid:#24384e;--fx-macro-text:#a4b8cc;--fx-macro-zero:#657d94;--fx-macro-line:#65cce6;--fx-macro-highlight:#e7f6ff;--fx-macro-up:#26c6a3;--fx-macro-down:#f17b86;--fx-macro-flat:#a8bfd5;--fx-macro-bg:#0c1e31;min-height:540px;border-radius:12px;background:linear-gradient(140deg,#0e243b,#0b192c);overflow:hidden;position:relative;}
.fx-macro-chart {font-family:inherit;position:relative;color:#b3c6d9;min-width:0;}
.fx-macro-chart__canvas {width:100%;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#49647b #0c1e31;}
.fx-macro-chart__canvas svg {display:block;width:100%;height:auto;}
.fx-macro-chart__caption {font-size:10px;line-height:1.55;padding:0 13px 12px;margin:0;color:#91aac1;}
.fx-macro-chart__tooltip {position:static;width:fit-content;max-width:calc(100% - 24px);margin:10px 12px 0;font-size:11px;line-height:1.5;padding:6px 10px;border-radius:8px;border:1px solid #48728d;color:#e8f5ff;background:#112e47f5;pointer-events:none;white-space:pre-line;overflow-wrap:anywhere;}
.fx-macro-chart__tooltip[hidden] {display:none!important;}
.fx-macro-chart__empty {padding:110px 24px;color:#a4b8cc;text-align:center;font-size:13px;}
.fx-macro-chart svg [tabindex="0"]:focus {outline:none;filter:drop-shadow(0 0 3px #92daf9);}
.fx-integrated-source {display:flex;gap:5px 16px;justify-content:space-between;flex-wrap:wrap;font-size:10px;color:#6d8393;line-height:1.6;margin-top:10px;}
.fx-integrated-source a {color:#087b7a;text-decoration:underline;}
.fx-integrated-notices {font-size:9px;line-height:1.65;color:#7a8e9b;margin:6px 0 0;overflow-wrap:anywhere;}
.fx-integrated-notices:empty {display:none;}
.fx-integrated-history {border-top:1px solid #e2ebf1;margin-top:11px;padding-top:10px;}
.fx-integrated-history summary {font-size:11px;font-weight:700;color:#355769;cursor:pointer;}
.fx-integrated-history summary span {float:right;font-size:10px;font-weight:500;color:#7d93a2;}
.fx-integrated-table-scroll {overflow:auto;max-height:290px;margin-top:10px;}
.fx-integrated-table-scroll table {width:100%;font-size:12px;border-collapse:collapse;}
.fx-integrated-table-scroll td,.fx-integrated-table-scroll th {padding:8px 10px;border-bottom:1px solid #e5edf2;text-align:left;}
.fx-integrated-table-scroll td {text-align:right;font-variant-numeric:tabular-nums;}
.fx-tool-data-note {font-size:10px;line-height:1.5;color:#647f91;border-left:2px solid #b8d7e1;padding:2px 8px;margin:0 0 10px;}
.fx-integrated-modes button:focus-visible,.fx-integrated-history summary:focus-visible {outline:3px solid #35a1d0;outline-offset:3px;}
.fx-dashboard-shell .fx-manual-empty {padding:16px 18px;border:1px solid #dce7ee;border-radius:12px;color:#567080;background:#f8fbfe;font-size:13px;line-height:1.6;margin:0 0 16px;}
.fx-dashboard-shell .fx-manual-empty p {margin:0;}
@media(min-width:768px) and (max-width:1100px) {
    .fx-integrated-quote {flex-direction:column;align-items:flex-end;gap:3px;}
    .fx-integrated-number {font-size:30px;}
    .fx-integrated-heading h2 {font-size:20px;}
}
@media(max-width:767px) {
    .fx-hero {padding:12px 14px;border-radius:14px;}
    .fx-hero .fx-badge {font-size:8px;letter-spacing:.04em;margin-bottom:4px;}
    .fx-hero h1 {font-size:22px;margin-bottom:4px;}
    .fx-hero p {font-size:12px;line-height:1.45;}
    .fx-dashboard-shell {width:calc(100% + 24px);max-width:none;margin-left:-12px;margin-right:-12px;}
    .fx-dashboard-shell .fx-dashboard-header {padding:9px 14px;font-size:13px;}
    .fx-dashboard-shell .fx-dashboard-body {padding:8px!important;}
    .fx-dashboard-shell .fx-dashboard-body>.row {margin-left:0;margin-right:0;--bs-gutter-x:0;--bs-gutter-y:12px;}
    .fx-dashboard-shell .fx-dashboard-body>.row>nav {position:static!important;padding:0!important;background:transparent;}
    .fx-dashboard-shell .fx-sidebar {padding:10px!important;margin-bottom:0;}
    .fx-dashboard-shell .fx-sidebar .current-currencies,.fx-dashboard-shell .fx-sidebar .probabilities-currencies,.fx-dashboard-shell .sidebar-section[data-tab="inflation-rate"]>ul:first-of-type {display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px!important;padding:0;list-style:none;}
    .fx-dashboard-shell .fx-sidebar .probabilities-currencies[style*="none"],.fx-dashboard-shell .fx-sidebar .current-currencies[style*="none"] {display:none!important;}
    .fx-dashboard-shell .fx-sidebar ul {margin-bottom:6px;}
    .fx-dashboard-shell .fx-sidebar li {border-bottom:0;}
    .fx-dashboard-shell .fx-sidebar .nav-link {padding:7px 4px!important;margin:1px 0!important;font-size:11px!important;border-radius:7px!important;}
    .fx-dashboard-shell .fx-sidebar .sidebar-heading {padding:4px 8px!important;font-size:9px;margin-bottom:3px!important;}
    .fx-dashboard-shell .fx-sidebar .nav-link-container {display:inline-block;width:49%;margin-bottom:3px!important;}
    .fx-dashboard-shell .fx-sidebar .sidebar-section>ul:not(.current-currencies):not(.probabilities-currencies) {display:flex;flex-direction:row!important;gap:5px;list-style:none;padding:0;}
    .fx-dashboard-shell .fx-sidebar .sidebar-section>ul:not(.current-currencies):not(.probabilities-currencies)>li {flex:1;}
    .fx-dashboard-shell .fx-main {padding:0!important;}
    .fx-dashboard-shell #rateTabs {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin-bottom:8px!important;}
    .fx-dashboard-shell #rateTabs .nav-item {min-width:0;border:0;}
    .fx-dashboard-shell #rateTabs .nav-link {padding:8px 4px!important;margin:0;font-size:12px;}
    .fx-dashboard-shell .fx-integrated-card {padding:12px 10px;border-radius:12px;}
    .fx-integrated-heading {gap:10px;}
    .fx-integrated-heading h2 {font-size:18px;line-height:1.25;margin:0;}
    .fx-integrated-eyebrow {display:none;}
    .fx-integrated-quote {flex-direction:column;align-items:flex-end;gap:4px;max-width:115px;}
    .fx-integrated-number {font-size:30px;}
    .fx-integrated-status {font-size:8px;padding:3px 6px;max-width:115px;line-height:1.3;}
    .fx-integrated-reading {margin:7px 0 8px;}
    .fx-integrated-reading-copy {font-size:10px;gap:3px 8px;overflow-wrap:anywhere;}
    .fx-integrated-frequency,.fx-integrated-target {font-size:9px;}
    .fx-integrated-legend {font-size:8px;gap:8px;}
    .fx-integrated-legend span {gap:4px;}
    .fx-integrated-toolbar {gap:7px;margin-bottom:8px;}
    .fx-integrated-plot {min-height:420px;border-radius:9px;}
    .fx-macro-chart__tooltip {font-size:10px;margin:9px 10px 0;padding:6px 8px;max-width:calc(100% - 20px);}
    .fx-macro-chart__caption {font-size:10px;padding:0 10px 10px;}
    .fx-integrated-source {font-size:9px;}
    .fx-integrated-notices {font-size:9px;}
    .fx-tool-data-note {font-size:9px;line-height:1.45;margin-bottom:8px;}
    .fx-integrated-history summary span {float:none;display:block;margin-top:3px;}
}
