@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;600;700&family=Sora:wght@500;700&display=swap');

:root {
  --font-heading: 'Sora', 'Segoe UI', sans-serif;
  --font-body: 'Manrope', 'Segoe UI', sans-serif;
  --radius-lg: 16px;
  --radius-md: 10px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --shadow-card: 0 14px 36px rgba(9, 24, 46, 0.11);
}

html[data-palette='ocean'] {
  --color-bg: #f8fafc;
  --color-bg-soft: #eef3f8;
  --color-text: #0f172a;
  --color-muted: #64748b;
  --color-border: #d7e0ea;
  --color-card: #ffffff;
  --color-sidebar: #102a43;
  --color-sidebar-border: #334e68;
  --color-sidebar-text: #d9e2ec;
  --color-sidebar-text-soft: #9fb3c8;
  --color-sidebar-active: #486581;
  --color-primary: #627d98;
  --color-primary-strong: #486581;
  --color-pill: #edf2f8;
  --color-assistant: #eff6ff;
  --color-owner: #e0f2fe;
  --studio-glow-a: rgba(56, 189, 248, 0.28);
  --studio-glow-b: rgba(99, 102, 241, 0.24);
  --studio-glow-c: rgba(14, 165, 233, 0.2);
}

html[data-palette='forest'] {
  --color-bg: #f5faf5;
  --color-bg-soft: #edf6ed;
  --color-text: #132215;
  --color-muted: #58705e;
  --color-border: #d4e2d6;
  --color-card: #ffffff;
  --color-sidebar: #173a2a;
  --color-sidebar-border: #2f5d46;
  --color-sidebar-text: #d4ead9;
  --color-sidebar-text-soft: #9fc9ac;
  --color-sidebar-active: #2f6a4d;
  --color-primary: #2f7d58;
  --color-primary-strong: #256548;
  --color-pill: #ebf6ef;
  --color-assistant: #eefaf2;
  --color-owner: #e1f5ea;
  --studio-glow-a: rgba(74, 222, 128, 0.25);
  --studio-glow-b: rgba(16, 185, 129, 0.22);
  --studio-glow-c: rgba(45, 212, 191, 0.2);
}

html[data-palette='sunset'] {
  --color-bg: #fff8f3;
  --color-bg-soft: #fff1e6;
  --color-text: #2a1a10;
  --color-muted: #7d6354;
  --color-border: #edd7c8;
  --color-card: #fffdfb;
  --color-sidebar: #402312;
  --color-sidebar-border: #6f4127;
  --color-sidebar-text: #fde7da;
  --color-sidebar-text-soft: #f8cbb0;
  --color-sidebar-active: #7f4a2c;
  --color-primary: #c06c37;
  --color-primary-strong: #a3582a;
  --color-pill: #fff0e5;
  --color-assistant: #fff5ee;
  --color-owner: #ffe9da;
  --studio-glow-a: rgba(251, 146, 60, 0.26);
  --studio-glow-b: rgba(249, 115, 22, 0.24);
  --studio-glow-c: rgba(245, 158, 11, 0.21);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
}

.hidden {
  display: none !important;
}

.shell-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 10% 8%, color-mix(in srgb, var(--color-primary) 16%, transparent), transparent 34%),
    radial-gradient(circle at 92% 88%, color-mix(in srgb, var(--color-primary) 20%, transparent), transparent 33%),
    linear-gradient(145deg, var(--color-bg), var(--color-bg-soft));
}

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

.sidebar {
  background: var(--color-sidebar);
  color: var(--color-sidebar-text);
  border-right: 1px solid var(--color-sidebar-border);
  padding: var(--space-5) var(--space-4);
  display: grid;
  align-content: start;
  gap: var(--space-5);
}

.brand h1 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.15rem;
}

.brand p {
  margin: var(--space-1) 0 0;
  color: var(--color-sidebar-text-soft);
  font-size: 0.84rem;
}

.module-nav {
  display: grid;
  gap: var(--space-2);
}

.module-nav__item {
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--color-sidebar-text);
  text-align: left;
  padding: 11px 12px;
  font-weight: 600;
  cursor: pointer;
}

.module-nav__item:hover {
  background: color-mix(in srgb, var(--color-sidebar-active) 80%, transparent);
}

.module-nav__item.is-active {
  background: var(--color-sidebar-active);
  border-color: color-mix(in srgb, white 18%, var(--color-sidebar-active));
}

.sidebar-note {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.4;
  color: var(--color-sidebar-text-soft);
}

.content {
  min-width: 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--color-card) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-3) var(--space-4);
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  align-items: center;
}

.topbar__left {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.topbar__left h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.02rem;
}

.brand-caption {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.82rem;
}

.menu-btn {
  display: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 8px 10px;
  background: var(--color-card);
  color: var(--color-text);
}

.topbar__right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
}

.workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 320px);
  gap: var(--space-4);
  padding: var(--space-4);
}

.chat-panel,
.voice-panel {
  min-height: calc(100vh - 132px);
  display: flex;
  flex-direction: column;
}

.settings-workspace {
  display: grid;
  gap: var(--space-4);
  padding: var(--space-4);
}

.module-workspace {
  display: grid;
  gap: var(--space-4);
  padding: var(--space-4);
}

.module-view {
  display: grid;
  gap: var(--space-4);
}

.module-form {
  padding: var(--space-4);
  display: grid;
  gap: var(--space-3);
  border-top: 1px solid var(--color-border);
}

.module-form--compact {
  background: color-mix(in srgb, var(--color-bg-soft) 65%, transparent);
}

.module-grid {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.module-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.module-status {
  margin: 0;
  padding: 0 var(--space-4) var(--space-4);
  color: var(--color-muted);
  font-size: 0.86rem;
}

.module-status.status-error {
  color: #b91c1c;
}

.module-inline {
  padding: var(--space-4);
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.module-inline input {
  flex: 1;
  min-width: 240px;
}

.module-code {
  margin: 0;
  padding: var(--space-4);
  border-top: 1px solid var(--color-border);
  max-height: 240px;
  overflow: auto;
  background: color-mix(in srgb, var(--color-bg-soft) 72%, transparent);
  font-size: 0.8rem;
}

.module-embed-card {
  min-height: 72vh;
}

.module-embed-wrap {
  border-top: 1px solid var(--color-border);
  padding: var(--space-3);
}

.module-embed-frame {
  width: 100%;
  min-height: calc(72vh - 24px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg-soft);
}

.card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-card);
  box-shadow: var(--shadow-card);
}

.card__header {
  padding: var(--space-4);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.card__header h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1rem;
}

.card__actions {
  display: flex;
  gap: var(--space-2);
  align-items: center;
}

.messages {
  flex: 1;
  min-height: 180px;
  overflow: auto;
  display: grid;
  gap: var(--space-2);
  padding: var(--space-4);
}

.msg {
  border-radius: 12px;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  line-height: 1.38;
  font-size: 0.98rem;
}

.msg--assistant {
  background: #fbfdff;
}

.msg--owner {
  background: var(--color-owner);
  justify-self: end;
  max-width: 78%;
}

.composer {
  display: grid;
  gap: var(--space-2);
  padding: var(--space-3);
  border-top: 1px solid var(--color-border);
  margin-top: auto;
}

.approval-queue {
  border-top: 1px solid var(--color-border);
  padding: var(--space-3) var(--space-4);
  display: none;
  gap: var(--space-2);
}

.workspace.has-confirmations .approval-queue {
  display: grid;
}

.approval-queue__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.approval-queue__header h4 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 0.9rem;
}

.approval-queue__controls {
  display: flex;
  align-items: end;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.approval-queue__controls label {
  font-size: 0.72rem;
}

.approval-queue__controls select,
.approval-queue__controls input {
  min-width: 88px;
  padding: 6px 8px;
}

.composer-tools {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.composer-tools--compact {
  flex-direction: column;
  flex-wrap: nowrap;
  width: 92px;
}

.composer-tools--compact .btn {
  width: 100%;
  padding: 7px 9px;
  font-size: 0.78rem;
  font-weight: 700;
}

.pending-attachments {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.pending-item {
  border: 1px solid var(--color-border);
  background: var(--color-pill);
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 0.76rem;
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.pending-item button {
  border: 0;
  background: transparent;
  cursor: pointer;
  color: inherit;
}

.composer-row {
  display: flex;
  gap: var(--space-2);
  align-items: flex-end;
}

.composer-input {
  flex: 1;
  min-width: 0;
  min-height: 78px;
  resize: none;
  line-height: 1.35;
  padding: 11px 12px;
}

.composer-send-btn {
  min-width: 86px;
  height: 44px;
  align-self: flex-end;
}

.settings-grid {
  padding: var(--space-4);
  display: grid;
  gap: var(--space-3);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

label {
  display: grid;
  gap: 4px;
  color: var(--color-muted);
  font-size: 0.78rem;
}

input,
select,
textarea {
  min-width: 148px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 8px 10px;
  font: inherit;
  background: var(--color-card);
  color: var(--color-text);
}

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

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

.settings-inline {
  display: flex;
  align-items: end;
}

.settings-note {
  padding: 0 var(--space-4) var(--space-4);
  margin: 0;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.toggle-label {
  grid-template-columns: 18px 1fr;
  align-items: center;
  gap: 8px;
}

.toggle-label input {
  min-width: 0;
}

.table-wrap {
  overflow: auto;
}

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

th,
td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--color-border);
}

th {
  color: var(--color-muted);
  font-size: 0.82rem;
}

.placeholder-card {
  min-height: 260px;
}

.placeholder-body {
  padding: var(--space-4);
}

.btn {
  border: 1px solid var(--color-primary);
  border-radius: 11px;
  padding: 9px 12px;
  background: linear-gradient(145deg, var(--color-primary), var(--color-primary-strong));
  color: white;
  font-weight: 700;
  cursor: pointer;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.3) inset,
    0 8px 18px rgba(15, 23, 42, 0.14);
}

.btn--ghost {
  border-color: var(--color-border);
  color: var(--color-text);
  background: color-mix(in srgb, var(--color-card) 88%, #eef2f8);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 2px 8px rgba(15, 23, 42, 0.05);
}

.btn--tiny {
  padding: 5px 9px;
  font-size: 0.72rem;
  font-weight: 700;
}

.table-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.status-pill {
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-pill);
  padding: 5px 9px;
  font-size: 0.75rem;
  font-weight: 700;
}

.status-pill.is-locked {
  border-color: #f59e0b;
  background: #fff7ed;
  color: #9a3412;
}

.status-pill.is-unlocked {
  border-color: #22c55e;
  background: #ecfdf3;
  color: #166534;
}

.status-pill.is-provider-openai {
  border-color: #16a34a;
  background: #ecfdf3;
  color: #166534;
}

.status-pill.is-provider-local {
  border-color: #60a5fa;
  background: #eff6ff;
  color: #1d4ed8;
}

.status-pill.is-provider-none {
  border-color: var(--color-border);
  background: var(--color-pill);
  color: var(--color-text);
}

.status-pill.is-provider-error {
  border-color: #f43f5e;
  background: #fff1f2;
  color: #9f1239;
}

.avatar {
  position: relative;
  margin: 12px;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #020a12;
  border: 1px solid rgba(125, 211, 252, 0.32);
  box-shadow:
    0 24px 58px rgba(2, 8, 26, 0.45),
    inset 0 0 36px rgba(56, 189, 248, 0.14);
}

.avatar__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 160ms linear;
}

.avatar__video--speaking {
  opacity: 0;
}

.avatar[data-state='speaking'] .avatar__video--speaking {
  opacity: 1;
}

.avatar[data-state='speaking'] .avatar__video--idle {
  opacity: 0;
}

.voice-panel__meta {
  padding: 0 var(--space-4) var(--space-4);
}

.voice-panel__meta p {
  margin: 0;
}

.muted {
  margin-top: var(--space-2) !important;
  color: var(--color-muted);
  font-size: 0.84rem;
}

.continuous-back-btn {
  display: none;
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 12;
  border: 0;
  background: transparent;
  color: #f8fafc;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  text-shadow: 0 2px 14px rgba(2, 6, 23, 0.85);
  padding: 0;
}

body.continuous-active .workspace {
  display: block;
  padding: 0;
  min-height: 100vh;
}

body.continuous-active .chat-panel {
  display: none;
}

body.continuous-active .sidebar,
body.continuous-active .topbar,
body.continuous-active .shell-bg {
  display: none;
}

body.continuous-active .voice-panel {
  position: fixed;
  inset: 0;
  z-index: 60;
  margin: 0;
  width: 100vw;
  max-width: none;
  min-height: 100vh;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: #01040a;
}

body.continuous-active .voice-panel .card__header {
  display: none;
}

body.continuous-active .continuous-back-btn {
  display: inline-flex;
}

body.continuous-active .avatar {
  margin: 0;
  width: 100vw;
  height: 100vh;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: #01040a;
}

body.continuous-active .avatar__video {
  width: 100%;
  height: 100%;
  inset: 0;
  transform: none;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center;
}

body.continuous-active .avatar[data-state='speaking'] .avatar__video--speaking {
  filter: brightness(1.08) saturate(1.12);
}

body.continuous-active .voice-panel__meta {
  display: none;
}

/* Layout 2: Studio Neural */
html[data-layout='studio'] .shell-bg {
  background:
    radial-gradient(circle at 14% 18%, var(--studio-glow-a), transparent 32%),
    radial-gradient(circle at 88% 14%, var(--studio-glow-b), transparent 32%),
    radial-gradient(circle at 62% 84%, var(--studio-glow-c), transparent 38%),
    linear-gradient(135deg, #070b14 0%, #0b1222 52%, #0b101a 100%);
  animation: studio-bg-drift 13s ease-in-out infinite alternate;
}

html[data-layout='studio'] body {
  color: #e7ecff;
}

html[data-layout='studio'] .app-shell {
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
}

html[data-layout='studio'] .sidebar {
  border-right: 0;
  border-bottom: 1px solid rgba(159, 179, 200, 0.2);
  background: linear-gradient(135deg, rgba(16, 42, 67, 0.85), rgba(15, 23, 42, 0.85));
  backdrop-filter: blur(14px);
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-3) var(--space-4);
}

html[data-layout='studio'] .brand p,
html[data-layout='studio'] .sidebar-note {
  color: rgba(226, 232, 240, 0.8);
}

html[data-layout='studio'] .module-nav {
  display: flex;
  gap: var(--space-2);
  overflow: auto;
}

html[data-layout='studio'] .module-nav__item {
  white-space: nowrap;
  border-color: rgba(148, 163, 184, 0.22);
  background: rgba(15, 23, 42, 0.44);
  color: #dbeafe;
}

html[data-layout='studio'] .module-nav__item:hover {
  background: rgba(30, 41, 59, 0.7);
}

html[data-layout='studio'] .module-nav__item.is-active {
  border-color: rgba(56, 189, 248, 0.42);
  background: linear-gradient(145deg, rgba(30, 64, 175, 0.55), rgba(2, 132, 199, 0.58));
}

html[data-layout='studio'] .sidebar-note {
  text-align: right;
  max-width: 360px;
}

html[data-layout='studio'] .topbar {
  background: rgba(15, 23, 42, 0.62);
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
}

html[data-layout='studio'] .topbar__left h2 {
  color: #f8fafc;
}

html[data-layout='studio'] .brand-caption,
html[data-layout='studio'] label,
html[data-layout='studio'] th,
html[data-layout='studio'] td,
html[data-layout='studio'] .settings-note {
  color: rgba(226, 232, 240, 0.78);
}

html[data-layout='studio'] input,
html[data-layout='studio'] select,
html[data-layout='studio'] .menu-btn,
html[data-layout='studio'] .btn--ghost {
  border-color: rgba(148, 163, 184, 0.28);
  color: #e2e8f0;
  background: rgba(15, 23, 42, 0.56);
}

html[data-layout='studio'] .btn {
  border-color: rgba(56, 189, 248, 0.44);
  background: linear-gradient(145deg, #0284c7, #4338ca);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.28);
}

html[data-layout='studio'] .workspace {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 320px);
  gap: var(--space-5);
}

html[data-layout='studio'] .module-form--compact,
html[data-layout='studio'] .module-code {
  background: rgba(15, 23, 42, 0.45);
}

html[data-layout='studio'] .module-embed-frame {
  border-color: rgba(148, 163, 184, 0.26);
  background: rgba(15, 23, 42, 0.42);
}

html[data-layout='studio'] .module-status.status-error {
  color: #fca5a5;
}

html[data-layout='studio'] .card {
  background: linear-gradient(165deg, rgba(15, 23, 42, 0.62), rgba(15, 23, 42, 0.5));
  border: 1px solid rgba(148, 163, 184, 0.24);
  box-shadow:
    0 20px 48px rgba(2, 6, 23, 0.45),
    inset 0 0 0 1px rgba(226, 232, 240, 0.03);
  backdrop-filter: blur(12px);
}

html[data-layout='studio'] .card__header {
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

html[data-layout='studio'] .msg {
  border-color: rgba(148, 163, 184, 0.2);
}

html[data-layout='studio'] .msg--assistant {
  background: rgba(30, 64, 175, 0.16);
}

html[data-layout='studio'] .msg--owner {
  background: rgba(2, 132, 199, 0.16);
}

html[data-layout='studio'] .approval-queue {
  border-top: 1px solid rgba(148, 163, 184, 0.2);
}

html[data-layout='studio'] .status-pill,
html[data-layout='studio'] .pending-item {
  border-color: rgba(148, 163, 184, 0.26);
  background: rgba(15, 23, 42, 0.52);
  color: #dbeafe;
}

html[data-layout='studio'] .avatar {
  box-shadow:
    0 0 0 1px rgba(148, 163, 184, 0.24),
    0 18px 34px rgba(2, 6, 23, 0.48),
    0 0 34px rgba(56, 189, 248, 0.2);
}

html[data-layout='studio'] .avatar[data-state='speaking'] {
  animation: studio-avatar-speak 1.2s ease-in-out infinite;
}

@keyframes studio-bg-drift {
  0% {
    filter: saturate(100%);
    transform: scale(1);
  }

  100% {
    filter: saturate(120%);
    transform: scale(1.02);
  }
}

@keyframes studio-avatar-speak {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-3px);
  }
}

@media (max-width: 1260px) {
  .workspace,
  html[data-layout='studio'] .workspace {
    grid-template-columns: 1fr;
  }

  .composer-tools--compact {
    width: auto;
    flex-direction: row;
  }

  .composer-tools--compact .btn {
    width: auto;
  }

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

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

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

  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 260px;
    height: 100vh;
    z-index: 50;
    transform: translateX(-100%);
    transition: transform 170ms ease;
  }

  body.menu-open .sidebar {
    transform: translateX(0);
  }

  html[data-layout='studio'] .sidebar {
    position: static;
    width: auto;
    height: auto;
    transform: none;
    grid-template-columns: 1fr;
    align-items: start;
  }

  html[data-layout='studio'] .sidebar-note {
    text-align: left;
  }

  .menu-btn {
    display: inline-flex;
  }

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

  .settings-grid--wide {
    grid-template-columns: 1fr;
  }

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

  .composer-row {
    flex-wrap: wrap;
  }

  .composer-input {
    width: 100%;
  }

  .composer-send-btn {
    width: 100%;
  }
}

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