:root {
  color-scheme: light;
  --ink: #151411;
  --body: #3e3b35;
  --muted: #756f65;
  --line: #e6ded2;
  --paper: #faf8f2;
  --white: #ffffff;
  --blue: #2f5f6f;
  --blue-dark: #1c1b18;
  --teal: #4fae9e;
  --gold: #a66f38;
  --coral: #c96f56;
  --coral-dark: #a95740;
  --red: #b94f4b;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: #fffdf8;
  --surface-cream: #f1eadf;
  --surface-dark: #1b1a17;
  --surface-dark-2: #27241f;
  --mist: #f5efe5;
  --shadow: 0 28px 72px rgba(35, 28, 19, 0.12);
  --soft-shadow: 0 16px 42px rgba(35, 28, 19, 0.08);
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", serif;
  --sans: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@keyframes tech-drift {
  0% {
    background-position: 0 0, 0 0;
  }
  100% {
    background-position: 84px 84px, -84px 42px;
  }
}

@keyframes scan-sweep {
  0% {
    transform: translateX(-120%) skewX(-18deg);
    opacity: 0;
  }
  18% {
    opacity: 0.42;
  }
  48% {
    opacity: 0.18;
  }
  100% {
    transform: translateX(120%) skewX(-18deg);
    opacity: 0;
  }
}

@keyframes panelScan {
  0% {
    transform: translateX(-82%) skewX(-12deg);
    opacity: 0;
  }
  24% {
    opacity: 0.28;
  }
  100% {
    transform: translateX(82%) skewX(-12deg);
    opacity: 0;
  }
}

@keyframes signal-pulse {
  0%,
  100% {
    box-shadow: 0 10px 22px rgba(8, 38, 63, 0.18), 0 0 0 rgba(17, 141, 132, 0);
  }
  50% {
    box-shadow: 0 10px 22px rgba(8, 38, 63, 0.18), 0 0 0 7px rgba(17, 141, 132, 0.12);
  }
}

@keyframes button-flow {
  0% {
    transform: translateX(-130%);
  }
  100% {
    transform: translateX(130%);
  }
}

@keyframes soft-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes progress-flow {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 42px 0;
  }
}

@keyframes node-breathe {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(17, 141, 132, 0);
  }
  50% {
    transform: scale(1.18);
    box-shadow: 0 0 0 7px rgba(17, 141, 132, 0.12);
  }
}

@keyframes chart-scan {
  0% {
    transform: translateX(-120%);
    opacity: 0;
  }
  18% {
    opacity: 0.32;
  }
  55% {
    opacity: 0.18;
  }
  100% {
    transform: translateX(120%);
    opacity: 0;
  }
}

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

@keyframes point-pulse {
  0%,
  100% {
    filter: drop-shadow(0 0 0 rgba(17, 141, 132, 0));
  }
  50% {
    filter: drop-shadow(0 0 5px rgba(17, 141, 132, 0.5));
  }
}

@keyframes preview-line-draw {
  from {
    stroke-dashoffset: 640;
  }
  to {
    stroke-dashoffset: 0;
  }
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 78% 4%, rgba(201, 111, 86, 0.18), transparent 28%),
    radial-gradient(circle at 18% 22%, rgba(79, 174, 158, 0.12), transparent 30%),
    linear-gradient(180deg, #fbf7ef 0, var(--paper) 420px, #f6f0e7 100%);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

button {
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  padding: 0 36px;
  background: rgba(250, 248, 242, 0.88);
  border-bottom: 1px solid rgba(230, 222, 210, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 28px rgba(35, 28, 19, 0.05);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue-dark);
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 11px;
  background:
    radial-gradient(circle at 72% 24%, rgba(255, 255, 255, 0.16), transparent 24%),
    linear-gradient(145deg, #181512 0%, #2b211d 54%, #9b5847 122%);
  color: #fff;
  box-shadow:
    0 10px 24px rgba(73, 42, 31, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  animation: signal-pulse 4.8s ease-in-out infinite;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.brand-mark svg {
  display: block;
  width: 28px;
  height: 28px;
  overflow: visible;
}

.whale-body,
.whale-tail,
.whale-wave {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.whale-body {
  stroke-width: 3.5;
}

.whale-tail {
  stroke: #f2b49f;
  stroke-width: 3.4;
}

.whale-wave {
  stroke: #78d2c4;
  stroke-width: 2.6;
}

.whale-eye {
  fill: #ffffff;
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(1.12);
}

.brand:hover .brand-mark {
  transform: translateY(-1px);
  box-shadow:
    0 14px 30px rgba(73, 42, 31, 0.26),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.nav {
  display: flex;
  gap: 8px;
}

.nav a,
.header-actions a,
.header-actions button {
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 800;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.nav a:hover,
.header-actions a:hover,
.header-actions button:hover {
  background: rgba(201, 111, 86, 0.1);
  color: var(--ink);
  transform: translateY(-1px);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.user-menu {
  position: relative;
}

.user-menu-trigger {
  gap: 6px;
}

.menu-caret {
  color: var(--muted);
  font-size: 12px;
  line-height: 1;
}

.user-menu-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 40;
  display: grid;
  min-width: 178px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 20px 46px rgba(23, 32, 51, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.user-menu:hover .user-menu-panel,
.user-menu:focus-within .user-menu-panel,
.user-menu.is-open .user-menu-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.user-menu-panel::before {
  content: "";
  position: absolute;
  top: -10px;
  right: 18px;
  width: 18px;
  height: 18px;
  background: rgba(255, 255, 255, 0.96);
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
  transform: rotate(45deg);
}

.user-menu-panel button {
  position: relative;
  z-index: 1;
  width: 100%;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  padding: 10px 12px;
  text-align: left;
  font-weight: 800;
}

.user-menu-panel button:hover,
.user-menu-panel button:focus-visible {
  background: rgba(29, 95, 146, 0.08);
  color: var(--blue-dark);
  outline: none;
}

.user-menu-divider {
  display: block;
  height: 1px;
  margin: 6px 4px;
  background: var(--line);
}

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(250, 248, 242, 0.82), rgba(250, 248, 242, 0.96)),
    radial-gradient(circle at 70% 24%, rgba(201, 111, 86, 0.18), transparent 32%),
    radial-gradient(circle at 18% 12%, rgba(79, 174, 158, 0.14), transparent 28%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(rgba(35, 28, 19, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(35, 28, 19, 0.03) 1px, transparent 1px);
  background-size: 72px 72px, 72px 72px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.12) 52%, rgba(0, 0, 0, 0.03));
  animation: tech-drift 24s linear infinite;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 18vh;
  background: linear-gradient(180deg, rgba(250, 248, 242, 0), var(--paper));
  z-index: 1;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(115deg, rgba(250, 248, 242, 0.98) 0%, rgba(250, 248, 242, 0.88) 46%, rgba(230, 219, 204, 0.52) 100%);
}

.hero-overlay::after {
  content: "";
  position: absolute;
  inset: -20% -40%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(201, 111, 86, 0.1), transparent);
  animation: scan-sweep 9s ease-in-out infinite;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(420px, 0.78fr);
  gap: 48px;
  align-items: center;
  width: min(100%, 1220px);
  margin: 0 auto;
  padding: 78px 36px 96px;
}

.hero-content {
  position: relative;
  width: min(100%, 720px);
  max-width: 720px;
  padding: 0;
  color: var(--ink);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: 96px;
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: 0;
  color: var(--ink);
  text-shadow: none;
}

.hero-kicker {
  width: fit-content;
  margin: 18px 0 0;
  border: 1px solid rgba(201, 111, 86, 0.22);
  border-radius: 999px;
  background: rgba(201, 111, 86, 0.08);
  color: var(--coral-dark);
  padding: 7px 12px;
  font-weight: 800;
}

.hero-copy {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--body);
  font-size: 19px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.hero-actions,
.form-actions,
.report-actions,
.payment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.primary-button,
.secondary-button,
.ghost-button,
.danger-button {
  position: relative;
  overflow: hidden;
  min-height: 44px;
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 11px 20px;
  font-weight: 750;
  letter-spacing: 0;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.primary-button::after,
.secondary-button::after,
.ghost-button::after {
  content: "";
  position: absolute;
  top: -40%;
  bottom: -40%;
  left: 0;
  width: 48%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.32), transparent);
  transform: translateX(-130%);
}

.primary-button:hover::after,
.secondary-button:hover::after,
.ghost-button:hover::after {
  animation: button-flow 0.86s ease;
}

.primary-button {
  background: linear-gradient(135deg, var(--coral), var(--coral-dark));
  color: #fff;
  box-shadow: 0 14px 32px rgba(201, 111, 86, 0.26);
}

.secondary-button {
  background: linear-gradient(135deg, var(--surface-dark), #302a24);
  color: #fff;
  box-shadow: 0 12px 28px rgba(35, 28, 19, 0.16);
}

.ghost-button {
  background: rgba(255, 253, 248, 0.76);
  border-color: rgba(35, 28, 19, 0.14);
  color: var(--ink);
}

.ghost-button.light {
  background: rgba(29, 95, 146, 0.08);
  border-color: rgba(29, 95, 146, 0.18);
  color: var(--blue-dark);
}

.danger-button {
  background: rgba(185, 79, 75, 0.1);
  color: var(--red);
}

.primary-button:hover,
.secondary-button:hover,
.ghost-button:hover,
.danger-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(8, 38, 63, 0.16);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.hero-trust span {
  border: 1px solid rgba(35, 28, 19, 0.1);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.7);
  color: var(--muted);
  padding: 7px 10px;
  font-size: 13px;
  font-weight: 700;
}

.hero-report-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 253, 248, 0.12);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(27, 26, 23, 0.98), rgba(39, 36, 31, 0.96)),
    var(--surface-dark);
  color: #fbf7ef;
  padding: 28px;
  box-shadow: 0 34px 82px rgba(35, 28, 19, 0.24);
}

.hero-report-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 253, 248, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(255, 253, 248, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(130deg, rgba(0, 0, 0, 0.62), transparent 72%);
}

.hero-report-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  pointer-events: none;
  background: linear-gradient(90deg, var(--teal), #f2b49f, var(--gold));
  opacity: 0.9;
}

.report-card-topline,
.report-preview-title,
.mini-trend,
.report-curve-preview,
.report-preview-list {
  position: relative;
  z-index: 1;
}

.report-card-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: rgba(250, 248, 242, 0.72);
  font-size: 13px;
  font-weight: 800;
}

.report-card-topline strong {
  border-radius: 999px;
  background: rgba(201, 111, 86, 0.16);
  color: #f4b09b;
  padding: 6px 10px;
}

.report-preview-title h2 {
  margin: 30px 0 10px;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 600;
  line-height: 1.18;
}

.report-preview-title p {
  margin: 0;
  color: rgba(250, 248, 242, 0.68);
  line-height: 1.75;
}

.mini-trend,
.report-curve-preview {
  display: grid;
  margin: 28px 0;
  border: 1px solid rgba(250, 248, 242, 0.1);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.075), rgba(255, 253, 248, 0.035)),
    repeating-linear-gradient(0deg, transparent, transparent 43px, rgba(255, 253, 248, 0.06) 44px),
    repeating-linear-gradient(90deg, transparent, transparent 63px, rgba(255, 253, 248, 0.04) 64px);
  padding: 14px;
}

.mini-trend {
  grid-template-columns: repeat(8, 1fr);
  align-items: end;
  gap: 10px;
  height: 132px;
}

.mini-trend span {
  display: block;
  min-height: 18px;
  border-radius: 999px 999px 4px 4px;
  background: linear-gradient(180deg, #df9a83, #5db8a6);
  opacity: 0.88;
}

.report-curve-preview {
  gap: 10px;
}

.report-curve-preview svg {
  display: block;
  width: 100%;
  min-height: 180px;
}

.preview-area {
  fill: url("#previewFill");
}

.preview-line {
  fill: none;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 640;
  animation: preview-line-draw 1.6s ease-out both;
}

.preview-line-main {
  stroke: #5db8a6;
}

.preview-line-wealth {
  stroke: #e8a55a;
  stroke-width: 3;
  stroke-dasharray: 12 9;
  animation-delay: 0.12s;
}

.preview-line-relation {
  stroke: #d6768f;
  stroke-width: 3;
  stroke-dasharray: 2 10;
  animation-delay: 0.22s;
}

.preview-line-health {
  stroke: #74c9b7;
  stroke-width: 3;
  opacity: 0.72;
  animation-delay: 0.32s;
}

.trend-preview-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: rgba(250, 248, 242, 0.7);
  font-size: 12px;
  font-weight: 800;
}

.trend-preview-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.trend-preview-legend i {
  width: 18px;
  height: 3px;
  border-radius: 999px;
}

.trend-preview-legend .overall {
  background: #5db8a6;
}

.trend-preview-legend .wealth {
  background: #e8a55a;
}

.trend-preview-legend .relationship {
  background: #d6768f;
}

.trend-preview-legend .health {
  background: #74c9b7;
}

.report-preview-list {
  display: grid;
  gap: 10px;
  margin: 0;
}

.report-preview-list div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  border-top: 1px solid rgba(250, 248, 242, 0.1);
  padding-top: 12px;
}

.report-preview-list dt,
.report-preview-list dd {
  margin: 0;
}

.report-preview-list dt {
  color: #f4b09b;
  font-weight: 900;
}

.report-preview-list dd {
  color: rgba(250, 248, 242, 0.68);
}

.hero-metrics {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 0;
}

.hero-metrics div {
  flex: 1 1 132px;
  min-width: 132px;
  border-radius: 12px;
  padding: 16px 18px;
  background: rgba(255, 253, 248, 0.72);
  border: 1px solid rgba(35, 28, 19, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(8px);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.hero-metrics div:hover {
  transform: translateY(-2px);
  border-color: rgba(201, 111, 86, 0.24);
  background: rgba(255, 253, 248, 0.94);
}

.hero-metrics strong,
.hero-metrics span {
  display: block;
}

.hero-metrics strong {
  color: var(--ink);
  font-size: 22px;
}

.hero-metrics span {
  color: var(--muted);
  font-size: 13px;
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 84px 36px;
  scroll-margin-top: 88px;
}

.hero + .section {
  padding-top: 60px;
}

.hero + .app-shell-priority {
  position: relative;
  padding-top: 56px;
  border-top: 0;
}

.app-shell-priority::before {
  content: "";
  position: absolute;
  inset: 18px 36px auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 111, 86, 0.42), rgba(79, 174, 158, 0.34), transparent);
}

.section-heading {
  max-width: 760px;
}

.section-heading h2,
.app-heading h2,
.price-panel h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: 0;
}

.section-heading p,
.price-panel p,
.price-details,
.app-heading p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.feature-grid,
.product-proof-grid {
  display: grid;
  gap: 16px;
  margin-top: 34px;
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-proof-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.product-proof-grid .feature-card:nth-child(1),
.product-proof-grid .feature-card:nth-child(4) {
  grid-column: span 5;
}

.product-proof-grid .feature-card:nth-child(2),
.product-proof-grid .feature-card:nth-child(3) {
  grid-column: span 7;
}

.feature-card,
.auth-panel,
.form-panel,
.report-panel,
.history-panel,
.payment-panel,
.question-panel,
.feedback-panel,
.daily-gua-panel,
.admin-panel,
.metric-card,
.legal-panel,
.price-panel,
.price-details {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--soft-shadow);
}

.feature-card {
  position: relative;
  overflow: hidden;
  padding: 26px;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.feature-card::before {
  display: none;
}

.feature-card::after {
  content: "";
  position: absolute;
  top: 18px;
  right: 18px;
  width: 68px;
  height: 68px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(201, 111, 86, 0.12), transparent 62%);
  background-size: 12px 12px;
  opacity: 0.78;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.feature-card:hover {
  border-color: rgba(201, 111, 86, 0.22);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.feature-card:hover::after {
  opacity: 1;
  transform: translateY(-2px);
}

.feature-icon {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 10px;
  background: var(--surface-dark);
  color: #fbf7ef;
  font-weight: 900;
}

.feature-card h3 {
  margin: 18px 0 8px;
  color: var(--ink);
  font-size: 18px;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: start;
}

.flow-list {
  counter-reset: flow;
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow-list li {
  counter-increment: flow;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(230, 222, 210, 0.94);
  border-radius: 12px;
  background: rgba(255, 253, 248, 0.72);
  box-shadow: 0 8px 24px rgba(35, 28, 19, 0.04);
}

.flow-list li::before {
  content: counter(flow);
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 10px;
  background: var(--surface-dark);
  color: #fff;
  font-weight: 900;
  grid-row: 1 / span 2;
}

.flow-list span,
.flow-list small {
  display: block;
}

.flow-list span {
  grid-column: 2;
  grid-row: 1;
  font-weight: 900;
}

.flow-list small {
  grid-column: 2;
  grid-row: 2;
  color: var(--muted);
}

.pricing {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 20px;
  align-items: stretch;
}

.price-panel,
.price-details {
  padding: 30px;
}

.price-panel {
  position: relative;
  overflow: hidden;
  color: #fff;
  border-color: rgba(35, 28, 19, 0.1);
  background:
    linear-gradient(145deg, rgba(27, 26, 23, 0.98), rgba(47, 39, 32, 0.94)),
    var(--surface-dark);
  box-shadow: var(--shadow);
}

.price-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(250, 248, 242, 0.055) 1px, transparent 1px),
    linear-gradient(rgba(250, 248, 242, 0.04) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(130deg, rgba(0, 0, 0, 0.7), transparent 78%);
}

.price-panel > * {
  position: relative;
  z-index: 1;
}

.price-panel .eyebrow,
.price-panel p {
  color: rgba(255, 255, 255, 0.76);
}

.price-panel h2 {
  color: #fff;
}

.price {
  margin: 18px 0;
  color: #f2b49f;
  font-family: var(--serif);
  font-size: 58px;
  line-height: 1;
  font-weight: 900;
}

.price-support-list {
  display: grid;
  gap: 8px;
  margin-top: 22px;
}

.price-support-list span {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.82);
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 800;
}

.price-support-list span::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(79, 174, 158, 0.1);
}

.price-details h3 {
  margin: 0 0 12px;
}

.price-details ul {
  margin: 0;
  padding-left: 20px;
}

.report-includes-grid,
.auth-benefit-list {
  display: grid;
  gap: 14px;
}

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

.report-includes-grid div,
.auth-benefit-list div {
  position: relative;
  overflow: hidden;
  min-width: 0;
  border: 1px solid rgba(230, 222, 210, 0.82);
  border-radius: 10px;
  background: rgba(250, 248, 242, 0.58);
  padding: 16px;
}

.report-includes-grid div::before,
.auth-benefit-list div::before {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(201, 111, 86, 0.76), rgba(79, 174, 158, 0.58));
  opacity: 0.72;
}

.report-includes-grid strong,
.report-includes-grid span,
.auth-benefit-list strong,
.auth-benefit-list span {
  display: block;
}

.report-includes-grid strong,
.auth-benefit-list strong {
  color: var(--blue-dark);
  font-size: 16px;
  font-weight: 900;
}

.report-includes-grid span,
.auth-benefit-list span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.price-note {
  margin: 18px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(230, 222, 210, 0.9);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.8;
}

.payment-qr-card {
  display: flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  max-width: 100%;
  border: 1px solid rgba(29, 95, 146, 0.14);
  border-radius: 8px;
  background: #f7fbfc;
  padding: 12px;
  margin: 12px 0;
}

.payment-qr-card img {
  width: 112px;
  height: 112px;
  border-radius: 8px;
  object-fit: cover;
  background: #fff;
}

.payment-qr-card strong,
.payment-qr-card span,
.payment-account {
  display: block;
}

.payment-qr-card strong,
.payment-account {
  color: var(--blue-dark);
  font-weight: 900;
}

.payment-qr-card span {
  color: var(--gold);
  font-size: 20px;
  font-weight: 900;
}

.payment-discount-note,
.amount-breakdown {
  display: grid;
  gap: 3px;
}

.payment-discount-note {
  width: fit-content;
  max-width: 100%;
  grid-template-columns: repeat(3, auto);
  align-items: center;
  gap: 8px;
  margin: 8px 0 12px;
  border: 1px solid rgba(79, 174, 158, 0.18);
  border-radius: 8px;
  background: rgba(79, 174, 158, 0.08);
  padding: 8px 10px;
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 800;
}

.payment-discount-note strong,
.amount-breakdown em {
  border-radius: 999px;
  background: rgba(201, 111, 86, 0.12);
  color: var(--coral-dark);
  padding: 2px 7px;
  font-style: normal;
  font-weight: 900;
}

.amount-breakdown > strong {
  color: var(--blue-dark);
}

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

.proof-upload-field input[type="file"] {
  padding: 12px;
  background: #fff;
  border: 1px dashed rgba(29, 95, 146, 0.28);
}

.proof-cell {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-width: 160px;
}

.disclaimer-section {
  padding-top: 34px;
}

.disclaimer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.disclaimer-item {
  border: 1px solid var(--line);
  border-left: 0;
  border-radius: 12px;
  background: var(--surface);
  padding: 20px;
  box-shadow: var(--soft-shadow);
}

.disclaimer-item strong {
  display: block;
  color: var(--blue-dark);
  font-size: 18px;
  font-weight: 900;
}

.disclaimer-item p {
  margin: 10px 0 0;
  color: var(--muted);
}

.app-shell {
  max-width: 1180px;
  margin: 0 auto 72px;
  padding: 48px 36px 64px;
  border-top: 1px solid rgba(230, 222, 210, 0.9);
  scroll-margin-top: 88px;
}

.app-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 20px;
}

.app-root {
  display: grid;
  gap: 16px;
}

.auth-grid,
.workspace-grid {
  display: grid;
  grid-template-columns: minmax(340px, 0.82fr) minmax(0, 1.18fr);
  gap: 18px;
}

.workspace-overview {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  gap: 24px;
  align-items: stretch;
  border: 1px solid rgba(250, 248, 242, 0.1);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(27, 26, 23, 0.98), rgba(47, 39, 32, 0.94)),
    var(--surface-dark);
  color: #fff;
  padding: 26px;
  box-shadow: var(--shadow);
}

.workspace-overview::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(250, 248, 242, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(250, 248, 242, 0.045) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.1));
  animation: tech-drift 24s linear infinite;
}

.workspace-orbit {
  position: absolute;
  right: -72px;
  top: -96px;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(126, 221, 218, 0.18);
  border-radius: 50%;
}

.workspace-orbit::before,
.workspace-orbit::after {
  content: "";
  position: absolute;
  inset: 34px;
  border: 1px solid rgba(185, 133, 50, 0.18);
  border-radius: 50%;
}

.workspace-orbit::after {
  inset: 74px;
  border-color: rgba(255, 255, 255, 0.12);
}

.workspace-overview-main,
.workspace-stat-grid {
  position: relative;
  z-index: 1;
}

.workspace-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 28px;
  border: 1px solid rgba(201, 111, 86, 0.26);
  border-radius: 999px;
  background: rgba(201, 111, 86, 0.14);
  color: #f0aa95;
  padding: 3px 10px;
  font-size: 13px;
  font-weight: 900;
}

.workspace-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #e09a83;
  box-shadow: 0 0 0 5px rgba(201, 111, 86, 0.14);
  animation: node-breathe 1.8s ease-in-out infinite;
}

.workspace-overview-main h3 {
  max-width: 760px;
  margin: 16px 0 10px;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.18;
  letter-spacing: 0;
}

.workspace-overview-main p {
  max-width: 68ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.78;
}

.workspace-overview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.workspace-overview .ghost-button.light {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.workspace-overview .ghost-button.light:hover {
  border-color: rgba(126, 221, 218, 0.42);
  background: rgba(255, 255, 255, 0.16);
}

.workspace-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.workspace-stat-grid div {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  padding: 16px;
  backdrop-filter: blur(8px);
}

.workspace-stat-grid span,
.workspace-stat-grid strong {
  display: block;
}

.workspace-stat-grid span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
  font-weight: 900;
}

.workspace-stat-grid strong {
  margin-top: 8px;
  color: #fff;
  font-size: 26px;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.auth-panel,
.form-panel,
.report-panel,
.history-panel,
.payment-panel,
.question-panel,
.feedback-panel,
.daily-gua-panel,
.admin-panel,
.legal-panel {
  padding: 26px;
  background: rgba(255, 253, 248, 0.82);
  border-color: rgba(230, 222, 210, 0.94);
}

.auth-primary-panel {
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.96), rgba(250, 248, 242, 0.82)),
    var(--surface-strong);
}

.auth-guide-panel {
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 253, 248, 0.9), rgba(243, 236, 226, 0.78)),
    repeating-linear-gradient(90deg, rgba(35, 28, 19, 0.035) 0 1px, transparent 1px 58px);
}

.auth-guide-panel::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -130px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(79, 174, 158, 0.18);
  border-radius: 50%;
  pointer-events: none;
}

.auth-panel-note,
.auth-guide-note {
  margin: -4px 0 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.auth-guide-note {
  position: relative;
  margin: 16px 0 0;
  border-top: 1px solid rgba(230, 222, 210, 0.9);
  padding-top: 14px;
  color: var(--body);
  font-weight: 700;
}

.auth-guide-heading {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 18px;
}

.auth-guide-heading span {
  flex: 0 0 auto;
  border: 1px solid rgba(201, 111, 86, 0.22);
  border-radius: 999px;
  background: rgba(201, 111, 86, 0.08);
  color: var(--coral-dark);
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 900;
}

.auth-path-rail {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 6px 0 18px;
}

.auth-path-rail span {
  position: relative;
  display: grid;
  min-height: 38px;
  place-items: center;
  border: 1px solid rgba(230, 222, 210, 0.9);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.76);
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 900;
}

.auth-path-rail span:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -9px;
  width: 9px;
  height: 1px;
  background: rgba(201, 111, 86, 0.34);
}

.auth-panel,
.form-panel,
.report-panel,
.history-panel,
.payment-panel,
.question-panel,
.feedback-panel,
.daily-gua-panel,
.admin-panel,
.legal-panel,
.price-details,
.disclaimer-item {
  position: relative;
}

.auth-panel h3,
.form-panel h3,
.report-panel h3,
.history-panel h3,
.payment-panel h3,
.question-panel h3,
.daily-gua-panel h2,
.admin-panel h3 {
  color: var(--blue-dark);
  letter-spacing: 0;
}

.auth-panel h3,
.form-panel h3,
.report-panel h3,
.history-panel h3,
.payment-panel h3,
.question-panel h3 {
  margin: 0 0 14px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.profile-stepper {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 6px 0 18px;
}

.profile-step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  border: 1px solid rgba(230, 222, 210, 0.9);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.72);
  color: var(--muted);
  padding: 9px 10px;
  font-size: 12px;
  font-weight: 900;
}

.profile-step i {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: rgba(201, 111, 86, 0.1);
  color: var(--blue-dark);
  font-style: normal;
  font-size: 11px;
}

.profile-step.active {
  border-color: rgba(201, 111, 86, 0.28);
  color: var(--blue-dark);
  box-shadow: 0 12px 24px rgba(35, 28, 19, 0.08);
}

.profile-step.active i {
  background: linear-gradient(135deg, var(--coral), var(--coral-dark));
  color: #fff;
}

.profile-wizard-form {
  display: grid;
  gap: 16px;
}

.profile-step-card {
  position: relative;
  border: 1px solid rgba(230, 222, 210, 0.94);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.96), rgba(246, 240, 231, 0.9)),
    radial-gradient(circle at 92% 12%, rgba(201, 111, 86, 0.1), transparent 30%);
  padding: 16px;
  box-shadow: 0 14px 34px rgba(35, 28, 19, 0.08);
  overflow: hidden;
}

.profile-step-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.42) 42%, transparent 70%);
  opacity: 0.35;
  transform: translateX(-70%);
  animation: panelScan 7s ease-in-out infinite;
}

.profile-step-card.subtle {
  background: rgba(250, 248, 242, 0.72);
  box-shadow: none;
}

.profile-step-heading {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.profile-step-heading > span {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border-radius: 10px;
  background: rgba(201, 111, 86, 0.1);
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 950;
}

.profile-step-heading h4,
.profile-step-heading p {
  margin: 0;
}

.profile-step-heading h4 {
  color: var(--blue-dark);
  font-size: 17px;
  line-height: 1.35;
}

.profile-step-heading p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.profile-step-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

.form-subsection {
  border: 1px solid rgba(25, 92, 138, 0.16);
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  background: #f2faf9;
  padding: 14px 16px;
}

.form-subsection strong,
.form-subsection span {
  display: block;
}

.form-subsection strong {
  color: var(--blue-dark);
}

.form-subsection span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.field label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.advanced-feature-panel {
  background: rgba(255, 255, 255, 0.74);
}

.advanced-feature-panel summary {
  cursor: pointer;
  color: var(--blue-dark);
  font-weight: 900;
  list-style: none;
}

.advanced-feature-panel summary::-webkit-details-marker {
  display: none;
}

.advanced-feature-panel summary::before {
  content: "+";
  display: inline-grid;
  width: 26px;
  height: 26px;
  place-items: center;
  margin-right: 8px;
  border-radius: 8px;
  background: rgba(29, 95, 146, 0.1);
  color: var(--blue);
}

.advanced-feature-panel[open] summary {
  margin-bottom: 18px;
}

.advanced-feature-panel[open] summary::before {
  content: "-";
}

.advanced-intake-panel {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfd;
}

.advanced-intake-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.96);
  color: var(--ink);
  padding: 12px 13px;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(8, 38, 63, 0.02);
}

.field textarea {
  min-height: 112px;
  resize: vertical;
}

.compact-form {
  margin-top: 0;
}

.compact-form textarea {
  min-height: 88px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 4px rgba(201, 111, 86, 0.12);
}

.muted {
  color: var(--muted);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(201, 111, 86, 0.22);
  background: rgba(201, 111, 86, 0.1);
  color: var(--coral-dark);
  padding: 2px 10px;
  font-size: 13px;
  font-weight: 800;
}

.compact-heading {
  align-items: start;
  margin-bottom: 14px;
}

.calibration-result {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.calibration-list {
  display: grid;
  gap: 12px;
}

.calibration-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  border: 1px solid rgba(29, 95, 146, 0.14);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #f8fbfd);
  padding: 14px;
}

.calibration-rank {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: rgba(26, 154, 145, 0.12);
  color: var(--teal);
  font-weight: 900;
}

.calibration-card strong,
.calibration-card span,
.calibration-card p {
  display: block;
}

.calibration-card strong {
  color: var(--blue-dark);
}

.calibration-card strong span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.calibration-card p {
  margin: 6px 0 0;
  line-height: 1.65;
}

.calibration-card ul {
  margin: 10px 0 0;
  padding-left: 18px;
}

.calibration-card li + li {
  margin-top: 5px;
}

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

.history-item {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  text-align: left;
  padding: 14px;
  box-shadow: 0 8px 20px rgba(8, 38, 63, 0.04);
}

.history-item:hover {
  border-color: rgba(29, 95, 146, 0.5);
}

.history-item strong,
.history-item span {
  display: block;
}

.history-item span {
  color: var(--muted);
  font-size: 13px;
}

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

.order-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  padding: 14px;
  box-shadow: 0 8px 20px rgba(8, 38, 63, 0.04);
}

.order-item strong,
.order-item span {
  display: block;
}

.order-item > div:first-child span {
  color: var(--muted);
  font-size: 13px;
}

.order-side {
  display: grid;
  justify-items: end;
  gap: 6px;
  min-width: 132px;
}

.order-side > strong {
  color: var(--blue-dark);
}

.coupon-order-form {
  display: grid;
  grid-template-columns: minmax(160px, 220px) auto;
  gap: 10px;
  align-items: end;
  max-width: 560px;
}

.coupon-order-form label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.coupon-order-form input {
  min-height: 44px;
}

.report-text,
.qa-answer {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(250, 247, 240, 0.98));
  border: 1px solid var(--line);
  padding: 22px;
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 18px 42px rgba(54, 43, 31, 0.05);
}

.report-text.report-rich {
  white-space: normal;
  display: grid;
  gap: 16px;
  line-height: 1.92;
  font-size: 16px;
}

.report-rich p {
  margin: 0;
}

.report-rich > p {
  max-width: 76ch;
}

.visual-summary-card {
  position: relative;
  display: grid;
  gap: 18px;
  margin: 18px 0 22px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(166, 111, 56, 0.26);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.98), rgba(246, 240, 229, 0.96)),
    repeating-linear-gradient(0deg, rgba(166, 111, 56, 0.04) 0 1px, transparent 1px 10px);
  color: var(--ink);
  box-shadow: 0 18px 48px rgba(54, 43, 31, 0.08);
}

.visual-summary-card::before,
.visual-summary-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.visual-summary-card::before {
  inset: 12px;
  border: 1px solid rgba(166, 111, 56, 0.18);
  border-radius: 6px;
}

.visual-summary-card::after {
  right: 22px;
  bottom: 22px;
  width: 118px;
  height: 118px;
  border: 1px solid rgba(185, 79, 75, 0.16);
  border-radius: 999px;
  opacity: 0.52;
}

.visual-summary-head,
.visual-summary-grid,
.visual-main-axis,
.visual-keywords,
.visual-summary-advice,
.visual-summary-disclaimer {
  position: relative;
  z-index: 1;
}

.visual-summary-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
}

.visual-summary-head-actions {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.visual-summary-export-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.visual-summary-export-actions .compact-button {
  min-height: 34px;
  padding: 7px 10px;
  font-size: 12px;
}

.visual-summary-head h2 {
  margin: 4px 0 0;
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.12;
  color: var(--blue-dark);
}

.visual-seal {
  display: inline-grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 2px solid rgba(185, 79, 75, 0.72);
  color: var(--red);
  font-family: var(--serif);
  font-weight: 900;
  letter-spacing: 0.12em;
  transform: rotate(-7deg);
}

.visual-summary-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
  gap: 16px;
}

.visual-summary-section {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(47, 95, 111, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.48);
}

.visual-summary-section h3,
.visual-summary-advice h3 {
  margin: 0;
  color: var(--blue-dark);
  font-size: 16px;
}

.visual-summary-pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.visual-summary-pillars div {
  min-width: 0;
  display: grid;
  gap: 6px;
  padding: 12px 10px;
  text-align: center;
  border: 1px solid rgba(166, 111, 56, 0.18);
  border-radius: 6px;
  background: rgba(255, 253, 248, 0.74);
}

.visual-summary-pillars span,
.visual-summary-pillars small {
  color: var(--muted);
  font-size: 12px;
}

.visual-summary-pillars strong {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1;
  color: var(--ink);
}

.visual-element-bars {
  display: grid;
  gap: 10px;
}

.visual-element-row {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 32px;
  gap: 10px;
  align-items: center;
}

.visual-element-row span,
.visual-element-row em {
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
  font-weight: 800;
}

.visual-element-row i {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(117, 111, 101, 0.12);
}

.visual-element-row b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--blue);
}

.visual-element-row.wood b { background: #5f8f69; }
.visual-element-row.fire b { background: #b86b56; }
.visual-element-row.earth b { background: #b79a68; }
.visual-element-row.metal b { background: #9aa4ad; }
.visual-element-row.water b { background: #2f6f86; }

.visual-main-axis {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 16px;
  border-block: 1px solid rgba(166, 111, 56, 0.16);
}

.visual-main-axis span {
  display: inline-grid;
  place-items: center;
  min-width: 48px;
  min-height: 48px;
  border: 1px solid rgba(185, 79, 75, 0.5);
  color: var(--red);
  font-family: var(--serif);
  font-weight: 900;
}

.visual-main-axis p {
  margin: 0;
  color: var(--blue-dark);
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.7;
}

.visual-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.visual-keywords span {
  padding: 7px 10px;
  border: 1px solid rgba(47, 95, 111, 0.18);
  border-radius: 999px;
  background: rgba(79, 174, 158, 0.09);
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.visual-summary-advice {
  display: grid;
  gap: 10px;
}

.visual-summary-advice ol {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
  color: var(--body);
}

.visual-summary-disclaimer {
  margin: 0;
  padding-top: 12px;
  border-top: 1px dashed rgba(117, 111, 101, 0.28);
  color: var(--muted);
  font-size: 13px;
}

.delivery-progress-card {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(201, 111, 86, 0.18);
  border-left: 4px solid var(--coral);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(250, 243, 233, 0.92));
  padding: 18px;
  box-shadow: var(--soft-shadow);
}

.delivery-progress-card + .report-panel,
.delivery-progress-card + .payment-panel {
  margin-top: 14px;
}

.delivery-progress-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.delivery-progress-head h2,
.delivery-progress-head h3,
.delivery-progress-head p {
  margin: 0;
}

.delivery-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.delivery-step {
  display: grid;
  gap: 6px;
  min-width: 0;
  border: 1px solid rgba(29, 95, 146, 0.12);
  border-radius: 8px;
  background: #fff;
  padding: 12px;
  color: var(--muted);
}

.delivery-step span {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(29, 95, 146, 0.09);
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 900;
}

.delivery-step strong {
  overflow-wrap: anywhere;
  font-size: 13px;
}

.delivery-step.done {
  border-color: rgba(26, 154, 145, 0.3);
  color: #176c66;
}

.delivery-step.done span,
.delivery-step.current span {
  background: var(--teal);
  color: #fff;
}

.delivery-step.current {
  border-color: rgba(185, 134, 63, 0.44);
  background: #fffaf0;
  color: var(--blue-dark);
  box-shadow: 0 10px 22px rgba(185, 134, 63, 0.12);
}

.delivery-timeline,
.admin-order-timeline {
  display: grid;
  gap: 8px;
}

.delivery-timeline > div,
.admin-order-timeline > div {
  display: grid;
  gap: 2px;
  border-left: 3px solid rgba(29, 95, 146, 0.18);
  background: rgba(29, 95, 146, 0.045);
  border-radius: 8px;
  padding: 8px 10px;
}

.delivery-timeline strong,
.admin-order-timeline strong {
  color: var(--blue-dark);
  font-size: 13px;
}

.delivery-timeline span,
.admin-order-timeline span {
  color: var(--muted);
  font-size: 12px;
}

.admin-order-timeline .internal-event {
  border-left-color: var(--gold);
  background: rgba(185, 134, 63, 0.08);
}

.compact-delivery-steps {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.generation-progress {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(29, 95, 146, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 251, 0.92)),
    linear-gradient(90deg, rgba(17, 141, 132, 0.08), transparent 42%, rgba(185, 133, 50, 0.08));
  padding: 16px;
  box-shadow: 0 12px 28px rgba(8, 38, 63, 0.06);
}

.tech-progress {
  position: relative;
  overflow: hidden;
}

.tech-progress::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(25, 92, 138, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(25, 92, 138, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.55;
}

.tech-progress > * {
  position: relative;
  z-index: 1;
}

.compact-progress {
  padding: 10px;
}

.progress-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  color: var(--muted);
  font-size: 13px;
}

.progress-meta strong {
  color: var(--blue-dark);
  min-width: 44px;
}

.progress-meta small {
  margin-left: auto;
  color: var(--gold);
  font-weight: 800;
}

.progress-track,
.reader-progress-track {
  overflow: hidden;
  height: 8px;
  border-radius: 999px;
  background: rgba(29, 95, 146, 0.1);
}

.progress-track span,
.reader-progress-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.28) 0 8px, transparent 8px 16px),
    linear-gradient(90deg, var(--teal), var(--gold));
  background-size: 42px 100%, 100% 100%;
  animation: progress-flow 1.4s linear infinite;
  transition: width 0.2s ease;
}

.generation-nodes {
  display: grid;
  grid-template-columns: repeat(13, minmax(0, 1fr));
  gap: 5px;
}

.generation-node {
  height: 7px;
  border-radius: 999px;
  background: rgba(25, 92, 138, 0.12);
}

.generation-node.done {
  background: rgba(17, 141, 132, 0.74);
}

.generation-node.current {
  background: var(--gold);
  animation: node-breathe 1.6s ease-in-out infinite;
}

.progress-signal {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.progress-signal i {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(17, 141, 132, 0.12);
  animation: node-breathe 1.8s ease-in-out infinite;
}

.reader-tools {
  position: sticky;
  top: 72px;
  z-index: 4;
  display: grid;
  gap: 12px;
  border: 1px solid rgba(29, 95, 146, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  padding: 12px;
  box-shadow: 0 14px 34px rgba(8, 38, 63, 0.1);
  backdrop-filter: blur(10px);
}

.reader-progress {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
  color: var(--blue-dark);
  font-weight: 900;
  font-size: 13px;
}

.reader-actions,
.report-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.report-toc {
  max-height: 132px;
  overflow: auto;
  padding-top: 2px;
}

.report-toc button {
  border: 1px solid rgba(29, 95, 146, 0.14);
  border-radius: 8px;
  background: #f6fafc;
  color: var(--blue-dark);
  padding: 7px 10px;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.report-toc button:hover {
  border-color: rgba(201, 111, 86, 0.36);
  background: rgba(201, 111, 86, 0.1);
}

.report-markdown-title {
  margin: 8px 0 0;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.35;
  letter-spacing: 0;
}

.report-markdown-title.level-1 {
  border-left: 4px solid var(--coral);
  padding-left: 12px;
}

.report-markdown-title.level-2,
.report-markdown-title.level-3 {
  font-size: 18px;
  color: var(--gold);
}

.annual-trend-card {
  display: grid;
  gap: 18px;
  margin: 10px -18px;
  padding: 26px 18px;
  border-top: 1px solid rgba(18, 63, 99, 0.16);
  border-bottom: 1px solid rgba(18, 63, 99, 0.16);
  background: linear-gradient(180deg, #f6fafc, #ffffff);
  animation: chart-enter 0.45s ease-out both;
}

.annual-trend-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 22px;
}

.annual-trend-heading h3 {
  margin: 5px 0 8px;
  color: var(--blue-dark);
  font-size: 26px;
  line-height: 1.25;
  letter-spacing: 0;
}

.annual-trend-heading p {
  max-width: 66ch;
  color: var(--muted);
}

.annual-trend-heading .secondary-button {
  flex: 0 0 auto;
}

.trend-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: #334b5b;
  font-size: 14px;
  font-weight: 700;
}

.trend-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.trend-legend-line {
  width: 28px;
  height: 3px;
  background: var(--trend-color);
}

.annual-trend-chart-wrap {
  position: relative;
  width: 100%;
  overflow-x: auto;
  border-block: 1px solid rgba(18, 63, 99, 0.1);
  background: #fff;
  border-radius: 8px;
  scrollbar-width: thin;
}

.annual-trend-chart-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(17, 141, 132, 0.12), transparent);
  animation: chart-scan 5.8s ease-in-out infinite;
}

.annual-trend-svg {
  display: block;
  width: 100%;
  min-width: 720px;
  aspect-ratio: 1040 / 460;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
}

.trend-grid-line {
  stroke: rgba(18, 63, 99, 0.13);
  stroke-width: 1;
}

.trend-axis-label,
.trend-month-label,
.trend-axis-note,
.trend-band-label {
  fill: #657685;
  font-size: 13px;
}

.trend-band-label {
  fill: rgba(46, 67, 81, 0.7);
  font-size: 12px;
}

.trend-current-line {
  stroke: #0f756f;
  stroke-width: 2;
  stroke-dasharray: 5 5;
}

.trend-current-label {
  fill: #0f756f;
  font-size: 12px;
  font-weight: 800;
}

.trend-series-line,
.trend-point {
  transition: opacity 160ms ease, filter 160ms ease, transform 160ms ease;
}

.trend-series-line {
  animation: chart-enter 0.45s ease-out both;
}

.trend-point {
  transform-box: fill-box;
  transform-origin: center;
}

.trend-series-line.is-past,
.trend-point.is-past {
  opacity: 0.38;
}

.trend-point.is-selected {
  filter: drop-shadow(0 0 4px rgba(18, 63, 99, 0.48));
  stroke-width: 4;
  animation: point-pulse 1.4s ease-in-out infinite;
}

.trend-hit-area {
  cursor: pointer;
}

.trend-month-tabs {
  display: grid;
  grid-template-columns: repeat(12, minmax(42px, 1fr));
  gap: 6px;
}

.trend-month-tabs button {
  min-height: 38px;
  border: 1px solid rgba(18, 63, 99, 0.14);
  border-radius: 6px;
  background: #fff;
  color: #455a68;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
}

.trend-month-tabs button:hover,
.trend-month-tabs button.is-active {
  border-color: var(--blue);
  background: var(--blue-dark);
  color: #fff;
}

.trend-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.trend-highlights span {
  border-left: 3px solid #17877f;
  background: #edf7f5;
  padding: 11px 13px;
}

.trend-highlights span:last-child {
  border-left-color: #b8862f;
  background: #fff7e9;
}

.trend-month-detail {
  display: grid;
  gap: 16px;
  animation: chart-enter 0.24s ease-out both;
}

.trend-month-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.trend-month-heading h4 {
  margin: 4px 0 0;
  color: var(--blue-dark);
  font-size: 18px;
  letter-spacing: 0;
}

.trend-month-kicker {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.trend-month-grade {
  flex: 0 0 auto;
  border-radius: 999px;
  background: #e7f1f5;
  color: var(--blue-dark);
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 800;
}

.trend-score-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.trend-score-card {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: baseline;
  gap: 3px;
  border-top: 3px solid var(--blue-dark);
  background: #fff;
  padding: 12px;
}

.trend-score-card span,
.trend-score-card small {
  color: var(--muted);
  font-size: 12px;
}

.trend-score-card strong {
  color: var(--blue-dark);
  font-size: 25px;
  line-height: 1;
}

.trend-score-wealth {
  border-top-color: #b8862f;
}

.trend-score-relationship {
  border-top-color: #b45170;
}

.trend-score-health {
  border-top-color: #17877f;
}

.trend-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.trend-detail-grid > div {
  border-left: 2px solid rgba(18, 63, 99, 0.2);
  padding-left: 12px;
}

.trend-detail-grid h5 {
  margin: 0 0 8px;
  color: var(--blue-dark);
  font-size: 15px;
}

.trend-detail-grid ul {
  margin: 0;
  padding-left: 19px;
  color: #354b59;
}

.trend-detail-grid li + li {
  margin-top: 5px;
}

.trend-dimension-notes {
  display: grid;
  gap: 8px;
  border-top: 1px solid rgba(18, 63, 99, 0.12);
  padding-top: 14px;
}

.trend-dimension-notes p {
  max-width: none;
}

.trend-disclaimer {
  max-width: none;
  color: var(--muted);
  font-size: 13px;
}

.daily-gua-panel {
  display: grid;
  gap: 16px;
  background:
    linear-gradient(135deg, rgba(17, 141, 132, 0.08), rgba(185, 133, 50, 0.08)),
    rgba(255, 255, 255, 0.9);
}

.daily-gua-panel h2 {
  margin: 0;
  color: var(--blue-dark);
}

.daily-gua-card,
.daily-gua-empty,
.daily-admin-card {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(29, 95, 146, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  padding: 16px;
  box-shadow: 0 8px 22px rgba(8, 38, 63, 0.04);
}

.daily-gua-empty strong {
  color: var(--blue-dark);
}

.daily-gua-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.daily-gua-head > div > strong,
.daily-gua-head > div > span {
  display: block;
}

.daily-gua-head > div > strong {
  color: var(--blue-dark);
  font-size: 18px;
}

.daily-gua-head > div > span {
  color: var(--muted);
  font-size: 13px;
}

.daily-gua-score {
  display: grid;
  min-width: 132px;
  gap: 2px;
  border: 1px solid rgba(185, 134, 63, 0.34);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(185, 134, 63, 0.14), rgba(185, 134, 63, 0.07));
  color: var(--gold);
  padding: 10px 12px;
  text-align: center;
}

.daily-gua-score small,
.daily-gua-score em,
.daily-gua-score strong {
  display: block;
  font-style: normal;
  line-height: 1.2;
}

.daily-gua-score small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.daily-gua-score strong {
  color: var(--gold);
  font-size: 20px;
  font-weight: 900;
}

.daily-gua-score em {
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 800;
}

.daily-entitlement {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.daily-entitlement span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid rgba(29, 95, 146, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  padding: 7px 10px;
}

.daily-entitlement strong {
  color: var(--blue-dark);
}

.daily-decision-card,
.daily-review-card {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(26, 154, 145, 0.2);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(26, 154, 145, 0.08), rgba(255, 255, 255, 0.96));
  padding: 16px;
}

.daily-decision-card h3,
.daily-decision-card p,
.daily-review-card h3,
.daily-review-card p {
  margin: 0;
}

.daily-decision-card h3,
.daily-review-card h3 {
  color: var(--blue-dark);
}

.daily-decision-card > div:first-child p:last-child {
  color: var(--ink);
  font-weight: 800;
  line-height: 1.75;
}

.daily-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.daily-meta-grid span {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(29, 95, 146, 0.12);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  padding: 10px;
}

.daily-meta-grid strong {
  color: var(--blue-dark);
  font-size: 16px;
}

.daily-card-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.daily-card-columns section {
  display: grid;
  gap: 8px;
  border-radius: 8px;
  background: #fff;
  padding: 12px;
}

.daily-card-columns h4 {
  margin: 0;
  color: var(--blue-dark);
}

.daily-card-columns ol,
.daily-card-columns ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.daily-card-columns li {
  line-height: 1.7;
}

.daily-review-prompt {
  border-left: 4px solid var(--gold);
  color: var(--muted);
  padding-left: 12px;
}

.daily-issue-form,
.daily-review-card {
  border: 1px solid rgba(29, 95, 146, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  padding: 16px;
}

.daily-reading-body {
  max-height: 720px;
  overflow: auto;
}

.lingqian-evidence {
  border: 1px solid rgba(185, 134, 63, 0.24);
  border-radius: 8px;
  background: #fffaf0;
  padding: 12px;
}

.lingqian-evidence summary {
  cursor: pointer;
  color: var(--gold);
  font-weight: 900;
}

.lingqian-evidence .report-text {
  margin-top: 12px;
  background: #fff;
}

.report-callout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  max-width: 82ch;
  border: 1px solid rgba(201, 111, 86, 0.16);
  border-left: 4px solid var(--coral);
  border-radius: 8px;
  background: rgba(201, 111, 86, 0.07);
  padding: 12px 14px;
}

.report-callout strong {
  display: inline-grid;
  min-width: 44px;
  min-height: 28px;
  place-items: center;
  border-radius: 8px;
  background: var(--coral-dark);
  color: #fff;
  font-size: 13px;
}

.report-callout span {
  color: var(--ink);
  font-weight: 700;
}

.callout-good {
  border-left-color: var(--teal);
  background: rgba(26, 154, 145, 0.08);
}

.callout-good strong {
  background: var(--teal);
}

.callout-bad,
.callout-caution {
  border-left-color: var(--red);
  background: rgba(185, 79, 75, 0.07);
}

.callout-bad strong,
.callout-caution strong {
  background: var(--red);
}

.callout-basis {
  border-left-color: var(--gold);
  background: rgba(185, 134, 63, 0.08);
}

.callout-basis strong {
  background: var(--gold);
}

.daily-history summary,
.daily-admin-card summary {
  cursor: pointer;
  color: var(--blue-dark);
  font-weight: 900;
}

.daily-history-list,
.daily-admin-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.daily-history-list article {
  display: grid;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(251, 250, 246, 0.78);
  padding: 10px;
}

.report-history-card {
  display: grid;
  gap: 10px;
}

.feedback-correction-panel {
  border: 1px solid rgba(25, 92, 138, 0.16);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 250, 252, 0.86));
  padding: 12px 14px;
}

.feedback-correction-panel summary {
  cursor: pointer;
  color: var(--blue-dark);
  font-weight: 900;
}

.feedback-correction-panel form {
  margin-top: 12px;
}

.report-history-card > a {
  display: grid;
  gap: 4px;
  color: inherit;
  text-decoration: none;
}

.daily-history-list strong,
.daily-history-list span,
.daily-history-list small {
  display: block;
}

.daily-history-list span,
.daily-history-list small {
  color: var(--muted);
}

.report-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0 0;
  color: var(--blue-dark);
  font-size: 20px;
  line-height: 1.35;
}

.report-section-title span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 8px;
  background: rgba(29, 95, 146, 0.1);
  color: var(--blue);
  font-size: 15px;
  font-weight: 900;
}

.report-fact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 2px 0 4px;
}

.report-fact {
  min-width: 0;
  border: 1px solid rgba(29, 95, 146, 0.14);
  border-left: 4px solid rgba(29, 95, 146, 0.7);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #f6fafc);
  padding: 14px 16px;
  box-shadow: 0 8px 22px rgba(8, 38, 63, 0.04);
}

.report-fact.wide {
  grid-column: 1 / -1;
}

.fact-label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.fact-value {
  min-width: 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.fact-农历,
.fact-时间提醒 {
  border-left-color: var(--gold);
  background: #fffaf0;
}

.fact-四柱 {
  border-left-color: var(--teal);
  background: #f3fbfa;
}

.fact-五行统计 {
  border-left-color: var(--red);
  background: #fff7f6;
}

.pillar-row,
.element-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pillar-chip {
  display: grid;
  gap: 3px;
  min-width: 84px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid rgba(26, 154, 145, 0.28);
  padding: 8px 10px;
  box-shadow: 0 8px 20px rgba(17, 141, 132, 0.08);
}

.pillar-chip small {
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
}

.pillar-chip strong {
  color: var(--blue-dark);
  font-size: 18px;
  line-height: 1.1;
}

.element-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  border: 1px solid rgba(23, 32, 51, 0.1);
  background: #fff;
  padding: 6px 10px;
  font-weight: 900;
}

.element-chip strong {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  color: #fff;
  font-size: 13px;
}

.element-木 strong {
  background: #2f8f5b;
}

.element-火 strong {
  background: #c64f43;
}

.element-土 strong {
  background: #b9863f;
}

.element-金 strong {
  background: #8a7a46;
}

.element-水 strong {
  background: #1d5f92;
}

.report-list-line {
  position: relative;
  border-left: 3px solid rgba(29, 95, 146, 0.28);
  background: rgba(29, 95, 146, 0.045);
  border-radius: 8px;
  padding: 12px 14px;
}

.report-list-line.score-line {
  border-left-color: var(--gold);
  background: #fffaf0;
  font-weight: 700;
}

.report-note {
  border-radius: 8px;
  background: rgba(105, 115, 134, 0.08);
  color: var(--muted);
  padding: 12px 14px;
}

.qa-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.qa-question {
  margin: 0 0 8px;
  color: var(--blue-dark);
  font-weight: 900;
}

.loading {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--muted);
}

.loading::before {
  content: "";
  width: 14px;
  height: 14px;
  border: 2px solid rgba(201, 111, 86, 0.18);
  border-top-color: var(--coral);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 36px;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(250, 248, 242, 0.92), rgba(244, 238, 228, 0.9)),
    radial-gradient(circle at 12% 0%, rgba(201, 111, 86, 0.08), transparent 32%);
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links a {
  color: var(--ink);
  font-weight: 800;
}

.admin-shell,
.report-page,
.legal-page {
  max-width: 1240px;
  margin: 0 auto;
  padding: 56px 36px 80px;
}

.admin-heading,
.report-page > h1,
.legal-page > h1 {
  color: var(--blue-dark);
}

.admin-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 8px;
}

.admin-heading h1,
.report-page h1,
.legal-page h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.12;
}

.admin-root {
  display: grid;
  gap: 18px;
  margin-top: 20px;
}

.admin-root > .admin-panel,
.admin-command-bar {
  scroll-margin-top: 98px;
}

.fulfillment-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.fulfillment-plan-grid article {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(203, 213, 225, 0.72);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(245, 247, 250, 0.8));
  padding: 16px;
}

.fulfillment-plan-grid ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
}

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

.tag-list span {
  border: 1px solid rgba(203, 213, 225, 0.8);
  border-radius: 999px;
  background: rgba(245, 247, 250, 0.86);
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 10px;
}

.admin-command-bar {
  position: sticky;
  top: 84px;
  z-index: 12;
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.6fr);
  gap: 14px;
  border: 1px solid rgba(230, 222, 210, 0.86);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.94), rgba(246, 240, 231, 0.9)),
    rgba(255, 253, 248, 0.88);
  box-shadow: 0 18px 46px rgba(35, 28, 19, 0.1);
  padding: 12px;
  backdrop-filter: blur(18px);
}

.admin-command-main {
  display: grid;
  gap: 8px;
  align-content: center;
  min-height: 118px;
  border-radius: 10px;
  background:
    radial-gradient(circle at 94% 0%, rgba(201, 111, 86, 0.28), transparent 34%),
    linear-gradient(135deg, var(--surface-dark), var(--surface-dark-2));
  color: #fffaf0;
  padding: 18px;
}

.admin-command-main-button {
  width: 100%;
  border: 0;
  text-align: left;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.admin-command-main-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 42px rgba(35, 28, 19, 0.18);
}

.admin-command-main-button:focus-visible {
  outline: 3px solid rgba(201, 111, 86, 0.48);
  outline-offset: 3px;
}

.admin-command-main small,
.admin-command-main strong,
.admin-command-main p,
.admin-command-main > span {
  display: block;
}

.admin-command-main small {
  color: #d8a06b;
  font-size: 12px;
  font-weight: 900;
}

.admin-command-main strong {
  color: #fffaf0;
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.15;
}

.admin-command-main p {
  margin: 0;
  color: rgba(255, 253, 248, 0.68);
  font-size: 13px;
  line-height: 1.6;
}

.admin-command-main > span {
  width: fit-content;
  margin-top: 4px;
  border: 1px solid rgba(255, 253, 248, 0.22);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.08);
  color: #fffaf0;
  padding: 7px 11px;
  font-size: 12px;
  font-weight: 900;
}

.admin-command-side {
  display: grid;
  gap: 10px;
  align-content: center;
  min-width: 0;
}

.admin-command-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.admin-command-stats span {
  min-width: 0;
  border: 1px solid rgba(230, 222, 210, 0.9);
  border-radius: 10px;
  background: rgba(255, 253, 248, 0.78);
  color: var(--muted);
  padding: 12px;
  font-size: 12px;
  font-weight: 800;
}

.admin-command-stats strong {
  display: block;
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
  margin-bottom: 6px;
}

.admin-command-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-command-nav button {
  min-height: 36px;
  border: 1px solid rgba(230, 222, 210, 0.94);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.86);
  color: var(--blue-dark);
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 900;
}

.admin-command-nav button:hover {
  border-color: rgba(201, 111, 86, 0.42);
  background: rgba(201, 111, 86, 0.08);
  color: var(--coral-dark);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  gap: 14px;
}

.metric-card {
  position: relative;
  overflow: hidden;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(248, 243, 235, 0.96));
  border-color: rgba(230, 222, 210, 0.94);
  box-shadow: var(--soft-shadow);
}

.metric-card::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 14px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(201, 111, 86, 0.18);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(201, 111, 86, 0.11), transparent 68%);
  pointer-events: none;
}

.metric-card strong,
.metric-card span {
  display: block;
}

.metric-card strong {
  color: var(--ink);
  font-size: 32px;
  line-height: 1;
}

.metric-card span {
  margin-top: 8px;
  color: var(--muted);
}

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

.runtime-grid div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(248, 243, 235, 0.9));
  padding: 14px;
}

.runtime-grid strong,
.runtime-grid span,
.runtime-grid small {
  display: block;
}

.runtime-grid strong {
  color: var(--ink);
  margin-bottom: 6px;
}

.runtime-grid small {
  color: var(--muted);
  margin-top: 6px;
  line-height: 1.5;
}

.status-good {
  color: #0d7a55;
  font-weight: 900;
}

.status-warn {
  color: #a45a00;
  font-weight: 900;
}

.operations-panel {
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 86% -12%, rgba(201, 111, 86, 0.24), transparent 30%),
    linear-gradient(135deg, var(--surface-dark), var(--surface-dark-2));
  color: rgba(255, 253, 248, 0.88);
}

.operations-panel .eyebrow {
  color: #d8a06b;
}

.operations-panel h2 {
  color: #fffaf0;
}

.operations-panel .muted {
  color: rgba(255, 253, 248, 0.64);
}

.operations-queue-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
}

.queue-card {
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 154px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.08);
  padding: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.queue-card.needs-attention {
  border-color: rgba(201, 111, 86, 0.62);
  background:
    linear-gradient(180deg, rgba(201, 111, 86, 0.18), rgba(255, 253, 248, 0.08));
  box-shadow: inset 4px 0 0 rgba(201, 111, 86, 0.82);
}

.queue-card strong,
.queue-card span {
  display: block;
}

.queue-card strong {
  color: #fffaf0;
  font-size: 30px;
  line-height: 1;
}

.queue-card span {
  margin-top: 5px;
  color: #fffaf0;
  font-weight: 900;
}

.queue-card p {
  margin: 0;
  color: rgba(255, 253, 248, 0.62);
  font-size: 13px;
  line-height: 1.6;
}

.operations-clear {
  margin: 14px 0 0;
}

.pressure-command-center {
  overflow: hidden;
  border-color: rgba(230, 222, 210, 0.94);
  background:
    radial-gradient(circle at 96% 0%, rgba(79, 174, 158, 0.12), transparent 30%),
    radial-gradient(circle at 0% 100%, rgba(201, 111, 86, 0.1), transparent 32%),
    var(--surface);
}

.pressure-command-center .panel-heading {
  align-items: start;
}

.pressure-command-center h2 {
  font-size: clamp(28px, 4vw, 46px);
}

.pressure-command-ready {
  border-color: rgba(79, 174, 158, 0.42);
}

.pressure-command-limited,
.pressure-command-collecting {
  border-color: rgba(216, 160, 107, 0.52);
}

.pressure-command-not_ready {
  border-color: rgba(201, 111, 86, 0.46);
}

.pressure-command-hero {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.pressure-command-hero div {
  min-width: 0;
  border: 1px solid rgba(230, 222, 210, 0.86);
  border-radius: 10px;
  background: rgba(255, 253, 248, 0.82);
  padding: 14px;
}

.pressure-command-hero span,
.pressure-command-hero strong,
.pressure-command-hero small {
  display: block;
}

.pressure-command-hero span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.pressure-command-hero strong {
  margin-top: 8px;
  color: var(--ink);
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1;
}

.pressure-command-hero small {
  margin-top: 8px;
  color: var(--coral-dark);
  line-height: 1.45;
}

.pressure-command-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.pressure-command-grid article {
  min-width: 0;
  border: 1px solid rgba(230, 222, 210, 0.9);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.68);
  padding: 14px;
}

.pressure-command-grid article > strong {
  display: block;
  color: var(--ink);
  font-size: 16px;
  margin-bottom: 10px;
}

.pressure-command-grid ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pressure-command-grid li {
  display: grid;
  gap: 4px;
  border-radius: 8px;
  background: rgba(250, 247, 240, 0.72);
  padding: 10px;
}

.pressure-command-grid span {
  color: var(--ink);
  font-weight: 900;
}

.pressure-command-grid em {
  color: var(--muted);
  font-style: normal;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.pressure-command-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.pressure-improvement-card {
  border-color: rgba(230, 222, 210, 0.94);
  background:
    radial-gradient(circle at 0% 0%, rgba(216, 160, 107, 0.12), transparent 28%),
    radial-gradient(circle at 100% 4%, rgba(79, 174, 158, 0.08), transparent 30%),
    var(--surface);
}

.pressure-improvement-card.compact-improvement {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
  border: 1px solid rgba(230, 222, 210, 0.9);
  border-radius: 12px;
  padding: 16px;
}

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

.pressure-improvement-list article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  border: 1px solid rgba(230, 222, 210, 0.88);
  border-radius: 12px;
  background: rgba(255, 253, 248, 0.84);
  padding: 14px;
}

.pressure-improvement-list article > span {
  display: grid;
  place-items: center;
  width: 38px;
  min-height: 38px;
  border-radius: 10px;
  background: rgba(35, 28, 19, 0.94);
  color: #fffaf0;
  font-weight: 900;
}

.pressure-improvement-list strong,
.pressure-improvement-list small,
.pressure-improvement-list p,
.pressure-improvement-list em {
  display: block;
}

.pressure-improvement-list strong {
  color: var(--ink);
  font-size: 18px;
}

.pressure-improvement-list small {
  margin-top: 4px;
  color: var(--coral-dark);
  font-weight: 900;
}

.pressure-improvement-list p {
  margin: 8px 0 0;
  color: var(--body);
  line-height: 1.7;
}

.pressure-improvement-list em {
  margin-top: 8px;
  color: var(--muted);
  font-style: normal;
  line-height: 1.55;
}

.pressure-test-panel {
  border-color: rgba(230, 222, 210, 0.94);
  background:
    radial-gradient(circle at 98% 0%, rgba(79, 174, 158, 0.1), transparent 28%),
    var(--surface);
}

.pressure-summary {
  min-width: 126px;
  border: 1px solid rgba(201, 111, 86, 0.18);
  border-radius: 8px;
  background: rgba(201, 111, 86, 0.08);
  padding: 12px 14px;
  text-align: right;
}

.pressure-summary strong,
.pressure-summary span {
  display: block;
}

.pressure-summary strong {
  color: var(--coral-dark);
  font-size: 28px;
  line-height: 1;
}

.pressure-summary span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.trial-runbook-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.78fr) minmax(0, 1.22fr);
  gap: 14px;
  align-items: start;
  margin-bottom: 16px;
  border: 1px solid rgba(230, 222, 210, 0.92);
  border-radius: 12px;
  background:
    radial-gradient(circle at 0% 0%, rgba(201, 111, 86, 0.12), transparent 32%),
    rgba(255, 253, 248, 0.78);
  padding: 14px;
}

.trial-runbook-copy {
  display: grid;
  gap: 10px;
  align-content: start;
  min-width: 0;
  border-radius: 8px;
  background: rgba(35, 28, 19, 0.92);
  padding: 16px;
  color: rgba(255, 253, 248, 0.8);
}

.trial-runbook-copy small,
.trial-runbook-copy strong,
.trial-runbook-copy p {
  display: block;
}

.trial-runbook-copy small {
  color: #d8a06b;
  font-weight: 900;
}

.trial-runbook-copy strong {
  color: #fffaf0;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.2;
}

.trial-runbook-copy p {
  margin: 0;
  color: rgba(255, 253, 248, 0.64);
  line-height: 1.65;
}

.trial-runbook-steps {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trial-runbook-steps li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  border: 1px solid rgba(230, 222, 210, 0.82);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  padding: 10px;
}

.trial-runbook-steps li > span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(201, 111, 86, 0.12);
  color: var(--coral-dark);
  font-weight: 900;
}

.trial-runbook-steps strong,
.trial-runbook-steps p,
.trial-runbook-steps small {
  display: block;
}

.trial-runbook-steps strong {
  color: var(--ink);
  font-weight: 900;
}

.trial-runbook-steps p {
  margin: 4px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.trial-runbook-steps small {
  margin-top: 4px;
  color: var(--blue-dark);
  font-weight: 800;
  line-height: 1.45;
}

.pressure-scenario-card {
  display: grid;
  gap: 14px;
  margin-bottom: 16px;
  border: 1px solid rgba(230, 222, 210, 0.92);
  border-radius: 12px;
  background:
    radial-gradient(circle at 100% 0%, rgba(79, 174, 158, 0.12), transparent 30%),
    rgba(255, 253, 248, 0.82);
  padding: 16px;
}

.pressure-scenario-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
}

.pressure-scenario-head div {
  min-width: 0;
}

.pressure-scenario-head small,
.pressure-scenario-head strong,
.pressure-scenario-head p {
  display: block;
}

.pressure-scenario-head small {
  color: var(--coral-dark);
  font-weight: 900;
}

.pressure-scenario-head strong {
  margin-top: 4px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 24px;
}

.pressure-scenario-head p {
  max-width: 760px;
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.pressure-scenario-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.pressure-scenario-grid article {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  border: 1px solid rgba(230, 222, 210, 0.86);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  padding: 12px;
}

.pressure-scenario-grid article > span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(35, 28, 19, 0.94);
  color: #fffaf0;
  font-weight: 900;
}

.pressure-scenario-grid strong,
.pressure-scenario-grid p,
.pressure-scenario-grid small,
.pressure-scenario-grid em {
  display: block;
}

.pressure-scenario-grid strong {
  color: var(--ink);
  font-weight: 900;
}

.pressure-scenario-grid p {
  margin: 5px 0 0;
  color: var(--body);
  line-height: 1.58;
}

.pressure-scenario-grid ul {
  display: grid;
  gap: 4px;
  margin: 8px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.5;
}

.pressure-scenario-grid small {
  margin-top: 8px;
  color: var(--blue-dark);
  font-weight: 800;
  line-height: 1.48;
}

.pressure-scenario-grid em {
  margin-top: 5px;
  color: var(--coral-dark);
  font-style: normal;
  font-weight: 800;
  line-height: 1.48;
}

.pressure-scenario-fields {
  border-top: 1px solid rgba(230, 222, 210, 0.84);
  padding-top: 10px;
}

.pressure-scenario-fields summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 900;
}

.pressure-scenario-fields p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.pressure-slot-card {
  display: grid;
  gap: 14px;
  margin-bottom: 16px;
  border: 1px solid rgba(230, 222, 210, 0.92);
  border-radius: 12px;
  background:
    radial-gradient(circle at 100% 0%, rgba(79, 174, 158, 0.1), transparent 28%),
    rgba(255, 253, 248, 0.84);
  padding: 18px;
}

.pressure-slot-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
}

.pressure-slot-head small,
.pressure-slot-head strong,
.pressure-slot-head p {
  display: block;
}

.pressure-slot-head small {
  color: var(--coral-dark);
  font-weight: 900;
}

.pressure-slot-head strong {
  margin-top: 4px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 24px;
}

.pressure-slot-head p {
  max-width: 760px;
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.pressure-slot-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.pressure-slot-summary div {
  border: 1px solid rgba(230, 222, 210, 0.86);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.74);
  padding: 12px;
}

.pressure-slot-summary strong,
.pressure-slot-summary span {
  display: block;
}

.pressure-slot-summary strong {
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
}

.pressure-slot-summary span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.pressure-next-slot {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.95fr);
  gap: 14px;
  align-items: start;
  border: 1px solid rgba(35, 28, 19, 0.16);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(35, 28, 19, 0.94), rgba(62, 48, 34, 0.92)),
    var(--ink);
  color: rgba(255, 253, 248, 0.82);
  padding: 16px;
  box-shadow: 0 18px 42px rgba(35, 28, 19, 0.16);
}

.pressure-next-slot small,
.pressure-next-slot strong,
.pressure-next-slot p,
.pressure-next-slot span {
  display: block;
}

.pressure-next-slot small {
  color: var(--coral);
  font-weight: 900;
}

.pressure-next-slot strong {
  margin-top: 5px;
  color: #fffaf0;
  font-family: var(--serif);
  font-size: 24px;
}

.pressure-next-slot p {
  margin: 8px 0 0;
  line-height: 1.65;
}

.pressure-next-slot ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 22px;
  line-height: 1.55;
}

.pressure-next-slot-foot {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  border-top: 1px solid rgba(255, 253, 248, 0.16);
  padding-top: 12px;
}

.pressure-next-slot-foot span {
  color: rgba(255, 253, 248, 0.72);
  line-height: 1.55;
}

.pressure-slot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.pressure-slot-item {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(230, 222, 210, 0.88);
  border-top: 4px solid rgba(172, 157, 132, 0.55);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  padding: 12px;
}

.pressure-slot-item > div {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}

.pressure-slot-item span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(35, 28, 19, 0.92);
  color: #fffaf0;
  font-weight: 900;
}

.pressure-slot-item strong {
  color: var(--ink);
  font-weight: 900;
}

.pressure-slot-item em {
  width: fit-content;
  border-radius: 999px;
  background: rgba(172, 157, 132, 0.13);
  color: var(--muted);
  padding: 5px 8px;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.pressure-slot-item p,
.pressure-slot-item small {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.pressure-slot-item small {
  color: var(--coral-dark);
  font-weight: 800;
}

.pressure-slot-done {
  border-top-color: rgba(79, 174, 158, 0.78);
}

.pressure-slot-done em {
  background: rgba(79, 174, 158, 0.14);
  color: var(--blue-dark);
}

.pressure-slot-needs_review {
  border-top-color: rgba(201, 111, 86, 0.78);
}

.pressure-slot-needs_review em {
  background: rgba(201, 111, 86, 0.14);
  color: var(--coral-dark);
}

.pressure-record-panel {
  margin: 16px 0;
  border: 1px solid rgba(230, 222, 210, 0.92);
  border-radius: 12px;
  background:
    radial-gradient(circle at 100% 0%, rgba(201, 111, 86, 0.1), transparent 26%),
    rgba(255, 253, 248, 0.82);
  padding: 14px;
}

.pressure-record-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  margin-bottom: 14px;
}

.pressure-record-head small,
.pressure-record-head strong,
.pressure-record-head p {
  display: block;
}

.pressure-record-head small {
  color: var(--coral-dark);
  font-weight: 900;
}

.pressure-record-head strong {
  margin-top: 6px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.2;
}

.pressure-record-head p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.pressure-record-count {
  min-width: 108px;
  border-radius: 10px;
  background: rgba(35, 28, 19, 0.92);
  padding: 14px;
  color: rgba(255, 253, 248, 0.78);
  text-align: right;
}

.pressure-record-count strong,
.pressure-record-count span {
  display: block;
}

.pressure-record-count strong {
  color: #fffaf0;
  font-size: 28px;
  line-height: 1;
}

.pressure-record-count span {
  margin-top: 6px;
  font-size: 12px;
}

.pressure-board-report {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
  border: 1px solid rgba(230, 222, 210, 0.9);
  border-radius: 12px;
  background:
    radial-gradient(circle at 0% 0%, rgba(79, 174, 158, 0.1), transparent 34%),
    rgba(255, 255, 255, 0.68);
  padding: 14px;
}

.pressure-board-ready {
  border-color: rgba(79, 174, 158, 0.38);
}

.pressure-board-limited,
.pressure-board-collecting {
  border-color: rgba(216, 160, 107, 0.48);
}

.pressure-board-not_ready {
  border-color: rgba(201, 111, 86, 0.42);
  background:
    radial-gradient(circle at 0% 0%, rgba(201, 111, 86, 0.12), transparent 34%),
    rgba(255, 250, 246, 0.78);
}

.pressure-board-main {
  display: grid;
  gap: 8px;
}

.pressure-board-main small,
.pressure-board-main strong,
.pressure-board-main p {
  display: block;
}

.pressure-board-main small {
  color: var(--coral-dark);
  font-weight: 900;
}

.pressure-board-main strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.2;
}

.pressure-board-main p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.pressure-board-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.pressure-board-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(126px, 1fr));
  gap: 8px;
}

.pressure-board-metrics div {
  border: 1px solid rgba(230, 222, 210, 0.84);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.82);
  padding: 10px 12px;
}

.pressure-board-metrics strong,
.pressure-board-metrics span {
  display: block;
}

.pressure-board-metrics strong {
  color: var(--ink);
  font-size: 20px;
}

.pressure-board-metrics span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.pressure-board-ranks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.pressure-board-ranks > div {
  border: 1px solid rgba(230, 222, 210, 0.84);
  border-radius: 8px;
  background: rgba(250, 247, 240, 0.76);
  padding: 12px;
}

.pressure-board-ranks strong,
.pressure-board-ranks span {
  display: block;
}

.pressure-board-ranks strong {
  color: var(--ink);
  margin-bottom: 8px;
}

.pressure-board-ranks span {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.pressure-board-ranks em {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(79, 174, 158, 0.12);
  color: var(--blue-dark);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.pressure-board-copy {
  border-top: 1px solid rgba(230, 222, 210, 0.84);
  padding-top: 10px;
}

.pressure-board-copy summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 900;
}

.pressure-board-copy pre {
  max-height: 280px;
  overflow: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  border: 1px solid rgba(230, 222, 210, 0.84);
  border-radius: 8px;
  background: rgba(35, 28, 19, 0.92);
  color: rgba(255, 253, 248, 0.86);
  padding: 12px;
  line-height: 1.65;
}

.pressure-export-card {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 14px;
  border: 1px solid rgba(230, 222, 210, 0.9);
  border-radius: 12px;
  background:
    radial-gradient(circle at 100% 0%, rgba(79, 174, 158, 0.12), transparent 28%),
    rgba(255, 253, 248, 0.88);
  padding: 16px;
}

.pressure-export-card div {
  min-width: 0;
}

.pressure-export-card small,
.pressure-export-card strong,
.pressure-export-card p {
  display: block;
}

.pressure-export-card small {
  color: var(--coral-dark);
  font-weight: 900;
}

.pressure-export-card strong {
  margin-top: 4px;
  color: var(--ink);
  font-size: 18px;
}

.pressure-export-card p {
  max-width: 680px;
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.pressure-export-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  min-width: 260px;
}

.pressure-export-actions span {
  flex-basis: 100%;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-align: right;
}

.pressure-record-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.pressure-record-summary-grid div {
  border: 1px solid rgba(230, 222, 210, 0.88);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  padding: 12px;
}

.pressure-record-summary-grid strong,
.pressure-record-summary-grid span {
  display: block;
}

.pressure-record-summary-grid strong {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.1;
}

.pressure-record-summary-grid span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}

.pressure-record-form {
  display: grid;
  gap: 14px;
  border-top: 1px solid rgba(230, 222, 210, 0.84);
  padding-top: 14px;
}

.pressure-record-fields,
.pressure-note-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.pressure-record-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.pressure-record-form input,
.pressure-record-form select,
.pressure-record-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(213, 202, 184, 0.95);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  padding: 11px 12px;
  font: inherit;
}

.pressure-record-form textarea {
  resize: vertical;
}

.pressure-checkbox-fieldset {
  border: 1px solid rgba(230, 222, 210, 0.92);
  border-radius: 10px;
  background: rgba(250, 247, 240, 0.72);
  padding: 12px;
}

.pressure-checkbox-fieldset legend {
  padding: 0 6px;
  color: var(--ink);
  font-weight: 900;
}

.pressure-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(126px, 1fr));
  gap: 8px;
}

.pressure-checkbox-grid label {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(230, 222, 210, 0.82);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  padding: 8px 10px;
  color: var(--ink);
}

.pressure-checkbox-grid input {
  width: 16px;
  height: 16px;
  padding: 0;
  accent-color: var(--coral);
}

.pressure-record-history {
  margin-top: 14px;
  border-top: 1px solid rgba(230, 222, 210, 0.84);
  padding-top: 12px;
}

.pressure-record-history summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 900;
}

.pressure-record-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.pressure-record-list article {
  border: 1px solid rgba(230, 222, 210, 0.9);
  border-left: 4px solid rgba(201, 111, 86, 0.58);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  padding: 12px;
}

.pressure-record-list strong,
.pressure-record-list span,
.pressure-record-list p,
.pressure-record-list small {
  display: block;
}

.pressure-record-list span,
.pressure-record-list p,
.pressure-record-list small {
  margin-top: 5px;
  color: var(--muted);
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.pressure-record-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.pressure-record-badges em {
  border-radius: 999px;
  background: rgba(79, 174, 158, 0.11);
  color: var(--blue-dark);
  padding: 5px 8px;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.pressure-record-empty {
  margin: 12px 0 0;
}

.pressure-step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(142px, 1fr));
  gap: 10px;
}

.pressure-step-card {
  position: relative;
  min-height: 132px;
  border: 1px solid rgba(230, 222, 210, 0.9);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(250, 247, 240, 0.96));
  padding: 16px;
}

.pressure-step-card small {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(201, 111, 86, 0.11);
  color: var(--coral-dark);
  display: grid;
  place-items: center;
  font-weight: 900;
}

.pressure-step-card strong,
.pressure-step-card span,
.pressure-step-card em {
  display: block;
}

.pressure-step-card strong {
  color: var(--ink);
  font-size: 30px;
  line-height: 1;
}

.pressure-step-card span {
  margin-top: 10px;
  color: var(--ink);
  font-weight: 900;
}

.pressure-step-card em {
  margin-top: 8px;
  color: var(--muted);
  font-style: normal;
  font-size: 12px;
}

.pressure-blocker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.pressure-blocker-grid div {
  border: 1px solid rgba(230, 222, 210, 0.9);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.76);
  padding: 12px;
}

.pressure-blocker-grid div.has-blocker {
  border-color: rgba(201, 111, 86, 0.42);
  background: rgba(255, 241, 234, 0.92);
}

.pressure-blocker-grid strong,
.pressure-blocker-grid span {
  display: block;
}

.pressure-blocker-grid strong {
  color: var(--coral-dark);
  font-size: 24px;
}

.pressure-blocker-grid span {
  color: var(--muted);
  font-size: 13px;
}

.pressure-events {
  margin-top: 16px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.pressure-events summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 900;
}

.pressure-event-list {
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}

.pressure-event-list li {
  border-left: 3px solid rgba(79, 174, 158, 0.58);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.78);
  padding: 10px 12px;
}

.pressure-event-list strong,
.pressure-event-list span,
.pressure-event-list small {
  display: block;
}

.pressure-event-list span,
.pressure-event-list small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.muted-admin-panel {
  background: rgba(255, 255, 255, 0.66);
}

.muted-admin-panel details {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin-top: 12px;
}

.muted-admin-panel summary {
  cursor: pointer;
  color: var(--blue-dark);
  font-weight: 900;
}

.maintenance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.maintenance-grid div {
  min-width: 0;
  border: 1px solid rgba(29, 95, 146, 0.12);
  border-radius: 8px;
  background: #f7fbfc;
  padding: 12px;
}

.maintenance-grid strong,
.maintenance-grid span {
  display: block;
}

.maintenance-grid strong {
  color: var(--blue-dark);
}

.maintenance-grid span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.payment-settings-panel textarea {
  min-height: 110px;
}

.payment-settings-panel,
.support-settings-panel,
.coupon-settings-panel {
  display: grid;
  gap: 16px;
  background:
    radial-gradient(circle at 98% 0%, rgba(201, 111, 86, 0.08), transparent 26%),
    rgba(255, 253, 248, 0.82);
}

.checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-dark);
  font-weight: 900;
}

.checkbox-label input {
  width: 18px;
  height: 18px;
  accent-color: var(--coral);
}

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

.coupon-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(260px, 1.2fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(230, 222, 210, 0.94);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.96), rgba(250, 247, 240, 0.88));
  padding: 18px 14px 14px;
  box-shadow: 0 10px 24px rgba(35, 28, 19, 0.05);
}

.coupon-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 14px;
  right: 14px;
  height: 3px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, var(--teal), rgba(201, 111, 86, 0.68));
}

.coupon-card.is-disabled {
  opacity: 0.72;
}

.coupon-card.is-disabled::before {
  background: rgba(117, 111, 101, 0.46);
}

.coupon-card strong,
.coupon-card span {
  display: block;
}

.coupon-card > div:first-child strong {
  color: var(--blue-dark);
  font-size: 18px;
}

.coupon-card > div:first-child span {
  color: var(--muted);
  font-size: 13px;
}

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

.coupon-stats span {
  border-radius: 8px;
  background: rgba(29, 95, 146, 0.06);
  padding: 9px;
  color: var(--muted);
  font-size: 12px;
}

.coupon-stats strong {
  color: var(--blue-dark);
  font-size: 16px;
}

.launch-readiness-panel {
  display: grid;
  gap: 16px;
  background:
    radial-gradient(circle at 98% 0%, rgba(28, 72, 95, 0.08), transparent 28%),
    rgba(255, 253, 248, 0.86);
}

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

.readiness-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.readiness-copy-source {
  position: fixed;
  left: -9999px;
  top: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.readiness-checklist-preview {
  border: 1px solid rgba(230, 222, 210, 0.92);
  border-radius: 12px;
  background: rgba(255, 253, 248, 0.72);
}

.readiness-checklist-preview summary {
  cursor: pointer;
  padding: 12px 14px;
  color: var(--ink);
  font-weight: 850;
}

.readiness-checklist-preview pre {
  overflow-x: auto;
  margin: 0;
  border-top: 1px solid rgba(230, 222, 210, 0.78);
  padding: 14px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.7;
  white-space: pre-wrap;
  word-break: break-word;
}

.readiness-card {
  min-width: 0;
  border: 1px solid rgba(230, 222, 210, 0.92);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.74);
  padding: 14px;
}

.readiness-card span,
.readiness-card strong,
.readiness-card p,
.readiness-card small {
  display: block;
}

.readiness-card span {
  width: fit-content;
  border-radius: 999px;
  padding: 4px 8px;
  background: rgba(29, 95, 146, 0.1);
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 900;
}

.readiness-card strong {
  margin-top: 10px;
  color: var(--ink);
  font-size: 17px;
}

.readiness-card p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.readiness-card small {
  margin-top: 8px;
  color: var(--blue-dark);
  font-weight: 800;
  line-height: 1.55;
}

.readiness-jump {
  margin-top: 12px;
}

.readiness-action {
  border-color: rgba(201, 111, 86, 0.34);
  background: rgba(255, 246, 239, 0.8);
}

.readiness-action span {
  background: rgba(201, 111, 86, 0.14);
  color: var(--coral-dark);
}

.readiness-warning {
  border-color: rgba(207, 153, 71, 0.32);
  background: rgba(255, 250, 235, 0.78);
}

.readiness-warning span {
  background: rgba(207, 153, 71, 0.16);
  color: #8a5d1b;
}

.order-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 12px;
  margin-bottom: 14px;
}

.segmented-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  border: 1px solid rgba(29, 95, 146, 0.14);
  border-radius: 8px;
  background: #f7fbfc;
  padding: 6px;
}

.segmented-filter button {
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  padding: 8px 10px;
  font-weight: 900;
}

.segmented-filter button.active {
  background: var(--blue-dark);
  color: #fff;
}

.segmented-filter span {
  margin-left: 6px;
  opacity: 0.74;
}

.order-search {
  display: grid;
  gap: 4px;
  min-width: min(320px, 100%);
}

.order-search span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.admin-panel h2,
.question-panel h2,
.payment-panel h2 {
  margin: 0 0 14px;
}

.feedback-panel h2,
.feedback-panel h3 {
  margin: 0 0 12px;
}

.same-chart-section,
.my-feedback {
  margin-top: 22px;
}

.experience-list {
  display: grid;
  gap: 12px;
}

.experience-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 16px;
}

.experience-card p {
  margin: 10px 0 0;
}

.experience-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
}

.review-list {
  display: grid;
  gap: 14px;
}

.review-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(230, 222, 210, 0.94);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(250, 247, 240, 0.96));
  padding: 18px;
  box-shadow: var(--soft-shadow);
}

.review-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--teal);
}

.review-card.status-generation_failed::before {
  background: var(--red);
}

.review-card.status-pending_review::before {
  background: var(--coral);
}

.review-card.status-generating,
.review-card.status-generating_sections,
.review-card.status-queued {
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(244, 250, 248, 0.96));
}

.review-card h3 {
  margin: 0 0 4px;
}

.review-details {
  margin-top: 12px;
}

.review-details summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 800;
}

.admin-visual-summary-preview {
  display: grid;
  gap: 12px;
  margin: 18px 0;
}

.admin-preview-heading h4,
.admin-preview-heading p {
  margin: 0;
}

.admin-preview-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.admin-preview-heading h4 {
  color: var(--blue-dark);
  font-size: 1rem;
}

.review-card .visual-summary-card-admin {
  margin: 0;
  box-shadow: 0 16px 36px rgba(43, 31, 20, 0.08);
}

.visual-summary-review-form {
  margin-top: 16px;
  padding: 14px;
  border: 1px solid rgba(34, 25, 19, 0.12);
  border-radius: 14px;
  background: rgba(255, 250, 242, 0.72);
}

.visual-summary-review-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.visual-summary-review-header strong {
  display: block;
  margin-bottom: 4px;
}

.visual-summary-review-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0 12px;
}

.visual-summary-review-options label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(34, 25, 19, 0.14);
  border-radius: 999px;
  background: #fffaf2;
}

.visual-summary-review-options input {
  width: auto;
}

.visual-summary-review-fields {
  display: grid;
  grid-template-columns: minmax(120px, 0.7fr) minmax(220px, 1.3fr);
  gap: 12px;
}

.visual-summary-review-fields label {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.visual-summary-review-fields textarea {
  min-height: 70px;
  resize: vertical;
}

.customer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}

.customer-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 16px;
}

.customer-card h3 {
  margin: 0 0 4px;
}

.customer-card p {
  margin: 2px 0;
}

.customer-card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.customer-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0;
}

.customer-stats span {
  border-radius: 8px;
  background: rgba(29, 95, 146, 0.06);
  padding: 10px;
  color: var(--muted);
  font-size: 12px;
}

.customer-stats strong {
  display: block;
  color: var(--blue-dark);
  font-size: 18px;
  line-height: 1.1;
}

.customer-latest {
  display: grid;
  gap: 3px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.customer-latest a,
.mini-list a {
  color: var(--blue-dark);
  font-weight: 900;
}

.customer-latest span,
.mini-list span {
  color: var(--muted);
  font-size: 13px;
}

.customer-details {
  margin-top: 12px;
}

.customer-details summary {
  cursor: pointer;
  color: var(--blue-dark);
  font-weight: 800;
}

.mini-list {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.mini-list > a,
.mini-list > div {
  display: grid;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(251, 250, 246, 0.72);
  padding: 10px;
}

.report-edit-form {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.report-edit-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.report-editor {
  min-height: 420px;
  width: 100%;
  border: 1px solid rgba(230, 222, 210, 0.94);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.96);
  color: var(--ink);
  padding: 14px;
  font: 15px/1.7 "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  resize: vertical;
}

.report-editor:focus {
  border-color: var(--coral);
  outline: none;
  box-shadow: 0 0 0 3px rgba(201, 111, 86, 0.14);
}

.table-wrap {
  max-width: 100%;
  overflow-x: auto;
}

.entitlement-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.entitlement-summary-grid div {
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(248, 250, 252, 0.78);
  border-radius: 14px;
  padding: 14px;
}

.entitlement-summary-grid span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 6px;
}

.entitlement-summary-grid strong {
  color: var(--ink);
  font-size: 26px;
  line-height: 1;
}

.fulfillment-redeem-panel {
  border-color: rgba(43, 179, 163, 0.2);
  overflow-wrap: anywhere;
}

.admin-form-grid {
  margin-top: 20px;
  padding: 18px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 18px;
  background: rgba(248, 250, 252, 0.72);
}

.audit-log-panel {
  margin-top: 18px;
}

.audit-log-panel summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
}

.fulfillment-plan-panel td,
.fulfillment-plan-panel small,
.fulfillment-plan-panel strong {
  overflow-wrap: anywhere;
}

@media (max-width: 640px) {
  .entitlement-summary-grid {
    grid-template-columns: 1fr;
  }
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 860px;
}

.data-table th,
.data-table td {
  border-bottom: 1px solid rgba(230, 222, 210, 0.84);
  padding: 12px;
  text-align: left;
  vertical-align: top;
}

.data-table th {
  background: rgba(250, 247, 240, 0.9);
  color: var(--muted);
  font-size: 13px;
}

.data-table tr:hover td {
  background: rgba(201, 111, 86, 0.035);
}

.data-table small {
  display: block;
  color: var(--muted);
}

.order-detail-panel {
  margin-top: 10px;
  min-width: 360px;
}

.order-detail-panel summary {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border: 1px solid rgba(201, 111, 86, 0.22);
  border-radius: 999px;
  background: rgba(201, 111, 86, 0.08);
  color: var(--coral-dark);
  padding: 5px 10px;
  font-weight: 900;
}

.admin-order-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  min-width: min(680px, calc(100vw - 48px));
  margin-top: 10px;
  padding: 14px;
  border: 1px solid rgba(230, 222, 210, 0.94);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.96);
}

.admin-order-detail-grid section {
  display: grid;
  gap: 8px;
  align-content: start;
  border: 1px solid rgba(230, 222, 210, 0.72);
  border-radius: 8px;
  background: rgba(250, 247, 240, 0.7);
  padding: 12px;
}

.admin-order-detail-grid h4 {
  margin: 0;
  color: var(--ink);
}

.admin-order-detail-grid p {
  margin: 0;
}

.admin-order-notes {
  display: grid;
  gap: 8px;
}

.admin-note {
  border: 1px solid rgba(185, 134, 63, 0.22);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.92);
  padding: 10px;
}

.admin-note p {
  margin: 0 0 4px;
}

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

.order-note-form {
  display: grid;
  gap: 8px;
}

.order-note-form textarea {
  min-height: 76px;
  resize: vertical;
}

.compact-button {
  min-height: 34px;
  padding: 6px 10px;
}

.legal-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 18px;
  margin-top: 24px;
}

.legal-nav {
  display: grid;
  gap: 8px;
  align-content: start;
}

.legal-nav a {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 12px;
  color: var(--blue-dark);
  font-weight: 800;
}

.legal-panel h2 {
  margin: 0 0 12px;
}

.legal-panel p,
.legal-panel li {
  color: var(--muted);
}

.content-page {
  max-width: 1180px;
}

.content-lead {
  max-width: 820px;
  margin: 18px 0 28px;
  color: var(--body);
  font-size: 18px;
  line-height: 1.9;
}

.content-nav {
  position: sticky;
  top: 92px;
}

.sample-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0;
}

.sample-overview article {
  border: 1px solid rgba(230, 222, 210, 0.94);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(248, 243, 235, 0.9));
  padding: 18px;
  box-shadow: var(--soft-shadow);
}

.sample-overview small,
.sample-overview strong,
.sample-overview span {
  display: block;
}

.sample-overview small {
  color: var(--coral-dark);
  font-size: 12px;
  font-weight: 900;
}

.sample-overview strong {
  margin-top: 8px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.2;
}

.sample-overview span {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.sample-panel,
.faq-panel {
  display: grid;
  gap: 28px;
}

.sample-section,
.faq-group {
  scroll-margin-top: 96px;
}

.sample-section h2,
.faq-group h2 {
  margin-top: 0;
}

.sample-card {
  border-radius: 14px;
  padding: 24px;
}

.sample-card.soft {
  border: 1px solid rgba(230, 222, 210, 0.94);
  background:
    radial-gradient(circle at 96% 0%, rgba(79, 174, 158, 0.14), transparent 28%),
    rgba(255, 253, 248, 0.9);
}

.sample-card.dark {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 92% 0%, rgba(201, 111, 86, 0.22), transparent 30%),
    linear-gradient(145deg, var(--surface-dark), var(--surface-dark-2));
  color: #fffaf0;
}

.sample-card.dark p,
.sample-card.dark span {
  color: rgba(255, 253, 248, 0.72);
}

.sample-label {
  margin: 0 0 8px;
  color: var(--coral-dark);
  font-size: 12px;
  font-weight: 900;
}

.sample-card.dark .sample-label {
  color: #d8a06b;
}

.sample-card h3 {
  margin: 0 0 12px;
  font-family: var(--serif);
  color: inherit;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.22;
}

.sample-list {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding-left: 20px;
}

.sample-highlight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.sample-highlight-grid span {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(255, 253, 248, 0.08);
  padding: 12px;
}

.sample-highlight-grid strong {
  display: block;
  color: #fffaf0;
}

.sample-trend-card {
  overflow: hidden;
  border: 1px solid rgba(230, 222, 210, 0.94);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.96), rgba(250, 247, 240, 0.88));
  padding: 18px;
}

.sample-trend-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.sample-trend-head strong,
.sample-trend-head span {
  display: block;
}

.sample-trend-head span,
.sample-trend-head em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.sample-trend-card svg {
  display: block;
  width: 100%;
  min-height: 230px;
}

.sample-grid-lines line {
  stroke: rgba(117, 111, 101, 0.18);
  stroke-width: 1;
}

.sample-trend-card polyline {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 5;
}

.trend-overall {
  stroke: #2f5f6f;
}

.trend-wealth {
  stroke: #e8a55a;
  stroke-dasharray: 12 10;
}

.trend-relationship {
  stroke: #d6768f;
  stroke-dasharray: 2 10;
}

.trend-health {
  stroke: #5db8a6;
  opacity: 0.78;
}

.sample-legend {
  color: var(--muted);
}

.chapter-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.chapter-grid span {
  border: 1px solid rgba(230, 222, 210, 0.94);
  border-radius: 10px;
  background: rgba(255, 253, 248, 0.82);
  color: var(--body);
  padding: 12px 14px;
  font-weight: 800;
}

.sample-dialog {
  display: grid;
  gap: 12px;
}

.sample-dialog div {
  border: 1px solid rgba(230, 222, 210, 0.94);
  border-radius: 12px;
  background: rgba(255, 253, 248, 0.84);
  padding: 16px;
}

.sample-dialog strong {
  color: var(--coral-dark);
}

.sample-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.faq-group {
  display: grid;
  gap: 10px;
}

.faq-group details {
  border: 1px solid rgba(230, 222, 210, 0.94);
  border-radius: 12px;
  background: rgba(255, 253, 248, 0.84);
  padding: 14px 16px;
}

.faq-group summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 900;
}

.faq-group details[open] {
  background:
    radial-gradient(circle at 98% 0%, rgba(201, 111, 86, 0.1), transparent 24%),
    rgba(255, 253, 248, 0.92);
}

.faq-group p {
  margin-bottom: 0;
}

.delivery-panel {
  display: grid;
  gap: 30px;
}

.delivery-timeline {
  display: grid;
  gap: 12px;
}

.delivery-timeline article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  border: 1px solid rgba(230, 222, 210, 0.94);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.96), rgba(249, 244, 236, 0.9));
  padding: 16px;
}

.delivery-timeline article > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--surface-dark);
  color: #fffaf0;
  font-weight: 900;
}

.delivery-timeline h3,
.delivery-status-grid strong {
  margin: 0;
  color: var(--ink);
}

.delivery-timeline p {
  margin: 6px 0 0;
}

.delivery-status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.delivery-status-grid article {
  border: 1px solid rgba(230, 222, 210, 0.94);
  border-radius: 12px;
  background:
    radial-gradient(circle at 94% 8%, rgba(79, 174, 158, 0.1), transparent 28%),
    rgba(255, 253, 248, 0.86);
  padding: 16px;
}

.delivery-status-grid strong {
  display: block;
  font-size: 18px;
}

.delivery-status-grid p {
  margin: 8px 0 0;
}

.support-panel {
  display: grid;
  gap: 30px;
}

.support-contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(230, 222, 210, 0.94);
  border-radius: 16px;
  background:
    radial-gradient(circle at 92% 0%, rgba(201, 111, 86, 0.13), transparent 26%),
    linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(248, 243, 235, 0.9));
  box-shadow: var(--soft-shadow);
  margin: 26px 0;
  padding: 20px;
}

.support-contact-card small,
.support-contact-card strong,
.support-contact-card span {
  display: block;
}

.support-contact-card small {
  color: var(--coral-dark);
  font-size: 12px;
  font-weight: 900;
}

.support-contact-card strong {
  margin-top: 6px;
  color: var(--ink);
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.1;
}

.support-contact-card span {
  margin-top: 8px;
  color: var(--muted);
}

.support-contact-card .support-extra-line {
  margin-top: 4px;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.support-route-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.support-route-grid article {
  border: 1px solid rgba(230, 222, 210, 0.94);
  border-radius: 12px;
  background: rgba(255, 253, 248, 0.86);
  padding: 16px;
}

.support-route-grid strong {
  color: var(--ink);
  font-size: 18px;
}

.support-route-grid p {
  margin: 8px 0 0;
}

.support-template {
  display: grid;
  gap: 8px;
  border: 1px dashed rgba(201, 111, 86, 0.45);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.55);
  margin-top: 14px;
  padding: 16px;
}

.support-template span {
  color: var(--body);
  font-weight: 800;
}

.partner-panel {
  display: grid;
  gap: 30px;
}

.partner-hero-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(230, 222, 210, 0.94);
  border-radius: 16px;
  background:
    radial-gradient(circle at 92% 0%, rgba(79, 174, 158, 0.14), transparent 26%),
    linear-gradient(145deg, var(--surface-dark), var(--surface-dark-2));
  box-shadow: var(--soft-shadow);
  color: #fffaf0;
  margin: 26px 0;
  padding: 22px;
}

.partner-hero-card small,
.partner-hero-card strong,
.partner-hero-card span {
  display: block;
}

.partner-hero-card small {
  color: #d8a06b;
  font-size: 12px;
  font-weight: 900;
}

.partner-hero-card strong {
  margin-top: 8px;
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.12;
}

.partner-hero-card span {
  max-width: 720px;
  margin-top: 10px;
  color: rgba(255, 253, 248, 0.72);
}

.partner-hero-card .ghost-button {
  border-color: rgba(255, 255, 255, 0.28);
  color: #fffaf0;
}

.partner-definition,
.partner-copy-grid,
.partner-warning-grid,
.partner-rule-grid,
.partner-copy-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.partner-definition {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.partner-definition article,
.partner-copy-grid article,
.partner-warning-grid article,
.partner-rule-grid article,
.partner-copy-board article {
  border: 1px solid rgba(230, 222, 210, 0.94);
  border-radius: 12px;
  background: rgba(255, 253, 248, 0.86);
  padding: 16px;
}

.partner-definition strong,
.partner-warning-grid strong,
.partner-rule-grid strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
}

.partner-copy-grid small,
.partner-copy-board small {
  display: block;
  color: var(--coral-dark);
  font-size: 12px;
  font-weight: 900;
}

.partner-definition p,
.partner-copy-grid p,
.partner-warning-grid p,
.partner-rule-grid p,
.partner-copy-board p {
  margin: 8px 0 0;
}

.partner-warning-grid article {
  background:
    radial-gradient(circle at 96% 0%, rgba(201, 111, 86, 0.1), transparent 28%),
    rgba(255, 253, 248, 0.9);
}

.partner-copy-board {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.partner-copy-board p {
  color: var(--body);
  font-weight: 800;
  line-height: 1.75;
}

.partner-warning-card {
  border: 1px solid rgba(201, 111, 86, 0.28);
  border-radius: 14px;
  background:
    radial-gradient(circle at 100% 0%, rgba(201, 111, 86, 0.16), transparent 26%),
    linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(250, 243, 233, 0.9));
  padding: 22px;
}

.partner-warning-card p {
  margin-top: 0;
  color: var(--ink);
  font-weight: 900;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  max-width: 360px;
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  padding: 12px 14px;
  box-shadow: var(--shadow);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

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

@media (max-width: 900px) {
  .site-header {
    padding: 0 18px;
  }

  .nav {
    display: none;
  }

  .hero-content,
  .hero-grid,
  .section,
  .app-shell,
  .admin-shell,
  .report-page,
  .legal-page {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-content {
    width: 100%;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 56px;
    padding-bottom: 64px;
  }

  .hero h1 {
    font-size: 64px;
  }

  .section-heading h2,
  .app-heading h2,
  .price-panel h2 {
    font-size: 34px;
  }

  .hero-report-card {
    max-width: 560px;
  }

  .feature-grid,
  .product-proof-grid,
  .split,
  .pricing,
  .disclaimer-grid,
  .report-includes-grid,
  .sample-overview,
  .sample-highlight-grid,
  .chapter-grid,
  .auth-grid,
  .workspace-grid,
  .workspace-overview,
  .metric-grid,
  .legal-grid,
  .report-fact-grid,
  .field-grid,
  .profile-stepper,
  .profile-step-grid,
  .advanced-intake-grid,
  .runtime-grid,
  .trial-runbook-card,
  .pressure-board-ranks,
  .pressure-record-fields,
  .pressure-note-grid,
  .pressure-slot-summary,
  .pressure-slot-grid,
  .pressure-command-hero,
    .pressure-command-grid,
    .readiness-grid,
    .fulfillment-plan-grid,
    .daily-meta-grid,
    .daily-card-columns {
    grid-template-columns: 1fr;
  }

  .pressure-record-head {
    display: grid;
  }

  .pressure-export-card {
    display: grid;
  }

  .pressure-scenario-head {
    display: grid;
  }

  .pressure-slot-head {
    display: grid;
  }

  .pressure-next-slot,
  .pressure-next-slot-foot {
    display: grid;
  }

  .pressure-scenario-head .compact-button {
    width: 100%;
  }

  .pressure-slot-head .compact-button {
    width: 100%;
  }

  .pressure-next-slot-foot .compact-button {
    width: 100%;
  }

  .pressure-scenario-grid {
    grid-template-columns: 1fr;
  }

  .pressure-slot-grid {
    grid-template-columns: 1fr;
  }

  .pressure-export-actions {
    justify-content: stretch;
    min-width: 0;
  }

  .pressure-export-actions .compact-button {
    width: 100%;
  }

  .pressure-export-actions span {
    text-align: left;
  }

  .pressure-record-count {
    min-width: 0;
    text-align: left;
  }

  .delivery-status-grid {
    grid-template-columns: 1fr;
  }

  .support-contact-card {
    display: grid;
  }

  .support-route-grid {
    grid-template-columns: 1fr;
  }

  .partner-hero-card {
    display: grid;
  }

  .partner-definition,
  .partner-copy-grid,
  .partner-warning-grid {
    grid-template-columns: 1fr;
  }

  .product-proof-grid .feature-card:nth-child(1),
  .product-proof-grid .feature-card:nth-child(2),
  .product-proof-grid .feature-card:nth-child(3),
  .product-proof-grid .feature-card:nth-child(4) {
    grid-column: auto;
  }

  .workspace-overview {
    padding: 22px;
  }

  .content-nav {
    position: static;
  }

  .admin-command-bar {
    position: static;
    grid-template-columns: 1fr;
  }

  .admin-command-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-command-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-command-nav button {
    width: 100%;
  }

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

  .app-heading,
  .site-footer {
    display: block;
  }

  .header-actions {
    gap: 6px;
  }

  .user-menu-panel {
    right: 0;
    max-width: calc(100vw - 24px);
  }

  .order-item {
    grid-template-columns: 1fr;
  }

  .order-side {
    justify-items: start;
  }

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

  .toast {
    right: 12px;
    max-width: calc(100vw - 24px);
  }

  .order-detail-panel {
    min-width: 0;
  }

  .admin-order-detail-grid {
    min-width: 0;
    grid-template-columns: 1fr;
  }

  .coupon-order-form,
  .coupon-card,
  .coupon-stats {
    grid-template-columns: 1fr;
  }

  .coupon-order-form {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: auto;
  }

  .hero-grid {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .hero-content {
    max-width: 390px;
  }

  .hero h1 {
    font-size: 52px;
  }

  .section-heading h2,
  .app-heading h2,
  .price-panel h2 {
    font-size: 30px;
  }

  .hero-kicker {
    font-size: 13px;
  }

  .hero-copy {
    font-size: 16px;
  }

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

  .hero-report-card {
    padding: 20px;
  }

  .report-preview-title h2 {
    font-size: 28px;
  }

  .report-preview-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .workspace-stat-grid {
    grid-template-columns: 1fr;
  }

  .workspace-overview-actions {
    display: grid;
  }

  .hero-metrics div {
    min-width: 0;
    padding: 12px;
  }

  .hero-metrics strong {
    font-size: 20px;
  }

  .primary-button,
  .secondary-button,
  .ghost-button,
  .danger-button {
    width: 100%;
  }

  .price {
    font-size: 40px;
  }

  .report-text.report-rich {
    padding: 14px;
    font-size: 15px;
  }

  .annual-trend-card {
    margin-inline: -14px;
    padding-inline: 14px;
  }

  .annual-trend-heading,
  .trend-month-heading {
    display: grid;
  }

  .annual-trend-heading .secondary-button {
    width: 100%;
  }

  .trend-month-tabs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .trend-highlights,
  .trend-detail-grid {
    grid-template-columns: 1fr;
  }

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

  .delivery-progress-head {
    display: grid;
  }

  .delivery-steps,
  .compact-delivery-steps {
    grid-template-columns: 1fr;
  }

  .report-panel,
  .payment-panel,
  .question-panel,
  .feedback-panel,
  .daily-gua-panel,
  .admin-panel,
  .legal-panel {
    padding: 16px;
  }

  .report-section-title {
    font-size: 18px;
  }

  .pillar-chip {
    min-width: calc(50% - 4px);
  }

  .daily-gua-head {
    align-items: start;
    display: grid;
  }

  .daily-gua-score {
    width: 100%;
    min-width: 0;
    grid-template-columns: auto auto 1fr;
    align-items: center;
    text-align: left;
  }

  .daily-gua-score small,
  .daily-gua-score strong,
  .daily-gua-score em {
    display: inline;
  }

  .report-callout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .visual-summary-card {
    gap: 14px;
    margin: 14px 0 18px;
    padding: 18px;
  }

  .visual-summary-card::before {
    inset: 8px;
  }

  .visual-summary-card::after {
    width: 82px;
    height: 82px;
    right: 14px;
    bottom: 14px;
  }

  .visual-summary-head,
  .visual-summary-grid,
  .visual-main-axis {
    display: grid;
  }

  .visual-summary-head-actions {
    justify-content: start;
  }

  .visual-summary-export-actions {
    justify-content: start;
    width: 100%;
  }

  .visual-summary-export-actions .compact-button {
    flex: 1 1 120px;
  }

  .visual-seal {
    width: 52px;
    height: 52px;
  }

  .visual-summary-grid {
    grid-template-columns: 1fr;
  }

  .visual-summary-pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .visual-summary-pillars strong {
    font-size: 22px;
  }

  .visual-main-axis {
    grid-template-columns: 1fr;
  }

  .visual-main-axis span {
    width: max-content;
    min-height: 40px;
  }

  .visual-main-axis p {
    font-size: 17px;
  }

  .visual-summary-review-header,
  .visual-summary-review-fields {
    grid-template-columns: 1fr;
  }

  .visual-summary-review-header {
    display: grid;
  }

  .visual-summary-review-options label {
    flex: 1 1 100%;
  }
}

@media print {
  :root {
    --paper: #fff;
    --ink: #111827;
  }

  body {
    background: #fff;
    color: #111827;
    font-size: 12pt;
  }

  .site-header,
  .toast,
  .reader-tools,
  .delivery-progress-card,
  .daily-gua-panel,
  .feedback-panel,
  .question-panel,
  .report-actions,
  .payment-panel {
    display: none !important;
  }

  .report-page {
    max-width: none;
    padding: 0;
  }

  .report-page h1 {
    margin: 0 0 8px;
    font-size: 24pt;
  }

  .report-page > .muted {
    margin: 0 0 18px;
  }

  .report-panel {
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .report-text.report-rich {
    border: 0;
    background: #fff;
    padding: 0;
    font-size: 12pt;
    line-height: 1.8;
  }

  .annual-trend-card,
  .trend-month-detail,
  .trend-score-card,
  .report-callout,
  .pillar-chip {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .annual-trend-card {
    border-color: #cbd5e1;
    box-shadow: none;
  }
}
