/* Morning Map — free daily teaser page. Site CSP is style-src 'self': no
   inline styles anywhere, everything lives here (same pattern as the other
   redesign-*.css files). Palette mirrors redesign-atas.css. */
:root {
  --mm-bg: #0b0805; --mm-panel: #18130c; --mm-panel-2: #1e1811;
  --mm-line: #26221b; --mm-ink: #ecedef; --mm-muted: #9c9fa8;
  --mm-accent: #c8a878; --mm-accent-2: #e0c79a; --mm-gold-ink: #1a1408;
  --mm-call: #26a69a; --mm-put: #ef5350; --mm-gamma: #f6b45f;
}

.mm-hero { max-width: 980px; margin: 0 auto; padding: 56px 20px 10px; text-align: center; }
.mm-hero__eyebrow { color: var(--mm-accent); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.mm-hero h1 { font-size: clamp(30px, 5vw, 44px); line-height: 1.12; margin: 10px 0 12px; color: var(--mm-ink); text-wrap: balance; }
.mm-hero__sub { color: var(--mm-muted); font-size: 17px; line-height: 1.6; max-width: 640px; margin: 0 auto; }
.mm-hero__session { margin-top: 14px; color: var(--mm-muted); font-size: 14px; }
.mm-hero__session strong { color: var(--mm-ink); }

.mm-grid { max-width: 980px; margin: 26px auto 0; padding: 0 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.mm-card { background: linear-gradient(180deg, var(--mm-panel) 0%, var(--mm-panel-2) 100%); border: 1px solid var(--mm-line); border-radius: 14px; padding: 22px; }
.mm-card__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.mm-card__symbol { font-size: 22px; font-weight: 800; color: var(--mm-ink); letter-spacing: .02em; }
.mm-card__regime { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--mm-line); color: var(--mm-muted); }
.mm-card__regime--pos { color: var(--mm-call); border-color: rgba(38,166,154,.4); }
.mm-card__regime--neg { color: var(--mm-put); border-color: rgba(239,83,80,.4); }
.mm-card__spot { color: var(--mm-muted); font-size: 14px; margin-bottom: 14px; }
.mm-card__spot strong { color: var(--mm-ink); font-variant-numeric: tabular-nums; }

.mm-level { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid var(--mm-line); }
.mm-level__name { display: flex; align-items: center; gap: 9px; color: var(--mm-ink); font-weight: 600; font-size: 15px; }
.mm-level__dot { width: 9px; height: 9px; border-radius: 2px; flex: none; }
.mm-level__dot--call { background: var(--mm-call); }
.mm-level__dot--put { background: var(--mm-put); }
.mm-level__dot--flip { background: var(--mm-gamma); }
.mm-level__value { color: var(--mm-ink); font-weight: 700; font-variant-numeric: tabular-nums; font-size: 16px; }
.mm-level__dist { color: var(--mm-muted); font-size: 13px; font-variant-numeric: tabular-nums; min-width: 84px; text-align: right; }

.mm-state { max-width: 640px; margin: 26px auto; padding: 22px; text-align: center; color: var(--mm-muted); background: var(--mm-panel); border: 1px solid var(--mm-line); border-radius: 14px; }

.mm-how { max-width: 980px; margin: 34px auto 0; padding: 0 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.mm-how__item { border-left: 3px solid var(--mm-line); padding: 2px 0 2px 14px; }
.mm-how__item h3 { margin: 0 0 6px; font-size: 15px; color: var(--mm-ink); }
.mm-how__item p { margin: 0; color: var(--mm-muted); font-size: 14px; line-height: 1.55; }

.mm-cta { max-width: 720px; margin: 40px auto; padding: 26px 24px; text-align: center; background: linear-gradient(180deg, rgba(200,168,120,.10), rgba(200,168,120,.04)); border: 1px solid rgba(200,168,120,.35); border-radius: 16px; }
.mm-cta h2 { margin: 0 0 8px; color: var(--mm-ink); font-size: 22px; text-wrap: balance; }
.mm-cta p { margin: 0 0 16px; color: var(--mm-muted); font-size: 15px; line-height: 1.6; }
.mm-cta__btn { display: inline-block; padding: 12px 22px; border-radius: 10px; background: var(--mm-accent); color: var(--mm-gold-ink); font-weight: 800; }
.mm-cta__btn:hover { background: var(--mm-accent-2); text-decoration: none; }
.mm-cta__note { display: block; margin-top: 10px; color: var(--mm-muted); font-size: 12.5px; }

.mm-disclaimer { max-width: 720px; margin: 0 auto 48px; padding: 0 20px; color: var(--mm-muted); font-size: 12.5px; line-height: 1.6; text-align: center; }

.mm-hero__mode { margin-top: 8px; color: var(--mm-accent-2); font-size: 13.5px; font-weight: 600; }
.mm-card__live { font-size: 11px; font-weight: 800; letter-spacing: .08em; padding: 3px 8px; border-radius: 999px; background: rgba(105,194,255,.14); color: #69c2ff; border: 1px solid rgba(105,194,255,.4); }
.mm-level__dot--focus { background: #69c2ff; }
.mm-card__read { margin-top: 16px; border-top: 1px solid var(--mm-line); padding-top: 14px; }
.mm-card__read-title { margin: 0 0 8px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--mm-accent); }
.mm-card__read-list { margin: 0; padding-left: 18px; display: grid; gap: 8px; }
.mm-card__read-list li { color: var(--mm-muted); font-size: 13.5px; line-height: 1.55; }

.mm-archive { max-width: 980px; margin: 8px auto 34px; padding: 0 20px; }
.mm-archive__title { font-size: 15px; color: var(--mm-ink); margin: 0 0 10px; }
.mm-archive__list { display: flex; flex-wrap: wrap; gap: 8px; }
.mm-archive__link { font-size: 13px; font-variant-numeric: tabular-nums; color: var(--mm-muted); border: 1px solid var(--mm-line); border-radius: 8px; padding: 5px 10px; }
.mm-archive__link:hover { color: var(--mm-accent-2); border-color: var(--mm-accent); text-decoration: none; }
.mm-archive__link--current { color: var(--mm-gold-ink); background: var(--mm-accent); border-color: var(--mm-accent); }
.mm-card__read-lead { color: var(--mm-ink); font-weight: 700; }

/* --- Archive fallback tables (worker-rendered .mm-day-symbol / .mm-day-table)
   Shown to no-JS visitors and crawlers, and for the instant before morning-map.js
   hydrates them into interactive .mm-card's. Must look like first-class cards on
   their own (owner 2026-08-19: they were unstyled = broken archive page). */
.mm-day-symbol {
  background: linear-gradient(180deg, var(--mm-panel) 0%, var(--mm-panel-2) 100%);
  border: 1px solid var(--mm-line);
  border-radius: 14px;
  padding: 22px;
}
.mm-day-symbol h2 {
  margin: 0 0 14px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: .02em;
  color: var(--mm-ink);
}
.mm-day-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.mm-day-table thead th {
  padding: 0 10px 8px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--mm-muted);
  border-bottom: 1px solid var(--mm-line);
}
.mm-day-table thead th:nth-child(2),
.mm-day-table thead th:nth-child(3) { text-align: right; }
.mm-day-table tbody th {
  padding: 9px 10px;
  text-align: left;
  font-weight: 600;
  color: var(--mm-ink);
  border-bottom: 1px solid var(--mm-line);
}
.mm-day-table tbody td {
  padding: 9px 10px;
  text-align: right;
  color: var(--mm-ink);
  font-variant-numeric: tabular-nums;
  border-bottom: 1px solid var(--mm-line);
}
.mm-day-table tbody td:last-child { color: var(--mm-muted); font-size: 12.5px; }
.mm-day-table tbody tr:last-child th,
.mm-day-table tbody tr:last-child td { border-bottom: none; }
.mm-day-table a { color: inherit; text-decoration: none; border-bottom: 1px dotted var(--mm-line); }
.mm-day-table a:hover { color: var(--mm-accent); }

/* --- FAQ block ("About the <date> session") — worker-rendered <dl>. Was
   unstyled raw text (owner 2026-08-19). Clean Q&A card. */
.mm-faq { max-width: 820px; margin: 34px auto 0; padding: 0 20px; }
.mm-faq h2 { margin: 0 0 16px; font-size: 20px; color: var(--mm-ink); text-align: center; text-wrap: balance; }
.mm-faq dl {
  margin: 0;
  background: linear-gradient(180deg, var(--mm-panel) 0%, var(--mm-panel-2) 100%);
  border: 1px solid var(--mm-line);
  border-radius: 14px;
  padding: 6px 22px;
}
.mm-faq dt {
  margin-top: 16px;
  font-size: 15px;
  font-weight: 700;
  color: var(--mm-ink);
}
.mm-faq dd {
  margin: 6px 0 16px;
  padding-bottom: 16px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--mm-muted);
  border-bottom: 1px solid var(--mm-line);
}
.mm-faq dd:last-of-type { border-bottom: none; }

/* Server-rendered adjacent-session nav uses bare <a> children (the JS chip
   list is separate). Chip them so they don't run together as inline links. */
.mm-archive > a {
  display: inline-block;
  margin: 0 8px 8px 0;
  padding: 6px 12px;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  color: var(--mm-muted);
  border: 1px solid var(--mm-line);
  border-radius: 8px;
}
.mm-archive > a:hover { color: var(--mm-accent-2); border-color: var(--mm-accent); text-decoration: none; }

/* --- Newsletter signup (2026-08-26) --- */
.mm-sub {
  margin: 44px auto 0;
  max-width: 660px;
  padding: 28px 26px;
  border: 1px solid var(--mm-line);
  border-radius: 14px;
  background: rgba(212, 180, 131, 0.05);
  text-align: center;
}
.mm-sub__head h2 { margin: 0 0 8px; font-size: 22px; }
.mm-sub__head p { margin: 0 auto 18px; max-width: 54ch; color: var(--mm-muted); font-size: 14.5px; line-height: 1.55; }
.mm-sub__form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.mm-sub__input {
  flex: 1 1 240px;
  max-width: 320px;
  padding: 11px 14px;
  font-size: 15px;
  color: inherit;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--mm-line);
  border-radius: 9px;
}
.mm-sub__input:focus { outline: none; border-color: var(--mm-accent); }
.mm-sub__btn {
  flex: 0 0 auto;
  padding: 11px 20px;
  font-size: 15px;
  font-weight: 700;
  color: #2a1f0d;
  background: linear-gradient(135deg, #e0c48a, #c8a878);
  border: 1px solid rgba(200, 168, 120, 0.4);
  border-radius: 9px;
  cursor: pointer;
}
.mm-sub__btn:hover { filter: brightness(1.07); }
.mm-sub__btn:disabled { opacity: 0.6; cursor: default; }
.mm-sub__status { margin: 12px 0 0; font-size: 14px; }
.mm-sub__status.is-ok { color: #8fd6a8; }
.mm-sub__status.is-err { color: #d99; }
.mm-sub__note { margin: 12px 0 0; font-size: 12px; color: var(--mm-muted); }
@media (max-width: 480px) { .mm-sub__form { flex-direction: column; } .mm-sub__input { max-width: none; } }

/* ===== GEX THEMES (GENERATED - do not edit, run scripts/gen-themes.py) ===== */
/* -- theme dark -- */
html[data-theme="dark"] { --mm-bg: #000000; --mm-panel: #0a0b0d; --mm-panel-2: #101114; --mm-line: #1b1d22; --mm-ink: #e8edf2; --mm-muted: #8f97a3; --mm-gold-ink: #050506; }
/* -- theme white -- */
html[data-theme="white"] { --mm-bg: #faf8f4; --mm-panel: #ffffff; --mm-panel-2: #f7f3ec; --mm-line: #e3dccd; --mm-ink: #211d16; --mm-muted: #6c675d; --mm-accent: #9a7434; --mm-accent-2: #b08a45; --mm-gold-ink: #fdfbf7; --mm-call: #177f74; --mm-put: #d43835; --mm-gamma: #c8862f; }
html[data-theme="white"] .mm-card__regime--pos { border-color: rgba(23, 127, 116, .4); }
html[data-theme="white"] .mm-card__regime--neg { border-color: rgba(212, 56, 53, .4); }
html[data-theme="white"] .mm-cta { background: linear-gradient(180deg, rgba(154, 116, 52, .10), rgba(154, 116, 52, .04)); }
html[data-theme="white"] .mm-cta { border-color: rgba(154, 116, 52, .35); }
html[data-theme="white"] .mm-card__live { background: rgba(31, 120, 192, .14); }
html[data-theme="white"] .mm-card__live { color: #1f78c0; }
html[data-theme="white"] .mm-card__live { border-color: rgba(31, 120, 192, .4); }
html[data-theme="white"] .mm-level__dot--focus { background: #1f78c0; }
html[data-theme="white"] .mm-sub { background: rgba(165, 128, 60, 0.05); }
html[data-theme="white"] .mm-sub__btn { background: linear-gradient(135deg, #e0c48a, #9a7434); }
html[data-theme="white"] .mm-sub__btn { border-color: rgba(154, 116, 52, 0.4); }
html[data-theme="white"] .mm-sub__status.is-ok { color: #1b3725; }
html[data-theme="white"] .mm-sub__status.is-err { color: #371b1b; }
/* ===== END GEX THEMES ===== */

















































