/* DE start page only: no changes to header, footer, sponsor or the Tower scene. */
.hero:has(.home-presets) .hero-copy > p { max-width: 39rem; }
.hero:has(.home-presets) .hero-copy h1 { font-size: clamp(2.05rem, 3.9vw, 3.35rem); line-height: 1.02; max-width: 58rem; }
.hero:has(.home-presets) .hero-copy { padding-bottom: .7rem; max-width: min(100%, 48rem); }
.home-entry-actions, .home-options, .home-presets { display: flex; flex-wrap: wrap; gap: .55rem; margin-block: .75rem; }
.hero .home-entry-actions a:focus-visible, .home-presets a:focus-visible, .home-options a:focus-visible, .home-top-fares a:focus-visible { outline: 2px solid #ffdb83; outline-offset: 3px; }
.home-entry-actions a, .home-presets a, .home-options a, .home-options button { min-height: 44px; display: inline-flex; align-items: center; padding: .45rem .8rem; border: 1px solid #5796a7; border-radius: .4rem; background: #0c202a; color: #e6f8ff; text-decoration: none; }
.home-entry-actions a:first-child, .home-options [aria-current=true] { background: #acedf3; color: #071b24; font-weight: 800; }
.home-presets { margin: .95rem 0 0; }
.home-presets a { flex: 1 1 13rem; }
.home-kpis { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .65rem; }
.home-kpis article, .home-cost-example, .home-top-fares li, .home-month-empty { background: #11242f; border: 1px solid #2c5161; border-radius: .55rem; padding: .8rem; min-width: 0; }
.home-kpis strong { display: block; font-size: clamp(1.2rem,4vw,2rem); color: #a7f4fb; margin-top: .25rem; }
.home-top-fares { padding: 0; list-style: none; display: grid; gap: .55rem; }
.home-top-fares li { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(6rem,.6fr) minmax(10rem,1fr); align-items: center; gap: .65rem; }
.home-top-fares small, .home-top-fares a { display: block; }
.home-top-fares a { padding-block: .28rem; }
.home-months { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:start; gap:.9rem; }
.home-months .cal-month { margin:0; min-width:0; }
.home-month-nav { align-items:center; }
.home-month-nav label { display:inline-flex; gap:.4rem; align-items:center; }
.home-month-nav select { max-width:100%; min-height:2.5rem; }
.home-months .iq-heatmap a small { font-size: clamp(.52rem,1.2vw,.7rem); overflow-wrap:anywhere; }
.home-fold { margin-block:1.15rem; }
.home-fold > summary { cursor:pointer; padding: .8rem; font-weight:800; border:1px solid #406171; border-radius:.4rem; }
.home-fold section.block { margin-top:.7rem; }
.home-tiles { list-style:none; padding:0; display:grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,9rem),1fr)); gap:.55rem; }
.home-tiles a { display:block; min-height:44px; background:#0b2631; padding:.7rem; border:1px solid #416875; border-radius:.4rem; overflow-wrap:anywhere; }
.home-status { padding: .65rem 0; }
@media(max-width:850px) {
    .hero:has(.home-presets) .hero-copy h1 { font-size: clamp(1.65rem,6vw,2.8rem); max-width:30rem; }
    .hero:has(.home-presets) .hero-copy { padding-top:clamp(20px,6vw,45px); }
    .home-months { grid-template-columns:minmax(0,1fr); }
}
@media(max-width:550px) {
    .home-entry-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.45rem; }
    .home-entry-actions a { padding:.4rem .55rem; font-size:.8rem; }

    .home-kpis { gap:.4rem; }
    .home-kpis article { padding:.45rem; }
    .home-kpis span { font-size:.73rem; overflow-wrap:anywhere; }
    .home-top-fares li { grid-template-columns:minmax(0,1fr) auto; align-items:start; }
    .home-top-fares li > :last-child { grid-column:1/-1; display:flex; flex-wrap:wrap; gap:.3rem .85rem; }
    .home-top-fares a { min-height:44px; display:inline-flex; align-items:center; }
    .home-presets { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.45rem; }
    .home-presets a { min-width:0; font-size:.8rem; padding:.45rem .5rem; }
}

.hero:has(.home-presets) .cockpit-submit label { min-width:min(10rem,100%); }
