:root {
  --ink: #182126;
  --muted: #6f7b80;
  --line: #e6eaeb;
  --soft: #f6f8f8;
  --paper: #fff;
  --accent: #e5783b;
  --accent-soft: #fff1e9;
  --teal: #238c83;
  --teal-soft: #e7f5f2;
  --yellow: #c88b22;
  --yellow-soft: #fff6dc;
  --red: #c95555;
  --red-soft: #fff0f0;
  --shadow: 0 8px 24px rgba(25, 39, 42, 0.05);
  font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: var(--ink);
  background: #f5f7f7;
}
* {
  box-sizing: border-box;
}
html, body {
  height: 100%;
  overflow: hidden;
}
body {
  margin: 0;
  font-size: 14px;
  background: #f5f7f7;
}
button,
input,
select,
textarea {
  font: inherit;
}
input,
select,
textarea {
  min-width: 0;
  max-width: 100%;
}
button {
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}
.shell {
  min-height: 100vh;
}
.sidebar {
  position: fixed;
  z-index: 20;
  inset: 0 auto 0 0;
  width: 236px;
  height: 100vh;
  overflow-y: auto;
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 24px 14px 18px;
  display: flex;
  flex-direction: column;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 12px 31px;
}
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 19px;
  font-weight: 700;
}
.brand strong {
  display: block;
  font-size: 16px;
  letter-spacing: 0.5px;
}
.brand small {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  color: #9aa4a6;
}
.nav {
  display: grid;
  gap: 5px;
}
.nav-item {
  height: 44px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 13px;
  color: #657175;
  text-align: left;
  transition: 0.2s;
}
.nav-item svg {
  width: 18px;
  height: 18px;
}
.nav-item span {
  flex: 1;
}
.nav-item b {
  font-size: 11px;
  line-height: 19px;
  min-width: 19px;
  text-align: center;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
}
.nav-item:hover {
  background: var(--soft);
  color: var(--ink);
}
.nav-item.active {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
}
.sidebar-foot {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding: 17px 10px 0;
  color: #69767a;
  font-size: 12px;
  display: grid;
  grid-template-columns: 9px 1fr;
  gap: 6px 7px;
  align-items: center;
}
.sidebar-foot small {
  grid-column: 2;
  color: #a0abad;
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34a878;
}
.main {
  min-width: 0;
  width: calc(100vw - 236px);
  height: 100vh;
  margin-left: 236px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.topbar {
  flex: 0 0 69px;
  height: 69px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 0 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.crumb {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #899497;
}
.crumb svg {
  width: 14px;
}
.crumb strong {
  color: var(--ink);
  font-weight: 600;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}
.icon-fallback { display: inline-grid; place-items: center; font-style: normal; font-weight: 700; line-height: 1; }
.global-search-form { width: min(360px, 31vw); height: 38px; display: flex; align-items: center; gap: 9px; margin-left: auto; margin-right: 26px; padding: 0 6px 0 12px; border: 1px solid #dfe5e4; border-radius: 7px; background: #f8faf9; color: #7c898b; }
.global-search-form:focus-within { border-color: #83b9b0; background: #fff; box-shadow: 0 0 0 3px rgba(42,142,129,.08); }
.global-search-form > svg { flex: 0 0 16px; width: 16px; }
.global-search-form input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: var(--ink); font: inherit; font-size: 12px; }
.global-search-form button { width: 28px; height: 28px; display: grid; place-items: center; border: 0; border-radius: 5px; background: #e4f1ee; color: var(--accent); cursor: pointer; }
.global-search-form button svg { width: 15px; }
.env-tag {
  font-size: 12px;
  color: #9a681f;
  background: var(--yellow-soft);
  padding: 6px 10px;
  border-radius: 5px;
}
.env-tag span {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #d69a2e;
  border-radius: 50%;
  margin-right: 6px;
}
.icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  color: #718084;
  position: relative;
}
.icon-btn:hover {
  background: var(--soft);
}
.icon-btn svg {
  width: 18px;
}
.icon-btn em {
  position: absolute;
  right: 0;
  top: -1px;
  background: var(--red);
  color: #fff;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  font-size: 9px;
  font-style: normal;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
}
.operator {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-left: 3px;
}
.operator .avatar {
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: #dcefeb;
  color: #28776d;
  display: grid;
  place-items: center;
  font-weight: 700;
}
.operator strong,
.operator small {
  display: block;
}
.operator strong {
  font-size: 13px;
  font-weight: 600;
}
.operator small {
  font-size: 10px;
  color: #8b989b;
  margin-top: 2px;
}
.operator > svg {
  width: 14px;
  color: #a0abad;
}
.content {
  flex: 1;
  width: 100%;
  min-height: 0;
  padding: 30px 34px 42px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}
.global-search-panel { overflow: hidden; }
.global-search-page-form { display: grid; grid-template-columns: minmax(260px, 1fr) 180px auto; gap: 12px; padding: 18px; border-bottom: 1px solid var(--line); }
.global-search-page-form .search { width: 100%; }
.global-search-summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 13px 18px; background: #f8faf9; color: #667477; font-size: 12px; }
.global-search-summary small { color: #94a0a2; }
.search-target { scroll-margin-block: 96px; animation: search-target-pulse 2.6s ease; }
@keyframes search-target-pulse { 0%, 100% { box-shadow: none; } 18%, 72% { box-shadow: inset 0 0 0 2px #2a8e81, 0 0 0 3px rgba(42, 142, 129, .12); background-color: #eef8f5; } }
.global-result-list { min-height: 240px; }
.global-result { width: 100%; display: grid; grid-template-columns: 94px minmax(0, 1fr) 20px; align-items: center; gap: 16px; padding: 17px 18px; border: 0; border-bottom: 1px solid var(--line); background: #fff; color: inherit; text-align: left; cursor: pointer; }
.global-result:hover { background: #f8fbfa; }
.global-result-type { display: inline-flex; align-items: center; justify-content: center; min-height: 30px; padding: 5px 8px; border-radius: 6px; background: #e5f2ef; color: #287d73; font-size: 11px; }
.global-result-main, .global-result-main small, .global-result-main span, .global-result-main i { min-width: 0; display: block; }
.global-result-title { display: flex !important; align-items: center; gap: 10px; }
.global-result-title strong { overflow: hidden; color: var(--ink); font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.global-result-title em { flex: 0 0 auto; color: #d66c38; font-size: 11px; font-style: normal; font-weight: 500; }
.global-result-main small { margin-top: 5px; overflow: hidden; color: #667477; text-overflow: ellipsis; white-space: nowrap; }
.global-result-main > span:not(.global-result-title) { margin-top: 4px; overflow: hidden; color: #899497; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.global-result-main i { margin-top: 6px; color: #a0abad; font-size: 10px; font-style: normal; }
.global-result > svg { color: #a5afb1; }
@media (max-width: 1100px) { .global-search-form { width: 230px; margin-right: 14px; } }
@media (max-width: 700px) { .global-search-form { width: 42px; padding: 0; justify-content: center; } .global-search-form input, .global-search-form button { display: none; } .global-search-page-form { grid-template-columns: 1fr; } .global-search-summary { align-items: flex-start; flex-direction: column; gap: 4px; } .global-result { grid-template-columns: 76px minmax(0, 1fr) 16px; gap: 10px; } }
.page-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}
.page-head > div {
  min-width: 0;
}
.eyebrow {
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 7px;
}
.page-head h1 {
  font-size: 24px;
  margin: 0 0 7px;
  letter-spacing: -0.2px;
}
.page-head p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.outline-btn,
.primary-btn {
  height: 36px;
  border-radius: 6px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  font-size: 13px;
}
.outline-btn {
  border: 1px solid #d9e0e1;
  background: #fff;
  color: #536064;
}
.outline-btn:hover {
  border-color: #becacc;
  background: var(--soft);
}
.primary-btn {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 6px #e5783b35;
}
.primary-btn:hover {
  background: #d8672d;
}
.primary-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.outline-btn svg,
.primary-btn svg {
  width: 16px;
}
.kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}
.kpi {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 17px 18px;
  box-shadow: var(--shadow);
  min-height: 110px;
}
.kpi-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #7d898c;
  font-size: 12px;
}
.kpi-icon {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  display: grid;
  place-items: center;
}
.kpi-icon svg {
  width: 16px;
}
.kpi-icon.orange {
  background: var(--accent-soft);
  color: var(--accent);
}
.kpi-icon.teal {
  background: var(--teal-soft);
  color: var(--teal);
}
.kpi-icon.yellow {
  background: var(--yellow-soft);
  color: var(--yellow);
}
.kpi-icon.red {
  background: var(--red-soft);
  color: var(--red);
}
.kpi-value {
  font-family: "DM Sans", sans-serif;
  font-size: 28px;
  line-height: 1;
  margin-top: 13px;
  font-weight: 700;
}
.kpi-foot {
  font-size: 11px;
  color: #9aa5a7;
  margin-top: 7px;
}
.kpi-foot .up {
  color: var(--teal);
  font-weight: 600;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.toolbar {
  padding: 15px 17px;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.search {
  height: 36px;
  border: 1px solid #dfe5e6;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  color: #97a2a5;
  min-width: 235px;
  max-width: 100%;
}
.search:focus-within {
  border-color: #e6a17b;
  box-shadow: 0 0 0 3px #e5783b12;
}
.search input {
  border: 0;
  outline: 0;
  min-width: 0;
  width: 100%;
  color: var(--ink);
  background: transparent;
}
.search svg {
  width: 16px;
}
.select {
  height: 36px;
  border: 1px solid #dfe5e6;
  border-radius: 6px;
  padding: 0 10px;
  color: #59666a;
  background: #fff;
  min-width: 116px;
  outline: 0;
}
.toolbar-spacer {
  flex: 1;
}
.table-wrap {
  overflow: auto;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 800px;
}
.data-table th {
  text-align: left;
  color: #8a9698;
  font-size: 11px;
  font-weight: 500;
  background: #fbfcfc;
  padding: 12px 17px;
  white-space: nowrap;
}
.data-table td {
  padding: 14px 17px;
  border-top: 1px solid #f0f2f2;
  vertical-align: middle;
  white-space: nowrap;
}
.data-table tr:hover td {
  background: #fcfdfd;
}
.order-no {
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  font-size: 12px;
}
.service-name {
  font-weight: 500;
}
.subline {
  font-size: 11px;
  color: #98a2a4;
  margin-top: 3px;
}
.money {
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
}
.status:before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.status.pending {
  color: #bf7d19;
  background: #fff6de;
}
.status.active {
  color: #2b8d80;
  background: #e7f5f2;
}
.status.done {
  color: #687579;
  background: #f0f3f3;
}
.status.danger {
  color: #bd5656;
  background: #fff0f0;
}
.row-actions {
  display: flex;
  gap: 4px;
}
.text-btn {
  padding: 5px 7px;
  border-radius: 4px;
  color: #69767a;
  font-size: 12px;
}
.text-btn:hover {
  background: var(--soft);
  color: var(--accent);
}
.text-btn.accent {
  color: var(--accent);
  font-weight: 600;
}
.empty {
  padding: 45px 20px;
  text-align: center;
  color: #8b9799;
}
.empty svg {
  width: 30px;
  height: 30px;
  color: #c5ced0;
  margin-bottom: 8px;
}
.drawer {
  position: fixed;
  inset: 0;
  background: #17232655;
  z-index: 5;
  display: flex;
  justify-content: flex-end;
}
.drawer-card {
  height: 100%;
  width: min(570px, 100%);
  background: #fff;
  overflow: auto;
  box-shadow: -10px 0 30px #1423261c;
}
.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 21px 24px;
  border-bottom: 1px solid var(--line);
}
.drawer-head h2 {
  font-size: 17px;
  margin: 0;
}
.drawer-body {
  padding: 23px 24px;
}
.detail-id {
  font-family: "DM Sans", sans-serif;
  color: #7b888b;
  font-size: 12px;
}
.detail-title {
  font-size: 22px;
  margin: 8px 0 16px;
}
.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin: 17px 0 22px;
}
.detail-cell {
  background: #fff;
  padding: 12px 14px;
}
.detail-cell label {
  display: block;
  color: #9aa5a7;
  font-size: 11px;
  margin-bottom: 5px;
}
.detail-cell strong {
  font-size: 13px;
  font-weight: 500;
}
.section-title {
  font-size: 13px;
  font-weight: 700;
  margin: 23px 0 11px;
}
.timeline {
  border-left: 2px solid #e9eeee;
  margin-left: 7px;
  padding-left: 17px;
  display: grid;
  gap: 17px;
}
.timeline-item {
  position: relative;
}
.timeline-item:before {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #b9c4c5;
  left: -22px;
  top: 4px;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #cfd7d8;
}
.timeline-item.current:before {
  background: var(--accent);
  box-shadow: 0 0 0 1px #e9a47f;
}
.timeline-item strong {
  font-size: 12px;
}
.timeline-item small {
  display: block;
  color: #98a3a5;
  font-size: 11px;
  margin-top: 3px;
}
.drawer-actions {
  display: flex;
  gap: 9px;
  margin-top: 24px;
}
.modal {
  width: min(440px, calc(100vw - 30px));
  max-height: calc(100vh - 30px);
  max-height: calc(100dvh - 30px);
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 9px;
  box-shadow: 0 16px 40px #1624262b;
}
.modal-layer {
  position: fixed;
  inset: 0;
  background: #17232655;
  display: grid;
  place-items: center;
  z-index: 10;
}
.modal-head {
  padding: 19px 21px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
}
.modal-head h3 {
  font-size: 16px;
  margin: 0;
}
.modal-body {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 20px 21px;
}
.modal-head,
.modal-foot {
  flex-shrink: 0;
}
.support-audit-modal {
  width: min(720px, calc(100vw - 30px));
  max-height: calc(100vh - 30px);
  display: flex;
  flex-direction: column;
}
.support-audit-modal .modal-body {
  min-height: 0;
  display: flex;
  flex: 1;
  flex-direction: column;
  overflow: hidden;
}
.support-audit-modal .chat-audit-list {
  min-height: 0;
  overflow: auto;
}
.field {
  display: grid;
  min-width: 0;
  gap: 7px;
  margin-bottom: 14px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
}
.field label {
  font-size: 12px;
  color: #667377;
}
.field select,
.field input {
  height: 38px;
  border: 1px solid #dfe5e6;
  border-radius: 5px;
  padding: 0 10px;
  outline: 0;
  background: #fff;
}
.field select:focus,
.field input:focus {
  border-color: #e6a17b;
  box-shadow: 0 0 0 3px #e5783b12;
}
.modal-foot {
  padding: 14px 21px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: flex-end;
  gap: 9px;
}
.mobile-menu {
  display: none;
}
.stack {
  display: grid;
  gap: 14px;
}
.provider-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.provider-card {
  padding: 18px;
}
.provider-head {
  display: flex;
  align-items: center;
  gap: 11px;
}
.provider-avatar {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #e9f1ef;
  color: #287b71;
  display: grid;
  place-items: center;
  font-weight: 700;
}
.provider-head strong {
  display: block;
}
.provider-head small {
  display: block;
  color: #98a3a5;
  font-size: 11px;
  margin-top: 3px;
}
.provider-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 17px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: #7c888b;
  font-size: 12px;
}
.community-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 15px;
}
.info-list {
  display: grid;
  gap: 0;
}
.community-notice {
  align-self: start;
  padding: 18px;
}
.community-notice .section-title {
  margin: 0 0 12px;
}
.info-row {
  display: flex;
  justify-content: space-between;
  padding: 15px 18px;
  border-bottom: 1px solid #eff2f2;
}
.info-row:last-child {
  border-bottom: 0;
}
.info-row span {
  color: #8a9698;
}
.info-row strong {
  font-weight: 500;
}
.call-link {
  color: var(--accent);
}
.note {
  font-size: 12px;
  color: #879396;
  background: #fbfcfc;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 14px;
  line-height: 1.7;
}
@media (max-width: 900px) {
  .sidebar {
    position: fixed;
    z-index: 20;
    left: -250px;
    top: 0;
    bottom: 0;
    transition: left 0.2s;
  }
  .sidebar.open {
    left: 0;
  }
  .main { width: 100%; margin-left: 0; }
  .mobile-menu {
    display: grid;
  }
  .topbar {
    padding: 0 16px;
  }
  .top-actions {
    gap: 8px;
  }
  .operator span:not(.avatar),
  .operator > svg,
  .env-tag {
    display: none;
  }
  .content {
    padding: 22px 16px 35px;
  }
  .kpis {
    grid-template-columns: repeat(2, 1fr);
  }
  .provider-grid,
  .community-layout {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 520px) {
  .crumb span,
  .crumb > svg {
    display: none;
  }
  .page-head {
    display: block;
  }
  .page-head .outline-btn {
    margin-top: 15px;
  }
  .kpis {
    gap: 9px;
  }
  .kpi {
    padding: 13px;
    min-height: 98px;
  }
  .kpi-value {
    font-size: 24px;
  }
  .toolbar {
    padding: 12px;
  }
  .search {
    width: 100%;
    min-width: 0;
  }
  .toolbar-spacer {
    display: none;
  }
  .select {
    flex: 1;
    min-width: 0;
  }
  .data-table td,
  .data-table th {
    padding-left: 12px;
    padding-right: 12px;
  }
  .drawer-body,
  .drawer-head {
    padding-left: 18px;
    padding-right: 18px;
  }
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 12px);
  background: #1f2b2e;
  color: #fff;
  border-radius: 6px;
  padding: 10px 15px;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
  z-index: 20;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.toast.error {
  background: #b84e4e;
}
.modal-layer[hidden] {
  display: none !important;
}
code {
  font-family: "DM Sans", monospace;
  font-size: 11px;
  background: #f1f3f3;
  padding: 2px 4px;
  border-radius: 3px;
}
.action-select {
  height: 30px;
  width: 120px;
  min-width: 120px;
  border: 1px solid #dfe5e6;
  border-radius: 5px;
  padding: 0 8px;
  color: #59666a;
  background: #fff;
  outline: 0;
  font-size: 12px;
}
.action-select:focus {
  border-color: #e6a17b;
  box-shadow: 0 0 0 3px #e5783b12;
}
.notification-popover {
  position: fixed;
  right: 88px;
  top: 57px;
  width: 285px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(25, 39, 42, 0.14);
  z-index: 9;
  padding: 0 13px;
}
.notification-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 4px 10px;
  border-bottom: 1px solid var(--line);
}
.notification-head strong {
  font-size: 13px;
}
.notification-head .text-btn {
  font-size: 11px;
  color: var(--teal);
}
.notification-item {
  width: 100%;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  text-align: left;
  padding: 13px 4px;
  border-bottom: 1px solid #f0f2f2;
}
.notification-item:last-child {
  border-bottom: 0;
}
.notification-item:hover {
  background: #fbfcfc;
}
.notification-item strong,
.notification-item small {
  display: block;
}
.notification-item strong {
  font-size: 12px;
}
.notification-item small {
  font-size: 10px;
  color: #9aa5a7;
  margin-top: 4px;
}
.notification-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-top: 4px;
  flex-shrink: 0;
}
.notification-dot.orange {
  background: var(--accent);
}
.notification-dot.red {
  background: var(--red);
}
.kpi-clickable {
  text-align: left;
  border: 1px solid var(--line);
  font: inherit;
  color: inherit;
  width: 100%;
  transition: 0.2s;
}
.kpi-clickable:hover {
  border-color: #efb08d;
  box-shadow: 0 8px 24px rgba(229, 120, 59, 0.12);
  transform: translateY(-1px);
}
.exception-badge {
  display: inline-flex;
  align-items: center;
  margin-left: 5px;
  padding: 2px 5px;
  border-radius: 3px;
  background: var(--red-soft);
  color: var(--red);
  font-size: 10px;
  font-family: "Noto Sans SC", sans-serif;
  font-weight: 500;
  vertical-align: 1px;
}
.exception-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: -3px 0 22px;
}
.exception-summary > div {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow);
}
.exception-summary span {
  font-size: 12px;
  color: #7d898c;
}
.exception-summary strong {
  font-family: "DM Sans", sans-serif;
  font-size: 22px;
}
.exception-list {
  padding: 0 17px;
}
.exception-row {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 90px 125px 100px 18px;
  gap: 14px;
  align-items: center;
  text-align: left;
  padding: 16px 0;
  border-bottom: 1px solid #f0f2f2;
}
.exception-row:last-child {
  border-bottom: 0;
}
.exception-row:hover {
  background: #fcfdfd;
}
.exception-row-main > span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.exception-row-main strong {
  font-size: 13px;
}
.exception-row-main small {
  display: block;
  color: #8c989b;
  font-size: 11px;
  margin-top: 6px;
  white-space: normal;
  line-height: 1.5;
}
.exception-row svg {
  width: 16px;
  color: #9ca7a9;
}
.severity {
  display: inline-flex;
  align-items: center;
  border-radius: 4px;
  padding: 4px 6px;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}
.severity.high {
  color: #bd5656;
  background: #fff0f0;
}
.severity.medium {
  color: #bf7d19;
  background: #fff6de;
}
.severity.low {
  color: #2b8d80;
  background: #e7f5f2;
}
.exception-due,
.exception-assignee {
  font-size: 10px;
  color: #9aa5a7;
  line-height: 1.7;
}
.exception-due strong,
.exception-assignee strong {
  display: block;
  color: #59666a;
  font-size: 11px;
  font-weight: 500;
}
.exception-detail {
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  border-radius: 6px;
  padding: 16px 17px;
  margin: 4px 0 22px;
  background: #fffafa;
}
.exception-detail.medium {
  border-left-color: var(--yellow);
  background: #fffdf7;
}
.exception-detail.low {
  border-left-color: var(--teal);
  background: #f8fcfb;
}
.exception-detail-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.exception-detail-head h3 {
  font-size: 15px;
  margin: 4px 0 0;
}
.section-kicker {
  font-size: 10px;
  color: var(--red);
  font-weight: 600;
}
.exception-detail.medium .section-kicker {
  color: var(--yellow);
}
.exception-detail p {
  font-size: 12px;
  color: #687579;
  line-height: 1.7;
  margin: 12px 0;
}
.exception-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  border-top: 1px solid #f0e5e5;
  border-bottom: 1px solid #f0e5e5;
  padding: 10px 0;
}
.exception-meta span {
  font-size: 10px;
  color: #9aa5a7;
}
.exception-meta strong {
  display: block;
  color: #59666a;
  font-size: 11px;
  margin-top: 3px;
  font-weight: 500;
}
.exception-timeline {
  display: grid;
  gap: 9px;
  padding: 13px 0 0;
}
.exception-timeline > div {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.exception-timeline i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  margin-top: 4px;
  flex-shrink: 0;
}
.exception-timeline span {
  display: flex;
  gap: 8px;
  align-items: baseline;
}
.exception-timeline strong {
  font-size: 11px;
  font-weight: 500;
}
.exception-timeline small {
  font-size: 10px;
  color: #9aa5a7;
}
.exception-resolution {
  margin-top: 12px;
  padding: 10px 12px;
  background: #f4faf8;
  border: 1px solid #dcefe9;
  border-radius: 5px;
}
.exception-resolution label {
  font-size: 10px;
  color: var(--teal);
}
.exception-resolution p {
  margin: 4px 0 0;
  font-size: 11px;
  color: #54716d;
}
.exception-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}
.exception-empty {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 14px;
  border: 1px dashed var(--line);
  border-radius: 6px;
  color: #8b9799;
  margin: 4px 0 22px;
}
.exception-empty svg {
  width: 18px;
  color: var(--teal);
}
.exception-empty strong,
.exception-empty small {
  display: block;
}
.exception-empty strong {
  font-size: 12px;
  color: #69767a;
}
.exception-empty small {
  font-size: 10px;
  margin-top: 3px;
}
textarea {
  font: inherit;
  resize: vertical;
  min-height: 92px;
  border: 1px solid #dfe5e6;
  border-radius: 5px;
  padding: 9px 10px;
  outline: 0;
}
textarea:focus {
  border-color: #e6a17b;
  box-shadow: 0 0 0 3px #e5783b12;
}
.field small {
  color: #8a9698;
  font-size: 11px;
}
.field input[type="file"] {
  height: auto;
  padding: 8px 10px;
}

.community-modal {
  width: min(560px, calc(100vw - 30px));
  max-height: calc(100vh - 30px);
  overflow: auto;
}

.community-identity {
  display: grid;
  gap: 3px;
  margin-bottom: 16px;
}

.community-identity span,
.community-identity small {
  color: var(--muted);
  font-size: 11px;
}

.community-phone-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 560px) {
  .community-phone-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.catalog-table {
  min-width: 920px;
}

.catalog-table th,
.catalog-table td {
  padding-left: 10px;
  padding-right: 10px;
}

.catalog-table th:last-child,
.catalog-table td:last-child {
  position: sticky;
  right: 0;
}

.catalog-table th:last-child {
  z-index: 2;
  background: #fbfcfc;
}

.catalog-table td:last-child {
  z-index: 1;
  background: #fff;
  box-shadow: -8px 0 12px -12px rgb(31 43 46 / 45%);
}

.catalog-table tr:hover td:last-child {
  background: #fcfdfd;
}

.catalog-select {
  width: 116px;
}

.catalog-price {
  width: 112px;
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
  color: var(--text);
  background: #fff;
}

.catalog-price:disabled {
  color: var(--muted);
  background: #f4f6f5;
}
.evidence-list {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 0 2px;
}
.evidence-thumb {
  width: 96px;
  height: 72px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 5px;
  object-fit: cover;
}
.evidence-file {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #687579;
  font-size: 11px;
}
.history-list {
  display: grid;
  gap: 8px;
}
.history-list > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 5px;
}
.history-list strong {
  font-size: 12px;
}
.history-list small {
  color: #8a9698;
  font-size: 10px;
  text-align: right;
}
@media (max-width: 700px) {
  .exception-summary {
    grid-template-columns: 1fr;
  }
  .exception-row {
    grid-template-columns: 1fr auto;
    gap: 8px;
  }
  .exception-row-main {
    grid-column: 1/-1;
  }
  .exception-due,
  .exception-assignee {
    display: none;
  }
  .exception-row > svg {
    grid-column: 2;
    grid-row: 2;
  }
  .exception-detail-head {
    display: block;
  }
  .exception-detail-head > div:last-child {
    margin-top: 10px;
  }
  .exception-meta {
    grid-template-columns: 1fr 1fr;
  }
  .exception-meta span:last-child {
    grid-column: 1/-1;
  }
}

.resident-config-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 16px;
  align-items: start;
}
.config-sync-bar {
  position: sticky;
  top: 12px;
  z-index: 20;
  min-height: 64px;
  margin-bottom: 16px;
  padding: 10px 12px 10px 17px;
  border: 1px solid #dfe6e4;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 8px 24px rgba(25, 39, 42, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  backdrop-filter: blur(8px);
}
.config-sync-bar.is-dirty {
  border-color: #e8b08e;
}
.config-sync-state {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.config-sync-state strong,
.config-sync-state small {
  display: block;
}
.config-sync-state strong {
  font-size: 13px;
}
.config-sync-state small {
  margin-top: 3px;
  color: #839094;
  font-size: 11px;
}
.config-sync-dot {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-radius: 50%;
  background: #2c9a74;
}
.config-sync-bar.is-dirty .config-sync-dot {
  background: var(--accent);
}
.resident-config-main,
.resident-config-side {
  display: grid;
  gap: 16px;
}
.config-panel {
  overflow: hidden;
}
.panel-head {
  min-height: 64px;
  padding: 14px 17px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.panel-head h2 {
  margin: 0;
  font-size: 14px;
}
.panel-head small {
  display: block;
  margin-top: 4px;
  color: #8c989b;
  font-size: 11px;
}
.banner-panel-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  white-space: nowrap;
}
.banner-config-list,
.quick-config-list,
.notice-config-list {
  display: grid;
}
.banner-config-list {
  gap: 12px;
  padding: 14px 17px 17px;
  background: #f7f9f8;
}
.banner-config-row {
  overflow: hidden;
  border: 1px solid #e1e6e5;
  border-radius: 7px;
  background: #fff;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}
.banner-config-row.is-new {
  border-color: #e5783b;
  box-shadow: 0 0 0 3px #e5783b1c;
}
.banner-config-toolbar {
  min-height: 45px;
  padding: 6px 12px 6px 14px;
  border-bottom: 1px solid #edf0ef;
  background: #fbfcfc;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.banner-config-toolbar > strong {
  color: #354247;
  font-size: 12px;
}
.banner-config-body {
  display: grid;
  grid-template-columns: 148px minmax(250px, 1fr);
  gap: 14px;
  align-items: start;
  padding: 14px;
}
.banner-config-media-column {
  display: grid;
  gap: 8px;
}
.quick-config-row:last-child,
.notice-config-row:last-child {
  border-bottom: 0;
}
.banner-config-media {
  width: 148px;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  background: var(--soft);
  overflow: hidden;
}
.banner-config-preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.banner-config-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 6px;
  color: #879396;
  font-size: 10px;
}
.banner-config-placeholder[hidden],
.banner-config-preview[hidden] {
  display: none;
}
.banner-config-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}
.banner-config-fields label {
  display: grid;
  gap: 5px;
  color: #7a8689;
  font-size: 10px;
}
.banner-config-fields label.wide {
  grid-column: 1 / -1;
}
.banner-config-fields input {
  width: 100%;
  height: 34px;
  padding: 0 9px;
  border: 1px solid #dfe5e6;
  border-radius: 5px;
  outline: 0;
}
.banner-config-fields input:focus {
  border-color: #e6a17b;
  box-shadow: 0 0 0 3px #e5783b12;
}
.banner-config-actions {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  align-items: center;
}
.danger-icon {
  color: #c34f43;
}
.icon-btn:disabled,
.outline-btn:disabled {
  cursor: not-allowed;
  opacity: 0.35;
}
#supportAssignment[hidden] {
  display: none !important;
}
.banner-config-fields input.invalid {
  border-color: #c34f43;
  box-shadow: 0 0 0 3px #c34f4314;
}
.banner-upload-btn {
  width: 100%;
  justify-content: center;
}
.check-line {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #59666a;
  font-size: 11px;
  white-space: nowrap;
}
.compact {
  min-height: 32px;
  padding: 0 10px;
  font-size: 11px;
}
.quick-config-row {
  min-height: 58px;
  display: grid;
  grid-template-columns: 100px minmax(130px, 1fr) 60px 34px 34px;
  gap: 8px;
  align-items: center;
  padding: 10px 17px;
  border-bottom: 1px solid #f0f2f2;
}
.quick-config-row strong {
  font-size: 12px;
}
.quick-config-row > span {
  color: #8c989b;
  font-size: 11px;
}
.contact-config .info-list {
  padding: 4px 17px;
}
.full-btn {
  width: calc(100% - 34px);
  margin: 12px 17px 17px;
  justify-content: center;
}
.notice-config {
  margin-top: 16px;
}
.notice-config-row {
  min-height: 94px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 14px 17px;
  border-bottom: 1px solid #f0f2f2;
}
.notice-config-row strong {
  margin-left: 8px;
  font-size: 13px;
}
.notice-config-row p {
  margin: 7px 0 4px;
  color: #667377;
  font-size: 11px;
  line-height: 1.6;
}
.notice-config-row small {
  color: #9aa5a7;
  font-size: 10px;
}
.notice-label {
  display: inline-flex;
  padding: 3px 6px;
  border-radius: 4px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 10px;
}
.notice-config-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
@media (max-width: 1100px) {
  .resident-config-grid {
    grid-template-columns: 1fr;
  }
  .resident-config-side {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .config-sync-bar {
    top: 8px;
    align-items: stretch;
    flex-direction: column;
    padding: 12px;
  }
  .config-sync-bar .primary-btn {
    width: 100%;
    justify-content: center;
  }
  .banner-panel-actions {
    align-items: flex-end;
    flex-direction: column;
    gap: 6px;
  }
  .banner-config-list {
    padding: 10px;
  }
  .banner-config-toolbar {
    align-items: flex-start;
    flex-direction: column;
    padding: 10px 12px;
  }
  .banner-config-actions {
    width: 100%;
    justify-content: flex-start;
  }
  .banner-config-body {
    grid-template-columns: 1fr;
    padding: 12px;
  }
  .banner-config-media {
    width: 100%;
    max-width: none;
  }
  .banner-config-fields {
    grid-template-columns: 1fr;
  }
  .banner-config-fields label.wide {
    grid-column: auto;
  }
  .quick-config-row {
    grid-template-columns: 1fr auto auto auto;
  }
  .quick-config-row > span {
    grid-column: 1 / -1;
    grid-row: 2;
  }
  .notice-config-row {
    grid-template-columns: 1fr;
  }
  .notice-config-actions {
    justify-content: flex-start;
  }
}
.completion-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 6px;
  border-radius: 4px;
  background: #fff1e9;
  color: #d06b31;
  font-size: 10px;
  font-weight: 600;
  vertical-align: middle;
}
.completion-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: -3px 0 22px;
}
.completion-summary > div {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow);
}
.completion-summary span {
  font-size: 12px;
  color: #7d898c;
}
.completion-summary strong {
  font-family: "DM Sans", sans-serif;
  font-size: 22px;
}
.completion-list {
  padding: 0 17px;
}
.completion-row {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 145px 145px 18px;
  gap: 14px;
  align-items: center;
  text-align: left;
  padding: 16px 0;
  border-bottom: 1px solid #f0f2f2;
}
.completion-row:last-child {
  border-bottom: 0;
}
.completion-row:hover {
  background: #fcfdfd;
}
.completion-row-main > span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.completion-row-main strong {
  font-size: 13px;
}
.completion-row-main small {
  display: block;
  color: #8c989b;
  font-size: 11px;
  margin-top: 6px;
  white-space: normal;
  line-height: 1.5;
}
.completion-row svg {
  width: 16px;
  color: #9ca7a9;
}
.completion-evidence {
  font-size: 10px;
  color: #9aa5a7;
  line-height: 1.7;
}
.completion-evidence strong {
  display: block;
  color: #59666a;
  font-size: 11px;
  font-weight: 500;
}
.completion-detail {
  border: 1px solid #dcefe9;
  border-left: 3px solid var(--teal);
  border-radius: 6px;
  padding: 16px 17px;
  margin: 4px 0 22px;
  background: #f8fcfb;
}
.completion-detail.rework {
  border-left-color: var(--red);
  background: #fffafa;
}
.completion-detail-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.completion-detail-head h3 {
  font-size: 15px;
  margin: 4px 0 0;
}
.completion-detail .section-kicker {
  font-size: 10px;
  color: var(--teal);
  font-weight: 600;
}
.completion-detail p {
  font-size: 12px;
  color: #687579;
  line-height: 1.7;
  margin: 8px 0;
}
.completion-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  border-top: 1px solid #dcefe9;
  border-bottom: 1px solid #dcefe9;
  padding: 12px 0;
}
.completion-grid > div {
  display: grid;
  gap: 4px;
}
.completion-grid label,
.completion-note label {
  font-size: 10px;
  color: #899698;
}
.completion-grid strong {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
}
.completion-grid small {
  font-size: 10px;
  color: #9aa5a7;
}
.completion-note {
  margin-top: 11px;
  padding: 9px 11px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 5px;
}
.completion-actions {
  display: flex;
  gap: 8px;
  margin-top: 13px;
}
.completion-empty {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 14px;
  border: 1px dashed var(--line);
  border-radius: 6px;
  color: #8b9799;
  margin: 4px 0 22px;
}
.completion-empty svg {
  width: 18px;
  color: var(--teal);
}
.completion-empty strong,
.completion-empty small {
  display: block;
}
.completion-empty strong {
  font-size: 12px;
  color: #69767a;
}
.completion-empty small {
  font-size: 10px;
  margin-top: 3px;
}
@media (max-width: 700px) {
  .completion-summary {
    grid-template-columns: 1fr;
  }
  .completion-row {
    grid-template-columns: 1fr auto;
    gap: 8px;
  }
  .completion-row-main {
    grid-column: 1/-1;
  }
  .completion-evidence {
    display: none;
  }
  .completion-row > svg {
    grid-column: 2;
    grid-row: 2;
  }
  .completion-detail-head {
    display: block;
  }
  .completion-detail-head > div:last-child {
    margin-top: 10px;
  }
  .completion-grid {
    grid-template-columns: 1fr;
  }
  .completion-actions {
    flex-wrap: wrap;
  }
}

.page-actions { display: flex; gap: 10px; align-items: center; }
.provider-edit { margin-left: auto; }
.provider-types { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.provider-types span { padding: 4px 8px; border-radius: 999px; background: #eef7f4; color: #287b71; font-size: 11px; }
.provider-history { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 12px; color: #6f7d80; font-size: 12px; }
.provider-history summary { cursor: pointer; color: #e56f32; }
.provider-history div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid #eff2f2; }
.provider-history span { color: #98a3a5; }
.danger-action { display: inline-flex; align-items: center; gap: 5px; margin-right: auto; color: #c34f43; }
.danger-action:hover { background: #fff0f0; color: #a83f35; }
.service-type-checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.service-type-checks label { display: flex; align-items: center; gap: 7px; min-height: 36px; padding: 0 10px; border: 1px solid #dfe5e6; border-radius: 5px; color: #34464a; }
.service-type-checks input { width: 16px; height: 16px; }

.field-warning { color: #c75b2b; font-size: 11px; line-height: 1.5; }
.login-screen{min-height:100vh;display:grid;place-items:center;padding:32px;background:radial-gradient(circle at 78% 15%,#fff1e8 0,transparent 34%),linear-gradient(135deg,#f7faf9,#eef4f2)}.login-screen[hidden],.shell[hidden]{display:none!important}.login-card{width:min(430px,100%);padding:34px;background:#fff;border:1px solid #e2e8e7;border-radius:16px;box-shadow:0 24px 70px rgba(31,54,51,.12)}.login-brand{display:flex;align-items:center;gap:12px}.login-brand span:last-child,.login-heading span,.login-brand small{display:block}.login-heading{margin:34px 0 25px}.login-heading p{color:#ed7337;font-weight:700;margin:0 0 8px}.login-heading h1{font-size:30px;margin:0 0 10px}.login-heading span,.login-note,.local-login-tip{color:#7c8b8d;font-size:13px}.login-field{display:grid;gap:8px;margin:16px 0;font-size:13px;font-weight:600}.login-field input{height:46px;border:1px solid #dce4e3;border-radius:8px;padding:0 13px;font:inherit}.remember-login{display:flex;gap:8px;align-items:center;color:#667678;font-size:13px}.login-error{min-height:20px;color:#c94f32;font-size:12px}.login-submit{width:100%;height:46px;border:0;border-radius:8px;background:#ef7537;color:white;font-weight:700;cursor:pointer}.login-submit:disabled{opacity:.6}.login-note{display:flex;gap:8px;margin-top:22px;padding:12px;background:#f4f8f7;border-radius:8px;line-height:1.6}.local-login-tip{text-align:center;margin:14px 0 0}.top-actions{position:relative}.operator{border:0;background:transparent;cursor:pointer;font:inherit}.operator-menu{position:absolute;right:0;top:58px;width:220px;background:#fff;border:1px solid #dde5e4;border-radius:9px;box-shadow:0 18px 45px rgba(32,48,46,.16);padding:8px;z-index:80}.operator-menu[hidden]{display:none}.operator-menu-head{padding:10px 11px;border-bottom:1px solid #edf1f0}.operator-menu-head strong,.operator-menu-head small{display:block}.operator-menu-head small{margin-top:4px;color:#8b9799}.operator-menu button{width:100%;border:0;background:none;text-align:left;padding:11px;border-radius:6px;cursor:pointer}.operator-menu button:hover{background:#f5f7f7}.operator-menu button.danger{color:#c5533a}

.help-pricing-panel { margin-top: 18px; }
.help-pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.help-pricing-card { padding: 18px; border: 1px solid var(--line); border-radius: 10px; background: #fbfcfc; }
.help-pricing-card > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.help-pricing-card b { display: block; margin-top: 18px; color: #e36f38; font-size: 22px; }
.help-pricing-card p { min-height: 38px; margin: 8px 0 14px; color: #687579; font-size: 12px; line-height: 1.55; }
.help-price-text { color: #d86430; white-space: nowrap; }
.form-hint { margin: 2px 0 0; color: #7b878a; font-size: 12px; line-height: 1.55; }
.field textarea { width: 100%; box-sizing: border-box; resize: vertical; border: 1px solid #dfe5e6; border-radius: 6px; padding: 10px 12px; color: #273337; font: inherit; }
@media (max-width: 760px) { .help-pricing-grid { grid-template-columns: 1fr; } }


.help-rejection { min-width: 190px; margin-top: 9px; padding: 9px 10px; border-left: 3px solid #e36f38; border-radius: 5px; background: #fff4ed; color: #75452f; }
.help-rejection strong, .help-rejection span, .help-rejection small { display: block; }
.help-rejection strong { font-size: 11px; }
.help-rejection span { margin-top: 4px; font-size: 13px; font-weight: 600; }
.help-rejection small { margin-top: 5px; color: #8a6d5e; line-height: 1.45; }
.quote-rejection-alert { margin-bottom: 16px; padding: 13px 14px; border: 1px solid #f1cdb8; border-radius: 7px; background: #fff4ed; }
.quote-rejection-alert strong { color: #bc582c; font-size: 13px; }
.quote-rejection-alert p { margin: 7px 0 5px; color: #593d30; font-weight: 600; }
.quote-rejection-alert small { color: #816b60; line-height: 1.45; }

.help-stage-select { min-width: 112px; }
.help-stage-select:disabled { cursor: wait; opacity: .65; }
.stage-save-hint { display: inline-block; margin: 5px 8px 5px 0; color: #879295; font-size: 11px; white-space: nowrap; }

.help-address-line { margin-top: 7px; color: #4e676c; font-size: 12px; font-weight: 600; line-height: 1.5; }

.pagination { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 18px; border-top: 1px solid var(--line); color: #7d898c; font-size: 12px; }
.pagination.single { justify-content: flex-end; }
.pagination-actions { display: flex; align-items: center; gap: 6px; }
.pagination-actions i { color: #a0aaac; font-style: normal; }
.page-btn { min-width: 32px; height: 32px; padding: 0 10px; border: 1px solid #dfe5e6; border-radius: 6px; background: #fff; color: #59676b; }
.page-btn:hover:not(:disabled), .page-btn.active { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.page-btn.active { font-weight: 700; }
.page-btn:disabled { cursor: not-allowed; opacity: .45; }
@media (max-width: 640px) { .pagination { align-items: flex-start; flex-direction: column; } }
.chat-workspace{display:grid;grid-template-columns:280px minmax(0,1fr);min-height:580px;overflow:hidden}.chat-sidebar{border-right:1px solid #e5e9e7;padding:16px;min-width:0}.chat-conversation{display:flex;flex-direction:column;gap:8px;text-align:left;width:100%;padding:16px;margin-bottom:8px;border:1px solid #e5e9e7;border-radius:12px;background:#fff;cursor:pointer}.chat-conversation.selected{border-color:#31805b;background:#f0f8f3}.chat-conversation.overdue{border-color:#d97706;background:#fff8eb}.chat-conversation span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-conversation small{color:#62746a}.chat-main{padding:24px;min-width:0}.chat-session-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.chat-session-head h2{margin:0}.chat-history{height:390px;overflow:auto;background:#f7f9f8;border-radius:12px;padding:18px}.chat-message{padding-right:48px;margin:12px 0}.chat-message.mine{padding-right:0;padding-left:48px;text-align:right}.chat-message small{display:block;font-size:12px;color:#65756d;margin:8px 0}.chat-bubble{display:inline-block;max-width:100%;padding:12px 16px;border-radius:12px;background:#fff;white-space:pre-wrap;overflow-wrap:anywhere;text-align:left}.mine .chat-bubble{background:#e0f1e8}.chat-compose-foot,.chat-pages,.chat-account{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-top:14px}.chat-account{padding:14px 0;border-bottom:1px solid #e5e9e7}.chat-main textarea{width:100%;resize:vertical;box-sizing:border-box}@media(max-width:700px){.chat-workspace{grid-template-columns:1fr}.chat-sidebar{border-right:0;border-bottom:1px solid #e5e9e7;max-height:260px;overflow:auto}.chat-main{padding:16px}.chat-history{height:360px}.chat-message{padding-right:18px}.chat-message.mine{padding-left:18px}}
.feature-panel{display:grid;gap:18px}.feature-title{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.feature-title p{color:#667085;margin:0 0 4px}.feature-title h2{margin:0 0 6px}.feature-title span{color:#667085}.feature-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.feature-stats article,.role-grid article,.attendance-box,.feature-list{background:#fff;border:1px solid #eaecf0;border-radius:14px;padding:18px}.feature-stats span{display:block;color:#667085}.feature-stats strong{font-size:28px}.table-wrap{overflow:auto;background:#fff;border:1px solid #eaecf0;border-radius:14px}.table-wrap table{width:100%;border-collapse:collapse}.table-wrap th,.table-wrap td{padding:14px;border-bottom:1px solid #f2f4f7;text-align:left}.attendance-box{display:grid;gap:14px}.photo-uploader{display:grid;justify-items:center;gap:8px;padding:28px;border:2px dashed #98a2b3;border-radius:12px;cursor:pointer}.photo-uploader input{display:none}.photo-uploader svg{width:36px;height:36px}.photo-uploader small{color:#667085}.field{display:grid;gap:8px}.field textarea{min-height:90px;border:1px solid #d0d5dd;border-radius:10px;padding:12px}.feature-list{display:grid;gap:10px}.feature-list article{display:grid;grid-template-columns:120px 1fr auto;gap:12px;padding:12px 0;border-bottom:1px solid #f2f4f7}.role-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.role-grid article div{display:flex;justify-content:space-between}.role-grid p{display:flex;flex-wrap:wrap;gap:6px}.role-grid p span{padding:4px 8px;border-radius:99px;background:#f2f4f7;font-size:12px}@media(max-width:760px){.feature-stats,.role-grid{grid-template-columns:1fr}.feature-list article{grid-template-columns:1fr}}

/* 岗位导航的 hidden 不得被 flex 等布局覆盖；真正授权仍由后端校验。 */
[hidden] { display: none !important; }
