/* phone.css v5 — loaded ONLY on phones / small screens (max-width 760px).
   The office PC screens are not affected. In the phone app it:
   1. makes the top green header strip collapsible: one line by default, arrow on the right;
      tap the arrow / strip to expand the details, tap again to return to one line (phone.js);
   2. makes each home label box collapsible: small by default, arrow on the right;
   3. reduces the green/teal colour (header, bottom bar, clock, label boxes). */
@media (max-width:760px){
  :root{
    --brand:#2f3b47;
    --brand-2:#56636f;
    --brand-soft:#eef1f4;
  }

  /* ---- date chip at the top right is hidden on phones (date and time are already on the home screen) ---- */
  .top .datebox{display:none!important}

  /* ---- top header strip: one line by default, expands on tap ---- */
  .tstrip{position:relative;background:#3a4652!important;color:#e3e8ec!important;
    white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
    font-size:12px!important;line-height:1.3!important;padding:6px 34px 6px 12px!important;cursor:pointer}
  .tstrip::after{content:'\25B8';position:absolute;right:12px;top:50%;transform:translateY(-50%);font-size:16px;color:#e3e8ec;line-height:1}
  .tstrip.topen{white-space:normal!important;overflow:visible!important;font-size:13px!important;line-height:1.45!important;padding:10px 34px 10px 12px!important}
  .tstrip.topen::after{content:'\25BE'}
  .tstrip a{color:#ffffff}
  .verstrip{background:rgba(255,255,255,.12)!important;color:#ffffff!important}
  .top h1{background:#56636f!important;color:#ffffff!important}

  /* ---- bottom menu bar (Home / Back / Find / Refresh) ---- */
  .pnav{background:#3a4652!important}

  /* ---- home screen: clock and company colour ---- */
  .wclock{color:#2f3b47!important}

  /* ---- label boxes: white, grey text, no green ---- */
  .wgrid .wrow,
  .homefit .wrow,
  .wrow.hl,
  .wrow.okw,
  .wrow.badw,
  .wrow.verrow{background:#ffffff!important;border-color:#d6dde0!important}
  .wrow span{color:#5b6670!important}
  .wrow b,
  .wrow.hl b,
  .wrow.okw b,
  .wrow.badw b,
  .wrow.verrow b{color:#1f2933!important}
  .wrow.verrow b{color:#2f3b47!important}
  .wrow.verrow:hover{border-color:#b8c2c8!important}

  /* ---- collapsible home label boxes (not the version box) ---- */
  .wgrid .wrow:not(.verrow){position:relative;cursor:pointer;padding:6px 34px 6px 12px!important;justify-content:center}
  .wgrid .wrow:not(.verrow)::after{content:'\25B8';position:absolute;right:12px;top:50%;transform:translateY(-50%);font-size:16px;color:#5b6670;line-height:1}
  .wgrid .wrow:not(.verrow).wopen::after{content:'\25BE'}
  .wgrid .wrow:not(.verrow) span{font-size:12px!important;font-weight:600}
  .wgrid .wrow:not(.verrow) b{display:none}
  .wgrid .wrow:not(.verrow).wopen{padding:8px 34px 8px 12px!important;justify-content:flex-start}
  .wgrid .wrow:not(.verrow).wopen b{display:block}
  .wgrid .wrow:not(.verrow).wopen span{font-size:11px!important}
}
