/* The Launch Era — r83 focused iPad landscape/portrait dashboard refinement.
   No data, permissions, routes, desktop >=1101px or mobile <=680px changes. */
@media (min-width:681px) and (max-width:1100px) {
  html:is([data-dashboard-preview="bento"],:not([data-dashboard-preview="bento"])) body.shell-app #appShell .view[data-page="today"] #todayHeroCard {
    box-sizing:border-box!important;
    width:100%!important; height:auto!important; min-height:0!important;
    padding:15px clamp(16px,2.6vw,24px)!important;
    margin:0 0 4px!important;border-radius:23px!important;
    overflow:hidden!important;isolation:isolate;
    box-shadow:0 11px 28px rgba(32,46,56,.065),inset 0 1px rgba(255,255,255,.52)!important;
  }
  html:is([data-dashboard-preview="bento"],:not([data-dashboard-preview="bento"])) body.shell-app #appShell .view[data-page="today"] #todayHeroCard .hero-ecosystem {
    display:block!important; min-width:0!important; width:100%!important; 
    max-width:none!important; min-height:0!important;
  }
  html:is([data-dashboard-preview="bento"],:not([data-dashboard-preview="bento"])) body.shell-app #appShell .view[data-page="today"] #todayHeroCard .hero-greeting-zone {
    display:grid!important; min-width:0!important;width:100%!important;
    grid-template-columns:minmax(0,1.25fr) minmax(220px,.75fr)!important;
    grid-template-rows:auto auto auto auto!important;
    grid-template-areas:none!important;
    column-gap:clamp(14px,2.3vw,28px)!important;row-gap:8px!important;
    align-items:center!important;justify-items:stretch!important;
    padding:0!important;text-align:left!important;
  }
  html:is([data-dashboard-preview="bento"],:not([data-dashboard-preview="bento"])) body.shell-app #appShell .view[data-page="today"] #todayHeroCard .today-greeting-first{
    grid-area:auto!important;grid-column:1!important;grid-row:1/3!important;align-self:center!important;
    min-width:0!important;width:100%!important;margin:0!important;text-align:left!important;
  }
  html:is([data-dashboard-preview="bento"],:not([data-dashboard-preview="bento"])) body.shell-app #appShell .view[data-page="today"] #todayHeroCard #todayGreeting {
    max-width:100%!important;
    margin:0 0 5px!important;padding:0!important;
    font-family:"Prompt","Avenir Next","Segoe UI",sans-serif!important;
    font-size:clamp(24px,2.9vw,31px)!important;
    font-weight:600!important;letter-spacing:-.035em!important;
    line-height:1.18!important;text-wrap:balance!important;overflow-wrap:break-word;
    color:inherit!important;
  }
  html:is([data-dashboard-preview="bento"],:not([data-dashboard-preview="bento"])) body.shell-app #appShell .view[data-page="today"] #todayHeroCard #todayMomentCopy {
    max-width:100%!important;margin:0!important;
    font-family:"Avenir Next","Segoe UI",sans-serif!important;
    font-size:13px!important;line-height:1.46!important;
    font-weight:450!important;letter-spacing:0!important;opacity:.83!important;color:inherit!important;
  }
  html:is([data-dashboard-preview="bento"],:not([data-dashboard-preview="bento"])) body.shell-app #appShell .view[data-page="today"] #todayHeroCard .hero-card-topline{
    grid-area:auto!important;grid-column:2!important;grid-row:1!important;align-self:start!important;
    display:flex!important;justify-content:flex-end!important;align-items:flex-start!important;
    gap:8px!important;width:100%!important;min-height:0!important;margin:0!important;
  }
  html:is([data-dashboard-preview="bento"],:not([data-dashboard-preview="bento"])) body.shell-app #appShell .view[data-page="today"] #todayHeroCard .hero-sky-badge{
    display:none!important;/* Avoid decorative icon colliding with clock on portrait tablet. */
  }
  html:is([data-dashboard-preview="bento"],:not([data-dashboard-preview="bento"])) body.shell-app #appShell .view[data-page="today"] #todayHeroCard .today-clock {
    min-width:0!important;width:max-content!important;max-width:100%!important;
    margin:0!important;padding:7px 10px!important;border-radius:12px!important;
    text-align:left!important;background:rgba(255,255,255,.2)!important;
    box-shadow:inset 0 0 0 1px rgba(25,25,25,.09)!important;
  }
  html:is([data-dashboard-preview="bento"],:not([data-dashboard-preview="bento"])) body.shell-app #appShell .view[data-page="today"] #todayHeroCard .today-clock-copy strong {
    font-size:14px!important;line-height:1.22!important;font-weight:650!important;
    font-variant-numeric:tabular-nums;
  }
  html:is([data-dashboard-preview="bento"],:not([data-dashboard-preview="bento"])) body.shell-app #appShell .view[data-page="today"] #todayHeroCard .today-clock-copy small{
    font-size:10px!important;font-weight:500!important;line-height:1.35!important;
  }
  html:is([data-dashboard-preview="bento"],:not([data-dashboard-preview="bento"])) body.shell-app #appShell .view[data-page="today"] #todayHeroCard #todayHeroAction {
    grid-area:auto!important;grid-column:1!important;grid-row:3!important;
    align-self:center!important;justify-self:start!important;
    width:max-content!important;max-width:100%!important;
    min-height:43px!important;margin:0!important;padding:9px 15px!important;border-radius:12px!important;
    font-size:13px!important;line-height:1.3!important;font-weight:650!important;white-space:normal!important;
  }
  html:is([data-dashboard-preview="bento"],:not([data-dashboard-preview="bento"])) body.shell-app #appShell .view[data-page="today"] #todayHeroCard .weather-brief{
    grid-area:auto!important;grid-column:2!important;grid-row:2!important;
    width:100%!important;max-width:none!important;min-width:0!important;
    min-height:0!important;align-self:center!important;justify-self:stretch!important;
    margin:0!important;padding:10px 12px!important;border-radius:16px!important;
    background:rgba(255,255,255,.23)!important;
    box-shadow:inset 0 0 0 1px rgba(25,25,25,.075)!important;
    text-align:left!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
  }
  html:is([data-dashboard-preview="bento"],:not([data-dashboard-preview="bento"])) body.shell-app #appShell .view[data-page="today"] #todayHeroCard .weather-temp-row strong {
    font-size:26px!important;line-height:1.12!important;font-weight:650!important;
  }
  html:is([data-dashboard-preview="bento"],:not([data-dashboard-preview="bento"])) body.shell-app #appShell .view[data-page="today"] #todayHeroCard #weatherLocation{
    font-size:10px!important;line-height:1.25!important;letter-spacing:.07em!important;
  }
  html:is([data-dashboard-preview="bento"],:not([data-dashboard-preview="bento"])) body.shell-app #appShell .view[data-page="today"] #todayHeroCard .weather-condition-stack span{
    font-size:12px!important;line-height:1.3!important;
  }
  html:is([data-dashboard-preview="bento"],:not([data-dashboard-preview="bento"])) body.shell-app #appShell .view[data-page="today"] #todayHeroCard .weather-condition-stack small{
    font-size:10px!important;
  }
  html:is([data-dashboard-preview="bento"],:not([data-dashboard-preview="bento"])) body.shell-app #appShell .view[data-page="today"] #todayHeroCard .hero-weather-alert{
    grid-area:auto!important;grid-column:2!important;grid-row:3!important;
    width:100%!important;max-width:none!important;min-width:0!important;
    align-self:start!important;justify-self:stretch!important;
    margin:0!important;padding:0 4px!important;
    font-size:11px!important;line-height:1.35!important;
  }
  html:is([data-dashboard-preview="bento"],:not([data-dashboard-preview="bento"])) body.shell-app #appShell .view[data-page="today"] #todayHeroCard .hero-route-chip{
    grid-area:auto!important;grid-column:1/-1!important;grid-row:4!important;
    justify-self:start!important;position:relative!important;inset:auto!important;
    margin:0!important;max-width:100%!important;
  }
  /* Make business numbers and action cards readable instead of 9–10px UI. */
  html[data-dashboard-preview="bento"] body.shell-app #appShell .view[data-page="today"] .pulse-card{
    min-height:93px!important;padding:13px 15px!important;
  }
  html[data-dashboard-preview="bento"] body.shell-app #appShell .view[data-page="today"] .pulse-card>span{
    font-size:12px!important;line-height:1.35!important;
  }
  html[data-dashboard-preview="bento"] body.shell-app #appShell .view[data-page="today"] .pulse-card>strong{
    font-size:26px!important;line-height:1.08!important;margin:5px 0 4px!important;
  }
  html[data-dashboard-preview="bento"] body.shell-app #appShell .view[data-page="today"] .pulse-card>small{
    font-size:11px!important;line-height:1.35!important;
  }
  html[data-dashboard-preview="bento"] body.shell-app #appShell .view[data-page="today"] :is(.bento-activity-card,.next-move-panel,.schedule-panel){
    min-width:0!important;
  }
  html[data-dashboard-preview="bento"] body.shell-app #appShell .view[data-page="today"] .bento-activity-card .bento-bar-track{
    height:64px!important;
  }
  html[data-dashboard-preview="bento"] body.shell-app #appShell .view[data-page="today"] .bento-activity-card .bento-bar-column small{
    font-size:11px!important;
  }
  html[data-dashboard-preview="bento"] body.shell-app #appShell .view[data-page="today"] .next-move-panel h3{
    font-size:17px!important;line-height:1.25!important;
  }
  html[data-dashboard-preview="bento"] body.shell-app #appShell .view[data-page="today"] .next-move-panel p:not(.eyebrow){
    font-size:12px!important;line-height:1.5!important;
  }
}
/* Portrait tablet keeps the navigable drawer; prevent bottom nav from obscuring final cards. */
@media (min-width:681px) and (max-width:860px) {
  body.shell-app #appShell>.main{
    padding-bottom:calc(124px + env(safe-area-inset-bottom))!important;
    scroll-padding-bottom:calc(124px + env(safe-area-inset-bottom))!important;
  }
  html body.shell-app #appShell .mobile-bottom-nav{
    min-height:65px!important;
  }
  html body.shell-app #appShell #sidebar.sidebar.open{
    visibility:visible!important;opacity:1!important;pointer-events:auto!important;
    transform:none!important;-webkit-transform:none!important;z-index:1002!important;
  }
}
