.idea-machine-shell { padding-bottom: 44px; }
.idea-machine { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(240px, 1fr); border: 1px solid var(--ink); background: #e9e4f1; }
.idea-copy { padding: 29px 32px 22px; min-width: 0; }
.idea-copy > .eyebrow { display: flex; align-items: center; gap: 9px; font-size: 8px; }
.idea-spark { width: 16px; height: 16px; color: var(--ink); flex-shrink: 0; shape-rendering: crispEdges; }
.idea-local { margin-left: auto; font: 7px var(--mono); border: 1px solid #24282044; padding: 5px 6px; white-space: nowrap; }
.idea-copy h2 { font-size: clamp(27px, 3vw, 39px); margin: 22px 0 10px; }
.idea-copy > p { font-size: 12px; line-height: 1.6; color: var(--muted); }
.idea-prompt-row { display: flex; gap: 7px; margin-top: 22px; }
#idea-prompt { min-width: 0; width: 100%; border: 1px solid var(--ink); padding: 12px; border-radius: 0; background: var(--paper); color: var(--ink); font: 12px/1.4 var(--font); }
.idea-prompt-row .button { padding: 12px 14px; gap: 15px; font-size: 12px; white-space: nowrap; flex-shrink: 0; }
.idea-prompt-row .icon { width: 16px; height: 16px; }
.idea-examples { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 12px; }
.idea-examples > span { font: 7px var(--mono); margin-right: 3px; }
.idea-examples button { font-size: 10px; line-height: 1.3; border: 1px solid #24282033; padding: 6px 7px; background: transparent; transition: background .2s, border-color .2s; }
.idea-examples button:hover { border-color: var(--ink); background: var(--paper); }
.idea-examples #idea-surprise { border-color: transparent; margin-left: 2px; text-decoration: underline; text-underline-offset: 3px; }
.idea-copy > .idea-vocabulary { font-size: 10px; line-height: 1.7; max-width: 520px; margin-top: 18px; }
.idea-output { display: flex; flex-direction: column; align-items: center; padding: 18px 22px 20px; border-left: 1px solid var(--ink); background: #f5f5ef80; }
.idea-output-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; }
.idea-output-top > .mini-label { font-size: 6px; white-space: nowrap; }
.idea-remix { display: flex; align-items: center; gap: 5px; font-size: 10px; padding: 5px; }
.idea-remix .icon { width: 13px; height: 13px; }
.idea-remix:hover { background: var(--accent); }
.idea-preview { width: 144px; height: 144px; margin: 16px 0 10px; background: conic-gradient(#f5f5ef 25%, #fff 0 50%, #f5f5ef 0 75%, #fff 0) 0 0 / 18px 18px; }
.idea-preview svg { display: block; width: 100%; height: 100%; image-rendering: pixelated; }
.idea-preview.pop { animation: idea-pop .25s steps(4, end); }
.idea-result { font: 7px/1.5 var(--mono); text-align: center; text-transform: uppercase; color: var(--muted); min-height: 22px; max-width: 270px; }
.idea-output-actions { display: flex; width: 100%; gap: 6px; margin-top: auto; padding-top: 10px; }
.idea-output-actions button { display: flex; justify-content: center; align-items: center; flex: 1; gap: 7px; border: 1px solid var(--ink); padding: 9px 7px; background: var(--paper); font-size: 10px; white-space: nowrap; }
.idea-output-actions button:hover { background: var(--accent); }
.idea-output-actions button:last-child { background: var(--ink); color: var(--paper); }
.idea-output-actions button:last-child:hover { background: #41453c; }
.idea-output-actions .icon, .idea-output-actions .idea-spark { width: 13px; height: 13px; color: currentColor; }
.idea-status { grid-column: 1 / -1; padding: 10px 20px; font-size: 10px; line-height: 1.5; border-top: 1px solid #24282033; color: var(--muted); background: var(--paper); }
@keyframes idea-pop { 0% { transform: scale(.86); } 65% { transform: scale(1.04); } 100% { transform: scale(1); } }
.motion-off .idea-preview.pop { animation: none; }
@media (prefers-reduced-motion: reduce) { .idea-preview.pop { animation: none; } }
@media (max-width: 1050px) {
  .idea-copy { padding: 24px 22px 20px; }
  .idea-prompt-row { flex-wrap: wrap; }
  .idea-prompt-row .button { width: 100%; justify-content: space-between; }
  .idea-output { padding: 18px 14px; }
  .idea-output-actions { flex-direction: column; }
}
@media (max-width: 740px) {
  .idea-machine-shell { padding-bottom: 28px; }
  .idea-machine { grid-template-columns: 1fr; }
  .idea-copy { padding: 22px 18px 18px; }
  .idea-copy > .eyebrow { gap: 7px; font-size: 6px; }
  .idea-local { font-size: 6px; }
  .idea-copy h2 { font-size: 30px; margin-top: 18px; }
  #idea-prompt { font-size: 16px; }
  .idea-prompt-row .button { font-size: 12px; }
  .idea-copy > .idea-vocabulary { font-size: 10px; }
  .idea-output { border-left: 0; border-top: 1px solid var(--ink); padding: 15px 18px 18px; }
  .idea-output-top > .mini-label { font-size: 7px; }
  .idea-output-actions { flex-direction: row; max-width: 350px; }
  .idea-output-actions button { padding: 12px 7px; font-size: 11px; }
  .idea-status { padding: 12px 18px; }
}
