/* The standalone pages use the same surfaces and layout as the main EPI app. */
.page-shell{max-width:1120px}
.page-shell .masthead h1{overflow-wrap:anywhere}
/* Neutral accents match the app chrome; market and chart colors retain meaning. */
.page-shell .private-label{color:var(--muted);background:var(--control);border-color:var(--line)}
.page-shell .free-kicker,.page-shell .dashboard-eyebrow{color:var(--muted)}
.page-shell .news-meta strong,.page-shell .econ-category{color:var(--muted)}
.page-shell .free-plans article:last-child{border-color:var(--line)}
.page-shell .free-section{margin:24px 0}
.page-shell .news-toolbar{margin-top:24px}
.page-shell .free-tile,.page-shell .news-toolbar,.page-shell .news-card{background:var(--panel);border:1px solid var(--line);border-radius:15px;padding:20px;box-shadow:none}
.page-shell .free-heading{margin-bottom:16px}
.page-shell .free-tile h2,.page-shell .free-heading h2,.page-shell .news-toolbar h2{font-size:20px;font-weight:650;letter-spacing:-.025em}
.page-shell .free-copy,.page-shell .news-note{font-size:14px;line-height:1.6}
.page-shell .free-kicker{font-size:12px;letter-spacing:.13em;line-height:1.5;overflow-wrap:anywhere}
.page-shell .free-tickers{gap:14px}
.page-shell .free-tickers .free-tile{min-width:0;padding:20px 18px 17px}
.page-shell .free-tickers h3{font-size:18px;font-weight:750;letter-spacing:.025em}
.page-shell .free-tickers p{font-size:13px;line-height:1.5}
.page-shell .free-plans article{min-width:0}
.page-shell .free-plans h3{line-height:1.5}
.page-shell .free-plans small{font-size:14px}
.page-shell .news-toolbar button,.page-shell .econ-toolbar button,.page-shell .free-primary{min-height:44px;font-size:14px;padding:9px 16px}
.page-shell .news-filter,.page-shell .econ-toolbar label{font-size:14px;line-height:1.5}
.page-shell .news-filter select,.page-shell .econ-toolbar select{font-size:16px;min-height:44px}
.page-shell .news-list{gap:14px}
.page-shell .news-card h3{font-size:18px;line-height:1.45;letter-spacing:-.015em}
.page-shell .econ-day{margin:14px 0}
.page-shell .econ-day li{min-width:0}
.page-shell .econ-day li>div{min-width:0;overflow-wrap:anywhere}
.page-shell .free-history li,.page-shell .indicator-steps{font-size:14px;line-height:1.6}
.page-shell .free-history button{font-size:14px}

/* Native dialogs retain the main app drawer's dimensions and current-item style. */
.page-shell-menu{margin:0;height:100dvh;max-height:none;max-width:none;border:0;border-right:1px solid var(--line);color:var(--text);background:var(--control);overscroll-behavior:contain}
.page-shell-menu::backdrop{background:#000000b8}
.page-shell-menu:not([open]){display:none}
.page-shell-menu nav a{border:1px solid transparent;line-height:1.45}
.page-shell-menu nav a[aria-current=page],.page-shell-menu nav a[aria-current=location]{color:var(--text);background:var(--control);border-color:var(--focus)}

@media(max-width:760px){
  .page-shell .free-tile,.page-shell .news-toolbar,.page-shell .news-card{padding:16px}
  .page-shell .free-tile h2,.page-shell .free-heading h2,.page-shell .news-toolbar h2{font-size:19px}
}
@media(max-width:620px){
  .page-shell{padding-bottom:calc(88px + env(safe-area-inset-bottom))}
  .page-shell-quick-nav a{display:flex;align-items:center;justify-content:center;min-width:0;min-height:44px;padding:9px 13px;border:1px solid transparent;border-radius:9px;background:transparent;font-size:14px;font-weight:650;line-height:1.5;color:var(--muted);text-align:center;text-decoration:none}
  .page-shell-quick-nav a[aria-current=page],.page-shell-quick-nav a[aria-current=location]{color:var(--text);background:var(--control);border-color:var(--focus)}
  .page-shell-quick-nav a:hover{background:var(--hover);color:var(--text)}
}
@media(max-width:530px){
  .page-shell .masthead .private-label{display:inline-block}
  .page-shell .free-tickers,.page-shell .free-plans{grid-template-columns:1fr}
  .page-shell .free-heading{align-items:flex-start;gap:10px}
  .page-shell .free-heading>div{min-width:0}
}
