﻿:root {
  --bg: #fbf9f6;
  --panel: #ffffff;
  --panel-soft: #f7ebe1;
  --ink: #3d342e;
  --muted: #7d6a60;
  --line: #eadfd7;
  --tag-bg: #f7ebe1;
  --tag-ink: #d97d54;
  --orange: #d97d54;
  --orange-deep: #b85f3f;
  --mint: #48b98c;
  --blue: #4f8fc8;
  --peach: #ffb088;
  --shadow: 0 12px 34px rgba(61, 52, 46, 0.08);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.app-shell {
  width: min(100%, 430px);
  min-height: 100vh;
  margin: 0 auto;
  background:
    linear-gradient(180deg, rgba(247, 235, 225, 0.68), rgba(251, 249, 246, 0)),
    var(--bg);
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(69, 43, 22, 0.14);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 68px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 248, 239, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  font-weight: 800;
  font-size: 17px;
}

.sub-brand {
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}

.top-actions {
  display: flex;
  gap: 8px;
}

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--orange-deep);
  font-size: 18px;
  box-shadow: 0 4px 12px rgba(180, 102, 48, 0.08);
}

main {
  padding: 0;
}

.screen {
  display: none;
}

.screen.is-active {
  display: block;
}

.screen:not(#screen-cover) {
  padding: 14px 14px 92px;
}

#screen-login {
  min-height: 100vh;
  padding: 0 22px;
  display: none;
  place-items: center;
  position: relative;
  overflow: hidden;
  background: #ebf7e3;
}

#screen-login.is-active {
  display: grid;
}

#screen-home {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  background: #ebf7e3;
}

#screen-home::before,
#screen-home::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

#screen-home::before {
  left: -22%;
  right: -22%;
  bottom: -8%;
  height: 30%;
  background:
    radial-gradient(ellipse at 26% 62%, rgba(116, 174, 83, 0.10) 0 30%, transparent 52%),
    radial-gradient(ellipse at 76% 56%, rgba(116, 174, 83, 0.08) 0 31%, transparent 54%);
}

#screen-home::after {
  width: 128px;
  height: 52px;
  left: 50%;
  right: auto;
  top: 24px;
  transform: translateX(-50%);
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 34% 52%, rgba(255, 255, 255, 0.58) 0 28%, transparent 30%),
    radial-gradient(ellipse at 58% 48%, rgba(255, 255, 255, 0.50) 0 30%, transparent 32%),
    radial-gradient(ellipse at 74% 58%, rgba(255, 255, 255, 0.42) 0 24%, transparent 26%);
  opacity: 0.58;
}

#screen-login::before,
#screen-login::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

#screen-login::before {
  left: -18%;
  right: -18%;
  bottom: -9%;
  height: 32%;
  background:
    radial-gradient(ellipse at 24% 62%, rgba(116, 174, 83, 0.10) 0 28%, transparent 48%),
    radial-gradient(ellipse at 72% 58%, rgba(116, 174, 83, 0.08) 0 30%, transparent 52%);
}

#screen-login::after {
  width: 180px;
  height: 74px;
  left: 50%;
  top: 9%;
  transform: translateX(-50%);
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 34% 52%, rgba(255, 255, 255, 0.68) 0 28%, transparent 30%),
    radial-gradient(ellipse at 54% 46%, rgba(255, 255, 255, 0.62) 0 30%, transparent 32%),
    radial-gradient(ellipse at 70% 58%, rgba(255, 255, 255, 0.54) 0 24%, transparent 26%);
  opacity: 0.62;
}

.hero-panel,
.profile-card,
.form-panel,
.section-block,
.empty-state,
.advisor-card,
.login-hero {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(234, 223, 215, 0.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.login-hero {
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(255, 176, 136, 0.28), rgba(255, 255, 255, 0.9)),
    var(--panel);
}

.login-hero h1 {
  margin: 14px 0 8px;
  font-size: 30px;
  line-height: 1.18;
}

.login-hero p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.cover-page {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  padding: 0;
  border-radius: 0;
  background: #fbf9f6;
}

.cover-art {
  position: absolute;
  left: 50%;
  top: 50%;
  width: max(100%, calc(100vh * 941 / 1672));
  aspect-ratio: 941 / 1672;
  transform: translate(-50%, -50%);
}

.cover-image {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.primary-btn.cover-enter {
  position: absolute;
  left: 17.5%;
  top: 85.9%;
  right: auto;
  bottom: auto;
  width: 66.2%;
  height: 8.65%;
  z-index: 3;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: transparent;
  text-indent: -9999px;
  border-radius: 999px;
  background: transparent;
  border: 0;
  box-shadow: none;
  outline: 0;
  transform: translateY(0) scale(1);
  animation: none;
  -webkit-tap-highlight-color: transparent;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.primary-btn.cover-enter:link,
.primary-btn.cover-enter:visited,
.primary-btn.cover-enter:hover,
.primary-btn.cover-enter:focus,
.primary-btn.cover-enter:focus-visible {
  color: transparent;
  outline: 0;
  text-decoration: none;
}

.primary-btn.cover-enter::before {
  content: none;
  position: absolute;
  inset: 3px 10px auto;
  height: 38%;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.48), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.primary-btn.cover-enter::after {
  content: none;
  position: absolute;
  top: 0;
  bottom: 0;
  width: 46%;
  left: -66%;
  transform: skewX(-18deg);
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.62), transparent);
  animation: cover-hotspot-sheen 2.9s ease-in-out infinite;
  pointer-events: none;
}

.primary-btn.cover-enter:hover {
  background: transparent;
}

.primary-btn.cover-enter:active {
  transform: translateY(1px) scale(0.99);
  box-shadow: none;
}

@keyframes cover-hotspot-breathe {
  0%, 100% {
    transform: translateY(0) scale(1);
    box-shadow:
      0 16px 28px rgba(164, 92, 21, 0.24),
      inset 0 2px 4px rgba(255, 255, 255, 0.50),
      inset 0 -5px 14px rgba(165, 82, 12, 0.20);
  }
  50% {
    transform: translateY(-2px) scale(1.035);
    box-shadow:
      0 23px 40px rgba(164, 92, 21, 0.36),
      inset 0 2px 6px rgba(255, 255, 255, 0.62),
      inset 0 -5px 14px rgba(165, 82, 12, 0.15);
  }
}

@keyframes cover-hotspot-sheen {
  0%, 44% {
    left: -66%;
    opacity: 0;
  }
  55% {
    opacity: 0.86;
  }
  72%, 100% {
    left: 120%;
    opacity: 0;
  }
}

@keyframes cover-button-breathe {
  0%, 100% {
    box-shadow:
      inset 0 1px 2px rgba(104, 82, 67, 0.18),
      inset 1px 0 1px rgba(104, 82, 67, 0.08),
      inset -1px 0 1px rgba(104, 82, 67, 0.07),
      inset 0 -2px 3px rgba(255, 255, 255, 0.74);
  }
  50% {
    box-shadow:
      inset 0 1px 2px rgba(104, 82, 67, 0.14),
      inset 1px 0 1px rgba(104, 82, 67, 0.06),
      inset -1px 0 1px rgba(104, 82, 67, 0.05),
      inset 0 -2px 5px rgba(255, 255, 255, 0.88);
  }
}

@keyframes cover-button-sheen {
  0%, 42% {
    transform: translateX(-120%);
    opacity: 0;
  }
  54% {
    opacity: 0.65;
  }
  72%, 100% {
    transform: translateX(120%);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .primary-btn.cover-enter,
  .primary-btn.cover-enter::after {
    animation: none;
  }
}

.demo-account-list {
  display: grid;
  gap: 8px;
}

.demo-account-list button {
  min-height: 42px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--orange-deep);
  font-weight: 800;
  text-align: left;
  padding: 10px 12px;
}

.login-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 356px;
  padding: 28px 20px 22px;
  border-radius: 28px 30px 27px 31px;
  border: 1.5px solid #e2d5c5;
  background: #fffdf5;
  box-shadow:
    0 28px 64px rgba(113, 162, 91, 0.18),
    0 10px 28px rgba(113, 162, 91, 0.10),
    0 2px 8px rgba(226, 213, 197, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.login-card::before {
  content: "";
  position: absolute;
  inset: 10px 12px auto;
  height: 42px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  opacity: 0.54;
  pointer-events: none;
}

.login-card-head {
  text-align: center;
  margin-bottom: 24px;
}

.login-card-head span {
  display: inline-flex;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(217, 125, 84, 0.18);
  color: #d97d54;
  background: #f7ebe1;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.login-card-head h1 {
  margin: 18px 0 8px;
  color: #1b472a;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.72);
}

.login-card-head p {
  margin: 0;
  color: rgba(61, 52, 46, 0.72);
  font-size: 14px;
  line-height: 1.6;
}

.login-card label {
  margin-bottom: 16px;
}

.login-card label > span {
  color: #3d342e;
  font-weight: 800;
}

.login-card input {
  min-height: 52px;
  border: 1.5px solid #d3c4b4;
  border-radius: 18px 20px 17px 21px;
  background: #ffffff;
  color: #3d342e;
  box-shadow:
    inset 0 1px 2px rgba(61, 52, 46, 0.06),
    0 2px 0 rgba(255, 255, 255, 0.72);
  transition:
    border-color 240ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 240ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 240ms cubic-bezier(0.16, 1, 0.3, 1);
}

.login-card input:focus {
  border-color: #b7a893;
  box-shadow:
    0 0 0 4px rgba(247, 235, 225, 0.88),
    inset 0 1px 2px rgba(61, 52, 46, 0.05);
  outline: 0;
}

.login-card input::placeholder {
  color: rgba(61, 52, 46, 0.38);
}

.code-row {
  display: grid;
  grid-template-columns: 1fr 82px;
  gap: 10px;
}

.code-btn {
  border: 1px solid rgba(122, 98, 83, 0.14);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.82), rgba(239, 229, 218, 0.66));
  color: #7a6253;
  font-weight: 600;
  box-shadow:
    inset 0 1px 2px rgba(104, 82, 67, 0.10),
    inset 0 -1px 2px rgba(255, 255, 255, 0.66);
}

.login-submit {
  width: 100%;
  min-height: 60px;
  margin-top: 8px;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  background:
    linear-gradient(180deg, #ffbf45 0%, #ffb01f 42%, #f39800 100%);
  color: #ffffff;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-indent: 0.12em;
  text-shadow:
    0 2px 0 rgba(157, 83, 0, 0.26),
    0 4px 10px rgba(157, 83, 0, 0.18);
  box-shadow:
    0 16px 28px rgba(197, 106, 0, 0.24),
    0 6px 12px rgba(243, 152, 0, 0.18),
    inset 0 3px 5px rgba(255, 255, 255, 0.56),
    inset 0 -7px 13px rgba(174, 88, 0, 0.18);
  transition:
    transform 360ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 360ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 360ms cubic-bezier(0.16, 1, 0.3, 1);
}

.login-submit:hover {
  filter: saturate(1.04) brightness(1.02);
  box-shadow:
    0 20px 34px rgba(197, 106, 0, 0.27),
    0 8px 15px rgba(243, 152, 0, 0.20),
    inset 0 3px 6px rgba(255, 255, 255, 0.62),
    inset 0 -7px 13px rgba(174, 88, 0, 0.15);
}

.login-submit:active {
  transform: translateY(3px) scale(0.96);
  box-shadow:
    0 8px 16px rgba(197, 106, 0, 0.18),
    0 3px 8px rgba(243, 152, 0, 0.13),
    inset 0 5px 10px rgba(157, 83, 0, 0.18),
    inset 0 -2px 6px rgba(255, 255, 255, 0.22);
}

.hero-panel {
  min-height: 310px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(145deg, rgba(255, 176, 136, 0.34), rgba(255, 255, 255, 0.86) 52%),
    url("../敏宝陪伴成长营｜21天专项陪伴_files/拒奶引导方案.jpg");
  background-size: cover;
  background-position: center bottom;
  overflow: hidden;
  position: relative;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 248, 239, 0.76));
}

.hero-copy,
.hero-actions {
  position: relative;
  z-index: 1;
}

.status-pill {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--tag-bg);
  border: 1px solid rgba(217, 125, 84, 0.16);
  color: var(--tag-ink);
  font-size: 12px;
  font-weight: 800;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero-panel h1 {
  margin: 16px 0 10px;
  font-size: 32px;
  line-height: 1.18;
  letter-spacing: 0;
}

.hero-panel p,
.mini-card span,
.map-preview span,
.section-head span,
.today-card p,
.advisor-card p,
.empty-state p {
  color: var(--muted);
}

.hero-actions {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr;
}

.primary-btn,
.secondary-btn {
  min-height: 46px;
  border-radius: var(--radius);
  border: 0;
  padding: 11px 14px;
  font-weight: 800;
}

.primary-btn {
  color: white;
  background: linear-gradient(135deg, var(--orange), var(--orange-deep));
  box-shadow: 0 10px 22px rgba(249, 115, 22, 0.26);
}

.dev-only {
  display: none !important;
}

.primary-btn:disabled,
.secondary-btn:disabled {
  cursor: not-allowed;
  color: rgba(71, 55, 42, 0.74);
  background: #efe7da;
  box-shadow: none;
}

.secondary-btn {
  color: var(--orange-deep);
  background: #fff7ee;
  border: 1px solid #f2d2b8;
}

.primary-btn.full {
  width: 100%;
}

.action-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

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

.mini-card {
  min-height: 104px;
  padding: 12px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--line);
}

.mini-card b,
.mini-card span {
  display: block;
}

.mini-card b {
  margin-bottom: 6px;
  font-size: 14px;
}

.mini-card span {
  font-size: 12px;
  line-height: 1.45;
}

.section-block {
  padding: 14px;
  margin-top: 12px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.section-head h2 {
  margin: 0;
  font-size: 18px;
}

.section-head span {
  font-size: 12px;
  white-space: nowrap;
}

.page-title {
  padding: 6px 2px 0;
}

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

.map-select-hero {
  position: relative;
  z-index: 1;
  padding: 22px;
  border-radius: 28px 30px 27px 31px;
  background: #fffdf5;
  border: 1px solid #e6dcd0;
  box-shadow:
    0 22px 52px rgba(113, 162, 91, 0.14),
    0 8px 24px rgba(113, 162, 91, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.map-select-hero h1 {
  margin: 16px 0 10px;
  color: #1b472a;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: 0;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.80);
}

.map-select-hero p {
  margin: 0;
  color: rgba(61, 52, 46, 0.72);
  line-height: 1.7;
}

.map-select-panel {
  position: relative;
  z-index: 1;
  margin-top: 12px;
  min-height: 292px;
  padding: 16px;
  border-radius: 28px 30px 27px 31px;
  background: #fffdf5;
  border: 1px solid #e6dcd0;
  box-shadow:
    0 28px 64px rgba(113, 162, 91, 0.16),
    0 10px 28px rgba(113, 162, 91, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  overflow: hidden;
}

.map-select-panel .section-head h2 {
  color: #1b472a;
  font-weight: 900;
}

.map-select-panel .map-choice-list,
.map-select-panel .map-confirm-btn {
  display: none;
}

.map-select-panel.is-generating .section-head,
.map-select-panel.is-generating .map-choice-list,
.map-select-panel.is-generating .map-confirm-btn {
  opacity: 0;
  filter: none;
  transition: opacity 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

.map-choice {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 104px;
  padding: 14px;
  border-radius: 22px;
  border: 2px dashed transparent;
  cursor: pointer;
  opacity: 0.8;
  position: relative;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.58),
    0 4px 12px rgba(61, 52, 46, 0.04);
  transition:
    transform 420ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 360ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 360ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 420ms cubic-bezier(0.16, 1, 0.3, 1),
    background 360ms cubic-bezier(0.16, 1, 0.3, 1);
}

.map-choice.is-selected,
.map-choice.selected {
  transform: scale(1.02);
  opacity: 1;
  border: 2px dashed #f39800;
  box-shadow:
    0 16px 34px rgba(243, 152, 0, 0.14),
    0 0 0 4px rgba(243, 152, 0, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.map-choice-list:has(.map-choice.is-selected) .map-choice:not(.is-selected),
.map-choice-list:has(.map-choice.selected) .map-choice:not(.selected) {
  opacity: 0.45;
}

.map-choice-list.has-selection .map-choice:not(.is-selected) {
  opacity: 0.45;
}

.map-choice:active {
  transform: scale(0.992);
}

.map-choice.is-selected:active {
  transform: scale(1.012);
}

.map-choice-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  font-size: 25px;
  background:
    linear-gradient(180deg, rgba(255, 255, 250, 0.98), rgba(255, 246, 223, 0.78));
  border: 1px solid rgba(230, 220, 208, 0.88);
  box-shadow:
    inset 0 1px 2px rgba(104, 82, 67, 0.10),
    inset 0 -2px 3px rgba(255, 255, 255, 0.78),
    0 8px 18px rgba(104, 82, 67, 0.08);
}

.map-choice span,
.map-choice b,
.map-choice p {
  display: block;
}

.map-choice span {
  color: rgba(122, 98, 83, 0.58);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.map-choice b {
  margin-top: 0;
  color: #3d342e;
  font-size: 18px;
  font-weight: 850;
}

.map-choice p {
  margin: 5px 0 0;
  color: rgba(61, 52, 46, 0.62);
  font-size: 13px;
  line-height: 1.5;
}

.map-confirm-btn {
  width: 100%;
  min-height: 58px;
  margin-top: 16px;
  border: 1.5px solid rgba(255, 255, 255, 0.60);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  color: rgba(61, 52, 46, 0.38);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-indent: 0.12em;
  box-shadow:
    inset 0 1px 2px rgba(61, 52, 46, 0.05),
    inset 0 -1px 2px rgba(255, 255, 255, 0.72);
  transition:
    transform 360ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 320ms cubic-bezier(0.16, 1, 0.3, 1),
    color 320ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 360ms cubic-bezier(0.16, 1, 0.3, 1),
    background 360ms cubic-bezier(0.16, 1, 0.3, 1);
}

.map-confirm-btn:disabled {
  cursor: not-allowed;
  opacity: 1;
  color: rgba(61, 52, 46, 0.34);
  border-color: rgba(255, 255, 255, 0.60);
  background: rgba(255, 255, 255, 0.58);
  box-shadow:
    inset 0 1px 2px rgba(61, 52, 46, 0.05),
    inset 0 -1px 2px rgba(255, 255, 255, 0.72);
}

.map-confirm-btn.is-active {
  border: 1.5px solid rgba(255, 255, 255, 0.92);
  background:
    linear-gradient(180deg, #ffb834 0%, #f39800 100%);
  color: #ffffff;
  text-shadow:
    0 2px 0 rgba(157, 83, 0, 0.26),
    0 4px 10px rgba(157, 83, 0, 0.18);
  box-shadow:
    0 16px 28px rgba(197, 106, 0, 0.24),
    0 6px 12px rgba(243, 152, 0, 0.18),
    inset 0 3px 5px rgba(255, 255, 255, 0.56),
    inset 0 -7px 13px rgba(174, 88, 0, 0.18);
}

.map-confirm-btn.is-active:hover {
  background:
    linear-gradient(180deg, #ffc149 0%, #f7a719 100%);
}

.map-confirm-btn.is-active:active {
  transform: translateY(3px) scale(0.96);
  box-shadow:
    0 8px 16px rgba(197, 106, 0, 0.18),
    0 3px 8px rgba(243, 152, 0, 0.13),
    inset 0 5px 10px rgba(157, 83, 0, 0.18),
    inset 0 -2px 6px rgba(255, 255, 255, 0.22);
}

.map-confirm-btn.is-loading {
  cursor: progress;
  opacity: 0.92;
}

.map-preview {
  display: grid;
  grid-template-columns: 78px 1fr;
  align-items: center;
  gap: 12px;
  min-height: 92px;
  padding: 10px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: transform 0.18s, box-shadow 0.18s;
}

.map-preview:active {
  transform: scale(0.99);
}

.map-preview img {
  width: 78px;
  height: 72px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.map-preview b,
.map-preview span {
  display: block;
}

.map-preview span {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.5;
}

.peach {
  background: #fbf2eb;
}

.green {
  background: #eef5ee;
}

.blue {
  background: #ebf2f7;
}

.form-panel {
  padding: 16px;
}

label,
fieldset {
  display: block;
  margin: 0 0 14px;
}

label > span,
legend {
  display: block;
  margin-bottom: 7px;
  font-weight: 800;
  font-size: 14px;
}

input,
select,
textarea {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid #e6cdb9;
  background: #ffffff;
  color: var(--ink);
  padding: 12px;
  outline: 0;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.12);
}

fieldset {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
}

.check-row,
.agree-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.check-row input,
.agree-row input {
  width: auto;
  margin-top: 3px;
}

.agree-row span {
  margin: 0;
  font-weight: 400;
}

.hidden {
  display: none !important;
}

.hidden-chrome {
  display: none !important;
}

.empty-state {
  min-height: 300px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.empty-state h2 {
  font-size: 24px;
  margin-bottom: 8px;
}

.map-home {
  min-height: 100vh;
  margin: -14px -14px -92px;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.map-home.is-route-pending .map-side-actions {
  display: none;
}

#mapPageImage {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  object-position: center center;
}

.map-title-card {
  position: absolute;
  top: max(14px, env(safe-area-inset-top));
  left: 50%;
  z-index: 4;
  width: min(calc(100% - 28px), 402px);
  transform: translateX(-50%);
  padding: 2px 8px 4px;
  text-align: center;
  border-radius: 10px 12px 11px 13px;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.map-title-card h1 {
  margin: 0;
  color: #3d2d25;
  font-size: clamp(20px, 5.7vw, 28px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0;
  white-space: nowrap;
  text-shadow:
    2px 0 0 #fffdf2,
    -2px 0 0 #fffdf2,
    0 2px 0 #fffdf2,
    0 -2px 0 #fffdf2,
    1.5px 1.5px 0 #fffdf2,
    -1.5px 1.5px 0 #fffdf2,
    1.5px -1.5px 0 #fffdf2,
    -1.5px -1.5px 0 #fffdf2,
    0 4px 10px rgba(80, 60, 45, 0.10);
}

.map-title-card p {
  margin: 8px 0 0;
  color: #6f6259;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.5px;
}

.map-progress-widget {
  position: absolute;
  top: max(106px, calc(env(safe-area-inset-top) + 106px));
  left: 16px;
  z-index: 3;
  width: min(calc(100% - 32px), 398px);
  min-height: 46px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 8px;
  padding: 6px 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 253, 242, 0.34);
  box-shadow:
    0 8px 20px rgba(80, 60, 45, 0.035),
    inset 0 1px 0 rgba(255, 255, 255, 0.40);
  backdrop-filter: blur(1.5px);
}

.map-progress-badge {
  min-width: 54px;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  position: relative;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(255, 248, 230, 0.70);
  border: 1px solid rgba(152, 121, 80, 0.13);
  color: #5d513f;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  box-shadow:
    0 2px 6px rgba(104, 72, 43, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.62);
}

.map-progress-badge span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #78bd3f;
  box-shadow: 0 0 0 3px rgba(120, 189, 63, 0.12);
}

@keyframes map-badge-star-pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.88;
  }
  50% {
    transform: scale(1.15);
    opacity: 1;
  }
}

.map-progress-track {
  min-width: 0;
  min-height: 34px;
  display: block;
  padding-left: 12px !important;
  padding-right: 12px !important;
  overflow: hidden;
}

.map-progress-track::before,
.map-progress-track::after {
  content: none;
}

.map-home.is-route-pending .map-progress-track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(3px, 1.4vw, 7px);
}

.map-home.is-route-pending .map-progress-widget {
  display: none;
}

.route-pending-dot {
  flex: 1;
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 253, 242, 0.72);
  box-shadow: inset 0 1px 2px rgba(104, 72, 43, 0.08);
}

.route-pending-dot.is-active {
  background: #f39800;
  box-shadow:
    0 3px 8px rgba(243, 152, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.vine-progress {
  position: relative;
  width: 100%;
  height: 34px;
  overflow: hidden;
}

.vine-progress-base,
.vine-progress-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.vine-progress-base path {
  fill: none;
  stroke: rgba(126, 157, 91, 0.26);
  stroke-width: 1.2;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.vine-main {
  fill: none;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  transition: d 0.3s ease;
}

.vine-main {
  stroke: #61aa36;
  stroke-width: 1.9;
  filter: drop-shadow(0 1px 2px rgba(46, 95, 30, 0.12));
}

.vine-bud {
  fill: #70b83b;
  filter: drop-shadow(0 1px 1px rgba(44, 89, 31, 0.10));
}

.map-progress-count {
  min-width: 42px;
  align-self: center;
  justify-self: end;
  margin-right: 0;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(255, 253, 242, 0.96);
  border: 1px solid rgba(150, 105, 66, 0.18);
  color: #4a3b32;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-align: center;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.72);
}

@media (max-width: 380px) {
  .map-progress-widget {
    column-gap: 6px;
    padding-inline: 8px;
  }

  .map-progress-badge {
    min-width: 44px;
    padding-inline: 7px;
    font-size: 10px;
  }

  .map-progress-badge span {
    display: none;
  }

  .map-progress-count {
    min-width: 36px;
    padding-inline: 7px;
    font-size: 11px;
  }
}

.map-node-layer {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.map-stage-node {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 56px;
  height: 72px;
  padding: 0;
  border: 0;
  background: transparent;
  transform: translate(-50%, -50%);
  pointer-events: auto;
  display: grid;
  justify-items: center;
  justify-content: center;
  align-content: start;
  font-weight: 900;
  -webkit-tap-highlight-color: transparent;
  transition: transform 170ms cubic-bezier(0.16, 1, 0.3, 1);
}

.map-stage-label {
  margin-bottom: 2px;
  color: #3d2d25;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  text-shadow:
    1px 0 0 #fffdf2,
    -1px 0 0 #fffdf2,
    0 1px 0 #fffdf2,
    0 -1px 0 #fffdf2,
    0 2px 4px rgba(61, 52, 46, 0.10);
}

.map-stage-dot {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fffdf2;
  border: 1.5px solid rgba(61, 45, 37, 0.58);
  color: #8a7a70;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  text-shadow: none;
  box-shadow:
    0 4px 0 rgba(61, 45, 37, 0.16),
    0 8px 14px rgba(61, 52, 46, 0.12),
    inset 0 2px 0 rgba(255, 255, 255, 0.88),
    inset 0 -3px 0 rgba(221, 198, 166, 0.40);
}

.map-stage-star {
  width: 25px;
  height: 17px;
  margin-top: -1px;
  justify-self: center;
  align-self: start;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 253, 242, 0.95);
  border: 1px solid rgba(93, 64, 45, 0.30);
  color: #f6a800;
  font-size: 14px;
  line-height: 1;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.80);
  box-shadow:
    0 3px 5px rgba(61, 52, 46, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.map-stage-node.is-done .map-stage-dot {
  background: #f39800;
  border-color: #1b472a;
  color: #ffffff;
  font-weight: 900;
  text-shadow: 0 1px 0 rgba(88, 48, 0, 0.20);
  box-shadow:
    0 4px 0 rgba(105, 66, 22, 0.28),
    0 9px 15px rgba(61, 52, 46, 0.14),
    inset 0 2px 0 rgba(255, 224, 142, 0.60),
    inset 0 -3px 0 rgba(176, 88, 0, 0.22);
}

.map-stage-node.is-done .map-stage-star {
  color: #f39800;
  border-color: rgba(27, 71, 42, 0.32);
}

.map-stage-node.is-locked {
  cursor: not-allowed;
}

.map-stage-node.is-locked .map-stage-dot,
.map-stage-node.is-locked .map-stage-label {
  filter: grayscale(0.28);
  opacity: 0.58;
}

.map-stage-node.is-locked .map-stage-label {
  color: rgba(61, 45, 37, 0.62);
}

.map-stage-node.is-locked:active {
  transform: translate(-50%, -50%);
}

.map-stage-review-mark {
  position: absolute;
  right: 2px;
  top: 16px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid #1b472a !important;
  background: #ffd254 !important;
  box-shadow: 0 2px 0 #d49b1c !important;
}

.map-stage-review-mark::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: solid #1b472a !important;
  border-width: 0 2.5px 2.5px 0 !important;
  border-radius: 1px;
  transform: rotate(42deg) skew(-4deg);
}

.map-stage-node.is-approved .map-stage-review-mark {
  background: #ffd254 !important;
}

.map-stage-node.is-needs_changes .map-stage-review-mark {
  background: #ffd254 !important;
}

.map-stage-node.is-rejected .map-stage-review-mark {
  background: #ffd254 !important;
}

.map-stage-node:active {
  transform: translate(-50%, -50%) scale(0.95);
}

.map-stage-node:active .map-stage-dot {
  box-shadow:
    0 2px 0 rgba(61, 45, 37, 0.16),
    0 5px 10px rgba(61, 52, 46, 0.10),
    inset 0 2px 3px rgba(61, 45, 37, 0.08);
}

.map-node-layer.is-station-mode .map-stage-node {
  width: 142px;
  height: 52px;
  grid-template-columns: 42px 1fr;
  grid-template-rows: 42px;
  column-gap: 0;
  align-items: center;
  align-content: center;
  justify-content: start;
  justify-items: start;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.map-node-layer.is-station-mode .map-stage-label {
  grid-column: 2;
  grid-row: 1;
  min-width: 82px;
  min-height: 34px;
  margin: 0 0 0 -10px;
  padding: 6px 16px 6px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 40px !important;
  border: none;
  background: rgba(255, 255, 255, 0.78);
  color: #2d4236;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
  text-align: center;
  box-shadow: 0 4px 12px rgba(31, 66, 45, 0.08);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  text-shadow: none;
  position: relative;
  z-index: 1;
}

.map-node-layer.is-station-mode .map-stage-dot {
  grid-column: 1;
  grid-row: 1;
  width: 40px;
  height: 40px;
  font-size: 20px;
  position: relative;
  z-index: 2;
}

.map-node-layer.is-station-mode .map-stage-star {
  display: none;
}

.map-node-layer.is-station-mode .map-stage-review-mark {
  right: 7px;
  top: 5px;
}

.map-node-layer.is-station-mode .map-stage-count {
  display: inline;
  position: static;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: 11px !important;
  color: #6b7a70 !important;
  margin-left: 6px !important;
  font-weight: 800;
  line-height: 1;
}

.map-node-layer.is-image-node-mode .map-stage-node {
  width: 76px;
  height: 86px;
  align-content: center;
  gap: 2px;
}

.map-node-layer.is-image-node-mode .map-stage-label {
  order: 2;
  width: max-content;
  max-width: 112px;
  min-height: 22px;
  margin: 2px 0 0;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: #2d4236;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.15;
  white-space: nowrap;
  box-shadow: 0 3px 8px rgba(31, 66, 45, 0.08);
  text-shadow: none;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.map-node-layer.is-image-node-mode .map-stage-dot {
  order: 1;
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.food-route-node-image {
  width: 64px;
  height: 64px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 6px 8px rgba(61, 52, 46, 0.16));
}

.food-route-node-placeholder {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2px dashed rgba(91, 123, 67, 0.34);
  background: rgba(255, 253, 242, 0.72);
  color: #6b7a70;
  box-shadow: 0 5px 10px rgba(61, 52, 46, 0.08);
}

.food-route-node-placeholder b,
.food-route-node-placeholder em {
  display: block;
  line-height: 1;
}

.food-route-node-placeholder b {
  font-size: 17px;
  color: #5b7b43;
}

.food-route-node-placeholder em {
  margin-top: -12px;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
}

.map-node-layer.is-image-node-mode .map-stage-star {
  display: none;
}

.map-node-layer.is-image-node-mode .map-stage-review-mark {
  right: 2px;
  top: 8px;
}

.route-pending-card {
  position: absolute;
  left: 50%;
  top: 48%;
  width: min(calc(100% - 44px), 350px);
  padding: 22px 20px 20px;
  transform: translate(-50%, -50%);
  border-radius: 24px 28px 25px 27px;
  background: rgba(255, 253, 242, 0.88);
  border: 1px solid rgba(221, 198, 166, 0.52);
  box-shadow:
    0 18px 42px rgba(80, 60, 45, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(6px);
  pointer-events: auto;
}

.route-pending-card h2 {
  margin: 14px 0 10px;
  color: #2d4236;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: 0;
}

.route-pending-card p {
  margin: 0;
  color: #6b5f55;
  font-size: 14px;
  line-height: 1.7;
}

.route-pending-card small {
  display: block;
  margin-top: 14px;
  color: #7a6f65;
  font-size: 12px;
  line-height: 1.55;
}

.route-pending-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

.route-pending-options span {
  min-height: 72px;
  padding: 12px 10px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.70);
  border: 1px solid rgba(221, 198, 166, 0.46);
  box-shadow: 0 5px 14px rgba(80, 60, 45, 0.06);
}

.route-pending-options b,
.route-pending-options em {
  display: block;
}

.route-pending-options b {
  color: #3d2d25;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
}

.route-pending-options em {
  margin-top: 5px;
  color: #6b7a70;
  font-size: 12px;
  font-style: normal;
  line-height: 1.3;
}

.map-side-actions {
  position: absolute;
  right: 14px;
  top: 33%;
  z-index: 5;
  display: grid;
  gap: 14px;
}

.map-side-action {
  position: relative;
  width: 78px;
  height: 76px;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  clip-path: none;
  color: #fff8e7;
  filter: drop-shadow(0 8px 10px rgba(61, 52, 46, 0.18));
  box-shadow: none;
  -webkit-tap-highlight-color: transparent;
  transition:
    transform 180ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

.map-side-action::before,
.map-side-action::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.map-side-action::before {
  inset: 0;
  z-index: 0;
  background: url("../敏宝陪伴成长营｜21天专项陪伴_files/木板.png") center / contain no-repeat;
}

.map-side-action::after {
  display: none;
  inset: 14px 12px;
  z-index: 0;
  border-radius: 12px;
  background: rgba(91, 54, 26, 0.12);
  opacity: 0.28;
}

.map-side-action .btn-content {
  position: absolute;
  top: calc(50% - 1px);
  left: 50%;
  z-index: 1;
  width: 78%;
  height: 58%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.map-side-action b {
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.05;
  text-align: center;
  white-space: nowrap;
  writing-mode: horizontal-tb;
  text-shadow: 0 1px 1px rgba(61, 45, 37, 0.55);
}

.map-side-action:active {
  transform: translateY(2px) scale(0.96);
  box-shadow:
    0 3px 8px rgba(61, 52, 46, 0.12),
    inset 0 4px 8px rgba(96, 56, 27, 0.22);
}

.map-home-header {
  position: absolute;
  top: max(18px, env(safe-area-inset-top));
  left: 16px;
  right: 16px;
  padding: 16px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(251, 249, 246, 0.92), rgba(247, 235, 225, 0.76));
  border: 1px solid rgba(217, 125, 84, 0.14);
  box-shadow:
    0 18px 46px rgba(61, 52, 46, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(8px);
}

.map-home-header h1 {
  margin: 12px 0 8px;
  color: var(--ink);
  font-size: 26px;
  line-height: 1.15;
}

.map-home-header p {
  margin: 4px 0 0;
  color: #6f5545;
  font-size: 14px;
  line-height: 1.45;
}

.profile-card {
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.profile-card h2 {
  margin: 12px 0 4px;
  font-size: 22px;
}

.profile-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.progress-ring {
  flex: 0 0 82px;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  text-align: center;
  background: conic-gradient(var(--orange) var(--p, 0%), #f5e2d1 0);
  position: relative;
}

.progress-ring::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: white;
}

.progress-ring strong,
.progress-ring span {
  position: relative;
  z-index: 1;
}

.progress-ring strong {
  font-size: 18px;
}

.progress-ring span {
  color: var(--muted);
  font-size: 11px;
}

.today-card {
  padding: 14px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #fff3e8, #ffffff);
  border: 1px solid var(--line);
}

.today-card h3 {
  margin-bottom: 6px;
}

.today-card p {
  margin-bottom: 12px;
  line-height: 1.65;
}

.timeline {
  display: grid;
  gap: 10px;
}

.node-card {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #ffffff;
}

.node-day {
  min-height: 42px;
  border-radius: 6px;
  background: #fff3e8;
  color: var(--orange-deep);
  display: grid;
  place-content: center;
  font-weight: 800;
}

.node-card.is-done .node-day {
  background: #e9f8f0;
  color: #16835c;
}

.node-card b,
.node-card span {
  display: block;
}

.node-card span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.text-btn {
  border: 0;
  background: transparent;
  color: var(--orange-deep);
  font-weight: 800;
  padding: 6px 0;
}

.map-board {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  background: #ffffff;
}

.map-board img {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
}

.map-board-content {
  padding: 12px;
}

.map-board-content h3 {
  margin-bottom: 6px;
}

.map-board-content p {
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.6;
}

.content-list {
  display: grid;
  gap: 10px;
}

.content-card {
  padding: 14px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 6px 18px rgba(180, 102, 48, 0.08);
  cursor: pointer;
}

.content-card.is-locked {
  opacity: 0.56;
}

.content-card b {
  display: block;
  margin-bottom: 5px;
}

.content-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.card-action {
  display: inline-flex;
  margin-top: 10px;
  color: var(--orange-deep);
  font-size: 12px;
  font-weight: 800;
}

.record-list,
.gift-order-list {
  display: grid;
  gap: 10px;
}

.history-card,
.gift-order-card {
  padding: 12px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #ffffff;
}

.history-card.is-submission {
  background:
    linear-gradient(135deg, rgba(255, 244, 213, 0.45), rgba(255, 255, 255, 0.98));
}

.history-card div,
.gift-order-card {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.history-card b,
.history-card span,
.history-card em,
.gift-order-card b,
.gift-order-card span {
  display: block;
}

.history-card span,
.gift-order-card span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.history-card p {
  margin: 10px 0 0;
  color: var(--ink);
  line-height: 1.6;
}

.record-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
  justify-content: flex-start;
}

.record-chip-row small {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255, 210, 84, 0.18);
  border: 1px solid rgba(212, 155, 28, 0.20);
  color: #2d4236;
  font-size: 12px;
  font-weight: 800;
}

.history-card em {
  margin-top: 8px;
  color: var(--orange-deep);
  font-style: normal;
  font-size: 13px;
}

.record-status {
  flex: 0 0 auto;
  padding: 4px 8px;
  border-radius: 999px;
  background: #f1e3d5;
  color: #8a5a3b;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.gift-order-card strong {
  flex: 0 0 auto;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--tag-bg);
  color: var(--tag-ink);
  font-size: 12px;
}

.soft-empty {
  padding: 14px;
  border-radius: var(--radius);
  background: #fbf9f6;
  border: 1px dashed #eadfd7;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.growth-card {
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(240, 220, 201, 0.9);
  background:
    linear-gradient(135deg, rgba(255, 176, 136, 0.22), rgba(255, 255, 255, 0.92)),
    var(--panel);
  box-shadow: var(--shadow);
}

.growth-card h2 {
  margin: 14px 0 6px;
  font-size: 24px;
}

.growth-card p {
  margin-bottom: 14px;
  color: var(--muted);
}

.growth-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.growth-stats div {
  min-height: 70px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  display: grid;
  place-content: center;
  text-align: center;
}

.growth-stats b,
.growth-stats span {
  display: block;
}

.growth-stats b {
  font-size: 20px;
  color: var(--orange-deep);
}

.growth-stats span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.summary-list {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.summary-list p {
  margin: 0;
  padding: 12px;
  border-radius: var(--radius);
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--muted);
  line-height: 1.6;
}

.summary-list b {
  color: var(--ink);
}

.gift-visual {
  margin: 0 0 12px;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.advisor-card {
  padding: 14px;
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 14px;
  align-items: center;
}

.advisor-card h3 {
  margin-bottom: 6px;
}

.advisor-card p {
  margin: 0;
  line-height: 1.6;
  font-size: 13px;
}

.qr-placeholder {
  width: 96px;
  height: 96px;
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, #222 10px, transparent 10px) 0 0 / 24px 24px,
    linear-gradient(#222 10px, transparent 10px) 0 0 / 24px 24px,
    #fff;
  border: 8px solid #fff;
  box-shadow: inset 0 0 0 1px #222, 0 6px 16px rgba(0, 0, 0, 0.08);
  display: grid;
  place-content: center;
  text-align: center;
  color: #111;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
}

.data-panel {
  min-height: 220px;
  max-height: 420px;
  overflow: auto;
  padding: 12px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #2b211b;
  color: #fff5e8;
  font-size: 12px;
  white-space: pre-wrap;
}

.staff-summary-grid,
.admin-kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}

.admin-header {
  padding: 18px;
  margin-bottom: 12px;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 252, 247, 0.94), rgba(242, 231, 219, 0.72));
  border: 1px solid rgba(122, 98, 83, 0.12);
}

.admin-header h2 {
  margin: 14px 0 6px;
  font-size: 24px;
  line-height: 1.24;
}

.admin-header p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.admin-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  padding: 6px;
  margin-bottom: 12px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--line);
}

.admin-tabs button {
  min-height: 38px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.admin-tabs button.is-active {
  color: #7a6253;
  background:
    linear-gradient(180deg, rgba(250, 246, 239, 0.96), rgba(239, 229, 218, 0.9));
  box-shadow:
    inset 0 1px 2px rgba(104, 82, 67, 0.12),
    inset 0 -1px 2px rgba(255, 255, 255, 0.7);
}

.admin-panel {
  display: none;
}

.admin-panel.is-active {
  display: block;
}

.admin-card {
  padding: 14px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.staff-summary-card,
.admin-kpi {
  min-height: 92px;
  padding: 14px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 6px 18px rgba(180, 102, 48, 0.08);
  display: grid;
  align-content: center;
}

.staff-summary-card b,
.admin-kpi b {
  display: block;
  font-size: 28px;
  color: var(--orange-deep);
  line-height: 1;
}

.staff-summary-card span,
.admin-kpi span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

.staff-task-list,
.admin-module-grid,
.admin-chart-list,
.admin-table-list,
.admin-ops-grid {
  display: grid;
  gap: 10px;
}

.admin-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border-radius: var(--radius);
  background: #ffffff;
  border: 1px solid var(--line);
}

.admin-row b,
.admin-row span {
  display: block;
}

.admin-row span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.admin-row strong {
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--tag-bg);
  color: var(--orange-deep);
  font-size: 12px;
}

.admin-ops-grid {
  grid-template-columns: repeat(3, 1fr);
}

.admin-op-card {
  min-height: 82px;
  padding: 12px;
  border-radius: var(--radius);
  background: #ffffff;
  border: 1px solid var(--line);
  display: grid;
  align-content: center;
  text-align: center;
}

.admin-op-card b,
.admin-op-card span {
  display: block;
}

.admin-op-card b {
  color: var(--orange-deep);
  font-size: 18px;
}

.admin-op-card span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
}

.task-card,
.admin-module,
.staff-user-card {
  padding: 14px;
  border-radius: var(--radius);
  background: #ffffff;
  border: 1px solid var(--line);
}

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

.task-card.urgent {
  border-color: #f0a39a;
  background: #fff1ee;
}

.task-card.gift {
  border-color: #f4d28f;
  background: #fff9e8;
}

.task-card b,
.task-card span,
.admin-module b,
.admin-module span {
  display: block;
}

.task-card span,
.admin-module span,
.staff-user-card p,
.followup-box span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.staff-user-card h3 {
  margin: 12px 0 6px;
  font-size: 22px;
}

.followup-box {
  margin: 12px 0;
  padding: 12px;
  border-radius: var(--radius);
  background: var(--tag-bg);
  border: 1px solid #f1d4bd;
}

.followup-box b,
.followup-box span {
  display: block;
}

.bar-row {
  padding: 12px;
  border-radius: var(--radius);
  background: #ffffff;
  border: 1px solid var(--line);
}

.bar-row div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.bar-row span {
  color: var(--muted);
  font-size: 12px;
}

.bar-row i {
  display: block;
  height: 9px;
  border-radius: 999px;
  background: #f3dfcf;
  overflow: hidden;
}

.bar-row em {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--orange), var(--mint));
}

.warn-box {
  padding: 12px;
  margin-bottom: 14px;
  border-radius: var(--radius);
  background: #fff7dc;
  border: 1px solid #f1d88d;
  color: #6f5522;
  font-size: 13px;
  line-height: 1.6;
}

.tabbar {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  z-index: 30;
  width: min(100%, 430px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(48px, 1fr));
  gap: 2px;
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
  background: rgba(255, 253, 250, 0.95);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.tab {
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.tab.is-active {
  color: var(--orange-deep);
  background: var(--tag-bg);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 86px;
  z-index: 10020;
  transform: translate(-50%, 14px);
  width: min(86vw, 360px);
  padding: 12px 14px;
  border-radius: 999px;
  background: rgba(49, 36, 28, 0.92);
  color: white;
  text-align: center;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(43, 37, 33, 0.24);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.path-loading {
  position: absolute;
  inset: 0;
  z-index: 8;
  display: none;
  place-items: center;
  padding: 24px 18px;
  background:
    radial-gradient(circle at 50% 44%, rgba(247, 235, 225, 0.42), transparent 38%),
    #fbf9f6;
  opacity: 0;
  pointer-events: none;
  transition: opacity 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.path-loading.is-visible {
  display: grid;
  opacity: 1;
  pointer-events: auto;
}

.path-loading-panel {
  width: min(88%, 324px);
  padding: 24px 12px;
  text-align: center;
  animation: path-panel-enter 520ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.path-sprout {
  display: block;
  width: 124px;
  height: 124px;
  margin: 0 auto 18px;
  overflow: visible;
}

.sprout-shadow {
  fill: rgba(217, 125, 84, 0.12);
  animation: sprout-shadow-soft 5.5s ease-in-out both;
}

.sprout-soil {
  fill: #d79a78;
  filter: drop-shadow(0 8px 16px rgba(125, 91, 68, 0.16));
  animation: sprout-soil-wake 5.5s ease-in-out both;
}

.sprout-stem-line,
.sprout-leaf-line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sprout-stem-line {
  stroke: #6fa46f;
  stroke-width: 7;
  stroke-dasharray: 68;
  stroke-dashoffset: 68;
  animation: sprout-line-grow 5.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.sprout-leaf-line {
  fill: rgba(128, 188, 116, 0.92);
  stroke: #6fa46f;
  stroke-width: 3;
  stroke-dasharray: 94;
  stroke-dashoffset: 94;
  opacity: 0;
}

.sprout-leaf-left {
  animation: sprout-svg-leaf-left 5.5s ease-in-out both;
}

.sprout-leaf-right {
  animation: sprout-svg-leaf-right 5.5s ease-in-out both;
}

.path-loading-panel b {
  display: block;
  color: #6f5545;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  animation: path-text-soft 1.8s ease-in-out infinite;
}

@keyframes path-panel-enter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes sprout-shadow-soft {
  0%, 100% {
    opacity: 0.34;
  }
  50% {
    opacity: 0.76;
  }
}

@keyframes sprout-soil-wake {
  0%, 18% {
    opacity: 0.64;
  }
  34%, 100% {
    opacity: 1;
  }
}

@keyframes sprout-line-grow {
  0%, 18% {
    stroke-dashoffset: 68;
  }
  54%, 100% {
    stroke-dashoffset: 0;
  }
}

@keyframes sprout-svg-leaf-left {
  0%, 48% {
    opacity: 0;
    stroke-dashoffset: 94;
  }
  72%, 100% {
    opacity: 1;
    stroke-dashoffset: 0;
  }
}

@keyframes sprout-svg-leaf-right {
  0%, 56% {
    opacity: 0;
    stroke-dashoffset: 94;
  }
  80%, 100% {
    opacity: 1;
    stroke-dashoffset: 0;
  }
}

@keyframes path-text-soft {
  0%, 100% {
    opacity: 0.68;
  }
  50% {
    opacity: 1;
  }
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.modal.is-open {
  display: block;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(43, 37, 33, 0.45);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.modal-panel {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(88vw, 360px);
  height: min(70vh, 620px);
  max-height: 70vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  border: 1px solid #e6dcd0;
  background: #fffdf5;
  box-shadow:
    0 24px 60px rgba(43, 37, 33, 0.26),
    0 8px 20px rgba(113, 78, 43, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.modal-head {
  flex: 0 0 auto;
  position: relative;
  z-index: 1;
  min-height: 64px;
  padding: 15px 16px 12px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 232, 170, 0.30), transparent 34%),
    #fffdf5;
  border-bottom: 1px solid rgba(230, 220, 208, 0.72);
}

.modal-head h2 {
  margin: 0;
  color: #1b472a;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.modal-head .icon-btn {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border: 1px solid rgba(230, 220, 208, 0.90);
  background: #ffffff;
  color: #8a5a3b;
  font-size: 22px;
  line-height: 1;
  box-shadow:
    0 6px 14px rgba(61, 52, 46, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.modal-body {
  flex: 1 1 auto;
  min-height: 0;
  padding: 14px 14px 18px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.modal-body::-webkit-scrollbar {
  display: none;
}

.map-action-modal {
  display: grid;
  gap: 14px;
}

.rule-hero {
  padding: 15px;
  border-radius: 20px;
  border: 1px solid rgba(230, 220, 208, 0.78);
  background:
    linear-gradient(135deg, rgba(255, 244, 213, 0.78), rgba(255, 255, 255, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.rule-hero h3 {
  margin: 10px 0 6px;
  color: #1b472a;
  font-size: 18px;
  font-weight: 900;
}

.rule-single-card {
  padding: 16px 15px;
  border-radius: 20px;
  border: 1px solid rgba(230, 220, 208, 0.78);
  background:
    linear-gradient(135deg, rgba(255, 244, 213, 0.55), rgba(255, 255, 255, 0.98));
  box-shadow:
    0 8px 22px rgba(61, 52, 46, 0.045),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.rule-single-card h3 {
  margin: 12px 0 9px;
  color: #1b472a;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.35;
}

.rule-single-card p {
  margin: 0;
  color: #3d342e;
  font-size: 13px;
  line-height: 1.75;
}

.rule-single-card p + p {
  margin-top: 10px;
}

.growth-challenge-modal {
  gap: 12px;
}

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

.growth-challenge-option {
  display: block;
  width: 100%;
  margin: 0;
  padding: 12px 13px;
  border-radius: 16px;
  border: 1px solid rgba(230, 220, 208, 0.82);
  background: rgba(255, 255, 255, 0.94);
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.growth-challenge-option.is-selected {
  background: rgba(236, 247, 229, 0.96);
  border-color: rgba(27, 71, 42, 0.52);
  box-shadow: 0 0 0 2px rgba(111, 164, 111, 0.16);
}

.growth-challenge-list b {
  display: block;
  color: #1b472a;
  font-size: 15px;
  line-height: 1.35;
}

.growth-challenge-list p {
  margin: 7px 0 0;
  color: #3d2d25;
  font-size: 13px;
  line-height: 1.55;
}

.growth-challenge-list small {
  display: block;
  margin-top: 5px;
  color: #6b7a70;
  font-size: 12px;
  line-height: 1.45;
}

.growth-choice-copy b {
  display: block;
  margin: 8px 0;
  color: #2d4236;
  font-size: 13px;
}

.growth-selected-challenge strong {
  display: block;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(236, 247, 229, 0.96);
  color: #1b472a;
  font-size: 15px;
  line-height: 1.45;
}

.rule-hero p,
.rule-grid p {
  margin: 0;
  color: #3d342e;
  line-height: 1.65;
  font-size: 13px;
}

.rule-grid {
  display: grid;
  gap: 11px;
}

.rule-grid article {
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(230, 220, 208, 0.66);
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(61, 52, 46, 0.045);
}

.rule-grid b {
  display: block;
  margin-bottom: 6px;
  color: #1b472a;
  font-size: 14px;
  font-weight: 900;
}

.stage-modal {
  display: grid;
  gap: 12px;
}

.stage-brief-card,
.stage-upload-card,
.stage-submission-card {
  border: 1px solid rgba(230, 220, 208, 0.78);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 244, 213, 0.50), rgba(255, 255, 255, 0.98));
  box-shadow:
    0 8px 22px rgba(61, 52, 46, 0.045),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.stage-brief-card {
  padding: 15px;
}

.stage-hero-copy {
  display: grid;
  gap: 7px;
}

.stage-brief-card h3 {
  margin: 4px 0 0;
  color: #1b472a;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 900;
}

.stage-brief-card p,
.stage-detail-box,
.stage-note-field textarea,
.stage-submission-card p {
  color: #3d342e;
  font-size: 13px;
  line-height: 1.75;
}

.stage-brief-card p {
  margin: 0;
}

.station-node-list {
  display: grid;
  gap: 8px;
  margin: 14px 0 12px;
}

.station-node-list span {
  min-height: 52px;
  display: grid;
  grid-template-columns: 24px 1fr;
  grid-template-rows: auto auto;
  column-gap: 10px;
  row-gap: 2px;
  align-items: center;
  padding: 9px 12px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(247, 251, 239, 0.92), rgba(255, 255, 255, 0.82));
  border: 1px solid rgba(113, 184, 93, 0.20);
  color: #315b34;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.station-node-list b {
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #71b85d;
  color: #fff;
  font-size: 12px;
}

.station-node-list strong,
.station-node-list em {
  grid-column: 2;
  display: block;
  font-style: normal;
}

.station-node-list strong {
  color: #245130;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.15;
}

.station-node-list em {
  color: rgba(61, 52, 46, 0.62);
  font-size: 12px;
  line-height: 1.25;
}

.station-focus-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 10px 0 0;
}

.station-focus-list span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(217, 125, 84, 0.14);
  color: #7a6253;
  font-size: 12px;
  font-weight: 800;
}

.stage-detail-box {
  margin-top: 12px;
  padding: 11px 12px;
  border-radius: 16px;
  background: rgba(255, 253, 245, 0.88);
  border: 1px dashed rgba(139, 96, 72, 0.22);
}

.stage-submission-card {
  padding: 12px 13px;
  display: grid;
  gap: 7px;
  background: #fffdf9;
}

.stage-submission-card div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.stage-submission-card b {
  color: #1b472a;
  font-size: 14px;
  font-weight: 900;
}

.stage-submission-card span,
.stage-submission-card small {
  color: #8a7668;
  font-size: 12px;
}

.stage-submission-card p {
  margin: 0;
}

.stage-question-card {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 253, 245, 0.92);
  border: 1px solid rgba(222, 205, 185, 0.72);
  box-shadow: 0 10px 24px rgba(96, 84, 70, 0.06);
}

.stage-question-card h3 {
  margin: 0 0 8px;
  color: #162435;
  font-size: 18px;
  font-weight: 900;
}

.stage-question-card p {
  margin: 0 0 12px;
  color: #5f564d;
  line-height: 1.65;
}

.stage-reward-card {
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 210, 84, 0.16), transparent 30%),
    rgba(255, 253, 249, 0.96);
}

.stage-reward-list {
  display: grid;
  gap: 8px;
}

.stage-reward-list span {
  display: block;
  padding: 9px 11px;
  border-radius: 14px;
  background: rgba(255, 247, 229, 0.88);
  border: 1px solid rgba(212, 155, 28, 0.18);
  color: #2d4236;
  font-size: 14px;
  font-weight: 800;
}

.stage-choice-group {
  display: grid;
  gap: 8px;
  margin: 14px 0;
  padding: 0;
  border: 0;
}

.stage-choice-group legend {
  margin-bottom: 8px;
  color: #183422;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.45;
}

.stage-choice-group label {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 34px;
  color: #2d4236;
  font-size: 14px;
  font-weight: 700;
}

.stage-choice-group input {
  width: 16px;
  height: 16px;
  accent-color: #6fa46f;
  flex: 0 0 auto;
}

.stage-food-select {
  min-height: 54px;
  margin: 12px 0;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: 1fr minmax(110px, 44%) 14px;
  gap: 10px;
  align-items: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(221, 198, 166, 0.38);
  box-shadow: 0 5px 14px rgba(92, 64, 38, 0.05);
}

.stage-food-select span {
  color: #2d1f19;
  font-size: 15px;
  font-weight: 900;
}

.stage-food-select input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #3d2d25;
  font-size: 14px;
  font-weight: 700;
  text-align: right;
}

.stage-food-select input::placeholder {
  color: rgba(97, 88, 80, 0.46);
}

.stage-food-select::after {
  content: "›";
  grid-column: 3;
  justify-self: end;
  color: rgba(97, 88, 80, 0.44);
  font-size: 28px;
  line-height: 1;
  pointer-events: none;
}

.segmented-choice-group {
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  gap: 10px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(221, 198, 166, 0.28);
}

.segmented-choice-group legend {
  grid-column: 1 / -1;
}

.segmented-choice-group label {
  min-height: 40px;
  justify-content: center;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.94);
  border: 1px solid rgba(239, 205, 164, 0.70);
}

.segmented-choice-group input:checked + span {
  color: #1b472a;
}

.stage-choice-group input:disabled,
.stage-note-field textarea:disabled,
.stage-upload-drop input:disabled,
.stage-inline-upload input:disabled {
  cursor: not-allowed;
}

.stage-choice-group label:has(input:disabled),
.stage-note-field textarea:disabled,
.stage-upload-drop:has(input:disabled),
.stage-inline-upload:has(input:disabled) {
  opacity: 0.76;
}

.stage-inline-upload {
  position: relative;
  display: grid !important;
  grid-template-columns: 1fr;
  align-items: start !important;
  gap: 8px !important;
  min-height: 92px !important;
  padding: 14px;
  border-radius: 16px;
  border: 1.5px dashed rgba(111, 164, 111, 0.42);
  background: rgba(247, 251, 239, 0.78);
  cursor: pointer;
}

.stage-inline-upload input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.stage-inline-upload strong {
  color: #245130;
  font-size: 14px;
  font-weight: 900;
}

.stage-inline-upload span {
  color: #7a6253;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 800;
}

.inline-stage-preview {
  margin-top: 8px;
  min-height: 0;
}

.inline-stage-preview img,
.inline-stage-preview video {
  max-height: 128px;
}

.stage-note-field.compact {
  margin-top: 8px;
}

.completion-copy {
  background: rgba(236, 247, 229, 0.9);
}

.stage-upload-card {
  padding: 13px;
  display: grid;
  gap: 11px;
  background: #fffdf9;
}

.stage-upload-drop.is-hidden {
  display: none;
}

.stage-upload-drop {
  min-height: 92px;
  padding: 14px 16px;
  border-radius: 22px;
  border: 1.5px dashed rgba(217, 125, 84, 0.24);
  background:
    radial-gradient(circle at 18% 8%, rgba(113, 184, 93, 0.12), transparent 34%),
    linear-gradient(135deg, rgba(255, 250, 244, 0.96), rgba(255, 255, 255, 0.84));
  display: grid;
  place-items: center;
  align-content: center;
  gap: 7px;
  text-align: center;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.stage-upload-drop input {
  display: none;
}

.stage-upload-drop span {
  color: #1b472a;
  font-size: 15px;
  font-weight: 900;
}

.stage-upload-drop small,
.stage-file-meta span,
.stage-file-meta em {
  color: #8a7668;
  font-size: 12px;
  line-height: 1.45;
}

.stage-preview {
  min-height: 72px;
  border-radius: 18px;
  background: rgba(255, 253, 245, 0.62);
  border: 1px solid rgba(230, 220, 208, 0.56);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.stage-preview > span {
  color: #9a8779;
  font-size: 12px;
}

.stage-preview img,
.stage-preview video {
  width: 100%;
  max-height: 210px;
  object-fit: contain;
  background: #fffaf4;
}

.stage-file-meta {
  width: 100%;
  padding: 12px;
  display: grid;
  gap: 4px;
  text-align: left;
}

.stage-file-meta b {
  color: #1b472a;
  font-size: 13px;
}

.stage-file-meta em {
  font-style: normal;
}

.stage-note-field {
  display: grid;
  gap: 7px;
}

.stage-note-field span {
  color: #1b472a;
  font-size: 13px;
  font-weight: 900;
}

.stage-note-field textarea {
  width: 100%;
  resize: vertical;
  border: 1px solid rgba(230, 220, 208, 0.92);
  border-radius: 15px;
  padding: 11px 12px;
  background: #fffaf4;
  font: inherit;
  outline: none;
}

.record-modal-summary {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 8px;
  padding: 12px;
  border-radius: var(--radius);
  border: 1px solid rgba(229, 202, 176, 0.82);
  background: #fff8ef;
}

.record-modal-summary b {
  color: var(--orange-deep);
  font-size: 24px;
  line-height: 1;
}

.record-modal-summary span {
  color: var(--muted);
  font-size: 13px;
}

.modal-map img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  border-radius: var(--radius);
  background: white;
  border: 1px solid var(--line);
}

.modal-map p,
.content-detail p {
  color: var(--muted);
  line-height: 1.65;
}

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

.tag-row span {
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--tag-bg);
  color: var(--orange-deep);
  font-size: 12px;
  font-weight: 800;
}

.detail-box {
  margin: 12px 0;
  padding: 14px;
  border-radius: var(--radius);
  background: white;
  border: 1px solid var(--line);
  line-height: 1.7;
}

@media (max-width: 360px) {
  main {
    padding-left: 10px;
    padding-right: 10px;
  }

  .hero-panel h1 {
    font-size: 28px;
  }

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

  .hero-actions {
    grid-template-columns: 1fr;
  }

  .action-row,
  .growth-stats {
    grid-template-columns: 1fr;
  }

  .admin-tabs {
    grid-template-columns: repeat(3, 1fr);
  }

  .admin-ops-grid {
    grid-template-columns: 1fr;
  }

  .node-card {
    grid-template-columns: 46px 1fr;
  }

  .node-card .text-btn {
    grid-column: 2;
    justify-self: start;
  }

  .tab {
    font-size: 11px;
  }
}

