/* Hallmark · macrostructure: Bento Grid · genre: modern-minimal
 * theme: M18Shop inherited grayscale · nav: N9 · footer: Ft2 · enrichment: none
 * audience: reset observers · use: check signals and subscribe · tone: restrained
 * pre-emit critique: P4 H5 E4 S5 R5 V4 · contrast: pass (40–41)
 */
@import url('./page-tokens.css?v=20261010-1');

html, body { min-width: 320px; overflow-x: clip; background: var(--color-canvas); }
body { margin: 0; color: var(--color-ink); font-family: var(--font-body); }
.rw-sitebar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; padding: 0 max(16px, calc((100% - 1160px) / 2)); border-bottom: 1px solid var(--color-line); background: var(--color-paper); }
.rw-sitebar a { color: inherit; text-decoration: none; white-space: nowrap; }
.rw-sitebar a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.rw-sitebar-title { display: inline-flex; align-items: center; gap: 12px; min-width: 0; font-size: 14px; font-weight: 700; }
.rw-sitebar-mark { width: 12px; height: 12px; flex: 0 0 auto; background: var(--color-ink); }
.rw-sitebar-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--color-muted) !important; font-size: 12px; text-underline-offset: 4px; }
.rw-sitebar-link:hover { text-decoration: underline; }
.rw-page-shell { width: min(1160px, calc(100% - 32px)); margin: 0 auto; padding: 40px 0 48px; }
.rw-page-intro { position: relative; padding-bottom: 32px; }
.rw-page-intro h1 { margin: 0 0 16px; max-width: 720px; font-family: var(--font-display); font-size: clamp(32px, 4vw, 52px); line-height: 1.15; letter-spacing: -.04em; font-weight: 700; font-style: normal; overflow-wrap: anywhere; min-width: 0; }
.rw-page-intro > p { margin: 0; max-width: 640px; color: var(--color-muted); font-size: 14px; line-height: 1.8; }
.rw-page-nav { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 12px; }
.rw-page-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; text-decoration: none; white-space: nowrap; }
.rw-page-nav a:hover { text-decoration: underline; }
.rw-page-motif { display: none; }
.rw-page-dashboard, .rw-page-secondary { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.rw-page-secondary { margin-top: 24px; align-items: start; }
.rw-page .rw-page-summary, .rw-page .rw-section { min-width: 0; max-width: none; margin: 0; padding: 24px; border: 1px solid var(--color-line); border-radius: var(--radius-panel); background: var(--color-paper); }
.rw-page .rw-head { align-items: center; gap: 12px; margin-bottom: 24px; }
.rw-page .rw-head h2, .rw-page .rw-section h2 { margin: 0 0 8px; font-size: 20px; line-height: 1.4; font-weight: 700; }
.rw-page .rw-head h2 { margin: 0; }
.rw-page .rw-state { font-size: 12px; }
.rw-page .rw-page-summary .rw-probabilities { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; max-width: none; margin: 0; padding: 24px 0; background: var(--color-soft); border-radius: var(--radius-sm); }
.rw-page .rw-probabilities > div { padding: 0 20px; }
.rw-page .rw-probabilities > div + div { border-left: 1px solid var(--color-line); }
.rw-page .rw-probabilities dt { font-size: 14px; }
.rw-page .rw-probabilities dd { margin: 12px 0 0; font-size: 52px; line-height: 1; letter-spacing: -.04em; }
.rw-page .rw-probabilities small { font-size: 20px; }
.rw-page .rw-forecast-note { margin: 12px 0 20px; color: var(--color-muted); font-size: 12px; line-height: 1.7; }
.rw-page .rw-facts { margin: 0; padding: 0; gap: 0; font-size: 14px; }
.rw-page .rw-facts > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--color-line); }
.rw-page .rw-facts dt { flex-shrink: 0; }
.rw-page .rw-facts dd { text-align: right; overflow-wrap: anywhere; }
.rw-page .rw-reason { margin-top: 20px; padding: 0; border: 0; font-size: 14px; }
.rw-page .rw-reason > span { color: var(--color-muted); font-size: 12px; }
.rw-page .rw-reason p { display: block; margin: 8px 0 0; overflow: visible; -webkit-line-clamp: unset; line-height: 1.8; }
.rw-page .rw-actions { gap: 12px; margin-top: 24px; }
.rw-page .rw-button { flex: 0 1 auto; min-height: 48px; padding: 12px 20px; font-size: 14px; white-space: nowrap; }
.rw-page .rw-credit { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 20px; font-size: 12px; }
.rw-page .rw-page-subscription { background: var(--color-soft); }
.rw-page-subscription-mark { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-bottom: 24px; border: 1px solid var(--color-control); font-size: 24px; }
.rw-page .rw-section > p { color: var(--color-muted); font-size: 14px; line-height: 1.8; }
.rw-page .rw-form { margin-top: 24px; }
.rw-page .rw-form > label:first-child { font-size: 13px; }
.rw-page .rw-form-line { flex-direction: column; gap: 8px; margin-bottom: 16px; }
.rw-page .rw-form-line .rw-input { flex: none; height: 48px; font-size: 14px; }
.rw-page .rw-form-line .rw-button { width: 100%; }
.rw-page .rw-choice { padding-block: 12px; border-bottom: 1px solid var(--color-line); font-size: 14px; }
.rw-page .rw-choice small { margin-top: 4px; font-size: 12px; line-height: 1.7; }
.rw-page .rw-form-message { font-size: 12px; line-height: 1.8; }
.rw-page .rw-points li, .rw-page .rw-post { font-size: 14px; line-height: 1.8; }
.rw-page .rw-points li:last-child, .rw-page .rw-post:last-child { border-bottom: 0; padding-bottom: 0; }
.rw-page .rw-post p { margin: 8px 0; }
.rw-page .rw-page-history { margin-top: 24px; }
.rw-page .rw-history-head { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.rw-page .rw-history-head h2 { margin: 0; }
.rw-page .rw-history-head label { display: flex; align-items: center; gap: 12px; font-size: 13px; }
.rw-page .rw-filter { min-height: 44px; font-size: 13px; background: var(--color-paper); }
.rw-page .rw-events { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 32px; margin-top: 0; }
.rw-page .rw-event { position: relative; min-width: 0; padding: 24px 0 24px 16px; font-size: 14px; }
.rw-page .rw-event::before { position: absolute; top: 29px; left: 0; width: 6px; height: 6px; background: var(--color-ink); content: ''; }
.rw-page .rw-event-top { min-height: 24px; }
.rw-page .rw-event p { margin: 8px 0; line-height: 1.8; }
.rw-page .rw-tag { border-radius: 2px; }
.rw-page .rw-evidence { font-size: 12px; }
.rw-page .rw-more { width: 100%; margin-top: 24px; }
.rw-page .rw-page-service { margin-top: 16px; padding-block: 8px; background: var(--color-soft); }
.rw-page-service > details > summary { min-height: 44px; padding-block: 12px; font-size: 16px; font-weight: 600; cursor: pointer; }
.rw-page .rw-page-foot { display: grid; gap: 8px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--color-line); color: var(--color-muted); font-size: 12px; }
.rw-page-foot p { margin: 0; }
.rw-page-shop-link { margin-top: 8px !important; }
.rw-page-shop-link a { color: var(--color-ink); }
@media (min-width: 40rem) {
  .rw-page-shell { width: min(1160px, calc(100% - 64px)); padding-block: 40px 64px; }
  .rw-sitebar { padding-inline: max(32px, calc((100% - 1160px) / 2)); }
  .rw-page-intro { padding-bottom: 24px; }
  .rw-page-motif { display: flex; position: absolute; top: 8px; right: 0; gap: 8px; }
  .rw-page-motif span { width: 20px; height: 64px; border: 1px solid var(--color-line); }
  .rw-page-motif span:first-child { background: var(--color-ink); border-color: var(--color-ink); }
  .rw-page-motif span:nth-child(2) { background: var(--color-line); }
  .rw-page-secondary { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
  .rw-page .rw-history-head { flex-direction: row; align-items: center; justify-content: space-between; }
  .rw-page .rw-events { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rw-page .rw-more { width: auto; }
  .rw-page-foot { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px 32px; }
  .rw-page-shop-link { grid-column: 1 / -1; }
}
@media (min-width: 60rem) {
  .rw-page-dashboard { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: stretch; }
  .rw-page .rw-page-summary { padding: 40px; }
  .rw-page .rw-probabilities dd { font-size: 64px; }
  .rw-page .rw-page-subscription { padding: 32px; }
  .rw-page .rw-page-history { padding: 32px; }
}
@media (max-width: 24rem) {
  .rw-sitebar-title { gap: 8px; font-size: 13px; }
  .rw-sitebar-link { font-size: 11px; }
  .rw-page .rw-page-summary, .rw-page .rw-section { padding: 20px 16px; }
  .rw-page .rw-probabilities > div { padding-inline: 12px; }
  .rw-page .rw-probabilities dd { font-size: 44px; }
  .rw-page .rw-facts > div { flex-direction: column; gap: 4px; }
  .rw-page .rw-facts dd { text-align: left; }
  .rw-page .rw-actions .rw-button { width: 100%; }
  .rw-page .rw-page-service { padding-block: 8px; }
}
@media (hover: hover) {
  .rw-page :is(a, button).rw-button--primary:hover:not(:disabled) { background: var(--color-primary-hover); color: var(--color-paper); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rw-page .rw-button { transition: none; }
  .rw-page .rw-button:active { transform: none; }
}
