:root {
  --ink: #ffffff;
  --muted: #7a8ca2;
  --line: rgba(186, 206, 224, 0.5);
  --choice: #4d6683;
  --ink-dark: #1a1a1a;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html {
  min-height: 100%;
  overflow-y: auto;
  background: linear-gradient(to bottom, #2c4062 0%, #2f3148 100%) fixed;
  scrollbar-width: thin;
  scrollbar-color: #d5deea #1a2740;
}

html::-webkit-scrollbar { width: 12px; height: 12px; }
html::-webkit-scrollbar-track { background: #1a2740; }
html::-webkit-scrollbar-thumb {
  background: #d5deea;
  border: 3px solid #1a2740;
  border-radius: 8px;
}

body {
  margin: 0;
  min-height: 100%;
  background: transparent;
  color: var(--ink);
  font-family: Raleway, "Segoe UI", sans-serif;
  font-weight: 400;
}

button, textarea, input {
  font-family: inherit;
  font-weight: 400;
}

.stage {
  min-height: 100vh;
}

.gallery {
  width: min(720px, calc(100% - 48px));
  margin: 0 auto;
  padding: 72px 0 48px;
}

.kicker {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 15px;
}

.cards { display: grid; gap: 14px; }

.card {
  display: grid;
  gap: 4px;
  width: 100%;
  padding: 18px 18px 16px;
  border: 1px solid rgba(186, 206, 224, 0.35);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  color: inherit;
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.card strong { font-size: 1.15rem; font-weight: 500; }
.card span { color: var(--muted); font-size: 0.92rem; }
.card em {
  justify-self: start;
  margin-top: 6px;
  color: var(--muted);
  font-style: normal;
  font-size: 0.75rem;
}

.studio-link {
  display: inline-block;
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.85rem;
}

.studio-link--fixed {
  position: fixed;
  left: 22px;
  bottom: 18px;
  z-index: 6;
  margin: 0;
}

.studio-link:hover { color: #fff; }

.flow {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 120px;
  min-height: 100vh;
}

.flow.is-doc {
  min-height: 0;
}

.mast {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 8px;
}

.back {
  position: absolute;
  left: 0;
  top: 12px;
  z-index: 2;
}

.brand {
  margin: 28px 0 14px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 15px;
  letter-spacing: 0.02em;
  cursor: pointer;
}

.brand:hover { color: #fff; }

.mark {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  margin: 8px 0 16px;
}

.settings-btn,
.account {
  position: absolute;
  right: 0;
  top: 12px;
  z-index: 4;
}

.settings-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  cursor: pointer;
}

.account__avatar {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 8px 0 18px;
  border-radius: 50%;
  background: #143651;
  color: #fff;
  font-size: 24px;
}

.account__btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #143651;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
}

.account__menu {
  position: absolute;
  right: 0;
  top: 46px;
  min-width: 180px;
  padding: 6px;
  border-radius: 14px;
  background: #1a2740;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
}

.account__menu a,
.account__menu button {
  display: block;
  width: 100%;
  margin: 0;
  padding: 10px 12px;
  border: 0;
  border-radius: 10px;
  background: none;
  color: #fff;
  font: inherit;
  font-size: 15px;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.account__menu a:hover,
.account__menu button:hover { background: rgba(255, 255, 255, 0.08); }

.settings-btn svg { width: 22px; height: 22px; }
.settings-btn:hover { color: #fff; }

.mark img {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.rule {
  width: 100%;
  height: 1px;
  margin: 0 0 28px;
  background: var(--line);
}

.headline {
  width: 100%;
  margin: 18px 0 26px;
  color: var(--muted);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-align: center;
}

.flow.is-origin .headline {
  margin: 4px 0 16px;
}

.flow.is-origin .choices {
  margin: 0 0 20px;
}

.intents {
  display: flex;
  justify-content: center;
  gap: 40px;
  width: 100%;
  margin: 28px 0 18px;
}

.somecomp-link {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.somecomp-link:hover { color: #fff; }

.intent {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  letter-spacing: 0.14em;
  cursor: pointer;
}

.intent img {
  display: block;
  width: 92px;
  height: 92px;
  object-fit: contain;
}

.intent .on,
.mini .on,
.pic .on { display: none; }

.intent:hover,
.intent.is-on { color: #fff; }

.intent:hover .off,
.intent.is-on .off { display: none; }

.intent:hover .on,
.intent.is-on .on { display: block; }

.choices {
  display: grid;
  justify-items: center;
  gap: 14px;
  width: 100%;
  margin: 8px 0 36px;
}

.choice {
  width: min(420px, 100%);
  padding: 12px 18px;
  border: 0;
  border-radius: 8px;
  background: var(--choice);
  color: #fff;
  font: inherit;
  font-size: 16px;
  text-align: center;
  cursor: pointer;
}

.choice:hover,
.choice.is-on {
  background: #fff;
  color: var(--ink-dark);
}

.choice-group {
  display: grid;
  justify-items: center;
  gap: 10px;
  width: min(420px, 100%);
}

.choice-group__title {
  margin: 22px 0 2px;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  text-align: center;
}

.choice-group:first-child .choice-group__title { margin-top: 4px; }

.choice-group__page {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.choice-group .choice { width: 100%; }

.flow.is-schedules .box,
.flow.is-schedules .bar,
.flow.is-plan .box,
.flow.is-plan .bar,
.flow.is-plan .guide-toggle { display: none; }

.plan {
  display: grid;
  gap: 10px;
  width: min(560px, 100%);
  margin: 0 auto 28px;
}

.plan-ask {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.plan-ask[hidden] { display: none !important; }

.plan-note {
  margin: 4px 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  text-align: center;
}

.plan-row {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 2px 12px;
  align-items: start;
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--choice);
  color: #fff;
  cursor: pointer;
}

.plan-row input { margin-top: 3px; }

.plan-row strong { font-weight: 500; }

.plan-row span {
  grid-column: 2;
  color: #c5d0de;
  font-size: 13px;
  line-height: 1.4;
}

.plan-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  grid-column: 2;
  margin-top: 8px;
}

.plan-chip {
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: transparent;
  color: #e7eef8;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.plan-chip.is-on { background: #fff; color: #24344f; }

.plan > .choice { justify-self: center; }

.plan-generate {
  display: grid;
  gap: 10px;
}

.plan-generate .choice { width: 100%; }

.choice:disabled { opacity: 0.45; cursor: default; }

.publish {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 4px;
}

.publish .choice { width: auto; min-width: 148px; }

.ask {
  width: min(520px, 100%);
  margin: 4px 0 8px;
  color: #fff;
  font-size: 18px;
  line-height: 1.45;
  text-align: center;
}

.pitch {
  width: 100%;
  margin: 8px 0 18px;
}

.pitch h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 26px;
  font-weight: 400;
  line-height: 1.3;
}

.pitch p {
  margin: 0;
  color: #d5deea;
  font-size: 16px;
  line-height: 1.5;
}

.okrow {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
  width: 100%;
  margin: 6px 0 22px;
  color: #fff;
  font-size: 18px;
}

.okrow--pop {
  width: 100%;
  margin: 8px 0 0;
}

.gen {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 28px;
  min-height: 280px;
  margin: 36px 0;
}

.becki-matrix-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  pointer-events: none;
}

.becki-matrix-placeholder__canvas {
  display: block;
  width: 120px;
  height: 120px;
  background: transparent;
}

.pixels { display: flex; gap: 3px; }

.pixels i {
  display: block;
  width: 7px;
  height: 7px;
  background: rgba(122, 140, 162, 0.35);
}

.pixels i.is-on { background: #fff; }

.doc {
  width: 100%;
  margin-bottom: 28px;
}

.tools {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  padding: 0 0 12px;
  background: transparent;
}

.tools__find {
  position: sticky;
  top: 8px;
  z-index: 5;
  align-self: flex-end;
  width: max-content;
  max-width: 100%;
  margin-left: auto;
  gap: 28px;
  margin-top: 22px;
  margin-bottom: 36px;
  padding: 10px 16px;
  border-radius: 12px;
  background: #24344f;
}

.tools__find,
.tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.tools__find { gap: 12px; }
.tools__find .textbtn { margin-left: 36px; }

.tabs--lang { margin: 0 0 28px; gap: 22px; }

.tabs--chan {
  width: max-content;
  max-width: 100%;
  justify-content: flex-start;
  gap: 18px;
  margin: 8px 0 48px;
  align-items: end;
}

.tools__find input {
  width: 148px;
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  background: #1a2740;
  color: #fff;
  font: inherit;
  font-size: 14px;
}

.tools__find input::placeholder { color: #7a8ca2; }
.tools__find input:focus { outline: 1px solid rgba(255, 255, 255, 0.35); }

.chan {
  display: grid;
  justify-items: center;
  gap: 8px;
  min-width: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  letter-spacing: 0.02em;
  cursor: pointer;
}

.chan .plat-mark {
  display: block;
  width: 30px;
  height: 30px;
}

.plat-mark--mastodon {
  background: currentColor;
  -webkit-mask: url("./icons/mastodon.png") center / contain no-repeat;
  mask: url("./icons/mastodon.png") center / contain no-repeat;
}

.chan.is-on,
.chan:hover { color: #fff; }

.flow.is-doc .rule { margin-bottom: 16px; }
.flow.is-doc .doc { margin-top: 0; }

.motif {
  position: relative;
  width: 100%;
}

.sheet-x {
  position: absolute;
  top: 8px;
  right: 0;
  z-index: 2;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.sheet-x:hover { color: #7a8ca2; }

.motif-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 0 18px;
}

.motif-tabs button {
  padding: 8px 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 15px;
  cursor: pointer;
}

.motif-tabs button.is-on {
  background: #fff;
  color: var(--ink-dark);
}

.motif-pane {
  width: 100%;
  min-height: 180px;
  max-height: none;
  overflow: visible;
}

.motif-filter {
  position: sticky;
  top: 0;
  z-index: 2;
  width: 100%;
  margin: 0 0 8px;
  padding: 8px 12px;
  border: 0;
  border-radius: 10px;
  background: #1a2740;
  color: #fff;
  font: inherit;
  font-size: 15px;
  caret-color: #fff;
}
.motif-filter:focus { outline: none; }
.motif-filter::placeholder { color: #7a8ca2; }

.motif-field,
.prompt-field { position: relative; }

.prompt-star {
  position: absolute;
  right: 12px;
  bottom: 10px;
  z-index: 2;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.prompt-star::before {
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  background: #3a9ed4;
  -webkit-mask: url("./images/AI-stars-rund.svg") center / contain no-repeat;
  mask: url("./images/AI-stars-rund.svg") center / contain no-repeat;
}

.prompt-star:hover::before,
.prompt-star:focus::before { background: #5eb8e8; }
.prompt-star:disabled { opacity: 0.45; cursor: default; }

.slot-loop {
  margin: 12px 0 0;
  font-size: 16px;
}

.slot { grid-column: 1; width: 100%; }

.chunk.has-media .slot {
  grid-column: 1;
  grid-row: 1;
}

.slot-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 12px 28px;
}

.slot-stage .slot-figure { margin: 0; }

.chunk.has-media .slot-side {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  align-self: end;
  gap: 8px;
}

.chunk.has-media .pic { display: none; }

.slot-status {
  margin: 10px 0 0;
  color: #d5deea;
  font-size: 14px;
  line-height: 1.4;
}

.slot-side .choice {
  width: 148px;
  padding: 8px 12px;
  font-size: 14px;
}

.slot-side .choice.is-gap,
.slot-side .choice.is-ready {
  width: auto;
  min-width: 148px;
}

.slot-side .choice.is-gap {
  color: #f0c36a;
}

.slot-change {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}

.slot-change .motif-change {
  width: 240px;
}

.loop-quality {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 4px 0 8px;
}

.loop-quality label {
  margin: 0;
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  font-size: 13px;
}

.loop-quality input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.loop-quality label:has(input:checked) {
  color: #fff;
  border-color: #1687cb;
}

.loop-duration {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px;
  margin: 4px 0 2px;
  color: #d5deea;
  font-size: 13px;
}

.loop-duration input[type="range"] {
  width: 100%;
  margin: 0;
  accent-color: #fff;
}

.chunk.has-media .chunk__body {
  grid-column: 1;
  grid-row: 2;
}

.chunk.has-media .pic { display: none; }

.slot-note {
  margin: 8px 0 14px;
  color: var(--muted);
  font-size: 13px;
}

.slot-figure {
  position: relative;
  width: min(100%, 640px);
  margin: 0 0 8px;
  overflow: hidden;
  border-radius: 12px;
  background: #1a2740;
}

.jobline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
  color: rgba(186, 206, 224, 0.45);
  font-size: 13px;
  line-height: 1.4;
}

.jobline[hidden] { display: none !important; }
.jobline.is-error .jobline__title { color: rgba(240, 194, 194, 0.8); }

.jobline__time { color: inherit; }

.jobline__side {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}

.jobline__stop {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
}

.jobline.is-live {
  animation: bec-glow 2.8s ease-in-out infinite;
}

.job-matrix {
  width: 28px;
  height: 28px;
  flex: none;
}

.live-matrix {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 70;
  width: 56px;
  height: 56px;
  pointer-events: none;
}

.run-card {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 75;
  width: min(340px, calc(100vw - 48px));
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 18px 14px;
  background: rgba(18, 28, 44, 0.94);
  border: 1px solid rgba(186, 206, 224, 0.28);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.run-card[hidden] { display: none !important; }

.run-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.run-card__label {
  margin: 0;
  flex: 1;
  min-width: 0;
  color: #d5deea;
  font-size: 14px;
  line-height: 1.35;
}

.run-card__stop {
  flex: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: #d5deea;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.run-card__matrix {
  display: block;
  width: 88px;
  height: 88px;
  margin: 0 auto;
}

.run-card__bar {
  display: flex;
  align-items: center;
  gap: 10px;
}

.run-card__track {
  position: relative;
  flex: 1;
  height: 1px;
  background: rgba(186, 206, 224, 0.35);
}

.run-card__fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 1px;
  width: 0;
  background: #fff;
}

.run-card__time {
  min-width: 2.6em;
  color: #9aabbe;
  font-size: 12px;
  text-align: right;
}

.live-matrix[hidden] { display: none !important; }

.box.is-live {
  animation: box-glow 2.8s ease-in-out infinite;
}

textarea.is-live {
  animation: box-glow 2.8s ease-in-out infinite;
}

@keyframes bec-glow {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.45); }
}

@keyframes box-glow {
  0%, 100% { box-shadow: inset 0 0 0 1px rgba(186, 206, 224, 0.16); }
  50% { box-shadow: inset 0 0 0 1px rgba(220, 232, 248, 0.7), 0 0 26px rgba(150, 180, 220, 0.24); }
}

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

.field-head[hidden] { display: none !important; }
.field-head .field-label { margin: 0; }

.prompt-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.prompt-nav[hidden] { display: none !important; }

.prompt-nav button {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.prompt-nav button svg { width: 16px; height: 16px; }
.prompt-nav button:disabled { opacity: 0.28; cursor: default; }
.prompt-nav__drop {
  font-size: 18px;
  line-height: 1;
}

.motif-results {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 14px;
  overflow: visible;
}

.offer {
  position: relative;
  z-index: 0;
  width: 100%;
  margin: 0;
  padding: 4px;
  border: 2px solid transparent;
  border-radius: 14px;
  cursor: pointer;
}

.offer img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.offer.is-on { border-color: #fff; z-index: 4; }
.offer.is-menu { z-index: 12; }

.offer-dock { margin-top: 8px; }
.offer-dock[hidden] { display: none !important; }

.offer-layer {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 10px);
  z-index: 20;
  padding: 22px 8px 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #2c4062;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.42);
}

.offer.is-menu > .offer-layer {
  display: block;
}

.offer-layer__close {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  cursor: pointer;
}

.offer-layer__close svg {
  display: block;
  width: 12px;
  height: 12px;
}

.offer-layer__close:hover { color: #fff; }

.offer-layer__info {
  position: absolute;
  top: 4px;
  left: 6px;
  z-index: 2;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: none;
  color: var(--muted);
  font-family: inherit;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0;
  cursor: pointer;
}

.offer-layer__info:hover { color: #fff; }

.offer-info {
  position: absolute;
  left: calc(100% + 10px);
  top: 0;
  z-index: 24;
  width: 300px;
  margin: 0;
  padding: 18px 34px 8px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #2c4062;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.42);
}

.offer:nth-child(3n) > .offer-info {
  left: auto;
  right: calc(100% + 10px);
}

.offer-info[hidden] { display: none !important; }

.seed-hold {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin: 10px 0 0;
  color: #e7eef8;
  font-size: 14px;
}

.seed-hold[hidden] { display: none !important; }

.seed-hold__text {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.seed-hold__pin {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: transparent;
  color: #9eb0c8;
  cursor: pointer;
}

.seed-hold__pin.is-on {
  background: #243656;
  color: #fff;
}

.offer-info__seed {
  display: block;
  width: 100%;
  height: 34px;
  margin: 0 0 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: #243656;
  color: #e7eef8;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 34px;
  cursor: pointer;
}

.offer-info__seed:hover { border-color: rgba(255, 255, 255, 0.45); }

.offer-info p {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  margin: 0 0 12px;
  overflow-wrap: anywhere;
  color: inherit;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
}

.offer-info span {
  color: var(--muted);
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
}

.offer-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 5px 0 0;
}

.offer-scales {
  display: flex;
  gap: 6px;
  margin: 0 0 6px;
}

.offer-scales[hidden] { display: none !important; }

.offer-actions .offer-scales .choice {
  flex: 1;
  width: auto;
  padding: 6px 8px;
  font-size: 13px;
}

.offer-actions .choice {
  width: 100%;
  padding: 8px 10px;
  font-size: 14px;
}

.offer-layer .motif-change {
  margin-top: 8px;
}

.offer > img,
.offer > video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  object-position: center;
  border-radius: 10px;
  background: #1a2740;
}

.inline-video {
  position: relative;
  width: 100%;
}

.offer > .inline-video {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 10px;
  background: #10192b;
}

.offer > .inline-video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #10192b;
}

.offer > .inline-video .inline-video__still {
  display: none;
}

.inline-video__shield {
  position: absolute;
  z-index: 2;
  left: 0;
  top: 0;
  right: 0;
  bottom: 72px;
}

.inline-video__still {
  position: absolute;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: calc(100% - 72px);
  object-fit: contain;
  object-position: center top;
  pointer-events: none;
  background: transparent;
}

.slot-figure .inline-video__still {
  object-fit: contain;
  border-radius: 0;
}

.offer figcaption {
  margin: 6px 0;
  color: var(--muted);
  font-size: 13px;
}

.motif-change {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: stretch;
  margin-top: 8px;
}

.motif-change[hidden] { display: none !important; }

.motif-change__actions {
  display: flex;
  gap: 8px;
}

.motif-change__actions .choice {
  flex: 1;
  width: auto;
  padding: 8px 10px;
  font-size: 14px;
}

.motif-change .prompt-field {
  position: relative;
}

.motif-change textarea {
  flex: 1;
  width: 100%;
  min-height: 88px;
  padding: 10px 36px 10px 12px;
  border: 0;
  border-radius: 12px;
  background: #1a2740;
  color: #e7edf4;
  font: inherit;
  resize: vertical;
}

.motif-change .prompt-star {
  right: 8px;
  bottom: 8px;
}

.soundoff {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: #e7edf4;
}

.slot-more {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 8px;
  background: rgba(8, 16, 32, 0.72);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.slot-more:hover { color: #5eb8e8; }

.media-menu {
  position: fixed;
  z-index: 40;
  display: flex;
  flex-direction: column;
  min-width: 168px;
  padding: 6px;
  border-radius: 12px;
  background: #1a2740;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.media-menu button {
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #e7edf4;
  font: inherit;
  font-size: 15px;
  text-align: left;
  padding: 10px 12px;
  cursor: pointer;
}

.media-menu button:hover { background: #243656; color: #fff; }

.slot-figure img,
.slot-figure video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 72vh;
  object-fit: contain;
  background: #1a2740;
}

.slot-strip {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 8px;
  overflow-x: hidden;
  overflow-y: auto;
  width: 100%;
  max-height: calc(72px * 2 + 8px + 6px);
  margin-top: 36px;
  padding-bottom: 6px;
  scrollbar-color: #4d6683 #1a2740;
}

.slot-card {
  position: relative;
  flex: 0 0 72px;
  height: 72px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  background: #1a2740;
  cursor: pointer;
}

.slot-card.is-on { border-color: #fff; }
.slot-card:disabled { opacity: 0.35; cursor: default; }

.slot-card img,
.slot-card video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.slot-card__play {
  position: absolute;
  left: 4px;
  bottom: 2px;
  color: #fff;
  font-size: 12px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(8, 12, 20, 0.86);
}

.lightbox img,
.lightbox video {
  max-width: min(1100px, 92vw);
  max-height: 86vh;
  border-radius: 12px;
}

.motif-prompt {
  display: block;
  width: 100%;
  min-height: 150px;
  padding: 16px 16px 42px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #1a2740;
  color: #fff;
  font: inherit;
  font-size: 15px;
  line-height: 1.45;
  resize: vertical;
  caret-color: #fff;
}

.motif-prompt.is-short { min-height: 88px; }

.prompt-nav--field {
  position: absolute;
  top: 6px;
  right: 8px;
  z-index: 3;
  margin: 0;
}

.motif-field.has-nav .motif-prompt { padding-top: 34px; }
.motif-prompt:focus { outline: none; }

.loop-source {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 2px 0 16px;
  cursor: zoom-in;
}

.loop-source img,
.loop-source video {
  display: block;
  width: 128px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
  background: #1a2740;
}

.sharepic-guide {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  width: 100%;
  margin: 0 0 12px;
}

.sharepic-guide .guide-toggle { margin: 0; }

.zine-tools {
  justify-content: space-between;
}

.zine-tools .choice {
  width: auto;
  margin: 0;
  padding: 8px 16px;
  font-size: 14px;
}

.sharepic-reload {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(213, 222, 234, 0.82);
  cursor: pointer;
}

.sharepic-reload svg { width: 16px; height: 16px; }
.sharepic-reload:hover,
.sharepic-reload:focus { color: #fff; }

.sharepic-styles {
  display: flex;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin: 0 0 14px;
}

.sharepic-styles .choice {
  width: auto;
  min-width: 132px;
}

.sharepic-formats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
  width: 100%;
  margin: 22px 0 16px;
}

.sharepic-formats .guide-toggle { margin: 0; }

.sharepic-field {
  display: grid;
  gap: 4px;
  width: 100%;
  margin: 0 0 10px;
  color: rgba(186, 206, 224, 0.55);
  font-size: 13px;
}

.sharepic-field input,
.sharepic-field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #1a2740;
  color: #fff;
  font: inherit;
  font-size: 15px;
  line-height: 1.4;
  resize: vertical;
}

.sharepic-field textarea { min-height: 88px; }
.sharepic-field input:focus,
.sharepic-field textarea:focus { outline: none; }

.loop-tools {
  position: relative;
  display: flex;
  justify-content: flex-end;
  width: 100%;
  margin-top: 4px;
}

.loop-gear {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  cursor: pointer;
}

.loop-gear svg { width: 20px; height: 20px; }
.loop-gear:hover,
.loop-gear.is-on { color: #fff; }

.loop-menu {
  position: absolute;
  right: 0;
  z-index: 40;
  width: 272px;
  max-height: min(70vh, 480px);
  overflow: auto;
  padding: 10px 12px 12px;
  border-radius: 12px;
  background: #1a2740;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.loop-menu[hidden] { display: none !important; }

.loop-menu__label {
  margin: 8px 0 2px;
  color: #7a8ca2;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.loop-menu__label:first-child { margin-top: 0; }

.loop-menu .modelmenu {
  margin: 0;
  padding: 0;
  background: transparent;
  max-height: none;
  box-shadow: none;
}

.loop-menu .modelmenu__actions { margin-bottom: 4px; }

.loop-start.choice {
  width: 100%;
  margin-top: 10px;
}
.motif-prompt,
.modelmenu,
.loop-menu,
.settings {
  scrollbar-color: #d5deea #1a2740;
  scrollbar-width: thin;
}
.motif-prompt::-webkit-scrollbar,
.modelmenu::-webkit-scrollbar,
.loop-menu::-webkit-scrollbar,
.settings::-webkit-scrollbar { width: 10px; }
.motif-prompt::-webkit-scrollbar-track,
.modelmenu::-webkit-scrollbar-track,
.loop-menu::-webkit-scrollbar-track,
.settings::-webkit-scrollbar-track { background: #1a2740; }
.motif-prompt::-webkit-scrollbar-thumb,
.modelmenu::-webkit-scrollbar-thumb,
.loop-menu::-webkit-scrollbar-thumb,
.settings::-webkit-scrollbar-thumb { background: #d5deea; border-radius: 8px; }

.motif-empty {
  margin: 14px 0;
  color: rgba(186, 206, 224, 0.45);
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
}

.motif-kicker {
  margin: 28px 0 10px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.textbtn {
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

a.textbtn { text-decoration: none; }

.textbtn:hover,
.textbtn.is-on { color: #fff; }

.tabs {
  width: 100%;
  justify-content: flex-start;
  gap: 14px;
}

.tabs.tabs--chan {
  width: max-content;
  max-width: 100%;
  justify-content: flex-start;
  gap: 18px;
  margin: 2px 0 10px;
}

.archive-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  width: min(720px, 100%);
}

.archive-when {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.01em;
  white-space: nowrap;
  opacity: 0.72;
}

.archive-row .choice {
  width: auto;
  flex: 1 1 220px;
}

.archive-flag {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  cursor: pointer;
}

.archive-flag svg { width: 16px; height: 16px; display: block; }
.archive-flag.is-on,
.archive-flag:hover { color: #e7c56a; }

.archive-delete {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 2px;
}

.archive-delete svg { width: 11px; height: 11px; display: block; }

.schedule-title,
.schedule-entry input,
.schedule-entry select,
.schedule-entry textarea {
  border: 0;
  border-radius: 8px;
  background: #1a2740;
  color: #fff;
  font: inherit;
  font-size: 14px;
}

.schedule-title {
  width: min(420px, 100%);
  padding: 12px 18px;
  font-size: 16px;
  text-align: center;
}

.schedule-board {
  display: grid;
  gap: 14px;
  width: min(720px, 100%);
}

.schedule-entry {
  display: grid;
  grid-template-columns: 190px 140px 1fr auto;
  gap: 8px 10px;
  align-items: center;
}

.schedule-entry input,
.schedule-entry select { padding: 8px 10px; }

.schedule-entry textarea {
  grid-column: 1 / -1;
  min-height: 52px;
  padding: 8px 10px;
  resize: vertical;
}

.schedule-entry .archive-when { grid-column: 1 / -2; }

.archive-note {
  flex: 1 1 100%;
  min-height: 52px;
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  background: #1a2740;
  color: #fff;
  font: inherit;
  font-size: 14px;
  resize: vertical;
}

.archive-clear { flex: 1 1 100%; text-align: left; }

html.is-light .archive-note,
html.is-light .schedule-title,
html.is-light .schedule-entry input,
html.is-light .schedule-entry select,
html.is-light .schedule-entry textarea {
  background: #fff;
  color: #2C4062;
}

.tabs.tabs--ready {
  justify-content: flex-end;
  gap: 28px;
  margin: 18px 0 6px;
}

.tools__find .textbtn.is-on { color: #fff; }

.sheet__panel { gap: 18px; }

.modelmenu input[type="checkbox"],
.set-block input[type="checkbox"] {
  appearance: none;
  width: 15px;
  height: 15px;
  margin: 0;
  border: 1.5px solid #7a8ca2;
  border-radius: 3px;
  background: transparent;
  display: grid;
  place-items: center;
}

.modelmenu input[type="checkbox"]:checked,
.set-block input[type="checkbox"]:checked {
  background: #1687cb;
  border-color: #1687cb;
}

.modelmenu input[type="checkbox"]:checked::after,
.set-block input[type="checkbox"]:checked::after {
  content: "";
  width: 7px;
  height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translateY(-1px);
}

.modelbtn { position: relative; z-index: 7; }

.chunk {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 28px;
  align-items: start;
  margin: 0 0 36px;
}

.chunk__body {
  color: #e7edf4;
  font-size: 15px;
  line-height: 1.55;
  outline: none;
  min-height: 1.2em;
}

.chunk__body h1,
.chunk__body h2,
.chunk__body h3 {
  margin: 0 0 12px;
  color: #fff;
  font-weight: 400;
  line-height: 1.28;
}

.chunk__body h1 { font-size: 28px; }
.chunk__body h2 { margin-top: 8px; font-size: 22px; }
.chunk__body h3 { font-size: 18px; }
.chunk__body p { margin: 0 0 12px; }
.chunk__body ul { margin: 0 0 12px; padding-left: 1.2em; }

.pic {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

.pic img {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.pic:hover { color: #fff; }
.pic:hover .off,
.pic.is-on .off { display: none; }
.pic:hover .on,
.pic.is-on .on { display: block; }

.pic__thumb {
  width: 54px;
  height: 40px;
  object-fit: cover;
  border-radius: 6px;
}

.box {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: auto;
  min-height: 148px;
  margin-top: 8px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.box.is-tall {
  height: calc(570 / 1400 * 100vh);
  max-height: 570px;
  min-height: 280px;
}
.box.is-change { height: 132px; }

.field-label {
  display: block;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.16em;
}

.box.has-star textarea {
  width: calc(100% - 28px);
  padding-right: 0;
}

.box textarea {
  flex: 1;
  width: 100%;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 16px;
  line-height: 1.45;
  resize: none;
  caret-color: transparent;
}

.box:not(.is-tall):not(.is-change) textarea {
  flex: 0 0 auto;
  min-height: 72px;
  overflow: hidden;
  field-sizing: fixed;
}

.box.is-armed textarea { color: #fff; }
.box textarea:focus { outline: none; caret-color: #fff; color: #fff; }

.ghost {
  position: absolute;
  left: 22px;
  top: 22px;
  width: 1px;
  height: 18px;
  background: #fff;
  pointer-events: none;
  animation: blink 1.05s steps(1) infinite;
}

.box.has-label .ghost { top: 64px; }
.box.has-text .ghost,
.box:focus-within .ghost,
.box:not(.is-armed) .ghost { display: none; }

@keyframes blink { 50% { opacity: 0; } }

.image-tools {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  width: 100%;
  margin: 0 0 8px;
}

.image-tools[hidden] { display: none !important; }

.flow.is-home .intents {
  justify-content: space-evenly;
  gap: 28px;
  margin: 36px 0 72px;
}

.flow.is-home .intent {
  gap: 18px;
  min-width: 120px;
  padding: 8px 12px;
  font-size: 15px;
}

.flow.is-home .intent img {
  width: 128px;
  height: 128px;
}

.flow.is-home .image-tools {
  gap: 48px;
  margin: 0 0 18px;
}

.flow.is-home .somecomp-link {
  padding: 12px 8px;
  font-size: 18px;
}

.flow.is-home .prompt-top {
  align-items: center;
  gap: 12px;
  margin: 0 0 6px;
}

.flow.is-home .prompt-top .home-refs {
  margin: 0;
  align-self: center;
}

.flow.is-home .guide-toggle {
  margin: 0;
  align-items: center;
}

.flow.is-home .prompt-generate {
  min-width: 240px;
  padding: 14px 22px;
  font-size: 18px;
}

.flow.is-home .box {
  min-height: 180px;
  margin-top: 0;
  padding: 22px 26px;
}

.flow.is-home .bar {
  margin-top: 28px;
}

.flow.is-home .mini img {
  height: 52px;
}

.flow.is-home .guide-toggle input {
  width: 22px;
  height: 22px;
}

.flow.is-home .recent-more {
  margin-top: 48px;
}

.prompt-top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  width: 100%;
  margin: 0 0 8px;
}

.prompt-generate {
  flex: 0 0 auto;
  min-width: 220px;
  margin: 0;
  padding: 12px 18px;
  border: 0;
  border-radius: 8px;
  background: var(--choice);
  color: #fff;
  font: inherit;
  font-size: 16px;
  text-align: center;
  cursor: pointer;
}

.prompt-generate[hidden] { display: none !important; }
.prompt-generate:hover { filter: brightness(1.08); }
.prompt-generate:disabled { opacity: 0.45; cursor: default; }

.prompt-top .guide-toggle { margin-left: auto; }

.motif > .prompt-generate {
  align-self: flex-start;
  margin-bottom: 14px;
}

.prompt-top .home-refs {
  flex: 1;
  margin: 0 0 10px;
}

.home-world {
  margin: 0;
}

.prompt-reload {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.prompt-field .prompt-reload.in-field,
.motif-field .prompt-reload.in-field {
  position: absolute;
  top: 10px;
  right: 20px;
  bottom: auto;
  z-index: 2;
  margin: 0;
}

.prompt-field.is-video .prompt-nav--field {
  top: 8px;
  right: 50px;
}

.motif-field .prompt-nav--field {
  top: 8px;
  right: 14px;
}

.prompt-field.is-video .prompt-star,
.motif-field .prompt-star {
  right: 34px;
  bottom: 18px;
}

.prompt-field.is-video .motif-prompt,
.prompt-field.is-video:has(.prompt-reload.in-field) .motif-prompt {
  padding: 12px 64px 52px 14px;
}

.motif-field .motif-prompt {
  padding: 12px 18px 52px 14px;
}

.prompt-field.is-video.has-nav .motif-prompt,
.prompt-field.is-video.has-nav:has(.prompt-reload.in-field) .motif-prompt,
.motif-field.has-nav .motif-prompt,
.motif-field.has-nav:has(.prompt-reload.in-field) .motif-prompt {
  padding-top: 44px;
}

.genbar .guide-toggle { margin: 0; }

.motif-tools {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  width: 100%;
  margin: 0 0 8px;
}

.motif-tools .guide-toggle {
  margin: 0 0 0 auto;
}

.motif-tools .prompt-reload,
.motif-tools .prompt-reload svg {
  width: 22px;
  height: 22px;
}

.prompt-reload svg {
  display: block;
  width: 16px;
  height: 16px;
}

.prompt-reload:hover { color: #fff; }
.prompt-reload:disabled { opacity: 0.45; cursor: default; }

.worldbtn--home {
  padding: 0;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.home-world.is-idle .worldbtn {
  opacity: 0.4;
}

.home-world .worldmenu.is-layer {
  z-index: 30;
}

.guide-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.04em;
  cursor: pointer;
  user-select: none;
}

.guide-toggle input {
  appearance: none;
  -webkit-appearance: none;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin: 0;
  border: 1.5px solid #8ea0b8;
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
}

.guide-toggle input:checked::after {
  content: "";
  width: 5px;
  height: 9px;
  border: solid #e7eef8;
  border-width: 0 2px 2px 0;
  transform: translateY(-1px) rotate(45deg);
}

.bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-top: 18px;
}

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

.home-loop-tools {
  margin-top: 0;
  width: auto;
}

.mini {
  padding: 0;
  border: 0;
  background: transparent;
  line-height: 0;
  cursor: pointer;
}

.mini.send { position: relative; }

.mini.send:has(.send-batch:not([hidden])) {
  margin-right: 52px;
}

.send-batch {
  position: absolute;
  top: 50%;
  left: calc(100% + 12px);
  right: auto;
  z-index: 3;
  display: grid;
  place-items: center;
  min-width: 36px;
  height: 36px;
  padding: 0 8px;
  border: 0;
  border-radius: 999px;
  background: #3d7eff;
  color: #fff;
  font-size: 16px;
  font-weight: 650;
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
}

.send-batch[hidden] { display: none !important; }

.mini img {
  display: block;
  height: 40px;
  width: auto;
}

.mini:hover .off,
.mini.is-hot .off { display: none; }

.mini:hover .on,
.mini.is-hot .on { display: block; }

.status {
  width: 100%;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.flow.is-busy .intents,
.flow.is-busy .image-tools,
.flow.is-busy .somecomp-link,
.flow.is-busy .choices,
.flow.is-busy .pitch,
.flow.is-busy .doc,
.flow.is-busy .okrow,
.flow.is-busy .box { display: none !important; }

.sheet {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  justify-items: center;
  align-items: start;
  overflow: auto;
  padding: 24px 24px 64px;
  background: rgba(12, 18, 30, 0.82);
  scrollbar-width: thin;
  scrollbar-color: #d5deea #1a2740;
}
.sheet::-webkit-scrollbar { width: 12px; }
.sheet::-webkit-scrollbar-track { background: #1a2740; }
.sheet::-webkit-scrollbar-thumb {
  background: #d5deea;
  border: 3px solid #1a2740;
  border-radius: 8px;
}

.sheet__panel {
  display: grid;
  justify-items: center;
  width: min(520px, 100%);
}

.sheet__panel:has(.motif) {
  width: min(920px, calc(100vw - 40px));
  padding: 22px 24px 28px;
  border-radius: 18px;
  background: #24344f;
  overflow: visible;
}

.sheet .headline { width: 100%; }

.thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  width: 100%;
  margin-top: 8px;
}

.thumb {
  padding: 0;
  border: 0;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.thumb img {
  display: block;
  width: 100%;
  height: 96px;
  object-fit: cover;
}

.pop {
  position: fixed;
  z-index: 32;
  width: min(380px, calc(100vw - 24px));
  padding: 14px 16px 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #2c4062;
}

.pop__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 10px;
}

.pop__head .field-label { margin: 0; }

.pop__close {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  cursor: pointer;
}

.pop__close svg {
  display: block;
  width: 12px;
  height: 12px;
}

.pop__close:hover { color: #fff; }

.pop__quote {
  margin: 0 0 8px;
  color: #d5deea;
  font-size: 13px;
  line-height: 1.4;
}

.pop textarea {
  width: 100%;
  min-height: 88px;
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 15px;
  resize: none;
  caret-color: #fff;
}

.pop textarea:focus { outline: none; }

.refs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 0;
  margin: 0 0 12px;
}

.ref {
  position: relative;
  width: 64px;
  height: 64px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #1a2740;
  cursor: grab;
  user-select: none;
}

.ref.is-drag {
  opacity: 0.45;
  cursor: grabbing;
}

.ref.is-over {
  box-shadow: inset 0 0 0 2px #fff;
}

.refview {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 32px;
  background: rgba(8, 12, 22, 0.82);
}

.refview img,
.refview video {
  max-width: min(1100px, 92vw);
  max-height: 88vh;
  border-radius: 12px;
  background: #000;
}

.ref img, .ref video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  -webkit-user-drag: none;
}

.ref__x {
  position: absolute;
  top: 3px;
  right: 3px;
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(12, 18, 30, 0.82);
  color: #fff;
  font: inherit;
  font-size: 11px;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
}

.ref__n {
  position: absolute;
  left: 3px;
  bottom: 3px;
  min-width: 14px;
  height: 14px;
  padding: 0 3px;
  border-radius: 7px;
  background: rgba(12, 18, 30, 0.82);
  color: #fff;
  font-size: 10px;
  line-height: 14px;
  text-align: center;
}

.ref:hover .ref__x,
.ref:focus-within .ref__x,
.ref__x { opacity: 1; }

.home-refs { width: 100%; margin: 0 0 10px; }

.refask { margin: 0 0 12px; }

.home-results { width: min(920px, 100%); margin: 18px auto 0; }

.results-tools {
  display: flex;
  justify-content: flex-end;
  width: min(920px, 100%);
  margin: 8px auto 0;
}

.results-tools[hidden] { display: none !important; }

.results-zip {
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.results-zip:hover { color: #fff; }

.genbar {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 16px;
}

.genbar__actions {
  display: flex;
  align-items: center;
  gap: 2px;
}

.genbar__meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  flex: 1;
  min-width: 0;
}

.worldbtn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 2px;
  color: var(--muted);
  font-size: 15px;
}

.worldbtn::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
}

.guide-toggle .worldbtn--home {
  padding: 0;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.modelpick { position: relative; }

.modelbtn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  cursor: pointer;
}

.modelbtn { position: relative; z-index: 7; }
.modelbtn svg { width: 22px; height: 22px; }
.modelbtn:hover, .modelbtn.is-on { color: #fff; }

.modelmenu {
  position: static;
  width: 100%;
  max-height: 240px;
  overflow: auto;
  margin-top: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #1a2740;
  box-shadow: none;
}

.modelmenu.is-layer {
  position: absolute;
  z-index: 6;
  width: 268px;
  max-height: 280px;
  margin: 0;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
}

.modelmenu.is-layer.has-video-options {
  width: 300px;
}

.modelmenu.is-layer > .modelmenu {
  margin: 0;
  padding: 0;
  background: transparent;
  max-height: none;
  box-shadow: none;
}

.recent-more {
  margin: 10px 0 0;
}

.recent-more .textbtn { font-size: 13px; }


.modelmenu__ok {
  display: block;
  margin: 0 0 8px auto;
  padding: 3px 10px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--ink-dark);
  font: inherit;
  font-size: 12px;
  line-height: 1.2;
  cursor: pointer;
}

.modelmenu__actions {
  display: flex;
  gap: 14px;
  margin-bottom: 10px;
}

.format-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 2px 4px 10px;
}

.format-row button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(213, 222, 234, 0.78);
  cursor: pointer;
}

.format-row button.is-on { color: #fff; }

.format-row i {
  display: block;
  border: 1.5px solid currentColor;
  border-radius: 2px;
}

.modelmenu__api,
.worldmenu__title {
  margin: 8px 0 2px;
  color: #7a8ca2;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.worldpick { position: relative; }

.worldmenu {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 14px;
  margin-top: 8px;
  padding: 8px 12px;
  border-radius: 14px;
  background: #1a2740;
}

.worldmenu.is-layer {
  position: absolute;
  z-index: 6;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  width: 220px;
  max-width: 240px;
  max-height: min(70vh, 420px);
  margin: 0;
  padding: 8px 0;
  overflow: auto;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
}

.worldmenu[hidden] { display: none !important; }

.worldmenu__title { flex-basis: 100%; }

.worldmenu button {
  display: block;
  width: 100%;
  padding: 8px 16px;
  border: 0;
  background: none;
  color: #d5deea;
  font: inherit;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}

.worldmenu.is-layer .worldmenu__title {
  padding: 4px 16px 6px;
}

.worldmenu button.is-on { color: #fff; }

.modelmenu label, .set-block label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0;
  color: #d5deea;
  font-size: 14px;
  cursor: pointer;
}

.set-block { width: 100%; margin: 8px 0 18px; text-align: left; }
.set-block input[type="radio"] { accent-color: #1687cb; }
.set-block h3 {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.12em;
}
.set-note { margin: 6px 0 0; color: var(--muted); font-size: 13px; line-height: 1.4; }

.set-look {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 0 0 18px;
}

.theme-toggle {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  cursor: pointer;
}
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle:hover { color: #fff; }
html:not(.is-light) .icon-moon { display: none; }
html.is-light .icon-sun { display: none; }

.sheet__panel.settings {
  justify-items: stretch;
  width: min(560px, 100%);
  padding: 22px 24px 28px;
  border-radius: 18px;
  background: #24344f;
  max-height: min(78vh, 720px);
  overflow: auto;
}

.sheet__panel.settings .headline { width: auto; margin: 0; }
.sheet__panel.settings .pop__head { width: 100%; }

.set-block .modelmenu {
  position: static;
  width: 100%;
  max-height: none;
  padding: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
}

.motif-prompt.is-drop,
.box.is-drop { outline: 1px solid #fff; }

html.is-system body,
html.is-system button,
html.is-system textarea,
html.is-system input { font-family: system-ui, "Segoe UI", sans-serif; }

html.is-light {
  background: linear-gradient(to bottom, #EFEFF1 0%, #EFEFF1 100%) fixed;
  color: #2C4062;
  scrollbar-color: #2C4062 #e4e6eb;
}
html.is-light::-webkit-scrollbar-track { background: #e4e6eb; }
html.is-light::-webkit-scrollbar-thumb {
  background: #2C4062;
  border-color: #e4e6eb;
}
html.is-light .seed-hold { color: #2C4062; }
html.is-light .seed-hold__pin.is-on { background: #2C4062; color: #fff; }

html.is-light body,
html.is-light .headline,
html.is-light .kicker,
html.is-light .card,
html.is-light .card strong,
html.is-light .brand,
html.is-light .studio-link,
html.is-light .somecomp-link { color: #2C4062; }
html.is-light .card span,
html.is-light .card em { color: #4D6683; }
html.is-light #backBtn:hover,
html.is-light #backBtn.is-hot { position: absolute; }
html.is-light .account__menu { background: #fff; color: #2C4062; }
html.is-light .account__menu a,
html.is-light .account__menu button { color: #2C4062; }
html.is-light .account__menu a:hover,
html.is-light .account__menu button:hover { background: #EFEFF1; }
html.is-light .settings-btn:hover,
html.is-light .brand:hover,
html.is-light .somecomp-link:hover,
html.is-light .studio-link:hover,
html.is-light .textbtn:hover,
html.is-light .textbtn.is-on,
html.is-light .tools__find .textbtn.is-on,
html.is-light .chan.is-on,
html.is-light .chan:hover,
html.is-light .theme-toggle:hover,
html.is-light .intent:hover,
html.is-light .intent.is-on,
html.is-light .pic:hover,
html.is-light .modelbtn:hover,
html.is-light .modelbtn.is-on,
html.is-light .pop__close:hover { color: #00AEEF; }
html.is-light .choice:hover,
html.is-light .choice.is-on,
html.is-light .motif-tabs button.is-on {
  background: #00AEEF;
  color: #fff;
}
html.is-light .loop-gear:hover,
html.is-light .loop-gear.is-on { color: #00AEEF; }
html.is-light .loop-menu { background: #fff; box-shadow: 0 12px 28px rgba(44, 64, 98, 0.16); }
html.is-light .loop-quality label { border-color: rgba(44, 64, 98, 0.22); color: #243044; }
html.is-light .loop-quality label:has(input:checked) { color: #1687cb; border-color: #1687cb; }
html.is-light .slot-card.is-on,
html.is-light .offer.is-on { border-color: #00AEEF; }
html.is-light .offer-layer {
  background: #fff;
  border-color: rgba(44, 64, 98, 0.18);
  box-shadow: 0 16px 32px rgba(44, 64, 98, 0.16);
}
html.is-light .offer-layer__close:hover { color: #00AEEF; }
html.is-light .offer-layer__info:hover { color: #00AEEF; }
html.is-light .offer-info {
  background: #fff;
  border-color: rgba(44, 64, 98, 0.18);
  box-shadow: 0 16px 32px rgba(44, 64, 98, 0.16);
}
html.is-light .offer-info__seed {
  background: #f4f7fb;
  color: #1c2a3e;
  border-color: #d5deea;
}
html.is-light .results-zip:hover { color: #00AEEF; }
html.is-light .slot-more { background: rgba(255, 255, 255, 0.88); color: #2C4062; }
html.is-light .slot-more:hover { color: #00AEEF; }
html.is-light .media-menu { background: #fff; box-shadow: 0 12px 32px rgba(44, 64, 98, 0.16); }
html.is-light .media-menu button { color: #2C4062; }
html.is-light .media-menu button:hover { background: #00AEEF; color: #fff; }
html.is-light #backBtn { --hot: url("./images/assist-back-on.png"); }
html.is-light #okBtn { --hot: url("./images/assist-ok-on.png"); }
html.is-light #plusBtn,
html.is-light .genbar > .mini:not(.send) { --hot: url("./images/assist-add-on.png"); }
html.is-light #sendBtn,
html.is-light #popSend,
html.is-light .mini.send { --hot: url("./images/assist-send-on.png"); }
html.is-light .intent[data-intent="image"],
html.is-light .pic { --hot: url("./images/assist-bild-on.png"); }
html.is-light .intent[data-intent="video"] { --hot: url("./images/assist-video-on.png"); }
html.is-light .intent[data-intent="article"] { --hot: url("./images/assist-artikel-on.png"); }
html.is-light .intent[data-intent="plan"] { --hot: url("./images/assist-plan-on.png"); }
html.is-light .mini:hover .on,
html.is-light .mini.is-hot .on,
html.is-light .intent:hover .on,
html.is-light .intent.is-on .on,
html.is-light .pic:hover .on,
html.is-light .pic.is-on .on { visibility: hidden; }
html.is-light .mini:hover,
html.is-light .mini.is-hot,
html.is-light .intent:hover,
html.is-light .intent.is-on,
html.is-light .pic:hover,
html.is-light .pic.is-on { position: relative; }
html.is-light #backBtn:hover,
html.is-light #backBtn.is-hot { position: absolute; }
html.is-light .mini:hover::after,
html.is-light .mini.is-hot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #00AEEF;
  -webkit-mask: var(--hot) center / 100% 100% no-repeat;
  mask: var(--hot) center / 100% 100% no-repeat;
  pointer-events: none;
}
html.is-light .intent:hover::after,
html.is-light .intent.is-on::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 92px;
  height: 92px;
  transform: translateX(-50%);
  background: #00AEEF;
  -webkit-mask: var(--hot) center / contain no-repeat;
  mask: var(--hot) center / contain no-repeat;
  pointer-events: none;
}
html.is-light .flow.is-home .intent:hover::after,
html.is-light .flow.is-home .intent.is-on::after {
  width: 128px;
  height: 128px;
}
html.is-light .pic:hover::after,
html.is-light .pic.is-on::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 42px;
  height: 42px;
  transform: translateY(-50%);
  background: #00AEEF;
  -webkit-mask: var(--hot) center / contain no-repeat;
  mask: var(--hot) center / contain no-repeat;
  pointer-events: none;
}
html.is-light .choice-group__title { color: #1a1a1a; }
html.is-light .ask { color: #1a1a1a; }
html.is-light .okrow { color: #4D6683; }
html.is-light .tools__find,
html.is-light .sheet__panel.settings { background: #fff; }
html.is-light .pop {
  background: #fff;
  border-color: transparent;
}
html.is-light .box {
  background: #fff;
  border-color: transparent;
}
html.is-light .box textarea,
html.is-light .pop textarea,
html.is-light .motif-prompt,
html.is-light .motif-filter,
html.is-light .tools__find input {
  background: #fff;
  color: #2C4062;
  caret-color: #2C4062;
  border-color: transparent;
}
html.is-light .box textarea { scrollbar-color: #2C4062 transparent; }
html.is-light .box textarea::-webkit-scrollbar-thumb { background: #2C4062; }
html.is-light .motif-prompt,
html.is-light .modelmenu,
html.is-light .loop-menu,
html.is-light .settings { scrollbar-color: #2C4062 #e4e6eb; }
html.is-light .motif-prompt::-webkit-scrollbar-track,
html.is-light .modelmenu::-webkit-scrollbar-track,
html.is-light .loop-menu::-webkit-scrollbar-track,
html.is-light .settings::-webkit-scrollbar-track { background: #e4e6eb; }
html.is-light .motif-prompt::-webkit-scrollbar-thumb,
html.is-light .modelmenu::-webkit-scrollbar-thumb,
html.is-light .loop-menu::-webkit-scrollbar-thumb,
html.is-light .settings::-webkit-scrollbar-thumb { background: #2C4062; }
html.is-light .box.is-armed textarea:focus { caret-color: #2C4062; }
html.is-light .tools__find {
  background: #fff;
  box-shadow: 0 8px 20px rgba(44, 64, 98, 0.14);
}
html.is-light .tools__find input {
  background: #E4E6EB;
}
html.is-light .ghost { background: #2C4062; }
html.is-light .tools__find input:focus,
html.is-light .motif-prompt.is-drop { outline: none; }
html.is-light .prompt-reload:hover { color: #00AEEF; }
html.is-light .guide-toggle input {
  border-color: #2C4062;
  background: transparent;
}
html.is-light .guide-toggle input:checked::after { border-color: #2C4062; }
html.is-light .prompt-star::before { background: #2580b0; }
html.is-light .prompt-star:hover::before,
html.is-light .prompt-star:focus::before { background: #00AEEF; }
html.is-light .modelmenu__ok { background: #00AEEF; color: #fff; }
html.is-light .worldmenu { background: #E4E6EB; }
html.is-light .worldmenu button { color: #2C4062; }
html.is-light .worldmenu button.is-on { color: #00AEEF; }
html.is-light .modelmenu { background: #fff; color: #2C4062; }
html.is-light .sharepic-reload { color: rgba(44, 64, 98, 0.72); }
html.is-light .sharepic-reload:hover,
html.is-light .sharepic-reload:focus { color: #2C4062; }
html.is-light .format-row button { color: rgba(44, 64, 98, 0.72); }
html.is-light .format-row button.is-on { color: #2C4062; }
html.is-light .modelmenu label,
html.is-light .set-block label { color: #2C4062; }
html.is-light .pitch h2,
html.is-light .chunk__body h1,
html.is-light .chunk__body h2,
html.is-light .chunk__body h3 { color: #1a1a1a; }
html.is-light .chunk__body,
html.is-light .pitch p { color: #24344f; }
html.is-light .jobline { color: rgba(44, 64, 98, 0.45); }
html.is-light .run-card {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(44, 64, 98, 0.18);
  box-shadow: 0 12px 32px rgba(44, 64, 98, 0.16);
}
html.is-light .run-card__label,
html.is-light .run-card__stop,
html.is-light .run-card__time { color: #2C4062; }
html.is-light .run-card__track { background: rgba(44, 64, 98, 0.25); }
html.is-light .run-card__fill { background: #2C4062; }
html.is-light .soundoff,
html.is-light .motif-change textarea { color: #24344f; }
html.is-light .motif-change textarea,
html.is-light .offer img,
html.is-light .offer video { background: #fff; }

.tenant-new { margin-top: 22px; }

.set-tenant {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  width: 100%;
}

.tenant-admin {
  width: min(720px, calc(100% - 48px));
  margin: 0 auto;
  padding: 48px 0 80px;
}

.tenant-admin h1 {
  margin: 0 0 10px;
  font-size: 1.7rem;
  font-weight: 500;
}

.tenant-modes { display: flex; gap: 18px; margin: 8px 0 22px; }

.tenant-note,
.tenant-hint,
.tenant-ask-title { margin: 0 0 12px; }

.tenant-ask-title { font-size: 1.15rem; }

.tenant-hint,
.tenant-note { color: var(--muted); font-size: 0.92rem; }

.tenant-field {
  display: grid;
  gap: 6px;
  margin: 0 0 14px;
}

.tenant-admin fieldset {
  margin: 0 0 8px;
  padding: 0;
  border: 0;
}

.tenant-admin legend,
.tenant-field > span {
  color: var(--muted);
  font-size: 0.85rem;
}

.tenant-admin input[type="text"],
.tenant-admin input[type="url"],
.tenant-admin input[type="password"],
.tenant-admin input[type="number"],
.tenant-admin textarea,
.tenant-admin select,
.tenant-admin input[type="file"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(186, 206, 224, 0.35);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: inherit;
  font: inherit;
}

.tenant-admin select {
  color-scheme: dark;
  background-color: #1b2a44;
  color: #f4f7fb;
}

.tenant-admin select option,
.tenant-admin select optgroup {
  background-color: #1b2a44;
  color: #f4f7fb;
}

.tenant-admin textarea { resize: vertical; }

.tenant-colors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 14px;
}

.tenant-color {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 6px 8px;
  align-items: center;
}

.tenant-color span { grid-column: 1 / -1; }

.tenant-color input[type="color"] {
  width: 42px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
}

.tenant-actions { display: flex; gap: 18px; margin-top: 8px; }

.tenant-logo-preview {
  display: block;
  width: 72px;
  height: 72px;
  margin: 0 0 14px;
  object-fit: contain;
}

.tenant-error {
  min-height: 1.2em;
  margin: 0 0 8px;
  color: #ffb4b4;
}

.tenant-admin button:disabled { opacity: 0.5; cursor: default; }

html.is-light .tenant-admin input[type="text"],
html.is-light .tenant-admin input[type="url"],
html.is-light .tenant-admin input[type="password"],
html.is-light .tenant-admin input[type="number"],
html.is-light .tenant-admin textarea,
html.is-light .tenant-admin select {
  color-scheme: light;
  background: #fff;
  color: #2c4062;
  border-color: rgba(44, 64, 98, 0.25);
}

html.is-light .tenant-admin select option,
html.is-light .tenant-admin select optgroup {
  background-color: #fff;
  color: #2c4062;
}

html.is-light .tenant-error { color: #9d2c3a; }

@media (max-width: 720px) {
  .intents { gap: 18px; }
  .schedule-entry { grid-template-columns: 1fr auto; }
  .schedule-entry textarea { grid-column: 1 / -1; }
  .flow.is-home .intent img { width: 88px; height: 88px; }
  .flow.is-home .intents { gap: 8px; }
  .intent img { width: 72px; height: 72px; }
  html.is-light .flow.is-home .intent:hover::after,
  html.is-light .flow.is-home .intent.is-on::after { width: 88px; height: 88px; }
  html.is-light .intent:hover::after,
  html.is-light .intent.is-on::after { width: 72px; height: 72px; }
  .chunk { grid-template-columns: 1fr; }
  .chunk.has-media .slot,
  .chunk.has-media .chunk__body { grid-column: 1; grid-row: auto; }
  .slot-stage { grid-template-columns: 1fr; }
  .chunk.has-media .pic { display: none; }
  .motif-results { grid-template-columns: 1fr; }
  .offer-info,
  .offer:nth-child(3n) > .offer-info {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    width: auto;
    margin-top: 8px;
  }
  .box.is-tall { height: min(570px, 62vh); }
}
