/* ============================================================
   BoltKit Redesign — canvas-specific overrides
   The base styles come from styles.css. This file adds:
   - Design canvas section headers / cover frame
   - Artboard frame chrome (desktop window, phone shell)
   - A few showcase-only helpers
   ============================================================ */

/* Canvas cover */
.cover {
  background: #1A1813;
  color: #F4F4F0;
  padding: 56px 56px 64px;
  width: 1280px;
  border: 1px solid #3A372F;
  position: relative;
  overflow: hidden;
}
.cover::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(80% 60% at 30% 30%, #000, transparent 90%);
  -webkit-mask-image: radial-gradient(80% 60% at 30% 30%, #000, transparent 90%);
  pointer-events: none;
}
.cover-diag {
  position: absolute; top: 22%; right: -8%;
  width: 520px; height: 110px;
  background: repeating-linear-gradient(135deg, #EFFF00 0 14px, #201E18 14px 28px);
  transform: rotate(-12deg);
  opacity: 0.16;
  pointer-events: none;
}
.cover-broadcast {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 8px 14px;
  background: #26241E; border: 1px solid #333;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; font-weight: 800;
  letter-spacing: 0.18em;
  position: relative; z-index: 2;
}
.cover-broadcast .dot { width: 8px; height: 8px; border-radius: 50%; background: #FF4D5E; box-shadow: 0 0 0 4px rgba(255,77,94,0.2); animation: blink 1.4s infinite; }
.cover-title {
  font-family: 'Anton', Impact, sans-serif;
  font-weight: 400;
  font-size: 152px;
  line-height: 0.84;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  margin: 32px 0 0;
  position: relative; z-index: 2;
}
.cover-title .hl {
  background: #EFFF00; color: #1A1813;
  padding: 0 12px 4px;
  display: inline-block;
  transform: skewX(-4deg);
  margin-left: -4px;
}
.cover-sub {
  margin-top: 28px; max-width: 70ch;
  color: #C8C8C5; font-size: 18px; line-height: 1.55;
  position: relative; z-index: 2;
}
.cover-sub b { color: #F4F4F0; }
.cover-meta {
  margin-top: 36px; position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  max-width: 920px;
}
.cover-meta-tile {
  background: #201E18; border: 1px solid #3A372F;
  padding: 16px 18px;
  position: relative;
}
.cover-meta-tile::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 24px; height: 3px; background: #EFFF00;
}
.cover-meta-l {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase; color: #8A8A8A;
}
.cover-meta-v {
  font-family: 'Anton', Impact, sans-serif;
  font-size: 38px; letter-spacing: 0.04em;
  color: #F4F4F0; margin-top: 6px;
}
.cover-meta-v .y { color: #EFFF00; }

/* Section header card — drops between artboard rows to label them */
.section-card {
  background: #1A1813;
  border: 1px solid #3A372F;
  padding: 28px 32px;
  width: 1180px;
  position: relative;
  overflow: hidden;
}
.section-card .ix {
  position: absolute; top: 22px; right: 28px;
  font-family: 'Anton', Impact, sans-serif;
  font-size: 86px; line-height: 1;
  color: #EFFF00;
  letter-spacing: -0.01em;
  opacity: 0.95;
}
.section-card .ey {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.22em;
  color: #EFFF00; font-weight: 800;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 10px;
}
.section-card .ey::before { content: ""; width: 22px; height: 2px; background: #EFFF00; }
.section-card .t {
  font-family: 'Anton', Impact, sans-serif;
  font-weight: 400;
  font-size: 64px; line-height: 0.9;
  letter-spacing: 0.005em;
  margin: 14px 0 10px;
  text-transform: uppercase;
  color: #FFF;
  max-width: 22ch;
}
.section-card .s { color: #8A8A8A; max-width: 70ch; font-size: 14px; }
.section-card .strip {
  margin-top: 18px; display: flex; gap: 8px; flex-wrap: wrap;
}
.section-card .strip .tag {
  background: #26241E; border: 1px solid #3A372F;
  color: #C8C8C5; padding: 5px 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; letter-spacing: 0.12em;
  text-transform: uppercase; font-weight: 800;
}

/* Artboard frames */
.frame-desktop {
  background: #1A1813;
  border: 1px solid #3A372F;
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  overflow: hidden;
  position: relative;
}
.frame-desktop .chrome {
  height: 32px; background: #201E18;
  border-bottom: 1px solid #3A372F;
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; padding: 0 12px;
  gap: 12px;
}
.frame-desktop .dots { display: flex; gap: 6px; }
.frame-desktop .dot { width: 9px; height: 9px; border-radius: 50%; background: #403D34; }
.frame-desktop .dot.r { background: #FF4D5E; }
.frame-desktop .dot.a { background: #FFB23F; }
.frame-desktop .dot.g { background: #EFFF00; }
.frame-desktop .url {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: #8A8A8A;
  background: #1A1813; border: 1px solid #3A372F;
  padding: 4px 12px; border-radius: 4px;
  justify-self: center; min-width: 280px; text-align: center;
}
.frame-desktop .body { flex: 1; overflow: hidden; position: relative; }

/* Phone frame */
.frame-phone {
  background: #1A1813;
  border-radius: 38px;
  border: 1px solid #403D34;
  box-shadow:
    0 0 0 8px #201E18,
    0 0 0 9px #403D34,
    0 30px 60px rgba(0,0,0,0.6);
  width: 100%; height: 100%;
  position: relative;
  overflow: hidden;
}
.frame-phone .notch {
  position: absolute; top: 12px; left: 50%;
  transform: translateX(-50%);
  width: 100px; height: 28px;
  background: #1A1813; border-radius: 14px;
  z-index: 5;
}
.frame-phone .status {
  position: absolute; top: 0; left: 0; right: 0;
  height: 48px;
  display: flex; justify-content: space-between;
  align-items: center; padding: 18px 28px 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px; font-weight: 700;
  color: #FFF; z-index: 4;
}
.frame-phone .status .icos { display: flex; gap: 6px; align-items: center; }
.frame-phone .status .ico-cell { width: 14px; height: 9px; background: #FFF; border-radius: 1px; }
.frame-phone .status .ico-bat { width: 22px; height: 11px; border: 1.5px solid #FFF; border-radius: 3px; position: relative; padding: 1px; }
.frame-phone .status .ico-bat::after { content: ""; position: absolute; right: -3px; top: 3px; width: 2px; height: 5px; background: #FFF; border-radius: 1px; }
.frame-phone .status .ico-bat .lvl { display: block; height: 100%; width: 78%; background: #EFFF00; border-radius: 1px; }
.frame-phone .body {
  position: absolute; inset: 48px 0 0 0;
  overflow: hidden;
  background: #1A1813;
}

/* Per-artboard label / annotation strips */
.note {
  background: #FEF4A8;
  color: #5A4A2A;
  padding: 12px 14px;
  border-radius: 2px;
  font-size: 13px; line-height: 1.45;
  box-shadow: 0 3px 8px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.04);
  position: relative;
  font-family: 'Inter', sans-serif;
  max-width: 280px;
}
.note::before {
  content: "NOTE"; position: absolute; top: -7px; left: 12px;
  background: #FEF4A8; padding: 0 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px; font-weight: 800;
  letter-spacing: 0.18em; color: #8C7A40;
}

.frame-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: 0.18em;
  color: #5A4A2A; font-weight: 800;
  text-transform: uppercase;
}

/* Component lab — section to display token + component swatches */
.lab {
  background: #1A1813;
  color: #F4F4F0;
  padding: 36px;
  border: 1px solid #3A372F;
  width: 100%; height: 100%;
  display: flex; flex-direction: column; gap: 20px;
  overflow: auto;
}
.lab h3 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.22em;
  color: #EFFF00; font-weight: 800;
  text-transform: uppercase;
  margin: 0; display: flex; align-items: center; gap: 10px;
}
.lab h3::before { content: ""; width: 22px; height: 2px; background: #EFFF00; }
.lab .row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

.swatch-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.swatch-row .s {
  aspect-ratio: 4/3;
  border-radius: 4px;
  border: 1px solid #3A372F;
  position: relative;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 10px;
}
.swatch-row .s .n {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px; letter-spacing: 0.12em;
  font-weight: 800; opacity: 0.85;
}
.swatch-row .s .h {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; opacity: 0.7; margin-top: 2px;
}

.type-row { display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: baseline; padding: 14px 0; border-bottom: 1px dashed #3A372F; }
.type-row:last-child { border-bottom: 0; }
.type-row .lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; letter-spacing: 0.18em;
  color: #8A8A8A; font-weight: 800;
  text-transform: uppercase;
}
.type-row .lbl small { color: #5C5C5C; display: block; margin-top: 4px; }

/* Mini stat tiles */
.mini-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.mini-tile {
  background: #26241E; border: 1px solid #3A372F;
  padding: 16px;
  position: relative; overflow: hidden;
}
.mini-tile::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 24px; height: 3px; background: #EFFF00;
}
.mini-tile .l {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: 0.18em;
  color: #8A8A8A; font-weight: 800;
  text-transform: uppercase;
}
.mini-tile .v {
  font-family: 'Anton', Impact, sans-serif;
  font-size: 38px; line-height: 1; margin-top: 6px;
}
.mini-tile .v .u { font-size: 18px; color: #8A8A8A; margin-left: 4px; }
.mini-tile .t {
  font-size: 11.5px; color: #C8C8C5; margin-top: 6px;
  display: flex; align-items: center; gap: 6px;
}
.mini-tile .t .up { color: #EFFF00; font-weight: 800; }

/* Component cards container */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }

/* Calendar mini */
.cal-grid {
  display: grid; grid-template-columns: repeat(7, 1fr);
  gap: 1px; background: #3A372F;
  border: 1px solid #3A372F;
}
.cal-cell {
  background: #1A1813;
  min-height: 84px;
  padding: 8px;
  display: flex; flex-direction: column; gap: 4px;
  position: relative;
}
.cal-cell .d {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: #8A8A8A; font-weight: 700;
}
.cal-cell.today .d { color: #EFFF00; }
.cal-cell.today::before {
  content: ""; position: absolute; top: 6px; right: 6px;
  width: 6px; height: 6px; background: #EFFF00; border-radius: 50%;
}
.cal-cell.dim { background: #201E18; }
.cal-cell.dim .d { color: #5C5C5C; }
.cal-cell .head-row {
  display: grid; grid-template-columns: repeat(7, 1fr);
  gap: 1px;
}
.cal-event {
  font-size: 9.5px; padding: 2px 4px;
  background: #EFFF00; color: #1A1813;
  font-weight: 800; letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 2px;
  font-family: 'JetBrains Mono', monospace;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cal-event.b { background: #4DA8FF; color: #1A1813; }
.cal-event.g { background: #4ADE80; color: #1A1813; }
.cal-event.gh { background: transparent; color: #8A8A8A; border: 1px dashed #333; }

/* IG queue items */
.ig-queue {
  display: flex; flex-direction: column; gap: 6px;
}
.ig-post-row {
  display: grid; grid-template-columns: 18px 56px 1fr auto auto;
  gap: 12px; align-items: center;
  background: #26241E; border: 1px solid #3A372F;
  padding: 8px 12px;
  position: relative;
}
.ig-post-row .grip {
  color: #5C5C5C; font-family: 'JetBrains Mono', monospace;
  font-size: 14px; cursor: grab;
  display: flex; flex-direction: column; gap: 1px;
}
.ig-post-row .grip span { width: 12px; height: 1.5px; background: currentColor; }
.ig-post-row .thumb {
  width: 56px; height: 56px; border-radius: 4px;
  background: repeating-linear-gradient(45deg, #22201A 0 6px, #1A1A1A 6px 12px);
  display: grid; place-items: center;
  color: #5C5C5C;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px; letter-spacing: 0.14em;
  position: relative;
}
.ig-post-row .thumb .ix {
  position: absolute; bottom: 3px; right: 4px;
  font-size: 8.5px; color: #C8C8C5; font-weight: 800;
}
.ig-post-row .cap {
  font-size: 12px; color: #F4F4F0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.ig-post-row .meta {
  margin-top: 4px;
  display: flex; gap: 8px; color: #8A8A8A;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px; letter-spacing: 0.1em;
  text-transform: uppercase;
}
.ig-post-row .when {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: #C8C8C5;
  text-align: right;
  letter-spacing: 0.06em;
}
.ig-post-row .when .d {
  display: block; font-size: 9px; color: #8A8A8A;
  letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 800; margin-bottom: 2px;
}
.ig-post-row .actions { display: flex; gap: 4px; }
.ig-post-row .actions button {
  width: 26px; height: 26px;
  border-radius: 3px;
  background: #1A1813; border: 1px solid #3A372F;
  color: #8A8A8A;
  display: grid; place-items: center;
}
.ig-post-row .actions button:hover { color: #EFFF00; border-color: #EFFF00; }
.ig-post-row.scheduled { border-color: rgba(239,255,0,0.3); }
.ig-post-row.scheduled::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: #EFFF00;
}
.ig-post-row.draft::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: #333;
}
.ig-post-row.ready::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: #4DA8FF;
}
.ig-post-row.posted::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: #4ADE80;
}

/* Sync chip / status */
.sync-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 8px;
  background: #26241E; border: 1px solid #3A372F;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.sync-chip .d { width: 6px; height: 6px; border-radius: 50%; }
.sync-chip.sync { color: #4ADE80; border-color: rgba(74,222,128,0.3); }
.sync-chip.sync .d { background: #4ADE80; box-shadow: 0 0 6px #4ADE80; }
.sync-chip.save { color: #FFB23F; border-color: rgba(255,178,63,0.3); }
.sync-chip.save .d { background: #FFB23F; animation: blink 1s infinite; }
.sync-chip.local { color: #8A8A8A; }
.sync-chip.local .d { background: #8A8A8A; }
.sync-chip.fail { color: #FF4D5E; border-color: rgba(255,77,94,0.3); }
.sync-chip.fail .d { background: #FF4D5E; }

/* Bottom mobile nav */
.mb-tab {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 78px;
  background: rgba(5,5,5,0.92);
  backdrop-filter: blur(12px);
  border-top: 1px solid #3A372F;
  display: grid; grid-template-columns: repeat(5, 1fr);
  z-index: 6;
  padding-bottom: 18px;
}
.mb-tab .it {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 4px; color: #5C5C5C;
}
.mb-tab .it .l {
  font-family: 'JetBrains Mono', monospace;
  font-size: 8.5px; letter-spacing: 0.14em;
  font-weight: 800; text-transform: uppercase;
}
.mb-tab .it.active { color: #EFFF00; }
.mb-tab .it.active .ico { filter: drop-shadow(0 0 8px rgba(239,255,0,0.5)); }
.mb-tab .it.center {
  position: relative;
}
.mb-tab .it.center .fab {
  width: 48px; height: 48px;
  background: #EFFF00;
  display: grid; place-items: center;
  color: #1A1813;
  margin-top: -16px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(239,255,0,0.4);
}

/* Pack card */
.pack-card {
  background: #26241E;
  border: 1px solid #3A372F;
  padding: 18px;
  position: relative;
  overflow: hidden;
}
.pack-card .ico-wrap {
  width: 38px; height: 38px;
  background: rgba(239,255,0,0.08);
  border: 1px solid rgba(239,255,0,0.25);
  display: grid; place-items: center;
  color: #EFFF00;
  border-radius: 4px;
}
.pack-card .nm {
  font-weight: 800; font-size: 13.5px;
  color: #FFF; margin-top: 12px;
  letter-spacing: 0.02em;
}
.pack-card .ds {
  font-size: 11.5px; color: #8A8A8A;
  margin-top: 4px; line-height: 1.45;
}
.pack-card .ft {
  margin-top: 14px;
  display: flex; align-items: center; justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; font-weight: 800;
}
.pack-card .ft .c { color: #EFFF00; }
.pack-card.locked { opacity: 0.55; }
.pack-card.locked::before {
  content: "PRO"; position: absolute; top: 12px; right: 12px;
  background: #1A1813; border: 1px solid #333;
  padding: 2px 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px; letter-spacing: 0.18em;
  color: #8A8A8A;
}

/* Output editor preview */
.out-tab-row {
  display: flex; gap: 0; border-bottom: 1px solid #3A372F;
}
.out-tab-row .t {
  padding: 10px 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; letter-spacing: 0.14em;
  font-weight: 800; text-transform: uppercase;
  color: #8A8A8A;
  border-bottom: 2px solid transparent;
}
.out-tab-row .t.active { color: #1A1813; background: #EFFF00; border-color: #ADC700; }
.out-card {
  background: #26241E; border: 1px solid #3A372F;
  padding: 14px; position: relative;
}
.out-card .h {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: 0.18em;
  color: #EFFF00; font-weight: 800;
  text-transform: uppercase; margin-bottom: 8px;
}
.out-card .body {
  font-size: 13px; line-height: 1.55; color: #F4F4F0;
}
.out-card .body b { color: #FFF; }
.out-card .actions {
  margin-top: 12px;
  display: flex; gap: 6px;
  border-top: 1px dashed #3A372F;
  padding-top: 10px;
}
.out-card .actions button {
  background: #1A1813; border: 1px solid #3A372F;
  color: #C8C8C5; padding: 4px 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px; letter-spacing: 0.14em;
  font-weight: 800; text-transform: uppercase;
}
.out-card .actions button:hover { color: #EFFF00; border-color: #EFFF00; }
.out-card .quality {
  position: absolute; top: 10px; right: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px; color: #4ADE80; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase;
}

/* Wizard steps strip */
.wz-strip {
  display: flex; gap: 0; margin-bottom: 24px;
  background: #201E18; border: 1px solid #3A372F; padding: 4px;
}
.wz-strip .step {
  flex: 1; padding: 10px 12px;
  display: flex; align-items: center; gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; letter-spacing: 0.14em;
  font-weight: 800; text-transform: uppercase;
  color: #5C5C5C; position: relative;
}
.wz-strip .step.done { color: #EFFF00; }
.wz-strip .step.active { background: #EFFF00; color: #1A1813; }
.wz-strip .step .n {
  font-family: 'Anton', Impact, sans-serif;
  font-size: 22px; line-height: 1;
}

/* Reusable: scrollable section */
.scroll-fade-bottom {
  position: relative;
}
.scroll-fade-bottom::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 50px;
  background: linear-gradient(180deg, transparent, #1A1813);
  pointer-events: none;
}

/* Markdown-style pre for dev notes */
.devnote {
  background: #201E18;
  border: 1px solid #3A372F;
  padding: 20px;
  border-radius: 4px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; line-height: 1.7;
  color: #C8C8C5;
}
.devnote h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.18em;
  color: #EFFF00; font-weight: 800;
  text-transform: uppercase;
  margin: 0 0 12px;
}
.devnote ul { margin: 0; padding-left: 18px; }
.devnote li { margin: 4px 0; }
.devnote code {
  background: #1A1813;
  padding: 1px 6px; border: 1px solid #3A372F;
  color: #EFFF00; font-size: 11px;
  border-radius: 2px;
}

/* Live app shell promoted from the redesign package */
.bk-live-root {
  min-height: 100vh;
  height: 100vh;
  background: #1A1813;
  color: #F4F4F0;
  overflow: hidden;
}

.bk-live-root > div:first-child {
  min-height: 100vh;
}

.bk-toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 2000;
  transform: translateX(-50%);
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #EFFF00;
  color: #1A1813;
  border: 1px solid #ADC700;
  box-shadow: 0 16px 42px rgba(0,0,0,0.45), 0 0 20px rgba(239,255,0,0.25);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: bk-toast-in 240ms ease both;
}

@keyframes bk-toast-in {
  from { opacity: 0; transform: translate(-50%, 8px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

.bk-live-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(80% 60% at 50% 20%, rgba(239,255,0,0.08), transparent 60%),
    #1A1813;
}

.bk-empty-state {
  width: min(680px, 100%);
  background: #26241E;
  border: 1px solid #3A372F;
  padding: 28px;
  position: relative;
}

.bk-empty-state::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 42px;
  height: 3px;
  background: #EFFF00;
}

.bk-empty-kicker {
  font-family: 'JetBrains Mono', monospace;
  color: #EFFF00;
  font-size: 10px;
  letter-spacing: 0.2em;
  font-weight: 900;
}

.bk-empty-state h1 {
  margin: 10px 0 8px;
  color: #FFF;
  font-family: 'Anton', Impact, sans-serif;
  text-transform: uppercase;
  font-size: clamp(36px, 7vw, 72px);
  line-height: 0.92;
}

.bk-empty-state p {
  color: #C8C8C5;
  line-height: 1.55;
  max-width: 56ch;
}

.bk-auth-live {
  display: grid;
  gap: 12px;
}

.bk-auth-live h1 {
  margin: 0;
  color: #FFF;
  font-family: 'Anton', Impact, sans-serif;
  text-transform: uppercase;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 0.94;
}

.bk-auth-live p {
  margin: 0 0 6px;
  color: #C8C8C5;
  line-height: 1.5;
}

.bk-auth-live label {
  display: grid;
  gap: 7px;
  color: #8A8A8A;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.bk-auth-live input {
  width: 100%;
  min-height: 44px;
  background: #201E18;
  border: 1px solid #3A372F;
  color: #FFF;
  padding: 10px 12px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
}

.bk-mobile-tabs {
  display: none;
}

.ig-redesign-shell {
  height: 100vh;
  min-height: 0;
  display: flex;
  background: #1A1813;
  overflow: hidden;
}

.ig-redesign-main {
  min-width: 0;
  min-height: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #1A1813;
  overflow: hidden;
}

.ig-redesign-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 22px 28px 96px;
}

.ig-hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  padding: 20px;
  background: linear-gradient(135deg, rgba(239,255,0,0.07), rgba(38,36,30,0.9));
  border: 1px solid #3A372F;
  position: relative;
  overflow: hidden;
}

.ig-hero-panel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 46px;
  height: 3px;
  background: #EFFF00;
}

.ig-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #EFFF00;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.ig-eyebrow.small { font-size: 9.5px; }
.ig-eyebrow span { width: 18px; height: 1px; background: #EFFF00; }

.ig-hero-panel h1,
.ig-editor-panel h2 {
  margin: 8px 0 0;
  color: #FFF;
  font-family: 'Anton', Impact, sans-serif;
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 0.95;
  text-transform: uppercase;
}

.ig-editor-panel h2 { font-size: clamp(28px, 3vw, 42px); }
.ig-hero-panel p {
  margin: 10px 0 0;
  color: #C8C8C5;
  max-width: 66ch;
  line-height: 1.5;
}

.ig-status-row,
.ig-hero-actions,
.ig-schedule-buttons,
.ig-chip-row,
.ig-improve-row,
.ig-editor-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ig-status-row {
  margin-top: 12px;
  color: #8A8A8A;
  font-size: 12px;
}

.ig-hero-actions { justify-content: flex-end; }

.ig-bulk-bar {
  margin-top: 12px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  background: #201E18;
  border: 1px solid #3A372F;
}

.ig-pill-button {
  min-height: 30px;
  padding: 6px 10px;
  background: #26241E;
  border: 1px solid #3A372F;
  color: #C8C8C5;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ig-pill-button.active,
.ig-pill-button:hover {
  background: #EFFF00;
  border-color: #ADC700;
  color: #1A1813;
}

.ig-workspace {
  margin-top: 14px;
  display: grid;
  grid-template-columns: minmax(250px, 0.78fr) minmax(460px, 1.45fr) minmax(260px, 0.72fr);
  gap: 14px;
  align-items: start;
}

.ig-queue-panel,
.ig-editor-panel,
.ig-side-panel > *,
.ig-card-soft {
  background: #26241E;
  border: 1px solid #3A372F;
}

.ig-queue-panel,
.ig-editor-panel {
  padding: 14px;
}

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

.ig-queue-clean {
  display: grid;
  gap: 8px;
}

.ig-queue-clean .ig-post-row {
  grid-template-columns: 16px 52px minmax(0, 1fr);
}

.ig-queue-clean .ig-post-row .when,
.ig-queue-clean .ig-post-row .actions {
  display: none;
}

.ig-editor-grid {
  display: grid;
  grid-template-columns: minmax(180px, 230px) minmax(0, 1fr);
  gap: 16px;
}

.ig-media-preview {
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #4DA8FF, #1E5FCC);
  border: 1px solid #3A372F;
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 18px;
}

.ig-media-preview span {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(0,0,0,0.42);
  color: #FFF;
  padding: 3px 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 8.5px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.ig-media-preview b {
  color: #FFF;
  font-family: 'Anton', Impact, sans-serif;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 0.96;
  text-transform: uppercase;
}

.ig-media-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 8px;
}

.ig-media-strip button {
  min-height: 48px;
  background: #201E18;
  border: 1px solid #3A372F;
  color: #C8C8C5;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 900;
}

.ig-check {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #FFF;
  font-size: 12px;
}

.ig-check span {
  width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  background: #201E18;
  border: 1px solid #3A372F;
}

.ig-check.on span {
  background: #EFFF00;
  color: #1A1813;
  border-color: #ADC700;
}

.ig-copy-editor textarea {
  min-height: 164px;
}

.ig-form-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

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

.ig-form-grid label span {
  color: #8A8A8A;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ig-form-grid .wide {
  grid-column: 1 / -1;
}

.ig-improve-row {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed #3A372F;
}

.ig-editor-actions {
  margin-top: 14px;
}

.ig-editor-actions > span {
  flex: 1;
}

.ig-side-panel {
  display: grid;
  gap: 14px;
}

.ig-card-soft {
  padding: 14px;
}

.ig-goal-grid {
  margin-top: 12px;
  display: grid;
  gap: 6px;
}

.ig-goal {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 10px;
  background: #201E18;
  border: 1px solid #3A372F;
  color: #FFF;
  font-size: 12px;
}

.ig-goal i {
  width: 30px;
  height: 16px;
  border-radius: 999px;
  background: #1A1A1A;
  border: 1px solid #333;
  position: relative;
}

.ig-goal i::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 1px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #5C5C5C;
}

.ig-goal.on i {
  background: #EFFF00;
  border-color: #ADC700;
}

.ig-goal.on i::after {
  left: 15px;
  background: #1A1813;
}

.ig-warning-card {
  padding: 14px;
  background: #201E18;
  border: 1px solid rgba(255,178,63,0.35);
  position: relative;
}

.ig-warning-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 3px;
  background: #FFB23F;
}

.ig-warning-card div {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #FFB23F;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.ig-warning-card p {
  color: #C8C8C5;
  font-size: 12.5px;
  line-height: 1.5;
}

.ig-soon-row {
  margin-top: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: #1A1813;
  border: 1px solid #3A372F;
  color: #C8C8C5;
  font-size: 12px;
}

.social-platform-strip {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.social-platform-strip button {
  min-height: 86px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto auto;
  gap: 4px 9px;
  align-items: center;
  text-align: left;
  padding: 12px;
  background: #26241E;
  border: 1px solid #3A372F;
  color: #F4F4F0;
}

.social-platform-strip button.active {
  border-color: #EFFF00;
  background: linear-gradient(135deg, rgba(239,255,0,0.12), #26241E);
}

.social-platform-strip button svg { color: #EFFF00; }
.social-platform-strip button span {
  font-weight: 900;
  font-size: 13px;
}
.social-platform-strip button small {
  grid-column: 2 / -1;
  color: #8A8A8A;
  font-size: 11px;
}

.social-calendar-layout {
  margin-top: 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.38fr);
  gap: 14px;
  align-items: start;
}

.social-calendar-card,
.day-planner-panel {
  background: #26241E;
  border: 1px solid #3A372F;
  padding: 14px;
}

.social-calendar-card h2,
.day-planner-panel h2 {
  margin: 8px 0 0;
  color: #FFF;
  font-family: 'Anton', Impact, sans-serif;
  text-transform: uppercase;
  font-size: 42px;
  line-height: 0.95;
}

.social-week-head,
.social-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 7px;
}

.social-week-head {
  margin-top: 14px;
  color: #8A8A8A;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.social-week-head span {
  padding: 4px 2px;
}

.social-calendar-grid button {
  min-height: 112px;
  padding: 9px;
  background: #201E18;
  border: 1px solid #3A372F;
  color: #F4F4F0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.social-calendar-grid button:hover,
.social-calendar-grid button.active {
  border-color: #EFFF00;
  box-shadow: inset 0 0 0 1px rgba(239,255,0,0.25);
}

.social-calendar-grid button.active {
  background: linear-gradient(135deg, rgba(239,255,0,0.14), #201E18);
}

.social-calendar-grid button.dim {
  opacity: 0.38;
}

.social-calendar-grid b {
  color: #FFF;
  font-family: 'Anton', Impact, sans-serif;
  font-size: 22px;
}

.social-calendar-grid span {
  display: block;
  padding: 4px 5px;
  background: #EFFF00;
  color: #1A1813;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.day-planner-panel {
  position: sticky;
  top: 14px;
}

.day-planner-panel label {
  display: grid;
  gap: 7px;
  margin-top: 12px;
}

.day-planner-panel label > span {
  color: #8A8A8A;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.day-planner-panel select,
.day-planner-panel input,
.day-planner-panel textarea {
  width: 100%;
  min-height: 42px;
  background: #201E18;
  border: 1px solid #3A372F;
  color: #FFF;
  padding: 10px;
  font-family: 'Inter', sans-serif;
}

.day-planner-panel textarea {
  min-height: 96px;
  resize: vertical;
}

.selected-post-preview {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 10px;
  align-items: center;
  background: #201E18;
  border: 1px solid #3A372F;
  padding: 10px;
}

.selected-post-preview > div {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: #EFFF00;
  color: #1A1813;
}

.selected-post-preview section {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.selected-post-preview b {
  color: #FFF;
  font-size: 13px;
}

.selected-post-preview span {
  color: #8A8A8A;
  font-size: 11px;
}

.planner-platforms {
  margin: 12px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.planner-platforms button {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
  background: #201E18;
  border: 1px solid #3A372F;
  color: #C8C8C5;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.planner-platforms button.active {
  background: #EFFF00;
  border-color: #ADC700;
  color: #1A1813;
}

.day-planner-panel p {
  color: #8A8A8A;
  font-size: 11.5px;
  line-height: 1.5;
}

.launch-os-shell {
  height: 100vh;
  display: flex;
  overflow: hidden;
  background: #1A1813;
}

.launch-os-main {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.launch-os-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 24px 28px 100px;
}

.launch-os-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 24px;
  border: 1px solid #3A372F;
  background: radial-gradient(90% 120% at 0% 0%, rgba(239,255,0,0.12), transparent 55%), #26241E;
  position: relative;
  overflow: hidden;
}

.launch-os-hero::before {
  content: "";
  position: absolute;
  right: -80px;
  top: 24px;
  width: 360px;
  height: 72px;
  background: repeating-linear-gradient(135deg, #EFFF00 0 12px, #1A1813 12px 24px);
  opacity: 0.12;
  transform: rotate(-8deg);
}

.launch-os-hero h1 {
  margin: 10px 0 0;
  color: #FFF;
  font-family: 'Anton', Impact, sans-serif;
  font-size: clamp(42px, 6vw, 84px);
  line-height: 0.9;
  text-transform: uppercase;
  max-width: 13ch;
}

.launch-os-hero p {
  color: #C8C8C5;
  max-width: 68ch;
  line-height: 1.55;
}

.launch-score-card {
  min-width: 210px;
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 16px;
  background: #201E18;
  border: 1px solid #3A372F;
}

.next-action-strip {
  max-width: 760px;
  margin-top: 18px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  background: rgba(26,24,19,0.78);
  border: 1px solid rgba(239,255,0,0.22);
}

.next-action-strip b,
.next-action-strip button {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.next-action-strip b {
  color: #EFFF00;
}

.next-action-strip span {
  min-width: 0;
  color: #F4F4F0;
  font-size: 12px;
}

.next-action-strip button {
  min-height: 34px;
  padding: 7px 10px;
  background: #EFFF00;
  border: 1px solid #ADC700;
  color: #1A1813;
}

.launch-guided-strip {
  margin-top: 14px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.8fr);
  gap: 14px;
}

.guided-path-card,
.today-card {
  padding: 16px;
  background: #26241E;
  border: 1px solid #3A372F;
  position: relative;
}

.guided-path-card::before,
.today-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 34px;
  height: 3px;
  background: #EFFF00;
}

.guided-path {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.guided-path button {
  min-height: 86px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  padding: 10px;
  background: #201E18;
  border: 1px solid #3A372F;
  color: #F4F4F0;
  text-align: left;
}

.guided-path button.done {
  border-color: rgba(74,222,128,0.45);
}

.guided-path button.active {
  border-color: #EFFF00;
  box-shadow: inset 0 -3px 0 #EFFF00;
}

.guided-path button > b {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  background: #EFFF00;
  color: #1A1813;
  font-family: 'Anton', Impact, sans-serif;
  font-size: 18px;
}

.guided-path span,
.today-grid span {
  min-width: 0;
  color: #F4F4F0;
  font-size: 12px;
  line-height: 1.35;
}

.guided-path small {
  display: block;
  margin-top: 4px;
  color: #8A8A8A;
  font-size: 10.5px;
  line-height: 1.35;
}

.today-card {
  display: grid;
  gap: 12px;
}

.today-grid {
  display: grid;
  gap: 8px;
}

.today-grid div {
  padding: 9px;
  background: #201E18;
  border: 1px solid #3A372F;
  display: grid;
  gap: 4px;
}

.today-grid b {
  color: #EFFF00;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.launch-organiser {
  position: sticky;
  top: 0;
  z-index: 12;
  margin-top: 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  background: rgba(26,24,19,0.94);
  border: 1px solid #3A372F;
  backdrop-filter: blur(12px);
}

.organiser-main {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(220px, 0.82fr) minmax(0, 1.2fr);
  gap: 10px;
  align-items: center;
}

.organiser-search {
  min-width: 0;
  height: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  background: #201E18;
  border: 1px solid #3A372F;
  color: #EFFF00;
}

.organiser-search input {
  min-width: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  border: 0;
  color: #FFF;
  outline: 0;
  font-size: 13px;
}

.organiser-tabs,
.organiser-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.organiser-tabs button,
.organiser-stats button,
.organiser-stats span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 9px;
  background: #201E18;
  border: 1px solid #3A372F;
  color: #C8C8C5;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.organiser-tabs button.active,
.organiser-tabs button:hover,
.organiser-stats button.active,
.organiser-stats button:hover {
  background: #EFFF00;
  border-color: #ADC700;
  color: #1A1813;
}

.organiser-stats b {
  color: #EFFF00;
}

.organiser-stats button:hover b,
.organiser-tabs button.active b {
  color: #1A1813;
}

.launch-os-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.launch-feature-card {
  min-height: 220px;
  padding: 16px;
  background: #26241E;
  border: 1px solid #3A372F;
  position: relative;
}

.launch-feature-card.is-filtered {
  display: none;
}

.bk-collapsible-panel {
  position: relative;
  transition: max-height 260ms ease, min-height 260ms ease, padding-bottom 260ms ease, border-color 180ms ease, background-color 180ms ease;
}

.bk-collapse-toggle {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 8;
  min-width: 36px;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 8px;
  background: #201E18;
  border: 1px solid #3A372F;
  color: #EFFF00;
  cursor: pointer;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

.bk-collapse-toggle:hover,
.bk-collapse-toggle:focus-visible {
  background: #EFFF00;
  border-color: #ADC700;
  color: #1A1813;
  outline: none;
}

.bk-collapse-toggle i {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform 180ms ease;
}

.bk-collapse-toggle span {
  display: none;
}

.bk-panel-collapsed {
  min-height: 58px !important;
  max-height: 66px !important;
  overflow: hidden !important;
  border-color: rgba(239,255,0,0.28) !important;
}

.bk-panel-collapsed .bk-collapse-toggle i {
  transform: rotate(-135deg) translate(-1px, -1px);
}

.bk-panel-collapsed > *:not(.bk-collapse-toggle):not(.card-head):not(.ig-panel-head):not(.card-title):not(.ig-eyebrow):not(h1):not(h2):not(h3)::after {
  pointer-events: none;
}

.bk-panel-collapsed::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(26,24,19,0.55) 100%);
}

.card.bk-collapsible-panel,
.ig-hero-panel.bk-collapsible-panel,
.ig-queue-panel.bk-collapsible-panel,
.ig-editor-panel.bk-collapsible-panel,
.ig-side-panel.bk-collapsible-panel,
.day-planner-panel.bk-collapsible-panel,
.calendar-board-panel.bk-collapsible-panel {
  position: relative;
}

.launch-feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 34px;
  height: 3px;
  background: #EFFF00;
}

.launch-feature-card.wide {
  grid-column: span 2;
}

.launch-feature-card p {
  color: #C8C8C5;
  font-size: 12.5px;
  line-height: 1.5;
}

.launch-feature-card textarea,
.launch-feature-card input,
.launch-select {
  width: 100%;
  min-height: 42px;
  background: #201E18;
  border: 1px solid #3A372F;
  color: #FFF;
  padding: 10px;
  margin: 8px 0 10px;
}

.launch-feature-card textarea {
  min-height: 96px;
  resize: vertical;
}

.campaign-picker,
.campaign-track,
.repurpose-grid,
.hook-list,
.checklist-grid,
.timeline-stack,
.platform-preset-list,
.objective-grid,
.ai-tool-grid,
.calendar-mini-row,
.feature-switch-grid,
.workflow-module-grid,
.risk-list,
.persona-tabs,
.sequence-grid,
.task-list {
  display: grid;
  gap: 8px;
}

.switchboard-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 12px 0;
}

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

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

.feature-switch-grid button {
  min-height: 104px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  gap: 6px 9px;
  align-content: start;
  padding: 11px;
  background: #201E18;
  border: 1px solid #3A372F;
  color: #F4F4F0;
  text-align: left;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.feature-switch-grid button:hover {
  transform: translateY(-1px);
  border-color: rgba(239,255,0,0.45);
}

.feature-switch-grid button.on {
  border-color: rgba(239,255,0,0.78);
  background: linear-gradient(180deg, rgba(239,255,0,0.08), rgba(32,30,24,1));
}

.feature-switch-grid b {
  min-width: 0;
  color: #FFF;
  font-size: 12px;
  line-height: 1.15;
}

.feature-switch-grid small {
  grid-column: 1 / -1;
  color: #8A8A8A;
  font-size: 11px;
  line-height: 1.35;
}

.switch-knob {
  width: 34px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  padding: 2px;
  background: #10100D;
  border: 1px solid #3A372F;
  transition: background 160ms ease, border-color 160ms ease;
}

.switch-knob i {
  width: 12px;
  height: 12px;
  display: block;
  background: #5C5C5C;
  transition: transform 160ms ease, background 160ms ease;
}

.feature-switch-grid button.on .switch-knob {
  background: #EFFF00;
  border-color: #ADC700;
}

.feature-switch-grid button.on .switch-knob i {
  background: #1A1813;
  transform: translateX(14px);
}

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

.workflow-module-grid div {
  min-height: 148px;
  display: grid;
  align-content: start;
  gap: 7px;
  padding: 12px;
  background: #201E18;
  border: 1px solid #3A372F;
}

.workflow-module-grid div.module-on {
  border-color: rgba(239,255,0,0.62);
}

.workflow-module-grid div.module-off {
  opacity: 0.48;
}

.workflow-module-grid b {
  color: #EFFF00;
  font-size: 12px;
  text-transform: uppercase;
}

.workflow-module-grid span {
  min-height: 26px;
  display: flex;
  align-items: center;
  padding: 5px 7px;
  background: #1A1813;
  border: 1px solid #3A372F;
  color: #C8C8C5;
  font-size: 11px;
}

.risk-list div {
  min-height: 58px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(90px, 0.8fr) 34px;
  gap: 9px;
  align-items: center;
  padding: 9px;
  background: #201E18;
  border: 1px solid #3A372F;
}

.risk-list span,
.persona-card,
.offer-card,
.objection-row,
.copy-row {
  display: grid;
  gap: 4px;
}

.risk-list b,
.persona-card b,
.offer-card b,
.objection-row b,
.copy-row b {
  color: #FFF;
  font-size: 12px;
}

.risk-list small,
.persona-card span,
.offer-card span,
.objection-row span,
.copy-row span {
  color: #8A8A8A;
  font-size: 11px;
  line-height: 1.35;
}

.risk-list strong {
  color: #EFFF00;
  font-family: 'Anton', Impact, sans-serif;
  font-size: 24px;
  text-align: right;
}

.persona-tabs {
  grid-template-columns: 1fr;
}

.persona-tabs button,
.sequence-grid button,
.task-list button {
  background: #201E18;
  border: 1px solid #3A372F;
  color: #F4F4F0;
  text-align: left;
}

.persona-tabs button {
  min-height: 34px;
  padding: 7px 9px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.persona-tabs button.active {
  background: #EFFF00;
  border-color: #ADC700;
  color: #1A1813;
}

.persona-card,
.offer-card,
.objection-row,
.copy-row {
  margin-top: 8px;
  padding: 10px;
  background: #201E18;
  border: 1px solid #3A372F;
}

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

.sequence-grid button {
  min-height: 92px;
  padding: 10px;
  display: grid;
  align-content: start;
  gap: 5px;
}

.sequence-grid b {
  color: #EFFF00;
  font-size: 12px;
  text-transform: uppercase;
}

.sequence-grid span,
.task-list small {
  color: #8A8A8A;
  font-size: 11px;
  line-height: 1.35;
}

.utm-output {
  margin: 8px 0 10px;
  padding: 9px;
  background: #10100D;
  border: 1px solid #3A372F;
  color: #EFFF00;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  overflow-wrap: anywhere;
}

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

.task-list button {
  min-height: 72px;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 4px 8px;
  align-content: center;
  padding: 10px;
}

.task-list button > span {
  grid-row: 1 / span 2;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  background: #10100D;
  border: 1px solid #3A372F;
  color: #1A1813;
  font-size: 11px;
  font-weight: 900;
}

.task-list button.done {
  border-color: rgba(239,255,0,0.62);
}

.task-list button.done > span {
  background: #EFFF00;
  border-color: #ADC700;
}

.task-list b {
  color: #FFF;
  font-size: 12px;
}

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

.checklist-grid button,
.timeline-stack button,
.platform-preset-list button,
.objective-grid button,
.ai-tool-grid button,
.calendar-mini-row button {
  background: #201E18;
  border: 1px solid #3A372F;
  color: #F4F4F0;
  text-align: left;
}

.checklist-grid button {
  min-height: 48px;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  padding: 9px;
}

.checklist-grid button span {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 1px solid #3A372F;
  color: #1A1813;
  font-size: 12px;
  font-weight: 900;
}

.checklist-grid button.done {
  border-color: rgba(239,255,0,0.55);
}

.checklist-grid button.done span {
  background: #EFFF00;
  border-color: #ADC700;
}

.checklist-grid b {
  font-size: 12px;
}

.timeline-stack button {
  min-height: 58px;
  padding: 10px;
  display: grid;
  gap: 3px;
}

.timeline-stack b,
.platform-preset-list b,
.ai-tool-grid b,
.calendar-mini-row b {
  color: #FFF;
  font-size: 12px;
}

.timeline-stack span,
.platform-preset-list small,
.ai-tool-grid span,
.calendar-mini-row span {
  color: #8A8A8A;
  font-size: 11px;
  line-height: 1.35;
}

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

.campaign-picker button,
.repurpose-grid button,
.hook-list button,
.export-row {
  background: #201E18;
  border: 1px solid #3A372F;
  color: #F4F4F0;
  text-align: left;
}

.campaign-picker button {
  min-height: 36px;
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.campaign-picker button.active,
.campaign-picker button:hover {
  background: #EFFF00;
  color: #1A1813;
  border-color: #ADC700;
}

.campaign-track {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-bottom: 14px;
}

.campaign-track div {
  min-height: 78px;
  padding: 10px;
  background: #201E18;
  border: 1px solid #3A372F;
  display: grid;
  align-content: space-between;
}

.campaign-track b {
  color: #EFFF00;
  font-family: 'Anton', Impact, sans-serif;
  font-size: 28px;
}

.campaign-track span {
  color: #C8C8C5;
  font-size: 11px;
  font-weight: 800;
}

.readiness-row {
  display: grid;
  grid-template-columns: minmax(90px, 1fr) 1.4fr 42px;
  gap: 8px;
  align-items: center;
  margin-top: 12px;
  color: #C8C8C5;
  font-size: 12px;
}

.readiness-row b {
  color: #FFF;
  text-align: right;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
}

.rule-list {
  display: grid;
  gap: 6px;
  margin: 8px 0 10px;
}

.platform-preset-list button {
  min-height: 54px;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  padding: 9px;
}

.platform-preset-list svg {
  color: #EFFF00;
}

.platform-preset-list span {
  display: grid;
  gap: 2px;
  color: #C8C8C5;
  font-size: 11px;
}

.content-library {
  display: grid;
  grid-template-columns: minmax(180px, 0.9fr) minmax(0, 1.25fr);
  gap: 10px;
}

.content-list {
  display: grid;
  gap: 7px;
}

.content-list button {
  min-height: 52px;
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 9px;
  background: #201E18;
  border: 1px solid #3A372F;
  color: #F4F4F0;
  text-align: left;
}

.content-list button.active {
  border-color: #EFFF00;
  box-shadow: inset 3px 0 0 #EFFF00;
}

.content-list b,
.content-list span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
}

.content-detail {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.content-detail textarea {
  min-height: 132px;
  margin: 0;
}

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

.detail-actions button {
  min-height: 32px;
  padding: 7px 9px;
  background: #201E18;
  border: 1px solid #3A372F;
  color: #C8C8C5;
  font-size: 10px;
}

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

.repurpose-grid button {
  min-height: 92px;
  display: grid;
  gap: 5px;
  align-content: start;
  padding: 12px;
}

.repurpose-grid svg {
  color: #EFFF00;
}

.repurpose-grid b {
  color: #FFF;
}

.repurpose-grid span {
  color: #8A8A8A;
  font-size: 11px;
}

.hook-list button {
  min-height: 54px;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  padding: 9px;
}

.hook-list b {
  color: #EFFF00;
  font-family: 'Anton', Impact, sans-serif;
  font-size: 22px;
}

.hook-list span {
  color: #FFF;
  font-size: 12px;
}

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

.objective-grid button {
  min-height: 38px;
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.objective-grid button.active {
  background: #EFFF00;
  color: #1A1813;
  border-color: #ADC700;
}

.asset-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0;
}

.asset-chip-list button {
  min-height: 32px;
  padding: 7px 9px;
  background: #201E18;
  border: 1px solid #3A372F;
  color: #F4F4F0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.ai-tool-grid button {
  min-height: 74px;
  display: grid;
  align-content: start;
  gap: 4px;
  padding: 10px;
}

.approval-row,
.export-row,
.performance-row {
  min-height: 38px;
  margin-top: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  color: #C8C8C5;
  font-size: 12px;
}

.approval-row {
  background: #201E18;
  border: 1px solid #3A372F;
}

.performance-row {
  background: #201E18;
  border: 1px solid #3A372F;
}

.performance-row b {
  color: #EFFF00;
  min-width: 72px;
  font-size: 11px;
}

.performance-row span {
  min-width: 0;
  color: #F4F4F0;
  font-size: 11px;
}

.approval-row b {
  color: #EFFF00;
  font-family: 'Anton', Impact, sans-serif;
  font-size: 22px;
}

.autopilot-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.calendar-mini-row {
  grid-template-columns: repeat(7, minmax(0, 1fr));
  margin-top: 12px;
}

.calendar-mini-row button {
  min-height: 58px;
  display: grid;
  justify-items: start;
  align-content: center;
  gap: 4px;
  padding: 9px;
  border-top: 2px solid #EFFF00;
}

@media (max-width: 1280px) {
  .launch-os-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .launch-os-shell {
    height: auto;
    min-height: 100vh;
    overflow: visible;
  }

  .launch-os-main,
  .launch-os-scroll {
    overflow: visible;
  }

  .launch-guided-strip,
  .guided-path {
    grid-template-columns: 1fr;
  }

  .launch-organiser,
  .organiser-main {
    position: static;
    grid-template-columns: 1fr;
  }

  .launch-os-hero,
  .launch-os-grid,
  .campaign-track,
  .repurpose-grid,
  .checklist-grid,
  .content-library,
  .objective-grid,
  .ai-tool-grid,
  .feature-switch-grid,
  .feature-switch-grid.workflow,
  .workflow-module-grid,
  .risk-list div,
  .sequence-grid,
  .task-list,
  .calendar-mini-row,
  .autopilot-row,
  .next-action-strip {
    grid-template-columns: 1fr;
  }

  .launch-feature-card.wide {
    grid-column: auto;
  }
}

@media (max-width: 1280px) {
  .ig-workspace {
    grid-template-columns: minmax(250px, 0.85fr) minmax(420px, 1.4fr);
  }

  .ig-side-panel {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .ig-hero-panel,
  .ig-bulk-bar,
  .ig-workspace,
  .ig-editor-grid,
  .ig-side-panel,
  .social-platform-strip,
  .social-calendar-layout {
    grid-template-columns: 1fr;
  }

  .day-planner-panel {
    position: static;
  }

  .ig-hero-actions,
  .ig-schedule-buttons {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .social-week-head,
  .social-calendar-grid {
    grid-template-columns: 1fr;
  }

  .social-week-head {
    display: none;
  }

  .social-calendar-grid button {
    min-height: 86px;
  }
}

.bk-live-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1700;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: min(560px, calc(100vw - 36px));
  padding: 8px;
  background: rgba(5,5,5,0.78);
  border: 1px solid #3A372F;
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 50px rgba(0,0,0,0.45);
}

.customer-flow-shell {
  height: 100%;
  min-height: 100vh;
  display: flex;
  background: #050505;
  color: #F4F4F0;
}

.customer-flow-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(239,255,0,0.035), transparent 32%),
    #050505;
}

.customer-flow-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}

.customer-flow-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  max-width: 1180px;
  margin: 0 auto 18px;
  padding: 22px;
  border: 1px solid #2A2925;
  background: #10100F;
  box-shadow: inset 4px 0 0 #EFFF00;
}

.customer-flow-hero h1 {
  margin: 8px 0 8px;
  font-family: 'Anton', Impact, sans-serif;
  font-size: clamp(34px, 5vw, 72px);
  line-height: .92;
  letter-spacing: 0;
  text-transform: uppercase;
}

.customer-flow-hero p,
.customer-panel p,
.customer-status,
.auth-status {
  color: #B9B7AE;
  line-height: 1.55;
}

.customer-step-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.customer-panel {
  min-width: 0;
  padding: 18px;
  border: 1px solid #2A2925;
  background: #141413;
  position: relative;
}

.customer-panel.wide {
  grid-column: 1 / -1;
}

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

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

.customer-form-grid label,
.bk-auth-live label {
  display: grid;
  gap: 7px;
  color: #B9B7AE;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.customer-form-grid input,
.customer-form-grid textarea,
.bk-auth-live input,
.customer-panel textarea,
.customer-panel select {
  width: 100%;
  min-height: 44px;
  border: 1px solid #3A372F;
  background: #050505;
  color: #F4F4F0;
  padding: 11px 12px;
  font: 500 14px/1.35 Inter, system-ui, sans-serif;
}

.customer-form-grid textarea,
.customer-panel textarea {
  min-height: 106px;
  resize: vertical;
}

.customer-actions {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.upload-zone {
  min-height: 132px;
  display: grid;
  place-items: center;
  gap: 8px;
  margin-top: 14px;
  border: 1px dashed rgba(239,255,0,0.45);
  background: linear-gradient(135deg, rgba(239,255,0,0.06), rgba(255,255,255,0.015));
  color: #EFFF00;
  cursor: pointer;
}

.upload-zone input {
  display: none;
}

.html-import-zone {
  min-height: 102px;
  margin-top: 10px;
  border-style: solid;
}

.html-import-zone small {
  color: #B9B7AE;
  font: 800 10px/1.35 'JetBrains Mono', monospace;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.asset-preview-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.asset-preview-list div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  padding: 9px;
  border: 1px solid #2A2925;
  background: #0A0A0A;
  color: #F4F4F0;
  font-size: 12px;
}

.beginner-help-panel,
.beginner-explain-strip {
  border: 1px solid rgba(239,255,0,.28);
  background:
    linear-gradient(135deg, rgba(239,255,0,.10), transparent 35%),
    #10100E;
  box-shadow: 0 16px 38px rgba(0,0,0,.22);
}

.beginner-help-panel {
  display: grid;
  grid-template-columns: minmax(260px, .95fr) 1.25fr;
  gap: 16px;
  padding: 18px;
  margin-bottom: 22px;
}

.beginner-kicker {
  color: #EFFF00;
  font: 800 10px/1.4 'JetBrains Mono', monospace;
  letter-spacing: .18em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.beginner-kicker span {
  width: 20px;
  height: 1px;
  background: #EFFF00;
}

.beginner-help-panel h2 {
  margin: 8px 0 8px;
  color: #FFF;
  font-family: 'Anton', Impact, sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  line-height: .96;
  text-transform: uppercase;
}

.beginner-help-panel p {
  margin: 0;
  color: #D8D6CD;
  line-height: 1.55;
  max-width: 620px;
}

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

.beginner-step-grid button {
  min-height: 116px;
  padding: 13px;
  border: 1px solid #34312A;
  background: #181713;
  color: #F4F4F0;
  display: grid;
  gap: 6px;
  text-align: left;
  cursor: pointer;
}

.beginner-step-grid button:hover {
  border-color: #EFFF00;
  transform: translateY(-1px);
}

.beginner-step-grid b {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  background: #EFFF00;
  color: #1A1813;
  font: 900 12px/1 'JetBrains Mono', monospace;
}

.beginner-step-grid strong {
  color: #FFF;
  font-size: 14px;
}

.beginner-step-grid span,
.beginner-glossary span,
.beginner-explain-strip span {
  color: #B9B7AE;
  font-size: 12px;
  line-height: 1.45;
}

.beginner-glossary {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.beginner-glossary div,
.beginner-explain-strip div {
  border-left: 3px solid #EFFF00;
  background: rgba(5,5,5,.45);
  padding: 10px 12px;
  display: grid;
  gap: 3px;
}

.beginner-glossary b,
.beginner-explain-strip b {
  color: #FFF;
  font-size: 13px;
}

.beginner-explain-strip {
  max-width: 1180px;
  margin: 0 auto 14px;
  padding: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.extractor-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 12px 0;
  color: #B9B7AE;
  font: 800 11px/1.4 'JetBrains Mono', monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.extractor-toolbar span {
  margin-right: auto;
}

.extractor-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
}

.extractor-preview-card {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid #2A2925;
  background: #0A0A0A;
  cursor: pointer;
  color: #F4F4F0;
}

.extractor-preview-card.selected {
  border-color: #EFFF00;
  box-shadow: 0 0 0 1px rgba(239,255,0,.35);
}

.extractor-preview-card input {
  width: 18px;
  height: 18px;
  accent-color: #EFFF00;
}

.extractor-thumb {
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #141413;
  border: 1px solid #2A2925;
}

.extractor-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.extractor-thumb span,
.extractor-preview-card small {
  color: #8A8A8A;
  font: 800 10px/1.35 'JetBrains Mono', monospace;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.extractor-preview-card b {
  font-size: 12px;
  line-height: 1.35;
  word-break: break-word;
}

.extractor-campaign-panel {
  background:
    linear-gradient(135deg, rgba(239,255,0,.08), transparent 32%),
    #11110F;
}

.extractor-campaign-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 14px 0;
}

.extractor-campaign-empty {
  padding: 18px;
  border: 1px dashed #3A3934;
  background: #0A0A0A;
  color: #B9B7AE;
  font-size: 13px;
}

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

.extractor-campaign-card {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid #2A2925;
  background: #080808;
  color: #F4F4F0;
}

.extractor-campaign-card > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.extractor-campaign-card b,
.extractor-campaign-card span,
.extractor-campaign-card small {
  font: 800 10px/1.35 'JetBrains Mono', monospace;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.extractor-campaign-card strong {
  color: #EFFF00;
  font-family: 'Anton', Impact, sans-serif;
  font-size: 22px;
  letter-spacing: .01em;
}

.extractor-campaign-card span,
.extractor-campaign-card small {
  color: #8A8A8A;
  word-break: break-word;
}

.extractor-campaign-card p {
  margin: 0;
  color: #D8D6CD;
  font-size: 12px;
  line-height: 1.45;
}

.customer-output-textarea {
  min-height: 380px;
  font-family: 'JetBrains Mono', monospace !important;
  line-height: 1.55 !important;
}

.export-grid-live {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.export-grid-live button {
  min-height: 170px;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 8px;
  padding: 18px;
  border: 1px solid #2A2925;
  background: #141413;
  color: #F4F4F0;
  text-align: left;
}

.export-grid-live b {
  color: #EFFF00;
  font-family: 'Anton', Impact, sans-serif;
  font-size: 28px;
  text-transform: uppercase;
}

.export-grid-live span {
  color: #B9B7AE;
  font-size: 13px;
}

.customer-status,
.auth-status {
  max-width: 1180px;
  margin: 14px auto 0;
  padding: 10px 12px;
  border-left: 3px solid #EFFF00;
  background: #10100F;
  font-size: 12px;
}

.bk-auth-live {
  display: grid;
  gap: 12px;
}

.bk-auth-live h1 {
  margin: 0;
}

@media (max-width: 980px) {
  .customer-step-grid,
  .export-grid-live {
    grid-template-columns: 1fr;
  }

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

  .beginner-help-panel,
  .beginner-explain-strip {
    grid-template-columns: 1fr;
  }

  .beginner-glossary {
    grid-template-columns: 1fr;
  }

  .customer-flow-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .customer-flow-shell {
    height: auto;
    min-height: 100vh;
    overflow: visible;
  }

  .customer-flow-main,
  .customer-flow-scroll {
    overflow: visible;
  }

  .customer-flow-scroll {
    padding: 14px;
  }

  .customer-form-grid {
    grid-template-columns: 1fr;
  }

  .customer-form-grid .wide {
    grid-column: auto;
  }

  .customer-actions .btn,
  .customer-flow-hero .btn,
  .customer-panel .btn {
    width: 100%;
    justify-content: center;
    min-height: 44px;
  }

  .extractor-campaign-grid {
    grid-template-columns: 1fr;
  }

  .ig-redesign-shell {
    height: auto;
    min-height: 100vh;
    overflow: visible;
  }

  .ig-redesign-main {
    min-height: 100vh;
    overflow: visible;
  }

  .ig-redesign-scroll {
    overflow: visible;
  }

  .bk-live-root {
    height: auto;
    min-height: 100vh;
    overflow: visible;
    padding-bottom: calc(72px + env(safe-area-inset-bottom));
  }

  .bk-live-root > div:first-child {
    min-height: calc(100vh - 72px);
  }

  .bk-mobile-tabs {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1800;
    min-height: calc(64px + env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
    padding: 7px 8px calc(7px + env(safe-area-inset-bottom));
    background: rgba(5,5,5,0.96);
    border-top: 1px solid #3A372F;
  }

  .bk-mobile-tabs button {
    min-height: 48px;
    display: grid;
    place-items: center;
    gap: 2px;
    background: transparent;
    color: #8A8A8A;
    font-family: 'JetBrains Mono', monospace;
    font-size: 8.5px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .bk-mobile-tabs button.active {
    color: #EFFF00;
    background: rgba(239,255,0,0.06);
    border: 1px solid rgba(239,255,0,0.16);
  }

  .bk-toast {
    width: calc(100% - 24px);
    bottom: calc(78px + env(safe-area-inset-bottom));
    justify-content: center;
    text-align: center;
  }

  .bk-live-actions {
    left: 10px;
    right: 10px;
    bottom: calc(72px + env(safe-area-inset-bottom));
  }

  .bk-live-actions .btn {
    width: 100%;
    justify-content: center;
    min-height: 44px;
  }
}
