/* Lumen — extra screens stylesheet (companion to styles.css) */

/* mini-app: shared shell that fits various widths/heights */
.mini {
  width: 100%; height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 12px;
  display: flex; flex-direction: column;
  overflow: hidden;
  position: relative;
}

/* compact topbar for sub-screens */
.mini-top {
  height: 44px; flex-shrink: 0;
  display: flex; align-items: center; gap: 10px;
  padding: 0 14px 0 78px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
  font-size: 12px;
}
.mini-top .brand-mark { width: 14px; height: 14px; }
.mini-top .title { font-family: var(--serif); font-size: 17px; }
.mini-top .crumbs { color: var(--text-3); font-size: 11px; }
.mini-top .crumbs b { color: var(--text); font-weight: 500; }
.mini-top .spacer { flex: 1; }
.mini-top .pill {
  padding: 4px 10px; border-radius: 6px; font-size: 11px;
  background: var(--bg-2); border: 1px solid var(--line); color: var(--text-2);
}
.mini-top .av { width: 22px; height: 22px; border-radius: 50%;
  background: linear-gradient(135deg, #8a6840, #c89972); border: 1px solid var(--line-2); }

/* generic centered content area */
.mini-body { flex: 1; display: flex; min-height: 0; overflow: hidden; }

/* ─── ONBOARDING ─────────────────────────────────────────── */
.onb {
  width: 100%; height: 100%; background:
    radial-gradient(ellipse at 30% 20%, rgba(230,199,156,0.10), transparent 50%),
    radial-gradient(ellipse at 80% 90%, rgba(120,80,180,0.08), transparent 50%),
    var(--bg);
  display: grid; grid-template-columns: 1.1fr 1fr;
  position: relative;
}
.onb-left {
  padding: 64px 56px;
  display: flex; flex-direction: column; gap: 20px;
  justify-content: space-between;
  position: relative;
}
.onb-step {
  font-family: var(--mono); font-size: 11px; color: var(--text-3);
  letter-spacing: 0.06em;
}
.onb-h {
  font-family: var(--serif); font-size: 56px; line-height: 1.05;
  letter-spacing: -0.02em; color: var(--text);
  font-weight: 400;
}
.onb-h em { font-style: italic; color: var(--accent); }
.onb-sub { font-size: 15px; color: var(--text-2); line-height: 1.5; max-width: 460px; }
.onb-progress { display: flex; gap: 4px; }
.onb-progress i { flex: 1; height: 2px; background: var(--bg-3); border-radius: 1px; }
.onb-progress i.done { background: var(--accent); }

.onb-form { display: flex; flex-direction: column; gap: 14px; max-width: 420px; margin-top: 20px; }
.onb-input {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 10px; padding: 12px 14px;
  font-size: 14px; color: var(--text); font-family: inherit;
  outline: 0;
}
.onb-input:focus { border-color: rgba(230,199,156,0.4); }
.onb-input::placeholder { color: var(--text-4); }

.onb-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.onb-card {
  padding: 16px; background: var(--bg-1);
  border: 1px solid var(--line); border-radius: 12px;
  cursor: pointer; transition: 0.15s;
  display: flex; flex-direction: column; gap: 6px; text-align: left;
  font-family: inherit; color: var(--text);
}
.onb-card:hover { border-color: var(--line-2); }
.onb-card.on {
  background: var(--accent-soft); border-color: rgba(230,199,156,0.4);
  box-shadow: inset 0 0 0 1px rgba(230,199,156,0.2);
}
.onb-card-h { font-weight: 600; font-size: 13.5px; display: flex; align-items: center; gap: 6px; }
.onb-card-d { font-size: 11.5px; color: var(--text-3); line-height: 1.4; }

.onb-actions { display: flex; gap: 10px; margin-top: 24px; }

.onb-right {
  position: relative; overflow: hidden;
  border-left: 1px solid var(--line);
  background: #000;
}
.onb-poster {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  filter: saturate(0.9) contrast(1.1);
}
.onb-poster::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(20,8,4,0.4), transparent 40%, rgba(0,0,0,0.5));
}
.onb-marquee {
  position: absolute; bottom: 24px; left: 24px; right: 24px;
  font-family: var(--serif); font-style: italic; font-size: 22px;
  color: rgba(255,255,255,0.95);
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
  line-height: 1.3;
}
.onb-marquee small { display: block; font-family: var(--sans); font-style: normal; font-size: 12px;
  letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-top: 8px; }

/* ─── DASHBOARD / LIBRARY ─────────────────────────────────── */
.dash { padding: 28px 36px; flex: 1; overflow-y: auto;
  display: flex; flex-direction: column; gap: 24px; }
.dash-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.dash-h-l h1 { font-family: var(--serif); font-size: 36px; font-weight: 400;
  letter-spacing: -0.01em; margin: 0 0 4px; }
.dash-h-l h1 em { font-style: italic; color: var(--accent); }
.dash-h-l p { color: var(--text-3); font-size: 13px; margin: 0; }

.kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.kpi {
  padding: 14px 16px; background: var(--bg-1); border: 1px solid var(--line);
  border-radius: 12px;
}
.kpi-k { font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--text-3); font-weight: 600; }
.kpi-v { font-family: var(--serif); font-size: 30px; line-height: 1; margin-top: 6px; color: var(--text); }
.kpi-v small { font-family: var(--sans); font-size: 12px; color: var(--text-3); margin-left: 4px; }
.kpi-bar { margin-top: 10px; height: 24px; display: flex; align-items: end; gap: 2px; }
.kpi-bar i { flex: 1; background: var(--accent); opacity: 0.6; border-radius: 1px; }

.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.proj-card {
  background: var(--bg-1); border: 1px solid var(--line);
  border-radius: 12px; overflow: hidden; cursor: pointer; transition: 0.15s;
}
.proj-card:hover { border-color: var(--line-2); transform: translateY(-1px); }
.proj-card-thumb {
  height: 140px; background-size: cover; background-position: center;
  background-color: #000; position: relative;
}
.proj-card-thumb::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.5));
}
.proj-card-badge {
  position: absolute; top: 10px; left: 10px;
  padding: 3px 8px; border-radius: 4px; font-family: var(--mono); font-size: 10px;
  background: rgba(0,0,0,0.5); color: #fff; backdrop-filter: blur(8px);
}
.proj-card-dur {
  position: absolute; right: 10px; bottom: 10px;
  font-family: var(--mono); font-size: 10.5px; color: rgba(255,255,255,0.85);
}
.proj-card-body { padding: 12px 14px; }
.proj-card-name { font-size: 13.5px; font-weight: 600; color: var(--text); margin-bottom: 2px; }
.proj-card-meta { font-size: 11px; color: var(--text-3); display: flex; gap: 8px; }
.proj-card-meta b { color: var(--text-2); font-weight: 500; }

/* ─── EMPTY STATES ────────────────────────────────────────── */
.empty-wrap {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 16px;
  padding: 40px;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(230,199,156,0.04), transparent 60%),
    var(--bg);
}
.empty-art { width: 120px; height: 120px; position: relative;
  display: grid; place-items: center; }
.empty-art::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle, var(--accent-soft), transparent 70%);
  filter: blur(10px);
}
.empty-art svg { position: relative; z-index: 1; }
.empty-h {
  font-family: var(--serif); font-size: 28px; font-weight: 400; letter-spacing: -0.01em;
  margin: 0; color: var(--text); text-align: center;
}
.empty-h em { font-style: italic; color: var(--accent); }
.empty-d {
  max-width: 360px; text-align: center; color: var(--text-3); font-size: 13px;
  line-height: 1.5;
}
.empty-actions { display: flex; gap: 10px; margin-top: 6px; }

/* ─── COLOR GRADING ───────────────────────────────────────── */
.color-grid {
  flex: 1; display: grid;
  grid-template-columns: 1fr 320px;
  min-height: 0;
}
.color-stage {
  background: #000; display: flex; align-items: center; justify-content: center;
  position: relative; padding: 32px;
}
.color-compare {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  width: 100%; aspect-ratio: 16/9;
  border-radius: 6px; overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.7);
}
.color-half { position: relative; background-size: cover; background-position: center; }
.color-label {
  position: absolute; top: 10px; left: 10px;
  font-family: var(--mono); font-size: 10px;
  background: rgba(0,0,0,0.6); color: #fff; padding: 3px 6px; border-radius: 3px;
  letter-spacing: 0.06em;
}
.color-panel {
  background: var(--bg-1); border-left: 1px solid var(--line);
  overflow-y: auto; padding: 18px;
  display: flex; flex-direction: column; gap: 16px;
}
.scope {
  height: 90px; background: #000; border-radius: 6px;
  border: 1px solid var(--line); position: relative; overflow: hidden;
}
.wheel-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.wheel {
  aspect-ratio: 1; border-radius: 50%;
  background: conic-gradient(from 90deg, #ff6a4d, #f0c860, #8ad3a7, #5fb6f0, #9c7cff, #e85a9c, #ff6a4d);
  position: relative;
  box-shadow: inset 0 0 0 2px var(--bg-2), inset 0 0 24px rgba(0,0,0,0.5);
}
.wheel::after {
  content: ''; position: absolute; left: 50%; top: 50%;
  width: 8px; height: 8px; border-radius: 50%; background: #fff;
  transform: translate(-50%,-50%);
  box-shadow: 0 0 0 2px rgba(0,0,0,0.5);
}
.wheel.lift::after { transform: translate(-30%,-70%); }
.wheel.gain::after { transform: translate(-70%,-30%); }
.wheel-label { font-size: 10.5px; color: var(--text-3); text-align: center;
  text-transform: uppercase; letter-spacing: 0.06em; margin-top: 6px; }

.lut-row { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; }
.lut {
  flex: 0 0 64px; height: 50px; border-radius: 4px; cursor: pointer;
  position: relative; overflow: hidden; border: 1px solid var(--line);
}
.lut span { position: absolute; bottom: 2px; left: 4px; font-family: var(--mono); font-size: 9px;
  color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,0.8); }
.lut.on { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }

/* ─── AUDIO ───────────────────────────────────────────────── */
.audio-grid {
  flex: 1; display: grid;
  grid-template-columns: 240px 1fr 280px;
  min-height: 0;
}
.audio-tracks { padding: 14px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.audio-track {
  display: flex; align-items: center; gap: 8px; padding: 8px 10px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 8px;
}
.audio-track .name { flex: 1; font-size: 12px; font-weight: 500; }
.audio-track .meta { font-family: var(--mono); font-size: 10px; color: var(--text-3); }
.audio-stage {
  background: var(--bg); padding: 24px;
  display: flex; flex-direction: column; gap: 18px; overflow-y: auto;
}
.wave-block {
  background: var(--bg-1); border: 1px solid var(--line); border-radius: 10px;
  padding: 14px;
}
.wave-block-h { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 12px; }
.wave {
  height: 56px; display: flex; align-items: center; gap: 1px;
}
.wave i { width: 2px; background: var(--accent); border-radius: 1px; opacity: 0.7; }
.audio-fx { padding: 14px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }

/* ─── CAPTIONS ────────────────────────────────────────────── */
.cap-grid {
  flex: 1; display: grid;
  grid-template-columns: 1fr 320px;
  min-height: 0;
}
.cap-list {
  border-right: 1px solid var(--line);
  overflow-y: auto;
  padding: 14px;
  display: flex; flex-direction: column; gap: 4px;
}
.cap-row {
  padding: 12px 14px; border-radius: 8px; cursor: pointer;
  background: var(--bg-1); border: 1px solid transparent;
  display: grid; grid-template-columns: 80px 1fr; gap: 12px;
}
.cap-row:hover { background: var(--bg-2); }
.cap-row.on { background: var(--accent-soft); border-color: rgba(230,199,156,0.3); }
.cap-time { font-family: var(--mono); font-size: 10.5px; color: var(--text-3); padding-top: 1px; }
.cap-text { font-size: 13px; line-height: 1.45; color: var(--text); }
.cap-text mark { background: rgba(230,199,156,0.25); color: var(--text); padding: 0 2px; border-radius: 2px; }
.cap-style { padding: 18px; background: var(--bg-1); display: flex; flex-direction: column; gap: 14px; overflow-y: auto; }

/* ─── DELIVER / EXPORT ────────────────────────────────────── */
.deliver { flex: 1; display: grid; grid-template-columns: 1fr 380px; min-height: 0; }
.deliver-main { padding: 28px 36px; display: flex; flex-direction: column; gap: 18px; overflow-y: auto; }
.deliver-preset {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border-radius: 10px;
  background: var(--bg-1); border: 1px solid var(--line); cursor: pointer; transition: 0.15s;
}
.deliver-preset:hover { border-color: var(--line-2); }
.deliver-preset.on { background: var(--accent-soft); border-color: rgba(230,199,156,0.4); }
.deliver-preset-ico {
  width: 36px; height: 36px; border-radius: 8px; background: var(--bg-3);
  display: grid; place-items: center; color: var(--text-2);
}
.deliver-preset-info { flex: 1; }
.deliver-preset-info b { display: block; font-size: 13px; }
.deliver-preset-info span { font-size: 11px; color: var(--text-3); font-family: var(--mono); }
.deliver-side { background: var(--bg-1); border-left: 1px solid var(--line); padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.deliver-summary { background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; padding: 14px; }
.deliver-summary .row { display: flex; justify-content: space-between; padding: 4px 0; font-size: 12px; }
.deliver-summary .row span:first-child { color: var(--text-3); }
.deliver-summary .row b { font-family: var(--mono); font-weight: 500; }

/* ─── CHAT / VOICEOVER MODAL ──────────────────────────────── */
.modal-stage {
  flex: 1; position: relative;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(20,15,10,0.4), rgba(0,0,0,0.7)),
    var(--bg);
  display: grid; place-items: center; overflow: hidden;
}
.modal-card {
  width: 480px; background: var(--bg-1);
  border: 1px solid var(--line-2); border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.modal-h {
  padding: 18px 20px 12px; display: flex; align-items: center; gap: 10px;
}
.modal-h h2 { margin: 0; font-family: var(--serif); font-size: 22px; font-weight: 400; flex: 1; }
.modal-h h2 em { font-style: italic; color: var(--accent); }
.modal-x { width: 24px; height: 24px; border-radius: 50%; background: var(--bg-2); border: 0;
  color: var(--text-3); cursor: pointer; }

.modal-body { padding: 4px 20px 20px; }
.voice-row {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 8px; margin-bottom: 6px;
  cursor: pointer; transition: 0.15s;
}
.voice-row:hover { border-color: var(--line-2); }
.voice-row.on { background: var(--accent-soft); border-color: rgba(230,199,156,0.4); }
.voice-av {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid; place-items: center; font-weight: 600; color: #1a1208; font-size: 12px;
}
.voice-info { flex: 1; }
.voice-info b { display: block; font-size: 13px; }
.voice-info span { font-size: 11px; color: var(--text-3); }
.voice-wave { display: flex; align-items: center; gap: 1px; height: 18px; }
.voice-wave i { width: 2px; background: var(--accent); border-radius: 1px; opacity: 0.6; }

/* ─── SCRIPT / STORYBOARD ─────────────────────────────────── */
.script {
  flex: 1; display: grid; grid-template-columns: 1.4fr 1fr; min-height: 0;
}
.script-text {
  padding: 28px 36px; overflow-y: auto;
  font-family: 'Geist Mono', monospace; font-size: 13px; line-height: 1.7; color: var(--text-2);
  max-width: 720px;
}
.script-text h3 { font-family: var(--serif); font-size: 22px; font-weight: 400; color: var(--text);
  margin: 24px 0 8px; letter-spacing: -0.01em; }
.script-text .scene { color: var(--text); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.06em; font-size: 11px; padding: 8px 10px; background: var(--bg-2);
  border-left: 2px solid var(--accent); margin: 16px 0 8px; }
.script-text .who { color: var(--accent); text-align: center; margin-top: 10px; }
.script-text .dial { text-align: center; max-width: 360px; margin: 0 auto; color: var(--text); }
.script-text .par { color: var(--text-3); text-align: center; font-style: italic; max-width: 320px; margin: 4px auto; }

.storyboard {
  background: var(--bg-1); border-left: 1px solid var(--line);
  padding: 20px; overflow-y: auto;
  display: flex; flex-direction: column; gap: 12px;
}
.story-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
}
.story-img { aspect-ratio: 16/9; background-size: cover; background-position: center; background-color: #000;
  position: relative; }
.story-img::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.6)); }
.story-num { position: absolute; top: 8px; left: 8px; font-family: var(--mono); font-size: 10px;
  background: rgba(0,0,0,0.7); padding: 2px 6px; border-radius: 3px; color: #fff; }
.story-meta { padding: 8px 10px; font-size: 11px; color: var(--text-3); display: flex; justify-content: space-between; }
.story-meta b { color: var(--text); font-weight: 500; }

/* ─── INSPECTOR / EFFECTS ─────────────────────────────────── */
.insp-grid { flex: 1; display: grid; grid-template-columns: 1fr 360px; min-height: 0; }
.insp-stage { background:
  radial-gradient(ellipse at 50% 30%, rgba(230,199,156,0.04), transparent 60%), var(--bg);
  display: flex; align-items: center; justify-content: center; padding: 28px; }
.insp-side {
  background: var(--bg-1); border-left: 1px solid var(--line); padding: 16px;
  overflow-y: auto;
  display: flex; flex-direction: column; gap: 14px;
}
.insp-prop { display: flex; flex-direction: column; gap: 6px; }
.insp-prop-h { display: flex; justify-content: space-between; font-size: 11px; color: var(--text-3); }
.insp-prop-h b { color: var(--text); font-family: var(--mono); font-weight: 500; }
.insp-slider {
  height: 4px; background: var(--bg-3); border-radius: 2px; position: relative;
}
.insp-slider i {
  position: absolute; top: -4px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--accent); border: 2px solid var(--bg-1);
}
.insp-slider .fill { position: absolute; top: 0; bottom: 0; background: var(--accent); border-radius: 2px; }

/* ─── COMMAND PALETTE ─────────────────────────────────────── */
.cmd-stage { flex: 1; position: relative; background: var(--bg);
  display: flex; align-items: flex-start; justify-content: center;
  padding-top: 100px; overflow: hidden; }
.cmd-stage::before {
  content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.4);
  backdrop-filter: blur(6px);
}
.cmd-card {
  position: relative;
  width: 600px; background: var(--bg-1);
  border: 1px solid var(--line-2); border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.cmd-input {
  display: flex; align-items: center; gap: 10px; padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}
.cmd-input input {
  flex: 1; background: transparent; border: 0; outline: 0;
  color: var(--text); font-family: inherit; font-size: 16px;
}
.cmd-input input::placeholder { color: var(--text-4); }
.cmd-list { padding: 6px; max-height: 360px; overflow-y: auto; }
.cmd-section {
  padding: 8px 12px 4px; font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text-4); font-weight: 600;
}
.cmd-row {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px; border-radius: 7px; cursor: pointer;
  font-size: 13px; color: var(--text);
}
.cmd-row.on { background: var(--bg-3); }
.cmd-row .ico { color: var(--text-3); }
.cmd-row .label { flex: 1; }
.cmd-row .kbd { font-family: var(--mono); font-size: 10.5px; color: var(--text-3);
  padding: 2px 6px; background: var(--bg-3); border-radius: 4px; border: 1px solid var(--line); }

/* ─── RENDER PROGRESS / MODAL ─────────────────────────────── */
.render-card { width: 540px; }
.render-progress {
  height: 8px; background: var(--bg-2); border-radius: 4px; overflow: hidden;
  margin: 18px 0 6px;
}
.render-progress i {
  display: block; height: 100%; width: 73%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 4px;
}
.render-stages { display: flex; flex-direction: column; gap: 4px; margin-top: 12px; }
.render-stage {
  display: flex; align-items: center; gap: 10px; padding: 8px 12px;
  font-size: 12px; color: var(--text-2);
}
.render-stage .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--bg-3); }
.render-stage.done .dot { background: var(--good); }
.render-stage.now .dot { background: var(--accent); animation: pulse 1.5s infinite; }
.render-stage.now { color: var(--text); }
.render-stage .pct { margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--text-3); }

/* ─── COLLAB / CURSORS ────────────────────────────────────── */
.cursor {
  position: absolute;
  display: flex; align-items: flex-start; gap: 4px;
  pointer-events: none;
}
.cursor svg { transform: translate(-2px, -2px); }
.cursor .tag { font-size: 10.5px; padding: 2px 6px; border-radius: 4px; color: #fff;
  margin-top: 12px; margin-left: 0; white-space: nowrap; font-weight: 500; }

/* ─── STYLE TRANSFER / LOOKS GRID ─────────────────────────── */
.looks-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 24px; overflow-y: auto; }
.look {
  position: relative; aspect-ratio: 16/9; border-radius: 8px;
  overflow: hidden; cursor: pointer; transition: 0.15s;
  background-size: cover; background-position: center;
  border: 1px solid var(--line);
}
.look:hover { transform: translateY(-2px); }
.look.on { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
.look-name { position: absolute; left: 10px; bottom: 8px; font-family: var(--serif); font-style: italic;
  font-size: 14px; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,0.8); }
.look-hex { position: absolute; right: 8px; top: 8px; font-family: var(--mono); font-size: 9px;
  background: rgba(0,0,0,0.5); padding: 2px 5px; border-radius: 3px; color: #fff; }

/* shared bottom bar (transport-style) */
.bottombar {
  height: 42px; flex-shrink: 0;
  border-top: 1px solid var(--line);
  background: var(--bg-1);
  display: flex; align-items: center; gap: 16px; padding: 0 16px;
  font-size: 11px; color: var(--text-3); font-family: var(--mono);
}

/* helper: prompt big input for prompt-only screen */
.bigprompt-stage {
  flex: 1; display: flex; align-items: center; justify-content: center;
  padding: 40px;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(230,199,156,0.06), transparent 60%),
    var(--bg);
}
.bigprompt {
  width: min(720px, 100%); padding: 20px; border-radius: 16px;
  background: var(--bg-1); border: 1px solid var(--line-2);
  display: flex; flex-direction: column; gap: 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.bigprompt textarea {
  background: transparent; border: 0; outline: 0; resize: none;
  color: var(--text); font-family: var(--serif); font-style: italic;
  font-size: 22px; line-height: 1.4; min-height: 90px;
  letter-spacing: -0.01em;
}
.bigprompt textarea::placeholder { color: var(--text-4); }
.bigprompt-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.bp-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px;
  border-radius: 8px; background: var(--bg-2); border: 1px solid var(--line);
  font-size: 12px; color: var(--text-2); cursor: pointer;
}
.bp-chip:hover { background: var(--bg-3); color: var(--text); }
.bp-chip.on { background: var(--accent-soft); color: var(--text); border-color: rgba(230,199,156,0.3); }
.bigprompt-bottom { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.bigprompt-bottom .spacer { flex: 1; }

/* gallery / variations */
.var-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 18px; overflow-y: auto; }
.var-card {
  position: relative; aspect-ratio: 16/9; border-radius: 8px; overflow: hidden;
  background-size: cover; background-position: center;
  border: 1px solid var(--line); cursor: pointer;
}
.var-card:hover { border-color: var(--line-2); }
.var-card.pick { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
.var-num { position: absolute; top: 8px; left: 8px; font-family: var(--mono); font-size: 10px;
  background: rgba(0,0,0,0.6); padding: 2px 6px; border-radius: 3px; color: #fff; }
.var-meta { position: absolute; bottom: 8px; left: 8px; right: 8px;
  font-family: var(--mono); font-size: 10px; color: rgba(255,255,255,0.85);
  display: flex; justify-content: space-between; }

/* media library */
.lib-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 20px; overflow-y: auto; }
.lib-tile {
  position: relative; aspect-ratio: 16/9; border-radius: 6px; overflow: hidden;
  background-size: cover; background-position: center;
  background-color: #000;
  border: 1px solid var(--line);
}
.lib-tile-meta { position: absolute; left: 6px; bottom: 6px; font-family: var(--mono); font-size: 9px;
  color: rgba(255,255,255,0.85); background: rgba(0,0,0,0.6); padding: 1px 4px; border-radius: 2px; }
.lib-tile.ai::before {
  content: 'AI'; position: absolute; top: 6px; left: 6px; font-family: var(--mono); font-size: 9px;
  background: var(--accent); color: #1a1208; padding: 1px 5px; border-radius: 3px; font-weight: 600;
}
.lib-side {
  width: 200px; padding: 16px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px;
  background: var(--bg-1);
}
.lib-side-h { font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-4);
  font-weight: 600; padding: 12px 8px 6px; }

.facet { padding: 6px 10px; border-radius: 6px; font-size: 12px; color: var(--text-2); cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; }
.facet:hover { background: var(--bg-2); color: var(--text); }
.facet.on { background: var(--bg-2); color: var(--text); }
.facet .num { font-family: var(--mono); font-size: 10px; color: var(--text-4); }

/* small section header for inside screens */
.sh { font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text-3); font-weight: 600; margin: 10px 0 6px; }
