.widget-item.widget-forex-news {
  --ink: #101613;
  --deep: #1d2c49;
  --line: rgba(255, 255, 255, 0.14);
  --line-soft: rgba(255, 255, 255, 0.08);
  --gold: #d7a13d;
  --blue-strip: #50689d;
  --blue-dark: #334971;
  --green-bar: #74b34d;
  --shadow: 0 22px 70px rgba(7, 18, 15, 0.16);
  --radius: 14px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.widget-item.widget-forex-news * {
  box-sizing: border-box;
}

.widget-item.widget-forex-news {
  min-height: 100%;
  background: #17263e;
  color: #ffffff;
  font-family: var(--font);
}

.widget-item.widget-forex-news {
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    radial-gradient(circle at 100% 0%, rgba(74, 131, 255, 0.12), transparent 32rem),
    var(--fvc-preview-background, #17263e);
  background-size: 42px 42px, 42px 42px, auto, auto;
}

.widget-item.widget-forex-news button, .widget-item.widget-forex-news input, .widget-item.widget-forex-news select {
  font: inherit;
}

.widget-item.widget-forex-news button {
  cursor: pointer;
}

.widget-item.widget-forex-news .fvc-page {
  width: 100%;
  min-height: 100vh;
  padding: clamp(18px, 3vw, 36px);
}

.widget-item.widget-forex-news .fvc-widget {
  --widget-panel: linear-gradient(180deg, rgba(61, 37, 98, 0.96) 0%, rgba(42, 25, 71, 0.98) 100%);
  --widget-panel-alt: linear-gradient(180deg, rgba(67, 40, 109, 0.98) 0%, rgba(38, 23, 65, 0.98) 100%);
  --widget-accent: #7a57ff;
  --widget-heading: #ffffff;
  --widget-answer: #7dff6b;
  --widget-danger: #ff7b7b;
  width: min(1360px, 100%);
  margin: 0 auto;
}

.widget-item.widget-forex-news .fvc-topbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  min-height: 118px;
  padding: 0 0 16px;
  color: var(--widget-heading);
}

.widget-item.widget-forex-news .fvc-kicker {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.widget-item.widget-forex-news h1, .widget-item.widget-forex-news h2, .widget-item.widget-forex-news h3, .widget-item.widget-forex-news p {
  margin-top: 0;
}

.widget-item.widget-forex-news h1 {
  margin-bottom: 0;
  font-size: clamp(2rem, 5vw, 4.6rem);
  line-height: 0.96;
}

.widget-item.widget-forex-news h2 {
  margin-bottom: 0;
  font-size: 1.28rem;
}

.widget-item.widget-forex-news .market-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  max-width: 420px;
}

.widget-item.widget-forex-news .market-strip span {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 7px 12px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.84rem;
  font-weight: 700;
}

.widget-item.widget-forex-news .toolbar-shell {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: visible;
  background: linear-gradient(180deg, rgba(97, 73, 151, 0.96) 0%, rgba(68, 49, 111, 0.98) 100%);
  box-shadow: var(--shadow);
}

.widget-item.widget-forex-news .toolbar-date-panel {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 46px;
  z-index: 45;
  width: 320px;
}

.widget-item.widget-forex-news .toolbar-date-panel.is-hidden {
  display: none !important;
}

.widget-item.widget-forex-news .mini-calendar-overlay {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(72, 52, 118, 0.98) 0%, rgba(48, 34, 86, 0.98) 100%);
  box-shadow: 0 18px 36px rgba(17, 9, 34, 0.42);
}

.widget-item.widget-forex-news .toolbar-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
}

.widget-item.widget-forex-news .toolbar-range {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 46px;
  align-items: stretch;
  min-height: 48px;
}

.widget-item.widget-forex-news .toolbar-icon-button, .widget-item.widget-forex-news .toolbar-range-display, .widget-item.widget-forex-news .toolbar-action-button, .widget-item.widget-forex-news .toolbar-mobile-pill, .widget-item.widget-forex-news .toolbar-mobile-icon, .widget-item.widget-forex-news .mini-nav, .widget-item.widget-forex-news .mini-calendar-title, .widget-item.widget-forex-news .sidebar-link, .widget-item.widget-forex-news .market-link, .widget-item.widget-forex-news .dialog-close, .widget-item.widget-forex-news .sheet-action, .widget-item.widget-forex-news .dialog-button {
  border: 0;
  color: #eef3ff;
  background: transparent;
}

.widget-item.widget-forex-news .toolbar-icon-button {
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 1.5rem;
  font-weight: 800;
}

.widget-item.widget-forex-news .toolbar-range-display {
  display: flex;
  align-items: center;
  padding: 0 18px;
  background: linear-gradient(180deg, rgba(116, 89, 177, 0.94) 0%, rgba(81, 60, 128, 0.98) 100%);
  text-align: left;
}

.widget-item.widget-forex-news .toolbar-range-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  width: 100%;
}

.widget-item.widget-forex-news .toolbar-range-label {
  font-size: 1.05rem;
  font-weight: 900;
  min-width: 0;
}

.widget-item.widget-forex-news .toolbar-range-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(236, 242, 255, 0.9);
  font-size: 0.78rem;
  font-weight: 700;
  justify-content: flex-end;
  white-space: nowrap;
}

.widget-item.widget-forex-news .next-event-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

.widget-item.widget-forex-news .next-event-indicator::before {
  content: "\25B6";
  color: #79e856;
  font-size: 0.72rem;
  text-shadow: 0 0 10px rgba(121, 232, 86, 0.28);
}

.widget-item.widget-forex-news .next-event-indicator:empty {
  display: none;
}

.widget-item.widget-forex-news .toolbar-range-time {
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 900;
}

.widget-item.widget-forex-news .toolbar-range-time::before, .widget-item.widget-forex-news .toolbar-range-timezone::before {
  content: "\2022";
  margin-right: 10px;
  color: rgba(255, 255, 255, 0.38);
}

.widget-item.widget-forex-news .toolbar-actions {
  display: flex;
  align-items: stretch;
}

.widget-item.widget-forex-news .toolbar-action-button, .widget-item.widget-forex-news .toolbar-mobile-pill, .widget-item.widget-forex-news .toolbar-mobile-icon {
  min-height: 48px;
  padding: 0 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.98rem;
  font-weight: 800;
}

.widget-item.widget-forex-news .filter-funnel-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
}

.widget-item.widget-forex-news .filter-funnel-icon svg {
  width: 100%;
  height: 100%;
}

.widget-item.widget-forex-news .toolbar-action-button.is-filter {
  justify-content: center;
}

.widget-item.widget-forex-news .toolbar-action-button.is-filter, .widget-item.widget-forex-news .toolbar-mobile-icon.is-filter {
  background: rgba(116, 179, 77, 0.36);
}

.widget-item.widget-forex-news .toolbar-actions-mobile {
  display: none;
}

.widget-item.widget-forex-news .fvc-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.widget-item.widget-forex-news .fvc-panel {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 0 0 var(--radius) var(--radius);
  background: linear-gradient(180deg, rgba(69, 45, 111, 0.98) 0%, rgba(49, 31, 86, 0.98) 100%);
  box-shadow: var(--shadow);
}

.widget-item.widget-forex-news .calendar-sidebar {
  padding: 0;
  overflow: hidden;
}

.widget-item.widget-forex-news .sidebar-head {
  padding: 9px 12px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.92rem;
}

.widget-item.widget-forex-news .mini-calendar {
  padding: 9px 10px 10px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.widget-item.widget-forex-news .mini-calendar-top {
  display: grid;
  grid-template-columns: 26px 26px minmax(0, 1fr) 26px 26px;
  gap: 5px;
  align-items: center;
}

.widget-item.widget-forex-news .mini-nav, .widget-item.widget-forex-news .mini-calendar-title {
  min-height: 26px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 800;
  font-size: 0.82rem;
}

.widget-item.widget-forex-news .mini-calendar-title {
  padding: 0 8px;
  text-align: center;
}

.widget-item.widget-forex-news .mini-weekdays, .widget-item.widget-forex-news .mini-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.widget-item.widget-forex-news .mini-weekdays {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.64rem;
  font-weight: 800;
  text-align: center;
}

.widget-item.widget-forex-news .mini-grid {
  margin-top: 5px;
}

.widget-item.widget-forex-news .mini-day {
  min-height: 29px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 7px;
  color: #edf3ff;
  background: rgba(255, 255, 255, 0.06);
  font-weight: 700;
  font-size: 0.8rem;
}

.widget-item.widget-forex-news .mini-day.is-outside {
  color: rgba(255, 255, 255, 0.35);
}

.widget-item.widget-forex-news .mini-day.has-events {
  border-color: rgba(116, 179, 77, 0.4);
}

.widget-item.widget-forex-news .mini-day.is-selected {
  color: #ffffff;
  background: rgba(116, 179, 77, 0.9);
}

.widget-item.widget-forex-news .sidebar-links, .widget-item.widget-forex-news .sidebar-market-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 7px;
  padding: 10px;
}

.widget-item.widget-forex-news .sidebar-market-links {
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
}

.widget-item.widget-forex-news .sidebar-source {
  padding: 1px 10px 10px;
  text-align: left;
}

.widget-item.widget-forex-news .sidebar-source-link {
  color: rgba(214, 227, 255, 0.58);
  font-size: 0.62rem;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(214, 227, 255, 0.28);
  text-underline-offset: 2px;
}

.widget-item.widget-forex-news .sidebar-link, .widget-item.widget-forex-news .market-link {
  min-height: 30px;
  border-radius: 7px;
  padding: 6px 8px;
  color: #d5e3ff;
  background: rgba(255, 255, 255, 0.06);
  text-align: left;
  font-size: 0.76rem;
  font-weight: 800;
}

.widget-item.widget-forex-news .sidebar-link.is-active, .widget-item.widget-forex-news .market-link.is-active {
  color: #ffffff;
  background: rgba(116, 179, 77, 0.24);
}

.widget-item.widget-forex-news .calendar-main {
  min-width: 0;
}

.widget-item.widget-forex-news .calendar-panel {
  border-radius: 0 0 var(--radius) var(--radius);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(76, 53, 122, 0.98) 0%, rgba(55, 38, 96, 0.99) 100%);
}

.widget-item.widget-forex-news .desktop-table {
  position: relative;
  display: flex;
  flex-direction: column;
  max-height: min(72vh, 980px);
  overflow: hidden;
  color: #f0ecff;
  font-size: 0.94rem;
}

.widget-item.widget-forex-news .calendar-table-head {
  position: sticky;
  top: 0;
  z-index: 30;
}

.widget-item.widget-forex-news .calendar-body {
  overflow-y: auto;
  overscroll-behavior: contain;
}

.widget-item.widget-forex-news .calendar-row {
  display: grid;
  grid-template-columns: 106px 82px 72px 56px minmax(190px, 1.35fr) 62px 88px 88px 88px;
  gap: 0;
  align-items: stretch;
}

.widget-item.widget-forex-news .calendar-row-head {
  min-height: 30px;
  color: #edf3ff;
  background: linear-gradient(180deg, rgba(126, 105, 181, 0.88) 0%, rgba(94, 74, 143, 0.9) 100%);
  font-size: 0.68rem;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(22, 11, 41, 0.22);
}

.widget-item.widget-forex-news .calendar-row-head > span {
  display: flex;
  align-items: center;
  padding: 0 8px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.widget-item.widget-forex-news .calendar-row-item {
  min-height: 34px;
  border-top: 1px solid rgba(29, 43, 72, 0.08);
}

.widget-item.widget-forex-news .calendar-row-item > div {
  display: flex;
  align-items: center;
  min-height: 34px;
  padding: 4px 8px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(99, 76, 148, 0.34);
}

.widget-item.widget-forex-news .calendar-row-item:nth-child(even) > div {
  background: rgba(85, 63, 133, 0.46);
}

.widget-item.widget-forex-news .calendar-row-empty > div {
  background: rgba(92, 71, 138, 0.22) !important;
}

.widget-item.widget-forex-news .cell-date {
  color: #ffffff;
  font-weight: 800;
  font-size: 0.74rem;
}

.widget-item.widget-forex-news .cell-time {
  color: #d4caef;
  font-weight: 800;
  font-size: 0.7rem;
}

.widget-item.widget-forex-news .cell-currency {
  color: #ffffff;
  font-weight: 900;
  font-size: 0.72rem;
}

.widget-item.widget-forex-news .cell-impact {
  justify-content: center;
}

.widget-item.widget-forex-news .cell-event {
  display: block !important;
}

.widget-item.widget-forex-news .event-title {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 400;
  line-height: 1.15;
}

.widget-item.widget-forex-news .event-speech-icon {
  display: inline-flex;
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  color: #c8b7ff;
  opacity: 0.95;
}

.widget-item.widget-forex-news .event-speech-icon svg {
  width: 100%;
  height: 100%;
}

.widget-item.widget-forex-news .event-speech-icon.is-emphasis {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  color: #d9c8ff;
}

.widget-item.widget-forex-news .event-meta {
  margin: 1px 0 0;
  color: #d0c4ee;
  font-size: 0.57rem;
  font-weight: 700;
  line-height: 1.15;
}

.widget-item.widget-forex-news .cell-event-empty {
  color: #d3c9ed;
  font-style: italic;
}

.widget-item.widget-forex-news .cell-actual, .widget-item.widget-forex-news .cell-forecast, .widget-item.widget-forex-news .cell-previous {
  justify-content: flex-end;
  color: #f4f1ff;
  font-weight: 800;
  font-size: 0.72rem;
}

.widget-item.widget-forex-news .cell-speech-merged {
  grid-column: 7 / 10;
  justify-content: center !important;
  gap: 8px;
  color: #dcd2f7;
  font-weight: 800;
}

.widget-item.widget-forex-news .speech-merged-label {
  color: #dcd2f7;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.widget-item.widget-forex-news .value-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  padding: 1px 6px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: #d7ceef;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.06);
}

.widget-item.widget-forex-news .cell-detail {
  justify-content: center;
}

.widget-item.widget-forex-news .detail-toggle {
  width: 24px;
  height: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  color: #f0ecff;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.76rem;
  font-weight: 900;
}

.widget-item.widget-forex-news .detail-toggle.is-open {
  color: #ffffff;
  background: rgba(122, 87, 255, 0.72);
}

.widget-item.widget-forex-news .detail-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
}

.widget-item.widget-forex-news .cell-actual.is-positive, .widget-item.widget-forex-news .mobile-actual.is-positive {
  color: #2e9f39;
}

.widget-item.widget-forex-news .cell-actual.is-negative, .widget-item.widget-forex-news .mobile-actual.is-negative {
  color: #ff4d3d;
}

.widget-item.widget-forex-news .impact-flag {
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  gap: 1px;
  width: 13px;
  height: 10px;
}

.widget-item.widget-forex-news .impact-flag i {
  display: block;
  width: 2px;
  border-radius: 1px 1px 0 0;
  background: currentColor;
}

.widget-item.widget-forex-news .impact-flag i:nth-child(1) {
  height: 7px;
}

.widget-item.widget-forex-news .impact-flag i:nth-child(2) {
  height: 9px;
}

.widget-item.widget-forex-news .impact-flag i:nth-child(3) {
  height: 6px;
}

.widget-item.widget-forex-news .impact-flag-high {
  color: #ff4d3d;
}

.widget-item.widget-forex-news .impact-flag-medium {
  color: #ec8e2e;
}

.widget-item.widget-forex-news .impact-flag-low {
  color: #ead331;
}

.widget-item.widget-forex-news .impact-flag-holiday {
  color: #b7bcc8;
}

.widget-item.widget-forex-news .calendar-empty {
  padding: 24px 16px;
  color: #d9d1f0;
}

.widget-item.widget-forex-news .desktop-detail-row {
  padding: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(53, 38, 91, 0.9);
}

.widget-item.widget-forex-news .event-detail-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 14px;
}

.widget-item.widget-forex-news .detail-card {
  margin-bottom: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.07);
}

.widget-item.widget-forex-news .detail-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 34px;
  padding: 0 12px;
  color: #e9efff;
  background: linear-gradient(180deg, rgba(118, 96, 174, 0.92) 0%, rgba(87, 67, 136, 0.96) 100%);
  font-size: 0.84rem;
  font-weight: 800;
}

.widget-item.widget-forex-news .detail-card-body {
  padding: 8px 10px;
  color: #efeaff;
}

.widget-item.widget-forex-news .spec-grid {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.widget-item.widget-forex-news .spec-grid dt, .widget-item.widget-forex-news .spec-grid dd {
  margin: 0;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.06);
}

.widget-item.widget-forex-news .spec-grid dt {
  color: #d1c4ee;
  font-weight: 800;
}

.widget-item.widget-forex-news .spec-grid dd {
  color: #ffffff;
}

.widget-item.widget-forex-news .history-table {
  width: 100%;
  border-collapse: collapse;
}

.widget-item.widget-forex-news .history-table th, .widget-item.widget-forex-news .history-table td {
  padding: 8px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
  font-size: 0.88rem;
}

.widget-item.widget-forex-news .history-table th {
  color: #d1c4ee;
}

.widget-item.widget-forex-news .history-table td {
  color: #ffffff;
}

.widget-item.widget-forex-news .history-value.is-positive {
  color: #63c05d;
}

.widget-item.widget-forex-news .history-value.is-negative {
  color: #ff6d5f;
}

.widget-item.widget-forex-news .history-previous-arrow {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 6px;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-right: 6px solid #f0a532;
  vertical-align: middle;
}

.widget-item.widget-forex-news .history-table th:last-child, .widget-item.widget-forex-news .history-table td:last-child, .widget-item.widget-forex-news .history-table th:nth-child(3), .widget-item.widget-forex-news .history-table td:nth-child(3), .widget-item.widget-forex-news .history-table th:nth-child(4), .widget-item.widget-forex-news .history-table td:nth-child(4) {
  text-align: right;
}

.widget-item.widget-forex-news .history-more, .widget-item.widget-forex-news .detail-link, .widget-item.widget-forex-news .story-card a, .widget-item.widget-forex-news .detail-footer-link {
  color: #9ec4ff;
  font-weight: 800;
}

.widget-item.widget-forex-news .history-more {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.widget-item.widget-forex-news .history-empty {
  margin: 0 0 12px;
  color: #d6cfee;
  font-size: 0.9rem;
}

.widget-item.widget-forex-news .story-card {
  display: block;
}

.widget-item.widget-forex-news .mobile-table {
  display: none;
}

.widget-item.widget-forex-news .modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow: hidden;
  background: rgba(15, 23, 40, 0.62);
  backdrop-filter: blur(5px);
}

.widget-item.widget-forex-news .modal-backdrop.is-hidden {
  display: none;
}

.widget-item.widget-forex-news .filter-dialog, .widget-item.widget-forex-news .mobile-sheet {
  width: min(1040px, 100%);
  max-height: calc(100vh - 48px);
  border-radius: 16px;
  padding: 20px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  background: linear-gradient(180deg, rgba(72, 52, 118, 0.98) 0%, rgba(48, 34, 86, 0.98) 100%);
  color: #f2efff;
}

body.modal-scroll-locked {
  overflow: hidden;
  touch-action: none;
}

.widget-item.widget-forex-news .filter-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.widget-item.widget-forex-news .filter-dialog-head h2, .widget-item.widget-forex-news .filter-dialog-head h3 {
  color: #ffffff;
}

.widget-item.widget-forex-news .dialog-close {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  font-size: 1rem;
  font-weight: 900;
}

.widget-item.widget-forex-news .filter-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 14px;
}

.widget-item.widget-forex-news .filter-card {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
}

.widget-item.widget-forex-news .filter-card-wide {
  grid-column: 1 / 2;
}

.widget-item.widget-forex-news .filter-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.widget-item.widget-forex-news .filter-card-head h3 {
  margin: 0;
  font-size: 1rem;
}

.widget-item.widget-forex-news .filter-actions-inline {
  display: flex;
  gap: 10px;
}

.widget-item.widget-forex-news .inline-link {
  padding: 0;
  color: #9ec4ff;
  text-decoration: underline dotted;
  background: transparent !important;
  border: 0;
  box-shadow: none;
  outline: none;
}

.widget-item.widget-forex-news .impact-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.widget-item.widget-forex-news .impact-choice {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.widget-item.widget-forex-news .impact-choice input {
  width: 18px;
  height: 18px;
}

.widget-item.widget-forex-news .impact-choice-box {
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  gap: 1px;
  width: 18px;
  height: 16px;
}

.widget-item.widget-forex-news .impact-choice-box i {
  display: block;
  width: 4px;
  border-radius: 1px 1px 0 0;
  background: currentColor;
}

.widget-item.widget-forex-news .impact-choice-box i:nth-child(1) {
  height: 10px;
}

.widget-item.widget-forex-news .impact-choice-box i:nth-child(2) {
  height: 13px;
}

.widget-item.widget-forex-news .impact-choice-box i:nth-child(3) {
  height: 9px;
}

.widget-item.widget-forex-news .impact-choice-high {
  color: #ff4d3d;
}

.widget-item.widget-forex-news .impact-choice-medium {
  color: #ec8e2e;
}

.widget-item.widget-forex-news .impact-choice-low {
  color: #ead331;
}

.widget-item.widget-forex-news .impact-choice-holiday {
  color: #bcc2cc;
}

.widget-item.widget-forex-news .checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 14px;
}

.widget-item.widget-forex-news .check-option {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #f3efff;
  font-size: 0.98rem;
  font-weight: 600;
}

.widget-item.widget-forex-news .check-option input {
  width: 18px;
  height: 18px;
}

.widget-item.widget-forex-news .filter-default-view {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
}

.widget-item.widget-forex-news .default-view-field {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #f3efff;
  font-weight: 700;
}

.widget-item.widget-forex-news .default-view-field span {
  min-width: 102px;
}

.widget-item.widget-forex-news .default-view-field select {
  min-width: 230px;
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 8px 12px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.widget-item.widget-forex-news .filter-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 18px;
}

.widget-item.widget-forex-news .dialog-button, .widget-item.widget-forex-news .sheet-action {
  min-height: 48px;
  border-radius: 10px;
  padding: 0 18px;
  color: #f4f1ff;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 800;
}

.widget-item.widget-forex-news .dialog-button-primary {
  color: #ffffff;
  background: linear-gradient(180deg, #7a57ff 0%, #5b40c6 100%);
}

.widget-item.widget-forex-news .mobile-sheet {
  width: min(420px, 100%);
}

.widget-item.widget-forex-news .mobile-sheet-actions {
  display: grid;
  gap: 10px;
}

@media (max-width: 1100px) {
  .widget-item.widget-forex-news .fvc-shell {
    grid-template-columns: 240px minmax(0, 1fr);
  }

  .widget-item.widget-forex-news .calendar-row {
    grid-template-columns: 110px 98px 82px 66px minmax(200px, 1.35fr) 70px 98px 98px 98px;
  }
}

@media (max-width: 920px) {
  .widget-item.widget-forex-news .fvc-topbar {
    display: grid;
    justify-items: center;
    min-height: auto;
    text-align: center;
  }

  .widget-item.widget-forex-news .market-strip {
    justify-content: center;
  }

  .widget-item.widget-forex-news .fvc-shell {
    grid-template-columns: 1fr;
  }

  .widget-item.widget-forex-news .calendar-sidebar {
    display: none;
  }

}

@media (max-width: 760px) {
  .widget-item.widget-forex-news .fvc-page {
    padding: 8px 0 0;
  }

  .widget-item.widget-forex-news .fvc-widget {
    width: 100%;
  }

  .widget-item.widget-forex-news .fvc-topbar {
    display: none;
  }

  .widget-item.widget-forex-news .toolbar-shell, .widget-item.widget-forex-news .calendar-panel {
    border-left: 0;
    border-right: 0;
    border-radius: 0;
  }

  .widget-item.widget-forex-news .toolbar-main {
    grid-template-columns: 1fr;
  }

  .widget-item.widget-forex-news .toolbar-date-panel {
    display: block;
    top: calc(100% + 2px);
    left: 0;
    right: 0;
    width: auto;
    padding: 0 8px;
  }

  .widget-item.widget-forex-news .toolbar-actions-desktop {
    display: none;
  }

  .widget-item.widget-forex-news .toolbar-actions-mobile {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 50px 42px;
  }

  .widget-item.widget-forex-news .modal-backdrop {
    align-items: flex-start;
    padding: 12px 10px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .widget-item.widget-forex-news .filter-dialog, .widget-item.widget-forex-news .mobile-sheet {
    max-height: calc(100vh - 24px);
    padding: 14px;
  }

  .widget-item.widget-forex-news .toolbar-mobile-icon {
    font-size: 0.98rem;
    font-weight: 900;
  }

  .widget-item.widget-forex-news .filter-funnel-icon {
    width: 15px;
    height: 15px;
  }

  .widget-item.widget-forex-news .toolbar-range {
    grid-template-columns: 34px minmax(0, 1fr) 34px;
    min-height: 36px;
  }

  .widget-item.widget-forex-news .toolbar-range-display {
    justify-content: center;
    text-align: center;
    padding: 0 10px;
  }

  .widget-item.widget-forex-news .toolbar-range-copy {
    grid-template-columns: 1fr;
    align-items: center;
    gap: 1px;
  }

  .widget-item.widget-forex-news .toolbar-range-label {
    font-size: 0.72rem;
  }

  .widget-item.widget-forex-news .toolbar-range-meta {
    justify-content: center;
    gap: 6px;
    font-size: 0.58rem;
    white-space: normal;
    flex-wrap: wrap;
  }

  .widget-item.widget-forex-news .toolbar-range-time {
    font-size: 0.64rem;
  }

  .widget-item.widget-forex-news .toolbar-range-timezone::before {
    margin-right: 5px;
  }

  .widget-item.widget-forex-news .toolbar-icon-button, .widget-item.widget-forex-news .toolbar-mobile-pill, .widget-item.widget-forex-news .toolbar-mobile-icon {
    min-height: 36px;
    padding: 0 10px;
    font-size: 0.74rem;
  }

  .widget-item.widget-forex-news .toolbar-icon-button {
    font-size: 1rem;
  }

  .widget-item.widget-forex-news .desktop-table {
    display: none;
  }

  .widget-item.widget-forex-news .mobile-table {
    display: block;
    padding-bottom: 10px;
    color: #f0ecff;
  }

  .widget-item.widget-forex-news .mobile-column-head {
    display: grid;
    grid-template-columns: 62px 46px 20px minmax(0, 1fr) 58px;
    align-items: center;
    min-height: 26px;
    color: #eef3ff;
    background: linear-gradient(180deg, rgba(126, 105, 181, 0.88) 0%, rgba(94, 74, 143, 0.9) 100%);
    font-size: 0.63rem;
    font-weight: 800;
  }

  .widget-item.widget-forex-news .mobile-column-head span {
    padding: 0 8px;
  }

  .widget-item.widget-forex-news .mobile-column-time {
    grid-column: 1 / span 4;
  }

  .widget-item.widget-forex-news .mobile-column-actual {
    text-align: right;
  }

  .widget-item.widget-forex-news .mobile-day-heading {
    margin: 0;
    padding: 7px 8px;
    color: #ffffff;
    font-size: 0.74rem;
    font-weight: 900;
    background: rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .widget-item.widget-forex-news .mobile-event {
    display: grid;
    grid-template-columns: 62px 46px 20px minmax(0, 1fr) 58px;
    align-items: center;
    gap: 0;
    min-height: 31px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(96, 73, 145, 0.38);
  }

  .widget-item.widget-forex-news .mobile-event > div {
    padding: 5px 8px;
  }

  .widget-item.widget-forex-news .mobile-time {
    color: #d4caef;
    font-weight: 700;
    font-size: 0.64rem;
  }

  .widget-item.widget-forex-news .mobile-currency {
    color: #ffffff;
    font-weight: 900;
    font-size: 0.68rem;
  }

  .widget-item.widget-forex-news .mobile-impact {
    display: flex;
    justify-content: center;
  }

  .widget-item.widget-forex-news .mobile-title {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #ffffff;
    font-weight: 500;
    font-size: 0.66rem;
    line-height: 1.12;
  }

  .widget-item.widget-forex-news .mobile-actual {
    text-align: right;
    font-weight: 800;
    font-size: 0.66rem;
  }

  .widget-item.widget-forex-news .mobile-event.is-open {
    background: rgba(92, 70, 142, 0.65);
  }

  .widget-item.widget-forex-news .mobile-detail {
    padding: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(54, 38, 93, 0.95);
  }

  .widget-item.widget-forex-news .mobile-detail-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 10px;
  }

  .widget-item.widget-forex-news .mobile-detail-stat {
    border-radius: 10px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.08);
  }

  .widget-item.widget-forex-news .mobile-detail-stat span {
    display: block;
    color: #d1c4ee;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
  }

  .widget-item.widget-forex-news .mobile-detail-stat strong {
    display: block;
    margin-top: 4px;
    color: #ffffff;
    font-size: 0.92rem;
  }

.widget-item.widget-forex-news .mobile-detail-actions {
  display: grid;
  gap: 10px;
}

.widget-item.widget-forex-news .mobile-empty-day {
  margin: 0;
  padding: 8px 8px;
  color: #d3c9ed;
  font-size: 0.68rem;
  font-style: italic;
  background: rgba(92, 71, 138, 0.22);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

  .widget-item.widget-forex-news .filter-dialog, .widget-item.widget-forex-news .mobile-sheet {
    width: 100%;
    height: 100%;
    max-height: none;
    border-radius: 0;
    padding: 18px 16px 22px;
  }

  .widget-item.widget-forex-news .filter-grid {
    grid-template-columns: 1fr;
  }

  .widget-item.widget-forex-news .filter-card-wide {
    grid-column: auto;
  }

  .widget-item.widget-forex-news .checkbox-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .widget-item.widget-forex-news .default-view-field {
    flex-direction: column;
    align-items: stretch;
  }

  .widget-item.widget-forex-news .default-view-field span {
    min-width: 0;
  }

  .widget-item.widget-forex-news .default-view-field select {
    min-width: 0;
  }

  .widget-item.widget-forex-news .filter-footer {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .widget-item.widget-forex-news .toolbar-action-button, .widget-item.widget-forex-news .toolbar-mobile-pill, .widget-item.widget-forex-news .toolbar-mobile-icon {
    padding: 0 12px;
  }

  .widget-item.widget-forex-news .mobile-event {
    grid-template-columns: 74px 54px 28px minmax(0, 1fr) 68px;
  }

  .widget-item.widget-forex-news .mobile-column-head {
    grid-template-columns: 74px 54px 28px minmax(0, 1fr) 68px;
  }

  .widget-item.widget-forex-news .checkbox-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .widget-item.widget-forex-news .check-option {
    font-size: 0.9rem;
  }
}
