/* MDTCX Today v2 (SENTINEL 2.35.0) — mobile-first, light + dark.

   The design system (var(--card), var(--line), var(--green), var(--red)…) lives
   in member.css. This file only adds layout + chip tones unique to Today v2. */

.t35 { display: block; max-width: 1180px; margin: 0 auto; padding: 8px 14px 60px; }

.t35-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin: 6px 0 14px; flex-wrap: wrap; }
.t35-head h1 { font-size: 1.6rem; margin: 0 0 4px; line-height: 1.2; }
.t35-head .t35-sub { color: var(--dim, #6b7380); font-size: 13px; }
.t35-stale { background: #fff6d8; color: #6a4b00; border: 1px solid #f0d87e; border-radius: 6px; padding: 7px 12px; font-size: 13px; }
@media (prefers-color-scheme: dark) { .t35-stale { background: #3d2f00; color: #ffe49a; border-color: #655015; } }

/* ── the one-minute read */
.t35-one { background: var(--card, #fff); border: 1px solid var(--line, #e3e6ea); border-radius: 10px; padding: 16px 18px; margin-bottom: 14px; }
.t35-one-body p { margin: 0 0 8px; font-size: 15.5px; line-height: 1.55; }
.t35-one-body p:first-child { font-weight: 600; }
.t35-one-body p:last-child { margin-bottom: 0; }

/* ── diff strip */
.t35-diff-strip { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.t35-diff-pill { font-size: 12.5px; padding: 4px 10px; border-radius: 999px; background: #f2f6fb; color: #2b3240; border: 1px solid #dde4ec; }
.t35-diff-cycle { background: #fff3e0; border-color: #f0c680; color: #4a3a10; }
.t35-diff-setup { background: #e8f6ec; border-color: #9ccfae; color: #164f2d; }
.t35-diff-news  { background: #eef1fa; border-color: #c0c7dd; color: #2a2e4a; }
@media (prefers-color-scheme: dark) {
  .t35-diff-pill  { background: #22262e; border-color: #3a414c; color: #d6dde6; }
  .t35-diff-cycle { background: #4a3300; border-color: #765514; color: #ffdfa0; }
  .t35-diff-setup { background: #14361f; border-color: #275e3c; color: #bfe4cd; }
  .t35-diff-news  { background: #232642; border-color: #3a3e5e; color: #d0d4ea; }
}

/* ── the 9-card market strip */
.t35-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-bottom: 14px; }
.t35-sc { background: var(--card, #fff); border: 1px solid var(--line, #e3e6ea); border-radius: 8px; padding: 10px 12px; cursor: pointer; transition: border-color .15s; }
.t35-sc:hover { border-color: #9aa3b2; }
.t35-sc-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.t35-sc-name { font-weight: 600; font-size: 13px; }
.t35-sc-arrow { font-size: 15px; color: #6b7380; }
.t35-sc-price { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.t35-sc-row { display: flex; gap: 6px; align-items: center; font-size: 12px; flex-wrap: wrap; }
.t35-sc-trend { font-size: 11px; opacity: .8; }

/* ── risk gauges row */
.t35-g-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin-bottom: 14px; }
.t35-g { background: var(--card, #fff); border: 1px solid var(--line, #e3e6ea); border-radius: 8px; padding: 10px 12px; }
.t35-g-l { font-size: 12px; color: #6b7380; margin-bottom: 4px; }
.t35-g-v { font-size: 18px; font-weight: 600; margin-bottom: 2px; }
.t35-g-n { font-size: 12px; color: #6b7380; }
.t35-g-calm   { color: #1a7f3a; }
.t35-g-caution,
.t35-g-warn   { color: #8c5d00; }
.t35-g-danger,
.t35-g-high   { color: #a81f1f; }

/* ── content grid */
.t35-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin-bottom: 14px; }
@media (min-width: 900px) { .t35-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1280px) { .t35-grid { grid-template-columns: repeat(3, 1fr); } }

.t35-card { background: var(--card, #fff); border: 1px solid var(--line, #e3e6ea); border-radius: 10px; padding: 14px 16px; }
/* 2.38.4: the section carries BOTH .t35-card AND .t35-ops / .t35-cal / .t35-stox / .t35-you / .t35-rot — the inner-list
   classes zero padding and were overwriting the card's padding, leaving headings flush to the card edge. Restore it. */
section.t35-card.t35-ops, section.t35-card.t35-cal, section.t35-card.t35-stox,
section.t35-card.t35-you, section.t35-card.t35-rot, section.t35-card.t35-news { padding: 14px 16px; }
.t35-card h3 { font-size: 15px; margin: 0 0 8px; }
.t35-card .more { display: inline-block; margin-top: 10px; color: var(--link, #2562c3); cursor: pointer; font-size: 13px; }
.t35-card .more:hover { text-decoration: underline; }

.t35-note { background: #f3f6fa; border: 1px solid #e0e6ef; border-radius: 6px; padding: 8px 10px; font-size: 12.5px; color: #4a5160; margin-bottom: 10px; }
@media (prefers-color-scheme: dark) { .t35-note { background: #22262e; border-color: #3a414c; color: #c0c8d4; } }

.t35-empty { color: #6b7380; font-size: 13px; font-style: italic; }
.t35-lede  { font-size: 12.5px; color: #4a5160; margin: 0 0 8px; }

/* ── news block */
.t35-nwl { list-style: none; padding: 0; margin: 0; }
.t35-nw  { border-left: 3px solid #cfd6e0; padding: 0 0 10px 12px; margin-bottom: 10px; }
.t35-nw-h { font-weight: 600; font-size: 14px; }
.t35-nw-why,
.t35-nw-hist { font-size: 12.5px; color: #4a5160; margin-top: 2px; }
.t35-nw-ms { margin-top: 6px; display: flex; gap: 6px; flex-wrap: wrap; }
.t35-nw-watch { margin-top: 4px; font-size: 12px; color: #2b3240; font-style: italic; }

/* ── chips */
.t35-chip { display: inline-block; font-size: 11.5px; padding: 2px 8px; border-radius: 999px; background: #eef1f5; color: #2b3240; border: 1px solid #dfe3ea; cursor: default; }
.t35-chip[data-vehicle] { cursor: pointer; }
.t35-chip.tone-calm   { background: #e8f6ec; border-color: #9ccfae; color: #0f4420; }
.t35-chip.tone-warn   { background: #fff2d9; border-color: #e8bf6e; color: #5a3c00; }
.t35-chip.tone-danger { background: #fde6e6; border-color: #e8a0a0; color: #5f0e0e; }
.t35-chip.tone-washout{ background: #e0ebff; border-color: #a9bedc; color: #16366a; }
.t35-chip.tone-bottom { background: #ece0ff; border-color: #c4b1e4; color: #381a66; }
.t35-chip.tone-neutral{ background: #eef1f5; border-color: #dfe3ea; color: #2b3240; }
@media (prefers-color-scheme: dark) {
  .t35-chip             { background: #272b33; color: #d6dde6; border-color: #3a414c; }
  .t35-chip.tone-calm   { background: #16361f; color: #bfe4cd; border-color: #275e3c; }
  .t35-chip.tone-warn   { background: #4a3300; color: #ffdfa0; border-color: #765514; }
  .t35-chip.tone-danger { background: #4a1414; color: #ffb7b7; border-color: #7a2a2a; }
  .t35-chip.tone-washout{ background: #1a284d; color: #bbd0ff; border-color: #38518a; }
  .t35-chip.tone-bottom { background: #2b1b4a; color: #d9c6ff; border-color: #503878; }
  .t35-chip.tone-neutral{ background: #272b33; color: #d6dde6; border-color: #3a414c; }
}

/* ── opportunities */
.t35-ops { list-style: none; padding: 0; margin: 0; }
.t35-op  { border-bottom: 1px dashed #e3e6ea; padding: 8px 0; }
.t35-op:last-child { border-bottom: 0; }
.t35-op-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
.t35-op-side { color: #4a5160; font-size: 12.5px; }
.t35-op-tide { color: #1a7f3a; font-size: 11.5px; }
.t35-op-ready { font-size: 12px; color: #4a5160; margin-top: 2px; }
.t35-more summary { cursor: pointer; font-size: 12.5px; color: #2562c3; margin-top: 6px; }

/* ── rotation */
.t35-rot-analysis { font-size: 13px; color: #2b3240; margin-bottom: 10px; }
.t35-rot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.t35-rot-lbl { font-weight: 600; font-size: 12px; color: #4a5160; margin-bottom: 4px; }
.t35-rot { list-style: none; padding: 0; margin: 0; }
.t35-rot li { padding: 6px 0; border-bottom: 1px dashed #e3e6ea; }
.t35-rot li:last-child { border-bottom: 0; }
.t35-rot-h { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; font-size: 13px; }
.t35-rot-wn { font-size: 12px; color: #4a5160; margin-top: 2px; }
.t35-rot-up b { color: #0f4420; }
.t35-rot-dn b { color: #5f0e0e; }
@media (prefers-color-scheme: dark) {
  .t35-rot-up b { color: #bfe4cd; }
  .t35-rot-dn b { color: #ffb7b7; }
}

/* ── stox + cal + you */
.t35-stox { list-style: none; padding: 0; margin: 0; }
.t35-stox-r { padding: 8px 0; border-bottom: 1px dashed #e3e6ea; cursor: pointer; }
.t35-stox-r:last-child { border-bottom: 0; }
.t35-stox-h b { font-size: 13.5px; }
.t35-stox-rec { font-size: 12px; color: #4a5160; margin-top: 2px; }
.t35-cal { list-style: none; padding: 0; margin: 0; }
.t35-cal li { padding: 6px 0; font-size: 13px; border-bottom: 1px dashed #e3e6ea; }
.t35-cal li:last-child { border-bottom: 0; }
.t35-you { list-style: none; padding: 0; margin: 0; }
.t35-you li { padding: 5px 0; font-size: 13px; cursor: pointer; }

/* ── learn + banner */
.t35-learn { margin-top: 14px; }
.t35-learn-link { display: inline-block; color: #2562c3; font-weight: 600; cursor: pointer; }
.t35-banner { margin-top: 18px; padding: 10px 14px; background: #f8f9fb; border-top: 1px solid #e3e6ea; font-size: 12.5px; color: #4a5160; text-align: center; border-radius: 6px; }
@media (prefers-color-scheme: dark) { .t35-banner { background: #1b1e24; border-color: #2d3139; color: #a5acb8; } }

/* ── accessibility: reduce motion + focus outlines */
@media (prefers-reduced-motion: reduce) { .t35-sc { transition: none; } }
.t35 [data-vehicle]:focus, .t35 [data-go]:focus { outline: 2px solid #2562c3; outline-offset: 2px; }
