:root {
  --orange: #ff6a00;
  --orange-2: #ff8a1a;
  --price: #ff4f1a;
  --save: #ff8a4a;
  --text: #222;
  --text-2: #666;
  --text-3: #999;
  --line: #f0f0f0;
  --bg: #f5f6f8;
  --blue: #4d8dff;
  --blue-bg: #e7f2ff;
  --green: #12a06a;
  --teal: #0f9aa8;
  --cancel-user: #8a8f98;
  --cancel-agent: #9a6b4f;
  --cancel-noshow: #d9485f;
  --shadow: 0 8px 24px rgba(40, 30, 20, 0.08);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  color: var(--text);
  background: #e7e4de;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea { font-family: inherit; color: inherit; }
button { cursor: pointer; appearance: none; -webkit-appearance: none; }
button:focus-visible, .cell:focus-visible { outline: 2px solid #ffb27a; outline-offset: 2px; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: #ddd; border-radius: 8px; }

.app {
  height: 100%;
  display: grid;
  grid-template-columns: 280px minmax(420px, 1fr) 320px;
  min-height: 0;
}

.side, .info {
  background: #fff;
  min-height: 0;
  overflow: auto;
}
.side { border-right: 1px solid #e6e2da; }
.info { border-left: 1px solid #e6e2da; padding: 18px 16px 28px; }

.brand { display: flex; gap: 10px; align-items: center; padding: 18px 16px 8px; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(180deg, #ff9a33, #ff5a00);
  color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.brand strong { display: block; font-size: 16px; }
.brand em { display: block; margin-top: 2px; font-style: normal; color: var(--text-3); font-size: 12px; }

.role-switch {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  margin: 12px; padding: 3px; background: #f3f1ec; border-radius: 10px;
}
.role-switch.three { grid-template-columns: 1fr 1fr 1fr; }
.role-switch button {
  border: 0; background: transparent; height: 34px; border-radius: 8px; font-weight: 700; color: #666; font-size: 12px;
}
.role-switch button.on { background: #fff; color: var(--orange); box-shadow: 0 1px 4px rgba(0,0,0,.06); }

.side-group { margin: 16px 16px 6px; font-size: 12px; color: #9a948c; }
.side-item {
  width: calc(100% - 16px); margin: 0 8px; text-align: left;
  border: 0; background: transparent; border-radius: 8px;
  padding: 8px 10px; display: flex; flex-direction: column; gap: 2px;
}
.side-item b { font-size: 13px; font-weight: 650; font-weight: 600; }
.side-item span { font-size: 11px; color: #a3a3a3; }
.side-item.active { background: #fff3ea; }
.side-item.active b { color: var(--orange); }
.side-note { margin: 16px; padding: 10px 12px; background: #faf8f5; border-radius: 10px; color: #8a8178; font-size: 12px; line-height: 1.6; }

.studio { min-width: 0; min-height: 0; display: flex; flex-direction: column; background: radial-gradient(circle at 50% 30%, #fff 0, #f4f1eb 42%, #e6e1d8 100%); }
.studio-bar { padding: 16px 22px 6px; display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.studio-bar h1 { margin: 0; font-size: 20px; }
.studio-bar p { margin: 4px 0 0; color: #8d867e; font-size: 13px; }
.studio-actions { display: flex; gap: 8px; flex: none; }
.studio-actions button, .rec-btn, .reset-btn {
  border: 0; border-radius: 999px; height: 34px; padding: 0 14px; font-weight: 700; font-size: 13px;
}
.rec-btn { background: linear-gradient(90deg, #ff8a1a, #ff5a00); color: #fff; }
.reset-btn { background: #fff; color: #666; border: 1px solid #e6e2da !important; }
.flow-strip { display: flex; gap: 8px; align-items: center; padding: 8px 22px 0; color: #b0aaa3; font-size: 12px; flex-wrap: wrap; }
.flow-strip i { font-style: normal; padding: 3px 8px; border-radius: 999px; background: rgba(255,255,255,.7); }
.flow-strip i.on { color: var(--orange); background: #fff; font-weight: 700; }
.stage { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; }

#phoneBox { position: relative; flex: none; }
.phone-shell {
  width: 406px; height: 860px; padding: 8px; border-radius: 40px;
  background: #1c1c1e; position: absolute; left: 0; top: 0; transform-origin: top left;
  box-shadow: 0 30px 70px rgba(40, 30, 20, .18);
}
.phone-screen { width: 390px; height: 844px; background: #fff; border-radius: 32px; overflow: hidden; position: relative; }

.page { height: 100%; display: flex; flex-direction: column; background: #fff; }
.page.gray { background: var(--bg); }
.page.gray .status-bar, .page.gray .nav { background: #fff; }
.page-body { flex: 1; min-height: 0; overflow: auto; }
.page-body::-webkit-scrollbar { width: 0; }
.page-footer { padding: 8px 16px 8px; background: #fff; }
.page.gray .page-footer { box-shadow: 0 -6px 16px rgba(0,0,0,.04); }

.status-bar {
  height: 34px; flex: none; display: flex; align-items: center; justify-content: space-between;
  padding: 8px 16px 0; font-size: 13px; font-weight: 700;
}
.sb-right { display: flex; align-items: center; gap: 6px; font-size: 12px; }
.bat { width: 22px; height: 11px; border: 1.5px solid currentColor; border-radius: 3px; padding: 1px; position: relative; }
.bat i { display: block; height: 100%; width: 90%; background: currentColor; border-radius: 1px; }
.bat::after { content: ""; position: absolute; right: -3px; top: 3px; width: 2px; height: 4px; background: currentColor; border-radius: 1px; }
.status-bar.light { color: #fff; }

.nav { height: 48px; flex: none; display: flex; align-items: center; justify-content: center; position: relative; background: #fff; }
.nav-title { margin: 0; font-size: 17px; font-weight: 700; }
.nav-back, .nav-right {
  position: absolute; top: 4px; width: 40px; height: 40px; border: 0; background: transparent;
  display: flex; align-items: center; justify-content: center; color: #222;
}
.nav-back { left: 6px; }
.nav-right { right: 6px; width: auto; padding: 0 8px; font-size: 13px; color: var(--orange); font-weight: 700; }
.ico { width: 22px; height: 22px; display: block; }
.nav-back .ico { width: 24px; height: 24px; }

.gesture { height: 18px; flex: none; display: flex; align-items: center; justify-content: center; background: inherit; }
.page-footer + .gesture, .tabbar + .gesture { background: #fff; }
.gesture i { width: 108px; height: 4px; border-radius: 4px; background: #111; opacity: .16; display: block; }

.steps { display: flex; justify-content: space-around; padding: 16px 10px 8px; }
.step { width: 96px; text-align: center; }
.step-icon { width: 58px; height: 58px; margin: 0 auto; }
.step-svg { width: 58px; height: 58px; display: block; filter: drop-shadow(0 8px 8px rgba(255, 122, 26, .2)); }
.step-label { margin-top: 4px; font-size: 12px; color: #333; }

.house { display: flex; gap: 12px; padding: 14px 16px 16px; border-bottom: 1px solid #f2f2f2; }
.house.compact { border: 0; padding: 0; }
.house-photo { width: 104px; height: 78px; border-radius: 4px; overflow: hidden; flex: none; background: #f4efe8; }
.house.compact .house-photo { width: 92px; height: 70px; }
.house-photo svg, .hero svg { width: 100%; height: 100%; display: block; }
.house-title { font-size: 14px; font-weight: 700; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.house-meta { margin-top: 3px; color: #9a9a9a; font-size: 12px; }
.tags { margin-top: 5px; }
.tag { display: inline-block; background: var(--blue-bg); color: var(--blue); border-radius: 3px; padding: 0 5px; font-size: 11px; line-height: 18px; }
.house-price { margin-top: 4px; color: var(--price); font-size: 12px; font-weight: 700; }
.house-price b { font-size: 18px; font-weight: 800; letter-spacing: -0.3px; }
.house-price em { font-style: normal; color: var(--save); font-weight: 500; margin-left: 6px; font-size: 12px; }

.cell {
  width: 100%; border: 0; background: #fff; display: flex; align-items: center; justify-content: space-between;
  padding: 16px; font-size: 15px; text-align: left;
}
.cell-value { display: inline-flex; align-items: center; color: #c8c8c8; font-size: 14px; max-width: 68%; }
.cell-value.on { color: #222; }
.cell-value .ico { width: 16px; height: 16px; color: #ccc; margin-left: 2px; }

.btn-primary, .btn-ghost, .btn-line { border-radius: 24px; font-weight: 700; }
.btn-primary {
  width: 100%; height: 48px; border: 0; color: #fff; font-size: 17px; letter-spacing: .5px;
  background: linear-gradient(90deg, #ff9a2a 0%, #ff5c12 100%);
  box-shadow: 0 8px 16px rgba(255, 94, 20, .28);
}
.btn-primary:active, .btn-ghost:active, .btn-line:active { transform: scale(.985); }
.btn-ghost, .btn-line { height: 44px; background: #fff; font-size: 15px; }
.btn-ghost { border: 1px solid #ffd3b8; color: var(--orange); }
.btn-line { border: 1px solid #ececec; color: #333; }
.btn-row { display: flex; gap: 8px; }
.btn-row > * { flex: 1; }
.page-footer .btn-row .btn-primary { width: auto; height: 44px; box-shadow: none; font-size: 15px; }
.fine { margin: 10px 4px 0; text-align: center; color: #9a9a9a; font-size: 12px; line-height: 1.5; }

.hero { height: 232px; background: #f4efe8; position: relative; }
.hero-badge { position: absolute; right: 12px; bottom: 12px; background: rgba(0,0,0,.45); color: #fff; border-radius: 10px; font-size: 11px; padding: 2px 8px; }
.sheet-card { background: #fff; border-radius: 16px 16px 0 0; margin-top: -14px; position: relative; padding: 16px 16px 8px; }
.price-xl { color: var(--price); font-weight: 800; font-size: 26px; }
.price-xl span { font-size: 13px; font-weight: 700; }
.save-pill { display: inline-block; margin-left: 8px; color: var(--save); font-size: 12px; font-weight: 600; }
.listing-title { margin: 8px 0 0; font-size: 18px; line-height: 1.4; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px 8px; padding: 8px 0 4px; }
.info-grid div { font-size: 12px; color: #999; }
.info-grid b { display: block; margin-top: 3px; color: #222; font-size: 14px; }
.section { padding: 6px 16px 16px; }
.section h3, .card h3 { margin: 0 0 10px; font-size: 16px; }
.mini-steps { display: flex; justify-content: space-between; background: #fff8f3; border-radius: 12px; padding: 12px; }
.mini-steps div { text-align: center; font-size: 12px; color: #666; flex: 1; min-width: 0; }
.mini-steps b { display: block; color: var(--orange); margin-bottom: 4px; }

.dock { display: flex; gap: 8px; align-items: center; }
.dock-mini { width: 54px; border: 0; background: transparent; font-size: 11px; color: #666; padding: 0; }
.dock-mini .ico { margin: 0 auto 2px; color: #444; }
.dock .btn-primary { flex: 1; height: 44px; font-size: 16px; }

.card { background: #fff; margin: 10px 12px; border-radius: 12px; padding: 14px; }
.card h3 { font-size: 15px; }
.kv { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 7px 0; font-size: 14px; }
.kv span { color: #888; flex: none; }
.kv b { font-weight: 600; text-align: right; }
.kv b .badge { vertical-align: middle; }
.muted { color: #8d8d8d; font-size: 13px; line-height: 1.55; margin: 0; }
.status-card { margin: 10px 12px; background: #fff; border-radius: 12px; padding: 16px 14px 14px; }
.status-kicker { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 4px; font-size: 12px; font-weight: 700; }
.status-kicker.orange { background: #fff1e8; color: var(--orange); }
.status-kicker.green { background: #e8f8f0; color: var(--green); }
.status-kicker.teal { background: #e5f7f9; color: var(--teal); }
.status-kicker.blue { background: var(--blue-bg); color: var(--blue); }
.status-kicker.gray { background: #f2f3f5; color: #888; }
.status-kicker.cancel-user,
.status-kicker.cancel-agent,
.status-kicker.cancel-noshow { background: #f2f3f5; color: #888; }
.status-card h2 { margin: 8px 0 14px; font-size: 16px; line-height: 1.45; }
.progress { display: flex; align-items: flex-start; }
.p-item { width: 72px; text-align: center; color: #c5c5c5; font-size: 11px; }
.p-item i { width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #f1f1f1; font-style: normal; font-size: 12px; color: #999; }
.p-item span { display: block; margin-top: 4px; }
.p-item.done, .p-item.current { color: var(--orange); }
.p-item.done i, .p-item.current i { background: var(--orange); color: #fff; }
.p-line { flex: 1; height: 2px; background: #f0f0f0; margin: 10px 0 0; }
.p-line.done { background: #ffd2b8; }
.compare { background: #fff7f1; border-radius: 10px; padding: 10px 12px; margin-top: 8px; font-size: 13px; line-height: 1.7; }
.compare b { color: var(--orange); }
.person { display: flex; gap: 10px; align-items: center; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  background: linear-gradient(180deg, #ffb067, #ff7a1a); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 16px;
}
.avatar.lg { width: 64px; height: 64px; font-size: 24px; }
.avatar.user { background: linear-gradient(180deg, #8eb6ff, #4d8dff); }
.person p { margin: 3px 0 0; }
.slim { margin-top: 12px; }
.timeline { padding-top: 2px; }
.tl-item { position: relative; padding: 0 0 14px 16px; }
.tl-item::before { content: ""; position: absolute; left: 0; top: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.tl-item::after { content: ""; position: absolute; left: 3px; top: 16px; bottom: 0; width: 1px; background: #ffe0cc; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item:last-child::after { display: none; }
.tl-item .tl-title { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.tl-item .tl-title b { display: inline; font-size: 14px; }
.tl-item > div > span,
.tl-item .tl-desc { display: block; margin-top: 3px; color: #888; font-size: 12px; line-height: 1.5; }
.node-item .node-head { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.node-item .node-head b { flex: none; }
.node-item .node-head .badge { margin-right: auto; }
.node-item .node-head > span:last-child { margin-left: auto; color: #999; font-size: 12px; }

.filters { display: flex; gap: 8px; overflow: auto; padding: 10px 12px; background: #fff; position: sticky; top: 0; z-index: 2; }
.filters::-webkit-scrollbar { height: 0; }
.filters button { border: 0; background: #f4f5f7; color: #666; border-radius: 14px; height: 28px; padding: 0 12px; font-size: 13px; white-space: nowrap; }
.filters button.on { background: #fff1e8; color: var(--orange); font-weight: 700; }
.list-wrap { padding: 10px 12px 0; }
.list-card { width: 100%; border: 0; background: #fff; border-radius: 12px; padding: 12px; text-align: left; }
.list-top { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.list-top b { font-size: 15px; }
.badge { flex: none; font-size: 11px; font-weight: 700; padding: 2px 6px; border-radius: 4px; }
.badge.orange { background: #fff1e8; color: var(--orange); }
.badge.green { background: #e8f8f0; color: var(--green); }
.badge.teal { background: #e5f7f9; color: var(--teal); }
.badge.blue { background: var(--blue-bg); color: var(--blue); }
.badge.gray { background: #f2f3f5; color: #8a8a8a; }
.badge.red { background: #fdecef; color: #d9485f; }
.badge.cancel-user,
.badge.cancel-agent,
.badge.cancel-noshow { background: #f2f3f5; color: #8a8a8a; }
.list-card .house-meta { margin-top: 6px; }
.list-price { margin-top: 8px; color: var(--price); font-weight: 800; }
.list-price span { font-size: 12px; font-weight: 600; }

.appt-legend {
  display: flex; flex-wrap: nowrap; gap: 8px 10px; padding: 12px 16px 4px;
  font-size: 11px; color: #666; overflow: auto;
}
.appt-legend::-webkit-scrollbar { height: 0; }
.appt-legend span { display: inline-flex; align-items: center; gap: 5px; flex: none; }
.appt-legend i {
  width: 8px; height: 8px; border-radius: 50%; display: inline-block;
}
.appt-legend .lg-orange { background: var(--orange); }
.appt-legend .lg-green { background: var(--green); }
.appt-legend .lg-teal { background: var(--teal); }
.appt-legend .lg-blue { background: var(--blue); }
.appt-legend .lg-gray { background: #b0b0b0; }
.appt-legend .lg-assign { color: var(--orange); }
.appt-legend .lg-eye { color: #666; }
.appt-legend .lg-eye.wait { color: var(--green); }
.appt-legend .lg-eye.seen { color: var(--blue); }
.appt-legend .lg-eye.miss { color: #8a8a8a; }
.eye-svg, .assign-svg { width: 14px; height: 14px; display: block; flex: none; }
.badge.with-eye {
  display: inline-flex; align-items: center; gap: 4px;
}
.badge.with-eye .eye-svg,
.badge.with-eye .assign-svg { width: 13px; height: 13px; }
.appt-eye-mark,
.appt-assign-mark {
  position: absolute; left: 50%; top: -2px; transform: translateX(-50%);
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #fff; z-index: 1;
}
.appt-eye-mark .eye-svg,
.appt-assign-mark .assign-svg { width: 14px; height: 14px; }
.appt-row.eye-wait .appt-eye-mark { color: var(--green); box-shadow: 0 0 0 3px #d8f3e6; }
.appt-row.eye-seen .appt-eye-mark { color: var(--blue); box-shadow: 0 0 0 3px #dceaff; }
.appt-row.eye-miss .appt-eye-mark { color: #8a8a8a; box-shadow: 0 0 0 3px #efefef; }
.appt-row.is-assign .appt-assign-mark {
  color: var(--orange); box-shadow: 0 0 0 3px #ffe8d6;
  animation: assign-pulse 1.6s ease-out infinite;
}

.appt-timeline { padding: 4px 12px 18px; }
.appt-split {
  margin: 6px 0 10px 62px; color: #9a9a9a; font-size: 12px;
  display: flex; align-items: center; gap: 8px;
}
.appt-split::before, .appt-split::after {
  content: ""; flex: 1; height: 1px; background: #ebebeb;
}
.appt-row { display: flex; gap: 10px; align-items: stretch; position: relative; padding-bottom: 14px; }
.appt-row.last { padding-bottom: 0; }
.appt-axis { width: 52px; flex: none; display: flex; flex-direction: column; align-items: center; position: relative; }
.appt-day { width: 100%; text-align: center; padding-top: 2px; min-height: 34px; }
.appt-day.blank { min-height: 10px; }
.appt-day b { display: block; font-size: 13px; line-height: 1.2; color: #222; }
.appt-day span { display: block; margin-top: 2px; font-size: 11px; color: #999; line-height: 1.2; }
.appt-rail { flex: 1; width: 100%; position: relative; min-height: 12px; }
.appt-dot {
  position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  width: 10px; height: 10px; border-radius: 50%; z-index: 1;
  background: var(--orange); box-shadow: 0 0 0 3px #ffe8d6;
}
.appt-row:not(.last) .appt-rail::after {
  content: ""; position: absolute; left: 50%; top: 10px; bottom: -14px;
  width: 2px; margin-left: -1px; background: #ececec;
}
.appt-card {
  flex: 1; min-width: 0; border-left: 3px solid transparent; background: #fff;
  border-radius: 12px; box-shadow: 0 1px 2px rgba(0,0,0,.03); overflow: hidden;
}
.appt-card-main {
  width: 100%; border: 0; background: transparent; padding: 12px; text-align: left;
}
.appt-card-main:active { transform: scale(.99); }
.appt-card-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.appt-time { font-size: 15px; font-weight: 800; letter-spacing: -.3px; }
.appt-title {
  display: block; margin-top: 8px; font-size: 14px; line-height: 1.35;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.appt-card .house-meta { margin-top: 4px; }
.appt-card .list-price { margin-top: 6px; }
.appt-sign {
  width: calc(100% - 24px); margin: 0 12px 12px; height: 36px; border-radius: 18px;
  border: 1px solid #cfe0ff; background: #f4f8ff; color: var(--blue);
  font-size: 14px; font-weight: 700;
}
.appt-sign:active { transform: scale(.985); }
.appt-sign.signed,
.btn-line.signed,
.btn-primary.signed {
  border-color: #dcdfe6;
  background: #f4f4f5;
  color: #909399;
  box-shadow: none;
}
.appt-card.has-sign .appt-card-main { padding-bottom: 8px; }

.appt-row.tone-orange .appt-dot { background: var(--orange); box-shadow: 0 0 0 3px #ffe8d6; }
.appt-row.tone-orange .appt-card { border-left-color: var(--orange); background: #fffaf6; }
.appt-row.tone-orange .appt-time { color: var(--orange); }

.appt-row.tone-green .appt-dot { background: var(--green); box-shadow: 0 0 0 3px #d8f3e6; }
.appt-row.tone-green .appt-card { border-left-color: var(--green); background: #f5fcf8; }
.appt-row.tone-green .appt-time { color: var(--green); }

.appt-row.tone-teal .appt-dot { background: var(--teal); box-shadow: 0 0 0 3px #d7f1f4; }
.appt-row.tone-teal .appt-card { border-left-color: var(--teal); background: #f3fbfc; }
.appt-row.tone-teal .appt-time { color: var(--teal); }

.appt-row.is-assign .appt-card {
  border-left-width: 3px;
  border-left-color: var(--orange);
  background: linear-gradient(180deg, #fff5eb 0%, #fffaf6 100%);
  box-shadow: 0 4px 14px rgba(255, 106, 0, .12);
  outline: 1px solid rgba(255, 106, 0, .16);
}
.appt-row.is-assign .appt-day b { color: var(--orange); }
.badge.orange.assign-live {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--orange); color: #fff;
}

.appt-row.is-viewing .appt-card {
  border-left-width: 3px;
  border-left-color: var(--teal);
  background: linear-gradient(180deg, #eefafb 0%, #f7fcfd 100%);
  box-shadow: 0 4px 14px rgba(15, 154, 168, .12);
  outline: 1px solid rgba(15, 154, 168, .18);
}
.appt-row.is-viewing .appt-day b { color: var(--teal); }
.appt-dot.pulse {
  animation: viewing-pulse 1.4s ease-out infinite;
}
.badge.teal.live {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--teal); color: #fff;
}
.badge.teal.live .live-dot {
  width: 6px; height: 6px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 0 0 rgba(255,255,255,.7);
  animation: viewing-pulse 1.4s ease-out infinite;
}
@keyframes viewing-pulse {
  0% { box-shadow: 0 0 0 0 rgba(15, 154, 168, .45); }
  70% { box-shadow: 0 0 0 8px rgba(15, 154, 168, 0); }
  100% { box-shadow: 0 0 0 0 rgba(15, 154, 168, 0); }
}
@keyframes assign-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 106, 0, .4); }
  70% { box-shadow: 0 0 0 8px rgba(255, 106, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 106, 0, 0); }
}

.appt-row.tone-blue .appt-dot { background: var(--blue); box-shadow: 0 0 0 3px #dceaff; }
.appt-row.tone-blue .appt-card { border-left-color: var(--blue); background: #f6f9ff; }
.appt-row.tone-blue .appt-time { color: var(--blue); }

.appt-row.tone-gray .appt-dot { background: #b0b0b0; box-shadow: 0 0 0 3px #efefef; }
.appt-row.tone-gray .appt-card { border-left-color: #c8c8c8; background: #fafafa; }
.appt-row.tone-gray .appt-time { color: #888; }
.appt-row.tone-gray .appt-day b { color: #8a8a8a; }

.success-hero { text-align: center; padding: 28px 24px 8px; }
.success-mark {
  width: 72px; height: 72px; margin: 0 auto 12px; border-radius: 50%;
  background: linear-gradient(180deg, #ffb15a, #ff6a00); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 20px rgba(255, 106, 0, .25);
}
.success-mark .ico { width: 36px; height: 36px; }
.success-hero h2 { margin: 0; font-size: 22px; }
.success-hero p { margin: 8px 0 0; color: #888; font-size: 13px; line-height: 1.6; }
.stack-gap { display: flex; flex-direction: column; gap: 8px; }

.date-row { display: flex; gap: 8px; overflow: auto; padding: 4px 16px 12px; }
.date-row::-webkit-scrollbar { height: 0; }
.date-chip { min-width: 76px; border-radius: 12px; border: 1px solid #eee; background: #fff; padding: 8px 6px; }
.date-chip b, .date-chip span, .date-chip em { display: block; font-style: normal; }
.date-chip b { font-size: 14px; }
.date-chip span, .date-chip em { font-size: 11px; color: #999; margin-top: 2px; }
.date-chip.on { border-color: var(--orange); background: #fff6ef; }
.date-chip.on b, .date-chip.on span, .date-chip.on em { color: var(--orange); }
.slot-block { padding: 4px 16px 12px; }
.slot-label { font-size: 13px; color: #888; margin-bottom: 8px; }
.slot-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid #eee; background: #f7f7f8; color: #333; border-radius: 8px; padding: 8px 10px; font-size: 13px; }
.chip.on { background: #fff4ec; border-color: var(--orange); color: var(--orange); font-weight: 700; }
.chip:disabled { opacity: .38; cursor: not-allowed; }
.picker-tip { padding: 0 16px 8px; }

.choice { width: 100%; border: 1px solid #f0f0f0; background: #fff; border-radius: 10px; padding: 12px; display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; font-size: 14px; text-align: left; }
.choice.on { border-color: #ffd0b5; background: #fff8f3; color: #e85d04; font-weight: 700; }
.dot { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid #ddd; }
.choice.on .dot { border-color: var(--orange); background: radial-gradient(circle, var(--orange) 0 5px, transparent 6px); }

.stars { display: flex; gap: 4px; }
.star { border: 0; background: transparent; color: #e6e6e6; padding: 0; }
.star.on { color: #ffb020; }
.star .ico { width: 28px; height: 28px; }
.rate-row { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; }
.rate-row span { font-size: 14px; color: #444; }
.field { margin-top: 12px; }
.field-label { font-size: 13px; color: #666; margin-bottom: 8px; }
.textarea, .text-input {
  width: 100%; border: 1px solid #eee; border-radius: 10px; padding: 10px 12px; font-size: 14px; background: #fafafa;
}
.textarea { min-height: 88px; resize: none; }
.switch { width: 44px; height: 26px; border-radius: 13px; border: 0; background: #e5e5e5; padding: 2px; display: flex; }
.switch i { width: 22px; height: 22px; border-radius: 50%; background: #fff; display: block; transition: margin .15s; }
.switch.on { background: var(--orange); }
.switch.on i { margin-left: 18px; }
.switch-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 8px; }

.chat-list { padding: 12px; display: flex; flex-direction: column; gap: 10px; min-height: 100%; }
.bubble { max-width: 78%; padding: 10px 12px; border-radius: 12px; font-size: 14px; line-height: 1.5; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.03); }
.bubble.mine { margin-left: auto; background: var(--orange); color: #fff; border-bottom-right-radius: 4px; }
.bubble.their { border-bottom-left-radius: 4px; }
.bubble em { display: block; margin-top: 4px; font-style: normal; font-size: 11px; opacity: .7; }
.quick { display: flex; gap: 6px; overflow: auto; padding-bottom: 8px; }
.quick::-webkit-scrollbar { height: 0; }
.chat-bar { display: flex; gap: 8px; align-items: center; }
.chat-bar .text-input { flex: 1; height: 40px; }
.chat-bar .btn-primary { width: 64px; height: 40px; font-size: 14px; box-shadow: none; }

.empty { text-align: center; padding: 56px 28px; color: #999; }
.empty b { display: block; color: #222; font-size: 16px; margin-bottom: 6px; }
.empty .btn-primary { margin-top: 16px; }

.tabbar { height: 54px; flex: none; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-top: 1px solid #f2f2f2; }
.tab { border: 0; background: transparent; color: #999; font-size: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; position: relative; }
.tab .ico { width: 22px; height: 22px; }
.tab.on { color: var(--orange); font-weight: 700; }
.tab .dot { position: absolute; top: 6px; right: calc(50% - 16px); width: 7px; height: 7px; border-radius: 50%; background: #ff3b30; border: 0; }

.agent-home { background: linear-gradient(#ff7a18, #ff7a18 210px, var(--bg) 210px); }
.agent-home .page-body { background: transparent; }
.ah-head { color: #fff; padding: 6px 16px 18px; }
.ah-head h2 { margin: 0; font-size: 22px; }
.ah-head p { margin: 6px 0 0; opacity: .9; font-size: 13px; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 0 12px; }
.stat { background: #fff; border-radius: 12px; text-align: center; padding: 12px 4px; border: 0; }
.stat b { display: block; font-size: 20px; color: var(--orange); }
.stat span { font-size: 12px; color: #888; }
.todo { width: calc(100% - 24px); margin: 10px 12px; text-align: left; }
.profile-head { display: flex; gap: 12px; align-items: center; padding: 18px 16px; background: #fff; }
.profile-head b { font-size: 18px; }
.profile-head p { margin: 4px 0 0; color: #888; font-size: 13px; }

.dial { text-align: center; padding: 36px 16px 10px; }
.dial-ring { width: 92px; height: 92px; margin: 0 auto 12px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #fff4ec; position: relative; }
.dial-ring::before, .dial-ring.calling::after {
  content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 1px solid rgba(255,106,0,.25);
}
.dial-ring.calling::after { animation: pulse 1.2s ease-out infinite; }
@keyframes pulse { from { transform: scale(.86); opacity: .8; } to { transform: scale(1.18); opacity: 0; } }
.dial h2 { margin: 8px 0 0; font-size: 20px; }
.dial p { color: #888; }

.map { height: 180px; margin: 12px; border-radius: 12px; position: relative; overflow: hidden; background: #e7f0e4; }
.map-road { position: absolute; background: #f7f4ea; }
.map-road.h { left: 0; right: 0; top: 78px; height: 18px; }
.map-road.v { top: 0; bottom: 0; left: 150px; width: 16px; }
.map-block { position: absolute; left: 40px; top: 24px; width: 86px; height: 42px; background: #d5e4c8; border-radius: 4px; }
.map-pin { position: absolute; left: 168px; top: 48px; display: flex; align-items: center; gap: 4px; background: #fff; border-radius: 12px; padding: 4px 8px; font-size: 12px; font-weight: 700; box-shadow: var(--shadow); }
.map-pin .ico { width: 16px; height: 16px; color: var(--orange); }
.map-me { position: absolute; left: 120px; top: 112px; width: 28px; height: 28px; border-radius: 50%; background: #4d8dff; color: #fff; font-size: 12px; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 6px rgba(77,141,255,.2); }
.distance { margin: 0 12px; background: #fff; border-radius: 12px; padding: 12px; display: flex; justify-content: space-between; align-items: center; }
.distance b { color: var(--green); }
.distance .sub { color: #888; font-size: 12px; margin-top: 4px; }
.distance.far b { color: #e85d4c; }
.btn-primary:disabled, .btn-line:disabled, .btn-ghost:disabled { opacity: 1; cursor: not-allowed; background: #ececec; color: #b0b0b0; box-shadow: none; }
.map-me.far { left: 28px; top: 128px; background: #e85d4c; box-shadow: 0 0 0 6px rgba(232, 93, 76, .2); }
.note-banner { margin: 0 12px 10px; background: #fff7f0; color: #b85a12; border-radius: 8px; padding: 8px 10px; font-size: 12px; line-height: 1.5; }
.card .note-banner, .page-body > .note-banner { margin: 0 0 10px; }
.node-feed { display: flex; flex-direction: column; gap: 8px; }
.node-item { background: #fff; border-radius: 10px; padding: 10px 12px; border: 1px solid #f0f0f0; }
.node-head { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.node-head b { font-size: 14px; }
.node-head span { color: #999; font-size: 12px; flex: none; }
.node-item p { margin: 6px 0 0; color: #666; font-size: 13px; line-height: 1.5; }
.btn-row.node-actions { gap: 6px; }
.btn-row.node-actions .btn-line,
.btn-row.node-actions .btn-primary { height: 44px; font-size: 14px; padding: 0 4px; }
.btn-row.node-actions.four { gap: 4px; }
.btn-row.node-actions.four .btn-line,
.btn-row.node-actions.four .btn-primary { height: 44px; font-size: 12px; padding: 0 2px; line-height: 1.2; }
.house-row { margin-bottom: 12px; }
.house-row:last-of-type { margin-bottom: 0; }
.house-row-meta { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.house-pick .house-chip {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  text-align: left; height: auto; min-height: 52px; padding: 10px 12px; width: 100%;
}
.house-pick .house-chip b { font-size: 13px; font-weight: 700; }
.house-pick .house-chip span { font-size: 12px; color: #888; font-weight: 400; }
.photo-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.photo-thumb, .photo-add {
  width: 88px; height: 88px; border-radius: 10px; position: relative;
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-size: 11px; line-height: 1.3; padding: 8px; box-sizing: border-box;
}
.photo-thumb {
  background: linear-gradient(145deg, #f3efe8, #e7ddd0); color: #666; border: 1px solid #e5dccf;
}
.photo-add {
  border: 1px dashed #d0c4b4; background: #fffaf5; color: #b07a45; cursor: pointer;
}
.photo-x {
  position: absolute; top: 4px; right: 4px; width: 20px; height: 20px; border: 0;
  border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; font-size: 14px; line-height: 20px;
  padding: 0; cursor: pointer;
}
.btn-row.node-actions .btn-line.done,
.btn-row.node-actions .btn-primary.done {
  background: #f0faf4; color: #1f9d55; border-color: #c9ead7; box-shadow: none;
}
.timeline .tl-item.clickable {
  width: 100%; border: 0; background: transparent; text-align: left; display: flex; align-items: flex-start; gap: 8px; padding: 0 0 14px 16px; cursor: pointer;
}
.timeline .tl-item.clickable > div { flex: 1; }
.timeline .tl-item.clickable em { flex: none; color: #ff6a00; font-style: normal; font-size: 12px; font-weight: 700; padding-top: 2px; }
.ops-node-wrap { margin-bottom: 12px; }
.ops-node-wrap .node-item { background: #fff; }
.field .text-input { width: 100%; }

.summary-line { display: flex; justify-content: space-between; gap: 8px; padding: 8px 0; border-bottom: 1px solid #f6f6f6; font-size: 14px; }
.summary-line span { color: #888; }
.check-ok { color: var(--green); font-weight: 700; }

.mask { position: absolute; inset: 0; background: rgba(0,0,0,.45); z-index: 20; border: 0; width: 100%; }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; z-index: 21; background: #fff; border-radius: 16px 16px 0 0; padding: 10px 16px 22px; }
.sheet-handle { width: 36px; height: 4px; border-radius: 4px; background: #e5e5e5; margin: 0 auto 12px; }
.sheet h3 { margin: 0 0 12px; text-align: center; font-size: 16px; }
.sheet .btn-ghost, .sheet .btn-line, .sheet .btn-primary { width: 100%; margin-top: 8px; }
.toast {
  position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%);
  background: rgba(0,0,0,.78); color: #fff; padding: 12px 16px; border-radius: 8px;
  font-size: 14px; z-index: 40; max-width: 240px; text-align: center; line-height: 1.5;
}
.err { white-space: pre-wrap; color: #c0392b; font-size: 12px; padding: 12px; }

.info h2 { margin: 0 0 8px; font-size: 16px; }
.info-label { margin: 14px 0 6px; font-size: 12px; color: #999; }
.info-card { background: #faf8f5; border-radius: 12px; padding: 10px 12px; }
.info-card .kv { padding: 5px 0; }
.info .rec-btn, .info .reset-btn { width: 100%; margin-top: 8px; }
.page-desc { color: #666; font-size: 13px; line-height: 1.6; margin: 0; }

@media (max-width: 1180px) {
  body { overflow: auto; height: auto; }
  .app { height: auto; min-height: 100vh; grid-template-columns: 240px 1fr; grid-template-rows: auto auto; }
  .info { grid-column: 1 / -1; border-left: 0; border-top: 1px solid #e6e2da; }
  .studio { min-height: 760px; }
}

/* 平台端 · 预约看房记录 */
body.ops-mode .studio { background: #f0f2f5; }
body.ops-mode .stage {
  align-items: stretch; justify-content: stretch; padding: 10px 14px 16px;
}
.desk-box { width: 100%; height: 100%; min-height: 0; }
.desk-screen {
  height: 100%; min-height: 560px; overflow: auto; border-radius: 8px;
  background: #f0f2f5; position: relative;
}
.ops-desk.admin { min-height: 100%; padding: 12px 14px 20px; }
.ops-crumb { color: #909399; font-size: 12px; margin-bottom: 8px; }
.ops-top { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 12px; align-items: flex-start; }
.ops-top.tight { margin-bottom: 10px; }
.ops-top h1 { margin: 0; font-size: 18px; color: #303133; }
.ops-top p { margin: 4px 0 0; color: #909399; font-size: 12px; }
.ops-dispatch {
  display: grid; grid-template-columns: minmax(260px, 340px) minmax(0, 1fr); gap: 12px; align-items: stretch;
}
.ops-panel, .ops-side.fill {
  background: #fff; border-radius: 4px; border: 1px solid #ebeef5; overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 21, 41, .04);
}
.ops-panel-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 14px; border-bottom: 1px solid #ebeef5; background: #fafafa;
}
.ops-panel-head b { font-size: 14px; color: #303133; }
.ops-panel-head span { color: #909399; font-size: 12px; }
.ops-pick-list { max-height: calc(100vh - 280px); overflow: auto; padding: 8px; display: grid; gap: 8px; }
.ops-pick-item {
  text-align: left; border: 1px solid #ebeef5; background: #fff; border-radius: 4px; padding: 10px 12px;
}
.ops-pick-item.on { border-color: #409eff; background: #ecf5ff; }
.ops-pick-item p { margin: 8px 0 6px; color: #606266; font-size: 13px; }
.ops-pick-meta { display: flex; justify-content: space-between; gap: 8px; align-items: center; color: #909399; font-size: 12px; }
.ops-side.fill { padding: 0 0 14px; display: flex; flex-direction: column; min-height: 480px; }
.ops-dispatch-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 14px; border-bottom: 1px solid #ebeef5; background: #fafafa;
}
.ops-dispatch-head b { font-size: 14px; color: #303133; }
.ops-dispatch-head span { color: #909399; font-size: 12px; }
.ops-side.fill .ops-card { margin: 12px 14px 0; }
.ops-section-title { padding: 14px 14px 8px; font-size: 13px; font-weight: 700; color: #303133; }
.ops-agent-list.tall { padding: 0 12px; max-height: none; flex: 1; overflow: auto; }
.ops-dispatch-foot {
  display: flex; justify-content: flex-end; gap: 8px; padding: 12px 14px 0; margin-top: auto;
}
.ops-empty {
  padding: 48px 24px; text-align: center; color: #909399; font-size: 13px; line-height: 1.6;
}
.ops-btn.primary { width: auto; margin: 0; }

.ops-filter {
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr)) auto;
  gap: 12px 16px;
  align-items: end;
  background: #fff;
  border-radius: 4px;
  padding: 16px 16px 12px;
  margin-bottom: 12px;
  box-shadow: 0 1px 4px rgba(0, 21, 41, .04);
}
.ops-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ops-field label { font-size: 13px; color: #606266; }
.ops-input {
  width: 100%; height: 32px; border: 1px solid #dcdfe6; border-radius: 4px;
  padding: 0 10px; background: #fff; font-size: 13px; color: #606266;
}
.ops-input:focus { border-color: #409eff; outline: none; }
.ops-filter-actions { display: flex; gap: 8px; align-items: center; padding-bottom: 1px; }
.ops-btn {
  border: 0; border-radius: 4px; height: 32px; padding: 0 14px; font-weight: 600; font-size: 13px;
}
.ops-btn.primary { background: #409eff; color: #fff; }
.ops-btn.primary:disabled { opacity: .45; cursor: not-allowed; }
.ops-btn.ghost {
  background: #fff; border: 1px solid #dcdfe6; color: #606266;
}
.ops-card-block {
  background: #fff; border-radius: 4px; padding: 12px 12px 8px;
  box-shadow: 0 1px 4px rgba(0, 21, 41, .04);
}
.ops-toolbar { margin-bottom: 10px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.ops-toolbar .ops-btn em {
  font-style: normal; margin-left: 6px; min-width: 16px; height: 16px; padding: 0 5px;
  border-radius: 8px; background: #fdf6ec; color: #e6a23c; font-size: 11px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
.ops-table tr.pending-row td { background: #fffbf5; }
.ops-tag.warn { background: #fdf6ec; color: #e6a23c; margin-left: 6px; }
.ops-tag.info { background: #ecf5ff; color: #409eff; margin-left: 6px; }
.ops-table-wrap { overflow: auto; max-height: calc(100vh - 320px); }
.ops-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.ops-table.dense th, .ops-table.dense td { white-space: nowrap; }
.ops-table th {
  text-align: left; font-weight: 650; color: #909399; background: #fafafa;
  padding: 10px 12px; border-bottom: 1px solid #ebeef5; position: sticky; top: 0; z-index: 1;
}
.ops-table td {
  padding: 10px 12px; border-bottom: 1px solid #ebeef5; color: #606266; vertical-align: middle;
}
.ops-table tr:hover td { background: #f5f7fa; }
.ops-table tr.live td { background: #f0f9ff; }
.ops-user { display: flex; align-items: center; gap: 8px; }
.ops-user i {
  width: 28px; height: 28px; border-radius: 50%; background: #409eff; color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-size: 12px; font-weight: 700;
}
.ops-user b { font-size: 13px; color: #303133; font-weight: 650; }
.ops-user em { margin-left: 6px; }
.ops-tag {
  display: inline-flex; padding: 0 6px; border-radius: 2px; height: 18px; align-items: center;
  background: #ecf5ff; color: #409eff; font-size: 11px; font-style: normal; font-weight: 700;
}
.ops-tag.match { background: #f0f9eb; color: #67c23a; margin-left: 6px; }
.ops-status {
  display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 2px;
  font-size: 12px; font-weight: 700;
}
.ops-status.warn { background: #fdf6ec; color: #e6a23c; }
.ops-status.ok { background: #f0f9eb; color: #67c23a; }
.ops-status.info { background: #ecf5ff; color: #409eff; }
.ops-status.mute { background: #f4f4f5; color: #909399; }
.ops-table .ops-rating { font-weight: 600; color: #e6a23c; white-space: nowrap; }
.ops-table .ops-review {
  max-width: 220px;
  min-width: 120px;
  color: #606266;
  white-space: normal !important;
  line-height: 1.4;
}
.ops-table tr.viewed-row .ops-rating { color: #e6a23c; }
.ops-table tr.viewed-row td { background: #f7fbff; }
.ops-actions { min-width: 96px; }
.ops-link {
  border: 0; background: transparent; color: #409eff; font-weight: 650; font-size: 13px; padding: 0;
}
.ops-sep { margin: 0 6px; color: #dcdfe6; }
.ops-mute { color: #909399; font-size: 13px; }
.ops-empty-cell { text-align: center !important; color: #909399; padding: 36px 12px !important; }
.ops-page { padding: 10px 4px 4px; color: #909399; font-size: 12px; }

.ops-mask {
  position: absolute; inset: 0; background: rgba(0, 0, 0, .45); z-index: 20;
}
.ops-dialog {
  position: absolute; left: 50%; top: 48%; transform: translate(-50%, -50%);
  width: min(480px, calc(100% - 48px)); max-height: calc(100% - 64px);
  background: #fff; border-radius: 4px; z-index: 21; display: flex; flex-direction: column;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .18);
}
.ops-dialog.wide { width: min(560px, calc(100% - 48px)); }
.ops-dialog.wide.detail-like {
  width: min(720px, calc(100% - 48px));
  max-height: calc(100% - 48px);
}
.ops-desk.admin { position: relative; }
.ops-note { margin: 0; color: #606266; font-size: 13px; line-height: 1.55; }
.ops-dialog-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 16px; border-bottom: 1px solid #ebeef5; flex: none;
}
.ops-dialog-head b { font-size: 16px; color: #303133; }
.ops-x {
  border: 0; background: transparent; font-size: 22px; line-height: 1; color: #909399; padding: 0 4px;
}
.ops-dialog-body { padding: 12px 16px; overflow: auto; }
.ops-dialog-body.agent-like {
  background: #f5f6f8;
  padding: 12px 14px 16px;
  flex: 1;
  min-height: 0;
}
.ops-dialog-body.agent-like .status-card,
.ops-dialog-body.agent-like .card {
  margin-left: 0;
  margin-right: 0;
}
.ops-dialog-body.agent-like .status-card { margin-top: 0; }
.ops-dialog-body.agent-like .card .kv { font-size: 13px; }
.ops-dialog-body.agent-like .house.compact {
  background: #fafafa;
  border-radius: 10px;
  padding: 8px;
}
.ops-dialog-foot {
  display: flex; justify-content: flex-end; gap: 8px;
  padding: 12px 16px; border-top: 1px solid #ebeef5; flex: none; background: #fff;
}
.ops-card {
  padding: 10px 12px; background: #f5f7fa; border-radius: 4px; margin-bottom: 12px;
}
.ops-kv {
  display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: 13px;
}
.ops-kv span { color: #909399; flex: none; }
.ops-kv b { text-align: right; font-weight: 650; color: #303133; }
.ops-house-cell { min-width: 160px; white-space: normal; line-height: 1.4; }
.ops-house-cell b { display: inline; font-size: 13px; color: #303133; font-weight: 650; }
.ops-house-cell.multi .ops-tag { vertical-align: middle; }
.ops-house-more {
  margin: 4px 0 0;
  color: #909399;
  font-size: 12px;
  white-space: normal;
  max-width: 260px;
}
.ops-table.dense td.ops-col-house,
.ops-table.dense td.ops-col-building {
  white-space: normal;
  vertical-align: top;
}
.ops-agent-list { display: grid; gap: 8px; max-height: 280px; overflow: auto; }
.ops-agent {
  text-align: left; border: 1px solid #dcdfe6; background: #fff; border-radius: 4px; padding: 10px 12px;
}
.ops-agent.on { border-color: #409eff; background: #ecf5ff; }
.ops-agent.off { opacity: .55; }
.ops-agent-top { display: flex; align-items: center; gap: 6px; }
.ops-agent-top b { font-size: 14px; color: #303133; }
.ops-agent-top .online, .ops-agent-top .offline { margin-left: auto; font-size: 11px; font-weight: 700; }
.ops-agent-top .online { color: #67c23a; }
.ops-agent-top .offline { color: #909399; }
.ops-agent p { margin: 6px 0 0; color: #909399; font-size: 12px; }
.toast.desk-toast {
  position: absolute; left: 50%; top: 24px; transform: translateX(-50%);
  max-width: 320px; z-index: 30;
}

@media (max-width: 1280px) {
  .ops-filter { grid-template-columns: repeat(2, minmax(160px, 1fr)); }
  .ops-filter-actions { grid-column: 1 / -1; }
  .ops-dispatch { grid-template-columns: 1fr; }
}
