/* Seoffix Tech Lab - Logo Brand-Kit Studio. Token-only: every colour comes from seoffix-web-tokens.css. */
.lgs-page { max-width: 1480px; margin: 0 auto; padding: var(--sfx-space-6) var(--sfx-space-5) 56px; color: var(--sfx-ink); }
.lgs-hero { padding: var(--sfx-space-4) 0 var(--sfx-space-5); }
.lgs-eyebrow { margin: 0 0 var(--sfx-space-1); font-size: var(--sfx-fs-label); letter-spacing: .08em; text-transform: uppercase; color: var(--sfx-primary); font-weight: 600; }
.lgs-hero h1 { margin: 0 0 var(--sfx-space-2); font-family: var(--sfx-font-brand); font-size: clamp(26px, 3.4vw, 38px); line-height: 1.15; color: var(--sfx-ink); }
.lgs-lead { margin: 0; max-width: 760px; font-size: 15px; line-height: 1.55; color: var(--sfx-ink-secondary); }
.lgs-app { display: block; }
.lgs-ico { width: 16px; height: 16px; flex: none; }

.lgs-studio-tabs { display: flex; gap: var(--sfx-space-1); flex-wrap: wrap; border-bottom: 1px solid var(--sfx-border); margin-bottom: var(--sfx-space-4); }
.lgs-tab { appearance: none; background: none; border: 0; border-bottom: 2px solid transparent; padding: 10px 14px; font-size: 13px; font-weight: 600; color: var(--sfx-muted); cursor: pointer; margin-bottom: -1px; }
.lgs-tab:hover { color: var(--sfx-ink); }
.lgs-tab.is-on { color: var(--sfx-primary); border-bottom-color: var(--sfx-primary); }
.lgs-tab:focus-visible, .lgs-mode-btn:focus-visible, .lgs-stepbtn:focus-visible, .lgs-chip:focus-visible, .lgs-style-card:focus-visible, .lgs-mood-card:focus-visible, .lgs-card-art:focus-visible, .lgs-seg-btn:focus-visible, .lgs-icon-btn:focus-visible, .lgs-swatch:focus-visible { outline: 2px solid var(--sfx-primary); outline-offset: 2px; }

.lgs-panel { background: var(--sfx-card-bg); border: 1px solid var(--sfx-border); border-radius: var(--sfx-radius-card); box-shadow: var(--sfx-shadow-card); padding: var(--sfx-space-6); }
.lgs-panel h2 { margin: 0 0 var(--sfx-space-1); font-size: 18px; color: var(--sfx-ink); }
.lgs-hint { margin: var(--sfx-space-2) 0 0; font-size: 12px; color: var(--sfx-muted); line-height: 1.5; }
.lgs-banner { display: flex; align-items: center; justify-content: space-between; gap: var(--sfx-space-3); flex-wrap: wrap; background: var(--sfx-primary-soft); border: 1px solid var(--sfx-primary); border-radius: var(--sfx-radius-card); padding: var(--sfx-space-3) var(--sfx-space-4); margin-bottom: var(--sfx-space-4); font-size: 13px; }
.lgs-banner[hidden] { display: none; }
.lgs-banner-actions { display: flex; gap: var(--sfx-space-2); }

.lgs-mode { display: inline-flex; background: var(--sfx-subtle-bg); border-radius: var(--sfx-radius-ctrl); padding: 3px; margin-bottom: var(--sfx-space-5); }
.lgs-mode-btn { appearance: none; border: 0; background: none; padding: 7px 14px; border-radius: var(--sfx-radius-ctrl); font-size: 13px; font-weight: 600; color: var(--sfx-muted); cursor: pointer; }
.lgs-mode-btn.is-on { background: var(--sfx-card-bg); color: var(--sfx-ink); box-shadow: var(--sfx-shadow-tab); }

.lgs-stepper { display: flex; gap: var(--sfx-space-2); flex-wrap: wrap; list-style: none; margin: 0 0 var(--sfx-space-5); padding: 0; }
.lgs-stepbtn { appearance: none; display: inline-flex; align-items: center; gap: var(--sfx-space-2); border: 1px solid var(--sfx-border); background: var(--sfx-card-bg); color: var(--sfx-muted); padding: 7px 12px; border-radius: var(--sfx-radius-pill); font-size: 12px; font-weight: 600; cursor: pointer; }
.lgs-stepbtn span { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: var(--sfx-radius-pill); background: var(--sfx-subtle-bg); font-size: 11px; }
.lgs-stepbtn.is-on { color: var(--sfx-primary); border-color: var(--sfx-primary); }
.lgs-stepbtn.is-on span { background: var(--sfx-primary); color: var(--sfx-studio-light); }
.lgs-step[hidden], #lgs-guided[hidden], #lgs-prompt[hidden], .lgs-tabpanel[hidden], .lgs-results[hidden], .lgs-modal[hidden] { display: none; }

.lgs-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: var(--sfx-space-4); }
.lgs-field label, .lgs-label, .lgs-slider label { font-size: 12px; font-weight: 600; color: var(--sfx-ink-secondary); display: flex; justify-content: space-between; gap: var(--sfx-space-2); }
.lgs-opt { font-weight: 400; color: var(--sfx-muted); }
.lgs-field input[type="text"], .lgs-field input[type="search"], .lgs-field select, .lgs-field textarea { width: 100%; box-sizing: border-box; background: var(--sfx-card-bg); color: var(--sfx-ink); border: 1px solid var(--sfx-border); border-radius: var(--sfx-radius-ctrl); padding: 9px 11px; font-size: 14px; }
.lgs-field textarea { resize: vertical; line-height: 1.5; }
.lgs-field input:focus, .lgs-field select:focus, .lgs-field textarea:focus { outline: 2px solid var(--sfx-primary); outline-offset: 0; border-color: var(--sfx-primary); }
.lgs-err { margin: 0; font-size: 12px; color: var(--sfx-red); }
.lgs-err[hidden] { display: none; }
.lgs-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sfx-space-4); }
.lgs-actions { display: flex; gap: var(--sfx-space-2); flex-wrap: wrap; margin-top: var(--sfx-space-4); }
.lgs-actions .sfx-btn, .lgs-ed-head-actions .sfx-btn, .lgs-export .sfx-btn, .lgs-tool-row .sfx-btn { display: inline-flex; align-items: center; gap: 6px; }
.sfx-btn.is-busy { opacity: .6; cursor: progress; }
.sfx-btn:disabled { opacity: .5; cursor: not-allowed; }

.lgs-chips, .lgs-examples { display: flex; flex-wrap: wrap; gap: var(--sfx-space-2); }
.lgs-chip { appearance: none; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 5px; background: var(--sfx-card-bg); border: 1px solid var(--sfx-border); border-radius: var(--sfx-radius-pill); font-size: 12px; color: var(--sfx-ink-secondary); cursor: pointer; }
.lgs-examples .lgs-chip { padding: 6px 12px; }
.lgs-chip svg { background: var(--sfx-studio-light); border-radius: 6px; padding: 2px; }
.lgs-chip:hover { border-color: var(--sfx-primary); }
.lgs-chip.is-on { border-color: var(--sfx-primary); background: var(--sfx-primary-soft); color: var(--sfx-ink); }
.lgs-empty { font-size: 12px; color: var(--sfx-muted); margin: 0; }

.lgs-style-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: var(--sfx-space-3); }
.lgs-style-card { appearance: none; display: flex; flex-direction: column; gap: 4px; text-align: left; padding: var(--sfx-space-2); background: var(--sfx-card-bg); border: 1px solid var(--sfx-border); border-radius: var(--sfx-radius-card); cursor: pointer; color: var(--sfx-ink); }
.lgs-style-card:hover { border-color: var(--sfx-primary); }
.lgs-style-card.is-on { border-color: var(--sfx-primary); box-shadow: 0 0 0 1px var(--sfx-primary); }
.lgs-style-art { display: flex; align-items: center; justify-content: center; height: 84px; background: var(--sfx-studio-light); border-radius: var(--sfx-radius-ctrl); overflow: hidden; }
.lgs-style-art svg { width: 100%; height: 100%; }
.lgs-style-name { font-weight: 600; font-size: 13px; padding: 0 4px; }
.lgs-style-desc { font-size: 11px; color: var(--sfx-muted); padding: 0 4px 4px; }
.lgs-mood-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: var(--sfx-space-3); }
.lgs-mood-card { appearance: none; display: flex; flex-direction: column; gap: var(--sfx-space-2); align-items: flex-start; padding: var(--sfx-space-3); background: var(--sfx-card-bg); border: 1px solid var(--sfx-border); border-radius: var(--sfx-radius-card); cursor: pointer; color: var(--sfx-ink); font-size: 13px; font-weight: 600; }
.lgs-mood-card:hover { border-color: var(--sfx-primary); }
.lgs-mood-card.is-on { border-color: var(--sfx-primary); box-shadow: 0 0 0 1px var(--sfx-primary); }
.lgs-dots { display: flex; }
.lgs-dots i { width: 26px; height: 26px; border-radius: var(--sfx-radius-pill); border: 2px solid var(--sfx-card-bg); margin-right: -6px; }

.lgs-results { margin-top: var(--sfx-space-6); }
.lgs-results-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--sfx-space-3); flex-wrap: wrap; margin-bottom: var(--sfx-space-4); }
.lgs-results-head h2 { margin: 0; font-size: 20px; color: var(--sfx-ink); }
.lgs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: var(--sfx-space-4); }
.lgs-card { background: var(--sfx-card-bg); border: 1px solid var(--sfx-border); border-radius: var(--sfx-radius-card); overflow: hidden; box-shadow: var(--sfx-shadow-card); }
.lgs-card:hover { border-color: var(--sfx-primary); }
.lgs-card-art { appearance: none; display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 4 / 3; padding: var(--sfx-space-3); border: 0; cursor: pointer; box-sizing: border-box; }
.lgs-card-art svg { width: 100%; height: 100%; display: block; }
.lgs-card-foot { display: flex; align-items: center; justify-content: space-between; padding: var(--sfx-space-2) var(--sfx-space-3); font-size: 12px; color: var(--sfx-muted); border-top: 1px solid var(--sfx-border); }
.lgs-link { appearance: none; background: none; border: 0; color: var(--sfx-primary); font-size: 12px; font-weight: 600; cursor: pointer; padding: 0; }

.lgs-tool-row { display: flex; align-items: flex-end; flex-wrap: wrap; gap: var(--sfx-space-4); margin-top: var(--sfx-space-4); }
.lgs-tool-row .lgs-field { margin: 0; min-width: 180px; }
.lgs-file { display: inline-flex; align-items: center; gap: var(--sfx-space-2); padding: 9px 14px; border: 1px dashed var(--sfx-primary); border-radius: var(--sfx-radius-ctrl); color: var(--sfx-primary); font-weight: 600; font-size: 13px; cursor: pointer; }
.lgs-file input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.lgs-file:focus-within { outline: 2px solid var(--sfx-primary); outline-offset: 2px; }
.lgs-stage { margin-top: var(--sfx-space-3); min-height: 200px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--sfx-border); border-radius: var(--sfx-radius-card); overflow: auto; padding: var(--sfx-space-3); background: var(--sfx-subtle-bg); }
.lgs-stage canvas, .lgs-stage svg { max-width: 100%; height: auto; }
.lgs-stage.is-checker, .lgs-preview.is-checker { background-color: var(--sfx-studio-light); background-image: conic-gradient(var(--sfx-border) 25%, transparent 0 50%, var(--sfx-border) 0 75%, transparent 0); background-size: 20px 20px; }

.lgs-seg { display: inline-flex; background: var(--sfx-subtle-bg); border-radius: var(--sfx-radius-ctrl); padding: 3px; flex-wrap: wrap; }
.lgs-seg-btn { appearance: none; border: 0; background: none; padding: 6px 12px; border-radius: var(--sfx-radius-ctrl); font-size: 12px; font-weight: 600; color: var(--sfx-muted); cursor: pointer; }
.lgs-seg-btn.is-on, .lgs-seg-btn[aria-pressed="true"] { background: var(--sfx-card-bg); color: var(--sfx-ink); box-shadow: var(--sfx-shadow-tab); }

.lgs-faq { margin-top: 40px; max-width: 860px; }
.lgs-faq h2 { font-size: 20px; margin: 0 0 var(--sfx-space-3); }
.lgs-faq-item { border-bottom: 1px solid var(--sfx-border); padding: var(--sfx-space-3) 0; }
.lgs-faq-item summary { cursor: pointer; font-weight: 600; font-size: 14px; color: var(--sfx-ink); }
.lgs-faq-item p { margin: var(--sfx-space-2) 0 0; color: var(--sfx-ink-secondary); font-size: 13px; line-height: 1.6; }

/* ---------- editor ---------- */
body.lgs-lock { overflow: hidden; }
.lgs-modal { position: fixed; inset: 0; z-index: 1000; }
.lgs-ed { position: absolute; inset: 0; display: flex; flex-direction: column; background: var(--sfx-canvas); color: var(--sfx-ink); }
.lgs-ed-head { display: flex; align-items: center; gap: var(--sfx-space-3); padding: var(--sfx-space-3) var(--sfx-space-5); background: var(--sfx-card-bg); border-bottom: 1px solid var(--sfx-border); flex-wrap: wrap; }
.lgs-ed-head h2 { margin: 0; font-size: 16px; }
.lgs-ed-head-actions { margin-left: auto; display: flex; gap: var(--sfx-space-2); flex-wrap: wrap; }
.lgs-pill { font-size: 11px; padding: 3px 9px; border-radius: var(--sfx-radius-pill); background: var(--sfx-green-soft); color: var(--sfx-ink-secondary); font-weight: 600; }
.lgs-ed-body { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 400px; }
.lgs-ed-left { overflow-y: auto; padding: var(--sfx-space-5); }
.lgs-ed-right { overflow-y: auto; padding: var(--sfx-space-4); background: var(--sfx-card-bg); border-left: 1px solid var(--sfx-border); }
.lgs-preview { min-height: 340px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--sfx-border); border-radius: var(--sfx-radius-card); padding: var(--sfx-space-6); }
.lgs-preview svg { width: min(100%, 680px); height: auto; max-height: 460px; display: block; }
.lgs-lab h3, .lgs-mocks h3 { margin: var(--sfx-space-5) 0 var(--sfx-space-3); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--sfx-muted); }
.lgs-lab-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sfx-space-3); }
.lgs-lab-tile { margin: 0; }
.lgs-lab-box { height: 112px; display: flex; align-items: center; justify-content: center; gap: var(--sfx-space-3); border: 1px solid var(--sfx-border); border-radius: var(--sfx-radius-card); background: var(--sfx-studio-light); overflow: hidden; padding: var(--sfx-space-2); box-sizing: border-box; }
.lgs-lab-tile:nth-child(3) .lgs-lab-box { background: var(--sfx-studio-dark); }
.lgs-lab-box img { max-width: 100%; max-height: 96px; width: auto; }
.lgs-lab-box .lgs-fav16 { width: 16px; height: 16px; }
.lgs-lab-box .lgs-fav32 { width: 32px; height: 32px; }
.lgs-lab-tile figcaption, .lgs-mock figcaption { margin-top: 6px; font-size: 11px; color: var(--sfx-muted); text-align: center; }
.lgs-mock-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sfx-space-3); }
.lgs-mock { margin: 0; min-width: 0; }
.lgs-mock-stage { aspect-ratio: 16 / 10; overflow: hidden; border: 1px solid var(--sfx-border); border-radius: var(--sfx-radius-card); background: var(--sfx-studio-soft); display: flex; align-items: center; justify-content: center; position: relative; container-type: inline-size; }

.lgs-m-card { width: 80%; aspect-ratio: 1.75; background: var(--sfx-studio-light); border-radius: 5px; box-shadow: var(--sfx-shadow-tooltip); display: flex; align-items: center; gap: 4cqw; padding: 4cqw; overflow: hidden; box-sizing: border-box; color: var(--sfx-studio-dark); }
.lgs-m-logo { flex: 0 0 52%; max-width: 52%; max-height: 90%; object-fit: contain; }
.lgs-m-lines { display: flex; flex-direction: column; gap: 1cqw; font-size: 3cqw; min-width: 0; flex: 1 1 auto; line-height: 1.3; }
.lgs-m-lines b { font-size: 3.6cqw; }
.lgs-m-lines b, .lgs-m-lines span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lgs-m-nav { width: 92%; height: 18cqw; background: var(--sfx-studio-light); border-radius: 6px; display: flex; align-items: center; justify-content: space-between; gap: 2cqw; padding: 0 3cqw; box-shadow: var(--sfx-shadow-tooltip); box-sizing: border-box; color: var(--sfx-studio-dark); overflow: hidden; }
.lgs-m-navlogo { height: 12cqw; width: auto; max-width: 40%; object-fit: contain; }
.lgs-m-links { display: flex; gap: 3cqw; font-size: 2.8cqw; font-style: normal; }
.lgs-m-links i { font-style: normal; }
.lgs-m-cta { font-size: 2.8cqw; padding: 1.4cqw 3cqw; border-radius: 4px; color: var(--sfx-studio-light); font-weight: 600; white-space: nowrap; }
.lgs-m-phone { height: 90%; aspect-ratio: 9 / 17; background: var(--sfx-studio-dark); border-radius: 14px; padding: 5px; box-sizing: border-box; }
.lgs-m-screen { height: 100%; border-radius: 10px; background: var(--sfx-studio-soft); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: min-content; align-content: center; gap: 8px 6px; padding: 8px; box-sizing: border-box; }
.lgs-m-ghost { aspect-ratio: 1; border-radius: 22%; background: var(--sfx-border); }
.lgs-m-appwrap { min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 7px; color: var(--sfx-studio-dark); }
.lgs-m-appwrap b { font-weight: 600; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lgs-m-app { width: 100%; aspect-ratio: 1; border-radius: 22%; box-shadow: var(--sfx-shadow-tooltip); }
.lgs-m-social { width: 92%; height: 82%; background: var(--sfx-studio-light); border-radius: 8px; position: relative; overflow: hidden; box-shadow: var(--sfx-shadow-tooltip); color: var(--sfx-studio-dark); }
.lgs-m-banner { height: 58%; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.lgs-m-banlogo { height: 56%; width: auto; max-width: 70%; object-fit: contain; }
.lgs-m-avatar { position: absolute; left: 6%; top: 40%; width: 24cqw; height: 24cqw; border-radius: 50%; border: 3px solid var(--sfx-studio-light); box-sizing: border-box; }
.lgs-m-handle { position: absolute; left: 34cqw; top: 64%; display: flex; flex-direction: column; font-size: 3.4cqw; line-height: 1.3; }
.lgs-m-handle i { font-style: normal; color: var(--sfx-muted); font-size: 2.8cqw; }
.lgs-m-tee { position: relative; width: 52%; aspect-ratio: 200 / 190; }
.lgs-tee-shape { width: 100%; height: 100%; display: block; }
.lgs-m-teelogo { position: absolute; left: 50%; top: 22%; width: 38%; max-height: 34%; transform: translateX(-50%); object-fit: contain; }
.lgs-m-hero { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3cqw; padding: 5cqw; box-sizing: border-box; text-align: center; }
.lgs-m-herologo { max-width: 62%; max-height: 42%; object-fit: contain; }
.lgs-m-herotag { font-size: 3.4cqw; color: var(--sfx-studio-light); }

.lgs-group { border: 0; border-top: 1px solid var(--sfx-border); margin: 0; padding: var(--sfx-space-3) 0 var(--sfx-space-1); min-width: 0; }
.lgs-group:first-child { border-top: 0; }
.lgs-group legend { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sfx-muted); padding: 0 0 var(--sfx-space-2); }
.lgs-slider { margin-bottom: var(--sfx-space-3); }
.lgs-slider input[type="range"], .lgs-tool-row input[type="range"] { width: 100%; accent-color: var(--sfx-primary); }
.lgs-icon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(40px, 1fr)); gap: 6px; max-height: 184px; overflow-y: auto; padding: 2px; margin-bottom: var(--sfx-space-3); }
.lgs-icon-btn { appearance: none; display: grid; place-items: center; height: 40px; padding: 0; background: var(--sfx-studio-light); border: 1px solid var(--sfx-border); border-radius: var(--sfx-radius-ctrl); cursor: pointer; }
.lgs-icon-btn.is-on { border-color: var(--sfx-primary); box-shadow: 0 0 0 1px var(--sfx-primary); }
.lgs-swatches { display: grid; grid-template-columns: repeat(10, 1fr); gap: 5px; margin-bottom: var(--sfx-space-3); }
.lgs-swatch { appearance: none; aspect-ratio: 1; border: 1px solid var(--sfx-border); border-radius: 50%; cursor: pointer; padding: 0; }
.lgs-colors { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sfx-space-2); margin-bottom: var(--sfx-space-3); }
.lgs-colors label { display: flex; flex-direction: column; gap: 4px; font-size: 11px; font-weight: 600; color: var(--sfx-ink-secondary); }
.lgs-colors input { width: 100%; height: 34px; padding: 2px; border: 1px solid var(--sfx-border); border-radius: var(--sfx-radius-ctrl); background: var(--sfx-card-bg); cursor: pointer; }
.lgs-export { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sfx-space-2); padding-bottom: var(--sfx-space-4); }
.lgs-export .sfx-btn { justify-content: center; }

.lgs-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); z-index: 1100; max-width: min(92vw, 520px); background: var(--sfx-studio-dark); color: var(--sfx-studio-light); padding: 11px 16px; border-radius: var(--sfx-radius-card); box-shadow: var(--sfx-shadow-tooltip); font-size: 13px; opacity: 0; pointer-events: none; transition: opacity .18s, transform .18s; }
.lgs-toast.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.lgs-toast a { color: var(--sfx-studio-light); text-decoration: underline; font-weight: 600; }

@media (max-width: 1100px) {
  .lgs-ed-body { grid-template-columns: minmax(0, 1fr) 340px; }
  .lgs-mock-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .lgs-page { padding: var(--sfx-space-4) var(--sfx-space-3) 40px; }
  .lgs-panel { padding: var(--sfx-space-4); }
  .lgs-grid-2 { grid-template-columns: 1fr; }
  .lgs-ed-body { display: block; overflow-y: auto; }
  .lgs-ed-left, .lgs-ed-right { overflow: visible; }
  .lgs-ed-right { border-left: 0; border-top: 1px solid var(--sfx-border); }
  .lgs-lab-grid { grid-template-columns: 1fr; }
  .lgs-preview { min-height: 240px; padding: var(--sfx-space-3); }
  .lgs-swatches { grid-template-columns: repeat(6, 1fr); }
  .lgs-ed-head { padding: var(--sfx-space-2) var(--sfx-space-3); }
  .lgs-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: var(--sfx-space-3); }
}
@media (max-width: 520px) {
  .lgs-mock-grid { grid-template-columns: 1fr; }
  .lgs-ed-head-actions .sfx-btn { padding-left: 8px; padding-right: 8px; }
  .lgs-tool-row .lgs-field { min-width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .lgs-toast { transition: none; } }
