.news-page { max-width: 1180px; margin: auto; }
.news-page section, .news-home-extra { padding-block: 22px; border-block-start: 1px solid var(--line, #23434c); }
.news-page .legal-heading { padding-block: 28px; }
.news-page h1 { font-size: 32px; }
.news-page h2, .news-home-extra h2 { font-size: 23px; }
.news-feed { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.news-feed .news-story { min-width: 0; padding: 14px 0; border: 0; border-block-end: 1px solid var(--line, #23434c); border-radius: 0; box-shadow: none; background: transparent; }
.news-story h3 { font-size: 17px; line-height: 1.4; margin: 6px 0 4px; overflow-wrap: anywhere; }
.news-story .news-source { display: block; font-size: 12px; line-height: 1.6; margin: 0; }
.news-story .news-category { display: inline; margin-inline-start: 6px; }
.news-story p { font-size: 14px; line-height: 1.6; }
.news-story .news-reason { margin-block: 10px; }
.news-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding-top: 10px; }
.news-actions a { font-size: 13px; }
.news-actions button { width: 44px; height: 44px; flex: 0 0 44px; }
.news-related, .news-analysis { margin-block: 10px; }
.news-related summary, .news-analysis summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; font-size: 14px; }
.news-related summary::before, .news-analysis summary::before { content: '+'; margin-right: 8px; }
.news-related[open] summary::before, .news-analysis[open] summary::before { content: '-'; }
.news-related ul { padding-inline-start: 20px; }
.news-related li { margin-block: 14px; overflow-wrap: anywhere; }
.news-related small, .news-brief-list small, .calendar-list small { display: block; margin-top: 5px; font-size: 12px; line-height: 1.5; }
.news-brief-list { padding-inline-start: 24px; }
.news-brief-list li { padding: 10px 0 14px 4px; }
.news-brief-list a { font-weight: 650; line-height: 1.5; }
.news-filterbar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; padding-block: 16px; }
.news-filterbar select { font-size: 16px; min-height: 44px; max-width: 100%; }
.news-status, .news-action-status { font-size: 13px; line-height: 1.5; }
.news-action-status:empty { display: none; }
.news-daily { border-top: 1px solid var(--line); padding-block: 18px; }
.news-daily > summary { min-height: 44px; cursor: pointer; display: flex; align-items: center; }
.calendar-event-count { display: none; }
.calendar-event-label { display: block; overflow-wrap: anywhere; text-align: left; }
.news-page [hidden], .news-home-extra [hidden] { display: none !important; }
.news-page button:focus-visible, .news-page summary:focus-visible, .news-page a:focus-visible { outline: 2px solid var(--cyan, #00c8e6); outline-offset: 3px; }
.news-more { min-height: 44px; margin-block: 18px; }
.calendar-list { list-style: none; padding: 0; }
.calendar-list li { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 20px; padding-block: 20px; border-bottom: 1px solid var(--line, #23434c); }
.calendar-list h3 { font-size: 17px; margin: 0 0 6px; }
.calendar-list p { font-size: 13px; }
.news-home-extra { min-width: 0; }
.news-home-extra .calendar-list li { grid-template-columns: 150px minmax(0, 1fr); }
@media(max-width: 650px) {
  .news-feed { grid-template-columns: minmax(0, 1fr); }
  .news-page h1 { font-size: 28px; }
  .news-story h3 { font-size: 18px; }
  .calendar-list li, .news-home-extra .calendar-list li { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .news-page, .news-home-extra { overflow-wrap: anywhere; }
}
/* Sprint 6: monthly calendar, compact Home news and price direction. */
.calendar-toolbar { display: flex; align-items: center; gap: 10px; padding: 12px 0; }
.calendar-toolbar h3 { flex: 1; margin: 0; font-size: 20px; text-transform: capitalize; }
.calendar-toolbar button { min-width: 44px; min-height: 44px; }
.calendar-weekdays, .calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 1px; }
.calendar-weekdays span { text-align: center; padding: 10px 0; font-size: 13px; }
.calendar-grid { background: var(--line); border: 1px solid var(--line); }
.calendar-day, .calendar-blank { min-width: 0; height: 82px; padding: 8px; background: var(--panel, #101b23); border: 0; border-radius: 0; }
.calendar-day { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; color: var(--text); }
.calendar-day small { color: var(--cyan, #00d4ff); font-size: 12px; min-height: 16px; }
.calendar-day[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--cyan, #00d4ff); }
.calendar-day[aria-current="date"] > span { font-weight: 800; text-decoration: underline; }
.calendar-day-details { min-height: 180px; padding-top: 18px; }
.home-news .news-feed { min-height: 90px; }
.home-news .news-story h3 { font-size: 18px; }
.home-news .news-story p { font-size: 13px; }
#ai .ai-layout { grid-template-columns: minmax(0, 1fr); }
#ai .projections-panel { min-height: 0; padding: 0; }
#ai .section-heading { align-items: center; justify-content: flex-start; flex-wrap: wrap; gap: 12px 20px; margin-bottom: 10px; }
#ai .section-heading h2 { font-size: 22px; text-align: left; }
#ai .investor-thermometer { width: auto; }
#ai .sentiment-badge { width: auto; border-radius: 4px; }
#ai .section-heading { flex-direction: row; align-items: center; }
#ai .sentiment-badge { font-size: 12px; padding: 8px 10px; min-height: 44px; }
#ai #projectionList { margin-top: 0; gap: 0; }
#ai .methodology-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; font-size: 13px; }
.analysis-empty { padding: 8px 0; }
.analysis-empty strong { font-size: 15px; }
.analysis-empty p { margin: 6px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.analysis-scenario { padding: 16px 0; border-top: 1px solid var(--line); display: grid; gap: 12px; min-width: 0; }
.analysis-scenario header { display: flex; align-items: center; gap: 8px 16px; flex-wrap: wrap; }
.analysis-scenario h3 { margin: 0; font-size: 18px; }
.analysis-scenario header > span { font-size: 12px; }
.analysis-scenario .scenario-bias { margin: 0; }
.analysis-scenario h4 { font-size: 12px; color: var(--cyan); margin: 0 0 5px; }
.analysis-scenario p, .analysis-scenario ul { font-size: 14px; line-height: 1.5; margin: 0; }
.analysis-scenario ul { padding-left: 18px; }
.analysis-scenario small { font-size: 12px; color: var(--muted); }
.analysis-forces { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media(max-width: 650px) { .analysis-forces { grid-template-columns: minmax(0, 1fr); gap: 10px; } #ai { overflow-wrap: anywhere; } }
#scenarioHistory[hidden] { display: none !important; }
#commodityGrid .productive-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
#commodityGrid .productive-row { flex-wrap: wrap; }
.market-instrument-row .market-identity a { font-size: 12px; min-height: 44px; display: flex; align-items: center; }
.market-instrument-row .market-number strong { overflow-wrap: anywhere; }
.delta.positive, .market-number strong.delta.positive, .productive-row .delta.positive { color: var(--green); }
.delta.negative, .market-number strong.delta.negative, .productive-row .delta.negative { color: var(--red); }
.delta.neutral { color: var(--muted); }
@media (max-width: 650px) {
  .calendar-toolbar { gap: 5px; flex-wrap: wrap; }
  .calendar-toolbar h3 { font-size: 17px; }
  .calendar-toolbar [data-calendar-current] { font-size: 12px; padding: 4px; }
  .calendar-day, .calendar-blank { height: 58px; padding: 6px; }
  .calendar-event-word, .calendar-event-label { display: none; }
  .calendar-event-count { display: inline; }
  #commodityGrid .productive-list { grid-template-columns: minmax(0, 1fr); }
}
.market-instrument-row.market-unquoted { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.market-unquoted small { display: block; font-size: 12px; line-height: 1.5; margin-top: 6px; }
@media(max-width:650px) { .market-instrument-row.market-unquoted { grid-template-columns: minmax(0, 1fr); } }
