/* ═══════════════════════════════════════════════════════════════════
   Layout — App Shell, Sidebar, Navigation, Content Area
   ═══════════════════════════════════════════════════════════════════ */

/* ── App Shell (UI 2.0) ──
   桌面基准：侧栏固定 232px，主区 max-width 1120px 居中。 */
.app-shell {
  display: grid;
  grid-template-columns: var(--shell-sidebar-w) minmax(0, 1fr);
  gap: 0;
  width: 100%;
  max-width: none;
  min-height: 100vh;
  min-height: 100dvh;
}

/* ── Sidebar (Topbar) — 轻量化深色，固定 232px ── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  min-height: 100vh;
  min-height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 10px;
  padding: 14px 12px;
  border-right: 1px solid var(--brand-800);
  border-radius: 0;
  background: var(--brand-900);
  color: var(--text-inverse);
  box-shadow: none;
  overflow-y: auto;
}

/* ── Brand ── */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 4px;
  border-radius: var(--radius-xl);
  color: inherit;
  text-decoration: none;
  min-width: 0;
  /* #UI 顶部区域整体高度 64–68px */
  min-height: 64px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-s);
  overflow: hidden;
  background: linear-gradient(145deg, #ffb56a, #b94f2e);
  box-shadow: none;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-copy strong {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-inverse);
}

.brand-copy p {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.75rem;
}

/* ── Navigation ── */
.nav {
  display: grid;
  width: 100%;
  flex: 1;
  align-content: start;
  gap: 6px;
  padding-top: 4px;
}

.nav a {
  position: relative;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: var(--radius-s);
  color: rgba(255, 255, 255, 0.78);
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: var(--fw-body);
  letter-spacing: 0.01em;
  background: transparent;
  transition: background-color var(--ease-smooth), color var(--ease-smooth);
}

/* Active indicator bar — 左侧 3px × 24px Intelligent Blue 指示条 */
.nav a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 24px;
  border-radius: 999px;
  background: transparent;
  transition: background-color var(--ease-smooth);
}

.nav-icon {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 250, 241, 0.58);
}

.nav-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav a:hover,
.nav a:focus-visible {
  transform: none;
  background: rgba(255, 255, 255, 0.08);
  border-color: transparent;
  color: var(--text-inverse);
  outline: none;
}

.nav a:hover .nav-icon,
.nav a:focus-visible .nav-icon {
  color: rgba(255, 255, 255, 0.9);
}

.nav a.active {
  color: var(--text-inverse);
  background: rgba(255, 255, 255, 0.075);
  border-color: transparent;
  box-shadow: none;
}

.nav a.active::before {
  background: #5A7DE8;
}

.nav a.active .nav-icon {
  background: transparent;
  color: #5A7DE8;
}

/* ── Accessibility Tools (语义化设置入口，方案 §5.3) ── */
.access-tools {
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
  gap: 6px;
  padding-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.access-tools-label {
  margin: 4px 2px 2px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.55);
}

.setting-item {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 40px;
  padding: 0 10px;
  border: none;
  border-radius: var(--radius-s);
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: background-color var(--ease-smooth), color var(--ease-smooth);
}

.setting-item:hover {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text-inverse);
}

.setting-item .si-icon {
  font-size: 14px;
  line-height: 1;
  text-align: center;
  color: rgba(255, 255, 255, 0.62);
}

.setting-item[aria-pressed="true"] .si-icon {
  color: var(--accent-500);
}

.setting-item .si-state {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.setting-item[aria-pressed="true"] .si-state {
  color: var(--text-inverse);
}

/* ── Sidebar Footer (压缩：仅“● 陪伴式守护”，去掉“当前模式”标签) ── */
.sidebar-footer {
  width: 100%;
  margin-top: auto;
  padding: 8px 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  background: transparent;
}

.sidebar-footer strong {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.85rem;
  font-weight: 500;
}

.mode-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success, #2B7D5B);
  box-shadow: 0 0 0 3px rgba(43, 125, 91, 0.22);
}

/* ── Content Area (UI 2.0：主区 max-width 1120 居中) ── */
#app {
  min-width: 0;
  width: 100%;
  padding: var(--sp-8) var(--shell-gutter) 64px;
}

#app > * {
  width: 100%;
  max-width: var(--shell-main-max);
  margin-inline: auto;
}

/* ── 防横向滚动 (方案 §14) ── */
html,
body {
  overflow-x: clip;
}

/* ── 统一线性图标 (UI 2.1) ── */
.fy-icon {
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
  color: inherit;
}

/* ── 统一页面 Header (UI 2.1：去掉长横线，用留白建立层级) ── */
.fy-page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: var(--sp-8);
  padding-bottom: 0;
  border-bottom: none;
}

.fy-page-header-text h1 {
  margin: 0 0 4px;
  font-size: var(--fs-h1);
  line-height: var(--lh-h1);
  font-weight: var(--fw-h1);
  color: var(--text-primary);
  font-family: var(--font-heading-ui);
}

.fy-page-header-text p {
  margin: 0;
  font-size: var(--fs-body-s);
  line-height: var(--lh-body-s);
  color: var(--text-secondary);
}

.fy-page-header-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  padding-top: 4px;
}

/* Header 右上模式：绿点 + 文字，不再用灰色胶囊 */
.fy-mode-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-body-s);
  color: var(--text-secondary);
}

.fy-mode-indicator .mode-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success, #2B7D5B);
}

/* ── UI 2.2：1024~1279 收紧内容留白，保持完整侧栏 ── */
@media (min-width: 1024px) and (max-width: 1279px) {
  #app { padding-left: 24px; padding-right: 24px; }
  .fy-page-header { margin-bottom: var(--sp-6); }
  .fy-companion-layout { gap: var(--sp-5); }
}

/* ── Generic Layout Helpers ── */
.section {
  margin-top: clamp(34px, 5vw, 56px);
  animation: fy-rise 0.42s ease both;
}

.section-heading {
  margin-bottom: 18px;
}

.section-heading.tight { margin-bottom: 12px; }

.section-heading p,
.section-heading .meta,
.footnote p,
.form-note p,
.empty-state p {
  color: var(--color-ink-soft);
}

.lead {
  max-width: 64ch;
  font-size: 1.06rem;
  color: var(--color-ink-soft);
}

.hidden { display: none !important; }

.empty-state {
  display: grid;
  place-content: center;
  min-height: 100%;
  text-align: center;
}

.empty-state.compact {
  min-height: 220px;
}

.spaced-panel { margin-top: 20px; }

@keyframes fy-rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Skip Link ── */
.fy-skip-link {
  position: fixed;
  left: 18px;
  top: 12px;
  width: max-content;
  max-width: calc(100vw - 36px);
  z-index: 1000;
  padding: 10px 14px;
  border-radius: var(--radius-full);
  background: var(--color-ink);
  color: #fff;
  transform: translateY(-160%);
}

.fy-skip-link:focus {
  transform: translateY(0);
  outline: 3px solid var(--color-focus);
}

#app > .fy-skip-link {
  width: max-content;
  max-width: calc(100vw - 36px);
}

/* ═══════════════════════════════════════════════════════════════════
   Responsive Layout
   ═══════════════════════════════════════════════════════════════════ */

/* Medium desktop: icon-only sidebar */
@media (min-width: 941px) and (max-width: 1180px) {
  .app-shell {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: clamp(16px, 2vw, 28px);
  }

  .topbar {
    padding: 12px;
    border-radius: var(--radius-xl);
  }

  .brand {
    justify-content: center;
    padding: 4px 0 10px;
  }

  .brand-copy,
  .sidebar-footer { display: none; }

  .brand-mark {
    width: 52px;
    height: 52px;
  }

  .nav { gap: 6px; }

  .nav a {
    grid-template-columns: 1fr;
    place-items: center;
    min-height: 56px;
    padding: 10px 0;
  }

  .nav a > span:not(.nav-icon) {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .nav a::before { left: -5px; }

  .access-tools { grid-template-columns: 1fr; }

  .setting-item {
    height: 44px;
    padding: 0 8px;
  }
}

/* Tablet: slim horizontal top bar */
@media (max-width: 940px) {
  .app-shell {
    display: block;
    width: 100%;
    padding: var(--fluid-shell-pad);
  }

  .topbar {
    position: sticky;
    top: 8px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    min-height: 0;
    max-height: none;
    border-radius: var(--radius-2xl);
    padding: 10px 12px;
  }

  .brand { width: auto; padding: 0; gap: 10px; }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  /* Keep only the short name on the compact bar */
  .brand-copy p { display: none; }
  .brand-copy strong { font-size: 0.95rem; }

  .nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0;
    align-content: center;
  }

  .nav a {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 8px 13px;
    gap: 0;
    font-size: 0.9rem;
  }

  .nav a > .nav-icon { display: none; }
  .nav a::before { display: none; }

  .access-tools {
    display: flex;
    gap: 6px;
    width: auto;
  }

  .setting-item {
    width: 40px;
    height: 40px;
    padding: 0;
    grid-template-columns: 1fr;
  }
  .setting-item .si-state { display: none; }

  /* Hide the status footer on the compact bar */
  .sidebar-footer { display: none; }

  #app { padding: 14px 0 48px; }
  #app > * { width: 100%; }
}

/* Small phone */
@media (max-width: 640px) {
  .app-shell { padding: 10px; }

  .topbar {
    border-radius: 20px;
    padding: 8px 10px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .brand-copy strong { font-size: 0.9rem; }
}

@media (max-width: 540px) {
  .topbar { border-radius: 18px; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-copy strong { font-size: 0.86rem; }
}

/* Phone navigation: reserve the top for context and keep primary destinations
   within thumb reach. Auxiliary display controls live on the profile screen. */
@media (max-width: 640px) {
  .app-shell { grid-template-columns: 1fr; padding: 10px 10px calc(82px + env(safe-area-inset-bottom)); }
  .topbar {
    position: fixed;
    z-index: 30;
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    left: 10px;
    top: auto;
    display: block;
    min-height: 62px;
    padding: 6px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(11, 23, 38, .24);
  }
  .topbar .brand,
  .topbar .access-tools,
  .topbar .sidebar-footer { display: none; }
  .nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(52px, 1fr)); gap: 2px; overflow: visible; }
  .nav a { display: grid; min-width: 0; min-height: 48px; padding: 4px 3px; place-items: center; font-size: 12px; line-height: 1.2; text-align: center; }
  .nav a > .nav-icon { display: grid; width: 20px; height: 20px; }
  .nav a > .nav-icon svg { width: 18px; height: 18px; }
  .nav a::before { display: none; }
  #app { padding-bottom: 8px; }
}

/* Standard content pages: research, sources and evidence use the same calm
   reading frame as the consultation workspace. */
.fy-content-page {
  width: 100%;
  max-width: var(--shell-main-max);
  margin-inline: auto;
}

.fy-content-page > .fy-page-header {
  margin-bottom: var(--sp-6);
}

.fy-content-page .toolbar.panel {
  padding: var(--sp-4);
  border-color: var(--border-default);
  box-shadow: var(--shadow-card);
}

.fy-content-page .knowledge-grid,
.fy-content-page .source-grid {
  margin-top: var(--sp-5);
}

@media (max-width: 640px) {
  .fy-content-page > .fy-page-header { margin-bottom: var(--sp-5); }
  .fy-content-page .toolbar.panel { padding: var(--sp-3); }
}

/* UI refresh: 法译通工作台 — deep-navy rail, precise white canvas. */
.app-shell { grid-template-columns: 186px minmax(0, 1fr); background: #fff; }
.topbar { padding: 16px 9px 14px; border: 0; background: linear-gradient(165deg, #0c2746 0%, #102a49 58%, #0b213d 100%); box-shadow: inset -1px 0 rgba(255,255,255,.06); }
.brand { min-height: 48px; padding: 0 9px; gap: 8px; border-radius: 10px; }
.brand-mark { width: 30px; height: 30px; border-radius: 9px; }
.brand-copy strong { font-size: 16px; letter-spacing: .02em; }
.brand-copy p { font-size: 10px; margin-top: 1px; color: rgba(255,255,255,.64); }
.nav { gap: 5px; padding-top: 12px; }
.nav a { grid-template-columns: 20px minmax(0,1fr); gap: 9px; min-height: 44px; padding: 8px 11px; font-size: clamp(14px, var(--fs-body-s), 18px); border-radius: 8px; color: rgba(238,246,255,.78); }
.nav-icon { width: 20px; height: 20px; color: rgba(218,233,252,.76); }
.nav-icon svg { width: 18px; height: 18px; stroke-width: 1.7; }
.nav a::before { display: none; }
.nav a.active { background: rgba(120,160,209,.2); color: #fff; }
.nav a.active .nav-icon { color: #81b6ff; }
.access-tools { margin-top: auto; padding: 10px 7px 0; }
.access-tools-label { font-size: var(--fs-caption); }
.setting-item { min-height: 44px; padding: 0 4px; font-size: clamp(13px, var(--fs-label), 16px); gap: 8px; }
.setting-item .si-icon { font-size: var(--fs-body-s); }.setting-item .si-state { font-size: var(--fs-caption); }
.sidebar-footer { margin-top: 8px; padding: 10px 8px; border: 0; border-radius: 7px; background: rgba(255,255,255,.055); }
.sidebar-footer strong { font-size: var(--fs-caption); }.mode-dot { width: 7px; height: 7px; box-shadow: 0 0 0 3px rgba(55,192,126,.13); }
#app { padding: 20px 32px 32px; background: linear-gradient(135deg,#fff 0%,#f8fafc 100%); }
#app > * { max-width: 1320px; }
.fy-page-header { min-height: 42px; margin: 0 0 12px; padding-right: 168px; align-items: flex-start; }
.fy-page-header h1 { margin: 0 0 5px; font-size: 22px; line-height: 1.25; letter-spacing: 0; }
.fy-page-header p { margin: 0; font-size: 14px; line-height: 1.5; color: #6f7e92; }
.fy-page-header-meta { padding-top: 4px; }.fy-mode-indicator { font-size: 13px; color: #31445e; }
.account-control { position: fixed; z-index: 35; top: 18px; right: 31px; }
.account-menu { display: flex; align-items: center; gap: 8px; min-width: 152px; min-height: 44px; padding: 6px 9px; border: 1px solid #edf0f5; border-radius: 11px; background: rgba(255,255,255,.92); color: #26374f; box-shadow: 0 4px 16px rgba(18,42,74,.05); cursor: pointer; text-align: left; }
.account-avatar { display: grid; flex: 0 0 auto; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg,#1d4c77,#f4d3bd); color: white; font-size: var(--fs-body-s); font-weight: 700; }
.account-copy { display: grid; gap: 1px; flex: 1; min-width: 0; }.account-copy strong { overflow: hidden; font-size: clamp(13px, var(--fs-body-s), 17px); text-overflow: ellipsis; white-space: nowrap; }.account-copy small { font-size: var(--fs-caption); color: #7c899a; }
.account-chevron { transition: transform var(--ease-smooth); }.account-menu[aria-expanded="true"] .account-chevron { transform: rotate(180deg); }
.account-menu-panel { position: absolute; top: calc(100% + 7px); right: 0; display: grid; min-width: 200px; padding: 8px; border: 1px solid #e5eaf2; border-radius: 10px; background: #fff; box-shadow: 0 12px 28px rgba(18,42,74,.12); }
.account-menu-panel a,.account-menu-panel button { display: flex; align-items: center; min-height: 44px; padding: 9px 12px; border: 0; border-radius: 7px; background: transparent; color: #3a4d67; font-size: clamp(14px, var(--fs-body-s), 18px); line-height: 1.35; text-align: left; cursor: pointer; }.account-menu-panel a:hover,.account-menu-panel button:hover { background: #f2f6fc; }.account-menu-panel button { color: #b54242; }
@media (max-width: 940px) { .account-control { top: 16px; right: 20px; position: absolute; }.fy-page-header { padding-right: 0; } }
@media (max-width: 640px) { .account-control { display: none; } }

/* Phone navigation is a true bottom bar. Keep labels horizontal, reserve its
   footprint for the page, and hide the empty shell on the login route. */
@media (max-width: 640px) {
  .topbar:has(.nav:empty) { display: none; }
  .app-shell { padding: 10px; }
  .topbar { right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); left: 10px; padding: 6px; }
  .nav { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3px; padding: 0; }
  .nav a {
    grid-template-columns: 1fr;
    grid-template-rows: 20px minmax(14px, auto);
    gap: 2px;
    min-height: 50px;
    padding: 4px 2px;
    place-items: center;
    font-size: clamp(12px, var(--fs-caption), 15px);
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
  }
  .nav a > span:not(.nav-icon) {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    white-space: nowrap;
  }
  .nav a > .nav-icon { display: grid; width: 20px; height: 20px; }
  #app { padding: 14px 0 calc(86px + env(safe-area-inset-bottom)); }
  .app-shell:has(.nav:empty) #app { padding-bottom: 14px; }
}

/* Keep a persistent, compact account entry on phones. The bottom navigation
   is reserved for primary tasks, so preferences and sign-out remain reachable. */
@media (max-width: 640px) {
  .account-control { display: block; position: fixed; z-index: 40; top: calc(10px + env(safe-area-inset-top)); right: 10px; }
  .account-menu { display: grid; min-width: 44px; width: 44px; min-height: 44px; padding: 4px; place-items: center; border-radius: 50%; background: rgba(255,255,255,.96); box-shadow: 0 5px 18px rgba(18,42,74,.14); }
  .account-avatar { width: 32px; height: 32px; font-size: 14px; }
  .account-copy,
  .account-chevron { display: none; }
  .account-menu-panel { top: calc(100% + 8px); min-width: 210px; }
  #app > .fy-content-page > .fy-page-header,
  #app > .fy-role-page > .fy-section-head { padding-right: 58px; }
  .fy-page-header-meta { display: none; }
}

.nav-desktop { display: grid; gap: 5px; }
.nav-mobile { display: none; }

/* Wide desktop workspaces should use the available canvas without turning
   prose into a full-width reading line. Individual reading components keep
   their own narrower limits; dashboards and card grids can expand here. */
@media (min-width: 1600px) {
  #app { padding-right: clamp(40px, 4vw, 88px); padding-left: clamp(40px, 4vw, 88px); }
  #app > *,
  .fy-content-page { max-width: 1680px; }
}

@media (max-width: 640px) {
  .topbar { overflow: visible; }
  .nav { display: block; padding: 0; }
  .nav-desktop { display: none; }
  .nav-mobile { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3px; }
  .nav-mobile > a,
  .nav-more-toggle {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 20px minmax(14px, auto);
    gap: 2px;
    min-width: 0;
    min-height: 50px;
    padding: 4px 2px;
    place-items: center;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: rgba(238,246,255,.78);
    font: inherit;
    font-size: clamp(12px, var(--fs-caption), 15px);
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
  }
  .nav-mobile > a::before { display: none; }
  .nav-mobile > a > .nav-icon,
  .nav-more-toggle > .nav-icon { display: grid; width: 20px; height: 20px; }
  .nav-mobile > a > .nav-icon svg,
  .nav-more-toggle > .nav-icon svg { width: 18px; height: 18px; }
  .nav-more-wrap { position: relative; min-width: 0; }
  .nav-more-toggle { width: 100%; cursor: pointer; }
  .nav-more-toggle.active,
  .nav-more-toggle[aria-expanded="true"] { background: rgba(120,160,209,.2); color: #fff; }
  .nav-more-panel { position: absolute; z-index: 45; right: 0; bottom: calc(100% + 8px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: min(360px, calc(100vw - 20px)); gap: 5px; padding: 7px; border: 1px solid rgba(151,191,236,.28); border-radius: 12px; background: #102a49; box-shadow: 0 12px 30px rgba(5,18,35,.32); }
  .nav-more-panel[hidden] { display: none; }
  .nav-more-panel a { display: grid; grid-template-columns: 20px minmax(0, 1fr); align-items: center; gap: 8px; min-height: 44px; padding: 8px; border-radius: 8px; color: rgba(238,246,255,.86); font-size: clamp(13px, var(--fs-caption), 16px); line-height: 1.25; text-align: left; white-space: normal; }
  .nav-more-panel a::before { display: none; }
  .nav-more-panel a.active { background: rgba(120,160,209,.24); color: #fff; }
}
