.admin-nav-icon svg { width: 19px; height: 19px; }
.wechat-page .visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.wechat-actions, .wechat-filters, .wechat-date-form { display: flex; align-items: center; gap: 10px; }
.wechat-page .admin-page-title { margin: 0; font-size: 21px; }
.wechat-filters { flex-wrap: wrap; margin-bottom: 18px; }
.wechat-date-form { margin-left: auto; gap: 8px; color: var(--muted); font-size: 12px; }
.wechat-filters select, .wechat-filters input { min-height: 38px; padding: 0 10px; border: 1px solid var(--line); border-radius: 7px; background: #fff; color: var(--text); font: inherit; font-size: 12px; }
.wechat-filters select { min-width: 145px; }
.wechat-filters input { min-width: 132px; }
.wechat-page :is(button, select, input, summary):focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.wechat-page ::selection { color: #fff; background: var(--primary); }
.wechat-page input { caret-color: var(--primary); }
.wechat-notice, .wechat-job { padding: 11px 14px; margin: 0 0 14px; border: 1px solid var(--line); border-radius: 7px; background: #fff; color: var(--muted); font-size: 12px; line-height: 1.7; }
.wechat-job { color: #265399; background: #f3f7fd; border-color: #d6e1f2; }
.wechat-summary strong { font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.wechat-summary small { display: block; margin-top: 7px; color: #526176; line-height: 1.5; }
.wechat-summary > div { min-width: 0; }
.wechat-summary strong { overflow-wrap: anywhere; }
.wechat-trend-card, .wechat-account-card, .wechat-detail-card { margin-bottom: 18px; }
.wechat-chart { width: 100%; height: 230px; }
.wechat-table { width: 100%; }
.wechat-table td { vertical-align: middle; }
.wechat-table small { display: block; margin-top: 5px; color: #526176; font-size: 11px; line-height: 1.5; }
.wechat-table .wechat-number { color: var(--text); text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.wechat-table th:not(:first-child):not(:last-child) { text-align: right; }
.wechat-table abbr { text-decoration: underline dotted; text-underline-offset: 4px; cursor: help; }
.wechat-account-name { min-width: 100px; }
.wechat-account-name button { padding: 0; border: 0; background: transparent; color: var(--primary); font: inherit; font-weight: 600; text-align: left; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; cursor: pointer; }
.wechat-account-name button:hover { text-decoration-color: currentColor; }
.wechat-state { display: inline-block; max-width: 280px; color: #526176; font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.wechat-state.ok { color: #247347; }
.wechat-state.error, .wechat-state.unauthorized { color: #a13d32; }
.wechat-state.delayed { color: #8b5b16; }
.wechat-state.partial { color: #8b5b16; }
.wechat-channel-states { display: grid; gap: 5px; min-width: 245px; }
.wechat-channel-state { display: flex; align-items: baseline; gap: 10px; }
.wechat-channel-name { flex: 0 0 48px; color: #526176; font-size: 12px; }
.wechat-issue-dates { margin-top: 6px; max-width: 290px; color: #526176; font-size: 12px; line-height: 1.7; }
.wechat-issue-dates summary { cursor: pointer; color: var(--primary); }
.wechat-issue-dates div { margin-top: 5px; overflow-wrap: anywhere; }
.wechat-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 18px; margin-bottom: 18px; }
.wechat-detail-grid .wechat-table { min-width: 0; }
.wechat-settlement-summary { padding: 0 14px 14px; font-size: 12px; line-height: 1.7; color: var(--muted); font-variant-numeric: tabular-nums; }
.wechat-status-details { padding: 16px 0; border-bottom: 1px solid var(--line); }
.wechat-status-details summary { width: fit-content; color: var(--text); font-size: 13px; cursor: pointer; }
.wechat-status-details[open] summary { margin-bottom: 14px; }
.wechat-status-details .wechat-table { min-width: 720px; }
.wechat-definitions { margin-top: 16px; }
.wechat-page .admin-table-scroll { scrollbar-width: thin; scrollbar-color: #c5cedc transparent; }
.wechat-page [aria-busy="true"] { cursor: progress; }
.wechat-page .button:disabled { cursor: default; opacity: .55; }
@media (max-width: 1200px) {
  .wechat-date-form { margin-left: 0; }
  .wechat-detail-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  .wechat-page .admin-page-header { align-items: center; flex-direction: row; flex-wrap: wrap; gap: 12px; }
  .wechat-actions { gap: 6px; flex-wrap: wrap; }
  .wechat-filters { gap: 10px; }
  .wechat-account-filter, .wechat-filters select { width: 100%; }
  .wechat-page .analytics-range-filters { flex: 1; display: flex; }
  .wechat-page .analytics-range-filters button { flex: 1; min-height: 38px; }
  .wechat-date-form { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto; gap: 6px; }
  .wechat-date-form label, .wechat-date-form input { min-width: 0; width: 100%; box-sizing: border-box; }
  .wechat-date-form input { padding: 0 5px; font-size: 11px; }
  .wechat-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wechat-summary > div { padding: 14px 12px; }
  .wechat-summary strong { font-size: 21px; }
  .wechat-summary small { font-size: 10px; }
  .wechat-chart { height: 200px; }
  .wechat-table { min-width: 760px; }
  .wechat-detail-grid .wechat-table { min-width: 450px; }
  .wechat-trend-card .admin-table-heading { align-items: flex-start; flex-direction: column; justify-content: center; gap: 5px; }
}
