:root {
  --bg: #edf5f8;
  --panel: rgba(255, 255, 255, 0.76);
  --panel-solid: #f8fbfc;
  --text: #152a37;
  --muted: #657b8a;
  --faint: #91a4af;
  --line: rgba(53, 91, 110, 0.16);
  --cyan: #078faa;
  --violet: #6754da;
  --mint: #128c68;
  --gold: #9a721e;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 86% -8%, rgba(32, 185, 214, 0.18), transparent 28rem),
    radial-gradient(circle at -10% 42%, rgba(111, 88, 220, 0.12), transparent 26rem),
    var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

body.sheet-open {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

.ambient {
  position: fixed;
  z-index: -1;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(12, 124, 151, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12, 124, 151, 0.055) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
  pointer-events: none;
}

.app-shell {
  width: min(100%, 1120px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 0 18px calc(102px + env(safe-area-inset-bottom));
}

.topbar {
  position: sticky;
  z-index: 30;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: calc(72px + env(safe-area-inset-top));
  padding-top: env(safe-area-inset-top);
  background: linear-gradient(to bottom, rgba(237, 245, 248, 0.98) 72%, rgba(237, 245, 248, 0));
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(7, 143, 170, 0.45);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffffff, #e0f3f7 78%);
  box-shadow: 0 0 18px rgba(7, 143, 170, 0.14), inset 0 0 12px rgba(7, 143, 170, 0.08);
}

.brand-mark::before,
.brand-mark::after {
  position: absolute;
  border: 1px solid rgba(7, 143, 170, 0.3);
  border-radius: 50%;
  content: "";
}

.brand-mark::before {
  width: 21px;
  height: 9px;
  transform: rotate(32deg);
}

.brand-mark::after {
  width: 9px;
  height: 21px;
  transform: rotate(32deg);
}

.brand-mark i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}

.brand-copy {
  display: grid;
  gap: 3px;
  text-align: left;
}

.brand-copy b {
  font-size: 15px;
  letter-spacing: 0.22em;
}

.brand-copy small {
  color: #8094a0;
  font-size: 8px;
  letter-spacing: 0.16em;
}

.readonly-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #718894;
  background: rgba(255, 255, 255, 0.7);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.readonly-status i,
.signal-label i,
.graph-caption i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 8px rgba(98, 239, 181, 0.8);
}

.main {
  padding-top: 10px;
}

.page {
  animation: page-in 0.35s ease both;
}

@keyframes page-in {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
}

.home-page {
  padding-top: 18px;
}

.signal-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #718996;
  font-size: 8px;
  letter-spacing: 0.18em;
}

.hero-title {
  margin: 18px 0 0;
  font-size: clamp(38px, 11vw, 76px);
  font-weight: 350;
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.hero-title span {
  color: transparent;
  background: linear-gradient(100deg, #173c4c 5%, var(--cyan) 46%, var(--violet) 95%);
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-copy {
  max-width: 520px;
  margin: 17px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}

.hero-panel {
  position: relative;
  margin-top: 27px;
  overflow: hidden;
  padding: 22px;
  border: 1px solid rgba(124, 177, 199, 0.2);
  border-radius: 27px;
  background:
    linear-gradient(125deg, rgba(255, 255, 255, 0.92), rgba(215, 237, 244, 0.82)),
    var(--panel);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.9), 0 30px 80px rgba(54, 81, 96, 0.1);
}

.hero-panel::before {
  position: absolute;
  width: 210px;
  height: 210px;
  right: -66px;
  top: -82px;
  border: 1px solid rgba(7, 143, 170, 0.2);
  border-radius: 50%;
  box-shadow:
    0 0 0 30px rgba(7, 143, 170, 0.03),
    0 0 0 62px rgba(103, 84, 218, 0.025);
  content: "";
}

.hero-panel::after {
  position: absolute;
  width: 160px;
  height: 50px;
  right: 8px;
  top: 42px;
  border-radius: 50%;
  border-top: 1px solid rgba(7, 143, 170, 0.25);
  transform: rotate(-18deg);
  content: "";
}

.hero-glow {
  position: absolute;
  width: 90px;
  height: 90px;
  right: 38px;
  top: 26px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffffff, #8ae8f6 9%, #299bb6 38%, rgba(40, 95, 128, 0.12) 68%);
  box-shadow: 0 0 35px rgba(7, 143, 170, 0.16);
  opacity: 0.72;
}

.hero-metrics {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  max-width: 320px;
}

.hero-metrics div {
  display: grid;
  gap: 4px;
}

.hero-metrics strong {
  font-size: 30px;
  font-weight: 350;
  letter-spacing: -0.04em;
}

.hero-metrics span {
  color: #78909e;
  font-size: 7px;
  letter-spacing: 0.17em;
}

.primary-action {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 28px;
  padding: 14px 16px;
  border: 1px solid rgba(7, 143, 170, 0.28);
  border-radius: 14px;
  color: #086f87;
  background: linear-gradient(90deg, rgba(7, 143, 170, 0.08), rgba(103, 84, 218, 0.055));
  font-size: 11px;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.primary-action i {
  font-size: 17px;
  font-style: normal;
}

.focus-block {
  margin-top: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 21px;
  background: linear-gradient(115deg, color-mix(in srgb, var(--accent) 7%, white), rgba(255, 255, 255, 0.8));
}

.section-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #728895;
  font-size: 8px;
  letter-spacing: 0.15em;
}

.section-kicker i {
  color: #8a9da8;
  font-style: normal;
  letter-spacing: 0.08em;
}

.focus-block h2 {
  margin: 13px 0 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.focus-block > p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
}

.focus-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 15px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  color: #718895;
  font-size: 9px;
}

.focus-footer button {
  padding: 0;
  border: 0;
  color: var(--accent);
  background: transparent;
  font-size: 9px;
  cursor: pointer;
}

.section {
  margin-top: 29px;
}

.update-stream {
  margin-top: 11px;
}

.update-row {
  position: relative;
  padding: 16px 0 16px 16px;
  border-bottom: 1px solid rgba(155, 183, 198, 0.1);
}

.update-row::before {
  position: absolute;
  top: 19px;
  bottom: 19px;
  left: 0;
  width: 1px;
  background: linear-gradient(var(--accent), transparent);
  content: "";
}

.update-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: #728692;
  font-size: 8px;
  letter-spacing: 0.04em;
}

.update-meta span {
  color: var(--accent);
}

.update-meta i {
  padding: 2px 5px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-style: normal;
}

.update-row h3 {
  margin: 8px 0 0;
  font-size: 14px;
  font-weight: 500;
}

.update-row p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}

.page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
}

.page-heading h1 {
  margin: 0;
  font-size: 40px;
  font-weight: 350;
  letter-spacing: -0.045em;
}

.page-heading p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 10px;
}

.index-count {
  color: #d1e1e8;
  font-size: 58px;
  font-weight: 250;
  line-height: 0.8;
  letter-spacing: -0.08em;
}

.filter-line {
  display: flex;
  gap: 7px;
  margin: 24px -18px 15px;
  padding: 0 18px;
  overflow-x: auto;
  scrollbar-width: none;
}

.filter-line::-webkit-scrollbar {
  display: none;
}

.filter-line button {
  flex: 0 0 auto;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #687782;
  background: rgba(255, 255, 255, 0.66);
  font-size: 9px;
  cursor: pointer;
}

.filter-line button.active {
  border-color: rgba(94, 231, 255, 0.34);
  color: var(--cyan);
  background: rgba(94, 231, 255, 0.07);
}

.project-list {
  display: grid;
  gap: 9px;
}

.project-row {
  display: grid;
  grid-template-columns: 27px minmax(0, 1fr) 18px;
  gap: 10px;
  align-items: start;
  width: 100%;
  padding: 17px 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: inherit;
  background:
    linear-gradient(115deg, color-mix(in srgb, var(--accent) 5%, transparent), transparent 54%),
    rgba(255, 255, 255, 0.8);
  text-align: left;
  cursor: pointer;
}

.project-index {
  padding-top: 2px;
  color: var(--accent);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.project-main {
  display: grid;
  min-width: 0;
  gap: 7px;
}

.project-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.project-heading b {
  font-size: 15px;
  font-weight: 500;
}

.project-heading i {
  flex: 0 0 auto;
  color: var(--accent);
  font-size: 8px;
  font-style: normal;
}

.project-summary {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
}

.project-foot {
  color: #81939e;
  font-size: 8px;
  letter-spacing: 0.03em;
}

.project-row .arrow {
  color: #7e929e;
  font-size: 14px;
}

.empty {
  padding: 35px 20px;
  border: 1px dashed var(--line);
  border-radius: 18px;
  color: var(--muted);
  text-align: center;
  font-size: 10px;
}

.knowledge-page {
  padding-top: 17px;
}

.knowledge-heading {
  margin-bottom: 18px;
}

.reset-btn {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--cyan);
  background: rgba(94, 231, 255, 0.05);
  cursor: pointer;
}

.graph-shell {
  overflow: hidden;
  border: 1px solid rgba(117, 163, 184, 0.17);
  border-radius: 25px;
  background:
    radial-gradient(circle at center, rgba(96, 190, 211, 0.15), transparent 50%),
    linear-gradient(145deg, #f8fcfd, #e8f2f6);
  box-shadow: inset 0 0 80px rgba(7, 143, 170, 0.035), 0 24px 60px rgba(56, 86, 103, 0.08);
}

.graph-stage {
  position: relative;
  height: min(58svh, 560px);
  min-height: 430px;
  overflow: hidden;
  touch-action: none;
  cursor: grab;
}

.graph-stage:active {
  cursor: grabbing;
}

.sphere-field {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 56%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 30%, rgba(255, 255, 255, 0.92), transparent 18%),
    radial-gradient(circle at 42% 38%, rgba(54, 174, 203, 0.2), rgba(105, 86, 202, 0.08) 45%, transparent 68%);
  box-shadow: inset -18px -20px 45px rgba(73, 91, 145, 0.09), 0 0 55px rgba(24, 149, 179, 0.08);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(7, 143, 170, 0.17);
  border-radius: 50%;
  pointer-events: none;
}

.orbit::before,
.orbit::after {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  content: "";
}

.orbit::before {
  top: 8%;
  left: 18%;
}

.orbit::after {
  right: 12%;
  bottom: 16%;
  background: var(--violet);
  box-shadow: 0 0 8px var(--violet);
}

.orbit-a {
  width: 80%;
  height: 30%;
  margin: -15% 0 0 -40%;
  transform: rotate(-11deg);
}

.orbit-b {
  width: 88%;
  height: 35%;
  margin: -17.5% 0 0 -44%;
  transform: rotate(61deg);
  opacity: 0.55;
}

.orbit-c {
  width: 56%;
  aspect-ratio: 1;
  left: 22%;
  top: 50%;
  border-style: dashed;
  opacity: 0.35;
  transform: translateY(-50%);
}

.graph-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.core-link,
.topic-link {
  fill: none;
  stroke: url("#lineGradient");
  stroke-width: 1;
}

.core-link {
  stroke-width: 1.5;
  filter: url("#lineGlow");
}

.topic-link {
  stroke-dasharray: 3 7;
  opacity: 0.55;
}

.graph-node {
  position: absolute;
  z-index: 3;
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
  transform: translate(-50%, -50%);
  touch-action: none;
  will-change: left, top, transform, opacity;
}

.project-node .node-orb {
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent);
  border-radius: 50%;
  color: var(--accent);
  background:
    radial-gradient(circle at 34% 28%, color-mix(in srgb, var(--accent) 32%, white), transparent 16%),
    radial-gradient(circle at 45% 48%, color-mix(in srgb, var(--accent) 16%, #0b1119), #070b11 64%);
  box-shadow: 0 0 28px color-mix(in srgb, var(--accent) 12%, transparent), inset 0 0 18px rgba(0, 0, 0, 0.5);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-shadow: 0 0 9px var(--accent);
}

.node-name {
  max-width: 130px;
  overflow: hidden;
  color: #506a79;
  font-size: 9px;
  line-height: 1.25;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.topic-node {
  gap: 6px;
}

.topic-dot {
  width: 18px;
  height: 18px;
  border: 1px solid rgba(157, 140, 255, 0.65);
  border-radius: 50%;
  background: radial-gradient(circle, #b9afff 0 10%, rgba(157, 140, 255, 0.18) 32%, transparent 66%);
  box-shadow: 0 0 14px rgba(157, 140, 255, 0.2);
}

.topic-node .node-name {
  max-width: 100px;
  color: #6d66a5;
  font-size: 8px;
}

.core-node {
  position: absolute;
  z-index: 1000;
  left: 50%;
  top: 50%;
  display: grid;
  width: 112px;
  height: 112px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(7, 143, 170, 0.58);
  border-radius: 50%;
  background: #e8f8fb;
  box-shadow:
    0 0 0 12px rgba(7, 143, 170, 0.04),
    0 0 44px rgba(7, 143, 170, 0.13),
    inset 0 0 30px rgba(7, 143, 170, 0.08);
  transform: translate(-50%, -50%);
  cursor: pointer;
  touch-action: none;
}

.core-halo {
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(157, 140, 255, 0.34);
  border-radius: 50%;
  animation: core-spin 18s linear infinite;
}

.core-halo::before,
.core-halo::after {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 9px var(--cyan);
  content: "";
}

.core-halo::before {
  top: 4px;
  left: 30px;
}

.core-halo::after {
  right: 4px;
  bottom: 26px;
  background: var(--violet);
  box-shadow: 0 0 9px var(--violet);
}

@keyframes core-spin {
  to {
    transform: rotate(360deg);
  }
}

.core-face {
  display: grid;
  gap: 5px;
  text-align: center;
}

.core-face b {
  color: #086f88;
  font-size: 26px;
  font-weight: 350;
  letter-spacing: 0.11em;
  text-shadow: 0 0 14px rgba(94, 231, 255, 0.5);
}

.core-face small {
  color: #7d979f;
  font-size: 6px;
  letter-spacing: 0.17em;
}

.graph-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 11px;
  border-top: 1px solid rgba(118, 158, 178, 0.1);
  color: #77909b;
  font-size: 7px;
  letter-spacing: 0.06em;
}

.graph-caption span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.sheet-backdrop {
  position: fixed;
  z-index: 60;
  inset: 0;
  display: grid;
  align-items: end;
  padding-top: 40px;
  background: rgba(31, 54, 66, 0.38);
  backdrop-filter: blur(8px);
}

.sheet-backdrop[hidden] {
  display: none;
}

.sheet {
  width: min(100%, 580px);
  max-height: min(88vh, 820px);
  margin: 0 auto;
  overflow: auto;
  border: 1px solid rgba(125, 174, 195, 0.18);
  border-bottom: 0;
  border-radius: 26px 26px 0 0;
  background: #f8fcfd;
  box-shadow: 0 -30px 90px rgba(37, 68, 84, 0.2);
  animation: sheet-in 0.25s ease both;
}

@keyframes sheet-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}

.sheet-head {
  position: sticky;
  z-index: 2;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 18px 13px;
  background: rgba(248, 252, 253, 0.94);
  backdrop-filter: blur(14px);
}

.sheet-head h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.close-btn {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #6a818e;
  background: rgba(44, 93, 111, 0.045);
  font-size: 20px;
  cursor: pointer;
}

.sheet-body {
  padding: 4px 18px calc(28px + env(safe-area-inset-bottom));
}

.detail-title {
  padding: 18px;
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
  border-radius: 18px;
  background: linear-gradient(120deg, color-mix(in srgb, var(--accent) 8%, white), rgba(255, 255, 255, 0.86));
}

.detail-title > span {
  color: var(--accent);
  font-size: 8px;
  letter-spacing: 0.16em;
}

.detail-title h3 {
  margin: 10px 0 0;
  font-size: 22px;
  font-weight: 450;
}

.detail-title p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.65;
}

.topic-detail {
  --accent: #9d8cff;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 12px 0;
}

.detail-meta span {
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #708591;
  font-size: 8px;
}

.detail-link {
  display: block;
  padding: 11px 13px;
  border: 1px solid rgba(94, 231, 255, 0.2);
  border-radius: 12px;
  color: var(--cyan);
  background: rgba(94, 231, 255, 0.05);
  font-size: 9px;
  text-align: center;
  text-decoration: none;
}

.detail-section {
  margin-top: 22px;
}

.detail-section > b {
  color: #aab9c4;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.artifact-list {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}

.artifact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.018);
}

.artifact-row span {
  font-size: 10px;
  line-height: 1.45;
}

.artifact-row small {
  flex: 0 0 auto;
  color: #7d919c;
  font-size: 7px;
}

.linked-projects {
  display: grid;
  gap: 7px;
}

.linked-project {
  display: grid;
  grid-template-columns: 36px 1fr 18px;
  gap: 10px;
  align-items: center;
  width: 100%;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: inherit;
  background: rgba(255, 255, 255, 0.72);
  text-align: left;
  cursor: pointer;
}

.linked-project > span {
  color: var(--accent);
  font-size: 9px;
}

.linked-project b {
  font-size: 11px;
  font-weight: 500;
}

.linked-project i {
  color: #7a8f9a;
  font-style: normal;
}

.core-detail {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 17px;
  border: 1px solid rgba(94, 231, 255, 0.18);
  border-radius: 18px;
  background: rgba(7, 143, 170, 0.045);
}

.core-detail-orb {
  display: grid;
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(94, 231, 255, 0.48);
  border-radius: 50%;
  color: var(--cyan);
  background: radial-gradient(circle at 35% 30%, rgba(7, 143, 170, 0.18), #f2fbfd 68%);
  font-size: 13px;
  box-shadow: 0 0 24px rgba(94, 231, 255, 0.12);
}

.core-detail b {
  font-size: 13px;
  font-weight: 500;
}

.core-detail p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.6;
}

.core-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 11px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 15px;
  text-align: center;
}

.core-stats b {
  display: block;
  font-size: 22px;
  font-weight: 350;
}

.core-stats span {
  display: block;
  margin-top: 3px;
  color: #7b8e99;
  font-size: 8px;
}

.personal-plan {
  margin-top: 12px;
  padding: 16px;
  border: 1px solid rgba(157, 140, 255, 0.16);
  border-radius: 17px;
  background: rgba(103, 84, 218, 0.035);
}

.personal-plan > p {
  margin: 10px 0;
  color: #6d6b86;
  font-size: 9px;
  line-height: 1.65;
}

.personal-plan > small {
  display: block;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(157, 140, 255, 0.12);
  color: #7c7b90;
  font-size: 8px;
  line-height: 1.55;
}

.plan-chips {
  display: flex;
  gap: 6px;
}

.plan-chips span {
  flex: 1;
  padding: 7px 4px;
  border: 1px solid rgba(157, 140, 255, 0.16);
  border-radius: 8px;
  color: #6f62b8;
  font-size: 8px;
  text-align: center;
}

.tabbar {
  position: fixed;
  z-index: 40;
  bottom: calc(12px + env(safe-area-inset-bottom));
  left: 50%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: calc(100% - 34px);
  max-width: 390px;
  height: 62px;
  padding: 5px;
  border: 1px solid rgba(135, 178, 198, 0.16);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 15px 45px rgba(46, 75, 90, 0.16), inset 0 1px rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px) saturate(1.2);
  transform: translateX(-50%);
}

.tabbar button {
  display: grid;
  min-width: 0;
  place-items: center;
  gap: 3px;
  border: 0;
  border-radius: 15px;
  color: #718894;
  background: transparent;
  font-size: 8px;
  cursor: pointer;
}

.tabbar button svg {
  width: 19px;
  height: 19px;
}

.tabbar button.active {
  color: var(--cyan);
  background: linear-gradient(180deg, rgba(7, 143, 170, 0.08), rgba(7, 143, 170, 0.015));
  text-shadow: 0 0 8px rgba(94, 231, 255, 0.35);
}

@media (min-width: 720px) {
  .app-shell {
    padding-inline: 30px;
  }

  .topbar {
    height: 82px;
  }

  .main {
    padding-top: 24px;
  }

  .home-page {
    padding-top: 35px;
  }

  .hero-panel {
    max-width: 650px;
    padding: 29px;
  }

  .focus-block {
    max-width: 650px;
  }

  .hero-glow {
    width: 126px;
    height: 126px;
    right: 48px;
    top: 31px;
  }

  .project-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .graph-stage {
    height: min(68vh, 660px);
  }

  .sheet-backdrop {
    align-items: center;
    padding: 28px;
  }

  .sheet {
    border-bottom: 1px solid rgba(125, 174, 195, 0.18);
    border-radius: 26px;
  }
}

@media (max-width: 370px) {
  .app-shell {
    padding-inline: 14px;
  }

  .filter-line {
    margin-inline: -14px;
    padding-inline: 14px;
  }

  .hero-title {
    font-size: 35px;
  }

  .graph-caption {
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
