[hidden] { display: none !important; }
.customer-vehicle-select { width: 100%; margin: 8px 0 16px; padding: 12px; border: 1px solid #ddd; background: #fff; color: #222; border-radius: 4px; font: inherit; }
.customer-loading { padding: 28px 20px; }
.customer-loading:has(#memberLoadStatus[hidden]) { display: none; }
.customer-page { margin: 0; background: #f6f7f8; color: #222; font-family: "Microsoft YaHei", sans-serif; }
.customer-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; min-height: 76px; padding: 18px max(20px, calc((100vw - 1080px)/2)); background: white; border-bottom: 1px solid #eee; }
.customer-header-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.customer-header-avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 1px solid #eee; }
.customer-header-logo { width: 100px; height: auto; }
.customer-header img { width: 110px; height: auto; }
.customer-header nav { display: flex; flex-wrap: wrap; gap: 20px; }
.customer-header a { color: #333; text-decoration: none; }
.customer-header a:hover { color: #d90022; }
.customer-main { max-width: 900px; margin: 48px auto; padding: 0 20px; }
.customer-main h1 { margin: 0 0 12px; font-size: clamp(26px, 5vw, 36px); }
.customer-lead, .customer-muted { color: #666; font-size: 14px; line-height: 1.8; }
.customer-panel { background: #fff; padding: 28px; margin: 24px 0; border: 1px solid #e7e7e7; border-radius: 8px; }

/* 官方客服专席展示卡片 */
.support-official-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  margin-bottom: 20px;
  background: #fdfdfd;
  border: 1px solid #f0e6e6;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.support-official-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid #ecdcdc;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.support-official-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.support-official-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.support-official-title {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
}
.support-official-desc {
  font-size: 12px;
  color: #666;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.support-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
  display: inline-block;
}

.support-action-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.customer-fields { display: grid; grid-template-columns: 110px minmax(0,1fr); gap: 16px; margin: 24px 0; }
.customer-fields dt { color: #777; }
.customer-fields dd { margin: 0; overflow-wrap: anywhere; }
.customer-note { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.9; }
.customer-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 22px; background: #df0024; color: white; border: 0; border-radius: 4px; cursor: pointer; text-decoration: none; font: inherit; }
.customer-button:disabled { opacity: .55; cursor: wait; }
.customer-status { color: #555; line-height: 1.7; overflow-wrap: anywhere; }
.customer-status[data-error="true"] { color: #b00020; }

.customer-messages { display: flex; flex-direction: column; gap: 18px; max-height: 55vh; min-height: 220px; overflow-y: auto; padding: 12px 4px; }
.customer-message-row { display: flex; align-items: flex-start; gap: 10px; max-width: 88%; align-self: flex-start; }
.customer-message-row--own { align-self: flex-end; justify-content: flex-end; }
.customer-msg-avatar { width: 38px; height: 38px; border-radius: 50%; overflow: hidden; flex-shrink: 0; border: 1px solid #e8e8e8; background: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 4px rgba(0,0,0,0.06); }
.customer-msg-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.customer-msg-avatar--own { background: #e60012; color: #ffffff; font-size: 13px; font-weight: 700; border-color: #e60012; }

.customer-message { border-radius: 10px; padding: 12px 16px; background: #f0f2f5; box-shadow: 0 1px 3px rgba(0,0,0,0.02); word-break: break-word; }
.customer-message--own { background: #fff0f2; border: 1px solid #ffe1e5; }
.customer-message small { color: #888; font-size: 11px; display: block; margin-bottom: 4px; }
.customer-message p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.6; font-size: 14px; color: #222; }
.customer-message-image { display: block; max-width: min(280px, 65vw); max-height: 320px; width: auto; height: auto; border-radius: 6px; }

.customer-compose { display: grid; gap: 12px; margin-top: 24px; }
.customer-compose textarea { width: 100%; padding: 14px; border: 1px solid #ccc; border-radius: 4px; resize: vertical; font: inherit; box-sizing: border-box; }
.customer-compose .customer-button { justify-self: end; }
.customer-footer { padding: 30px 20px; text-align: center; color: #777; font-size: 12px; }
@media(max-width:560px) { .customer-main { margin-top: 30px; } .customer-panel { padding: 16px; } .customer-fields { grid-template-columns: 85px minmax(0,1fr); } .customer-header nav { gap: 12px; font-size: 13px; } .customer-message-row { max-width: 95%; } }
