/* The team member's day (portal rethink stage 5; memberday.js). Drawn only for
   a member with CONFIG.MEMBER_DAY on, the owner previewing one through View as,
   and the owner's Settings › Wrap-up form. Every rule is scoped under .md (the
   tab bar's .md-plus and the sheet under their own ids) so nothing else
   changes. Built on today.css's .tt tokens. Red only for late. */
.md { --md-y: #F5C500; }
.md .md-card { background: var(--tt-card); border: 1px solid var(--tt-line); border-radius: 16px; box-sizing: border-box; }
.md .md-big { font-size: 30px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; margin: 0; }
.md .md-big.is-m { font-size: 26px; }
.md .md-sub { margin: 6px 0 22px; font-size: 16px; color: var(--tt-mute); }
.md .md-note { margin: 10px 2px 26px; font-size: 14px; color: var(--tt-mute); }
.md .md-status, .md .md-empty { margin: 14px 0; font-size: 14.5px; color: var(--tt-mute); }
.md .md-empty { padding: 4px 24px 8px; }
.md .md-late { color: var(--tt-red); font-weight: 600; font-style: normal; }
.md .md-ro { display: flex; align-items: center; gap: 8px; margin: 0 0 16px; padding: 10px 14px; border-radius: 12px; background: var(--tt-soft); font-size: 14px; color: var(--tt-ink); }
.md .md-cols { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.md .md-side { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.md .md-side .tt-card { margin: 0; }
.md .md-ch { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 20px 24px 6px; }
.md .md-ch h2 { margin: 0; font-size: 17px; font-weight: 600; }
.md .md-ch > span { font-size: 14px; color: var(--tt-mute); }
.md .md-csub { margin: 0; padding: 0 24px 6px; font-size: 14px; color: var(--tt-mute); }

/* buttons */
.md .md-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border: 1px solid var(--tt-line); border-radius: 10px;
  background: var(--tt-card); color: var(--tt-ink); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.md .md-btn.is-k { background: var(--tt-ink); border-color: var(--tt-ink); color: #fff; }
.md .md-btn.is-y { background: var(--md-y); border-color: var(--md-y); color: #111; }
.md .md-btn.is-soft { background: var(--tt-soft); border-color: var(--tt-soft); }
.md .md-btn.is-big { height: 50px; padding: 0 30px; font-size: 16px; }
.md .md-btn.is-sm { height: 34px; padding: 0 14px; font-size: 14px; }
.md .md-btn[disabled] { opacity: .5; cursor: default; }
.md .md-quiet { padding: 4px 0; border: 0; background: none; color: var(--tt-mute); font: inherit; font-size: 14px; cursor: pointer; }
.md .md-quiet.is-b { color: var(--tt-ink); font-weight: 600; }
.md .md-quiet.is-u { color: var(--tt-ink); text-decoration: underline; text-underline-offset: 3px; }
.md .md-quiet:disabled { opacity: .45; cursor: default; }

/* My day */
.md .md-day { padding-bottom: 6px; }
.md .md-group { padding: 4px 0 6px; }
.md .md-gh { display: flex; align-items: baseline; justify-content: space-between; padding: 14px 24px 6px; }
.md .md-gh h3 { margin: 0; font-size: 15.5px; font-weight: 600; }
.md .md-gh > span { font-size: 14px; color: var(--tt-mute); }
.md .md-row { display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 0 24px; border-top: 1px solid var(--tt-line2); }
.md .md-gh + .md-row { border-top: 0; }
.md .md-rt { flex: 1; min-width: 0; padding: 14px 0; border: 0; background: none; text-align: left; font: inherit; font-size: 16px; color: var(--tt-ink); cursor: pointer;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.md .md-row.is-late .md-rt { font-weight: 600; }
.md .md-row.is-done .md-rt { color: var(--tt-mute); text-decoration: line-through; }
.md .md-meta { display: inline-flex; align-items: center; gap: 6px; flex: none; font-size: 14px; color: var(--tt-mute); white-space: nowrap; }
.md .md-tick { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; padding: 0; border: 1.5px solid #BDBDB5; border-radius: 50%;
  background: #fff; color: transparent; cursor: pointer; }
.md .md-tick.is-on { background: var(--tt-ink); border-color: var(--tt-ink); color: #fff; }
.md .md-tick.is-ghost { border-style: dashed; cursor: default; }
.md .md-tick:disabled { cursor: default; }
.md .md-addrow { display: flex; align-items: center; gap: 12px; width: 100%; padding: 18px 24px; border: 0; border-top: 1px solid var(--tt-line2); background: none;
  font: inherit; font-size: 16px; color: var(--tt-mute); cursor: pointer; text-align: left; }
.md .md-addf { padding: 14px 24px 18px; border-top: 1px solid var(--tt-line2); }
.md .md-afr { display: flex; gap: 10px; margin-top: 10px; }
.md .md-afr select { flex: 1; min-width: 0; }
.md .md-in { box-sizing: border-box; width: 100%; height: 42px; padding: 0 12px; border: 1px solid var(--tt-line); border-radius: 10px; background: #fff; font: inherit; font-size: 15px; color: var(--tt-ink); }
.md textarea.md-in { height: auto; padding: 10px 12px; }
.md .md-in.is-big { height: 54px; border: 1.5px solid var(--tt-ink); font-size: 17px; }
.md .md-in.is-b { font-weight: 600; }

/* the clock */
.md .md-clock { padding: 20px 24px 22px; }
.md .md-clock.is-status { padding: 18px 22px; }
.md .md-cline { margin: 0; font-size: 15px; line-height: 1.45; }
.md .md-ckh { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.md .md-ckh b { font-size: 16.5px; }
.md .md-dot { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; color: var(--tt-mute); white-space: nowrap; }
.md .md-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #23A45A; }
.md .md-dot.is-break::before { background: #E08A00; }
.md .md-cbig { margin: 14px 0 2px; font-size: 46px; font-weight: 700; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.md .md-cmeta { margin: 6px 0 0; font-size: 14px; color: var(--tt-mute); }
.md .md-cbtns { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.md .md-cbtns .md-btn:only-child { grid-column: 1 / -1; }
.md .md-hero { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 22px; padding: 26px 28px; }
.md .md-hnow { margin: 0; font-size: 46px; font-weight: 700; letter-spacing: -.03em; line-height: 1.05; }
.md .md-hero .md-btn { min-width: 220px; }

/* waiting on me */
.md .md-wait { overflow: hidden; }
.md .md-wrow { display: flex; align-items: center; gap: 14px; padding: 14px 22px 16px 19px; border-top: 1px solid var(--tt-line2); border-left: 3px solid var(--tt-red); }
.md .md-wmain { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.md .md-wmain b { font-size: 15px; line-height: 1.35; }
.md .md-wmain span { font-size: 13.5px; color: var(--tt-mute); }
.md .md-wmain em { font-style: normal; }

/* Wrap-up so far */
.md .md-sf { padding-bottom: 4px; }
.md .md-sf h3 { margin: 12px 24px 4px; font-size: 14.5px; font-weight: 600; }
.md .md-sfl { display: flex; align-items: flex-start; gap: 10px; margin: 0; padding: 4px 24px; font-size: 15px; line-height: 1.4; }
.md .md-sfl svg, .md .md-wl > svg { flex: none; margin-top: 3px; color: #23A45A; }
.md .md-ok { display: inline-flex; align-items: center; gap: 6px; color: var(--tt-mute); font-size: 14px; }
.md .md-ok svg { color: #23A45A; }
.md .md-sffoot { display: flex; align-items: center; justify-content: space-between; margin: 12px 24px 10px; padding-top: 12px; border-top: 1px solid var(--tt-line2); font-size: 14px; color: var(--tt-mute); }

/* Tasks */
.md .md-thead { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; }
.md .md-ttitle { margin: 0; font-size: 30px; font-weight: 700; letter-spacing: -.02em; }
.md .md-sp { flex: 1; }
.md .md-seg { display: inline-flex; padding: 3px; border-radius: 10px; background: var(--tt-soft); }
.md .md-seg-o { height: 34px; padding: 0 16px; border: 0; border-radius: 8px; background: none; color: var(--tt-mute); font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; white-space: nowrap; }
.md .md-seg-o.is-on { background: var(--tt-card); color: var(--tt-ink); font-weight: 600; box-shadow: 0 0 0 .5px rgba(0,0,0,.12), 0 1px 2px rgba(0,0,0,.08); }
.md .md-tl { padding: 4px 0 8px; margin-top: 4px; }
.md .md-tl .md-gh h3.md-late { color: var(--tt-ink); }
.md .md-xf, .md .md-addg { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--tt-mute); }
.md .md-asked { padding: 18px 0 8px; }
.md .md-asked h2 { margin: 0 22px 8px; font-size: 17px; font-weight: 600; }
.md .md-arow { display: flex; gap: 12px; width: 100%; padding: 12px 22px; border: 0; border-top: 1px solid var(--tt-line2); background: none; font: inherit; text-align: left; cursor: pointer; }
.md .md-arow b { display: block; font-size: 15px; }
.md .md-arow small { display: block; margin-top: 3px; font-size: 13px; color: var(--tt-mute); }
.md .md-av { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: #5E6A78; color: #fff; font-size: 11.5px; font-weight: 700; }

/* the Wrap-up */
.md .md-wgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.md .md-wcol { padding-bottom: 14px; }
.md .md-wg { padding: 4px 24px 6px; }
.md .md-wg h3 { margin: 14px 0 6px; font-size: 15.5px; font-weight: 600; }
.md .md-wl { display: flex; align-items: center; gap: 10px; }
.md .md-wl .md-in { height: 40px; border-color: transparent; background: none; padding: 0 8px; font-size: 15.5px; }
.md .md-wl .md-in:hover, .md .md-wl .md-in:focus { border-color: var(--tt-line); background: #fff; }
.md .md-x { flex: none; display: inline-flex; padding: 6px; border: 0; background: none; color: var(--tt-mute); cursor: pointer; border-radius: 8px; }
.md .md-x:hover { background: var(--tt-soft); color: var(--tt-ink); }
.md .md-addl { display: inline-flex; align-items: center; gap: 8px; padding: 8px 0; border: 0; background: none; color: var(--tt-mute); font: inherit; font-size: 15px; cursor: pointer; }
.md .md-addg { margin: 12px 24px 0; }
.md .md-wfoot { display: flex; justify-content: space-between; margin: 18px 24px 4px; padding-top: 14px; border-top: 1px solid var(--tt-line2); font-size: 14.5px; color: var(--tt-mute); }
.md .md-wfoot b { color: var(--tt-ink); }
.md .md-q { padding: 18px 24px 20px; border-top: 1px solid var(--tt-line2); }
.md .md-q:first-child { border-top: 0; }
.md .md-q h2 { margin: 0 0 12px; font-size: 18px; font-weight: 600; }
.md .md-stuck { padding: 14px 16px; margin-bottom: 10px; border: 1px solid var(--tt-line); border-left: 3px solid var(--tt-red); border-radius: 12px; display: flex; flex-direction: column; gap: 10px; }
.md .md-sh { display: flex; align-items: center; gap: 10px; }
.md .md-sw { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 14px; color: var(--tt-mute); }
.md .md-sw .md-seg-o.is-on { background: var(--tt-ink); color: #fff; }
.md .md-srow { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.md .md-check { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--tt-mute); cursor: pointer; }
.md .md-hint { margin: 8px 0 0; font-size: 13.5px; color: var(--tt-mute); }
.md .md-top { list-style: none; margin: 0; padding: 0; }
.md .md-top li { display: flex; align-items: center; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--tt-line2); }
.md .md-num { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--tt-soft); font-size: 13.5px; font-weight: 700; }
.md .md-top .md-in { border-color: transparent; background: none; padding: 0 6px; font-size: 15.5px; }
.md .md-top .md-in:focus { border-color: var(--tt-line); background: #fff; }
.md .md-ord { display: inline-flex; flex-direction: column; }
.md .md-ord button { padding: 0 4px; border: 0; background: none; color: var(--tt-mute); cursor: pointer; line-height: 0; }
.md .md-ord button:disabled { opacity: .3; cursor: default; }
.md .md-how { display: flex; gap: 12px; }
.md .md-hb { width: 48px; height: 48px; border: 1.5px solid var(--tt-line); border-radius: 50%; background: #fff; font: inherit; font-size: 17px; font-weight: 600; cursor: pointer; }
.md .md-hb.is-on { background: var(--tt-ink); border-color: var(--tt-ink); color: #fff; }
.md .md-howl { display: flex; justify-content: space-between; width: 288px; max-width: 100%; margin-top: 6px; font-size: 13.5px; color: var(--tt-mute); }
.md .md-xf { margin-bottom: 12px; color: var(--tt-ink); }
.md .md-xf i { font-style: normal; color: var(--tt-mute); font-weight: 400; }
.md .md-send { display: flex; align-items: center; justify-content: flex-end; gap: 22px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--tt-line); }
.md .md-send .md-hint { margin: 0; font-size: 14.5px; }
.md-desk .md-quiet[data-md-classic] { display: block; margin: 10px 0 0 auto; }

/* the clock-out check */
.md-ov { position: fixed; inset: 0; z-index: 1400; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(244, 244, 239, .72); }
.md-ov .md-dlg { box-sizing: border-box; width: 100%; max-width: 440px; padding: 26px 26px 22px; border-radius: 18px; background: #fff; border: 1px solid var(--tt-line); box-shadow: 0 18px 50px rgba(0,0,0,.14); }
.md-ov h2 { margin: 0 0 16px; font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.md-ov ul { list-style: none; margin: 0 0 16px; padding: 0 0 14px; border-bottom: 1px solid var(--tt-line2); }
.md-ov li { display: flex; align-items: center; gap: 12px; padding: 7px 0; font-size: 15.5px; line-height: 1.35; }
.md-ov li svg { flex: none; color: var(--tt-mute); }
.md-ov li.is-ok svg { color: #23A45A; }
.md-ov li.is-no svg { color: var(--tt-red); }
.md-ov .md-dbtns { display: flex; justify-content: flex-end; gap: 12px; margin-top: 20px; }

/* the owner's Settings › Wrap-up form */
.md.md-set { padding: 8px 0 24px; }
.md .md-form .md-ch { padding-bottom: 14px; border-bottom: 1px solid var(--tt-line2); }
.md .md-frow { display: flex; align-items: center; gap: 16px; padding: 16px 24px; border-bottom: 1px solid var(--tt-line2); }
.md .md-fmain { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.md .md-fmain b { font-size: 16px; }
.md .md-fmain span { display: block; font-size: 14px; color: var(--tt-mute); }
.md .md-fmain span svg { vertical-align: -1px; margin-right: 3px; }
.md .md-form .md-ch > span { white-space: nowrap; }
.md .md-form .md-ch .md-csub { padding: 4px 0 0; }
.md.md-set .md-cols { grid-template-columns: minmax(0, 1fr) 300px; }
@media (max-width: 1250px) { .md.md-set .md-cols { grid-template-columns: 1fr; } }
.md .md-frow.is-off .md-fmain b { color: var(--tt-mute); font-weight: 500; }
.md .md-switch { flex: none; position: relative; width: 46px; height: 28px; padding: 0; border: 0; border-radius: 14px; background: #D9D9D2; cursor: pointer; }
.md .md-switch i { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.2); transition: left .15s; }
.md .md-switch.is-on { background: var(--tt-ink); }
.md .md-switch.is-on i { left: 21px; }
.md .md-switch.is-locked { background: #B9B9B2; cursor: default; }
.md .md-ffoot { padding: 16px 24px; }
.md .md-ffoot .md-quiet { display: inline-flex; align-items: center; gap: 8px; }
.md .md-fnote { margin: 0; padding: 14px 24px 16px; border-top: 1px solid var(--tt-line2); font-size: 13.5px; color: var(--tt-mute); }
.md .md-pvbox { margin: 8px 22px 22px; padding: 6px 18px 16px; border: 1px solid var(--tt-line); border-radius: 12px; }
.md .md-pv { display: flex; flex-direction: column; gap: 7px; padding: 12px 0 4px; }
.md .md-pv b { font-size: 14.5px; }
.md .md-pvl { display: block; height: 6px; border-radius: 3px; background: var(--tt-soft); width: 92%; }
.md .md-pvl.is-s { width: 60%; }
.md .md-pvdots { display: flex; gap: 8px; }
.md .md-pvdots i { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #CFCFC7; }
.md .md-who { padding: 18px 22px; }
.md .md-who h2 { margin: 0 0 8px; font-size: 17px; font-weight: 600; }
.md .md-who p { margin: 0 0 8px; font-size: 14.5px; line-height: 1.45; }

/* the page around it */
html.tp-desk2 .d2-home .md-desk, .md-desk { padding: 6px 0 40px; }
html.tp-desk2 #view-tasks .md-tasks, html.tp-desk2 #view-eod .md-wrap { padding-top: 4px; }

/* iPad: the same layout, the side column a little narrower */
html.tp-ipad .md .md-cols { grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; }
@media (max-width: 1100px) { .md .md-cols { grid-template-columns: minmax(0, 1fr) 290px; } }
@media (max-width: 900px) { .md .md-cols, .md .md-wgrid { grid-template-columns: 1fr; } }

/* phone */
.md.md-phone { padding: 4px 16px 120px; }
.md-phone .md-phead { display: flex; align-items: flex-start; justify-content: space-between; margin: 6px 0 22px; }
.md-phone .md-phead h1 { margin: 0; font-size: 34px; font-weight: 800; letter-spacing: -.02em; }
.md-phone .md-phead p { margin: 4px 0 0; font-size: 15px; color: var(--tt-mute); line-height: 1.35; }
.md-phone .md-big { font-size: 26px; }
.md-phone .md-sub { margin: 4px 0 18px; font-size: 15px; }
.md-phone .md-gh { padding: 16px 18px 6px; }
.md-phone .md-row { padding: 0 18px; min-height: 52px; }
.md-phone .md-rt { font-size: 15.5px; font-weight: 600; }
.md-phone .md-row.is-done .md-rt { font-weight: 400; }
.md-phone .md-sofar { display: flex; align-items: center; gap: 4px; width: 100%; padding: 16px 18px; border: 0; border-top: 1px solid var(--tt-line2); background: none; font: inherit; font-size: 15px; text-align: left; cursor: pointer; }
.md-phone .md-sofar span { flex: 1; color: var(--tt-mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.md-phone .md-wait, .md-phone .tt-quote, .md-phone .md-wcol { margin-top: 16px; }
.md-phone .md-ptitle { margin: 0; font-size: 34px; font-weight: 800; letter-spacing: -.02em; }
.md-phone .md-thead { flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.md-phone .md-seg { width: 100%; }
.md-phone .md-seg-o { flex: 1; }
.md-phone .md-wg, .md-phone .md-q { padding-left: 18px; padding-right: 18px; }
.md-phone .md-how { gap: 8px; }
.md-phone .md-hb { width: 44px; height: 44px; }
.md-phone .md-send { flex-direction: column; align-items: stretch; gap: 10px; border-top: 0; }
.md-phone .md-send .md-btn { width: 100%; height: 54px; font-size: 17px; }
.md-phone .md-sw { gap: 8px; }
.md-phone .md-sw .md-seg { width: auto; flex: 1; }
.md-phone .md-top .md-meta { display: none; }
.md-phone [data-md-classic] { display: block; margin: 12px auto 0; }

/* the phone's + (tab bar) and the Add sheet */
html.tp-ios-app .mobile-bottom-nav a.md-plus, html.tp-ios-app .mobile-bottom-nav a.md-plus.active { color: #fff; background: none; }
html.tp-ios-app .mobile-bottom-nav a.md-plus::before, html.tp-ios-app .mobile-bottom-nav a.md-plus.active::before {
  content: ''; position: absolute; z-index: 0; top: -18px; left: 50%; width: 56px; height: 56px; transform: translateX(-50%);
  border-radius: 50%; background: #111; box-shadow: 0 0 0 4px var(--tp-ios-page, #F4F4EF); }
html.tp-ios-app .mobile-bottom-nav a.md-plus::after { content: ''; position: absolute; z-index: 1; top: 10px; left: 50%; width: 24px; height: 24px; transform: translateX(-50%);
  background: linear-gradient(#fff, #fff) center / 24px 2.4px no-repeat, linear-gradient(#fff, #fff) center / 2.4px 24px no-repeat; }
html.tp-ios-app .mobile-bottom-nav a.md-plus .mobile-nav-icon { visibility: hidden; background: none !important; }
html.tp-ios-app .mobile-bottom-nav a.md-plus .mobile-nav-label { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.md-sheet { position: fixed; inset: 0; z-index: 1350; display: none; align-items: flex-end; background: rgba(0,0,0,.32); }
.md-sheet.open { display: flex; }
.md-sheet .md-sheetp { box-sizing: border-box; width: 100%; padding: 8px 16px calc(24px + env(safe-area-inset-bottom)); border-radius: 22px 22px 0 0; background: var(--tt-bg); }
.md-sheet .md-grab { width: 40px; height: 5px; margin: 4px auto 14px; border-radius: 3px; background: #CFCFC7; }
.md-sheet .md-sheeth { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.md-sheet .md-sheeth h2 { margin: 0; font-size: 28px; font-weight: 800; }
.md-sheet .md-addopts { overflow: hidden; }
.md-sheet .md-addopt { display: flex; align-items: center; gap: 16px; width: 100%; padding: 16px 18px; border: 0; border-top: 1px solid var(--tt-line2); background: #fff; font: inherit; text-align: left; cursor: pointer; }
.md-sheet .md-addopt:first-child { border-top: 0; }
.md-sheet .md-addopt span { flex: 1; }
.md-sheet .md-addopt b { display: block; font-size: 18px; }
.md-sheet .md-addopt small { display: block; margin-top: 2px; font-size: 15px; color: var(--tt-mute); }
.md-sheet h3 { margin: 22px 4px 10px; font-size: 16px; font-weight: 600; }
.md-sheet .md-afr select { border: 0; background: none; font-weight: 600; font-size: 16px; padding: 0 4px; }

/* Rethink 15a, iPad pass (t-member-today): 44pt hit areas that keep the 24pt look. */
html.tp-ipad .md-desk .md-tick { width: 44px; height: 44px; margin: -10px; border: 10px solid transparent; background-clip: padding-box; box-shadow: inset 0 0 0 1.5px #BDBDB5; }
html.tp-ipad .md-desk .md-tick.is-on { box-shadow: none; }
html.tp-ipad .md-desk .md-tick.is-ghost { box-shadow: none; outline: 1.5px dashed #BDBDB5; outline-offset: -11.5px; }
html.tp-ipad .md-desk .md-quiet { display: inline-flex; align-items: center; min-height: 44px; margin: -8px 0; }

/* Rethink 17: the way back from the full (classic) Wrap-up form on the phone */
.md-backbar { padding: 2px 16px 0; }
.md-backbar .md-pback { display: inline-flex; align-items: center; gap: 2px; min-height: 44px; margin-left: -6px; padding: 0 4px; border: 0; background: none; font: inherit; font-size: 17px; font-weight: 600; color: #111; cursor: pointer; }

/* Rethink 21: the member's screens to the owner's standard (stages 17 to 20).
   Titles are never cut off: Today's rows wrap; Tasks' rows stack the title over client · due, as the owner's
   Work "Mine". The quick add sits over Mine with the client as a field of its own. 44px targets on the phone. */
.md .md-rt { white-space: normal; overflow-wrap: anywhere; line-height: 1.3; }
.md .md-row.is-stack { align-items: flex-start; gap: 12px; min-height: 0; padding: 13px 24px; }
.md .md-row.is-stack .md-tick { margin-top: 1px; }
.md .md-rmain { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; padding: 0; border: 0; background: none; font: inherit; color: var(--tt-ink); text-align: left; cursor: pointer; }
.md .md-rtitle { font-size: 15.5px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.md .md-row.is-done .md-rtitle { color: var(--tt-mute); text-decoration: line-through; font-weight: 500; }
.md .md-rmeta { display: flex; flex-wrap: wrap; align-items: center; gap: 0 4px; font-size: 13.5px; line-height: 1.35; color: var(--tt-mute); }
.md .md-rep { display: inline-flex; align-items: center; margin-right: 2px; }
.md .md-qadd { display: grid; grid-template-columns: minmax(0, 1fr) 220px 160px auto; gap: 10px; margin: -8px 0 22px; max-width: 980px; }
.md .md-qadd .md-in { height: 44px; }
.md .md-tsolo { max-width: 980px; }
.md .md-wgrid.is-one { grid-template-columns: minmax(0, 720px); }
.md-sheet .md-sf2 { display: flex; flex-direction: column; gap: 4px; min-width: 0; margin-top: 10px; font-size: 14px; color: var(--tt-mute); }
.md-sheet .md-afr { align-items: flex-end; }
.md-sheet .md-afr .md-sf2 { flex: 1; margin-top: 0; }
.md-sheet .md-sf2 select { width: 100%; height: 44px; border: 1px solid var(--tt-line); border-radius: 10px; background: #fff; font-weight: 600; font-size: 16px; padding: 0 10px; flex: none; }
.md-sheet .md-sheetp { max-height: calc(100% - 24px); overflow-y: auto; overscroll-behavior: contain; }
.md-sheet .md-afr .md-btn { height: 44px; }
html.tp-ios-app .mobile-more-grid a[data-md-more-wrapup] .mobile-more-icon { --tp-ico: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23000" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round"%3E%3Cpath d="M6 3h8l4 4v14H6z"/%3E%3Cpath d="M14 3v4h4"/%3E%3Cpath d="M9 13h6M9 17h6"/%3E%3C/svg%3E'); }
@media (max-width: 1100px) { .md .md-qadd { grid-template-columns: minmax(0, 1fr) 180px 140px auto; } }
/* the phone */
.md-phone .md-row.is-stack { padding: 12px 16px; }
.md-phone .md-rtitle { font-size: 16px; }
.md-phone .md-rmeta { font-size: 14px; }
.md-phone .md-gh { padding-left: 16px; padding-right: 16px; }
.md-phone .md-qadd { grid-template-columns: minmax(0, 1fr) auto; margin: 0 0 18px; max-width: none; }
.md-phone .md-qadd .md-qt, .md-phone .md-qadd [data-md-af="client"] { grid-column: 1 / -1; }
.md-phone .md-qadd .md-btn { height: 44px; padding: 0 26px; }
.md-phone .md-qadd .md-in { font-size: 16px; }
.md-phone .md-tick { width: 44px; height: 44px; margin: -10px; border: 10px solid transparent; background-clip: padding-box; box-shadow: inset 0 0 0 1.5px #BDBDB5; }
.md-phone .md-tick.is-on, html.tp-ipad .md-desk .md-tick.is-on { box-shadow: none; border-color: transparent; background-clip: padding-box; }
.md-phone .md-tick.is-ghost { box-shadow: none; outline: 1.5px dashed #BDBDB5; outline-offset: -11.5px; }
.md-phone .md-row.is-stack .md-tick { margin-top: -9px; }
.md-phone .md-rt { min-height: 44px; padding: 12px 0; }
.md-phone .md-seg-o { height: 44px; }
.md-phone .md-btn.is-sm { height: 44px; }
.md-phone .md-x { min-width: 44px; min-height: 44px; justify-content: center; align-items: center; }
.md-phone .md-addl, .md-phone .md-quiet, .md-phone .md-check { min-height: 44px; }
.md-phone .md-quiet { display: inline-flex; align-items: center; }
.md-phone [data-md-classic] { display: flex; margin: 12px auto 0; }
.md-phone .md-ord { flex-direction: row; }
.md-phone .md-ord button { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.md-phone .md-wl .md-in, .md-phone .md-top .md-in, .md-phone .md-in { height: 44px; }
.md-sheet .md-addopt, .md-sheet [data-md-close] { min-height: 44px; }
.md-phone .md-srow { flex-direction: column; align-items: flex-start; gap: 0; }
.md-phone .md-rmain { min-height: 44px; justify-content: center; }
.md-phone .py-askfix .py-link2 { min-height: 44px; }
