/* Phase 5: shared creator-studio surfaces. Scoped to avoid changing existing tools. */
.creative-tool{--studio-cyan:#68e6ed;--studio-purple:#bd9cf8;--studio-line:#343347;--studio-muted:#adb1c8}
.creative-split{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:28px;align-items:start}
.creative-tool>*{min-width:0}.creative-controls{background:linear-gradient(140deg,#191627ed,#10141dec);backdrop-filter:blur(14px)}
.creative-tool .panel-title{gap:14px;align-items:flex-start}.creative-tool .panel-title h2{font-size:22px;margin:0 0 22px;line-height:1.3}.creative-tool .panel-title>.pill,.creative-tool .panel-title>.access-badge{flex-shrink:0}
.creative-tool .field{font-size:12px}.creative-tool .field small{display:block;color:var(--studio-muted);font-size:11px;line-height:1.6;margin-top:8px}.creative-tool .field textarea{font-family:inherit;font-size:14px;line-height:1.65;resize:vertical;min-height:100px}.creative-tool input[type=range]{padding:0;background:none;border:0;min-height:32px;accent-color:var(--studio-cyan);cursor:pointer}.control-value{float:right;color:var(--studio-cyan);font-variant-numeric:tabular-nums}.creative-tool button{cursor:pointer}.creative-tool button:disabled{cursor:not-allowed;opacity:.5}.creative-tool .helper{line-height:1.75;font-size:12px}.creative-tool .status{line-height:1.7;overflow-wrap:anywhere}.creative-tool .sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.creative-upload{display:flex;flex-direction:column;align-items:center;text-align:center;border:1px dashed #63547e;border-radius:12px;padding:24px 16px;background:radial-gradient(ellipse at 50% 0,#382c554d,transparent 85%),#15131f;margin:0 0 28px;transition:border-color .2s,background .2s}.creative-upload.is-dragging{border-color:var(--studio-cyan);background:#173039}.creative-upload .upload-symbol{display:grid;place-items:center;width:46px;height:46px;font-size:28px;color:var(--studio-cyan);background:#1c293333;border:1px solid #3a4f60;border-radius:12px;margin-bottom:16px}.creative-upload label{font-size:14px;font-weight:600;line-height:1.6}.creative-upload input{display:block;width:100%;max-width:100%;font-size:11px;color:#aaa7c2;margin:16px 0;overflow:hidden}.creative-upload input::file-selector-button{background:#292239;color:#e7d7ff;border:1px solid #57456e;border-radius:6px;padding:10px 12px;font-size:11px;cursor:pointer;margin-right:10px}.creative-upload small{font-size:10px;line-height:1.8;color:#aaa9bf}
.creative-check{display:flex;gap:12px;align-items:flex-start;padding:15px 0;border-top:1px solid #302b42;font-size:13px;line-height:1.5}.creative-check input{width:18px;height:18px;flex-shrink:0;accent-color:var(--studio-purple);margin-top:1px}.creative-check small{display:block;color:var(--studio-muted);font-size:10px;margin-top:5px}.creative-explainer{padding:20px;border:1px solid #343445;border-radius:9px;margin-top:20px;background:#0d121a77}.creative-explainer p{font-size:11px;line-height:1.8;color:var(--studio-muted);margin:12px 0 0}.creative-explainer .eyebrow{font-size:8px}
.map-workspace{display:grid;grid-template-columns:minmax(280px,.8fr) minmax(0,1.6fr);gap:28px;align-items:start}.map-results{min-width:0}.map-source{padding:24px;margin-bottom:22px}.map-source .panel-title h2,.map-card .panel-title h2{font-size:16px;margin-bottom:16px}.map-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.map-card{padding:20px}.map-surface{display:grid;place-items:center;border-radius:8px;overflow:hidden;min-height:230px;aspect-ratio:1;border:1px solid #383348;background:#0e101a}.map-surface.source-surface{aspect-ratio:auto;min-height:240px;height:260px}.map-surface canvas{display:block;width:100%;height:100%;min-width:0;min-height:0;max-width:100%;max-height:100%;object-fit:contain}.normal-surface{background:radial-gradient(ellipse at 25% 25%,#6561b050,transparent 65%),linear-gradient(145deg,#232139,#181529)}.roughness-surface{background:radial-gradient(ellipse at 25% 25%,#6e6b7950,transparent 65%),#161820}.map-card .button{font-size:11px;padding:12px 10px;gap:10px;margin-top:18px}.map-filename{font-size:10px;color:var(--studio-muted);margin:12px 0 0;overflow-wrap:anywhere}.creative-placeholder{text-align:center;padding:30px 18px;color:#a9a3bc;display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:220px}.creative-placeholder>span{font-size:54px;line-height:1.5;color:#a78dce}.creative-placeholder p{font-size:12px;line-height:1.7;margin:12px 0 0}.creative-placeholder small{font-size:10px;line-height:1.7;margin-top:10px}
.editor-section-label{font-size:9px;font-weight:600;letter-spacing:.15em;color:#af9bd0;margin:25px 0 18px}.theme-presets{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}.theme-presets button{display:flex;align-items:center;gap:7px;padding:10px;border:1px solid #383348;background:#15121e;color:#c4bdd2;border-radius:6px;font-size:10px;min-height:42px}.theme-presets button>span{width:14px;height:14px;border-radius:50%;border:2px solid}.theme-colors{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.color-control{display:flex;align-items:center;gap:9px;padding:7px 9px;border:1px solid #3a3548;border-radius:7px;background:#0c1019;margin-top:8px;min-height:46px}.creative-tool .color-control input[type=color]{padding:0;width:30px;min-width:30px;height:28px;min-height:28px;margin:0;border:0;background:none;cursor:pointer}.color-control>span{font:9px ui-monospace,monospace;color:#b4b8c9}.preview-browser{border:1px solid #49405d;border-radius:12px;overflow:hidden;background:#11101c}.preview-browser-bar{display:flex;gap:20px;align-items:center;background:#1c1826;padding:16px;color:#a5a0b5;font-size:8px;letter-spacing:.1em;border-bottom:1px solid #3a314b}.preview-browser-bar>span:first-child{letter-spacing:4px;color:#6e5a88}.preview-browser iframe{display:block;border:0;width:100%;height:470px;background:transparent;color-scheme:dark}.generated-code{margin-top:22px;padding:24px}.generated-code .code-output{min-height:230px;height:260px;font-size:11px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;padding:16px}.creative-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.creative-actions .button{font-size:11px;padding:12px 15px;gap:10px}
.frame-presets{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:25px}.frame-presets button{text-align:left;min-height:90px;padding:16px;border:1px solid #454057;background:#10131e;color:#aca7bd;border-radius:9px}.frame-presets button span{display:block;font-size:11px}.frame-presets button strong{display:block;font-size:20px;font-weight:500;color:#e3dded;margin-top:10px}.frame-presets button[aria-pressed=true]{background:linear-gradient(140deg,#173139,#192432);border-color:#63bfc9;box-shadow:inset 0 0 20px #60e0df09}.frame-presets button[aria-pressed=true] strong{color:var(--studio-cyan)}.matte-control{margin-top:22px}.framer-stage{overflow:hidden;border:1px solid #384653;border-radius:10px;background:radial-gradient(ellipse at center,#20273c,#0d111b 75%);aspect-ratio:900/650;display:grid;place-items:center}.framer-stage canvas{display:block;width:100%;height:auto;touch-action:none;cursor:grab}.framer-stage canvas:active{cursor:grabbing}.framer-stage:focus-within{outline:2px solid var(--studio-cyan);outline-offset:4px}.framer-preview>.helper{margin-top:15px}.framer-proof{display:grid;grid-template-columns:1fr 140px;gap:20px;align-items:center;padding-top:25px;border-top:1px solid #343040;margin-top:25px}.framer-proof h3{font-weight:500;font-size:26px;margin:10px 0}.framer-proof p{color:var(--studio-muted);font-size:11px;margin:6px 0 12px}.framer-output-wrap{display:grid;place-items:center;min-height:110px;background:#0b0f18;border:1px solid #3b354b;border-radius:8px;overflow:hidden}.framer-output-wrap canvas{display:block;width:100%;height:auto;image-rendering:auto}.framer-output-wrap>span{font-size:35px;color:#615371}.success-pill{color:#9fe4d1;border-color:#356c62;background:#17322c66}
.demo-pill{color:#e5d0ff;border-color:#69537e;background:#34234066}.demo-allowance{display:flex;align-items:center;gap:18px;padding:20px 0 25px;margin-bottom:20px;border-bottom:1px solid #343045}.allowance-number{font-size:46px;letter-spacing:-2px;line-height:1;color:var(--studio-cyan)}.allowance-number small{font-size:17px;letter-spacing:0;color:#766c8d;margin-left:6px}.demo-allowance strong{display:block;font-size:12px;line-height:1.5}.demo-allowance>div>span{display:block;font-size:9px;line-height:1.6;color:#a4a0b8;margin-top:7px}.writer-examples{display:flex;flex-wrap:wrap;gap:7px;margin:-4px 0 24px}.writer-examples button{border:1px solid #3d354d;background:#171321;color:#bab0ce;font-size:10px;line-height:1.5;padding:9px 12px;border-radius:20px}.writer-pro{padding:22px;margin-top:25px;background:linear-gradient(130deg,#2c1b4144,#17263366);border:1px solid #514260;border-radius:10px}.writer-pro h3{font-size:18px;line-height:1.4;font-weight:500;margin:15px 0 10px}.writer-pro p{color:#b1a8c2;font-size:11px;line-height:1.8}.writer-pro a{font-size:11px}.writer-empty{min-height:350px}.writer-empty h3{font-size:25px;font-weight:500;line-height:1.4;color:#d8cde9;margin:15px 0}.writer-empty p{max-width:340px}.description-draft{padding:27px;border:1px solid #454056;border-radius:10px;background:linear-gradient(145deg,#181a28,#10151e);margin-bottom:24px}.description-draft .eyebrow{font-size:8px}.description-draft h3{font-size:28px;line-height:1.3;font-weight:500;color:#e3d5ff;margin:20px 0;overflow-wrap:anywhere}.description-draft p,.description-draft li{color:#c0bfd0;font-size:13px;line-height:1.85;overflow-wrap:anywhere}.description-draft ul{padding-left:19px;margin:22px 0}.description-draft li{padding-left:4px;margin:10px 0}.description-draft li::marker{color:var(--studio-cyan)}.description-draft .draft-closing{border-top:1px solid #373147;padding-top:20px;margin-top:24px}.writer-disclosure{padding-top:24px;border-top:1px solid #302b40;margin-top:28px}.writer-plain{margin-top:20px}.writer-plain summary{font-size:12px;color:#baabd2;cursor:pointer}.writer-plain textarea{display:block;width:100%;min-height:300px;margin-top:15px;background:#0b1019;color:#ccd0e1;border:1px solid #40354e;border-radius:8px;padding:16px;font:12px/1.7 inherit;resize:vertical}.draft-skeleton{padding:35px 12px;min-height:350px}.draft-skeleton>span{display:block;height:14px;border-radius:5px;background:linear-gradient(90deg,#242035,#3d2f51,#242035);background-size:200% 100%;animation:draft-shimmer 1.5s linear infinite;margin:22px 0}.draft-skeleton>span:first-child{height:30px;width:70%;margin-bottom:40px}.draft-skeleton>span:nth-child(4){width:75%}.draft-skeleton>span:nth-child(5){width:90%}.draft-skeleton p{font-size:11px;color:#b0a1c2;margin-top:30px}@keyframes draft-shimmer{to{background-position:-200% 0}}
@media(max-width:1100px){.creative-split{gap:20px;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr)}.map-workspace{gap:20px;grid-template-columns:300px minmax(0,1fr)}.map-pair{gap:12px}.map-card{padding:15px}.map-card .panel-title{display:block}.map-card .panel-title .pill{display:none}.map-surface{min-height:180px}.theme-colors{grid-template-columns:1fr}.color-control{max-width:220px}.creative-tool .panel-title{flex-wrap:wrap}.creative-tool .panel-title>.pill,.creative-tool .panel-title>.access-badge{margin-bottom:14px}.framer-proof{grid-template-columns:1fr 110px;gap:12px}}
@media(max-width:850px){.creative-split,.map-workspace{grid-template-columns:1fr}.map-workspace>.creative-controls{max-width:none}.creative-tool .panel-title{flex-wrap:nowrap}.theme-colors{grid-template-columns:repeat(3,minmax(0,1fr))}.preview-browser iframe{height:450px}.creative-tool .panel-title h2{font-size:21px}.map-source .panel-title h2,.map-card .panel-title h2{font-size:16px}.framer-proof{grid-template-columns:1fr 140px}}
@media(max-width:480px){.creative-tool .panel-title{flex-wrap:wrap}.creative-tool .panel-title h2{margin-bottom:15px}.creative-tool .panel-title>.pill,.creative-tool .panel-title>.access-badge{margin-bottom:16px}.map-pair{grid-template-columns:1fr}.map-surface{min-height:220px;max-height:400px}.map-surface.source-surface{height:220px;min-height:220px}.map-card{padding:20px}.map-card .panel-title{display:flex}.map-card .panel-title .pill{display:block}.theme-colors{grid-template-columns:1fr}.theme-presets button{font-size:10px}.preview-browser-bar{font-size:7px;gap:10px}.generated-code{padding:20px}.creative-actions .button{width:100%}.frame-presets{gap:8px}.frame-presets button{padding:12px}.frame-presets button strong{font-size:19px}.framer-stage .creative-placeholder{min-height:160px;padding:15px}.framer-stage .creative-placeholder>span{font-size:34px}.framer-stage .creative-placeholder p{font-size:11px}.framer-proof{grid-template-columns:1fr 90px;gap:10px}.framer-proof h3{font-size:23px}.framer-proof .eyebrow{font-size:8px}.demo-allowance{gap:12px}.demo-allowance strong{font-size:11px}.demo-allowance>div>span{font-size:9px}.description-draft{padding:20px}.description-draft h3{font-size:25px}.writer-empty h3{font-size:23px}.writer-pro{padding:18px}}
@media(prefers-reduced-motion:reduce){.draft-skeleton>span{animation:none}.creative-upload{transition:none}}
