/* Three workbenches share a quiet frame; the work itself stays in the foreground. */
.creative-nav{max-width:1360px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:22px 32px;border-bottom:1px solid #233e3422;gap:16px}.creative-nav>a:first-child,.creative-nav>a:last-child{font-size:13px;font-weight:600;text-decoration:none;min-height:44px;display:flex;align-items:center}.creative-page{max-width:1360px;margin:auto;padding:32px;color:#263b32}.creative-heading{display:flex;align-items:center;justify-content:space-between;gap:28px;margin:4px 0 30px}.creative-heading span,.creative-result-note>span{font-size:10px;letter-spacing:.15em;font-weight:700;color:#61726a}.creative-heading h1{font-size:clamp(28px,3.2vw,44px);letter-spacing:-.04em;line-height:1.2;margin:12px 0}.creative-heading p{font-size:14px;line-height:1.8;margin:0;max-width:740px;overflow-wrap:anywhere}.creative-heading>b{font-size:17px;white-space:nowrap;border-left:1px solid #263b3240;padding:12px 0 12px 26px}.creative-heading small{display:block;font-size:8px;letter-spacing:.12em;margin-top:10px;font-weight:500}.creative-workbench{display:grid;grid-template-columns:minmax(0,1.38fr) minmax(320px,1fr);gap:28px;align-items:start}.creative-preview{position:sticky;top:16px;min-width:0;background:#fbf8ef;border:1px solid #2c413128;border-radius:16px;overflow:hidden;box-shadow:0 4px 18px #24382709}.creative-preview canvas{width:100%;height:auto;aspect-ratio:16/9;display:block;background:#e3daca}.foodlab #creative-canvas{touch-action:none;cursor:grab}.creative-preview canvas:focus-visible{outline:3px solid #d95936;outline-offset:-4px}.creative-transport{display:flex;align-items:center;gap:12px;padding:12px 16px;background:#263c33;color:#fff}.creative-transport input{flex:1;min-width:30px;accent-color:#edb77b}.creative-transport>span{font:11px monospace;white-space:nowrap}.creative-button{font-family:inherit;font-size:13px;line-height:1.35;min-height:44px;min-width:44px;border:1px solid #263b3238;border-radius:8px;padding:10px 14px;background:#fdfaf1;color:#263b32;cursor:pointer;display:inline-flex;justify-content:center;align-items:center;gap:5px;transition:background .15s,box-shadow .15s}.creative-button:hover:not(:disabled){background:#e8e9dc}.creative-button:focus-visible,.creative-source-grid button:focus-visible,.food-shelf button:focus-visible{outline:3px solid #d95936;outline-offset:3px}.creative-button:disabled{opacity:.4;cursor:default}.creative-button.primary{background:#d85d39;color:#fff;border-color:#d85d39;font-weight:700;box-shadow:0 3px 0 #a23e24}.creative-button.primary:hover{background:#bd4c2c}.creative-button.play{color:#fff;background:transparent;border-color:#ffffff50;font-size:12px}.creative-button.record{background:#aa3e37;color:white;border-color:#aa3e37}.creative-button.link{border:0;background:none;text-decoration:underline;padding-left:0}.creative-button[aria-pressed=true]{background:#2d4c3e;color:white;border-color:#2d4c3e}.creative-controls{min-width:0}.creative-section-line{display:flex;align-items:center;justify-content:space-between;gap:12px}.creative-section-line h2{font-size:18px;letter-spacing:-.02em;margin:0}.creative-section-line>span{font-size:10px;color:#61726a;text-align:right}.creative-help{font-size:12px;line-height:1.8;color:#64736a;margin:12px 0 18px}.creative-timeline{display:flex;gap:8px;overflow-x:auto;overscroll-behavior-x:contain;padding:12px 3px 16px;min-height:123px;border-top:1px solid #273e3326;border-bottom:1px solid #273e3326;background:repeating-linear-gradient(90deg,transparent,transparent 23px,#263b3209 24px)}.timeline-clip{flex:0 0 111px;min-width:0;appearance:none;padding:0 0 7px;border:2px solid transparent;background:#e5e0d3;border-radius:5px;overflow:hidden;text-align:left;color:#263b32;touch-action:pan-y;cursor:grab}.timeline-clip.selected{border-color:#d85d39;box-shadow:0 0 0 2px #d85d3926}.timeline-clip canvas{width:100%;height:auto;display:block;pointer-events:none}.timeline-clip>span,.timeline-clip>small{display:block;margin:5px 6px 0;font-size:10px;line-height:1.3;pointer-events:none}.timeline-clip>small{font:9px monospace;color:#6b736a}.creative-trim{padding:18px 0}.creative-trim>div:first-child{display:flex;justify-content:space-between;gap:16px;font-size:12px;margin-bottom:8px}.creative-trim>div:first-child span{color:#68796b;font-size:11px}.creative-range{display:block;min-width:0;padding:8px 0;font-size:12px}.creative-range>span{display:flex;justify-content:space-between;align-items:center}.creative-range output{font:12px monospace;color:#7a5e3e}.creative-range input{width:100%;height:32px;display:block;accent-color:#ce603c;cursor:ew-resize;margin:3px 0 0;min-height:32px;padding:0;background:none;border:0}.creative-inline{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}.creative-inline .creative-button{font-size:11px;padding:9px 11px}.creative-library,.creative-hint{border-top:1px solid #263b322b;border-bottom:1px solid #263b322b;padding:0 0 14px;margin:6px 0 18px}.creative-library summary,.creative-hint summary{min-height:48px;padding:14px 0;font-size:13px;cursor:pointer}.creative-library summary span{float:right;font-size:10px;color:#64736a}.creative-source-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.creative-source-grid button{appearance:none;min-width:0;border:1px solid #263b3226;background:#fdfaf1;padding:0 0 8px;overflow:hidden;border-radius:6px;cursor:grab;touch-action:pan-y;font-family:inherit;color:inherit}.creative-source-grid canvas{width:100%;height:auto;display:block;pointer-events:none}.creative-source-grid span,.creative-source-grid small{display:block;font-size:10px;line-height:1.5;margin:5px 4px 0;pointer-events:none}.creative-source-grid small{font-size:9px;color:#758176}.creative-sound-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:12px}.creative-field{font-size:12px;display:block;min-width:0}.creative-field select{font-family:inherit;width:100%;min-width:0;min-height:44px;border:1px solid #263b3235;border-radius:7px;background:#fffdf5;color:#263b32;font-size:13px;padding:8px;margin-top:8px}.creative-finish{display:flex;align-items:end;justify-content:space-between;gap:24px;padding:24px 0;border-top:1px solid #263b322b;margin-top:26px}.creative-finish label{font-size:12px;flex:1;max-width:480px}.creative-finish input{font:inherit;font-size:16px;display:block;width:100%;border:0;border-bottom:1px solid #263b3250;background:none;padding:12px 0;color:#263b32;border-radius:0}.creative-notice{font-size:13px;line-height:1.8;color:#8b482d;min-height:24px;overflow-wrap:anywhere}.creative-result-actions{display:flex;flex-wrap:wrap;gap:8px;padding:18px}.creative-result-actions .creative-button{font-size:12px;flex:1 1 42%}.creative-backstage{padding:0 20px 20px}.creative-backstage summary{font-size:14px;cursor:pointer;padding:14px 0;border-top:1px solid #263b3226;min-height:48px}.creative-backstage summary span{float:right;font-size:10px;color:#788473}.creative-backstage p{font-size:13px;line-height:1.9}.creative-backstage a{font-size:12px;line-height:2;color:#a34e30}.creative-back-map{display:block;text-align:center;padding:18px;font-size:13px;border-top:1px solid #263b3226;text-decoration:none}.creative-result-note{padding:32px;border-radius:12px;background:#e8e5d5}.creative-result-note h2{font-size:25px;line-height:1.4;margin:18px 0}.creative-result-note p{line-height:1.9;font-size:14px}.creative-result-note .creative-help{font-size:12px}.creative-busy{position:absolute;inset:0 0 auto;background:#263c33df;color:#fff;padding:20px;z-index:3;line-height:1.7;font-size:13px}.voice-recorder{border-radius:12px;background:#e4ddec;padding:18px;text-align:center}.voice-wave{height:74px;display:flex;justify-content:center;align-items:center;gap:3px}.voice-wave i{display:block;width:4px;height:var(--wave);min-height:5px;border-radius:3px;background:#827089}.voice-recorder.is-recording .voice-wave i{animation:voice-pulse .65s ease-in-out infinite alternate;animation-delay:calc(var(--wave)*-.1s);background:#ab433a}.voice-recorder #record-clock{font-size:11px;line-height:1.6}.voice-recorder .creative-inline{justify-content:center}.voice-presets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:18px 0 8px}.voice-presets .creative-button{padding:8px 5px;font-size:12px}.food-shelf{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:18px 0}.food-shelf button{appearance:none;background:#e7e8d6;color:#32462e;border:1px solid #73806c25;border-radius:9px;padding:4px 5px 10px;font:12px inherit;cursor:grab;touch-action:pan-y}.food-shelf canvas{display:block;width:100%;max-height:75px;object-fit:contain;pointer-events:none}.food-shelf span{font-size:12px;pointer-events:none}.kitchen-tools{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}.kitchen-tools .creative-button{padding:9px 3px;font-size:11px}.food-selected{padding:18px 0}.food-selected>span{font-size:12px;color:#63755e}.creative-hint{margin-top:0;padding-bottom:0}.creative-hint p{font-size:12px;line-height:1.9;margin-top:0}.creative-drag-ghost{position:fixed;z-index:999;pointer-events:none;transform:translate(-50%,-110%) rotate(-4deg);background:#263c33;color:#fff;border:2px solid #e2c57e;border-radius:8px;max-width:180px;padding:13px 18px;box-shadow:0 10px 35px #0004;font-size:12px}.creative-upload-row{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #263b3226;padding:12px 0}.creative-upload-row span{font-size:13px}@keyframes voice-pulse{to{height:40px}}
@media(max-width:900px){.creative-workbench{grid-template-columns:minmax(0,1fr) minmax(290px,1fr);gap:20px}.creative-page{padding:24px}.creative-heading>b{display:none}}
@media(max-width:680px){.creative-nav{padding:12px 18px;gap:10px}.creative-nav .brand{font-size:23px}.creative-nav>a:first-child,.creative-nav>a:last-child{font-size:11px}.creative-page{padding:24px 18px 40px}.creative-heading{margin:0 0 22px}.creative-heading h1{font-size:29px;margin:10px 0}.creative-heading p{font-size:12px;line-height:1.8}.creative-heading span{font-size:8px}.creative-workbench{grid-template-columns:minmax(0,1fr);gap:24px}.creative-preview{position:relative;top:auto;border-radius:11px}.creative-transport{padding:9px 12px;gap:10px}.creative-transport .creative-button{min-height:40px;padding:9px}.creative-finish{flex-direction:column;align-items:stretch;gap:20px;margin-top:24px}.creative-finish label{max-width:none}.creative-finish>.creative-button{width:100%;min-height:52px}.creative-section-line h2{font-size:17px}.creative-result-note{padding:23px}.creative-result-actions{padding:14px}.creative-source-grid{gap:8px}.creative-timeline{padding-bottom:12px}.timeline-clip{flex-basis:100px}.creative-sound-row select{font-size:16px}.food-shelf canvas{max-height:66px}.creative-page input,.creative-page select{scroll-margin-top:20px}.creative-range input{min-height:40px}.creative-controls{scroll-margin-top:16px}}
@media(prefers-reduced-motion:reduce){.creative-button{transition:none}.voice-recorder.is-recording .voice-wave i{animation:none}}

@media(max-width:680px){.creative-workbench.is-making{display:block}.is-making .creative-preview{position:sticky;top:6px;z-index:5;box-shadow:0 5px 22px #263b3222}.is-making .creative-controls{margin-top:24px}.creative-transport{min-height:54px}.creative-range{scroll-margin-top:310px}.creative-field{scroll-margin-top:310px}}

.creative-button[aria-pressed=true]:hover:not(:disabled){background:#365743;color:#fff}.creative-stage-tip{margin:0;padding:13px 18px;background:#ece8d6;font-size:12px;line-height:1.7}.creative-stage-tip b,.creative-stage-tip span{display:block}.creative-stage-tip span{color:#5f705b;font-size:11px}@media(max-width:680px){.foodlab.is-making .creative-range,.foodlab.is-making .creative-field{scroll-margin-top:360px}}
/* The scene leads. Tools unfold only when the player needs them. */
.creative-page{max-width:1300px;padding-top:25px}.creative-heading{margin-bottom:22px}.creative-heading h1{font-size:clamp(27px,3.2vw,42px)}.creative-heading p{max-width:660px}.creative-workbench{gap:30px;grid-template-columns:minmax(0,1.45fr) minmax(330px,1fr)}.creative-stage-label{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 18px;background:#efe9d9;border-bottom:1px solid #39493720}.creative-stage-label span{font-size:10px;letter-spacing:.08em}.creative-stage-label b{font-size:10px;font-weight:500;color:#6c735f}.creative-preview{border-radius:15px;box-shadow:0 5px 0 #304b3320,0 16px 38px #304b3310}.creative-stage-tip{background:#f4e7c5;padding:13px 18px}.creative-stage-tip b{font-size:14px}.creative-stage-tip span{margin-top:4px}.creative-mission{border-left:3px solid #bd693f;padding:3px 0 4px 17px;margin:0 0 25px}.creative-mission>span{font-size:10px;letter-spacing:.09em;color:#85714f}.creative-mission h2{font-size:21px;line-height:1.4;margin:8px 0}.creative-mission p{font-size:13px;line-height:1.8;margin:0}.creative-mission .creative-button{background:transparent;font-size:11px;padding:8px 11px;border-color:#806a4433}.creative-timeline{margin-top:15px}.timeline-clip{flex-basis:119px;box-shadow:0 2px 0 #7e755733}.timeline-clip.selected{background:#f0d6ae}.timeline-clip>span{font-size:11px}.creative-trim{padding:2px 0 10px}.clip-actions{margin-bottom:14px}.creative-library{margin-top:12px}.creative-library>summary{font-weight:600}.creative-library>summary>span{font-weight:400}.creative-library[open]>summary{color:#a45a38}.creative-source-grid button{transition:transform .15s,box-shadow .15s}.creative-source-grid button:hover{transform:translateY(-2px);box-shadow:0 5px 0 #6a734323}.creative-source-grid canvas{border-bottom:1px solid #283f3326}.voice-recorder{border:1px solid #78677930;background:#e9e0e8}.dub-cue-card{padding:0 0 18px}.dub-cue-card>span{font-size:11px;color:#827c77}.dub-cue-card p{font-size:18px;line-height:1.65;color:#604962;margin:10px 0 0}.voice-presets{margin-bottom:20px}.voice-wave{height:60px}.voice-recorder.is-recording .voice-wave i{animation:none;transition:height .06s}.creative-caption-field{display:block;font-size:12px;margin-top:18px}.creative-caption-field input{display:block;width:100%;margin-top:8px;font-size:16px;border:1px solid #263b3235;background:#fffdf5;padding:12px;border-radius:7px}.food-shelf{margin-top:15px}.food-shelf button{background:#e4e6d2;border-radius:11px;transition:transform .15s,background .15s}.food-shelf button:hover{background:#d9dfc2;transform:translateY(-2px)}.kitchen-tools .creative-button{flex-direction:column;font-size:25px;line-height:1.05;min-height:66px;gap:8px;background:#eee6d4}.kitchen-tools .creative-button span{font-size:11px}.kitchen-tools .creative-button[aria-pressed=true]{background:#355441;color:#fff}.food-selected{padding-bottom:10px}.creative-result-note{border-radius:3px 16px 16px 16px;border:1px solid #c4bd9f;background:#ece7d5;box-shadow:5px 5px 0 #dad8c5}.creative-result-note>.creative-button{margin:8px 8px 0 0}.creative-result-facts{margin-top:22px;border-top:1px dashed #7c806255;padding-top:12px}.creative-result-facts p{font-size:12px;line-height:1.7;margin:9px 0}.creative-result-facts b{color:#53784c;margin-right:5px}.creative-busy{inset:42px 0 auto;display:flex;align-items:center;justify-content:space-between;gap:15px}.creative-busy .creative-button{background:#f6efda;flex-shrink:0;font-size:11px}.creative-notice:not(:empty){padding:14px 18px;background:#f1e4c9;border-left:3px solid #b78245}.creative-finish{border-top-style:dashed}.creative-finish label{color:#63705e}.creative-transport .sound-toggle{margin-left:auto;font-size:10px}.creative-button.chip{box-shadow:none;border-radius:8px}.creative-controls details>summary{scroll-margin-top:350px}
@media(max-width:900px){.creative-workbench{grid-template-columns:minmax(0,1fr) minmax(290px,1fr);gap:22px}.creative-stage-label b{display:none}}
@media(max-width:680px){.creative-page{padding:20px 16px 36px}.creative-nav{padding:9px 16px}.creative-heading{margin-bottom:18px}.creative-heading p{font-size:13px}.creative-heading h1{font-size:27px}.creative-heading span{font-size:9px}.creative-stage-label{padding:10px 12px}.creative-stage-label span{font-size:9px}.creative-stage-tip{padding:9px 12px}.creative-stage-tip b{font-size:12px}.creative-stage-tip span{font-size:10px}.creative-mission{margin-bottom:22px}.creative-mission h2{font-size:19px}.creative-mission p{font-size:12px}.creative-mission .creative-button{font-size:11px}.is-making .creative-controls{margin-top:23px}.creative-preview{border-radius:10px}.creative-transport{gap:8px;padding:8px 10px;min-height:52px}.creative-transport .creative-button{font-size:11px}.creative-stage-label b{display:block;font-size:9px}.creative-timeline{margin-top:12px}.timeline-clip{flex-basis:110px}.creative-finish{margin-top:18px;padding-top:22px}.dub-cue-card p{font-size:17px}.creative-controls details>summary{scroll-margin-top:380px}.food-selected{padding-top:14px}.creative-library summary span{font-size:9px}.creative-busy{inset:35px 0 auto}.creative-result-facts{margin-top:18px}}
@media(max-height:650px) and (max-width:680px){.is-making .creative-preview{position:relative;top:auto}}
@media(prefers-reduced-motion:reduce){.food-shelf button,.creative-source-grid button,.voice-recorder.is-recording .voice-wave i{transition:none}.food-shelf button:hover,.creative-source-grid button:hover{transform:none}}

.creative-poster-preview{display:block;width:100%;max-height:62vh;object-fit:contain;margin:14px 0 18px;background:#f3eddb}.creative-export-preview{display:block;width:100%;margin:14px 0 18px;border-radius:8px}

.creative-live-cue{margin:0;padding:10px 15px;background:#e8dce8;color:#624d66;font-size:13px;font-weight:600;min-height:40px}.creative-live-cue:before{content:'●';font-size:8px;color:#bd6856;margin-right:9px}
