:root {
  color-scheme: dark;
  font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background: #020617;
  color: #e2e8f0;
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, color-mix(in srgb, var(--theme-primary) 28%, transparent), transparent 34%),
    radial-gradient(circle at top right, color-mix(in srgb, var(--theme-accent) 22%, transparent), transparent 28%),
    #020617;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.workspace-app {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  background: rgba(2, 6, 23, 0.74);
}

.workspace-side {
  padding: 24px 18px;
  border-right: 1px solid rgba(148, 163, 184, 0.18);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.88));
  backdrop-filter: blur(18px);
}

.brand-card,
.search-box,
.nav-group,
.workspace-top,
.view-header {
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(15, 23, 42, 0.72);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(2, 6, 23, 0.34);
}

.brand-card {
  padding: 18px;
}

.brand-card h1,
.workspace-top h2,
.view-header h2 {
  margin: 6px 0;
}

.brand-card p,
.workspace-top p,
.view-header p,
.eyebrow,
.search-box span,
.nav-group header span,
.nav-link small,
.top-meta span {
  color: #94a3b8;
}

.brand-kicker,
.eyebrow {
  margin: 0;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.search-box {
  display: block;
  margin-top: 16px;
  padding: 14px 16px;
}

.search-box span {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
}

.search-box input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(15, 23, 42, 0.86);
  color: #f8fafc;
}

.nav-groups {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nav-group {
  padding: 12px;
}

.nav-group header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.nav-group header strong {
  font-size: 13px;
}

.nav-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #e2e8f0;
  padding: 10px 12px;
  border-radius: 14px;
  transition: 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  background: color-mix(in srgb, var(--theme-primary) 18%, rgba(15, 23, 42, 0.4));
  color: #ffffff;
}

.workspace-main {
  padding: 24px;
}

.workspace-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 18px 20px;
}

.top-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.top-meta button,
.open-link {
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  background: linear-gradient(135deg, var(--theme-primary), var(--theme-accent));
  color: #fff;
  text-decoration: none;
}

.view-page {
  margin-top: 18px;
}

.view-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 18px 20px;
}

.view-header .description {
  margin: 0;
  max-width: 720px;
}

.prototype-frame {
  margin-top: 18px;
}

.device-shell,
.desktop-shell {
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 30px 80px rgba(2, 6, 23, 0.45);
  background: #0f172a;
}

.device-shell {
  width: 420px;
  margin: 0 auto;
  border-radius: 44px;
  padding: 16px 12px 14px;
  position: relative;
}

.device-notch {
  width: 140px;
  height: 34px;
  background: #020617;
  border-radius: 999px;
  margin: 0 auto 12px;
}

.desktop-shell {
  border-radius: 24px;
}

.desktop-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(15, 23, 42, 0.94);
}

.desktop-toolbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(248, 250, 252, 0.3);
}

.desktop-toolbar strong {
  margin-left: 8px;
  font-size: 13px;
  color: #cbd5e1;
}

.prototype-scroller {
  width: 100%;
  background: #fff;
  overflow: auto;
}

.prototype-frame.mobile .prototype-scroller {
  height: 852px;
}

.prototype-frame.desktop .prototype-scroller {
  height: 920px;
}

.prototype-root {
  min-height: 100%;
}

.prototype-state {
  display: grid;
  place-items: center;
  min-height: 280px;
  color: #334155;
  font-weight: 600;
}

.prototype-state.error {
  color: #b91c1c;
}

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

  .workspace-side {
    border-right: 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  }

  .workspace-top,
  .view-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

.workspace-side-panel {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.role-select {
  width: 100%;
  margin-top: 8px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(15, 23, 42, 0.86);
  color: #f8fafc;
  padding: 10px 12px;
}

.role-tip {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.5;
  color: #94a3b8;
}

.workspace-top-rich {
  align-items: flex-start;
}

.top-meta-rich {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.native-view {
  min-height: 100%;
  padding: 20px;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.98), rgba(241, 245, 249, 0.92));
  color: #0f172a;
}

.native-view.mobile-view {
  padding: 18px 16px 32px;
  background: linear-gradient(180deg, #f8fafc, #ecfeff);
}

.native-stack {
  display: grid;
  gap: 16px;
}

.native-grid {
  display: grid;
  gap: 16px;
}

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

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

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

.native-grid.compact,
.native-grid-3.compact {
  gap: 12px;
}

.native-card,
.native-soft-card,
.native-media-card,
.native-hero {
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.native-card,
.native-soft-card {
  padding: 18px;
}

.native-soft-card.accent,
.accent-card {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.14), rgba(59, 130, 246, 0.12));
}

.accent-card.deep {
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.92), rgba(59, 130, 246, 0.88));
  color: #f8fafc;
}

.native-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  padding: 24px;
}

.native-hero-mobile {
  min-height: 220px;
  color: #fff;
  background-size: cover;
  background-position: center;
}

.native-hero-desktop {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(15, 118, 110, 0.88));
  color: #f8fafc;
}

.native-hero-copy h3,
.native-card h3,
.native-media-content h3,
.native-line-item h4,
.native-product-body h4 {
  margin: 4px 0;
}

.native-eyebrow {
  margin: 0;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
}

.accent-card .native-eyebrow,
.native-hero-desktop .native-eyebrow,
.native-hero-mobile .native-eyebrow,
.accent-card .native-muted.light {
  color: rgba(255, 255, 255, 0.78);
}

.native-muted {
  margin: 0;
  color: #64748b;
  line-height: 1.6;
}

.native-inline-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
}

.native-inline-stats div,
.native-grid.compact > div,
.native-grid-3.compact > div {
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
}

.native-inline-stats strong,
.native-grid.compact strong,
.native-grid-3.compact strong,
.native-card h3,
.native-soft-card strong {
  display: block;
  font-size: 22px;
  font-weight: 700;
}

.native-inline-stats span,
.native-grid.compact span,
.native-grid-3.compact span,
.native-soft-card p,
.native-line-item p,
.native-product-body p,
.native-card p {
  margin: 0;
  font-size: 13px;
  color: #64748b;
}

.accent-card.deep .native-grid.compact span,
.accent-card.deep p {
  color: rgba(255, 255, 255, 0.78);
}

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

.native-link {
  color: var(--theme-primary);
  text-decoration: none;
  font-weight: 600;
}

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

.native-line-item,
.native-product-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(248, 250, 252, 0.92);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.native-product-row {
  align-items: stretch;
  cursor: pointer;
}

.native-product-row img,
.native-order-item img,
.native-banner-image {
  width: 88px;
  height: 88px;
  border-radius: 18px;
  object-fit: cover;
  flex-shrink: 0;
}

.native-banner-image {
  width: 100%;
  height: 220px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.native-product-body,
.native-media-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.native-product-meta,
.native-price-row,
.native-actions,
.native-table-like > div,
.native-section-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.native-actions {
  margin-top: 4px;
}

.native-primary-btn,
.native-secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  border: 0;
  font-weight: 700;
}

.native-primary-btn {
  color: #fff;
  background: linear-gradient(135deg, var(--theme-primary), var(--theme-accent));
}

.native-secondary-btn {
  color: #0f172a;
  background: rgba(226, 232, 240, 0.9);
}

.sticky-footer {
  position: sticky;
  bottom: 0;
  padding-bottom: 4px;
}

.native-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.native-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--theme-primary);
  background: rgba(20, 184, 166, 0.12);
}

.native-badge.accent,
.native-badge.review,
.native-badge.draft,
.native-badge.pendingPayment,
.native-badge.paid,
.native-badge.shipped,
.native-badge.待出库,
.native-badge.处理中 {
  color: #92400e;
  background: rgba(251, 191, 36, 0.18);
}

.native-badge.received,
.native-badge.on,
.native-badge.已签收,
.native-badge.已恢复 {
  color: #166534;
  background: rgba(34, 197, 94, 0.16);
}

.native-badge.review,
.native-badge.风险待审,
.native-badge.待仲裁 {
  color: #7c2d12;
  background: rgba(249, 115, 22, 0.18);
}

.native-media-card {
  overflow: hidden;
}

.native-media-content {
  padding: 18px;
}

.native-price-row strong {
  font-size: 30px;
}

.native-price-row span {
  color: #94a3b8;
  text-decoration: line-through;
}

.native-bullet-list {
  margin: 0;
  padding-left: 18px;
  color: #334155;
  line-height: 1.8;
}

.native-bullet-list li + li {
  margin-top: 8px;
}

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

.native-task-node {
  padding: 14px 12px;
  border-radius: 18px;
  border: 1px dashed rgba(148, 163, 184, 0.4);
  text-align: center;
}

.native-task-node.done {
  background: rgba(34, 197, 94, 0.12);
  border-style: solid;
}

.native-task-node.active {
  background: rgba(14, 165, 233, 0.12);
}

.native-task-node span {
  display: block;
  font-size: 20px;
  font-weight: 700;
}

.native-order-item {
  display: flex;
  gap: 16px;
  align-items: center;
}

.native-stepper {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(241, 245, 249, 0.9);
}

.native-stepper button,
.native-option,
.native-primary-btn,
.native-secondary-btn {
  cursor: pointer;
}

.native-stepper button {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 0;
  background: rgba(15, 23, 42, 0.1);
}

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

.native-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(248, 250, 252, 0.96);
}

.native-option span {
  color: #64748b;
  font-size: 12px;
}

.native-option.active {
  border-color: color-mix(in srgb, var(--theme-primary) 70%, white);
  background: color-mix(in srgb, var(--theme-primary) 9%, white);
}

.native-tab-pill {
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #475569;
  background: rgba(241, 245, 249, 0.96);
  border: 1px solid rgba(226, 232, 240, 0.96);
}

.native-tab-pill.active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--theme-primary), var(--theme-accent));
}

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

.native-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.native-empty-state {
  padding: 24px 18px;
  border-radius: 20px;
  text-align: center;
  background: rgba(248, 250, 252, 0.96);
  border: 1px dashed rgba(148, 163, 184, 0.42);
}

.native-progress {
  width: 100%;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(226, 232, 240, 0.9);
}

.native-progress__bar {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--theme-primary), var(--theme-accent));
}

.native-form-item {
  display: grid;
  gap: 8px;
}

.native-input,
.native-textarea {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(248, 250, 252, 0.96);
  color: #0f172a;
  font-size: 14px;
}

.native-input {
  min-height: 46px;
  padding: 0 14px;
}

.native-textarea {
  min-height: 120px;
  padding: 14px;
  line-height: 1.6;
  resize: vertical;
}

.native-table-like {
  display: grid;
  gap: 14px;
}

.native-table {
  width: 100%;
  border-collapse: collapse;
}

.native-table th,
.native-table td {
  padding: 14px 12px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  text-align: left;
  font-size: 14px;
}

.native-table th {
  color: #64748b;
  font-weight: 600;
}

.link-card {
  color: inherit;
  text-decoration: none;
}

.profile-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(236, 254, 255, 0.9));
}

@media (max-width: 1180px) {
  .native-grid-4,
  .native-grid-3,
  .native-grid-2,
  .native-task-track,
  .native-inline-stats {
    grid-template-columns: 1fr;
  }

  .native-hero,
  .native-section-head,
  .native-actions,
  .native-order-item,
  .native-line-item,
  .native-product-row,
  .native-table-like > div {
    flex-direction: column;
    align-items: flex-start;
  }

  .native-table {
    display: block;
    overflow-x: auto;
  }
}

.native-order-side {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.native-order-side strong {
  font-size: 18px;
}

.login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at top left, color-mix(in srgb, var(--theme-primary) 28%, transparent), transparent 32%),
    radial-gradient(circle at bottom right, color-mix(in srgb, var(--theme-accent) 20%, transparent), transparent 30%),
    #020617;
}

.login-card {
  width: min(100%, 420px);
  padding: 28px;
  border-radius: 28px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.88);
  box-shadow: 0 32px 80px rgba(2, 6, 23, 0.42);
}

.login-card.desktop-card {
  width: min(100%, 520px);
}

.login-card h1 {
  margin: 8px 0 12px;
}

.login-copy {
  margin: 0 0 20px;
  color: #94a3b8;
  line-height: 1.6;
}

.login-field {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.login-field span {
  font-size: 13px;
  color: #cbd5e1;
}

.login-field input,
.login-field select {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.94);
  color: #f8fafc;
}

.login-button {
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--theme-primary), var(--theme-accent));
  color: #fff;
  font-weight: 700;
}
/* Auto-generated from assets/styles.css. Do not edit manually. */
:root {
  --tea-primary: #0f766e;
  --tea-primary-dark: #0b5d56;
  --tea-secondary: #0e7490;
  --tea-accent: #f59e0b;
  --tea-bg: #eef2ff;
  --tea-text: #0f172a;
  --tea-muted: #64748b;
  --tea-card: rgba(255, 255, 255, 0.9);
  --tea-border: rgba(148, 163, 184, 0.24);
  --tea-shadow: 0 10px 30px rgba(2, 6, 23, 0.12);
  --tea-radius-lg: 18px;
  --tea-radius-md: 14px;
  --tea-motion-fast: 0.18s;
  --tea-motion-normal: 0.24s;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

.prototype-root,
.prototype-root {
  margin: 0;
  padding: 0;
}

.prototype-root.prototype-page {
  width: 393px;
  height: 852px;
  overflow: hidden;
  font-family: "SF Pro Display", "SF Pro Text", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  background: var(--tea-bg);
  color: var(--tea-text);
  letter-spacing: 0.01em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.prototype-root.prototype-page a,
.prototype-root.prototype-page button {
  transition: all var(--tea-motion-normal) ease;
}

.prototype-root.prototype-page button:active,
.prototype-root.prototype-page a:active {
  transform: scale(0.98);
}

.app-root {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: linear-gradient(180deg, #e0f2fe 0%, #f8fafc 26%, #eef2ff 100%);
}

.app-root.theme-commerce {
  --tea-primary: #0f766e;
  --tea-secondary: #0e7490;
  background: linear-gradient(180deg, #dff8f3 0%, #f8fafc 30%, #eaf5ff 100%);
}

.app-root.theme-growth {
  --tea-primary: #7c3aed;
  --tea-secondary: #2563eb;
  background: linear-gradient(180deg, #ede9fe 0%, #f8fafc 32%, #e0ecff 100%);
}

.app-root.theme-wallet {
  --tea-primary: #b45309;
  --tea-secondary: #d97706;
  background: linear-gradient(180deg, #fff7ed 0%, #f8fafc 34%, #fff1d6 100%);
}

.app-root.theme-content {
  --tea-primary: #0f766e;
  --tea-secondary: #0f766e;
  background: linear-gradient(180deg, #cffafe 0%, #f8fafc 34%, #e0f2fe 100%);
}

.app-root.theme-service {
  --tea-primary: #334155;
  --tea-secondary: #475569;
  background: linear-gradient(180deg, #f1f5f9 0%, #f8fafc 34%, #eef2ff 100%);
}

.app-root.theme-franchise {
  --tea-primary: #065f46;
  --tea-secondary: #0f766e;
  background: linear-gradient(180deg, #dcfce7 0%, #f8fafc 34%, #e0f2f1 100%);
}

.app-root.theme-governance {
  --tea-primary: #334155;
  --tea-secondary: #1d4ed8;
  background: linear-gradient(180deg, #e2e8f0 0%, #f8fafc 32%, #e6ecff 100%);
}

.app-root::before,
.app-root::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.app-root::before {
  width: 220px;
  height: 220px;
  top: -120px;
  right: -70px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 118, 110, 0.26) 0%, rgba(15, 118, 110, 0) 70%);
}

.app-root::after {
  width: 180px;
  height: 180px;
  bottom: 100px;
  left: -80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 116, 144, 0.18) 0%, rgba(14, 116, 144, 0) 70%);
}

.dynamic-island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 126px;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(135deg, #09090b, #18181b);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.14), 0 4px 8px rgba(0, 0, 0, 0.28);
  z-index: 40;
}

.ios-status-bar {
  position: relative;
  z-index: 30;
  height: 54px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 16px 18px 8px;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
}

.ios-nav {
  position: relative;
  z-index: 20;
  height: 46px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ios-nav h2,
.ios-nav h3,
.ios-nav p {
  text-wrap: balance;
}

.ios-nav button,
.ios-nav a {
  outline: none;
}

.ios-nav button:focus-visible,
.ios-nav a:focus-visible {
  box-shadow: 0 0 0 3px rgba(14, 116, 144, 0.2);
}

.screen-scroll {
  position: absolute;
  inset: 0;
  padding: 100px 14px 108px;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

.screen-scroll::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.glass-card {
  background: var(--tea-card);
  border: 1px solid var(--tea-border);
  box-shadow: var(--tea-shadow);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--tea-radius-lg);
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.section-title h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  position: relative;
  padding-left: 10px;
}

.section-title h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--tea-primary), var(--tea-secondary));
}

.section-title a {
  font-size: 12px;
  color: var(--tea-primary);
  text-decoration: none;
  font-weight: 700;
}

.section-title a:hover {
  opacity: 0.88;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ecfeff, #f0fdf4);
  color: #0f766e;
  border: 1px solid rgba(20, 184, 166, 0.2);
  font-size: 11px;
  font-weight: 700;
}

.price-tag {
  font-size: 16px;
  font-weight: 800;
  color: #dc2626;
}

.price-tag small {
  font-size: 12px;
  font-weight: 700;
}

.old-price {
  color: #94a3b8;
  text-decoration: line-through;
  font-size: 11px;
}

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  padding: 2px 7px;
  font-size: 10px;
  font-weight: 800;
  color: #9a3412;
  border: 1px solid rgba(251, 191, 36, 0.35);
  background: linear-gradient(135deg, #fef3c7, #fffbeb);
}

.product-card {
  position: relative;
  background: #fff;
  border-radius: var(--tea-radius-md);
  overflow: hidden;
  border: 1px solid #dbe4ef;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.1);
}

.product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--tea-radius-md);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.38);
  pointer-events: none;
}

.product-card img {
  width: 100%;
  height: 124px;
  object-fit: cover;
  display: block;
}

.product-card .meta {
  padding: 9px;
}

.cta-btn {
  border: none;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 5px 12px rgba(15, 23, 42, 0.12);
  position: relative;
  overflow: hidden;
}

.cta-primary {
  background: linear-gradient(135deg, var(--tea-primary), var(--tea-secondary));
  color: #fff;
}

.cta-primary:hover {
  filter: saturate(1.07);
}

.cta-primary::after {
  content: "";
  position: absolute;
  top: -120%;
  left: -35%;
  width: 35%;
  height: 320%;
  transform: rotate(18deg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0));
  animation: sheen 3.8s ease-in-out infinite;
}

.cta-ghost {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #dbe3ef;
  box-shadow: none;
}

.cta-ghost:hover {
  background: #e8eef5;
}

.prototype-root.prototype-page button:focus-visible,
.prototype-root.prototype-page a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(14, 116, 144, 0.22);
}

.ios-tabbar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 35;
  height: 86px;
  padding: 8px 18px 28px;
  display: flex;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: 0 -10px 24px rgba(15, 23, 42, 0.08);
}

.tab-item {
  width: 20%;
  text-align: center;
  text-decoration: none;
  color: #64748b;
  font-size: 10px;
  font-weight: 700;
}

.tab-item i {
  display: block;
  font-size: 18px;
  margin-bottom: 4px;
}

.tab-item.active {
  color: var(--tea-primary);
}

.tab-item.active i {
  text-shadow: 0 0 10px rgba(15, 118, 110, 0.28);
}

.bottom-action {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 34;
  height: 96px;
  border-top: 1px solid #e2e8f0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 10px 12px 30px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.index-shell {
  width: 393px;
  height: 852px;
  border-radius: 54px;
  padding: 10px;
  background: linear-gradient(145deg, #0f172a, #111827 62%, #1f2937);
  box-shadow: 0 30px 80px rgba(2, 6, 23, 0.42), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.index-screen {
  width: 100%;
  height: 100%;
  border-radius: 44px;
  overflow: hidden;
  background: #000;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.index-screen iframe {
  border: 0;
  width: 100%;
  height: 100%;
  display: block;
  background: #fff;
}

@keyframes sheen {
  0% {
    left: -45%;
  }
  42%,
  100% {
    left: 135%;
  }
}

.prototype-root.prototype-page img {
  image-rendering: auto;
}

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

.kpi-item {
  border-radius: 12px;
  padding: 8px;
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #dfe8f3;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.kpi-item strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
}

.kpi-item span {
  display: block;
  font-size: 10px;
  color: #64748b;
  margin-top: 2px;
}

.timeline {
  position: relative;
  padding-left: 16px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  bottom: 2px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, #99f6e4, #7dd3fc 70%, #dbeafe);
}

.timeline-item {
  position: relative;
  margin-bottom: 10px;
  padding-left: 6px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--tea-primary), #06b6d4);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.12);
}

.timeline-item p {
  margin: 0;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 800;
}

.status-pill.pending {
  color: #92400e;
  border: 1px solid rgba(217, 119, 6, 0.3);
  background: linear-gradient(135deg, #fef3c7, #fff7ed);
}

.status-pill.success {
  color: #166534;
  border: 1px solid rgba(34, 197, 94, 0.25);
  background: linear-gradient(135deg, #dcfce7, #ecfdf5);
}

.status-pill.locked {
  color: #334155;
  border: 1px solid rgba(100, 116, 139, 0.2);
  background: linear-gradient(135deg, #e2e8f0, #f8fafc);
}

.metric-card {
  border-radius: 14px;
  border: 1px solid #dde6f1;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
  padding: 10px;
}

.metric-card p {
  margin: 0;
}

.metric-card .label {
  font-size: 11px;
  color: #64748b;
}

.metric-card .value {
  margin-top: 4px;
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
}

.chat-area {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chat-bubble {
  max-width: 78%;
  border-radius: 14px;
  padding: 8px 10px;
  font-size: 12px;
  line-height: 1.5;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.chat-bubble.left {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #334155;
  align-self: flex-start;
}

.chat-bubble.right {
  background: linear-gradient(135deg, #0f766e, #0e7490);
  color: #ffffff;
  align-self: flex-end;
}

.segmented {
  display: inline-flex;
  border-radius: 12px;
  background: #e2e8f0;
  padding: 2px;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.7);
}

.segmented button {
  border: none;
  border-radius: 10px;
  background: transparent;
  padding: 6px 12px;
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
}

.segmented button.active {
  background: #ffffff;
  color: #0f766e;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
}

.trace-card {
  border-radius: 14px;
  border: 1px solid #d7e0eb;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  padding: 10px;
  box-shadow: 0 7px 16px rgba(15, 23, 42, 0.06);
}

.trace-card .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  margin-bottom: 6px;
}

.trace-card .row:last-child {
  margin-bottom: 0;
}

.trace-card .row span:first-child {
  color: #64748b;
}

.trace-card .row span:last-child {
  color: #0f172a;
  font-weight: 700;
}

@media (max-width: 1280px) {
  .index-shell {
    transform: scale(0.92);
    transform-origin: top center;
  }
}

/* ---- Page-by-page couture polish ---- */

.prototype-root.page-home .screen-scroll > section:nth-child(2),
.prototype-root.page-campaign-center .screen-scroll > section:first-child,
.prototype-root.page-franchise-center .screen-scroll > section:first-child {
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.2);
}

.prototype-root.page-home .screen-scroll > section:nth-child(2) img,
.prototype-root.page-product-detail .screen-scroll > section:first-child img,
.prototype-root.page-franchise-center .screen-scroll > section:first-child img {
  filter: saturate(1.08) contrast(1.03);
}

.prototype-root.page-product-detail .ios-nav button {
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(6px);
}

.prototype-root.page-product-list .product-card,
.prototype-root.page-category .product-card,
.prototype-root.page-search .product-card {
  border-color: #d3deea;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.prototype-root.page-checkout .glass-card,
.prototype-root.page-order-detail .glass-card,
.prototype-root.page-orders .glass-card,
.prototype-root.page-logistics .glass-card {
  border-color: rgba(56, 189, 248, 0.24);
}

.prototype-root.page-referral-center .rounded-2xl.bg-gradient-to-r,
.prototype-root.page-referral-binding .rounded-2xl.bg-gradient-to-r,
.prototype-root.page-team-insights .glass-card:first-child {
  box-shadow: 0 14px 30px rgba(76, 29, 149, 0.25);
}

.prototype-root.page-referral-center .metric-card,
.prototype-root.page-referral-binding .metric-card,
.prototype-root.page-reward-ledger .metric-card {
  border: 1px solid rgba(129, 140, 248, 0.25);
}

.prototype-root.page-voucher-wallet .rounded-2xl.bg-gradient-to-r,
.prototype-root.page-withdrawal .rounded-2xl.bg-gradient-to-r {
  box-shadow: 0 14px 28px rgba(180, 83, 9, 0.26);
}

.prototype-root.page-tea-classroom .screen-scroll > section:first-child,
.prototype-root.page-traceability .screen-scroll > section:first-child {
  box-shadow: 0 12px 26px rgba(14, 116, 144, 0.22);
}

.prototype-root.page-customer-service .chat-bubble.left {
  border-color: #d6e2ef;
}

.prototype-root.page-customer-service .chat-bubble.right {
  box-shadow: 0 10px 18px rgba(15, 118, 110, 0.28);
}

.prototype-root.page-store-locator .screen-scroll > section:first-child,
.prototype-root.page-local-service .glass-card:first-child,
.prototype-root.page-partner-workbench .rounded-2xl.bg-gradient-to-r {
  box-shadow: 0 14px 28px rgba(6, 95, 70, 0.24);
}

.prototype-root.page-order-routing .trace-card,
.prototype-root.page-compliance-rules .glass-card,
.prototype-root.page-referral-binding .glass-card {
  border-color: rgba(148, 163, 184, 0.38);
}

.prototype-root.page-franchise-apply .glass-card,
.prototype-root.page-address-book .rounded-2xl,
.prototype-root.page-profile .glass-card {
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.1);
}

.prototype-root[class*="page-"] .ios-tabbar {
  border-top-color: rgba(148, 163, 184, 0.34);
}

.prototype-root.page-home .ios-tabbar,
.prototype-root.page-category .ios-tabbar,
.prototype-root.page-product-list .ios-tabbar,
.prototype-root.page-product-detail .ios-tabbar,
.prototype-root.page-cart .ios-tabbar,
.prototype-root.page-checkout .ios-tabbar,
.prototype-root.page-order-detail .ios-tabbar,
.prototype-root.page-orders .ios-tabbar,
.prototype-root.page-logistics .ios-tabbar {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(241, 245, 249, 0.98));
}

.prototype-root.page-referral-center .ios-tabbar,
.prototype-root.page-campaign-center .ios-tabbar,
.prototype-root.page-invite-poster .ios-tabbar,
.prototype-root.page-team-insights .ios-tabbar,
.prototype-root.page-referral-binding .ios-tabbar {
  background: linear-gradient(180deg, rgba(245, 243, 255, 0.95), rgba(236, 233, 254, 0.98));
}

.prototype-root.page-franchise-center .ios-tabbar,
.prototype-root.page-franchise-apply .ios-tabbar,
.prototype-root.page-store-locator .ios-tabbar,
.prototype-root.page-local-service .ios-tabbar,
.prototype-root.page-order-routing .ios-tabbar,
.prototype-root.page-partner-workbench .ios-tabbar {
  background: linear-gradient(180deg, rgba(236, 253, 245, 0.95), rgba(220, 252, 231, 0.98));
}

.prototype-root.page-index {
  background: radial-gradient(circle at 10% -20%, #1e293b 0%, #0f172a 48%, #020617 100%);
}

.prototype-root.page-index .rounded-3xl {
  box-shadow: 0 20px 44px rgba(2, 6, 23, 0.34);
}

.prototype-root.page-index .index-shell {
  border: 1px solid rgba(148, 163, 184, 0.38);
}

.prototype-root.page-index article p {
  letter-spacing: 0.01em;
}

.prototype-root.page-home .screen-scroll > section:nth-child(6),
.prototype-root.page-referral-center .screen-scroll > section:nth-child(2),
.prototype-root.page-franchise-center .screen-scroll > section:nth-child(2) {
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.92));
}

.prototype-root.page-product-detail .screen-scroll > section:nth-child(2),
.prototype-root.page-checkout .screen-scroll > section:nth-child(4),
.prototype-root.page-order-detail .screen-scroll > section:nth-child(4) {
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.12);
}

.prototype-root.page-search .chip,
.prototype-root.page-category .chip,
.prototype-root.page-store-locator .chip {
  border-color: rgba(14, 116, 144, 0.22);
}

.prototype-root.page-voucher-wallet .cta-primary,
.prototype-root.page-withdrawal .cta-primary {
  box-shadow: 0 8px 18px rgba(180, 83, 9, 0.28);
}

/* ---- v5 premium sweep ---- */

.app-root {
  background:
    radial-gradient(circle at 110% -10%, rgba(14, 165, 233, 0.24) 0%, rgba(14, 165, 233, 0) 52%),
    radial-gradient(circle at -10% 110%, rgba(16, 185, 129, 0.18) 0%, rgba(16, 185, 129, 0) 48%),
    linear-gradient(180deg, #eaf6ff 0%, #f8fafc 34%, #ecf3ff 100%);
}

.app-root::before {
  opacity: 0.9;
}

.app-root::after {
  opacity: 0.72;
}

.app-root .ios-nav {
  margin: 0 10px;
  padding: 0 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.prototype-root.page-product-detail .ios-nav {
  margin: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.screen-scroll {
  padding: 108px 14px 110px;
}

.screen-scroll > section,
.screen-scroll > article,
.screen-scroll > a {
  position: relative;
}

.glass-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.84));
  border-color: rgba(148, 163, 184, 0.26);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.glass-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0.06) 100%);
  mix-blend-mode: screen;
}

.dynamic-island::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0));
}

.kpi-item,
.metric-card,
.product-card,
.trace-card {
  border-color: rgba(148, 163, 184, 0.24);
}

.metric-card .value,
.kpi-item strong {
  font-variant-numeric: tabular-nums;
}

.section-title h3 {
  font-size: 15px;
  letter-spacing: 0.01em;
}

.section-title h3::before {
  height: 15px;
}

.screen-scroll img {
  will-change: transform;
}

.screen-scroll img:hover {
  transform: translateY(-1px);
}

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

.hero-metric {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.08));
  padding: 8px 6px;
  text-align: center;
}

.hero-metric p {
  margin: 0;
}

.hero-metric .label {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.78);
}

.hero-metric .value {
  margin-top: 3px;
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
}

.soft-list-item {
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 7px 16px rgba(15, 23, 42, 0.08);
}

.promo-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(14, 165, 233, 0.25);
  background: linear-gradient(135deg, #ecfeff, #f0f9ff);
  font-size: 10px;
  font-weight: 700;
  color: #0e7490;
}

.premium-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(148, 163, 184, 0), rgba(148, 163, 184, 0.45), rgba(148, 163, 184, 0));
}

.bottom-action,
.prototype-root.page-product-detail .absolute.left-0.right-0.bottom-\[86px\] {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(248, 250, 252, 0.98));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.prototype-root.page-home .kpi-item,
.prototype-root.page-product-list .kpi-item,
.prototype-root.page-category .kpi-item,
.prototype-root.page-cart .kpi-item,
.prototype-root.page-checkout .kpi-item,
.prototype-root.page-orders .kpi-item,
.prototype-root.page-order-detail .kpi-item,
.prototype-root.page-logistics .kpi-item {
  background: linear-gradient(180deg, #ffffff 0%, #f0fdfa 100%);
}

.prototype-root.page-referral-center .kpi-item,
.prototype-root.page-campaign-center .kpi-item,
.prototype-root.page-invite-poster .kpi-item,
.prototype-root.page-team-insights .kpi-item,
.prototype-root.page-referral-binding .kpi-item {
  background: linear-gradient(180deg, #ffffff 0%, #f5f3ff 100%);
}

.prototype-root.page-voucher-wallet .kpi-item,
.prototype-root.page-withdrawal .kpi-item,
.prototype-root.page-reward-ledger .kpi-item {
  background: linear-gradient(180deg, #ffffff 0%, #fffbeb 100%);
}

.prototype-root.page-tea-classroom .kpi-item,
.prototype-root.page-traceability .kpi-item,
.prototype-root.page-profile .kpi-item,
.prototype-root.page-address-book .kpi-item,
.prototype-root.page-customer-service .kpi-item {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.prototype-root.page-franchise-center .kpi-item,
.prototype-root.page-franchise-apply .kpi-item,
.prototype-root.page-store-locator .kpi-item,
.prototype-root.page-local-service .kpi-item,
.prototype-root.page-order-routing .kpi-item,
.prototype-root.page-partner-workbench .kpi-item {
  background: linear-gradient(180deg, #ffffff 0%, #ecfdf5 100%);
}

.prototype-root.page-home .screen-scroll > section,
.prototype-root.page-category .screen-scroll > section,
.prototype-root.page-search .screen-scroll > section,
.prototype-root.page-product-list .screen-scroll > section,
.prototype-root.page-product-detail .screen-scroll > section,
.prototype-root.page-cart .screen-scroll > section,
.prototype-root.page-checkout .screen-scroll > section,
.prototype-root.page-orders .screen-scroll > section,
.prototype-root.page-order-detail .screen-scroll > section,
.prototype-root.page-logistics .screen-scroll > section,
.prototype-root.page-referral-center .screen-scroll > section,
.prototype-root.page-campaign-center .screen-scroll > section,
.prototype-root.page-invite-poster .screen-scroll > section,
.prototype-root.page-team-insights .screen-scroll > section,
.prototype-root.page-referral-binding .screen-scroll > section,
.prototype-root.page-compliance-rules .screen-scroll > section,
.prototype-root.page-reward-ledger .screen-scroll > section,
.prototype-root.page-voucher-wallet .screen-scroll > section,
.prototype-root.page-withdrawal .screen-scroll > section,
.prototype-root.page-tea-classroom .screen-scroll > section,
.prototype-root.page-traceability .screen-scroll > section,
.prototype-root.page-profile .screen-scroll > section,
.prototype-root.page-address-book .screen-scroll > section,
.prototype-root.page-customer-service .screen-scroll > section,
.prototype-root.page-franchise-center .screen-scroll > section,
.prototype-root.page-franchise-apply .screen-scroll > section,
.prototype-root.page-store-locator .screen-scroll > section,
.prototype-root.page-local-service .screen-scroll > section,
.prototype-root.page-order-routing .screen-scroll > section,
.prototype-root.page-partner-workbench .screen-scroll > section {
  transform: translateZ(0);
}

.prototype-root.page-index .rounded-3xl {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.78), rgba(2, 6, 23, 0.8));
  border-color: rgba(148, 163, 184, 0.24);
}

.prototype-root.page-index .index-shell {
  position: relative;
}

.prototype-root.page-index .index-shell::before {
  content: "";
  position: absolute;
  top: 104px;
  left: -3px;
  width: 3px;
  height: 44px;
  border-radius: 999px;
  background: linear-gradient(180deg, #1e293b, #0f172a);
}

.prototype-root.page-index .index-shell::after {
  content: "";
  position: absolute;
  top: 174px;
  right: -3px;
  width: 3px;
  height: 70px;
  border-radius: 999px;
  background: linear-gradient(180deg, #1e293b, #0f172a);
}

/* ---- v5.1 per-page refinement sweep ---- */

.prototype-root.page-category aside {
  border-right: 1px solid rgba(148, 163, 184, 0.24);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(248, 250, 252, 0.78));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.prototype-root.page-category aside button {
  border-left: 2px solid transparent;
  font-weight: 600;
  transition: all 0.2s ease;
}

.prototype-root.page-category aside button:hover {
  background: rgba(15, 118, 110, 0.08);
  color: #0f766e;
}

.prototype-root.page-category .grid.grid-cols-3 > div,
.prototype-root.page-category .space-y-2 > article {
  box-shadow: 0 7px 16px rgba(15, 23, 42, 0.07);
}

.prototype-root.page-search .ios-nav .flex-1 {
  border-color: rgba(16, 185, 129, 0.35);
  background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.prototype-root.page-search .grid.grid-cols-2 > div,
.prototype-root.page-search .space-y-2 > article {
  box-shadow: 0 7px 14px rgba(15, 23, 42, 0.06);
}

.prototype-root.page-search .space-y-2 > article:hover {
  transform: translateY(-1px);
}

.prototype-root.page-product-list .glass-card .chip {
  border-color: rgba(15, 118, 110, 0.2);
  background: linear-gradient(135deg, #ffffff, #f8fafc);
}

.prototype-root.page-product-list .grid.grid-cols-2 {
  gap: 10px;
}

.prototype-root.page-product-list .product-card .meta {
  padding: 10px;
}

.prototype-root.page-cart .space-y-2 > article {
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.prototype-root.page-cart .space-y-2 > article .rounded-lg {
  background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.prototype-root.page-cart .space-y-2 > article .rounded-lg button {
  color: #0f766e;
  font-weight: 700;
}

.prototype-root.page-checkout .rounded-2xl.border.bg-white,
.prototype-root.page-checkout .glass-card,
.prototype-root.page-order-detail .rounded-2xl.border.bg-white,
.prototype-root.page-order-detail .glass-card,
.prototype-root.page-logistics .rounded-2xl.border.bg-white,
.prototype-root.page-logistics .glass-card {
  box-shadow: 0 9px 20px rgba(15, 23, 42, 0.08);
}

.prototype-root.page-checkout .glass-card:first-child {
  border-color: rgba(16, 185, 129, 0.3);
}

.prototype-root.page-orders .glass-card .grid.grid-cols-5 button {
  border-radius: 10px;
  font-weight: 700;
}

.prototype-root.page-orders .space-y-2 > article {
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.prototype-root.page-order-detail .rounded-2xl.bg-gradient-to-r,
.prototype-root.page-logistics .glass-card:first-child {
  box-shadow: 0 13px 28px rgba(5, 150, 105, 0.24);
}

.prototype-root.page-logistics .timeline-item:first-child p:first-child {
  color: #0f766e;
}

.prototype-root.page-campaign-center .space-y-2 > article {
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.prototype-root.page-invite-poster .rounded-3xl {
  box-shadow: 0 16px 34px rgba(30, 64, 175, 0.2);
}

.prototype-root.page-invite-poster .rounded-2xl.bg-slate-50 {
  border-color: rgba(99, 102, 241, 0.25);
  background: linear-gradient(180deg, #f8fafc, #eef2ff);
}

.prototype-root.page-team-insights .space-y-2 > div,
.prototype-root.page-team-insights .space-y-2 > article {
  box-shadow: 0 7px 14px rgba(15, 23, 42, 0.07);
}

.prototype-root.page-referral-binding .rounded-2xl.bg-gradient-to-r {
  box-shadow: 0 14px 30px rgba(5, 150, 105, 0.26);
}

.prototype-root.page-referral-binding .segmented {
  width: 100%;
  justify-content: space-between;
}

.prototype-root.page-referral-binding .segmented button {
  flex: 1;
}

.prototype-root.page-reward-ledger .space-y-2 > article {
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.07);
}

.prototype-root.page-reward-ledger .kpi-item strong {
  color: #92400e;
}

.prototype-root.page-voucher-wallet .rounded-2xl.bg-gradient-to-r,
.prototype-root.page-withdrawal .rounded-2xl.bg-gradient-to-r {
  box-shadow: 0 14px 30px rgba(146, 64, 14, 0.26);
}

.prototype-root.page-voucher-wallet .space-y-2 > article,
.prototype-root.page-withdrawal .rounded-2xl.border.bg-white,
.prototype-root.page-withdrawal .glass-card {
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.07);
}

.prototype-root.page-tea-classroom .space-y-2 > article {
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.11);
}

.prototype-root.page-tea-classroom .space-y-2 > article img,
.prototype-root.page-traceability .rounded-2xl.border img {
  filter: saturate(1.05) contrast(1.03);
}

.prototype-root.page-traceability .trace-card {
  box-shadow: 0 10px 22px rgba(2, 132, 199, 0.14);
}

.prototype-root.page-address-book article {
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.07);
}

.prototype-root.page-address-book article .text-slate-500 button {
  color: #475569;
  font-weight: 600;
}

.prototype-root.page-customer-service .screen-scroll {
  background:
    radial-gradient(circle at 20% 0%, rgba(14, 165, 233, 0.08), rgba(14, 165, 233, 0) 50%),
    linear-gradient(180deg, rgba(248, 250, 252, 0.6), rgba(241, 245, 249, 0.4));
}

.prototype-root.page-customer-service .chat-bubble {
  border-radius: 16px;
}

.prototype-root.page-franchise-apply .glass-card .border-dashed {
  border-color: rgba(16, 185, 129, 0.35);
  background: linear-gradient(180deg, #ffffff, #f0fdf4);
}

.prototype-root.page-store-locator .rounded-2xl.overflow-hidden.border.bg-white,
.prototype-root.page-local-service .glass-card:first-child {
  box-shadow: 0 12px 26px rgba(5, 150, 105, 0.2);
}

.prototype-root.page-store-locator .space-y-2 > article,
.prototype-root.page-local-service .glass-card,
.prototype-root.page-order-routing .glass-card,
.prototype-root.page-partner-workbench .glass-card {
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.prototype-root.page-order-routing .trace-card {
  border-color: rgba(16, 185, 129, 0.28);
}

.prototype-root.page-partner-workbench .rounded-2xl.bg-gradient-to-r {
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.24);
}

.prototype-root.page-partner-workbench .space-y-2 > div {
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.06);
}

.prototype-root.page-compliance-rules .rounded-2xl.bg-gradient-to-r {
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.28);
}

.prototype-root.page-compliance-rules .glass-card {
  border-color: rgba(100, 116, 139, 0.32);
}

@media (prefers-reduced-motion: reduce) {
  .prototype-root.prototype-page * {
    animation: none !important;
    transition: none !important;
  }
}

