/* Tech atmosphere + station hub */
:root {
  --bg: #070b12;
  --bg-elev: rgba(12, 22, 34, 0.72);
  --bg-soft: rgba(18, 32, 48, 0.9);
  --stroke: rgba(70, 210, 190, 0.22);
  --text: #e7f6f3;
  --muted: #8aa4b3;
  --accent: #2fe0c4;
  --accent-dim: #1a8f7f;
  --accent-2: #f0b45a;
  --danger: #e06a6a;
  --ok: #5dbb8a;
  --radius: 14px;
  --font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --display: "Orbitron", "Noto Sans SC", sans-serif;
  --icp-h: 28px;
  --app-vh: calc(100vh - 28px);
  --app-vw: 100vw;
}
@supports (height: 100dvh) {
  :root {
    --app-vh: calc(100dvh - 28px);
    --app-vw: 100dvw;
  }
}

* { box-sizing: border-box; }
html {
  height: 100%;
}
html, body {
  margin: 0;
  min-height: 100%;
  min-height: var(--app-vh);
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  color-scheme: dark;
}
@media (prefers-reduced-motion: reduce) {
  .tech-scanlines { opacity: 0.12; }
  #tech-bg { animation: none !important; }
}

/* Dynamic tech canvas */
#tech-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 42% at 50% -12%, rgba(18, 42, 58, 0.55), transparent 58%),
    radial-gradient(ellipse 50% 36% at 88% 82%, rgba(32, 52, 78, 0.18), transparent 52%),
    #070b12;
}
.tech-scanlines {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.08) 3px
  );
  opacity: 0.35;
}
.shell,
.login-wrap {
  position: relative;
  z-index: 2;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.shell { min-height: var(--app-vh); display: flex; flex-direction: column; }
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 32px;
  border-bottom: 1px solid rgba(47, 224, 196, 0.12);
  background: rgba(7, 11, 18, 0.82);
  position: sticky; top: 0; z-index: 10;
  gap: 16px;
}
.topbar-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex: 1 1 auto;
}
.topbar-path {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.2;
}
.topbar-path a { color: var(--muted); text-decoration: none; }
.topbar-path a:hover { color: var(--accent); }
.topbar-path .sep { opacity: 0.45; }
.topbar-path .current { color: var(--text); font-weight: 600; }
html.perf-lite .topbar,
html.perf-lite .station-card,
html.perf-lite .card,
html.perf-lite .login-card {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
html.perf-lite .tech-scanlines {
  display: none !important;
}
html.perf-lite #tech-bg {
  background:
    radial-gradient(ellipse 70% 42% at 50% -12%, rgba(18, 42, 58, 0.55), transparent 58%),
    radial-gradient(ellipse 50% 36% at 88% 82%, rgba(32, 52, 78, 0.18), transparent 52%),
    #070b12 !important;
}
.brand {
  font-family: var(--display);
  font-size: 15px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.brand span { color: var(--accent); }
.topbar-meta {
  display: flex; gap: 16px; align-items: center;
  color: var(--muted); font-size: 13px;
}
.topbar-meta a {
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.04em;
}
.topbar-meta a:hover { color: var(--accent); }
.inline-logout-form { display: inline; margin: 0; }
.link-button {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  cursor: pointer;
}
.topbar-meta .link-button { color: var(--muted); letter-spacing: 0.04em; }
.topbar-meta .link-button:hover { color: var(--accent); }

.main {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 28px 28px 48px;
  flex: 1;
}
.main-wide { padding: 0; }
.main-hub {
  padding: 0;
  display: block;
  min-height: calc(var(--app-vh) - 56px);
}
.main-fullscreen {
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1;
  overflow: auto;
}
.shell-fullscreen {
  height: var(--app-vh);
  max-height: var(--app-vh);
  overflow: hidden;
  min-height: 0;
}
body.page-fullscreen {
  height: var(--app-vh);
  min-height: var(--app-vh);
  overflow: hidden;
}
.topbar-compact { padding: 8px 16px; }
.topbar-compact .path {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  color: var(--muted); font-size: 13px;
}
.topbar-compact .path a { color: var(--muted); }
.topbar-compact .path a:hover { color: var(--accent); }
.topbar-compact .path .sep { opacity: 0.5; }
.topbar-compact .path .current { color: var(--text); font-weight: 600; }
.project-stage {
  flex: 1;
  width: 100%;
  min-height: calc(var(--app-vh) - 52px);
  display: grid;
  place-items: center;
  background: transparent;
  border: 0;
}
.project-stage-inner {
  text-align: center;
  max-width: 640px;
  padding: 32px 24px;
}
.project-stage-inner h1 {
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 40px);
  font-family: var(--display);
  letter-spacing: 0.06em;
}
.project-stage-inner .desc,
.project-stage-inner .hint {
  color: var(--muted);
  margin: 0 0 12px;
  line-height: 1.6;
}
.project-stage-inner .hint { margin-bottom: 22px; font-size: 13px; }

/* ---- Station hub (科技风选择页) ---- */
.hub {
  width: min(1240px, 100%);
  margin: 0 auto;
  padding: clamp(20px, 4vh, 40px) clamp(20px, 4vw, 40px) 40px;
  animation: hubIn 0.7s ease both;
}
@keyframes hubIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
.hub-brand {
  font-family: var(--display);
  font-size: clamp(26px, 4vw, 42px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 8px;
  background: linear-gradient(120deg, #e7f6f3 20%, #2fe0c4 55%, #7ad4ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 24px rgba(47, 224, 196, 0.25));
}
.hub-brand:lang(zh),
.hub-brand.login-brand,
.hub .hub-brand {
  text-transform: none;
  letter-spacing: 0.06em;
}
.hub-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.hub-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: pulseDot 1.6s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.75); }
}
.hub-sub {
  color: var(--muted);
  margin: 0 0 22px;
  max-width: 560px;
  line-height: 1.65;
  font-size: 14px;
}
.hub-title {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
}

/* 强制三列横排，避免被挤到页面下方 */
.station-grid {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 16px;
  width: 100%;
}
a.station-card,
.station-card {
  position: relative;
  display: flex !important;
  flex-direction: column;
  flex: 1 1 0;
  min-width: 0;
  min-height: 180px;
  padding: 22px 20px 18px;
  border-radius: 16px;
  border: 1px solid rgba(47, 224, 196, 0.35);
  background: rgba(14, 28, 40, 0.92);
  backdrop-filter: blur(10px);
  overflow: hidden;
  color: inherit;
  text-decoration: none !important;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.station-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 40%, rgba(47, 224, 196, 0.08) 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.station-card::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.7;
}
.station-card:hover {
  transform: translateY(-6px);
  border-color: rgba(47, 224, 196, 0.7);
  box-shadow: 0 0 0 1px rgba(47, 224, 196, 0.2), 0 20px 50px rgba(0, 0, 0, 0.35);
  text-decoration: none !important;
}
.station-card:hover::before { opacity: 1; }
.station-card .idx {
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 14px;
}
.station-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text);
}
.station-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  flex: 1;
}
.station-card .go {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.station-card .go i {
  display: inline-block;
  font-style: normal;
  transition: transform 0.2s ease;
}
.station-card:hover .go i { transform: translateX(4px); }

@media (max-width: 860px) {
  .station-grid {
    flex-direction: column !important;
  }
  a.station-card,
  .station-card {
    min-height: 140px;
  }
}

/* ---- Station workbench (站点项目页) ---- */
.workbench {
  width: min(1240px, 100%);
  margin: 0 auto;
  padding: clamp(18px, 3vh, 32px) clamp(20px, 4vw, 40px) 48px;
  animation: hubIn 0.65s ease both;
}
.workbench-head { margin-bottom: 28px; }
.workbench-brand {
  font-size: clamp(24px, 3.6vw, 38px) !important;
  margin-bottom: 8px !important;
}
.wb-section { margin-bottom: 28px; }
.wb-section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(47, 224, 196, 0.14);
}
.wb-section-title span {
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--text);
}
.wb-section-title em {
  font-style: normal;
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--accent);
  opacity: 0.85;
}
.wb-featured {
  display: flex;
  gap: 16px;
  flex-wrap: nowrap;
}
.wb-featured .wb-card { flex: 1 1 0; min-width: 0; }
.wb-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}
a.wb-card,
.wb-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 172px;
  height: 100%;
  padding: 18px 18px 16px;
  border-radius: 14px;
  border: 1px solid rgba(47, 224, 196, 0.28);
  background: rgba(14, 28, 40, 0.9);
  color: inherit;
  text-decoration: none !important;
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.wb-card::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(47, 224, 196, 0.7), transparent);
}
.wb-card-live {
  border-color: rgba(47, 224, 196, 0.5);
  background:
    linear-gradient(155deg, rgba(22, 48, 52, 0.95), rgba(12, 24, 34, 0.92));
  box-shadow: 0 0 28px rgba(47, 224, 196, 0.08);
}
.wb-card:hover {
  transform: translateY(-5px);
  border-color: rgba(47, 224, 196, 0.65);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}
.wb-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
}
.wb-code {
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--accent);
}
.wb-badge {
  font-size: 11px;
  color: var(--muted);
  border: 1px solid rgba(148, 163, 178, 0.35);
  border-radius: 999px;
  padding: 2px 8px;
  white-space: nowrap;
}
.wb-badge.live {
  color: #06221e;
  background: var(--accent);
  border-color: var(--accent);
  font-weight: 650;
}
.wb-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  letter-spacing: 0.03em;
}
.wb-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1.55em * 2);
}
.wb-card .go {
  margin-top: auto;
  padding-top: 16px;
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.wb-card .go i { font-style: normal; }

.embed-frame-full {
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  border: 0;
  background: #070b12;
  display: block;
}
.page-embed .main-fullscreen {
  min-height: 0;
}
.page-embed .topbar-compact {
  position: relative;
  z-index: 3;
}

@media (max-width: 1100px) {
  .wb-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .wb-featured { flex-direction: column; }
  .wb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .wb-grid { grid-template-columns: 1fr; }
}

/* ---- Tech cursor / click FX ---- */
/* 排班表格区恢复系统指针，避免与原生 select 冲突；地图等区域保留自定义光标 */
body.page-shift .shift-schedule-view,
body.page-shift .shift-schedule-view *,
body.page-shift .shift-dlg,
body.page-shift .shift-dlg * {
  cursor: auto !important;
}
body.page-shift #tech-bg {
  display: none !important;
}
.tech-cursor-on body.page-shift .shift-schedule-view,
.tech-cursor-on body.page-shift .shift-schedule-view *,
.tech-cursor-on body.page-shift .shift-dlg,
.tech-cursor-on body.page-shift .shift-dlg * {
  cursor: auto !important;
}
/* 排班表视图：整页恢复系统指针（含顶部统计栏、站点侧栏、表格区） */
.tech-cursor-on.tech-cursor-schedule-native,
.tech-cursor-on.tech-cursor-schedule-native * {
  cursor: auto !important;
}
.tech-cursor-on.tech-cursor-schedule-native button,
.tech-cursor-on.tech-cursor-schedule-native a,
.tech-cursor-on.tech-cursor-schedule-native select,
.tech-cursor-on.tech-cursor-schedule-native label,
.tech-cursor-on.tech-cursor-schedule-native summary,
.tech-cursor-on.tech-cursor-schedule-native .excel-filter-btn,
.tech-cursor-on.tech-cursor-schedule-native .shift-site-btn {
  cursor: pointer !important;
}
.tech-cursor-on.tech-cursor-schedule-native input,
.tech-cursor-on.tech-cursor-schedule-native textarea {
  cursor: text !important;
}
.tech-cursor-on.tech-cursor-schedule-native .tech-cursor-root {
  opacity: 0 !important;
  visibility: hidden !important;
}
.tech-cursor-on,
.tech-cursor-on * {
  cursor: none !important;
}
/* 原生 dialog 在 top layer，自定义光标画不上去；打开弹窗时恢复系统指针 */
.tech-cursor-on.tech-cursor-modal-open,
.tech-cursor-on.tech-cursor-modal-open * {
  cursor: auto !important;
}
.tech-cursor-on.tech-cursor-modal-open input,
.tech-cursor-on.tech-cursor-modal-open textarea {
  cursor: text !important;
}
.tech-cursor-on.tech-cursor-modal-open button,
.tech-cursor-on.tech-cursor-modal-open select,
.tech-cursor-on.tech-cursor-modal-open a,
.tech-cursor-on.tech-cursor-modal-open label,
.tech-cursor-on.tech-cursor-modal-open summary {
  cursor: pointer !important;
}
.tech-cursor-on.tech-cursor-modal-open .tech-cursor-root {
  opacity: 0 !important;
  visibility: hidden !important;
}
.tech-cursor-root {
  position: fixed;
  inset: 0;
  z-index: 99999;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.2s ease;
}
.tech-cursor-root.is-out { opacity: 0; }
.tech-cursor-dot,
.tech-cursor-ring,
.tech-cursor-trail {
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
}
.tech-cursor-dot {
  width: 6px;
  height: 6px;
  background: #2fe0c4;
  box-shadow: 0 0 10px #2fe0c4, 0 0 18px rgba(47, 224, 196, 0.55);
  z-index: 3;
}
.tech-cursor-ring {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(47, 224, 196, 0.75);
  box-shadow:
    0 0 0 1px rgba(47, 224, 196, 0.12),
    0 0 16px rgba(47, 224, 196, 0.2);
  z-index: 2;
  transition: width 0.18s ease, height 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.tech-cursor-root.is-hover .tech-cursor-ring {
  width: 48px;
  height: 48px;
  border-color: rgba(47, 224, 196, 0.95);
  background: rgba(47, 224, 196, 0.08);
}
.tech-cursor-root.is-click .tech-cursor-ring {
  width: 22px;
  height: 22px;
  border-color: #7ad4ff;
  background: rgba(122, 212, 255, 0.12);
}
.tech-cursor-trail {
  width: 5px;
  height: 5px;
  background: rgba(47, 224, 196, 0.55);
  box-shadow: 0 0 8px rgba(47, 224, 196, 0.35);
  z-index: 1;
}
.tech-click-ripple {
  position: fixed;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  border: 1px solid rgba(47, 224, 196, 0.85);
  box-shadow: 0 0 12px rgba(47, 224, 196, 0.45);
  pointer-events: none;
  z-index: 99998;
  animation: techRipple 0.55s ease-out forwards;
}
@keyframes techRipple {
  to {
    transform: scale(8);
    opacity: 0;
  }
}
.tech-click-burst {
  position: fixed;
  width: 0;
  height: 0;
  pointer-events: none;
  z-index: 99998;
  animation: techBurstFade 0.5s ease-out forwards;
}
.tech-click-burst span {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #2fe0c4;
  box-shadow: 0 0 8px #2fe0c4;
  animation: techBurstMove 0.5s ease-out forwards;
}
@keyframes techBurstMove {
  to {
    transform: translate(var(--dx), var(--dy)) scale(0.2);
    opacity: 0;
  }
}
@keyframes techBurstFade {
  to { opacity: 1; }
}

.hero-title {
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 40px);
  margin: 0 0 8px;
  letter-spacing: 0.06em;
}
.hero-sub { color: var(--muted); margin: 0 0 28px; line-height: 1.6; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}
.card-grid-wide {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.card {
  background: var(--bg-elev);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
  transition: border-color .15s ease, transform .15s ease;
}
a.card { color: inherit; text-decoration: none; display: block; }
a.card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  text-decoration: none;
}
.card h3 { margin: 0 0 8px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.card .tag {
  display: inline-block; margin-top: 12px;
  font-size: 11px; color: var(--accent); border: 1px solid rgba(47, 224, 196, 0.35);
  padding: 2px 8px; border-radius: 999px;
}

.login-wrap {
  min-height: var(--app-vh); display: grid; place-items: center; padding: 24px;
}
.login-card {
  width: min(400px, 100%);
  background: rgba(12, 22, 34, 0.82);
  border: 1px solid rgba(47, 224, 196, 0.25);
  border-radius: 16px;
  padding: 28px 26px 24px;
  backdrop-filter: blur(14px);
  box-shadow: 0 0 40px rgba(47, 224, 196, 0.08);
}
.login-card h1 {
  margin: 0 0 6px;
  font-size: 22px;
  font-family: var(--display);
  letter-spacing: 0.1em;
}
.login-card .sub { color: var(--muted); margin: 0 0 22px; font-size: 13px; }

/* Full-bleed tech login */
.page-login {
  min-height: var(--app-vh);
  overflow-x: hidden;
  background: #070b12;
}
.page-login #tech-bg {
  background:
    radial-gradient(ellipse 62% 38% at 18% 8%, rgba(22, 48, 68, 0.42), transparent 60%),
    radial-gradient(ellipse 48% 32% at 92% 88%, rgba(28, 46, 72, 0.16), transparent 55%),
    #070b12;
}
.login-stage {
  position: relative;
  z-index: 2;
  min-height: var(--app-vh);
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: clamp(28px, 6vh, 64px) clamp(20px, 4vw, 48px);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  animation: hubIn 0.7s ease both;
}
@media (max-width: 900px) {
  .login-stage {
    grid-template-columns: 1fr;
    align-content: center;
  }
}
.login-hero { min-width: 0; }
.login-brand {
  margin-bottom: 16px !important;
}
.login-lead {
  color: var(--muted);
  line-height: 1.8;
  font-size: 15px;
  margin: 0 0 28px;
}
.login-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.login-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #b7cdd6;
  font-size: 13px;
  letter-spacing: 0.02em;
}
.login-points li span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  flex: 0 0 auto;
}
.login-panel {
  border-radius: 18px;
  border: 1px solid rgba(47, 224, 196, 0.28);
  background:
    linear-gradient(165deg, rgba(18, 36, 48, 0.88), rgba(8, 14, 22, 0.82));
  backdrop-filter: blur(16px);
  box-shadow:
    0 0 0 1px rgba(47, 224, 196, 0.06),
    0 24px 60px rgba(0, 0, 0, 0.4),
    0 0 50px rgba(47, 224, 196, 0.08);
  position: relative;
  overflow: hidden;
}
.login-panel::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.login-form {
  padding: clamp(24px, 3vw, 36px);
}
.login-panel-head {
  margin-bottom: 22px;
}
.login-panel-head h2 {
  margin: 8px 0 0;
  font-size: 24px;
  letter-spacing: 0.04em;
}
.login-submit {
  width: 100%;
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
  padding: 14px 16px;
}
.login-submit i {
  font-style: normal;
  transition: transform 0.2s ease;
}
.login-submit:hover i { transform: translateX(4px); }
.login-submit:disabled {
  opacity: 0.7;
  cursor: wait;
}
.login-foot {
  margin: 18px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}
.login-foot a { color: var(--accent); }
label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
input, select, textarea {
  width: 100%;
  background: var(--bg-soft);
  border: 1px solid rgba(47, 224, 196, 0.18);
  color: var(--text);
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 14px;
  font: inherit;
}
button, .btn {
  appearance: none; border: 0; cursor: pointer;
  background: linear-gradient(135deg, #2fe0c4, #1aa894);
  color: #06221e;
  font-weight: 650; border-radius: 8px;
  padding: 10px 16px; font: inherit;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
button:focus-visible, .btn:focus-visible,
a:focus-visible, select:focus-visible, input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
button.secondary, .btn.secondary {
  background: transparent; color: var(--text);
  border: 1px solid var(--stroke);
}
.btn.ghost { background: transparent; color: var(--muted); border: 0; padding: 6px 8px; }
.flash {
  padding: 10px 12px; border-radius: 8px; margin-bottom: 14px; font-size: 13px;
}
.flash.error { background: #3a1f1f; color: #ffb4b4; }
.flash.warn { background: #3a3018; color: #ffd59a; }
.flash.ok { background: #1c3328; color: #b6efcf; }

.breadcrumb { color: var(--muted); font-size: 13px; margin-bottom: 18px; }
.breadcrumb a { color: var(--muted); }
.placeholder {
  border: 1px dashed var(--stroke);
  border-radius: var(--radius);
  background: var(--bg-elev);
  padding: 48px 24px;
  text-align: center;
  width: 100%;
  min-height: calc(var(--app-vh) - 160px);
  display: grid;
  place-content: center;
}
.placeholder h2 { margin: 0 0 10px; }
.placeholder p { color: var(--muted); margin: 0; line-height: 1.6; }

.embed-bar {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px; margin-bottom: 12px; flex-wrap: wrap;
}
.embed-frame {
  width: 100%;
  min-height: calc(var(--app-vh) - 180px);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: #fff;
}

.admin-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 16px;
}
@media (max-width: 900px) {
  .admin-grid { grid-template-columns: 1fr; }
}

/* 后台：页签布局（对齐前台操作习惯） */
.admin-page {
  display: grid;
  grid-template-columns: 176px minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
  gap: 12px 14px;
  min-height: 0;
  align-items: stretch;
}
.admin-head {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}
.admin-head .hero-title { margin-bottom: 4px; }
.admin-head .hero-sub { margin: 0; }
.admin-head-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}
.admin-sidebar {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  align-self: stretch;
  position: sticky;
  top: 10px;
  min-height: calc(var(--app-vh, 100vh) - 118px);
  max-height: calc(var(--app-vh, 100vh) - 118px);
  border: 1px solid rgba(47, 224, 196, 0.22);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(10, 24, 34, 0.94), rgba(6, 14, 22, 0.88)),
    radial-gradient(120% 80% at 0% 0%, rgba(47, 224, 196, 0.08), transparent 58%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
}
.admin-sidebar-brand {
  padding: 12px 12px 10px;
  border-bottom: 1px solid rgba(47, 224, 196, 0.14);
}
.admin-sidebar-kicker {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(47, 224, 196, 0.72);
  margin-bottom: 4px;
}
.admin-sidebar-brand strong {
  display: block;
  color: #eafaf7;
  font-size: 14px;
  letter-spacing: 0.06em;
}
.admin-tabs {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  gap: 0;
  padding: 8px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  border: 0;
  border-radius: 0;
  background: transparent;
  width: 100%;
  max-width: none;
}
.admin-tab-group {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.admin-tab-group + .admin-tab-group {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(47, 224, 196, 0.1);
}
.admin-tab-group-label {
  padding: 0 8px 5px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(138, 164, 179, 0.82);
}
.admin-tab {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 7px 8px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: 0.03em;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  transition: background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}
.admin-tab-ico {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: rgba(47, 224, 196, 0.9);
  background: rgba(47, 224, 196, 0.08);
  border: 1px solid rgba(47, 224, 196, 0.16);
}
.admin-tab-text {
  flex: 1 1 auto;
  min-width: 0;
  line-height: 1.25;
}
.admin-tab:hover {
  color: var(--text);
  background: rgba(47, 224, 196, 0.06);
}
.admin-tab.is-active {
  color: #062018;
  background: linear-gradient(135deg, #2fe0c4, #1ec9b0);
  box-shadow: 0 8px 18px rgba(47, 224, 196, 0.18);
}
.admin-tab.is-active .admin-tab-ico {
  color: #062018;
  background: rgba(255, 255, 255, 0.28);
  border-color: rgba(6, 32, 24, 0.12);
}
.admin-sidebar-foot {
  margin-top: auto;
  padding: 10px 12px 12px;
  border-top: 1px solid rgba(47, 224, 196, 0.14);
  background: rgba(4, 10, 16, 0.45);
}
.admin-sidebar-foot-label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: rgba(138, 164, 179, 0.85);
  margin-bottom: 4px;
}
.admin-sidebar-foot-value {
  display: block;
  color: #d8f5ef;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 600;
}
.admin-pane[hidden] { display: none !important; }
.admin-pane {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
}
.personnel-pane { min-height: calc(var(--app-vh) - 235px); }
.personnel-summary {
  display: grid;
  grid-template-columns: minmax(240px, 1.7fr) repeat(3, minmax(130px, 0.7fr));
  gap: 10px;
  margin: 4px 0 14px;
}
.personnel-summary > div {
  min-width: 0;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid rgba(47, 224, 196, 0.18);
  background: linear-gradient(145deg, rgba(18, 40, 51, 0.92), rgba(9, 23, 33, 0.88));
}
.personnel-summary span { display: block; color: var(--muted); font-size: 12px; margin-bottom: 7px; }
.personnel-summary strong { display: block; color: #eafaf7; font-size: 22px; line-height: 1.2; }
.personnel-summary > div:first-child strong { color: var(--accent); font-size: 15px; line-height: 1.45; }
.personnel-filter-row { margin: 0 0 12px; justify-content: flex-start; }
.personnel-filter-row select { width: 150px; margin: 0; padding: 7px 10px; }
.meeting-admin-pane { min-height: calc(var(--app-vh) - 235px); }
.meeting-admin-head { align-items: flex-end; }
.meeting-admin-actions { display: flex; align-items: flex-end; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.meeting-admin-actions > form { margin: 0; }
.meeting-period-form {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}
.meeting-period-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
}
.meeting-period-form input,
.meeting-period-form select {
  width: 112px;
  margin: 0;
  padding: 8px 10px;
}
.meeting-admin-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 14px;
  padding: 12px 14px;
  border: 1px solid rgba(47, 224, 196, 0.2);
  background: rgba(47, 224, 196, 0.05);
}
.meeting-admin-summary span { color: var(--muted); }
.meeting-admin-summary strong { color: var(--accent); }
.meeting-admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.meeting-admin-card {
  display: grid;
  gap: 13px;
  padding: 16px;
  border: 1px solid rgba(47, 224, 196, 0.24);
  background: rgba(7, 18, 29, 0.72);
}
.meeting-admin-card.is-submitted { border-color: rgba(47, 224, 196, 0.46); }
.meeting-admin-card.is-missing { border-color: rgba(224, 106, 106, 0.32); }
.meeting-admin-card-head,
.meeting-admin-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.meeting-admin-card-head span { color: var(--muted); font-size: 11px; }
.meeting-admin-card-head h3 { margin: 4px 0 0; font-size: 18px; }
.meeting-admin-card label {
  display: grid;
  gap: 7px;
  color: #bed4d9;
  font-size: 12px;
}
.meeting-admin-card input,
.meeting-admin-card textarea { margin: 0; width: 100%; }
.meeting-admin-card textarea { resize: vertical; min-height: 88px; }
.meeting-admin-card input[type="file"] { padding: 8px; }
.meeting-file-status { display: block; color: var(--muted); font-size: 11px; overflow-wrap: anywhere; }
.meeting-state {
  padding: 4px 9px;
  border: 1px solid currentColor;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
}
.is-missing .meeting-state { color: #ef9191; }
.meeting-admin-card-foot .muted { font-size: 11px; }
.meeting-admin-empty {
  grid-column: 1 / -1;
  padding: 48px 20px;
  border: 1px dashed rgba(139, 171, 180, 0.3);
  color: var(--muted);
  text-align: center;
}
.admin-pane-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.admin-pane-head h2 { margin: 0; }
.admin-pane-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-left: auto;
}
.admin-search {
  display: block;
  margin: 0;
}
.admin-search input {
  width: min(280px, 70vw);
  border-radius: 8px;
  border: 1px solid rgba(47, 224, 196, 0.3);
  background: #0c1a24;
  color: #e7f6f3;
  padding: 7px 12px;
  font-size: 13px;
  font-family: inherit;
  box-sizing: border-box;
}
.admin-search input::placeholder {
  color: #6f8794;
}
.admin-search input:focus {
  outline: none;
  border-color: rgba(47, 224, 196, 0.65);
  box-shadow: 0 0 0 2px rgba(47, 224, 196, 0.12);
}
.admin-search-count {
  font-size: 12px;
  white-space: nowrap;
}
.admin-bulk-hint {
  margin: -4px 0 12px;
}
.admin-table .col-check {
  width: 36px;
  text-align: center;
}
.admin-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}
.admin-check input {
  width: auto;
  margin: 0;
  accent-color: var(--accent);
}
.admin-role-switch {
  display: flex;
  gap: 4px;
  padding: 3px;
  border-radius: 8px;
  border: 1px solid rgba(47, 224, 196, 0.22);
  background: rgba(8, 18, 28, 0.65);
}
.admin-mini-tab {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}
.admin-mini-tab.is-active {
  color: #062018;
  background: var(--accent);
}
.role-station-card h3 {
  margin: 0 0 10px;
  font-size: 15px;
  color: #dff7f1;
}
.role-default-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.admin-table-wrap {
  overflow: auto;
  max-height: calc(var(--app-vh) - 280px);
  border: 1px solid rgba(47, 224, 196, 0.12);
  border-radius: 10px;
}
.admin-table {
  width: 100%;
  min-width: 960px;
  border-collapse: collapse;
  font-size: 13px;
}
.admin-table th,
.admin-table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(148, 163, 178, 0.12);
  background: transparent;
  vertical-align: middle;
}
.admin-table .col-status {
  width: 88px;
  white-space: nowrap;
}
.admin-table .row-actions {
  width: 148px;
  white-space: nowrap;
}
.admin-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #0f2230;
  color: #cfe8e2;
  font-weight: 650;
}
.admin-table tbody tr:hover td {
  background: rgba(47, 224, 196, 0.04);
}
.admin-table .modules-cell {
  max-width: 280px;
}
.status-pill {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  writing-mode: horizontal-tb;
}
.status-pill.is-on {
  color: #9ef0c8;
  background: rgba(93, 187, 138, 0.16);
}
.status-pill.is-off {
  color: #f0b4b4;
  background: rgba(224, 106, 106, 0.14);
}
.admin-settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 900px) {
  .admin-settings-grid { grid-template-columns: 1fr; }
}
.admin-setting-block h2 {
  margin: 0 0 6px;
}
.admin-hint {
  margin: 0 0 12px;
  font-size: 12px;
  line-height: 1.5;
}
.admin-field-label {
  display: block;
  margin: 4px 0 6px;
  font-size: 13px;
  color: var(--muted);
}
.admin-setting-note {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(47, 224, 196, 0.12);
}
.admin-note-list {
  margin: 0;
  padding-left: 18px;
  line-height: 1.7;
}

.panel {
  background: var(--bg-elev);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 16px;
}
.panel h2 { margin: 0 0 12px; font-size: 16px; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--stroke); }
th { color: var(--muted); font-weight: 550; }
.muted { color: var(--muted); }
.row-actions { display: flex; gap: 8px; align-items: center; flex-wrap: nowrap; }
.row-actions .btn { white-space: nowrap; }
.row-actions form { display: inline; margin: 0; }
.inline-form { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; }
.inline-form .full { grid-column: 1 / -1; }
.checks { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 12px; }
.checks label { display: flex; gap: 6px; align-items: center; margin: 0; color: var(--text); }
.checks input { width: auto; margin: 0; }

.admin-dlg {
  border: 1px solid rgba(47, 224, 196, 0.35);
  border-radius: 14px;
  padding: 16px 18px;
  background: #0e1c28;
  color: #e7f6f3;
  width: min(480px, 92vw);
  max-height: 88vh;
  overflow: auto;
  z-index: 100000;
  color-scheme: dark;
}
.admin-dlg-wide { width: min(560px, 92vw); }
.admin-dlg::backdrop {
  background: rgba(0, 0, 0, 0.55);
}
.admin-dlg h3 {
  margin: 0 0 12px;
  font-size: 16px;
}
.admin-dlg label {
  display: block;
  margin: 10px 0;
  font-size: 13px;
  color: var(--muted);
}
.admin-dlg input,
.admin-dlg select,
.admin-dlg textarea {
  display: block;
  width: 100%;
  margin-top: 4px;
  border-radius: 8px;
  border: 1px solid rgba(47, 224, 196, 0.3);
  background: #0c1a24;
  color: #e7f6f3;
  padding: 8px 10px;
  box-sizing: border-box;
}
.admin-dlg textarea { resize: vertical; min-height: 76px; }
.admin-dlg .module-checks {
  margin-top: 6px;
  max-height: 180px;
  overflow: auto;
}
.module-tree {
  display: grid;
  gap: 10px;
  margin-top: 8px;
  max-height: 320px;
  overflow: auto;
  padding: 8px 10px;
  border: 1px solid rgba(47, 224, 196, 0.16);
  border-radius: 8px;
  background: rgba(6, 16, 24, 0.45);
}
.module-tree-group {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.module-tree-parent {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
  color: #dff7f1;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.module-tree-parent em {
  margin-left: auto;
  color: rgba(47, 224, 196, 0.62);
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0.16em;
}
.module-tree-children {
  display: grid;
  gap: 4px;
  padding: 0 0 2px 22px;
}
.module-tree-children label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #c5ddd8;
  font-weight: 500;
}
.module-tree input {
  width: auto;
  margin: 0;
}
.module-tree-empty {
  margin: 0;
  padding: 8px 2px 2px;
  font-size: 12px;
}
.admin-dlg .dlg-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

/* ---- Platform responsive: 1100 / 720 / 480 ---- */
@media (max-width: 1100px) {
  .topbar {
    padding: 12px 16px;
    flex-wrap: wrap;
    gap: 8px;
  }
  .main {
    padding: 20px 16px 36px;
  }
  .shell-fullscreen {
    height: auto;
    min-height: var(--app-vh);
    overflow: auto;
  }
  body.page-fullscreen {
    height: auto;
    overflow: auto;
  }
  .project-stage {
    min-height: calc(var(--app-vh) - 64px);
    padding: 16px;
  }
  .admin-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 720px) {
  .topbar {
    padding: 10px 12px;
  }
  .topbar-meta {
    flex-wrap: wrap;
    gap: 10px 12px;
    font-size: 12px;
    justify-content: flex-end;
  }
  .topbar-meta a,
  .topbar-meta span {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
  }
  .main {
    padding: 16px 12px 28px;
  }
  .login-stage {
    padding: 20px 14px 32px;
    gap: 20px;
  }
  .login-lead {
    font-size: 14px;
    margin-bottom: 16px;
  }
  .login-form {
    padding: 20px 16px;
  }
  .login-panel-head h2 {
    font-size: 20px;
  }
  .workbench {
    padding: 16px 12px 32px;
  }
  .admin-page {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .admin-sidebar {
    position: static;
    min-height: 0;
    max-height: none;
  }
  .admin-sidebar-brand,
  .admin-sidebar-foot {
    display: none;
  }
  .admin-head {
    flex-wrap: wrap;
    gap: 10px;
  }
  .admin-head-actions {
    width: 100%;
    flex-wrap: wrap;
  }
  .admin-tabs {
    flex-direction: row;
    width: auto;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    padding: 6px;
  }
  .admin-tab-group {
    display: contents;
  }
  .admin-tab-group-label {
    display: none;
  }
  .admin-tab {
    width: auto;
    flex: 0 0 auto;
    white-space: nowrap;
  }
  .admin-tab-ico {
    display: none;
  }
  .admin-pane {
    grid-column: auto;
    grid-row: auto;
  }
  .admin-pane-head {
    flex-wrap: wrap;
    gap: 8px;
  }
  .admin-pane-tools {
    width: 100%;
    flex-wrap: wrap;
  }
  .personnel-summary { grid-template-columns: 1fr 1fr; }
  .meeting-admin-grid { grid-template-columns: 1fr; }
  .meeting-admin-head { align-items: stretch; }
  .admin-search {
    flex: 1 1 100%;
  }
  .inline-form {
    grid-template-columns: 1fr;
  }
  .admin-dlg {
    width: min(480px, calc(100vw - 16px));
    max-height: 90vh;
  }
  .flash {
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 480px) {
  .personnel-summary { grid-template-columns: 1fr; }
  .meeting-period-form { align-items: stretch; }
  .meeting-period-form label,
  .meeting-period-form input,
  .meeting-period-form select,
  .meeting-period-form .btn { width: 100%; }
  .meeting-admin-summary,
  .meeting-admin-card-foot { align-items: flex-start; flex-direction: column; }
  .brand {
    font-size: 13px;
  }
  .topbar-meta {
    width: 100%;
    justify-content: flex-start;
  }
  .login-points {
    gap: 8px;
  }
  .login-points li {
    font-size: 12px;
  }
  button,
  .btn {
    min-height: 40px;
    padding: 10px 14px;
  }
  .station-card h3 {
    font-size: 16px;
  }
  .workbench-brand {
    font-size: 22px !important;
  }
}

/* 后台：月度视频管理 */
.month-video-table input[type="url"] {
  width: 100%;
  min-width: 220px;
}
.month-video-table input[type="file"] {
  width: 100%;
  font-size: 12px;
  color: var(--muted);
}
.month-video-preview {
  width: 148px;
  height: 84px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(47, 224, 196, 0.28);
  background: #000;
  display: block;
}

/* 后台：荣誉照片相册管理 */
.honor-admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}
.honor-admin-card {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(47, 224, 196, 0.2);
  border-radius: 12px;
  background: rgba(7, 19, 29, 0.7);
}
.honor-admin-card > header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.08em;
}
.honor-admin-card > header strong { color: var(--muted); font-weight: 600; }
.honor-admin-cover {
  height: 180px;
  overflow: hidden;
  border: 1px solid rgba(47, 224, 196, 0.16);
  border-radius: 9px;
  background: radial-gradient(circle, rgba(47,224,196,.1), rgba(3,12,20,.9));
}
.honor-admin-cover img { width: 100%; height: 100%; display: block; object-fit: cover; }
.honor-admin-cover > span { height: 100%; display: grid; place-content: center; justify-items: center; gap: 4px; color: var(--muted); }
.honor-admin-cover b { color: rgba(47,224,196,.65); font-size: 34px; font-weight: 300; }
.honor-admin-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) auto; align-items: end; gap: 10px; margin-top: 12px; }
.honor-admin-form label { min-width: 0; color: var(--muted); font-size: 11px; }
.honor-admin-form input { width: 100%; margin-top: 5px; }
.honor-admin-form input[type="file"] { padding-block: 9px; font-size: 11px; }
.honor-admin-thumbs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 7px; margin-top: 12px; }
.honor-admin-thumbs > div { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 7px; background: #02080d; }
.honor-admin-thumbs img { width: 100%; height: 100%; display: block; object-fit: cover; }
.honor-admin-thumbs form { position: absolute; top: 3px; right: 3px; }
.honor-admin-thumbs button {
  width: 24px;
  min-height: 24px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.48);
  border-radius: 50%;
  color: white;
  background: rgba(164, 35, 42, .9);
  line-height: 1;
}
.honor-admin-clear { margin-top: 10px; text-align: right; }
.honor-admin-clear .btn { color: #ff9ba0; border-color: rgba(255,91,99,.35); }
@media (max-width: 900px) {
  .honor-admin-grid { grid-template-columns: 1fr; }
  .honor-admin-form { grid-template-columns: 1fr; }
}

/* Page / embed loading overlay — covers next site until it is ready */
.page-loader-panel {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 28px 32px 24px;
  min-width: 180px;
  text-align: center;
}
.page-loader-orbit {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background:
    conic-gradient(from 0deg, rgba(47, 224, 196, 0) 0 12%, #2fe0c4 28%, rgba(47, 224, 196, 0) 48% 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  animation: page-loader-spin 0.9s linear infinite;
  filter: drop-shadow(0 0 10px rgba(47, 224, 196, 0.45));
}
.page-loader-orbit::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  border: 1px solid rgba(47, 224, 196, 0.22);
  box-shadow: inset 0 0 12px rgba(47, 224, 196, 0.12);
}
.page-loader-panel {
  isolation: isolate;
}
.page-loader-kicker {
  margin: 8px 0 0;
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--accent);
}
.page-loader-title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.12em;
}
html.is-page-loading iframe.embed-frame-full {
  opacity: 0;
}
iframe.embed-frame-full {
  transition: opacity 0.28s ease;
}
html.is-embed-ready iframe.embed-frame-full {
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .page-loader-orbit { animation: none; opacity: 0.85; }
  iframe.embed-frame-full { transition: none; }
}
@keyframes page-loader-spin {
  to { transform: rotate(360deg); }
}

.icp-beian {
  position: relative;
  flex-shrink: 0;
  width: 100%;
  height: var(--icp-h, 28px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--muted);
  background: rgba(7, 11, 18, 0.92);
  border-top: 1px solid rgba(70, 210, 190, 0.16);
}
.icp-beian a {
  color: inherit;
  text-decoration: none;
}
.icp-beian a:hover {
  color: var(--accent);
  text-decoration: underline;
}
body.page-hr .icp-beian {
  color: #5f7382;
  background: rgba(247, 251, 250, 0.94);
  border-top-color: #cfe6e3;
}
body.page-hr .icp-beian a:hover {
  color: #1eb8b0;
}
