.phone-hub-heading,.phone-questions { display:none; }
@media(max-width:520px) {
  /* No fixed layers covering the tasks or map on a phone. */
  body.visual-home,body.visual-home.has-plan-dock { padding-bottom:env(safe-area-inset-bottom,0px); }
  .visual-home .global-plan-dock,.visual-home .home-scroll-cue { display:none!important; }
  .visual-home .story-bottom { display:none; }
  .visual-home .plan-basket { position:static; top:auto; }
  .visual-home .local-discovery { padding:14px; margin:16px 12px; border-radius:20px; }
  .phone-hub-heading { display:block; padding:4px 2px 12px; }
  .phone-hub-heading h2 { margin:0 0 6px; font-size:1.4rem; line-height:1.25; }
  .phone-hub-heading p { margin:0; font-size:1rem; }
  .phone-hub .finder-disclosure,.phone-section { border:2px solid #b4c9d6; border-radius:14px; background:#fff; overflow:hidden; margin:0 0 12px; }
  .phone-hub .finder-disclosure>summary,.phone-section>summary { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:16px; min-height:64px; list-style:none; cursor:pointer; background:#eef6fa; font-size:1.0625rem; line-height:1.35; font-weight:800; }
  .phone-section>summary::-webkit-details-marker,.phone-hub .finder-disclosure>summary::-webkit-details-marker { display:none; }
  .phone-hub .finder-disclosure>summary>span { display:none; }
  .phone-section>summary::after,.phone-hub .finder-disclosure>summary::after { content:'+'; font-size:1.5rem; flex-shrink:0; }
  .phone-section[open]>summary::after,.phone-hub .finder-disclosure[open]>summary::after { content:'−'; }
  .phone-section>summary strong,.phone-section>summary small { display:block; }
  .phone-section>summary small { font-size:1rem; font-weight:500; color:#405a6a; margin-top:4px; }
  .phone-section>summary:focus-visible,.phone-questions summary:focus-visible { outline:3px solid #1769aa; outline-offset:-4px; }
  .home-main>.phone-section { margin:12px; }
  .home-main>.phone-section>section,.home-main>.phone-section>div { margin:0; }
  .phone-questions { display:block; padding:14px; }
  .phone-questions h3 { margin:0 0 10px; font-size:1.125rem; }
  .phone-questions details { border-bottom:1px solid #c8d8e0; }
  .phone-questions summary { padding:14px 0; min-height:48px; font-size:1rem; font-weight:800; cursor:pointer; }
  .phone-questions p { font-size:1rem; line-height:1.5; margin:4px 0 12px; }
  .phone-questions a { display:inline-flex; align-items:center; min-height:48px; font-size:1rem; font-weight:750; color:#155e36; }
  .phone-hub .home-map-panel { display:flex; flex-direction:column; gap:12px; padding:12px; }
  .phone-hub .map-section-heading { display:block; }
  .phone-hub .map-section-heading .eyebrow,.phone-hub .map-section-heading p { display:none; }
  .phone-hub .map-section-heading h2 { margin:0; font-size:1.375rem; }
  .phone-hub .home-map-panel .map-card { flex:none; }
  .easy-experience .phone-hub .home-map-panel .map-card:not(.expanded) { height:360px; }
  .phone-hub .live-places { margin:0; padding:12px; }
  .phone-hub .live-places-head { display:block; }
  .phone-hub .live-places-head h3 { margin:6px 0; font-size:1.25rem; }
  .phone-hub .live-places-head p { font-size:1rem; line-height:1.45; margin:8px 0; }
  .phone-hub .live-places-head .eyebrow { display:none; }
  .phone-hub .live-place-actions { display:flex; gap:8px; margin:10px 0; }
  .phone-hub .live-place-actions button { flex:1; padding:8px; font-size:1rem; min-height:48px; }
  .phone-hub .nearby-discovery-actions { gap:8px; margin:10px 0; }
  .phone-hub .nearby-discovery-actions button { padding:10px; font-size:1rem; min-height:48px; }
  .phone-hub .place-filters { gap:6px; margin:10px 0; }
  .phone-hub .place-filter { padding:8px; font-size:1rem; }
  .phone-hub .finder-disclosure .finder { padding:14px; }
  .phone-hub .finder-head h2 { font-size:1.375rem; }
  .phone-hub .finder-head { margin-bottom:12px; }
  .phone-hub .nearby-plan { margin:0; }
}

/* A sideways phone needs one small plan row, with details opened on demand. */
@media (orientation:landscape) and (max-height:520px) and (max-width:1024px) {
  .visual-home .home-scroll-cue { display:none!important; }
  .visual-home.has-plan-dock { padding-bottom:calc(76px + env(safe-area-inset-bottom,0px)); }
  .visual-home .global-plan-dock {
    bottom:calc(6px + env(safe-area-inset-bottom,0px));
    width:min(600px,calc(100% - 32px - env(safe-area-inset-left,0px) - env(safe-area-inset-right,0px)));
  }
  .visual-home .global-plan-dock .plan-basket {
    position:relative; display:grid; grid-template-columns:36px minmax(0,1fr) auto;
    align-items:center; gap:12px; padding:6px 10px; border-radius:12px;
  }
  .visual-home .global-plan-dock .plan-basket-top { display:contents; }
  .visual-home .global-plan-dock .plan-basket-icon { display:grid; grid-column:1; grid-row:1; width:36px; height:36px; }
  .visual-home .global-plan-dock .plan-basket-copy { display:none; }
  .visual-home .global-plan-dock .plan-basket-continue {
    grid-column:3; grid-row:1; min-height:44px; padding:8px 14px; font-size:1rem;
  }
  .visual-home .global-plan-dock .plan-basket-details { grid-column:2; grid-row:1; margin:0; min-width:0; }
  .visual-home .global-plan-dock .plan-basket-details summary {
    min-height:44px; padding:10px 0; box-sizing:border-box; font-size:1rem; line-height:24px;
  }
  .visual-home .global-plan-dock .plan-basket-items {
    position:absolute; bottom:calc(100% + 8px); left:0; right:0;
    max-height:45dvh; overflow-y:auto; overscroll-behavior:contain;
    padding:10px; background:#f1ffe6; border:2px solid #448435; border-radius:12px;
    box-shadow:0 6px 24px #082d4a33;
  }
  .visual-home .global-plan-dock .plan-basket-details summary:focus-visible { outline:3px solid #1769aa; outline-offset:2px; }
}
