/* CYDO · 布局（导航栏 / 页面容器） */

/* ===================== 导航栏 ===================== */
.app { min-height: 100vh; display: flex; flex-direction: column; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.topbar-inner {
  max-width: var(--max-w);
  height: var(--topbar-h);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 26px;
}
.brand { display: flex; align-items: center; gap: 9px; flex: none; }
.brand-name { font-size: 18px; font-weight: 800; letter-spacing: 1px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
  transition: background 0.15s, color 0.15s;
  cursor: pointer;
}
.nav-link:hover { background: var(--surface-2); color: var(--text); }
.nav-link.active { color: var(--accent); background: rgba(107, 91, 210, 0.1); }
.nav-link.disabled { color: var(--text-3); opacity: 0.6; cursor: not-allowed; }
.nav-link.disabled:hover { background: transparent; color: var(--text-3); }
.nav-profile { margin-left: auto; }

/* ===================== 页面容器 ===================== */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 26px 20px 48px;
  flex: 1;
}
.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  font-size: 12px;
  color: var(--text-3);
  padding: 18px 0 26px;
}

/* ICP 备案号：按要求放在底部居中，链接到工信部备案系统 */
.footer-icp { line-height: 1.5; }

.icp-link {
  color: var(--text-3);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

.icp-link:hover {
  color: var(--text-2);
  border-bottom-color: currentColor;
}

.icp-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}
.page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.page-title { margin: 0; font-size: 26px; font-weight: 800; letter-spacing: -0.3px; }
.page-sub { margin: 6px 0 0; font-size: 14px; color: var(--text-2); }
.page-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
