:root {
  --bg-0: #070b14;
  --bg-1: #0c1326;
  --bg-2: #121e37;
  --bg-3: #1a2742;
  --surface: rgba(16, 24, 44, 0.66);
  --surface-strong: rgba(17, 26, 49, 0.86);
  --surface-glass: rgba(23, 34, 62, 0.54);
  --line: rgba(133, 172, 255, 0.26);
  --line-strong: rgba(173, 202, 255, 0.45);
  --ink: #ecf4ff;
  --ink-soft: #b8c6e4;
  --ink-muted: #8f9fc2;
  --accent: #72d8ff;
  --accent-strong: #6e8fff;
  --accent-soft: rgba(114, 216, 255, 0.16);
  --danger: #ff7878;
  --danger-soft: rgba(255, 120, 120, 0.16);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --shadow-hero: 0 28px 72px rgba(1, 6, 18, 0.5);
  --shadow-card: 0 20px 48px rgba(1, 7, 22, 0.36);
  --font-display:
    "Avenir Next", "Segoe UI Variable Display", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", sans-serif;
  --font-text: "MiSans", "HarmonyOS Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-text);
  color: var(--ink);
  background:
    radial-gradient(1300px 700px at 12% -12%, rgba(114, 216, 255, 0.18), transparent 70%),
    radial-gradient(1000px 580px at 95% -18%, rgba(110, 143, 255, 0.22), transparent 72%),
    linear-gradient(168deg, var(--bg-0) 0%, var(--bg-1) 38%, var(--bg-2) 70%, var(--bg-3) 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background: radial-gradient(
    420px 420px at var(--pointer-x, 24%) var(--pointer-y, 16%),
    rgba(114, 216, 255, 0.22),
    transparent 72%
  );
  transition: background 0.2s linear;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.03) 0%, transparent 25%),
    linear-gradient(240deg, rgba(255, 255, 255, 0.02) 0%, transparent 30%);
}

.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.05;
  background-image: radial-gradient(rgba(255, 255, 255, 0.7) 0.6px, transparent 0.6px);
  background-size: 2px 2px;
}

.ambient-layer {
  position: fixed;
  border-radius: 999px;
  filter: blur(56px);
  pointer-events: none;
  opacity: 0.24;
  z-index: -1;
}

.ambient-layer-a {
  width: 340px;
  height: 340px;
  left: -90px;
  top: 14%;
  background: rgba(83, 224, 255, 0.44);
  animation: driftA 17s ease-in-out infinite alternate;
}

.ambient-layer-b {
  width: 430px;
  height: 430px;
  right: -110px;
  top: 24%;
  background: rgba(121, 153, 255, 0.34);
  animation: driftB 19s ease-in-out infinite alternate;
}

.ambient-layer-c {
  width: 370px;
  height: 370px;
  right: 18%;
  bottom: -180px;
  background: rgba(105, 195, 255, 0.22);
  animation: driftC 22s ease-in-out infinite alternate;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--accent), #91a7ff);
  box-shadow: 0 0 18px rgba(114, 216, 255, 0.55);
  z-index: 50;
}

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

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

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

.site-shell {
  width: min(1380px, calc(100vw - 36px));
  margin: 0 auto;
  padding: 22px 0 58px;
}

.admin-shell {
  width: min(1460px, calc(100vw - 36px));
}

.site-footer {
  width: min(1380px, calc(100vw - 36px));
  margin: -22px auto 34px;
  padding: 18px 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 16px;
  color: var(--ink-muted);
  font-size: 13px;
  line-height: 1.7;
  text-align: center;
}

.site-footer a {
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: var(--accent);
}

.site-footer .police-record {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.site-footer .police-record img {
  width: 16px;
  height: 16px;
  display: inline-block;
  flex: 0 0 auto;
}

.topbar,
.nav-row,
.hero-actions,
.stats-row,
.action-row,
.toolbar,
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.topbar,
.section-head,
.price-top,
.row-head,
.task-row-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.topbar {
  position: sticky;
  top: 14px;
  z-index: 30;
  align-items: center;
  margin-bottom: 26px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(11, 17, 33, 0.74);
  backdrop-filter: blur(12px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  background:
    linear-gradient(160deg, rgba(114, 216, 255, 0.3), transparent 55%),
    linear-gradient(130deg, rgba(110, 143, 255, 0.44), rgba(114, 216, 255, 0.22));
  border: 1px solid rgba(175, 206, 255, 0.4);
}

.brand-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
}

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

.nav-row a,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.nav-row a:hover,
.button:hover {
  transform: translateY(-1px);
  border-color: var(--line-strong);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.button {
  border-color: rgba(150, 196, 255, 0.5);
  background: linear-gradient(135deg, rgba(85, 143, 255, 0.94), rgba(109, 210, 255, 0.9));
  color: #f7fbff;
}

.button.secondary {
  border-color: rgba(161, 197, 255, 0.26);
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
}

.button.danger {
  border-color: rgba(255, 152, 152, 0.5);
  background: linear-gradient(140deg, rgba(255, 113, 113, 0.9), rgba(227, 85, 85, 0.92));
}

.hero-panel,
.panel-card,
.hero-floating-card,
.stat-card,
.task-card,
.price-card,
.auth-card,
.upload-card,
.feedback-card,
.empty-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(14px);
}

.hero-panel,
.panel-card,
.hero-floating-card,
.price-card,
.auth-card,
.task-card,
.upload-card {
  padding: 24px;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 20px;
  box-shadow: var(--shadow-hero);
  background:
    linear-gradient(130deg, rgba(18, 31, 58, 0.88), rgba(14, 23, 42, 0.84)),
    radial-gradient(380px 240px at 83% 8%, rgba(114, 216, 255, 0.18), transparent 72%);
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: -22% 45% auto auto;
  width: 300px;
  height: 300px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(114, 216, 255, 0.22), transparent 70%);
  pointer-events: none;
}

.hero-panel.compact {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
}

.hero-copy h1,
.section-head h2,
.subhead strong {
  margin: 0;
  font-family: var(--font-display);
}

.hero-copy h1 {
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  font-size: clamp(34px, 5vw, 64px);
}

.section-head {
  align-items: flex-end;
}

.section-head h2 {
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.1;
}

.section-head.compact h2 {
  font-size: clamp(24px, 2vw, 30px);
}

.hero-copy p,
.section-head p,
.section-lead,
.plain-list,
.feedback-card,
.meta-text,
.task-card p,
.row-foot,
.support-text {
  color: var(--ink-soft);
  line-height: 1.7;
}

.section-lead {
  font-size: 14px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(114, 216, 255, 0.28);
  background: rgba(114, 216, 255, 0.08);
  color: #bdeaff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero-preview-board {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
}

.hero-status {
  margin-top: 8px;
  width: fit-content;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(156, 214, 255, 0.38);
  background: rgba(114, 216, 255, 0.12);
  color: #c9f0ff;
  font-size: 13px;
  font-weight: 600;
}

.flow-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 14px;
  border: 1px solid rgba(170, 199, 255, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: #d7e8ff;
  font-size: 14px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(114, 216, 255, 0.9);
}

.section {
  margin-top: 30px;
  content-visibility: auto;
  contain-intrinsic-size: 720px;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
}

.js-enabled.motion-ready .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.js-enabled.motion-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-side,
.right-stack,
.left-stack,
.stack-block,
.member-panel,
.task-list,
.admin-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-floating-card {
  height: 100%;
  background:
    linear-gradient(150deg, rgba(22, 34, 62, 0.92), rgba(12, 20, 39, 0.9)),
    radial-gradient(240px 140px at 90% 0%, rgba(109, 210, 255, 0.18), transparent 70%);
}

.stats-row {
  margin-top: 14px;
}

.stat-card,
.detail-meta-card,
.order-row,
.user-row,
.task-row {
  border: 1px solid rgba(162, 191, 255, 0.2);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  padding: 16px;
}

.stat-card strong,
.detail-meta-card strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.2;
}

.pricing-grid,
.task-grid,
.option-grid,
.swatch-grid,
.showcase-grid,
.service-grid,
.field-grid,
.upload-grid,
.account-grid,
.workspace-grid,
.admin-layout,
.task-meta-grid,
.thumb-grid,
.auth-split,
.member-stats,
.detail-meta-grid {
  display: grid;
  gap: 14px;
}

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

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

.account-grid,
.workspace-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
}

.admin-layout {
  grid-template-columns: 390px minmax(0, 1fr);
  align-items: start;
}

.field-grid,
.upload-grid,
.auth-split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.thumb-grid {
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
}

.task-grid {
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

.option-grid {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.showcase-card {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(160, 188, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-card);
}

.showcase-text-card {
  min-height: 220px;
  padding: 20px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(160, 188, 255, 0.28);
  background:
    linear-gradient(155deg, rgba(24, 38, 70, 0.9), rgba(12, 20, 39, 0.9)),
    radial-gradient(260px 120px at 90% 0%, rgba(114, 216, 255, 0.12), transparent 70%);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.showcase-text-card strong {
  font-size: 20px;
}

.showcase-text-card p {
  margin: 0;
  color: #c4d3ef;
  line-height: 1.7;
}

.showcase-card img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.showcase-card:hover img {
  transform: scale(1.04);
}

.showcase-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 11, 20, 0.08), rgba(7, 11, 20, 0.85));
}

.showcase-overlay {
  position: absolute;
  inset: auto 14px 14px 14px;
  z-index: 1;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(167, 197, 255, 0.28);
  background: rgba(7, 12, 24, 0.52);
  backdrop-filter: blur(6px);
}

.showcase-overlay strong {
  display: block;
  margin-bottom: 6px;
}

.showcase-overlay p {
  margin: 0;
  color: #c4d3ef;
  font-size: 13px;
  line-height: 1.6;
}

.source-note {
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(168, 196, 255, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: #a5b6d9;
  font-size: 13px;
}

.field,
.field.full {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

.flow-step {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid rgba(153, 182, 255, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  color: #a9b9d9;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.flow-step span {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(180, 207, 255, 0.35);
  font-size: 12px;
  font-weight: 700;
}

.flow-step em {
  font-style: normal;
  font-size: 13px;
}

.flow-step.is-active {
  border-color: rgba(155, 217, 255, 0.48);
  background: rgba(114, 216, 255, 0.12);
  color: #d8f3ff;
}

.flow-step.is-active span {
  background: rgba(114, 216, 255, 0.28);
}

.flow-step.is-done {
  border-color: rgba(139, 203, 255, 0.42);
  background: rgba(114, 216, 255, 0.08);
  color: #bde6ff;
}

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

.field label,
.subhead strong {
  font-weight: 600;
  color: #d8e4fb;
}

.field input,
.field select,
.field textarea,
.toolbar input,
.toolbar select,
.auth-card input {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  border: 1px solid rgba(156, 187, 255, 0.25);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field select option,
.toolbar select option {
  color: #12203b;
  background: #edf3ff;
}

.field textarea,
.prompt-viewer {
  min-height: 148px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder,
.auth-card input::placeholder {
  color: #8090b6;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.toolbar input:focus,
.toolbar select:focus,
.auth-card input:focus,
.prompt-viewer:focus {
  outline: none;
  border-color: var(--line-strong);
  box-shadow: 0 0 0 3px rgba(114, 216, 255, 0.18);
}

.prompt-viewer {
  width: 100%;
  padding: 16px;
  border: 1px solid rgba(152, 181, 255, 0.22);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #0c1529 0%, #0d1a31 100%);
  color: #eaf2ff;
  line-height: 1.7;
}

.prompt-viewer.light {
  min-height: 220px;
  background: rgba(255, 255, 255, 0.05);
}

.dark-card {
  background:
    linear-gradient(145deg, rgba(9, 16, 33, 0.94), rgba(13, 22, 40, 0.94)),
    radial-gradient(300px 140px at 92% 0%, rgba(114, 216, 255, 0.16), transparent 70%);
}

.dark-card .eyebrow {
  color: #c5ecff;
}

.dark-card h2 {
  color: #edf4ff;
}

.price-card {
  background:
    linear-gradient(160deg, rgba(20, 33, 60, 0.9), rgba(13, 22, 41, 0.9)),
    radial-gradient(280px 160px at 100% 0%, rgba(114, 216, 255, 0.1), transparent 70%);
}

.price-card.featured {
  border-color: rgba(169, 197, 255, 0.36);
}

.price-card h3,
.task-card h3,
.auth-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.price-card .price-amount {
  margin-top: 12px;
  margin-bottom: 10px;
  display: block;
  font-size: clamp(34px, 4vw, 44px);
  line-height: 1;
}

.plain-list {
  margin: 0;
  padding-left: 18px;
}

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

.task-meta-grid,
.member-stats,
.detail-meta-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.task-chip,
.tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(126, 208, 255, 0.34);
  background: rgba(114, 216, 255, 0.12);
  color: #bdeeff;
  font-size: 12px;
  font-weight: 700;
}

.task-chip.danger,
.tag.danger {
  border-color: rgba(255, 120, 120, 0.44);
  background: var(--danger-soft);
  color: #ffb0b0;
}

.swatch-card,
.option-card,
.service-card,
.task-row {
  border: 1px solid rgba(156, 186, 255, 0.2);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  color: #d5e3ff;
  padding: 14px;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.option-card-media {
  padding: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.option-thumb-wrap {
  position: relative;
  border-radius: 12px;
  border: 1px solid rgba(160, 188, 255, 0.24);
  background: linear-gradient(165deg, rgba(12, 20, 38, 0.96), rgba(17, 28, 52, 0.9));
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.option-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.option-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.option-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.option-code {
  color: #9fb2d6;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.option-content strong {
  display: block;
  margin: 0;
}

.option-content p {
  margin: 0;
  color: #b8c8e6;
  line-height: 1.5;
}

.option-load-more {
  min-height: 48px;
  border: 1px dashed rgba(157, 193, 255, 0.34);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  color: #d9e8ff;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.option-load-more:hover {
  border-color: rgba(156, 219, 255, 0.56);
  background: rgba(114, 216, 255, 0.1);
  transform: translateY(-1px);
}

.swatch-card:hover,
.option-card:hover,
.service-card:hover,
.task-row:hover {
  border-color: rgba(177, 205, 255, 0.4);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.24);
}

.swatch-card.is-selected,
.option-card.is-selected,
.service-card.is-selected,
.task-row.is-selected {
  border-color: rgba(138, 189, 255, 0.52);
  background:
    linear-gradient(140deg, rgba(96, 152, 255, 0.18), rgba(114, 216, 255, 0.12)),
    rgba(255, 255, 255, 0.06);
}

.swatch-chip {
  display: inline-flex;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  margin-bottom: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.thumb-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(160, 188, 255, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.thumb-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.thumb-card figcaption {
  padding: 10px 12px;
  color: var(--ink-soft);
  font-size: 12px;
}

.feedback-card,
.empty-card,
.notice-card,
.notice-strip {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(156, 186, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink-soft);
}

.empty-card.small {
  font-size: 13px;
}

.feedback-card[data-type="success"] {
  border-color: rgba(114, 216, 255, 0.34);
  background: rgba(114, 216, 255, 0.12);
  color: #c8f2ff;
}

.feedback-card[data-type="error"] {
  border-color: rgba(255, 120, 120, 0.36);
  background: var(--danger-soft);
  color: #ffc1c1;
}

.notice-card {
  border-left: 3px solid #ffa676;
  background: rgba(255, 166, 118, 0.13);
  color: #ffd6bb;
}

.notice-strip {
  border-color: rgba(114, 216, 255, 0.25);
  color: #bee0ff;
}

.auth-card form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.order-row,
.user-row,
.task-row {
  width: 100%;
}

.task-row {
  text-align: left;
}

.task-row-top {
  align-items: flex-start;
}

.row-head {
  align-items: flex-start;
}

.meta-text {
  font-size: 13px;
}

.row-foot {
  margin-top: 8px;
  font-size: 12px;
}

.subhead {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 10px;
}

.detail-meta-card span {
  color: var(--ink-muted);
  font-size: 13px;
}

.section-head.compact {
  margin-bottom: 2px;
}

.detail-actions {
  align-items: center;
}

.detail-panel {
  min-height: 440px;
}

.hidden {
  display: none !important;
}

[data-tilt] {
  transform: perspective(960px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 0.26s ease, box-shadow 0.24s ease, border-color 0.2s ease;
  will-change: transform;
}

[data-tilt].is-tilting {
  transition: none;
}

.lite-motion .noise-overlay,
.lite-motion .ambient-layer {
  display: none;
}

.lite-motion [data-tilt] {
  transform: none !important;
  transition: none !important;
}

@keyframes driftA {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(48px, -28px, 0);
  }
}

@keyframes driftB {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-42px, 30px, 0);
  }
}

@keyframes driftC {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-30px, -42px, 0);
  }
}

@media (max-width: 1180px) {
  .hero-panel,
  .hero-panel.compact,
  .account-grid,
  .workspace-grid,
  .admin-layout,
  .pricing-grid,
  .showcase-grid,
  .service-grid,
  .field-grid,
  .upload-grid,
  .auth-split,
  .task-meta-grid,
  .member-stats,
  .detail-meta-grid,
  .swatch-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .site-shell,
  .admin-shell {
    width: min(100vw - 18px, 100%);
    padding: 12px 0 34px;
  }

  .topbar,
  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .topbar {
    border-radius: 18px;
  }

  .hero-panel,
  .panel-card,
  .hero-floating-card,
  .price-card,
  .auth-card,
  .upload-card,
  .task-card {
    border-radius: 20px;
    padding: 18px;
  }

  .hero-copy h1 {
    font-size: clamp(30px, 10vw, 40px);
  }

  .nav-row,
  .hero-actions,
  .stats-row,
  .toolbar,
  .action-row,
  .detail-actions {
    width: 100%;
  }

  .nav-row a,
  .button {
    width: 100%;
    text-align: center;
  }

  .flow-pill {
    min-height: 38px;
    font-size: 13px;
  }

  .workflow-stepper {
    grid-template-columns: 1fr;
  }

  .detail-actions .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .ambient-layer,
  .reveal,
  [data-tilt] {
    animation: none !important;
    transition: none !important;
  }
}
