/* Hallmark · macrostructure: Glass Console Landing · tone: minimal technology · anchor hue: blue-violet */
:root {
  --tp-bg: #0a0a0f;
  --tp-bg-soft: #11111a;
  --tp-panel: rgba(255, 255, 255, 0.075);
  --tp-panel-strong: rgba(255, 255, 255, 0.11);
  --tp-border: rgba(255, 255, 255, 0.14);
  --tp-border-hot: rgba(79, 140, 247, 0.52);
  --tp-text: rgba(255, 255, 255, 0.86);
  --tp-text-hot: rgba(255, 255, 255, 0.98);
  --tp-muted: rgba(255, 255, 255, 0.54);
  --tp-muted-hot: rgba(255, 255, 255, 0.76);
  --tp-faint: rgba(255, 255, 255, 0.34);
  --tp-blue: #4f8cf7;
  --tp-violet: #a78bfa;
  --tp-cyan: #50e3ff;
  --tp-success: #6ee7b7;
  --tp-warning: #facc15;
  --tp-danger: #fb7185;
  --tp-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  --tp-glow-blue: 0 0 0 1px rgba(79, 140, 247, 0.18), 0 0 42px rgba(79, 140, 247, 0.20);
  --tp-glow-violet: 0 0 0 1px rgba(167, 139, 250, 0.18), 0 0 42px rgba(167, 139, 250, 0.18);
  --tp-radius-sm: 10px;
  --tp-radius-md: 16px;
  --tp-radius-lg: 24px;
  --tp-radius-xl: 32px;
  --tp-space-xs: 8px;
  --tp-space-sm: 12px;
  --tp-space-md: 20px;
  --tp-space-lg: 32px;
  --tp-space-xl: 56px;
  --tp-space-2xl: 92px;
  --tp-font: Inter, "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --tp-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --tp-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --tp-ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --tp-dur-fast: 180ms;
  --tp-dur-med: 420ms;
  --tp-dur-slow: 780ms;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  overflow-x: clip;
  background: var(--tp-bg);
  color: var(--tp-text);
  font-family: var(--tp-font);
  letter-spacing: 0;
}

body {
  background:
    radial-gradient(circle at 18% 8%, rgba(79, 140, 247, 0.22), transparent 31vw),
    radial-gradient(circle at 82% 12%, rgba(167, 139, 250, 0.22), transparent 28vw),
    linear-gradient(180deg, #0a0a0f 0%, #0c0c13 52%, #09090d 100%);
}

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

button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}

.tp-page {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
}

.tp-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.032) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.9), transparent 78%);
}

.tp-page::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(10,10,15,0.16), rgba(10,10,15,0.88));
}

.tp-container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.tp-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(10, 10, 15, 0.72);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.tp-nav-inner {
  width: min(1180px, calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--tp-space-md);
}

.tp-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 760;
  color: var(--tp-text);
  white-space: nowrap;
}

.tp-brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--tp-blue), var(--tp-violet));
  box-shadow: 0 0 30px rgba(79, 140, 247, 0.38);
}

.tp-brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tp-nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--tp-muted);
  font-size: 14px;
}

.tp-nav-links a {
  transition: color var(--tp-dur-fast) var(--tp-ease-out), transform var(--tp-dur-fast) var(--tp-ease-out);
}

.tp-nav-links a:hover {
  color: var(--tp-text-hot);
  transform: translateY(-1px);
}

.tp-hero {
  padding: clamp(72px, 9vw, 128px) 0 var(--tp-space-2xl);
}

.tp-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.93fr) minmax(360px, 1fr);
  align-items: center;
  gap: clamp(36px, 6vw, 76px);
}

.tp-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(79, 140, 247, 0.32);
  border-radius: 999px;
  background: rgba(79, 140, 247, 0.10);
  color: rgba(255, 255, 255, 0.80);
  font: 700 13px/1 var(--tp-mono);
  box-shadow: 0 0 28px rgba(79, 140, 247, 0.16);
}

.tp-kicker-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--tp-success);
  box-shadow: 0 0 18px rgba(110, 231, 183, 0.72);
}

.tp-hero-title {
  margin: 24px 0 0;
  max-width: 760px;
  font-size: clamp(48px, 7vw, 92px);
  line-height: 0.96;
  font-weight: 820;
  letter-spacing: 0;
  font-style: normal;
  overflow-wrap: anywhere;
  color: #ffffff;
  text-shadow: 0 0 28px rgba(79, 140, 247, 0.20);
}

.tp-home-hero-title {
  max-width: 680px;
  font-size: clamp(38px, 5.3vw, 68px);
  line-height: 1.04;
}

.tp-gradient-text {
  background: linear-gradient(115deg, var(--tp-blue), var(--tp-violet) 58%, rgba(255,255,255,0.92));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tp-hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--tp-muted);
  font-size: clamp(16px, 1.6vw, 19px);
}

.tp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.tp-btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  overflow: hidden;
  color: var(--tp-text);
  font-weight: 760;
  font-size: 14px;
  white-space: nowrap;
  will-change: transform;
  transition:
    transform var(--tp-dur-fast) var(--tp-ease-out),
    border-color var(--tp-dur-fast) var(--tp-ease-out),
    box-shadow var(--tp-dur-fast) var(--tp-ease-out),
    background var(--tp-dur-fast) var(--tp-ease-out);
}

.tp-btn::after {
  content: "";
  position: absolute;
  inset: -40% -110%;
  z-index: -1;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,0.48) 50%, transparent 65%);
  transform: translateX(-58%);
  opacity: 0;
}

.tp-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(79, 140, 247, 0.46);
  box-shadow: var(--tp-glow-blue);
}

.tp-btn:hover::after {
  opacity: 1;
  animation: tp-shimmer 900ms var(--tp-ease-out);
}

.tp-btn:focus-visible {
  outline: 3px solid rgba(79, 140, 247, 0.72);
  outline-offset: 3px;
}

.tp-btn:active {
  transform: translateY(0);
}

.tp-btn-primary {
  border-color: rgba(79, 140, 247, 0.45);
  background: linear-gradient(135deg, rgba(79, 140, 247, 0.95), rgba(167, 139, 250, 0.92));
  box-shadow: 0 16px 42px rgba(79, 140, 247, 0.28);
}

.tp-btn-ghost {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
}

.tp-glass {
  position: relative;
  border: 1px solid var(--tp-border);
  border-radius: var(--tp-radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.065));
  backdrop-filter: blur(12px);
  box-shadow: var(--tp-shadow), inset 0 1px 0 rgba(255,255,255,0.12);
  overflow: hidden;
}

.tp-glass::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(120deg, rgba(79,140,247,0.28), transparent 34%, rgba(167,139,250,0.22) 74%, transparent);
  opacity: 0.52;
  mask: linear-gradient(#000, transparent 58%);
}

.tp-hover-card {
  will-change: transform;
  transition:
    transform var(--tp-dur-med) var(--tp-ease-out),
    box-shadow var(--tp-dur-med) var(--tp-ease-out),
    border-color var(--tp-dur-med) var(--tp-ease-out),
    background var(--tp-dur-med) var(--tp-ease-out);
}

.tp-hover-card:hover {
  transform: translateY(-4px);
  border-color: var(--tp-border-hot);
  background: linear-gradient(180deg, rgba(255,255,255,0.15), rgba(255,255,255,0.075));
  box-shadow: var(--tp-shadow), var(--tp-glow-blue), inset 0 1px 0 rgba(255,255,255,0.16);
}

.tp-hover-card:hover h2,
.tp-hover-card:hover h3,
.tp-hover-card:hover strong,
.tp-hover-card:hover .tp-kpi-value {
  color: var(--tp-text-hot);
  text-shadow: 0 0 24px rgba(79, 140, 247, 0.24);
}

.tp-hover-card:hover p,
.tp-hover-card:hover .tp-kpi-label,
.tp-hover-card:hover .tp-chip,
.tp-hover-card:hover .tp-price-row,
.tp-hover-card:hover .tp-route {
  color: var(--tp-muted-hot);
}

.tp-dashboard {
  min-height: 520px;
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  transition: grid-template-columns var(--tp-dur-slow) var(--tp-ease-in-out);
}

.tp-dashboard:hover {
  grid-template-columns: 156px minmax(0, 1fr);
}

.tp-sidebar {
  border-right: 1px solid rgba(255,255,255,0.10);
  padding: 18px 12px;
  overflow: hidden;
}

.tp-side-item {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 42px;
  margin-bottom: 8px;
  padding: 0 11px;
  border-radius: 12px;
  color: var(--tp-muted);
  font-size: 13px;
  white-space: nowrap;
  transition: background var(--tp-dur-fast) var(--tp-ease-out), color var(--tp-dur-fast) var(--tp-ease-out);
}

.tp-side-item span:first-child {
  width: 18px;
  font-family: var(--tp-mono);
  color: var(--tp-blue);
}

.tp-side-label {
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity var(--tp-dur-med) var(--tp-ease-out), transform var(--tp-dur-med) var(--tp-ease-out);
}

.tp-dashboard:hover .tp-side-label {
  opacity: 1;
  transform: translateX(0);
}

.tp-side-item.is-active,
.tp-side-item:hover {
  color: var(--tp-text-hot);
  background: rgba(79, 140, 247, 0.13);
  box-shadow: inset 0 0 0 1px rgba(79, 140, 247, 0.18), 0 0 22px rgba(79, 140, 247, 0.10);
}

.tp-board-main {
  padding: clamp(18px, 3vw, 28px);
  min-width: 0;
}

.tp-board-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 18px;
}

.tp-board-title {
  margin: 0;
  font-size: 18px;
  font-weight: 780;
}

.tp-board-sub {
  margin: 6px 0 0;
  color: var(--tp-faint);
  font-size: 13px;
}

.tp-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 10px;
  border: 1px solid rgba(110,231,183,0.28);
  border-radius: 999px;
  color: var(--tp-success);
  background: rgba(110,231,183,0.08);
  font: 700 12px/1 var(--tp-mono);
}

.tp-status-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 18px currentColor;
}

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

.tp-kpi {
  padding: 18px;
  border-radius: var(--tp-radius-md);
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.055);
}

.tp-kpi-label {
  color: var(--tp-faint);
  font-size: 12px;
}

.tp-kpi-value {
  display: block;
  margin-top: 10px;
  font: 820 30px/1 var(--tp-mono);
  color: rgba(255,255,255,0.82);
  transition: color var(--tp-dur-med) var(--tp-ease-out), transform var(--tp-dur-med) var(--tp-ease-out);
}

.tp-kpi:hover .tp-kpi-value {
  color: var(--tp-cyan);
  transform: translateY(-2px);
}

.tp-chart {
  margin-top: 14px;
  padding: 18px;
  min-height: 220px;
  border-radius: var(--tp-radius-md);
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(8,8,14,0.46);
}

.tp-chart svg {
  width: 100%;
  height: 190px;
  display: block;
  overflow: visible;
}

.tp-chart-grid {
  stroke: rgba(255,255,255,0.08);
  stroke-width: 1;
}

.tp-chart-line {
  fill: none;
  stroke: url(#tp-line-gradient);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 620;
  stroke-dashoffset: 620;
  animation: tp-draw-line 1500ms var(--tp-ease-out) 500ms forwards;
}

.tp-chart-area {
  opacity: 0;
  animation: tp-fade 900ms var(--tp-ease-out) 1100ms forwards;
}

.tp-chart-dot {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: tp-dot-in 480ms var(--tp-ease-out) forwards;
}

.tp-chart-dot:nth-of-type(1) { animation-delay: 900ms; }
.tp-chart-dot:nth-of-type(2) { animation-delay: 1000ms; }
.tp-chart-dot:nth-of-type(3) { animation-delay: 1100ms; }
.tp-chart-dot:nth-of-type(4) { animation-delay: 1200ms; }
.tp-chart-dot:nth-of-type(5) { animation-delay: 1300ms; }

.tp-route-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.tp-route {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) 72px;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 14px;
  background: rgba(255,255,255,0.05);
  color: var(--tp-muted);
  font-size: 13px;
  transition:
    transform var(--tp-dur-fast) var(--tp-ease-out),
    border-color var(--tp-dur-fast) var(--tp-ease-out),
    background var(--tp-dur-fast) var(--tp-ease-out),
    color var(--tp-dur-fast) var(--tp-ease-out);
}

.tp-route strong {
  color: rgba(255,255,255,0.82);
  transition: color var(--tp-dur-fast) var(--tp-ease-out), text-shadow var(--tp-dur-fast) var(--tp-ease-out);
}

.tp-route:hover {
  transform: translateY(-2px);
  border-color: rgba(79, 140, 247, 0.42);
  background: rgba(79, 140, 247, 0.10);
  color: var(--tp-muted-hot);
}

.tp-route:hover strong {
  color: var(--tp-text-hot);
  text-shadow: 0 0 18px rgba(79, 140, 247, 0.30);
}

.tp-route-bar {
  height: 7px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,0.09);
}

.tp-route-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--tp-blue), var(--tp-violet));
  transform-origin: left;
  transform: scaleX(0);
  animation: tp-grow-x 900ms var(--tp-ease-out) forwards;
}

.tp-route:nth-child(1) .tp-route-bar i { animation-delay: 800ms; }
.tp-route:nth-child(2) .tp-route-bar i { animation-delay: 900ms; }
.tp-route:nth-child(3) .tp-route-bar i { animation-delay: 1000ms; }

.tp-section {
  padding: clamp(48px, 6vw, 72px) 0;
}

.tp-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--tp-space-lg);
  margin-bottom: 22px;
}

.tp-section-title {
  margin: 0;
  max-width: 720px;
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
  font-weight: 820;
  font-style: normal;
  overflow-wrap: anywhere;
  color: #ffffff;
  text-shadow: 0 0 26px rgba(79, 140, 247, 0.18);
}

.tp-section-copy {
  margin: 0;
  max-width: 430px;
  color: rgba(255, 255, 255, 0.72);
}

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

.tp-feature-card {
  min-height: 240px;
  padding: 24px;
}

.tp-feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  color: white;
  background: linear-gradient(135deg, rgba(79,140,247,0.9), rgba(167,139,250,0.9));
  box-shadow: 0 0 28px rgba(79,140,247,0.24);
  font-family: var(--tp-mono);
  font-weight: 800;
}

.tp-feature-card h3 {
  margin: 0;
  font-size: 20px;
  color: rgba(255,255,255,0.82);
  transition: color var(--tp-dur-fast) var(--tp-ease-out), text-shadow var(--tp-dur-fast) var(--tp-ease-out);
}

.tp-feature-card p {
  margin: 12px 0 0;
  color: var(--tp-muted);
  font-size: 14px;
  transition: color var(--tp-dur-fast) var(--tp-ease-out);
}

.tp-model-strip {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
}

.tp-model-card {
  min-height: 360px;
  padding: 28px;
}

.tp-model-card h3 {
  margin: 0;
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1;
  font-weight: 820;
  color: rgba(255,255,255,0.82);
  transition: color var(--tp-dur-fast) var(--tp-ease-out), text-shadow var(--tp-dur-fast) var(--tp-ease-out);
}

.tp-model-card p {
  margin: 16px 0 0;
  max-width: 520px;
  color: var(--tp-muted);
  transition: color var(--tp-dur-fast) var(--tp-ease-out);
}

.tp-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.tp-chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.055);
  color: var(--tp-muted);
  font-size: 12px;
  transition:
    color var(--tp-dur-fast) var(--tp-ease-out),
    border-color var(--tp-dur-fast) var(--tp-ease-out),
    background var(--tp-dur-fast) var(--tp-ease-out),
    box-shadow var(--tp-dur-fast) var(--tp-ease-out);
}

.tp-chip:hover,
.tp-hover-card:hover .tp-chip {
  color: var(--tp-text-hot);
  border-color: rgba(167,139,250,0.42);
  background: rgba(167,139,250,0.10);
  box-shadow: 0 0 20px rgba(167,139,250,0.12);
}

.tp-price-table {
  display: grid;
  gap: 10px;
}

.tp-price-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  color: var(--tp-muted);
}

.tp-price-row strong {
  color: rgba(255,255,255,0.82);
  transition: color var(--tp-dur-fast) var(--tp-ease-out), text-shadow var(--tp-dur-fast) var(--tp-ease-out);
}

.tp-code-panel {
  margin: 28px 0 0;
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--tp-radius-md);
  background: rgba(8,8,14,0.62);
  color: rgba(110, 231, 183, 0.92);
  font: 13px/1.7 var(--tp-mono);
  overflow-x: auto;
}

.tp-admin-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  background:
    radial-gradient(circle at 18% 8%, rgba(79, 140, 247, 0.18), transparent 26vw),
    radial-gradient(circle at 86% 18%, rgba(167, 139, 250, 0.16), transparent 28vw),
    var(--tp-bg);
}

.tp-admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 22px 16px;
  border-right: 1px solid rgba(255,255,255,0.10);
  background: rgba(10,10,15,0.72);
  backdrop-filter: blur(12px);
  transition: width var(--tp-dur-slow) var(--tp-ease-in-out), transform var(--tp-dur-slow) var(--tp-ease-in-out);
}

.tp-admin-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 42px;
  margin-bottom: 30px;
}

.tp-admin-brand strong {
  color: var(--tp-text-hot);
}

.tp-admin-nav {
  display: grid;
  gap: 8px;
}

.tp-admin-nav a,
.tp-admin-nav button {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  width: 100%;
  padding: 0 12px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: var(--tp-muted);
  font-size: 14px;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    color var(--tp-dur-fast) var(--tp-ease-out),
    background var(--tp-dur-fast) var(--tp-ease-out),
    box-shadow var(--tp-dur-fast) var(--tp-ease-out),
    transform var(--tp-dur-fast) var(--tp-ease-out);
}

.tp-admin-nav a:hover,
.tp-admin-nav a.is-active,
.tp-admin-nav button:hover,
.tp-admin-nav button.is-active {
  color: var(--tp-text-hot);
  background: rgba(79, 140, 247, 0.13);
  box-shadow: inset 0 0 0 1px rgba(79, 140, 247, 0.20), 0 0 24px rgba(79, 140, 247, 0.10);
  transform: translateX(2px);
}

.tp-admin-nav code {
  width: 28px;
  color: var(--tp-blue);
  font-family: var(--tp-mono);
}

.tp-admin-shell .bg-white,
.tp-admin-shell .bg-gray-50 {
  position: relative;
  border: 1px solid var(--tp-border);
  background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.065)) !important;
  color: var(--tp-text);
  backdrop-filter: blur(12px);
  box-shadow: var(--tp-shadow), inset 0 1px 0 rgba(255,255,255,0.12);
}

.tp-admin-shell .bg-white {
  overflow: hidden;
}

.tp-admin-shell .bg-white::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(79,140,247,0.22), transparent 34%, rgba(167,139,250,0.18) 74%, transparent);
  opacity: 0.45;
  mask: linear-gradient(#000, transparent 58%);
}

.tp-admin-shell .bg-white > *,
.tp-admin-shell .bg-gray-50 > * {
  position: relative;
  z-index: 1;
}

.tp-admin-shell .bg-white,
.tp-admin-shell .border,
.tp-admin-shell .border-b {
  border-color: rgba(255,255,255,0.11) !important;
}

.tp-admin-shell .shadow-sm,
.tp-admin-shell .shadow-2xl {
  box-shadow: var(--tp-shadow), inset 0 1px 0 rgba(255,255,255,0.12) !important;
}

.tp-admin-shell .text-gray-400,
.tp-admin-shell .text-gray-500,
.tp-admin-shell .text-gray-600,
.tp-admin-shell .text-gray-700 {
  color: var(--tp-muted) !important;
  transition: color var(--tp-dur-fast) var(--tp-ease-out), text-shadow var(--tp-dur-fast) var(--tp-ease-out);
}

.tp-admin-shell h3,
.tp-admin-shell .font-bold,
.tp-admin-shell .font-medium {
  color: rgba(255,255,255,0.86);
}

.tp-admin-shell .bg-white:hover,
.tp-admin-shell .p-3.border:hover,
.tp-admin-shell .p-4.border:hover {
  border-color: var(--tp-border-hot) !important;
  background: linear-gradient(180deg, rgba(255,255,255,0.15), rgba(255,255,255,0.075)) !important;
  box-shadow: var(--tp-shadow), var(--tp-glow-blue), inset 0 1px 0 rgba(255,255,255,0.16) !important;
}

.tp-admin-shell .bg-white:hover h3,
.tp-admin-shell .bg-white:hover .font-bold,
.tp-admin-shell .bg-white:hover .font-medium,
.tp-admin-shell tr:hover,
.tp-admin-shell .p-3.border:hover,
.tp-admin-shell .p-4.border:hover {
  color: var(--tp-text-hot) !important;
  text-shadow: 0 0 22px rgba(79, 140, 247, 0.18);
}

.tp-admin-shell .bg-white:hover .text-gray-400,
.tp-admin-shell .bg-white:hover .text-gray-500,
.tp-admin-shell .bg-white:hover .text-gray-600,
.tp-admin-shell .bg-white:hover .text-gray-700,
.tp-admin-shell .p-3.border:hover .text-gray-500,
.tp-admin-shell .p-4.border:hover .text-gray-500 {
  color: var(--tp-muted-hot) !important;
}

.tp-admin-shell input,
.tp-admin-shell select,
.tp-admin-shell textarea {
  min-height: 42px;
  border: 1px solid rgba(255,255,255,0.12) !important;
  background: rgba(255,255,255,0.07) !important;
  color: var(--tp-text) !important;
  outline: 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
  transition: border-color var(--tp-dur-fast) var(--tp-ease-out), box-shadow var(--tp-dur-fast) var(--tp-ease-out), background var(--tp-dur-fast) var(--tp-ease-out);
}

.tp-admin-shell textarea {
  min-height: 84px;
}

.tp-admin-shell input::placeholder,
.tp-admin-shell textarea::placeholder {
  color: var(--tp-faint);
}

.tp-admin-shell input:focus,
.tp-admin-shell select:focus,
.tp-admin-shell textarea:focus {
  border-color: rgba(79,140,247,0.55) !important;
  box-shadow: var(--tp-glow-blue);
}

.tp-admin-shell option {
  background: #11111a;
  color: var(--tp-text);
}

.tp-admin-shell button.bg-blue-600,
.tp-admin-shell button.bg-gray-600,
.tp-admin-shell button.bg-orange-600,
.tp-admin-shell button.bg-gray-200,
.tp-admin-shell .toggle-user-btn,
.tp-admin-shell .edit-provider-btn,
.tp-admin-shell .edit-model-btn,
.tp-admin-shell .adjust-tenant-btn,
.tp-admin-shell .reactivate-model-btn,
.tp-admin-shell .deactivate-model-btn,
.tp-admin-shell .delete-model-btn,
.tp-admin-shell .revoke-key-btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(79,140,247,0.32) !important;
  border-radius: 999px !important;
  background: rgba(79,140,247,0.10) !important;
  color: var(--tp-text-hot) !important;
  text-decoration: none !important;
  transition: transform var(--tp-dur-fast) var(--tp-ease-out), border-color var(--tp-dur-fast) var(--tp-ease-out), box-shadow var(--tp-dur-fast) var(--tp-ease-out);
}

.tp-admin-shell button.bg-blue-600,
.tp-admin-shell button.bg-gray-600,
.tp-admin-shell button.bg-orange-600,
.tp-admin-shell button.bg-gray-200 {
  min-height: 40px;
  padding-left: 16px;
  padding-right: 16px;
}

.tp-admin-shell button.bg-blue-600::after,
.tp-admin-shell button.bg-gray-600::after,
.tp-admin-shell button.bg-orange-600::after,
.tp-admin-shell button.bg-gray-200::after {
  content: "";
  position: absolute;
  inset: -40% -110%;
  z-index: -1;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,0.44) 50%, transparent 65%);
  transform: translateX(-58%);
  opacity: 0;
}

.tp-admin-shell button.bg-blue-600:hover,
.tp-admin-shell button.bg-gray-600:hover,
.tp-admin-shell button.bg-orange-600:hover,
.tp-admin-shell button.bg-gray-200:hover,
.tp-admin-shell .toggle-user-btn:hover,
.tp-admin-shell .edit-provider-btn:hover,
.tp-admin-shell .edit-model-btn:hover,
.tp-admin-shell .adjust-tenant-btn:hover,
.tp-admin-shell .reactivate-model-btn:hover,
.tp-admin-shell .deactivate-model-btn:hover,
.tp-admin-shell .delete-model-btn:hover,
.tp-admin-shell .revoke-key-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(79,140,247,0.52) !important;
  box-shadow: var(--tp-glow-blue);
}

.tp-admin-shell button.bg-blue-600:hover::after,
.tp-admin-shell button.bg-gray-600:hover::after,
.tp-admin-shell button.bg-orange-600:hover::after,
.tp-admin-shell button.bg-gray-200:hover::after {
  opacity: 1;
  animation: tp-shimmer 900ms var(--tp-ease-out);
}

.tp-admin-shell table {
  width: 100%;
  border-collapse: collapse;
  color: var(--tp-muted);
  font-size: 13px;
}

.tp-admin-shell thead {
  color: var(--tp-faint) !important;
}

.tp-admin-shell th,
.tp-admin-shell td {
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.tp-admin-shell tr {
  transition: background var(--tp-dur-fast) var(--tp-ease-out), color var(--tp-dur-fast) var(--tp-ease-out);
}

.tp-admin-shell tbody tr:hover {
  background: rgba(79, 140, 247, 0.08);
  color: var(--tp-text-hot);
}

.tp-admin-shell .tab-content {
  animation: tp-fade-in-up 520ms var(--tp-ease-out) both;
}

.tp-admin-shell .fixed.inset-0 {
  backdrop-filter: blur(12px);
}

.tp-admin-main {
  min-width: 0;
  padding: 24px clamp(18px, 3vw, 38px) 42px;
}

.tp-admin-topbar {
  min-height: 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}

.tp-admin-title h1 {
  margin: 0;
  font-size: clamp(26px, 3.2vw, 42px);
  line-height: 1;
  font-weight: 820;
  letter-spacing: 0;
}

.tp-admin-title p {
  margin: 8px 0 0;
  color: var(--tp-muted);
}

.tp-admin-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tp-admin-search {
  width: min(320px, 34vw);
  height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  background: rgba(255,255,255,0.07);
  color: var(--tp-text);
  outline: 0;
  transition: border-color var(--tp-dur-fast) var(--tp-ease-out), box-shadow var(--tp-dur-fast) var(--tp-ease-out);
}

.tp-admin-search:focus {
  border-color: rgba(79,140,247,0.55);
  box-shadow: var(--tp-glow-blue);
}

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

.tp-admin-card {
  padding: 20px;
  min-width: 0;
}

.tp-span-3 { grid-column: span 3; }
.tp-span-4 { grid-column: span 4; }
.tp-span-5 { grid-column: span 5; }
.tp-span-7 { grid-column: span 7; }
.tp-span-8 { grid-column: span 8; }
.tp-span-12 { grid-column: span 12; }

.tp-admin-card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.tp-admin-card h2,
.tp-admin-card h3 {
  margin: 0;
  color: rgba(255,255,255,0.82);
  font-size: 16px;
  transition: color var(--tp-dur-fast) var(--tp-ease-out), text-shadow var(--tp-dur-fast) var(--tp-ease-out);
}

.tp-admin-card:hover h2,
.tp-admin-card:hover h3 {
  color: var(--tp-text-hot);
  text-shadow: 0 0 22px rgba(79, 140, 247, 0.24);
}

.tp-admin-card small {
  color: var(--tp-faint);
}

.tp-admin-number {
  display: block;
  margin-top: 18px;
  color: rgba(255,255,255,0.82);
  font: 820 clamp(26px, 3vw, 38px)/1 var(--tp-mono);
  transition: color var(--tp-dur-med) var(--tp-ease-out), transform var(--tp-dur-med) var(--tp-ease-out);
}

.tp-admin-card:hover .tp-admin-number {
  color: var(--tp-cyan);
  transform: translateY(-2px);
}

.tp-admin-delta {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  color: var(--tp-success);
  background: rgba(110, 231, 183, 0.09);
  border: 1px solid rgba(110, 231, 183, 0.20);
  font: 700 12px/1 var(--tp-mono);
}

.tp-admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  color: var(--tp-muted);
}

.tp-admin-table th,
.tp-admin-table td {
  padding: 13px 10px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.tp-admin-table th {
  color: var(--tp-faint);
  font-weight: 700;
}

.tp-admin-table tr {
  transition: background var(--tp-dur-fast) var(--tp-ease-out), color var(--tp-dur-fast) var(--tp-ease-out);
}

.tp-admin-table tr:hover {
  color: var(--tp-text-hot);
  background: rgba(79, 140, 247, 0.08);
}

.tp-admin-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  color: var(--tp-blue);
  background: rgba(79,140,247,0.10);
  border: 1px solid rgba(79,140,247,0.20);
  font: 700 12px/1 var(--tp-mono);
}

.tp-admin-badge.is-green {
  color: var(--tp-success);
  background: rgba(110,231,183,0.08);
  border-color: rgba(110,231,183,0.20);
}

.tp-admin-badge.is-purple {
  color: var(--tp-violet);
  background: rgba(167,139,250,0.10);
  border-color: rgba(167,139,250,0.22);
}

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

.tp-admin-list-item {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) 78px;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 14px;
  background: rgba(255,255,255,0.045);
  color: var(--tp-muted);
  font-size: 13px;
  transition:
    transform var(--tp-dur-fast) var(--tp-ease-out),
    background var(--tp-dur-fast) var(--tp-ease-out),
    border-color var(--tp-dur-fast) var(--tp-ease-out),
    color var(--tp-dur-fast) var(--tp-ease-out);
}

.tp-admin-list-item:hover {
  transform: translateY(-2px);
  color: var(--tp-text-hot);
  background: rgba(79,140,247,0.09);
  border-color: rgba(79,140,247,0.34);
}

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

.tp-admin-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--tp-blue), var(--tp-violet));
  transform-origin: left;
  transform: scaleX(0);
  animation: tp-grow-x 900ms var(--tp-ease-out) forwards;
}

.tp-admin-spark {
  width: 100%;
  height: 210px;
}

.tp-admin-spark path.line {
  fill: none;
  stroke: url(#admin-line-gradient);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 740;
  stroke-dashoffset: 740;
  animation: tp-draw-line 1400ms var(--tp-ease-out) 420ms forwards;
}

.tp-admin-spark path.area {
  opacity: 0;
  animation: tp-fade 900ms var(--tp-ease-out) 1000ms forwards;
}

.tp-admin-spark circle {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: tp-dot-in 460ms var(--tp-ease-out) forwards;
}

.tp-admin-spark circle:nth-of-type(1) { animation-delay: 900ms; }
.tp-admin-spark circle:nth-of-type(2) { animation-delay: 1000ms; }
.tp-admin-spark circle:nth-of-type(3) { animation-delay: 1100ms; }
.tp-admin-spark circle:nth-of-type(4) { animation-delay: 1200ms; }
.tp-admin-spark circle:nth-of-type(5) { animation-delay: 1300ms; }

.tp-admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tp-cta {
  margin: 0 auto var(--tp-space-2xl);
  padding: clamp(28px, 5vw, 56px);
  text-align: center;
}

.tp-cta h2 {
  margin: 0 auto;
  max-width: 780px;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1;
  font-weight: 820;
  font-style: normal;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.tp-cta p {
  margin: 18px auto 0;
  max-width: 620px;
  color: var(--tp-muted);
}

.tp-cta .tp-actions {
  justify-content: center;
}

.tp-animate {
  opacity: 0;
  transform: translateY(22px);
  animation: tp-fade-in-up 720ms var(--tp-ease-out) forwards;
  will-change: opacity, transform;
}

.tp-delay-1 { animation-delay: 100ms; }
.tp-delay-2 { animation-delay: 200ms; }
.tp-delay-3 { animation-delay: 300ms; }
.tp-delay-4 { animation-delay: 400ms; }
.tp-delay-5 { animation-delay: 500ms; }
.tp-delay-6 { animation-delay: 600ms; }
.tp-delay-7 { animation-delay: 700ms; }
.tp-delay-8 { animation-delay: 800ms; }

@keyframes tp-fade-in-up {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes tp-shimmer {
  from {
    transform: translateX(-58%);
  }
  to {
    transform: translateX(58%);
  }
}

@keyframes tp-draw-line {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes tp-dot-in {
  from {
    opacity: 0;
    transform: scale(0.4);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes tp-grow-x {
  to {
    transform: scaleX(1);
  }
}

@keyframes tp-fade {
  to {
    opacity: 1;
  }
}

@media (max-width: 980px) {
  .tp-hero-grid,
  .tp-model-strip {
    grid-template-columns: 1fr;
  }

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

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

  .tp-admin-sidebar {
    position: relative;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,0.10);
  }

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

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

  .tp-span-3,
  .tp-span-4,
  .tp-span-5,
  .tp-span-7,
  .tp-span-8,
  .tp-span-12 {
    grid-column: span 1;
  }

  .tp-section-head {
    display: block;
  }

  .tp-section-copy {
    margin-top: 16px;
  }
}

@media (max-width: 720px) {
  .tp-container,
  .tp-nav-inner {
    width: min(100% - 28px, 1180px);
  }

  .tp-nav-links {
    display: none;
  }

  .tp-hero {
    padding-top: 54px;
  }

  .tp-hero-title {
    font-size: clamp(42px, 13vw, 62px);
  }

  .tp-home-hero-title {
    font-size: clamp(34px, 10.5vw, 48px);
  }

  .tp-section {
    padding: 42px 0;
  }

  .tp-section-head {
    margin-bottom: 18px;
  }

  .tp-dashboard {
    grid-template-columns: 1fr;
  }

  .tp-dashboard:hover {
    grid-template-columns: 1fr;
  }

  .tp-sidebar {
    display: flex;
    gap: 8px;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,0.10);
    overflow-x: auto;
    padding: 12px;
  }

  .tp-side-item {
    margin: 0;
    min-width: 42px;
  }

  .tp-side-label {
    display: none;
  }

  .tp-board-head {
    display: block;
  }

  .tp-status-pill {
    margin-top: 14px;
  }

  .tp-route {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .tp-actions .tp-btn {
    width: 100%;
  }

  .tp-admin-topbar {
    display: block;
  }

  .tp-admin-toolbar {
    margin-top: 18px;
    align-items: stretch;
    flex-direction: column;
  }

  .tp-admin-search {
    width: 100%;
  }

  .tp-admin-nav {
    display: flex;
    overflow-x: auto;
  }

  .tp-admin-nav a,
  .tp-admin-nav button {
    min-width: max-content;
  }

  .tp-admin-list-item {
    grid-template-columns: 1fr;
  }

  .tp-admin-table,
  .tp-admin-shell table {
    min-width: 620px;
  }

  .tp-admin-table-wrap,
  .tp-admin-shell .bg-white {
    overflow-x: auto;
  }
}

@media (max-width: 380px) {
  .tp-container,
  .tp-nav-inner {
    width: min(100% - 22px, 1180px);
  }

  .tp-board-main,
  .tp-feature-card,
  .tp-model-card {
    padding: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
    scroll-behavior: auto !important;
  }

  .tp-animate {
    opacity: 1;
    transform: none;
  }
}

/* Commercial surface unification: login, marketplace, console, admin */
.tp-auth-shell,
.tp-market-shell,
.tp-console-shell {
  background:
    radial-gradient(circle at 18% 8%, rgba(79, 140, 247, 0.22), transparent 31vw),
    radial-gradient(circle at 82% 12%, rgba(167, 139, 250, 0.22), transparent 28vw),
    linear-gradient(180deg, #0a0a0f 0%, #0c0c13 52%, #09090d 100%) !important;
  color: var(--tp-text) !important;
}

.tp-auth-shell header,
.tp-auth-shell footer {
  color: var(--tp-text) !important;
}

.tp-auth-shell h1,
.tp-auth-shell h2,
.tp-market-shell h1,
.tp-market-shell h2,
.tp-market-shell h3,
.tp-console-shell h1,
.tp-console-shell h2,
.tp-console-shell h3,
.tp-admin-shell h1,
.tp-admin-shell h2,
.tp-admin-shell h3 {
  color: var(--tp-text-hot) !important;
}

.tp-auth-shell p,
.tp-auth-shell label,
.tp-market-shell p,
.tp-console-shell .text-gray-500,
.tp-console-shell .text-gray-600,
.tp-admin-shell .text-gray-500,
.tp-admin-shell .text-gray-600 {
  color: var(--tp-muted-hot) !important;
}

.tp-auth-shell .bg-white,
.tp-auth-shell .bg-gray-50,
.tp-auth-shell .bg-gray-100,
.tp-market-shell .bg-white,
.tp-market-shell .bg-gray-50,
.tp-market-shell .bg-gray-100,
.tp-console-shell .bg-white,
.tp-console-shell .bg-gray-50,
.tp-console-shell .bg-gray-100,
.tp-admin-shell .bg-white,
.tp-admin-shell .bg-gray-50,
.tp-admin-shell .bg-gray-100 {
  background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.065)) !important;
  border-color: rgba(255,255,255,0.12) !important;
  color: var(--tp-text) !important;
  box-shadow: var(--tp-shadow), inset 0 1px 0 rgba(255,255,255,0.10) !important;
  backdrop-filter: blur(12px);
}

.tp-auth-shell input,
.tp-auth-shell select,
.tp-auth-shell textarea,
.tp-market-shell input,
.tp-market-shell select,
.tp-market-shell textarea,
.tp-console-shell input,
.tp-console-shell select,
.tp-console-shell textarea,
.tp-admin-shell input,
.tp-admin-shell select,
.tp-admin-shell textarea {
  background: rgba(8,8,14,0.62) !important;
  border-color: rgba(255,255,255,0.14) !important;
  color: var(--tp-text-hot) !important;
  outline: none;
  transition: border-color var(--tp-dur-fast) var(--tp-ease-out), box-shadow var(--tp-dur-fast) var(--tp-ease-out), background var(--tp-dur-fast) var(--tp-ease-out);
}

.tp-auth-shell input::placeholder,
.tp-market-shell input::placeholder,
.tp-console-shell input::placeholder,
.tp-admin-shell input::placeholder,
.tp-admin-shell textarea::placeholder {
  color: var(--tp-faint) !important;
}

.tp-auth-shell input:focus,
.tp-market-shell input:focus,
.tp-market-shell select:focus,
.tp-console-shell input:focus,
.tp-admin-shell input:focus,
.tp-admin-shell select:focus,
.tp-admin-shell textarea:focus {
  border-color: var(--tp-border-hot) !important;
  box-shadow: var(--tp-glow-blue) !important;
}

.tp-auth-shell button[type="submit"],
.tp-console-shell button,
.tp-admin-shell button,
.tp-market-shell button {
  transition: transform var(--tp-dur-fast) var(--tp-ease-out), box-shadow var(--tp-dur-fast) var(--tp-ease-out), background var(--tp-dur-fast) var(--tp-ease-out);
}

.tp-auth-shell button[type="submit"]:not(:disabled),
.tp-console-shell .bg-blue-600,
.tp-admin-shell .bg-blue-600,
.tp-market-shell .bg-blue-600 {
  background: linear-gradient(135deg, rgba(79, 140, 247, 0.95), rgba(167, 139, 250, 0.92)) !important;
  color: white !important;
  box-shadow: 0 16px 42px rgba(79, 140, 247, 0.22) !important;
}

.tp-auth-shell button:hover:not(:disabled),
.tp-console-shell button:hover:not(:disabled),
.tp-admin-shell button:hover:not(:disabled),
.tp-market-shell button:hover:not(:disabled),
.tp-market-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--tp-shadow), var(--tp-glow-blue) !important;
}

.tp-login-main {
  min-height: calc(100dvh - 144px);
  align-items: center;
}

.tp-login-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 390px) !important;
  gap: clamp(32px, 5vw, 68px) !important;
  align-items: start;
}

.tp-login-copy {
  position: relative;
  max-width: 620px;
  padding: 1rem 0 1.5rem;
}

.tp-login-copy::before {
  content: "";
  position: absolute;
  inset: -3rem auto auto -2rem;
  width: min(34vw, 420px);
  aspect-ratio: 1;
  border: 1px solid rgba(79, 140, 247, 0.22);
  border-radius: 36px;
  transform: rotate(-8deg);
  background: linear-gradient(135deg, rgba(79, 140, 247, 0.08), rgba(167, 139, 250, 0.04));
  pointer-events: none;
}

.tp-login-eyebrow {
  position: relative;
  display: inline-flex;
  margin-bottom: 1rem;
  padding: 0.42rem 0.62rem;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  color: rgba(191, 219, 254, 0.95);
  background: rgba(255,255,255,0.06);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.tp-login-title {
  position: relative;
  max-width: 14ch;
  color: var(--tp-text-hot);
  font-size: clamp(2.35rem, 4.35vw, 4.25rem);
  font-weight: 800;
  line-height: 1.05;
  text-wrap: balance;
}

.tp-login-title span {
  display: block;
  white-space: nowrap;
}

.tp-login-lead {
  position: relative;
  max-width: 58ch;
  margin-top: 1.1rem;
  color: var(--tp-muted-hot) !important;
  font-size: 0.96rem;
  line-height: 1.78;
  text-wrap: pretty;
}

.tp-login-metrics {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 560px;
  margin-top: 1.45rem;
}

.tp-login-metrics div,
.tp-login-feature-list div {
  border: 1px solid rgba(255,255,255,0.11);
  background: linear-gradient(180deg, rgba(255,255,255,0.11), rgba(255,255,255,0.055));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.10);
  backdrop-filter: blur(12px);
}

.tp-login-metrics div {
  min-height: 74px;
  padding: 0.88rem;
  border-radius: 16px;
}

.tp-login-metrics span {
  display: block;
  color: var(--tp-text-hot);
  font-size: 1.35rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.tp-login-metrics small {
  display: block;
  margin-top: 0.35rem;
  color: var(--tp-muted);
  font-size: 0.78rem;
}

.tp-login-feature-list {
  position: relative;
  display: grid;
  gap: 0.75rem;
  max-width: 600px;
  margin-top: 0.75rem;
}

.tp-login-feature-list div {
  padding: 0.82rem 0.95rem;
  border-radius: 16px;
  transition: transform var(--tp-dur-fast) var(--tp-ease-out), border-color var(--tp-dur-fast) var(--tp-ease-out), box-shadow var(--tp-dur-fast) var(--tp-ease-out);
}

.tp-login-feature-list div:hover {
  transform: translateY(-3px);
  border-color: rgba(79, 140, 247, 0.38);
  box-shadow: var(--tp-glow-blue);
}

.tp-login-feature-list strong {
  color: var(--tp-text-hot);
  font-size: 0.95rem;
}

.tp-login-feature-list p {
  margin-top: 0.25rem;
  color: var(--tp-muted-hot) !important;
  font-size: 0.82rem;
  line-height: 1.52;
}

.tp-login-panel {
  justify-self: end;
  align-self: start;
  padding-top: 0.35rem;
}

.tp-login-card {
  width: min(100%, 390px);
  max-width: 390px;
  border-radius: 24px !important;
  box-shadow: 0 26px 70px rgba(0,0,0,0.48), 0 0 0 1px rgba(79,140,247,0.14), inset 0 1px 0 rgba(255,255,255,0.12) !important;
}

.tp-login-card-head {
  padding: 1.2rem 1.25rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
}

.tp-login-card-kicker {
  margin-bottom: 0.4rem;
  color: rgba(191, 219, 254, 0.92);
  font: 700 0.68rem/1 var(--tp-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tp-login-card-body {
  padding: 1.15rem 1.25rem 1.25rem !important;
}

.tp-login-card .auth-form {
  gap: 0.62rem;
}

.tp-login-card .auth-form h3 {
  font-size: 0.98rem;
}

.tp-login-card .auth-form input,
.tp-login-card .auth-form button[type="submit"],
.tp-login-card .auth-form #captchaBox,
.tp-login-card .auth-form .captchaBox {
  min-height: 38px;
  height: 38px !important;
  border-radius: 11px !important;
}

.tp-login-card input {
  font-size: 0.88rem;
  padding-left: 0.85rem !important;
  padding-right: 0.85rem !important;
}

.tp-login-tabs button {
  min-width: 0;
  padding-top: 0.7rem !important;
  padding-bottom: 0.7rem !important;
  color: rgba(255,255,255,0.62) !important;
  background: rgba(255,255,255,0.035);
  transition: color var(--tp-dur-fast) var(--tp-ease-out), background var(--tp-dur-fast) var(--tp-ease-out), box-shadow var(--tp-dur-fast) var(--tp-ease-out);
}

.tp-login-tabs button:hover,
.tp-login-tabs button.text-gray-950 {
  color: var(--tp-text-hot) !important;
  background: rgba(79,140,247,0.10);
  box-shadow: inset 0 -1px 0 rgba(79,140,247,0.42);
}

.tp-auth-shell .tp-login-card .sliderTrack,
.tp-auth-shell .tp-login-card #sliderTrack {
  max-width: 100%;
}

@media (max-width: 1023px) {
  .tp-login-main {
    align-items: flex-start;
    padding-top: 1.5rem;
  }

  .tp-login-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
  }

  .tp-login-copy {
    max-width: none;
    padding-bottom: 0;
  }

  .tp-login-copy::before,
  .tp-login-feature-list {
    display: none;
  }

  .tp-login-title {
    max-width: 11ch;
    font-size: clamp(2.25rem, 12vw, 3.5rem);
  }

  .tp-login-title span {
    white-space: normal;
  }

  .tp-login-lead {
    margin-top: 1rem;
    font-size: 0.95rem;
    line-height: 1.75;
  }

  .tp-login-metrics {
    grid-template-columns: 1fr 1fr 1fr;
    margin-top: 1.25rem;
  }

  .tp-login-panel,
  .tp-login-card {
    width: 100%;
    max-width: none;
  }

  .tp-login-panel {
    justify-self: stretch;
    order: 1;
  }

  .tp-login-copy {
    order: 2;
  }
}

@media (max-width: 520px) {
  .tp-login-metrics {
    grid-template-columns: 1fr;
  }

  .tp-login-card-body {
    padding: 1.15rem !important;
  }
}

.tp-market-hero {
  background: transparent !important;
}

.tp-market-section {
  background: transparent !important;
}

.tp-market-filter label,
.tp-market-card .text-gray-400,
.tp-market-card .text-gray-500,
.tp-market-card .text-gray-600,
.tp-market-card .text-gray-700,
.tp-market-card .text-gray-900 {
  color: var(--tp-muted-hot) !important;
}

.tp-market-card .font-mono,
.tp-market-card h2,
.tp-market-card h3,
.tp-market-card strong {
  color: var(--tp-text-hot) !important;
}

.tp-market-card .bg-blue-50,
.tp-market-card .bg-emerald-50,
.tp-market-card .bg-amber-50,
.tp-market-card .bg-gray-100 {
  background: rgba(79, 140, 247, 0.12) !important;
  color: var(--tp-text-hot) !important;
  border: 1px solid rgba(79, 140, 247, 0.18);
}

.tp-console-shell table,
.tp-admin-shell table {
  color: var(--tp-text) !important;
}

.tp-console-shell th,
.tp-console-shell td,
.tp-admin-shell th,
.tp-admin-shell td {
  border-color: rgba(255,255,255,0.10) !important;
  color: var(--tp-muted-hot) !important;
}

.tp-console-shell pre,
.tp-admin-shell pre,
.tp-market-shell pre {
  background: rgba(2,2,8,0.76) !important;
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
