:root {
  --ink: #f8efe6;
  --muted: #bca68d;
  --panel: rgba(32, 21, 8, 0.84);
  --panel-strong: rgba(24, 15, 5, 0.92);
  --line: rgba(255, 192, 120, 0.18);
  --brand: #e09146;
  --brand-2: #ff921b;
  --brand-3: #ffbf7e;
  --accent: #ff9e66;
  --bg-1: #1f1407;
  --bg-2: #301e0a;
  --danger-bg: rgba(127, 61, 29, 0.18);
  --danger-text: #ffe5b4;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Noto Sans SC", sans-serif;
  background:
    radial-gradient(circle at 12% 8%, rgba(224, 145, 70, 0.22) 0, transparent 28%),
    radial-gradient(circle at 92% 12%, rgba(255, 146, 27, 0.22) 0, transparent 24%),
    radial-gradient(circle at 85% 82%, rgba(255, 191, 126, 0.12) 0, transparent 26%),
    linear-gradient(140deg, var(--bg-1), var(--bg-2) 55%, #160e05 100%);
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(255, 191, 126, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 191, 126, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 85%);
  pointer-events: none;
  opacity: 0.35;
}

body::after {
  content: "";
  position: fixed;
  inset: auto 8% 6% auto;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(224, 145, 70, 0.18), transparent 68%);
  filter: blur(14px);
  pointer-events: none;
}

.page {
  width: min(1180px, 92vw);
  margin: 2.2rem auto 2.6rem;
}

.panel {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: clamp(1rem, 2vw, 2rem);
  box-shadow:
    0 30px 80px rgba(23, 13, 2, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
}

.panel::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 191, 126, 0.55), transparent);
  pointer-events: none;
}

.panel::after {
  content: "";
  position: absolute;
  top: -90px;
  right: -70px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(255, 146, 27, 0.18), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}

.hero-head {
  margin-bottom: 1.2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 192, 120, 0.12);
}

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.38rem 0.82rem;
  background: rgba(224, 145, 70, 0.12);
  color: var(--brand-3);
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-family: "Space Grotesk", sans-serif;
  border: 1px solid rgba(255, 191, 126, 0.2);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.build-meta {
  margin: 0 0 0.45rem;
  font-size: 0.82rem;
  color: #bea890;
  text-align: right;
}

.console-ribbon {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  margin: 0 0 1rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(255, 192, 120, 0.14);
  border-radius: 14px;
  background: linear-gradient(90deg, rgba(224, 145, 70, 0.08), rgba(255, 146, 27, 0.06));
  color: #e0cdb8;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.console-ribbon span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.signal-live {
  color: #ffebd9;
  font-weight: 700;
}

.signal-live i {
  width: 0.55rem;
  height: 0.55rem;
  display: inline-block;
  border-radius: 999px;
  background: #e09146;
  box-shadow: 0 0 0 0 rgba(224, 145, 70, 0.6);
  animation: pulse-signal 1.9s infinite;
}

h1 {
  margin: 0.75rem 0 0.35rem;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.05;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.04em;
  text-wrap: balance;
  text-shadow: 0 0 24px rgba(255, 191, 126, 0.08);
}

.subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 760px;
  line-height: 1.6;
}

.hero-kicker-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
}

.brand-stamp,
.footer-brand {
  margin: 0;
  color: #e3d5c5;
  font-size: 0.84rem;
  letter-spacing: 0.06em;
}

.hero-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1rem;
}

.hero-meta-grid article {
  border: 1px solid rgba(255, 192, 120, 0.16);
  border-radius: 16px;
  padding: 0.9rem 1rem;
  background: rgba(34, 22, 9, 0.68);
  position: relative;
  overflow: hidden;
}

.hero-meta-grid article::after {
  content: "";
  position: absolute;
  inset: auto -20% -45% auto;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(224, 145, 70, 0.12), transparent 70%);
  pointer-events: none;
}

.hero-meta-grid span {
  display: block;
  margin-bottom: 0.25rem;
  color: #ae987f;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-meta-grid strong {
  color: #fffaf4;
  font-size: 0.98rem;
}

.result-brandline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  margin-top: 0.9rem;
  color: #d9c7b3;
  font-size: 0.92rem;
}

.result-brandline span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.result-brandline span:first-child {
  color: var(--brand-3);
  font-weight: 700;
}

.result-meta-grid {
  margin-top: 1rem;
}

.result-notice-card {
  display: grid;
  gap: 0.45rem;
  border-color: rgba(251, 115, 36, 0.28);
  background: linear-gradient(135deg, rgba(120, 47, 6, 0.24), rgba(127, 61, 29, 0.14));
  color: #ffceb2;
}

.result-notice-card strong {
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

.result-notice-card span {
  line-height: 1.7;
}

.hub-link-btn,
.hub-inline-link {
  color: var(--brand-3);
  text-decoration: none;
  font-size: 0.92rem;
}

.hub-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 192, 120, 0.16);
  background: rgba(32, 21, 8, 0.56);
}

.hub-inline-link {
  margin-right: 0.75rem;
}

.kuaishou-mvp-main {
  gap: 1.8rem;
}

.hub-hero-compact {
  min-height: auto;
  padding-bottom: 0.5rem;
}

.kuaishou-mvp-main .kuaishou-title {
  max-width: 1280px;
  font-size: clamp(4.2rem, 6.2vw, 7rem);
  line-height: 1.08;
  letter-spacing: -0.07em;
}

.kuaishou-title-line {
  display: block;
  white-space: nowrap;
}

.kuaishou-title-main {
  color: #fff3e7;
  background: none;
  -webkit-text-fill-color: #fff3e7;
}

.kuaishou-title-accent {
  color: transparent;
  background: linear-gradient(90deg, #f4ae68 0%, #ffa43e 46%, #f59c22 92%);
  background-clip: text;
  -webkit-background-clip: text;
}

.mvp-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.8fr);
  gap: 1.25rem;
}

.mvp-card,
.mvp-side-card,
.mvp-table-card {
  background: rgba(32, 21, 8, 0.76);
  border: 1px solid rgba(255, 192, 120, 0.14);
  border-radius: 24px;
  padding: 1.35rem;
  box-shadow: 0 20px 40px rgba(19, 11, 3, 0.28);
}

.mvp-help-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.mvp-upload-form {
  margin-top: 0;
}

.mvp-side-panel {
  display: grid;
  gap: 1rem;
}

.mvp-side-card h3,
.mvp-table-head h3 {
  margin: 0 0 0.6rem;
}

.mvp-side-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  line-height: 1.8;
}

.mvp-summary,
.mvp-tables {
  display: grid;
  gap: 1rem;
}

.mvp-warning-list,
.mvp-info-list {
  display: grid;
  gap: 0.7rem;
}

.mvp-warning-item,
.mvp-info-item,
.mvp-required-box {
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 192, 120, 0.12);
}

.mvp-warning-item {
  background: rgba(120, 47, 6, 0.18);
  color: #ffc3a1;
}

.mvp-info-item,
.mvp-required-box {
  background: rgba(48, 33, 17, 0.72);
  color: #e0ceb9;
}

.mvp-required-box strong {
  color: #fffaf4;
  margin-right: 0.4rem;
}

.mvp-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.mvp-kpi-card {
  padding: 1rem 1.05rem;
  border-radius: 18px;
  background: rgba(36, 24, 10, 0.82);
  border: 1px solid rgba(255, 192, 120, 0.14);
}

.mvp-kpi-card span {
  display: block;
  margin-bottom: 0.45rem;
  color: #c1aa90;
  font-size: 0.84rem;
}

.mvp-kpi-card strong {
  display: block;
  font-size: 1.4rem;
  color: #fffaf4;
}

.mvp-table-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.mvp-table-head span {
  color: #bea78e;
  font-size: 0.88rem;
}

.mvp-table-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media (max-width: 1024px) {
  .mvp-grid,
  .mvp-kpi-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .hub-link-btn {
    padding: 0.6rem 0.8rem;
    font-size: 0.85rem;
  }

  .hub-inline-link {
    display: block;
    margin: 0.7rem 0 0;
  }

  .mvp-card,
  .mvp-side-card,
  .mvp-table-card {
    padding: 1rem;
  }
}

.hero-footnote {
  margin: 0.7rem 0 0;
  color: #bca68d;
  font-size: 0.84rem;
}

.alert {
  margin: 0.95rem 0 1rem;
  padding: 0.72rem 0.88rem;
  border: 1px solid rgba(251, 203, 113, 0.32);
  border-radius: 12px;
  background: var(--danger-bg);
  color: var(--danger-text);
}

.prep-heading {
  margin: 0.4rem 0 0.55rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffbf7e;
}

.prep-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: 0.6rem;
}

.version-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  border: 1px solid rgba(255, 191, 126, 0.28);
  background: rgba(224, 145, 70, 0.08);
  color: #ffefdf;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.form-grid {
  display: grid;
  gap: 0.95rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.platform-picker {
  grid-column: 1 / -1;
  border: 1px solid var(--line);
  border-radius: 20px;
  margin: 0;
  padding: 0.9rem;
  background: rgba(28, 18, 7, 0.65);
}

.platform-picker legend {
  padding: 0 0.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff5ea;
  letter-spacing: 0.04em;
}

.choice-card {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  border: 1px solid rgba(255, 192, 120, 0.14);
  border-radius: 16px;
  padding: 0.8rem 0.82rem;
  margin: 0.5rem 0 0;
  background: rgba(255, 255, 255, 0.02);
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease;
}

.choice-card:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 191, 126, 0.32);
  background: rgba(224, 145, 70, 0.04);
}

.choice-card:has(input:checked) {
  border-color: rgba(255, 191, 126, 0.42);
  background: linear-gradient(135deg, rgba(224, 145, 70, 0.08), rgba(255, 146, 27, 0.06));
  box-shadow: inset 0 0 0 1px rgba(255, 191, 126, 0.08), 0 12px 28px rgba(23, 13, 2, 0.18);
}

.choice-card input {
  margin-top: 0.2rem;
}

.choice-card span {
  display: flex;
  flex-direction: column;
}

.choice-card strong {
  font-size: 0.95rem;
}

.choice-card em {
  font-style: normal;
  color: var(--muted);
  font-size: 0.86rem;
}

label {
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: #fdf4ea;
}

.field-note {
  font-style: normal;
  color: #bca68d;
  font-size: 0.82rem;
  line-height: 1.45;
  font-weight: 500;
}

input[type="file"],
input[type="date"] {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
  padding: 0.72rem 0.8rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

input[type="date"]:focus,
input[type="file"]:focus {
  outline: none;
  border-color: rgba(255, 191, 126, 0.4);
  box-shadow: 0 0 0 3px rgba(224, 145, 70, 0.12);
}

button {
  grid-column: 1 / -1;
  border: none;
  border-radius: 18px;
  padding: 1rem 1.1rem;
  font-size: 1.02rem;
  font-weight: 800;
  font-family: "Space Grotesk", sans-serif;
  color: #1d1103;
  background: linear-gradient(120deg, var(--brand), var(--brand-3) 55%, #ffdbb7);
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease, filter 150ms ease;
}

button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 30px rgba(224, 145, 70, 0.24);
  filter: brightness(1.02);
}

.upload-help-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 0.2rem;
}

.upload-help-card {
  border: 1px solid rgba(255, 192, 120, 0.14);
  border-radius: 16px;
  padding: 0.85rem;
  background: rgba(255, 255, 255, 0.02);
}

.upload-help-card h3 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
}

.upload-help-card p {
  margin: 0 0 0.6rem;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.upload-help-tip {
  color: #dbcab7 !important;
}

.mini-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1px solid rgba(255, 191, 126, 0.28);
  border-radius: 999px;
  padding: 0.45rem 0.78rem;
  color: #ffefdf;
  background: linear-gradient(120deg, rgba(224, 145, 70, 0.12), rgba(255, 146, 27, 0.12));
  font-size: 0.84rem;
  font-weight: 700;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.mini-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(224, 145, 70, 0.18);
}

.note-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 1rem;
}

.note-grid article {
  border: 1px solid rgba(255, 192, 120, 0.14);
  border-radius: 16px;
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.02);
  position: relative;
}

.note-grid article::before {
  content: "";
  position: absolute;
  top: 0.85rem;
  left: 0.8rem;
  width: 38px;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), transparent);
}

.note-grid h3 {
  margin: 0 0 0.4rem;
  padding-top: 0.45rem;
  font-size: 0.93rem;
}

.note-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1rem 0;
}

.btn {
  text-decoration: none;
  border-radius: 14px;
  padding: 0.7rem 0.92rem;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}

.btn-primary {
  background: linear-gradient(120deg, var(--brand), var(--brand-2));
  color: #1d1103;
}

.btn-pdf {
  background: linear-gradient(125deg, #f96616, #fbcb71);
  color: #ffffff;
}

.btn-ghost {
  color: #f5e9db;
  background: rgba(184, 167, 148, 0.14);
  border: 1px solid rgba(184, 167, 148, 0.18);
}

.chart-block {
  margin: 0.2rem 0 1rem;
}

.chart-toolbar {
  display: flex;
  gap: 0.5rem;
  margin: 0.3rem 0 0.75rem;
}

.range-btn {
  border: 1px solid rgba(255, 192, 120, 0.2);
  background: rgba(255, 255, 255, 0.02);
  color: #e6d8c9;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.range-btn.active {
  border-color: rgba(224, 145, 70, 0.32);
  background: rgba(224, 145, 70, 0.14);
  color: var(--brand-3);
}

.chart-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 0.75rem;
}

.chart-wrap {
  height: 380px;
  border: 1px solid rgba(255, 192, 120, 0.14);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 30%),
    rgba(28, 18, 7, 0.82);
  padding: 0.85rem;
}

.chart-wrap-main {
  height: 400px;
}

.chart-wrap-roi {
  height: 400px;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.6rem;
  margin: 0.3rem 0 1rem;
}

.kpi {
  border-radius: 16px;
  border: 1px solid rgba(255, 192, 120, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
  padding: 0.82rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  position: relative;
  overflow: hidden;
}

.kpi::after {
  content: "";
  position: absolute;
  inset: auto -18% -36% auto;
  width: 110px;
  height: 110px;
  background: radial-gradient(circle, rgba(255, 191, 126, 0.1), transparent 70%);
  pointer-events: none;
}

.kpi p {
  margin: 0;
  color: #ffc081;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.kpi strong {
  display: block;
  margin-top: 0.25rem;
  font-size: 1.06rem;
  font-family: "Space Grotesk", sans-serif;
}

.table-block {
  margin-top: 1rem;
  padding-top: 0.15rem;
}

h2 {
  margin: 0;
  font-size: 1.1rem;
  letter-spacing: 0.01em;
}

.meta {
  margin: 0.35rem 0 0.62rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.table-wrap {
  overflow: auto;
  border: 1px solid rgba(255, 192, 120, 0.14);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 20%),
    rgba(28, 18, 7, 0.82);
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.table th,
.table td {
  padding: 0.46rem 0.54rem;
  border-bottom: 1px solid rgba(255, 192, 120, 0.08);
  white-space: nowrap;
}

.table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: rgba(224, 145, 70, 0.1);
  text-align: left;
}

.table tbody tr:nth-child(2n) {
  background: rgba(255, 255, 255, 0.02);
}

.pnl-profit {
  color: #dc6226;
  font-weight: 700;
}

.pnl-loss {
  color: #804615;
  font-weight: 700;
}

.pnl-flat {
  color: #f5e9db;
  font-weight: 600;
}

code {
  color: #ffc58c;
  background: rgba(224, 145, 70, 0.08);
  padding: 0.08rem 0.3rem;
  border-radius: 8px;
}

.footer-brand {
  margin-top: 1.15rem;
  text-align: center;
  opacity: 0.92;
}

@keyframes pulse-signal {
  0% {
    box-shadow: 0 0 0 0 rgba(224, 145, 70, 0.55);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(224, 145, 70, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(224, 145, 70, 0);
  }
}

@media (max-width: 880px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

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

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

  .upload-help-grid {
    grid-template-columns: 1fr;
  }

  .console-ribbon {
    padding: 0.65rem 0.7rem;
  }

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

  .chart-wrap {
    height: 300px;
  }

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

  .chart-wrap-main,
  .chart-wrap-roi {
    height: 280px;
  }
}

@media print {
  @page {
    size: A4 landscape;
    margin: 8mm;
  }

  * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  body {
    background: #ffffff !important;
    color: #271d11 !important;
    font-family: "Noto Sans SC", sans-serif !important;
  }

  .page {
    width: 100%;
    margin: 0;
  }

  .panel {
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0;
    background: #ffffff !important;
  }

  .actions {
    display: none !important;
  }

  .build-meta {
    margin-bottom: 2mm;
    font-size: 8pt;
    color: #695947 !important;
    text-align: right;
    word-break: break-word;
  }

  .console-ribbon,
  .hero-kicker-row,
  .result-brandline,
  .hero-head,
  .kpi-grid,
  .chart-block,
  .table-block,
  .footer-brand,
  .badge,
  .brand-stamp,
  .hero-meta-grid,
  .hero-footnote,
  .btn,
  .range-btn,
  .signal-live i,
  .kpi::after,
  body::before,
  body::after,
  .panel::before,
  .panel::after {
    all: unset;
  }

  .console-ribbon,
  .hero-kicker-row,
  .result-brandline,
  .hero-meta-grid,
  .hero-footnote,
  .footer-brand {
    display: none !important;
  }

  .trial-gate-backdrop {
    display: none !important;
  }

  .hero-head {
    padding-bottom: 0;
    margin-bottom: 3mm;
    border: none;
  }

  h1 {
    font-size: 24pt;
    margin: 1mm 0 2mm;
    color: #2a1d0f !important;
    text-shadow: none !important;
    font-family: "Noto Sans SC", sans-serif !important;
  }

  .subtitle,
  .meta {
    font-size: 9pt;
    color: #695947 !important;
    line-height: 1.45;
  }

  .result-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3mm;
    margin: 3mm 0;
  }

  .result-meta-grid article {
    padding: 2.4mm 2.8mm;
    border: 1px solid #eae1d7;
    border-radius: 8px;
    background: #fffcf8 !important;
  }

  .result-meta-grid span {
    display: block;
    margin-bottom: 0.8mm;
    color: #8b7964 !important;
    font-size: 7.5pt;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }

  .result-meta-grid strong {
    color: #2a1d0f !important;
    font-size: 9.2pt;
    line-height: 1.45;
  }

  .chart-toolbar {
    display: none !important;
  }

  .kpi-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 2.5mm;
    margin: 0 0 4mm;
  }

  .kpi {
    min-height: auto;
    padding: 2.4mm;
    border: 1px solid #e1d7cb !important;
    border-radius: 8px;
    background: linear-gradient(180deg, #ffffff, #fffcf8) !important;
    box-shadow: none !important;
  }

  .kpi p {
    font-size: 8pt;
    color: #695947 !important;
    text-transform: none;
    letter-spacing: 0;
  }

  .kpi strong {
    font-size: 12.5pt;
    color: #2a1d0f !important;
  }

  .alert,
  .result-notice-card {
    display: grid;
    gap: 1mm;
    margin: 0 0 4mm;
    padding: 2.6mm 3mm;
    border: 1px solid #e2aa8a !important;
    border-radius: 8px;
    background: #fff2eb !important;
    color: #7c2f03 !important;
  }

  .result-notice-card strong,
  .alert strong {
    color: #7c2f03 !important;
    font-size: 8pt;
  }

  .result-notice-card span,
  .alert span,
  .alert {
    font-size: 8.5pt;
    line-height: 1.6;
  }

  .chart-grid {
    grid-template-columns: 2fr 1fr;
    gap: 3mm;
  }

  .chart-wrap {
    break-inside: avoid;
    background: #ffffff !important;
    border: 1px solid #e1d7cb !important;
    border-radius: 8px;
    padding: 2mm;
    height: 84mm;
  }

  .chart-wrap-main {
    height: 88mm;
  }

  .chart-wrap-roi {
    height: 88mm;
  }

  .table-block {
    break-inside: auto;
    margin-top: 4mm;
    page-break-inside: auto;
  }

  .table-wrap {
    overflow: visible !important;
    border: none !important;
    background: transparent !important;
    border-radius: 0;
  }

  .table {
    width: 100%;
    table-layout: auto;
    font-size: 7.5pt;
    border-collapse: collapse;
  }

  .table thead {
    display: table-header-group;
  }

  .table tbody {
    display: table-row-group;
  }

  .table tr {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .table th,
  .table td {
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
    padding: 1.2mm 1.4mm;
    font-size: 7.5pt;
    color: #271d11 !important;
    border: 1px solid #eae3db;
    background: #ffffff !important;
  }

  .table thead th {
    position: static;
    background: #f7f3ee !important;
    color: #2a1d0f !important;
  }

  h2 {
    font-size: 12pt;
    margin-bottom: 1mm;
    color: #2a1d0f !important;
  }

  .footer-brand {
    margin-top: 4mm;
    display: block !important;
    text-align: left;
    color: #8b7964 !important;
    font-size: 8pt;
  }

code {
  background: transparent !important;
  color: #2a1d0f !important;
  padding: 0;
  border-radius: 0;
}
}

.panel-calculator {
  display: grid;
  gap: 1.15rem;
}

.actions-tight {
  margin-top: 0.15rem;
}

.calc-section {
  border: 1px solid rgba(255, 192, 120, 0.14);
  border-radius: 22px;
  padding: 1rem;
  background: rgba(28, 18, 7, 0.58);
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 0.85rem;
}

.section-head h2 {
  margin: 0;
  font-size: 1.05rem;
}

.calc-input-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.calc-input-grid-1 {
  grid-template-columns: minmax(0, 280px);
}

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

.calc-input-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.calc-input-grid label,
.wide-field {
  display: grid;
  gap: 0.38rem;
}

.calc-input-grid label > span,
.wide-field > span,
.radio-stack legend {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff7ef;
}

.calc-input-grid input,
.wide-field input {
  width: 100%;
  border: 1px solid rgba(255, 192, 120, 0.18);
  border-radius: 14px;
  background: rgba(36, 24, 10, 0.94);
  color: #fff7ee;
  padding: 0.85rem 0.9rem;
  font: inherit;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.calc-input-grid input:focus,
.wide-field input:focus {
  border-color: rgba(255, 191, 126, 0.48);
  box-shadow: 0 0 0 3px rgba(224, 145, 70, 0.12);
}

.percent-input {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.55rem;
}

.percent-input b {
  color: #ffc88f;
  font-size: 0.96rem;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

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

.result-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.result-card {
  border: 1px solid rgba(255, 192, 120, 0.14);
  border-radius: 18px;
  padding: 0.95rem 1rem;
  background: rgba(39, 26, 12, 0.88);
  min-height: 128px;
  display: grid;
  align-content: start;
  gap: 0.3rem;
}

.result-card p {
  margin: 0;
  font-size: 0.82rem;
  color: #c1a587;
}

.result-card strong {
  font-size: 1.5rem;
  line-height: 1.08;
  color: #fffbf6;
}

.result-card em {
  font-style: normal;
  font-size: 0.8rem;
  color: #c4af98;
}

.tone-danger {
  border-color: rgba(251, 203, 113, 0.35);
  background: linear-gradient(180deg, rgba(127, 61, 29, 0.2), rgba(39, 26, 12, 0.9));
}

.tone-warn {
  border-color: rgba(245, 96, 11, 0.35);
  background: linear-gradient(180deg, rgba(120, 52, 15, 0.18), rgba(39, 26, 12, 0.9));
}

.tone-success {
  border-color: rgba(211, 128, 52, 0.35);
  background: linear-gradient(180deg, rgba(95, 49, 6, 0.2), rgba(39, 26, 12, 0.9));
}

.calc-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.calc-tab,
.submode-btn {
  border: 1px solid rgba(255, 192, 120, 0.16);
  border-radius: 999px;
  background: rgba(43, 30, 15, 0.88);
  color: #dbcab7;
  padding: 0.6rem 1rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.calc-tab:hover,
.submode-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 191, 126, 0.28);
}

.calc-tab.is-active,
.submode-btn.is-active {
  background: rgba(224, 145, 70, 0.12);
  color: #fff7ef;
  border-color: rgba(255, 191, 126, 0.34);
}

.calc-panel {
  display: none;
}

.calc-panel.is-active,
.submode-panel.is-active {
  display: block;
}

.calc-panel-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(280px, 0.9fr);
  gap: 1rem;
}

.calc-panel-main,
.calc-panel-side {
  display: grid;
  gap: 0.9rem;
  align-content: start;
}

.formula-box {
  border: 1px solid rgba(255, 192, 120, 0.16);
  border-radius: 18px;
  background: rgba(34, 22, 9, 0.72);
  padding: 0.85rem 0.95rem;
}

.formula-box summary {
  cursor: pointer;
  font-weight: 700;
  color: #fff7ef;
  list-style: none;
}

.formula-box summary::-webkit-details-marker {
  display: none;
}

.formula-box p {
  margin: 0.7rem 0 0;
  color: #c9b59f;
  line-height: 1.6;
}

.calc-alert {
  border-radius: 16px;
  padding: 0.9rem 1rem;
  font-size: 0.92rem;
  line-height: 1.65;
}

.calc-alert-danger {
  border: 1px solid rgba(251, 203, 113, 0.32);
  background: rgba(127, 61, 29, 0.18);
  color: #fff1d6;
}

.calc-alert-warn {
  border: 1px solid rgba(245, 96, 11, 0.32);
  background: rgba(120, 52, 15, 0.18);
  color: #fdc7a7;
}

.calc-alert-success {
  border: 1px solid rgba(211, 128, 52, 0.28);
  background: rgba(95, 49, 6, 0.18);
  color: #ffe7d0;
}

.submode-switch,
.table-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.table-wrap-tight {
  max-height: 420px;
}

.chart-wrap-compact {
  height: 280px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.25rem 0.6rem;
  font-size: 0.78rem;
  font-weight: 700;
}

.status-danger {
  background: rgba(127, 61, 29, 0.2);
  color: #ffecca;
}

.status-warn {
  background: rgba(120, 52, 15, 0.2);
  color: #fdc7a7;
}

.status-success {
  background: rgba(95, 49, 6, 0.2);
  color: #ffe4cb;
}

.radio-stack {
  border: 1px solid rgba(255, 192, 120, 0.16);
  border-radius: 16px;
  padding: 0.8rem 0.9rem;
  margin: 0;
  display: grid;
  gap: 0.55rem;
}

.radio-stack label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #f7eadb;
}

.radio-stack input {
  width: auto;
  margin: 0;
}

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

.narrative-box {
  border: 1px solid rgba(255, 192, 120, 0.16);
  border-radius: 18px;
  padding: 1rem 1.05rem;
  background: rgba(36, 24, 10, 0.86);
  color: #fff7ef;
  line-height: 1.75;
  font-size: 0.96rem;
}

.narrative-box p {
  margin: 0;
}

.btn-small {
  padding: 0.52rem 0.9rem;
  font-size: 0.85rem;
}

.module-link-row {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.module-link-card {
  display: grid;
  gap: 0.28rem;
  border: 1px solid rgba(255, 192, 120, 0.16);
  border-radius: 18px;
  padding: 1rem 1.05rem;
  background: rgba(34, 22, 9, 0.72);
  color: #fff5ea;
  text-decoration: none;
}

.module-link-card span {
  color: #ffc68c;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.module-link-card strong {
  font-size: 1.12rem;
}

.module-link-card em {
  font-style: normal;
  color: #cab195;
}

.account-status-strip {
  margin-top: 1rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(255, 192, 120, 0.16);
  border-radius: 18px;
  background: rgba(31, 20, 8, 0.68);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.account-status-strip span {
  display: block;
  color: #c8ad8e;
  font-size: 0.82rem;
}

.account-status-strip strong {
  color: #fff5ea;
  font-size: 1rem;
}

.account-status-actions {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.module-link-card-secondary {
  background: rgba(40, 25, 8, 0.82);
}

.page-auth {
  background:
    radial-gradient(circle at top left, rgba(255, 178, 98, 0.14), transparent 30%),
    radial-gradient(circle at bottom right, rgba(255, 159, 55, 0.1), transparent 28%),
    linear-gradient(180deg, #1d1308 0%, #271a0b 100%);
}

.panel-auth {
  width: min(1180px, calc(100vw - 2rem));
  padding: 1.25rem;
}

.auth-hero {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.25fr 0.9fr;
  margin-top: 1rem;
}

.auth-hint-card,
.account-card,
.auth-card {
  border: 1px solid rgba(255, 192, 120, 0.16);
  border-radius: 20px;
  background: rgba(34, 23, 10, 0.84);
  box-shadow: 0 18px 42px rgba(18, 10, 2, 0.34);
}

.auth-hint-card {
  padding: 1rem;
  display: grid;
  gap: 0.45rem;
  align-content: start;
}

.auth-hint-card span,
.account-card span {
  color: #c8ad8e;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.auth-hint-card strong,
.account-card strong {
  font-size: 1.08rem;
  color: #fff9f3;
}

.auth-hint-card p,
.account-card p,
.account-copy {
  margin: 0;
  color: #c9b298;
  line-height: 1.7;
}

.auth-helper {
  margin: 0;
  color: #c8ad8e;
  font-size: 0.85rem;
  line-height: 1.6;
}

.auth-grid,
.account-status-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1rem;
}

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

.auth-card,
.account-card {
  padding: 1rem;
}

.auth-form {
  display: grid;
  gap: 0.8rem;
}

.auth-form label {
  display: grid;
  gap: 0.45rem;
}

.auth-form input {
  border-radius: 12px;
  border: 1px solid rgba(255, 192, 120, 0.16);
  background: rgba(24, 16, 6, 0.9);
  color: #fff5ea;
  padding: 0.82rem 0.92rem;
}

.auth-form button {
  width: fit-content;
}

.remember-row {
  display: flex !important;
  align-items: center;
  gap: 0.55rem;
  color: #cfb89e;
}

.remember-row input {
  width: auto;
  margin: 0;
  padding: 0;
}

.alert {
  border-radius: 14px;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(255, 192, 120, 0.16);
  margin: 0.8rem 0;
}

.alert-success {
  background: rgba(75, 41, 10, 0.28);
  color: #ffe4cb;
}

.alert-error {
  background: rgba(96, 69, 19, 0.28);
  color: #fff1d6;
}

.account-card {
  padding: 1rem;
  display: grid;
  gap: 0.45rem;
}

.page-admin {
  background:
    radial-gradient(circle at top left, rgba(255, 184, 110, 0.14), transparent 32%),
    radial-gradient(circle at bottom right, rgba(255, 164, 65, 0.11), transparent 28%),
    linear-gradient(180deg, #1d1308 0%, #271a0c 100%);
}

.panel-admin {
  width: min(1280px, calc(100vw - 2.2rem));
  padding: 1.3rem;
}

.admin-topbar,
.admin-auth-card {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.3fr 0.9fr;
  align-items: start;
}

.admin-actions {
  display: flex;
  gap: 0.7rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.admin-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1rem 0;
}

.admin-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 192, 120, 0.16);
  color: #ffe8cf;
  text-decoration: none;
  background: rgba(40, 26, 10, 0.7);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 192, 120, 0.18);
  color: #fff3e6;
  text-decoration: none;
  background: rgba(38, 26, 12, 0.78);
}

.admin-auth-card,
.admin-card {
  border: 1px solid rgba(255, 192, 120, 0.16);
  border-radius: 22px;
  background: rgba(34, 23, 10, 0.84);
  box-shadow: 0 18px 42px rgba(18, 10, 2, 0.34);
}

.admin-auth-card {
  margin-top: 1rem;
  padding: 1.2rem;
}

.admin-auth-copy {
  display: grid;
  gap: 0.8rem;
}

.admin-auth-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  width: fit-content;
  padding: 0.7rem 0.9rem;
  border-radius: 14px;
  background: rgba(40, 26, 10, 0.92);
  border: 1px solid rgba(255, 192, 120, 0.16);
}

.admin-auth-hint span {
  color: #c8ad8e;
  font-size: 0.82rem;
}

.admin-auth-form {
  display: grid;
  gap: 0.8rem;
}

.admin-auth-form label,
.admin-form-grid label {
  display: grid;
  gap: 0.45rem;
}

.admin-auth-form input,
.admin-form-grid input {
  border-radius: 12px;
  border: 1px solid rgba(255, 192, 120, 0.16);
  background: rgba(24, 16, 6, 0.9);
  color: #fff5ea;
  padding: 0.82rem 0.92rem;
}

.flash-list {
  display: grid;
  gap: 0.6rem;
  margin: 1rem 0;
}

.trial-gate-backdrop {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(18, 10, 2, 0.72);
  backdrop-filter: blur(10px);
}

.trial-gate-modal {
  width: min(920px, 100%);
  border: 1px solid rgba(255, 192, 120, 0.2);
  border-radius: 24px;
  background: rgba(30, 20, 9, 0.96);
  box-shadow: 0 32px 80px rgba(18, 10, 2, 0.48);
  padding: 1.4rem;
}

.trial-gate-head {
  display: grid;
  gap: 0.55rem;
}

.trial-gate-head h2 {
  margin: 0;
  font-size: 1.8rem;
}

.trial-gate-copy {
  margin: 0;
  color: #cfb89e;
  line-height: 1.7;
}

.trial-gate-grid {
  margin-top: 1rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.trial-gate-contact,
.trial-gate-form {
  border: 1px solid rgba(255, 192, 120, 0.16);
  border-radius: 20px;
  background: rgba(24, 16, 6, 0.8);
  padding: 1rem;
}

.trial-gate-contact h3 {
  margin: 0 0 0.85rem;
  font-size: 1rem;
}

.trial-gate-qr {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(255, 192, 120, 0.16);
  background: #22170a;
}

.trial-gate-qr-placeholder {
  display: grid;
  place-items: center;
  color: #c8ad8e;
  font-size: 0.95rem;
}

.trial-gate-contact-text {
  margin: 0.85rem 0 0;
  color: #cfb89e;
  line-height: 1.7;
}

.trial-gate-form {
  display: grid;
  align-content: start;
  gap: 0.8rem;
}

.trial-gate-login-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  color: #d0b597;
  font-size: 0.92rem;
}

.trial-gate-login-row a,
.trial-gate-login-button {
  color: #ffd09f;
  text-decoration: none;
  font-weight: 700;
}

.trial-gate-form label {
  display: grid;
  gap: 0.45rem;
}

.trial-gate-form input {
  border-radius: 12px;
  border: 1px solid rgba(255, 192, 120, 0.16);
  background: rgba(24, 16, 6, 0.9);
  color: #fff5ea;
  padding: 0.82rem 0.92rem;
}

.trial-gate-form button {
  width: fit-content;
}

.trial-gate-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.trial-gate-login-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 192, 120, 0.18);
  background: rgba(38, 25, 11, 0.78);
}

.trial-gate-tip {
  margin: 0;
  color: #c8ad8e;
  font-size: 0.88rem;
  line-height: 1.6;
}

.boss-toolbar-link {
  display: inline-flex;
  text-decoration: none;
}

@media (max-width: 860px) {
  .trial-gate-grid {
    grid-template-columns: 1fr;
  }
}

.admin-summary-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1rem;
}

.admin-summary-grid-tight {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-card {
  padding: 1rem;
}

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.section-heading h2 {
  margin: 0;
  font-size: 1.05rem;
}

.section-heading span {
  color: #c8ad8e;
  font-size: 0.88rem;
}

.admin-table-wrap {
  overflow: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.admin-table th,
.admin-table td {
  padding: 0.78rem 0.72rem;
  border-bottom: 1px solid rgba(255, 192, 120, 0.12);
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  color: #ffe0bf;
  font-weight: 700;
}

.admin-table td {
  color: #fff5ea;
}

.table-link {
  color: #ffc88f;
  text-decoration: none;
}

.table-link:hover {
  text-decoration: underline;
}

.status-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.24rem 0.55rem;
  border-radius: 999px;
  font-size: 0.78rem;
  border: 1px solid rgba(255, 192, 120, 0.16);
}

.status-tag-trial {
  background: rgba(255, 171, 82, 0.16);
  color: #ffe4c8;
}

.status-tag-active {
  background: rgba(173, 104, 41, 0.18);
  color: #ffe2c7;
}

.status-tag-expired {
  background: rgba(211, 166, 83, 0.16);
  color: #ffefd2;
}

.status-tag-new {
  background: rgba(255, 171, 82, 0.16);
  color: #ffe4c8;
}

.status-tag-replied {
  background: rgba(173, 104, 41, 0.18);
  color: #ffe2c7;
}

.status-tag-unused {
  background: rgba(255, 171, 82, 0.16);
  color: #ffe4c8;
}

.status-tag-used {
  background: rgba(173, 104, 41, 0.18);
  color: #ffe2c7;
}

.admin-table-wide {
  table-layout: fixed;
}

.mono-cell {
  font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
  word-break: break-all;
}

.truncate-cell {
  max-width: 280px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.table-empty {
  color: #c8ae92;
  text-align: center;
  padding: 1.2rem 0.72rem;
}

.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.admin-form-grid-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.admin-form-span {
  grid-column: 1 / -1;
}

.admin-form-grid button,
.admin-auth-form button {
  width: fit-content;
  padding: 0.8rem 1.15rem;
}

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

.admin-muted {
  margin: 0;
  color: #cfb89e;
  line-height: 1.7;
}

.admin-plan-list {
  display: grid;
  gap: 0.75rem;
}

.admin-plan-list p {
  margin: 0;
  display: grid;
  gap: 0.25rem;
  padding: 0.85rem;
  border: 1px solid rgba(255, 192, 120, 0.12);
  border-radius: 14px;
  background: rgba(24, 16, 6, 0.56);
}

.admin-plan-list span {
  color: #cfb89e;
  line-height: 1.6;
}

@media (max-width: 1120px) {
  .calc-input-grid,
  .metric-grid,
  .metric-grid-5,
  .result-card-grid,
  .calc-input-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .calc-panel-grid {
    grid-template-columns: 1fr;
  }

  .admin-topbar,
  .admin-auth-card,
  .admin-summary-grid,
  .admin-summary-grid-tight,
  .admin-form-grid,
  .metric-grid-6,
  .module-link-row,
  .auth-hero,
  .auth-grid,
  .account-status-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .calc-input-grid,
  .calc-input-grid-1,
  .calc-input-grid-2,
  .calc-input-grid-3,
  .metric-grid,
  .metric-grid-5,
  .result-card-grid {
    grid-template-columns: 1fr;
  }

  .calc-section {
    padding: 0.85rem;
  }

  .calc-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .calc-tab,
  .submode-btn {
    width: 100%;
    text-align: center;
  }

  .panel-admin {
    width: min(100vw - 1.2rem, 1280px);
    padding: 1rem;
  }

  .admin-topbar,
  .admin-auth-card,
  .admin-summary-grid,
  .admin-summary-grid-tight,
  .admin-form-grid,
  .metric-grid-6,
  .module-link-row,
  .auth-hero,
  .auth-grid,
  .account-status-grid {
    grid-template-columns: 1fr;
  }

  .truncate-cell {
    max-width: 160px;
  }

  .panel-auth {
    width: min(100vw - 1.2rem, 1180px);
    padding: 1rem;
  }
}

/* ROI calculator V2: decision-first workbench */
body.roi-console-page {
  min-height: 100vh;
  margin: 0;
  color: #fffaf4;
  font-family: "Noto Sans SC", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 10% 18%, rgba(255, 142, 26, 0.14), transparent 28rem),
    radial-gradient(circle at 84% 8%, rgba(255, 178, 78, 0.18), transparent 33rem),
    linear-gradient(180deg, #1f1407 0%, #160f07 48%, #1f1408 100%);
}

body.roi-console-page .ai-guide {
  display: none;
}

.roi-console-page * {
  box-sizing: border-box;
}

.roi-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.2rem;
  min-height: 4.5rem;
  padding: 0 2.2rem;
  border-bottom: 1px solid rgba(186, 143, 95, 0.16);
  background: rgba(22, 14, 5, 0.88);
  backdrop-filter: blur(18px);
}

.roi-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  color: #fff9f3;
  text-decoration: none;
}

.roi-brand span {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 10px;
  background: linear-gradient(135deg, #ffaa52, #ffb557);
  color: #1f1306;
  font-weight: 900;
}

.roi-brand strong {
  font-size: 1rem;
}

.roi-brand em {
  color: #bfac96;
  font-style: normal;
  font-size: 0.9rem;
}

.roi-nav {
  display: flex;
  justify-content: center;
  gap: 1.8rem;
  min-width: 0;
}

.roi-nav a {
  position: relative;
  color: #d0c0ae;
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
}

.roi-nav a.is-active,
.roi-nav a:hover {
  color: #ffb162;
}

.roi-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1.35rem;
  height: 2px;
  border-radius: 999px;
  background: #ffb162;
}

.roi-user-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.35rem;
  border: 1px solid rgba(186, 142, 94, 0.22);
  border-radius: 999px;
  padding: 0 0.9rem;
  background: rgba(38, 25, 11, 0.82);
  color: #faead9;
  font-weight: 700;
  white-space: nowrap;
}

.roi-user-chip i {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: #f09e55;
  box-shadow: 0 0 18px rgba(240, 158, 85, 0.75);
}

.roi-page {
  position: relative;
  width: min(100vw - 2.2rem, 1760px);
  margin: 0 auto;
  padding: 2rem 0 4rem;
}

.roi-hero {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1rem;
}

.roi-kicker {
  margin: 0 0 0.5rem;
  color: #ffae5b;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.roi-hero h1 {
  margin: 0;
  font-size: clamp(3.1rem, 7vw, 6.2rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.roi-hero p {
  margin: 0.8rem 0 0;
  max-width: 43rem;
  color: #c7b49f;
  font-size: 1.08rem;
  line-height: 1.7;
}

.roi-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
}

.roi-primary-action,
.roi-secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.05rem;
  border-radius: 14px;
  padding: 0 1.2rem;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.roi-primary-action {
  border: 0;
  background: linear-gradient(90deg, #ffab55, #ffb961);
  color: #1f1306;
  box-shadow: 0 16px 40px rgba(255, 167, 74, 0.22);
}

.roi-primary-action:disabled {
  cursor: wait;
  opacity: 0.72;
}

.roi-secondary-action {
  border: 1px solid rgba(205, 158, 106, 0.24);
  background: rgba(39, 26, 11, 0.72);
  color: #fff4e7;
}

.roi-workbench {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(520px, 1.45fr) minmax(300px, 0.78fr);
  gap: 1rem;
  align-items: stretch;
}

.roi-params-card,
.roi-decision-card,
.roi-history-card,
.roi-result-card,
.roi-formula-card,
.roi-narrative-panel,
.roi-mobile-preview {
  border: 1px solid rgba(184, 140, 91, 0.2);
  background:
    linear-gradient(180deg, rgba(50, 33, 15, 0.86), rgba(30, 20, 8, 0.9)),
    radial-gradient(circle at top right, rgba(255, 170, 82, 0.08), transparent 32%);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.roi-params-card,
.roi-decision-card,
.roi-history-card {
  border-radius: 26px;
  padding: 1rem;
}

.roi-card-head {
  display: grid;
  gap: 0.25rem;
  margin-bottom: 0.9rem;
}

.roi-card-head span,
.roi-small-title {
  color: #ffb161;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.roi-card-head strong {
  font-size: 1.25rem;
}

.roi-card-head p {
  margin: 0;
  color: #bda891;
  line-height: 1.55;
  font-size: 0.9rem;
}

.roi-input-grid {
  display: grid;
  gap: 0.72rem;
}

.roi-input-grid label,
.roi-single-input label {
  position: relative;
  display: grid;
  gap: 0.35rem;
}

.roi-input-grid label span,
.roi-single-input label span {
  color: #f7e9d9;
  font-size: 0.88rem;
  font-weight: 800;
}

.roi-input-grid input,
.roi-single-input input,
.calc-input-grid input,
.wide-field input {
  min-height: 2.85rem;
  border: 1px solid rgba(207, 161, 111, 0.22);
  border-radius: 13px;
  background: rgba(25, 16, 6, 0.9);
  color: #fffbf7;
  padding: 0.72rem 2.55rem 0.72rem 0.82rem;
  font: inherit;
  font-weight: 800;
  outline: none;
}

.roi-input-grid input:focus,
.roi-single-input input:focus,
.calc-input-grid input:focus,
.wide-field input:focus {
  border-color: rgba(255, 175, 94, 0.58);
  box-shadow: 0 0 0 3px rgba(255, 163, 69, 0.12);
}

.roi-input-grid em {
  position: absolute;
  right: 0.82rem;
  bottom: 0.82rem;
  color: #ffbc77;
  font-style: normal;
  font-size: 0.86rem;
  font-weight: 800;
}

.roi-derived-block {
  display: grid;
  gap: 0.65rem;
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(201, 155, 105, 0.16);
}

.roi-derived-block .metric-grid-5 {
  grid-template-columns: 1fr;
  gap: 0.55rem;
}

.roi-derived-block .result-card {
  min-height: 0;
  border-radius: 14px;
  padding: 0.72rem 0.8rem;
}

.roi-derived-block .result-card strong {
  font-size: 1.05rem;
}

.roi-decision-card {
  display: grid;
  align-content: start;
  gap: 1rem;
  min-height: 100%;
  background:
    radial-gradient(circle at 88% 16%, rgba(255, 179, 84, 0.2), transparent 34%),
    linear-gradient(135deg, rgba(43, 27, 10, 0.96), rgba(39, 26, 11, 0.96));
}

.roi-decision-card.tone-success {
  border-color: rgba(229, 150, 78, 0.34);
}

.roi-decision-card.tone-warn {
  border-color: rgba(250, 150, 92, 0.36);
}

.roi-decision-card.tone-danger {
  border-color: rgba(255, 203, 108, 0.36);
}

.roi-decision-main {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(250px, 0.85fr);
  gap: 1rem;
  align-items: stretch;
}

.roi-decision-main h2 {
  margin: 0;
  font-size: clamp(2.4rem, 4.7vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.roi-decision-main p {
  margin: 0.75rem 0 0;
  color: #d0bea9;
  line-height: 1.72;
}

.roi-limit-meter {
  display: grid;
  align-content: center;
  gap: 0.45rem;
  border-radius: 22px;
  border: 1px solid rgba(208, 163, 113, 0.2);
  padding: 1.1rem;
  background: rgba(24, 15, 5, 0.64);
}

.roi-limit-meter span,
.roi-limit-meter em {
  color: #cdb79f;
  font-style: normal;
  font-weight: 700;
}

.roi-limit-meter strong {
  color: #ffb365;
  font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
  font-size: clamp(2.1rem, 3.8vw, 4rem);
  line-height: 1;
}

.roi-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.72rem;
}

.roi-kpi {
  display: grid;
  gap: 0.3rem;
  min-height: 6.1rem;
  border: 1px solid rgba(197, 152, 102, 0.18);
  border-radius: 18px;
  padding: 0.8rem;
  background: rgba(29, 19, 7, 0.68);
}

.roi-kpi span {
  color: #bfa88f;
  font-size: 0.82rem;
  font-weight: 700;
}

.roi-kpi strong {
  color: #fffaf5;
  font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
  font-size: 1.45rem;
  line-height: 1.05;
}

.roi-kpi em {
  color: #bfa88f;
  font-style: normal;
  font-size: 0.78rem;
}

.roi-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.roi-tabs .calc-tab,
.submode-btn {
  min-height: 2.45rem;
  border-radius: 999px;
  border: 1px solid rgba(197, 152, 103, 0.22);
  background: rgba(30, 19, 7, 0.74);
  color: #e7d6c3;
  padding: 0 0.9rem;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 900;
  cursor: pointer;
}

.roi-tabs .calc-tab.is-active,
.submode-btn.is-active {
  border-color: rgba(255, 172, 88, 0.46);
  background: linear-gradient(90deg, rgba(255, 167, 77, 0.9), rgba(255, 183, 92, 0.88));
  color: #1f1306;
}

.roi-save-status {
  margin-bottom: 0.8rem;
  border-radius: 16px;
  padding: 0.75rem 0.82rem;
  background: rgba(30, 20, 8, 0.78);
  color: #ceb89f;
  font-size: 0.9rem;
  line-height: 1.55;
}

.roi-save-status[data-tone="success"] {
  color: #ffcd9f;
  background: rgba(96, 53, 13, 0.2);
}

.roi-save-status[data-tone="warn"],
.roi-save-status[data-tone="pending"] {
  color: #ffc7a7;
  background: rgba(126, 57, 18, 0.2);
}

.roi-save-status[data-tone="danger"] {
  color: #ffebc5;
  background: rgba(127, 61, 29, 0.2);
}

.roi-history-list {
  display: grid;
  gap: 0.65rem;
  max-height: 31rem;
  overflow: auto;
  padding-right: 0.1rem;
}

.roi-history-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  border-radius: 18px;
  border: 1px solid rgba(192, 147, 97, 0.18);
  padding: 0.82rem;
  background: rgba(25, 16, 6, 0.68);
}

.roi-history-item span {
  display: block;
  margin-bottom: 0.22rem;
  color: #ad977f;
  font-size: 0.76rem;
}

.roi-history-item strong {
  display: block;
  color: #fff6ec;
}

.roi-history-item p {
  margin: 0.25rem 0 0;
  color: #c9b59f;
  line-height: 1.45;
  font-size: 0.84rem;
}

.roi-history-reuse {
  border: 1px solid rgba(255, 174, 91, 0.34);
  border-radius: 12px;
  background: rgba(255, 156, 54, 0.12);
  color: #ffb973;
  padding: 0.46rem 0.65rem;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.roi-history-empty {
  border-radius: 18px;
  border: 1px dashed rgba(197, 152, 103, 0.24);
  padding: 1rem;
  color: #c0aa91;
  line-height: 1.6;
  text-align: center;
}

.roi-panels {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
  max-width: calc(100% - 24rem);
}

.roi-result-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.72fr);
  gap: 1rem;
}

.roi-result-card,
.roi-formula-card,
.roi-narrative-panel {
  border-radius: 24px;
  padding: 1rem;
}

.roi-result-card h2,
.roi-formula-card h3,
.roi-narrative-panel h2 {
  margin: 0;
  font-size: 1.25rem;
}

.roi-result-card > p,
.roi-narrative-panel > div > p {
  margin: 0.35rem 0 1rem;
  color: #c0aa91;
  line-height: 1.65;
}

.roi-result-card .result-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.roi-result-card .result-card {
  min-height: 7.5rem;
}

.roi-formula-card {
  display: grid;
  align-content: start;
  gap: 0.75rem;
}

.roi-formula-card p {
  margin: 0;
  color: #ccb79f;
  line-height: 1.65;
}

.roi-formula-card code {
  color: #ffc387;
  background: rgba(255, 156, 54, 0.08) !important;
  border-radius: 8px;
  padding: 0.12rem 0.35rem;
}

.roi-single-input {
  max-width: 22rem;
  margin-bottom: 0.9rem;
}

.roi-narrative-panel {
  display: grid;
  grid-template-columns: minmax(230px, 0.34fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
}

.roi-narrative-panel .narrative-box {
  border-radius: 18px;
}

.roi-mobile-preview {
  position: fixed;
  right: max(1rem, calc((100vw - 1760px) / 2));
  bottom: 1.5rem;
  width: 20.5rem;
  border-radius: 30px;
  padding: 1rem;
}

.roi-phone {
  border: 1px solid rgba(222, 189, 153, 0.24);
  border-radius: 34px;
  padding: 1rem;
  background: #1d1307;
  box-shadow: inset 0 0 0 0.55rem rgba(255, 255, 255, 0.03);
}

.roi-phone-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.5rem;
  color: #fff4e8;
  font-size: 0.78rem;
  font-weight: 800;
}

.roi-phone-top span:last-child {
  text-align: right;
  color: #ffb366;
}

.roi-phone-card,
.roi-phone-grid span,
.roi-phone-list {
  border: 1px solid rgba(188, 143, 93, 0.2);
  border-radius: 18px;
  background: rgba(49, 32, 14, 0.78);
}

.roi-phone-card {
  margin-top: 1rem;
  padding: 1rem;
}

.roi-phone-card p,
.roi-phone-list p {
  margin: 0;
  color: #c0ab93;
  font-size: 0.78rem;
}

.roi-phone-card strong {
  display: block;
  margin-top: 0.25rem;
  font-size: 1.7rem;
}

.roi-phone-card span {
  display: block;
  margin-top: 0.45rem;
  color: #ffb263;
  font-weight: 900;
}

.roi-phone-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin-top: 0.6rem;
}

.roi-phone-grid span {
  display: grid;
  gap: 0.2rem;
  padding: 0.75rem;
  color: #cbb69f;
  font-size: 0.76rem;
}

.roi-phone-grid b {
  color: #fffaf5;
  font-size: 1.12rem;
}

.roi-phone-list {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.6rem;
  padding: 0.85rem;
}

.roi-phone-list strong {
  font-size: 0.95rem;
}

@media (max-width: 1360px) {
  .roi-workbench {
    grid-template-columns: minmax(290px, 0.86fr) minmax(0, 1.4fr);
  }

  .roi-history-card {
    grid-column: 1 / -1;
  }

  .roi-panels {
    max-width: 100%;
  }

  .roi-mobile-preview {
    display: none;
  }
}

@media (max-width: 980px) {
  .roi-topbar {
    grid-template-columns: 1fr auto;
    padding: 0 1rem;
  }

  .roi-nav {
    display: none;
  }

  .roi-brand em,
  .roi-user-chip span {
    display: none;
  }

  .roi-page {
    width: min(100vw - 1rem, 100%);
    padding-top: 1rem;
  }

  .roi-hero {
    display: grid;
    align-items: start;
  }

  .roi-hero h1 {
    font-size: 3.5rem;
  }

  .roi-hero-actions {
    justify-content: stretch;
  }

  .roi-primary-action,
  .roi-secondary-action {
    flex: 1 1 12rem;
  }

  .roi-workbench,
  .roi-decision-main,
  .roi-result-layout,
  .roi-narrative-panel {
    grid-template-columns: 1fr;
  }

  .roi-kpi-grid,
  .roi-result-card .result-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body.roi-console-page {
    background:
      radial-gradient(circle at 0% 0%, rgba(255, 143, 28, 0.14), transparent 20rem),
      linear-gradient(180deg, #1f1407 0%, #160f07 100%);
  }

  .roi-topbar {
    min-height: 3.8rem;
  }

  .roi-page {
    padding-bottom: 2rem;
  }

  .roi-hero {
    margin-bottom: 0.75rem;
  }

  .roi-hero h1 {
    font-size: 2.85rem;
  }

  .roi-hero p {
    font-size: 0.94rem;
  }

  .roi-params-card,
  .roi-decision-card,
  .roi-history-card,
  .roi-result-card,
  .roi-formula-card,
  .roi-narrative-panel {
    border-radius: 22px;
    padding: 0.9rem;
  }

  .roi-decision-main h2 {
    font-size: 2.45rem;
  }

  .roi-kpi-grid,
  .roi-result-card .result-card-grid,
  .calc-input-grid,
  .calc-input-grid-2,
  .calc-input-grid-3 {
    grid-template-columns: 1fr;
  }

  .roi-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .roi-tabs .calc-tab {
    padding: 0 0.5rem;
  }

  .roi-history-list {
    max-height: none;
  }
}

/* ROI calculator V3: compact professional calculator layout */
body.roi-console-page {
  background:
    radial-gradient(circle at 0 0, rgba(255, 143, 28, 0.1), transparent 30rem),
    radial-gradient(circle at 100% 0, rgba(255, 180, 86, 0.12), transparent 34rem),
    linear-gradient(180deg, #1c1207 0%, #140e07 100%);
}

.roi-page {
  width: min(100vw - 2.5rem, 1480px);
  padding: 1.2rem 0 3rem;
}

.roi-hero {
  align-items: center;
  min-height: 5.3rem;
  margin-bottom: 0.85rem;
  border: 1px solid rgba(184, 139, 90, 0.16);
  border-radius: 22px;
  padding: 1rem 1.1rem;
  background: rgba(35, 23, 10, 0.66);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.roi-hero h1 {
  font-size: clamp(2rem, 3.2vw, 3.35rem);
  line-height: 1.08;
}

.roi-hero p {
  max-width: 45rem;
  margin-top: 0.42rem;
  font-size: 0.96rem;
}

.roi-hero .roi-kicker {
  margin-bottom: 0.24rem;
}

.roi-primary-action,
.roi-secondary-action {
  min-height: 2.72rem;
  border-radius: 12px;
  padding: 0 1rem;
}

.roi-workbench {
  grid-template-columns: minmax(320px, 390px) minmax(0, 1fr);
  align-items: start;
  gap: 0.9rem;
}

.roi-main-stack {
  display: grid;
  gap: 0.9rem;
  min-width: 0;
}

.roi-params-card {
  position: sticky;
  top: 5.25rem;
  max-height: calc(100vh - 6.25rem);
  overflow: auto;
}

.roi-params-card,
.roi-decision-card,
.roi-result-card,
.roi-formula-card,
.roi-narrative-panel,
.roi-history-card {
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.roi-card-head {
  margin-bottom: 0.75rem;
}

.roi-card-head strong {
  font-size: 1.12rem;
}

.roi-card-head p {
  font-size: 0.84rem;
}

.roi-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.42rem;
  margin-bottom: 0.9rem;
}

.roi-tabs .calc-tab {
  width: 100%;
  min-height: 2.25rem;
  border-radius: 11px;
  padding: 0 0.54rem;
  font-size: 0.82rem;
}

.roi-input-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.62rem;
}

.roi-input-grid label span,
.roi-single-input label span {
  font-size: 0.8rem;
}

.roi-input-grid input,
.roi-single-input input,
.calc-input-grid input,
.wide-field input {
  min-height: 2.52rem;
  border-radius: 11px;
  padding-block: 0.56rem;
  font-size: 0.9rem;
}

.roi-input-grid em {
  bottom: 0.62rem;
  font-size: 0.78rem;
}

.roi-derived-block {
  margin-top: 0.8rem;
  padding-top: 0.75rem;
}

.roi-derived-block .metric-grid-5 {
  gap: 0.42rem;
}

.roi-derived-block .result-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  padding: 0.56rem 0.68rem;
}

.roi-derived-block .result-card em {
  display: none;
}

.roi-derived-block .result-card p {
  display: block;
  font-size: 0.76rem;
}

.roi-derived-block .result-card strong {
  font-size: 0.98rem;
}

.roi-decision-card {
  min-height: 0;
  gap: 0.8rem;
  padding: 1.05rem;
}

.roi-decision-main {
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.38fr);
  align-items: stretch;
}

.roi-decision-main h2 {
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  line-height: 1.06;
}

.roi-decision-main p {
  margin-top: 0.52rem;
  max-width: 50rem;
  line-height: 1.62;
  font-size: 0.95rem;
}

.roi-limit-meter {
  min-height: 8rem;
  border-radius: 16px;
  padding: 0.9rem;
}

.roi-limit-meter strong {
  font-size: clamp(1.85rem, 3vw, 3rem);
}

.roi-kpi-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.62rem;
}

.roi-kpi {
  min-height: 5.4rem;
  border-radius: 14px;
  padding: 0.7rem;
}

.roi-kpi strong {
  font-size: 1.25rem;
}

.roi-panels {
  max-width: none;
  margin-top: 0;
}

.roi-result-layout {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 0.9rem;
}

.roi-result-card,
.roi-formula-card,
.roi-narrative-panel {
  padding: 0.95rem;
}

.roi-result-card h2,
.roi-formula-card h3,
.roi-narrative-panel h2 {
  font-size: 1.08rem;
}

.roi-result-card > p,
.roi-narrative-panel > div > p {
  margin-bottom: 0.75rem;
  font-size: 0.88rem;
}

.roi-result-card .result-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.62rem;
}

.roi-result-card .result-card,
.result-card {
  min-height: 6.55rem;
  border-radius: 14px;
  padding: 0.74rem;
}

.result-card strong {
  font-size: 1.28rem;
}

.roi-narrative-panel {
  grid-template-columns: minmax(190px, 0.25fr) minmax(0, 1fr);
}

.roi-narrative-panel .narrative-box {
  padding: 0.85rem 0.95rem;
}

.roi-history-dock {
  display: grid;
  grid-template-columns: minmax(220px, 0.28fr) minmax(180px, 0.22fr) minmax(0, 1fr);
  gap: 0.9rem;
  align-items: start;
  margin-top: 0.9rem;
}

.roi-history-dock .roi-card-head {
  margin-bottom: 0;
}

.roi-history-dock .roi-save-status {
  margin-bottom: 0;
}

.roi-history-dock .roi-history-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
  max-height: none;
  overflow: visible;
}

.roi-history-dock .roi-history-empty {
  grid-column: 1 / -1;
  min-height: 4.2rem;
  display: grid;
  place-items: center;
}

.roi-history-dock .roi-history-item {
  min-height: 5.2rem;
}

.roi-mobile-preview,
.roi-phone {
  display: none !important;
}

@media (max-width: 1180px) {
  .roi-workbench {
    grid-template-columns: 1fr;
  }

  .roi-params-card {
    position: static;
    max-height: none;
  }

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

  .roi-derived-block .metric-grid-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .roi-derived-block .result-card {
    display: block;
  }

  .roi-history-dock {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .roi-page {
    width: min(100vw - 0.9rem, 100%);
    padding-top: 0.75rem;
  }

  .roi-hero {
    display: grid;
    min-height: 0;
    padding: 0.85rem;
  }

  .roi-hero h1 {
    font-size: 2.12rem;
  }

  .roi-input-grid,
  .roi-derived-block .metric-grid-5,
  .roi-kpi-grid,
  .roi-result-layout,
  .roi-result-card .result-card-grid,
  .roi-narrative-panel,
  .roi-history-dock .roi-history-list {
    grid-template-columns: 1fr;
  }

  .roi-decision-main {
    grid-template-columns: 1fr;
  }

  .roi-decision-main h2 {
    font-size: 2.2rem;
  }

  .roi-limit-meter {
    min-height: 0;
  }
}

/* Homepage redesign: AI Agent Hub */
body.page-home {
  font-family: "Manrope", "Noto Sans SC", sans-serif;
  background:
    radial-gradient(circle at 12% 12%, rgba(224, 145, 70, 0.18) 0, transparent 24%),
    radial-gradient(circle at 82% 8%, rgba(255, 146, 27, 0.18) 0, transparent 22%),
    radial-gradient(circle at 82% 82%, rgba(255, 191, 126, 0.08) 0, transparent 26%),
    linear-gradient(180deg, #181007 0%, #1c1208 42%, #120c05 100%);
  color: #efe3d7;
}

body.page-home::before {
  background:
    linear-gradient(rgba(255, 191, 126, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 191, 126, 0.03) 1px, transparent 1px);
  background-size: 52px 52px;
  opacity: 0.32;
}

body.page-home::after {
  width: 340px;
  height: 340px;
  inset: auto 5% 8% auto;
  background: radial-gradient(circle, rgba(224, 145, 70, 0.14), transparent 70%);
}

.page-home * {
  box-sizing: border-box;
}

.page-home a {
  color: inherit;
}

.page-home .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-home .home-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
}

.page-home .home-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 1.4rem 1rem;
  border-right: 1px solid rgba(255, 192, 120, 0.12);
  background: linear-gradient(180deg, rgba(28, 19, 9, 0.92), rgba(18, 12, 5, 0.82));
  backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.page-home .home-sidebar-brand {
  padding: 0.2rem 0.4rem 0.4rem;
}

.page-home .home-sidebar-title,
.page-home .home-topbar-brand,
.page-home .section-head h2,
.page-home .home-hero h1,
.page-home .agent-card h3,
.page-home .workbench-main h2,
.page-home .side-panel-card h3 {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  letter-spacing: -0.03em;
}

.page-home .home-sidebar-title {
  margin: 0;
  color: #f08922;
  font-size: 1.4rem;
  font-weight: 800;
}

.page-home .home-sidebar-subtitle {
  margin: 0.25rem 0 0;
  font-size: 0.76rem;
  color: #9f886f;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.page-home .home-sidebar-nav {
  display: grid;
  gap: 0.65rem;
}

.page-home .home-nav-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 3.2rem;
  padding: 0.45rem 0.9rem;
  border-radius: 14px;
  text-decoration: none;
  color: #ad977f;
  border: 1px solid transparent;
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease, color 150ms ease;
}

.page-home .home-nav-item .material-symbols-outlined {
  font-size: 1.1rem;
}

.page-home .home-nav-item:hover,
.page-home .home-nav-item.is-active {
  color: #fff4e9;
  background: linear-gradient(90deg, rgba(240, 137, 34, 0.12), rgba(240, 137, 34, 0.03));
  border-color: rgba(240, 137, 34, 0.18);
  transform: translateX(2px);
}

.page-home .home-sidebar-actions {
  margin-top: auto;
  display: grid;
  gap: 0.7rem;
}

.page-home .home-sidebar-primary,
.page-home .home-sidebar-link,
.page-home .home-btn,
.page-home .agent-link,
.page-home .mini-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  text-decoration: none;
  font-weight: 700;
  border-radius: 16px;
  transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease, background 150ms ease, color 150ms ease;
}

.page-home .home-sidebar-primary {
  min-height: 3.2rem;
  color: #1d1103;
  background: linear-gradient(120deg, #f08922, #ffc58a 65%, #ffe7d0);
  box-shadow: 0 16px 30px rgba(240, 137, 34, 0.18);
}

.page-home .home-sidebar-link {
  min-height: 3rem;
  color: #f2e6d8;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 192, 120, 0.12);
}

.page-home .home-sidebar-primary:hover,
.page-home .home-sidebar-link:hover {
  transform: translateY(-1px);
}

.page-home .home-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.page-home .home-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.4rem;
  background: linear-gradient(180deg, rgba(24, 16, 7, 0.9), rgba(24, 16, 7, 0.72));
  border-bottom: 1px solid rgba(255, 192, 120, 0.12);
  backdrop-filter: blur(20px);
}

.page-home .home-topbar-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.page-home .home-topbar-brand {
  font-size: 1.15rem;
  color: #f08922;
  font-weight: 800;
}

.page-home .home-topbar-tag {
  padding: 0.28rem 0.58rem;
  border-radius: 999px;
  color: #ffdbb7;
  border: 1px solid rgba(240, 137, 34, 0.18);
  background: rgba(240, 137, 34, 0.05);
  font-size: 0.73rem;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: 0.08em;
}

.page-home .home-topbar-tools {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.page-home .home-search {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 300px;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 192, 120, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: #bca68e;
}

.page-home .home-search input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  color: #fff6ed;
  font: inherit;
}

.page-home .home-search input::placeholder {
  color: #9e876e;
}

.page-home .home-tool-icon {
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ead9c7;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 192, 120, 0.12);
}

.page-home .home-avatar {
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1c1208;
  background: linear-gradient(135deg, #f08922, #ffc58a);
  box-shadow: 0 0 0 3px rgba(240, 137, 34, 0.08);
}

.page-home .home-canvas {
  padding: 1.4rem 1.4rem 2rem;
  display: grid;
  gap: 1.2rem;
}

.page-home .home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.95fr);
  gap: 1.2rem;
  align-items: center;
  min-height: 34rem;
  padding: 1.1rem 1.1rem 0.6rem;
  border-radius: 30px;
  border: 1px solid rgba(255, 192, 120, 0.12);
  background:
    linear-gradient(90deg, rgba(28, 18, 8, 0.92), rgba(24, 16, 7, 0.62)),
    radial-gradient(circle at right center, rgba(240, 137, 34, 0.12), transparent 34%);
  box-shadow: 0 22px 60px rgba(15, 8, 1, 0.28);
}

.page-home .home-hero-copy {
  padding: 1rem 0.6rem 1rem 0.7rem;
}

.page-home .home-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(240, 137, 34, 0.18);
  background: rgba(240, 137, 34, 0.06);
  color: #ffe2c4;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  font-family: "Space Grotesk", sans-serif;
}

.page-home .home-kicker-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: #f08922;
  box-shadow: 0 0 0 0 rgba(240, 137, 34, 0.55);
  animation: pulse-signal 2s infinite;
}

.page-home .home-hero h1 {
  margin: 0;
  color: #fff7ee;
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
  text-wrap: balance;
}

.page-home .home-hero h1 span {
  display: inline-block;
  margin-top: 0.2rem;
  color: transparent;
  background: linear-gradient(90deg, #f08922, #ffba62 60%, #ff9e14);
  background-clip: text;
  -webkit-background-clip: text;
}

.page-home .home-hero-text {
  margin: 1rem 0 0;
  max-width: 46rem;
  color: #bfac96;
  font-size: 1.02rem;
  line-height: 1.78;
}

.page-home .home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.45rem;
}

.page-home .home-btn {
  min-height: 3.25rem;
  padding: 0.72rem 1.2rem;
  font-size: 0.98rem;
}

.page-home .home-btn-primary {
  color: #1d1002;
  background: linear-gradient(120deg, #f08922, #ffc58a 68%, #ffe8d2);
  box-shadow: 0 16px 30px rgba(240, 137, 34, 0.18);
}

.page-home .home-btn-ghost {
  color: #f5e9db;
  border: 1px solid rgba(255, 192, 120, 0.16);
  background: rgba(255, 255, 255, 0.04);
}

.page-home .home-btn:hover,
.page-home .agent-link:hover,
.page-home .mini-btn:hover {
  transform: translateY(-1px);
}

.page-home .home-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 1.35rem;
}

.page-home .home-hero-stats > div,
.page-home .summary-card,
.page-home .agent-card,
.page-home .side-panel-card,
.page-home .home-help-card {
  border: 1px solid rgba(255, 192, 120, 0.12);
  background: linear-gradient(180deg, rgba(28, 19, 9, 0.84), rgba(23, 16, 8, 0.9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.page-home .home-hero-stats > div {
  border-radius: 18px;
  padding: 0.95rem 1rem;
}

.page-home .home-hero-stats span,
.page-home .summary-card span,
.page-home .side-panel-card span,
.page-home .home-help-card p,
.page-home .workbench-note {
  color: #b9a187;
}

.page-home .home-hero-stats span {
  display: block;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
  font-family: "Space Grotesk", sans-serif;
}

.page-home .home-hero-stats strong {
  font-size: 0.98rem;
  color: #fff6ed;
}

.page-home .home-hero-visual {
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  padding: 1rem;
}

.page-home .home-visual-panel {
  position: relative;
  width: 100%;
  min-height: 28rem;
  border-radius: 26px;
  border: 1px solid rgba(240, 137, 34, 0.12);
  background:
    radial-gradient(circle at 50% 20%, rgba(240, 137, 34, 0.15), transparent 30%),
    linear-gradient(180deg, rgba(28, 18, 8, 0.9), rgba(18, 12, 5, 0.96));
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 24px 60px rgba(15, 8, 1, 0.28);
}

.page-home .home-visual-panel::before {
  content: "";
  position: absolute;
  inset: 10% 8% auto 8%;
  height: 56%;
  border-radius: 20px;
  border: 1px solid rgba(240, 137, 34, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(240, 137, 34, 0.05));
  opacity: 0.8;
}

.page-home .home-visual-head {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 1rem;
}

.page-home .home-visual-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.34rem 0.64rem;
  border-radius: 999px;
  background: rgba(240, 137, 34, 0.08);
  border: 1px solid rgba(240, 137, 34, 0.15);
  color: #ffe2c4;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  font-family: "Space Grotesk", sans-serif;
}

.page-home .home-visual-chip.muted {
  color: #c7b19a;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 192, 120, 0.12);
}

.page-home .home-visual-chart {
  position: relative;
  z-index: 1;
  margin: 1.4rem 1rem 0;
  height: 17rem;
  border-radius: 22px;
  border: 1px solid rgba(240, 137, 34, 0.12);
  background:
    linear-gradient(180deg, rgba(28, 18, 8, 0.8), rgba(18, 12, 6, 0.94)),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 18%);
  overflow: hidden;
}

.page-home .home-chart-line {
  position: absolute;
  left: 12%;
  right: 12%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(240, 137, 34, 0.95), transparent);
  filter: drop-shadow(0 0 8px rgba(240, 137, 34, 0.2));
}

.page-home .home-chart-line.line-a {
  top: 25%;
}

.page-home .home-chart-line.line-b {
  top: 48%;
  background: linear-gradient(90deg, transparent, rgba(255, 186, 98, 0.95), transparent);
}

.page-home .home-chart-line.line-c {
  top: 70%;
  background: linear-gradient(90deg, transparent, rgba(240, 137, 34, 0.55), transparent);
}

.page-home .home-chart-bars {
  position: absolute;
  inset: auto 12% 12% 12%;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: end;
  gap: 0.7rem;
}

.page-home .home-chart-bars span {
  display: block;
  border-radius: 14px 14px 2px 2px;
  background: linear-gradient(180deg, rgba(240, 137, 34, 0.95), rgba(255, 186, 98, 0.55));
  min-height: 2.4rem;
  box-shadow: 0 0 20px rgba(240, 137, 34, 0.2);
}

.page-home .home-chart-bars span:nth-child(1) { height: 46%; }
.page-home .home-chart-bars span:nth-child(2) { height: 72%; }
.page-home .home-chart-bars span:nth-child(3) { height: 34%; }
.page-home .home-chart-bars span:nth-child(4) { height: 56%; }
.page-home .home-chart-bars span:nth-child(5) { height: 88%; }
.page-home .home-chart-bars span:nth-child(6) { height: 62%; }

.page-home .home-visual-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  padding: 1rem;
}

.page-home .home-visual-grid > div {
  border-radius: 18px;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 192, 120, 0.12);
  background: rgba(255, 255, 255, 0.02);
}

.page-home .home-visual-grid span {
  display: block;
  color: #b9a187;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
  font-family: "Space Grotesk", sans-serif;
}

.page-home .home-visual-grid strong {
  color: #fff6ed;
  font-size: 0.96rem;
}

.page-home .home-section {
  padding: 0.25rem 0 0;
}

.page-home .section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.page-home .section-head.compact {
  margin-bottom: 0.9rem;
}

.page-home .section-kicker {
  margin: 0 0 0.35rem;
  color: #c8ac8f;
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-family: "Space Grotesk", sans-serif;
}

.page-home .section-head h2,
.page-home .workbench-main h2,
.page-home .side-panel-card h3 {
  margin: 0;
  color: #fff6ed;
}

.page-home .section-head h2 {
  font-size: clamp(1.55rem, 2vw, 2.2rem);
}

.page-home .section-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: flex-end;
}

.page-home .filter-pill,
.page-home .section-chip {
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 192, 120, 0.12);
  color: #bfa991;
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.84rem;
}

.page-home .filter-pill.is-active {
  color: #1d1103;
  background: linear-gradient(120deg, #f08922, #ffc58a);
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(240, 137, 34, 0.18);
}

.page-home .agent-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.95rem;
}

.page-home .agent-card {
  border-radius: 22px;
  padding: 1rem;
  min-height: 16.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}

.page-home .agent-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.8rem;
}

.page-home .agent-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 192, 120, 0.14);
}

.page-home .accent-cyan {
  color: #f08922;
  background: rgba(240, 137, 34, 0.08);
}

.page-home .accent-purple {
  color: #ffbf6d;
  background: rgba(255, 186, 98, 0.08);
}

.page-home .agent-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.25rem 0.55rem;
  border: 1px solid rgba(255, 186, 98, 0.18);
  color: #ffc97f;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  background: rgba(255, 186, 98, 0.08);
  font-family: "Space Grotesk", sans-serif;
}

.page-home .agent-card h3 {
  font-size: 1.45rem;
  line-height: 1.2;
}

.page-home .agent-card p {
  margin: 0;
  color: #bba790;
  line-height: 1.65;
}

.page-home .agent-link {
  min-height: 2.8rem;
  padding: 0.55rem 0.9rem;
  border-radius: 14px;
  border: 1px solid rgba(240, 137, 34, 0.22);
  color: #f08922;
  background: rgba(240, 137, 34, 0.04);
}

.page-home .agent-link.small {
  min-height: 2.45rem;
  padding: 0.42rem 0.7rem;
  font-size: 0.84rem;
}

.page-home .agent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.page-home .home-workbench {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.7fr);
  gap: 1rem;
  align-items: start;
}

.page-home .workbench-main,
.page-home .home-side-panel {
  display: grid;
  gap: 0.95rem;
}

.page-home .workbench-main {
  border-radius: 24px;
  border: 1px solid rgba(255, 192, 120, 0.12);
  background: linear-gradient(180deg, rgba(28, 18, 8, 0.86), rgba(23, 15, 7, 0.94));
  padding: 1rem;
}

.page-home .workbench-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.page-home .summary-card {
  border-radius: 18px;
  padding: 0.95rem 1rem;
}

.page-home .summary-card span {
  display: block;
  margin-bottom: 0.28rem;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: "Space Grotesk", sans-serif;
}

.page-home .summary-card strong {
  color: #fff6ed;
  font-size: 0.96rem;
}

.page-home .workbench-note {
  margin: 0;
  font-size: 0.92rem;
}

.page-home .home-help-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.page-home .home-help-card {
  border-radius: 18px;
  padding: 0.95rem;
}

.page-home .home-help-card h3 {
  margin: 0 0 0.35rem;
  color: #fff6ed;
  font-size: 1rem;
}

.page-home .home-help-card p {
  margin: 0 0 0.6rem;
  line-height: 1.58;
  font-size: 0.86rem;
}

.page-home .upload-help-tip {
  margin: 0;
  color: #e3d2bf !important;
  font-size: 0.82rem !important;
}

.page-home .home-upload-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem;
}

.page-home .platform-picker {
  padding: 1rem;
  background: rgba(18, 12, 5, 0.72);
}

.page-home .platform-picker legend {
  color: #fff6ed;
  font-family: "Space Grotesk", sans-serif;
}

.page-home .choice-card {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
}

.page-home .choice-card strong {
  color: #fff6ed;
}

.page-home .choice-card em {
  color: #bfa991;
}

.page-home label {
  gap: 0.48rem;
  color: #fff6ed;
}

.page-home label > span {
  font-size: 0.9rem;
}

.page-home input[type="file"],
.page-home input[type="date"] {
  border: 1px solid rgba(255, 192, 120, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  color: #fff6ed;
}

.page-home input[type="date"] {
  color-scheme: dark;
}

.page-home .field-note {
  color: #bca68d;
}

.page-home .home-upload-form button {
  grid-column: 1 / -1;
  min-height: 3.3rem;
  border-radius: 18px;
  border: none;
  color: #1d1103;
  background: linear-gradient(120deg, #f08922, #ffc58a 62%, #ffe7d0);
  box-shadow: 0 18px 34px rgba(240, 137, 34, 0.2);
}

.page-home .home-side-panel {
  position: sticky;
  top: 5.4rem;
}

.page-home .side-panel-card {
  border-radius: 24px;
  padding: 1rem;
}

.page-home .side-panel-card h3 {
  margin-bottom: 0.95rem;
  font-size: 1.2rem;
}

.page-home .side-panel-card-soft {
  background: linear-gradient(180deg, rgba(28, 18, 8, 0.82), rgba(25, 17, 9, 0.94));
}

.page-home .stat-list {
  display: grid;
  gap: 0.75rem;
}

.page-home .stat-list > div {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.75rem 0.85rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 192, 120, 0.08);
}

.page-home .stat-list span {
  color: #b9a187;
}

.page-home .stat-list strong {
  color: #fff6ed;
}

.page-home .progress-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.page-home .progress-label {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.35rem;
  color: #b9a187;
  font-size: 0.84rem;
}

.page-home .progress-bar {
  height: 0.34rem;
  border-radius: 999px;
  background: rgba(240, 137, 34, 0.08);
  overflow: hidden;
}

.page-home .progress-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f08922, #ffc58a);
}

.page-home .progress-bar.alt span {
  background: linear-gradient(90deg, #ffba62, #ff9e14);
}

.page-home .progress-bar.third span {
  background: linear-gradient(90deg, #e09146, #f08922);
}

.page-home .quick-links {
  display: grid;
  gap: 0.7rem;
}

.page-home .quick-links a {
  text-decoration: none;
  padding: 0.78rem 0.88rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 192, 120, 0.12);
  background: rgba(255, 255, 255, 0.025);
  color: #f5e9db;
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease;
}

.page-home .quick-links a:hover {
  transform: translateY(-1px);
  border-color: rgba(240, 137, 34, 0.2);
  background: rgba(240, 137, 34, 0.05);
}

.page-home .home-footer-brand {
  margin: 0.2rem 0 0;
  text-align: center;
  color: #bea890;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
}

.page-home .home-alert {
  margin: 0;
  padding: 0.86rem 1rem;
  border: 1px solid rgba(251, 203, 113, 0.3);
  border-radius: 16px;
  background: rgba(127, 61, 29, 0.16);
  color: #ffe9c1;
}

.page-home .wish-copy {
  margin: 0 0 0.85rem;
  color: #bca68e;
  line-height: 1.65;
  font-size: 0.92rem;
}

.page-home .wish-form {
  display: grid;
  gap: 0.8rem;
}

.page-home .wish-form label {
  display: grid;
  gap: 0.4rem;
}

.page-home .wish-form textarea {
  width: 100%;
  resize: vertical;
  min-height: 7.5rem;
  border: 1px solid rgba(255, 192, 120, 0.14);
  border-radius: 14px;
  padding: 0.8rem 0.9rem;
  background: rgba(255, 255, 255, 0.03);
  color: #fff6ed;
  font: inherit;
}

.page-home .wish-form textarea:focus {
  outline: none;
  border-color: rgba(240, 137, 34, 0.36);
  box-shadow: 0 0 0 3px rgba(240, 137, 34, 0.1);
}

.page-home .wish-submit {
  min-height: 3rem;
  border: none;
  border-radius: 16px;
  color: #1d1103;
  background: linear-gradient(120deg, #f08922, #ffc58a 62%, #ffe7d0);
  box-shadow: 0 18px 34px rgba(240, 137, 34, 0.2);
}

.page-home .home-quick-links {
  margin-top: 0.9rem;
}

@media (min-width: 761px) {
  .page-home .home-mobile-search,
  .page-home .home-mobile-hud,
  .page-home .home-mobile-nav {
    display: none;
  }
}

@media (max-width: 1360px) {
  .page-home .home-shell {
    grid-template-columns: 240px minmax(0, 1fr);
  }

  .page-home .agent-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .home-workbench {
    grid-template-columns: 1fr;
  }

  .page-home .home-side-panel {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1120px) {
  .page-home .home-shell {
    grid-template-columns: 1fr;
  }

  .page-home .home-sidebar {
    display: none;
  }

  .page-home .home-topbar {
    padding-inline: 1rem;
  }

  .page-home .home-search {
    min-width: 220px;
  }

  .page-home .home-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 0.95rem;
  }

  .page-home .home-hero-visual {
    display: none;
  }

  .page-home .home-hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .agent-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .workbench-summary,
  .page-home .home-help-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .page-home .home-topbar {
    padding: 0.75rem 0.9rem;
    align-items: center;
    gap: 0.5rem;
  }

  .page-home .home-topbar-title {
    gap: 0.35rem;
  }

  .page-home .home-topbar-brand {
    font-size: 0.98rem;
    line-height: 1.15;
  }

  .page-home .home-topbar-tag {
    display: none;
  }

  .page-home .home-topbar-tools {
    gap: 0.45rem;
    margin-left: auto;
  }

  .page-home .home-search,
  .page-home .home-avatar {
    display: none;
  }

  .page-home .home-canvas {
    padding: 0.85rem 0.8rem 5.9rem;
  }

  .page-home .home-sidebar-nav,
  .page-home .home-sidebar-actions,
  .page-home .agent-grid,
  .page-home .home-hero-stats,
  .page-home .workbench-summary,
  .page-home .home-upload-form {
    grid-template-columns: 1fr;
  }

  .page-home .home-hero {
    gap: 0.85rem;
    padding: 0.92rem;
    border-radius: 22px;
  }

  .page-home .home-hero-copy {
    padding: 0;
  }

  .page-home .home-hero-kicker {
    margin-bottom: 0.55rem;
    padding: 0.33rem 0.68rem;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
  }

  .page-home .home-hero h1 {
    font-size: clamp(2rem, 9.6vw, 3rem);
    line-height: 1.03;
  }

  .page-home .home-hero-text {
    margin-top: 0.68rem;
    max-width: 36rem;
    font-size: 0.92rem;
    line-height: 1.68;
  }

  .page-home .home-mobile-search {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-top: 0.9rem;
    padding: 0.94rem 1rem;
    border-radius: 16px;
    border: 1px solid rgba(240, 137, 34, 0.14);
    background:
      linear-gradient(90deg, rgba(240, 137, 34, 0.06), rgba(255, 186, 98, 0.05)),
      rgba(255, 255, 255, 0.03);
    color: #aa9278;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  }

  .page-home .home-mobile-search .material-symbols-outlined {
    font-size: 1.05rem;
  }

  .page-home .home-mobile-search input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    color: #fff6ed;
    font: inherit;
  }

  .page-home .home-mobile-search input::placeholder {
    color: #9e876e;
  }

  .page-home .home-hero-actions {
    margin-top: 0.92rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .page-home .home-btn {
    min-height: 2.95rem;
    padding: 0.62rem 0.9rem;
    font-size: 0.9rem;
    border-radius: 16px;
  }

  .page-home .home-hero-stats {
    display: none;
  }

  .page-home .home-mobile-hud {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
    margin-top: 0.9rem;
  }

  .page-home .home-mobile-hud-card {
    padding: 0.72rem 0.78rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 192, 120, 0.12);
    background: rgba(255, 255, 255, 0.03);
  }

  .page-home .home-mobile-hud-card span {
    display: block;
    margin-bottom: 0.24rem;
    color: #b9a187;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-family: "Space Grotesk", sans-serif;
  }

  .page-home .home-mobile-hud-card strong {
    color: #fff6ed;
    font-size: 0.92rem;
  }

  .page-home .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-home .section-filters {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.15rem;
    justify-content: flex-start;
  }

  .page-home .filter-pill {
    flex: 0 0 auto;
  }

  .page-home .agent-grid {
    grid-template-columns: 1fr;
  }

  .page-home .agent-card {
    min-height: auto;
    padding: 0.95rem;
    border-radius: 20px;
  }

  .page-home .agent-card h3 {
    font-size: 1.22rem;
  }

  .page-home .agent-card p {
    font-size: 0.9rem;
    line-height: 1.58;
  }

  .page-home .home-workbench {
    gap: 0.9rem;
  }

  .page-home .workbench-main {
    padding: 0.95rem;
    border-radius: 22px;
  }

  .page-home .workbench-summary,
  .page-home .home-help-grid,
  .page-home .home-upload-form,
  .page-home .home-side-panel {
    grid-template-columns: 1fr;
  }

  .page-home .side-panel-card,
  .page-home .home-help-card,
  .page-home .summary-card {
    border-radius: 18px;
  }

  .page-home .side-panel-card-soft {
    background:
      linear-gradient(180deg, rgba(34, 23, 10, 0.94), rgba(23, 16, 8, 0.98));
    border-color: rgba(240, 137, 34, 0.16);
  }

  .page-home .wish-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
    margin-bottom: 0.2rem;
  }

  .page-home .wish-panel-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.28rem 0.58rem;
    border-radius: 999px;
    border: 1px solid rgba(240, 137, 34, 0.18);
    color: #ffdfbf;
    background: rgba(240, 137, 34, 0.06);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    font-family: "Space Grotesk", sans-serif;
    white-space: nowrap;
  }

  .page-home .wish-form textarea {
    min-height: 6.8rem;
  }

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

  .page-home .home-footer-brand {
    margin-top: 0.35rem;
    padding-bottom: 0.4rem;
    font-size: 0.76rem;
  }

  .page-home .home-mobile-nav {
    position: fixed;
    left: 0.65rem;
    right: 0.65rem;
    bottom: 0.55rem;
    z-index: 60;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.25rem;
    padding: 0.45rem 0.55rem 0.55rem;
    border: 1px solid rgba(255, 192, 120, 0.14);
    border-radius: 22px;
    background: rgba(20, 13, 6, 0.86);
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 38px rgba(15, 8, 1, 0.35);
  }

  .page-home .home-mobile-nav-item,
  .page-home .home-mobile-nav-center {
    text-decoration: none;
  }

  .page-home .home-mobile-nav-item {
    display: grid;
    justify-items: center;
    gap: 0.2rem;
    color: #c8ad8e;
    font-size: 0.6rem;
    line-height: 1;
    padding: 0.2rem 0;
    border-radius: 16px;
  }

  .page-home .home-mobile-nav-item .material-symbols-outlined {
    font-size: 1.15rem;
  }

  .page-home .home-mobile-nav-item.is-active {
    color: #f08922;
    background: rgba(240, 137, 34, 0.08);
  }

  .page-home .home-mobile-nav-center {
    width: 3.1rem;
    height: 3.1rem;
    margin: -1.05rem auto 0.08rem;
    border-radius: 19px;
    display: grid;
    place-items: center;
    color: #1d1103;
    background: linear-gradient(135deg, #f08922, #ffc58a 60%, #ffe8d2);
    box-shadow: 0 12px 24px rgba(240, 137, 34, 0.2);
  }

  .page-home .home-mobile-nav-center .material-symbols-outlined {
    font-size: 1.55rem;
  }
}

/* Simplified AI Agent Hub landing page */
body.page-home-hub {
  --hub-bg: #191006;
  --hub-surface: rgba(36, 25, 14, 0.82);
  --hub-surface-strong: rgba(40, 28, 16, 0.94);
  --hub-line: rgba(255, 191, 127, 0.1);
  --hub-cyan: #ff7f00;
  --hub-purple: #ff9e18;
  --hub-ink: #fff4e8;
  --hub-muted: #c6b5a2;
  background:
    radial-gradient(circle at 14% 12%, rgba(255, 127, 0, 0.12), transparent 30%),
    radial-gradient(circle at 84% 24%, rgba(255, 162, 39, 0.16), transparent 34%),
    linear-gradient(180deg, #191006 0%, #1e1307 52%, #191006 100%);
  color: var(--hub-ink);
  font-family: "Manrope", "Noto Sans SC", sans-serif;
}

body.page-home-hub::before {
  opacity: 0.18;
}

body.page-home-hub::after {
  display: none;
}

.page-home-hub .home-shell,
.page-home-hub .home-main,
.page-home-hub .home-canvas {
  display: contents;
}

.hub-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 72px;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto minmax(280px, 1fr);
  align-items: center;
  gap: 2rem;
  padding: 0 2rem;
  border-bottom: 1px solid rgba(255, 191, 127, 0.08);
  background: rgba(24, 15, 5, 0.88);
  backdrop-filter: blur(20px);
}

.hub-brand {
  color: var(--hub-cyan);
  text-decoration: none;
  font-weight: 900;
  font-size: 1.16rem;
  letter-spacing: -0.03em;
  text-shadow: 0 0 18px rgba(255, 127, 0, 0.26);
}

.hub-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.6rem;
}

.hub-nav a {
  position: relative;
  color: #c8b9a9;
  text-decoration: none;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 0.95rem;
}

.hub-nav a.is-active,
.hub-nav a:hover {
  color: var(--hub-cyan);
}

.hub-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.7rem;
  height: 2px;
  background: var(--hub-cyan);
  box-shadow: 0 0 14px rgba(255, 127, 0, 0.5);
}

.hub-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.8rem;
}

.hub-search {
  min-width: 220px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.55rem;
  border-radius: 14px;
  padding: 0.45rem 0.8rem;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.05);
  color: var(--hub-cyan);
}

.hub-search input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  color: var(--hub-ink);
  font: inherit;
}

.hub-search input::placeholder {
  color: #92816f;
}

.hub-icon {
  width: 2rem;
  height: 2rem;
  display: inline-grid;
  place-items: center;
  color: #d6c8b8;
}

.hub-main {
  width: min(1480px, calc(100vw - 4rem));
  margin: 0 auto;
}

.hub-hero {
  min-height: 455px;
  display: grid;
  align-items: center;
  padding: 4.2rem 0 3.2rem;
  background:
    radial-gradient(circle at 28% 40%, rgba(255, 127, 0, 0.08), transparent 34%),
    radial-gradient(circle at 92% 60%, rgba(255, 164, 45, 0.16), transparent 32%);
}

.hub-hero h1 {
  margin: 0;
  max-width: 900px;
  color: #fff3e7;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: clamp(4.1rem, 7.2vw, 7.4rem);
  line-height: 1.02;
  letter-spacing: -0.075em;
  text-shadow: 0 16px 42px rgba(0, 0, 0, 0.26);
}

.hub-hero h1 span {
  color: transparent;
  background: linear-gradient(90deg, #ff7f00 0%, #ff931c 45%, #ff9e18 88%);
  background-clip: text;
  -webkit-background-clip: text;
}

.hub-hero p {
  max-width: 880px;
  margin: 2rem 0 0;
  color: #ded0c1;
  font-size: 1.18rem;
  line-height: 1.8;
  font-weight: 600;
}

.hub-product-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(380px, 0.9fr);
  gap: 2.2rem;
  margin-bottom: 2rem;
}

.hub-product-card {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  border-radius: 28px;
  border: 1px solid rgba(255, 191, 127, 0.12);
  background:
    linear-gradient(135deg, rgba(45, 31, 17, 0.95), rgba(35, 24, 13, 0.92));
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.035);
  padding: 3.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hub-product-card-finance::after {
  content: "account_balance_wallet";
  position: absolute;
  right: 3.5rem;
  top: 3.6rem;
  font-family: "Material Symbols Outlined";
  font-size: 6rem;
  color: rgba(242, 226, 209, 0.16);
}

.hub-product-card-roi {
  border-color: rgba(255, 158, 24, 0.18);
  background:
    radial-gradient(circle at 82% 78%, rgba(255, 158, 24, 0.1), transparent 32%),
    linear-gradient(135deg, rgba(44, 31, 18, 0.95), rgba(43, 31, 16, 0.94));
}

.hub-chip {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.32rem 0.78rem;
  border-radius: 999px;
  color: var(--hub-cyan);
  border: 1px solid rgba(255, 127, 0, 0.24);
  background: rgba(255, 127, 0, 0.08);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
}

.hub-chip-purple {
  color: #ffcf8c;
  border-color: rgba(255, 158, 24, 0.32);
  background: rgba(255, 158, 24, 0.12);
}

.hub-product-card h2 {
  margin: 2.2rem 0 1.35rem;
  font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
  font-size: clamp(2rem, 3vw, 3.1rem);
  letter-spacing: -0.06em;
  color: #fff8f1;
}

.hub-product-card p {
  max-width: 620px;
  margin: 0;
  color: #ded0c0;
  font-size: 1.06rem;
  line-height: 1.85;
  font-weight: 600;
}

.hub-card-actions {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.hub-primary-action,
.hub-secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 4rem;
  padding: 0.9rem 2.2rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 800;
  transition: transform 160ms ease, filter 160ms ease, border-color 160ms ease;
}

.hub-primary-action {
  color: #170d03;
  background: var(--hub-cyan);
  box-shadow: 0 0 32px rgba(255, 127, 0, 0.16);
}

.hub-secondary-action {
  width: 100%;
  color: #fff7ed;
  border: 1px solid rgba(255, 158, 24, 0.36);
  background: rgba(255, 255, 255, 0.05);
}

.hub-primary-action:hover,
.hub-secondary-action:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.hub-platforms {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  color: #a69481;
  font-size: 0.75rem;
}

.hub-platforms span {
  width: 2rem;
  height: 2rem;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: #f6e8d8;
  background: #34271a;
  border: 1px solid rgba(255, 191, 127, 0.12);
  font-family: "Space Grotesk", sans-serif;
}

.hub-platforms em {
  margin-left: 1rem;
  font-style: normal;
}

.hub-bars {
  height: 120px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.3rem;
  align-items: end;
  margin: 2rem 0;
}

.hub-bars span {
  display: block;
  border-radius: 2px 2px 0 0;
  background: linear-gradient(180deg, #ff9e14, #5f4017);
}

.help-main {
  width: min(1360px, calc(100vw - 4rem));
  padding-bottom: 4rem;
}

.help-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.72fr);
  gap: 2rem;
  align-items: stretch;
  padding: 3.6rem 0 2.2rem;
}

.help-hero-copy h1 {
  margin: 1rem 0 0;
  color: #fff9f2;
  font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.help-subtitle {
  margin: 1.25rem 0 0;
  color: var(--hub-cyan);
  font-size: 1.2rem;
  font-weight: 800;
}

.help-lead {
  max-width: 860px;
  margin: 1rem 0 0;
  color: #e2d6c8;
  font-size: 1.04rem;
  line-height: 1.9;
}

.help-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.8rem;
}

.help-hero-panel,
.help-section,
.help-entry-card,
.help-info-card,
.help-step-card,
.help-module-card,
.help-assistant-answer,
.help-contact-card,
.poster-card,
.poster-qr-box {
  border: 1px solid rgba(255, 191, 127, 0.12);
  background: linear-gradient(135deg, rgba(35, 24, 13, 0.96), rgba(31, 21, 10, 0.92));
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.24);
}

.help-hero-panel {
  border-radius: 26px;
  padding: 1.4rem;
  display: grid;
  gap: 1rem;
}

.help-stat-card {
  border-radius: 18px;
  padding: 1.2rem 1.1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 191, 127, 0.08);
}

.help-stat-card strong {
  display: block;
  color: #fff8f0;
  font-size: 1.04rem;
}

.help-stat-card span {
  display: block;
  margin-top: 0.45rem;
  color: #c2b19f;
  line-height: 1.6;
}

.help-section {
  margin-top: 2rem;
  border-radius: 28px;
  padding: 2rem;
}

.help-entry-grid,
.help-problem-grid,
.help-step-grid,
.help-module-list,
.help-assistant-layout {
  display: grid;
  gap: 1.4rem;
}

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

.help-entry-card,
.help-info-card,
.help-step-card,
.help-module-card {
  border-radius: 22px;
  padding: 1.5rem;
}

.help-entry-kicker {
  display: inline-flex;
  color: var(--hub-cyan);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.help-entry-card h3,
.help-info-card h3,
.help-step-card h3,
.help-module-card h3,
.help-assistant-answer h3,
.help-contact-copy h3 {
  margin: 0.7rem 0 0;
  color: #fff7ee;
  font-size: 1.4rem;
  letter-spacing: -0.04em;
}

.help-entry-card p,
.help-info-card p,
.help-step-card p,
.help-module-card p,
.help-output-note,
.help-flow-note,
.help-contact-copy p,
.help-assistant-answer p {
  color: #d8c9b8;
  line-height: 1.8;
}

.help-problem-grid,
.help-assistant-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.help-info-card ul,
.help-module-card ul,
.help-faq-item p,
.help-flow-list {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  color: #e2d5c6;
  line-height: 1.8;
}

.help-info-card li,
.help-module-card li,
.help-flow-list li {
  margin: 0.45rem 0;
}

.help-step-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.help-step-card b {
  color: var(--hub-cyan);
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.help-module-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.help-module-sub,
.help-module-foot {
  margin-top: 0.9rem;
}

.help-module-tip {
  margin-top: 1rem;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(255, 184, 111, 0.1);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(55, 38, 20, 0.72), rgba(40, 27, 13, 0.56)),
    rgba(255, 255, 255, 0.02);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.help-module-tip strong {
  display: block;
  margin-bottom: 0.55rem;
  color: #fff8f0;
  font-size: 1rem;
  line-height: 1.55;
}

.help-module-tip p {
  margin: 0.42rem 0 0;
}

.help-module-tip ul {
  margin-top: 0.72rem;
}

.help-module-tip code {
  padding: 0.12rem 0.4rem;
  border: 1px solid rgba(255, 188, 115, 0.15);
  border-radius: 999px;
  background: rgba(255, 185, 106, 0.08);
  color: #ffcf9d;
  font-size: 0.88em;
  font-family: "Space Grotesk", "JetBrains Mono", monospace;
}

.help-output-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.help-output-chip {
  padding: 0.8rem 1rem;
  border-radius: 999px;
  color: #ffefde;
  border: 1px solid rgba(255, 191, 127, 0.12);
  background: rgba(255, 127, 0, 0.07);
  font-size: 0.96rem;
  font-weight: 700;
}

.help-faq-list {
  display: grid;
  gap: 1rem;
}

.help-faq-item {
  border-radius: 18px;
  border: 1px solid rgba(255, 191, 127, 0.1);
  background: rgba(255, 255, 255, 0.03);
  padding: 1rem 1.15rem;
}

.help-faq-item summary {
  cursor: pointer;
  color: #fff7ee;
  font-weight: 700;
  list-style: none;
}

.help-faq-item summary::-webkit-details-marker {
  display: none;
}

.help-faq-item p {
  margin: 0.85rem 0 0;
  padding-left: 0;
}

.help-assistant-questions {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 0.85rem;
}

.assistant-chip {
  padding: 0.95rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 191, 127, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: #f7e7d6;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.assistant-chip:hover,
.assistant-chip.is-active {
  transform: translateY(-2px);
  border-color: rgba(255, 127, 0, 0.4);
  background: rgba(255, 127, 0, 0.1);
  color: #fff8f1;
}

.help-assistant-answer {
  border-radius: 22px;
  padding: 1.5rem;
}

.help-contact-card {
  border-radius: 24px;
  padding: 1.4rem;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 1.3rem;
  align-items: center;
}

.help-contact-qr {
  display: grid;
  place-items: center;
  border-radius: 20px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
}

.help-contact-qr img {
  width: 100%;
  max-width: 180px;
  border-radius: 12px;
  display: block;
}

.poster-shell {
  width: min(1480px, calc(100vw - 4rem));
  margin: 0 auto;
  padding: 2rem 0 4rem;
}

.poster-card {
  border-radius: 34px;
  padding: 2.4rem;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 360px;
  gap: 2rem;
}

.poster-brand {
  margin: 0;
  color: var(--hub-cyan);
  font-size: 1rem;
  font-weight: 800;
}

.poster-card h1 {
  margin: 1rem 0 0;
  color: #fff9f2;
  font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
  font-size: clamp(3rem, 5.8vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.poster-card h2 {
  margin: 1.4rem 0 0;
  color: #ffefde;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.45;
}

.poster-lead {
  max-width: 760px;
  margin: 1.5rem 0 0;
  color: #decfbf;
  font-size: 1.08rem;
  line-height: 1.9;
}

.poster-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.poster-feature-grid article {
  border-radius: 22px;
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 191, 127, 0.1);
}

.poster-feature-grid strong {
  display: block;
  color: #fff8f1;
  font-size: 1.1rem;
}

.poster-feature-grid span {
  display: block;
  margin-top: 0.55rem;
  color: #cdbba8;
  line-height: 1.7;
}

.poster-value-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.poster-value-list span {
  padding: 0.72rem 1rem;
  border-radius: 999px;
  color: #fff6ec;
  font-weight: 800;
  background: linear-gradient(135deg, rgba(255, 127, 0, 0.18), rgba(255, 158, 24, 0.16));
  border: 1px solid rgba(255, 191, 127, 0.14);
}

.poster-qr-panel {
  display: flex;
}

.poster-qr-box {
  width: 100%;
  border-radius: 28px;
  padding: 1.4rem;
  text-align: center;
}

.poster-qr {
  width: 196px;
  min-height: 196px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  padding: 10px;
  border-radius: 20px;
  background: #ffffff;
}

.poster-qr img {
  display: block;
  width: 176px !important;
  height: 176px !important;
}

.poster-qr-title {
  margin: 1.2rem 0 0;
  color: #fff8f0;
  font-size: 1.06rem;
  font-weight: 800;
}

.poster-qr-copy {
  margin: 0.7rem 0 0;
  color: #d1c1af;
  line-height: 1.8;
}

.poster-url {
  display: inline-block;
  margin-top: 1rem;
  color: var(--hub-cyan);
  font-size: 0.86rem;
  word-break: break-all;
}

@media (max-width: 1120px) {
  .help-hero,
  .help-problem-grid,
  .help-assistant-layout,
  .poster-card {
    grid-template-columns: 1fr;
  }

  .help-step-grid,
  .help-module-list,
  .help-entry-grid,
  .poster-feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .help-main,
  .poster-shell {
    width: min(100vw - 1.5rem, 100%);
  }

  .help-section,
  .poster-card {
    padding: 1.2rem;
    border-radius: 22px;
  }

  .help-hero {
    padding-top: 2rem;
  }

  .help-contact-card {
    grid-template-columns: 1fr;
  }

  .help-hero-actions {
    flex-direction: column;
  }
}

.hub-bars span:nth-child(1) { height: 42%; opacity: 0.62; }
.hub-bars span:nth-child(2) { height: 64%; opacity: 0.72; }
.hub-bars span:nth-child(3) { height: 90%; opacity: 0.86; }
.hub-bars span:nth-child(4) { height: 52%; opacity: 1; }
.hub-bars span:nth-child(5) { height: 74%; opacity: 0.68; }

.hub-console-strip {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  margin: 1.5rem calc(50% - 50vw) 0;
  padding: 1.4rem max(2rem, calc((100vw - 1480px) / 2 + 2rem));
  border-top: 1px solid rgba(255, 158, 24, 0.2);
  border-bottom: 1px solid rgba(255, 191, 127, 0.08);
  background: rgba(18, 11, 3, 0.7);
  color: #a59380;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.hub-console-strip div {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.hub-console-strip strong {
  color: var(--hub-purple);
}

.hub-console-strip p {
  margin: 0;
}

.hub-console-right {
  color: #d6c6b4;
}

.hub-online-dot {
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: #d87b2b;
  box-shadow: 0 0 16px rgba(216, 123, 43, 0.4);
}

.hub-wish {
  position: relative;
  min-height: 350px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 2rem;
  align-items: center;
  margin-top: 0;
  border-radius: 32px;
  border: 1px solid rgba(255, 191, 127, 0.11);
  background:
    linear-gradient(90deg, rgba(35, 23, 10, 0.92), rgba(40, 27, 13, 0.72)),
    radial-gradient(circle at 26% 72%, rgba(255, 127, 0, 0.11), transparent 28%);
  padding: 3.6rem;
}

.hub-wish::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255,0.2), transparent 11%),
    radial-gradient(circle at 72% 60%, rgba(255, 255, 255,0.16), transparent 14%);
  pointer-events: none;
}

.hub-wish-copy,
.hub-wish-stats {
  position: relative;
  z-index: 1;
}

.hub-wish h2 {
  margin: 0;
  color: #fff8f0;
  font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
  font-size: clamp(2rem, 3vw, 3rem);
  letter-spacing: -0.06em;
}

.hub-wish h2 span {
  color: var(--hub-cyan);
}

.hub-wish p {
  max-width: 700px;
  margin: 1.2rem 0 0;
  color: #dfd1c2;
  font-size: 1.05rem;
  line-height: 1.8;
  font-weight: 600;
}

.hub-wish-form {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  max-width: 740px;
}

.hub-wish-form textarea,
.hub-wish-form input {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255, 191, 127, 0.13);
  background: rgba(20, 12, 4, 0.68);
  color: #fff7ee;
  padding: 0.85rem 0.95rem;
  font: inherit;
}

.hub-wish-form textarea {
  grid-column: 1 / -1;
  resize: vertical;
}

.hub-wish-form button {
  width: fit-content;
  min-width: 220px;
  min-height: 3.8rem;
  border-radius: 10px;
  border: none;
  color: #191006;
  background: #fff2e5;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 1rem;
}

.hub-wish-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.hub-wish-stats > div {
  min-height: 110px;
  display: grid;
  align-content: center;
  border-radius: 20px;
  padding: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.hub-wish-stats strong {
  color: var(--hub-cyan);
  font-size: 1.65rem;
  font-family: "Space Grotesk", sans-serif;
}

.hub-wish-stats span {
  color: #c8b8a7;
  font-size: 0.82rem;
}

.hub-wish-stats .hub-wish-feed {
  grid-column: 1 / -1;
}

.hub-wish-feed b {
  color: #fff8f0;
  font-size: 1rem;
}

.hub-finance-console {
  margin-top: 2.6rem;
  border-radius: 28px;
  border: 1px solid rgba(255, 191, 127, 0.12);
  background: rgba(30, 20, 9, 0.76);
  padding: 2rem;
}

.hub-section-title {
  margin-bottom: 1.3rem;
}

.hub-section-title span {
  color: var(--hub-cyan);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
}

.hub-section-title h2 {
  margin: 0.35rem 0 0.5rem;
  color: #fff8f0;
  font-size: clamp(1.45rem, 2.4vw, 2.3rem);
}

.hub-section-title p {
  margin: 0;
  color: var(--hub-muted);
  line-height: 1.7;
}

.hub-upload-form {
  margin-top: 1.2rem;
}

.home-inline-progress {
  grid-column: 1 / -1;
  margin-top: 0.15rem;
  padding: 1rem 1.1rem 1.1rem;
  border: 1px solid rgba(164, 126, 84, 0.22);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(28, 18, 7, 0.88), rgba(36, 23, 9, 0.94));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.home-inline-progress[hidden] {
  display: none !important;
}

.home-inline-progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.home-inline-progress-head strong {
  color: #fff7ee;
  font-size: 1.15rem;
}

.home-inline-progress p {
  margin: 0.85rem 0 0;
  color: #d1b79a;
  line-height: 1.66;
  font-size: 0.96rem;
}

.home-rocket-track {
  position: relative;
  width: 100%;
  height: 2.9rem;
  margin-top: 1rem;
  border-radius: 999px;
  background:
    radial-gradient(circle at 12% 50%, rgba(238, 136, 34, 0.16), transparent 20%),
    linear-gradient(90deg, rgba(238, 136, 34, 0.08), rgba(237, 160, 58, 0.08)),
    rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(211, 166, 116, 0.12);
  overflow: hidden;
}

.home-rocket-track::before {
  content: "";
  position: absolute;
  inset: 50% 1rem auto 1rem;
  height: 100%;
  max-height: 2px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, rgba(238, 136, 34, 0.2), rgba(237, 160, 58, 0.28));
}

.home-rocket-glow {
  position: absolute;
  inset: 0 auto 0 0;
  width: 10%;
  background: linear-gradient(90deg, rgba(238, 136, 34, 0.2), rgba(255, 177, 91, 0.18), rgba(237, 160, 58, 0.12), transparent);
  transition: width 0.45s ease;
}

.home-rocket-runner {
  position: absolute;
  top: 50%;
  left: calc(8% - 1.1rem);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  color: #ffefdf;
  background: radial-gradient(circle at 35% 30%, #ffbe7c, #ff9c2d 58%, #ffa836 100%);
  box-shadow: 0 0 24px rgba(238, 136, 34, 0.22);
  transform: translateY(-50%) rotate(12deg);
  transition: left 0.45s ease;
  animation: homeRocketBob 1.2s ease-in-out infinite;
}

.home-rocket-runner .material-symbols-outlined {
  font-size: 1.1rem;
  font-variation-settings: "FILL" 1, "wght" 700, "GRAD" 0, "opsz" 24;
}

.home-inline-progress-hint {
  display: block;
  margin-top: 0.8rem;
  color: #bb9f7f;
  font-size: 0.92rem;
}

@keyframes homeRocketBob {
  0%,
  100% {
    transform: translateY(-50%) rotate(12deg);
  }

  50% {
    transform: translateY(calc(-50% - 3px)) rotate(12deg);
  }
}

.hub-footer {
  width: min(1480px, calc(100vw - 4rem));
  margin: 6rem auto 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  color: #92816f;
  font-size: 0.82rem;
}

.hub-footer nav {
  display: flex;
  gap: 2.6rem;
}

.hub-footer a {
  color: #968572;
  text-decoration: none;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

@media (max-width: 980px) {
  .hub-header {
    grid-template-columns: 1fr auto;
    height: auto;
    padding: 0.9rem 1rem;
  }

  .hub-nav {
    order: 3;
    grid-column: 1 / -1;
    justify-content: flex-start;
    gap: 1.4rem;
    overflow-x: auto;
  }

  .hub-tools {
    gap: 0.45rem;
  }

  .hub-search {
    display: none;
  }

  .hub-main,
  .hub-footer {
    width: min(100vw - 1.4rem, 1480px);
  }

  .hub-hero {
    min-height: auto;
    padding: 3rem 0 2.3rem;
  }

  .hub-hero h1 {
    font-size: clamp(3.1rem, 12vw, 5.2rem);
  }

  .hub-hero p {
    font-size: 1rem;
  }

  .hub-product-grid,
  .hub-wish {
    grid-template-columns: 1fr;
  }

  .hub-product-card {
    min-height: 420px;
    padding: 2rem;
  }

  .hub-product-card-finance::after {
    right: 2rem;
    top: 2.4rem;
    font-size: 4.6rem;
  }

  .hub-console-strip {
    grid-template-columns: 1fr;
    gap: 0.8rem;
    padding: 1.2rem 1rem;
  }

  .hub-wish {
    padding: 2rem;
  }

  .hub-wish-form {
    grid-template-columns: 1fr;
  }

  .hub-wish-form textarea {
    grid-column: auto;
  }

  .hub-footer {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 3.5rem;
  }
}

@media (max-width: 640px) {
  .hub-brand {
    font-size: 1rem;
  }

  .hub-icon {
    width: 1.8rem;
    height: 1.8rem;
  }

  .hub-hero {
    padding-top: 2rem;
  }

  .hub-hero h1 {
    font-size: clamp(2.55rem, 14vw, 4rem);
    line-height: 1.04;
  }

  .kuaishou-mvp-main .kuaishou-title {
    font-size: clamp(2.45rem, 12vw, 4rem);
    line-height: 1.12;
  }

  .kuaishou-title-line {
    white-space: normal;
  }

  .hub-hero p {
    margin-top: 1.2rem;
    line-height: 1.7;
  }

  .hub-product-grid {
    gap: 1rem;
  }

  .hub-product-card {
    min-height: 360px;
    border-radius: 22px;
    padding: 1.35rem;
  }

  .hub-product-card h2 {
    margin-top: 1.4rem;
  }

  .hub-card-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .hub-primary-action,
  .hub-secondary-action {
    width: 100%;
  }

  .hub-platforms {
    flex-wrap: wrap;
  }

  .hub-platforms em {
    width: 100%;
    margin: 0.4rem 0 0;
  }

  .hub-wish {
    border-radius: 22px;
    padding: 1.35rem;
  }

  .hub-wish-stats {
    grid-template-columns: 1fr;
  }

  .hub-wish-stats .hub-wish-feed {
    grid-column: auto;
  }

  .hub-wish-form button {
    width: 100%;
  }

  .hub-finance-console {
    padding: 1rem;
    border-radius: 22px;
  }

  .hub-footer nav {
    flex-wrap: wrap;
    gap: 1rem 1.4rem;
  }

  .home-inline-progress {
    padding: 0.95rem;
  }

  .home-inline-progress-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

.mvp-filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  padding: 1rem 1.2rem;
  margin-bottom: 1.2rem;
  border: 1px solid rgba(146, 112, 75, 0.18);
  border-radius: 18px;
  background: rgba(34, 23, 11, 0.76);
}

.mvp-filter-bar strong {
  display: block;
  color: #fff7ee;
  font-size: 1rem;
}

.mvp-filter-bar span {
  display: block;
  margin-top: 0.25rem;
  color: #c5ab8d;
  font-size: 0.88rem;
}

.mvp-month-filter select {
  min-width: 12rem;
  padding: 0.75rem 0.95rem;
  border: 1px solid rgba(158, 126, 90, 0.32);
  border-radius: 12px;
  background: #221609;
  color: #fff7ee;
}

.mvp-kpi-grid-rich {
  grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
}

.mvp-detail-card {
  border: 1px solid rgba(146, 112, 75, 0.18);
  border-radius: 20px;
  background: rgba(34, 23, 11, 0.78);
  overflow: hidden;
}

.mvp-detail-card summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  cursor: pointer;
  color: #fff7ee;
  font-weight: 700;
  list-style: none;
}

.mvp-detail-card summary::-webkit-details-marker {
  display: none;
}

.mvp-detail-card[open] summary {
  border-bottom: 1px solid rgba(146, 112, 75, 0.18);
}

.mvp-detail-tools {
  display: flex;
  justify-content: flex-end;
  padding: 0.85rem 1.2rem 0;
}

.mvp-loading {
  overflow: hidden;
}

.mvp-progress-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(18, 11, 4, 0.72);
  backdrop-filter: blur(12px);
}

.mvp-progress-overlay[hidden] {
  display: none !important;
}

.mvp-progress-dialog {
  width: min(100%, 30rem);
  padding: 1.5rem 1.5rem 1.35rem;
  border: 1px solid rgba(164, 126, 84, 0.24);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(31, 21, 9, 0.98), rgba(35, 23, 10, 0.96));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.mvp-progress-dialog h3 {
  margin: 1rem 0 0.5rem;
  color: #fff7ee;
  font-size: 1.45rem;
}

.mvp-progress-dialog p {
  margin: 0;
  color: #d1b79a;
  line-height: 1.7;
}

.mvp-progress-track {
  width: 100%;
  height: 0.8rem;
  margin-top: 1.2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.mvp-progress-bar {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ee8822, #eda03a);
  box-shadow: 0 0 22px rgba(238, 136, 34, 0.28);
  transition: width 0.4s ease;
}

.mvp-progress-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 0.85rem;
}

.mvp-progress-meta strong {
  color: #fff7ee;
  font-size: 1.3rem;
}

.mvp-progress-meta span {
  color: #bb9f7f;
  font-size: 0.92rem;
}

@media (max-width: 640px) {
  .mvp-filter-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .mvp-month-filter select {
    width: 100%;
    min-width: 0;
  }

  .mvp-progress-dialog {
    padding: 1.25rem;
  }
}

/* ===== Boss Console Refresh 2026-05 ===== */
body.boss-console-page,
body.boss-result-page,
body.boss-account-page {
  --boss-bg: #120b03;
  --boss-surface: rgba(34, 22, 9, 0.94);
  --boss-surface-soft: rgba(38, 25, 10, 0.88);
  --boss-border: rgba(255, 155, 53, 0.16);
  --boss-cyan: #ff901f;
  --boss-cyan-strong: #ff9b34;
  --boss-blue: #ff9c2d;
  --boss-purple: #ffaa38;
  --boss-green: #da7418;
  --boss-red: #ffc24f;
  --boss-yellow: #ff8138;
  --boss-text: #fff9f2;
  --boss-muted: #c4ad94;
  background:
    radial-gradient(circle at 8% 14%, rgba(255, 138, 18, 0.12), transparent 24%),
    radial-gradient(circle at 88% 18%, rgba(255, 168, 52, 0.12), transparent 22%),
    linear-gradient(180deg, #120b04 0%, #1c1207 46%, #110b04 100%);
  color: var(--boss-text);
  font-family: "Manrope", "Noto Sans SC", sans-serif;
}

body.boss-console-page::before,
body.boss-result-page::before,
body.boss-account-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background:
    linear-gradient(rgba(150, 102, 48, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(150, 102, 48, 0.08) 1px, transparent 1px);
  background-size: 64px 64px;
}

.boss-topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: minmax(260px, auto) 1fr minmax(260px, auto);
  align-items: center;
  gap: 1.4rem;
  height: 76px;
  padding: 0 1.75rem;
  border-bottom: 1px solid rgba(255, 162, 65, 0.1);
  background: rgba(18, 11, 3, 0.88);
  backdrop-filter: blur(18px);
}

.boss-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  color: #fff7ee;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.08rem;
  letter-spacing: -0.03em;
}

.boss-brand-mark {
  display: inline-grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  color: #180f06;
  background: linear-gradient(135deg, #ff9121, #ff9b2c 58%, #ffab39);
  box-shadow: 0 0 18px rgba(255, 144, 31, 0.35);
}

.boss-brand-mobile,
.boss-toolbar-menu {
  display: none;
}

.boss-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.25rem;
}

.boss-nav a {
  position: relative;
  color: #cabbaa;
  text-decoration: none;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 0.95rem;
}

.boss-nav a.is-active,
.boss-nav a:hover {
  color: var(--boss-cyan);
}

.boss-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1.05rem;
  height: 2px;
  background: var(--boss-cyan);
  box-shadow: 0 0 16px rgba(255, 144, 31, 0.58);
}

.boss-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.8rem;
}

.boss-search {
  min-width: 240px;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.8rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  background: rgba(255, 255, 255, 0.04);
  color: #c8a57f;
}

.boss-search input {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: #fff5eb;
  font: inherit;
}

.boss-search input::placeholder {
  color: #978067;
}

.boss-toolbar-icon,
.boss-result-top-action {
  width: 2.15rem;
  height: 2.15rem;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  color: #f6e8d8;
}

.boss-result-top-action {
  text-decoration: none;
  border: 1px solid rgba(255, 162, 65, 0.18);
  background: rgba(255, 255, 255, 0.04);
}

.boss-toolbar-menu {
  display: none;
}

.boss-stage,
.boss-result-main {
  position: relative;
  z-index: 1;
  width: min(1480px, calc(100vw - 3rem));
  margin: 0 auto;
}

.boss-grid-shell {
  display: block;
  padding: 2.1rem 0 0;
}

.boss-left-column,
.boss-right-column {
  width: 100%;
}

.boss-right-column {
  margin-top: 1.6rem;
}

.boss-hero-panel,
.boss-core-card,
.boss-wish-panel,
.boss-console-panel,
.boss-result-hero,
.boss-diagnosis-card,
.boss-metric-card,
.boss-result-mainchart,
.boss-side-panel,
.boss-table-console,
.boss-console-card {
  border: 1px solid var(--boss-border);
  background: linear-gradient(180deg, rgba(36, 23, 9, 0.96), rgba(28, 18, 7, 0.92));
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.boss-hero-panel {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  border-radius: 30px;
  padding: 2.8rem 2.8rem 2.4rem;
}

.boss-hero-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(21, 13, 4, 0.18), transparent 48%),
    linear-gradient(180deg, transparent 0%, rgba(255, 168, 52, 0.08) 100%),
    radial-gradient(circle at 85% 28%, rgba(255, 170, 56, 0.22), transparent 28%);
  pointer-events: none;
}

.boss-hero-radar {
  position: absolute;
  left: -10rem;
  top: 1rem;
  width: 20rem;
  height: 20rem;
  opacity: 0.34;
  border-radius: 50%;
  border: 1px solid rgba(255, 155, 53, 0.24);
  box-shadow:
    0 0 0 28px rgba(255, 155, 53, 0.06),
    0 0 0 56px rgba(255, 155, 53, 0.035),
    0 0 0 84px rgba(255, 155, 53, 0.025);
}

.boss-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 920px;
  text-align: center;
  margin: 0 auto;
}

.boss-hero-copy h1 {
  margin: 0;
  font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
  font-size: clamp(4rem, 6.9vw, 7rem);
  line-height: 0.96;
  letter-spacing: -0.08em;
  color: #fff8f0;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.boss-hero-copy h1 span {
  color: transparent;
  background: linear-gradient(90deg, #ff9326 0%, #ff9b2b 48%, #ffab39 92%);
  -webkit-background-clip: text;
  background-clip: text;
}

.boss-hero-copy p {
  margin: 1.5rem auto 0;
  max-width: 760px;
  color: #d8c9b9;
  font-size: 1.08rem;
  line-height: 1.85;
}

.boss-quick-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1.7rem;
}

.boss-quick-tags span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.72rem 0.9rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 162, 65, 0.12);
  color: #ffefdf;
  font-size: 0.92rem;
  font-weight: 700;
}

.boss-quick-tags .material-symbols-outlined {
  font-size: 1rem;
  color: var(--boss-cyan);
}

.boss-core-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
  margin-top: 1.25rem;
}

.boss-core-card {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: 24px;
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
}

.boss-chip {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.34rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 144, 31, 0.08);
  border: 1px solid rgba(255, 144, 31, 0.24);
  color: var(--boss-cyan);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.15em;
}

.boss-chip-purple {
  background: rgba(255, 170, 56, 0.1);
  border-color: rgba(255, 170, 56, 0.26);
  color: #ffd193;
}

.boss-card-icon {
  margin: 1rem 0 1.1rem;
  width: 5rem;
  height: 5rem;
  display: grid;
  place-items: center;
  border-radius: 20px;
  border: 1px solid rgba(255, 144, 31, 0.2);
  background: rgba(126, 75, 20, 0.22);
  color: var(--boss-cyan);
  font-size: 2rem;
}

.boss-core-card h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3rem);
  letter-spacing: -0.05em;
  color: #fffaf4;
}

.boss-core-card p {
  margin: 0.95rem 0 0;
  max-width: 540px;
  color: #d7c7b5;
  line-height: 1.8;
}

.boss-primary-action,
.boss-secondary-action,
.boss-mini-btn,
.boss-inline-link,
.boss-result-btn,
.boss-generate-btn {
  text-decoration: none;
  transition: transform 160ms ease, filter 160ms ease, border-color 160ms ease;
}

.boss-primary-action:hover,
.boss-secondary-action:hover,
.boss-mini-btn:hover,
.boss-result-btn:hover,
.boss-generate-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
}

.boss-primary-action {
  margin-top: auto;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  min-height: 3.75rem;
  border-radius: 12px;
  background: linear-gradient(90deg, #ff9325, #ffaa55);
  color: #180f05;
  font-weight: 900;
}

.boss-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.9rem;
  color: var(--boss-cyan);
  font-weight: 700;
}

.boss-platform-pills {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
  color: #b8a48f;
  font-size: 0.8rem;
}

.boss-platform-pills span {
  min-width: 2.2rem;
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255,0.08);
  background: rgba(255, 255, 255,0.03);
  text-align: center;
  color: #fff6ed;
}

.boss-platform-pills em {
  font-style: normal;
}

.boss-core-card-roi {
  background:
    radial-gradient(circle at 84% 76%, rgba(255, 170, 56, 0.14), transparent 22%),
    linear-gradient(180deg, rgba(37, 25, 11, 0.96), rgba(30, 22, 12, 0.95));
}

.boss-roi-bars {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.55rem;
  align-items: end;
  height: 120px;
  margin: 1.4rem 0 1rem;
}

.boss-roi-bars span {
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, #ffab38, #6d4816);
}
.boss-roi-bars span:nth-child(1){height:38%;opacity:.55}
.boss-roi-bars span:nth-child(2){height:58%;opacity:.68}
.boss-roi-bars span:nth-child(3){height:82%;opacity:.9}
.boss-roi-bars span:nth-child(4){height:46%;opacity:.8}
.boss-roi-bars span:nth-child(5){height:67%;opacity:1}

.boss-secondary-action {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.45rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 170, 56, 0.32);
  background: rgba(255, 170, 56, 0.12);
  color: #fff7ed;
  font-weight: 800;
}

.boss-roi-foot {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.9rem;
  color: #b1a08d;
  font-size: 0.84rem;
}

.boss-status-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-top: 1.2rem;
  padding: 1rem 1.2rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 170, 56, 0.16);
  background: rgba(21, 13, 4, 0.7);
  color: #b8a48f;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}

.boss-status-strip div {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.boss-status-strip i,
.boss-status-strip .material-symbols-outlined {
  font-size: 1rem;
  color: var(--boss-cyan);
}

.boss-status-strip strong {
  margin-left: auto;
  color: #fff0df;
}

.boss-wish-panel {
  margin-top: 1.2rem;
  border-radius: 24px;
  padding: 1.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(260px, 0.75fr);
  gap: 1rem;
}

.boss-wish-copy h2 {
  margin: 0;
  font-size: clamp(1.8rem, 2.5vw, 2.7rem);
  letter-spacing: -0.05em;
}

.boss-wish-copy h2 span { color: var(--boss-cyan); }

.boss-wish-copy p {
  margin: 0.85rem 0 0;
  color: #d6c6b5;
  line-height: 1.75;
}

.boss-wish-form {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.boss-wish-form input,
.boss-wish-form textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255, 162, 65, 0.12);
  background: rgba(255, 255, 255,0.03);
  color: #fff7ee;
  padding: 0.85rem 0.95rem;
  font: inherit;
}

.boss-wish-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
}

.boss-wish-row button {
  min-width: 140px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(90deg, #ff9428, #ffa84e);
  color: #180f05;
  font: inherit;
  font-weight: 900;
}

.boss-wish-side {
  display: grid;
  gap: 0.8rem;
}

.boss-mini-stat,
.boss-mini-note {
  border-radius: 18px;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255,0.08);
  background: rgba(255, 255, 255,0.04);
}

.boss-mini-stat strong {
  display: block;
  color: var(--boss-cyan);
  font-size: 2rem;
  font-family: "Space Grotesk", sans-serif;
}

.boss-mini-stat span,
.boss-mini-note span {
  color: #ccbaa6;
}

.boss-mini-note strong {
  display: block;
  margin-bottom: 0.3rem;
  color: #fff8f0;
}

.boss-console-panel {
  border-radius: 28px;
  padding: 2rem;
}

.boss-console-head span,
.boss-console-label {
  color: var(--boss-cyan);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
}

.boss-console-head h2,
.boss-result-hero-copy h1 {
  margin: 0.55rem 0 0;
  font-size: clamp(2rem, 3.2vw, 3rem);
  letter-spacing: -0.05em;
  color: #fff9f2;
}

.boss-console-head p,
.boss-result-hero-copy p {
  margin: 0.75rem 0 0;
  color: #d1bda7;
  line-height: 1.75;
}

.boss-console-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.4rem;
}

.boss-console-card {
  border-radius: 20px;
  padding: 1.15rem;
}

.boss-console-card-icon {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid rgba(255, 162, 65, 0.18);
  background: rgba(255, 162, 65, 0.08);
  color: var(--boss-cyan);
  font-size: 1.35rem;
}

.boss-console-card h3 {
  margin: 0.9rem 0 0;
  font-size: 1.08rem;
  color: #fff6ed;
}

.boss-console-card p {
  margin: 0.55rem 0 0;
  color: #c6b39f;
  line-height: 1.7;
  font-size: 0.92rem;
}

.boss-mini-btn {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2.8rem;
  padding: 0.6rem 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 162, 65, 0.16);
  background: rgba(255, 255, 255,0.03);
  color: #fff6ed;
  font-size: 0.9rem;
  font-weight: 700;
}

.boss-upload-form {
  margin-top: 1.35rem;
}

.boss-platform-mode {
  border: 0;
  padding: 0;
  margin: 0;
}

.boss-platform-mode legend {
  margin-bottom: 0.8rem;
  color: #fff6ed;
  font-weight: 800;
}

.boss-platform-mode {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.boss-mode-card {
  position: relative;
  min-height: 108px;
  display: grid;
  align-content: start;
  gap: 0.2rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255,0.08);
  background: rgba(255, 255, 255,0.03);
  padding: 1rem;
  cursor: pointer;
}

.boss-mode-card input {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.boss-mode-card .material-symbols-outlined {
  color: var(--boss-cyan);
}

.boss-mode-card b {
  color: #fff8f1;
}

.boss-mode-card em {
  color: #c3b09c;
  font-style: normal;
  line-height: 1.65;
}

.boss-mode-card:has(input:checked) {
  border-color: rgba(255, 144, 31, 0.4);
  background: linear-gradient(180deg, rgba(73, 46, 18, 0.34), rgba(35, 24, 11, 0.92));
  box-shadow: 0 0 0 1px rgba(255, 144, 31, 0.08), inset 0 0 0 1px rgba(255, 144, 31, 0.08);
}

.boss-upload-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem;
  margin-top: 1.1rem;
}

.boss-file-card {
  display: grid;
  gap: 0.55rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255,0.08);
  background: rgba(255, 255, 255,0.03);
  padding: 1rem;
}

.boss-file-card input[type="file"] {
  width: 100%;
  color: #fff4e8;
}

.boss-file-title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.boss-file-title span {
  color: #fff7ee;
  font-weight: 800;
}

.boss-file-title em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  min-height: 1.5rem;
  padding: 0 0.45rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-style: normal;
  color: #ddbe9c;
  background: rgba(255, 255, 255,0.06);
}

.boss-file-card-required .boss-file-title em {
  color: #ffa97f;
  background: rgba(255, 194, 79, 0.12);
}

.boss-file-card small,
.boss-check-card small {
  color: #bca387;
  line-height: 1.6;
}

.boss-console-bottom-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.9fr);
  gap: 0.95rem;
  margin-top: 0.95rem;
}

.boss-date-card,
.boss-check-card {
  display: grid;
  gap: 0.55rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255,0.08);
  background: rgba(255, 255, 255,0.03);
  padding: 1rem;
}

.boss-date-card > span,
.boss-check-card > span {
  color: #fff7ee;
  font-weight: 800;
}

.boss-date-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  min-height: 3rem;
  padding: 0 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 162, 65, 0.12);
  background: rgba(19, 12, 4, 0.68);
}

.boss-date-inner input {
  width: 100%;
  border: 0;
  background: transparent;
  color: #fff6ed;
  font: inherit;
}

.boss-check-card {
  grid-template-columns: auto 1fr;
  align-items: center;
}

.boss-check-card input {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--boss-cyan);
}

.boss-check-card small {
  grid-column: 2;
}

.boss-generate-btn {
  width: 100%;
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 4.1rem;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(90deg, #ff9427, #ffc284);
  color: #1b1107;
  font: inherit;
  font-size: 1.15rem;
  font-weight: 900;
}

.boss-inline-progress {
  margin-top: 1rem;
}

.team-inline-progress {
  margin-top: 1.05rem;
  border-radius: 12px;
}

.boss-footer {
  width: min(1480px, calc(100vw - 3rem));
  margin: 3rem auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: #a08a71;
  font-size: 0.8rem;
}

.boss-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem 1.8rem;
}

.boss-footer a {
  color: #a08b74;
  text-decoration: none;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
}

.boss-mobile-nav,
.boss-result-mobile-head {
  display: none;
}

/* result */
.boss-result-main {
  padding: 1.5rem 0 5rem;
}

.boss-result-hero {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.25rem;
  border-radius: 26px;
  padding: 1.5rem;
}

.boss-result-status-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.boss-result-status-chips span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255,0.08);
  background: rgba(255, 255, 255,0.04);
  font-size: 0.88rem;
  font-weight: 700;
}

.boss-result-status-chips .is-green { color: #f09f57; }
.boss-result-status-chips .is-blue { color: #ffa84a; }
.boss-result-status-chips .is-purple { color: #ffcd89; }

.boss-result-actions,
.boss-result-bottom-actions {
  display: flex;
  gap: 0.85rem;
}

.boss-result-actions {
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  min-width: min(35rem, 42vw);
}

.boss-result-action-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.boss-result-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 3.4rem;
  padding: 0.85rem 1.25rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255,0.08);
  font-weight: 800;
}

.boss-result-btn-pdf {
  color: #ffdab8;
  background: rgba(218, 116, 24, 0.08);
  border-color: rgba(218, 116, 24, 0.22);
}

.boss-result-btn-excel {
  color: #ffecd9;
  background: rgba(255, 144, 31, 0.08);
  border-color: rgba(255, 144, 31, 0.22);
}

.boss-result-btn-ai {
  color: #fff7ee;
  background: linear-gradient(135deg, rgba(255, 144, 31, 0.1), rgba(255, 170, 56, 0.12));
  border-color: rgba(255, 193, 120, 0.24);
}

.boss-result-action-note {
  display: grid;
  gap: 0.3rem;
  max-width: 19rem;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 171, 84, 0.18);
  background: rgba(45, 29, 11, 0.82);
  color: #ffecd9;
}

.boss-result-action-note strong {
  font-size: 0.98rem;
  font-weight: 800;
}

.boss-result-action-note span {
  color: #c7aa89;
  font-size: 0.85rem;
  line-height: 1.55;
}

.boss-currency-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 22px;
  border: 1px solid rgba(255, 168, 77, 0.2);
  background:
    radial-gradient(circle at top right, rgba(255, 183, 92, 0.16), transparent 30%),
    linear-gradient(135deg, rgba(48, 30, 10, 0.92), rgba(31, 20, 7, 0.88));
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.boss-currency-panel h2 {
  margin: 0.35rem 0 0;
  color: #fffaf5;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.1;
}

.boss-currency-panel p {
  margin: 0.45rem 0 0;
  color: #c4ac91;
  line-height: 1.65;
  font-size: 0.92rem;
}

.boss-currency-control {
  display: grid;
  gap: 0.52rem;
  justify-items: end;
}

.boss-currency-segments {
  display: inline-grid;
  grid-template-columns: repeat(3, minmax(6.4rem, 1fr));
  gap: 0.35rem;
  padding: 0.35rem;
  border-radius: 999px;
  border: 1px solid rgba(218, 177, 132, 0.18);
  background: rgba(18, 10, 2, 0.52);
}

.boss-currency-segments button {
  min-height: 2.45rem;
  padding: 0 0.9rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #c4ad94;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.boss-currency-segments button.is-active {
  color: #1f1306;
  background: linear-gradient(135deg, #ffb971, #ffb75c);
  box-shadow: 0 14px 26px rgba(255, 158, 51, 0.22);
}

.boss-currency-control small {
  color: #c6ab8d;
  font-size: 0.8rem;
}

.boss-currency-panel-compact {
  width: min(30rem, 100%);
  grid-template-columns: minmax(0, 1fr);
  gap: 0.65rem;
  margin-top: 0;
  padding: 0.68rem;
  border-radius: 18px;
  background:
    radial-gradient(circle at top right, rgba(255, 183, 92, 0.2), transparent 38%),
    linear-gradient(135deg, rgba(42, 26, 9, 0.92), rgba(31, 21, 9, 0.86));
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.boss-currency-compact-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0 0.1rem;
}

.boss-currency-compact-head span {
  color: #fff3e7;
  font-size: 0.86rem;
  font-weight: 800;
  white-space: nowrap;
}

.boss-currency-compact-head small {
  color: #ae9478;
  font-size: 0.72rem;
  font-weight: 700;
  text-align: right;
}

.boss-currency-panel-compact .boss-currency-segments {
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.25rem;
  padding: 0.24rem;
  border-radius: 14px;
}

.boss-currency-panel-compact .boss-currency-segments button {
  min-height: 2rem;
  padding: 0 0.45rem;
  border-radius: 11px;
  font-size: 0.74rem;
}

.boss-original-currency-line {
  margin-top: 0.28rem !important;
  color: #a28a6f !important;
  font-size: 0.78rem !important;
}

.boss-currency-panel-tip {
  display: block;
  padding: 0 0.1rem 0.05rem;
  color: #b39a7f;
  font-size: 0.71rem;
  line-height: 1.45;
}

.boss-ai-drawer {
  position: fixed;
  inset: 0;
  z-index: 140;
  pointer-events: none;
}

.boss-ai-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 9, 2, 0.56);
  opacity: 0;
  transition: opacity 180ms ease;
}

.boss-ai-drawer-panel {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  bottom: 1.1rem;
  width: min(34rem, calc(100vw - 1.5rem));
  padding: 1.25rem 1.25rem 1.5rem;
  border-radius: 28px;
  border: 1px solid rgba(255, 155, 53, 0.2);
  background:
    radial-gradient(circle at top right, rgba(255, 170, 56, 0.16), transparent 24%),
    radial-gradient(circle at 18% -4%, rgba(255, 144, 31, 0.1), transparent 24%),
    linear-gradient(180deg, rgba(36, 23, 8, 0.98), rgba(24, 15, 5, 0.96));
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(18px);
  transform: translateX(calc(100% + 2rem));
  transition: transform 220ms ease;
  overflow-y: auto;
}

.boss-ai-drawer.is-open {
  pointer-events: auto;
}

.boss-ai-drawer.is-open .boss-ai-drawer-backdrop {
  opacity: 1;
}

.boss-ai-drawer.is-open .boss-ai-drawer-panel {
  transform: translateX(0);
}

body.boss-ai-open {
  overflow: hidden;
}

.boss-ai-drawer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  position: sticky;
  top: -1.2rem;
  z-index: 3;
  margin: -1.2rem -1.2rem 0;
  padding: 1.2rem 1.2rem 1rem;
  background: linear-gradient(180deg, rgba(29, 19, 7, 0.98), rgba(29, 19, 7, 0.84), transparent);
  backdrop-filter: blur(12px);
}

.boss-ai-drawer-head .boss-console-label {
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  color: #ffc88f;
}

.boss-ai-drawer-head h2 {
  margin: 0.28rem 0 0;
  font-size: 2.15rem;
  line-height: 1.02;
  letter-spacing: -0.06em;
  color: #fffbf7;
}

.boss-ai-drawer-head p {
  margin: 0.48rem 0 0;
  color: #c4aa8e;
  line-height: 1.65;
  font-size: 0.92rem;
}

.boss-ai-drawer-close {
  width: 3.2rem;
  height: 3.2rem;
  border: 1px solid rgba(255, 155, 53, 0.16);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  color: #ffe1c1;
  font: inherit;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
}

.boss-ai-summary-card,
.boss-ai-roi-card,
.boss-ai-board-card,
.boss-ai-suggestion-card {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 22px;
  border: 1px solid rgba(255, 155, 53, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  position: relative;
  overflow: hidden;
}

.boss-ai-summary-glow {
  position: absolute;
  inset: auto auto -28% -8%;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(255, 144, 31, 0.16), transparent 66%);
  pointer-events: none;
}

.boss-ai-status-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
}

.boss-ai-status-chips span {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0 0.9rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.boss-ai-status-chips .is-green { background: rgba(218, 116, 24, 0.12); color: #f0ad71; }
.boss-ai-status-chips .is-orange { background: rgba(255, 129, 56, 0.12); color: #ffaa79; }
.boss-ai-status-chips .is-red { background: rgba(255, 194, 79, 0.12); color: #ffdd9c; }
.boss-ai-status-chips .is-blue { background: rgba(255, 144, 31, 0.12); color: #ffc58a; }

.boss-ai-summary-card strong {
  display: block;
  position: relative;
  z-index: 1;
  font-size: 1.06rem;
  line-height: 1.82;
  letter-spacing: -0.01em;
  color: #fff7ee;
}

.boss-ai-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1rem;
}

.boss-ai-overview-grid article {
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
}

.boss-ai-overview-grid span,
.boss-ai-overview-grid small {
  display: block;
}

.boss-ai-overview-grid span {
  color: #c3a88a;
  font-size: 0.8rem;
}

.boss-ai-overview-grid strong {
  display: block;
  margin-top: 0.5rem;
  color: #fffaf5;
  font-size: 1.22rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.boss-ai-overview-grid small {
  margin-top: 0.38rem;
  color: #a48d73;
  line-height: 1.55;
}

.boss-ai-roi-grid,
.boss-ai-board-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem;
}

.boss-ai-roi-grid article {
  padding: 1rem 1.05rem;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 155, 53, 0.1);
}

.boss-ai-roi-grid span,
.boss-ai-board-row small {
  color: #bfa78d;
  font-size: 0.82rem;
}

.boss-ai-roi-grid strong,
.boss-ai-board-row span {
  display: block;
  margin-top: 0.35rem;
  font-size: 1.85rem;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #fff8f1;
}

.boss-ai-roi-grid small {
  display: block;
  margin-top: 0.42rem;
  color: #b29a7f;
  line-height: 1.6;
}

.boss-ai-roi-hint {
  margin: 1rem 0 0;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  background: rgba(255, 144, 31, 0.06);
  border: 1px solid rgba(255, 144, 31, 0.1);
  color: #f0dcc7;
  line-height: 1.72;
}

.boss-ai-board-list,
.boss-ai-suggestion-list {
  display: grid;
  gap: 0.8rem;
}

.boss-ai-board-row,
.boss-ai-suggestion-list p {
  margin: 0;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 155, 53, 0.08);
}

.boss-ai-board-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.9rem;
}

.boss-ai-board-row b {
  width: 1.9rem;
  height: 1.9rem;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 144, 31, 0.1);
  color: #ffcf9e;
  font-size: 0.82rem;
}

.boss-ai-board-copy {
  min-width: 0;
}

.boss-ai-board-row strong {
  display: block;
  color: #fff8f0;
  line-height: 1.45;
}

.boss-ai-board-row span {
  font-size: 1.08rem;
  margin-top: 0;
  text-align: right;
  white-space: nowrap;
}

.boss-ai-board-row small {
  display: block;
  margin-top: 0.28rem;
  line-height: 1.55;
}

.boss-ai-suggestion-list p {
  color: #f6eadc;
  line-height: 1.82;
  padding-left: 1.05rem;
  position: relative;
}

.boss-ai-suggestion-list p::before {
  content: "";
  position: absolute;
  left: 0.35rem;
  top: 1.25rem;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff962c, #ffb75c);
}

.boss-ai-empty {
  margin: 0;
  color: #bfa588;
}

.boss-result-notice {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 139, 75, 0.22);
  background: rgba(255, 138, 73, 0.08);
  color: #ffd7c0;
}

.boss-result-notice strong {
  display: block;
  margin-bottom: 0.35rem;
}

.boss-result-visitor-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 161, 64, 0.2);
  background: linear-gradient(135deg, rgba(47, 29, 10, 0.94), rgba(70, 45, 18, 0.86));
}

.boss-result-visitor-cta strong {
  display: block;
  color: #fffaf5;
  font-size: 1rem;
  font-weight: 800;
}

.boss-result-visitor-cta p {
  margin: 0.35rem 0 0;
  color: #d2b99e;
  line-height: 1.6;
}

.boss-diagnosis-card {
  margin-top: 1rem;
  border-radius: 22px;
  padding: 1rem 1.1rem;
  background:
    radial-gradient(circle at top right, rgba(255, 174, 69, 0.14), transparent 36%),
    linear-gradient(135deg, rgba(46, 30, 13, 0.96), rgba(34, 22, 8, 0.92));
  border: 1px solid rgba(255, 183, 104, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.boss-diagnosis-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.85rem;
  align-items: center;
}

.boss-diagnosis-head > .material-symbols-outlined:first-child {
  width: 2.8rem;
  height: 2.8rem;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 144, 31, 0.18), rgba(255, 176, 72, 0.2));
  color: #ffefdf;
  box-shadow: 0 0 0 1px rgba(255, 144, 31, 0.12);
}

.boss-diagnosis-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 1.55rem;
  padding: 0 0.6rem;
  border-radius: 999px;
  background: rgba(255, 144, 31, 0.1);
  color: var(--boss-cyan);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.boss-diagnosis-head strong {
  display: block;
  margin-top: 0.4rem;
  color: #fff7ee;
  font-size: 1.06rem;
  line-height: 1.55;
}

.boss-diagnosis-head p {
  margin: 0.35rem 0 0;
  color: #d1bca6;
  line-height: 1.65;
}

.boss-diagnosis-arrow { color: #bca791; }

.boss-diagnosis-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  min-height: 2.8rem;
  padding: 0.75rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 144, 31, 0.2);
  background: rgba(255, 144, 31, 0.08);
  color: #fff6ec;
  font: inherit;
  font-weight: 800;
}

.boss-diagnosis-quickfacts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1rem;
}

.boss-diagnosis-quickfacts article {
  min-height: 104px;
  padding: 0.9rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}

.boss-diagnosis-quickfacts span,
.boss-diagnosis-quickfacts small {
  display: block;
}

.boss-diagnosis-quickfacts span {
  color: #c7ab8d;
  font-size: 0.82rem;
}

.boss-diagnosis-quickfacts strong {
  display: block;
  margin-top: 0.55rem;
  color: #fffaf4;
  font-size: 1.12rem;
  line-height: 1.35;
}

.boss-diagnosis-quickfacts small {
  margin-top: 0.42rem;
  color: #b1997f;
  line-height: 1.55;
}

.boss-result-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1rem;
}

.boss-metric-card {
  min-height: 132px;
  border-radius: 20px;
  padding: 1rem;
}

.boss-metric-card span {
  display: block;
  color: #ffeedc;
  font-size: 0.9rem;
}

.boss-metric-card strong {
  display: block;
  margin-top: 0.65rem;
  font-size: clamp(1.55rem, 2vw, 2.1rem);
  color: #ffffff;
  font-family: "Space Grotesk", sans-serif;
}

.boss-currency-suffix {
  display: inline-flex;
  align-items: center;
  margin-left: 0.42rem;
  color: #ffb971;
  font-size: 0.52em;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0;
  vertical-align: baseline;
}

.boss-metric-card small {
  display: block;
  margin-top: 0.45rem;
  color: #ba9f82;
}

.boss-metric-cyan { box-shadow: inset 0 0 0 1px rgba(255, 144, 31, 0.14); }
.boss-metric-green { box-shadow: inset 0 0 0 1px rgba(218, 116, 24, 0.14); }
.boss-metric-red { box-shadow: inset 0 0 0 1px rgba(255, 194, 79, 0.14); }
.boss-metric-emerald { box-shadow: inset 0 0 0 1px rgba(255, 158, 73, 0.14); }
.boss-metric-blue { box-shadow: inset 0 0 0 1px rgba(255, 171, 77, 0.14); }
.boss-metric-violet { box-shadow: inset 0 0 0 1px rgba(255, 170, 56, 0.14); }
.boss-metric-half { min-height: 118px; }

.boss-result-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(290px, 0.7fr);
  gap: 1rem;
  margin-top: 1rem;
}

.boss-result-mainchart,
.boss-side-panel,
.boss-table-console {
  border-radius: 22px;
  padding: 1rem;
}

.boss-panel-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.boss-panel-title-row h2,
.boss-side-panel h3 {
  margin: 0;
  color: #fff7ee;
  font-size: 1.08rem;
}

.boss-result-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.95rem;
  margin-top: 0.6rem;
  color: #c8b29a;
  font-size: 0.86rem;
}

.legend-dot {
  width: 0.55rem;
  height: 0.55rem;
  display: inline-block;
  border-radius: 50%;
  margin-right: 0.3rem;
}
.legend-cyan { background: #ff8d19; }
.legend-blue { background: #d3741e; }
.legend-purple { background: #ffb149; }

.boss-chart-tall { height: 340px; margin-top: 0.75rem; }
.boss-chart-compact { height: 150px; margin-top: 0.75rem; }

.boss-priority-list {
  list-style: none;
  padding: 0;
  margin: 0.8rem 0 0;
  display: grid;
  gap: 0.7rem;
}

.boss-priority-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.8rem;
  border-radius: 12px;
  background: rgba(255, 255, 255,0.03);
}

.boss-priority-list span { color: #f5e6d6; }
.boss-priority-list em {
  min-width: 2.1rem;
  padding: 0.2rem 0.45rem;
  border-radius: 10px;
  text-align: center;
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 800;
}
.boss-priority-list .is-high { background: rgba(255, 194, 79,0.16); color: #ffde9f; }
.boss-priority-list .is-mid { background: rgba(255, 129, 56,0.16); color: #ffaf80; }
.boss-priority-list .is-low { background: rgba(255, 168, 74,0.16); color: #ffc88d; }

.boss-side-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.8rem;
}

.boss-side-mini-grid article {
  border-radius: 14px;
  background: rgba(255, 255, 255,0.03);
  border: 1px solid rgba(255, 255, 255,0.06);
  padding: 0.8rem;
}

.boss-side-mini-grid span {
  color: #c6b39e;
  font-size: 0.84rem;
}

.boss-side-mini-grid strong {
  display: block;
  margin-top: 0.45rem;
  color: #fff9f3;
  font-size: 1.3rem;
  font-family: "Space Grotesk", sans-serif;
}

.boss-table-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.boss-tab {
  min-height: 2.55rem;
  padding: 0.5rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255,0.08);
  background: rgba(255, 255, 255,0.03);
  color: #d1c1af;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.boss-tab.is-active {
  border-color: rgba(255, 144, 31, 0.3);
  background: rgba(255, 144, 31, 0.12);
  color: #fff3e7;
}

.boss-tab-panel { display: none; }
.boss-tab-panel.is-active { display: block; }
.boss-subtable-stack { display: grid; gap: 1rem; }

@media (max-width: 1180px) {
  .boss-console-card-grid,
  .boss-platform-mode,
  .boss-result-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .boss-result-content-grid,
  .boss-wish-panel { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .boss-topbar {
    grid-template-columns: 1fr auto;
    height: auto;
    padding: 0.9rem 1rem;
  }
  .boss-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    gap: 1.3rem;
    overflow-x: auto;
    padding-bottom: 0.2rem;
  }
  .boss-search { display: none; }
  .boss-stage,
  .boss-result-main,
  .boss-footer { width: min(100vw - 1rem, 1480px); }
  .boss-console-card-grid,
  .boss-platform-mode,
  .boss-upload-grid,
  .boss-console-bottom-grid,
  .boss-core-grid,
  .boss-result-kpi-grid,
  .boss-result-content-grid,
  .boss-wish-row,
  .boss-side-mini-grid { grid-template-columns: 1fr; }
  .boss-result-hero,
  .boss-result-actions,
  .boss-result-bottom-actions,
  .boss-footer { flex-direction: column; align-items: stretch; }
  .boss-status-strip strong { margin-left: 0; }
}

@media (max-width: 640px) {
  .boss-topbar { display: none; }
  .boss-mobile-nav,
  .boss-result-mobile-head { display: grid; }
  .boss-stage,
  .boss-result-main {
    width: min(100vw - 1rem, 100%);
    padding-bottom: 6rem;
  }
  .boss-grid-shell { padding-top: 0.65rem; }
  .boss-hero-panel,
  .boss-core-card,
  .boss-wish-panel,
  .boss-console-panel,
  .boss-result-hero,
  .boss-diagnosis-card,
  .boss-metric-card,
  .boss-result-mainchart,
  .boss-side-panel,
  .boss-table-console {
    border-radius: 20px;
  }
  .boss-hero-panel {
    min-height: auto;
    padding: 1.1rem;
  }
  .boss-hero-radar { display: none; }
  .boss-hero-copy { text-align: left; }
  .boss-hero-copy h1 {
    font-size: clamp(2.6rem, 14vw, 4rem);
    line-height: 1.02;
  }
  .boss-hero-copy p {
    margin-top: 1rem;
    font-size: 0.96rem;
    line-height: 1.7;
  }
  .boss-quick-tags {
    justify-content: flex-start;
    gap: 0.55rem;
  }
  .boss-quick-tags span {
    font-size: 0.82rem;
    padding: 0.62rem 0.72rem;
  }
  .boss-core-grid { gap: 0.9rem; }
  .boss-core-card {
    min-height: auto;
    padding: 1rem;
  }
  .boss-card-icon {
    width: 4rem;
    height: 4rem;
    margin: 0.9rem 0 1rem;
  }
  .boss-core-card h2 {
    font-size: 1.95rem;
  }
  .boss-primary-action,
  .boss-secondary-action,
  .boss-result-btn,
  .boss-wish-row button,
  .boss-mini-btn,
  .boss-generate-btn {
    width: 100%;
  }
  .boss-primary-action,
  .boss-secondary-action,
  .boss-generate-btn {
    min-height: 3.35rem;
  }
  .boss-status-strip {
    gap: 0.7rem;
    padding: 0.85rem;
    font-size: 0.72rem;
  }
  .boss-wish-panel,
  .boss-console-panel,
  .boss-result-hero,
  .boss-result-mainchart,
  .boss-side-panel,
  .boss-table-console {
    padding: 1rem;
  }
  .boss-console-card-grid { gap: 0.75rem; }
  .boss-console-card { padding: 0.95rem; }
  .boss-console-head h2,
  .boss-result-hero-copy h1 { font-size: 1.9rem; }
  .boss-file-card,
  .boss-date-card,
  .boss-check-card,
  .boss-mode-card { padding: 0.9rem; }
  .home-inline-progress-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .boss-result-main { padding-top: 0.75rem; }
  .boss-result-mobile-head {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.75rem;
  }
  .boss-result-mobile-head span {
    color: #cbac8b;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
  }
  .boss-result-mobile-head strong {
    display: block;
    margin-top: 0.1rem;
    font-size: 1.55rem;
    color: #fff9f2;
  }
  .boss-back-link {
    width: 2.4rem;
    height: 2.4rem;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    text-decoration: none;
    color: #fff4e8;
    border: 1px solid rgba(255, 162, 65, 0.14);
    background: rgba(255, 255, 255,0.04);
  }
  .boss-result-hero { display: none; }
  .boss-result-kpi-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
  }
  .boss-metric-card {
    min-height: 120px;
    padding: 0.85rem;
  }
  .boss-metric-card strong { font-size: 1.45rem; }
  .boss-chart-tall { height: 220px; }
  .boss-chart-compact { height: 120px; }
  .boss-table-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.2rem;
  }
  .table-wrap { border-radius: 14px; }
  .table th,
  .table td {
    padding: 0.38rem 0.45rem;
    font-size: 0.8rem;
  }
  .boss-mobile-nav {
    position: fixed;
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    z-index: 65;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.35rem;
    padding: 0.55rem;
    border-radius: 22px;
    border: 1px solid rgba(255, 162, 65, 0.12);
    background: rgba(19, 12, 4, 0.94);
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
  }
  .boss-mobile-nav a {
    min-height: 3.5rem;
    display: grid;
    place-items: center;
    gap: 0.15rem;
    border-radius: 16px;
    text-decoration: none;
    color: #bea488;
    font-size: 0.74rem;
    font-weight: 700;
  }
  .boss-mobile-nav a .material-symbols-outlined { font-size: 1.15rem; }
  .boss-mobile-nav a.is-active {
    color: var(--boss-cyan);
    background: rgba(255, 144, 31, 0.1);
  }
  .boss-footer { display: none; }
}

/* ===== Boss Console Polish Overrides ===== */
body.boss-console-page .boss-stage,
body.boss-result-page .boss-result-main {
  width: min(1500px, calc(100vw - 2.2rem));
}

.boss-topbar {
  height: 70px;
  padding: 0 1.3rem;
  gap: 1rem;
}

.boss-brand {
  font-size: 1rem;
  gap: 0.6rem;
}

.boss-brand-mark {
  width: 1.35rem;
  height: 1.35rem;
  font-size: 0.95rem;
}

.boss-nav {
  gap: 1.8rem;
}

.boss-nav a {
  font-size: 0.9rem;
}

.boss-search {
  min-width: 220px;
  padding: 0.48rem 0.72rem;
  border-radius: 12px;
}

.boss-grid-shell {
  padding-top: 1.35rem;
}

.boss-hero-panel {
  min-height: 380px;
  padding: 2.25rem 2.35rem 2.15rem;
}

.boss-hero-copy {
  max-width: 760px;
  text-align: left;
  margin: 0;
}

.boss-hero-copy h1 {
  max-width: 700px;
  font-size: clamp(3.6rem, 6vw, 6.1rem);
  line-height: 0.98;
  letter-spacing: -0.072em;
}

.boss-hero-copy p {
  max-width: 620px;
  margin-top: 1.15rem;
  font-size: 1rem;
  line-height: 1.72;
}

.boss-quick-tags {
  justify-content: flex-start;
  gap: 0.65rem;
  margin-top: 1.3rem;
}

.boss-quick-tags span {
  padding: 0.62rem 0.8rem;
  border-radius: 12px;
  font-size: 0.86rem;
}

.boss-core-grid {
  gap: 1rem;
  margin-top: 1rem;
}

.boss-core-card {
  min-height: 374px;
  border-radius: 22px;
  padding: 1.35rem;
}

.boss-chip {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.boss-card-icon {
  width: 4.5rem;
  height: 4.5rem;
  margin: 0.85rem 0 1rem;
  border-radius: 18px;
  font-size: 1.8rem;
}

.boss-core-card h2 {
  font-size: clamp(1.9rem, 2.7vw, 2.7rem);
}

.boss-core-card p {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.7;
}

.boss-primary-action {
  min-height: 3.35rem;
  border-radius: 10px;
  font-size: 1rem;
}

.boss-secondary-action {
  min-height: 3.15rem;
  border-radius: 10px;
}

.boss-inline-link {
  margin-top: 0.8rem;
  font-size: 0.92rem;
}

.boss-platform-pills {
  margin-top: 0.9rem;
  gap: 0.4rem;
}

.boss-platform-pills span {
  min-width: 2rem;
  padding: 0.34rem 0.6rem;
  font-size: 0.76rem;
}

.boss-status-strip {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  font-size: 0.78rem;
}

.boss-wish-panel {
  margin-top: 1rem;
  border-radius: 22px;
  padding: 1.25rem;
  gap: 0.85rem;
}

.boss-wish-copy h2 {
  font-size: clamp(1.7rem, 2.2vw, 2.35rem);
}

.boss-wish-copy p {
  margin-top: 0.7rem;
  font-size: 0.96rem;
  line-height: 1.66;
}

.boss-wish-form {
  margin-top: 1rem;
}

.boss-wish-form input,
.boss-wish-form textarea {
  border-radius: 10px;
  padding: 0.75rem 0.85rem;
}

.boss-mini-stat,
.boss-mini-note {
  border-radius: 16px;
  padding: 0.9rem;
}

.boss-mini-stat strong {
  font-size: 1.65rem;
}

.boss-console-panel {
  border-radius: 24px;
  padding: 1.55rem;
}

.boss-console-head h2,
.boss-result-hero-copy h1 {
  margin-top: 0.45rem;
  font-size: clamp(1.8rem, 2.8vw, 2.55rem);
}

.boss-console-head p,
.boss-result-hero-copy p {
  font-size: 0.95rem;
  line-height: 1.68;
}

.boss-console-card-grid {
  gap: 0.85rem;
  margin-top: 1.1rem;
}

.boss-console-card {
  border-radius: 18px;
  padding: 1rem;
}

.boss-console-card-icon {
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 10px;
  font-size: 1.2rem;
}

.boss-console-card h3 {
  margin-top: 0.75rem;
  font-size: 1rem;
}

.boss-console-card p {
  font-size: 0.88rem;
  line-height: 1.62;
}

.boss-mini-btn {
  min-height: 2.55rem;
  margin-top: 0.85rem;
  padding: 0.55rem 0.8rem;
  border-radius: 10px;
  font-size: 0.84rem;
}

.boss-platform-mode legend,
.boss-date-card > span,
.boss-check-card > span {
  font-size: 0.94rem;
}

.boss-mode-card {
  min-height: 94px;
  gap: 0.15rem;
  border-radius: 16px;
  padding: 0.9rem;
}

.boss-mode-card b {
  font-size: 0.96rem;
}

.boss-mode-card em {
  font-size: 0.82rem;
  line-height: 1.55;
}

.boss-upload-grid {
  gap: 0.8rem;
  margin-top: 0.95rem;
}

.boss-file-card {
  gap: 0.45rem;
  border-radius: 16px;
  padding: 0.92rem;
}

.boss-file-title span {
  font-size: 0.95rem;
}

.boss-file-title em {
  min-height: 1.4rem;
  font-size: 0.72rem;
}

.boss-file-card small,
.boss-check-card small {
  font-size: 0.8rem;
}

.boss-console-bottom-grid {
  gap: 0.8rem;
  margin-top: 0.8rem;
}

.boss-date-card,
.boss-check-card {
  border-radius: 16px;
  padding: 0.92rem;
}

.boss-date-inner {
  min-height: 2.8rem;
  border-radius: 10px;
}

.boss-generate-btn {
  min-height: 3.7rem;
  border-radius: 14px;
  font-size: 1.05rem;
}

.boss-result-main {
  padding-top: 1.15rem;
}

.boss-result-hero {
  border-radius: 22px;
  padding: 1.15rem 1.2rem;
}

.boss-result-status-chips {
  margin-top: 0.85rem;
  gap: 0.5rem;
}

.boss-result-status-chips span {
  padding: 0.38rem 0.62rem;
  font-size: 0.8rem;
}

.boss-result-btn {
  min-height: 3.05rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-size: 0.94rem;
}

.boss-result-notice {
  margin-top: 0.8rem;
  border-radius: 14px;
  padding: 0.9rem 1rem;
}

.boss-diagnosis-card {
  margin-top: 0.8rem;
  border-radius: 18px;
  padding: 0.85rem 0.95rem;
}

.boss-diagnosis-head {
  gap: 0.7rem;
}

.boss-diagnosis-head > .material-symbols-outlined:first-child {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
}

.boss-diagnosis-head strong {
  font-size: 1rem;
}

.boss-diagnosis-head p {
  font-size: 0.86rem;
}

.boss-result-kpi-grid {
  gap: 0.75rem;
  margin-top: 0.85rem;
}

.boss-metric-card {
  min-height: 118px;
  border-radius: 18px;
  padding: 0.9rem;
}

.boss-metric-card span {
  font-size: 0.84rem;
}

.boss-metric-card strong {
  margin-top: 0.55rem;
  font-size: clamp(1.35rem, 1.9vw, 1.9rem);
}

.boss-metric-card small {
  font-size: 0.76rem;
}

.boss-result-content-grid {
  gap: 0.85rem;
  margin-top: 0.85rem;
}

.boss-result-mainchart,
.boss-side-panel,
.boss-table-console {
  border-radius: 20px;
  padding: 0.92rem;
}

.boss-panel-title-row h2,
.boss-side-panel h3 {
  font-size: 1rem;
}

.boss-result-legend {
  margin-top: 0.45rem;
  gap: 0.75rem;
  font-size: 0.8rem;
}

.boss-chart-tall {
  height: 320px;
}

.boss-chart-compact {
  height: 138px;
}

.boss-priority-list {
  margin-top: 0.65rem;
  gap: 0.55rem;
}

.boss-priority-list li {
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
}

.boss-side-mini-grid {
  gap: 0.6rem;
  margin-top: 0.7rem;
}

.boss-side-mini-grid article {
  padding: 0.7rem;
  border-radius: 12px;
}

.boss-side-mini-grid strong {
  font-size: 1.12rem;
}

.boss-table-tabs {
  gap: 0.45rem;
  margin-bottom: 0.8rem;
}

.boss-tab {
  min-height: 2.3rem;
  padding: 0.45rem 0.85rem;
  border-radius: 10px;
  font-size: 0.86rem;
}

@media (max-width: 640px) {
  body.boss-console-page .boss-topbar {
    display: grid;
    grid-template-columns: 1fr auto;
    height: auto;
    padding: 0.85rem 0.2rem 0.2rem;
    background: transparent;
    backdrop-filter: none;
    border-bottom: 0;
  }

  body.boss-console-page .boss-brand {
    font-size: 0.98rem;
  }

  body.boss-console-page .boss-nav {
    display: none;
  }

  body.boss-console-page .boss-toolbar {
    gap: 0.5rem;
  }

  body.boss-console-page .boss-toolbar-icon {
    border: 1px solid rgba(255, 162, 65, 0.12);
    background: rgba(255, 255, 255,0.04);
  }

  body.boss-console-page .boss-stage {
    width: min(100vw - 1rem, 100%);
    padding-bottom: 6rem;
  }

  body.boss-console-page .boss-grid-shell {
    padding-top: 0.25rem;
  }

  body.boss-console-page .boss-hero-panel {
    padding: 1rem 1rem 1.1rem;
  }

  body.boss-console-page .boss-hero-copy h1 {
    font-size: clamp(2.45rem, 13vw, 3.9rem);
  }

  body.boss-console-page .boss-hero-copy p {
    font-size: 0.92rem;
    line-height: 1.62;
  }

  body.boss-console-page .boss-quick-tags {
    gap: 0.45rem;
  }

  body.boss-console-page .boss-quick-tags span {
    width: calc(50% - 0.225rem);
    justify-content: center;
    padding: 0.55rem 0.45rem;
    font-size: 0.78rem;
  }

  body.boss-console-page .boss-core-card {
    padding: 0.95rem;
  }

  body.boss-console-page .boss-core-card p {
    font-size: 0.9rem;
    line-height: 1.58;
  }

  body.boss-console-page .boss-status-strip {
    display: none;
  }

  body.boss-console-page .boss-wish-panel {
    display: none;
  }

  body.boss-console-page .boss-console-panel {
    margin-top: 0.9rem;
    padding: 0.95rem;
  }

  body.boss-console-page .boss-console-card-grid {
    display: none;
  }

  body.boss-console-page .boss-platform-mode {
    gap: 0.55rem;
  }

  body.boss-console-page .boss-mode-card {
    min-height: 84px;
    padding: 0.78rem;
  }

  body.boss-console-page .boss-upload-grid,
  body.boss-console-page .boss-console-bottom-grid {
    gap: 0.7rem;
  }

  body.boss-console-page .boss-file-card,
  body.boss-console-page .boss-date-card,
  body.boss-console-page .boss-check-card {
    padding: 0.8rem;
  }

  body.boss-console-page .boss-generate-btn {
    min-height: 3.25rem;
    font-size: 1rem;
  }

  body.boss-console-page .home-inline-progress p,
  body.boss-console-page .home-inline-progress-hint {
    font-size: 0.84rem;
  }

  body.boss-result-page .boss-result-main {
    width: min(100vw - 1rem, 100%);
  }

  body.boss-result-page .boss-diagnosis-card {
    margin-top: 0.7rem;
  }

  body.boss-result-page .boss-result-kpi-grid {
    margin-top: 0.7rem;
  }

  body.boss-result-page .boss-result-mainchart,
  body.boss-result-page .boss-side-panel,
  body.boss-result-page .boss-table-console {
    padding: 0.8rem;
  }

  body.boss-result-page .boss-chart-tall {
    height: 205px;
  }

  body.boss-result-page .boss-result-bottom-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

/* ===== Boss Console Final Pixel Polish ===== */
.boss-topbar {
  grid-template-columns: minmax(250px, auto) 1fr minmax(220px, auto);
  gap: 1.1rem;
  height: 64px;
  padding: 0 1rem;
  border-bottom: 1px solid rgba(255, 162, 65, 0.08);
  background: rgba(18, 11, 4, 0.94);
}

.boss-brand {
  gap: 0.62rem;
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.boss-brand-mark {
  width: 1.36rem;
  height: 1.36rem;
  font-size: 0.96rem;
}

.boss-nav {
  gap: 1.8rem;
}

.boss-nav a {
  font-size: 0.9rem;
  font-weight: 500;
}

.boss-nav a.is-active::after {
  bottom: -0.86rem;
}

.boss-search {
  min-width: 206px;
  padding: 0.44rem 0.72rem;
  border-radius: 12px;
}

.boss-search input {
  font-size: 0.84rem;
}

.boss-toolbar-icon {
  width: 2rem;
  height: 2rem;
  font-size: 1.2rem;
}

.boss-stage,
.boss-result-main {
  width: min(1480px, calc(100vw - 1.8rem));
}

.boss-grid-shell {
  gap: 1rem;
  padding-top: 0.9rem;
}

.boss-hero-panel {
  min-height: 390px;
  border-radius: 26px;
  padding: 2.2rem 2.35rem 2.05rem;
}

.boss-hero-copy {
  max-width: 760px;
}

.boss-hero-copy h1 {
  font-family: "Noto Sans SC", "Space Grotesk", sans-serif;
  font-size: clamp(4rem, 5.7vw, 6rem);
  line-height: 1.02;
  letter-spacing: -0.075em;
}

.boss-hero-copy p {
  margin-top: 1.1rem;
  max-width: 620px;
  font-size: 1rem;
  line-height: 1.72;
  color: #d4c2af;
}

.boss-quick-tags {
  margin-top: 1.32rem;
  gap: 0.62rem;
}

.boss-quick-tags span {
  padding: 0.64rem 0.86rem;
  border-radius: 12px;
  font-size: 0.84rem;
  font-weight: 700;
}

.boss-core-grid {
  gap: 1rem;
  margin-top: 1.05rem;
}

.boss-core-card {
  min-height: 376px;
  border-radius: 22px;
  padding: 1.25rem 1.35rem 1.2rem;
}

.boss-chip {
  padding: 0.34rem 0.78rem;
  font-size: 0.7rem;
  letter-spacing: 0.13em;
}

.boss-card-icon {
  width: 4.15rem;
  height: 4.15rem;
  margin: 1.05rem auto 1rem;
  border-radius: 18px;
  font-size: 2.1rem;
}

.boss-core-card h2 {
  margin-top: 0.25rem;
  font-family: "Noto Sans SC", "Space Grotesk", sans-serif;
  font-size: 2rem;
  letter-spacing: -0.045em;
}

.boss-core-card p {
  margin-top: 0.75rem;
  max-width: 470px;
  font-size: 0.94rem;
  line-height: 1.72;
  color: #d3bfaa;
}

.boss-primary-action,
.boss-secondary-action {
  min-height: 3.45rem;
  border-radius: 12px;
  font-size: 1rem;
}

.boss-inline-link {
  margin-top: 0.78rem;
  font-size: 0.95rem;
}

.boss-platform-pills {
  gap: 0.42rem;
  margin-top: 1rem;
}

.boss-platform-pills span {
  min-width: 2.4rem;
  min-height: 1.7rem;
  font-size: 0.74rem;
}

.boss-platform-pills em {
  margin-left: 0.45rem;
  font-size: 0.78rem;
}

.boss-status-strip {
  min-height: 3.4rem;
  gap: 1.1rem;
  margin-top: 1rem;
  padding: 0.82rem 1.05rem;
  border-radius: 18px;
}

.boss-status-strip div,
.boss-status-strip strong {
  font-size: 0.82rem;
}

.boss-wish-panel {
  margin-top: 1rem;
  border-radius: 22px;
  padding: 1.35rem;
}

.boss-wish-copy h2 {
  font-size: 1.75rem;
  letter-spacing: -0.04em;
}

.boss-wish-copy p {
  margin-top: 0.52rem;
  font-size: 0.94rem;
  line-height: 1.68;
}

.boss-wish-form input,
.boss-wish-form textarea {
  min-height: 3rem;
  border-radius: 12px;
  font-size: 0.88rem;
}

.boss-wish-form textarea {
  min-height: 5.6rem;
}

.boss-wish-form button {
  min-width: 7.4rem;
  min-height: 3rem;
  border-radius: 12px;
}

.boss-mini-stat {
  min-height: 112px;
  border-radius: 18px;
}

.boss-mini-stat strong {
  font-size: 2rem;
}

.boss-console-panel {
  border-radius: 24px;
  padding: 1.45rem;
}

.boss-console-head h2 {
  font-family: "Noto Sans SC", "Space Grotesk", sans-serif;
  font-size: clamp(2.05rem, 3vw, 2.9rem);
  line-height: 1.18;
}

.boss-console-head p {
  margin-top: 0.62rem;
  font-size: 0.95rem;
  line-height: 1.68;
}

.boss-console-card-grid {
  gap: 0.85rem;
  margin-top: 1.1rem;
}

.boss-console-card {
  border-radius: 18px;
  padding: 1rem;
}

.boss-console-card-icon {
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 10px;
  font-size: 1.15rem;
}

.boss-console-card h3 {
  margin-top: 0.72rem;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.boss-console-card p {
  margin-top: 0.42rem;
  font-size: 0.84rem;
  line-height: 1.62;
}

.boss-mini-btn {
  min-height: 2.6rem;
  margin-top: 0.88rem;
  padding: 0.55rem 0.86rem;
  border-radius: 10px;
  font-size: 0.84rem;
}

.boss-platform-mode legend {
  margin-bottom: 0.68rem;
  font-size: 0.96rem;
}

.boss-mode-card {
  min-height: 94px;
  gap: 0.16rem;
  padding: 0.82rem 0.9rem;
  border-radius: 16px;
}

.boss-mode-card .material-symbols-outlined {
  font-size: 1.32rem;
}

.boss-mode-card b {
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.boss-mode-card em {
  font-size: 0.82rem;
  line-height: 1.52;
}

.boss-upload-grid {
  gap: 0.82rem;
  margin-top: 0.92rem;
}

.boss-file-card,
.boss-date-card,
.boss-check-card {
  gap: 0.42rem;
  border-radius: 16px;
  padding: 0.84rem 0.9rem;
}

.boss-file-title span,
.boss-date-card > span,
.boss-check-card > span {
  font-size: 0.96rem;
}

.boss-file-title em {
  min-width: 2.15rem;
  min-height: 1.35rem;
  font-size: 0.7rem;
}

.boss-file-card small,
.boss-check-card small {
  font-size: 0.78rem;
  line-height: 1.5;
}

.boss-file-card input[type="file"],
.boss-date-inner input {
  font-size: 0.84rem;
}

.boss-console-bottom-grid {
  gap: 0.82rem;
  margin-top: 0.82rem;
}

.boss-date-inner {
  min-height: 2.95rem;
  padding: 0 0.82rem;
  border-radius: 12px;
}

.boss-check-card {
  grid-template-columns: auto 1fr;
  align-items: center;
}

.boss-check-card input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
}

.boss-generate-btn {
  min-height: 3.8rem;
  margin-top: 1rem;
  border-radius: 14px;
  font-size: 1.06rem;
  letter-spacing: -0.015em;
}

.home-inline-progress {
  margin-top: 0.92rem;
  border-radius: 20px;
  padding: 1rem 1rem 1.05rem;
}

.home-inline-progress-head strong {
  font-size: 1rem;
}

.home-inline-progress p {
  margin-top: 0.8rem;
  font-size: 0.96rem;
}

.home-rocket-track {
  margin-top: 0.9rem;
  height: 3rem;
  border-radius: 999px;
}

.home-rocket-runner {
  width: 2.25rem;
  height: 2.25rem;
}

.home-inline-progress-hint {
  margin-top: 0.76rem;
  font-size: 0.82rem;
}

.boss-footer {
  width: min(1480px, calc(100vw - 1.8rem));
  padding: 1.1rem 0 1.5rem;
}

.boss-footer span,
.boss-footer a {
  font-size: 0.78rem;
}

.boss-result-mobile-head {
  padding: 0.16rem 0 0.38rem;
}

.boss-result-mobile-head strong {
  font-family: "Noto Sans SC", "Space Grotesk", sans-serif;
}

.boss-result-hero {
  border-radius: 22px;
  padding: 1.2rem 1.25rem;
}

.boss-result-hero-copy h1 {
  font-family: "Noto Sans SC", "Space Grotesk", sans-serif;
  font-size: clamp(1.95rem, 2.8vw, 2.7rem);
  line-height: 1.12;
}

.boss-result-hero-copy p {
  font-size: 0.92rem;
  line-height: 1.66;
}

.boss-result-status-chips span {
  padding: 0.42rem 0.72rem;
  font-size: 0.8rem;
}

.boss-result-btn {
  min-height: 3.2rem;
  border-radius: 14px;
  font-size: 0.94rem;
}

.boss-diagnosis-card {
  border-radius: 16px;
}

.boss-diagnosis-head strong {
  font-size: 0.96rem;
}

.boss-diagnosis-head p {
  font-size: 0.82rem;
  line-height: 1.58;
}

.boss-result-kpi-grid {
  gap: 0.78rem;
}

.boss-metric-card {
  min-height: 120px;
  border-radius: 18px;
  padding: 0.9rem;
}

.boss-metric-card span {
  font-size: 0.82rem;
}

.boss-metric-card strong {
  margin-top: 0.46rem;
  font-size: clamp(1.34rem, 1.85vw, 1.82rem);
  letter-spacing: -0.03em;
}

.boss-metric-card small {
  margin-top: 0.36rem;
  font-size: 0.74rem;
}

.boss-result-mainchart,
.boss-side-panel,
.boss-table-console {
  border-radius: 18px;
}

.boss-panel-title-row h2,
.boss-side-panel h3 {
  font-size: 0.96rem;
  letter-spacing: -0.02em;
}

.boss-priority-list li {
  padding: 0.52rem 0.68rem;
}

.boss-tab {
  min-height: 2.15rem;
  padding: 0.42rem 0.76rem;
  font-size: 0.82rem;
}

@media (max-width: 640px) {
  body.boss-console-page .boss-stage,
  body.boss-result-page .boss-result-main {
    width: min(100vw - 1rem, 100%);
  }

  body.boss-console-page .boss-topbar {
    grid-template-columns: 1fr auto auto;
    gap: 0.4rem;
    padding: 0.78rem 0.2rem 0.18rem;
  }

  body.boss-console-page .boss-brand {
    font-size: 1rem;
  }

  body.boss-console-page .boss-brand-mark {
    width: 1.24rem;
    height: 1.24rem;
    font-size: 0.86rem;
  }

  body.boss-console-page .boss-toolbar {
    gap: 0.35rem;
  }

  body.boss-console-page .boss-toolbar-icon {
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 50%;
  }

  body.boss-console-page .boss-hero-panel {
    min-height: 0;
    padding: 0.95rem 0.95rem 1.05rem;
    border-radius: 22px;
  }

  body.boss-console-page .boss-hero-copy h1 {
    font-size: clamp(2.75rem, 13.1vw, 4.2rem);
    line-height: 1.04;
  }

  body.boss-console-page .boss-hero-copy p {
    margin-top: 0.8rem;
    font-size: 0.9rem;
    line-height: 1.65;
  }

  body.boss-console-page .boss-quick-tags {
    margin-top: 1rem;
    gap: 0.46rem;
  }

  body.boss-console-page .boss-quick-tags span {
    width: calc(50% - 0.23rem);
    min-height: 2.5rem;
    justify-content: flex-start;
    padding: 0.58rem 0.65rem;
    font-size: 0.76rem;
    border-radius: 12px;
  }

  body.boss-console-page .boss-core-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  body.boss-console-page .boss-core-card {
    min-height: 0;
    padding: 0.95rem;
    border-radius: 20px;
  }

  body.boss-console-page .boss-card-icon {
    width: 3.55rem;
    height: 3.55rem;
    margin: 0.85rem 0 0.85rem auto;
    font-size: 1.85rem;
  }

  body.boss-console-page .boss-core-card h2 {
    font-size: 1.85rem;
  }

  body.boss-console-page .boss-core-card p {
    font-size: 0.88rem;
    line-height: 1.62;
  }

  body.boss-console-page .boss-primary-action,
  body.boss-console-page .boss-secondary-action {
    min-height: 3.1rem;
    font-size: 0.96rem;
  }

  body.boss-console-page .boss-platform-pills {
    margin-top: 0.82rem;
  }

  body.boss-console-page .boss-platform-pills em {
    display: block;
    margin: 0.35rem 0 0;
  }

  body.boss-console-page .boss-console-panel {
    margin-top: 0.82rem;
    padding: 0.92rem;
    border-radius: 20px;
  }

  body.boss-console-page .boss-console-head h2 {
    font-size: 1.7rem;
    line-height: 1.22;
  }

  body.boss-console-page .boss-console-head p {
    font-size: 0.88rem;
    line-height: 1.6;
  }

  body.boss-console-page .boss-platform-mode {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  body.boss-console-page .boss-mode-card {
    min-height: 78px;
    padding: 0.75rem 0.8rem;
  }

  body.boss-console-page .boss-mode-card b {
    font-size: 0.94rem;
  }

  body.boss-console-page .boss-mode-card em {
    font-size: 0.78rem;
  }

  body.boss-console-page .boss-upload-grid,
  body.boss-console-page .boss-console-bottom-grid {
    grid-template-columns: 1fr;
    gap: 0.66rem;
  }

  body.boss-console-page .boss-file-card,
  body.boss-console-page .boss-date-card,
  body.boss-console-page .boss-check-card {
    padding: 0.76rem 0.8rem;
    border-radius: 14px;
  }

  body.boss-console-page .boss-file-title span,
  body.boss-console-page .boss-date-card > span,
  body.boss-console-page .boss-check-card > span {
    font-size: 0.9rem;
  }

  body.boss-console-page .boss-file-card small,
  body.boss-console-page .boss-check-card small {
    font-size: 0.75rem;
  }

  body.boss-console-page .boss-generate-btn {
    min-height: 3.25rem;
    font-size: 0.98rem;
    border-radius: 12px;
  }

  body.boss-console-page .home-inline-progress {
    padding: 0.86rem;
    border-radius: 18px;
  }

  body.boss-console-page .home-inline-progress p {
    font-size: 0.88rem;
  }

  body.boss-console-page .home-inline-progress-hint {
    font-size: 0.76rem;
    line-height: 1.5;
  }

  body.boss-result-page .boss-result-mobile-head {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.75rem;
    padding: 0.18rem 0 0.55rem;
  }

  body.boss-result-page .boss-result-mobile-head span {
    font-size: 0.84rem;
  }

  body.boss-result-page .boss-result-mobile-head strong {
    font-size: 1.34rem;
    line-height: 1.16;
  }

  body.boss-result-page .boss-result-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.62rem;
  }

  body.boss-result-page .boss-metric-card {
    min-height: 108px;
    padding: 0.76rem;
    border-radius: 16px;
  }

  body.boss-result-page .boss-metric-card strong {
    font-size: 1.16rem;
  }

  body.boss-result-page .boss-result-mainchart,
  body.boss-result-page .boss-side-panel,
  body.boss-result-page .boss-table-console {
    padding: 0.76rem;
    border-radius: 16px;
  }

  body.boss-result-page .boss-chart-tall {
    height: 194px;
  }

  body.boss-result-page .boss-mobile-nav {
    left: 0.65rem;
    right: 0.65rem;
    bottom: 0.62rem;
    gap: 0.3rem;
    padding: 0.42rem;
    border-radius: 18px;
  }

  body.boss-result-page .boss-mobile-nav a,
  body.boss-console-page .boss-mobile-nav a {
    min-height: 3.2rem;
    border-radius: 14px;
    font-size: 0.7rem;
  }
}

/* ===== Boss Console Replica Pass ===== */
body.boss-console-page .boss-grid-shell {
  padding-top: 1.15rem;
}

body.boss-console-page .boss-hero-panel {
  min-height: 488px;
  padding: 2.7rem 2.6rem 2.35rem;
  border-radius: 28px;
  background:
    radial-gradient(circle at 14% 48%, rgba(255, 146, 34, 0.12), transparent 26%),
    radial-gradient(circle at 86% 22%, rgba(255, 171, 57, 0.18), transparent 24%),
    linear-gradient(90deg, rgba(24, 15, 4, 0.98) 0%, rgba(34, 21, 7, 0.97) 54%, rgba(55, 40, 20, 0.96) 100%);
  box-shadow:
    0 22px 52px rgba(0, 0, 0, 0.3),
    inset 0 0 0 1px rgba(189, 127, 58, 0.24),
    inset 0 0 64px rgba(156, 110, 55, 0.1);
}

body.boss-console-page .boss-hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 175, 86, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 175, 86, 0.045) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.25;
  pointer-events: none;
}

body.boss-console-page .boss-hero-panel::after {
  background:
    linear-gradient(90deg, rgba(21, 13, 4, 0.18), transparent 43%),
    linear-gradient(180deg, transparent 0%, rgba(255, 168, 52, 0.08) 100%),
    radial-gradient(circle at 86% 18%, rgba(255, 170, 56, 0.22), transparent 26%);
}

body.boss-console-page .boss-hero-copy {
  width: fit-content;
  max-width: min(100%, 1240px);
  display: grid;
  justify-items: center;
  text-align: center;
  margin: 0 auto;
}

body.boss-console-page .boss-hero-copy h1 {
  font-family: "Noto Sans SC", "Space Grotesk", sans-serif;
  font-size: clamp(4.45rem, 6vw, 7.2rem);
  line-height: 1.045;
  letter-spacing: -0.082em;
  text-align: center;
  margin: 0 auto;
  width: fit-content;
  max-width: 100%;
}

body.boss-console-page .boss-hero-copy p {
  margin: 1.35rem auto 0;
  max-width: 860px;
  text-align: center;
  font-size: 1.04rem;
  line-height: 1.78;
}

body.boss-console-page .boss-quick-tags {
  justify-content: center;
  margin-top: 1.55rem;
  gap: 0.72rem;
}

body.boss-console-page .boss-quick-tags span {
  min-height: 3.1rem;
  padding: 0.8rem 1rem;
  border-radius: 14px;
  background: rgba(44, 29, 12, 0.62);
  border-color: rgba(233, 168, 95, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body.boss-console-page .boss-core-grid {
  gap: 1.12rem;
  margin-top: 1.22rem;
}

body.boss-console-page .boss-core-card {
  min-height: 508px;
  padding: 1.55rem 1.6rem 1.45rem;
  border-radius: 26px;
  background:
    radial-gradient(circle at 88% 16%, rgba(255, 145, 33, 0.04), transparent 18%),
    linear-gradient(180deg, rgba(30, 19, 6, 0.98), rgba(24, 16, 6, 0.96));
  box-shadow:
    0 22px 46px rgba(0, 0, 0, 0.24),
    inset 0 0 0 1px rgba(182, 114, 41, 0.24);
}

body.boss-console-page .boss-core-card-roi {
  background:
    radial-gradient(circle at 80% 78%, rgba(255, 170, 56, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(30, 21, 10, 0.98), rgba(27, 20, 11, 0.96));
  box-shadow:
    0 22px 46px rgba(0, 0, 0, 0.24),
    inset 0 0 0 1px rgba(233, 161, 65, 0.28);
}

body.boss-console-page .boss-chip {
  padding: 0.42rem 0.96rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
}

body.boss-console-page .boss-card-icon {
  width: 5.1rem;
  height: 5.1rem;
  margin: 1.2rem auto 1.15rem;
  border-radius: 20px;
  background: rgba(81, 47, 10, 0.6);
  border-color: rgba(255, 149, 39, 0.34);
  box-shadow: 0 0 24px rgba(255, 149, 38, 0.1);
}

body.boss-console-page .boss-core-card h2 {
  text-align: left;
  font-size: 2.22rem;
  line-height: 1.14;
}

body.boss-console-page .boss-core-card p {
  max-width: 600px;
  font-size: 0.99rem;
  line-height: 1.72;
}

body.boss-console-page .boss-primary-action,
body.boss-console-page .boss-secondary-action {
  min-height: 4.1rem;
  margin-top: auto;
  border-radius: 16px;
  font-size: 1.04rem;
}

body.boss-console-page .boss-primary-action {
  box-shadow: 0 14px 28px rgba(255, 148, 39, 0.16);
}

body.boss-console-page .boss-secondary-action {
  background: linear-gradient(90deg, rgba(110, 78, 35, 0.9), rgba(157, 106, 39, 0.92));
  border: 1px solid rgba(255, 186, 94, 0.22);
  color: #fff9f1;
}

body.boss-console-page .boss-inline-link {
  margin-top: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

body.boss-console-page .boss-inline-link::after {
  content: "›";
  font-size: 1rem;
  line-height: 1;
}

body.boss-console-page .boss-platform-pills {
  margin-top: 1rem;
  align-items: center;
}

.platform-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  min-height: 1.8rem;
  padding: 0 0.55rem;
}

.platform-pill i,
.boss-platform-icon {
  display: inline-grid;
  place-items: center;
  width: 1.28rem;
  height: 1.28rem;
  border-radius: 999px;
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 900;
}

.platform-pill b {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.platform-douyin i,
.boss-platform-douyin {
  color: #ffffff;
  background: radial-gradient(circle at 32% 34%, #ff9022, #261a0d 44%, #ffb835 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255,0.05);
}

.platform-pdd i,
.boss-platform-pdd {
  color: #ffffff;
  background: linear-gradient(135deg, #ffc14a, #ffcb6b);
}

.platform-ks i {
  color: #ffffff;
  background: linear-gradient(135deg, #ff853f, #ff772d);
}

body.boss-console-page .boss-console-panel {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  padding: 1.55rem;
  background:
    radial-gradient(circle at 88% 10%, rgba(255, 171, 57, 0.11), transparent 26%),
    linear-gradient(180deg, rgba(28, 18, 6, 0.98), rgba(30, 19, 7, 0.96));
}

body.boss-console-page .boss-console-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(193, 125, 49, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(193, 125, 49, 0.04) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.2;
  pointer-events: none;
}

body.boss-console-page .boss-console-head,
body.boss-console-page .boss-upload-form {
  position: relative;
  z-index: 1;
}

.boss-registration-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 1rem 0 1.15rem;
  padding: 1rem 1.05rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 158, 55, 0.18);
  background: linear-gradient(135deg, rgba(40, 24, 7, 0.96), rgba(60, 38, 14, 0.88));
}

.boss-registration-strip-copy {
  display: grid;
  gap: 0.25rem;
}

.boss-registration-strip-copy strong {
  color: #fff9f3;
  font-size: 1rem;
  font-weight: 800;
}

.boss-registration-strip-copy span {
  color: #d8b895;
  font-size: 0.92rem;
  line-height: 1.6;
}

body.boss-console-page .boss-console-resource-section {
  position: relative;
  margin-top: 1.8rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(201, 143, 80, 0.14);
}

body.boss-console-page .boss-console-resource-section::before {
  content: "";
  position: absolute;
  top: 0.05rem;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 149, 39, 0), rgba(255, 149, 39, 0.22), rgba(255, 183, 88, 0.16), rgba(255, 149, 39, 0));
  opacity: 0.8;
  pointer-events: none;
}

body.boss-console-page .boss-console-resource-head {
  display: grid;
  gap: 0.24rem;
  margin-bottom: 0.9rem;
  max-width: 58rem;
}

body.boss-console-page .boss-console-resource-head span {
  color: #ffba72;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
}

body.boss-console-page .boss-console-resource-head h3 {
  margin: 0;
  color: #fff9f2;
  font-size: 1.22rem;
  letter-spacing: -0.03em;
}

body.boss-console-page .boss-console-resource-head p {
  margin: 0;
  max-width: 58rem;
  color: #c4ac92;
  line-height: 1.65;
}

body.boss-console-page .boss-template-quickbar {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(18rem, 0.9fr);
  gap: 1rem;
  align-items: center;
  margin: 0 0 1rem;
  padding: 1.08rem 1.15rem;
  border: 1px solid rgba(255, 168, 74, 0.18);
  border-radius: 20px;
  background:
    radial-gradient(circle at top right, rgba(255, 183, 92, 0.14), transparent 36%),
    linear-gradient(135deg, rgba(49, 31, 11, 0.96), rgba(36, 23, 8, 0.94));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255,0.02),
    inset 0 24px 72px rgba(245, 142, 31, 0.08);
}

body.boss-console-page .boss-template-quickbar-copy {
  display: grid;
  gap: 0.28rem;
}

body.boss-console-page .boss-template-quickbar-copy span {
  color: #ffbe7a;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
}

body.boss-console-page .boss-template-quickbar-copy strong {
  color: #fffaf4;
  font-size: 1.08rem;
  line-height: 1.4;
}

body.boss-console-page .boss-template-quickbar-copy p {
  margin: 0;
  color: #cfb79c;
  font-size: 0.9rem;
  line-height: 1.7;
}

body.boss-console-page .boss-template-quickbar-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  align-items: stretch;
}

body.boss-console-page .boss-template-quickbar-actions .boss-mini-btn {
  width: 100%;
  min-height: 3rem;
  padding-inline: 0.95rem;
  justify-content: center;
  border-radius: 14px;
}

body.boss-console-page .boss-console-resource-section .boss-console-card-grid {
  margin-top: 0;
  gap: 0.9rem;
}

body.boss-console-page .boss-console-resource-section .boss-console-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 208px;
  padding: 1rem 1rem 0.95rem;
  border: 1px solid rgba(178, 137, 92, 0.16);
  background:
    linear-gradient(180deg, rgba(37, 24, 10, 0.94), rgba(32, 20, 7, 0.98));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255,0.02),
    inset 0 26px 80px rgba(67, 41, 12, 0.1);
}

body.boss-console-page .boss-console-resource-section .boss-console-card-accent {
  border-color: rgba(255, 162, 63, 0.18);
  background:
    linear-gradient(180deg, rgba(43, 28, 11, 0.96), rgba(32, 20, 7, 0.98)),
    radial-gradient(circle at top right, rgba(255, 178, 88, 0.15), transparent 48%);
}

body.boss-console-page .boss-console-resource-section .boss-console-card-icon {
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 11px;
  font-size: 1.18rem;
}

body.boss-console-page .boss-console-resource-section .boss-console-card h3 {
  margin-top: 0.75rem;
  font-size: 1rem;
}

body.boss-console-page .boss-console-resource-section .boss-console-card p {
  margin-top: 0.48rem;
  max-width: 28rem;
  font-size: 0.88rem;
  line-height: 1.62;
}

body.boss-console-page .boss-console-resource-section .boss-console-actions {
  display: grid;
  gap: 0.52rem;
  width: 100%;
  margin-top: auto;
}

body.boss-console-page .boss-console-resource-section .boss-mini-btn {
  margin-top: auto;
  min-height: 2.55rem;
  padding: 0.55rem 0.82rem;
  border-radius: 11px;
  font-size: 0.86rem;
  justify-self: start;
}

body.boss-console-page .boss-console-resource-section .boss-console-actions .boss-mini-btn {
  width: 100%;
  justify-content: center;
}

body.boss-console-page .boss-console-resource-section .boss-mini-btn-secondary {
  border-color: rgba(212, 173, 130, 0.2);
  background:
    linear-gradient(180deg, rgba(44, 30, 15, 0.92), rgba(35, 23, 10, 0.96));
  color: #ffe5ca;
}

body.boss-console-page .boss-console-resource-section .boss-mini-btn-secondary:hover {
  border-color: rgba(255, 180, 103, 0.28);
  color: #fff8f1;
  box-shadow: 0 10px 24px rgba(245, 142, 31, 0.18);
}

body.boss-console-page .boss-registration-strip-bottom {
  margin: 0.95rem 0 0;
  padding: 0.88rem 0.95rem;
  border-color: rgba(235, 157, 72, 0.14);
  background: linear-gradient(135deg, rgba(36, 23, 8, 0.88), rgba(49, 31, 11, 0.82));
}

body.boss-console-page .boss-registration-strip-bottom .boss-registration-strip-copy strong {
  font-size: 0.96rem;
}

body.boss-console-page .boss-registration-strip-bottom .boss-registration-strip-copy span {
  font-size: 0.88rem;
}

body.boss-console-page .boss-registration-strip-bottom .boss-mini-btn {
  margin-top: 0;
  min-width: 7.6rem;
}

@media (max-width: 1100px) {
  body.boss-console-page .boss-template-quickbar {
    grid-template-columns: 1fr;
  }

  body.boss-console-page .boss-template-quickbar-actions {
    grid-template-columns: 1fr;
  }
}

.ai-guide {
  position: fixed;
  right: max(1.25rem, env(safe-area-inset-right));
  bottom: max(1.25rem, env(safe-area-inset-bottom));
  z-index: 80;
  font-family: "Manrope", "Noto Sans SC", sans-serif;
  pointer-events: none;
}

.ai-guide-launcher {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 7.4rem;
  height: 7.4rem;
  padding: 0;
  border: 0;
  color: #fff5ea;
  background: transparent;
  cursor: pointer;
  isolation: isolate;
  opacity: 0.84;
  pointer-events: auto;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.ai-guide-launcher::before {
  content: "";
  position: absolute;
  inset: 1.2rem 0.7rem 0.35rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 164, 72, 0.34), rgba(255, 164, 72, 0.1) 42%, transparent 72%);
  filter: blur(10px);
  transform: translateY(1.35rem) scaleX(0.82);
  z-index: -1;
  animation: aiGuidePulse 2.8s ease-in-out infinite;
}

.ai-guide-launcher:hover,
.ai-guide.is-open .ai-guide-launcher {
  opacity: 1;
  transform: translateY(-0.18rem);
}

.ai-guide-hologram {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.ai-guide-hologram img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 16px 34px rgba(255, 144, 32, 0.24));
  animation: aiGuideFloat 4s ease-in-out infinite;
}

.ai-guide-hologram i {
  position: absolute;
  left: 50%;
  bottom: 0.2rem;
  width: 4.2rem;
  height: 0.42rem;
  border: 1px solid rgba(255, 173, 90, 0.38);
  border-radius: 999px;
  transform: translateX(-50%);
  background: rgba(255, 162, 67, 0.08);
  box-shadow: 0 0 22px rgba(255, 162, 67, 0.36);
}

.ai-guide-speech {
  position: absolute;
  right: 5.65rem;
  bottom: 4.75rem;
  display: grid;
  gap: 0.1rem;
  min-width: 10.8rem;
  padding: 0.74rem 0.82rem;
  border: 1px solid rgba(255, 182, 106, 0.28);
  border-radius: 16px 16px 4px 16px;
  background: rgba(30, 19, 7, 0.88);
  box-shadow: 0 18px 45px rgba(0, 0, 0,0.26), inset 0 0 0 1px rgba(255, 255, 255,0.04);
  text-align: left;
  transform: translateY(0.45rem) scale(0.96);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.ai-guide-launcher:hover .ai-guide-speech,
.ai-guide.is-speaking .ai-guide-speech,
.ai-guide.is-open .ai-guide-speech {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.ai-guide-speech b {
  color: #fff8f0;
  font-size: 0.92rem;
}

.ai-guide-speech em {
  color: #f5c28e;
  font-size: 0.78rem;
  font-style: normal;
}

.ai-guide-panel {
  position: absolute;
  right: 0;
  bottom: 7.95rem;
  width: min(22.5rem, calc(100vw - 1.6rem));
  max-height: min(37rem, calc(100vh - 2.4rem));
  overflow: hidden;
  border: 1px solid rgba(210, 152, 88, 0.26);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(36, 23, 9, 0.98), rgba(27, 17, 6, 0.98));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42), inset 0 0 0 1px rgba(255, 255, 255,0.03);
  pointer-events: auto;
}

@keyframes aiGuideFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-0.34rem); }
}

@keyframes aiGuidePulse {
  0%, 100% { opacity: 0.64; transform: translateY(1.35rem) scaleX(0.82); }
  50% { opacity: 1; transform: translateY(1.35rem) scaleX(1); }
}

.ai-guide-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1rem 0.85rem;
  border-bottom: 1px solid rgba(190, 143, 91, 0.14);
}

.ai-guide-head div {
  display: grid;
  gap: 0.16rem;
}

.ai-guide-head span {
  color: #ffb467;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
}

.ai-guide-head strong {
  color: #fff9f2;
  font-size: 1rem;
}

.ai-guide-head button,
.ai-guide-form button {
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255,0.08);
  color: #ffefdf;
  background: rgba(255, 255, 255,0.04);
  cursor: pointer;
}

.ai-guide-head button {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 999px;
}

.ai-guide-body {
  display: grid;
  gap: 0.65rem;
  max-height: 20rem;
  overflow: auto;
  padding: 0.9rem 1rem;
}

.ai-guide-message {
  display: grid;
  gap: 0.3rem;
  max-width: 90%;
  padding: 0.72rem 0.78rem;
  border-radius: 15px;
}

.ai-guide-message strong {
  color: #fff9f2;
  font-size: 0.92rem;
}

.ai-guide-message p {
  margin: 0;
  color: #d7c0a7;
  font-size: 0.86rem;
  line-height: 1.6;
}

.ai-guide-source {
  justify-self: start;
  margin-top: 0.08rem;
  padding: 0.16rem 0.42rem;
  border: 1px solid rgba(255, 180, 103, 0.18);
  border-radius: 999px;
  color: #f5bb7f;
  background: rgba(255, 180, 103, 0.07);
  font-size: 0.68rem;
  font-weight: 800;
}

.ai-guide-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.34rem;
  margin-top: 0.12rem;
}

.ai-guide-suggestions button {
  border: 1px solid rgba(255, 180, 103, 0.18);
  border-radius: 999px;
  color: #ffe4c7;
  background: rgba(255, 180, 103, 0.07);
  padding: 0.32rem 0.52rem;
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
}

.ai-guide-message-bot {
  justify-self: start;
  border: 1px solid rgba(255, 168, 77, 0.14);
  background: rgba(103, 69, 33, 0.18);
}

.ai-guide-message-user {
  justify-self: end;
  border: 1px solid rgba(255, 172, 88, 0.26);
  background: rgba(235, 138, 38, 0.16);
}

.ai-guide-prompts {
  display: flex;
  gap: 0.48rem;
  overflow-x: auto;
  padding: 0 1rem 0.8rem;
}

.ai-guide-prompts button {
  flex: 0 0 auto;
  min-height: 2.15rem;
  border: 1px solid rgba(210, 152, 88, 0.22);
  border-radius: 999px;
  color: #f8e2cb;
  background: rgba(255, 255, 255,0.04);
  font-weight: 800;
  cursor: pointer;
}

.ai-guide-form {
  display: grid;
  grid-template-columns: 1fr 2.6rem;
  gap: 0.55rem;
  padding: 0.85rem 1rem 1rem;
  border-top: 1px solid rgba(190, 143, 91, 0.14);
}

.ai-guide-form input {
  width: 100%;
  min-height: 2.65rem;
  border: 1px solid rgba(255, 255, 255,0.08);
  border-radius: 13px;
  color: #fff7ee;
  background: rgba(255, 255, 255,0.04);
  padding: 0 0.85rem;
  outline: none;
}

.ai-guide-form input:focus {
  border-color: rgba(255, 168, 79, 0.42);
  box-shadow: 0 0 0 3px rgba(255, 168, 79, 0.08);
}

.ai-guide-form button {
  border-radius: 13px;
}

@media (prefers-reduced-motion: reduce) {
  .ai-guide-launcher,
  .ai-guide-launcher::before,
  .ai-guide-hologram img,
  .ai-guide-speech {
    animation: none !important;
    transition: none !important;
  }
}

body.boss-console-page .boss-upload-workbench {
  margin-top: 1.3rem;
  padding: 1.18rem;
  border-radius: 22px;
  border: 1px solid rgba(185, 116, 41, 0.28);
  background:
    linear-gradient(180deg, rgba(39, 24, 8, 0.92), rgba(32, 20, 7, 0.94));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255,0.02),
    inset 0 28px 80px rgba(127, 80, 27, 0.1);
}

body.boss-console-page .boss-upload-workbench-head {
  display: grid;
  gap: 0.18rem;
  margin-bottom: 0.82rem;
}

body.boss-console-page .boss-upload-workbench-head span {
  color: #f8c48a;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
}

body.boss-console-page .boss-upload-workbench-head strong {
  color: #fff7ef;
  font-size: 1.06rem;
  letter-spacing: -0.02em;
}

body.boss-console-page .boss-platform-mode legend {
  display: none;
}

body.boss-console-page .boss-platform-mode {
  gap: 0.8rem;
}

body.boss-console-page .boss-mode-card {
  grid-template-columns: auto 1fr;
  align-content: center;
  align-items: center;
  gap: 0.14rem 0.86rem;
  min-height: 90px;
  padding: 0.9rem 1rem;
  background: rgba(32, 21, 8, 0.8);
}

body.boss-console-page .boss-mode-card .boss-platform-icon {
  grid-row: 1 / span 2;
  width: 2.45rem;
  height: 2.45rem;
  font-size: 1rem;
  box-shadow:
    0 12px 24px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

body.boss-console-page .boss-mode-card b {
  font-size: 0.98rem;
}

body.boss-console-page .boss-mode-card em {
  font-size: 0.8rem;
  line-height: 1.45;
}

body.boss-console-page .boss-platform-auto {
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.32), transparent 24%),
    linear-gradient(135deg, rgba(224, 145, 70, 0.24), rgba(255, 146, 27, 0.28), rgba(255, 183, 92, 0.22));
  border: 1px solid rgba(255, 191, 126, 0.34);
  color: #ff9b35;
}

body.boss-console-page .boss-platform-douyin,
body.boss-console-page .boss-platform-pdd,
body.boss-console-page .boss-platform-tiktok {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: 16px;
}

body.boss-console-page .boss-platform-douyin {
  color: #ffffff;
  background:
    radial-gradient(circle at 26% 24%, rgba(244, 139, 37, 0.9), transparent 24%),
    radial-gradient(circle at 78% 74%, rgba(254, 180, 44, 0.88), transparent 28%),
    linear-gradient(135deg, #0d0905, #271d11);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

body.boss-console-page .boss-platform-douyin span,
body.boss-console-page .boss-platform-tiktok span {
  position: relative;
  z-index: 1;
  display: block;
  transform: translateY(-0.02rem) rotate(-8deg);
  font-size: 1.34rem;
  font-weight: 1000;
  line-height: 1;
  text-shadow:
    -0.08rem 0 #f48b25,
    0.08rem 0 #feb42c;
}

body.boss-console-page .boss-platform-pdd {
  color: #ffffff;
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.34), transparent 23%),
    linear-gradient(135deg, #ffb731, #ffcc6b);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

body.boss-console-page .boss-platform-pdd::before {
  content: "";
  position: absolute;
  inset: 0.5rem 0.52rem 0.68rem;
  border-radius: 50% 50% 46% 46%;
  background: rgba(255, 255, 255, 0.14);
  transform: rotate(-45deg);
}

body.boss-console-page .boss-platform-pdd span {
  position: relative;
  z-index: 1;
  font-size: 0.98rem;
  font-weight: 1000;
  letter-spacing: -0.08em;
}

body.boss-console-page .boss-mode-card-flagship {
  position: relative;
  border-color: rgba(255, 191, 126, 0.24);
  background:
    linear-gradient(135deg, rgba(224, 145, 70, 0.08), rgba(255, 146, 27, 0.08), rgba(255, 183, 92, 0.08)),
    rgba(32, 21, 8, 0.82);
}

body.boss-console-page .boss-mode-card-flagship:has(input:checked) {
  border-color: rgba(255, 191, 126, 0.48);
  box-shadow:
    0 18px 42px rgba(23, 13, 2, 0.28),
    0 0 0 1px rgba(255, 191, 126, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

body.boss-console-page .boss-mode-card-flagship.is-locked {
  opacity: 0.62;
  cursor: not-allowed;
  filter: saturate(0.58);
}

body.boss-console-page .boss-mode-card-tiktok.is-locked,
body.boss-console-page .boss-mode-card-flagship.is-locked {
  pointer-events: none;
  filter: grayscale(0.32) saturate(0.58);
}

body.boss-console-page .boss-mode-card-tiktok.is-locked input,
body.boss-console-page .boss-mode-card-flagship.is-locked input {
  pointer-events: none;
}

body.boss-console-page .boss-platform-flagship {
  background: linear-gradient(135deg, #e09146, #ff921b 54%, #ffb75c);
  color: #ffffff;
}

body.boss-console-page .boss-mode-card-flagship.is-locked .boss-platform-flagship {
  background: rgba(188, 166, 141, 0.13);
  border-color: rgba(188, 166, 141, 0.2);
  color: #ccbeae;
}

body.boss-console-page .boss-flagship-lock {
  position: absolute;
  top: 0.52rem;
  right: 0.55rem;
  padding: 0.22rem 0.48rem;
  border-radius: 999px;
  background: rgba(188, 166, 141, 0.12);
  color: #d3c5b5;
  font-size: 0.68rem;
  font-weight: 800;
}

body.boss-console-page .boss-flagship-upload-section {
  padding: 1rem;
  border: 1px solid rgba(255, 191, 126, 0.2);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(224, 145, 70, 0.08), rgba(255, 146, 27, 0.06)),
    rgba(32, 21, 8, 0.66);
}

body.boss-console-page .boss-flagship-dropzone {
  display: grid;
  gap: 0.42rem;
  place-items: center;
  min-height: 11rem;
  padding: 1.2rem;
  border: 1px dashed rgba(255, 191, 126, 0.42);
  border-radius: 20px;
  background: rgba(24, 15, 5, 0.36);
  text-align: center;
  cursor: pointer;
}

body.boss-console-page .boss-flagship-dropzone > .material-symbols-outlined {
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 999px;
  background: rgba(224, 145, 70, 0.12);
  color: #ffbf7e;
}

body.boss-console-page .boss-flagship-dropzone strong {
  color: #fffbf6;
  font-size: 1.08rem;
}

body.boss-console-page .boss-flagship-dropzone em {
  max-width: 38rem;
  color: #bca68d;
  font-size: 0.86rem;
  font-style: normal;
  line-height: 1.55;
}

body.boss-console-page .boss-flagship-dropzone input {
  width: min(32rem, 100%);
  color: #e7dacb;
}

body.boss-console-page .boss-flagship-recognition-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.72rem;
}

body.boss-console-page .boss-flagship-recognition-preview article {
  padding: 0.82rem 0.9rem;
  border: 1px solid rgba(255, 192, 120, 0.13);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
}

body.boss-console-page .boss-flagship-recognition-preview span {
  display: block;
  margin-bottom: 0.26rem;
  color: #bca68d;
  font-size: 0.76rem;
}

body.boss-console-page .boss-flagship-recognition-preview strong {
  display: block;
  color: #fff7ef;
  font-size: 0.9rem;
  line-height: 1.35;
}

body.boss-console-page .boss-platform-mode {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

body.boss-console-page .boss-mode-card-tiktok {
  position: relative;
  border-color: rgba(255, 191, 126, 0.2);
  background:
    linear-gradient(135deg, rgba(244, 139, 37, 0.08), rgba(254, 180, 44, 0.05)),
    rgba(32, 21, 8, 0.82);
}

body.boss-console-page .boss-platform-tiktok {
  display: grid;
  place-items: center;
  grid-template-rows: 1fr auto;
  gap: 0.02rem;
  padding-top: 0.16rem;
  color: #ffffff;
  background:
    radial-gradient(circle at 26% 24%, rgba(244, 139, 37, 0.95), transparent 22%),
    radial-gradient(circle at 78% 76%, rgba(254, 180, 44, 0.92), transparent 28%),
    linear-gradient(135deg, #0d0905, #271d12);
  border: 1px solid rgba(255, 191, 126, 0.26);
}

body.boss-console-page .boss-platform-tiktok small {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 100%;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.48rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

body.boss-console-page .boss-tiktok-upload-section {
  border: 1px solid rgba(255, 191, 126, 0.22);
  border-radius: 22px;
  background:
    radial-gradient(circle at top left, rgba(244, 139, 37, 0.12), transparent 30%),
    linear-gradient(135deg, rgba(40, 26, 10, 0.9), rgba(38, 27, 13, 0.88));
}

body.boss-console-page .boss-tiktok-upload-section.is-preview-locked {
  border-color: rgba(255, 191, 126, 0.16);
}

body.boss-console-page .boss-tiktok-lock-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.35rem 0.8rem;
  align-items: center;
  margin-top: 0.85rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 191, 126, 0.18);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(244, 139, 37, 0.1), rgba(255, 183, 92, 0.08)),
    rgba(22, 14, 4, 0.56);
}

body.boss-console-page .boss-tiktok-lock-banner strong,
body.boss-console-page .boss-tiktok-lock-banner span {
  display: block;
}

body.boss-console-page .boss-tiktok-lock-banner strong {
  color: #fff7ef;
  font-size: 0.98rem;
}

body.boss-console-page .boss-tiktok-lock-banner span {
  color: #c8b49d;
  font-size: 0.84rem;
}

body.boss-console-page .boss-tiktok-lock-banner a {
  grid-row: span 2;
  align-self: stretch;
  display: inline-grid;
  place-items: center;
  min-width: 9rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #ffb569, #ffb75c);
  color: #1d1103;
  font-size: 0.86rem;
  font-weight: 900;
  text-decoration: none;
}

body.boss-console-page .boss-tiktok-ledger-note {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.72rem;
  margin-top: 0.85rem;
}

body.boss-console-page .boss-tiktok-ledger-note article {
  min-height: 7.2rem;
  padding: 0.9rem 0.95rem;
  border: 1px solid rgba(255, 191, 126, 0.16);
  border-radius: 16px;
  background: rgba(22, 14, 4, 0.48);
}

body.boss-console-page .boss-tiktok-ledger-note b,
body.boss-console-page .boss-tiktok-ledger-note span,
body.boss-console-page .boss-tiktok-ledger-note em {
  display: block;
}

body.boss-console-page .boss-tiktok-ledger-note b {
  width: fit-content;
  margin-bottom: 0.48rem;
  padding: 0.18rem 0.52rem;
  border-radius: 999px;
  background: rgba(255, 191, 126, 0.12);
  color: #ffbf7e;
  font-size: 0.72rem;
}

body.boss-console-page .boss-tiktok-ledger-note span {
  color: #fff7ef;
  font-size: 0.98rem;
  font-weight: 850;
}

body.boss-console-page .boss-tiktok-ledger-note em {
  margin-top: 0.36rem;
  color: #bca68d;
  font-size: 0.8rem;
  font-style: normal;
  line-height: 1.5;
}

body.boss-console-page .boss-upload-grid-tiktok {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.boss-console-page .boss-file-card-tiktok-primary {
  border-color: rgba(255, 191, 126, 0.38);
  background:
    linear-gradient(135deg, rgba(244, 139, 37, 0.08), rgba(255, 183, 92, 0.08)),
    rgba(28, 18, 7, 0.9);
}

body.boss-console-page .boss-upload-grid,
body.boss-console-page .boss-console-bottom-grid {
  margin-top: 0.88rem;
}

body.boss-console-page .boss-file-card,
body.boss-console-page .boss-date-card,
body.boss-console-page .boss-check-card {
  border-radius: 16px;
  background: rgba(28, 18, 7, 0.88);
  border-color: rgba(177, 128, 74, 0.22);
}

body.boss-console-page .boss-file-card input[type="file"] {
  min-height: 2.9rem;
  padding: 0.4rem 0;
}

body.boss-console-page .boss-check-card {
  position: relative;
  align-content: center;
}

body.boss-console-page .boss-generate-btn {
  min-height: 4rem;
  border-radius: 14px;
  box-shadow: 0 18px 36px rgba(255, 148, 39, 0.14);
}

body.boss-console-page .boss-console-bottom-grid::after {
  content: "";
  grid-column: 1 / -1;
  height: 1px;
  margin-top: 0.2rem;
  background: linear-gradient(90deg, transparent, rgba(189, 148, 104, 0.22), transparent);
}

@media (max-width: 640px) {
  body.boss-console-page .boss-hero-copy {
    text-align: left;
  }

  body.boss-console-page .boss-hero-copy h1,
  body.boss-console-page .boss-hero-copy p,
  body.boss-console-page .boss-quick-tags {
    text-align: left;
    justify-content: flex-start;
  }

  body.boss-console-page .boss-hero-panel {
    min-height: 0;
    padding: 1rem 0.95rem 1.02rem;
    border-radius: 22px;
  }

  body.boss-console-page .boss-upload-workbench {
    padding: 0.88rem;
    border-radius: 18px;
  }

  body.boss-console-page .boss-upload-workbench-head strong {
    font-size: 0.94rem;
    line-height: 1.42;
  }

  body.boss-console-page .boss-mode-card {
    min-height: 82px;
    grid-template-columns: auto 1fr;
  }

  body.boss-console-page .boss-mode-card .boss-platform-icon {
    width: 1.9rem;
    height: 1.9rem;
    font-size: 0.86rem;
  }

  body.boss-console-page .boss-file-card input[type="file"] {
    min-height: 2.5rem;
  }

  body.boss-console-page .boss-tiktok-ledger-note,
  body.boss-console-page .boss-upload-grid-tiktok {
    grid-template-columns: 1fr;
  }

  body.boss-console-page .boss-tiktok-lock-banner {
    grid-template-columns: 1fr;
  }

  body.boss-console-page .boss-tiktok-lock-banner a {
    grid-row: auto;
    min-height: 2.8rem;
  }
}

/* Final desktop hero alignment guard.
   The boss console went through several visual passes, so this block intentionally
   sits at the end of the file to keep the hero copy centered after older rules. */
@media (min-width: 641px) {
  body.boss-console-page .boss-hero-panel {
    display: grid;
    justify-items: center;
    align-items: start;
  }

  body.boss-console-page .boss-hero-copy {
    width: min(100%, 1160px);
    max-width: 1160px;
    margin-inline: auto !important;
    justify-self: center;
    text-align: center;
    transform: none;
  }

  body.boss-console-page .boss-hero-copy h1 {
    display: block;
    width: 100%;
    margin-inline: auto;
    text-align: center;
    line-height: 1.095;
    letter-spacing: -0.055em;
  }

  body.boss-console-page .boss-hero-copy p {
    margin-inline: auto;
    max-width: 900px;
    text-align: center;
    line-height: 1.92;
  }

  body.boss-console-page .boss-quick-tags {
    margin-inline: auto;
    justify-content: center;
  }
}

/* Result report tables: keep the report page width stable and scroll wide
   order/SKU tables inside the card instead of letting columns spill out. */
body.boss-result-page {
  overflow-x: hidden;
}

body.boss-result-page .boss-result-main,
body.boss-result-page .boss-result-content-grid,
body.boss-result-page .boss-table-console,
body.boss-result-page .boss-tab-panels,
body.boss-result-page .boss-tab-panel,
body.boss-result-page .boss-subtable-stack,
body.boss-result-page .boss-subtable-stack > article {
  min-width: 0;
  max-width: 100%;
}

body.boss-result-page .boss-table-console {
  overflow: hidden;
}

body.boss-result-page .boss-table-console .table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 148, 38, 0.65) rgba(33, 22, 9, 0.9);
}

body.boss-result-page .boss-table-console .table-wrap::-webkit-scrollbar {
  height: 10px;
}

body.boss-result-page .boss-table-console .table-wrap::-webkit-scrollbar-track {
  background: rgba(33, 22, 9, 0.92);
  border-radius: 999px;
}

body.boss-result-page .boss-table-console .table-wrap::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #ff9222, #ffb149);
  border-radius: 999px;
}

body.boss-result-page .boss-table-console .table-wrap table,
body.boss-result-page .boss-table-console .table-wrap .table {
  width: max-content;
  min-width: 100%;
  table-layout: auto;
}

body.boss-result-page .boss-table-console .table-wrap th,
body.boss-result-page .boss-table-console .table-wrap td {
  white-space: nowrap;
}

.boss-mobile-task-shell,
.boss-mobile-upload-helper {
  display: none;
}

/* Final mobile replica pass:
   lock the phone layouts to the approved three-screen direction
   instead of letting older breakpoint layers keep fighting each other. */
@media (max-width: 640px) {
  body.boss-console-page,
  body.boss-result-page {
    background:
      radial-gradient(circle at 50% -10%, rgba(255, 128, 0, 0.09), transparent 30%),
      linear-gradient(180deg, #130b03 0%, #1d1307 42%, #1f1509 100%);
  }

  body.boss-console-page .boss-topbar {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 0.75rem;
    height: auto;
    padding: calc(env(safe-area-inset-top) + 0.7rem) 0.12rem 0.45rem;
    background: transparent;
    border-bottom: 0;
    box-shadow: none;
  }

  body.boss-console-page .boss-nav,
  body.boss-console-page .boss-search {
    display: none;
  }

  body.boss-console-page .boss-brand {
    min-width: 0;
    gap: 0.55rem;
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: -0.02em;
  }

  body.boss-console-page .boss-brand span:last-child {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  body.boss-console-page .boss-brand-mark {
    width: 1.5rem;
    height: 1.5rem;
    font-size: 0.96rem;
  }

  body.boss-console-page .boss-toolbar {
    justify-content: flex-end;
    gap: 0.48rem;
  }

  body.boss-console-page .boss-toolbar-link {
    text-decoration: none;
  }

  body.boss-console-page .boss-toolbar-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    background: rgba(44, 30, 15, 0.94);
    border: 1px solid rgba(199, 145, 87, 0.22);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  }

  body.boss-console-page .boss-stage,
  body.boss-result-page .boss-result-main {
    width: min(100vw - 0.9rem, 100%);
    padding-bottom: 6.55rem;
  }

  body.boss-console-page .boss-grid-shell {
    gap: 1rem;
    padding-top: 0.24rem;
  }

  body.boss-console-page .boss-hero-panel {
    min-height: 0;
    padding: 1.12rem 1.08rem 1.18rem;
    border-radius: 30px;
    overflow: hidden;
  }

  body.boss-console-page .boss-hero-panel::before {
    opacity: 0.16;
    background-size: 20px 20px;
  }

  body.boss-console-page .boss-hero-radar {
    display: none;
  }

  body.boss-console-page .boss-hero-copy {
    width: 100%;
    text-align: left;
  }

  body.boss-console-page .boss-hero-copy h1 {
    width: 100%;
    max-width: 6.2ch;
    font-size: clamp(3rem, 11.8vw, 4.28rem);
    line-height: 0.95;
    letter-spacing: -0.068em;
    text-align: left;
  }

  body.boss-console-page .boss-hero-copy h1 span {
    display: block;
    margin-top: 0.14rem;
  }

  body.boss-console-page .boss-hero-copy p {
    max-width: none;
    margin-top: 1rem;
    font-size: 0.91rem;
    line-height: 1.78;
    text-align: left;
    color: #ddcab5;
  }

  body.boss-console-page .boss-quick-tags {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.56rem;
  }

  body.boss-console-page .boss-quick-tags span {
    width: 100%;
    min-height: 4.25rem;
    justify-content: flex-start;
    padding: 0.88rem 1rem;
    border-radius: 18px;
    font-size: 0.84rem;
    font-weight: 700;
    color: #ffefdf;
    background: rgba(36, 24, 10, 0.88);
    border-color: rgba(209, 149, 84, 0.22);
  }

  body.boss-console-page .boss-quick-tags span .material-symbols-outlined {
    font-size: 1.2rem;
  }

  body.boss-console-page .boss-core-grid {
    grid-template-columns: 1fr;
    gap: 0.95rem;
  }

  body.boss-console-page .boss-core-card {
    min-height: 0;
    padding: 1rem;
    border-radius: 24px;
  }

  body.boss-console-page .boss-chip {
    font-size: 0.68rem;
    letter-spacing: 0.18em;
  }

  body.boss-console-page .boss-card-icon {
    width: 3.85rem;
    height: 3.85rem;
    margin: 0.6rem 0 0.82rem auto;
    font-size: 2rem;
    border-radius: 20px;
  }

  body.boss-console-page .boss-core-card h2 {
    font-size: 2rem;
    line-height: 1.05;
  }

  body.boss-console-page .boss-core-card p {
    font-size: 0.88rem;
    line-height: 1.62;
    color: #d7c3ad;
  }

  body.boss-console-page .boss-primary-action,
  body.boss-console-page .boss-secondary-action {
    min-height: 3.2rem;
    border-radius: 14px;
    font-size: 0.97rem;
  }

  body.boss-console-page .boss-inline-link {
    margin-top: 0.7rem;
    font-size: 0.9rem;
  }

  body.boss-console-page .boss-platform-pills {
    gap: 0.42rem;
    margin-top: 0.82rem;
  }

  body.boss-console-page .boss-platform-pills em {
    display: block;
    width: 100%;
    margin-top: 0.28rem;
    font-size: 0.76rem;
  }

  body.boss-console-page .boss-status-strip,
  body.boss-console-page .boss-wish-panel {
    display: none;
  }

  body.boss-console-page .boss-console-panel {
    margin-top: 0.08rem;
    padding: 1rem;
    border-radius: 26px;
    background:
      linear-gradient(180deg, rgba(29, 18, 6, 0.98), rgba(29, 18, 6, 0.95)),
      radial-gradient(circle at 86% 10%, rgba(255, 129, 0, 0.08), transparent 22%);
  }

  body.boss-console-page .boss-mobile-task-shell {
    display: grid;
    gap: 0.68rem;
    margin-bottom: 0.86rem;
  }

  body.boss-console-page .boss-mobile-task-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
  }

  body.boss-console-page .boss-mobile-task-bar strong {
    color: #fff9f3;
    font-size: 1.08rem;
    font-weight: 800;
  }

  body.boss-console-page .boss-mobile-task-bar span {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    color: #f6a45c;
    font-size: 0.73rem;
    letter-spacing: 0.16em;
    font-family: "Space Grotesk", sans-serif;
  }

  body.boss-console-page .boss-mobile-task-bar .material-symbols-outlined {
    font-size: 0.82rem;
  }

  body.boss-console-page .boss-mobile-stepper {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.35rem;
  }

  body.boss-console-page .boss-mobile-stepper span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.32rem;
    min-height: 2.25rem;
    padding: 0.4rem 0.3rem;
    border-radius: 999px;
    border: 1px solid rgba(146, 114, 78, 0.24);
    background: rgba(31, 20, 8, 0.84);
    color: #a28a70;
    font-size: 0.72rem;
    font-weight: 700;
  }

  body.boss-console-page .boss-mobile-stepper i {
    width: 1.1rem;
    height: 1.1rem;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    font-style: normal;
    font-size: 0.68rem;
  }

  body.boss-console-page .boss-mobile-stepper .is-active {
    border-color: rgba(255, 144, 31, 0.45);
    color: #ff9d39;
    box-shadow: 0 0 0 1px rgba(255, 144, 31, 0.12) inset;
  }

  body.boss-console-page .boss-mobile-stepper .is-active i {
    background: rgba(255, 144, 31, 0.18);
    color: #ffbe7c;
  }

  body.boss-console-page .boss-mobile-scene-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.42rem;
  }

  body.boss-console-page .boss-mobile-scene-tabs a {
    min-height: 2.65rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.55rem;
    border-radius: 13px;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 700;
    color: #c1a98e;
    border: 1px solid rgba(151, 115, 76, 0.26);
    background: rgba(31, 20, 8, 0.82);
  }

  body.boss-console-page .boss-mobile-scene-tabs a.is-active {
    color: #24180b;
    border-color: rgba(255, 165, 74, 0.34);
    background: linear-gradient(90deg, #ff8a14, #ffa748);
    box-shadow: 0 10px 28px rgba(255, 144, 30, 0.18);
  }

  body.boss-console-page .boss-console-head span,
  body.boss-console-page .boss-console-head p {
    display: none;
  }

  body.boss-console-page .boss-console-head h2 {
    font-size: 1.52rem;
    line-height: 1.22;
    letter-spacing: -0.03em;
  }

  body.boss-console-page .boss-console-card-grid {
    display: none;
  }

  body.boss-console-page .boss-console-card {
    padding: 0.88rem;
    border-radius: 18px;
  }

  body.boss-console-page .boss-console-card h3 {
    font-size: 0.98rem;
    line-height: 1.3;
  }

  body.boss-console-page .boss-console-card p {
    font-size: 0.76rem;
    line-height: 1.55;
  }

  body.boss-console-page .boss-mini-btn {
    min-height: 2.55rem;
    border-radius: 12px;
    font-size: 0.8rem;
    justify-content: center;
  }

  body.boss-console-page .boss-upload-workbench {
    margin-top: 0.92rem;
    padding: 0.96rem;
    border-radius: 22px;
    border-color: rgba(217, 137, 52, 0.18);
  }

  body.boss-console-page .boss-upload-workbench-head span {
    display: none;
  }

  body.boss-console-page .boss-upload-workbench-head strong {
    font-size: 1rem;
    line-height: 1.36;
  }

  body.boss-console-page .boss-platform-mode {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.46rem;
  }

  body.boss-console-page .boss-mode-card {
    min-height: 0;
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 0.34rem;
    padding: 0.72rem 0.45rem;
    border-radius: 14px;
  }

  body.boss-console-page .boss-mode-card .boss-platform-icon {
    grid-row: auto;
    width: 2rem;
    height: 2rem;
    font-size: 0.82rem;
    border-radius: 14px;
  }

  body.boss-console-page .boss-platform-douyin span,
  body.boss-console-page .boss-platform-tiktok span {
    font-size: 1.05rem;
  }

  body.boss-console-page .boss-platform-tiktok small {
    font-size: 0.42rem;
  }

  body.boss-console-page .boss-mode-card b {
    font-size: 0.84rem;
    line-height: 1.2;
  }

  body.boss-console-page .boss-mode-card em {
    display: none;
  }

  body.boss-console-page .boss-upload-grid,
  body.boss-console-page .boss-console-bottom-grid {
    grid-template-columns: 1fr;
    gap: 0.68rem;
    margin-top: 0.82rem;
  }

  body.boss-console-page .boss-file-card,
  body.boss-console-page .boss-date-card,
  body.boss-console-page .boss-check-card {
    padding: 0.86rem 0.9rem;
    border-radius: 18px;
  }

  body.boss-console-page .boss-file-title {
    align-items: center;
  }

  body.boss-console-page .boss-file-title span,
  body.boss-console-page .boss-date-card > span,
  body.boss-console-page .boss-check-card > span {
    font-size: 0.92rem;
  }

  body.boss-console-page .boss-file-card small,
  body.boss-console-page .boss-date-card small,
  body.boss-console-page .boss-check-card small {
    font-size: 0.74rem;
    line-height: 1.5;
  }

  body.boss-console-page .boss-mobile-upload-helper {
    display: grid;
    gap: 0.72rem;
    margin-top: 0.82rem;
    padding: 0.86rem 0.88rem;
    border-radius: 18px;
    border: 1px solid rgba(194, 130, 60, 0.18);
    background: rgba(31, 20, 7, 0.82);
  }

  body.boss-console-page .boss-mobile-upload-helper-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    color: #ffefde;
  }

  body.boss-console-page .boss-mobile-upload-helper-head > div {
    display: inline-flex;
    align-items: center;
    gap: 0.46rem;
  }

  body.boss-console-page .boss-mobile-upload-helper-head strong {
    font-size: 0.94rem;
  }

  body.boss-console-page .boss-mobile-upload-helper-head .material-symbols-outlined {
    font-size: 1rem;
    color: #ffa74e;
  }

  body.boss-console-page .boss-mobile-upload-helper-list {
    display: grid;
    gap: 0.46rem;
  }

  body.boss-console-page .boss-mobile-upload-helper-list article {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.52rem;
    padding: 0.56rem 0.62rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.025);
  }

  body.boss-console-page .boss-mobile-upload-helper-list article .material-symbols-outlined {
    color: #ffbe7c;
    font-size: 1rem;
  }

  body.boss-console-page .boss-mobile-upload-helper-list article b {
    color: #f7eadb;
    font-size: 0.82rem;
  }

  body.boss-console-page .boss-mobile-upload-helper-list article em {
    color: #ad977f;
    font-size: 0.76rem;
    font-style: normal;
  }

  body.boss-console-page .boss-generate-btn {
    min-height: 3.55rem;
    margin-top: 0.9rem;
    border-radius: 16px;
    font-size: 1rem;
  }

  body.boss-console-page .home-inline-progress {
    margin-top: 0.85rem;
    padding: 0.96rem;
    border-radius: 18px;
  }

  body.boss-console-page .home-inline-progress-head {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  body.boss-console-page .home-inline-progress p {
    font-size: 0.88rem;
  }

  body.boss-console-page .home-inline-progress-hint {
    font-size: 0.74rem;
    line-height: 1.45;
  }

  body.boss-console-page .boss-mobile-nav {
    display: grid;
    left: 0.78rem;
    right: 0.78rem;
    bottom: 0.75rem;
    padding: 0.5rem;
    gap: 0.38rem;
    border-radius: 24px;
    background: rgba(24, 16, 6, 0.95);
    border: 1px solid rgba(183, 123, 57, 0.18);
  }

  body.boss-console-page .boss-mobile-nav a {
    min-height: 3.95rem;
    padding-top: 0.2rem;
    border-radius: 16px;
    font-size: 0.76rem;
  }

  body.boss-console-page .boss-mobile-nav a .material-symbols-outlined {
    font-size: 1.22rem;
  }

  body.boss-console-page .boss-mobile-nav a.is-active {
    background: rgba(61, 40, 18, 0.98);
    color: #ffa448;
  }

  body.boss-result-page .boss-topbar {
    display: none;
  }

  body.boss-result-page .boss-result-mobile-head {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.8rem;
    padding: 0.15rem 0 0.55rem;
    margin-bottom: 0.5rem;
  }

  body.boss-result-page .boss-result-mobile-head strong {
    font-size: 1.46rem;
    line-height: 1.14;
    letter-spacing: -0.03em;
  }

  body.boss-result-page .boss-result-mobile-head span {
    font-size: 0.78rem;
    color: #c8a580;
    letter-spacing: 0.16em;
  }

  body.boss-result-page .boss-diagnosis-card {
    padding: 0.94rem;
    border-radius: 20px;
  }

  body.boss-result-page .boss-diagnosis-head strong {
    font-size: 1rem;
  }

  body.boss-result-page .boss-diagnosis-head p {
    font-size: 0.8rem;
    line-height: 1.55;
  }

  body.boss-result-page .boss-result-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.76rem;
  }

  body.boss-result-page .boss-metric-card {
    min-height: 126px;
    padding: 0.92rem;
    border-radius: 19px;
  }

  body.boss-result-page .boss-metric-card span {
    font-size: 0.78rem;
  }

  body.boss-result-page .boss-metric-card strong {
    margin-top: 0.42rem;
    font-size: 1.58rem;
  }

  body.boss-result-page .boss-metric-card small {
    font-size: 0.72rem;
    line-height: 1.45;
  }

  body.boss-result-page .boss-result-content-grid {
    grid-template-columns: 1fr;
    gap: 0.82rem;
  }

  body.boss-result-page .boss-result-mainchart,
  body.boss-result-page .boss-side-panel,
  body.boss-result-page .boss-table-console {
    padding: 0.98rem;
    border-radius: 22px;
  }

  body.boss-result-page .boss-panel-title-row h2,
  body.boss-result-page .boss-side-panel h3 {
    font-size: 0.98rem;
  }

  body.boss-result-page .boss-result-legend {
    gap: 0.66rem;
    font-size: 0.74rem;
  }

  body.boss-result-page .boss-chart-tall {
    height: 208px;
  }

  body.boss-result-page .boss-chart-compact {
    height: 108px;
  }

  body.boss-result-page .boss-side-mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }

  body.boss-result-page .boss-side-mini-grid article {
    padding: 0.72rem;
    border-radius: 12px;
  }

  body.boss-result-page .boss-side-mini-grid strong {
    font-size: 1.08rem;
  }

  body.boss-result-page .boss-priority-list li {
    padding: 0.56rem 0.66rem;
    border-radius: 12px;
  }

  body.boss-result-page .boss-table-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 0.44rem;
    margin-bottom: 0.78rem;
    padding-bottom: 0.12rem;
    scrollbar-width: none;
  }

  body.boss-result-page .boss-table-tabs::-webkit-scrollbar {
    display: none;
  }

  body.boss-result-page .boss-tab {
    flex: 0 0 auto;
    min-height: 2.05rem;
    padding: 0.38rem 0.75rem;
    border-radius: 999px;
    font-size: 0.76rem;
  }

  body.boss-result-page .boss-result-bottom-actions {
    position: sticky;
    bottom: 5.35rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    z-index: 25;
    margin-top: 0.82rem;
    padding: 0.8rem;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(24, 15, 5, 0.84), rgba(24, 15, 5, 0.97));
    backdrop-filter: blur(14px);
  }

  body.boss-result-page .boss-result-btn {
    min-height: 3.12rem;
    border-radius: 14px;
    font-size: 0.96rem;
  }

  .boss-ai-drawer-panel {
    top: 0.65rem;
    right: 0.65rem;
    bottom: 5.8rem;
    width: calc(100vw - 1.3rem);
    padding: 1rem;
    border-radius: 24px;
  }

  .boss-ai-drawer-head h2 {
    font-size: 1.55rem;
  }

  .boss-ai-roi-grid,
  .boss-ai-board-grid {
    grid-template-columns: 1fr;
  }

  body.boss-result-page .boss-mobile-nav {
    display: grid;
    left: 0.78rem;
    right: 0.78rem;
    bottom: 0.75rem;
    padding: 0.5rem;
    gap: 0.38rem;
    border-radius: 24px;
    background: rgba(24, 16, 6, 0.95);
    border: 1px solid rgba(183, 123, 57, 0.18);
  }

  body.boss-result-page .boss-mobile-nav a {
    min-height: 3.95rem;
    padding-top: 0.2rem;
    border-radius: 16px;
    font-size: 0.76rem;
  }

  body.boss-result-page .boss-mobile-nav a .material-symbols-outlined {
    font-size: 1.22rem;
  }
}

body.boss-account-page .boss-stage {
  width: min(100vw - 1rem, 1520px);
}

.boss-account-main {
  padding-top: 1.25rem;
  padding-bottom: 6.25rem;
}

.boss-account-toolbar {
  gap: 0.9rem;
}

.boss-account-logout-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2.6rem;
  padding: 0 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(143, 106, 66, 0.24);
  background: rgba(27, 18, 8, 0.62);
  color: #fff7ee;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
}

.boss-account-logout-link .material-symbols-outlined {
  font-size: 1.12rem;
}

.boss-account-online {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #fde9d5;
  font-size: 0.9rem;
  white-space: nowrap;
}

.boss-account-online i,
.boss-account-footer i {
  width: 0.58rem;
  height: 0.58rem;
  border-radius: 999px;
  display: inline-block;
}

.boss-account-online i,
.boss-account-footer .is-green {
  background: #df7b20;
  box-shadow: 0 0 0 0 rgba(223, 123, 32, 0.5);
}

.boss-account-footer .is-cyan {
  background: #ff9d39;
}

.boss-account-footer .is-purple {
  background: #ffb758;
}

.boss-account-toolbar .boss-toolbar-link.is-active {
  box-shadow: inset 0 0 0 1px rgba(255, 155, 53, 0.28);
  color: var(--boss-cyan);
}

.boss-account-mobile-head {
  display: none;
}

.boss-account-head-actions {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 0.55rem;
}

.boss-account-mobile-logout {
  display: inline-flex;
  align-items: center;
  min-height: 2.2rem;
  padding: 0 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(143, 106, 66, 0.22);
  background: rgba(27, 18, 8, 0.62);
  color: #fff7ee;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 700;
}

.boss-account-shell {
  border: 1px solid rgba(255, 155, 53, 0.12);
  border-radius: 32px;
  padding: 1.4rem;
  background:
    radial-gradient(circle at top left, rgba(255, 159, 48, 0.08), transparent 26%),
    linear-gradient(180deg, rgba(24, 15, 5, 0.94), rgba(28, 18, 6, 0.9));
  box-shadow:
    0 28px 80px rgba(23, 13, 2, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.boss-account-hero,
.boss-account-shortcuts,
.boss-account-profile-card,
.boss-account-card,
.boss-account-history {
  border: 1px solid rgba(255, 155, 53, 0.12);
  background: rgba(32, 21, 8, 0.88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.boss-account-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.8fr);
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
  padding: 1.1rem 1.25rem;
  border-radius: 24px;
}

.boss-account-hero-intro {
  min-width: 0;
}

.boss-account-hero h1 {
  margin: 0 0 0.4rem;
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.05em;
}

.boss-account-hero p {
  margin: 0;
  color: #cbb399;
  font-size: 1rem;
}

.boss-account-profile-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-radius: 22px;
  padding: 0.95rem 1rem;
}

.boss-account-avatar {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  font-weight: 800;
  color: #fffbf6;
  background: radial-gradient(circle at top, #ff911b, #54330e 72%);
  box-shadow: inset 0 0 0 1px rgba(255, 191, 126, 0.45);
}

.boss-account-profile-copy {
  flex: 1;
}

.boss-account-profile-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.boss-account-profile-row strong {
  font-size: 1.6rem;
  color: #fffbf7;
}

.boss-account-profile-row span {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 155, 53, 0.28);
  color: var(--boss-cyan);
  font-size: 0.9rem;
}

.boss-account-profile-copy p {
  margin: 0;
  color: #dfccb8;
  font-size: 1rem;
}

.boss-account-profile-copy b {
  color: var(--boss-cyan);
  font-size: 1.5rem;
}

.boss-account-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.boss-account-card,
.boss-account-history {
  border-radius: 24px;
  padding: 1.15rem 1.2rem;
}

.boss-account-card-invite {
  grid-column: span 2;
}

.boss-account-card-service {
  background:
    radial-gradient(circle at top right, rgba(255, 152, 36, 0.14), transparent 30%),
    rgba(32, 21, 8, 0.9);
}

.boss-account-card-head,
.boss-account-section-head > div,
.boss-account-report-type,
.boss-account-actions a,
.boss-account-mobile-actions a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.boss-account-card-head {
  color: #ffeedc;
  margin-bottom: 1rem;
}

.boss-account-card-head .material-symbols-outlined,
.boss-account-section-head .material-symbols-outlined,
.boss-account-report-type .material-symbols-outlined {
  color: var(--boss-cyan);
}

.boss-account-card h2 {
  margin: 0 0 0.35rem;
  font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
  font-size: 2.25rem;
  letter-spacing: -0.04em;
}

.boss-account-invite-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.boss-account-card-invite h2 {
  margin: 0 0 0.35rem;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
}

.boss-account-invite-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 5.2rem;
  height: 2rem;
  padding: 0 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 155, 53, 0.22);
  background: rgba(79, 53, 24, 0.68);
  color: var(--boss-cyan);
  font-size: 0.9rem;
  font-weight: 700;
}

.boss-account-invite-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.boss-account-invite-stats span {
  display: inline-flex;
  align-items: center;
  min-height: 2.15rem;
  border-radius: 999px;
  padding: 0 0.85rem;
  background: rgba(26, 17, 7, 0.8);
  border: 1px solid rgba(144, 109, 70, 0.28);
  color: #ffeedc;
  font-size: 0.92rem;
}

.boss-account-invite-field {
  margin-top: 0.95rem;
}

.boss-account-invite-field label {
  display: block;
  margin-bottom: 0.45rem;
  color: #cab59d;
  font-size: 0.92rem;
}

.boss-account-invite-chip,
.boss-account-invite-link-wrap {
  display: flex;
  align-items: center;
  min-height: 3rem;
  border-radius: 14px;
  border: 1px solid rgba(171, 131, 86, 0.24);
  background: rgba(31, 21, 10, 0.9);
}

.boss-account-invite-chip {
  padding: 0.75rem 0.95rem;
  color: #fffaf4;
  font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
  letter-spacing: 0.08em;
}

.boss-account-invite-link-wrap input {
  width: 100%;
  height: 3rem;
  border: 0;
  background: transparent;
  color: #ffeedc;
  padding: 0 0.95rem;
  font-size: 0.94rem;
}

.boss-account-invite-actions {
  display: flex;
  justify-content: flex-start;
  margin-top: 1rem;
}

.boss-account-secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 9.5rem;
  height: 2.9rem;
  border-radius: 12px;
  padding: 0 1rem;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.98rem;
}

.boss-account-secondary-btn {
  border: 0;
  background: linear-gradient(90deg, #ff9222, #ff992e);
  color: #1f1203;
  cursor: pointer;
}

.boss-account-copy-feedback {
  margin: 0.85rem 0 0;
  color: #ffc88d;
  font-size: 0.9rem;
}

.boss-account-service-list {
  display: grid;
  gap: 0.7rem;
  margin-top: 1rem;
}

.boss-account-service-list span {
  display: flex;
  align-items: center;
  min-height: 2.5rem;
  border-radius: 14px;
  padding: 0.7rem 0.9rem;
  background: rgba(26, 17, 7, 0.78);
  border: 1px solid rgba(144, 109, 70, 0.28);
  color: #ffeedc;
  font-size: 0.94rem;
}

.boss-account-card-highlight,
.boss-account-card-note {
  margin: 0.35rem 0 0;
  color: #ceb9a1;
  font-size: 0.98rem;
}

.boss-account-card-highlight b,
.boss-account-quota-side strong {
  color: var(--boss-cyan);
}

.boss-account-progress-meta {
  margin: 1rem 0 0.45rem;
  color: #f6e6d4;
  font-size: 0.98rem;
}

.boss-account-progress {
  height: 0.5rem;
  border-radius: 999px;
  background: rgba(182, 144, 102, 0.26);
  overflow: hidden;
}

.boss-account-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff9426, #ff9c34);
}

.boss-account-primary-btn {
  margin-top: 1.2rem;
  width: 100%;
  justify-content: center;
}

.boss-account-primary-btn,
.boss-account-activation-form button {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  height: 3rem;
  border: 0;
  border-radius: 12px;
  padding: 0 1rem;
  background: linear-gradient(90deg, #ff9222, #ff992e);
  color: #1f1203;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
}

.boss-account-quota-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.boss-account-quota-row h2 {
  margin-bottom: 0.15rem;
}

.boss-account-quota-row p,
.boss-account-quota-side span,
.boss-account-quota-side em {
  margin: 0;
  color: #e7d6c4;
}

.boss-account-quota-side {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.boss-account-quota-side strong {
  font-size: 3rem;
  line-height: 1;
}

.boss-account-activation-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.9rem;
}

.boss-account-activation-form input {
  width: 100%;
  height: 3rem;
  border-radius: 12px;
  border: 1px solid rgba(171, 131, 86, 0.24);
  background: rgba(31, 21, 10, 0.9);
  color: #fffaf4;
  padding: 0 0.95rem;
  font-size: 1rem;
}

.boss-account-history {
  margin-bottom: 1rem;
}

.boss-business-profile {
  background:
    radial-gradient(circle at 92% 10%, rgba(255, 180, 82, 0.14), transparent 26%),
    rgba(32, 21, 8, 0.9);
}

.boss-business-profile-top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.55rem 1rem;
  align-items: center;
  margin-bottom: 1rem;
  padding: 0.9rem;
  border-radius: 16px;
  border: 1px solid rgba(171, 131, 86, 0.2);
  background: rgba(26, 17, 7, 0.58);
}

.boss-business-profile-top strong {
  display: block;
  color: var(--boss-cyan);
  font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
  font-size: 2rem;
  line-height: 1;
}

.boss-business-profile-top span,
.boss-business-profile-top p {
  color: #ceb9a1;
  font-size: 0.92rem;
}

.boss-business-profile-top p {
  grid-column: 1 / -1;
  margin: 0;
}

.boss-business-profile-form {
  display: grid;
  gap: 1rem;
}

.boss-business-form-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.boss-business-form-grid.is-compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.boss-business-form-grid label,
.boss-business-textarea {
  display: grid;
  gap: 0.45rem;
}

.boss-business-form-grid span,
.boss-business-chip-group > span,
.boss-business-textarea span {
  color: #dccab7;
  font-size: 0.92rem;
  font-weight: 700;
}

.boss-business-form-grid select,
.boss-business-textarea textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(171, 131, 86, 0.24);
  background: rgba(31, 21, 10, 0.9);
  color: #fffaf4;
  font: inherit;
}

.boss-business-form-grid select {
  height: 3rem;
  padding: 0 0.8rem;
}

.boss-business-textarea textarea {
  min-height: 5.5rem;
  resize: vertical;
  padding: 0.85rem 0.95rem;
}

.boss-business-chip-group {
  display: grid;
  gap: 0.6rem;
}

.boss-business-chip-group > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.boss-business-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.boss-business-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.boss-business-chip b {
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
  border-radius: 999px;
  padding: 0 0.85rem;
  border: 1px solid rgba(171, 131, 86, 0.25);
  background: rgba(26, 17, 7, 0.78);
  color: #ffeedc;
  font-size: 0.9rem;
  cursor: pointer;
}

.boss-business-chip input:checked + b {
  border-color: rgba(255, 146, 34, 0.65);
  background: rgba(255, 146, 34, 0.14);
  color: #ffbc78;
}

.boss-business-profile-actions {
  display: grid;
  grid-template-columns: minmax(12rem, 18rem) minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
}

.boss-business-profile-actions .boss-account-primary-btn {
  margin-top: 0;
}

.boss-business-profile-actions span {
  color: #ceb89f;
  font-size: 0.92rem;
}

.boss-account-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.boss-account-section-head h2 {
  margin: 0;
  font-size: 1.75rem;
}

.boss-account-section-head p {
  margin: 0;
  color: #ccb59b;
}

.boss-account-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.boss-account-filter-tabs button {
  height: 2.3rem;
  border-radius: 10px;
  border: 1px solid rgba(142, 105, 64, 0.32);
  background: rgba(26, 17, 7, 0.82);
  color: #dfcdb9;
  padding: 0 1rem;
  cursor: pointer;
}

.boss-account-filter-tabs button.is-active {
  border-color: rgba(255, 155, 53, 0.32);
  background: linear-gradient(90deg, rgba(255, 146, 34, 0.9), rgba(255, 153, 46, 0.9));
  color: #1f1407;
  font-weight: 800;
}

.boss-account-table-wrap {
  overflow-x: auto;
}

.boss-account-history-table {
  width: 100%;
  border-collapse: collapse;
}

.boss-account-history-table th,
.boss-account-history-table td {
  padding: 0.95rem 0.85rem;
  border-bottom: 1px solid rgba(129, 94, 55, 0.3);
  text-align: left;
}

.boss-account-history-table th {
  color: #d8c1a7;
  font-size: 0.92rem;
  font-weight: 600;
}

.boss-account-history-table td {
  color: #fff4e8;
}

.boss-account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.boss-account-actions a,
.boss-account-mobile-actions a {
  min-height: 2.2rem;
  border-radius: 10px;
  border: 1px solid rgba(144, 109, 70, 0.32);
  padding: 0.45rem 0.75rem;
  background: rgba(26, 18, 8, 0.72);
  color: #fff7ee;
  text-decoration: none;
}

.boss-account-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 5rem;
  height: 2rem;
  border-radius: 999px;
  padding: 0 0.7rem;
  font-size: 0.92rem;
  font-weight: 700;
}

.boss-account-status-pill.is-success {
  background: rgba(218, 116, 24, 0.14);
  color: #f28d33;
  box-shadow: inset 0 0 0 1px rgba(218, 116, 24, 0.22);
}

.boss-account-status-pill.is-pending {
  background: rgba(255, 167, 73, 0.14);
  color: #ffbf7c;
  box-shadow: inset 0 0 0 1px rgba(255, 167, 73, 0.22);
}

.boss-account-status-pill.is-failed {
  background: rgba(255, 194, 79, 0.14);
  color: #ffd992;
  box-shadow: inset 0 0 0 1px rgba(255, 194, 79, 0.24);
}

.boss-account-failure-reason {
  color: #ffda93;
  font-size: 0.9rem;
}

.boss-account-empty-row td,
.boss-account-mobile-empty {
  color: #cab59e;
  text-align: center;
  padding: 1.25rem 0.8rem;
}

.boss-account-mobile-history {
  display: none;
}

.boss-account-shortcuts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  margin-bottom: 1rem;
  padding: 0.85rem;
  border-radius: 24px;
}

.boss-account-shortcuts a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.8rem;
  align-items: center;
  min-height: 5.7rem;
  border-radius: 18px;
  padding: 0.9rem 1rem;
  color: #fff7ee;
  text-decoration: none;
  border: 1px solid rgba(143, 106, 66, 0.2);
  background: rgba(27, 18, 8, 0.54);
}

.boss-account-shortcuts a > .material-symbols-outlined:first-child {
  color: var(--boss-cyan);
  font-size: 1.8rem;
}

.boss-account-shortcuts strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 1.08rem;
}

.boss-account-shortcuts p {
  margin: 0;
  color: #cab59d;
  font-size: 0.92rem;
}

.boss-account-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  color: #d8c5b1;
  letter-spacing: 0.06em;
}

.boss-account-footer span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

@media (max-width: 1100px) {
  .boss-account-hero,
  .boss-account-card-grid,
  .boss-account-shortcuts {
    grid-template-columns: 1fr;
  }

  .boss-account-card-invite {
    grid-column: auto;
  }

  .boss-account-profile-card {
    width: 100%;
  }
}

@media (max-width: 720px) {
  body.boss-account-page .boss-topbar {
    display: none;
  }

  .boss-account-main {
    padding-top: 0.75rem;
    padding-bottom: calc(env(safe-area-inset-bottom) + 7.5rem);
  }

  .boss-account-mobile-head {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    margin-bottom: 0.6rem;
    padding: 0 0.15rem;
  }

  .boss-account-mobile-head strong {
    justify-self: center;
    font-size: 1.72rem;
    letter-spacing: -0.04em;
  }

  .boss-account-mobile-head span,
  .boss-account-mobile-head a {
    color: #fff8f0;
    text-decoration: none;
  }

  .boss-account-mobile-head > a {
    justify-self: end;
  }

  .boss-account-shell {
    padding: 0.72rem;
    border-radius: 28px;
  }

  .boss-account-hero,
  .boss-account-card,
  .boss-account-history,
  .boss-account-shortcuts {
    border-radius: 20px;
  }

  .boss-account-hero {
    display: block;
    padding: 0.3rem;
    background: transparent;
    border: 0;
    box-shadow: none;
    margin-bottom: 0.8rem;
  }

  .boss-account-hero-intro {
    display: none;
  }

  .boss-account-profile-card {
    gap: 0.9rem;
    padding: 1rem;
    border-radius: 22px;
    background:
      radial-gradient(circle at top right, rgba(255, 165, 61, 0.16), transparent 28%),
      rgba(32, 21, 8, 0.92);
  }

  .boss-account-avatar {
    width: 4.25rem;
    height: 4.25rem;
    font-size: 1.95rem;
  }

  .boss-account-profile-row strong {
    font-size: 1.6rem;
    line-height: 1.05;
  }

  .boss-account-profile-row span {
    padding: 0.18rem 0.58rem;
    font-size: 0.84rem;
  }

  .boss-account-profile-copy p {
    font-size: 0.94rem;
    line-height: 1.55;
  }

  .boss-account-card h2 {
    font-size: 1.82rem;
  }

  .boss-account-quota-side strong {
    font-size: 2rem;
  }

  .boss-account-card-grid {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
  }

  .boss-account-card {
    padding: 1rem;
  }

  .boss-account-card-invite {
    order: 1;
    grid-column: auto;
  }

  .boss-account-card-membership {
    order: 2;
  }

  .boss-account-card-quota {
    order: 3;
  }

  .boss-account-card-service,
  #activationPanel {
    order: 4;
  }

  .boss-account-card-head {
    margin-bottom: 0.75rem;
  }

  .boss-account-card-highlight,
  .boss-account-card-note,
  .boss-account-progress-meta {
    font-size: 0.93rem;
    line-height: 1.55;
  }

  .boss-account-invite-top {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.7rem;
  }

  .boss-account-card-invite h2 {
    font-size: 1.22rem;
    line-height: 1.32;
  }

  .boss-account-invite-badge {
    min-width: 4.8rem;
    height: 1.9rem;
    padding: 0 0.7rem;
    font-size: 0.82rem;
  }

  .boss-account-invite-stats {
    gap: 0.5rem;
    margin-top: 0.8rem;
  }

  .boss-account-invite-stats span {
    min-height: 2rem;
    padding: 0 0.72rem;
    font-size: 0.84rem;
  }

  .boss-account-invite-field {
    margin-top: 0.8rem;
  }

  .boss-account-invite-link-wrap input,
  .boss-account-invite-chip {
    min-height: 3.05rem;
    font-size: 0.9rem;
  }

  .boss-account-invite-actions {
    display: block;
    margin-top: 0.9rem;
  }

  .boss-account-secondary-btn {
    min-width: 0;
    width: 100%;
    height: 3rem;
    font-size: 0.94rem;
  }

  .boss-account-service-list {
    gap: 0.55rem;
    margin-top: 0.8rem;
  }

  .boss-account-service-list span {
    min-height: 0;
    padding: 0.75rem 0.82rem;
    font-size: 0.88rem;
  }

  .boss-business-profile-top {
    grid-template-columns: 1fr;
    padding: 0.8rem;
  }

  .boss-business-form-grid,
  .boss-business-form-grid.is-compact,
  .boss-business-profile-actions {
    grid-template-columns: 1fr;
  }

  .boss-business-chip-group > div {
    gap: 0.45rem;
  }

  .boss-business-chip b {
    min-height: 2.25rem;
    padding: 0 0.72rem;
    font-size: 0.84rem;
  }

  .boss-business-textarea textarea {
    min-height: 6rem;
  }

  .boss-account-table-wrap {
    display: none;
  }

  .boss-account-section-head {
    align-items: flex-start;
    margin-bottom: 0.8rem;
  }

  .boss-account-section-head h2 {
    font-size: 1.42rem;
  }

  .boss-account-section-head p {
    max-width: 8rem;
    font-size: 0.84rem;
    text-align: right;
    line-height: 1.45;
  }

  .boss-account-filter-tabs {
    gap: 0.45rem;
    margin-bottom: 0.8rem;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.05rem;
    scrollbar-width: none;
  }

  .boss-account-filter-tabs::-webkit-scrollbar {
    display: none;
  }

  .boss-account-filter-tabs button {
    flex: 0 0 auto;
    height: 2.15rem;
    padding: 0 0.82rem;
    font-size: 0.84rem;
  }

  .boss-account-mobile-history {
    display: grid;
    gap: 0.8rem;
  }

  .boss-account-mobile-history-card {
    border-radius: 18px;
    border: 1px solid rgba(129, 95, 58, 0.22);
    background: rgba(27, 18, 8, 0.78);
    padding: 0.95rem;
  }

  .boss-account-mobile-history-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
    margin-bottom: 0.5rem;
  }

  .boss-account-mobile-history-card p,
  .boss-account-mobile-history-card small {
    display: block;
    margin: 0 0 0.25rem;
    color: #d4bfa9;
  }

  .boss-account-mobile-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.65rem;
  }

  .boss-account-shortcuts {
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
    gap: 0.8rem;
  }

  .boss-account-shortcuts a {
    min-height: 5.3rem;
    border-radius: 20px;
    padding: 0.95rem 1rem;
  }

  .boss-account-footer {
    display: none;
  }

  body.boss-account-page .boss-mobile-nav {
    left: 0.72rem;
    right: 0.72rem;
    bottom: calc(env(safe-area-inset-bottom) + 0.62rem);
    padding: 0.5rem;
    gap: 0.38rem;
    border-radius: 24px;
    background: rgba(24, 16, 6, 0.95);
    border: 1px solid rgba(183, 123, 57, 0.18);
    box-shadow: 0 20px 38px rgba(0, 0, 0, 0.34);
  }

  body.boss-account-page .boss-mobile-nav a {
    min-height: 3.95rem;
    padding-top: 0.2rem;
    border-radius: 16px;
    font-size: 0.76rem;
  }

  body.boss-account-page .boss-mobile-nav a .material-symbols-outlined {
    font-size: 1.22rem;
  }

  body.boss-account-page .boss-mobile-nav a.is-active {
    background: rgba(61, 40, 18, 0.98);
    color: #ffa448;
  }
}

/* Homepage mobile layout lock:
   keep the approved phone homepage isolated from account-page iterations. */
@media (max-width: 640px) {
  body.page-home.boss-console-page .boss-left-column {
    min-width: 0;
  }

  body.page-home.boss-console-page .boss-topbar {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 0.75rem;
    height: auto;
    padding: calc(env(safe-area-inset-top) + 0.7rem) 0.12rem 0.45rem;
    background: transparent;
    border-bottom: 0;
    box-shadow: none;
  }

  body.page-home.boss-console-page .boss-nav,
  body.page-home.boss-console-page .boss-search {
    display: none;
  }

  body.page-home.boss-console-page .boss-brand {
    min-width: 0;
    gap: 0.55rem;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: -0.02em;
  }

  body.page-home.boss-console-page .boss-brand-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  body.page-home.boss-console-page .boss-brand-full,
  body.page-home.boss-console-page .boss-toolbar-settings {
    display: none;
  }

  body.page-home.boss-console-page .boss-brand-mobile {
    display: inline;
  }

  body.page-home.boss-console-page .boss-brand-mark {
    width: 1.5rem;
    height: 1.5rem;
    font-size: 0.96rem;
  }

  body.page-home.boss-console-page .boss-toolbar {
    justify-content: flex-end;
    gap: 0.48rem;
  }

  body.page-home.boss-console-page .boss-toolbar-link {
    text-decoration: none;
  }

  body.page-home.boss-console-page .boss-toolbar-menu {
    display: inline-grid;
    order: 1;
  }

  body.page-home.boss-console-page .boss-toolbar-account {
    order: 2;
  }

  body.page-home.boss-console-page .boss-toolbar-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    background: rgba(44, 30, 15, 0.94);
    border: 1px solid rgba(199, 145, 87, 0.22);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  }

  body.page-home.boss-console-page .boss-stage {
    width: min(100vw - 0.9rem, 100%);
    padding-bottom: 6.55rem;
  }

  body.page-home.boss-console-page .boss-grid-shell {
    gap: 1rem;
    padding-top: 0.24rem;
  }

  body.page-home.boss-console-page .boss-hero-panel {
    min-height: 0;
    padding: 1.12rem 1.08rem 1.18rem;
    border-radius: 30px;
    overflow: hidden;
    background:
      radial-gradient(circle at 88% 18%, rgba(255, 166, 62, 0.2), transparent 22%),
      radial-gradient(circle at 92% 72%, rgba(255, 171, 58, 0.22), transparent 34%),
      linear-gradient(90deg, rgba(28, 17, 5, 0.98) 0%, rgba(39, 25, 9, 0.98) 52%, rgba(86, 60, 26, 0.96) 100%);
  }

  body.page-home.boss-console-page .boss-hero-panel::before {
    opacity: 0.16;
    background-size: 20px 20px;
  }

  body.page-home.boss-console-page .boss-hero-panel::after {
    background:
      linear-gradient(90deg, rgba(22, 13, 3, 0.08), transparent 42%),
      radial-gradient(circle at 86% 24%, rgba(255, 159, 48, 0.2), transparent 20%),
      linear-gradient(115deg, transparent 58%, rgba(255, 148, 26, 0.08) 59%, transparent 71%);
  }

  body.page-home.boss-console-page .boss-hero-radar {
    display: none;
  }

  body.page-home.boss-console-page .boss-hero-copy {
    width: 100%;
    margin: 0 !important;
    justify-self: start !important;
    text-align: left;
    display: block;
  }

  body.page-home.boss-console-page .boss-hero-copy h1 {
    width: 100%;
    max-width: none;
    margin: 0 !important;
    font-size: 3.28rem;
    line-height: 1.12;
    letter-spacing: -0.058em;
    text-align: left !important;
  }

  body.page-home.boss-console-page .boss-hero-copy h1 span {
    display: block;
    margin-top: 0.08rem;
    white-space: nowrap;
  }

  body.page-home.boss-console-page .boss-hero-copy h1,
  body.page-home.boss-console-page .boss-hero-copy h1 br {
    white-space: nowrap;
  }

  body.page-home.boss-console-page .boss-hero-copy p {
    max-width: 22.4rem;
    margin-top: 1.05rem;
    font-size: 0.91rem;
    line-height: 1.78;
    text-align: left;
    color: #ddcab5;
  }

  body.page-home.boss-console-page .boss-quick-tags {
    margin-top: 1rem;
    margin-inline: 0 !important;
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 0.08rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  body.page-home.boss-console-page .boss-quick-tags::-webkit-scrollbar {
    display: none;
  }

  body.page-home.boss-console-page .boss-quick-tags span {
    flex: 0 0 auto;
    width: auto;
    min-width: 7.65rem;
    min-height: 2.92rem;
    justify-content: center;
    padding: 0.7rem 0.92rem;
    border-radius: 16px;
    font-size: 0.84rem;
    font-weight: 700;
    color: #ffefdf;
    background: rgba(36, 24, 10, 0.88);
    border-color: rgba(209, 149, 84, 0.22);
  }

  body.page-home.boss-console-page .boss-quick-tags span .material-symbols-outlined {
    font-size: 1.2rem;
  }

  body.page-home.boss-console-page .boss-core-card {
    border-radius: 25px;
  }

  body.page-home.boss-console-page .boss-core-card-finance {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    min-height: 0;
    padding: 1.05rem;
  }

  body.page-home.boss-console-page .boss-core-card-finance .boss-chip {
    grid-column: 1 / 2;
    align-self: start;
  }

  body.page-home.boss-console-page .boss-core-card-finance .boss-card-icon {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
    justify-self: end;
    width: 3.85rem;
    height: 3.85rem;
    margin: 0;
  }

  body.page-home.boss-console-page .boss-core-card-finance h2,
  body.page-home.boss-console-page .boss-core-card-finance p,
  body.page-home.boss-console-page .boss-core-card-finance .boss-platform-pills {
    grid-column: 1 / -1;
  }

  body.page-home.boss-console-page .boss-core-card-finance .boss-primary-action {
    grid-column: 1 / 2;
    min-height: 3.05rem;
    margin-top: 1rem;
    width: auto;
    min-width: 0;
  }

  body.page-home.boss-console-page .boss-core-card-finance .boss-inline-link {
    grid-column: 2 / 3;
    align-self: center;
    margin: 1rem 0 0 0.8rem;
    white-space: nowrap;
  }

  body.page-home.boss-console-page .boss-console-panel {
    margin-top: 0.08rem;
    padding: 1rem;
    border-radius: 26px;
    background:
      linear-gradient(180deg, rgba(29, 18, 6, 0.98), rgba(29, 18, 6, 0.95)),
      radial-gradient(circle at 86% 10%, rgba(255, 129, 0, 0.08), transparent 22%);
  }

  body.page-home.boss-console-page .boss-mobile-task-shell {
    display: grid;
    gap: 0.68rem;
    margin-bottom: 0.86rem;
  }

  body.page-home.boss-console-page .boss-mobile-stepper {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.35rem;
  }

  body.page-home.boss-console-page .boss-mobile-scene-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.42rem;
  }

  body.page-home.boss-console-page .boss-console-resource-section,
  body.page-home.boss-console-page .boss-console-card-grid,
  body.page-home.boss-console-page .boss-status-strip,
  body.page-home.boss-console-page .boss-wish-panel {
    display: none;
  }

  body.page-home.boss-console-page .boss-mobile-upload-helper {
    display: grid;
  }

  body.page-home.boss-console-page .boss-mobile-nav {
    display: grid;
    left: 0.78rem;
    right: 0.78rem;
    bottom: 0.75rem;
    padding: 0.5rem;
    gap: 0.38rem;
    border-radius: 24px;
    background: rgba(24, 16, 6, 0.95);
    border: 1px solid rgba(183, 123, 57, 0.18);
  }

  body.page-home.boss-console-page .boss-mobile-nav a {
    min-height: 3.95rem;
    padding-top: 0.2rem;
    border-radius: 16px;
    font-size: 0.76rem;
  }

  body.page-home.boss-console-page .boss-mobile-nav a .material-symbols-outlined {
    font-size: 1.22rem;
  }

  body.page-home.boss-console-page .boss-mobile-nav a.is-active {
    background: rgba(61, 40, 18, 0.98);
    color: #ffa448;
  }
}

@media (max-width: 390px) {
  body.page-home.boss-console-page .boss-hero-copy h1 {
    font-size: 2.94rem;
    letter-spacing: -0.062em;
  }

  body.page-home.boss-console-page .boss-quick-tags span {
    min-width: 7.25rem;
  }
}

.boss-upload-section {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.boss-upload-section-secondary {
  margin-top: 1.35rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 192, 120, 0.12);
}

.boss-upload-section-head {
  display: grid;
  gap: 0.28rem;
}

.boss-upload-section-head strong {
  font-size: 1rem;
  color: #fffbf6;
}

.boss-upload-section-head span {
  color: #bca68d;
  font-size: 0.92rem;
  line-height: 1.6;
}

.boss-upload-grid-secondary {
  grid-template-columns: minmax(0, 1fr);
}

.boss-file-card-settlement {
  background: linear-gradient(180deg, rgba(48, 32, 15, 0.94), rgba(32, 21, 8, 0.92));
  border-color: rgba(224, 145, 70, 0.18);
}

.boss-report-view-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 1.2rem 0 1rem;
}

.boss-report-view-toggle {
  display: grid;
  gap: 0.25rem;
  padding: 1rem 1.1rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 192, 120, 0.14);
  background: rgba(32, 21, 8, 0.76);
  color: #ecdac7;
  text-align: left;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.boss-report-view-toggle strong {
  font-size: 1rem;
  color: #fffbf7;
}

.boss-report-view-toggle span {
  font-size: 0.84rem;
  color: #bca68d;
}

.boss-report-view-toggle.is-active {
  border-color: rgba(255, 155, 52, 0.4);
  box-shadow: 0 18px 40px rgba(23, 13, 2, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transform: translateY(-1px);
}

.boss-report-view-panel {
  display: none;
}

.boss-report-view-panel.is-active {
  display: block;
}

.boss-result-notice-soft {
  margin-bottom: 1rem;
  background: linear-gradient(180deg, rgba(43, 28, 12, 0.92), rgba(32, 21, 8, 0.86));
}

.boss-tiktok-fee-panel {
  margin: 1rem 0 1.15rem;
  padding: 1rem;
  border: 1px solid rgba(255, 140, 24, 0.18);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 140, 24, 0.07), rgba(255, 175, 70, 0.07)),
    rgba(34, 22, 8, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.boss-tiktok-fee-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 0.8rem;
}

.boss-tiktok-fee-grid article {
  min-height: 6.3rem;
  display: grid;
  align-content: center;
  gap: 0.32rem;
  padding: 0.9rem;
  border: 1px solid rgba(176, 137, 94, 0.2);
  border-radius: 14px;
  background: rgba(25, 15, 4, 0.58);
}

.boss-tiktok-fee-grid article.is-muted {
  opacity: 0.58;
}

.boss-tiktok-fee-grid span {
  color: #ccb59c;
  font-size: 0.84rem;
  font-weight: 800;
}

.boss-fee-label {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
}

.boss-field-help {
  width: 1.05rem;
  height: 1.05rem;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 185, 113, 0.34);
  border-radius: 999px;
  background: rgba(255, 185, 113, 0.08);
  color: #ffbd7b;
  cursor: help;
  font: 800 0.68rem/1 "Manrope", "Noto Sans SC", sans-serif;
  padding: 0;
}

.boss-field-help:hover,
.boss-field-help:focus-visible {
  border-color: rgba(255, 185, 113, 0.72);
  background: rgba(255, 185, 113, 0.16);
  outline: none;
}

.boss-tiktok-fee-grid strong {
  color: #ffba74;
  font-size: clamp(1.28rem, 2.2vw, 1.9rem);
  font-weight: 900;
  line-height: 1;
}

.boss-tiktok-fee-grid small {
  color: #b79d7f;
  font-size: 0.76rem;
  line-height: 1.45;
}

.boss-settlement-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.boss-settlement-kpi-card {
  padding: 1rem 1.1rem;
  border-radius: 22px;
  border: 1px solid rgba(255, 192, 120, 0.14);
  background: linear-gradient(180deg, rgba(43, 28, 11, 0.94), rgba(32, 21, 8, 0.88));
  box-shadow: 0 18px 40px rgba(23, 13, 2, 0.22);
}

.boss-settlement-kpi-card span {
  display: block;
  color: #bca68d;
  font-size: 0.84rem;
  margin-bottom: 0.42rem;
}

.boss-settlement-kpi-card strong {
  display: block;
  color: #fffaf5;
  font-size: clamp(1.3rem, 2vw, 2rem);
  line-height: 1.1;
}

.boss-table-console-settlement {
  display: grid;
  gap: 1rem;
}

@media (max-width: 960px) {
  .boss-settlement-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .boss-result-visitor-cta {
    grid-template-columns: minmax(0, 1fr);
  }

  .boss-currency-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .boss-currency-control {
    justify-items: stretch;
  }

  .boss-currency-segments {
    grid-template-columns: minmax(0, 1fr);
    border-radius: 18px;
  }

  .boss-currency-panel-compact .boss-currency-segments {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-radius: 14px;
  }

  .boss-currency-control small {
    text-align: left;
  }

  .boss-result-actions {
    min-width: 0;
    align-items: stretch;
  }

  .boss-result-action-buttons {
    justify-content: stretch;
  }

  .boss-result-action-buttons .boss-result-btn {
    flex: 1 1 10rem;
  }

  .boss-currency-panel-compact {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .boss-report-view-switch,
  .boss-settlement-kpi-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .boss-report-view-toggle {
    padding: 0.9rem 1rem;
  }

  .boss-registration-strip {
    flex-direction: column;
    align-items: stretch;
  }

  .ai-guide {
    right: 0.85rem;
    bottom: calc(6.15rem + env(safe-area-inset-bottom));
  }

  .ai-guide-launcher {
    width: 5.35rem;
    height: 5.35rem;
  }

  .ai-guide-panel {
    right: -0.25rem;
    bottom: 5.95rem;
    width: min(23rem, calc(100vw - 1.2rem));
    max-height: min(31rem, calc(100vh - 8.8rem - env(safe-area-inset-bottom)));
    border-radius: 20px;
  }

  .ai-guide-speech {
    right: 4.2rem;
    bottom: 3.42rem;
    min-width: 9.6rem;
    padding: 0.62rem 0.7rem;
  }

  .ai-guide-speech b {
    font-size: 0.84rem;
  }

  .ai-guide-speech em {
    font-size: 0.72rem;
  }

  .ai-guide-body {
    max-height: 17rem;
  }
}

body.page-home-team {
  --team-bg: #150d05;
  --team-panel: rgba(32, 20, 7, 0.86);
  --team-panel-soft: rgba(44, 28, 11, 0.76);
  --team-line: rgba(220, 149, 71, 0.2);
  --team-cyan: #ff8c18;
  --team-blue: #ffa743;
  --team-purple: #ffaf46;
  --team-green: #f08525;
  margin: 0;
  min-height: 100vh;
  color: #fff9f2;
  font-family: "Manrope", "Noto Sans SC", sans-serif;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 149, 30, 0.18), transparent 24rem),
    radial-gradient(circle at 82% 24%, rgba(255, 170, 57, 0.2), transparent 26rem),
    linear-gradient(180deg, #120b03 0%, #1f1306 56%, #120b04 100%);
  overflow-x: hidden;
}

body.page-home-team::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(255, 170, 77, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 170, 77, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 92%);
  pointer-events: none;
}

.team-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: center;
  min-height: 4.45rem;
  padding: 0 1.35rem;
  background: rgba(21, 13, 4, 0.88);
  border-bottom: 1px solid rgba(255, 167, 67, 0.14);
  backdrop-filter: blur(18px);
}

.team-brand,
.team-nav,
.team-actions,
.team-online,
.team-hero-tabs,
.team-feature-pills,
.team-submit-row,
.team-status-strip,
.team-mobile-nav {
  display: flex;
  align-items: center;
}

.team-brand {
  gap: 0.72rem;
  color: #fffaf4;
  text-decoration: none;
  font-weight: 900;
  font-size: 1.05rem;
  white-space: nowrap;
}

.team-brand-mark {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 10px;
  color: #ffecd9;
  background: linear-gradient(135deg, #ff8c1b, #ffb14d);
  box-shadow: 0 0 26px rgba(255, 140, 24, 0.38);
}

.team-nav {
  justify-content: center;
  gap: 1.7rem;
}

.team-nav a {
  position: relative;
  color: #d9c8b5;
  text-decoration: none;
  font-size: 0.93rem;
  white-space: nowrap;
}

.team-nav a.is-active,
.team-nav a:hover {
  color: var(--team-cyan);
}

.team-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1.05rem;
  height: 2px;
  background: var(--team-cyan);
  box-shadow: 0 0 16px rgba(255, 140, 24, 0.75);
}

.team-actions {
  justify-content: flex-end;
  gap: 0.78rem;
}

.team-search {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.48rem;
  width: 17rem;
  min-height: 2.75rem;
  padding: 0 0.95rem;
  border: 1px solid rgba(196, 152, 102, 0.24);
  border-radius: 10px;
  background: rgba(47, 32, 15, 0.82);
}

.team-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff4e9;
}

.team-search input::placeholder {
  color: #a28d76;
}

.team-online {
  gap: 0.5rem;
  color: #f8e8d7;
  font-size: 0.88rem;
  white-space: nowrap;
}

.team-online i,
.team-status-strip i {
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 999px;
  background: var(--team-green);
  box-shadow: 0 0 16px rgba(240, 133, 37, 0.65);
}

.team-symbol {
  display: inline-grid;
  place-items: center;
  font-family: "Manrope", "Noto Sans SC", sans-serif;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

.team-avatar,
.team-icon {
  display: grid;
  place-items: center;
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 999px;
  color: #fffaf4;
  text-decoration: none;
  background: rgba(112, 79, 40, 0.72);
  border: 1px solid rgba(255, 196, 127, 0.28);
}

.team-main {
  position: relative;
  z-index: 1;
  width: min(90vw, 89rem);
  margin: 0 auto;
  padding: 3.05rem 0 2.8rem;
}

.team-hero {
  position: relative;
  min-height: 25.4rem;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
  padding: 0.6rem 0 1.4rem;
}

.team-orbit {
  position: absolute;
  inset: -5.2rem 5% auto;
  height: 31rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 169, 72, 0.12);
  box-shadow:
    inset 0 0 0 1px rgba(255, 140, 24, 0.04),
    0 0 90px rgba(255, 169, 60, 0.14);
  transform: rotate(-6deg);
}

.team-orbit::before,
.team-orbit::after {
  content: "";
  position: absolute;
  inset: 18% 2%;
  border-radius: 50%;
  border: 1px solid rgba(255, 140, 24, 0.09);
}

.team-orbit::after {
  inset: 32% 14%;
  border-color: rgba(255, 178, 75, 0.12);
}

.team-hero h1 {
  position: relative;
  margin: 0;
  font-size: clamp(3.4rem, 5.65vw, 5.65rem);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: 0;
  text-shadow: 0 10px 44px rgba(0, 0, 0, 0.36);
}

.team-hero h1 span {
  display: block;
  margin-top: 0.08em;
  background: linear-gradient(90deg, #ff8a16 4%, #ffa949 48%, #ffaf44 88%);
  -webkit-background-clip: text;
  color: transparent;
}

.team-hero p {
  position: relative;
  max-width: 48rem;
  margin: 1.65rem auto 0;
  color: #e0d0bf;
  font-size: 1.02rem;
  line-height: 1.9;
}

.team-hero-tabs {
  position: relative;
  justify-content: center;
  gap: 0.95rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
}

.team-hero-tabs a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.58rem;
  min-width: 9.35rem;
  min-height: 2.82rem;
  padding: 0 1.08rem;
  border-radius: 10px;
  color: #fff2e4;
  text-decoration: none;
  background: rgba(44, 28, 10, 0.78);
  border: 1px solid rgba(218, 146, 66, 0.25);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.team-hero-tabs a .material-symbols-outlined,
.team-hero-tabs a .team-symbol {
  color: var(--team-cyan);
}

.team-agent-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem;
  margin-top: 1.45rem;
}

.team-agent-card,
.team-console,
.team-status-strip {
  border: 1px solid var(--team-line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)),
    var(--team-panel);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(18px);
}

.team-agent-card {
  min-height: 12.8rem;
  border-radius: 12px;
  padding: 1.05rem 1.15rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(11.5rem, 0.58fr);
  gap: 1.05rem;
  overflow: hidden;
}

.team-agent-card-finance {
  border-color: rgba(255, 140, 24, 0.28);
}

.team-agent-card-roi {
  border-color: rgba(255, 175, 69, 0.28);
  background:
    radial-gradient(circle at 0 0, rgba(255, 175, 69, 0.18), transparent 30%),
    var(--team-panel);
}

.team-agent-head {
  display: flex;
  align-items: center;
  gap: 0.78rem;
  margin-bottom: 0.72rem;
}

.team-agent-icon {
  display: grid;
  place-items: center;
  width: 3.05rem;
  height: 3.05rem;
  border-radius: 12px;
  color: var(--team-cyan);
  background: rgba(255, 140, 24, 0.1);
  border: 1px solid rgba(255, 140, 24, 0.34);
  font-size: 1.72rem;
}

.team-agent-head h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2vw, 1.95rem);
  line-height: 1.14;
  letter-spacing: 0;
}

.team-agent-head em {
  display: inline-flex;
  margin-left: 0.5rem;
  padding: 0.18rem 0.48rem;
  border-radius: 999px;
  color: #f28d33;
  font-style: normal;
  font-size: 0.72rem;
  background: rgba(240, 133, 37, 0.12);
  border: 1px solid rgba(240, 133, 37, 0.3);
}

.team-agent-head em.is-purple {
  color: #ffe0b6;
  background: rgba(255, 175, 69, 0.13);
  border-color: rgba(255, 175, 69, 0.34);
}

.team-agent-head em.is-blue {
  color: #ffcd94;
  background: rgba(255, 167, 67, 0.13);
  border-color: rgba(255, 167, 67, 0.34);
}

.team-agent-copy p {
  max-width: 29rem;
  margin: 0;
  color: #dacab8;
  font-size: 0.91rem;
  line-height: 1.76;
  overflow-wrap: anywhere;
}

.team-feature-pills {
  flex-wrap: wrap;
  gap: 0.46rem;
  margin-top: 0.86rem;
}

.team-feature-pills span {
  min-height: 1.92rem;
  display: inline-flex;
  align-items: center;
  padding: 0 0.7rem;
  border-radius: 8px;
  color: #f0d6b9;
  font-size: 0.78rem;
  background: rgba(56, 37, 16, 0.82);
  border: 1px solid rgba(190, 143, 91, 0.18);
}

.team-primary-btn,
.team-secondary-btn,
.team-disabled-btn,
.team-submit-row button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 2.9rem;
  margin-top: 0.92rem;
  border: 0;
  border-radius: 8px;
  padding: 0 1.18rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.team-primary-btn,
.team-submit-row button {
  color: #211304;
  background: linear-gradient(90deg, #ff8c18, #ffaf60);
  box-shadow: 0 18px 38px rgba(255, 140, 24, 0.18);
}

.team-secondary-btn {
  color: #ffffff;
  background: linear-gradient(90deg, #df9533, #ffaf44);
  box-shadow: 0 18px 38px rgba(255, 175, 69, 0.18);
}

.team-disabled-btn {
  width: min(100%, 25rem);
  color: #bba892;
  background: rgba(172, 150, 126, 0.16);
}

.team-mini-chart,
.team-line-chart,
.team-design-preview,
.team-funnel-preview {
  min-height: 8.65rem;
  align-self: center;
  border-radius: 10px;
  background:
    linear-gradient(rgba(255, 172, 80, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 172, 80, 0.045) 1px, transparent 1px),
    rgba(34, 22, 8, 0.72);
  background-size: 24px 24px;
  border: 1px solid rgba(184, 136, 82, 0.18);
  padding: 0.9rem;
}

.team-mini-chart span,
.team-line-chart span,
.team-funnel-preview span {
  display: block;
  color: #cebaa4;
  margin-bottom: 0.35rem;
}

.team-mini-chart strong {
  display: block;
  font-size: 1.18rem;
}

.team-design-preview {
  position: relative;
  display: grid;
  grid-template-columns: 2.25rem 1fr 2.75rem;
  gap: 0.58rem;
  align-items: stretch;
}

.team-design-preview-image {
  display: block;
  padding: 0.45rem;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 172, 80, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 172, 80, 0.06) 1px, transparent 1px),
    rgba(34, 22, 8, 0.78);
  background-size: 24px 24px;
}

.team-design-preview-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 7.75rem;
  border-radius: 8px;
  object-fit: contain;
  object-position: 50% 50%;
  filter: saturate(1.04) contrast(1.03);
}

.team-preview-chip {
  position: absolute;
  left: 0.85rem;
  bottom: 0.78rem;
  display: inline-flex;
  align-items: center;
  min-height: 1.55rem;
  padding: 0 0.62rem;
  border-radius: 999px;
  color: #ffeedc;
  font-size: 0.72rem;
  font-weight: 800;
  background: rgba(30, 18, 4, 0.72);
  border: 1px solid rgba(255, 140, 24, 0.32);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(10px);
}

.team-design-toolbar {
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(34, 22, 9, 0.9);
}

.team-design-poster {
  display: grid;
  align-content: start;
  gap: 0.22rem;
  padding: 0.82rem;
  border-radius: 8px;
  color: #6d4315;
  background:
    radial-gradient(circle at 78% 68%, rgba(255, 163, 57, 0.38), transparent 25%),
    linear-gradient(160deg, #fff9f3, #ffc585 64%, #fff5ea);
}

.team-design-poster strong {
  font-size: 1rem;
}

.team-design-poster i {
  align-self: end;
  justify-self: center;
  width: 2.75rem;
  height: 4.45rem;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffc07c, #c6751a);
}

.team-palette {
  display: grid;
  gap: 0.42rem;
}

.team-palette b {
  border-radius: 7px;
  background: #ff8c19;
}

.team-palette b:nth-child(2) { background: #f4b883; }
.team-palette b:nth-child(3) { background: #ffe1b9; }
.team-palette b:nth-child(4) { background: #ffac4d; }

.team-finance-preview,
.team-roi-preview,
.team-ads-preview {
  display: grid;
  align-content: center;
  gap: 0.5rem;
}

.team-finance-preview strong,
.team-roi-preview strong,
.team-ads-preview strong {
  color: #fffaf4;
  font-size: 1rem;
  line-height: 1.2;
}

.team-finance-preview div,
.team-ads-preview div {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.45rem;
  min-height: 1.8rem;
  padding: 0 0.62rem;
  border-radius: 8px;
  color: #e6d2bc;
  background: rgba(49, 32, 12, 0.78);
  border: 1px solid rgba(199, 148, 92, 0.18);
}

.team-finance-preview i {
  width: 0.52rem;
  height: 0.52rem;
  border-radius: 999px;
  background: var(--team-green);
  box-shadow: 0 0 12px rgba(240, 133, 37, 0.52);
}

.team-finance-preview em,
.team-ads-preview i {
  font-style: normal;
  font-size: 0.75rem;
}

.team-finance-preview b,
.team-ads-preview b {
  color: #f6a963;
  font-size: 0.72rem;
}

.team-roi-preview svg {
  width: 100%;
  height: 5.6rem;
}

.team-roi-preview path {
  fill: none;
  stroke: rgba(205, 170, 130, 0.24);
  stroke-width: 2;
}

.team-roi-preview polyline {
  fill: none;
  stroke: url("#team-roi-gradient");
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.team-roi-preview circle {
  fill: #ff8c18;
  filter: drop-shadow(0 0 8px rgba(255, 140, 24, 0.8));
}

.team-ads-preview div {
  grid-template-columns: 1fr auto;
}

.team-ads-preview div:nth-of-type(1) {
  border-color: rgba(255, 184, 94, 0.24);
}

.team-ads-preview div:nth-of-type(2) {
  border-color: rgba(255, 140, 24, 0.24);
}

.team-ads-preview div:nth-of-type(3) {
  border-color: rgba(240, 133, 37, 0.26);
}

.team-console {
  margin-top: 1rem;
  border-radius: 14px;
  padding: 1.35rem;
}

.team-console-head {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.team-console-head span {
  color: var(--team-cyan);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.team-console-head h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.team-console-head p {
  margin: 0;
  color: #d9c8b6;
  line-height: 1.75;
}

.team-upload-form {
  display: grid;
  gap: 1rem;
}

.team-mode-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  border: 0;
}

.team-mode-grid legend {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.team-mode-grid label,
.team-file-card,
.team-date-field,
.team-pdf-field {
  border: 1px solid rgba(190, 143, 91, 0.2);
  border-radius: 10px;
  background: rgba(32, 20, 7, 0.7);
}

.team-mode-grid label {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: 0.72rem;
  min-height: 4.25rem;
  padding: 0 1rem 0 0.9rem;
  color: #ffedd9;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.team-mode-grid label:hover {
  border-color: rgba(255, 140, 24, 0.36);
  background: rgba(44, 28, 10, 0.82);
}

.team-mode-grid label:has(input:checked) {
  border-color: rgba(255, 140, 24, 0.58);
  background:
    linear-gradient(135deg, rgba(255, 140, 24, 0.12), rgba(255, 183, 91, 0.1)),
    rgba(32, 20, 7, 0.78);
  box-shadow: inset 0 0 0 1px rgba(255, 140, 24, 0.08), 0 14px 34px rgba(0, 0, 0, 0.16);
}

.team-mode-grid label.is-locked {
  opacity: 0.62;
  cursor: not-allowed;
  pointer-events: none;
  filter: grayscale(0.28);
}

.team-mode-grid label.is-locked input {
  pointer-events: none;
}

.team-mode-grid input,
.team-pdf-field input {
  accent-color: var(--team-cyan);
}

.team-platform-mark {
  position: relative;
  overflow: hidden;
  display: inline-grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.82rem;
  color: #ffffff;
  box-shadow:
    0 12px 26px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  isolation: isolate;
}

.team-platform-mark i {
  position: relative;
  z-index: 1;
  font-style: normal;
  font-weight: 950;
  line-height: 1;
}

.team-platform-auto {
  color: #ffbe7c;
  background:
    radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.32), transparent 24%),
    linear-gradient(135deg, rgba(255, 159, 61, 0.2), rgba(255, 183, 91, 0.26));
}

.team-platform-douyin,
.team-platform-tiktok {
  background:
    radial-gradient(circle at 25% 24%, rgba(244, 139, 37, 0.92), transparent 23%),
    radial-gradient(circle at 78% 76%, rgba(254, 180, 44, 0.88), transparent 28%),
    linear-gradient(135deg, #0d0905, #271e14);
}

.team-platform-douyin i,
.team-platform-tiktok i {
  transform: rotate(-8deg);
  font-size: 1.22rem;
  text-shadow:
    -0.07rem 0 #f48b25,
    0.07rem 0 #feb42c;
}

.team-platform-pdd {
  background:
    radial-gradient(circle at 31% 24%, rgba(255, 255, 255, 0.34), transparent 23%),
    linear-gradient(135deg, #ffb730, #ffcc6a);
}

.team-platform-pdd i {
  font-size: 1.08rem;
}

.team-platform-tiktok {
  grid-template-rows: 1fr auto;
  gap: 0.01rem;
  padding-top: 0.14rem;
  border-color: rgba(255, 191, 126, 0.24);
}

.team-platform-tiktok small {
  position: relative;
  z-index: 1;
  max-width: 100%;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.42rem;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1;
}

.team-mode-copy {
  display: grid;
  min-width: 0;
  gap: 0.14rem;
}

.team-mode-copy b {
  overflow: hidden;
  color: #fff7ee;
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.team-mode-copy em {
  overflow: hidden;
  color: #af9b84;
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 750;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.team-template-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(19rem, 0.95fr);
  gap: 0.9rem;
}

.team-template-strip,
.team-first-guide {
  border-radius: 14px;
  padding: 1.15rem 1.2rem;
}

.team-template-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.9rem;
  border: 1px solid rgba(255, 177, 97, 0.24);
  background: linear-gradient(135deg, rgba(255, 175, 90, 0.2), rgba(255, 185, 102, 0.16));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.team-template-main,
.team-template-actions,
.team-first-guide-copy {
  display: grid;
}

.team-template-main {
  gap: 0.35rem;
}

.team-template-strip span,
.team-first-guide span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 1.7rem;
  padding: 0 0.7rem;
  color: #ffecd8;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  border-radius: 999px;
  border: 1px solid rgba(255, 192, 127, 0.18);
  background: rgba(37, 22, 6, 0.22);
}

.team-template-strip strong,
.team-first-guide strong {
  color: #fff7ee;
}

.team-template-strip strong {
  font-size: 1.85rem;
  line-height: 1.18;
}

.team-template-main p,
.team-first-guide p {
  margin: 0;
  color: #ebdbc9;
  line-height: 1.58;
}

.team-template-actions {
  gap: 0.7rem;
}

.team-template-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 2.85rem;
  padding: 0.7rem 1.35rem;
  border-radius: 12px;
  color: #1d1103;
  background: linear-gradient(135deg, #ffb86e, #ffbb69);
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 14px 30px rgba(255, 170, 73, 0.16);
}

.team-template-actions nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.team-template-actions nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.15rem;
  border: 1px solid rgba(214, 175, 132, 0.24);
  border-radius: 10px;
  padding: 0.42rem 0.88rem;
  color: #fff8f0;
  background: rgba(31, 19, 6, 0.42);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.team-template-actions nav a:hover,
.team-template-primary:hover {
  filter: brightness(1.06);
}

.team-first-guide {
  display: grid;
  gap: 0.9rem;
  border: 1px solid rgba(255, 196, 121, 0.2);
  background: linear-gradient(135deg, rgba(86, 65, 42, 0.92), rgba(72, 55, 32, 0.92));
}

.team-first-guide-copy {
  gap: 0.35rem;
}

.team-first-guide strong {
  font-size: 1.65rem;
  line-height: 1.22;
}

.team-first-guide-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.team-step-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.45rem;
  padding: 0.45rem 0.8rem;
  border-radius: 12px;
  border: 1px solid rgba(214, 182, 144, 0.16);
  background: rgba(255, 255, 255, 0.03);
  color: #fff6eb;
}

.team-step-chip i {
  display: grid;
  place-items: center;
  width: 1.45rem;
  height: 1.45rem;
  margin: 0;
  border-radius: 999px;
  color: #201508;
  font-style: normal;
  font-size: 0.76rem;
  font-weight: 900;
  background: linear-gradient(135deg, #ffb568, #ffbc66);
}

.team-step-chip b {
  font-size: 0.88rem;
}

.team-platform-rule-note {
  display: grid;
  grid-template-columns: minmax(13rem, 0.9fr) minmax(0, 1.8fr) auto;
  align-items: center;
  gap: 0.8rem;
  border: 1px solid rgba(190, 143, 91, 0.18);
  border-radius: 10px;
  padding: 0.82rem 1rem;
  background: rgba(32, 20, 7, 0.52);
}

.team-platform-rule-note.is-tiktok {
  border-color: rgba(255, 140, 24, 0.2);
  background:
    linear-gradient(135deg, rgba(255, 140, 24, 0.08), rgba(255, 175, 70, 0.07)),
    rgba(32, 20, 7, 0.58);
}

.team-platform-rule-note div {
  display: grid;
  gap: 0.2rem;
}

.team-platform-rule-note span {
  color: var(--team-cyan);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.team-platform-rule-note strong {
  color: #fff7ee;
  font-size: 0.96rem;
}

.team-platform-rule-note p {
  margin: 0;
  color: #c4af98;
  line-height: 1.55;
}

.team-platform-rule-note a {
  display: inline-grid;
  place-items: center;
  min-height: 2.35rem;
  border-radius: 8px;
  padding: 0.38rem 0.78rem;
  color: #1d1103;
  background: linear-gradient(135deg, #ffb569, #ffb75c);
  font-size: 0.82rem;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.team-upload-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.team-file-card {
  display: grid;
  gap: 0.65rem;
  padding: 1rem;
}

.team-file-card-cost {
  border-color: rgba(255, 177, 97, 0.44);
  box-shadow: inset 0 0 0 1px rgba(255, 177, 97, 0.08), 0 0 0 1px rgba(255, 177, 97, 0.04);
}

.team-file-card-cost small {
  color: #ffe0bf;
}

.team-file-card span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  color: #fff9f3;
  font-weight: 800;
}

.team-file-card b {
  min-width: 0;
  font: inherit;
}

.team-file-card em {
  color: var(--team-cyan);
  font-style: normal;
  font-size: 0.76rem;
}

.team-file-card input[type="file"] {
  width: 100%;
  color: #d4bfa9;
}

.team-file-card small {
  color: #bca892;
  line-height: 1.5;
}

.team-file-card.is-required {
  border-color: rgba(255, 140, 24, 0.35);
}

.team-file-card.is-locked {
  opacity: 0.62;
}

.team-tiktok-upload {
  display: grid;
  gap: 0.85rem;
  border: 1px solid rgba(255, 140, 24, 0.2);
  border-radius: 14px;
  padding: 1rem;
  background:
    radial-gradient(circle at top left, rgba(255, 140, 24, 0.12), transparent 32%),
    linear-gradient(135deg, rgba(32, 20, 7, 0.84), rgba(44, 31, 16, 0.78));
}

.team-tiktok-upload.is-preview-locked {
  border-color: rgba(255, 140, 24, 0.15);
}

.team-tiktok-head {
  display: grid;
  gap: 0.28rem;
}

.team-tiktok-head span {
  color: var(--team-cyan);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.team-tiktok-head strong {
  color: #fffaf4;
  font-size: 1.2rem;
}

.team-tiktok-head p {
  margin: 0;
  color: #c9b49c;
  line-height: 1.55;
}

.team-tiktok-lock-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.35rem 0.8rem;
  align-items: center;
  border: 1px solid rgba(255, 140, 24, 0.18);
  border-radius: 13px;
  padding: 0.82rem 0.9rem;
  background:
    linear-gradient(135deg, rgba(255, 140, 24, 0.1), rgba(255, 175, 70, 0.08)),
    rgba(27, 17, 5, 0.64);
}

.team-tiktok-lock-banner strong,
.team-tiktok-lock-banner span {
  display: block;
}

.team-tiktok-lock-banner strong {
  color: #fffaf4;
}

.team-tiktok-lock-banner span {
  color: #c0ab94;
  font-size: 0.82rem;
}

.team-tiktok-lock-banner a {
  grid-row: span 2;
  display: inline-grid;
  place-items: center;
  min-width: 8.4rem;
  height: 2.6rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #ffb569, #ffb75c);
  color: #1d1103;
  font-size: 0.84rem;
  font-weight: 900;
  text-decoration: none;
}

.team-tiktok-guide {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.team-tiktok-guide article {
  min-height: 6.4rem;
  border: 1px solid rgba(190, 143, 91, 0.2);
  border-radius: 12px;
  padding: 0.82rem;
  background: rgba(27, 17, 5, 0.62);
}

.team-tiktok-guide b,
.team-tiktok-guide span,
.team-tiktok-guide em {
  display: block;
}

.team-tiktok-guide b {
  width: fit-content;
  margin-bottom: 0.35rem;
  border-radius: 999px;
  padding: 0.16rem 0.48rem;
  background: rgba(255, 140, 24, 0.12);
  color: var(--team-cyan);
  font-size: 0.72rem;
}

.team-tiktok-guide span {
  color: #fff9f3;
  font-weight: 850;
}

.team-tiktok-guide em {
  margin-top: 0.28rem;
  color: #bca892;
  font-size: 0.8rem;
  font-style: normal;
  line-height: 1.45;
}

.team-file-card.is-tiktok-primary {
  border-color: rgba(255, 140, 24, 0.38);
  background:
    linear-gradient(135deg, rgba(255, 140, 24, 0.08), rgba(255, 175, 70, 0.08)),
    rgba(32, 20, 7, 0.72);
}

.team-submit-row {
  display: grid;
  grid-template-columns: minmax(12rem, 0.7fr) minmax(12rem, 0.7fr) minmax(16rem, 1.2fr);
  gap: 0.75rem;
  align-items: stretch;
}

.team-date-field,
.team-pdf-field {
  display: grid;
  gap: 0.3rem;
  padding: 0.82rem 1rem;
}

.team-date-field span,
.team-pdf-field span {
  color: #ecdac7;
  font-size: 0.9rem;
}

.team-date-field input {
  width: 100%;
  border: 0;
  outline: 0;
  color: #fff8f0;
  background: transparent;
}

.team-pdf-field {
  grid-template-columns: auto 1fr;
  align-items: center;
}

.team-submit-row button {
  width: 100%;
  margin: 0;
  font-size: 1.02rem;
}

.team-status-strip {
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  border-radius: 12px;
  padding: 1rem 1.35rem;
}

.team-status-strip div {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.8rem;
  row-gap: 0.1rem;
}

.team-status-strip i {
  grid-row: 1 / 3;
  align-self: center;
}

.team-status-strip strong {
  color: #fbead8;
  letter-spacing: 0.04em;
}

.team-status-strip span {
  color: #bfa991;
  font-size: 0.86rem;
}

.team-status-strip em {
  color: #fbead8;
  font-style: normal;
}

.team-mobile-nav {
  display: none;
}

body.page-home-team .ai-guide {
  display: none;
}

@media (max-width: 1180px) {
  .team-topbar {
    grid-template-columns: 1fr auto;
  }

  .team-nav {
    display: none;
  }

  .team-agent-grid,
  .team-agent-card,
  .team-upload-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .team-tiktok-guide {
    grid-template-columns: minmax(0, 1fr);
  }

  .team-tiktok-lock-banner {
    grid-template-columns: minmax(0, 1fr);
  }

  .team-tiktok-lock-banner a {
    grid-row: auto;
    width: 100%;
  }

  .team-mini-chart,
  .team-line-chart,
  .team-design-preview,
  .team-funnel-preview {
    min-height: 9rem;
  }
}

@media (max-width: 760px) {
  body.page-home-team {
    background:
      radial-gradient(circle at 84% 18%, rgba(255, 171, 70, 0.22), transparent 18rem),
      linear-gradient(180deg, #120b03 0%, #1f1306 100%);
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .team-topbar {
    position: relative;
    grid-template-columns: 1fr auto;
    min-height: auto;
    padding: calc(env(safe-area-inset-top) + 0.85rem) 0.9rem 0.5rem;
    background: transparent;
    border-bottom: 0;
  }

  .team-brand {
    font-size: 0.94rem;
    min-width: 0;
  }

  .team-brand span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .team-actions {
    gap: 0.48rem;
  }

  .team-search,
  .team-online,
  .team-icon {
    display: none;
  }

  .team-avatar {
    width: 2.35rem;
    height: 2.35rem;
  }

  .team-main {
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    padding: 0.35rem 0 calc(6.4rem + env(safe-area-inset-bottom));
    overflow-x: hidden;
  }

  .team-hero,
  .team-agent-card,
  .team-agent-copy,
  .team-console,
  .team-upload-form,
  .team-file-card {
    min-width: 0;
    max-width: 100%;
  }

  .team-hero {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    place-items: start;
    min-height: 0;
    text-align: left;
    padding: 1.1rem 1rem 1.15rem;
    border-radius: 28px;
    background:
      radial-gradient(circle at 90% 22%, rgba(255, 173, 77, 0.22), transparent 24%),
      rgba(32, 20, 7, 0.72);
    border: 1px solid rgba(220, 149, 71, 0.14);
  }

  .team-orbit {
    display: none;
  }

  .team-hero h1 {
    font-size: 2.34rem;
    line-height: 1.2;
    white-space: normal;
  }

  .team-hero h1 span {
    white-space: normal;
  }

  .team-hero p {
    margin-top: 1rem;
    width: min(100%, calc(100vw - 2.85rem));
    max-width: calc(100vw - 2.85rem);
    font-size: 0.92rem;
    line-height: 1.75;
    overflow-wrap: anywhere;
    word-break: break-all;
    white-space: normal;
  }

  .team-hero-tabs {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 0.5rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding-bottom: 0.1rem;
    scrollbar-width: none;
  }

  .team-hero-tabs::-webkit-scrollbar {
    display: none;
  }

  .team-hero-tabs a {
    flex: 0 0 auto;
    min-width: 7.4rem;
    min-height: 2.65rem;
    padding: 0 0.8rem;
    border-radius: 12px;
    font-size: 0.82rem;
  }

  .team-agent-grid {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    gap: 0.86rem;
    margin-top: 0.9rem;
  }

  .team-agent-card {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-height: 0;
    padding: 1.05rem;
    border-radius: 24px;
    overflow: hidden;
  }

  .team-agent-card-design,
  .team-agent-card-ads,
  .team-status-strip {
    display: none;
  }

  .team-agent-head {
    gap: 0.7rem;
  }

  .team-agent-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 12px;
  }

  .team-agent-head h2 {
    font-size: 1.58rem;
  }

  .team-agent-copy p {
    width: min(100%, calc(100vw - 3.2rem));
    max-width: calc(100vw - 3.2rem);
    overflow-wrap: anywhere;
    word-break: break-all;
    white-space: normal;
  }

  .team-feature-pills {
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
  }

  .team-feature-pills::-webkit-scrollbar {
    display: none;
  }

  .team-feature-pills span {
    flex: 0 0 auto;
  }

  .team-mini-chart,
  .team-line-chart {
    display: none;
  }

  .team-primary-btn,
  .team-secondary-btn {
    width: 100%;
  }

  .team-console {
    padding: 1rem;
    border-radius: 24px;
  }

  .team-console-head h2 {
    font-size: 1.72rem;
  }

  .team-mode-grid {
    display: flex;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-inline-size: 0;
    box-sizing: border-box;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .team-mode-grid::-webkit-scrollbar {
    display: none;
  }

  .team-mode-grid label {
    flex: 0 0 15.2rem;
    min-height: 4.15rem;
    padding-inline: 0.85rem;
  }

  .team-platform-mark {
    width: 2.08rem;
    height: 2.08rem;
    border-radius: 0.72rem;
  }

  .team-platform-douyin i,
  .team-platform-tiktok i {
    font-size: 1.08rem;
  }

  .team-platform-tiktok small {
    font-size: 0.38rem;
  }

  .team-mode-copy b {
    font-size: 0.86rem;
  }

  .team-mode-copy em {
    font-size: 0.68rem;
  }

  .team-template-workspace {
    grid-template-columns: 1fr;
  }

  .team-template-strip,
  .team-first-guide {
    padding: 0.9rem;
  }

  .team-template-strip strong,
  .team-first-guide strong {
    font-size: 1.28rem;
  }

  .team-template-actions nav {
    gap: 0.4rem;
  }

  .team-template-actions nav a,
  .team-template-primary {
    width: 100%;
    justify-content: center;
  }

  .team-platform-rule-note {
    grid-template-columns: 1fr;
    padding: 0.78rem;
  }

  .team-platform-rule-note a {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .team-upload-grid {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    gap: 0.62rem;
  }

  .team-tiktok-upload {
    padding: 0.85rem;
  }

  .team-file-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    border-radius: 16px;
    padding: 0.9rem;
  }

  .team-file-card input[type="file"] {
    min-width: 0;
    max-width: 100%;
  }

  .team-submit-row {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    grid-template-columns: minmax(0, 1fr);
  }

  .team-date-field,
  .team-pdf-field {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .team-submit-row button {
    min-height: 3.55rem;
    position: sticky;
    bottom: calc(5.6rem + env(safe-area-inset-bottom));
    z-index: 5;
  }

  .team-mobile-nav {
    position: fixed;
    z-index: 60;
    left: 0.78rem;
    right: 0.78rem;
    bottom: calc(0.75rem + env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.35rem;
    padding: 0.48rem;
    border-radius: 24px;
    background: rgba(24, 16, 6, 0.96);
    border: 1px solid rgba(220, 149, 71, 0.2);
    box-shadow: 0 20px 42px rgba(0, 0, 0, 0.34);
  }

  .team-mobile-nav a {
    display: grid;
    place-items: center;
    gap: 0.18rem;
    min-height: 3.85rem;
    color: #bca68d;
    text-decoration: none;
    border-radius: 16px;
    font-size: 0.76rem;
  }

  .team-mobile-nav a.is-active {
    color: var(--team-cyan);
    background: rgba(61, 40, 18, 0.98);
  }

}

@media (max-width: 390px) {
  .team-hero h1 {
    font-size: 2.32rem;
  }
}

/* ===== Account Center V2 ===== */
body.boss-account-v2-page {
  --account-panel: rgba(39, 26, 12, 0.82);
  --account-line: rgba(178, 145, 108, 0.18);
  --account-text: #fff6ed;
  --account-muted: #c4b19c;
  --account-cyan: #ffab55;
  --account-purple: #ffb85c;
  min-height: 100vh;
  background:
    radial-gradient(circle at 78% 0%, rgba(255, 172, 69, 0.18), transparent 28%),
    radial-gradient(circle at 8% 18%, rgba(208, 117, 26, 0.12), transparent 30%),
    linear-gradient(180deg, #1f1306 0%, #140d05 56%, #120b04 100%);
  color: var(--account-text);
}

body.boss-account-v2-page .ai-guide { display: none; }

.boss-account-v2-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(160px, 1fr);
  align-items: center;
  min-height: 68px;
  padding: 0 32px;
  border-bottom: 1px solid rgba(188, 152, 112, 0.16);
  background: rgba(20, 13, 5, 0.82);
  backdrop-filter: blur(18px);
}

.boss-account-v2-brand,
.boss-account-v2-topnav,
.boss-account-v2-logout { display: inline-flex; align-items: center; }

.boss-account-v2-brand {
  gap: 10px;
  color: #fff9f3;
  text-decoration: none;
}

.boss-account-v2-brand strong { font-size: 20px; letter-spacing: -0.02em; }
.boss-account-v2-brand em { color: #d9cbbc; font-style: normal; font-weight: 600; }

.boss-account-v2-brand-mark {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 10px;
  color: #1f1306;
  background: linear-gradient(135deg, #ffb76f, #ffa338 60%, #ffb95c);
  box-shadow: 0 0 22px rgba(255, 171, 85, 0.34);
}

.boss-account-v2-topnav { gap: 34px; }

.boss-account-v2-topnav a {
  position: relative;
  color: #d0c0ae;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
}

.boss-account-v2-topnav a.is-active { color: var(--account-cyan); }

.boss-account-v2-topnav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -22px;
  height: 3px;
  border-radius: 999px;
  background: var(--account-cyan);
  box-shadow: 0 0 18px rgba(255, 171, 85, 0.56);
}

.boss-account-v2-logout {
  justify-self: end;
  gap: 8px;
  color: #f4e6d6;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
}

.boss-account-v2-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: calc(100vh - 68px);
}

.boss-account-v2-sidebar {
  position: sticky;
  top: 68px;
  height: calc(100vh - 68px);
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 36px 18px 24px;
  border-right: 1px solid rgba(188, 152, 112, 0.18);
  background: linear-gradient(180deg, rgba(29, 19, 7, 0.9), rgba(22, 14, 5, 0.82));
}

.boss-account-v2-side-group { display: grid; gap: 8px; }
.boss-account-v2-side-group > span { margin: 0 14px 8px; color: #9a8875; font-size: 14px; }

.boss-account-v2-side-group a {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 14px;
  color: #dfd2c4;
  text-decoration: none;
  font-size: 17px;
}

.boss-account-v2-side-group a:hover { background: rgba(255, 171, 85, 0.08); color: #fff8f1; }
.boss-account-v2-nav-icon,
.boss-account-v2-inline-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  font-family: "Noto Sans SC", system-ui, sans-serif;
  font-weight: 900;
  line-height: 1;
}

.boss-account-v2-nav-icon {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  color: #ffcf9d;
  background: rgba(255, 171, 85, 0.1);
  font-size: 13px;
}

.boss-account-v2-inline-icon {
  width: 22px;
  height: 22px;
  border: 1px solid rgba(255, 178, 98, 0.26);
  border-radius: 50%;
  color: #ffc588;
  background: rgba(255, 171, 85, 0.08);
  font-size: 12px;
  font-style: normal;
}

.boss-account-v2-user-mini {
  margin-top: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  min-height: 78px;
  padding: 12px;
  border: 1px solid var(--account-line);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(61, 41, 19, 0.92), rgba(41, 28, 13, 0.8));
}

.boss-account-v2-user-mini div {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffaf4f, #745128);
  font-weight: 900;
}

.boss-account-v2-user-mini p { margin: 0; }
.boss-account-v2-user-mini strong, .boss-account-v2-user-mini span { display: block; }
.boss-account-v2-user-mini span { color: #c6b39e; font-size: 13px; }
.boss-account-v2-user-mini .boss-account-v2-chevron {
  color: #f8e4cf;
  font-size: 24px;
  line-height: 1;
}

.boss-account-v2-main {
  width: min(1140px, calc(100vw - 330px));
  margin: 0 auto;
  padding: 36px 0 72px;
}

.boss-account-v2-flashes { margin-bottom: 18px; }
.boss-account-v2-mobile-head { display: none; }
.boss-account-v2-hero { margin-bottom: 22px; }
.boss-account-v2-hero h1 { margin: 0 0 10px; font-size: 38px; line-height: 1.08; letter-spacing: -0.04em; }
.boss-account-v2-hero p { margin: 0; color: #d0c0ae; font-size: 17px; }

.boss-account-v2-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.boss-account-v2-metrics article,
.boss-account-v2-panel,
.boss-account-v2-service-row,
.boss-account-v2-invite {
  border: 1px solid var(--account-line);
  background: linear-gradient(180deg, rgba(54, 37, 18, 0.86), rgba(36, 24, 11, 0.88));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.boss-account-v2-metrics article {
  min-height: 132px;
  padding: 18px 20px;
  border-radius: 14px;
}

.boss-account-v2-icon,
.boss-account-v2-task-icon {
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #ffefdf;
}

.boss-account-v2-icon { width: 46px; height: 46px; margin-bottom: 12px; }
.boss-account-v2-icon,
.boss-account-v2-task-icon {
  font-family: "Noto Sans SC", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 900;
}
.boss-account-v2-icon.is-blue { background: linear-gradient(135deg, rgba(255, 176, 82, 0.8), rgba(129, 89, 38, 0.88)); }
.boss-account-v2-icon.is-gold { background: linear-gradient(135deg, rgba(245, 117, 42, 0.8), rgba(85, 42, 17, 0.88)); }
.boss-account-v2-icon.is-cyan { background: linear-gradient(135deg, rgba(255, 153, 43, 0.78), rgba(96, 58, 16, 0.9)); }
.boss-account-v2-icon.is-purple { background: linear-gradient(135deg, rgba(255, 178, 75, 0.82), rgba(128, 86, 31, 0.92)); }

.boss-account-v2-metrics p,
.boss-account-v2-metrics em { margin: 0; color: #cab9a7; font-style: normal; }
.boss-account-v2-metrics p { font-size: 15px; }
.boss-account-v2-metrics strong { display: block; margin-top: 6px; color: #fffaf4; font-size: 30px; line-height: 1.05; letter-spacing: -0.02em; }
.boss-account-v2-metrics small { margin-left: 4px; font-size: 17px; font-weight: 700; }
.boss-account-v2-metrics em { display: block; margin-top: 10px; font-size: 14px; }
.boss-account-v2-compat {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.boss-account-v2-profile-cta {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 148px;
  gap: 20px;
  align-items: center;
  margin-bottom: 16px;
  padding: 28px 28px 24px;
  border: 1px solid rgba(255, 168, 78, 0.24);
  border-radius: 14px;
  background:
    radial-gradient(circle at 14% 28%, rgba(255, 150, 43, 0.18), transparent 34%),
    radial-gradient(circle at 84% 28%, rgba(255, 176, 73, 0.28), transparent 32%),
    linear-gradient(100deg, rgba(76, 44, 11, 0.92), rgba(84, 58, 25, 0.94));
  box-shadow: 0 26px 80px rgba(100, 64, 24, 0.28);
}

.boss-account-v2-profile-icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 14px;
  background: linear-gradient(180deg, #dd8734, #ffa137);
  box-shadow: 0 18px 36px rgba(255, 157, 50, 0.26);
}

.boss-account-v2-profile-icon span { font-size: 28px; font-weight: 900; }
.boss-account-v2-profile-copy h2 { margin: 0; font-size: 22px; letter-spacing: -0.02em; }
.boss-account-v2-profile-copy h2 b { color: #ff9b61; }
.boss-account-v2-profile-copy > div:first-child { display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.boss-account-v2-profile-copy > div:first-child span { flex: 0 0 auto; padding: 8px 14px; border-radius: 999px; background: rgba(255, 179, 83, 0.36); color: #ffecd4; font-size: 14px; font-weight: 800; }
.boss-account-v2-profile-copy p { margin: 9px 0 14px; color: #dccdbd; }

.boss-account-v2-progress-row {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  max-width: 620px;
}

.boss-account-v2-progress-row strong,
.boss-account-v2-progress-row em { font-style: normal; font-weight: 800; }
.boss-account-v2-progress-row div { height: 9px; overflow: hidden; border-radius: 999px; background: rgba(197, 162, 122, 0.24); }
.boss-account-v2-progress-row i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #ffa952, #ffb85c); }

.boss-account-v2-primary,
.boss-account-v2-gradient-btn {
  border: 0;
  border-radius: 12px;
  color: #fffbf7;
  font-weight: 900;
  cursor: pointer;
}

.boss-account-v2-primary { height: 58px; background: linear-gradient(135deg, #ffab4b, #ffba5d); box-shadow: 0 18px 36px rgba(255, 182, 91, 0.28); }

.boss-account-v2-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-bottom: 16px; }
.boss-account-v2-panel { border-radius: 14px; padding: 22px 24px; }
.boss-account-v2-panel header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.boss-account-v2-panel h2, .boss-account-v2-service-row h2, .boss-account-v2-invite h2 { margin: 0; font-size: 23px; letter-spacing: -0.03em; }
.boss-account-v2-task-list { display: grid; }

.boss-account-v2-task-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  min-height: 58px;
  border-bottom: 1px solid rgba(186, 153, 117, 0.14);
}

.boss-account-v2-task-row:last-child { border-bottom: 0; }
.boss-account-v2-task-icon { width: 34px; height: 34px; font-size: 20px; }
.boss-account-v2-task-icon.is-blue { background: #ff9f33; }
.boss-account-v2-task-icon.is-green { background: #a76528; }
.boss-account-v2-task-icon.is-teal { background: #9f642d; }
.boss-account-v2-task-row strong { color: #fff7ee; }
.boss-account-v2-task-row em { color: #fff8f1; font-style: normal; }

.boss-account-v2-task-row button,
.boss-account-v2-task-row a {
  min-width: 80px;
  min-height: 34px;
  border: 1px solid rgba(255, 171, 85, 0.42);
  border-radius: 9px;
  background: rgba(119, 72, 22, 0.36);
  color: var(--account-cyan);
  font-weight: 900;
  text-decoration: none;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
}

.boss-account-v2-task-row b.is-done { color: #e09553; font-size: 14px; }
.boss-account-v2-panel footer { display: flex; align-items: center; gap: 6px; margin-top: 14px; color: #bca891; font-size: 14px; }
.boss-account-v2-question-panel { display: flex; flex-direction: column; }

.boss-account-v2-empty-idea {
  flex: 1;
  display: grid;
  place-items: center;
  gap: 12px;
  min-height: 148px;
  text-align: center;
  color: #cbbaa8;
}

.boss-account-v2-empty-symbol { font-size: 54px; color: rgba(214, 185, 154, 0.4); font-weight: 900; }
.boss-account-v2-question-text { min-height: 148px; margin: 0; color: #ffeedc; line-height: 1.7; }
.boss-account-v2-question-actions { display: flex; align-items: center; gap: 22px; margin-top: auto; }
.boss-account-v2-gradient-btn { min-width: 128px; height: 52px; background: linear-gradient(135deg, #ffab4b, #ffba5d); }
.boss-account-v2-question-actions span { display: inline-flex; align-items: center; gap: 8px; color: #bda78e; }
.boss-account-v2-question-actions i { color: #ffebd5; font-style: normal; font-weight: 900; }

.boss-account-v2-service-row,
.boss-account-v2-invite {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-bottom: 16px;
  padding: 18px 22px;
  border-radius: 14px;
}

.boss-account-v2-service-row p,
.boss-account-v2-invite p { margin: 8px 0 0; color: #c7b49f; }

.boss-account-v2-service-row a,
.boss-account-v2-service-row button,
.boss-account-v2-invite button {
  display: inline-grid;
  place-items: center;
  min-height: 42px;
  border: 0;
  border-radius: 10px;
  padding: 0 18px;
  background: #f6a959;
  color: #1f1306;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.boss-account-v2-service-row form,
.boss-account-v2-invite { grid-template-columns: minmax(0, 1fr) minmax(220px, 360px) auto; }

.boss-account-v2-service-row input,
.boss-account-v2-invite input {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(184, 149, 111, 0.22);
  border-radius: 10px;
  background: rgba(27, 18, 7, 0.8);
  color: #ffeedc;
  padding: 0 12px;
}

.boss-account-v2-invite > p { grid-column: 1 / -1; }
.boss-account-v2-reports { overflow: hidden; }
.boss-account-v2-reports header span { color: #c0ac95; }
.boss-account-v2-tabs { display: flex; gap: 12px; margin-bottom: 16px; }

.boss-account-v2-tabs button {
  min-width: 78px;
  height: 42px;
  border: 1px solid rgba(178, 143, 105, 0.2);
  border-radius: 10px;
  background: rgba(27, 18, 7, 0.72);
  color: #dccab7;
  font-weight: 900;
  cursor: pointer;
}

.boss-account-v2-tabs button.is-active { border-color: transparent; background: #f6a959; color: #1f1306; }
.boss-account-v2-table { width: 100%; border-collapse: collapse; }
.boss-account-v2-table th, .boss-account-v2-table td { padding: 16px 18px; border-bottom: 1px solid rgba(186, 153, 117, 0.16); text-align: left; }
.boss-account-v2-table th { color: #c4b19c; font-size: 15px; }
.boss-account-v2-table td { color: #fff7ee; }
.boss-account-v2-table a { margin-right: 16px; color: var(--account-cyan); text-decoration: none; }
.boss-account-v2-empty-cell { padding: 28px 18px; color: #bda78f; text-align: center; }
.boss-account-v2-mobile-reports { display: none; }

.boss-profile-dialog {
  width: min(980px, calc(100vw - 32px));
  padding: 0;
  border: 0;
  border-radius: 20px;
  color: var(--account-text);
  background: transparent;
}

.boss-profile-dialog::backdrop { background: rgba(12, 7, 1, 0.72); backdrop-filter: blur(12px); }

.boss-profile-dialog-card {
  max-height: min(84vh, 860px);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  border: 1px solid rgba(178, 145, 108, 0.22);
  border-radius: 20px;
  background:
    radial-gradient(circle at 85% 8%, rgba(255, 184, 92, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(43, 28, 12, 0.98), rgba(27, 18, 7, 0.98));
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.5);
}

.boss-profile-dialog-card > header,
.boss-profile-dialog-card > footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(178, 145, 108, 0.16);
}

.boss-profile-dialog-card > footer { border-top: 1px solid rgba(178, 145, 108, 0.16); border-bottom: 0; }
.boss-profile-dialog-card header div { display: flex; align-items: center; gap: 10px; }
.boss-profile-dialog-card h2 { margin: 0; }

.boss-profile-dialog-card [data-close-profile] {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(178, 145, 108, 0.18);
  border-radius: 12px;
  background: rgba(27, 18, 7, 0.8);
  color: #ffeedc;
  cursor: pointer;
}

.boss-profile-dialog-body { overflow-y: auto; display: grid; gap: 18px; padding: 22px; }
.boss-profile-dialog-card footer span { color: #c7b49f; }
.boss-profile-dialog-card footer .boss-account-v2-primary { min-width: 160px; }

@media (max-width: 1180px) {
  .boss-account-v2-layout { grid-template-columns: 230px minmax(0, 1fr); }
  .boss-account-v2-main { width: calc(100vw - 270px); }
  .boss-account-v2-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 780px) {
  .boss-account-v2-topbar,
  .boss-account-v2-sidebar { display: none; }
  .boss-account-v2-layout { display: block; min-height: 100vh; }
  .boss-account-v2-main { width: 100%; padding: 18px 14px calc(env(safe-area-inset-bottom) + 96px); }
  .boss-account-v2-mobile-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
  .boss-account-v2-mobile-head h1 { margin: 0; font-size: 25px; }
  .boss-account-v2-mobile-head p { margin: 4px 0 0; color: #c7b49f; }
  .boss-account-v2-mobile-head a { color: #ffeedc; }
  .boss-account-v2-hero { display: none; }
  .boss-account-v2-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .boss-account-v2-metrics article { min-height: 94px; padding: 12px; border-radius: 10px; }
  .boss-account-v2-icon { width: 30px; height: 30px; margin-bottom: 8px; font-size: 18px; }
  .boss-account-v2-metrics strong { font-size: 23px; }
  .boss-account-v2-metrics em { margin-top: 4px; font-size: 12px; }
  .boss-account-v2-profile-cta { grid-template-columns: 1fr auto; gap: 14px; padding: 18px 14px; border-radius: 12px; }
  .boss-account-v2-profile-icon { display: none; }
  .boss-account-v2-profile-copy { min-width: 0; }
  .boss-account-v2-profile-copy > div:first-child { display: block; }
  .boss-account-v2-profile-copy h2 { font-size: 17px; }
  .boss-account-v2-profile-copy p { font-size: 13px; }
  .boss-account-v2-progress-row { grid-template-columns: auto auto; }
  .boss-account-v2-progress-row div { grid-column: 1 / -1; }
  .boss-account-v2-profile-cta > .boss-account-v2-primary { width: 86px; height: 42px; }
  .boss-account-v2-grid,
  .boss-account-v2-service-row,
  .boss-account-v2-invite,
  .boss-account-v2-service-row form { grid-template-columns: 1fr; }
  .boss-account-v2-panel { padding: 16px; border-radius: 12px; }
  .boss-account-v2-task-row { grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; }
  .boss-account-v2-task-row em { display: none; }
  .boss-account-v2-question-actions { display: grid; gap: 12px; }
  .boss-account-v2-service-row,
  .boss-account-v2-invite { padding: 16px; border-radius: 12px; }
  .boss-account-v2-invite input { min-width: 0; }
  .boss-account-v2-table { display: none; }
  .boss-account-v2-mobile-reports { display: grid; gap: 10px; }
  .boss-account-v2-mobile-reports article { border: 1px solid rgba(186, 153, 117, 0.16); border-radius: 12px; padding: 12px; background: rgba(27, 18, 7, 0.56); }
  .boss-account-v2-mobile-reports p { display: flex; justify-content: space-between; gap: 12px; color: #c7b49f; }
  .boss-account-v2-mobile-reports a { margin-right: 16px; color: var(--account-cyan); text-decoration: none; }
  .boss-profile-dialog { width: calc(100vw - 18px); }
  .boss-profile-dialog-card { max-height: 88vh; }
  .boss-profile-dialog-card > header,
  .boss-profile-dialog-card > footer { padding: 14px; }
  .boss-profile-dialog-card > footer { display: grid; }
  .boss-profile-dialog-body { padding: 14px; }
  body.boss-account-v2-page .boss-business-form-grid,
  body.boss-account-v2-page .boss-business-form-grid.is-compact { grid-template-columns: 1fr; }
  body.boss-account-v2-page .boss-account-v2-bottom-nav {
    position: fixed;
    z-index: 70;
    left: 14px;
    right: 14px;
    bottom: calc(env(safe-area-inset-bottom) + 10px);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    padding: 8px;
    border: 1px solid rgba(255, 169, 77, 0.2);
    border-radius: 22px;
    background: rgba(24, 15, 5, 0.96);
    box-shadow: 0 22px 46px rgba(0, 0, 0, 0.42);
  }
  body.boss-account-v2-page .boss-account-v2-bottom-nav a {
    display: grid;
    place-items: center;
    gap: 3px;
    min-height: 52px;
    border-radius: 15px;
    color: #bda78f;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
  }
  body.boss-account-v2-page .boss-account-v2-bottom-nav a > span:first-child {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 9px;
    background: rgba(255, 171, 85, 0.09);
    font-size: 13px;
    font-weight: 900;
  }
  body.boss-account-v2-page .boss-account-v2-bottom-nav a.is-active {
    color: var(--account-cyan);
    background: rgba(61, 40, 18, 0.98);
  }
}

/* ROI calculator V4: match compact three-column workbench mock */
body.roi-console-page {
  min-height: 100vh;
  overflow-x: hidden;
  font-family: "Noto Sans SC", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #fff6ed;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 154, 48, 0.12), transparent 25rem),
    radial-gradient(circle at 92% 6%, rgba(255, 178, 75, 0.16), transparent 28rem),
    linear-gradient(180deg, #130c05 0%, #1d1307 48%, #110b05 100%) !important;
}

body.roi-console-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 192, 125, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 192, 125, 0.022) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.58), transparent 82%);
}

body.roi-console-page .ai-guide,
.roi-mobile-preview,
.roi-phone,
.roi-visually-hidden {
  display: none !important;
}

.roi-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  height: 4.2rem;
  padding: 0 1.9rem;
  border-bottom: 1px solid rgba(255, 192, 121, 0.13);
  background: rgba(18, 12, 5, 0.84);
  backdrop-filter: blur(18px);
}

.roi-brand {
  min-width: 19rem;
}

.roi-brand span {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, #ff9931, #ffb75c);
  box-shadow: 0 0 22px rgba(255, 162, 62, 0.38);
}

.roi-brand strong {
  color: #fffbf6;
  font-size: 1.02rem;
  font-weight: 900;
}

.roi-brand em {
  position: relative;
  padding-left: 1rem;
  color: #bdad9b;
  font-style: normal;
  font-weight: 700;
}

.roi-brand em::before {
  content: "";
  position: absolute;
  left: 0.48rem;
  top: 50%;
  width: 1px;
  height: 1rem;
  background: rgba(203, 183, 160, 0.45);
  transform: translateY(-50%);
}

.roi-nav {
  display: none;
}

.roi-user-chip {
  min-width: 3.1rem;
  justify-content: center;
  gap: 0.45rem;
  border: 0;
  background: transparent;
  color: #fff0df;
}

.roi-user-chip i {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #a1631e, #473117);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.roi-user-chip i::before {
  content: "H";
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 900;
}

.roi-page {
  position: relative;
  z-index: 1;
  width: min(100vw - 1.7rem, 1880px);
  padding: 0.75rem 0 1.4rem;
}

.roi-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  min-height: 7rem;
  margin-bottom: 0.75rem;
  padding: 1.18rem 1.35rem;
  border: 1px solid rgba(213, 159, 100, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(52, 36, 18, 0.92), rgba(29, 20, 9, 0.94)),
    radial-gradient(circle at 100% 0%, rgba(255, 178, 79, 0.12), transparent 26rem);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.roi-hero-icon {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: 4.1rem;
  height: 4.1rem;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(255, 190, 121, 0.24);
  background: linear-gradient(135deg, rgba(255, 159, 59, 0.86), rgba(255, 179, 82, 0.88));
  box-shadow: 0 14px 30px rgba(255, 144, 21, 0.22);
}

.roi-hero-icon span {
  display: grid;
  place-items: center;
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 900;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.roi-kicker {
  margin: 0 0 0.25rem;
  color: #bfaf9e;
  font-size: 0.9rem;
  letter-spacing: 0;
}

.roi-hero h1 {
  margin: 0;
  color: #fffbf6;
  font-size: clamp(2.05rem, 3.4vw, 3.2rem);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: 0;
}

.roi-hero p {
  max-width: 52rem;
  margin: 0.56rem 0 0;
  color: #bcad9d;
  font-size: 0.98rem;
  line-height: 1.55;
}

.roi-hero-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.roi-primary-action,
.roi-secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  border-radius: 8px;
  padding: 0 1.4rem;
  font-size: 0.92rem;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.roi-primary-action {
  border: 0;
  color: #ffffff;
  background: linear-gradient(135deg, #ffb261 0%, #ffb455 100%);
  box-shadow: 0 12px 28px rgba(255, 169, 71, 0.26);
}

.roi-secondary-action {
  border: 1px solid rgba(202, 164, 122, 0.25);
  color: #fff7ee;
  background: rgba(20, 13, 5, 0.72);
}

.roi-workbench {
  display: grid;
  grid-template-columns: minmax(460px, 0.36fr) minmax(560px, 0.48fr) minmax(360px, 0.31fr);
  gap: 0.75rem;
  align-items: stretch;
}

.roi-params-card,
.roi-decision-card,
.roi-result-card,
.roi-formula-card,
.roi-history-card,
.roi-trend-card,
.roi-chart-panel {
  border: 1px solid rgba(200, 149, 92, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(49, 34, 17, 0.88), rgba(31, 20, 8, 0.92));
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.23), inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.roi-params-card {
  position: sticky;
  top: 4.95rem;
  max-height: calc(100vh - 5.8rem);
  padding: 0;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 173, 88, 0.45) transparent;
}

.roi-scenario-block,
.roi-card-head,
.roi-derived-block {
  padding: 1.05rem 1.15rem;
}

.roi-scenario-block {
  border-bottom: 1px solid rgba(220, 172, 120, 0.14);
}

.roi-section-title,
.roi-card-head strong,
.roi-small-title {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 0.86rem;
  color: #fffaf4;
  font-size: 1.02rem;
  font-weight: 900;
}

.roi-section-title span,
.roi-card-head strong span,
.roi-small-title span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(213, 190, 165, 0.45);
  color: #c3b6a8;
  font-size: 0.62rem;
  font-weight: 800;
}

.roi-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 0;
}

.roi-tabs .calc-tab {
  min-height: 2.55rem;
  border: 1px solid rgba(196, 155, 109, 0.2);
  border-radius: 999px;
  padding: 0 0.55rem;
  color: #fff6ec;
  background: rgba(22, 14, 4, 0.48);
  font-size: 0.84rem;
  font-weight: 900;
}

.roi-tabs .calc-tab.is-active {
  border-color: transparent;
  color: #ffffff;
  background: linear-gradient(135deg, #ffa547 0%, #ffac3d 100%);
  box-shadow: 0 12px 26px rgba(255, 175, 81, 0.28);
}

.roi-card-head {
  margin: 0;
  padding-bottom: 0.5rem;
}

.roi-card-head span,
.roi-card-head p {
  display: none;
}

.roi-input-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.72rem 0.85rem;
  padding: 0 1.15rem 1rem;
}

.roi-input-grid label,
.roi-single-input label,
.calc-input-grid label,
.wide-field {
  display: grid;
  gap: 0.35rem;
}

.roi-input-grid label span,
.roi-single-input label span,
.calc-input-grid label span,
.wide-field span {
  color: #baab9b;
  font-size: 0.78rem;
  font-weight: 800;
}

.roi-input-grid input,
.roi-single-input input,
.calc-input-grid input,
.wide-field input {
  width: 100%;
  min-height: 2.24rem;
  border: 1px solid rgba(207, 165, 118, 0.16);
  border-radius: 7px;
  padding: 0.52rem 0.62rem;
  color: #fff9f3;
  background: rgba(25, 16, 6, 0.62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  font-size: 0.9rem;
  font-weight: 800;
}

.roi-input-grid label:has(em) {
  position: relative;
}

.roi-input-grid em {
  position: absolute;
  right: 0.64rem;
  bottom: 0.58rem;
  color: #ffc68d;
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 900;
}

.roi-derived-block {
  margin: 0;
  border-top: 1px solid rgba(220, 172, 120, 0.14);
}

.roi-derived-block .metric-grid-5 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.48rem;
}

.roi-derived-block .result-card {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.7rem;
  border: 0;
  border-radius: 999px;
  padding: 0.38rem 0;
  background: transparent;
  box-shadow: none;
}

.roi-derived-block .result-card p {
  color: #baaa98;
  font-size: 0.86rem;
}

.roi-derived-block .result-card strong {
  color: #fff7ee;
  font-size: 0.98rem;
  font-weight: 900;
}

.roi-derived-block .result-card:nth-last-child(2),
.roi-derived-block .result-card:nth-last-child(1) {
  margin-top: 0.38rem;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(220, 172, 120, 0.13);
}

.roi-derived-block .result-card:nth-last-child(1) strong,
.roi-derived-block .result-card:nth-last-child(1) p {
  color: #ffaa53;
}

.roi-main-stack {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 0.75rem;
  min-width: 0;
}

.roi-main-stack,
.roi-panels,
.calc-panels,
.calc-panel,
.roi-result-layout,
.roi-result-card {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.roi-decision-card {
  padding: 1.25rem 1.25rem 1rem;
  min-height: 0;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 179, 83, 0.18), transparent 24rem),
    linear-gradient(180deg, rgba(44, 30, 14, 0.92), rgba(29, 19, 8, 0.95));
}

.roi-decision-main {
  display: block;
}

.roi-decision-main .roi-kicker {
  margin-bottom: 0.7rem;
  color: #fff8f0;
  font-size: 1.02rem;
  font-weight: 900;
}

.roi-decision-main h2 {
  margin: 0;
  color: #fffcf8;
  font-size: clamp(2.65rem, 4.4vw, 4.35rem);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: 0;
}

.roi-decision-main h2::first-letter {
  letter-spacing: 0;
}

.roi-decision-main p {
  margin: 0.65rem 0 0;
  color: #c7b8a8;
  font-size: 0.98rem;
  line-height: 1.55;
}

.roi-limit-meter {
  display: none;
}

.roi-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.05rem;
}

.roi-kpi {
  min-height: 7.05rem;
  display: grid;
  align-content: center;
  gap: 0.22rem;
  border: 1px solid rgba(200, 155, 105, 0.16);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  background: rgba(25, 16, 5, 0.52);
  box-shadow: none;
}

.roi-kpi span {
  color: #baab9a;
  font-size: 0.85rem;
  font-weight: 800;
}

.roi-kpi strong {
  color: #fff9f3;
  font-size: 1.58rem;
  line-height: 1.08;
  font-weight: 900;
}

.roi-kpi em {
  color: #aa9987;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 800;
}

.roi-panels,
.calc-panels {
  min-width: 0;
}

.calc-panel {
  display: none;
}

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

.roi-result-layout,
.roi-result-layout-single {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.roi-result-card,
.roi-formula-card {
  padding: 0.95rem 1.05rem;
}

.roi-result-card h2,
.roi-formula-card h3 {
  margin: 0 0 0.55rem;
  color: #fffbf6;
  font-size: 1.08rem;
  font-weight: 900;
}

.roi-result-card > p {
  margin: 0 0 1rem;
  color: #bdad9c;
  font-size: 0.9rem;
}

.submode-switch {
  display: inline-flex;
  gap: 0.5rem;
  margin: 0.12rem 0 0.45rem;
}

.submode-btn,
.btn.btn-ghost.btn-small {
  min-height: 2rem;
  border: 1px solid rgba(209, 168, 123, 0.22);
  border-radius: 999px;
  padding: 0 1rem;
  color: #faead8;
  background: rgba(24, 15, 5, 0.58);
  font-weight: 900;
}

.submode-btn.is-active {
  border-color: transparent;
  color: #1d1104;
  background: linear-gradient(135deg, #ffb76d, #ffb85f);
}

.submode-panel {
  display: none;
}

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

.wide-field input {
  min-height: 2.22rem;
}

.field-note {
  color: #aa9987;
  font-size: 0.78rem;
  font-style: normal;
}

.calc-input-grid {
  display: grid;
  gap: 0.72rem;
}

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

.calc-input-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.table-toolbar {
  display: flex;
  gap: 0.55rem;
  margin: 0.55rem 0 0.46rem;
}

.calc-alert {
  margin: 0.45rem 0;
  border-radius: 8px;
  padding: 0.55rem 0.82rem;
  font-size: 0.88rem;
  font-weight: 800;
}

.calc-alert-success {
  border: 1px solid rgba(223, 150, 83, 0.24);
  color: #ffe2c8;
  background: rgba(91, 56, 23, 0.35);
}

.calc-alert-warn {
  border: 1px solid rgba(255, 153, 94, 0.24);
  color: #ffc9aa;
  background: rgba(104, 51, 20, 0.32);
}

.calc-alert-danger {
  border: 1px solid rgba(255, 203, 105, 0.28);
  color: #fff1d6;
  background: rgba(92, 67, 22, 0.36);
}

.table-wrap-tight {
  overflow: hidden;
  border: 1px solid rgba(203, 160, 113, 0.17);
  border-radius: 8px;
  background: rgba(20, 12, 4, 0.35);
}

.table-wrap-tight .table {
  width: 100%;
  border-collapse: collapse;
}

.table-wrap-tight .table th,
.table-wrap-tight .table td {
  border-bottom: 1px solid rgba(201, 162, 119, 0.13);
  padding: 0.52rem 0.82rem;
  color: #fff6ed;
  text-align: left;
  font-size: 0.92rem;
  white-space: nowrap;
}

.table-wrap-tight .table th {
  color: #c7b6a4;
  background: rgba(59, 42, 23, 0.65);
  font-size: 0.82rem;
  font-weight: 900;
}

.table-wrap-tight .table tr:last-child td {
  border-bottom: 0;
}

.table-wrap-tight .table tr.is-best-row td {
  color: #ffab55;
  background: rgba(173, 107, 35, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 173, 86, 0.28);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.7rem;
  min-height: 1.55rem;
  border-radius: 999px;
  padding: 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 900;
}

.status-success {
  color: #f8c89d;
  background: rgba(104, 65, 30, 0.52);
}

.status-best {
  color: #ffffff;
  background: linear-gradient(135deg, #ffab54, #ffb554);
}

.status-warn {
  color: #ffc9a9;
  background: rgba(114, 57, 24, 0.52);
}

.status-danger {
  color: #ffedcb;
  background: rgba(111, 84, 34, 0.54);
}

.roi-formula-line {
  margin: 0.56rem 0 0;
  color: #baaa98;
  font-size: 0.86rem;
  font-weight: 800;
}

.roi-side-stack {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 0.75rem;
  min-width: 0;
}

.roi-trend-card,
.roi-history-card {
  padding: 1.15rem;
}

.roi-trend-card h2 {
  margin: 0 0 0.9rem;
  color: #fffbf6;
  font-size: 1.12rem;
  font-weight: 900;
}

.roi-chart-panel {
  padding: 1rem;
  background: rgba(25, 16, 6, 0.45);
}

.roi-chart-panel h3 {
  margin: 0 0 0.75rem;
  color: #fff6ed;
  font-size: 0.95rem;
  font-weight: 900;
}

.chart-wrap-compact {
  height: 17.6rem;
}

.roi-history-card .roi-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0;
  margin: 0 0 0.85rem;
}

.roi-history-card .roi-card-head strong {
  margin: 0;
  font-size: 1.08rem;
}

.roi-history-card .roi-card-head a {
  color: #bdac9a;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 800;
}

.roi-save-status {
  margin: 0 0 0.75rem;
  border: 1px solid rgba(198, 157, 112, 0.14);
  border-radius: 8px;
  padding: 0.7rem 0.8rem;
  color: #bfb09f;
  background: rgba(24, 15, 5, 0.46);
  font-size: 0.82rem;
  font-weight: 800;
}

.roi-save-status[data-tone="success"] {
  color: #f6c89e;
  border-color: rgba(222, 153, 88, 0.22);
  background: rgba(88, 55, 24, 0.28);
}

.roi-save-status[data-tone="warn"],
.roi-save-status[data-tone="pending"] {
  color: #ffc6a5;
  border-color: rgba(245, 144, 86, 0.22);
  background: rgba(106, 54, 24, 0.25);
}

.roi-save-status[data-tone="danger"] {
  color: #ffedcb;
  border-color: rgba(255, 204, 109, 0.26);
  background: rgba(105, 78, 28, 0.32);
}

.roi-history-list {
  display: grid;
  gap: 0.65rem;
  max-height: none;
  overflow: visible;
}

.roi-history-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  min-height: 5rem;
  border: 1px solid rgba(200, 158, 111, 0.14);
  border-radius: 8px;
  padding: 0.85rem;
  background: rgba(38, 25, 11, 0.58);
}

.roi-history-item strong {
  display: inline;
  margin-right: 0.55rem;
  color: #fff9f2;
  font-size: 1rem;
  font-weight: 900;
}

.roi-history-item p {
  display: inline;
  margin: 0;
  color: #c2b3a3;
  font-size: 0.86rem;
}

.roi-history-item span {
  display: block;
  margin-top: 0.3rem;
  color: #a08f7d;
  font-size: 0.78rem;
}

.roi-history-reuse {
  flex: 0 0 auto;
  min-height: 2.18rem;
  border: 1px solid rgba(196, 158, 116, 0.24);
  border-radius: 7px;
  padding: 0 0.8rem;
  color: #fbe6cf;
  background: rgba(20, 12, 4, 0.38);
  font-size: 0.8rem;
  font-weight: 900;
}

.roi-history-empty {
  display: grid;
  min-height: 5.1rem;
  place-items: center;
  border: 1px dashed rgba(199, 161, 119, 0.18);
  border-radius: 8px;
  color: #a0907f;
  font-size: 0.88rem;
  font-weight: 800;
}

.roi-footnote {
  margin: 0.75rem 0 0;
  color: #a29281;
  text-align: center;
  font-size: 0.86rem;
  font-weight: 700;
}

@media (max-width: 1320px) {
  .roi-workbench {
    grid-template-columns: minmax(300px, 0.35fr) minmax(0, 1fr);
  }

  .roi-side-stack {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.55fr);
  }
}

@media (max-width: 920px) {
  .roi-topbar {
    height: auto;
    padding: 0.75rem 0.9rem;
  }

  .roi-brand {
    min-width: 0;
  }

  .roi-brand em,
  .roi-user-chip span {
    display: none;
  }

  .roi-page {
    width: min(100vw - 1rem, 100%);
    padding-top: 0.65rem;
  }

  .roi-hero {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 1rem;
  }

  .roi-hero-actions {
    grid-column: 1 / -1;
    width: 100%;
  }

  .roi-primary-action,
  .roi-secondary-action {
    flex: 1;
  }

  .roi-workbench,
  .roi-side-stack {
    grid-template-columns: 1fr;
  }

  .roi-params-card {
    position: static;
    max-height: none;
  }

  .roi-kpi-grid,
  .roi-input-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile ROI calculator: dedicated decision-first interface */
.roi-mobile-v2 {
  display: none;
}

@media (max-width: 760px) {
  body.roi-console-page {
    padding-bottom: calc(6.5rem + env(safe-area-inset-bottom));
    background:
      radial-gradient(circle at 20% 0%, rgba(255, 165, 72, 0.18), transparent 18rem),
      radial-gradient(circle at 100% 16%, rgba(255, 181, 84, 0.18), transparent 19rem),
      linear-gradient(180deg, #130c05 0%, #1e1307 100%) !important;
  }

  .roi-topbar,
  .roi-hero,
  .roi-workbench,
  .roi-footnote {
    display: none !important;
  }

  .roi-page {
    width: 100%;
    padding: 0;
  }

  .roi-mobile-v2 {
    display: block;
    min-height: 100vh;
    padding: calc(env(safe-area-inset-top) + 0.6rem) 0.85rem 1.2rem;
    color: #fff9f3;
  }

  .roi-mobile-v2-top {
    position: sticky;
    top: 0;
    z-index: 18;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.7rem;
    margin: -0.6rem -0.85rem 0.75rem;
    padding: 0.72rem 0.85rem;
    border-bottom: 1px solid rgba(216, 163, 104, 0.14);
    background: rgba(18, 12, 5, 0.88);
    backdrop-filter: blur(18px);
  }

  .roi-mobile-v2-top a,
  .roi-mobile-v2-top button {
    grid-column: auto !important;
    width: auto !important;
    min-height: 2.2rem;
    border: 1px solid rgba(210, 164, 113, 0.2);
    border-radius: 999px;
    padding: 0 0.82rem;
    color: #fbe6cf;
    background: rgba(32, 21, 8, 0.68);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 900;
  }

  .roi-mobile-v2-top button {
    border-color: transparent;
    color: #ffffff;
    background: linear-gradient(135deg, #ffb261, #ffb557);
  }

  .roi-mobile-v2-top strong {
    color: #fffcf8;
    text-align: center;
    font-size: 1.04rem;
    font-weight: 900;
  }

  .roi-mobile-answer,
  .roi-mobile-panel {
    border: 1px solid rgba(213, 157, 96, 0.18);
    border-radius: 16px;
    background:
      linear-gradient(180deg, rgba(50, 34, 16, 0.9), rgba(31, 20, 8, 0.94));
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.035);
  }

  .roi-mobile-answer {
    position: relative;
    overflow: hidden;
    padding: 1rem;
  }

  .roi-mobile-answer::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
      radial-gradient(circle at 92% 0%, rgba(255, 181, 87, 0.32), transparent 15rem),
      radial-gradient(circle at 0% 10%, rgba(255, 172, 86, 0.16), transparent 13rem);
  }

  .roi-mobile-answer > * {
    position: relative;
    z-index: 1;
  }

  .roi-mobile-answer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.72rem;
  }

  .roi-mobile-answer-head span {
    color: #ffbe7b;
    font-size: 0.82rem;
    font-weight: 900;
  }

  .roi-mobile-answer-head em {
    border: 1px solid rgba(255, 181, 105, 0.18);
    border-radius: 999px;
    padding: 0.24rem 0.58rem;
    color: #ffd3a7;
    background: rgba(238, 136, 34, 0.08);
    font-size: 0.72rem;
    font-style: normal;
    font-weight: 900;
  }

  .roi-mobile-answer h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.92rem, 9.6vw, 2.68rem);
    line-height: 1.02;
    font-weight: 900;
    letter-spacing: 0;
  }

  .roi-mobile-answer p {
    margin: 0.66rem 0 0;
    color: #cabaa9;
    font-size: 0.88rem;
    line-height: 1.55;
    font-weight: 700;
  }

  .roi-mobile-answer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
    margin-top: 0.9rem;
  }

  .roi-mobile-answer-grid article {
    min-height: 4.2rem;
    display: grid;
    align-content: center;
    gap: 0.25rem;
    border: 1px solid rgba(207, 158, 104, 0.16);
    border-radius: 12px;
    padding: 0.7rem;
    background: rgba(26, 16, 5, 0.55);
  }

  .roi-mobile-answer-grid article:nth-child(2) {
    grid-column: span 1;
  }

  .roi-mobile-answer-grid span {
    color: #bba791;
    font-size: 0.74rem;
    font-weight: 800;
  }

  .roi-mobile-answer-grid strong {
    color: #ffb467;
    font-size: 1.28rem;
    line-height: 1.1;
    font-weight: 900;
  }

  .roi-mobile-scenarios {
    margin-top: 0.75rem;
    border: 1px solid rgba(213, 157, 96, 0.18);
    border-radius: 16px;
    padding: 0.9rem;
    background: rgba(31, 20, 8, 0.66);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
  }

  .roi-mobile-scenarios .roi-mobile-section-head {
    margin-bottom: 0.65rem;
  }

  .roi-mobile-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.52rem;
    margin: 0;
    padding: 0;
    overflow: visible;
  }

  .roi-mobile-tabs::-webkit-scrollbar {
    display: none;
  }

  .roi-mobile-tabs .calc-tab {
    grid-column: auto !important;
    width: 100% !important;
    min-height: 2.25rem;
    border: 1px solid rgba(206, 163, 115, 0.2);
    border-radius: 999px;
    padding: 0 0.55rem;
    color: #e7d8c8;
    background: rgba(31, 20, 8, 0.76);
    font-size: 0.82rem;
    font-weight: 900;
    white-space: nowrap;
  }

  .roi-mobile-tabs .calc-tab.is-active {
    border-color: transparent;
    color: #ffffff;
    background: linear-gradient(135deg, #ffab54, #ffb351);
    box-shadow: 0 10px 24px rgba(255, 173, 78, 0.26);
  }

  .roi-mobile-panel {
    margin-top: 0.75rem;
    padding: 0.95rem;
  }

  .roi-mobile-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
    margin-bottom: 0.78rem;
  }

  .roi-mobile-section-head strong {
    color: #fffaf5;
    font-size: 1.02rem;
    font-weight: 900;
  }

  .roi-mobile-section-head button,
  .roi-mobile-section-head span {
    border: 0;
    color: #ffbf7d;
    background: transparent;
    font-size: 0.78rem;
    font-weight: 900;
  }

  .roi-mobile-section-head button {
    min-height: 2rem;
    border: 1px solid rgba(255, 191, 126, 0.22);
    border-radius: 999px;
    padding: 0 0.72rem;
    background: rgba(238, 136, 34, 0.08);
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  .roi-mobile-param-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.58rem;
  }

  .roi-mobile-extra-params {
    display: none;
    margin-top: 0.58rem;
  }

  .roi-mobile-extra-params.is-open {
    display: grid;
  }

  .roi-mobile-param-grid label {
    display: grid;
    gap: 0.36rem;
    border: 1px solid rgba(205, 158, 106, 0.15);
    border-radius: 12px;
    padding: 0.64rem;
    background: rgba(24, 15, 5, 0.5);
  }

  .roi-mobile-param-grid span {
    color: #bca994;
    font-size: 0.74rem;
    font-weight: 800;
  }

  .roi-mobile-param-grid input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    color: #fffaf4;
    background: transparent;
    font-size: 1.12rem;
    font-weight: 900;
  }

  .roi-mobile-price-list {
    display: grid;
    gap: 0.52rem;
  }

  .roi-mobile-price-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.6rem;
    border: 1px solid rgba(205, 157, 104, 0.15);
    border-radius: 12px;
    padding: 0.68rem;
    background: rgba(24, 15, 5, 0.48);
  }

  .roi-mobile-price-card.is-best {
    border-color: rgba(255, 170, 83, 0.46);
    background: linear-gradient(135deg, rgba(189, 114, 34, 0.22), rgba(196, 140, 69, 0.2));
  }

  .roi-mobile-price-card div {
    display: grid;
    gap: 0.14rem;
  }

  .roi-mobile-price-card strong {
    color: #fffaf4;
    font-size: 1rem;
    font-weight: 900;
  }

  .roi-mobile-price-card span {
    color: #aa9680;
    font-size: 0.72rem;
    font-weight: 800;
  }

  .roi-mobile-bottom-actions {
    position: fixed;
    z-index: 25;
    left: 0.85rem;
    right: 0.85rem;
    bottom: calc(env(safe-area-inset-bottom) + 0.75rem);
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 0.55rem;
    padding: 0.55rem;
    border: 1px solid rgba(216, 163, 104, 0.18);
    border-radius: 18px;
    background: rgba(18, 12, 5, 0.88);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(18px);
  }

  .roi-mobile-bottom-actions a,
  .roi-mobile-bottom-actions button {
    grid-column: auto !important;
    width: auto !important;
    min-height: 2.85rem;
    border: 1px solid rgba(203, 159, 111, 0.2);
    border-radius: 13px;
    color: #fbe9d6;
    background: rgba(32, 21, 8, 0.72);
    text-align: center;
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 900;
  }

  .roi-mobile-bottom-actions a {
    display: grid;
    place-items: center;
  }

  .roi-mobile-bottom-actions button {
    border-color: transparent;
    color: #ffffff;
    background: linear-gradient(135deg, #ffb05f, #ffb658);
  }
}

/* Pricing page */
body.pricing-page {
  min-height: 100vh;
  margin: 0;
  color: #fff7ee;
  background:
    radial-gradient(circle at 16% 0%, rgba(255, 164, 69, 0.16), transparent 22rem),
    radial-gradient(circle at 82% 14%, rgba(255, 177, 76, 0.2), transparent 26rem),
    linear-gradient(180deg, #100a04 0%, #1d1307 48%, #0f0a04 100%);
  font-family: "Manrope", "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
}

body.pricing-modal-open {
  overflow: hidden;
}

.pricing-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.2rem;
  min-height: 4.4rem;
  padding: 0 2rem;
  border-bottom: 1px solid rgba(225, 176, 121, 0.12);
  background: rgba(16, 10, 4, 0.82);
  backdrop-filter: blur(20px);
}

.pricing-brand,
.pricing-topbar nav,
.pricing-account {
  display: flex;
  align-items: center;
}

.pricing-brand {
  gap: 0.62rem;
  color: #fffaf5;
  text-decoration: none;
  font-weight: 600;
}

.pricing-brand span {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 0.7rem;
  color: #ffbc78;
  background: linear-gradient(135deg, rgba(255, 159, 61, 0.24), rgba(255, 183, 91, 0.22));
}

.pricing-brand em {
  border: 1px solid rgba(255, 183, 109, 0.22);
  border-radius: 999px;
  padding: 0.12rem 0.42rem;
  color: #ffbe7c;
  font-size: 0.68rem;
  font-style: normal;
}

.pricing-topbar nav {
  justify-content: center;
  gap: 1.6rem;
}

.pricing-topbar nav a,
.pricing-account {
  color: #c6b39f;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}

.pricing-topbar nav a.is-active,
.pricing-topbar nav a:hover,
.pricing-account:hover {
  color: #ffba74;
}

.pricing-account {
  justify-content: center;
  min-height: 2.35rem;
  border: 1px solid rgba(229, 175, 115, 0.18);
  border-radius: 999px;
  padding: 0 0.9rem;
  background: rgba(38, 25, 11, 0.64);
}

.pricing-main {
  width: min(1320px, calc(100% - 2.4rem));
  margin: 0 auto;
  padding: 1.35rem 0 4rem;
}

.pricing-promo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem;
  min-height: 6.4rem;
  border: 1px solid rgba(255, 180, 99, 0.22);
  border-radius: 0.9rem;
  padding: 1.05rem 1.45rem;
  background:
    linear-gradient(100deg, rgba(231, 147, 52, 0.42), rgba(42, 26, 8, 0.86)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 48px);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.35);
}

.pricing-promo span,
.pricing-kicker {
  color: #ffba74;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.pricing-promo h1 {
  margin: 0.35rem 0 0;
  color: #ffffff;
  font-size: clamp(1.28rem, 1.72vw, 1.82rem);
  line-height: 1.18;
  font-weight: 600;
}

.pricing-promo p {
  margin: 0.42rem 0 0;
  color: #d8c9b8;
  font-weight: 500;
}

.pricing-countdown {
  display: flex;
  gap: 0.75rem;
}

.pricing-countdown article {
  display: grid;
  width: 3.85rem;
  height: 4.25rem;
  place-items: center;
  border: 1px solid rgba(255, 205, 150, 0.14);
  border-radius: 0.7rem;
  background: rgba(36, 22, 7, 0.52);
}

.pricing-countdown strong {
  color: #ffffff;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 1.66rem;
  line-height: 1;
}

.pricing-countdown span {
  color: #f4e4d3;
  font-size: 0.75rem;
  letter-spacing: 0;
}

.pricing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18.5rem;
  gap: 1.45rem;
  align-items: end;
  margin: 1.55rem 0 1rem;
}

.pricing-hero h2 {
  margin: 0.3rem 0 0;
  color: #fffbf7;
  font-size: clamp(1.95rem, 3vw, 3rem);
  line-height: 1.12;
  letter-spacing: 0;
  font-weight: 600;
}

.pricing-hero p {
  max-width: 62rem;
  margin: 0.65rem 0 0;
  color: #d1c0ae;
  font-size: 0.96rem;
  font-weight: 400;
  line-height: 1.68;
}

.pricing-human-cost {
  border: 1px solid rgba(255, 172, 87, 0.38);
  border-radius: 1rem;
  padding: 0.95rem 1rem;
  background: linear-gradient(180deg, rgba(61, 38, 13, 0.92), rgba(31, 20, 8, 0.88));
}

.pricing-human-cost span,
.pricing-human-cost p,
.pricing-human-cost em {
  color: #bfa991;
  font-style: normal;
  font-weight: 500;
}

.pricing-human-cost p {
  margin: 0.75rem 0 0.2rem;
}

.pricing-human-cost strong {
  display: block;
  color: #ffffff;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 1.82rem;
  font-weight: 600;
}

.pricing-human-cost small {
  color: #cab9a7;
  font-size: 0.9rem;
}

.pricing-human-cost em {
  display: block;
  margin-top: 0.7rem;
  color: #ffb972;
  line-height: 1.5;
  font-weight: 600;
}

.pricing-billing-toggle {
  display: flex;
  width: min(26rem, 100%);
  margin: 1rem auto 1.15rem;
  border: 1px solid rgba(216, 170, 120, 0.16);
  border-radius: 999px;
  padding: 0.25rem;
  background: rgba(255, 255, 255, 0.06);
}

.pricing-billing-toggle button {
  flex: 1;
  min-height: 2.42rem;
  border: 0;
  border-radius: 999px;
  color: #d0c0ae;
  background: transparent;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.pricing-billing-toggle button:hover {
  color: #fff5ea;
}

.pricing-billing-toggle button.is-active {
  color: #1d1206;
  background: linear-gradient(135deg, #ffb66b, #ffb85f);
}

.pricing-billing-toggle span {
  display: inline-block;
  margin-left: 0.35rem;
  border-radius: 999px;
  padding: 0.08rem 0.35rem;
  color: #ffefdf;
  background: rgba(31, 18, 3, 0.3);
  font-size: 0.7rem;
}

.pricing-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
}

.pricing-plan-card {
  position: relative;
  overflow: hidden;
  display: flex;
  min-height: 31.5rem;
  flex-direction: column;
  border: 1px solid rgba(202, 157, 107, 0.18);
  border-radius: 1rem;
  padding: 1.2rem;
  background: linear-gradient(180deg, rgba(45, 33, 20, 0.92), rgba(25, 18, 11, 0.96));
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
}

.pricing-plan-card.is-recommended {
  border-color: rgba(255, 179, 101, 0.68);
  box-shadow: 0 0 0 1px rgba(255, 179, 101, 0.16), 0 26px 80px rgba(255, 160, 60, 0.16);
}

.pricing-plan-card.is-flagship {
  border-color: rgba(255, 178, 77, 0.78);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 176, 73, 0.22), transparent 14rem),
    linear-gradient(180deg, rgba(57, 39, 19, 0.95), rgba(29, 20, 10, 0.98));
  box-shadow: 0 0 0 1px rgba(255, 178, 77, 0.17), 0 26px 90px rgba(255, 178, 80, 0.18);
}

.pricing-plan-badge {
  position: absolute;
  top: 0;
  right: 0;
  border-radius: 0 1rem 0 0.7rem;
  padding: 0.45rem 0.8rem;
  color: #ffffff;
  background: linear-gradient(135deg, #ffa13a, #ffb556);
  font-size: 0.78rem;
  font-weight: 600;
}

.pricing-plan-card header {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.pricing-plan-card header span {
  color: #ffb870;
}

.pricing-plan-card h3 {
  margin: 0;
  color: #fffcf8;
  font-size: 1.26rem;
  font-weight: 600;
}

.pricing-plan-price {
  margin-top: 1rem;
}

.pricing-plan-price strong {
  color: #ffffff;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 1.95rem;
  line-height: 1;
  font-weight: 600;
}

.pricing-plan-price > span {
  color: #f5e8d9;
  font-weight: 500;
}

.pricing-plan-price p {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 0.48rem 0 0;
  color: #cabaa9;
  font-weight: 500;
}

.pricing-plan-price del {
  color: #988774;
}

.pricing-plan-tagline {
  min-height: 2.45rem;
  margin: 0.78rem 0;
  color: #c5b39f;
  font-weight: 400;
  line-height: 1.55;
}

.pricing-plan-quota {
  color: #e8d6c2;
  font-size: 0.94rem;
  font-weight: 500;
}

.pricing-plan-quota strong {
  color: #ffb86f;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 1.6rem;
  font-weight: 600;
}

.pricing-open-modal {
  width: 100%;
  min-height: 2.72rem;
  margin: 1.05rem 0 0.9rem;
  border: 1px solid rgba(232, 175, 112, 0.26);
  border-radius: 0.72rem;
  color: #fff7ef;
  background: rgba(49, 32, 14, 0.7);
  font-weight: 600;
  cursor: pointer;
}

.pricing-plan-card.is-recommended .pricing-open-modal,
.pricing-plan-card.is-flagship .pricing-open-modal {
  border: 0;
  color: #1d1206;
  background: linear-gradient(135deg, #ffb66b, #ffb658);
}

.pricing-plan-card ul {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pricing-plan-card li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  color: #dfd2c3;
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.5;
}

.pricing-plan-card li span {
  color: #ffc68c;
  font-size: 1rem;
  line-height: 1.4;
}

.pricing-compare,
.pricing-faq {
  margin-top: 1.2rem;
  border: 1px solid rgba(207, 159, 105, 0.16);
  border-radius: 1rem;
  padding: 1.15rem;
  background: rgba(32, 22, 10, 0.72);
}

.pricing-compare header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.pricing-compare h2,
.pricing-faq h2 {
  margin: 0;
  color: #fffaf5;
  font-size: 1.25rem;
  font-weight: 600;
}

.pricing-compare p {
  margin: 0;
  color: #baa691;
  font-weight: 500;
}

.pricing-table-wrap {
  overflow-x: auto;
}

.pricing-compare table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  color: #e5d7c7;
}

.pricing-compare th,
.pricing-compare td {
  border-bottom: 1px solid rgba(210, 167, 120, 0.12);
  padding: 0.85rem 0.75rem;
  text-align: left;
}

.pricing-compare thead th {
  color: #fffbf6;
  background: rgba(255, 255, 255, 0.04);
}

.pricing-faq {
  display: grid;
  gap: 0.65rem;
}

.pricing-faq details {
  border: 1px solid rgba(207, 159, 105, 0.13);
  border-radius: 0.72rem;
  padding: 0.95rem 1rem;
  background: rgba(24, 15, 5, 0.44);
}

.pricing-faq summary {
  cursor: pointer;
  color: #fffaf4;
  font-weight: 500;
}

.pricing-faq p {
  margin: 0.7rem 0 0;
  color: #c3b29f;
  line-height: 1.7;
}

.pricing-modal[hidden] {
  display: none;
}

.pricing-qr-lock[hidden],
.pricing-qr-box[hidden],
.pricing-qr-placeholder[hidden] {
  display: none !important;
}

.pricing-modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.pricing-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(12px);
}

.pricing-pay-card,
.pricing-agreement-card {
  position: relative;
  z-index: 1;
  width: min(28rem, 100%);
  border: 1px solid rgba(220, 171, 117, 0.18);
  border-radius: 1rem;
  padding: 1.25rem;
  color: #fff7ee;
  background: linear-gradient(180deg, rgba(49, 39, 28, 0.98), rgba(30, 23, 15, 0.99));
  box-shadow: 0 30px 110px rgba(0, 0, 0, 0.6);
}

.pricing-agreement-card {
  width: min(48rem, 100%);
  max-height: min(78vh, 48rem);
  overflow: hidden;
}

.pricing-modal-close {
  position: absolute;
  top: 0.8rem;
  right: 0.9rem;
  border: 0;
  color: #f7e8d7;
  background: transparent;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.pricing-pay-card h2,
.pricing-agreement-card h2 {
  margin: 0.3rem 2rem 1rem 0;
  color: #ffffff;
  font-size: 1.35rem;
}

.pricing-order-summary {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem 1rem;
  border: 1px solid rgba(217, 169, 116, 0.14);
  border-radius: 0.8rem;
  padding: 0.9rem;
  background: rgba(25, 17, 7, 0.48);
}

.pricing-order-summary span {
  color: #ad9983;
  font-weight: 500;
}

.pricing-order-summary strong {
  color: #fffaf4;
  text-align: right;
}

.pricing-agreement-check {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0.95rem 0;
  color: #d2c1ae;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.6;
}

.pricing-agreement-check input {
  margin-top: 0.35rem;
  accent-color: #ffb262;
}

.pricing-agreement-check button {
  border: 0;
  padding: 0;
  color: #ffbb75;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.pricing-qr-lock,
.pricing-qr-box {
  display: grid;
  place-items: center;
  min-height: 13rem;
  border: 1px dashed rgba(236, 184, 126, 0.25);
  border-radius: 0.9rem;
  background: rgba(25, 17, 7, 0.52);
  text-align: center;
}

.pricing-qr-lock p,
.pricing-qr-box p {
  margin: 0;
  color: #c3b29f;
  font-weight: 500;
  line-height: 1.6;
}

.pricing-qr-box {
  gap: 0.8rem;
  padding: 0.95rem;
}

.pricing-qr-box img {
  width: 12rem;
  max-width: 72vw;
  border-radius: 0.45rem;
  background: #ffffff;
}

.pricing-qr-placeholder {
  display: grid;
  width: 12rem;
  height: 12rem;
  place-items: center;
  border: 1px solid rgba(229, 172, 110, 0.25);
  border-radius: 0.45rem;
  padding: 1rem;
  background: linear-gradient(135deg, rgba(255, 177, 97, 0.14), rgba(255, 183, 91, 0.14));
}

.pricing-qr-placeholder strong {
  color: #ffffff;
}

.pricing-qr-placeholder span {
  color: #c3b29f;
  font-size: 0.78rem;
  line-height: 1.5;
}

.pricing-pay-card footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.9rem;
  color: #b6a38f;
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.5;
}

.pricing-pay-card footer a {
  color: #ffbb75;
  text-decoration: none;
}

.pricing-agreement-body {
  max-height: calc(min(78vh, 48rem) - 5rem);
  overflow: auto;
  padding-right: 0.5rem;
}

.pricing-agreement-body h3 {
  margin: 1rem 0 0.35rem;
  color: #fff5ea;
  font-size: 1rem;
}

.pricing-agreement-body p {
  margin: 0;
  color: #c9b8a6;
  line-height: 1.75;
}

@media (max-width: 1100px) {
  .pricing-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 760px) {
  .pricing-topbar {
    grid-template-columns: 1fr auto;
    padding: 0 1rem;
  }

  .pricing-topbar nav {
    display: none;
  }

  .pricing-main {
    width: min(100% - 1rem, 40rem);
    padding-top: 0.8rem;
  }

  .pricing-promo {
    grid-template-columns: 1fr;
    padding: 1rem;
  }

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

  .pricing-countdown article {
    width: auto;
  }

  .pricing-hero h2 {
    font-size: 2.2rem;
  }

  .pricing-card-grid {
    grid-template-columns: 1fr;
  }

  .pricing-plan-card {
    min-height: auto;
  }

  .pricing-compare header,
  .pricing-pay-card footer {
    display: grid;
  }
}

@media (max-width: 620px) {
  .roi-hero {
    grid-template-columns: 1fr;
  }

  .roi-hero-icon {
    width: 3.4rem;
    height: 3.4rem;
  }

  .roi-hero h1 {
    font-size: 2.25rem;
  }

  .roi-hero-actions {
    display: grid;
  }

  .roi-tabs,
  .roi-kpi-grid,
  .roi-input-grid,
  .calc-input-grid-2,
  .calc-input-grid-3 {
    grid-template-columns: 1fr;
  }

  .roi-decision-main h2 {
    font-size: 2.55rem;
  }

  .table-wrap-tight {
    overflow-x: auto;
  }

  .chart-wrap-compact {
    height: 14rem;
  }
}

/* ROI V4 refinement: topbar actions and tighter first viewport */
body.roi-console-page {
  max-width: 100%;
}

.roi-topbar {
  justify-content: space-between;
  height: 3.85rem;
  padding: 0 1.55rem;
}

.roi-topbar .roi-hero-actions {
  margin-left: auto;
}

.roi-topbar .roi-primary-action,
.roi-topbar .roi-secondary-action {
  min-height: 2.55rem;
  padding: 0 1.25rem;
}

.roi-page {
  width: min(calc(100vw - 2rem), 1880px);
}

.roi-hero {
  grid-template-columns: auto minmax(0, 1fr);
  min-height: 5.85rem;
  padding: 0.78rem 1.05rem;
}

.roi-hero-icon {
  width: 3.25rem;
  height: 3.25rem;
}

.roi-hero h1 {
  font-size: clamp(1.88rem, 2.7vw, 2.62rem);
}

.roi-hero p {
  margin-top: 0.42rem;
}

.roi-workbench {
  grid-template-columns: minmax(460px, 0.36fr) minmax(560px, 0.48fr) minmax(360px, 0.31fr);
}

.roi-scenario-block,
.roi-card-head,
.roi-derived-block {
  padding-left: 1rem;
  padding-right: 1rem;
}

.roi-section-title,
.roi-card-head strong,
.roi-small-title {
  margin-bottom: 0.7rem;
}

.roi-tabs {
  gap: 0.42rem;
}

.roi-tabs .calc-tab {
  grid-column: auto !important;
  width: auto !important;
  min-width: 0;
  min-height: 2.32rem;
  font-size: 0.8rem;
}

.roi-input-grid {
  gap: 0.58rem 0.72rem;
  padding: 0 1rem 0.86rem;
}

.roi-input-grid input,
.roi-single-input input,
.calc-input-grid input,
.wide-field input {
  min-height: 2.08rem;
  padding: 0.44rem 0.6rem;
}

.roi-derived-block .result-card {
  padding: 0.31rem 0;
}

.roi-decision-card {
  padding: 1.08rem 1.14rem 0.95rem;
}

.roi-decision-main h2 {
  font-size: clamp(2.48rem, 4vw, 4rem);
}

.roi-kpi {
  min-height: 6.55rem;
}

.roi-result-card,
.roi-formula-card {
  padding: 1.12rem 1.14rem;
}

.chart-wrap-compact {
  height: 16.6rem;
}

.roi-side-stack > .roi-trend-card,
.roi-side-stack > .roi-history-card {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

@media (max-width: 920px) {
  .roi-topbar {
    gap: 0.75rem;
  }

  .roi-topbar .roi-hero-actions {
    order: 3;
    width: 100%;
    margin-left: 0;
  }

  .roi-hero {
    grid-template-columns: auto minmax(0, 1fr);
  }
}

@media (max-width: 1320px) {
  .roi-workbench {
    grid-template-columns: minmax(300px, 0.35fr) minmax(0, 1fr);
  }

  .roi-side-stack {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.55fr);
  }
}

@media (max-width: 920px) {
  .roi-topbar {
    position: relative;
    grid-template-columns: minmax(0, 1fr) auto;
    height: auto;
    padding: 0.7rem 1rem;
  }

  .roi-topbar .roi-hero-actions {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.45rem;
    width: 100%;
  }

  .roi-topbar .roi-primary-action,
  .roi-topbar .roi-secondary-action {
    width: 100%;
  }

  .roi-page {
    width: min(100vw - 1rem, 100%);
  }

  .roi-hero,
  .roi-workbench,
  .roi-side-stack {
    grid-template-columns: 1fr;
  }

  .roi-main-stack,
  .roi-panels,
  .calc-panels,
  .calc-panel,
  .roi-result-layout,
  .roi-result-card,
  .roi-result-card > *,
  .wide-field,
  .wide-field input,
  #priceCompareMessage,
  .calc-alert,
  .table-toolbar {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .table-wrap-tight {
    max-width: 100%;
    overflow-x: auto;
  }

  #priceCompareTable {
    min-width: 500px;
  }

  .roi-params-card {
    position: static;
    max-height: none;
  }

.roi-kpi-grid,
.roi-input-grid {
    grid-template-columns: 1fr;
  }
}

body.boss-result-page .boss-metric-card {
  min-height: 146px;
  padding: 1.16rem 1.2rem;
}

body.boss-result-page .boss-metric-card > span {
  color: #ffeedc;
  font-size: 1rem;
  font-weight: 800;
}

body.boss-result-page .boss-metric-card strong {
  margin-top: 0.42rem;
  color: #ffffff;
  font-size: clamp(2.35rem, 2.55vw, 2.85rem);
  line-height: 1.02;
  letter-spacing: 0;
}

body.boss-result-page .boss-metric-card strong > span {
  display: inline;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

body.boss-result-page .boss-metric-card small {
  margin-top: 0.54rem;
  font-size: 0.86rem;
  line-height: 1.5;
}

body.boss-result-page .boss-metric-half {
  min-height: 136px;
}

@media (max-width: 1180px) {
  body.boss-result-page .boss-metric-card strong {
    font-size: clamp(2rem, 4.8vw, 2.55rem);
  }
}

@media (max-width: 640px) {
  body.boss-result-page .boss-metric-card {
    min-height: 126px;
    padding: 0.86rem;
  }

  body.boss-result-page .boss-metric-card > span {
    font-size: 0.8rem;
  }

  body.boss-result-page .boss-metric-card strong {
    margin-top: 0.34rem;
    font-size: clamp(1.48rem, 7.2vw, 1.86rem);
    line-height: 1.05;
  }

  body.boss-result-page .boss-metric-card small {
    margin-top: 0.38rem;
    font-size: 0.72rem;
  }

  body.boss-result-page .ai-guide {
    right: 0.48rem;
    bottom: calc(4.65rem + env(safe-area-inset-bottom));
  }

  body.boss-result-page .ai-guide-launcher {
    width: 3.45rem;
    height: 3.45rem;
    opacity: 0.78;
  }

  body.boss-result-page .ai-guide-launcher::before,
  body.boss-result-page .ai-guide-speech,
  body.boss-result-page .ai-guide-hologram i {
    display: none;
  }

  body.boss-result-page .ai-guide-panel {
    bottom: 4.1rem;
  }
}
