/* WTP Team Desk 1.6.43 — one stylesheet for the whole desk.
   The desk page lives inside the site's theme, whose own button, heading and form styles are strong (they paint every
   button pink, for one). Everything here is therefore written against that: buttons, inputs and headings set every
   property they rely on. */

/* ---------- tokens ---------- */
.wtp-td, .wtp-td-overlay, .wtp-td-bksheet, .wtp-td-toast {
  --navy: #0f2b4a; --navy-2: #17395d; --blue: #1384bd; --blue-ink: #0b6a9b; --sky: #5cc0ee; --blue-soft: #e8f3fa;
  --red: #d92d20; --red-bg: #fef3f2; --red-line: #fecdca; --red-ink: #912018;
  --amber: #dc6803; --amber-bg: #fffaeb; --amber-line: #fedf89; --amber-ink: #93370d;
  --green: #079455; --green-bg: #ecfdf3; --green-line: #abefc6; --green-ink: #067647;
  --ink: #101828; --ink-2: #475467; --ink-3: #667085; --line: #e4e7ec; --line-2: #f2f4f7; --bg: #f2f4f7;
  --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 1px 3px rgba(16, 24, 40, .08);
  --shadow-lg: 0 12px 32px rgba(16, 24, 40, .18);
  font-family: Inter, "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
.wtp-td, .wtp-td *, .wtp-td-overlay, .wtp-td-overlay *, .wtp-td-bksheet, .wtp-td-bksheet *, .wtp-td-toast { box-sizing: border-box; }
.wtp-td [hidden], .wtp-td-overlay [hidden], .wtp-td-bksheet [hidden], .wtp-td-toast[hidden] { display: none !important; }

/* ---------- the page: the site's own header, footer and title are hidden here ---------- */
body.wtp-td-page { background: #f2f4f7 !important; }
body.wtp-td-page header.elementor-location-header,
body.wtp-td-page footer.elementor-location-footer,
body.wtp-td-page .site-main .entry-title,
body.wtp-td-page .site-main > .page-header { display: none !important; }
body.wtp-td-page .site-main { max-width: none !important; margin: 0 !important; padding: 0 !important; }
.wtp-td { max-width: 1040px; margin: 0 auto; padding: 0 16px 48px; }
.wtp-td.is-desk { max-width: none; padding: 0 0 120px; }
.wtp-td.is-desk > *:not(.wtp-td-appbar) { width: calc(100% - 32px); max-width: 1040px; margin-left: auto; margin-right: auto; }

/* ---------- theme resets for everything inside the desk ---------- */
.wtp-td h2, .wtp-td-overlay h2, .wtp-td-bksheet h2 { margin: 0; padding: 0; font-family: inherit; font-size: 22px; font-weight: 700; line-height: 1.2; letter-spacing: -.01em; color: var(--navy-2) !important; text-transform: none; }
.wtp-td p, .wtp-td-overlay p, .wtp-td-bksheet p { margin: 0 0 8px; }
.wtp-td a, .wtp-td-bksheet a { color: var(--blue-ink); }
.wtp-td button, .wtp-td-overlay button, .wtp-td-bksheet button { font-family: inherit; text-transform: none; letter-spacing: normal; text-shadow: none; }
.wtp-td label { display: inline-block; margin: 0; line-height: 1.3; font-weight: inherit; }
.wtp-td input, .wtp-td select, .wtp-td textarea, .wtp-td-overlay input, .wtp-td-overlay textarea, .wtp-td-bksheet input, .wtp-td-bksheet textarea { font-family: inherit; }

/* ---------- small pieces ---------- */
.wtp-td-sub { color: var(--ink-3); font-size: 14px; }
.wtp-td-note { color: var(--ink-3); font-size: 13px; margin: 8px 0 0; }
.wtp-td-mini { color: var(--ink-3); font-size: 13px; white-space: nowrap; }
.wtp-td-error { color: var(--red); }
.wtp-td-h { font-weight: 700; color: var(--ink); font-size: 16px; margin: 0; }
.wtp-td-h.big { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin: 26px 0 8px; }
.wtp-td-loading { text-align: center; color: var(--ink-3); padding: 48px 0; }
.wtp-td-gate { max-width: 520px; margin: 40px auto; padding: 0 16px; text-align: center; }
.wtp-td-foot { text-align: center; font-size: 13px; margin-top: 32px !important; margin-bottom: 0; }
.wtp-td-foot a { color: var(--ink-3); text-decoration: none; }
.wtp-td-foot a:hover { text-decoration: underline; }

.wtp-td-badge { display: inline-flex; align-items: center; border-radius: 999px; padding: 3px 10px; font-size: 13px; font-weight: 700; color: #fff; white-space: nowrap; line-height: 1.3; }
.wtp-td-badge.red { background: var(--red); }
.wtp-td-badge.green { background: var(--green); }
.wtp-td-badge.amber { background: var(--amber); }
.wtp-td-badge.big { font-size: 14px; padding: 7px 14px; }

/* ---------- buttons (all of them, so the theme cannot recolour any) ---------- */
.wtp-td-btn {
  display: inline-flex !important; align-items: center; justify-content: center; gap: 6px;
  min-height: 42px; padding: 9px 16px !important; margin: 0;
  font-size: 15px !important; font-weight: 600 !important; line-height: 1.2 !important; text-decoration: none !important;
  color: #fff !important; background: var(--blue) !important; border: 1px solid var(--blue) !important; border-radius: 10px !important;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .12) !important; cursor: pointer; transition: background-color .12s, border-color .12s;
}
.wtp-td-btn:hover, .wtp-td-btn:focus { background: var(--blue-ink) !important; border-color: var(--blue-ink) !important; color: #fff !important; }
.wtp-td-btn:focus-visible { outline: 3px solid rgba(19, 132, 189, .35); outline-offset: 2px; }
.wtp-td-btn.ghost { color: var(--navy-2) !important; background: #fff !important; border-color: #d0d5dd !important; box-shadow: 0 1px 2px rgba(16, 24, 40, .05) !important; }
.wtp-td-btn.ghost:hover, .wtp-td-btn.ghost:focus { background: var(--line-2) !important; border-color: #98a2b3 !important; color: var(--navy) !important; }
.wtp-td-btn.send { background: var(--green) !important; border-color: var(--green) !important; }
.wtp-td-btn.send:hover, .wtp-td-btn.send:focus { background: var(--green-ink) !important; border-color: var(--green-ink) !important; }
.wtp-td-btn.small { min-height: 34px; padding: 5px 12px !important; font-size: 13px !important; border-radius: 8px !important; }
.wtp-td-btn[disabled] { opacity: .5; cursor: default; }
.wtp-td-linkbtn { display: inline !important; background: none !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; margin: 0; font-size: inherit; font-weight: 600; color: var(--blue-ink) !important; text-decoration: underline; cursor: pointer; }
.wtp-td-x { background: none !important; border: 0 !important; box-shadow: none !important; padding: 0 6px !important; font-size: 28px; line-height: 1; color: var(--ink-3) !important; cursor: pointer; }
.wtp-td-x:hover { color: var(--ink) !important; }

/* ---------- the app bar: title, status, and the tabs, pinned at the very top ---------- */
.wtp-td-appbar { position: sticky; top: 0; z-index: 60; background: linear-gradient(180deg, #123257 0%, var(--navy) 100%); color: #fff; box-shadow: 0 2px 12px rgba(15, 43, 74, .35); }
body.admin-bar .wtp-td-appbar { top: 32px; }
@media (max-width: 782px) { body.admin-bar .wtp-td-appbar { top: 46px; } }
.wtp-td-appbar-in { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.wtp-td-top { display: flex; flex-wrap: wrap; gap: 10px 14px; justify-content: space-between; align-items: center; padding: 14px 0 6px; }
.wtp-td-top h2 { color: #fff !important; font-size: 20px; }
.wtp-td-top .wtp-td-sub { color: rgba(255, 255, 255, .72); font-size: 13px; margin-top: 2px; }
.wtp-td-top-right { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; }
.wtp-td-who-note { display: inline-flex; gap: 8px; align-items: center; }
.wtp-td-appbar .wtp-td-badge.big { box-shadow: 0 0 0 3px rgba(255, 255, 255, .14); }
.wtp-td-appbar .wtp-td-badge.amber { color: #3b2300; background: #fdb022; }
.wtp-td-appbar .wtp-td-btn.ghost { color: #fff !important; background: rgba(255, 255, 255, .1) !important; border-color: rgba(255, 255, 255, .3) !important; box-shadow: none !important; }
.wtp-td-appbar .wtp-td-btn.ghost:hover, .wtp-td-appbar .wtp-td-btn.ghost:focus { background: rgba(255, 255, 255, .2) !important; border-color: rgba(255, 255, 255, .55) !important; color: #fff !important; }

.wtp-td-navrow { padding-top: 4px; }
.wtp-td-nav { display: flex; gap: 2px; overflow-x: auto; margin: 0; padding: 0; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.wtp-td-nav::-webkit-scrollbar { display: none; }
.wtp-td-navbtn {
  flex: 0 0 auto; display: inline-flex !important; align-items: center; gap: 8px; margin: 0;
  min-height: 48px; padding: 10px 16px !important; white-space: nowrap;
  font-size: 15px !important; font-weight: 600 !important; line-height: 1.2 !important;
  color: rgba(255, 255, 255, .72) !important; background: transparent !important; border: 0 !important; border-bottom: 3px solid transparent !important; border-radius: 0 !important; box-shadow: none !important;
  cursor: pointer; transition: color .12s, background-color .12s;
}
.wtp-td-navbtn:hover, .wtp-td-navbtn:focus { color: #fff !important; background: rgba(255, 255, 255, .08) !important; }
.wtp-td-navbtn.on { color: #fff !important; background: rgba(255, 255, 255, .1) !important; border-bottom-color: var(--sky) !important; font-weight: 700 !important; }
.wtp-td-navbtn:focus-visible { outline: 2px solid var(--sky); outline-offset: -3px; }
.wtp-td-nb { min-width: 22px; text-align: center; border-radius: 999px; padding: 1px 7px; font-size: 12px; font-weight: 700; line-height: 1.5; background: rgba(255, 255, 255, .2); color: #fff; }
.wtp-td-nb.red { background: var(--red); color: #fff; }
.wtp-td-nb.amber { background: #fdb022; color: #3b2300; }
.wtp-td-nb.ok { background: var(--green); color: #fff; }
.wtp-td-navsel {
  display: none; width: 100%; height: 48px; margin: 4px 0 12px; padding: 0 40px 0 14px !important; font-size: 16px; font-weight: 700; color: var(--navy) !important;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%230f2b4a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center !important;
  border: 0 !important; border-radius: 10px !important; -webkit-appearance: none; appearance: none;
}
/* On a phone only the section dropdown stays pinned (the title and status scroll away), so the screen is not eaten by the bar. */
@media (max-width: 640px) {
  .wtp-td-appbar, .wtp-td-appbar-in { display: contents; }
  .wtp-td-appbar { position: static; }
  .wtp-td-top { background: var(--navy); padding: 12px 16px 4px; margin: 0; }
  .wtp-td-navrow { position: sticky; top: 0; z-index: 60; background: var(--navy); padding: 6px 16px 2px; box-shadow: 0 2px 10px rgba(15, 43, 74, .3); }
  body.admin-bar .wtp-td-navrow { top: 46px; }
  .wtp-td-nav { display: none; }
  .wtp-td-navsel { display: block; margin: 0 0 8px; }
  .wtp-td-top-right { width: 100%; justify-content: space-between; }
  .wtp-td-who-note { display: contents; }
  .wtp-td-who-note .wtp-td-sub { display: none; }
  .wtp-td-badge.big { font-size: 13px; padding: 6px 11px; }
  .wtp-td-top-right .wtp-td-btn { min-height: 38px; padding: 6px 14px !important; }
  .wtp-td-pill { font-size: 13px; padding: 7px 12px; }
}
.wtp-td-why { margin-top: 6px; }
.wtp-td-why summary { cursor: pointer; font-weight: 600; text-decoration: underline; }
.wtp-td-why p { margin: 8px 0 0; font-size: 14px; }

/* ---------- today's numbers ---------- */
.wtp-td-pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px auto 4px; }
.wtp-td-pill { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px 14px; font-size: 14px; font-weight: 600; color: var(--ink-2); box-shadow: var(--shadow); }
.wtp-td-pill::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #98a2b3; flex: 0 0 auto; }
.wtp-td-pill.ok { background: var(--green-bg); border-color: var(--green-line); color: var(--green-ink); }
.wtp-td-pill.ok::before { background: var(--green); }
.wtp-td-pill.late { background: var(--red-bg); border-color: var(--red-line); color: var(--red-ink); }
.wtp-td-pill.late::before { background: var(--red); }
.wtp-td-pill.rt.green { background: var(--green-bg); border-color: var(--green-line); color: var(--green-ink); }
.wtp-td-pill.rt.green::before { background: var(--green); }
.wtp-td-pill.rt.amber { background: var(--amber-bg); border-color: var(--amber-line); color: var(--amber-ink); }
.wtp-td-pill.rt.amber::before { background: var(--amber); }
.wtp-td-pill.rt.red { background: var(--red-bg); border-color: var(--red-line); color: var(--red-ink); }
.wtp-td-pill.rt.red::before { background: var(--red); }

/* ---------- alerts ---------- */
.wtp-td-banner { display: block; margin: 12px 0 0; padding: 12px 16px; border-radius: 12px; border: 1px solid; border-left-width: 6px; font-size: 15px; line-height: 1.45; }
.wtp-td-banner.bad { background: var(--red-bg); color: var(--red-ink); border-color: var(--red-line); border-left-color: var(--red); }
.wtp-td-banner.warn { background: var(--amber-bg); color: var(--amber-ink); border-color: var(--amber-line); border-left-color: var(--amber); }

/* ---------- cards ---------- */
.wtp-td-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; margin: 16px 0 0; box-shadow: var(--shadow); }
.wtp-td-card > .wtp-td-sub:last-child, .wtp-td-card > p:last-child { margin-bottom: 0; }
.wtp-td-routine-top { display: flex; flex-wrap: wrap; gap: 8px 12px; justify-content: space-between; align-items: center; padding: 0 0 12px; margin: 0 0 4px; border-bottom: 1px solid var(--line-2); }
.wtp-td-card.wtp-td-routine, .wtp-td-card.wtp-td-urgent { padding: 0; overflow: hidden; }
.wtp-td-routine .wtp-td-routine-top, .wtp-td-urgent .wtp-td-routine-top { padding: 14px 18px; margin: 0; }
.wtp-td-clear { background: var(--green-bg); border-color: var(--green-line); }
.wtp-td-clear .wtp-td-h { color: var(--green-ink); }
.wtp-td-unsure { background: var(--amber-bg); border-color: var(--amber-line); }
.wtp-td-unsure .wtp-td-h { color: var(--amber-ink); }
.wtp-td-clear .wtp-td-sub, .wtp-td-unsure .wtp-td-sub { color: var(--ink-2); font-size: 15px; }
.wtp-td-more { padding: 4px 18px 16px; }

/* ---------- the guest messages waiting: first thing on the page ---------- */
.wtp-td-urgent { border-color: var(--red-line); }
.wtp-td-urgent .wtp-td-routine-top { background: var(--red-bg); border-bottom-color: var(--red-line); }
.wtp-td-urgent .wtp-td-routine-top .wtp-td-h { font-size: 19px; color: var(--red-ink); }
.wtp-td-wlist { padding: 6px 18px 12px; }
.wtp-td-wrow { padding: 14px 0 4px; border-top: 1px solid var(--line-2); }
.wtp-td-wrow:first-child { border-top: 0; }
.wtp-td-wwho { margin-bottom: 8px; color: var(--navy-2); font-size: 16px; }
.wtp-td-threads { margin: 4px 0 12px; }
.wtp-td-thread { display: grid; grid-template-columns: 1fr; gap: 10px 16px; align-items: center; padding: 14px 16px; margin: 0 0 10px; border: 1px solid var(--green-line); border-left: 6px solid var(--green); border-radius: 12px; background: var(--green-bg); }
.wtp-td-thread.warn { border-color: var(--amber-line); border-left-color: var(--amber); background: var(--amber-bg); }
.wtp-td-thread.urgent { border-color: var(--red-line); border-left-color: var(--red); background: var(--red-bg); }
.wtp-td-thread-main { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-size: 16px; }
.wtp-td-thread-main strong { font-size: 17px; color: var(--ink); }
.wtp-td-chan { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 1px 8px; font-size: 12px; font-weight: 600; color: var(--navy-2); }
.wtp-td-thread-wait { font-weight: 800; font-size: 18px; color: var(--red); line-height: 1.2; }
.wtp-td-thread-wait.green { color: var(--green-ink); }
.wtp-td-thread-wait.amber { color: var(--amber-ink); }
.wtp-td-thread-wait.red { color: var(--red-ink); }
.wtp-td-thread-wait small { display: block; margin-top: 2px; font-weight: 500; color: var(--ink-3); font-size: 12px; }
.wtp-td-thread-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.wtp-td-urgent .wtp-td-thread-actions .wtp-td-btn:first-child { min-width: 140px; }
@media (min-width: 720px) {
  .wtp-td-thread { grid-template-columns: minmax(0, 1fr) auto auto; }
  .wtp-td-thread-wait { text-align: right; }
}
@media (max-width: 719px) {
  .wtp-td-thread-actions .wtp-td-btn { flex: 1 1 0; }
}

/* ---------- property cards (Messages tab) ---------- */
.wtp-td-prop { background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--green); border-radius: 12px; margin: 12px 0 0; box-shadow: var(--shadow); }
.wtp-td-prop.red { border-left-color: var(--red); background: linear-gradient(180deg, var(--red-bg), #fff 90px); }
.wtp-td-prop.amber { border-left-color: var(--amber); background: linear-gradient(180deg, var(--amber-bg), #fff 90px); }
.wtp-td-prop > summary { list-style: none; cursor: pointer; padding: 14px 16px; display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; min-height: 52px; }
.wtp-td-prop > summary::-webkit-details-marker { display: none; }
.wtp-td-prop-name { font-weight: 700; color: var(--navy-2); flex: 1 1 220px; }
.wtp-td-prop-body { padding: 0 16px 16px; }
.wtp-td-cols { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 8px; }
.wtp-td-col { background: var(--bg); border-radius: 10px; padding: 12px 14px; }
.wtp-td-col-head { display: flex; justify-content: space-between; margin-bottom: 6px; color: var(--navy-2); }
.wtp-td-col-head.ok { color: var(--green-ink); }
.wtp-td-col-head.late { color: var(--red); }
.wtp-td-check { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; cursor: pointer; min-height: 44px; }
.wtp-td-check input { width: 22px; height: 22px; margin: 1px 0 0; flex: 0 0 auto; accent-color: var(--green); }
.wtp-td-check-label { display: flex; flex-direction: column; }
.wtp-td-check.done .wtp-td-check-label > span { color: var(--ink-3); text-decoration: line-through; }
.wtp-td-check small { color: var(--ink-3); font-size: 12px; }
.wtp-td-check small.bad { color: var(--red); font-weight: 700; }
.wtp-td-cleans { background: var(--bg); border-radius: 10px; padding: 10px 12px; margin: 8px 0; }
.wtp-td-clean { font-size: 14px; padding: 2px 0; display: flex; flex-wrap: wrap; gap: 4px 10px; }
.wtp-td-clean.sun { font-weight: 600; }
.wtp-td-flag { color: var(--amber-ink); font-size: 13px; font-weight: 600; }
@media (min-width: 700px) { .wtp-td-cols { grid-template-columns: 1fr 1fr; } }

/* ---------- daily routine ---------- */
.wtp-td-rtabs { display: flex; flex-wrap: wrap; gap: 6px; }
.wtp-td-rtab, .wtp-td-mtab {
  display: inline-flex !important; align-items: center; margin: 0; min-height: 36px; padding: 6px 14px !important; font-size: 14px !important; font-weight: 600 !important; line-height: 1.2 !important;
  color: var(--navy-2) !important; background: #fff !important; border: 1px solid #d0d5dd !important; border-radius: 999px !important; box-shadow: none !important; cursor: pointer;
}
.wtp-td-rtab:hover, .wtp-td-mtab:hover { background: var(--line-2) !important; color: var(--navy) !important; }
.wtp-td-rtab.on, .wtp-td-mtab.on, .wtp-td-rtab.on:hover, .wtp-td-mtab.on:hover { color: #fff !important; background: var(--navy-2) !important; border-color: var(--navy-2) !important; }
.wtp-td-rtab.ok:not(.on) { background: var(--green-bg) !important; border-color: var(--green-line) !important; color: var(--green-ink) !important; }
.wtp-td-rrow { display: grid; align-items: center; gap: 8px; padding: 8px 18px; border-bottom: 1px solid var(--line-2); min-height: 56px; }
.wtp-td-rrow:last-child { border-bottom: 0; }
.wtp-td-rrow.head { background: var(--bg); min-height: 0; padding-top: 8px; padding-bottom: 8px; font-size: 12px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; }
.wtp-td-rrow.done { background: var(--green-bg); }
.wtp-td-rrow.red, .wtp-td-rrow.w-red { box-shadow: inset 5px 0 0 var(--red); }
.wtp-td-rrow.w-amber { box-shadow: inset 5px 0 0 var(--amber); }
.wtp-td-rrow.w-green { box-shadow: inset 5px 0 0 var(--green); }
.wtp-td-rcol { text-align: center; }
.wtp-td-rname { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; min-width: 0; font-weight: 600; color: var(--navy-2); overflow-wrap: anywhere; }
.wtp-td-rclient { font-weight: 700; color: var(--ink); }
.wtp-td-rprops { font-weight: 400; color: var(--ink-3); font-size: 14px; }
.wtp-td-rprops.warn { color: var(--amber-ink); font-weight: 600; }
.wtp-td-rrow.na { background: var(--bg); min-height: 44px; }
.wtp-td-rrow.na .wtp-td-rname { grid-column: 1 / -1; flex: 0 0 100%; color: var(--ink-3); }
.wtp-td-rrow.na .wtp-td-rclient { font-weight: 600; color: var(--ink-2); }
.wtp-td-rtz { display: inline-block; font-size: 12px; font-weight: 500; color: var(--ink-3); background: var(--line-2); border-radius: 999px; padding: 1px 9px; white-space: nowrap; }
.wtp-td-rcell { display: flex; justify-content: center; align-items: center; min-height: 44px; cursor: pointer; }
.wtp-td-rcell input { flex: 0 0 26px; width: 26px; height: 26px; margin: 0; cursor: pointer; accent-color: var(--green); }
.wtp-td-rlabel { display: none; font-size: 14px; color: var(--navy-2); }
@media (max-width: 600px) {
  .wtp-td-rrow { display: flex; flex-wrap: wrap; justify-content: space-between; padding-left: 14px; padding-right: 14px; gap: 2px 6px; }
  .wtp-td-rrow.head { display: none; }
  .wtp-td-rname { grid-column: 1 / -1; flex: 0 0 100%; }
  .wtp-td-rcell { justify-content: flex-start; gap: 6px; }
  .wtp-td-rlabel { display: inline; }
}

/* ---------- cleans ---------- */
.wtp-td-clist, .wtp-td-mvlist { display: flex; flex-direction: column; gap: 10px; padding-top: 6px; }
.wtp-td-clean2, .wtp-td-mv { border: 1px solid var(--line); border-left: 6px solid #98a2b3; border-radius: 12px; padding: 12px 14px; background: #fff; }
.wtp-td-clean2.u-red { border-color: var(--red-line); border-left-color: var(--red); background: var(--red-bg); }
.wtp-td-clean2.u-amber { border-color: var(--amber-line); border-left-color: var(--amber); background: var(--amber-bg); }
.wtp-td-clean2.u-green { border-left-color: var(--green); background: #fff; }
.wtp-td-cmain { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.wtp-td-cwhen { font-weight: 700; white-space: nowrap; color: var(--ink); }
.wtp-td-cprop { color: var(--navy-2); }
.wtp-td-cwho { color: var(--ink-2); }
.wtp-td-cchip { display: inline-block; font-size: 13px; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: var(--line-2); color: var(--ink-2); }
.wtp-td-cchip.u-red { background: var(--red); color: #fff; }
.wtp-td-cchip.u-amber { background: #fee4b0; color: var(--amber-ink); }
.wtp-td-cchip.u-green { background: var(--green-bg); color: var(--green-ink); box-shadow: inset 0 0 0 1px var(--green-line); }
.wtp-td-cact { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.wtp-td-linkbox { display: block; width: 100%; margin-top: 8px; padding: 8px 10px; font-size: 13px; border: 1px solid #d0d5dd; border-radius: 8px; background: var(--bg); color: var(--navy-2); }

/* ---------- check-outs and check-ins ---------- */
.wtp-td-mv.k-turnover { border-left-color: var(--amber); }
.wtp-td-mv.k-in { border-left-color: var(--blue); }
.wtp-td-mv.k-out { border-left-color: #667085; }
.wtp-td-mvhead { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 6px; }
.wtp-td-mvhead strong { font-size: 16px; color: var(--navy-2); }
.wtp-td-mvtag { font-size: 13px; color: var(--ink-3); }
.wtp-td-mv.k-turnover .wtp-td-mvtag { color: var(--amber-ink); font-weight: 700; }
.wtp-td-mvl { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 15px; padding: 2px 0; }
.wtp-td-mvl.sub { font-size: 14px; }
.wtp-td-mvk { display: inline-block; min-width: 48px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.wtp-td-mvwarn { font-size: 14px; background: var(--amber-bg); border: 1px solid var(--amber-line); color: var(--amber-ink); border-radius: 8px; padding: 6px 10px; margin: 2px 0 6px; }

/* ---------- Clients tab ---------- */
.wtp-td-cl { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin: 12px 0 0; box-shadow: var(--shadow); }
.wtp-td-cl.unset { border-left: 6px solid var(--amber); background: var(--amber-bg); border-color: var(--amber-line); }
.wtp-td-cl.quiet { background: #fafbfc; }
.wtp-td-cl-head { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-bottom: 4px; }
.wtp-td-in, .wtp-td-sel, .wtp-td-text, .wtp-td-code {
  font-size: 16px !important; color: var(--ink) !important; background: #fff !important; border: 1px solid #d0d5dd !important; border-radius: 10px !important; box-shadow: 0 1px 2px rgba(16, 24, 40, .05) !important; max-width: 100%;
}
.wtp-td-in, .wtp-td-sel { min-height: 44px; padding: 8px 12px !important; width: auto; }
.wtp-td-in:focus, .wtp-td-sel:focus, .wtp-td-text:focus, .wtp-td-code:focus { outline: 3px solid rgba(19, 132, 189, .3); outline-offset: 0; border-color: var(--blue) !important; }
.wtp-td-in[disabled], .wtp-td-sel[disabled] { background: var(--bg) !important; color: var(--ink-3) !important; }
.wtp-td-cl-name { flex: 1 1 220px; font-weight: 700 !important; color: var(--navy-2) !important; }
.wtp-td-sel.unset { border-color: var(--amber) !important; border-width: 2px !important; }
.wtp-td-cl-props { list-style: none; margin: 10px 0 0; padding: 0; }
.wtp-td-cl-prop { border-top: 1px solid var(--line-2); padding: 10px 0; margin: 0; }
.wtp-td-cl-prow { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.wtp-td-cl-pname small { display: block; color: var(--ink-3); font-size: 12px; font-weight: 400; }
.wtp-td-movebox { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 8px; padding: 10px; background: var(--bg); border-radius: 10px; }
.wtp-td-loglist { margin: 0; padding-left: 18px; font-size: 14px; color: var(--ink-2); }

/* ---------- reading and replying (the pop-up) ---------- */
.wtp-td-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 12px; font-size: 15px; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: all .2s; z-index: 100001; max-width: 90vw; }
.wtp-td-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.wtp-td-toast.bad { background: var(--red); }
.wtp-td-overlay { position: fixed; inset: 0; background: rgba(15, 43, 74, .6); z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 12px; }
.wtp-td-modal { background: #fff; border-radius: 16px; width: 100%; max-width: 680px; height: 92vh; max-height: 92vh; overflow: hidden; display: flex; flex-direction: column; color: var(--ink); font-size: 16px; box-shadow: var(--shadow-lg); }
.wtp-td-modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.wtp-td-modal-head strong { font-size: 17px; color: var(--navy-2); }
.wtp-td-msgs { padding: 14px 18px; overflow-y: auto; flex: 1 1 0; min-height: 30vh; background: var(--bg); }
.wtp-td-msg { margin: 8px 0; padding: 10px 14px; border-radius: 14px; max-width: 92%; }
.wtp-td-msg.theirs { background: #fff; border: 1px solid var(--red-line); margin-right: auto; border-bottom-left-radius: 4px; }
.wtp-td-msg.mine { background: var(--blue-soft); margin-left: auto; border-bottom-right-radius: 4px; }
.wtp-td-msg-meta { font-size: 12px; color: var(--ink-3); margin-bottom: 4px; }
.wtp-td-msg-body { white-space: pre-wrap; word-break: break-word; font-size: 15px; }
.wtp-td-modal-foot { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; padding: 12px 18px; border-top: 1px solid var(--line); }
.wtp-td-reply { border-top: 1px solid var(--line); padding: 10px 18px; background: #fff; flex: 0 0 auto; max-height: 42vh; overflow-y: auto; }
.wtp-td-reply .wtp-td-text { min-height: 90px; }
.wtp-td-topicsel { width: 100%; margin: 6px 0; padding: 8px; border: 1px solid var(--line); border-radius: 8px; font-size: 15px; }
.wtp-td-reply-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; margin-bottom: 10px; }
.wtp-td-reply-head strong { color: var(--navy-2); }
.wtp-td-reply-src { font-size: 13px; color: var(--ink-3); }
.wtp-td-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.wtp-td-chip {
  margin: 0; min-height: 34px; padding: 5px 12px !important; font-size: 14px !important; font-weight: 500 !important; line-height: 1.2 !important;
  color: var(--navy-2) !important; background: #fff !important; border: 1px solid #d0d5dd !important; border-radius: 999px !important; box-shadow: none !important; cursor: pointer;
}
.wtp-td-chip:hover { background: var(--line-2) !important; }
.wtp-td-chip.on, .wtp-td-chip.on:hover { background: var(--navy-2) !important; border-color: var(--navy-2) !important; color: #fff !important; }
.wtp-td-tabs { display: flex; gap: 6px; margin: 0 0 10px; }
.wtp-td-tab {
  flex: 1 1 0; margin: 0; min-height: 44px; padding: 8px 6px !important; font-size: 15px !important; font-weight: 700 !important; line-height: 1.2 !important;
  color: var(--navy-2) !important; background: #fff !important; border: 2px solid var(--line) !important; border-radius: 10px !important; box-shadow: none !important; cursor: pointer;
}
.wtp-td-tab:hover { background: var(--line-2) !important; }
.wtp-td-tab.on.yes, .wtp-td-tab.on.yes:hover { background: var(--green-bg) !important; border-color: var(--green) !important; color: var(--green-ink) !important; }
.wtp-td-tab.on.no, .wtp-td-tab.on.no:hover { background: var(--red-bg) !important; border-color: var(--red) !important; color: var(--red-ink) !important; }
.wtp-td-tab.on.own, .wtp-td-tab.on.reply, .wtp-td-tab.on.own:hover, .wtp-td-tab.on.reply:hover { background: var(--blue-soft) !important; border-color: var(--blue) !important; color: var(--navy-2) !important; }
.wtp-td-tab[disabled] { opacity: .45; cursor: default; }
.wtp-td-text { display: block; width: 100%; min-height: 150px; max-height: 40vh; resize: vertical; padding: 10px 12px !important; font-size: 15px !important; line-height: 1.5; }
.wtp-td-warn { color: var(--red-ink); background: var(--red-bg); border: 1px solid var(--red-line); border-radius: 8px; padding: 8px 12px; font-size: 14px; margin: 10px 0 0; }
.wtp-td-reply-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

/* ---------- sign-in: tap Scott or Team, then the emailed code ---------- */
.wtp-td-signin { max-width: 440px; margin: 56px auto 0; padding: 28px 24px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); text-align: center; }
.wtp-td-signin h2 { margin-bottom: 8px; }
.wtp-td-signin .wtp-td-sub { margin: 6px 0 14px; }
.wtp-td-signin .wtp-td-sub.small { font-size: 13px; margin-top: 18px; }
.wtp-td-who { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 16px 0; }
.wtp-td-btn.who { min-width: 150px; padding: 16px 18px !important; font-size: 18px !important; flex-direction: column; gap: 4px; }
.wtp-td-btn.who small { font-size: 12px; font-weight: 400; opacity: .9; }
.wtp-td-code { display: block; width: 100%; max-width: 260px; margin: 14px auto 4px; padding: 12px !important; font-size: 30px !important; letter-spacing: .35em; text-align: center; border-width: 2px !important; font-variant-numeric: tabular-nums; }
.wtp-td-signin-actions { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 14px; }
.wtp-td-signin .wtp-td-error { min-height: 20px; margin: 6px 0; }
.wtp-td-card.wtp-td-cleans-card, .wtp-td-card.wtp-td-moves-card { padding-bottom: 14px; }


/* 1.5.2: big reply-time header, live wait timers */
.wtp-td-replybig { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; padding: 14px 20px; border-left: 8px solid #98a2b3; }
.wtp-td-replybig.green { border-left-color: var(--green); }
.wtp-td-replybig.amber { border-left-color: var(--amber); }
.wtp-td-replybig.red { border-left-color: var(--red); }
.wtp-td-rbig-label { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.wtp-td-rbig-num { font-size: 34px; line-height: 1.05; font-weight: 800; margin: 4px 0; color: var(--ink); font-variant-numeric: tabular-nums; }
.wtp-td-rbig-num.green { color: var(--green-ink); }
.wtp-td-rbig-num.amber { color: var(--amber-ink); }
.wtp-td-rbig-num.red { color: var(--red-ink); }
.wtp-td-rbig-sub { font-size: 14px; color: var(--ink-3); }
.wtp-td-rbig-side { display: flex; flex-wrap: wrap; gap: 12px; }
.wtp-td-rstat { min-width: 104px; padding: 8px 12px; border-radius: 12px; background: #f2f4f7; border: 1px solid var(--line); text-align: center; }
.wtp-td-rstat.green { background: var(--green-bg); border-color: var(--green-line); color: var(--green-ink); }
.wtp-td-rstat.amber { background: var(--amber-bg); border-color: var(--amber-line); color: var(--amber-ink); }
.wtp-td-rstat.red { background: var(--red-bg); border-color: var(--red-line); color: var(--red-ink); }
.wtp-td-rstat-v { font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }
.wtp-td-rstat-l { font-size: 12px; font-weight: 600; }
.wtp-td-timer { font-size: 30px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.wtp-td-timer-lbl { text-transform: uppercase; letter-spacing: .05em; font-size: 11px !important; }
.wtp-td-cchip.u-red { background: var(--red-bg); color: var(--red-ink); border-color: var(--red-line); }
@media (max-width: 640px) { .wtp-td-rbig-num { font-size: 30px; } .wtp-td-rstat { min-width: 90px; } }


/* 1.6.43: tidy look. The site theme restyles form fields, so ticks and sign-in buttons are set firmly here. */
.wtp-td .wtp-td-rcell input[type="checkbox"] { -webkit-appearance: none !important; appearance: none !important; box-sizing: border-box !important; flex: 0 0 28px !important; width: 28px !important; height: 28px !important; min-height: 0 !important; padding: 0 !important; margin: 0 !important; border: 2px solid var(--line) !important; border-radius: 8px !important; background: #fff !important; position: relative; cursor: pointer; }
.wtp-td .wtp-td-rcell input[type="checkbox"]:checked { background: var(--green) !important; border-color: var(--green) !important; }
.wtp-td .wtp-td-rcell input[type="checkbox"]:checked::after { content: ""; position: absolute; left: 8px; top: 3px; width: 6px; height: 12px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg); }
.wtp-td .wtp-td-rcell { line-height: 1; }
@media (max-width: 600px) {
  .wtp-td .wtp-td-rrow { display: grid; grid-template-columns: repeat(3, 1fr) !important; gap: 8px; padding: 12px 14px; }
  .wtp-td .wtp-td-rrow .wtp-td-rname { grid-column: 1 / -1; }
  .wtp-td .wtp-td-rrow.na { display: block; }
  .wtp-td .wtp-td-rcell { justify-content: center; gap: 8px; border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 8px 6px; min-height: 48px; }
  .wtp-td .wtp-td-rcell.on { background: var(--green-bg); border-color: var(--green-line); }
  .wtp-td .wtp-td-rlabel { font-size: 14px; font-weight: 600; line-height: 1; }
}
.wtp-td-signin button, .wtp-td-signin .wtp-td-btn { font-size: 16px; }

.wtp-td-cchip.u-grey { background: var(--line-2); border-color: var(--line); color: var(--ink-3); }
.wtp-td-clean2.u-grey { box-shadow: inset 5px 0 0 var(--line); }

.wtp-td-replybar { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 22px; padding: 10px 16px; border-left: 6px solid #98a2b3; margin-bottom: 12px; }
.wtp-td-replybar.green { border-left-color: var(--green); }
.wtp-td-replybar.amber { border-left-color: var(--amber); }
.wtp-td-replybar.red { border-left-color: var(--red); }
.wtp-td-rbit { display: inline-flex; align-items: baseline; gap: 8px; }
.wtp-td-rbit-l { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); }
.wtp-td-rbit-v { font-size: 20px; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.wtp-td-rbit-v.green { color: var(--green-ink); }
.wtp-td-rbit-v.amber { color: var(--amber-ink); }
.wtp-td-rbit-v.red { color: var(--red-ink); }
.wtp-td-rbit-s { font-size: 13px; color: var(--ink-3); }

/* 1.6.43: tick boxes sit level with their label; the column heading row is not shown on phones. */
.wtp-td .wtp-td-rcell { display: flex !important; flex-direction: row !important; align-items: center !important; }
.wtp-td .wtp-td-rcell .wtp-td-rlabel { margin: 0 !important; padding: 0 !important; line-height: 1.1 !important; }
.wtp-td .wtp-td-rcell input[type="checkbox"] { align-self: center !important; }
@media (max-width: 700px) {
  .wtp-td .wtp-td-rrow.head { display: none !important; }
  .wtp-td .wtp-td-rcell { justify-content: flex-start !important; padding: 8px 10px !important; }
  .wtp-td .wtp-td-rlabel { display: inline !important; }
}

.wtp-td-manual { margin-top: 10px; padding: 12px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; display: grid; gap: 10px; }
.wtp-td-manual-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.wtp-td .wtp-td-in { flex: 1 1 160px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-size: 16px; color: var(--ink); box-sizing: border-box; }
.wtp-td .wtp-td-manual .wtp-td-sel { flex: 1 1 130px; min-height: 44px; }
.wtp-td-crow { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.wtp-td-pickgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 6px 12px; }
.wtp-td-pick { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); }
.wtp-td .wtp-td-pick input[type="checkbox"] { width: 20px; height: 20px; margin: 0; accent-color: var(--green); }


/* ======================================================================
   1.6.43 refined look: quieter colour, smaller type, flat cards, thin rules.
   Colour is kept for status only (a small dot or a thin edge), never for large blocks.
   ==================================================================== */
.wtp-td, .wtp-td-overlay, .wtp-td-bksheet, .wtp-td-toast {
  --navy: #14233a; --navy-2: #1f3453; --blue: #2459a6; --blue-ink: #1b4785; --blue-soft: #eef3fa;
  --red: #c4382c; --red-bg: #fdf6f5; --red-line: #f1d3cf; --red-ink: #8f2a21;
  --amber: #b9770e; --amber-bg: #fdf9f0; --amber-line: #efdcb4; --amber-ink: #7d5209;
  --green: #2f7d57; --green-bg: #f4faf6; --green-line: #cfe6d9; --green-ink: #25664a;
  --ink: #1b2430; --ink-2: #4a5563; --ink-3: #717b89; --line: #e3e6eb; --line-2: #eff1f4; --bg: #f5f6f8;
  --shadow: none; --shadow-lg: 0 10px 30px rgba(20, 35, 58, .16);
  font-size: 15px; line-height: 1.5;
}
body.wtp-td-page { background: #f5f6f8 !important; }
.wtp-td.is-desk > *:not(.wtp-td-appbar) { max-width: 960px; }

/* header: one flat bar */
.wtp-td-appbar { background: var(--navy); box-shadow: none; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.wtp-td-appbar-in { max-width: 960px; }
.wtp-td-top { padding: 14px 0 8px; }
.wtp-td-top h2 { font-size: 17px; font-weight: 600; letter-spacing: 0; }
.wtp-td-top .wtp-td-sub { font-size: 12.5px; color: rgba(255, 255, 255, .6); }
.wtp-td-appbar .wtp-td-badge.big { box-shadow: none; font-size: 12.5px; font-weight: 600; padding: 5px 12px; background: rgba(255, 255, 255, .1) !important; color: #fff !important; border: 1px solid rgba(255, 255, 255, .18); }
.wtp-td-appbar .wtp-td-badge.big::before { content: ""; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; background: #7bd0a0; }
.wtp-td-appbar .wtp-td-badge.big.red::before { background: #ff8a7d; }
.wtp-td-appbar .wtp-td-badge.big.amber::before { background: #f4c261; }
.wtp-td-nav { gap: 0; }
.wtp-td-navbtn { min-height: 42px; padding: 8px 14px !important; font-size: 14px !important; font-weight: 500 !important; border-bottom-width: 2px !important; color: rgba(255, 255, 255, .62) !important; }
.wtp-td-navbtn.on { background: transparent !important; font-weight: 600 !important; border-bottom-color: #fff !important; }
.wtp-td-nb { font-size: 11px; font-weight: 600; padding: 0 7px; background: rgba(255, 255, 255, .16); }
.wtp-td-navsel { height: 44px; font-size: 15px; font-weight: 600; border-radius: 8px !important; }

/* buttons: smaller, quieter */
.wtp-td .wtp-td-btn { min-height: 36px; padding: 6px 14px !important; font-size: 14px !important; font-weight: 500 !important; border-radius: 8px !important; box-shadow: none !important; background: var(--navy-2) !important; border-color: var(--navy-2) !important; }
.wtp-td .wtp-td-btn:hover, .wtp-td .wtp-td-btn:focus { background: var(--navy) !important; border-color: var(--navy) !important; }
.wtp-td .wtp-td-btn.ghost { background: #fff !important; color: var(--ink) !important; border-color: #d5d9e0 !important; }
.wtp-td .wtp-td-btn.ghost:hover { background: var(--bg) !important; }
.wtp-td .wtp-td-btn.small { min-height: 30px; padding: 3px 11px !important; font-size: 13px !important; }
.wtp-td .wtp-td-btn.send { background: var(--green) !important; border-color: var(--green) !important; }
/* 1.6.513: the same quiet buttons inside the full-screen sheets (meeting details, bookings), which sit outside the desk wrapper. */
.wtp-td-bksheet .wtp-td-btn { min-height: 36px; padding: 6px 14px !important; font-size: 14px !important; font-weight: 500 !important; border-radius: 8px !important; box-shadow: none !important; background: var(--navy-2) !important; border-color: var(--navy-2) !important; color: #fff !important; }
.wtp-td-bksheet .wtp-td-btn:hover, .wtp-td-bksheet .wtp-td-btn:focus { background: var(--navy) !important; border-color: var(--navy) !important; }
.wtp-td-bksheet .wtp-td-btn.ghost { background: #fff !important; color: var(--ink) !important; border-color: #d5d9e0 !important; }
.wtp-td-bksheet .wtp-td-btn.ghost:hover { background: var(--bg) !important; }
.wtp-td-bksheet .wtp-td-btn.ghost.danger { color: var(--red-ink) !important; border-color: var(--red-line) !important; }
.wtp-td-bksheet .wtp-td-btn.small { min-height: 30px; padding: 3px 11px !important; font-size: 13px !important; }
.wtp-td-bksheet .wtp-td-bkhead .wtp-td-btn { background: transparent !important; color: #fff !important; border-color: rgba(255, 255, 255, .4) !important; }
.wtp-td-appbar .wtp-td-btn.ghost { background: transparent !important; color: #fff !important; border-color: rgba(255, 255, 255, .3) !important; }

/* cards: flat, white, hairline */
.wtp-td-card { border-radius: 10px; padding: 14px 16px; margin: 12px 0 0; border: 1px solid var(--line); box-shadow: none; }
.wtp-td-h { font-size: 15px; font-weight: 600; }
.wtp-td-h.big { font-size: 11.5px; font-weight: 600; letter-spacing: .08em; margin: 22px 0 6px; }
.wtp-td-sub { font-size: 13.5px; }
.wtp-td-routine-top { padding-bottom: 10px; }
.wtp-td-routine .wtp-td-routine-top, .wtp-td-urgent .wtp-td-routine-top { padding: 12px 16px; }
.wtp-td-urgent { border-color: var(--line); }
.wtp-td-urgent .wtp-td-routine-top { background: #fff; border-bottom-color: var(--line-2); }
.wtp-td-urgent .wtp-td-routine-top .wtp-td-h { font-size: 15px; color: var(--red-ink); }
.wtp-td-urgent .wtp-td-routine-top .wtp-td-h::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--red); margin-right: 9px; vertical-align: 1px; }

/* the reply line: a quiet strip */
.wtp-td-replybar { border-left: 0; border: 1px solid var(--line); padding: 9px 16px; gap: 4px 26px; align-items: center; margin: 12px 0 0; }
.wtp-td-rbit-l { font-size: 11px; font-weight: 600; }
.wtp-td-rbit-v { font-size: 15px; font-weight: 600; }
.wtp-td-rbit-s { font-size: 12.5px; }

/* pills: plain text with a dot */
.wtp-td-pills { margin: 10px auto 0; gap: 8px; }
.wtp-td-pill { padding: 5px 12px; font-size: 13px; font-weight: 500; border-radius: 999px; box-shadow: none; background: #fff; }
.wtp-td-pill.late { background: #fff; color: var(--red-ink); border-color: var(--red-line); }
.wtp-td-pill.ok { background: #fff; color: var(--green-ink); border-color: var(--green-line); }

/* guest message rows: thin edge, no tinted blocks */
.wtp-td-thread { border: 1px solid var(--line); border-left: 3px solid var(--green); border-radius: 8px; background: #fff; padding: 11px 14px; margin: 0 0 8px; }
.wtp-td-thread.warn { border-left-color: var(--amber); background: #fff; }
.wtp-td-thread.urgent { border-left-color: var(--red); background: #fff; }
.wtp-td-thread-main { font-size: 14.5px; }
.wtp-td-thread-main strong { font-size: 15px; font-weight: 600; }
.wtp-td-thread-wait { font-size: 16px; font-weight: 600; }
.wtp-td-timer { font-size: 17px; font-weight: 600; }
.wtp-td-chan { font-weight: 500; border-radius: 4px; font-size: 11.5px; }
.wtp-td-wrow { padding: 12px 0 2px; }
.wtp-td-wwho { font-size: 14.5px; margin-bottom: 6px; }
.wtp-td-wwho strong { font-weight: 600; }

/* property cards */
.wtp-td-prop { border-left-width: 3px; border-radius: 8px; box-shadow: none; margin: 8px 0 0; }
.wtp-td-prop.red, .wtp-td-prop.amber { background: #fff; }
.wtp-td-prop > summary { padding: 11px 14px; min-height: 46px; }
.wtp-td-prop-name { font-weight: 600; font-size: 14.5px; }
.wtp-td-col { background: var(--bg); border-radius: 8px; }
.wtp-td-badge { font-size: 12px; font-weight: 600; padding: 2px 9px; }

/* cleans and check-ins: white rows with a thin status edge */
.wtp-td-clean2, .wtp-td-mv { border-left-width: 3px; border-radius: 8px; padding: 10px 14px; background: #fff; }
.wtp-td-clean2.u-red { background: #fff; border-color: var(--line); border-left-color: var(--red); }
.wtp-td-clean2.u-amber { background: #fff; border-color: var(--line); border-left-color: var(--amber); }
.wtp-td-clean2.u-grey { box-shadow: none; border-left-color: #c7ccd4; }
.wtp-td-cwhen { font-weight: 600; font-size: 14.5px; }
.wtp-td-cprop { font-weight: 500; color: var(--ink); font-size: 14.5px; }
.wtp-td-cchip { font-size: 12px; font-weight: 600; padding: 2px 9px; border: 1px solid transparent; }
.wtp-td-cchip.u-red { background: var(--red-bg); color: var(--red-ink); border-color: var(--red-line); }
.wtp-td-cchip.u-amber { background: var(--amber-bg); color: var(--amber-ink); border-color: var(--amber-line); }
.wtp-td-cchip.u-green { background: var(--green-bg); color: var(--green-ink); border-color: var(--green-line); box-shadow: none; }
.wtp-td-cchip.u-grey { background: var(--bg); color: var(--ink-3); border-color: var(--line); }
.wtp-td-mvhead strong { font-size: 15px; font-weight: 600; }
.wtp-td-mvl { font-size: 14px; }
.wtp-td-mvk { font-size: 10.5px; min-width: 44px; }

/* routine */
.wtp-td-rrow { padding: 6px 16px; min-height: 48px; }
.wtp-td-rrow.head { font-size: 11px; font-weight: 600; background: var(--bg); }
.wtp-td-rrow.done { background: #fff; }
.wtp-td-rclient { font-weight: 600; font-size: 14.5px; }
.wtp-td-rprops { font-size: 12.5px; }
.wtp-td .wtp-td-rcell input[type="checkbox"] { flex-basis: 22px !important; width: 22px !important; height: 22px !important; border-width: 1.5px !important; border-color: #b9c0cb !important; border-radius: 6px !important; }
.wtp-td .wtp-td-rcell input[type="checkbox"]:checked::after { left: 6px; top: 2px; width: 5px; height: 10px; border-width: 0 2px 2px 0; }
.wtp-td .wtp-td-rcell input[type="checkbox"]:checked { background: var(--green) !important; border-color: var(--green) !important; }
.wtp-td-rtab, .wtp-td-mtab { min-height: 32px; padding: 4px 13px !important; font-size: 13px !important; font-weight: 500 !important; }
.wtp-td-rtab.on, .wtp-td-mtab.on, .wtp-td-rtab.on:hover, .wtp-td-mtab.on:hover { background: var(--navy-2) !important; border-color: var(--navy-2) !important; }

/* inputs */
.wtp-td-in, .wtp-td-sel, .wtp-td-text, .wtp-td-code { font-size: 15px !important; border-radius: 8px !important; border-color: #d5d9e0 !important; }
.wtp-td .wtp-td-in { min-height: 40px; border-radius: 8px; }
.wtp-td-manual { background: var(--bg); border-radius: 10px; }
.wtp-td-chip { font-size: 13px !important; min-height: 30px; }

/* sign-in: three plain choices */
.wtp-td-signin { margin-top: 64px; box-shadow: 0 1px 2px rgba(20, 35, 58, .06), 0 12px 32px rgba(20, 35, 58, .08); border-radius: 14px; }
.wtp-td-signin h2 { font-size: 20px; font-weight: 600; }
.wtp-td-who { flex-direction: column; align-items: stretch; gap: 10px; }
.wtp-td .wtp-td-btn.who { min-width: 0; width: 100%; padding: 13px 18px !important; font-size: 16px !important; font-weight: 600 !important; flex-direction: row; background: #fff !important; color: var(--ink) !important; border: 1px solid #d5d9e0 !important; }
.wtp-td .wtp-td-btn.who:hover { background: var(--bg) !important; border-color: var(--navy-2) !important; }

/* Team times */
.wtp-td-people { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.wtp-td-person { margin-top: 12px; }
.wtp-td-tline { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; padding: 8px 0; border-top: 1px solid var(--line-2); }
.wtp-td-tline:first-of-type { margin-top: 8px; }
.wtp-td-tk { width: 64px; font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.wtp-td-tv { font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; }
.wtp-td-times > .wtp-td-sub { margin: 12px 0 0; }
.wtp-td-tlist { display: flex; flex-direction: column; }
.wtp-td-trow { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.4fr) 70px 96px; gap: 8px; align-items: center; padding: 9px 0; border-top: 1px solid var(--line-2); font-size: 14px; }
.wtp-td-trow:first-child { border-top: 0; }
.wtp-td-tday { font-weight: 600; }
.wtp-td-twho { color: var(--ink-2); }
.wtp-td-ttook { font-variant-numeric: tabular-nums; text-align: right; }
.wtp-td-trow .wtp-td-chip { justify-self: end; min-height: 0; padding: 2px 10px !important; font-size: 12px !important; font-weight: 600 !important; cursor: default; border-radius: 999px !important; text-align: center; }
.wtp-td-trow .wtp-td-chip.ok { background: var(--green-bg) !important; color: var(--green-ink) !important; border-color: var(--green-line) !important; }
.wtp-td-trow .wtp-td-chip.bad { background: var(--red-bg) !important; color: var(--red-ink) !important; border-color: var(--red-line) !important; }
@media (max-width: 600px) {
  .wtp-td-trow { grid-template-columns: 1fr auto; }
  .wtp-td-twho { grid-column: 1; }
  .wtp-td-ttook { text-align: right; }
}

@media (max-width: 640px) {
  .wtp-td .wtp-td-top { padding: 14px 16px 6px; }
  .wtp-td .wtp-td-navrow { padding: 6px 16px 4px; }
}

.wtp-td .wtp-td-gapsel{display:flex;align-items:center;gap:10px;margin:8px 0 4px;font-size:14px}
.wtp-td .wtp-td-gapsel .wtp-td-sel{width:auto;min-width:80px}

.wtp-td .wtp-td-opp{border-top:1px solid var(--wtp-line,#e5e7eb);padding:10px 0}
.wtp-td .wtp-td-opp-top{display:flex;gap:10px;align-items:baseline;flex-wrap:wrap}
.wtp-td .wtp-td-opp.late{border-left:4px solid var(--red,#c0392b);padding-left:10px}
.wtp-td .wtp-td-opp-when{font-weight:600;margin:2px 0}

.wtp-td-notify { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin: 12px 0 0; padding: 14px 16px; border-radius: 12px; border: 1px solid #b9d9ec; border-left: 6px solid #168ec7; background: #eef7fc; color: #17395d; font-size: 15px; line-height: 1.45; }
.wtp-td-notify.on { background: #eaf7ee; border-color: #a9d9b6; border-left-color: #2e9e57; padding: 10px 16px; }
.wtp-td-notify.phone { background: #f6f8fb; border-color: #d9e2ec; border-left-color: #17395d; }
.wtp-td-notify-t { flex: 1 1 260px; min-width: 0; }
.wtp-td-notify-b { display: flex; gap: 8px; flex-wrap: wrap; }
.wtp-td-notify-err { margin-top: 6px; color: #a02a24; font-weight: 600; }
.wtp-td-phone-steps { margin-top: 10px; padding-top: 6px; border-top: 1px solid #d9e2ec; }
.wtp-td-phone-steps p { margin: 8px 0; }

.wtp-td-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.wtp-td-chip { border: 1px solid #c9d6e3; background: #fff; color: #17395d; border-radius: 999px; padding: 7px 14px; font-size: 14px; font-weight: 600; cursor: pointer; font-family: inherit; }
.wtp-td-chip.on { background: #17395d; color: #fff; border-color: #17395d; }
.wtp-td-inrow { display: block; width: 100%; text-align: left; background: #fff; border: 1px solid #d9e2ec; border-left: 6px solid #c9d6e3; border-radius: 12px; padding: 12px 14px; margin: 10px 0; cursor: pointer; font: inherit; color: #17395d; }
.wtp-td-inrow:hover { border-color: #168ec7; }
.wtp-td-inrow.wait.green { border-left-color: #2e9e57; }
.wtp-td-inrow.wait.amber { border-left-color: #e0a800; }
.wtp-td-inrow.wait.red { border-left-color: #d64541; }
.wtp-td-inrow-top { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.wtp-td-inrow-when { margin-left: auto; font-size: 13px; color: #5b6f85; }
.wtp-td-inrow-prev { margin-top: 6px; font-size: 15px; color: #4a5f77; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.wtp-td-inrow-prev.guest { color: #17395d; font-weight: 600; }
.wtp-td-inrow-flag { margin-top: 6px; font-size: 13px; font-weight: 700; }
.wtp-td-inrow-flag.green { color: #1f7a42; } .wtp-td-inrow-flag.amber { color: #8a6500; } .wtp-td-inrow-flag.red { color: #b3302c; }
.wtp-td-stage { font-size: 12px; font-weight: 700; border-radius: 999px; padding: 3px 10px; border: 1px solid; }
.wtp-td-stage.blue { background: #eef7fc; color: #0e6a96; border-color: #b9d9ec; }
.wtp-td-stage.green { background: #eaf7ee; color: #1f7a42; border-color: #a9d9b6; }
.wtp-td-stage.amber { background: #fff4d6; color: #7a5200; border-color: #f0d58a; }
.wtp-td-stage.grey { background: #f1f4f8; color: #4a5f77; border-color: #d9e2ec; }

.wtp-td button.wtp-td-inrow, .wtp-td button.wtp-td-inrow:hover, .wtp-td button.wtp-td-inrow:focus, .wtp-td button.wtp-td-inrow:active { background: #fff; color: #17395d; text-transform: none; letter-spacing: normal; box-shadow: none; text-decoration: none; }
.wtp-td button.wtp-td-inrow:hover, .wtp-td button.wtp-td-inrow:focus { background: #f3f9fd; border-top-color: #168ec7; border-right-color: #168ec7; border-bottom-color: #168ec7; }
.wtp-td button.wtp-td-inrow .wtp-td-sub { color: #5b6f85; }
.wtp-td button.wtp-td-inrow .wtp-td-inrow-prev { color: #4a5f77; }
.wtp-td button.wtp-td-inrow .wtp-td-inrow-prev.guest { color: #17395d; }
.wtp-td button.wtp-td-chip, .wtp-td button.wtp-td-chip:hover, .wtp-td button.wtp-td-chip:focus { background: #fff; color: #17395d; text-transform: none; box-shadow: none; }
.wtp-td button.wtp-td-chip.on, .wtp-td button.wtp-td-chip.on:hover { background: #17395d; color: #fff; }
.wtp-td button.wtp-td-chip:hover { border-color: #168ec7; background: #f3f9fd; }
.wtp-td .wtp-td-secthead{margin:22px 0 8px;padding:8px 12px;background:#17395D;color:#fff;border-radius:8px;font-size:15px;line-height:1.35}
.wtp-td .wtp-td-secthead .wtp-td-sub{color:#cfe3f3;font-size:13px}
.wtp-td-stage.red { background: #fde8e8; color: #9b1c1c; border-color: #f2b4b4; }

.wtp-td .wtp-td-agree{border-left:4px solid #e0a800}
.wtp-td .wtp-td-agree.late{border-left-color:#c0392b}
.wtp-td .wtp-td-agbox{display:flex;flex-wrap:wrap;gap:8px 16px;margin:6px 0}

.wtp-td-qa{margin-top:8px}
.wtp-td-qahead{display:flex;justify-content:space-between;align-items:center;width:100%;padding:10px 12px;border-radius:10px;border:1px solid var(--wtp-line,#d9dee5);background:#fff;font:inherit;font-weight:600;cursor:pointer;text-align:left}
.wtp-td-qahead.todo{border-color:#e0a63a;background:#fff8e8}
.wtp-td-qahead.done{color:#1f7a3d}
.wtp-td-qarow{padding:10px 0;border-top:1px solid #eef0f3}
.wtp-td-qarow.todo .wtp-td-qaq{color:#8a5a00}
.wtp-td-qaq{font-weight:600;margin-bottom:4px}
.wtp-td-qatext{width:100%;box-sizing:border-box;resize:vertical;min-height:52px}

/* ---- Mail to sort: big buttons, phone first ---- */
.wtp-td-mailbtns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:10px 0 4px}
.wtp-td-mailbtns .wtp-td-btn{width:100%;min-width:0;box-sizing:border-box;min-height:52px;font-size:14px !important;padding:8px 10px !important;display:flex;align-items:center;justify-content:center;text-align:center;white-space:normal !important;overflow-wrap:anywhere;line-height:1.25}
.wtp-td-mailbtns .wtp-td-btn.send{grid-column:1 / -1;min-height:52px;white-space:normal;line-height:1.25}
.wtp-td-mailbtns .wtp-td-btn.danger{color:#b42318 !important;border-color:#f0b3ad !important}
.wtp-td-mailbtns.nosug .wtp-td-btn{grid-column:auto}
.wtp-td-mail-subj{font-weight:700;margin-top:4px;word-break:break-word}
.wtp-td-mail-snip{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;word-break:break-word}
.wtp-td-mail-sug{margin-top:8px;padding:8px 10px;border-radius:10px;background:#eef6fb;color:#17395d;font-size:14px;line-height:1.35}
.wtp-td-mail-sug.flag{background:#fff4e0;color:#8a5a00;border:1px solid #f1d19a}
.wtp-td-badge-attn{display:inline-block;background:#f59e0b;color:#fff;border-radius:999px;padding:2px 9px;font-size:12px;font-weight:700;margin-left:6px}
.wtp-td-linkbtn{background:none;border:0;color:#168ec7;font:inherit;font-size:14px;padding:10px 0;cursor:pointer;text-decoration:underline}
.wtp-td-mailother{display:grid;gap:8px;padding:8px 0}
.wtp-td-mailother select,.wtp-td-mailother input{width:100%;min-height:44px;box-sizing:border-box;font-size:16px}
.wtp-td-mpop{position:fixed;inset:0;background:rgba(15,23,42,.6);z-index:999999;display:flex;align-items:flex-end;justify-content:center}
.wtp-td-mpopbox{background:#fff;width:100%;max-width:720px;max-height:92vh;display:flex;flex-direction:column;border-radius:16px 16px 0 0;padding:14px;box-sizing:border-box}
.wtp-td-mpophead{font-weight:700;margin-bottom:8px;word-break:break-word}
.wtp-td-mailtext{flex:1;overflow:auto;white-space:pre-wrap;word-break:break-word;font-size:15px;line-height:1.45;background:#f8fafc;border-radius:10px;padding:10px;margin-bottom:10px}
@media (min-width:700px){.wtp-td-mpop{align-items:center}.wtp-td-mpopbox{border-radius:16px}}
/* Yes / No answers as big tap buttons */
.wtp-td-seg,.wtp-td-segrow{display:flex;gap:8px;flex-wrap:wrap;margin:6px 0}
.wtp-td-segbtn{flex:1 1 90px;min-height:48px;border-radius:10px;border:2px solid #d0d5dd;background:#fff;font:inherit;font-size:16px;font-weight:600;cursor:pointer;color:#344054}
.wtp-td-segbtn.on{color:#fff;border-color:#475467;background:#475467}
.wtp-td-segbtn.on.yes{background:#1f7a3d;border-color:#1f7a3d}
.wtp-td-segbtn.on.no{background:#b42318;border-color:#b42318}
.wtp-td .wtp-td-seg{display:block;width:100%}
.wtp-td .wtp-td-segrow{display:grid;grid-template-columns:repeat(auto-fit,minmax(0,1fr));gap:8px;width:100%}
.wtp-td .wtp-td-segbtn{width:100%;min-width:0;flex:none}
.wtp-td .wtp-td-segbtn.on:not(.yes):not(.no){background:#e4e7ec;border-color:#98a2b3;color:#344054}

/* ---- header bell and phone condensing ---- */
.wtp-td-bell{display:inline-flex;align-items:center;gap:6px;min-height:38px;padding:4px 12px;border-radius:999px;border:1px solid rgba(255,255,255,.35);background:rgba(255,255,255,.1);color:#fff;font:inherit;font-size:14px;font-weight:600;cursor:pointer}
.wtp-td-bell .tick{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:50%;background:#2e9e57;color:#fff;font-size:13px;line-height:1}
.wtp-td-bell.off{background:#f59e0b;border-color:#f59e0b;color:#3b2300}
.wtp-td-notifypop .wtp-td-notify{margin:0;border:0;padding:0;background:none}
.wtp-td-mpopx{float:right}
.wtp-td-reply-more>summary{cursor:pointer;font-weight:600;padding:8px 0}
@media (max-width:640px){
  .wtp-td-help{display:none}
  .wtp-td-bell .lbl{display:none}
  .wtp-td-replybar{display:grid !important;grid-template-columns:repeat(3,1fr);gap:6px 10px;padding:10px 12px !important}
  .wtp-td-replybar .wtp-td-rbit-s{display:none}
  .wtp-td-top .wtp-td-sub{font-size:13px}
  .wtp-td-card{padding:12px !important}
}

.wtp-td-secopen{display:none;margin-left:8px;background:#f59e0b;color:#3b2300;border-radius:999px;padding:1px 9px;font-size:12px;font-weight:700}
@media (max-width:640px){
  .wtp-td-secopen{display:inline-block}
  .wtp-td-secthead{padding:8px 12px !important}
  /* header: badge, bell and refresh on one line */
  .wtp-td-top-right{flex-wrap:nowrap !important;gap:8px !important}
  .wtp-td-top-right .wtp-td-badge.big{flex:1 1 auto;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .wtp-td-top-right .wtp-td-btn{flex:0 0 auto}
  .wtp-td-bell{flex:0 0 auto;min-height:38px;padding:4px 10px}
  /* messages page */
  .wtp-td-chips{flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;padding-bottom:4px}
  .wtp-td-chip{flex:0 0 auto;white-space:nowrap}
  input[type=search].wtp-td-in{width:100%;box-sizing:border-box}
  /* conversation pop-up: messages get the room, reply stays small */
  .wtp-td-overlay{padding:0;align-items:stretch}
  .wtp-td-modal{height:100%;max-height:100%;border-radius:0}
  .wtp-td-modal-head{padding:10px 14px}
  .wtp-td-msgs{padding:10px 12px;min-height:0}
  .wtp-td-reply{padding:8px 12px;max-height:46vh}
  .wtp-td-reply-src,.wtp-td-reply .wtp-td-note{display:none}
  .wtp-td-reply .wtp-td-text{min-height:64px}
  .wtp-td-tabs:has(> :only-child){display:none}
  .wtp-td-modal-foot{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:8px 12px;justify-content:stretch}
  .wtp-td-modal-foot .wtp-td-btn{min-height:40px;font-size:13px !important;padding:4px 8px !important;white-space:normal;line-height:1.2}
}
@media (max-width:640px){input[type=search].wtp-td-in{margin:0 16px 10px !important;width:calc(100% - 32px) !important}}
.wtp-td-mpophead{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:8px}
.wtp-td-mpophead>div{min-width:0}

#wtpchat-launch,#wtpchat{display:none !important}
.wtp-td select{max-width:100%;box-sizing:border-box}
.wtp-td-fold{margin:4px 0 8px}
.wtp-td-fold>summary{cursor:pointer;color:#168ec7;font-size:14px;font-weight:600;padding:6px 0;list-style:none}
.wtp-td-fold>summary::before{content:"\24D8  "}
@media (max-width:640px){
  .wtp-td select.wtp-td-in,.wtp-td select{height:46px !important;min-height:46px !important;max-height:46px !important;width:100%;font-size:16px;padding:0 10px !important}
  .wtp-td input.wtp-td-in,.wtp-td input[type=text],.wtp-td input[type=date],.wtp-td input[type=time],.wtp-td input[type=tel],.wtp-td input[type=email],.wtp-td textarea{max-width:100%;min-width:0;box-sizing:border-box;font-size:16px}
  .wtp-td-manual-row{flex-direction:column;align-items:stretch}
  .wtp-td-manual-row>*{width:100%;box-sizing:border-box}
  .wtp-td-manual-row .wtp-td-btn{width:auto}
  .wtp-td-rrow{grid-template-columns:repeat(3,minmax(0,1fr)) !important;padding:8px 12px !important}
  .wtp-td-rrow .wtp-td-rname{grid-column:1 / -1}
  .wtp-td-rrow.head{display:none}
  .wtp-td-card{max-width:100%;box-sizing:border-box;overflow-wrap:anywhere}
}
html body #wtpchat-launch.wtpchat-launch,html body #wtpchat{display:none !important}
.wtp-td .wtp-td-segbtn{font-size:15px;padding:0 4px !important;white-space:nowrap}
.wtp-td-maildone{padding:14px 4px;opacity:.55;background:#f1f5f2;border-top:1px solid #e5e7eb;color:#1f7a3d;font-weight:600;transition:opacity .6s;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.wtp-td-maildone .tick{display:inline-block;width:20px;height:20px;border-radius:50%;background:#2e9e57;color:#fff;text-align:center;line-height:20px;font-size:13px}
.wtp-td-offerbody{overflow:auto;flex:1;padding:2px 0 8px}
.wtp-td-offerf{display:flex;flex-direction:column;gap:4px;margin:10px 0}
.wtp-td-offerf input,.wtp-td-offerf textarea{width:100%;box-sizing:border-box;font-size:16px;min-height:46px}
.wtp-td-offerf textarea{min-height:140px}
.wtp-td-offerbtns{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
@media (max-width:640px){.wtp-td-offerbtns .wtp-td-btn{flex:1 1 auto;min-height:44px}}
/* Yes / No / Not yet buttons: always fill the row evenly, never clip the words */
.wtp-td .wtp-td-seg{display:block !important;width:100% !important;flex:1 1 100% !important;min-width:0 !important}
.wtp-td .wtp-td-segrow{display:flex !important;gap:8px;width:100%}
.wtp-td .wtp-td-segbtn{flex:1 1 0 !important;min-width:0 !important;width:auto !important;min-height:48px;padding:0 6px !important;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background:#fff !important;color:#344054 !important;border:2px solid #d0d5dd !important}
.wtp-td .wtp-td-segbtn:hover{background:#f2f4f7 !important}
.wtp-td .wtp-td-segbtn.on{background:#e4e7ec !important;border-color:#667085 !important;color:#101828 !important}
.wtp-td .wtp-td-segbtn.on.yes{background:#1f7a3d !important;border-color:#1f7a3d !important;color:#fff !important}
.wtp-td .wtp-td-segbtn.on.no{background:#b42318 !important;border-color:#b42318 !important;color:#fff !important}
.wtp-td-mvl.sub>.wtp-td-manual-row,.wtp-td-mvl.sub>.wtp-td-seg{flex:1 1 100%;width:100%;min-width:0}
.wtp-td-mvl.sub{flex-wrap:wrap}
@media (max-width:640px){
  .wtp-td-replybar{grid-template-columns:1fr 1fr !important}
  .wtp-td-replybar .wtp-td-rbit:first-child{grid-column:1 / -1}
  .wtp-td-rbit-v{white-space:nowrap}
  .wtp-td-rbit{display:flex;align-items:baseline;gap:8px;flex-wrap:nowrap}
}
.wtp-td-clfold{background:#fff;border:1px solid #e5e7eb;border-radius:12px;margin:8px 0;overflow:hidden}
.wtp-td-clfold>summary{padding:14px 14px;font-weight:700;font-size:16px;cursor:pointer;list-style:none}
.wtp-td-clfold>summary::after{content:"\25BE";float:right;color:#667085}
.wtp-td-clfold[open]>summary{border-bottom:1px solid #eef0f3}
.wtp-td-clfold>.wtp-td-cl{border:0;border-radius:0;margin:0;padding:10px 14px 14px}
@media (max-width:640px){
  .wtp-td-cl label,.wtp-td-gapsel{display:flex !important;flex-direction:column !important;align-items:stretch !important;gap:4px;margin:8px 0}
  .wtp-td-cl select,.wtp-td-cl input{width:100% !important;box-sizing:border-box}
}
.wtp-td-mailfilter{margin:8px 0 12px}.wtp-td-mailfilter label{display:block;margin-bottom:4px;font-weight:600}.wtp-td-mailfilter select{width:100%}
.wtp-td-offerref{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:8px;margin:0 0 12px}.wtp-td-offerref>div{background:#f3f8fc;border:1px solid #d9e2ec;border-radius:10px;padding:10px;display:flex;flex-direction:column;gap:2px}.wtp-td-offerref strong{font-size:22px;line-height:1.1}.wtp-td-offerref .wtp-td-sub{font-size:12px}
.wtp-td-gph{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#5b6f85;font-weight:700;margin:16px 0 6px}
.wtp-td-gpgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px}
.wtp-td-gpf{display:flex;flex-direction:column;gap:3px;min-width:0}.wtp-td-gpf .wtp-td-in{width:100%;min-width:0}
.wtp-td-gpl{font-size:13px;font-weight:600;color:#17395d;margin-top:6px}.wtp-td-gpf .wtp-td-gpl{margin-top:0}
.wtp-td-gpstep{display:grid;grid-template-columns:1fr 1fr;gap:10px;grid-column:1/-1}
.wtp-td-gpprop{margin:8px 0;padding:10px;border:1px solid #e1e8ef;border-radius:10px;background:#fff}
.wtp-td-gpchips{display:flex;flex-wrap:wrap;gap:6px;margin:4px 0 2px}
.wtp-td-gpchip{display:flex;flex-direction:column;align-items:center;background:#f3f8fc;border:1px solid #d9e2ec;border-radius:8px;padding:4px 8px;min-width:74px}.wtp-td-gpchip em{font-style:normal;font-size:11px;color:#5b6f85}.wtp-td-gpchip b{font-size:15px}
.wtp-td-gpgrid>.wtp-td-gpstep:not(:first-child) .wtp-td-gpl{display:none}
.wtp-td-gpgrid{grid-template-columns:repeat(auto-fit,minmax(120px,1fr))}
details.wtp-td-gpprop>summary{cursor:pointer;list-style:none}details.wtp-td-gpprop>summary::-webkit-details-marker{display:none}details.wtp-td-gpprop>summary:before{content:"\25B8  ";color:#5b6f85}details.wtp-td-gpprop[open]>summary:before{content:"\25BE  "}
@media (max-width:640px){
  .wtp-td-manual-row>*{flex:0 0 auto !important;min-height:0}
  .wtp-td-manual-row>input.wtp-td-in,.wtp-td-manual-row>select.wtp-td-in{height:44px}
  .wtp-td-manual-row>input[type=date],.wtp-td-manual-row>input[type=time]{height:44px;display:block}
  .wtp-td-manual-row>textarea.wtp-td-in{height:auto;min-height:84px}
}
@media (max-width:640px){
  .wtp-td{overflow-x:hidden}
  .wtp-td *{overflow-wrap:anywhere;word-break:normal}
  .wtp-td input,.wtp-td select,.wtp-td button{overflow-wrap:normal}
  .wtp-td-misslist summary{cursor:pointer;color:#7a5200}
}
.wtp-td-costat{font-weight:600}.wtp-td-costat.ok{color:#1f7a3d}.wtp-td-costat.no{color:#b42318}
.wtp-td-mvg{margin:10px 0;padding:8px 10px 8px 12px;border-left:5px solid #c26a00;background:#fff8ee;border-radius:8px}
.wtp-td-mvg.in{border-left-color:#1f7a3d;background:#f1faf4}
.wtp-td-mvgh{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:2px}.wtp-td-mvgh strong{font-size:17px}
.wtp-td-mvbadge{display:inline-block;font-size:11px;font-weight:800;letter-spacing:.08em;color:#fff;border-radius:6px;padding:3px 8px;background:#c26a00}.wtp-td-mvbadge.in{background:#1f7a3d}

.wtp-td-mailbtns .wtp-td-btn.suggest{grid-column:1 / -1;min-height:52px;white-space:normal;line-height:1.25}

.wtp-td-cmchips{display:flex;flex-direction:column;gap:6px;margin:6px 0 10px}
.wtp-td-cmchk{display:flex;gap:10px;align-items:center;font-size:15px;padding:8px 0}
.wtp-td-cmchk input{width:22px;height:22px;flex:0 0 auto}
.wtp-td-cmrow{border-top:1px solid var(--line-2);padding:10px 0}
#wtp-td-cmbody{font-size:15px;line-height:1.45}

.wtp-td-fold>summary{cursor:pointer;list-style:none}
.wtp-td-fold>summary::-webkit-details-marker{display:none}
.wtp-td-foldsum{font-weight:700;color:var(--ink);font-size:16px;padding:12px 0}
details.wtp-td-card.wtp-td-fold>summary::after{content:' \25BE';color:var(--ink-3)}
details.wtp-td-card.wtp-td-fold[open]>summary::after{content:' \25B4'}

.wtp-td-tlines{margin:8px 0;border:1px solid var(--line-2);border-radius:10px;overflow:hidden}
.wtp-td-tline{display:grid;grid-template-columns:120px 1fr;gap:8px;padding:8px 10px;border-bottom:1px solid var(--line-2);font-size:14px}
.wtp-td-tline:last-child{border-bottom:0}
.wtp-td-tk{color:var(--ink-3);font-weight:600}
.wtp-td-tv{overflow-wrap:anywhere}
.wtp-td-tfield{display:flex;flex-direction:column;gap:4px;margin-bottom:8px}

/* ---------- Clients tab and client email: clean layout (1.6.176) ---------- */
.wtp-td .wtp-td-cl { padding: 0; margin: 12px 0 0; border-radius: 14px; overflow: hidden; }
.wtp-td .wtp-td-cl-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0; padding: 14px 16px; }
.wtp-td .wtp-td-cl.open .wtp-td-cl-head { border-bottom: 1px solid var(--line-2); background: #fbfcfd; }
.wtp-td .wtp-td-cl-title { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.wtp-td .wtp-td-cl-nm { font-size: 17px; font-weight: 700; color: var(--navy-2); line-height: 1.25; }
.wtp-td .wtp-td-cl-metaline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.wtp-td .wtp-td-cl-acts { display: flex; flex-wrap: wrap; gap: 8px; flex: 0 1 auto; min-width: 0; justify-content: flex-end; }
.wtp-td .wtp-td-cl-head { flex-wrap: wrap; }
.wtp-td .wtp-td-cl-title { min-width: 0; flex: 1 1 140px; }
.wtp-td .wtp-td-cl-sec { padding: 14px 16px; border-bottom: 1px solid var(--line-2); }
.wtp-td .wtp-td-cl-sec:last-child { border-bottom: 0; }
.wtp-td .wtp-td-cl-sech { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 8px; }
.wtp-td .wtp-td-cl-sec > .wtp-td-sub { margin: 8px 0 0; }
.wtp-td .wtp-td-cl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px 16px; }
.wtp-td .wtp-td-cl-grid .wtp-td-gapsel { margin: 0; flex-direction: column; align-items: stretch; gap: 4px; }
.wtp-td .wtp-td-cl-grid .wtp-td-gapsel .wtp-td-sel { width: 100%; }
.wtp-td .wtp-td-cl-sec .wtp-td-agbox { margin: 12px 0 0; gap: 10px 24px; }
.wtp-td .wtp-td-cl-edrow { display: flex; gap: 8px; align-items: center; margin-top: 10px; }
.wtp-td .wtp-td-cl-edrow .wtp-td-in { flex: 1 1 auto; min-width: 0; width: 100%; }
.wtp-td .wtp-td-cl-danger { background: #fffbfa; }
.wtp-td .wtp-td-cl-danger .wtp-td-btn { color: var(--red-ink) !important; border-color: var(--red-line) !important; }
.wtp-td .wtp-td-cl-props { margin: 0; }
.wtp-td .wtp-td-cl-prop:first-child { border-top: 0; padding-top: 0; }
.wtp-td .wtp-td-cl-prow { flex-wrap: wrap; }
.wtp-td .wtp-td-cl-pname { flex: 1 1 200px; min-width: 0; }
.wtp-td .wtp-td-cl-pname strong { font-size: 15px; }
.wtp-td .wtp-td-cl-name { width: 100%; }

.wtp-td .wtp-td-svcpill { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--blue-soft); color: var(--blue-ink); border: 1px solid #cfe6f4; }
.wtp-td .wtp-td-svcpill.s-full { background: var(--green-bg); color: var(--green-ink); border-color: var(--green-line); }
.wtp-td .wtp-td-svcpill.s-cohost, .wtp-td .wtp-td-svcpill.s-revenue_in { background: var(--blue-soft); color: var(--blue-ink); }
.wtp-td .wtp-td-svcpill.s-cohost_off, .wtp-td .wtp-td-svcpill.s-revenue { background: var(--line-2); color: var(--ink-2); border-color: var(--line); }
.wtp-td .wtp-td-svcpill.s-unassigned { background: var(--amber-bg); color: var(--amber-ink); border-color: var(--amber-line); }

.wtp-td .wtp-td-pills { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.wtp-td .wtp-td-pill { margin: 0; padding: 4px 10px; font-size: 13px; border-radius: 999px; background: var(--line-2); border: 1px solid var(--line); color: var(--ink-2); word-break: break-all; }
.wtp-td .wtp-td-pill.main { background: var(--blue-soft); border-color: #cfe6f4; color: var(--blue-ink); font-weight: 600; }

/* the email section */
.wtp-td .wtp-td-mailcard { padding: 18px 16px 20px; }
.wtp-td .wtp-td-h-big { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.wtp-td .wtp-td-step { display: flex; align-items: center; gap: 12px; margin: 26px 0 12px; padding-top: 18px; border-top: 1px solid var(--line-2); }
.wtp-td .wtp-td-stepn { flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; background: var(--navy-2); color: #fff; font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; }
.wtp-td .wtp-td-cmchips { display: flex; flex-wrap: wrap; gap: 8px; }
.wtp-td .wtp-td-cmchk { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-size: 14px; cursor: pointer; }
.wtp-td .wtp-td-cmchk.on { background: var(--blue-soft); border-color: #a9d3ec; color: var(--navy-2); font-weight: 600; }
.wtp-td .wtp-td-quick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; }
.wtp-td .wtp-td-flab { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin: 14px 0 6px; }
.wtp-td .wtp-td-full { width: 100%; }
.wtp-td .wtp-td-mailcard textarea.wtp-td-in { min-height: 260px; line-height: 1.5; padding: 12px 14px !important; }
.wtp-td .wtp-td-recips { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.wtp-td .wtp-td-recip { margin: 0; padding: 12px 14px; border-bottom: 1px solid var(--line-2); background: #fff; }
.wtp-td .wtp-td-recip:last-child { border-bottom: 0; }
.wtp-td .wtp-td-recip.missing { background: var(--amber-bg); }
.wtp-td .wtp-td-recip-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.wtp-td .wtp-td-recip-top .wtp-td-sub { margin: 2px 0 0; font-size: 13px; }
.wtp-td .wtp-td-sendbox { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.wtp-td .wtp-td-sendbox .wtp-td-btn { width: 100%; justify-content: center; min-height: 48px; }
.wtp-td .wtp-td-sendbox .wtp-td-cmchk { width: 100%; }
@media (max-width: 640px) {
  .wtp-td .wtp-td-cl-head { padding: 14px; }
  .wtp-td .wtp-td-cl-sec { padding: 14px; }
  .wtp-td .wtp-td-cl-edrow { flex-direction: column; align-items: stretch; }
  .wtp-td .wtp-td-cl-grid { grid-template-columns: 1fr; }
  .wtp-td .wtp-td-cmchk { width: 100%; }
}
.wtp-td .wtp-td-cl-title .wtp-td-cl-name { flex: 0 0 auto; width: 100%; }
.wtp-td .wtp-td-pill { list-style: none !important; }
.wtp-td .wtp-td-pill::before, .wtp-td .wtp-td-pill::marker { content: none !important; display: none; }
.wtp-td .wtp-td-kv { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; margin: 0; padding: 0; }
.wtp-td .wtp-td-kv dt { color: var(--ink-2); font-size: 14px; margin: 0; }
.wtp-td .wtp-td-kv dd { margin: 0; font-weight: 600; font-size: 14px; text-align: right; color: var(--ink); }
.wtp-td .wtp-td-cl-sec .wtp-td-agbox { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.wtp-td .wtp-td-cl-sec .wtp-td-agbox .wtp-td-gapsel { flex-direction: column; align-items: stretch; margin: 0; }
.wtp-td .wtp-td-cl-sec .wtp-td-agbox .wtp-td-sel { width: 100%; }

/* Team timer stopped while waiting on Scott, with a separate running total (1.6.182) */
.wtp-td .wtp-td-timer-still{font-variant-numeric:tabular-nums;font-weight:700}
.wtp-td .wtp-td-totalwait{margin-top:6px;padding-top:6px;border-top:1px dashed rgba(0,0,0,.18);display:flex;flex-direction:column;align-items:flex-start;gap:1px}
.wtp-td .wtp-td-total{font-size:.92em;color:#64748b;font-variant-numeric:tabular-nums}

/* Last check-out and next check-in (1.6.187) */
.wtp-td .wtp-td-edge{font-size:.85em;color:#17395D;background:#eef6fb;border-radius:6px;padding:2px 8px;margin-top:4px;display:inline-block;line-height:1.4}
.wtp-td .wtp-td-redge{display:flex;flex-direction:column;gap:1px;margin-top:2px}
.wtp-td .wtp-td-redge-line{font-size:.78em;color:#475569;line-height:1.35}

/* Morning / evening routine: colour tags and a tidier name column (1.6.188) */
.wtp-td .wtp-td-daybar{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;padding:8px 16px;border-bottom:1px solid var(--line-2);background:#fafbfc}
.wtp-td .wtp-td-daybar-h{font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-3)}
.wtp-td .wtp-td-dtag{display:inline-block;font-size:11.5px;font-weight:700;line-height:1;padding:4px 8px;border-radius:999px;white-space:nowrap;border:1px solid transparent}
.wtp-td .wtp-td-dtag.out{background:#fff1dc;color:#9a4b00;border-color:#f5c98a}
.wtp-td .wtp-td-dtag.inn{background:#dff5e6;color:#12683a;border-color:#9bd9b3}
.wtp-td .wtp-td-dtag.turn{background:#fde3e3;color:#a11d1d;border-color:#f2a3a3}
.wtp-td .wtp-td-dtag.tom{background:#e6f0fb;color:#1f4f8f;border-color:#b5cdee;font-weight:600}
.wtp-td .wtp-td-dtag.none{background:#f1f3f5;color:#8a94a0;border-color:#e3e6ea;font-weight:500}
.wtp-td .wtp-td-rn{display:flex;flex-direction:column;align-items:flex-start;gap:3px}
.wtp-td .wtp-td-rn-top{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px}
.wtp-td .wtp-td-rn-props{display:flex;flex-direction:column;gap:3px;width:100%}
.wtp-td .wtp-td-rn-prop{display:flex;flex-wrap:wrap;align-items:center;gap:3px 6px;font-weight:400;font-size:13px;color:var(--ink-2)}
.wtp-td .wtp-td-rn-tags{display:inline-flex;gap:4px}
.wtp-td .wtp-td-rn-tags:empty{display:none}
.wtp-td .wtp-td-rn-pname{font-weight:600;color:var(--ink-2)}
.wtp-td .wtp-td-rn-pname.warn{color:var(--amber-ink)}
.wtp-td .wtp-td-rn-edge{flex:1 1 100%;font-size:12px;color:var(--ink-3);line-height:1.35}

/* Overview: client cards and collapsed sections (1.6.189) */
.wtp-td .wtp-td-ccwrap{padding:0;overflow:hidden}
.wtp-td .wtp-td-ccwrap>.wtp-td-routine-top{padding:12px 14px 8px}
.wtp-td .wtp-td-ccwrap .wtp-td-daybar{padding:8px 14px}
.wtp-td .wtp-td-cc-list{display:flex;flex-direction:column}
.wtp-td .wtp-td-cc{border-top:1px solid var(--line-2);border-left:5px solid #cfd6dd;background:#fff}
.wtp-td .wtp-td-cc.red{border-left-color:var(--red)}
.wtp-td .wtp-td-cc.amber{border-left-color:var(--amber)}
.wtp-td .wtp-td-cc.green{border-left-color:var(--green)}
.wtp-td .wtp-td-cc-sum{list-style:none;display:flex;flex-wrap:wrap;align-items:center;gap:5px 8px;padding:12px 14px;cursor:pointer;min-height:48px}
.wtp-td .wtp-td-cc-sum::-webkit-details-marker{display:none}
.wtp-td .wtp-td-cc-sum::after{content:"\25BE";margin-left:auto;color:var(--ink-3);font-size:14px}
.wtp-td .wtp-td-cc[open]>.wtp-td-cc-sum::after{content:"\25B4"}
.wtp-td .wtp-td-cc-name{font-weight:700;font-size:15.5px;color:var(--ink)}
.wtp-td .wtp-td-cc-tags{display:inline-flex;flex-wrap:wrap;gap:4px}
.wtp-td .wtp-td-cc-tags:empty{display:none}
.wtp-td .wtp-td-cc-prog{font-size:12px;font-weight:700;color:var(--ink-3);background:var(--line-2);border-radius:999px;padding:3px 8px}
.wtp-td .wtp-td-cc-prog.ok{background:var(--green-bg);color:var(--green)}
.wtp-td .wtp-td-cc-body{padding:0 14px 14px;display:flex;flex-direction:column;gap:10px}
.wtp-td .wtp-td-cc-prop strong{font-size:14px}
.wtp-td .wtp-td-cc-edge{font-size:12.5px;color:var(--ink-3);margin-top:2px;line-height:1.35}
.wtp-td .wtp-td-cc-sec{display:flex;flex-direction:column;gap:6px}
.wtp-td .wtp-td-cc-h{font-size:11.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-3)}
.wtp-td .wtp-td-cc-ticks{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:8px}
.wtp-td .wtp-td-cc-ticks .wtp-td-rcell{justify-content:flex-start;gap:8px;border:1px solid var(--line);border-radius:10px;background:#fff;padding:8px 10px;min-height:46px}
.wtp-td .wtp-td-cc-ticks .wtp-td-rcell.on{background:var(--green-bg);border-color:var(--green-line)}
.wtp-td .wtp-td-cc-ticks .wtp-td-rlabel{display:inline;font-size:14px;font-weight:600}
.wtp-td .wtp-td-collapse{margin:10px 0;border:1px solid var(--line);border-radius:12px;background:#fff;overflow:hidden}
.wtp-td .wtp-td-collapse-sum{list-style:none;cursor:pointer;padding:13px 14px;font-weight:700;font-size:15px;color:var(--ink);display:flex;justify-content:space-between;align-items:center;min-height:48px}
.wtp-td .wtp-td-collapse-sum::-webkit-details-marker{display:none}
.wtp-td .wtp-td-collapse-sum::after{content:"\25BE";color:var(--ink-3)}
.wtp-td .wtp-td-collapse[open]>.wtp-td-collapse-sum::after{content:"\25B4"}
.wtp-td .wtp-td-collapse>.wtp-td-card{margin:0;border:0;border-top:1px solid var(--line-2);border-radius:0;box-shadow:none}
@media (max-width:640px){
  .wtp-td .wtp-td-cc-body .wtp-td-thread{padding:10px 0}
  .wtp-td .wtp-td-cc-body .wtp-td-thread-actions{flex-wrap:wrap}
}

/* 1.6.191 guest experience */
.wtp-td-badstay{background:#fdecea;border:2px solid #c62828;color:#8e1b1b;border-radius:10px;padding:8px 12px;margin:6px 0;font-weight:600}
.wtp-td-badstay.big{padding:12px 14px;margin:0 0 10px;font-size:15px}
.wtp-td-badstay .wtp-td-sub{color:#8e1b1b;font-weight:400;margin:4px 0 8px}

.wtp-td-dmgcard.open{border:2px solid #e08a00;background:#fff8ea}
.wtp-td-dmg{display:grid;gap:6px;padding:10px 0;border-top:1px solid rgba(0,0,0,.1)}
/* 1.6.590 Damage claims */
.wtp-td-dmgclaim{background:#fff;border:1px solid var(--line-2,#d5e2ec);border-left:5px solid #e08a00;border-radius:12px;margin:10px 0;overflow:hidden}
.wtp-td-dmgclaim.urgent{border-left-color:#b42318;background:#fff5f4}
.wtp-td-dmgclaim.closed{border-left-color:#2f855a;opacity:.92}
.wtp-td-dmghead{display:grid;gap:4px;width:100%;text-align:left;background:none;border:0;padding:14px 16px;cursor:pointer;font:inherit;color:inherit}
.wtp-td-dmgmore{color:#168ec7;font-weight:700;font-size:13px}
.wtp-td-dmgbody{display:grid;gap:12px;padding:6px 16px 16px}
.wtp-td-dmgsteps{display:flex;flex-wrap:wrap;gap:6px}
.wtp-td-dmgcur{outline:2px solid #168ec7}
.wtp-td-dmggrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:8px;align-items:end}
.wtp-td-dmgf{display:grid;gap:3px}
.wtp-td-dmgq{display:grid;gap:6px}
.wtp-td-dmgqrow{display:flex;justify-content:space-between;gap:8px;align-items:center}
.wtp-td-dmglog{border-top:1px solid rgba(0,0,0,.07);padding-top:4px}

/* 1.6.191 compact client cards: a waiting message is a few lines, not a screen */
.wtp-td-cc-body .wtp-td-thread{display:grid;grid-template-columns:1fr auto;gap:4px 10px;padding:8px 10px;margin:6px 0}
.wtp-td-cc-body .wtp-td-thread-main{grid-column:1;min-width:0;display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 8px}
.wtp-td-cc-body .wtp-td-thread-wait{grid-column:2;grid-row:1;text-align:right;display:flex;flex-direction:column;align-items:flex-end;gap:0}
.wtp-td-cc-body .wtp-td-thread-wait .wtp-td-timer,.wtp-td-cc-body .wtp-td-thread-wait .wtp-td-timer-still{font-size:18px;line-height:1.1}
.wtp-td-cc-body .wtp-td-thread-wait .wtp-td-timer-lbl{font-size:10px;line-height:1.2}
.wtp-td-cc-body .wtp-td-totalwait{margin-top:2px}
.wtp-td-cc-body .wtp-td-totalwait .wtp-td-timer{font-size:12px;opacity:.75}
.wtp-td-cc-body .wtp-td-thread-actions{grid-column:1 / -1;display:flex;flex-wrap:nowrap;gap:6px}
.wtp-td-cc-body .wtp-td-thread-actions .wtp-td-btn{flex:1 1 0;min-width:0;padding:8px 6px;font-size:13px;white-space:normal;line-height:1.15}
.wtp-td-cc-body .wtp-td-thread-actions>:nth-child(2){display:none!important}
.wtp-td-cc-body .wtp-td-cc-ticks{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.wtp-td-cc-body .wtp-td-rcell{padding:6px;min-height:0;font-size:12px}
.wtp-td-cc-body .wtp-td-cc-prop{margin:4px 0}
.wtp-td-cc-body .wtp-td-cc-sec{margin-top:8px}

.wtp-td-goguest{display:flex;gap:10px;align-items:flex-start;padding:8px 0;border-top:1px solid rgba(0,0,0,.08)}
.wtp-td-cc-body .wtp-td-thread-main{padding-left:4px}

.wtp-td-edgechips{display:flex;flex-wrap:wrap;gap:6px;margin:4px 0}
.wtp-td-badge:not(.red){background:#168EC7}

.wtp-td-late{border-left:3px solid #c0392b}

/* 1.6.222: the section dropdown is the navigation on desktop too (the wide tab strip took too much room left and right). */
.wtp-td-nav { display: none !important; }
.wtp-td .wtp-td-navsel { display: block !important; width: 100%; max-width: 360px !important; margin: 6px 0 10px; }
@media (max-width: 640px) { .wtp-td .wtp-td-navsel { max-width: none !important; margin: 0 0 8px; } }
/* 1.6.276: long answers such as "Agreement not needed" wrap onto two lines instead of being cut off on a phone */
.wtp-td .wtp-td-segbtn{white-space:normal !important;overflow:visible !important;text-overflow:clip !important;line-height:1.15;padding:6px !important;overflow-wrap:anywhere}
.wtp-td .wtp-td-manual-row>.wtp-td-btn{white-space:normal;text-align:center}

.wtp-td .wtp-td-vrow{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 2px;border-bottom:1px solid #e3e8ee}

.wtp-td-chase-h { color: #5b21b6; }
.wtp-td-chasecard { display: block; padding: 14px 16px; margin: 6px 0 10px; border: 2px solid #7c3aed; border-radius: 12px; background: #f5f0ff; }
.wtp-td-chasecard-top { font-size: 16px; color: #1f2937; }
.wtp-td-chasecard-top strong { font-size: 17px; }
.wtp-td-chasecard-line { margin-top: 2px; font-size: 13px; color: #6b7280; }
.wtp-td-chasecard-note { margin-top: 8px; font-size: 15px; font-weight: 700; color: #4c1d95; }
.wtp-td-chasecard-sub { margin-top: 4px; font-size: 13px; color: #6b7280; }
.wtp-td-chasecard-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

.wtp-td-mailgroup{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:16px 0 6px;padding-bottom:4px;border-bottom:2px solid #17395d;color:#17395d;word-break:break-word}
.wtp-td-mailsum .wtp-td-mailitem{margin-top:8px}

/* ---------- Call scripts (1.6.366): single column, phone friendly, no sideways scroll ---------- */
.wtp-td-scr { overflow-wrap: anywhere; }
.wtp-td-scr-score { margin: 10px 0 0; }
.wtp-td-scr-big { font-size: 40px; line-height: 1.1; font-weight: 800; color: var(--navy-2); }
.wtp-td-scr-focus { margin: 8px 0; color: var(--ink); }
.wtp-td-scr-chart { display: block; width: 100%; max-width: 420px; height: auto; margin: 8px 0; background: var(--blue-soft); border-radius: 8px; }
.wtp-td-scr-row { display: flex; flex-wrap: wrap; gap: 6px 12px; padding: 6px 0; border-bottom: 1px solid var(--line-2); }
.wtp-td-scr-sec { margin: 22px 0 0; padding-top: 14px; border-top: 1px solid var(--line); }
.wtp-td-scr-h { margin: 14px 0 6px; font-weight: 700; color: var(--navy-2); font-size: 15px; }
.wtp-td-scr-p { margin: 8px 0; line-height: 1.5; }
.wtp-td-scr-l { margin: 6px 0 6px 20px; padding: 0; line-height: 1.5; }
.wtp-td-scr-tw { overflow-x: auto; max-width: 100%; margin: 8px 0; }
.wtp-td-scr-t { border-collapse: collapse; font-size: 14px; }
.wtp-td-scr-t th, .wtp-td-scr-t td { border: 1px solid var(--line); padding: 6px 8px; text-align: left; vertical-align: top; }
.wtp-td-scr-t th { background: var(--line-2); }

.wtp-td-urgent-banner { display: block; margin: 0 0 12px; padding: 12px 16px; border-radius: 12px; background: #b91c1c; color: #fff; border: 2px solid #7f1d1d; }
.wtp-td-urgent-h { font-weight: 800; letter-spacing: .08em; font-size: 15px; margin-bottom: 6px; }
.wtp-td-urgent-row { display: block; width: 100%; text-align: left; background: rgba(255,255,255,.14); color: #fff; border: 0; border-radius: 8px; padding: 10px 12px; margin: 6px 0 0; font: inherit; cursor: pointer; }
.wtp-td-urgent-row:hover, .wtp-td-urgent-row:focus { background: rgba(255,255,255,.26); }
.wtp-td-urgent-row strong { display: block; font-size: 16px; line-height: 1.35; }
.wtp-td-urgent-row span { display: block; font-size: 13px; opacity: .95; margin-top: 2px; }
.wtp-td-urgent-row .wtp-td-urgent-go { font-weight: 700; text-decoration: underline; margin-top: 6px; opacity: 1; }
.wtp-td-urgent-tag { display: inline-block; background: #b91c1c; color: #fff; font-weight: 800; font-size: 11px; letter-spacing: .06em; padding: 2px 8px; border-radius: 999px; margin-left: 8px; }
.wtp-td-urgent-job { border-left: 6px solid #b91c1c; }

/* 1.6.371: client-meeting banner, Scott's day, checklist-update rows */
/* 1.6.513: the old blue 'next meeting' banner rules were removed: the Meetings page itself is a .wtp-td-mtg card and was painted blue by them. */
.wtp-td-sday-st { font-weight: 700; color: #15803d; }
.wtp-td-sday-st.busy { color: #b91c1c; }
.wtp-td-sday-l { list-style: none; margin: 6px 0 0; padding: 0; }
.wtp-td-sday-l li { padding: 4px 0; border-top: 1px solid #e3edf5; }
.wtp-td-sday-l li.now { font-weight: 700; color: #168ec7; }
.wtp-td-sday-l li.past { color: #8a99ab; text-decoration: line-through; }
.wtp-td-chkrow { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 0; border-top: 1px solid #e3edf5; }
.wtp-td-chkflag { background: #fff7e0; border: 1px solid #f0c36d; border-radius: 10px; padding: 8px 12px; margin: 8px 0; }

/* 1.6.373: Scott's day box (green free, red busy, blue join) and the urgent banner wrapping on phones */
.wtp-td-sday-box { margin: 0 0 12px; padding: 12px 16px; border-radius: 12px; color: #fff; border: 2px solid transparent; box-sizing: border-box; max-width: 100%; overflow-wrap: anywhere; }
.wtp-td-sday-box.green { background: #166534; border-color: #14532d; }
.wtp-td-sday-box.red { background: #9f1239; border-color: #4c0519; }
.wtp-td-sday-box.blue { background: #168ec7; border-color: #0f6a96; }
.wtp-td-sday-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.wtp-td-sday-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 200px; }
.wtp-td-sday-t strong { font-size: 20px; letter-spacing: .02em; line-height: 1.3; }
.wtp-td-sday-t span { font-size: 16px; font-weight: 600; }
.wtp-td-sday-join { background: #fff; color: #17395d; text-decoration: none; font-weight: 700; padding: 8px 14px; border-radius: 8px; }
.wtp-td-sday-nolink { background: #7f1d1d; color: #fff; font-weight: 700; padding: 8px 14px; border-radius: 8px; text-transform: uppercase; }
.wtp-td-sday-next { margin-top: 8px; font-size: 17px; font-weight: 700; }
.wtp-td-sday-line { margin-top: 2px; font-size: 15px; font-weight: 600; opacity: 1; }
.wtp-td-sday-box .wtp-td-sday-l { list-style: none; margin: 8px 0 0; padding: 0; }
.wtp-td-sday-box .wtp-td-sday-l li { padding: 5px 0; border-top: 1px solid rgba(255,255,255,.5); font-size: 16px; font-weight: 600; }
.wtp-td-sday-box .wtp-td-sday-l li.now { font-weight: 700; }
.wtp-td-sday-box .wtp-td-sday-l li.past { opacity: .85; text-decoration: line-through; }
.wtp-td-sday-cal { margin-top: 8px; font-size: 14px; opacity: 1; }
.wtp-td-sday-cal.stale { opacity: 1; font-weight: 700; background: rgba(0,0,0,.25); padding: 4px 8px; border-radius: 6px; }
.wtp-td-urgent-banner { box-sizing: border-box; max-width: 100%; overflow: hidden; }
.wtp-td-urgent-row { box-sizing: border-box; max-width: 100%; white-space: normal; overflow-wrap: anywhere; word-break: break-word; }
.wtp-td-urgent-row strong, .wtp-td-urgent-row span { white-space: normal; overflow-wrap: anywhere; word-break: break-word; }

/* Tasks tab (redesign 28 Oct 2026) */
.wtp-td-tlist{display:flex;flex-direction:column;gap:8px;margin:6px 0 10px}
.wtp-td-tgroup{font-size:12px;font-weight:700;letter-spacing:.6px;text-transform:uppercase;color:#17395d;margin:10px 0 0}
.wtp-td-tgroup.bad{color:#b42318}.wtp-td-tgroup span{color:#64748b;font-weight:600}
.wtp-td-task{background:#fff;border:1px solid #e2e8f0;border-left:4px solid #cbd5e1;border-radius:12px;padding:12px 14px;box-shadow:0 1px 2px rgba(15,23,42,.04)}
.wtp-td-task.late{border-left-color:#d92d20;background:#fffafa}.wtp-td-task.soon{border-left-color:#f59e0b}.wtp-td-task.isdone{opacity:.65}
.wtp-td-trow{display:flex;align-items:flex-start;gap:12px}
.wtp-td-ttick{flex:0 0 auto;width:28px;height:28px;border-radius:50%;border:2px solid #94a3b8;background:#fff;color:#fff;font-size:15px;font-weight:800;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;margin-top:1px;padding:0}
.wtp-td-ttick:hover{border-color:#168ec7;background:#eaf6fc}.wtp-td-ttick.on{background:#1b7a3d;border-color:#1b7a3d}
.wtp-td-tmain{flex:1 1 auto;min-width:0}
.wtp-td-ttitle{font-size:15px;font-weight:700;color:#0f172a;line-height:1.35;word-break:break-word}.wtp-td-ttitle.done{text-decoration:line-through;color:#64748b}
.wtp-td-tnote{font-size:13px;color:#475569;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wtp-td-tnote.full{white-space:normal;background:#f8fafc;border-radius:8px;padding:8px 10px;margin:0 0 10px}
.wtp-td-tchips{display:flex;flex-wrap:wrap;gap:6px;margin-top:7px}
.wtp-td-tchip{font-size:12px;line-height:1;padding:5px 9px;border-radius:999px;background:#eef2f7;color:#17395d;font-weight:600;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.wtp-td-tchip.muted{background:#f1f5f9;color:#64748b;font-weight:500}.wtp-td-tchip.bad{background:#fde8e8;color:#b42318}.wtp-td-tchip.warn{background:#fff4de;color:#9a6200}
.wtp-td-tmore{flex:0 0 auto}
.wtp-td-tbody{margin:12px 0 0 40px;border-top:1px dashed #e2e8f0;padding-top:12px}
.wtp-td-tgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:10px 16px}
.wtp-td-tlab{font-size:11px;text-transform:uppercase;letter-spacing:.5px;color:#64748b;font-weight:600}
.wtp-td-tval{font-size:14px;color:#0f172a;margin-top:2px;word-break:break-word}
.wtp-td-tactions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:12px}
@media (max-width:640px){.wtp-td-task{padding:10px 11px}.wtp-td-tbody{margin-left:0}.wtp-td-ttitle{font-size:14px}.wtp-td-tmore{padding:6px 10px}}


/* ---------- Overview "Today" section (1.6.403): phone first, one column, rows 48px+ ---------- */
.wtp-td .wtp-td-today { margin: 16px 0 0; display: block; }
.wtp-td .wtp-td-tdhead { display: flex; align-items: baseline; justify-content: space-between; padding: 0 2px 8px; }
.wtp-td .wtp-td-tdtitle { margin: 0; padding: 0; font-size: 20px; font-weight: 700; line-height: 1.2; color: var(--navy-2) !important; text-transform: none; }
.wtp-td .wtp-td-tdgroup { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 6px 0; margin: 0 0 12px; box-shadow: var(--shadow); overflow: hidden; }
.wtp-td .wtp-td-tdlabel { padding: 10px 16px 4px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.wtp-td .wtp-td-tdstrip { padding: 10px 16px 8px; font-size: 16px; font-weight: 600; color: var(--navy-2); }
.wtp-td .wtp-td-tdnone { padding: 8px 16px 12px; margin: 0; }
.wtp-td button.wtp-td-tdrow { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 48px; padding: 10px 16px; margin: 0; background: #fff !important; color: var(--ink) !important; border: 0 !important; border-top: 1px solid var(--line-2) !important; border-radius: 0 !important; text-align: left; font-size: 16px; font-weight: 500; line-height: 1.3; cursor: pointer; box-shadow: none !important; }
.wtp-td button.wtp-td-tdrow:first-child { border-top: 0 !important; }
.wtp-td button.wtp-td-tdrow:active, .wtp-td button.wtp-td-tdrow:hover { background: var(--blue-soft) !important; }
.wtp-td .wtp-td-tdmain { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.wtp-td .wtp-td-tdmain strong { font-weight: 600; font-size: 16px; overflow-wrap: anywhere; }
.wtp-td .wtp-td-tdsub { font-size: 14px; color: var(--ink-3); }
.wtp-td .wtp-td-tdn { flex: 0 0 auto; min-width: 32px; height: 32px; padding: 0 9px; border-radius: 16px; background: var(--blue) ; color: #fff; font-size: 15px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.wtp-td .wtp-td-tdprog { flex: 0 0 auto; font-size: 15px; font-weight: 700; color: var(--blue-ink); background: var(--blue-soft); border-radius: 12px; padding: 3px 10px; }
.wtp-td .wtp-td-tdchev { flex: 0 0 auto; font-size: 26px; line-height: 1; color: var(--ink-3); }
.wtp-td button.wtp-td-tdbar { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "l n" "t t"; gap: 6px 12px; align-items: center; width: 100%; min-height: 48px; padding: 10px 16px; margin: 0; background: #fff !important; color: var(--ink) !important; border: 0 !important; border-top: 1px solid var(--line-2) !important; border-radius: 0 !important; text-align: left; font-size: 16px; cursor: pointer; box-shadow: none !important; }
.wtp-td .wtp-td-tdbarl { grid-area: l; font-weight: 600; }
.wtp-td .wtp-td-tdbarn { grid-area: n; font-weight: 700; color: var(--blue-ink); }
.wtp-td .wtp-td-tdtrack { grid-area: t; display: block; height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; }
.wtp-td .wtp-td-tdfill { display: block; height: 100%; border-radius: 4px; background: var(--blue); }
.wtp-td .wtp-td-tdfill.ok { background: var(--green); }
@media (min-width: 900px) {
  .wtp-td .wtp-td-today { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; align-items: start; }
  .wtp-td .wtp-td-tdhead { grid-column: 1 / -1; }
}


/* ---------- three task levels (1.6.403): Urgent red / Semi-urgent orange / Not urgent ---------- */
.wtp-td-urgent-banner.semi { background: #c2410c; border-color: #7c2d12; }
.wtp-td-urgent-tag.semi { background: #ea580c; }
.wtp-td-urgent-tag.normal { background: #e4e7ec; color: #475467; font-weight: 700; }
.wtp-td-semi-job { border-left: 6px solid #ea580c; }
.wtp-td .wtp-td-prio { display: flex; gap: 8px; width: 100%; }
.wtp-td .wtp-td-prio .wtp-td-prio-btn { flex: 1 1 0; min-height: 48px; padding: 8px 6px; border-radius: 10px; font-size: 16px; font-weight: 700; cursor: pointer; background: #fff !important; color: var(--ink-2) !important; border: 2px solid var(--line) !important; box-shadow: none !important; }
.wtp-td .wtp-td-prio .wtp-td-prio-btn.urgent.on { background: #b91c1c !important; border-color: #b91c1c !important; color: #fff !important; }
.wtp-td .wtp-td-prio .wtp-td-prio-btn.semi.on { background: #ea580c !important; border-color: #ea580c !important; color: #fff !important; }
.wtp-td .wtp-td-prio .wtp-td-prio-btn.normal.on { background: #475467 !important; border-color: #475467 !important; color: #fff !important; }

/* ---------- 1.6.406: Today rows, jump-to-block flash, compact agreement and lead rows ---------- */
.wtp-td .wtp-td-blk { display: block; scroll-margin-top: 110px; }
.wtp-td .wtp-td-blk.wtp-td-flash { animation: wtpTdFlash 1.5s ease-out 1; border-radius: 14px; }
@keyframes wtpTdFlash { 0% { outline: 3px solid rgba(19, 132, 189, .85); outline-offset: 4px; background: rgba(19, 132, 189, .10); } 100% { outline: 3px solid rgba(19, 132, 189, 0); outline-offset: 4px; background: rgba(19, 132, 189, 0); } }
@media (prefers-reduced-motion: reduce) { .wtp-td .wtp-td-blk.wtp-td-flash { animation: none; outline: 3px solid rgba(19, 132, 189, .6); outline-offset: 4px; } }
/* every badge the same size, labels wrap and never run into the arrow */
.wtp-td .wtp-td-tdn { flex: 0 0 40px; width: 40px; min-width: 40px; height: 32px; padding: 0; border-radius: 16px; box-sizing: border-box; overflow: hidden; }
.wtp-td .wtp-td-tdmain { padding-right: 6px; }
.wtp-td .wtp-td-tdmain strong { white-space: normal; overflow-wrap: break-word; word-break: normal; }
.wtp-td .wtp-td-tdchev { flex: 0 0 18px; width: 18px; text-align: right; }

.wtp-td .wtp-td-agree .wtp-td-help { margin: 2px 0 10px; }
.wtp-td .wtp-td-agree.late { border-color: var(--line); }
.wtp-td .wtp-td-agrow { border-top: 1px solid var(--line-2); border-left: 3px solid transparent; margin: 0; padding: 0; background: #fff; }
.wtp-td .wtp-td-agrow.late { border-left-color: var(--red); }
.wtp-td .wtp-td-aghead { display: flex; align-items: center; gap: 10px; min-height: 64px; padding: 8px 4px 8px 10px; cursor: pointer; }
.wtp-td .wtp-td-aghead.static { cursor: default; flex-wrap: wrap; }
.wtp-td .wtp-td-aghead:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }
.wtp-td .wtp-td-agmain { flex: 1 1 140px; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.wtp-td .wtp-td-agname { font-size: 16px; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.wtp-td .wtp-td-agprop { font-size: 14px; color: var(--ink); overflow-wrap: anywhere; }
.wtp-td .wtp-td-agmeta { font-size: 13px; color: var(--ink-3); overflow-wrap: anywhere; }
.wtp-td .wtp-td-agchip { flex: 0 0 auto; max-width: 46%; font-size: 12.5px; font-weight: 600; line-height: 1.25; padding: 4px 9px; border-radius: 12px; text-align: center; background: var(--amber-bg); color: var(--amber-ink); border: 1px solid var(--amber-line); }
.wtp-td .wtp-td-agchip.red { background: var(--red-bg); color: var(--red-ink); border-color: var(--red-line); }
.wtp-td .wtp-td-agchip.green { background: var(--green-bg); color: var(--green-ink); border-color: var(--green-line); }
.wtp-td .wtp-td-agchev { transition: transform .15s ease; }
.wtp-td .wtp-td-agchev.open { transform: rotate(90deg); }
.wtp-td .wtp-td-agpanel { padding: 4px 12px 14px 13px; background: var(--blue-soft); border-top: 1px solid var(--line-2); }
.wtp-td .wtp-td-agbtns { display: flex; gap: 8px; padding-top: 10px; }
.wtp-td button.wtp-td-agtick { flex: 1 1 0; min-height: 44px; padding: 8px 10px; border-radius: 10px; font-size: 15px; font-weight: 600; background: #fff !important; color: var(--blue-ink) !important; border: 1px solid var(--blue) !important; box-shadow: none !important; cursor: pointer; }
.wtp-td .wtp-td-aghead.static button.wtp-td-agtick { flex: 1 1 100%; }
.wtp-td button.wtp-td-agtick.on { background: var(--green-bg) !important; color: var(--green-ink) !important; border-color: var(--green) !important; }
.wtp-td .wtp-td-agmore { display: flex; flex-wrap: wrap; gap: 6px 16px; padding-top: 10px; font-size: 14px; }
.wtp-td .wtp-td-agnote { padding-top: 8px; font-size: 13px; color: var(--ink-3); }
.wtp-td .wtp-td-agall { margin: 10px 0 0; width: 100%; }
.wtp-td .wtp-td-agwait { margin-top: 12px; }
/* 1.6.406: the header pill must wrap, never be cut to "Nothi" */
.wtp-td .wtp-td-top-right { flex-wrap: wrap; }
.wtp-td .wtp-td-top-right .wtp-td-badge.big { flex: 0 1 auto; min-width: 0; max-width: 100%; white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.25; }

/* 1.6.406: "no times in today" bar (cannot be closed) and the one-line version for the team */
.wtp-td .wtp-td-nobar { margin: 12px 0 0; padding: 14px 16px; border-radius: 12px; background: #fff4e5; border: 2px solid var(--amber); color: var(--amber-ink); }
.wtp-td .wtp-td-ntt { font-size: 18px; font-weight: 700; }
.wtp-td .wtp-td-nts { font-size: 14px; margin-top: 4px; }
.wtp-td .wtp-td-ntb { display: flex; gap: 8px; margin-top: 10px; }
.wtp-td button.wtp-td-ntbtn { flex: 1 1 0; min-height: 48px; border-radius: 10px; font-size: 16px; font-weight: 700; background: #fff !important; color: var(--amber-ink) !important; border: 2px solid var(--amber) !important; cursor: pointer; box-shadow: none !important; }
.wtp-td button.wtp-td-ntbtn.go { background: var(--amber) !important; color: #fff !important; }
.wtp-td .wtp-td-ntform { display: grid; grid-template-columns: auto 1fr; gap: 8px 10px; align-items: center; margin-top: 10px; }
.wtp-td .wtp-td-ntform button { grid-column: 1 / -1; }
.wtp-td button.wtp-td-nobar.line { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 48px; padding: 10px 16px; font-size: 15px; font-weight: 600; text-align: left; margin: 12px 0 0; cursor: pointer; }

/* 1.6.406: name and chip share the first line so a row stays about 64px at phone width */
.wtp-td .wtp-td-agtop { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.wtp-td .wtp-td-agtop .wtp-td-agchip { max-width: 62%; }
.wtp-td .wtp-td-agmain { flex: 1 1 0; }
.wtp-td .wtp-td-aghead.static button.wtp-td-agtick { min-height: 40px; }
.wtp-td .wtp-td-agchip { white-space: nowrap; }
.wtp-td .wtp-td-agtop .wtp-td-agchip { max-width: none; }
/* 1.6.406 (second pass after testing at 317px) */
.wtp-td .wtp-td-agtop { flex-wrap: wrap; justify-content: flex-start; }
.wtp-td .wtp-td-agtop .wtp-td-agname { flex: 0 1 auto; }
.wtp-td .wtp-td-agtop .wtp-td-agchip { margin-left: auto; }
.wtp-td button.wtp-td-agtick { padding: 8px 6px; font-size: 14.5px; white-space: nowrap; }
.wtp-td .wtp-td-top-right .wtp-td-badge.big { flex: 0 0 auto; width: auto; max-width: 100%; white-space: normal; overflow: visible; text-overflow: clip; }
.wtp-td .wtp-td-top-right { flex-wrap: wrap !important; }
.wtp-td .wtp-td-agchip { font-size: 12px; padding: 3px 8px; }

/* 1.6.407: private staff notice (red, cannot be closed except Got it) and the red "No break" chip in Team times */
.wtp-td .wtp-td-nobar.wtp-td-snote { background: #fdecec; border-color: #c0392b; color: #7a1f16; }
.wtp-td .wtp-td-snote .wtp-td-nts { font-size: 15px; line-height: 1.4; overflow-wrap: anywhere; }
.wtp-td .wtp-td-snote button.wtp-td-ntbtn { border-color: #c0392b !important; color: #7a1f16 !important; }
.wtp-td .wtp-td-snote button.wtp-td-ntbtn.go { background: #c0392b !important; color: #fff !important; }
/* 1.6.426: the Join now link on a meeting-join notice looks like the Got it button beside it */
.wtp-td .wtp-td-snote a.wtp-td-ntbtn { flex: 1 1 0; min-height: 48px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; border-radius: 10px; font-size: 16px; font-weight: 700; text-decoration: none; background: #c0392b; color: #fff !important; border: 2px solid #c0392b; }
.wtp-td .wtp-td-nobrk { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 999px; background: #c0392b; color: #fff; font-size: 11.5px; font-weight: 700; white-space: nowrap; }

/* 1.6.408: Guests to call rows (details visible without opening anything) */
.wtp-td .wtp-td-gcrow .wtp-td-gchead { display: block; padding: 12px 14px; }
.wtp-td .wtp-td-gcrow .wtp-td-agmain { display: flex; flex-direction: column; gap: 4px; min-width: 0; width: 100%; }
.wtp-td .wtp-td-gcline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; min-width: 0; }
.wtp-td .wtp-td-gcemail { max-width: 100%; overflow-wrap: anywhere; text-align: left; }
.wtp-td .wtp-td-gcacts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 6px; }
.wtp-td .wtp-td-callbtn { font-weight: 700; }

/* 1.6.408: Phone script, one section at a time */
.wtp-td .wtp-td-scr-lab { display: flex; flex-direction: column; gap: 4px; margin: 10px 0 0; font-weight: 700; color: var(--navy-2); }
.wtp-td .wtp-td-scr-sel { width: 100%; max-width: 100%; font-size: 16px; padding: 10px 12px; min-height: 44px; }
.wtp-td .wtp-td-scr-one { border-top: 0; margin-top: 14px; padding-top: 4px; }
.wtp-td .wtp-td-scr-one .wtp-td-scr-p, .wtp-td .wtp-td-scr-one .wtp-td-scr-l { font-size: 18px; line-height: 1.55; }
.wtp-td .wtp-td-scr-one .wtp-td-scr-h { font-size: 17px; }
.wtp-td .wtp-td-scr-why { font-style: italic; }
.wtp-td .wtp-td-scr-nav { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 18px 0 4px; }
.wtp-td .wtp-td-scr-nav .wtp-td-btn { flex: 1 1 0; min-width: 0; }
.wtp-td .wtp-td-scr-mini { margin: 8px 0 0; }
.wtp-td .wtp-td-scr-sum { font-size: 14px; }
.wtp-td .wtp-td-gapgrey { color: var(--ink-3); background: var(--line-2); border-radius: 8px; padding: 8px 10px; }
.wtp-td .wtp-td-gapauto { color: var(--ink-2); background: var(--line-2); border-radius: 8px; padding: 6px 10px; margin: 6px 0; }

/* 1.6.408: Book Zoom / Book call sheet */
.wtp-td-bksheet { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 100000; background: #fff; display: flex; flex-direction: column; }
.wtp-td-bksheet .wtp-td-bkhead { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; background: #17395d; color: #fff; flex: 0 0 auto; }
.wtp-td-bksheet .wtp-td-bkhead strong { min-width: 0; overflow-wrap: anywhere; }
.wtp-td-bksheet .wtp-td-bknote { padding: 6px 14px; flex: 0 0 auto; }
.wtp-td-bksheet .wtp-td-bkframe { flex: 1 1 auto; width: 100%; min-height: 0; border: 0; }
body.wtp-td-bkopen { overflow: hidden; }

/* 1.6.409 (Scott, 29 Oct 2026): Overview order, touch history, outcome row, waiting-message block, morning bar. */
.wtp-td .wtp-td-tdtl { font-size: 13px; line-height: 1.35; color: var(--ink-3); margin-top: 2px; overflow-wrap: anywhere; }
.wtp-td button.wtp-td-tdrow.tl-red { border-left: 5px solid #c0392b !important; background: #fdf2f1 !important; }
.wtp-td button.wtp-td-tdrow.tl-red .wtp-td-tdtl { color: #8e1f15; font-weight: 600; }
.wtp-td button.wtp-td-tdrow.tl-amber { border-left: 5px solid #e0a800 !important; }
.wtp-td button.wtp-td-tdrow.tl-green { border-left: 5px solid #2e9d5a !important; }
.wtp-td .wtp-td-agtouch { display: block; font-size: 13px; color: var(--ink-3); margin-top: 2px; }
.wtp-td .wtp-td-agtouch.ok { color: #1f7a45; }
.wtp-td .wtp-td-agtouch.red { color: #b3261e; font-weight: 600; }
.wtp-td .wtp-td-tflag { display: block; font-size: 13px; font-weight: 700; color: #b3261e; margin-top: 3px; }
.wtp-td .wtp-td-outcome { margin: 10px 0 4px; padding: 10px 0 0; border-top: 1px solid var(--line, #e3e6ea); max-width: 100%; box-sizing: border-box; }
.wtp-td .wtp-td-outcome.busy { opacity: .6; pointer-events: none; }
.wtp-td .wtp-td-tline { font-size: 13px; color: var(--ink-3); margin-bottom: 4px; }
.wtp-td .wtp-td-tline.ok { color: #1f7a45; }
.wtp-td .wtp-td-tline.red { color: #b3261e; font-weight: 600; }
.wtp-td .wtp-td-tcm { font-size: 13px; font-style: italic; color: var(--ink-2, #3a4552); margin: 4px 0 6px; overflow-wrap: anywhere; }
.wtp-td .wtp-td-tgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; margin: 6px 0; }
.wtp-td .wtp-td-tdays { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wtp-td button.wtp-td-tbtn { min-height: 46px; padding: 8px 10px; border-radius: 10px; font-size: 14px; font-weight: 600; line-height: 1.2; background: #fff !important; color: var(--ink) !important; border: 2px solid #c9d2dc !important; cursor: pointer; box-shadow: none; white-space: normal; overflow-wrap: anywhere; }
.wtp-td button.wtp-td-tbtn.on { border-color: var(--blue) !important; background: var(--blue-soft) !important; }
.wtp-td button.wtp-td-tbtn.good { border-color: #2e9d5a !important; color: #1f7a45 !important; }
.wtp-td button.wtp-td-tbtn.bad { color: #8e1f15 !important; }
.wtp-td button.wtp-td-tbtn.go { background: var(--blue) !important; color: #fff !important; border-color: var(--blue) !important; }
.wtp-td .wtp-td-tsub { margin: 6px 0; padding: 8px; border-radius: 10px; background: #f3f6f9; display: flex; flex-direction: column; gap: 6px; }
.wtp-td .wtp-td-tcustom, .wtp-td .wtp-td-tcmrow { display: flex; flex-direction: column; gap: 6px; margin-top: 6px; }
.wtp-td .wtp-td-tauto { font-size: 13px; display: flex; gap: 6px; align-items: flex-start; }
.wtp-td .wtp-td-hist { margin-top: 8px; font-size: 12px; color: var(--ink-3); }
.wtp-td .wtp-td-histrow { padding: 2px 0; overflow-wrap: anywhere; }
.wtp-td .wtp-td-held .wtp-td-agmeta { display: block; }

.wtp-td-urgent-banner.wtp-td-wmblock { background: #b91c1c; }
.wtp-td button.wtp-td-wmrow { display: flex; align-items: center; gap: 10px; width: 100%; box-sizing: border-box; min-height: 56px; margin: 6px 0 0; padding: 10px 12px; text-align: left; border: 0 !important; border-radius: 10px; color: #fff !important; font: inherit; cursor: pointer; box-shadow: none; }
.wtp-td button.wtp-td-wmrow.amber { background: #b45309 !important; }
.wtp-td button.wtp-td-wmrow.red { background: #991b1b !important; border: 2px solid rgba(255,255,255,.55) !important; }
.wtp-td button.wtp-td-wmrow.dark { background: #450a0a !important; border: 2px solid #fff !important; }
.wtp-td .wtp-td-wmdot { flex: 0 0 auto; width: 12px; height: 12px; border-radius: 50%; background: #fff; opacity: .55; }
.wtp-td .wtp-td-wmrow.dark .wtp-td-wmdot { opacity: 1; animation: wtpTdPulse 1.1s ease-in-out infinite; }
@keyframes wtpTdPulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.5); opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .wtp-td .wtp-td-wmrow.dark .wtp-td-wmdot { animation: none; } }
.wtp-td .wtp-td-wmmain { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.wtp-td .wtp-td-wmmain strong { font-size: 17px; }
.wtp-td .wtp-td-wmsub { font-size: 13px; opacity: .92; overflow-wrap: anywhere; }
.wtp-td .wtp-td-wmtime { flex: 0 0 auto; max-width: 42%; font-size: 15px; font-weight: 800; text-align: right; }
.wtp-td button.wtp-td-wline { display: flex; justify-content: space-between; gap: 8px; width: 100%; box-sizing: border-box; min-height: 44px; margin: 10px 0 0; padding: 8px 14px; border: 2px solid #7f1d1d !important; border-radius: 10px; background: #b91c1c !important; color: #fff !important; font-size: 15px; font-weight: 700; text-align: left; cursor: pointer; box-shadow: none; }
.wtp-td .wtp-td-missed { margin: 12px 0 0; padding: 14px 16px; border-radius: 12px; background: #fdecec; border: 2px solid #c0392b; color: #7a1f16; }
.wtp-td .wtp-td-missed .wtp-td-nts { font-size: 15px; line-height: 1.4; overflow-wrap: anywhere; }
.wtp-td .wtp-td-missed button.wtp-td-ntbtn { border-color: #c0392b !important; color: #7a1f16 !important; }
.wtp-td .wtp-td-missed button.wtp-td-ntbtn.go { background: #c0392b !important; color: #fff !important; }
.wtp-td button.wtp-td-tbtn.wtp-td-whatbtn { width: 100%; margin-top: 8px; border-color: var(--blue) !important; color: var(--blue) !important; }

/* ---------- 1.6.410: cleaners to confirm, jobs not done, one-off jobs, sign-ins ---------- */
.wtp-td .wtp-td-jbox { margin: 12px 0 0; padding: 0; min-width: 0; }
.wtp-td .wtp-td-jh { font-size: 13px; font-weight: 800; letter-spacing: .05em; color: #8a5a00; background: #fff4d6; border: 1px solid #f0d58a; border-radius: 10px 10px 0 0; padding: 9px 12px; overflow-wrap: anywhere; }
.wtp-td .wtp-td-jh.red { color: #fff; background: #b91c1c; border-color: #7f1d1d; }
.wtp-td .wtp-td-jh.watch { color: #1f4e79; background: #eaf2fb; border-color: #bcd3ee; } /* 1.6.682: awareness only, calm blue instead of the chase colours */
.wtp-td .wtp-td-jh.watch.second { margin-top: 10px; border-radius: 10px 10px 0 0; }
.wtp-td .wtp-td-jwatchhelp { font-size: 13px; line-height: 1.4; color: var(--ink-3); background: #f5f8fc; border: 1px solid #d5e2f2; border-top: 0; padding: 7px 12px; }
.wtp-td .wtp-td-jcard.wtp-td-jwatch { border-left-color: #6b9ac4; background: #fff; }
.wtp-td .wtp-td-jcard.wtp-td-jwatch.acked { background: #f4f7f5; border-left-color: #15803d; }
.wtp-td .wtp-td-jwatchsay { color: var(--ink-3); }
.wtp-td .wtp-td-jack { font-size: 13px; line-height: 1.4; margin-top: 8px; color: #166534; font-weight: 600; }
.wtp-td .wtp-td-jcard { background: #fff; border: 1px solid var(--line); border-left: 6px solid #9aa5b1; border-radius: 0 0 10px 10px; padding: 10px 12px; margin: 0 0 8px; min-width: 0; overflow-wrap: anywhere; }
.wtp-td .wtp-td-jbox > .wtp-td-jcard:first-of-type { border-radius: 0; }
.wtp-td .wtp-td-jcard.c-red { border-left-color: #b91c1c; background: #fdf2f1; }
.wtp-td .wtp-td-jcard.c-yellow { border-left-color: #ea580c; background: #fff4ec; } /* 1.6.412: orange (semi-urgent family), then red */
.wtp-td .wtp-td-jcard.c-grey { border-left-color: #9aa5b1; }
.wtp-td .wtp-td-jsub { border-top: 1px solid var(--line); margin: 10px 0 0; padding: 8px 0 0; min-width: 0; } /* 1.6.664: one card per person, a block per clean or job inside it */
.wtp-td .wtp-td-jsubh { display: flex; gap: 8px; justify-content: space-between; flex-wrap: wrap; align-items: baseline; margin: 0 0 4px; }
.wtp-td .wtp-td-jcard.c-green { border-left-color: #15803d; background: #f1faf4; } /* 1.6.572: finished external job */
.wtp-td .wtp-td-jhead { display: flex; flex-direction: column; gap: 2px; }
.wtp-td .wtp-td-jt { font-size: 15px; font-weight: 700; white-space: normal; overflow-wrap: anywhere; }
.wtp-td .wtp-td-jst { font-size: 13px; color: var(--ink-3); white-space: normal; }
.wtp-td .wtp-td-jtime { font-size: 13px; line-height: 1.4; margin-top: 4px; white-space: normal; overflow-wrap: anywhere; }
.wtp-td .wtp-td-jwarn { font-size: 13px; line-height: 1.4; margin-top: 6px; padding: 6px 8px; background: #fff4d6; border-left: 4px solid #e0a800; border-radius: 6px; white-space: normal; overflow-wrap: anywhere; }
.wtp-td .wtp-td-jsteps, .wtp-td .wtp-td-jlog { list-style: none; margin: 8px 0 0; padding: 0; font-size: 13px; line-height: 1.4; }
.wtp-td .wtp-td-jsteps li { display: flex; gap: 8px; align-items: flex-start; padding: 2px 0; min-width: 0; }
.wtp-td .wtp-td-jmark { flex: 0 0 16px; text-align: center; font-weight: 800; }
.wtp-td .wtp-td-jstx { min-width: 0; white-space: normal; overflow-wrap: anywhere; }
.wtp-td .wtp-td-jsteps li.st-done { color: #1f7a43; }
.wtp-td .wtp-td-jsteps li.st-now, .wtp-td .wtp-td-jsteps li.late { color: #b91c1c; font-weight: 700; }
.wtp-td .wtp-td-jsteps li.st-na, .wtp-td .wtp-td-jsteps li.st-manual { color: #8a5a00; }
.wtp-td .wtp-td-jlog { color: var(--ink-3); border-top: 1px dashed var(--line); padding-top: 6px; }
.wtp-td .wtp-td-jbtns { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.wtp-td .wtp-td-jbtns .wtp-td-btn { text-decoration: none; display: inline-flex; align-items: center; max-width: 100%; white-space: normal; text-align: left; }
.wtp-td .wtp-td-jform { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.wtp-td .wtp-td-jform .wtp-td-in, .wtp-td .wtp-td-jform .wtp-td-sel { width: 100%; max-width: 100%; box-sizing: border-box; }
.wtp-td .wtp-td-jlbl { display: flex; flex-direction: column; gap: 3px; font-size: 13px; font-weight: 600; }
.wtp-td .wtp-td-jlbl.wtp-td-jchase { flex-direction: row; align-items: flex-start; gap: 8px; background: #fff7e6; border: 1px solid #f0c36d; border-radius: 8px; padding: 8px 10px; }
.wtp-td .wtp-td-jchase input[type=checkbox] { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 1px; }
.wtp-td button.wtp-td-jline { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; text-align: left; margin: 0 0 6px; padding: 10px 12px; background: #fffaf0 !important; color: var(--ink) !important; border: 1px solid #f0d58a !important; border-left: 6px solid #e0a800 !important; border-radius: 8px !important; font-size: 14px; font-weight: 600; white-space: normal; box-shadow: none; }
.wtp-td button.wtp-td-jline.c-red { background: #fdf2f1 !important; border-left-color: #b91c1c !important; }
.wtp-td .wtp-td-jlt { white-space: normal; overflow-wrap: anywhere; }
.wtp-td .wtp-td-sirow { display: flex; flex-direction: column; gap: 1px; padding: 6px 0; border-top: 1px solid var(--line-2); overflow-wrap: anywhere; }
.wtp-td .wtp-td-who-note { display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: center; max-width: 100%; }

/* 1.6.410 (thread 94e800825a8e): nothing clips at 317px: to-do rows, the waiting banner and the outcome buttons wrap instead of cutting off. */
.wtp-td button.wtp-td-tdrow { height: auto; overflow: visible; }
.wtp-td .wtp-td-tdmain, .wtp-td .wtp-td-tdmain strong, .wtp-td .wtp-td-tdtl { min-width: 0; white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; }
.wtp-td button.wtp-td-wline { height: auto; min-height: 44px; flex-wrap: wrap; align-items: center; white-space: normal; overflow: visible; overflow-wrap: anywhere; line-height: 1.3; }
.wtp-td button.wtp-td-wline .wtp-td-wlt { flex: 1 1 0; min-width: 0; white-space: normal; }
.wtp-td .wtp-td-outcome { display: flex; flex-wrap: wrap; gap: 6px; max-width: 100%; min-width: 0; }
.wtp-td .wtp-td-outcome button, .wtp-td .wtp-td-outcome .wtp-td-tbtn { max-width: 100%; height: auto; white-space: normal; overflow: visible; text-overflow: clip; text-align: left; line-height: 1.25; }
.wtp-td .wtp-td-outcome select, .wtp-td .wtp-td-outcome input { max-width: 100%; min-width: 0; box-sizing: border-box; }
/* 1.6.410 (thread 174ee5b3a0c6): "Signed in as" is always visible, also on a phone. */
@media (max-width: 640px) {
  .wtp-td .wtp-td-who-note.wtp-td-signedin { display: flex; flex-basis: 100%; }
  .wtp-td .wtp-td-who-note.wtp-td-signedin .wtp-td-sub { display: block; color: #cfe0f0; font-size: 13px; flex-basis: 100%; }
}

.wtp-td-mbc{margin:10px 0;padding:12px;border:1px solid #c9d6e2;border-radius:10px;background:#f6f9fc}.wtp-td-mbc .wtp-td-in{margin:6px 0}.wtp-td-mbc-msg{margin:8px 0 0;font-size:14px;color:#8a1c14}.wtp-td-mbc-msg.good{color:#0a6b2d;font-weight:600}
.wtp-td-mailbad{margin:8px 0;padding:10px 12px;border-radius:10px;background:#fdecea;color:#8a1c14;border:1px solid #f1b5b0;font-size:14px;line-height:1.4}

/* ---------- 1.6.420: URGENT guest-issue jobs (Scott 29 Oct 2026, 11:26am). Green = today, yellow = tomorrow (short stay: tomorrow morning), red = after that, late = too late. ---------- */
.wtp-td-gi { margin: 12px 0 0; padding: 12px; border-radius: 12px; border: 2px solid #64748b; border-left-width: 8px; background: #f4f6f8; min-width: 0; overflow-wrap: anywhere; box-sizing: border-box; }
.wtp-td-gi.gi-green { border-color: #15803d; background: #ecfdf3; }
.wtp-td-gi.gi-yellow { border-color: #ca8a04; background: #fffbe6; }
.wtp-td-gi.gi-red { border-color: #b91c1c; background: #fdecea; }
.wtp-td-gi.gi-late { border-color: #7f1d1d; background: #f5e6e4; border-style: dashed; border-left-style: solid; }
.wtp-td-gi.gi-wait { border-color: #475569; background: #f1f5f9; }
.wtp-td-gi.gi-esc { border-color: #b91c1c; background: #fdecea; }
.wtp-td-gihead { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.wtp-td-gitag { font-size: 13px; font-weight: 800; letter-spacing: .06em; color: #fff; background: #b91c1c; border-radius: 6px; padding: 3px 8px; }
.wtp-td-gichip { font-size: 13px; font-weight: 800; border-radius: 999px; padding: 3px 10px; color: #fff; background: #64748b; white-space: normal; }
.wtp-td-gichip.gi-green { background: #15803d; }
.wtp-td-gichip.gi-yellow { background: #a16207; }
.wtp-td-gichip.gi-red { background: #b91c1c; }
.wtp-td-gichip.gi-late { background: #7f1d1d; }
.wtp-td-gimust { margin-top: 8px; font-size: 14px; font-weight: 700; line-height: 1.35; }
.wtp-td-gititle { margin-top: 6px; font-size: 17px; font-weight: 800; line-height: 1.25; }
.wtp-td-gidesc { margin-top: 6px; font-size: 14px; line-height: 1.4; white-space: pre-wrap; background: rgba(255,255,255,.65); border-radius: 8px; padding: 8px 10px; }
.wtp-td-gistat { margin-top: 8px; font-size: 14px; font-weight: 600; line-height: 1.4; }
.wtp-td-gimsgbox { margin-top: 10px; background: #fff; border: 1px solid #cbd5e1; border-radius: 10px; padding: 8px 10px; }
.wtp-td-gimsgh { font-size: 13px; font-weight: 700; color: #1e3a5f; }
.wtp-td-gimsg { margin-top: 4px; font-size: 13px; line-height: 1.4; white-space: pre-wrap; color: #334155; max-height: 9.5em; overflow: auto; }
.wtp-td-gireply { margin-top: 8px; font-size: 13px; line-height: 1.4; padding: 6px 8px; background: #e8f3fb; border-left: 4px solid #168ec7; border-radius: 6px; }
.wtp-td-girule { margin-top: 10px; font-size: 12px; color: #52606d; line-height: 1.35; }
.wtp-td-gi .wtp-td-jbtns { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.wtp-td-gi .wtp-td-jbtns .wtp-td-btn { text-decoration: none; display: inline-flex; align-items: center; max-width: 100%; white-space: normal; text-align: left; }
.wtp-td-gi .wtp-td-gisel { min-height: 34px; padding: 4px 10px !important; font-size: 13px; max-width: 100%; }
.wtp-td-gi .wtp-td-jtime { font-size: 13px; line-height: 1.4; margin-top: 4px; }
.wtp-td-gi .wtp-td-jlog { list-style: none; margin: 8px 0 0; padding: 6px 0 0; border-top: 1px dashed #cbd5e1; font-size: 12px; color: #52606d; }
.wtp-td-gi .wtp-td-jwarn { font-size: 13px; line-height: 1.4; margin-top: 8px; padding: 6px 8px; background: #fff4d6; border-left: 4px solid #e0a800; border-radius: 6px; }
.wtp-td-gi button.wtp-td-giwin { border-left: 8px solid #b91c1c !important; background: #fff !important; color: #17395d !important; font-weight: 700; }
.wtp-td-gi button.wtp-td-giwin.gi-green { border-left-color: #15803d !important; }
.wtp-td-gi button.wtp-td-giwin.gi-yellow { border-left-color: #ca8a04 !important; }
.wtp-td-gi button.wtp-td-giwin.gi-late { border-left-color: #7f1d1d !important; }
/* the form inside the guest conversation */
.wtp-td-giform { margin: 10px 0; padding: 12px; border: 2px solid #b91c1c; border-radius: 12px; background: #fff8f7; display: flex; flex-direction: column; gap: 8px; box-sizing: border-box; min-width: 0; }
.wtp-td-giform[hidden] { display: none; }
.wtp-td-giform .wtp-td-jlbl { display: flex; flex-direction: column; gap: 3px; font-size: 13px; font-weight: 600; }
.wtp-td-giform .wtp-td-in, .wtp-td-giform .wtp-td-sel { width: 100%; max-width: 100%; box-sizing: border-box; }
.wtp-td-giform .wtp-td-jbtns { display: flex; flex-wrap: wrap; gap: 6px; }
.wtp-td-giform .wtp-td-jwarn { font-size: 13px; line-height: 1.4; padding: 6px 8px; background: #fff4d6; border-left: 4px solid #e0a800; border-radius: 6px; }
.wtp-td-giform .wtp-td-cmchk { display: flex; gap: 10px; align-items: center; font-size: 14px; padding: 4px 0; }

/* ---------- 1.6.427: yellow "Scott to do" block under the orange jobs ---------- */
.wtp-td-urgent-banner.todo { background: #fde047; border-color: #a16207; color: #3b2f00; }
.wtp-td-urgent-banner.todo .wtp-td-urgent-row { background: rgba(255,255,255,.55); color: #3b2f00; cursor: default; }
.wtp-td-urgent-banner.todo .wtp-td-urgent-row:hover { background: rgba(255,255,255,.55); }

/* 1.6.429 Suppliers (Scott 29 Oct 2026) */
.wtp-td .wtp-td-sup { padding: 12px 0; }
.wtp-td .wtp-td-sup.off { opacity: .65; }
.wtp-td .wtp-td-sup-pref { font-size: 12px; font-weight: 700; color: #92400e; background: #fef3c7; border: 1px solid #fcd34d; border-radius: 999px; padding: 1px 8px; }
.wtp-td .wtp-td-sup-line { display: grid; grid-template-columns: 1fr; gap: 0; margin: 4px 0; min-width: 0; }
.wtp-td .wtp-td-sup-k { font-size: 12px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; color: #5b6b7d; }
.wtp-td .wtp-td-sup-v { min-width: 0; overflow-wrap: anywhere; white-space: pre-wrap; font-size: 15px; }
.wtp-td .wtp-td-sup-v a { color: #0f6a9b; font-weight: 600; }
@media (min-width: 560px) {
  .wtp-td .wtp-td-sup-line { grid-template-columns: 150px 1fr; gap: 10px; align-items: baseline; }
}
.wtp-td .wtp-td-sup-f { display: block; margin: 8px 0; }
.wtp-td .wtp-td-sup-f > .wtp-td-in, .wtp-td .wtp-td-sup-f > span > .wtp-td-in { display: block; width: 100%; box-sizing: border-box; margin-top: 2px; }
.wtp-td .wtp-td-sup-f > span { display: block; }
.wtp-td .wtp-td-sup-chk { display: flex; align-items: center; gap: 10px; min-height: 40px; font-size: 15px; }
.wtp-td .wtp-td-sup-chk input { width: 20px; height: 20px; flex: 0 0 auto; }
.wtp-td .wtp-td-sup-form textarea.wtp-td-in { min-height: 64px; resize: vertical; }

/* 1.6.434: Quotes and Invoices tabs (all clients in one list). */
.wtp-td .wtp-td-bill-who { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 10px; margin: 0 0 4px; font-size: 15px; color: var(--navy); }
.wtp-td .wtp-td-bill-who .wtp-td-linkbtn { font-size: 13px; }
.wtp-td .wtp-td-bill-list { margin-top: 6px; }
.wtp-td .wtp-td-bill-row { overflow-wrap: anywhere; }
.wtp-td .wtp-td-cl-edrow select.wtp-td-sel { flex: 1 1 220px; min-width: 0; max-width: 100%; }

/* 1.6.434: items and supplier on the invoice and quote forms. */
.wtp-td .wtp-td-items-box { margin: 8px 0; }
.wtp-td .wtp-td-items-row { border: 1px solid var(--line-2, #e1e8ef); border-radius: 10px; padding: 8px; margin: 6px 0; }
.wtp-td .wtp-td-items-row .wtp-td-items-name { display: block; width: 100%; box-sizing: border-box; margin: 0 0 6px; }
.wtp-td .wtp-td-items-nums { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.wtp-td .wtp-td-items-nums .wtp-td-items-qty { flex: 0 0 64px; width: 64px; min-width: 0; box-sizing: border-box; }
.wtp-td .wtp-td-items-nums .wtp-td-items-price { flex: 1 1 90px; width: auto; min-width: 0; box-sizing: border-box; }
.wtp-td .wtp-td-items-lt { flex: 0 0 auto; min-width: 70px; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.wtp-td .wtp-td-items-total { margin: 4px 0 6px; font-weight: 700; color: var(--navy); }
/* 1.6.603: shop link on a quote item, with the page's picture */
.wtp-td .wtp-td-items-linkbox { margin: 8px 0 0; }
.wtp-td .wtp-td-items-link, .wtp-td .wtp-td-items-imgurl { display: block; width: 100%; box-sizing: border-box; margin: 0 0 6px; }
.wtp-td .wtp-td-items-pic { display: flex; gap: 10px; align-items: flex-start; margin: 6px 0; }
.wtp-td .wtp-td-items-thumb { flex: 0 0 72px; width: 72px; height: 72px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line-2, #e1e8ef); background: #f4f7fa; }
.wtp-td .wtp-td-items-picmeta { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.wtp-td .wtp-td-items-picbtns { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 0; }

/* 1.6.438 (Scott, 29 Oct 2026): a one-night gap 7 days or less away is red on the Overview. */
.wtp-td .wtp-td-gapurgent { border-left: 5px solid #c0392b; background: #fdf2f1; }
.wtp-td .wtp-td-gapurgent .wtp-td-help { color: #8e1f15; font-weight: 600; }

/* 1.6.439: the Not done block (every not-done urgent item on the Overview, one by one, with Snooze) */
.wtp-td .wtp-td-nd { margin: 0 0 14px; padding: 12px 14px; border-radius: 12px; background: #fff5f5; border: 2px solid #b91c1c; box-sizing: border-box; max-width: 100%; }
.wtp-td .wtp-td-ndh { font-weight: 800; letter-spacing: .08em; font-size: 15px; color: #7f1d1d; margin-bottom: 2px; }
.wtp-td .wtp-td-ndhelp { margin: 0 0 8px; font-size: 13px; color: #7f1d1d; }
.wtp-td .wtp-td-ndrow { background: #fff; border: 1px solid #f0c9c9; border-left: 6px solid #b91c1c; border-radius: 8px; padding: 9px 10px; margin: 8px 0 0; box-sizing: border-box; max-width: 100%; overflow-wrap: anywhere; word-break: break-word; }
.wtp-td .wtp-td-ndrow.amber { border-left-color: #d97706; }
.wtp-td .wtp-td-ndrow.watch { border-color: #cfe0f1; border-left-color: #2f6fb3; background: #f5f9fd; } /* 1.6.691: watch-only row (agreement, damage deposit) */
.wtp-td .wtp-td-ndrow.watch .wtp-td-ndtag { color: #2f6fb3; }
.wtp-td .wtp-td-ndrow.urgent { background: #fff1f1; border: 2px solid #b91c1c; border-left-width: 10px; }
.wtp-td .wtp-td-ndrow.urgent .wtp-td-ndtag { background: #b91c1c; color: #fff; padding: 1px 7px; border-radius: 4px; }
.wtp-td .wtp-td-ndtag { font-size: 11px; font-weight: 800; letter-spacing: .08em; color: #b91c1c; }
.wtp-td .wtp-td-ndrow.amber .wtp-td-ndtag { color: #b45309; }
.wtp-td .wtp-td-ndt { display: block; font-size: 15px; line-height: 1.35; color: #1f2937; }
.wtp-td .wtp-td-ndsub { font-size: 13px; color: #4b5563; margin-top: 2px; }
.wtp-td .wtp-td-ndsub.wtp-td-ndwarn { color: #b91c1c; font-weight: 600; }
.wtp-td .wtp-td-ndacts { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 8px; }
.wtp-td .wtp-td-ndpick { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.wtp-td .wtp-td-ndhide { font-size: 12px; font-weight: 700; color: #4b5563; }
.wtp-td .wtp-td-ndheld { margin-top: 10px; }
.wtp-td .wtp-td-ndheldrow { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; justify-content: space-between; padding: 6px 0; border-top: 1px solid #f0c9c9; }
/* Snooze inside the red / orange board banners */
.wtp-td-urgent-item { margin: 6px 0 0; }
.wtp-td-urgent-item .wtp-td-urgent-row { margin-top: 0; }
.wtp-td-urgent-acts { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 4px 0 2px; }
.wtp-td-urgent-banner .wtp-td-btn.ghost { background: rgba(255,255,255,.92); color: #7f1d1d; border-color: transparent; }
.wtp-td-urgent-banner .wtp-td-ndhide { color: #fff; font-size: 12px; font-weight: 700; }
.wtp-td .wtp-td-urgent-banner .wtp-td-linkbtn { color: #fff !important; text-decoration: underline; }
.wtp-td .wtp-td-urgent-banner .wtp-td-ndpick .wtp-td-btn.ghost { background: rgba(255,255,255,.92); color: #7f1d1d; border-color: transparent; }

/* 1.6.440: the "is this an hour before you leave?" box on the first evening tick of the day */
.wtp-td-overlay.wtp-td-askov { align-items: center; justify-content: center; padding: 16px; }
.wtp-td-ask { background: #fff; border-radius: 16px; width: 100%; max-width: 420px; padding: 18px; color: var(--ink); box-shadow: var(--shadow-lg); box-sizing: border-box; }
.wtp-td-ask-h { font-size: 19px; font-weight: 800; color: var(--navy-2); margin: 0 0 8px; line-height: 1.25; }
.wtp-td-ask-p { font-size: 15px; line-height: 1.4; margin: 0 0 14px; color: var(--ink-2); }
.wtp-td-ask-acts { display: flex; flex-direction: column; gap: 8px; }
.wtp-td-ask-acts .wtp-td-btn { width: 100%; min-height: 48px; white-space: normal; text-align: center; }
.wtp-td-chaseline{font-size:12.5px;line-height:1.35;color:#92400e;background:#fffbeb;border:1px solid #fde68a;border-radius:6px;padding:6px 8px;margin:6px 0}

/* 1.6.459: API integration */
.wtp-td .wtp-td-api-acct{margin:8px 0 0;padding:8px 0 0;border-top:1px dashed var(--wtp-line,#e5e7eb)}
.wtp-td .wtp-td-api-acct .wtp-td-sub{margin:3px 0;overflow-wrap:anywhere}
.wtp-td .wtp-td-api-acct .wtp-td-btn{margin-top:6px}

.wtp-td .wtp-td-api-form{margin:8px 0 0}
.wtp-td .wtp-td-api-steps{margin:6px 0 8px 18px;padding:0;font-size:13px}
.wtp-td .wtp-td-api-steps li{margin:3px 0}
.wtp-td .wtp-td-api-frow{display:flex;flex-wrap:wrap;gap:6px 10px;align-items:center;padding:5px 0;border-top:1px solid var(--wtp-line,#e5e7eb)}
.wtp-td .wtp-td-api-flab{flex:0 0 150px;font-size:13px}
.wtp-td .wtp-td-api-fval{flex:1 1 200px;min-width:0;overflow-wrap:anywhere;font-size:12px}
@media (max-width:420px){.wtp-td .wtp-td-api-flab{flex-basis:100%}}

/* 1.6.478: late check-out / early check-in box on the guest message screen */
.wtp-td-coask { margin: 10px 0 0; }
.wtp-td-coaskcard { margin: 0; border: 2px solid var(--amber-line, #f3d37a); }
.wtp-td-cowarn { margin: 8px 0; }
.wtp-td-banner.ok { background: #e8f6ec; color: #1f7a3d; border-color: #b6e0c2; border-left-color: #1f7a3d; }
/* Meetings tab (1.6.478) */
.wtp-td-mtg { overflow-wrap: anywhere; }
.wtp-td-mtg-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 10px; }
.wtp-td-mtg-chip { appearance: none; border: 1px solid #d0d5dd; background: #fff; color: var(--navy-2); border-radius: 999px; padding: 8px 14px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; min-height: 40px; }
.wtp-td-mtg-chip.on { background: var(--navy-2); border-color: var(--navy-2); color: #fff; }
.wtp-td-mtg-search { width: 100%; box-sizing: border-box; margin: 0 0 8px; }
.wtp-td-mtg-sync { margin: 2px 0 6px; font-size: 13px; }
.wtp-td-mtg-day { display: flex; align-items: center; gap: 8px; margin: 18px 0 8px; color: var(--ink); }
.wtp-td-mtg-today { background: var(--blue-soft); color: var(--blue-ink); border-radius: 6px; padding: 2px 8px; font-size: 12px; font-weight: 700; }
.wtp-td-mtg-row { display: flex; align-items: center; gap: 12px; width: 100%; box-sizing: border-box; text-align: left; appearance: none; background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--green); border-radius: 10px; padding: 12px; margin: 0 0 8px; font: inherit; color: var(--ink); cursor: pointer; min-height: 56px; }
.wtp-td-mtg-row.past { border-left-color: #98a2b3; }
.wtp-td-mtg-row.canceled { border-left-color: var(--red); opacity: .8; }
.wtp-td-mtg-row.noshow { border-left-color: #f79009; }
.wtp-td-mtg-time { flex: 0 0 84px; font-size: 14px; color: var(--ink-2); }
.wtp-td-mtg-main { flex: 1 1 auto; min-width: 0; display: block; }
.wtp-td-mtg-main strong { font-size: 15px; }
.wtp-td-mtg-with { color: var(--ink-2); font-size: 14px; }
.wtp-td-mtg-sub { display: block; color: var(--ink-3); font-size: 13px; margin-top: 2px; }
.wtp-td-mtgsheet .wtp-td-mtg-body { flex: 1 1 auto; overflow-y: auto; padding: 14px 14px 40px; max-width: 720px; width: 100%; box-sizing: border-box; margin: 0 auto; }
.wtp-td-mtg-st { display: inline-block; border-radius: 6px; padding: 2px 8px; font-size: 12px; font-weight: 700; background: var(--line-2); color: var(--ink-2); }
.wtp-td-mtg-st.ok { background: var(--green-bg); color: var(--green-ink); }
.wtp-td-mtg-st.bad { background: var(--red-bg); color: var(--red-ink); }
.wtp-td-mtg-st.warn { background: #fffaeb; color: #b54708; }
.wtp-td-mtg-title { margin: 8px 0 4px !important; }
.wtp-td-mtg-btns { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 6px; }
/* 1.6.736: who the call is with, right under the time. */
.wtp-td-mtg-who { margin: 10px 0 4px; padding: 12px 14px; background: #f1f8fd; border: 1px solid #cfe6f5; border-radius: 12px; }
.wtp-td-mtg-whon { font-size: 20px; font-weight: 800; color: #17395d; line-height: 1.2; margin-bottom: 4px; }
.wtp-td-mtg-whol { display: block; font-size: 16px; font-weight: 600; color: #0f6fa0; padding: 4px 0; word-break: break-all; }
.wtp-td-mtg-btns .wtp-td-btn { text-decoration: none; }
.wtp-td .wtp-td-mtg-callbig { display: block; flex: 1 1 100%; text-align: center; font-size: 1.3rem; padding: 16px 18px; }
.wtp-td-sday-l li a { color: inherit; text-decoration: underline; }
.wtp-td-mtg-cancel { border: 1px solid var(--red-line); background: var(--red-bg); border-radius: 10px; padding: 12px; margin: 8px 0; display: flex; flex-direction: column; gap: 8px; }
.wtp-td-mtg-cancel[hidden] { display: none; }
.wtp-td-mtg-sec { border-top: 1px solid var(--line); margin-top: 16px; padding-top: 12px; }
.wtp-td-mtg-sech { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; font-weight: 700; }
.wtp-td-mtg-line { margin: 4px 0; }
.wtp-td-mtg-pre { white-space: pre-wrap; overflow-wrap: anywhere; }
.wtp-td-mtg-notes { width: 100%; box-sizing: border-box; margin-bottom: 8px; }
@media (max-width: 480px) { .wtp-td-mtg-time { flex-basis: 70px; font-size: 13px; } }
/* 1.6.482: API integration bubbles (booking engine, message API, live messages). Own colours so green, amber and red never look alike. */
.wtp-td-conn { display: inline-flex; align-items: center; border-radius: 999px; padding: 3px 10px; font-size: 12.5px; font-weight: 700; color: #fff; white-space: nowrap; line-height: 1.3; margin: 2px 6px 2px 0; }
.wtp-td-conn.yes { background: #1a7f4b; }
.wtp-td-conn.mid { background: #b45309; }
.wtp-td-conn.no { background: #c0392b; }
.wtp-td-conn.idle { background: #6b7280; }
.wtp-td-api-todo { margin: 10px 0; padding: 10px 12px; border: 1px solid #e5e7eb; border-radius: 8px; background: #f9fafb; }
.wtp-td-api-todo ul { margin: 6px 0 0 18px; padding: 0; }
.wtp-td-api-todo li { margin: 3px 0; font-size: 14px; }
.wtp-td-api-todo li.wtp-td-api-flag { color: #c0392b; }
.wtp-td-conn::before { content: ""; width: 7px; height: 7px; border-radius: 50%; margin-right: 6px; background: rgba(255, 255, 255, .85); }

/* 1.6.489: Working / Away chips */
.wtp-td-pres { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 14px; }
.wtp-td-pres-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.wtp-td-pres-chip { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #d0d5dd; background: #fff; border-radius: 999px; padding: 6px 12px; font-size: 14px; font-weight: 600; color: var(--navy-2); }
.wtp-td-pres-dot { width: 10px; height: 10px; border-radius: 50%; background: #d92d20; flex: none; }
.wtp-td-pres-chip.green .wtp-td-pres-dot { background: #12b76a; }
.wtp-td-pres-chip.green { border-color: #12b76a; }
.wtp-td-pres-chip.red { border-color: #f4b4ae; }
/* 1.6.490: missing-connection alert on the API integration page. */
.wtp-td-calert{border-left:4px solid #c0392b;background:rgba(192,57,43,.08);padding:8px 12px;border-radius:6px;margin:8px 0}
.wtp-td-calert-p+.wtp-td-calert-p{margin-top:10px;padding-top:8px;border-top:1px solid rgba(192,57,43,.25)}
.wtp-td-calert-steps{margin:4px 0 0 18px;padding:0;font-size:.92em}
.wtp-td-calert-steps li{margin:2px 0}

/* 1.6.504: Snooze is a dropdown (1 hour, 3 hours, tomorrow, 1 day, 3 days, 7 days), the same size as the small buttons beside it. */
.wtp-td select.wtp-td-ndsel { width: auto !important; min-width: 118px; height: 34px !important; min-height: 34px !important; max-height: 34px !important; padding: 0 28px 0 10px !important; font-size: 14px !important; font-weight: 600; color: #374151; background-color: #fff; border: 1px solid #cbd5e1; border-radius: 8px; cursor: pointer; }
.wtp-td .wtp-td-urgent-banner select.wtp-td-ndsel { color: #7f1d1d; border-color: transparent; background-color: rgba(255,255,255,.92); }

/* 1.6.506: I am working / I am not working (replaces the big START timer), Scott's evening question, the team's morning tick box. */
.wtp-td .wtp-td-wsw-card { margin: 0 0 12px; padding: 10px 12px; border-radius: 12px; background: #fff; border: 2px solid #d0d5dd; box-sizing: border-box; max-width: 100%; }
.wtp-td .wtp-td-wsw-card.is-on { border-color: #12b76a; }
.wtp-td .wtp-td-wsw-card.is-off { border-color: #d92d20; }
.wtp-td .wtp-td-wsw-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.wtp-td button.wtp-td-wsw, .wtp-td button.wtp-td-wsw:hover, .wtp-td button.wtp-td-wsw:focus { min-height: 48px; padding: 10px 8px; border-radius: 10px; font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; background: #fff !important; color: #475467 !important; border: 2px solid #d0d5dd !important; text-transform: none; letter-spacing: normal; box-shadow: none; }
.wtp-td button.wtp-td-wsw.yes.on { background: #15803d !important; color: #fff !important; border-color: #166534 !important; }
.wtp-td button.wtp-td-wsw.no.on { background: #be123c !important; color: #fff !important; border-color: #881337 !important; }
.wtp-td .wtp-td-wsw-info { margin-top: 6px; text-align: center; }
.wtp-td .wtp-td-wsw-sched { margin-top: 8px; font-size: 14px; }
.wtp-td .wtp-td-wsw-sched summary { cursor: pointer; color: #0f6a96; font-weight: 600; }
.wtp-td .wtp-td-wsw-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 8px 0; }
.wtp-td .wtp-td-wsw-ask { margin: 0 0 12px; padding: 12px; border-radius: 12px; background: #fff7e0; border: 2px solid #f0b429; box-sizing: border-box; }
.wtp-td .wtp-td-wsw-ask strong { display: block; margin-bottom: 8px; font-size: 17px; }
.wtp-td .wtp-td-wk { margin: 0 0 12px; padding: 10px 12px; border-radius: 12px; background: #eef7fc; border: 2px solid #168ec7; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; box-sizing: border-box; }
.wtp-td .wtp-td-wk-l { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; flex: 1 1 240px; }
.wtp-td .wtp-td-wk-l input { width: 26px; height: 26px; flex: none; margin: 2px 0 0; }
.wtp-td-sday-box.away { background: #475467; border-color: #344054; }

/* 1.6.506: waiting on Scott carries a note; Scott can send it back. */
.wtp-td .wtp-td-wmnote { display: block; margin-top: 4px; padding: 3px 6px; border-radius: 6px; background: rgba(255,255,255,.18); font-size: 13px; font-weight: 600; overflow-wrap: anywhere; }
.wtp-td .wtp-td-scb { margin: 8px 0; padding: 10px 12px; border-radius: 10px; background: #fff7e0; border: 2px solid #f0b429; color: #17395d; box-sizing: border-box; }
.wtp-td .wtp-td-scb.back { background: #fde7e9; border-color: #d64541; }
.wtp-td .wtp-td-scb-h { font-weight: 800; font-size: 14px; }
.wtp-td .wtp-td-scb-n { margin: 4px 0 8px; font-size: 16px; overflow-wrap: anywhere; white-space: pre-wrap; }
.wtp-td .wtp-td-scott-err { color: #b3302c; font-weight: 700; }

/* 1.6.507: clear the inbox every day */
.wtp-td-trigrp { margin: 10px 0; }
.wtp-td-trigrp .wtp-td-inrow { margin: 0; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.wtp-td-tri { background: #f7f9fc; border: 1px solid #d9e2ec; border-top: 0; border-left: 6px solid #c9d6e3; border-radius: 0 0 12px 12px; padding: 10px 14px; }
.wtp-td-tri-q { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 4px 0; }
.wtp-td-tri-qt { font-size: 14px; font-weight: 700; color: #17395d; flex: 1 1 240px; }
.wtp-td-tri-ab { display: flex; flex-wrap: wrap; gap: 6px; }
.wtp-td .wtp-td-tribtn.on { background: #17395d !important; color: #fff !important; border-color: #17395d !important; }
.wtp-td .wtp-td-tribtn.no { border-color: #2e9e57 !important; color: #1f7a42 !important; font-weight: 700; }
.wtp-td-tri-form { margin: 6px 0 8px; padding: 10px 12px; background: #fff; border: 1px solid #d9e2ec; border-radius: 10px; display: grid; gap: 8px; }
.wtp-td-tri-l { display: grid; gap: 4px; font-size: 13px; font-weight: 600; color: #4a5f77; }
.wtp-td-tri-due { font-size: 14px; font-weight: 700; color: #8a6500; background: #fff8e1; border: 1px solid #f0d58a; border-radius: 8px; padding: 6px 10px; margin-bottom: 6px; }
.wtp-td-tri-done { background: #ecf8f0; border: 1px solid #b9e2c6; color: #1f7a42; border-radius: 12px; padding: 16px 18px; margin: 12px 0; font-size: 16px; }
.wtp-td-trimini { background: #fff; border: 1px solid #d9e2ec; border-radius: 10px; padding: 10px 12px; margin: 8px 0; }
.wtp-td-wmclear { margin-top: 8px; }

/* 1.6.508 (Scott, 1 Nov 2026): the Jobs-not-done card is one sentence on what happened, one on what to do, one main button; the to-do "are you sure" box. */
.wtp-td .wtp-td-jfhead { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.wtp-td .wtp-td-jfhead .wtp-td-jt { font-size: 17px; line-height: 1.3; }
.wtp-td .wtp-td-jfpill { background: #b91c1c; color: #fff; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.wtp-td .wtp-td-jfsub { font-size: 13px; color: var(--muted, #5b6b7b); margin-top: 3px; }
.wtp-td .wtp-td-jfsay { font-size: 15px; margin-top: 8px; line-height: 1.4; }
.wtp-td .wtp-td-jfask { font-size: 15px; font-weight: 700; margin-top: 6px; }
.wtp-td .wtp-td-jfmain { font-size: 15px; padding: 10px 16px; }
.wtp-td .wtp-td-jfnote { font-size: 12px; color: var(--muted, #5b6b7b); margin-top: 4px; }
.wtp-td-urgent-banner.todo .wtp-td-todosure { background: rgba(255,255,255,.7); border-radius: 8px; padding: 10px 12px; margin: 6px 0 2px; font-size: 14px; line-height: 1.4; }
.wtp-td-urgent-banner.todo .wtp-td-todosure label { display: flex; gap: 8px; align-items: flex-start; font-weight: 600; cursor: pointer; }
.wtp-td-urgent-banner.todo .wtp-td-todosure input[type=checkbox] { width: 20px; height: 20px; margin-top: 1px; flex: 0 0 auto; }
.wtp-td-urgent-banner.todo .wtp-td-btn[disabled] { opacity: .45; cursor: not-allowed; }

/* 1.6.508 (Scott, 1 Nov 2026, 8:48am): Not-done rows start as one small line; tap to open. */
.wtp-td .wtp-td-ndhead { display: block; position: relative; width: 100%; text-align: left; background: none; border: 0; padding: 0; margin: 0; font: inherit; color: inherit; cursor: pointer; }
.wtp-td .wtp-td-ndhead .wtp-td-ndt { font-size: 14px; }
.wtp-td .wtp-td-ndhead .wtp-td-ndsub { display: block; margin-top: 1px; }
.wtp-td .wtp-td-ndtop { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 3px; }
.wtp-td .wtp-td-ndchev { flex: 0 0 auto; font-size: 13px; font-weight: 700; line-height: 1; color: #17395D; background: #fff; border: 1.5px solid #17395D; border-radius: 999px; padding: 6px 12px; }
.wtp-td .wtp-td-ndhead:hover .wtp-td-ndchev, .wtp-td .wtp-td-ndhead:focus-visible .wtp-td-ndchev { background: #17395D; color: #fff; }
.wtp-td .wtp-td-ndbody { margin-top: 6px; }
.wtp-td .wtp-td-ndbody[hidden] { display: none; }
.wtp-td .wtp-td-ndsnz { margin-top: 6px; }

/* 1.6.512: client emails on the Overview, under the guest messages. Small and quiet on purpose. */
.wtp-td .wtp-td-cmail { margin: 8px 0 12px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.wtp-td .wtp-td-cmhead { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 0 2px 4px; }
.wtp-td .wtp-td-cmh { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.wtp-td .wtp-td-cmsub { font-size: 12px; color: var(--ink-3); }
.wtp-td button.wtp-td-cmrow { display: flex !important; align-items: center; gap: 8px; width: 100%; box-sizing: border-box; min-height: 36px; margin: 0; padding: 6px 4px; text-align: left; border: 0 !important; border-top: 1px solid var(--line-2) !important; border-radius: 0; background: transparent !important; color: var(--ink-2) !important; font: inherit; font-size: 13px; cursor: pointer; box-shadow: none !important; }
.wtp-td button.wtp-td-cmrow:hover { background: var(--bg) !important; }
.wtp-td .wtp-td-cmwho { flex: 0 0 auto; max-width: 38%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; color: var(--navy-2); }
.wtp-td .wtp-td-cmtxt { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-3); }
.wtp-td .wtp-td-cmgo { flex: 0 0 auto; color: var(--blue-ink); font-size: 12px; }
.wtp-td button.wtp-td-cmmore { display: block !important; margin: 2px 0 0; padding: 6px 4px; border: 0 !important; background: transparent !important; color: var(--blue-ink) !important; font: inherit; font-size: 12.5px; cursor: pointer; box-shadow: none !important; }

/* 1.6.516 (Scott, 1 Nov 2026): the Calendar tab. A month grid for one property; stays are bars coloured by platform. */
.wtp-td .wtp-td-calbar-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 8px 0; }
.wtp-td .wtp-td-calsel { min-width: 0; max-width: 100%; flex: 1 1 240px; }
.wtp-td .wtp-td-calnav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.wtp-td .wtp-td-calmonth { min-width: 120px; text-align: center; color: var(--navy-2); font-size: 16px; }
.wtp-td .wtp-td-callegend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 6px 0 10px; }
.wtp-td .wtp-td-callert { border: 1px solid var(--amber-line); background: var(--amber-bg); color: var(--amber-ink); border-radius: 8px; padding: 8px 10px; margin: 8px 0; font-size: 14px; }
.wtp-td .wtp-td-calat { margin: 0 0 6px; }
.wtp-td-calbadge { display: inline-block; flex: 0 0 auto; white-space: nowrap; border-radius: 999px; padding: 2px 9px; font-size: 12px; font-weight: 700; line-height: 1.5; color: #fff; background: #667085; }
.wtp-td-calbadge.k-airbnb { background: #c0334a; }
.wtp-td-calbadge.k-vrbo { background: #1f5fbf; }
.wtp-td-calbadge.k-booking { background: #0a3a7a; }
.wtp-td-calbadge.k-direct { background: #1d7a52; }
.wtp-td-calbadge.k-owner { background: #6b4aa8; }
.wtp-td-calbadge.k-other { background: #9a5b00; }
.wtp-td-calbadge.k-block { background: #667085; }
.wtp-td-calbadge.k-linked { background: #7c3aed; }
.wtp-td button.wtp-td-calbar.k-linked { background: #7c3aed !important; color: #fff !important; }
.wtp-td .wtp-td-calgrid { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.wtp-td .wtp-td-calhd { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); background: var(--line-2); font-size: 12px; font-weight: 700; color: var(--ink-3); text-align: center; }
.wtp-td .wtp-td-calhd > div { padding: 5px 0; }
.wtp-td .wtp-td-calweek { position: relative; border-top: 1px solid var(--line); }
.wtp-td .wtp-td-calcells { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.wtp-td .wtp-td-calcell { position: relative; display: flex; flex-direction: column; justify-content: space-between; border-left: 1px solid var(--line-2); padding: 3px 4px 4px; min-width: 0; }
.wtp-td .wtp-td-calcell:first-child { border-left: 0; }
.wtp-td .wtp-td-calcell.out { background: #fafbfc; }
.wtp-td .wtp-td-calcell.out .wtp-td-caldn { color: #98a2b3; }
.wtp-td .wtp-td-calcell.today { background: var(--blue-soft); }
.wtp-td .wtp-td-caldn { font-size: 12px; font-weight: 600; color: var(--ink-2); line-height: 18px; }
.wtp-td .wtp-td-calcell.today .wtp-td-caldn { color: var(--blue-ink); font-weight: 800; }
.wtp-td .wtp-td-calbars { position: absolute; left: 0; right: 0; top: 24px; display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); grid-auto-rows: 22px; row-gap: 2px; pointer-events: none; }
.wtp-td button.wtp-td-calbar { pointer-events: auto; display: block !important; width: 100%; height: 22px; min-height: 0 !important; margin: 0 !important; padding: 0 7px !important; border: 0 !important; border-radius: 6px !important; color: #fff !important; font: inherit; font-size: 12px !important; font-weight: 600; line-height: 22px !important; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; box-shadow: none !important; background: #667085 !important; }
.wtp-td button.wtp-td-calbar.cl { border-top-left-radius: 0 !important; border-bottom-left-radius: 0 !important; }
.wtp-td button.wtp-td-calbar.cr { border-top-right-radius: 0 !important; border-bottom-right-radius: 0 !important; }
.wtp-td button.wtp-td-calbar:hover, .wtp-td button.wtp-td-calbar:focus-visible { filter: brightness(1.12); outline: 2px solid var(--navy-2); outline-offset: 1px; }
.wtp-td button.wtp-td-calbar.k-airbnb { background: #c0334a !important; }
.wtp-td button.wtp-td-calbar.k-vrbo { background: #1f5fbf !important; }
.wtp-td button.wtp-td-calbar.k-booking { background: #0a3a7a !important; }
.wtp-td button.wtp-td-calbar.k-direct { background: #1d7a52 !important; }
.wtp-td button.wtp-td-calbar.k-owner { background: #6b4aa8 !important; }
.wtp-td button.wtp-td-calbar.k-other { background: #9a5b00 !important; }
.wtp-td button.wtp-td-calbar.k-block { background: repeating-linear-gradient(135deg, #d0d5dd, #d0d5dd 6px, #e4e7ec 6px, #e4e7ec 12px) !important; color: #344054 !important; }
.wtp-td button.wtp-td-calclean, .wtp-td span.wtp-td-calclean { align-self: flex-start; display: inline-block !important; min-height: 0 !important; margin: 0 !important; padding: 0 6px !important; border-radius: 999px !important; border: 1px solid #98a2b3 !important; background: #f2f4f7 !important; color: #475467 !important; font: inherit; font-size: 11px !important; font-weight: 700; line-height: 16px !important; cursor: pointer; box-shadow: none !important; }
.wtp-td .wtp-td-calclean.ok { background: var(--green-bg) !important; color: var(--green-ink) !important; border-color: var(--green-line) !important; }
.wtp-td .wtp-td-calclean.ask { background: var(--amber-bg) !important; color: var(--amber-ink) !important; border-color: var(--amber-line) !important; }
.wtp-td .wtp-td-calclean.bad { background: var(--red-bg) !important; color: var(--red-ink) !important; border-color: var(--red-line) !important; }
.wtp-td span.wtp-td-calclean.legend { cursor: default; }
.wtp-td .wtp-td-callist { margin-top: 14px; }
.wtp-td .wtp-td-calsech { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; margin-bottom: 6px; }
.wtp-td button.wtp-td-calrow { display: flex !important; align-items: center; gap: 10px; width: 100%; min-height: 48px; margin: 0; padding: 8px 4px !important; text-align: left; background: transparent !important; border: 0 !important; border-top: 1px solid var(--line-2) !important; border-radius: 0 !important; color: var(--ink) !important; font: inherit; cursor: pointer; box-shadow: none !important; }
.wtp-td button.wtp-td-calrow:hover { background: var(--bg) !important; }
.wtp-td .wtp-td-calrow-m { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.wtp-td .wtp-td-calrow-n { font-weight: 700; color: var(--navy-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wtp-td .wtp-td-calrow-t { flex: 0 0 auto; font-weight: 700; color: var(--ink); }
.wtp-td-caltip { position: fixed; z-index: 100001; max-width: 320px; background: #101828; color: #fff; border-radius: 10px; padding: 9px 11px; font: 13px/1.4 inherit; box-shadow: var(--shadow-lg); pointer-events: none; }
.wtp-td-caltip[hidden] { display: none; }
.wtp-td-caltip-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 3px; }
.wtp-td-caltip-s { color: #d0d5dd; font-size: 12px; margin-top: 3px; }
/* the pop-up: full screen on a phone, a centred card on a computer */
.wtp-td-calsheet .wtp-td-calcard { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; background: #fff; }
.wtp-td-calsheet .wtp-td-calbody { flex: 1 1 auto; overflow-y: auto; padding: 14px 14px 40px; width: 100%; max-width: 720px; margin: 0 auto; color: var(--ink); font-size: 15px; }
.wtp-td-calsheet .wtp-td-caltitle { margin: 8px 0 4px !important; }
.wtp-td-calsheet .wtp-td-calline { margin: 4px 0; }
.wtp-td-calsheet .wtp-td-calline.strong { font-weight: 700; }
.wtp-td-calsheet .wtp-td-sub { color: var(--ink-3); font-size: 13px; margin: 2px 0; }
.wtp-td-calsheet .wtp-td-calmoney { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border-bottom: 1px solid var(--line-2); }
.wtp-td-calsheet .wtp-td-calmoney .k { color: var(--ink-2); min-width: 0; overflow-wrap: anywhere; }
.wtp-td-calsheet .wtp-td-calmoney .v { font-weight: 700; flex: 0 0 auto; }
.wtp-td-calsheet .wtp-td-calmoney.bad .v { color: var(--red-ink); }
.wtp-td-calsheet .wtp-td-calmoney.hi { background: var(--blue-soft); }
.wtp-td-calsheet .wtp-td-calmove { margin: 14px 0 6px; padding: 10px 12px; border: 1px solid var(--blue-soft); background: var(--blue-soft); border-radius: 10px; font-size: 14px; line-height: 1.45; }
.wtp-td-calsheet .wtp-td-calmove-h { font-weight: 700; color: var(--navy-2); margin-bottom: 4px; }
.wtp-td-calsheet .wtp-td-calmove div + div { margin-top: 4px; }
.wtp-td-calsheet .wtp-td-calbtns { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 6px; }
.wtp-td-calsheet .wtp-td-calbtns .wtp-td-btn { text-decoration: none; }
.wtp-td-calsheet .wtp-td-calmore { border-top: 1px solid var(--line); margin-top: 10px; }
.wtp-td-calsheet .wtp-td-calsec { margin-top: 12px; }
.wtp-td-calsheet .wtp-td-calmore-h { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; margin-bottom: 6px; }
.wtp-td-calsheet .wtp-td-calnotes { white-space: pre-wrap; overflow-wrap: anywhere; background: var(--line-2); border-radius: 8px; padding: 8px 10px; margin-top: 8px; font-size: 14px; }
@media (min-width: 900px) {
  .wtp-td-calsheet { background: rgba(15, 43, 74, .55); align-items: center; justify-content: center; }
  .wtp-td-calsheet .wtp-td-calcard { flex: 0 1 auto; width: 580px; max-width: 94vw; max-height: 88vh; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lg); }
}
@media (max-width: 640px) {
  .wtp-td .wtp-td-calbars { top: 22px; grid-auto-rows: 18px; }
  .wtp-td button.wtp-td-calbar { height: 18px; font-size: 10.5px !important; line-height: 18px !important; padding: 0 4px !important; }
  .wtp-td .wtp-td-calcell { padding: 2px 2px 3px; }
  .wtp-td .wtp-td-caldn { font-size: 11px; }
  .wtp-td button.wtp-td-calclean { width: 8px; height: 8px; padding: 0 !important; font-size: 0 !important; line-height: 0 !important; border-radius: 50% !important; }
}
/* 1.6.542: client contact-hours chips sit after the people chips. */
.wtp-td-pres-chip.wtp-td-pres-client { font-weight: 600; }
.wtp-td-btn.danger { color: #b42318 !important; border-color: #f0b3ad !important; }

/* 1.6.548 (Scott, 2 Nov 2026): red-on-navy buttons could not be read; danger buttons are white with red text everywhere. */
.wtp-td .wtp-td-btn.danger, .wtp-td-mailbtns .wtp-td-btn.danger { background: #fff !important; color: #b42318 !important; border-color: #f0b3ad !important; font-weight: 600 !important; }
.wtp-td .wtp-td-btn.danger:hover, .wtp-td .wtp-td-btn.danger:focus { background: #fde7e9 !important; color: #912018 !important; border-color: #d92d20 !important; }
/* the Automatic hours line must wrap cleanly on a phone */
.wtp-td .wtp-td-wsw-sched summary { line-height: 1.35; overflow-wrap: anywhere; }
.wtp-td .wtp-td-wsw-sched { text-align: center; }
.wtp-td .wtp-td-wsw-sched > :not(summary) { text-align: left; }

/* 1.6.549 (Scott, 2 Nov 2026): on a computer, little tiles side by side instead of one long line per item. */
@media (min-width: 760px) {
  .wtp-td .wtp-td-nd { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-items: start; }
  .wtp-td .wtp-td-nd > .wtp-td-ndh, .wtp-td .wtp-td-nd > .wtp-td-ndhelp, .wtp-td .wtp-td-nd > .wtp-td-ndheld { grid-column: 1 / -1; }
  .wtp-td .wtp-td-nd > .wtp-td-ndrow { margin: 0; }
  .wtp-td .wtp-td-wmblock { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; align-items: stretch; }
  .wtp-td .wtp-td-wmblock > .wtp-td-urgent-h, .wtp-td .wtp-td-wmblock > .wtp-td-wmclear { grid-column: 1 / -1; }
  .wtp-td .wtp-td-wmblock > .wtp-td-wmrow { margin: 0; }
}
@media (min-width: 1100px) {
  .wtp-td.is-desk > *:not(.wtp-td-appbar) { max-width: 1240px; }
  .wtp-td-appbar-in { max-width: 1240px; }
  .wtp-td .wtp-td-nd { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .wtp-td .wtp-td-wmblock { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* 1.6.550: cleans going out sit in tiles on a computer too. */
@media (min-width: 760px) {
  .wtp-td .wtp-td-cleans-card .wtp-td-clist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-items: start; }
  .wtp-td .wtp-td-cleans-card .wtp-td-clist > * { margin: 0; }
}
@media (min-width: 1100px) {
  .wtp-td .wtp-td-cleans-card .wtp-td-clist { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* 1.6.551: Emails buttons in one row on a computer; the work switch is slimmer on screens other than the Overview. */
@media (min-width: 760px) {
  .wtp-td-mailbtns { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .wtp-td-mailbtns .wtp-td-btn, .wtp-td-mailbtns .wtp-td-btn.send, .wtp-td-mailbtns .wtp-td-btn.suggest { min-height: 42px; grid-column: auto; }
  .wtp-td .wtp-td-wsw-card { padding: 8px 12px; }
  .wtp-td button.wtp-td-wsw, .wtp-td button.wtp-td-wsw:hover, .wtp-td button.wtp-td-wsw:focus { min-height: 40px; padding: 6px 8px; font-size: 15px; }
}
.wtp-td .wtp-td-nomsg { margin: 6px 0 10px; font-size: 13px; color: var(--ink-3, #667085); }

/* 1.6.552: Messages filter row. */
.wtp-td .wtp-td-inbar { display: grid; grid-template-columns: 1fr; gap: 8px; margin: 0 0 10px; }
.wtp-td .wtp-td-inbar > * { width: 100% !important; max-width: 100% !important; margin: 0 !important; box-sizing: border-box; }
@media (min-width: 760px) { .wtp-td .wtp-td-inbar { grid-template-columns: 1fr 1.4fr; } .wtp-td .wtp-td-inbar.g3 { grid-template-columns: 1fr 1fr 1.2fr; } }

/* 1.6.553: the Overview pop-up. Everything on the Overview can be done in here, without leaving the Overview. */
.wtp-td .wtp-td-ovpop, .wtp-td.is-desk > .wtp-td-ovpop { position: fixed !important; inset: 0 !important; width: auto !important; max-width: none !important; margin: 0 !important; z-index: 100000; background: rgba(15, 43, 74, .6); display: flex; align-items: center; justify-content: center; padding: 14px; box-sizing: border-box; }
.wtp-td .wtp-td-ovpop-box { background: #f4f6f9; border-radius: 16px; width: 100%; max-width: 860px; max-height: 92vh; display: flex; flex-direction: column; overflow: hidden; box-shadow: var(--shadow-lg, 0 20px 50px rgba(0,0,0,.35)); }
.wtp-td .wtp-td-ovpop-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; background: #fff; border-bottom: 1px solid var(--line, #e4e7ec); font-size: 17px; color: var(--navy-2, #17395d); }
.wtp-td .wtp-td-ovpop-body { overflow-y: auto; padding: 12px; flex: 1 1 auto; -webkit-overflow-scrolling: touch; }
.wtp-td .wtp-td-ovpop-body > * { margin-left: 0 !important; margin-right: 0 !important; max-width: 100% !important; }
@media (max-width: 640px) {
  .wtp-td .wtp-td-ovpop, .wtp-td.is-desk > .wtp-td-ovpop { padding: 0; align-items: stretch; }
  .wtp-td .wtp-td-ovpop-box { max-width: none; max-height: none; height: 100%; border-radius: 0; }
}

/* 1.6.555: Connect a client (API tab) and the acknowledged cleans line (Overview) */
.wtp-td-cncard { border-left: 4px solid var(--blue); }
.wtp-td-cnrow { display: flex; flex-direction: column; gap: 6px; margin: 12px 0; max-width: 760px; }
.wtp-td-cnrow .wtp-td-sel, .wtp-td-cnrow .wtp-td-in, .wtp-td-cnrow .wtp-td-text { width: 100%; box-sizing: border-box; }
.wtp-td-cnlab { font-weight: 700; color: var(--navy, #17395D); }
.wtp-td-cnwait { margin-top: 10px; }
.wtp-td-clseen { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; justify-content: space-between; }
.wtp-td-clseen-txt { font-weight: 600; }
.wtp-td-clseen-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.wtp-td-clack { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px; }
.wtp-td-cnrow .wtp-td-in, .wtp-td-cnrow .wtp-td-sel { flex: 0 0 auto; height: 46px; min-height: 46px; }
.wtp-td-cnrow .wtp-td-text { flex: 0 0 auto; min-height: 72px; height: 72px; }
.wtp-td-masked { -webkit-text-security: disc; text-security: disc; }

/* 1.6.562: calmer colours. Light panels with a coloured edge and dark text, so red and green are still clear but easy to read. */
.wtp-td-urgent-banner { background: #fef2f2; color: #7f1d1d; border: 1px solid #fecaca; border-left: 6px solid #dc2626; padding: 10px 12px; }
.wtp-td-urgent-banner.semi { background: #fff7ed; color: #7c2d12; border-color: #fed7aa; border-left-color: #ea580c; }
.wtp-td-urgent-banner.wtp-td-wmblock { background: #fef2f2; }
.wtp-td-urgent-banner.todo { background: #fefce8; color: #3b2f00; border-color: #fde68a; border-left-color: #ca8a04; }
.wtp-td-urgent-h { font-size: 13px; letter-spacing: .06em; }
.wtp-td-urgent-row { background: #fff; color: #1f2937; border: 1px solid #eadfdf; }
.wtp-td-urgent-row:hover, .wtp-td-urgent-row:focus { background: #f9fafb; }
.wtp-td-urgent-banner.todo .wtp-td-urgent-row, .wtp-td-urgent-banner.todo .wtp-td-urgent-row:hover { background: #fff; color: #3b2f00; }
.wtp-td-urgent-row strong { font-size: 15px; }
.wtp-td-urgent-row span { opacity: .8; }
.wtp-td .wtp-td-urgent-banner .wtp-td-linkbtn { color: #7f1d1d !important; }
.wtp-td-urgent-banner .wtp-td-ndhide { color: #7f1d1d; }
.wtp-td .wtp-td-wmblock, .wtp-td .wtp-td-urgent-banner.wtp-td-wmblock { grid-template-columns: minmax(0, 1fr) !important; }
.wtp-td-sday-box { padding: 8px 12px; margin-bottom: 10px; }
.wtp-td-sday-box.green { background: #ecfdf3; color: #14532d; border-color: #bbf7d0; border-left: 6px solid #16a34a; }
.wtp-td-sday-box.red { background: #fff1f2; color: #881337; border-color: #fecdd3; border-left: 6px solid #be123c; }
.wtp-td-sday-box.away { background: #f2f4f7; color: #344054; border-color: #d0d5dd; border-left: 6px solid #667085; }
.wtp-td-sday-t strong { font-size: 16px; }
.wtp-td-sday-t span { font-size: 14px; }
.wtp-td-sday-next { font-size: 14px; margin-top: 4px; font-weight: 600; }
.wtp-td-sday-box.green .wtp-td-sday-l li, .wtp-td-sday-box.red .wtp-td-sday-l li, .wtp-td-sday-box.away .wtp-td-sday-l li { border-top-color: rgba(0,0,0,.12); font-size: 14px; }
.wtp-td button.wtp-td-wsw.yes.on { background: #dcfce7 !important; color: #14532d !important; border-color: #16a34a !important; }
.wtp-td button.wtp-td-wsw.no.on { background: #ffe4e6 !important; color: #881337 !important; border-color: #be123c !important; }
.wtp-td .wtp-td-wsw-card { border-width: 1px; }
.wtp-td-mail-tg { margin-top: 2px; font-weight: 700; }
.wtp-td-sday-tg { background: none; border: 0; padding: 6px 0 0; font: inherit; font-weight: 700; font-size: 13px; color: inherit; cursor: pointer; text-decoration: underline; }

/* 1.6.613 (Scott, 4 Nov): the call lines on the Overview open the call; the Meetings tab keeps the whole day, finished calls crossed out */
.wtp-td .wtp-td-sday-go { display: inline-block; color: inherit; text-decoration: underline; text-underline-offset: 3px; padding: 6px 0; min-height: 24px; }
.wtp-td .wtp-td-sday-t a.wtp-td-sday-go { display: block; font-weight: 600; }
.wtp-td .wtp-td-sday-l li a { display: block; padding: 6px 0; }
.wtp-td .wtp-td-mtg-row.past { opacity: .72; }
.wtp-td .wtp-td-mtg-row.past .wtp-td-mtg-time, .wtp-td .wtp-td-mtg-row.past .wtp-td-mtg-main strong, .wtp-td .wtp-td-mtg-row.past .wtp-td-mtg-with { text-decoration: line-through; color: #667085; }

/* 1.6.618: the Waiting on Scott tab. One plain question per card, a box to answer, big buttons for a phone. */
.wtp-td .wtp-td-sw { border: 2px solid #168ec7; border-radius: 14px; padding: 16px; margin: 12px 0; box-sizing: border-box; }
.wtp-td .wtp-td-sw-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 0 0 8px; }
.wtp-td .wtp-td-sw-kind { font-size: 12px; letter-spacing: 1px; font-weight: 700; color: #168ec7; }
.wtp-td .wtp-td-sw-age { font-size: 13px; color: #b45309; font-weight: 700; }
.wtp-td .wtp-td-sw-q { font-size: 22px; line-height: 28px; font-weight: 700; color: #17395d; margin: 0 0 10px; }
.wtp-td .wtp-td-sw-what { font-size: 16px; line-height: 22px; color: #17395d; margin: 0 0 6px; font-weight: 600; }
.wtp-td .wtp-td-sw-note { font-size: 16px; line-height: 22px; color: #17395d; background: #fff7e0; border-left: 4px solid #f0b429; padding: 8px 10px; margin: 4px 0 8px; border-radius: 6px; }
.wtp-td .wtp-td-sw-more { margin: 6px 0; }
.wtp-td .wtp-td-sw-more summary { cursor: pointer; color: #168ec7; font-weight: 600; padding: 4px 0; }
.wtp-td .wtp-td-sw .wtp-td-in { font-size: 16px; margin: 10px 0 8px; }
.wtp-td .wtp-td-sw-btns { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.wtp-td .wtp-td-sw-btns .wtp-td-btn { flex: 1 1 160px; min-height: 48px; }
.wtp-td .wtp-td-sw-big { width: 100%; min-height: 52px; font-size: 17px; margin: 10px 0 0; }
.wtp-td .wtp-td-sw-likely { font-size: 16px; line-height: 22px; color: #17395d; background: #e8f4fb; border-left: 4px solid #168ec7; padding: 8px 10px; margin: 8px 0 0; border-radius: 6px; }
.wtp-td .wtp-td-sw-cand { border: 1px solid #c9dbe8; border-radius: 8px; padding: 8px 10px 10px; margin: 8px 0 0; }
.wtp-td .wtp-td-sw-cn { font-size: 18px; line-height: 24px; font-weight: 700; color: #17395d; }
.wtp-td .wtp-td-sw-cand .wtp-td-btn { width: 100%; min-height: 48px; margin: 8px 0 0; }
.wtp-td .wtp-td-sw-msg { font-size: 16px; line-height: 22px; color: #17395d; background: #eefaf1; border-left: 4px solid #2e9d4f; padding: 8px 10px; margin: 4px 0 8px; border-radius: 6px; white-space: pre-wrap; word-break: break-word; }
.wtp-td .wtp-td-sw a.wtp-td-btn { display: inline-block; text-decoration: none; margin: 4px 0; }

/* 1.6.621: steps, notes and the delivery date on a job; the calm Orders on the way box. */
.wtp-td .wtp-td-trk-box { margin: 8px 0 0; padding: 8px 10px; background: #f4f8fb; border-left: 4px solid #168ec7; border-radius: 6px; }
.wtp-td .wtp-td-trk { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0 0 6px; font-size: 14px; line-height: 20px; }
.wtp-td .wtp-td-trk-s { color: #6b7280; }
.wtp-td .wtp-td-trk-s.done { color: #15803d; }
.wtp-td .wtp-td-trk-s.now { color: #17395d; font-weight: 700; }
.wtp-td .wtp-td-trk-eta { font-weight: 600; color: #17395d; }
.wtp-td .wtp-td-trk-log { margin: 4px 0 6px; }
.wtp-td .wtp-td-trk-ctl .wtp-td-in { font-size: 16px; min-height: 40px; }
.wtp-td .wtp-td-trk-ctl .wtp-td-btn { min-height: 40px; }
.wtp-td .wtp-td-orders { border-left: 6px solid #168ec7; background: #eef6fb; }
.wtp-td .wtp-td-orders .wtp-td-h { color: #17395d; }

/* 1.6.624 (Scott, 4 Nov 2026): the Plaud transcript tag on a meeting, and the summary / transcript panel. */
.wtp-td-mtg-plaud { display: inline-block; margin-top: 6px; background: var(--navy-2); color: #fff; border-radius: 999px; padding: 3px 10px; font-size: 12px; font-weight: 700; }
.wtp-td-mtg-plaudsum { background: #f8fafc; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.wtp-td-mtg-plauddet { margin-top: 10px; }
.wtp-td-mtg-plauddet summary { cursor: pointer; font-weight: 700; padding: 8px 0; }
.wtp-td-mtg-plauddet .wtp-td-mtg-pre { max-height: 60vh; overflow-y: auto; font-size: 14px; }

/* 1.6.636: the conversation behind a Waiting on Scott card. */
.wtp-td-sw-conv { margin: 8px 0; }
.wtp-td .wtp-td-sw-said { font-size: 17px; line-height: 24px; font-weight: 600; color: #0d2a4a; background: #eaf4fb; border-left: 4px solid #168EC7; padding: 10px 12px; margin: 4px 0 8px; border-radius: 6px; white-space: pre-wrap; word-break: break-word; }
.wtp-td .wtp-td-sw-told { font-size: 15px; line-height: 21px; color: #17395d; background: #eef1f6; border-left: 4px solid #17395d; padding: 8px 10px; margin: 4px 0 8px; border-radius: 6px; white-space: pre-wrap; word-break: break-word; }
.wtp-td-conv { border-radius: 10px; padding: 8px 12px; margin: 6px 0; border-left: 4px solid var(--line); background: #f8fafc; }
.wtp-td-conv-in { border-left-color: #168EC7; background: #eaf4fb; }
.wtp-td-conv-out { border-left-color: var(--navy-2); background: #eef1f6; }
.wtp-td-conv-note { border-left-style: dashed; }
.wtp-td-conv-hd { font-size: 12px; font-weight: 700; opacity: 0.8; margin-bottom: 2px; }
.wtp-td-conv-tx { white-space: pre-wrap; word-break: break-word; font-size: 14px; }

.wtp-td-rec { background: #c0392b; color: #fff; animation: wtp-td-rec 1.2s ease-in-out infinite; }
@keyframes wtp-td-rec { 50% { opacity: 0.65; } }

/* 1.6.642 (Scott, 5 Nov 2026): meeting bar first, add-to-phone bar, folded Team chips and Missed yesterday on a phone */
.wtp-td-mtgsoon { margin: 0 0 10px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.wtp-td-mtgsoon .wtp-td-sday-t { display: flex; flex-direction: column; gap: 2px; }
.wtp-td-mtgsoon .wtp-td-sday-t strong { font-size: 18px; letter-spacing: .02em; }
.wtp-td-mtgsoon-b { display: flex; flex-wrap: wrap; gap: 8px; }
.wtp-td-mtgsoon-b a { flex: 1 1 140px; box-sizing: border-box; text-align: center; min-height: 46px; line-height: 30px; font-size: 17px; }
.wtp-td-addbar { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; }
.wtp-td-addbar .wtp-td-btn { flex: 1 1 auto; min-height: 50px; font-size: 16px; }
.wtp-td-addbar .wtp-td-addx { flex: none; background: none; border: 0; color: #475467; font-size: 14px; padding: 10px 8px; min-height: 44px; cursor: pointer; }
details.wtp-td-pres-fold { margin: 0 0 10px; }
details.wtp-td-pres-fold > summary { cursor: pointer; list-style: none; font-size: 14px; font-weight: 600; color: #475467; padding: 8px 2px; min-height: 24px; }
details.wtp-td-pres-fold > summary::-webkit-details-marker { display: none; }
details.wtp-td-pres-fold[open] > summary { margin-bottom: 6px; }
details.wtp-td-missed-fold { padding: 10px 14px; }
details.wtp-td-missed-fold > summary { cursor: pointer; list-style: none; }
details.wtp-td-missed-fold > summary::-webkit-details-marker { display: none; }
details.wtp-td-missed-fold[open] > summary { margin-bottom: 6px; }

/* 1.6.645: what a phone-call recording itself mentioned (name, number, email) on the Waiting on Scott card. */
.wtp-td .wtp-td-sw-said2 { border-left: 4px solid #168ec7; background: #f3fbff; padding: 8px 12px; margin: 8px 0; border-radius: 6px; }
/* 1.6.651: Client invoice details form, every box the full width of the card */
.wtp-td .wtp-td-cbd-form .wtp-td-in, .wtp-td .wtp-td-cbd-form .wtp-td-text, .wtp-td .wtp-td-cbd-form .wtp-td-sel { display: block; width: 100%; max-width: 100%; box-sizing: border-box; margin-top: 3px; }
.wtp-td .wtp-td-cbd-form textarea.wtp-td-text { min-height: 72px; margin-top: 8px; padding: 8px 12px; }
.wtp-td .wtp-td-cbd-form .wtp-td-cmchk { flex: 1 1 140px; }

/* ---------- 1.6.652 (Scott, 5 Nov 2026): readability pass ---------- */
/* The blue Meeting now card: its title block had a 200px flex-basis, which inside a column card became a 200px tall empty gap. */
.wtp-td .wtp-td-mtgsoon .wtp-td-sday-t { flex: 0 0 auto; }
.wtp-td .wtp-td-mtgsoon-b a { display: flex; align-items: center; justify-content: center; line-height: 1.25; padding: 10px 12px; min-height: 46px; }
/* Finished calls: grey with a green Done tag, never crossed out. */
.wtp-td .wtp-td-mtg-row.past { opacity: 1; background: #f9fafb; }
.wtp-td .wtp-td-mtg-row.past .wtp-td-mtg-time, .wtp-td .wtp-td-mtg-row.past .wtp-td-mtg-main strong, .wtp-td .wtp-td-mtg-row.past .wtp-td-mtg-with { text-decoration: none; color: #475467; }
.wtp-td .wtp-td-mtg-tag { display: inline-block; margin-top: 6px; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--green-bg); color: var(--green-ink); border: 1px solid var(--green-line); }
.wtp-td .wtp-td-mtg-tag.bad { background: var(--red-bg); color: var(--red-ink); border-color: var(--red-line); }
.wtp-td .wtp-td-mtg-tag.warn { background: var(--amber-bg); color: var(--amber-ink); border-color: var(--amber-line); }
.wtp-td .wtp-td-sday-l li.past, .wtp-td .wtp-td-sday-box .wtp-td-sday-l li.past { text-decoration: none; opacity: .78; }
/* Meeting sheet: the briefing, the client's own words, the booking form. */
.wtp-td-mtg-subh { font-size: 13px; font-weight: 700; color: var(--navy-2); margin: 12px 0 4px; }
.wtp-td-mtg-sec > .wtp-td-mtg-subh:first-of-type { margin-top: 0; }
.wtp-td-mtg-ul { margin: 0 0 4px; padding-left: 20px; }
.wtp-td-mtg-ul li { margin: 0 0 6px; line-height: 1.5; font-size: 16px; }
.wtp-td-mtg-todo { background: #fffbeb; border: 1px solid var(--amber-line); border-radius: 10px; padding: 8px 12px 4px; margin: 10px 0 4px; }
.wtp-td-mtg-todo .wtp-td-mtg-subh { color: var(--amber-ink); margin-top: 0; }
.wtp-td-mtg-quote { border-left: 4px solid var(--blue); background: var(--blue-soft); border-radius: 0 10px 10px 0; padding: 10px 12px; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 16px; line-height: 1.5; margin: 4px 0; }
.wtp-td-mtg-kv { display: grid; grid-template-columns: minmax(110px, 36%) 1fr; gap: 6px 14px; font-size: 14px; line-height: 1.45; }
.wtp-td-mtg-k { color: var(--ink-3); }
.wtp-td-mtg-v { color: var(--ink); overflow-wrap: anywhere; }
@media (max-width: 480px) { .wtp-td-mtg-kv { grid-template-columns: 1fr; gap: 0; } .wtp-td-mtg-k { margin-top: 8px; font-size: 13px; } }
.wtp-td-mtg-rich .wtp-td-mtg-p { margin: 0 0 8px; line-height: 1.5; }
.wtp-td-mtg-rich .wtp-td-mtg-rh { font-weight: 700; color: var(--navy-2); margin: 12px 0 4px; }
.wtp-td-mtg-rich .wtp-td-mtg-rh:first-child { margin-top: 0; }
.wtp-td-mtg-plaudsum .wtp-td-mtg-p:last-child, .wtp-td-mtg-plaudsum .wtp-td-mtg-ul:last-child { margin-bottom: 0; }
/* Job links: a button-shaped label, not a tiny underlined line. */
.wtp-td .wtp-td-urgent-row .wtp-td-urgent-go { display: inline-block; text-decoration: none; background: var(--blue-soft); color: var(--blue-ink) !important; border-radius: 8px; padding: 7px 12px; margin-top: 8px; font-size: 14px; font-weight: 700; opacity: 1; }
@media (max-width: 640px) {
  /* Phone header: "Signed in as ..." and Sign out share one row. */
  .wtp-td .wtp-td-who-note.wtp-td-signedin { display: flex !important; flex-basis: 100%; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: 10px; }
  .wtp-td .wtp-td-who-note.wtp-td-signedin .wtp-td-sub { display: block; flex: 1 1 auto; flex-basis: auto; min-width: 0; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .wtp-td .wtp-td-who-note.wtp-td-signedin .wtp-td-btn { flex: 0 0 auto; min-height: 30px; padding: 3px 12px !important; font-size: 13px; }
  /* Client email rows on the Overview: sender and Open on the first line, the subject wrapping underneath. */
  .wtp-td button.wtp-td-cmrow { display: grid !important; grid-template-columns: 1fr auto; grid-template-areas: "who go" "txt txt"; gap: 2px 10px; align-items: center; padding: 10px 4px; min-height: 52px; font-size: 14px; }
  .wtp-td .wtp-td-cmwho { grid-area: who; max-width: none; font-size: 15px; }
  .wtp-td .wtp-td-cmtxt { grid-area: txt; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; color: var(--ink-2); }
  .wtp-td .wtp-td-cmgo { grid-area: go; font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 8px; background: var(--blue-soft); }
}

/* 1.6.653: guest request tags (change table, portacot ...) on check-ins, check-outs and cleans. */
.wtp-td .wtp-td-reqrow { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 2px; }
.wtp-td .wtp-td-req { display: inline-block; max-width: 100%; background: #fff4e0; border: 1px solid #f0b429; color: #7a4b00; border-radius: 999px; padding: 3px 11px; font-size: 13px; font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
/* 1.6.653: Not done groups. */
.wtp-td .wtp-td-ndgroup { grid-column: 1 / -1; }
.wtp-td .wtp-td-ndgroup > summary.wtp-td-ndgsum { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; cursor: pointer; padding: 10px 12px; min-height: 44px; }
.wtp-td .wtp-td-ndgroup .wtp-td-ndgn { font-size: 15px; }
.wtp-td .wtp-td-ndgroup .wtp-td-ndsub { flex: 1 1 100%; font-size: 13px; color: var(--ink-3); }
.wtp-td .wtp-td-ndgroup.red > summary { border-left: 4px solid var(--red, #c0392b); }
.wtp-td .wtp-td-ndgroup > .wtp-td-ndrow, .wtp-td .wtp-td-ndgroup > div { margin: 6px 0 0; }

/* 1.6.655: Quotes and Invoices rows. */
.wtp-td .wtp-td-billtop { margin: 0 0 4px; }
.wtp-td .wtp-td-billrow1 { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.wtp-td .wtp-td-billamt { font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--ink); }
.wtp-td .wtp-td-billgst { font-size: 13px; color: var(--ink-3); }
.wtp-td .wtp-td-billrow1 .wtp-td-stage { margin-left: auto; }
.wtp-td .wtp-td-billnum { font-size: 14px; font-weight: 600; color: var(--ink-2); margin-top: 2px; }
.wtp-td .wtp-td-billmeta { margin: 2px 0; overflow-wrap: anywhere; }
.wtp-td .wtp-td-billnote { margin: 2px 0; }
.wtp-td .wtp-td-billacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 6px; margin-top: 8px; }
.wtp-td .wtp-td-billacts .wtp-td-btn { width: 100%; justify-content: center; text-align: center; min-height: 40px; }
.wtp-td .wtp-td-billacts .wtp-td-btn.danger { color: var(--red-ink, #9b1c1c); border-color: var(--red-line, #f2b4b4); }
.wtp-td .wtp-td-billstats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.wtp-td .wtp-td-billstats .wtp-td-rstat { min-width: 0; padding: 8px 6px; }
.wtp-td .wtp-td-billstats .wtp-td-rstat-v { font-size: 18px; }
@media (max-width: 640px) {
  .wtp-td .wtp-td-billacts { grid-template-columns: 1fr 1fr; }
  .wtp-td .wtp-td-billacts > :first-child:nth-last-child(odd) { grid-column: 1 / -1; }
  .wtp-td .wtp-td-billstats .wtp-td-rstat-l { font-size: 11.5px; }
}
/* 1.6.655: Cleaners tab job notes and updates. */
.wtp-td .wtp-td-jnotes { white-space: pre-wrap; overflow-wrap: anywhere; }
.wtp-td .wtp-td-jlog { margin: 4px 0; }
/* 1.6.655: a finished call in Today's calls is not underlined. */
.wtp-td .wtp-td-sday-l li.past a { text-decoration: none; }

/* ---------- 1.6.656 (Scott, 5 Nov 2026): Emails tab ---------- */
.wtp-td-mailbad{margin:8px 0;padding:10px 12px;border-radius:10px;background:#fdecea;color:#8a1c14;border:1px solid #f1b5b0;font-size:14px;line-height:1.4}
.wtp-td-mailbad-h{font-weight:700;font-size:15px;margin-bottom:2px}
.wtp-td-mailbad-row{display:flex;align-items:center;justify-content:space-between;gap:8px 12px;padding:6px 0;border-top:1px solid rgba(138,28,20,.15)}
.wtp-td-mailbad-who{display:flex;flex-direction:column;min-width:0;flex:1 1 auto}
.wtp-td-mailbad-who strong{overflow-wrap:anywhere;font-size:14px}
.wtp-td-mailbad-who span{font-size:13px;opacity:.9}
.wtp-td-mailbad-row .wtp-td-btn{flex:0 0 auto;min-height:40px;padding:6px 12px}
.wtp-td-mailbad-note{margin-top:6px;padding-top:6px;border-top:1px solid rgba(138,28,20,.15);font-size:13px;line-height:1.4}
.wtp-td-mail-from{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;font-size:13px;line-height:1.3;color:#5b6b7b}
.wtp-td-mail-sender{font-weight:600;color:#475569;word-break:break-word}
.wtp-td-mail-acct{font-size:12px;color:#5b6b7b}
.wtp-td-mail-from .wtp-td-badge-attn{margin-left:0}
.wtp-td-mailitem .wtp-td-mail-subj{font-size:16px;line-height:1.3;margin-top:2px}
.wtp-td-chipbtn{display:inline-flex;align-items:center;justify-content:center;min-height:40px;margin-top:8px;padding:6px 18px;border:1px solid #17395d;border-radius:999px;background:#fff;color:#17395d;font:inherit;font-size:14px;font-weight:700;cursor:pointer}
.wtp-td-chipbtn:hover,.wtp-td-chipbtn:focus-visible{background:#eef6fb}
.wtp-td .wtp-td-mail-tg{margin-top:8px}
.wtp-td-mailitem .wtp-td-chipbtn{display:flex;width:max-content;max-width:100%}
.wtp-td-mailitem .wtp-td-linkbtn{display:block;margin-top:8px}
.wtp-td .wtp-td-billto{margin:2px 0;overflow-wrap:anywhere}
.wtp-td .wtp-td-billto strong{font-weight:600}
.wtp-td .wtp-td-billto.none{color:#8a5a00}
.wtp-td .wtp-td-billto .wtp-td-linkbtn{display:inline;margin-left:4px}


/* ---------- 1.6.659 (Scott, 5 Nov 2026): the honest Overview number, the morning check, Waiting on Scott asks, reports, who we message for ---------- */
.wtp-td-otsum { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; padding: 10px 14px; border-radius: 12px; background: #fff7ed; border: 1px solid #fed7aa; border-left: 6px solid #ea580c; box-sizing: border-box; max-width: 100%; }
.wtp-td-otsum.clear { background: #ecfdf3; border-color: #a6f4c5; border-left-color: #12b76a; }
.wtp-td-otn { font-size: 30px; font-weight: 800; line-height: 1; min-width: 38px; text-align: center; color: #9a3412; }
.wtp-td-otsum.clear .wtp-td-otn { color: #027a48; }
.wtp-td-otsumtxt { font-size: 14px; line-height: 1.4; color: #3b2f00; overflow-wrap: anywhere; }
.wtp-td-mc { margin: 0 0 12px; padding: 12px 14px; border-radius: 12px; background: #eff8ff; border: 2px solid #1570ef; box-sizing: border-box; max-width: 100%; }
.wtp-td-mc.scott { background: #f4f3ff; border-color: #7a5af8; }
.wtp-td-mch { font-weight: 800; letter-spacing: .06em; font-size: 14px; color: #17395d; margin-bottom: 4px; }
.wtp-td-mcsub { margin: 0 0 8px; font-size: 13px; line-height: 1.4; color: #344054; }
.wtp-td-mcrow { background: #fff; border: 1px solid #d0d5dd; border-left: 6px solid #d97706; border-radius: 8px; padding: 9px 10px; margin: 8px 0 0; box-sizing: border-box; max-width: 100%; overflow-wrap: anywhere; word-break: break-word; }
.wtp-td-mcrow.red { border-left-color: #b91c1c; }
.wtp-td-mctop { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 2px; }
.wtp-td-mcrow .wtp-td-ndt { display: block; margin: 2px 0 6px; }
.wtp-td-mcsel { max-width: 100%; }
.wtp-td-mcsaid { display: block; padding: 6px 0; border-top: 1px solid #e4e7ec; }
.wtp-td-mcsaid strong { display: block; font-size: 14px; }
.wtp-td-otb { margin-left: 6px; }
.wtp-td-otform { background: #fff; color: #101828; border: 1px solid #d0d5dd; border-radius: 8px; padding: 10px; margin: 8px 0 0; box-sizing: border-box; max-width: 100%; }
.wtp-td-otq { font-size: 13px; font-weight: 600; margin: 0 0 6px; color: #344054; }
.wtp-td-ottext { width: 100%; box-sizing: border-box; min-height: 56px; }
.wtp-td-otsel { margin: 0 0 6px; max-width: 100%; }
.wtp-td-otwhy { font-size: 13px; line-height: 1.4; margin: 6px 0 0; padding: 6px 9px; border-radius: 6px; background: #f2f4f7; color: #344054; overflow-wrap: anywhere; }
.wtp-td-otwhy.ask { background: #fef0c7; color: #7a2e0e; font-weight: 600; }
.wtp-td-otwhy.ans { background: #d1fadf; color: #05603a; font-weight: 600; }
.wtp-td-urgent-banner .wtp-td-otwhy { background: rgba(255,255,255,.2); color: #fff; }
.wtp-td-urgent-banner .wtp-td-otwhy.ask { background: rgba(255,255,255,.92); color: #7a2e0e; }
.wtp-td-urgent-banner .wtp-td-otwhy.ans { background: rgba(255,255,255,.92); color: #05603a; }
.wtp-td-ackline { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin: 8px 0; padding: 8px 12px; border-radius: 10px; background: #fff7ed; border: 1px solid #fed7aa; font-size: 14px; line-height: 1.4; color: #3b2f00; box-sizing: border-box; max-width: 100%; overflow-wrap: anywhere; }
.wtp-td-ackline.ok { background: #ecfdf3; border-color: #a6f4c5; color: #05603a; }
.wtp-td-acktxt { font-weight: 600; flex: 1 1 200px; min-width: 0; }
.wtp-td-urgent-banner .wtp-td-otb { margin-left: 0; }
.wtp-td-withscott { background: #6941c6 !important; color: #fff !important; }
.wtp-td-whochip { display: block; margin: 6px 0; padding: 8px 10px; border-radius: 8px; font-size: 13px; font-weight: 800; letter-spacing: .02em; line-height: 1.35; background: #f2f4f7; color: #344054; border: 1px solid #d0d5dd; overflow-wrap: anywhere; }
.wtp-td-whochip.yes { background: #ecfdf3; color: #05603a; border-color: #a6f4c5; }
.wtp-td-whochip.no { background: #fffaeb; color: #93370d; border-color: #fedf89; }
.wtp-td-whochip.none { background: #fef3f2; color: #912018; border-color: #fecdca; }

/* 1.6.668 (Scott, 6 Nov 2026): filter rows are a dropdown on a phone (and always for the Meetings views), buttons stay on a wide screen. */
.wtp-td-pick { display: contents; }
.wtp-td-pick-sel { display: none; width: 100%; max-width: 360px; height: 44px; margin: 6px 0 10px; padding: 0 40px 0 14px; font: inherit; font-size: 15px; font-weight: 600; color: var(--navy); border: 1px solid #d0d5dd; border-radius: 10px; -webkit-appearance: none; appearance: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%230f2b4a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center; }
.wtp-td-pick-btns { display: contents; }
.wtp-td-pick.always .wtp-td-pick-sel { display: block; }
.wtp-td-pick.always .wtp-td-pick-btns { display: none; }
@media (max-width: 640px) {
  .wtp-td-pick { display: block; width: 100%; }
  .wtp-td-pick-sel { display: block; max-width: none; }
  .wtp-td-pick-btns { display: none; }
}
.wtp-td-mn-with { height: 44px; max-width: 360px; font-weight: 600; }
@media (max-width: 640px) { .wtp-td-mn-with { max-width: none; width: 100%; } }

/* 1.6.669 (Scott, 6 Nov 2026): Client setup. One line per step on a computer: tick, step and what the sheet said, status, note, check. A phone stacks them. */
.wtp-td .wtp-td-ssbox { border: 1px solid #eaecf0; border-radius: 10px; overflow: hidden; }
.wtp-td .wtp-td-ssrow { display: grid; grid-template-columns: 26px minmax(0, 1.5fr) 200px minmax(140px, 1fr) 200px; gap: 10px 12px; align-items: center; padding: 9px 12px; border-top: 1px solid #f2f4f7; }
.wtp-td .wtp-td-ssrow:first-child { border-top: 0; }
.wtp-td .wtp-td-ssrow.closed { background: #fcfcfd; }
.wtp-td .wtp-td-ssname { min-width: 0; overflow-wrap: anywhere; }
.wtp-td .wtp-td-ssl { font-size: 15px; color: #101828; }
.wtp-td .wtp-td-ssl.done { color: #667085; text-decoration: line-through; }
.wtp-td .wtp-td-ssrow.closed .wtp-td-ssl { color: #667085; }
.wtp-td .wtp-td-sssheet { font-size: 13px; color: #667085; margin-top: 2px; }
.wtp-td .wtp-td-sssheet.blank { font-style: italic; }
.wtp-td .select.wtp-td-sssel, .wtp-td .wtp-td-sssel { width: 100%; min-width: 0; box-sizing: border-box; font-size: 14px; min-height: 40px; }
.wtp-td .wtp-td-ssnote { width: 100%; min-width: 0; flex: none; box-sizing: border-box; min-height: 40px; font-size: 14px; }
.wtp-td .wtp-td-ssact { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; font-size: 13px; min-width: 0; }
@media (max-width: 900px) {
  .wtp-td .wtp-td-ssrow { grid-template-columns: 26px minmax(0, 1fr); }
  .wtp-td .wtp-td-sssel, .wtp-td .wtp-td-ssnote, .wtp-td .wtp-td-ssact { grid-column: 1 / -1; }
}

/* 1.6.671 (Scott, 6 Nov 2026): API page, two small drop-downs per client. */
.wtp-td .wtp-td-apidrops { display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 6px 0 2px; align-items: flex-start; }
.wtp-td .wtp-td-apidrop { flex: 0 1 220px; margin: 0; border: 1px solid #d5d9e0; border-radius: 8px; background: #fff; padding: 0 12px; }
.wtp-td .wtp-td-apidrop[open] { flex: 1 1 100%; padding-bottom: 10px; }
.wtp-td .wtp-td-apidrop > summary { padding: 10px 0; font-size: 15px; }
.wtp-td .wtp-td-apidrop > summary::before { content: ""; }
.wtp-td .wtp-td-apidrop > summary::after { content: " \25BE"; color: #667085; }
.wtp-td .wtp-td-apidrop[open] > summary::after { content: " \25B4"; }
.wtp-td .wtp-td-apidrop.ok > summary { color: #067647; }
.wtp-td .wtp-td-apidrop.bad > summary { color: #b42318; }
.wtp-td .wtp-td-apidrop .wtp-td-text, .wtp-td .wtp-td-apidrop .wtp-td-in { width: 100%; box-sizing: border-box; margin: 6px 0; }
.wtp-td .wtp-td-apidrop .wtp-td-manual-row { margin: 6px 0; }
@media (max-width: 640px) { .wtp-td .wtp-td-apidrop { flex: 1 1 100%; } }
.wtp-td .wtp-td-apidrop textarea.wtp-td-text { min-height: 60px; height: 60px; resize: vertical; }

/* 1.6.671 (Scott, 6 Nov 2026): Scott's status for the team on every tab. */
.wtp-td .wtp-td-sdstrip { margin: 0 0 10px; padding: 8px 14px; border-radius: 10px; border: 1px solid #d5d9e0; background: #f8fafc; color: #101828; box-sizing: border-box; }
.wtp-td .wtp-td-sdstrip.busy { background: #fef3f2; border-color: #fda29b; }
.wtp-td .wtp-td-sdstrip.free { background: #ecfdf3; border-color: #a6f4c5; }
.wtp-td .wtp-td-sdstrip.away { background: #f2f4f7; }
.wtp-td .wtp-td-sdstrip-t { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; font-size: 15px; }
.wtp-td .wtp-td-sdstrip.busy .wtp-td-sdstrip-t strong { color: #b42318; }
.wtp-td .wtp-td-sdstrip.free .wtp-td-sdstrip-t strong { color: #067647; }
.wtp-td .wtp-td-sdstrip-d { margin-top: 4px; }
.wtp-td .wtp-td-sdstrip-d > summary { cursor: pointer; font-size: 14px; color: #475467; padding: 4px 0; }
.wtp-td .wtp-td-sdstrip-l { list-style: none; margin: 2px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.wtp-td .wtp-td-sdstrip-l li { background: #fff; border: 1px solid #d5d9e0; border-radius: 999px; padding: 2px 10px; font-size: 13px; }
.wtp-td .wtp-td-sdstrip-l li.now { background: #fee4e2; border-color: #fda29b; font-weight: 600; }
.wtp-td .wtp-td-sdstrip-l li.past { color: #667085; text-decoration: line-through; }
.wtp-td .wtp-td-sday-stat { display: block; font-weight: 700; margin-top: 4px; }

/* 1.6.673 (the team, 6 Nov 2026: "they can't scroll all the way down and look at all the options" on the desktop version). The conversation pop-up was 92% of the window
   with overflow hidden, and the message area could not shrink below 30% of the window, so on a window about 700px tall or less the reply box and the buttons under it
   were cut off with no way to reach them. Now the message area can shrink to a small minimum and, if everything still does not fit, the pop-up itself scrolls. */
.wtp-td-modal { overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; }
.wtp-td-modal > * { flex-shrink: 0; }
.wtp-td-modal > .wtp-td-msgs { flex: 1 1 140px; min-height: 140px; }
@media (max-width: 640px) { .wtp-td-modal > .wtp-td-msgs { flex: 1 1 0; min-height: 0; } }
/* 1.6.679: Minut battery % (the shared badge is blue unless red, so the battery has its own three colours) */
.wtp-td-bat { display: inline-block; border-radius: 999px; padding: 2px 9px; margin-left: 4px; font-size: 12px; font-weight: 700; line-height: 1.5; color: #fff; white-space: nowrap; }
.wtp-td-bat.red { background: var(--red); }
.wtp-td-bat.amber { background: var(--amber); }
.wtp-td-bat.green { background: var(--green); }

.wtp-td .wtp-td-sw-hit { font-size: 14px; line-height: 1.4; margin: 8px 0 0; padding: 8px 10px; background: #eaf6ee; border-left: 4px solid #15803d; border-radius: 6px; color: #14532d; font-weight: 600; } /* 1.6.683: the number said on the call matches one HubSpot person */
.wtp-td .wtp-td-sw-hit.dup { background: #fff4d6; border-left-color: #e0a800; color: #5c4400; }

/* 1.6.683: the lunchtime check (one open item at a time, "3 of 30"). Uses the Overview pop-up frame. */
.wtp-td .wtp-td-lunch { z-index: 100001; }
.wtp-td .wtp-td-lunch-n { font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--navy-2, #17395d); text-transform: uppercase; margin-bottom: 4px; }
.wtp-td .wtp-td-lunch-intro { margin: 0 0 10px; color: #4b5563; font-size: 14px; line-height: 1.4; }
.wtp-td .wtp-td-lunch-card { background: #fff; border: 1px solid var(--line, #e4e7ec); border-left: 5px solid #94a3b8; border-radius: 12px; padding: 12px 14px; margin-bottom: 12px; display: flex; flex-direction: column; gap: 6px; }
.wtp-td .wtp-td-lunch-card.red { border-left-color: #d92d20; }
.wtp-td .wtp-td-lunch-t { font-size: 18px; line-height: 1.3; color: #101828; }
.wtp-td .wtp-td-lunch-sub { margin: 0; font-size: 14px; line-height: 1.4; color: #475467; }
.wtp-td .wtp-td-lunch-btns { display: flex; flex-direction: column; gap: 8px; }
.wtp-td .wtp-td-lunch-b { width: 100%; min-height: 46px; justify-content: center; text-align: left; white-space: normal; }
.wtp-td .wtp-td-lunch-b.same { background: #eaf6ee; color: #0b5d2a; border: 1px solid #9bd3ad; }
.wtp-td .wtp-td-lunch-later { margin-top: 12px; background: none; border: 0; color: #667085; text-decoration: underline; font-size: 14px; cursor: pointer; padding: 6px 0; }

/* 1.6.683: damage claim stage + receipt question */
.wtp-td .wtp-td-dmg { margin: 8px 0; padding: 8px 10px; background: #f1f5f9; border-radius: 10px; display: flex; flex-direction: column; gap: 6px; }
.wtp-td .wtp-td-dmg-l { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #475467; }
.wtp-td .wtp-td-dmgsel { max-width: 100%; }
.wtp-td .wtp-td-dmgq { margin: 8px 0; padding: 10px; background: #fff8e6; border: 1px solid #f0d58a; border-radius: 10px; display: flex; flex-direction: column; gap: 6px; }

/* 1.6.685: the stop-everything pop-up shows how long the item has been sitting there. */
.wtp-td .wtp-td-clr-age.old { color: #b42318; font-weight: 700; }

/* 1.6.692: Approve tab buttons */
.wtp-td-actions { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.wtp-td-actions .wtp-td-btn { min-width: 120px; }

/* 1.6.705: OwnerRez payment failed box on the API integration page */
.wtp-td-orrow{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:6px 0}
.wtp-td-orrow .wtp-td-sel,.wtp-td-orrow .wtp-td-in{min-width:180px;flex:1 1 180px}

/* 1.6.709: Team hours table (Team times tab). */
.wtp-td .wtp-td-hrs-row { display: grid; grid-template-columns: 52px 1fr 1fr 1fr; gap: 6px; align-items: center; padding: 6px 0; border-top: 1px solid var(--line-2); }
.wtp-td .wtp-td-hrs-row.today { background: rgba(22, 142, 199, .08); border-radius: 8px; }
.wtp-td .wtp-td-hrs-head { font-size: 12px; font-weight: 700; color: var(--muted, #667); border-top: 0; margin-top: 8px; }
.wtp-td .wtp-td-hrs-in { width: 100%; min-width: 0; min-height: 44px; box-sizing: border-box; font-size: 16px; }
.wtp-td .wtp-td-hrs-t { font-size: 16px; }
.wtp-td .wtp-td-hrs-acts { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }

/* 1.6.711: Forgot to tap? Fix my time */
.wtp-td .wtp-td-fix { margin-top: 10px; font-size: 14px; text-align: left; }
.wtp-td .wtp-td-fix summary { cursor: pointer; color: #0f6a96; font-weight: 600; line-height: 1.35; min-height: 32px; }
.wtp-td .wtp-td-fix-tabs { display: flex; gap: 8px; margin: 10px 0 8px; flex-wrap: wrap; }
.wtp-td .wtp-td-fix-tab { flex: 1 1 140px; min-height: 44px; padding: 8px 12px; border-radius: 10px; border: 1px solid #d0d5dd; background: #fff; color: inherit; font: inherit; font-weight: 600; cursor: pointer; }
.wtp-td .wtp-td-fix-tab.on { background: #0f6a96; border-color: #0f6a96; color: #fff; }
.wtp-td .wtp-td-fix-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.wtp-td .wtp-td-fix-l { display: grid; gap: 4px; font-weight: 600; font-size: 13px; }
.wtp-td .wtp-td-fix-form .wtp-td-in { width: 100%; min-width: 0; min-height: 44px; box-sizing: border-box; font-size: 16px; }
.wtp-td .wtp-td-fix-err { margin-top: 8px; font-weight: 700; color: #b3302c; }
.wtp-td .wtp-td-adjtag { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 999px; background: #b54708; color: #fff; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.wtp-td .wtp-td-adjrow { font-size: 12px; opacity: .9; }

/* 1.6.712: a day that looks wrong */
.wtp-td .wtp-td-chkchip { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 999px; background: #b3302c; color: #fff; font-size: 11.5px; font-weight: 700; white-space: nowrap; }

/* 1.6.714: the Work through everything button at the top of the Overview (a full-width row under the number). */
.wtp-td-otsum { flex-wrap: wrap; }
.wtp-td .wtp-td-wtebtn { flex: 1 1 100%; min-height: 48px; font-size: 16px; font-weight: 700; justify-content: center; text-align: center; white-space: normal; }

/* 1.6.715: the After-hours messages button (Overview) and pop-up. */
.wtp-td .wtp-td-ahbtn { flex: 1 1 100%; min-height: 48px; font-size: 16px; font-weight: 700; justify-content: center; text-align: center; white-space: normal; background: #fff !important; color: #17395d !important; border: 2px solid #17395d !important; }
.wtp-td .wtp-td-ahbtn.out { background: #b42318 !important; color: #fff !important; border-color: #b42318 !important; }
.wtp-td .wtp-td-ahpop, .wtp-td.is-desk > .wtp-td-ahpop { z-index: 100001; }
.wtp-td .wtp-td-ahcard { background: #fff; border: 1px solid var(--line, #e4e7ec); border-radius: 12px; padding: 12px; margin: 0 0 12px; }
.wtp-td .wtp-td-ahtxt { width: 100%; box-sizing: border-box; padding: 10px; font-size: 15px; line-height: 1.45; border-radius: 10px; border: 1px solid var(--line, #d0d5dd); background: #f9fafb; color: #17395d; resize: vertical; min-height: 120px; font-family: inherit; }

/* 1.6.745: Block dates pop-up */
#wtp-td-blocksheet .wtp-td-in { display: block; width: 100%; max-width: 420px; margin: 4px 0 14px; }
#wtp-td-blocksheet label { display: block; margin-top: 6px; }
.wtp-td-calsheet .wtp-td-calline.ok { color: #1a7f37; font-weight: 700; }
.wtp-td-calsheet .wtp-td-calline.bad { color: #b42318; font-weight: 700; }
#wtp-td-blocksheet .wtp-td-btn { margin: 8px 0; }

/* 1.6.796: how long a row has waited */
.wtp-td .wtp-td-ndsub.wtp-td-ndwait { display: block; margin-top: 2px; font-size: 12px; font-weight: 700; color: #92400e; }
.wtp-td .wtp-td-cmwait { flex: 0 0 auto; font-size: 12px; font-weight: 700; color: #92400e; white-space: nowrap; }
@media (max-width: 640px) {
  .wtp-td button.wtp-td-cmrow { grid-template-areas: "who go" "txt txt" "wait wait"; }
  .wtp-td .wtp-td-cmwait { grid-area: wait; white-space: normal; }
}

/* 1.6.798: the small pop-up after a tap on Scott's Minut notice */
.wtp-td-ackov .wtp-td-ask-h { color: var(--green, #1c7c3c); }

/* 1.6.799: the refund card, one box per night */
.wtp-td .wtp-td-rbrow { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.wtp-td .wtp-td-rbn { flex: 1 1 78px; max-width: 118px; min-width: 78px; border: 1px solid #d5dbe3; border-radius: 10px; padding: 6px 6px 7px; text-align: center; background: #fff; font: inherit; color: inherit; line-height: 1.25; box-sizing: border-box; }
.wtp-td .wtp-td-rbn-d { font-weight: 800; font-size: 13px; }
.wtp-td .wtp-td-rbn-s { font-size: 11px; font-weight: 800; letter-spacing: .02em; margin-top: 2px; }
.wtp-td .wtp-td-rbn-p { font-size: 12px; opacity: .85; }
.wtp-td .wtp-td-rbn.empty { background: #f3f4f6; border-style: dashed; color: #6b7280; }
.wtp-td .wtp-td-rbn.rebooked { background: #e8f6ee; border-color: #2f9e63; color: #14472a; cursor: pointer; }
.wtp-td .wtp-td-rbn.refunded { background: #e8eefc; border-color: #5b7fd6; color: #2d3b66; }
.wtp-td .wtp-td-rbn-x { font-size: 12px; font-weight: 800; }
.wtp-td .wtp-td-rbn-x.down { color: #b3261e; }
.wtp-td .wtp-td-rbn-x.same { color: #2f7d52; }
.wtp-td .wtp-td-rbn-ask { font-size: 11px; font-weight: 700; color: #a15c00; }
.wtp-td .wtp-td-rbl { margin: 3px 0; }
.wtp-td .wtp-td-rbperm { margin: 6px 0; padding: 8px 10px; border-radius: 8px; background: #fdecea; color: #8c1d18; font-weight: 800; font-size: 14px; line-height: 1.35; }

/* 1.6.809: the Info inbox */
.wtp-td .wtp-td-ib-opt { border-radius: 12px; padding: 12px; margin: 10px 0; box-sizing: border-box; }
.wtp-td .wtp-td-ib-opt.yes { background: #eefaf1; border: 2px solid #2e9d4f; }
.wtp-td .wtp-td-ib-opt.no { background: #fdf0ee; border: 2px solid #d9534f; }
.wtp-td .wtp-td-ib-opt.own, .wtp-td .wtp-td-ib-opt.tidy { background: #e8f4fb; border: 2px solid #168ec7; }
.wtp-td .wtp-td-ib-kind { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 1px; padding: 2px 8px; border-radius: 999px; vertical-align: middle; }
.wtp-td .wtp-td-ib-kind.agent { background: #e8f4fb; color: #0f6fa0; }
.wtp-td .wtp-td-ib-kind.client { background: #eefaf1; color: #1f7a3b; }
.wtp-td .wtp-td-ib-kind.other { background: #eceff3; color: #4b5563; }
.wtp-td .wtp-td-ib-lab { font-size: 13px; letter-spacing: 1px; font-weight: 700; color: #17395d; margin: 0 0 6px; }
.wtp-td .wtp-td-ib-opt .wtp-td-in { font-size: 16px; line-height: 22px; width: 100%; box-sizing: border-box; }
.wtp-td .wtp-td-ib-out { font-size: 16px; line-height: 22px; color: #17395d; background: #f1f4f8; border-left: 4px solid #17395d; padding: 8px 10px; margin: 4px 0 8px; border-radius: 6px; white-space: pre-wrap; word-break: break-word; }
/* 1.6.822 (Scott, 15 Nov 2026): the Overview rebuilt: Today's list at the top, one labelled section per group under it. */
.wtp-td .tone-red { --sc: #b91c1c; --sb: #fef3f2; }
.wtp-td .tone-orange { --sc: #ea580c; --sb: #fff7ed; }
.wtp-td .tone-blue { --sc: #1384bd; --sb: #e8f3fa; }
.wtp-td .tone-indigo { --sc: #4f46e5; --sb: #eef2ff; }
.wtp-td .tone-slate { --sc: #475467; --sb: #f2f4f7; }
.wtp-td .tone-purple { --sc: #7c3aed; --sb: #f5f3ff; }
.wtp-td .tone-green { --sc: #079455; --sb: #ecfdf3; }
.wtp-td .tone-teal { --sc: #0e7490; --sb: #ecfeff; }
.wtp-td .wtp-td-dash { margin: 0 0 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.wtp-td .wtp-td-dash-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 16px 18px; background: var(--navy-2); color: #fff; }
.wtp-td .wtp-td-dash.clear .wtp-td-dash-top { background: #067647; }
.wtp-td .wtp-td-dash-big { font-size: 46px; font-weight: 800; line-height: 1; min-width: 58px; color: #fff; }
.wtp-td .wtp-td-dash-tt { display: flex; flex-direction: column; gap: 2px; flex: 1 1 200px; min-width: 0; }
.wtp-td .wtp-td-dash-tt strong { font-size: 20px; line-height: 1.2; color: #fff; }
.wtp-td .wtp-td-dash-tt span { font-size: 14px; color: #cfe3f5; }
.wtp-td .wtp-td-dash-btns { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 14px 4px; }
.wtp-td .wtp-td-dash-btns .wtp-td-btn { flex: 1 1 240px; }
.wtp-td .wtp-td-dash-rows { padding: 8px 0 0; }
.wtp-td button.wtp-td-dashrow { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 62px; padding: 10px 14px; margin: 0; background: #fff !important; color: var(--ink) !important; border: 0 !important; border-top: 1px solid var(--line-2) !important; border-left: 8px solid var(--sc) !important; border-radius: 0 !important; text-align: left; cursor: pointer; box-shadow: none !important; font-size: 16px; line-height: 1.3; }
.wtp-td button.wtp-td-dashrow:hover, .wtp-td button.wtp-td-dashrow:active { background: var(--sb) !important; }
.wtp-td .wtp-td-dashn { flex: 0 0 auto; min-width: 44px; height: 44px; padding: 0 10px; border-radius: 999px; background: var(--sc); color: #fff; font-size: 20px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.wtp-td .wtp-td-dashtx { display: flex; flex-direction: column; gap: 1px; min-width: 0; flex: 1 1 auto; }
.wtp-td .wtp-td-dashtx strong { font-size: 16px; font-weight: 800; color: var(--ink); }
.wtp-td .wtp-td-dashtx span { font-size: 13px; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wtp-td .wtp-td-dashgo { flex: 0 0 auto; font-size: 26px; color: var(--ink-3); line-height: 1; }
.wtp-td .wtp-td-dash-zero { padding: 10px 16px 12px; font-size: 13px; color: var(--green-ink); border-top: 1px solid var(--line-2); background: var(--green-bg); }
.wtp-td details.wtp-td-sec { margin: 0 0 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); border-left: 8px solid var(--sc); box-shadow: var(--shadow); overflow: hidden; scroll-margin-top: 110px; }
.wtp-td details.wtp-td-sec > summary.wtp-td-sec-sum { display: flex; align-items: center; gap: 12px; padding: 12px 14px; min-height: 62px; cursor: pointer; list-style: none; background: var(--sb); }
.wtp-td details.wtp-td-sec > summary.wtp-td-sec-sum::-webkit-details-marker { display: none; }
.wtp-td details.wtp-td-sec > summary.wtp-td-sec-sum::before { content: none; }
.wtp-td .wtp-td-sec-n { flex: 0 0 auto; min-width: 40px; height: 40px; padding: 0 10px; border-radius: 999px; background: var(--sc); color: #fff; font-size: 18px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.wtp-td .wtp-td-sec-n.dot { background: transparent; color: var(--sc); font-size: 28px; }
.wtp-td .wtp-td-sec-tx { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 auto; }
.wtp-td .wtp-td-sec-t { font-size: 18px; font-weight: 800; color: var(--ink); line-height: 1.2; }
.wtp-td .wtp-td-sec-help { font-size: 13px; color: var(--ink-2); line-height: 1.35; }
.wtp-td .wtp-td-sec-chev { flex: 0 0 auto; }
.wtp-td .wtp-td-sec-chev::after { content: "\25BE"; font-size: 20px; color: var(--ink-3); }
.wtp-td details.wtp-td-sec[open] > summary .wtp-td-sec-chev::after { content: "\25B4"; }
.wtp-td .wtp-td-secbody { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 10px; }
.wtp-td .wtp-td-secbody > * { margin-top: 0; margin-bottom: 0; }
.wtp-td .wtp-td-secbody .wtp-td-blk { margin: 0; }
.wtp-td .wtp-td-secbody .wtp-td-urgent-banner { margin-bottom: 0; }
.wtp-td .wtp-td-secbody .wtp-td-tdgroup { margin: 0; }
.wtp-td details.wtp-td-sec.wtp-td-flash { animation: wtpTdFlash 1.5s ease-out 1; }
.wtp-td .wtp-td-ndlist { display: flex; flex-direction: column; gap: 8px; }
.wtp-td .wtp-td-ndlist > .wtp-td-ndrow { margin: 0; }
@media (min-width: 760px) { .wtp-td .wtp-td-ndlist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } .wtp-td .wtp-td-ndlist > .wtp-td-ndgroup { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .wtp-td .wtp-td-ndlist { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.wtp-td .wtp-td-rtgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.wtp-td button.wtp-td-rtchip { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 12px; min-height: 54px; background: #fff !important; color: var(--ink) !important; border: 1px solid var(--line) !important; border-left: 5px solid #079455 !important; border-radius: 10px !important; text-align: left; cursor: pointer; box-shadow: none !important; font-size: 15px; line-height: 1.3; }
.wtp-td button.wtp-td-rtchip span { font-size: 13px; color: var(--ink-3); }
.wtp-td .wtp-td-ovheld { margin: 4px 0 18px; padding: 10px 14px; border: 1px dashed var(--line); border-radius: 12px; background: #fff; }
.wtp-td .wtp-td-ovheld > summary { color: var(--ink-2); }



/* 1.6.823 (Scott, 15 Nov 2026: "go through every tab one at a time and keep making it look better"). */
/* Search boxes: the old phone rule pushed every search box 16px in on both sides, so it sat narrower than the card or the dropdown above it. */
@media (max-width: 640px) {
  .wtp-td.is-desk > input[type=search].wtp-td-in { margin: 0 auto 10px !important; width: calc(100% - 32px) !important; }
  .wtp-td.is-desk > * input[type=search].wtp-td-in { margin: 0 0 10px !important; width: 100% !important; box-sizing: border-box; }
}
/* A visible name above each filter dropdown. */
.wtp-td .wtp-td-pick-lab { display: none; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin: 8px 0 -2px; }
.wtp-td .wtp-td-pick.always .wtp-td-pick-lab { display: block; }
@media (max-width: 640px) { .wtp-td .wtp-td-pick-lab { display: block; } }
/* Clients: Open, Edit and View as client up front; everything else under one fold. */
.wtp-td .wtp-td-cl-acts { justify-content: flex-start; align-items: center; flex: 1 1 100%; }
.wtp-td .wtp-td-cl-acts > .wtp-td-btn { flex: 0 0 auto; }
.wtp-td .wtp-td-cl-more { flex: 1 1 100%; border-top: 1px solid var(--line-2); padding-top: 8px; margin-top: 2px; }
.wtp-td .wtp-td-cl-more > summary { cursor: pointer; list-style: none; font-size: 14px; font-weight: 700; color: var(--blue-ink, #0f6a96); padding: 6px 0; }
.wtp-td .wtp-td-cl-more > summary::-webkit-details-marker { display: none; }
.wtp-td .wtp-td-cl-more > summary::after { content: " \25BE"; }
.wtp-td .wtp-td-cl-more[open] > summary::after { content: " \25B4"; }
.wtp-td .wtp-td-cl-morebtns { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; padding-top: 6px; }
.wtp-td .wtp-td-cl-morebtns .wtp-td-btn { width: 100%; justify-content: center; text-align: center; white-space: normal; }
/* Emails: a short heading and chips for the counts. */
.wtp-td .wtp-td-mailhead { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 4px; }
.wtp-td .wtp-td-mailhead .wtp-td-h { font-size: 18px; font-weight: 800; }
.wtp-td .wtp-td-mchips { display: flex; flex-wrap: wrap; gap: 6px; }
.wtp-td .wtp-td-mchip { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; background: var(--bg, #f2f4f7); color: var(--ink-2); border: 1px solid var(--line); }
.wtp-td .wtp-td-mchip.amber { background: var(--amber-bg, #fffaeb); color: #93370d; border-color: #fedf89; }
.wtp-td .wtp-td-mchip.green { background: var(--green-bg, #ecfdf3); color: var(--green-ink, #067647); border-color: #abefc6; }
.wtp-td .wtp-td-mchip.red { background: #fef3f2; color: #912018; border-color: #fecdca; }


/* 1.6.824 (Scott, 15 Nov 2026): Inventory in one section per property. */
.wtp-td .wtp-td-invchip { display: inline-flex; align-items: center; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; margin-right: 8px; background: #fffaeb; color: #93370d; border: 1px solid #fedf89; }
.wtp-td .wtp-td-invchip.empty { background: #fef3f2; color: #912018; border-color: #fecdca; }
.wtp-td .wtp-td-invrow .wtp-td-opp-top { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; }
.wtp-td .wtp-td-invsum { margin: 4px 0 12px; }
.wtp-td .wtp-td-card > details.wtp-td-sec { margin-left: 0; margin-right: 0; }


/* 1.6.825 (Scott, 15 Nov 2026): Team Board in Urgent / Semi-urgent / Not urgent groups, each job short with its notes in a Details fold. */
.wtp-td .wtp-td-bdhead { display: flex; align-items: center; gap: 10px; margin: 18px 0 8px; padding: 8px 12px; border-radius: 10px; background: var(--sb); border-left: 5px solid var(--sc); color: var(--navy); font-size: 16px; }
.wtp-td .wtp-td-bdn { flex: 0 0 auto; min-width: 32px; height: 32px; padding: 0 9px; border-radius: 999px; background: var(--sc); color: #fff; font-size: 15px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.wtp-td .wtp-td-bdfirst { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.wtp-td .wtp-td-bdet { margin: 6px 0; }
.wtp-td .wtp-td-bdet > .wtp-td-foldsum { font-size: 14px; font-weight: 700; }


/* 1.6.825 (Scott, 15 Nov 2026): the probation OK card says in plain words what the person did and why. */
.wtp-td .wtp-td-pbdid { margin: 6px 0 4px; font-size: 15px; line-height: 1.45; font-weight: 600; white-space: pre-wrap; word-break: break-word; }
.wtp-td .wtp-td-pbmore { margin: 6px 0 8px; }
.wtp-td .wtp-td-pbmore > summary { cursor: pointer; font-size: 14px; font-weight: 700; padding: 6px 0; text-decoration: underline; }
.wtp-td .wtp-td-pbln { margin: 4px 0; font-size: 14px; line-height: 1.45; }
.wtp-td .wtp-td-pbraw { opacity: .75; font-size: 12.5px; word-break: break-word; }


/* 1.6.827 (Scott, 15 Nov 2026): Cleaners tab in folded sections. */
.wtp-td .wtp-td-secbody .wtp-td-crow .wtp-td-cl-more { margin-top: 0; }
.wtp-td .wtp-td-secbody > .wtp-td-manual { margin-top: 0; padding-top: 0; border-top: 0; }
.wtp-td .wtp-td-secbody .wtp-td-clist .wtp-td-crow:last-child { border-bottom: 0; }


/* 1.6.830 (Scott, 15 Nov 2026): Client onboarding, one folded line per client. */
.wtp-td .wtp-td-onbfold { border: 1px solid #e4e7ec; border-radius: 12px; margin: 0 0 8px; background: #fff; overflow: hidden; }
.wtp-td .wtp-td-onbfold[open] { border-color: #84caff; box-shadow: 0 1px 3px rgba(16, 24, 40, .08); }
.wtp-td .wtp-td-onbsum { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; cursor: pointer; list-style: none; }
.wtp-td .wtp-td-onbsum::-webkit-details-marker { display: none; }
.wtp-td .wtp-td-onbmain { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.wtp-td .wtp-td-onbmain strong { font-size: 16px; color: #101828; }
.wtp-td .wtp-td-onbnext { font-size: 14px; color: #b54708; font-weight: 600; }
.wtp-td .wtp-td-onbfold.complete .wtp-td-onbnext { color: #067647; }
.wtp-td .wtp-td-onbbar { display: block; height: 6px; border-radius: 99px; background: #f2f4f7; overflow: hidden; margin-top: 3px; }
.wtp-td .wtp-td-onbfill { display: block; height: 6px; border-radius: 99px; background: #079455; }
.wtp-td .wtp-td-onbpct { flex: none; font-size: 14px; font-weight: 700; color: #475467; background: #f2f4f7; border-radius: 999px; padding: 4px 10px; }
.wtp-td .wtp-td-onbpct.ok { background: #ecfdf3; color: #067647; }
.wtp-td .wtp-td-onbfold > div { border: 0 !important; box-shadow: none !important; border-radius: 0 !important; margin: 0 !important; border-top: 1px solid #e4e7ec !important; }


/* 1.6.832 (Scott, 15 Nov 2026: "so easy to read via desktop, via mobile phone ... every single side of it"): Client setup.
   A step is ONE line on a phone (tick, step, status); tap it to open the status, the note and Looks right. On a desktop the five columns stay. */
.wtp-td .wtp-td-sstag, .wtp-td .wtp-td-sschev { display: none; }
.wtp-td .wtp-td-ssedit { display: contents; }
.wtp-td .wtp-td-ssclaude { margin: 8px 0 14px; border: 1px solid #d5d9e0; border-left: 4px solid #17395d; border-radius: 10px; background: #fff; padding: 0 14px; }
.wtp-td .wtp-td-ssclaude > summary { cursor: pointer; min-height: 46px; display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; color: #17395d; list-style: none; }
.wtp-td .wtp-td-ssclaude > summary::-webkit-details-marker { display: none; }
.wtp-td .wtp-td-ssclaude > summary::after { content: '\25be'; margin-left: auto; color: #667085; }
.wtp-td .wtp-td-ssclaude[open] > summary::after { content: '\25b4'; }
.wtp-td .wtp-td-ssclaude p { font-size: 15px; line-height: 1.5; margin: 0 0 12px; color: #344054; }
@media (max-width: 900px) {
  .wtp-td .wtp-td-ssrow { grid-template-columns: 30px minmax(0, 1fr); gap: 8px 10px; padding: 13px 12px; align-items: start; }
  .wtp-td .wtp-td-ssrow > button { margin-top: 1px; }
  .wtp-td .wtp-td-ssname { cursor: pointer; grid-column: 2; }
  .wtp-td .wtp-td-sstag { display: flex; align-items: center; justify-content: space-between; gap: 6px; cursor: pointer; grid-column: 2; min-height: 32px; }
  .wtp-td .wtp-td-sschev { display: inline; color: #667085; font-size: 14px; transition: transform .15s; }
  .wtp-td .wtp-td-ssrow.open .wtp-td-sschev { transform: rotate(180deg); }
  .wtp-td .wtp-td-ssedit { display: none; grid-column: 1 / -1; }
  .wtp-td .wtp-td-ssrow.open .wtp-td-ssedit { display: grid; gap: 8px; padding-top: 4px; }
  .wtp-td .wtp-td-ssedit .wtp-td-sssel, .wtp-td .wtp-td-ssedit .wtp-td-ssnote, .wtp-td .wtp-td-ssedit .wtp-td-ssact { grid-column: auto; }
  .wtp-td .wtp-td-ssl { font-size: 16px; line-height: 1.35; }
  .wtp-td .wtp-td-sschev { font-size: 16px; padding: 0 4px; }
  .wtp-td .wtp-td-sssheet { font-size: 14px; line-height: 1.35; }
}
/* 1.6.832: phone, every tab: small print and small buttons are the hardest things to read and hit. */
@media (max-width: 640px) {
  .wtp-td .wtp-td-note, .wtp-td .wtp-td-mini { font-size: 14px; }
  .wtp-td .wtp-td-btn.small { min-height: 40px; }
  .wtp-td .wtp-td-mvk { font-size: 12px; }
  .wtp-td .wtp-td-rrow.head { font-size: 13px; }
}


/* 1.6.834 (Scott, 15 Nov 2026: "so easy to read via desktop, via mobile phone ... every single side of it"). Tab-by-tab phone fixes. */
/* Yes / No / Not yet buttons never split a word ("Good experi ence"); a row of four goes two by two on a phone. */
.wtp-td .wtp-td-segbtn { overflow-wrap: normal !important; word-break: normal !important; hyphens: none; }
@media (max-width: 640px) {
  .wtp-td .wtp-td-segrow { flex-wrap: wrap !important; }
  .wtp-td .wtp-td-segrow:has(> .wtp-td-segbtn:nth-child(4)) > .wtp-td-segbtn { flex: 1 1 calc(50% - 4px) !important; }
  /* Team times: the times were cut to "08:(". */
  .wtp-td .wtp-td-hrs-row { grid-template-columns: 40px repeat(3, minmax(0, 1fr)); gap: 4px; }
  .wtp-td input.wtp-td-hrs-in { padding: 0 4px !important; font-size: 15px; text-align: center; }
  .wtp-td .wtp-td-hrs-in::-webkit-calendar-picker-indicator { display: none; }
  .wtp-td .wtp-td-hrs-head { font-size: 12px; line-height: 1.2; }
  /* Calendar: month arrows big enough to hit. */
  .wtp-td .wtp-td-calnav .wtp-td-btn.small { min-height: 44px; min-width: 44px; }
  .wtp-td .wtp-td-calnav .wtp-td-btn[aria-label] { font-size: 22px; line-height: 1; }
  /* Money and count tiles: labels readable. */
  .wtp-td .wtp-td-rstat-l, .wtp-td .wtp-td-billstats .wtp-td-rstat-l { font-size: 13px; }
  /* I am working / not working: same buttons, less screen. */
  .wtp-td .wtp-td-wsw-card { padding: 8px 10px; margin-bottom: 10px; }
  .wtp-td button.wtp-td-wsw, .wtp-td button.wtp-td-wsw:hover, .wtp-td button.wtp-td-wsw:focus { min-height: 44px; padding: 6px 8px; font-size: 15px; }
  .wtp-td .wtp-td-wsw-sched { margin-top: 4px; font-size: 13px; }
}

/* 1.6.836 (Scott, 15 Nov 2026, every tab easy to read on a phone). */
@media (max-width: 640px) {
  /* A label sits beside its own box, not dangling at the end of the line above it (New people: Day / Start / Minutes). */
  .wtp-td .wtp-td-orrow:has(> label) { display: grid !important; grid-template-columns: auto minmax(0, 1fr); gap: 8px 10px; align-items: center; }
  .wtp-td .wtp-td-orrow:has(> label) > label { margin: 0; white-space: nowrap; }
  .wtp-td .wtp-td-orrow:has(> label) > input, .wtp-td .wtp-td-orrow:has(> label) > select { width: 100%; max-width: none !important; margin: 0; }
  /* Filter drop-downs two to a row (Clean reports had four full-width ones). */
  .wtp-td .wtp-td-manual-row:has(> select ~ select) { display: grid !important; grid-template-columns: 1fr 1fr; gap: 8px; }
  .wtp-td .wtp-td-manual-row:has(> select ~ select) > select { width: 100%; min-width: 0; font-size: 15px; }
}

/* 1.6.837: the lead reviewer's must-check pop-up (no close button; it goes when every item is approved or sent back). */
.wtp-td .wtp-td-pbblock { position: fixed !important; z-index: 100000; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(560px, calc(100vw - 24px)) !important; max-height: calc(100vh - 40px); overflow: auto; margin: 0 !important; box-sizing: border-box; box-shadow: 0 0 0 100vmax rgba(16, 24, 40, .6), 0 20px 50px rgba(0, 0, 0, .35) !important; }
body:has(.wtp-td-pbblock) { overflow: hidden; }

/* 1.6.840: After-call cards (Waiting on Scott). */
.wtp-td .wtp-td-ac-box { background: #f4f8fb; border: 1px solid #d5e3ee; border-radius: 8px; padding: 10px 12px; margin: 4px 0 8px; display: flex; flex-direction: column; gap: 8px; }
.wtp-td .wtp-td-ac-box .wtp-td-in { min-height: 44px; font-size: 16px; }
.wtp-td .wtp-td-ac-line { font-size: 16px; line-height: 22px; color: #17395d; font-weight: 600; background: #fff; border: 1px dashed #168ec7; border-radius: 6px; padding: 8px 10px; user-select: all; -webkit-user-select: all; }
.wtp-td .wtp-td-sw-btns .wtp-td-btn.on { box-shadow: inset 0 0 0 2px #17395d; }

/* 1.6.856 (Scott, 16 Nov 2026: "there must be a way for you to condense mobile view and even the header ... I need to see the current call up the top"):
   a slimmer header on phones, the date line and "signed in as" text dropped (Sign out stays), and on Calls and meetings the title and "Only you can see this page"
   share one line. The Meetings-only address (?view=meetings) has no tab strip, so the calls start right under the header. */
@media (max-width:640px){
  .wtp-td .wtp-td-top{padding:8px 12px 6px !important;gap:6px !important}
  .wtp-td .wtp-td-top h2{font-size:16px !important;margin:0 !important;line-height:1.2}
  .wtp-td .wtp-td-top > div:first-child .wtp-td-sub{display:none}
  .wtp-td .wtp-td-top > div:first-child{display:flex;align-items:center;justify-content:space-between;width:100%}
  .wtp-td .wtp-td-top-right{gap:6px !important}
  .wtp-td .wtp-td-top-right .wtp-td-btn{min-height:34px !important;padding:4px 10px !important;font-size:13px !important}
  .wtp-td .wtp-td-top-right .wtp-td-badge.big{font-size:12px !important;padding:4px 10px !important}
  .wtp-td .wtp-td-signedin > .wtp-td-sub{display:none}
  .wtp-td .wtp-td-navrow{padding:4px 12px 2px !important}
  .wtp-td-meetonly .wtp-td-navrow{display:none !important}
  .wtp-td .wtp-td-mtg > .wtp-td-routine-top{flex-wrap:nowrap !important;align-items:baseline;gap:8px !important;padding-bottom:8px !important}
  .wtp-td .wtp-td-mtg > .wtp-td-routine-top .wtp-td-h{font-size:17px;white-space:nowrap}
  .wtp-td .wtp-td-mtg > .wtp-td-routine-top .wtp-td-sub{font-size:12px;text-align:right;margin-left:auto}
  .wtp-td .wtp-td-mtg{padding-top:12px}
}

/* 1.6.860 (Scott, 16 Nov 2026, 12:44pm: "You haven't done anything for the phone version"): the 1.6.856 rules lost to stronger older rules, so these win (higher
   specificity + !important). Phone header in two short lines: Team Desk + bell + Refresh + Sign out, then the guest-message badge. On the Meetings-only address the
   working switch, the OwnerRez warning and the tab picker are hidden, so the calls are right under the header. Book a call / Private meeting sit side by side. */
@media (max-width:640px){
  .wtp-td.wtp-td .wtp-td-top{display:flex !important;flex-wrap:wrap !important;align-items:center !important;gap:6px 8px !important;padding:8px 12px 6px !important}
  .wtp-td.wtp-td .wtp-td-top > div:first-child{flex:1 1 auto !important;width:auto !important;order:0}
  .wtp-td.wtp-td .wtp-td-top h2{font-size:17px !important;margin:0 !important}
  .wtp-td.wtp-td .wtp-td-top-right{display:contents !important}
  .wtp-td.wtp-td .wtp-td-top-right > .wtp-td-badge{order:5 !important;flex:1 1 100% !important;font-size:12px !important;padding:3px 10px !important;text-align:center}
  .wtp-td.wtp-td .wtp-td-top-right .wtp-td-bell{order:1;width:36px !important;height:36px !important;min-height:36px !important;padding:0 !important}
  .wtp-td.wtp-td .wtp-td-top-right > .wtp-td-btn{order:2;min-height:34px !important;padding:4px 10px !important;font-size:13px !important}
  .wtp-td.wtp-td .wtp-td-who-note.wtp-td-signedin{order:3 !important;display:inline-flex !important;flex:0 0 auto !important;flex-basis:auto !important;gap:0 !important}
  .wtp-td.wtp-td .wtp-td-who-note.wtp-td-signedin .wtp-td-sub{display:none !important}
  .wtp-td.wtp-td .wtp-td-who-note.wtp-td-signedin .wtp-td-btn{min-height:34px !important;padding:4px 10px !important;font-size:13px !important}
  .wtp-td.wtp-td .wtp-td-navrow{padding:4px 12px 4px !important}
  #wtp-bk-row button{width:100% !important;min-height:46px !important;padding:8px 6px !important;font-size:14px !important;white-space:normal;line-height:1.2;margin:0 !important}
}
#wtp-bk-row button{width:100%;margin:0 !important}
.wtp-td-meetonly .wtp-td-wsw-card,.wtp-td-meetonly .wtp-td.is-desk > .wtp-td-banner,.wtp-td-meetonly .wtp-td-navrow{display:none !important}
