/* V799u guarded UI patch — loaded after V799s phone branding.
   Scope: landscape phone chevron restoration and authored Overview header insets only.
   D1-backed colours are read from the existing --accentText variable. */

/* The landscape side-rail uses the established font chevron. V799s phone
   branding accidentally painted its pseudo-element background, producing a
   solid bar. Keep the glyph background-free while retaining the D1 Accent. */
@media (max-width:980px) and (orientation:landscape) and (pointer:coarse){
  html body.responsiveWorkspaceV799f:not(.touchscreenMode) #expoPlanitPanelToggleProxyV799f::before{
    background:transparent!important;
    color:var(--accentText,#D56D32)!important;
    -webkit-text-fill-color:currentColor!important;
  }

  /* Authored Overview header: restore comfortable card-edge insets without
     changing grid columns, card height, plan area or rail geometry. */
  html body.fpAuthoredOverviewV799i.responsiveWorkspaceV799f:not(.touchscreenMode) #planCard .fpOverviewInstructionV799i{
    box-sizing:border-box!important;
    padding-left:14px!important;
  }
  html body.fpAuthoredOverviewV799i.responsiveWorkspaceV799f.adminHeaderControlsMode:not(.touchscreenMode) #planCard .expoPlanitStripBrand,
  html body.fpAuthoredOverviewV799i.responsiveWorkspaceV799f.viewerHeaderControlsMode:not(.touchscreenMode) #planCard .expoPlanitStripBrand,
  html body.fpAuthoredOverviewV799i.responsiveWorkspaceV799f.publicHeaderControlsMode:not(.touchscreenMode) #planCard .expoPlanitPublicHeaderBrand{
    box-sizing:border-box!important;
    padding-right:14px!important;
  }
}
