/* Economic Calendar embedded in Trading Community. */
.community-economic-calendar{margin-top:20px;margin-bottom:70px;--cal-gold:#f5c45b;--cal-gold2:#d99b28;--cal-line:rgba(255,255,255,.11);--cal-muted:#9caec3;--cal-green:#38d98a;--cal-red:#ff6b6b;--cal-orange:#ffb14a}
.community-economic-calendar[hidden]{display:none!important}
.community-economic-calendar *{box-sizing:border-box}
.community-economic-calendar .calendar-content{display:grid;gap:18px;padding:0}
.community-economic-calendar .calendar-hero{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr);gap:18px;align-items:stretch}
.community-economic-calendar .calendar-hero-main,.community-economic-calendar .calendar-panel,.community-economic-calendar .calendar-source-card{border:1px solid var(--cal-line);background:linear-gradient(145deg,rgba(9,24,43,.94),rgba(3,10,22,.98));box-shadow:0 24px 70px rgba(0,0,0,.24);border-radius:22px}
.community-economic-calendar .calendar-hero-main{padding:26px;position:relative;overflow:hidden;display:flex;flex-direction:column}
.community-economic-calendar .calendar-hero-main:before{content:"";position:absolute;inset:auto -12% -45% 45%;height:260px;background:radial-gradient(circle,rgba(245,196,91,.2),transparent 64%);pointer-events:none}
.community-economic-calendar .calendar-kicker{position:relative;margin:0 0 10px;color:var(--cal-gold);font-size:11px;font-weight:900;letter-spacing:.14em;text-transform:uppercase}
.community-economic-calendar .calendar-hero h2{position:relative;margin:0;color:#fff;font-size:clamp(28px,3.4vw,46px);line-height:1.08;letter-spacing:-.035em}
.community-economic-calendar .calendar-lead{position:relative;max-width:850px;color:#b8c7d8;font-size:15px;line-height:1.72;margin:12px 0}
.community-economic-calendar .calendar-timezone-card{position:relative;margin-top:12px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px;border:1px solid rgba(245,196,91,.24);border-radius:18px;background:linear-gradient(135deg,rgba(245,196,91,.12),rgba(42,76,118,.18))}
.community-economic-calendar .calendar-clock-main,.community-economic-calendar .calendar-clock-row{display:flex;align-items:center;gap:14px;min-width:0}
.community-economic-calendar .calendar-clock-row{align-items:flex-end;gap:10px}
.community-economic-calendar .calendar-clock-stack{min-width:0}
.community-economic-calendar .calendar-clock-kicker{margin:0 0 3px;color:var(--cal-gold);font-size:10px;font-weight:900;letter-spacing:1.8px}
.community-economic-calendar .calendar-clock-main strong{display:block;color:#fff;font-size:30px;line-height:1;font-weight:950;font-variant-numeric:tabular-nums}
.community-economic-calendar .calendar-clock-main span:last-child{display:block;margin-top:5px;color:#aebed1;font-size:12px;font-weight:800}
.community-economic-calendar .calendar-clock-flag{width:42px;height:28px;flex:0 0 42px;display:inline-grid;place-items:center;font-size:11px;font-weight:950;color:var(--cal-gold);transform:translateY(-3px)}
.community-economic-calendar .calendar-clock-flag.is-utc-label{width:auto;height:auto;flex:0 0 auto;font-size:14px;color:#b8c7d8;transform:translateY(-6px)}
.community-economic-calendar .calendar-clock-flag img{width:42px;height:28px;object-fit:contain;border-radius:3px}
.community-economic-calendar .calendar-timezone-select-wrap{display:grid;gap:7px;min-width:250px;color:#8fa4bc;font-size:10px;font-weight:900;letter-spacing:1.1px;text-transform:uppercase}
.community-economic-calendar .calendar-timezone-select-wrap select{width:100%;height:44px;border:1px solid rgba(245,196,91,.28);border-radius:12px;background:#08162a;color:#fff;padding:0 12px;font:inherit;font-weight:850;outline:none}
.community-economic-calendar .market-watch-card{position:relative;overflow:hidden;padding:20px;display:grid;grid-template-rows:auto auto 1fr;gap:12px;background:radial-gradient(circle at 18% 0%,rgba(245,196,91,.16),transparent 34%),linear-gradient(145deg,rgba(7,18,34,.98),rgba(8,21,39,.92))}
.community-economic-calendar .watch-range-indicator{display:grid;gap:5px;padding:11px 13px;border:1px solid rgba(245,196,91,.2);border-radius:16px;background:rgba(245,196,91,.08)}
.community-economic-calendar .watch-range-indicator span{color:var(--cal-gold);font-size:10px;font-weight:950;letter-spacing:.16em}
.community-economic-calendar .watch-range-indicator strong{color:#fff;font-size:22px;line-height:1;font-weight:950}
.community-economic-calendar .watch-range-indicator small,.community-economic-calendar .calendar-mini-stat small{color:#8fa0b5;font-size:10px;font-weight:800}
.community-economic-calendar .calendar-mini-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.community-economic-calendar .calendar-mini-stat{min-height:92px;padding:14px;border:1px solid rgba(255,255,255,.1);border-radius:16px;background:rgba(255,255,255,.045)}
.community-economic-calendar .calendar-mini-stat span{display:block;color:var(--cal-muted);font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}
.community-economic-calendar .calendar-mini-stat strong{display:block;margin:7px 0 5px;font-size:26px;line-height:1;color:#fff;font-weight:950}
.community-economic-calendar .calendar-mini-stat.accent-high{border-color:rgba(255,107,107,.22);background:rgba(255,107,107,.08)}
.community-economic-calendar .next-event-card{border:1px solid rgba(245,196,91,.22);border-radius:18px;background:rgba(245,196,91,.07);padding:14px;display:grid;gap:8px;align-content:center}
.community-economic-calendar .next-event-top,.community-economic-calendar .next-event-meta{display:flex;align-items:center;justify-content:space-between;gap:10px}
.community-economic-calendar .next-event-meta{justify-content:flex-start;flex-wrap:wrap}
.community-economic-calendar .next-event-time{font-size:20px;color:#fff;font-weight:950;font-variant-numeric:tabular-nums}
.community-economic-calendar .next-event-title{color:#fff;font-size:13px;line-height:1.4;font-weight:950}
.community-economic-calendar .next-pill{display:inline-flex;border-radius:999px;padding:6px 9px;background:rgba(255,255,255,.07);color:#b8c7d8;font-size:10px;font-weight:900}
.community-economic-calendar .next-pill.high{background:rgba(255,107,107,.16);color:#ffc6c6}.community-economic-calendar .next-pill.medium{background:rgba(255,177,74,.16);color:#ffd8a6}.community-economic-calendar .next-pill.low{background:rgba(56,217,138,.14);color:#aaf0cb}
.community-economic-calendar .calendar-toolbar{display:grid;grid-template-columns:1.4fr repeat(3,minmax(150px,.55fr));gap:10px;padding:16px;border:1px solid var(--cal-line);border-radius:18px;background:rgba(255,255,255,.045)}
.community-economic-calendar .calendar-field{display:grid;gap:6px}.community-economic-calendar .calendar-field label{font-size:10px;color:var(--cal-muted);font-weight:900;text-transform:uppercase;letter-spacing:.08em}
.community-economic-calendar .calendar-field input,.community-economic-calendar .calendar-field select{height:44px;border:1px solid rgba(255,255,255,.13);background:#061224;color:#f7fbff;border-radius:12px;padding:0 12px;font:inherit;font-size:13px;font-weight:800;min-width:0}
.community-economic-calendar .calendar-table-wrap{overflow:auto;border:1px solid var(--cal-line);border-radius:18px;background:rgba(255,255,255,.035)}
.community-economic-calendar .calendar-table{width:100%;border-collapse:collapse;min-width:980px}
.community-economic-calendar .calendar-table th{position:sticky;top:0;background:#102338;color:var(--cal-gold);text-align:left;font-size:10px;letter-spacing:.06em;text-transform:uppercase;padding:14px;border-bottom:1px solid var(--cal-line);z-index:1}
.community-economic-calendar .calendar-table td{padding:14px;border-bottom:1px solid rgba(255,255,255,.08);vertical-align:middle;color:#c6d0dc;font-size:13px}
.community-economic-calendar .calendar-time{font-weight:900;color:#fff}.community-economic-calendar .calendar-currency{display:inline-flex;min-width:48px;justify-content:center;border-radius:999px;padding:6px 10px;background:rgba(255,255,255,.08);font-weight:900}
.community-economic-calendar .impact{display:inline-flex;align-items:center;gap:7px;border-radius:999px;padding:7px 10px;font-size:11px;font-weight:900}.community-economic-calendar .impact:before{content:"";width:8px;height:8px;border-radius:50%}
.community-economic-calendar .impact.high{background:rgba(255,107,107,.16);color:#ffc6c6}.community-economic-calendar .impact.high:before{background:var(--cal-red)}
.community-economic-calendar .impact.medium{background:rgba(255,177,74,.16);color:#ffd8a6}.community-economic-calendar .impact.medium:before{background:var(--cal-orange)}
.community-economic-calendar .impact.low{background:rgba(56,217,138,.14);color:#aaf0cb}.community-economic-calendar .impact.low:before{background:var(--cal-green)}
.community-economic-calendar .impact.holiday{background:rgba(143,160,181,.14);color:#d8e1ec}.community-economic-calendar .impact.holiday:before{background:#8fa0b5}
.community-economic-calendar .calendar-event-title{font-weight:900;color:#fff}.community-economic-calendar .calendar-event-note{display:block;margin-top:4px;color:var(--cal-muted);font-size:11px;line-height:1.5}
.community-economic-calendar .calendar-event-status,.community-economic-calendar .calendar-event-toggle{display:inline-flex;margin-top:7px;color:var(--cal-gold);font-size:10px;font-weight:900}
.community-economic-calendar .calendar-data-status{display:inline-flex;align-items:center;gap:7px;border-radius:999px;padding:7px 10px;border:1px solid transparent;font-size:10px;font-weight:900;white-space:nowrap}.community-economic-calendar .calendar-data-status:before{content:"";width:7px;height:7px;border-radius:50%}.community-economic-calendar .calendar-data-status.is-updated{background:rgba(56,217,138,.13);border-color:rgba(56,217,138,.18);color:#aaf0cb}.community-economic-calendar .calendar-data-status.is-updated:before{background:var(--cal-green)}.community-economic-calendar .calendar-data-status.is-awaitingActual{background:rgba(255,177,74,.14);border-color:rgba(255,177,74,.2);color:#ffd8a6}.community-economic-calendar .calendar-data-status.is-awaitingActual:before{background:var(--cal-orange)}.community-economic-calendar .calendar-data-status.is-scheduled{background:rgba(143,160,181,.14);border-color:rgba(143,160,181,.18);color:#d8e1ec}.community-economic-calendar .calendar-data-status.is-scheduled:before{background:#8fa0b5}
.community-economic-calendar .calendar-data-status.is-above{background:rgba(56,217,138,.13);border-color:rgba(56,217,138,.18);color:#aaf0cb}.community-economic-calendar .calendar-data-status.is-above:before{background:var(--cal-green)}.community-economic-calendar .calendar-data-status.is-below{background:rgba(255,107,107,.14);border-color:rgba(255,107,107,.2);color:#ffc6c6}.community-economic-calendar .calendar-data-status.is-below:before{background:var(--cal-red)}.community-economic-calendar .calendar-data-status.is-inline{background:rgba(76,154,255,.14);border-color:rgba(76,154,255,.2);color:#b8d7ff}.community-economic-calendar .calendar-data-status.is-inline:before{background:#4c9aff}.community-economic-calendar .calendar-data-status.is-awaiting{background:rgba(143,160,181,.14);border-color:rgba(143,160,181,.18);color:#d8e1ec}.community-economic-calendar .calendar-data-status.is-awaiting:before{background:#8fa0b5}
html[data-theme="light"] .community-economic-calendar .calendar-data-status.is-above{background:#e9f8f1;color:#187a52;border-color:#c8eadb}html[data-theme="light"] .community-economic-calendar .calendar-data-status.is-below{background:#fff0f0;color:#a33b3b;border-color:#efcccc}html[data-theme="light"] .community-economic-calendar .calendar-data-status.is-inline{background:#edf5ff;color:#2869a8;border-color:#cddff3}html[data-theme="light"] .community-economic-calendar .calendar-data-status.is-awaiting{background:#eef3f8;color:#566b82;border-color:#d8e1eb}
.community-economic-calendar .forecast-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.community-economic-calendar .forecast-cell{font-size:10px;color:var(--cal-muted)}.community-economic-calendar .forecast-cell strong{display:block;color:#fff;font-size:12px;margin-top:2px}
.community-economic-calendar .calendar-event-row{cursor:pointer;transition:background .18s ease}.community-economic-calendar .calendar-event-row:hover,.community-economic-calendar .calendar-event-row.is-open{background:rgba(245,196,91,.06)}
.community-economic-calendar .calendar-detail-row td{padding:0!important;background:rgba(3,10,22,.78)}.community-economic-calendar .calendar-detail-panel{padding:18px 20px;display:grid;gap:14px;background:rgba(245,196,91,.05)}
.community-economic-calendar .calendar-detail-head{display:flex;justify-content:space-between;gap:14px}.community-economic-calendar .calendar-detail-head h3{margin:0;color:#fff;font-size:16px}.community-economic-calendar .calendar-detail-time{color:var(--cal-gold);font-size:11px;font-weight:950}
.community-economic-calendar .calendar-detail-copy{margin:0;color:#b8c7d8;font-size:12px;line-height:1.7}.community-economic-calendar .calendar-detail-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.community-economic-calendar .calendar-detail-metric{border:1px solid rgba(255,255,255,.1);border-radius:14px;background:rgba(255,255,255,.045);padding:12px}.community-economic-calendar .calendar-detail-metric span{display:block;color:var(--cal-muted);font-size:9px;font-weight:950}.community-economic-calendar .calendar-detail-metric strong{display:block;margin-top:5px;color:#fff;font-size:13px}
.community-economic-calendar .calendar-detail-guidance{border:1px solid rgba(245,196,91,.18);border-radius:14px;padding:13px;background:rgba(245,196,91,.065);color:#dbe7f5;font-size:12px;line-height:1.65}.community-economic-calendar .calendar-detail-guidance b{color:var(--cal-gold)}
.community-economic-calendar .calendar-panels{display:grid;grid-template-columns:1fr 1fr;gap:18px}.community-economic-calendar .calendar-panel{padding:22px}.community-economic-calendar .calendar-panel h2{margin:0;color:#fff;font-size:20px}
.community-economic-calendar .watch-list{display:grid;gap:10px;margin-top:14px}.community-economic-calendar .watch-item{padding:13px;border-radius:14px;border:1px solid rgba(255,255,255,.09);background:rgba(255,255,255,.04)}.community-economic-calendar .watch-item b{display:block;color:#fff;font-size:12px}.community-economic-calendar .watch-item span,.community-economic-calendar .provider-note,.community-economic-calendar .calendar-status{display:block;margin-top:5px;color:var(--cal-muted);font-size:12px;line-height:1.65}
html[data-theme="light"] .community-economic-calendar .calendar-hero-main,html[data-theme="light"] .community-economic-calendar .calendar-panel,html[data-theme="light"] .community-economic-calendar .calendar-source-card,html[data-theme="light"] .community-economic-calendar .calendar-toolbar,html[data-theme="light"] .community-economic-calendar .calendar-table-wrap{background:#fff;border-color:rgba(7,26,47,.11);box-shadow:0 18px 50px rgba(20,48,80,.08)}
html[data-theme="light"] .community-economic-calendar .calendar-hero h2,html[data-theme="light"] .community-economic-calendar .calendar-clock-main strong,html[data-theme="light"] .community-economic-calendar .calendar-panel h2,html[data-theme="light"] .community-economic-calendar .calendar-event-title,html[data-theme="light"] .community-economic-calendar .calendar-mini-stat strong,html[data-theme="light"] .community-economic-calendar .calendar-time,html[data-theme="light"] .community-economic-calendar .forecast-cell strong,html[data-theme="light"] .community-economic-calendar .next-event-title,html[data-theme="light"] .community-economic-calendar .next-event-time{color:#071a2f}
html[data-theme="light"] .community-economic-calendar .calendar-lead,html[data-theme="light"] .community-economic-calendar .calendar-event-note,html[data-theme="light"] .community-economic-calendar .provider-note,html[data-theme="light"] .community-economic-calendar .calendar-status{color:#66758a}
html[data-theme="light"] .community-economic-calendar .calendar-field input,html[data-theme="light"] .community-economic-calendar .calendar-field select,html[data-theme="light"] .community-economic-calendar .calendar-timezone-select-wrap select{background:#f8fbff;color:#071a2f;border-color:rgba(7,26,47,.14)}
html[data-theme="light"] .community-economic-calendar .calendar-table th{background:#f3ead8;color:#423419}html[data-theme="light"] .community-economic-calendar .calendar-table td{color:#4f5c6c;border-color:rgba(7,26,47,.08)}
@media(max-width:980px){.community-economic-calendar .calendar-hero,.community-economic-calendar .calendar-panels{grid-template-columns:1fr}.community-economic-calendar .calendar-toolbar{grid-template-columns:1fr 1fr}.community-economic-calendar .calendar-timezone-card{align-items:stretch;flex-direction:column}.community-economic-calendar .calendar-timezone-select-wrap{min-width:0}.community-economic-calendar .calendar-table{min-width:860px}}
@media(max-width:640px){.community-economic-calendar{margin-top:14px}.community-economic-calendar .calendar-toolbar{grid-template-columns:1fr}.community-economic-calendar .calendar-mini-grid{grid-template-columns:1fr 1fr}.community-economic-calendar .calendar-hero-main,.community-economic-calendar .market-watch-card,.community-economic-calendar .calendar-panel{padding:17px;border-radius:16px}.community-economic-calendar .calendar-hero h2{font-size:29px}.community-economic-calendar .calendar-clock-main strong{font-size:26px}.community-economic-calendar .next-event-top{align-items:flex-start;flex-direction:column}.community-economic-calendar .calendar-detail-grid{grid-template-columns:1fr 1fr}.community-economic-calendar .calendar-detail-head{display:grid}}
