.gateway-channels{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr));gap:20px;margin:20px 0}.gateway-channel{margin:0}.gateway-channel h2{margin-top:8px}.gateway-channel dl{display:grid;grid-template-columns:100px 1fr;gap:12px;font-size:13px}.gateway-channel dt{color:var(--muted)}.gateway-channel dd{margin:0;overflow-wrap:anywhere}.channel-toggle{display:flex;align-items:center;gap:8px;border:1px solid var(--line,#e8e8ea);background:#f3f3f5;border-radius:22px;padding:8px 12px;white-space:nowrap;font-size:12px;cursor:pointer}.channel-toggle span{width:12px;height:12px;border-radius:50%;background:#a3a3aa}.channel-toggle.on{background:#fff0ed;border-color:#ffc8ba;color:#d83e2e}.channel-toggle.on span{background:#f34b35}.gateway-intro{display:flex;gap:18px;align-items:center;justify-content:space-between;font-size:13px;color:var(--muted)}.gateway-check{display:inline-flex;gap:8px;align-items:center;padding:10px 6px;font-size:14px}.gateway-check input{width:auto}.gateway-job{display:flex;justify-content:space-between;gap:20px;padding:18px 0;border-top:1px solid var(--line,#eee)}.gateway-job p{overflow-wrap:anywhere;font-size:13px}.gateway-job small{display:block;margin-top:8px;color:var(--muted)}.gateway-job span{font-size:12px}.generation-job{padding:20px;border-bottom:1px solid var(--line,#eee)}.generation-job>.muted{white-space:pre-wrap;overflow-wrap:anywhere;max-height:96px;overflow:auto;font-size:13px}.generation-output-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(180px,100%),1fr));gap:12px}.generation-output-grid figure{margin:0;min-width:0}.generation-output-grid img{width:100%;max-height:460px;object-fit:contain;display:block;background:#f5f5f5;border-radius:8px;margin-bottom:10px}.generation-history-panel{margin-top:24px}.generation-history-panel .generation-output-grid{grid-template-columns:repeat(auto-fill,minmax(min(180px,100%),240px))}@media(max-width:600px){.gateway-intro,.gateway-job{flex-direction:column;align-items:flex-start}.gateway-channel dl{grid-template-columns:80px 1fr}.gateway-channel{padding:16px}.gateway-channel .section-top{gap:12px}.generation-job{padding:12px}.gateway-channels{gap:12px}}

.generator-controls .generator-options {
  grid-template-columns: minmax(0, 1fr);
}
.generation-output-grid .generation-pixels {
  margin: 6px 0 8px;
}
