﻿:root {
  --ink: #f5f8fc;
  --paper: #03050a;
  --surface: #080d14;
  --surface-strong: #101923;
  --muted: #a8b4c6;
  --line: rgba(56, 189, 248, 0.26);
  --gold: #d6aa4b;
  --gold-2: #8b6420;
  --electric: #21e6ff;
  --electric-2: #1177ff;
  --silver: #eef3f8;
  --steel: #8492a6;
  --red: #ff304f;
  --red-2: #b40018;
  --blue: #21e6ff;
  --green: #35e7a6;
  --amber: #ff7a3d;
  --rose: #ff304f;
  --violet: #8b5cf6;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.58);
  --panel-glow: rgba(33, 230, 255, 0.16);
  --danger-glow: rgba(255, 48, 79, 0.18);
  --chrome-edge: rgba(238, 243, 248, 0.12);
  --metal-text: linear-gradient(180deg, #ffffff 0%, #cfd3d8 44%, #747b84 52%, #ffffff 100%);
  --accent-text: linear-gradient(180deg, #ffffff 0%, #c9f7ff 42%, var(--electric) 56%, #ffffff 100%);
  --speed-line: linear-gradient(90deg, transparent, rgba(255, 48, 79, 0.96), rgba(33, 230, 255, 0.84), transparent);
  --next-action-dock-space: 128px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow: hidden;
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  background:
    radial-gradient(circle at 18% -10%, rgba(33, 230, 255, 0.22), transparent 28%),
    radial-gradient(circle at 88% 2%, rgba(255, 48, 79, 0.2), transparent 25%),
    linear-gradient(135deg, #03050a 0%, #08111c 46%, #020306 100%);
}

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

button {
  cursor: pointer;
}

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

.thumbflo-shell {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  height: 100vh;
  min-height: 100vh;
  gap: 8px;
  padding: 8px;
}

.side-rail,
main,
.command-panel,
.board-section,
.editor-canvas-panel,
.editor-controls-panel,
.mobile-preview-panel,
.growth-score-panel,
.library-panel,
.api-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(14, 23, 35, 0.97), rgba(3, 5, 9, 0.99)),
    var(--surface);
  box-shadow: inset 0 1px 0 var(--chrome-edge), 0 18px 50px rgba(0, 0, 0, 0.22);
}

.side-rail {
  display: grid;
  align-content: start;
  gap: 24px;
  padding: 18px;
  overflow-y: auto;
}

.brand {
  display: grid;
  gap: 8px;
  align-items: start;
  padding: 8px;
  border: 1px solid rgba(37, 217, 255, 0.24);
  border-radius: 8px;
  background:
    radial-gradient(circle at 16% 32%, rgba(255, 48, 79, 0.24), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(33, 230, 255, 0.12)),
    rgba(3, 6, 10, 0.86);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.36);
}

.brand img {
  display: block;
  width: 100%;
  max-height: 74px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 10px 18px rgba(255, 37, 31, 0.18));
}

.brand strong {
  color: var(--silver);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.22em;
  line-height: 1.25;
  text-transform: uppercase;
}

.side-rail nav {
  display: grid;
  gap: 8px;
}

.side-rail nav a {
  min-height: 42px;
  display: grid;
  align-items: center;
  padding: 0 12px;
  color: #dce6f4;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 850;
}

.side-rail nav a:hover,
.side-rail nav a:focus-visible {
  outline: none;
  color: var(--electric);
  border-color: rgba(37, 217, 255, 0.58);
  background: rgba(37, 217, 255, 0.12);
}

.credit-card {
  display: grid;
  gap: 6px;
  margin-top: auto;
  padding: 14px;
  border: 1px solid rgba(37, 217, 255, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(33, 230, 255, 0.14), rgba(255, 48, 79, 0.08)),
    rgba(4, 8, 14, 0.86);
}

.credit-card span,
.credit-card em,
.eyebrow,
.section-heading span {
  color: var(--muted);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.credit-card strong {
  color: var(--electric);
  font-size: 2rem;
  line-height: 1;
}

main {
  height: calc(100vh - 16px);
  overflow-y: auto;
  padding: 20px clamp(18px, 2.4vw, 34px) calc(42px + var(--next-action-dock-space));
  background:
    radial-gradient(circle at 42% -8%, rgba(33, 230, 255, 0.15), transparent 30%),
    radial-gradient(circle at 78% 0%, rgba(255, 48, 79, 0.12), transparent 28%),
    rgba(4, 8, 14, 0.96);
}

.topbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}

.topbar h1,
.section-heading h2,
.board-heading h2 {
  margin: 0;
  color: var(--white);
  letter-spacing: 0;
  line-height: 1;
}

.topbar h1 {
  font-size: clamp(2rem, 4vw, 4.4rem);
}

.one-click-pilot {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 14px;
  align-items: center;
  margin: 0 0 14px;
  padding: 16px;
  border: 1px solid rgba(33, 230, 255, 0.52);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(33, 230, 255, 0.18), rgba(255, 48, 79, 0.1) 54%, rgba(214, 170, 75, 0.1)),
    rgba(3, 8, 14, 0.96);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 0 26px rgba(33, 230, 255, 0.2),
    0 20px 60px rgba(0, 0, 0, 0.34);
}

.pilot-copy {
  display: grid;
  gap: 6px;
}

.pilot-copy span,
.one-click-pilot small {
  color: var(--electric);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pilot-copy strong {
  color: var(--white);
  font-size: clamp(1.28rem, 2.4vw, 2.15rem);
  line-height: 1.02;
}

.pilot-copy em,
.one-click-pilot small {
  color: #d8e4f2;
  font-style: normal;
  line-height: 1.45;
}

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

.pilot-progress b {
  min-height: 48px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(132, 146, 166, 0.26);
  border-radius: 8px;
  color: #cfd8e6;
  background: rgba(3, 6, 12, 0.68);
  font-size: 0.84rem;
}

.pilot-progress b span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #06101a;
  background: var(--steel);
  font-weight: 950;
}

.pilot-progress b.is-active {
  border-color: rgba(33, 230, 255, 0.82);
  color: var(--white);
  box-shadow: 0 0 24px rgba(33, 230, 255, 0.18);
}

.pilot-progress b.is-active span {
  background: linear-gradient(180deg, #ffffff, var(--electric));
}

.pilot-progress b.is-done {
  border-color: rgba(53, 231, 166, 0.55);
  color: #dffdf1;
}

.pilot-progress b.is-done span {
  background: var(--green);
}

.processing-indicator {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 12px 14px;
  border: 2px solid var(--gold);
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(100deg, rgba(255, 48, 79, 0.18), rgba(242, 189, 59, 0.14) 48%, rgba(33, 230, 255, 0.16)), #080d14;
  box-shadow: 0 0 28px rgba(242, 189, 59, 0.22);
}

.processing-indicator[hidden] { display: none; }
.thumbnail-render-mode { display: grid; gap: 8px; margin: 16px 0; font-weight: 700; }
.thumbnail-render-mode select { width: 100%; max-width: 440px; min-height: 44px; padding: 8px; color: #fff; background: #172328; border: 1px solid #42dce6; }
.processing-indicator[data-state="finished"] { grid-template-columns: 1fr; }
.processing-indicator[data-state="finished"] .processing-wheel,
.processing-indicator[data-state="finished"] time { display: none; }
.processing-indicator div { display: grid; gap: 3px; }
.processing-indicator strong { font-size: 1.05rem; }
.processing-indicator em { color: #dce7f0; font-style: normal; }
.processing-indicator time { min-width: 58px; color: var(--gold); font-size: 1.2rem; font-weight: 950; text-align: right; }

.processing-wheel {
  width: 44px;
  height: 44px;
  border: 5px solid rgba(255, 255, 255, 0.2);
  border-top-color: var(--gold);
  border-right-color: var(--electric);
  border-radius: 50%;
  animation: thumbflo-processing-spin 0.8s linear infinite;
}

@keyframes thumbflo-processing-spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .processing-wheel { animation-duration: 2s; }
}

.pilot-action-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: 8px;
}

.pilot-action-row .pilot-next-button {
  grid-column: span 2;
}

.pilot-action-row button {
  min-height: 46px;
  border: 1px solid rgba(33, 230, 255, 0.24);
  border-radius: 8px;
  color: var(--white);
  background: rgba(4, 10, 18, 0.88);
  font-weight: 950;
}

.pilot-next-button {
  color: #02060a !important;
  border-color: rgba(255, 255, 255, 0.72) !important;
  background: linear-gradient(180deg, #ffffff, var(--electric) 42%, #0ba6ff) !important;
  box-shadow:
    0 0 0 2px rgba(33, 230, 255, 0.2),
    0 0 30px rgba(33, 230, 255, 0.56),
    0 12px 30px rgba(0, 0, 0, 0.34);
}

.thumbflo-shell.is-focus-mode .pilot-next-button {
  animation: thumbflo-next-pulse 1.35s ease-in-out infinite;
  border-width: 2px;
  box-shadow: 0 0 0 3px rgba(43, 225, 255, 0.18), 0 0 28px rgba(43, 225, 255, 0.46);
}

.thumbflo-shell.is-focus-mode .pilot-progress b.is-active {
  opacity: 1;
  border-color: #2be1ff;
  box-shadow: inset 0 -3px 0 #2be1ff;
}

.thumbflo-shell.is-focus-mode .pilot-progress b:not(.is-active):not(.is-done) {
  opacity: 0.55;
}

.unified-source-studio {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(33, 230, 255, 0.38);
  border-radius: 10px;
  background: rgba(4, 12, 21, 0.82);
}

.unified-source-studio.is-dragging {
  border-color: #65f6d0;
  box-shadow: 0 0 0 3px rgba(101, 246, 208, 0.18);
}

.unified-source-heading,
.unified-source-truth {
  grid-column: 1 / -1;
}

.unified-source-heading {
  display: grid;
  gap: 3px;
}

.unified-source-heading span,
.unified-source-field > span {
  color: var(--electric);
}

.unified-source-heading em,
.unified-source-truth {
  color: #b8c9d4;
  font-style: normal;
  line-height: 1.4;
}

.unified-source-field {
  display: grid;
  gap: 6px;
  color: #f5f7fb;
  font-size: 0.78rem;
  font-weight: 900;
}

.unified-source-field input,
.unified-source-field textarea {
  width: 100%;
  min-height: 46px;
}

.unified-source-field textarea {
  min-height: 76px;
  resize: vertical;
  line-height: 1.35;
}

.unified-source-field small {
  color: #b8c9d4;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.35;
}

.youtube-context-button {
  align-self: end;
  min-height: 46px;
}

.source-scan-actions {
  display: grid;
  align-self: end;
  gap: 7px;
}

.source-scan-actions > button {
  min-height: 46px;
}

.uploaded-video-scan-button {
  color: #061019;
  border-color: rgba(101, 246, 208, 0.92);
  background: linear-gradient(180deg, #65f6d0, #22cda9);
  font-weight: 950;
}

.unified-source-receipt {
  grid-column: 1 / -1;
  display: grid;
  gap: 4px;
  min-height: 58px;
  align-content: center;
  padding: 10px 12px;
  border: 1px solid rgba(132, 146, 166, 0.42);
  border-radius: 8px;
  background: rgba(3, 8, 15, 0.86);
}

.unified-source-receipt strong {
  color: #f5f8fc;
  font-size: 0.88rem;
}

.unified-source-receipt span {
  color: #c8d4e3;
  font-size: 0.74rem;
  line-height: 1.35;
}

.unified-source-receipt[data-source-state="scanned"] {
  border-color: rgba(53, 231, 166, 0.78);
  background: rgba(8, 50, 39, 0.78);
}

.unified-source-receipt[data-source-state="scanning"] {
  border-color: rgba(33, 230, 255, 0.82);
  box-shadow: 0 0 20px rgba(33, 230, 255, 0.18);
}

.unified-source-receipt[data-source-state="scanned"] + .unified-source-picker,
.unified-source-receipt[data-source-state="preview"] + .unified-source-picker {
  opacity: 0.72;
}

.unified-source-receipt[data-source-state="not-scanned"],
.unified-source-receipt[data-source-state="preview"] {
  border-color: rgba(255, 189, 74, 0.82);
  background: rgba(55, 35, 7, 0.84);
}

.unified-source-picker {
  display: grid;
  grid-column: 1 / -1;
  min-height: 76px;
  place-items: center;
  gap: 3px;
  border: 1px dashed rgba(33, 230, 255, 0.68);
  border-radius: 10px;
  color: #f5f7fb;
  background: rgba(6, 20, 31, 0.84);
  cursor: pointer;
  text-align: center;
}

.unified-source-quick-actions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.face-choice-prompt {
  grid-column: 1 / -1;
  color: #f5f7fb;
  font-size: 0.88rem;
  line-height: 1.25;
}

.unified-source-quick-actions button {
  min-height: 48px;
  font-weight: 950;
  pointer-events: auto;
  touch-action: manipulation;
}

.unified-source-quick-actions button span {
  display: block;
  margin-top: 2px;
  font-size: 0.68rem;
  font-weight: 800;
  opacity: 0.78;
}

.unified-source-quick-actions button b {
  display: none;
  margin-top: 4px;
  font-size: 0.65rem;
  font-weight: 950;
  text-transform: uppercase;
}

.reaction-face-button,
.video-only-button {
  color: #f5f7fb;
  border-color: rgba(200, 210, 221, 0.42);
  background: linear-gradient(180deg, #344150, #17212c 58%, #0a1018);
  opacity: 0.72;
}

.unified-source-quick-actions button.is-selected {
  opacity: 1;
  border-color: rgba(255, 255, 255, 0.82);
}

.reaction-face-button.is-selected {
  color: #031017;
  background: linear-gradient(180deg, #8bffe2, #21e6ff 56%, #0ba6ff);
  box-shadow: 0 0 0 3px rgba(33, 230, 255, 0.2), 0 0 22px rgba(33, 230, 255, 0.24);
}

.video-only-button.is-selected {
  color: #160f03;
  border-color: rgba(255, 226, 155, 0.92);
  background: linear-gradient(180deg, #fff2b0, #d6aa4b 58%, #8b5a12);
  box-shadow: 0 0 0 3px rgba(214, 170, 75, 0.22), 0 0 22px rgba(214, 170, 75, 0.24);
}

.unified-source-quick-actions button.is-selected b {
  display: block;
}

.start-over-button {
  color: #f5f7fb;
  border-color: rgba(255, 255, 255, 0.34);
  background: linear-gradient(180deg, #344150, #17212c 58%, #0a1018);
}

.add-face-button {
  grid-column: 1 / -1;
  color: #071019;
  border-color: rgba(255, 189, 74, 0.82);
  background: linear-gradient(180deg, #fff2b0, #ffbd4a 58%, #e77b12);
}

.main-face-bank {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(170px, 0.7fr) minmax(0, 1.3fr);
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid rgba(33, 230, 255, 0.34);
  border-radius: 9px;
  background: rgba(3, 9, 16, 0.84);
}

.main-face-bank.is-face-off {
  border-color: rgba(214, 170, 75, 0.46);
  background: rgba(12, 15, 19, 0.9);
}

.main-face-bank.is-face-off .main-face-slot {
  filter: grayscale(0.45);
  opacity: 0.66;
}

.main-face-bank.is-face-off strong {
  color: #ffd778;
}

.main-face-bank > div:first-child {
  display: grid;
  gap: 3px;
}

.main-face-bank span {
  color: #21e6ff;
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}

.main-face-bank strong {
  color: #f5f7fb;
  font-size: 0.82rem;
}

.main-face-bank-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.main-face-slot {
  position: relative;
  display: grid;
  min-height: 64px;
  place-items: center;
  overflow: hidden;
  color: #c8d2dd;
  border: 1px dashed rgba(200, 210, 221, 0.38);
  border-radius: 8px;
  background: rgba(22, 31, 42, 0.88);
  font-size: 0.7rem;
  font-weight: 900;
}

.main-face-slot img {
  width: 100%;
  height: 64px;
  object-fit: cover;
}

.main-face-slot.is-active {
  border-style: solid;
  border-color: #8bffe2;
  box-shadow: 0 0 0 3px rgba(33, 230, 255, 0.3), 0 0 18px rgba(33, 230, 255, 0.2);
}

.main-face-slot b {
  position: absolute;
  right: 4px;
  bottom: 4px;
  padding: 2px 5px;
  color: #031017;
  border-radius: 4px;
  background: #8bffe2;
  font-size: 0.56rem;
  text-transform: uppercase;
}

.main-face-slot:not(.is-active) b {
  color: #eef4fa;
  background: rgba(7, 16, 25, 0.86);
}

.focus-frame-bank {
  grid-column: 1 / -1;
  display: none;
  gap: 9px;
  padding: 10px;
  border: 1px solid rgba(255, 189, 74, 0.46);
  border-radius: 9px;
  background: rgba(3, 9, 16, 0.9);
}

.focus-frame-bank[data-has-frames="true"] {
  display: grid;
}

.focus-frame-bank > div:first-child {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.thumbnail-type-control,
.source-image-target-control {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 5px 7px 5px 10px;
  border: 1px solid rgba(255, 189, 74, 0.72);
  border-radius: 6px;
  color: #f5f7fb;
  background: #111821;
  font-size: 0.72rem;
  font-weight: 900;
}

.thumbnail-type-control select,
.source-image-target-control select {
  min-width: 48px;
  min-height: 30px;
  border: 1px solid #ffbd32;
  border-radius: 4px;
  color: #071018;
  background: #ffbd32;
  font-weight: 950;
}

.thumbnail-type-control select {
  max-width: 210px;
  border-color: rgba(33, 230, 255, 0.72);
  color: #f5f7fb;
  background: #182330;
}

.rescan-distinct-frames {
  min-height: 38px;
  padding: 7px 12px;
  border: 1px solid #21e6ff;
  border-radius: 6px;
  color: #031017;
  background: linear-gradient(180deg, #9fffee, #21e6ff);
  font-size: 0.72rem;
  font-weight: 950;
}

.rescan-distinct-frames:disabled {
  opacity: 0.45;
}

.focus-frame-bank span {
  color: #ffbd4a;
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}

.focus-frame-bank strong {
  color: #f5f7fb;
  font-size: 0.82rem;
}

.focus-frame-bank-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
}

.focus-frame-slot {
  position: relative;
  min-width: 0;
  min-height: 72px;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(200, 210, 221, 0.35);
  border-radius: 7px;
  background: #111923;
}

.focus-frame-slot img {
  width: 100%;
  height: 72px;
  object-fit: cover;
}

.focus-frame-slot span,
.focus-frame-slot b {
  position: absolute;
  bottom: 3px;
  padding: 2px 4px;
  border-radius: 3px;
  background: rgba(1, 6, 11, 0.82);
  font-size: 0.56rem;
}

.focus-frame-slot span { left: 3px; color: #fff; }
.focus-frame-slot b { right: 3px; color: #061018; background: #8bffe2; }

.focus-frame-slot.is-active {
  border: 2px solid #21e6ff;
  box-shadow: 0 0 0 2px rgba(33, 230, 255, 0.2), 0 0 18px rgba(33, 230, 255, 0.28);
}

.focus-frame-empty {
  grid-column: 1 / -1;
  padding: 10px;
  color: #aeb9c5;
  text-align: center;
}

@media (max-width: 720px) {
  .focus-frame-bank > div:first-child { align-items: stretch; flex-direction: column; }
  .thumbnail-type-control,
  .source-image-target-control { justify-content: space-between; min-height: 46px; font-size: 0.84rem; }
  .thumbnail-type-control select { max-width: min(62vw, 230px); }
  .rescan-distinct-frames { width: 100%; min-height: 48px; font-size: 0.86rem; }
  .focus-frame-bank-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.pilot-source-map {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.pilot-source-map b {
  display: grid;
  gap: 4px;
  min-height: 46px;
  align-content: center;
  padding: 8px 10px;
  color: #f6fbff;
  border: 1px solid rgba(33, 230, 255, 0.26);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(33, 230, 255, 0.1), rgba(255, 255, 255, 0.03)),
    rgba(3, 7, 13, 0.74);
  font-size: 0.84rem;
  line-height: 1.1;
}

.pilot-source-map span {
  color: var(--electric);
  font-size: 0.64rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.finish-lane-receipt {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.finish-lane-receipt b {
  display: grid;
  gap: 4px;
  min-height: 50px;
  align-content: center;
  padding: 8px 10px;
  color: #d8e4f2;
  border: 1px solid rgba(132, 146, 166, 0.22);
  border-radius: 8px;
  background: rgba(2, 7, 13, 0.72);
  font-size: 0.78rem;
  line-height: 1.14;
}

.finish-lane-receipt b span {
  color: var(--electric);
  font-size: 0.62rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.finish-lane-receipt b i {
  color: var(--silver);
  font-size: 0.66rem;
  font-style: normal;
  font-weight: 900;
}

.finish-lane-receipt b.is-next,
.finish-lane-receipt b.is-active {
  color: #06101a;
  border-color: rgba(37, 217, 255, 0.82);
  background: linear-gradient(180deg, #ffffff 0%, var(--electric) 100%);
  box-shadow: 0 0 22px rgba(37, 217, 255, 0.34);
}

.finish-lane-receipt b.is-next span,
.finish-lane-receipt b.is-active span,
.finish-lane-receipt b.is-next i,
.finish-lane-receipt b.is-active i {
  color: #06101a;
}

.finish-lane-receipt b.is-done {
  color: #dffdf1;
  border-color: rgba(53, 231, 166, 0.5);
  background: rgba(53, 231, 166, 0.12);
}

.finish-lane-receipt b.is-done span {
  color: var(--green);
}

.one-click-pilot small {
  grid-column: 1 / -1;
  color: #b7c7d9;
  letter-spacing: 0;
  text-transform: none;
}

.next-action-dock {
  position: fixed;
  right: 18px;
  bottom: 14px;
  left: calc(236px + 26px);
  z-index: 80;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 220px);
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(33, 230, 255, 0.52);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(33, 230, 255, 0.18), rgba(255, 48, 79, 0.12)),
    rgba(3, 7, 13, 0.96);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 34px rgba(33, 230, 255, 0.24),
    0 18px 54px rgba(0, 0, 0, 0.45);
}

.next-action-dock span {
  color: var(--electric);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.next-action-dock strong {
  display: block;
  margin-top: 3px;
  color: var(--white);
  font-size: 0.94rem;
  line-height: 1.15;
}

.next-action-dock em {
  display: block;
  margin-top: 3px;
  color: #d8e4f2;
  font-size: 0.74rem;
  font-style: normal;
  line-height: 1.3;
}

.next-action-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 7px;
}

.next-action-proof b {
  display: inline-grid;
  min-height: 24px;
  align-items: center;
  padding: 4px 7px;
  color: #dff8ff;
  border: 1px solid rgba(33, 230, 255, 0.24);
  border-radius: 999px;
  background: rgba(2, 8, 15, 0.78);
  font-size: 0.64rem;
  font-weight: 950;
  line-height: 1.05;
}

.next-action-buttons {
  display: grid;
  gap: 7px;
}

.next-action-dock button {
  min-height: 46px;
  color: #061018;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  background: linear-gradient(180deg, #fffbce, var(--amber));
  box-shadow: 0 0 26px rgba(255, 189, 74, 0.34);
  font-size: 0.82rem;
  font-weight: 950;
}

.next-action-dock .next-action-escape {
  min-height: 34px;
  color: #ffe6ea;
  border-color: rgba(255, 48, 79, 0.34);
  background: rgba(26, 10, 16, 0.92);
  box-shadow: 0 0 16px rgba(255, 48, 79, 0.12);
  font-size: 0.72rem;
}

.next-action-alt {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
  gap: 6px;
}

.next-action-dock:not([data-next-action-step="source"]) .next-action-alt {
  display: none;
}

.next-action-alt button {
  min-height: 30px;
  color: #dff8ff;
  border-color: rgba(33, 230, 255, 0.24);
  background: rgba(2, 8, 15, 0.78);
  box-shadow: none;
  font-size: 0.68rem;
}

.next-action-dock[data-next-action-step="generate"] button {
  background: linear-gradient(180deg, #96fbff, var(--electric));
  box-shadow: 0 0 28px rgba(33, 230, 255, 0.34);
}

.next-action-dock[data-next-action-step="export"] button,
.next-action-dock[data-next-action-step="done"] button {
  background: linear-gradient(180deg, #bdffe8, var(--green));
  box-shadow: 0 0 28px rgba(53, 231, 166, 0.34);
}

.upload-day-handoff {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.72fr);
  gap: 12px;
  align-items: center;
  margin: 0 0 14px;
  padding: 14px;
  border: 1px solid rgba(37, 217, 255, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(37, 217, 255, 0.1), rgba(255, 48, 79, 0.07)),
    rgba(4, 10, 17, 0.92);
}

.upload-day-handoff[data-upload-day-state="draft"] {
  border-color: rgba(255, 207, 92, 0.48);
  box-shadow: 0 0 24px rgba(255, 207, 92, 0.1);
}

.upload-day-handoff[data-upload-day-state="ready"] {
  border-color: rgba(53, 231, 166, 0.58);
  box-shadow: 0 0 28px rgba(53, 231, 166, 0.13);
}

.upload-day-handoff span {
  color: var(--electric);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.upload-day-handoff strong {
  display: block;
  margin-top: 4px;
  color: var(--white);
  font-size: 1rem;
  line-height: 1.12;
}

.upload-day-handoff em {
  display: block;
  margin-top: 4px;
  color: var(--silver);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 850;
  line-height: 1.32;
}

.upload-day-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.upload-day-proof b {
  display: grid;
  gap: 4px;
  min-height: 48px;
  align-content: center;
  padding: 8px;
  color: var(--white);
  border: 1px solid rgba(37, 217, 255, 0.2);
  border-radius: 8px;
  background: rgba(2, 7, 13, 0.72);
  font-size: 0.74rem;
  line-height: 1.1;
}

.upload-day-proof b span {
  color: var(--electric);
  font-size: 0.6rem;
}

.upload-day-actions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 8px;
}

.upload-day-actions button {
  min-height: 40px;
  padding: 0 10px;
  color: var(--white);
  border: 1px solid rgba(37, 217, 255, 0.28);
  border-radius: 8px;
  background: rgba(37, 217, 255, 0.12);
  font-size: 0.74rem;
  font-weight: 950;
}

.upload-day-actions button:first-child,
.upload-day-actions button.is-primary-action {
  color: #03121a;
  border-color: rgba(37, 217, 255, 0.72);
  background: linear-gradient(180deg, #ffffff 0%, var(--electric) 100%);
}

.thumbnail-path-proof {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 0.72fr);
  gap: 10px;
  margin-top: 10px;
  padding: 12px;
  border: 1px solid rgba(37, 217, 255, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(37, 217, 255, 0.12), rgba(47, 255, 151, 0.06)),
    rgba(2, 8, 15, 0.78);
}

.thumbnail-path-proof[data-thumbnail-proof-state="source-ready"] {
  border-color: rgba(47, 255, 151, 0.54);
}

.thumbnail-path-proof[data-thumbnail-proof-state="choices"] {
  border-color: rgba(255, 189, 74, 0.58);
}

.thumbnail-path-proof[data-thumbnail-proof-state="ready"] {
  border-color: rgba(37, 217, 255, 0.7);
  box-shadow: 0 0 24px rgba(37, 217, 255, 0.18);
}

.thumbnail-path-proof span {
  color: var(--electric);
  font-size: 0.64rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.thumbnail-path-proof strong {
  display: block;
  margin-top: 4px;
  color: var(--white);
  font-size: 0.96rem;
  line-height: 1.14;
}

.thumbnail-path-proof em {
  display: block;
  margin-top: 4px;
  color: var(--silver);
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 850;
  line-height: 1.32;
}

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

.thumbnail-proof-grid b {
  display: grid;
  gap: 3px;
  min-height: 48px;
  align-content: center;
  padding: 8px;
  color: var(--white);
  border: 1px solid rgba(37, 217, 255, 0.2);
  border-radius: 8px;
  background: rgba(3, 7, 13, 0.72);
  font-size: 0.72rem;
  line-height: 1.1;
}

.thumbnail-proof-grid b span {
  color: var(--steel);
  font-size: 0.54rem;
}

.thumbnail-proof-actions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.thumbnail-proof-actions button {
  min-height: 38px;
  padding: 0 10px;
  color: var(--white);
  border: 1px solid rgba(37, 217, 255, 0.28);
  border-radius: 8px;
  background: rgba(37, 217, 255, 0.12);
  font-size: 0.74rem;
  font-weight: 950;
}

.thumbnail-proof-actions button.is-primary-action {
  color: #03121a;
  border-color: rgba(47, 255, 151, 0.76);
  background: linear-gradient(180deg, #ffffff 0%, var(--lime) 45%, var(--electric) 100%);
  box-shadow: 0 0 22px rgba(47, 255, 151, 0.24);
}

.reaction-image-lane {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.82fr);
  gap: 12px;
  align-items: center;
  margin: 0 0 14px;
  padding: 14px;
  border: 1px solid rgba(37, 217, 255, 0.42);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(37, 217, 255, 0.16), rgba(255, 48, 79, 0.1), rgba(47, 255, 151, 0.07)),
    rgba(4, 10, 17, 0.92);
  box-shadow: inset 0 1px 0 rgba(244, 247, 251, 0.08), 0 18px 44px rgba(0, 0, 0, 0.24);
}

.reaction-image-lane[data-reaction-lane-state="active"] {
  border-color: rgba(47, 255, 151, 0.62);
  box-shadow: 0 0 28px rgba(47, 255, 151, 0.12);
}

.reaction-image-lane[data-reaction-lane-state="saved"] {
  border-color: rgba(255, 189, 74, 0.58);
}

.reaction-image-lane > div:first-child {
  display: grid;
  gap: 5px;
  align-content: center;
}

.reaction-image-lane span {
  color: var(--electric);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reaction-image-lane strong {
  color: var(--white);
  font-size: 1.04rem;
  line-height: 1.14;
}

.reaction-image-lane em {
  color: var(--silver);
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 850;
  line-height: 1.36;
}

.reaction-image-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.reaction-image-proof b {
  display: grid;
  gap: 3px;
  min-height: 52px;
  align-content: center;
  padding: 8px;
  color: var(--white);
  border: 1px solid rgba(37, 217, 255, 0.24);
  border-radius: 8px;
  background: rgba(3, 7, 13, 0.74);
  font-size: 0.76rem;
  line-height: 1.1;
}

.reaction-image-proof b span {
  color: var(--steel);
  font-size: 0.56rem;
}

.reaction-image-actions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.reaction-image-actions button {
  min-height: 40px;
  padding: 0 10px;
  color: var(--white);
  border: 1px solid rgba(37, 217, 255, 0.34);
  border-radius: 8px;
  background: rgba(37, 217, 255, 0.12);
  font-size: 0.74rem;
  font-weight: 950;
}

.reaction-image-actions button.is-primary-action {
  color: #03121a;
  border-color: rgba(37, 217, 255, 0.82);
  background: linear-gradient(180deg, #effcff 0%, var(--electric) 58%, var(--lime));
  box-shadow: 0 0 22px rgba(37, 217, 255, 0.24);
}

.reaction-image-actions [data-clear-face-bank] {
  color: #ffe6ea;
  border-color: rgba(255, 48, 79, 0.42);
  background: rgba(255, 48, 79, 0.12);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--electric);
}

.top-actions,
.board-actions,
.editor-buttons,
.library-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.thumbflo-shell.is-focus-mode [data-advanced-action] {
  display: none;
}

.thumbflo-shell.is-focus-mode .creator-path-actions,
.thumbflo-shell.is-focus-mode .guided-path-card,
.thumbflo-shell.is-focus-mode .first-run-list,
.thumbflo-shell.is-focus-mode .maker-status-card,
.thumbflo-shell.is-focus-mode .reaction-creator-kit,
.thumbflo-shell.is-focus-mode .time-to-thumbnail-card,
.thumbflo-shell.is-focus-mode .thumbnail-now-meter,
.thumbflo-shell.is-focus-mode .flow-steps {
  display: none;
}

.thumbflo-shell.is-focus-mode #creator-path-card,
.thumbflo-shell.is-focus-mode #use-today-card,
.thumbflo-shell.is-focus-mode .live-feed-quick-card,
.thumbflo-shell.is-focus-mode .today-finish-receipt,
.thumbflo-shell.is-focus-mode .upload-day-handoff,
.thumbflo-shell.is-focus-mode .build-status-meter,
.thumbflo-shell.is-focus-mode .make-now-strip,
.thumbflo-shell.is-focus-mode .upload-map-card,
.thumbflo-shell.is-focus-mode .start-choice-card,
.thumbflo-shell.is-focus-mode .thumbnail-recipe-card,
.thumbflo-shell.is-focus-mode #choice-strategy-card,
.thumbflo-shell.is-focus-mode #today-runbook,
.thumbflo-shell.is-focus-mode #preflight-decision-card,
.thumbflo-shell.is-focus-mode #ai-polish-card,
.thumbflo-shell.is-focus-mode #upload-coach,
.thumbflo-shell.is-focus-mode #post-upload-action-card,
.thumbflo-shell.is-focus-mode #final-handoff-card {
  display: none;
}

.thumbflo-shell.is-focus-mode .thumbnail-rescue-card {
  display: none;
}

.thumbflo-shell.is-focus-mode .pilot-action-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.thumbflo-shell.is-focus-mode .pilot-action-row .pilot-next-button {
  grid-column: 1 / -1;
  min-height: 52px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1) inset,
    0 0 28px rgba(33, 230, 255, 0.32);
}

.thumbflo-shell.is-focus-mode .pilot-action-row [data-practice-export],
.thumbflo-shell.is-focus-mode .pilot-action-row [data-make-thumbnail-now],
.thumbflo-shell.is-focus-mode .pilot-action-row [data-new-thumbnail-session],
.thumbflo-shell.is-focus-mode .pilot-action-row [data-pilot-secondary],
.thumbflo-shell.is-focus-mode .next-action-alt {
  display: none;
}

.thumbflo-shell.is-focus-mode .unified-source-picker {
  display: grid;
  grid-column: 1 / -1;
  min-height: 76px;
  place-items: center;
  gap: 3px;
  border: 1px dashed rgba(33, 230, 255, 0.68);
  border-radius: 10px;
  color: #f5f7fb;
  background: rgba(6, 20, 31, 0.84);
  cursor: pointer;
  text-align: center;
}

.thumbflo-shell.is-focus-mode[data-pilot-step="source"] .pilot-next-button {
  display: block;
  min-height: 60px;
}

.thumbflo-shell.is-focus-mode:not([data-pilot-step="source"]) .unified-source-studio {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 10px 12px;
}

.thumbflo-shell.is-focus-mode:not([data-pilot-step="source"]) .unified-source-studio > :not(.thumbnail-copy-field):not(.unified-source-quick-actions):not(.main-face-bank):not(.focus-frame-bank) {
  display: none;
}

.thumbflo-shell.is-focus-mode[data-pilot-step="generate"] .main-face-bank,
.thumbflo-shell.is-focus-mode[data-pilot-step="generate"] .focus-frame-bank[data-has-frames="true"] {
  display: grid;
  grid-column: 1 / -1;
}

.thumbflo-shell.is-focus-mode:not([data-pilot-step="source"]) .unified-source-quick-actions {
  grid-column: 2;
  grid-template-columns: repeat(2, minmax(150px, auto));
}

.thumbflo-shell.is-focus-mode:not([data-pilot-step="source"]) .thumbnail-copy-field {
  min-width: 0;
}

.unified-source-picker input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.unified-source-picker strong {
  font-size: 0.92rem;
}

.unified-source-picker span {
  color: var(--electric);
  font-size: 0.72rem;
  font-weight: 800;
}

.thumbflo-shell.is-focus-mode .pilot-source-map,
.thumbflo-shell.is-focus-mode .finish-lane-receipt,
.thumbflo-shell.is-focus-mode .thumbnail-path-proof,
.thumbflo-shell.is-focus-mode .reaction-image-lane,
.thumbflo-shell.is-focus-mode .next-action-proof,
.thumbflo-shell.is-focus-mode .next-action-escape,
.thumbflo-shell.is-focus-mode .next-action-dock > div:first-child em,
.thumbflo-shell.is-focus-mode .pipeline-cleanup-dock,
.thumbflo-shell.is-focus-mode .one-click-pilot > small {
  display: none;
}

.thumbflo-shell.is-focus-mode .one-click-pilot {
  gap: 14px;
}

.thumbflo-shell.is-focus-mode .next-action-dock {
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 10px 12px;
}

.thumbflo-shell.is-focus-mode .next-action-buttons {
  align-items: center;
}

.thumbflo-shell.is-focus-mode .next-action-buttons > [data-pilot-next-click-clone] {
  min-width: 190px;
  min-height: 46px;
}

.thumbflo-shell.is-focus-mode .pipeline-actions button {
  display: none;
}

.thumbflo-shell.is-focus-mode .pipeline-actions button.is-pipeline-next {
  display: block;
  grid-column: 1 / -1;
  min-height: 50px;
}

.thumbflo-shell.is-focus-mode .today-guide {
  gap: 10px;
}

.thumbflo-shell.is-focus-mode .first-run-guide,
.thumbflo-shell.is-focus-mode #creator-now-card,
.thumbflo-shell.is-focus-mode #maker-fast-path-card,
.thumbflo-shell.is-focus-mode #readiness-card,
.thumbflo-shell.is-focus-mode #ready-export {
  border-color: rgba(37, 217, 255, 0.42);
}

.thumbflo-shell.is-focus-mode [data-advanced-nav],
.thumbflo-shell.is-focus-mode [data-advanced-section] {
  display: none;
}

#simple-mode-toggle {
  border-color: rgba(37, 217, 255, 0.34);
  background: rgba(37, 217, 255, 0.12);
}

.focus-mode-note {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: -4px 0 12px;
  padding: 10px 12px;
  color: var(--silver);
  border: 1px solid rgba(37, 217, 255, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(37, 217, 255, 0.1), rgba(255, 37, 31, 0.06)),
    rgba(8, 8, 8, 0.82);
}

.thumbflo-shell.is-focus-mode .focus-mode-note {
  display: flex;
}

.focus-mode-note strong {
  color: var(--amber);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.focus-mode-note span {
  color: var(--silver);
  font-size: 0.76rem;
  font-weight: 850;
  line-height: 1.3;
  text-align: right;
}

.make-now-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  margin: 0 0 12px;
  padding: 14px;
  color: var(--silver);
  border: 1px solid rgba(33, 230, 255, 0.38);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 48, 79, 0.18), rgba(33, 230, 255, 0.12)),
    rgba(3, 7, 12, 0.94);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 14px 42px rgba(0, 0, 0, 0.24);
}

.make-now-strip span,
.input-help {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.make-now-strip span {
  color: var(--electric);
}

.make-now-strip strong {
  display: block;
  margin: 3px 0;
  color: var(--white);
  font-size: clamp(1rem, 2.2vw, 1.42rem);
  line-height: 1.08;
}

.make-now-strip em {
  color: var(--muted);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 800;
  line-height: 1.35;
}

.make-now-strip-steps {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 6px;
}

.make-now-strip-steps b {
  min-height: 34px;
  display: grid;
  place-items: center;
  padding: 0 10px;
  color: #f8fafc;
  border: 1px solid rgba(238, 243, 248, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.78rem;
  line-height: 1;
  white-space: nowrap;
}

.make-now-strip-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  min-width: 190px;
}

.make-now-strip-actions button {
  min-height: 40px;
  padding: 0 12px;
  color: var(--white);
  border: 1px solid rgba(33, 230, 255, 0.26);
  border-radius: 8px;
  background: rgba(10, 16, 24, 0.96);
  font-size: 0.82rem;
  font-weight: 950;
  white-space: normal;
}

.make-now-strip-actions button.is-primary-action {
  color: #03121a;
  border-color: rgba(33, 230, 255, 0.72);
  background:
    linear-gradient(180deg, #effcff 0%, var(--electric) 54%, var(--electric-2) 100%);
  box-shadow: 0 14px 34px rgba(33, 230, 255, 0.22), 0 0 18px rgba(255, 48, 79, 0.14);
}

.time-to-thumbnail-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.74fr);
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
  padding: 12px;
  border: 1px solid rgba(33, 230, 255, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(33, 230, 255, 0.12), rgba(255, 48, 79, 0.09)),
    rgba(9, 14, 22, 0.94);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.24);
}

.time-to-thumbnail-card span {
  color: var(--electric);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.time-to-thumbnail-card strong {
  display: block;
  margin: 3px 0;
  color: var(--white);
  font-size: clamp(0.98rem, 1.8vw, 1.2rem);
  line-height: 1.1;
}

.time-to-thumbnail-card em {
  color: var(--muted);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 800;
  line-height: 1.35;
}

.time-to-thumbnail-options {
  display: grid;
  gap: 6px;
}

.time-to-thumbnail-options b {
  min-height: 34px;
  display: grid;
  align-items: center;
  padding: 0 10px;
  color: #eefcff;
  border: 1px solid rgba(33, 230, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.78rem;
  line-height: 1.12;
}

.one-thumbnail-now-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.95fr);
  gap: 14px;
  align-items: stretch;
  margin: 0 0 12px;
  padding: 16px;
  border: 1px solid rgba(33, 230, 255, 0.5);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(33, 230, 255, 0.16), rgba(255, 48, 79, 0.13)),
    rgba(5, 10, 17, 0.96);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 46px rgba(0, 0, 0, 0.34);
}

.one-thumbnail-now-copy {
  display: grid;
  gap: 7px;
  align-content: center;
}

.one-thumbnail-now-copy span,
.one-thumbnail-now-proof b {
  color: var(--electric);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.one-thumbnail-now-copy strong {
  max-width: 720px;
  color: var(--white);
  font-size: clamp(1.35rem, 2.4vw, 2.4rem);
  line-height: 1;
}

.one-thumbnail-now-copy em {
  max-width: 680px;
  color: #cbd7e8;
  font-size: 0.95rem;
  font-style: normal;
  font-weight: 750;
  line-height: 1.35;
}

.one-thumbnail-now-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.one-thumbnail-now-actions button {
  min-height: 46px;
  padding: 0 12px;
  color: #eef7ff;
  border: 1px solid rgba(33, 230, 255, 0.34);
  border-radius: 8px;
  background: rgba(6, 13, 21, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  font-size: 0.86rem;
  font-weight: 950;
}

.one-thumbnail-now-actions button:hover,
.one-thumbnail-now-actions button:focus-visible {
  outline: none;
  color: #03111a;
  border-color: rgba(33, 230, 255, 0.86);
  background: linear-gradient(180deg, #a7f8ff, #1bc7ff);
  box-shadow: 0 0 0 3px rgba(33, 230, 255, 0.18), 0 14px 30px rgba(33, 230, 255, 0.24);
}

.one-thumbnail-now-actions .is-next-action {
  color: #071014;
  border-color: rgba(255, 220, 122, 0.94);
  background: linear-gradient(180deg, #ffe897, #24dfff 54%, #16a7ff);
  box-shadow: 0 0 0 3px rgba(255, 48, 79, 0.16), 0 14px 36px rgba(33, 230, 255, 0.3);
}

.upload-map-card {
  display: grid;
  gap: 12px;
  margin: 0 0 12px;
  padding: 14px;
  border: 1px solid rgba(167, 190, 220, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(33, 230, 255, 0.1), rgba(255, 220, 122, 0.08)),
    rgba(5, 10, 17, 0.92);
}

.upload-map-card > div:first-child {
  display: grid;
  gap: 5px;
}

.upload-map-card span,
.upload-map-grid b span {
  color: var(--electric);
  font-size: 0.7rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.upload-map-card strong {
  color: var(--white);
  font-size: 1.02rem;
}

.upload-map-card em {
  color: #cbd7e8;
  font-size: 0.84rem;
  font-style: normal;
  font-weight: 750;
  line-height: 1.35;
}

.upload-map-grid,
.upload-map-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.upload-map-grid b {
  min-height: 58px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 10px;
  color: #eef7ff;
  border: 1px solid rgba(33, 230, 255, 0.22);
  border-radius: 8px;
  background: rgba(3, 8, 15, 0.78);
  font-size: 0.8rem;
  line-height: 1.2;
}

.upload-map-actions button {
  min-height: 40px;
  color: #061018;
  border-color: rgba(33, 230, 255, 0.62);
  background: linear-gradient(180deg, #dcfbff, #1fd8ff);
  box-shadow: 0 10px 24px rgba(33, 230, 255, 0.16);
}

.ai-fallback-card {
  display: grid;
  grid-column: 1 / -1;
  gap: 8px;
  margin-top: 8px;
  padding: 12px;
  border: 1px solid rgba(255, 220, 122, 0.54);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 220, 122, 0.16), rgba(255, 48, 79, 0.1)),
    rgba(5, 9, 15, 0.96);
  box-shadow: 0 0 26px rgba(255, 220, 122, 0.12);
}

.ai-fallback-card[hidden] {
  display: none;
}

.ai-fallback-card span {
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ai-fallback-card strong {
  color: var(--white);
  font-size: 1rem;
}

.ai-fallback-card em {
  color: #d7e3f2;
  font-size: 0.84rem;
  font-style: normal;
  line-height: 1.35;
}

.ai-source-lock-receipt {
  min-height: 96px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 12px;
  border: 1px solid rgba(255, 48, 79, 0.5);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 48, 79, 0.16), rgba(3, 7, 13, 0.92)),
    rgba(4, 8, 14, 0.88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.ai-source-lock-receipt span {
  color: var(--red);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ai-source-lock-receipt strong {
  color: var(--white);
  font-size: 0.98rem;
  line-height: 1.15;
}

.ai-source-lock-receipt em {
  color: #d8e4f2;
  font-size: 0.78rem;
  font-style: normal;
  line-height: 1.35;
}

.ai-source-lock-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ai-source-lock-proof b {
  display: inline-grid;
  min-height: 26px;
  align-items: center;
  padding: 4px 8px;
  color: #071018;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--electric), #7af6ff);
  font-size: 0.66rem;
  font-weight: 950;
  line-height: 1.1;
}

.ai-source-lock-receipt[data-ai-source-lock="source-guided"] {
  border-color: rgba(53, 231, 166, 0.62);
  background:
    linear-gradient(135deg, rgba(53, 231, 166, 0.16), rgba(33, 230, 255, 0.1)),
    rgba(3, 9, 14, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 26px rgba(53, 231, 166, 0.16);
}

.ai-source-lock-receipt[data-ai-source-lock="source-guided"] span {
  color: var(--green);
}

.ai-source-lock-receipt[data-ai-source-lock="idea-only"] {
  border-color: rgba(255, 139, 61, 0.62);
  background:
    linear-gradient(135deg, rgba(255, 139, 61, 0.15), rgba(3, 7, 13, 0.92)),
    rgba(4, 8, 14, 0.88);
}

.ai-source-lock-receipt[data-ai-source-lock="idea-only"] span {
  color: var(--amber);
}

.ai-run-readiness {
  min-height: 96px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(37, 217, 255, 0.42);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(37, 217, 255, 0.15), rgba(4, 8, 14, 0.92)),
    rgba(4, 8, 14, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 0 28px rgba(33, 230, 255, 0.12);
}

.ai-run-readiness > span {
  color: var(--electric);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ai-run-readiness > strong {
  color: var(--white);
  font-size: 0.98rem;
  line-height: 1.15;
}

.ai-run-readiness > em {
  color: #d8e4f2;
  font-size: 0.78rem;
  font-style: normal;
  line-height: 1.35;
}

.ai-run-readiness-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.ai-run-readiness-grid b {
  display: grid;
  gap: 2px;
  min-height: 42px;
  align-content: center;
  padding: 6px 7px;
  color: var(--white);
  border: 1px solid rgba(167, 190, 220, 0.18);
  border-radius: 8px;
  background: rgba(3, 7, 13, 0.74);
  font-size: 0.72rem;
  font-weight: 950;
  line-height: 1.12;
}

.ai-run-readiness-grid b span {
  color: var(--silver);
  font-size: 0.56rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ai-run-readiness[data-ai-run-readiness="ready"] {
  border-color: rgba(53, 231, 166, 0.68);
  background:
    linear-gradient(135deg, rgba(53, 231, 166, 0.18), rgba(33, 230, 255, 0.12), rgba(4, 8, 14, 0.92)),
    rgba(4, 8, 14, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 32px rgba(53, 231, 166, 0.18);
}

.ai-run-readiness[data-ai-run-readiness="ready"] > span,
.ai-run-readiness[data-ai-run-readiness="ready"] .ai-run-readiness-grid b:nth-child(2) {
  color: var(--green);
}

.ai-run-readiness[data-ai-run-readiness="confirm"] {
  border-color: rgba(255, 189, 74, 0.68);
  background:
    linear-gradient(135deg, rgba(255, 189, 74, 0.18), rgba(255, 48, 79, 0.1), rgba(4, 8, 14, 0.92)),
    rgba(4, 8, 14, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 32px rgba(255, 189, 74, 0.16);
}

.ai-run-readiness[data-ai-run-readiness="confirm"] > span,
.ai-run-readiness[data-ai-run-readiness="confirm"] .ai-run-readiness-grid b:nth-child(3) {
  color: var(--amber);
}

.ai-run-readiness[data-ai-run-readiness="blocked"] {
  border-color: rgba(255, 48, 79, 0.7);
  background:
    linear-gradient(135deg, rgba(255, 48, 79, 0.18), rgba(4, 8, 14, 0.92)),
    rgba(4, 8, 14, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 32px rgba(255, 48, 79, 0.14);
}

.ai-run-readiness[data-ai-run-readiness="blocked"] > span,
.ai-run-readiness[data-ai-run-readiness="blocked"] .ai-run-readiness-grid b:nth-child(4) {
  color: var(--red);
}

.ai-spend-gate {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(37, 217, 255, 0.44);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(37, 217, 255, 0.14), rgba(255, 48, 79, 0.08), rgba(4, 8, 14, 0.94)),
    rgba(4, 8, 14, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 28px rgba(37, 217, 255, 0.12);
}

.ai-spend-gate span {
  color: var(--electric);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ai-spend-gate strong {
  display: block;
  margin-top: 3px;
  color: var(--white);
  font-size: 1rem;
  line-height: 1.15;
}

.ai-spend-gate em {
  display: block;
  margin-top: 4px;
  color: #d8e4f2;
  font-size: 0.8rem;
  font-style: normal;
  line-height: 1.35;
}

.ai-spend-proof,
.ai-spend-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.ai-spend-proof b {
  display: inline-grid;
  min-height: 26px;
  align-items: center;
  padding: 4px 8px;
  color: #071018;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff4bd, var(--amber));
  font-size: 0.66rem;
  font-weight: 950;
}

.ai-spend-actions button {
  min-height: 34px;
  padding: 8px 11px;
  color: #061018;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: linear-gradient(180deg, #7ff7ff, var(--electric));
  box-shadow: 0 0 18px rgba(37, 217, 255, 0.18);
  font-size: 0.72rem;
  font-weight: 950;
}

.ai-spend-actions button[data-run-generate] {
  background: linear-gradient(180deg, #fffbce, var(--amber));
  box-shadow: 0 0 22px rgba(255, 189, 74, 0.24);
}

.ai-spend-actions button:disabled {
  color: #91a3b9;
  cursor: not-allowed;
  background: rgba(13, 20, 31, 0.92);
  box-shadow: none;
}

.ai-spend-gate[data-ai-spend-gate="source-guided"] {
  border-color: rgba(53, 231, 166, 0.68);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 34px rgba(53, 231, 166, 0.18);
}

.ai-spend-gate[data-ai-spend-gate="source-guided"] span {
  color: var(--green);
}

.ai-spend-gate[data-ai-spend-gate="source-guided"] .ai-spend-proof b {
  background: linear-gradient(180deg, #bcffe7, var(--green));
}

.ai-spend-gate[data-ai-spend-gate="confirm"],
.ai-spend-gate[data-ai-spend-gate="armed"] {
  border-color: rgba(255, 189, 74, 0.68);
}

.ai-spend-gate[data-ai-spend-gate="waiting"] {
  border-color: rgba(255, 48, 79, 0.62);
}

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

.ai-fallback-actions button {
  min-height: 40px;
}

.ai-fallback-actions button:first-child {
  color: #061018;
  border-color: rgba(255, 220, 122, 0.82);
  background: linear-gradient(180deg, #fff4b8, #21e6ff);
}

.live-feed-quick-card {
  display: grid;
  gap: 12px;
  margin: 0 0 14px;
  padding: 16px;
  border: 1px solid rgba(255, 220, 122, 0.58);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 220, 122, 0.18), rgba(33, 230, 255, 0.12), rgba(255, 48, 79, 0.1)),
    rgba(4, 8, 14, 0.96);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 46px rgba(0, 0, 0, 0.34);
}

.live-feed-quick-copy {
  display: grid;
  gap: 6px;
}

.live-feed-quick-copy span,
.live-feed-quick-card small {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.live-feed-quick-copy strong {
  color: var(--white);
  font-size: clamp(1.25rem, 2.2vw, 2rem);
  line-height: 1.05;
}

.live-feed-quick-copy em,
.live-feed-quick-card small {
  color: #d7e3f2;
  font-style: normal;
  line-height: 1.35;
}

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

.live-feed-steps b {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-height: 58px;
  padding: 10px;
  color: #f7fbff;
  border: 1px solid rgba(33, 230, 255, 0.24);
  border-radius: 8px;
  background: rgba(5, 10, 18, 0.74);
  font-size: 0.82rem;
  line-height: 1.18;
}

.live-feed-steps span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: #061018;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffe897, #21e6ff);
  font-weight: 950;
}

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

.live-feed-checklist b {
  display: grid;
  gap: 4px;
  min-height: 58px;
  align-content: center;
  padding: 10px;
  color: #eef7ff;
  border: 1px solid rgba(167, 190, 220, 0.18);
  border-radius: 8px;
  background: rgba(2, 6, 13, 0.62);
  font-size: 0.78rem;
  line-height: 1.2;
}

.live-feed-checklist b.is-ready {
  color: #061018;
  border-color: rgba(53, 231, 166, 0.62);
  background: linear-gradient(180deg, #b8ffe0, #35e7a6);
}

.live-feed-checklist b.is-next {
  color: #061018;
  border-color: rgba(255, 220, 122, 0.72);
  background: linear-gradient(180deg, #fff1aa, #21e6ff);
  box-shadow: 0 0 0 3px rgba(255, 220, 122, 0.16);
}

.live-feed-checklist span {
  color: inherit;
  opacity: 0.74;
  font-size: 0.66rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.live-feed-wallet-note {
  min-height: 42px;
  display: grid;
  align-items: center;
  padding: 10px 12px;
  color: #eaf8ff;
  border: 1px solid rgba(33, 230, 255, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(33, 230, 255, 0.14), rgba(255, 48, 79, 0.08)),
    rgba(2, 6, 13, 0.74);
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.3;
}

.live-feed-wallet-note.is-ready {
  color: #071014;
  border-color: rgba(53, 231, 166, 0.68);
  background: linear-gradient(180deg, #c7ffe9, #35e7a6);
}

.live-feed-wallet-note.is-next {
  color: #071014;
  border-color: rgba(255, 220, 122, 0.76);
  background: linear-gradient(180deg, #fff2b8, #25dcff);
  box-shadow: 0 0 0 3px rgba(255, 220, 122, 0.13), 0 12px 28px rgba(33, 230, 255, 0.2);
}

.live-feed-wallet-note.is-blocked {
  color: #fff5f6;
  border-color: rgba(255, 48, 79, 0.7);
  background: linear-gradient(135deg, rgba(255, 48, 79, 0.3), rgba(8, 12, 18, 0.94));
}

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

.live-feed-actions button {
  min-height: 44px;
  padding: 0 10px;
  color: #eef7ff;
  border: 1px solid rgba(33, 230, 255, 0.34);
  border-radius: 8px;
  background: rgba(6, 13, 21, 0.9);
  font-size: 0.82rem;
  font-weight: 950;
}

.live-feed-actions .is-primary-action {
  color: #061018;
  border-color: rgba(255, 255, 255, 0.78);
  background: linear-gradient(180deg, #fff5ba, #28dfff 58%, #1683ff);
  box-shadow: 0 0 0 3px rgba(255, 220, 122, 0.15), 0 14px 34px rgba(33, 230, 255, 0.24);
}

.start-choice-card {
  display: grid;
  gap: 12px;
  margin: 0 0 14px;
  padding: 14px;
  border: 1px solid rgba(53, 231, 166, 0.42);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(53, 231, 166, 0.14), rgba(33, 230, 255, 0.1), rgba(255, 48, 79, 0.08)),
    rgba(4, 8, 14, 0.94);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 16px 42px rgba(0, 0, 0, 0.28);
}

.start-choice-copy {
  display: grid;
  gap: 5px;
}

.start-choice-copy span,
.start-choice-grid b {
  color: var(--electric);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.start-choice-copy strong {
  color: var(--white);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.05;
}

.start-choice-copy em {
  max-width: 820px;
  color: var(--silver);
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 800;
  line-height: 1.35;
}

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

.start-choice-grid article {
  display: grid;
  gap: 8px;
  align-content: start;
  min-height: 188px;
  padding: 12px;
  border: 1px solid rgba(33, 230, 255, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(33, 230, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(3, 7, 13, 0.74);
}

.start-choice-grid article:nth-child(2) {
  border-color: rgba(255, 48, 79, 0.34);
}

.start-choice-grid article:nth-child(3) {
  border-color: rgba(255, 205, 74, 0.34);
}

.start-choice-grid strong {
  color: var(--white);
  font-size: 1.02rem;
  line-height: 1.05;
}

.start-choice-grid span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 760;
  line-height: 1.35;
}

.start-choice-grid em {
  color: var(--success);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 950;
}

.start-choice-grid button {
  align-self: end;
  min-height: 42px;
  padding: 8px 10px;
  color: #041016;
  border: 1px solid rgba(33, 230, 255, 0.72);
  border-radius: 8px;
  background: linear-gradient(180deg, #f8ffff, #21e6ff 52%, #35e7a6);
  box-shadow: 0 0 0 3px rgba(33, 230, 255, 0.13), 0 12px 28px rgba(33, 230, 255, 0.18);
  font-size: 0.8rem;
  font-weight: 950;
}

.start-choice-grid button:hover,
.start-choice-grid button:focus-visible {
  outline: none;
  transform: translateY(-1px);
  box-shadow: 0 0 0 3px rgba(255, 205, 74, 0.18), 0 16px 34px rgba(33, 230, 255, 0.26);
}

.maker-status-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 1.3fr);
  gap: 12px;
  align-items: stretch;
  margin-bottom: 14px;
  padding: 12px;
  border: 1px solid rgba(33, 230, 255, 0.44);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(33, 230, 255, 0.16), rgba(255, 48, 79, 0.1)),
    rgba(4, 8, 14, 0.94);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 48px rgba(0, 0, 0, 0.26);
}

.current-ai-source-receipt {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.35fr) minmax(0, 0.7fr);
  gap: 8px;
}

.current-ai-source-receipt b {
  display: grid;
  align-content: center;
  gap: 4px;
  min-height: 52px;
  padding: 10px;
  color: #f5fbff;
  border: 1px solid rgba(33, 230, 255, 0.28);
  border-radius: 8px;
  background: rgba(2, 8, 15, 0.76);
  font-size: 0.82rem;
  line-height: 1.2;
}

.current-ai-source-receipt span {
  color: var(--electric);
  font-size: 0.66rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.current-ai-source-receipt[data-source-tone="ready"] b {
  border-color: rgba(53, 231, 166, 0.48);
  box-shadow: inset 0 0 0 1px rgba(53, 231, 166, 0.08);
}

.current-ai-source-receipt[data-source-tone="attention"] b {
  border-color: rgba(255, 220, 122, 0.54);
}

.current-ai-source-receipt[data-source-tone="idea"] b {
  border-color: rgba(255, 48, 79, 0.38);
}

.thumbnail-pipeline-card {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid rgba(33, 230, 255, 0.52);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(33, 230, 255, 0.16), rgba(255, 48, 79, 0.1)),
    rgba(3, 7, 13, 0.95);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 0 36px rgba(33, 230, 255, 0.12);
}

.thumbnail-pipeline-card.is-generate,
.thumbnail-pipeline-card.is-export,
.thumbnail-pipeline-card.is-done {
  border-color: rgba(53, 231, 166, 0.64);
}

.pipeline-heading {
  display: grid;
  gap: 5px;
}

.pipeline-heading span,
.pipeline-status-grid b span {
  color: var(--electric);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pipeline-heading strong {
  color: var(--white);
  font-size: clamp(1.35rem, 2.4vw, 2.4rem);
  line-height: 1.02;
}

.pipeline-heading em {
  color: var(--silver);
  font-size: 0.84rem;
  font-style: normal;
  font-weight: 820;
  line-height: 1.35;
}

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

.pipeline-status-grid b {
  display: grid;
  gap: 5px;
  align-content: center;
  min-height: 66px;
  padding: 10px;
  color: var(--white);
  border: 1px solid rgba(33, 230, 255, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(9, 18, 28, 0.9), rgba(4, 8, 14, 0.95));
  font-size: 0.82rem;
  line-height: 1.08;
}

.today-finish-receipt {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.8fr);
  gap: 12px;
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid rgba(52, 245, 170, 0.48);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(52, 245, 170, 0.14), rgba(35, 232, 255, 0.13), rgba(255, 36, 72, 0.07)),
    rgba(4, 8, 14, 0.94);
  box-shadow: inset 0 1px 0 rgba(244, 247, 251, 0.08), 0 18px 44px rgba(0, 0, 0, 0.28);
}

.today-finish-receipt > div:first-child {
  display: grid;
  gap: 5px;
  align-content: center;
}

.today-finish-receipt span {
  color: var(--green);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.today-finish-receipt strong {
  color: var(--white);
  font-size: 1.06rem;
  line-height: 1.14;
}

.today-finish-receipt em {
  color: var(--silver);
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 800;
  line-height: 1.38;
}

.today-finish-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.today-finish-proof b {
  display: grid;
  gap: 3px;
  min-height: 56px;
  align-content: center;
  padding: 8px;
  color: var(--white);
  border: 1px solid rgba(52, 245, 170, 0.2);
  border-radius: 8px;
  background: rgba(3, 7, 13, 0.74);
  font-size: 0.76rem;
  line-height: 1.1;
}

.today-finish-proof b span {
  color: var(--steel);
  font-size: 0.56rem;
}

.today-finish-actions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.today-finish-actions button {
  min-height: 38px;
  padding: 8px 10px;
  color: var(--white);
  border: 1px solid rgba(35, 232, 255, 0.34);
  border-radius: 8px;
  background: rgba(35, 232, 255, 0.12);
  font-size: 0.74rem;
  font-weight: 950;
}

.today-finish-actions button.is-primary-action {
  color: #03121a;
  border-color: rgba(52, 245, 170, 0.78);
  background: linear-gradient(180deg, #effff7 0%, var(--green) 56%, var(--electric));
}

.today-finish-receipt[data-today-stage="pick"] {
  border-color: rgba(255, 189, 74, 0.58);
}

.today-finish-receipt[data-today-stage="export"] {
  border-color: rgba(35, 232, 255, 0.58);
}

.thumbnail-rescue-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.95fr);
  gap: 12px;
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid rgba(35, 232, 255, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(35, 232, 255, 0.14), rgba(255, 36, 72, 0.08)),
    rgba(4, 8, 14, 0.94);
  box-shadow: inset 0 1px 0 rgba(244, 247, 251, 0.08), 0 18px 44px rgba(0, 0, 0, 0.28);
}

.thumbnail-rescue-card > div:first-child {
  display: grid;
  gap: 5px;
  align-content: center;
}

.thumbnail-rescue-card span {
  color: var(--electric);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.thumbnail-rescue-card strong {
  color: var(--white);
  font-size: 1rem;
  line-height: 1.14;
}

.thumbnail-rescue-card em {
  color: var(--silver);
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 800;
  line-height: 1.38;
}

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

.rescue-map b {
  display: grid;
  gap: 3px;
  min-height: 54px;
  align-content: center;
  padding: 8px;
  color: var(--white);
  border: 1px solid rgba(167, 190, 220, 0.18);
  border-radius: 8px;
  background: rgba(3, 7, 13, 0.74);
  font-size: 0.74rem;
  line-height: 1.1;
}

.rescue-map b span {
  color: var(--steel);
  font-size: 0.56rem;
}

.rescue-actions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.rescue-actions button {
  min-height: 38px;
  padding: 8px 10px;
  color: var(--white);
  border: 1px solid rgba(35, 232, 255, 0.34);
  border-radius: 8px;
  background: rgba(35, 232, 255, 0.12);
  font-size: 0.74rem;
  font-weight: 950;
}

.rescue-actions button.is-primary-action {
  color: #03121a;
  border-color: rgba(35, 232, 255, 0.78);
  background: linear-gradient(180deg, #effcff 0%, var(--electric) 56%, var(--electric-2));
}

.thumbnail-rescue-card[data-rescue-tone="source"] {
  border-color: rgba(52, 245, 170, 0.54);
  background:
    linear-gradient(135deg, rgba(52, 245, 170, 0.15), rgba(35, 232, 255, 0.1)),
    rgba(4, 8, 14, 0.94);
}

.thumbnail-rescue-card[data-rescue-tone="ai"] {
  border-color: rgba(255, 36, 72, 0.62);
  background:
    linear-gradient(135deg, rgba(255, 36, 72, 0.18), rgba(35, 232, 255, 0.08)),
    rgba(4, 8, 14, 0.94);
}

.thumbnail-rescue-card[data-rescue-tone="done"] {
  border-color: rgba(255, 189, 74, 0.62);
  background:
    linear-gradient(135deg, rgba(255, 189, 74, 0.18), rgba(35, 232, 255, 0.1)),
    rgba(4, 8, 14, 0.94);
}

.pipeline-source-preview {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr);
  gap: 8px;
}

.pipeline-source-preview > div {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 118px;
  overflow: hidden;
  padding: 10px;
  border: 1px solid rgba(33, 230, 255, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(33, 230, 255, 0.08), rgba(255, 48, 79, 0.08)),
    rgba(5, 10, 17, 0.92);
  background-size: cover;
  background-position: center;
}

.pipeline-source-preview > div.has-preview {
  border-color: rgba(53, 231, 166, 0.58);
  box-shadow: inset 0 -54px 80px rgba(2, 6, 13, 0.72);
}

.pipeline-source-preview span {
  color: var(--electric);
  font-size: 0.66rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

.pipeline-source-preview strong {
  color: var(--white);
  font-size: 0.9rem;
  line-height: 1.08;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.95);
}

.video-location-receipt,
.face-location-receipt {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  margin: 10px 0;
  padding: 12px;
  border: 1px solid rgba(37, 217, 255, 0.32);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(37, 217, 255, 0.16), rgba(255, 48, 79, 0.08)),
    rgba(6, 12, 20, 0.9);
}

.video-location-receipt[data-video-location-tone="ready"],
.video-location-receipt[data-video-location-tone="choices"] {
  border-color: rgba(53, 231, 166, 0.48);
  box-shadow: 0 0 24px rgba(37, 217, 255, 0.12);
}

.video-location-receipt[data-video-location-tone="done"] {
  border-color: rgba(255, 207, 92, 0.54);
}

.face-location-receipt[data-face-location-tone="stored"],
.face-location-receipt[data-face-location-tone="choices"] {
  border-color: rgba(53, 231, 166, 0.48);
  box-shadow: 0 0 24px rgba(53, 231, 166, 0.1);
}

.face-location-receipt[data-face-location-tone="local"] {
  border-color: rgba(255, 207, 92, 0.5);
}

.video-location-receipt span,
.face-location-receipt span {
  color: var(--electric);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.video-location-receipt strong,
.face-location-receipt strong {
  display: block;
  margin-top: 4px;
  color: var(--white);
  font-size: 0.92rem;
  line-height: 1.14;
}

.video-location-receipt em,
.face-location-receipt em {
  display: block;
  margin-top: 4px;
  color: var(--silver);
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 850;
  line-height: 1.3;
}

.video-location-actions,
.face-location-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.video-location-actions button,
.face-location-actions button {
  min-height: 36px;
  padding: 0 10px;
  color: var(--white);
  border: 1px solid rgba(37, 217, 255, 0.35);
  border-radius: 8px;
  background: rgba(37, 217, 255, 0.14);
  font-size: 0.72rem;
  font-weight: 950;
}

.video-location-actions button:first-child,
.face-location-actions button:first-child {
  color: #03121a;
  border-color: rgba(37, 217, 255, 0.7);
  background: linear-gradient(180deg, #effcff 0%, var(--electric) 100%);
}

.pipeline-source-tray {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 10px;
}

.pipeline-source-tray section {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(33, 230, 255, 0.24);
  border-radius: 8px;
  background: rgba(3, 7, 13, 0.72);
}

.pipeline-source-receipt {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px;
  padding: 10px 12px;
  border: 1px solid rgba(33, 230, 255, 0.24);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(33, 230, 255, 0.1), rgba(255, 48, 79, 0.08));
}

.pipeline-source-receipt span {
  color: var(--electric);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}

.pipeline-source-receipt strong {
  color: var(--text);
  font-size: 0.9rem;
}

.pipeline-source-receipt em {
  color: var(--muted);
  font-size: 0.73rem;
  font-style: normal;
  line-height: 1.4;
}

.pipeline-source-receipt-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(112px, auto));
  gap: 8px;
}

.pipeline-source-receipt-actions button {
  min-height: 38px;
  padding: 8px 10px;
  border-color: rgba(33, 230, 255, 0.46);
  background:
    linear-gradient(180deg, rgba(33, 230, 255, 0.96), rgba(17, 119, 255, 0.88));
  box-shadow: 0 0 18px rgba(33, 230, 255, 0.24);
}

.pipeline-source-receipt-actions button + button {
  color: #061017;
  border-color: rgba(53, 231, 166, 0.58);
  background:
    linear-gradient(180deg, rgba(110, 255, 206, 0.98), rgba(33, 230, 255, 0.92));
}

.pipeline-tray-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 6px;
  align-items: center;
}

.pipeline-tray-heading > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.pipeline-tray-heading span,
.pipeline-tray-empty em,
.pipeline-tray-thumb span {
  color: var(--silver);
  font-size: 0.66rem;
  font-weight: 900;
  line-height: 1.18;
}

.pipeline-tray-heading span {
  color: var(--electric);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pipeline-tray-heading strong,
.pipeline-tray-empty strong {
  color: var(--white);
  font-size: 0.78rem;
  line-height: 1.15;
}

.pipeline-tray-heading button,
.pipeline-face-chip > button:last-child {
  min-height: 30px;
  padding: 5px 8px;
  color: var(--white);
  border: 1px solid rgba(33, 230, 255, 0.28);
  border-radius: 8px;
  background: rgba(5, 11, 18, 0.92);
  font-size: 0.66rem;
  font-weight: 950;
}

.pipeline-tray-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(82px, 108px);
  gap: 7px;
  min-width: 0;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-color: rgba(33, 230, 255, 0.58) rgba(5, 11, 18, 0.7);
}

.pipeline-tray-empty {
  display: grid;
  gap: 4px;
  grid-column: 1 / -1;
  min-height: 74px;
  align-content: center;
  padding: 9px;
  border: 1px dashed rgba(143, 160, 180, 0.28);
  border-radius: 8px;
  background: rgba(5, 11, 18, 0.78);
}

.pipeline-tray-thumb {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 74px;
  overflow: hidden;
  padding: 6px;
  color: var(--white);
  border: 1px solid rgba(143, 160, 180, 0.24);
  border-radius: 8px;
  background: rgba(5, 11, 18, 0.92);
  text-align: left;
}

.pipeline-tray-thumb img {
  position: absolute;
  inset: 0;
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
}

.pipeline-tray-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 6, 13, 0.06), rgba(2, 6, 13, 0.86));
}

.pipeline-tray-thumb span,
.pipeline-tray-thumb b {
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

.pipeline-tray-thumb b {
  position: absolute;
  z-index: 1;
  top: 5px;
  right: 5px;
  min-width: 24px;
  padding: 2px 5px;
  color: #03121a;
  border-radius: 999px;
  background: var(--electric);
  font-size: 0.62rem;
  font-weight: 950;
  text-align: center;
}

.pipeline-tray-thumb i {
  position: absolute;
  z-index: 2;
  top: 5px;
  left: 5px;
  padding: 3px 6px;
  color: #03121a;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--electric), var(--lime));
  box-shadow: 0 0 14px rgba(37, 217, 255, 0.32);
  font-size: 0.56rem;
  font-style: normal;
  font-weight: 1000;
  letter-spacing: 0;
  text-transform: uppercase;
}

.pipeline-tray-thumb.is-active,
.pipeline-face-chip.is-active .pipeline-tray-thumb {
  border-color: rgba(53, 231, 166, 0.86);
  box-shadow: 0 0 0 2px rgba(53, 231, 166, 0.2), 0 0 18px rgba(33, 230, 255, 0.2);
}

.pipeline-face-chip {
  display: grid;
  gap: 5px;
}

.pipeline-face-chip > button:last-child {
  min-height: 26px;
  color: #ffc8d0;
  border-color: rgba(255, 48, 79, 0.34);
  background: rgba(255, 48, 79, 0.1);
}

.pipeline-cleanup-dock {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(255, 48, 79, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 48, 79, 0.14), rgba(33, 230, 255, 0.08)),
    rgba(3, 7, 13, 0.88);
}

.pipeline-cleanup-dock > div:first-child {
  display: grid;
  gap: 4px;
}

.pipeline-cleanup-dock span,
.pipeline-cleanup-counts span {
  color: var(--electric);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pipeline-cleanup-dock strong {
  color: var(--white);
  font-size: 0.96rem;
  line-height: 1.15;
}

.pipeline-cleanup-dock em {
  color: var(--silver);
  font-size: 0.76rem;
  font-style: normal;
  line-height: 1.35;
}

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

.pipeline-cleanup-counts b {
  display: grid;
  gap: 4px;
  min-height: 50px;
  align-content: center;
  padding: 8px;
  color: var(--white);
  border: 1px solid rgba(33, 230, 255, 0.22);
  border-radius: 8px;
  background: rgba(5, 11, 18, 0.84);
  font-size: 0.82rem;
  line-height: 1.1;
}

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

.pipeline-cleanup-actions button {
  min-height: 38px;
  border-color: rgba(255, 48, 79, 0.34);
  background:
    linear-gradient(180deg, rgba(255, 96, 112, 0.16), rgba(33, 230, 255, 0.1)),
    rgba(5, 11, 18, 0.9);
}

.source-cleanup-dock {
  margin-top: 12px;
}

.pipeline-source-lock {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.95fr);
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(255, 194, 51, 0.32);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 194, 51, 0.1), rgba(255, 48, 79, 0.08)),
    rgba(5, 11, 18, 0.88);
}

.pipeline-source-lock.is-ready {
  border-color: rgba(53, 231, 166, 0.58);
  background:
    linear-gradient(135deg, rgba(53, 231, 166, 0.12), rgba(33, 230, 255, 0.08)),
    rgba(5, 11, 18, 0.9);
  box-shadow: 0 0 22px rgba(33, 230, 255, 0.12);
}

.pipeline-source-lock > div:first-child {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.pipeline-source-lock span {
  color: var(--electric);
  font-size: 0.66rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pipeline-source-lock strong {
  color: var(--white);
  font-size: 0.88rem;
  line-height: 1.14;
}

.pipeline-source-lock em {
  color: var(--silver);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 820;
  line-height: 1.25;
}

.pipeline-source-lock-pills {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.pipeline-source-lock-pills b {
  display: grid;
  gap: 3px;
  min-height: 46px;
  align-content: center;
  padding: 7px 8px;
  color: var(--white);
  border: 1px solid rgba(33, 230, 255, 0.24);
  border-radius: 8px;
  background: rgba(2, 6, 13, 0.78);
  font-size: 0.7rem;
  line-height: 1.1;
}

.pipeline-source-lock.is-ready .pipeline-source-lock-pills b {
  border-color: rgba(53, 231, 166, 0.38);
}

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

.pipeline-actions button {
  min-height: 42px;
  padding: 8px 10px;
  color: var(--white);
  border: 1px solid rgba(143, 160, 180, 0.3);
  border-radius: 8px;
  background: rgba(5, 11, 18, 0.9);
  font-size: 0.78rem;
  font-weight: 950;
}

.pipeline-actions button.is-pipeline-next {
  color: #021018;
  border-color: rgba(33, 230, 255, 0.95);
  background:
    linear-gradient(180deg, #ffffff 0%, #21e6ff 48%, #35e7a6 100%);
  box-shadow: 0 0 0 3px rgba(255, 48, 79, 0.16), 0 0 32px rgba(33, 230, 255, 0.34);
}

.pipeline-actions button.is-cleanup-action {
  color: #ffd8df;
  border-color: rgba(255, 48, 79, 0.34);
  background:
    linear-gradient(180deg, rgba(255, 48, 79, 0.12), rgba(5, 11, 18, 0.92));
}

.pipeline-cleanup-note {
  padding: 8px 10px;
  color: var(--silver);
  border: 1px solid rgba(143, 160, 180, 0.18);
  border-radius: 8px;
  background: rgba(2, 6, 13, 0.7);
  font-size: 0.72rem;
  font-weight: 820;
  line-height: 1.35;
}

.maker-status-card.is-ready {
  border-color: rgba(53, 231, 166, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 32px rgba(33, 230, 255, 0.14);
}

.maker-status-card > div:first-child {
  display: grid;
  gap: 5px;
  align-content: center;
}

.maker-status-card span {
  color: var(--electric);
  font-size: 0.7rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.maker-status-card strong {
  color: var(--white);
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  line-height: 1.05;
}

.maker-status-card em {
  color: var(--silver);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 800;
  line-height: 1.4;
}

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

.maker-status-grid b {
  min-width: 0;
  display: grid;
  gap: 4px;
  align-content: center;
  min-height: 64px;
  padding: 10px;
  overflow: hidden;
  color: var(--white);
  border: 1px solid rgba(33, 230, 255, 0.24);
  border-radius: 8px;
  background: rgba(3, 7, 13, 0.76);
  font-size: 0.82rem;
  line-height: 1.1;
}

.maker-status-grid b span {
  color: var(--muted);
  font-size: 0.62rem;
}

.maker-status-actions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.maker-status-actions button {
  min-height: 40px;
  padding: 8px 10px;
  color: var(--white);
  border: 1px solid rgba(143, 160, 180, 0.28);
  border-radius: 8px;
  background: rgba(5, 11, 18, 0.88);
  font-size: 0.78rem;
  font-weight: 950;
}

.maker-status-actions button.is-maker-next {
  color: #02070d;
  border-color: rgba(33, 230, 255, 0.96);
  background:
    linear-gradient(180deg, #ffffff 0%, #21e6ff 48%, #35e7a6 100%);
  box-shadow: 0 0 0 3px rgba(255, 48, 79, 0.16), 0 0 30px rgba(33, 230, 255, 0.3);
}

.thumbnail-recipe-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  gap: 14px;
  align-items: stretch;
  margin-bottom: 12px;
  padding: 14px;
  border: 1px solid rgba(37, 217, 255, 0.42);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(37, 217, 255, 0.18), rgba(255, 48, 79, 0.1) 54%, rgba(255, 205, 74, 0.1)),
    rgba(5, 10, 18, 0.86);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 18px 46px rgba(0, 0, 0, 0.24);
}

.thumbnail-recipe-card > div:first-child {
  display: grid;
  align-content: center;
  gap: 5px;
}

.thumbnail-recipe-card span {
  color: var(--electric);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.thumbnail-recipe-card strong {
  color: var(--white);
  font-size: clamp(1.02rem, 2vw, 1.32rem);
  line-height: 1.05;
}

.thumbnail-recipe-card em {
  color: var(--muted);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 760;
  line-height: 1.35;
}

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

.thumbnail-recipe-steps b {
  display: grid;
  min-height: 82px;
  align-content: center;
  gap: 6px;
  padding: 10px;
  color: var(--white);
  border: 1px solid rgba(37, 217, 255, 0.25);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(37, 217, 255, 0.05)),
    rgba(8, 14, 22, 0.78);
  box-shadow: 0 0 24px rgba(37, 217, 255, 0.08);
  font-size: 0.78rem;
  font-weight: 920;
  letter-spacing: 0;
}

.thumbnail-recipe-steps b:nth-child(3) {
  color: #061017;
  border-color: rgba(255, 255, 255, 0.5);
  background: linear-gradient(180deg, #ffffff, var(--electric));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.2),
    0 0 26px rgba(37, 217, 255, 0.34);
}

.thumbnail-recipe-steps b span {
  color: inherit;
  opacity: 0.78;
  font-size: 0.62rem;
}

.reaction-creator-kit {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.15fr);
  gap: 12px;
  align-items: stretch;
  margin-bottom: 12px;
  padding: 14px;
  border: 1px solid rgba(255, 48, 79, 0.38);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 48, 79, 0.14), rgba(37, 217, 255, 0.14) 52%, rgba(45, 247, 168, 0.08)),
    rgba(5, 10, 18, 0.88);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 18px 46px rgba(0, 0, 0, 0.24);
}

.reaction-creator-kit > div:first-child {
  display: grid;
  align-content: center;
  gap: 5px;
}

.reaction-creator-kit span {
  color: #ff6b83;
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reaction-creator-kit strong {
  color: var(--white);
  font-size: clamp(1.02rem, 2vw, 1.32rem);
  line-height: 1.05;
}

.reaction-creator-kit em {
  color: var(--muted);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 760;
  line-height: 1.35;
}

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

.reaction-kit-status b {
  display: grid;
  min-height: 78px;
  align-content: center;
  gap: 6px;
  padding: 10px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 48, 79, 0.05)),
    rgba(8, 14, 22, 0.78);
  box-shadow: 0 0 24px rgba(255, 48, 79, 0.08);
  font-size: 0.76rem;
  font-weight: 920;
  letter-spacing: 0;
}

.reaction-kit-status b span {
  color: inherit;
  opacity: 0.72;
  font-size: 0.62rem;
}

.reaction-kit-status b:last-child {
  color: #061017;
  border-color: rgba(255, 255, 255, 0.52);
  background: linear-gradient(180deg, #ffffff, var(--green));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18),
    0 0 26px rgba(45, 247, 168, 0.28);
}

.reaction-kit-actions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.reaction-kit-actions button {
  min-height: 40px;
  padding: 8px 10px;
  color: var(--white);
  border: 1px solid rgba(143, 160, 180, 0.28);
  border-radius: 8px;
  background: rgba(5, 11, 18, 0.88);
  font-size: 0.76rem;
  font-weight: 950;
}

.reaction-kit-actions button.is-primary-action,
.reaction-kit-actions button.is-maker-next {
  color: #02070d;
  border-color: rgba(255, 255, 255, 0.66);
  background: linear-gradient(180deg, #ffffff 0%, #21e6ff 46%, #35e7a6 100%);
  box-shadow: 0 0 26px rgba(37, 217, 255, 0.28);
}

.one-thumbnail-now-proof {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.one-thumbnail-now-proof b {
  display: grid;
  min-height: 38px;
  align-items: center;
  justify-items: center;
  padding: 0 10px;
  color: #dff9ff;
  border: 1px solid rgba(33, 230, 255, 0.26);
  border-radius: 8px;
  background: rgba(4, 11, 18, 0.74);
  text-align: center;
}

.thumbnail-now-meter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.68fr) minmax(180px, 0.35fr);
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
  padding: 12px;
  border: 1px solid rgba(45, 247, 168, 0.42);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(45, 247, 168, 0.16), rgba(0, 216, 255, 0.13), rgba(255, 35, 63, 0.1)),
    rgba(5, 11, 17, 0.96);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 16px 42px rgba(0, 0, 0, 0.26), 0 0 28px rgba(45, 247, 168, 0.1);
}

.thumbnail-now-meter-copy span {
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.thumbnail-now-meter-copy strong {
  display: block;
  margin: 4px 0;
  color: var(--white);
  font-size: clamp(1rem, 2vw, 1.32rem);
  line-height: 1.08;
}

.thumbnail-now-meter-copy em {
  color: var(--silver);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 820;
  line-height: 1.35;
}

.thumbnail-now-meter-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.thumbnail-now-meter-stats b {
  min-height: 54px;
  display: grid;
  align-content: center;
  gap: 3px;
  padding: 8px;
  color: var(--white);
  border: 1px solid rgba(238, 243, 248, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.9rem;
  line-height: 1.05;
  text-align: center;
}

.thumbnail-now-meter-stats b span {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 950;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.thumbnail-now-meter-actions {
  display: grid;
  gap: 6px;
}

.thumbnail-now-meter-actions button {
  min-height: 40px;
  padding: 0 12px;
  color: var(--white);
  border: 1px solid rgba(33, 230, 255, 0.28);
  border-radius: 8px;
  background: rgba(10, 16, 24, 0.96);
  font-size: 0.82rem;
  font-weight: 950;
}

.thumbnail-now-meter-actions button.is-primary-action {
  color: #03121a;
  border-color: rgba(45, 247, 168, 0.78);
  background: linear-gradient(180deg, #f3fff9 0%, var(--green) 48%, var(--electric) 100%);
  box-shadow: 0 14px 34px rgba(45, 247, 168, 0.22), 0 0 20px rgba(0, 216, 255, 0.16);
  animation: thumbflo-next-pulse 1.7s ease-in-out infinite;
}

.input-help {
  display: block;
  margin-top: 7px;
  letter-spacing: 0;
  line-height: 1.35;
  text-transform: none;
}

.top-actions button,
.board-actions button,
.editor-buttons button,
.library-actions button,
#generate-layouts,
#export-png,
#save-winner,
#run-diagnostics,
#download-manifest {
  min-height: 42px;
  padding: 0 14px;
  color: var(--white);
  border: 1px solid rgba(37, 217, 255, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(37, 217, 255, 0.06)),
    rgba(10, 16, 24, 0.96);
  font-weight: 900;
}

.board-actions #clear-ai-results,
#clear-selected-candidate,
.board-actions [data-clear-current-thumbnail] {
  color: #ffffff;
  border-color: rgba(255, 48, 79, 0.62);
  background:
    linear-gradient(180deg, rgba(255, 48, 79, 0.34), rgba(74, 8, 18, 0.94)),
    rgba(9, 13, 20, 0.96);
  box-shadow: 0 0 18px rgba(255, 48, 79, 0.18);
}

.board-actions [data-clear-current-thumbnail] {
  color: #03121a;
  border-color: rgba(37, 217, 255, 0.72);
  background:
    linear-gradient(180deg, #effcff 0%, var(--electric) 100%),
    rgba(37, 217, 255, 0.95);
  box-shadow: 0 0 18px rgba(37, 217, 255, 0.24);
}

#generate-layouts:disabled {
  cursor: wait;
  filter: saturate(0.72);
  opacity: 0.72;
}

#generate-layouts,
#export-png,
#save-winner,
.editor-buttons button:nth-child(2) {
  color: #03121a;
  background:
    linear-gradient(180deg, #effcff 0%, var(--electric) 54%, var(--electric-2) 100%);
  border-color: rgba(37, 217, 255, 0.72);
  box-shadow: 0 14px 34px rgba(37, 217, 255, 0.22), 0 0 18px rgba(255, 47, 63, 0.14);
}

#generate-layouts.is-final-slot-armed {
  color: #ffffff;
  background: linear-gradient(135deg, var(--red), #9d0013);
  border-color: rgba(255, 47, 63, 0.72);
  box-shadow: 0 14px 34px rgba(255, 47, 63, 0.24);
}

.command-grid,
.growth-grid,
.library-api-grid {
  display: grid;
  gap: 12px;
}

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

.flow-step {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 10px;
  color: var(--white);
  background: rgba(7, 13, 21, 0.84);
  border: 1px solid rgba(37, 217, 255, 0.18);
  border-radius: 8px;
  text-align: left;
}

.flow-step:hover,
.flow-step:focus-visible {
  outline: none;
  border-color: rgba(37, 217, 255, 0.58);
  background: rgba(37, 217, 255, 0.12);
}

.flow-step strong {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #03121a;
  background: var(--electric);
  border-radius: 50%;
  font-weight: 950;
}

.flow-step span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.flow-step b {
  color: var(--silver);
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.2;
}

.flow-step small,
.flow-step em {
  color: var(--muted);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 850;
  line-height: 1.25;
}

.flow-step em {
  justify-self: end;
  padding: 6px 8px;
  color: var(--silver);
  border: 1px solid rgba(37, 217, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  white-space: nowrap;
}

.flow-step.is-current {
  border-color: rgba(37, 217, 255, 0.58);
  background:
    linear-gradient(135deg, rgba(37, 217, 255, 0.17), rgba(255, 37, 31, 0.09)),
    rgba(7, 13, 21, 0.9);
}

.flow-step.is-current strong {
  background: var(--red);
}

.thumbflo-shell.is-focus-mode .flow-step {
  grid-template-columns: 34px minmax(0, 1fr);
}

.thumbflo-shell.is-focus-mode .flow-step em {
  display: none;
}

.flow-step.is-done {
  border-color: rgba(37, 217, 255, 0.42);
}

.flow-step.is-done strong {
  background: var(--green);
}

.flow-step.is-waiting {
  opacity: 0.78;
}

.flow-step.is-waiting strong {
  color: var(--silver);
  background: rgba(119, 127, 139, 0.18);
}

.today-guide {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  align-items: stretch;
  margin-bottom: 12px;
  padding: 14px;
  color: var(--white);
  border: 1px solid rgba(37, 217, 255, 0.3);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(37, 217, 255, 0.14), rgba(255, 37, 31, 0.08)),
    rgba(7, 13, 21, 0.88);
}

.today-guide > div {
  display: grid;
  gap: 6px;
}

.today-guide span {
  color: var(--electric);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.today-guide strong {
  font-size: clamp(1rem, 1.5vw, 1.22rem);
  line-height: 1.15;
}

.today-guide ol {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 20px;
  color: var(--silver);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.35;
}

.first-run-guide {
  padding: 10px;
  border: 1px solid rgba(37, 217, 255, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(37, 217, 255, 0.14), rgba(255, 37, 31, 0.07)),
    rgba(7, 13, 21, 0.92);
}

.creator-path-card {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(37, 217, 255, 0.36);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(37, 217, 255, 0.16), rgba(255, 37, 31, 0.08)),
    rgba(7, 13, 21, 0.94);
}

.maker-fast-path-card {
  display: grid;
  gap: 9px;
  padding: 12px;
  border: 1px solid rgba(37, 217, 255, 0.52);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(37, 217, 255, 0.2), rgba(255, 48, 79, 0.12)),
    rgba(6, 11, 19, 0.96);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.maker-fast-path-card strong {
  font-size: clamp(1.18rem, 2vw, 1.62rem);
}

.maker-fast-path-card em,
.maker-fast-path-card small {
  color: var(--silver);
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 850;
  line-height: 1.35;
}

.maker-fast-steps,
.maker-fast-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.maker-fast-steps b {
  min-height: 38px;
  display: grid;
  place-items: center;
  padding: 7px 8px;
  color: var(--white);
  border: 1px solid rgba(37, 217, 255, 0.3);
  border-radius: 8px;
  background: rgba(3, 10, 18, 0.76);
  font-size: 0.74rem;
  line-height: 1.18;
  text-align: center;
}

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

.maker-fast-actions button {
  min-height: 38px;
  padding: 8px 10px;
  color: var(--white);
  border: 1px solid rgba(143, 160, 180, 0.28);
  border-radius: 8px;
  background: rgba(10, 18, 29, 0.82);
  font-size: 0.72rem;
  font-weight: 950;
}

.maker-fast-actions button.is-primary-action {
  color: #03121a;
  border-color: rgba(37, 217, 255, 0.78);
  background: linear-gradient(180deg, #effcff 0%, var(--electric) 55%, var(--electric-2));
}

.maker-fast-actions button.is-maker-next {
  position: relative;
  color: #02070d;
  border-color: rgba(0, 216, 255, 0.92);
  background:
    linear-gradient(180deg, #fbffff 0%, #00d8ff 45%, #09a7ff 100%);
  box-shadow:
    0 0 0 3px rgba(0, 216, 255, 0.2),
    0 16px 38px rgba(0, 216, 255, 0.34),
    0 0 24px rgba(255, 35, 63, 0.18);
  transform: translateY(-1px);
}

.is-next-step-target {
  position: relative;
  isolation: isolate;
  outline: 2px solid rgba(255, 194, 51, 0.82);
  outline-offset: 2px;
  animation: thumbflo-next-pulse 1.7s ease-in-out infinite;
}

.is-next-step-target::before {
  content: "";
  position: absolute;
  inset: -5px;
  z-index: -1;
  border-radius: inherit;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 194, 51, 0.26), transparent 62%),
    radial-gradient(circle at 50% 50%, rgba(0, 216, 255, 0.24), transparent 68%);
  pointer-events: none;
}

.is-next-step-target:is(button)::after {
  content: "NEXT CLICK";
  position: absolute;
  top: -11px;
  right: 8px;
  z-index: 2;
  padding: 2px 7px;
  color: #02070d;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  background: linear-gradient(180deg, #fff7c7 0%, #ffc233 100%);
  box-shadow: 0 0 18px rgba(255, 194, 51, 0.5), 0 0 22px rgba(0, 216, 255, 0.2);
  font-size: 0.56rem;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
}

@keyframes thumbflo-next-pulse {
  0%,
  100% {
    box-shadow:
      0 0 0 2px rgba(255, 194, 51, 0.16),
      0 12px 32px rgba(0, 216, 255, 0.22);
  }
  50% {
    box-shadow:
      0 0 0 5px rgba(255, 194, 51, 0.22),
      0 18px 44px rgba(0, 216, 255, 0.34),
      0 0 28px rgba(255, 35, 63, 0.18);
  }
}

.maker-fast-actions button.is-maker-next::after {
  content: "Next";
  position: absolute;
  top: -9px;
  right: 8px;
  padding: 2px 6px;
  color: #02070d;
  border-radius: 999px;
  background: var(--amber);
  font-size: 0.58rem;
  font-weight: 950;
  letter-spacing: 0;
  box-shadow: 0 0 12px rgba(255, 194, 51, 0.42);
}

.maker-fast-actions button.is-maker-done {
  color: #02100c;
  border-color: rgba(53, 231, 166, 0.58);
  background: linear-gradient(180deg, #eafff8 0%, #35e7a6 100%);
  box-shadow: 0 0 0 2px rgba(53, 231, 166, 0.13);
}

.maker-fast-actions button.is-maker-waiting {
  opacity: 0.76;
}

.maker-fast-path-card small:first-of-type {
  color: var(--electric);
  font-weight: 950;
}

.creator-path-card em {
  color: var(--silver);
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 800;
  line-height: 1.35;
}

.creator-path-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.creator-path-steps b {
  min-height: 34px;
  padding: 7px 8px;
  color: var(--white);
  border: 1px solid rgba(37, 217, 255, 0.22);
  border-radius: 8px;
  background: rgba(5, 10, 18, 0.72);
  font-size: 0.72rem;
  line-height: 1.2;
}

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

.creator-path-actions button {
  min-height: 36px;
  padding: 8px 10px;
  color: #03121a;
  border: 1px solid rgba(37, 217, 255, 0.68);
  border-radius: 8px;
  background: linear-gradient(180deg, #effcff 0%, var(--electric) 56%, var(--electric-2));
  font-size: 0.74rem;
  font-weight: 950;
}

.today-guide .first-run-list {
  padding-left: 0;
  list-style: none;
}

.guided-path-card {
  padding: 10px;
  border: 1px solid rgba(37, 217, 255, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(33, 230, 255, 0.14), rgba(255, 48, 79, 0.09)),
    rgba(7, 13, 21, 0.92);
}

.guided-path-card.is-active {
  border-color: rgba(37, 217, 255, 0.58);
  box-shadow: 0 12px 28px rgba(37, 217, 255, 0.12);
}

.guided-path-card em {
  color: var(--silver);
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 800;
  line-height: 1.35;
}

.guided-path-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.guided-path-actions button {
  flex: 1 1 96px;
  min-height: 36px;
  padding: 8px 10px;
  color: var(--white);
  border: 1px solid rgba(37, 217, 255, 0.26);
  border-radius: 8px;
  background: rgba(37, 217, 255, 0.12);
  font-size: 0.74rem;
  font-weight: 950;
}

.first-run-list li {
  padding: 8px 9px;
  background: rgba(5, 10, 18, 0.72);
  border: 1px solid rgba(37, 217, 255, 0.14);
  border-radius: 8px;
  line-height: 1.32;
}

.first-run-list b {
  color: var(--white);
}

.ready-export,
.next-action,
.launch-packet-card,
.readiness-card,
.preflight-decision-card,
.ai-polish-card,
.choice-strategy-card,
.use-today-card,
.upload-coach,
.post-upload-action-card,
.final-handoff-card,
.today-runbook {
  position: relative;
  display: grid;
  min-height: 126px;
  overflow: hidden;
  align-content: end;
  gap: 6px;
  padding: 12px;
  border: 1px solid rgba(37, 217, 255, 0.28);
  border-radius: 8px;
  background: rgba(7, 13, 21, 0.92);
}

.next-action {
  border-color: rgba(37, 217, 255, 0.28);
  background:
    linear-gradient(135deg, rgba(33, 230, 255, 0.14), rgba(255, 48, 79, 0.08)),
    rgba(7, 13, 21, 0.92);
}

.launch-packet-card {
  border-color: rgba(37, 217, 255, 0.32);
  background:
    linear-gradient(135deg, rgba(33, 230, 255, 0.18), rgba(255, 48, 79, 0.08)),
    rgba(7, 13, 21, 0.94);
}

.readiness-card {
  align-content: start;
  border-color: rgba(37, 217, 255, 0.32);
  background:
    linear-gradient(135deg, rgba(37, 217, 255, 0.13), rgba(119, 127, 139, 0.09)),
    rgba(7, 13, 21, 0.92);
}

.preflight-decision-card {
  align-content: start;
  border-color: rgba(37, 217, 255, 0.34);
  background:
    linear-gradient(135deg, rgba(37, 217, 255, 0.14), rgba(255, 37, 31, 0.08)),
    rgba(7, 13, 21, 0.94);
}

.ai-polish-card {
  align-content: start;
  border-color: rgba(119, 127, 139, 0.36);
  background:
    linear-gradient(135deg, rgba(119, 127, 139, 0.16), rgba(37, 217, 255, 0.08)),
    rgba(7, 13, 21, 0.94);
}

.use-today-card {
  align-content: start;
  border-color: rgba(37, 217, 255, 0.36);
  background:
    linear-gradient(135deg, rgba(37, 217, 255, 0.14), rgba(255, 37, 31, 0.08)),
    rgba(7, 13, 21, 0.94);
}

.choice-strategy-card {
  align-content: start;
  border-color: rgba(37, 217, 255, 0.36);
  background:
    linear-gradient(135deg, rgba(37, 217, 255, 0.16), rgba(255, 37, 31, 0.08)),
    rgba(7, 13, 21, 0.94);
}

.choice-strategy-card.has-backup {
  border-color: rgba(37, 217, 255, 0.44);
}

.creator-ready-result {
  display: grid;
  gap: 4px;
  margin-top: 4px;
  padding: 10px;
  border: 1px solid rgba(37, 217, 255, 0.28);
  border-radius: 8px;
  background: rgba(5, 10, 18, 0.72);
}

.thumbflo-shell.is-focus-mode #creator-ready-result:not(.is-running):not(.is-ready):not(.is-attention),
.thumbflo-shell.is-focus-mode #safe-start-result:not(.is-running):not(.is-ready):not(.is-attention) {
  display: none;
}

.creator-ready-result.is-running {
  border-color: rgba(37, 217, 255, 0.42);
}

.creator-ready-result.is-ready {
  border-color: rgba(37, 217, 255, 0.58);
  background: rgba(37, 217, 255, 0.1);
}

.creator-ready-result.is-attention {
  border-color: rgba(255, 37, 31, 0.5);
  background: rgba(255, 37, 31, 0.1);
}

.stale-work-notice[hidden] {
  display: none;
}

.stale-work-notice {
  border-style: dashed;
}

.source-guard-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.source-guard-actions button {
  min-height: 36px;
  color: #061018;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: linear-gradient(180deg, #96fbff, var(--electric));
  box-shadow: 0 0 18px rgba(33, 230, 255, 0.22);
  font-size: 0.72rem;
  font-weight: 950;
}

.source-guard-actions button:last-child {
  color: #ffffff;
  background: linear-gradient(180deg, rgba(255, 82, 112, 0.82), rgba(130, 12, 24, 0.96));
  box-shadow: 0 0 18px rgba(255, 37, 31, 0.22);
}

.ai-polish-card.is-ready {
  border-color: rgba(37, 217, 255, 0.45);
}

.ai-polish-card.is-attention {
  border-color: rgba(37, 217, 255, 0.46);
}

.ai-polish-card.is-blocked {
  border-color: rgba(255, 37, 31, 0.45);
}

.preflight-decision-card.is-ready {
  border-color: rgba(37, 217, 255, 0.45);
  background:
    linear-gradient(135deg, rgba(37, 217, 255, 0.16), rgba(119, 127, 139, 0.08)),
    rgba(7, 13, 21, 0.94);
}

.preflight-decision-card.is-attention {
  border-color: rgba(37, 217, 255, 0.5);
}

.preflight-decision-card.is-blocked {
  border-color: rgba(255, 37, 31, 0.45);
  background:
    linear-gradient(135deg, rgba(255, 37, 31, 0.14), rgba(37, 217, 255, 0.07)),
    rgba(7, 13, 21, 0.94);
}

.upload-coach {
  align-content: start;
  border-color: rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(37, 217, 255, 0.08)),
    rgba(7, 13, 21, 0.92);
}

.maker-assistant-card {
  align-content: start;
  border-color: rgba(37, 217, 255, 0.36);
  background:
    linear-gradient(135deg, rgba(37, 217, 255, 0.16), rgba(255, 37, 31, 0.08)),
    rgba(7, 13, 21, 0.94);
}

.maker-assistant-card.is-ready {
  border-color: rgba(37, 217, 255, 0.58);
  box-shadow: 0 0 28px rgba(37, 217, 255, 0.12);
}

.maker-assistant-card.is-attention {
  border-color: rgba(255, 204, 82, 0.42);
}

.maker-assistant-card.is-blocked {
  border-color: rgba(255, 37, 31, 0.42);
}

.maker-assistant-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.maker-assistant-actions button {
  flex: 1 1 128px;
}

.post-upload-action-card {
  align-content: start;
  border-color: rgba(37, 217, 255, 0.32);
  background:
    linear-gradient(135deg, rgba(37, 217, 255, 0.14), rgba(255, 37, 31, 0.08)),
    rgba(7, 13, 21, 0.92);
}

.post-upload-action-card.is-ready {
  border-color: rgba(37, 217, 255, 0.42);
}

.post-upload-action-card.is-attention {
  border-color: rgba(37, 217, 255, 0.45);
}

.post-upload-action-card.is-blocked {
  border-color: rgba(255, 37, 31, 0.42);
  background:
    linear-gradient(135deg, rgba(255, 37, 31, 0.12), rgba(37, 217, 255, 0.07)),
    rgba(7, 13, 21, 0.92);
}

.final-handoff-card {
  align-content: start;
  border-color: rgba(37, 217, 255, 0.34);
  background:
    linear-gradient(135deg, rgba(37, 217, 255, 0.14), rgba(255, 37, 31, 0.08)),
    rgba(7, 13, 21, 0.94);
}

.final-handoff-card.is-ready {
  border-color: rgba(37, 217, 255, 0.52);
}

.final-handoff-card.is-attention {
  border-color: rgba(37, 217, 255, 0.48);
}

.final-handoff-card.is-blocked {
  border-color: rgba(255, 37, 31, 0.38);
  background:
    linear-gradient(135deg, rgba(255, 37, 31, 0.11), rgba(37, 217, 255, 0.06)),
    rgba(7, 13, 21, 0.92);
}

.upload-coach.is-working {
  border-color: rgba(37, 217, 255, 0.32);
}

.upload-coach.is-ready {
  border-color: rgba(37, 217, 255, 0.34);
}

.upload-coach.is-blocked {
  border-color: rgba(255, 37, 31, 0.38);
}

.today-runbook {
  align-content: start;
  border-color: rgba(119, 127, 139, 0.28);
  background:
    linear-gradient(135deg, rgba(119, 127, 139, 0.12), rgba(37, 217, 255, 0.07)),
    rgba(7, 13, 21, 0.92);
}

.ready-export.has-export {
  background-position: center;
  background-size: cover;
}

.ready-export.has-draft {
  border-color: rgba(37, 217, 255, 0.45);
}

.ready-source-receipt {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 4px 0;
  padding: 10px;
  border: 1px solid rgba(53, 231, 166, 0.42);
  border-radius: 8px;
  background: rgba(2, 8, 13, 0.74);
}

.ready-source-receipt b {
  display: grid;
  gap: 4px;
  min-width: 0;
  color: var(--white);
  font-size: 0.82rem;
  line-height: 1.15;
}

.ready-source-receipt b span {
  color: var(--green);
  font-size: 0.62rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ready-source-receipt em {
  grid-column: 1 / -1;
  color: #d8e4f2;
  font-size: 0.74rem;
  font-style: normal;
  line-height: 1.35;
}

.ready-source-receipt[data-ready-source="idea"] {
  border-color: rgba(255, 139, 61, 0.52);
}

.ready-source-receipt[data-ready-source="idea"] b span {
  color: var(--amber);
}

.ready-source-warning {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(255, 48, 79, 0.5);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 48, 79, 0.18), rgba(255, 122, 61, 0.1)),
    rgba(5, 9, 16, 0.9);
  box-shadow: 0 0 22px rgba(255, 48, 79, 0.16);
}

.ready-source-warning strong {
  color: var(--white);
  font-size: 0.92rem;
}

.ready-source-warning em {
  color: #ffe0e5;
  font-size: 0.78rem;
  font-style: normal;
  line-height: 1.35;
}

.ready-source-warning > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.ready-source-warning button {
  min-height: 38px;
  border-color: rgba(255, 48, 79, 0.56);
  background:
    linear-gradient(180deg, rgba(255, 48, 79, 0.88), rgba(180, 0, 24, 0.82));
  box-shadow: 0 0 18px rgba(255, 48, 79, 0.2);
}

.draft-decision-lane {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 4px 0;
}

.draft-decision-lane b {
  display: grid;
  min-height: 74px;
  align-content: center;
  gap: 5px;
  padding: 10px;
  color: var(--white);
  border: 1px solid rgba(37, 217, 255, 0.24);
  border-radius: 8px;
  background: rgba(3, 7, 13, 0.72);
  font-size: 0.76rem;
  line-height: 1.18;
}

.draft-decision-lane b:nth-child(1) {
  border-color: rgba(53, 231, 166, 0.36);
}

.draft-decision-lane b:nth-child(2) {
  border-color: rgba(255, 205, 74, 0.36);
}

.draft-decision-lane b span {
  color: var(--electric);
  font-size: 0.62rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ready-export.has-export::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 9, 16, 0.08), rgba(5, 9, 16, 0.86));
}

.ready-export > *,
.next-action > *,
.launch-packet-card > *,
.readiness-card > *,
.ai-polish-card > *,
.choice-strategy-card > *,
.maker-assistant-card > *,
.use-today-card > *,
.post-upload-action-card > *,
.final-handoff-card > *,
.today-runbook > * {
  position: relative;
  z-index: 1;
}

.ready-export em,
.next-action em,
.launch-packet-card em,
.readiness-card em,
.ai-polish-card em,
.choice-strategy-card em,
.maker-assistant-card em,
.use-today-card em,
.post-upload-action-card em,
.final-handoff-card em,
.today-runbook em {
  color: var(--silver);
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 800;
}

.next-action strong,
.launch-packet-card strong,
.readiness-card strong,
.ai-polish-card strong,
.choice-strategy-card strong,
.maker-assistant-card strong,
.use-today-card strong,
.post-upload-action-card strong,
.final-handoff-card strong,
.today-runbook strong {
  color: var(--white);
}

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

.choice-pill-row b {
  min-width: 0;
  padding: 8px 7px;
  color: #eaf3ff;
  border: 1px solid rgba(37, 217, 255, 0.24);
  border-radius: 8px;
  background: rgba(5, 10, 18, 0.48);
  font-size: 0.68rem;
  line-height: 1.1;
  text-align: center;
}

.choice-pill-row .is-backup {
  color: var(--amber);
  border-color: rgba(255, 47, 63, 0.32);
}

.runbook-steps {
  display: grid;
  gap: 5px;
  margin: 2px 0 0;
  padding-left: 18px;
  color: var(--silver);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.28;
}

.readiness-list {
  display: grid;
  gap: 6px;
}

.upload-coach-list {
  display: grid;
  gap: 6px;
}

.upload-coach-list div {
  display: grid;
  gap: 2px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
}

.upload-coach-list .passed {
  border-color: rgba(37, 217, 255, 0.24);
}

.upload-coach-list .waiting {
  border-color: rgba(255, 47, 63, 0.2);
}

.upload-coach-list b {
  color: var(--white);
  font-size: 0.78rem;
}

.upload-coach-list small {
  color: #aebbd0;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.25;
}

.thumbnail-plan {
  display: grid;
  gap: 6px;
  padding: 10px;
  background: rgba(5, 10, 18, 0.52);
  border: 1px solid rgba(37, 217, 255, 0.2);
  border-radius: 8px;
}

.thumbnail-plan span {
  color: var(--blue-2);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.thumbnail-plan strong {
  color: var(--white);
  font-size: 0.88rem;
}

.thumbnail-plan small {
  color: #aebbd0;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.25;
}

.thumbnail-plan-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.thumbnail-plan-actions button {
  min-height: 34px;
  padding: 0 10px;
  color: var(--white);
  background: rgba(37, 217, 255, 0.14);
  border: 1px solid rgba(37, 217, 255, 0.28);
  border-radius: 8px;
  font-size: 0.74rem;
  font-weight: 950;
}

.upload-coach-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.post-upload-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

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

.handoff-checklist b {
  min-width: 0;
  padding: 8px;
  color: #eaf3ff;
  border: 1px solid rgba(37, 217, 255, 0.22);
  border-radius: 8px;
  background: rgba(5, 10, 18, 0.44);
  font-size: 0.7rem;
  line-height: 1.2;
}

.final-handoff-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.preflight-decision-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.upload-coach-actions button {
  flex: 1 1 120px;
  min-height: 34px;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 0.76rem;
}

.post-upload-actions button {
  flex: 1 1 120px;
  min-height: 34px;
  padding: 8px 10px;
  color: var(--white);
  border: 1px solid rgba(37, 217, 255, 0.24);
  border-radius: 6px;
  background: rgba(37, 217, 255, 0.14);
  font-size: 0.74rem;
  font-weight: 900;
}

.final-handoff-actions button {
  flex: 1 1 116px;
  min-height: 34px;
  padding: 8px 10px;
  color: var(--white);
  border: 1px solid rgba(37, 217, 255, 0.28);
  border-radius: 6px;
  background: rgba(37, 217, 255, 0.13);
  font-size: 0.73rem;
  font-weight: 900;
}

.final-handoff-actions button:nth-child(2) {
  border-color: rgba(37, 217, 255, 0.34);
  background: rgba(37, 217, 255, 0.14);
}

.post-upload-actions button:first-child {
  border-color: rgba(37, 217, 255, 0.4);
  background: rgba(37, 217, 255, 0.14);
}

.preflight-decision-actions button {
  flex: 1 1 116px;
  min-height: 34px;
  padding: 8px 10px;
  color: var(--white);
  border: 1px solid rgba(167, 190, 220, 0.2);
  border-radius: 6px;
  background: rgba(37, 217, 255, 0.14);
  font-size: 0.74rem;
  font-weight: 900;
}

.preflight-decision-actions button:first-child {
  border-color: rgba(37, 217, 255, 0.4);
  background: rgba(37, 217, 255, 0.14);
}

.readiness-item {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  padding: 7px 0;
  border-top: 1px solid rgba(167, 190, 220, 0.12);
}

.readiness-dot {
  width: 10px;
  height: 10px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 3px rgba(255, 47, 63, 0.12);
}

.readiness-item.is-ready .readiness-dot {
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(37, 217, 255, 0.12);
}

.readiness-item.is-blocked .readiness-dot {
  background: var(--rose);
  box-shadow: 0 0 0 3px rgba(255, 37, 31, 0.12);
}

.readiness-copy {
  display: grid;
  gap: 2px;
}

.readiness-copy b {
  color: var(--white);
  font-size: 0.78rem;
  line-height: 1.1;
}

.readiness-copy small {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1.25;
}

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

.ready-export-actions .action-group-break {
  flex-basis: 100%;
  width: 100%;
  height: 0;
}

.ready-export-actions button {
  min-height: 32px;
  padding: 6px 9px;
  color: var(--white);
  border: 1px solid rgba(167, 190, 220, 0.22);
  border-radius: 8px;
  background: rgba(24, 36, 52, 0.94);
  font-size: 0.72rem;
  font-weight: 900;
}

.ready-export-actions button.is-primary-action {
  color: #03121a;
  border-color: rgba(37, 217, 255, 0.52);
  background: linear-gradient(180deg, #effcff 0%, var(--electric));
}

.ready-export-actions button.is-support-action {
  color: var(--silver);
  border-color: rgba(37, 217, 255, 0.24);
  background: rgba(37, 217, 255, 0.1);
}

.ready-export-actions button.is-guided-target {
  color: #03121a;
  border-color: rgba(255, 47, 63, 0.78);
  background: var(--amber);
  box-shadow: 0 0 0 3px rgba(255, 47, 63, 0.18);
}

.youtube-upload-checklist {
  display: grid;
  gap: 3px;
  margin: 2px 0 0;
  padding-left: 18px;
  color: var(--silver);
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1.25;
}

.ready-upload-steps {
  display: grid;
  gap: 4px;
  margin: 2px 0 4px;
  padding: 8px 8px 8px 24px;
  color: #eef5ff;
  background: rgba(5, 10, 18, 0.56);
  border: 1px solid rgba(37, 217, 255, 0.24);
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.28;
}

.command-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
}

.command-panel,
.board-section,
.editor-canvas-panel,
.editor-controls-panel,
.mobile-preview-panel,
.growth-score-panel,
.library-panel,
.api-panel {
  padding: 16px;
  box-shadow: var(--shadow);
}

.api-panel .button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  color: var(--white);
  border: 1px solid rgba(37, 217, 255, 0.36);
  border-radius: 8px;
  background: rgba(37, 217, 255, 0.14);
  font-size: 0.82rem;
  font-weight: 950;
  text-decoration: none;
}

.section-heading {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
}

.section-heading h2,
.board-heading h2 {
  font-size: clamp(1.2rem, 2.4vw, 2rem);
}

.input-stack {
  display: grid;
  gap: 12px;
}

label {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: var(--silver);
  font-size: 0.82rem;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  min-width: 0;
  color: var(--white);
  background: rgba(8, 14, 22, 0.94);
  border: 1px solid rgba(167, 190, 220, 0.2);
  border-radius: 8px;
  outline: none;
}

input,
select {
  min-height: 42px;
  padding: 0 12px;
}

textarea {
  padding: 11px 12px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(37, 217, 255, 0.78);
  box-shadow: 0 0 0 2px rgba(37, 217, 255, 0.14);
}

.control-row,
.upload-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.upload-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 12px;
}

.upload-card {
  min-height: 96px;
  align-content: center;
  padding: 12px;
  background: rgba(8, 14, 22, 0.72);
  border: 1px dashed rgba(37, 217, 255, 0.34);
  border-radius: 8px;
}

.upload-card span {
  color: var(--electric);
  font-size: 0.7rem;
  text-transform: uppercase;
}

.upload-card strong {
  overflow: hidden;
  color: var(--white);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.upload-card input {
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 0.72rem;
}

.idea-brief-card,
.text-assistant-card,
.image-assistant-card,
.no-upload-maker-lane,
.creator-face-bank,
.reaction-overlay-kit {
  display: grid;
  gap: 12px;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid rgba(37, 217, 255, 0.26);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(33, 230, 255, 0.08), rgba(255, 48, 79, 0.06)),
    rgba(8, 14, 22, 0.76);
}

.idea-brief-card {
  border-color: rgba(255, 48, 79, 0.38);
  background:
    linear-gradient(135deg, rgba(0, 216, 255, 0.2), rgba(255, 35, 63, 0.16)),
    rgba(8, 14, 22, 0.86);
  box-shadow:
    0 0 0 1px rgba(0, 216, 255, 0.08),
    0 18px 42px rgba(0, 216, 255, 0.11),
    0 0 34px rgba(255, 35, 63, 0.08);
}

.idea-brief-card label {
  display: grid;
  gap: 8px;
  color: var(--silver);
  font-size: 0.82rem;
  font-weight: 950;
}

.idea-brief-card textarea {
  min-height: 132px;
  resize: vertical;
  color: var(--white);
  border-color: rgba(0, 216, 255, 0.34);
  background:
    linear-gradient(135deg, rgba(0, 216, 255, 0.08), rgba(255, 35, 63, 0.05)),
    rgba(2, 7, 13, 0.96);
  box-shadow: inset 0 0 0 1px rgba(244, 247, 251, 0.04);
}

.idea-brief-card textarea:focus {
  outline: none;
  border-color: rgba(0, 216, 255, 0.78);
  box-shadow:
    0 0 0 3px rgba(0, 216, 255, 0.13),
    inset 0 0 0 1px rgba(244, 247, 251, 0.08);
}

.text-assistant-card {
  border-color: rgba(255, 194, 51, 0.34);
  background:
    linear-gradient(135deg, rgba(255, 194, 51, 0.13), rgba(37, 217, 255, 0.1)),
    rgba(8, 14, 22, 0.82);
}

.image-assistant-card {
  border-color: rgba(37, 217, 255, 0.42);
  background:
    linear-gradient(135deg, rgba(37, 217, 255, 0.14), rgba(255, 48, 79, 0.08)),
    rgba(8, 14, 22, 0.84);
  box-shadow: 0 0 28px rgba(37, 217, 255, 0.08);
}

.no-upload-maker-lane {
  border-color: rgba(255, 48, 79, 0.34);
  background:
    linear-gradient(135deg, rgba(33, 230, 255, 0.12), rgba(255, 48, 79, 0.1)),
    rgba(8, 14, 22, 0.82);
  box-shadow: 0 0 26px rgba(37, 217, 255, 0.08);
}

.face-bank-heading,
.reaction-overlay-kit {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.face-bank-heading {
  display: grid;
  gap: 12px;
}

.face-bank-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 8px;
}

.face-bank-actions [data-clear-face-bank] {
  color: var(--white);
  border-color: rgba(255, 48, 79, 0.54);
  background:
    linear-gradient(180deg, rgba(255, 48, 79, 0.24), rgba(255, 48, 79, 0.1)),
    rgba(7, 11, 17, 0.92);
  box-shadow: 0 0 18px rgba(255, 48, 79, 0.12);
}

.face-bank-heading > div:first-child,
.reaction-overlay-kit > div:first-child {
  display: grid;
  gap: 4px;
}

.idea-brief-card span,
.text-assistant-card span,
.image-assistant-card span,
.no-upload-maker-lane span,
.creator-face-bank span,
.reaction-overlay-kit span {
  color: var(--electric);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.idea-brief-card strong,
.text-assistant-card strong,
.image-assistant-card strong,
.no-upload-maker-lane strong,
.creator-face-bank strong,
.reaction-overlay-kit strong {
  color: var(--white);
}

.idea-brief-card em,
.idea-brief-card small,
.text-assistant-card em,
.text-assistant-card small,
.image-assistant-card em,
.image-assistant-card small,
.no-upload-maker-lane em,
.no-upload-maker-lane small,
.creator-face-bank em,
.reaction-overlay-kit em {
  color: var(--muted);
  font-size: 0.78rem;
  font-style: normal;
  line-height: 1.35;
}

.idea-brief-actions,
.text-assistant-actions,
.image-assistant-actions,
.no-upload-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

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

.idea-brief-actions button.is-listening {
  color: #02070d;
  border-color: rgba(255, 35, 63, 0.82);
  background:
    linear-gradient(180deg, #fff8fb 0%, #ff4d67 48%, #ff233f 100%);
  box-shadow:
    0 0 0 3px rgba(255, 35, 63, 0.2),
    0 16px 34px rgba(255, 35, 63, 0.28),
    0 0 22px rgba(0, 216, 255, 0.16);
}

.idea-brief-actions button.is-voice-action {
  color: var(--white);
  border-color: rgba(255, 35, 63, 0.58);
  background:
    linear-gradient(180deg, rgba(255, 35, 63, 0.26), rgba(255, 35, 63, 0.12)),
    rgba(8, 12, 18, 0.96);
  box-shadow: 0 0 20px rgba(255, 35, 63, 0.14);
}

.idea-brief-card:focus-within {
  border-color: rgba(0, 216, 255, 0.72);
  box-shadow:
    0 0 0 2px rgba(0, 216, 255, 0.14),
    0 18px 40px rgba(0, 216, 255, 0.12);
}

.idea-example-chips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.idea-example-chips button {
  border-color: rgba(255, 194, 51, 0.42);
  background:
    linear-gradient(135deg, rgba(255, 194, 51, 0.22), rgba(37, 217, 255, 0.12)),
    rgba(6, 12, 20, 0.9);
  color: var(--white);
  box-shadow: 0 0 18px rgba(255, 194, 51, 0.08);
}

.idea-example-chips button:hover,
.idea-example-chips button:focus-visible {
  border-color: rgba(37, 217, 255, 0.78);
  box-shadow: 0 0 22px rgba(37, 217, 255, 0.2);
}

.idea-prompt-preview {
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid rgba(37, 217, 255, 0.3);
  border-radius: 8px;
  background: rgba(2, 8, 15, 0.58);
}

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

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

.text-assistant-options,
.image-assistant-options {
  display: grid;
  gap: 8px;
}

.text-option-card,
.image-option-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 9px;
  border: 1px solid rgba(37, 217, 255, 0.22);
  border-radius: 8px;
  background: rgba(3, 9, 16, 0.64);
}

.text-option-card b,
.image-option-card b {
  display: block;
  color: var(--white);
  font-size: 0.84rem;
}

.text-option-card small,
.image-option-card small {
  color: var(--silver);
  font-weight: 800;
}

.face-bank-actions input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  pointer-events: none;
}

.face-bank-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(136px, 1fr));
  gap: 8px;
}

.face-bank-receipt {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(53, 231, 166, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(53, 231, 166, 0.12), rgba(33, 230, 255, 0.08)),
    rgba(3, 7, 13, 0.78);
}

.face-bank-receipt-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(96px, auto));
  gap: 7px;
}

.face-bank-receipt-actions button {
  min-height: 36px;
  padding: 7px 9px;
  border-color: rgba(53, 231, 166, 0.48);
  background:
    linear-gradient(180deg, rgba(53, 231, 166, 0.92), rgba(33, 230, 255, 0.86));
  color: #03121a;
  box-shadow: 0 0 18px rgba(33, 230, 255, 0.2);
}

.face-bank-receipt-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
  filter: grayscale(0.4);
}

.face-bank-item,
.face-bank-empty {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 8px;
  border: 1px solid rgba(167, 190, 220, 0.18);
  border-radius: 8px;
  background: rgba(3, 7, 13, 0.72);
}

.face-bank-item.is-active {
  border-color: rgba(53, 231, 166, 0.72);
  box-shadow: 0 0 0 1px rgba(53, 231, 166, 0.22);
}

.face-bank-item.is-stored {
  border-color: rgba(37, 217, 255, 0.46);
}

.face-bank-item.is-local-only {
  border-color: rgba(255, 194, 51, 0.36);
}

.face-bank-thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(37, 217, 255, 0.28);
  border-radius: 8px;
  background: rgba(3, 7, 13, 0.88);
}

.face-bank-thumb img {
  display: block;
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
}

.face-bank-item > span {
  overflow: hidden;
  color: var(--white);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.face-bank-item small {
  width: fit-content;
  padding: 3px 7px;
  border-radius: 999px;
  color: var(--white);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.face-bank-item.is-stored small {
  background: linear-gradient(90deg, rgba(33, 230, 255, 0.94), rgba(53, 231, 166, 0.84));
  color: #03121a;
}

.face-bank-item.is-local-only small {
  background: rgba(255, 194, 51, 0.16);
  color: #ffc233;
}

.face-bank-item > div,
.overlay-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.overlay-pill-row button.is-active {
  border-color: rgba(53, 231, 166, 0.72);
  background:
    linear-gradient(180deg, rgba(53, 231, 166, 0.2), rgba(33, 230, 255, 0.1)),
    rgba(3, 7, 13, 0.86);
}

.source-gate {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid rgba(167, 190, 220, 0.2);
  border-radius: 8px;
  background: rgba(8, 14, 22, 0.76);
}

.source-gate.is-ready {
  border-color: rgba(37, 217, 255, 0.42);
  background: rgba(37, 217, 255, 0.08);
}

.source-gate.is-attention {
  border-color: rgba(255, 47, 63, 0.46);
  background: rgba(255, 47, 63, 0.08);
}

.source-gate.is-blocked {
  border-color: rgba(255, 82, 112, 0.46);
  background: rgba(255, 37, 31, 0.08);
}

.source-gate > div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.source-gate span {
  color: var(--electric);
  font-size: 0.7rem;
  font-weight: 950;
  text-transform: uppercase;
}

.source-gate strong {
  color: var(--white);
}

.source-gate em {
  color: #aebbd0;
  font-style: normal;
  line-height: 1.35;
}

.source-gate-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.source-gate-actions button {
  min-height: 38px;
  padding: 0 12px;
  color: var(--white);
  border: 1px solid rgba(167, 190, 220, 0.24);
  border-radius: 8px;
  background: rgba(24, 36, 52, 0.96);
  font-weight: 900;
}

.ai-input-readiness {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid rgba(255, 47, 63, 0.32);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 47, 63, 0.12), rgba(37, 217, 255, 0.08)),
    rgba(8, 14, 22, 0.9);
}

.ai-input-readiness.is-ready {
  border-color: rgba(37, 217, 255, 0.42);
  background:
    linear-gradient(135deg, rgba(37, 217, 255, 0.14), rgba(37, 217, 255, 0.08)),
    rgba(8, 14, 22, 0.9);
}

.ai-input-readiness.is-attention {
  border-color: rgba(255, 47, 63, 0.42);
}

.ai-input-readiness.is-blocked {
  border-color: rgba(255, 82, 112, 0.46);
}

.ai-input-readiness > div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.ai-input-readiness span {
  color: #79bfff;
  font-size: 0.7rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ai-input-readiness strong {
  color: var(--white);
}

.ai-input-readiness em {
  color: var(--silver);
  font-style: normal;
  line-height: 1.35;
}

.ai-context-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.ai-context-chips span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 8px;
  color: #03121a;
  border: 1px solid rgba(37, 217, 255, 0.52);
  border-radius: 999px;
  background: linear-gradient(180deg, #effcff 0%, var(--electric) 100%);
  font-size: 0.64rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
  box-shadow: 0 0 14px rgba(37, 217, 255, 0.2);
}

.one-day-check {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid rgba(37, 217, 255, 0.28);
  border-radius: 8px;
  background: rgba(37, 217, 255, 0.08);
}

.one-day-check.is-ready {
  border-color: rgba(37, 217, 255, 0.52);
}

.one-day-check.is-attention {
  border-color: rgba(255, 47, 63, 0.5);
  background: rgba(255, 47, 63, 0.08);
}

.one-day-check.is-running {
  border-color: rgba(37, 217, 255, 0.5);
  background: rgba(37, 217, 255, 0.08);
}

.one-day-check div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.one-day-check span {
  color: var(--green);
  font-size: 0.7rem;
  font-weight: 950;
  text-transform: uppercase;
}

.one-day-check strong {
  color: var(--white);
}

.one-day-check em {
  color: #aebbd0;
  font-style: normal;
  line-height: 1.35;
}

.one-day-check-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.one-day-check button {
  min-height: 42px;
  padding: 0 14px;
  color: var(--white);
  border: 1px solid rgba(37, 217, 255, 0.42);
  border-radius: 8px;
  background: rgba(37, 217, 255, 0.18);
  font-weight: 950;
}

.generate-strip {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(130px, 1fr));
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  padding: 12px;
  border: 1px solid rgba(37, 217, 255, 0.24);
  border-radius: 8px;
  background: rgba(37, 217, 255, 0.09);
}

.generate-strip.is-low-credit {
  border-color: rgba(255, 189, 74, 0.58);
  background:
    linear-gradient(135deg, rgba(255, 189, 74, 0.16), rgba(37, 217, 255, 0.08)),
    rgba(8, 14, 22, 0.86);
  box-shadow:
    0 0 0 1px rgba(255, 189, 74, 0.12),
    0 0 26px rgba(255, 189, 74, 0.12);
}

.generate-strip.is-last-slot {
  border-color: rgba(255, 47, 63, 0.58);
  background:
    linear-gradient(135deg, rgba(255, 47, 63, 0.16), rgba(37, 217, 255, 0.06)),
    rgba(8, 14, 22, 0.86);
}

.generate-strip.is-last-slot-armed {
  border-color: rgba(255, 82, 112, 0.72);
  background:
    linear-gradient(135deg, rgba(255, 82, 112, 0.2), rgba(255, 47, 63, 0.1)),
    rgba(8, 14, 22, 0.9);
}

.generate-strip.is-prompt-only {
  border-color: rgba(255, 47, 63, 0.5);
  background:
    linear-gradient(135deg, rgba(255, 47, 63, 0.13), rgba(37, 217, 255, 0.08)),
    rgba(8, 14, 22, 0.88);
}

.generate-strip.is-prompt-only-armed {
  border-color: rgba(255, 47, 63, 0.82);
  box-shadow: 0 0 0 3px rgba(255, 47, 63, 0.12);
}

.generate-strip div {
  display: grid;
  gap: 4px;
}

.generate-strip span {
  color: var(--amber);
  font-weight: 950;
}

.generate-strip strong {
  color: var(--white);
}

.generate-strip em {
  color: #aebbd0;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 800;
}

.generate-strip small {
  display: block;
  max-width: 680px;
  color: var(--silver);
  font-size: 0.76rem;
  font-weight: 850;
  line-height: 1.35;
}

.run-mode-control {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.run-mode-control span {
  color: var(--electric);
  font-size: 0.68rem;
  text-transform: uppercase;
}

.run-mode-control select {
  min-height: 42px;
  min-width: 0;
  color: var(--white);
  border: 1px solid rgba(167, 190, 220, 0.22);
  border-radius: 8px;
  background: rgba(8, 14, 22, 0.92);
  font-weight: 900;
}

.run-mode-proof {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.run-mode-proof div {
  display: grid;
  gap: 3px;
  min-height: 92px;
  padding: 10px;
  border: 1px solid rgba(167, 190, 220, 0.16);
  border-radius: 8px;
  background: rgba(5, 10, 18, 0.62);
}

.run-mode-proof div.is-active {
  border-color: rgba(37, 217, 255, 0.5);
  background:
    linear-gradient(135deg, rgba(37, 217, 255, 0.13), rgba(37, 217, 255, 0.08)),
    rgba(5, 10, 18, 0.72);
}

.run-mode-proof span {
  color: #79bfff;
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.run-mode-proof strong {
  color: var(--white);
  font-size: 0.92rem;
}

.run-mode-proof em {
  color: var(--silver);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 800;
  line-height: 1.35;
}

.run-mode-proof button {
  min-height: 34px;
  margin-top: 4px;
  padding: 0 10px;
  color: var(--white);
  border: 1px solid rgba(37, 217, 255, 0.3);
  border-radius: 8px;
  background: rgba(8, 14, 22, 0.82);
  font-size: 0.72rem;
  font-weight: 950;
}

.run-mode-proof div.is-active button {
  color: #061018;
  border-color: rgba(37, 217, 255, 0.7);
  background: var(--green);
}

.secondary-run-button {
  min-height: 42px;
  padding: 0 12px;
  color: var(--silver);
  border: 1px solid rgba(37, 217, 255, 0.32);
  border-radius: 8px;
  background: rgba(8, 14, 22, 0.72);
  font-weight: 950;
}

.source-preview {
  position: relative;
  display: grid;
  min-height: 245px;
  overflow: hidden;
  align-content: end;
  padding: 18px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 70% 30%, rgba(255, 82, 112, 0.32), transparent 24%),
    linear-gradient(135deg, #10234e, #060910 72%);
}

.source-preview::after {
  content: "";
  position: absolute;
  inset: auto -12% -28% 28%;
  height: 150px;
  background: linear-gradient(95deg, transparent, rgba(37, 217, 255, 0.72), rgba(255, 37, 31, 0.68), transparent);
  filter: blur(12px);
  transform: rotate(-8deg);
}

.preview-face {
  position: absolute;
  top: 22px;
  right: 22px;
  display: grid;
  width: 104px;
  height: 104px;
  overflow: hidden;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--violet));
  border: 4px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  font-weight: 950;
  font-size: 1.5rem;
}

.preview-face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.source-preview div:last-child {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 7px;
  max-width: 72%;
}

.source-preview strong {
  color: var(--white);
  font-size: clamp(1.45rem, 3vw, 2.5rem);
  line-height: 0.98;
}

.source-preview span {
  color: #cdd8e7;
  font-weight: 850;
}

.video-frame-picker-note {
  display: grid;
  gap: 4px;
  margin-top: 12px;
  padding: 10px;
  border: 1px solid rgba(37, 217, 255, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(37, 217, 255, 0.11), rgba(255, 48, 79, 0.05)),
    rgba(5, 10, 18, 0.72);
}

.video-frame-picker-note span {
  color: var(--electric);
  font-size: 0.7rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.video-frame-picker-note strong {
  color: var(--white);
}

.video-frame-picker-note em {
  color: var(--muted);
  font-size: 0.78rem;
  font-style: normal;
  line-height: 1.35;
}

.frame-workflow-legend {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin-top: 6px;
}

.frame-workflow-legend b {
  display: grid;
  min-height: 34px;
  align-items: center;
  padding: 0 10px;
  color: #061017;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: linear-gradient(180deg, #effcff, var(--electric));
  box-shadow: 0 10px 24px rgba(33, 230, 255, 0.18);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0;
  text-align: center;
}

.moment-list,
.reason-list,
.api-list,
.saved-list {
  display: grid;
  gap: 8px;
}

.moment-list {
  margin-top: 12px;
}

.frame-picker-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(37, 217, 255, 0.38);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(37, 217, 255, 0.14), rgba(255, 48, 79, 0.08)),
    rgba(5, 10, 18, 0.82);
}

.frame-picker-summary span {
  color: var(--electric);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.frame-picker-summary strong {
  display: block;
  margin-top: 4px;
  color: var(--white);
  font-size: 0.95rem;
}

.frame-picker-summary em {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.78rem;
  font-style: normal;
  line-height: 1.35;
}

.frame-picker-summary b {
  display: grid;
  min-width: 54px;
  min-height: 54px;
  place-items: center;
  color: #061017;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--electric), var(--green));
  box-shadow: 0 0 24px rgba(37, 217, 255, 0.28);
  font-weight: 950;
}

.frame-picker-summary-actions {
  display: grid;
  gap: 8px;
  justify-items: end;
}

.frame-picker-summary-actions button {
  min-height: 36px;
  padding: 0 12px;
  color: #03121a;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--electric), var(--lime));
  box-shadow: 0 0 18px rgba(37, 217, 255, 0.28);
  font-size: 0.72rem;
  font-weight: 1000;
}

.frame-picker-summary-actions button.is-clear-source-action,
.moment-actions button.is-clear-source-action {
  color: #ffffff;
  border-color: rgba(255, 48, 79, 0.62);
  background:
    linear-gradient(180deg, rgba(255, 87, 87, 0.88), rgba(111, 13, 24, 0.95)),
    rgba(8, 14, 22, 0.94);
  box-shadow: 0 0 18px rgba(255, 48, 79, 0.2);
}

.moment-list div,
.reason-list div,
.api-list div,
.saved-list div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  min-height: 44px;
  align-items: center;
  padding: 9px 10px;
  color: var(--silver);
  background: rgba(8, 14, 22, 0.72);
  border: 1px solid rgba(167, 190, 220, 0.14);
  border-radius: 8px;
  font-weight: 850;
}

.moment-list div {
  grid-template-columns: minmax(0, 1fr) auto auto;
}

.moment-list .moment-frame-card {
  grid-template-columns: minmax(0, 1fr) auto;
}

.moment-list .moment-frame-card.has-frame-preview {
  grid-template-columns: minmax(112px, 34%) minmax(0, 1fr) auto;
  min-height: 84px;
}

.moment-list .moment-frame-card.has-frame-preview img {
  inline-size: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid rgba(37, 217, 255, 0.24);
}

.moment-list .moment-frame-card.is-selected {
  border-color: rgba(37, 217, 255, 0.55);
  background:
    linear-gradient(135deg, rgba(37, 217, 255, 0.16), rgba(47, 255, 151, 0.07)),
    rgba(8, 14, 22, 0.78);
  box-shadow: 0 0 0 1px rgba(37, 217, 255, 0.16), 0 0 22px rgba(37, 217, 255, 0.12);
}

.moment-source-badge {
  display: inline-flex;
  width: fit-content;
  margin-top: 6px;
  padding: 4px 7px;
  color: #03121a;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--electric), var(--lime));
  box-shadow: 0 0 16px rgba(47, 255, 151, 0.22);
  font-size: 0.62rem;
  font-weight: 1000;
  letter-spacing: 0;
  text-transform: uppercase;
}

.moment-list .moment-frame-card > button {
  min-height: 32px;
  padding: 0 10px;
  color: var(--white);
  border: 1px solid rgba(37, 217, 255, 0.36);
  border-radius: 8px;
  background: rgba(37, 217, 255, 0.12);
  font-size: 0.72rem;
  font-weight: 950;
}

.moment-list .moment-actions {
  display: flex;
  grid-template-columns: none;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  min-height: 42px;
}

.moment-actions button {
  min-height: 36px;
  padding: 0 12px;
  color: var(--white);
  border: 1px solid rgba(37, 217, 255, 0.32);
  border-radius: 8px;
  background: rgba(37, 217, 255, 0.14);
  font-size: 0.76rem;
  font-weight: 950;
}

.backup-restore-card {
  display: grid;
  gap: 6px;
  min-height: 72px;
  align-content: center;
  margin-top: 8px;
  padding: 10px;
  color: var(--silver);
  border: 1px dashed rgba(37, 217, 255, 0.32);
  border-radius: 8px;
  background: rgba(8, 14, 22, 0.72);
  font-size: 0.8rem;
  font-weight: 900;
}

.backup-restore-card span {
  color: var(--electric);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.backup-restore-card strong {
  color: var(--white);
  font-size: 0.82rem;
}

.backup-restore-card input {
  min-height: 32px;
  padding: 4px 0;
  color: var(--silver);
  border: 0;
  background: transparent;
  font-size: 0.72rem;
}

.moment-list span,
.reason-list span,
.api-list span,
.saved-list span {
  color: var(--electric);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.board-section {
  margin-top: 12px;
}

.board-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.board-note {
  max-width: 720px;
  margin: 6px 0 0;
  color: #a7bedc;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.35;
}

.top-three-compare {
  display: none;
  gap: 8px;
  margin-bottom: 12px;
  padding: 12px;
  border: 1px solid rgba(255, 47, 63, 0.3);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 47, 63, 0.12), rgba(37, 217, 255, 0.08)),
    rgba(8, 14, 22, 0.88);
}

.top-three-compare.is-visible {
  display: grid;
}

.top-three-compare span {
  color: var(--amber);
  font-size: 0.7rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.top-three-compare > strong {
  color: var(--white);
  font-size: 0.98rem;
}

.recommended-choice {
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid rgba(37, 217, 255, 0.38);
  border-radius: 8px;
  background: rgba(37, 217, 255, 0.1);
}

.recommended-choice b {
  color: var(--green);
  font-size: 0.68rem;
  text-transform: uppercase;
}

.recommended-choice strong {
  color: var(--white);
  font-size: 0.96rem;
}

.recommended-choice small {
  color: var(--silver);
  font-size: 0.72rem;
  font-weight: 800;
}

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

.compare-grid button {
  display: grid;
  gap: 4px;
  min-height: 104px;
  padding: 10px;
  color: var(--white);
  text-align: left;
  border: 1px solid rgba(167, 190, 220, 0.18);
  border-radius: 8px;
  background: rgba(5, 10, 18, 0.62);
}

.compare-grid button.is-active {
  border-color: rgba(37, 217, 255, 0.78);
  box-shadow: 0 0 0 2px rgba(37, 217, 255, 0.16);
}

.compare-grid b {
  color: var(--amber);
  font-size: 0.68rem;
  text-transform: uppercase;
}

.compare-grid strong {
  font-size: 0.88rem;
}

.compare-grid small {
  color: var(--silver);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.28;
}

.compare-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.compare-actions button {
  min-height: 38px;
  padding: 0 12px;
  color: var(--white);
  border: 1px solid rgba(167, 190, 220, 0.22);
  border-radius: 8px;
  background: rgba(24, 36, 52, 0.94);
  font-weight: 900;
}

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

.layout-card {
  display: grid;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  padding: 0;
  color: inherit;
  text-align: left;
  background: rgba(8, 14, 22, 0.76);
  border: 1px solid rgba(167, 190, 220, 0.16);
  border-radius: 8px;
}

.layout-card-wrap {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.layout-card-wrap.is-active .candidate-remove-button {
  border-color: rgba(255, 48, 79, 0.72);
  box-shadow: 0 0 0 2px rgba(255, 48, 79, 0.12);
}

.candidate-remove-button {
  min-height: 34px;
  color: #ffe6ea;
  border: 1px solid rgba(255, 48, 79, 0.38);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 48, 79, 0.22), rgba(78, 9, 18, 0.92)),
    rgba(9, 13, 20, 0.94);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.candidate-remove-button:hover,
.candidate-remove-button:focus-visible {
  outline: none;
  color: #ffffff;
  border-color: rgba(255, 48, 79, 0.92);
  box-shadow: 0 0 18px rgba(255, 48, 79, 0.28);
}

.layout-card.is-active {
  border-color: rgba(37, 217, 255, 0.82);
  box-shadow: 0 0 0 2px rgba(37, 217, 255, 0.18);
}

.layout-card.is-winner {
  border-color: rgba(37, 217, 255, 0.74);
}

.layout-card.is-recommended {
  border-color: rgba(255, 47, 63, 0.82);
  box-shadow: 0 0 0 2px rgba(255, 47, 63, 0.14);
}

.layout-thumb {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--thumb-bg);
}

.layout-generated-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.layout-graphic-art {
  position: absolute;
  inset: 0;
  z-index: 4;
  overflow: hidden;
  pointer-events: none;
}

.layout-graphic-art.is-big-number .proof-accent {
  position: absolute;
  inset: 0 auto auto 0;
  width: 52%;
  height: 5px;
  background: linear-gradient(90deg, #00d8ff, transparent);
}

.layout-graphic-art.is-big-number .proof-burst {
  position: absolute;
  top: 1%;
  right: 1%;
  width: 18%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: repeating-conic-gradient(rgba(239,31,47,0.72) 0deg 5deg, transparent 5deg 12deg);
  opacity: 0.72;
}

.layout-graphic-art.is-big-number .proof-underline {
  position: absolute;
  left: 5%;
  bottom: 9%;
  width: 42%;
  height: 7%;
  border-radius: 999px;
  background: linear-gradient(180deg, #ef1f2f 0 42%, transparent 42% 58%, #00d8ff 58% 100%);
  filter: drop-shadow(0 3px 3px rgba(0,0,0,0.66));
}

.layout-graphic-art.is-big-number > b {
  position: absolute;
  top: 3%;
  right: 3%;
  display: grid;
  width: 13%;
  aspect-ratio: 1;
  place-items: center;
  color: #fff;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #ef1f2f;
  box-shadow: 0 4px 12px rgba(0,0,0,0.68);
  font-family: Impact, "Arial Black", sans-serif;
  font-size: clamp(0.72rem, 1.8vw, 1.15rem);
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.layout-graphic-art.is-big-number > b.is-long {
  font-size: clamp(0.52rem, 1.25vw, 0.82rem);
}

.layout-graphic-art.is-before-after > b {
  position: absolute;
  top: 3%;
  min-width: 24%;
  padding: 4px 6px;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 5px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.7);
  font-family: Impact, "Arial Black", sans-serif;
  font-size: clamp(0.5rem, 1.1vw, 0.75rem);
  font-weight: 950;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.layout-graphic-art .before-label {
  left: 5%;
  background: #ef1f2f;
}

.layout-graphic-art .after-label {
  right: 5%;
  background: #00a9d6;
}

.layout-graphic-art .transition-badge {
  position: absolute;
  top: 16%;
  left: 50%;
  display: grid;
  width: 11%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  place-items: center;
  color: #080b10;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.72);
  font-size: clamp(0.55rem, 1.2vw, 0.8rem);
  font-style: normal;
  font-weight: 950;
}

.layout-graphic-art .transition-badge.is-story {
  top: 3%;
  width: auto;
  min-width: 14%;
  aspect-ratio: auto;
  padding: 5px 7px;
  transform: translateX(-50%);
  color: #fff;
  border-radius: 4px;
  background: #111722;
  font-size: clamp(0.42rem, 0.9vw, 0.66rem);
  text-transform: uppercase;
}

.layout-graphic-art .transition-arrow {
  display: none;
}

.layout-graphic-art .reaction-brush {
  position: absolute;
  left: 4%;
  bottom: 8%;
  width: 38%;
  height: 15%;
  transform: rotate(-2deg);
  background: #ef1f2f;
  clip-path: polygon(0 15%, 94% 0, 100% 22%, 93% 39%, 100% 58%, 92% 78%, 96% 100%, 3% 87%);
  filter: drop-shadow(0 4px 5px rgba(0,0,0,0.76));
}

.layout-graphic-art .reaction-arrow {
  position: absolute;
  width: 17%;
  height: 12%;
  background: #ef1f2f;
  clip-path: polygon(0 35%, 66% 35%, 66% 0, 100% 50%, 66% 100%, 66% 65%, 0 65%);
  filter: drop-shadow(0 3px 3px rgba(0,0,0,0.76));
}

.layout-graphic-art .reaction-arrow::after {
  content: none;
}

.layout-graphic-art .arrow-one {
  top: 8%;
  left: 68%;
  transform: rotate(145deg);
}

.layout-graphic-art .arrow-two {
  top: 7%;
  left: 45%;
  transform: rotate(35deg);
}

.layout-graphic-art .arrow-three {
  top: 16%;
  left: 73%;
  width: 20%;
  transform: rotate(55deg);
}

.layout-thumb.is-shock-face-hook .layout-hook {
  left: 7%;
  bottom: 10%;
  max-width: 38%;
  transform: rotate(-2deg);
  color: #ffffff;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: clamp(0.92rem, 1.9vw, 1.28rem);
  text-shadow: 0 3px 0 rgba(0,0,0,0.88), 0 6px 14px rgba(0,0,0,0.72);
}

.layout-thumb.is-big-number .layout-hook {
  left: 6%;
  bottom: 14%;
  max-width: 50%;
  color: #ffffff;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: clamp(1rem, 2.15vw, 1.42rem);
  text-shadow: 0 3px 0 rgba(0,0,0,0.9), 0 6px 16px rgba(0,0,0,0.75);
}

.layout-thumb.is-before-after .layout-hook {
  left: 50%;
  bottom: 8%;
  width: 82%;
  max-width: 82%;
  transform: translateX(-50%);
  color: #ffffff;
  font-family: Impact, "Arial Black", sans-serif;
  text-align: center;
  text-shadow: 0 3px 0 rgba(0,0,0,0.9), 0 6px 16px rgba(0,0,0,0.75);
}

.layout-thumb > .layout-hook,
.layout-thumb > .score-pill,
.layout-thumb > .recommended-pill,
.layout-thumb > .image-state-pill,
.layout-thumb > .source-state-pill {
  z-index: 5;
}

.layout-thumb > .layout-face {
  z-index: 3;
}

.choice-select-label {
  display: block;
  width: 100%;
  padding: 9px 10px;
  color: #061018;
  border: 1px solid rgba(33, 230, 255, 0.76);
  border-radius: 6px;
  background: linear-gradient(180deg, #8ff5ff, #21e6ff);
  font-size: 0.72rem;
  font-weight: 950;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.choice-select-label.is-selected {
  color: #06120d;
  border-color: rgba(87, 255, 182, 0.92);
  background: linear-gradient(180deg, #93ffd0, #35e89c);
}

.layout-face {
  position: absolute;
  right: 0;
  bottom: 0;
  display: grid;
  width: 42%;
  height: 100%;
  overflow: hidden;
  place-items: center;
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border: 0;
  border-radius: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,0.92) 24%, #000 36%);
  mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,0.92) 24%, #000 36%);
  font-size: 0.72rem;
  font-weight: 950;
}

.layout-face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.layout-hook {
  position: absolute;
  left: 9px;
  bottom: 8px;
  max-width: 54%;
  color: var(--white);
  font-size: clamp(0.9rem, 1.8vw, 1.22rem);
  font-weight: 950;
  line-height: 0.9;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.score-pill {
  position: absolute;
  top: 8px;
  left: 8px;
  min-width: 42px;
  min-height: 30px;
  display: grid;
  place-items: center;
  color: #071018;
  background: var(--green);
  border-radius: 8px;
  font-weight: 950;
}

.score-pill.is-mid {
  background: var(--amber);
}

.score-pill.is-low {
  color: var(--white);
  background: var(--rose);
}

.recommended-pill {
  position: absolute;
  top: 8px;
  right: 8px;
  max-width: 44%;
  padding: 7px 8px;
  color: #071018;
  background: var(--amber);
  border-radius: 8px;
  font-size: 0.62rem;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.generation-source-audit {
  display: grid;
  gap: 7px;
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(33, 230, 255, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(33, 230, 255, 0.1), rgba(5, 11, 18, 0.92)),
    rgba(5, 11, 18, 0.88);
}

.generation-source-audit[data-source-audit-tone="source"],
.generation-source-audit[data-source-audit-tone="source-ready"] {
  border-color: rgba(53, 231, 166, 0.58);
  background:
    linear-gradient(135deg, rgba(53, 231, 166, 0.14), rgba(33, 230, 255, 0.08)),
    rgba(4, 12, 16, 0.9);
}

.generation-source-audit[data-source-audit-tone="idea"] {
  border-color: rgba(255, 139, 61, 0.58);
  background:
    linear-gradient(135deg, rgba(255, 139, 61, 0.14), rgba(5, 11, 18, 0.9)),
    rgba(5, 11, 18, 0.88);
}

.generation-source-audit[data-source-audit-tone="mismatch"] {
  border-color: rgba(255, 48, 79, 0.68);
  background:
    linear-gradient(135deg, rgba(255, 48, 79, 0.18), rgba(5, 11, 18, 0.9)),
    rgba(5, 11, 18, 0.88);
}

.generation-source-audit span {
  color: var(--electric);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.generation-source-audit strong {
  color: var(--white);
  font-size: 0.96rem;
  line-height: 1.15;
}

.generation-source-audit em {
  color: var(--silver);
  font-size: 0.76rem;
  font-style: normal;
  line-height: 1.35;
}

.generation-source-audit-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.generation-source-audit-chips b {
  display: inline-grid;
  min-height: 26px;
  align-items: center;
  padding: 4px 8px;
  color: #061018;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--electric), #8ff8ff);
  font-size: 0.64rem;
  font-weight: 950;
  line-height: 1.1;
}

.choice-finish-receipt {
  display: grid;
  gap: 6px;
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(167, 190, 220, 0.22);
  border-radius: 8px;
  background: rgba(8, 14, 22, 0.82);
}

.choice-finish-receipt[data-choice-finish-tone="source"],
.choice-finish-receipt[data-choice-finish-tone="done"] {
  border-color: rgba(53, 231, 166, 0.48);
  background:
    linear-gradient(135deg, rgba(53, 231, 166, 0.13), rgba(37, 217, 255, 0.08)),
    rgba(8, 14, 22, 0.88);
}

.choice-finish-receipt[data-choice-finish-tone="idea"] {
  border-color: rgba(255, 191, 71, 0.48);
  background:
    linear-gradient(135deg, rgba(255, 191, 71, 0.14), rgba(255, 48, 79, 0.07)),
    rgba(8, 14, 22, 0.88);
}

.choice-finish-receipt span {
  color: var(--electric);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}

.choice-finish-receipt strong {
  color: var(--white);
}

.choice-finish-receipt em {
  color: var(--silver);
  font-size: 0.78rem;
  font-style: normal;
  line-height: 1.34;
}

.selected-winner-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.selected-winner-proof b {
  display: grid;
  gap: 3px;
  min-height: 48px;
  align-content: center;
  min-width: 0;
  padding: 8px;
  overflow: hidden;
  color: var(--white);
  border: 1px solid rgba(167, 190, 220, 0.18);
  border-radius: 8px;
  background: rgba(3, 7, 13, 0.7);
  font-size: 0.74rem;
  line-height: 1.12;
  text-overflow: ellipsis;
}

.selected-winner-proof b span {
  overflow: hidden;
  color: var(--steel);
  font-size: 0.55rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.selected-winner-proof.is-source b,
.selected-winner-proof.is-ready b {
  border-color: rgba(53, 231, 166, 0.34);
}

.selected-winner-proof.is-idea b {
  border-color: rgba(255, 191, 71, 0.36);
}

.choice-finish-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.choice-finish-actions button {
  min-height: 34px;
  padding: 0 11px;
  color: #03121a;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--electric), var(--lime));
  font-size: 0.72rem;
  font-weight: 1000;
}

.choice-finish-actions button:disabled {
  cursor: not-allowed;
  color: rgba(255, 255, 255, 0.55);
  border-color: rgba(143, 160, 180, 0.16);
  background: rgba(24, 36, 52, 0.7);
  box-shadow: none;
}

.image-state-pill {
  position: absolute;
  top: 42px;
  left: 8px;
  max-width: 56%;
  padding: 5px 7px;
  overflow: hidden;
  color: #061018;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 7px;
  background: var(--amber);
  font-size: 0.58rem;
  font-weight: 950;
  line-height: 1;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.image-state-pill.is-ready {
  background: var(--green);
}

.image-state-pill.is-draft {
  background: var(--electric);
}

.image-state-pill.is-strategy {
  color: var(--white);
  background: rgba(7, 13, 22, 0.76);
}

.layout-meta {
  display: grid;
  gap: 6px;
  padding: 10px;
}

.layout-meta strong,
.layout-meta span,
.layout-meta em {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.layout-meta .direction-label {
  color: var(--electric);
  font-size: 0.66rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.layout-meta .strategy-label {
  width: max-content;
  max-width: 100%;
  padding: 3px 7px;
  color: #071018;
  border-radius: 6px;
  background: var(--amber);
  font-size: 0.64rem;
  font-weight: 950;
  text-transform: uppercase;
}

.source-state-pill {
  position: absolute;
  top: 72px;
  left: 8px;
  max-width: 64%;
  padding: 5px 7px;
  overflow: hidden;
  color: #061018;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 7px;
  background: #35e7a6;
  font-size: 0.56rem;
  font-weight: 950;
  line-height: 1;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}

.source-state-pill.is-idea {
  color: #061018;
  background: var(--amber);
}

.source-state-pill.is-waiting {
  color: var(--white);
  background: rgba(9, 13, 20, 0.9);
}

.layout-meta strong {
  color: var(--white);
  font-size: 0.9rem;
}

.layout-meta span,
.layout-meta em {
  color: var(--muted);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 850;
}

.layout-source-receipt {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  padding: 4px 7px;
  overflow-wrap: anywhere;
  color: #061018;
  border-radius: 7px;
  background: rgba(53, 231, 166, 0.92);
  font-size: 0.62rem;
  font-weight: 1000;
  line-height: 1.2;
}

.layout-source-receipt.is-idea {
  background: var(--amber);
}

.layout-source-receipt.is-waiting {
  color: var(--white);
  border: 1px solid rgba(143, 160, 180, 0.22);
  background: rgba(9, 13, 20, 0.92);
}

.workbench {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.72fr);
  gap: 12px;
  margin-top: 12px;
}

.canvas-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.canvas-top div {
  display: grid;
  gap: 5px;
}

.canvas-top span {
  color: var(--electric);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.canvas-top strong {
  color: var(--green);
  font-size: 2rem;
  line-height: 1;
}

.selected-source-proof {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 5px 10px;
  align-items: center;
  margin: 10px 0 12px;
  padding: 10px 12px;
  border: 1px solid rgba(34, 211, 238, 0.28);
  border-radius: 8px;
  background: rgba(3, 12, 22, 0.86);
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.12);
}

.selected-source-proof span {
  grid-row: span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #21e6ff, #2af598);
  color: #041019;
  font-size: 0.67rem;
  font-weight: 950;
  text-transform: uppercase;
}

.selected-source-proof strong {
  color: var(--text);
  font-size: 0.88rem;
}

.selected-source-proof em {
  color: var(--muted);
  font-size: 0.74rem;
  font-style: normal;
  line-height: 1.35;
}

.selected-source-proof.is-idea {
  border-color: rgba(255, 190, 76, 0.44);
  box-shadow: 0 0 18px rgba(255, 190, 76, 0.1);
}

.selected-source-proof.is-idea span {
  background: linear-gradient(135deg, #ffcc66, #ff7a3d);
}

.selected-source-proof.is-waiting {
  border-color: rgba(148, 163, 184, 0.25);
  box-shadow: none;
}

.selected-source-proof.is-waiting span {
  background: #253141;
  color: #dce9f8;
}

.thumbnail-canvas {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(167, 190, 220, 0.16);
  border-radius: 8px;
  background: #070b10;
}

.thumbnail-canvas::before,
.thumbnail-canvas::after {
  position: absolute;
  z-index: 4;
  pointer-events: none;
  content: "";
}

.thumbnail-canvas[data-overlay-preset="arrow-circle"]::before {
  right: 25%;
  top: 18%;
  width: 18%;
  aspect-ratio: 1;
  border: 8px solid var(--red);
  border-radius: 50%;
  box-shadow: 0 0 22px rgba(255, 48, 79, 0.44);
}

.thumbnail-canvas[data-overlay-preset="arrow-circle"]::after {
  right: 43%;
  top: 36%;
  width: 18%;
  height: 8px;
  background: var(--red);
  transform: rotate(-18deg);
  clip-path: polygon(0 30%, 78% 30%, 78% 0, 100% 50%, 78% 100%, 78% 70%, 0 70%);
}

.thumbnail-canvas[data-overlay-preset="red-glow"]::after,
.thumbnail-canvas[data-overlay-preset="news-alert"]::after {
  inset: 0;
  border: 12px solid rgba(255, 48, 79, 0.74);
  box-shadow: inset 0 0 48px rgba(255, 48, 79, 0.38);
}

.thumbnail-canvas[data-overlay-preset="split-bar"]::after,
.thumbnail-canvas[data-overlay-preset="versus"]::after {
  left: 49%;
  top: -8%;
  width: 18px;
  height: 116%;
  background: linear-gradient(180deg, var(--electric), var(--red));
  transform: rotate(8deg);
  box-shadow: 0 0 26px rgba(33, 230, 255, 0.42);
}

.thumbnail-canvas[data-overlay-preset="versus"]::before {
  left: 44%;
  top: 38%;
  padding: 12px 18px;
  color: #070b10;
  background: var(--amber);
  border-radius: 8px;
  content: "VS";
  font-weight: 950;
}

.thumbnail-canvas[data-overlay-preset="face-cutout"] .canvas-face {
  border-color: rgba(255, 48, 79, 0.82);
  box-shadow: 0 0 0 10px rgba(33, 230, 255, 0.18), 0 0 42px rgba(255, 48, 79, 0.46);
}

.thumbnail-canvas[data-overlay-preset="shock-label"]::after,
.thumbnail-canvas[data-overlay-preset="product-callout"]::after,
.thumbnail-canvas[data-overlay-preset="podcast-frame"]::after {
  right: 6%;
  top: 8%;
  padding: 12px 18px;
  color: #070b10;
  background: var(--amber);
  border-radius: 8px;
  content: "WOW";
  font-weight: 950;
}

.thumbnail-canvas[data-overlay-preset="product-callout"]::after {
  content: "NEW";
}

.thumbnail-canvas[data-overlay-preset="podcast-frame"]::after {
  content: "CLIP";
}

.thumbnail-canvas[data-overlay-preset="blur-reveal"]::after {
  right: 8%;
  top: 12%;
  width: 26%;
  height: 32%;
  border: 3px solid rgba(255, 255, 255, 0.36);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(5px);
}

.thumbnail-canvas[data-overlay-preset="text-plate"] > strong {
  padding: 12px 16px;
  border-radius: 8px;
  background: rgba(3, 7, 13, 0.74);
}

.canvas-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #05324a, #070b12 60%, #8f0718);
}

.canvas-face {
  position: absolute;
  right: 0;
  bottom: 0;
  display: grid;
  width: 40%;
  height: 100%;
  overflow: hidden;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--violet));
  border: 0;
  border-radius: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,0.92) 22%, #000 34%);
  mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,0.92) 22%, #000 34%);
  font-size: clamp(1.4rem, 4vw, 3.6rem);
  font-weight: 950;
  z-index: 6;
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.canvas-face:active,
.quick-finish-face:active {
  cursor: grabbing;
}

.quick-finish-editor {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(0, 216, 255, 0.48);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(0, 216, 255, 0.08), rgba(255, 48, 79, 0.05)), #080d14;
}

.quick-finish-editor[hidden] {
  display: none;
}

.quick-finish-preview {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 0;
  overflow: hidden;
  border: 3px solid rgba(255, 190, 76, 0.92);
  border-radius: 8px;
  background: #05080d;
  box-shadow:
    0 0 0 2px rgba(0, 216, 255, 0.18),
    0 16px 44px rgba(0, 0, 0, 0.42);
}

.quick-finish-bg {
  position: absolute;
  inset: 0;
  filter: none;
  opacity: 1;
}

.quick-finish-preview > .layout-graphic-art {
  z-index: 8;
}

.quick-finish-preview > strong {
  position: absolute;
  z-index: 5;
  left: 5%;
  bottom: 7%;
  max-width: 52%;
  padding: 0 0 10px;
  color: #fff;
  background: none;
  border-bottom: 5px solid #13d9f2;
  border-radius: 0;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: clamp(1.25rem, 3.2vw, 3rem);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1;
  -webkit-text-stroke: 1.5px #05070b;
  paint-order: stroke fill;
  text-shadow: 0 3px 0 #05070b, 0 7px 18px rgba(0, 0, 0, 0.92);
  text-transform: uppercase;
}

.quick-finish-preview > strong.is-placeholder {
  color: #d7e5f3;
  font-size: 1.15rem;
}

.quick-finish-face {
  position: absolute;
  z-index: 7;
  display: grid;
  width: 40%;
  height: 100%;
  overflow: hidden;
  place-items: center;
  border: 0;
  border-radius: 0;
  outline: 0;
  box-shadow: -22px 0 38px rgba(0, 216, 255, 0.16);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,0.92) 22%, #000 34%);
  mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,0.92) 22%, #000 34%);
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.quick-finish-face[hidden],
.canvas-face[hidden],
.layout-face[hidden] {
  display: none !important;
}

.quick-finish-face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.quick-finish-controls {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.65fr);
  align-content: start;
  gap: 14px;
}

.quick-finish-controls > .back-to-choices-button,
.quick-finish-controls > .download-this-thumbnail-button {
  grid-column: 1 / -1;
}

.download-this-thumbnail-button {
  min-height: 58px;
  color: #041019;
  background: linear-gradient(180deg, #69ffd0, #16d798);
  border: 2px solid #baffea;
  box-shadow: 0 0 0 2px rgba(22, 215, 152, 0.18), 0 0 24px rgba(22, 215, 152, 0.3);
  font-size: 1.05rem;
  font-weight: 950;
}

.quick-face-photo-button {
  min-height: 48px;
  color: #06121a;
  background: linear-gradient(180deg, #65eaff, #13cdea);
  border: 1px solid #aaf5ff;
  font-weight: 950;
}

.quick-finish-controls > div:first-child {
  display: grid;
  gap: 5px;
}

.quick-finish-controls span {
  color: var(--electric);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.quick-finish-controls strong {
  color: #fff;
  font-size: 1.05rem;
  line-height: 1.3;
}

.back-to-choices-button {
  min-height: 48px;
  color: #041019;
  background: linear-gradient(180deg, #f4fbff, #aebdca);
  border: 1px solid #6f8190;
  font-weight: 950;
}

.quick-finish-controls em {
  color: #c5d3df;
  font-size: 0.82rem;
  font-style: normal;
  line-height: 1.4;
}

.quick-headline-field,
.quick-face-size-field {
  display: grid;
  gap: 7px;
  color: #fff;
  font-weight: 900;
}

.quick-headline-field input {
  min-height: 52px;
  padding: 0 14px;
  color: #071019;
  border: 2px solid rgba(0, 216, 255, 0.72);
  border-radius: 7px;
  background: #f8fbff;
  font-size: 1rem;
  font-weight: 850;
}

.quick-finish-toggles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.quick-finish-toggles label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 8px 10px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.82rem;
  font-weight: 850;
}

.quick-finish-toggles input {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  accent-color: #00d8ff;
}

.quick-face-size-field input {
  width: 100%;
  min-height: 36px;
  accent-color: #00d8ff;
}

@media (max-width: 760px) {
  .quick-finish-editor {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .quick-finish-preview {
    min-height: 0;
  }

  .quick-finish-preview > strong {
    max-width: 70%;
    font-size: clamp(1.35rem, 7vw, 2.5rem);
  }

  .quick-finish-controls strong {
    font-size: 1rem;
  }

  .quick-finish-controls {
    grid-template-columns: 1fr;
    padding-bottom: 78px;
  }

  .quick-finish-controls > * {
    grid-column: 1;
  }
}

@media (max-width: 520px) {
  .quick-finish-toggles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quick-finish-toggles label:last-child {
    grid-column: 1 / -1;
  }
}

.canvas-face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.canvas-callout {
  position: absolute;
  top: 8%;
  left: 6%;
  min-height: 44px;
  display: grid;
  align-items: center;
  padding: 0 14px;
  color: #070b10;
  background: var(--amber);
  border-radius: 8px;
  font-weight: 950;
  z-index: 9;
}

.thumbnail-canvas > strong {
  position: absolute;
  left: 6%;
  bottom: 10%;
  width: 52%;
  color: var(--white);
  font-size: clamp(1.7rem, 4.6vw, 4.5rem);
  line-height: 0.96;
  text-shadow: 0 5px 24px rgba(0, 0, 0, 0.62);
  z-index: 9;
}

.quick-finish-preview > strong {
  z-index: 9;
}

.editor-controls-panel {
  display: grid;
  align-content: start;
  gap: 12px;
}

.reason-list div {
  grid-template-columns: 26px minmax(0, 1fr);
}

.reason-list b {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: #071018;
  background: var(--green);
  border-radius: 50%;
  font-size: 0.72rem;
}

.growth-grid,
.library-api-grid {
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
  margin-top: 12px;
}

.phone-feed {
  display: grid;
  gap: 9px;
  max-width: 360px;
  padding: 12px;
  background: #0b0f16;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.phone-thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(135deg, #05324a, #070b12 60%, #8f0718);
}

.phone-feed strong {
  color: var(--white);
  font-size: 0.96rem;
  line-height: 1.25;
}

.phone-feed span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.api-note {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1.45;
}

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

.score-grid div {
  min-height: 82px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 12px;
  background: rgba(8, 14, 22, 0.74);
  border: 1px solid rgba(167, 190, 220, 0.14);
  border-radius: 8px;
}

.score-grid strong {
  color: var(--white);
  font-size: 1.7rem;
  line-height: 1;
}

.score-grid span {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 950;
  text-transform: uppercase;
}

.saved-list div,
.api-list div {
  grid-template-columns: minmax(0, 1fr) minmax(92px, auto);
}

.library-actions {
  margin-bottom: 10px;
}

.generated-library,
.project-list,
.generation-history {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

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

.generated-item,
.project-item,
.history-item {
  display: grid;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  color: var(--white);
  text-align: left;
  background: rgba(8, 14, 22, 0.74);
  border: 1px solid rgba(167, 190, 220, 0.14);
  border-radius: 8px;
}

.generated-item span {
  display: block;
  aspect-ratio: 16 / 9;
  background-position: center;
  background-size: cover;
}

.history-preview {
  display: block;
  aspect-ratio: 16 / 9;
  background-position: center;
  background-size: cover;
}

.generated-item strong,
.generated-item em,
.project-item strong,
.project-item span,
.project-item em,
.history-item strong,
.history-item span,
.library-empty {
  overflow: hidden;
  padding: 9px 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.library-card-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 0 8px 8px;
}

.library-card-actions button {
  min-height: 32px;
  padding: 7px 8px;
  font-size: 0.68rem;
}

.library-card-actions button:last-child {
  color: #ff9bac;
  border-color: rgba(255, 82, 112, 0.35);
  background: rgba(255, 37, 31, 0.1);
}

.generated-item strong,
.project-item strong {
  font-size: 0.78rem;
}

.generated-item em,
.project-item span,
.project-item em,
.history-item span,
.library-empty {
  color: var(--muted);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 850;
}

.production-bridge-card {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid rgba(255, 139, 61, 0.38);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 139, 61, 0.14), rgba(33, 230, 255, 0.08)),
    rgba(4, 8, 14, 0.88);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.24);
}

.production-bridge-card[data-production-status="ready"] {
  border-color: rgba(53, 231, 166, 0.58);
}

.production-bridge-card[data-production-status="token-ready"] {
  border-color: rgba(33, 230, 255, 0.52);
}

.production-bridge-card span {
  color: var(--amber);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.production-bridge-card strong {
  color: var(--white);
  font-size: 0.92rem;
  line-height: 1.15;
}

.production-bridge-card em {
  color: #d8e4f2;
  font-size: 0.78rem;
  font-style: normal;
  line-height: 1.35;
}

.production-bridge-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.production-bridge-proof b {
  display: grid;
  gap: 4px;
  padding: 9px;
  color: #eff8ff;
  border: 1px solid rgba(33, 230, 255, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(33, 230, 255, 0.1), rgba(255, 59, 48, 0.08)),
    rgba(2, 6, 12, 0.78);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.25;
}

.production-bridge-proof b span {
  color: var(--cyan);
}

.build-status-meter {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(53, 231, 166, 0.32);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(53, 231, 166, 0.12), rgba(33, 230, 255, 0.1), rgba(255, 48, 79, 0.08)),
    rgba(3, 7, 13, 0.92);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.build-status-meter span {
  color: var(--green);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.build-status-meter strong {
  display: block;
  margin-top: 3px;
  color: var(--white);
  font-size: 1rem;
  line-height: 1.12;
}

.build-status-meter em {
  display: block;
  margin-top: 4px;
  color: #d8e4f2;
  font-size: 0.78rem;
  font-style: normal;
  line-height: 1.35;
}

.build-status-bars,
.build-status-gates {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.build-status-bars b,
.build-status-gates b {
  display: grid;
  gap: 6px;
  min-height: 62px;
  padding: 9px;
  border: 1px solid rgba(33, 230, 255, 0.24);
  border-radius: 8px;
  background: rgba(2, 6, 12, 0.72);
  color: #eef8ff;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.25;
}

.build-status-bars i {
  position: relative;
  display: block;
  width: 100%;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.build-status-bars i::after {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--build-progress);
  content: "";
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--electric), var(--red));
  box-shadow: 0 0 18px rgba(33, 230, 255, 0.38);
}

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

.production-bridge-grid b {
  display: grid;
  min-height: 58px;
  align-content: center;
  gap: 4px;
  padding: 8px;
  color: #d7e4f2;
  border: 1px solid rgba(255, 139, 61, 0.32);
  border-radius: 8px;
  background: rgba(2, 6, 12, 0.72);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.25;
}

.production-bridge-grid b.is-ready {
  color: #e6fff5;
  border-color: rgba(53, 231, 166, 0.52);
  background:
    linear-gradient(135deg, rgba(53, 231, 166, 0.12), rgba(33, 230, 255, 0.08)),
    rgba(2, 6, 12, 0.78);
}

.production-bridge-grid b.is-ready span {
  color: var(--green);
}

.production-bridge-card code {
  display: block;
  width: 100%;
  padding: 10px;
  overflow-x: auto;
  color: #c8f7ff;
  border: 1px solid rgba(33, 230, 255, 0.24);
  border-radius: 8px;
  background: rgba(2, 6, 12, 0.82);
  font-size: 0.72rem;
  white-space: nowrap;
}

.production-bridge-actions {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.production-bridge-actions button {
  min-height: 40px;
}

@media (max-width: 1180px) {
  body {
    overflow: auto;
  }

  .thumbflo-shell {
    grid-template-columns: 1fr;
    height: auto;
  }

  .side-rail {
    position: static;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
  }

  .one-thumbnail-now-card {
    grid-template-columns: 1fr;
  }

  .side-rail nav {
    display: flex;
    overflow-x: auto;
  }

  .credit-card {
    margin-top: 0;
  }

  main {
    height: auto;
  }

  .command-grid,
  .workbench,
  .growth-grid,
  .library-api-grid {
    grid-template-columns: 1fr;
  }

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

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

  .today-guide {
    grid-template-columns: 1fr;
  }

  .creator-path-steps,
  .creator-path-actions,
  .idea-example-chips,
  .idea-brief-actions,
  .text-assistant-actions,
  .image-assistant-actions,
  .no-upload-actions,
  .maker-status-card,
  .start-choice-grid,
  .thumbnail-recipe-card,
  .reaction-creator-kit,
  .maker-status-actions,
  .reaction-kit-actions,
  .maker-fast-steps,
  .maker-fast-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .maker-status-card > div:first-child,
  .thumbnail-recipe-card > div:first-child,
  .reaction-creator-kit > div:first-child {
    grid-column: 1 / -1;
  }

  .maker-status-grid,
  .thumbnail-recipe-steps,
  .reaction-kit-status {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .thumbflo-shell {
    padding: 0;
  }

  .side-rail,
  main,
  .command-panel,
  .board-section,
  .editor-canvas-panel,
  .editor-controls-panel,
  .mobile-preview-panel,
  .growth-score-panel,
  .library-panel,
  .api-panel {
    border-radius: 0;
  }

  .topbar,
  .one-click-pilot,
  .next-action-dock,
  .today-finish-receipt,
  .upload-day-handoff,
  .thumbnail-path-proof,
  .reaction-image-lane,
  .thumbnail-rescue-card,
  .pilot-progress,
  .finish-lane-receipt,
  .pilot-action-row,
  .next-action-dock,
  .live-feed-quick-card,
  .live-feed-steps,
  .live-feed-checklist,
  .live-feed-actions,
  .pilot-source-map,
  .thumbnail-pipeline-card,
  .pipeline-status-grid,
  .video-location-receipt,
  .face-location-receipt,
  .pipeline-source-preview,
  .pipeline-source-tray,
  .pipeline-actions,
  .make-now-strip,
  .time-to-thumbnail-card,
  .one-thumbnail-now-card,
  .start-choice-card,
  .start-choice-grid,
  .thumbnail-recipe-card,
  .reaction-creator-kit,
  .thumbnail-now-meter,
  .board-heading,
  .focus-mode-note,
  .source-gate,
  .idea-brief-card,
  .text-assistant-card,
  .image-assistant-card,
  .no-upload-maker-lane,
  .face-bank-heading,
  .reaction-overlay-kit,
  .ai-input-readiness,
  .one-day-check,
  .generate-strip,
  .control-row,
  .upload-grid,
  .score-grid {
    grid-template-columns: 1fr;
  }

  .next-action-dock {
    right: 10px;
    left: 10px;
  }

  .thumbflo-shell.is-focus-mode .pilot-action-row {
    grid-template-columns: 1fr;
  }

  .processing-indicator {
    grid-template-columns: 42px minmax(0, 1fr) auto;
    min-height: 78px;
    padding: 10px;
  }

  .processing-wheel { width: 38px; height: 38px; }
  .processing-indicator strong { font-size: 1rem; }
  .processing-indicator em { font-size: 0.82rem; }

  .thumbflo-shell.is-focus-mode .next-action-dock {
    grid-template-columns: minmax(0, 1fr) minmax(150px, 0.82fr);
    gap: 8px;
    padding: 8px 10px;
  }

  .thumbflo-shell.is-focus-mode .next-action-buttons > [data-pilot-next-click-clone] {
    width: 100%;
    min-width: 0;
    min-height: 44px;
  }

  .pipeline-tray-heading {
    grid-template-columns: 1fr;
  }

  .video-location-actions,
  .face-location-actions {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: stretch;
  }

  .video-location-actions button,
  .face-location-actions button {
    width: 100%;
  }

  .pipeline-source-lock,
  .pipeline-source-lock-pills {
    grid-template-columns: 1fr;
  }

  .production-bridge-grid,
  .production-bridge-proof,
  .build-status-bars,
  .build-status-gates,
  .production-bridge-actions,
  .today-finish-proof,
  .today-finish-actions,
  .upload-day-proof,
  .upload-day-actions,
  .thumbnail-proof-grid,
  .thumbnail-proof-actions,
  .reaction-image-proof,
  .reaction-image-actions,
  .rescue-map,
  .rescue-actions,
  .ai-run-readiness-grid,
  .pipeline-cleanup-counts,
  .pipeline-cleanup-actions {
    grid-template-columns: 1fr;
  }

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

  .overlay-pill-row button,
  .idea-brief-actions button,
  .text-assistant-actions button,
  .image-assistant-actions button,
  .no-upload-actions button,
  .face-bank-item button {
    min-height: 36px;
    padding-inline: 10px;
    font-size: 0.72rem;
  }

  .text-option-card,
  .image-option-card {
    grid-template-columns: 1fr;
  }

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

  .flow-steps {
    grid-template-columns: 1fr;
  }

  .top-actions,
  .live-feed-actions,
  .one-thumbnail-now-actions,
  .guided-path-actions,
  .ready-export-actions,
  .creator-path-actions,
  .maker-status-actions,
  .reaction-kit-actions,
  .maker-fast-actions,
  .post-upload-actions,
  .final-handoff-actions,
  .source-gate-actions,
  .preflight-decision-actions,
  .upload-coach-actions,
  .board-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .one-thumbnail-now-proof {
    grid-template-columns: 1fr;
  }

  .thumbnail-recipe-steps,
  .draft-decision-lane,
  .reaction-kit-status {
    grid-template-columns: 1fr;
  }

  .one-thumbnail-now-copy strong {
    font-size: 1.45rem;
  }

  .top-actions button,
  .one-thumbnail-now-actions button,
  .start-choice-grid button,
  .guided-path-actions button,
  .ready-export-actions button,
  .creator-path-actions button,
  .maker-status-actions button,
  .maker-fast-actions button,
  .post-upload-actions button,
  .final-handoff-actions button,
  .source-gate-actions button,
  .preflight-decision-actions button,
  .upload-coach-actions button,
  .board-actions button {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding-inline: 8px;
    white-space: normal;
  }

  .focus-mode-note span {
    text-align: left;
  }

  .make-now-strip {
    align-items: stretch;
  }

  .make-now-strip-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .make-now-strip-steps b {
    min-width: 0;
    padding-inline: 6px;
    white-space: normal;
  }

  .make-now-strip-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-width: 0;
  }

  .thumbnail-now-meter-stats,
  .thumbnail-now-meter-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .thumbnail-now-meter-actions button {
    min-width: 0;
    white-space: normal;
  }

  .generated-library {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 520px) {
  .next-action-dock {
    right: 8px;
    bottom: 8px;
    left: 8px;
    grid-template-columns: 1fr;
  }

  main {
    padding-bottom: calc(42px + 168px);
  }

  .face-bank-list {
    grid-template-columns: 1fr;
  }

  .maker-status-grid,
  .maker-status-actions {
    grid-template-columns: 1fr;
  }

  .side-rail {
    grid-template-columns: 1fr;
  }

  .guided-path-actions,
  .ready-export-actions,
  .creator-path-actions,
  .maker-fast-actions,
  .thumbnail-now-meter-stats,
  .thumbnail-now-meter-actions,
  .post-upload-actions,
  .final-handoff-actions,
  .source-gate-actions,
  .preflight-decision-actions,
  .upload-coach-actions,
  .board-actions {
    grid-template-columns: 1fr;
  }

  .layout-board {
    grid-template-columns: 1fr;
  }

  .thumbnail-canvas > strong {
    width: 70%;
    font-size: clamp(1.6rem, 12vw, 3.3rem);
  }
}

/* Chrome Voltage refresh: lighter on gold, stronger AI-product contrast. */
:root {
  --ink: #f7fbff;
  --paper: #020408;
  --surface: #070b12;
  --surface-strong: #101820;
  --muted: #b6c2d2;
  --line: rgba(35, 232, 255, 0.3);
  --gold: #f0c86a;
  --gold-2: #8f6b22;
  --electric: #23e8ff;
  --electric-2: #0a8dff;
  --silver: #f4f7fb;
  --steel: #8796a8;
  --red: #ff2448;
  --red-2: #aa0019;
  --blue: #23e8ff;
  --green: #34f5aa;
  --amber: #ff8b3d;
  --rose: #ff2448;
  --violet: #7c5cff;
  --panel-glow: rgba(35, 232, 255, 0.18);
  --danger-glow: rgba(255, 36, 72, 0.2);
  --chrome-edge: rgba(244, 247, 251, 0.14);
  --speed-line: linear-gradient(90deg, transparent, rgba(255, 36, 72, 0.98), rgba(35, 232, 255, 0.92), transparent);
}

body {
  background:
    radial-gradient(circle at 18% -8%, rgba(35, 232, 255, 0.22), transparent 30%),
    radial-gradient(circle at 94% 0%, rgba(255, 36, 72, 0.18), transparent 28%),
    linear-gradient(135deg, #020408 0%, #07111b 48%, #020408 100%);
}

.side-rail,
main,
.command-panel,
.board-section,
.editor-canvas-panel,
.editor-controls-panel,
.mobile-preview-panel,
.growth-score-panel,
.library-panel,
.api-panel {
  background:
    linear-gradient(145deg, rgba(12, 19, 29, 0.98), rgba(2, 4, 8, 0.99)),
    var(--surface);
  box-shadow: inset 0 1px 0 var(--chrome-edge), 0 20px 54px rgba(0, 0, 0, 0.28);
}

.brand {
  border-color: rgba(35, 232, 255, 0.32);
  background:
    radial-gradient(circle at 18% 36%, rgba(255, 36, 72, 0.22), transparent 36%),
    linear-gradient(135deg, rgba(244, 247, 251, 0.08), rgba(35, 232, 255, 0.1)),
    rgba(3, 6, 11, 0.9);
}

.brand strong {
  color: var(--silver);
}

.credit-card {
  border-color: rgba(35, 232, 255, 0.36);
  background:
    linear-gradient(135deg, rgba(35, 232, 255, 0.16), rgba(255, 36, 72, 0.08)),
    rgba(3, 7, 12, 0.92);
}

.credit-card strong,
.eyebrow,
.section-heading span,
.upload-card span,
.source-gate span,
.run-mode-control span {
  color: var(--electric);
}

.focus-mode-note strong,
.generate-strip span,
.ready-export strong,
.next-action strong,
.launch-packet-card strong,
.readiness-card strong,
.ai-polish-card strong,
.choice-strategy-card strong,
.use-today-card strong,
.post-upload-action-card strong,
.final-handoff-card strong,
.today-runbook strong {
  color: var(--white);
}

.top-actions button,
.board-actions button,
.editor-buttons button,
.library-actions button,
.guided-path-actions button,
.source-gate-actions button,
.one-day-check button,
.api-panel .button-link,
#download-manifest,
#run-diagnostics {
  color: var(--white);
  border-color: rgba(151, 168, 189, 0.24);
  background:
    linear-gradient(180deg, rgba(244, 247, 251, 0.08), rgba(35, 232, 255, 0.05)),
    rgba(9, 15, 23, 0.96);
}

#generate-layouts,
#export-png,
#save-winner,
.creator-path-actions button,
.ready-export-actions button.is-primary-action,
.ready-export-actions button.is-guided-target,
.editor-buttons button:nth-child(2) {
  color: #02070d;
  border-color: rgba(35, 232, 255, 0.8);
  background: linear-gradient(180deg, #f6fdff 0%, var(--electric) 52%, var(--electric-2) 100%);
  box-shadow: 0 14px 34px rgba(35, 232, 255, 0.26), 0 0 18px rgba(255, 36, 72, 0.12);
}

#generate-layouts.is-final-slot-armed,
.generate-strip.is-last-slot-armed #generate-layouts {
  color: var(--white);
  border-color: rgba(255, 36, 72, 0.82);
  background: linear-gradient(135deg, var(--red), #850014);
  box-shadow: 0 14px 34px rgba(255, 36, 72, 0.28);
}

.flow-step,
.creator-path-steps b,
.creator-now-card,
.first-run-list li,
.ready-export,
.next-action,
.launch-packet-card,
.readiness-card,
.preflight-decision-card,
.ai-polish-card,
.choice-strategy-card,
.use-today-card,
.upload-coach,
.post-upload-action-card,
.final-handoff-card,
.today-runbook,
.creator-ready-result,
.source-gate,
.ai-input-readiness,
.one-day-check,
.generate-strip {
  border-color: rgba(35, 232, 255, 0.26);
  background:
    linear-gradient(135deg, rgba(35, 232, 255, 0.09), rgba(255, 36, 72, 0.045)),
    rgba(7, 12, 19, 0.94);
}

.flow-step:hover,
.flow-step:focus-visible,
.source-gate.is-ready,
.ai-input-readiness.is-ready,
.one-day-check.is-ready,
.creator-ready-result.is-ready,
.post-upload-action-card.is-ready,
.final-handoff-card.is-ready {
  border-color: rgba(35, 232, 255, 0.58);
  background:
    linear-gradient(135deg, rgba(35, 232, 255, 0.14), rgba(255, 36, 72, 0.05)),
    rgba(7, 12, 19, 0.96);
}

.source-gate.is-attention,
.source-gate.is-blocked,
.ai-input-readiness.is-attention,
.ai-input-readiness.is-blocked,
.one-day-check.is-attention,
.creator-ready-result.is-attention,
.preflight-decision-card.is-blocked,
.post-upload-action-card.is-blocked,
.final-handoff-card.is-blocked,
.generate-strip.is-last-slot,
.generate-strip.is-last-slot-armed,
.generate-strip.is-prompt-only,
.generate-strip.is-prompt-only-armed {
  border-color: rgba(255, 36, 72, 0.52);
  background:
    linear-gradient(135deg, rgba(255, 36, 72, 0.13), rgba(35, 232, 255, 0.06)),
    rgba(7, 12, 19, 0.94);
}

/* Mobile Focus Mode keeps the first useful action in the first viewport. */
@media (max-width: 760px) {
  .thumbflo-shell.is-focus-mode .side-rail {
    grid-template-columns: minmax(0, 1fr) minmax(112px, 0.42fr);
    align-items: center;
    gap: 8px;
    padding: 8px;
  }

  .thumbflo-shell.is-focus-mode .brand {
    grid-template-columns: minmax(0, 1fr);
    gap: 3px;
    max-width: none;
    padding: 6px;
  }

  .thumbflo-shell.is-focus-mode .brand img {
    width: 100%;
    max-height: 42px;
  }

  .thumbflo-shell.is-focus-mode .brand strong {
    font-size: 0.52rem;
    letter-spacing: 0.08em;
  }

  .thumbflo-shell.is-focus-mode .credit-card {
    gap: 2px;
    max-width: none;
    min-height: 68px;
    margin: 0;
    padding: 8px;
  }

  .thumbflo-shell.is-focus-mode .credit-card span {
    font-size: 0.58rem;
  }

  .thumbflo-shell.is-focus-mode .credit-card strong {
    font-size: 1.55rem;
  }

  .thumbflo-shell.is-focus-mode .credit-card em {
    display: none;
  }

  .thumbflo-shell.is-focus-mode main {
    padding-bottom: calc(36px + var(--next-action-dock-space));
  }

  .thumbflo-shell.is-focus-mode .pilot-progress {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
  }

  .thumbflo-shell.is-focus-mode .pilot-progress b {
    min-height: 68px;
    grid-template-columns: 1fr;
    justify-items: center;
    align-content: center;
    gap: 4px;
    padding: 6px 3px;
    text-align: center;
    font-size: 0.68rem;
    line-height: 1.08;
  }

  .thumbflo-shell.is-focus-mode .pilot-progress b span {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 760px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .thumbflo-shell,
  .side-rail,
  main,
  .command-panel,
  .board-section,
  .editor-canvas-panel,
  .editor-controls-panel,
  .mobile-preview-panel,
  .growth-score-panel,
  .library-panel,
  .api-panel {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

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

  .side-rail {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
  }

  .side-rail nav {
    display: none;
  }

  .brand {
    max-width: 280px;
  }

  .credit-card {
    max-width: 220px;
  }

  main {
    padding: 16px 12px 36px;
  }

  .topbar h1 {
    max-width: 100%;
    overflow-wrap: anywhere;
    font-size: clamp(1.75rem, 8vw, 2.65rem);
    line-height: 1.04;
  }

  .top-actions,
  .board-actions,
  .creator-path-actions,
  .guided-path-actions,
  .ready-export-actions,
  .post-upload-actions,
  .final-handoff-actions,
  .source-gate-actions,
  .preflight-decision-actions,
  .upload-coach-actions {
    grid-template-columns: 1fr;
  }

  .focus-mode-note,
  .creator-path-card,
  .guided-path-card,
  .use-today-card,
  .today-runbook,
.choice-strategy-card {
  overflow-wrap: anywhere;
}

  .focus-mode-note {
    align-items: flex-start;
    flex-direction: column;
  }

  .focus-mode-note span,
  .creator-path-card *,
  .creator-now-card *,
  .guided-path-card *,
  .use-today-card *,
  .today-runbook *,
  .choice-strategy-card * {
    max-width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
    white-space: normal;
  }

  .creator-path-steps {
    grid-template-columns: 1fr;
  }

  .layout-board {
    grid-template-columns: 1fr;
  }
}

/* Velocity Prism v15: cleaner creator-tech palette with gold kept as a brand accent only. */
:root {
  --ink: #f8fbff;
  --paper: #020305;
  --surface: #070a10;
  --surface-strong: #0f151e;
  --muted: #aeb8c7;
  --line: rgba(0, 216, 255, 0.34);
  --gold: #f3c45b;
  --gold-2: #9e7626;
  --electric: #00d8ff;
  --electric-2: #147dff;
  --silver: #f4f7fb;
  --steel: #8a96a8;
  --red: #ff233f;
  --red-2: #b40016;
  --blue: #00d8ff;
  --green: #2df7a8;
  --amber: #ff5b2e;
  --rose: #ff233f;
  --violet: #7357ff;
  --panel-glow: rgba(0, 216, 255, 0.18);
  --danger-glow: rgba(255, 35, 63, 0.22);
  --chrome-edge: rgba(244, 247, 251, 0.16);
  --metal-text: linear-gradient(180deg, #ffffff 0%, #d9dde2 43%, #7f8791 54%, #ffffff 100%);
  --accent-text: linear-gradient(180deg, #ffffff 0%, #d8fbff 40%, var(--electric) 58%, #ffffff 100%);
  --speed-line: linear-gradient(90deg, transparent, rgba(255, 35, 63, 1), rgba(0, 216, 255, 0.94), transparent);
}

body {
  background:
    radial-gradient(circle at 14% -8%, rgba(0, 216, 255, 0.2), transparent 28%),
    radial-gradient(circle at 92% 0%, rgba(255, 35, 63, 0.18), transparent 26%),
    linear-gradient(135deg, #020305 0%, #07101a 45%, #020305 100%);
}

.side-rail,
main,
.command-panel,
.board-section,
.editor-canvas-panel,
.editor-controls-panel,
.mobile-preview-panel,
.growth-score-panel,
.library-panel,
.api-panel {
  border-color: rgba(0, 216, 255, 0.28);
  background:
    linear-gradient(145deg, rgba(9, 14, 22, 0.98), rgba(2, 3, 5, 0.99)),
    var(--surface);
  box-shadow: inset 0 1px 0 var(--chrome-edge), 0 22px 58px rgba(0, 0, 0, 0.34);
}

.brand {
  border-color: rgba(244, 247, 251, 0.2);
  background:
    linear-gradient(135deg, rgba(255, 35, 63, 0.18), rgba(0, 216, 255, 0.1)),
    rgba(2, 3, 5, 0.94);
}

.brand strong {
  color: var(--silver);
  text-shadow: 0 0 18px rgba(255, 35, 63, 0.22);
}

.credit-card {
  border-color: rgba(0, 216, 255, 0.5);
  background:
    linear-gradient(135deg, rgba(0, 216, 255, 0.18), rgba(255, 35, 63, 0.12)),
    rgba(2, 5, 9, 0.94);
  box-shadow: inset 0 1px 0 rgba(244, 247, 251, 0.12), 0 16px 38px rgba(0, 216, 255, 0.12);
}

.credit-card strong {
  color: var(--electric);
  text-shadow: 0 0 24px rgba(0, 216, 255, 0.5);
}

.flow-steps div strong,
.layout-score,
.score-value {
  background: linear-gradient(180deg, #f6fdff 0%, var(--electric) 100%);
  color: #02070d;
}

.creator-path-actions button,
.ready-export-actions button.is-primary-action,
.ready-export-actions button.is-guided-target,
#generate-layouts,
#export-png,
#save-winner {
  color: #02070d;
  border-color: rgba(0, 216, 255, 0.82);
  background: linear-gradient(180deg, #f8feff 0%, var(--electric) 50%, var(--electric-2) 100%);
  box-shadow: 0 16px 36px rgba(0, 216, 255, 0.28), 0 0 20px rgba(255, 35, 63, 0.12);
}

.creator-path-actions button:hover,
.ready-export-actions button.is-primary-action:hover,
.ready-export-actions button.is-guided-target:hover,
#generate-layouts:hover,
#export-png:hover,
#save-winner:hover {
  filter: saturate(1.1) brightness(1.06);
}

.top-actions button,
.board-actions button,
.guided-path-actions button,
.source-gate-actions button,
.one-day-check button,
.api-panel .button-link,
#download-manifest,
#run-diagnostics {
  color: var(--silver);
  border-color: rgba(244, 247, 251, 0.18);
  background:
    linear-gradient(180deg, rgba(244, 247, 251, 0.08), rgba(0, 216, 255, 0.045)),
    rgba(8, 12, 18, 0.96);
}

.flow-step,
.creator-path-steps b,
.first-run-list li,
.ready-export,
.next-action,
.launch-packet-card,
.readiness-card,
.preflight-decision-card,
.ai-polish-card,
.choice-strategy-card,
.use-today-card,
.upload-coach,
.post-upload-action-card,
.final-handoff-card,
.today-runbook,
.creator-ready-result,
.source-gate,
.ai-input-readiness,
.one-day-check,
.generate-strip {
  border-color: rgba(0, 216, 255, 0.22);
  background:
    linear-gradient(135deg, rgba(0, 216, 255, 0.08), rgba(255, 35, 63, 0.04)),
    rgba(7, 11, 17, 0.95);
}

.layout-card.is-active,
.layout-card.is-winner,
.layout-card.is-recommended {
  border-color: rgba(0, 216, 255, 0.8);
  box-shadow: 0 0 0 1px rgba(0, 216, 255, 0.34), 0 18px 42px rgba(0, 216, 255, 0.16);
}

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

.layout-meta .strategy-label,
.layout-meta .direction-label,
.eyebrow,
.section-heading span,
.upload-card span,
.source-gate span,
.run-mode-control span {
  color: var(--electric);
}

.choice-strategy-card button,
.run-mode-proof-card.is-active {
  border-color: rgba(255, 35, 63, 0.56);
  background:
    linear-gradient(135deg, rgba(255, 35, 63, 0.16), rgba(0, 216, 255, 0.07)),
    rgba(7, 11, 17, 0.96);
}

.creator-now-card {
  display: grid;
  gap: 8px;
  min-height: 126px;
  padding: 18px;
}

.creator-now-card span {
  color: var(--electric);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.creator-now-card strong {
  color: var(--white);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.05;
}

.creator-now-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 6px;
}

.creator-now-actions button {
  min-height: 40px;
  padding: 0 12px;
  color: var(--silver);
  border: 1px solid rgba(244, 247, 251, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(244, 247, 251, 0.08), rgba(0, 216, 255, 0.045)),
    rgba(8, 12, 18, 0.96);
  font-weight: 950;
}

.creator-now-actions button.is-primary-action {
  color: #02070d;
  border-color: rgba(0, 216, 255, 0.82);
  background: linear-gradient(180deg, #f8feff 0%, var(--electric) 50%, var(--electric-2) 100%);
}

/* Default creator path: keep existing controls, but separate source frames
   from the three finished choices. Advanced proof stays behind Show Advanced. */
.thumbflo-shell.is-focus-mode main > section:not(#one-click-pilot):not(#next-action-dock):not(#command):not(#board):not(#editor) {
  display: none;
}

.thumbflo-shell.is-focus-mode .source-cleanup-dock,
.thumbflo-shell.is-focus-mode .board-cleanup-note,
.thumbflo-shell.is-focus-mode .generation-source-audit,
.thumbflo-shell.is-focus-mode .top-three-compare,
.thumbflo-shell.is-focus-mode .board-actions button:not(#pick-best):not(#export-best),
.thumbflo-shell.is-focus-mode .candidate-remove-button,
.thumbflo-shell.is-focus-mode .moment-actions,
.thumbflo-shell.is-focus-mode .frame-workflow-legend,
.thumbflo-shell.is-focus-mode .video-frame-picker-note em {
  display: none;
}

.thumbflo-shell.is-focus-mode .command-grid {
  display: block;
}

.thumbflo-shell.is-focus-mode .primary-command > :not(.section-heading):not(.input-stack):not(.upload-grid):not(.creator-face-bank):not(.image-assistant-card):not(.generate-strip) {
  display: none;
}

.thumbflo-shell.is-focus-mode .primary-command .generate-strip > :not(#ai-spend-gate) {
  display: none;
}

.thumbflo-shell.is-focus-mode .primary-command .input-stack {
  max-width: 760px;
}

/* The default creator view is the promised four-click path. The source
   controls remain here; frame selection, face libraries, diagnostics, and
   editing tools live behind the existing Show Advanced control. */
.thumbflo-shell.is-focus-mode .primary-command .input-stack .control-row,
.thumbflo-shell.is-focus-mode .primary-command .input-stack .input-help,
.thumbflo-shell.is-focus-mode .primary-command .creator-face-bank,
.thumbflo-shell.is-focus-mode .primary-command .image-assistant-card,
.thumbflo-shell.is-focus-mode .primary-command .text-assistant-card,
.thumbflo-shell.is-focus-mode .primary-command .idea-brief-card,
.thumbflo-shell.is-focus-mode .primary-command .no-upload-maker-lane,
.thumbflo-shell.is-focus-mode .primary-command .upload-grid,
.thumbflo-shell.is-focus-mode .primary-command .reaction-overlay-kit,
.thumbflo-shell.is-focus-mode .primary-command .source-gate,
.thumbflo-shell.is-focus-mode .primary-command .ai-input-readiness,
.thumbflo-shell.is-focus-mode .primary-command .one-day-check,
.thumbflo-shell.is-focus-mode .primary-command .generate-strip,
.thumbflo-shell.is-focus-mode .source-panel,
.thumbflo-shell.is-focus-mode .thumbnail-path-proof,
.thumbflo-shell.is-focus-mode .finish-lane-receipt,
.thumbflo-shell.is-focus-mode .pilot-source-map {
  display: none;
}

.thumbflo-shell.is-focus-mode .primary-command {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
}

.thumbflo-shell.is-focus-mode .primary-command .section-heading {
  margin-bottom: 12px;
}

.thumbflo-shell.is-focus-mode .primary-command .input-stack {
  gap: 12px;
}

.thumbflo-shell.is-focus-mode .primary-command .youtube-link-action small {
  display: none;
}

.thumbflo-shell.is-focus-mode[data-pilot-step="source"] #command,
.thumbflo-shell.is-focus-mode[data-pilot-step="generate"] #command,
.thumbflo-shell.is-focus-mode[data-pilot-step="pick"] #command,
.thumbflo-shell.is-focus-mode[data-pilot-step="export"] #command,
.thumbflo-shell.is-focus-mode[data-pilot-step="source"] #board,
.thumbflo-shell.is-focus-mode[data-pilot-step="generate"] #board,
.thumbflo-shell.is-focus-mode #editor {
  display: none;
}

.thumbflo-shell.is-focus-mode[data-pilot-step="pick"] #board {
  display: block;
}

.thumbflo-shell.is-focus-mode .primary-command .upload-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.thumbflo-shell.is-focus-mode .primary-command .creator-face-bank {
  margin-top: 14px;
}

.thumbflo-shell.is-focus-mode .source-panel,
.thumbflo-shell.is-focus-mode .board-section {
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
}

.thumbflo-shell.is-focus-mode .source-preview {
  min-height: 310px;
  border: 2px solid rgba(0, 216, 255, 0.52);
}

.thumbflo-shell.is-focus-mode .video-frame-picker-note {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 8px 12px;
  margin-top: 16px;
  padding: 14px;
}

.thumbflo-shell.is-focus-mode .video-frame-picker-note span {
  grid-row: 1 / span 2;
}

.thumbflo-shell.is-focus-mode .video-frame-picker-note strong {
  font-size: 1rem;
}

.thumbflo-shell.is-focus-mode .frame-picker-summary {
  border-color: rgba(0, 216, 255, 0.72);
}

.thumbflo-shell.is-focus-mode .frame-picker-summary strong {
  font-size: 1.08rem;
}

.thumbflo-shell.is-focus-mode .frame-picker-summary em,
.thumbflo-shell.is-focus-mode .board-note {
  color: #d7e5f3;
  font-size: 0.86rem;
}

.thumbflo-shell.is-focus-mode .moment-list .moment-frame-card {
  grid-template-columns: 108px minmax(0, 1fr) auto;
  min-height: 92px;
}

.thumbflo-shell.is-focus-mode .moment-list .moment-frame-card > button,
.thumbflo-shell.is-focus-mode .frame-picker-summary-actions button:first-of-type {
  color: #031014;
  border-color: rgba(0, 216, 255, 0.88);
  background: linear-gradient(180deg, #e8fcff, var(--electric));
}

.thumbflo-shell.is-focus-mode .board-section {
  margin-top: 18px;
}

.thumbflo-shell.is-focus-mode .board-heading {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
}

.thumbflo-shell.is-focus-mode .choice-finish-receipt {
  margin-top: 14px;
  border-color: rgba(45, 247, 168, 0.58);
  background: linear-gradient(135deg, rgba(45, 247, 168, 0.16), rgba(0, 216, 255, 0.08)), rgba(7, 11, 17, 0.95);
}

.thumbflo-shell.is-focus-mode .layout-board {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.thumbflo-shell.is-focus-mode .layout-card {
  min-height: 100%;
}

.thumbflo-shell.is-focus-mode .layout-thumb {
  min-height: 220px;
}

.thumbflo-shell.is-focus-mode .layout-generated-image {
  object-position: center;
}

.thumbflo-shell.is-focus-mode .layout-meta {
  padding: 14px;
}

.thumbflo-shell.is-focus-mode .layout-meta strong {
  font-size: 1.12rem;
}

.thumbflo-shell.is-focus-mode .layout-meta span,
.thumbflo-shell.is-focus-mode .layout-meta em {
  font-size: 0.82rem;
}

@media (max-width: 760px) {
  .thumbflo-shell.is-focus-mode .source-preview {
    min-height: 220px;
  }

  .thumbflo-shell.is-focus-mode .video-frame-picker-note {
    grid-template-columns: 1fr;
  }

  .thumbflo-shell.is-focus-mode .video-frame-picker-note span {
    grid-row: auto;
  }

  .thumbflo-shell.is-focus-mode .moment-list .moment-frame-card {
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 10px;
    min-height: 82px;
  }

  .thumbflo-shell.is-focus-mode .moment-list .moment-frame-card > button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .thumbflo-shell.is-focus-mode .board-heading,
  .thumbflo-shell.is-focus-mode .layout-board {
    grid-template-columns: 1fr;
  }

  .thumbflo-shell.is-focus-mode .board-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .thumbflo-shell.is-focus-mode .layout-thumb {
    min-height: 190px;
  }
}
.youtube-link-action {
  display: grid;
  grid-template-columns: repeat(2, minmax(170px, 1fr));
  gap: 10px;
  align-items: center;
}

.youtube-link-action small {
  grid-column: 1 / -1;
  color: #b8c9d4;
  font-size: 0.78rem;
  line-height: 1.35;
}

@media (max-width: 700px) {
  .unified-source-studio {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .unified-source-heading,
  .unified-source-truth,
  .unified-source-picker {
    grid-column: 1;
  }

  .youtube-context-button,
  .uploaded-video-scan-button,
  .unified-source-picker {
    min-height: 54px;
  }

  .youtube-link-action {
    grid-template-columns: 1fr;
  }

  .youtube-link-action button {
    min-height: 46px;
    font-size: 0.95rem;
  }

  .unified-source-quick-actions,
  .thumbflo-shell.is-focus-mode:not([data-pilot-step="source"]) .unified-source-quick-actions {
    grid-column: 1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .main-face-bank {
    grid-template-columns: 1fr;
  }

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

  .top-actions button {
    min-height: 44px;
    padding-inline: 7px;
    font-size: 0.74rem;
  }

  .thumbflo-shell.is-focus-mode:not([data-pilot-step="source"]) .unified-source-studio {
    grid-template-columns: 1fr;
  }
}

/* Final focus-mode guard: the screen guides the next click instead of
   repeating workflow explanations. Advanced continues to expose these tools. */
.thumbflo-shell.is-focus-mode #focus-mode-note {
  display: none;
}

/* Single-next-action workflow: Focus Mode shows one recommendation and only
   exposes the stage the creator can act on now. */
.thumbflo-shell.is-focus-mode .pilot-action-row,
.thumbflo-shell.is-focus-mode .credit-card,
.thumbflo-shell.is-focus-mode .board-actions {
  display: none;
}

.thumbflo-shell.is-focus-mode .pilot-action-row {
  display: grid;
}

.quick-look-picker {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(33, 230, 255, 0.32);
  border-radius: 8px;
  background: rgba(4, 10, 18, 0.9);
}

.quick-look-heading {
  grid-column: 1 / -1;
  display: grid;
  gap: 2px;
}

.quick-look-heading span {
  color: #22dff8;
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.quick-look-heading strong { color: #ffffff; }
.quick-look-heading em { color: #b9c6d2; font-size: 0.78rem; font-style: normal; }

.quick-look-picker button {
  display: grid;
  gap: 3px;
  min-height: 58px;
  align-content: center;
  padding: 8px;
  border: 1px solid rgba(176, 194, 211, 0.24);
  color: #f5f7fb;
  background: #101721;
}

.quick-look-picker button b { font-size: 0.82rem; }
.quick-look-picker button span { color: #abb7c4; font-size: 0.66rem; }

.quick-look-picker button.is-selected {
  color: #061018;
  border-color: #ffe29a;
  background: linear-gradient(180deg, #fff2b2, #21e6ff);
  box-shadow: 0 0 0 2px rgba(255, 194, 51, 0.2), 0 0 22px rgba(33, 230, 255, 0.35);
}

.quick-look-picker button.is-selected span { color: #10232b; }

.thumbflo-shell.is-focus-mode .quick-look-picker { display: none; }
.thumbflo-shell.is-focus-mode[data-pilot-step="generate"] .quick-look-picker { display: grid; }

.thumbflo-shell.is-focus-mode[data-pilot-step="generate"] .pilot-next-button {
  min-height: 64px;
  border: 2px solid #fff1a8 !important;
  background: linear-gradient(180deg, #fff6bf 0%, #20e7ff 48%, #079ff1 100%) !important;
  box-shadow:
    0 0 0 4px rgba(255, 194, 51, 0.24),
    0 0 36px rgba(33, 230, 255, 0.72),
    0 18px 38px rgba(0, 0, 0, 0.42) !important;
  font-size: clamp(1rem, 3.2vw, 1.25rem);
  animation: thumbflo-next-pulse 1.25s ease-in-out infinite;
}

.thumbflo-shell.is-focus-mode[data-pilot-step="generate"] .pilot-next-button[data-pilot-action="generate"]::after {
  content: attr(data-generate-caption);
  display: block;
  margin-top: 4px;
  font-size: 0.68rem;
  line-height: 1.1;
}

.thumbflo-shell.is-focus-mode .pilot-next-button[data-pilot-action="refresh-ai-availability"] {
  animation: none;
}

@media (max-width: 720px) {
  .quick-look-picker { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick-look-picker button:last-child { grid-column: 1 / -1; }
}

.thumbflo-shell.is-focus-mode .next-action-dock {
  display: none;
}

.thumbflo-shell.is-focus-mode[data-pilot-step="export"] #board {
  display: block;
}

.thumbnail-empty-state {
  grid-column: 1 / -1;
  display: grid;
  gap: 8px;
  min-height: 180px;
  place-content: center;
  padding: 28px;
  border: 1px dashed rgba(0, 216, 255, 0.55);
  border-radius: 8px;
  color: #dcebf5;
  text-align: center;
  background: rgba(6, 11, 18, 0.9);
}

.thumbnail-empty-state strong {
  color: #ffffff;
  font-size: 1.35rem;
}

.thumbflo-shell.is-focus-mode .board-heading {
  display: block;
}

.thumbflo-shell.is-focus-mode .board-heading .eyebrow,
.thumbflo-shell.is-focus-mode .board-heading .board-note,
.thumbflo-shell.is-focus-mode .choice-finish-receipt,
.thumbflo-shell.is-focus-mode .layout-card .score-pill,
.thumbflo-shell.is-focus-mode .layout-card .image-state-pill,
.thumbflo-shell.is-focus-mode .layout-card .source-state-pill,
.thumbflo-shell.is-focus-mode .layout-meta .direction-label,
.thumbflo-shell.is-focus-mode .layout-meta .strategy-label,
.thumbflo-shell.is-focus-mode .layout-meta > span:not(.direction-label):not(.strategy-label):not(.choice-select-label),
.thumbflo-shell.is-focus-mode .layout-meta b,
.thumbflo-shell.is-focus-mode .layout-meta em {
  display: none;
}

.thumbflo-shell.is-focus-mode .board-heading h2 {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.thumbflo-shell.is-focus-mode .layout-meta {
  padding: 10px 12px 12px;
}

.thumbflo-shell.is-focus-mode .layout-meta strong {
  font-size: 1rem;
}

.thumbflo-shell.is-focus-mode[data-pilot-step="export"] .layout-board {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 760px) {
  .thumbflo-shell.is-focus-mode[data-pilot-step="export"] .layout-board {
    grid-template-columns: 1fr;
  }
}
