:root {
  --bg: #edf4fb;
  --surface: #ffffff;
  --line: #d9e6f4;
  --primary: #0d5db8;
  --primary-deep: #0a3972;
  --primary-soft: #eaf3ff;
  --text: #1b2a3a;
  --muted: #6b7c92;
  --accent: #ff8b2b;
  --shadow: 0 18px 45px rgba(29, 77, 135, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(13, 93, 184, 0.16), transparent 22%),
    linear-gradient(180deg, #f9fbff 0%, var(--bg) 100%);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
}

.wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.18), transparent 16%),
    linear-gradient(90deg, var(--primary-deep), var(--primary));
  color: #fff;
  box-shadow: var(--shadow);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
}

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

.brand-logo {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  flex: 0 0 auto;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.brand-copy {
  min-width: 0;
}

.brand h1 {
  margin: 0;
  font-size: 25px;
  letter-spacing: 0.02em;
}

.brand p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nav a {
  padding: 10px 16px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  transition: background 0.2s ease, transform 0.2s ease;
}

.nav a.active,
.nav a:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.nav .auth-nav-link {
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
}

.auth-menu {
  position: relative;
  padding-bottom: 10px;
  margin-bottom: -10px;
}

.auth-menu-trigger {
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.auth-menu-panel {
  position: absolute;
  top: calc(100% + 2px);
  right: 0;
  z-index: 30;
  min-width: 190px;
  display: none;
  padding: 8px;
  border: 1px solid rgba(217, 230, 244, 0.9);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 48px rgba(5, 31, 66, 0.18);
  animation: authMenuIn 0.16s ease both;
}

.auth-menu:hover .auth-menu-panel,
.auth-menu:focus-within .auth-menu-panel {
  display: grid;
  gap: 4px;
}

.auth-menu-panel a,
.auth-menu-panel button {
  display: block;
  width: 100%;
  height: auto;
  padding: 10px 12px;
  border: 0;
  border-radius: 12px;
  color: var(--text);
  background: transparent;
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.auth-menu-panel a:hover,
.auth-menu-panel button:hover {
  color: var(--primary);
  background: var(--primary-soft);
}

.auth-user-card {
  width: min(430px, calc(100vw - 24px));
  padding: 16px;
  border-radius: 14px;
  color: #26384d;
  background: rgba(255, 255, 255, 0.99);
}

.auth-menu:hover .auth-user-card,
.auth-menu:focus-within .auth-user-card {
  display: block;
}

.user-card-head {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.user-card-avatar {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-weight: 900;
  background:
    radial-gradient(circle at 32% 25%, rgba(255, 255, 255, 0.95), transparent 16%),
    linear-gradient(145deg, #8ed7ff, #2c75d6);
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.42);
}

.user-card-info {
  min-width: 0;
}

.user-card-info strong {
  display: block;
  color: #1e293b;
  font-size: 16px;
  line-height: 1.4;
}

.user-card-info span {
  display: block;
  margin-top: 2px;
  color: #667085;
  font-size: 12px;
  line-height: 1.5;
}

.user-card-info b {
  color: #8a4b16;
}

.user-card-center {
  white-space: nowrap;
  padding: 4px 0;
  color: #1f2a3a;
  font-size: 14px;
}

.user-vip-banner {
  margin-top: 16px;
  padding: 14px;
  border: 1px solid #dce8f6;
  border-radius: 14px;
  background:
    radial-gradient(circle at 92% 15%, rgba(255, 193, 112, 0.2), transparent 20%),
    linear-gradient(135deg, #f8fbff, #eef6ff);
}

.vip-banner-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.vip-banner-top div {
  min-width: 220px;
}

.vip-banner-top strong {
  display: block;
  color: #173b6b;
  font-size: 15px;
  line-height: 1.35;
  white-space: nowrap;
}

.vip-banner-top span {
  display: block;
  margin-top: 4px;
  color: #667085;
  font-size: 12px;
  line-height: 1.45;
}

.vip-banner-top a {
  width: 118px;
  padding: 8px 13px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(180deg, #ff9f3f, #f36c11);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
  box-shadow: 0 10px 20px rgba(243, 108, 17, 0.16);
}

.vip-feature-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
  margin-top: 12px;
  text-align: center;
}

.vip-feature-row span {
  position: relative;
  display: grid;
  gap: 6px;
  color: #31557f;
  font-size: 11px;
  line-height: 1.35;
}

.vip-feature-row span::before {
  content: "";
  width: 28px;
  height: 28px;
  margin: 0 auto;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #ff8b2b 0 23%, transparent 25%),
    #ffffff;
  box-shadow: 0 6px 14px rgba(49, 85, 127, 0.08);
}

.user-menu-section {
  margin-top: 16px;
}

.user-menu-section p {
  margin: 0 0 8px;
  color: #7a8699;
  font-size: 13px;
}

.user-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.user-service-grid a {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 10px;
  align-items: center;
  min-height: 70px;
  padding: 12px 11px;
  border: 1px solid #eef3fa;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(18, 63, 112, 0.06);
}

.user-service-grid i {
  grid-row: 1 / 3;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #1e65bd;
  background: #eef6ff;
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
}

.user-service-grid strong {
  color: #1f2937;
  font-size: 14px;
}

.user-service-grid span {
  color: #7b8794;
  font-size: 12px;
}

.user-tool-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 8px 4px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(18, 63, 112, 0.06);
}

.user-tool-grid a {
  padding: 8px 4px;
  border-radius: 8px;
  color: #1f2937;
  text-align: center;
  font-size: 13px;
  white-space: nowrap;
}

.user-card-foot {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 10px;
}

.user-card-foot button {
  width: auto;
  padding: 4px 0;
  color: #9aa3af;
  background: transparent;
  font-size: 13px;
  font-weight: 400;
}

@keyframes authMenuIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stage-shell {
  margin-top: 24px;
  padding: 22px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(13, 93, 184, 0.1), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(241, 247, 255, 0.94));
  border: 1px solid #dce8f6;
  box-shadow: 0 18px 45px rgba(31, 84, 141, 0.1);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.hero-inner-single {
  grid-template-columns: 1fr;
}

.search-card,
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.search-card {
  padding: 24px 26px;
}

.panel {
  padding: 24px;
}

.filter-panel-plain {
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.filter-tab {
  border: 1px solid #d9e7f7;
  background: #f7fbff;
  color: #264363;
  padding: 10px 18px;
  border-radius: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-tab:hover,
.filter-tab.active {
  background: linear-gradient(180deg, #1f6ed1, #0d5db8);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 22px rgba(13, 93, 184, 0.18);
}

.filter-form-block {
  display: grid;
  gap: 16px;
}

.keyword-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border: 1px solid #d8e8f8;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 10px 22px rgba(22, 70, 126, 0.05);
}

.keyword-search-row input {
  height: 48px;
  padding: 0 14px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  box-shadow: none;
}

.keyword-search-row input:focus {
  border-color: transparent;
  box-shadow: none;
  background: #fff;
}

.keyword-search-row .filter-submit {
  min-width: 0;
  width: 100%;
  height: 48px;
  border-radius: 13px;
  background: linear-gradient(180deg, #ff8a24, #ff6a12);
  box-shadow: 0 12px 24px rgba(255, 106, 18, 0.22);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.keyword-search-row .filter-submit:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
  box-shadow: 0 16px 30px rgba(255, 106, 18, 0.28);
}

.filter-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 14px;
  align-items: end;
}

.filter-field {
  display: grid;
  gap: 8px;
}

.filter-field label {
  font-size: 14px;
  color: var(--muted);
  font-weight: 700;
}

input,
select,
button {
  font: inherit;
}

input,
select,
textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fbfdff;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(13, 93, 184, 0.45);
  box-shadow: 0 0 0 4px rgba(13, 93, 184, 0.09);
  background: #fff;
}

textarea {
  min-height: 150px;
  resize: vertical;
  line-height: 1.7;
}

button {
  border: none;
  border-radius: 14px;
  background: linear-gradient(180deg, var(--accent), #f36c11);
  color: #fff;
  padding: 0 24px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.filter-submit {
  min-width: 140px;
  height: 52px;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.stat-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.98));
  border: 1px solid #dfeaf7;
  border-radius: 18px;
  padding: 16px 18px;
}

.stat-value {
  font-size: 34px;
  font-weight: 800;
  color: var(--primary-deep);
  line-height: 1;
}

.stat-label {
  margin-top: 6px;
  font-size: 14px;
  color: var(--muted);
}

.latest-panel,
.page-main {
  margin-top: 22px;
}

.latest-top {
  margin-top: 18px;
}

.filters-panel {
  margin-top: 24px;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.panel-head-stack {
  align-items: flex-start;
}

.panel-head h3 {
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.01em;
}

.panel-head span {
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
}

.latest-list,
.list-container {
  display: grid;
  gap: 14px;
}

.notice-item,
.latest-item {
  padding: 18px 18px 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #f6faff);
  border: 1px solid #dfebf7;
  box-shadow: 0 8px 18px rgba(21, 78, 133, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card-link:hover {
  transform: translateY(-2px);
  border-color: rgba(13, 93, 184, 0.24);
  box-shadow: 0 16px 28px rgba(21, 78, 133, 0.1);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  gap: 12px;
}

.card-type {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.type-bidding {
  background: #e8f1ff;
  color: #1759b6;
  border: 1px solid #cfe0fb;
}

.type-winning {
  background: #ebf8ef;
  color: #1f7a3d;
  border: 1px solid #cfead7;
}

.type-intention {
  background: #fff3e6;
  color: #b76512;
  border: 1px solid #ffdcb6;
}

.type-generic {
  background: #eef2f7;
  color: #5f7086;
  border: 1px solid #dde5ef;
}

.card-arrow {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.notice-item h4,
.latest-item h4 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f1f7ff;
  border: 1px solid #e1ecf8;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.org-line {
  color: #45566d;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}

.list-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.list-fact {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid #e3edf8;
  border-radius: 8px;
  background: #f8fbff;
  color: #2c4058;
  font-size: 13px;
}

.list-fact em {
  color: #78889a;
  font-style: normal;
  font-weight: 700;
}

.list-fact strong {
  color: #12365f;
  font-weight: 800;
}

.summary {
  margin-top: 12px;
  color: #526275;
  line-height: 1.75;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.empty-state {
  display: block;
  -webkit-line-clamp: initial;
}

.pagination {
  margin-top: 22px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.pagination-inline {
  display: block;
}

.pagination-bar {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 10px;
  color: #35506f;
  min-width: max-content;
  white-space: nowrap;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 6px;
}

.page-link,
.page-ellipsis,
.page-status {
  font-size: 15px;
  line-height: 1.6;
}

.page-link {
  color: #31557f;
  padding: 2px 4px;
  border-radius: 8px;
}

.page-link:hover {
  color: var(--primary);
  background: rgba(13, 93, 184, 0.08);
}

.page-link.is-active {
  color: var(--primary);
  font-weight: 700;
}

.page-link.is-disabled {
  color: #9babc0;
  pointer-events: none;
}

.page-ellipsis {
  color: #8fa3bb;
}

.page-jump {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px;
  margin-left: 8px;
  padding-left: 10px;
  border-left: 1px solid #d9e6f4;
}

.page-jump input {
  width: 82px;
  min-width: 82px;
  padding: 7px 10px;
  border-radius: 12px;
}

.page-jump button {
  padding: 7px 14px;
  border-radius: 12px;
  height: auto;
}

.detail-panel {
  margin-top: 24px;
}

.detail-meta h2 {
  margin: 0 0 14px;
  font-size: 30px;
  line-height: 1.35;
}

.detail-summary {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: linear-gradient(180deg, #f7fbff, #f2f8ff);
  border: 1px solid #dce8f6;
}

.detail-summary-label {
  display: inline-flex;
  align-items: center;
  margin-bottom: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #e9f2ff;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
}

.detail-summary-text {
  color: #4f6278;
  line-height: 1.75;
  font-size: 14px;
}

.detail-actions {
  margin-top: 14px;
}

.follow-action-btn {
  width: auto;
  height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(180deg, #ff8c2b, #ff6b11);
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(255, 107, 17, 0.16);
}

.follow-action-btn.is-followed {
  color: var(--primary);
  background: var(--primary-soft);
  box-shadow: none;
}

.user-center-panel {
  margin-top: 24px;
}

.profile-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(circle at top left, rgba(13, 93, 184, 0.12), transparent 24%),
    linear-gradient(180deg, #ffffff, #f7fbff);
}

.profile-hero .eyebrow {
  display: inline-flex;
  padding: 7px 13px;
  border-radius: 999px;
  color: var(--primary);
  background: var(--primary-soft);
  font-weight: 900;
}

.profile-hero h2 {
  margin: 14px 0 8px;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.2;
}

.profile-hero p {
  margin: 0;
  color: var(--muted);
}

.profile-action {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(180deg, #ff8c2b, #ff6b11);
  font-weight: 900;
}

.profile-action-small {
  min-height: 36px;
  padding: 0 14px;
  font-size: 14px;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.profile-field {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fbfdff;
}

.profile-field span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
}

.profile-field strong {
  color: var(--text);
  word-break: break-word;
}

.profile-editor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.profile-card,
.password-panel,
.service-form,
.complaint-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: 0 12px 28px rgba(21, 78, 133, 0.06);
}

.profile-card {
  padding: 16px;
}

.profile-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.profile-card-head span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.profile-card-head button {
  height: auto;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  box-shadow: none;
}

.profile-card strong {
  display: block;
  min-height: 26px;
  color: var(--text);
  word-break: break-word;
}

.profile-edit-form {
  display: none;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: 12px;
}

.profile-card.is-editing .profile-edit-form {
  display: grid;
}

.profile-account-row.is-editing .profile-edit-form {
  display: grid;
}

.profile-account-row.is-editing [data-profile-value] {
  display: none;
}

.profile-edit-form input {
  padding: 10px 12px;
}

.profile-edit-form button {
  height: auto;
  padding: 0 14px;
}

.profile-service-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.service-mini-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  color: var(--primary);
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(13, 93, 184, 0.08);
}

.password-panel {
  margin-top: 18px;
  padding: 20px;
}

.password-panel h3 {
  margin: 0 0 14px;
  font-size: 22px;
}

.password-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 12px;
  align-items: center;
}

.password-form button {
  min-height: 48px;
}

.code-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.code-field button {
  min-height: 48px;
  padding: 0 18px;
}

.service-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
  padding: 22px;
}

.service-form label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 800;
}

.service-form label span {
  color: var(--muted);
  font-size: 14px;
}

.complaint-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.complaint-card {
  padding: 18px 20px;
  border-radius: 16px;
  background: #fff;
  box-shadow: none;
}

.complaint-card-link {
  position: relative;
  display: block;
  color: inherit;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.complaint-card-link:hover {
  transform: translateY(-2px);
  border-color: #b9d8ff;
  box-shadow: 0 16px 34px rgba(21, 78, 133, 0.1);
}

.complaint-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.complaint-card h4 {
  margin: 12px 0 8px;
  color: #0b2138;
  font-size: 19px;
}

.complaint-card p {
  margin: 0 0 12px;
  color: #45566d;
  line-height: 1.8;
  white-space: pre-wrap;
}

.complaint-card .meta {
  padding-top: 4px;
}

.service-status {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  background: #fff3e6;
  color: #b76512;
  border: 1px solid #ffdcb6;
}

.status-1 {
  background: #e8f1ff;
  color: #1759b6;
  border-color: #cfe0fb;
}

.status-2 {
  background: #ebf8ef;
  color: #1f7a3d;
  border-color: #cfead7;
}

.status-3 {
  background: #eef2f7;
  color: #5f7086;
  border-color: #dde5ef;
}

.service-remark {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--primary-soft);
  color: #31557f;
  line-height: 1.7;
}

.complaint-enter {
  display: inline-flex;
  margin-top: 12px;
  color: var(--primary);
  font-size: 14px;
}

.notice-list .complaint-card p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.service-detail-card,
.service-thread,
.service-message-form {
  margin-top: 22px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.detail-field {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border: 1px solid #d8e8fb;
  border-radius: 14px;
  background: #fff;
}

.detail-field span {
  color: #667085;
  font-size: 13px;
  font-weight: 800;
}

.detail-field strong {
  color: #0b2138;
  line-height: 1.6;
}

.service-thread h3,
.service-message-form h3 {
  margin: 0 0 16px;
  color: #0b2138;
  font-size: 21px;
}

.service-message-card {
  position: relative;
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
  padding: 16px 18px;
  border: 1px solid #d8e8fb;
  border-radius: 16px;
  background: #fff;
}

.service-message-card::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 16px;
  bottom: 16px;
  width: 4px;
  border-radius: 999px;
  background: var(--primary);
}

.service-message-card.sender-system::before {
  background: #94a3b8;
}

.service-message-card.sender-admin::before {
  background: #ff7a1a;
}

.service-message-card > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #667085;
  font-size: 13px;
}

.service-message-card strong {
  color: #0b2138;
  font-size: 15px;
}

.service-message-card p {
  margin: 0;
  color: #24364d;
  line-height: 1.8;
  white-space: pre-wrap;
}

.service-message-card img {
  max-width: 220px;
  max-height: 180px;
  border-radius: 12px;
  border: 1px solid #d8e8fb;
  object-fit: cover;
}

.service-message-form {
  display: grid;
  gap: 14px;
}

.service-message-form textarea {
  min-height: 130px;
  padding: 14px 16px;
  border: 1px solid #cfe0f4;
  border-radius: 16px;
  resize: vertical;
}

.profile-console {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 24px;
  min-height: 620px;
}

.profile-side-nav {
  display: grid;
  align-content: start;
  gap: 4px;
  padding: 10px 0;
  border-right: 1px solid #e7eef7;
}

.profile-side-nav p {
  margin: 16px 0 6px;
  padding: 0 16px;
  color: #667085;
  font-size: 13px;
  font-weight: 800;
}

.profile-side-nav a {
  position: relative;
  display: block;
  padding: 10px 16px;
  color: #334155;
  border-radius: 0;
  font-size: 14px;
}

.profile-side-nav a:hover,
.profile-side-nav a.active {
  color: var(--primary);
  background: #eef6ff;
  font-weight: 900;
}

.profile-side-nav a.active::after {
  content: "";
  position: absolute;
  top: 8px;
  right: -1px;
  width: 3px;
  height: calc(100% - 16px);
  border-radius: 999px;
  background: var(--primary);
}

.profile-account-main {
  min-width: 0;
  padding: 2px 4px 12px;
}

.profile-account-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 6px 0 18px;
  border-bottom: 1px solid #e7eef7;
}

.profile-account-title span {
  color: #111827;
  font-weight: 900;
}

.profile-account-title h2 {
  margin: 12px 0 0;
  color: #0b2138;
  font-size: 26px;
}

.profile-account-title a {
  flex: 0 0 auto;
  padding: 9px 18px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(180deg, #ff8c2b, #ff6b11);
  font-weight: 900;
}

.profile-account-section {
  padding: 22px 0;
  border-bottom: 1px solid #e7eef7;
}

.profile-account-section h3 {
  margin: 0 0 16px;
  color: #111827;
  font-size: 16px;
}

.profile-account-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 350px) 80px;
  gap: 12px;
  align-items: center;
  min-height: 52px;
}

.profile-account-row label {
  color: #7a8699;
  font-size: 14px;
}

.profile-row-main {
  min-width: 0;
}

.profile-row-main strong {
  display: block;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid #d7e2ef;
  background: #f8fafc;
  color: #1f2937;
  font-size: 14px;
  line-height: 20px;
}

.profile-account-row > button {
  width: auto;
  height: auto;
  padding: 6px 0;
  color: var(--primary);
  background: transparent;
  font-weight: 900;
}

.profile-account-row .profile-edit-form {
  grid-template-columns: minmax(0, 1fr) auto;
  margin-top: 8px;
}

.profile-password-line {
  display: grid;
  grid-template-columns: minmax(180px, 280px) 150px minmax(160px, 1fr) minmax(160px, 1fr) minmax(160px, 1fr) 100px;
  gap: 12px;
  align-items: center;
}

.profile-password-line input {
  padding: 11px 14px;
  border-radius: 4px;
}

.profile-password-line button {
  min-height: 44px;
  border-radius: 10px;
}

.profile-password-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  max-width: 560px;
  padding: 14px 16px;
  border: 1px solid #d7e2ef;
  background: #f8fafc;
}

.profile-password-summary strong {
  display: block;
  color: #1f2937;
  font-size: 14px;
}

.profile-password-summary span {
  display: block;
  margin-top: 4px;
  color: #7a8699;
  font-size: 13px;
}

.profile-password-summary button {
  width: auto;
  min-height: 38px;
  padding: 0 18px;
  border-radius: 999px;
}

.profile-password-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  place-items: center;
  padding: 18px;
}

.profile-password-modal.is-open {
  display: grid;
}

.profile-password-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 29, 54, 0.48);
  backdrop-filter: blur(8px);
}

.profile-password-card {
  position: relative;
  width: min(460px, 100%);
  padding: 28px;
  border: 1px solid rgba(217, 230, 244, 0.95);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 34px 90px rgba(5, 31, 66, 0.24);
  animation: authModalIn 0.22s ease both;
}

.profile-password-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 999px;
  color: var(--primary);
  background: #edf5ff;
  font-size: 22px;
  line-height: 1;
}

.profile-password-card .eyebrow {
  display: inline-flex;
  padding: 7px 13px;
  border-radius: 999px;
  color: var(--primary);
  background: var(--primary-soft);
  font-weight: 900;
}

.profile-password-card h3 {
  margin: 14px 0 18px;
  color: #0b2138;
  font-size: 22px;
}

.profile-password-form {
  display: grid;
  gap: 12px;
}

.profile-password-form button {
  min-height: 46px;
  border-radius: 12px;
}

.service-console {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 24px;
  min-height: 560px;
}

.service-side-nav {
  position: sticky;
  top: 18px;
}

.service-main {
  min-width: 0;
  padding: 2px 4px 12px;
}

.service-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 6px 0 20px;
  border-bottom: 1px solid #e7eef7;
}

.service-title span {
  color: var(--primary);
  font-weight: 900;
}

.service-title h2 {
  margin: 12px 0 8px;
  color: #0b2138;
  font-size: 28px;
}

.service-title p {
  max-width: 680px;
  margin: 0;
  color: #667085;
  line-height: 1.8;
}

.service-title a {
  flex: 0 0 auto;
  padding: 9px 18px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(180deg, #ff8c2b, #ff6b11);
  font-weight: 900;
}

.vip-plan-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0 4px;
}

.vip-plan-card {
  position: relative;
  display: grid;
  gap: 16px;
  min-height: 330px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid #d9e8f8;
  border-radius: 22px;
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 123, 24, 0.16), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 18px 44px rgba(20, 76, 130, 0.08);
}

.vip-plan-card::after {
  content: "";
  position: absolute;
  right: -48px;
  bottom: -60px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(13, 99, 189, 0.06);
}

.vip-plan-hot {
  border-color: #ffb36d;
  background:
    radial-gradient(circle at 86% 10%, rgba(255, 118, 24, 0.24), transparent 34%),
    linear-gradient(180deg, #fff8ed 0%, #fff 100%);
}

.vip-plan-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 1;
  padding: 6px 10px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(180deg, #ff8c2b, #ff6b11);
  font-size: 12px;
  font-weight: 900;
}

.vip-plan-title,
.vip-plan-price,
.vip-plan-quota,
.vip-plan-card ul,
.vip-plan-card a {
  position: relative;
  z-index: 1;
}

.vip-plan-title h3 {
  margin: 0;
  color: #09213d;
  font-size: 22px;
}

.vip-plan-title p {
  margin: 8px 0 0;
  color: #64748b;
  line-height: 1.7;
}

.vip-plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: #ff6b11;
}

.vip-plan-price strong {
  font-size: 46px;
  line-height: 1;
}

.vip-plan-price span {
  color: #7a8699;
  font-weight: 800;
}

.vip-plan-quota {
  display: grid;
  gap: 8px;
}

.vip-plan-quota span {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 12px;
  color: #314866;
  background: rgba(237, 245, 255, 0.9);
  font-weight: 800;
}

.vip-plan-quota b {
  color: #064f9e;
}

.vip-plan-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #4d627d;
}

.vip-plan-card li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: #ff7b18;
  vertical-align: 1px;
}

.vip-plan-card a {
  align-self: end;
  justify-self: start;
  padding: 10px 18px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(180deg, #0d6fd8, #0757b2);
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(7, 87, 178, 0.18);
}

.service-workbench {
  display: grid;
  grid-template-columns: minmax(520px, 1fr) 280px;
  gap: 24px;
  align-items: start;
  margin-top: 28px;
}

.service-workbench-lite {
  grid-template-columns: minmax(560px, 1fr) 280px;
}

.service-form-plain {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.service-form-group,
.service-helper-card {
  border: 1px solid #dbe8f6;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: 0 16px 34px rgba(20, 76, 130, 0.06);
}

.service-form-group {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.service-group-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid #edf3fa;
}

.service-group-head span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  color: var(--primary);
  background: #eef6ff;
  font-size: 12px;
  font-weight: 900;
}

.service-group-head h3 {
  margin: 0;
  color: #0b2138;
  font-size: 18px;
}

.service-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.service-form-plain label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 800;
}

.service-form-plain label span {
  color: #667085;
  font-size: 14px;
}

.service-form-plain input,
.service-form-plain textarea {
  border-color: #d5e4f5;
  border-radius: 14px;
  background: #fff;
}

.service-form-plain input:focus,
.service-form-plain textarea:focus {
  border-color: #7fb2f0;
  box-shadow: 0 0 0 3px rgba(19, 96, 188, 0.08);
}

.service-form-plain textarea {
  min-height: 210px;
  line-height: 1.8;
  resize: vertical;
}

.service-form-group label:first-of-type textarea {
  min-height: 230px;
}

.service-submit-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  padding: 4px 4px 0;
}

.service-submit-row button {
  width: auto;
  min-width: 160px;
  min-height: 46px;
  padding: 0 28px;
  border-radius: 14px;
}

.service-submit-row .auth-message {
  min-height: 22px;
  text-align: right;
}

.service-helper-card {
  position: sticky;
  top: 18px;
  padding: 20px;
  overflow: hidden;
}

.service-helper-card::before {
  content: "";
  display: block;
  width: 54px;
  height: 4px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff8c2b, #1261b9);
}

.service-helper-card > span {
  display: inline-flex;
  padding: 6px 11px;
  border-radius: 999px;
  color: var(--primary);
  background: #eef6ff;
  font-size: 12px;
  font-weight: 900;
}

.service-helper-card h3 {
  margin: 14px 0 14px;
  color: #0b2138;
  font-size: 20px;
}

.service-helper-card ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: service-step;
}

.service-helper-card li {
  position: relative;
  padding: 2px 0 2px 34px;
  color: #4b5f78;
  line-height: 1.7;
}

.service-helper-card li::before {
  counter-increment: service-step;
  content: counter(service-step);
  position: absolute;
  left: 0;
  top: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(180deg, #2d7ed8, #1261b9);
  font-size: 12px;
  font-weight: 900;
}

.follow-list {
  display: grid;
  gap: 14px;
}

.follow-card {
  display: block;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.follow-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(29, 77, 135, 0.1);
}

.follow-card h4 {
  margin: 12px 0;
  font-size: 20px;
}

.auth-main {
  padding-top: 48px;
}

.auth-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.1fr);
  gap: 36px;
  align-items: start;
  max-width: 960px;
  margin: 0 auto;
}

.auth-copy .eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--primary);
  background: var(--primary-soft);
  font-weight: 800;
}

.auth-copy h2 {
  margin: 18px 0 12px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  letter-spacing: -1px;
}

.auth-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.auth-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff, #f7fbff);
  box-shadow: 0 20px 48px rgba(18, 75, 130, 0.08);
}

.auth-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.auth-form label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 800;
}

.auth-form label span {
  font-size: 14px;
}

.auth-field-full {
  grid-column: 1 / -1;
}

.auth-submit {
  min-height: 48px;
  border: 0;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(180deg, #ff8c2b, #ff6b11);
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 16px 30px rgba(255, 107, 17, 0.18);
}

.auth-submit:hover {
  transform: translateY(-1px);
}

.auth-message {
  min-height: 20px;
  color: #d33b2f;
  font-weight: 700;
}

.auth-switch {
  margin: 0;
  color: var(--muted);
}

.auth-switch a {
  color: var(--primary);
  font-weight: 900;
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  place-items: center;
  padding: 24px;
}

.auth-modal.is-open {
  display: grid;
}

.auth-modal-open {
  overflow: hidden;
}

.auth-modal-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 28% 22%, rgba(48, 124, 215, 0.22), transparent 24%),
    rgba(10, 29, 54, 0.48);
  backdrop-filter: blur(8px);
}

.auth-modal-card {
  position: relative;
  width: min(920px, 100%);
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.1fr);
  gap: 28px;
  padding: 32px;
  border-radius: 28px;
  border: 1px solid rgba(217, 230, 244, 0.9);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(246, 251, 255, 0.96)),
    radial-gradient(circle at 12% 15%, rgba(13, 93, 184, 0.12), transparent 26%);
  box-shadow: 0 34px 90px rgba(5, 31, 66, 0.24);
  animation: authModalIn 0.22s ease both;
}

.auth-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: #edf5ff;
  color: var(--primary);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.auth-modal-copy .eyebrow {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 900;
}

.auth-modal-copy h2 {
  margin: 18px 0 12px;
  color: #0b2138;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.16;
  letter-spacing: -1px;
}

.auth-modal-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}

.auth-modal-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.auth-modal-form label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 900;
}

.auth-modal-form label span {
  font-size: 14px;
}

.auth-modal-foot {
  grid-column: 2;
  margin-top: -12px;
  padding: 0 24px;
  color: var(--muted);
}

.auth-modal-foot a {
  color: var(--primary);
  font-weight: 900;
}

@keyframes authModalIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.detail-content {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  line-height: 1.9;
  color: #243447;
}

.detail-content pre {
  white-space: pre-wrap;
  word-break: break-word;
  font-family: inherit;
}

.footer {
  margin-top: 40px;
  padding: 20px 0 30px;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.agent-home-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin-top: 16px;
  padding: 16px 18px;
  border: 1px solid #cfe2ff;
  border-radius: 18px;
  background: linear-gradient(135deg, #f2f8ff 0%, #fff8ef 100%);
  color: #08233f;
  text-decoration: none;
  box-shadow: 0 14px 38px rgba(36, 102, 176, 0.1);
}

.agent-home-card span {
  padding: 8px 12px;
  border-radius: 999px;
  background: #0f63c8;
  color: #fff;
  font-weight: 800;
}

.agent-home-card strong {
  font-size: 15px;
  line-height: 1.7;
}

.agent-home-card em {
  padding: 10px 16px;
  border-radius: 999px;
  background: #ff7818;
  color: #fff;
  font-style: normal;
  font-weight: 800;
}

.agent-home-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.75fr);
  gap: 18px;
  margin-top: 20px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(82, 145, 218, 0.24);
  border-radius: 24px;
  background:
    radial-gradient(circle at 9% 18%, rgba(255, 127, 24, 0.15), transparent 24%),
    radial-gradient(circle at 86% 0%, rgba(18, 104, 207, 0.22), transparent 30%),
    linear-gradient(135deg, #f6fbff 0%, #eef6ff 47%, #fff7ed 100%);
  box-shadow: 0 22px 60px rgba(16, 78, 143, 0.14);
}

.agent-home-panel::before {
  content: "";
  position: absolute;
  inset: 14px;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 20px;
}

.agent-home-main,
.agent-home-action {
  position: relative;
  z-index: 1;
}

.agent-home-main {
  display: grid;
  align-content: center;
  gap: 12px;
  min-height: 190px;
}

.agent-home-kicker {
  justify-self: start;
  padding: 7px 12px;
  border: 1px solid rgba(18, 104, 207, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #0b5db8;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(18, 104, 207, 0.08);
}

.agent-home-main h2 {
  max-width: 780px;
  margin: 0;
  color: #071f3d;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.agent-home-main p {
  max-width: 760px;
  margin: 0;
  color: #445f7d;
  font-size: 15px;
  line-height: 1.9;
}

.agent-home-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 3px;
}

.agent-home-tags span {
  padding: 7px 10px;
  border: 1px solid rgba(16, 94, 184, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #234463;
  font-size: 13px;
  font-weight: 800;
}

.agent-home-action {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 12px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 18px 44px rgba(30, 84, 142, 0.13);
  backdrop-filter: blur(10px);
}

.agent-home-orb {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: linear-gradient(135deg, #115fbd, #57a7ff);
  color: #fff;
  font-weight: 900;
  letter-spacing: 0.02em;
  box-shadow: 0 14px 28px rgba(17, 95, 189, 0.28);
}

.agent-home-action strong {
  color: #092746;
  font-size: 19px;
  line-height: 1.45;
}

.agent-home-action span {
  color: #5b7088;
  font-size: 14px;
  line-height: 1.8;
}

.agent-home-action a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 4px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff882b, #ff6812);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 16px 32px rgba(255, 104, 18, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.agent-home-action a:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 38px rgba(255, 104, 18, 0.34);
}

.agent-console .profile-account-main {
  gap: 18px;
}

.agent-title h2 {
  max-width: 760px;
}

.agent-quota-card,
.agent-input-card,
.agent-analysis-card,
.agent-rec-card {
  border: 1px solid #d5e5f8;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 48px rgba(21, 75, 132, 0.08);
}

.agent-quota-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
}

.agent-quota-card div {
  min-width: 150px;
}

.agent-quota-card span {
  display: block;
  color: #607797;
  font-size: 13px;
  font-weight: 700;
}

.agent-quota-card strong {
  display: block;
  margin-top: 4px;
  color: #064f9e;
  font-size: 38px;
  line-height: 1;
}

.agent-quota-card p {
  margin: 0;
  color: #4c6380;
  line-height: 1.8;
}

.agent-input-card {
  padding: 20px;
}

.agent-input-card label span {
  display: block;
  margin-bottom: 10px;
  color: #143454;
  font-weight: 800;
}

.agent-input-card textarea {
  min-height: 130px;
  resize: vertical;
}

.agent-result {
  display: grid;
  gap: 16px;
}

.agent-analysis-card {
  padding: 18px 20px;
  background: linear-gradient(135deg, #f4f9ff 0%, #fff 100%);
}

.agent-analysis-card > span {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eaf3ff;
  color: #0c63bd;
  font-weight: 800;
  font-size: 13px;
}

.agent-analysis-card h3 {
  margin: 12px 0 8px;
  font-size: 22px;
}

.agent-analysis-card p {
  margin: 0;
  color: #506780;
  line-height: 1.8;
}

.agent-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.agent-tags i {
  padding: 6px 10px;
  border-radius: 999px;
  background: #f0f7ff;
  color: #145ba6;
  font-style: normal;
  font-weight: 700;
}

.agent-rec-list {
  display: grid;
  gap: 16px;
}

.agent-rec-card {
  display: grid;
  gap: 12px;
  padding: 20px;
}

.agent-rec-card h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.45;
}

.agent-summary {
  margin: 0;
  padding: 14px 16px;
  border-radius: 16px;
  background: #f5f9ff;
  color: #173552;
  line-height: 1.9;
}

.agent-reason {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  color: #24415f;
  line-height: 1.8;
}

.agent-reason strong {
  color: #0d55a3;
}

@media (max-width: 920px) {
  .stats-strip,
  .filter-grid {
    grid-template-columns: 1fr;
  }

  .topbar-inner,
  .brand {
    align-items: flex-start;
  }

  .topbar-inner {
    flex-direction: column;
  }

  .brand h1 {
    font-size: 22px;
  }

  .stage-shell {
    padding: 18px;
    margin-top: 18px;
  }

  .filter-submit {
    width: 100%;
  }

  button {
    height: 48px;
  }

  .pagination {
    margin-right: -6px;
    padding-right: 6px;
  }

  .pagination-bar {
    gap: 8px;
  }

  .page-link,
  .page-ellipsis,
  .page-status {
    font-size: 14px;
  }

  .page-jump {
    margin-left: 6px;
    padding-left: 8px;
    gap: 6px;
  }

  .page-jump input {
    width: 72px;
    min-width: 72px;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(100% - 20px, 1180px);
  }

  .topbar-inner {
    gap: 14px;
    padding: 16px 0;
  }

  .brand-logo {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .brand {
    gap: 10px;
  }

  .brand h1 {
    font-size: 20px;
    line-height: 1.15;
  }

  .brand p {
    margin-top: 2px;
    font-size: 13px;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 2px;
  }

  .nav a {
    flex: 0 0 auto;
    padding: 9px 14px;
  }

  .auth-menu {
    flex: 0 0 auto;
  }

  .auth-menu-panel {
    left: 0;
    right: auto;
  }

  .auth-user-card {
    width: calc(100vw - 20px);
    max-width: 462px;
  }

  .vip-feature-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .vip-banner-top {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .vip-banner-top div {
    min-width: 0;
  }

  .vip-banner-top a {
    width: 100%;
  }

  .vip-plan-board {
    grid-template-columns: 1fr;
  }

  .vip-plan-card {
    min-height: auto;
  }

  .user-service-grid,
  .user-tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .user-card-head {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .user-card-center {
    grid-column: 2;
  }

  .search-card,
  .panel {
    padding: 18px;
    border-radius: 20px;
  }

  .filter-tabs {
    gap: 8px;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }

  .filter-tab {
    flex: 0 0 auto;
    padding: 9px 14px;
    border-radius: 12px;
  }

  input,
  select {
    padding: 12px 14px;
    border-radius: 12px;
  }

  .panel-head h3 {
    font-size: 22px;
  }

  .notice-item h4,
  .latest-item h4,
  .detail-meta h2 {
    font-size: 18px;
  }

  .detail-summary {
    padding: 10px 12px;
    border-radius: 14px;
  }

  .detail-summary-text {
    font-size: 13px;
  }

  .auth-main {
    padding-top: 24px;
  }

  .auth-panel {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .auth-form,
  .auth-form-grid {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .profile-hero {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px;
  }

  .profile-grid {
    grid-template-columns: 1fr;
  }

  .profile-editor-grid,
  .profile-service-row,
  .service-form {
    grid-template-columns: 1fr;
  }

  .profile-console {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .service-console {
    grid-template-columns: 1fr;
    gap: 14px;
    min-height: auto;
  }

  .profile-side-nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 0 0 10px;
    border-right: 0;
    border-bottom: 1px solid #e7eef7;
  }

  .profile-side-nav p {
    display: none;
  }

  .profile-side-nav a {
    flex: 0 0 auto;
    padding: 9px 12px;
    border-radius: 999px;
    background: #f8fbff;
  }

  .profile-side-nav a.active::after {
    display: none;
  }

  .profile-account-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .service-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .service-workbench,
  .service-workbench-lite {
    grid-template-columns: 1fr;
  }

  .service-helper-card {
    position: static;
  }

  .service-form-group {
    padding: 16px;
  }

  .service-form-row,
  .service-submit-row {
    grid-template-columns: 1fr;
  }

  .service-submit-row {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .service-submit-row button {
    width: 100%;
  }

  .service-submit-row .auth-message {
    text-align: left;
  }

  .complaint-card-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .service-detail-grid {
    grid-template-columns: 1fr;
  }

  .service-message-card > div {
    align-items: flex-start;
    flex-direction: column;
  }

  .service-message-card img {
    max-width: 100%;
  }

  .profile-account-row {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 14px;
  }

  .profile-account-row > button {
    justify-self: start;
  }

  .profile-password-line {
    grid-template-columns: 1fr;
  }

  .profile-password-summary {
    grid-template-columns: 1fr;
  }

  .profile-password-summary button {
    width: 100%;
  }

  .password-form {
    grid-template-columns: 1fr;
  }

  .profile-edit-form,
  .code-field {
    grid-template-columns: 1fr;
  }

  .auth-menu-panel {
    position: absolute;
    left: 0;
    right: auto;
    top: calc(100% + 2px);
    margin-top: 8px;
    min-width: 190px;
  }

  .auth-modal {
    padding: 14px;
  }

  .auth-modal-card {
    grid-template-columns: 1fr;
    gap: 18px;
    max-height: calc(100vh - 28px);
    overflow-y: auto;
    padding: 22px;
    border-radius: 22px;
  }

  .auth-modal-form {
    padding: 18px;
  }

  .auth-modal-foot {
    grid-column: auto;
    margin-top: -6px;
    padding: 0 4px;
  }

.page-jump {
  display: inline-flex;
  align-items: center;
}

.agent-home-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin-top: 16px;
  padding: 16px 18px;
  border: 1px solid #cfe2ff;
  border-radius: 18px;
  background: linear-gradient(135deg, #f2f8ff 0%, #fff8ef 100%);
  color: #08233f;
  text-decoration: none;
  box-shadow: 0 14px 38px rgba(36, 102, 176, 0.1);
}

.agent-home-card span {
  padding: 8px 12px;
  border-radius: 999px;
  background: #0f63c8;
  color: #fff;
  font-weight: 800;
}

.agent-home-card strong {
  font-size: 15px;
  line-height: 1.7;
}

.agent-home-card em {
  padding: 10px 16px;
  border-radius: 999px;
  background: #ff7818;
  color: #fff;
  font-style: normal;
  font-weight: 800;
}

.agent-console .profile-account-main {
  gap: 18px;
}

.agent-title h2 {
  max-width: 760px;
}

.agent-quota-card,
.agent-input-card,
.agent-analysis-card,
.agent-rec-card {
  border: 1px solid #d5e5f8;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 48px rgba(21, 75, 132, 0.08);
}

.agent-quota-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
}

.agent-quota-card div {
  min-width: 150px;
}

.agent-quota-card span {
  display: block;
  color: #607797;
  font-size: 13px;
  font-weight: 700;
}

.agent-quota-card strong {
  display: block;
  margin-top: 4px;
  color: #064f9e;
  font-size: 38px;
  line-height: 1;
}

.agent-quota-card p {
  margin: 0;
  color: #4c6380;
  line-height: 1.8;
}

.agent-input-card {
  padding: 20px;
}

.agent-input-card label span {
  display: block;
  margin-bottom: 10px;
  color: #143454;
  font-weight: 800;
}

.agent-input-card textarea {
  min-height: 130px;
  resize: vertical;
}

.agent-result {
  display: grid;
  gap: 16px;
}

.agent-analysis-card {
  padding: 18px 20px;
  background: linear-gradient(135deg, #f4f9ff 0%, #fff 100%);
}

.agent-analysis-card > span {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eaf3ff;
  color: #0c63bd;
  font-weight: 800;
  font-size: 13px;
}

.agent-analysis-card h3 {
  margin: 12px 0 8px;
  font-size: 22px;
}

.agent-analysis-card p {
  margin: 0;
  color: #506780;
  line-height: 1.8;
}

.agent-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.agent-tags i {
  padding: 6px 10px;
  border-radius: 999px;
  background: #f0f7ff;
  color: #145ba6;
  font-style: normal;
  font-weight: 700;
}

.agent-rec-list {
  display: grid;
  gap: 16px;
}

.agent-rec-card {
  display: grid;
  gap: 12px;
  padding: 20px;
}

.agent-rec-card h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.45;
}

.agent-summary {
  margin: 0;
  padding: 14px 16px;
  border-radius: 16px;
  background: #f5f9ff;
  color: #173552;
  line-height: 1.9;
}

.agent-reason {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  color: #24415f;
  line-height: 1.8;
}

.agent-reason strong {
  color: #0d55a3;
}

  .agent-home-card,
  .agent-home-panel,
  .agent-quota-card,
  .agent-reason {
    grid-template-columns: 1fr;
  }

  .agent-home-panel {
    padding: 18px;
    border-radius: 22px;
  }

  .agent-home-main {
    min-height: auto;
  }

  .agent-home-main h2 {
    font-size: 24px;
  }

  .agent-home-action {
    padding: 18px;
  }

  .agent-home-card em {
    justify-self: start;
  }
}

.agent-page {
  display: grid;
  gap: 22px;
  padding-bottom: 42px;
}

.agent-page-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 28px;
  overflow: hidden;
  align-items: center;
  padding: 34px 30px;
  border: 1px solid #cfe1f5;
  border-radius: 30px;
  background:
    radial-gradient(circle at 12% 16%, rgba(255, 139, 43, 0.18), transparent 24%),
    radial-gradient(circle at 80% 18%, rgba(13, 93, 184, 0.16), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(236, 246, 255, 0.92));
  box-shadow: 0 26px 72px rgba(24, 74, 132, 0.12);
}

.agent-page-hero::after {
  content: "";
  position: absolute;
  right: 305px;
  bottom: -96px;
  width: 250px;
  height: 250px;
  border: 38px solid rgba(13, 93, 184, 0.055);
  border-radius: 50%;
}

.agent-hero-copy,
.agent-hero-card {
  position: relative;
  z-index: 1;
}

.agent-hero-kicker,
.agent-guide-card > span,
.agent-empty-card > span,
.agent-analysis-card > div > span {
  display: inline-flex;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  background: #eaf3ff;
  color: #0d5db8;
  font-size: 13px;
  font-weight: 900;
}

.agent-hero-kicker {
  border: 1px solid #c9def6;
  background: #f4f9ff;
}

.agent-hero-copy h2 {
  max-width: 720px;
  margin: 14px 0 14px;
  color: #071c35;
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.14;
  letter-spacing: -0.04em;
}

.agent-hero-copy p {
  max-width: 660px;
  margin: 0;
  color: #4d6683;
  font-size: 17px;
  line-height: 1.85;
}

.agent-hero-copy > strong {
  display: inline-flex;
  margin-top: 18px;
  padding: 10px 14px;
  border-left: 4px solid #ff7818;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  color: #0d3f78;
  font-size: 16px;
}

.agent-hero-card {
  display: grid;
  align-content: center;
  gap: 10px;
  min-height: 250px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 26px;
  background:
    radial-gradient(circle at 90% 12%, rgba(255, 139, 43, 0.35), transparent 34%),
    linear-gradient(160deg, rgba(10, 57, 114, 0.94), rgba(13, 93, 184, 0.88));
  color: #fff;
  box-shadow: 0 24px 52px rgba(8, 57, 112, 0.2);
}

.agent-ai-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(135deg, #69b7ff, #1672d9);
  color: #fff;
  font-size: 24px;
  font-weight: 1000;
}

.agent-hero-card strong {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.agent-hero-card em {
  color: #fff;
  font-size: 58px;
  font-style: normal;
  font-weight: 1000;
  line-height: 1;
}

.agent-hero-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

.agent-side-panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid #d2e3f7;
  border-radius: 24px;
  background:
    radial-gradient(circle at 90% 0%, rgba(13, 93, 184, 0.1), transparent 38%),
    rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 44px rgba(21, 75, 132, 0.1);
}

.agent-side-head {
  display: grid;
  gap: 5px;
}

.agent-side-head span {
  color: #7190ad;
  font-size: 13px;
  font-weight: 800;
}

.agent-side-head strong {
  color: #071c35;
  font-size: 20px;
}

.agent-mini-quota {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #d7e7f8;
  border-radius: 16px;
  background: #f7fbff;
}

.agent-mini-quota span {
  color: #5c7491;
  font-size: 13px;
  font-weight: 800;
}

.agent-mini-quota strong {
  color: #0d5db8;
  font-size: 24px;
  line-height: 1;
}

.agent-side-panel p {
  margin: 0;
  color: #667c96;
  font-size: 13px;
  line-height: 1.7;
}

.agent-export-btn {
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff8d31, #ff6812);
  color: #fff;
  font-weight: 1000;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(255, 104, 18, 0.24);
}

.agent-export-btn:disabled {
  cursor: not-allowed;
  opacity: 0.52;
  box-shadow: none;
}

.agent-workbench {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 22px;
}

.agent-workbench-wide {
  grid-template-columns: minmax(0, 1fr);
}

.agent-core-card,
.agent-guide-card,
.agent-empty-card,
.agent-loading-card,
.agent-section-heading {
  border: 1px solid #d5e5f8;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 56px rgba(21, 75, 132, 0.1);
}

.agent-core-card {
  padding: 24px;
}

.agent-card-headline,
.agent-section-heading {
  display: flex;
  align-items: center;
  gap: 14px;
}

.agent-card-headline span,
.agent-section-heading span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #eaf3ff;
  color: #0d5db8;
  font-weight: 1000;
}

.agent-card-headline h3,
.agent-section-heading h3 {
  margin: 0;
  color: #071c35;
  font-size: 24px;
}

.agent-card-headline p,
.agent-section-heading p {
  margin: 4px 0 0;
  color: #617895;
  line-height: 1.7;
}

.agent-chat-shell {
  display: flex;
  align-items: center;
  gap: 14px;
}

.agent-chat-avatar {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, #69b7ff, #1672d9);
  color: #fff;
  font-weight: 1000;
  box-shadow: 0 12px 28px rgba(13, 93, 184, 0.18);
}

.agent-chat-shell h3 {
  margin: 0;
  color: #071c35;
  font-size: 25px;
}

.agent-chat-shell p {
  margin: 4px 0 0;
  color: #617895;
}

.agent-input-card textarea {
  width: 100%;
  min-height: 156px;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid #cfe1f5;
  border-radius: 20px;
  background: #fbfdff;
  color: #102a45;
  font: inherit;
  line-height: 1.8;
  resize: vertical;
  outline: none;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.agent-input-card textarea:focus {
  border-color: #5ea2ed;
  box-shadow: 0 0 0 4px rgba(13, 93, 184, 0.1);
}

.agent-example-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.agent-example-row button {
  padding: 9px 12px;
  border: 1px solid #d7e7f8;
  border-radius: 999px;
  background: #f5f9ff;
  color: #17446f;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.agent-example-row button:hover {
  transform: translateY(-1px);
  background: #eaf3ff;
}

.agent-submit-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
  padding: 16px;
  border-radius: 20px;
  background: linear-gradient(135deg, #f4f9ff, #fff7ef);
}

.agent-submit-panel strong,
.agent-submit-panel span {
  display: block;
}

.agent-submit-panel strong {
  color: #102a45;
  font-size: 16px;
}

.agent-submit-panel span {
  margin-top: 4px;
  color: #637b97;
}

.agent-primary-action,
.agent-detail-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff8d31, #ff6812);
  color: #fff;
  font-weight: 1000;
  box-shadow: 0 18px 36px rgba(255, 104, 18, 0.28);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.agent-primary-action {
  min-width: 170px;
  min-height: 48px;
  padding: 0 24px;
  font-size: 16px;
}

.agent-primary-action:hover,
.agent-detail-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 42px rgba(255, 104, 18, 0.34);
}

.agent-primary-action:disabled {
  opacity: 0.72;
  cursor: wait;
  transform: none;
}

.agent-guide-card {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 24px;
  background:
    radial-gradient(circle at 85% 8%, rgba(255, 139, 43, 0.14), transparent 28%),
    rgba(255, 255, 255, 0.94);
}

.agent-guide-card h3 {
  margin: 0;
  color: #071c35;
  font-size: 24px;
  line-height: 1.35;
}

.agent-guide-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #4e6682;
  line-height: 1.7;
}

.agent-guide-card li {
  position: relative;
  padding-left: 22px;
}

.agent-guide-card li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff7818;
}

.agent-guide-card a {
  justify-self: start;
  margin-top: 8px;
  color: #0d5db8;
  font-weight: 900;
}

.agent-result {
  display: grid;
  gap: 16px;
}

.agent-result-empty {
  min-height: 190px;
}

.agent-empty-card,
.agent-loading-card,
.agent-section-heading {
  padding: 22px;
}

.agent-empty-card h3 {
  margin: 12px 0 8px;
  color: #071c35;
  font-size: 24px;
}

.agent-empty-card p {
  margin: 0;
  color: #607894;
  line-height: 1.8;
}

.agent-recharge-card {
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 123, 24, 0.14), transparent 32%),
    rgba(255, 255, 255, 0.96);
}

.agent-recharge-card a {
  display: inline-flex;
  width: fit-content;
  margin-top: 18px;
  padding: 11px 18px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(180deg, #ff8c2b, #ff6b11);
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(255, 107, 17, 0.18);
}

.agent-loading-card {
  display: flex;
  align-items: center;
  gap: 16px;
}

.agent-stream-card {
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 1px solid #d5e5f8;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 20px 56px rgba(21, 75, 132, 0.1);
}

.agent-stream-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.agent-stream-dot {
  width: 42px;
  height: 42px;
  border: 4px solid #e5f0fc;
  border-top-color: #0d5db8;
  border-radius: 50%;
  animation: agentSpin 0.9s linear infinite;
}

.agent-stream-head strong {
  color: #102a45;
}

.agent-stream-head p {
  margin: 4px 0 0;
  color: #607894;
}

.agent-stream-lines {
  display: grid;
  gap: 10px;
}

.agent-stream-lines span {
  position: relative;
  overflow: hidden;
  padding: 12px 14px;
  border-radius: 16px;
  background: #f4f9ff;
  color: #17446f;
  font-weight: 800;
  opacity: 0.45;
  animation: agentStreamPulse 1.4s ease-in-out infinite;
  animation-delay: var(--delay);
}

@keyframes agentStreamPulse {
  0%, 100% {
    opacity: 0.45;
    transform: translateX(0);
  }
  50% {
    opacity: 1;
    transform: translateX(4px);
  }
}

.agent-loading-card > span {
  width: 44px;
  height: 44px;
  border: 4px solid #e5f0fc;
  border-top-color: #0d5db8;
  border-radius: 50%;
  animation: agentSpin 0.9s linear infinite;
}

.agent-loading-card strong,
.agent-loading-card p {
  display: block;
}

.agent-loading-card strong {
  color: #102a45;
}

.agent-loading-card p {
  margin: 5px 0 0;
  color: #607894;
}

@keyframes agentSpin {
  to {
    transform: rotate(360deg);
  }
}

.agent-analysis-card {
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid #d5e5f8;
  border-radius: 26px;
  background: linear-gradient(135deg, #f4f9ff, #ffffff);
  box-shadow: 0 20px 56px rgba(21, 75, 132, 0.1);
}

.agent-analysis-card h3 {
  margin: 10px 0 0;
  color: #071c35;
}

.agent-analysis-card p {
  margin: 0;
}

.agent-rec-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.agent-rec-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100%;
  padding: 20px;
  border: 1px solid #d5e5f8;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 58px rgba(21, 75, 132, 0.11);
}

.agent-rec-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.agent-rank {
  padding: 7px 11px;
  border-radius: 999px;
  background: linear-gradient(180deg, #0d5db8, #0a4c98);
  color: #fff;
  font-weight: 1000;
}

.agent-score {
  color: #ff7818;
  font-weight: 900;
}

.agent-rec-card h3 {
  margin: 0;
  color: #071c35;
  font-size: 20px;
  line-height: 1.45;
}

.agent-rec-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.agent-summary {
  margin: 0;
  padding: 14px 16px;
  border-radius: 18px;
  background: #f4f9ff;
  color: #173552;
  line-height: 1.9;
}

.agent-rec-insights {
  display: grid;
  gap: 10px;
}

.agent-reason {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 12px;
  border-radius: 16px;
  background: #fbfdff;
  color: #24415f;
  line-height: 1.75;
}

.agent-reason strong {
  color: #0d55a3;
}

.agent-detail-link {
  min-height: 42px;
  margin-top: auto;
  padding: 0 18px;
}

.agent-guide-modal[hidden] {
  display: none;
}

.agent-guide-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 18px;
}

.agent-guide-mask {
  position: absolute;
  inset: 0;
  background: rgba(6, 28, 54, 0.36);
  backdrop-filter: blur(5px);
}

.agent-guide-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  width: min(520px, 100%);
  padding: 28px;
  border: 1px solid #d5e5f8;
  border-radius: 28px;
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 139, 43, 0.16), transparent 28%),
    #fff;
  box-shadow: 0 28px 80px rgba(6, 28, 54, 0.2);
}

.agent-guide-dialog button {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #f1f6fd;
  color: #17446f;
  font-size: 22px;
  cursor: pointer;
}

.agent-guide-dialog > span {
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  background: #eaf3ff;
  color: #0d5db8;
  font-size: 13px;
  font-weight: 900;
}

.agent-guide-dialog h3 {
  margin: 0;
  color: #071c35;
  font-size: 28px;
}

.agent-guide-dialog ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: #4d6683;
  line-height: 1.8;
}

.agent-guide-dialog a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff8d31, #ff6812);
  color: #fff;
  font-weight: 1000;
  box-shadow: 0 16px 32px rgba(255, 104, 18, 0.24);
}

.agent-contact-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 70;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff8d31, #ff6812);
  color: #fff;
  font-weight: 1000;
  box-shadow: 0 18px 40px rgba(255, 104, 18, 0.32);
}

.agent-chat-layout {
  display: block;
}

.agent-chat-board {
  display: grid;
  gap: 14px;
  align-items: start;
}

.agent-filter-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 220px));
  gap: 14px;
}

.agent-filter-row label {
  display: grid;
  gap: 8px;
}

.agent-filter-row span {
  color: #5d7492;
  font-size: 13px;
  font-weight: 800;
}

.agent-filter-row select {
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid #cfe1f5;
  border-radius: 14px;
  background: #fbfdff;
  color: #102a45;
  font: inherit;
}

.agent-chat-log {
  display: grid;
  gap: 16px;
  max-height: 660px;
  padding-right: 4px;
  overflow-y: auto;
}

.agent-chat-turn {
  display: grid;
  gap: 12px;
}

.agent-bubble {
  padding: 18px 20px;
  border: 1px solid #d5e5f8;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 40px rgba(21, 75, 132, 0.08);
}

.agent-bubble-user {
  justify-self: end;
  width: min(78%, 760px);
  border-color: #cfe3fb;
  background: linear-gradient(135deg, #edf5ff, #ffffff);
}

.agent-bubble-assistant {
  width: 100%;
}

.agent-bubble strong {
  display: block;
  margin-bottom: 8px;
  color: #0d5db8;
}

.agent-bubble p {
  margin: 0;
  color: #27415d;
  line-height: 1.85;
}

.agent-bubble-kicker {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  color: #0d5db8;
  background: #eaf3ff;
  font-size: 13px;
  font-weight: 900;
}

.agent-bubble-welcome h3 {
  margin: 0 0 10px;
  color: #071c35;
  font-size: 26px;
}

.agent-bubble-chips,
.agent-turn-context {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.agent-bubble-chips i,
.agent-turn-context span {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: #f4f9ff;
  color: #315170;
  font-style: normal;
  font-size: 13px;
  font-weight: 800;
}

.agent-round-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.agent-round-head p {
  margin: 6px 0 0;
  color: #607894;
  font-size: 13px;
}

.agent-round-badge {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(180deg, #0d5db8, #0a4c98);
  font-size: 13px;
  font-weight: 1000;
}

.agent-round-export,
.agent-export-btn-ghost {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid #cfe1f5;
  border-radius: 999px;
  background: #fff;
  color: #0d5db8;
  font-weight: 900;
  cursor: pointer;
}

.agent-side-summary {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  border: 1px solid #d7e7f8;
  border-radius: 16px;
  background: #f7fbff;
}

.agent-side-summary span {
  color: #7190ad;
  font-size: 12px;
  font-weight: 800;
}

.agent-side-summary strong {
  color: #071c35;
  font-size: 15px;
}

.agent-side-actions {
  display: grid;
  gap: 10px;
}

.agent-input-card-chat {
  position: sticky;
  bottom: 12px;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  padding: 10px;
  border: 1px solid #d9e8f8;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 -10px 32px rgba(18, 75, 132, 0.11);
}

.agent-input-card-chat textarea {
  min-height: 54px;
  max-height: 150px;
  padding: 16px 18px;
  border: 0;
  border-radius: 16px;
  background: #f7fbff;
  box-shadow: none;
  resize: vertical;
}

.agent-input-card-chat textarea:focus {
  outline: none;
  box-shadow: inset 0 0 0 1px #9cc9fb;
}

.agent-send-action {
  width: 88px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 16px;
}

.agent-input-card-chat .auth-message {
  grid-column: 1 / -1;
  min-height: 18px;
  margin: 0;
}

.agent-stream-card {
  display: grid;
  gap: 14px;
  padding: 2px 0 0;
}

.agent-stream-head {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.agent-stream-dot {
  width: 30px;
  height: 30px;
  border: 3px solid #d7e9fb;
  border-top-color: #0d72df;
  border-radius: 999px;
  animation: agentSpin 0.9s linear infinite;
}

.agent-stream-head strong {
  margin: 0 0 4px;
  color: #0b5eb6;
  font-size: 16px;
}

.agent-stream-head p {
  color: #44617f;
  font-size: 13px;
}

.agent-stream-lines,
.agent-live-stream {
  display: grid;
  gap: 10px;
}

.agent-live-line {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  border: 1px solid #e0ecf8;
  border-radius: 14px;
  background: linear-gradient(90deg, #f8fbff, #ffffff);
  animation: agentLiveIn 0.28s ease-out both;
}

.agent-live-line strong {
  color: #0b315a;
  font-size: 14px;
}

.agent-live-line p {
  margin: 0;
  color: #385879;
  font-size: 14px;
  line-height: 1.75;
}

.agent-live-cursor {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f4f9ff;
  color: #607894;
  font-size: 13px;
  font-weight: 800;
}

.agent-live-cursor::after {
  content: "";
  width: 6px;
  height: 16px;
  margin-left: 8px;
  border-radius: 3px;
  background: #0d72df;
  animation: agentCursorBlink 0.8s steps(2, start) infinite;
}

.agent-stream-step {
  display: grid;
  grid-template-columns: 30px 108px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #e0ecf8;
  border-radius: 14px;
  background: linear-gradient(90deg, #f8fbff, #ffffff);
  color: #315170;
  overflow: visible;
  opacity: 0.5;
  transform: translateY(4px);
  animation: agentStepFlow 2.8s ease-in-out infinite;
  animation-delay: var(--delay);
}

.agent-stream-step i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #e8f3ff;
  color: #0d72df;
  font-style: normal;
  font-size: 12px;
  font-weight: 1000;
}

.agent-stream-step b {
  color: #0b315a;
  font-size: 14px;
}

.agent-stream-step em {
  overflow: hidden;
  color: #637d99;
  font-style: normal;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@keyframes agentStepFlow {
  0%,
  100% {
    opacity: 0.52;
    transform: translateY(4px);
  }
  18%,
  42% {
    opacity: 1;
    transform: translateY(0);
    border-color: #bddbfb;
    box-shadow: 0 10px 24px rgba(13, 114, 223, 0.08);
  }
}

@keyframes agentLiveIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes agentCursorBlink {
  50% {
    opacity: 0;
  }
}

@media (max-width: 980px) {
  .agent-page-hero,
  .agent-workbench,
  .agent-rec-list {
    grid-template-columns: 1fr;
  }

  .agent-page-hero {
    padding: 20px;
    border-radius: 24px;
  }

  .agent-hero-card {
    min-height: auto;
  }

  .agent-side-panel {
    min-height: auto;
  }

  .agent-submit-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .agent-filter-row {
    grid-template-columns: 1fr;
  }

  .agent-input-card-chat {
    position: static;
    grid-template-columns: 1fr;
  }

  .agent-primary-action {
    width: 100%;
  }

  .agent-reason {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .agent-page {
    gap: 16px;
  }

  .agent-bubble-user {
    width: 100%;
  }

  .agent-hero-copy h2 {
    font-size: 30px;
  }

  .agent-core-card,
  .agent-guide-card,
  .agent-empty-card,
  .agent-loading-card,
  .agent-section-heading,
  .agent-analysis-card,
  .agent-rec-card {
    padding: 16px;
    border-radius: 20px;
  }

  .agent-card-headline,
  .agent-section-heading,
  .agent-loading-card,
  .agent-chat-shell,
  .agent-stream-head {
    align-items: flex-start;
  }

  .agent-contact-float {
    right: 14px;
    bottom: 14px;
  }

  .agent-stream-step {
    grid-template-columns: 26px 1fr;
  }

  .agent-stream-step em {
    grid-column: 2;
    white-space: normal;
  }
}


/* Cleaner VIP pricing page */
.vip-console-clean {
  grid-template-columns: 210px minmax(0, 1fr);
}

.vip-main-clean {
  padding: 0 4px 18px;
}

.vip-main-clean .service-title {
  align-items: center;
  padding: 4px 0 18px;
}

.vip-main-clean .service-title h2 {
  margin-top: 8px;
  font-size: 30px;
  letter-spacing: 0;
}

.vip-main-clean .service-title p {
  max-width: 760px;
  color: #5f6f83;
}

.vip-main-clean .vip-plan-board {
  gap: 18px;
  margin-top: 22px;
}

.vip-main-clean .vip-plan-card {
  min-height: 0;
  padding: 22px;
  border-radius: 16px;
  border-color: #e1eaf4;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 57, 103, 0.07);
}

.vip-main-clean .vip-plan-card::after {
  display: none;
}

.vip-main-clean .vip-plan-hot {
  border-color: #ffb56f;
  box-shadow: 0 12px 30px rgba(255, 117, 24, 0.12);
}

.vip-main-clean .vip-plan-title h3 {
  font-size: 20px;
}

.vip-main-clean .vip-plan-title p {
  min-height: 48px;
  font-size: 14px;
  line-height: 1.65;
}

.vip-main-clean .vip-plan-price strong {
  font-size: 42px;
}

.vip-main-clean .vip-plan-quota span {
  border-radius: 10px;
  background: #f6f9fc;
}

.vip-main-clean .vip-plan-card a {
  justify-self: stretch;
  text-align: center;
  border-radius: 12px;
  box-shadow: none;
}


/* VIP selectable slider */
.vip-plan-slider {
  display: grid;
  gap: 18px;
  margin-top: 22px;
  overflow: hidden;
}

.vip-slider-head {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  gap: 12px;
  align-items: center;
}

.vip-slider-arrow,
.vip-slider-tab,
.vip-slider-dots button {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.vip-slider-arrow {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: #0c4f96;
  background: #eef6ff;
  font-size: 28px;
  line-height: 1;
}

.vip-slider-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 6px;
  border: 1px solid #e1eaf4;
  border-radius: 14px;
  background: #f7fafd;
}

.vip-slider-tab {
  min-height: 38px;
  border-radius: 10px;
  color: #52657d;
  background: transparent;
  font-weight: 900;
}

.vip-slider-tab.is-active {
  color: #fff;
  background: #0d6fd8;
  box-shadow: 0 8px 18px rgba(13, 111, 216, 0.2);
}

.vip-plan-track {
  display: flex;
  gap: 18px;
  transform: translateX(calc(var(--vip-index, 1) * (var(--vip-card-width, 72%) + 18px) * -1));
  transition: transform 260ms ease;
  will-change: transform;
}

.vip-plan-track .vip-plan-card {
  flex: 0 0 var(--vip-card-width, 72%);
  opacity: 0.58;
  transform: scale(0.96);
  transition: opacity 220ms ease, transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
  cursor: pointer;
}

.vip-plan-track .vip-plan-card.is-active {
  opacity: 1;
  transform: scale(1);
  cursor: default;
}

.vip-plan-detail {
  margin: -4px 0 0;
  color: #44566e;
  font-size: 14px;
  line-height: 1.75;
}

.vip-slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.vip-slider-dots button {
  width: 28px;
  height: 6px;
  border-radius: 999px;
  background: #d4dfeb;
}

.vip-slider-dots button.is-active {
  background: #0d6fd8;
}

@media (max-width: 920px) {
  .vip-slider-head {
    grid-template-columns: 38px minmax(0, 1fr) 38px;
  }

  .vip-slider-tabs {
    grid-template-columns: 1fr;
  }

  .vip-plan-track {
    --vip-card-width: 88%;
  }
}


/* VIP slider polish */
.vip-main-clean .service-title {
  border-bottom-color: #eef3f8;
}

.vip-plan-slider {
  padding: 2px 0 8px;
}

.vip-plan-slider:focus-visible {
  outline: 3px solid rgba(13, 111, 216, 0.18);
  outline-offset: 6px;
  border-radius: 18px;
}

.vip-slider-head {
  max-width: 780px;
  margin: 0 auto;
}

.vip-slider-arrow {
  color: #0d5db5;
  background: #fff;
  border: 1px solid #dfeaf6;
  box-shadow: 0 8px 18px rgba(22, 72, 122, 0.07);
  transition: transform 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.vip-slider-arrow:hover {
  color: #fff;
  border-color: #0d6fd8;
  background: #0d6fd8;
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(13, 111, 216, 0.2);
}

.vip-slider-tabs {
  background: rgba(247, 250, 253, 0.78);
  backdrop-filter: blur(10px);
}

.vip-slider-tab {
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.vip-slider-tab:hover {
  color: #0d5db5;
  transform: translateY(-1px);
}

.vip-slider-tab.is-active:hover {
  color: #fff;
}

.vip-plan-track {
  --vip-card-width: 68%;
  padding: 6px 16% 14px;
  gap: 20px;
  transform: translateX(calc(var(--vip-index, 1) * (var(--vip-card-width, 68%) + 20px) * -1));
}

.vip-plan-track .vip-plan-card {
  flex: 0 0 var(--vip-card-width, 68%);
  opacity: 0.58;
  transform: scale(0.96);
  transition: opacity 220ms ease, transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
  cursor: pointer;
}

.vip-plan-track .vip-plan-card.is-active {
  opacity: 1;
  transform: scale(1);
  cursor: default;
}

.vip-plan-track .vip-plan-card.is-active::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(13, 111, 216, 0.16), rgba(255, 123, 24, 0.12));
  pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  padding: 1px;
}

.vip-plan-level {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 8px;
  padding: 4px 9px;
  border-radius: 999px;
  color: #0d5db5;
  background: #eef6ff;
  font-size: 12px;
  font-weight: 900;
}

.vip-plan-hot .vip-plan-level {
  color: #b45405;
  background: #fff2df;
}

.vip-plan-detail {
  min-height: 74px;
}

.vip-main-clean .vip-plan-card a {
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.vip-main-clean .vip-plan-card.is-active a,
.vip-main-clean .vip-plan-card a:hover {
  background: linear-gradient(180deg, #0d6fd8, #0757b2);
  box-shadow: 0 12px 24px rgba(7, 87, 178, 0.18);
  transform: translateY(-1px);
}

.vip-slider-dots button {
  transition: width 180ms ease, background 180ms ease, transform 180ms ease;
}

.vip-slider-dots button:hover {
  transform: scaleY(1.25);
}

.vip-slider-dots button.is-active {
  width: 38px;
}

@media (max-width: 920px) {
  .vip-plan-track {
    --vip-card-width: 86%;
    padding-inline: 7%;
  }

  .vip-slider-head {
    max-width: none;
  }

  .vip-plan-detail {
    min-height: auto;
  }
}


/* VIP slider recalibration: one stable card per view */
.vip-main-clean .vip-plan-slider {
  max-width: 760px;
  margin: 24px auto 0;
  overflow: hidden;
}

.vip-main-clean .vip-slider-head {
  max-width: 640px;
}

.vip-main-clean .vip-plan-track {
  --vip-card-width: 100%;
  display: flex;
  width: 100%;
  gap: 0;
  padding: 8px 0 14px;
  overflow: visible;
  transform: translateX(calc(var(--vip-index, 1) * -100%));
}

.vip-main-clean .vip-plan-track .vip-plan-card {
  flex: 0 0 100%;
  max-width: 100%;
  min-width: 0;
  opacity: 1;
  transform: none;
  cursor: default;
  box-sizing: border-box;
}

.vip-main-clean .vip-plan-track .vip-plan-card:not(.is-active) {
  pointer-events: none;
}

.vip-main-clean .vip-plan-card {
  display: grid;
  grid-template-rows: auto auto auto auto 1fr auto;
  gap: 14px;
  min-height: 520px;
  padding: 28px;
}

.vip-main-clean .vip-plan-title h3,
.vip-main-clean .vip-plan-title p,
.vip-main-clean .vip-plan-detail,
.vip-main-clean .vip-plan-price,
.vip-main-clean .vip-plan-quota,
.vip-main-clean .vip-plan-card ul,
.vip-main-clean .vip-plan-card a {
  position: relative;
  z-index: 1;
}

.vip-main-clean .vip-plan-detail {
  min-height: auto;
  max-width: 620px;
}

.vip-main-clean .vip-plan-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
  white-space: nowrap;
}

.vip-main-clean .vip-plan-price strong {
  display: inline-block;
  min-width: 0;
  font-size: 48px;
  line-height: 1;
}

.vip-main-clean .vip-plan-quota {
  max-width: 520px;
}

.vip-main-clean .vip-plan-quota span {
  min-width: 0;
}

.vip-main-clean .vip-plan-card a {
  align-self: end;
  justify-self: start;
  min-width: 220px;
}

@media (max-width: 920px) {
  .vip-main-clean .vip-plan-slider {
    max-width: none;
  }

  .vip-main-clean .vip-slider-head {
    max-width: none;
  }

  .vip-main-clean .vip-plan-card {
    min-height: auto;
    padding: 22px;
  }

  .vip-main-clean .vip-plan-card a {
    justify-self: stretch;
    min-width: 0;
  }
}


/* VIP carousel side-card layout */
.vip-main-clean .vip-plan-slider {
  max-width: 880px;
  margin: 24px auto 0;
  overflow: visible;
}

.vip-main-clean .vip-plan-track {
  position: relative;
  display: block;
  width: 100%;
  height: 560px;
  padding: 0;
  overflow: visible;
  transform: none;
}

.vip-main-clean .vip-plan-track .vip-plan-card {
  position: absolute;
  top: 26px;
  left: 50%;
  width: min(560px, 64%);
  max-width: none;
  min-width: 0;
  min-height: 500px;
  opacity: 0;
  transform: translateX(-50%) scale(0.82);
  transform-origin: center center;
  pointer-events: none;
  transition: transform 280ms ease, opacity 220ms ease, filter 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.vip-main-clean .vip-plan-track .vip-plan-card.is-active {
  z-index: 3;
  opacity: 1;
  transform: translateX(-50%) scale(1);
  pointer-events: auto;
}

.vip-main-clean .vip-plan-track .vip-plan-card.is-prev,
.vip-main-clean .vip-plan-track .vip-plan-card.is-next {
  z-index: 2;
  width: min(360px, 36%);
  min-height: 360px;
  opacity: 0.82;
  filter: saturate(0.88);
  pointer-events: auto;
  cursor: pointer;
}

.vip-main-clean .vip-plan-track .vip-plan-card.is-prev {
  transform: translateX(calc(-50% - 360px)) scale(0.82);
}

.vip-main-clean .vip-plan-track .vip-plan-card.is-next {
  transform: translateX(calc(-50% + 360px)) scale(0.82);
}

.vip-main-clean .vip-plan-track .vip-plan-card.is-prev .vip-plan-detail,
.vip-main-clean .vip-plan-track .vip-plan-card.is-next .vip-plan-detail,
.vip-main-clean .vip-plan-track .vip-plan-card.is-prev ul,
.vip-main-clean .vip-plan-track .vip-plan-card.is-next ul {
  display: none;
}

.vip-main-clean .vip-plan-track .vip-plan-card.is-prev .vip-plan-quota,
.vip-main-clean .vip-plan-track .vip-plan-card.is-next .vip-plan-quota {
  gap: 6px;
}

.vip-main-clean .vip-plan-track .vip-plan-card.is-prev .vip-plan-price strong,
.vip-main-clean .vip-plan-track .vip-plan-card.is-next .vip-plan-price strong {
  font-size: 34px;
}

.vip-main-clean .vip-plan-track .vip-plan-card.is-prev .vip-plan-title h3,
.vip-main-clean .vip-plan-track .vip-plan-card.is-next .vip-plan-title h3 {
  font-size: 18px;
}

.vip-main-clean .vip-plan-track .vip-plan-card.is-prev .vip-plan-title p,
.vip-main-clean .vip-plan-track .vip-plan-card.is-next .vip-plan-title p {
  min-height: 42px;
  font-size: 13px;
}

.vip-main-clean .vip-plan-track .vip-plan-card.is-prev a,
.vip-main-clean .vip-plan-track .vip-plan-card.is-next a {
  min-width: 0;
  width: 100%;
  padding-block: 9px;
  font-size: 14px;
}

.vip-main-clean .vip-plan-track .vip-plan-card:not(.is-active):not(.is-prev):not(.is-next) {
  visibility: hidden;
}

@media (max-width: 1100px) {
  .vip-main-clean .vip-plan-slider {
    max-width: 760px;
  }

  .vip-main-clean .vip-plan-track .vip-plan-card {
    width: min(520px, 66%);
  }

  .vip-main-clean .vip-plan-track .vip-plan-card.is-prev,
  .vip-main-clean .vip-plan-track .vip-plan-card.is-next {
    width: min(300px, 34%);
  }

  .vip-main-clean .vip-plan-track .vip-plan-card.is-prev {
    transform: translateX(calc(-50% - 300px)) scale(0.8);
  }

  .vip-main-clean .vip-plan-track .vip-plan-card.is-next {
    transform: translateX(calc(-50% + 300px)) scale(0.8);
  }
}

@media (max-width: 760px) {
  .vip-main-clean .vip-plan-track {
    height: auto;
  }

  .vip-main-clean .vip-plan-track .vip-plan-card,
  .vip-main-clean .vip-plan-track .vip-plan-card.is-active {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    min-height: auto;
    transform: none;
  }

  .vip-main-clean .vip-plan-track .vip-plan-card.is-prev,
  .vip-main-clean .vip-plan-track .vip-plan-card.is-next {
    display: none;
  }
}


/* VIP side-card detail polish */
.vip-main-clean .vip-plan-slider {
  padding-top: 4px;
}

.vip-slider-hint {
  margin: -4px 0 2px;
  color: #7b8da4;
  text-align: center;
  font-size: 13px;
}

.vip-main-clean .vip-slider-head {
  position: relative;
  z-index: 5;
}

.vip-main-clean .vip-slider-tabs {
  padding: 5px;
  border-color: #dce8f5;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.vip-main-clean .vip-slider-tab {
  min-height: 40px;
  font-size: 15px;
}

.vip-main-clean .vip-plan-track {
  height: 550px;
  margin-top: 4px;
}

.vip-main-clean .vip-plan-track .vip-plan-card {
  top: 22px;
  border-radius: 18px;
}

.vip-main-clean .vip-plan-track .vip-plan-card.is-active {
  border-color: #ffb16a;
  box-shadow: 0 22px 48px rgba(255, 120, 24, 0.14), 0 12px 30px rgba(17, 75, 139, 0.08);
}

.vip-main-clean .vip-plan-track .vip-plan-card.is-prev,
.vip-main-clean .vip-plan-track .vip-plan-card.is-next {
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(249,252,255,0.94));
  box-shadow: 0 14px 34px rgba(17, 75, 139, 0.08);
}

.vip-main-clean .vip-plan-track .vip-plan-card.is-prev:hover,
.vip-main-clean .vip-plan-track .vip-plan-card.is-next:hover {
  opacity: 0.96;
  filter: saturate(1);
  box-shadow: 0 18px 38px rgba(17, 75, 139, 0.12);
}

.vip-main-clean .vip-plan-level {
  letter-spacing: 0;
}

.vip-main-clean .vip-plan-title h3 {
  letter-spacing: 0;
}

.vip-main-clean .vip-plan-title p {
  color: #607187;
}

.vip-main-clean .vip-plan-price {
  color: #ff741f;
}

.vip-main-clean .vip-plan-price span {
  color: #667b94;
}

.vip-main-clean .vip-plan-quota span {
  padding: 10px 13px;
  border: 1px solid #edf3fa;
}

.vip-main-clean .vip-plan-card li {
  line-height: 1.65;
}

.vip-main-clean .vip-plan-card li::before {
  background: #ff8a2a;
}

.vip-main-clean .vip-plan-track .vip-plan-card.is-prev .vip-plan-badge,
.vip-main-clean .vip-plan-track .vip-plan-card.is-next .vip-plan-badge {
  top: 14px;
  right: 14px;
  padding: 5px 8px;
  font-size: 11px;
}

.vip-main-clean .vip-plan-track .vip-plan-card.is-prev .vip-plan-quota span,
.vip-main-clean .vip-plan-track .vip-plan-card.is-next .vip-plan-quota span {
  padding: 8px 10px;
  font-size: 13px;
}

.vip-main-clean .vip-plan-track .vip-plan-card.is-prev .vip-plan-level,
.vip-main-clean .vip-plan-track .vip-plan-card.is-next .vip-plan-level {
  margin-bottom: 6px;
}

.vip-main-clean .vip-slider-dots {
  margin-top: -4px;
}

.vip-main-clean .vip-slider-dots button {
  height: 5px;
}

@media (max-width: 1100px) {
  .vip-main-clean .vip-plan-track {
    height: 530px;
  }
}

@media (max-width: 760px) {
  .vip-slider-hint {
    display: none;
  }
}


/* VIP side-card refinement */
.vip-main-clean .vip-plan-slider {
  max-width: 900px;
  margin-top: 20px;
}

.vip-main-clean .vip-slider-hint {
  margin: 8px 0 0;
  color: #8a99ab;
}

.vip-main-clean .vip-plan-track {
  height: 520px;
  margin-top: 10px;
}

.vip-main-clean .vip-plan-track .vip-plan-card {
  top: 18px;
  width: min(500px, 58%);
  min-height: 470px;
  padding: 26px 28px;
  border-radius: 18px;
}

.vip-main-clean .vip-plan-track .vip-plan-card.is-active {
  border-color: #ff9f55;
  background: #fff;
  box-shadow: 0 20px 46px rgba(255, 120, 24, 0.12), 0 10px 28px rgba(14, 63, 117, 0.08);
}

.vip-main-clean .vip-plan-track .vip-plan-card.is-active::before {
  opacity: 0.65;
}

.vip-main-clean .vip-plan-track .vip-plan-card.is-prev,
.vip-main-clean .vip-plan-track .vip-plan-card.is-next {
  top: 74px;
  width: 245px;
  min-height: 315px;
  padding: 18px;
  opacity: 1;
  border-color: #e4edf7;
  background: #fff;
  filter: none;
  box-shadow: 0 14px 30px rgba(26, 72, 118, 0.08);
}

.vip-main-clean .vip-plan-track .vip-plan-card.is-prev {
  transform: translateX(calc(-50% - 340px)) scale(1);
}

.vip-main-clean .vip-plan-track .vip-plan-card.is-next {
  transform: translateX(calc(-50% + 340px)) scale(1);
}

.vip-main-clean .vip-plan-track .vip-plan-card.is-prev:hover,
.vip-main-clean .vip-plan-track .vip-plan-card.is-next:hover {
  transform: translateX(calc(-50% - 340px)) scale(1.02);
}

.vip-main-clean .vip-plan-track .vip-plan-card.is-next:hover {
  transform: translateX(calc(-50% + 340px)) scale(1.02);
}

.vip-main-clean .vip-plan-track .vip-plan-card.is-prev .vip-plan-title p,
.vip-main-clean .vip-plan-track .vip-plan-card.is-next .vip-plan-title p {
  min-height: 0;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.vip-main-clean .vip-plan-track .vip-plan-card.is-prev .vip-plan-quota span,
.vip-main-clean .vip-plan-track .vip-plan-card.is-next .vip-plan-quota span {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 7px 9px;
  font-size: 12px;
}

.vip-main-clean .vip-plan-track .vip-plan-card.is-prev .vip-plan-price,
.vip-main-clean .vip-plan-track .vip-plan-card.is-next .vip-plan-price {
  margin-top: 4px;
}

.vip-main-clean .vip-plan-track .vip-plan-card.is-prev .vip-plan-price strong,
.vip-main-clean .vip-plan-track .vip-plan-card.is-next .vip-plan-price strong {
  font-size: 30px;
}

.vip-main-clean .vip-plan-track .vip-plan-card.is-prev .vip-plan-price span,
.vip-main-clean .vip-plan-track .vip-plan-card.is-next .vip-plan-price span {
  font-size: 13px;
}

.vip-main-clean .vip-plan-track .vip-plan-card.is-prev a,
.vip-main-clean .vip-plan-track .vip-plan-card.is-next a {
  margin-top: 4px;
  padding: 8px 10px;
  font-size: 13px;
}

.vip-main-clean .vip-plan-card ul {
  gap: 7px;
}

.vip-main-clean .vip-slider-dots {
  margin-top: -10px;
}

@media (max-width: 1180px) {
  .vip-main-clean .vip-plan-track .vip-plan-card.is-prev,
  .vip-main-clean .vip-plan-track .vip-plan-card.is-next {
    width: 220px;
  }

  .vip-main-clean .vip-plan-track .vip-plan-card.is-prev {
    transform: translateX(calc(-50% - 300px)) scale(1);
  }

  .vip-main-clean .vip-plan-track .vip-plan-card.is-next {
    transform: translateX(calc(-50% + 300px)) scale(1);
  }

  .vip-main-clean .vip-plan-track .vip-plan-card.is-prev:hover {
    transform: translateX(calc(-50% - 300px)) scale(1.02);
  }

  .vip-main-clean .vip-plan-track .vip-plan-card.is-next:hover {
    transform: translateX(calc(-50% + 300px)) scale(1.02);
  }
}

@media (max-width: 920px) {
  .vip-main-clean .vip-plan-track {
    height: auto;
  }

  .vip-main-clean .vip-plan-track .vip-plan-card,
  .vip-main-clean .vip-plan-track .vip-plan-card.is-active {
    width: 100%;
    min-height: auto;
  }
}


/* Polished top user chip and VIP side nav entry */
.nav .auth-user-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 190px;
  height: 38px;
  padding: 5px 10px 5px 6px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 8px 20px rgba(4, 43, 92, 0.12);
  backdrop-filter: blur(8px);
}

.nav .auth-user-chip:hover,
.auth-menu:focus-within .auth-user-chip {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
}

.auth-user-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  color: #0d5db5;
  background: #fff;
  font-size: 13px;
  font-weight: 900;
}

.auth-user-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 900;
}

.auth-user-caret {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  margin: -3px 2px 0 0;
  border-right: 2px solid rgba(255, 255, 255, 0.82);
  border-bottom: 2px solid rgba(255, 255, 255, 0.82);
  transform: rotate(45deg);
  font-size: 0;
  line-height: 0;
}

.profile-side-nav a[href="./vip.html"] {
  color: #0d5db5;
  background: linear-gradient(90deg, #eef6ff, rgba(255, 255, 255, 0));
  font-weight: 900;
}

.profile-side-nav a[href="./vip.html"]::before {
  content: "VIP";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 18px;
  margin-right: 8px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(180deg, #ff8b2a, #ff6812);
  font-size: 10px;
  font-weight: 900;
  vertical-align: 1px;
}

.profile-side-nav a[href="./vip.html"].active {
  color: #fff;
  background: linear-gradient(90deg, #0d6fd8, #0757b2);
  box-shadow: 0 10px 22px rgba(13, 111, 216, 0.18);
}

/* Register page refresh */
body[data-page="register"] {
  background:
    radial-gradient(circle at 18% 18%, rgba(13, 111, 216, 0.12), transparent 34%),
    linear-gradient(180deg, #eef6ff 0%, #f8fbff 46%, #ffffff 100%);
}

.register-main-v3 {
  padding-top: 42px;
  padding-bottom: 72px;
}

.register-panel-v3 {
  grid-template-columns: minmax(320px, 0.92fr) minmax(380px, 1.08fr);
  gap: 0;
  max-width: 1040px;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(191, 213, 239, 0.82);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(24, 88, 154, 0.12);
}

.register-shell-v3 {
  min-height: 100%;
  padding: 34px;
  color: #fff;
  background:
    linear-gradient(150deg, rgba(8, 88, 176, 0.96), rgba(11, 118, 214, 0.88)),
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.28), transparent 34%);
}

.register-shell-v3 .eyebrow {
  color: #0d5db8;
  background: rgba(255, 255, 255, 0.92);
}

.register-shell-v3 h2 {
  max-width: 360px;
  margin: 22px 0 12px;
  color: #fff;
  font-size: 36px;
  line-height: 1.18;
  letter-spacing: 0;
}

.register-shell-v3 p {
  max-width: 420px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
}

.register-benefit-list {
  display: grid;
  gap: 10px;
  margin: 28px 0 32px;
}

.register-benefit-list span {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-weight: 800;
}

.register-benefit-list span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.16);
}

.register-progress-v3 {
  display: grid;
  gap: 12px;
  margin-top: auto;
}

.register-progress-v3 .register-step {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 12px;
  border-radius: 16px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.08);
}

.register-progress-v3 .register-step strong {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #0d5db8;
  background: rgba(255, 255, 255, 0.9);
  font-size: 15px;
}

.register-progress-v3 .register-step span {
  font-weight: 900;
}

.register-progress-v3 .register-step.active,
.register-progress-v3 .register-step.done {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
}

.register-form-card-v3 {
  align-self: stretch;
  min-height: 560px;
  padding: 34px;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.register-form-card-v3 .register-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: #172033;
}

.register-form-card-v3 .register-section-title span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 28px;
  border-radius: 999px;
  color: #0d5db8;
  background: #eaf4ff;
  font-size: 13px;
  font-weight: 900;
}

.register-form-card-v3 label {
  gap: 7px;
}

.register-form-card-v3 input {
  min-height: 48px;
  border-color: #d8e5f4;
  background: #fbfdff;
}

.register-form-card-v3 input:focus {
  border-color: #0d6fd8;
  box-shadow: 0 0 0 4px rgba(13, 111, 216, 0.1);
}

.register-form-card-v3 .code-field button,
.register-form-card-v3 .register-ghost-btn {
  min-height: 48px;
  border: 0;
  border-radius: 14px;
  font-weight: 900;
  cursor: pointer;
}

.register-form-card-v3 .code-field button {
  color: #fff;
  background: linear-gradient(180deg, #ff8c2b, #ff6b11);
  box-shadow: 0 12px 24px rgba(255, 107, 17, 0.16);
}

.register-form-card-v3 .register-ghost-btn {
  padding: 0 18px;
  color: #0d5db8;
  background: #eaf4ff;
}

.register-form-card-v3 .register-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.register-form-card-v3 .register-action-row .auth-submit {
  flex: 1 1 180px;
}

.register-form-card-v3 .register-step-hint {
  margin: -2px 0 0;
  color: #667085;
  font-size: 13px;
  line-height: 1.7;
}

.register-form-card-v3 .auth-switch {
  align-self: end;
  padding-top: 6px;
}

@media (max-width: 820px) {
  .register-main-v3 {
    padding-top: 24px;
    padding-bottom: 44px;
  }

  .register-panel-v3 {
    grid-template-columns: 1fr;
    border-radius: 20px;
  }

  .register-shell-v3,
  .register-form-card-v3 {
    padding: 22px;
  }

  .register-shell-v3 h2 {
    font-size: 28px;
  }

  .register-progress-v3 {
    grid-template-columns: 1fr;
  }

  .register-form-card-v3 {
    min-height: auto;
  }

  .register-form-card-v3 .code-field,
  .register-form-card-v3 .register-action-row {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }
}

.profile-side-nav a[href="./vip.html"].active::before {
  color: #ff7b18;
  background: #fff;
}


/* Home page light refresh and list API crypto rollout */
body[data-page="home"] .stage-shell {
  padding-top: 18px;
}

body[data-page="home"] .search-card {
  padding: 22px;
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(22, 70, 126, 0.08);
}

body[data-page="home"] .filter-tabs {
  margin-bottom: 14px;
}

body[data-page="home"] .filter-tab {
  padding: 9px 16px;
  border-radius: 999px;
  background: #f8fbff;
}

body[data-page="home"] .agent-home-panel {
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 16px;
  margin-top: 18px;
  padding: 20px;
  border-color: #dce9f7;
  background: linear-gradient(135deg, #fbfdff 0%, #f5f9ff 58%, #fffaf5 100%);
  box-shadow: none;
}

body[data-page="home"] .agent-home-panel::before {
  display: none;
}

body[data-page="home"] .agent-home-main {
  min-height: 150px;
  gap: 10px;
}

body[data-page="home"] .agent-home-kicker {
  padding: 6px 10px;
  box-shadow: none;
}

body[data-page="home"] .agent-home-main h2 {
  max-width: 680px;
  font-size: clamp(24px, 2.4vw, 32px);
  letter-spacing: -0.02em;
}

body[data-page="home"] .agent-home-main p {
  max-width: 720px;
  line-height: 1.75;
}

body[data-page="home"] .agent-home-tags span {
  background: #fff;
  border-color: #e4edf7;
  font-weight: 700;
}

body[data-page="home"] .agent-home-action {
  padding: 18px;
  border-color: #e5edf6;
  background: #fff;
  box-shadow: 0 10px 24px rgba(22, 70, 126, 0.06);
}

body[data-page="home"] .agent-home-orb {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  box-shadow: none;
}

body[data-page="home"] .agent-home-action strong {
  font-size: 16px;
}

body[data-page="home"] .agent-home-action span {
  line-height: 1.65;
}

body[data-page="home"] .agent-home-action a {
  min-height: 42px;
  box-shadow: none;
}

body[data-page="home"] .stats-strip {
  gap: 10px;
  margin-top: 12px;
}

body[data-page="home"] .stat-card {
  padding: 14px 16px;
  border-radius: 16px;
  background: #fff;
  box-shadow: none;
}

body[data-page="home"] .stat-value {
  font-size: 28px;
}

body[data-page="home"] .latest-panel {
  box-shadow: 0 12px 28px rgba(22, 70, 126, 0.06);
}

body[data-page="home"] .latest-item {
  padding: 16px;
  border-radius: 16px;
  background: #fff;
  box-shadow: none;
}

body[data-page="home"] .latest-item h4 {
  font-size: 20px;
}

@media (max-width: 900px) {
  body[data-page="home"] .agent-home-panel {
    grid-template-columns: 1fr;
  }
}


/* Tag-style filters inspired by procurement list pages */
.filter-search-row {
  display: flex;
  justify-content: flex-end;
  margin-top: -4px;
}

.tag-filter-panel {
  display: grid;
  gap: 9px;
  padding-top: 12px;
  border-top: 1px solid #eef3f8;
}

.tag-filter-row {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.tag-filter-label {
  color: #7b8795;
  font-size: 14px;
  line-height: 30px;
  white-space: nowrap;
}

.tag-filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 10px;
  min-width: 0;
}

.tag-filter-chip {
  min-height: 30px;
  padding: 0 11px;
  border-radius: 4px;
  border: 0;
  background: transparent;
  color: #1f2d3d;
  font-size: 14px;
  font-weight: 500;
  box-shadow: none;
  transition: background 0.16s ease, color 0.16s ease;
}

.tag-filter-chip:hover {
  background: #edf5ff;
  color: #0d5db8;
  transform: none;
}

.tag-filter-chip.active {
  background: #1c6fe8;
  color: #fff;
  font-weight: 800;
}

@media (max-width: 760px) {
  .keyword-search-row {
    grid-template-columns: 1fr;
  }
  .filter-search-row {
    justify-content: stretch;
  }
  .filter-search-row .filter-submit {
    width: 100%;
  }
  .tag-filter-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .tag-filter-label {
    line-height: 1.5;
  }
}


/* Cleaner search strip with publish time filters */
.filter-date-input {
  display: inline-flex;
  width: 138px;
  height: 32px;
  padding: 4px 10px;
  border-radius: 3px;
  background: #fff;
}

.date-filter-options::after {
  content: "??????????";
  display: none;
}

body[data-page="home"] .agent-home-panel {
  display: none;
}

body[data-page="home"] .search-card,
body[data-page="list"] .filters-panel {
  border-radius: 14px;
  box-shadow: none;
}

body[data-page="home"] .filter-form-block,
body[data-page="list"] .filter-form-block {
  gap: 12px;
}

body[data-page="home"] .tag-filter-panel,
body[data-page="list"] .tag-filter-panel {
  gap: 8px;
  padding-top: 12px;
}


.date-range-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 10px;
  color: #9aa6b2;
}

@media (max-width: 760px) {
  .date-range-inline {
    margin-left: 0;
    width: 100%;
  }
  .filter-date-input {
    width: 100%;
  }
}


/* Fix home notice active state after simplified filter overrides */
body[data-page="home"] .filter-tab.active,
body[data-page="home"] .filter-tab:hover,
body[data-page="list"] .filter-tab.active,
body[data-page="list"] .filter-tab:hover {
  background: #1c6fe8;
  color: #fff;
  border-color: #1c6fe8;
  box-shadow: none;
}


/* Inline agent tab cleanup */
.filter-tab[data-agent-tab] {
  color: #0d5db8;
  border-color: #cfe0fb;
  background: #f8fbff;
}

.filter-tab[data-agent-tab]:hover {
  background: #1c6fe8;
  color: #fff;
  border-color: #1c6fe8;
}
