.studio-page {
  background: radial-gradient(ellipse at 90% 4%,#e7f2e3 0,transparent 42%),#f5f7f0;
  padding: clamp(34px,4.4vw,66px) 0 clamp(48px,8vw,110px);
}
.studio-page-heading { max-width: 810px; margin-bottom: clamp(23px,3.5vw,44px); }
.studio-page-heading h1 { color: #12291c; font-size: clamp(2.45rem,5.1vw,4.8rem); line-height: 1; letter-spacing: -.072em; margin: 15px 0; text-wrap: balance; }
.studio-page-heading p { font-size: clamp(.98rem,1.5vw,1.15rem); color: #465a4e; max-width: 680px; margin: 0; line-height: 1.58; }
.concept-app { display: grid; grid-template-columns: minmax(245px,.43fr) minmax(0,1fr); gap: clamp(14px,2.4vw,33px); align-items: start; }
.concept-form { padding: clamp(16px,2.1vw,27px); border: 1px solid #cfdbcb; background: #fff; border-radius: 20px; box-shadow: 0 12px 35px #1737230a; display: grid; gap: 10px; }
.concept-inputs { border: 0; min-width: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.concept-form label { color: #162e20; font-size: 1rem; font-weight: 800; }
.concept-form p { margin: 0; color: #4f6256; font-size: .82rem; }
.concept-form textarea,.concept-form select,.concept-handoff + div textarea { width: 100%; min-width: 0; border-radius: 10px; background: #f5f8f1; color: #193325; border: 1px solid #c3d3c3; padding: 10px 11px; font: inherit; font-size: .91rem; }
.concept-form textarea { min-height: 116px; resize: vertical; line-height: 1.46; margin-bottom: 4px; }
.concept-form textarea::placeholder { color: #576e60; }
.concept-form select { min-height: 44px; }
.concept-generate { width: 100%; justify-content: space-between; margin-top: 3px; font-size: .9rem; }
.concept-examples { min-width: 0; border: 0; margin: 8px 0 0; padding: 0; display: flex; gap: 6px; flex-wrap: wrap; }
.concept-examples legend { margin: 0 0 7px; color: #304e3b; font-size: .80rem; font-weight: 790; }
.concept-examples button { display: inline-flex; align-items: center; justify-content: space-between; gap: 5px; min-height: 33px; border: 1px solid #cfddcc; border-radius: 7px; padding: 4px 7px; background: #f6faf3; color: #254533; font: inherit; font-size: .75rem; font-weight: 720; text-align: start; cursor: pointer; }
.concept-examples button:hover { background: #e6f1df; border-color: #96b29c; }
.concept-privacy { margin-top: 4px !important; }
.concept-viewer { min-width: 0; scroll-margin-top: 12px; }
.concept-board { background: #132b23; border: 1px solid #345847; border-radius: 20px; color: #eaf3e9; overflow: hidden; box-shadow: 0 20px 44px #1d3c2422; }
.concept-toolbar { min-height: 74px; display: flex; gap: 10px; align-items: center; justify-content: space-between; padding: 11px clamp(12px,1.9vw,24px); background: #18362a; border-bottom: 1px solid #426653; }
.concept-toolbar h2 { margin: 0; font-size: clamp(.95rem,1.7vw,1.25rem); line-height: 1.17; letter-spacing: -.032em; }
.concept-toolbar h2:focus { outline: none; }
.concept-toolbar small { display: block; color: #b8d6b8; font-size: .70rem; font-weight: 730; margin-bottom: 3px; }
.concept-modes,.concept-orbit { display: inline-flex; gap: 4px; border: 1px solid #628371; border-radius: 9px; background: #152b24; padding: 3px; flex: 0 0 auto; }
.concept-modes button,.concept-orbit button { cursor: pointer; display: inline-flex; justify-content: center; align-items: center; gap: 4px; min-height: 34px; background: transparent; border: 0; border-radius: 6px; color: #d4e5d8; padding: 3px 7px; font: inherit; font-size: .76rem; font-weight: 760; }
.concept-modes button[aria-pressed="true"] { background: #d1ebaf; color: #1a3124; }
.concept-modes button:disabled { opacity: .45; cursor: default; }
.concept-orbit button:hover,.concept-modes button[aria-pressed="false"]:hover:not(:disabled) { background: #3b5d4d; }
.concept-display { position: relative; height: clamp(270px,33vw,457px); background: radial-gradient(ellipse at 50% 42%,#3a5b4f,#172d26 76%); }
[data-view-mode="2d"] .concept-display {
  background-color: #17342b;
  background-image: linear-gradient(#92b4a414 1px,transparent 1px),linear-gradient(90deg,#92b4a414 1px,transparent 1px),radial-gradient(ellipse,#25463a,#102b23);
  background-size: 21px 21px,21px 21px,100% 100%;
}
.concept-display canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.concept-display noscript img { width: 100%; height: 100%; object-fit: contain; }
.concept-display [data-webgl] { cursor: grab; touch-action: pan-y; }
.concept-display [data-webgl]:active { cursor: grabbing; }
.concept-scene-status { position: absolute; top: 12px; left: 13px; z-index: 1; display: inline-flex; align-items: center; gap: 7px; max-width: calc(100% - 26px); padding: 5px 9px; border: 1px solid #8bb6a057; border-radius: 8px; color: #dceee0; background: #10271ee0; font-size: .71rem; line-height: 1.2; pointer-events: none; }
.concept-scene-status span { width: 6px; height: 6px; border-radius: 50%; background: #bdec69; box-shadow: 0 0 9px #c8ee8980; flex: none; }
[data-active="false"] .concept-scene-status { visibility: hidden; }
.concept-orbit { position: absolute; right: 12px; bottom: 11px; }
.concept-orbit button { padding-inline: 5px; min-width: 34px; }
.concept-render-notice { margin: 0; padding: 0 13px 9px; color: #d2ead7; font-size: .8rem; }
.concept-render-notice:empty { display: none; }
.concept-steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); border-top: 1px solid #426653; }
.concept-steps li { min-width: 0; }
.concept-steps button { position: relative; height: 100%; min-height: 65px; width: 100%; display: grid; gap: 3px; justify-items: start; align-content: center; padding: 7px 9px; background: #162f25; color: #d2e1d5; border: 0; border-right: 1px solid #426653; text-align: start; font: inherit; font-weight: 740; font-size: clamp(.67rem,1vw,.79rem); line-height: 1.2; overflow-wrap: anywhere; cursor: pointer; }
.concept-steps li:last-child button { border-right: 0; }
.concept-steps span { color: #bbdaa3; font-size: .68rem; letter-spacing: .08em; }
.concept-steps button:hover,.concept-steps .complete { background: #234638; }
.concept-steps button[aria-current] { background: #cdebae; color: #193424; }
.concept-steps button[aria-current] span { color: #365d42; }
.concept-steps button[aria-current]::after { content: ''; position: absolute; inset: auto 0 0; height: 3px; background: #44754d; transform-origin: left; transform: scaleX(var(--stage-progress,0)); }
.concept-info,.concept-handoff { display: flex; gap: 14px; align-items: center; justify-content: space-between; }
.concept-info { padding: 17px 0; border-bottom: 1px solid #d0ddcd; }
.concept-info h3 { color: #1d3a29; margin: 0 0 4px; font-size: 1.05rem; }
.concept-info p,.concept-handoff p { margin: 0; color: #43584a; font-size: .88rem; }
.concept-info .button,.concept-handoff .button { flex-shrink: 0; min-height: 38px; font-size: .80rem; }
.concept-info .button svg:nth-child(2),.concept-info .button.playing svg:first-child { display: none; }
.concept-info .button.playing svg:nth-child(2) { display: inline; }
.concept-transport { display: flex; gap: 6px; align-items: center; }
.concept-transport .icon-button { min-width: 40px; min-height: 40px; color: #304f3a; border: 1px solid #aebeb3; border-radius: 50%; }
.concept-transport .icon-button:hover { background: #e9f0e5; }
.concept-handoff { margin-top: 13px; }
.concept-handoff + div { margin-top: 15px; }
.concept-handoff + div textarea { margin: 7px 0; }
.concept-app [hidden] { display: none !important; }
@media (max-width: 860px) {
  .concept-app { grid-template-columns: minmax(0,1fr); gap: 19px; }
  .concept-form textarea { min-height: 91px; }
  .concept-display { height: clamp(230px,63vw,410px); }
}
@media (max-width: 450px) {
  .concept-toolbar { flex-wrap: wrap; min-height: 0; }
  .concept-modes button { min-height: 32px; }
  .concept-steps button { padding: 6px 4px; }
  .concept-info,.concept-handoff { align-items: flex-start; flex-direction: column; gap: 8px; }
}
