/* Workbench v34 — high-fidelity visual pass. Workbench data and behaviors stay intact. */
:root {
  --wb-page-bg: #f4f7fb;
  --wb-card-bg: rgba(255, 255, 255, 0.94);
  --wb-text: #13213a;
  --wb-secondary: #71829b;
  --wb-primary: var(--color-brand-primary);
  --wb-primary-soft: #e8f1fd;
  --wb-border: #e4eaf2;
  --wb-divider: #e8edf4;
  --wb-radius: 14px;
}

/* Login — visual alignment with the supplied mobile reference. */
body .phone:has(#login.active) {
  background: var(--wb-page-bg) url("./workbench-background-v34-r2.png") center top / cover no-repeat;
}

body .phone:has(#login.active)::after,
body .phone .screen:has(#login.active) {
  background: transparent;
}

body .phone .screen:has(#login.active) {
  padding: 18px 28px 24px;
}

body .phone #login.login-view.active {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  color: var(--wb-text);
}

body .phone #login .login-intro {
  margin-top: 80px;
}

body .phone #login .login-intro h1 {
  margin: 0;
  color: var(--wb-text);
  font-size: 23px;
  font-weight: 680;
  line-height: 32px;
  letter-spacing: -0.5px;
  text-align: left;
}

body .phone #login .login-intro p {
  margin: 7px 0 0;
  color: var(--wb-secondary);
  font-size: 15px;
  line-height: 22px;
}

body .phone #login .login-form {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  gap: 14px;
  margin-top: 46px;
}

body .phone #login .login-account,
body .phone #login .login-password,
body .phone #login .login-verify-row {
  position: relative;
  height: 44px;
  min-height: 44px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body .phone #login .login-account {
  display: flex;
  overflow: visible;
  align-items: stretch;
}

body .phone #login .login-form input {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: 44px !important;
  min-height: 44px !important;
  padding: 0 13px !important;
  border: 1px solid #dce5f0 !important;
  border-radius: 10px;
  outline: none;
  background: #fff;
  color: var(--wb-text);
  font-size: 14px;
  line-height: normal;
}

body .phone #login .login-form input::placeholder {
  color: #8291a7;
  opacity: 1;
}

body .phone #login .login-account span {
  display: flex;
  min-width: 104px;
  height: 44px;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 0 12px;
  border: 1px solid #dce5f0;
  border-left: 0;
  border-radius: 0 10px 10px 0;
  background: #f2f6fb;
  color: #5e7291;
  font-size: 14px;
  white-space: nowrap;
}

body .phone #login .login-form input:focus {
  border-color: #6aa7ef !important;
  box-shadow: 0 0 0 2px rgba(23, 105, 210, 0.1);
}

body .phone #login .login-account input {
  flex: 1;
  width: 0;
  border-radius: 10px 0 0 10px !important;
}

body .phone #login .login-password {
  display: block;
}

body .phone #login .login-password input {
  padding-right: 50px !important;
}

body .phone #login .login-password-toggle {
  position: absolute;
  top: 1px;
  right: 1px;
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: #8ca0bc;
}

body .phone #login .login-password-toggle svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body .phone #login .login-password-toggle .password-eye-closed {
  display: block;
}

body .phone #login .login-password-toggle .password-eye-open {
  display: none;
}

body .phone #login .login-password-toggle[aria-pressed="true"] .password-eye-closed {
  display: none;
}

body .phone #login .login-password-toggle[aria-pressed="true"] .password-eye-open {
  display: block;
}

body .phone #login .login-verify-row {
  display: flex;
  overflow: visible;
  align-items: stretch;
}

body .phone #login .login-verify-input {
  flex: 1;
}

body .phone #login .login-verify-row:has(.login-code-button:not([hidden])) .login-verify-input {
  border-radius: 10px 0 0 10px;
}

body .phone #login .login-code-button {
  height: 44px;
  min-width: 112px;
  flex: 0 0 auto;
  padding: 0 14px;
  border: 1px solid #dce5f0;
  border-left: 0;
  border-radius: 0 10px 10px 0;
  background: #fff;
  color: #5e6672;
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
}

body .phone #login .login-code-button:disabled {
  background: #f7f9fc;
  color: #96a2b3;
}

body .phone #login .login-method-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin: -3px 0 8px;
}

body .phone #login .login-method-links a {
  color: var(--wb-primary);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}

body .phone #login .primary,
body .phone #login .login-reset {
  display: flex;
  width: 100%;
  height: 44px !important;
  min-height: 44px !important;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 14px !important;
  font-weight: 650;
  line-height: 22px;
  text-decoration: none;
}

body .phone #login .primary,
body .phone #login .primary:hover {
  border-color: var(--wb-primary);
  background: var(--wb-primary);
  color: #fff;
  box-shadow: 0 1px 2px rgba(20, 73, 139, 0.12);
}

body .phone #login .primary {
  margin-top: 8px;
}

body .phone #login .login-reset {
  margin-top: -1px;
  border-color: #dce5f0;
  background: #fff;
  color: var(--wb-text);
  text-decoration: none;
}

body .phone .login-reset-backdrop {
  position: absolute;
  inset: 0;
  z-index: 40;
  background: rgba(19, 33, 58, 0.38);
  backdrop-filter: blur(2px);
}

body .phone .login-reset-dialog {
  position: absolute;
  top: 50%;
  right: 20px;
  left: 20px;
  z-index: 41;
  overflow: hidden;
  transform: translateY(-50%);
  padding: 20px;
  border: 0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(19, 33, 58, 0.22);
  color: var(--wb-text);
}

body .phone .login-reset-head {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  border: 0;
}

body .phone .login-reset-head b {
  font-size: 17px;
  font-weight: 600;
  line-height: 24px;
}

body .phone .login-reset-close {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #6f7782;
  font-size: 0;
}
body .phone .login-reset-close svg {width: 20px;height: 20px}
body .phone .login-reset-close:hover {background: var(--neutral-surface-page);color: var(--color-brand-primary)}

body .phone .login-reset-body {
  padding: 16px 0 0;
}

body .phone .login-reset-body p {
  margin: 0 0 18px;
  color: #343f50;
  font-size: 14px;
  line-height: 22px;
}

body .phone .login-reset-account {
  display: flex;
  height: 46px;
  overflow: hidden;
  border: 1px solid #dce5f0;
  border-radius: 9px;
  background: #fff;
}

body .phone .login-reset-account:focus-within {
  border-color: #6aa7ef;
  box-shadow: 0 0 0 2px rgba(23, 105, 210, 0.1);
}

body .phone .login-reset-account:has(input.is-invalid) {
  border-color: var(--color-danger-text);
}

body .phone .login-reset-account input {
  min-width: 0;
  flex: 1;
  padding: 0 13px;
  border: 0;
  outline: 0;
  font-size: 15px;
}

body .phone .login-reset-account span {
  display: flex;
  min-width: 106px;
  align-items: center;
  justify-content: center;
  border-left: 1px solid #dce5f0;
  background: #f2f4f7;
  color: #5e6672;
  font-size: 15px;
}

body .phone .login-reset-options {
  display: grid;
  gap: 4px;
  border: 0;
  border-radius: 0;
  margin-top: 18px;
  background: transparent;
}

body .phone .login-reset-options label {
  display: flex;
  align-items: center;
  min-height: 40px;
  gap: 10px;
  padding: 0 2px;
  color: #343f50;
  font-size: 14px;
}

body .phone .login-reset-options label + label {
  border-top: 0;
}

body .phone .login-reset-options input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--wb-primary);
}

body .phone .login-reset-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
  padding: 0;
  border: 0;
}

body .phone .login-reset-actions button {
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 0 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
}

body .phone .login-reset-submit {
  border: 1px solid var(--wb-primary);
  background: var(--wb-primary);
  color: #fff;
}

body .phone .login-reset-cancel {
  border: 1px solid #dce5f0;
  background: #f5f7fa;
  color: #344054;
}

body .phone .login-reset-dialog:not(.login-help-dialog) {
  padding: 18px 20px 20px;
  border-radius: 16px;
}

body .phone .login-reset-dialog:not(.login-help-dialog) .login-reset-head {
  min-height: 32px;
}

body .phone .login-reset-dialog:not(.login-help-dialog) .login-reset-close {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

body .phone .login-reset-dialog:not(.login-help-dialog) .login-reset-body {
  padding-top: 10px;
}

body .phone .login-reset-dialog:not(.login-help-dialog) .login-reset-body p {
  margin-bottom: 16px;
  color: #667085;
  line-height: 21px;
}

body .phone .login-reset-dialog:not(.login-help-dialog) .login-reset-account {
  height: 44px;
}

body .phone .login-reset-dialog:not(.login-help-dialog) .login-reset-options {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

body .phone .login-reset-dialog:not(.login-help-dialog) .login-reset-options label {
  min-height: 38px;
  gap: 8px;
  padding: 0 2px;
  border-radius: 0;
  background: transparent;
}

body .phone .login-reset-dialog:not(.login-help-dialog) .login-reset-options input {
  width: 16px;
  height: 16px;
}

body .phone .login-reset-dialog:not(.login-help-dialog) .login-reset-actions {
  gap: 8px;
  margin-top: 16px;
}

body .phone .login-reset-dialog:not(.login-help-dialog) .login-reset-actions button {
  height: 42px;
  border-radius: 8px;
}

body .phone .login-help-dialog {
  max-height: calc(100% - 56px);
}

body .phone .login-help-body {
  max-height: 430px;
  overflow-y: auto;
  padding: 16px 2px 0;
  overscroll-behavior: contain;
}

body .phone .login-help-body ul {
  margin: 0;
  padding-left: 21px;
  color: #344054;
  font-size: 14px;
  line-height: 1.7;
}

body .phone .login-help-body li {
  padding-left: 3px;
  margin-bottom: 14px;
}

body .phone .login-help-body a {
  color: var(--wb-primary);
  overflow-wrap: anywhere;
}

body .phone .login-help-body strong {
  font-weight: 700;
}

body .phone .login-reset-backdrop[hidden],
body .phone .login-reset-dialog[hidden],
body .phone #login .login-code-button[hidden] {
  display: none;
}

body .phone #login .login-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: auto;
  padding-bottom: 11px;
  flex-wrap: nowrap;
}

body .phone #login .login-links a {
  color: var(--wb-secondary);
  font-size: 13px;
  line-height: 20px;
  white-space: nowrap;
}

body .phone #login .login-links .login-help,
body .phone #login .login-links .login-help:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

body .phone #login .login-links span {
  width: 1px;
  height: 15px;
  background: #cbd5e2;
}

body .phone #login .login-form a:hover {
  text-decoration: none;
}

body .phone:has(#workbench.active),
body .phone.home-create-open {
  background: var(--wb-page-bg) url("./workbench-background-v34-r4.png") center top / cover no-repeat;
}

body .phone:has(#workbench.active)::after,
body .phone .screen:has(#workbench.active),
body .phone.home-create-open::after,
body .phone.home-create-open .screen {
  background: transparent;
}

body .phone .screen:has(#workbench.active),
body .phone.home-create-open .screen {
  padding-right: 16px;
  padding-bottom: 118px;
  padding-left: 16px;
}

body .phone.home-create-open .attendee-picker-backdrop {
  z-index: 22;
}

body .phone.home-create-open .attendee-picker {
  z-index: 23;
}

body .phone #workbench {
  color: var(--wb-text);
}

body .phone #workbench > .app-head {
  display: none !important;
}

/* Quick actions remain one lightweight, evenly divided row. */
body .phone #workbench .quick-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 36px 0 24px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body .phone #workbench button.quick-action,
body .phone #workbench button.quick-action:not(:disabled):hover,
body .phone #workbench button.quick-action:not(:disabled):active {
  display: flex;
  width: 100%;
  height: 76px !important;
  min-height: 76px !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 4px 0 !important;
  border: 0;
  border-radius: 10px !important;
  background: transparent !important;
  color: var(--wb-text);
  box-shadow: none !important;
  font-size: 13px !important;
  font-weight: 400;
  line-height: 18px;
}

body .phone #workbench .quick-icon {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  flex: 0 0 32px;
  border-radius: 0;
  background: transparent !important;
}

body .phone #workbench .quick-icon svg {
  width: 32px;
  height: 32px;
}

body .phone #workbench button.quick-action:not(:disabled):active {
  opacity: 0.62;
}

/* Pending recordings use one outer card; the record row stays borderless. */
body .phone #workbench-recordings {
  position: relative;
  margin: 0 0 12px;
  padding: 12px 14px;
  border: 1px solid var(--wb-border);
  border-radius: var(--wb-radius);
  background: var(--wb-card-bg);
  box-shadow: 0 2px 10px rgba(40, 80, 120, 0.035);
}

body .phone #workbench-recordings[hidden] {
  display: none !important;
}

body .phone #workbench-recordings .recordings-heading {
  display: flex;
  min-height: 24px;
  align-items: center;
  gap: 9px;
  margin: 0 104px 7px 0;
  color: var(--wb-text);
  font-size: 15px;
  font-weight: 600;
  line-height: 22.5px;
}

body .phone #workbench-recordings .pending-more {
  position: absolute;
  top: 10px;
  right: 14px;
  display: inline-flex;
  width: auto;
  height: 28px !important;
  min-height: 28px !important;
  align-items: center;
  gap: 4px;
  padding: 0 !important;
  border: 0;
  background: transparent;
  color: var(--wb-primary);
  font-size: 13px !important;
  font-weight: 400;
}

body .phone #workbench-recordings .pending-records-list {
  padding: 0;
}

body .phone #workbench-recordings .pending-records-list .pending-record {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 60px;
  grid-template-columns: 40px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, 0.82);
  color: var(--wb-text);
  box-shadow: none;
  text-align: left;
}

body .phone #workbench-recordings .record-leading-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 11px;
  background: var(--brand-soft);
  color: var(--brand);
}

body .phone #workbench-recordings .record-leading-icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.9;
}

body .phone #workbench-recordings .record-title {
  display: block;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  color: var(--wb-text);
  font-size: 15px;
  font-weight: 500;
  line-height: 17.25px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body .phone #workbench-recordings .record-meta {
  margin-top: 3px;
  overflow: hidden;
  color: var(--wb-secondary);
  font-size: 12px;
  line-height: 19px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body .phone #workbench-recordings .record-card-tail > svg {
  right: 10px;
  width: 17px;
  height: 17px;
  stroke: var(--wb-secondary);
}

/* Tabs are a flat navigation row with a restrained active indicator. */
body .phone #workbench .workbench-card {
  margin-top: 0;
  padding: 0;
  border: 0;
  border-radius: 0 !important;
  background: transparent;
  box-shadow: none;
}

body .phone #workbench .workbench-tabbar {
  border-bottom: 1px solid var(--wb-divider);
}

body .phone #workbench .workbench-tabs {
  display: grid;
  width: 100%;
  height: 48px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

body .phone #workbench .workbench-tabs button,
body .phone #workbench .workbench-tabs button.active {
  position: relative;
  height: 48px !important;
  min-height: 48px !important;
  padding: 0 !important;
  border: 0;
  border-radius: 0 !important;
  background: transparent;
  color: var(--wb-secondary) !important;
  box-shadow: none;
  font-size: 15px !important;
  font-weight: 600;
  line-height: 19.5px;
}

body .phone #workbench .workbench-tabs button.active {
  color: var(--wb-text) !important;
  font-weight: 600;
}

body .phone #workbench .workbench-tabs button.active::after {
  position: absolute;
  right: calc(50% - 26px);
  bottom: 0;
  left: calc(50% - 26px);
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--wb-primary);
  content: "";
}

body .phone #workbench .workbench-panel {
  min-width: 0;
}

/* Date/filter toolbar and group headings. */
body .phone #workbench #workbench-visits,
body .phone #workbench #workbench-todo {
  position: relative;
}

body .phone #workbench .visit-toolbar {
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: flex-end;
  margin: 0;
  padding: 0;
  border: 0;
}

body .phone #workbench #workbench-visits > .visit-toolbar {
  position: static;
  z-index: 2;
  min-height: 44px;
  justify-content: flex-start;
  gap: 14px;
  padding-top: 0;
}

body .phone #workbench .visit-filter-select {
  display: inline-flex;
  width: auto;
  height: 40px !important;
  min-height: 40px !important;
  align-items: center;
  gap: 7px;
  padding: 0 2px 0 8px !important;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--wb-secondary);
  box-shadow: none;
  font-size: 13px !important;
  font-weight: 400;
  line-height: 19.5px;
}

body .phone #workbench .visit-filter-select svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  color: var(--wb-secondary);
  stroke: currentColor;
}

body .phone #workbench .visit-filter-select > .visit-filter-icon {
  display: block !important;
}

body .phone #workbench .visit-filter-select .visit-filter-chevron {
  width: 14px;
  height: 14px;
  flex-basis: 14px;
}

body .phone #workbench-visits > .visit-date-heading,
body .phone #workbench-todo > .todo-date {
  position: relative;
  display: flex;
  min-height: 34px;
  align-items: center;
  gap: 8px;
  margin: 18px 0 8px;
  padding: 0;
  color: #526174;
  font-size: 14px;
  font-weight: 600;
  line-height: 19.5px;
}

body .phone #workbench-visits > .visit-toolbar + .visit-date-heading {
  min-height: 34px;
  margin: 4px 0 8px;
  padding-left: 14px;
  color: #526174;
  font-size: 13px;
  font-weight: 600;
}

body .phone #workbench-visits > .visit-toolbar + .visit-date-heading::after {
  display: none;
}

body .phone #workbench-todo > .todo-date::before {
  display: none;
}

body .phone #workbench-visits > .visit-date-heading {
  padding-left: 14px;
  font-size: 13px;
}

body .phone #workbench-visits > .visit-date-heading::before {
  position: absolute;
  top: 50%;
  left: 0;
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9bbbd9;
  content: "";
  transform: translateY(-50%);
}

/* Visit cards retain their current data while matching the reference hierarchy. */
body .phone #workbench #workbench-visits > .row {
  position: relative;
  display: grid;
  min-height: 94px;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: start;
  gap: 10px;
  margin: 0 0 10px;
  padding: 14px 32px 14px 13px;
  border: 1px solid var(--wb-border);
  border-radius: var(--wb-radius) !important;
  background: var(--wb-card-bg);
  box-shadow: 0 2px 9px rgba(40, 80, 120, 0.03);
}

body .phone #workbench #workbench-visits > .row .time {
  color: var(--wb-text);
  font-size: 17px;
  font-weight: 650;
  line-height: 21px;
  letter-spacing: -0.4px;
}

body .phone #workbench #workbench-visits > .row .row-title,
body .phone #workbench #workbench-visits > .row .visit-company-name {
  min-width: 0;
  color: var(--wb-text);
  font-size: 15px;
  font-weight: 600;
  line-height: 22px;
}

body .phone #workbench #workbench-visits > .row .row-meta {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  color: var(--wb-secondary);
  font-size: 12px;
  line-height: 19px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body .phone #workbench #workbench-visits > .row .visit-list-tail {
  align-self: start;
}

body .phone #workbench #workbench-visits > .row .visit-list-state {
  display: inline-flex;
  height: var(--tag-status-height);
  min-height: var(--tag-status-height);
  align-items: center;
  padding: var(--tag-status-padding);
  border: 0;
  border-radius: var(--tag-radius-pill);
  background: var(--tag-neutral-surface);
  color: var(--tag-neutral-text);
  font-size: var(--tag-status-font-size);
  font-weight: var(--tag-font-weight);
  line-height: var(--tag-status-height);
  white-space: nowrap;
}

body .phone #workbench #workbench-visits > .row .visit-list-state[data-status="进行中"] {
  background: var(--tag-success-surface);
  color: var(--tag-success-text);
}

body .phone #workbench #workbench-visits > .row .visit-list-tail .arrow {
  position: absolute;
  top: 50%;
  right: 9px;
  display: grid;
  width: 20px;
  height: 32px;
  min-height: 32px;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--wb-secondary);
  transform: translateY(-50%);
}

body .phone #workbench #workbench-visits > .row .visit-list-tail .arrow svg {
  width: 18px;
  height: 18px;
}

body .phone #workbench .visit-recording-status,
body .phone #workbench .visit-recording-badge {
  color: var(--wb-primary);
}

body .phone #workbench .visit-recording-status::before {
  background: currentColor;
}

body .phone #workbench .ended-actions {
  gap: 5px;
  margin-top: 7px;
}

body .phone #workbench .ended-actions button {
  min-height: 24px !important;
  padding: 3px 7px !important;
  border-radius: 6px !important;
  background: #f2f5f9;
  color: #63748c;
  font-size: 10px !important;
}

/* Todo cards keep their data and interaction, with the same surface language. */
body .phone #workbench #workbench-todo > .visit-toolbar {
  min-height: 44px;
  justify-content: flex-start;
  gap: 14px;
  padding-top: 0;
}

body .phone #workbench #workbench-todo > .todo-date {
  position: relative;
  height: 28px;
  min-height: 28px;
  margin: 22px 0 8px;
  padding-left: 14px;
  color: #273244;
  font-size: 15px;
  line-height: 22.5px;
}

body .phone #workbench #workbench-todo > .visit-toolbar + .todo-date {
  margin-top: 4px;
}

body .phone #workbench #workbench-todo > .todo-date .group-toggle {
  height: 28px !important;
  min-height: 28px !important;
}

body .phone #workbench #workbench-todo > .todo-date[data-todo-heading="overdue"] {
  color: var(--color-danger-text);
}

body .phone #workbench #workbench-todo > .todo-date::before {
  position: absolute;
  top: 50%;
  left: 0;
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9bbbd9;
  content: "";
  transform: translateY(-50%);
}

body .phone #workbench #workbench-todo > .checkrow {
  position: relative;
  width: 100%;
  min-height: 76px;
  margin: 0 0 10px;
  padding: 14px 32px 14px 14px;
  border: 1px solid var(--wb-border);
  border-radius: var(--wb-radius) !important;
  background: var(--wb-card-bg);
  box-shadow: 0 2px 9px rgba(40, 80, 120, 0.03);
}

body .phone #workbench #workbench-todo > .checkrow.danger::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: color-mix(in srgb, var(--color-danger-text) 45%, white);
  content: "";
}

body .phone #workbench #workbench-todo .row-title {
  color: var(--wb-text);
  font-size: 15px;
  font-weight: 600;
  line-height: 22px;
}

body .phone #workbench #workbench-todo > .checkrow.danger .row-title,
body .phone #workbench #workbench-todo > .checkrow.danger .todo-overdue {
  color: var(--color-danger-text);
}

body .phone #workbench #workbench-todo .row-meta,
body .phone #workbench #workbench-todo .todo-dispatcher,
body .phone #workbench #workbench-todo .todo-overdue {
  color: var(--wb-secondary);
  font-size: 12px;
  line-height: 19px;
}

body .phone #workbench #workbench-todo .check {
  width: 21px;
  height: 21px;
  min-width: 21px;
  border-color: #aebdce;
  border-radius: 50%;
}

/* The microphone remains the only pronounced floating action. */
body .phone .record-fab,
body .phone .record-fab:not(:disabled):hover,
body .phone .record-fab:not(:disabled):active {
  right: 14px;
  bottom: calc(88px + env(safe-area-inset-bottom)) !important;
  width: 58px !important;
  height: 58px !important;
  min-height: 58px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: radial-gradient(circle at 32% 28%, #2f88d7 0%, #2474ca 38%, #1764bf 70%, #104d98 100%) !important;
  box-shadow: 0 7px 16px rgba(18, 86, 179, 0.2) !important;
}

body .phone .record-fab::before,
body .phone .record-fab::after {
  display: none !important;
}

body .phone .record-fab svg {
  width: 29px;
  height: 29px;
  stroke-width: 1.9;
}

/* Bottom navigation follows the same quiet blue-gray system. */
body .phone:not(.hide-bottom) > .bottom {
  display: grid !important;
  height: 76px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 7px 18px 10px;
  border: 0;
  border-radius: 24px 24px 0 0;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 -4px 16px rgba(38, 65, 96, 0.045);
  backdrop-filter: blur(14px);
}

body .phone .bottom button {
  gap: 2px;
  background: transparent;
  color: var(--wb-secondary);
  font-size: 11px;
  font-weight: 500;
  line-height: 16.5px;
}

body .phone .bottom button.active {
  color: var(--wb-primary);
}

body .phone .bottom button .glyph,
body .phone .bottom button .glyph svg,
body .phone .bottom button .glyph svg * {
  color: currentColor !important;
  stroke: currentColor !important;
}

body .phone .bottom button.active .glyph,
body .phone .bottom button.active .glyph svg,
body .phone .bottom button.active .glyph svg * {
  color: var(--wb-primary) !important;
  stroke: var(--wb-primary) !important;
}

body .phone .bottom .glyph,
body .phone .bottom button.active .glyph {
  width: 38px;
  height: 30px;
  margin: 0;
  border-radius: 0;
  background: transparent;
}

body .phone .bottom .glyph svg {
  width: 22px;
  height: 22px;
}

@media (max-width: 430px) {
  body .phone:has(#workbench.active) {
    background-size: cover;
  }

  body .phone .screen:has(#workbench.active),
  body .phone.home-create-open .screen {
    padding-right: max(16px, env(safe-area-inset-right));
    padding-bottom: calc(118px + env(safe-area-inset-bottom));
    padding-left: max(16px, env(safe-area-inset-left));
  }
}

@media (prefers-reduced-motion: reduce) {
  body .phone #workbench button.quick-action {
    transition: none;
  }
}
