:root {
  --lime: #b6d45b;
  --lime-deep: #96bc22;
  --lime-soft: #edf8d9;
  --ink: #101417;
  --ink-2: #1b2022;
  --paper: #fbfff1;
  --white: #ffffff;
  --muted: #69705c;
  --line: rgba(16, 20, 23, 0.12);
  --blue: #b9dffc;
  --peach: #efc498;
  --mint: #c8eed8;
  --shadow: 0 24px 58px rgba(16, 20, 23, 0.24);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: #000;
  font-family: Inter, "Arial Rounded MT Bold", "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
}

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
  font: inherit;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, color 0.16s ease;
}

button:hover {
  transform: translateY(-1px);
}

button:active {
  transform: translateY(0);
}

button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(16, 20, 23, 0.2);
  outline-offset: 2px;
}

.poster {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 42px 20px;
}

.showcase {
  width: min(1180px, 100%);
  min-height: 760px;
  position: relative;
  overflow: hidden;
  border-radius: 0;
  background: var(--lime);
  padding: 54px 54px 46px;
}

.showcase::before {
  content: "UI DESIGN";
  position: absolute;
  top: 78px;
  left: 118px;
  color: rgba(255, 255, 255, 0.2);
  font-size: 96px;
  line-height: 1;
  font-weight: 1000;
  letter-spacing: -2px;
  pointer-events: none;
}

.topbar {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}

.brand-title {
  margin: 0;
  color: #071115;
  font-size: clamp(34px, 5.2vw, 64px);
  line-height: 0.95;
  font-weight: 1000;
  letter-spacing: -1px;
}

.brand-title span {
  display: block;
}

.brand-note {
  color: #121719;
  font-size: 14px;
  font-weight: 900;
}

.app-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 260px minmax(330px, 390px) minmax(300px, 1fr);
  gap: 28px;
  align-items: start;
}

.side-board {
  display: grid;
  gap: 18px;
}

.cover-phone,
.phone-shell,
.insight-phone {
  border-radius: 44px;
  background: rgba(237, 248, 217, 0.72);
  padding: 14px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28), var(--shadow);
}

.cover-screen,
.phone-screen,
.insight-screen {
  min-height: 610px;
  overflow: hidden;
  border-radius: 34px;
  background: var(--paper);
}

.cover-screen {
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 30px;
  text-align: center;
}

.abstract-mark {
  width: 170px;
  height: 248px;
  position: relative;
  margin-bottom: 34px;
}

.shape {
  position: absolute;
  border-radius: 70% 30% 55% 45%;
}

.shape.black-a {
  width: 150px;
  height: 86px;
  top: 6px;
  left: 18px;
  background: var(--ink);
  transform: rotate(18deg);
}

.shape.lime-a {
  width: 158px;
  height: 82px;
  top: 92px;
  left: 0;
  background: var(--lime);
  transform: rotate(-10deg);
}

.shape.black-b {
  width: 108px;
  height: 92px;
  top: 132px;
  right: 8px;
  background: var(--ink);
  transform: rotate(23deg);
}

.shape.lime-b {
  width: 150px;
  height: 74px;
  bottom: 0;
  left: 12px;
  background: var(--lime-deep);
  transform: rotate(-4deg);
}

.spark {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--blue);
}

.spark.one {
  top: 12px;
  left: 4px;
}

.spark.two {
  top: 112px;
  right: -10px;
  background: var(--mint);
}

.spark.three {
  bottom: 14px;
  left: -8px;
  background: var(--peach);
}

.cover-screen h2 {
  margin: 0 0 22px;
  font-size: 28px;
  font-weight: 1000;
  letter-spacing: 1px;
}

.cover-screen p {
  margin: 0;
  max-width: 190px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.phone-shell {
  padding: 16px;
  border-radius: 46px;
}

.phone-screen {
  height: 680px;
  min-height: 680px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 18px;
}

.status-bar {
  height: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  flex: 0 0 auto;
}

.island {
  position: absolute;
  top: 18px;
  left: 50%;
  width: 82px;
  height: 24px;
  border-radius: 999px;
  background: var(--ink);
  transform: translateX(-50%);
}

.signal {
  display: flex;
  align-items: center;
  gap: 5px;
}

.wifi {
  width: 14px;
  height: 11px;
  position: relative;
  display: inline-block;
}

.wifi i {
  position: absolute;
  left: 50%;
  bottom: 0;
  border: 2px solid var(--ink);
  border-top-color: transparent;
  border-left-color: transparent;
  border-radius: 0 0 12px 0;
  transform: translateX(-50%) rotate(45deg);
}

.wifi i:nth-child(1) {
  width: 12px;
  height: 12px;
}

.wifi i:nth-child(2) {
  width: 6px;
  height: 6px;
}

.signal-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}

.signal-bars i {
  width: 3px;
  border-radius: 2px;
  background: var(--ink);
}

.signal-bars i:nth-child(1) {
  height: 4px;
}

.signal-bars i:nth-child(2) {
  height: 7px;
}

.signal-bars i:nth-child(3) {
  height: 10px;
}

.battery {
  width: 22px;
  height: 11px;
  position: relative;
  display: inline-block;
  border: 2px solid var(--ink);
  border-radius: 3px;
}

.battery::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 12px;
  height: 3px;
  background: var(--ink);
  border-radius: 2px;
}

.battery::after {
  content: "";
  position: absolute;
  right: -5px;
  top: 2px;
  width: 3px;
  height: 5px;
  background: var(--ink);
  border-radius: 0 2px 2px 0;
}

.app-view {
  flex: 1;
  overflow: auto;
  scrollbar-width: none;
  padding-top: 18px;
}

.module-rail {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 5px;
  margin-top: 14px;
  flex: 0 0 auto;
}

.module-rail button {
  min-width: 0;
  height: 24px;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(16, 20, 23, 0.08);
  font-size: 10px;
  font-weight: 1000;
}

.module-rail button.active {
  color: var(--white);
  background: var(--ink);
}

.app-view::-webkit-scrollbar {
  display: none;
}

.screen-head {
  margin-bottom: 14px;
}

.mini-kicker {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.screen-head h3 {
  margin: 5px 0 5px;
  font-size: 22px;
  line-height: 1.08;
  font-weight: 1000;
}

.screen-head p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.progress-pill {
  height: 32px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 11px;
  font-weight: 900;
}

.progress-track {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.progress-fill {
  height: 100%;
  background: var(--lime);
  border-radius: inherit;
  transition: width 0.25s ease;
}

.phone-actions {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 10px;
  padding-top: 12px;
  flex: 0 0 auto;
}

.btn {
  min-height: 42px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--lime);
  font-size: 13px;
  font-weight: 1000;
}

.btn.primary {
  color: var(--white);
  background: var(--ink);
}

.btn.ghost {
  color: var(--ink);
  background: rgba(16, 20, 23, 0.08);
}

.btn.only {
  grid-column: 1 / -1;
}

.card,
.panel,
.field-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
}

.dark-card {
  color: var(--white);
  background: var(--ink);
}

.hero-card {
  padding: 22px;
  border-radius: 28px;
  min-height: 166px;
}

.app-home {
  display: grid;
  gap: 18px;
}

.app-home .timeline {
  margin-top: 0;
}

.home-cta {
  min-height: 48px;
  margin-top: 2px;
  color: var(--ink);
  background: var(--lime);
  box-shadow: inset 0 -5px 0 rgba(16, 20, 23, 0.12);
}

.hero-card h4 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.08;
  font-weight: 1000;
}

.hero-card p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  line-height: 1.6;
}

.mini-dots {
  display: flex;
  gap: 6px;
}

.mini-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}

.mini-dots i.active {
  background: var(--lime);
}

.field-grid {
  display: grid;
  gap: 10px;
}

.field-card {
  padding: 12px;
  background: rgba(255, 255, 255, 0.74);
}

.field-card label {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  margin-bottom: 5px;
}

input,
textarea {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 800;
}

textarea {
  min-height: 54px;
  resize: vertical;
}

input::selection,
textarea::selection {
  color: var(--ink);
  background: var(--lime);
}

.field-card:focus-within {
  background: var(--white);
  box-shadow: inset 0 0 0 2px rgba(16, 20, 23, 0.12);
}

.field-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 900;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tag {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(16, 20, 23, 0.08);
  font-size: 11px;
  font-weight: 900;
}

.tag.active,
.tag.selectable:hover {
  color: var(--white);
  background: var(--ink);
}

.career-list,
.match-list,
.gap-list,
.report-list {
  display: grid;
  gap: 10px;
}

.career-card {
  width: 100%;
  min-height: 92px;
  padding: 14px;
  text-align: left;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
}

.career-card.selected {
  color: var(--white);
  background: var(--ink);
}

.card-action {
  display: inline-flex;
  margin-top: 10px;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--lime);
  font-size: 10px;
  font-weight: 1000;
}

.career-card.selected .card-action {
  color: var(--ink);
  background: var(--lime);
}

.career-card h4,
.match-card h4,
.gap-card h4,
.report-card h4 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 1000;
}

.career-card p,
.match-card p,
.gap-card p,
.report-card p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.career-card.selected p {
  color: rgba(255, 255, 255, 0.68);
}

.analysis-panel {
  display: grid;
  gap: 12px;
}

.loading-box {
  min-height: 168px;
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 16px;
  border-radius: 24px;
  background: var(--ink);
  color: var(--white);
}

.pulse {
  width: 42px;
  height: 42px;
  border: 5px solid rgba(182, 212, 91, 0.24);
  border-top-color: var(--lime);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

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

.loading-steps {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
  font-weight: 900;
}

.loading-steps span.active {
  color: var(--lime);
}

.match-card,
.gap-card,
.report-card {
  width: 100%;
  padding: 14px;
  text-align: left;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.8);
}

.match-head {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 9px;
  align-items: center;
}

.arrow-dot {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--ink);
  font-weight: 1000;
}

.tiny {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
}

.indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 1000;
}

.indicator::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.indicator.match {
  color: #587304;
  background: #dff19f;
}

.indicator.partial {
  color: #175f83;
  background: #d9effb;
}

.indicator.need {
  color: #8b301d;
  background: #f3c9bb;
}

.detail {
  display: none;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.open .detail {
  display: block;
}

.transfer-map {
  display: grid;
  gap: 10px;
}

.transfer-row {
  display: grid;
  grid-template-columns: 1fr 24px 1fr 24px 1fr;
  gap: 5px;
  align-items: stretch;
}

.transfer-node {
  min-height: 74px;
  padding: 9px;
  text-align: left;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
}

.transfer-node.active {
  color: var(--white);
  background: var(--ink);
}

.transfer-node small {
  display: block;
  color: var(--muted);
  margin-bottom: 5px;
  font-size: 9px;
  font-weight: 1000;
}

.transfer-node.active small {
  color: rgba(255, 255, 255, 0.58);
}

.transfer-node strong {
  display: block;
  font-size: 12px;
  line-height: 1.25;
}

.transfer-arrow {
  display: grid;
  place-items: center;
  color: var(--ink);
  font-weight: 1000;
}

.node-detail {
  margin-top: 12px;
  padding: 14px;
  border-radius: 22px;
  color: var(--white);
  background: var(--ink);
}

.node-detail strong {
  display: block;
  font-size: 13px;
  line-height: 1.35;
  margin-bottom: 6px;
}

.node-detail p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
  line-height: 1.6;
}

.gap-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

.tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.tab {
  min-height: 34px;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(16, 20, 23, 0.08);
  font-size: 11px;
  font-weight: 1000;
}

.tab.active {
  color: var(--white);
  background: var(--ink);
}

.copy-block {
  padding: 14px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  line-height: 1.65;
  font-weight: 700;
}

.editable-copy {
  display: grid;
  gap: 8px;
}

.editable-copy label {
  color: var(--muted);
  font-size: 10px;
  font-weight: 1000;
}

.editable-copy textarea {
  min-height: 104px;
  padding: 0;
  line-height: 1.65;
}

.insight-phone {
  margin-top: 40px;
}

.insight-screen {
  min-height: 610px;
  padding: 22px;
  color: var(--white);
  background: var(--ink);
}

.goal-row {
  display: grid;
  grid-template-columns: 1fr 1fr 0.8fr;
  gap: 10px;
  margin: 20px 0 18px;
}

.goal-stat {
  min-height: 94px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: var(--ink);
  background: var(--lime);
  text-align: center;
  font-weight: 1000;
}

.goal-stat b {
  display: block;
  font-size: 30px;
}

.goal-stat span {
  display: block;
  font-size: 10px;
}

.badge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px 10px;
}

.badge {
  border: 0;
  background: transparent;
  padding: 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.78);
  font-size: 10px;
  font-weight: 800;
}

.badge:hover {
  transform: none;
}

.badge-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin: 0 auto 7px;
  border-radius: 50%;
  color: var(--ink);
  background: var(--paper);
  font-size: 22px;
  box-shadow: inset 0 -8px 0 rgba(16, 20, 23, 0.08);
}

.timeline {
  display: grid;
  gap: 11px;
  margin-top: 16px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 9px;
  align-items: center;
  padding: 10px;
  border-radius: 18px;
  color: var(--white);
  background: var(--ink);
  border: 0;
  text-align: left;
  width: 100%;
}

.timeline-item b {
  font-size: 12px;
}

.timeline-item span {
  display: block;
  color: rgba(255, 255, 255, 0.58);
  font-size: 10px;
  line-height: 1.4;
}

.bottom-note {
  position: relative;
  z-index: 2;
  margin-top: 28px;
  color: #111719;
  font-size: 16px;
  font-weight: 1000;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 10;
  max-width: 330px;
  padding: 13px 16px;
  border-radius: 18px;
  color: var(--white);
  background: var(--ink);
  box-shadow: var(--shadow);
  font-weight: 900;
}

@media (max-width: 1080px) {
  .showcase {
    padding: 36px 24px;
  }

  .app-grid {
    grid-template-columns: minmax(320px, 390px) minmax(280px, 1fr);
  }

  .side-board {
    display: none;
  }
}

@media (max-width: 760px) {
  .poster {
    padding: 0;
  }

  .showcase {
    min-height: 100vh;
    padding: 24px 14px;
  }

  .topbar {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .brand-title {
    font-size: 38px;
  }

  .app-grid {
    grid-template-columns: 1fr;
  }

  .phone-shell {
    width: min(390px, 100%);
    margin: 0 auto;
  }

  .insight-phone {
    display: none;
  }

  .phone-screen {
    height: min(680px, calc(100vh - 178px));
    min-height: 560px;
  }
}
