@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=EB+Garamond:wght@400;500;600&display=swap");

:root {
  color-scheme: dark;
  --bg: #0a0e17;
  --bg-2: #0f1623;
  --panel: rgba(31, 38, 54, 0.72);
  --panel-2: rgba(38, 45, 61, 0.78);
  --panel-3: #252c3a;
  --ink: #f8fafc;
  --soft: #cbd5e1;
  --muted: #94a3b8;
  --faint: #64748b;
  --line: rgba(148, 163, 184, 0.2);
  --line-strong: rgba(255, 255, 255, 0.22);
  --blue: #22c7ff;
  --violet: #6d5dfc;
  --green: #00ff88;
  --orange: #f59e0b;
  --danger: #ff6d6d;
  --max: 1216px;
  --r: 16px;
  --font-sans: "Space Grotesk", "MiSans", "HarmonyOS Sans SC", "Alibaba PuHuiTi", "Noto Sans CJK SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-display: "Space Grotesk", "MiSans", "HarmonyOS Sans SC", "Alibaba PuHuiTi", "Noto Sans CJK SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-ui: "Space Grotesk", "MiSans", "HarmonyOS Sans SC", "Alibaba PuHuiTi", "Noto Sans CJK SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.62;
  background:
    radial-gradient(circle at 24% 20%, rgba(34, 199, 255, 0.2), transparent 32rem),
    radial-gradient(circle at 74% 54%, rgba(109, 93, 252, 0.2), transparent 34rem),
    radial-gradient(circle at 52% 86%, rgba(0, 255, 136, 0.09), transparent 26rem),
    linear-gradient(180deg, #0a0e17 0%, #0b1020 52%, #090d16 100%);
  background-size: auto;
}

.deck-page {
  --paper: #f7f4ee;
  --paper-2: #ebe7de;
  --ink: #11100e;
  --muted: #706b61;
  --line: rgba(17, 16, 14, 0.16);
  --red: #7f1118;
  --red-2: #a31b24;
  --gold: #9a7432;
  --dark: #0d0b0a;
  --dark-2: #171310;
  --white: #fffaf0;
  --pad: clamp(24px, min(5.4vw, 7vh), 88px);
  --deck-stage-top: clamp(16px, min(7vh, 4vw), 96px);
  --deck-layout-gap: clamp(24px, min(5vw, 7vh), 96px);
  --deck-block-gap: clamp(22px, min(5vh, 3.6vw), 70px);
  --deck-kicker-gap: clamp(10px, min(2.5vh, 1.7vw), 32px);
  --deck-title-size: clamp(42px, min(6.6vw, 10.4vh), 112px);
  --deck-section-size: clamp(32px, min(4.8vw, 7.4vh), 76px);
  --deck-quote-size: clamp(38px, min(5.8vw, 8.2vh), 96px);
  --deck-en-size: clamp(16px, min(1.55vw, 2.35vh), 28px);
  --deck-list-gap: clamp(10px, min(2vh, 1.55vw), 26px);
  --deck-list-item-gap: clamp(10px, min(1.6vw, 2.4vh), 22px);
  --deck-mark-size: clamp(24px, min(2.2vw, 3.6vh), 38px);
  --deck-cn-size: clamp(17px, min(1.65vw, 2.85vh), 30px);
  --deck-item-en-size: clamp(14px, min(1.25vw, 2.15vh), 23px);
  --deck-card-pad: clamp(16px, min(2.9vw, 4.6vh), 46px);
  --deck-card-min: clamp(160px, min(34vh, 18vw), 360px);
  --deck-step-pad: clamp(16px, min(2.4vw, 4vh), 34px);
  --deck-step-min: clamp(156px, min(34vh, 18vw), 330px);
  --deck-system-pad: clamp(16px, min(2.8vw, 4.4vh), 42px);
  --deck-system-min: clamp(168px, min(40vh, 21vw), 410px);
  --deck-phase-min: clamp(126px, min(28vh, 16vw), 300px);
  --deck-control-height: 44px;
  --deck-control-pad: 16px;
  --deck-control-font: 14px;
  --deck-button-height: 42px;
  --deck-button-pad: 18px;
  --deck-action-top: clamp(18px, min(3.2vh, 2.6vw), 52px);
  --deck-action-compact-top: clamp(14px, min(2.6vh, 1.8vw), 26px);
  --title-zh: "Founder Lanting Hei", "方正兰亭特黑", "Source Han Sans SC", "Noto Sans CJK SC", "PingFang SC", "Microsoft YaHei UI", sans-serif;
  --body-zh: "Source Han Sans SC", "思源黑体", "Noto Sans CJK SC", "PingFang SC", "Microsoft YaHei UI", sans-serif;
  --serif-en: "EB Garamond", Georgia, serif;
  --mono: "SF Mono", "Cascadia Mono", "Consolas", monospace;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body-zh);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.deck-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(127, 17, 24, 0.05), transparent 31%, rgba(154, 116, 50, 0.055)),
    radial-gradient(circle at 12% 18%, rgba(154, 116, 50, 0.12), transparent 28%);
  opacity: 0.95;
}

.deck-page #deck {
  position: fixed;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  transition: transform 780ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.deck-page .slide {
  position: relative;
  flex: 0 0 100vh;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  padding: var(--pad);
  display: flex;
  flex-direction: column;
  isolation: isolate;
  background: var(--paper);
}

.deck-page .slide.dark {
  background: var(--dark);
  color: var(--white);
}

.deck-page .slide.red {
  background: var(--red);
  color: var(--white);
}

.deck-page .bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  opacity: 0.9;
}

.deck-page .slide.light .bg-img {
  opacity: 0.76;
}

.deck-page .slide.dark .bg-img {
  opacity: 0.64;
}

.deck-page .slide.red .bg-img {
  opacity: 0.28;
  mix-blend-mode: multiply;
}

.deck-page .shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(90deg, var(--paper) 0%, rgba(247, 244, 238, 0.95) 30%, rgba(247, 244, 238, 0.54) 58%, rgba(247, 244, 238, 0.18) 100%);
}

.deck-page .shade.right {
  background: linear-gradient(90deg, rgba(247, 244, 238, 0.12), rgba(247, 244, 238, 0.72) 45%, var(--paper) 76%);
}

.deck-page .dark .shade {
  background: linear-gradient(90deg, var(--dark) 0%, rgba(13, 11, 10, 0.95) 36%, rgba(13, 11, 10, 0.48) 68%, rgba(13, 11, 10, 0.12) 100%);
}

.deck-page .red .shade {
  background: linear-gradient(90deg, rgba(127, 17, 24, 0.96), rgba(127, 17, 24, 0.86) 48%, rgba(127, 17, 24, 0.56));
}

.deck-page .chrome,
.deck-page .footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  font-family: var(--mono);
  font-size: clamp(10px, 0.86vw, 13px);
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: currentColor;
  opacity: 0.58;
}

.deck-page .footer {
  align-items: flex-end;
  border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent);
  padding-top: clamp(10px, 1.4vh, 18px);
}

.deck-page .stage {
  flex: 1;
  min-height: 0;
  display: grid;
  align-items: center;
}

.deck-page .stage.top {
  align-items: start;
  padding-top: var(--deck-stage-top);
}

.deck-page .layout-hero,
.deck-page .layout-split,
.deck-page .layout-ledger {
  display: grid;
  gap: var(--deck-layout-gap);
  align-items: center;
}

.deck-page .layout-hero {
  grid-template-columns: minmax(0, 0.94fr) minmax(280px, 1.06fr);
}

.deck-page .layout-split {
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
}

.deck-page .layout-ledger {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.deck-page .layout-compare {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: clamp(24px, 4vw, 70px);
  align-items: stretch;
}

.deck-page .layout-cards,
.deck-page .layout-flow,
.deck-page .layout-three {
  display: grid;
  gap: 1px;
}

.deck-page .layout-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, min(1.2vw, 2vh), 16px);
  background: transparent;
}

.deck-page .layout-flow {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: color-mix(in srgb, currentColor 20%, transparent);
  margin-top: var(--deck-block-gap);
}

.deck-page .layout-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: rgba(255, 250, 240, 0.18);
  margin-top: var(--deck-block-gap);
}

.deck-page .layout-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 2px solid currentColor;
  margin-top: var(--deck-block-gap);
}

.deck-page .rule {
  background: color-mix(in srgb, currentColor 22%, transparent);
}

.deck-page h1,
.deck-page h2,
.deck-page h3,
.deck-page p {
  margin: 0;
}

.deck-page .kicker {
  font-family: var(--mono);
  font-size: clamp(11px, 0.92vw, 14px);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: var(--deck-kicker-gap);
}

.deck-page .dark .kicker,
.deck-page .red .kicker {
  color: var(--gold);
}

.deck-page .title,
.deck-page .section-title,
.deck-page .quote,
.deck-page .panel h3,
.deck-page .step h3,
.deck-page .system h3,
.deck-page .phase h3 {
  font-family: var(--title-zh);
  font-weight: 900;
  letter-spacing: 0;
}

.deck-page .title {
  font-size: var(--deck-title-size);
  line-height: 0.98;
  max-width: 8.5ch;
}

.deck-page .title.wide {
  max-width: 12ch;
}

.deck-page .title .accent {
  color: var(--red);
}

.deck-page .dark .title .accent,
.deck-page .red .title .accent {
  color: var(--gold);
}

.deck-page .section-title {
  font-size: var(--deck-section-size);
  line-height: 1.03;
  max-width: 10ch;
}

.deck-page .section-title.wide {
  max-width: 14ch;
}

.deck-page .quote {
  font-size: var(--deck-quote-size);
  line-height: 1.06;
  max-width: 13ch;
}

.deck-page .en {
  display: block;
  margin-top: clamp(10px, 1.8vh, 22px);
  font-family: var(--serif-en);
  font-size: var(--deck-en-size);
  line-height: 1.18;
  font-weight: 500;
  color: var(--muted);
  max-width: 34ch;
}

.deck-page .dark .en,
.deck-page .red .en {
  color: rgba(255, 250, 240, 0.72);
}

.deck-page .point-list {
  display: grid;
  gap: var(--deck-list-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

.deck-page .point-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--deck-list-item-gap);
  align-items: start;
}

.deck-page .mark {
  width: var(--deck-mark-size);
  height: var(--deck-mark-size);
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  color: var(--red);
  font-family: var(--mono);
  font-size: clamp(11px, 0.85vw, 13px);
  line-height: 1;
}

.deck-page .dark .mark,
.deck-page .red .mark {
  color: var(--gold);
}

.deck-page .cn {
  display: block;
  font-size: var(--deck-cn-size);
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: 0;
}

.deck-page .item-en {
  display: block;
  margin-top: 5px;
  font-family: var(--serif-en);
  font-size: var(--deck-item-en-size);
  line-height: 1.18;
  color: var(--muted);
}

.deck-page .dark .item-en,
.deck-page .red .item-en {
  color: rgba(255, 250, 240, 0.64);
}

.deck-page [data-slide="07"] .point-list {
  gap: clamp(14px, min(2.4vh, 1.8vw), 32px);
}

.deck-page [data-slide="07"] .cn {
  font-size: clamp(24px, min(2.35vw, 3.65vh), 42px);
  line-height: 1.12;
  font-weight: 900;
}

.deck-page [data-slide="07"] .item-en {
  font-size: clamp(17px, min(1.55vw, 2.55vh), 27px);
  line-height: 1.14;
}

.deck-page .panel,
.deck-page .step,
.deck-page .system {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.deck-page .panel {
  background: rgba(247, 244, 238, 0.88);
  backdrop-filter: blur(18px);
  border-radius: 8px;
  box-shadow: none;
  padding: var(--deck-card-pad);
  min-height: var(--deck-card-min);
}

.deck-page .panel h3 {
  font-size: clamp(26px, 2.7vw, 45px);
  line-height: 1.08;
  max-width: 9ch;
}

.deck-page .panel p,
.deck-page .step p,
.deck-page .phase p {
  font-size: clamp(14px, 1.1vw, 22px);
  line-height: 1.35;
  color: color-mix(in srgb, currentColor 70%, transparent);
}

.deck-page .panel .label,
.deck-page .step .label,
.deck-page .phase .label,
.deck-page .system .label {
  font-family: var(--mono);
  font-size: clamp(11px, 0.9vw, 14px);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--red);
}

.deck-page .dark .panel .label,
.deck-page .dark .step .label,
.deck-page .dark .phase .label,
.deck-page .dark .system .label {
  color: var(--gold);
}

.deck-page .step {
  background: rgba(247, 244, 238, 0.92);
  padding: var(--deck-step-pad);
  min-height: var(--deck-step-min);
}

.deck-page .step::before {
  color: var(--red);
}

.deck-page .step h3 {
  font-size: clamp(23px, 2.1vw, 34px);
  line-height: 1.08;
}

.deck-page .system {
  background: rgba(255, 250, 240, 0.075);
  padding: var(--deck-system-pad);
  min-height: var(--deck-system-min);
}

.deck-page .system h3 {
  font-size: clamp(25px, 2.5vw, 42px);
  line-height: 1.1;
  max-width: 8ch;
}

.deck-page .system p {
  font-size: clamp(15px, 1.13vw, 20px);
  line-height: 1.35;
  color: rgba(255, 250, 240, 0.7);
}

.deck-page .phase {
  padding: clamp(18px, 2.4vw, 36px) clamp(12px, 1.8vw, 24px) 0 0;
  border-right: 1px solid color-mix(in srgb, currentColor 20%, transparent);
  min-height: var(--deck-phase-min);
}

.deck-page .phase:last-child {
  border-right: 0;
}

.deck-page .phase h3 {
  font-size: clamp(23px, 2vw, 34px);
  line-height: 1.1;
  margin: clamp(12px, 1.9vh, 22px) 0 clamp(10px, 1.4vh, 16px);
}

.deck-page .ledger {
  border-top: 1px solid var(--line);
}

.deck-page .ledger-row {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: clamp(16px, 2vw, 34px);
  padding: clamp(14px, 1.85vh, 23px) 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.deck-page .ledger-row span {
  font-family: var(--mono);
  font-size: clamp(11px, 0.92vw, 14px);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--red);
}

.deck-page .ledger-row p {
  font-size: clamp(17px, 1.32vw, 24px);
  line-height: 1.28;
  font-weight: 700;
}

.deck-progress {
  position: fixed;
  right: clamp(16px, 2vw, 30px);
  bottom: clamp(14px, 2vh, 24px);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #fff;
  mix-blend-mode: difference;
}

.deck-page .progress {
  width: clamp(120px, 14vw, 230px);
  height: 2px;
  background: rgba(255, 255, 255, 0.28);
  overflow: hidden;
}

.deck-page .progress span {
  display: block;
  width: 0;
  height: 100%;
  background: #fff;
  transition: width 420ms ease;
}

.deck-page .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 560ms ease, transform 560ms cubic-bezier(0.22, 1, 0.36, 1);
}

.deck-page .slide.active .reveal {
  opacity: 1;
  transform: translateY(0);
}

.deck-page .slide.active .reveal:nth-child(2) {
  transition-delay: 80ms;
}

.deck-page .slide.active .reveal:nth-child(3) {
  transition-delay: 150ms;
}

.deck-page .slide.active .reveal:nth-child(4) {
  transition-delay: 220ms;
}

.deck-topbar {
  position: fixed;
  top: clamp(12px, 2vh, 22px);
  left: clamp(14px, 2vw, 30px);
  right: clamp(14px, 2vw, 30px);
  z-index: 8;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  pointer-events: none;
  font-family: var(--mono);
  color: #fff;
  mix-blend-mode: difference;
}

.deck-brand,
.deck-jumps,
.deck-auth,
.deck-action-bar {
  pointer-events: auto;
}

.deck-brand {
  display: grid;
  gap: 2px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11px;
}

.deck-brand strong {
  font-size: 13px;
  letter-spacing: 0.08em;
}

.deck-jumps {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.deck-jumps button,
.deck-button,
.deck-auth .button,
.deck-auth .nav-logout {
  min-height: var(--deck-control-height);
  border: 1px solid currentColor;
  border-radius: 0;
  padding: 0 var(--deck-control-pad);
  background: transparent;
  color: currentColor;
  font-family: var(--mono);
  font-size: var(--deck-control-font);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: none;
}

.deck-auth {
  display: flex;
  align-items: center;
  gap: 8px;
}

.deck-auth .nav-user {
  color: currentColor;
  font-size: 11px;
}

.deck-auth .button.primary,
.deck-button.primary {
  border-color: var(--red);
  background: var(--red);
  color: var(--white);
}

.deck-button.ghost {
  opacity: 0.72;
}

.deck-action-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: var(--deck-action-top);
}

.deck-action-bar.compact {
  margin-top: var(--deck-action-compact-top);
}

.deck-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--deck-button-height);
  padding: 0 var(--deck-button-pad);
  text-decoration: none;
  color: var(--ink);
}

.dark .deck-button,
.red .deck-button {
  color: var(--white);
}

.deck-jumps button:hover,
.deck-button:hover,
.deck-auth .button:hover,
.deck-auth .nav-logout:hover {
  transform: translateY(-1px);
  background: rgba(127, 17, 24, 0.12);
  border-color: var(--gold);
}

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

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

.container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 11, 13, 0.86);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(var(--max), calc(100% - 32px));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand,
.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 900;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  color: #fff;
  font-size: 14px;
  box-shadow: 0 18px 38px rgba(34, 199, 255, 0.24);
}

.nav-links {
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-actions {
  gap: 10px;
}

.nav-user {
  max-width: 120px;
  color: var(--soft);
  font-size: 13px;
  font-weight: 900;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.button,
.console-action,
button[type="submit"],
.nav-logout {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover,
.console-action:hover,
button[type="submit"]:hover,
.nav-logout:hover {
  transform: translateY(-1px);
  border-color: rgba(36, 214, 166, 0.5);
  background: rgba(36, 214, 166, 0.08);
}

.button.primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  color: #fff;
  box-shadow: 0 20px 42px rgba(34, 199, 255, 0.22);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.button[disabled] {
  opacity: 0.56;
  cursor: not-allowed;
  transform: none;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  max-width: 720px;
  font-family: var(--font-display);
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0;
  text-wrap: pretty;
}

h2 {
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.18;
  text-wrap: pretty;
}

h3 {
  margin-bottom: 8px;
  font-family: var(--font-ui);
  font-weight: 900;
  line-height: 1.25;
}

.lead {
  max-width: 680px;
  color: var(--soft);
  font-size: clamp(17px, 1.5vw, 21px);
}

.sublead,
.section-head p,
.panel p,
.case-card p,
.case-card dd,
.faq-item p,
.report-block p,
.report-block li {
  color: var(--muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: #adfff0;
  font-size: 13px;
  font-weight: 900;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--green);
}

.section {
  padding: 72px 0;
}

.section.tight {
  padding: 38px 0;
}

.ops-hero {
  min-height: calc(100vh - 68px);
  display: grid;
  align-items: center;
  padding: 70px 0 56px;
}

.ops-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  grid-template-areas:
    "copy report"
    "input report";
  gap: 16px;
  align-items: stretch;
}

.ops-copy {
  grid-area: copy;
  min-height: 390px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(18px);
}

.hero-diagnosis {
  max-width: 700px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 900;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.intake-console,
.report-card,
.panel,
.entry-card,
.case-card,
.type-pill,
.faq-item,
.form-shell,
.report-block,
.lab-summary,
.partner-panel {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(30, 41, 59, 0.58);
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.24);
}

.intake-console {
  grid-area: input;
  padding: 18px;
}

.console-head,
.report-head,
.section-head,
.cta-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.console-head {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 13px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--faint);
}

.dot.is-live {
  background: var(--green);
  box-shadow: 0 0 16px rgba(36, 214, 166, 0.68);
}

.idea-box {
  min-height: 92px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 15px;
  background: rgba(15, 23, 42, 0.72);
  color: var(--soft);
}

.console-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.console-tags span,
.tag,
.status {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  padding: 0 9px;
  color: #c7d8d4;
  background: rgba(255,255,255,0.06);
  font-size: 12px;
}

.console-action {
  width: 100%;
  border-color: transparent;
  background: linear-gradient(135deg, rgba(34, 199, 255, 0.9), rgba(109, 93, 252, 0.9));
}

.output-board {
  grid-area: report;
  position: relative;
  padding: 24px;
  background:
    linear-gradient(145deg, rgba(34, 199, 255, 0.14), rgba(30, 41, 59, 0.78) 46%, rgba(109, 93, 252, 0.13)),
    rgba(30, 41, 59, 0.78);
}

.report-head {
  align-items: flex-start;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.report-head h2 {
  margin-bottom: 4px;
  font-family: var(--font-ui);
  font-size: 24px;
}

.status {
  color: #d9fff6;
  border-color: rgba(36, 214, 166, 0.48);
  background: rgba(36, 214, 166, 0.08);
  white-space: nowrap;
}

.report-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.report-queue {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.report-queue div {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 12px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
}

.report-queue strong {
  color: var(--soft);
  font-size: 14px;
}

.report-list li {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 58px;
  border: 1px solid rgba(255,255,255,0.075);
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(15, 23, 42, 0.68);
}

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

.screening-strip {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.52);
  backdrop-filter: blur(16px);
}

.screening-strip span {
  color: var(--muted);
}

.screening-strip strong {
  color: #e0f2fe;
}

.section-head {
  align-items: flex-end;
  margin-bottom: 24px;
}

.report-lab {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.018);
}

.lab-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.62fr) 1fr;
  gap: 14px;
}

.lab-summary,
.report-block,
.panel,
.faq-item {
  padding: 20px;
}

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

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

.flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}

.step {
  position: relative;
  min-height: 190px;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  background: rgba(16, 23, 25, 0.66);
  counter-increment: flow;
}

.flow {
  counter-reset: flow;
}

.step:last-child {
  border-right: 0;
}

.step::before {
  content: "0" counter(flow);
  display: block;
  margin-bottom: 38px;
  color: var(--green);
  font-weight: 900;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(280px, 1fr));
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.case-ledger {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  overflow-x: visible;
}

.case-ledger .case-card {
  min-width: 0;
  padding: 16px;
}

.case-ledger .case-card h3 {
  font-size: 18px;
}

.case-ledger .case-card dd {
  font-size: 13px;
}

.case-list-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow-x: visible;
}

.case-card {
  min-height: 420px;
  padding: 18px;
  background: rgba(12, 18, 20, 0.88);
}

.case-meta,
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.case-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
}

.case-card dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.case-card dt {
  color: #bffff2;
  font-size: 13px;
  font-weight: 900;
}

.case-card dd {
  margin: -6px 0 0;
  font-size: 14px;
}

.partner-zone {
  background: linear-gradient(90deg, rgba(36,214,166,0.055), rgba(35,136,255,0.045));
}

.partner-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) 1fr;
  gap: 26px;
  padding: 28px;
}

.partner-warning {
  color: #d9fff6;
  font-weight: 900;
}

.partner-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.partner-list li,
.type-pill {
  display: flex;
  align-items: center;
  min-height: 48px;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(3, 7, 8, 0.46);
  color: #d7e5e1;
  font-weight: 800;
}

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

.type-pill {
  justify-content: center;
  text-align: center;
  font-size: 14px;
}

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

.cta-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(36, 214, 166, 0.06);
}

.agent-hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 68px);
  display: grid;
  align-items: center;
  padding: 72px 0 58px;
  background:
    linear-gradient(115deg, rgba(6, 10, 17, 0.96) 0%, rgba(11, 17, 28, 0.84) 46%, rgba(19, 25, 27, 0.92) 100%),
    radial-gradient(circle at 78% 18%, rgba(241, 194, 85, 0.2), transparent 24rem),
    radial-gradient(circle at 14% 82%, rgba(0, 255, 136, 0.12), transparent 26rem);
}

.agent-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(241, 194, 85, 0.7), transparent);
}

.agent-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: clamp(22px, 4vw, 58px);
  align-items: center;
}

.agent-hero-copy h1 {
  max-width: 820px;
  font-size: clamp(42px, 5.8vw, 88px);
}

.agent-hero-copy .lead {
  max-width: 760px;
}

.agent-hero-visual,
.enterprise-visual {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.16);
  border-radius: 8px;
  background: rgba(247, 245, 237, 0.08);
  box-shadow: 0 36px 120px rgba(0, 0, 0, 0.34);
}

.agent-hero-visual img,
.enterprise-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.agent-hero-visual {
  aspect-ratio: 1.05;
}

.agent-hero-visual img {
  transform: scale(1.04);
}

.agent-orbit-card {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  padding: 16px;
  background: rgba(8, 12, 20, 0.82);
  backdrop-filter: blur(20px);
}

.agent-orbit-card span,
.agent-card span,
.agent-flow span,
.agent-formula span,
.agent-stage-panel span {
  display: block;
  color: #f1c255;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.agent-orbit-card strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1.2;
}

.agent-metrics {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(247, 245, 237, 0.035);
}

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

.agent-metric-grid div {
  min-height: 126px;
  display: grid;
  align-content: center;
  gap: 6px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.agent-metric-grid div:last-child {
  border-right: 0;
}

.agent-metric-grid strong {
  display: block;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1;
}

.agent-metric-grid span {
  color: var(--muted);
  font-weight: 900;
}

.agent-formula,
.agent-card-grid,
.agent-flow,
.system-cards {
  display: grid;
  gap: 12px;
}

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

.agent-formula article,
.agent-card,
.agent-flow article,
.system-cards article,
.agent-tab-panel,
.agent-stage-panel {
  border: 1px solid rgba(226, 232, 240, 0.14);
  border-radius: 8px;
  background: rgba(247, 245, 237, 0.055);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18);
}

.agent-formula article {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(20px, 2.5vw, 34px);
}

.agent-formula h3,
.agent-card h3,
.agent-flow h3,
.system-cards h3,
.agent-stage-panel h3 {
  margin: 12px 0;
  font-size: clamp(21px, 2vw, 32px);
}

.agent-formula p,
.agent-card p,
.agent-flow p,
.system-cards p,
.agent-tab-panel p,
.agent-stage-panel p {
  margin-bottom: 0;
  color: var(--muted);
}

.agent-tabs {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
}

.agent-tab-controls {
  display: grid;
  gap: 10px;
  align-content: start;
}

.agent-tab,
.agent-stage {
  border: 1px solid rgba(226, 232, 240, 0.14);
  border-radius: 8px;
  background: rgba(247, 245, 237, 0.055);
  color: var(--soft);
  cursor: pointer;
  text-align: left;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.agent-tab {
  min-height: 82px;
  padding: 18px;
  font-weight: 900;
}

.agent-tab.is-active,
.agent-stage.is-active {
  border-color: rgba(241, 194, 85, 0.74);
  background: rgba(241, 194, 85, 0.12);
  color: #fff4ce;
}

.agent-tab:hover,
.agent-stage:hover {
  transform: translateY(-1px);
  border-color: rgba(36, 214, 166, 0.46);
}

.agent-tab-panel {
  min-height: 360px;
  padding: clamp(24px, 3vw, 42px);
  background:
    linear-gradient(135deg, rgba(36, 214, 166, 0.1), rgba(247, 245, 237, 0.055) 45%, rgba(241, 194, 85, 0.08)),
    rgba(247, 245, 237, 0.055);
}

.agent-tab-panel ul {
  display: grid;
  gap: 10px;
  margin: 22px 0;
  padding: 0;
  list-style: none;
}

.agent-tab-panel li {
  position: relative;
  padding-left: 22px;
  color: var(--soft);
  font-weight: 800;
}

.agent-tab-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 8px;
  height: 8px;
  background: var(--green);
}

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

.agent-card {
  min-height: 255px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
}

.agent-card:nth-child(2) span,
.agent-flow article:nth-child(2) span {
  color: var(--green);
}

.agent-card:nth-child(3) span,
.agent-flow article:nth-child(3) span {
  color: var(--blue);
}

.agent-card:nth-child(4) span,
.agent-flow article:nth-child(4) span {
  color: #ff8b5f;
}

.agent-flow-section {
  background:
    linear-gradient(90deg, rgba(241, 194, 85, 0.07), rgba(36, 214, 166, 0.04)),
    rgba(255, 255, 255, 0.012);
}

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

.agent-flow article {
  min-height: 220px;
  padding: 20px;
}

.enterprise-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(340px, 1.14fr);
  gap: clamp(22px, 4vw, 58px);
  align-items: center;
}

.enterprise-visual {
  aspect-ratio: 16 / 9;
}

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

.system-cards article {
  min-height: 260px;
  padding: 24px;
  background:
    linear-gradient(145deg, rgba(0, 0, 0, 0.2), rgba(247, 245, 237, 0.055)),
    rgba(247, 245, 237, 0.055);
}

.agent-roadmap-section {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(247, 245, 237, 0.035);
}

.agent-roadmap {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1fr);
  gap: 12px;
}

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

.agent-stage {
  min-height: 76px;
  padding: 14px 16px;
  color: var(--muted);
  font-weight: 900;
}

.agent-stage span {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 16px;
}

.agent-stage-panel {
  min-height: 334px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(24px, 3vw, 42px);
  background:
    radial-gradient(circle at 82% 18%, rgba(241, 194, 85, 0.16), transparent 18rem),
    rgba(247, 245, 237, 0.055);
}

.site-footer {
  padding: 30px 0;
  color: var(--muted);
}

.footer-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.page-head {
  padding: 54px 0 24px;
}

.page-head .container {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px 30px;
  background:
    radial-gradient(circle at 86% 10%, rgba(34, 199, 255, 0.13), transparent 18rem),
    rgba(15, 23, 42, 0.48);
  backdrop-filter: blur(18px);
}

.page-head h1 {
  max-width: 820px;
  font-size: clamp(32px, 3.5vw, 48px);
}

.page-head p:not(.eyebrow) {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
}

.form-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.58fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.form-shell {
  padding: 26px;
  background:
    linear-gradient(145deg, rgba(34, 199, 255, 0.08), rgba(30, 41, 59, 0.7) 42%, rgba(109, 93, 252, 0.08)),
    rgba(30, 41, 59, 0.74);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 18px;
  row-gap: 18px;
  align-items: start;
}

.field {
  display: grid;
  grid-template-rows: auto auto 20px;
  gap: 8px;
  margin: 0;
}

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

label {
  color: #e8eef7;
  font-size: 14px;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 12px;
  padding: 12px 14px;
  background: rgba(4, 10, 18, 0.78);
  color: var(--ink);
  outline: none;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(36, 214, 166, 0.7);
  box-shadow: 0 0 0 3px rgba(36, 214, 166, 0.12);
}

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

.choice {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 12px;
  padding: 8px 10px;
  background: rgba(255,255,255,0.055);
  color: #d7e5e1;
  font-weight: 800;
  font-size: 13px;
}

.form-layout > .report-card {
  position: sticky;
  top: 92px;
  padding: 22px;
  background:
    linear-gradient(145deg, rgba(34, 199, 255, 0.1), rgba(30, 41, 59, 0.74) 46%, rgba(109, 93, 252, 0.1)),
    rgba(30, 41, 59, 0.74);
}

.form-layout > .report-card .report-head h2 {
  font-size: 26px;
}

.form-layout > .report-card .report-list li {
  min-height: 64px;
}

.choice input {
  width: 16px;
  min-height: 16px;
}

.error-text {
  min-height: 20px;
  color: var(--danger);
  font-size: 13px;
}

.success-panel {
  display: none;
  margin-top: 18px;
  border: 1px solid rgba(36, 214, 166, 0.42);
  border-radius: 6px;
  padding: 16px;
  background: rgba(36, 214, 166, 0.1);
  color: #d9fff6;
}

.success-panel.is-visible {
  display: block;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.filter-button {
  min-height: 38px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  padding: 0 14px;
  background: rgba(255,255,255,0.045);
  color: #d8e4e1;
  cursor: pointer;
}

.filter-button.is-active {
  border-color: rgba(36, 214, 166, 0.66);
  background: rgba(36, 214, 166, 0.11);
}

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

.auth-card h2 {
  margin-bottom: 24px;
}

.chat-shell {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 20px;
}

.chat-sidebar,
.chat-panel {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(30, 41, 59, 0.68);
  backdrop-filter: blur(18px);
  padding: 20px;
}

.chat-user {
  margin-bottom: 16px;
  color: var(--soft);
  font-weight: 900;
}

.chat-room-form {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}

.chat-room-form label {
  display: grid;
  gap: 8px;
}

.chat-room-form textarea {
  min-height: 104px;
}

.chat-form-note {
  min-height: 20px;
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.chat-rooms {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.chat-room {
  min-height: 54px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 14px;
  padding: 10px 12px;
  background: rgba(15, 23, 42, 0.76);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.chat-room span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.chat-panel {
  min-height: 560px;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.chat-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.chat-messages {
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: auto;
  padding: 18px 0;
}

.chat-message {
  max-width: 72%;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 16px;
  padding: 12px 14px;
  background: rgba(15, 23, 42, 0.78);
}

.chat-message.is-mine {
  align-self: flex-end;
  border-color: rgba(34, 199, 255, 0.34);
  background: rgba(34, 199, 255, 0.12);
}

.chat-message p {
  margin-bottom: 6px;
}

.chat-message span,
.chat-empty {
  color: var(--muted);
  font-size: 13px;
}

.chat-compose {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.admin-main {
  min-height: calc(100vh - 68px);
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  background:
    linear-gradient(180deg, rgba(15, 22, 35, 0.94), rgba(8, 12, 20, 0.96)),
    radial-gradient(circle at 86% 12%, rgba(34, 199, 255, 0.14), transparent 30rem);
}

.admin-sidebar {
  position: sticky;
  top: 68px;
  align-self: start;
  height: calc(100vh - 68px);
  border-right: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(8, 12, 20, 0.78);
  backdrop-filter: blur(18px);
  padding: 18px 14px;
}

.admin-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 8px 20px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.admin-sidebar-brand strong,
.admin-sidebar-brand small {
  display: block;
}

.admin-sidebar-brand strong {
  font-size: 16px;
}

.admin-sidebar-brand small {
  color: var(--muted);
  font-size: 11px;
}

.admin-side-nav {
  display: grid;
  gap: 6px;
  padding-top: 18px;
}

.admin-side-nav span {
  padding: 0 10px 8px;
  color: var(--faint);
  font-size: 11px;
  font-weight: 900;
}

.admin-side-nav a {
  border-radius: 8px;
  padding: 11px 12px;
  color: var(--soft);
  font-size: 14px;
  transition: background 0.2s ease, color 0.2s ease;
}

.admin-side-nav a:hover {
  background: rgba(34, 199, 255, 0.1);
  color: var(--ink);
}

.admin-side-nav a.is-active {
  background: rgba(34, 199, 255, 0.12);
  color: var(--blue);
}

.admin-workspace {
  min-width: 0;
}

.admin-topbar {
  position: sticky;
  top: 68px;
  z-index: 12;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  min-height: 58px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  padding: 10px max(24px, calc((100vw - var(--max)) / 2));
  background: rgba(10, 14, 23, 0.86);
  backdrop-filter: blur(18px);
}

.admin-topbar h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.admin-topbar p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
}

.admin-crumb {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.admin-crumb strong {
  color: var(--ink);
}

.admin-topbar-meta {
  display: flex;
  gap: 8px;
  align-items: center;
  min-width: auto;
  border: 1px solid rgba(34, 199, 255, 0.24);
  border-radius: 8px;
  padding: 7px 10px;
  background: rgba(34, 199, 255, 0.08);
}

.admin-topbar-meta span,
.admin-topbar-meta strong {
  display: block;
}

.admin-topbar-meta span {
  color: var(--muted);
  font-size: 12px;
}

.admin-topbar-meta strong {
  font-size: 13px;
}

.admin-shell {
  display: grid;
  gap: 12px;
}

.admin-overview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: stretch;
}

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

.admin-stat,
.admin-panel {
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 8px;
  background: rgba(12, 18, 20, 0.78);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

.admin-stat {
  position: relative;
  overflow: hidden;
  min-height: 124px;
  padding: 18px;
}

.admin-stat::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--blue);
}

.admin-stat-2::before {
  background: var(--green);
}

.admin-stat-3::before {
  background: var(--orange);
}

.admin-stat-4::before {
  background: var(--violet);
}

.admin-stat span,
.admin-stat small,
.admin-row span,
.admin-panel-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.admin-stat strong {
  display: block;
  margin-top: 8px;
  font-size: 34px;
  line-height: 1;
}

.admin-stat small {
  display: block;
  margin-top: 18px;
  font-weight: 700;
}

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

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

.admin-chart-card {
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 8px;
  min-height: 118px;
  padding: 12px;
  background: rgba(12, 18, 20, 0.78);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

.admin-chart-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
}

.admin-chart-head span,
.admin-chart-legend span,
.admin-bar-row span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.admin-donut {
  position: relative;
  display: grid;
  place-items: center;
  width: 118px;
  max-width: 100%;
  aspect-ratio: 1;
  margin: 0 auto;
}

.admin-donut svg {
  position: absolute;
  inset: 0;
  transform: rotate(-90deg);
}

.admin-donut circle {
  fill: none;
  stroke-width: 10;
}

.admin-donut circle:first-child {
  stroke: rgba(148, 163, 184, 0.14);
}

.admin-donut circle:last-child {
  stroke: var(--blue);
  stroke-linecap: round;
  stroke-dasharray: 282.74;
  stroke-dashoffset: var(--offset);
}

.admin-donut div {
  position: relative;
  display: grid;
  place-items: center;
}

.admin-donut strong {
  font-size: 22px;
  line-height: 1;
}

.admin-donut span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.admin-chart-legend {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
}

.admin-bar-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) 42px;
  gap: 10px;
  align-items: center;
  min-height: 21px;
}

.admin-bar-row div {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.12);
}

.admin-bar-row i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--green));
}

.admin-bar-row strong {
  text-align: right;
  font-size: 13px;
}

.admin-module-card {
  position: relative;
  overflow: hidden;
  min-height: 190px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 8px;
  padding: 18px;
  background: rgba(12, 18, 20, 0.78);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.admin-module-card:hover {
  transform: translateY(-2px);
  border-color: rgba(34, 199, 255, 0.32);
  background: rgba(15, 22, 35, 0.9);
}

.admin-module-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--blue);
}

.admin-module-card.admin-stat-2::before {
  background: var(--green);
}

.admin-module-card.admin-stat-3::before {
  background: var(--orange);
}

.admin-module-card.admin-stat-4::before {
  background: var(--violet);
}

.admin-module-card span,
.admin-module-card p,
.admin-module-card em {
  display: block;
}

.admin-module-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.admin-module-card strong {
  display: block;
  margin-top: 10px;
  font-size: 40px;
  line-height: 1;
}

.admin-module-card p {
  min-height: 48px;
  margin: 18px 0 14px;
  color: var(--soft);
  font-size: 14px;
}

.admin-module-card em {
  color: var(--blue);
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
}

.admin-panel {
  overflow: hidden;
}

.admin-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(15, 22, 35, 0.62);
}

.admin-panel-head h2 {
  margin: 0;
  font-size: 20px;
}

.admin-table {
  display: grid;
  overflow-x: auto;
}

.admin-row {
  display: grid;
  grid-template-columns: 72px 1.05fr 1.5fr 1fr 96px;
  gap: 12px;
  align-items: center;
  min-width: 820px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  transition: background 0.2s ease;
}

.admin-row:hover {
  background: rgba(34, 199, 255, 0.04);
}

.admin-row-manage {
  grid-template-columns: 72px 1.05fr 1.5fr 1fr minmax(178px, 0.8fr);
}

.admin-row-user {
  grid-template-columns: 72px 0.9fr 1.2fr 0.8fr minmax(178px, 0.8fr) minmax(178px, 0.8fr) minmax(220px, 1fr);
}

.admin-row:last-child {
  border-bottom: 0;
}

.admin-row strong {
  display: block;
  margin-top: 3px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.admin-row-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: end;
}

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

.admin-row-actions select,
.admin-row-actions input {
  width: 100%;
  min-height: 40px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 8px;
  padding: 8px 10px;
  background: rgba(2, 6, 23, 0.66);
  color: var(--ink);
}

.admin-check {
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--soft);
  font-size: 13px;
  font-weight: 800;
}

.admin-check input {
  width: 16px;
  min-height: 16px;
}

.admin-empty {
  margin: 0;
  padding: 22px 18px;
  color: var(--muted);
}

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

.feature-card,
.image2-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(12, 18, 20, 0.82);
}

.calendar-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(340px, 0.55fr);
  gap: 18px;
  align-items: start;
}

.calendar-board,
.todo-board,
.calendar-side-board {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(34, 199, 255, 0.08), rgba(12, 18, 20, 0.88) 42%, rgba(0, 255, 136, 0.05)),
    rgba(12, 18, 20, 0.82);
}

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

.calendar-panel-head h2 {
  margin: 0 0 4px;
  font-size: 24px;
}

.calendar-panel-head p {
  margin: 0;
  color: var(--muted);
}

.calendar-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.calendar-controls .button {
  min-height: 38px;
  border-radius: 8px;
  padding: 0 12px;
}

.calendar-weekdays,
.calendar-month-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.calendar-weekdays {
  gap: 8px;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.calendar-weekdays span {
  padding: 0 6px;
}

.calendar-month-grid {
  gap: 8px;
}

.calendar-day {
  position: relative;
  min-height: 116px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 8px;
  padding: 10px;
  background: rgba(2, 6, 23, 0.38);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.calendar-day:hover,
.calendar-day.is-selected {
  border-color: rgba(34, 199, 255, 0.52);
  background: rgba(34, 199, 255, 0.1);
}

.calendar-day.is-muted {
  opacity: 0.44;
}

.calendar-day.is-today .calendar-day-number {
  border-color: rgba(0, 255, 136, 0.8);
  color: var(--green);
}

.calendar-day-number {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 8px;
  font-weight: 900;
}

.calendar-day-load {
  position: absolute;
  right: 9px;
  top: 10px;
  width: 6px;
  height: calc(100% - 20px);
  overflow: hidden;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.12);
}

.calendar-day-load i {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  border-radius: inherit;
  background: linear-gradient(180deg, var(--blue), var(--green));
}

.calendar-day em,
.calendar-day strong {
  display: block;
  margin-top: 7px;
  overflow: hidden;
  color: var(--soft);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.calendar-day strong {
  color: #adfff0;
}

.calendar-quick-panel {
  display: grid;
  grid-template-columns: minmax(180px, 0.35fr) minmax(0, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.calendar-selected-head,
.calendar-timeline {
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 8px;
  padding: 14px;
  background: rgba(2, 6, 23, 0.34);
}

.calendar-selected-head span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.calendar-selected-head strong {
  display: block;
  margin-top: 8px;
  font-size: 24px;
  line-height: 1;
}

.calendar-timeline {
  display: grid;
  gap: 10px;
  min-height: 96px;
}

.calendar-week-board {
  margin-top: 14px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 8px;
  padding: 14px;
  background: rgba(2, 6, 23, 0.28);
  overflow-x: auto;
}

.calendar-day-panel {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.calendar-day-panel .calendar-selected-head,
.calendar-day-panel .calendar-timeline {
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 8px;
  padding: 14px;
  background: rgba(2, 6, 23, 0.34);
}

.calendar-pending-board {
  margin-top: 14px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 8px;
  padding: 14px;
  background: rgba(2, 6, 23, 0.24);
}

.calendar-list-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  margin-bottom: 10px;
}

.calendar-list-head h3 {
  margin: 0;
  font-size: 18px;
}

.calendar-list-head p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.week-board-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
  margin-bottom: 12px;
}

.week-board-head h3 {
  margin: 0;
  font-size: 18px;
}

.week-board-head p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.week-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(220px, 1fr));
  gap: 12px;
  min-width: 1540px;
  padding-bottom: 4px;
}

.week-day {
  display: grid;
  gap: 10px;
  min-width: 220px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 8px;
  padding: 12px;
  background: rgba(15, 23, 42, 0.48);
}

.week-day.is-selected {
  border-color: rgba(34, 199, 255, 0.58);
  background: rgba(34, 199, 255, 0.09);
}

.week-day header {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  color: var(--soft);
  font-weight: 900;
}

.week-day header strong {
  color: var(--muted);
  font-size: 12px;
}

.week-slot {
  min-height: 96px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 8px;
  padding: 9px;
  background: rgba(2, 6, 23, 0.32);
}

.week-slot > span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.week-event {
  display: grid;
  gap: 5px;
  --event-status: var(--blue);
  --event-status-bg: rgba(34, 199, 255, 0.12);
  border-left: 3px solid var(--event-status);
  border-radius: 6px;
  margin-top: 7px;
  padding: 8px;
  background:
    linear-gradient(135deg, var(--event-status-bg), transparent 58%),
    color-mix(in srgb, var(--owner-color) 12%, rgba(15, 23, 42, 0.88));
}

.week-event.is-done {
  --event-status: var(--green);
  --event-status-bg: rgba(0, 255, 136, 0.12);
}

.week-event.is-discarded {
  --event-status: var(--danger);
  --event-status-bg: rgba(255, 109, 109, 0.11);
  opacity: 0.78;
}

.week-event-top {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  align-items: center;
}

.week-event strong {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.25;
}

.week-event .calendar-move-button,
.week-event .calendar-delete-button {
  min-height: 24px;
  padding: 2px 7px;
  font-size: 11px;
}

.week-event small,
.week-empty {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.week-empty {
  margin: 0;
}

.timeline-item {
  --event-status: var(--blue);
  --event-status-bg: rgba(34, 199, 255, 0.12);
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  border-left: 3px solid var(--event-status);
  border-radius: 6px;
  padding: 8px 0 8px 10px;
  background: linear-gradient(90deg, var(--event-status-bg), transparent 64%);
}

.timeline-item time {
  color: var(--event-status);
  font-size: 13px;
  font-weight: 900;
}

.timeline-item.is-done {
  --event-status: var(--green);
  --event-status-bg: rgba(0, 255, 136, 0.11);
}

.timeline-item.is-discarded {
  --event-status: var(--danger);
  --event-status-bg: rgba(255, 109, 109, 0.1);
  opacity: 0.76;
}

.timeline-item.is-todo time {
  color: var(--green);
}

.timeline-item strong {
  display: block;
  line-height: 1.25;
}

.timeline-item p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.owner-pill {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  gap: 4px;
  width: fit-content;
  border: 1px solid color-mix(in srgb, var(--owner-color) 60%, transparent);
  border-radius: 999px;
  margin-right: 6px;
  padding: 2px 7px;
  color: var(--ink);
  background: color-mix(in srgb, var(--owner-color) 18%, transparent);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
}

.owner-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--owner-color);
}

.calendar-form,
.todo-form {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

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

.calendar-form > * {
  min-width: 0;
  box-sizing: border-box;
}

.calendar-form textarea {
  grid-column: 1 / -1;
  min-height: 90px;
}

.calendar-form button {
  grid-column: 1 / -1;
}

.calendar-date-field {
  display: grid;
  gap: 4px;
  min-height: 48px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 8px;
  padding: 7px 10px;
  background: rgba(2, 6, 23, 0.36);
}

.calendar-date-field span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.calendar-date-field strong {
  color: var(--green);
  font-size: 16px;
  line-height: 1.1;
}

.calendar-events,
.todo-list {
  display: grid;
  gap: 10px;
}

.calendar-events.compact {
  gap: 8px;
}

.calendar-all-events {
  max-height: clamp(360px, 46vh, 620px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 6px;
  scrollbar-gutter: stable;
}

.calendar-all-events::-webkit-scrollbar {
  width: 8px;
}

.calendar-all-events::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.14);
}

.calendar-all-events::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(34, 199, 255, 0.44);
}

.calendar-delete-button {
  width: fit-content;
  min-height: 28px;
  border: 1px solid rgba(251, 113, 133, 0.42);
  border-radius: 999px;
  padding: 3px 9px;
  background: rgba(127, 29, 29, 0.18);
  color: #fecdd3;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
}

.calendar-row-actions {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  align-items: center;
}

.calendar-move-button {
  width: fit-content;
  min-height: 28px;
  border: 1px solid rgba(34, 199, 255, 0.42);
  border-radius: 999px;
  padding: 3px 9px;
  background: rgba(34, 199, 255, 0.12);
  color: #b8efff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
}

.calendar-move-button:hover {
  border-color: rgba(34, 199, 255, 0.76);
  background: rgba(34, 199, 255, 0.2);
}

.calendar-delete-button:hover {
  border-color: rgba(251, 113, 133, 0.78);
  background: rgba(127, 29, 29, 0.3);
}

.calendar-delete-button:disabled {
  cursor: wait;
  opacity: 0.6;
}

.calendar-status-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border: 1px solid rgba(34, 199, 255, 0.42);
  border-radius: 999px;
  margin-left: 8px;
  padding: 2px 7px;
  background: rgba(34, 199, 255, 0.12);
  color: #b8efff;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
  white-space: nowrap;
}

.calendar-status-pill.is-done {
  border-color: rgba(0, 255, 136, 0.42);
  background: rgba(0, 255, 136, 0.12);
  color: #bbf7d0;
}

.calendar-status-pill.is-discarded {
  border-color: rgba(255, 109, 109, 0.48);
  background: rgba(255, 109, 109, 0.13);
  color: #fecdd3;
}

.calendar-status-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-start;
  align-items: center;
  margin-top: 8px;
}

.calendar-status-button {
  min-height: 28px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 999px;
  padding: 3px 9px;
  background: rgba(15, 23, 42, 0.72);
  color: var(--soft);
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease, color 150ms ease;
}

.calendar-status-button:hover {
  transform: translateY(-1px);
}

.calendar-status-button.is-active {
  border-color: rgba(34, 199, 255, 0.54);
  color: #b8efff;
}

.calendar-status-button.is-active.is-current {
  background: rgba(34, 199, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(34, 199, 255, 0.24);
}

.calendar-status-button.is-done {
  border-color: rgba(0, 255, 136, 0.48);
  color: #bbf7d0;
}

.calendar-status-button.is-done.is-current {
  background: rgba(0, 255, 136, 0.14);
  box-shadow: inset 0 0 0 1px rgba(0, 255, 136, 0.22);
}

.calendar-status-button.is-discarded {
  border-color: rgba(255, 109, 109, 0.5);
  color: #fecdd3;
}

.calendar-status-button.is-discarded.is-current {
  background: rgba(255, 109, 109, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 109, 109, 0.22);
}

.calendar-status-button:disabled {
  cursor: wait;
  opacity: 0.58;
  transform: none;
}

.todo-visual {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.todo-ring {
  position: relative;
  display: grid;
  place-items: center;
  width: 112px;
  aspect-ratio: 1;
  border-radius: 999px;
  background: conic-gradient(var(--green) calc(var(--todo-done) * 1%), rgba(148, 163, 184, 0.16) 0);
}

.todo-ring::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: inherit;
  background: rgba(12, 18, 20, 0.96);
}

.todo-ring strong,
.todo-ring span {
  position: relative;
  z-index: 1;
}

.todo-ring strong {
  font-size: 24px;
  line-height: 1;
}

.todo-ring span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.todo-metrics {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.todo-metrics strong {
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
}

.calendar-event,
.todo-item {
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 8px;
  padding: 12px;
  background: rgba(15, 23, 42, 0.62);
}

.calendar-event {
  --event-status: var(--blue);
  --event-status-bg: rgba(34, 199, 255, 0.1);
  border-color: color-mix(in srgb, var(--event-status) 42%, rgba(148, 163, 184, 0.18));
  border-left: 4px solid var(--event-status);
  background:
    linear-gradient(135deg, var(--event-status-bg), transparent 58%),
    rgba(15, 23, 42, 0.62);
}

.calendar-event.is-done {
  --event-status: var(--green);
  --event-status-bg: rgba(0, 255, 136, 0.1);
}

.calendar-event.is-discarded {
  --event-status: var(--danger);
  --event-status-bg: rgba(255, 109, 109, 0.1);
  opacity: 0.8;
}

.calendar-event div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.calendar-event .calendar-status-actions {
  justify-content: flex-start;
}

.calendar-event span,
.calendar-event small,
.todo-item small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.calendar-event strong {
  font-size: 16px;
}

.calendar-event p {
  margin: 8px 0;
  color: var(--soft);
}

.calendar-event.is-compact {
  border-left-width: 3px;
  padding: 9px;
}

.calendar-event.is-compact div {
  gap: 8px;
}

.calendar-event.is-compact strong {
  font-size: 13px;
  line-height: 1.25;
}

.calendar-event.is-compact p {
  margin: 5px 0;
  font-size: 12px;
  line-height: 1.35;
}

.calendar-event.is-compact .calendar-status-actions {
  gap: 5px;
  margin-top: 6px;
}

.calendar-event.is-compact .calendar-status-button,
.calendar-event.is-compact .calendar-move-button,
.calendar-event.is-compact .calendar-delete-button {
  min-height: 24px;
  padding: 2px 7px;
  font-size: 11px;
}

.calendar-event.is-compact .calendar-status-pill {
  padding: 1px 6px;
  font-size: 10px;
}

.calendar-move-panel {
  border: 1px solid rgba(34, 199, 255, 0.22);
  border-radius: 8px;
  margin-bottom: 18px;
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(34, 199, 255, 0.1), transparent 62%),
    rgba(2, 6, 23, 0.34);
}

.calendar-move-form {
  display: grid;
  gap: 10px;
}

.calendar-move-form label {
  display: grid;
  gap: 6px;
}

.calendar-move-form label span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.calendar-move-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.todo-item {
  display: grid;
  gap: 4px;
}

.todo-item label {
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 900;
}

.todo-item input {
  width: 18px;
  min-height: 18px;
}

.todo-item.is-done span {
  color: var(--muted);
  text-decoration: line-through;
}

.dudu-page {
  min-height: 100vh;
  min-height: 100dvh;
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 157, 177, 0.18), transparent 24rem),
    radial-gradient(circle at 82% 16%, rgba(92, 211, 255, 0.16), transparent 26rem),
    linear-gradient(180deg, #101018 0%, #0b0d16 55%, #090a10 100%);
}

.dudu-app {
  height: calc(100vh - 68px);
  height: calc(100dvh - 68px);
  min-height: 620px;
  overflow: hidden;
}

.dudu-hero {
  height: 100%;
  padding: clamp(18px, 4vw, 42px) 0;
}

.dudu-layout {
  height: 100%;
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 18px;
  align-items: stretch;
}

.dudu-intro,
.dudu-chat {
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 8px;
  background: rgba(8, 13, 22, 0.78);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(18px);
}

.dudu-intro {
  min-height: 0;
  padding: clamp(22px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  position: relative;
}

.dudu-intro::before {
  content: "DUDU";
  position: absolute;
  top: 22px;
  left: 22px;
  color: rgba(255, 255, 255, 0.04);
  font-size: clamp(72px, 11vw, 148px);
  font-weight: 900;
  line-height: 0.82;
  pointer-events: none;
}

.dudu-intro h1 {
  margin: 0 0 14px;
  font-size: clamp(40px, 5.4vw, 76px);
  line-height: 0.98;
}

.dudu-intro p:not(.eyebrow) {
  max-width: 420px;
  color: var(--soft);
  font-size: 17px;
}

.dudu-hints {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.dudu-hints span,
.dudu-quick-row button,
.dudu-clear {
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  color: var(--soft);
}

.dudu-hints span {
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 900;
}

.dudu-records {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.dudu-records-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.dudu-records-head strong {
  color: var(--ink);
  font-size: 14px;
}

.dudu-records-head button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 999px;
  background: rgba(255, 157, 177, 0.12);
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
}

.dudu-threads {
  max-height: 240px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
}

.dudu-thread {
  width: 100%;
  min-height: 52px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.54);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.dudu-thread span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 900;
}

.dudu-thread small,
.dudu-empty {
  color: var(--muted);
  font-size: 12px;
}

.dudu-thread.is-active {
  border-color: rgba(255, 157, 177, 0.58);
  background: rgba(255, 157, 177, 0.14);
}

.dudu-empty {
  margin: 0;
  padding: 10px 2px;
}

.dudu-chat {
  min-height: 0;
  height: 100%;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  overflow: hidden;
}

.dudu-chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.dudu-chat-head > div {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.dudu-avatar {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff9db1, #5cd3ff);
  color: #111018;
  font-weight: 900;
}

.dudu-chat-head h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
}

.dudu-chat-head p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.2;
}

.dudu-clear {
  min-height: 38px;
  padding: 0 12px;
  cursor: pointer;
}

.dudu-chat-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.dudu-clear.danger {
  color: #ffd1d1;
  border-color: rgba(255, 109, 109, 0.34);
  background: rgba(255, 109, 109, 0.1);
}

.dudu-messages {
  min-height: 0;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  scroll-behavior: smooth;
}

.dudu-message {
  max-width: min(78%, 680px);
  padding: 13px 15px;
  border-radius: 8px;
  color: var(--ink);
}

.dudu-message p {
  margin: 0;
}

.dudu-message.is-bot {
  align-self: flex-start;
  background: rgba(15, 23, 42, 0.86);
  border: 1px solid rgba(148, 163, 184, 0.16);
}

.dudu-message.is-user {
  align-self: flex-end;
  background: linear-gradient(135deg, rgba(255, 157, 177, 0.94), rgba(92, 211, 255, 0.9));
  color: #111018;
  font-weight: 800;
}

.dudu-quick-row {
  display: flex;
  gap: 8px;
  padding: 0 16px 12px;
  overflow-x: auto;
}

.dudu-quick-row button {
  min-height: 40px;
  flex: 0 0 auto;
  padding: 0 13px;
  cursor: pointer;
  white-space: nowrap;
}

.dudu-compose {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(3, 7, 18, 0.78);
}

.dudu-compose textarea {
  grid-column: 1;
  width: 100%;
  min-height: 48px;
  max-height: 128px;
  resize: none;
  overflow-y: auto;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.86);
  color: var(--ink);
  padding: 12px 14px;
  line-height: 1.45;
}

.dudu-compose button {
  grid-column: 2;
  min-width: 76px;
  height: 48px;
  min-height: 48px;
  display: block;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #ff9db1;
  color: #181016;
  font-weight: 900;
  cursor: pointer;
}

.dudu-compose.is-sending button {
  opacity: 0.58;
  pointer-events: none;
}

.marketing-ai-page {
  min-height: 100vh;
  min-height: 100dvh;
  background:
    linear-gradient(135deg, rgba(127, 17, 24, 0.26), transparent 32rem),
    linear-gradient(315deg, rgba(154, 116, 50, 0.22), transparent 30rem),
    #111112;
}

.marketing-ai-app {
  height: calc(100vh - 68px);
  height: calc(100dvh - 68px);
  min-height: 660px;
  overflow: hidden;
}

.marketing-ai-hero {
  height: 100%;
  padding: clamp(18px, 3.5vw, 38px) 0;
}

.marketing-ai-layout {
  height: 100%;
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: 18px;
  align-items: stretch;
}

.marketing-ai-sidebar,
.marketing-ai-chat {
  border: 1px solid rgba(230, 220, 200, 0.16);
  border-radius: 8px;
  background: rgba(18, 18, 18, 0.84);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.marketing-ai-sidebar {
  min-height: 0;
  padding: clamp(20px, 2.6vw, 30px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.marketing-ai-brand h1 {
  margin: 0 0 14px;
  max-width: 100%;
  color: #f7f4ee;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
  white-space: nowrap;
}

.marketing-ai-brand p:not(.eyebrow) {
  color: rgba(247, 244, 238, 0.72);
  font-size: 16px;
}

.marketing-ai-copy-bank {
  margin-top: 22px;
  display: grid;
  gap: 8px;
}

.marketing-ai-clear,
.marketing-ai-records-head button {
  border: 1px solid rgba(230, 220, 200, 0.18);
  border-radius: 8px;
  background: rgba(247, 244, 238, 0.08);
  color: #f7f4ee;
  font-weight: 900;
  cursor: pointer;
}

.marketing-ai-copy-bank article {
  padding: 12px 13px;
  border: 1px solid rgba(230, 220, 200, 0.14);
  border-radius: 8px;
  background: rgba(247, 244, 238, 0.06);
}

.marketing-ai-copy-bank span {
  display: block;
  margin-bottom: 6px;
  color: #f7f4ee;
  font-size: 13px;
  font-weight: 900;
}

.marketing-ai-copy-bank .copy-text {
  margin: 0;
  color: rgba(247, 244, 238, 0.68);
  font-size: 13px;
  line-height: 1.58;
  user-select: text;
  cursor: text;
}

.marketing-ai-records {
  min-height: 0;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(230, 220, 200, 0.12);
  display: flex;
  flex-direction: column;
}

.marketing-ai-records-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.marketing-ai-records-head strong {
  color: #f7f4ee;
}

.marketing-ai-records-head button {
  min-height: 34px;
  padding: 0 12px;
  background: rgba(154, 116, 50, 0.2);
}

.marketing-ai-threads {
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
}

.marketing-ai-thread {
  width: 100%;
  min-height: 52px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid rgba(230, 220, 200, 0.14);
  border-radius: 8px;
  background: rgba(247, 244, 238, 0.05);
  color: #f7f4ee;
  text-align: left;
  cursor: pointer;
}

.marketing-ai-thread span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 900;
}

.marketing-ai-thread small,
.marketing-ai-empty {
  color: rgba(247, 244, 238, 0.54);
  font-size: 12px;
}

.marketing-ai-thread.is-active {
  border-color: rgba(154, 116, 50, 0.72);
  background: rgba(154, 116, 50, 0.18);
}

.marketing-ai-empty {
  margin: 0;
  padding: 10px 2px;
}

.marketing-ai-chat {
  min-height: 0;
  height: 100%;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  overflow: hidden;
}

.marketing-ai-chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid rgba(230, 220, 200, 0.12);
}

.marketing-ai-chat-head > div {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.marketing-ai-avatar {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #9a7432;
  color: #111112;
  font-weight: 900;
}

.marketing-ai-chat-head h2 {
  margin: 0;
  color: #f7f4ee;
  font-size: 18px;
  line-height: 1.2;
}

.marketing-ai-chat-head p {
  margin: 2px 0 0;
  color: rgba(247, 244, 238, 0.55);
  font-size: 13px;
  line-height: 1.2;
}

.marketing-ai-clear {
  min-height: 38px;
  padding: 0 12px;
}

.marketing-ai-clear.danger {
  color: #ffd7d7;
  border-color: rgba(127, 17, 24, 0.44);
  background: rgba(127, 17, 24, 0.18);
}

.marketing-ai-messages {
  min-height: 0;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  scroll-behavior: smooth;
}

.marketing-ai-message {
  max-width: min(82%, 760px);
  padding: 13px 15px;
  border-radius: 8px;
  color: #f7f4ee;
}

.marketing-ai-message p {
  margin: 0;
}

.marketing-ai-message.is-bot {
  align-self: flex-start;
  background: rgba(247, 244, 238, 0.08);
  border: 1px solid rgba(230, 220, 200, 0.13);
}

.marketing-ai-message.is-user {
  align-self: flex-end;
  background: #f7f4ee;
  color: #111112;
  font-weight: 800;
}

.marketing-ai-compose {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(230, 220, 200, 0.12);
  background: rgba(10, 10, 10, 0.78);
}

.marketing-ai-controls {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.marketing-ai-skill-toggle,
.marketing-ai-model-select {
  width: max-content;
  max-width: 100%;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  border: 1px solid rgba(230, 220, 200, 0.18);
  border-radius: 8px;
  background: rgba(154, 116, 50, 0.16);
  color: rgba(247, 244, 238, 0.82);
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.marketing-ai-model-select {
  cursor: default;
}

.marketing-ai-model-select select {
  height: 28px;
  border: 0;
  border-radius: 6px;
  background: rgba(17, 17, 18, 0.72);
  color: #f7f4ee;
  font-weight: 900;
}

.marketing-ai-skill-toggle input {
  width: 16px;
  height: 16px;
  accent-color: #9a7432;
}

.marketing-ai-compose textarea {
  grid-column: 1;
  width: 100%;
  min-height: 52px;
  max-height: 156px;
  resize: none;
  overflow-y: auto;
  border-radius: 8px;
  border: 1px solid rgba(230, 220, 200, 0.18);
  background: rgba(247, 244, 238, 0.08);
  color: #f7f4ee;
  padding: 13px 14px;
  line-height: 1.45;
}

.marketing-ai-compose button {
  grid-column: 2;
  min-width: 76px;
  height: 52px;
  min-height: 52px;
  display: block;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #9a7432;
  color: #111112;
  font-weight: 900;
  cursor: pointer;
}

.marketing-ai-compose.is-sending button {
  opacity: 0.66;
  pointer-events: none;
}

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

.feature-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  color: #fff;
  font-weight: 900;
}

.feature-card h2 {
  margin: 22px 0 10px;
  font-size: 26px;
}

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

.feature-card strong {
  color: #bffff2;
}

.customers-main {
  min-height: 100vh;
}

.customers-hero {
  position: relative;
  overflow: hidden;
}

.customers-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.82), rgba(34, 199, 255, 0.72), transparent);
  animation: customerScan 3.8s ease-in-out infinite;
}

.customers-shell {
  display: grid;
  grid-template-columns: minmax(340px, 0.72fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.customer-command,
.customer-ledger {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(34, 199, 255, 0.09), rgba(15, 23, 42, 0.9) 42%, rgba(0, 255, 136, 0.08)),
    rgba(15, 23, 42, 0.82);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.customer-command {
  padding: 26px;
}

.customer-command > div:not(.customer-orbit) {
  position: relative;
  z-index: 1;
}

.customer-command h2,
.customer-ledger h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.08;
}

.customer-command p:not(.eyebrow) {
  max-width: 560px;
  color: var(--muted);
}

.customer-orbit {
  position: absolute;
  top: -70px;
  right: -70px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(34, 199, 255, 0.22);
  border-radius: 50%;
  animation: customerOrbit 12s linear infinite;
}

.customer-orbit span {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 22px rgba(0, 255, 136, 0.7);
}

.customer-orbit span:nth-child(1) {
  top: 14px;
  left: 50%;
}

.customer-orbit span:nth-child(2) {
  right: 22px;
  bottom: 34px;
  background: var(--blue);
}

.customer-orbit span:nth-child(3) {
  left: 24px;
  bottom: 42px;
  background: var(--orange);
}

.customer-form {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.customer-form label,
.customer-owner-field {
  display: grid;
  grid-template-rows: 17px 52px;
  gap: 8px;
  align-items: start;
  min-width: 0;
}

.customer-owner-field {
  margin: 0;
  border: 0;
  padding: 0;
  min-inline-size: 0;
}

.customer-owner-field > span {
  color: #e8eef7;
  font-size: 14px;
  font-weight: 900;
}

.customer-owner-picker {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  width: 100%;
  height: 52px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 8px;
  padding: 8px 12px 8px 10px;
  background: rgba(4, 10, 18, 0.58);
}

.customer-owner-picker p {
  display: flex;
  align-items: center;
  align-self: stretch;
  flex: 1 1 auto;
  margin: 0;
  min-width: 0;
  padding: 0 6px;
  color: #dffcf6;
  font-size: 13px;
  font-weight: 900;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.customer-owner-picker .button {
  flex: 0 0 64px;
  justify-self: end;
  width: 64px;
  height: 34px;
  min-height: 0;
  padding: 0;
  border-radius: 8px;
  white-space: nowrap;
}

.customer-owner-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(1, 6, 14, 0.72);
  backdrop-filter: blur(14px);
}

.customer-owner-modal[hidden] {
  display: none;
}

.customer-owner-dialog {
  width: min(760px, 100%);
  max-height: min(760px, calc(100vh - 40px));
  overflow: hidden;
  border: 1px solid rgba(34, 199, 255, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(34, 199, 255, 0.13), rgba(15, 23, 42, 0.96) 42%, rgba(0, 255, 136, 0.1)),
    #08111f;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.55);
  animation: customerDialogIn 220ms ease both;
}

.customer-owner-dialog-head,
.customer-owner-dialog-actions {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 18px;
}

.customer-owner-dialog-head {
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.customer-owner-dialog-head h2 {
  margin: 0;
  font-size: 28px;
}

.customer-owner-close {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  color: var(--ink);
  font-size: 24px;
  cursor: pointer;
}

.customer-owner-dialog-actions {
  border-top: 1px solid rgba(148, 163, 184, 0.16);
}

.customer-owner-dialog-actions span {
  color: #bffff2;
  font-size: 13px;
  font-weight: 900;
}

.customer-owner-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-height: min(480px, calc(100vh - 230px));
  overflow: auto;
  padding: 18px;
}

.customer-owner-chip {
  position: relative;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-height: 52px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 8px;
  padding: 8px 10px;
  background: rgba(255,255,255,0.045);
  color: #e8f7ff;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.customer-owner-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(34, 199, 255, 0.5);
  background: rgba(34, 199, 255, 0.08);
}

.customer-owner-chip input {
  width: 16px;
  min-height: 16px;
  accent-color: var(--green);
}

.customer-owner-chip span {
  min-width: 0;
  font-weight: 900;
  line-height: 1.2;
}

.customer-owner-chip small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
}

.customer-owner-chip:has(input:checked) {
  border-color: rgba(0, 255, 136, 0.54);
  background: rgba(0, 255, 136, 0.1);
  box-shadow: inset 0 0 0 1px rgba(0, 255, 136, 0.08);
}

.customer-form button {
  grid-column: 1 / -1;
}

.customer-form input,
.customer-form select {
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.customer-form input:hover,
.customer-form select:hover {
  transform: translateY(-1px);
}

.customer-ledger {
  padding: 22px;
}

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

.customer-ledger-head span {
  border: 1px solid rgba(0, 255, 136, 0.25);
  border-radius: 999px;
  padding: 8px 12px;
  color: #caffea;
  background: rgba(0, 255, 136, 0.08);
  font-size: 13px;
  font-weight: 900;
}

.customer-filter-bar {
  display: grid;
  grid-template-columns: minmax(180px, 1.35fr) minmax(150px, 0.85fr) minmax(150px, 0.85fr) auto;
  gap: 10px;
  align-items: end;
  margin-bottom: 10px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 8px;
  padding: 12px;
  background: rgba(4, 10, 18, 0.42);
}

.customer-filter-bar label {
  display: grid;
  gap: 7px;
}

.customer-filter-bar span,
.customer-filter-status {
  color: var(--faint);
  font-size: 12px;
  font-weight: 900;
}

.customer-filter-bar input,
.customer-filter-bar select {
  min-height: 42px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 8px;
  padding: 9px 11px;
  background: rgba(2, 8, 18, 0.72);
  color: var(--ink);
}

.customer-filter-bar .button {
  min-height: 42px;
  padding: 9px 12px;
}

.customer-filter-status {
  margin: 0 0 14px;
}

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

.customer-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 8px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.025)),
    rgba(4, 10, 18, 0.58);
  animation: customerCardIn 520ms ease both;
  animation-delay: var(--delay, 0ms);
}

.customer-card::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 36%;
  transform: translateX(-120%) skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.13), transparent);
  transition: transform 620ms ease;
}

.customer-card:hover::before {
  transform: translateX(340%) skewX(-18deg);
}

.customer-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}

.customer-card-top strong {
  color: #bffff2;
}

.customer-card h3 {
  margin: 10px 0 14px;
  font-size: 22px;
  line-height: 1.2;
}

.customer-card-title {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
}

.customer-card-title h3 {
  min-width: 0;
}

.customer-card-title .button {
  min-height: 34px;
  padding: 7px 12px;
  font-size: 12px;
}

.customer-owner-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: -4px 0 14px;
}

.customer-owner-pills span {
  border: 1px solid rgba(34, 199, 255, 0.24);
  border-radius: 999px;
  padding: 4px 8px;
  background: rgba(34, 199, 255, 0.08);
  color: #cff7ff;
  font-size: 12px;
  font-weight: 900;
}

.customer-card dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.customer-card dl div {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.customer-card dt {
  color: var(--faint);
  font-size: 13px;
  font-weight: 900;
}

.customer-card dd {
  margin: 0;
  min-width: 0;
  color: #e8f7ff;
  overflow-wrap: anywhere;
}

.customer-pagination {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  padding-top: 14px;
}

.customer-pagination span {
  color: #caffea;
  font-size: 13px;
  font-weight: 900;
}

.customer-pagination .button {
  min-width: 88px;
}

@keyframes customerScan {
  0%, 100% { transform: translateX(-30%); opacity: 0.3; }
  50% { transform: translateX(30%); opacity: 1; }
}

@keyframes customerOrbit {
  to { transform: rotate(360deg); }
}

@keyframes customerCardIn {
  from { opacity: 0; transform: translateY(14px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes customerDialogIn {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.image2-shell {
  display: grid;
  grid-template-columns: minmax(360px, 0.8fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.image2-panel {
  padding: 20px;
}

.image2-form {
  display: grid;
  gap: 18px;
}

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

.image2-mode button {
  min-height: 42px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 8px;
  background: rgba(255,255,255,0.055);
  color: var(--soft);
  cursor: pointer;
}

.image2-mode button.is-active {
  border-color: rgba(36, 214, 166, 0.66);
  background: rgba(36, 214, 166, 0.11);
  color: var(--ink);
}

.image2-upload small {
  color: var(--muted);
}

.image2-mask-painter {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 8px;
  padding: 12px;
  background: rgba(15, 23, 42, 0.38);
}

.image2-mask-painter[hidden] {
  display: none;
}

.image2-mask-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.image2-mask-head span {
  color: var(--soft);
  font-weight: 700;
}

.image2-mask-stage {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 8px;
  background: rgba(2, 6, 23, 0.72);
  touch-action: none;
}

.image2-mask-stage canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

[data-image2-mask-source] {
  object-fit: contain;
}

[data-image2-mask-canvas] {
  cursor: crosshair;
}

.image2-mask-stage p {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 18px;
  color: var(--muted);
  text-align: center;
  pointer-events: none;
}

.image2-brush-field {
  margin: 0;
}

.image2-brush-field input {
  padding: 0;
}

.image2-submit {
  width: 100%;
  margin-top: 4px;
}

.image2-result-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}

.image2-result-head h2 {
  margin: 0;
  font-size: 24px;
}

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

.image2-preview {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  margin: 0;
  aspect-ratio: 1;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.72);
}

.image2-preview img {
  width: 100%;
  height: 100%;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.72);
  object-fit: cover;
  image-rendering: auto;
}

.image2-zoom {
  position: absolute;
  top: 8px;
  right: 8px;
  border: 1px solid rgba(226, 232, 240, 0.42);
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(15, 23, 42, 0.78);
  color: #fff;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
}

.image2-history {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.image2-history-head,
.image2-history-pages {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.image2-history h3 {
  margin: 0;
}

.image2-history-head span,
.image2-history-pages span {
  color: var(--muted);
  font-size: 13px;
}

.image2-history-item {
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding: 18px;
}

.image2-history-item strong {
  color: var(--soft);
  font-size: 13px;
  line-height: 1.45;
}

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

.image2-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(2, 6, 23, 0.86);
}

.image2-modal[hidden] {
  display: none;
}

.image2-modal img {
  max-width: min(100%, 1280px);
  max-height: 90vh;
  border-radius: 8px;
  object-fit: contain;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.image2-modal-close {
  position: fixed;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(226, 232, 240, 0.28);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.82);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.image2-modal-open {
  overflow: hidden;
}

@media (max-width: 980px) {
  .deck-page .layout-hero,
  .deck-page .layout-split,
  .deck-page .layout-ledger {
    grid-template-columns: 1fr;
  }

  .deck-page .layout-compare {
    grid-template-columns: 1fr;
  }

  .deck-page .rule {
    height: 1px;
  }

  .deck-page .layout-cards,
  .deck-page .layout-flow,
  .deck-page .layout-timeline {
    grid-template-columns: 1fr 1fr;
  }

  .deck-page .layout-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .deck-topbar {
    grid-template-columns: 1fr auto;
  }

  .deck-jumps {
    display: none;
  }

  .nav {
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .nav-links {
    order: 3;
    width: 100%;
    overflow-x: auto;
  }

  .ops-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "input"
      "report";
  }

  .flow,
  .agent-hero-grid,
  .agent-tabs,
  .agent-formula,
  .agent-card-grid,
  .agent-flow,
  .enterprise-grid,
  .system-cards,
  .agent-roadmap,
  .agent-metric-grid,
  .report-grid,
  .option-grid,
  .faq-grid,
  .lab-grid,
  .partner-panel,
  .form-layout,
  .auth-grid,
  .dudu-layout,
  .marketing-ai-layout,
  .chat-shell,
  .calendar-shell,
  .calendar-form {
    grid-template-columns: 1fr;
  }

  .dudu-intro,
  .marketing-ai-sidebar,
  .dudu-chat {
    min-height: auto;
  }

  .step {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .step:last-child {
    border-bottom: 0;
  }

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

  .agent-card-grid,
  .agent-flow,
  .agent-formula,
  .system-cards,
  .agent-metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .deck-page .footer {
    display: none;
  }

  .deck-page .chrome {
    min-height: 24px;
  }

  .deck-page .slide {
    padding: 72px 22px 22px;
  }

  .deck-page .title {
    font-size: clamp(38px, 11vw, 58px);
  }

  .deck-page .section-title {
    font-size: clamp(30px, 8vw, 46px);
  }

  .deck-page .quote {
    font-size: clamp(34px, 9vw, 54px);
  }

  .deck-page .layout-cards,
  .deck-page .layout-flow,
  .deck-page .layout-three,
  .deck-page .layout-timeline {
    grid-template-columns: 1fr;
  }

  .deck-page .layout-flow,
  .deck-page .layout-three,
  .deck-page .layout-timeline {
    margin-top: 16px;
  }

  .deck-page .panel,
  .deck-page .step,
  .deck-page .system {
    min-height: auto;
    padding: 16px;
  }

  .deck-page .phase {
    min-height: auto;
    padding: 14px 0 0 0;
  }

  .deck-page .layout-compare .point-list li:nth-child(n+2),
  .deck-page .panel:nth-child(n+3),
  .deck-page .step:nth-child(n+4),
  .deck-page .system:nth-child(n+3),
  .deck-page .phase:nth-child(n+4),
  .deck-page .ledger-row:nth-child(n+5) {
    display: none;
  }

  .deck-page .point-list {
    gap: 10px;
  }

  .deck-page .cn {
    font-size: clamp(17px, 4.8vw, 22px);
  }

  .deck-page .item-en {
    font-size: clamp(14px, 4vw, 18px);
  }

  .deck-progress {
    left: 18px;
    right: 18px;
    justify-content: space-between;
  }

  .deck-page .progress {
    flex: 1;
  }

  .deck-topbar {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .deck-auth {
    max-width: 100%;
    overflow-x: auto;
  }

  .deck-auth .button,
  .deck-auth .nav-logout {
    flex: 0 0 auto;
  }

  .container,
  .nav,
  .footer-inner {
    width: min(100% - 28px, var(--max));
  }

  .section {
    padding: 52px 0;
  }

  .ops-hero {
    min-height: auto;
    padding: 28px 0;
  }

  .agent-hero {
    min-height: auto;
    padding: 42px 0;
  }

  .agent-hero-grid,
  .agent-tabs,
  .agent-formula,
  .agent-card-grid,
  .agent-flow,
  .enterprise-grid,
  .system-cards,
  .agent-roadmap,
  .agent-metric-grid {
    grid-template-columns: 1fr;
  }

  .agent-hero-visual {
    aspect-ratio: 1;
  }

  .agent-metric-grid div {
    min-height: 96px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .agent-metric-grid div:last-child {
    border-bottom: 0;
  }

  .ops-copy,
  .output-board,
  .intake-console,
  .partner-panel,
  .form-shell {
    padding: 18px;
  }

  h1 {
    font-size: clamp(38px, 10vw, 48px);
    line-height: 1.08;
  }

  .nav-actions {
    width: 100%;
  }

  .nav-actions .button {
    flex: 1;
  }

  .hero-actions .button,
  .cta-actions .button {
    width: 100%;
  }

  .screening-strip,
  .report-grid.compact,
  .partner-list,
  .type-grid,
  .field-grid,
  .choice-grid,
  .chat-compose,
  .calendar-quick-panel,
  .calendar-list-head,
  .todo-visual,
  .cta-inner,
  .section-head,
  .footer-inner {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .report-list li {
    grid-template-columns: 1fr;
  }

  .report-queue div {
    grid-template-columns: 1fr;
  }

  .cases-grid {
    grid-template-columns: 1fr;
    overflow-x: visible;
  }

  .case-card {
    min-height: auto;
  }

  .chat-message {
    max-width: 92%;
  }

  .admin-stats,
  .admin-overview-grid,
  .admin-module-grid,
  .admin-charts,
  .admin-row,
  .feature-grid,
  .customers-shell,
  .customer-form,
  .image2-shell,
  .image2-gallery {
    grid-template-columns: 1fr;
  }

  .customer-ledger-head,
  .customer-filter-bar,
  .customer-owner-options,
  .customer-card dl div {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .admin-main {
    display: block;
  }

  .admin-sidebar {
    position: static;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  }

  .admin-side-nav {
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .admin-side-nav span {
    display: none;
  }

  .admin-topbar {
    position: static;
    align-items: center;
    flex-direction: row;
    padding: 10px 16px;
  }

  .admin-topbar-meta {
    flex-shrink: 0;
  }

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

  .admin-row,
  .admin-row-manage {
    grid-template-columns: 72px minmax(160px, 1fr) minmax(220px, 1.5fr) minmax(150px, 1fr) minmax(178px, 0.8fr);
  }

  .admin-row-user {
    grid-template-columns: 72px minmax(160px, 1fr) minmax(220px, 1.5fr) minmax(150px, 1fr) minmax(178px, 0.8fr) minmax(178px, 0.8fr) minmax(220px, 1fr);
  }

  .calendar-month-grid {
    min-width: 760px;
  }

  .calendar-visual-board {
    overflow-x: auto;
  }

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

  .dudu-page .site-header {
    position: static;
    border-bottom: 0;
    background: rgba(9, 10, 16, 0.94);
  }

  .dudu-page .nav {
    min-height: 56px;
    flex-wrap: nowrap;
    padding: 8px 0;
  }

  .dudu-page .nav-links,
  .dudu-page .nav-actions {
    display: none;
  }

  .dudu-app {
    min-height: auto;
  }

  .dudu-hero {
    padding: 0;
  }

  .dudu-layout {
    width: 100%;
    gap: 0;
  }

  .dudu-intro {
    min-height: auto;
    display: block;
    padding: 10px 14px;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    background: rgba(8, 10, 16, 0.96);
    box-shadow: none;
  }

  .dudu-intro::before,
  .dudu-intro > .eyebrow,
  .dudu-intro > h1,
  .dudu-intro > p,
  .dudu-hints {
    display: none;
  }

  .dudu-records {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
  }

  .dudu-records-head {
    margin-bottom: 8px;
  }

  .dudu-threads {
    max-height: none;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 2px;
  }

  .dudu-thread {
    width: 172px;
    min-width: 172px;
    min-height: 44px;
  }

  .dudu-chat {
    min-height: calc(100vh - 156px);
    min-height: calc(100dvh - 156px);
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    border-radius: 0;
    background: rgba(8, 10, 16, 0.9);
  }

  .dudu-message {
    max-width: 88%;
  }

  .dudu-chat-head {
    padding: 10px 14px;
  }

  .dudu-avatar {
    width: 38px;
    height: 38px;
  }

  .dudu-messages {
    padding: 14px 14px 12px;
  }

  .dudu-quick-row {
    padding: 0 14px 10px;
  }

  .dudu-compose {
    grid-template-columns: minmax(0, 1fr) 64px !important;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  }

  .dudu-compose button {
    min-width: 64px;
  }

  .marketing-ai-page .site-header {
    position: static;
    border-bottom: 0;
    background: rgba(17, 17, 18, 0.96);
  }

  .marketing-ai-page .nav {
    min-height: 56px;
    flex-wrap: nowrap;
    padding: 8px 0;
  }

  .marketing-ai-page .nav-links,
  .marketing-ai-page .nav-actions {
    display: none;
  }

  .marketing-ai-app {
    min-height: auto;
  }

  .marketing-ai-hero {
    padding: 0;
  }

  .marketing-ai-layout {
    width: 100%;
    gap: 0;
  }

  .marketing-ai-sidebar {
    min-height: auto;
    display: block;
    padding: 10px 14px;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    background: rgba(17, 17, 18, 0.96);
    box-shadow: none;
  }

  .marketing-ai-brand {
    display: none;
  }

  .marketing-ai-copy-bank {
    max-height: 156px;
    margin-top: 0;
    overflow-y: auto;
  }

  .marketing-ai-copy-bank article {
    padding: 10px 11px;
  }

  .marketing-ai-copy-bank article:nth-child(n+3) {
    display: none;
  }

  .marketing-ai-records {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
  }

  .marketing-ai-records-head {
    margin-bottom: 8px;
  }

  .marketing-ai-threads {
    max-height: none;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 2px;
  }

  .marketing-ai-thread {
    width: 184px;
    min-width: 184px;
    min-height: 44px;
  }

  .marketing-ai-chat {
    min-height: calc(100vh - 156px);
    min-height: calc(100dvh - 156px);
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    border-radius: 0;
    background: rgba(17, 17, 18, 0.9);
  }

  .marketing-ai-message {
    max-width: 90%;
  }

  .marketing-ai-chat-head {
    padding: 10px 14px;
  }

  .marketing-ai-avatar {
    width: 38px;
    height: 38px;
  }

  .marketing-ai-messages {
    padding: 14px 14px 12px;
  }

  .marketing-ai-compose {
    grid-template-columns: minmax(0, 1fr) 64px !important;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  }

  .marketing-ai-compose button {
    min-width: 64px;
  }
}

@media (min-width: 981px) and (max-height: 820px) {
  .deck-page {
    --pad: clamp(22px, min(3.4vw, 6.5vh), 58px);
    --deck-stage-top: clamp(10px, min(2.2vh, 2vw), 18px);
    --deck-layout-gap: clamp(18px, min(3.2vw, 5.8vh), 52px);
    --deck-block-gap: clamp(12px, min(2.2vh, 2vw), 24px);
    --deck-kicker-gap: clamp(6px, min(1.5vh, 1vw), 14px);
    --deck-title-size: clamp(40px, min(5.6vw, 9.2vh), 76px);
    --deck-section-size: clamp(29px, min(4vw, 6.6vh), 54px);
    --deck-quote-size: clamp(34px, min(4.8vw, 8vh), 66px);
    --deck-en-size: clamp(15px, min(1.2vw, 2.3vh), 20px);
    --deck-list-gap: clamp(8px, min(1.45vh, 1.1vw), 14px);
    --deck-list-item-gap: clamp(9px, min(1.1vw, 1.8vh), 14px);
    --deck-mark-size: 24px;
    --deck-cn-size: clamp(16px, min(1.35vw, 2.4vh), 22px);
    --deck-item-en-size: clamp(13px, min(1.05vw, 1.85vh), 17px);
    --deck-card-pad: clamp(14px, min(1.8vw, 3.1vh), 24px);
    --deck-card-min: auto;
    --deck-step-pad: clamp(14px, min(1.8vw, 3vh), 24px);
    --deck-step-min: auto;
    --deck-system-pad: clamp(14px, min(1.8vw, 3.1vh), 24px);
    --deck-system-min: auto;
    --deck-phase-min: auto;
    --deck-control-height: 36px;
    --deck-control-pad: 12px;
    --deck-control-font: 12px;
    --deck-button-height: 36px;
    --deck-button-pad: 12px;
    --deck-action-top: clamp(14px, min(2.4vh, 1.7vw), 26px);
    --deck-action-compact-top: 16px;
  }

  .deck-page .footer {
    display: none;
  }

  .deck-page .slide {
    padding-top: max(58px, var(--pad));
    padding-bottom: 20px;
  }

  .deck-page .chrome {
    min-height: 18px;
    font-size: 10px;
  }

  .deck-page .mark {
    font-size: 10px;
  }

  .deck-page .item-en {
    margin-top: 2px;
    line-height: 1.14;
  }

  .deck-page .phase {
    padding: clamp(12px, 1.6vw, 20px) clamp(10px, 1.4vw, 18px) 0 0;
  }

  .deck-page .phase h3 {
    margin: 10px 0 8px;
  }

  .deck-page .ledger-row {
    padding: clamp(8px, 1.35vh, 14px) 0;
  }

  .deck-progress {
    bottom: 12px;
  }
}

@media (max-height: 660px) {
  .deck-page .panel:nth-child(n+3),
  .deck-page .step:nth-child(n+4),
  .deck-page .system:nth-child(n+3),
  .deck-page .phase:nth-child(n+4),
  .deck-page .ledger-row:nth-child(n+4) {
    display: none;
  }
}

/* Animal Island UI theme layer */
:root {
  color-scheme: light;
  --animal-primary: #19c8b9;
  --animal-primary-hover: #3dd4c6;
  --animal-primary-active: #11a89b;
  --animal-primary-readable: #08756f;
  --animal-primary-bg: #e6f9f6;
  --animal-text: #794f27;
  --animal-body: #725d42;
  --animal-muted: #9f927d;
  --animal-soft: #c4b89e;
  --animal-border: #9f927d;
  --animal-border-light: #d8ccb4;
  --animal-bg: #f8f8f0;
  --animal-content: rgb(247, 243, 223);
  --animal-content-2: #f0e8d8;
  --animal-yellow: #f7cd67;
  --animal-green: #8ac68a;
  --animal-blue: #889df0;
  --animal-orange: #e59266;
  --animal-red: #fc736d;
  --animal-shadow-btn: #bdaea0;
  --animal-shadow-input: #d4c9b4;
  --animal-shadow-card: 0 8px 24px rgba(61, 52, 40, 0.14);
  --animal-radius: 22px;
  --animal-radius-sm: 16px;
  --animal-radius-pill: 50px;
  --bg: var(--animal-bg);
  --bg-2: var(--animal-content-2);
  --panel: var(--animal-content);
  --panel-2: #fffdf4;
  --panel-3: #f0e8d8;
  --ink: var(--animal-text);
  --soft: var(--animal-body);
  --muted: var(--animal-muted);
  --faint: var(--animal-soft);
  --line: rgba(159, 146, 125, 0.34);
  --line-strong: rgba(159, 146, 125, 0.68);
  --blue: var(--animal-primary);
  --violet: var(--animal-blue);
  --green: #6fba2c;
  --orange: var(--animal-orange);
  --danger: #e05a5a;
  --r: var(--animal-radius);
  --font-sans: Nunito, "Noto Sans SC", "Zen Maru Gothic", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-display: "Zen Maru Gothic", Nunito, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-ui: Nunito, "Noto Sans SC", "Zen Maru Gothic", "PingFang SC", "Microsoft YaHei", sans-serif;
}

body:not(.deck-page) {
  color: var(--animal-body);
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: 0.01em;
  background:
    radial-gradient(circle at 12% 8%, rgba(247, 205, 103, 0.42), transparent 26rem),
    radial-gradient(circle at 86% 18%, rgba(130, 213, 187, 0.34), transparent 28rem),
    radial-gradient(circle at 50% 92%, rgba(229, 146, 102, 0.18), transparent 30rem),
    linear-gradient(180deg, #fffdf4 0%, var(--animal-bg) 42%, #f2ead7 100%);
}

body:not(.deck-page)::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(rgba(159, 146, 125, 0.18) 1px, transparent 1px),
    radial-gradient(rgba(25, 200, 185, 0.12) 1px, transparent 1px);
  background-position: 0 0, 14px 14px;
  background-size: 28px 28px;
  opacity: 0.35;
}

body:not(.deck-page) h1,
body:not(.deck-page) h2,
body:not(.deck-page) h3 {
  color: var(--animal-text);
  font-family: var(--font-display);
  font-weight: 800;
}

body:not(.deck-page) .site-header {
  border-bottom: 2px solid rgba(159, 146, 125, 0.22);
  background: rgba(248, 248, 240, 0.88);
  box-shadow: 0 8px 22px rgba(61, 52, 40, 0.08);
}

body:not(.deck-page) .nav {
  min-height: 74px;
  gap: 20px;
}

body:not(.deck-page) .brand {
  color: var(--animal-text);
}

body:not(.deck-page) .brand-mark {
  border: 2px solid rgba(121, 79, 39, 0.18);
  border-radius: 18px 16px 20px 15px / 16px 20px 15px 18px;
  background: var(--animal-yellow);
  color: var(--animal-text);
  box-shadow: 0 4px 0 #d6b24b;
}

body:not(.deck-page) .nav-links {
  gap: 12px;
  color: var(--animal-body);
}

body:not(.deck-page) .nav-links a,
body:not(.deck-page) .nav-user {
  border-radius: var(--animal-radius-pill);
  padding: 8px 12px;
}

body:not(.deck-page) .nav-links a:hover {
  color: var(--animal-text);
  background: var(--animal-primary-bg);
}

body:not(.deck-page) .nav-actions {
  gap: 12px;
}

body:not(.deck-page) .button,
body:not(.deck-page) .console-action,
body:not(.deck-page) button[type="submit"],
body:not(.deck-page) .nav-logout,
body:not(.deck-page) .filter-button,
body:not(.deck-page) .calendar-status-button,
body:not(.deck-page) .calendar-move-button,
body:not(.deck-page) .calendar-delete-button,
body:not(.deck-page) .dudu-clear,
body:not(.deck-page) .dudu-records-head button,
body:not(.deck-page) .dudu-quick-row button,
body:not(.deck-page) .marketing-ai-clear,
body:not(.deck-page) .marketing-ai-records-head button,
body:not(.deck-page) .image2-mode button,
body:not(.deck-page) .image2-modal-close,
body:not(.deck-page) .image2-modal-open {
  min-height: 45px;
  border: 2px solid var(--animal-border);
  border-radius: var(--animal-radius-pill);
  padding: 0 20px;
  background: var(--animal-bg);
  color: var(--animal-text);
  font-family: var(--font-ui);
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 5px 0 var(--animal-shadow-btn);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

body:not(.deck-page) .button:hover,
body:not(.deck-page) .console-action:hover,
body:not(.deck-page) button[type="submit"]:hover,
body:not(.deck-page) .nav-logout:hover,
body:not(.deck-page) .filter-button:hover,
body:not(.deck-page) .calendar-status-button:hover,
body:not(.deck-page) .calendar-move-button:hover,
body:not(.deck-page) .calendar-delete-button:hover,
body:not(.deck-page) .dudu-clear:hover,
body:not(.deck-page) .dudu-records-head button:hover,
body:not(.deck-page) .dudu-quick-row button:hover,
body:not(.deck-page) .marketing-ai-clear:hover,
body:not(.deck-page) .marketing-ai-records-head button:hover,
body:not(.deck-page) .image2-mode button:hover,
body:not(.deck-page) .image2-modal-close:hover,
body:not(.deck-page) .image2-modal-open:hover {
  transform: translateY(-1px);
  border-color: var(--animal-primary);
  background: #fffdf4;
  box-shadow: 0 6px 0 var(--animal-shadow-btn);
}

body:not(.deck-page) .button:active,
body:not(.deck-page) button[type="submit"]:active,
body:not(.deck-page) .nav-logout:active,
body:not(.deck-page) .filter-button:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 var(--animal-shadow-btn);
}

body:not(.deck-page) .button.primary,
body:not(.deck-page) .console-action,
body:not(.deck-page) button[type="submit"],
body:not(.deck-page) .filter-button.is-active,
body:not(.deck-page) .image2-mode button.is-active {
  border-color: var(--animal-primary);
  background: var(--animal-primary);
  color: #fff;
  box-shadow: 0 5px 0 #11a89b;
}

body:not(.deck-page) .button.secondary {
  border-color: var(--animal-border);
  background: var(--animal-content);
  color: var(--animal-text);
}

body:not(.deck-page) input,
body:not(.deck-page) select,
body:not(.deck-page) textarea {
  border: 2.5px solid var(--animal-border-light);
  border-radius: var(--animal-radius-pill);
  background: var(--animal-content);
  color: var(--animal-body);
  font-family: var(--font-sans);
  font-weight: 600;
  box-shadow: 0 3px 0 var(--animal-shadow-input);
}

body:not(.deck-page) input[type="checkbox"],
body:not(.deck-page) input[type="radio"] {
  min-width: 18px;
  width: 18px;
  min-height: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  border-radius: 4px;
  background: var(--animal-paper-soft, #f3ecd8);
  box-shadow: none;
  accent-color: var(--animal-primary-readable);
}

body:not(.deck-page) textarea {
  border-radius: var(--animal-radius);
}

body:not(.deck-page) input::placeholder,
body:not(.deck-page) textarea::placeholder {
  color: var(--animal-soft);
  font-weight: 500;
}

body:not(.deck-page) input:focus,
body:not(.deck-page) select:focus,
body:not(.deck-page) textarea:focus {
  border-color: var(--animal-primary);
  box-shadow: 0 3px 0 var(--animal-shadow-input), 0 0 0 4px rgba(25, 200, 185, 0.14);
  outline: 0;
}

body:not(.deck-page) .page-head .container,
body:not(.deck-page) .ops-copy,
body:not(.deck-page) .intake-console,
body:not(.deck-page) .output-board,
body:not(.deck-page) .report-card,
body:not(.deck-page) .panel,
body:not(.deck-page) .entry-card,
body:not(.deck-page) .case-card,
body:not(.deck-page) .faq-item,
body:not(.deck-page) .form-shell,
body:not(.deck-page) .report-block,
body:not(.deck-page) .lab-summary,
body:not(.deck-page) .partner-panel,
body:not(.deck-page) .admin-stat,
body:not(.deck-page) .admin-panel,
body:not(.deck-page) .admin-chart-card,
body:not(.deck-page) .admin-module-card,
body:not(.deck-page) .feature-card,
body:not(.deck-page) .calendar-board,
body:not(.deck-page) .calendar-side-board,
body:not(.deck-page) .calendar-day-panel,
body:not(.deck-page) .calendar-pending-board,
body:not(.deck-page) .calendar-event,
body:not(.deck-page) .customers-panel,
body:not(.deck-page) .customer-card,
body:not(.deck-page) .dudu-intro,
body:not(.deck-page) .dudu-chat,
body:not(.deck-page) .dudu-records,
body:not(.deck-page) .dudu-thread,
body:not(.deck-page) .dudu-message,
body:not(.deck-page) .marketing-ai-sidebar,
body:not(.deck-page) .marketing-ai-chat,
body:not(.deck-page) .marketing-ai-copy-bank article,
body:not(.deck-page) .marketing-ai-thread,
body:not(.deck-page) .marketing-ai-message,
body:not(.deck-page) .image2-panel,
body:not(.deck-page) .image2-preview,
body:not(.deck-page) .image2-history-item {
  border: 2px solid rgba(159, 146, 125, 0.34);
  border-radius: var(--animal-radius);
  background: var(--animal-content);
  color: var(--animal-body);
  box-shadow: var(--animal-shadow-card);
}

body:not(.deck-page) .case-card,
body:not(.deck-page) .feature-card,
body:not(.deck-page) .admin-module-card,
body:not(.deck-page) .customer-card,
body:not(.deck-page) .image2-preview,
body:not(.deck-page) .image2-history-item {
  transition: transform 220ms ease, box-shadow 220ms ease;
}

body:not(.deck-page) .case-card:hover,
body:not(.deck-page) .feature-card:hover,
body:not(.deck-page) .admin-module-card:hover,
body:not(.deck-page) .customer-card:hover,
body:not(.deck-page) .image2-preview:hover,
body:not(.deck-page) .image2-history-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(61, 52, 40, 0.18);
}

body:not(.deck-page) .eyebrow {
  color: var(--animal-primary-active);
}

body:not(.deck-page) .eyebrow::before {
  background: var(--animal-yellow);
  box-shadow: 0 0 0 4px rgba(247, 205, 103, 0.28);
}

body:not(.deck-page) .tag,
body:not(.deck-page) .status,
body:not(.deck-page) .console-tags span,
body:not(.deck-page) .calendar-status-pill,
body:not(.deck-page) .dudu-hints span {
  border: 2px solid rgba(159, 146, 125, 0.28);
  background: #fffdf4;
  color: var(--animal-text);
  border-radius: var(--animal-radius-pill);
}

body:not(.deck-page) .choice {
  border: 2px dashed rgba(159, 146, 125, 0.45);
  border-radius: var(--animal-radius);
  background: #fffdf4;
  color: var(--animal-body);
  gap: 10px;
}

body:not(.deck-page) .choice:hover {
  border-color: var(--animal-primary);
  background: var(--animal-primary-bg);
}

body:not(.deck-page) .success-panel {
  border: 2px dashed rgba(111, 186, 44, 0.45);
  border-radius: var(--animal-radius);
  background: #f0f8df;
  color: #4f7e1f;
}

body:not(.deck-page) .admin-sidebar {
  border-right: 2px solid rgba(159, 146, 125, 0.28);
  background: #efe3cc;
  color: var(--animal-text);
}

body:not(.deck-page) .admin-side-nav {
  gap: 10px;
}

body:not(.deck-page) .admin-side-nav a {
  border-radius: var(--animal-radius-pill);
  color: var(--animal-body);
}

body:not(.deck-page) .admin-side-nav a:hover,
body:not(.deck-page) .admin-side-nav a.is-active {
  background: var(--animal-primary-bg);
  color: var(--animal-text);
}

body:not(.deck-page) .admin-topbar,
body:not(.deck-page) .screening-strip,
body:not(.deck-page) .filter-bar {
  border: 2px solid rgba(159, 146, 125, 0.26);
  border-radius: var(--animal-radius);
  background: rgba(255, 253, 244, 0.78);
  box-shadow: 0 4px 14px rgba(61, 52, 40, 0.08);
}

body:not(.deck-page) .admin-row,
body:not(.deck-page) .calendar-day,
body:not(.deck-page) .report-list li,
body:not(.deck-page) .report-queue div {
  border-color: rgba(159, 146, 125, 0.24);
  background: #fffdf4;
  color: var(--animal-body);
}

body:not(.deck-page) .admin-table,
body:not(.deck-page) .admin-row-actions,
body:not(.deck-page) .calendar-controls,
body:not(.deck-page) .calendar-status-actions,
body:not(.deck-page) .calendar-row-actions,
body:not(.deck-page) .image2-history-head,
body:not(.deck-page) .image2-history-pages,
body:not(.deck-page) .cta-actions,
body:not(.deck-page) .hero-actions,
body:not(.deck-page) .filter-bar,
body:not(.deck-page) .choice-grid,
body:not(.deck-page) .field-grid {
  gap: 14px;
}

body:not(.deck-page) .field,
body:not(.deck-page) .calendar-form,
body:not(.deck-page) .image2-form,
body:not(.deck-page) .dudu-compose,
body:not(.deck-page) .marketing-ai-compose {
  gap: 12px;
}

body:not(.deck-page) .calendar-month-grid {
  gap: 10px;
}

body:not(.deck-page) .calendar-weekdays {
  gap: 10px;
  color: var(--animal-muted);
}

body:not(.deck-page) .calendar-day.is-selected,
body:not(.deck-page) .calendar-day:hover {
  border-color: var(--animal-primary);
  background: var(--animal-primary-bg);
}

body:not(.deck-page) .dudu-page,
body:not(.deck-page).marketing-ai-page {
  background:
    radial-gradient(circle at 16% 10%, rgba(247, 205, 103, 0.4), transparent 24rem),
    radial-gradient(circle at 84% 18%, rgba(130, 213, 187, 0.32), transparent 28rem),
    linear-gradient(180deg, #fffdf4 0%, #f8f8f0 100%);
}

body:not(.deck-page) .dudu-message.is-user,
body:not(.deck-page) .marketing-ai-message.is-user {
  border-color: rgba(25, 200, 185, 0.34);
  background: var(--animal-primary-bg);
}

body:not(.deck-page) .dudu-message.is-bot,
body:not(.deck-page) .marketing-ai-message.is-bot {
  background: #fffdf4;
}

@media (max-width: 640px) {
  body:not(.deck-page) .marketing-ai-layout {
    gap: 14px;
    padding-bottom: 14px;
    background: var(--animal-bg);
  }

  body:not(.deck-page) .marketing-ai-sidebar,
  body:not(.deck-page) .marketing-ai-chat,
  body:not(.deck-page) .dudu-intro,
  body:not(.deck-page) .dudu-chat {
    border-radius: var(--animal-radius);
    margin: 0 10px;
  }

  body:not(.deck-page) .marketing-ai-sidebar {
    margin-top: 10px;
  }

  body:not(.deck-page) .marketing-ai-chat {
    min-height: calc(100vh - 184px);
    min-height: calc(100dvh - 184px);
  }
}

@media (max-width: 640px) {
  body:not(.deck-page) .marketing-ai-layout {
    display: grid;
    gap: 16px;
  }

  body:not(.deck-page) .marketing-ai-sidebar {
    min-height: 236px;
    padding: 14px;
    overflow: visible;
  }

  body:not(.deck-page) .marketing-ai-records {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 2px dashed rgba(159, 146, 125, 0.26);
  }

  body:not(.deck-page) .marketing-ai-records-head {
    margin-bottom: 10px;
  }

  body:not(.deck-page) .marketing-ai-chat {
    min-height: calc(100vh - 356px);
    min-height: calc(100dvh - 356px);
  }
}

/* Animal Island readability fixes on light panels */
body:not(.deck-page) label,
body:not(.deck-page) .field label,
body:not(.deck-page) .chat-room-form label,
body:not(.deck-page) .calendar-move-form label,
body:not(.deck-page) .calendar-date-field span,
body:not(.deck-page) .calendar-panel-head p,
body:not(.deck-page) .calendar-list-head p,
body:not(.deck-page) .admin-topbar p,
body:not(.deck-page) .admin-stat span,
body:not(.deck-page) .admin-stat small,
body:not(.deck-page) .admin-row span,
body:not(.deck-page) .admin-panel-head span,
body:not(.deck-page) .admin-module-card p,
body:not(.deck-page) .admin-module-card em,
body:not(.deck-page) .report-list span,
body:not(.deck-page) .report-queue div,
body:not(.deck-page) .report-queue span,
body:not(.deck-page) .calendar-day em,
body:not(.deck-page) .calendar-event span,
body:not(.deck-page) .calendar-event small,
body:not(.deck-page) .calendar-event p,
body:not(.deck-page) .customer-card span,
body:not(.deck-page) .customer-card small,
body:not(.deck-page) .image2-history-head span,
body:not(.deck-page) .image2-history-pages span,
body:not(.deck-page) .image2-upload small,
body:not(.deck-page) .dudu-intro p:not(.eyebrow),
body:not(.deck-page) .dudu-chat-head p,
body:not(.deck-page) .dudu-thread small,
body:not(.deck-page) .dudu-empty,
body:not(.deck-page) .marketing-ai-brand p:not(.eyebrow),
body:not(.deck-page) .marketing-ai-chat-head p,
body:not(.deck-page) .marketing-ai-thread small,
body:not(.deck-page) .marketing-ai-empty,
body:not(.deck-page) .marketing-ai-copy-bank .copy-text {
  color: var(--animal-muted);
}

body:not(.deck-page) .report-list strong,
body:not(.deck-page) .report-queue strong,
body:not(.deck-page) .admin-stat strong,
body:not(.deck-page) .admin-row strong,
body:not(.deck-page) .admin-panel-head h2,
body:not(.deck-page) .admin-module-card strong,
body:not(.deck-page) .calendar-panel-head h2,
body:not(.deck-page) .calendar-list-head h3,
body:not(.deck-page) .calendar-selected-head strong,
body:not(.deck-page) .calendar-day strong,
body:not(.deck-page) .calendar-event strong,
body:not(.deck-page) .dudu-chat-head h2,
body:not(.deck-page) .dudu-records-head strong,
body:not(.deck-page) .dudu-thread span,
body:not(.deck-page) .marketing-ai-brand h1,
body:not(.deck-page) .marketing-ai-chat-head h2,
body:not(.deck-page) .marketing-ai-records-head strong,
body:not(.deck-page) .marketing-ai-thread span,
body:not(.deck-page) .marketing-ai-copy-bank span {
  color: var(--animal-text);
}

body:not(.deck-page) .marketing-ai-brand h1 {
  font-size: clamp(28px, 2.6vw, 36px);
  line-height: 1.12;
  white-space: nowrap;
}

body:not(.deck-page) .dudu-avatar,
body:not(.deck-page) .marketing-ai-avatar {
  background: #f7cd67;
  color: var(--animal-text);
}

/* Animal Island background cleanup */
.deck-page .slide.dark,
.deck-page .slide.red {
  background:
    radial-gradient(circle at 12% 14%, rgba(247, 205, 103, 0.34), transparent 26rem),
    radial-gradient(circle at 82% 22%, rgba(130, 213, 187, 0.28), transparent 28rem),
    linear-gradient(180deg, #fffdf4 0%, #f8f8f0 100%);
  color: #794f27;
}

.deck-page .dark .shade,
.deck-page .red .shade {
  background: linear-gradient(90deg, rgba(255, 253, 244, 0.98), rgba(255, 253, 244, 0.84) 45%, rgba(255, 253, 244, 0.26));
}

.deck-page .dark .en,
.deck-page .red .en,
.deck-page .dark .item-en,
.deck-page .red .item-en,
.deck-page .system p {
  color: rgba(114, 93, 66, 0.76);
}

.deck-page .dark .kicker,
.deck-page .red .kicker,
.deck-page .dark .mark,
.deck-page .red .mark,
.deck-page .dark .panel .label,
.deck-page .dark .step .label,
.deck-page .dark .phase .label,
.deck-page .dark .system .label {
  color: #11a89b;
}

.deck-page .system {
  background: rgba(247, 243, 223, 0.88);
  border: 2px solid rgba(159, 146, 125, 0.28);
  border-radius: 22px;
  box-shadow: 0 8px 24px rgba(61, 52, 40, 0.14);
}

body:not(.deck-page) .admin-main,
body:not(.deck-page) .admin-workspace,
body:not(.deck-page) .chat-sidebar,
body:not(.deck-page) .chat-panel,
body:not(.deck-page) .chat-room-form,
body:not(.deck-page) .chat-messages,
body:not(.deck-page) .chat-room-list,
body:not(.deck-page) .chat-room,
body:not(.deck-page) .chat-message,
body:not(.deck-page) .customers-main,
body:not(.deck-page) .customers-hero,
body:not(.deck-page) .image2-main,
body:not(.deck-page) .marketing-ai-app,
body:not(.deck-page) .marketing-ai-hero,
body:not(.deck-page) .dudu-app,
body:not(.deck-page) .dudu-hero {
  background:
    radial-gradient(circle at 12% 8%, rgba(247, 205, 103, 0.18), transparent 24rem),
    radial-gradient(circle at 90% 14%, rgba(130, 213, 187, 0.16), transparent 26rem),
    #f8f8f0;
  color: var(--animal-body);
}

body:not(.deck-page) .chat-sidebar,
body:not(.deck-page) .chat-panel,
body:not(.deck-page) .chat-room-form,
body:not(.deck-page) .chat-room-list,
body:not(.deck-page) .chat-room,
body:not(.deck-page) .chat-message {
  border: 2px solid rgba(159, 146, 125, 0.34);
  border-radius: var(--animal-radius);
  box-shadow: var(--animal-shadow-card);
}

body:not(.deck-page) .chat-sidebar,
body:not(.deck-page) .chat-panel {
  background: var(--animal-content);
}

body:not(.deck-page) .chat-room,
body:not(.deck-page) .chat-message,
body:not(.deck-page) .chat-room-form,
body:not(.deck-page) .chat-messages {
  background:
    radial-gradient(circle at 100% 0%, rgba(130, 213, 187, 0.12), transparent 18rem),
    var(--animal-paper-soft);
}

body:not(.deck-page) .chat-room-form {
  gap: 16px;
  padding: 18px;
  overflow: hidden;
}

body:not(.deck-page) .chat-room-form label {
  gap: 10px;
}

body:not(.deck-page) .chat-room-form input,
body:not(.deck-page) .chat-room-form textarea {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

body:not(.deck-page) .chat-messages {
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(228, 244, 238, 0.46), rgba(243, 236, 216, 0.88)),
    var(--animal-paper-panel);
}

body:not(.deck-page) .chat-sidebar h2,
body:not(.deck-page) .chat-panel h2,
body:not(.deck-page) .chat-room strong,
body:not(.deck-page) .chat-message strong {
  color: var(--animal-text);
}

body:not(.deck-page) .chat-sidebar p,
body:not(.deck-page) .chat-panel p,
body:not(.deck-page) .chat-room span,
body:not(.deck-page) .chat-message small {
  color: var(--animal-muted);
}

/* Screenshot-driven Animal Island palette corrections */
body:not(.deck-page) .feature-icon {
  background: #82d5bb;
  color: #fff;
  border: 2px solid rgba(121, 79, 39, 0.1);
  border-radius: 16px 18px 15px 20px / 18px 15px 20px 16px;
  box-shadow: 0 4px 0 #66bfa5;
}

body:not(.deck-page) .feature-card:nth-child(2n) .feature-icon {
  background: #f7cd67;
  color: var(--animal-text);
  box-shadow: 0 4px 0 #d6b24b;
}

body:not(.deck-page) .feature-card:nth-child(3n) .feature-icon {
  background: #e59266;
  color: var(--animal-text);
  box-shadow: 0 4px 0 #c6754b;
}

body:not(.deck-page) .feature-card strong,
body:not(.deck-page) .feature-card a,
body:not(.deck-page) .customer-card a,
body:not(.deck-page) .customer-card dd a {
  color: #11a89b;
}

body:not(.deck-page) .feature-card strong:hover,
body:not(.deck-page) .feature-card a:hover {
  color: var(--animal-text);
}

body:not(.deck-page) .marketing-ai-compose,
body:not(.deck-page) .dudu-compose {
  border-top: 2px dashed rgba(159, 146, 125, 0.28);
  background: #f0e8d8;
}

body:not(.deck-page) .marketing-ai-controls {
  background: transparent;
}

body:not(.deck-page) .marketing-ai-skill-toggle,
body:not(.deck-page) .marketing-ai-model-select {
  border: 2px solid rgba(159, 146, 125, 0.34);
  border-radius: var(--animal-radius-pill);
  background: #fffdf4;
  color: var(--animal-text);
  box-shadow: 0 3px 0 var(--animal-shadow-input);
}

body:not(.deck-page) .marketing-ai-model-select select {
  border: 2px solid rgba(159, 146, 125, 0.22);
  border-radius: var(--animal-radius-pill);
  background: var(--animal-content);
  color: var(--animal-text);
}

body:not(.deck-page) .marketing-ai-skill-toggle input {
  accent-color: var(--animal-primary);
}

body:not(.deck-page) .marketing-ai-compose textarea,
body:not(.deck-page) .dudu-compose textarea {
  border: 2.5px solid var(--animal-border-light);
  border-radius: var(--animal-radius-pill);
  background: var(--animal-content);
  color: var(--animal-body);
  box-shadow: 0 3px 0 var(--animal-shadow-input);
}

body:not(.deck-page) .marketing-ai-compose button,
body:not(.deck-page) .dudu-compose button {
  border: 2px solid var(--animal-primary);
  border-radius: var(--animal-radius-pill);
  background: var(--animal-primary);
  color: #fff;
  box-shadow: 0 5px 0 #11a89b;
}

body:not(.deck-page) .customer-command,
body:not(.deck-page) .customer-ledger {
  border: 2px solid rgba(159, 146, 125, 0.34);
  border-radius: var(--animal-radius);
  background:
    radial-gradient(circle at 88% 8%, rgba(130, 213, 187, 0.18), transparent 22rem),
    var(--animal-content);
  box-shadow: var(--animal-shadow-card);
}

body:not(.deck-page) .customers-hero::after {
  background: linear-gradient(90deg, transparent, rgba(247, 205, 103, 0.78), rgba(130, 213, 187, 0.62), transparent);
}

body:not(.deck-page) .customer-ledger-head span,
body:not(.deck-page) .customer-filter-status,
body:not(.deck-page) .customer-owner-pills span {
  border-color: rgba(25, 200, 185, 0.34);
  background: var(--animal-primary-bg);
  color: var(--animal-primary-active);
}

body:not(.deck-page) .calendar-selected-head,
body:not(.deck-page) .calendar-timeline,
body:not(.deck-page) .calendar-day-panel .calendar-selected-head,
body:not(.deck-page) .calendar-day-panel .calendar-timeline,
body:not(.deck-page) .calendar-week-board,
body:not(.deck-page) .week-day,
body:not(.deck-page) .week-slot,
body:not(.deck-page) .calendar-date-field,
body:not(.deck-page) .calendar-event,
body:not(.deck-page) .todo-item,
body:not(.deck-page) .calendar-move-panel {
  border: 2px solid rgba(159, 146, 125, 0.28);
  border-radius: var(--animal-radius);
  background: #fffdf4;
  color: var(--animal-body);
  box-shadow: 0 4px 14px rgba(61, 52, 40, 0.08);
}

body:not(.deck-page) .week-day {
  background: #f0e8d8;
}

body:not(.deck-page) .week-day.is-selected {
  border-color: var(--animal-primary);
  background: var(--animal-primary-bg);
}

body:not(.deck-page) .week-slot {
  background: rgba(255, 253, 244, 0.86);
}

body:not(.deck-page) .week-event,
body:not(.deck-page) .calendar-event,
body:not(.deck-page) .timeline-item {
  --event-status: var(--animal-primary);
  --event-status-bg: rgba(25, 200, 185, 0.14);
  border-left: 4px solid var(--event-status);
  background:
    linear-gradient(135deg, var(--event-status-bg), transparent 62%),
    #f7f3df;
  color: var(--animal-body);
}

body:not(.deck-page) .week-event.is-done,
body:not(.deck-page) .calendar-event.is-done,
body:not(.deck-page) .timeline-item.is-done {
  --event-status: #8ac68a;
  --event-status-bg: rgba(138, 198, 138, 0.22);
}

body:not(.deck-page) .week-event.is-discarded,
body:not(.deck-page) .calendar-event.is-discarded,
body:not(.deck-page) .timeline-item.is-discarded {
  --event-status: #e18c6f;
  --event-status-bg: rgba(225, 140, 111, 0.18);
}

body:not(.deck-page) .calendar-status-pill,
body:not(.deck-page) .calendar-status-button,
body:not(.deck-page) .calendar-move-button,
body:not(.deck-page) .calendar-delete-button {
  border: 2px solid rgba(159, 146, 125, 0.34);
  background: #fffdf4;
  color: var(--animal-text);
}

body:not(.deck-page) .calendar-status-pill.is-done,
body:not(.deck-page) .calendar-status-button.is-done,
body:not(.deck-page) .calendar-status-button.is-active.is-current {
  border-color: rgba(138, 198, 138, 0.7);
  background: #edf7e6;
  color: #5a9e1e;
  box-shadow: none;
}

body:not(.deck-page) .calendar-status-pill.is-discarded,
body:not(.deck-page) .calendar-status-button.is-discarded,
body:not(.deck-page) .calendar-delete-button {
  border-color: rgba(225, 140, 111, 0.62);
  background: #fff0e9;
  color: #a85d43;
}

body:not(.deck-page) .calendar-move-button {
  border-color: rgba(25, 200, 185, 0.5);
  background: var(--animal-primary-bg);
  color: var(--animal-primary-active);
}

body:not(.deck-page) .calendar-all-events::-webkit-scrollbar-track {
  background: rgba(159, 146, 125, 0.16);
}

body:not(.deck-page) .calendar-all-events::-webkit-scrollbar-thumb {
  background: rgba(25, 200, 185, 0.48);
}

body:not(.deck-page) .calendar-day-load i {
  background: linear-gradient(180deg, #82d5bb, #f7cd67);
}

/* Readability pass: keep Animal Island colors but raise text contrast */
body:not(.deck-page) .button.primary,
body:not(.deck-page) .console-action,
body:not(.deck-page) button[type="submit"],
body:not(.deck-page) .filter-button.is-active,
body:not(.deck-page) .image2-mode button.is-active,
body:not(.deck-page) .marketing-ai-compose button,
body:not(.deck-page) .dudu-compose button {
  background: var(--animal-primary-readable);
  border-color: var(--animal-primary-readable);
  color: #fff;
  box-shadow: 0 5px 0 #065a55;
}

body:not(.deck-page) .button.primary:hover,
body:not(.deck-page) button[type="submit"]:hover,
body:not(.deck-page) .marketing-ai-compose button:hover,
body:not(.deck-page) .dudu-compose button:hover {
  background: #0b827b;
  border-color: #0b827b;
  box-shadow: 0 6px 0 #065a55;
}

body:not(.deck-page) .eyebrow,
body:not(.deck-page) .feature-card strong,
body:not(.deck-page) .feature-card a,
body:not(.deck-page) .customer-card a,
body:not(.deck-page) .customer-card dd a,
body:not(.deck-page) .customer-ledger-head span,
body:not(.deck-page) .customer-filter-status,
body:not(.deck-page) .customer-owner-pills span,
body:not(.deck-page) .calendar-move-button {
  color: var(--animal-primary-readable);
}

body:not(.deck-page) label,
body:not(.deck-page) .field label,
body:not(.deck-page) .customer-form label,
body:not(.deck-page) .customer-owner-field > span,
body:not(.deck-page) .customer-filter-bar span,
body:not(.deck-page) .customer-card dt,
body:not(.deck-page) .customer-card-top,
body:not(.deck-page) .customer-card-top span,
body:not(.deck-page) .calendar-selected-head span,
body:not(.deck-page) .calendar-date-field span,
body:not(.deck-page) .week-slot > span,
body:not(.deck-page) .week-day header,
body:not(.deck-page) .week-day header strong,
body:not(.deck-page) .calendar-panel-head p,
body:not(.deck-page) .calendar-list-head p,
body:not(.deck-page) .sublead,
body:not(.deck-page) .section-head p,
body:not(.deck-page) .panel p,
body:not(.deck-page) .case-card p,
body:not(.deck-page) .case-card dd,
body:not(.deck-page) .faq-item p,
body:not(.deck-page) .report-block p,
body:not(.deck-page) .report-block li,
body:not(.deck-page) .page-head p:not(.eyebrow),
body:not(.deck-page) .feature-card p,
body:not(.deck-page) .customer-command p:not(.eyebrow) {
  color: var(--animal-body);
}

body:not(.deck-page) .customer-owner-picker {
  border: 2.5px solid var(--animal-border-light);
  border-radius: var(--animal-radius-pill);
  background: var(--animal-content);
  box-shadow: 0 3px 0 var(--animal-shadow-input);
}

body:not(.deck-page) .customer-owner-picker p,
body:not(.deck-page) .customer-card dd,
body:not(.deck-page) .customer-pagination span,
body:not(.deck-page) .calendar-event p,
body:not(.deck-page) .week-event small,
body:not(.deck-page) .week-empty,
body:not(.deck-page) .timeline-item p {
  color: var(--animal-body);
}

body:not(.deck-page) .customer-card-top strong,
body:not(.deck-page) .customer-card h3,
body:not(.deck-page) .customer-card-title h3,
body:not(.deck-page) .customer-command h2,
body:not(.deck-page) .customer-ledger h2,
body:not(.deck-page) .calendar-event strong,
body:not(.deck-page) .week-event strong,
body:not(.deck-page) .timeline-item strong {
  color: var(--animal-text);
}

body:not(.deck-page) .customer-filter-bar {
  border: 2px solid rgba(159, 146, 125, 0.28);
  background: #fffdf4;
  box-shadow: 0 4px 14px rgba(61, 52, 40, 0.08);
}

body:not(.deck-page) input::placeholder,
body:not(.deck-page) textarea::placeholder {
  color: #8f7d63;
  opacity: 1;
}

body:not(.deck-page) .customer-card .button.secondary,
body:not(.deck-page) .customer-owner-picker .button.secondary,
body:not(.deck-page) .customer-filter-bar .button.secondary {
  color: var(--animal-text);
}

body:not(.deck-page) .customer-command,
body:not(.deck-page) .customer-ledger,
body:not(.deck-page) .customer-card {
  background:
    radial-gradient(circle at 90% 8%, rgba(130, 213, 187, 0.16), transparent 20rem),
    var(--animal-content);
  color: var(--animal-body);
}

body:not(.deck-page) .customer-filter-bar,
body:not(.deck-page) .customer-owner-picker,
body:not(.deck-page) .customer-card {
  border-color: rgba(159, 146, 125, 0.38);
}

body:not(.deck-page) .customer-filter-bar span,
body:not(.deck-page) .customer-owner-field > span,
body:not(.deck-page) .customer-card dt {
  color: #6f5a3f;
}

body:not(.deck-page) .customer-owner-picker p,
body:not(.deck-page) .customer-card dd,
body:not(.deck-page) .customer-pagination span {
  color: #5f4d35;
}

body:not(.deck-page) .customer-card-top strong,
body:not(.deck-page) .customer-owner-pills span {
  color: var(--animal-primary-readable);
}

body:not(.deck-page) .customer-filter-status {
  background: var(--animal-primary-bg);
  color: var(--animal-primary-readable);
}

body:not(.deck-page) .feature-icon {
  color: #4b351f;
}

body:not(.deck-page) .feature-card:nth-child(3n) .feature-icon {
  color: #4b351f;
}

body:not(.deck-page) .chat-empty,
body:not(.deck-page) p.chat-empty {
  color: var(--animal-body);
}

body:not(.deck-page) .dudu-intro p:not(.eyebrow),
body:not(.deck-page) .dudu-chat-head p,
body:not(.deck-page) .dudu-empty,
body:not(.deck-page) .marketing-ai-brand p:not(.eyebrow),
body:not(.deck-page) .marketing-ai-chat-head p,
body:not(.deck-page) .marketing-ai-copy-bank .copy-text,
body:not(.deck-page) .marketing-ai-empty,
body:not(.deck-page) .chat-empty,
body:not(.deck-page) .chat-room-form label,
body:not(.deck-page) .chat-sidebar label,
body:not(.deck-page) .chat-panel label {
  color: var(--animal-body);
}

/* 2026-06-29 screenshot pass: final color and spacing corrections */
body:not(.deck-page) .admin-panel-head {
  border-bottom: 2px solid rgba(159, 146, 125, 0.24);
  background:
    linear-gradient(135deg, rgba(230, 249, 246, 0.88), rgba(255, 253, 244, 0.92)),
    #fffdf4;
  color: var(--animal-text);
}

body:not(.deck-page) .admin-panel-head h2,
body:not(.deck-page) .admin-panel-head span {
  color: var(--animal-text);
}

body:not(.deck-page) .admin-panel-head span {
  opacity: 0.72;
}

body:not(.deck-page) .admin-sidebar-brand small,
body:not(.deck-page) .admin-side-nav span,
body:not(.deck-page) .admin-crumb,
body:not(.deck-page) .admin-crumb span,
body:not(.deck-page) .admin-topbar p,
body:not(.deck-page) .admin-topbar-meta span {
  color: #6f5a3f;
}

body:not(.deck-page) .admin-sidebar-brand strong,
body:not(.deck-page) .admin-side-nav a,
body:not(.deck-page) .admin-crumb strong,
body:not(.deck-page) .admin-topbar-meta strong {
  color: var(--animal-text);
}

body:not(.deck-page) .customer-filter-status {
  display: inline-flex;
  width: fit-content;
  margin-top: 14px;
  border: 1px solid rgba(25, 200, 185, 0.26);
  border-radius: var(--animal-radius-sm);
  padding: 8px 12px;
  background: #eaf8f3;
  color: var(--animal-primary-readable);
}

body:not(.deck-page) .image2-gallery {
  gap: 18px;
}

body:not(.deck-page) .image2-preview,
body:not(.deck-page) .image2-preview img {
  border-color: rgba(159, 146, 125, 0.34);
  background:
    linear-gradient(135deg, rgba(230, 249, 246, 0.72), rgba(255, 253, 244, 0.92)),
    var(--animal-content);
}

body:not(.deck-page) .image2-preview {
  padding: 8px;
}

body:not(.deck-page) .image2-history-item {
  gap: 16px;
  padding: 20px;
}

body:not(.deck-page) .image2-history-item div {
  gap: 14px;
}

body:not(.deck-page) .image2-history-item .image2-preview {
  padding: 10px;
}

body:not(.deck-page) .image2-preview img {
  display: block;
  border-width: 0;
  box-shadow: inset 0 0 0 1px rgba(159, 146, 125, 0.18);
}

body:not(.deck-page) .image2-zoom {
  top: 14px;
  right: 14px;
  border: 2px solid rgba(159, 146, 125, 0.32);
  background: #fffdf4;
  color: var(--animal-text);
  box-shadow: 0 3px 0 var(--animal-shadow-btn);
}

body:not(.deck-page) .chat-compose {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  border-top: 2px solid rgba(159, 146, 125, 0.22);
  padding-top: 20px;
}

body:not(.deck-page) .chat-compose input {
  min-height: 56px;
  border-width: 2.5px;
  background: #fffdf4;
}

body:not(.deck-page) .chat-compose .button,
body:not(.deck-page) .chat-compose button {
  min-width: 94px;
  min-height: 56px;
}

body:not(.deck-page) .calendar-week-board {
  gap: 18px;
}

body:not(.deck-page) .week-day.is-selected {
  border-color: rgba(25, 200, 185, 0.58);
  background:
    linear-gradient(180deg, rgba(230, 249, 246, 0.58), rgba(255, 253, 244, 0.94)),
    #fffdf4;
}

body:not(.deck-page) .week-slot {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 14px;
}

body:not(.deck-page) .week-event,
body:not(.deck-page) .calendar-event {
  gap: 10px;
  padding: 14px;
}

body:not(.deck-page) .week-event-top,
body:not(.deck-page) .calendar-event div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
}

body:not(.deck-page) .week-event strong,
body:not(.deck-page) .calendar-event strong {
  line-height: 1.35;
}

body:not(.deck-page) .calendar-status-pill {
  margin-left: 0;
}

body:not(.deck-page) .calendar-status-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(92px, max-content));
  gap: 12px 16px;
  align-items: center;
  margin-top: 12px;
}

body:not(.deck-page) .week-event .calendar-move-button,
body:not(.deck-page) .week-event .calendar-delete-button,
body:not(.deck-page) .calendar-status-button,
body:not(.deck-page) .calendar-move-button,
body:not(.deck-page) .calendar-delete-button {
  min-height: 38px;
  padding: 7px 15px;
  line-height: 1.15;
  box-shadow: 0 4px 0 var(--animal-shadow-btn);
}

body:not(.deck-page) .calendar-status-button.is-done,
body:not(.deck-page) .calendar-status-button.is-active.is-current,
body:not(.deck-page) .calendar-status-pill.is-done {
  color: #3f8620;
}

body:not(.deck-page) .calendar-date-field {
  gap: 8px;
  padding: 12px 16px;
}

body:not(.deck-page) .calendar-date-field strong {
  color: #4a9827;
}

@media (max-width: 720px) {
  body:not(.deck-page) .chat-compose {
    grid-template-columns: 1fr;
  }

  body:not(.deck-page) .chat-compose .button,
  body:not(.deck-page) .chat-compose button {
    width: 100%;
  }

  body:not(.deck-page) .week-slot,
  body:not(.deck-page) .week-event,
  body:not(.deck-page) .calendar-event {
    padding: 14px;
  }

  body:not(.deck-page) .calendar-status-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 16px;
  }

  body:not(.deck-page) .calendar-status-button,
  body:not(.deck-page) .calendar-move-button,
  body:not(.deck-page) .calendar-delete-button {
    justify-content: center;
    width: 100%;
  }
}

/* Soft surface pass: reduce stark white panels across app pages */
body:not(.deck-page) {
  --animal-paper-soft: #f3ecd8;
  --animal-paper-panel: #f0e8d8;
  --animal-paper-panel-2: #efe3cc;
  --animal-mint-panel: #e4f4ee;
  --panel-2: var(--animal-paper-soft);
}

body:not(.deck-page) .page-head .container,
body:not(.deck-page) .ops-copy,
body:not(.deck-page) .intake-console,
body:not(.deck-page) .output-board,
body:not(.deck-page) .report-card,
body:not(.deck-page) .panel,
body:not(.deck-page) .entry-card,
body:not(.deck-page) .case-card,
body:not(.deck-page) .faq-item,
body:not(.deck-page) .form-shell,
body:not(.deck-page) .report-block,
body:not(.deck-page) .lab-summary,
body:not(.deck-page) .partner-panel,
body:not(.deck-page) .admin-stat,
body:not(.deck-page) .admin-panel,
body:not(.deck-page) .admin-chart-card,
body:not(.deck-page) .admin-module-card,
body:not(.deck-page) .feature-card,
body:not(.deck-page) .calendar-board,
body:not(.deck-page) .calendar-side-board,
body:not(.deck-page) .calendar-day-panel,
body:not(.deck-page) .calendar-pending-board,
body:not(.deck-page) .calendar-event,
body:not(.deck-page) .customers-panel,
body:not(.deck-page) .customer-card,
body:not(.deck-page) .dudu-intro,
body:not(.deck-page) .dudu-chat,
body:not(.deck-page) .dudu-records,
body:not(.deck-page) .dudu-thread,
body:not(.deck-page) .dudu-message,
body:not(.deck-page) .marketing-ai-sidebar,
body:not(.deck-page) .marketing-ai-chat,
body:not(.deck-page) .marketing-ai-copy-bank article,
body:not(.deck-page) .marketing-ai-thread,
body:not(.deck-page) .marketing-ai-message,
body:not(.deck-page) .image2-panel,
body:not(.deck-page) .image2-preview,
body:not(.deck-page) .image2-history-item {
  background:
    radial-gradient(circle at 100% 0%, rgba(130, 213, 187, 0.11), transparent 18rem),
    var(--animal-paper-soft);
}

body:not(.deck-page) input,
body:not(.deck-page) select,
body:not(.deck-page) textarea,
body:not(.deck-page) .button.secondary,
body:not(.deck-page) .tag,
body:not(.deck-page) .status,
body:not(.deck-page) .console-tags span,
body:not(.deck-page) .calendar-status-pill,
body:not(.deck-page) .dudu-hints span,
body:not(.deck-page) .choice,
body:not(.deck-page) .admin-row,
body:not(.deck-page) .calendar-day,
body:not(.deck-page) .report-list li,
body:not(.deck-page) .report-queue div,
body:not(.deck-page) .dudu-message.is-bot,
body:not(.deck-page) .marketing-ai-message.is-bot,
body:not(.deck-page) .chat-compose input,
body:not(.deck-page) .image2-zoom {
  background: var(--animal-paper-panel);
}

body:not(.deck-page) .site-header,
body:not(.deck-page) .admin-topbar,
body:not(.deck-page) .screening-strip,
body:not(.deck-page) .filter-bar,
body:not(.deck-page) .admin-panel-head {
  background:
    linear-gradient(135deg, rgba(228, 244, 238, 0.72), rgba(240, 232, 216, 0.95)),
    var(--animal-paper-panel);
}

body:not(.deck-page) .week-day.is-selected,
body:not(.deck-page) .calendar-day.is-selected,
body:not(.deck-page) .calendar-day:hover,
body:not(.deck-page) .dudu-message.is-user,
body:not(.deck-page) .marketing-ai-message.is-user,
body:not(.deck-page) .customer-filter-status {
  background: var(--animal-mint-panel);
}

body:not(.deck-page) .week-slot,
body:not(.deck-page) .calendar-selected-head,
body:not(.deck-page) .calendar-timeline,
body:not(.deck-page) .calendar-date-field,
body:not(.deck-page) .calendar-move-panel {
  background: var(--animal-paper-panel);
}

body:not(.deck-page) .week-event,
body:not(.deck-page) .calendar-event,
body:not(.deck-page) .timeline-item,
body:not(.deck-page) .image2-preview,
body:not(.deck-page) .image2-preview img {
  background:
    linear-gradient(135deg, var(--event-status-bg, rgba(130, 213, 187, 0.13)), transparent 62%),
    var(--animal-paper-soft);
}

body:not(.deck-page) .button:hover,
body:not(.deck-page) .console-action:hover,
body:not(.deck-page) button[type="submit"]:hover,
body:not(.deck-page) .nav-logout:hover,
body:not(.deck-page) .filter-button:hover,
body:not(.deck-page) .calendar-status-button:hover,
body:not(.deck-page) .calendar-move-button:hover,
body:not(.deck-page) .calendar-delete-button:hover,
body:not(.deck-page) .dudu-clear:hover,
body:not(.deck-page) .dudu-records-head button:hover,
body:not(.deck-page) .dudu-quick-row button:hover,
body:not(.deck-page) .marketing-ai-clear:hover,
body:not(.deck-page) .marketing-ai-records-head button:hover,
body:not(.deck-page) .image2-mode button:hover,
body:not(.deck-page) .image2-modal-close:hover,
body:not(.deck-page) .image2-modal-open:hover {
  background: var(--animal-mint-panel);
}

/* 2026-06-29 uploaded screenshot issue pass */
body:not(.deck-page) .customer-owner-field {
  display: grid;
  grid-template-rows: auto auto;
  gap: 10px;
  align-items: start;
}

body:not(.deck-page) .customer-owner-picker {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  height: auto;
  padding: 7px 8px 7px 18px;
  overflow: hidden;
}

body:not(.deck-page) .customer-owner-picker p {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 28px;
  height: auto;
  padding: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body:not(.deck-page) .customer-owner-picker .button,
body:not(.deck-page) .customer-owner-picker button {
  flex: 0 0 auto;
  width: auto;
  min-width: 62px;
  min-height: 36px;
  height: 36px;
  padding: 0 14px;
  box-shadow: 0 3px 0 var(--animal-shadow-btn);
}

body:not(.deck-page) .customer-filter-bar {
  border-color: rgba(159, 146, 125, 0.34);
  background:
    radial-gradient(circle at 100% 0%, rgba(130, 213, 187, 0.1), transparent 18rem),
    var(--animal-paper-panel);
}

body:not(.deck-page) .customer-filter-bar input,
body:not(.deck-page) .customer-filter-bar select {
  background: var(--animal-paper-soft);
}

body:not(.deck-page) .customer-filter-bar .button {
  min-height: 48px;
}

body:not(.deck-page) .calendar-week-board {
  grid-template-columns: repeat(7, minmax(220px, 1fr));
  overflow-x: auto;
  overscroll-behavior-x: contain;
}

body:not(.deck-page) .week-day {
  min-width: 220px;
  overflow: hidden;
}

body:not(.deck-page) .week-slot {
  overflow: hidden;
}

body:not(.deck-page) .week-event {
  min-width: 0;
  overflow: hidden;
}

body:not(.deck-page) .week-event-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
}

body:not(.deck-page) .week-event strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

body:not(.deck-page) .week-event .calendar-move-button,
body:not(.deck-page) .week-event .calendar-delete-button {
  min-width: 62px;
  min-height: 34px;
  padding: 5px 12px;
}

body:not(.deck-page) .week-event .calendar-status-actions,
body:not(.deck-page) .calendar-event.is-compact .calendar-status-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
}

body:not(.deck-page) .image2-modal-close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 2px solid rgba(159, 146, 125, 0.62);
  border-radius: 999px;
  background: var(--animal-paper-panel);
  color: var(--animal-text);
  font-size: 34px;
  font-weight: 500;
  line-height: 0;
  box-shadow: 0 4px 0 var(--animal-shadow-btn);
}

body:not(.deck-page) .marketing-ai-compose {
  grid-template-columns: minmax(0, 1fr) 82px;
  gap: 14px 16px;
  align-items: end;
}

body:not(.deck-page) .marketing-ai-controls {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 238px);
  gap: 12px;
  align-items: center;
}

body:not(.deck-page) .marketing-ai-skill-toggle,
body:not(.deck-page) .marketing-ai-model-select {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  height: 44px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--animal-radius-pill);
  background: var(--animal-paper-panel);
  white-space: nowrap;
  overflow: hidden;
}

body:not(.deck-page) .marketing-ai-model-select > span,
body:not(.deck-page) .marketing-ai-skill-toggle > span {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1;
}

body:not(.deck-page) .marketing-ai-model-select select {
  width: 100%;
  min-width: 0;
  height: 32px;
  min-height: 32px;
  padding: 0 30px 0 10px;
  border-width: 0;
  background: var(--animal-paper-soft);
  box-shadow: none;
}

body:not(.deck-page) .marketing-ai-skill-toggle input {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
}

body:not(.deck-page) .marketing-ai-compose button {
  width: 82px;
  min-width: 82px;
  height: 56px;
  min-height: 56px;
  border-width: 0;
  box-shadow: 0 5px 0 #065a55;
}

body:not(.deck-page) .marketing-ai-compose textarea {
  min-height: 56px;
  max-height: 128px;
  overflow-y: auto;
  scrollbar-color: var(--animal-border) var(--animal-paper-panel);
  scrollbar-width: thin;
}

body:not(.deck-page) .marketing-ai-compose textarea::-webkit-scrollbar {
  width: 10px;
}

body:not(.deck-page) .marketing-ai-compose textarea::-webkit-scrollbar-track {
  border-radius: 999px;
  background: var(--animal-paper-panel);
}

body:not(.deck-page) .marketing-ai-compose textarea::-webkit-scrollbar-thumb {
  border: 2px solid var(--animal-paper-panel);
  border-radius: 999px;
  background: var(--animal-border);
}

body:not(.deck-page) .marketing-ai-copy-bank {
  overflow: hidden;
}

body:not(.deck-page) .marketing-ai-copy-bank article {
  box-sizing: border-box;
}

body:not(.deck-page) .marketing-ai-copy-bank article:nth-child(n+3) {
  display: none;
}

body:not(.deck-page) .calendar-day-panel {
  gap: 16px;
  padding: 18px;
}

body:not(.deck-page) .calendar-day-panel .calendar-selected-head,
body:not(.deck-page) .calendar-day-panel .calendar-timeline {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

body:not(.deck-page) .calendar-events.compact {
  gap: 14px;
}

body:not(.deck-page) .calendar-event.is-compact {
  min-width: 0;
  overflow: hidden;
  padding: 14px;
}

body:not(.deck-page) .calendar-event.is-compact div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

body:not(.deck-page) .calendar-event.is-compact strong,
body:not(.deck-page) .calendar-event.is-compact p {
  overflow-wrap: anywhere;
}

body:not(.deck-page) .calendar-event.is-compact .calendar-status-button,
body:not(.deck-page) .calendar-event.is-compact .calendar-move-button,
body:not(.deck-page) .calendar-event.is-compact .calendar-delete-button {
  min-width: 0;
  width: 100%;
  padding: 7px 10px;
}

@media (max-width: 760px) {
  body:not(.deck-page) .marketing-ai-app {
    height: auto;
    min-height: 100dvh;
    overflow: visible;
  }

  body:not(.deck-page) .marketing-ai-hero,
  body:not(.deck-page) .marketing-ai-layout {
    height: auto;
  }

  body:not(.deck-page) .marketing-ai-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 10px;
  }

  body:not(.deck-page) .marketing-ai-sidebar {
    min-height: 0;
    height: auto;
    overflow: hidden;
    padding: 18px;
  }

  body:not(.deck-page) .marketing-ai-copy-bank {
    max-height: none;
    height: auto;
    overflow: hidden;
  }

  body:not(.deck-page) .marketing-ai-records {
    height: auto;
    margin-top: 18px;
    padding-top: 14px;
    overflow: hidden;
  }

  body:not(.deck-page) .marketing-ai-threads {
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
  }
}

@media (max-width: 720px) {
  body:not(.deck-page) .customer-filter-bar {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  body:not(.deck-page) .marketing-ai-compose {
    grid-template-columns: 1fr;
  }

  body:not(.deck-page) .marketing-ai-controls {
    grid-template-columns: 1fr;
  }

  body:not(.deck-page) .marketing-ai-compose button {
    width: 100%;
  }

  body:not(.deck-page) .calendar-day-panel {
    padding: 18px;
  }

  body:not(.deck-page) .calendar-event.is-compact .calendar-status-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  body:not(.deck-page) .calendar-event,
  body:not(.deck-page) .calendar-event.is-compact {
    padding: 12px;
  }

  body:not(.deck-page) .calendar-event div,
  body:not(.deck-page) .calendar-event.is-compact div {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  body:not(.deck-page) .calendar-event .calendar-row-actions,
  body:not(.deck-page) .calendar-event.is-compact .calendar-row-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
  }

  body:not(.deck-page) .calendar-event .calendar-status-actions,
  body:not(.deck-page) .calendar-event.is-compact .calendar-status-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
  }

  body:not(.deck-page) .calendar-event .calendar-status-button,
  body:not(.deck-page) .calendar-event .calendar-move-button,
  body:not(.deck-page) .calendar-event .calendar-delete-button,
  body:not(.deck-page) .calendar-event.is-compact .calendar-status-button,
  body:not(.deck-page) .calendar-event.is-compact .calendar-move-button,
  body:not(.deck-page) .calendar-event.is-compact .calendar-delete-button {
    width: 100%;
    min-width: 0;
    padding: 7px 8px;
    box-sizing: border-box;
  }
}

/* Component-scoped containment fixes; do not depend on viewport width */
body:not(.deck-page) .marketing-ai-app {
  height: auto;
  min-height: calc(100vh - 68px);
  min-height: calc(100dvh - 68px);
  overflow: visible;
}

body:not(.deck-page) .marketing-ai-hero,
body:not(.deck-page) .marketing-ai-layout {
  min-height: inherit;
  height: auto;
}

body:not(.deck-page) .marketing-ai-sidebar {
  height: auto;
  min-height: 0;
  overflow: hidden;
}

body:not(.deck-page) .marketing-ai-copy-bank {
  flex: 0 0 auto;
}

body:not(.deck-page) .marketing-ai-records {
  flex: 0 0 auto;
  overflow: hidden;
}

body:not(.deck-page) .marketing-ai-chat {
  min-height: min(760px, calc(100vh - 120px));
  min-height: min(760px, calc(100dvh - 120px));
}

body:not(.deck-page) .calendar-task-board .calendar-event,
body:not(.deck-page) .calendar-task-board .calendar-event.is-compact {
  overflow: hidden;
}

body:not(.deck-page) .calendar-task-board .calendar-event div,
body:not(.deck-page) .calendar-task-board .calendar-event.is-compact div {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}

body:not(.deck-page) .calendar-task-board .calendar-event .calendar-row-actions,
body:not(.deck-page) .calendar-task-board .calendar-event.is-compact .calendar-row-actions,
body:not(.deck-page) .calendar-task-board .calendar-event .calendar-status-actions,
body:not(.deck-page) .calendar-task-board .calendar-event.is-compact .calendar-status-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
}

body:not(.deck-page) .calendar-task-board .calendar-event .calendar-status-button,
body:not(.deck-page) .calendar-task-board .calendar-event .calendar-move-button,
body:not(.deck-page) .calendar-task-board .calendar-event .calendar-delete-button,
body:not(.deck-page) .calendar-task-board .calendar-event.is-compact .calendar-status-button,
body:not(.deck-page) .calendar-task-board .calendar-event.is-compact .calendar-move-button,
body:not(.deck-page) .calendar-task-board .calendar-event.is-compact .calendar-delete-button {
  min-width: 0;
  width: 100%;
  max-width: 100%;
  padding: 7px 8px;
  box-sizing: border-box;
}

body:not(.deck-page) .calendar-task-board .timeline-item {
  grid-template-columns: 54px minmax(0, 1fr);
  overflow: hidden;
  padding-right: 12px;
}

body:not(.deck-page) .calendar-task-board .timeline-item > div {
  min-width: 0;
  overflow: hidden;
}

body:not(.deck-page) .calendar-task-board .timeline-item .calendar-status-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
}

body:not(.deck-page) .calendar-task-board .timeline-item .calendar-move-button,
body:not(.deck-page) .calendar-task-board .timeline-item .calendar-status-button {
  min-width: 0;
  width: 100%;
  max-width: 100%;
  padding: 7px 8px;
  box-sizing: border-box;
}

@media (max-width: 520px) {
  body:not(.deck-page) .calendar-task-board .timeline-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  body:not(.deck-page) .calendar-task-board .timeline-item time {
    display: block;
  }
}

.signup-page {
  overflow: hidden;
}

.signup-share-image-probe {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
  clip-path: inset(50%);
}

.signup-hero {
  padding: 40px 0 48px;
}

.signup-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.signup-copy h1 {
  display: grid;
  gap: 8px;
  margin: 12px 0 18px;
  max-width: 640px;
  font-size: clamp(48px, 7vw, 86px);
  line-height: 0.94;
  letter-spacing: 0;
}

.signup-copy h1 span {
  display: block;
  white-space: nowrap;
}

.signup-title-brand {
  font-size: 0.62em;
}

.signup-title-main {
  font-size: 1em;
}

.signup-lead {
  max-width: 620px;
  margin: 0;
  color: var(--soft);
  font-size: clamp(17px, 2.2vw, 22px);
}

.signup-date,
.signup-slots {
  max-width: 620px;
  margin: 12px 0 0;
  color: var(--animal-text, var(--ink));
  font-weight: 800;
}

.signup-slots {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(25, 200, 185, 0.28);
  border-radius: 999px;
  background: rgba(25, 200, 185, 0.1);
  color: var(--animal-primary-readable, #00796f);
}

.signup-intro,
.signup-audience {
  max-width: 640px;
  margin: 14px 0 0;
  color: var(--animal-body, var(--ink));
  font-size: 16px;
  line-height: 1.65;
}

.signup-takeaways {
  max-width: 640px;
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(159, 146, 125, 0.28);
  border-radius: 8px;
  background: rgba(255, 253, 244, 0.62);
  color: var(--animal-body, var(--ink));
}

.signup-takeaways strong {
  display: block;
  margin-bottom: 10px;
}

.signup-takeaways ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.signup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.signup-note {
  display: inline-flex;
  margin: 18px 0 0;
  padding: 10px 14px;
  border: 1px solid rgba(34, 199, 255, 0.32);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(34, 199, 255, 0.1);
}

.signup-copy [data-signup-share] {
  margin-top: 22px;
  margin-bottom: 22px;
}

body:not(.deck-page) .signup-form .field-grid {
  column-gap: 14px;
  row-gap: 8px;
}

body:not(.deck-page) .signup-form .field {
  grid-template-rows: auto auto 10px;
  gap: 4px;
}

body:not(.deck-page) .signup-form .field-grid > .field.full:last-child {
  grid-template-rows: auto auto 22px;
}

body:not(.deck-page) .signup-form > .button[type="submit"] {
  margin-top: 8px;
}

.signup-invite {
  margin-top: 18px;
  padding: 18px;
  border: 2px solid rgba(25, 200, 185, 0.3);
  border-radius: var(--animal-radius, 18px);
  background: linear-gradient(135deg, rgba(255, 253, 244, 0.96), rgba(226, 247, 238, 0.92));
  color: var(--animal-body, var(--ink));
}

.signup-invite h2 {
  margin: 6px 0 10px;
  font-size: 24px;
  line-height: 1.2;
}

.signup-invite p {
  margin: 0;
  line-height: 1.7;
}

.signup-invite dl {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
}

.signup-invite div {
  display: grid;
  gap: 4px;
}

.signup-invite dt {
  color: var(--animal-soft, #7c6b50);
  font-size: 13px;
  font-weight: 800;
}

.signup-invite dd {
  margin: 0;
  font-weight: 900;
}

.signup-cover {
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
  background: #111827;
}

.signup-cover img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 630;
  object-fit: cover;
}

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

.signup-info {
  min-height: 100%;
}

.feature-head-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.feature-head-action {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(245, 158, 11, 0.32);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(245, 158, 11, 0.12);
  font-weight: 700;
  text-decoration: none;
}

.feature-head-action:hover {
  border-color: rgba(245, 158, 11, 0.52);
  background: rgba(245, 158, 11, 0.18);
}

@media (max-width: 860px) {
  .signup-hero {
    padding: 28px 0 34px;
  }

  .signup-hero-grid,
  .signup-detail-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .signup-copy h1 {
    font-size: clamp(46px, 17vw, 72px);
  }

  .feature-head-card {
    align-items: flex-start;
    flex-direction: column;
  }
}
