:root {
  --bg: #070b10;
  --panel: #101820;
  --text: #e8eef2;
  --muted: #8aa0ad;
  --line: rgba(148, 190, 200, .14);
  --accent: #2dd4bf;
  --accent-dim: #0f766e;
  --warn: #fbbf24;
  --danger: #f87171;
  --ok: #34d399;
  --font: "Segoe UI Variable", Bahnschrift, "Microsoft YaHei", "PingFang SC", sans-serif;
  --shadow: 0 20px 50px rgba(0, 0, 0, .4);
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { font-family: var(--font); color: var(--text); background: var(--bg); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }

.login-wrap {
  position: relative; min-height: 100vh;
  display: grid; grid-template-columns: 1.25fr .75fr;
  background: #061018; overflow: hidden;
}
.night {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(720px 340px at 10% 0%, rgba(45, 212, 191, .18), transparent 60%),
    radial-gradient(520px 280px at 70% 80%, rgba(251, 191, 36, .08), transparent 55%),
    linear-gradient(115deg, rgba(4, 10, 14, .85) 0%, rgba(4, 10, 14, .35) 48%, rgba(4, 10, 14, .9) 100%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.02) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.015) 0 1px, transparent 1px 48px);
}
.login-hero, .login-card, .login-wrap > .site-foot { position: relative; z-index: 1; }
.login-hero { padding: 72px 64px 96px; display: flex; flex-direction: column; justify-content: center; }
.brand-mark { display: flex; gap: 12px; align-items: center; letter-spacing: .18em; font-size: 12px; color: #99f6e4; }
.brand-mark b, .logo-sq {
  width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center;
  background: linear-gradient(160deg, #5eead4, #0f766e 55%, #134e4a);
  box-shadow: 0 0 24px rgba(45, 212, 191, .35);
}
.brand-mark b svg, .logo-sq svg { width: 20px; height: 20px; display: block; }
.brand-mark b svg *, .logo-sq svg * { fill: none; stroke: #ecfeff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.brand-mark b svg .fill, .logo-sq svg .fill { fill: #fbbf24; stroke: none; }
.login-hero h1 { font-size: 46px; line-height: 1.15; margin: 24px 0 10px; font-weight: 620; letter-spacing: .04em; }
.hero-en { margin: 0 0 14px; color: #5eead4; letter-spacing: .12em; font-size: 12px; text-transform: uppercase; }
.login-hero > p { max-width: 540px; color: #9aafbf; line-height: 1.8; }
.hero-pillars { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 18px 0 0; list-style: none; }
.hero-pillars li {
  padding: 6px 12px; border-radius: 999px; font-size: 12px; letter-spacing: .08em;
  border: 1px solid rgba(45, 212, 191, .35); color: #99f6e4; background: rgba(15, 118, 110, .18);
}
.login-note { margin-top: 20px; font-size: 12px; color: #7f97a8; }
.login-card { display: flex; align-items: center; justify-content: center; padding: 32px 32px 72px; }
.card-box {
  width: min(400px, 100%); padding: 32px 28px; border-radius: 18px;
  background: rgba(10, 22, 28, .78); border: 1px solid rgba(255,255,255,.1);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.06);
  backdrop-filter: blur(16px);
}
.card-box h2 { margin: 0 0 6px; font-size: 28px; letter-spacing: .08em; }
.card-box .sub, .field-hint { color: var(--muted); font-size: 12px; margin: 6px 0 0; }
.field { margin-bottom: 12px; }
.field label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.field input, .field select {
  width: 100%; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05);
  border-radius: 8px; padding: 10px 12px; color: #f4f7fa;
}
.btn {
  background: linear-gradient(180deg, #5eead4, #0f766e 50%, #115e59);
  color: #042f2e; border: 0; border-radius: 8px; padding: 8px 14px; font-weight: 700;
}
.btn:hover { filter: brightness(1.08); }
.btn.block { width: 100%; margin-top: 8px; padding: 12px; letter-spacing: .14em; }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); font-weight: 500; }
.forgot { background: none; border: 0; color: #99f6e4; font-size: 12px; margin-top: 12px; }
.site-foot { text-align: center; color: var(--muted); font-size: 12px; padding: 10px 16px 14px; }
.login-wrap > .site-foot { position: absolute; left: 0; right: 0; bottom: 0; }

.app { min-height: 100vh; display: none; grid-template-rows: auto minmax(0, 1fr) auto; }
body.in-app .login-wrap { display: none; }
body.in-app .app { display: grid; }
.topbar {
  background: rgba(7, 12, 18, .92); border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.top-row { display: flex; align-items: center; justify-content: space-between; min-height: 56px; padding: 0 16px; }
.top-left { display: flex; align-items: center; gap: 10px; }
.topbar em { font-style: normal; color: var(--muted); font-size: 12px; margin-left: 8px; }
.top-right { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.clock { font-variant-numeric: tabular-nums; color: var(--muted); font-size: 12px; }
.shell { display: grid; grid-template-columns: 228px 1fr; min-height: 0; }
.side {
  background: linear-gradient(180deg, #0b141c, #070b10); border-right: 1px solid rgba(148,190,200,.08);
  padding: 12px 10px; overflow: auto;
}
.side-label { margin: 14px 12px 4px; font-size: 11px; letter-spacing: .12em; color: #7f97a8; }
.side a {
  display: flex; gap: 8px; align-items: center; padding: 10px 12px; border-radius: 8px;
  color: #c5d4df; font-size: 13.5px;
}
.side a.active, .side a:hover {
  background: rgba(45, 212, 191, .12); color: #fff;
  box-shadow: inset 2px 0 0 var(--accent);
}
.side .ico { width: 18px; height: 18px; color: #5eead4; display: grid; place-items: center; }
.side .ico svg { width: 16px; height: 16px; }
.side .ico svg * { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.main {
  padding: 18px 20px 32px; overflow: auto; min-width: 0;
  background:
    radial-gradient(700px 220px at 8% 0%, rgba(45, 212, 191, .07), transparent 60%),
    radial-gradient(480px 260px at 100% 0%, rgba(15, 80, 72, .2), transparent 55%),
    #070b10;
}
.page-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-end; margin-bottom: 14px; flex-wrap: wrap; }
.page-head h1 { margin: 0; font-size: 22px; letter-spacing: .1em; font-weight: 560; }
.page-head p { margin: 4px 0 0; color: var(--muted); font-size: 12.5px; max-width: 720px; line-height: 1.6; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.tab {
  border: 1px solid var(--line); background: transparent; border-radius: 999px;
  padding: 6px 12px; color: var(--muted);
}
.tab.active { background: rgba(45, 212, 191, .14); color: #ccfbf1; border-color: rgba(45, 212, 191, .45); font-weight: 650; }
.grid { display: grid; gap: 12px; }
.cols-5 { grid-template-columns: repeat(5, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-2 { grid-template-columns: 1.15fr .85fr; }
.kpi, .panel {
  background: linear-gradient(180deg, rgba(22, 38, 46, .92), rgba(12, 20, 28, .92));
  border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.kpi { border-left: 2px solid var(--accent); }
.kpi .k { font-size: 12px; color: var(--muted); letter-spacing: .12em; }
.kpi .v { font-size: 28px; margin-top: 6px; font-variant-numeric: tabular-nums; }
.kpi.amber { border-left-color: var(--warn); }
.kpi.amber .v { color: var(--warn); }
.kpi.red { border-left-color: var(--danger); }
.kpi.red .v { color: var(--danger); }
.panel h3 { margin: 0 0 10px; font-size: 14px; letter-spacing: .06em; }
table.data { width: 100%; border-collapse: collapse; font-size: 13px; }
table.data th, table.data td { text-align: left; padding: 8px; border-bottom: 1px solid rgba(148,190,200,.1); }
table.data th { color: var(--muted); background: rgba(255,255,255,.03); font-weight: 650; letter-spacing: .05em; }
.tag {
  display: inline-flex; align-items: center; padding: 1px 8px; border-radius: 999px;
  border: 1px solid var(--line); font-size: 11px; background: rgba(255,255,255,.04);
}
.tag.green { color: #6ee7b7; background: rgba(52, 211, 153, .12); border-color: rgba(52, 211, 153, .35); }
.tag.amber { color: #fde68a; background: rgba(251, 191, 36, .12); border-color: rgba(251, 191, 36, .35); }
.tag.red { color: #fecaca; background: rgba(248, 113, 113, .12); border-color: rgba(248, 113, 113, .35); }
.tag.teal { color: #99f6e4; background: rgba(45, 212, 191, .12); border-color: rgba(45, 212, 191, .35); }

.arch {
  display: grid; gap: 10px; margin-bottom: 14px;
}
.arch-band {
  border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px;
  background: rgba(8, 16, 22, .65);
}
.arch-band h4 { margin: 0 0 8px; font-size: 13px; color: var(--accent); letter-spacing: .1em; }
.arch-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.arch-chips span {
  padding: 6px 10px; border-radius: 8px; font-size: 12px;
  background: rgba(45, 212, 191, .08); border: 1px solid rgba(45, 212, 191, .22);
}
.arch-band.layer-show { border-color: rgba(251, 191, 36, .35); }
.arch-band.layer-show .arch-chips span { background: rgba(251, 191, 36, .08); border-color: rgba(251, 191, 36, .28); color: #fde68a; }
.arch-band.layer-app .arch-chips span { background: rgba(45, 212, 191, .12); }
.arch-band.layer-base .arch-chips span { background: rgba(96, 165, 250, .1); border-color: rgba(96, 165, 250, .28); }

.map-board {
  position: relative; min-height: 420px; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(360px 180px at 30% 40%, rgba(45, 212, 191, .12), transparent 60%),
    radial-gradient(280px 160px at 70% 55%, rgba(251, 191, 36, .08), transparent 55%),
    linear-gradient(180deg, #0c1820, #071018);
}
.cockpit-stage {
  position: relative; margin-top: 12px; min-height: 560px; border-radius: 14px;
  border: 1px solid var(--line); overflow: hidden;
  background: radial-gradient(ellipse at 50% 30%, rgba(45,212,191,.08), transparent 50%), #061018;
}
#park3d { width: 100%; height: min(62vh, 640px); min-height: 480px; }
#park3d canvas { display: block; width: 100% !important; height: 100% !important; cursor: grab; }
#park3d canvas:active { cursor: grabbing; }
.home-hint {
  position: absolute; left: 14px; bottom: 14px; z-index: 2;
  padding: 6px 10px; border-radius: 8px; font-size: 12px; color: #b6cdd8;
  background: rgba(6,16,24,.72); border: 1px solid rgba(148,190,200,.2); pointer-events: none;
}
.zone-panel {
  position: absolute; left: 14px; top: 14px; z-index: 3; width: min(320px, calc(100% - 28px));
  padding: 12px 14px; border-radius: 12px; background: rgba(10,18,26,.92);
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.zone-panel[hidden] { display: none; }
.zone-panel header { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; margin-bottom: 8px; }
.zone-panel header b { display: block; font-size: 15px; }
.zone-panel header span { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); }
.zone-panel p { margin: 0 0 10px; font-size: 13px; color: #d7e8ef; line-height: 1.5; }
.zone-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.event-float {
  position: absolute; right: 12px; top: 12px; z-index: 3; width: min(280px, calc(100% - 24px));
  max-height: calc(100% - 24px); overflow: auto; background: rgba(10,18,26,.92) !important;
}
.event-float h3 { margin: 0 0 8px; font-size: 13px; color: var(--accent); }
.msg.clickable { cursor: pointer; }
.msg.clickable:hover { background: rgba(45,212,191,.06); }
.head-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.telemetry-card.warn { border-color: rgba(248,113,113,.45); box-shadow: inset 0 0 0 1px rgba(248,113,113,.15); }
.tele-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 10px 0; }
.tele-grid span { display: block; font-size: 11px; color: var(--muted); }
.tele-grid b { font-size: 14px; }
.tele-grid b.hot { color: #f87171; }
.mini-spark { width: 100%; height: 40px; display: block; }
.timeline { display: grid; gap: 10px; margin-bottom: 12px; }
.timeline > div { padding: 10px 12px; border-radius: 8px; border: 1px solid var(--line); background: rgba(8,16,22,.45); }
.timeline b { display: block; margin-bottom: 4px; color: var(--accent); }
.timeline span { font-size: 12px; color: var(--muted); }
.flow .row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.flow .row input { flex: 1; min-width: 180px; }
td.ops { white-space: nowrap; }
.field-hint { color: var(--muted); font-size: 12px; margin: 0 0 10px; line-height: 1.5; }
.comm-nav-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px;
}
.comm-nav-card {
  text-align: left; padding: 14px 16px; border-radius: 12px;
  border: 1px solid var(--line); background: rgba(8,16,22,.55);
  display: grid; gap: 6px; transition: border-color .15s, background .15s;
}
.comm-nav-card:hover { border-color: rgba(45,212,191,.45); background: rgba(45,212,191,.08); }
.comm-nav-card b { font-size: 15px; }
.comm-nav-card span { font-size: 12px; color: var(--muted); }
.comm-stage {
  display: flex; align-items: center; gap: 16px; padding: 14px 16px;
}
.comm-stage b { display: block; font-size: 12px; color: var(--accent); margin-bottom: 4px; }
.comm-stage span { color: var(--muted); font-size: 13px; }
.comm-wave { display: flex; align-items: flex-end; gap: 3px; height: 28px; }
.comm-wave i {
  display: block; width: 4px; border-radius: 2px; background: var(--accent);
  animation: wave 1s ease-in-out infinite; height: 40%;
}
.comm-wave i:nth-child(2) { animation-delay: .1s; height: 70%; }
.comm-wave i:nth-child(3) { animation-delay: .2s; height: 100%; }
.comm-wave i:nth-child(4) { animation-delay: .15s; height: 55%; }
.comm-wave i:nth-child(5) { animation-delay: .25s; height: 85%; }
.comm-wave i:nth-child(6) { animation-delay: .05s; height: 45%; }
.comm-wave i:nth-child(7) { animation-delay: .3s; height: 65%; }
@keyframes wave { 50% { transform: scaleY(.45); opacity: .7; } }
.video-preview {
  height: 120px; width: 100%; border-radius: 10px; margin-bottom: 10px;
  display: block; object-fit: cover; padding: 0; border: 1px solid var(--line);
  background: #061018; color: #99f6e4;
}
.video-preview.soldier {
  /* same cover tile for soldier stream */
}
.video-room.live, .soldier-card.live { border-color: rgba(45,212,191,.45); }
.video-room h3, .soldier-card h3 { margin: 0 0 6px; font-size: 15px; }
.video-room p, .soldier-card p { margin: 0 0 6px; font-size: 13px; color: #c5d5df; }
.map-grid {
  position: absolute; inset: 0; opacity: .35;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 36px 36px;
}
.map-zone {
  position: absolute; border-radius: 10px; border: 1px dashed rgba(255,255,255,.25);
  display: grid; place-items: center; font-size: 12px; letter-spacing: .06em; color: #d7e8ef;
  background: rgba(255,255,255,.04);
}
.map-zone.z1 { left: 8%; top: 14%; width: 28%; height: 30%; background: rgba(248,113,113,.12); border-color: rgba(248,113,113,.4); }
.map-zone.z2 { left: 42%; top: 18%; width: 24%; height: 26%; background: rgba(251,191,36,.1); border-color: rgba(251,191,36,.4); }
.map-zone.z3 { left: 70%; top: 16%; width: 22%; height: 24%; background: rgba(45,212,191,.1); border-color: rgba(45,212,191,.4); }
.map-zone.z4 { left: 18%; top: 55%; width: 30%; height: 28%; background: rgba(96,165,250,.1); border-color: rgba(96,165,250,.35); }
.map-zone.z5 { left: 55%; top: 52%; width: 32%; height: 30%; background: rgba(52,211,153,.08); border-color: rgba(52,211,153,.35); }
.map-dot {
  position: absolute; width: 10px; height: 10px; border-radius: 50%; border: 2px solid #fff;
  transform: translate(-50%, -50%); box-shadow: 0 0 0 4px rgba(45,212,191,.2);
}
.map-dot.on { background: var(--ok); }
.map-dot.alarm { background: var(--danger); animation: blink 1.2s ease-in-out infinite; }
.map-dot.warn { background: var(--warn); }
@keyframes blink { 50% { opacity: .45; } }
.map-side {
  position: absolute; right: 12px; top: 12px; width: 260px;
  background: rgba(10, 18, 26, .92); border: 1px solid var(--line); border-radius: 12px; padding: 12px;
}
.msg { padding: 8px 0; border-bottom: 1px solid rgba(148,190,200,.1); }
.msg b { display: block; }
.msg span { color: var(--muted); font-size: 12px; }
.flow { border: 1px solid var(--line); background: rgba(8,16,22,.55); padding: 12px; border-radius: 10px; margin-bottom: 12px; }
.flow h4 { margin: 0 0 8px; font-size: 13px; color: var(--accent); }
.flow-steps { display: flex; flex-wrap: wrap; gap: 8px; }
.flow-steps span {
  padding: 8px 12px; border-radius: 8px; font-size: 12px;
  background: rgba(45,212,191,.1); border: 1px solid rgba(45,212,191,.25);
}

/* 栏目流程演示页 */
.process-eyebrow {
  margin: 0 0 6px; font-size: 12px; letter-spacing: .14em;
  color: var(--accent); text-transform: uppercase;
}
.process-grid {
  display: grid; grid-template-columns: minmax(260px, .9fr) minmax(0, 1.2fr);
  gap: 14px; align-items: start;
}
.process-case,
.process-track {
  min-width: 0;
  overflow: hidden;
}
.process-case h3, .process-track h3 { margin: 0 0 10px; font-size: 14px; color: var(--accent); }
.process-scene {
  margin: 0 0 12px; padding: 10px 12px; border-radius: 8px;
  background: rgba(45,212,191,.08); border: 1px solid rgba(45,212,191,.22);
  font-size: 14px; font-weight: 600;
}
.process-sample {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.process-sample div {
  padding: 8px 10px; border-radius: 8px; border: 1px solid var(--line);
  background: rgba(8,16,22,.45);
  min-width: 0;
}
.process-sample span { display: block; font-size: 11px; color: var(--muted); }
.process-sample b { font-size: 13px; font-weight: 600; word-break: break-word; }
.process-now {
  margin-top: 14px; padding: 12px; border-radius: 8px;
  border: 1px dashed rgba(45,212,191,.35); background: rgba(8,16,22,.35);
}
.process-now span { display: block; font-size: 11px; color: var(--muted); }
.process-now strong { display: block; margin: 4px 0 2px; font-size: 16px; }
.process-now em { font-style: normal; font-size: 12px; color: var(--accent); }
.process-actions { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.process-actions button:disabled { opacity: .45; cursor: not-allowed; }
.process-steps {
  list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0;
  border-left: 2px solid rgba(45,212,191,.25); margin-left: 14px;
}
.process-steps li {
  position: relative;
  display: block;
  padding: 2px 0 16px 22px;
  min-width: 0;
}
.process-steps li:last-child { padding-bottom: 0; }
.process-steps li > div {
  min-width: 0;
  width: 100%;
}
.process-steps li i {
  position: absolute; left: -15px; top: 2px;
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  font-style: normal; font-size: 11px; font-weight: 700;
  background: #0f1820; border: 2px solid rgba(148,190,200,.35); color: var(--muted);
  z-index: 1;
}
.process-steps li.active i {
  border-color: var(--accent); color: #042f2e; background: var(--accent);
  box-shadow: 0 0 0 4px rgba(45,212,191,.15);
}
.process-steps li.done i {
  border-color: #34d399; background: rgba(52,211,153,.15); color: #6ee7b7;
}
.process-steps li b { display: block; font-size: 14px; word-break: break-word; }
.process-steps li em { display: block; font-style: normal; font-size: 12px; color: var(--accent); }
.process-steps li p { margin: 4px 0 2px; font-size: 13px; color: #d7e2e8; line-height: 1.55; word-break: break-word; }
.process-steps li small { display: block; color: var(--muted); font-size: 12px; word-break: break-word; }
.process-steps li.active div {
  padding: 8px 10px; border-radius: 8px;
  background: rgba(45,212,191,.08); border: 1px solid rgba(45,212,191,.2);
}
.process-done {
  margin-top: 12px; padding: 10px 12px; border-radius: 8px;
  background: rgba(52,211,153,.1); border: 1px solid rgba(52,211,153,.3);
  color: #a7f3d0; font-size: 13px;
}
@media (max-width: 980px) {
  .process-grid { grid-template-columns: 1fr; }
  .process-sample { grid-template-columns: 1fr; }
}
.bars { display: flex; flex-direction: column; gap: 8px; }
.bar-row { display: grid; grid-template-columns: 120px 1fr 32px; gap: 8px; align-items: center; font-size: 12px; }
.bar { height: 8px; background: rgba(255,255,255,.08); border-radius: 99px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--accent); }
.list-cards { display: grid; gap: 8px; }
.list-cards article {
  display: flex; justify-content: space-between; gap: 10px; align-items: center;
  padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: rgba(8,16,22,.45);
}
.list-cards b { display: block; }
.list-cards span { color: var(--muted); font-size: 12px; }
.toast {
  position: fixed; right: 16px; bottom: 16px; background: #134e4a; color: #ecfeff;
  border-radius: 8px; padding: 10px 14px; opacity: 0; transition: .2s; pointer-events: none; z-index: 50;
}
.toast.show { opacity: 1; }
.sheet-mask { position: fixed; inset: 0; background: rgba(4,8,12,.55); z-index: 40; display: flex; justify-content: flex-end; }
.sheet-mask[hidden] { display: none; }
.sheet {
  width: min(440px, 100%); height: 100%; background: #101820; padding: 16px 18px; overflow: auto;
  border-left: 1px solid var(--line); box-shadow: var(--shadow);
}
.sheet header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.pillars-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 12px; }
.pillars-row article {
  text-align: center; padding: 12px 8px; border-radius: 10px; border: 1px solid var(--line);
  background: rgba(8,16,22,.55); font-size: 12px; letter-spacing: .06em;
}
.pillars-row b { display: block; font-size: 20px; margin-bottom: 4px; color: var(--accent); }

@media (max-width: 1100px) {
  .cols-5, .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .pillars-row { grid-template-columns: repeat(3, 1fr); }
  .comm-nav-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .shell { grid-template-columns: 1fr; }
  .side { display: flex; gap: 4px; overflow: auto; }
  .side a { white-space: nowrap; }
  .side-label { display: none; }
  .cols-3, .cols-2 { grid-template-columns: 1fr; }
  .map-side { position: relative; right: auto; top: auto; width: auto; margin: 12px; }
  .event-float { position: relative; right: auto; top: auto; width: auto; margin: 12px; max-height: none; }
  #park3d { min-height: 380px; height: 48vh; }
  .comm-nav-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .login-wrap { grid-template-columns: 1fr; }
  .login-hero { padding: 36px 20px 12px; }
  .login-hero h1 { font-size: 34px; }
  .login-card { padding: 12px 16px 64px; }
  .pillars-row, .cols-5, .cols-4 { grid-template-columns: 1fr 1fr; }
}
