/* Studio's own rules, on the live app's look (tide.css, loaded first). Screens not yet brought over to the live
   markup keep their studio- classes, drawn here in Tide's colors and type so every screen reads as one app. */
:root { --paper: var(--bg); --accent: var(--pri); --warn: var(--amber); --bad: var(--red); --ok: var(--pop-ok-ink); }
main { padding: max(22px, env(safe-area-inset-top)) 16px 150px; max-width: 720px; margin: 0 auto; }
.studio-app.on-today { padding-top: 58px; }   /* room for the top pill */
@media (max-width: 860px) { html.sa main { padding-top: calc(var(--sat) - 4px); } }   /* from the home screen the status bar covers the top (tide.css html.sa); a phone only: the app installed on a computer has no status bar over it, so it keeps the 40px (Zach, Nov 10) */
html.sa .studio-app.on-today { padding-top: 50px; }   /* 46px + --sat in all, as live */
@media (max-width: 860px) { .studio-app.on-proj { padding-top: 54px; } }   /* room for a project's slim bar, fixed at the top (v487) */
.rxlift.mrow { position: fixed; }
.tabs { position: fixed; }   /* live's bar sits in a fixed frame, where absolute and fixed agree; here the page scrolls, so it's pinned like #tsrch */
.pp-more { border: 0; background: none; color: inherit; font: inherit; font-size: 13px; letter-spacing: 0; text-transform: none;
  text-decoration: underline; padding: 10px 0; cursor: pointer; }   /* live's inline style on People's All / Less */
.sub.pp-tight { margin-top: -6px; }   /* live's inline style under a field on Edit details */
.sub.pp-lead { margin-top: -4px; }   /* and atop Same person? */
.rlrow > svg { width: 18px; height: 18px; color: var(--faint); flex: none; }   /* the Email log's chevron, which live leaves unsized */   /* live's lift sits in an empty body, where relative and fixed agree; here the page flows */
svg.ic-sw { stroke-width: var(--sw, 1.7); }
.ic-acc { fill: var(--acc); stroke: none; }
.studio-app h1:not(.wrap h1) { margin: 4px 0 12px; }
.studio-app h2:not(.wrap h2) { margin: 28px 0 8px; }
.studio-app .bkp h1:not(.wrap h1) { margin: 4px 0 0; }   /* live's Booking page keeps the .stack gap and has no heading margin below */
.studio-app .bkp h2:not(.wrap h2) { margin: 0; }
.bknote.c.tight { margin-top: 0; }   /* live's inline style on a card's foot line */
.bkcm .bkt { font-size: 16px; }   /* live's inline styles on Can't meet then */
.bkcm .bkempty { padding: 16px 0; }
.bkcm .bkempty.close { padding: 14px 0; }
.bkcm .bkmeta { margin-top: 12px; line-height: 1.45; }
.bkcm .bkgo { line-height: 1.5; }
.bkcm .bkwho .grow, .bkcm .bkvc .grow { min-width: 0; }
.bkloading { display: flex; flex-direction: column; gap: 10px; }
.bkloading .bkskel-a { height: 40px; } .bkloading .bkskel-b { height: 34px; } .bkloading .bkskel-c { height: 120px; }
.bkhd .bkcol { gap: 4px; }   /* live's inline styles on a visit request's card */
.bkhd .title { font-size: 16.5px; line-height: 1.3; }
.bkhd .meta { font-size: 14px; line-height: 1.45; }
.back + .bkp { margin-top: 16px; }   /* live's eyebrow sits 38px under the back link */
.studio-app .stack > h2:not(.wrap h2) { margin: 0; }
.studio-app .sheet-text { font-size: 16px; line-height: 1.45; }
.studio-app .sheet h2.npq { margin: -8px 0 0; }
.studio-message { color: var(--muted); font-size: 15px; line-height: 1.5; }
.studio-signin { display: flex; flex-direction: column; justify-content: center; min-height: 80vh; }
.studio-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 24px; }
.wrap > .stack > .studio-actions, .wrap > .stack > .studio-message, .wrap > .stack > .studio-list { margin: 0; }   /* in the page frame the block's gap spaces them (More) */
.studio-button { min-height: 44px; padding: 0 18px; border-radius: 14px; border: 1px solid var(--pri); background: var(--pri);
  color: var(--pri-ink); font-size: 14px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  text-decoration: none; white-space: nowrap; cursor: pointer; }
.studio-button:hover { background: var(--pri-dark); }
.studio-button.quiet { background: var(--card); border-color: var(--line); color: var(--pri-dark); }
.studio-button.quiet:hover { border-color: var(--hover); background: var(--card); }
.studio-button:disabled { opacity: 0.5; cursor: default; }
.studio-list { color: var(--muted); font-size: 15px; line-height: 1.6; padding-left: 20px; }
.studio-eyebrow { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 16px 0 0; }
.studio-sub { color: var(--muted); font-size: 14px; }
.studio-back, .studio-link { background: none; border: 0; padding: 4px 0; color: var(--pri); font: inherit; font-size: 15px; cursor: pointer; }
.studio-link + .studio-link { margin-left: 14px; }
.studio-search { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--field);
  color: var(--ink); font: inherit; font-size: 16px; margin: 4px 0 12px; }
.studio-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.studio-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.studio-pill { min-height: 40px; padding: 0 15px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink);
  font: inherit; font-size: 13px; cursor: pointer; }
.studio-pill.on { background: var(--pri-soft); border-color: transparent; color: var(--pri-dark); }
.studio-cards { display: flex; flex-direction: column; gap: 8px; }
.studio-card, .studio-pick { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; text-align: left;
  border: 0; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); color: var(--ink); font: inherit;
  padding: 16px 18px; cursor: pointer; }
.studio-card-name { font-size: 16px; font-weight: 500; }
.studio-card-line { color: var(--muted); font-size: 13px; }
.studio-pin { font-size: 14px; }
.studio-rows { list-style: none; padding: 0; margin: 8px 0; }
.studio-rows li + li { border-top: 1px solid var(--line); }
.studio-row-item { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 10px 0; }
.studio-row-item > span:first-child { flex: 1 1 60%; }
.studio-figure { font-variant-numeric: tabular-nums; color: var(--ink); }
.studio-row-actions { flex-basis: 100%; }
.studio-timer { border: 1px solid var(--line); border-radius: 16px; padding: 4px 16px 16px; margin: 8px 0 16px; }
.studio-timer-name { border: 0; padding: 0; margin: 4px 0 0; font-size: 22px; }
.studio-clock { font-size: 44px; font-variant-numeric: tabular-nums; margin: 8px 0 0; letter-spacing: 0.02em; }
.studio-timer .studio-actions { justify-content: flex-start; margin-top: 12px; flex-wrap: wrap; }
.studio-badge { display: inline-block; min-width: 18px; margin-left: 4px; padding: 0 5px; border-radius: 9px; background: var(--accent);
  color: var(--paper); font-size: 12px; line-height: 18px; }
.sheet .sbody > .studio-sheet-name, .sbody > .studio-message { margin: 0; }
.studio-fields { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0; }
.studio-fields label, .studio-note { display: flex; flex-direction: column; gap: 6px; color: var(--muted); font-size: 13px; }
.studio-fields input, .studio-fields select, .studio-note textarea { font: inherit; font-size: 16px; color: var(--ink); background: var(--field);
  border: 1px solid var(--line); border-radius: 14px; min-height: 48px; padding: 10px 12px; min-width: 96px; }
.studio-note textarea { width: 100%; }
.studio-choices { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.studio-choices .studio-button { width: 100%; }
.studio-signin .studio-actions { justify-content: flex-start; }

/* Hours */
.studio-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.studio-link:disabled { color: var(--muted); opacity: 0.5; cursor: default; }
.studio-dates { margin: 12px 0 4px; }
.studio-date { font-size: 16px; text-align: center; }
.studio-strip { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin: 8px 0 12px; }
.studio-strip-day { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0; border: 1px solid transparent;
  border-radius: 10px; background: none; color: var(--muted); font: inherit; font-size: 13px; cursor: pointer; }
.studio-strip-day.today { color: var(--ink); }
.studio-strip-day.on { border-color: var(--accent); color: var(--accent); }
.studio-strip-n { font-size: 17px; }
.studio-strip-hours { font-size: 12px; font-variant-numeric: tabular-nums; }
.studio-total { border: 1px solid var(--line); border-radius: 16px; padding: 4px 16px 12px; margin: 8px 0 16px; }
.studio-total-value { font-size: 34px; font-variant-numeric: tabular-nums; margin: 4px 0 0; }
.studio-total .studio-sub { margin: 4px 0 0; }
.studio-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 10px 0;
  background: none; border: 0; color: var(--ink); font: inherit; font-size: 17px; text-align: left; cursor: pointer; }
.studio-line-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.studio-line-text .studio-card-line { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.studio-bars { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; align-items: end; margin: 12px 0; }
.studio-bar { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px; min-height: 140px;
  background: none; border: 0; color: var(--muted); font: inherit; font-size: 12px; cursor: pointer; }
.studio-bar i { display: block; width: 70%; min-height: 2px; border-radius: 4px 4px 0 0; background: var(--accent); }
.studio-calendar { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin: 8px 0 12px; }
.studio-calendar-head { text-align: center; color: var(--muted); font-size: 12px; }
.studio-calendar-day { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 0; min-height: 44px;
  border: 1px solid transparent; border-radius: 8px; background: var(--line); color: var(--ink); font: inherit; font-size: 14px; cursor: pointer; }
.studio-calendar-day.l1 { background: color-mix(in srgb, var(--accent) 20%, transparent); }
.studio-calendar-day.l2 { background: color-mix(in srgb, var(--accent) 40%, transparent); }
.studio-calendar-day.l3 { background: color-mix(in srgb, var(--accent) 65%, transparent); color: var(--paper); }
.studio-calendar-day.l4 { background: var(--accent); color: var(--paper); }
.studio-calendar-day.today { border-color: var(--ink); }
.studio-button.danger { border-color: #a5483f; color: #a5483f; }

/* Money: Payments */
.studio-invoice { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; }
.studio-invoice small { font-size: 13px; color: var(--muted); }
.studio-invoice.exact { border-color: var(--accent); }
.studio-invoice.on small { color: var(--accent); }
.studio-check { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 15px; margin: 12px 0 0; }
.studio-wrap { flex-wrap: wrap; }

/* Money and invoices (slice 13) */
.studio-hero { border: 1px solid var(--line); border-radius: 16px; padding: 4px 16px 12px; margin: 8px 0 16px; }
.studio-hero .studio-sub { margin: 8px 0 0; }
.studio-hero-figure { font-size: 34px; margin: 4px 0 0; font-variant-numeric: tabular-nums; }
.studio-line-title { color: var(--ink); }
.studio-figure.studio-warn, .studio-warn { color: var(--warn); }
.studio-invoice-row[data-tone="due"] .studio-card-line { color: var(--warn); }
.studio-invoice-row[data-tone="bad"] .studio-card-line { color: var(--bad); }
.studio-payment-row[data-tone="ok"] .studio-card-line { color: var(--ok); }
.studio-payment-row[data-tone="due"] .studio-card-line { color: var(--warn); }
.studio-payment-row[data-tone="bad"] .studio-card-line { color: var(--bad); }
.studio-struck { text-decoration: line-through; color: var(--muted); }
.studio-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  margin: 32px 0 4px; padding-top: 16px; border-top: 1px solid var(--line); }
.studio-head h2 { margin: 0; padding: 0; border: 0; }
.studio-sections { margin-top: 24px; }
.studio-sums { display: flex; gap: 8px; margin: 8px 0; }
.studio-sum { flex: 1; border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px; display: flex; flex-direction: column; gap: 2px; }
.studio-sum small { color: var(--muted); font-size: 13px; }
.studio-sum b { font-weight: 400; font-size: 18px; font-variant-numeric: tabular-nums; }
.studio-sum b.studio-due { color: var(--warn); }
.studio-sheet-name { font-size: 19px; line-height: 1.35; margin: 6px 0 0; }
/* drafting and reviewing an invoice */
.studio-progress { height: 3px; background: var(--line); border-radius: 2px; margin: 12px 0 4px; overflow: hidden; }
.studio-progress i { display: block; height: 100%; background: var(--accent); }
.studio-question { font-weight: 400; font-size: 21px; line-height: 1.3; margin: 8px 0 4px; }
.studio-pick.on { border-color: var(--accent); }
.studio-answers .studio-line { border-bottom: 1px solid var(--line); }
.studio-answer { text-align: right; overflow-wrap: anywhere; }
.studio-none { color: var(--muted); font-style: italic; }
.studio-note-box { border: 1px solid var(--line); border-radius: 12px; padding: 4px 14px; margin: 8px 0; }
.studio-letter { white-space: pre-wrap; border: 1px solid var(--line); border-radius: 12px; padding: 14px; margin: 8px 0;
  font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
.studio-button.studio-danger { border-color: var(--bad); color: var(--bad); }
.studio-add .studio-line-title { color: var(--accent); }
.studio-choices a.studio-button { text-align: center; }
.studio-stack { flex-direction: column; }
.studio-stack label, .studio-stack input { width: 100%; }
.studio-look-image { display: block; max-width: 160px; max-height: 64px; margin-top: 6px; }
.studio-fields textarea { font: inherit; font-size: 17px; color: var(--ink); background: transparent; width: 100%; min-height: 96px;
  border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
/* Today's cards */
.studio-today-cards { display: flex; flex-direction: column; gap: 10px; margin: 8px 0 16px; }
.studio-today-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 20px; }
.studio-today-card[data-tone="warn"] .studio-eyebrow { color: var(--red); }
.studio-today-card[data-tone="act"] .studio-eyebrow { color: var(--pri); }
.studio-today-card[data-tone="quiet"] { opacity: 0.85; }
.studio-today-card .studio-eyebrow { margin: 0; font-size: 11px; letter-spacing: .12em; }
.studio-today-card .studio-card-name { display: block; margin: 6px 0 2px; font-size: 17px; }
.studio-today-card .studio-actions { margin-top: 12px; flex-wrap: wrap; }
p.studio-note-box { padding: 10px 14px; }
.studio-payment-row { padding: 0; }
.studio-payment-row > .studio-line { flex: 1 1 100%; }
.studio-button.armed { border-color: var(--warn); color: var(--warn); }
.studio-fields select { width: 100%; font: inherit; font-size: 17px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); }
.studio-cheer { position: fixed; inset: 0; z-index: 50; background: rgba(0, 0, 0, 0.45); display: flex; align-items: center; justify-content: center; padding: 16px; }
.studio-cheer-card { width: 100%; max-width: 380px; background: var(--paper); border-radius: 20px; padding: 20px 20px 16px; text-align: center; animation: studio-cheer-in 0.25s ease-out; }
.studio-cheer-card .studio-hero-figure { margin: 4px 0; }
.studio-cheer-art { width: 160px; height: 120px; margin: 0 auto; display: block; }
.studio-cheer-art .studio-note rect, .studio-cheer-art .studio-note circle { fill: none; stroke: var(--ok); stroke-width: 3; }
.studio-cheer-art .studio-note text { fill: var(--ok); font-size: 16px; font-weight: 600; }
.studio-coin ellipse, .studio-coin rect { fill: #c9a227; }
.studio-coin ellipse.top { fill: #e3bf4a; }
.studio-coin { animation: studio-coin-drop 0.5s ease-in both; }
.studio-coin:nth-of-type(2) { animation-delay: 0.1s; } .studio-coin:nth-of-type(3) { animation-delay: 0.2s; }
.studio-coin:nth-of-type(4) { animation-delay: 0.3s; } .studio-coin:nth-of-type(5) { animation-delay: 0.4s; }
.studio-cheer-line { margin: 12px 0; color: var(--muted); }
.studio-cheer-line.ok { color: var(--ok); }
.studio-cheer-line.failed { color: var(--bad); }
@keyframes studio-cheer-in { from { transform: scale(0.94); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes studio-coin-drop { from { transform: translateY(-60px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .studio-cheer-card, .studio-coin { animation: none; } }
.studio-dot { flex: none; width: 8px; height: 8px; border-radius: 4px; background: var(--accent); }
.studio-notes .studio-line { border-bottom: 1px solid var(--line); text-align: left; background: none; border-left: 0; border-right: 0;
  border-top: 0; color: inherit; font: inherit; cursor: pointer; }
.studio-chat { margin-top: 16px; padding-bottom: 96px; }
.studio-chat-list { display: flex; flex-direction: column; gap: 4px; }
.studio-chat-day { text-align: center; color: var(--muted); font-size: 13px; margin: 16px 0 4px; }
.studio-chat-new { text-align: center; color: var(--accent); font-size: 13px; border-top: 1px solid var(--accent); margin: 10px 0 2px; padding-top: 2px; }
.studio-chat-note { display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; margin: 12px 24px;
  padding: 8px 12px; border-radius: 10px; background: color-mix(in srgb, var(--accent) 8%, transparent); font-size: 14px; }
.studio-chat-note.pause { background: color-mix(in srgb, #b3372b 10%, transparent); }
.studio-msg-row { display: flex; flex-direction: column; align-items: flex-start; }
.studio-msg-row.me { align-items: flex-end; }
.studio-msg-who { color: var(--muted); font-size: 12px; margin: 8px 4px 2px; }
.studio-msg { max-width: 80%; padding: 8px 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--paper);
  color: var(--ink); font: inherit; font-size: 16px; text-align: left; white-space: pre-wrap; cursor: pointer; }
.studio-msg-row.me .studio-msg { background: var(--accent); color: var(--paper); border-color: var(--accent); }
.studio-msg.pending { opacity: 0.6; }
.studio-msg.removed { color: var(--muted); font-style: italic; cursor: default; }
.studio-msg-quote { display: block; font-size: 13px; opacity: 0.75; border-left: 2px solid currentColor; padding-left: 6px; margin-bottom: 4px; }
.studio-reacts { display: flex; flex-wrap: wrap; gap: 4px; margin: 2px 4px; }
.studio-react { border: 1px solid var(--line); border-radius: 12px; background: var(--paper); font-size: 15px; padding: 2px 8px; cursor: pointer; }
.studio-react.on { border-color: var(--accent); }
.studio-react-n { font-size: 12px; margin-left: 3px; color: var(--muted); }
.studio-composer { position: fixed; left: 0; right: 0; bottom: calc(56px + env(safe-area-inset-bottom)); padding: 8px 16px;
  background: var(--paper); border-top: 1px solid var(--line); max-width: 720px; margin: 0 auto; }
.studio-composer-bar { display: flex; gap: 8px; align-items: flex-end; }
.studio-composer textarea { flex: 1; font: inherit; font-size: 16px; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--paper); color: var(--ink); resize: none; }
.studio-reply-bar { display: flex; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 13px; margin: 0 0 6px; }
.studio-reply-bar button { border: 0; background: none; color: var(--muted); font-size: 18px; cursor: pointer; }
.studio-card-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.studio-snooze-bell { border: 0; background: none; color: var(--muted); font: inherit; font-size: 13px; cursor: pointer; padding: 2px 0; }
.studio-snooze { margin-top: 8px; }
.studio-glance { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 16px; background: none;
  border-left: 0; border-right: 0; color: inherit; font: inherit; cursor: pointer; }

/* uploading: the live rules for the folder rows in a sheet hang on #layer, which Studio's sheets don't have */
.sbody label.item.flpick{flex-direction:row;align-items:center;gap:12px;padding:10px 14px 10px 12px;margin:0;font-size:inherit;color:var(--ink)}
.sbody label.item.flpick.flkid{min-height:50px;padding-left:34px}

/* Calendar's one + and its menu (v321, CV_ADD), until the live look is copied again */
.cvplus{width:40px;height:40px;border-radius:50%;border:0;background:var(--pri);color:var(--pri-ink,#fff);display:grid;place-items:center;box-shadow:0 4px 12px rgba(43,106,143,.28);cursor:pointer;flex:none;padding:0}.cvplus svg{width:20px;height:20px}.cvplus:active{transform:scale(.94)}
#cvadd{position:fixed;inset:0;z-index:70}
#cvadd .sc{position:absolute;inset:0;background:rgba(20,28,34,.28);opacity:0;transition:opacity .2s}
#cvadd .pop{position:absolute;right:14px;width:min(320px,calc(100vw - 28px));background:var(--card);border-radius:18px;box-shadow:0 18px 50px rgba(0,0,0,.25);padding:6px;transform-origin:top right;transform:scale(.9);opacity:0;transition:transform .22s cubic-bezier(.2,.9,.25,1.1),opacity .16s}
#cvadd.on .sc{opacity:1}#cvadd.on .pop{transform:none;opacity:1}
#cvadd .it{display:flex;gap:12px;align-items:center;width:100%;border:0;background:none;padding:11px 12px;border-radius:12px;text-align:left;font:inherit;color:var(--ink);cursor:pointer}
#cvadd .it:active{background:var(--hover,rgba(0,0,0,.05))}
#cvadd .ic{width:34px;height:34px;border-radius:10px;background:var(--pri-soft);color:var(--pri);display:grid;place-items:center;flex:none}#cvadd .ic svg{width:18px;height:18px}
#cvadd b{display:block;font-size:15.5px;font-weight:600}#cvadd small{display:block;font-size:12.5px;color:var(--muted);margin-top:1px;line-height:1.3}
#cvadd .sep{height:1px;background:var(--line);margin:4px 10px}

/* Heads up on Today, and a grey Inbox count (live releases 319) */
.hu.today{margin-top:2px}
.toppill .dot.ib,.tab .dot.ib{background:color-mix(in srgb,var(--ink) 55%,var(--bg))}
/* (v483) the project sits under the clock again */
.tmxcard .tmxtop{justify-content:center}.tmxcard .tmxhd{justify-content:center;position:relative;min-height:64px}.tmxcard .tmxhd .tmxadj2{position:absolute;right:-4px;top:50%;transform:translateY(-50%)}.tmxpjc{display:flex;align-items:center;justify-content:center;gap:6px;max-width:100%;margin:-4px auto 2px;padding:4px 10px;border:0;border-radius:12px;background:none;font:inherit;font-size:20px;font-weight:600;color:var(--ink);cursor:pointer}.tmxpjc span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.tmxpjc svg{flex:none;width:16px;height:16px;color:var(--muted)}.tmxpjc:active{background:var(--line2)}.tmxcard .tmxc{height:160px}.tmxrail.solo .tmxc{width:100%}   /* (Zach, Nov 8) no other card to peek at, so the one card is full width */
/* The Timer's card as you write in it (Zach, Nov 12: the box was clipped at the card's foot): it grows to show the whole box, the rail's
   other cards staying as they are; once you're done, its note fits the card and fades at its foot, as the other cards' do. */
.tmxc.on:focus-within{height:auto;min-height:160px}
.tmxc.on:not(:focus-within) .tmxd{flex:1 1 0;min-height:0;-webkit-mask-image:linear-gradient(to bottom,#000 calc(100% - 1.4em),transparent);mask-image:linear-gradient(to bottom,#000 calc(100% - 1.4em),transparent)}
.tmxrail:not(.solo) .tmxc{width:min(78%,300px)}   /* (Zach, Nov 9) phone-sized cards on a computer too, so more show at once */
/* (v487) project page: a slim bar (back, then settings and the debrief sparkle under the thumb), the big name,
   whose court it's in, the people, underline tabs */
.pjhd.pjc{justify-content:space-between;padding-bottom:8px;background:color-mix(in srgb, var(--bg) 82%, transparent);-webkit-backdrop-filter:blur(18px) saturate(1.6);backdrop-filter:blur(18px) saturate(1.6)}
/* a project's top bar sits just under the status bar, as every other screen's title does, and is frosted so a message
   passing under it fades instead of being cut off (Zach, Nov 7) */
@media (max-width: 860px){html.sa .pjhd.pjc{padding-top:calc(var(--sat) - 6px)}}   /* a phone only, as html.sa main above */
.pjhd.pjc .pjbk{width:auto;height:40px;padding:0 6px 0 0;gap:2px;font-size:16px;color:var(--pri);background:none;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;margin:0}
.pjhd.pjc .pjbk svg{width:18px;height:18px}
.pjacts{display:flex;gap:8px;flex:none}
.pjib{position:relative;width:40px;height:40px;border-radius:50%;border:0;background:var(--pri-soft);color:var(--pri);display:grid;place-items:center;cursor:pointer;touch-action:manipulation;padding:0;transition:transform .12s}
.pjib:active{transform:scale(.92)}.pjib svg{width:20px;height:20px}
.pjib .dot{position:absolute;top:7px;right:8px;width:9px;height:9px;border-radius:50%;background:#E97F2C;border:2px solid var(--pri-soft);box-sizing:content-box}
.pjtop,.pjtop *{text-align:left}
.pjeb{font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin-top:2px}
.pjh1{display:block;border:0;background:none;padding:0;margin:2px 0 4px;font:inherit;font-size:30px;font-weight:700;letter-spacing:-.02em;line-height:1.12;color:var(--ink);text-align:left;cursor:pointer;overflow-wrap:anywhere}
.pjh1 small{display:block;font-size:14px;font-weight:500;letter-spacing:0;color:var(--muted);margin-top:2px}
.pjcourt{display:flex;align-items:center;gap:7px;max-width:100%;border:0;background:none;padding:6px 0;font:inherit;font-size:15px;color:var(--ink);cursor:pointer;touch-action:manipulation;min-width:0}
.pjcourt i{width:9px;height:9px;border-radius:50%;background:#E97F2C;flex:none}.pjcourt.them i{background:var(--muted)}
.pjcourt b{font-weight:600;color:#B25A16;flex:none}.pjcourt.them b{color:var(--ink)}
html[data-theme=dark] .pjcourt b{color:#F0A365}
.pjcourt .clip{min-width:0}.pjcourt svg{width:15px;height:15px;color:var(--muted);flex:none}
.pjwho{display:flex;align-items:center;gap:10px;border:0;background:none;padding:4px 0 2px;font:inherit;font-size:14px;color:var(--muted);cursor:pointer;max-width:100%;min-width:0}
.pjwho .avs{display:flex;flex:none}.pjwho .av{width:28px;height:28px;font-size:10.5px;border:2px solid var(--bg);margin-left:-8px}.pjwho .av:first-child{margin-left:0}
.pjwho .more{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--beige);border:2px solid var(--bg);margin-left:-8px;font-size:10.5px;font-weight:600;color:var(--muted)}
.pjtabs{position:sticky;top:0;z-index:6;box-shadow:0 -14px 0 var(--bg);display:flex;gap:2px;margin:10px -16px 4px;padding:0 16px;border-bottom:1px solid var(--line);background:var(--bg);overflow-x:auto;-webkit-overflow-scrolling:touch}
.pjtabs button{flex:1 1 auto;justify-content:center;min-width:0;border:0;background:none;padding:12px 6px 10px;font:inherit;font-size:15px;color:var(--muted);border-bottom:2.5px solid transparent;display:flex;gap:5px;align-items:center;cursor:pointer;white-space:nowrap}
.pjtabs button.on{color:var(--ink);font-weight:600;border-bottom-color:var(--pri)}
.pjtabs .n{font-size:12px;background:var(--line2,color-mix(in srgb,var(--ink) 8%,transparent));color:var(--muted);border-radius:999px;padding:1px 7px;font-weight:500}.pjtabs .n.hot{background:#E97F2C;color:#fff}
.pjtabs .pjdot{width:7px;height:7px;border-radius:50%;background:#E97F2C}   /* something new under More (Zach, Nov 8) */
.pjtabs .pjchev{width:14px;height:14px;margin-left:-2px;opacity:.7}
.pjmore{display:flex;flex-direction:column;gap:8px}
.pjmore button{display:flex;align-items:center;gap:12px;width:100%;border:0;border-radius:14px;background:var(--card,#fff);box-shadow:0 1px 3px rgba(0,0,0,.06);padding:12px 14px;font:inherit;color:var(--ink);text-align:left;cursor:pointer}
.pjmore button.on{outline:2px solid var(--pri)}
.pjmore button svg{width:22px;height:22px;color:var(--pri);flex:none}
.pjmore .grow{flex:1;min-width:0}
.pjmore b{display:block;font-size:15px;font-weight:600}
.pjmore small{display:block;font-size:13px;color:var(--muted);margin-top:1px}
.pjmore .n{font-size:12px;background:var(--line2,color-mix(in srgb,var(--ink) 8%,transparent));color:var(--muted);border-radius:999px;padding:1px 7px;font-weight:500}.pjmore .n.hot{background:#E97F2C;color:#fff}
.pjmorenote{margin-top:12px;font-size:13px}
.ctey{display:flex;align-items:center;gap:7px;font-size:12.5px;letter-spacing:.08em;text-transform:uppercase;font-weight:600;color:#B25A16}.ctey i{width:9px;height:9px;border-radius:50%;background:#E97F2C}.ctey.them{color:var(--muted)}.ctey.them i{background:var(--muted)}
.ctbig{font-size:20px;font-weight:650;line-height:1.3;text-align:left}
/* (v487) a project's Tasks: one row with + New task; the sort call and suggestions quiet */
.pjadd{flex:none;border:0;border-radius:999px;background:var(--pri);color:var(--pri-ink,#fff);padding:8px 14px;font:inherit;font-size:14px;font-weight:600;cursor:pointer;white-space:nowrap}
.studio-app.on-proj .tbar .gwrap{display:flex;align-items:center;gap:8px}
.pjsugrow{display:flex;align-items:center;gap:10px;width:100%;margin-top:10px;padding:12px 14px;border-radius:14px;border:1px dashed var(--line);background:none;font:inherit;font-size:14px;color:var(--muted);text-align:left;cursor:pointer}
.pjsugrow svg{width:16px;height:16px;color:#E97F2C;flex:none}.pjsugrow span{flex:1;min-width:0}.pjsugrow b{color:var(--pri);font-weight:600}
.ts-call.pjq{background:none;border:1px dashed var(--line);box-shadow:none;color:var(--muted);min-height:0;padding:10px 14px;border-radius:14px;margin-top:10px}.ts-call.pjq .ic{background:none;color:#E97F2C;width:20px;height:20px;border-radius:0}.ts-call.pjq .ic svg{width:16px;height:16px}.ts-call.pjq b{color:var(--muted);font-weight:500}.ts-call.pjq .sub{display:none}.ts-call.pjq .go{background:none;color:var(--pri);box-shadow:none}
/* (v483) People: + Add, and more ways to reach someone */
.pp-top .pp-add{margin-left:auto;height:34px;padding:0 14px;font-size:14px}
.pp-ways{display:flex;flex-direction:column;background:var(--card);box-shadow:var(--shadow);border-radius:16px;overflow:hidden}
.pp-way{display:flex;align-items:center;gap:12px;width:100%;border:0;border-top:1px solid var(--line);background:none;padding:12px 14px;font:inherit;text-align:left;color:var(--ink)}.pp-way:first-child{border-top:0}
.pp-way .ic{flex:none;width:36px;height:36px;border-radius:11px;background:var(--pri-soft);color:var(--pri);display:grid;place-items:center}.pp-way .ic svg{width:18px;height:18px}
.pp-way b{display:block;font-size:14.5px;font-weight:600}.pp-way small{display:block;font-size:12.5px;color:var(--muted);line-height:1.35;margin-top:1px}.pp-way>svg{width:16px;height:16px;color:var(--faint);flex:none}
.pp-copy{display:flex;gap:8px;padding:10px 14px 12px;border-top:1px solid var(--line)}.pp-copy button{flex:1;height:36px;border:1px solid var(--line);border-radius:10px;background:var(--card);font:inherit;font-size:13.5px;color:var(--pri-dark)}
.pp-picked{margin-top:-2px} .pp-picked .chip > span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pkrow{padding-right:14px}  /* room for the arrow (Zach, Nov 13: "doesn't have enough padding") */
/* (v488) a debrief: what may be another project's first, then each line with where it came from */
.dbpts{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.dbpts li{display:flex;gap:8px;align-items:flex-start;font-size:15px;line-height:1.45;padding:7px 0;border-top:1px solid var(--line)}
.dbpts li:first-child{border-top:0}
.dbpts li>i{flex:none;width:6px;height:6px;border-radius:50%;background:var(--muted);margin-top:9px}
.dbpts li>span{flex:1;min-width:0}
.dbchips{display:flex;gap:4px;flex:none;flex-wrap:wrap;justify-content:flex-end;max-width:42%}
.dbsrc{display:inline-flex;align-items:center;gap:3px;border:0;font:inherit;font-size:12px;color:var(--pri);background:var(--pri-soft);border-radius:999px;padding:3px 8px;cursor:pointer;white-space:nowrap}
.dbsrc svg{width:13px;height:13px}
.dbflag{border-radius:16px;padding:12px 14px;background:rgba(233,127,44,.1);box-shadow:inset 0 0 0 1.5px #E97F2C;display:flex;flex-direction:column;gap:8px;text-align:left}
.dbflag .h{display:flex;gap:8px;align-items:center;font-size:15px;font-weight:600}
.dbflag .h svg{width:17px;height:17px;color:#B25A16;flex:none}
.dbflag .w{font-size:14px;color:var(--muted);line-height:1.4}
.dbflag .b{display:flex;gap:8px;flex-wrap:wrap}
.dbflag .b .btn{padding:0 14px}
.dbflag.done{background:none;box-shadow:inset 0 0 0 1px var(--line)}
.dbflag.done .h svg{color:var(--muted)}
.dbwait{display:flex;gap:6px;font-size:13.5px;color:var(--muted)}
.dbwait svg{width:15px;height:15px;color:#E97F2C;flex:none;margin-top:1px}
.dsq{font-size:20px;font-weight:650;line-height:1.3;text-align:left}.dswhy{font-size:14.5px;line-height:1.45;color:var(--ink);text-align:left}.dswhy span{display:block;font-size:11.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin-bottom:2px}.dssrc{display:flex;gap:10px;align-items:center;text-align:left}.dssrc .ic{width:32px;height:32px;border-radius:9px;background:var(--pri-soft);color:var(--pri);display:grid;place-items:center;flex:none}.dssrc .ic svg{width:17px;height:17px}.dssrc b{display:block;font-size:15px;font-weight:600}.dssrc small{display:block;font-size:12.5px;color:var(--muted)}.dsconv{display:flex;flex-direction:column;gap:2px;text-align:left}.dsc{padding:6px 12px;border-radius:12px;font-size:15px;line-height:1.45}.dsc b{display:block;font-size:12.5px;font-weight:650;color:var(--muted);margin-bottom:1px}.dsc.same{padding-top:0}.dsc.hl{background:rgba(233,127,44,.12);box-shadow:inset 3px 0 0 #E97F2C}.dsc.hl b{color:#B95D17}.dsmh{display:flex;justify-content:space-between;gap:8px;align-items:baseline;padding:10px 12px 4px;border-top:1px solid var(--line2);margin-top:4px}.dsmh b{font-size:13.5px;font-weight:650}.dsmh span{font-size:12px;color:var(--muted)}.dstm{font-size:11.5px;color:var(--faint);padding:8px 12px 2px}.dsmore2{display:flex;align-items:center;justify-content:center;gap:4px;border:1px dashed var(--line);border-radius:12px;background:none;font:inherit;font-size:14px;color:var(--pri);padding:9px;margin:4px 0;cursor:pointer}.dsmore2 svg{width:16px;height:16px}.dsfb{display:flex;flex-wrap:wrap;gap:8px}.dsfb .btn{flex:1 1 40%;min-width:0;padding-left:8px;padding-right:8px}.dsfb .btn.pri{flex:1 1 100%}
.msmv{border:1px solid var(--line);border-radius:14px;padding:10px 12px;display:flex;flex-direction:column;gap:2px}.msmv-r{display:flex;flex-direction:column;gap:4px}.msmv-l{font-size:11.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}.msmv-p{display:flex;align-items:center;gap:8px;font-size:15.5px;color:var(--ink)}.msmv-p .av{width:26px;height:26px;font-size:10.5px}.msmv-r.to .msmv-p b{color:var(--pri)}.msmv-q{background:var(--line2);color:var(--muted)}.msmv-a{display:flex;align-items:center;gap:10px;font-size:13px;color:var(--muted);padding:6px 0 6px 12px}.msmv-ln{width:2px;height:22px;background:var(--line);position:relative;margin-right:4px}.msmv-ln:after{content:'';position:absolute;left:-4px;bottom:-2px;border:5px solid transparent;border-top-color:var(--line);border-bottom:0}.msmv-why{font-size:14px;line-height:1.45}.msmv-said{display:inline-flex;align-items:center;gap:2px;border:0;background:none;font:inherit;font-size:14px;color:var(--pri);padding:2px 0;cursor:pointer;align-self:flex-start}.msmv-said svg{width:16px;height:16px}
.sbody:has(>.cedfoot),.sbody:has(>.sfoot){padding-bottom:0}
.cedfoot,.sfoot{position:sticky;bottom:0;z-index:2;margin:0 -20px;padding:12px 20px calc(12px + env(safe-area-inset-bottom));background:var(--card);border-top:1px solid var(--line2)}
.sheet.kbg .cedfoot,.sheet.kbd .cedfoot,.sheet.kbg .sfoot,.sheet.kbd .sfoot{position:static}
/* Log time on a phone, a full page (Zach, Nov 12): the top bar close under the status bar, and Log with Throw this timer away pinned together at the foot */
.sheet.page.lgpage .shead{padding-top:max(8px,calc(var(--sat, env(safe-area-inset-top, 0px)) - 8px));padding-bottom:0}
.sheet.page.lgpage .sbody{padding-top:4px}
.sheet.page .sbody>.sfoot{margin-top:auto}   /* a full page: Log at the foot of the screen however few tasks, as with many (Zach, Nov 12) */
.sheet.page.kbg .sbody>.sfoot,.sheet.page.kbd .sbody>.sfoot{margin-top:0}   /* typing: after the fields, as before */
.lg1foot{display:flex;flex-direction:column;padding-top:10px;padding-bottom:calc(2px + env(safe-area-inset-bottom))}
.lg1foot .lg1away{padding:8px 10px}
.dsline{margin:0 -20px;padding:10px 20px;background:rgba(233,127,44,.12);box-shadow:inset 3px 0 0 #E97F2C;font-size:15px;line-height:1.4;text-align:left}
.dsback{display:inline-flex;align-items:center;gap:2px;border:0;background:none;color:var(--pri);font:inherit;font-size:15px;padding:0;cursor:pointer;align-self:flex-start}
.dsback svg{width:16px;height:16px}
.pjflag{display:flex;align-items:center;gap:8px;width:100%;border:0;background:rgba(233,127,44,.1);color:var(--ink);border-radius:12px;padding:9px 12px;font:inherit;font-size:14px;text-align:left;cursor:pointer}
.pjflag svg{width:16px;height:16px;flex:none;color:#B25A16}
.pjflag .clip{flex:1;min-width:0}
/* (v501) dots under Your projects, like the timer's: tap one, or slide along them */
.pcdock.dots{gap:0;min-height:0;margin:-4px -16px -6px;padding:10px 16px 8px}
@media (min-width:861px){.pcdock.dots{margin:-4px 0 -6px;padding:10px 0 8px}}
.pcdock.dots button{position:relative;width:8px;height:8px;margin:0 3px;border-radius:4px;background:var(--line);opacity:1;box-shadow:none;transition:width .25s cubic-bezier(.22,.8,.24,1),background .2s,transform .15s}
.pcdock.dots button::after{content:"";position:absolute;inset:-10px -5px}
.pcdock.dots button:first-child{margin-left:auto}
.pcdock.dots button:last-child{margin-right:auto}
.pcdock.dots button.on{width:18px;height:8px;border-radius:4px;background:var(--pri);box-shadow:none}
.pcdock.dots.scrub button.on{width:26px;transform:scaleY(1.25)}
/* Needs you's last card when more wait than it shows: See all opens Inbox (Zach, Nov 7) */
.pc.ibseeall{align-items:center;justify-content:center;text-align:center;gap:8px}
.pc.ibseeall .pcacts{margin-top:4px;justify-content:center}
.pc.ibseeall .pcb.p{max-width:none}
.ibseeall-go{width:48px;height:48px;border-radius:50%;background:var(--pri-soft);color:var(--pri);display:grid;place-items:center}
.ibseeall-go svg{width:22px;height:22px}
/* Needs you: its cards made like the project cards; the bell answers a tap like the buttons (Zach, Nov 7) */
.pc.ibpc .pcn .ibbell{pointer-events:auto;width:32px;height:32px;margin:-8px -8px -8px 0;color:inherit;opacity:.8}
.pc.ibpc .pcn .ibbell svg{width:18px;height:18px}
.pc.ibpc .pct{overflow-wrap:anywhere}
/* (v505) one line, short names; a second button that can't fit drops out of sight instead of wrapping */
.pcacts{margin-top:auto;display:flex;flex-wrap:wrap;gap:7px;padding-top:3px;min-width:0;max-height:41px;overflow:hidden}
.pcb{flex:none;max-width:100%;white-space:nowrap;line-height:1.25}
/* (v500) Log time: the time is a pair of rollers, the same ones as Rough times, three rows tall */
.wheels.w3{height:108px;width:100%;max-width:260px;margin:0 auto}
.lg1card .witem,.lg1pts .witem{text-align:right}
.w3 .wscroll{height:108px}
.w3 .wpad{height:36px}
.w3 .wband{top:36px;background:var(--pri-soft)}
.w3 .wunit{top:36px;font-size:15px;color:var(--muted)}
.w3.big .witem{font-size:30px;font-weight:300}
.w3 .witem{font-size:22px}
.lg1pt.open{flex-wrap:wrap;cursor:default}
.lg1dr{flex-basis:100%;margin:2px -4px 0}
.lg1dr .wband{background:color-mix(in srgb,var(--pri) 14%,var(--card))}
.lg1h small.t{color:var(--muted);font-weight:500}
.lg1dec.c{text-align:center;margin-top:0}
/* (v504) Hours: tap a project for its own week or month */
button.item.hxrow{width:100%;text-align:left;font:inherit;color:inherit;border:0;cursor:pointer;background:none}
.hx-top{display:flex;gap:12px;align-items:center}.hx-top .grow{min-width:0}.hx-top b{display:block;font-size:19px;font-weight:650}.hx-top small{color:var(--muted);font-size:13px}
.hx-big{font-size:40px;font-weight:300;letter-spacing:-.01em;line-height:1;font-variant-numeric:tabular-nums}.hx-sub{color:var(--muted);font-size:13.5px;margin-top:4px}
.hx-fee{display:flex;flex-direction:column;gap:6px;padding:12px 14px;border-radius:14px;background:var(--line2)}.hx-fee .r{display:flex;justify-content:space-between;font-size:13.5px}.hx-fee .bar{height:8px;border-radius:4px;background:var(--card);overflow:hidden;display:flex}.hx-fee .bar i{display:block;height:100%;background:var(--pri)}
.hx-bars{display:flex;align-items:flex-end;gap:8px;height:124px;padding:0 4px}.hx-bars>button{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;gap:4px;height:100%;justify-content:flex-end;border:0;background:none;padding:0;font:inherit;cursor:pointer}
.hx-bars i{display:block;width:100%;border-radius:6px 6px 3px 3px;background:var(--pri)}.hx-bars i.z{background:var(--line2);height:4px}.hx-bars span{font-size:11px;color:var(--muted);white-space:nowrap}.hx-bars em{font-style:normal;font-size:11px;font-weight:600;color:var(--ink);min-height:13px}
.hx-split{display:flex;flex-direction:column;gap:8px}.hx-split .bar{display:flex;height:12px;border-radius:6px;overflow:hidden;gap:2px}.hx-split .bar i{display:block}.hx-split .k{display:flex;flex-wrap:wrap;gap:6px 14px;font-size:13px;color:var(--muted)}.hx-split .k i{display:inline-block;width:10px;height:10px;border-radius:3px;margin-right:6px;vertical-align:-1px}
.hx-day{display:flex;flex-direction:column;border-radius:16px;box-shadow:var(--shadow);background:var(--card);overflow:hidden}
.hx-dh{display:flex;justify-content:space-between;align-items:baseline;padding:12px 14px 4px;font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);font-weight:600}
.hx-e{display:flex;gap:10px;align-items:flex-start;padding:10px 14px 12px;border:0;background:none;font:inherit;color:var(--ink);text-align:left;width:100%;cursor:pointer}.hx-e+.hx-e{border-top:1px solid var(--line2)}
.hx-e .t{flex:1;min-width:0;font-size:14.5px;line-height:1.4}.hx-e .t small{display:block;color:var(--muted);font-size:12.5px;margin-top:2px}.hx-e .h{font-weight:600;font-variant-numeric:tabular-nums;font-size:14.5px;white-space:nowrap}.hx-e svg{width:16px;height:16px;color:var(--faint);margin-top:3px;flex:none}
.hx-e.more{color:var(--pri);font-weight:600;justify-content:center}
/* (v490) the new-event panel slides in, follows your finger up, and grows into the full form without a jump */
#cvpeek.in{animation:cvpin .34s cubic-bezier(.2,.9,.25,1) backwards}
@keyframes cvpin{from{transform:translateY(100%)}}
#cvpeek.drag{transition:none;overflow:hidden;border-radius:28px 28px 0 0}
#cvpeek.go{transition:height .3s cubic-bezier(.2,.9,.25,1),border-radius .3s,transform .3s cubic-bezier(.2,.9,.25,1);overflow:hidden}
#cvpeek.away{transition:transform .24s ease-in;transform:translateY(105%)}
#cvscrim{position:fixed;inset:0;z-index:39;background:rgba(0,0,0,.32);opacity:0;pointer-events:none}
#cvscrim.go{transition:opacity .3s}
/* (v516) a step-by-step sheet: × on the right to leave, past the first step */
.navb.wzx{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;padding:0;margin-right:-8px;color:var(--muted)} .navb.wzx svg{width:20px;height:20px}
/* (v519) the phone's AutoFill tints a filled box yellow: keep each box in the app's own colors */
input:-webkit-autofill,input:-webkit-autofill:hover,input:-webkit-autofill:focus,textarea:-webkit-autofill,select:-webkit-autofill{-webkit-text-fill-color:var(--ink);caret-color:var(--ink);-webkit-box-shadow:0 0 0 1000px var(--field) inset;box-shadow:0 0 0 1000px var(--field) inset;transition:background-color 600000s 0s,color 600000s 0s}
/* (v528) the latest message shows up to two lines; when it runs longer, the end of the second line fades (no dots) */
.pcmsg{align-items:flex-start}.pcmsg span{display:block;white-space:normal;overflow:hidden;overflow-wrap:anywhere;min-width:0;line-height:1.3em;max-height:2.6em}.pcmsg b{font-weight:650}.pcmsg svg{flex:none;opacity:.6;margin-top:1px}
.pcmsg span.cut{-webkit-mask-image:linear-gradient(#000,#000),linear-gradient(90deg,#000 62%,transparent);-webkit-mask-size:100% 1.3em,100% 1.3em;-webkit-mask-position:0 0,0 1.3em;-webkit-mask-repeat:no-repeat;mask-image:linear-gradient(#000,#000),linear-gradient(90deg,#000 62%,transparent);mask-size:100% 1.3em,100% 1.3em;mask-position:0 0,0 1.3em;mask-repeat:no-repeat}
/* (release 337) boxes on iPhone use the size it expects (16px), so tapping one doesn't zoom the page */
.bkp .bksrc select{font-size:16px}
/* (v510) My office: Google Maps' matches under the box, and a small map of the one picked */
.ofok{margin-top:-4px;border:1px solid var(--line);border-radius:16px;overflow:hidden;background:var(--card)}
.ofmap{display:block;width:100%;height:132px;object-fit:cover;background:var(--line2)}
.ofokl{display:flex;align-items:center;gap:8px;padding:10px 12px;font-size:13.5px;font-weight:500;background:var(--pop-ok);color:var(--pop-ok-ink)} .ofokl svg{width:18px;height:18px;flex:none}
.ofdrop{margin-top:-4px} .ofpin{width:36px;height:36px;border-radius:50%;background:var(--line2);color:var(--muted);display:flex;align-items:center;justify-content:center;flex:none} .ofpin svg{width:18px;height:18px}
.ofnone{margin-top:-4px;font-size:13px}
.ofhere{margin-top:-10px;align-self:flex-start} .ofhere svg{width:16px;height:16px;margin-right:4px}
.adr{display:flex;flex-direction:column;gap:8px} .adrow{display:flex;gap:8px;align-items:flex-end} .adrow .f{flex:1 1 0%;margin:0} .adr .ofdrop,.adr .ofnone{margin-top:0}
/* (v493, v499, v503, v514, v515, v525) New meeting: who's coming, where, the drive, and the calendar under When (live as of v528) */
@keyframes nmpop{from{transform:scale(.4);opacity:0}}
.nmcal2{display:flex;flex-direction:column;gap:10px}
.seg.nmvsw .pill{flex:1 1 0px;min-height:38px;padding:0 6px;font-size:14px;border:0;background:transparent;color:var(--muted)}
.seg.nmvsw .pill.on{background:var(--card);color:var(--ink);font-weight:600;box-shadow:rgba(27,40,48,.12) 0 1px 3px}
.nmkey2{display:flex;flex-wrap:wrap;gap:4px 14px;font-size:12.5px;color:var(--muted);padding:0 2px}
.nmkey2 i{font-style:normal;display:inline-flex;align-items:center;gap:6px}
.nmkey2 span{display:inline-block;width:14px;height:10px;border-radius:3px;flex:0 0 auto}
.nmkey2 .nmk-me{background:var(--beige);box-shadow:inset 0 0 0 1px var(--line)}
.nmkey2 .nmk-tm{background:repeating-linear-gradient(135deg,color-mix(in srgb,var(--hi) 55%,transparent) 0 3px,transparent 3px 6px)}
.nmkey2 .nmk-new{background:var(--pri)}
.nmkey2 .nmk-dme,.nmkey2 .nmk-dtm{width:8px;height:8px;border-radius:50%}
.nmkey2 .nmk-dme{background:var(--faint)}
.nmkey2 .nmk-dtm{background:var(--hi)}
.nmstrip{display:flex;align-items:stretch;gap:5px}
.nmsar{flex:0 0 auto;width:26px;border:0;background:transparent;color:var(--pri);display:flex;align-items:center;justify-content:center;padding:0;border-radius:10px}
.nmsar svg{width:18px;height:18px}
.nmwkd{flex:1 1 0px;min-width:0;border:0;border-radius:14px;background:var(--card);box-shadow:inset 0 0 0 1px var(--line);color:var(--muted);font-size:12px;padding:7px 0 6px;display:flex;flex-direction:column;align-items:center;gap:2px}
.nmwkd b{font-size:17px;font-weight:600;color:var(--ink);line-height:1.15}
.nmwkd.today b{color:var(--pri)}
.nmwkd .nmdots{display:flex;gap:2px;height:5px}
.nmwkd .nmdots u{width:5px;height:5px;border-radius:50%;background:var(--faint)}
.nmwkd.on{background:var(--pri);box-shadow:none;color:rgba(255,255,255,.82)}
.nmwkd.on b{color:#fff}
.nmwkd.on .nmdots u{background:#fff}
.nmwkd.nmpast{opacity:.45}
.nmcard{border-radius:16px;background:var(--card);box-shadow:var(--shadow);padding:8px 8px 6px}
.nmcard .nmgs{border-top:0}
.nmwnav{display:flex;align-items:center;justify-content:space-between;padding:0 0 6px;font-size:14.5px;font-weight:600}
.nmwnav button{border:0;background:transparent;color:var(--pri);width:36px;height:34px;display:flex;align-items:center;justify-content:center;border-radius:999px;padding:0}
.nmwnav button svg{width:20px;height:20px}
.nmg{--gut:34px;position:relative}
.nmg.wk{--gut:26px}
.nmg.nmv2{--gut:36px}
.nmg.nmv2.wk{--gut:28px}
.nmgh{display:grid;grid-template-columns:var(--gut) repeat(var(--n),1fr);margin-bottom:4px}
.nmgd{border:0;background:transparent;color:var(--ink);display:flex;flex-direction:column;align-items:center;gap:1px;padding:2px 0;border-radius:10px}
.nmgd i{font-style:normal;font-size:10.5px;color:var(--muted)}
.nmgd b{font-size:14px;font-weight:600;width:26px;height:26px;border-radius:50%;display:flex;align-items:center;justify-content:center}
.nmgd.today b{color:var(--pri)}
.nmgd.sel b{background:var(--pri);color:var(--pri-ink)}
.nmall{display:grid;grid-template-columns:repeat(var(--n),1fr);gap:2px;margin:0 0 4px var(--gut)}
.nmg.wk .nmall{grid-template-columns:var(--gut) repeat(var(--n),1fr);margin-left:0}
.nmall>div{display:flex;flex-direction:column;gap:2px;min-width:0}
.nmall i{display:block;font-style:normal;font-size:11px;background:var(--beige);border:1px solid var(--line);border-radius:6px;padding:1px 6px;min-height:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nmall i.ooo{background:var(--amber-soft)}
.nmall em{font-style:normal;font-size:10px;color:var(--muted)}
.nmgs{max-height:380px;overflow-y:auto;overscroll-behavior:contain;border-top:1px solid var(--line)}
.nmg.nmv2 .nmgs{max-height:440px}
.nmgb{position:relative}
.nmhr{position:absolute;left:var(--gut);right:0;border-top:1px dashed var(--line)}
.nmhr span{position:absolute;left:calc(-1 * var(--gut));top:-7px;width:calc(var(--gut) - 6px);text-align:right;font-size:10.5px;color:var(--faint)}
.nmgc{position:absolute;top:0;bottom:0;border-left:1px solid var(--line2);cursor:pointer}
.nmgc.today{background:var(--pri-soft)}
.nmg.nmv2 .nmgc{border-left:0}
.nmg.nmv2.wk .nmgc{border-left:1px solid var(--line2)}
.nmg.nmv2 .nmgc.today{background:transparent}
.nmnow{position:absolute;left:0;right:0;border-top:2px solid var(--red);z-index:3}
.nmev,.nmnew{position:absolute;border-radius:6px;padding:2px 6px;overflow:hidden;font-size:11.5px;line-height:1.25;display:flex;flex-direction:column;pointer-events:none}
.nmg.wk .nmev,.nmg.wk .nmnew{padding:1px 3px;font-size:9.5px;border-radius:4px}
.nmev b,.nmnew b{font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nmev span,.nmnew span{opacity:.75;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nmev{background:var(--beige);color:var(--ink);border:1px solid var(--line)}
.nmev.own{opacity:.85}
.nmev.free{background:transparent;border-style:dashed;color:var(--muted)}
.nmev.pend{background:transparent;border:1.5px dashed var(--pri);color:var(--pri)}
.nmev.ooo{background:var(--amber-soft)}
.nmev.fresh{animation:nmfresh 2.6s ease-out}
.nmnew{z-index:2;pointer-events:auto;touch-action:none;cursor:grab}
.nmnew.drag{z-index:4;cursor:grabbing;transition:top .09s ease-out}
.nmnew.call{background:var(--pri);color:var(--pri-ink);box-shadow:rgba(27,40,48,.18) 0 2px 8px}
.nmnew.call.drag{box-shadow:rgba(27,40,48,.3) 0 8px 22px}
.nmnew.prep,.nmnew.wind{background:var(--pri-soft);border:1px dashed var(--pri)}
.nmnew.trav{background:repeating-linear-gradient(135deg,var(--pri-soft) 0 6px,color-mix(in srgb,var(--pri) 18%,transparent) 6px 12px);border:0;z-index:1}
@media (prefers-reduced-motion:reduce){.nmev.fresh{animation:none}.nmnew.drag{transition:none}}
.nmg.nmv2 .nmev{border-radius:8px}
.nmg.nmv2.nmd1 .nmev,.nmg.nmv2.nmd1 .nmnew{padding:4px 8px;font-size:12px;line-height:1.2}
.nmg.nmv2.nmd1 .nmev b,.nmg.nmv2.nmd1 .nmnew b{font-size:13px}
.nmg.nmv2.nmd1 .nmev b,.nmg.nmv2.nmd1 .nmnew b,.nmg.nmv2.nmd1 .nmev span,.nmg.nmv2.nmd1 .nmnew span{white-space:normal;text-overflow:clip;overflow:visible;overflow-wrap:normal;word-break:normal}
.nmg.nmv2.wk .nmev{padding:2px 3px;border-radius:5px}
.nmg.nmv2.wk .nmev b{white-space:normal;text-overflow:clip;font-size:10px;line-height:1.15;color:var(--muted);overflow-wrap:normal;word-break:keep-all}
.nmg.nmv2 .nmnew.call{border-radius:9px;box-shadow:0 5px 14px color-mix(in srgb,var(--pri) 35%,transparent)}
.nmg.nmv2 .nmnew.call .nmdt{font-style:normal;opacity:.85;line-height:1.2}
.nmg.nmv2 .nmnew.call .nmdt span{opacity:1;white-space:nowrap}
.nmg.nmv2 .nmnew.call .nm1l{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:600;opacity:1}
.nmg.nmv2.wk .nmnew.call b{font-size:10px;text-overflow:clip}
.nmg.nmv2 .nmnew.call b,.nmg.nmv2 .nmnew.call .nmdt{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nmtb{position:absolute;border-radius:8px;padding:4px 7px;overflow:hidden;pointer-events:none;font-size:12px;line-height:1.2;color:var(--amber);background:repeating-linear-gradient(135deg,color-mix(in srgb,var(--hi) 22%,transparent) 0 5px,color-mix(in srgb,var(--hi) 7%,transparent) 5px 10px);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--hi) 45%,transparent)}
.nmtb b{display:block;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nmtz{position:absolute;left:1px;right:1px;border-radius:4px;pointer-events:none;background:repeating-linear-gradient(135deg,color-mix(in srgb,var(--hi) 38%,transparent) 0 3px,transparent 3px 6px)}
.nmmth{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}
.nmmth>small{text-align:center;font-size:11px;color:var(--faint);font-weight:600;padding-bottom:2px}
.nmmcell{border:0;border-radius:10px;background:var(--bg);box-shadow:inset 0 0 0 1px var(--line);color:var(--ink);padding:6px 2px 5px;display:flex;flex-direction:column;align-items:center;gap:3px;min-width:0}
.nmmcell b{font-size:15px;font-weight:600}
.nmmcell .nmdots{display:flex;gap:2px;height:5px}
.nmmcell .nmdots u{width:5px;height:5px;border-radius:50%;background:var(--faint)}
.nmmcell .nmdots u.nmut{background:var(--hi)}
.nmmcell em{font-style:normal;font-size:10px;color:var(--muted);white-space:nowrap}
.nmmcell.nmfull{background:var(--line2)}
.nmmcell.nmfull em{color:var(--amber)}
.nmmcell.today b{color:var(--pri)}
.nmmcell.nmpast{opacity:.45}
.nmmcell.on{background:var(--pri);box-shadow:none}
.nmmcell.on b,.nmmcell.on em{color:#fff}
.nmmcell.on .nmdots u{background:#fff}
.nmday2{border-radius:16px;background:var(--card);box-shadow:var(--shadow);padding:12px 14px;display:flex;flex-direction:column;gap:7px}
.nmday2>b{font-size:15px;font-weight:600}
.nmmrow{display:flex;gap:10px;align-items:center}
.nmmrow .nmmt{width:46px;flex:0 0 auto;font-size:12.5px;color:var(--muted);font-variant-numeric:tabular-nums}
.nmmrow .nmme{flex:1 1 0%;min-width:0;padding:6px 10px;border-radius:8px;font-size:13.5px;background:var(--beige);box-shadow:inset 0 0 0 1px var(--line);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nmfr2{font-size:13px;line-height:1.45;color:var(--muted)}
.nmload{display:flex;align-items:center;justify-content:center;gap:8px;color:var(--muted);font-size:14px}
.nmerr{padding:16px 8px;color:var(--amber);font-size:14px}
.nmst{font-size:13.5px;line-height:1.45;padding:10px 12px;border-radius:12px;background:var(--line2);color:var(--muted)}
.nmst.warn{background:var(--amber-soft);color:var(--amber)}
.nmst.ok{background:var(--pri-soft);color:var(--pri);display:flex;gap:8px;align-items:flex-start}
.nmst.ok svg{width:18px;height:18px;flex:0 0 auto;margin-top:1px}
.nmst.ok span span{color:var(--muted)}
.nmh{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);font-weight:600;margin:6px 2px -2px}
.nmfaces{display:flex;gap:14px;overflow-x:auto;padding:8px 2px 2px;margin:0 -2px}
.nmface{position:relative;flex:0 0 auto;width:64px;display:flex;flex-direction:column;align-items:center;gap:3px;text-align:center}
.nmface .av,.nmface .av.sm{width:48px;height:48px;font-size:15px}
.nmface b{font-size:13px;font-weight:600;max-width:64px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nmface small{font-size:11px;color:var(--muted);max-width:64px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nmface .x{position:absolute;top:-4px;right:2px;width:22px;height:22px;border-radius:50%;border:0;background:var(--card);box-shadow:rgba(0,0,0,.22) 0 1px 4px;color:var(--muted);font-size:14px;line-height:1;display:grid;place-items:center;padding:0;cursor:pointer}
.nmface.pop{animation:nmpop .32s cubic-bezier(.2,.9,.3,1.3)}
.nmlist{background:var(--card);border-radius:16px;box-shadow:var(--shadow);overflow:hidden}
.nmrow{display:flex;gap:12px;align-items:center;width:100%;border:0;border-top:1px solid var(--line);background:none;padding:10px 14px;font:inherit;color:var(--ink);text-align:left;cursor:pointer;max-height:80px;transition:max-height .17s,opacity .17s,padding .17s}
.nmlist>.nmrow:first-child{border-top:0}
#nmqres>.nmrow:first-child{border-top:1px solid var(--line)}
.nmrow .av,.nmrow .av.sm{width:34px;height:34px;font-size:12px;flex:0 0 auto}
.nmrow .g{flex:1 1 0%;min-width:0}
.nmrow b{display:block;font-weight:600;font-size:15px}
.nmrow small{display:block;font-size:12.5px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nmrow .ring{width:26px;height:26px;border-radius:50%;border:2px solid var(--check,#c9c5bf);flex:0 0 auto;transition:.15s}
.nmrow:active .ring,.nmrow.go .ring{background:var(--pri);border-color:var(--pri)}
.nmrow.go{max-height:0;opacity:0;padding-top:0;padding-bottom:0}
.nmsrow{display:flex;gap:12px;align-items:center;padding:4px 14px;border-top:1px solid var(--line);color:var(--muted)}
.nmsrow svg{width:18px;height:18px;flex:0 0 auto}
.nmsrow input{flex:1 1 0%;min-width:0;border:0;background:none;font:inherit;font-size:16px;color:var(--ink);padding:10px 0;outline:none}
.nmsrow input:-webkit-autofill,.nmsrow input:-webkit-autofill:focus{-webkit-box-shadow:0 0 0 1000px var(--card) inset;box-shadow:0 0 0 1000px var(--card) inset}
.nmnone{padding:12px 14px;font-size:13.5px;color:var(--muted);border-top:1px solid var(--line)}
.cvhow{display:flex;flex-direction:column;gap:10px;border:1px solid var(--line);border-radius:16px;padding:14px;background:var(--field)}
.cvhow .cvhow-r{display:flex;align-items:center;gap:12px}
.cvhow .cvhow-i{width:40px;height:40px;flex:0 0 auto;border-radius:12px;display:flex;align-items:center;justify-content:center;background:var(--pri-soft);color:var(--pri)}
.cvhow .cvhow-i svg{width:22px;height:22px}
.cvhow .cvhow-t{flex:1 1 auto;min-width:0}
.cvhow .cvhow-t b{display:block;font-size:16px;font-weight:600;color:var(--ink)}
.cvhow .cvhow-t span{display:block;font-size:13px;color:var(--muted);overflow-wrap:anywhere}
.nmmeet{gap:14px;margin-top:4px}
.nmmeet .cvhow-t span{line-height:1.4}
.nmrec{display:flex;color:var(--red)}
.nmrec svg{width:14px!important;height:14px!important}
.plcap .placts{display:flex;flex-wrap:wrap;gap:6px 16px;align-items:center;margin-top:4px}
.plcap .placts .btn{flex:1 1 0%;min-width:0}
.plcap .plren{margin:2px 0 4px}
.pladd{display:flex;flex-direction:column;gap:10px;margin-top:2px}
.plres:empty{display:none}
.plres{margin-top:-6px}
.plhint{padding:2px 2px 0}
.plist .pkrow{gap:10px}
.plist .title b{font-weight:650}
.plist .grow{display:flex;flex-direction:column;min-width:0}
.plwarn{font-size:12px;color:var(--amber);margin-top:2px;white-space:normal;line-height:1.35}
.plchg{align-self:flex-start;margin-top:6px;font-size:13px}
.plby{font-size:11px;color:var(--faint);text-align:right;padding:4px 4px 0}
.plpin{color:var(--hi);display:inline-flex}
.plpin svg{width:18px;height:18px}
.plpick{flex:0 0 auto;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:var(--card)}
.plmap{aspect-ratio:640/300;background:var(--line2);display:grid;place-items:center}
.plmap img{width:100%;height:100%;object-fit:cover;display:block}
.plcap{display:flex;flex-direction:column;gap:2px;padding:10px 12px;font-size:14px}
.plcap span{color:var(--muted);font-size:13px}
.plcap .plsrc{font-size:12px;color:var(--faint)}
.mtlog{margin:0;padding-left:18px;display:flex;flex-direction:column;gap:4px;font-size:14px;color:var(--muted)}
.mtwhen{font-size:22px;font-weight:600;line-height:1.25}
.mtwait{display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;padding:26px 8px 18px}
.mtspin{width:58px;height:58px;border-radius:50%;background:var(--pri-soft);color:var(--pri);display:grid;place-items:center;margin-bottom:6px}
.mtspin svg{width:26px;height:26px;animation:rfspin .8s linear infinite}
.mtwt{font-size:17px;font-weight:600}
.nmtv{display:flex;gap:10px;align-items:center;border-radius:14px;padding:11px 12px;background:var(--pri-soft);font-size:14.5px;line-height:1.35;text-align:left}
.nmtv>svg{width:18px;height:18px;color:var(--pri);flex:0 0 auto}
.nmtv .g{flex:1 1 0%;min-width:0}
.nmtv b{display:block;font-weight:600}
.nmtv small{display:block;color:var(--muted);font-size:12.5px}
.nmtv .seeall{flex:0 0 auto}
.nmtv small .seeall{font-size:12.5px;padding:0}
.nmmore{display:flex;flex-direction:column;gap:14px}
.nmlenrow .pill{flex:1;min-width:0;padding-left:0;padding-right:0;justify-content:center}
/* (live as of v528) a step's progress bar keeps its height on a long step */
.npbar{flex:none}
/* (v499, v522, v526) New meeting › They pick: the first day and days off on a month, and times by topic (live as of v528) */
.nmcmode{display:flex;background:var(--line2);border-radius:12px;padding:3px;gap:3px}
.nmcmode button{flex:1 1 0%;border:0;border-radius:9px;padding:8px 6px;font:inherit;font-size:14px;background:none;color:var(--muted);display:flex;align-items:center;justify-content:center;gap:7px}
.nmcmode button.on{background:var(--card);color:var(--ink);font-weight:600;box-shadow:rgba(0,0,0,.1) 0 1px 3px}
.nmcmode i{width:12px;height:12px;border-radius:4px;display:inline-block}
.nmcmode i.f{box-shadow:inset 0 0 0 2px var(--pri)}
.nmcmode i.o{background:color-mix(in srgb,var(--red) 10%,var(--card));box-shadow:inset 0 0 0 1.5px color-mix(in srgb,var(--red) 55%,var(--line))}
.nmcsum{display:flex;flex-direction:column;gap:2px;margin-top:10px;padding:11px 14px;border-radius:14px;background:var(--pri-soft);font-size:14.5px;color:var(--ink)}
.nmcsum b{font-weight:650}
.nmcsum small{color:var(--muted);font-size:12.5px;line-height:1.35}
.nmtpill{display:inline-flex;align-items:stretch;padding:0;overflow:hidden}
.nmtpill>button{border:0;background:none;color:inherit;font:inherit;padding:0 4px 0 15px;user-select:none;-webkit-user-select:none;cursor:pointer}
.nmtpill>button.e{display:inline-flex;align-items:center;gap:4px;padding:0 13px 0 10px;margin-left:8px;border-left:1px solid color-mix(in srgb,var(--pri) 25%,transparent);color:var(--pri-dark);font-weight:600}
.nmtpill>button.e svg{width:14px;height:14px}
#nmtpop{position:fixed;inset:0;z-index:70;display:flex;flex-direction:column;justify-content:flex-end;align-items:center}
#nmtpop .sc{position:absolute;inset:0;background:rgba(10,20,26,.42);opacity:0;transition:opacity .2s}
#nmtpop.on .sc{opacity:1}
#nmtpop .pb{position:relative;width:100%;max-width:560px;background:var(--card);border-radius:22px 22px 0 0;padding:10px 18px calc(18px + env(safe-area-inset-bottom,0px));box-shadow:rgba(0,0,0,.18) 0 -10px 30px;transform:translateY(100%);transition:transform .26s cubic-bezier(.2,.9,.25,1)}
#nmtpop.on .pb{transform:none}
@media (min-width:861px){#nmtpop{justify-content:center}#nmtpop .pb{border-radius:22px;max-width:460px}}
@media (prefers-reduced-motion:reduce){#nmtpop .sc,#nmtpop .pb{transition:none}}
#nmtpop .gr{width:38px;height:5px;border-radius:3px;background:var(--line);margin:0 auto 10px}
#nmtpop .hd{display:grid;grid-template-columns:64px 1fr 64px;align-items:center;margin-bottom:4px}
#nmtpop .hd b{font-size:18px;font-weight:650;text-align:center}
#nmtpop .hd button{border:0;background:none;color:var(--pri);font:inherit;font-weight:600;font-size:16px;justify-self:end;padding:8px 0;cursor:pointer}
#nmtpop .sb{font-size:13.5px;color:var(--muted);line-height:1.4;margin-bottom:10px}
#nmtpop .tr{display:flex;align-items:center;gap:10px;padding:10px 0;border-top:1px solid var(--line2)}
#nmtpop .tr .g{flex:1 1 0%;min-width:0;font-size:15px}
#nmtpop .tr small{display:block;color:var(--muted);font-size:12.5px}
#nmtpop .tc{display:flex;gap:6px;flex:0 0 auto}
#nmtpop .tc button{border:1px solid var(--line);border-radius:999px;padding:6px 11px;min-height:34px;font:inherit;font-size:13.5px;background:var(--card);color:var(--ink);font-variant-numeric:tabular-nums;white-space:nowrap;cursor:pointer}
#nmtpop .tc button.on{background:var(--pri-soft);border-color:transparent;color:var(--pri-dark);font-weight:600}
#nmtpop .tft{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:12px;border-top:1px solid var(--line2);font-size:13px;color:var(--muted);min-height:44px}
#nmtpop .tft button{border:0;background:none;color:var(--pri);font:inherit;font-size:13.5px;white-space:nowrap;padding:8px 0;cursor:pointer}
.nmsm{background:var(--card);border-radius:16px;box-shadow:var(--shadow);padding:10px 10px 12px}
.nmsm .h{display:flex;align-items:center;justify-content:space-between;padding:2px 4px 8px;font-weight:600;font-size:15px}
.nmsm .h button{border:0;background:none;color:var(--pri);width:36px;height:36px;display:grid;place-items:center;border-radius:50%}
.nmsm .h button:disabled{opacity:.3}
.nmsm .h svg{width:18px;height:18px}
.nmsm .g{display:grid;grid-template-columns:repeat(7,1fr);gap:4px}
.nmsm small{text-align:center;font-size:11px;color:var(--faint);font-weight:600;padding-bottom:2px}
.nmsm .g span,.nmsm .g button{height:40px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:500;border:0;font-family:inherit}
.nmsm .g span{color:var(--faint);opacity:.5}
.nmsm .g span.wk{opacity:.3}
.nmsm .g button{background:var(--card);box-shadow:inset 0 0 0 1px var(--line);color:var(--ink);cursor:pointer;touch-action:manipulation}
.nmsm .g button.off{background:color-mix(in srgb,var(--red) 10%,var(--card));box-shadow:inset 0 0 0 1.5px color-mix(in srgb,var(--red) 55%,var(--line));color:var(--red);text-decoration:line-through}
.nmsm .g button.first{box-shadow:inset 0 0 0 2px var(--pri);color:var(--pri)}
.pc .sendwait a{pointer-events:auto}   /* a project card passes taps through to open the project (tide's .pc>*); its Connect Google takes them */
.sheet.kbg .npnav,.sheet.kbd .npnav{position:static;margin:4px 0 0;padding:0;box-shadow:none;background:none}   /* live's: typing in a walkthrough, its Next sits under the box */

/* a computer (above 860px): the side menu in place of the tab bar, the top pill and Back (S.html 66, 407) */
@media (min-width: 861px) {
  .side { position: fixed; top: 0; bottom: 0; left: 0; z-index: 22; }
  body { padding-left: 236px; }
  main { max-width: 980px; padding: 40px clamp(18px, 4vw, 56px) 60px; }
  .studio-app.on-today, html.sa .studio-app.on-today { padding-top: 32px; }   /* header room on a computer (Zach, Nov 6) */
  .toppill, .back, #fback, #tsrch, .floatbar { display: none !important; }
  /* Projects' search, in the header in place of the circle by the tab bar, and opening over the page's column (Zach, Nov 6) */
  #hsx .hsbox { --col: min(868px, calc(100vw - 236px - 2 * clamp(18px, 4vw, 56px))); left: calc(236px + (100vw - 236px - var(--col)) / 2); right: auto; width: var(--col); top: 32px; }
}
.hbtopr { display: flex; align-items: center; gap: 12px; }
.hbsrch { display: none; align-items: center; gap: 10px; width: 360px; height: 44px; padding: 0 8px 0 16px; border: 0; border-radius: 22px; background: var(--card); box-shadow: 0 0 0 1px var(--line2), 0 6px 18px rgba(27,40,48,.06); color: var(--muted); font: inherit; font-size: 15px; cursor: text; }
.hbsrch svg { width: 18px; height: 18px; flex: none; }
.hbsrch span { flex: 1; text-align: left; }
.hbsrch kbd { font: inherit; font-size: 12px; font-weight: 600; color: var(--muted); background: var(--line2); border-radius: 6px; padding: 4px 7px; }
.hbsrch:hover { box-shadow: 0 0 0 1px var(--muted), 0 6px 18px rgba(27,40,48,.06); }
@media (min-width: 861px) { .hbsrch { display: flex; } }

/* a timer started here, its clock waiting on the server: faint zeros that pulse, then dark and counting (Zach, Oct 27) */
.tmxclk.pending, .tlclk.pending { opacity: .35; animation: clkwait 1s ease-in-out infinite; }
@keyframes clkwait { 50% { opacity: .12; } }
@media (prefers-reduced-motion: reduce) { .tmxclk.pending, .tlclk.pending { animation: none; } }
.hu-row .tt { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }   /* Zach, Oct 27: a long Heads up title stops at three lines with … */

/* Talk to type (tmxMic): the mic sits under the card's time so the task's name has the room (Zach, Oct 27); tap to talk, tap to stop, and the card shows it's listening away from the thumb (Zach, Nov 8) */
.tmxr{display:flex;flex-direction:column;align-items:flex-end;gap:6px;flex:none}
.tmxmic{flex:none;width:34px;height:34px;border-radius:50%;border:0;background:var(--pri-soft);color:var(--pri);display:grid;place-items:center;cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;touch-action:none;transition:transform .15s,background .15s}
.tmxmic svg{width:17px;height:17px}
.tmxmic.on{width:42px;height:42px;margin:-4px -4px 0 0;background:#E97F2C;color:#fff;animation:tmxBeat 1.3s ease-in-out infinite}
.tmxstop{width:13px;height:13px;border-radius:3px;background:#fff;display:block}
.tmxc.listening{border-color:#E97F2C;box-shadow:0 0 0 3px rgba(233,127,44,.18)}
.tmxc.listening[data-hear=notes] textarea.tmxd,.tmxc.listening[data-hear=title] textarea.tmxti{color:var(--ink);background:var(--card);box-shadow:0 0 0 1.5px #E97F2C}
.tmxlisten{font-size:13px;font-weight:600;color:#9A4E12;line-height:1.4}
.tmxlisten .dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#E97F2C;margin-right:7px;vertical-align:1px;animation:tmxBeat 1.3s ease-in-out infinite}
.tmxlisten .sq{display:inline-block;width:9px;height:9px;border-radius:2px;background:currentColor;vertical-align:0}
@keyframes tmxBeat{0%,100%{box-shadow:0 0 0 0 rgba(233,127,44,.45)}50%{box-shadow:0 0 0 7px rgba(233,127,44,0)}}
@media (prefers-reduced-motion:reduce){.tmxmic{transition:none}.tmxmic.on,.tmxlisten .dot{animation:none;box-shadow:0 0 0 5px rgba(233,127,44,.25)}}
.studio-item-button { width: 100%; border: 0; background: transparent; text-align: left; color: inherit; font: inherit; }
.studio-retainer-bar { width: min(140px, 30%); flex: none; }
.studio-links { display: flex; gap: 16px; }

/* A sheet that is busy sending or saving: it greys under a spinner and can't be closed (live's sbusy) */
.busyov { position: relative; }
.busyov .sbody { filter: grayscale(1); }
.sbusy { position: absolute; inset: 0; z-index: 20; display: flex; align-items: center; justify-content: center; background: rgba(120, 128, 132, .42); border-radius: inherit; pointer-events: auto; cursor: progress; }
.sbusy.sbin { animation: sbin .18s ease; }
.sbusyc { display: flex; align-items: center; gap: 12px; padding: 14px 22px; border-radius: 16px; background: var(--card); color: var(--ink); box-shadow: 0 8px 28px rgba(0, 0, 0, .18); font-size: 16px; }
.sbspin { width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--pri); animation: ptrspin .8s linear infinite; }
@keyframes sbin { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .sbusy.sbin { animation: none; } }
/* Cc on a follow-up, folded until tapped (live hfcc, v543 to v548) */
.hfcc{display:flex;flex-direction:column;gap:10px;border-bottom:1px solid var(--line);padding-bottom:12px;margin:-4px 0 4px}.hfcc .fsto{border:0;padding:4px 0 0;align-items:flex-start}.hfcc.fold .fsto{align-items:center}.hfcc.fold{padding-bottom:6px}
.hfcc .hfccb{border:0;background:none;font:inherit;font-size:15px;color:var(--muted);padding:8px 0;text-align:left;cursor:pointer}
.hfccadd{display:inline-flex;align-items:center;gap:4px;border:0;background:none;font:inherit;font-size:15px;color:var(--pri);padding:8px 2px;cursor:pointer}.hfccadd svg,.hfccx svg{width:15px;height:15px}
.hfccx{flex:none;border:0;background:none;color:var(--muted);width:36px;height:36px;border-radius:50%;display:grid;place-items:center;cursor:pointer}
.hfg{font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin:8px 0 0}
.hfteam{display:flex;flex-wrap:wrap;gap:8px}.hfteam .pill{display:inline-flex;align-items:center;gap:7px;padding-left:5px}
.hfteam .pill i{width:24px;height:24px;border-radius:50%;display:inline-grid;place-items:center;font-style:normal;font-size:11px;font-weight:600;background:var(--line);color:var(--ink)}.hfteam .pill.on i{background:var(--card);color:var(--pri)}
.hfcc .fssug{margin:0 -20px}.fu .hfcc{margin:2px 0 0}.fu .hfcc .fssug{margin:0;padding:0 0 2px}.hfcc .fssug button{cursor:pointer}.hfcc .fssug button.on{border-color:var(--pri);background:var(--pri-soft)}
.hfadd{display:flex;align-items:center;gap:10px;border:1px dashed var(--pri);border-radius:12px;padding:10px 12px;color:var(--pri);font:inherit;font-size:15px;background:none;width:100%;text-align:left;cursor:pointer}.hfadd b{font-weight:600}
/* Looking with a read-only key (decision 0085): a thin band across the top, and the key shown once */
.viewer-band{position:sticky;top:0;z-index:60;margin:0 -20px 8px;padding:6px 16px;background:var(--amber-soft);color:var(--amber);font-size:13px;font-weight:600;display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap}
.locked-band{z-index:30} /* a locked account's line (thresh.studio.ui.company-plan/locked-band): under the sheets, which it would otherwise cover */
.viewer-key-text{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:14px;word-break:break-all;user-select:all}
/* (v503) Find a time, as live's Studio.html has it: the times on your week, the list to tick, and the email (not yet in tide.css) */
.nmopt{position:absolute;z-index:2;border-radius:6px;padding:2px 4px;overflow:hidden;display:flex;flex-direction:column;font-size:10.5px;line-height:1.2;cursor:pointer;
  background:color-mix(in srgb,var(--pri) 14%,var(--card));box-shadow:inset 0 0 0 1.5px var(--pri);color:var(--pri)}.nmopt.on{background:var(--pri);color:var(--pri-ink)}.nmopt.warn{box-shadow:inset 0 0 0 1.5px #E97F2C;color:#B25A16;background:rgba(233,127,44,.12)}
.nmopt b{font-weight:700}.nmopt span{opacity:.85;white-space:nowrap;overflow:hidden}
.nmleg2{display:flex;gap:6px 14px;font-size:12.5px;color:var(--muted);flex-wrap:wrap}.nmleg2 i{display:inline-block;width:12px;height:12px;border-radius:4px;vertical-align:-1px;margin-right:6px}
.nmfl{border-radius:16px;box-shadow:var(--shadow);overflow:hidden;background:var(--card)}
.nmfr{display:flex;gap:12px;align-items:center;padding:12px 14px;text-align:left;width:100%;border:0;background:none;font:inherit;color:var(--ink);cursor:pointer}.nmfr+.nmfr{border-top:1px solid var(--line2)}
.nmfr .num{width:26px;height:26px;border-radius:50%;background:var(--pri);color:var(--pri-ink);font-size:12.5px;font-weight:700;display:grid;place-items:center;flex:none}.nmfr .num.off{background:none;box-shadow:inset 0 0 0 2px var(--line)}
.nmfr .g{flex:1;min-width:0}.nmfr b{display:block;font-weight:600;font-size:15px}.nmfr small{display:block;color:var(--muted);font-size:12.5px;margin-top:2px}.nmfr small.w{color:#B25A16}
.nmwait{display:flex;gap:10px;align-items:center;padding:14px;border-radius:14px;background:var(--pri-soft);color:var(--pri);font-size:14px}.nmwait .mtspin svg{width:18px;height:18px}
.nmmail{background:var(--beige);border-radius:16px;padding:14px;font-size:14.5px;line-height:1.5;text-align:left;white-space:pre-wrap;cursor:pointer}.nmmail small{display:block;font-size:12px;color:var(--muted);margin-bottom:6px;white-space:normal}
.nmmail textarea{width:100%;box-sizing:border-box;border:1px solid var(--line);border-radius:10px;padding:8px 10px;font:inherit;font-size:16px;background:var(--card);color:var(--ink);resize:vertical;min-height:80px}
.teamrow{flex-wrap:wrap;gap:10px}.teamrow .grow{min-width:0}.teamrow .sure{flex:1 1 100%}
.item.offgoes{background:var(--amber-soft)}
/* The public pages served signed out: the home at / and the privacy policy at /privacy */
.studio-foot { margin-top: 32px; font-size: 13px; color: var(--muted); }
.studio-foot a, .studio-doc a { color: var(--pri-dark); }
.studio-doc { max-width: 680px; margin: 0 auto; padding: 24px 16px 56px; color: var(--ink); font-size: 16px; line-height: 1.55; }
.studio-doc h1 { margin: 6px 0 4px; }
.studio-doc h2 { font-size: 18px; margin: 28px 0 8px; }
.studio-doc ul { padding-left: 20px; }
.studio-doc li { margin: 6px 0; }
.studio-doc .studio-eyebrow a { color: var(--muted); text-decoration: none; }
/* (v581) a task Trace offers, folded or open with the task view's rows; (v584) the Ask bar stays at the bottom and its icons have a size, as live's Studio.html has them (not yet in tide.css) */
.asact.astk .astkh{display:flex;align-items:flex-start;gap:8px;width:100%;border:0;background:none;padding:0;margin:0;text-align:left;font:inherit;color:inherit;cursor:pointer}
.asact.astk .astkh .tvchev{margin-top:3px}
.asact.astk .astkx{border:0;background:none;padding:0;cursor:pointer;transform:rotate(180deg)}
.asact.astk .kvl{width:100%;margin:4px 0 2px}
.asact.astk .kvl > div[data-tvrow]{margin:0;padding-left:0;padding-right:0}
.asact.astk .astkn{width:100%}
.asact.astk .astkh b[role=button]{cursor:text}
.asact.astk .astkh .tvtitle.tvtin{font-weight:700;line-height:inherit;padding:0;margin:0;border-bottom:0;box-shadow:0 1px 0 var(--pri)}   /* editing the title keeps its bold and its place */
.asbody{min-width:0;overflow-wrap:anywhere}
.asbody .asp{margin:0}
.asbody .asp + .asp,.asbody .asl + .asp,.asbody .asp + .asl,.asbody .asl + .asl{margin-top:8px}
.asbody .asl{margin:0;padding-left:20px}
.asbody .asl li + li{margin-top:2px}
.asbody a{color:var(--pri);text-decoration:underline}
.asmsgs{flex:1 0 auto}
.asbar{transform:translateZ(0)}
.asbar .icon:not(.asstop) svg{width:24px;height:24px;flex:none}
.emrw{position:relative}
.emrw .emr{border-top:1px solid var(--line2)}
.emrw:first-child .emr{border-top:0}
.emrw.unr .emsn,.emrw.unr .emtags{padding-right:58px}
.emread{position:absolute;right:12px;bottom:10px;min-height:30px;padding:0 12px;border-radius:15px;border:1px solid var(--line);background:var(--card,#fff);color:var(--pri);font:inherit;font-size:13px;font-weight:600;cursor:pointer}
.emread:active{background:var(--line2)}
.lgfix.lgboth{display:flex;flex-direction:column;gap:8px;margin-top:12px}
/* Keyword messages on a post (decision 0088): who commented the keyword, and what became of it */
.kwnet{display:inline-flex;width:24px;height:24px;flex:none} .kwnet svg{width:24px;height:24px} .kwnet.ig{color:#D62976} .kwnet.fb{color:#1877F2}
.kwtag{flex:none;font-size:12.5px;padding:4px 10px;border-radius:999px;white-space:nowrap} .kwtag.would{background:var(--pri-soft);color:var(--pri-dark)} .kwtag.ok{background:var(--pri-soft);color:var(--pri)} .kwtag.late{background:var(--amber-soft);color:var(--amber);white-space:normal;max-width:55%}
.kwcount{color:var(--faint);font-weight:400}

/* Posting (decision 0088): network logos, post rows, New post, Settings */
.netlogo{display:inline-flex;width:22px;height:22px;flex:none}
.netlogo .netic{width:100%;height:100%}
.psnets{display:flex;gap:6px;margin-top:8px}
.psrow{width:100%;border:0;background:transparent;text-align:left;color:inherit;font:inherit;align-items:center}
.psrow .grow{min-width:0}
.psthumb{position:relative;flex:none;width:56px;height:56px;border-radius:14px;overflow:hidden;background:linear-gradient(160deg,#9DB3C2,#5F7D90)}
.psthumb.photo,.psthumb.t1{background:linear-gradient(160deg,#C9B79C,#8C7356)}
.psthumb.t2{background:linear-gradient(160deg,#A9C29D,#62805A)}
.psthumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.psthumb img[hidden]{display:none}
.psdur{position:absolute;right:6px;bottom:4px;font-size:11px;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.4)}
.pstag{flex:none;align-self:center;padding:4px 10px;border-radius:999px;background:var(--amber-soft);color:var(--amber);font-size:13px;white-space:nowrap}
.note.psnote{background:var(--beige);color:var(--muted)}
.psfile .meta,.psfound .meta{overflow-wrap:break-word}
.psfile .title,.psfound .title{overflow-wrap:break-word;word-break:break-word}
.psfound{width:100%;border:0;background:transparent;text-align:left;color:inherit;font:inherit}
.pswhere .netlogo{width:24px;height:24px}
.pswhere .grow{min-width:0}
.psline{display:block;border:0;background:none;padding:0;margin-top:2px;font:inherit;font-size:13px;color:var(--muted);text-align:left;cursor:pointer}
.psline.own{color:var(--pri)}
.psline[disabled]{cursor:default}
.pscap{padding:0 18px 14px 56px;display:flex;flex-direction:column;gap:6px;align-items:flex-start}
.pscap label.f{align-self:stretch}
.psday{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:12px}
.psday input{min-width:0;width:100%}
.psstep{display:flex;align-items:center;gap:10px}
.psstep .btn{width:44px;min-height:44px;padding:0;border-radius:14px;font-size:18px}
.psstep b{min-width:22px;text-align:center;font-size:18px}
.pskw{cursor:pointer}

/* Content on Calendar (decision 0088): posts as thumbnails, open slots, the Not scheduled tray */
.nwis{display:inline-flex;gap:2px;align-items:center} .nwi{display:inline-flex;width:13px;height:13px} .nwi svg{width:100%;height:100%}
.ctpill{min-height:36px}
.ctth{position:relative;display:block;width:100%;height:100%;border-radius:7px;overflow:hidden}
.ctth img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.ctth .nwis{position:absolute;left:3px;bottom:3px}
.ctpost,.ctslot{position:absolute;height:38px;padding:0;border:0;background:transparent;font:inherit;cursor:pointer;z-index:2}
.ctpost{box-shadow:0 1px 3px rgba(27,40,48,.18);border-radius:7px}
.ctslot{border:1.5px dashed var(--amber);border-radius:7px;color:var(--amber);background:color-mix(in srgb,var(--amber-soft) 55%,transparent);display:flex;align-items:center;justify-content:center}
.ctslot>span{font-size:16px;line-height:1} .ctslot .nwis{position:absolute;right:2px;bottom:2px;gap:1px;opacity:.85} .ctslot .nwi{width:10px;height:10px}
.ctnote{font-size:13px;margin-top:-4px} .ctdash{color:var(--amber)}
.ctpicked{display:flex;gap:10px;align-items:center;justify-content:space-between;background:var(--pri-soft);color:var(--pri-dark)}
.cttray h2 .ctn{color:var(--faint);font-weight:500}
.cttiles{display:flex;gap:12px;overflow-x:auto;padding:4px 2px 2px;margin-top:10px}
.cttile{flex:0 0 92px;display:flex;flex-direction:column;gap:6px;padding:0;border:0;background:transparent;font:inherit;text-align:left;color:var(--ink);cursor:grab;
  touch-action:pan-x;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.cttile .ctth{height:92px;border-radius:12px;box-shadow:inset 0 0 0 3px transparent;transition:box-shadow .15s}
.cttile .ctth .nwis{left:6px;bottom:6px} .cttile .nwi{width:15px;height:15px}
.cttile.on .ctth{box-shadow:0 0 0 3px var(--pri)}
.cttt{font-size:13px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.ctlift{position:fixed;z-index:60;pointer-events:none;transform:translate(-50%,-115%);display:flex;flex-direction:column;align-items:center;gap:8px}
.ctwhen{background:var(--ink);color:var(--card);font-size:13px;padding:6px 12px;border-radius:9px;white-space:nowrap}
.ctcard{display:flex;align-items:center;gap:10px;background:var(--card);border-radius:14px;padding:6px 14px 6px 6px;box-shadow:0 12px 28px rgba(27,40,48,.28);transform:rotate(-3deg);max-width:200px}
.ctcard .ctth{width:40px;height:44px;flex:0 0 40px} .ctcard .nwis{display:none} .ctcard b{font-weight:500;font-size:14px;line-height:1.25}
.ctmd{position:relative;display:block;height:34px;margin:0 2px} .ctmd .nwi{width:10px;height:10px}
.ctmd em{position:absolute;top:-21px;right:0;font-size:10px;color:var(--pri)}
.cvmc.ctshort{box-shadow:inset 3px 0 0 var(--amber)}
.cvmc.ctcan{background:var(--pri-soft);box-shadow:inset 0 0 0 2px var(--pri);border-radius:10px}
.ctnets{display:flex;gap:8px;align-items:center;color:var(--muted);font-size:14px} .ctnets .nwi{width:18px;height:18px}
@media (prefers-reduced-motion:reduce){.cttile .ctth{transition:none}.ctcard{transform:none}}
.ctpost .nwis{left:2px;bottom:2px;gap:1px} .ctpost .nwi{width:10px;height:10px}
/* Invite to a workshop (thresh.studio.ui.workshop-invite) */
.wsfee{display:flex;align-items:center;gap:6px;height:46px;border:1px solid var(--line);border-radius:12px;background:var(--card);padding:0 12px}.wsfee input{flex:1;min-width:0;border:0;background:transparent;font-size:16px;outline:0;padding:0}
.wsmail{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:12px 14px;font-size:14px;line-height:1.45}.wsmail p{margin-top:8px}

/* Meeting the plan reviewer: the permit's Reviewer meetings, the Meet the reviewer sheet and the email's preview (ui/reviewer.cljs) */
.rvcard{gap:10px} .rvh{display:flex;align-items:center;gap:10px} .rvic{background:var(--pri-soft);color:var(--pri)}
.rvlist{display:flex;flex-direction:column}
.rvrow{display:flex;gap:14px;padding:12px 0;border-top:1px solid var(--line)} .rvrow:first-child{border-top:1px solid var(--line)}
.rvwhen{width:72px;flex:none;font-size:13.5px;color:var(--muted);line-height:1.35}
.rvname{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:15px}
.rvtag{font-size:12px;font-weight:600;padding:2px 10px;border-radius:999px;background:var(--pop-n);color:var(--muted)}
.rvtag.bk{background:var(--pri-soft);color:var(--pri)} .rvtag.ok{background:var(--pop-ok);color:var(--pop-ok-ink)}
.rvtag.wait{background:var(--amber-soft);color:var(--amber)} .rvtag.no{background:var(--red-soft);color:var(--red)}
.rvnote{font-size:13.5px;color:var(--ink);margin-top:2px}
.rvgo{width:100%;margin-top:4px}
.rvtwo{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px} .rvtwo input{min-width:0;width:100%} .rvsal{align-items:center}
.rvbtns{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:6px} .rvbtns .btn{width:100%}
.rvmail{font-size:14px;line-height:1.5;color:var(--muted);background:var(--card);border:1px solid var(--line);border-radius:14px;padding:16px}
.rvmail p{margin:10px 0 0} .rvmail p:last-child{color:var(--ink)}
.rvchip{display:inline-block;font-size:11px;font-weight:600;letter-spacing:.02em;padding:3px 8px;border-radius:6px;background:var(--pri-soft);color:var(--pri)}
.rvhead{font-size:22px;font-weight:700;line-height:1.15;color:var(--ink);margin-top:10px}
.rvtimes{margin-top:12px} .rvtimes div{display:flex;align-items:center;justify-content:space-between;padding:9px 0;border-top:1px solid var(--line)}
.rvtimes b{display:block;color:var(--ink);font-size:15px} .rvtimes small{color:var(--muted)}
.rvtimes em{font-style:normal;font-weight:600;color:var(--pri);border:1.5px solid var(--pri);border-radius:999px;padding:4px 12px;font-size:13px}
.rvheld{display:inline-block;margin-top:10px;font-size:12px;font-weight:600;padding:3px 8px;border-radius:6px;background:var(--amber-soft);color:var(--amber)}
.rvnone{margin-top:14px;font-size:11px;letter-spacing:.16em;color:var(--muted)}
.rvcal{display:flex;gap:10px;align-items:center;margin-top:6px;border:1.5px solid var(--pri);border-radius:12px;padding:10px 12px;color:var(--pri)}
.rvcal svg{width:22px;height:22px} .rvcal b{display:block} .rvcal small{color:var(--muted)}
.bkor .bkbook{margin-left:auto;background:none;border:0;padding:0;font:inherit;font-weight:600;color:var(--pri);cursor:pointer}
/* a workshop's questionnaire answers, side by side (studio-kmos) */
.wsans{margin-top:6px;border-top:1px solid var(--line);padding-top:10px}
.wsah{font-size:12px;font-weight:600;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}
.wsag{display:grid;gap:10px}
.wsahd{margin-top:8px;padding-bottom:8px;border-bottom:1px solid var(--line);position:sticky;top:0;background:var(--card,#fff)}
.wsahd b{display:block;font-size:14px}.wsahd small{font-size:12px;color:var(--muted)}
.wsas{margin-top:14px;font-size:12px;font-weight:600;color:var(--brand,#3A5565)}
.wsaq{padding:9px 0;border-bottom:1px solid var(--line)}
.wsaq p{margin:0 0 5px;font-size:12.5px;color:var(--muted);line-height:1.35}
.wsaq span{font-size:13.5px;line-height:1.4;overflow-wrap:anywhere;white-space:pre-line}.wsaq span.none{color:var(--faint,#7D878D)}
/* Trace on every screen (Nov 6): a small round button with the spark, 12px above the tab bar at the right, frosted like the tab bar */
.trbtn{position:fixed;right:16px;bottom:95px;z-index:20;width:46px;height:46px;border-radius:50%;padding:0;display:grid;place-items:center;cursor:pointer;
  border:1px solid var(--glass-edge);background:var(--glass);-webkit-backdrop-filter:blur(24px) saturate(180%);backdrop-filter:blur(24px) saturate(180%);
  box-shadow:0 6px 18px rgba(27,40,48,.12),0 1px 2px rgba(27,40,48,.06);color:var(--pri);
  -webkit-touch-callout:none;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;touch-action:manipulation;
  transition:transform .15s ease;animation:trbin .22s ease-out}
.trbtn svg{width:22px;height:22px}
.trbtn:active{transform:scale(.92)}
@keyframes trbin{from{opacity:0;transform:scale(.85)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion: reduce){.trbtn{animation:none;transition:none}}
@media (min-width: 861px){.trbtn{right:24px;bottom:24px}}
/* Paying contractors (Zach, Nov 6): a card a contractor or project, then the breakdown. One color, the primary; this month darkest. */
.cpcard{display:flex;flex-direction:column;gap:12px;width:100%;text-align:left;border:0;font:inherit;color:inherit;background:var(--card);border-radius:var(--radius);box-shadow:var(--shadow);padding:16px 18px;cursor:pointer;touch-action:manipulation;transition:transform .12s}
.cpcard:active{transform:scale(.985)}
.cptop{display:flex;align-items:center;gap:12px}
.cptop .title{display:block;font-weight:500}
.cptop .meta{display:block}
.cpwk{color:var(--pop-ok-ink);font-weight:500}
.go2{color:var(--faint);display:flex}.go2 svg{width:18px;height:18px}
.cpmid{display:flex;align-items:flex-end;justify-content:space-between;gap:12px}
.cpmid>span:first-child{display:flex;flex-direction:column}
.cpsm{font-size:12.5px;color:var(--muted)}
.cpyear{font-size:28px;font-weight:300;letter-spacing:-.01em;font-variant-numeric:tabular-nums;line-height:1.15}
.cpspark{flex:none}
.cpspark rect.z{fill:var(--line)}
.cpspark rect.past{fill:color-mix(in srgb,var(--pri) 45%,var(--card))}
.cpspark rect.now{fill:var(--pri)}
.cpspark text{font-size:9px;fill:var(--faint)}
.cpchips{display:flex;flex-wrap:wrap;gap:6px}
.cpchip{display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border-radius:999px;background:var(--beige);font-size:12.5px;color:var(--ink);white-space:nowrap}
.cpback{align-self:flex-start;padding-left:0}
.cphead{display:flex;align-items:center;gap:12px}
.cpname{font-size:21px;margin-top:2px}
.cptiles{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.cptile{background:var(--beige);border-radius:14px;padding:12px 14px}
.cptile b{display:block;font-size:20px;font-weight:400;letter-spacing:-.01em;font-variant-numeric:tabular-nums;margin-top:2px}
.cptile.hi{background:var(--pri-soft)}
.cptile.hi b{color:var(--pri-dark);font-weight:500}
.cpchart{height:160px}
.cpchart button i{background:color-mix(in srgb,var(--pri) 45%,var(--card))}
.cpchart button.now i{background:var(--pri)}
.cpchart button.now .cv{color:var(--ink);font-weight:600}
.axis span.now{color:var(--ink);font-weight:600}
.cpshare{max-width:none}
.cpline{display:flex;flex-direction:column;gap:8px;padding:12px 14px;border:1px solid var(--line);border-radius:14px;background:var(--card)}
.cprow{display:flex;gap:10px;align-items:flex-end}
.cprow>*{flex:1;min-width:0}
.cprow>.btn{flex:none}
.cpw9{flex:none;align-self:flex-start;padding:3px 9px;border-radius:999px;background:var(--amber-soft);color:var(--amber);font-size:12px;font-weight:500;white-space:nowrap}
.cpw9s .item .btn{flex:none}
.cpw9note{margin-top:2px}
.cprm{border:0;background:none;font:inherit;font-size:12.5px;color:var(--faint);padding:4px 0 0;cursor:pointer}
@media (prefers-reduced-motion: reduce){.cpcard{transition:none}.cpcard:active{transform:none}}

/* Pinning with a mouse (Zach, Nov 6): a ⋯ at a row's right, on the row you point at, opens the hold's menu; phones hold instead */
.hbmore { display: none; flex: none; width: 32px; height: 32px; margin-left: 4px; border-radius: 50%; place-items: center; color: var(--muted); cursor: pointer; }
.hbmore svg { width: 18px; height: 18px; }
.hbmore:hover { background: var(--line2); color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .hbrow .hbmore { display: grid; visibility: hidden; }
  .hbrow:hover .hbmore, .hbrow.lift .hbmore, .hbrow:focus-within .hbmore { visibility: visible; }
}

/* Refresh at the bottom of the side menu: loads the app again where you are (Zach, Nov 6) */
.side .sref { margin-top: auto; }
.side .mini ~ .sref { margin-top: 8px; }
.sref kbd { margin-left: auto; font: inherit; font-size: 11px; font-weight: 600; color: var(--muted); background: var(--line2); border-radius: 6px; padding: 3px 6px; }
.pjlb.lost { margin-left: 0; background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }   /* Lost beside Signed, the quieter of the two (Zach, Nov 6) */
/* The team's time while drafting, for the project's lead (Zach, Nov 7) */
.ldwho{margin:14px 0 6px}
.nprow.ldrow{display:flex;align-items:center;gap:10px}
.nprow.ldrow>span:first-child{flex:1 1 auto;min-width:0;color:var(--ink);font-size:14.5px}
.nprow.ldrow>span:nth-child(2){flex:0 0 auto;text-align:right}
.nprow.ldrow>svg{flex:none}
.ldl{display:block;font-size:13px;color:var(--muted);margin-top:3px;line-height:1.35}
.ldtag{display:inline-block;font-size:11px;letter-spacing:.06em;text-transform:uppercase;padding:2px 7px;border-radius:9px;background:var(--amber-soft);color:var(--amber);margin-left:6px;vertical-align:1px}
.ldlock{display:flex;justify-content:space-between;align-items:center;padding:12px 14px;border-radius:12px;background:var(--line)}

/* A recording, opened from Meetings (Zach, Nov 7): play it, edit or delete it. */
.recopen { border: 0; background: none; padding: 0; margin: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.pmlinks .pill svg { width: 13px; height: 13px; margin-right: 4px; vertical-align: -1px; }
.rcphd { margin-bottom: 4px; }
.rcphd .title { font-size: 19px; font-weight: 600; line-height: 1.3; }
.rcphd .meta { margin-top: 2px; }
.rcp { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px 14px 10px; display: flex; flex-direction: column; gap: 6px; }
.rcp audio { display: none; }
.rcpparts { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.rcpparts .pill.on { background: var(--pri-soft); color: var(--pri); }
.rcpbar { width: 100%; accent-color: var(--pri); margin: 4px 0 0; }
.rcpt { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.rcpctl { display: flex; align-items: center; justify-content: space-between; padding: 2px 4px 0; }
.rcpgo { width: 60px; height: 60px; border-radius: 50%; border: 0; background: var(--pri); color: var(--pri-ink); display: grid; place-items: center; cursor: pointer; }
.rcpgo svg { width: 26px; height: 26px; }
.rcpsk { position: relative; width: 48px; height: 48px; border: 0; background: none; color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.rcpsk svg { width: 30px; height: 30px; }
.rcpsk em { position: absolute; font-style: normal; font-size: 9.5px; font-weight: 700; top: 18px; }
.rcprate { min-width: 48px; height: 34px; border: 0; border-radius: 12px; background: var(--pri-soft); color: var(--pri); font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; }
.rcprate.ph { visibility: hidden; }
.rcpdel { text-align: center; margin-top: -4px; }


/* Notifications, kind by kind (Zach, Nov 7): a Phone and an In app switch on each row, under column names */
.ntfrow{gap:12px}
.ntfrow .cedtg,.ntfnone{flex:none;width:46px}
.ntfhead{display:flex;align-items:flex-end;gap:12px;padding:0 16px 0 2px}
.ntfcol{flex:none;width:46px;text-align:center;font-size:12px}
.ntfphone{color:var(--pri-dark);font-size:12.5px;margin-top:2px}

/* Step 2 (Zach, Nov 7): the picture of the sound, the transcript that plays along, naming speakers, and the bar that
   keeps playing over the tab bar (where #selbar sits). */
.rcpwave { display: flex; align-items: center; gap: 2px; height: 56px; overflow: hidden; cursor: pointer; touch-action: manipulation; }
.rcpwave i { flex: 1 1 0; min-width: 0; border-radius: 2px; background: var(--check); }
.rcpwave i.on { background: var(--pri); }
.rctr { margin-top: 6px; }
.rcth { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.rcsh { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin: 10px 0 4px; }
.rcth .rcsh { margin: 0; }
.rcts { display: flex; flex-direction: column; }
.rctl { display: flex; gap: 10px; align-items: flex-start; width: 100%; text-align: left; border: 0; background: none; font: inherit; color: var(--ink);
  padding: 9px 10px; margin: 0 -10px; width: calc(100% + 20px); border-radius: 12px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.rctl.now { background: var(--pri-soft); }
.rctl .ts { flex: none; width: 44px; font-size: 12px; color: var(--pri); font-variant-numeric: tabular-nums; padding-top: 3px; }
.rctl .tx { font-size: 15px; line-height: 1.45; }
.rctl .tx b { display: block; font-size: 13.5px; font-weight: 600; }
.rcname { display: flex; flex-direction: column; gap: 10px; }
.rcnrow { display: flex; align-items: flex-end; gap: 10px; }
.rcnrow .f { margin: 0; }
.rcnplay { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--pri-soft); color: var(--pri); display: grid; place-items: center; cursor: pointer; }
.rcnplay svg { width: 18px; height: 18px; }
#rcdock { position: fixed; left: 16px; right: 16px; bottom: calc(91px + env(safe-area-inset-bottom, 0px)); z-index: 21; display: flex; align-items: center; gap: 10px;
  padding: 10px 10px 12px 12px; border-radius: 18px; background: var(--ink); color: var(--bg); box-shadow: 0 6px 20px rgba(0,0,0,.18); max-width: 688px; margin: 0 auto; }
#rcdock .rcdgo { flex: none; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--bg); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
#rcdock .rcdgo svg { width: 17px; height: 17px; }
#rcdock .rcdtx { min-width: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; padding: 0; cursor: pointer; display: flex; flex-direction: column; }
#rcdock .rcdtx .title { font-size: 14.5px; font-weight: 600; }
#rcdock .rcdtx .meta { font-size: 12.5px; color: inherit; opacity: .72; margin: 0; font-variant-numeric: tabular-nums; }
#rcdock .rcdx { flex: none; width: 36px; height: 36px; border: 0; background: none; color: inherit; opacity: .7; display: grid; place-items: center; cursor: pointer; }
#rcdock .rcdx svg { width: 18px; height: 18px; }
#rcdock .rcdbar { position: absolute; left: 14px; right: 14px; bottom: 5px; height: 3px; border-radius: 2px; background: rgba(255,255,255,.18); overflow: hidden; }
#rcdock .rcdbar i { display: block; height: 100%; background: var(--pri); }
@media (min-width: 861px) { #rcdock { bottom: 24px; } }

.kvl.rline{border-top:0} .kvl.rline > div{border-bottom:0;padding:4px 0} .kvl.rline span:last-child{color:var(--ink);font-weight:600}   /* where the retainer ends up, as it's typed */

/* Step 3 (Zach, Nov 7): the recorder fills the screen, with Flag, Photo and Note, and Save recording after it.
   Above the sheets (40), under the toast (60). */
#rnfull { position: fixed; inset: 0; z-index: 45; background: #14232B; color: #fff; display: flex; flex-direction: column;
  padding: calc(var(--sat, env(safe-area-inset-top, 0px)) + 6px) 16px calc(20px + env(safe-area-inset-bottom, 0px)); overflow: hidden; }
#rnfull .rntop { display: flex; align-items: center; justify-content: space-between; min-height: 44px; }
#rnfull .rnhide { min-width: 64px; border: 0; background: none; color: #B9C3C8; font: inherit; font-size: 16px; text-align: left; padding: 8px 0; cursor: pointer; }
#rnfull .rnhide.ph { visibility: hidden; }
#rnfull .rntitle { font-size: 15px; color: #93A6AF; }
#rnfull .rnmid { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; min-height: 0; }
#rnfull .rnproj { font-size: 17px; font-weight: 600; background: rgba(255,255,255,.1); border-radius: 999px; padding: 7px 16px; }
#rnfull .rnsub { font-size: 13.5px; color: #93A6AF; line-height: 1.4; max-width: 320px; }
#rnfull .rnclock { font-size: 68px; font-weight: 300; letter-spacing: -.02em; font-variant-numeric: tabular-nums; margin-top: 18px; }
#rnfull .rnstate { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #F08C78; }
#rnfull .rnstate i { width: 9px; height: 9px; border-radius: 50%; background: #E8705B; animation: rnpulse 1.4s ease-in-out infinite; }
#rnfull .rnstate.off { color: #B9C3C8; } #rnfull .rnstate.off i { background: #93A6AF; animation: none; }
#rnfull .rnwave { display: flex; align-items: center; gap: 3px; width: 100%; height: 110px; margin-top: 22px; }
#rnfull .rnwave i { flex: 1 1 0; min-width: 0; border-radius: 2px; background: #5E9AB8; }
#rnfull .rnmeter { display: none; }
#rnfull .rnlast { display: flex; align-items: center; gap: 10px; width: 100%; background: rgba(255,255,255,.07); border-radius: 14px; padding: 10px 12px; font-size: 13.5px; color: #D6DEE2; text-align: left; margin-top: 14px; }
#rnfull .rnlast img { width: 44px; height: 34px; border-radius: 7px; object-fit: cover; flex: none; }
#rnfull .rnacts { display: flex; align-items: flex-start; justify-content: space-around; padding: 6px 0 4px; }
#rnfull .rnact { display: flex; flex-direction: column; align-items: center; gap: 8px; border: 0; background: none; color: #B9C3C8; font: inherit; font-size: 12.5px; cursor: pointer; padding: 0; min-width: 56px; }
#rnfull .rnact .c { width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; display: grid; place-items: center; }
#rnfull .rnact .c svg { width: 24px; height: 24px; }
#rnfull .rnstop { display: flex; flex-direction: column; align-items: center; gap: 8px; border: 0; background: none; color: #B9C3C8; font: inherit; font-size: 12.5px; cursor: pointer; padding: 0; margin-top: -14px; }
#rnfull .rnstop i { width: 80px; height: 80px; border-radius: 50%; border: 4px solid rgba(255,255,255,.85); display: grid; place-items: center; }
#rnfull .rnstop i::after { content: ""; width: 34px; height: 34px; border-radius: 50%; background: #E8705B; }
#rnfull .rndrop { color: #F08C78; margin-top: 8px; }
#rnfull .rndrop.armed { background: rgba(232,112,91,.18); }
#rnfull .note.warn { color: var(--ink); }
#rnfull .rnover { position: absolute; inset: 0; background: rgba(10,18,22,.72); display: flex; align-items: flex-end; z-index: 2; }
#rnfull .rnsheet { width: 100%; background: #1D2F38; border-radius: 22px 22px 0 0; padding: 18px 16px calc(22px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; gap: 10px; }
#rnfull .rnsheet textarea { width: 100%; font: inherit; font-size: 16px; border-radius: 14px; border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.06); color: #fff; padding: 12px; }
#rnfull .rnsheet .btn.ghost { color: #B9C3C8; }
#rnfull .rncam { background: #000; flex-direction: column; align-items: stretch; justify-content: space-between; }
#rnfull .rncam video { width: 100%; flex: 1; min-height: 0; object-fit: cover; }
#rnfull .rncamrow { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px calc(26px + env(safe-area-inset-bottom, 0px)); }
#rnfull .rncamrow .btn.ghost { color: #fff; min-width: 72px; }
#rnfull .rncamsp { min-width: 72px; }
#rnfull .rnshut { width: 74px; height: 74px; border-radius: 50%; border: 4px solid #fff; background: none; padding: 0; display: grid; place-items: center; cursor: pointer; }
#rnfull .rnshut i { width: 58px; height: 58px; border-radius: 50%; background: #fff; display: block; }
@media (prefers-reduced-motion: reduce) { #rnfull .rnstate i { animation: none; } }
.rcchips { display: flex; flex-wrap: wrap; gap: 8px; }
.rcchip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 8px 13px; font: inherit; font-size: 14.5px; color: var(--ink); cursor: pointer; }
.rcchip.on { background: var(--pri-soft); border-color: var(--pri-soft); color: var(--pri-dark); }
.rcchip svg { width: 15px; height: 15px; }
.rcchip em { font-style: normal; color: var(--muted); font-size: 12px; }
.rcadd { border: 1px solid var(--pri); border-radius: 999px; padding: 8px 13px; font: inherit; font-size: 16px; width: 140px; background: var(--field); color: var(--ink); }
.rctog { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; background: var(--card); cursor: pointer; }
.rctog .grow { display: flex; flex-direction: column; gap: 2px; font-size: 15.5px; }
.rctog small { font-size: 13px; color: var(--muted); }
.rcmark { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--amber); background: var(--amber-soft); border-radius: 10px; padding: 7px 10px; margin: 2px 0 4px; }
.rcmark svg { width: 15px; height: 15px; flex: none; }
.rcmark .linkb { color: var(--amber); font-variant-numeric: tabular-nums; }
.rcmark a { color: var(--amber); }

/* Step 4 (Zach, Nov 7): Recordings under More. */
.recgo { display: inline-flex; align-items: center; gap: 8px; }
.recgo svg { width: 14px; height: 14px; color: #F08C78; }
.recfind { display: flex; align-items: center; gap: 10px; background: var(--line2); border-radius: 14px; padding: 0 14px; margin: 6px 0 10px; color: var(--faint); }
.recfind svg { width: 18px; height: 18px; flex: none; }
.recfind input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; font-size: 16px; color: var(--ink); padding: 12px 0; outline: none; }
.recfilt { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.recday { font-size: 13px; font-weight: 600; color: var(--muted); margin: 16px 0 8px; }
.recli { width: 100%; text-align: left; font: inherit; color: inherit; cursor: pointer; }
button.recli { border: 0; background: none; }   /* a plain row; a swiped one keeps .swipe-fg's card, so it slides over Delete (Zach, Nov 8) */
.recli > svg { width: 18px; height: 18px; color: var(--faint); flex: none; }
.recli .grow { display: flex; flex-direction: column; gap: 1px; }
.recproj { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.recsnip { font-size: 13.5px; color: var(--ink); background: var(--amber-soft); border-radius: 8px; padding: 6px 8px; margin-top: 6px; line-height: 1.4; }
.recbusy { opacity: .6; transition: opacity .15s; }

/* The recorder waits for Record (Zach, Nov 8): one big button for Record and Pause, and Save on its own. */
#rnfull .rnstop.on i::after { content: none; }
#rnfull .rnstop.on i svg { width: 30px; height: 30px; color: #fff; }
#rnfull .rnact:disabled { opacity: .35; cursor: default; }
#rnfull .rnsave { background: #fff; color: #14232B; margin-top: 10px; }
.recproj-pick .f { margin: 0 0 10px; }
.recproj-pick .f > span:first-child { display: none; }
.recst.call { border-radius: 11px; background: var(--line2); color: var(--muted); }

/* Where it plays from: a line on the picture of the sound, dragged with a finger (Zach, Nov 8). */
.rcpwave { position: relative; touch-action: none; -webkit-user-select: none; user-select: none; }
.rcphead { position: absolute; top: -4px; bottom: -4px; width: 2px; margin-left: -1px; background: var(--ink); border-radius: 1px; pointer-events: none; z-index: 1; }
.rcphead::before { content: ""; position: absolute; top: -5px; left: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); }
.rcpwave { overflow: visible; }
.rcphead::before { top: -7px; left: -5px; width: 12px; height: 12px; }

/* The recorder's project, picked from its chip (Zach, Nov 8). */
#rnfull .rnproj { border: 0; color: #fff; font: inherit; font-size: 17px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
#rnfull .rnproj svg { width: 16px; height: 16px; opacity: .75; }

/* A call on Recordings opens in place (Zach, Nov 8). */
.reccall.open .recli > svg { transform: rotate(90deg); }
.reccall .recli > svg { transition: transform .15s ease; }
.recbody { padding: 0 16px 16px 70px; }
@media (prefers-reduced-motion: reduce) { .reccall .recli > svg { transition: none; } }

/* Controls on Today (Zach, Nov 8): the pill holds your picks, and ··· opens every tool as a round button. */
.toppill .ctrec, .ccrec .ctrec { width: 16px; height: 16px; border-radius: 50%; background: #E8705B; display: block; box-shadow: 0 0 0 3px rgba(232,112,91,.18); }
.ccdim { position: fixed; inset: 0; z-index: 30; background: var(--scrim); }
.ccpanel { position: fixed; z-index: 31; left: 8px; right: 8px; top: calc(var(--sat, env(safe-area-inset-top, 0px)) + 8px); max-width: 460px; margin: 0 auto;
  border-radius: 30px; padding: 14px 14px 8px; background: var(--glass); -webkit-backdrop-filter: blur(30px) saturate(180%); backdrop-filter: blur(30px) saturate(180%);
  border: 1px solid var(--glass-line); box-shadow: 0 20px 50px rgba(20,30,36,.28); animation: ccDown .22s cubic-bezier(.2,.8,.2,1); }
@keyframes ccDown { from { opacity: 0; transform: translateY(-12px) scale(.98); } to { opacity: 1; transform: none; } }
.cchd { display: flex; align-items: center; justify-content: space-between; margin: 2px 4px 12px; min-height: 50px; }
.cchd h2 { margin: 0 !important; font-size: 20px; }
.cchd .linkb { font-size: 16px; font-weight: 600; color: var(--pri); }
.ccpill { z-index: 32; }   /* fixed where Today's pill is (.toppill), over it (Zach, Nov 8) */
.ccpill .ccdrag { cursor: grab; touch-action: none; }
.ccrec { width: 100%; display: flex; align-items: center; gap: 12px; border: 0; border-radius: 999px; padding: 8px 16px 8px 8px; margin-bottom: 16px;
  background: var(--card); color: var(--ink); font: inherit; text-align: left; box-shadow: 0 1px 3px rgba(27,40,48,.08); cursor: pointer; }
.ccrec .ccc { width: 44px; height: 44px; border-radius: 50%; background: #E8705B; display: grid; place-items: center; position: relative; flex: none; }
.ccrec .ctrec { background: #fff; box-shadow: none; }
.ccrec b { display: block; font-size: 15px; } .ccrec small { font-size: 12.5px; color: var(--muted); }
.ccgrid { display: grid; grid-template-columns: repeat(4, 1fr); row-gap: 14px; column-gap: 6px; padding: 2px 0 4px; }
.ccb { display: flex; flex-direction: column; align-items: center; gap: 5px; border: 0; background: none; padding: 0; font: inherit; color: var(--ink); cursor: pointer; }
.ccc { position: relative; width: 52px; height: 52px; border-radius: 50%; background: var(--card); color: var(--pri); display: grid; place-items: center; box-shadow: 0 1px 3px rgba(27,40,48,.08); }
.ccb.on .ccc { background: var(--pri-soft); }
.ccc svg { width: 22px; height: 22px; }
.ccl { font-size: 11.5px; line-height: 1.2; text-align: center; max-width: 76px; }
.ccdot { width: 5px; height: 5px; border-radius: 50%; background: var(--pri); margin-top: -1px; }
.ccdot.no { background: transparent; }
.ccn { position: absolute; top: -3px; right: -6px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 99px; background: var(--amber); color: #fff;
  font-size: 10px; font-weight: 600; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 2px var(--card); }
.ccbd { position: absolute; top: -4px; left: -4px; width: 20px; height: 20px; border-radius: 50%; color: #fff; font-size: 14px; font-weight: 700; line-height: 1;
  display: grid; place-items: center; box-shadow: 0 0 0 2px var(--bg); }
.ccbd.out { background: var(--red); } .ccbd.in { background: #2F8A57; }
@media (prefers-reduced-motion: reduce) { .ccpanel { animation: none; } }

/* Pulled down from the pill, Controls come with the finger, then settle (Zach, Nov 8). */
.toppill { touch-action: none; }
.ccpanel { transition: transform .26s cubic-bezier(.2,.8,.2,1), opacity .2s ease; }
.ccdim { transition: opacity .2s ease; }
.ccpanel.pulled { animation: none; }
@media (prefers-reduced-motion: reduce) { .ccpanel, .ccdim { transition: none; } }
.ccb, .ccrec { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }

/* Controls come like the iPhone's Control Center (Zach, Nov 8, from his screen recording): no card, the buttons float
   over the page, which blurs and dims; they fade in where they sit, growing from a little smaller, and go the same way. */
.ccpanel { background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; transform-origin: 50% 0;
  animation: ccIn .32s cubic-bezier(.2,.9,.3,1.12); transition: transform .34s cubic-bezier(.2,.9,.3,1.12), opacity .2s ease; }
@keyframes ccIn { from { opacity: 0; transform: translateY(-18px) scale(.9); } to { opacity: 1; transform: none; } }
.ccpanel.closing { opacity: 0; transform: translateY(-14px) scale(.92); transition: transform .22s ease, opacity .2s ease; }
.ccdim { background: rgba(20,24,27,.32); -webkit-backdrop-filter: blur(22px) saturate(140%); backdrop-filter: blur(22px) saturate(140%);
  animation: ccBlur .3s ease; transition: opacity .25s ease; }
@keyframes ccBlur { from { opacity: 0; } }   /* the blur fades in whole: a phone draws that far faster than a blur growing */
.ccdim.closing { opacity: 0; }
.ccdim.pulled, .ccpanel.pulled { will-change: opacity, transform; }
.ccpanel.pulled, .ccdim.pulled { animation: none; }
.ccpanel .cchd h2, .ccpanel .cchd .linkb { text-shadow: 0 1px 6px rgba(255,255,255,.5); }
@media (prefers-reduced-motion: reduce) {
  .ccpanel { animation: ccFade .2s ease; transition: opacity .2s ease; }
  .ccpanel.closing { transform: none; }
  @keyframes ccFade { from { opacity: 0; } }
}

/* The recorder's project, picked in a dark sheet like its Note and Photo (Zach, Nov 8, option A). */
#rnfull .rnpksheet { max-height: 72vh; display: flex; flex-direction: column; padding-top: 10px; gap: 8px; }
#rnfull .rngrab { width: 40px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.25); margin: -10px auto -6px; flex: none;
  box-sizing: content-box; padding: 10px 40%; background-clip: content-box; touch-action: none; }   /* a wide strip to pull by */
#rnfull .rnpkhd { display: flex; align-items: center; justify-content: space-between; flex: none; }
/* It comes up and goes down as the app's sheets do (Zach, Nov 8: it didn't slide back down). */
#rnfull .rnpkover { animation: rnpkdim .4s ease backwards; transition: background .22s ease; }
#rnfull .rnpksheet { animation: rnpkup .48s cubic-bezier(.32,.72,0,1) backwards; transition: transform .22s ease; }
#rnfull .rnpksheet { --card: #1D2F38; }   /* pulled up, the stretch's shadow is the sheet's own dark, not white (Zach, Nov 8) */
#rnfull .rnpkover.away { background: transparent; }
#rnfull .rnpkover.away .rnpksheet { transform: translateY(105%); }
@keyframes rnpkup { from { transform: translateY(100%); } }
@keyframes rnpkdim { from { background: transparent; } }
@media (prefers-reduced-motion: reduce) { #rnfull .rnpkover, #rnfull .rnpksheet { animation: none; transition: none; } }
#rnfull .rnpkhd b { font-size: 18px; } #rnfull .rnpkhd .linkb { color: #93C7E5; font-size: 16px; }
#rnfull .rnfind { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.08); border-radius: 14px; padding: 0 14px; color: #93A6AF; flex: none; }
#rnfull .rnfind svg { width: 18px; height: 18px; flex: none; }
#rnfull .rnfind input { flex: 1; min-width: 0; border: 0; background: none; color: #fff; font: inherit; font-size: 16px; padding: 12px 0; outline: none; }
#rnfull .rnfind input::placeholder { color: #93A6AF; }
#rnfull .rnpklist { overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; margin: 0 -4px; padding: 0 4px; }
#rnfull .rnpkh { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: #93A6AF; margin: 10px 4px 4px; }
#rnfull .rnpk { width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px 4px; border: 0; border-top: 1px solid rgba(255,255,255,.06); background: none;
  color: #E6ECEE; font: inherit; font-size: 16px; text-align: left; cursor: pointer; }
#rnfull .rnpkh + .rnpk { border-top: 0; }
#rnfull .rnpk small { display: block; font-size: 12px; color: #93A6AF; }
#rnfull .rnpk > svg { width: 18px; height: 18px; color: #93C7E5; flex: none; }
#rnfull .rnpkav { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.1); display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #B9C3C8; flex: none; }
#rnfull .rnpk.on .rnpkav { background: #2B6A8F; color: #fff; }

.ccdim { touch-action: none; }

/* Edit in Controls comes alive as on the iPhone (Zach, Nov 8): a press shrinks the button, then in Edit the buttons wiggle,
   the − and + pop in, and the pill slides in where the title was. Reduced motion: none of the movement. */
.ccb .ccc, .ccrec { transition: transform .14s ease; }
.ccb:active .ccc, .ccrec:active { transform: scale(.93); }
.ccpanel.editing .ccc, .ccpanel.editing .ccrec .ccc { animation: ccWiggle .3s ease-in-out infinite; }
.ccpanel.editing .ccb:nth-child(even) .ccc { animation-duration: .34s; animation-delay: -.15s; }
.ccpanel.editing .ccb:nth-child(3n) .ccc { animation-delay: -.08s; }
@keyframes ccWiggle { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(2deg); } }
.ccpanel.editing .ccbd { animation: ccPop .28s cubic-bezier(.3,1.6,.5,1) both; }
@keyframes ccPop { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
/* Going into Edit, every button gives one press and springs back, as if all were tapped at once (Zach, Nov 8), then
   they wiggle. On the button's own scale, so it adds to the wiggle and the press rather than replacing them. */
.ccpanel.editing .ccb, .ccpanel.editing .ccrec { animation: ccClick .42s ease both; }
@keyframes ccClick { 0% { scale: 1; } 30% { scale: .86; } 65% { scale: 1.07; } 100% { scale: 1; } }
.ccpill .ccmorehold { width: 46px; height: 42px; display: flex; align-items: center; justify-content: center; color: var(--ink); opacity: .35; }
.ccpanel .cchd { margin-top: 48px; }   /* under the pill, the same in Edit and out (Zach, Nov 8) */
@media (max-width: 860px) { html.sa .ccpanel .cchd { margin-top: 30px; } }
@media (prefers-reduced-motion: reduce) {
  .ccpanel.editing .ccc, .ccpanel.editing .ccrec .ccc, .ccpanel.editing .ccbd, .ccpanel.editing .ccb, .ccpanel.editing .ccrec { animation: none; }
  .ccb:active .ccc, .ccrec:active { transform: none; }
}
/* the page never slides sideways on a phone (Zach, Nov 9): an email's file chips shrink to fit the row instead of
   pushing past it, and nothing inside the page can make it wider than the screen */
.pmatts{overflow:hidden}.pmatt{min-width:0}.pmatt.more{flex:none}
html,body{overscroll-behavior-x:none}
@media (max-width: 860px) { #studio { overflow-x: clip; } }
/* A computer: a project's slim bar (Back, settings, meeting, debrief) stays whole at the top as the page scrolls, with
   the tabs pinned under it, instead of sliding 40px up behind the tabs and leaving its buttons cut off (Zach, Nov 10) */
@media (min-width: 861px) {
  .pjhd.pjc { top: 0; margin-top: -40px; padding-top: 16px; }
  .pjtabs { top: 54px; }
}
/* A computer: Ask Trace at the top of the side menu, in place of the round button in the window's corner and the one in
   a project chat's top bar (Zach, Nov 10). A phone keeps the round button. */
.trside{display:flex;align-items:center;gap:10px;width:100%;margin:-8px 0 14px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:var(--bg);font:inherit;font-size:15px;color:var(--muted);cursor:pointer;text-align:left;touch-action:manipulation;-webkit-user-select:none;user-select:none;transition:transform .12s,border-color .12s}
.trside:hover{border-color:color-mix(in srgb,var(--pri) 40%,var(--line));color:var(--ink)}
.trside:active{transform:scale(.97)}
.trside svg{width:18px;height:18px;flex:none;color:var(--pri)}
.trside span{flex:1}
.trside kbd{font:inherit;font-size:11px;font-weight:600;color:var(--muted);background:var(--line2);border-radius:6px;padding:3px 6px}
@media (min-width: 861px){.trbtn,.pjib.pjtr{display:none}}
@media (prefers-reduced-motion: reduce){.trside{transition:none}}
/* Project settings on a computer (Zach, Nov 10): a wide window, its sections down the side to jump to, fields two
   across, the clients as a small table, and Cancel and Save at the bottom right. On a phone every wrapper below steps
   aside (display: contents) and the sheet is as it was. */
.ssub,.psnav,.clhead,.pschg,.pscancel,.psx{display:none}
.psmain,.pspart,.psfoot,.psproj,.ps-runs,.ps-appr,.pslinks,.psclients,.ps-copy,.ps-company,.ps-addr,.ps-date,.psgrid,.psrow{display:contents}
@media (min-width: 861px) {
  .sheet.psd{max-width:1000px;width:calc(100vw - 300px);min-width:760px;height:min(92vh,860px);border-radius:20px}
  .sheet.psd .shead{padding:18px 20px 16px 28px;border-bottom:1px solid var(--line)}
  .sheet.psd .snav{grid-template-columns:1fr auto}
  .sheet.psd .snav .l{display:none}
  .sheet.psd .snav h3{text-align:left;max-width:none;font-size:20px;font-weight:650}
  .sheet.psd .ssub{display:block;font-size:13px;font-weight:400;letter-spacing:0;color:var(--muted);margin-top:2px;overflow:hidden;text-overflow:ellipsis}
  .sheet.psd .psx{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;border:1px solid var(--line);background:var(--card);color:var(--ink);padding:0}
  .sheet.psd .psx svg{width:16px;height:16px}
  .sheet.psd .sbody{display:grid;grid-template-columns:210px minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;gap:0;padding:0;overflow:hidden}
  .psd .psnav{display:flex;flex-direction:column;gap:2px;grid-row:1;grid-column:1;padding:18px 12px;border-right:1px solid var(--line);background:color-mix(in srgb,var(--bg) 60%,var(--card));overflow-y:auto}
  .psd .psnav button{border:0;background:none;text-align:left;font:inherit;font-size:14px;color:var(--muted);padding:9px 12px;border-radius:10px;cursor:pointer}
  .psd .psnav button:hover{background:var(--line2);color:var(--ink)}
  .psd .psnav button.on{background:var(--pri-soft);color:var(--pri-dark);font-weight:600}
  .psd .psmain{display:flex;flex-direction:column;gap:30px;grid-row:1;grid-column:2;position:relative;overflow-y:auto;overscroll-behavior:contain;padding:22px 32px 40px}
  .psd .pspart{display:block}
  .psd .psh{font-size:15px;font-weight:650;letter-spacing:0;text-transform:none;color:var(--ink)}
  .psd .psec{gap:12px}
  .psd .f input,.psd .f textarea,.psd .pkrow{min-height:42px;font-size:14.5px;border-radius:11px}
  .psd label.f,.psd .f > span{font-size:12.5px}
  .psd .psproj{display:grid;grid-template-columns:1fr 1fr;column-gap:18px;row-gap:8px;align-items:start;
    grid-template-areas:"name group" "code ghint" "dup ." "runs appr" ". ahint"}
  .psd .ps-name{grid-area:name}.psd .psproj .npcode{grid-area:code}.psd .ps-dup{grid-area:dup}.psd .ps-group{grid-area:group}
  .psd .ps-ghint{grid-area:ghint;font-size:12px}.psd .ps-runs{grid-area:runs;display:block;margin-top:8px}.psd .ps-appr{grid-area:appr;display:block;margin-top:8px}
  .psd .ps-ahint{grid-area:ahint;font-size:12px}
  .psd .psproj .npcode{padding:0 2px;background:none;justify-content:flex-start;font-size:12.5px}
  .psd .pslinks{display:flex;gap:10px;flex-wrap:wrap;margin-top:4px}
  .psd .pslinks .btn.wide{width:auto;min-height:38px;font-size:13.5px;padding:0 14px}
  .psd .seg{align-self:flex-start;border-radius:11px}
  .psd .seg .pill{white-space:nowrap;padding:0 16px}
  .psd label.f input[type=date]{text-align:left}
  .psd .cltbl{gap:0!important;border:1px solid var(--line);border-radius:14px;overflow:hidden}
  .psd .clhead{display:grid;grid-template-columns:1fr 1.3fr 240px 40px;gap:10px;padding:8px 12px;background:var(--line2);font-size:11.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
  .psd .clrow{grid-template-columns:1fr 1.3fr 240px 40px;padding:6px 12px;border:0;border-top:1px solid var(--line2);border-radius:0}
  .psd .clhead + .clrow{border-top:0}
  .psd .clrow input[type=text],.psd .clrow input[type=email]{grid-row:1;min-height:38px;font-size:14px;border-color:transparent;background:none;padding:6px 8px}
  .psd .clrow input:hover,.psd .clrow input:focus{border-color:var(--line);background:var(--field)}
  .psd .clrow input[type=text]{grid-column:1}.psd .clrow input[type=email]{grid-column:2}
  .psd .clbill{grid-row:1;grid-column:3;font-size:13px;white-space:nowrap}
  .psd .clrow .clx{grid-row:1;grid-column:4}
  .psd .psec > .btn.ghost{align-self:flex-start;min-height:36px;padding:0 4px;color:var(--pri)}
  .psd .psclients{display:grid;grid-template-columns:1fr 1fr;gap:14px 18px;grid-template-areas:"company date" "addr copy"}
  .psd .ps-copy{grid-area:copy;display:block}.psd .ps-company{grid-area:company;display:block}.psd .ps-addr{grid-area:addr;display:block}.psd .ps-date{grid-area:date;display:block}
  .psd .psgrid{display:grid;grid-template-columns:1fr 1fr;gap:16px 18px}
  .psd .psgrid textarea{min-height:76px;height:76px;resize:none;line-height:1.4}
  .psd .psgrid .sub{font-size:12px}
  .psd .psrow{display:flex;gap:14px;align-items:flex-end}
  .psd .psrow > .f{flex:1;min-width:0}
  .psd .psrow > .btn.wide{width:auto;min-height:42px;flex:none}
  .psd .phrow{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px 0}
  .psd .phrow .chips.fit .pill{flex:none;padding:0 12px;min-height:34px}
  .psd .psfoot{display:flex;align-items:center;gap:10px;grid-row:2;grid-column:1/-1;padding:14px 28px;border-top:1px solid var(--line);background:var(--card)}
  .psd .pschg{display:block;flex:1;min-width:0;font-size:13px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .psd .pscancel{display:inline-flex}
  .psd .psfoot .btn.big.pri.wide{width:auto;min-height:44px;padding:0 24px}
}
/* More, in groups, with search (decision 0095; Zach, Nov 20, from the mockup he approved). On a computer the groups are
   a list on the left (sticky, Admin's under their label, the chosen one a white card) with the chosen group beside it;
   on a phone the groups are More's first screen, each with its icon tile and the names of what's inside, and a group
   opens as its own screen. A group's settings are cards (.mx-card); accounts and staging's tools are lines in one card
   (.mx-line), what it says on the left and its button on the right. Search results replace the groups as one list. */
.mx-search{position:relative;margin:4px 0 0}
.mx-search .psearch{margin:0}
.mx-search kbd{position:absolute;right:14px;top:50%;transform:translateY(-50%);font:inherit;font-size:12px;color:var(--faint);border:1px solid var(--line);border-radius:6px;padding:1px 7px;background:var(--bg);pointer-events:none}
.mx-search:focus-within kbd{display:none}
.mx-lbl{font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--faint);margin:18px 12px 6px}
.mx-ic{flex:none;width:36px;height:36px;border-radius:11px;display:grid;place-items:center;background:var(--pri-soft);color:var(--pri)}
.mx-ic svg{width:19px;height:19px}
.mx-ic.adm{background:var(--beige);color:var(--muted)}
.mx-card{background:var(--card);border-radius:var(--radius);box-shadow:var(--shadow);padding:16px 18px;display:flex;flex-direction:column;gap:12px;min-width:0}
.mx-card h3{margin:0;font-size:15px;font-weight:500}
.mx-card .sub{margin:0}
.mx-card :is(.studio-actions,.studio-message,.studio-list,.studio-fields){margin:0}
.mx-card .studio-actions{justify-content:flex-start}
.mx-line{display:flex;align-items:center;flex-wrap:wrap;gap:12px 16px}
.mx-line > div:first-child{flex:1 1 0;min-width:0}
.mx-line > .mx-fields{flex:1 0 100%}
.mx-line .t{font-size:15px;font-weight:500}
.mx-line .m{font-size:13px;color:var(--muted);margin-top:2px;line-height:1.4}
.mx-line + .mx-line{border-top:1px solid var(--line2);padding-top:12px}
.mx-line .btn{white-space:nowrap}
.mx-ok{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;color:var(--pop-ok-ink);background:var(--pop-ok);border-radius:99px;padding:3px 10px;white-space:nowrap}
.mx-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px 14px}
.mx-fields label{display:flex;flex-direction:column;gap:5px;font-size:12.5px;color:var(--muted)}
.mx-fields input{min-height:40px;border:1px solid var(--line);border-radius:11px;padding:6px 10px;background:var(--field);font-size:14.5px;color:var(--ink)}
.mx-fields.mx-ask{grid-template-columns:1fr auto;align-items:end}
.mx-fields.mx-ask .btn{min-height:40px}
.mx-look .studio-rows{margin:0;display:flex;flex-direction:column;gap:12px}
.mx-look .studio-rows li + li{border-top:1px solid var(--line2)}
.mx-look .studio-row-item{flex-wrap:nowrap;align-items:center;gap:16px;padding:12px 0 0;font-size:15px;font-weight:500}
.mx-look .studio-rows li:first-child{border-top:1px solid var(--line2)}
.mx-look .studio-row-item > span:first-child{flex:1 1 auto;min-width:0;display:flex;align-items:center;gap:12px}
.mx-look .studio-look-image{order:-1;flex:none;margin:0;max-width:56px;max-height:32px}
.mx-look .studio-row-item .btn{flex:none;cursor:pointer}
.mx-pane{display:flex;flex-direction:column;gap:14px;min-width:0}
.mx-pane > h2{margin:0 2px;font-size:22px;font-weight:600;color:var(--ink)}
.mx-pane > .mx-what{margin:-8px 2px 4px;color:var(--muted);font-size:14px}
.mx-pane > .mr-me{margin:0}
.mx-tag{flex:none;font-size:12px;color:var(--muted);background:var(--beige);border-radius:99px;padding:3px 10px;white-space:nowrap}
.mx-res .item.sel{background:var(--pri-soft)}
.mx-res mark{background:transparent;color:var(--pri);font-weight:600}
.mx-none{padding:28px 18px;text-align:center;color:var(--muted)}
.mx-flash{animation:mxflash 1.6s ease-out}
@keyframes mxflash{0%,35%{box-shadow:0 0 0 3px var(--pri);border-radius:14px}100%{box-shadow:0 0 0 3px transparent}}
@media (prefers-reduced-motion: reduce){.mx-flash{animation:none}}
.mx-catrow .grow{min-width:0}
.mx-catrow .grow .meta{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mx .list .item.noav{width:100%;border:0;background:transparent;text-align:left}
.mx .list .item.mx-catrow{width:100%;border:0;background:transparent;text-align:left;display:flex;align-items:center;gap:12px}
@media (min-width:861px){
  main:has(.mx){max-width:1180px}
  .wrap.mx{max-width:none}
  .mx-search{max-width:520px}
  .mx-grid{display:grid;grid-template-columns:220px minmax(0,1fr);gap:36px;align-items:start;margin-top:14px}
  .mx-rail{position:sticky;top:20px;display:flex;flex-direction:column;gap:2px}
  .mx-cat{display:flex;align-items:center;gap:11px;min-height:42px;padding:0 12px;border:0;background:transparent;border-radius:12px;color:var(--muted);font-size:15px;text-align:left;width:100%;cursor:pointer}
  .mx-cat svg{width:19px;height:19px;flex:none}
  .mx-cat:hover{background:var(--line2);color:var(--ink)}
  .mx-cat.on{background:var(--card);color:var(--ink);font-weight:600;box-shadow:var(--shadow)}
  .mx-cat.on svg{color:var(--pri)}
  .mx-pane{max-width:680px}
  .mx .item.noav{min-height:58px;padding:11px 18px}
  .mx .item .title{font-size:15px}
  .mx .item .meta{font-size:12.5px}
  .mx .item .chev svg{width:16px;height:16px}
  .mx .seg .pill{min-height:36px;font-size:13.5px}
  .mx-card .btn{min-height:38px;font-size:13.5px;padding:0 14px;border-radius:12px;white-space:nowrap}
  .mx-res{max-width:760px;margin-top:14px}
}
@media (max-width:860px){
  .mx-search kbd{display:none}
  .mx-grid{display:block}
  .mx-fields{grid-template-columns:1fr}
  .mx-pane > h2{display:none}
  .mx-pane > .mx-what{margin:0 2px}
  .mx-card .btn{min-height:40px;padding:0 14px;white-space:nowrap}
  .mx-home{display:flex;flex-direction:column;gap:14px}
  .mx-home .mx-lbl{margin:8px 6px -4px}
}
/* A project's page and Today on a computer (Zach, Nov 10: "this should not look like a mobile format on desktop"). Both
   pages take the wider column. A project: the tabs at their own width on the left; on Overview the chat and your tasks
   in the main column, with the numbers, the people on it and the files beside them (the people leave the line under the
   name there). Today: the cards in grids instead of rows to swipe, the glance beside the greeting, and Heads up, new
   messages, Up next and Logged today in a column beside Needs you. A narrow window keeps each in one column, the cards
   still in grids. On a phone every wrapper below steps aside (display: contents) and both pages are as they were. */
.ovgrid,.ovmain,.tdrail{display:contents}
.ovppl{display:none}
@media (min-width: 861px) {
  body[data-view="proj"] main,body[data-view="today"] main{max-width:1320px}
  body[data-view="proj"] .composer>*{max-width:calc(1320px - 2*clamp(18px,4vw,56px))}
  .pjtabs{margin:-4px 0 4px;padding:0;gap:30px}
  .pjtabs button{flex:none;padding:12px 2px 11px}

  /* Today: the cards in grids, no arrows or dots to page them */
  .tdgrid .pcrail{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;overflow:visible;scroll-snap-type:none}
  .tdgrid .pc{width:auto;min-height:176px}
  .tdgrid .pcarrow,.tdgrid .pcdock{display:none}
}
/* A wide computer: Overview in two columns */
@media (min-width: 1100px) {
  .pjov .pjwho{display:none}
  .ovgrid{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,360px);grid-template-rows:auto auto 1fr;column-gap:20px;align-items:start;margin-top:6px}
  .ovmain{display:flex;flex-direction:column;gap:20px;grid-column:1;grid-row:1/-1}
  .ovgrid .ovcard{margin:0}
  .ovmain .ovcard{padding:18px 20px}
  .ovmain .ovh{margin-bottom:10px}.ovmain .ovh b{font-size:16px}
  .ovmain .ovmsg{padding:9px 0}.ovmain .ovmsg span{font-size:15px}
  .ovmain .ovreply{margin-top:12px;padding:11px 16px}
  .ovmain .ovtk .trow{min-height:48px}
  .ovgrid>.ovstat{grid-column:2;grid-row:1;margin:0 0 20px;gap:10px}
  .ovgrid>.ovstat button{padding:14px 6px;border-radius:18px;box-shadow:var(--shadow);min-width:0}
  .ovgrid>.ovstat b{font-size:18px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .ovgrid>.ovppl{display:block;grid-column:2;grid-row:2;margin-bottom:20px;padding:16px 18px}
  .ovgrid>.ovfiles{grid-column:2;grid-row:3;padding:16px 18px}
  .ovppl .ovh{margin-bottom:6px}
  .pprow{display:flex;align-items:center;gap:12px;width:100%;padding:9px 0;border:0;border-top:1px solid var(--line2);background:none;font:inherit;color:var(--ink);text-align:left;cursor:pointer}
  .ovh + .pprow{border-top:0}
  .pprow .av{width:36px;height:36px;font-size:12px;flex:none}
  .pprow .grow{flex:1;min-width:0;display:flex;flex-direction:column}
  .pprow b{font-weight:500;font-size:15px}.pprow small{font-size:12.5px;color:var(--muted)}
  .pprow .pp-tag{flex:none}
  .pprow:hover b{color:var(--pri)}
}
/* A wider computer: Today in two columns, the glance beside the greeting */
@media (min-width: 1180px) {
  .tdgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:auto auto auto auto 1fr;column-gap:20px;row-gap:0;align-items:start}
  .tdgrid>header{grid-column:1/-1;grid-row:1;padding-right:430px;margin-bottom:26px;min-width:0}
  .tdgrid>.glance{grid-column:1/-1;grid-row:1;justify-self:end;align-self:end;grid-template-columns:repeat(3,128px);margin-bottom:26px}
  .tdgrid>.glance .gt{padding:11px 14px 10px}.tdgrid>.glance .gt .v{font-size:22px}
  .tdgrid>.bkband{grid-column:1/-1;grid-row:2;margin-bottom:26px}
  .tdgrid>.tdproj{grid-column:1/-1;grid-row:3;margin-bottom:34px}
  .tdproj .pcrail{grid-template-columns:repeat(3,minmax(0,1fr))}
  .tdproj .pc{min-height:182px}
  .tdgrid>.tdneeds{grid-column:1/3;grid-row:4/6}
  .tdgrid>.hu.today{grid-column:3;grid-row:4;margin:0 0 24px}
  .tdgrid:has(>.tdneeds)>.hu.today{margin-top:44px}
  .tdgrid>.tdrail{display:flex;flex-direction:column;gap:24px;grid-column:3;grid-row:5;min-width:0}
  .tdgrid:not(:has(>.tdneeds))>:is(.hu.today,.tdrail){grid-column:1/-1}
  .tdrail .nmsg .between{flex-wrap:nowrap}.tdrail .nmsg .title{min-width:0}
  /* Up next in the column: the time against the estimate under the task, not squeezed beside it */
  .tdrail .tsw .item{display:grid;grid-template-columns:auto minmax(0,1fr) auto;column-gap:12px;row-gap:4px;align-items:center}
  .tdrail .tsw .item>:first-child{grid-column:1;grid-row:1/3}
  .tdrail .tsw .item>.trow{grid-column:2;grid-row:1}
  .tdrail .tsw .item>.hide-sm{grid-column:2;grid-row:2;width:auto!important;flex-direction:row;align-items:center;gap:8px!important}
  .tdrail .tsw .item>.hide-sm .eb{width:90px;flex:none}
  .tdrail .tsw .item>.icon{grid-column:3;grid-row:1/3}
}
/* Money on a computer (Zach, Nov 10): the four figures across the top; under them the invoices as a table and the
   charts on the left, payments, transactions and the rest on the right. A phone draws Money as it was (money.cljs
   picks the layout), and each of Time invested's groups steps aside there (display: contents). */
.invg{display:contents}
@media (min-width: 861px) {
  main:has(.wrap.mnd), main:has(.wrap.ibd){max-width:1240px}
  .wrap.mnd,.wrap.ibd{max-width:none;gap:24px}
  .mntiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
  .gt.mnt{cursor:default;padding:18px 20px 16px;gap:3px}
  .gt.mnt .v{font-size:30px;font-weight:300;margin:4px 0 0;font-variant-numeric:tabular-nums}
  .gt.mnt .s{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .mncols{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(330px,1fr);gap:24px;align-items:start}
  .mncol{display:flex;flex-direction:column;gap:26px;min-width:0}
  .card.mninv{padding:18px 20px 12px}
  .mnihd{display:flex;align-items:center;gap:12px;margin-bottom:12px}
  .mnihd h2{margin:0;flex:none}
  .mnihd .sub{flex:1;min-width:0;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .mnihd .btn{min-height:38px;padding:0 14px;border-radius:12px;font-size:13.5px;flex:none;margin-left:auto}
  .mnihd .btn svg{width:16px;height:16px}
  .mnth,.mntr{display:grid;grid-template-columns:34px minmax(76px,.7fr) minmax(0,1.25fr) minmax(0,1.4fr) 40px 88px;gap:12px;align-items:center}
  .mnth{padding:8px 10px;background:var(--line2);border-radius:10px;font-size:11.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
  .mnth span:nth-last-child(-n+2),.mndays,.mnamt{text-align:right}
  .mntr{width:100%;border:0;border-bottom:1px solid var(--line2);background:none;font:inherit;font-size:14.5px;color:inherit;text-align:left;padding:11px 10px;cursor:pointer;border-radius:0}
  .mntr:last-child{border-bottom:0}
  .mntr:hover{background:color-mix(in srgb,var(--line2) 55%,transparent)}
  .mntr .invic{width:34px;height:34px;border-radius:10px}.mntr .invic svg{width:17px;height:17px}
  .mnnum{min-width:0}.mnnum b{display:block;font-weight:500}.mnnum small{display:block;font-size:12px;color:var(--muted)}
  .mnstc{min-width:0}
  .mnst{display:inline-block;max-width:100%;box-sizing:border-box;vertical-align:middle;font-size:12px;font-weight:600;border-radius:99px;padding:3px 9px;background:var(--line2);color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .mnst.due{background:var(--amber-soft);color:var(--amber)} .mnst.bad{background:var(--red-soft);color:var(--red)}
  .mntr .mnamt{font-size:15.5px}
  .mnifoot{display:flex;justify-content:flex-end;padding-top:6px}
  .mnd .mntime{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px}
  .mnd .mntime > :not(.invg){grid-column:1/-1}
  .mnd .invg{display:flex;flex-direction:column;gap:8px;min-width:0}
  .mnd .studio-retainer-bar{width:min(200px,34%)}
  .mnd .mncol .studio-line{background:var(--card);border-radius:var(--radius);box-shadow:var(--shadow);padding:14px 16px;margin-top:10px}
  .mnd .payrow .meta.clip{white-space:normal}
}
@media (min-width: 861px) and (max-width: 1180px) {   /* a narrow window: the figures two across, the columns one under the other */
  .mntiles{grid-template-columns:repeat(2,minmax(0,1fr))}
  .mncols{grid-template-columns:minmax(0,1fr)}
}
/* Inbox on a computer (Zach, Nov 10): the first card a strip across the top with its buttons on the right; under it
   the list on the left and the bundle picked open beside it, to work through without leaving the list. A phone draws
   Inbox as it was (today.cljs picks the layout). */
@media (min-width: 861px) {
  .ibd .ibfirst{margin:0}
  .ibd .ibfirst > .ibc{display:grid;grid-template-columns:minmax(0,1fr) auto auto;column-gap:16px;row-gap:6px;align-items:center;padding:16px 20px}
  .ibd .ibfirst > .ibc > :not(.between):not(.ibacts){grid-column:1}
  .ibd .ibfirst > .ibc > .between{display:contents}
  .ibd .ibfirst > .ibc > .between > .kind{grid-column:1;grid-row:1}
  .ibd .ibfirst > .ibc > .ibacts{grid-column:2;grid-row:1 / span 2;max-width:480px;margin:0}
  .ibd .ibfirst > .ibc > .between > .ibbell{grid-column:3;grid-row:1 / span 2;margin:0}
  .ibpanes{display:grid;grid-template-columns:minmax(250px,330px) minmax(0,1fr);gap:24px;align-items:start}
  .ibnav{min-width:0}
  .ibnav .ibsec:first-child{margin-top:0}
  .ibnav .card.ibgrp{padding:4px 6px}
  .ibnav .ibrow{padding:10px 8px;border-radius:12px;border-bottom:0}
  .ibnav .ibrow + .ibrow{box-shadow:0 -1px 0 var(--line2)}
  .ibnav .ibrow:hover{background:var(--line2)}
  .ibnav .ibrow.on{background:var(--pri-soft);box-shadow:none}
  .ibnav .ibrow.on + .ibrow{box-shadow:none}
  .ibnav .ibrow.on .ibt{font-weight:600;color:var(--pri-dark)}
  .ibnav .ibic{width:34px;height:34px;border-radius:11px}
  .ibnav .ibs{font-size:12.5px}
  .ibpane{display:flex;flex-direction:column;gap:14px;min-width:0}
  .ibphd{padding:0 2px}
  .ibphd .eyebrow{margin-bottom:2px}
  .ibphd h2{margin:0;font-size:22px;font-weight:700;letter-spacing:-.015em}
  .ibpane > .wrap{min-height:0;gap:14px}
  .ibpane > .wrap > header h1{font-size:22px;letter-spacing:-.015em}
}

/* the AI page: what it cost, and the monthly cap (Zach, Nov 11; docs/plans/ai-usage.md). Reuses Money's chart and the Usage page's rows. */
.aiu-big{font-size:30px;font-weight:600;font-variant-numeric:tabular-nums;letter-spacing:-.01em}
.bar.aiu-cap{height:10px;border-radius:5px}.bar.aiu-cap > i{border-radius:5px}
.aiu-capline{font-size:13.5px;color:var(--muted)}
.chart.aiu-chart{height:150px;gap:2px;background:repeating-linear-gradient(to top,transparent 0,transparent 37px,var(--line2) 37px,var(--line2) 38px)}
.chart.aiu-chart button i{width:min(28px,80%)}
.aiu-chart + .axis{gap:2px;font-size:11px}
.aiu-mode{cursor:pointer}.aiu-mode .cedtg{border-radius:14px}
.aiu-warn{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--line2);cursor:pointer}
.aiu-other{display:flex;align-items:flex-end;gap:10px}.aiu-other .f{flex:1}
/* A form sheet on a computer (Zach, Nov 11; parts/sheet-of :desk, parts/desk-foot): Project settings' window for the
   shorter forms. The title at the left, a close button at the right in place of the top bar's own buttons, fields two
   across in a .dskgrid (.full spans both), and Cancel with the sheet's buttons in a footer. On a phone nothing here
   shows or moves: the footer and close button are hidden, a .dskgrid steps aside, and .dskonly stays out. */
.dskx,.dskfoot,.dskonly{display:none}
.dskgrid{display:contents}
@media (min-width: 861px) {
  .sheet.dsk{border-radius:20px;width:calc(100vw - 300px);min-width:560px;max-width:720px}
  .sheet.dsk.dsk-wide{max-width:960px}
  .sheet.dsk .shead{padding:18px 20px 16px 28px;border-bottom:1px solid var(--line)}
  .sheet.dsk .snav{grid-template-columns:1fr auto}
  .sheet.dsk .snav .l{display:none}
  .sheet.dsk .snav .r > :not(.dskx){display:none}
  .sheet.dsk .snav h3{text-align:left;max-width:none;font-size:20px;font-weight:650}
  .sheet.dsk .ssub{display:block;font-size:13px;font-weight:400;letter-spacing:0;color:var(--muted);margin-top:2px;overflow:hidden;text-overflow:ellipsis}
  .sheet.dsk .dskx{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;border:1px solid var(--line);background:var(--card);color:var(--ink);padding:0}
  .sheet.dsk .dskx svg{width:16px;height:16px}
  .sheet.dsk .sbody{padding:20px 28px 0}
  .dsk .dskgrid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px 18px;align-items:start}
  .dsk .dskgrid > .full{grid-column:1/-1}
  .dsk .dskonly{display:revert}
  .dsk .phoneonly{display:none}
  .dsk .dskfoot{display:flex;align-items:center;gap:10px;position:sticky;bottom:0;margin:auto -28px 0;padding:14px 28px;border-top:1px solid var(--line);background:var(--card);z-index:2}
  .dsk .dskfoot .dsknote{flex:1;min-width:0;font-size:13px;color:var(--muted)}
  .dsk .dskfoot .btn{min-height:44px;width:auto;padding:0 22px}
  .dsk .dskfoot .btn.pri{font-weight:600}
  .dsk label.f,.dsk .f > span,.dsk .stack > .sub:first-child{font-size:12.5px}
  .dsk .f input:not([type=checkbox]):not([type=radio]),.dsk .f textarea,.dsk .pkrow{min-height:42px;font-size:14.5px;border-radius:11px}
  .dsk .pkrow .av{width:28px;height:28px;font-size:11px}
  .dsk .seg{border-radius:11px}
  .dsk .seg .pill,.dsk .chips .pill{min-height:34px;font-size:13.5px}
}
/* Log time on a computer (Zach, Nov 11): Project beside Task, the time rollers (with Today) on the left, how it bills,
   the phase and What you did on the right; the hours left (and a timer's Throw this timer away) at the foot's left,
   then Cancel and Log. On a phone .lgright steps aside and the sheet is as it was. */
.lgright{display:contents}
@media (min-width: 861px) {
  .dsk .lgcols{align-items:stretch}
  .dsk .lgcols > .lg1card{border-radius:14px;justify-content:space-between}
  .dsk .lgright{display:flex;flex-direction:column;gap:14px;min-width:0}
  .dsk .lgright .lg1note{min-height:76px;font-size:14.5px;border-radius:11px}
  .dsk .lgright .lg1cap{margin:-8px 2px 0}
  .dsk .lg1bill .pill{min-height:34px}
  .dsk .phsel{min-height:48px;border-radius:11px}
  .dsk .dskfoot .dsknote{display:flex;align-items:center;flex-wrap:wrap;gap:4px 16px}
  .dsk .dskfoot .lg1away{padding:6px 0;align-self:auto;font-size:13px}
  .dsk .dskfoot .lgleft.over{color:var(--red);font-weight:600}
}
/* Add a transaction on a computer (Zach, Nov 11): Payment, Credit and Refund on top, Amount beside Date, Project beside
   Applies to, then Invoice, Method and Notes across; the TRANSACTIONS note at the foot's left, then Cancel and Add. */
@media (min-width: 861px) {
  .dsk .txtype{justify-self:start;width:calc(50% - 9px)}
  .dsk .dskgrid .mny{min-height:42px;border-radius:11px;padding:0 12px}
  .dsk .dskgrid .mnys{font-size:17px}
  .dsk .dskgrid .f .mny input{font-size:18px;padding:8px 0;min-height:0}
}
/* A task's sheet on a computer (Zach, Nov 11; tasks/view-body): a 940px window, the task with its Write to panel,
   notes and files at the left, its details and time at the right, and Delete task, the chat, Start timer and Mark done
   in the footer. The right column spans every row, the last of them stretchy, so the left keeps its own spacing. On a
   phone .tvgrid and .tvside step aside and nothing moves. */
.tvgrid,.tvside{display:contents}
@media (min-width: 861px) {
  .sheet.dsk.tvdesk{max-width:940px}
  .tvdesk .tvgrid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);grid-template-rows:repeat(7,auto) 1fr;column-gap:28px;align-items:start}
  .tvdesk .tvgrid > *{grid-column:1;margin-bottom:18px}
  .tvdesk .tvgrid > .tvside{display:flex;flex-direction:column;gap:18px;grid-column:2;grid-row:1/-1;margin-bottom:0}
  .tvdesk .tvtitle{font-size:19px}
  .tvdesk .kvl{border-top:0}
  .tvdesk .kvl > div{padding-top:10px;padding-bottom:10px;font-size:14.5px}
  .tvdesk .kvl > div:first-child{padding-top:0}
  .tvdesk .fu-bar .btn{min-height:40px}
  .tvdesk .fu-draft{font-size:14.5px}
  .tvdesk .dskfoot .btn svg{width:17px;height:17px}
  .tvdesk .dskfoot .btn.ghost{padding:0 12px}
}
/* New task on a computer (Zach, Nov 11; tasks/edit-body): a 760px window, Task across the top, Project beside Repeat,
   For beside Priority, the deadline beside where it came from and the estimate, Notes and Photos across, and Cancel
   and Add task in the footer. On a phone each .ntc steps aside and the form is as it was. */
.ntc{display:contents}
@media (min-width: 861px) {
  .sheet.dsk.ntdesk{max-width:760px}
  .ntdesk .dskgrid{grid-template-areas:"task task" "proj rep" "for prio" "due side" "notes notes" "files files"}
  .ntdesk .ntc{display:flex;flex-direction:column;gap:14px;min-width:0}
  .ntdesk .nt-task{grid-area:task;gap:6px}.ntdesk .nt-proj{grid-area:proj}.ntdesk .nt-rep{grid-area:rep}
  .ntdesk .nt-for{grid-area:for}.ntdesk .nt-prio{grid-area:prio}.ntdesk .nt-due{grid-area:due}.ntdesk .nt-side{grid-area:side}
  .ntdesk .nt-notes{grid-area:notes}.ntdesk .nt-files{grid-area:files}
  .ntdesk label.f,.ntdesk .f > span,.ntdesk .ntc .stack > .sub:first-child{font-size:12.5px}
  .ntdesk .ntc .stack{gap:6px!important}
  .ntdesk .f input,.ntdesk .f textarea,.ntdesk .pkrow,.ntdesk .estpick{min-height:42px;font-size:14.5px;border-radius:11px}
  .sheet.ntdesk .f textarea,.sheet.ntdesk .f textarea:focus{height:76px;min-height:76px;resize:none;line-height:1.4}
  .ntdesk .seg{border-radius:11px}
  .ntdesk .seg .pill{min-height:34px;font-size:13.5px;border-radius:8px}
  .ntdesk .chips{gap:6px}
  .ntdesk .chips .pill{min-height:34px;font-size:13.5px;padding:0 12px}
  .ntdesk .dq{gap:6px}
  .ntdesk .dq .pill{min-height:30px;font-size:12.5px;padding:0 10px}
  .ntdesk .tkadd{align-self:flex-start;min-height:36px}
}
/* New project and Client details on a computer (Zach, Nov 11): windows on the form-sheet base above, New project 860px
   wide and Client details 700px. The step says itself under the title, the progress bar runs under the header, and the
   step's buttons sit in the footer. New project's last step splits its answers into two boxes, the project's and the
   client's; Client details lays its fields two across, Who we bill with its hint as one cell. On a phone .cdwho steps
   aside and nothing moves. */
.cdwho{display:contents}
.cdhint{margin-top:-6px}
@media (min-width: 861px) {
  .sheet.dsk.npd{max-width:860px;min-height:0!important}   /* each step its own height: a phone keeps the tallest (sheet-fit) */
  .sheet.dsk.cdd{max-width:700px}
  .npd .npbar,.cdd .npbar{order:-1;height:3px;margin:-20px -28px 0;border-radius:0}
  .npd .npbar i,.cdd .npbar i{border-radius:0}
  .npd [data-npstep] > .npof,.cdd [data-wzstep] > .npof{display:none}
  .sheet.npd h2.npq,.sheet.cdd h2.npq{margin:0;font-size:18px}
  .npd .npstep,.cdd .npstep{gap:10px}
  .npd .npq + .sub,.cdd .npq + .sub{margin-top:-6px}
  .npd .nprows,.cdd .nprows{box-shadow:none;border:1px solid var(--line);border-radius:14px}
  .npd .nprow,.cdd .nprow{grid-template-columns:92px minmax(0,1fr) 16px;padding:10px 14px;min-height:46px}
  .npd .nprow > span:nth-child(2),.cdd .nprow > span:nth-child(2){font-size:14px}
  .npd .dskgrid{gap:14px 18px;margin-top:6px}
  .npd .dsknote .nplink{border:0;background:none;padding:0;font:inherit;font-size:13.5px;color:var(--pri);cursor:pointer;text-align:left}
  .npd label.f,.npd .f > span,.cdd label.f,.cdd .f > span{font-size:12.5px}
  .npd .f input,.cdd .f input{min-height:42px;font-size:14.5px;border-radius:11px}
  .npd .f textarea,.cdd .f textarea{font-size:14.5px;border-radius:11px}
  .npd .chipin,.cdd .chipin{min-height:42px;border-radius:11px;padding:4px 6px}
  .npd .chipin .chip,.cdd .chipin .chip{font-size:14px}
  .npd .f .chipin input.chipt,.cdd .f .chipin input.chipt{min-height:30px;font-size:14.5px}
  .cdd .cdwho{display:flex;flex-direction:column;gap:6px;min-width:0}
  .cdd .cdhint{margin-top:0;font-size:12px;color:var(--faint);line-height:1.4}
  .cdd .stack > .sub:first-child{font-size:12.5px}
  .cdd .seg{width:380px;max-width:100%;border-radius:11px}
  .cdd .seg .pill{min-height:34px;font-size:13.5px;border-radius:8px}
}
/* The Timer on a computer (Zach, Nov 11: "it works well on mobile but doesn't feel right on desktop"): Start a timer and
   Add time at the top right (N starts one), the timers in the main column with Resume and Log in words and a trash
   button where a phone swipes (it shows when the mouse is on the row), and Recently logged beside them, by day with
   each day's total. A narrow window keeps one column. Phones never see these: the Timer draws its phone page there. */
/* Recently logged's day lines, with the day's hours together (phone and computer) */
.tmdday{display:flex;justify-content:space-between;align-items:baseline;padding:14px 18px 4px;font-size:12.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);font-weight:600}
.tmdday b{letter-spacing:0;color:var(--ink);text-transform:none;font-size:13.5px}
.tmdlogs{padding-bottom:8px}
.tmdday + .item::before{display:none}

@media (min-width: 861px) {
  body[data-view="timer"] main{max-width:1240px}
  .tmdacts{display:flex;gap:10px;align-items:center}
  .tmdacts .btn{min-height:44px;font-weight:600}
  .tmdacts .btn svg{width:16px;height:16px}
  .tmdacts kbd{font:inherit;font-size:11.5px;font-weight:600;padding:2px 6px;border-radius:6px;background:rgba(255,255,255,.2);margin-left:2px}
  .tmdgrid{display:flex;flex-direction:column;gap:26px}
  .tmdmain,.tmdside{display:flex;flex-direction:column;gap:26px;min-width:0}
  .tmdidle{text-align:left;padding:16px 20px;background:var(--beige);border-radius:16px;color:var(--muted)}
  .tmdidle b{color:var(--ink);font-weight:600}
  .tmdsum{color:var(--ink);font-weight:600}
  .tmdrow{display:grid;grid-template-columns:40px minmax(0,1fr) auto auto auto 36px;gap:12px;min-height:68px;padding:12px 14px 12px 16px}
  .tmdrow .grow{min-width:0}
  .tmdclk{font-variant-numeric:tabular-nums;font-size:15.5px;font-weight:500;text-align:right;min-width:72px;margin-right:6px}
  .tmdrow .btn{min-height:36px;border-radius:999px;padding:0 14px;font-weight:600;font-size:13.5px}
  .tmdgo{background:var(--pri-soft);border-color:transparent;color:var(--pri)}
  .tmdgo svg{width:13px;height:13px}
  .tmddel{width:36px;height:36px;border-radius:10px;background:transparent;color:var(--faint);opacity:0;transition:opacity .12s ease}
  .tmddel svg{width:17px;height:17px}
  .tmdrow:hover,.tmdrow:focus-within{background:var(--line2)}
  .tmdrow:hover .tmddel,.tmddel:focus-visible{opacity:1}
  .tmddel:hover{color:var(--red);background:var(--red-soft)}
  .tmdlg{min-height:0;padding:9px 12px 9px 18px;gap:12px}
  .tmdlg .av{width:32px;height:32px;font-size:11px}
  .tmdlg .title{font-size:14.5px}.tmdlg .meta{font-size:12.5px}
  .tmdlg .amt{font-size:14.5px;white-space:nowrap}
  .tmdlg .btn{min-height:30px;padding:0 4px;opacity:0;font-weight:600}
  .tmdlg:hover,.tmdlg:focus-within{background:var(--line2)}
  .tmdlg:hover .btn,.tmdlg .btn:focus-visible{opacity:1}
}
@media (min-width: 1100px) {
  .tmdgrid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(300px,1fr);gap:28px;align-items:start}
}
@media (hover: none) {   /* a touch screen wider than a phone: the buttons that show on hover always show */
  .tmddel,.tmdlg .btn{opacity:1}
}
/* Earlier days' timers on the phone (Zach, Nov 12): three or fewer in a tinted card under Paused; more fold into one line at the top */
.tmtodo{background:var(--amber-soft);border-radius:var(--radius);padding:16px 14px 14px;gap:10px}
.tmtodo h2{font-size:17px}
.tmtodo .tmtot{font-variant-numeric:tabular-nums;font-size:15px}
.tmtodo .sub{margin-top:-6px}
.tmtodo .amt,.tmtolog .amt{font-variant-numeric:tabular-nums;font-weight:600;white-space:nowrap}
.tmlate{display:flex;align-items:center;gap:14px;background:var(--amber-soft);border-radius:var(--radius);padding:16px 18px}
.tmlate b{display:block;font-size:16px}
.tmlate span{color:var(--muted);font-size:14px}
.tmlate .tmlate-dot{width:10px;height:10px;border-radius:50%;background:var(--amber);flex:none}
.tmlate .btn{flex:none;padding:0 16px}

/* The account menu (Zach, Nov 20): on a computer, your photo fixed in the window's top right corner, opening a
   dropdown with the look of Projects' Show menu (hbmenu). A phone has none: it crowded the top pill and Calendar's
   plus. More's first card, on both, says who's signed in, with Sign out. */
.acct { display: none; }
.acchip { display: inline-flex; align-items: center; gap: 2px; border: 0; background: var(--card); box-shadow: var(--shadow); padding: 4px 8px 4px 4px; border-radius: 999px; color: var(--muted); cursor: pointer; }
.acchip:hover { color: var(--ink); }
.acchip .av { width: 34px; height: 34px; font-size: 12px; }
.acchev { display: inline-flex; } .acchev svg { width: 15px; height: 15px; }
.acwho { display: flex; align-items: center; gap: 12px; min-width: 0; }
.acchip .av, .acwho .av, .acme .av { background: var(--pri-soft); color: var(--pri-dark); }
.acme .av { width: 46px; height: 46px; font-size: 15px; }
.acme .btn { flex: none; }
.acme .acmail, .acme .acrole { display: block; } .acme .acmail { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 861px) {
  .acct { display: block; position: fixed; top: 18px; right: 28px; z-index: 42; }
  .hbmenu.acmenu { left: auto; right: 0; width: 290px; padding: 6px 0; }
  .acmenu .acwho { padding: 12px 16px; }
  .acmenu button { font-size: 15px; } .acmenu button:hover { background: var(--line2); }
  .acmenu button i { color: var(--muted); }
  .acmenu button.acout { color: var(--red); }
  .mr-me .list { box-shadow: var(--shadow); } .mr-me .acme { padding: 16px 18px; }
  .acme .acmail, .acme .acrole { display: inline; } .acme .acrole::before { content: " · "; }
}

/* Phone view, on staging (Zach, Nov 20, after a concept he liked: docs/plans/pictures/phone-view-frame-zach-likes.webp):
   on a computer, a dark window with a slim darker bar across the top (Phone view, staging only, and the Phone | Computer
   switch, the app's .seg with Phone lit) and the app in a 390 by 844 frame inside a phone's black edge, in the middle,
   shrunk to fit a short window (phone_view.cljs sets the size). The same look in light and dark. */
.phone-view { position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; background: #2a2f2f; color: #fff; }
.phone-view-bar { flex: none; display: flex; align-items: center; gap: 18px; height: 56px; padding: 0 16px; background: #1f2323; font-size: 15px; }
.phone-view-bar b { font-weight: 700; }
.phone-view-note { color: #f0a54a; }
.phone-view-bar .seg { margin-left: auto; display: inline-flex; gap: 2px; padding: 3px; border-radius: 10px; background: #343a3a; }
.phone-view-bar .seg .pill { min-height: 32px; padding: 0 14px; border: 0; border-radius: 8px; background: transparent; color: #c9cfcf; font-size: 14px; cursor: pointer; }
.phone-view-bar .seg .pill.on { background: #f7f1e6; color: #1f2323; font-weight: 600; }
.phone-view-bar .seg .pill:not(.on):hover { color: #fff; }
.phone-view-stage { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 0; }
.phone-view-fit { position: relative; }
.phone-view-phone { position: absolute; top: 0; left: 0; transform-origin: 0 0; padding: 12px; border-radius: 44px; background: #0d0f0f; box-shadow: 0 18px 50px rgba(0,0,0,.45); }
.phone-view-phone iframe { display: block; box-sizing: content-box; width: 390px; height: 844px; border: 0; border-radius: 32px; background: var(--bg); }
/* ----- The office, set in the map (decision 0094; ui/office_map.cljs). The look, sizes
   and motion are the approved mockup's office step (docs/plans/welcome-walkthrough/
   mockup.html); its colors are the app's own. Every class here starts ww-. ----- */
.ww-office{position:relative}
.ww-map{position:relative;height:300px;overflow:hidden;border-radius:22px;border:1px solid var(--line);background:var(--beige);touch-action:none;cursor:grab;-webkit-user-select:none;user-select:none}
.ww-map.ww-lift{cursor:grabbing}
.ww-tiles{position:absolute;inset:0;overflow:hidden}
.ww-grid{position:absolute;inset:0;background-image:linear-gradient(rgba(27,40,48,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(27,40,48,.05) 1px,transparent 1px);background-size:48px 48px}
.ww-mapimg{position:absolute;left:50%;top:57.3%;width:640px;height:640px;margin:-320px 0 0 -320px;will-change:transform}
.ww-mapimg.ww-glide{transition:transform .7s cubic-bezier(.33,1,.68,1)}
.ww-mapimg img{display:block;width:640px;height:640px;max-width:none;-webkit-user-drag:none;user-select:none;pointer-events:none;filter:saturate(.7) brightness(1.02)}
.ww-mapimg img.ww-swap{animation:ww-fade .5s both}
.ww-pin{position:absolute;left:50%;top:57.3%;width:44px;height:54px;margin:-52px 0 0 -22px;pointer-events:none;z-index:2}
.ww-pin span{display:block}
.ww-pin svg{width:44px;height:54px;display:block;filter:drop-shadow(0 6px 5px rgba(31,61,51,.3));color:var(--hi);transition:transform .15s}
.ww-pin .ww-hop svg{animation:ww-drop .55s cubic-bezier(.3,1.5,.5,1)}
.ww-map.ww-lift .ww-pin svg{transform:translateY(-12px)}
.ww-map.ww-lost .ww-pin{opacity:.3}
.ww-find{position:absolute;left:10px;right:10px;top:10px;background:var(--card);border-radius:16px;padding:8px 8px 8px 12px;display:flex;align-items:center;gap:9px;box-shadow:0 12px 26px -14px rgba(0,0,0,.5);color:var(--ink);z-index:4;cursor:text;border:1.5px solid transparent;transition:border-color .2s,box-shadow .2s}
.ww-find:focus-within{border-color:var(--ink);box-shadow:0 0 0 3px rgba(31,61,51,.14),0 12px 26px -14px rgba(0,0,0,.5)}
.ww-fi svg{width:18px;height:22px;display:block;color:var(--hi)}
.ww-fw{flex:1;min-width:0}
.ww-find input.ww-in{width:100%;border:0;outline:0;background:none;font:inherit;font-size:15px;font-weight:650;color:var(--ink);padding:0;text-overflow:ellipsis;box-shadow:none;height:auto;-webkit-user-select:text;user-select:text}
.ww-find small{display:block;font-size:11.5px;color:var(--faint);min-width:0}
.ww-find small.ww-lostnote{color:var(--amber);white-space:normal}
.ww-fr{display:flex;align-items:center;gap:8px;margin-top:2px}
.ww-find input.ww-un{flex:none;width:112px;height:auto;font:inherit;font-size:12px;font-weight:600;color:var(--pri);border:1px dashed var(--cal2);border-radius:999px;padding:2px 9px;background:none;outline:0;box-shadow:none;transition:all .2s;-webkit-user-select:text;user-select:text}
.ww-find input.ww-un::placeholder{color:var(--pri);opacity:.9}
.ww-find input.ww-un:focus{border-style:solid;border-color:var(--pri);background:var(--pri-soft)}
.ww-find input.ww-un.ww-has{border-style:solid;border-color:transparent;background:var(--pri-soft);color:var(--ink)}
.ww-find input.ww-un.ww-land{animation:ww-pop .4s cubic-bezier(.3,1.6,.5,1)}
.ww-map.ww-lost .ww-un{display:none}
.ww-loc{width:36px;height:36px;border-radius:50%;background:var(--pri-soft);color:var(--pri);display:flex;align-items:center;justify-content:center;flex:none;transition:all .2s;border:0;padding:0;cursor:pointer}
.ww-loc svg{width:18px;height:18px}
.ww-loc.ww-on{background:var(--pri);color:var(--pri-ink)}
.ww-loc.ww-busy svg{animation:ww-spin 1s linear infinite}
.ww-sugs{position:absolute;left:10px;right:10px;top:74px;z-index:4;display:flex;flex-direction:column;gap:5px}
.ww-nr{font-size:11.5px;font-weight:600;color:var(--muted);background:var(--glass);border-radius:999px;padding:4px 10px;align-self:flex-start;display:flex;align-items:center;gap:6px}
.ww-nr i{width:7px;height:7px;border-radius:50%;background:var(--pri)}
.ww-nr.ww-none{color:var(--amber)}
.ww-nr.ww-none i{background:var(--hi)}
.ww-nr i.ww-pulse{animation:ww-blink 1s infinite}
.ww-sg{background:var(--card);border-radius:13px;padding:10px 12px;display:flex;align-items:center;gap:9px;font:inherit;font-size:14px;font-weight:560;color:var(--ink);text-align:left;box-shadow:0 10px 22px -14px rgba(0,0,0,.5);border:1.5px solid transparent;cursor:pointer;animation:ww-up .5s var(--d,0s) cubic-bezier(.2,.8,.2,1) both}
.ww-sg svg{width:14px;height:17px;color:var(--hi);flex:none}
.ww-sg span{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ww-sg em{font-style:normal;color:var(--faint);font-weight:500;font-size:12.5px}
.ww-sg small{color:var(--faint);font-size:12px}
.ww-sg.ww-hot{border-color:var(--ink);background:var(--line2)}
.ww-sg.ww-asis{background:var(--glass);border-style:dashed;border-color:var(--hover)}
.ww-sg.ww-asis.ww-hot{border-style:solid;border-color:var(--ink)}
.ww-sg.ww-asis svg{color:var(--check)}
.ww-off{margin-top:8px}
@keyframes ww-drop{0%{transform:translateY(-34px)}60%{transform:translateY(3px)}}
@keyframes ww-pop{from{opacity:0;transform:scale(.6)}to{opacity:1;transform:none}}
@keyframes ww-fade{from{opacity:0}to{opacity:1}}
@keyframes ww-up{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@keyframes ww-blink{50%{opacity:.25}}
@keyframes ww-spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){
  .ww-mapimg.ww-glide,.ww-pin svg,.ww-find,.ww-un,.ww-loc{transition:none}
  .ww-pin .ww-hop svg,.ww-mapimg img.ww-swap,.ww-find input.ww-un.ww-land,.ww-sg,.ww-nr i.ww-pulse,.ww-loc.ww-busy svg{animation:none}
}
/* An iPhone zooms into a box under 16px when it's tapped, so on a touch screen the two boxes are 16px. */
@media (pointer:coarse){.ww-find input.ww-in{font-size:16px}.ww-find input.ww-un:focus{font-size:16px;width:132px;padding:0 9px}}
/* The work hours tool (decision 0094; ui/week_tool.cljs): the week as one picture you
   drag, carried over from docs/plans/welcome-walkthrough/mockup.html ("4 work hours: one
   tool"), in the app's own colors so it works in every theme. */
.ww-wh{padding:14px 14px 12px;touch-action:pan-x;color:var(--ink);-webkit-user-select:none;user-select:none;line-height:1.4}
.ww-wh button{border:0;padding:0;margin:0;background:none;font:inherit;color:inherit}
.ww-whsay{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 2px 10px;height:34px}
.ww-whsay b{font-size:16px;font-weight:650;letter-spacing:-.01em;flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-variant-numeric:tabular-nums}
.ww-whsay span{font-size:12.5px;color:var(--faint);white-space:nowrap;flex:none;min-width:64px;text-align:right;font-variant-numeric:tabular-nums}
.ww-whdays{display:grid;grid-template-columns:34px repeat(7,1fr);gap:4px;margin-bottom:6px}
.ww-wh .ww-whdays button{height:32px;border-radius:10px;font-size:12.5px;font-weight:650;color:var(--faint);background:var(--line2);transition:background .2s,color .2s,transform .15s;position:relative}
.ww-wh .ww-whdays button.ww-on{background:var(--ink);color:var(--card)}
.ww-whdays button:active{transform:scale(.9)}
.ww-whdays button.ww-cus::after{content:"";position:absolute;right:4px;top:4px;width:7px;height:7px;border-radius:50%;background:var(--hi);box-shadow:0 0 0 2px var(--ink)}
.ww-whgrid{position:relative;height:var(--gh,272px);margin-left:38px;touch-action:none}
.ww-whhr{position:absolute;left:-38px;width:30px;text-align:right;font-size:10.5px;color:var(--faint);margin-top:-7px;font-variant-numeric:tabular-nums}
.ww-whln{position:absolute;left:0;right:0;border-top:1px solid var(--line2)}
.ww-whcols{position:absolute;inset:0;display:grid;grid-template-columns:repeat(7,1fr);gap:4px}
.ww-whcol{position:relative;border-radius:8px;background:repeating-linear-gradient(135deg,var(--line2) 0 5px,color-mix(in srgb,var(--line2) 45%,var(--card)) 5px 10px);cursor:pointer}
.ww-whblk{position:absolute;left:0;right:0;border-radius:8px;background:color-mix(in srgb,var(--pri) 18%,var(--card));border:1.5px solid var(--pri);opacity:0;transform:scaleY(.6);transition:opacity .25s,transform .3s cubic-bezier(.3,1.5,.5,1)}
.ww-whcol.ww-on .ww-whblk{opacity:1;transform:none}
.ww-whlunch{position:absolute;left:0;right:0;background:repeating-linear-gradient(135deg,var(--card) 0 4px,var(--beige) 4px 8px);border-top:1.5px solid var(--pri);border-bottom:1.5px solid var(--pri);opacity:0;transition:opacity .2s}
.ww-whcol.ww-on .ww-whlunch.ww-has{opacity:1}
.ww-whcol.ww-cus .ww-whblk{border-color:var(--hi);background:color-mix(in srgb,var(--hi) 16%,var(--card))}
.ww-whcol.ww-cus .ww-whlunch{border-color:var(--hi)}
.ww-ce{position:absolute;left:0;right:0;height:22px;margin-top:-11px;cursor:ns-resize;touch-action:none;z-index:4;display:none}
.ww-whcol.ww-on .ww-ce{display:block}
.ww-ce::after{content:"";position:absolute;left:50%;top:9px;width:16px;height:4px;margin-left:-8px;border-radius:2px;background:var(--pri);opacity:.55;transition:all .15s}
.ww-ce:hover::after,.ww-ce.ww-drag::after{opacity:1;width:24px;margin-left:-12px;height:5px}
.ww-whcol.ww-cus .ww-ce::after{background:var(--hi);opacity:1}
.ww-whbar{position:absolute;left:0;right:0;height:30px;margin-top:-15px;z-index:5;pointer-events:none}
.ww-whbar::before{content:"";position:absolute;left:0;right:0;top:14px;height:2px;background:var(--pri);opacity:0;transition:opacity .15s}
.ww-whbar:has(i:hover)::before,.ww-whbar:has(i.ww-drag)::before{opacity:.35}
.ww-whbar::after{content:"";position:absolute;left:0;right:0;top:14px;border-top:1.5px dashed var(--pri);opacity:0}
.ww-wh.ww-hascus .ww-whbar::after{opacity:.3}
.ww-whbar i{pointer-events:auto;cursor:ns-resize;touch-action:none;position:absolute;left:var(--x,50%);transform:translateX(-50%);display:flex;align-items:center;gap:6px;background:var(--pri);color:var(--pri-ink);font-style:normal;font-size:12px;font-weight:650;padding:4px 10px 4px 8px;border-radius:999px;box-shadow:0 6px 14px -6px rgba(43,106,143,.9);font-variant-numeric:tabular-nums;white-space:nowrap;line-height:1.4;transition:left .28s cubic-bezier(.3,1.3,.5,1),transform .15s}
.ww-whbar.ww-start i{top:-13px}
.ww-whbar.ww-end i{top:18px}
.ww-whbar i::before{content:"";width:10px;height:8px;border-top:2px solid color-mix(in srgb,var(--pri-ink) 75%,transparent);border-bottom:2px solid color-mix(in srgb,var(--pri-ink) 75%,transparent)}
.ww-whbar i.ww-drag{transform:translateX(-50%) scale(1.12)}
.ww-whbar i.ww-rebound{animation:ww-backpill .4s cubic-bezier(.3,1.6,.5,1)}
@keyframes ww-backpill{0%,100%{transform:translateX(-50%)}40%{transform:translateX(-50%) scale(1.18)}}
.ww-rebound{animation:ww-back .4s cubic-bezier(.3,1.6,.5,1)}
@keyframes ww-back{40%{transform:scale(1.18)}}
.ww-whlz{position:absolute;left:0;right:0;z-index:2;cursor:grab;touch-action:none;display:flex;align-items:center;justify-content:center}
.ww-whlz span{background:var(--card);border:1px solid var(--line);border-radius:999px;font-size:10.5px;font-weight:650;color:var(--muted);padding:2px 9px;box-shadow:0 3px 8px -4px rgba(0,0,0,.3);white-space:nowrap;transition:background .2s,color .2s,transform .2s}
.ww-whlz.ww-drag{cursor:grabbing}
.ww-whlz span.ww-now{background:var(--ink);color:var(--card);border-color:var(--ink);font-size:12px;padding:4px 11px;transform:scale(1.05);font-variant-numeric:tabular-nums}
.ww-rz{position:absolute;left:0;right:0;height:12px;cursor:ns-resize}
.ww-rz.ww-t{top:-6px}.ww-rz.ww-b{bottom:-6px}
.ww-whlz.ww-off{cursor:pointer}
.ww-whlz.ww-off .ww-rz{display:none}
.ww-whlz.ww-off span{border:1px dashed color-mix(in srgb,var(--pri) 45%,var(--card));color:var(--pri);background:color-mix(in srgb,var(--card) 90%,transparent)}
.ww-ghost{position:absolute;width:40px;height:40px;border-radius:50%;margin:-20px;background:rgba(233,127,44,.35);box-shadow:0 0 0 2px rgba(233,127,44,.55);pointer-events:none;z-index:5;opacity:0;left:50%;transition:opacity .3s}
.ww-whnote{font-size:12px;color:var(--amber);margin:8px 2px -4px;height:17px;line-height:17px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ww-whnote b{font-weight:650}.ww-whnote span{color:var(--faint);margin-left:4px}
.ww-whfoot{display:flex;align-items:center;gap:10px;height:56px;border-top:1px solid var(--line2);padding:10px 2px 0;margin-top:10px}
.ww-lab{font-size:13px;color:var(--muted);flex:1;line-height:1.25;min-width:0}
.ww-lab b{display:block;color:var(--ink);font-size:13.5px;white-space:nowrap}
.ww-lab span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-variant-numeric:tabular-nums}
.ww-wkbar{height:5px;border-radius:3px;background:var(--line);margin-top:5px;overflow:hidden;max-width:170px}
.ww-wkbar i{display:block;height:100%;border-radius:3px;background:var(--pri);transition:width .25s cubic-bezier(.2,.8,.2,1),background .2s}
.ww-wh .ww-lunchon{font-size:12px;font-weight:650;color:var(--pri);background:var(--pri-soft);border-radius:999px;padding:5px 11px;white-space:nowrap}
.ww-stepper{display:flex;align-items:center;background:var(--line2);border-radius:13px;padding:3px;flex:none}
.ww-wh .ww-stepper button{width:34px;height:36px;border-radius:10px;background:var(--card);font-size:20px;font-weight:500;color:var(--ink);box-shadow:0 1px 2px rgba(0,0,0,.1);line-height:1}
.ww-stepper button:active{transform:scale(.92)}
.ww-wh .ww-stepper button[disabled]{opacity:.35;pointer-events:none}
.ww-stepper output{min-width:66px;text-align:center;font-weight:650;font-size:16px;font-variant-numeric:tabular-nums;white-space:nowrap;cursor:default}
.ww-stepper output::after{content:" / wk";font-size:11px;font-weight:560;color:var(--faint)}
.ww-wh.ww-over .ww-wkbar i{background:var(--red)}
.ww-wh.ww-over .ww-stepper{background:var(--red-soft)}
.ww-wh.ww-over .ww-stepper output{color:var(--red)}
.ww-wh.ww-over .ww-of{color:var(--red);font-weight:600}
@media (prefers-reduced-motion: reduce){.ww-wh *,.ww-wh *::before,.ww-wh *::after{transition:none!important;animation:none!important}}
/* In the My work hours sheet: the tool fills the sheet, the tips under it. */
.ww-whsheet .ww-wh{padding:0}
@media (min-width: 861px){ .sheet.ww-whwin{max-width:460px} }   /* the mockup's window on a computer */
.ww-whtips{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px;justify-content:center}
.ww-whtips span{font-size:11.5px;color:var(--muted);background:color-mix(in srgb,var(--ink) 6%,transparent);border-radius:999px;padding:4px 10px;font-weight:560}

/* ----- The welcome walkthrough's page (decision 0094; docs/plans/welcome-walkthrough/mockup.html): the sign-in
   page's cream paper and dots, a ruler, one step at a time. It covers the whole app and keeps its cream look in
   every theme, so the app's colors are pinned to their light values inside it. Every class here starts ww-. ----- */
.ww-page{--ww-paper:#F7F0E3;--ww-forest:#1F3D33;--ww-orange:#E97F2C;--ww-card:#FFFDF8;--ww-edge:#E7DCC6;--ww-edge2:#CFC2A8;--ww-soft:#5B6F66;
  --ww-fnt:#8F979C;--ww-ok:#2F6346;--ww-okb:#E7F2EB;--ww-amb:#B8561C;
  --bg:#FCFCFB;--card:#FFFFFF;--ink:#1B2830;--muted:#5D676D;--faint:#8F979C;--line:#E8EAEA;--line2:#F1F2F2;--beige:#F4F0EA;
  --pri:#2B6A8F;--pri-dark:#225673;--pri-soft:#EAF3F8;--pri-ink:#FFFFFF;--amber:#B8561C;--amber-soft:#FBEFE6;--hi:#E97F2C;--red:#B3372B;--red-soft:#FBEAE7;
  --field:#FFFFFF;--check:#D6DCDF;--hover:#C9D2CE;--cal1:#DCEAF2;--cal2:#A6C9DB;--cal3:#5E9AB8;--cal4:#2B6A8F;--scrim:rgba(20,24,27,.38);
  color-scheme:light;position:fixed;inset:0;z-index:200;background:var(--ww-paper);color:var(--ww-forest);display:flex;flex-direction:column;
  font-family:'Onest',system-ui,sans-serif;line-height:1.4;-webkit-font-smoothing:antialiased;-webkit-user-select:none;user-select:none;
  transition:transform .7s cubic-bezier(.6,0,.2,1),opacity .5s .2s}
.ww-page :where(button){font-family:inherit;color:inherit;cursor:pointer;border:0;background:none;padding:0}
.ww-page input{-webkit-user-select:text;user-select:text}
.ww-page.ww-gone{transform:translateY(-104%);opacity:0;pointer-events:none}
.ww-dots{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.ww-top{position:relative;z-index:2;display:flex;align-items:center;gap:12px;padding:calc(14px + env(safe-area-inset-top,0px)) 20px 0;height:calc(58px + env(safe-area-inset-top,0px));flex:none}
.ww-computer .ww-top{width:100%;max-width:440px;margin:14px auto 0;padding:0;height:44px}
.ww-computer .ww-back{margin-left:-8px}
.ww-back{height:36px;padding:0 12px 0 6px;border-radius:18px;display:flex;align-items:center;gap:3px;font-size:14.5px;font-weight:600;color:var(--ww-forest);transition:opacity .2s}
.ww-back:hover{background:rgba(31,61,51,.07)}
.ww-back[disabled]{opacity:0;pointer-events:none}
.ww-back svg{width:18px;height:18px}
.ww-skipall{font-size:13.5px;font-weight:560;color:var(--ww-soft);padding:8px 6px;border-radius:8px}
.ww-skipall:hover{color:var(--ww-forest)}
/* the ruler: its marks fill as you go, the orange mark slides */
.ww-pole{flex:1;height:26px;position:relative;margin:0 4px}
.ww-pole::before{content:"";position:absolute;left:0;right:0;bottom:4px;height:2px;border-radius:2px;background:#DCCFB4}
.ww-pole i{position:absolute;bottom:4px;width:2px;margin-left:-1px;height:7px;border-radius:1px;background:#C9BB9C;transition:height .35s cubic-bezier(.3,1.5,.5,1),background .3s}
.ww-pole i.ww-maj{height:12px}
.ww-pole i.ww-did{background:var(--ww-forest)}
.ww-pole u{position:absolute;bottom:4px;height:2px;left:0;background:var(--ww-forest);border-radius:2px;transition:width .5s cubic-bezier(.2,.8,.2,1)}
.ww-pole s{position:absolute;bottom:4px;width:8px;margin-left:-4px;height:22px;border-radius:3px;background:var(--ww-orange);transition:left .5s cubic-bezier(.2,.8,.2,1);box-shadow:0 4px 10px -4px rgba(233,127,44,.8)}
.ww-body{position:relative;z-index:1;flex:1;min-height:0;display:flex;justify-content:center;padding:6px 24px 0}
.ww-computer .ww-body{align-items:center;padding-bottom:24px}
.ww-step{width:100%;max-width:440px;display:flex;flex-direction:column;height:100%;padding-bottom:calc(26px + env(safe-area-inset-bottom,0px));position:relative}
.ww-computer .ww-step{height:auto;min-height:540px;max-height:calc(100vh - 82px);background:var(--ww-card);border:1px solid var(--ww-edge);border-radius:26px;padding:24px 34px 20px;box-shadow:0 1px 2px rgba(31,61,51,.05),0 30px 60px -36px rgba(31,61,51,.4)}
.ww-step.ww-enter{animation:ww-stepin .5s cubic-bezier(.2,.8,.2,1) both}
.ww-step.ww-enter.ww-rev{animation-name:ww-stepinr}
.ww-step.ww-leave{animation:ww-stepout .28s cubic-bezier(.5,0,.8,.4) both;pointer-events:none}   /* a second tap while it leaves can't skip the next step */
.ww-step.ww-leave.ww-rev{animation-name:ww-stepoutr}
@keyframes ww-stepin{from{opacity:0;transform:translateX(70px) scale(.98)}to{opacity:1;transform:none}}
@keyframes ww-stepinr{from{opacity:0;transform:translateX(-70px) scale(.98)}to{opacity:1;transform:none}}
@keyframes ww-stepout{to{opacity:0;transform:translateX(-70px) scale(.98)}}
@keyframes ww-stepoutr{to{opacity:0;transform:translateX(70px) scale(.98)}}
.ww-eb{font-size:11.5px;font-weight:650;letter-spacing:.12em;color:#C4661C;text-transform:uppercase}
.ww-page .ww-step h1.ww-h1{font-size:28px;font-weight:650;letter-spacing:-.022em;line-height:1.12;margin:6px 0 0;color:var(--ww-forest)}
.ww-lead{color:var(--ww-soft);font-size:15.5px;margin:7px 0 0;min-height:22px}
.ww-vis{flex:1;min-height:0;display:flex;flex-direction:column;justify-content:center;padding:14px 0}
.ww-computer .ww-vis{padding:10px 0}
.ww-acts{display:flex;flex-direction:column;gap:9px;flex:none}
.ww-go{position:relative;width:100%;height:52px;font-weight:600;font-size:15.5px;background:var(--ww-forest)!important;color:#F3E9D8!important;border-radius:14px;transition:transform .12s,background .25s,opacity .2s;display:flex;align-items:center;justify-content:center;gap:9px;text-decoration:none}
.ww-go:active{transform:scale(.975)}
.ww-go.ww-line{background:#fff!important;color:var(--ww-forest)!important;border:1px solid var(--ww-edge2)}
.ww-go.ww-ok{background:var(--ww-ok)!important;color:#fff!important;pointer-events:none}
.ww-go[disabled]{opacity:.45;pointer-events:none}
.ww-go.ww-google{background:#fff!important;color:var(--ww-forest)!important;border:1px solid var(--ww-edge2)}
.ww-go.ww-google svg{width:18px;height:18px}
.ww-later{align-self:center;font-size:14px;font-weight:560;color:var(--ww-soft)!important;padding:8px 14px!important;border-radius:9px;text-decoration:underline;text-underline-offset:3px;text-decoration-color:rgba(91,111,102,.35)}
.ww-later:hover{color:var(--ww-forest)!important}
.ww-fine{font-size:12.5px;color:#6E8078;text-align:center;margin:2px 0 0}
.ww-up{animation:ww-up .5s var(--d,0s) cubic-bezier(.2,.8,.2,1) both}
.ww-pop{animation:ww-pop .45s var(--d,0s) cubic-bezier(.3,1.5,.5,1) both}
/* the orange pulse: shows where to tap until you do */
.ww-tap{position:absolute;width:44px;height:44px;border-radius:50%;background:rgba(233,127,44,.32);box-shadow:0 0 0 2px rgba(233,127,44,.5);left:50%;top:50%;margin:-22px;opacity:0;pointer-events:none;animation:ww-tap 2.2s var(--d,1.2s) infinite}
@keyframes ww-tap{0%{opacity:0;transform:scale(.4)}18%{opacity:1;transform:scale(1)}40%,100%{opacity:0;transform:scale(1.6)}}
.ww-chk{display:inline-flex;width:20px;height:20px;border-radius:50%;background:var(--ww-okb);color:var(--ww-ok);align-items:center;justify-content:center;font-size:12px;font-weight:700;flex:none}
.ww-center{text-align:center}
/* Welcome */
.ww-mark{width:118px;height:118px;margin:0 auto 6px;display:block;overflow:visible}
.ww-mark rect{transform-box:fill-box}
.ww-mark .ww-mp{transform-origin:bottom;animation:ww-growy .7s .15s cubic-bezier(.2,.8,.2,1) both}
.ww-mark .ww-mb{transform-origin:left;animation:ww-growx .6s var(--d) cubic-bezier(.3,1.4,.5,1) both}
@keyframes ww-growy{from{transform:scaleY(0)}}
@keyframes ww-growx{from{transform:scaleX(0)}}
.ww-apps{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin-top:22px}
.ww-app{background:var(--bg);border:1px solid var(--ww-edge);border-radius:16px;padding:13px 4px 10px;display:flex;flex-direction:column;align-items:center;gap:6px;font-size:12.5px;font-weight:600;color:var(--ink)}
.ww-app svg{width:24px;height:24px;color:var(--pri)}
.ww-page .ww-step h1.ww-h1.ww-big{font-size:32px}
/* Google */
.ww-flow{position:relative;height:250px}
.ww-flow svg.ww-wires{position:absolute;inset:0;width:100%;height:100%}
.ww-wires path{fill:none;stroke:#C9BB9C;stroke-width:2;stroke-dasharray:4 6;animation:ww-dash 1.2s linear infinite}
.ww-linked .ww-wires path{stroke:var(--ww-ok);stroke-dasharray:none;animation:none;stroke-width:2.5;transition:stroke .4s}
@keyframes ww-dash{to{stroke-dashoffset:-20}}
.ww-src{position:absolute;top:0;width:30%;background:var(--bg);border:1px solid var(--ww-edge);border-radius:16px;padding:11px 6px 9px;text-align:center;color:var(--ink)}
.ww-src:nth-child(2){left:0}.ww-src:nth-child(3){left:35%}.ww-src:nth-child(4){left:70%}
.ww-src svg{width:26px;height:26px;display:block;margin:0 auto 4px}
.ww-src b{display:block;font-size:13px;font-weight:650}
.ww-src small{display:block;font-size:11px;color:var(--ww-fnt);line-height:1.25;margin-top:1px}
.ww-src .ww-chk{position:absolute;right:-6px;top:-6px;transform:scale(0);transition:transform .4s cubic-bezier(.3,1.6,.5,1)}
.ww-linked .ww-src .ww-chk{transform:none}
.ww-linked .ww-src:nth-child(3) .ww-chk{transition-delay:.12s}.ww-linked .ww-src:nth-child(4) .ww-chk{transition-delay:.24s}
.ww-hub{position:absolute;left:50%;bottom:0;width:86px;height:86px;margin-left:-43px;border-radius:24px;background:var(--ww-card);border:1px solid var(--ww-edge);display:flex;align-items:center;justify-content:center;box-shadow:0 18px 36px -22px rgba(31,61,51,.6);transition:box-shadow .4s,border-color .4s}
.ww-hub svg{width:46px;height:46px}
.ww-linked .ww-hub{border-color:#9CC7AB;box-shadow:0 0 0 6px rgba(47,99,70,.12),0 18px 36px -22px rgba(31,61,51,.6);animation:ww-bump .5s}
@keyframes ww-bump{40%{transform:scale(1.08)}}
.ww-spin{width:18px;height:18px;border-radius:50%;border:2.5px solid rgba(31,61,51,.2);border-top-color:var(--ww-forest);animation:ww-spin .7s linear infinite}
/* You're in, on a personal account */
.ww-works{display:grid;grid-template-columns:repeat(5,1fr);gap:7px}
.ww-works .ww-app{padding:11px 2px 8px;font-size:11.5px;position:relative}
.ww-works .ww-app .ww-chk{position:absolute;right:-5px;top:-5px;width:18px;height:18px;font-size:11px}
.ww-needs{margin-top:14px;border:1.5px dashed var(--ww-edge2);border-radius:16px;padding:11px 14px;display:flex;align-items:center;gap:12px;color:var(--ww-soft);font-size:13px}
.ww-needs .ww-ics{display:flex;gap:6px;opacity:.55}
.ww-needs svg{width:22px;height:22px}
/* the office: the map's set state */
.ww-map.ww-set .ww-pin svg{color:var(--ww-forest);animation:ww-drop .55s cubic-bezier(.3,1.5,.5,1)}
.ww-map.ww-set .ww-un:not(.ww-has){display:none}
.ww-map.ww-set .ww-loc{display:none}
.ww-find .ww-setchk{display:none}
.ww-map.ww-set .ww-find .ww-setchk{display:inline-flex;animation:ww-pop .4s .3s cubic-bezier(.3,1.6,.5,1) both}
/* the week: the tool in its own white card */
.ww-card{background:var(--bg);border:1px solid var(--ww-edge);border-radius:22px;box-shadow:0 24px 50px -34px rgba(31,61,51,.5);color:var(--ink)}
/* the steps kept from before, in the new look, until their own beans */
.ww-kept{padding:6px 14px;overflow:auto;min-height:0}
.ww-kept .ww-row{display:flex;align-items:center;gap:10px;padding:10px 0;border-top:1px solid var(--line);font-size:14px}
.ww-kept .ww-row:first-of-type{border-top:0}
.ww-kept .ww-row b{display:block;font-weight:650}
.ww-kept .ww-row small{display:block;color:var(--ww-fnt);font-size:12.5px}
.ww-kept .ww-row .ww-grow{flex:1;min-width:0}
.ww-kept h4{margin:10px 0 2px;font-size:11.5px;font-weight:650;letter-spacing:.08em;text-transform:uppercase;color:var(--ww-soft)}
/* Done */
.ww-recap{display:flex;flex-direction:column;gap:8px;margin-top:18px}
.ww-recaprow{display:flex;align-items:center;gap:11px;background:var(--bg)!important;border:1px solid var(--ww-edge)!important;border-radius:14px;padding:11px 10px 11px 14px!important;font-size:14px;color:var(--ink)!important;text-align:left;width:100%;transition:border-color .15s,box-shadow .15s,transform .12s}
.ww-recaprow b{font-weight:650}
.ww-recaprow small{margin-left:auto;color:var(--ww-fnt);font-size:12.5px;text-align:right}
.ww-recaprow .ww-go2{width:15px;height:15px;color:#B9AF98;flex:none;transition:transform .15s,color .15s}
.ww-recaprow:hover{border-color:var(--ww-forest)!important;box-shadow:0 8px 18px -14px rgba(31,61,51,.6)}
.ww-recaprow:hover .ww-go2{color:var(--ww-forest);transform:translateX(2px)}
.ww-recaprow:active{transform:scale(.985)}
.ww-recaprow.ww-no small{color:var(--ww-amb)}
.ww-recaprow.ww-no .ww-chk{background:#F1F2F1;color:var(--ww-fnt)}
.ww-conf{position:absolute;left:50%;top:150px;width:0;height:0;z-index:4;pointer-events:none}
.ww-conf i{position:absolute;width:8px;height:8px;border-radius:2px;animation:ww-conf 1.2s .2s cubic-bezier(.2,.7,.3,1) both}
@keyframes ww-conf{from{transform:none;opacity:1}to{transform:translate(var(--x),var(--y)) rotate(var(--r));opacity:0}}
.ww-more2{display:flex;align-items:center;gap:10px;background:rgba(31,61,51,.06);border-radius:14px;padding:11px 14px;font-size:13.5px;color:var(--ww-soft);margin-top:10px}
.ww-more2 .ww-ph{width:16px;height:26px;border-radius:5px;border:2px solid var(--ww-soft);flex:none}
/* Skip setup asks first */
.ww-skipask{position:absolute;inset:0;z-index:9;background:rgba(31,61,51,.4);display:flex;align-items:flex-end;justify-content:center;animation:ww-fade .25s both}
.ww-computer .ww-skipask{align-items:center}
.ww-skipcard{width:100%;max-width:400px;background:var(--ww-card);border-radius:26px 26px 0 0;padding:24px 22px calc(22px + env(safe-area-inset-bottom,0px));display:flex;flex-direction:column;gap:9px;animation:ww-sheetup .45s cubic-bezier(.2,.8,.2,1) both;box-shadow:0 -20px 50px -20px rgba(0,0,0,.4)}
.ww-computer .ww-skipcard{border-radius:26px;padding-bottom:22px;animation-name:ww-pop}
.ww-skipcard b{font-size:21px;font-weight:650;letter-spacing:-.02em;color:var(--ww-forest)}
.ww-skipcard p{color:var(--ww-soft);font-size:14.5px;margin:-2px 0 8px}
@keyframes ww-sheetup{from{transform:translateY(105%)}}
@media (prefers-reduced-motion: reduce){
  .ww-page,.ww-page *,.ww-page *::before,.ww-page *::after{animation-duration:.01s!important;animation-delay:0s!important;animation-iteration-count:1!important;transition-duration:.01s!important}
}
/* Toasts show over the welcome page (decision 0094): a problem the server reports while it is open must be seen. */
.toast { z-index: 210; }
/* The office box on the walkthrough's page: the page's button reset (.ww-page :where(button)) comes later in this
   file than .ww-loc and took its pale blue circle, so the page names it again. And the address at rest is the
   mockup's 15px on a touch screen too; it is 16px only while typed in, which is when an iPhone would zoom. */
.ww-page .ww-loc{background:var(--pri-soft);color:var(--pri)}
.ww-page .ww-loc.ww-on{background:var(--pri);color:var(--pri-ink)}
@media (pointer:coarse){.ww-find input.ww-in{font-size:15px}.ww-find input.ww-in:focus{font-size:16px}}
/* The walkthrough's home screen step: pick a phone, then watch it step by step (decision 0094; the mockup's
   "6 home screen"). The small phone wears the phone's own look, not the page's. */
.ww-pick{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.ww-page .ww-pick button{background:var(--bg);border:1px solid var(--ww-edge);border-radius:22px;padding:22px 10px 16px;display:flex;flex-direction:column;align-items:center;gap:10px;font-weight:650;font-size:15px;color:var(--ink);box-shadow:0 24px 50px -34px rgba(31,61,51,.5);transition:transform .15s;position:relative}
.ww-pick button:active{transform:scale(.96)}
.ww-pick .ww-ph{width:54px;height:92px;border-radius:13px;border:3.5px solid var(--ink);position:relative;background:var(--ww-paper)}
.ww-pick .ww-ph.ww-i::before{content:"";position:absolute;left:50%;top:5px;width:18px;height:5px;margin-left:-9px;border-radius:3px;background:var(--ink)}
.ww-pick .ww-ph.ww-a::before{content:"";position:absolute;left:50%;top:5px;width:6px;height:6px;margin-left:-3px;border-radius:50%;background:var(--ink)}
.ww-sim{position:relative;width:212px;height:372px;margin:0 auto;border-radius:34px;background:#fff;border:6px solid #1B2830;overflow:hidden;box-shadow:0 26px 50px -30px rgba(0,0,0,.6);font-family:-apple-system,system-ui,sans-serif;color:#111;font-size:10.5px;line-height:1.4;cursor:pointer}
.ww-sim.ww-and{border-radius:26px;font-family:Roboto,system-ui,sans-serif}
.ww-sim .ww-sc{position:absolute;inset:0;opacity:0;transition:opacity .35s;pointer-events:none;display:flex;flex-direction:column}
.ww-sim .ww-sc.ww-on{opacity:1}
.ww-sim .ww-spage{background:var(--ww-paper);flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:var(--ww-forest);font-family:'Onest',system-ui,sans-serif;font-weight:650;font-size:13px}
.ww-sim .ww-spage svg{width:44px;height:44px}
.ww-sim .ww-ibar{height:46px;background:rgba(246,246,248,.96);border-top:1px solid #DCDCE0;display:flex;align-items:center;gap:6px;padding:0 9px 6px;color:#0A7AFF}
.ww-sim .ww-ibar .ww-u{flex:1;height:24px;border-radius:9px;background:#E7E7EC;color:#555;display:flex;align-items:center;justify-content:center;font-size:8.5px}
.ww-sim .ww-ibar span{position:relative;width:24px;height:24px;display:flex;align-items:center;justify-content:center}
.ww-sim .ww-ibar svg{width:16px;height:16px}
.ww-sim .ww-abar{height:40px;background:#fff;border-bottom:1px solid #E3E3E3;display:flex;align-items:center;gap:6px;padding:14px 6px 0 10px;color:#444}
.ww-sim .ww-abar .ww-u{flex:1;height:22px;border-radius:11px;background:#EEF1F5;display:flex;align-items:center;padding:0 9px;font-size:8.5px;color:#555}
.ww-sim .ww-abar span{position:relative;width:22px;height:22px;display:flex;align-items:center;justify-content:center}
.ww-sim .ww-abar svg{width:14px;height:14px}
.ww-sim .ww-dimb{position:absolute;inset:0;background:rgba(0,0,0,.28)}
.ww-sim .ww-ish{position:absolute;left:0;right:0;bottom:0;background:#F2F2F7;border-radius:16px 16px 0 0;padding:10px 9px 14px;transform:translateY(105%);transition:transform .45s cubic-bezier(.2,.8,.2,1)}
.ww-sim .ww-sc.ww-on .ww-ish,.ww-sim .ww-sc.ww-on .ww-amenu{transform:none;opacity:1}
.ww-sim .ww-apps2{display:flex;gap:9px;padding:2px 2px 10px}
.ww-sim .ww-apps2 i{width:34px;height:34px;border-radius:9px;background:#D9D9DE}
.ww-sim .ww-rows{background:#fff;border-radius:11px;overflow:hidden}
.ww-sim .ww-rows div{padding:9px 11px;display:flex;justify-content:space-between;align-items:center;border-top:1px solid #EEE;position:relative}
.ww-sim .ww-rows div:first-child{border:0}
.ww-sim .ww-rows .ww-hi{font-weight:600;background:#EAF2FF}
.ww-sim .ww-amenu{position:absolute;right:6px;top:34px;width:150px;background:#fff;border-radius:12px;box-shadow:0 10px 30px -8px rgba(0,0,0,.45);padding:5px 0;transform:scale(.7);transform-origin:top right;opacity:0;transition:all .3s cubic-bezier(.2,.8,.2,1)}
.ww-sim .ww-amenu div{padding:8px 13px;position:relative}
.ww-sim .ww-amenu .ww-hi{background:#E8F0FE;font-weight:600}
.ww-sim .ww-dlg{position:absolute;left:0;right:0;bottom:0;top:38px;background:#F2F2F7;border-radius:16px 16px 0 0;transform:translateY(105%);transition:transform .45s cubic-bezier(.2,.8,.2,1);padding:0 10px}
.ww-sim .ww-sc.ww-on .ww-dlg{transform:none}
.ww-sim .ww-dlg .ww-hd{display:flex;justify-content:space-between;align-items:center;padding:12px 2px;font-size:11px}
.ww-sim .ww-dlg .ww-hd b{font-size:11.5px}
.ww-sim .ww-dlg .ww-hd span{color:#0A7AFF;position:relative}
.ww-sim .ww-dlg .ww-hd span:last-child{font-weight:700}
.ww-sim .ww-dlg .ww-nm{background:#fff;border-radius:11px;padding:9px;display:flex;gap:9px;align-items:center;margin-bottom:10px}
.ww-sim .ww-dlg .ww-nm i{width:34px;height:34px;border-radius:8px;background:var(--ww-paper);display:flex;align-items:center;justify-content:center;flex:none}
.ww-sim .ww-dlg .ww-nm i svg{width:22px;height:22px}
.ww-sim .ww-dlg .ww-nm b{font-size:11.5px;display:block}.ww-sim .ww-dlg .ww-nm small{color:#888;font-size:8.5px}
.ww-sim .ww-tg{background:#fff;border-radius:11px;padding:9px 11px;display:flex;justify-content:space-between;align-items:center;font-size:11px;position:relative}
.ww-sim .ww-sc.ww-on .ww-tg{animation:ww-glow 1.6s .5s infinite}
@keyframes ww-glow{50%{box-shadow:0 0 0 3px rgba(233,127,44,.55)}}
.ww-sim .ww-sw2{width:32px;height:19px;border-radius:10px;background:#34C759;position:relative}
.ww-sim .ww-sw2::after{content:"";position:absolute;right:2px;top:2px;width:15px;height:15px;border-radius:50%;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.3)}
.ww-sim .ww-adl{position:absolute;left:14px;right:14px;top:50%;margin-top:-80px;background:#fff;border-radius:18px;padding:14px;transform:scale(.8);opacity:0;transition:all .3s cubic-bezier(.3,1.3,.5,1);box-shadow:0 20px 40px -12px rgba(0,0,0,.5)}
.ww-sim .ww-sc.ww-on .ww-adl{transform:none;opacity:1}
.ww-sim .ww-adl b{font-size:12.5px;display:block;margin-bottom:9px}
.ww-sim .ww-adl .ww-o{border:1.5px solid #DDD;border-radius:11px;padding:8px 10px;margin-bottom:6px;position:relative}
.ww-sim .ww-adl .ww-o small{display:block;color:#777;font-size:8.5px}
.ww-sim .ww-adl .ww-o.ww-hi{border-color:#1A73E8;background:#E8F0FE}
.ww-sim .ww-sc.ww-on .ww-adl .ww-o.ww-hi{animation:ww-glow 1.6s .5s infinite}
.ww-sim .ww-adl .ww-o.ww-no{opacity:.5}
.ww-sim .ww-hm{background:linear-gradient(160deg,#2C4A5C,#1F3D33 70%);flex:1;display:grid;grid-template-columns:repeat(4,1fr);gap:16px 12px;padding:44px 16px;align-content:start}
.ww-sim .ww-hm i{aspect-ratio:1;border-radius:10px;background:rgba(255,255,255,.2);position:relative}
.ww-sim.ww-and .ww-hm i{border-radius:50%}
.ww-sim .ww-hm i.ww-sp{background:var(--ww-paper);display:flex;align-items:center;justify-content:center;transform:scale(0)}
.ww-sim .ww-hm i.ww-sp svg{width:64%;height:64%}
.ww-sim .ww-hm i.ww-sp::after{content:"Storypole";position:absolute;top:104%;left:-30%;right:-30%;text-align:center;color:#fff;font-size:8px}
.ww-sim .ww-sc.ww-on .ww-hm i.ww-sp{animation:ww-pop .5s .35s cubic-bezier(.3,1.6,.5,1) both}
.ww-sim .ww-tp{position:absolute;width:30px;height:30px;border-radius:50%;background:rgba(233,127,44,.4);box-shadow:0 0 0 2px rgba(233,127,44,.6);left:50%;top:50%;margin:-15px;opacity:0;pointer-events:none}
.ww-sim .ww-sc.ww-on .ww-tp{animation:ww-tap 1.5s .9s infinite}
.ww-scap{text-align:center;margin-top:12px;min-height:44px}
.ww-scap b{font-size:16px;font-weight:650;color:var(--ww-forest);display:block}
.ww-scap small{font-size:12.5px;color:var(--ww-soft)}
.ww-sdots{display:flex;justify-content:center;gap:6px;margin-top:6px}
.ww-page .ww-sdots button{padding:6px 3px}
.ww-sdots i{display:block;width:8px;height:8px;border-radius:4px;background:#C2B69C;transition:width .35s cubic-bezier(.2,.8,.2,1),background .3s}
.ww-sdots .ww-cur i{background:var(--ww-orange);width:26px}
.ww-page .ww-other{align-self:center;font-size:12.5px;color:var(--ww-soft);text-decoration:underline;text-underline-offset:3px;margin-bottom:8px}
/* The walkthrough's bell step: the lock screen and the big bell (the mockup's "7 lock screen") */
.ww-bellvis{align-items:center}
.ww-lock{position:relative;width:230px;height:232px;margin:0 auto;border-radius:34px;border:6px solid #1B2830;background:linear-gradient(165deg,#3B6B5A,#1F3D33 55%,#16302A);overflow:hidden;color:#fff;box-shadow:0 26px 50px -30px rgba(0,0,0,.6)}
.ww-lock .ww-clk{text-align:center;font-size:44px;font-weight:300;letter-spacing:-.02em;margin-top:8px;line-height:1}
.ww-lock .ww-dt{text-align:center;font-size:11.5px;opacity:.8;margin-top:16px}
.ww-ntf{position:absolute;left:9px;right:9px;border-radius:15px;padding:8px 10px;display:flex;gap:8px;align-items:center;font-size:10.5px;line-height:1.25;text-align:left}
.ww-ntf .ww-ic{width:26px;height:26px;border-radius:7px;background:var(--ww-paper);display:flex;align-items:center;justify-content:center;flex:none}
.ww-ntf .ww-ic svg{width:17px;height:17px}
.ww-ntf b{display:block;font-size:11px}
.ww-ntf.ww-n1{top:104px}.ww-ntf.ww-n2{top:151px}
.ww-lock .ww-ntf{opacity:.25;border:1.5px dashed rgba(255,255,255,.9);background:transparent;color:#fff;transition:none}
.ww-lock.ww-on .ww-ntf{opacity:1;border:0;background:rgba(255,255,255,.94);color:var(--ink);animation:ww-ndrop .6s cubic-bezier(.3,1.4,.5,1) both}
.ww-lock.ww-on .ww-ntf.ww-n2{animation-delay:.35s}
@keyframes ww-ndrop{from{opacity:0;transform:translateY(-40px) scale(.94)}}
.ww-lock.ww-on{animation:ww-buzz .4s .15s}
@keyframes ww-buzz{20%{transform:translateX(-3px) rotate(-.6deg)}40%{transform:translateX(3px) rotate(.6deg)}60%{transform:translateX(-2px)}80%{transform:translateX(2px)}}
.ww-page .ww-bigbell{position:relative;width:76px;height:76px;border-radius:50%;margin:-22px auto 0;z-index:3;background:var(--ww-card);border:1.5px solid var(--ww-edge2);color:#9AA39D;display:flex;align-items:center;justify-content:center;box-shadow:0 18px 30px -16px rgba(31,61,51,.6);transition:background .3s,color .3s,border-color .3s;transform-origin:50% 15%;flex:none}
.ww-bigbell svg{width:32px;height:32px}
.ww-bigbell:not(.ww-on)::after{content:"";position:absolute;width:40px;height:2.5px;border-radius:2px;background:currentColor;transform:rotate(-40deg);box-shadow:0 0 0 2px var(--ww-card)}
.ww-page .ww-bigbell.ww-on{background:var(--ww-orange);border-color:var(--ww-orange);color:#fff;box-shadow:0 0 0 8px rgba(233,127,44,.16),0 18px 30px -14px rgba(233,127,44,.9)}
.ww-bigbell.ww-ring{animation:ww-ring .7s}
@keyframes ww-ring{15%{transform:rotate(16deg)}30%{transform:rotate(-14deg)}45%{transform:rotate(10deg)}60%{transform:rotate(-7deg)}80%{transform:rotate(3deg)}}
.ww-bigbell:active{transform:scale(.93)}
.ww-bigbell[disabled]{cursor:default}
.ww-bellsay{text-align:center;font-size:14px;font-weight:650;color:var(--ww-soft);margin-top:9px}
/* ----- The welcome walkthrough's inbox step (decision 0094; the mockup's "5 inbox: drag what counts"): the four group
   cards dragged between the Inbox and Muted, their bells, and the note beside Muted. ----- */
.ww-ibx{display:flex;flex-direction:column;gap:10px;position:relative}
.ww-ibrow{display:flex;align-items:center;justify-content:center;gap:9px;font-size:12.5px;font-weight:600;color:var(--ww-soft);height:40px}
.ww-ibbell{position:relative;width:40px;height:40px;border-radius:50%;background:var(--ww-card);border:1px solid var(--ww-edge);display:flex;align-items:center;justify-content:center;color:var(--ww-forest);transform-origin:50% 20%}
.ww-ibbell svg{width:20px;height:20px}
.ww-ibbell.ww-ring{animation:ww-ring .7s}
@keyframes ww-ring{15%{transform:rotate(16deg)}30%{transform:rotate(-14deg)}45%{transform:rotate(10deg)}60%{transform:rotate(-7deg)}80%{transform:rotate(3deg)}}
.ww-ibbell em{position:absolute;right:-5px;top:-5px;min-width:19px;height:19px;border-radius:10px;background:var(--ww-orange);color:#fff;font-style:normal;font-size:11px;font-weight:700;display:flex;align-items:center;justify-content:center}
.ww-ibzone{border-radius:22px;padding:10px;transition:background .2s,border-color .2s,box-shadow .2s}
.ww-ibzone.ww-ibin{background:var(--bg);border:1px solid var(--ww-edge);box-shadow:0 24px 50px -34px rgba(31,61,51,.5)}
.ww-ibzone.ww-ibout{border:1.5px dashed var(--ww-edge2);min-height:104px}
.ww-ibzone.ww-ibover{border-color:var(--ww-orange);box-shadow:0 0 0 4px rgba(233,127,44,.16)}
.ww-ibzh{display:flex;align-items:center;gap:10px;padding:2px 4px 9px;color:var(--ink)}
.ww-ibtray{position:relative;width:34px;height:34px;border-radius:11px;background:var(--pri-soft);display:flex;align-items:center;justify-content:center;color:var(--pri);flex:none}
.ww-ibtray svg{width:19px;height:19px}
.ww-ibbadge{position:absolute;right:-7px;top:-7px;min-width:21px;height:21px;border-radius:12px;background:var(--ww-amb);color:#fff;font-size:11.5px;font-weight:700;display:flex;align-items:center;justify-content:center;padding:0 6px;border:2px solid var(--bg)}
.ww-ibbadge.ww-bumped{animation:ww-bump .35s}
.ww-ibzh b{font-size:15px;font-weight:650}
.ww-ibzh small{font-size:12px;color:var(--ww-fnt);margin-left:auto}
.ww-ibout .ww-ibzh{color:var(--ww-soft);position:relative}
.ww-page .ww-infodot{width:20px;height:20px;border-radius:50%;border:1.5px solid currentColor;font-size:12px;font-weight:700;font-style:italic;font-family:Georgia,serif;line-height:1;display:flex;align-items:center;justify-content:center;color:var(--ww-soft);margin-left:-3px;transition:background .15s,color .15s}
.ww-page .ww-infodot:hover,.ww-tipon .ww-infodot{background:var(--ww-forest);color:#F3E9D8;border-color:var(--ww-forest)}
.ww-infopop{position:absolute;left:-4px;right:-4px;bottom:calc(100% + 4px);z-index:8;background:var(--ww-forest);color:#EFE6D4;border-radius:14px;padding:12px 14px;font-size:13px;line-height:1.45;box-shadow:0 18px 34px -16px rgba(0,0,0,.6);opacity:0;transform:translateY(6px) scale(.98);transform-origin:10% 100%;pointer-events:none;transition:opacity .18s,transform .22s cubic-bezier(.3,1.3,.5,1)}
.ww-infopop b{display:block;color:#fff;font-size:13.5px;margin-bottom:3px}
.ww-infopop::after{content:"";position:absolute;left:66px;top:100%;border:7px solid transparent;border-top-color:var(--ww-forest)}
.ww-infodot:hover~.ww-infopop,.ww-infodot:focus-visible~.ww-infopop,.ww-tipon .ww-infopop{opacity:1;transform:none}
.ww-ibslots{display:grid;grid-template-columns:1fr 1fr;gap:8px;min-height:10px}
.ww-ibout .ww-ibslots:empty::after{content:"Drag here to mute";grid-column:1/3;text-align:center;font-size:13px;color:#A39A84;padding:16px 0 20px}
.ww-ibgc{position:relative;background:#fff;border:1px solid var(--line);border-radius:15px;padding:10px 11px 9px;color:var(--ink);cursor:grab;touch-action:none;transition:box-shadow .2s,opacity .2s,background .2s;border-left:4px solid var(--c);outline:none}
.ww-ibgc:focus-visible{box-shadow:0 0 0 3px rgba(233,127,44,.35)}
.ww-ibgc b{display:block;font-size:13.5px;font-weight:650;padding-right:30px}
.ww-ibgc small{display:block;font-size:11px;color:var(--ww-fnt);line-height:1.3;margin-top:2px;min-height:28px}
.ww-ibgc em{font-style:normal;font-size:11px;font-weight:650;color:var(--ww-amb);background:var(--amber-soft);border-radius:9px;padding:1px 7px;display:inline-block;margin-top:5px}
.ww-ibgc.ww-ibdrag{cursor:grabbing;z-index:7;box-shadow:0 22px 40px -16px rgba(31,61,51,.55)}
.ww-ibgc.ww-ibland{animation:ww-pop .35s cubic-bezier(.3,1.5,.5,1)}
.ww-ibout .ww-ibgc{background:transparent;border-style:dashed;border-left-style:solid;opacity:.75}
.ww-ibout .ww-ibgc em{background:none;color:var(--ww-fnt);padding-left:0}
.ww-page .ww-ibpb{position:absolute;right:7px;top:7px;width:30px;height:30px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#B4BAB6;background:#F3F4F3;transition:all .2s}
.ww-ibpb svg{width:15px;height:15px}
.ww-page .ww-ibpb.ww-on{background:var(--ww-forest);color:#F3E9D8}
.ww-ibpb:active{transform:scale(.88)}
.ww-ibpb:not(.ww-on)::after{content:"";position:absolute;width:20px;height:1.5px;background:currentColor;transform:rotate(-40deg)}
.ww-ibout .ww-ibpb{visibility:hidden}
.ww-ibkey{display:flex;justify-content:center;gap:14px;font-size:12px;color:var(--ww-soft);margin-top:2px}
.ww-ibkey span{display:flex;align-items:center;gap:6px}
.ww-page .ww-ibkey .ww-ibpb{position:static;width:20px;height:20px;pointer-events:none}
.ww-ibkey .ww-ibpb svg{width:11px;height:11px}

/* ----- A company's Plan page (Zach, Nov 20; the mockup he approved over six rounds; ui/company_plan.cljs) -----
   The title stays put, the middle scrolls with no scroll bar, the main button is pinned at the bottom. On a phone the tab
   bar and Trace step aside, as the mockup has it; on a computer the page is a centered column beside the side menu, the
   pinned button sits at the bottom right at a normal width, and Cancel plan is a normal-width button. */
body[data-view="plan"] .tabs,body[data-view="plan"] .trbtn{display:none !important}
.planpg{display:flex;flex-direction:column}
.plan-head{position:sticky;top:0;z-index:6;background:var(--bg);margin:0 -16px;padding:calc(var(--sat, env(safe-area-inset-top, 0px)) + 6px) 16px 12px;display:flex;flex-direction:column;gap:14px;transition:box-shadow .2s ease}
.plan-head.shade{box-shadow:0 1px 0 var(--line)}
.plan-head .back{display:inline-flex;align-items:center;gap:2px;border:0;background:transparent;color:var(--pri);font:inherit;font-size:15px;padding:0;align-self:flex-start;margin:0 0 -14px -6px;min-height:36px}
.plan-head .back svg{width:20px;height:20px}
.studio-app .plan-head h1{margin:0}
.plan-body{display:flex;flex-direction:column;gap:22px;padding:10px 0 132px;animation:ppin .26s ease}
@keyframes ppin{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.planpg .stack{display:flex;flex-direction:column;gap:14px}
.planpg h2{margin:0}
.plancard{background:var(--card);border-radius:var(--radius);box-shadow:var(--shadow);padding:18px}
.plancard .big{font-size:34px;font-weight:600;letter-spacing:-.02em;line-height:1.1;margin:6px 0 4px}
.plancard .big small{font-size:15px;font-weight:400;color:var(--muted);letter-spacing:0}
.plancard-warn{background:var(--amber-soft)} .plancard-warn .eyebrow{color:var(--amber)} .plancard-warn .big{font-size:26px}
.plancard .rows{margin-top:14px}
.plancard.facts{box-shadow:none;border:1px solid var(--line)}
.plancard .fee{margin-top:12px}
.rowline{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid var(--line);font-size:15px}
.rowline.first{border-top:0}
.rowline span{color:var(--muted)} .rowline b{font-weight:600;text-align:right}
.planpg .tick,.plan-sheet .tick{display:flex;gap:12px;align-items:flex-start;font-size:15px;line-height:1.4;color:var(--ink);cursor:pointer}
.planpg .tick input,.plan-sheet .tick input{width:22px;height:22px;flex:none;margin:1px 0 0;accent-color:var(--pri);transition:transform .15s ease}
.planpg .tick input:active,.plan-sheet .tick input:active{transform:scale(.88)}
.terms{background:var(--beige);border-radius:16px;padding:14px 16px;font-size:15px;line-height:1.45}
.terms b{display:block;font-weight:600;margin-bottom:4px}
a.plain{color:var(--pri);font-size:15px}
.planpg .list .item.noav{display:flex;align-items:center;gap:10px;width:100%;border:0;background:transparent;text-align:left;font:inherit;color:inherit;appearance:none;-webkit-appearance:none;border-radius:0}
.planpg .list .item.noav .grow{flex:1;min-width:0}
.planpg .list .item .chev{flex:none;display:grid;color:var(--ink)} .planpg .list .item .chev svg{width:18px;height:18px}
.planpg .list .item.noav.waiting{cursor:default}
.plancard .big .bump{display:inline}
.plan-foot{position:fixed;left:0;right:0;bottom:0;z-index:21;padding:12px 16px calc(16px + env(safe-area-inset-bottom));background:var(--bg);box-shadow:0 -1px 0 var(--line)}
.plan-foot .btn{animation:ppin .26s ease}
.planpg .btn[disabled],.plan-sheet .btn[disabled]{opacity:.45;pointer-events:none}
.plan-sheet .sbody{gap:14px}
/* the sheets: a grab bar to swipe down by, the title between, and a round X at the top right (parts/sheet-of :x?) */
.sheet .snav .sx{display:grid;place-items:center;width:36px;height:36px;border-radius:99px;background:var(--line2);color:var(--muted);padding:0;min-height:0}
.sheet .snav .sx svg{width:18px;height:18px}
.sheet .snav .sx.pressed{transform:scale(.9);background:var(--line)}
/* Yearly or Month to month: the white pill slides to the one picked */
.seg.slide{position:relative}
.seg.slide::before{content:"";position:absolute;top:4px;bottom:4px;left:4px;width:calc(50% - 6px);border-radius:11px;background:var(--card);box-shadow:0 1px 3px rgba(20,24,27,.12);transition:transform .26s cubic-bezier(.3,.8,.3,1)}
.seg.slide.second::before{transform:translateX(calc(100% + 4px))}
.seg.slide .pill{position:relative;z-index:1;font-size:15px}
.seg.slide .pill.on{background:transparent;box-shadow:none}
/* a number that changes eases in; a button that unlocks gives a small bounce */
.bump{display:inline-block;animation:bump .28s ease}
@keyframes bump{0%{opacity:.2;transform:translateY(6px)}100%{opacity:1;transform:none}}
.btn.unlocked{animation:unlock .34s cubic-bezier(.3,1.4,.5,1)}
@keyframes unlock{0%{transform:scale(.985)}55%{transform:scale(1.02)}100%{transform:scale(1)}}
/* presses you can see (ui/press.cljs) */
.presses .btn,.presses .pill,.presses .item.noav,.presses .back{transition:transform .13s cubic-bezier(.3,.7,.4,1),background-color .22s ease,color .22s ease,border-color .22s ease,opacity .22s ease,box-shadow .22s ease;-webkit-tap-highlight-color:transparent;touch-action:manipulation}
.presses .btn.pressed{transform:scale(.965)}
.presses .btn.pri.pressed{background:var(--pri-dark);box-shadow:inset 0 2px 6px rgba(0,0,0,.18)}
.presses .btn.line.pressed{background:var(--line2)}
.presses .btn.line.danger.pressed{background:var(--red-soft)}
.presses .item.noav.pressed{background:var(--line2)}
.presses .item.noav .chev{transition:transform .18s ease}
.presses .item.noav.pressed .chev{transform:translateX(3px)}
.presses .pill.pressed{transform:scale(.97)}
.presses .back.pressed{opacity:.5}
/* the red button's second tap: it fills, says Tap again to confirm, and a line runs out in four seconds */
.btn .lbl{display:inline-block}
.btn .lblin{animation:lblin .2s ease}
@keyframes lblin{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.btn.line.danger.confirm{position:relative;overflow:hidden}
.btn.line.danger.confirm.armed{background:var(--red);border-color:var(--red);color:#fff;animation:arm .32s cubic-bezier(.3,1.4,.5,1)}
.btn.line.danger.confirm.armed.pressed{background:#9E2F24}
.btn.line.danger.confirm.armed::after{content:"";position:absolute;left:0;bottom:0;height:3px;width:100%;background:rgba(255,255,255,.55);transform-origin:left;animation:fuse 4s linear forwards}
@keyframes arm{0%{transform:scale(1)}45%{transform:scale(1.03)}100%{transform:scale(1)}}
@keyframes fuse{from{transform:scaleX(1)}to{transform:scaleX(0)}}
@media (min-width: 861px) {
  .planpg{max-width:720px;margin:0 auto}
  .plan-head{margin:0;padding:4px 0 12px}
  .plan-foot{left:236px;display:flex;justify-content:flex-end;padding:14px max(48px,calc((100vw - 236px - 720px)/2)) 18px}
  .plan-foot .btn{width:auto;min-width:300px;flex:none}
  .planpg .cancelplan{width:auto;min-width:220px;align-self:flex-start}
}
@media (prefers-reduced-motion: reduce) {
  .planpg *,.planpg *::before,.planpg *::after,.plan-sheet *,.plan-sheet *::before,.plan-sheet *::after,.plan-foot .btn,.plan-body{animation:none !important;transition:none !important}
}
