/* ============================================================
   好律师网 · 全站样式
   配色：蓝 / 白 / 黑，辅助金棕；圆角统一 8px / 12px
   ============================================================ */

:root {
  --ink:        #141C26;
  --ink-2:      #43505C;
  --ink-3:      #7A8694;
  --blue:       #4D61FC;
  --blue-deep:  #3546D6;
  --blue-dark:  #1E287F;
  --blue-soft:  #EEF1FF;
  --blue-line:  #C9D3FF;
  --bg:         #FFFFFF;
  --bg-soft:    #F6F7FF;
  --line:       #E4E7F2;
  --gold:       #B08D4F;
  --gold-deep:  #8A6A2F;
  --gold-soft:  #F7F1E3;
  --gold-line:  #EADFC2;
  --green:      #2E9C6B;
  --green-deep: #1E7350;
  --green-soft: #EAF7F1;
  --green-line: #CBEADD;
  --danger:     #B3412F;
  --accent:     #F2673F;
  --accent-deep:#C4552F;
  --accent-soft:#FFF0EB;
  --accent-line:#FFD4C5;
  --red:        #C04436;
  --red-deep:   #9B3127;
  --red-soft:   #FBEDEA;
  --red-line:   #F0CFC9;
  --radius:     3px;
  --radius-lg:  3px;
  --ease:       cubic-bezier(.22,.61,.36,1);
  --ring:       0 0 0 3px rgba(77,97,252,.16);
  --shadow:     0 1px 2px rgba(20,28,38,.04), 0 10px 30px rgba(20,28,38,.08);
  --shadow-s:   0 1px 2px rgba(20,28,38,.05), 0 1px 3px rgba(20,28,38,.04);
  --shadow-btn: 0 1px 2px rgba(9,32,64,.22), inset 0 1px 0 rgba(255,255,255,.12);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { vertical-align: middle; }
img { max-width: 100%; }
::selection { background: rgba(77,97,252,.16); }
a { color: var(--blue); text-decoration: none; transition: color .18s var(--ease); }
a:hover { color: var(--blue-deep); }
a:focus-visible, button:focus-visible {
  outline: 2px solid rgba(77,97,252,.55);
  outline-offset: 2px;
  border-radius: var(--radius);
}
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
input::placeholder, textarea::placeholder { color: var(--ink-3); opacity: 1; }
:target { scroll-margin-top: 88px; }
summary:focus-visible { outline: 2px solid rgba(77,97,252,.55); outline-offset: 3px; border-radius: var(--radius); }

h1, h2, h3, h4 { line-height: 1.4; font-weight: 600; letter-spacing: .01em; text-wrap: balance; }
p { text-wrap: pretty; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

.icon {
  width: 1em; height: 1em; flex: none;
  fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.icon-fill { fill: currentColor; stroke: none; }

/* 内联图标库容器：不占位、不可见 */
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------------- 页头 ---------------- */
.site-header {
  background: #fff;
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 4px 18px rgba(20,28,38,.09);
}
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: 72px; width: 100%; max-width: none; padding-left: 40px; padding-right: 40px; }

.brand { display: flex; align-items: center; gap: 9px; flex: 1 1 0; min-width: 0; color: var(--ink); }
.brand-logo { display: block; flex: none; height: 34px; width: auto; max-width: 140px; transition: opacity .18s var(--ease); }
.brand:hover .brand-logo { opacity: .86; }
.brand:hover { color: var(--ink); }
.brand-sub {
  display: inline; margin-left: 0; padding-left: 10px;
  border-left: 1px solid var(--line);
  font-size: 13px; font-weight: 400; color: var(--ink-2);
  letter-spacing: .01em; white-space: nowrap;
}

.main-nav { display: flex; align-items: center; gap: 0; flex: none; margin: 0; }
.main-nav a {
  display: inline-flex; align-items: center; white-space: nowrap;
  min-height: 38px; padding: 8px 13px;
  color: #101010; font-size: 16px; font-weight: 500;
  border-radius: 0;
  transition: color .18s var(--ease), font-weight .18s var(--ease);
}
.main-nav a:hover { color: var(--blue); background: transparent; font-weight: 600; }
.main-nav a.active { color: var(--blue); background: transparent; box-shadow: none; font-weight: 600; }

.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 6px; flex: 1 1 0; min-width: 0; }

.header-ask {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 8px; font-size: 14px; font-weight: 600; color: var(--blue);
  white-space: nowrap; flex: none;
  transition: color .18s var(--ease);
}
.header-ask:hover { color: var(--blue-deep); }
.header-ask-ico {
  flex: none; width: 24px; height: 24px; border-radius: var(--radius);
  background: var(--blue); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 6px rgba(77,97,252,.28), inset 0 1px 0 rgba(255,255,255,.2);
}
.header-ask-ico .icon { width: 13px; height: 13px; }
.header-link {
  display: inline-flex; align-items: center;
  padding: 6px 9px; font-size: 14px; font-weight: 500; color: #101010;
  white-space: nowrap; flex: none;
  transition: color .18s var(--ease);
}
.header-link:hover { color: var(--blue); }

.nav-toggle {
  display: none; margin-left: auto;
  width: 40px; height: 40px; border: 1px solid var(--line); background: #fff;
  border-radius: var(--radius); cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 20px; height: 20px; }

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 22px; font-size: 15px; line-height: 1.3; font-weight: 500;
  border: 1px solid transparent; border-radius: var(--radius);
  cursor: pointer; white-space: nowrap;
  transition: background .18s var(--ease), border-color .18s var(--ease),
    color .18s var(--ease), box-shadow .18s var(--ease), transform .14s var(--ease);
}
.btn-primary {
  background: linear-gradient(180deg, #4D61FC 0%, var(--blue) 100%);
  color: #fff;
  box-shadow: var(--shadow-btn);
}
.btn-primary:hover {
  background: linear-gradient(180deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: #fff;
  box-shadow: 0 2px 8px rgba(9,32,64,.28), inset 0 1px 0 rgba(255,255,255,.1);
  transform: translateY(-1px);
}
.btn-primary:active {
  background: var(--blue-deep);
  box-shadow: inset 0 1px 3px rgba(0,0,0,.22);
  transform: translateY(0);
}
.btn-outline { background: #fff; color: var(--blue-deep); border-color: var(--blue-line); box-shadow: var(--shadow-s); }
.btn-outline:hover {
  background: var(--blue-soft); color: var(--blue-deep); border-color: var(--blue);
  box-shadow: 0 2px 6px rgba(77,97,252,.12); transform: translateY(-1px);
}
.btn-outline:active { transform: translateY(0); box-shadow: inset 0 1px 2px rgba(77,97,252,.12); }
.btn-ghost { background: transparent; color: var(--ink-2); border-color: var(--line); }
.btn-ghost:hover { background: var(--bg-soft); border-color: var(--blue-line); color: var(--blue-deep); }
.btn-sm { padding: 7px 14px; font-size: 13.5px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.btn:focus-visible { box-shadow: var(--ring); }
.btn .icon { width: 16px; height: 16px; }

/* ---------------- 面包屑 ---------------- */
.breadcrumb { padding: 18px 0 4px; font-size: 13.5px; color: var(--ink-3); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--line); }
.breadcrumb a { color: var(--ink-3); }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb [aria-current] { color: var(--ink-2); }

/* ---------------- 版块标题 ---------------- */
.section { padding: 52px 0; }
.section-soft {
  background:
    radial-gradient(720px 340px at 100% 0%, rgba(77,97,252,.075), transparent 65%),
    radial-gradient(520px 280px at 0% 100%, rgba(176,141,79,.055), transparent 65%),
    var(--bg-soft);
}
.section-sub { margin: -14px 0 20px; font-size: 13.5px; color: var(--ink-3); line-height: 1.8; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.section-title { font-size: 24px; font-weight: 700; color: var(--ink); display: flex; align-items: center; gap: 10px; }
.section-title::before { content: ""; width: 4px; height: 20px; background: var(--blue); border-radius: 2px; box-shadow: 0 0 14px rgba(77,97,252,.42); }
.section-more { font-size: 14px; color: var(--ink-3); display: inline-flex; align-items: center; gap: 4px; }
.section-more:hover { color: var(--accent-deep); }
.section-more .icon { width: 14px; height: 14px; }

/* ---------------- 主页 Hero ---------------- */
.hero {
  position: relative; overflow: hidden; color: var(--ink);
  background:
    radial-gradient(760px 420px at 6% -10%, rgba(77,97,252,.12), transparent 60%),
    radial-gradient(640px 360px at 104% 0%, rgba(122,139,255,.16), transparent 62%),
    linear-gradient(180deg, #F3F6FF 0%, #FAFBFF 58%, #FFFFFF 100%);
}
.hero::before {
  content: ""; position: absolute; right: -220px; top: -240px;
  width: 640px; height: 640px; border-radius: 50%;
  border: 1px solid rgba(77,97,252,.12); pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; left: -180px; bottom: -260px;
  width: 520px; height: 520px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(77,97,252,.10), rgba(77,97,252,0) 68%);
}
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr .78fr; gap: 64px; padding: 66px 20px 78px; align-items: center; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding-left: 10px; margin-bottom: 16px;
  border-left: 3px solid var(--blue); border-radius: 0;
  color: var(--blue-deep);
  font-size: 12.5px; font-weight: 600; letter-spacing: .12em;
}
.hero-eyebrow .icon { width: 14px; height: 14px; color: var(--blue); }
.hero h1 { font-size: 46px; font-weight: 700; letter-spacing: -.01em; line-height: 1.28; color: var(--ink); }
.hero h1 em {
  font-style: normal; color: var(--blue); white-space: nowrap;
  background: linear-gradient(180deg, transparent 64%, rgba(240,217,168,.62) 64%);
}
.hero-desc { margin: 18px 0 28px; color: var(--ink-2); font-size: 16.5px; max-width: 34em; line-height: 1.9; }

.hero-search {
  display: flex; background: #fff; border: 1px solid #D9E0FF;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 16px 38px rgba(77,97,252,.14);
}
.hero-search input {
  flex: 1; border: 0; outline: 0; padding: 16px 18px; font-size: 15.5px; color: var(--ink); min-width: 0;
}
.hero-search input::placeholder { color: var(--ink-3); }
.hero-search:focus-within { border-color: var(--blue); box-shadow: 0 16px 38px rgba(77,97,252,.16), 0 0 0 3px rgba(77,97,252,.10); }
.hero-search button {
  border: 0; background: linear-gradient(180deg, var(--blue) 0%, var(--blue-deep) 100%); color: #fff;
  padding: 0 30px; cursor: pointer; font-size: 15.5px; font-weight: 500;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14);
  transition: background .18s var(--ease);
}
.hero-search button:hover { background: linear-gradient(180deg, var(--blue-deep) 0%, #2C3AC0 100%); }
.hero-search button:active { background: #2C3AC0; }

.hero-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; font-size: 13px; }
.hero-tags > span { color: var(--accent-deep); font-weight: 500; }
.hero-tags a {
  color: var(--ink-2); border: 1px solid #DDE3FF; padding: 4px 11px;
  border-radius: var(--radius); background: rgba(255,255,255,.72);
  transition: background .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}
.hero-tags a:hover { background: #fff; border-color: #B9C4FF; color: var(--blue-deep); }

.hero-trust {
  display: flex; align-items: center; gap: 14px;
  margin-top: 28px; padding-top: 24px;
  border-top: 1px solid rgba(77,97,252,.12);
}
.hero-avatars { display: flex; padding-left: 6px; flex: none; }
.hero-avatars span {
  width: 34px; height: 34px; margin-left: -8px;
  border-radius: var(--radius); border: 2px solid #fff;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: 12px; font-weight: 600;
  box-shadow: 0 2px 6px rgba(31,42,140,.14);
}
.hero-avatars span:first-child { margin-left: 0; }
.hero-trust-copy strong { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.hero-trust-copy span { display: block; margin-top: 2px; font-size: 12.5px; color: var(--ink-3); }

/* Hero 快速提问卡片 */
.ask-quick {
  position: relative; z-index: 1; overflow: hidden;
  background:
    radial-gradient(300px 200px at 100% 0%, rgba(77,97,252,.08), transparent 70%),
    #fff;
  color: var(--ink);
  border: 1px solid #D9E0FF; border-radius: var(--radius);
  padding: 24px 24px 20px;
  box-shadow: 0 24px 60px rgba(31,42,140,.16), 0 2px 8px rgba(20,28,38,.04);
}
.ask-quick::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue) 0%, #7A8BFF 62%, var(--accent) 100%);
}
.ask-quick-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.ask-quick-ico {
  flex: none; width: 42px; height: 42px; border-radius: var(--radius);
  background: var(--blue-soft); color: var(--blue);
  box-shadow: inset 0 0 0 1px rgba(77,97,252,.1);
  display: inline-flex; align-items: center; justify-content: center;
}
.ask-quick-ico .icon { width: 20px; height: 20px; }
.ask-quick-head strong { display: block; font-size: 17px; font-weight: 700; }
.ask-quick-head > div > span { display: block; font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }
.ask-quick .form-group { margin-bottom: 14px; }
.ask-quick .form-label { font-size: 13.5px; margin-bottom: 6px; }
.ask-quick .form-control { padding: 9px 12px; font-size: 14px; border-radius: var(--radius); }
.ask-quick .form-control:focus { box-shadow: 0 0 0 3px rgba(77,97,252,.12); }
.ask-quick textarea.form-control { min-height: 76px; resize: vertical; line-height: 1.7; }
.ask-quick-region { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ask-quick .btn { border-radius: var(--radius); }
.ask-quick-note { font-size: 12px; color: var(--ink-3); margin-top: 10px; text-align: center; }
.ask-quick-done { text-align: center; padding: 18px 6px 6px; }
.ask-quick-done > .icon { width: 44px; height: 44px; color: var(--blue); margin-bottom: 10px; }
.ask-quick-done .t { font-size: 17px; font-weight: 700; color: var(--ink); }
.ask-quick-done .d { font-size: 13px; color: var(--ink-3); margin: 4px 0 18px; }

/* ---------------- 服务领域 / 图标卡片 ---------------- */
.grid-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card-service {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 20px 20px; box-shadow: var(--shadow-s);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
  color: var(--ink);
}
.card-service:hover { border-color: var(--blue-line); box-shadow: var(--shadow); transform: translateY(-1px); color: var(--ink); }
.card-service .icon { width: 30px; height: 30px; color: var(--blue); margin-bottom: 12px; }
.card-service h3 { font-size: 16.5px; margin-bottom: 6px; }
.card-service p { font-size: 13.5px; color: var(--ink-3); line-height: 1.7; }

/* ---------------- 问答条目 ---------------- */
.qa-item {
  display: flex; gap: 12px; padding: 18px 16px;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.qa-item:hover { border-color: var(--blue-line); box-shadow: var(--shadow); transform: translateY(-1px); }
.qa-item:focus-within, .news-item:focus-within, .lawyer-card:focus-within, .scope-card:focus-within { border-color: var(--blue-line); box-shadow: var(--shadow); }
.layout-main .qa-item + .qa-item { margin-top: 14px; }
#newsList > .news-item + .news-item { margin-top: 14px; }
.qa-item-q {
  position: relative; flex: none;
  width: 28px; height: 28px; border-radius: var(--radius) var(--radius) var(--radius) 2px;
  background: #4D61FC; color: #fff;
  box-shadow: 0 2px 6px rgba(77,97,252,.28), inset 0 1px 0 rgba(255,255,255,.24);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 12.5px; line-height: 1;
}
.qa-item-q::after {
  content: ""; position: absolute; left: 5px; bottom: -4px;
  width: 10px; height: 7px; background: #4D61FC;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.qa-item-body { flex: 1; min-width: 0; }
.qa-item-title { font-size: 16.5px; font-weight: 600; color: var(--ink); line-height: 1.55; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qa-item-title:hover { color: var(--blue-deep); }
.qa-item-excerpt { font-size: 14px; color: var(--ink-3); line-height: 1.7; margin: 4px 0 8px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.qa-item-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 13px; color: var(--ink-3); align-items: center; }
.qa-item-meta .m { display: inline-flex; align-items: center; gap: 5px; }
.qa-item-meta .icon { width: 14px; height: 14px; }
.qa-item-meta .region { color: var(--ink-2); }
.qa-item-qa { display: block; }
.qa-thread-q, .qa-thread-a { display: flex; align-items: flex-start; gap: 12px; }
.qa-thread-a { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); }
.qa-mark {
  position: relative; flex: none;
  width: 28px; height: 28px; border-radius: var(--radius);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: 12.5px; font-weight: 700; line-height: 1;
}
.qa-mark-q {
  border-radius: var(--radius) var(--radius) var(--radius) 2px;
  background: #4D61FC;
  box-shadow: 0 2px 6px rgba(77,97,252,.28), inset 0 1px 0 rgba(255,255,255,.24);
}
.qa-mark-q::after {
  content: ""; position: absolute; left: 5px; bottom: -4px;
  width: 10px; height: 7px; background: #4D61FC;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.qa-mark-a {
  border-radius: var(--radius) var(--radius) 2px var(--radius);
  background: linear-gradient(150deg, #FF8A63 0%, #F2673F 100%);
  box-shadow: 0 2px 6px rgba(242,103,63,.26), inset 0 1px 0 rgba(255,255,255,.22);
}
.qa-mark-a::after {
  content: ""; position: absolute; right: 5px; bottom: -4px;
  width: 10px; height: 7px; background: #F2673F;
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}
.qa-thread-body { flex: 1; min-width: 0; }
.qa-thread-a .qa-thread-body {
  padding: 8px 12px; background: var(--accent-soft);
  border: 1px solid var(--accent-line); border-radius: var(--radius);
}
.qa-best-label { display: block; font-size: 11.5px; font-weight: 600; color: var(--accent-deep); letter-spacing: .02em; }
.qa-best-text {
  font-size: 13px; color: var(--ink-2); line-height: 1.7; margin-top: 2px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; line-height: 1; padding: 4px 8px; border-radius: var(--radius);
  border: 1px solid transparent; letter-spacing: .02em;
}
.badge .icon { width: 12px; height: 12px; }
.badge-blue { background: var(--blue-soft); color: var(--blue-deep); border-color: #D3DAFF; }
.badge-gold { background: var(--gold-soft); color: var(--gold-deep); border-color: var(--gold-line); }
.badge-green { background: var(--green-soft); color: var(--green-deep); border-color: var(--green-line); }
.badge-gray { background: var(--bg-soft); color: var(--ink-3); border-color: var(--line); }

/* ---------------- 资讯条目 ---------------- */
.news-item {
  display: flex; gap: 14px; align-items: flex-start; min-width: 0;
  padding: 18px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.news-item:hover { border-color: var(--blue-line); box-shadow: var(--shadow); transform: translateY(-1px); }
.news-item .icon-wrap {
  flex: none; width: 42px; height: 42px; border-radius: var(--radius);
  background: var(--blue-soft); color: var(--blue);
  box-shadow: inset 0 0 0 1px rgba(77,97,252,.1);
  display: inline-flex; align-items: center; justify-content: center;
}
.news-item .icon-wrap .icon { width: 20px; height: 20px; }
.news-item-body { flex: 1; min-width: 0; }
.news-item-title { font-size: 16px; font-weight: 600; color: var(--ink); line-height: 1.55; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.news-item-title:hover { color: var(--blue-deep); }
.news-item-desc { font-size: 13.5px; color: var(--ink-3); line-height: 1.7; margin: 4px 0 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-item-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: 12.5px; color: var(--ink-3); }
.news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

/* ---------------- 双栏布局 ---------------- */
.layout { display: grid; grid-template-columns: 1fr 320px; gap: 28px; align-items: start; padding-bottom: 64px; }
.layout-main { min-width: 0; }
.layout-aside { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 20px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.panel-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.panel-head h2 { font-size: 16px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.panel-head h2 .icon { width: 17px; height: 17px; color: var(--blue); }
.panel-body { padding: 16px 18px; }

.rank-list li + li { border-top: 1px dashed var(--line); }
.rank-list a { display: flex; gap: 10px; padding: 11px 0; color: var(--ink-2); font-size: 14px; line-height: 1.6; }
.rank-list a:hover { color: var(--blue-deep); }
.rank-list .n {
  flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: var(--radius);
  background: var(--bg-soft); color: var(--ink-3); font-size: 12px;
  display: inline-flex; align-items: center; justify-content: center;
}
.rank-list li:nth-child(1) .n { background: var(--blue); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.18); }
.rank-list li:nth-child(2) .n { background: var(--blue-soft); color: var(--blue-deep); }
.rank-list li:nth-child(3) .n { background: var(--blue-soft); color: var(--blue-deep); }
.rank-list li:first-child .n { background: var(--accent-soft); color: var(--accent-deep); box-shadow: inset 0 0 0 1px var(--accent-line); }

/* ---------------- 问答列表页头 ---------------- */
.qa-list-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 18px; }
.qa-list-heading { flex: 1; min-width: 0; }
.qa-list-sub { margin-top: 5px; font-size: 13px; color: var(--ink-3); letter-spacing: .01em; }
.qa-list-tools { display: flex; align-items: center; gap: 10px; flex: none; }
.qa-head-search { flex: 0 0 360px; width: 360px; height: 42px; }
.qa-head-search button { height: 34px; }

/* ---------------- 筛选器 ---------------- */
.filter-bar {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; margin-bottom: 20px;
  padding: 16px 20px 15px;
  box-shadow: var(--shadow-s);
}
.filter-top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px 20px;
  padding-bottom: 14px; border-bottom: 1px solid #EFF2FF; flex-wrap: wrap;
}
.filter-count { font-size: 13px; color: var(--ink-3); letter-spacing: .02em; }
.filter-clear { font-size: 12.5px; color: var(--ink-3); display: inline-flex; align-items: center; gap: 4px; }
.filter-clear:hover { color: var(--blue-deep); }
.filter-count b {
  color: var(--blue-deep); font-size: 21px; font-weight: 700;
  padding: 0 4px; font-variant-numeric: tabular-nums;
}
.filter-search {
  display: flex; align-items: center; flex: 0 1 360px; min-width: 220px;
  height: 40px; padding: 3px 3px 3px 12px;
  background: #fff; border: 1px solid #DEE3FF; border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(20,28,38,.04);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.filter-search:hover { border-color: var(--blue-line); }
.filter-search:focus-within { border-color: var(--blue); box-shadow: var(--ring); }
.filter-search > .icon {
  width: 15px; height: 15px; flex: none; color: var(--ink-3);
  transition: color .18s ease;
}
.filter-search:focus-within > .icon { color: var(--blue); }
.filter-search input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent;
  padding: 0 10px; font-size: 13.5px; color: var(--ink);
}
.filter-search input::placeholder { color: var(--ink-3); }
.filter-search button {
  flex: none; height: 32px; padding: 0 16px;
  border: 0; border-radius: var(--radius);
  background: var(--blue); color: #fff; font-size: 13px; font-weight: 500;
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 1px 2px rgba(9,32,64,.2), inset 0 1px 0 rgba(255,255,255,.12);
  transition: background .18s var(--ease);
}
.filter-search button:hover { background: var(--blue-deep); }
.filter-search button:active { background: #2C3AC0; }

.filter-row { display: flex; align-items: flex-start; gap: 12px; padding-top: 12px; flex-wrap: wrap; }
.filter-row + .filter-row { margin-top: 10px; padding-top: 10px; border-top: 1px dashed #EEF1FF; }
.filter-label {
  flex: none; width: 40px; font-size: 12.5px; font-weight: 500; color: var(--ink-2);
  line-height: 30px; letter-spacing: .02em;
}
.filter-opts { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; min-width: 0; }
.filter-opts a, .filter-opts button {
  font-size: 13px; color: var(--ink-2); padding: 3px 12px; line-height: 1.85;
  background: #F5F6FF; border: 1px solid transparent; border-radius: var(--radius); cursor: pointer;
  transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.filter-opts a:hover, .filter-opts button:hover { background: var(--blue-soft); color: var(--blue-deep); }
.filter-opts .on {
  background: var(--blue); color: #fff; font-weight: 500; border-color: var(--blue);
  box-shadow: 0 1px 2px rgba(9,32,64,.18);
}

/* ---------------- 分页 ---------------- */
.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 32px; flex-wrap: wrap; }
.pagination a, .pagination span, .pagination button {
  min-width: 38px; height: 38px; padding: 0 12px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  font-size: 14.5px; color: var(--ink-2); cursor: pointer;
  box-shadow: var(--shadow-s);
  transition: border-color .18s var(--ease), color .18s var(--ease), background .18s var(--ease), transform .14s var(--ease), box-shadow .18s var(--ease);
}
.pagination a:hover, .pagination button:hover {
  border-color: var(--blue); color: var(--blue-deep); background: var(--blue-soft);
  transform: translateY(-1px); box-shadow: 0 2px 6px rgba(77,97,252,.12);
}
.pagination .current {
  background: linear-gradient(180deg, #4D61FC 0%, var(--blue) 100%);
  border-color: var(--blue-deep); color: #fff; font-weight: 600;
  box-shadow: 0 1px 2px rgba(9,32,64,.22), inset 0 1px 0 rgba(255,255,255,.12);
}
.pagination .disabled { color: var(--line); pointer-events: none; background: var(--bg-soft); box-shadow: none; }
.pagination .icon { width: 14px; height: 14px; }

/* ---------------- 详情页 ---------------- */
.article { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 32px 34px; }
.article-head h1 { font-size: 25px; line-height: 1.5; margin-bottom: 12px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13.5px; color: var(--ink-3); padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.article-meta .m { display: inline-flex; align-items: center; gap: 5px; }
.article-meta .icon { width: 14px; height: 14px; }
.article-body { font-size: 16px; line-height: 1.9; color: var(--ink-2); }
.article-body p { margin-bottom: 1.1em; }
.article-body h2 { font-size: 19px; color: var(--ink); margin: 1.6em 0 .7em; padding-left: 12px; border-left: 3px solid var(--blue); }
.article-body h3 { font-size: 17px; color: var(--ink); margin: 1.4em 0 .6em; }
.article-body ul { padding-left: 1.4em; margin-bottom: 1.1em; }
.article-body ul li { list-style: disc; margin-bottom: .35em; }
.article-body strong { color: var(--ink); }
.article-body a, .answer-body a { color: var(--blue-deep); text-decoration: underline; text-underline-offset: 2px; }
.article-body a:hover, .answer-body a:hover { color: var(--blue); }
.article-body .note { background: var(--blue-soft); border-left: 3px solid var(--blue); border-radius: var(--radius); padding: 14px 16px; font-size: 14.5px; color: var(--ink-2); margin: 1.2em 0; }

/* ---------------- 问答详情 ---------------- */
.qa-detail-page {
  background:
    radial-gradient(760px 360px at 90% -10%, rgba(77,97,252,.075), transparent 62%),
    linear-gradient(180deg, #F6F8FF 0%, #FFFFFF 430px);
}
.question-block {
  position: relative; overflow: hidden;
  background:
    radial-gradient(320px 190px at 100% 0%, rgba(77,97,252,.065), transparent 70%),
    #fff;
  border: 1px solid #DDE3FF; border-radius: var(--radius);
  padding: 28px 30px;
  box-shadow: 0 12px 30px rgba(20,28,38,.06);
}
.question-block::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue) 0%, #7A8BFF 66%, var(--accent) 100%);
}
.question-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.question-head h1 { flex: 1; min-width: 0; margin-bottom: 0; }
.question-block h1 { font-size: 23px; line-height: 1.5; }
.question-content { font-size: 15px; color: var(--ink-2); line-height: 1.9; margin: 14px 0 0; padding-top: 14px; border-top: 1px dashed var(--line); white-space: pre-line; }

.answers-head { display: flex; align-items: baseline; justify-content: space-between; margin: 30px 0 14px; }
.answers-head h2 { font-size: 19px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.answers-head h2::before { content: ""; width: 4px; height: 18px; background: var(--blue); border-radius: 1px; }
.answers-head h2.has-qa-mark::before { display: none; }
.qa-answer-mark {
  position: relative; flex: none;
  width: 28px; height: 28px; border-radius: var(--radius) var(--radius) 2px var(--radius);
  background: linear-gradient(150deg, #FF8A63 0%, #F2673F 100%);
  color: #fff; font-size: 12.5px; font-weight: 700; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 6px rgba(242,103,63,.26), inset 0 1px 0 rgba(255,255,255,.22);
}
.qa-answer-mark::after {
  content: ""; position: absolute; right: 5px; bottom: -4px;
  width: 10px; height: 7px; background: #F2673F;
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}

.answer-item {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  box-shadow: 0 4px 16px rgba(20,28,38,.04);
}
.answer-item + .answer-item { margin-top: 16px; }
.answer-head { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #F8FAFF 0%, #F2F5FF 100%); border-radius: var(--radius) var(--radius) 0 0; }
.answer-item.is-best { border-color: var(--accent-line); box-shadow: 0 10px 28px rgba(242,103,63,.08); }
.answer-item.is-best .answer-head { box-shadow: inset 3px 0 0 var(--accent); }
.answer-item.is-best .badge-gold { background: var(--accent-soft); color: var(--accent-deep); border-color: var(--accent-line); }
.answer-item.is-best .answer-head { background: linear-gradient(180deg, #FFF8F4 0%, #FFF2EC 100%); border-bottom-color: var(--accent-line); }
.answer-avatar {
  flex: none; width: 40px; height: 40px; border-radius: var(--radius);
  background: linear-gradient(180deg, #4D61FC 0%, var(--blue) 100%); color: #fff; font-size: 16px; font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 1px 2px rgba(9,32,64,.2);
  display: inline-flex; align-items: center; justify-content: center;
}
.answer-who { min-width: 0; }
.answer-name { font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.answer-sub { font-size: 12.5px; color: var(--ink-3); }
.answer-body { padding: 20px 22px 8px; font-size: 15px; line-height: 1.95; color: var(--ink-2); white-space: pre-line; }
.answer-foot { display: flex; align-items: center; gap: 14px; padding: 12px 22px 14px; border-top: 1px dashed var(--line); font-size: 13px; color: var(--ink-3); flex-wrap: wrap; }
.answer-foot .time { margin-left: auto; }
.answer-foot > span:first-child { color: var(--blue-deep); }
#answerForm { scroll-margin-top: 90px; }

/* ---------------- 表单 ---------------- */
.ask-page {
  padding: 0 0 64px;
  background:
    radial-gradient(760px 340px at 84% -8%, rgba(77,97,252,.10), transparent 62%),
    linear-gradient(180deg, #EDF1FF 0%, #F6F8FF 46%, #FFFFFF 100%);
}
.ask-page .form-card {
  position: relative; overflow: hidden;
  border-color: #D7DEFF;
  box-shadow: 0 20px 50px rgba(77,97,252,.14), 0 2px 8px rgba(20,28,38,.04);
}
.ask-page .form-title { position: relative; padding-bottom: 10px; }
.ask-page .form-title::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 42px; height: 3px; border-radius: 2px; background: var(--blue);
}
.ask-page .alert-info { background: #fff; }
.form-card {
  position: relative; overflow: hidden;
  background:
    radial-gradient(280px 190px at 100% 0%, rgba(77,97,252,.065), transparent 70%),
    #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 32px; max-width: 660px; margin: 0 auto;
}
.form-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue) 0%, #7A8BFF 62%, var(--accent) 100%);
}
.form-card-narrow { max-width: 440px; }
.form-title { font-size: 22px; font-weight: 700; margin-bottom: 6px; }
.form-desc { font-size: 14px; color: var(--ink-3); margin-bottom: 24px; }
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 14.5px; font-weight: 600; margin-bottom: 8px; }
.form-label .req { color: var(--red); margin-left: 2px; }
.form-label .tip { font-weight: 400; font-size: 12.5px; color: var(--ink-3); margin-left: 8px; }
.form-control {
  width: 100%; padding: 11px 14px; font-size: 15px;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff; outline: none;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.form-control:hover { border-color: #C9D0EE; }
.form-control:focus { border-color: var(--blue); box-shadow: var(--ring); }
textarea.form-control { min-height: 170px; resize: vertical; line-height: 1.8; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
select.form-control { appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%237A8694' d='M1.4 0 6 4.6 10.6 0 12 1.4 6 7.4 0 1.4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; cursor: pointer;
}
.form-hint { font-size: 12.5px; color: var(--ink-3); margin-top: 6px; }
.form-error { display: none; font-size: 13px; color: var(--danger); margin-top: 6px; }
.form-error a { color: var(--blue-deep); font-weight: 500; text-decoration: underline; }
.form-error.show { display: block; }
.form-foot { font-size: 14px; color: var(--ink-3); text-align: center; margin-top: 18px; }
.form-foot a { font-weight: 600; }
.form-agree { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; color: var(--ink-3); line-height: 1.6; }
.form-agree input { margin-top: 4px; accent-color: var(--blue); }
input[type="checkbox"], input[type="radio"] { accent-color: var(--blue); }
.form-agree a { color: var(--blue-deep); text-decoration: underline; }

.char-count { float: right; font-weight: 400; font-size: 12.5px; color: var(--ink-3); }

/* ---------------- 提示条 ---------------- */
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 13px 16px; border-radius: var(--radius); font-size: 14px; line-height: 1.7; margin-bottom: 18px; }
.alert .icon { width: 17px; height: 17px; margin-top: 4px; }
.alert-info { background: var(--blue-soft); color: var(--ink-2); border: 1px solid var(--blue-line); }
.alert-info .icon { color: var(--blue); }
.alert-warn { background: #FBF3E4; color: #6E5526; border: 1px solid #E8D5AE; }
.alert-warn .icon { color: var(--gold); }

/* ---------------- 提问流程 / 步骤 ---------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.step-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; text-align: left; }
.step-card .icon { width: 26px; height: 26px; color: var(--blue); }
.step-card h3 { font-size: 16px; margin: 10px 0 6px; }
.step-card p { font-size: 13.5px; color: var(--ink-3); line-height: 1.7; }

/* ---------------- 平台数据 + 结尾 CTA ---------------- */
.closing {
  padding: 56px 0 64px;
  background:
    radial-gradient(760px 360px at 92% 0%, rgba(77,97,252,.08), transparent 66%),
    linear-gradient(180deg, #F5F7FF 0%, #FFFFFF 100%);
}
.stats-panel {
  display: grid; grid-template-columns: 280px 1fr; gap: 34px; align-items: center;
  padding: 30px 32px;
  background:
    radial-gradient(320px 210px at 100% 0%, rgba(77,97,252,.055), transparent 70%),
    #fff;
  border: 1px solid #DDE3FF; border-radius: var(--radius-lg);
  box-shadow: 0 18px 44px rgba(20,28,38,.07);
}
.stats-eyebrow { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .16em; color: var(--blue); margin-bottom: 8px; }
.stats-intro h2 { font-size: 22px; line-height: 1.4; margin-bottom: 8px; }
.stats-intro p { font-size: 13.5px; color: var(--ink-3); line-height: 1.8; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item { padding: 2px 20px; border-left: 1px solid var(--line); }
.stat-item:first-child { border-left: 0; padding-left: 0; }
.stat-icon {
  width: 38px; height: 38px; border-radius: var(--radius);
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--blue-soft); color: var(--blue); margin-bottom: 10px;
}
.stat-icon .icon { width: 19px; height: 19px; }
.stat-num { font-size: 28px; font-weight: 700; color: var(--ink); line-height: 1.15; letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.stat-title { font-size: 15.5px; font-weight: 700; color: var(--ink); line-height: 1.45; }
.stat-num em { font-style: normal; color: var(--blue); font-size: 18px; margin: 0 1px; }
.stat-label { font-size: 12.5px; color: var(--ink-3); line-height: 1.7; margin-top: 4px; }

.closing-cta {
  position: relative; overflow: hidden;
  margin-top: 24px; padding: 38px 42px;
  display: flex; align-items: center; justify-content: space-between; gap: 36px;
  border-radius: var(--radius-lg); color: #fff;
  background:
    radial-gradient(620px 300px at 88% 0%, rgba(122,139,255,.50), transparent 65%),
    radial-gradient(420px 240px at 8% 110%, rgba(77,206,252,.18), transparent 70%),
    linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-deep) 55%, #4D61FC 100%);
  box-shadow: 0 24px 55px rgba(31,42,140,.22);
}
.closing-cta::before {
  content: ""; position: absolute; right: -60px; top: -80px;
  width: 260px; height: 260px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18); pointer-events: none;
}
.closing-cta::after {
  content: ""; position: absolute; right: 60px; bottom: -110px;
  width: 200px; height: 200px; border-radius: 50%;
  background: rgba(77,206,252,.16); filter: blur(30px); pointer-events: none;
}
.closing-cta-mark {
  position: absolute; right: 175px; top: 50%; transform: translateY(-50%) rotate(-6deg);
  width: 240px; height: 240px; opacity: .10; color: #fff; pointer-events: none;
}
.closing-cta-copy { position: relative; z-index: 1; max-width: 640px; }
.closing-cta-eyebrow { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .18em; color: #F0D9A8; margin-bottom: 10px; }
.closing-cta h2 { font-size: 27px; line-height: 1.35; }
.closing-cta p { margin-top: 10px; font-size: 14.5px; line-height: 1.8; color: rgba(255,255,255,.76); }
.closing-cta-actions { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 12px; flex: none; align-items: flex-start; }
.closing-cta-btn {
  background: #fff; color: var(--blue-deep); border-color: #fff; font-weight: 600;
  padding: 12px 24px; box-shadow: 0 10px 24px rgba(6,20,40,.18);
}
.closing-cta-btn:hover { background: #F1F3FF; color: var(--blue-deep); border-color: #F1F3FF; transform: translateY(-1px); }
.closing-cta-btn .icon { width: 15px; height: 15px; }
.closing-cta-link { display: inline-flex; align-items: center; gap: 5px; font-size: 13.5px; color: rgba(255,255,255,.82); padding: 2px 0; }
.closing-cta-link:hover { color: #fff; }
.closing-cta-link .icon { width: 14px; height: 14px; }

@media (max-width: 980px) {
  .stats-panel { grid-template-columns: 1fr; gap: 22px; }
  .stat-item:first-child { padding-left: 20px; }
  .closing-cta { flex-direction: column; align-items: flex-start; padding: 32px; }
  .closing-cta-actions { flex-direction: row; align-items: center; gap: 18px; }
  .closing-cta-mark { right: -30px; opacity: .06; }
}
@media (max-width: 720px) {
  .closing { padding: 38px 0 44px; }
  .stats-panel { padding: 22px 18px; border-radius: var(--radius-lg); gap: 18px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 18px 0; }
  .stat-item { padding: 0 16px; }
  .stat-item:nth-child(odd) { padding-left: 0; border-left: 0; }
  .stat-item:nth-child(even) { border-left: 1px solid var(--line); }
  .stat-item:nth-child(n+3) { border-top: 1px solid var(--line); padding-top: 18px; }
  .stat-num { font-size: 25px; }
  .closing-cta { padding: 26px 22px; border-radius: var(--radius-lg); gap: 22px; }
  .closing-cta h2 { font-size: 22px; }
  .closing-cta p { font-size: 13.5px; }
  .closing-cta-actions { flex-direction: column; align-items: flex-start; gap: 10px; }
  .closing-cta-btn { width: 100%; justify-content: center; }
  .closing-cta-mark { display: none; }
}

/* ---------------- CTA ---------------- */
.cta {
  background:
    radial-gradient(620px 280px at 92% 10%, rgba(77,97,252,.42), transparent 66%),
    radial-gradient(380px 220px at 6% 100%, rgba(77,206,252,.10), transparent 68%),
    var(--blue-dark);
  color: #fff;
}
.cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 44px; padding-bottom: 44px; flex-wrap: wrap; }
.cta h2 { font-size: 23px; font-weight: 700; }
.cta p { color: rgba(255,255,255,.75); font-size: 14.5px; margin-top: 6px; }

/* ---------------- 页脚 ---------------- */
.site-footer {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background:
    radial-gradient(620px 320px at 88% -10%, rgba(77,97,252,.22), transparent 66%),
    #4D61FC;
  color: rgba(255,255,255,.66); font-size: 14px; margin-top: auto;
}
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding-top: 48px; padding-bottom: 36px; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; margin-bottom: 14px; }
.footer-logo { display: block; height: 30px; width: auto; max-width: 130px; filter: brightness(0) invert(1); opacity: .94; }
.footer-about p { line-height: 1.85; font-size: 13.5px; }
.footer-col h3 { color: #fff; font-size: 15px; font-weight: 600; margin-bottom: 14px; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: rgba(255,255,255,.66); font-size: 13.5px; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 9px; align-items: flex-start; font-size: 13.5px; margin-bottom: 11px; }
.footer-contact .icon { width: 15px; height: 15px; margin-top: 5px; color: var(--blue); opacity: .9; }
.footer-contact .tel { font-size: 17px; color: #F0D9A8; font-weight: 600; letter-spacing: .02em; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0 22px; }
.footer-bottom .wrap { display: flex; justify-content: space-between; align-items: center; gap: 10px 24px; flex-wrap: wrap; font-size: 12.5px; color: rgba(255,255,255,.45); }
.footer-bottom a { color: rgba(255,255,255,.6); }
.footer-bottom a:hover { color: #fff; }

/* ---------------- 登录后用户菜单 ---------------- */
.user-chip { display: inline-flex; align-items: center; gap: 7px; padding: 4px 6px; border: 0; border-radius: 0; font-size: 14px; color: var(--ink); background: transparent; cursor: pointer; box-shadow: none; transition: color .18s var(--ease); }
.user-chip:hover { color: var(--blue); }
.user-chip .dot { width: 26px; height: 26px; border-radius: var(--radius); background: linear-gradient(180deg, #4D61FC 0%, var(--blue) 100%); color: #fff; font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; box-shadow: inset 0 1px 0 rgba(255,255,255,.16); }

/* ---------------- 在线客服聊天 ---------------- */
.chat-page {
  padding: 0 0 56px;
  background:
    radial-gradient(760px 340px at 84% -8%, rgba(77,97,252,.10), transparent 62%),
    linear-gradient(180deg, #EDF1FF 0%, #F6F8FF 46%, #FFFFFF 100%);
}
.chat-page .chat-card {
  position: relative; overflow: hidden;
  border-color: #D7DEFF;
  box-shadow: 0 20px 50px rgba(77,97,252,.14), 0 2px 8px rgba(20,28,38,.04);
}
.chat-page .chat-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; z-index: 2;
  background: linear-gradient(90deg, var(--blue) 0%, #7A8BFF 62%, var(--accent) 100%);
}
.chat-page .chat-head { background: linear-gradient(180deg, #F1F4FF 0%, #FBFCFE 100%); border-bottom-color: #E1E6FF; }
.chat-page .panel { box-shadow: var(--shadow-s); }
.chat-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; min-height: 560px; box-shadow: var(--shadow-s); }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 15px 20px; border-bottom: 1px solid var(--line); background: var(--bg-soft); border-radius: var(--radius) var(--radius) 0 0; }
.chat-avatar { flex: none; width: 42px; height: 42px; border-radius: var(--radius); background: linear-gradient(180deg, #4D61FC 0%, var(--blue) 100%); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 1px 2px rgba(9,32,64,.2); display: inline-flex; align-items: center; justify-content: center; }
.chat-avatar .icon { width: 22px; height: 22px; }
.chat-who { min-width: 0; }
.chat-title { font-size: 16.5px; font-weight: 700; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.chat-status { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 400; color: var(--blue-deep); }
.chat-status .dot { width: 8px; height: 8px; border-radius: 50%; background: #2FA36B; }
.chat-sub { font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }
.chat-body { flex: 1; padding: 20px; overflow-y: auto; background: var(--bg-soft); display: flex; flex-direction: column; gap: 16px; max-height: 520px; min-height: 380px; scrollbar-width: thin; scrollbar-color: #C9D2FF var(--bg-soft); }
.chat-body::-webkit-scrollbar { width: 8px; }
.chat-body::-webkit-scrollbar-track { background: transparent; }
.chat-body::-webkit-scrollbar-thumb { background: #C9D2FF; border-radius: 3px; border: 2px solid var(--bg-soft); }
.chat-body::-webkit-scrollbar-thumb:hover { background: #AEB8F0; }
.msg { display: flex; gap: 10px; max-width: 88%; }
.msg.agent { align-self: flex-start; }
.msg.user { align-self: flex-end; flex-direction: row-reverse; }
.msg-avatar { flex: none; width: 34px; height: 34px; border-radius: var(--radius); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; }
.msg.agent .msg-avatar { background: linear-gradient(180deg, #4D61FC 0%, var(--blue) 100%); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.16); }
.msg.user .msg-avatar { background: #DDE2FF; color: var(--ink-2); }
.msg-main { min-width: 0; }
.msg-bubble { padding: 11px 14px; font-size: 14.5px; line-height: 1.75; border-radius: var(--radius); }
.msg.agent .msg-bubble { background: #fff; border: 1px solid var(--line); color: var(--ink-2); box-shadow: var(--shadow-s); }
.msg.user .msg-bubble { background: var(--blue); color: #fff; }
.msg-time { font-size: 11.5px; color: var(--ink-3); margin-top: 5px; }
.msg.user .msg-time { text-align: right; }
.msg-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.msg-actions a, .msg-actions button {
  font-size: 13px; color: var(--blue-deep); background: var(--blue-soft);
  border: 1px solid var(--blue-line); padding: 4px 12px; border-radius: var(--radius); cursor: pointer;
  transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.msg-actions a:hover, .msg-actions button:hover { background: linear-gradient(180deg, #4D61FC 0%, var(--blue) 100%); color: #fff; border-color: var(--blue-deep); }
.chat-quick { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 20px; border-top: 1px solid var(--line); background: #fff; align-items: center; }
.chat-quick-label { flex: none; font-size: 12.5px; color: var(--ink-3); }
.chat-quick button {
  font-size: 13px; color: var(--ink-2); background: #fff; border: 1px solid var(--line); padding: 4px 12px; border-radius: var(--radius); cursor: pointer;
  transition: color .18s var(--ease), border-color .18s var(--ease), background .18s var(--ease);
}
.chat-quick button:hover { color: var(--blue-deep); border-color: var(--blue-line); background: var(--blue-soft); }
.chat-foot { border-top: 1px solid var(--line); padding: 14px 20px; background: #fff; }
.chat-input { display: flex; gap: 10px; align-items: flex-end; }
.chat-input textarea {
  flex: 1; min-width: 0; min-height: 44px; max-height: 120px; padding: 10px 14px; font-size: 14.5px;
  border: 1px solid var(--line); border-radius: var(--radius); outline: none; resize: none; line-height: 1.6;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.chat-input textarea:hover { border-color: #C9D0EE; }
.chat-input textarea:focus { border-color: var(--blue); box-shadow: var(--ring); }
.chat-send {
  border: 0; background: linear-gradient(180deg, #4D61FC 0%, var(--blue) 100%); color: #fff; padding: 11px 22px; font-size: 14.5px; font-weight: 500;
  border-radius: var(--radius); cursor: pointer; display: inline-flex; align-items: center; gap: 7px;
  box-shadow: var(--shadow-btn);
  transition: background .18s var(--ease), box-shadow .18s var(--ease), transform .14s var(--ease);
}
.chat-send:hover { background: linear-gradient(180deg, var(--blue) 0%, var(--blue-deep) 100%); box-shadow: 0 2px 8px rgba(9,32,64,.28), inset 0 1px 0 rgba(255,255,255,.1); transform: translateY(-1px); }
.chat-send:active { background: var(--blue-deep); box-shadow: inset 0 1px 3px rgba(0,0,0,.22); transform: translateY(0); }
.chat-send:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.chat-send .icon { width: 15px; height: 15px; }
.chat-note { font-size: 12px; color: var(--ink-3); margin-top: 8px; }
.typing { display: inline-flex; gap: 4px; padding: 5px 0; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); animation: typingBlink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; }
.typing i:nth-child(3) { animation-delay: .4s; }
@keyframes typingBlink { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-1px); } }

/* ---------------- 空状态 ---------------- */
.empty { text-align: center; padding: 56px 20px; color: var(--ink-3); font-size: 14.5px; }
.empty .icon { width: 36px; height: 36px; color: var(--line); margin-bottom: 10px; }

/* ---------------- 认证页 ---------------- */
.auth-page { background: var(--bg-soft); padding: 0 0 64px; min-height: calc(100vh - 520px); }
.auth-side-note { text-align: center; margin-bottom: 22px; }
.auth-side-note .t { font-size: 15px; font-weight: 600; color: var(--ink); }
.auth-side-note .d { font-size: 13px; color: var(--ink-3); margin-top: 4px; }

/* ---------------- 个人中心 ---------------- */
.center-page {
  padding-bottom: 56px;
  background: linear-gradient(180deg, #F8F9FF 0%, #FFFFFF 400px);
}

.center-nav {
  display: flex; gap: 2px; margin: 0 0 16px;
  border-bottom: 1px solid var(--line); overflow-x: auto;
}
.center-nav a {
  flex: none; padding: 8px 16px; font-size: 14px; color: var(--ink-2);
  border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap;
  transition: color .18s ease, border-color .18s ease;
}
.center-nav a:hover { color: var(--blue-deep); }
.center-nav a.on { color: var(--blue-deep); border-bottom-color: var(--blue); font-weight: 600; }
.center-guest { margin: 0 0 16px; }
.center-guest a { color: var(--blue-deep); font-weight: 500; text-decoration: underline; }

#centerProfile, #centerQuestions, #centerPassword { scroll-margin-top: 88px; }
.profile-card {
  position: relative; overflow: hidden;
  background: linear-gradient(118deg, #FFFFFF 0%, #F9FAFF 56%, #F2F4FF 100%);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 26px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  box-shadow: var(--shadow-s);
}
.profile-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue) 0%, #7A8BFF 58%, var(--accent) 100%);
}
.profile-avatar {
  flex: none; width: 64px; height: 64px; border-radius: var(--radius);
  background: linear-gradient(150deg, #7A8BFF 0%, var(--blue) 58%, var(--blue-deep) 100%); color: #fff;
  font-size: 26px; font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18),
              0 0 0 4px #fff, 0 0 0 5px rgba(176,141,79,.38),
              0 4px 12px rgba(9,32,64,.16);
  display: inline-flex; align-items: center; justify-content: center;
}
.profile-info { flex: 1; min-width: 220px; }
.profile-name { font-size: 20px; font-weight: 700; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.profile-meta { font-size: 13px; color: var(--ink-3); margin-top: 5px; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.profile-meta .m { display: inline-flex; align-items: center; gap: 5px; }
.profile-meta .icon { width: 13px; height: 13px; }
.profile-stats { display: flex; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.profile-stat { padding: 10px 24px; text-align: center; border-left: 1px solid var(--line); }
.profile-stat:first-child { border-left: 0; }
.profile-stat:nth-child(1) { background: linear-gradient(180deg, #FBFCFF 0%, #F2F4FF 100%); }
.profile-stat:nth-child(2) { background: linear-gradient(180deg, #FBFEFC 0%, #EDF8F2 100%); }
.profile-stat:nth-child(3) { background: linear-gradient(180deg, #FFFDF9 0%, #FAF4E8 100%); }
.profile-stat .v { font-size: 22px; font-weight: 700; color: var(--blue-deep); line-height: 1.3; font-variant-numeric: tabular-nums; }
.profile-stat:nth-child(2) .v { color: var(--green-deep); }
.profile-stat:nth-child(3) .v { color: var(--gold-deep); }
.profile-stat .k { font-size: 12px; color: var(--ink-3); }

.myq-toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 10px 16px;
  padding: 12px 18px; border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #F9FAFF 0%, #F3F5FF 100%); flex-wrap: wrap;
}
.myq-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.myq-tabs button {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 11px; font-size: 13px; line-height: 1.7; color: var(--ink-2);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer;
  transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.myq-tabs button:hover { background: var(--blue-soft); color: var(--blue-deep); border-color: var(--blue-line); }
.myq-tabs button.on {
  background: linear-gradient(180deg, #4D61FC 0%, var(--blue) 100%);
  border-color: var(--blue-deep); color: #fff; font-weight: 500;
  box-shadow: 0 1px 2px rgba(9,32,64,.22), inset 0 1px 0 rgba(255,255,255,.12);
}
.myq-tabs .n { font-size: 12px; font-variant-numeric: tabular-nums; opacity: .75; }
.myq-hint { font-size: 12.5px; color: var(--ink-3); }
.myq-item { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-bottom: 1px dashed var(--line); transition: background .18s var(--ease); }
.myq-item:hover { background: #FBFCFF; }
.myq-item:last-child { border-bottom: 0; }
.myq-icon {
  flex: none; width: 34px; height: 34px; border-radius: var(--radius);
  background: var(--blue-soft); color: var(--blue-deep);
  box-shadow: inset 0 0 0 1px rgba(77,97,252,.1);
  display: inline-flex; align-items: center; justify-content: center;
}
.myq-icon .icon { width: 16px; height: 16px; }
.myq-icon.is-answered { background: var(--green-soft); color: var(--green-deep); box-shadow: inset 0 0 0 1px var(--green-line); }
.myq-icon.is-pending { background: var(--gold-soft); color: var(--gold-deep); box-shadow: inset 0 0 0 1px var(--gold-line); }
.myq-body { flex: 1; min-width: 0; }
.myq-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.myq-title { font-size: 15.5px; font-weight: 600; color: var(--ink); line-height: 1.6; display: block; flex: 1; min-width: 0; }
a.myq-title:hover { color: var(--blue-deep); }
.myq-status { flex: none; margin-top: 3px; white-space: nowrap; }
.myq-excerpt {
  font-size: 13px; color: var(--ink-3); line-height: 1.7; margin-top: 3px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.myq-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12.5px; color: var(--ink-3); margin-top: 5px; align-items: center; }
.myq-meta .m { display: inline-flex; align-items: center; gap: 4px; }
.myq-meta .icon { width: 13px; height: 13px; }
.myq-actions { flex: none; margin-top: 2px; }

.quick-links { display: flex; flex-direction: column; gap: 10px; }
.quick-links .btn { justify-content: flex-start; }
.quick-links .btn-ghost .icon { color: var(--blue); }

.profile-guest-actions { display: flex; gap: 8px; }
.pass-guest { text-align: center; padding: 10px 4px 4px; color: var(--ink-3); font-size: 13.5px; }
.pass-guest .icon { width: 34px; height: 34px; color: var(--blue); margin-bottom: 8px; }
.pass-guest p { margin-bottom: 14px; line-height: 1.7; }
.empty .guest-sub { margin-top: 12px; font-size: 13px; color: var(--ink-3); }

.password-form .form-control { padding: 9px 12px; font-size: 14px; }
.password-form .form-group { margin-bottom: 14px; }

/* ---------------- 平台律师 ---------------- */
.lawyer-page { padding-bottom: 56px; }
.lawyer-list-page {
  background:
    radial-gradient(720px 320px at 92% -8%, rgba(77,97,252,.055), transparent 64%),
    linear-gradient(180deg, #F7F9FF 0%, #FFFFFF 420px);
}
.lawyer-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 22px;
  padding: 22px 24px; margin-bottom: 20px; flex-wrap: wrap;
  border: 1px solid #D9E0FF; border-radius: var(--radius);
  background: linear-gradient(120deg, #F3F5FF 0%, #EEF1FF 48%, #F9FAFF 100%);
  box-shadow: var(--shadow-s);
}
.lawyer-banner-copy { max-width: 600px; }
.lawyer-banner-copy h2 { font-size: 20px; font-weight: 700; color: var(--blue-dark); }
.lawyer-banner-copy p { font-size: 13.5px; color: var(--ink-2); line-height: 1.8; margin-top: 6px; }
.lawyer-kpis { display: flex; border: 1px solid #D6DDFF; border-radius: var(--radius); overflow: hidden; background: #fff; }
.lawyer-kpi { padding: 10px 22px; text-align: center; border-left: 1px solid #E4E8FF; }
.lawyer-kpi:first-child { border-left: 0; }
.lawyer-kpi b { display: block; font-size: 22px; color: var(--blue-deep); font-variant-numeric: tabular-nums; line-height: 1.3; }
.lawyer-kpi span { font-size: 12px; color: var(--ink-3); }
.lawyer-kpi:nth-child(2) b { color: var(--blue); }
.lawyer-kpi:nth-child(3) b { color: var(--blue-deep); }

.lawyer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
#lawyerList { scroll-margin-top: 88px; }
.lawyer-card {
  position: relative;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; display: flex; flex-direction: column; gap: 11px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.lawyer-card:hover { border-color: var(--blue-line); box-shadow: var(--shadow); transform: translateY(-1px); }
.lawyer-card-head { display: flex; gap: 14px; align-items: flex-start; }
.lawyer-avatar {
  flex: none; width: 56px; height: 56px; border-radius: var(--radius);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: 22px; font-weight: 600; line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 2px 6px rgba(9,32,64,.16);
}
.tone-1 { background: linear-gradient(150deg, #7A8BFF 0%, #4D61FC 100%); }
.tone-2 { background: linear-gradient(150deg, #5A6BFF 0%, #3546D6 100%); }
.tone-3 { background: linear-gradient(150deg, #3E9B90 0%, #1E6B64 100%); }
.tone-4 { background: linear-gradient(150deg, #C2A163 0%, #8A6A2F 100%); }
.lawyer-card-info { min-width: 0; }
.lawyer-name-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.lawyer-name-row h2 { font-size: 18px; font-weight: 700; line-height: 1.4; }
.lawyer-name-row h2 a { color: var(--ink); }
.lawyer-name-row h2 a:hover { color: var(--blue-deep); }
.lawyer-name-row h2 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.lawyer-firm { font-size: 13px; color: var(--ink-2); margin-top: 2px; }
.lawyer-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12.5px; color: var(--ink-3); margin-top: 6px; }
.lawyer-meta .m { display: inline-flex; align-items: center; gap: 4px; }
.lawyer-meta .icon { width: 13px; height: 13px; }
.lawyer-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.lawyer-tag {
  font-size: 12px; color: var(--blue-deep); background: var(--blue-soft);
  border: 1px solid #D6DDFF; border-radius: var(--radius); padding: 3px 9px; line-height: 1.6;
}
.lawyer-intro {
  font-size: 13.5px; color: var(--ink-3); line-height: 1.75;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.lawyer-card-foot {
  margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.lawyer-numbers { display: flex; gap: 14px; font-size: 12px; color: var(--ink-3); }
.lawyer-numbers b { font-size: 15px; color: var(--blue-deep); font-variant-numeric: tabular-nums; }
.lawyer-actions { position: relative; z-index: 2; display: flex; gap: 8px; }

.lawyer-avatar-lg {
  width: 92px; height: 92px; font-size: 34px;
}
.lawyer-avatar-lg.lawyer-soft-avatar {
  box-shadow: inset 0 0 0 1px rgba(77,97,252,.10), 0 0 0 4px #fff, 0 10px 24px rgba(77,97,252,.10);
}
.lawyer-verified {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 9px; font-size: 11.5px; line-height: 1; white-space: nowrap;
  color: var(--blue-deep); background: var(--blue-soft);
  border: 1px solid var(--blue-line); border-radius: var(--radius);
}
.lawyer-verified .icon { width: 12px; height: 12px; color: var(--blue); }
.lawyer-cta {
  padding: 18px 18px 16px; color: var(--ink); background: #fff;
  border: 1px solid var(--line); border-top: 3px solid var(--blue);
  border-radius: var(--radius); box-shadow: var(--shadow-s);
}
.lawyer-cta h2 { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 700; color: var(--ink); }
.lawyer-cta h2 .icon { width: 17px; height: 17px; color: var(--blue); }
.lawyer-cta p { margin: 4px 0 14px; font-size: 13px; color: var(--ink-3); }
.lawyer-cta .btn-block { margin-bottom: 10px; }
.lawyer-phone { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 14px; font-size: 13.5px; color: var(--blue-deep); }
.lawyer-phone .icon { width: 15px; height: 15px; color: var(--blue); }
.lawyer-phone:hover { color: var(--blue); }
.lawyer-info-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 7px 0; font-size: 13px; }
.lawyer-info-row + .lawyer-info-row { border-top: 1px dashed var(--line); }
.lawyer-info-label { flex: none; display: inline-flex; align-items: center; gap: 6px; color: var(--ink-3); }
.lawyer-info-label .icon { width: 13px; height: 13px; color: var(--blue); }
.lawyer-info-row b { font-weight: 500; color: var(--ink-2); text-align: right; word-break: break-all; }
.related-lawyers { display: flex; flex-direction: column; gap: 12px; }
.related-lawyer { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.related-lawyer .lawyer-avatar { width: 40px; height: 40px; font-size: 16px; }
.scope-lawyer-avatar { background: linear-gradient(150deg, #EEF2FF 0%, #DDE4FF 100%); color: var(--blue-deep); box-shadow: inset 0 0 0 1px rgba(77,97,252,.10); }
.related-lawyer-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.related-lawyer-info b { font-size: 14px; font-weight: 600; }
.related-lawyer-info em { font-style: normal; font-size: 12px; color: var(--ink-3); margin-top: 1px; }
.related-lawyer .icon { width: 14px; height: 14px; color: var(--ink-3); }
.related-lawyer:hover .icon { color: var(--blue); }
.related-lawyer + .related-lawyer { border-top: 1px dashed var(--line); padding-top: 12px; }

/* 首页律师卡片 */
.section-lawyers {
  background: linear-gradient(180deg, #F2F4FF 0%, #F9FAFF 100%);
  border-top: 1px solid #E6EAFF; border-bottom: 1px solid #E6EAFF;
}
.lawyer-grid-home { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.lawyer-mini {
  display: flex; flex-direction: column; gap: 10px; padding: 16px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.lawyer-mini:hover { border-color: var(--blue-line); box-shadow: var(--shadow); transform: translateY(-1px); color: var(--ink); }
.lawyer-mini-head { display: flex; align-items: center; gap: 10px; }
.lawyer-mini .lawyer-avatar { width: 44px; height: 44px; font-size: 17px; }
.lawyer-mini-name { display: block; font-size: 15px; font-weight: 700; }
.lawyer-mini-firm { display: block; font-size: 12px; color: var(--ink-3); margin-top: 1px; }
.lawyer-mini .lawyer-tag { font-size: 11.5px; padding: 2px 7px; }
.lawyer-mini-stats { display: flex; justify-content: space-between; gap: 6px; padding-top: 8px; border-top: 1px dashed var(--line); font-size: 11.5px; color: var(--ink-3); }
.lawyer-mini-stats b { color: var(--blue-deep); font-size: 13px; }

/* ---------------- 咨询范围 ---------------- */
.scope-page { padding-bottom: 56px; }

/* 咨询范围总览 Hero */
.scope-index-hero {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 36px;
  margin: 4px 0 20px; padding: 30px 34px;
  border-radius: var(--radius-lg); color: #fff;
  background:
    radial-gradient(560px 280px at 92% 0%, rgba(122,139,255,.45), transparent 65%),
    radial-gradient(360px 220px at 4% 110%, rgba(77,206,252,.14), transparent 70%),
    linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-deep) 58%, #4D61FC 100%);
  box-shadow: 0 18px 44px rgba(31,42,140,.18);
}
.scope-index-hero::before {
  content: ""; position: absolute; right: -70px; top: -110px;
  width: 260px; height: 260px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.16); pointer-events: none;
}
.scope-index-hero::after {
  content: ""; position: absolute; left: -60px; bottom: -100px;
  width: 220px; height: 220px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255,255,255,.10), rgba(255,255,255,0) 68%);
}
.scope-index-copy { position: relative; z-index: 1; max-width: 620px; }
.scope-index-eyebrow { display: inline-block; margin-bottom: 8px; font-size: 11.5px; font-weight: 600; letter-spacing: .18em; color: #F0D9A8; }
.scope-index-hero h1 { font-size: 32px; line-height: 1.3; }
.scope-index-hero p { margin-top: 8px; font-size: 14px; line-height: 1.8; color: rgba(255,255,255,.76); }
.scope-index-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 18px; }
.scope-index-link { display: inline-flex; align-items: center; gap: 5px; color: rgba(255,255,255,.84); font-size: 13.5px; }
.scope-index-link:hover { color: #fff; }
.scope-index-link .icon { width: 14px; height: 14px; }
.scope-index-stats { position: relative; z-index: 1; display: flex; gap: 10px; flex: none; }
.scope-index-stat {
  min-width: 96px; padding: 12px 16px; text-align: center;
  border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius);
  background: rgba(255,255,255,.10);
}
.scope-index-stat b { display: block; font-size: 26px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.scope-index-stat span { display: block; margin-top: 2px; font-size: 12px; color: rgba(255,255,255,.68); }
.scope-index-stat:nth-child(2) b { color: #F0D9A8; }

.scope-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.scope-card {
  position: relative; overflow: hidden;
  display: flex; gap: 14px; padding: 18px; color: var(--ink);
  background: linear-gradient(180deg, #fff 0%, #FBFCFE 100%);
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.scope-card:hover { border-color: var(--blue-line); box-shadow: var(--shadow); transform: translateY(-1px); color: var(--ink); }
.scope-watermark {
  position: absolute; right: -18px; bottom: -30px;
  color: var(--blue); opacity: .05; transform: rotate(-8deg);
  pointer-events: none;
}
.scope-watermark .icon { width: 118px; height: 118px; }
.scope-icon {
  position: relative; z-index: 1;
  flex: none; width: 50px; height: 50px; border-radius: var(--radius);
  display: inline-flex; align-items: center; justify-content: center; color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 2px 6px rgba(9,32,64,.16);
}
.scope-icon .icon { width: 23px; height: 23px; }
.scope-icon-blue {
  background: linear-gradient(150deg, #F1F4FF 0%, #DFE6FF 100%);
  color: var(--blue);
  box-shadow: inset 0 0 0 1px rgba(77,97,252,.14), 0 2px 5px rgba(77,97,252,.10);
}
.scope-card:hover .scope-icon-blue {
  background: linear-gradient(150deg, #E8EDFF 0%, #D3DCFF 100%);
  color: var(--blue-deep);
}
.scope-card-main { position: relative; z-index: 1; flex: 1; min-width: 0; }
.scope-card-head { display: flex; align-items: center; gap: 8px; }
.scope-name { font-size: 17.5px; font-weight: 700; }
.scope-count {
  margin-left: auto; padding: 2px 7px;
  font-size: 11px; color: var(--blue-deep); white-space: nowrap;
  background: var(--blue-soft); border: 1px solid var(--blue-line); border-radius: var(--radius);
}
.scope-arrow {
  flex: none; width: 26px; height: 26px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--blue); border: 1px solid var(--line); border-radius: var(--radius);
  transition: background .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}
.scope-arrow .icon { width: 13px; height: 13px; }
.scope-card:hover .scope-arrow { background: var(--blue); border-color: var(--blue); color: #fff; }
.scope-tagline { display: block; font-size: 12.5px; color: var(--blue-deep); margin-top: 3px; }
.scope-summary {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  font-size: 12.5px; color: var(--ink-3); line-height: 1.7; margin-top: 5px;
}
.scope-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.scope-chip {
  font-size: 11.5px; color: var(--ink-2); background: var(--bg-soft);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 2px 8px; line-height: 1.7;
}

.scope-process { margin-top: 30px; }
.scope-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.scope-step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.scope-step .n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; margin-bottom: 8px; border-radius: var(--radius);
  background: var(--blue-soft); color: var(--blue-deep); font-size: 11.5px; font-weight: 700;
}
.scope-step b { display: block; font-size: 14.5px; font-weight: 600; }
.scope-step p { font-size: 12.5px; color: var(--ink-3); line-height: 1.7; margin-top: 3px; }

.scope-foot-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  margin-top: 28px; padding: 22px 24px; border-radius: var(--radius); color: #fff;
  background: linear-gradient(120deg, #4D61FC 0%, #3546D6 100%);
  box-shadow: 0 8px 22px rgba(9,32,64,.18);
}
.scope-foot-cta h2 { font-size: 19px; font-weight: 700; }
.scope-foot-cta p { font-size: 13px; color: rgba(255,255,255,.75); margin-top: 4px; }
.scope-foot-cta .btn { flex: none; }

/* 咨询范围详情 */
.scope-detail-page {
  background:
    radial-gradient(720px 320px at 92% -8%, rgba(77,97,252,.06), transparent 64%),
    linear-gradient(180deg, #F7F9FF 0%, #FFFFFF 430px);
}
.scope-hero {
  position: relative; overflow: hidden;
  padding: 26px 28px 22px; margin-bottom: 18px;
  border-radius: var(--radius); color: var(--ink);
  background:
    radial-gradient(560px 280px at 90% -10%, rgba(77,97,252,.12), transparent 62%),
    linear-gradient(135deg, #F5F8FF 0%, #EEF2FF 58%, #FBFCFE 100%);
  border: 1px solid #DDE3FF;
  box-shadow: 0 14px 34px rgba(77,97,252,.08);
}
.scope-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(480px 220px at 92% 0%, rgba(255,255,255,.58), transparent 65%);
}
.scope-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue) 0%, #7A8BFF 55%, transparent 100%);
  opacity: .45;
}
.scope-hero-deco {
  position: absolute; right: -30px; top: -34px; width: 260px; height: 260px;
  color: rgba(77,97,252,.07); pointer-events: none;
  fill: none; stroke: currentColor; stroke-width: 1;
  stroke-linecap: round; stroke-linejoin: round;
}
.scope-hero-top { position: relative; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.scope-hero-icon {
  flex: none; width: 88px; height: 88px; display: inline-flex; align-items: center; justify-content: center;
  color: var(--blue); border-radius: var(--radius);
  box-shadow: 0 0 0 4px #fff, 0 10px 24px rgba(77,97,252,.12);
}
.scope-hero-icon .icon { width: 38px; height: 38px; }
.scope-hero-icon-blue {
  background: linear-gradient(150deg, #F7F9FF 0%, #E1E7FF 100%);
  color: var(--blue);
  box-shadow: 0 0 0 4px #fff, 0 10px 24px rgba(77,97,252,.12);
}
.scope-hero-info { flex: 1; min-width: 240px; position: relative; }
.scope-eyebrow { font-size: 11.5px; letter-spacing: .16em; color: var(--blue); font-weight: 600; }
.scope-hero h1 { font-size: 30px; font-weight: 700; line-height: 1.35; margin-top: 2px; color: var(--ink); }
.scope-hero-tagline { font-size: 15px; color: var(--blue-deep); margin-top: 4px; }
.scope-hero-summary { font-size: 14px; color: var(--ink-2); line-height: 1.85; margin-top: 8px; max-width: 64em; }
.scope-qa-link { display: inline-flex; align-items: center; gap: 4px; margin-top: 10px; font-size: 13px; color: var(--blue-deep); }
.scope-qa-link .icon { width: 13px; height: 13px; }
.scope-qa-link:hover { color: var(--blue); }
.scope-hero-stats {
  position: relative; display: flex; margin-top: 20px; padding-top: 16px;
  border-top: 1px solid rgba(77,97,252,.12);
}
.scope-stat { flex: 1; padding: 2px 12px; text-align: center; border-left: 1px solid rgba(77,97,252,.12); }
.scope-stat:first-child { border-left: 0; }
.scope-stat b { display: block; font-size: 24px; font-weight: 700; color: var(--blue-deep); line-height: 1.25; font-variant-numeric: tabular-nums; }
.scope-stat span { font-size: 12px; color: var(--ink-3); }
.scope-stat:nth-child(2) b { color: var(--blue); }
.scope-stat:nth-child(3) b { color: var(--blue-deep); }
.scope-hero-actions { position: relative; display: none; gap: 10px; margin-top: 16px; }
.scope-hero-actions .btn { flex: 1; }

.scope-intro p { font-size: 14.5px; line-height: 1.9; color: var(--ink-2); }
.scope-intro p + p { margin-top: 10px; }
.scope-scenario-block { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); }
.scope-scenario-block h3 { font-size: 15px; font-weight: 600; margin-bottom: 10px; }
.scope-scenarios { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; }
.scope-scenario {
  display: flex; align-items: flex-start; gap: 9px; padding: 11px 12px;
  background: #F8F9FF; border: 1px solid #E8ECFF; border-radius: var(--radius);
  transition: border-color .18s var(--ease), background .18s var(--ease);
}
.scope-scenario:hover { border-color: var(--blue-line); background: #fff; }
.scope-scenario .n {
  flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: var(--radius);
  background: var(--blue-soft); color: var(--blue-deep);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 10.5px; font-weight: 700;
}
.scope-scenario p { font-size: 12.8px; color: var(--ink-2); line-height: 1.65; }

.scope-services { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; }
.scope-service {
  display: flex; align-items: flex-start; gap: 8px; padding: 10px 12px;
  font-size: 13.5px; line-height: 1.6; color: var(--ink-2);
  background: #F8F9FF; border: 1px solid #E6EAFF; border-radius: var(--radius);
}
.scope-service .icon { width: 15px; height: 15px; flex: none; margin-top: 3px; color: var(--green-deep); }

.scope-faq { border-bottom: 1px dashed var(--line); }
.scope-faq:last-child { border-bottom: 0; }
.scope-faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 14px 18px; font-size: 14.5px; font-weight: 600; color: var(--ink);
  cursor: pointer; list-style: none;
}
.scope-faq summary::-webkit-details-marker { display: none; }
.scope-faq summary::after { content: "+"; color: var(--blue); font-size: 18px; line-height: 1; font-weight: 400; }
.scope-faq[open] summary::after { content: "–"; }
.scope-faq summary:hover { color: var(--blue-deep); }
.scope-faq p { padding: 0 18px 16px; font-size: 13.5px; color: var(--ink-2); line-height: 1.85; }

.scope-process-panel .scope-steps { grid-template-columns: repeat(2, 1fr); }
.scope-process-panel .panel-body { padding-top: 16px; padding-bottom: 16px; }

.scope-qa-item {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 18px; border-bottom: 1px dashed var(--line); color: var(--ink);
}
.scope-qa-item:last-child { border-bottom: 0; }
.scope-qa-q {
  position: relative; flex: none;
  width: 28px; height: 28px; border-radius: var(--radius) var(--radius) var(--radius) 2px;
  background: #4D61FC; color: #fff; font-size: 12.5px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 6px rgba(77,97,252,.28), inset 0 1px 0 rgba(255,255,255,.24);
}
.scope-qa-q::after {
  content: ""; position: absolute; left: 5px; bottom: -4px;
  width: 10px; height: 7px; background: #4D61FC;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.scope-qa-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.scope-qa-body b {
  font-size: 13.5px; font-weight: 600; line-height: 1.55;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.scope-qa-body em { font-style: normal; font-size: 11.5px; color: var(--ink-3); margin-top: 2px; }
.scope-qa-item .icon { width: 13px; height: 13px; color: var(--ink-3); flex: none; }
.scope-qa-item:hover b { color: var(--blue-deep); }
.scope-qa-item:hover .icon { color: var(--blue); }

.scope-cta {
  padding: 18px 18px 16px; color: var(--ink); background: #fff;
  border: 1px solid var(--line); border-top: 3px solid var(--blue);
  border-radius: var(--radius); box-shadow: var(--shadow-s);
}
.scope-cta h2 { font-size: 17px; font-weight: 700; color: var(--ink); }
.scope-cta p { font-size: 13px; color: var(--ink-3); margin: 4px 0 14px; }
.scope-cta .btn-block { margin-bottom: 10px; }

.scope-other {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 11px 18px; border-bottom: 1px dashed var(--line); color: var(--ink);
}
.scope-other:last-child { border-bottom: 0; }
.scope-other-info { display: flex; flex-direction: column; min-width: 0; }
.scope-other-info b { font-size: 13.5px; font-weight: 600; }
.scope-other-info em { font-style: normal; font-size: 11.5px; color: var(--ink-3); margin-top: 1px; }
.scope-other .icon { width: 13px; height: 13px; color: var(--ink-3); flex: none; }
.scope-other:hover .icon { color: var(--blue); }
.scope-other:hover .scope-other-info b { color: var(--blue-deep); }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1120px) {
  .lawyer-grid { grid-template-columns: repeat(2, 1fr); }
  .lawyer-figures { margin-left: 0; width: 100%; }
  .lawyer-figure { flex: 1; }
}

@media (max-width: 1240px) and (min-width: 981px) {
  .site-header .wrap { padding-left: 28px; padding-right: 28px; gap: 10px; }
  .brand-sub { display: none; }
  .main-nav { gap: 0; }
  .main-nav a { padding: 8px 10px; font-size: 15px; }
  .header-actions { gap: 4px; }
  .header-actions .btn-sm { padding: 6px 9px; font-size: 13px; }
}

@media (max-width: 980px) {
  .layout { grid-template-columns: 1fr; }
  .qa-list-head { flex-direction: column; align-items: stretch; gap: 12px; }
  .qa-list-tools { width: 100%; }
  .qa-head-search { flex: 1 1 auto; width: auto; min-width: 0; }
  .layout-aside { position: static; }
  .grid-cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; padding-top: 44px; padding-bottom: 52px; }
  .hero h1 { font-size: 30px; }
  .ask-quick { max-width: 560px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 28px; }
  .site-header .wrap { min-height: 64px; gap: 16px; padding-left: 20px; padding-right: 20px; }
  .nav-toggle { display: inline-flex; }
  .main-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 14px;
    box-shadow: var(--shadow); z-index: 60;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 4px; border-radius: 0; box-shadow: none; }
  .main-nav a.active { box-shadow: none; }
  .brand { flex: none; }
  .header-actions { flex: none; }
  .brand-sub { display: none; }
  .brand-logo { height: 30px; }
}

@media (max-width: 720px) {
  body { font-size: 15.5px; }
  .site-footer { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .header-actions { display: flex; gap: 4px; }
  .header-ask { font-size: 13.5px; gap: 6px; padding: 4px; }
  .header-ask-ico { width: 22px; height: 22px; }
  .header-ask-text { display: none; }
  .header-actions .btn-sm { padding: 5px 9px; font-size: 12.5px; }
  .user-chip > span:last-child { display: none; }
  .site-header .wrap { min-height: 60px; }
  .section { padding: 38px 0; }
  .section-title { font-size: 20px; }
  .grid-cards { grid-template-columns: 1fr 1fr; gap: 12px; }
  .steps { grid-template-columns: 1fr; }
  .article, .question-block, .form-card { padding: 22px 18px; }
  .article-head h1, .question-block h1 { font-size: 20px; }
  .form-row { grid-template-columns: 1fr; }
  .hero-search button { padding: 0 18px; }
  .hero-desc { font-size: 15px; }
  .hero h1 { font-size: 26px; }
  .hero-eyebrow { letter-spacing: .14em; }
  .ask-quick { padding: 18px 16px 14px; }
  .ask-quick-region { grid-template-columns: 1fr 1fr; gap: 8px; }
  .footer-main { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom .wrap { justify-content: center; text-align: center; }
  .qa-item, .news-item { padding: 14px 12px; }
  .news-grid { grid-template-columns: 1fr; gap: 12px; }
  .layout-main .qa-item + .qa-item { margin-top: 12px; }
  #newsList > .news-item + .news-item { margin-top: 12px; }
  .profile-card { padding: 18px 16px; gap: 16px; }
  .center-nav a { padding: 8px 12px; font-size: 13.5px; }
  .profile-avatar { width: 52px; height: 52px; font-size: 21px; }
  .profile-name { font-size: 17px; }
  .profile-stats { width: 100%; }
  .profile-stat { flex: 1; padding: 8px 6px; }
  .profile-stat .v { font-size: 18px; }
  .myq-item { padding: 13px 14px; }
  .myq-toolbar { padding: 10px 14px; }
  .myq-actions { display: none; }
  .myq-top { flex-direction: column; gap: 4px; }
  .myq-status { margin-top: 0; }
  .filter-bar { padding: 14px; }
  .filter-top { padding-bottom: 12px; }
  .filter-search { flex: 1 1 100%; max-width: none; }
  .filter-label { width: 36px; line-height: 28px; }
  .filter-opts { gap: 5px; }
  .filter-opts a, .filter-opts button { font-size: 12.5px; padding: 3px 10px; }
  .chat-card { min-height: 480px; }
  .chat-body { padding: 14px; max-height: 62vh; min-height: 320px; }
  .msg { max-width: 94%; }
  .chat-quick, .chat-foot { padding-left: 14px; padding-right: 14px; }
  .chat-send { padding: 11px 16px; }
  .qa-item-title, .news-item-title { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
}

@media (max-width: 400px) {
  .grid-cards { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  .lawyer-hero-actions { display: flex; }
  .layout-aside .lawyer-cta { display: none; }
  .lawyer-grid { grid-template-columns: repeat(2, 1fr); }
  .lawyer-grid-home { grid-template-columns: repeat(2, 1fr); }
  .lawyer-banner { flex-direction: column; align-items: flex-start; }
  .lawyer-kpis { width: 100%; }
  .lawyer-kpi { flex: 1; }
  .lawyer-figures { margin-left: 0; width: 100%; }
  .lawyer-figure { flex: 1; }
}

@media (max-width: 720px) {
  .lawyer-grid { grid-template-columns: 1fr; }
  .lawyer-banner { padding: 18px 16px; }
  .lawyer-kpis { width: 100%; }
  .lawyer-kpi { flex: 1; padding: 8px 10px; }
  .lawyer-card { padding: 16px; }
  .lawyer-actions { width: 100%; }
  .lawyer-actions .btn { flex: 1; }
  .lawyer-hero { padding: 18px 16px; }
  .lawyer-hero-top { gap: 14px; align-items: flex-start; }
  .lawyer-hero-deco { width: 180px; height: 180px; right: -46px; top: -34px; }
  .lawyer-avatar-lg { width: 64px; height: 64px; font-size: 26px; }
  .lawyer-hero h1 { font-size: 22px; }
  .lawyer-figures { width: 100%; margin-top: 18px; padding-top: 14px; }
  .lawyer-figure { padding: 0 8px; }
  .lawyer-figure b { font-size: 20px; }
  .lawyer-hero-quote { font-size: 12.5px; padding: 10px 12px; }
  .lawyer-grid-home { grid-template-columns: 1fr; }
  .lawyer-case { padding: 14px; }
}

@media (max-width: 980px) {
  .scope-hero-actions { display: flex; }
  .layout-aside .scope-cta { display: none; }
  .scope-index-hero { flex-direction: column; align-items: flex-start; gap: 20px; padding: 26px 24px; }
  .scope-index-stats { width: 100%; }
  .scope-index-stat { flex: 1; }
  .scope-grid { grid-template-columns: repeat(2, 1fr); }
  .scope-steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .scope-index-hero { padding: 22px 18px; gap: 18px; }
  .scope-index-hero h1 { font-size: 26px; }
  .scope-index-hero p { font-size: 13.5px; }
  .scope-index-actions { gap: 12px; margin-top: 16px; }
  .scope-index-stats { gap: 8px; }
  .scope-index-stat { min-width: 0; padding: 10px 8px; }
  .scope-index-stat b { font-size: 22px; }
  .scope-index-stat span { font-size: 11px; }
  .scope-grid { grid-template-columns: 1fr; }
  .scope-card { padding: 16px; gap: 12px; }
  .scope-icon { width: 46px; height: 46px; }
  .scope-icon .icon { width: 21px; height: 21px; }
  .scope-name { font-size: 16.5px; }
  .scope-watermark .icon { width: 96px; height: 96px; }
  .scope-services { grid-template-columns: 1fr; }
  .scope-scenarios { grid-template-columns: 1fr; }
  .scope-hero { padding: 20px 16px; }
  .scope-hero-top { flex-direction: column; align-items: flex-start; gap: 12px; }
  .scope-hero-info { width: 100%; min-width: 0; }
  .scope-hero-deco { width: 180px; height: 180px; right: -44px; top: -30px; }
  .scope-hero h1 { font-size: 24px; }
  .scope-hero-icon { width: 56px; height: 56px; }
  .scope-hero-icon .icon { width: 26px; height: 26px; }
  .scope-stat { padding: 0 8px; }
  .scope-stat b { font-size: 20px; }
  .scope-process-panel .scope-steps { grid-template-columns: 1fr; }
  .scope-steps { grid-template-columns: 1fr; }
  .scope-foot-cta { padding: 18px 16px; }
}

/* 打印友好 */
@media print {
  .site-header, .site-footer, .layout-aside, .breadcrumb, .pagination { display: none !important; }
  body { color: #000; }
}

/* ---------------- 信息页 / 帮助 / 入驻 / 法律条款 ---------------- */
.footer-legal { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 12.5px; }
.footer-legal a { color: rgba(255,255,255,.58); }
.footer-legal a:hover { color: #fff; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.contact-stack { display: grid; gap: 12px; }
.contact-method { display: flex; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #FBFCFE; }
.contact-method .ico { flex: none; width: 40px; height: 40px; border-radius: var(--radius); background: var(--blue-soft); color: var(--blue); display: inline-flex; align-items: center; justify-content: center; }
.contact-method .ico .icon { width: 19px; height: 19px; }
.contact-method .k { font-size: 12.5px; color: var(--ink-3); }
.contact-method .v { font-size: 15px; font-weight: 600; color: var(--ink); margin-top: 2px; line-height: 1.5; }
.contact-method .v a { color: var(--blue-deep); }
.contact-method .d { font-size: 12.5px; color: var(--ink-3); margin-top: 3px; line-height: 1.6; }
.contact-form textarea.form-control { min-height: 120px; }
.contact-done { text-align: center; padding: 26px 10px; }
.contact-done > .icon { width: 42px; height: 42px; color: var(--green); margin-bottom: 10px; }
.contact-done .t { font-size: 17px; font-weight: 600; color: var(--ink); }
.contact-done .d { font-size: 13.5px; color: var(--ink-3); margin: 6px 0 16px; }

.help-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 22px; }
.help-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; color: var(--ink); transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease); }
.help-card:hover { border-color: var(--blue-line); box-shadow: var(--shadow); transform: translateY(-1px); color: var(--ink); }
.help-card .ico { width: 40px; height: 40px; border-radius: var(--radius); background: var(--blue-soft); color: var(--blue); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.help-card .ico .icon { width: 20px; height: 20px; }
.help-card h3 { font-size: 15.5px; font-weight: 600; margin-bottom: 6px; }
.help-card p { font-size: 13px; color: var(--ink-3); line-height: 1.7; }
.help-faq { border-bottom: 1px dashed var(--line); }
.help-faq:last-child { border-bottom: 0; }
.help-faq summary { transition: color .18s var(--ease); display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 2px; cursor: pointer; font-size: 14.5px; font-weight: 600; color: var(--ink); list-style: none; }
.help-faq summary::-webkit-details-marker { display: none; }
.help-faq summary::after { content: "+"; color: var(--blue); font-size: 19px; font-weight: 400; line-height: 1; }
.help-faq[open] summary::after { content: "–"; }
.help-faq summary:hover { color: var(--blue-deep); }
.help-faq p { padding: 0 2px 16px; font-size: 13.5px; color: var(--ink-2); line-height: 1.85; }
.help-faq p + p { padding-top: 0; }

.sitemap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 56px; }
.sitemap-group { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.sitemap-group h2 { font-size: 16px; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.sitemap-group h2 .icon { width: 17px; height: 17px; color: var(--blue); }
.sitemap-group ul { display: grid; gap: 8px; }
.sitemap-group a { font-size: 13.5px; color: var(--ink-2); }
.sitemap-group a:hover { color: var(--blue-deep); }

.error-page { text-align: center; padding: 86px 0 96px; }
.error-code { font-size: 108px; font-weight: 800; line-height: 1; letter-spacing: -.04em; color: var(--blue); text-shadow: 0 12px 30px rgba(77,97,252,.18); }
.error-page h1 { font-size: 24px; margin: 16px 0 8px; }
.error-page p { font-size: 14.5px; color: var(--ink-3); line-height: 1.8; }
.error-actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.error-links { margin-top: 26px; font-size: 13.5px; color: var(--ink-3); }
.error-links a { color: var(--blue-deep); margin: 0 6px; }

.join-hero { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 34px 38px; color: #fff; margin-bottom: 22px;
  background:
    radial-gradient(520px 260px at 92% 0%, rgba(122,139,255,.48), transparent 66%),
    radial-gradient(360px 220px at 8% 110%, rgba(77,206,252,.16), transparent 70%),
    linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-deep) 58%, #4D61FC 100%);
  box-shadow: 0 20px 46px rgba(31,42,140,.18);
}
.join-hero::after { content: ""; position: absolute; right: -40px; top: -70px; width: 220px; height: 220px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); }
.join-hero .eyebrow { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .18em; color: #F0D9A8; margin-bottom: 10px; }
.join-hero h1 { font-size: 30px; line-height: 1.35; }
.join-hero p { max-width: 620px; margin-top: 10px; font-size: 14.5px; line-height: 1.85; color: rgba(255,255,255,.78); }
.join-hero-stats { display: flex; gap: 34px; margin-top: 22px; position: relative; z-index: 1; }
.join-hero-stat b { display: block; font-size: 24px; line-height: 1.2; }
.join-hero-stat span { font-size: 12.5px; color: rgba(255,255,255,.65); }
.join-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 22px; align-items: start; }
.join-benefits { display: grid; gap: 14px; }
.join-benefit { display: flex; gap: 13px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.join-benefit .ico { flex: none; width: 40px; height: 40px; border-radius: var(--radius); background: var(--blue-soft); color: var(--blue); display: inline-flex; align-items: center; justify-content: center; }
.join-benefit .ico .icon { width: 20px; height: 20px; }
.join-benefit h3 { font-size: 15px; margin-bottom: 4px; }
.join-benefit p { font-size: 13px; color: var(--ink-3); line-height: 1.7; }
.join-form .form-card { max-width: none; margin: 0; }
.join-form .form-title { font-size: 22px; }
.join-form .form-desc { margin-bottom: 20px; }
.join-form textarea.form-control { min-height: 100px; }
.join-note { margin-top: 18px; }

.form-success { text-align: center; padding: 26px 10px; }
.form-success > .icon { width: 42px; height: 42px; color: var(--green); margin-bottom: 10px; }
.form-success .t { font-size: 17px; font-weight: 600; color: var(--ink); }
.form-success .d { font-size: 13.5px; color: var(--ink-3); margin: 6px 0 16px; line-height: 1.7; }

@media (max-width: 980px) {
  .contact-grid, .join-grid { grid-template-columns: 1fr; }
  .help-grid { grid-template-columns: repeat(2, 1fr); }
  .sitemap-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .help-grid, .sitemap-grid { grid-template-columns: 1fr; }
  .footer-legal { justify-content: center; }
  #help-ask, #help-account, #help-lawyer, #help-privacy { scroll-margin-top: 88px; }
  .join-hero { padding: 24px 20px; border-radius: var(--radius-lg); }
  .join-hero h1 { font-size: 26px; }
  .join-hero-stats { gap: 20px; flex-wrap: wrap; }
  .error-page { padding: 60px 0 70px; }
  .error-code { font-size: 82px; }
  .footer-legal { gap: 6px 14px; }
}

.toc { display: grid; gap: 9px; font-size: 13.5px; }
.toc a { color: var(--ink-2); display: block; padding-left: 10px; border-left: 2px solid transparent; }
.toc a:hover { color: var(--blue-deep); border-left-color: var(--blue); }

/* ---------------- Hero 响应式 ---------------- */
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 38px; padding: 48px 20px 60px; }
  .hero h1 { font-size: 36px; }
  .hero::before { right: -320px; top: -300px; }
  .hero::after { left: -280px; bottom: -320px; }
  .ask-quick { max-width: 560px; }
}
@media (max-width: 720px) {
  .hero .wrap { padding: 38px 20px 48px; gap: 28px; }
  .hero h1 { font-size: 31px; line-height: 1.35; }
  .hero-eyebrow { font-size: 11.5px; margin-bottom: 14px; padding-left: 9px; }
  .hero-desc { font-size: 14.5px; line-height: 1.8; margin: 14px 0 22px; }
  .hero-search input { padding: 13px 14px; font-size: 14.5px; }
  .hero-search button { padding: 0 20px; font-size: 14px; }
  .hero-tags { gap: 6px; font-size: 12.5px; margin-top: 14px; }
  .hero-trust { margin-top: 22px; padding-top: 18px; gap: 10px; flex-wrap: wrap; }
  .hero-avatars span { width: 30px; height: 30px; font-size: 11px; }
  .ask-quick { padding: 20px 18px 18px; border-radius: var(--radius); }
}

@media (max-width: 720px) {
  .answer-head { padding: 12px 16px; }
  .answer-body { padding: 16px 16px 6px; font-size: 14.5px; line-height: 1.9; }
  .answer-foot { padding: 10px 16px 12px; }
  .answer-name { font-size: 14.5px; gap: 6px; }
  .answer-sub { font-size: 12px; }
}

.answer-body-collapsible { position: relative; max-height: 320px; overflow: hidden; }
.answer-body-collapsible::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 80px;
  background: linear-gradient(180deg, rgba(255,255,255,0), #fff 88%);
  pointer-events: none;
}
.answer-body-collapsible.is-open { max-height: none; overflow: visible; }
.answer-body-collapsible.is-open::after { display: none; }
.answer-toggle {
  display: inline-block; margin: 0 22px 10px; padding: 0;
  border: 0; background: transparent; color: var(--blue-deep);
  font: inherit; font-size: 13px; font-weight: 500; cursor: pointer;
}
.answer-toggle:hover { color: var(--blue); }
@media (max-width: 720px) {
  .answer-toggle { margin-left: 16px; margin-right: 16px; }
}

.scope-lawyers-empty { padding: 14px 18px 18px; text-align: center; font-size: 13px; color: var(--ink-3); line-height: 1.8; }
.scope-lawyers-empty .icon { width: 26px; height: 26px; color: var(--blue); margin-bottom: 8px; }
.scope-lawyers-empty p { margin-bottom: 10px; }
.scope-lawyers-empty a { color: var(--blue-deep); font-weight: 600; }

@media (max-width: 980px) {
  .main-nav a + a { border-top: 1px solid var(--line); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media (max-width: 1120px) and (min-width: 981px) {
  .qa-head-search { flex-basis: 240px; width: 240px; }
}
@media (max-width: 720px) {
  .qa-list-tools { flex-wrap: nowrap; }
  .qa-head-search { flex: 1 1 auto; width: auto; min-width: 0; }
  .qa-list-tools .btn { padding: 9px 14px; font-size: 14px; }
}

/* ---------------- 资讯详情 ---------------- */
.news-detail-page {
  background:
    radial-gradient(720px 320px at 92% -8%, rgba(77,97,252,.06), transparent 64%),
    linear-gradient(180deg, #F7F9FF 0%, #FFFFFF 430px);
}
.article-news {
  position: relative; overflow: hidden;
  padding: 32px 34px 34px;
  border-color: #E1E5F0;
  box-shadow: 0 12px 30px rgba(20,28,38,.05);
}
.article-news::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue) 0%, #7A8BFF 62%, var(--accent) 100%);
}
.article-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 8px; font-size: 12px; font-weight: 600;
  letter-spacing: .14em; color: var(--blue-deep);
}
.article-eyebrow::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.article-news .article-head h1 { font-size: 27px; line-height: 1.55; }
.article-news .article-body h2 { font-size: 20px; margin-top: 1.9em; }
.article-toc {
  margin: 0 0 24px; padding: 14px 16px;
  background: #F7F9FF; border: 1px solid #E4E8FF; border-radius: var(--radius);
}
.article-toc-title { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 9px; }
.article-toc-title .icon { width: 15px; height: 15px; color: var(--blue); }
.article-toc-links { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px; }
.article-toc-links a { font-size: 13px; color: var(--ink-2); line-height: 1.7; }
.article-toc-links a:hover { color: var(--blue-deep); }
.article-lead {
  padding: 14px 16px; margin-bottom: 1.5em;
  font-size: 17px; line-height: 1.9; color: var(--ink);
  background: linear-gradient(90deg, rgba(77,97,252,.07), rgba(77,97,252,0));
  border-left: 3px solid var(--blue); border-radius: 0 var(--radius) var(--radius) 0;
}
.article-tags {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  margin-top: 28px; padding-top: 18px; border-top: 1px dashed var(--line);
}
.article-tags > span { font-size: 12.5px; color: var(--ink-3); margin-right: 2px; }
.article-tags a {
  padding: 3px 10px; font-size: 12.5px; color: var(--blue-deep);
  background: var(--blue-soft); border: 1px solid var(--blue-line); border-radius: var(--radius);
}
.article-tags a:hover { background: #fff; border-color: #B9C4FF; }
.article-disclaimer { margin-top: 14px; font-size: 12.5px; line-height: 1.8; color: var(--ink-3); }
.news-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  margin-top: 26px; padding: 22px 24px;
  background: linear-gradient(120deg, #F5F8FF 0%, #EEF2FF 100%);
  border: 1px solid #DDE3FF; border-radius: var(--radius);
}
.news-cta h2 { font-size: 19px; font-weight: 700; }
.news-cta p { margin-top: 4px; font-size: 13.5px; color: var(--ink-3); }
.news-cta .btn { flex: none; }

@media (max-width: 720px) {
  .article-news { padding: 22px 18px 24px; }
  .article-news .article-head h1 { font-size: 22px; }
  .article-news .article-body h2 { font-size: 18px; }
  .article-toc-links { grid-template-columns: 1fr; }
  .article-lead { font-size: 15.5px; padding: 12px 14px; }
  .news-cta { padding: 18px; }
  .news-cta .btn { width: 100%; justify-content: center; }
}

/* 友情链接 */
.footer-links { border-top: 1px solid rgba(255,255,255,.12); }
.footer-links .wrap {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px;
  padding-top: 14px; padding-bottom: 14px; font-size: 12.5px;
}
.footer-links-label { color: rgba(255,255,255,.45); }
.footer-links a { color: rgba(255,255,255,.62); }
.footer-links a:hover { color: #fff; }
@media (max-width: 720px) {
  .footer-links .wrap { justify-content: center; text-align: center; gap: 6px 14px; }
}

/* ---------------- 页脚轻量版 ---------------- */
.site-footer {
  border-radius: 0;
  border-top: 0;
  background:
    radial-gradient(900px 360px at 88% -10%, rgba(77,97,252,.075), transparent 65%),
    linear-gradient(180deg, #F8FAFF 0%, #F2F5FF 100%);
  color: var(--ink-2);
}
.site-footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue) 0%, #7A8BFF 55%, var(--accent) 100%);
  opacity: .55;
}
.footer-main { padding-top: 44px; padding-bottom: 30px; gap: 32px; }
.footer-brand { color: var(--ink); margin-bottom: 12px; }
.footer-logo { filter: none; opacity: 1; height: 28px; }
.footer-about p { color: var(--ink-3); font-size: 13px; line-height: 1.9; max-width: 35em; }
.footer-ask {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--blue-deep);
}
.footer-ask .icon { width: 14px; height: 14px; }
.footer-ask:hover { color: var(--blue); }

.footer-col h3 {
  position: relative; padding-left: 9px;
  color: var(--ink); font-size: 14px; margin-bottom: 12px;
}
.footer-col h3::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 3px; height: 13px; border-radius: 2px; background: var(--blue);
}
.footer-col li { margin-bottom: 7px; }
.footer-col a { color: var(--ink-2); font-size: 13px; }
.footer-col a:hover { color: var(--blue-deep); }
.footer-main > .footer-col:nth-child(3) ul {
  display: grid; grid-template-columns: 1fr 1fr; gap: 7px 14px;
}
.footer-main > .footer-col:nth-child(3) li { margin-bottom: 0; }
.footer-contact li { color: var(--ink-2); }
.footer-contact .icon { color: var(--blue); opacity: .9; }
.footer-contact .tel { color: var(--blue-deep); }

.footer-links { border-top: 1px solid #E4E7F2; background: rgba(255,255,255,.32); }
.footer-links .wrap { padding-top: 12px; padding-bottom: 12px; }
.footer-links-label { color: var(--ink-3); }
.footer-links a { color: var(--ink-2); }
.footer-links a:hover { color: var(--blue-deep); }

.footer-bottom { border-top: 1px solid #E4E7F2; color: var(--ink-3); }
.footer-bottom a { color: var(--ink-3); }
.footer-bottom a:hover { color: var(--blue-deep); }
.footer-legal a { color: var(--ink-2); }
.footer-legal a:hover { color: var(--blue-deep); }

@media (max-width: 720px) {
  .site-footer { border-radius: 0; }
  .footer-main { padding-top: 34px; padding-bottom: 26px; }
  .footer-logo { height: 26px; }
}

.footer-bottom .wrap { color: var(--ink-3); }

/* 细节收口 */
input, textarea { caret-color: var(--blue); }
.article-tags a, .footer-ask, .scope-arrow { transition: color .18s var(--ease), background .18s var(--ease), border-color .18s var(--ease); }
.article-tags a:hover, .footer-ask:hover { color: var(--blue-deep); }

@media (hover: hover) and (pointer: fine) {
  html { scrollbar-width: thin; scrollbar-color: #C9D2FF #F6F7FF; }
  ::-webkit-scrollbar { width: 9px; height: 9px; }
  ::-webkit-scrollbar-track { background: #F6F7FF; }
  ::-webkit-scrollbar-thumb { background: #C9D2FF; border-radius: 3px; border: 2px solid #F6F7FF; }
  ::-webkit-scrollbar-thumb:hover { background: #AEB8F0; }
}

@media (max-width: 720px) {
  .breadcrumb li:last-child { min-width: 0; max-width: 100%; }
  .breadcrumb li:last-child > span { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

.form-control:disabled {
  background: #F6F7FB; color: var(--ink-3); cursor: not-allowed;
}
.form-group:has(.form-error.show) .form-control {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(179,65,47,.08);
}
.section-more .icon, .scope-index-link .icon, .footer-ask .icon:last-child {
  transition: transform .18s var(--ease);
}
.section-more:hover .icon, .scope-index-link:hover .icon, .footer-ask:hover .icon:last-child {
  transform: translateX(2px);
}

/* 平台咨询提示 */
.site-notice {
  background: linear-gradient(90deg, #FFF4EE 0%, #FFF9F5 55%, #FFF4EE 100%);
  border-bottom: 1px solid #FFD8C9;
}
.site-notice .wrap {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding-top: 9px; padding-bottom: 9px;
}
.site-notice-tag {
  flex: none; display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 8px 4px; border-radius: 3px;
  background: var(--accent); color: #fff;
  font-size: 11.5px; font-weight: 600; letter-spacing: .02em;
}
.site-notice-tag .icon { width: 13px; height: 13px; color: #fff; }
.site-notice p { min-width: 0; font-size: 12.8px; line-height: 1.65; color: #8A3B20; }
.site-notice b { color: #AD3410; font-weight: 700; }

@media (max-width: 720px) {
  .site-notice .wrap {
    justify-content: flex-start; align-items: flex-start; gap: 8px;
    padding-top: 9px; padding-bottom: 10px;
  }
  .site-notice-tag { margin-top: 1px; }
  .site-notice p { font-size: 12.3px; line-height: 1.65; }
}

/* 咨询提示加强 */
.site-notice { background: linear-gradient(90deg, #FFF1E9 0%, #FFF8F4 55%, #FFF1E9 100%); border-bottom-color: #FFCDBB; }
.site-notice .wrap { padding-top: 10px; padding-bottom: 10px; }
.site-notice p { font-size: 13.2px; }
.site-notice-tag { padding: 3px 9px 4px; }

@media (max-width: 720px) {
  .site-notice p { font-size: 12.5px; }
  .breadcrumb li:last-child { min-width: auto; max-width: none; }
  .breadcrumb li:last-child > span {
    display: inline-block; max-width: calc(100vw - 110px);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom;
  }
}

@media print {
  .site-notice { display: none !important; }
}

/* 提示关闭 */
.site-notice .wrap { position: relative; padding-right: 48px; }
.site-notice-close {
  position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  width: 24px; height: 24px; padding: 0; border: 0; border-radius: 3px;
  background: transparent; color: #A55032; font-size: 18px; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.site-notice-close:hover { background: rgba(242,103,63,.12); color: #7F3318; }
.site-notice-close:focus-visible { outline: 2px solid rgba(242,103,63,.55); outline-offset: 1px; }
.notice-off .site-notice { display: none; }

@media (max-width: 720px) {
  .site-notice .wrap { padding-right: 38px; }
  .site-notice-close { right: 10px; top: 8px; transform: none; }
}

/* 律师入驻提示 */
.join-warning {
  display: flex; align-items: flex-start; gap: 14px;
  margin: 0 0 22px; padding: 16px 18px;
  background: linear-gradient(90deg, #FFF4EE 0%, #FFF9F6 100%);
  border: 1px solid #FFD4C5; border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(242,103,63,.05);
}
.join-warning-icon {
  flex: none; width: 36px; height: 36px; border-radius: var(--radius);
  background: var(--accent-soft); color: var(--accent-deep);
  display: inline-flex; align-items: center; justify-content: center;
}
.join-warning-icon .icon { width: 19px; height: 19px; }
.join-warning h2 { font-size: 15.5px; color: #8A3B20; margin-bottom: 3px; }
.join-warning p { font-size: 13.3px; line-height: 1.8; color: #7A432F; }
.join-warning b { color: #AD3410; font-weight: 700; }

@media (max-width: 720px) {
  .join-warning { gap: 11px; padding: 14px; margin-bottom: 18px; }
  .join-warning-icon { width: 32px; height: 32px; }
  .join-warning h2 { font-size: 14.5px; }
  .join-warning p { font-size: 12.8px; }
}

.lawyer-card-more {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12.5px; font-weight: 500; color: var(--blue-deep); white-space: nowrap;
}
.lawyer-card-more .icon { width: 13px; height: 13px; transition: transform .18s var(--ease); }
.lawyer-card:hover .lawyer-card-more .icon { transform: translateX(2px); }

/* 首页律师卡片细化 */
.lawyer-mini { position: relative; gap: 9px; }
.lawyer-mini-head { padding-right: 18px; }
.lawyer-mini .lawyer-avatar { width: 46px; height: 46px; font-size: 17px; }
.lawyer-mini-name { display: flex; align-items: center; gap: 3px; font-size: 15px; font-weight: 700; }
.lawyer-mini-check { width: 13px; height: 13px; flex: none; color: var(--blue); }
.lawyer-mini-desc {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; min-height: 3.3em;
  font-size: 12px; line-height: 1.65; color: var(--ink-3);
}
.lawyer-mini-arrow {
  position: absolute; top: 13px; right: 13px;
  width: 24px; height: 24px; border-radius: 3px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #F5F7FF; color: var(--ink-3);
  transition: background .18s var(--ease), color .18s var(--ease), transform .18s var(--ease);
}
.lawyer-mini-arrow .icon { width: 13px; height: 13px; }
.lawyer-mini:hover .lawyer-mini-arrow { background: var(--blue); color: #fff; transform: translateX(1px); }
.lawyer-mini-stats { margin-top: auto; }

/* 律师主页细化 */
.lawyer-hero-eyebrow {
  position: relative; display: flex; align-items: center; gap: 6px;
  margin-bottom: 12px; font-size: 11.5px; font-weight: 600;
  letter-spacing: .12em; color: var(--blue-deep);
}
.lawyer-hero-eyebrow::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--blue); }
.lawyer-hero-quote::before {
  content: "执业理念"; display: block; margin-bottom: 4px;
  font-size: 10.5px; font-weight: 600; letter-spacing: .14em; color: var(--blue-deep);
}
.lawyer-cta {
  background: linear-gradient(180deg, #F7F9FF 0%, #FFFFFF 100%);
  border-color: #DDE3FF;
}

.lawyer-card-title { font-size: 12.5px; color: var(--ink-3); white-space: nowrap; }

.lawyer-kpi:nth-child(2) b, .lawyer-kpi:nth-child(3) b { font-size: 18px; }

.hero-avatars span.lawyer-soft-avatar { color: var(--blue-deep); }

/* 律师列表页红色点缀 */
.lawyer-list-page {
  --list-red: #C04436;
  --list-red-deep: #9B3127;
}
.lawyer-list-page .lawyer-banner { position: relative; overflow: hidden; }
.lawyer-list-page .lawyer-banner::before {
  content: ""; position: absolute; top: 0; left: 24px;
  width: 42px; height: 2px; background: var(--list-red);
  border-radius: 0 0 2px 2px;
}
.lawyer-list-page .lawyer-kpi:first-child b { color: var(--list-red); }
.lawyer-list-page .lawyer-card-more { color: var(--list-red); }
.lawyer-list-page .lawyer-card:hover .lawyer-card-more { color: var(--list-red-deep); }
.lawyer-list-page .lawyer-card::before {
  content: ""; position: absolute; left: -1px; top: 18px;
  width: 2px; height: 18px; border-radius: 2px;
  background: var(--list-red); opacity: 0;
  transition: opacity .18s var(--ease);
}
.lawyer-list-page .lawyer-card:hover::before,
.lawyer-list-page .lawyer-card:focus-within::before { opacity: 1; }

/* 全站红色点缀 */
.main-nav a { position: relative; }
@media (min-width: 981px) {
  .main-nav a.active::after {
    content: ""; position: absolute; left: 50%; bottom: 2px;
    width: 16px; height: 2px; border-radius: 2px;
    background: var(--red); transform: translateX(-50%);
  }
}
.section-title::before {
  background: linear-gradient(180deg, var(--blue) 0%, var(--blue) 55%, var(--red) 100%);
}
.site-footer::before {
  background: linear-gradient(90deg, var(--blue) 0%, #7A8BFF 55%, var(--accent) 82%, var(--red) 100%);
}
.hero-tags > span { color: var(--red-deep); }

/* 卡片悬停红色细边 */
.qa-item, .news-item, .card-service, .help-card, .scope-card { position: relative; }
.qa-item::before, .news-item::before, .card-service::before, .help-card::before, .scope-card::before {
  content: ""; position: absolute; left: 0; top: 16px;
  width: 2px; height: 18px; border-radius: 2px;
  background: var(--red); opacity: 0;
  transition: opacity .18s var(--ease);
}
.qa-item:hover::before, .news-item:hover::before,
.card-service:hover::before, .help-card:hover::before,
.scope-card:hover::before { opacity: 1; }

/* 已核验统一用绿色区分 */
.lawyer-verified {
  color: var(--green-deep);
  background: var(--green-soft);
  border-color: var(--green-line);
}
.lawyer-verified .icon { color: var(--green); }
.lawyer-hero-eyebrow { color: var(--green-deep); }
.lawyer-hero-eyebrow::before { background: var(--green); }
.lawyer-promise span:first-child { color: var(--green-deep); }
.lawyer-promise span:first-child .icon { color: var(--green); opacity: 1; }
.lawyer-kpi:nth-child(3) b { color: var(--green-deep); }
.stat-item:first-child .stat-icon { background: var(--green-soft); color: var(--green-deep); }
.lawyer-mini-verified {
  display: inline-flex; align-items: center;
  padding: 1px 5px; margin-left: 2px;
  font-size: 10px; font-weight: 600; line-height: 1.5;
  color: var(--green-deep); background: var(--green-soft);
  border: 1px solid var(--green-line); border-radius: 3px;
}

/* 全站视觉收口 */
main {
  background: linear-gradient(180deg, #F8FAFF 0%, #FFFFFF 420px);
}
.site-header {
  background: rgba(255,255,255,.94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(228,231,242,.9), 0 8px 24px rgba(20,28,38,.05);
}
.breadcrumb li + li::before {
  content: "›"; margin-right: 7px; margin-left: 1px;
  color: #B7BFD2; font-size: 14px;
}
.chat-card { min-height: 500px; }
.chat-body { min-height: 300px; }

@media (max-width: 720px) {
  .chat-card { min-height: 440px; }
  .chat-body { min-height: 260px; }
}

/* FAQ 开合圆钮 */
.help-faq summary::after, .scope-faq summary::after {
  content: "+"; display: inline-flex; align-items: center; justify-content: center;
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--blue-soft); color: var(--blue-deep);
  font-size: 15px; font-weight: 500; line-height: 1;
  transition: background .18s var(--ease), color .18s var(--ease);
}
.help-faq[open] summary::after, .scope-faq[open] summary::after {
  content: "−"; background: var(--blue); color: #fff;
}

.center-nav a.on { border-bottom-color: var(--red); }

.auth-page {
  background:
    radial-gradient(620px 300px at 88% -8%, rgba(77,97,252,.075), transparent 64%),
    linear-gradient(180deg, #F8FAFF 0%, #F2F5FF 62%, #FFFFFF 100%);
}

/* 资讯列表桌面双列 */
@media (min-width: 1121px) {
  #newsList { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  #newsList > .news-item + .news-item { margin-top: 0; }
  #newsList .news-item-title {
    white-space: normal;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  }
}

/* 移动端当前位置红点 */
@media (max-width: 980px) {
  .main-nav a.active::after {
    content: ""; display: inline-block; width: 4px; height: 4px;
    margin-left: 6px; border-radius: 50%; background: var(--red);
    vertical-align: 2px;
  }
}

/* 注册页账号安全提示 */
.auth-warning {
  display: flex; align-items: flex-start; gap: 11px;
  max-width: 440px; margin: 0 auto 16px; padding: 13px 15px;
  background: linear-gradient(90deg, #FFF4EE 0%, #FFF9F6 100%);
  border: 1px solid #FFD4C5; border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(242,103,63,.05);
}
.auth-warning-icon {
  flex: none; width: 30px; height: 30px; border-radius: var(--radius);
  background: var(--accent-soft); color: var(--accent-deep);
  display: inline-flex; align-items: center; justify-content: center;
}
.auth-warning-icon .icon { width: 17px; height: 17px; }
.auth-warning p { font-size: 12.8px; line-height: 1.75; color: #7A432F; }
.auth-warning p b { color: #AD3410; }
.auth-warning p a { color: var(--red-deep); text-decoration: underline; text-underline-offset: 2px; }
.auth-warning p a:hover { color: var(--red); }

@media (max-width: 720px) {
  .auth-warning { padding: 12px 13px; gap: 9px; }
  .auth-warning p { font-size: 12.3px; }
}

/* 列表/提问页安全提示 */
.page-warning {
  display: flex; align-items: flex-start; gap: 11px;
  margin: 0 0 16px; padding: 13px 16px;
  background: linear-gradient(90deg, #FFF4EE 0%, #FFF9F6 100%);
  border: 1px solid #FFD4C5; border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(242,103,63,.05);
}
.page-warning-narrow { max-width: 660px; margin-left: auto; margin-right: auto; }
.page-warning-icon {
  flex: none; width: 32px; height: 32px; border-radius: var(--radius);
  background: var(--accent-soft); color: var(--accent-deep);
  display: inline-flex; align-items: center; justify-content: center;
}
.page-warning-icon .icon { width: 17px; height: 17px; }
.page-warning p { font-size: 13px; line-height: 1.75; color: #7A432F; }
.page-warning p b { color: #AD3410; font-weight: 700; }
.page-warning p a { color: var(--red-deep); text-decoration: underline; text-underline-offset: 2px; }
.page-warning p a:hover { color: var(--red); }

@media (max-width: 720px) {
  .page-warning { gap: 9px; padding: 12px 13px; margin-bottom: 14px; }
  .page-warning-icon { width: 28px; height: 28px; }
  .page-warning p { font-size: 12.4px; }
}

/* 提示条垂直居中收口 */
.page-warning { align-items: center; }
.page-warning p { margin: 0; }
.page-warning-icon { width: 30px; height: 30px; }
.auth-warning { align-items: center; }
.auth-warning p { margin: 0; }
.join-warning { align-items: center; }
.lawyer-kpi b { min-height: 28px; display: flex; align-items: center; justify-content: center; line-height: 1; }

@media (max-width: 720px) {
  .site-notice .wrap { align-items: center; }
  .site-notice-tag { margin-top: 0; }
  .site-notice-close { top: 50%; transform: translateY(-50%); }
  .page-warning-icon { width: 28px; height: 28px; }
}

/* 关于页管控规则强调 */
.about-control {
  position: relative;
  margin: 30px 0 28px; padding: 22px 24px 18px;
  background: linear-gradient(120deg, #FFF7F3 0%, #FFF3EE 100%);
  border: 1px solid #F6D4C8; border-left: 3px solid var(--red);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(192,68,54,.05);
}
.about-control-tag {
  display: inline-flex; align-items: center; gap: 5px;
  margin-bottom: 8px; padding: 3px 8px;
  background: var(--red); color: #fff;
  font-size: 10.5px; font-weight: 600; letter-spacing: .04em;
  border-radius: 3px; line-height: 1.6;
}
.about-control-tag .icon { width: 12px; height: 12px; color: #fff; }
.about-control h2 {
  margin: 0 0 10px; padding-left: 0; border-left: 0;
  color: var(--red-deep);
}
.about-control > p { color: var(--ink-2); }
.about-control li strong { color: var(--red-deep); }
.about-control .note {
  background: #fff; border-left-color: var(--red);
  color: var(--ink-2);
}
.about-control .note a { color: var(--red-deep); }

@media (max-width: 720px) {
  .about-control { margin: 24px 0; padding: 18px 16px 16px; }
}

.ask-quick-privacy {
  display: flex; align-items: flex-start; gap: 5px;
  margin: 6px 0 0; font-size: 11.5px; line-height: 1.65; color: var(--ink-3);
}
.ask-quick-privacy .icon { width: 12px; height: 12px; margin-top: 2px; color: var(--green); }
.ask-quick-privacy b { color: var(--green-deep); font-weight: 600; }

.panel-more {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 12.5px; color: var(--ink-3);
}
.panel-more .icon { width: 13px; height: 13px; }
.panel-more:hover { color: var(--blue-deep); }
.recommend-check { width: 12px; height: 12px; margin-left: 2px; color: var(--green); vertical-align: -1px; }

/* ---------------- 律师主页 v2 ---------------- */
.lp-card {
  position: relative; overflow: hidden;
  margin-bottom: 18px; padding: 24px 26px 20px;
  background:
    radial-gradient(560px 220px at 88% -30%, rgba(77,97,252,.07), transparent 66%),
    #fff;
  border: 1px solid #E2E6F0; border-radius: var(--radius-lg);
  box-shadow: 0 14px 32px rgba(20,28,38,.05), 0 1px 2px rgba(20,28,38,.03);
}
.lp-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue) 0%, #7A8BFF 52%, var(--accent) 100%);
  opacity: .75;
}
.lp-cover { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.lp-cover-mark {
  position: absolute; right: -28px; top: -34px; width: 210px; height: 210px;
  color: rgba(77,97,252,.05); fill: none; stroke: currentColor; stroke-width: 1;
  stroke-linecap: round; stroke-linejoin: round;
}
.lp-body {
  position: relative;
  display: grid; grid-template-columns: 128px minmax(0, 1fr) 148px;
  gap: 24px; align-items: start;
}
.lp-photo-wrap { position: relative; }
.lp-photo {
  display: block; width: 128px; height: 128px; object-fit: cover;
  border-radius: var(--radius); background: #F1F4FA;
  border: 1px solid #E5E9F2;
  box-shadow: 0 8px 20px rgba(20,28,38,.08);
}
.lp-photo-badge {
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  width: 100%; margin-top: 8px; padding: 4px 6px;
  font-size: 11px; font-weight: 600; line-height: 1.5;
  color: var(--green-deep); background: var(--green-soft);
  border: 1px solid var(--green-line); border-radius: var(--radius);
}
.lp-photo-badge .icon { width: 12px; height: 12px; color: var(--green); }

.lp-main { min-width: 0; padding-top: 2px; }
.lp-eyebrow {
  display: flex; align-items: center; gap: 6px;
  margin-bottom: 5px; font-size: 11px; font-weight: 600;
  letter-spacing: .14em; color: var(--blue-deep);
}
.lp-eyebrow::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--blue); }
.lp-name-line { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.lp-name-line h1 { font-size: 26px; font-weight: 700; line-height: 1.3; color: var(--ink); }
.lp-role { margin-top: 5px; font-size: 13.5px; color: var(--ink-2); }
.lp-role .dot { margin: 0 7px; color: var(--line); }
.lp-main .lawyer-meta { margin-top: 10px; font-size: 12.5px; color: var(--ink-3); }
.lp-main .lawyer-meta .m {
  display: inline-flex; align-items: center; gap: 4px;
  padding-right: 12px; margin-right: 12px;
  border-right: 1px solid #EDF0F7;
}
.lp-main .lawyer-meta .m:last-child { border-right: 0; padding-right: 0; margin-right: 0; }
.lp-main .lawyer-meta .icon { width: 13px; height: 13px; color: var(--ink-3); }
.lp-main .lawyer-tags { margin-top: 12px; }
.lp-main .lawyer-tag {
  font-size: 12px; color: var(--blue-deep);
  background: #F6F8FF; border-color: #E3E9FF;
}
.lp-actions { display: flex; gap: 9px; margin-top: 18px; flex-wrap: wrap; }
.lp-actions .btn { min-height: 38px; }

.lp-figures {
  display: flex; flex-direction: column; gap: 8px;
  padding-top: 2px;
}
.lp-figure {
  padding: 10px 13px; border-radius: var(--radius);
  background: #FAFBFE; border: 1px solid #EDF0F7;
}
.lp-figure b {
  display: block; font-size: 18px; font-weight: 700; line-height: 1.3;
  color: var(--ink); font-variant-numeric: tabular-nums;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.lp-figure span { font-size: 11.5px; color: var(--ink-3); }

.lp-quote {
  position: relative;
  display: flex; align-items: flex-start; gap: 9px;
  margin: 20px 0 0; padding: 12px 15px;
  background: #F8FAFF; border: 1px solid #EDF1FC; border-radius: var(--radius);
}
.lp-quote::before {
  content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 2px;
  border-radius: 2px; background: var(--blue-line);
}
.lp-quote-mark {
  flex: none; font-size: 22px; line-height: 1.2; color: var(--blue-line);
  font-family: Georgia, "Songti SC", serif;
}
.lp-quote p { flex: 1; min-width: 0; font-size: 13px; line-height: 1.8; color: var(--ink-2); }
.lp-quote cite {
  flex: none; align-self: center; font-style: normal;
  padding-left: 12px; border-left: 1px solid #E7ECF8;
  font-size: 11px; letter-spacing: .1em; color: var(--ink-3); white-space: nowrap;
}

/* 侧栏咨询卡 */
.lawyer-cta-head { display: flex; align-items: center; gap: 11px; margin-bottom: 13px; }
.lawyer-cta-photo {
  flex: none; width: 44px; height: 44px; object-fit: cover;
  border-radius: var(--radius); background: #F1F4FA;
  border: 1px solid #E5E9F2;
}
.lawyer-cta h2 { font-size: 15.5px; }
.lawyer-cta .lawyer-cta-head p { margin: 3px 0 0; font-size: 12px; color: var(--ink-3); }
.related-lawyer-photo {
  flex: none; width: 38px; height: 38px; object-fit: cover;
  border-radius: var(--radius); background: #F1F4FA;
  border: 1px solid #E8EBF3;
}

@media (max-width: 980px) {
  .lp-card { padding: 20px 20px 18px; }
  .lp-body { grid-template-columns: 112px minmax(0, 1fr); gap: 18px; }
  .lp-photo { width: 112px; height: 112px; }
  .lp-figures { grid-column: 1 / -1; flex-direction: row; gap: 8px; }
  .lp-figure { flex: 1; }
  .lp-cover-mark { width: 150px; height: 150px; }
}
@media (max-width: 720px) {
  .lp-card { padding: 18px 16px 16px; }
  .lp-body { grid-template-columns: 88px minmax(0, 1fr); gap: 14px; }
  .lp-photo { width: 88px; height: 88px; }
  .lp-photo-badge { font-size: 10px; padding: 3px 4px; }
  .lp-name-line h1 { font-size: 21px; }
  .lp-name-line .lawyer-verified { font-size: 10.5px; padding: 3px 7px; }
  .lp-role { font-size: 12.5px; }
  .lp-main .lawyer-meta { font-size: 12px; }
  .lp-actions { margin-top: 14px; }
  .lp-actions .btn { flex: 1; justify-content: center; }
  .lp-figure { padding: 8px 10px; text-align: center; }
  .lp-figure b { font-size: 16px; }
  .lp-quote { margin-top: 16px; padding: 11px 12px; }
  .lp-quote cite { display: none; }
  .lp-cover-mark { width: 120px; height: 120px; right: -18px; top: -18px; }
}

/* 图片头像 */
.lawyer-card-photo-link { flex: none; display: block; }
.lawyer-card-photo {
  display: block; width: 56px; height: 56px; object-fit: cover;
  border-radius: var(--radius); background: #F1F4FA; border: 1px solid #E6EAF3;
}
.lawyer-mini-photo {
  display: block; width: 46px; height: 46px; object-fit: cover;
  border-radius: var(--radius); background: #F1F4FA; border: 1px solid #E6EAF3;
}
.hero-avatars img {
  width: 34px; height: 34px; margin-left: -8px; object-fit: cover;
  border-radius: var(--radius); border: 2px solid #fff; background: #F1F4FA;
  box-shadow: 0 2px 6px rgba(31,42,140,.14);
}
.hero-avatars img:first-child { margin-left: 0; }
.related-lawger-photo { display: block; }

@media (max-width: 720px) {
  .lawyer-card-photo { width: 48px; height: 48px; }
}

/* 律师主页数据列优化 */
.lp-figures {
  gap: 0; padding: 4px 0;
  border: 1px solid #EAEEF6; border-radius: var(--radius);
  background: #FAFBFE; overflow: hidden;
}
.lp-figure { padding: 10px 13px; background: none; border: 0; border-radius: 0; }
.lp-figure + .lp-figure { border-top: 1px solid #EDF0F7; }

@media (max-width: 980px) {
  .lp-figures { flex-direction: row; padding: 0; }
  .lp-figure + .lp-figure { border-top: 0; border-left: 1px solid #EDF0F7; }
}
@media (max-width: 720px) {
  .lp-actions { display: flex; gap: 8px; }
  .lp-actions .btn { flex: 1 1 0; min-width: 0; padding-left: 10px; padding-right: 10px; font-size: 13.5px; }
  .lp-actions .btn .icon { width: 15px; height: 15px; }
}

/* 律师简介与最近解答（删除死代码时恢复） */
.lawyer-bio p { font-size: 14.5px; line-height: 1.9; color: var(--ink-2); }
.lawyer-bio p:first-child { font-size: 15px; color: var(--ink); }
.lawyer-bio p + p { margin-top: 10px; }
.lawyer-case { padding: 16px 18px; border-bottom: 1px dashed var(--line); transition: background .18s var(--ease); }
.lawyer-case:hover { background: #FBFCFF; }
.lawyer-case:last-child { border-bottom: 0; }
.lawyer-case-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.lawyer-case-date { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; color: var(--ink-3); }
.lawyer-case-date .icon { width: 13px; height: 13px; }
.lawyer-case h3 { font-size: 15px; font-weight: 600; line-height: 1.6; }
.lawyer-case h3 a { color: var(--ink); }
.lawyer-case h3 a:hover { color: var(--blue-deep); }
.lawyer-case p { font-size: 13px; color: var(--ink-3); line-height: 1.7; margin-top: 4px; }

/* 律师主页基础样式（清理死代码后恢复） */
.lawyer-detail-page {
  background:
    radial-gradient(720px 320px at 94% -8%, rgba(77,97,252,.05), transparent 64%),
    linear-gradient(180deg, #F8F9FD 0%, #FFFFFF 430px);
}
.layout-main > .panel + .panel { margin-top: 18px; }
.lawyer-promise {
  display: flex; flex-wrap: wrap; gap: 8px 20px;
  margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line);
  font-size: 12.5px; color: var(--ink-3);
}
.lawyer-promise span { display: inline-flex; align-items: center; gap: 5px; }
.lawyer-promise .icon { width: 14px; height: 14px; }
.lawyer-promise em { font-style: normal; }
.btn-white { background: #fff; border-color: #fff; color: var(--blue-deep); }
.btn-white:hover { background: #F3F5FF; border-color: #F3F5FF; color: var(--blue-deep); }
.btn-ghost-light { background: transparent; border-color: rgba(255,255,255,.45); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.7); color: #fff; }


/* ---------------- 个人中心：左右仪表盘布局 ---------------- */
.center-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}
.center-side {
  position: sticky;
  top: 84px;
  display: grid;
  gap: 14px;
  min-width: 0;
}
.center-user-card {
  position: relative;
  overflow: hidden;
  padding: 20px;
  background: linear-gradient(160deg, #FFFFFF 0%, #F7F8FF 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-s);
}
.center-user-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue) 0%, #7A8BFF 58%, var(--accent) 100%);
}
.center-user-main { display: flex; align-items: center; gap: 14px; }
.center-user-card .profile-avatar {
  width: 58px; height: 58px;
  border-radius: 3px;
  font-size: 23px;
}
.center-user-card .profile-info { flex: 1; min-width: 0; }
.center-user-card .profile-name {
  font-size: 18px;
  line-height: 1.4;
  gap: 8px;
}
.center-user-card .profile-name #profileName {
  max-width: 136px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.center-user-card .profile-meta {
  display: grid;
  gap: 5px;
  margin-top: 8px;
  font-size: 12.5px;
}
.center-user-card .profile-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  margin-top: 18px;
}
.center-user-card .profile-stat {
  padding: 10px 4px;
  border-left: 1px solid var(--line);
}
.center-user-card .profile-stat:first-child { border-left: 0; }
.center-user-card .profile-stat .v { font-size: 20px; }
.center-user-card .profile-stat .k { font-size: 11.5px; white-space: nowrap; }
.center-user-card .center-logout {
  width: 100%;
  margin-top: 16px;
  justify-content: center;
}
.center-user-card .profile-guest-actions { margin-top: 16px; }
.center-user-card .profile-guest-actions .btn { flex: 1; justify-content: center; }

.center-menu {
  display: grid;
  gap: 4px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-s);
}
.center-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: var(--radius);
  color: var(--ink-2);
  font-size: 14px;
  transition: background .18s var(--ease), color .18s var(--ease), box-shadow .18s var(--ease);
}
.center-menu a .icon { flex: none; width: 16px; height: 16px; color: var(--ink-3); }
.center-menu a > span:nth-of-type(1) { flex: 1; min-width: 0; }
.center-menu a .n {
  flex: none;
  padding: 2px 8px;
  border-radius: 3px;
  background: var(--bg-soft);
  color: var(--ink-3);
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
}
.center-menu a:hover { background: var(--blue-soft); color: var(--blue-deep); }
.center-menu a:hover .icon { color: var(--blue-deep); }
.center-menu a.on {
  background: linear-gradient(135deg, #5B6DFF 0%, var(--blue) 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(77, 97, 252, .22);
}
.center-menu a.on .icon { color: #fff; }
.center-menu a.on .n { background: rgba(255, 255, 255, .2); color: #fff; }

.center-side-quick .panel-head { padding: 12px 16px; }
.center-side-quick .panel-head h2 { font-size: 14px; }
.center-side-quick .panel-body { padding: 12px 14px 14px; }
.center-side-quick .quick-links { gap: 8px; }
.center-side-quick .btn { justify-content: flex-start; font-size: 13px; }

.center-content { min-width: 0; }
.center-panel[hidden] { display: none !important; }
.center-panel { animation: centerPanelIn .22s var(--ease); }
@keyframes centerPanelIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .center-layout { grid-template-columns: 1fr; gap: 16px; }
  .center-side { position: static; }
  .center-menu { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; }
  .center-menu a { white-space: nowrap; }
  .center-side-quick { display: none; }
}
@media (max-width: 600px) {
  .center-user-main { align-items: flex-start; }
  .center-menu a { padding: 9px 10px; font-size: 13px; }
  .center-menu a .n { display: none; }
}

/* 筛选项过多：地区展开 / 收起 */
.filter-toggle {
  flex: none;
  padding: 3px 10px;
  font-size: 12.5px;
  line-height: 1.85;
  color: var(--blue-deep);
  background: #fff;
  border: 1px solid var(--blue-line);
  border-radius: var(--radius);
  cursor: pointer;
  white-space: nowrap;
  transition: background .18s var(--ease), border-color .18s var(--ease);
}
.filter-toggle:hover { background: var(--blue-soft); border-color: var(--blue); }

/* 问题正文过长：折叠 + 渐变遮罩 */
.question-content.is-collapsed {
  position: relative;
  max-height: 240px;
  overflow: hidden;
}
.question-content.is-collapsed::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 72px;
  background: linear-gradient(180deg, rgba(255,255,255,0), #fff 78%);
  pointer-events: none;
}
.question-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 10px;
  padding: 4px 12px;
  font-size: 12.5px;
  color: var(--blue-deep);
  background: var(--blue-soft);
  border: 1px solid var(--blue-line);
  border-radius: var(--radius);
  cursor: pointer;
}
.question-toggle:hover { background: #EEF1FF; border-color: var(--blue); }

/* 个人中心子页面：总览 / 资料 / 独立功能页 */
.center-content > .panel + .panel { margin-top: 16px; }

.overview-welcome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, #F5F7FF 0%, #FFFFFF 70%);
  border: 1px solid var(--blue-line);
  border-radius: var(--radius);
}
.overview-welcome b { display: block; font-size: 17px; color: var(--ink); margin-bottom: 4px; }
.overview-welcome p { font-size: 13px; color: var(--ink-3); line-height: 1.7; }
.overview-welcome .btn { flex: none; }

.overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.overview-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease), transform .18s var(--ease);
}
.overview-card:hover {
  border-color: var(--blue-line);
  box-shadow: var(--shadow-s);
  transform: translateY(-1px);
}
.overview-card-icon {
  flex: none;
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--blue-deep);
  background: var(--blue-soft);
  border-radius: 3px;
}
.overview-card-icon .icon { width: 18px; height: 18px; }
.overview-card-copy { flex: 1; min-width: 0; }
.overview-card-copy b { display: block; font-size: 14px; color: var(--ink); }
.overview-card-copy em { display: block; margin-top: 2px; font-size: 12px; font-style: normal; color: var(--ink-3); }
.overview-card-arrow { flex: none; width: 14px; height: 14px; color: var(--ink-3); }

.overview-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 24px 0 4px;
}
.overview-section-head h3 { font-size: 16px; font-weight: 600; color: var(--ink); }
.overview-section-head a { font-size: 13px; color: var(--blue-deep); }
.overview-recent { margin: 0 -20px -18px; border-top: 1px solid var(--line); }
.overview-recent .myq-item:first-child { border-top: 0; }

.account-info-grid { display: grid; gap: 0; }
.account-info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 2px;
  border-bottom: 1px dashed var(--line);
}
.account-info-row span { font-size: 13px; color: var(--ink-3); }
.account-info-row b { font-size: 14px; font-weight: 500; color: var(--ink); text-align: right; word-break: break-all; }
.account-info-actions { padding-top: 16px; }
.account-security { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.account-security b { display: block; font-size: 14px; color: var(--ink); }
.account-security p { margin-top: 4px; font-size: 12.5px; color: var(--ink-3); line-height: 1.7; }

@media (max-width: 980px) {
  .overview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .overview-grid { grid-template-columns: 1fr; }
  .overview-welcome { align-items: flex-start; flex-direction: column; }
  .overview-welcome .btn { width: 100%; justify-content: center; }
  .account-info-row { align-items: flex-start; }
  .account-security { align-items: flex-start; flex-direction: column; }
}

/* 律师中心 / 律师资料 / 律师回复 */
.lawyer-center-hero {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px;
  background: linear-gradient(135deg, #F5F7FF 0%, #FFFFFF 72%);
  border: 1px solid var(--blue-line);
  border-radius: var(--radius);
}
.lawyer-center-photo {
  flex: none;
  width: 92px; height: 92px;
  object-fit: cover;
  border-radius: 3px;
  border: 3px solid #fff;
  box-shadow: 0 4px 14px rgba(9, 32, 64, .12);
  background: var(--blue-soft);
}
.lawyer-center-main { flex: 1; min-width: 0; }
.lawyer-center-main .badge { margin-bottom: 6px; }
.lawyer-center-main h2 { font-size: 22px; line-height: 1.35; }
.lawyer-center-main p { margin-top: 4px; font-size: 13.5px; color: var(--ink-3); }
.lawyer-center-main .lawyer-tags { margin-top: 10px; }
.lawyer-center-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

.lawyer-center-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.lawyer-center-stat {
  padding: 14px 10px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.lawyer-center-stat b { display: block; font-size: 22px; line-height: 1.25; color: var(--blue-deep); font-variant-numeric: tabular-nums; }
.lawyer-center-stat span { font-size: 12px; color: var(--ink-3); }

.lawyer-profile-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px dashed var(--line);
}
.lawyer-profile-head img {
  width: 64px; height: 64px;
  object-fit: cover;
  border-radius: 3px;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(9, 32, 64, .1);
}
.lawyer-profile-head b { display: block; font-size: 17px; color: var(--ink); }
.lawyer-profile-head span { display: block; margin-top: 3px; font-size: 12.5px; color: var(--ink-3); }
.lawyer-profile-status {
  padding: 9px 12px;
  font-size: 13px;
  color: var(--ink-2);
  background: #F7F8FF;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.filter-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  font-size: 13px;
  color: var(--ink-2);
  background: #F5F6FF;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}
.filter-check input { accent-color: var(--blue); margin: 0; }
.filter-check:has(input:checked) { background: var(--blue-soft); border-color: var(--blue-line); color: var(--blue-deep); }

.reply-question {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.reply-question-head { display: flex; align-items: flex-start; gap: 12px; }
.reply-question-head h2 { font-size: 20px; line-height: 1.5; }
.reply-question-content {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--ink-2);
  max-height: 320px;
  overflow: auto;
}
.reply-existing {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 14px 0;
  padding: 12px 16px;
  font-size: 13px;
  color: var(--ink-3);
  background: #F7F8FF;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.reply-existing b { color: var(--ink-2); font-weight: 500; }
.reply-existing a { margin-left: auto; color: var(--blue-deep); font-size: 12.5px; }
.reply-form { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.reply-form h3 { font-size: 17px; margin-bottom: 6px; }
.reply-form-tip { margin-bottom: 12px; font-size: 12.5px; color: var(--ink-3); line-height: 1.7; }
.reply-form textarea { min-height: 170px; }
.reply-form-meta { margin-top: 6px; text-align: right; font-size: 12px; color: var(--ink-3); }
.reply-form-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 14px; }
.reply-success-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

@media (max-width: 980px) {
  .lawyer-center-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .lawyer-center-hero { align-items: flex-start; flex-direction: column; }
  .lawyer-center-actions { width: 100%; }
  .lawyer-center-actions .btn { flex: 1; justify-content: center; }
  .reply-existing a { margin-left: 0; }
  .reply-form-actions { flex-direction: column; }
  .reply-form-actions .btn { width: 100%; justify-content: center; }
}

/* 会员账号与律师账号分离提示 */
.account-info-note {
  display: grid;
  gap: 8px;
  font-size: 12.5px;
  color: var(--ink-3);
  line-height: 1.7;
}
.account-info-note .btn { justify-self: start; }

/* 提问方式：公开提问 / 向律师提问 */
.ask-type-opts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.ask-type-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color .18s var(--ease), background .18s var(--ease), box-shadow .18s var(--ease);
}
.ask-type-option input { flex: none; margin-top: 3px; accent-color: var(--blue); }
.ask-type-option b { display: block; font-size: 14px; color: var(--ink); }
.ask-type-option em { display: block; margin-top: 2px; font-size: 12px; font-style: normal; line-height: 1.6; color: var(--ink-3); }
.ask-type-option.on {
  background: var(--blue-soft);
  border-color: var(--blue-line);
  box-shadow: 0 0 0 1px var(--blue-line);
}
@media (max-width: 600px) {
  .ask-type-opts { grid-template-columns: 1fr; }
}

/* 智能问答：未登录提问弹窗 */
.chat-login-mask {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(9, 32, 64, .46);
  backdrop-filter: blur(2px);
}
.chat-login-mask[hidden] { display: none !important; }
.chat-login-dialog {
  position: relative;
  width: min(420px, 100%);
  padding: 26px 24px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 3px;
  box-shadow: 0 24px 60px rgba(9, 32, 64, .22);
}
.chat-login-dialog h2 { font-size: 20px; line-height: 1.4; }
.chat-login-desc { margin-top: 6px; font-size: 13px; color: var(--ink-3); line-height: 1.7; }
.chat-login-dialog .form-group { margin-top: 16px; }
.chat-login-dialog .form-control { padding: 10px 12px; }
.chat-login-dialog .btn-block { margin-top: 16px; }
.chat-login-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--ink-3);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.chat-login-close:hover { background: var(--line); color: var(--ink); }
.chat-login-foot { margin-top: 16px; text-align: center; font-size: 12.5px; color: var(--ink-3); }
.chat-login-foot a { color: var(--blue-deep); }

/* 首页 Hero 2026 视觉优化 */
.hero {
  background:
    radial-gradient(760px 420px at 6% -10%, rgba(77, 97, 252, .14), transparent 60%),
    radial-gradient(640px 360px at 104% 0%, rgba(122, 139, 255, .18), transparent 62%),
    radial-gradient(rgba(77, 97, 252, .085) 1px, transparent 1.4px) 0 0 / 26px 26px,
    linear-gradient(180deg, #F1F5FF 0%, #FAFBFF 58%, #FFFFFF 100%);
}
.hero-eyebrow {
  padding: 6px 12px;
  border-left: 0;
  border: 1px solid var(--blue-line);
  border-radius: 3px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 2px 8px rgba(31, 42, 140, .05);
}
.hero h1 { font-size: 48px; }
.hero-desc { max-width: 37em; }

.hero-stats {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(77, 97, 252, .12);
}
.hero-stat b {
  display: block;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--blue-deep);
  font-variant-numeric: tabular-nums;
}
.hero-stat span { display: block; margin-top: 2px; font-size: 12.5px; color: var(--ink-3); }
.hero-trust { margin-top: 16px; padding-top: 0; border-top: 0; }

.ask-quick {
  padding: 22px 22px 18px;
  border-radius: 3px;
}
.ask-quick-head { margin-bottom: 14px; }
.ask-quick-head > div { flex: 1; min-width: 0; }
.ask-quick-badge {
  flex: none;
  padding: 3px 9px;
  font-size: 11px;
  font-weight: 500;
  color: var(--green-deep);
  background: var(--green-soft);
  border: 1px solid var(--green-line);
  border-radius: 3px;
  white-space: nowrap;
}

#quickAskForm {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 12px;
}
#quickAskForm > * { grid-column: 1 / -1; }
#quickAskForm > .form-group:nth-child(2),
#quickAskForm > .form-group:nth-child(3) { grid-column: auto; }
.ask-quick .form-group { margin-bottom: 12px; }
.ask-quick .form-label { margin-bottom: 5px; }
.ask-quick .form-control { padding: 8px 11px; font-size: 13.5px; }
.ask-quick textarea.form-control { min-height: 64px; }
.ask-quick .btn { margin-top: 2px; }
.ask-quick-note { margin-top: 8px; }

@media (max-width: 980px) {
  .hero h1 { font-size: 38px; }
  .hero-stats { gap: 22px; }
  .ask-quick { max-width: 560px; }
}
@media (max-width: 600px) {
  .hero h1 { font-size: 30px; }
  .hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .hero-stat b { font-size: 20px; }
  .ask-quick { padding: 18px 16px 14px; }
  #quickAskForm { grid-template-columns: 1fr; }
  #quickAskForm > .form-group:nth-child(2),
  #quickAskForm > .form-group:nth-child(3) { grid-column: 1 / -1; }
}

/* 律师补充回答 */
.answer-supplement {
  margin-top: 14px;
  padding: 12px 14px;
  background: #F7F9FF;
  border-left: 3px solid var(--blue-line);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.answer-supplement-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
  font-size: 12px;
  color: var(--ink-3);
}
.answer-supplement-head span { font-weight: 600; color: var(--blue-deep); }
.answer-supplement-body { font-size: 14px; line-height: 1.8; color: var(--ink-2); }

/* 回复页：我的原回答与补充回答 */
.reply-own-answer {
  margin-top: 18px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.reply-own-answer h3 { font-size: 15px; margin-bottom: 8px; }
.reply-own-content { font-size: 14px; line-height: 1.9; color: var(--ink-2); }
.reply-own-supplements { margin-top: 4px; }

/* 个人中心：公开 / 一对一类型筛选 */
.myq-toolbar .myq-type-tabs {
  flex: 1 1 100%;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--line);
}
.myq-toolbar .myq-type-tabs button { font-weight: 500; }

/* 公开提问页 2026 视觉优化 */
.ask-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 30px;
  margin: 16px 0 24px;
  padding: 30px 34px;
  overflow: hidden;
  background:
    radial-gradient(380px 220px at 92% 8%, rgba(77, 97, 252, .12), transparent 70%),
    linear-gradient(115deg, #EDF2FF 0%, #F7F9FF 56%, #FFFFFF 100%);
  border: 1px solid #D8E0FF;
  border-radius: 3px;
  box-shadow: 0 18px 42px rgba(31, 42, 140, .08);
}
.ask-hero::after {
  content: "";
  position: absolute;
  right: -90px;
  top: -120px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 1px solid rgba(77, 97, 252, .12);
  pointer-events: none;
}
.ask-hero-copy { position: relative; z-index: 1; }
.ask-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  font-size: 12px;
  font-weight: 600;
  color: var(--blue-deep);
  background: rgba(255, 255, 255, .82);
  border: 1px solid var(--blue-line);
  border-radius: 3px;
}
.ask-eyebrow .icon { width: 14px; height: 14px; color: var(--blue); }
.ask-hero h1 { margin-top: 14px; font-size: 34px; line-height: 1.35; letter-spacing: -.01em; }
.ask-hero h1 em {
  font-style: normal;
  color: var(--blue);
  background: linear-gradient(180deg, transparent 66%, rgba(240, 217, 168, .62) 66%);
}
.ask-hero p { max-width: 46em; margin-top: 12px; font-size: 14.5px; line-height: 1.85; color: var(--ink-2); }
.ask-steps { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 18px; }
.ask-steps span { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--ink-2); }
.ask-steps b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 21px;
  height: 21px;
  font-size: 11px;
  color: #fff;
  background: var(--blue);
  border-radius: 50%;
}
.ask-hero-badges { position: relative; z-index: 1; display: grid; gap: 10px; min-width: 168px; }
.ask-hero-badges span {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  background: rgba(255, 255, 255, .84);
  border: 1px solid #DCE3FF;
  border-radius: 3px;
}
.ask-hero-badges .icon { width: 16px; height: 16px; color: var(--blue); }

.ask-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.ask-main { min-width: 0; }
.ask-main .form-card { max-width: none; margin: 0; padding: 28px 30px; }
.ask-main .form-title { font-size: 24px; }
.ask-main .form-desc { margin-bottom: 22px; }
.ask-warning { margin: 0 0 16px; }
.ask-form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ask-form-row .form-group { min-width: 0; }
.ask-main .form-agree {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--ink-3);
  background: #F8FAFF;
  border: 1px solid #E3E9FF;
  border-radius: 3px;
}
.ask-main .form-agree input { margin-top: 3px; flex: none; accent-color: var(--blue); }
.ask-main #askSubmit { min-height: 48px; font-size: 15.5px; box-shadow: 0 8px 20px rgba(77, 97, 252, .2); }
.ask-multi { margin-top: 16px; }
.ask-multi .alert { background: #fff; }

.ask-aside { display: grid; gap: 16px; position: sticky; top: 88px; }
.ask-side-card {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 3px;
  box-shadow: var(--shadow-s);
}
.ask-side-card h2 { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; font-size: 15.5px; line-height: 1.4; }
.ask-side-card h2 .icon { width: 17px; height: 17px; color: var(--blue); flex: none; }
.ask-tip-list { display: grid; gap: 12px; }
.ask-tip-list li { position: relative; padding-left: 13px; font-size: 13px; line-height: 1.75; color: var(--ink-2); }
.ask-tip-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
}
.ask-tip-list li b { display: block; margin-bottom: 2px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.ask-tip-list li span { color: var(--ink-3); }
.ask-tip-list.compact { gap: 9px; }
.ask-tip-list.compact li { padding-left: 16px; }
.ask-tip-list.compact li::before { top: 8px; width: 6px; height: 6px; background: var(--green); }
.ask-side-cta { background: linear-gradient(160deg, #F1F5FF 0%, #FFFFFF 100%); border-color: #D9E1FF; }
.ask-side-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 10px;
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: 3px;
}
.ask-side-icon .icon { width: 18px; height: 18px; }
.ask-side-cta h2 { font-size: 16px; }
.ask-side-cta p { margin-bottom: 14px; font-size: 13px; line-height: 1.75; color: var(--ink-3); }

@media (max-width: 980px) {
  .ask-hero { grid-template-columns: 1fr; gap: 20px; padding: 26px 24px; }
  .ask-hero h1 { font-size: 30px; }
  .ask-hero-badges { display: flex; flex-wrap: wrap; }
  .ask-hero-badges span { flex: 1 1 140px; }
  .ask-layout { grid-template-columns: 1fr; }
  .ask-aside { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ask-side-cta { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .ask-hero { padding: 22px 18px; border-radius: 3px; }
  .ask-hero h1 { font-size: 26px; }
  .ask-hero p { font-size: 13.5px; }
  .ask-steps { gap: 8px 16px; }
  .ask-form-row { grid-template-columns: 1fr; gap: 0; }
  .ask-main .form-card { padding: 22px 18px; }
  .ask-aside { grid-template-columns: 1fr; }
  .ask-side-cta { grid-column: auto; }
}

@media (max-width: 640px) {
  .ask-hero { padding: 20px 18px; gap: 16px; }
  .ask-hero h1 { font-size: 25px; }
  .ask-hero-badges { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .ask-hero-badges span {
    justify-content: center;
    min-width: 0;
    padding: 8px 6px;
    gap: 4px;
    font-size: 11.5px;
  }
  .ask-hero-badges .icon { width: 13px; height: 13px; }
}

/* 律师入驻页 2026 视觉优化 */
.join-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) 360px;
  align-items: center;
  gap: 36px;
  padding: 38px 40px;
  border-radius: 3px;
  background:
    radial-gradient(420px 240px at 95% -10%, rgba(255, 255, 255, .2), transparent 70%),
    radial-gradient(360px 220px at 0% 110%, rgba(240, 217, 168, .12), transparent 70%),
    linear-gradient(135deg, #2F41D8 0%, #4D61FC 56%, #6B7CFF 100%);
  box-shadow: 0 24px 56px rgba(31, 42, 140, .2);
}
.join-hero::after {
  right: -70px;
  top: -110px;
  width: 280px;
  height: 280px;
  border-color: rgba(255, 255, 255, .16);
}
.join-hero-copy { position: relative; z-index: 1; }
.join-hero h1 { font-size: 36px; line-height: 1.3; letter-spacing: -.01em; }
.join-hero h1 em { font-style: normal; color: #F0D9A8; }
.join-hero p { max-width: 560px; margin-top: 12px; font-size: 14.5px; line-height: 1.9; color: rgba(255, 255, 255, .8); }
.join-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.join-hero .btn-hero-primary {
  padding: 10px 20px;
  color: var(--blue-deep);
  background: #fff;
  border-color: #fff;
  box-shadow: 0 8px 20px rgba(9, 32, 64, .16);
}
.join-hero .btn-hero-primary:hover { background: #F4F6FF; }
.join-hero .btn-hero-ghost {
  padding: 10px 18px;
  color: #fff;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .32);
}
.join-hero .btn-hero-ghost:hover { background: rgba(255, 255, 255, .16); }

.join-hero-card {
  position: relative;
  z-index: 1;
  padding: 20px;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 3px;
  backdrop-filter: blur(8px);
}
.join-hero-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.join-hero-card-head b { font-size: 14px; font-weight: 600; color: #fff; }
.join-hero-card-head span { font-size: 11.5px; color: rgba(255, 255, 255, .66); }
.join-hero-steps { display: grid; gap: 11px; }
.join-hero-steps li { display: flex; align-items: center; gap: 10px; }
.join-hero-steps li > b {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  font-size: 10.5px;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 3px;
}
.join-hero-steps li > div { font-size: 13px; font-weight: 500; color: #fff; line-height: 1.4; }
.join-hero-steps li > div em { display: block; margin-top: 1px; font-size: 11.5px; font-style: normal; font-weight: 400; color: rgba(255, 255, 255, .62); }
.join-hero-people {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .18);
}
.join-hero-avatars { display: flex; padding-left: 4px; }
.join-hero-avatars img {
  width: 27px;
  height: 27px;
  margin-left: -7px;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, .9);
  border-radius: 50%;
}
.join-hero-avatars img:first-child { margin-left: 0; }
.join-hero-people p { font-size: 11.5px; color: rgba(255, 255, 255, .72); }
.join-hero-people p b { font-size: 13px; color: #fff; }

.join-grid { grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: 24px; }
.join-benefits { gap: 14px; }
.join-benefit { padding: 16px 18px; transition: border-color .18s var(--ease), box-shadow .18s var(--ease), transform .18s var(--ease); }
.join-benefit:hover { border-color: var(--blue-line); box-shadow: var(--shadow-s); transform: translateY(-1px); }
.join-benefit h3 { font-size: 15px; }
.join-benefit p { font-size: 12.8px; }
.join-faq .panel-body { padding: 4px 18px 14px; }
.join-faq-item + .join-faq-item { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); }
.join-faq-item b { display: block; font-size: 13.5px; color: var(--ink); }
.join-faq-item p { margin-top: 4px; font-size: 12.8px; line-height: 1.75; color: var(--ink-3); }

.join-form .form-card { padding: 28px 30px; border-color: #D8E0FF; box-shadow: 0 18px 44px rgba(31, 42, 140, .08); }
.join-form .form-title { font-size: 24px; }
.join-form .form-desc { margin-bottom: 18px; }
.join-form .alert-info { padding: 10px 12px; margin: 0 0 16px; font-size: 12.5px; line-height: 1.75; }
.join-form-section {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 4px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--line);
}
.join-form-section span { font-size: 10.5px; font-weight: 700; color: var(--blue); letter-spacing: .04em; }
.join-form-section b { font-size: 14.5px; color: var(--ink); }
.join-form-section em { margin-left: auto; font-size: 11.5px; font-style: normal; color: var(--ink-3); }
.join-form .form-group { margin-bottom: 16px; }
.join-form .form-row { gap: 14px; }
.join-form .form-label { font-size: 13.5px; margin-bottom: 6px; }
.join-form .form-control { padding: 9px 12px; font-size: 14px; }
.join-form #joinSubmit { min-height: 46px; margin-top: 2px; }
.join-note { max-width: 620px; margin-left: auto; margin-right: auto; }

@media (max-width: 980px) {
  .join-hero { grid-template-columns: 1fr; gap: 22px; padding: 30px 24px; }
  .join-hero h1 { font-size: 30px; }
  .join-hero-card { max-width: 520px; }
  .join-grid { grid-template-columns: 1fr; }
  .join-form .form-card { max-width: none; }
  .join-note { max-width: none; }
}
@media (max-width: 640px) {
  .join-hero { padding: 24px 18px; border-radius: 3px; }
  .join-hero h1 { font-size: 25px; }
  .join-hero p { font-size: 13px; }
  .join-hero-actions { flex-direction: column; align-items: stretch; }
  .join-hero-actions .btn { justify-content: center; }
  .join-form .form-card { padding: 22px 18px; }
  .join-form-section em { display: none; }
  .join-form .form-row { gap: 0; }
}

@media (max-width: 640px) {
  .join-hero { padding: 20px 18px; gap: 16px; }
  .join-hero h1 { font-size: 23px; }
  .join-hero p { margin-top: 8px; font-size: 12.5px; line-height: 1.75; }
  .join-hero-actions { flex-direction: row; gap: 8px; margin-top: 16px; }
  .join-hero-actions .btn { flex: 1; padding: 8px 10px; font-size: 12.5px; justify-content: center; }
  .join-hero-card { padding: 14px; }
  .join-hero-card-head { margin-bottom: 10px; }
  .join-hero-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .join-hero-steps li { gap: 7px; }
  .join-hero-steps li > b { width: 24px; height: 24px; font-size: 9.5px; }
  .join-hero-steps li > div { font-size: 12px; }
  .join-hero-steps li > div em { font-size: 10.5px; }
  .join-hero-people { margin-top: 10px; padding-top: 10px; }
  .join-hero-avatars img { width: 22px; height: 22px; }
}

/* 提问者补充提问 */
.question-supplement {
  margin-top: 14px;
  padding: 12px 14px;
  background: #FFFCF5;
  border-left: 3px solid #E2B96A;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.question-supplement-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
  font-size: 12px;
  color: var(--ink-3);
}
.question-supplement-head span { font-weight: 600; color: #8A6A1F; }
.question-supplement-body { font-size: 14px; line-height: 1.8; color: var(--ink-2); }
.question-supplement-actions { margin-top: 14px; }
.question-supplement-form {
  margin-top: 14px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.question-supplement-form textarea.form-control { min-height: 96px; }
.question-supplement-form-actions { display: flex; gap: 8px; margin-top: 10px; }

/* 律师回复规范提示 */
.reply-policy,
.answer-policy {
  background: #FFF8E8;
  border: 1px solid #F0D9A8;
  color: #7A4A13;
  font-size: 13px;
  line-height: 1.75;
}
.reply-policy { margin-top: 16px; }
.reply-policy b,
.answer-policy b { color: #AD3410; font-weight: 700; }

/* 律师资料：头像编辑 */
.lawyer-profile-head-main { min-width: 0; }
.lawyer-avatar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.lawyer-avatar-actions label.btn { cursor: pointer; }
.lawyer-avatar-actions #lpAvatarHint { font-size: 11.5px; color: var(--ink-3); }
.lawyer-avatar-actions #lpAvatarHint.is-error { color: var(--red); }

/* 个人中心退出登录确认 */
.logout-confirm-mask {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(9, 32, 64, .46);
  backdrop-filter: blur(2px);
}
.logout-confirm-dialog {
  width: min(380px, 100%);
  padding: 26px 24px 22px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 3px;
  box-shadow: 0 24px 60px rgba(9, 32, 64, .22);
}
.logout-confirm-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 10px;
  color: var(--red);
  background: #FFF1F0;
  border-radius: 50%;
}
.logout-confirm-icon .icon { width: 22px; height: 22px; }
.logout-confirm-dialog h2 { font-size: 20px; line-height: 1.4; }
.logout-confirm-dialog p { margin-top: 8px; font-size: 13.5px; line-height: 1.75; color: var(--ink-3); }
.logout-confirm-actions { display: flex; gap: 10px; margin-top: 20px; }
.logout-confirm-actions .btn { flex: 1; justify-content: center; }
.logout-confirm-btn {
  color: #fff;
  background: #C0392B;
  border-color: #C0392B;
}
.logout-confirm-btn:hover { background: #A93226; border-color: #A93226; }

/* 退出登录确认弹窗：与站点卡片风格统一 */
.logout-confirm-dialog {
  width: min(440px, 100%);
  padding: 0;
  overflow: hidden;
  text-align: left;
  background:
    radial-gradient(260px 150px at 100% 0%, rgba(77, 97, 252, .07), transparent 70%),
    #fff;
  border: 1px solid #DCE2F3;
  border-radius: 3px;
  box-shadow: 0 26px 70px rgba(9, 32, 64, .24), 0 2px 8px rgba(20, 28, 38, .05);
}
.logout-confirm-topline {
  height: 3px;
  background: linear-gradient(90deg, var(--blue) 0%, #7A8BFF 58%, var(--accent) 100%);
}
.logout-confirm-inner { padding: 24px 24px 20px; }
.logout-confirm-head { display: flex; align-items: center; gap: 12px; }
.logout-confirm-icon {
  flex: none;
  width: 42px;
  height: 42px;
  margin: 0;
  color: var(--blue);
  background: var(--blue-soft);
  border: 1px solid var(--blue-line);
  border-radius: 3px;
}
.logout-confirm-icon .icon { width: 20px; height: 20px; }
.logout-confirm-eyebrow {
  display: block;
  margin-bottom: 2px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--blue-deep);
}
.logout-confirm-dialog h2 { margin: 0; font-size: 20px; line-height: 1.35; color: var(--ink); }
.logout-confirm-account {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 10px 12px;
  background: #F7F9FF;
  border: 1px solid #E3E8F8;
  border-radius: 3px;
}
.logout-confirm-avatar {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(150deg, #7A8BFF 0%, #4D61FC 100%);
  border-radius: 3px;
}
.logout-confirm-account > div b { display: block; font-size: 13.5px; color: var(--ink); }
.logout-confirm-account > div span { display: block; margin-top: 2px; font-size: 11.5px; color: var(--ink-3); }
.logout-confirm-desc { margin-top: 14px; font-size: 13.5px; line-height: 1.75; color: var(--ink-2); }
.logout-confirm-note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-top: 14px;
  padding: 10px 12px;
  font-size: 12.3px;
  line-height: 1.7;
  color: var(--ink-3);
  background: #FBFCFE;
  border: 1px dashed #DDE3F2;
  border-radius: 3px;
}
.logout-confirm-note .icon { width: 14px; height: 14px; margin-top: 2px; color: var(--green); flex: none; }
.logout-confirm-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.logout-confirm-actions .btn { justify-content: center; min-height: 40px; }
.logout-confirm-btn { color: #fff; background: #C0392B; border-color: #C0392B; }
.logout-confirm-btn:hover { background: #A93226; border-color: #A93226; }

/* ---------------- 个人中心：会员端 / 律师端两套视觉 ---------------- */
body.account-member {
  background: linear-gradient(180deg, #F2F6FF 0%, #FAFBFF 300px, #FFFFFF 300px);
}
body.account-lawyer {
  background: linear-gradient(180deg, #EDF0F5 0%, #F7F8FA 300px, #FFFFFF 300px);
}
.account-member .section-head,
.account-lawyer .section-head {
  padding-bottom: 14px;
  border-bottom: 1px solid #E4E8F2;
}
.account-member .section-title::after,
.account-lawyer .section-title::after {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .08em;
  border: 1px solid transparent;
  border-radius: 3px;
  white-space: nowrap;
}
.account-member .section-title::after {
  content: "会员中心";
  color: var(--blue-deep);
  background: var(--blue-soft);
  border-color: var(--blue-line);
}
.account-lawyer .section-title::after {
  content: "律师工作台";
  color: #7A5B20;
  background: #FBF4E4;
  border-color: #E8D5A9;
}

/* 会员端：蓝白轻量 */
.account-member .center-user-card {
  background: linear-gradient(160deg, #FFFFFF 0%, #F3F7FF 100%);
  border-color: #DDE5F8;
}
.account-member .center-user-card::before {
  background: linear-gradient(90deg, var(--blue) 0%, #7A8BFF 58%, var(--accent) 100%);
}
.account-member .center-panel { border-top: 3px solid #4D61FC; }
.account-member .center-panel .panel-head {
  background: linear-gradient(180deg, #FBFCFF 0%, #F4F7FF 100%);
  border-bottom-color: #E8ECF8;
}
.account-member .center-panel .panel-head h2 .icon { color: var(--blue); }

/* 律师端：深蓝 + 金色工作台 */
.account-lawyer .center-user-card {
  background:
    radial-gradient(220px 150px at 100% 0%, rgba(201, 164, 92, .18), transparent 70%),
    linear-gradient(150deg, #7E3434 0%, #A13A3A 58%, #9A4040 100%);
  border-color: #354D6F;
  box-shadow: 0 12px 30px rgba(16, 28, 47, .18);
  color: #fff;
}
.account-lawyer .center-user-card::before {
  background: linear-gradient(90deg, #C9A45C 0%, #E9D5A4 50%, #C9A45C 100%);
}
.account-lawyer .center-user-card .profile-avatar {
  color: #4A2A2A;
  background: linear-gradient(150deg, #E3C98C 0%, #C9A45C 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 0 0 4px rgba(255,255,255,.06);
}
.account-lawyer .center-user-card .profile-name,
.account-lawyer .center-user-card .profile-name #profileName { color: #fff; }
.account-lawyer .center-user-card #profileBadge {
  color: #EBD8AA;
  background: rgba(201, 164, 92, .16);
  border: 1px solid rgba(201, 164, 92, .38);
}
.account-lawyer .center-user-card #profileBadge .icon { color: #E3C98C; }
.account-lawyer .center-user-card .profile-meta { color: rgba(255, 255, 255, .58); }
.account-lawyer .center-user-card .profile-meta .icon { color: rgba(201, 164, 92, .85); }
.account-lawyer .center-user-card .center-logout {
  color: rgba(255, 255, 255, .82);
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .2);
}
.account-lawyer .center-user-card .center-logout:hover {
  color: #fff;
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .34);
}

.account-lawyer .center-menu {
  border-top: 3px solid #C9A45C;
  border-color: #E5DED0;
}
.account-lawyer .center-menu a:hover {
  background: #FBF5E9;
  color: #6B4E1D;
}
.account-lawyer .center-menu a:hover .icon { color: #A98545; }
.account-lawyer .center-menu a.on {
  background: linear-gradient(135deg, #A13A3A 0%, #2F4E74 100%);
  box-shadow: 0 4px 12px rgba(22, 39, 62, .24);
}
.account-lawyer .center-menu a.on .icon { color: #E9D5A4; }
.account-lawyer .center-side-quick .panel-head h2 .icon { color: #A98545; }
.account-lawyer .center-side-quick .panel-head {
  background: linear-gradient(180deg, #FFFDF8 0%, #FBF5E9 100%);
}

.account-lawyer .center-panel {
  border-top: 3px solid #C9A45C;
  border-color: #E4DED2;
}
.account-lawyer .center-panel .panel-head {
  background: linear-gradient(180deg, #FFFDF8 0%, #FBF6EC 100%);
  border-bottom-color: #EFE6D5;
}
.account-lawyer .center-panel .panel-head h2 .icon { color: #A98545; }
.account-lawyer .section-more { color: #8A6A2F; }
.account-lawyer .section-more:hover { color: #6B4E1D; }
.account-lawyer .btn-primary {
  color: #4A2A2A;
  background: linear-gradient(180deg, #DEC48B 0%, #C9A45C 100%);
  border-color: #B08D4F;
  box-shadow: 0 4px 12px rgba(176, 141, 79, .2);
}
.account-lawyer .btn-primary:hover {
  color: #4A2A2A;
  background: linear-gradient(180deg, #E7D29F 0%, #D2AF68 100%);
  border-color: #A98545;
}
.account-lawyer .btn-ghost {
  color: #4F5C6E;
  border-color: #D8D2C6;
  background: #fff;
}
.account-lawyer .btn-ghost:hover { color: #6B4E1D; border-color: #C9A45C; background: #FBF6EC; }
.account-lawyer .myq-tabs button.on {
  background: linear-gradient(135deg, #A13A3A 0%, #2F4E74 100%);
  border-color: #A13A3A;
}
.account-lawyer .myq-toolbar {
  background: linear-gradient(180deg, #FFFDF8 0%, #FAF5EA 100%);
  border-bottom-color: #EFE6D5;
}
.account-lawyer .myq-toolbar .myq-type-tabs { border-bottom-color: #E9DFC9; }
.account-lawyer .myq-item:hover { background: #FFFDF8; }
.account-lawyer .myq-icon.is-pending {
  color: #8A6A2F;
  background: #FBF4E4;
}
.account-lawyer .myq-icon.is-answered {
  color: #2F6B4F;
  background: #EDF7F1;
}

/* 律师中心首屏深色化 */
.account-lawyer .lawyer-center-hero {
  background:
    radial-gradient(260px 160px at 100% 0%, rgba(201, 164, 92, .16), transparent 70%),
    linear-gradient(135deg, #8F3B3B 0%, #9A4040 100%);
  border-color: #354D6F;
  color: #fff;
}
.account-lawyer .lawyer-center-hero .lawyer-center-main h2 { color: #fff; }
.account-lawyer .lawyer-center-hero .lawyer-center-main p { color: rgba(255, 255, 255, .66); }
.account-lawyer .lawyer-center-hero .lawyer-tag {
  color: #E9D5A4;
  background: rgba(201, 164, 92, .12);
  border-color: rgba(201, 164, 92, .28);
}
.account-lawyer .lawyer-center-hero .badge-green {
  color: #E9D5A4;
  background: rgba(201, 164, 92, .14);
  border-color: rgba(201, 164, 92, .3);
}
.account-lawyer .lawyer-center-hero .btn-ghost {
  color: rgba(255, 255, 255, .82);
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .22);
}
.account-lawyer .lawyer-center-hero .btn-ghost:hover {
  color: #fff;
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .34);
}
.account-lawyer .lawyer-center-hero .btn-primary { color: #4A2A2A; }
.account-lawyer .lawyer-center-stat {
  background: #fff;
  border-color: #E5DED0;
}
.account-lawyer .lawyer-center-stat b { color: #A13A3A; }
.account-lawyer .lawyer-center-stat span { color: #8B8274; }

@media (max-width: 700px) {
  .section-title::after { font-size: 9.5px; padding: 2px 6px; }
}

/* ---------------- 律师端：红色工作台主题 ---------------- */
body.account-lawyer {
  background: linear-gradient(180deg, #FAF3F3 0%, #FDFBFB 300px, #FFFFFF 300px);
}
.account-lawyer .section-head { border-bottom-color: #F0DADA; }
.account-lawyer .section-title::after {
  color: #991B1B;
  background: #FEF2F2;
  border-color: #FCA5A5;
}
.account-lawyer .center-user-card {
  background:
    radial-gradient(220px 150px at 100% 0%, rgba(248, 113, 113, .2), transparent 70%),
    linear-gradient(150deg, #7E3434 0%, #8A3A3A 58%, #9A4040 100%);
  border-color: #6B2A2A;
  box-shadow: 0 12px 30px rgba(64, 18, 18, .2);
}
.account-lawyer .center-user-card::before {
  background: linear-gradient(90deg, #B91C1C 0%, #FCA5A5 50%, #B91C1C 100%);
}
.account-lawyer .center-user-card .profile-avatar {
  color: #fff;
  background: linear-gradient(150deg, #F87171 0%, #B91C1C 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 0 0 4px rgba(255,255,255,.06);
}
.account-lawyer .center-user-card #profileBadge {
  color: #FECACA;
  background: rgba(248, 113, 113, .14);
  border-color: rgba(248, 113, 113, .36);
}
.account-lawyer .center-user-card #profileBadge .icon { color: #FCA5A5; }
.account-lawyer .center-user-card .profile-meta { color: rgba(255, 255, 255, .58); }
.account-lawyer .center-user-card .profile-meta .icon { color: rgba(252, 165, 165, .9); }
.account-lawyer .center-user-card .center-logout {
  color: rgba(255, 255, 255, .84);
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .22);
}
.account-lawyer .center-user-card .center-logout:hover {
  color: #fff;
  background: rgba(255, 255, 255, .13);
  border-color: rgba(255, 255, 255, .36);
}

.account-lawyer .center-menu {
  border-top-color: #B91C1C;
  border-color: #EEDDDD;
}
.account-lawyer .center-menu a:hover { background: #FEF2F2; color: #991B1B; }
.account-lawyer .center-menu a:hover .icon { color: #B91C1C; }
.account-lawyer .center-menu a.on {
  background: linear-gradient(135deg, #A13A3A 0%, #B02A2A 100%);
  box-shadow: 0 4px 12px rgba(127, 29, 29, .24);
}
.account-lawyer .center-menu a.on .icon { color: #FECACA; }
.account-lawyer .center-side-quick .panel-head h2 .icon { color: #B91C1C; }
.account-lawyer .center-side-quick .panel-head {
  background: linear-gradient(180deg, #FFF8F8 0%, #FEF2F2 100%);
}

.account-lawyer .center-panel { border-top-color: #B91C1C; border-color: #EEDDDD; }
.account-lawyer .center-panel .panel-head {
  background: linear-gradient(180deg, #FFF8F8 0%, #FEF2F2 100%);
  border-bottom-color: #F3DADA;
}
.account-lawyer .center-panel .panel-head h2 .icon { color: #B91C1C; }
.account-lawyer .section-more { color: #991B1B; }
.account-lawyer .section-more:hover { color: #7F1D1D; }
.account-lawyer .btn-primary {
  color: #fff;
  background: linear-gradient(180deg, #DC2626 0%, #B91C1C 100%);
  border-color: #B91C1C;
  box-shadow: 0 4px 12px rgba(185, 28, 28, .2);
}
.account-lawyer .btn-primary:hover {
  color: #fff;
  background: linear-gradient(180deg, #B91C1C 0%, #991B1B 100%);
  border-color: #991B1B;
}
.account-lawyer .btn-ghost { color: #5B4A4A; border-color: #E4D6D6; background: #fff; }
.account-lawyer .btn-ghost:hover { color: #991B1B; border-color: #B91C1C; background: #FEF2F2; }
.account-lawyer .myq-tabs button.on {
  background: linear-gradient(135deg, #A13A3A 0%, #B02A2A 100%);
  border-color: #A13A3A;
}
.account-lawyer .myq-toolbar {
  background: linear-gradient(180deg, #FFF8F8 0%, #FEF2F2 100%);
  border-bottom-color: #F3DADA;
}
.account-lawyer .myq-toolbar .myq-type-tabs { border-bottom-color: #F3DADA; }
.account-lawyer .myq-item:hover { background: #FFFAFA; }
.account-lawyer .myq-icon.is-pending { color: #991B1B; background: #FEF2F2; }
.account-lawyer .myq-icon.is-answered { color: #2F6B4F; background: #EDF7F1; }

.account-lawyer .lawyer-center-hero {
  background:
    radial-gradient(260px 160px at 100% 0%, rgba(248, 113, 113, .18), transparent 70%),
    linear-gradient(135deg, #7E3434 0%, #8F3B3B 58%, #A34A4A 100%);
  border-color: #6B2A2A;
  color: #fff;
}
.account-lawyer .lawyer-center-hero .lawyer-center-main h2 { color: #fff; }
.account-lawyer .lawyer-center-hero .lawyer-center-main p { color: rgba(255, 255, 255, .66); }
.account-lawyer .lawyer-center-hero .lawyer-tag {
  color: #FECACA;
  background: rgba(248, 113, 113, .12);
  border-color: rgba(248, 113, 113, .28);
}
.account-lawyer .lawyer-center-hero .badge-green {
  color: #FECACA;
  background: rgba(248, 113, 113, .14);
  border-color: rgba(248, 113, 113, .3);
}
.account-lawyer .lawyer-center-hero .btn-ghost {
  color: rgba(255, 255, 255, .84);
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .24);
}
.account-lawyer .lawyer-center-hero .btn-ghost:hover {
  color: #fff;
  background: rgba(255, 255, 255, .13);
  border-color: rgba(255, 255, 255, .38);
}
.account-lawyer .lawyer-center-hero .btn-primary { color: #fff; }
.account-lawyer .lawyer-center-stat { background: #fff; border-color: #EEDDDD; }
.account-lawyer .lawyer-center-stat b { color: #991B1B; }
.account-lawyer .lawyer-center-stat span { color: #8B7A7A; }

.account-lawyer .section-title::before {
  background: #B91C1C;
  box-shadow: 0 0 14px rgba(185, 28, 28, .4);
}

/* 律师端红色主题：改为纯色，不使用红色渐变 */
.account-lawyer .center-user-card {
  background: #8A3A3A;
}
.account-lawyer .center-user-card::before {
  background: #B91C1C;
}
.account-lawyer .center-user-card .profile-avatar {
  background: #B91C1C;
}
.account-lawyer .center-menu a.on {
  background: #A13A3A;
}
.account-lawyer .center-side-quick .panel-head {
  background: #FEF2F2;
}
.account-lawyer .center-panel .panel-head {
  background: #FEF2F2;
}
.account-lawyer .btn-primary {
  background: #B91C1C;
}
.account-lawyer .btn-primary:hover {
  background: #991B1B;
}
.account-lawyer .myq-tabs button.on {
  background: #A13A3A;
}
.account-lawyer .myq-toolbar {
  background: #FEF2F2;
}
.account-lawyer .lawyer-center-hero {
  background: #8F3B3B;
}

.account-lawyer .badge-blue {
  color: #991B1B;
  background: #FEF2F2;
  border: 1px solid #FCA5A5;
}

/* 会员端蓝色主题：改为纯色，不使用蓝色渐变 */
body.account-member { background: #F7FAFF; }
.account-member .center-user-card { background: #FFFFFF; }
.account-member .center-user-card::before { background: #4D61FC; }
.account-member .center-user-card .profile-avatar { background: #4D61FC; }
.account-member .center-menu a.on { background: #4D61FC; }
.account-member .center-side-quick .panel-head { background: #F7F9FF; }
.account-member .center-panel .panel-head { background: #F7F9FF; }
.account-member .btn-primary { background: #4D61FC; }
.account-member .btn-primary:hover { background: #3B4DE0; }
.account-member .myq-tabs button.on { background: #4D61FC; }
.account-member .myq-toolbar { background: #F7F9FF; }
.account-member .overview-welcome { background: #F8FAFF; }

/* 律师端概览欢迎区也不再使用蓝色渐变 */
.account-lawyer .overview-welcome { background: #FFF8F8; border-color: #F3DADA; }

/* 律师详情页：深蓝资料头图 */
.lp-card {
  padding: 0;
  background: #fff;
  border-color: #DCE3F1;
  box-shadow: 0 18px 44px rgba(20, 28, 38, .08);
}
.lp-card::before {
  height: 3px;
  background: #4D61FC;
  opacity: 1;
}
.lp-body {
  padding: 26px;
  color: #fff;
  background: #4D61FC;
}
.lp-cover { z-index: 0; }
.lp-body { position: relative; z-index: 1; }
.lp-cover-mark { color: rgba(255, 255, 255, .06); }
.lp-photo {
  border: 3px solid rgba(255, 255, 255, .82);
  background: #7A8BFF;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .24);
}
.lp-photo-badge {
  color: #D6F5E5;
  background: rgba(47, 163, 107, .2);
  border-color: rgba(47, 163, 107, .38);
}
.lp-photo-badge .icon { color: #6EE7B7; }
.lp-eyebrow { color: #A9B8D6; }
.lp-eyebrow::before { background: #7A8BFF; }
.lp-name-line h1 { color: #fff; }
.lp-name-line .lawyer-verified {
  color: #DCE6FF;
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .2);
}
.lp-name-line .lawyer-verified .icon { color: #AFC2FF; }
.lp-role { color: rgba(255, 255, 255, .7); }
.lp-role .dot { color: rgba(255, 255, 255, .28); }
.lp-main .lawyer-meta { color: rgba(255, 255, 255, .62); }
.lp-main .lawyer-meta .m { border-right-color: rgba(255, 255, 255, .16); }
.lp-main .lawyer-meta .icon { color: #93A7C7; }
.lp-main .lawyer-tag {
  color: #DCE6FF;
  background: rgba(255, 255, 255, .09);
  border-color: rgba(255, 255, 255, .16);
}
.lp-actions .btn-primary {
  color: #4D61FC;
  background: #fff;
  border-color: #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .16);
}
.lp-actions .btn-primary:hover { color: #4D61FC; background: #EDF2FF; border-color: #EDF2FF; }
.lp-actions .btn-ghost {
  color: #fff;
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .3);
}
.lp-actions .btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, .13); border-color: rgba(255, 255, 255, .46); }
.lp-figure {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .14);
}
.lp-figure b { color: #fff; }
.lp-figure span { color: rgba(255, 255, 255, .6); }
.lp-quote {
  margin: 0;
  padding: 14px 26px;
  background: #F8FAFF;
  border: 0;
  border-top: 1px solid #E6EBF5;
  border-radius: 0;
}
.lp-quote::before { background: #B9C6FF; }

@media (max-width: 980px) {
  .lp-card { padding: 0; }
  .lp-body { padding: 20px; }
  .lp-quote { padding: 12px 20px; }
}
@media (max-width: 720px) {
  .lp-card { padding: 0; }
  .lp-body { padding: 16px; }
  .lp-quote { padding: 11px 16px; margin-top: 0; }
}

.lp-figures {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .14);
}
.lp-figure + .lp-figure { border-color: rgba(255, 255, 255, .14); }
@media (max-width: 980px) {
  .lp-figure + .lp-figure { border-left-color: rgba(255, 255, 255, .14); }
}

/* 首页推荐律师广告位 */
.section-lawyer-ads {
  padding-top: 46px;
  padding-bottom: 46px;
  background: #fff;
}
.lawyer-ad-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.lawyer-ad {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 226px;
  padding: 22px 22px 18px;
  overflow: hidden;
  border: 1px solid #DCE5FA;
  border-radius: var(--radius);
  background: #F8FAFF;
  color: var(--ink);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease), transform .18s var(--ease);
}
.lawyer-ad:hover {
  border-color: #B9C8EE;
  box-shadow: 0 12px 30px rgba(20, 38, 70, .1);
  transform: translateY(-1px);
}
.lawyer-ad-dark {
  background: #4D61FC;
  border-color: #7A8BFF;
  color: #fff;
}
.lawyer-ad-dark:hover { border-color: #3B4DE0; box-shadow: 0 14px 34px rgba(12, 26, 48, .2); }
.lawyer-ad::after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -72px;
  width: 180px;
  height: 180px;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: .08;
  pointer-events: none;
}
.lawyer-ad > * { position: relative; z-index: 1; }
.lawyer-ad-label {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 2;
  padding: 2px 6px;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: .06em;
  color: #8B97AC;
  background: rgba(255, 255, 255, .7);
  border: 1px solid #E2E8F5;
  border-radius: 3px;
}
.lawyer-ad-dark .lawyer-ad-label {
  color: rgba(255, 255, 255, .6);
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .16);
}
.lawyer-ad-main { display: flex; gap: 16px; align-items: flex-start; }
.lawyer-ad-photo-link { flex: none; display: block; }
.lawyer-ad-photo {
  display: block;
  width: 96px;
  height: 96px;
  object-fit: cover;
  border: 2px solid #fff;
  border-radius: var(--radius);
  background: #edf1f8;
  box-shadow: 0 4px 12px rgba(20, 38, 70, .12);
}
.lawyer-ad-dark .lawyer-ad-photo { border-color: rgba(255, 255, 255, .72); }
.lawyer-ad-info { flex: 1; min-width: 0; padding-right: 4px; }
.lawyer-ad-name { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.lawyer-ad-name a { font-size: 21px; font-weight: 700; line-height: 1.35; color: inherit; }
.lawyer-ad-name a:hover { color: var(--blue); }
.lawyer-ad-dark .lawyer-ad-name a:hover { color: #C9D7FF; }
.lawyer-ad-verified {
  padding: 1px 6px;
  font-size: 10px;
  color: #1F7A55;
  background: #EBF8F1;
  border: 1px solid #BFE8D2;
  border-radius: 3px;
  white-space: nowrap;
}
.lawyer-ad-dark .lawyer-ad-verified {
  color: #9FE3C2;
  background: rgba(47, 163, 107, .16);
  border-color: rgba(47, 163, 107, .3);
}
.lawyer-ad-firm { margin-top: 4px; font-size: 12.5px; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lawyer-ad-dark .lawyer-ad-firm { color: rgba(255, 255, 255, .62); }
.lawyer-ad-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 9px; }
.lawyer-ad-tag {
  padding: 2px 7px;
  font-size: 11px;
  color: var(--blue-deep);
  background: #EFF3FF;
  border: 1px solid #DCE5FF;
  border-radius: 3px;
}
.lawyer-ad-dark .lawyer-ad-tag {
  color: #D5E1FF;
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .15);
}
.lawyer-ad-quote {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 9px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ink-2);
}
.lawyer-ad-dark .lawyer-ad-quote { color: rgba(255, 255, 255, .72); }
.lawyer-ad-foot {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #E5EAF5;
}
.lawyer-ad-dark .lawyer-ad-foot { border-top-color: rgba(255, 255, 255, .12); }
.lawyer-ad-stat { font-size: 11.5px; color: var(--ink-3); }
.lawyer-ad-stat b { font-size: 15px; color: var(--ink); }
.lawyer-ad-dark .lawyer-ad-stat { color: rgba(255, 255, 255, .6); }
.lawyer-ad-dark .lawyer-ad-stat b { color: #fff; }
.lawyer-ad-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.lawyer-ad-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 13px;
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  background: #4D61FC;
  border: 1px solid #4D61FC;
  border-radius: 3px;
}
.lawyer-ad-cta:hover { color: #fff; background: #3F5F91; border-color: #3F5F91; }
.lawyer-ad-dark .lawyer-ad-cta { color: #4D61FC; background: #fff; border-color: #fff; }
.lawyer-ad-dark .lawyer-ad-cta:hover { color: #4D61FC; background: #EAF0FF; border-color: #EAF0FF; }
.lawyer-ad-more { font-size: 12px; color: var(--ink-3); }
.lawyer-ad-more:hover { color: var(--blue-deep); }
.lawyer-ad-dark .lawyer-ad-more { color: rgba(255, 255, 255, .7); }
.lawyer-ad-dark .lawyer-ad-more:hover { color: #fff; }

@media (max-width: 900px) {
  .lawyer-ad-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .section-lawyer-ads { padding-top: 34px; padding-bottom: 34px; }
  .lawyer-ad { padding: 18px 16px 16px; }
  .lawyer-ad-photo { width: 78px; height: 78px; }
  .lawyer-ad-name a { font-size: 19px; }
  .lawyer-ad-main { gap: 12px; }
  .lawyer-ad-label { top: 10px; right: 12px; }
  .lawyer-ad-actions { margin-left: 0; width: 100%; justify-content: flex-end; }
}

/* 律师资料页：放大头像 */
.lawyer-profile-head { gap: 16px; }
.lawyer-profile-head img {
  width: 100px;
  height: 100px;
  border: 3px solid #fff;
  box-shadow: 0 4px 14px rgba(9, 32, 64, .14);
}
.lawyer-profile-head b { font-size: 18px; }
@media (max-width: 600px) {
  .lawyer-profile-head img { width: 76px; height: 76px; }
}

/* 律师详情页：资料头图再优化（横向数据 + 水印） */
.lp-card { background: #4D61FC; }
.lp-body {
  grid-template-columns: 150px minmax(0, 1fr);
  grid-template-areas:
    "photo main"
    "figures figures";
  gap: 22px 28px;
  align-items: center;
  background: transparent;
}
.lp-photo-wrap { grid-area: photo; }
.lp-photo {
  width: 150px;
  height: 150px;
  border-width: 4px;
}
.lp-main { grid-area: main; padding-top: 0; }
.lp-name-line h1 { font-size: 30px; }
.lp-eyebrow { color: #A9B8D6; }
.lp-figures {
  grid-area: figures;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding: 16px 0 0;
  margin-top: 4px;
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, .15);
  border-radius: 0;
  overflow: visible;
}
.lp-figure {
  padding: 0 20px;
  background: transparent;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, .14);
  border-radius: 0;
}
.lp-figure:first-child { border-left: 0; padding-left: 0; }
.lp-figure b { font-size: 28px; color: #fff; }
.lp-figure span { margin-top: 2px; font-size: 11.5px; color: rgba(255, 255, 255, .58); }
.lp-figure + .lp-figure { border-top: 0; }
.lp-cover-mark { color: rgba(255, 255, 255, .07); }

@media (max-width: 980px) {
  .lp-body { grid-template-columns: 112px minmax(0, 1fr); gap: 18px; }
  .lp-photo { width: 112px; height: 112px; }
  .lp-name-line h1 { font-size: 25px; }
  .lp-figure b { font-size: 23px; }
  .lp-figure { padding: 0 12px; }
}
@media (max-width: 720px) {
  .lp-body {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 14px;
    padding: 16px;
  }
  .lp-photo { width: 88px; height: 88px; border-width: 3px; }
  .lp-name-line h1 { font-size: 22px; }
  .lp-figures { padding-top: 13px; margin-top: 0; }
  .lp-figure { padding: 0 8px; }
  .lp-figure b { font-size: 19px; }
  .lp-figure span { font-size: 10.5px; }
}

/* 列表页 / 智能问答：推荐律师 */
.reco-section { margin-bottom: 20px; }
.reco-lawyer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.reco-lawyer {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid #E2E7F2;
  border-radius: var(--radius);
  color: var(--ink);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease), transform .18s var(--ease);
}
.reco-lawyer:hover { border-color: #B9C8EE; box-shadow: var(--shadow-s); transform: translateY(-1px); color: var(--ink); }
.reco-lawyer-photo {
  flex: none;
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: var(--radius);
  background: #F1F4FA;
  border: 1px solid #E6EAF3;
}
.reco-lawyer-info { flex: 1; min-width: 0; }
.reco-lawyer-info b { display: block; font-size: 14px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reco-lawyer-info em { display: block; margin-top: 2px; font-size: 11.5px; font-style: normal; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reco-lawyer-info span { display: block; margin-top: 3px; font-size: 11px; color: var(--blue-deep); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reco-lawyer-link { flex: none; color: var(--ink-3); }
.reco-lawyer-link .icon { width: 14px; height: 14px; }
.reco-lawyer:hover .reco-lawyer-link { color: var(--blue-deep); }

.lawyer-reco-inline {
  padding: 0 0 18px;
  background: transparent;
  border: 0;
}
.lawyer-reco-inline .section-sub { margin-bottom: 14px; }

.reco-chat-panel .panel-head { padding: 14px 18px; }
.reco-chat-panel .panel-head h2 { font-size: 16px; }
.reco-chat-panel .panel-head .section-more { margin-left: auto; font-size: 11.5px; }
.reco-chat-panel .panel-body { padding: 10px 18px 12px; }
.reco-lawyer-list { display: grid; gap: 8px; }
.reco-lawyer-list .reco-lawyer { padding: 10px; gap: 10px; }
.reco-lawyer-list .reco-lawyer-photo { width: 54px; height: 54px; }
.reco-lawyer-list .reco-lawyer-info b { font-size: 13.5px; }
.reco-lawyer-list .reco-lawyer-info em { font-size: 10.8px; }
.reco-lawyer-list .reco-lawyer-info span { font-size: 10.8px; }

@media (max-width: 900px) {
  .reco-lawyer-grid { grid-template-columns: 1fr; }
}

/* 右侧栏：付费广告律师 + 积极律师 */
.side-ad-list { display: grid; gap: 8px; }
.side-ad-card {
  position: relative;
  display: block;
  padding: 12px 12px 10px;
  overflow: hidden;
  color: #fff;
  background: #4D61FC;
  border: 1px solid #7A8BFF;
  border-radius: var(--radius);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease), transform .18s var(--ease);
}
.side-ad-card:hover { color: #fff; border-color: #4A5F82; box-shadow: 0 8px 20px rgba(16, 32, 58, .16); transform: translateY(-1px); }
.side-ad-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 1px 5px;
  font-size: 9px;
  color: rgba(255, 255, 255, .7);
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 2px;
}
.side-ad-main { display: flex; align-items: center; gap: 10px; padding-right: 36px; }
.side-ad-photo {
  flex: none;
  width: 54px;
  height: 54px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: var(--radius);
  background: #7A8BFF;
}
.side-ad-info { min-width: 0; }
.side-ad-info b { display: block; font-size: 13.5px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-ad-info em { display: block; margin-top: 2px; font-size: 10.5px; font-style: normal; color: rgba(255, 255, 255, .62); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-ad-info span { display: block; margin-top: 3px; font-size: 10.5px; color: #B9C9E6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-ad-foot {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 9px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 10.5px;
  color: rgba(255, 255, 255, .56);
}
.side-ad-link { display: inline-flex; align-items: center; gap: 3px; color: #DCE6FF; }
.side-ad-link .icon { width: 11px; height: 11px; }



/* 积极律师：右侧栏内使用扁平列表，避免卡片套卡片 */
.reco-lawyer-list { gap: 0; }
.reco-lawyer-list .reco-lawyer {
  padding: 10px 2px;
  background: transparent;
  border: 0;
  border-bottom: 1px dashed #E6EBF5;
  border-radius: 0;
  box-shadow: none;
}
.reco-lawyer-list .reco-lawyer:last-child { border-bottom: 0; }
.reco-lawyer-list .reco-lawyer:hover {
  background: #F8FAFF;
  border-color: #E6EBF5;
  box-shadow: none;
  transform: none;
}

/* 智能问答：单列聊天 + 下方营销内容/热门提问 */
.chat-layout { display: block; }
.chat-layout .layout-main { width: 100%; max-width: 980px; margin: 0 auto; }
.chat-layout .chat-card { min-height: 600px; }

.chat-marketing {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 28px;
  margin-top: 20px;
  padding: 26px 28px;
  background: #F5F7FF;
  border: 1px solid #DDE5FA;
  border-radius: var(--radius);
}
.chat-marketing-eyebrow {
  display: block;
  margin-bottom: 7px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--blue-deep);
}
.chat-marketing h2 { font-size: 22px; line-height: 1.45; color: var(--ink); }
.chat-marketing p { margin-top: 9px; font-size: 13.5px; line-height: 1.85; color: var(--ink-3); }
.chat-marketing-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.chat-marketing-points { display: grid; align-content: center; gap: 14px; }
.chat-marketing-points > div { padding-left: 13px; border-left: 2px solid #4D61FC; }
.chat-marketing-points b { display: block; font-size: 14px; color: var(--ink); }
.chat-marketing-points span { display: block; margin-top: 3px; font-size: 12.5px; line-height: 1.7; color: var(--ink-3); }

.chat-hot { margin-top: 24px; }
.chat-hot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.chat-hot-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid #E2E7F2;
  border-radius: var(--radius);
  color: var(--ink);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease), transform .18s var(--ease);
}
.chat-hot-item:hover { color: var(--ink); border-color: #B9C8EE; box-shadow: var(--shadow-s); transform: translateY(-1px); }
.chat-hot-mark {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: var(--radius);
  background: #EEF2FF;
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 600;
}
.chat-hot-body { flex: 1; min-width: 0; }
.chat-hot-body b { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-hot-body em { display: block; margin-top: 3px; font-size: 11.5px; font-style: normal; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-hot-item > .icon { flex: none; width: 14px; height: 14px; color: var(--ink-3); }

@media (max-width: 900px) {
  .chat-marketing { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 720px) {
  .chat-layout .chat-card { min-height: 520px; }
  .chat-marketing { padding: 20px 16px; }
  .chat-marketing h2 { font-size: 19px; }
  .chat-hot-grid { grid-template-columns: 1fr; }
}

/* 有问必答右侧：白色推荐律师卡，取消深蓝底 */
.side-ad-card {
  color: var(--ink);
  background: #fff;
  border-color: #DCE4F5;
}
.side-ad-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #4D61FC;
}
.side-ad-card:hover {
  color: var(--ink);
  border-color: #B9C8EE;
  box-shadow: 0 6px 16px rgba(20, 38, 70, .07);
}
.side-ad-badge {
  color: var(--blue-deep);
  background: #EEF2FF;
  border-color: #D5DFFF;
}
.side-ad-photo {
  border-color: #E1E7F3;
  background: #F1F4FA;
}
.side-ad-info b { color: var(--ink); }
.side-ad-info em { color: var(--ink-3); }
.side-ad-info span { color: var(--blue-deep); }
.side-ad-foot {
  border-top-color: #EDF1F8;
  color: var(--ink-3);
}
.side-ad-link { color: var(--blue-deep); }
.side-ad-link .icon { color: var(--blue); }

/* 右侧两个模块内边距统一 */
.layout-aside .panel-body { padding: 12px 18px; }
.layout-aside .side-ad-list { gap: 10px; }

/* 律师详情页：白色资料面板 */
.lp-card {
  background: #fff;
  border-color: #E0E6F2;
  box-shadow: 0 14px 36px rgba(20, 28, 38, .07);
}
.lp-card::before { background: #4D61FC; opacity: 1; }
.lp-body {
  color: var(--ink);
  background: #FBFCFE;
}
.lp-cover-mark { color: rgba(77, 97, 252, .06); }
.lp-photo {
  border: 4px solid #fff;
  background: #EEF2FA;
  box-shadow: 0 6px 18px rgba(20, 38, 70, .12);
}
.lp-photo-badge {
  color: #1F7A55;
  background: #EBF8F1;
  border-color: #BFE8D2;
}
.lp-photo-badge .icon { color: #2FA36B; }
.lp-eyebrow { color: var(--blue-deep); }
.lp-eyebrow::before { background: var(--blue); }
.lp-name-line h1 { color: var(--ink); }
.lp-name-line .lawyer-verified {
  color: var(--blue-deep);
  background: #F2F5FF;
  border-color: #DCE5FF;
}
.lp-name-line .lawyer-verified .icon { color: var(--blue); }
.lp-role { color: var(--ink-2); }
.lp-role .dot { color: var(--line); }
.lp-main .lawyer-meta { color: var(--ink-3); }
.lp-main .lawyer-meta .m { border-right-color: #E8ECF5; }
.lp-main .lawyer-meta .icon { color: var(--ink-3); }
.lp-main .lawyer-tag {
  color: var(--blue-deep);
  background: #F3F6FF;
  border-color: #E0E7FF;
}
.lp-actions .btn-primary {
  color: #fff;
  background: #4D61FC;
  border-color: #4D61FC;
  box-shadow: 0 6px 14px rgba(77, 97, 252, .2);
}
.lp-actions .btn-primary:hover { color: #fff; background: #3B4DE0; border-color: #3B4DE0; }
.lp-actions .btn-ghost {
  color: var(--ink-2);
  background: #fff;
  border-color: #DDE4F2;
}
.lp-actions .btn-ghost:hover { color: var(--blue-deep); background: #F7F9FF; border-color: #B9C8EE; }
.lp-figures {
  background: transparent;
  border: 0;
  border-top: 1px solid #E7ECF7;
}
.lp-figure { border-left-color: #E7ECF7; }
.lp-figure b { color: var(--ink); }
.lp-figure span { color: var(--ink-3); }
.lp-figure + .lp-figure { border-color: #E7ECF7; }
@media (max-width: 980px) {
  .lp-figure + .lp-figure { border-left-color: #E7ECF7; }
}

/* 有问必答右侧：推荐律师改为扁平行，取消卡片套卡片 */
.side-ad-list { gap: 0; }
.side-ad-card {
  padding: 11px 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.side-ad-card + .side-ad-card { border-top: 1px dashed #E6EBF5; }
.side-ad-card::before { display: none; }
.side-ad-card:hover {
  background: #F8FAFF;
  border-color: transparent;
  box-shadow: none;
  transform: none;
}
.side-ad-badge { top: 11px; right: 0; }
.side-ad-main { padding-right: 0; }
.side-ad-foot {
  margin-top: 4px;
  padding-top: 0;
  border-top: 0;
}

/* 咨询范围总览：白色主调 */
.scope-index-hero {
  color: var(--ink);
  background: #F7F9FF;
  border: 1px solid #E1E7F4;
  box-shadow: 0 10px 26px rgba(20, 38, 70, .05);
}
.scope-index-hero::before { border-color: rgba(77, 97, 252, .16); }
.scope-index-hero::after { background: radial-gradient(circle, rgba(77, 97, 252, .08), rgba(77, 97, 252, 0) 68%); }
.scope-index-eyebrow { color: var(--blue-deep); }
.scope-index-hero h1 { color: var(--ink); }
.scope-index-hero p { color: var(--ink-3); }
.scope-index-link { color: var(--blue-deep); }
.scope-index-link:hover { color: var(--blue); }
.scope-index-stat {
  background: #fff;
  border-color: #E1E7F4;
}
.scope-index-stat b { color: var(--blue-deep); }
.scope-index-stat span { color: var(--ink-3); }
.scope-index-stat:nth-child(2) b { color: var(--blue-deep); }

.scope-grid { gap: 14px; }
.scope-card {
  padding: 18px;
  background: #fff;
  border-color: #E2E7F2;
  box-shadow: 0 1px 2px rgba(20, 28, 38, .025);
}
.scope-card:hover { border-color: #B9C8EE; box-shadow: 0 8px 22px rgba(20, 38, 70, .07); }
.scope-watermark { opacity: .035; }
.scope-icon { width: 44px; height: 44px; }
.scope-icon .icon { width: 21px; height: 21px; }
.scope-icon-blue {
  background: #EEF2FF;
  color: var(--blue);
  box-shadow: none;
}
.scope-card:hover .scope-icon-blue { background: #E3E9FF; color: var(--blue-deep); }
.scope-name { font-size: 17px; }
.scope-count { color: var(--blue-deep); background: #F4F7FF; border-color: #DFE7FF; }
.scope-summary { line-height: 1.75; }
.scope-chip { background: #F7F9FF; border-color: #E5EAF4; }
.scope-process { margin-top: 28px; }
.scope-step { padding: 18px; border-color: #E2E7F2; }
.scope-step .n { background: #EEF2FF; color: var(--blue-deep); }
.scope-foot-cta {
  color: var(--ink);
  background: #F7F9FF;
  border: 1px solid #E1E7F4;
  box-shadow: none;
}
.scope-foot-cta h2 { color: var(--ink); }
.scope-foot-cta p { color: var(--ink-3); }


/* 账号资料：修改手机号 */
.account-security + .account-security {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}
.account-phone-form {
  max-width: 420px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}
.account-phone-form .form-group { margin-bottom: 0; }
.account-phone-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.account-phone-form .form-done { color: var(--green); font-size: 12.5px; }

/* 资讯列表：一行一条 */
#newsList {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
#newsList > .news-item + .news-item { margin-top: 0; }

/* 首页/平台律师列表：推荐律师卡片改为白色主调 */
.lawyer-ad { border-top: 3px solid #4D61FC; }
.lawyer-ad-light {
  color: var(--ink);
  background: #fff;
  border-color: #E1E7F3;
}
.lawyer-ad-light:hover {
  border-color: #B9C8EE;
  box-shadow: 0 8px 22px rgba(20, 38, 70, .07);
}

/* 顶部账号下拉菜单 */
.user-menu-wrap { position: relative; display: inline-flex; align-items: center; }
.user-chip { font-family: inherit; }
.user-chip-name { white-space: nowrap; }
.user-caret {
  width: 0;
  height: 0;
  margin-left: 1px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: .5;
  transition: transform .18s var(--ease);
}
.user-chip[aria-expanded="true"] .user-caret { transform: rotate(180deg); }
.user-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 1200;
  width: 224px;
  padding: 6px;
  background: #fff;
  border: 1px solid #E1E7F3;
  border-radius: var(--radius);
  box-shadow: 0 14px 36px rgba(9, 32, 64, .14), 0 2px 6px rgba(9, 32, 64, .06);
}
.user-dropdown[hidden] { display: none; }
.user-dropdown-head {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 10px 11px;
  border-bottom: 1px solid #EDF1F8;
}
.user-dropdown-avatar {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius);
  background: #4D61FC;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}
.user-dropdown-head b { display: block; font-size: 13px; color: var(--ink); }
.user-dropdown-head > div span { display: block; margin-top: 2px; font-size: 11px; color: var(--ink-3); }
.user-dropdown-body { padding: 6px 0 4px; }
.user-dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 9px 10px;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: var(--ink-2);
  font-family: inherit;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
}
.user-dropdown-item:hover { color: var(--blue-deep); background: #F5F7FF; }
.user-dropdown-item .icon { width: 15px; height: 15px; color: var(--ink-3); }
.user-dropdown-item:hover .icon { color: var(--blue); }
.user-dropdown-foot { padding-top: 5px; border-top: 1px solid #EDF1F8; }
.user-dropdown-item.is-danger { color: #B3412F; }
.user-dropdown-item.is-danger .icon { color: #B3412F; }
.user-dropdown-item.is-danger:hover { color: #9B3127; background: #FFF3F1; }
@media (max-width: 600px) {
  .user-dropdown { width: 216px; right: -4px; }
}

/* UX 打磨：移动端筛选横向滚动，减少首屏占用 */
@media (max-width: 640px) {
  .filter-row { align-items: flex-start; }
  .filter-row .filter-opts {
    flex: 1;
    min-width: 0;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .filter-row .filter-opts::-webkit-scrollbar { display: none; }
  .filter-row .filter-opts > * {
    flex: none;
    white-space: nowrap;
  }
}

/* UX 打磨：智能问答热门提问不撑破移动端 */
.chat-hot-grid,
.chat-hot-item,
.chat-hot-body { min-width: 0; }
.chat-hot-body b,
.chat-hot-body em { max-width: 100%; }

/* UX 打磨：键盘焦点可见 */
:focus-visible {
  outline: 2px solid rgba(77, 97, 252, .65);
  outline-offset: 2px;
}

/* UX 打磨：主按钮统一纯色，和页面蓝色背景一致 */
.btn-primary {
  background: #4D61FC;
}
.btn-primary:hover {
  background: #3B4DE0;
}
.hero-search button,
.chat-send {
  background: #4D61FC;
}
.hero-search button:hover,
.chat-send:hover {
  background: #3B4DE0;
}
.user-chip .dot { background: #4D61FC; }
.chat-avatar { background: #4D61FC; }

/* 平台律师列表：移动端标题与操作按钮分行 */
@media (max-width: 640px) {
  .lawyer-list-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .lawyer-list-head > div {
    display: flex;
    width: 100%;
    gap: 8px;
  }
  .lawyer-list-head > div .btn {
    flex: 1;
    justify-content: center;
  }
}

/* UX 打磨：返回顶部 */
html { scroll-behavior: smooth; }
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 900;
  width: 40px;
  height: 40px;
  border: 1px solid #DDE4F2;
  border-radius: var(--radius);
  background: #fff;
  color: var(--blue-deep);
  font-family: inherit;
  font-size: 18px;
  line-height: 1;
  box-shadow: 0 6px 20px rgba(9, 32, 64, .12);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .18s var(--ease), visibility .18s var(--ease), transform .18s var(--ease), background .18s var(--ease);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: #F5F7FF; border-color: #B9C8EE; }

@media (max-width: 640px) {
  .back-to-top { right: 16px; bottom: 18px; width: 38px; height: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* 右侧栏：蓝色快速提问模块 */
.sidebar-ask {
  position: relative;
  overflow: hidden;
  padding: 22px 20px 18px;
  color: #fff;
  background: #4D61FC;
  border-radius: var(--radius);
  box-shadow: 0 8px 22px rgba(77, 97, 252, .18);
}
.sidebar-ask::after {
  content: "";
  position: absolute;
  right: -46px;
  top: -56px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  pointer-events: none;
}
.sidebar-ask > * { position: relative; z-index: 1; }
.sidebar-ask-eyebrow {
  display: block;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .12em;
  color: rgba(255, 255, 255, .76);
}
.sidebar-ask h2 {
  margin-top: 7px;
  font-size: 21px;
  line-height: 1.45;
  color: #fff;
}
.sidebar-ask p {
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.8;
  color: rgba(255, 255, 255, .8);
}
.sidebar-ask-points {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 11px;
}
.sidebar-ask-points span {
  padding: 2px 6px;
  font-size: 10px;
  color: rgba(255, 255, 255, .88);
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 2px;
}
.sidebar-ask-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  min-height: 38px;
  margin-top: 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: #3B4DE0;
  background: #fff;
  border: 1px solid #fff;
  border-radius: var(--radius);
  transition: background .18s var(--ease), border-color .18s var(--ease);
}
.sidebar-ask-btn:hover { color: #3B4DE0; background: #EAF0FF; border-color: #EAF0FF; }
.sidebar-ask-btn .icon { width: 15px; height: 15px; }
.sidebar-ask-more {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-top: 10px;
  font-size: 11.5px;
  color: rgba(255, 255, 255, .78);
}
.sidebar-ask-more:hover { color: #fff; }
.sidebar-ask-more .icon { width: 11px; height: 11px; }

/* 我的提问：操作按钮对齐与间距 */
.myq-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
  margin-top: 1px;
}
.myq-actions .btn {
  min-height: 32px;
  padding: 0 12px;
  white-space: nowrap;
  font-size: 12.5px;
}
.myq-actions .btn .icon { width: 13px; height: 13px; }

@media (max-width: 720px) {
  .myq-item { flex-wrap: wrap; }
  .myq-actions {
    display: flex;
    flex-basis: 100%;
    justify-content: flex-end;
    margin: 8px 0 0;
    padding-left: 46px;
  }
}


.user-dropdown-avatar {
  line-height: 1;
  padding: 0;
  text-align: center;
}

/* 搜索限制提示 */
.search-guard-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
  padding: 10px 14px;
  font-size: 12.5px;
  line-height: 1.6;
  color: #8A2F25;
  background: #FFF5F3;
  border: 1px solid #F0CFC9;
  border-radius: var(--radius);
}
.search-guard-notice strong { font-weight: 600; }
.search-guard-notice span { color: #9B4A3F; }

/* 搜索提示 toast */
.site-toast {
  position: fixed;
  left: 50%;
  top: 76px;
  z-index: 2000;
  max-width: min(420px, calc(100vw - 32px));
  padding: 11px 16px;
  color: #8A2F25;
  background: #fff;
  border: 1px solid #F0CFC9;
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(9, 32, 64, .14);
  font-size: 13px;
  line-height: 1.6;
  transform: translate(-50%, -6px);
  opacity: 0;
  transition: opacity .18s var(--ease), transform .18s var(--ease);
}
.site-toast.show { opacity: 1; transform: translate(-50%, 0); }

/* 首页 Banner 左下角品牌承诺 */
.hero-promise {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 18px;
  padding: 12px 15px;
  background: #F5F8FF;
  border: 1px solid #DCE5FA;
  border-left: 3px solid #4D61FC;
  border-radius: var(--radius);
}
.hero-promise-icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: var(--blue-deep);
  background: #E8EEFF;
  border-radius: var(--radius);
}
.hero-promise-icon .icon { width: 17px; height: 17px; }
.hero-promise-copy strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--blue-deep);
}
.hero-promise-copy span {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--ink-3);
}
@media (max-width: 720px) {
  .hero-promise { align-items: flex-start; margin-top: 14px; padding: 11px 12px; }
  .hero-promise-icon { width: 30px; height: 30px; }
  .hero-promise-copy strong { font-size: 14px; }
  .hero-promise-copy span { font-size: 11.5px; }
}

/* Banner 承诺标语：加强醒目度 */
.hero-promise {
  background: #4D61FC;
  border-color: #4D61FC;
  border-left-color: #3B4DE0;
  box-shadow: 0 6px 18px rgba(77, 97, 252, .18);
}
.hero-promise-icon {
  color: #fff;
  background: rgba(255, 255, 255, .16);
}
.hero-promise-copy strong {
  color: #fff;
  font-size: 15.5px;
}
.hero-promise-copy span {
  color: rgba(255, 255, 255, .82);
  font-size: 12.5px;
}
@media (max-width: 720px) {
  .hero-promise-copy strong { font-size: 14.5px; }
  .hero-promise-copy span { font-size: 11.5px; }
}

/* 法律工具库 */
.tools-page { padding: 0 0 64px; background: #F8FAFF; }
.tools-hero {
  margin: 4px 0 22px;
  padding: 30px 32px;
  background: #fff;
  border: 1px solid #E1E7F3;
  border-left: 4px solid #4D61FC;
  border-radius: var(--radius);
}
.tools-eyebrow { display: block; font-size: 11px; font-weight: 600; letter-spacing: .14em; color: var(--blue-deep); }
.tools-hero h1 { margin-top: 7px; font-size: 30px; color: var(--ink); }
.tools-hero p { max-width: 760px; margin-top: 8px; font-size: 13.5px; line-height: 1.85; color: var(--ink-3); }
.tools-hero-points { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 15px; }
.tools-hero-points span { padding: 4px 9px; font-size: 11.5px; color: var(--blue-deep); background: #F2F5FF; border: 1px solid #DDE5FF; border-radius: 2px; }
.tool-filter { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; font-size: 13px; color: var(--ink-2); }
.tool-filter span { font-weight: 600; color: var(--ink); }
.tool-filter em { font-size: 12px; font-style: normal; color: var(--ink-3); }
.tool-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.tool-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 17px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #E2E7F2;
  border-radius: var(--radius);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease), transform .18s var(--ease);
}
.tool-card:hover { color: var(--ink); border-color: #B9C8EE; box-shadow: 0 8px 20px rgba(20, 38, 70, .07); transform: translateY(-1px); }
.tool-card-icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--blue);
  background: #EEF2FF;
  border-radius: var(--radius);
}
.tool-card-icon .icon { width: 20px; height: 20px; }
.tool-card-body { min-width: 0; }
.tool-card-tag { display: inline-block; margin-bottom: 4px; font-size: 10.5px; color: var(--blue-deep); }
.tool-card-body strong { display: block; font-size: 14.5px; font-weight: 600; color: var(--ink); line-height: 1.45; }
.tool-card-body > span:not(.tool-card-tag) { display: block; margin-top: 5px; font-size: 12px; line-height: 1.7; color: var(--ink-3); }
.tool-card-body em { display: inline-flex; align-items: center; gap: 2px; margin-top: 9px; font-size: 11.5px; font-style: normal; color: var(--blue-deep); }
.tool-card-body em .icon { width: 11px; height: 11px; }
.tools-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 18px;
  padding: 12px 14px;
  color: var(--ink-3);
  background: #fff;
  border: 1px solid #E2E7F2;
  border-radius: var(--radius);
}
.tools-note .icon { flex: none; width: 15px; height: 15px; margin-top: 2px; color: var(--blue); }
.tools-note p { font-size: 12px; line-height: 1.75; }

.tool-page { padding: 0 0 64px; background: #F8FAFF; }
.tool-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.tool-panel { min-width: 0; padding: 26px; background: #fff; border: 1px solid #E1E7F3; border-radius: var(--radius); }
.tool-head { display: flex; align-items: flex-start; gap: 14px; padding-bottom: 20px; border-bottom: 1px solid #EDF1F8; }
.tool-head-icon { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; color: var(--blue); background: #EEF2FF; border-radius: var(--radius); }
.tool-head-icon .icon { width: 24px; height: 24px; }
.tool-kicker { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .12em; color: var(--blue-deep); }
.tool-head h1 { margin-top: 4px; font-size: 24px; line-height: 1.4; }
.tool-head p { margin-top: 5px; font-size: 13px; line-height: 1.75; color: var(--ink-3); }
.tool-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; padding-top: 20px; }
.tool-field { min-width: 0; }
.tool-field label { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.tool-field .form-control { height: 40px; padding: 8px 12px; font-size: 14px; }
.tool-form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-top: 20px; }
.tool-form-hint { margin-top: 10px; font-size: 11.5px; color: var(--ink-3); }
.tool-gate { padding: 38px 20px 30px; text-align: center; }
.tool-gate-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; color: var(--blue); background: #EEF2FF; border-radius: 50%; }
.tool-gate-icon .icon { width: 22px; height: 22px; }
.tool-gate h2 { margin-top: 12px; font-size: 20px; }
.tool-gate p { max-width: 390px; margin: 7px auto 0; font-size: 13px; line-height: 1.8; color: var(--ink-3); }
.tool-gate-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.tool-result { margin-top: 22px; padding: 18px; background: #F5F8FF; border: 1px solid #DDE5FA; border-radius: var(--radius); }
.tool-result-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--blue-deep); }
.tool-result-head a { font-size: 11.5px; color: var(--ink-3); }
.tool-result-value { margin-top: 7px; font-size: 32px; font-weight: 700; line-height: 1.25; color: var(--blue-deep); font-variant-numeric: tabular-nums; }
.tool-result-lines { display: grid; gap: 5px; margin-top: 10px; padding: 0; list-style: none; font-size: 12.5px; color: var(--ink-2); }
.tool-result-lines li::before { content: "·"; margin-right: 6px; color: var(--blue); }
.tool-result-note { margin-top: 12px; padding-top: 11px; border-top: 1px dashed #DDE5FA; font-size: 11.5px; line-height: 1.75; color: var(--ink-3); }
.tool-aside { display: grid; gap: 14px; }
.tool-side-card { padding: 16px 18px; background: #fff; border: 1px solid #E1E7F3; border-radius: var(--radius); }
.tool-side-card h2 { display: flex; align-items: center; gap: 7px; font-size: 14px; color: var(--ink); }
.tool-side-card h2 .icon { width: 15px; height: 15px; color: var(--blue); }
.tool-side-card p { margin-top: 8px; font-size: 12px; line-height: 1.8; color: var(--ink-3); }
.tool-side-cta { border-color: #DDE5FA; background: #F5F8FF; }
.tool-side-cta .btn { margin-top: 12px; }
.tool-more { margin-top: 28px; }
.tool-more-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tool-mini { display: flex; align-items: center; gap: 10px; padding: 11px 13px; color: var(--ink); background: #fff; border: 1px solid #E1E7F3; border-radius: var(--radius); }
.tool-mini:hover { color: var(--ink); border-color: #B9C8EE; }
.tool-mini-icon { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; color: var(--blue); background: #EEF2FF; border-radius: var(--radius); }
.tool-mini-icon .icon { width: 16px; height: 16px; }
.tool-mini > span:nth-child(2) { flex: 1; min-width: 0; }
.tool-mini b { display: block; font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tool-mini em { display: block; margin-top: 2px; font-size: 10.5px; font-style: normal; color: var(--ink-3); }
.tool-mini > .icon { width: 13px; height: 13px; color: var(--ink-3); }

@media (max-width: 980px) {
  .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tool-layout { grid-template-columns: 1fr; }
  .tool-aside { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .tools-page, .tool-page { padding-bottom: 44px; }
  .tools-hero { padding: 22px 18px; }
  .tools-hero h1 { font-size: 25px; }
  .tool-grid { grid-template-columns: 1fr; }
  .tool-panel { padding: 20px 16px; }
  .tool-fields { grid-template-columns: 1fr; }
  .tool-aside { grid-template-columns: 1fr; }
  .tool-more-grid { grid-template-columns: 1fr; }
  .tool-result-value { font-size: 27px; }
}

/* 便民工具库：统一并适当放大列表字体 */
.tools-page .tools-eyebrow { font-size: 12px; letter-spacing: .1em; }
.tools-page .tools-hero h1 { font-size: 32px; }
.tools-page .tools-hero p { font-size: 14.5px; line-height: 1.9; }
.tools-page .tools-hero-points span { padding: 5px 10px; font-size: 12.5px; }
.tools-page .tool-filter { font-size: 14px; }
.tools-page .tool-filter em { font-size: 12.5px; }
.tools-page .tool-card { padding: 18px; }
.tools-page .tool-card-icon { width: 42px; height: 42px; }
.tools-page .tool-card-icon .icon { width: 21px; height: 21px; }
.tools-page .tool-card-tag { font-size: 11.5px; }
.tools-page .tool-card-body strong { font-size: 15.5px; }
.tools-page .tool-card-body > span:not(.tool-card-tag) { margin-top: 6px; font-size: 13px; line-height: 1.8; }
.tools-page .tool-card-body em { margin-top: 10px; font-size: 12.5px; }
.tools-page .tools-note p { font-size: 13px; line-height: 1.8; }

@media (max-width: 720px) {
  .tools-page .tools-hero h1 { font-size: 27px; }
  .tools-page .tools-hero p { font-size: 13.5px; }
  .tools-page .tool-card-body strong { font-size: 15px; }
}

.tools-page .tool-card-tag { font-size: 12px; }
.tools-page .tool-card-body em { font-size: 13px; }

/* 民法典查询 */
.civil-page { padding: 0 0 64px; background: #F8FAFF; }
.codex-hero { margin: 4px 0 20px; padding: 28px 30px; background: #fff; border: 1px solid #E1E7F3; border-left: 4px solid #4D61FC; border-radius: var(--radius); }
.codex-hero h1 { margin-top: 6px; font-size: 30px; color: var(--ink); }
.codex-hero p { max-width: 820px; margin-top: 7px; font-size: 13.5px; line-height: 1.85; color: var(--ink-3); }
.codex-search { display: flex; align-items: center; gap: 8px; max-width: 680px; margin-top: 16px; padding: 5px 6px 5px 13px; background: #fff; border: 1px solid #DDE5F3; border-radius: var(--radius); }
.codex-search .icon { flex: none; width: 17px; height: 17px; color: var(--ink-3); }
.codex-search input { flex: 1; min-width: 0; height: 34px; padding: 0 4px; border: 0; outline: 0; background: transparent; font-family: inherit; font-size: 14px; color: var(--ink); }
.codex-search button { flex: none; height: 34px; padding: 0 18px; border: 0; border-radius: 2px; background: #4D61FC; color: #fff; font-family: inherit; font-size: 13px; cursor: pointer; }
.codex-search button:hover { background: #3B4DE0; }
.codex-quick { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 12px; font-size: 12px; color: var(--ink-3); }
.codex-quick button { padding: 4px 9px; border: 1px solid #E1E7F3; border-radius: 2px; background: #fff; color: var(--ink-2); font-family: inherit; font-size: 12px; cursor: pointer; }
.codex-quick button:hover { color: var(--blue-deep); border-color: #B9C8EE; background: #F7F9FF; }

.codex-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 18px; align-items: start; }
.codex-parts { position: sticky; top: 92px; padding: 14px; background: #fff; border: 1px solid #E1E7F3; border-radius: var(--radius); }
.codex-parts h2 { padding: 2px 4px 9px; font-size: 14px; color: var(--ink); }
.codex-parts button { display: flex; align-items: center; justify-content: space-between; gap: 6px; width: 100%; padding: 8px 9px; border: 0; border-radius: 2px; background: transparent; color: var(--ink-2); font-family: inherit; font-size: 12.5px; text-align: left; cursor: pointer; }
.codex-parts button:hover { color: var(--blue-deep); background: #F5F7FF; }
.codex-parts button.on { color: var(--blue-deep); background: #EEF2FF; font-weight: 600; }
.codex-parts button em { font-style: normal; font-size: 10.5px; color: var(--ink-3); }
.codex-parts button.on em { color: var(--blue); }
.codex-parts p { margin-top: 10px; padding: 9px 4px 0; border-top: 1px solid #EDF1F8; font-size: 10.5px; line-height: 1.7; color: var(--ink-3); }
.codex-results { min-width: 0; }
.codex-result-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; padding: 0 2px; }
.codex-result-head strong { font-size: 14px; color: var(--ink); }
.codex-result-head span { font-size: 11.5px; color: var(--ink-3); }
.codex-list { display: grid; gap: 10px; }
.codex-article { padding: 16px 18px; background: #fff; border: 1px solid #E1E7F3; border-radius: var(--radius); }
.codex-article-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 7px; }
.codex-article-head h2 { font-size: 14.5px; color: var(--blue-deep); }
.codex-copy { padding: 3px 8px; border: 1px solid #E1E7F3; border-radius: 2px; background: #fff; color: var(--ink-3); font-family: inherit; font-size: 11px; cursor: pointer; }
.codex-copy:hover { color: var(--blue-deep); border-color: #B9C8EE; background: #F7F9FF; }
.codex-article-text { font-size: 13.5px; line-height: 1.95; color: var(--ink-2); word-break: break-word; }
.codex-article-text mark { padding: 0 1px; background: #FFF0BF; color: #7A5B00; }
.codex-empty { padding: 42px 20px; text-align: center; font-size: 13px; color: var(--ink-3); background: #fff; border: 1px solid #E1E7F3; border-radius: var(--radius); }

@media (max-width: 900px) {
  .codex-layout { grid-template-columns: 1fr; }
  .codex-parts { position: static; display: flex; flex-wrap: wrap; gap: 5px; }
  .codex-parts h2 { width: 100%; padding-bottom: 4px; }
  .codex-parts button { width: auto; }
  .codex-parts p { width: 100%; margin-top: 4px; }
}
@media (max-width: 640px) {
  .codex-hero { padding: 20px 16px; }
  .codex-hero h1 { font-size: 26px; }
  .codex-search { padding-left: 10px; }
  .codex-search button { padding: 0 13px; }
  .codex-article { padding: 14px; }
  .codex-article-text { font-size: 13px; }
}

.codex-more { padding: 14px 0 2px; text-align: center; }
.codex-more button { min-width: 160px; height: 36px; padding: 0 18px; border: 1px solid #DDE5F3; border-radius: var(--radius); background: #fff; color: var(--blue-deep); font-family: inherit; font-size: 12.5px; cursor: pointer; }
.codex-more button:hover { border-color: #B9C8EE; background: #F7F9FF; }

/* 找律师指南 */
.guide-page { background: #F8FAFF; }
.guide-main { padding: 0 0 64px; }
.guide-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 26px;
  align-items: center;
  margin: 4px 0 18px;
  padding: 34px 34px 30px;
  background: #fff;
  border: 1px solid #E1E7F3;
  border-left: 4px solid #4D61FC;
  border-radius: var(--radius);
}
.guide-eyebrow { display: inline-block; font-size: 11.5px; font-weight: 600; letter-spacing: .14em; color: var(--blue-deep); }
.guide-hero h1 { margin-top: 8px; font-size: 34px; line-height: 1.35; color: var(--ink); }
.guide-hero p { max-width: 600px; margin-top: 10px; font-size: 14px; line-height: 1.9; color: var(--ink-3); }
.guide-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.guide-hero-points { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 15px; }
.guide-hero-points span { padding: 4px 9px; font-size: 11.5px; color: var(--blue-deep); background: #F2F5FF; border: 1px solid #DDE5FF; border-radius: 2px; }
.guide-hero-art { min-width: 0; }
.guide-hero-art svg { display: block; width: 100%; height: auto; max-height: 300px; }

.guide-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 30px; }
.guide-stats > div { padding: 14px 16px; background: #fff; border: 1px solid #E1E7F3; border-radius: var(--radius); text-align: center; }
.guide-stats b { display: block; font-size: 24px; line-height: 1.2; color: var(--blue-deep); font-variant-numeric: tabular-nums; }
.guide-stats span { display: block; margin-top: 2px; font-size: 11.5px; color: var(--ink-3); }

.guide-section { margin-top: 34px; }
.guide-section-head { max-width: 760px; margin-bottom: 16px; }
.guide-kicker { display: block; margin-bottom: 5px; font-size: 10.5px; font-weight: 600; letter-spacing: .13em; color: var(--blue-deep); text-transform: uppercase; }
.guide-section-head h2, .guide-section-copy h2, .guide-payment h2, .guide-checklist h2, .guide-final h2 { font-size: 23px; line-height: 1.45; color: var(--ink); }
.guide-section-head p, .guide-section-copy > p { margin-top: 7px; font-size: 13.5px; line-height: 1.85; color: var(--ink-3); }

.guide-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.guide-mini-card { padding: 18px; background: #fff; border: 1px solid #E2E7F2; border-radius: var(--radius); }
.guide-icon { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; margin-bottom: 10px; color: var(--blue); background: #EEF2FF; border-radius: var(--radius); }
.guide-icon .icon { width: 19px; height: 19px; }
.guide-mini-card h3 { font-size: 14.5px; color: var(--ink); }
.guide-mini-card p { margin-top: 6px; font-size: 12.5px; line-height: 1.8; color: var(--ink-3); }

.guide-four { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.guide-channel { padding: 16px; background: #fff; border: 1px solid #E2E7F2; border-radius: var(--radius); }
.guide-channel > span { display: inline-flex; align-items: center; justify-content: center; width: 25px; height: 25px; margin-bottom: 8px; font-size: 11px; font-weight: 600; color: var(--blue-deep); background: #EEF2FF; border-radius: 2px; }
.guide-channel h3 { font-size: 13.5px; color: var(--ink); line-height: 1.5; }
.guide-channel p { margin-top: 5px; font-size: 11.8px; line-height: 1.75; color: var(--ink-3); }
.guide-alert { display: flex; gap: 10px; margin-top: 12px; padding: 13px 15px; background: #FFF5F3; border: 1px solid #F0CFC9; border-radius: var(--radius); }
.guide-alert > .icon { flex: none; width: 18px; height: 18px; margin-top: 2px; color: #B3412F; }
.guide-alert b { font-size: 13px; color: #8A2F25; }
.guide-alert p { margin-top: 3px; font-size: 12.5px; line-height: 1.75; color: #9B4A3F; }

.guide-split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 26px; align-items: center; }
.guide-split-reverse { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
.guide-section-copy .guide-check-list { margin-top: 16px; }
.guide-check-list { display: grid; gap: 9px; }
.guide-check-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 12.8px; line-height: 1.75; color: var(--ink-2); }
.guide-check-list .icon { flex: none; width: 16px; height: 16px; margin-top: 3px; color: var(--green); }
.guide-check-list b { color: var(--ink); }

.guide-certificate { padding: 20px; background: #fff; border: 1px solid #DDE5F3; border-radius: var(--radius); box-shadow: 0 10px 24px rgba(20, 38, 70, .06); }
.guide-certificate-top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 11px; border-bottom: 1px solid #EDF1F8; font-size: 11.5px; color: var(--ink-3); }
.guide-verified { padding: 2px 6px; font-size: 10px; color: #1F7A55; background: #EBF8F1; border: 1px solid #BFE8D2; border-radius: 2px; }
.guide-certificate-person { display: flex; align-items: center; gap: 10px; padding: 14px 0; }
.guide-certificate-avatar { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: #fff; background: #4D61FC; border-radius: var(--radius); font-size: 18px; font-weight: 600; }
.guide-certificate-person b { display: block; font-size: 15px; color: var(--ink); }
.guide-certificate-person span:not(.guide-certificate-avatar) { display: block; margin-top: 2px; font-size: 11.5px; color: var(--ink-3); }
.guide-certificate dl { display: grid; gap: 7px; margin: 0; padding: 12px 0; border-top: 1px dashed #E7ECF5; border-bottom: 1px dashed #E7ECF5; }
.guide-certificate dl div { display: flex; justify-content: space-between; gap: 12px; font-size: 11.8px; }
.guide-certificate dt { color: var(--ink-3); }
.guide-certificate dd { margin: 0; color: var(--ink-2); }
.guide-certificate-foot { display: flex; align-items: center; gap: 5px; padding-top: 10px; font-size: 10.5px; color: var(--ink-3); }
.guide-certificate-foot .icon { width: 12px; height: 12px; color: var(--blue); }

.guide-six { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.guide-six > div { padding: 16px; background: #fff; border: 1px solid #E2E7F2; border-radius: var(--radius); }
.guide-six > div > span { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; margin-bottom: 8px; font-size: 10.5px; font-weight: 700; color: var(--blue-deep); background: #EEF2FF; border-radius: 2px; }
.guide-six b { display: block; font-size: 13.5px; color: var(--ink); line-height: 1.55; }
.guide-six p { margin-top: 5px; font-size: 11.8px; line-height: 1.75; color: var(--ink-3); }

.guide-contract { padding: 20px; background: #fff; border: 1px solid #DDE5F3; border-radius: var(--radius); box-shadow: 0 10px 24px rgba(20, 38, 70, .06); }
.guide-contract-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid #EDF1F8; font-size: 14px; font-weight: 600; color: var(--ink); }
.guide-contract-title span { font-size: 10px; font-weight: 500; color: var(--blue-deep); }
.guide-contract-line { display: flex; align-items: center; gap: 8px; padding: 10px 0; border-bottom: 1px dashed #EDF1F8; font-size: 12px; color: var(--ink-2); }
.guide-contract-line span { display: inline-flex; align-items: center; justify-content: center; width: 21px; height: 21px; color: var(--blue-deep); background: #F0F4FF; border-radius: 2px; font-size: 9.5px; }
.guide-contract-stamp { margin-top: 13px; padding: 7px; text-align: center; font-size: 11px; color: #8A2F25; background: #FFF5F3; border: 1px dashed #F0CFC9; border-radius: 2px; }

.guide-payment { display: flex; align-items: center; gap: 16px; padding: 20px 22px; background: #F5F8FF; border: 1px solid #DDE5FA; border-radius: var(--radius); }
.guide-payment-icon { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--blue); background: #fff; border-radius: var(--radius); }
.guide-payment-icon .icon { width: 21px; height: 21px; }
.guide-payment h2 { font-size: 19px; }
.guide-payment p { max-width: 760px; margin-top: 5px; font-size: 12.5px; line-height: 1.8; color: var(--ink-3); }
.guide-payment .btn { flex: none; margin-left: auto; }

.guide-risk-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.guide-risk-grid > div { padding: 16px; background: #fff; border: 1px solid #F0D8D3; border-radius: var(--radius); }
.guide-risk-grid > div > span { display: inline-block; padding: 2px 6px; font-size: 10px; color: #A33A2C; background: #FFF2EF; border: 1px solid #F3D4CD; border-radius: 2px; }
.guide-risk-grid h3 { margin-top: 7px; font-size: 13.5px; line-height: 1.55; color: #8A2F25; }
.guide-risk-grid p { margin-top: 5px; font-size: 11.8px; line-height: 1.75; color: #9B4A3F; }

.guide-rights { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 22px; align-items: start; }
.guide-rights-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.guide-rights-grid > * { display: block; padding: 14px; color: var(--ink); background: #fff; border: 1px solid #E2E7F2; border-radius: var(--radius); }
.guide-rights-grid > *:hover { color: var(--ink); border-color: #B9C8EE; }
.guide-rights-grid b { display: block; margin-bottom: 5px; font-size: 11px; color: var(--blue); }
.guide-rights-grid span { display: block; font-size: 13px; font-weight: 600; color: var(--ink); }
.guide-rights-grid small { display: block; margin-top: 4px; font-size: 11.5px; line-height: 1.7; color: var(--ink-3); }

.guide-checklist { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 24px; padding: 24px; background: #fff; border: 1px solid #E1E7F3; border-radius: var(--radius); }
.guide-checklist p { margin-top: 6px; font-size: 12.5px; line-height: 1.8; color: var(--ink-3); }
.guide-checklist ul { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; margin: 0; padding: 0; list-style: none; }
.guide-checklist li { display: flex; align-items: flex-start; gap: 7px; font-size: 12.5px; line-height: 1.7; color: var(--ink-2); }
.guide-checklist li > span { flex: none; width: 13px; height: 13px; margin-top: 3px; border: 1px solid #B9C8EE; border-radius: 2px; background: #F7F9FF; }

.guide-lawyer-strip { display: flex; align-items: center; gap: 14px; margin-top: 30px; padding: 16px 18px; background: #fff; border: 1px solid #E1E7F3; border-radius: var(--radius); }
.guide-lawyer-photos { display: flex; flex: none; padding-left: 7px; }
.guide-lawyer-photos img { width: 34px; height: 34px; margin-left: -7px; object-fit: cover; border: 2px solid #fff; border-radius: var(--radius); background: #EEF2FA; }
.guide-lawyer-strip > div:nth-child(2) { flex: 1; min-width: 0; }
.guide-lawyer-strip b { display: block; font-size: 13.5px; color: var(--ink); }
.guide-lawyer-strip span { display: block; margin-top: 3px; font-size: 11.5px; color: var(--ink-3); }
.guide-lawyer-strip .btn { flex: none; }

.guide-final { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 18px; padding: 24px 26px; background: #F5F8FF; border: 1px solid #DDE5FA; border-radius: var(--radius); }
.guide-final h2 { font-size: 22px; }
.guide-final p { margin-top: 5px; font-size: 12.5px; color: var(--ink-3); }
.guide-final-actions { display: flex; gap: 9px; flex-wrap: wrap; }

@media (max-width: 980px) {
  .guide-hero { grid-template-columns: 1fr; }
  .guide-hero-art { max-width: 440px; margin: 0 auto; }
  .guide-four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-six, .guide-risk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-split, .guide-split-reverse, .guide-rights, .guide-checklist { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .guide-hero { padding: 22px 18px; }
  .guide-hero h1 { font-size: 27px; }
  .guide-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-three, .guide-four, .guide-six, .guide-risk-grid, .guide-rights-grid, .guide-checklist ul { grid-template-columns: 1fr; }
  .guide-section-head h2, .guide-section-copy h2, .guide-payment h2, .guide-checklist h2, .guide-final h2 { font-size: 20px; }
  .guide-payment { align-items: flex-start; flex-wrap: wrap; }
  .guide-payment .btn { margin-left: 0; }
  .guide-lawyer-strip { align-items: flex-start; flex-wrap: wrap; }
  .guide-lawyer-strip .btn { width: 100%; justify-content: center; }
  .guide-final-actions { width: 100%; }
  .guide-final-actions .btn { flex: 1; justify-content: center; }
}

/* 工具库底部：找律师指南入口 */
.guide-promo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  padding: 16px 18px;
  color: var(--ink);
  background: #F5F8FF;
  border: 1px solid #DDE5FA;
  border-radius: var(--radius);
}
.guide-promo:hover { color: var(--ink); border-color: #B9C8EE; box-shadow: var(--shadow-s); }
.guide-promo-icon { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; color: var(--blue); background: #fff; border-radius: var(--radius); }
.guide-promo-icon .icon { width: 21px; height: 21px; }
.guide-promo-copy { flex: 1; min-width: 0; }
.guide-promo-copy em { display: block; font-style: normal; font-size: 10.5px; font-weight: 600; letter-spacing: .1em; color: var(--blue-deep); }
.guide-promo-copy b { display: block; margin-top: 2px; font-size: 15px; color: var(--ink); }
.guide-promo-copy span { display: block; margin-top: 3px; font-size: 12px; line-height: 1.7; color: var(--ink-3); }
.guide-promo-link { flex: none; display: inline-flex; align-items: center; gap: 3px; font-size: 12.5px; font-weight: 600; color: var(--blue-deep); }
.guide-promo-link .icon { width: 12px; height: 12px; }
@media (max-width: 720px) {
  .guide-promo { align-items: flex-start; flex-wrap: wrap; }
  .guide-promo-copy { flex-basis: calc(100% - 56px); }
  .guide-promo-link { width: 100%; justify-content: flex-end; }
}

/* 找律师指南：快速导航 */
.guide-toc {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: -8px 0 18px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid #E1E7F3;
  border-radius: var(--radius);
}
.guide-toc > span { margin-right: 4px; font-size: 11.5px; font-weight: 600; color: var(--ink-3); }
.guide-toc a { padding: 4px 8px; font-size: 12px; color: var(--ink-2); border-radius: 2px; }
.guide-toc a:hover { color: var(--blue-deep); background: #F2F5FF; }
@media (max-width: 720px) {
  .guide-toc { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .guide-toc::-webkit-scrollbar { display: none; }
  .guide-toc > span, .guide-toc a { flex: none; white-space: nowrap; }
}

.codex-parts p a { color: var(--blue-deep); }
.codex-parts p a:hover { color: var(--blue); text-decoration: underline; }

/* 指南与工具库：统一放大正文，提升可读性 */
.guide-page .guide-eyebrow { font-size: 12.5px; }
.guide-page .guide-hero h1 { font-size: 36px; }
.guide-page .guide-hero p { font-size: 15px; line-height: 1.9; }
.guide-page .guide-hero-points span { font-size: 12.5px; padding: 5px 10px; }
.guide-page .guide-stats b { font-size: 27px; }
.guide-page .guide-stats span { font-size: 12.5px; }
.guide-page .guide-kicker { font-size: 11.5px; }
.guide-page .guide-section-head h2,
.guide-page .guide-section-copy h2,
.guide-page .guide-payment h2,
.guide-page .guide-checklist h2,
.guide-page .guide-final h2 { font-size: 24px; }
.guide-page .guide-section-head p,
.guide-page .guide-section-copy > p { font-size: 14.5px; line-height: 1.85; }
.guide-page .guide-mini-card h3 { font-size: 15px; }
.guide-page .guide-mini-card p { font-size: 13.5px; line-height: 1.8; }
.guide-page .guide-channel h3 { font-size: 14.5px; }
.guide-page .guide-channel p { font-size: 13px; line-height: 1.8; }
.guide-page .guide-channel > span { width: 27px; height: 27px; font-size: 12px; }
.guide-page .guide-alert b { font-size: 14px; }
.guide-page .guide-alert p { font-size: 13.5px; line-height: 1.8; }
.guide-page .guide-check-list li { font-size: 13.8px; line-height: 1.8; }
.guide-page .guide-certificate-top { font-size: 12.5px; }
.guide-page .guide-certificate-person b { font-size: 16px; }
.guide-page .guide-certificate-person span:not(.guide-certificate-avatar) { font-size: 12.5px; }
.guide-page .guide-certificate dl div { font-size: 12.8px; }
.guide-page .guide-certificate-foot { font-size: 11.5px; }
.guide-page .guide-six b { font-size: 14.5px; }
.guide-page .guide-six p { font-size: 13px; line-height: 1.8; }
.guide-page .guide-contract-title { font-size: 15px; }
.guide-page .guide-contract-line { font-size: 13px; }
.guide-page .guide-payment p { font-size: 13.5px; line-height: 1.8; }
.guide-page .guide-risk-grid h3 { font-size: 14.5px; }
.guide-page .guide-risk-grid p { font-size: 13px; line-height: 1.8; }
.guide-page .guide-risk-grid > div > span { font-size: 11px; }
.guide-page .guide-rights-grid span { font-size: 14px; }
.guide-page .guide-rights-grid small { font-size: 12.5px; line-height: 1.75; }
.guide-page .guide-checklist p { font-size: 13.5px; }
.guide-page .guide-checklist li { font-size: 13.5px; line-height: 1.75; }
.guide-page .guide-toc > span { font-size: 12.5px; }
.guide-page .guide-toc a { font-size: 13px; }
.guide-page .guide-lawyer-strip-icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: var(--blue);
  background: #EEF2FF;
  border-radius: var(--radius);
}
.guide-page .guide-lawyer-strip-icon .icon { width: 19px; height: 19px; }
.guide-page .guide-lawyer-strip b { font-size: 14.5px; }
.guide-page .guide-lawyer-strip span { font-size: 12.5px; }

.tools-page .tools-hero p { font-size: 15px; }
.tools-page .tools-hero-points span { font-size: 13px; }
.tools-page .tool-filter { font-size: 14.5px; }
.tools-page .tool-filter em { font-size: 13px; }
.tools-page .tool-card-body strong { font-size: 16.5px; }
.tools-page .tool-card-body > span:not(.tool-card-tag) { font-size: 13.5px; line-height: 1.8; }
.tools-page .tool-card-tag { font-size: 12.5px; }
.tools-page .tool-card-body em { font-size: 13.5px; }
.tools-page .tools-note p { font-size: 13.5px; }
.tools-page .guide-promo-copy b { font-size: 15.5px; }
.tools-page .guide-promo-copy span { font-size: 13px; }
@media (max-width: 720px) {
  .guide-page .guide-hero h1 { font-size: 28px; }
  .guide-page .guide-section-head h2,
  .guide-page .guide-section-copy h2,
  .guide-page .guide-payment h2,
  .guide-page .guide-checklist h2,
  .guide-page .guide-final h2 { font-size: 21px; }
}

/* 找律师指南：官方查询入口 */
.guide-official-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.guide-official-card { display: flex; align-items: flex-start; gap: 11px; padding: 16px; color: var(--ink); background: #fff; border: 1px solid #E1E7F3; border-radius: var(--radius); }
.guide-official-card:hover { color: var(--ink); border-color: #B9C8EE; box-shadow: 0 6px 16px rgba(20, 38, 70, .06); }
.guide-official-icon { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; color: var(--blue); background: #EEF2FF; border-radius: var(--radius); }
.guide-official-icon .icon { width: 19px; height: 19px; }
.guide-official-copy { flex: 1; min-width: 0; }
.guide-official-copy em { display: block; font-style: normal; font-size: 11px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.guide-official-copy b { display: block; margin-top: 3px; font-size: 14px; color: var(--ink); }
.guide-official-copy span { display: block; margin-top: 4px; font-size: 12.5px; line-height: 1.75; color: var(--ink-3); }
.guide-official-link { flex: none; display: inline-flex; align-items: center; gap: 2px; align-self: center; font-size: 11.5px; color: var(--blue-deep); white-space: nowrap; }
.guide-official-link .icon { width: 11px; height: 11px; }
@media (max-width: 720px) {
  .guide-official-grid { grid-template-columns: 1fr; }
  .guide-official-link { align-self: flex-start; margin-top: 2px; }
}

/* 律师入驻：官方执业查询链接 */
.join-field-hint { margin-top: 6px; font-size: 12.5px; line-height: 1.7; color: var(--ink-3); }
.join-verify-links { display: flex; flex-wrap: wrap; gap: 6px 8px; margin-top: 8px; }
.join-verify-links a,
.join-verify-links > span {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px 8px;
  font-size: 11.5px;
  color: var(--blue-deep);
  background: #F4F7FF;
  border: 1px solid #E0E7FF;
  border-radius: 2px;
}
.join-verify-links a:hover { color: var(--blue); border-color: #B9C8EE; }
.join-verify-links .icon { width: 10px; height: 10px; }
.join-verify-links > span { color: var(--ink-3); background: #F8FAFF; border-color: #E7ECF5; }

/* 找律师指南：场景配图 */
.guide-hero-photo,
.guide-photo-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #F1F4FA;
  border: 1px solid #E1E7F3;
  border-radius: var(--radius);
}
.guide-hero-photo img,
.guide-photo-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.guide-hero-photo figcaption,
.guide-photo-card figcaption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, .94);
  border-radius: var(--radius);
  box-shadow: 0 4px 14px rgba(9, 32, 64, .1);
}
.guide-hero-photo figcaption span,
.guide-photo-card figcaption span {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--blue-deep);
}
.guide-hero-photo figcaption b,
.guide-photo-card figcaption b {
  display: block;
  margin-top: 3px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink);
}
.guide-image-band {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 0;
  align-items: stretch;
  margin-top: 30px;
  overflow: hidden;
  background: #F5F8FF;
  border: 1px solid #DDE5FA;
  border-radius: var(--radius);
}
.guide-image-band img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}
.guide-image-band-copy { display: flex; flex-direction: column; justify-content: center; padding: 24px 28px; }
.guide-image-band-copy > span { font-size: 10.5px; font-weight: 600; letter-spacing: .12em; color: var(--blue-deep); }
.guide-image-band-copy h2 { margin-top: 6px; font-size: 22px; line-height: 1.5; color: var(--ink); }
.guide-image-band-copy p { margin-top: 7px; font-size: 13px; line-height: 1.8; color: var(--ink-3); }
@media (max-width: 900px) {
  .guide-image-band { grid-template-columns: 1fr; }
  .guide-image-band img { min-height: 200px; aspect-ratio: 16 / 9; }
}
@media (max-width: 640px) {
  .guide-hero-photo img, .guide-photo-card img { aspect-ratio: 16 / 10; }
  .guide-hero-photo figcaption, .guide-photo-card figcaption { left: 8px; right: 8px; bottom: 8px; padding: 8px 10px; }
  .guide-hero-photo figcaption b, .guide-photo-card figcaption b { font-size: 12px; }
  .guide-image-band-copy { padding: 18px 16px; }
  .guide-image-band-copy h2 { font-size: 19px; }
}

/* 找律师指南：简化后的图文长页 */
.guide-page { background: #fff; }
.guide-feature {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 28px;
  align-items: center;
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid #EDF1F8;
}
.guide-feature-reverse { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
.guide-feature-reverse .guide-feature-image { order: 2; }
.guide-feature-image { margin: 0; }
.guide-feature-image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid #E1E7F3;
  border-radius: var(--radius);
  background: #F1F4FA;
}
.guide-feature-copy h2 { font-size: 24px; line-height: 1.45; color: var(--ink); }
.guide-feature-copy > p { margin-top: 8px; font-size: 14px; line-height: 1.85; color: var(--ink-3); }
.guide-points { display: grid; gap: 10px; margin-top: 16px; }
.guide-points li { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; line-height: 1.75; color: var(--ink-2); }
.guide-points .icon { flex: none; width: 17px; height: 17px; margin-top: 2px; color: var(--blue); }
.guide-points b { display: block; margin-bottom: 2px; color: var(--ink); }
.guide-feature-copy .guide-check-list { margin-top: 15px; }

.guide-block { margin-top: 30px; padding-top: 28px; border-top: 1px solid #EDF1F8; }
.guide-block-head { max-width: 760px; margin-bottom: 15px; }
.guide-block-head h2 { font-size: 24px; line-height: 1.45; color: var(--ink); }
.guide-block-head p { margin-top: 7px; font-size: 14px; line-height: 1.85; color: var(--ink-3); }

.guide-channel-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.guide-channel-list > div { display: flex; align-items: flex-start; gap: 9px; padding: 12px 0; border-bottom: 1px dashed #E7ECF5; }
.guide-channel-list > div > span { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 25px; height: 25px; margin-top: 1px; color: var(--blue-deep); background: #EEF2FF; border-radius: 2px; font-size: 10.5px; font-weight: 600; }
.guide-channel-list b { display: block; font-size: 14px; color: var(--ink); }
.guide-channel-list p { margin-top: 3px; font-size: 12.5px; line-height: 1.7; color: var(--ink-3); }

.guide-official-panel { background: #F7F9FF; border: 1px solid #E1E7F4; border-radius: var(--radius); }
.guide-official-panel > a { display: flex; align-items: center; gap: 11px; padding: 13px 15px; color: var(--ink); border-bottom: 1px solid #E7ECF5; }
.guide-official-panel > a:last-child { border-bottom: 0; }
.guide-official-panel > a:hover { color: var(--ink); background: #F1F5FF; }
.guide-official-panel .guide-official-icon { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; color: var(--blue); background: #fff; border-radius: var(--radius); }
.guide-official-panel .guide-official-icon .icon { width: 17px; height: 17px; }
.guide-official-panel > a > span:nth-child(2) { flex: 1; min-width: 0; }
.guide-official-panel b { display: block; font-size: 13.5px; color: var(--ink); }
.guide-official-panel em { display: block; margin-top: 2px; font-style: normal; font-size: 12px; line-height: 1.6; color: var(--ink-3); }
.guide-official-panel > a > .icon { flex: none; width: 13px; height: 13px; color: var(--ink-3); }

.guide-question-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.guide-question-list > div { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 0 8px; padding: 12px 0; border-bottom: 1px dashed #E7ECF5; }
.guide-question-list > div > span { grid-row: span 2; color: var(--blue-deep); background: #EEF2FF; border-radius: 2px; width: 25px; height: 25px; display: inline-flex; align-items: center; justify-content: center; font-size: 10.5px; font-weight: 600; }
.guide-question-list b { font-size: 13.5px; color: var(--ink); line-height: 1.6; }
.guide-question-list p { margin-top: 2px; font-size: 12.5px; line-height: 1.7; color: var(--ink-3); }

.guide-payment { margin-top: 30px; }

.guide-risk-head { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 20px; align-items: center; margin-bottom: 6px; }
.guide-risk-head img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); }
.guide-risk-head h2 { font-size: 24px; color: var(--ink); }
.guide-risk-head p { margin-top: 6px; font-size: 13.5px; line-height: 1.8; color: var(--ink-3); }
.guide-risk-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.guide-risk-list > div { padding: 12px 0 12px 11px; border-bottom: 1px dashed #F0D8D3; border-left: 2px solid #E6B4AA; }
.guide-risk-list b { display: block; font-size: 13.5px; color: #8A2F25; line-height: 1.6; }
.guide-risk-list p { margin-top: 3px; font-size: 12.5px; line-height: 1.7; color: #9B4A3F; }

.guide-rights-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.guide-rights-list > * { display: block; padding: 13px 0 13px 12px; color: var(--ink); border-bottom: 1px dashed #E7ECF5; border-left: 2px solid #DDE5FF; }
.guide-rights-list > *:hover { color: var(--ink); background: #F8FAFF; }
.guide-rights-list b { display: block; margin-bottom: 3px; font-size: 11px; color: var(--blue); }
.guide-rights-list span { display: block; font-size: 14px; font-weight: 600; color: var(--ink); }
.guide-rights-list small { display: block; margin-top: 3px; font-size: 12.5px; line-height: 1.7; color: var(--ink-3); }

@media (max-width: 900px) {
  .guide-feature, .guide-feature-reverse { grid-template-columns: 1fr; gap: 18px; }
  .guide-feature-reverse .guide-feature-image { order: 0; }
  .guide-feature-image img { aspect-ratio: 16 / 9; }
  .guide-risk-head { grid-template-columns: 150px minmax(0, 1fr); gap: 14px; }
}
@media (max-width: 720px) {
  .guide-feature-copy h2, .guide-block-head h2, .guide-risk-head h2 { font-size: 21px; }
  .guide-channel-list, .guide-question-list, .guide-risk-list, .guide-rights-list { grid-template-columns: 1fr; gap: 0; }
  .guide-risk-head { grid-template-columns: 1fr; }
  .guide-risk-head img { aspect-ratio: 16 / 7; }
}

.guide-hero-photo img,
.guide-photo-card img,
.guide-feature-image img,
.guide-risk-head img { height: auto; }

@media (max-width: 720px) {
  .guide-page .guide-hero h1 { font-size: 26px; }
  .guide-page .guide-hero-actions .btn { flex: 1; justify-content: center; }
}

/* 指南插画：矢量图完整展示，不裁切 */
.guide-hero-photo img,
.guide-feature-image img,
.guide-risk-head img {
  object-fit: contain;
  padding: 10px;
  background: #F5F8FF;
}
.guide-risk-head img { aspect-ratio: 4 / 3; }

/* 法律网址导航 */
.legal-page { padding: 0 0 64px; background: #F8FAFF; }
.legal-hero { margin: 4px 0 18px; padding: 30px 32px; background: #fff; border: 1px solid #E1E7F3; border-left: 4px solid #4D61FC; border-radius: var(--radius); }
.legal-hero h1 { margin-top: 7px; font-size: 32px; color: var(--ink); }
.legal-hero p { max-width: 850px; margin-top: 8px; font-size: 14px; line-height: 1.9; color: var(--ink-3); }
.legal-search { display: flex; align-items: center; gap: 8px; max-width: 700px; margin-top: 16px; padding: 5px 6px 5px 13px; background: #fff; border: 1px solid #DDE5F3; border-radius: var(--radius); }
.legal-search .icon { flex: none; width: 17px; height: 17px; color: var(--ink-3); }
.legal-search input { flex: 1; min-width: 0; height: 34px; padding: 0 4px; border: 0; outline: 0; background: transparent; font-family: inherit; font-size: 14px; color: var(--ink); }
.legal-search button { flex: none; height: 34px; padding: 0 18px; border: 0; border-radius: 2px; background: #4D61FC; color: #fff; font-family: inherit; font-size: 13px; cursor: pointer; }
.legal-search button:hover { background: #3B4DE0; }
.legal-filter { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.legal-filter button { padding: 5px 10px; border: 1px solid #E1E7F3; border-radius: 2px; background: #fff; color: var(--ink-2); font-family: inherit; font-size: 12.5px; cursor: pointer; }
.legal-filter button:hover { color: var(--blue-deep); border-color: #B9C8EE; background: #F7F9FF; }
.legal-filter button.on { color: #fff; background: #4D61FC; border-color: #4D61FC; }
.legal-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; font-size: 12px; color: var(--ink-3); }
.legal-meta em { font-style: normal; }
.legal-cat { margin-top: 26px; }
.legal-cat-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.legal-cat-head h2 { display: flex; align-items: center; gap: 8px; font-size: 18px; color: var(--ink); }
.legal-cat-head h2 .icon { width: 18px; height: 18px; color: var(--blue); }
.legal-cat-head > span { font-size: 11.5px; color: var(--ink-3); }
.legal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.legal-link { display: flex; align-items: flex-start; gap: 10px; padding: 14px; color: var(--ink); background: #fff; border: 1px solid #E2E7F2; border-radius: var(--radius); }
.legal-link:hover { color: var(--ink); border-color: #B9C8EE; box-shadow: 0 6px 16px rgba(20, 38, 70, .06); }
.legal-link-icon { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; color: var(--blue); background: #EEF2FF; border-radius: var(--radius); }
.legal-link-icon .icon { width: 17px; height: 17px; }
.legal-link-copy { flex: 1; min-width: 0; }
.legal-link-copy b { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); line-height: 1.5; }
.legal-link-copy em { display: block; margin-top: 1px; font-style: normal; font-size: 10.5px; color: var(--blue-deep); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.legal-link-copy span { display: block; margin-top: 4px; font-size: 11.5px; line-height: 1.65; color: var(--ink-3); }
.legal-badge { flex: none; padding: 1px 4px; font-size: 9px; color: #1F7A55; background: #EBF8F1; border: 1px solid #BFE8D2; border-radius: 2px; }
.legal-empty { padding: 36px 20px; text-align: center; font-size: 13px; color: var(--ink-3); background: #fff; border: 1px solid #E1E7F3; border-radius: var(--radius); }
.legal-link[hidden], .legal-cat[hidden] { display: none !important; }
@media (max-width: 980px) {
  .legal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .legal-hero { padding: 20px 16px; }
  .legal-hero h1 { font-size: 26px; }
  .legal-search { padding-left: 10px; }
  .legal-search button { padding: 0 13px; }
  .legal-grid { grid-template-columns: 1fr; }
  .legal-filter { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 3px; }
  .legal-filter::-webkit-scrollbar { display: none; }
  .legal-filter button { flex: none; }
}

/* 找律师指南：网推所维权入口 */
.guide-action-links { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; margin-top: 12px; font-size: 12.5px; color: var(--ink-3); }
.guide-action-links a { padding: 3px 8px; color: var(--blue-deep); background: #F4F7FF; border: 1px solid #E0E7FF; border-radius: 2px; }
.guide-action-links a:hover { color: var(--blue); border-color: #B9C8EE; }

/* 指南步骤列表：编号、标题、说明分列对齐 */
.guide-channel-list > div {
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr);
  gap: 0 9px;
}
.guide-channel-list > div > span { grid-row: span 2; }
.guide-channel-list b,
.guide-channel-list p { grid-column: 2; }

/* 统一前台分页：当前页使用实心主色 */
.pagination .current {
  background: #4D61FC;
  border-color: #4D61FC;
  color: #fff;
  box-shadow: none;
}

/* 律师详情：手机号授权 */
.phone-auth-note {
  margin-top: 9px;
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--ink-3);
}
@media (max-width: 720px) {
  .phone-auth-note { font-size: 11px; }
}

/* 律师后台：当事人授权手机号 */
.lawyer-auth-list { display: grid; gap: 0; }
.lawyer-auth-item { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.lawyer-auth-item:last-of-type { border-bottom: 0; }
.lawyer-auth-icon { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; color: var(--blue); background: var(--blue-soft); border-radius: var(--radius); }
.lawyer-auth-icon .icon { width: 15px; height: 15px; }
.lawyer-auth-main { flex: 1; min-width: 0; }
.lawyer-auth-main b { display: block; font-size: 13.5px; color: var(--ink); }
.lawyer-auth-main em { display: block; margin-top: 2px; font-size: 11.5px; font-style: normal; color: var(--ink-3); }
.lawyer-auth-value { flex: none; display: flex; align-items: center; gap: 7px; }
.lawyer-auth-phone { font-size: 14.5px; font-weight: 600; color: var(--blue-deep); letter-spacing: .03em; font-variant-numeric: tabular-nums; }
.lawyer-auth-phone.is-expired { color: var(--ink-3); text-decoration: line-through; font-weight: 400; }
.lawyer-auth-tip { padding-top: 8px; font-size: 11px; line-height: 1.7; color: var(--ink-3); }
@media (max-width: 720px) {
  .lawyer-auth-item { flex-wrap: wrap; }
  .lawyer-auth-main { flex-basis: calc(100% - 42px); }
  .lawyer-auth-value { width: 100%; padding-left: 42px; }
}

/* 个人中心：律师头像展示 */
.profile-avatar.has-photo {
  overflow: hidden;
  padding: 0;
  background: #EEF2FA;
}
.profile-avatar.has-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

/* 律师中心（account/lawyer.html）：白底蓝点缀，仅作用于本页 */
body.account-lawyer {
  background: #F7FAFF;
}
body.account-lawyer .section-head {
  border-bottom-color: #E1E7F3;
}
body.account-lawyer .section-title::before {
  background: #4D61FC;
  box-shadow: 0 0 14px rgba(77, 97, 252, .28);
}
body.account-lawyer .section-title::after {
  color: #3B4DE0;
  background: #EEF2FF;
  border-color: #C9D6F7;
}

/* 左侧律师资料卡 */
body.account-lawyer .center-user-card {
  color: var(--ink);
  background: #fff;
  border: 1px solid #E1E7F3;
  border-top: 3px solid #4D61FC;
  box-shadow: 0 8px 24px rgba(20, 38, 70, .06);
}
body.account-lawyer .center-user-card::before {
  background: #4D61FC;
}
body.account-lawyer .center-user-card .profile-avatar {
  color: #4D61FC;
  background: #EEF2FF;
  box-shadow: 0 0 0 3px #fff, 0 0 0 4px #DCE5FF;
}
body.account-lawyer .center-user-card .profile-avatar.has-photo {
  background: #EEF2FA;
  box-shadow: 0 0 0 3px #fff, 0 0 0 4px #DCE5FF;
}
body.account-lawyer .center-user-card #profileName {
  color: var(--ink);
}
body.account-lawyer .center-user-card #profileBadge {
  color: #3B4DE0;
  background: #EEF2FF;
  border-color: #C9D6F7;
}
body.account-lawyer .center-user-card #profileBadge .icon {
  color: #4D61FC;
}
body.account-lawyer .center-user-card .profile-meta {
  color: var(--ink-3);
}
body.account-lawyer .center-user-card .profile-meta .icon {
  color: #7D8FB8;
}
body.account-lawyer .center-user-card .center-logout {
  color: #3B4DE0;
  background: #F7F9FF;
  border-color: #DCE5FF;
}
body.account-lawyer .center-user-card .center-logout:hover {
  color: #fff;
  background: #4D61FC;
  border-color: #4D61FC;
}

/* 左侧菜单 */
body.account-lawyer .center-menu {
  border-color: #E1E7F3;
  border-top: 3px solid #4D61FC;
}
body.account-lawyer .center-menu a {
  color: var(--ink-2);
}
body.account-lawyer .center-menu a:hover {
  color: #3B4DE0;
  background: #F4F7FF;
}
body.account-lawyer .center-menu a:hover .icon {
  color: #4D61FC;
}
body.account-lawyer .center-menu a.on {
  color: #fff;
  background: #4D61FC;
  box-shadow: 0 4px 12px rgba(77, 97, 252, .2);
}
body.account-lawyer .center-menu a.on .icon {
  color: #fff;
}
body.account-lawyer .center-side-quick .panel-head {
  background: #F7F9FF;
}
body.account-lawyer .center-side-quick .panel-head h2 .icon {
  color: #4D61FC;
}

/* 主面板 */
body.account-lawyer .center-panel {
  border-color: #E1E7F3;
  border-top: 3px solid #4D61FC;
}
body.account-lawyer .center-panel .panel-head {
  background: #F7F9FF;
  border-bottom-color: #E1E7F3;
}
body.account-lawyer .center-panel .panel-head h2 .icon {
  color: #4D61FC;
}
body.account-lawyer .section-more {
  color: #3B4DE0;
}
body.account-lawyer .section-more:hover {
  color: #4D61FC;
}
body.account-lawyer .btn-primary {
  color: #fff;
  background: #4D61FC;
  border-color: #4D61FC;
  box-shadow: 0 4px 12px rgba(77, 97, 252, .16);
}
body.account-lawyer .btn-primary:hover {
  background: #3B4DE0;
  border-color: #3B4DE0;
}
body.account-lawyer .btn-ghost {
  color: #3B4DE0;
  background: #fff;
  border-color: #DCE5FF;
}
body.account-lawyer .btn-ghost:hover {
  color: #4D61FC;
  background: #F4F7FF;
  border-color: #B9C8F7;
}

/* 律师中心资料头图 */
body.account-lawyer .lawyer-center-hero {
  color: var(--ink);
  background: #fff;
  border: 1px solid #E1E7F3;
  border-left: 3px solid #4D61FC;
  box-shadow: none;
}
body.account-lawyer .lawyer-center-hero .lawyer-center-main h2 {
  color: var(--ink);
}
body.account-lawyer .lawyer-center-hero .lawyer-center-main p {
  color: var(--ink-3);
}
body.account-lawyer .lawyer-center-hero .lawyer-tag {
  color: #3B4DE0;
  background: #fff;
  border-color: #DCE5FF;
}
body.account-lawyer .lawyer-center-hero .badge-green {
  color: #3B4DE0;
  background: #fff;
  border-color: #C9D6F7;
}
body.account-lawyer .lawyer-center-hero .btn-ghost {
  color: #3B4DE0;
  background: #fff;
  border-color: #DCE5FF;
}
body.account-lawyer .lawyer-center-hero .btn-ghost:hover {
  color: #4D61FC;
  background: #F4F7FF;
  border-color: #B9C8F7;
}
body.account-lawyer .lawyer-center-stat {
  background: #fff;
  border-color: #E1E7F3;
}
body.account-lawyer .lawyer-center-stat b {
  color: #4D61FC;
}
body.account-lawyer .lawyer-center-stat span {
  color: var(--ink-3);
}
body.account-lawyer .badge-blue {
  color: #3B4DE0;
  background: #EEF2FF;
  border-color: #C9D6F7;
}
body.account-lawyer .myq-icon.is-pending {
  color: #3B4DE0;
  background: #EEF2FF;
}
body.account-lawyer .myq-toolbar {
  background: #F7F9FF;
  border-bottom-color: #E1E7F3;
}
body.account-lawyer .overview-welcome {
  background: #F7F9FF;
  border-color: #DCE5F7;
}


/* 律师后台统一白蓝：问答筛选与列表 */
body.account-lawyer .myq-tabs button.on {
  background: #4D61FC;
  border-color: #4D61FC;
}
body.account-lawyer .myq-toolbar .myq-type-tabs { border-bottom-color: #E1E7F3; }
body.account-lawyer .myq-item:hover { background: #F7F9FF; }
body.account-lawyer .overview-welcome { background: #F7F9FF; border-color: #DCE5F7; }

/* 个人中心：我的手机号授权记录 */
.overview-auth-list { display: grid; gap: 0; }
.overview-auth-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}
.overview-auth-item:last-child { border-bottom: 0; }
.overview-auth-photo {
  flex: none;
  width: 38px;
  height: 38px;
  object-fit: cover;
  border-radius: 3px;
  background: #F2F5FC;
  border: 1px solid #E1E7F3;
}
.overview-auth-main { flex: 1; min-width: 0; }
.overview-auth-main b { display: block; font-size: 13.5px; font-weight: 600; line-height: 1.5; }
.overview-auth-main b a { color: var(--ink); }
.overview-auth-main b a:hover { color: var(--blue-deep); }
.overview-auth-main em { display: block; margin-top: 1px; font-size: 11.5px; font-style: normal; color: var(--ink-3); }
.overview-auth-main > span { display: block; margin-top: 3px; font-size: 11.5px; color: var(--ink-3); }
.overview-auth-meta { flex: none; display: grid; gap: 2px; font-size: 11px; color: var(--ink-3); text-align: right; }
.overview-auth-item > .badge { flex: none; }
@media (max-width: 720px) {
  .overview-auth-item { flex-wrap: wrap; align-items: flex-start; }
  .overview-auth-main { flex-basis: calc(100% - 50px); }
  .overview-auth-meta { width: 100%; padding-left: 49px; text-align: left; }
  .overview-auth-item > .badge { margin-left: 49px; }
}

/* 问答详情：右上角推荐律师 */
.qa-recommend-panel { border-top: 3px solid #4D61FC; }
.qa-recommend-panel .panel-head { background: #F7F9FF; border-bottom-color: #E1E7F3; }
.qa-recommend-panel .panel-head h2 { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.qa-recommend-badge { padding: 1px 5px; font-size: 9.5px; font-weight: 400; color: #3B4DE0; background: #EEF2FF; border: 1px solid #D5DEFF; border-radius: 2px; }
.qa-recommend-hint { padding: 2px 2px 7px; font-size: 11px; line-height: 1.6; color: var(--ink-3); }
.qa-recommend-panel .related-lawyer { padding-top: 9px; padding-bottom: 9px; }

/* 资讯详情：右侧推荐律师与工具 */
.news-recommend-panel { border-top: 3px solid #4D61FC; }
.news-recommend-panel .panel-head { background: #F7F9FF; border-bottom-color: #E1E7F3; }
.news-recommend-panel .related-lawyer { padding-top: 9px; padding-bottom: 9px; }
.news-tool-list { display: grid; gap: 0; padding: 7px 14px 10px; }
.news-tool-list a { display: flex; align-items: center; gap: 9px; padding: 9px 0; border-bottom: 1px dashed var(--line); color: var(--ink-2); }
.news-tool-list a:last-child { border-bottom: 0; }
.news-tool-list a:hover { color: var(--blue-deep); }
.news-tool-list > a > .icon { flex: none; width: 16px; height: 16px; color: var(--blue); }
.news-tool-list > a > span { min-width: 0; }
.news-tool-list b { display: block; font-size: 12.5px; font-weight: 600; line-height: 1.5; }
.news-tool-list em { display: block; margin-top: 1px; font-size: 10.5px; font-style: normal; color: var(--ink-3); }

/* 投诉建议 */
.complaint-page { padding: 0 0 64px; background: #F7FAFF; }
.complaint-card {
  max-width: 820px;
  margin: 0 auto;
  padding: 30px 34px 34px;
  background: #fff;
  border: 1px solid #E1E7F3;
  border-top: 3px solid #4D61FC;
  border-radius: var(--radius);
}
.complaint-head h1 { margin: 6px 0 8px; font-size: 30px; color: var(--ink); }
.complaint-head p { max-width: 700px; font-size: 13.5px; line-height: 1.9; color: var(--ink-3); }
.complaint-body { margin-top: 22px; }
.complaint-account {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  margin-bottom: 18px;
  font-size: 12px;
  color: var(--ink-2);
  background: #F7F9FF;
  border: 1px solid #E3E8F8;
  border-radius: var(--radius);
}
.complaint-account .icon { width: 15px; height: 15px; color: var(--blue); }
.complaint-account b { color: var(--ink); font-weight: 600; }
.complaint-field { margin-bottom: 15px; }
.complaint-field > label {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.complaint-field > label em { font-style: normal; color: #C0392B; }
.complaint-field > label span { font-size: 11px; font-weight: 400; color: var(--ink-3); }
.complaint-field input[type="text"],
.complaint-field select,
.complaint-field textarea {
  width: 100%;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 13.5px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #DDE5F3;
  border-radius: var(--radius);
  outline: 0;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.complaint-field select { height: 40px; }
.complaint-field textarea { min-height: 150px; resize: vertical; line-height: 1.8; }
.complaint-field input[type="text"]:focus,
.complaint-field select:focus,
.complaint-field textarea:focus { border-color: #4D61FC; box-shadow: 0 0 0 3px rgba(77, 97, 252, .08); }
.complaint-count { margin-top: 5px; text-align: right; font-size: 11px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.complaint-consent { display: flex; align-items: flex-start; gap: 8px; margin-top: 4px; font-size: 12px; line-height: 1.7; color: var(--ink-3); cursor: pointer; }
.complaint-consent input { flex: none; width: 15px; height: 15px; margin-top: 2px; accent-color: #4D61FC; }
.complaint-error { min-height: 20px; margin-top: 8px; font-size: 12px; color: #C0392B; }
.complaint-submit { width: 100%; justify-content: center; margin-top: 2px; }
.complaint-note { margin-top: 12px; font-size: 11px; line-height: 1.7; color: var(--ink-3); }
.complaint-guest, .complaint-success { padding: 28px 20px; text-align: center; background: #F8FAFF; border: 1px dashed #DCE5F7; border-radius: var(--radius); }
.complaint-guest-icon, .complaint-success-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-bottom: 10px; border-radius: 50%; }
.complaint-guest-icon { color: var(--ink-3); background: #fff; border: 1px solid var(--line); }
.complaint-success-icon { color: #2F7A58; background: #EDF8F1; border: 1px solid #CBE8D6; }
.complaint-guest-icon .icon, .complaint-success-icon .icon { width: 22px; height: 22px; }
.complaint-guest h2, .complaint-success h2 { font-size: 20px; color: var(--ink); }
.complaint-guest p, .complaint-success p { max-width: 520px; margin: 8px auto 0; font-size: 13px; line-height: 1.8; color: var(--ink-3); }
.complaint-guest-actions, .complaint-success-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.complaint-guest-actions .btn, .complaint-success-actions .btn { min-width: 120px; justify-content: center; }
@media (max-width: 640px) {
  .complaint-card { padding: 22px 17px 24px; }
  .complaint-head h1 { font-size: 25px; }
  .complaint-guest, .complaint-success { padding: 24px 14px; }
}

/* 律师详情：官方执业信息核验入口 */
.lawyer-verify-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  padding: 5px 8px;
  font-size: 11.5px;
  color: var(--blue-deep);
  background: #F4F7FF;
  border: 1px solid #E0E7FF;
  border-radius: 2px;
}
.lawyer-verify-link:hover { color: var(--blue); border-color: #B9C8EE; }
.lawyer-verify-link .icon { width: 13px; height: 13px; }

/* 关于我们：纵向长页介绍 */
.about-page { background: #fff; padding-bottom: 0; }
.about-wrap { max-width: 1120px; margin: 0 auto; padding: 0 28px; }
.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  align-items: center;
  gap: 46px;
  padding: 30px 0 46px;
  border-bottom: 1px solid #E7ECF6;
}
.about-kicker { display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: .16em; color: #4D61FC; }
.about-hero h1 { margin: 10px 0 16px; font-size: 44px; line-height: 1.28; letter-spacing: -.02em; color: var(--ink); }
.about-hero-copy > p { max-width: 580px; font-size: 14.5px; line-height: 1.95; color: var(--ink-3); }
.about-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.about-hero-note { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 18px; font-size: 11.5px; color: var(--ink-3); }
.about-hero-note span { display: inline-flex; align-items: center; gap: 5px; }
.about-hero-note span::before { content: ""; width: 4px; height: 4px; background: #4D61FC; border-radius: 50%; }
.about-hero-art { margin: 0; padding: 10px; background: #F7FAFF; border: 1px solid #E4EAF6; }
.about-hero-art img { display: block; width: 100%; height: auto; }
.about-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid #E7ECF6; }
.about-stats > div { padding: 22px 20px; border-right: 1px solid #E7ECF6; }
.about-stats > div:first-child { padding-left: 0; }
.about-stats > div:last-child { border-right: 0; }
.about-stats b { display: block; font-size: 27px; line-height: 1.2; color: #4D61FC; font-weight: 700; }
.about-stats span { display: block; margin-top: 4px; font-size: 12px; color: var(--ink-3); }
.about-section { position: relative; padding: 54px 0; border-bottom: 1px solid #E7ECF6; }
.about-section.is-soft { background: #F7FAFF; }
.about-section-head { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 18px; align-items: start; margin-bottom: 26px; }
.about-index { padding-top: 2px; font-size: 11px; font-weight: 700; letter-spacing: .08em; color: #9AA9C9; font-variant-numeric: tabular-nums; }
.about-section-head h2 { margin-top: 6px; font-size: 29px; line-height: 1.45; color: var(--ink); }
.about-two-col { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; }
.about-two-col p { font-size: 14px; line-height: 2; color: var(--ink-3); }
.about-two-col p + p { margin-top: 14px; }
.about-quote { position: relative; padding: 20px 24px 18px 26px; background: #F7F9FF; border-left: 3px solid #4D61FC; }
.about-quote-mark { position: absolute; top: 2px; left: 12px; font-size: 42px; line-height: 1; color: #C9D6F7; font-family: Georgia, serif; }
.about-quote p { position: relative; z-index: 1; padding-top: 18px; font-size: 17px; line-height: 1.8; color: var(--ink); font-weight: 600; }
.about-quote cite { display: block; margin-top: 10px; font-size: 11.5px; font-style: normal; color: var(--ink-3); }
.about-grid { display: grid; gap: 26px; }
.about-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.about-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.about-item { display: block; padding: 17px 0 0; border-top: 2px solid #4D61FC; color: var(--ink); }
.about-item:hover { color: var(--ink); }
.about-item-icon { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; color: #4D61FC; background: #EEF2FF; }
.about-item-icon .icon { width: 16px; height: 16px; }
.about-item-no { display: block; margin-top: 14px; font-size: 10px; letter-spacing: .1em; color: #9AA9C9; }
.about-item h3 { margin: 4px 0 8px; font-size: 18px; color: var(--ink); }
.about-item p { font-size: 12.5px; line-height: 1.9; color: var(--ink-3); }
.about-item em { display: inline-flex; align-items: center; gap: 4px; margin-top: 13px; font-size: 11.5px; font-style: normal; color: #3B4DE0; }
.about-item em .icon { width: 12px; height: 12px; }
.about-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; }
.about-flow > div { padding-top: 14px; border-top: 1px solid #DCE5F5; }
.about-flow > div > span { font-size: 11px; font-weight: 700; color: #4D61FC; font-variant-numeric: tabular-nums; }
.about-flow b { display: block; margin-top: 8px; font-size: 15.5px; color: var(--ink); }
.about-flow p { margin-top: 7px; font-size: 12.5px; line-height: 1.9; color: var(--ink-3); }
.about-lead { max-width: 840px; font-size: 14px; line-height: 2; color: var(--ink-3); }
.about-paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 26px; border-top: 1px solid #DCE5F5; border-bottom: 1px solid #DCE5F5; }
.about-path { padding: 22px 24px; border-right: 1px solid #DCE5F5; }
.about-path:first-child { padding-left: 0; }
.about-path:last-child { border-right: 0; }
.about-path-label { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; color: #4D61FC; }
.about-path p { margin-top: 10px; font-size: 14px; line-height: 1.85; color: var(--ink); }
.about-path em { display: block; margin-top: 10px; font-size: 11.5px; font-style: normal; line-height: 1.7; color: var(--ink-3); }
.about-inline-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; padding: 15px 18px; background: #fff; border: 1px solid #E1E7F3; }
.about-inline-cta span { font-size: 13px; color: var(--ink-2); }
.about-inline-cta a { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: #3B4DE0; white-space: nowrap; }
.about-inline-cta .icon { width: 13px; height: 13px; }
.about-two-col-wide { align-items: start; }
.about-rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 26px; }
.about-rules > div { padding-top: 12px; border-top: 1px solid #DCE5F5; }
.about-rules span, .about-principles span { display: block; font-size: 10.5px; font-weight: 700; color: #9AA9C9; }
.about-rules b { display: block; margin-top: 5px; font-size: 14px; color: var(--ink); }
.about-rules p { margin-top: 5px; font-size: 12px; line-height: 1.8; color: var(--ink-3); }
.about-note { display: flex; align-items: flex-start; gap: 7px; margin-top: 22px; padding-top: 13px; border-top: 1px dashed #DCE5F5; font-size: 11.5px; line-height: 1.8; color: var(--ink-3); }
.about-note .icon { flex: none; width: 14px; height: 14px; margin-top: 2px; color: #4D61FC; }
.about-note a { color: #3B4DE0; text-decoration: underline; text-underline-offset: 2px; }
.about-principles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; }
.about-principles > div { padding-top: 14px; border-top: 2px solid #4D61FC; }
.about-principles h3 { margin-top: 7px; font-size: 15px; color: var(--ink); }
.about-principles p { margin-top: 7px; font-size: 12px; line-height: 1.9; color: var(--ink-3); }
.about-map { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 30px; border-top: 1px solid #DCE5F5; }
.about-map a { display: grid; grid-template-columns: 50px minmax(0, 1fr); column-gap: 10px; padding: 16px 0; border-bottom: 1px solid #DCE5F5; }
.about-map span { grid-row: span 2; font-size: 10.5px; color: #9AA9C9; letter-spacing: .08em; }
.about-map b { font-size: 14px; color: var(--ink); }
.about-map em { grid-column: 2; margin-top: 3px; font-size: 11.5px; font-style: normal; color: var(--ink-3); }
.about-map a:hover b { color: #3B4DE0; }
.about-audience { padding-top: 16px; border-top: 1px solid #DCE5F5; }
.about-audience span { font-size: 10.5px; font-weight: 700; color: #9AA9C9; }
.about-audience h3 { margin-top: 7px; font-size: 17px; color: var(--ink); }
.about-audience p { margin-top: 7px; font-size: 12.5px; line-height: 1.9; color: var(--ink-3); }
.about-faq { border-top: 1px solid #DCE5F5; }
.about-faq details { border-bottom: 1px solid #DCE5F5; }
.about-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 0; font-size: 14.5px; font-weight: 600; color: var(--ink); cursor: pointer; list-style: none; }
.about-faq summary::-webkit-details-marker { display: none; }
.about-faq summary::after { content: "+"; font-size: 19px; font-weight: 400; color: #4D61FC; }
.about-faq details[open] summary::after { content: "−"; }
.about-faq details p { padding: 0 0 16px; max-width: 900px; font-size: 13px; line-height: 1.9; color: var(--ink-3); }
.about-cta { display: flex; align-items: center; justify-content: space-between; gap: 36px; padding: 40px 0 50px; border-top: 3px solid #4D61FC; }
.about-cta h2 { margin-top: 7px; font-size: 28px; line-height: 1.45; color: var(--ink); }
.about-cta p { max-width: 650px; margin-top: 10px; font-size: 13px; line-height: 1.9; color: var(--ink-3); }
.about-cta-actions { flex: none; display: flex; flex-wrap: wrap; gap: 9px; }
@media (max-width: 980px) {
  .about-hero { gap: 28px; }
  .about-hero h1 { font-size: 38px; }
  .about-grid-4, .about-principles { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .about-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; }
  .about-map { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .about-wrap { padding: 0 17px; }
  .about-hero { grid-template-columns: 1fr; gap: 22px; padding: 22px 0 32px; }
  .about-hero h1 { font-size: 34px; }
  .about-hero-art { order: -1; max-width: 430px; }
  .about-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-stats > div { padding: 16px 14px; }
  .about-stats > div:first-child { padding-left: 14px; }
  .about-stats > div:nth-child(2) { border-right: 0; }
  .about-stats > div:nth-child(-n+2) { border-bottom: 1px solid #E7ECF6; }
  .about-section { padding: 38px 0; }
  .about-section-head { grid-template-columns: 32px minmax(0, 1fr); gap: 10px; }
  .about-section-head h2 { font-size: 23px; }
  .about-two-col { grid-template-columns: 1fr; gap: 22px; }
  .about-grid-4, .about-grid-3, .about-principles, .about-map { grid-template-columns: 1fr; }
  .about-paths { grid-template-columns: 1fr; }
  .about-path { padding: 18px 0; border-right: 0; border-bottom: 1px solid #DCE5F5; }
  .about-path:last-child { border-bottom: 0; }
  .about-inline-cta { flex-direction: column; align-items: flex-start; gap: 8px; }
  .about-cta { flex-direction: column; align-items: flex-start; gap: 22px; padding: 32px 0 40px; }
  .about-cta h2 { font-size: 24px; }
  .about-rules { grid-template-columns: 1fr; }
}

/* 首页信任行：律师头像 */
.hero-avatars { align-items: center; }
.hero-avatars img {
  display: block;
  flex: none;
  width: 34px;
  height: 34px;
  margin-left: -8px;
  object-fit: cover;
  object-position: center top;
  background: #EEF2FA;
  border: 2px solid #fff;
  border-radius: 3px;
  box-shadow: 0 2px 6px rgba(31, 42, 140, .14);
}
.hero-avatars img:first-child { margin-left: 0; }

/* 关于我们：导航与内容节奏 */
.about-toc {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 18px;
  padding: 13px 0;
  border-bottom: 1px solid #E7ECF6;
  font-size: 12px;
}
.about-toc > span { color: #9AA9C9; font-size: 10.5px; letter-spacing: .08em; }
.about-toc a { color: var(--ink-2); }
.about-toc a:hover { color: #3B4DE0; }
.about-break {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 44px;
  padding: 48px 0;
  border-bottom: 1px solid #E7ECF6;
}
.about-break-art { margin: 0; padding: 10px; background: #F7FAFF; border: 1px solid #E4EAF6; }
.about-break-art img { display: block; width: 100%; height: auto; }
.about-break-copy h2 { margin-top: 8px; font-size: 27px; line-height: 1.5; color: var(--ink); }
.about-break-copy p { max-width: 640px; margin-top: 12px; font-size: 13.5px; line-height: 2; color: var(--ink-3); }
.about-break-points { display: flex; flex-wrap: wrap; gap: 7px 18px; margin-top: 16px; font-size: 11.5px; color: var(--ink-2); }
.about-break-points span { display: inline-flex; align-items: center; gap: 5px; }
.about-break-points span::before { content: ""; width: 4px; height: 4px; background: #4D61FC; border-radius: 50%; }
.about-case { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 24px; padding: 15px 18px; background: #fff; border-left: 3px solid #4D61FC; }
.about-case-label { flex: none; padding: 3px 7px; font-size: 10px; color: #3B4DE0; background: #EEF2FF; border: 1px solid #D5DEFF; }
.about-case > p { flex: 1 1 400px; font-size: 14px; line-height: 1.8; color: var(--ink); font-weight: 600; }
.about-case-tags { display: flex; flex-wrap: wrap; gap: 5px; flex: none; }
.about-case-tags span { padding: 2px 6px; font-size: 10.5px; color: var(--ink-3); border: 1px solid #DCE5F5; }
@media (max-width: 980px) {
  .about-break { grid-template-columns: 1fr; gap: 24px; }
  .about-break-art { order: -1; max-width: 520px; }
}
@media (max-width: 720px) {
  .about-toc { gap: 5px 12px; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .about-toc::-webkit-scrollbar { display: none; }
  .about-toc > span, .about-toc a { flex: none; }
  .about-break { padding: 34px 0; }
  .about-break-copy h2 { font-size: 23px; }
  .about-case { align-items: flex-start; gap: 9px; }
  .about-case > p { flex-basis: 100%; }
  .about-case-tags { padding-left: 0; }
}

/* 问答详情：平台话题与回答免责声明 */
.qa-disclaimer { display: flex; align-items: flex-start; gap: 7px; margin: 14px 0 4px; padding: 11px 13px; font-size: 11.5px; line-height: 1.8; color: var(--ink-3); background: #F7F9FF; border: 1px solid #E3E8F8; }
.qa-disclaimer .icon { flex: none; width: 14px; height: 14px; margin-top: 2px; color: #4D61FC; }

/* 我的提问：分页 */
#questionsPager[hidden] { display: none !important; }
#questionsPager { margin: 18px 16px 20px; }

/* 问答回答：律师头像 */
.answer-avatar.has-photo { overflow: hidden; padding: 0; background: #EEF2FA; }
.answer-avatar.has-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; border-radius: inherit; }

/* 平台提示：改为浅蓝灰底，与律师回答的暖色区域区分 */
.site-notice {
  background: #F3F6FC;
  border-bottom: 1px solid #D9E2F5;
  border-left: 3px solid #4D61FC;
}
.site-notice-tag { background: #4D61FC; color: #fff; }
.site-notice p { color: #3B4A63; }
.site-notice b { color: #1F2E4D; }
.site-notice-close { color: #7D8FB8; }
.site-notice-close:hover { background: #E7EDFA; color: #3B4DE0; }
.site-notice-close:focus-visible { outline-color: rgba(77, 97, 252, .55); }

/* 问答回答：律师头像/姓名可点击 */
.answer-avatar-link { display: inline-flex; flex: none; }
.answer-lawyer-link { color: inherit; text-decoration: none; }
.answer-lawyer-link:hover { color: var(--blue-deep); }
.answer-avatar-link:hover { transform: translateY(-1px); }

/* 列表页安全提醒：浅蓝底，与律师回答暖色区域区分 */
.page-warning {
  background: #F1F5FD;
  border: 1px solid #D7E1F3;
  border-left: 3px solid #4D61FC;
  box-shadow: none;
}
.page-warning-icon { background: #E4EBFF; color: #3B4DE0; }
.page-warning p { color: #3B4A63; }
.page-warning p b { color: #1F2E4D; }
.page-warning p a { color: #3B4DE0; }
.page-warning p a:hover { color: #4D61FC; }

/* 全站去除蓝色左侧粗边框，统一为普通细边框或无边框 */
.hero-eyebrow,
.article-body h2,
.toc a,
.answer-supplement,
.chat-marketing-points > div { border-left: 0 !important; }
.hero-eyebrow,
.article-body h2,
.toc a,
.chat-marketing-points > div { padding-left: 0; }
.article-body .note { border: 1px solid #D5DEFF; }
.article-lead { border-left: 0; border-radius: var(--radius); }
.answer-supplement { border: 1px solid var(--line); border-radius: var(--radius); }
.toc a:hover { border-left-color: transparent; }
.hero-promise { border-left-color: #4D61FC; }
.tools-hero,
.codex-hero,
.guide-hero,
.legal-hero,
body.account-lawyer .lawyer-center-hero { border-left-width: 1px; border-left-color: #E1E7F3; }
.about-quote,
.about-case { border: 1px solid #E1E7F3; }
.site-notice { border-left: 0; }
.page-warning { border-left-width: 1px; border-left-color: #D7E1F3; }

/* 首页品牌承诺：取消左侧加粗边 */
.hero-promise { border-left-width: 1px; }

/* 首页 Banner 顶部标签 */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px 5px 5px;
  margin-bottom: 16px;
  color: #3B4DE0;
  background: #fff;
  border: 1px solid #D8E2F5;
  border-radius: 3px;
  box-shadow: 0 3px 10px rgba(31, 42, 140, .05);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
}
.hero-eyebrow-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: #4D61FC;
  background: #EEF2FF;
  border-radius: 2px;
}
.hero-eyebrow-icon .icon { width: 13px; height: 13px; }

.hero-eyebrow { border-left: 1px solid #D8E2F5 !important; }

/* 律师列表卡片：长姓名、职务、律所、领域换行对齐 */
.lawyer-card { min-width: 0; }
.lawyer-card-head {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
.lawyer-card-info { min-width: 0; }
.lawyer-name-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "name verified"
    "title title";
  align-items: center;
  gap: 2px 8px;
  min-width: 0;
}
.lawyer-name-row h2 {
  grid-area: name;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lawyer-verified { grid-area: verified; white-space: nowrap; }
.lawyer-card-title {
  grid-area: title;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.5;
}
.lawyer-firm {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lawyer-meta { flex-wrap: nowrap; min-width: 0; overflow: hidden; }
.lawyer-meta .m { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lawyer-tags { flex-wrap: nowrap; overflow: hidden; }
.lawyer-tag { flex: none; white-space: nowrap; }
.lawyer-tag-more { color: var(--ink-3); background: #F5F7FB; border-color: #E5EAF4; }
.lawyer-card-foot { flex-wrap: nowrap; gap: 10px; }
.lawyer-numbers { min-width: 0; flex-wrap: nowrap; gap: 10px; white-space: nowrap; overflow: hidden; }
.lawyer-numbers span { flex: none; }
.lawyer-card-more { flex: none; }

/* ---------------- 即时咨询 ---------------- */
.im-panel-body { padding: 0; }
.im-head-hint { font-size: 12px; color: var(--ink-3); }
.im-login {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 70px 20px; text-align: center; color: var(--ink-3);
}
.im-login .icon { width: 34px; height: 34px; color: var(--blue); }
.im-login p { margin: 0; font-size: 14px; }
.im-app { display: grid; grid-template-columns: 300px minmax(0, 1fr); height: 620px; border-top: 1px solid var(--line); }
.im-conv-pane { display: flex; flex-direction: column; min-width: 0; border-right: 1px solid var(--line); background: #FBFCFE; }
.im-conv-toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 13px 14px; border-bottom: 1px solid var(--line); background: #fff;
}
.im-conv-toolbar > div { display: flex; align-items: baseline; gap: 6px; min-width: 0; }
.im-conv-toolbar b { font-size: 14px; color: var(--ink); }
.im-conv-toolbar span { font-size: 12px; color: var(--ink-4); }
.im-conv-toolbar .btn { flex: none; padding: 5px 8px; font-size: 12px; }
.im-conv-toolbar .btn .icon { width: 12px; height: 12px; }
.im-conv-list { flex: 1; min-height: 0; overflow-y: auto; padding: 6px; }
.im-conv-item {
  display: flex; align-items: flex-start; gap: 9px; width: 100%;
  padding: 10px; margin: 0; border: 1px solid transparent; border-radius: var(--radius);
  background: transparent; color: var(--ink); text-align: left; cursor: pointer;
}
.im-conv-item:hover { background: #F4F7FF; }
.im-conv-item.on { background: #EEF3FF; border-color: #D8E2F8; }
.im-conv-avatar, .im-chat-avatar, .im-lawyer-avatar {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; overflow: hidden; border-radius: var(--radius);
  background: #EEF2FF; color: var(--blue-deep); font-size: 14px; font-weight: 700;
}
.im-conv-avatar img, .im-chat-avatar img, .im-lawyer-avatar img { width: 100%; height: 100%; object-fit: cover; }
.im-conv-main { flex: 1; min-width: 0; }
.im-conv-top { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.im-conv-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 600; }
.im-conv-time { flex: none; font-size: 10.5px; color: var(--ink-4); }
.im-conv-last { margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11.5px; color: var(--ink-3); }
.im-conv-unread { display: inline-flex; min-width: 16px; height: 16px; align-items: center; justify-content: center; padding: 0 4px; margin-left: 4px; border-radius: 8px; background: var(--red); color: #fff; font-size: 10px; }
.im-conv-pager { margin: 8px 6px 10px; }
.im-chat-pane { min-width: 0; background: #fff; }
.im-chat-empty { height: 100%; min-height: 320px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; padding: 30px; text-align: center; color: var(--ink-3); }
.im-chat-empty-icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: var(--radius); background: #F1F5FF; color: var(--blue); }
.im-chat-empty-icon .icon { width: 25px; height: 25px; }
.im-chat-empty h3 { margin: 0; font-size: 17px; color: var(--ink); }
.im-chat-empty p { max-width: 340px; margin: 0; font-size: 12.5px; line-height: 1.75; }
.im-chat-main { display: flex; flex-direction: column; height: 100%; min-height: 0; }
.im-chat-head { display: flex; align-items: center; gap: 10px; flex: none; padding: 11px 16px; border-bottom: 1px solid var(--line); background: #fff; }
.im-chat-head-info { flex: 1; min-width: 0; }
.im-chat-head-info b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.im-chat-head-info span { display: block; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11.5px; color: var(--ink-3); }
.im-chat-status { flex: none; display: inline-flex; align-items: center; gap: 4px; font-size: 11px; color: #2E7D4F; }
.im-chat-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #42A66B; }
.im-chat-status.is-connecting { color: #A06A16; }
.im-chat-status.is-connecting::before { background: #D99A2B; }
.im-messages { flex: 1; min-height: 0; overflow-y: auto; padding: 16px; background: #F8FAFD; }
.im-msg { display: flex; gap: 8px; margin-bottom: 13px; }
.im-msg.is-self { flex-direction: row-reverse; }
.im-msg-bubble { max-width: min(76%, 520px); padding: 8px 11px; border: 1px solid #E3E8F2; border-radius: var(--radius); background: #fff; color: var(--ink-2); font-size: 13.5px; line-height: 1.75; white-space: pre-wrap; overflow-wrap: anywhere; }
.im-msg.is-self .im-msg-bubble { background: var(--blue); border-color: var(--blue); color: #fff; }
.im-msg-meta { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; font-size: 10.5px; color: var(--ink-4); }
.im-msg.is-self .im-msg-meta { justify-content: flex-end; }
.im-msg-time { margin-top: 4px; font-size: 10px; color: var(--ink-4); text-align: right; }
.im-msg.is-self .im-msg-time { color: rgba(255,255,255,.72); }
.im-msg-day { margin: 4px 0 14px; text-align: center; font-size: 10.5px; color: var(--ink-4); }
.im-connection { flex: none; padding: 5px 16px; background: #FFF9EC; color: #8A6420; font-size: 11.5px; text-align: center; }
.im-form { flex: none; padding: 10px 14px 12px; border-top: 1px solid var(--line); background: #fff; }
.im-form textarea { display: block; width: 100%; min-height: 64px; max-height: 130px; resize: vertical; padding: 9px 10px; border: 1px solid var(--line); border-radius: var(--radius); font: inherit; font-size: 13px; line-height: 1.65; color: var(--ink); background: #fff; outline: none; }
.im-form textarea:focus { border-color: var(--blue-line); box-shadow: 0 0 0 3px rgba(77,97,252,.08); }
.im-form-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 7px; }
.im-form-hint { min-width: 0; font-size: 10.5px; color: var(--ink-4); }
.im-form-foot .btn { flex: none; min-width: 74px; padding: 6px 12px; font-size: 12.5px; }
.im-form-error { margin: 7px 0 0; color: #B43324; font-size: 11.5px; }
.im-empty { padding: 26px 12px; text-align: center; color: var(--ink-4); font-size: 12px; line-height: 1.7; }

/* 选择律师弹窗 */
.im-modal-mask { position: fixed; inset: 0; z-index: 1200; display: flex; align-items: center; justify-content: center; padding: 18px; background: rgba(16,30,55,.42); }
.im-modal-mask[hidden] { display: none !important; }
.im-modal { display: flex; flex-direction: column; width: min(760px, 100%); max-height: min(720px, 88vh); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 22px 60px rgba(12,28,54,.22); overflow: hidden; }
.im-modal-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.im-modal-head h2 { margin: 0; font-size: 17px; }
.im-modal-close { border: 0; background: transparent; color: var(--ink-3); font-size: 22px; line-height: 1; cursor: pointer; padding: 2px 5px; }
.im-modal-tools { display: flex; gap: 7px; padding: 12px 16px 4px; }
.im-modal-tools input { flex: 1; min-width: 0; height: 34px; padding: 0 10px; border: 1px solid var(--line); border-radius: var(--radius); font: inherit; font-size: 12.5px; outline: none; }
.im-modal-tools input:focus { border-color: var(--blue-line); }
.im-lawyer-list { flex: 1; min-height: 160px; overflow-y: auto; padding: 10px 16px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; gap: 8px; }
.im-lawyer-item { display: flex; align-items: center; gap: 9px; width: 100%; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-align: left; cursor: pointer; color: var(--ink); }
.im-lawyer-item:hover { border-color: var(--blue-line); background: #F8FAFF; }
.im-lawyer-item .im-lawyer-avatar { width: 42px; height: 42px; }
.im-lawyer-main { flex: 1; min-width: 0; }
.im-lawyer-main b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.im-lawyer-main span { display: block; margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; color: var(--ink-3); }
.im-lawyer-item .btn { flex: none; padding: 4px 8px; font-size: 11px; }
.im-modal .pagination { margin: 4px 16px 14px; }

@media (max-width: 900px) {
  .im-app { grid-template-columns: 1fr; height: auto; }
  .im-conv-pane { border-right: 0; border-bottom: 1px solid var(--line); }
  .im-conv-list { max-height: 226px; }
  .im-chat-main { height: 560px; }
  .im-chat-pane { min-height: 360px; }
  .im-chat-empty { min-height: 300px; }
}
@media (max-width: 620px) {
  .im-panel .panel-head { align-items: flex-start; }
  .im-head-hint { display: none; }
  .im-chat-head { padding: 9px 12px; }
  .im-messages { padding: 12px 10px; }
  .im-form { padding: 8px 10px 10px; }
  .im-msg-bubble { max-width: 84%; }
  .im-lawyer-list { grid-template-columns: 1fr; padding: 8px 12px; }
  .im-modal-tools { padding: 10px 12px 4px; }
  .im-modal .pagination { margin-left: 12px; margin-right: 12px; }
}

/* 即时咨询：窄栏内长消息不产生横向滚动 */
.im-conv-list { overflow-x: hidden; }
.im-conv-item { overflow: hidden; }
.im-conv-main { overflow: hidden; }
.im-conv-last { display: block; }
.im-conv-top { min-width: 0; }

/* 即时咨询：已读/未读状态与未读数字 */
.center-menu a .n.is-unread {
  background: var(--red);
  color: #fff;
  min-width: 18px;
  text-align: center;
}
.center-menu a.on .n.is-unread { background: #fff; color: var(--red); }
.im-conv-state {
  display: inline-flex;
  align-items: center;
  padding: 0 4px;
  margin-right: 3px;
  border-radius: 2px;
  color: var(--ink-4);
  background: #F2F4F8;
  font-size: 9.5px;
  line-height: 1.5;
}
.im-conv-state.is-unread { color: #B43324; background: #FFF1EE; }
@media (max-width: 600px) {
  .center-menu a .n.is-unread { display: inline-flex; min-width: 16px; padding: 1px 5px; font-size: 10px; }
}

/* 限流提示页 429 */
.rate-limit-body { background: #F7F9FD; min-height: 100vh; }
.rate-limit-body .site-header { background: #fff; border-bottom: 1px solid var(--line); }
.rate-limit-page {
  max-width: 560px;
  margin: 8vh auto 10vh;
  padding: 34px 30px 28px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 36px rgba(20, 38, 70, .07);
}
.rate-limit-icon {
  width: 56px; height: 56px; margin: 0 auto 15px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #B7791F; background: #FFF7E6; border: 1px solid #F3D9A4; border-radius: var(--radius);
}
.rate-limit-icon svg { display: block; }
.rate-limit-code {
  display: inline-block; margin-bottom: 9px; padding: 3px 8px;
  color: #8A6420; background: #FFF9EC; border: 1px solid #F1DDB6; border-radius: 3px;
  font-size: 11px; font-weight: 600; letter-spacing: .03em;
}
.rate-limit-page h1 { margin: 0 0 9px; font-size: 25px; color: var(--ink); }
.rate-limit-page p { margin: 0; color: var(--ink-3); font-size: 14px; line-height: 1.8; }
.rate-limit-page p b { color: var(--blue-deep); font-size: 18px; font-variant-numeric: tabular-nums; }
.rate-limit-desc { max-width: 390px; margin: 8px auto 0 !important; font-size: 12.5px !important; }
.rate-limit-actions { display: flex; justify-content: center; gap: 9px; flex-wrap: wrap; margin-top: 20px; }
.rate-limit-note { margin-top: 18px !important; font-size: 11.5px !important; color: var(--ink-4) !important; }
@media (max-width: 600px) {
  .rate-limit-body .brand-sub { display: none; }
  .rate-limit-page { margin: 5vh 14px 8vh; padding: 27px 20px 23px; }
  .rate-limit-page h1 { font-size: 22px; }
}

/* 顶部即时咨询未读提醒 */
.header-consult-notice {
  position: relative;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-left: 2px;
  color: var(--blue-deep);
  background: #F3F6FF;
  border: 1px solid #DCE5FA;
  border-radius: var(--radius);
}
.header-consult-notice:hover { color: var(--blue); background: #EDF2FF; border-color: #C9D6F5; }
.header-consult-notice .icon { width: 16px; height: 16px; }
.header-consult-count {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--red);
  border: 2px solid #fff;
  border-radius: 8px;
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 720px) {
  .header-consult-notice { width: 28px; height: 28px; margin-left: 0; }
  .header-consult-notice .icon { width: 14px; height: 14px; }
  .header-consult-count { top: -4px; right: -4px; min-width: 15px; height: 15px; font-size: 8.5px; }
}

/* 即时咨询独立页 */
.consult-page { min-height: 62vh; padding: 24px 0 58px; background: #F7F9FD; }
.consult-topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.consult-back {
  display: inline-flex; align-items: center; gap: 5px;
  color: var(--ink-3); font-size: 12.5px; font-weight: 500;
}
.consult-back:hover { color: var(--blue-deep); }
.consult-back .icon { width: 14px; height: 14px; }
.consult-topbar-note { display: inline-flex; align-items: center; gap: 5px; color: var(--ink-4); font-size: 11.5px; }
.consult-topbar-note .icon { width: 12px; height: 12px; color: #6C9B7E; }
.consult-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 15px; }
.consult-kicker { display: block; margin-bottom: 4px; color: var(--blue-deep); font-size: 11px; font-weight: 700; letter-spacing: .14em; }
.consult-head h1 { margin: 0; color: var(--ink); font-size: 29px; line-height: 1.3; }
.consult-head p { max-width: 650px; margin: 7px 0 0; color: var(--ink-3); font-size: 13px; line-height: 1.8; }
.consult-head .im-head-hint { flex: none; margin-bottom: 3px; padding: 5px 9px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); white-space: nowrap; }
.consult-box { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 32px rgba(20, 38, 70, .06); }
.consult-box .im-app { height: 650px; border-top: 0; }
.consult-box .im-login { padding-top: 90px; padding-bottom: 90px; }
@media (max-width: 900px) {
  .consult-page { padding-top: 18px; }
  .consult-head { align-items: flex-start; flex-direction: column; gap: 8px; }
  .consult-head h1 { font-size: 25px; }
  .consult-head .im-head-hint { white-space: normal; }
  .consult-box .im-app { height: auto; }
}
@media (max-width: 620px) {
  .consult-topbar-note { display: none; }
  .consult-head h1 { font-size: 23px; }
  .consult-head p { font-size: 12.5px; }
}

/* 即时咨询独立页：视觉优化 */
.consult-page { background: #F4F7FC; }
.consult-head { margin-bottom: 18px; }
.consult-head h1 { font-size: 31px; letter-spacing: -.02em; }
.consult-head p { max-width: 680px; }
.consult-box { border-color: #DCE5F3; box-shadow: 0 18px 46px rgba(20, 38, 70, .08); }
.consult-box .im-app {
  height: clamp(480px, calc(100vh - 290px), 680px);
  grid-template-columns: 290px minmax(0, 1fr);
}
.consult-box .im-conv-toolbar {
  padding: 14px 16px;
  background: #F8FAFE;
  border-bottom-color: #E7ECF5;
}
.consult-box .im-conv-toolbar b { font-size: 14.5px; }
.consult-box .im-conv-toolbar span { font-size: 11.5px; }
.consult-box .im-conv-list { padding: 7px; }
.consult-box .im-conv-item { padding: 11px 12px; gap: 10px; }
.consult-box .im-conv-item:hover { background: #F6F9FF; }
.consult-box .im-conv-item.on { background: #EDF3FF; border-color: #D6E1F8; }
.consult-box .im-conv-avatar { width: 40px; height: 40px; }
.consult-box .im-conv-name { font-size: 13.5px; }
.consult-box .im-conv-last { font-size: 11.5px; }
.consult-box .im-chat-head {
  padding: 12px 18px;
  background: #FBFCFE;
  border-bottom-color: #E7ECF5;
}
.consult-box .im-chat-avatar { width: 36px; height: 36px; }
.consult-box .im-chat-head-info b { font-size: 14.5px; }
.consult-box .im-messages { padding: 18px 20px 20px; background: #F7F9FD; }
.consult-box .im-msg { margin-bottom: 14px; }
.consult-box .im-msg-bubble {
  padding: 9px 12px;
  border-color: #E2E8F2;
  box-shadow: 0 1px 2px rgba(20, 38, 70, .035);
  line-height: 1.8;
}
.consult-box .im-msg.is-self .im-msg-bubble { background: #4D61FC; border-color: #4D61FC; box-shadow: 0 2px 7px rgba(77, 97, 252, .18); }
.consult-box .im-form { padding: 12px 16px 13px; background: #FBFCFE; }
.consult-box .im-form textarea { min-height: 54px; background: #fff; }
.consult-box .im-form-hint { color: #8B97AC; }
.consult-box .im-chat-empty { background: #FBFCFE; }
.consult-box .im-chat-hint { background: transparent; }
.im-msg-day {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 3px 0 16px;
  color: #9AA6B8;
  font-size: 10px;
}
.im-msg-day::before,
.im-msg-day::after { content: ""; width: 36px; height: 1px; margin: 0 8px; background: #E2E8F2; }
.im-msg-day span { padding: 2px 6px; background: #EFF3FA; border-radius: 2px; }
.im-chat-hint { padding: 32px 12px !important; }
@media (max-width: 900px) {
  .consult-box .im-app { height: auto; grid-template-columns: 1fr; }
  .consult-box .im-chat-main { height: 540px; }
  .consult-box .im-conv-list { max-height: 220px; }
}
@media (max-width: 620px) {
  .consult-head h1 { font-size: 24px; }
  .consult-box .im-chat-head { padding: 10px 12px; }
  .consult-box .im-messages { padding: 13px 11px 15px; }
  .consult-box .im-form { padding: 9px 10px 11px; }
  .consult-box .im-chat-main { height: 520px; }
}

/* 即时咨询：固定聊天面板高度，输入框不溢出 */
.consult-box .im-chat-pane { min-height: 0; overflow: hidden; }
.consult-box .im-chat-main { height: 100%; min-height: 0; overflow: hidden; }

/* 即时咨询：压缩输入区，把空间留给消息 */
.consult-box .im-form textarea {
  height: 48px;
  min-height: 48px;
  max-height: 110px;
  resize: none;
  overflow-y: auto;
}
.consult-box .im-form textarea:focus { resize: vertical; }

/* 即时咨询：律师头像可点击 */
a.im-conv-avatar { text-decoration: none; color: inherit; }
a.im-conv-avatar:hover { outline: 2px solid #D6E1FA; outline-offset: 1px; }
.im-chat-avatar-link { flex: none; display: inline-flex; border-radius: var(--radius); }
.im-chat-avatar-link:hover { outline: 2px solid #D6E1FA; outline-offset: 2px; }
.im-conv-item { box-sizing: border-box; font-family: inherit; }
.im-conv-item:focus-visible { outline: 2px solid rgba(77,97,252,.45); outline-offset: -2px; }

/* 即时咨询：消息头像与更高聊天区 */
.consult-box .im-app { height: clamp(540px, calc(100vh - 250px), 720px); }
.im-msg { align-items: flex-start; }
.im-msg-avatar {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-top: 2px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #EEF2FF;
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}
.im-msg-avatar img { width: 100%; height: 100%; object-fit: cover; }
a.im-msg-avatar:hover { outline: 2px solid #D6E1FA; outline-offset: 1px; }
.im-msg.is-self .im-msg-avatar { background: #E8ECF5; color: #52617A; }
.im-msg .im-msg-bubble { max-width: min(72%, 480px); }
@media (max-width: 900px) {
  .consult-box .im-app { height: auto; }
  .consult-box .im-chat-main { height: 600px; }
}
@media (max-width: 620px) {
  .im-msg-avatar { width: 25px; height: 25px; font-size: 11px; }
  .consult-box .im-chat-main { height: 570px; }
}
.im-msg-avatar .icon { width: 15px; height: 15px; }

/* 即时咨询：微信风格聊天气泡 */
.consult-box .im-messages { background: #EDF0F2; }
.consult-box .im-msg { align-items: flex-start; gap: 9px; margin-bottom: 16px; }
.consult-box .im-msg-avatar {
  width: 32px;
  height: 32px;
  margin-top: 0;
  border-radius: 3px;
  background: #fff;
  border: 1px solid #E1E5EA;
  color: #596476;
  font-size: 12px;
}
.consult-box .im-msg-avatar img { border-radius: 2px; }
.consult-box .im-msg-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: min(72%, 480px);
  min-width: 0;
}
.consult-box .im-msg.is-self .im-msg-content { align-items: flex-end; }
.consult-box .im-msg-bubble {
  position: relative;
  max-width: none;
  padding: 9px 12px;
  border: 1px solid #E3E6E8;
  border-radius: 3px;
  background: #fff;
  color: #20262D;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .025);
  line-height: 1.75;
  overflow-wrap: anywhere;
}
.consult-box .im-msg-bubble::before {
  content: "";
  position: absolute;
  top: 11px;
  left: -6px;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-right: 6px solid #fff;
}
.consult-box .im-msg.is-self .im-msg-bubble {
  background: #95EC69;
  border-color: #86DD5C;
  color: #15200F;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .04);
}
.consult-box .im-msg.is-self .im-msg-bubble::before {
  left: auto;
  right: -6px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-right: 0;
  border-left: 6px solid #95EC69;
}
.consult-box .im-msg-time {
  margin-top: 4px;
  padding: 0 2px;
  color: #8B949E;
  font-size: 9.5px;
  line-height: 1.4;
  text-align: left;
}
.consult-box .im-msg.is-self .im-msg-time { color: #8B949E; text-align: right; }
.consult-box .im-msg-avatar.is-self-avatar { border-color: #DDE2E7; }
@media (max-width: 620px) {
  .consult-box .im-msg-avatar { width: 29px; height: 29px; }
  .consult-box .im-msg-content { max-width: 78%; }
  .consult-box .im-msg-bubble { padding: 8px 10px; }
}

/* 即时咨询：气泡改为品牌蓝，输入框加高 */
.consult-box .im-messages { background: #F2F5FB; }
.consult-box .im-msg.is-self .im-msg-bubble {
  background: #4D61FC;
  border-color: #4D61FC;
  color: #fff;
  box-shadow: 0 2px 7px rgba(77, 97, 252, .16);
}
.consult-box .im-msg.is-self .im-msg-bubble::before {
  border-left-color: #4D61FC;
}
.consult-box .im-msg.is-self .im-msg-time { color: #8B97AC; }
.consult-box .im-form textarea {
  height: 82px;
  min-height: 82px;
  max-height: 160px;
}
.consult-box .im-app { height: clamp(520px, calc(100vh - 280px), 700px); }
@media (max-width: 620px) {
  .consult-box .im-form textarea { height: 72px; min-height: 72px; }
}

/* 即时咨询：加大用户/律师头像 */
.consult-box .im-msg-avatar { width: 40px; height: 40px; font-size: 14px; }
.consult-box .im-msg-avatar .icon { width: 18px; height: 18px; }
.consult-box .im-chat-avatar { width: 42px; height: 42px; font-size: 15px; }
.consult-box .im-conv-avatar { width: 44px; height: 44px; font-size: 15px; }
.user-chip .dot { width: 30px; height: 30px; font-size: 13px; }
@media (max-width: 620px) {
  .consult-box .im-msg-avatar { width: 36px; height: 36px; }
  .consult-box .im-msg-avatar .icon { width: 16px; height: 16px; }
  .consult-box .im-chat-avatar { width: 38px; height: 38px; }
  .consult-box .im-conv-avatar { width: 40px; height: 40px; }
  .user-chip .dot { width: 28px; height: 28px; }
}

/* 提问无标题：列表直接展示问题内容 */
.qa-item-title {
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.65;
  margin-bottom: 8px;
}
/* 首页快速提问：去掉标题后恢复字段对齐 */
#quickAskForm > .form-group:nth-child(1),
#quickAskForm > .form-group:nth-child(2) { grid-column: auto; }
#quickAskForm > .form-group:nth-child(3) { grid-column: 1 / -1; }
@media (max-width: 720px) {
  #quickAskForm > .form-group,
  #quickAskForm > .form-group:nth-child(1),
  #quickAskForm > .form-group:nth-child(2),
  #quickAskForm > .form-group:nth-child(3) { grid-column: 1 / -1; }
}

/* 问答详情：无独立标题，问题内容作为主标题 */
.question-block h1.question-title-content {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.8;
  white-space: pre-line;
  color: var(--ink);
}
.question-content { display: none; }

/* 个人中心问题卡片：无标题，内容两行 */
.myq-title {
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.65;
}

/* 律师待解答问题分页 */
#lawyerQueuePager { margin: 16px 16px 18px; }

/* 问答详情：问题卡片视觉优化 */
.question-block {
  padding: 22px 24px 20px;
  background: #fff;
  border-color: #E1E7F3;
  box-shadow: 0 10px 26px rgba(20, 38, 70, .06);
}
.question-block::before { display: none; }
.question-head { gap: 13px; margin-bottom: 10px; }
.question-block h1.question-title-content {
  font-size: 18px;
  line-height: 1.8;
  font-weight: 600;
  letter-spacing: 0;
}
.question-block .article-meta {
  margin: 12px 0 0;
  padding: 11px 0 0;
  border-top: 1px solid #EEF2F8;
  border-bottom: 0;
  gap: 8px 14px;
  font-size: 12.5px;
}
.question-block .article-meta .badge { padding: 2px 8px; }
.question-block > div:empty { display: none; }

/* 个人中心：长问题内容单行省略，避免卡片高度参差不齐 */
.myq-title {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  line-height: 1.6;
}
.myq-top { min-width: 0; }
.myq-body { overflow: hidden; }
.myq-actions { align-self: flex-start; }
@media (max-width: 620px) {
  .myq-title {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
}

/* 我的提问：内容占满整行，元信息和操作独立成行 */
#myQuestions { padding: 4px 18px 12px !important; }
#myQuestions .myq-item {
  display: flex;
  gap: 12px;
  padding: 16px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px dashed #E5EAF3;
}
#myQuestions .myq-item:last-child { border-bottom: 0; }
#myQuestions .myq-item:hover { background: transparent; }
#myQuestions .myq-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  white-space: normal;
  overflow: hidden;
  max-width: 100%;
  margin-bottom: 8px;
  font-size: 15.5px;
  line-height: 1.7;
}
#myQuestions .myq-meta { margin-top: 0; gap: 7px 13px; align-items: center; }
#myQuestions .myq-status { margin: 0; }
#myQuestions .myq-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 11px;
}
#myQuestions .myq-actions .btn { padding: 4px 10px; font-size: 12.5px; }
@media (max-width: 620px) {
  #myQuestions { padding-left: 14px !important; padding-right: 14px !important; }
  #myQuestions .myq-actions { justify-content: flex-start; }
}

/* 手机号授权：状态与操作 */
.overview-auth-state {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.overview-auth-state .btn { padding: 2px 8px; font-size: 11.5px; }
.lawyer-auth-actions { flex: none; display: flex; gap: 6px; align-items: center; }
.lawyer-auth-actions .btn { padding: 3px 9px; font-size: 11.5px; }
.lawyer-auth-phone.is-waiting { color: var(--ink-3); font-size: 12px; font-weight: 400; }
@media (max-width: 720px) {
  .overview-auth-state { width: 100%; padding-left: 49px; flex-direction: row; align-items: center; justify-content: flex-start; }
  .lawyer-auth-actions { width: 100%; padding-left: 0; }
}

/* 个人总览：去掉最近提问后，四张快捷卡改为两列均衡布局 */
#overviewLinks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 700px) {
  #overviewLinks { grid-template-columns: 1fr; }
}

/* 手机号授权记录：卡片化 */
.auth-page-tip {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 10px 13px;
  margin-bottom: 4px;
  background: #F7F9FF;
  border: 1px solid #E3E9F6;
  border-radius: 3px;
}
.auth-page-tip > .icon { flex: none; width: 16px; height: 16px; margin-top: 1px; color: var(--blue); }
.auth-page-tip b { display: block; font-size: 13px; color: var(--ink); }
.auth-page-tip p { margin-top: 2px; font-size: 11.5px; line-height: 1.65; color: var(--ink-3); }
#phoneAuthHistory { display: grid; gap: 10px; }
.auth-card {
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #E5EAF4;
  border-radius: 3px;
}
.auth-card-head { display: flex; align-items: center; gap: 10px; }
.auth-card-head > .badge { margin-left: auto; }
.auth-card-who { min-width: 0; }
.auth-card-who b { display: block; font-size: 13.5px; line-height: 1.5; }
.auth-card-who b a { color: var(--ink); }
.auth-card-who b a:hover { color: var(--blue-deep); }
.auth-card-who em { display: block; margin-top: 1px; font-size: 11.5px; font-style: normal; color: var(--ink-3); }
.auth-card-info {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 12px;
  margin: 12px 0 11px;
  padding: 9px 11px;
  background: #F8FAFD;
  border-radius: 3px;
}
.auth-card-info-item { min-width: 0; }
.auth-card-info-item span { display: block; font-size: 10.5px; color: var(--ink-3); }
.auth-card-info-item strong { display: block; margin-top: 2px; font-size: 12px; font-weight: 500; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.auth-card-phone { color: var(--ink) !important; font-weight: 600 !important; letter-spacing: .02em; }
.auth-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.auth-card-hint { font-size: 11.5px; line-height: 1.6; color: var(--ink-3); }
.auth-card-foot .btn { flex: none; padding: 3px 9px; font-size: 11.5px; }
@media (max-width: 620px) {
  .auth-card-info { grid-template-columns: 1fr 1fr; }
  .auth-card-foot { align-items: flex-start; flex-direction: column; }
  .auth-card-foot .btn { align-self: flex-end; }
}

/* 手机号授权操作确认弹窗 */
.logout-confirm-icon.is-primary {
  color: var(--blue);
  background: var(--blue-soft);
}
.auth-action-confirm-dialog .logout-confirm-desc { margin-top: 10px; }
.auth-action-confirm-dialog .logout-confirm-note { margin-top: 10px; }

/* 授权确认弹窗：使用纯色顶线，避免渐变 */
.auth-action-confirm-dialog .logout-confirm-topline {
  background: var(--blue);
}

/* 消息通知 */
.notice-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 0 12px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--ink-3);
}
.notice-toolbar .btn { flex: none; }
.notice-list { min-height: 120px; }
.notice-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px 4px;
  border-bottom: 1px dashed #E5EAF3;
  cursor: pointer;
  transition: background .18s var(--ease);
}
.notice-item:last-child { border-bottom: 0; }
.notice-item:hover { background: #FBFCFF; }
.notice-item.is-unread { background: #F8FAFF; }
.notice-icon {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  background: var(--blue-soft);
  box-shadow: inset 0 0 0 1px rgba(77,97,252,.08);
}
.notice-icon .icon { width: 17px; height: 17px; }
.notice-icon-register { color: #157347; background: #EAF7F0; }
.notice-icon-answer { color: var(--blue); background: var(--blue-soft); }
.notice-icon-mute, .notice-icon-ban { color: #B15C00; background: #FFF6E8; }
.notice-body { flex: 1; min-width: 0; }
.notice-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.notice-head b { font-size: 14px; color: var(--ink); line-height: 1.55; }
.notice-head time { flex: none; font-size: 11px; color: var(--ink-3); white-space: nowrap; }
.notice-body p { margin-top: 4px; font-size: 12.5px; line-height: 1.75; color: var(--ink-3); }
.notice-dot {
  flex: none;
  width: 7px;
  height: 7px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--blue);
}
@media (max-width: 620px) {
  .notice-head { display: block; }
  .notice-head time { display: block; margin-top: 2px; }
  .notice-item { padding: 13px 2px; }
}

/* 即时咨询：律师申请留电卡片 */
.im-form-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.im-form-actions .btn { min-width: 0; }
.im-phone-request {
  width: min(360px, 78vw);
  padding: 11px 13px;
  background: #fff;
  border: 1px solid #DCE5F4;
  border-radius: 3px;
  box-shadow: 0 2px 8px rgba(20, 38, 70, .05);
}
.im-msg.is-self .im-phone-request { background: #F7F9FF; border-color: #D5DFF4; }
.im-phone-request.is-accepted { border-color: #CDE8D9; }
.im-phone-request.is-declined { border-color: #E6EAF1; opacity: .82; }
.im-phone-request-head { display: flex; align-items: center; gap: 9px; }
.im-phone-request-icon {
  flex: none;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: 3px;
}
.im-phone-request-icon .icon { display: block; width: 15px; height: 15px; }
.im-phone-request-head b { display: block; font-size: 13px; color: var(--ink); line-height: 1.5; }
.im-phone-request-head > div > span { display: block; margin-top: 1px; font-size: 11px; color: var(--ink-3); }
.im-phone-request p { margin-top: 8px; font-size: 12px; line-height: 1.7; color: var(--ink-3); }
.im-phone-request-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 9px;
  padding-top: 8px;
  border-top: 1px dashed #E5EAF3;
  font-size: 10.5px;
  color: var(--ink-3);
}
.im-phone-actions { display: flex; gap: 6px; flex: none; }
.im-phone-actions .btn { padding: 3px 8px; font-size: 11px; }
@media (max-width: 620px) {
  .im-phone-request { width: min(300px, 78vw); }
  .im-phone-request-foot { align-items: flex-start; flex-direction: column; }
  .im-phone-actions { align-self: flex-end; }
}

/* 即时咨询独立页：更紧凑的工作台视觉 */
.consult-page { background: #F3F6FB; }
.consult-topbar { margin-bottom: 12px; }
.consult-head { align-items: flex-start; margin-bottom: 14px; }
.consult-kicker { font-size: 10px; letter-spacing: .16em; margin-bottom: 3px; }
.consult-head h1 { font-size: 24px; letter-spacing: -.01em; }
.consult-head p { max-width: 720px; margin-top: 5px; font-size: 12.5px; line-height: 1.75; }
.consult-head .im-head-hint { display: none; }
.consult-box { border-color: #DDE5F2; box-shadow: 0 10px 28px rgba(20, 38, 70, .06); }
.consult-box .im-app { height: clamp(520px, calc(100vh - 270px), 690px); grid-template-columns: 286px minmax(0, 1fr); }
.consult-box .im-conv-toolbar { padding: 13px 15px; background: #FBFCFE; }
.consult-box .im-conv-toolbar b { font-size: 14px; }
.consult-box .im-conv-list { padding: 7px 8px 9px; }
.consult-box .im-conv-item { padding: 11px 10px; gap: 10px; border-radius: 3px; }
.consult-box .im-conv-item.on { background: #F0F4FF; border-color: #D9E3F7; }
.consult-box .im-conv-avatar { width: 40px; height: 40px; border-radius: 3px; }
.consult-box .im-conv-top { align-items: flex-start; }
.consult-box .im-conv-name { font-size: 13px; }
.consult-box .im-conv-time { padding-top: 1px; font-size: 10px; }
.consult-box .im-conv-last { margin-top: 3px; color: #7C889B; }
.consult-box .im-chat-head { padding: 11px 18px; background: #FBFCFE; border-bottom-color: #E5EAF3; }
.consult-box .im-chat-head-info b { font-size: 14px; }
.consult-box .im-chat-head-info span { font-size: 11px; }
.consult-box .im-messages { padding: 18px 20px 16px; background: #F5F7FB; }
.consult-box .im-msg { gap: 9px; margin-bottom: 15px; }
.consult-box .im-msg-avatar { width: 30px; height: 30px; border-radius: 3px; }
.consult-box .im-msg-bubble {
  max-width: min(68vw, 500px);
  padding: 9px 12px;
  border-radius: 3px;
  font-size: 13px;
  line-height: 1.75;
  box-shadow: 0 1px 2px rgba(20, 38, 70, .035);
}
.consult-box .im-msg.is-self .im-msg-bubble { background: #4D61FC; border-color: #4D61FC; box-shadow: 0 2px 6px rgba(77, 97, 252, .16); }
.consult-box .im-msg-time { margin-top: 5px; font-size: 10px; color: #98A3B4; }
.consult-box .im-msg.is-self .im-msg-time { color: #8C9BF4; }
.consult-box .im-msg-day { margin: 2px 0 15px; }
.consult-box .im-form { padding: 11px 16px 12px; background: #FBFCFE; border-top-color: #E5EAF3; }
.consult-box .im-form textarea { min-height: 50px; padding: 9px 11px; border-color: #DCE4F0; background: #fff; }
.consult-box .im-form textarea:focus { border-color: #B9C8E7; box-shadow: 0 0 0 3px rgba(77, 97, 252, .07); }
.consult-box .im-form-foot { margin-top: 8px; }
.consult-box .im-form-actions .btn-primary { min-width: 82px; }
.consult-box .im-chat-empty { background: #FBFCFE; }
.consult-box .im-chat-empty-icon { background: #EEF3FF; }
.consult-box .im-conv-pager { margin: 6px 8px 8px; }
@media (max-width: 900px) {
  .consult-head h1 { font-size: 22px; }
  .consult-box .im-app { height: auto; }
  .consult-box .im-messages { padding: 15px 14px; }
}
@media (max-width: 620px) {
  .consult-head h1 { font-size: 21px; }
  .consult-head p { font-size: 12px; }
  .consult-box .im-msg-bubble { max-width: 82%; }
  .consult-box .im-chat-head { padding: 9px 12px; }
  .consult-box .im-form { padding: 9px 11px 10px; }
}

/* 即时咨询：更精致的页面框架 */
.consult-page .wrap { max-width: 1200px; }
.consult-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 9px; }
.consult-tags span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  color: #62708A;
  background: #F6F9FE;
  border: 1px solid #E1E8F4;
  border-radius: 3px;
  font-size: 10.5px;
  line-height: 1.5;
}
.consult-tags .icon { width: 11px; height: 11px; color: #6C7CE8; }
.consult-box {
  border-top: 3px solid #4D61FC;
  border-radius: 3px 3px 3px 3px;
  background: #fff;
}
.consult-box .im-app { grid-template-columns: 300px minmax(0, 1fr); }
.consult-box .im-conv-toolbar { padding-top: 15px; padding-bottom: 15px; }
.consult-box .im-conv-list { padding-top: 8px; }
.consult-box .im-chat-head { min-height: 62px; }
.consult-box .im-messages { padding-top: 20px; }
.consult-box .im-form { padding: 12px 18px 13px; }
.consult-box .im-form textarea { min-height: 54px; }
@media (max-width: 900px) {
  .consult-page .wrap { max-width: 1120px; }
  .consult-box .im-app { grid-template-columns: 1fr; }
}

/* 个人中心左侧导航：分组更清晰，避免律师端菜单堆叠 */
.center-menu { position: relative; }
.center-menu::before {
  content: "功能导航";
  display: block;
  padding: 0 12px 7px;
  color: #98A4B7;
  font-size: 10.5px;
  letter-spacing: .08em;
}
body.account-lawyer .center-menu::before { content: "律师工作台"; }
body.account-member .center-menu::before { content: "会员中心"; }
.center-menu a.menu-sep {
  margin-top: 9px;
  border-top: 1px solid #EDF1F7;
  padding-top: 15px;
}
.center-menu a.menu-sep.on { margin-top: 9px; }
@media (max-width: 720px) {
  .center-menu::before { padding-left: 10px; }
}

/* 律师中心资料卡：姓名必须使用深色，避免被旧的白色主题覆盖 */
body.account-lawyer .center-user-card .profile-name,
body.account-lawyer .center-user-card .profile-name #profileName {
  color: var(--ink);
}

/* 输入框焦点：去掉厚重外圈，改为细边框 + 轻微内阴影 */
.form-control:focus,
.ask-quick .form-control:focus,
.chat-input textarea:focus,
.im-form textarea:focus,
.consult-box .im-form textarea:focus,
.complaint-field input[type="text"]:focus,
.complaint-field input[type="tel"]:focus,
.complaint-field textarea:focus {
  outline: none;
  border-color: #A8B9E6;
  background: #FDFEFF;
  box-shadow: inset 0 0 0 1px rgba(77, 97, 252, .05);
}

/* 注册页：普通用户专用、紧凑双列布局 */
.register-page .wrap { max-width: 660px; }
.register-page { padding-bottom: 48px; }
.register-page .breadcrumb { padding-top: 14px; padding-bottom: 2px; }
.register-page .auth-side-note { text-align: left; margin-bottom: 12px; }
.register-page .auth-side-note .t { font-size: 24px; line-height: 1.35; }
.register-page .auth-side-note .d { margin-top: 4px; font-size: 12.5px; }
.register-role-note {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 14px;
  margin-bottom: 9px;
  background: #F5F8FF;
  border: 1px solid #DCE6F7;
  border-radius: 3px;
}
.register-role-icon {
  flex: none;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  background: #EAF0FF;
  border-radius: 3px;
}
.register-role-icon .icon { width: 17px; height: 17px; }
.register-role-note > div { flex: 1; min-width: 0; }
.register-role-note b { display: block; font-size: 13px; color: var(--ink); line-height: 1.5; }
.register-role-note p { margin-top: 2px; font-size: 11.5px; line-height: 1.65; color: var(--ink-3); }
.register-role-link {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 5px 9px;
  color: var(--blue-deep);
  background: #fff;
  border: 1px solid #D3DFF5;
  border-radius: 3px;
  font-size: 11.5px;
  white-space: nowrap;
}
.register-role-link:hover { color: #fff; background: var(--blue); border-color: var(--blue); }
.register-role-link .icon { width: 12px; height: 12px; }
.auth-mini-warning {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  margin: 0 0 12px;
  padding: 0 2px;
  color: var(--ink-3);
  font-size: 11px;
  line-height: 1.65;
}
.auth-mini-warning .icon { flex: none; width: 12px; height: 12px; margin-top: 1px; color: #9AA8BF; }
.auth-mini-warning a { color: var(--blue-deep); text-decoration: underline; text-underline-offset: 2px; }
.register-page .form-card { max-width: 620px; padding: 22px 24px 20px; }
.register-page .form-card-narrow { max-width: 620px; }
.register-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.register-page .form-group { margin-bottom: 14px; }
.register-page .form-label { margin-bottom: 5px; font-size: 13.5px; }
.register-page .form-label .tip { display: block; margin-left: 0; margin-top: 1px; font-size: 11px; }
.register-page .form-control { padding: 9px 11px; font-size: 14px; }
.register-page .form-agree { margin-bottom: 14px !important; }
.register-page .form-foot { margin-top: 11px; }
@media (max-width: 620px) {
  .register-page .wrap { padding-left: 16px; padding-right: 16px; }
  .register-page .auth-side-note .t { font-size: 21px; }
  .register-role-note { align-items: flex-start; flex-wrap: wrap; }
  .register-role-link { margin-left: 45px; }
  .register-grid { grid-template-columns: 1fr; gap: 0; }
  .register-page .form-card { padding: 18px 16px; }
}

/* 注册页：为提示文字预留统一高度，保证两列输入框对齐 */
.register-page .form-label {
  min-height: 44px;
  box-sizing: border-box;
}
.register-page .form-label .tip {
  line-height: 1.45;
}
@media (max-width: 620px) {
  .register-page .form-label { min-height: 0; }
}

/* 注册身份提示放到表单底部 */
.register-page .register-role-note {
  margin: 14px 0 0;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

/* 律师入驻页：压缩首屏与表单，突出申请入口 */
.join-hero {
  padding: 28px 32px;
  gap: 26px;
  margin-bottom: 16px;
  grid-template-columns: minmax(0, 1fr) 320px;
}
.join-hero h1 { font-size: 30px; line-height: 1.3; }
.join-hero p { max-width: 580px; margin-top: 8px; font-size: 13px; line-height: 1.75; }
.join-hero .eyebrow { margin-bottom: 7px; font-size: 10.5px; }
.join-hero-actions { margin-top: 17px; gap: 8px; }
.join-hero .btn-hero-primary,
.join-hero .btn-hero-ghost { padding: 9px 16px; font-size: 13px; }
.join-hero-card { padding: 16px; }
.join-hero-card-head { margin-bottom: 10px; }
.join-hero-steps { gap: 8px; }
.join-hero-steps li > b { width: 25px; height: 25px; }
.join-hero-steps li > div { font-size: 12.5px; }
.join-hero-people { margin-top: 12px; padding-top: 10px; }
.join-warning { margin-bottom: 14px; padding: 10px 14px; }
.join-warning h2 { font-size: 13.5px; margin-bottom: 1px; }
.join-warning p { font-size: 12px; line-height: 1.65; }
.join-warning-icon { width: 31px; height: 31px; }
.join-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 18px; }
.join-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-content: start; }
.join-benefit { padding: 12px; gap: 9px; }
.join-benefit .ico { width: 32px; height: 32px; }
.join-benefit .ico .icon { width: 16px; height: 16px; }
.join-benefit h3 { font-size: 13.5px; margin-bottom: 3px; }
.join-benefit p { font-size: 11.5px; line-height: 1.65; }
.join-benefits .join-faq,
.join-benefits > .panel { grid-column: 1 / -1; }
.join-faq .panel-head, .join-benefits > .panel .panel-head { padding: 10px 13px; }
.join-faq .panel-head h2, .join-benefits > .panel .panel-head h2 { font-size: 13px; }
.join-faq .panel-body, .join-benefits > .panel .panel-body { padding: 10px 13px 12px; }
.join-faq-item + .join-faq-item { margin-top: 9px; }
.join-faq-item b { font-size: 12.5px; }
.join-faq-item p { margin-top: 3px; font-size: 11.5px; line-height: 1.65; }
.join-benefits > .panel ul { gap: 5px !important; font-size: 12px !important; line-height: 1.65 !important; }
.join-form .form-card { padding: 22px 24px; }
.join-form .form-title { font-size: 20px; }
.join-form .form-desc { margin: 4px 0 11px; font-size: 12.5px; line-height: 1.7; }
.join-form .alert-info { padding: 8px 10px; margin: 0 0 12px !important; font-size: 11.5px; line-height: 1.65; }
.join-form-section { margin: 12px 0 10px; padding-bottom: 6px; }
.join-form-section span { font-size: 9.5px; }
.join-form-section b { font-size: 13.5px; }
.join-form-section em { font-size: 10.5px; }
.join-form .form-group { margin-bottom: 11px; }
.join-form .form-row { gap: 12px; }
.join-form .form-label { margin-bottom: 4px; font-size: 12.5px; }
.join-form .form-control { padding: 8px 10px; font-size: 13px; }
.join-form #joinSubmit { min-height: 42px; }
.join-form textarea.form-control { min-height: 76px; }
.join-form .join-field-hint { margin-top: 4px; font-size: 11px; line-height: 1.6; }
.join-verify-links { margin-top: 6px; gap: 4px 6px; }
.join-verify-links a, .join-verify-links > span { padding: 3px 6px; font-size: 10.5px; }
.join-note { font-size: 11.5px !important; line-height: 1.6 !important; }
@media (max-width: 980px) {
  .join-hero { grid-template-columns: 1fr; padding: 26px 24px; }
  .join-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .join-hero { padding: 22px 18px; }
  .join-hero h1 { font-size: 24px; }
  .join-benefits { grid-template-columns: 1fr; }
  .join-form .form-card { padding: 18px 16px; }
  .join-form .form-row { grid-template-columns: 1fr; gap: 0; }
}

/* 律师入驻：为标签提示预留高度，保证同一行输入框对齐 */
.join-form .form-label {
  min-height: 34px;
  box-sizing: border-box;
}
@media (max-width: 640px) {
  .join-form .form-label { min-height: 0; }
}

/* 登录验证码 */
.captcha-row { display: flex; align-items: stretch; gap: 8px; }
.captcha-row .form-control {
  flex: 1;
  min-width: 0;
  text-align: center;
  letter-spacing: .18em;
  font-size: 17px;
}
.captcha-refresh {
  flex: none;
  width: 120px;
  height: 42px;
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 3px;
  cursor: pointer;
}
.captcha-refresh:hover { border-color: #B9C8E7; }
.captcha-refresh img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 420px) {
  .captcha-refresh { width: 104px; }
}

/* 登录验证码：输入框与图片重新对齐 */
.captcha-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px;
  gap: 10px;
  align-items: stretch;
}
.captcha-row .form-control.captcha-input {
  flex: none;
  width: 100%;
  height: 42px;
  padding: 0 13px;
  text-align: left;
  letter-spacing: 0;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  background: #fff;
}
.captcha-input::placeholder {
  letter-spacing: 0;
  color: #A4AFC1;
  font-size: 13px;
}
.captcha-refresh {
  width: 120px;
  height: 42px;
  border-color: #DCE4F0;
  background: #F9FBFF;
}
.captcha-refresh:hover { border-color: #B9C8E7; background: #fff; }
@media (max-width: 420px) {
  .captcha-row { grid-template-columns: minmax(0, 1fr) 104px; gap: 8px; }
  .captcha-refresh { width: 104px; }
}

/* 律师入驻：居中申请表单 + 底部可展开 FAQ */
.join-form-centered {
  max-width: 820px;
  margin: 0 auto 16px;
}
.join-form-centered .form-card {
  padding: 26px 30px 22px;
}
.join-form-centered .form-title,
.join-form-centered .form-desc {
  text-align: center;
}
.join-form-centered .form-row { gap: 16px; }
.join-form-centered .form-group { margin-bottom: 13px; }
.join-form-centered .form-control { height: 42px; padding: 9px 12px; }
.join-form-centered textarea.form-control { height: auto; min-height: 92px; }
.join-form-centered .join-form-section { margin: 16px 0 11px; }
.join-form-centered #joinSubmit { min-height: 44px; margin-top: 4px; }
.join-form-centered .join-note { max-width: none; text-align: center; margin-top: 10px; }

.join-faq-section {
  max-width: 820px;
  margin: 0 auto;
  padding: 4px 0 8px;
}
.join-faq-section-head { padding: 7px 2px 11px; }
.join-faq-section-head h2 { font-size: 18px; color: var(--ink); }
.join-faq-section-head p { margin-top: 3px; font-size: 12px; color: var(--ink-3); }
.join-faq-details {
  background: #fff;
  border: 1px solid #E1E7F3;
  border-radius: 3px;
  margin-bottom: 8px;
}
.join-faq-details summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 16px;
  list-style: none;
  cursor: pointer;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.5;
}
.join-faq-details summary::-webkit-details-marker { display: none; }
.join-faq-details summary::after {
  content: "+";
  flex: none;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #60709A;
  background: #F3F6FC;
  border: 1px solid #E1E8F4;
  border-radius: 3px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
}
.join-faq-details[open] summary::after { content: "−"; color: var(--blue); background: #EEF3FF; border-color: #D5DFF5; }
.join-faq-details-body { padding: 0 16px 14px; color: var(--ink-3); font-size: 12.5px; line-height: 1.8; }
.join-faq-details-body p { margin: 0; }
.join-faq-details-body ul { display: grid; gap: 4px; padding-left: 18px; list-style: disc; }
.join-faq-benefit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
.join-faq-benefit-grid b { display: block; color: var(--ink-2); font-size: 12.5px; }
.join-faq-benefit-grid p { margin-top: 2px; font-size: 11.5px; line-height: 1.65; }
@media (max-width: 640px) {
  .join-form-centered .form-card { padding: 19px 16px 17px; }
  .join-form-centered .form-row { gap: 0; }
  .join-form-centered .form-control { height: 40px; }
  .join-faq-benefit-grid { grid-template-columns: 1fr; }
  .join-faq-section-head h2 { font-size: 16.5px; }
}

/* 律师入驻：取消顶部大 Banner，表单直接进入 */
.join-form-centered { margin-top: 2px; }
.join-form-centered .form-title {
  font-size: 24px;
  line-height: 1.4;
  margin-bottom: 4px;
}
@media (max-width: 640px) {
  .join-form-centered .form-title { font-size: 21px; }
}

/* 律师入驻提示：与居中表单同宽，去掉厚左边框和渐变 */
.join-warning {
  max-width: 820px;
  margin: 0 auto 14px;
  padding: 10px 14px;
  align-items: center;
  gap: 10px;
  background: #FFFBF5;
  border: 1px solid #EFDFC7;
  border-left: 1px solid #EFDFC7;
  border-radius: 3px;
  box-shadow: none;
}
.join-warning-icon {
  width: 30px;
  height: 30px;
  color: #A66B18;
  background: #FFF3E2;
  border: 1px solid #F0DFC7;
}
.join-warning-icon .icon { width: 15px; height: 15px; }
.join-warning h2 {
  margin: 0 0 1px;
  font-size: 12.5px;
  line-height: 1.5;
  color: #815817;
}
.join-warning p {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.65;
  color: #78664D;
}
.join-warning b { color: #9B5B14; }
@media (max-width: 640px) {
  .join-warning { padding: 9px 11px; gap: 8px; }
  .join-warning-icon { width: 27px; height: 27px; }
  .join-warning h2 { font-size: 12px; }
  .join-warning p { font-size: 11px; }
}

/* 入驻提示文字稍微提亮，保持与表单一致的可读性 */
.join-warning h2 { font-size: 13px; }
.join-warning p { font-size: 12px; line-height: 1.7; color: #6F5F49; }

/* 指定律师提问：主表单 + 右侧说明 */
.ask-page {
  background: #F4F7FC;
  padding-bottom: 48px;
}
.ask-page .page-warning {
  max-width: 980px;
  margin: 0 auto 14px;
  padding: 9px 13px;
  align-items: center;
  gap: 9px;
  background: #F8FAFF;
  border: 1px solid #E2E9F5;
  border-left: 1px solid #E2E9F5;
  border-radius: 3px;
  box-shadow: none;
}
.ask-page .page-warning-icon {
  width: 28px;
  height: 28px;
  color: var(--blue);
  background: #EEF3FF;
}
.ask-page .page-warning-icon .icon { width: 14px; height: 14px; }
.ask-page .page-warning p { font-size: 11.5px; line-height: 1.65; color: var(--ink-3); }
.ask-page .page-warning b { color: var(--ink-2); }
.ask-lawyer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 292px;
  gap: 18px;
  align-items: start;
  max-width: 980px;
  margin: 0 auto;
}
.ask-page .form-card.ask-lawyer-form {
  max-width: none;
  margin: 0;
  padding: 26px 28px 22px;
}
.ask-page .ask-lawyer-form::before { background: #4D61FC; }
.ask-page .ask-lawyer-form .form-title { font-size: 23px; padding-bottom: 0; }
.ask-page .ask-lawyer-form .form-title::after { display: none; }
.ask-page .ask-lawyer-form .form-desc { margin-bottom: 14px; font-size: 12.5px; line-height: 1.75; }
.ask-page .ask-lawyer-form .alert-info {
  margin-bottom: 16px;
  padding: 9px 11px;
  font-size: 11.5px;
  line-height: 1.7;
}
.ask-page .ask-lawyer-form .form-group { margin-bottom: 14px; }
.ask-page .ask-lawyer-form .form-label { margin-bottom: 6px; font-size: 13.5px; }
.ask-page .ask-lawyer-form .form-label .tip { display: block; margin-left: 0; margin-top: 1px; font-size: 11px; }
.ask-page .ask-lawyer-form .form-control { padding: 9px 11px; font-size: 13.5px; }
.ask-page .ask-lawyer-form textarea.form-control { min-height: 148px; }
.ask-lawyer-fields { gap: 14px; }
.ask-lawyer-fields .form-group { min-width: 0; }
.ask-page .ask-lawyer-form .form-agree { margin-bottom: 14px !important; font-size: 11.5px; }
.ask-page .ask-lawyer-form .btn-block { min-height: 44px; }

.ask-lawyer-aside { display: grid; gap: 12px; }
.ask-side-card {
  padding: 16px;
  background: #fff;
  border: 1px solid #E1E7F3;
  border-radius: 3px;
}
.ask-side-privacy { background: #F8FAFF; border-color: #DCE6F7; }
.ask-side-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--blue-deep);
  font-size: 10.5px;
  font-weight: 600;
}
.ask-side-eyebrow .icon { width: 12px; height: 12px; }
.ask-side-card h2 { margin: 5px 0 5px; font-size: 16px; color: var(--ink); line-height: 1.45; }
.ask-side-card h3 { display: flex; align-items: center; gap: 5px; font-size: 13px; color: var(--ink); }
.ask-side-card h3 .icon { width: 14px; height: 14px; color: var(--blue); }
.ask-side-card p { margin-top: 5px; color: var(--ink-3); font-size: 11.5px; line-height: 1.7; }
.ask-side-list { display: grid; gap: 6px; margin-top: 9px; }
.ask-side-list li { position: relative; padding-left: 13px; color: var(--ink-2); font-size: 11.5px; line-height: 1.6; }
.ask-side-list li::before { content: ""; position: absolute; left: 1px; top: 7px; width: 4px; height: 4px; border-radius: 50%; background: #8EA4D8; }
.ask-side-public {
  display: block;
  padding: 14px 16px;
  color: #fff;
  background: #4D61FC;
  border-radius: 3px;
  text-decoration: none;
}
.ask-side-public span { display: block; font-size: 11px; color: rgba(255,255,255,.72); }
.ask-side-public b { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 4px; font-size: 13px; font-weight: 500; }
.ask-side-public .icon { width: 14px; height: 14px; }
.ask-side-public:hover { color: #fff; background: #3F52E8; }
@media (max-width: 900px) {
  .ask-lawyer-layout { grid-template-columns: 1fr; max-width: 700px; }
  .ask-lawyer-aside { grid-template-columns: 1fr 1fr; }
  .ask-side-public { grid-column: 1 / -1; }
  .ask-page .page-warning { max-width: 700px; }
}
@media (max-width: 640px) {
  .ask-page .form-card.ask-lawyer-form { padding: 20px 16px 17px; }
  .ask-lawyer-aside { grid-template-columns: 1fr; }
  .ask-side-public { grid-column: auto; }
  .ask-page .ask-lawyer-form .form-row { grid-template-columns: 1fr; gap: 0; }
  .ask-page .page-warning { max-width: none; }
}

/* 指定律师提问：改为上表单、下 FAQ */
.ask-page .page-warning { max-width: 820px; }
.ask-lawyer-layout {
  display: block;
  max-width: 820px;
  margin: 0 auto;
}
.ask-page .form-card.ask-lawyer-form {
  width: 100%;
  max-width: none;
  margin: 0;
}
.ask-page .ask-lawyer-form .form-desc { max-width: none; }
.ask-page .ask-lawyer-form .form-control { font-size: 14px; }
.ask-page .ask-lawyer-form textarea.form-control { min-height: 180px; }
.ask-page .ask-lawyer-form .form-agree { margin-bottom: 16px !important; }
.ask-page .ask-lawyer-form .btn-block { min-height: 46px; }

.ask-faq-section {
  margin-top: 18px;
}
.ask-faq-head { padding: 4px 2px 11px; }
.ask-faq-head h2 { font-size: 18px; color: var(--ink); }
.ask-faq-head p { margin-top: 3px; font-size: 12px; color: var(--ink-3); }
.ask-faq-details {
  margin-bottom: 8px;
  background: #fff;
  border: 1px solid #E1E7F3;
  border-radius: 3px;
}
.ask-faq-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 16px;
  list-style: none;
  cursor: pointer;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.5;
}
.ask-faq-details summary::-webkit-details-marker { display: none; }
.ask-faq-details summary::after {
  content: "+";
  flex: none;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #60709A;
  background: #F3F6FC;
  border: 1px solid #E1E8F4;
  border-radius: 3px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
}
.ask-faq-details[open] summary::after { content: "−"; color: var(--blue); background: #EEF3FF; border-color: #D5DFF5; }
.ask-faq-body { padding: 0 16px 14px; color: var(--ink-3); font-size: 12.5px; line-height: 1.8; }
.ask-faq-body p { margin: 0; }
.ask-faq-body ul { display: grid; gap: 4px; padding-left: 18px; margin-top: 6px; list-style: disc; }
.ask-faq-link { display: inline-flex; align-items: center; gap: 4px; margin-top: 9px; color: var(--blue-deep); font-size: 12.5px; }
.ask-faq-link .icon { width: 13px; height: 13px; }
.ask-faq-link:hover { color: var(--blue); }
@media (max-width: 640px) {
  .ask-page .form-card.ask-lawyer-form { padding: 20px 16px 17px; }
  .ask-page .ask-lawyer-form .form-row { grid-template-columns: 1fr; gap: 0; }
  .ask-page .form-card.ask-lawyer-form textarea.form-control { min-height: 150px; }
  .ask-faq-head h2 { font-size: 16.5px; }
}

/* 公开提问：上表单、下 FAQ，与指定律师提问保持一致 */
.ask-page .ask-layout {
  display: block;
  max-width: 820px;
  margin: 0 auto;
}
.ask-page .ask-main { max-width: none; }
.ask-page .ask-layout .page-warning { max-width: 820px; margin-bottom: 14px; }
.ask-page .ask-layout .form-card {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 26px 28px 22px;
}
.ask-page .ask-layout .form-title { font-size: 23px; padding-bottom: 0; }
.ask-page .ask-layout .form-title::after { display: none; }
.ask-page .ask-layout .form-desc { margin-bottom: 14px; font-size: 12.5px; line-height: 1.75; }
.ask-page .ask-layout .form-group { margin-bottom: 14px; }
.ask-page .ask-layout .form-label { margin-bottom: 6px; font-size: 13.5px; }
.ask-page .ask-layout .form-label .tip { display: block; margin-left: 0; margin-top: 1px; font-size: 11px; }
.ask-page .ask-layout .form-control { padding: 9px 11px; font-size: 13.5px; }
.ask-page .ask-layout textarea.form-control { min-height: 180px; }
.ask-page .ask-layout .ask-form-row { gap: 14px; }
.ask-page .ask-layout .form-agree { margin-bottom: 14px !important; font-size: 11.5px; }
.ask-page .ask-layout .btn-block { min-height: 46px; }
.ask-public-faq { margin-top: 18px; }
.ask-public-faq .ask-faq-body b { color: var(--ink-2); font-weight: 600; }
@media (max-width: 640px) {
  .ask-page .ask-layout .form-card { padding: 20px 16px 17px; }
  .ask-page .ask-layout .ask-form-row { grid-template-columns: 1fr; gap: 0; }
  .ask-page .ask-layout textarea.form-control { min-height: 150px; }
  .ask-public-faq .ask-faq-head h2 { font-size: 16.5px; }
}

/* 全站侧边栏：最新问答 / 热门资讯 / 热门问题 */
.layout-aside { gap: 15px; }
.layout-aside .panel {
  overflow: hidden;
  border-top: 3px solid #4D61FC;
  box-shadow: 0 6px 18px rgba(20, 38, 70, .045);
}
.layout-aside .panel-head {
  padding: 12px 15px;
  background: #F8FAFF;
  border-bottom-color: #E6ECF7;
}
.layout-aside .panel-head h2 {
  gap: 7px;
  color: #29344A;
  font-size: 14.5px;
  line-height: 1.4;
}
.layout-aside .panel-head h2 .icon {
  width: 15px;
  height: 15px;
  color: #4D61FC;
}
.layout-aside .panel-head .section-more {
  color: #7C8AA2;
  font-size: 11px;
}
.layout-aside .panel-head .section-more:hover { color: #3B4DE0; }
.layout-aside .panel-body { padding: 8px 14px 10px; }
.layout-aside .panel .panel-body[style] { padding: 4px 14px 8px !important; }
.layout-aside .rank-list li + li { border-top: 1px solid #F0F3F8; }
.layout-aside .rank-list a {
  gap: 9px;
  padding: 9px 5px;
  border-radius: 2px;
  color: #536176;
  font-size: 12.5px;
  line-height: 1.65;
}
.layout-aside .rank-list a:hover {
  color: #3B4DE0;
  background: #F7F9FE;
}
.layout-aside .rank-list .n,
.layout-aside .rank-list li:nth-child(1) .n,
.layout-aside .rank-list li:nth-child(2) .n,
.layout-aside .rank-list li:nth-child(3) .n,
.layout-aside .rank-list li:first-child .n {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 2px;
  box-shadow: none;
  font-size: 10.5px;
  font-weight: 600;
}
.layout-aside .rank-list li:nth-child(1) .n { color: #fff; background: #4D61FC; }
.layout-aside .rank-list li:nth-child(2) .n,
.layout-aside .rank-list li:nth-child(3) .n { color: #3B4DE0; background: #E9EEFF; }
.layout-aside .rank-list li:nth-child(n+4) .n { color: #8492A8; background: #F3F6FB; }

/* 全站卡片去顶部蓝条：改用整体细边框与留白区分 */
.form-card::before,
.ask-quick::before,
.chat-page .chat-card::before,
.profile-card::before,
.article-news::before,
.lp-card::before,
.center-user-card::before,
.site-footer::before,
.question-block::before {
  display: none !important;
  content: none !important;
}

.layout-aside .panel,
.consult-box,
.qa-recommend-panel,
.news-recommend-panel,
.lawyer-ad,
.account-member .center-panel,
.account-lawyer .center-panel,
.account-lawyer .center-user-card {
  border-top: 1px solid var(--line) !important;
}

.about-item { border-top: 1px solid var(--line) !important; }
.about-principles > div { border-top: 1px solid var(--line) !important; }
.about-cta { border-top: 1px solid var(--line) !important; }

/* 问答详情：右侧相关问题单行省略 */
.qa-related-panel .rank-list a {
  min-width: 0;
  align-items: center;
}
.qa-related-panel .rank-list .rank-text {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.qa-related-panel .rank-list .n { margin-top: 0; }

/* 修改密码弹窗 */
.password-modal-dialog { width: min(420px, 100%); }
.password-modal-dialog .logout-confirm-inner { padding: 20px 22px 18px; }
.password-modal-dialog .logout-confirm-desc { margin-top: 8px; font-size: 12px; line-height: 1.7; }
.password-modal-dialog .form-group { margin-bottom: 11px; }
.password-modal-dialog .form-label { margin-bottom: 5px; font-size: 12.5px; }
.password-modal-dialog .form-control { height: 40px; padding: 8px 10px; font-size: 13.5px; }
.password-modal-dialog .logout-confirm-actions { margin-top: 15px; }
.password-modal-dialog .form-error { display: none; margin-top: 7px; font-size: 11.5px; }
.password-modal-dialog .form-error.show { display: block; }

/* 修改密码弹窗：去掉顶部渐变线 */
.password-modal-dialog .logout-confirm-topline { display: none; }
.password-modal-dialog .logout-confirm-inner { padding-top: 22px; }

/* 律师主页：最近解答卡片 */
#lawyerCases {
  padding: 6px 16px 16px;
  background: #F8FAFD;
}
.lawyer-case {
  position: relative;
  padding: 14px 15px 12px;
  margin-top: 10px;
  background: #fff;
  border: 1px solid #E5EAF4;
  border-radius: 3px;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease), transform .18s var(--ease);
}
.lawyer-case:first-child { margin-top: 0; }
.lawyer-case:hover {
  border-color: #CAD7EF;
  box-shadow: 0 5px 14px rgba(20, 38, 70, .055);
  transform: translateY(-1px);
}
.lawyer-case-top { gap: 8px; margin-bottom: 7px; }
.lawyer-case-mark {
  flex: none;
  width: 21px;
  height: 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #3B4DE0;
  background: #EEF3FF;
  border: 1px solid #D8E2F7;
  border-radius: 2px;
  font-size: 10.5px;
  font-weight: 600;
}
.lawyer-case-top .lawyer-case-date { margin-left: auto; }
.lawyer-case h3 {
  font-size: 14.5px;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.lawyer-case h3 a { color: #263247; }
.lawyer-case h3 a:hover { color: #3B4DE0; }
.lawyer-case-foot {
  display: flex;
  justify-content: flex-end;
  margin-top: 7px;
  padding-top: 7px;
  border-top: 1px solid #F0F3F8;
}
.lawyer-case-foot a {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #6D7B92;
  font-size: 11px;
}
.lawyer-case-foot a:hover { color: #3B4DE0; }
.lawyer-case-foot .icon { width: 11px; height: 11px; }
@media (max-width: 640px) {
  #lawyerCases { padding: 4px 12px 12px; }
  .lawyer-case { padding: 13px 12px 11px; }
  .lawyer-case h3 { font-size: 13.5px; }
}

/* 律师最近解答：改为平铺列表，不使用卡片套卡片和粗体 */
#lawyerCases {
  padding: 0;
  background: #fff;
}
.lawyer-case {
  padding: 15px 18px 13px;
  margin: 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #F0F3F8;
  border-radius: 0;
  box-shadow: none;
  transform: none;
}
.lawyer-case:last-child { border-bottom: 0; }
.lawyer-case:hover {
  background: #FBFCFF;
  border-color: #F0F3F8;
  box-shadow: none;
  transform: none;
}
.lawyer-case-top { margin-bottom: 6px; }
.lawyer-case-mark {
  color: #5F77A8;
  background: #F2F6FD;
  border-color: #E3EAF5;
  font-weight: 400;
}
.lawyer-case-top .badge { font-weight: 400; }
.lawyer-case h3 {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  color: #36445C;
}
.lawyer-case h3 a { color: #36445C; font-weight: 400; }
.lawyer-case h3 a:hover { color: #3B4DE0; }
.lawyer-case-foot {
  margin-top: 6px;
  padding-top: 0;
  border-top: 0;
}
.lawyer-case-foot a {
  color: #8492A8;
  font-size: 11px;
  font-weight: 400;
}
.lawyer-case-foot a:hover { color: #3B4DE0; }

/* 首页 Hero：缓慢漂浮的背景光晕 */
.hero-orb {
  position: absolute;
  z-index: 0;
  display: block;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(18px);
  opacity: .55;
  will-change: transform;
}
.hero-orb-a {
  width: 340px;
  height: 340px;
  top: -80px;
  right: 8%;
  background: radial-gradient(circle, rgba(113, 132, 255, .28) 0%, rgba(113, 132, 255, 0) 70%);
  animation: heroOrbA 18s ease-in-out infinite alternate;
}
.hero-orb-b {
  width: 260px;
  height: 260px;
  left: -100px;
  bottom: -70px;
  background: radial-gradient(circle, rgba(240, 217, 168, .35) 0%, rgba(240, 217, 168, 0) 70%);
  animation: heroOrbB 22s ease-in-out infinite alternate;
}
.hero-orb-c {
  width: 180px;
  height: 180px;
  left: 38%;
  top: 32%;
  background: radial-gradient(circle, rgba(77, 206, 252, .18) 0%, rgba(77, 206, 252, 0) 72%);
  animation: heroOrbC 16s ease-in-out infinite alternate;
}
.hero::before { animation: heroRing 24s ease-in-out infinite alternate; }
.hero::after { animation: heroGlow 26s ease-in-out infinite alternate; }
@keyframes heroOrbA {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-24px, 22px, 0) scale(1.08); }
}
@keyframes heroOrbB {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(30px, -18px, 0) scale(1.1); }
}
@keyframes heroOrbC {
  from { transform: translate3d(0, 0, 0); opacity: .45; }
  to { transform: translate3d(18px, -14px, 0); opacity: .7; }
}
@keyframes heroRing {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-18px, 16px, 0) scale(1.04); }
}
@keyframes heroGlow {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(20px, -14px, 0) scale(1.06); }
}
@media (max-width: 720px) {
  .hero-orb { display: none; }
  .hero::before, .hero::after { animation: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-orb,
  .hero::before,
  .hero::after { animation: none !important; }
}

/* 智能问答：AI 回答与次数提示 */
.msg.agent .msg-bubble { white-space: pre-wrap; }
.chat-quota { margin-top: 8px; font-size: 12px; color: var(--blue-deep); font-weight: 500; }
.chat-quota.is-empty { color: #B3412F; }

/* 即时咨询：日期/时间字号可读性 */
.consult-box .im-conv-time { font-size: 11.5px; color: #7A8498; }
.consult-box .im-msg-time { font-size: 11.5px; color: #7A8498; }
.consult-box .im-msg.is-self .im-msg-time { color: #6F7F9A; }
.consult-box .im-msg-day { font-size: 11.5px; color: #8A94A6; }
.consult-box .im-msg-meta { font-size: 11px; }
@media (max-width: 620px) {
  .consult-box .im-conv-time,
  .consult-box .im-msg-time { font-size: 11px; }
}

/* 即时咨询：日期/时间使用 14px */
.consult-box .im-conv-time,
.consult-box .im-msg-time,
.consult-box .im-msg-day {
  font-size: 14px;
}
.consult-box .im-msg-time { line-height: 1.5; }
.consult-box .im-conv-time { line-height: 1.4; }
@media (max-width: 620px) {
  .consult-box .im-conv-time,
  .consult-box .im-msg-time,
  .consult-box .im-msg-day { font-size: 14px; }
}

/* 即时咨询：空会话提示优化 */
.consult-box .im-chat-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 340px;
  padding: 36px 20px !important;
  text-align: center;
  background: transparent !important;
}
.consult-box .im-chat-hint-icon {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border: 1px solid #DCE5F5;
  border-radius: 50%;
  background: #F3F6FD;
  color: #4D61FC;
}
.consult-box .im-chat-hint-icon .icon { width: 23px; height: 23px; }
.consult-box .im-chat-hint-title {
  margin-bottom: 5px;
  color: #263247;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.4;
}
.consult-box .im-chat-hint-desc {
  max-width: 260px;
  margin: 0;
  color: #7A8498;
  font-size: 13px;
  line-height: 1.8;
}
.consult-box .im-chat-hint-tip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  padding: 7px 11px;
  border: 1px solid #F1E1BF;
  border-radius: 999px;
  background: #FFF8E9;
  color: #96691A;
  font-size: 12px;
  line-height: 1.4;
  text-align: left;
}
.consult-box .im-chat-hint-tip .icon { width: 14px; height: 14px; flex: none; color: #B98523; }
@media (max-width: 620px) {
  .consult-box .im-chat-hint { min-height: 280px; padding: 24px 16px !important; }
  .consult-box .im-chat-hint-title { font-size: 15px; }
  .consult-box .im-chat-hint-tip { font-size: 11.5px; }
}

/* 即时咨询：对话正文可读性 */
.consult-box .im-msg-bubble {
  font-size: 15px;
  line-height: 1.8;
}
.consult-box .im-form textarea {
  font-size: 14px;
  line-height: 1.7;
}
.consult-box .im-conv-last {
  font-size: 12.5px;
}
@media (max-width: 620px) {
  .consult-box .im-msg-bubble { font-size: 15px; }
  .consult-box .im-form textarea { font-size: 14px; }
}

/* 即时咨询：会员主动授权手机号 */
.im-phone-auth-mask {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(16, 30, 55, .42);
}
.im-phone-auth-mask[hidden] { display: none !important; }
.im-phone-auth-dialog {
  width: min(420px, 100%);
  padding: 24px 24px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 24px 64px rgba(12, 28, 54, .24);
  text-align: center;
}
.im-phone-auth-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border-radius: 50%;
  color: var(--blue);
  background: var(--blue-soft);
  border: 1px solid var(--blue-line);
}
.im-phone-auth-icon .icon { width: 21px; height: 21px; }
.im-phone-auth-dialog h3 {
  margin: 0 0 7px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
}
.im-phone-auth-dialog p {
  margin: 0;
  color: var(--ink-3);
  font-size: 13px;
  line-height: 1.8;
}
.im-phone-auth-dialog p b { color: var(--ink-2); font-weight: 600; }
.im-phone-auth-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}
.im-phone-auth-actions .btn { min-width: 104px; }

/* 律所投稿栏目 */
.contribution-about {
  margin: 0 0 14px;
  color: var(--ink-3);
  font-size: 13px;
  line-height: 1.85;
}
