
/* Minimal presentation */
:root {
  font-size: 17px;
  --accent: #07579c;
  --accent-dark: #06477f;
  --soft: #f8f8f8;
  --border: #d8d8d8;
}

.topbar, main, footer { max-width: 700px; }
.topbar { min-height: 54px; display: flex; justify-content: space-between; }
.brand-mark, .top-meta { display: none; }
.brand { font-size: .85rem; letter-spacing: 0; }
.about-button { font-size: .72rem; }
.about-button span { display: none; }

.hero { padding: 3.2rem 0 1.8rem; }
.eyebrow { display: none; }
h1 { font-size: clamp(2.25rem, 7vw, 3rem); }
.hero > p { max-width: 480px; margin: .65rem auto 0; font-size: .98rem; }

.workspace { padding-bottom: 3rem; }
.drop-zone { min-height: 290px; padding: 1.5rem; border-style: solid; background: #fff; }
.drop-zone:hover, .drop-zone.dragging { background: var(--soft); }
.drop-icon { width: auto; height: auto; margin: 0 0 .6rem; border-radius: 0; background: transparent; color: var(--accent); font-size: 1.6rem; }
.drop-zone h2 { font-size: 1.15rem; }
.drop-zone > p { font-size: .82rem; }
.drop-zone .file-note { margin-top: .8rem; font-size: .64rem; }
.demo-divider { margin: 1.4rem 0 .25rem; }
.demo-button { font-size: .78rem; font-weight: 400; }

.section-index { margin-bottom: .1rem; text-transform: none; font-size: .66rem; }
.image-actions {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 1fr));
  gap: .55rem;
  margin-bottom: 1.25rem;
}
.image-action {
  min-height: 54px;
  padding: .65rem .85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  border: 1px solid var(--border);
  border-top: 0;
  border-radius: 2px;
  background: #fff;
  color: var(--accent);
  cursor: pointer;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .025em;
}
.image-action b { font-size: 1rem; font-weight: 400; line-height: 1; }
.image-action:hover { border-color: var(--accent); background: #f0f6fb; }
.image-action-upload { border-color: var(--accent); }
.image-action.copied { border-color: var(--accent); background: #f0f6fb; }
.editor-head { margin-bottom: .5rem; }
.editor-head h2 { font-size: 1rem; }
.canvas-shell { height: min(68vw, 510px); }
.canvas-label { display: none; }
.compare-hint { margin-bottom: 1.6rem; }

.variants-head { margin-bottom: .45rem; }
.variants-head h3 { font-size: 1rem; font-weight: 600; }
.variant-grid { gap: .4rem; margin-bottom: 1.75rem; }
.variant { border-radius: 0; }
.variant.selected { outline-width: 1px; outline-offset: 0; }

.controls-grid { gap: .8rem; }
.control-panel { padding: 1rem 0; border-width: 1px 0 0; background: #fff; }
.panel-title { margin-bottom: .6rem; }
.effect-row { border-color: #e4e4e4; }
.effect-custom-label { color: var(--muted); font-size: .68rem; font-style: italic; }
.effect-advanced {
  display: none;
  margin: -.4rem 0 .2rem;
  border: 1px solid #e4e4e4;
  border-top: 0;
  background: var(--soft);
}
.effect-chain.show-advanced .effect-advanced { display: block; }
.effect-advanced.disabled { opacity: .45; }
.effect-options {
  padding: .7rem .65rem .7rem 2.6rem;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(115px, 1fr)); gap: .75rem; align-items: end;
}
.effect-options label { display: grid; gap: .2rem; color: var(--muted); font-size: .68rem; }
.effect-options label span { display: flex; align-items: center; gap: .25rem; white-space: nowrap; }
.effect-options input[type="number"] {
  min-width: 0; width: 100%; height: 32px; padding: .2rem .45rem; border: 1px solid var(--border); border-radius: 2px; background: #fff; color: #000;
  font-size: .78rem;
}
.reroll-effect { height: 32px; padding: 0 .65rem; border: 1px solid var(--border); border-radius: 2px; background: #fff; color: var(--accent); cursor: pointer; font-size: .68rem; white-space: nowrap; }
.reroll-effect:hover { border-color: var(--accent); background: #f0f6fb; }
.advanced-toggle {
  width: 100%; height: 34px; margin-top: .6rem; border: 0; background: transparent; color: var(--accent); cursor: pointer;
  font-size: .66rem; font-weight: 600;
}
.advanced-toggle:hover { background: #f0f6fb; }
.advanced-toggle:disabled { opacity: .4; cursor: default; }
.add-effect { background: #fff; margin-top: .25rem; }

.action-row { margin-top: .75rem; }
.results-actions { margin: -1rem 0 1.75rem; }
.mutate-button, .icon-button, .download-button { min-height: 44px; }
.mutate-button { min-width: 215px; }
.download-button { min-width: 145px; }

.manifesto { display: none; }
footer { padding: 1.15rem 0; }
footer span:nth-child(2) { display: none; }

dialog { box-shadow: 0 12px 40px rgba(0,0,0,.12); }
dialog h2 { font-size: 1rem; font-weight: 400; line-height: 1.6; }

@media (max-width: 600px) {
  .hero { padding: 2.5rem 0 1.5rem; }
  .drop-zone { min-height: 260px; }
  .image-actions { gap: .35rem; margin-bottom: 1rem; }
  .image-action { min-height: 48px; padding: .5rem .3rem; gap: .3rem; font-size: .62rem; }
  .image-action b { font-size: .85rem; }
  .signal-stats span, .signal-stats i { display: none; }
  .variant-grid { gap: .5rem; }
  .effect-options { padding-left: .5rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reroll-effect { grid-column: 1 / -1; }
  .mutate-button { min-width: 0; }
}
