:root {
  color-scheme: light;
  --bg: #f6f7f9;
  --panel: #ffffff;
  --line: #d9dee6;
  --text: #1f2933;
  --muted: #637083;
  --brand: #1f6feb;
  --brand-dark: #1558bc;
  --danger: #b42318;
  --warn-bg: #fff0d5;
  --warn-text: #7a4100;
  --track: #d64545;
  --follow: #227a52;
  --premium: #865f14;
  --build: #176b87;
  --other: #5d6470;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
}

main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 22px;
}

.topbar {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  background: #ffffff;
  color: var(--text);
  border-bottom: 3px solid #c91624;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand img {
  width: 260px;
  max-width: 34vw;
  height: 48px;
  object-fit: contain;
  object-position: left center;
}

.brand strong {
  font-size: 24px;
  color: #c91624;
  white-space: nowrap;
}

.topbar span {
  margin-left: 4px;
  color: var(--muted);
  font-size: 14px;
}

.topbar nav {
  display: flex;
  gap: 16px;
}

.topbar a {
  color: #172033;
  font-weight: 650;
  text-decoration: none;
}

.module-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 9px 24px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.module-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border: 0;
  border-radius: 7px;
  color: #fff;
  background: var(--brand-dark);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}

.module-nav a:nth-child(1) { background: #9f1239; }
.module-nav a:nth-child(2) { background: #c2410c; }
.module-nav a:nth-child(3) { background: #b45309; }
.module-nav a:nth-child(4) { background: #15803d; }
.module-nav a:nth-child(5) { background: #0e7490; }
.module-nav a:nth-child(6) { background: #1d4ed8; }
.module-nav a:nth-child(7) { background: #6d28d9; }
.module-nav a:nth-child(8) { background: #334155; }
.module-nav a:nth-child(9) { background: #4f46e5; }

.module-nav a:hover {
  filter: brightness(.92);
}

.login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.login-card {
  width: min(520px, 100%);
  text-align: center;
}

.login-logo {
  width: min(360px, 100%);
  height: auto;
  margin-bottom: 10px;
}

.login-hint {
  margin: 12px 0 42px;
  font-size: 18px;
  line-height: 2.75;
}

.login-card h1 {
  font-size: 30px;
  line-height: 1.8;
}

.login-card label {
  font-size: 16px;
  gap: 11px;
  margin-bottom: 18px;
}

.login-card input {
  font-size: 17px;
  padding: 13px 14px;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  margin-bottom: 18px;
  box-shadow: 0 1px 2px rgba(20, 30, 45, .05);
}

h1, h2 {
  margin: 0 0 16px;
}

h1 { font-size: 24px; }
h2 {
  font-size: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

h2 span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

label {
  display: grid;
  gap: 7px;
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--muted);
  position: relative;
}

input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 11px;
  font: inherit;
  color: var(--text);
  background: #fff;
}

input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--brand);
}

textarea {
  min-height: 68px;
  resize: vertical;
}

button {
  border: 0;
  border-radius: 6px;
  padding: 10px 14px;
  background: var(--brand);
  color: white;
  cursor: pointer;
  font: inherit;
}

button:hover { background: var(--brand-dark); }

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 10px 14px;
  background: #2f6f4e;
  color: #fff;
  text-decoration: none;
  font: inherit;
}

.button-link:hover {
  background: #245b3f;
}

.link {
  background: transparent;
  color: var(--brand);
  padding: 2px 4px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 800;
}

.link:hover {
  background: transparent;
  text-decoration: underline;
}

.danger { color: var(--danger); }

.notice {
  max-width: 1400px;
  margin: 0 auto 16px;
  padding: 11px 13px;
  border: 1px solid #a9c7ff;
  border-radius: 8px;
  background: #edf4ff;
  color: #174ea6;
}

.hint {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.toolbar {
  display: block;
}

.toolbar span {
  margin-left: 12px;
  color: var(--muted);
}

.batchbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 0 0 10px;
}

.danger-btn {
  background: var(--danger);
}

.danger-btn:hover {
  background: #8f1d15;
}

.quick {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 120px 90px;
  gap: 10px;
  align-items: center;
  position: relative;
}

.quick-extra {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  align-items: end;
}

.time-filter form {
  display: grid;
  grid-template-columns: auto 160px auto 160px 160px;
  gap: 10px;
  align-items: center;
}

.quick-extra label {
  margin-bottom: 0;
}

.quick-preview {
  grid-column: 1 / -1;
  min-height: 34px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.quick-preview strong {
  color: var(--text);
}

.quick-preview span {
  padding: 3px 7px;
  border-radius: 6px;
  background: #eef1f5;
}

.suggest-menu {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 50;
  max-height: 280px;
  overflow: auto;
  border: 1px solid #b8c5d8;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(28, 39, 58, .18);
}

.quick > .suggest-menu {
  top: 52px;
  right: 210px;
}

.suggest-menu.is-open {
  display: block;
}

.suggest-menu button {
  width: 100%;
  display: grid;
  gap: 3px;
  border: 0;
  border-radius: 0;
  padding: 9px 12px;
  background: #fff;
  color: var(--text);
  text-align: left;
}

.suggest-menu button:hover {
  background: #edf4ff;
}

.suggest-menu strong {
  font-size: 14px;
  font-weight: 750;
}

.suggest-menu span {
  color: var(--muted);
  font-size: 12px;
}

.grid.two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.equal-panels > .panel,
.admin-create-card {
  height: 100%;
}

.admin-create-card {
  display: flex;
  flex-direction: column;
}

.admin-create-card button {
  margin-top: auto;
}

.account-form {
  display: grid;
  grid-template-columns: minmax(140px, .8fr) minmax(280px, 2fr) minmax(220px, 1.2fr) minmax(140px, .8fr) minmax(140px, .8fr) auto;
  gap: 12px;
  align-items: end;
}

.account-form label {
  margin-bottom: 0;
}

.account-regions {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 14px;
}

.province-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 260px;
  max-width: 620px;
}

.check-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--text);
  font-size: 13px;
  white-space: nowrap;
}

.check-chip input {
  width: 18px;
  height: 18px;
}

.province-checks.is-disabled {
  min-width: 120px;
  color: var(--muted);
}

.portal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.portal-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(180px, 1fr));
  gap: 14px;
}

.tile {
  --accent: var(--brand);
  display: grid;
  min-height: 190px;
  align-content: space-between;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-top: 8px solid var(--accent);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(16, 24, 40, .07);
  transition: transform .16s ease, box-shadow .16s ease;
}

.tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(16, 24, 40, .11);
}

.tile strong {
  display: block;
  font-size: 22px;
  line-height: 1.25;
}

.tile span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.tile em {
  justify-self: start;
  font-style: normal;
  font-weight: 800;
  color: var(--accent);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 13px;
  background: #fff;
}

.red { --accent: #d92d20; }
.orange { --accent: #f79009; }
.yellow { --accent: #ca8504; }
.green { --accent: #12b76a; }
.cyan { --accent: #06aed4; }
.blue { --accent: #2e90fa; }
.violet { --accent: #7a5af8; }

.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: max-content;
  background: #fff;
  table-layout: auto;
}

th, td {
  border-bottom: 1px solid var(--line);
  padding: 10px 11px;
  text-align: left;
  vertical-align: top;
  font-size: 14px;
}

th {
  background: #f0f3f7;
  color: #3b4656;
  font-weight: 650;
  white-space: nowrap;
}

td:first-child, th:first-child {
  text-align: center;
}

.name {
  font-weight: 600;
}

.col-no { width: 58px; }
.col-check { width: 44px; }
.col-name { width: auto; }
.col-cert { width: auto; }
.col-province { width: auto; }
.col-city { width: auto; }
.col-phone { width: auto; }
.col-date { width: auto; }
.col-actions { width: 120px; }
.col-note { width: min(280px, 24vw); }

td {
  word-break: break-word;
}

.inline {
  display: inline-block;
  margin-right: 10px;
}

.tag {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.warn {
  background: var(--warn-bg);
  color: var(--warn-text);
}

.empty {
  text-align: center;
  color: var(--muted);
  padding: 28px;
}

.note-form {
  display: grid;
  gap: 8px;
  min-width: 180px;
  margin-bottom: 8px;
}

.note-status {
  color: var(--muted);
  font-size: 12px;
  min-height: 0;
}

.note-input {
  min-width: 180px;
  max-width: 260px;
  padding: 8px 9px;
}

.note-input.is-collapsed {
  color: var(--brand);
  font-weight: 700;
  cursor: pointer;
}

.phone-toggle {
  max-width: 180px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--brand);
  text-align: left;
  font-weight: 700;
  line-height: 1.5;
  white-space: normal;
}

.phone-toggle:hover {
  background: transparent;
  color: var(--brand-dark);
  text-decoration: underline;
}

.phone-toggle.is-expanded {
  max-width: 320px;
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}

.row-actions {
  display: flex;
  gap: 8px;
  margin-top: 0;
  white-space: nowrap;
}

.row-actions .link {
  font-size: 17px;
}

.customer-section {
  border-left-width: 5px;
}

.section-track { border-left-color: var(--track); }
.section-follow { border-left-color: var(--follow); }
.section-premium { border-left-color: var(--premium); }
.section-build { border-left-color: var(--build); }
.section-other { border-left-color: var(--other); }

.section-track h2 { color: var(--track); }
.section-follow h2 { color: var(--follow); }
.section-premium h2 { color: var(--premium); }
.section-build h2 { color: var(--build); }
.section-other h2 { color: var(--other); }

.admin-search {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) minmax(130px, .8fr) minmax(160px, 1fr) 150px 150px 80px;
  gap: 10px;
  margin-bottom: 12px;
}

.edit-customer {
  display: contents;
}

.admin-customer-table input {
  padding: 8px;
}

.admin-customer-table th:nth-child(1) { width: 44px; }
.admin-customer-table th:nth-child(2) { width: 32%; }
.admin-customer-table th:nth-child(3) { width: 22%; }
.admin-customer-table th:nth-child(4) { width: 110px; }
.admin-customer-table th:nth-child(5) { width: 150px; }
.admin-customer-table th:nth-child(6) { width: 220px; }

.permission-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  color: var(--text);
}

.permission-checks label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 14px;
  white-space: nowrap;
}

.permission-checks input[type="checkbox"] {
  width: 18px;
  height: 18px;
}

.tile.is-disabled {
  opacity: .45;
  filter: grayscale(.35);
  cursor: not-allowed;
}

/* Unified internal-system polish */
:root {
  --bg: #f3f6fa;
  --line: #d7e0ea;
  --text: #172033;
  --muted: #627085;
  --brand: #b91c1c;
  --brand-dark: #991b1b;
  --focus: #fca5a5;
}

body {
  line-height: 1.48;
}

main {
  padding: 18px 22px 28px;
}

.topbar,
.portal-head {
  box-shadow: 0 1px 0 rgba(15, 23, 42, .04);
}

.module-nav {
  gap: 10px;
  padding: 10px 24px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, .04);
}

.module-nav a {
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 8px;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .16), 0 4px 12px rgba(15, 23, 42, .08);
}

.panel {
  border-color: #dce4ed;
  border-radius: 8px;
  padding: 18px 20px;
  box-shadow: 0 8px 22px rgba(16, 24, 40, .055);
}

.panel h1,
.panel h2 {
  color: #162235;
}

input,
select,
textarea {
  min-height: 42px;
  border-color: #c9d4e2;
  border-radius: 7px;
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: 0;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(185, 28, 28, .16);
}

button,
.button-link {
  min-height: 40px;
  border-radius: 7px;
  font-weight: 760;
  box-shadow: 0 4px 12px rgba(15, 23, 42, .08);
}

.link {
  box-shadow: none;
}

.table-wrap {
  border-color: #d9e2ec;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(16, 24, 40, .045);
}

table {
  border-collapse: separate;
  border-spacing: 0;
}

th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #eef3f8;
  color: #263447;
  font-size: 13px;
  letter-spacing: 0;
}

td {
  background: #fff;
}

tbody tr:nth-child(even) td {
  background: #fbfdff;
}

tbody tr:hover td {
  background: #f3f9fc;
}

th,
td {
  padding: 11px 12px;
}

.tile {
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, .08);
}

.tile em {
  border-color: transparent;
  color: #fff;
  background: var(--accent);
}

@media (max-width: 860px) {
  .topbar {
    height: auto;
    padding: 14px;
    align-items: flex-start;
    gap: 10px;
    flex-direction: column;
  }
  .brand {
    width: 100%;
    flex-wrap: wrap;
    gap: 8px;
  }
  .brand img {
    width: 210px;
    max-width: 100%;
  }
  .brand strong {
    font-size: 20px;
  }
  main { padding: 14px; }
  .toolbar, .grid.two { display: block; }
  .portal-grid { grid-template-columns: 1fr; }
  .portal-head { align-items: flex-start; flex-direction: column; }
  .tile { min-height: 130px; }
  .quick { grid-template-columns: 1fr; margin-top: 14px; }
  .quick-extra,
  .account-form,
  .time-filter form {
    grid-template-columns: 1fr;
  }
  table {
    min-width: 0;
    table-layout: auto;
  }
  thead, colgroup {
    display: none;
  }
  tr {
    display: block;
    padding: 10px 12px;
    border-bottom: 1px solid var(--line);
  }
  td {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 10px;
    border-bottom: 0;
    padding: 6px 0;
    text-align: left !important;
  }
  td::before {
    content: attr(data-label);
    color: var(--muted);
    font-weight: 600;
  }
  .table-wrap {
    border-radius: 8px;
  }
  .admin-search {
    grid-template-columns: 1fr;
  }
}

/* ===== Unified red-brand override (matches 证书模块) ===== */
.topbar{background:linear-gradient(180deg,#c9151b 0%,#b90f15 100%)!important;color:#fff!important;border-bottom:0!important}
.brand strong{color:#fff!important}
.topbar span{color:rgba(255,255,255,.85)!important}
.brand img{filter:brightness(0) invert(1)}

/* ===== Unified portal top bar (left nav + right user) ===== */
.portal-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
}
.portal-topbar .topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 66px;
  padding: 10px 24px;
}
.portal-topbar .topbar-left {
  display: flex;
  align-items: center;
  gap: 22px;
  min-width: 0;
}
.portal-topbar .topbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
/* brand */
.portal-topbar .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.portal-topbar .brand img {
  width: 360px;
  height: 70px;
  max-width: 38vw;
  object-fit: contain;
  object-position: left center;
}
.portal-topbar .brand-title {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
}
/* top navigation (left) */
.portal-topbar .topnav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.portal-topbar .topnav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 13px;
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .18);
  transition: background .15s ease, transform .15s ease;
}
.portal-topbar .topnav a:first-child {
  background: rgba(255, 255, 255, .28);
}
.portal-topbar .topnav a:hover {
  background: rgba(255, 255, 255, .28);
  transform: translateY(-1px);
}
/* user chip (right) */
.portal-topbar .user-chip {
  display: flex;
  align-items: center;
  gap: 10px;
}
.portal-topbar .user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .22);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}
.portal-topbar .user-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  min-width: 0;
}
.portal-topbar .user-name {
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  white-space: nowrap;
}
.portal-topbar .user-role {
  font-size: 12px;
  color: rgba(255, 255, 255, .75);
}
/* logout button (right) */
.portal-topbar .btn-logout {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 6px 16px;
  border-radius: 8px;
  background: #fff;
  color: #b90f15;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid #fff;
  white-space: nowrap;
  transition: background .15s ease, transform .15s ease;
}
.portal-topbar .btn-logout:hover {
  background: rgba(255, 255, 255, .9);
  transform: translateY(-1px);
}
/* responsive: stack + keep nav scrollable on small screens */
@media (max-width: 900px) {
  .portal-topbar .topbar-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 12px 16px;
  }
  .portal-topbar .topbar-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .portal-topbar .topnav {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }
  .portal-topbar .topbar-right {
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, .22);
  }
  .portal-topbar .brand img { max-width: 60vw; }
}
@media (max-width: 560px) {
  .portal-topbar .brand-title { display: none; }
  .portal-topbar .user-role { display: none; }
  .portal-topbar .brand img { width: 220px; height: 46px; }
  .portal-topbar .btn-logout { padding: 6px 12px; }
}

/* ===== 2026-07-23 业务系统平台与统一模块页头 ===== */
body:has(.portal-login-page) {
  overflow: hidden;
  background: #090a0b;
}

main.portal-login-page {
  width: 100%;
  max-width: none;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

.portal-login-stage {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  display: grid;
  place-content: center;
  gap: clamp(28px, 5vh, 58px);
  padding: 32px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .06), rgba(0, 0, 0, .24)),
    url("/static/portal-water-wall.png") center / cover no-repeat;
}

.portal-login-stage::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: -3%;
  background: url("/static/portal-water-wall.png") center / cover no-repeat;
  opacity: .38;
  mix-blend-mode: screen;
  animation: water-wall-breathe 8s ease-in-out infinite alternate;
}

.portal-login-stage::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 79% 49%, rgba(205, 232, 255, .16), transparent 8%),
    radial-gradient(circle at 91% 72%, rgba(205, 232, 255, .16), transparent 10%),
    linear-gradient(100deg, rgba(0, 0, 0, .32), transparent 35%, transparent 68%, rgba(0, 0, 0, .18));
  animation: water-light-shift 3.8s ease-in-out infinite alternate;
}

@keyframes water-wall-breathe {
  from { transform: scale(1.018) translate3d(-.3%, -.2%, 0); filter: brightness(.82) contrast(1.08); }
  to { transform: scale(1.045) translate3d(.45%, .35%, 0); filter: brightness(1.05) contrast(1.14); }
}

@keyframes water-light-shift {
  from { opacity: .28; filter: blur(1px); }
  to { opacity: .72; filter: blur(3px); }
}

.portal-login-brand {
  justify-self: center;
  display: grid;
  justify-items: center;
  gap: 14px;
  width: min(620px, 84vw);
  padding: 22px 30px 20px;
  border: 1px solid rgba(255, 255, 255, .11);
  background: rgba(6, 7, 8, .62);
  box-shadow: 0 18px 52px rgba(0, 0, 0, .42);
  backdrop-filter: blur(8px);
}

.portal-login-brand img {
  width: min(430px, 72vw);
  height: auto;
  filter: drop-shadow(0 3px 12px rgba(0, 0, 0, .5));
}

.portal-login-brand h1 {
  margin: 0;
  color: #f6f1e8;
  font-size: clamp(22px, 2.1vw, 34px);
  letter-spacing: .28em;
  text-indent: .28em;
  text-shadow: 0 2px 8px #000;
}

.portal-login-notice {
  position: absolute;
  left: 50%;
  top: calc(50% + 112px);
  transform: translateX(-50%);
  z-index: 2;
  margin: 0;
  padding: 7px 18px;
  color: #ffd7d7;
  border: 1px solid rgba(255, 110, 110, .55);
  background: rgba(72, 7, 7, .76);
  font-weight: 750;
}

.portal-hole-form {
  position: relative;
  justify-self: center;
  display: grid;
  grid-template-columns: minmax(170px, 1fr) 1px minmax(170px, 1fr) auto;
  align-items: center;
  width: min(820px, 88vw);
  min-height: 82px;
  padding: 15px 18px 15px 28px;
  clip-path: polygon(1.5% 17%, 7% 5%, 25% 10%, 38% 2%, 56% 8%, 72% 3%, 91% 8%, 98.5% 22%, 99.5% 75%, 94% 94%, 77% 89%, 60% 98%, 42% 91%, 23% 97%, 5% 88%, .5% 68%);
  border: 1px solid rgba(185, 31, 35, .38);
  background: rgba(3, 4, 5, .86);
  box-shadow:
    inset 0 10px 22px rgba(0, 0, 0, .96),
    inset 0 -4px 9px rgba(255, 255, 255, .08),
    0 18px 42px rgba(0, 0, 0, .64);
  backdrop-filter: blur(7px);
}

.portal-hole-form label {
  display: block;
  min-width: 0;
  margin: 0;
}

.portal-hole-form label > span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.portal-hole-form input {
  min-height: 50px;
  padding: 10px 18px;
  border: 0;
  border-radius: 0;
  outline: 0;
  color: #fff;
  background: transparent;
  box-shadow: none;
  font-size: 17px;
}

.portal-hole-form input::placeholder {
  color: rgba(255, 255, 255, .58);
}

.portal-hole-form input:focus {
  border: 0;
  box-shadow: inset 0 -2px 0 #d7192d;
}

.portal-hole-form i {
  width: 1px;
  height: 34px;
  background: rgba(255, 255, 255, .22);
}

.portal-hole-form button {
  min-width: 112px;
  min-height: 50px;
  margin-left: 12px;
  padding: 10px 20px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 3px 15px 5px 13px;
  background: linear-gradient(145deg, #cf1b2d, #8f0e17);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .35);
}

.portal-hole-form button:hover {
  background: linear-gradient(145deg, #e42739, #a5111d);
}

.portal-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff !important;
  color: #172033 !important;
  border-bottom: 4px solid #c9151b !important;
}

.portal-topbar .topbar-inner {
  width: min(1460px, 100%);
  margin: 0 auto;
  min-height: 92px;
}

.portal-platform-brand {
  flex: 1;
  display: flex;
  justify-content: center;
}

.portal-topbar .brand {
  flex-direction: column;
  gap: 3px;
}

.portal-topbar .brand img {
  width: 330px;
  height: 54px;
  max-width: 42vw;
  filter: none;
}

.portal-topbar .brand-title {
  color: #a9111b !important;
  font-size: 17px;
  letter-spacing: .24em;
  text-indent: .24em;
}

.portal-topbar .user-name,
.portal-topbar .user-role {
  color: #273449 !important;
}

.portal-topbar .user-avatar {
  background: #c9151b;
}

.portal-topbar .btn-logout {
  background: #c9151b;
  color: #fff;
  border-color: #c9151b;
}

.portal-index {
  max-width: 1260px;
  padding-top: 34px;
}

.portal-index > .hint {
  margin: 0 0 24px;
  text-align: center;
  font-size: 15px;
}

.portal-grid {
  grid-template-columns: repeat(5, minmax(180px, 1fr));
  justify-content: center;
  gap: 20px;
}

.tile {
  min-height: 176px;
  border-top-width: 7px;
}

.unified-module-header,
.portal-shell-header {
  position: sticky;
  top: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  min-height: 78px;
  padding: 9px 22px;
  border-bottom: 3px solid #c9151b;
  background: #fff;
  box-shadow: 0 4px 18px rgba(15, 23, 42, .1);
}

.unified-module-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.unified-module-brand img {
  display: block;
  width: 245px;
  max-width: 25vw;
  height: 48px;
  object-fit: contain;
}

.unified-module-brand strong {
  color: #a9111b;
  font-size: 24px;
  white-space: nowrap;
}

.unified-module-header .module-nav {
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 6px;
  padding: 0;
  border: 0;
  box-shadow: none;
}

.unified-module-header .module-nav a {
  min-height: 31px;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 13px;
  box-shadow: none;
  white-space: nowrap;
}

.module-nav .platform-home { background: #475569 !important; }
.module-nav .module-customer { background: #b91c1c !important; }
.module-nav .module-contract { background: #c2410c !important; }
.module-nav .module-sms { background: #b77905 !important; }
.module-nav .module-mail { background: #15803d !important; }
.module-nav .module-data { background: #0e7490 !important; }
.module-nav .module-report { background: #2563eb !important; }
.module-nav .module-industry { background: #4f46e5 !important; }
.module-nav .module-hr_compliance { background: #0f766e !important; }
.module-nav .module-admin { background: #7c3aed !important; }
.module-nav .is-current {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.module-session {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  color: #566276;
  font-size: 13px;
}

.module-session a {
  min-height: 32px;
  padding: 6px 11px;
  border-radius: 6px;
  color: #fff;
  background: #c9151b;
  text-decoration: none;
  font-weight: 750;
}

/* 系统管理：所有文本、选择和按钮保持紧凑且同高。 */
.system-admin-page input:not([type="checkbox"]),
.system-admin-page select,
.system-admin-page button {
  height: 36px;
  min-height: 36px;
  padding-top: 6px;
  padding-bottom: 6px;
  border-radius: 6px;
}

.system-admin-page textarea {
  min-height: 72px;
}

@media (max-width: 1080px) {
  .portal-grid { grid-template-columns: repeat(2, minmax(220px, 1fr)); }
  .unified-module-header {
    grid-template-columns: 1fr auto;
  }
  .unified-module-header .module-nav {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (max-width: 680px) {
  body:has(.portal-login-page) { overflow: auto; }
  .portal-login-stage { padding: 22px 14px; }
  .portal-login-brand { width: min(94vw, 520px); }
  .portal-hole-form {
    grid-template-columns: 1fr;
    gap: 0;
    width: min(94vw, 520px);
    padding: 22px 30px;
    clip-path: polygon(3% 5%, 29% 1%, 55% 5%, 78% 1%, 97% 7%, 99% 42%, 96% 91%, 70% 98%, 44% 94%, 18% 99%, 2% 91%, 0 45%);
  }
  .portal-hole-form i { width: 100%; height: 1px; }
  .portal-hole-form button { width: 100%; margin: 12px 0 0; }
  .portal-grid { grid-template-columns: 1fr; }
  .portal-topbar .topbar-inner {
    flex-direction: column;
  }
  .portal-topbar .topbar-right { width: 100%; }
  .portal-topbar .brand img { max-width: 76vw; }
  .unified-module-header {
    position: relative;
    padding: 10px 14px;
  }
  .unified-module-brand img { width: 205px; max-width: 55vw; }
  .unified-module-brand strong { font-size: 19px; }
  .module-session span { display: none; }
}

/* ===== 2026-07-24 客户跟进：行业看板式目录布局 ===== */
.customer-dashboard-page {
  --customer-ink: #15251f;
  --customer-muted: #68756f;
  --customer-line: #dfe7e2;
  --customer-paper: #f5f7f5;
  --customer-green: #0d6b4f;
  --customer-green-2: #2d8b6d;
  margin: 0;
  padding: 0;
  background: var(--customer-paper);
  color: var(--customer-ink);
}

.customer-industry-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: calc(100vh - 112px);
}

.customer-industry-sidebar {
  position: sticky;
  top: 0;
  align-self: start;
  height: calc(100vh - 6px);
  display: flex;
  flex-direction: column;
  padding: 20px 18px;
  color: #fff;
  background: #102a21;
}

.customer-side-brand {
  padding: 6px 10px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.customer-side-kicker {
  color: #9ec7b8;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .14em;
}

.customer-side-brand h1 {
  margin: 7px 0 3px;
  color: #fff;
  font-size: 24px;
}

.customer-side-brand p {
  margin: 0;
  color: #a9beb6;
  font-size: 12px;
}

.customer-side-nav {
  display: grid;
  gap: 4px;
  margin-top: 14px;
}

.customer-side-nav a {
  display: block;
  padding: 10px 12px;
  border-radius: 9px;
  color: #bcd0c9;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.customer-side-nav a:hover,
.customer-side-nav a:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, .1);
  box-shadow: inset 3px 0 #71c6a4;
  transform: translateX(3px);
}

.customer-side-nav .customer-side-logout {
  margin-top: 8px;
  color: #ffd8d5;
  border: 1px solid rgba(255, 190, 184, .22);
}

.customer-side-nav .customer-side-admin {
  color: #fff2b8;
  border: 1px solid rgba(255, 242, 184, .24);
}

.customer-side-foot {
  margin-top: auto;
  padding: 12px;
  color: #a9beb6;
  font-size: 11px;
}

.customer-side-foot span {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: #65d29f;
}

.customer-industry-content {
  min-width: 0;
  width: 100%;
  max-width: 1540px;
  margin: 0 auto;
  padding: 28px;
}

.customer-dashboard-page .customer-section,
.customer-dashboard-page .customer-control-panel {
  scroll-margin-top: 28px;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--customer-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(21, 37, 31, .07);
}

.customer-dashboard-page .customer-section > h2,
.customer-dashboard-page .customer-control-panel > h2 {
  min-height: 52px;
  margin: 0;
  padding: 14px 18px;
  border-bottom: 1px solid var(--customer-line);
  color: var(--customer-ink);
  font-size: 16px;
}

.customer-dashboard-page .customer-section > h2 span {
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--customer-green);
  background: #e7f2ed;
  font-size: 11px;
  font-weight: 750;
}

.customer-dashboard-page .customer-section form {
  padding: 12px 18px 18px;
}

.customer-dashboard-page .customer-control-panel form {
  padding: 18px;
}

.customer-dashboard-page .customer-section .batchbar {
  margin-bottom: 10px;
}

.customer-dashboard-page button {
  background: var(--customer-green);
}

.customer-dashboard-page button:hover {
  background: #09543e;
}

.customer-dashboard-page .button-link {
  background: var(--customer-green-2);
}

.customer-dashboard-page .link {
  color: var(--customer-green);
  background: transparent;
}

.customer-dashboard-page .danger-btn {
  background: #bd4a43;
}

.customer-dashboard-page .table-wrap {
  max-height: 590px;
  border: 1px solid var(--customer-line);
  border-radius: 12px;
}

.customer-dashboard-page th {
  background: #f6f8f6;
  color: var(--customer-muted);
}

.customer-dashboard-page tr:hover td {
  background: #fafcfb;
}

.customer-control-panel .quick-extra {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.customer-control-panel.time-filter form {
  grid-template-columns: repeat(2, minmax(180px, 1fr)) auto;
  align-items: end;
}

.customer-control-panel.time-filter form label {
  margin: 0;
}

@media (max-width: 1100px) {
  .customer-industry-shell {
    grid-template-columns: 220px minmax(0, 1fr);
  }
  .customer-control-panel .quick-extra {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .customer-industry-shell {
    grid-template-columns: 1fr;
  }
  .customer-industry-sidebar {
    position: static;
    width: 100%;
    height: auto;
    padding: 14px;
  }
  .customer-side-nav {
    display: flex;
    overflow-x: auto;
    padding-bottom: 4px;
  }
  .customer-side-nav a {
    white-space: nowrap;
  }
  .customer-side-foot {
    display: none;
  }
  .customer-industry-content {
    padding: 16px;
  }
  .customer-control-panel .quick-extra,
  .customer-control-panel.time-filter form {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .portal-login-stage::before,
  .portal-login-stage::after {
    animation: none;
  }
}
.indigo { --accent: #4f46e5; }
.teal { --accent: #0f8f83; }

.module-nav a:nth-child(1){background:#b91c1c!important}
.module-nav a:nth-child(2){background:#a3151a!important}
.module-nav a:nth-child(3){background:#991b1b!important}
.module-nav a:nth-child(4){background:#8f1d15!important}
.module-nav a:nth-child(5){background:#b91c1c!important}
.module-nav a:nth-child(6){background:#a3151a!important}
.module-nav a:nth-child(7){background:#991b1b!important}
.module-nav a:nth-child(8){background:#8f1d15!important}
.module-nav a:hover{filter:brightness(.94)!important}
.button-link{background:var(--brand)!important}
.button-link:hover{background:var(--brand-dark)!important}
.notice{background:#fef2f2!important;border-color:#fca5a5!important;color:#991b1b!important}

/* ===== 系统管理界面体验优化（仅作用于 .system-admin-page，不影响其他门户页面） ===== */
.system-admin-page {
  max-width: 1080px;
  margin: 0 auto;
  font-size: 14.5px;
  line-height: 1.62;
}

/* 页面引导区：红条强调，形成清晰的顶部信息层级 */
.system-admin-page > .panel:first-child {
  border-left: 4px solid var(--brand);
  background: #fffafa;
}
.system-admin-page > .panel:first-child h1 {
  font-size: 26px;
  letter-spacing: .5px;
}
.system-admin-page > .panel:first-child .hint {
  font-size: 13.5px;
  line-height: 1.7;
  margin-top: 10px;
}

/* 板块标题：左侧红条 + 红点，强化信息层次 */
.system-admin-page .panel h2 {
  position: relative;
  padding-left: 14px;
  font-size: 18px;
  color: #162235;
}
.system-admin-page .panel h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 18px;
  border-radius: 3px;
  background: var(--brand);
}

/* 卡片间距与悬浮反馈 */
.system-admin-page .panel {
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 10px 26px rgba(16, 24, 40, .06);
}
.system-admin-page .panel:hover {
  box-shadow: 0 14px 32px rgba(16, 24, 40, .09);
}

/* 表单：标签与控件统一节奏 */
.system-admin-page label {
  font-size: 13.5px;
  color: #4a5568;
  margin-bottom: 10px;
}
.system-admin-page input,
.system-admin-page select,
.system-admin-page textarea {
  min-height: 42px;
  border-radius: 8px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.system-admin-page input:focus,
.system-admin-page select:focus,
.system-admin-page textarea:focus {
  outline: 0;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(185, 28, 28, .16);
}

/* 新增账号表单：两栏卡片布局，左侧基础信息、右侧权限选择 */
.system-admin-page .create-user-form {
  display: block;
}
.system-admin-page .create-user-main {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 18px;
  align-items: stretch;
}
.system-admin-page .create-user-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fafbfc;
}
.system-admin-page .create-user-col h3 {
  margin: 0 0 2px;
  font-size: 15px;
  color: #162235;
  font-weight: 700;
}
.system-admin-page .create-user-col label {
  display: grid;
  gap: 6px;
  margin-bottom: 0;
}
.system-admin-page .permission-checks--create {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}
.system-admin-page .permission-checks--create label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  margin: 0;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.system-admin-page .permission-checks--create label:hover {
  border-color: #f1c4c4;
  background: #fff5f5;
}
.system-admin-page .permission-checks--create input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--brand);
}
.system-admin-page .permission-all {
  grid-column: 1 / -1;
  background: #fffafa !important;
  border-color: #f1c4c4 !important;
  font-weight: 600;
}
.system-admin-page .permission-hint {
  margin: 4px 0 0;
  font-size: 12.5px;
  color: var(--muted);
}
.system-admin-page .create-user-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.system-admin-page .create-user-actions button {
  min-width: 120px;
}

/* 行内编辑表单：从挤在一行改为可换行、控件自适应，便于浏览与操作 */
.system-admin-page .system-account-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.system-admin-page .system-account-form select,
.system-admin-page .system-account-form input {
  flex: 1 1 140px;
  min-width: 120px;
  min-height: 38px;
}
.system-admin-page .system-account-form button {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 8px 14px;
}

/* 按钮交互反馈：悬浮/按下/禁用 */
.system-admin-page button {
  min-height: 42px;
  border-radius: 8px;
  font-weight: 700;
  transition: transform .08s ease, background .15s ease, box-shadow .15s ease;
}
.system-admin-page button:hover {
  box-shadow: 0 6px 16px rgba(185, 28, 28, .18);
}
.system-admin-page button:active {
  transform: translateY(1px);
}
.system-admin-page button:disabled,
.system-admin-page button[disabled] {
  opacity: .6;
  cursor: not-allowed;
  box-shadow: none;
}
.system-admin-page button.danger-btn:hover {
  box-shadow: 0 6px 16px rgba(180, 35, 24, .22);
}

/* 键盘焦点可见性（无障碍） */
.system-admin-page button:focus-visible,
.system-admin-page .link:focus-visible,
.system-admin-page input:focus-visible,
.system-admin-page select:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

/* 表格：更清晰的可读性与操作列 */
.system-admin-page .table-wrap {
  border-radius: 10px;
  overflow-x: auto;
  box-shadow: 0 8px 22px rgba(16, 24, 40, .05);
}
.system-admin-page table {
  font-size: 14px;
}
.system-admin-page thead,
.system-admin-page colgroup {
  display: table-header-group;
}
.system-admin-page tr {
  display: table-row;
}
.system-admin-page td {
  display: table-cell;
  text-align: left;
  padding: 11px 12px;
  vertical-align: middle;
}
.system-admin-page td::before {
  content: "";
}
.system-admin-page th {
  font-size: 13px;
  background: #fbecec;
  color: #7f1d1d;
  border-bottom: 2px solid #f1c4c4;
}
.system-admin-page tbody tr:hover td {
  background: #fff5f5;
}
.system-admin-page tbody tr:nth-child(even) td {
  background: #fdfafa;
}
.system-admin-page .empty {
  padding: 32px;
  font-size: 14px;
}

/* 操作列按钮（保存/删除）紧凑对齐 */
.system-admin-page td .inline-form {
  display: inline-flex;
  gap: 6px;
  margin: 0;
  vertical-align: middle;
}
.system-admin-page td .inline-form button {
  min-height: 34px;
  padding: 6px 12px;
  font-size: 13px;
}

/* 提示横幅 */
.system-admin-page .notice {
  font-size: 14px;
  margin-bottom: 18px;
}

/* 响应式：窄屏表单堆叠、表格横向滚动（保留表头，不折叠为卡片） */
@media (max-width: 760px) {
  .system-admin-page {
    font-size: 14px;
  }
  .system-admin-page .panel {
    padding: 16px;
  }
  .system-admin-page .account-form {
    grid-template-columns: 1fr;
  }
  .system-admin-page .create-user-main {
    grid-template-columns: 1fr;
  }
  .system-admin-page .permission-checks--create {
    grid-template-columns: 1fr;
  }
  .system-admin-page .create-user-actions {
    justify-content: stretch;
  }
  .system-admin-page .create-user-actions button {
    width: 100%;
  }
  .system-admin-page .system-account-form {
    flex-direction: column;
    align-items: stretch;
  }
  .system-admin-page .system-account-form select,
  .system-admin-page .system-account-form input,
  .system-admin-page .system-account-form button {
    width: 100%;
    flex: 1 1 auto;
  }
  .system-admin-page table {
    min-width: 680px;
  }
}

/* Final specificity guard for shared module colors and compact system controls. */
.unified-module-header .module-nav .platform-home { background: #475569 !important; }
.unified-module-header .module-nav .module-customer { background: #b91c1c !important; }
.unified-module-header .module-nav .module-contract { background: #c2410c !important; }
.unified-module-header .module-nav .module-sms { background: #b77905 !important; }
.unified-module-header .module-nav .module-mail { background: #15803d !important; }
.unified-module-header .module-nav .module-data { background: #0e7490 !important; }
.unified-module-header .module-nav .module-report { background: #2563eb !important; }
.unified-module-header .module-nav .module-industry { background: #4f46e5 !important; }
.unified-module-header .module-nav .module-hr_compliance { background: #0f766e !important; }
.unified-module-header .module-nav .module-admin { background: #7c3aed !important; }

.system-admin-page input:not([type="checkbox"]),
.system-admin-page select,
.system-admin-page button,
.system-admin-page .system-account-form input,
.system-admin-page .system-account-form select,
.system-admin-page .system-account-form button {
  height: 36px;
  min-height: 36px;
  padding-top: 6px;
  padding-bottom: 6px;
  border-radius: 6px;
}

/* ===== 2026-07-24 补丁平台视觉修订 ===== */
.portal-login-stage {
  place-content: center;
  gap: 0;
}

.portal-login-stage::before {
  inset: 0;
  opacity: 0;
  animation: none !important;
  transform: none !important;
  filter: none !important;
}

.portal-login-stage::after {
  display: none !important;
  content: none !important;
  animation: none !important;
}

@keyframes patch-wall-flow {
  from { transform: scale(1.012); filter: brightness(.78) contrast(1.08); }
  to { transform: scale(1.032); filter: brightness(1.06) contrast(1.18); }
}

@keyframes patch-water-run {
  0% { background-position: 0 -38px, 0 -80px, 0 -54px, 0 0, 0 0; filter: brightness(.86); }
  50% { opacity: .68; filter: brightness(1.45); }
  100% { background-position: 0 125px, 0 170px, 0 105px, 0 12px, 0 16px; filter: brightness(.95); }
}

.portal-hole-form {
  width: min(860px, 90vw);
  min-height: 92px;
  padding: 18px 22px 18px 32px;
  background: rgba(0, 0, 0, .48);
  border: 2px solid rgba(3, 3, 3, .82);
  clip-path: polygon(0 25%, 4% 7%, 18% 12%, 33% 2%, 49% 9%, 66% 3%, 84% 11%, 97% 3%, 100% 26%, 98% 72%, 93% 96%, 73% 89%, 56% 99%, 39% 91%, 21% 98%, 4% 88%, 1% 65%);
  box-shadow:
    inset 0 17px 27px rgba(0, 0, 0, .98),
    inset 0 -8px 15px rgba(255, 255, 255, .05),
    0 20px 46px rgba(0, 0, 0, .72);
}

.portal-hole-form input,
.portal-hole-form input:focus {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.portal-hole-form button {
  background: linear-gradient(145deg, #cf1b2d, #851019);
}

.portal-topbar .topbar-inner {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(320px, 1.2fr) minmax(260px, 1fr);
  gap: 28px;
  min-height: 112px;
}

.portal-home-logo {
  display: flex;
  justify-self: start;
  align-items: center;
}

.portal-home-logo img {
  display: block;
  width: min(430px, 30vw);
  height: 78px;
  object-fit: contain;
}

.portal-platform-title {
  display: grid;
  justify-items: center;
  align-content: center;
  text-align: center;
}

.portal-platform-title strong {
  color: #a9111b;
  font-size: clamp(24px, 2.2vw, 36px);
  letter-spacing: .16em;
  white-space: nowrap;
}

.portal-platform-title span {
  margin-top: 5px;
  color: #7a4a4d !important;
  font-size: 10px !important;
  letter-spacing: .18em;
}

.portal-topbar .topbar-right {
  justify-self: end;
}

.portal-index {
  max-width: 760px;
  padding-top: 22px;
}

.portal-grid {
  grid-template-columns: repeat(5, minmax(180px, 1fr));
  justify-content: center;
  gap: 16px;
}

.portal-grid .tile {
  width: 220px;
  height: 220px;
  min-height: 0;
  aspect-ratio: auto;
  padding: 16px;
}

.portal-grid .tile strong {
  font-size: 19px;
}

.portal-grid .tile span {
  font-size: 13px;
  line-height: 1.5;
}

.portal-grid .tile > div {
  display: flex;
  flex: 1;
  min-height: 0;
  flex-direction: column;
}

.portal-grid .tile .tile-updated {
  display: block;
  margin-top: auto;
  padding-top: 12px;
  color: #64748b;
  font-size: 11px;
  font-style: normal;
  line-height: 1.4;
}

.module-nav .customer-function {
  background: #0f766e !important;
}

.module-nav .customer-admin-link {
  background: #b42318 !important;
  box-shadow: 0 0 0 2px rgba(180,35,24,.18);
}

.customer-local-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  border-left: 6px solid #0f766e;
  padding: 10px 12px;
  margin-bottom: 12px;
}

.customer-local-nav strong {
  display: block;
  color: #0f172a;
  font-size: 22px;
  line-height: 1.35;
}

.customer-local-nav span {
  color: var(--muted);
  font-size: 14px;
}

.customer-local-nav nav {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.customer-local-nav nav a {
  padding: 8px 12px;
  border-radius: 6px;
  background: #e8f5f2;
  color: #0f766e;
  text-decoration: none;
  font-size: 14px;
  font-weight: 750;
}

.customer-local-nav nav a.is-current {
  background: #0f766e;
  color: #fff;
}

.customer-local-nav nav a.customer-logout {
  background: #fff1f2;
  color: #be123c;
}

.customer-login-page .login {
  min-height: calc(100vh - 92px);
}

.customer-dashboard-page {
  max-width: none;
  padding: 14px 18px;
}

.customer-dashboard-layout {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.customer-side {
  position: sticky;
  top: 94px;
  display: grid;
  gap: 12px;
}

.customer-dashboard-page .panel {
  padding: 12px;
  margin-bottom: 12px;
}

.customer-dashboard-page h2 {
  margin-bottom: 9px;
  font-size: 15px;
}

.customer-dashboard-page label {
  gap: 5px;
  margin-bottom: 8px;
  font-size: 12px;
}

.customer-dashboard-page input,
.customer-dashboard-page select,
.customer-dashboard-page button {
  min-height: 34px;
  padding: 7px 9px;
  font-size: 13px;
}

.customer-dashboard-page .quick {
  grid-template-columns: minmax(0, 1fr) 88px;
  gap: 8px;
}

.customer-dashboard-page #quick-customer-input,
.customer-dashboard-page #quick-customer-id,
.customer-dashboard-page .quick-preview,
.customer-dashboard-page .quick-extra {
  grid-column: 1 / -1;
}

.customer-dashboard-page .quick > select {
  grid-column: 1;
}

.customer-dashboard-page .quick > button {
  grid-column: 2;
}

.customer-dashboard-page .quick-extra {
  grid-template-columns: 1fr;
  gap: 7px;
}

.customer-dashboard-page .quick-preview {
  min-height: 26px;
  gap: 5px;
  font-size: 12px;
}

.customer-dashboard-page .quick-preview span {
  padding: 2px 6px;
}

.customer-dashboard-page .time-filter form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.customer-main-list {
  min-width: 0;
}

/* 2026-07-24 客户跟进单页目录、备注、邮件与数据日志 */
.customer-side-nav a.active {
  color: #102a21;
  background: #f0c96a;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .16);
}

.customer-dashboard-page .customer-main-list {
  min-height: calc(100vh - 134px);
}

.customer-dashboard-page .customer-section {
  min-height: calc(100vh - 134px);
}

.customer-dashboard-page .customer-section form {
  padding: 18px;
}

.customer-dashboard-page .customer-section > h2 {
  display: none;
}

.customer-page-count {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-right: auto;
  padding: 5px 11px;
  border-radius: 999px;
  color: var(--customer-green);
  background: #e7f2ed;
  font-weight: 800;
}

.customer-dashboard-page .customer-table tbody tr,
.customer-dashboard-page .customer-mail-page tbody tr,
.customer-dashboard-page .customer-log-page tbody tr {
  height: 52px;
}

.customer-dashboard-page .customer-table th,
.customer-dashboard-page .customer-table td,
.customer-dashboard-page .customer-mail-page th,
.customer-dashboard-page .customer-mail-page td,
.customer-dashboard-page .customer-log-page th,
.customer-dashboard-page .customer-log-page td {
  padding: 10px;
  line-height: 1.45;
  vertical-align: middle;
}

.note-disclosure {
  position: relative;
  min-width: 54px;
}

.note-disclosure summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 28px;
  padding: 4px 10px;
  border: 1px solid #c9ddd4;
  border-radius: 999px;
  color: var(--customer-green);
  background: #edf7f2;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.note-disclosure summary::-webkit-details-marker {
  display: none;
}

.note-disclosure[open] .note-editor {
  display: grid;
}

.note-editor {
  display: none;
  position: absolute;
  z-index: 15;
  top: 34px;
  right: 0;
  width: min(360px, 70vw);
  padding: 10px;
  border: 1px solid #c9ddd4;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(21, 37, 31, .18);
}

.note-editor textarea {
  width: 100%;
  min-height: 120px;
  resize: vertical;
}

.note-status {
  min-height: 18px;
  color: var(--customer-muted);
  font-size: 11px;
}

.customer-single-page {
  min-height: calc(100vh - 134px);
}

.customer-single-page > h2 {
  margin: 0;
  padding: 18px 20px;
  border-bottom: 1px solid var(--customer-line);
  color: var(--customer-ink);
  font-size: 18px;
}

.customer-page-intro {
  margin: 0;
  padding: 14px 20px;
  color: var(--customer-muted);
  background: #f7faf8;
}

.customer-mail-page .table-wrap,
.customer-log-page .table-wrap {
  max-height: calc(100vh - 260px);
  margin: 18px;
}

.customer-mail-page input {
  width: 100%;
  min-width: 160px;
}

.mail-actions {
  min-width: 190px;
}

.mail-actions form {
  display: inline;
}

.customer-upload-panel {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(220px, 360px) auto;
  gap: 14px;
  align-items: center;
  margin: 18px;
  padding: 16px;
  border: 1px solid #cfe0d8;
  border-radius: 14px;
  background: #f5faf7;
}

.customer-upload-panel p {
  margin: 5px 0 0;
  color: var(--customer-muted);
  font-size: 12px;
}

.log-status {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--customer-green);
  background: #e7f2ed;
  font-weight: 800;
}

.log-detail {
  min-width: 320px;
  white-space: normal;
}

@media (max-width: 900px) {
  .customer-upload-panel {
    grid-template-columns: 1fr;
  }
}

/* 2026-07-24 客户跟进交互修正：页面滚动、备注摘要、邮件目录 */
.customer-dashboard-page .customer-section,
.customer-dashboard-page .customer-control-panel,
.customer-dashboard-page .customer-single-page {
  overflow: visible;
}

.customer-dashboard-page .table-wrap,
.customer-dashboard-page .customer-mail-page .table-wrap,
.customer-dashboard-page .customer-log-page .table-wrap {
  max-height: none;
  overflow-x: auto;
  overflow-y: hidden;
}

.customer-dashboard-page .batchbar {
  justify-content: flex-start;
}

.customer-dashboard-page .customer-page-count {
  margin-right: 0;
  margin-left: auto;
}

.customer-dashboard-page .phone-toggle,
.customer-dashboard-page .phone-toggle:hover,
.customer-dashboard-page .phone-toggle:focus,
.customer-dashboard-page .phone-toggle.is-expanded {
  padding: 0;
  border: 0;
  outline: 0;
  color: var(--customer-ink);
  background: transparent;
  box-shadow: none;
  text-decoration: none;
  font-weight: 500;
}

.customer-dashboard-page .note-disclosure summary {
  max-width: 150px;
  justify-content: flex-start;
  overflow: hidden;
  color: var(--customer-ink);
  background: #f6f8f6;
  border-color: var(--customer-line);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.customer-dashboard-page .customer-control-panel.time-filter form {
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
}

.customer-mail-add {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr)) auto;
  gap: 12px;
  align-items: end;
  margin: 18px;
  padding: 14px;
  border: 1px solid #cfe0d8;
  border-radius: 14px;
  background: #f5faf7;
}

.customer-mail-add label {
  margin: 0;
}

.customer-mail-directory,
.customer-mail-logs {
  margin: 18px;
}

.customer-mail-log-title {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 28px 18px 0;
  padding-top: 20px;
  border-top: 1px solid var(--customer-line);
}

.customer-mail-log-title strong {
  color: var(--customer-ink);
  font-size: 16px;
}

.customer-mail-log-title span {
  color: var(--customer-muted);
  font-size: 12px;
}

@media (max-width: 900px) {
  .customer-dashboard-page .customer-control-panel.time-filter form,
  .customer-mail-add {
    grid-template-columns: 1fr;
  }
}

.customer-dashboard-page .batchbar {
  gap: 7px;
  margin-bottom: 7px;
}

.customer-dashboard-page .batchbar button,
.customer-dashboard-page .batchbar .button-link {
  padding: 6px 9px;
  min-height: 30px;
  font-size: 12px;
}

.customer-dashboard-page th,
.customer-dashboard-page td {
  padding: 7px 8px;
  font-size: 12px;
  line-height: 1.35;
}

.customer-dashboard-page th {
  font-size: 11px;
}

.customer-dashboard-page .table-wrap {
  max-height: 520px;
}

.customer-dashboard-page .suggest-menu {
  max-height: 240px;
}

.customer-admin-guide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-left: 6px solid #b42318;
}

.customer-admin-guide h1 {
  margin: 0 0 4px;
  color: #991b1b;
  font-size: 25px;
}

.customer-admin-guide p {
  margin: 0;
  color: var(--muted);
}

.customer-admin-guide nav {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.customer-admin-guide nav a {
  padding: 8px 11px;
  border-radius: 6px;
  background: #7f1d1d;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 750;
}

@media (max-width: 900px) {
  .portal-topbar .topbar-inner {
    grid-template-columns: 1fr auto;
  }
  .portal-platform-title {
    grid-column: 1 / -1;
    grid-row: 2;
  }
  .portal-home-logo img {
    width: min(360px, 55vw);
  }
  .portal-grid {
    grid-template-columns: repeat(5, minmax(180px, 1fr));
  }
  .portal-grid .tile {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }
  .customer-admin-guide {
    align-items: flex-start;
    flex-direction: column;
  }
  .customer-local-nav {
    align-items: flex-start;
    flex-direction: column;
  }
  .customer-local-nav nav {
    justify-content: flex-start;
  }
  .customer-dashboard-layout {
    grid-template-columns: 1fr;
  }
  .customer-side {
    position: static;
  }
  .customer-admin-guide nav {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .portal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .portal-grid .tile {
    padding: 14px;
  }
  .portal-grid .tile strong {
    font-size: 18px;
  }
  .portal-grid .tile span {
    font-size: 12px;
  }
  .portal-topbar .topbar-inner {
    display: flex;
  }
  .portal-platform-title {
    order: 2;
  }
}

/* Portal home: four-column layout with icon cards. */
.tile.teal { --accent: #0d9488; }
.tile.rose { --accent: #e11d48; }

/* ===== 模块图标系统 ===== */
.tile-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  border-radius: 14px;
  margin-right: 14px;
}
.tile-icon svg {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

/* 图标渐变背景 */
.icon-red    { background: linear-gradient(135deg, #ef5350, #c62828); }
.icon-orange { background: linear-gradient(135deg, #ffa726, #e65100); }
.icon-yellow { background: linear-gradient(135deg, #ffca28, #f9a825); }
.icon-green  { background: linear-gradient(135deg, #66bb6a, #2e7d32); }
.icon-cyan   { background: linear-gradient(135deg, #26c6da, #00838f); }
.icon-blue   { background: linear-gradient(135deg, #42a5f5, #1565c0); }
.icon-violet { background: linear-gradient(135deg, #9575cd, #512da8); }
.icon-teal   { background: linear-gradient(135deg, #4db6ac, #00796b); }
.icon-rose   { background: linear-gradient(135deg, #f06292, #c2185b); }

/* 卡片内部flex布局：左图标 + 右文字 */
main.portal-index .portal-grid .tile > div {
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.tile-body {
  display: flex;
  align-items: flex-start;
  width: 100%;
  gap: 0;
}
.tile-text {
  flex: 1;
  min-width: 0;
}
main.portal-index {
  max-width: 1180px;
  padding: 24px 24px 36px;
}

main.portal-index > .hint {
  margin: 0 0 18px;
  text-align: center;
}

main.portal-index .portal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  justify-content: stretch;
  align-items: stretch;
}

main.portal-index .portal-grid .tile {
  width: auto;
  min-width: 0;
  min-height: 150px;
  padding: 18px 16px 14px;
  gap: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

main.portal-index .portal-grid .tile strong {
  font-size: 17px;
  line-height: 1.3;
  word-break: keep-all;
  display: block;
  margin-bottom: 4px;
}

main.portal-index .portal-grid .tile span {
  margin-top: 0;
  font-size: 12.5px;
  line-height: 1.5;
  display: block;
}

main.portal-index .portal-grid .tile em {
  padding: 4px 9px;
  font-size: 12px;
}

/* 底部色条（覆盖默认的顶部色条） */
main.portal-index .portal-grid .tile {
  border-top: 1px solid #e8ecf1;
  border-bottom: 4px solid var(--accent);
  border-radius: 12px;
}

main.portal-index .portal-grid .tile .tile-updated {
  padding-top: 8px;
  font-size: 10px;
  line-height: 1.35;
}

@media (max-width: 1120px) {
  main.portal-index .portal-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  main.portal-index {
    padding: 18px 16px 28px;
  }
  main.portal-index .portal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  main.portal-index .portal-grid .tile {
    min-height: 140px;
    padding: 14px 12px 10px;
  }
  main.portal-index .portal-grid .tile .tile-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    margin-right: 11px;
  }
  main.portal-index .portal-grid .tile .tile-icon svg {
    width: 26px;
    height: 26px;
  }
  main.portal-index .portal-grid .tile strong {
    font-size: 16px;
  }
  main.portal-index .portal-grid .tile span {
    font-size: 11.5px;
  }
}

@media (max-width: 640px) {
  main.portal-index .portal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  main.portal-index .portal-grid .tile {
    min-height: 130px;
    padding: 12px 10px 10px;
  }
  main.portal-index .portal-grid .tile .tile-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    margin-right: 10px;
  }
  main.portal-index .portal-grid .tile .tile-icon svg {
    width: 24px;
    height: 24px;
  }
  main.portal-index .portal-grid .tile strong {
    font-size: 15px;
  }
  main.portal-index .portal-grid .tile span {
    font-size: 11px;
  }
}

@media (max-width: 420px) {
  main.portal-index .portal-grid {
    grid-template-columns: 1fr;
  }
  main.portal-index .portal-grid .tile {
    height: auto;
    min-height: 128px;
  }
}

/* Keep the dashboard shell authoritative over earlier legacy customer rules. */
main.customer-dashboard-page {
  margin: 0;
  padding: 0;
  max-width: none;
  background: #f5f7f5;
}

.customer-dashboard-page .customer-section,
.customer-dashboard-page .customer-control-panel {
  padding: 0;
  margin-bottom: 18px;
  border-radius: 18px;
}

.customer-dashboard-page .customer-section > h2,
.customer-dashboard-page .customer-control-panel > h2 {
  margin: 0;
  padding: 14px 18px;
  font-size: 16px;
}

.customer-dashboard-page .customer-section form,
.customer-dashboard-page .customer-control-panel form {
  padding: 18px;
}

.customer-dashboard-page .customer-control-panel .quick-extra {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.customer-dashboard-page .customer-control-panel.time-filter form {
  grid-template-columns: repeat(2, minmax(180px, 1fr)) auto;
}

.customer-dashboard-page .button-link {
  background: #2d8b6d !important;
}

.customer-dashboard-page .button-link:hover {
  background: #176b50 !important;
}

@media (max-width: 1100px) {
  .customer-dashboard-page .customer-control-panel .quick-extra {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .customer-dashboard-page .customer-control-panel .quick-extra,
  .customer-dashboard-page .customer-control-panel.time-filter form {
    grid-template-columns: 1fr;
  }
}

/* Final customer-page scroll and filter authority. */
.customer-dashboard-page .table-wrap,
.customer-dashboard-page .customer-mail-page .table-wrap,
.customer-dashboard-page .customer-log-page .table-wrap {
  max-height: none;
  overflow-x: auto;
  overflow-y: hidden;
}

.customer-dashboard-page .customer-control-panel.time-filter form {
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
}

@media (max-width: 760px) {
  .customer-dashboard-page .customer-control-panel.time-filter form {
    grid-template-columns: 1fr;
  }
}

/* 2026-07-26: expanded workspace, stable table geometry and neutral suggestions. */
.unified-module-header {
  position: fixed !important;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1200;
  transform: translateY(calc(-100% + 7px));
  transition: transform .2s ease, box-shadow .2s ease;
}

.unified-module-header:hover,
.unified-module-header:focus-within,
.portal-shell-header:hover,
.portal-shell-header:focus-within,
body.module-header-visible .unified-module-header,
body.module-header-visible .portal-shell-header {
  transform: translateY(0);
  box-shadow: 0 10px 30px rgba(21, 37, 31, .16);
}

.customer-dashboard-page .customer-table {
  width: 100%;
  min-width: 920px;
  table-layout: fixed;
}

.customer-dashboard-page .customer-table .col-check { width: 42px; }
.customer-dashboard-page .customer-table .col-no { width: 50px; }
.customer-dashboard-page .customer-table .col-name { width: 23%; }
.customer-dashboard-page .customer-table .col-cert { width: 19%; }
.customer-dashboard-page .customer-table .col-province { width: 8%; }
.customer-dashboard-page .customer-table .col-city { width: 9%; }
.customer-dashboard-page .customer-table .col-date { width: 10%; }
.customer-dashboard-page .customer-table .col-actions { width: 92px; }
.customer-dashboard-page .customer-table .col-note { width: 13%; }
.customer-dashboard-page .customer-table .col-phone { width: 15%; }

.customer-dashboard-page .section-follow .col-name {
  width: 25%;
}

.customer-dashboard-page .section-follow .col-cert {
  width: 22%;
}

.customer-dashboard-page .phone-toggle {
  max-width: 100%;
  overflow: hidden;
  text-align: left;
  text-overflow: ellipsis;
  white-space: pre-line;
}

.customer-dashboard-page .suggest-menu,
.customer-dashboard-page .suggest-menu button,
.customer-dashboard-page .suggest-menu button:hover,
.customer-dashboard-page .suggest-menu button:focus {
  color: var(--customer-ink) !important;
  background: #fff !important;
}

.customer-dashboard-page .suggest-menu button:hover,
.customer-dashboard-page .suggest-menu button:focus {
  background: #f3f6f4 !important;
}

@media (prefers-reduced-motion: reduce) {
  .unified-module-header,
  .portal-shell-header {
    transition: none;
  }
}
