:root {
  --ink: #171916;
  --paper: #f2efe6;
  --surface: #faf8f2;
  --line: #cbc7bb;
  --muted: #6e7069;
  --brand: #5fc8cd;
  --brand-dark: #287d84;
  --lime: #ddec62;
  font-family: "Be Vietnam Pro", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: var(--paper); }
button, input { font: inherit; }
button { color: inherit; }

.noise { position: fixed; inset: 0; pointer-events: none; opacity: .18; z-index: 10; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.08'/%3E%3C/svg%3E"); }

.topbar { height: 82px; padding: 0 clamp(20px,4vw,68px); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 8; background: rgba(242,239,230,.92); backdrop-filter: blur(18px); }
.brand { display: flex; align-items: center; gap: 22px; color: inherit; text-decoration: none; }
.brand img { width: 132px; height: auto; }
.brand span { padding-left: 22px; border-left: 1px solid var(--line); font: 500 10px/1.2 "DM Mono", monospace; letter-spacing: .14em; }
.brand b { color: var(--brand-dark); }
.top-actions { display: flex; align-items: center; gap: 10px; }
.ghost-button, .primary-button { border: 1px solid var(--ink); border-radius: 0; padding: 11px 18px; background: transparent; cursor: pointer; font-size: 12px; font-weight: 600; }
.primary-button { background: var(--ink); color: white; min-width: 118px; }
.primary-button span { color: var(--lime); margin-left: 12px; }

.app-shell { max-width: 1720px; margin: 0 auto; padding: 56px clamp(20px,4vw,68px) 80px; }
.intro { display: grid; grid-template-columns: .8fr minmax(560px,2.1fr) 1fr; gap: 34px; align-items: end; margin-bottom: 58px; }
.eyebrow { align-self: start; margin: 7px 0 0; font: 500 10px/1.5 "DM Mono", monospace; letter-spacing: .14em; color: var(--brand-dark); }
.intro h1 { font-size: clamp(34px,3.8vw,62px); line-height: 1.04; letter-spacing: -.052em; margin: 0; font-weight: 600; text-wrap: balance; }
.intro h1 em { font-family: Georgia, serif; font-weight: 400; color: var(--brand-dark); }
.lede { margin: 0; max-width: 360px; color: var(--muted); font-size: 13px; line-height: 1.75; }

.studio-grid { display: grid; grid-template-columns: minmax(320px,360px) minmax(480px,1fr) minmax(280px,310px); border: 1px solid var(--ink); background: var(--surface); height: clamp(700px,82vh,900px); min-height: 700px; overflow: hidden; }
.panel { padding: 26px; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--brand) #e3dfd5; }
.panel::-webkit-scrollbar { width: 8px; }
.panel::-webkit-scrollbar-track { background: #e3dfd5; }
.panel::-webkit-scrollbar-thumb { background: var(--brand); border: 2px solid #e3dfd5; }
.controls-panel { border-right: 1px solid var(--ink); }
.export-panel { border-left: 1px solid var(--ink); }
.panel-heading { display: flex; gap: 13px; align-items: flex-start; }
.panel-heading.spaced { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.compact-heading { margin-bottom: 15px; }
.step { font: 500 9px/22px "DM Mono", monospace; width: 22px; height: 22px; text-align: center; background: var(--ink); color: white; }
.panel h2 { font-size: 16px; margin: 0 0 4px; letter-spacing: -.02em; }
.panel-heading p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.45; }

.dropzone { margin-top: 17px; border: 1px dashed #9d9a91; min-height: 82px; padding: 15px; display: flex; gap: 13px; align-items: center; cursor: pointer; transition: .2s; }
.dropzone:hover, .dropzone.dragging { background: #e8f7f5; border-color: var(--brand-dark); }
.drop-icon { width: 34px; height: 34px; background: var(--brand); display: grid; place-items: center; font-size: 20px; }
.dropzone b, .dropzone small { display: block; font-size: 11px; line-height: 1.4; }
.dropzone small { color: var(--muted); margin-top: 5px; font-size: 9px; }
.logo-source { display: grid; grid-template-columns: 49px 1fr auto; align-items: center; gap: 10px; margin-top: 10px; }
.logo-thumb { height: 38px; display: grid; place-items: center; background: white; border: 1px solid var(--line); padding: 5px; }
.logo-thumb img { max-width: 100%; max-height: 100%; }
.logo-meta b, .logo-meta span { display: block; font-size: 10px; line-height: 1.35; }
.logo-meta span { color: var(--muted); margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 140px; }
.mini-button { cursor: pointer; font-size: 10px; padding: 8px 9px; border-bottom: 1px solid var(--ink); }

.style-tabs { display: grid; grid-template-columns: 1fr 1fr; margin-top: 16px; border: 1px solid var(--ink); }
.style-tabs button { padding: 12px 8px; border: 0; border-right: 1px solid var(--ink); background: transparent; font-size: 10px; font-weight: 600; cursor: pointer; }
.style-tabs button:last-child { border-right: 0; }
.style-tabs button span { font: 500 7px/1 "DM Mono"; margin-right: 5px; color: var(--brand-dark); }
.style-tabs button.active { background: var(--ink); color: white; }
.style-tabs button.active span { color: var(--lime); }
.style-caption { margin: 15px 0 10px; font: 500 8px/1.3 "DM Mono"; letter-spacing: .12em; color: var(--muted); }
.position-grid { display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid var(--line); }
.position-grid button { min-width: 0; height: 58px; padding: 8px 3px 5px; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: transparent; cursor: pointer; }
.position-grid button:nth-child(3n) { border-right: 0; }
.position-grid button:nth-child(n+7) { border-bottom: 0; }
.position-grid button:hover { background: #e8f7f5; }
.position-grid button.active { background: var(--ink); color: white; }
.position-grid i { display: block; width: 25px; height: 16px; border: 1px solid #aaa79e; margin: 0 auto 4px; position: relative; }
.position-grid i::after { content: ""; position: absolute; width: 5px; height: 3px; background: var(--brand); }
.position-grid button:nth-child(1) i::after { left: 2px; top: 2px; }.position-grid button:nth-child(2) i::after { left: 9px; top: 2px; }.position-grid button:nth-child(3) i::after { right: 2px; top: 2px; }
.position-grid button:nth-child(4) i::after { left: 2px; top: 6px; }.position-grid button:nth-child(5) i::after { left: 9px; top: 6px; }.position-grid button:nth-child(6) i::after { right: 2px; top: 6px; }
.position-grid button:nth-child(7) i::after { left: 2px; bottom: 2px; }.position-grid button:nth-child(8) i::after { left: 9px; bottom: 2px; }.position-grid button:nth-child(9) i::after { right: 2px; bottom: 2px; }
.position-grid span { display: block; font-size: 8px; }

.preset-list { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 16px; }
.preset { min-width: 0; border: 1px solid var(--line); background: transparent; padding: 10px; text-align: left; cursor: pointer; position: relative; transition: .2s; }
.preset:hover { border-color: var(--ink); }
.preset.active { background: var(--ink); color: white; border-color: var(--ink); }
.preset > span:nth-child(2) { display: block; margin-top: 7px; }
.preset b, .preset small { display: block; }
.preset b { font-size: 9px; line-height: 1.35; }
.preset small { opacity: .65; font-size: 8px; margin-top: 4px; line-height: 1.4; }
.preset > i { position: absolute; right: 7px; top: 6px; font: normal 7px/1 "DM Mono"; opacity: .45; }
.preset-art { display: block; height: 34px; background-color: #e8e5dd; position: relative; overflow: hidden; }
.preset.active .preset-art { background-color: #343733; }
.preset-art::before, .preset-art::after { content: ""; position: absolute; background: var(--brand); }
.art-editorial::before { width: 120%; height: 6px; transform: rotate(-13deg); left: -10%; top: 11px; }
.art-editorial::after { width: 9px; height: 9px; border-radius: 50%; right: 18px; top: 9px; }
.art-frame::before { inset: 6px; background: transparent; border: 2px solid var(--brand); }
.art-frame::after { width: 18px; height: 5px; right: 8px; bottom: 8px; }
.art-orbit::before { width: 32px; height: 17px; border: 1px solid var(--brand); background: none; border-radius: 50%; left: calc(50% - 16px); top: 6px; }
.art-orbit::after { width: 5px; height: 5px; border-radius: 50%; top: 4px; left: 52%; }
.art-rail::before { width: 7px; inset-block: 0; left: 13px; }
.art-rail::after { width: 4px; height: 4px; box-shadow: 0 9px var(--brand), 0 18px var(--brand); left: 29px; top: 4px; }
.art-echo::before { width: 22px; height: 5px; top: 5px; left: 8px; box-shadow: 10px 8px rgba(95,200,205,.6), 20px 16px rgba(95,200,205,.25); }
.art-constellation::before { width: 6px; height: 6px; left: 12px; top: 9px; box-shadow: 29px 5px var(--brand), 52px -2px var(--brand); }
.art-constellation::after { width: 55px; height: 1px; left: 15px; top: 14px; transform: rotate(5deg); opacity: .5; }
.art-film::before { width: 44px; height: 8px; left: 8px; bottom: 5px; }
.art-film::after { width: 22px; height: 2px; right: 8px; bottom: 8px; background: var(--ink); }
.preset.active .art-film::after { background: white; }
.art-portal::before { width: 34px; height: 20px; left: calc(50% - 17px); top: 5px; background: transparent; border: 1px solid var(--brand); box-shadow: inset 0 0 0 4px #e8e5dd, inset 0 0 0 5px var(--brand); }
.preset.active .art-portal::before { box-shadow: inset 0 0 0 4px #343733, inset 0 0 0 5px var(--brand); }
.art-cascade::before { width: 18px; height: 4px; left: 9px; top: 5px; box-shadow: 13px 7px var(--brand), 26px 14px var(--brand), 39px 21px var(--brand); }
.art-seal::before { width: 20px; height: 20px; border: 1px solid var(--brand); background: transparent; border-radius: 50%; left: calc(50% - 10px); top: 5px; }
.art-seal::after { width: 7px; height: 7px; border-radius: 50%; left: calc(50% - 3px); top: 12px; }
.art-aurora::before { width: 62px; height: 22px; left: 7px; top: 8px; background: transparent; border-top: 2px solid var(--brand); border-radius: 50%; transform: rotate(-7deg); }
.art-aurora::after { width: 5px; height: 5px; border-radius: 50%; right: 17px; top: 7px; box-shadow: -30px 13px rgba(95,200,205,.45); }
.art-prism::before { width: 25px; height: 18px; left: 18px; top: 6px; background: transparent; border: 1px solid var(--brand); transform: skewX(-22deg); box-shadow: 8px 4px 0 -1px #e8e5dd, 8px 4px 0 0 var(--brand), 16px 8px 0 -1px #e8e5dd, 16px 8px 0 0 var(--brand); }
.preset.active .art-prism::before { box-shadow: 8px 4px 0 -1px #343733, 8px 4px 0 0 var(--brand), 16px 8px 0 -1px #343733, 16px 8px 0 0 var(--brand); }
.art-pulse::before { width: 4px; height: 4px; left: 12px; top: 6px; box-shadow: 13px 0 var(--brand),26px 0 var(--brand),39px 0 var(--brand),52px 0 var(--brand),0 9px var(--brand),13px 9px rgba(95,200,205,.3),26px 9px var(--brand),39px 9px rgba(95,200,205,.3),52px 9px var(--brand),0 18px var(--brand),13px 18px var(--brand),26px 18px var(--brand),39px 18px var(--brand),52px 18px var(--brand); }
.art-fold::before { width: 74px; height: 7px; left: 1px; top: 11px; transform: rotate(-8deg); clip-path: polygon(0 0,34% 0,43% 100%,67% 100%,75% 0,100% 0,100% 100%,70% 100%,62% 0,46% 0,38% 100%,0 100%); }
.art-timestamp::before { width: 50px; height: 14px; left: 13px; top: 8px; background: transparent; border-left: 2px solid var(--brand); border-bottom: 1px solid var(--brand); }
.art-timestamp::after { width: 29px; height: 2px; left: 21px; top: 13px; box-shadow: 0 5px rgba(95,200,205,.45); }
.art-horizon::before { width: 100%; height: 1px; left: 0; top: 15px; }
.art-horizon::after { width: 18px; height: 6px; right: 12px; top: 12px; }
.art-wave::before { width: 55px; height: 28px; right: -6px; bottom: -14px; background: transparent; border: 2px solid var(--brand); border-radius: 50%; box-shadow: 0 0 0 5px #e8e5dd, 0 0 0 6px rgba(95,200,205,.55); }
.preset.active .art-wave::before { box-shadow: 0 0 0 5px #343733, 0 0 0 6px rgba(95,200,205,.55); }
.art-mosaic::before { width: 8px; height: 8px; left: 13px; top: 5px; transform: rotate(12deg); box-shadow: 14px 5px rgba(95,200,205,.75),29px -1px rgba(95,200,205,.45),43px 8px rgba(95,200,205,.28),8px 15px rgba(95,200,205,.45),27px 17px rgba(95,200,205,.65),50px 15px rgba(95,200,205,.2); }
.art-edge-repeat::before { width: 100%; height: 5px; left: 0; bottom: 4px; background: repeating-linear-gradient(90deg,var(--brand) 0 9px,transparent 9px 15px); }
.art-edge-repeat::after { width: 5px; height: 100%; right: 5px; top: 0; background: repeating-linear-gradient(0deg,var(--brand) 0 7px,transparent 7px 12px); }
.art-cross-repeat::before { width: 100%; height: 4px; left: 0; top: 15px; background: repeating-linear-gradient(90deg,var(--brand) 0 8px,transparent 8px 14px); }
.art-cross-repeat::after { width: 4px; height: 100%; left: calc(50% - 2px); top: 0; background: repeating-linear-gradient(0deg,var(--brand) 0 7px,transparent 7px 13px); }

.control-stack { display: grid; gap: 13px; }
.range-row > span, .quality-row > span { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 10px; }
.range-row output, .quality-row output { font-family: "DM Mono"; color: var(--brand-dark); }
input[type="range"] { width: 100%; height: 2px; appearance: none; background: linear-gradient(to right, var(--brand) 0 var(--fill,50%), #d5d2ca var(--fill,50%) 100%); border: none; }
input[type="range"]::-webkit-slider-thumb { appearance: none; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--surface); background: var(--ink); box-shadow: 0 0 0 1px var(--ink); cursor: grab; }
.tone-row { display: flex; align-items: center; justify-content: space-between; margin-top: 21px; font-size: 10px; }
.segmented { display: flex; border: 1px solid var(--line); }
.segmented button { border: 0; border-right: 1px solid var(--line); background: transparent; font-size: 9px; padding: 8px 9px; cursor: pointer; }
.segmented button:last-child { border-right: 0; }
.segmented button.active { background: var(--brand); }

.workspace { min-width: 0; min-height: 0; background: #20231f; display: flex; flex-direction: column; overflow: hidden; }
.workspace-bar { height: 54px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; color: white; border-bottom: 1px solid #464943; }
.workspace-bar div { display: flex; align-items: center; gap: 10px; }
.workspace-bar b { font: 500 9px/1 "DM Mono"; letter-spacing: .12em; }
.workspace-bar span, .workspace-bar p { font: 400 8px/1 "DM Mono"; color: #aeb2aa; }
.live-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(221,236,98,.12); }
.canvas-stage { flex: 1; min-height: 0; padding: 28px; display: grid; place-items: center; overflow: auto; position: relative; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #61665e #292c27; background-color: #292c27; background-image: linear-gradient(45deg,#252823 25%,transparent 25%),linear-gradient(-45deg,#252823 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#252823 75%),linear-gradient(-45deg,transparent 75%,#252823 75%); background-size: 20px 20px; background-position: 0 0,0 10px,10px -10px,-10px 0; }
#previewCanvas { display: block; max-width: 100%; max-height: min(66vh,650px); box-shadow: 0 24px 80px rgba(0,0,0,.35); cursor: crosshair; }
.canvas-hint { position: absolute; inset: auto auto 15px 15px; padding: 9px 12px; color: #d3d5d0; background: rgba(22,24,21,.8); font-size: 8px; line-height: 1.5; pointer-events: none; backdrop-filter: blur(6px); }
.canvas-hint span { color: var(--lime); margin-right: 5px; }
.canvas-hint small { color: #858980; }
.workspace-footer { min-height: 50px; padding: 10px 18px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #464943; color: #b9bcb5; }
.legend { display: flex; gap: 16px; font: 400 7px/1 "DM Mono"; }
.legend i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: 5px; }
.dot-brand { background: var(--brand); }.dot-focus { border: 1px solid var(--lime); }
.compare-button { padding: 8px 11px; border: 1px solid #60645d; background: transparent; color: #e5e7e2; font-size: 8px; cursor: pointer; }
.compare-button:active { background: var(--lime); color: var(--ink); }
.batch-strip { min-height: 76px; display: flex; gap: 8px; overflow-x: auto; padding: 10px 14px; border-top: 1px solid #464943; background: #181a17; scrollbar-width: thin; }
.batch-empty { display: grid; grid-template-columns: 24px auto; grid-template-rows: auto auto; align-items: center; color: white; min-width: 210px; padding: 7px 10px; border: 1px dashed #51554e; }
.batch-empty span { grid-row: 1 / 3; font: 500 9px/1 "DM Mono"; color: var(--brand); }.batch-empty b { font-size: 8px; }.batch-empty small { color: #8f938b; font-size: 7px; }
.batch-item { width: 78px; min-width: 78px; height: 54px; padding: 0; border: 1px solid #4e524b; background: #262923; position: relative; cursor: pointer; overflow: hidden; }
.batch-item img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .64; }
.batch-item.active { border: 2px solid var(--lime); }.batch-item.active img { opacity: 1; }
.batch-item span { position: absolute; left: 3px; bottom: 3px; padding: 2px 4px; background: rgba(0,0,0,.7); color: white; font: 500 6px/1 "DM Mono"; }
.batch-item .remove-item { position: absolute; right: 2px; top: 2px; width: 15px; height: 15px; border: 0; background: rgba(0,0,0,.72); color: white; font: 10px/1 sans-serif; cursor: pointer; }

.export-card { margin-top: 22px; border: 1px solid var(--line); padding: 12px; }
.format-tabs { display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid var(--line); }
.format-tabs button { background: transparent; border: 0; border-right: 1px solid var(--line); padding: 11px 3px; font: 500 9px/1 "DM Mono"; cursor: pointer; }
.format-tabs button:last-child { border: 0; }
.format-tabs button.active { background: var(--ink); color: white; }
.quality-row { display: block; margin: 18px 0; }
.quality-row.disabled { opacity: .35; pointer-events: none; }
.export-summary { border-top: 1px solid var(--line); padding-top: 7px; }
.export-summary > div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: 9px; line-height: 1.35; }
.export-summary span { color: var(--muted); }
.export-button { width: 100%; margin-top: 10px; padding: 14px; display: flex; justify-content: space-between; border: 0; background: var(--brand); font-size: 10px; font-weight: 700; cursor: pointer; }
.export-button:hover { background: var(--lime); }
.export-button i { font: normal 16px/8px sans-serif; }
.secondary-export { margin-top: 7px; background: transparent; border: 1px solid var(--ink); }
.secondary-export:hover { background: var(--ink); color: white; }
.export-button:disabled { opacity: .38; cursor: not-allowed; background: #d4d1c8; color: #777970; }
.privacy-note { margin: 12px 0 0; font-size: 8px; line-height: 1.55; color: var(--muted); text-align: center; }
.privacy-note span { color: var(--brand-dark); }
blockquote { margin: 34px 0 0; padding: 0 0 0 15px; border-left: 3px solid var(--brand); font: italic 16px/1.45 Georgia, serif; color: #494b46; }
.toast { position: fixed; z-index: 20; left: 50%; bottom: 24px; transform: translate(-50%,30px); opacity: 0; padding: 12px 18px; background: var(--ink); color: white; font-size: 10px; pointer-events: none; transition: .3s; }
.toast.show { opacity: 1; transform: translate(-50%,0); }

/* Legibility pass: comfortable reading at normal desktop zoom. */
.brand span { font-size: 11px; line-height: 1.35; }
.ghost-button, .primary-button { font-size: 13px; padding-block: 13px; }
.eyebrow { font-size: 11px; }
.lede { font-size: 14px; line-height: 1.75; }
.panel { padding: 28px; }
.step { width: 25px; height: 25px; font-size: 10px; line-height: 25px; flex: 0 0 25px; }
.panel h2 { font-size: 18px; line-height: 1.25; }
.panel-heading p { font-size: 12px; }
.dropzone { min-height: 94px; padding: 17px; }
.dropzone b { font-size: 12px; }
.dropzone small { font-size: 10px; line-height: 1.5; }
.logo-meta b { font-size: 11px; }
.logo-meta span { font-size: 10px; }
.mini-button { font-size: 11px; }
.style-tabs button { font-size: 11px; padding-block: 14px; }
.style-tabs button span { font-size: 9px; }
.style-caption { font-size: 9px; line-height: 1.5; margin-block: 16px 11px; }
.position-grid button { height: 66px; }
.position-grid span { font-size: 10px; margin-top: 5px; }
.preset-list { gap: 8px; }
.preset { min-height: 98px; padding: 11px; }
.preset-art { height: 38px; }
.preset > span:nth-child(2) { margin-top: 9px; }
.preset b { font-size: 11px; line-height: 1.4; }
.preset small { font-size: 9px; line-height: 1.5; margin-top: 4px; }
.preset > i { font-size: 8px; }
.range-row > span, .quality-row > span { font-size: 11px; margin-bottom: 11px; }
.control-stack { gap: 18px; }
.tone-row { font-size: 11px; }
.segmented button { font-size: 10px; padding: 9px 11px; }
.workspace-bar { height: 60px; }
.workspace-bar b { font-size: 10px; }
.workspace-bar span, .workspace-bar p { font-size: 9px; }
.canvas-hint { font-size: 10px; line-height: 1.55; padding: 11px 14px; }
.canvas-hint small { font-size: 9px; }
.workspace-footer { min-height: 56px; }
.legend { font-size: 9px; }
.compare-button { font-size: 10px; padding: 10px 13px; }
.batch-strip { min-height: 84px; padding-block: 13px; }
.batch-item { width: 86px; min-width: 86px; height: 58px; }
.batch-item span { font-size: 8px; }
.format-tabs button { font-size: 11px; padding-block: 13px; }
.quality-row { margin-block: 21px; }
.export-summary > div { font-size: 11px; padding-block: 10px; }
.export-button { font-size: 12px; padding: 16px; }
.privacy-note { font-size: 9px; }
.export-panel blockquote { font-size: 18px; line-height: 1.55; }

@media (max-width: 1180px) {
  .intro { grid-template-columns: .7fr 1.8fr 1fr; }
  .studio-grid { grid-template-columns: 330px 1fr; height: auto; min-height: 760px; overflow: visible; }
  .panel { overflow-y: visible; }
  .export-panel { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--ink); display: grid; grid-template-columns: 220px 1fr 240px; gap: 25px; align-items: start; }
  .export-card { margin-top: 0; } blockquote { margin-top: 0; }
}
@media (max-width: 820px) {
  .topbar { height: 68px; }.brand span, .ghost-button { display: none; }
  .intro { grid-template-columns: 1fr; margin-bottom: 35px; }.eyebrow { order: 0; }.intro h1 { order: 1; }.lede { order: 2; }
  .studio-grid { display: block; height: auto; min-height: 0; overflow: visible; }.panel { overflow: visible; }.controls-panel { border-right: 0; border-bottom: 1px solid var(--ink); }.export-panel { display: block; border-top: 1px solid var(--ink); }.export-card, blockquote { margin-top: 22px; }
  .canvas-stage { min-height: 420px; padding: 14px; }.workspace-bar p, .legend { display: none; }
}
@media (max-width: 480px) {
  .app-shell { padding-inline: 12px; }.topbar { padding-inline: 14px; }.brand img { width: 105px; }.primary-button { min-width: 100px; padding-inline: 12px; }
  .intro h1 { font-size: 39px; }.panel { padding: 18px; }.preset-list { grid-template-columns: 1fr; }
}
