:root {
  --forest: #07503c;
  --green: #008965;
  --mint: #ecffe6;
  --orange: #fe4c00;
  --orange-soft: #fff0e9;
  --ink: #1c211e;
  --muted: #66706b;
  --line: #dfe5e1;
  --line-soft: #edf0ee;
  --paper: #fff;
  --ground: #f4f6f4;
  --shadow: 0 1px 2px rgba(13,50,37,.04), 0 12px 32px rgba(13,50,37,.055);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--ground);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--ground); font-size: 14px; line-height: 1.45; }
a { color: var(--forest); text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
h1 { margin: 2px 0 0; font-size: 28px; line-height: 1.15; letter-spacing: -.035em; }
h2 { margin: 0; font-size: 16px; letter-spacing: -.01em; }
p { margin: 0; }
.muted { color: var(--muted); }
.fine-print { color: var(--muted); font-size: 11px; margin-top: 12px; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.eyebrow { color: var(--green); font-size: 11px; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; }
.topbar { height: 64px; padding: 0 30px; display: flex; align-items: center; gap: 28px; background: white; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.brand { color: var(--forest); font-size: 19px; font-weight: 760; letter-spacing: -.035em; }
.nav { display: flex; gap: 4px; }
.nav a { color: var(--muted); padding: 8px 11px; border-radius: 9px; }
.nav a.on { color: var(--forest); background: var(--mint); font-weight: 680; }
.account { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.account-name { display: grid; color: var(--ink); text-align: right; line-height: 1.2; }
.account small { color: var(--muted); text-transform: capitalize; }
.link-button { border: 0; background: none; color: var(--muted); padding: 5px; }
.shell { max-width: 1280px; margin: 0 auto; padding: 28px 30px 72px; }
.shell.wide { max-width: 1540px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 20px; }
.page-subtitle { color: var(--muted); margin-top: 6px; }
.head-actions { display: flex; align-items: center; gap: 9px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; border: 1px solid var(--line); background: white; color: var(--ink); border-radius: 10px; padding: 8px 13px; font-weight: 650; }
.btn:hover { border-color: #b8c7bf; }
.btn.primary { border-color: var(--green); background: var(--green); color: white; }
.btn.primary:hover { background: var(--forest); }
.btn.wide { width: 100%; }
.btn.compact { min-height: 31px; padding: 5px 9px; font-size: 10px; }
.btn:disabled { cursor: not-allowed; opacity: .45; }
.segmented { display: flex; border: 1px solid var(--line); background: white; padding: 3px; border-radius: 11px; }
.segmented a { color: var(--muted); padding: 6px 10px; border-radius: 7px; }
.segmented a.on { color: var(--forest); background: var(--mint); font-weight: 680; }
.flash { border-radius: 11px; padding: 11px 14px; margin-bottom: 18px; font-weight: 630; }
.flash.success { background: var(--mint); color: var(--forest); border: 1px solid #caeabd; }
.flash.error { background: var(--orange-soft); color: #993709; border: 1px solid #f4c4ae; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 1px 2px rgba(13,50,37,.025); }
.table-card { overflow: hidden; }
.operations-table-wrap { overflow-x: auto; }
.operations-table { min-width: 1180px; }
.operations-table th, .operations-table td { padding: 14px 13px; }
.operations-table th:first-child, .operations-table td:first-child { padding-left: 18px; }
.operations-table th:last-child, .operations-table td:last-child { padding-right: 18px; }
.operations-table .when-cell { min-width: 172px; }
.operations-table .location-cell { max-width: 220px; }
.operations-table .location-cell strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
table { border-collapse: collapse; width: 100%; }
th { color: var(--muted); background: #fafbfa; font-size: 11px; letter-spacing: .06em; text-align: left; text-transform: uppercase; }
th, td { padding: 13px 16px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
tbody tr:last-child td { border: 0; }
tbody tr[onclick] { cursor: pointer; }
tbody tr[onclick]:hover { background: #fbfdfb; }
.archived-row { color: var(--muted); background: #fafbfa; }
.archived-row .status-dot { background: #b6bdb9; box-shadow: none; }
.row-action { width: 1%; white-space: nowrap; }
.row-action form { margin: 0; }
.row-action-stack { display: flex; justify-content: flex-end; gap: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
td strong, td small { display: block; }
td small { color: var(--muted); margin-top: 2px; }
.empty { color: var(--muted); padding: 24px; text-align: center; }
.sync-status { color: var(--muted); font-size: 11px; margin: -12px 0 14px; }
.sync-status.failed { color: #a73a0a; }
.overview-strip { display: grid; grid-template-columns: repeat(3,minmax(120px,1fr)) minmax(220px,1.4fr); gap: 10px; margin: -2px 0 16px; }
.overview-strip > div { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 1px 10px; min-height: 68px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 13px; background: white; }
.overview-strip span { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.overview-strip strong { grid-row: span 2; color: var(--forest); font-size: 23px; line-height: 1; }
.overview-strip small { color: var(--muted); font-size: 10px; }
.overview-strip .attention { border-color: #edc696; background: #fffaf0; }
.overview-strip .attention strong { color: #9a5300; }
.overview-strip .sync-tile strong { font-size: 13px; }
.slot-value { display: inline-flex; max-width: 145px; overflow: hidden; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.slot-value.missing, .missing-text { color: #a45b16; font-weight: 600; }
.slot-value.optional { color: var(--muted); }
.readiness { display: inline-flex; padding: 3px 7px; border-radius: 999px; font-size: 10px; font-weight: 750; }
.readiness.ready { color: var(--forest); background: var(--mint); }
.readiness.partial { color: #905008; background: #fff4dc; }
.readiness.none { color: var(--muted); background: var(--line-soft); }
.pill, .duty, .payment { display: inline-flex; border-radius: 999px; padding: 4px 8px; color: var(--forest); background: var(--mint); font-size: 11px; font-weight: 720; text-transform: capitalize; }
.pill.cancelled, .pill.failed, .payment.failed { color: #a73a0a; background: var(--orange-soft); }
.pill.completed, .payment.paid { color: #315ea8; background: #edf4ff; }
.pill.maintenance { color: #8c5a08; background: #fff8dd; }
.calendar-nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin-bottom: 12px; }
.calendar-nav-buttons { display: flex; gap: 6px; }
.calendar-nav-buttons .btn:first-child, .calendar-nav-buttons .btn:last-child { width: 38px; padding: 8px; }
.calendar-count { justify-self: end; color: var(--muted); font-size: 12px; }
.week-calendar { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: 0 1px 2px rgba(13,50,37,.025); }
.week-header, .week-time-grid { display: grid; grid-template-columns: 64px repeat(7,minmax(145px,1fr)); min-width: 1079px; }
.week-header { position: sticky; top: 0; z-index: 5; background: #fafbfa; border-bottom: 1px solid var(--line); }
.week-corner { border-right: 1px solid var(--line); }
.week-day-heading { min-height: 50px; display: flex; align-items: center; justify-content: center; gap: 7px; border-right: 1px solid var(--line-soft); }
.week-day-heading:last-child { border: 0; }
.week-day-heading span { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.week-day-heading strong { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 999px; font-size: 16px; }
.week-day-heading.today span { color: var(--green); }
.week-day-heading.today strong { color: white; background: var(--green); }
.week-time-grid { position: relative; }
.time-gutter { position: relative; border-right: 1px solid var(--line); background: #fafbfa; }
.time-gutter time { position: absolute; right: 9px; color: var(--muted); font-size: 10px; line-height: 1; white-space: nowrap; transform: translateY(5px); }
.week-day-column { position: relative; height: 100%; border-right: 1px solid var(--line-soft); background: white; }
.week-day-column:last-child { border: 0; }
.week-day-column.today { background: rgba(236,255,230,.34); }
.hour-line { position: absolute; z-index: 0; left: 0; right: 0; border-top: 1px solid var(--line-soft); }
.week-event { position: absolute; z-index: 2; display: grid; align-content: start; min-width: 0; overflow: hidden; padding: 4px 6px; border: 1px solid #cce5da; border-left: 3px solid var(--green); border-radius: 7px; background: #effcf5; box-shadow: 0 1px 2px rgba(13,50,37,.06); line-height: 1.2; }
.week-event:hover { z-index: 3; border-color: #9ecdb9; box-shadow: 0 4px 12px rgba(13,50,37,.12); }
.week-event.status-cancelled { opacity: .58; border-left-color: var(--muted); background: #f2f4f2; }
.week-event time { color: var(--green); font-size: 10px; font-weight: 750; }
.week-event strong { overflow: hidden; color: var(--ink); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.week-event span, .week-event small { overflow: hidden; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
@media (min-width: 851px) {
  .calendar-shell { padding-top: 14px; padding-bottom: 14px; }
  .calendar-shell .page-head { margin-bottom: 12px; }
  .calendar-shell .calendar-nav { margin-bottom: 8px; }
}
.mobile-week-agenda, .mobile-nav { display: none; }
.member-shell { max-width: 820px; }
.member-page-head { margin-bottom: 22px; }
.member-page-head h1 { font-size: 32px; }
.spotlight, .member-section { margin-bottom: 28px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 11px; }
.section-heading h2 { margin-top: 2px; font-size: 20px; }
.section-heading > a { font-size: 12px; font-weight: 700; }
.live-pill { display: inline-flex; align-items: center; gap: 7px; padding: 6px 9px; border-radius: 999px; color: var(--forest); background: var(--mint); font-size: 11px; font-weight: 750; }
.live-pill span { width: 7px; height: 7px; border-radius: 50%; background: #12a672; box-shadow: 0 0 0 3px rgba(18,166,114,.14); }
.assignment-list { display: grid; gap: 10px; }
.assignment-card { overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: white; box-shadow: var(--shadow); }
.assignment-card.current { border-color: #9bcdbb; }
.assignment-card-main { display: grid; grid-template-columns: 76px minmax(0,1fr) auto; gap: 15px; align-items: start; padding: 19px; color: var(--ink); }
.assignment-time { display: grid; align-content: start; color: var(--forest); }
.assignment-time strong { font-size: 19px; line-height: 1.05; }
.assignment-time span { color: var(--muted); font-size: 11px; }
.assignment-copy { min-width: 0; }
.assignment-copy h3 { overflow: hidden; margin: 7px 0 2px; font-size: 17px; text-overflow: ellipsis; white-space: nowrap; }
.assignment-copy > p { color: var(--muted); font-size: 12px; }
.assignment-meta { display: flex; flex-wrap: wrap; gap: 5px; min-height: 22px; }
.assignment-meta .duty { padding: 3px 7px; font-size: 9px; }
.assignment-resources { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 13px; color: var(--muted); font-size: 11px; }
.assignment-resources strong { color: var(--ink); }
.assignment-chevron { align-self: center; color: #9da6a1; font-size: 26px; }
.assignment-actions { display: flex; gap: 8px; padding: 0 19px 17px 110px; }
.assignment-actions .btn { min-height: 42px; }
.member-empty { display: grid; justify-items: center; gap: 7px; padding: 38px 20px; color: var(--muted); text-align: center; }
.member-empty h2 { color: var(--ink); }
.member-empty.compact { padding: 22px; }
.upcoming-list { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: white; }
.upcoming-row { display: grid; grid-template-columns: 58px minmax(0,1fr) auto; align-items: center; gap: 13px; min-height: 72px; padding: 11px 16px; color: var(--ink); border-bottom: 1px solid var(--line-soft); }
.upcoming-row:last-child { border-bottom: 0; }
.upcoming-row time, .upcoming-row > div { display: grid; }
.upcoming-row time { color: var(--green); }
.upcoming-row time span, .upcoming-row > div span { color: var(--muted); font-size: 11px; }
.message-scope-note { display: flex; gap: 10px; margin-bottom: 13px; padding: 11px 13px; border: 1px solid #d5e9cd; border-radius: 11px; color: var(--forest); background: #f5fff2; font-size: 11px; }
.message-scope-note span { color: var(--muted); }
.message-tabs { display: flex; gap: 4px; width: fit-content; margin-bottom: 13px; padding: 3px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.message-tabs a { padding: 7px 14px; border-radius: 7px; color: var(--muted); font-size: 12px; font-weight: 700; text-decoration: none; }
.message-tabs a.active { color: white; background: var(--forest); }
.conversation-list { overflow: hidden; }
.conversation-row { display: grid; grid-template-columns: 42px minmax(0,1fr) auto; align-items: center; gap: 12px; min-height: 84px; padding: 14px 16px; color: var(--ink); border-bottom: 1px solid var(--line-soft); }
.conversation-row:last-child { border-bottom: 0; }
.conversation-avatar { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; color: white; background: var(--forest); font-size: 11px; font-weight: 780; }
.conversation-copy { min-width: 0; }
.conversation-copy > div { display: flex; justify-content: space-between; gap: 12px; }
.conversation-copy > div strong, .conversation-copy p { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.conversation-copy time, .conversation-copy > span { color: var(--muted); font-size: 10px; white-space: nowrap; }
.conversation-copy p { margin: 3px 0 2px; color: var(--muted); font-size: 12px; }
.conversation-copy p b { color: var(--ink); }
.profile-card { display: flex; align-items: center; gap: 16px; padding: 20px; }
.profile-avatar { width: 58px; height: 58px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 17px; color: white; background: var(--forest); font-size: 22px; font-weight: 780; }
.profile-card p { margin: 3px 0 8px; color: var(--muted); }
.profile-actions { overflow: hidden; margin-top: 14px; }
.profile-actions a, .profile-actions button { width: 100%; min-height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 12px 17px; border: 0; border-bottom: 1px solid var(--line-soft); color: var(--ink); background: white; text-align: left; }
.profile-actions form:last-child button { border-bottom: 0; }
.empty-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; color: var(--green); background: var(--mint); font-size: 24px; }
.breadcrumbs { display: flex; gap: 9px; color: var(--muted); font-size: 12px; margin-bottom: 14px; }
.visit-head { background: white; border: 1px solid var(--line); border-radius: 19px; box-shadow: var(--shadow); overflow: hidden; margin-bottom: 18px; }
.visit-main { display: flex; align-items: flex-start; gap: 20px; padding: 23px 25px; }
.date-tile { flex: 0 0 68px; height: 72px; padding-top: 9px; border-radius: 14px; background: var(--forest); color: white; text-align: center; }
.date-tile span { display: block; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; opacity: .78; }
.date-tile strong { display: block; font-size: 30px; line-height: 1.1; }
.visit-title { flex: 1; }
.visit-title .muted { margin-top: 5px; }
.copy-address { display: flex; align-items: center; gap: 8px; max-width: 100%; margin-top: 5px; padding: 0; border: 0; color: var(--muted); background: transparent; font: inherit; text-align: left; cursor: pointer; }
.copy-address span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.copy-address small { flex: 0 0 auto; color: var(--green); font-size: 10px; font-weight: 720; }
.visit-facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-soft); background: #fbfcfb; }
.visit-facts > div { padding: 13px 20px; border-right: 1px solid var(--line-soft); }
.visit-facts > div:last-child { border: 0; }
.visit-facts label, .info-grid label, .wifi-panel label { display: block; color: var(--muted); font-size: 10px; letter-spacing: .07em; text-transform: uppercase; margin-bottom: 3px; }
.callout { display: grid; gap: 3px; padding: 12px 14px; border-radius: 12px; margin-bottom: 18px; }
.callout.warning { background: #fff8dd; border: 1px solid #f0dfa2; color: #71500b; }
.cleaning-workspace { display: grid; align-items: start; gap: 18px; }
.cleaning-workspace.with-customer-chat { grid-template-columns: minmax(480px,1.25fr) repeat(2,minmax(340px,.8fr)); grid-template-areas: "readiness customer chat" "details customer chat"; }
.cleaning-workspace.internal-only { grid-template-columns: minmax(0,1fr) minmax(360px,400px); grid-template-areas: "readiness chat" "details chat"; }
.cleaning-workspace > .readiness-card { grid-area: readiness; margin-bottom: 0; }
.cleaning-workspace > .group-chat { grid-area: chat; }
.cleaning-workspace > .customer-chat { grid-area: customer; }
.cleaning-workspace > .group-chat, .cleaning-workspace > .customer-chat { position: sticky; top: 82px; display: flex; flex-direction: column; height: calc(100vh - 100px); min-height: 540px; max-height: 760px; margin-bottom: 0; overflow: hidden; }
.cleaning-workspace > .detail-grid { grid-area: details; }
.cleaning-workspace > .group-chat .message-list, .cleaning-workspace > .customer-chat .message-list { min-height: 0; max-height: none; flex: 1; }
.detail-grid { display: grid; grid-template-columns: 1fr; gap: 18px; align-items: start; }
.stack { display: grid; gap: 18px; }
.detail-card { padding: 18px 20px; }
.card-head { display: flex; align-items: center; gap: 9px; margin-bottom: 15px; }
.card-head small { margin-left: auto; color: var(--muted); }
.card-icon { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 9px; background: var(--mint); color: var(--forest); font-weight: 760; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.info-grid > div { min-height: 72px; padding: 12px 13px; border: 1px solid var(--line-soft); background: #fbfcfb; border-radius: 11px; }
.info-grid .span-2 { grid-column: span 2; }
.info-grid p { color: var(--muted); font-size: 12px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.chip { padding: 4px 8px; border-radius: 999px; border: 1px solid #d3edca; background: var(--mint); color: var(--forest); font-size: 11px; font-weight: 680; }
.chip.off { border-color: #f5cbb7; background: var(--orange-soft); color: #a73a0a; }
.wifi-panel { display: grid; grid-template-columns: 1fr 1fr auto; align-items: end; gap: 15px; padding: 14px; border: 1px solid #d5e9cd; border-radius: 12px; background: linear-gradient(135deg,#f5fff2,#f8fbf9); }
.people-list { display: grid; }
.person, .robot-row { display: flex; align-items: center; gap: 10px; min-height: 54px; border-bottom: 1px solid var(--line-soft); }
.person > div:nth-child(2), .robot-row > div:nth-child(2) { flex: 1; display: grid; }
.person small, .robot-row small { color: var(--muted); }
.avatar, .robot-avatar { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: #e6f4ef; color: var(--forest); font-size: 11px; font-weight: 760; }
.robot-avatar { background: var(--forest); color: white; }
.icon-button { border: 0; background: transparent; color: var(--muted); font-size: 19px; }
.inline-form { display: flex; gap: 8px; margin-top: 13px; padding-top: 13px; border-top: 1px solid var(--line-soft); }
.inline-form select { min-width: 0; flex: 1; }
.inline-form.compact select { flex: 1; }
.staffing-form { display: grid; gap: 16px; }
.cleaning-level-assignments, .cleaning-level-readiness { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.cleaning-level-readiness { margin-bottom: 14px; gap: 1px; overflow: hidden; border: 1px solid var(--line-soft); border-radius: 11px; background: var(--line-soft); }
.humanoid-assignment-head, .humanoid-assignment-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.humanoid-assignment-head h3 { margin: 0; font-size: 14px; }
.humanoid-assignments { display: grid; gap: 10px; }
.humanoid-assignment { padding: 14px; border: 1px solid var(--line-soft); border-radius: 12px; background: #fbfcfb; }
.humanoid-assignment-title { margin-bottom: 12px; }
.humanoid-assignment-title strong { font-size: 13px; }
.humanoid-assignment-title .link-button { font-size: 11px; }
.assignment-row-actions { display: flex; align-items: center; gap: 12px; font-size: 11px; font-weight: 650; }
.humanoid-assignment-fields { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.assignment-slot > span { display: flex; justify-content: space-between; gap: 8px; }
.assignment-slot > span small { color: var(--muted); font-weight: 450; }
.assignment-slot em { color: var(--green); font-size: 9px; font-style: normal; letter-spacing: .06em; text-transform: uppercase; }
.assignment-slot em.optional { color: var(--muted); }
.staffing-actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.staffing-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; overflow: hidden; border: 1px solid var(--line-soft); border-radius: 11px; background: var(--line-soft); }
.staffing-summary > div { display: grid; gap: 3px; min-height: 62px; padding: 11px 12px; background: #fbfcfb; }
.staffing-summary span { color: var(--muted); font-size: 10px; letter-spacing: .05em; text-transform: uppercase; }
.readiness-card { padding: 20px; margin-bottom: 18px; border-color: #cedbd4; box-shadow: var(--shadow); }
.readiness-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 15px; }
.readiness-head h2 { margin-top: 2px; font-size: 20px; }
.readiness-head-status { display: grid; justify-items: end; gap: 6px; }
.readiness-head-status small { color: var(--muted); }
.readiness-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; font-size: 12px; font-weight: 780; }
.readiness-badge.ready { color: var(--forest); background: var(--mint); }
.readiness-badge.warning { color: #855908; background: #fff4d8; }
.readiness-badge.problem { color: #9a3510; background: var(--orange-soft); }
.readiness-badge.warning .status-dot { background: #d89a1d; box-shadow: 0 0 0 3px rgba(216,154,29,.14); }
.readiness-alerts { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.readiness-issue { padding: 5px 9px; border-radius: 8px; font-size: 11px; font-weight: 650; }
.readiness-issue.problem { color: #97330e; background: var(--orange-soft); }
.readiness-issue.warning { color: #815706; background: #fff5da; }
.readiness-plans { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.readiness-plan { overflow: hidden; border: 1px solid var(--line); border-top-width: 3px; border-radius: 13px; background: #fbfcfb; }
.readiness-plan.ready { border-top-color: var(--green); }
.readiness-plan.warning { border-top-color: #d89a1d; }
.readiness-plan.problem { border-top-color: var(--orange); }
.readiness-plan.optional { border-top-color: #b7c1bc; border-style: dashed; }
.readiness-plan-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 13px; border-bottom: 1px solid var(--line-soft); background: white; }
.readiness-plan-head h3 { margin: 0; font-size: 14px; }
.readiness-plan-head small { color: var(--muted); }
.plan-state { padding: 4px 8px; border-radius: 999px; font-size: 10px; font-weight: 760; }
.plan-state.ready { color: var(--forest); background: var(--mint); }
.plan-state.warning { color: #815706; background: #fff4d8; }
.plan-state.problem { color: #97330e; background: var(--orange-soft); }
.plan-state.optional { color: var(--muted); background: var(--line-soft); }
.readiness-equipment, .readiness-people { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-soft); }
.readiness-people { border-top: 1px solid var(--line-soft); }
.readiness-slot { min-width: 0; min-height: 70px; padding: 11px 12px; background: #fbfcfb; }
.readiness-slot.missing, .readiness-slot.attention { background: #fffaf0; }
.readiness-slot-label, .readiness-people span { display: block; margin-bottom: 5px; color: var(--muted); font-size: 9px; font-weight: 720; letter-spacing: .07em; text-transform: uppercase; }
.equipment-title { display: flex; align-items: center; gap: 7px; min-width: 0; }
.equipment-title strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.equipment-title .env-badge { margin-left: auto; }
.equipment-telemetry { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; margin-top: 7px; color: var(--muted); font-size: 10px; }
.compact-battery { color: var(--muted); }
.compact-battery strong { color: var(--forest); }
.compact-battery.medium strong { color: #9a6800; }
.compact-battery.low strong { color: #b73428; }
.telemetry-missing { color: #986012; }
.plan-issues { display: grid; gap: 4px; padding: 9px 12px; border-top: 1px solid var(--line-soft); font-size: 10px; }
.plan-issues span::before { content: "•"; margin-right: 6px; }
.plan-issues .problem { color: #a43b16; }
.plan-issues .warning { color: #8a620d; }
.staffing-editor { margin-top: 14px; border-top: 1px solid var(--line); }
.staffing-editor summary { display: flex; align-items: center; gap: 10px; padding: 14px 2px 0; color: var(--forest); cursor: pointer; font-weight: 720; list-style-position: inside; }
.staffing-editor summary small { margin-left: auto; color: var(--muted); font-weight: 450; }
.staffing-editor[open] summary { margin-bottom: 15px; }
.group-chat { margin-bottom: 18px; overflow: hidden; }
.group-chat-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; border-bottom: 1px solid var(--line-soft); }
.group-chat-head h2 { margin-top: 2px; font-size: 18px; }
.group-chat-head > span { color: var(--muted); font-size: 11px; }
.customer-channel-meta { display: flex; justify-content: space-between; gap: 12px; padding: 10px 20px; border-bottom: 1px solid var(--line-soft); color: var(--muted); font-size: 11px; }
.contact-state { color: var(--forest); }
.contact-state.warning { color: #9b6400; }
.contact-state.stopped { color: #a73a0a; }
.customer-message-list { max-height: 360px; }
.chat-message small { color: var(--muted); font-size: 10px; text-transform: capitalize; }
.voice-room { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 15px; border-bottom: 1px solid var(--line-soft); background: #f8faf9; }
.voice-room-status { display: flex; align-items: center; gap: 9px; min-width: 0; }
.voice-room-status > div { display: grid; min-width: 0; }
.voice-room-status strong { font-size: 11px; }
.voice-room-status small { overflow: hidden; color: var(--muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.voice-live-dot { width: 9px; height: 9px; flex: 0 0 auto; border-radius: 999px; background: #aeb7b2; box-shadow: 0 0 0 3px rgba(174,183,178,.15); }
.voice-room.connected .voice-live-dot { background: #d89a1d; box-shadow: 0 0 0 3px rgba(216,154,29,.14); }
.voice-room.speaking .voice-live-dot { background: #12a672; box-shadow: 0 0 0 3px rgba(18,166,114,.16); }
.voice-room-actions { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; }
.voice-room-actions .btn { min-height: 31px; padding: 5px 9px; font-size: 10px; }
.voice-room-actions .link-button { font-size: 10px; }
.phone-voice-call { margin: 0; }
.phone-voice-button { min-height: 31px; padding: 5px 9px; border-color: #9bcdbb; color: var(--forest); font-size: 10px; white-space: nowrap; }
.phone-form { display: flex; gap: 8px; align-items: end; margin-top: 16px; }
.phone-form label { flex: 1; }
.message-list { display: grid; align-content: start; grid-auto-rows: max-content; gap: 13px; max-height: 390px; overflow-y: auto; padding: 18px 20px; background: #fbfcfb; scroll-behavior: smooth; }
.chat-message { display: grid; grid-template-columns: 34px minmax(0,1fr); align-items: start; gap: 9px; width: fit-content; max-width: 88%; }
.chat-message.own { justify-self: end; grid-template-columns: minmax(0,1fr) 34px; }
.chat-message.own .message-avatar { grid-column: 2; }
.chat-message.own .message-content { grid-column: 1; grid-row: 1; background: #e9f9e5; border-color: #cfe9c7; }
.message-avatar { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--forest); color: white; font-size: 12px; font-weight: 780; }
.message-content { min-width: 150px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 4px 12px 12px; background: white; }
.chat-message.own .message-content { border-radius: 12px 4px 12px 12px; }
.message-content header { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 3px; }
.message-content header strong { font-size: 11px; }
.message-content time { color: var(--muted); font-size: 9px; white-space: nowrap; }
.message-content p { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 12px; }
.chat-empty { display: grid; justify-items: center; gap: 3px; padding: 35px; color: var(--muted); text-align: center; }
.message-composer { display: grid; gap: 7px; padding: 14px 20px 17px; border-top: 1px solid var(--line-soft); background: white; }
.message-composer > div { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 9px; }
.message-composer textarea { min-height: 54px; }
.message-composer small { color: var(--muted); font-size: 10px; }
.message-composer button:disabled { cursor: wait; opacity: .65; }
.message-error { min-height: 14px; color: #a73a0a; font-size: 11px; }
.definition-list { display: grid; grid-template-columns: 1fr auto; margin: 0; gap: 9px 12px; }
.definition-list dt { color: var(--muted); }
.definition-list dd { margin: 0; text-align: right; }
.resource-link { color: var(--forest); font-weight: 720; text-decoration: none; }
.resource-link:hover { text-decoration: underline; }
.resource-detail-layout { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(320px,.7fr); gap: 18px; align-items: start; }
.resource-bulk-card { position: sticky; top: 84px; }
.resource-bulk-card > .muted { margin: -7px 0 15px; font-size: 12px; }
.resource-section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line-soft); }
.resource-section-head h2 { margin-top: 2px; font-size: 18px; }
.resource-section-head > strong { color: var(--forest); font-size: 20px; }
.price-summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price-summary > strong { font-size: 22px; letter-spacing: -.025em; }
.price-summary .payment { margin-top: 0; }
.payment { margin-top: 14px; }
.form-layout { display: grid; gap: 16px; }
.form-section { padding: 19px 20px; }
.form-section h2 { margin-bottom: 15px; }
.fields { display: grid; gap: 14px; }
.fields.three { grid-template-columns: repeat(3,1fr); }
.fields.four { grid-template-columns: repeat(4,1fr); }
.fields.two-col { grid-template-columns: 1fr 1fr; }
.fields .span-2 { grid-column: span 2; }
label { display: grid; gap: 5px; color: #444b47; font-size: 12px; font-weight: 650; }
label small { color: var(--muted); font-weight: 400; }
input, select, textarea { width: 100%; border: 1px solid #ccd5d0; border-radius: 9px; padding: 9px 10px; color: var(--ink); background: white; outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(0,137,101,.1); }
textarea { resize: vertical; }
label.check { display: flex; align-items: center; gap: 8px; padding: 8px 0; }
label.check input { width: auto; }
.form-actions { display: flex; justify-content: flex-end; }
.record-metadata { margin: -4px 2px 18px; color: var(--muted); font-size: 10px; }
.record-metadata summary, .record-metadata-editor summary { cursor: pointer; }
.record-metadata span { display: block; margin-top: 6px; overflow-wrap: anywhere; }
.record-metadata-editor { color: var(--muted); }
.record-metadata-editor[open] summary { margin-bottom: 14px; }
.record-metadata-editor label { max-width: 520px; }
.split-layout { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(320px,.75fr); gap: 18px; align-items: start; }
.side-form { position: sticky; top: 84px; }
.side-form > .muted { margin: -8px 0 15px; font-size: 12px; }
.form-stack { display: grid; gap: 13px; margin-top: 20px; }
.fleet-layout { grid-template-columns: minmax(0,1fr) 275px; }
.fleet-tabs { display: flex; width: fit-content; gap: 4px; margin-bottom: 20px; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.fleet-tabs a { padding: 7px 12px; border-radius: 8px; color: var(--muted); font-size: 12px; font-weight: 700; }
.fleet-tabs a.on { color: var(--forest); background: var(--mint); }
.fleet-table-wrap { overflow-x: auto; }
.fleet-table { min-width: 850px; }
.fleet-table td { height: 66px; }
.fleet-name { display: flex; align-items: center; gap: 8px; }
.fleet-row.offline-row { color: #747d78; background: #f1f3f2; }
.fleet-row.offline-row td { opacity: .58; }
.fleet-row.offline-row td:nth-child(2), .fleet-row.offline-row .row-action { opacity: 1; }
.fleet-row.offline-row .env-badge, .fleet-row.offline-row .battery { filter: grayscale(1); }
.fleet-row.offline-row .status-dot { box-shadow: none; }
.session-table { min-width: 680px; }
.callout.danger { color: #8d291c; border: 1px solid #efb9ac; background: #fff0ec; }
.live-media-card { overflow: hidden; }
.fleet-video { display: block; width: 100%; min-height: 320px; max-height: 620px; object-fit: contain; background: #07100d; }
.stream-placeholder { min-height: 280px; display: grid; place-items: center; color: #9ca9a3; background: #07100d; }
.live-media-actions { display: flex; align-items: center; gap: 12px; padding: 13px 18px; border-top: 1px solid var(--line-soft); }
.live-media-actions .muted { font-size: 11px; }
.diagnostic-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1px; overflow: hidden; border: 1px solid var(--line-soft); border-radius: 11px; background: var(--line-soft); }
.diagnostic-grid > div { min-height: 70px; display: grid; align-content: center; gap: 4px; padding: 11px 12px; background: #fbfcfb; }
.diagnostic-grid span { color: var(--muted); font-size: 9px; font-weight: 720; letter-spacing: .07em; text-transform: uppercase; }
.diagnostic-bad { color: #a73a0a; }
.network-links { display: grid; gap: 1px; margin-top: 14px; overflow: hidden; border: 1px solid var(--line-soft); border-radius: 11px; background: var(--line-soft); }
.network-links > div { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 10px 12px; background: #fbfcfb; }
.network-links small { grid-column: 1 / -1; color: var(--muted); }
.live-session-layout { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(290px,.6fr); gap: 18px; align-items: start; }
.compact-id { max-width: 180px; overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.stats-head { align-items: end; }
.metric-picker { min-width: 220px; color: var(--muted); font-size: 10px; letter-spacing: .07em; text-transform: uppercase; }
.metric-picker select { color: var(--ink); font-size: 13px; font-weight: 650; letter-spacing: 0; text-transform: none; }
.stats-chart-card { overflow: hidden; }
.stats-chart-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 21px 24px 6px; }
.stats-chart-head h2 { font-size: 18px; }
.stats-chart-head p { margin-top: 3px; color: var(--muted); font-size: 11px; }
.stats-chart-head > strong { color: var(--forest); font-size: 20px; letter-spacing: -.025em; }
.stats-chart-wrap { padding: 0 16px 16px 4px; }
.stats-chart { display: block; width: 100%; min-height: 340px; overflow: visible; }
.chart-grid { stroke: var(--line-soft); stroke-width: 1; }
.chart-y-label, .chart-x-label { fill: var(--muted); font-size: 12px; }
.chart-area { fill: rgba(0,137,101,.08); }
.chart-line { fill: none; stroke: var(--green); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.chart-point { fill: white; stroke: var(--green); stroke-width: 3; }
.live-summary { display: flex; align-items: center; gap: 6px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 11px; background: white; }
.status-dot { flex: 0 0 auto; width: 8px; height: 8px; border-radius: 999px; background: #b6bdb9; box-shadow: 0 0 0 3px rgba(182,189,185,.15); }
.status-dot.online { background: #12a672; box-shadow: 0 0 0 3px rgba(18,166,114,.14); }
.status-dot.offline { background: #dc7a29; box-shadow: 0 0 0 3px rgba(220,122,41,.14); }
.connection { display: inline-flex; font-size: 11px; font-weight: 750; text-transform: capitalize; }
.connection.online { color: var(--green); }
.connection.offline { color: #ad5b19; }
.connection.never_online { color: var(--muted); }
.connection.archived { color: var(--muted); }
.env-badge { display: inline-flex; min-width: 45px; justify-content: center; padding: 4px 7px; border-radius: 7px; font-size: 10px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.env-badge.prod { color: #853215; background: #ffe9df; }
.env-badge.staging { color: #795607; background: #fff4cf; }
.env-badge.test { color: #285da6; background: #eaf2ff; }
.battery { display: flex; align-items: center; gap: 8px; min-width: 100px; }
.battery > span { width: 48px; height: 8px; overflow: hidden; border-radius: 999px; background: #e8ece9; }
.battery i { display: block; height: 100%; min-width: 2px; border-radius: inherit; background: var(--green); }
.battery.medium i { background: #d89a1d; }
.battery.low i { background: #d74d3f; }
.battery.medium strong { color: #9a6800; }
.battery.low strong { color: #b73428; }
.battery strong { font-size: 12px; }
.login-shell { width: 100%; max-width: 430px; min-height: 100vh; display: flex; align-items: center; padding: 30px; }
.login-card { min-width: 0; width: 100%; padding: 32px; background: white; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.login-card .muted { margin-top: 8px; }
.login-option { display: grid; gap: 14px; margin-top: 22px; padding: 17px; border: 1px solid #bfddcf; border-radius: 15px; background: linear-gradient(145deg,#f5fff9,#fbfdfc); box-shadow: 0 8px 24px rgba(7,80,60,.055); }
.login-option-head { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 11px; }
.login-option-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; color: white; background: var(--forest); font-size: 15px; font-weight: 800; }
.login-option-copy { display: grid; gap: 2px; }
.login-option-copy strong { color: var(--ink); font-size: 14px; }
.login-option-copy span { color: var(--muted); font-size: 12px; }
.access-badge { padding: 4px 7px; border-radius: 999px; color: var(--forest); background: #dff5e9; font-size: 9px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.access-badge.verified { color: white; background: var(--green); }
.login-action { justify-content: space-between; min-height: 44px; padding-inline: 15px; }
.login-action span:last-child { font-size: 18px; font-weight: 500; line-height: 1; }
.login-destination { display: flex; align-items: center; gap: 8px; min-width: 0; margin-top: -3px; color: var(--muted); font-size: 10px; }
.login-destination > span:last-child { min-width: 0; display: grid; gap: 1px; overflow-wrap: anywhere; }
.login-destination strong { color: var(--ink); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 600; white-space: nowrap; }
.login-destination .status-dot { width: 7px; height: 7px; }
.login-option .fine-print { margin-top: -6px; text-align: center; }
.login-assurance { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: -5px; color: var(--muted); font-size: 10px; }
.login-assurance span { color: var(--green); font-size: 8px; }
.login-divider { display: flex; align-items: center; gap: 10px; margin: 18px 0 -2px; color: var(--muted); font-size: 11px; }
.login-divider::before, .login-divider::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.brand-mark { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 19px; border-radius: 12px; background: var(--forest); color: white; font: 700 25px Georgia,serif; }
@media (max-width: 1399px) {
  .cleaning-workspace.with-customer-chat { grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-areas: "readiness readiness" "customer chat" "details details"; }
  .cleaning-workspace.with-customer-chat .group-chat-head > span { display: none; }
}
@media (max-width: 1199px) {
  .cleaning-workspace.internal-only { grid-template-columns: 1fr; grid-template-areas: "readiness" "chat" "details"; }
  .cleaning-workspace.internal-only > .group-chat { position: static; height: auto; min-height: 0; max-height: none; }
  .cleaning-workspace.internal-only > .group-chat .message-list { max-height: 390px; }
}
@media (max-width: 850px) {
  .topbar { padding: 0 14px; gap: 10px; }
  .nav a { padding: 7px; }
  .account-name { display: none; }
  .shell { padding: 20px 14px 96px; }
  .cleaning-workspace.with-customer-chat { grid-template-columns: 1fr; grid-template-areas: "readiness" "customer" "chat" "details"; }
  .cleaning-workspace.with-customer-chat > .group-chat, .cleaning-workspace.with-customer-chat > .customer-chat { position: static; height: auto; min-height: 0; max-height: none; }
  .cleaning-workspace.with-customer-chat > .group-chat .message-list, .cleaning-workspace.with-customer-chat > .customer-chat .message-list { max-height: 390px; }
  .overview-strip { grid-template-columns: 1fr 1fr; }
  .detail-grid, .split-layout, .fleet-layout, .resource-detail-layout, .live-session-layout { grid-template-columns: 1fr; }
  .diagnostic-grid { grid-template-columns: 1fr 1fr; }
  .fleet-video { min-height: 240px; }
  .visit-facts { grid-template-columns: 1fr 1fr; }
  .fields.three, .fields.four, .fields.two-col { grid-template-columns: 1fr; }
  .fields .span-2 { grid-column: auto; }
  .calendar-nav { grid-template-columns: 1fr auto; }
  .calendar-nav > strong { grid-column: 1 / -1; grid-row: 1; justify-self: center; }
  .calendar-nav-buttons { grid-column: 1 / -1; grid-row: 2; justify-self: center; }
  .calendar-count { display: none; }
  .wifi-panel { grid-template-columns: 1fr; }
  .cleaning-level-assignments, .cleaning-level-readiness, .humanoid-assignment-fields, .staffing-summary, .readiness-plans { grid-template-columns: 1fr; }
  .readiness-head { align-items: flex-start; }
  .readiness-head-status { justify-items: end; }
  .readiness-head-status small { display: none; }
  .readiness-equipment, .readiness-people { grid-template-columns: 1fr; }
  .staffing-editor summary small { display: none; }
  .group-chat-head { align-items: flex-start; }
  .group-chat-head > span { display: none; }
  .chat-message { max-width: 95%; }
  .message-composer > div { grid-template-columns: 1fr; }
  .side-form { position: static; }
  .resource-bulk-card { position: static; }
  .stats-chart { min-height: 280px; }
  .week-calendar { display: none; }
  .mobile-week-agenda { display: grid; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: white; }
  .agenda-day { display: grid; grid-template-columns: 54px minmax(0,1fr); border-bottom: 1px solid var(--line-soft); }
  .agenda-day:last-child { border-bottom: 0; }
  .agenda-day.today { background: rgba(236,255,230,.32); }
  .agenda-date { display: grid; align-content: start; justify-items: center; gap: 2px; padding: 15px 5px; color: var(--muted); border-right: 1px solid var(--line-soft); }
  .agenda-date span { font-size: 9px; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; }
  .agenda-date strong { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 50%; font-size: 15px; }
  .agenda-day.today .agenda-date { color: var(--green); }
  .agenda-day.today .agenda-date strong { color: white; background: var(--green); }
  .agenda-events { display: grid; align-content: start; gap: 7px; padding: 10px; }
  .agenda-event { display: grid; min-width: 0; padding: 9px 10px; border-left: 3px solid var(--green); border-radius: 8px; color: var(--ink); background: #effcf5; }
  .agenda-event.status-cancelled { opacity: .6; border-left-color: var(--muted); background: #f2f4f2; }
  .agenda-event time { color: var(--green); font-size: 10px; font-weight: 750; }
  .agenda-event strong, .agenda-event span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .agenda-event span, .agenda-empty { color: var(--muted); font-size: 10px; }
  .agenda-empty { align-self: center; padding: 12px 2px; }
  .visit-main { flex-wrap: wrap; padding: 17px; }
  .visit-main .date-tile { flex-basis: 58px; height: 62px; }
  .visit-main .date-tile strong { font-size: 25px; }
  .visit-main .head-actions { width: 100%; padding-left: 78px; }
  .visit-title h1 { font-size: 22px; }
}

@media (max-width: 700px) {
  body { font-size: 15px; }
  .member-bar { height: 56px; }
  .member-bar .nav, .member-bar .account form { display: none; }
  .member-bar .account { display: none; }
  .mobile-nav { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(3,1fr); min-height: 66px; padding: 6px max(5px,env(safe-area-inset-left)) max(6px,env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(255,255,255,.96); box-shadow: 0 -8px 24px rgba(13,50,37,.07); backdrop-filter: blur(12px); }
  .mobile-nav a { display: grid; place-items: center; align-content: center; gap: 2px; min-width: 0; color: var(--muted); font-size: 10px; font-weight: 680; }
  .mobile-nav a > span { font-size: 17px; line-height: 1; }
  .mobile-nav a.on { color: var(--green); }
  .member-shell { padding-top: 18px; }
  .member-page-head h1 { font-size: 29px; }
  .assignment-card-main { grid-template-columns: 65px minmax(0,1fr) auto; gap: 10px; padding: 15px 14px; }
  .assignment-time strong { font-size: 17px; }
  .assignment-copy h3 { font-size: 16px; }
  .assignment-actions { display: grid; grid-template-columns: 1fr 1fr; padding: 0 14px 14px; }
  .assignment-actions .btn:first-child:last-child, .assignment-actions .btn:nth-child(3) { grid-column: 1 / -1; }
  .assignment-actions .btn { min-height: 46px; }
  .assignment-resources { display: grid; gap: 3px; }
  .message-page-head { margin-bottom: 14px; }
  .message-scope-note { display: grid; }
  .conversation-row { padding: 13px 12px; }
  .page-head { align-items: flex-start; gap: 12px; }
  .page-head .head-actions { flex-direction: column; align-items: flex-end; }
  .fleet-tabs { width: 100%; }
  .fleet-tabs a { flex: 1; text-align: center; }
  .diagnostic-grid { grid-template-columns: 1fr; }
  .stats-head { display: grid; gap: 14px; }
  .metric-picker { width: 100%; }
  .stats-chart-head { padding: 17px 16px 4px; }
  .stats-chart-head > strong { font-size: 16px; }
  .stats-chart-wrap { margin-left: -20px; padding-right: 6px; }
  .stats-chart { min-height: 250px; }
  .cleaning-shell .breadcrumbs { margin-bottom: 9px; }
  .visit-main { display: grid; grid-template-columns: 58px minmax(0,1fr); gap: 12px; }
  .visit-main .head-actions { grid-column: 1 / -1; padding-left: 0; }
  .visit-facts { font-size: 12px; }
  .visit-facts > div { padding: 11px 12px; }
  .readiness-card, .detail-card { padding: 15px; }
  .readiness-head { display: grid; }
  .readiness-head-status { justify-items: start; }
  .group-chat-head { padding: 15px; }
  .voice-room { display: grid; grid-template-columns: 1fr auto; align-items: center; padding: 11px 12px; }
  .voice-room-actions { justify-content: flex-end; }
  .phone-voice-call, .phone-voice-button { grid-column: 1 / -1; width: 100%; }
  .phone-voice-button { min-height: 42px; font-size: 12px; }
  .message-list { padding: 14px 12px; }
  .message-composer { padding: 13px 12px; }
  .info-grid { grid-template-columns: 1fr; }
  .info-grid .span-2 { grid-column: auto; }
}
