@import url("sf-phone.css?v=20261123b");
/* Simplifying Finance — phone layer (loaded last on every page).
   Targets: 44px tap targets, 16px form text (stops iOS zoom), readable small labels. */
html { -webkit-text-size-adjust:100%; text-size-adjust:100%; }
a, button, [role="button"], input, select, textarea, label { touch-action:manipulation; -webkit-tap-highlight-color:rgba(31,107,255,.18); }

@media (max-width: 760px) {
  /* header */
  .icon-btn { min-width:44px; min-height:44px; }
  .brand-name small { display:none; }
  .brand { min-height:44px; }

  /* form fields: 16px+ so iPhones don't zoom on focus; comfortable height */
  input, select, textarea { font-size:16px !important; }
  input[type="search"], input[type="text"], input[type="number"], input[type="password"], select { min-height:44px; }
  .searchbox input { min-height:44px; }

  /* chips, filters, sector buttons, save buttons */
  .chip, .cs-chips button, .sn-buttons button, .save-btn, .lx-pill, .lx-cta, .tk-pause { min-height:44px; }
  .save-btn { min-width:44px; }
  .card-foot a { display:inline-flex; align-items:center; min-height:44px; }
  .lx-back { min-height:44px; padding:10px 0; margin-bottom:22px; font-size:14px; }
  .cs-sources a, .lx-sources a { display:inline-block; padding:10px 0; }
  .cs-mini .cs-go { min-height:44px; }

  /* sliders: bigger hit area and thumb */
  .lx-field input[type=range] { height:44px; }
  .lx-field input[type=range]::-webkit-slider-thumb { width:26px; height:26px; margin-top:-11px; }
  .lx-field input[type=range]::-moz-range-thumb { width:26px; height:26px; }

  /* readable small text (min ~11.5–12px) */
  .eyebrow, .lx-eyebrow, .visual-num, .cover-label, .cover-label span, .hero-kicker span { font-size:11.5px !important; letter-spacing:.12em; }
  .cover-bottom span, .cover-note { font-size:11.5px !important; }
  .lx-meta span, .cs-stat span, .cs-stat small, .cs-card-top span, .cs-mini-top span, .cs-level, .lx-note, .lx-fine, .sn-fine, .tk-src { font-size:12px !important; }
  .lx-hero-art figcaption span { font-size:11.5px; }
  .lx-output dt, .lx-output span, .lx-stat span, .lx-stat small { font-size:12.5px; }

  /* comfortable reading */
  .lx-body p, .cs-body p, .section-top p { font-size:17px; line-height:1.65; }
  .lx-title { overflow-wrap:break-word; hyphens:manual; }
}

@media (max-width: 360px) {
  .wrap { padding-left:16px !important; padding-right:16px !important; }
  .brand-name { font-size:15px; }
}

/* --- second pass: override the older editorial phone sizes --- */
@media (max-width: 620px) {
  .icon-btn { width:44px !important; min-width:44px !important; min-height:44px !important; }
  .saved-top { width:44px !important; min-width:44px !important; }
  .nav-controls { gap:2px !important; }
  .hero-kicker .eyebrow, .hero-overline, .cover-label, .cover-label span:last-child, .cover-bottom span:not(.cover-arrow),
  .card-meta, .time-chip, .visual-num, .image-caption, .feature-meta { font-size:11.5px !important; letter-spacing:.1em; }
  .cover-note, .trust-item, .trust-item:first-child, .footer-note, .hero-small { font-size:13px !important; }
  .chip { font-size:13px !important; padding:10px 14px !important; min-height:44px !important; }
  .searchbox input { font-size:16px !important; min-height:44px; }
  .hero .button { font-size:13px !important; }
  .lab-tabs button { font-size:13px !important; min-height:44px; }
  .section-top p, .visual-copy p, .card-main p, .feature-copy p, .lab-section .section-top p, .editorial p { font-size:16px !important; line-height:1.65; }
  .card-foot { font-size:14px !important; }
  .control input[type=range] { height:44px; }
  .text-link { display:inline-flex; align-items:center; min-height:44px; }
  .footer-links a, .footer-links button { display:inline-flex; align-items:center; min-height:44px; }
  .footer-links { gap:6px 22px !important; }
}
@media (max-width: 350px) {
  .nav .brand .brand-name { display:none; }
}
@media (max-width: 620px) {
  .lx-pager small, .cs-next small { font-size:12px !important; }
  .editorial a { display:inline-block; padding:10px 0; }
}
@media (max-width: 620px) {
  /* menu: big, easy rows */
  .nav-links a { font-size:19px !important; padding:13px 0 !important; min-height:50px; display:flex; align-items:center; }
  .nav-links { gap:0 !important; padding-top:12px !important; padding-bottom:20px !important; }
  /* chart labels: chart SVGs scale down on phones, so enlarge their text in SVG units */
  .lx-svg .lx-tick, .lx-svg .lx-axis { font-size:19px; }
  .lx-svg text.lx-axis[text-anchor="end"] { display:none; }
  .lx-svg .lx-barval { font-size:24px; }
  .lx-legend, .lx-legend span { font-size:13px; }
}
@media (max-width: 620px) {
  .lx-output dt, .lx-output dd, .lx-stat span, .lx-stat small, .lx-out-label { white-space:normal !important; overflow-wrap:anywhere; }
}
@media (max-width: 620px) {
  .lx-seg b { white-space:normal !important; line-height:1.15; font-size:12px; text-align:center; padding:0 4px; }
  .lx-split-bar { min-height:56px; }
}
@media (max-width: 620px) {
  .cs-exhibit .lx-svg .lx-tick { font-size:20px !important; }
  .cs-exhibit .lx-svg .lx-barval { font-size:22px !important; }
  .cs-exhibit .lx-svg .lx-axis { font-size:18px !important; }
}
