/* Maintenance phone, new layout only.
   One primary action, compact cards, and a queue chip.
   The attention row is not styled here. */

body.hub-v12.v12-maint-phone #mainContent {
  padding-bottom: 148px;
}

body.hub-v12.v12-maint-phone .mp-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 62px;
  z-index: 44;
  background: #fff;
  border-top: 1px solid var(--hub-line);
  padding: 8px 12px;
  box-shadow: 0 -4px 16px rgba(20, 30, 50, .05);
}
body.hub-v12.v12-maint-phone .mp-go,
body.hub-v12.v12-maint-phone label.mp-photo,
body.hub-v12.v12-maint-phone .fshot.mp-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 56px;
  margin: 0;
  border: 0;
  border-radius: 14px;
  background: var(--hub-action);
  color: #fff;
  font: inherit;
  font-size: 17px;
  font-weight: 750;
  cursor: pointer;
}
body.hub-v12.v12-maint-phone .mp-go:focus-visible,
body.hub-v12.v12-maint-phone label.mp-photo:focus-within,
body.hub-v12.v12-maint-phone .fshot.mp-photo:focus-within {
  outline: 3px solid var(--hub-action-d);
  outline-offset: 2px;
}
body.hub-v12.v12-maint-phone label.mp-photo {
  position: relative;
  margin: 8px 0;
}
body.hub-v12.v12-maint-phone label.mp-photo input,
body.hub-v12.v12-maint-phone .fshot.mp-photo input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
body.hub-v12.v12-maint-phone .fshot.mp-photo {
  min-height: 56px;
  border-radius: 14px;
}
body.hub-v12.v12-maint-phone .fshot.mp-photo span { font-size: 17px; }

body.hub-v12.v12-maint-phone .fw.task .fbar {
  bottom: 62px;
  z-index: 46;
}
body.hub-v12.v12-maint-phone #mainContent .fdone,
body.hub-v12.v12-maint-phone #mainContent .fshot.mp-photo,
body.hub-v12.v12-maint-phone #mainContent label.mp-photo,
body.hub-v12.v12-maint-phone #mainContent [data-opentask],
body.hub-v12.v12-maint-phone #mainContent #t_toggle {
  min-height: 56px;
}
body.hub-v12.v12-maint-phone .fw.task .fbar .fsecond { display: none; }

body.hub-v12.v12-maint-phone .mp-title {
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -.3px;
  margin: 0 0 6px;
}
body.hub-v12.v12-maint-phone .mp-chip,
body.hub-v12.v12-maint-phone .fnotice {
  display: inline-flex;
  align-items: center;
  width: auto;
  max-width: 100%;
  min-height: 0;
  margin: 0 0 8px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--hub-action-l);
  color: var(--hub-action);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}
body.hub-v12.v12-maint-phone .mp-chip.late,
body.hub-v12.v12-maint-phone .fcard.late .mp-chip.late { background: var(--hub-alert-l); color: var(--hub-alert); }
body.hub-v12.v12-maint-phone .mp-chip.hold,
body.hub-v12.v12-maint-phone .mp-chip.wait,
body.hub-v12.v12-maint-phone .fnotice { background: var(--hub-wait-l); color: var(--hub-wait); }
body.hub-v12.v12-maint-phone .mp-chip.ok { background: var(--hub-done-l); color: var(--hub-done); }

body.hub-v12.v12-maint-phone #hubV12Queue { margin: 0 0 8px; }
body.hub-v12.v12-maint-phone #hubV12Queue .v12-queue {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  width: auto;
  max-width: 100%;
  margin: 0;
  padding: 3px 8px 3px 10px;
  border-radius: 999px;
  background: var(--hub-wait-l);
  border: 1px solid var(--hub-wait-l);
  font-size: 13px;
}
body.hub-v12.v12-maint-phone #hubV12Queue .v12-queue b {
  display: inline;
  font-size: 13px;
  font-weight: 700;
  color: var(--hub-wait);
}
body.hub-v12.v12-maint-phone #hubV12Queue .v12-queue span,
body.hub-v12.v12-maint-phone #hubV12Queue .v12-queue small,
body.hub-v12.v12-maint-phone #hubV12Queue .v12-queue .secondary { display: none; }
body.hub-v12.v12-maint-phone #hubV12Queue .v12-queue .primary {
  min-height: 28px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
}

body.hub-v12.v12-maint-phone .v12-phone-tiles { display: none; }
body.hub-v12.v12-maint-phone #v12Home .v12-hero h1 { font-size: 22px; margin-bottom: 8px; }
body.hub-v12.v12-maint-phone #v12Home .v12-box {
  padding: 0;
  margin: 0 0 8px;
  border-radius: 14px;
  overflow: hidden;
}
body.hub-v12.v12-maint-phone #v12Home .v12-box header {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 56px;
  padding: 0 8px 0 4px;
}
body.hub-v12.v12-maint-phone #v12Home .v12-box .v12-fold {
  flex: 1;
  min-height: 56px;
  text-align: left;
}
body.hub-v12.v12-maint-phone #v12Home .v12-box.mp-shut .v12-box-body { display: none; }
body.hub-v12.v12-maint-phone #v12Home .v12-box .mp-count {
  margin-left: auto;
}
body.hub-v12.v12-maint-phone #v12Home .v12-lines {
  list-style: none;
  margin: 0;
  padding: 0 10px 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
body.hub-v12.v12-maint-phone #v12Home [data-v12-task] {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 56px;
  padding: 10px 12px;
  border: 1px solid var(--hub-line);
  border-radius: 14px;
  background: #fff;
  text-align: left;
  font-weight: 700;
  box-shadow: 0 1px 2px rgba(20, 30, 50, .05);
}
body.hub-v12.v12-maint-phone #v12Home [data-v12-task] .mp-chip { margin: 0 0 0 auto; }

body.hub-v12.v12-maint-phone .fcount {
  font-size: 15px;
  font-weight: 650;
  color: var(--hub-ink-muted);
  margin: 0 0 8px;
}
body.hub-v12.v12-maint-phone .fcard {
  min-height: 0;
  padding: 12px 14px;
  border-left-width: 0;
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(20, 30, 50, .05), 0 4px 14px rgba(20, 30, 50, .04);
}
body.hub-v12.v12-maint-phone .faddr { font-size: 17px; }
body.hub-v12.v12-maint-phone .fseg { min-height: 48px; }
body.hub-v12.v12-maint-phone .mp-fold {
  margin: 0 0 10px;
  border: 1px solid var(--hub-line);
  border-radius: 14px;
  background: #fff;
  padding: 0 12px 8px;
}
body.hub-v12.v12-maint-phone .mp-fold > summary {
  min-height: 48px;
  display: flex;
  align-items: center;
  font-weight: 700;
  cursor: pointer;
}
body.hub-v12.v12-maint-phone .mp-fold .fsegs { margin-top: 4px; }

body.hub-v12.v12-maint-phone .ia-head p,
body.hub-v12.v12-maint-phone .ia-classic,
body.hub-v12.v12-maint-phone .ia-tile small,
body.hub-v12.v12-maint-phone #v12InspectStart { display: none; }
body.hub-v12.v12-maint-phone .ia-tile {
  min-height: 72px;
  border-radius: 14px;
}
body.hub-v12.v12-maint-phone .ia-ip-card {
  min-height: 56px;
  border-radius: 14px;
}
body.hub-v12.v12-maint-phone .ia-tiles { grid-template-columns: 1fr; }

body.hub-v12.v12-maint-phone #tList table.v12-cardtable td[data-label="Who"] { display: none; }
body.hub-v12.v12-maint-phone #tList .mp-chip { margin-left: 8px; }
body.hub-v12.v12-maint-phone #tList [data-opentask] {
  min-height: 48px;
  width: 100%;
  border-radius: 12px;
}
body.hub-v12.v12-maint-phone #t_toggle {
  position: sticky;
  bottom: 0;
  min-height: 52px;
  width: 100%;
  background: var(--hub-action);
  color: #fff;
  border: 0;
  border-radius: 14px;
  font-weight: 750;
}

body.hub-v12.v12-maint-phone .calviews { display: none; }
body.hub-v12.v12-maint-phone .mp-card {
  border: 1px solid var(--hub-line);
  border-radius: 14px;
  padding: 12px;
  background: #fff;
  min-height: 56px;
}
body.hub-v12.v12-maint-phone .mp-openbtn {
  min-height: 48px;
  border-radius: 12px;
}

body.hub-v12.v12-maint-phone .v12-viewas { flex-wrap: wrap; }
body.hub-v12.v12-maint-phone .v12-viewas-text { min-width: 0; }

@media (max-width: 560px) {
  body.hub-v12.v12-maint-phone .fw,
  body.hub-v12.v12-maint-phone .ia-home,
  body.hub-v12.v12-maint-phone .v12-page { max-width: 100%; }
}
