/* New-layout phone. White page, rounded cards, blue primary buttons.
   Only body.hub-v12.v12-phone. Classic and desktop are unchanged. */

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("fonts/source-sans-3-latin.woff2") format("woff2");
}

body.hub-v12.v12-phone,
body.hub-v12.v12-phone button,
body.hub-v12.v12-phone input,
body.hub-v12.v12-phone textarea,
body.hub-v12.v12-phone select,
body.hub-v12.v12-phone a {
  font-family: "Source Sans 3", "Source Sans Pro", sans-serif;
}

body.hub-v12.v12-phone:not(.field-face) .v12-ico {
  fill: currentColor;
  stroke: none;
  stroke-width: 0;
}
body.hub-v12.v12-phone:not(.field-face) .v12-ico.v12-line,
body.hub-v12.v12-phone:not(.field-face) .v12-ico.v12-line * {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.hub-v12.v12-phone {
  --ops-blue: var(--hub-action);
  --ops-blue-d: var(--hub-action-d);
  --ops-ink: var(--hub-ink);
  --ops-muted: var(--hub-ink-muted);
  --ops-line: var(--hub-line);
  --ops-red: var(--hub-alert);
  --ops-green: var(--hub-done);
  --ops-amber: var(--hub-wait);
  --ops-card: #fff;
  background: var(--hub-canvas);
}

body.hub-v12.v12-phone:not(.field-face) #v12PhoneTop {
  background: var(--hub-navy);
  color: #fff;
  border-bottom: 0;
  height: calc(48px + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) 16px 0 18px;
  gap: 8px;
}
body.hub-v12.v12-phone:not(.field-face) .v12-phone-logo {
  background: var(--hub-action);
  color: #fff;
  width: 34px;
  height: 32px;
  margin: 0;
  border-radius: 8px;
  font-weight: 800;
  font-size: 11px;
}
body.hub-v12.v12-phone:not(.field-face) #v12PhoneTop .v12-phone-title {
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -.2px;
}
body.hub-v12.v12-phone:not(.field-face) #v12PhoneTop .v12-sync .v12-ico { display: none; }
body.hub-v12.v12-phone:not(.field-face) #v12PhoneTop .v12-sync.ok::before,
body.hub-v12.v12-phone:not(.field-face) #v12PhoneTop .v12-sync.synced::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hub-done-bright);
  flex: none;
}
body.hub-v12.v12-phone:not(.field-face) #v12PhoneTop .v12-sync.ok,
body.hub-v12.v12-phone:not(.field-face) #v12PhoneTop .v12-sync.synced {
  background: var(--hub-navy);
  color: var(--hub-done-bright);
  height: 20px !important;
  min-height: 20px !important;
  border-radius: 999px;
  padding: 0 8px;
  max-width: none;
  font-size: 11.5px;
  font-weight: 600;
  gap: 5px;
}
body.hub-v12.v12-phone.v12-no-sync #v12Sync { display: none !important; }
body.hub-v12.v12-phone:not(.field-face) #v12PhoneTop .v12-user {
  background: var(--hub-navy);
  border: 2px solid var(--hub-line);
  box-sizing: border-box;
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  color: #fff;
}
body.hub-v12.v12-phone:not(.field-face) #v12PhoneTop .v12-av {
  background: transparent;
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  font-size: 12px;
}
body.hub-v12.v12-phone .v12-bell {
  display: none !important;
}
body.hub-v12.v12-phone .v12-bell .v12-ico { width: 22px; height: 22px; }
body.hub-v12.v12-phone .v12-bell-badge {
  position: absolute;
  top: 2px;
  right: 0;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--ops-red);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 16px;
  font-style: normal;
}
body.hub-v12.v12-phone .v12-bell-badge[hidden] { display: none !important; }

body.hub-v12.v12-phone #v12PhoneBar {
  background: #fff;
  border-top: 1px solid var(--ops-line);
  box-shadow: 0 -4px 16px rgba(20, 30, 50, .06);
}
body.hub-v12.v12-phone:not(.field-face) #v12PhoneBar button { color: var(--hub-ink-muted); font-size: 11px; font-weight: 600; min-height: 50px; }
body.hub-v12.v12-phone:not(.field-face) #v12PhoneBar .v12-ico { width: 22px; height: 22px; }
body.hub-v12.v12-phone:not(.field-face) #v12PhoneBar button.on {
  color: var(--hub-action);
  font-weight: 700;
}
body.hub-v12.v12-phone:not(.field-face) #v12PhoneBar button.on::before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 30%;
  right: 30%;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--hub-action);
}

body.hub-v12.v12-phone main#mainContent {
  background: var(--hub-canvas);
}
body.hub-v12.v12-phone main#mainContent .card,
body.hub-v12.v12-phone .ops-card {
  background: var(--ops-card);
  border: 0;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(20, 30, 50, .06);
  color: var(--ops-ink);
}
body.hub-v12.v12-phone button.primary,
body.hub-v12.v12-phone .ops-primary,
body.hub-v12.v12-phone .sheet-go {
  background: var(--hub-action);
  border: 0;
  color: #fff;
  border-radius: 14px;
  min-height: 48px;
  width: 100%;
  font-weight: 700;
}
body.hub-v12.v12-phone button.secondary,
body.hub-v12.v12-phone .ops-secondary {
  background: #fff;
  color: var(--ops-blue);
  border: 1.5px solid var(--ops-blue);
  border-radius: 14px;
  min-height: 48px;
  width: 100%;
  font-weight: 700;
}

.ops { display: flex; flex-direction: column; gap: 12px; padding-bottom: 96px; color: var(--ops-ink); }
.ops:has(.ops-sticky) { padding-bottom: 128px; }
.ops h1 { margin: 0; font-size: 1.45rem; line-height: 1.15; color: var(--ops-ink); }
.ops .ops-sub { margin: 4px 0 0; color: var(--ops-muted); font-size: 15px; }
.ops-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ops-chip, .ops-pill {
  display: inline-flex; align-items: center; gap: 4px;
  border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 700;
  background: var(--hub-canvas); color: var(--hub-ink-muted);
}
.ops-chip.red, .ops-pill.red { background: var(--hub-alert-l); color: var(--ops-red); }
.ops-chip.blue, .ops-pill.blue { background: var(--hub-action-l); color: var(--ops-blue); }
.ops-chip.green, .ops-pill.green { background: var(--hub-done-l); color: var(--ops-green); }
.ops-chip.amber, .ops-pill.amber { background: var(--hub-wait-l); color: var(--hub-wait); }
.ops-chip.gray, .ops-pill.gray { background: var(--hub-canvas); color: var(--hub-ink-muted); }
.ops-date { background: #fff; border-radius: 999px; padding: 6px 12px; font-weight: 700; box-shadow: 0 4px 12px rgba(20,30,50,.05); }

.ops-card {
  background: #fff; border-radius: 16px; padding: 14px;
  box-shadow: 0 8px 24px rgba(20, 30, 50, .06); position: relative; overflow: hidden;
}
.ops-card.stripe { padding-left: 16px; }
.ops-card.stripe::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 5px;
}
.ops-card.stripe.red::before { background: var(--ops-red); }
.ops-card.stripe.blue::before { background: var(--ops-blue); }
.ops-card.stripe.green::before { background: var(--ops-green); }
.ops-card.stripe.amber::before { background: var(--hub-wait); }
.ops-time { font-size: 1.35rem; font-weight: 800; margin: 0; }
.ops-title { font-size: 1.05rem; font-weight: 750; margin: 4px 0; }
.ops-meta { color: var(--ops-muted); font-size: 14px; margin: 2px 0; }
.ops-job { display: grid; grid-template-columns: 1fr 72px; gap: 10px; }
.ops-thumb {
  width: 72px; height: 72px; border-radius: 12px; background: var(--hub-canvas) center/cover no-repeat;
}
.ops-thumb-icon {
  display: grid; place-items: center; color: var(--hub-ink-muted); background: var(--hub-canvas);
}
.ops-thumb-icon .v12-ico { width: 28px; height: 28px; }
.ops-thumb-wide { width: 100%; height: 120px; }
.ops-pin, .ops-call {
  display: inline-flex; align-items: center; gap: 4px;
}
.ops-pin .v12-ico { width: 14px; height: 14px; flex: none; color: var(--ops-muted); }
.ops-callrow {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 4px;
}
.ops-call {
  margin-left: auto; color: var(--ops-blue); font-weight: 700; text-decoration: none; white-space: nowrap;
}
.ops-call .v12-ico { width: 16px; height: 16px; }
.ops-link { color: var(--ops-blue); font-weight: 650; background: none; border: 0; padding: 0; text-decoration: none; }
.ops-viewall { color: var(--ops-blue); font-weight: 700; background: none; border: 0; }

.ops-ask {
  display: flex; align-items: center; gap: 10px; width: 100%;
  background: #fff; border: 0; border-radius: 16px; min-height: 68px; padding: 10px 8px 10px 14px;
  box-shadow: 0 8px 24px rgba(20, 30, 50, .06); color: var(--ops-muted); font-size: 16px; text-align: left;
}
.ops-spark { color: var(--ops-blue); width: 28px; height: 28px; display: grid; place-items: center; flex: none; }
.ops-spark .v12-ico { width: 22px; height: 22px; }
.ops-ask-copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ops-ask b { color: var(--ops-ink); font-weight: 750; font-size: 15px; }
.ops-ask small { color: var(--ops-muted); font-size: 13px; font-weight: 500; }
.ops-mic {
  margin-left: auto; width: 44px; height: 44px; border-radius: 50%; flex: none;
  background: var(--ops-blue); color: #fff; display: grid; place-items: center;
}
.ops-mic .v12-ico { width: 20px; height: 20px; }

.ops-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.ops-tile {
  background: #fff; border: 0; border-radius: 16px; min-height: 76px;
  box-shadow: 0 6px 16px rgba(20,30,50,.05); font-size: 12px; font-weight: 700; color: var(--ops-ink);
}
.ops-tile span { display: block; font-size: 18px; margin-bottom: 4px; }
.ops-banner {
  background: var(--hub-progress-l); color: var(--hub-action-d); border-radius: 14px; padding: 12px 14px; font-weight: 700;
}
.ops-banner.amber { background: var(--hub-wait-l); color: var(--hub-wait); }
.ops-search {
  width: 100%; box-sizing: border-box; border: 0; border-radius: 14px; min-height: 48px;
  padding: 0 14px; background: #fff; box-shadow: 0 6px 16px rgba(20,30,50,.05); font-size: 16px;
}
.ops-seg, .ops-chips { display: flex; gap: 8px; overflow: auto; }
.ops-seg button, .ops-chips button {
  border: 0; background: #fff; border-radius: 999px; min-height: 36px; padding: 0 12px;
  font-weight: 700; color: var(--ops-muted); white-space: nowrap;
}
.ops-seg button.on, .ops-chips button.on { background: var(--ops-blue); color: #fff; }
.ops-pair {
  display: grid; grid-template-columns: 1fr 1fr; background: #fff; border-radius: 14px; overflow: hidden;
  box-shadow: 0 6px 16px rgba(20,30,50,.05);
}
.ops-pair button {
  border: 0; background: #fff; min-height: 58px; padding: 8px 6px; color: var(--ops-ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
}
.ops-pair button b { font-size: 15px; font-weight: 800; }
.ops-pair button small { font-size: 11px; color: var(--ops-muted); font-weight: 650; }
.ops-pair button + button { box-shadow: inset 1px 0 0 var(--ops-line); }
.ops-pair button.on { background: var(--hub-ink); color: #fff; }
.ops-pair button.on small { color: var(--hub-line-strong); }
.ops-pair button.on + button, .ops-pair button + button.on { box-shadow: none; }
.ops-counts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ops-count { background: #fff; border-radius: 16px; padding: 12px; text-align: center; box-shadow: 0 6px 16px rgba(20,30,50,.05); }
.ops-count b { display: block; font-size: 1.4rem; }
.ops-count.green b { color: var(--ops-green); }
.ops-count.blue b { color: var(--ops-blue); }
.ops-count.amber b { color: var(--hub-wait); }
.ops-hero { height: 180px; border-radius: 16px; background: var(--hub-canvas) center/cover no-repeat; position: relative; color: var(--hub-ink-muted); }
.ops-hero.ops-thumb-icon .v12-ico { width: 42px; height: 42px; }
.ops-hero i { position: absolute; right: 10px; bottom: 10px; background: rgba(0,0,0,.55); color: #fff; border-radius: 999px; padding: 4px 8px; font-style: normal; font-size: 12px; }
.ops-field { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--ops-muted); }
.ops-field input, .ops-field select {
  min-height: 48px; border: 1px solid var(--ops-line); border-radius: 12px; padding: 0 12px; font-size: 16px; background: #fff; color: var(--ops-ink);
}
.ops-sticky {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(74px + env(safe-area-inset-bottom));
  z-index: 40;
}
.ops-check { display: flex; gap: 8px; align-items: flex-start; }
.ops-check input { width: 22px; height: 22px; margin-top: 2px; }
.ops-vendor { display: block; font-size: 1.12rem; font-weight: 800; color: var(--ops-ink); line-height: 1.2; }
.ops-amount { font-size: 1.7rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.ops-tool {
  width: 100%; display: grid; grid-template-columns: 40px 1fr 18px; align-items: center; gap: 10px;
  background: #fff; border: 0; border-radius: 16px; min-height: 68px; padding: 10px 12px; text-align: left;
  box-shadow: 0 6px 16px rgba(20,30,50,.05); color: var(--ops-ink);
}
.ops-tool-ico {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
}
.ops-tool-ico .v12-ico { width: 20px; height: 20px; }
.ops-tool-ico.blue { background: var(--hub-action-l); color: var(--ops-blue); }
.ops-tool-ico.amber { background: var(--hub-wait-l); color: var(--hub-wait); }
.ops-tool-ico.green { background: var(--hub-done-l); color: var(--ops-green); }
.ops-tool-copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ops-tool-copy b { font-size: 15px; font-weight: 750; }
.ops-tool-copy small { color: var(--ops-muted); font-size: 13px; font-weight: 500; }
.ops-chev { color: var(--hub-off); display: grid; place-items: center; }
.ops-chev .v12-ico { width: 18px; height: 18px; }
.ops-week { display: flex; gap: 6px; overflow: auto; }
.ops-day {
  min-width: 44px; height: 64px; border: 0; border-radius: 14px; background: #fff; font-weight: 700;
}
.ops-day.on { background: var(--ops-blue); color: #fff; }
.ops-cal { display: grid; grid-template-columns: 64px 1fr; gap: 8px; align-items: start; }
.ops-badge {
  display: inline-flex; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
  background: var(--ops-red); color: #fff; font-size: 11px; font-weight: 800; align-items: center; justify-content: center;
}
.ops-listbtn {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  background: #fff; border: 0; border-radius: 14px; min-height: 52px; padding: 0 14px; font-weight: 700;
  box-shadow: 0 6px 16px rgba(20,30,50,.05);
}
.ops-photoadd { display: grid; grid-template-columns: 1fr; gap: 8px; }
.ops-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ops-grid .ops-thumb { width: 100%; height: 88px; position: relative; }
.ops-x { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: #fff; font-weight: 800; }
.ops-note { font-size: 14px; }
.ops-note small { color: var(--ops-muted); }
.ops-back { background: none; border: 0; color: var(--ops-blue); font-weight: 700; padding: 0; min-height: 36px; }
.ops-head { display: flex; align-items: center; gap: 8px; }
.ops-limit { background: var(--hub-wait-l); color: var(--hub-wait); border-radius: 12px; padding: 10px 12px; font-size: 13px; }

/* The same white cards and blue actions on screens this file does not redraw. */
body.hub-v12.v12-phone #hubVersionChip {
  bottom: calc(78px + env(safe-area-inset-bottom));
}
body.hub-v12.v12-phone .v12-phone-tile .v12-ico,
body.hub-v12.v12-phone .v12-pm-chips button.on,
body.hub-v12.v12-phone .mp-go,
body.hub-v12.v12-phone label.mp-photo,
body.hub-v12.v12-phone .fshot.mp-photo,
body.hub-v12.v12-phone .v12-pm-sticky .v12-pm-primary,
body.hub-v12.v12-phone #dtPlan.b12pri,
body.hub-v12.v12-phone #addRuleBtn.b12pri,
body.hub-v12.v12-phone #printQueuedBtn.b12pri {
  background: var(--ops-blue);
  border-color: var(--ops-blue);
  color: #fff;
}
body.hub-v12.v12-phone .v12-phone-tile .v12-ico {
  background: transparent;
  color: var(--ops-blue);
}
body.hub-v12.v12-phone .v12-pm,
body.hub-v12.v12-phone .v12-page {
  color: var(--ops-ink);
}
body.hub-v12.v12-phone .v12-pm h2,
body.hub-v12.v12-phone .v12-page h2,
body.hub-v12.v12-phone #mainContent h2 {
  color: var(--ops-ink);
  font-weight: 750;
}
body.hub-v12.v12-phone .v12-pm-chips button.on {
  background: var(--ops-blue);
  border-color: var(--ops-blue);
  color: #fff;
}

/* Sheets. The six screens match the design images. */
body.hub-v12.v12-phone:not(.field-face) #mainContent {
  padding-top: calc(50px + env(safe-area-inset-top));
  padding-bottom: calc(54px + env(safe-area-inset-bottom));
  background: var(--hub-action-l);
}
body.hub-v12.v12-phone:not(.field-face) #mainContent:has(.ops.sheet) {
  padding: calc(50px + env(safe-area-inset-top)) 16px calc(54px + env(safe-area-inset-bottom));
}

.ops.sheet { gap: 10px; padding-bottom: 8px; }
.ops.sheet[data-sheet="detail"] { padding-bottom: 140px; }
.ops.sheet[data-sheet="today"] { gap: 4px; }
.ops.sheet[data-sheet="jobs"] { gap: 6px; }
.ops.sheet[data-sheet="requests"] { gap: 8px; }
.sheet h1 { font-size: 30px; font-weight: 700; letter-spacing: -.4px; line-height: 1.1; margin: 8px 0 0; }
.sheet-search {
  width: 100%; box-sizing: border-box; border: 0; border-radius: 12px; height: 40px; min-height: 40px;
  padding: 0 12px 0 40px; background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='%233A4250'><path d='M15.5 14h-.79l-.28-.27A6.47 6.47 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z'/></svg>") 12px 50% no-repeat;
  box-shadow: 0 1px 2px rgba(20,30,50,.04); font-size: 14px; color: var(--hub-ink); font-family: "Source Sans 3", sans-serif;
}
.sheet-search::placeholder { color: var(--hub-off); font-weight: 400; }

.sheet-pills { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.sheet-pills button {
  border: 1.5px solid transparent; background: var(--hub-line); color: var(--hub-ink-muted); border-radius: 999px;
  height: 30px; min-height: 30px; padding: 0 4px; font-weight: 400; font-size: 13px; white-space: nowrap; width: 100%;
}
.sheet-pills button.on { background: var(--hub-action-l); color: var(--hub-action); border-color: var(--hub-action); font-weight: 600; }

.sheet-job, .sheet-card, .sheet-row, .sheet-bill, .sheet-list {
  background: #fff; border-radius: 16px; padding: 12px; box-shadow: 0 2px 8px rgba(20,30,50,.05);
  border: 1px solid var(--hub-canvas);
}
.sheet-job-top, .sheet-row-top { display: grid; grid-template-columns: 64px 1fr 16px; gap: 6px; align-items: stretch; }
.sheet[data-sheet="jobs"] .sheet-job-top { grid-template-columns: 52px 1fr 16px; gap: 4px; }
.sheet[data-sheet="jobs"] .sheet-job { padding: 8px 10px; }
.sheet[data-sheet="jobs"] .sheet-time {
  border-right: 1px solid var(--hub-line); padding-right: 8px; margin-right: 0;
}
.sheet-time { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; color: var(--hub-ink); }
.sheet-time b { font-size: 16px; line-height: 1.1; font-weight: 700; }
.sheet-time small { color: var(--hub-ink-muted); font-size: 13px; font-weight: 400; letter-spacing: 0; }
.sheet-time.side { flex-direction: row; align-items: center; gap: 6px; border: 0; padding: 0; }
.sheet-time.side .tstack { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.sheet-time.side .sheet-clock { margin: 0; }
.sheet-next { grid-template-columns: auto 1px 1fr !important; align-items: center; gap: 8px; }
.sheet-vdiv { width: 1px; background: var(--hub-line); align-self: stretch; justify-self: center; min-height: 28px; }
.sheet-clock {
  width: 32px; height: 32px; border-radius: 50%; background: var(--hub-action-l); color: var(--hub-action);
  display: grid; place-items: center; margin-bottom: 4px; flex: none;
}
.sheet-clock .v12-ico { width: 18px; height: 18px; }
.sheet-job-head, .sheet-line-head {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px;
}
.sheet-job-head b, .sheet-line-head b, .sheet-job-title { font-size: 16px; font-weight: 700; line-height: 1.15; min-width: 0; }
.sheet[data-sheet="jobs"] .sheet-job-head b,
.sheet[data-sheet="today"] .sheet-later-row .sheet-job-head b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sheet-chip {
  display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box;
  height: 26px; min-height: 26px; padding: 0 10px; border-radius: 999px;
  font-size: 13px; font-weight: 600; white-space: nowrap; line-height: 1; flex: none;
  background: var(--hub-action-l); color: var(--hub-action-d);
}
.sheet-chip.amber { background: var(--hub-wait-l); color: var(--hub-wait); }
.sheet-chip.red { background: var(--hub-alert-l); color: var(--hub-alert); }
.sheet-chip.green { background: var(--hub-done-l); color: var(--hub-done); }
.sheet-chip.pink { background: var(--hub-alert-l); color: var(--hub-alert); }
.sheet-chip.blue { background: var(--hub-action-l); color: var(--hub-action-d); }
.sheet-line { display: flex; gap: 6px; align-items: flex-start; margin: 1px 0 0; color: var(--hub-ink-muted); font-size: 13px; line-height: 18px; }
.sheet[data-sheet="jobs"] .sheet-line,
.sheet[data-sheet="requests"] .sheet-line,
.sheet[data-sheet="today"] .sheet-line { margin: 0; }
.sheet-line .v12-ico { width: 15px; height: 15px; flex: none; margin-top: 1px; }
.sheet-chev { color: var(--hub-navy); display: grid; place-items: center; align-self: center; }
.sheet-chev .v12-ico { width: 18px; height: 18px; }
.sheet-chev.down .v12-ico { transform: rotate(90deg); }

body.hub-v12.v12-phone .sheet-go {
  margin-top: 6px; min-height: 34px; height: 34px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 15px; font-weight: 700; padding: 0 12px;
}
.sheet-go .v12-ico { width: 22px; height: 22px; color: #fff; fill: currentColor; stroke: none; }
body.hub-v12.v12-phone #mainContent .sheet-go .v12-ico { width: 22px; height: 22px; min-height: 0; }

.sheet-hello { margin-top: 0; }
.sheet-hello small { display: block; color: var(--hub-ink-muted); font-size: 13px; font-weight: 500; line-height: 1.15; }
.sheet-hello b { font-size: 22px; letter-spacing: -.3px; line-height: 1.1; font-weight: 700; }
.sheet-badge {
  display: flex; gap: 8px; align-items: center; background: var(--hub-action-l); color: var(--hub-ink);
  border-radius: 14px; padding: 6px 10px 6px 6px;
}
.sheet-badge .sheet-clock { width: 28px; height: 28px; margin: 0; background: #fff; color: var(--hub-action); }
.sheet-badge .sheet-clock .v12-ico { width: 16px; height: 16px; }
.sheet-badge b { display: block; font-size: 13px; font-weight: 700; }
.sheet-badge small { color: var(--hub-alert); font-size: 11px; }
.sheet-kicker {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--hub-action); margin: 0 0 8px;
}
.sheet-split { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sheet-outline {
  background: #fff; border: 1px solid var(--hub-line-strong); border-radius: 12px; min-height: 34px; height: 34px;
  box-shadow: none; font-weight: 700; font-size: 13px; color: var(--hub-ink);
  display: flex; align-items: center; justify-content: center; gap: 6px; text-decoration: none;
}
a.sheet-outline, a.sheet-outline:hover, a.sheet-outline:visited {
  text-decoration: none; color: var(--hub-ink); display: flex; align-items: center; justify-content: center; text-align: center;
}
.sheet-outline .v12-ico { width: 16px; height: 16px; }

.sheet-label { font-size: 18px; font-weight: 700; margin-top: 2px; }
.sheet-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.sheet-action {
  background: #fff; border: 1px solid var(--hub-line); border-radius: 14px; min-height: 44px; height: 44px;
  box-shadow: none; font-weight: 700; font-size: 12px; color: var(--hub-ink);
  display: flex; flex-direction: row; align-items: center; justify-content: flex-start; gap: 6px;
  padding: 4px 6px; text-align: left; width: 100%; min-width: 0; box-sizing: border-box;
}
.sheet-action .qa {
  display: grid; place-items: center; width: 28px; height: 28px; margin: 0; flex: none;
  border-radius: 50%; background: var(--hub-ink-muted); color: #fff; font-size: 16px; font-weight: 700;
}
.sheet-action .qa .v12-ico { width: 15px; height: 15px; color: #fff; }

.sheet-ask {
  display: flex; align-items: center; gap: 10px; width: 100%; text-align: left;
  background: var(--hub-navy-l); border: 0; border-radius: 16px; min-height: 48px; padding: 6px 10px; color: var(--hub-navy);
}
.sheet-ask .sheet-chev { margin-left: auto; color: var(--hub-navy); }
.sheet-ask b { display: block; color: var(--hub-navy); font-size: 14px; font-weight: 700; }
.sheet-ask small { display: block; color: var(--hub-ink-muted); font-size: 11px; font-weight: 500; line-height: 1.2; }
.sheet-ask-ico {
  width: 34px; height: 34px; border-radius: 50%; background: var(--hub-navy); color: #fff; display: grid; place-items: center; flex: none;
}
.sheet-ask-ico .v12-ico { width: 18px; height: 18px; }

.sheet-viewas {
  display: flex; align-items: center; gap: 8px; background: var(--hub-wait-l); color: var(--hub-wait);
  border-radius: 12px; padding: 8px 12px; font-size: 13px; min-height: 36px; font-weight: 500;
}
.sheet-viewas b { color: var(--hub-wait); font-weight: 700; }
.sheet-viewas button {
  margin-left: auto; border: 0; background: none; color: var(--hub-wait); font-weight: 700;
  text-decoration: underline; text-underline-offset: 2px; font-size: 13px;
}
.sheet-person {
  width: 28px; height: 28px; border-radius: 50%; background: var(--hub-action); color: #fff;
  display: grid; place-items: center; flex: none;
}
.sheet-person .v12-ico { width: 16px; height: 16px; }
.sheet-viewas.bleed {
  margin: 0 -16px; border-radius: 0; background: var(--hub-wait-l); padding: 10px 16px; justify-content: flex-start;
}
.sheet-viewas.bleed button { margin-left: 2px; }
.sheet-plain { color: var(--hub-wait); display: grid; place-items: center; flex: none; }
.sheet-plain .v12-ico { width: 20px; height: 20px; }
.sheet-viewas.inset { border-radius: 14px; background: var(--hub-wait-l); }
.sheet-viewas.inset button { color: var(--hub-wait); }

.sheet-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sheet-seg button {
  position: relative; background: #fff; border: 1px solid var(--hub-line); border-radius: 14px;
  min-height: 44px; text-align: left; padding: 8px 8px 10px;
  box-shadow: none; color: var(--hub-ink);
  display: flex; align-items: center; gap: 8px; overflow: hidden;
}
.sheet-seg button.on { border-color: var(--hub-action-line); background: var(--hub-action-l); color: var(--hub-action); }
.sheet-seg button.on::after {
  content: ''; position: absolute; left: 10px; right: 10px; bottom: 0; height: 3px;
  background: var(--hub-action); border-radius: 3px 3px 0 0;
}
.sheet-seg .seg-ico { display: grid; place-items: center; flex: none; color: var(--hub-action); }
.sheet-seg button:not(.on) .seg-ico { color: var(--hub-ink-muted); }
.sheet-seg .seg-ico .v12-ico { width: 22px; height: 22px; }
.sheet-seg .seg-copy { white-space: nowrap; font-size: 12px; line-height: 1.2; min-width: 0; }
.sheet-seg .seg-copy.lines { white-space: normal; display: flex; flex-direction: column; align-items: flex-start; }
.sheet-seg .seg-copy.lines small { display: block; }
.sheet-seg b { font-size: 14px; font-weight: 700; display: inline; }
.sheet-seg small { display: inline; }
.sheet-seg small { color: var(--hub-ink-muted); font-size: 11px; font-weight: 600; }
.sheet-seg button.on small { color: var(--hub-action); }

.sheet-filters { display: flex; gap: 6px; overflow: auto; }
.sheet-filters button {
  border: 1px solid var(--hub-line); background: #fff; border-radius: 999px; min-height: 26px; height: 26px;
  padding: 0 8px; font-weight: 600; font-size: 11px; color: var(--hub-ink);
  display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; box-shadow: none; flex: none;
}
.sheet-filters button.on { background: var(--hub-action-l); color: var(--hub-action-d); border-color: var(--hub-action-line); }
.sheet-filters i { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.sheet-filters .c-red { background: var(--hub-alert); }
.sheet-filters .c-green { background: var(--hub-done); }
.sheet-filters .c-amber { background: var(--hub-wait); }
.sheet-filters .c-gray { background: var(--hub-off); }
.sheet-filters b { color: var(--hub-ink-muted); font-weight: 700; font-size: 11px; }

button.sheet-tool {
  display: grid; grid-template-columns: 34px minmax(0, 1fr) auto 18px; gap: 8px; align-items: center;
  width: 100%; text-align: left; justify-items: start; border: 1px solid var(--hub-line); box-shadow: none;
  background: #fff; color: var(--hub-ink); padding: 8px 10px; min-height: 0; height: auto;
}
.sheet-tool-ico { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; }
.sheet-tool-ico .v12-ico { width: 18px; height: 18px; }
.sheet-tool-ico.red { background: var(--hub-alert-l); color: var(--hub-alert); }
.sheet-tool-ico.blue { background: var(--hub-action-l); color: var(--hub-action); }
.sheet-tool-ico.purple { background: var(--hub-navy-l); color: var(--hub-navy); }
.sheet-tool-copy { text-align: left; min-width: 0; }
.sheet-tool-copy b { display: block; font-size: 14px; font-weight: 700; }
.sheet-tool-copy small { display: block; color: var(--hub-ink-muted); font-size: 11px; font-weight: 500; line-height: 1.25; }
.sheet-count {
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--hub-canvas); color: var(--hub-ink-muted);
  display: grid; place-items: center; font-size: 12px; font-weight: 700; justify-self: end;
}
.sheet-count.red { background: var(--hub-alert-l); color: var(--hub-alert); }
.sheet-count.blue { background: var(--hub-action-l); color: var(--hub-action); }
.sheet-count.purple { background: var(--hub-navy-l); color: var(--hub-navy); }
.sheet-tool .sheet-chev { justify-self: end; color: var(--hub-navy); }

.sheet-bill { padding: 8px 8px 6px; }
.sheet-bill-top {
  display: grid; grid-template-columns: 18px minmax(0, 1fr) 1px auto 16px; gap: 8px; align-items: center;
}
.sheet-bill-mid { min-width: 0; }
.sheet-bill-mid .sheet-job-head b { font-size: 16px; }
.sheet-bill .sheet-line { font-size: 13px; line-height: 18px; }
.sheet-bill-amt { text-align: right; padding-left: 4px; }
.sheet-bill-amt .amt { font-size: 14px; font-weight: 700; line-height: 1.1; color: var(--hub-ink); }
.sheet-bill-amt .due {
  display: flex; align-items: center; justify-content: flex-end; gap: 3px;
  color: var(--hub-alert); font-size: 10.5px; font-weight: 600; margin-top: 2px; white-space: nowrap;
}
.sheet-bill-amt .due .v12-ico { width: 12px; height: 12px; }
.sheet-foot {
  display: flex; align-items: center; gap: 0; color: var(--hub-ink-muted); font-size: 11px;
  margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--hub-canvas);
}
.sheet-foot span { display: inline-flex; align-items: center; gap: 3px; }
.sheet-foot .v12-ico { width: 12px; height: 12px; }
.sheet-foot i { width: 1px; height: 12px; background: var(--hub-line); margin: 0 8px; display: inline-block; }
.sheet-check {
  appearance: none; -webkit-appearance: none; width: 16px; height: 16px; min-width: 16px; min-height: 16px;
  max-height: 16px; margin: 0; padding: 0; align-self: start; margin-top: 2px;
  border: 1.5px solid var(--hub-line-strong); border-radius: 4px; background: #fff; box-sizing: border-box;
}
.sheet-check:checked {
  background: var(--hub-action) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M3.2 8.2 6.2 11.2 12.8 4.6' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/12px no-repeat;
  border-color: var(--hub-action);
}

.sheet-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sheet-stat {
  display: grid; grid-template-columns: 28px minmax(0, 1fr) 12px; align-items: center; gap: 4px;
  text-align: left; padding: 8px 6px; border: 1px solid var(--hub-canvas); border-radius: 14px;
  background: #fff; width: 100%; min-width: 0; box-shadow: 0 1px 3px rgba(20,30,50,.04);
}
.sheet-stat-ico {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; flex: none;
}
.sheet-stat-ico .v12-ico { width: 16px; height: 16px; }
.sheet-stat-ico.red { background: var(--hub-alert-l); color: var(--hub-alert); }
.sheet-stat-ico.green { background: var(--hub-done-l); color: var(--hub-done); }
.sheet-stat-ico.amber { background: var(--hub-wait-l); color: var(--hub-wait); }
.sheet-stat-copy { min-width: 0; }
.sheet-stat-copy b { display: block; font-size: 16px; line-height: 1; font-weight: 700; }
.sheet-stat-copy small { color: var(--hub-ink-muted); font-size: 11px; font-weight: 600; }
.sheet-stat .sheet-chev .v12-ico { width: 14px; height: 14px; }
.sheet-list {
  display: grid; grid-template-columns: 76px minmax(0, 1fr) auto 16px; gap: 8px; align-items: center;
  width: 100%; text-align: left; border: 1px solid var(--hub-canvas); padding: 8px;
}
.sheet-list.on { background: var(--hub-action-l); border: 1px solid var(--hub-action-line); }
.sheet-list img { width: 76px; height: 56px; object-fit: cover; object-position: center; border-radius: 10px; display: block; background: #fff; }
.sheet-list b { font-size: 16px; font-weight: 700; }

.sheet-hero { border-radius: 16px; overflow: hidden; height: 155px; margin-top: 0; position: relative; background: var(--hub-canvas); }
.sheet-hero img { width: 100%; height: 155px; display: block; object-fit: cover; object-position: center bottom; }
/* Several stored photos: swipe sideways; the badge says how many. */
.sheet-hero-track { display: flex; height: 155px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.sheet-hero-track::-webkit-scrollbar { display: none; }
.sheet-hero-track img { flex: 0 0 100%; scroll-snap-align: start; }
.sheet-hero-count {
  position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 8px; border-radius: 999px; background: var(--hub-navy); color: var(--hub-on-navy);
  font-size: 12px; font-weight: 700; line-height: 16px; pointer-events: none;
}
.sheet-hero-count .v12-ico { width: 13px; height: 13px; }
.sheet-form { display: flex; flex-direction: column; gap: 0; padding: 2px 8px 4px; }
.sheet-field { display: flex; flex-direction: column; gap: 0; font-size: 13px; line-height: 15px; color: var(--hub-ink); font-weight: 600; }
.sheet-field .lbl { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; line-height: 15px; font-weight: 600; color: var(--hub-ink); }
.sheet-field .lbl .v12-ico { width: 13px; height: 13px; }
.sheet-field .box {
  display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; align-items: center; gap: 0;
  background: #fff; border: 1px solid var(--hub-line); border-radius: 10px; min-height: 28px; height: 28px;
  padding: 0; color: var(--hub-ink); font-weight: 400; font-size: 14px; overflow: hidden;
}
.sheet-field .icell {
  background: var(--hub-canvas); border-right: 1px solid var(--hub-line); height: 100%;
  display: grid; place-items: center; color: var(--hub-ink-muted);
}
.sheet-field .icell .v12-ico { width: 16px; height: 16px; }
.sheet-field .val { font-weight: 400; padding: 0 8px; color: var(--hub-ink); }
.sheet-field .box button {
  margin: 0; border: 0; background: none; color: var(--hub-ink); font-size: 20px; font-weight: 700; width: 28px; height: 28px; padding: 0; line-height: 1;
}
.sheet-field .val .dot { margin-right: 6px; vertical-align: 1px; }
.sheet-field .box.area {
  height: auto; min-height: 0; align-items: stretch; grid-template-columns: 28px minmax(0, 1fr);
}
.sheet-field .box.area .icell { height: auto; align-self: stretch; }
.sheet-field .box.area textarea { border: 0; border-radius: 0; background: transparent; }
.sheet-field .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--hub-done); display: inline-block; }
.sheet-field textarea {
  width: 100%; box-sizing: border-box; border: 1px solid var(--hub-line); border-radius: 10px;
  padding: 4px 8px; color: var(--hub-ink); resize: none; background: #fff;
  font-family: "Source Sans 3", sans-serif; font-weight: 400; font-size: 13px; line-height: 18px;
  overflow: auto;
}
.sheet-field textarea.tall { min-height: 58px; height: 58px; overflow: hidden; }
.sheet-field textarea.mid { min-height: 40px; height: 40px; overflow: hidden; }

.sheet-tabs { display: grid; grid-template-columns: 1.4fr .8fr 1.15fr; gap: 6px; }
.sheet-tabs button {
  border: 0; background: var(--hub-line); border-radius: 12px; min-height: 36px; height: 36px;
  font-weight: 700; color: var(--hub-ink); font-size: 13px; padding: 0 8px; white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
}
.sheet-tabs button.on { background: var(--hub-action); color: #fff; }
.sheet-tabs em {
  display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 4px;
  border-radius: 999px; background: #fff; color: var(--hub-ink); font-style: normal; font-size: 11px; font-weight: 700; line-height: 1;
}
.sheet-tabs button.on em { color: var(--hub-action); }
.sheet-req-top { display: grid; grid-template-columns: 40px minmax(0, 1fr) 16px; gap: 8px; align-items: start; }
.sheet[data-sheet="requests"] .sheet-card { padding: 4px 10px; }
.sheet-req .sheet-clock { width: 40px; height: 40px; margin: 0; }
.sheet-req .sheet-clock .v12-ico { width: 22px; height: 22px; }
.sheet-req .sheet-job-head b { font-size: 16px; }

.sheet-sticky {
  position: fixed; left: 16px; right: 16px; bottom: calc(52px + env(safe-area-inset-bottom)); z-index: 40;
  background: var(--hub-action-l);
}
.sheet-sticky-stack { display: flex; flex-direction: column; gap: 4px; padding-top: 4px; }
.sheet-sticky .sheet-go { margin-top: 0; }
.sheet-sticky .sheet-outline { background: #fff; }
.ops.sheet:has(.sheet-sticky) { padding-bottom: 8px; }
.ops.sheet[data-sheet="detail"] { gap: 8px; padding-bottom: 120px; }
.sheet-later { display: flex; justify-content: space-between; align-items: center; }
.sheet-later > b { font-size: 18px; font-weight: 700; }
.sheet-later button { border: 0; background: none; color: var(--hub-ink-muted); font-weight: 600; font-size: 13px; }
.sheet-later-row {
  display: grid; grid-template-columns: auto 1px minmax(0, 1fr) 14px; gap: 4px; align-items: center; padding: 4px 8px;
}
.sheet-later-row .sheet-time.side { gap: 4px; }
.sheet-later-row .sheet-job-head { gap: 6px; }
.sheet-later-row .sheet-clock { margin: 0; width: 28px; height: 28px; }
.sheet-later-row .sheet-time b { font-size: 14px; }
.sheet-later-row .sheet-time small { font-size: 12px; font-weight: 400; }
.sheet-later-row .sheet-job-head b { font-size: 15px; font-weight: 700; }
.sheet-later-row .sheet-line { font-size: 13px; line-height: 18px; }

body.hub-v12.v12-phone:not(.field-face):has(.ops[data-sheet]) #v12PhoneBack { display: none !important; }
body.hub-v12.v12-phone:not(.field-face):has(.ops[data-sheet]) #v12PhoneLogo { display: grid !important; }

/* Beat the global 44px tap-target rule and the phone main padding. */
body.hub-v12.v12-phone:not(.field-face) #mainContent:has(.ops.sheet) {
  padding: 50px 16px 52px !important;
}
body.hub-v12.v12-phone #mainContent .sheet-go {
  min-height: 34px !important; height: 34px !important; padding: 0 12px; font-size: 15px;
}
body.hub-v12.v12-phone #mainContent .sheet-search {
  min-height: 38px !important; height: 38px !important; padding: 0 12px 0 40px; font-size: 14px;
}
body.hub-v12.v12-phone #mainContent .sheet[data-sheet="requests"] .sheet-search {
  background-color: var(--hub-line); border: 1px solid var(--hub-line-strong);
}
body.hub-v12.v12-phone #mainContent .sheet-pills button {
  min-height: 34px; height: 34px; padding: 0 4px; font-size: 14px; font-weight: 400;
}
body.hub-v12.v12-phone #mainContent .sheet-pills button.on { font-weight: 600; }
body.hub-v12.v12-phone #mainContent .sheet-tabs button {
  min-height: 36px; height: 36px; padding: 0 8px; font-size: 13px;
}
body.hub-v12.v12-phone #mainContent .sheet-filters button {
  min-height: 26px; height: 26px; padding: 0 8px; font-size: 11px;
}
body.hub-v12.v12-phone #mainContent .sheet-outline {
  min-height: 34px; height: 34px; padding: 0 8px; font-size: 13px; width: 100%;
  border: 1px solid var(--hub-line-strong); text-decoration: none;
}
body.hub-v12.v12-phone #mainContent .sheet[data-sheet="today"] .sheet-outline {
  background: var(--hub-canvas);
  border-color: var(--hub-line-strong);
}
body.hub-v12.v12-phone #mainContent .sheet-seg button {
  min-height: 44px; height: auto; padding: 8px 8px 10px; font-size: 13px;
  border: 1px solid var(--hub-line); text-align: left; justify-content: flex-start;
}
body.hub-v12.v12-phone #mainContent button.sheet-tool {
  min-height: 0; height: auto; padding: 8px 10px; font-size: 14px; text-align: left;
  border: 1px solid var(--hub-line) !important; box-shadow: none; justify-content: stretch;
}
body.hub-v12.v12-phone #mainContent .sheet-action {
  min-height: 44px !important; height: 44px !important; padding: 4px 6px; font-size: 12px; width: 100%; border-radius: 14px; min-width: 0;
  border: 1px solid var(--hub-line);
}
body.hub-v12.v12-phone #mainContent .sheet-field textarea {
  min-height: 0; height: auto; padding: 8px 8px; font-size: 14px; font-weight: 400; line-height: 1.35;
  font-family: "Source Sans 3", sans-serif !important; overflow: hidden;
}
body.hub-v12.v12-phone #mainContent .sheet-field .box.area textarea,
body.hub-v12.v12-phone #mainContent .sheet-field .box.area textarea.tall,
body.hub-v12.v12-phone #mainContent .sheet-field .box.area textarea.mid {
  font-size: 13px; line-height: 17px; letter-spacing: -0.1px; padding: 1px 4px; border: 0;
}
body.hub-v12.v12-phone #mainContent .sheet-field .box.area textarea.tall { min-height: 53px; height: 53px; }
body.hub-v12.v12-phone #mainContent .sheet-field .box.area textarea.mid { min-height: 40px; height: 40px; }
body.hub-v12.v12-phone #mainContent .sheet-later button,
body.hub-v12.v12-phone #mainContent .sheet-viewas button {
  min-height: 0; height: auto; padding: 0; font-size: 13px; width: auto; border: 0;
}
body.hub-v12.v12-phone #mainContent .sheet-field .box button {
  min-height: 28px; height: 28px; width: 28px; padding: 0; font-size: 20px; font-weight: 700;
  color: var(--hub-ink); border: 0; line-height: 1;
}
body.hub-v12.v12-phone #mainContent .sheet-check {
  min-height: 16px !important; height: 16px !important; width: 16px !important;
  max-height: 16px; padding: 0 !important;
}
.sheet-fold { display: flex; flex-direction: column; gap: 8px; margin: 0 0 8px; }
.sheet-tool.open .sheet-chev.down .v12-ico { transform: rotate(180deg); }
.sheet-stat.on { background: var(--hub-action-l); border-color: var(--hub-action-line); }
.sheet-hero-empty {
  height: 155px; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end;
  padding: 14px; background: var(--hub-canvas); color: var(--hub-ink);
}
.sheet-hero-empty b { font-size: 18px; }
.sheet-hero-empty span { color: var(--hub-ink-muted); font-size: 13px; }
.sheet-list-ph {
  width: 76px; height: 56px; border-radius: 10px; background: var(--hub-canvas); display: grid; place-items: center;
  color: var(--hub-ink-muted);
}
.sheet-list-ph .v12-ico { width: 22px; height: 22px; }
.sheet-open-note { margin: 6px 0 0; font-size: 13px; color: var(--hub-ink); }
body.hub-v12.v12-phone #mainContent button.sheet-stat {
  min-height: 0; height: auto; padding: 8px 6px; font-size: 13px; text-align: left;
  border: 1px solid var(--hub-canvas); justify-content: stretch; box-shadow: 0 1px 3px rgba(20,30,50,.04);
}
body.hub-v12.v12-phone #mainContent button.sheet-stat.on { background: var(--hub-action-l); border-color: var(--hub-action-line); }
#v12AskMsg button {
  min-height: 28px; height: auto; margin-left: 6px; padding: 2px 8px; width: auto;
  font-size: 13px; border: 1px solid var(--hub-line-strong); border-radius: 8px; background: #fff;
}

/* Bills phone card (approved mockup). Navy text, blue action, red only for a
   problem (property not matched), amber for the pay-limit wait. */
body.hub-v12.v12-phone .sheet-bill.bills-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--hub-line);
  border-radius: var(--hub-radius-card);
  box-shadow: none;
  background: var(--hub-surface);
}
body.hub-v12.v12-phone .sheet-bill.bills-card-alert { border-color: var(--hub-alert); }
body.hub-v12.v12-phone .bills-card-top {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: start;
}
body.hub-v12.v12-phone .bills-card-pick {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  min-width: 44px;
  min-height: 44px;
  margin: -10px 0 -10px -10px;
  padding: 10px;
  box-sizing: border-box;
}
body.hub-v12.v12-phone .bills-card-pick .sheet-check { margin-top: 2px; }
body.hub-v12.v12-phone .bills-card-who { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
body.hub-v12.v12-phone .bills-card-who b { font-size: 15px; font-weight: 600; color: var(--hub-ink); }
body.hub-v12.v12-phone .bills-card-where { font-size: 14px; color: var(--hub-ink-muted); }
body.hub-v12.v12-phone .bills-card-where.bills-card-bad { color: var(--hub-alert); font-weight: 600; }
body.hub-v12.v12-phone .bills-card-amt {
  font-size: 18px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--hub-ink);
  white-space: nowrap;
}
body.hub-v12.v12-phone .bills-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--hub-ink-muted);
}
body.hub-v12.v12-phone .bills-card-pdf {
  min-height: 44px;
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--hub-action);
}
body.hub-v12.v12-phone .bills-card-wait {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 0;
  border-radius: var(--hub-radius);
  background: var(--hub-wait-l);
  color: var(--hub-ink);
  line-height: 1.4;
}
body.hub-v12.v12-phone .bills-card-pill {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--hub-surface);
  color: var(--hub-wait);
  font-size: 12px;
  font-weight: 600;
}
body.hub-v12.v12-phone .bills-card-next { margin: 0; font-size: 13px; font-weight: 600; color: var(--hub-navy); }
body.hub-v12.v12-phone #mainContent .bills-card-go {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: var(--hub-radius);
  background: var(--hub-action);
  color: var(--hub-on-navy);
  font-size: 16px;
  font-weight: 600;
}
body.hub-v12.v12-phone #mainContent .bills-card-go:focus-visible,
body.hub-v12.v12-phone .bills-card-pdf:focus-visible { outline: none; box-shadow: var(--hub-focus); }

/* Listing Details VIEW mode (Oct 21 2026): read-only facts, notes thread. */
body.hub-v12.v12-phone .lvp { padding: 10px 12px; }
body.hub-v12.v12-phone .lvp-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
body.hub-v12.v12-phone .lvp-addr { display: block; font-size: 16px; line-height: 20px; color: var(--hub-ink); }
body.hub-v12.v12-phone .lvp-unit { display: block; font-size: 13px; color: var(--hub-ink-muted); }
body.hub-v12.v12-phone .lvp-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 10px 0 4px; }
body.hub-v12.v12-phone .lvp-fact { display: flex; gap: 8px; align-items: center; }
body.hub-v12.v12-phone .lvp-fact .icell { color: var(--hub-action); }
body.hub-v12.v12-phone .lvp-fact .v12-ico { width: 18px; height: 18px; }
body.hub-v12.v12-phone .lvp-fact small { display: block; font-size: 11px; color: var(--hub-ink-muted); }
body.hub-v12.v12-phone .lvp-fact b { display: block; font-size: 14px; color: var(--hub-ink); }
body.hub-v12.v12-phone .lvp-h { margin: 12px 0 2px; font-size: 13px; color: var(--hub-ink); }
body.hub-v12.v12-phone .lvp-text { margin: 0; font-size: 14px; line-height: 20px; white-space: pre-wrap; color: var(--hub-ink); }
body.hub-v12.v12-phone .lvp-seg { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
body.hub-v12.v12-phone .lvp-seg button {
  min-height: 36px; padding: 0 12px; border-radius: 999px; font: inherit; font-weight: 500;
  border: 1px solid var(--hub-line); background: var(--hub-surface); color: var(--hub-ink);
}
body.hub-v12.v12-phone .lvp-seg button.on { border-color: var(--hub-action); color: var(--hub-action); font-weight: 700; }
body.hub-v12.v12-phone .sheet-field input.val {
  flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-weight: 400; height: 100%;
}
body.hub-v12.v12-phone #mainContent .lvp .ln-text { font-size: 16px; }

/* The phone search bar opens the ONE search (js/hub-find.js). */
body.hub-v12.v12-phone .sheet-ask.sheet-find { border: 2px solid var(--hub-navy); min-height: 56px; }
body.hub-v12.v12-phone .sheet-ask.sheet-find > .sheet-ask-ico:last-child { margin-left: auto; background: var(--hub-action-l); color: var(--hub-action); }
body.hub-v12.v12-phone .sheet-ask.sheet-find b { font-weight: 600; color: var(--hub-ink-muted); }
body.hub-v12.v12-phone .sheet-field .box input.val { align-self: stretch; padding: 0 8px; font-size: 16px; color: var(--hub-ink); }
body.hub-v12.v12-phone .lvp .ln-add {
  min-height: 44px; padding: 0 18px; border: 0; border-radius: 12px;
  background: var(--hub-action); color: var(--hub-on-navy); font-weight: 700;
}
body.hub-v12.v12-phone .lvp .ln-add:focus-visible { outline: none; box-shadow: var(--hub-focus); }
body.hub-v12.v12-phone [data-mode="edit"] .sheet-field .box:not(.area) { height: 44px; min-height: 44px; }
body.hub-v12.v12-phone [data-mode="edit"] .sheet-field { margin-bottom: 6px; }
