/* Margin Town V3.0.28 desktop homepage density polish */
@media (min-width: 901px){
  body.mt-home-density-v3028 .hero-v300{padding:56px 20px 44px!important}
  body.mt-home-density-v3028 .en-hero-v300{padding-top:50px!important;padding-bottom:40px!important}
  body.mt-home-density-v3028 .market-expansion-home{padding-top:18px!important;padding-bottom:20px!important}
  body.mt-home-density-v3028 .market-home-dashboard{padding-top:22px!important;padding-bottom:20px!important}
  body.mt-home-density-v3028 .v3-benefit-ribbon{padding:18px 20px 20px!important}
  body.mt-home-density-v3028 .v3-benefit-ribbon>.container{padding:20px 23px!important}
  body.mt-home-density-v3028 .chat-home-v244{padding:0 0 20px!important}
  body.mt-home-density-v3028 .home-editorial-v14{padding-top:20px!important;padding-bottom:24px!important}
  body.mt-home-density-v3028 main#main>.section{padding:32px 0!important}
  body.mt-home-density-v3028 main#main>.en-section-v20{padding-top:32px!important;padding-bottom:32px!important}
  body.mt-home-density-v3028 main#main>.section .section-head{margin-bottom:18px!important}
  body.mt-home-density-v3028 .card-grid--exchange{gap:14px!important}
  body.mt-home-density-v3028 .card-grid--exchange .exchange-card__media img{aspect-ratio:16/6!important}
  body.mt-home-density-v3028 .card-grid--exchange .exchange-card__body{padding:20px!important}
  body.mt-home-density-v3028 .card-grid--exchange .exchange-card p{margin:8px 0 14px!important}
  body.mt-home-density-v3028 .card-grid--exchange .card-actions{margin-top:16px!important}
  body.mt-home-density-v3028 .table-note{margin-top:10px!important;margin-bottom:0!important}
}


/* home-market-width-align-v1 */
@media(min-width:901px){
  .market-expansion-home__inner,
  .market-home-dashboard__inner{
    width:min(1240px,calc(100% - 24px))!important;
    max-width:none!important;
  }
}

/* home-journey-20260926: reclaim the removed illustration track; no runtime changes. */
body[data-ui-review][data-ui-site] :is(.home-visual-feature-v15,.cmx-home-visual-feature-v15){padding:24px!important;background:var(--ui-surface)!important;border:1px solid var(--ui-line)!important;box-shadow:none!important;border-radius:20px!important}
body[data-ui-review][data-ui-site] :is(.flow-summary-v15,.cmx-flow-summary-v15){grid-template-columns:minmax(0,1fr)!important;gap:0!important}
body[data-ui-review][data-ui-site] :is(.flow-copy,.cmx-flow-copy){min-width:0;width:100%;grid-column:1/-1}
body[data-ui-review][data-ui-site] :is(.flow-note,.cmx-flow-note){display:grid;grid-template-columns:minmax(250px,.95fr) minmax(0,1.65fr);grid-template-areas:"title steps" "description steps" "actions steps";gap:14px 30px;align-items:start;padding:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important}
body[data-ui-review][data-ui-site] :is(.flow-note,.cmx-flow-note)>h3{grid-area:title;font-size:24px!important;line-height:1.4!important;letter-spacing:-.035em;margin:0!important;color:var(--ui-text)!important}
body[data-ui-review][data-ui-site] :is(.flow-note,.cmx-flow-note)>p{grid-area:description;font-size:14px!important;line-height:1.8!important;margin:0!important;color:var(--ui-muted)!important;word-break:keep-all;overflow-wrap:anywhere}
body[data-ui-review][data-ui-site] :is(.flow-note,.cmx-flow-note)>ul{grid-area:steps;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:minmax(88px,1fr);gap:12px;align-self:stretch;margin:0!important;padding:0!important;list-style:none}
body[data-ui-review][data-ui-site] :is(.flow-note,.cmx-flow-note)>ul>li{display:flex;align-items:center;min-width:0;margin:0;padding:16px 14px;border:1px solid var(--ui-line);border-left:3px solid var(--ui-accent);border-radius:12px;background:var(--ui-surface-soft);color:var(--ui-text)!important;font-size:14px;line-height:1.8;word-break:keep-all;overflow-wrap:anywhere}
body[data-ui-review][data-ui-site] :is(.flow-actions,.cmx-flow-actions){grid-area:actions;gap:10px!important;margin:0!important;align-self:end}
body[data-ui-review][data-ui-site] :is(.flow-actions,.cmx-flow-actions)>a{font-size:13px;min-height:44px}
/* English home already has six cards; retain its content and tighten the same rhythm. */
body[data-ui-review][data-ui-site] :is(.en-steps-v20,.cmx-en-steps-v20){gap:14px}
body[data-ui-review][data-ui-site] :is(.en-step-v20,.cmx-en-step-v20){padding:18px!important}
body[data-ui-review][data-ui-site] :is(.en-step-v20,.cmx-en-step-v20)>h3{font-size:18px!important;margin:8px 0!important}
body[data-ui-review][data-ui-site] :is(.en-step-v20,.cmx-en-step-v20)>p{font-size:14px!important;line-height:1.75!important;margin:0!important}
@media(min-width:901px){body[data-ui-review][data-ui-site] :is(.en-steps-v20,.cmx-en-steps-v20){grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){body[data-ui-review][data-ui-site] :is(.flow-note,.cmx-flow-note){grid-template-columns:minmax(0,1fr);grid-template-areas:"title" "description" "steps" "actions";gap:18px}}
@media(max-width:600px){body[data-ui-review][data-ui-site] :is(.home-visual-feature-v15,.cmx-home-visual-feature-v15){padding:18px!important}body[data-ui-review][data-ui-site] :is(.flow-note,.cmx-flow-note)>h3{font-size:22px!important}body[data-ui-review][data-ui-site] :is(.flow-note,.cmx-flow-note)>ul{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;grid-auto-rows:minmax(76px,1fr)}body[data-ui-review][data-ui-site] :is(.flow-note,.cmx-flow-note)>ul>li{padding:12px 10px;font-size:13px;line-height:1.7}}
@media(max-width:359px){body[data-ui-review][data-ui-site] :is(.flow-note,.cmx-flow-note)>ul{grid-template-columns:minmax(0,1fr);grid-auto-rows:auto}body[data-ui-review][data-ui-site] :is(.flow-note,.cmx-flow-note)>ul>li{padding:10px 12px}}
