/* Market Mogul: allocation cards on the shared report styles. */
.mm { max-width: 760px; }
.ticker { display: flex; flex-wrap: wrap; gap: 6px 28px; margin: 6px 0 10px; font-size: 14px; }
.ticker .k { color: var(--muted); margin-right: 6px; font-size: 13px; }
.ticker strong { font-weight: 600; font-variant-numeric: tabular-nums; }
.timeline { list-style: none; margin: 0 0 14px; padding: 0; display: flex; border-bottom: 1px solid var(--rule-strong); }
.timeline li { flex: 1; text-align: center; font-size: 12.5px; color: var(--muted); padding: 4px 0 6px; border-bottom: 3px solid transparent; }
.timeline li.done { color: var(--ink); }
.timeline li.now { color: var(--ink); font-weight: 600; border-bottom-color: var(--ink); }
.event { margin: 0 0 16px; font-size: 14.5px; line-height: 1.5; padding: 10px 12px; background: var(--band); border-left: 3px solid var(--ink); }
.section-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-bottom: 1px solid var(--rule-strong); padding-bottom: 6px; margin-bottom: 4px; }
.section-row h2 { font-size: 16px; font-weight: 600; margin: 0; }
.section-row .sub { font-size: 13px; color: var(--muted); }
.assets { display: flex; flex-direction: column; }
.asset { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); align-items: center; }
.asset .name { font-weight: 600; font-size: 15px; }
.asset .cls { font-size: 11.5px; color: var(--muted); border: 1px solid var(--rule); border-radius: 3px; padding: 1px 6px; margin-left: 8px; vertical-align: 1px; }
.asset .blurb { font-size: 13.5px; color: var(--muted); margin: 2px 0 0; }
.asset .last { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.asset .last .up { color: var(--good); font-weight: 600; }
.asset .last .down { color: var(--bad); font-weight: 600; }
.asset .ctl { display: flex; align-items: center; gap: 6px; }
.asset .ctl button { font: 600 16px var(--sans); width: 34px; height: 32px; border: 1px solid var(--ink); background: #fff; border-radius: 3px; cursor: pointer; }
.asset .ctl button:disabled { opacity: 0.3; cursor: default; }
.asset .ctl .amt { min-width: 118px; text-align: center; font-variant-numeric: tabular-nums; font-size: 14px; }
.asset .ctl .amt .pct { display: block; font-size: 12px; color: var(--muted); }
.asset.held { background: var(--good-bg); margin: 0 -8px; padding-left: 8px; padding-right: 8px; }
.asset.reveal { grid-template-columns: minmax(0, 1fr) auto; }
.asset .outcome { text-align: right; font-variant-numeric: tabular-nums; }
.asset .outcome .chg { font-weight: 600; font-size: 15px; }
.asset .outcome .chg.up { color: var(--good); }
.asset .outcome .chg.down { color: var(--bad); }
.asset .outcome .mine { display: block; font-size: 12.5px; color: var(--muted); }
.alloc-bar { display: flex; height: 10px; background: var(--band); border-radius: 2px; overflow: hidden; margin: 14px 0 6px; }
.alloc-bar span { display: block; height: 100%; }
.alloc-bar .cash { background: #C9C7C0; }
.alloc-bar .stocks { background: #2F5DA8; }
.alloc-bar .bonds { background: #4F7A4A; }
.alloc-bar .commodities { background: #B07A42; }
.alloc-bar .property { background: #8E6A3C; }
.alloc-bar .curio { background: #7A4F9E; }
.actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 10px; }
.actions .hint { font-size: 13px; color: var(--muted); }
.summary { margin: 18px 0 0; padding: 12px 14px; background: var(--band); border-left: 3px solid var(--ink); font-size: 14.5px; line-height: 1.5; }
.summary[hidden] { display: none; }
.summary strong.up { color: var(--good); } .summary strong.down { color: var(--bad); }
.end-panel .big { font-size: 30px; font-weight: 600; margin: 4px 0 2px; font-variant-numeric: tabular-nums; }
.end-panel .vs { margin: 12px 0 0; }
.end-panel .vs td { padding: 6px 0; border-bottom: 1px solid var(--rule); font-size: 14px; }
.end-panel .vs td.num { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.end-panel .ledger { margin-top: 10px; }
.end-panel .ledger li { font-size: 13.5px; margin-bottom: 4px; }
@media (max-width: 520px) {
  .asset { grid-template-columns: 1fr; }
  .asset .ctl { justify-content: flex-start; }
  .asset .outcome { text-align: left; }
  .timeline li { font-size: 11px; }
}

.share-grid { font: 15px/1.5 var(--sans); margin: 12px 0 0; letter-spacing: 1px; font-variant-numeric: tabular-nums; }

.carry-hint { font-size: 13.5px; color: var(--muted); margin: -4px 0 12px; padding: 8px 10px; border-left: 3px solid var(--accent); background: #f6f8fb; }
.asset .last.carry { color: var(--accent); }
.asset .ctl .sell { font: 600 12.5px var(--sans); width: auto; padding: 0 10px; }
