/* The teacher's own day on the phone (js/ui-staff.js), in the same calm look as the Today tiles. */
@layer views {
  .glogo.mini { width: 26px; height: 26px; box-shadow: none; }
  .glogo.mini b { font-size: 13px; }

  /* the day card is the group's tile: colour stripe, picture, then the plain answer */
  .mcard.mtile { position: relative; overflow: hidden; display: grid; justify-items: center; text-align: center; gap: 2px;
    border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 18px 14px; }
  .mcard.mtile::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--gc); opacity: .85; }
  .mcard.mtile .glogo { margin-bottom: 8px; }
  .mcard.mtile h2 { margin: 0; }
  .mcard.mtile p { margin: 0; }
  .mcard.mtile.abs { background: var(--bg); border-color: var(--line); }
  .mcard.mtile.abs h2 { color: var(--red); }
  .mtile .mhome { font-size: 17px; font-weight: 600; color: var(--muted); }
  .mtile .mbig { font-size: 34px; margin: 0 0 6px; }
  .mtile .mnote { margin-top: 6px; }

  .mbar { position: relative; display: block; width: 100%; padding-bottom: 14px; margin-top: 4px; }
  .mtrack { position: relative; display: block; height: 12px; border-radius: 6px; background: #e8e3dc; overflow: hidden; }
  .mtrack s { position: absolute; top: 0; bottom: 0; text-decoration: none; }
  .mtrack s.work { background: color-mix(in srgb, var(--sc) 70%, white); }
  .mtrack s.break { background: repeating-linear-gradient(45deg, #ddd8d1 0 3px, #fff 3px 6px); }
  .mtrack s.plan { background: #fff; outline: 1px dashed #9aa3ad; outline-offset: -1px; }
  .mtrack s.absent { background: var(--redbg); }
  .mtrack i { position: absolute; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--navy); }
  .mhours { position: absolute; left: 0; right: 0; bottom: 0; height: 12px; }
  .mhours b { position: absolute; transform: translateX(-50%); font-size: 11px; font-weight: 500; color: #98a1ac; line-height: 12px; }

  /* the day list: calmer rows, the group picture instead of a dot */
  .mrows { border-radius: var(--radius-lg); }
  .mrow { min-height: 52px; padding: 8px 14px; box-shadow: inset 4px 0 0 var(--gc); }
  .mrow.now { background: #eef4fe; box-shadow: inset 4px 0 0 var(--blue); }
  .mwhat { gap: 4px 10px; }
  .mwhat .gdot { width: 26px; height: 10px; background: none; display: inline-grid; place-items: center; outline: 0; position: relative; }
  .mwhat .gdot::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: #9aa3af; }
  .mwhat .gdot.brk::after { background: var(--calm-sand); outline: 1px solid #cbbfae; }
  .mwhat .gdot.plan::after { background: #bfd6fb; outline: 1px solid #8fb6f5; }
  .mwhat .gdot.abs::after { background: var(--red); }

  button.mbtn { min-height: 56px; font-size: 18px; border-radius: var(--radius-lg); }
}
