#seo-control, #seo-report, #home-studio { min-width: 0; }
.seo-console, .seo-module, .seo-kpi, .home-studio-preview {
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--paper);
  padding: clamp(14px, 2vw, 22px);
  margin-block: 12px;
}
.seo-console h3, .seo-module h4, .home-studio-preview h4 { margin: 0 0 8px; }
.seo-dashboard, .seo-settings-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 205px), 1fr)); gap: 10px; }
.seo-kpi { margin: 0; }
.seo-kpi strong { display: block; font-size: clamp(1.5rem, 3vw, 2rem); color: var(--wine); }
.seo-kpi small, .seo-muted { opacity: .8; overflow-wrap: anywhere; }
.seo-settings-grid > * { min-width: 0; }
.seo-connection { display: grid; grid-template-columns: max-content minmax(0,1fr); gap: 5px 12px; font-size: .9rem; }
.seo-connection dd { margin: 0; overflow-wrap: anywhere; }
.seo-job-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 10px; }
.seo-job-actions .btn { margin: 0; white-space: normal; }
.seo-query { border-block-end: 1px solid var(--line); padding-block: 8px; }
.seo-query progress { display: block; width: 100%; height: 8px; accent-color: var(--wine); margin-block: 5px; }
.home-studio-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.home-studio-fields { min-width: 0; }
.home-studio-preview { margin-block: 0; }
.home-stage { position: relative; isolation: isolate; min-height: 13rem; overflow: hidden; border-radius: 12px; background: #302823; color: white; }
.home-stage > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .48; z-index: -1; }
.home-stage-copy { padding: 18px; overflow-wrap: anywhere; }
.home-stage h3 { margin-block: 8px; }
.home-studio-preview video, .home-studio-preview > img { width: 100%; max-height: 200px; object-fit: cover; border-radius: 9px; margin-top: 10px; }
.home-stage-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; margin-block: 10px; }
.home-stage-cards figure { margin: 0; font-size: .8rem; }
.home-stage-cards img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.font-serif h1, .font-serif h3 { font-family: Georgia, serif; }
.font-sans h1, .font-sans h3 { font-family: system-ui, sans-serif; }
.font-slab h1, .font-slab h3 { font-family: "Courier New", monospace; }
.hero.home-edited { position: relative; isolation: isolate; overflow: hidden; }
.hero.home-edited h1 { overflow-wrap: anywhere; }
.hero.home-edited.size-small h1 { font-size: clamp(2.2rem, 6vw, 4.5rem); }
.hero.home-edited.size-normal h1 { font-size: clamp(2.6rem, 8vw, 5.8rem); }
.hero.home-edited.size-large h1 { font-size: clamp(3rem, 10vw, 7rem); }
.home-stage.size-small h3 { font-size: 1.45rem; }
.home-stage.size-normal h3 { font-size: 1.8rem; }
.home-stage.size-large h3 { font-size: 2.25rem; }
.home-bg-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; z-index: -1; pointer-events: none; }
.home-bg-video.is-playing { opacity: .22; }
@media (max-width: 750px) { .home-studio-form { grid-template-columns: 1fr; } .home-studio-preview { grid-row: 1; } }
@media (prefers-reduced-motion: reduce) { .home-bg-video { display: none; } }
