@import url('/features/app-builder/material.css');
:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#26352e;background:#f5f3ed;font-synthesis:none;--ink:#26352e;--muted:#778076;--line:#dedfd6;--paper:#faf9f5;--accent:#294b3a;--gold:#d3b477;--spring:cubic-bezier(.2,.85,.25,1.16);color-scheme:light}
*{box-sizing:border-box}body{margin:0}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,textarea,select{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer;color:inherit;background:transparent;border:1px solid var(--line);border-radius:9px;padding:9px 13px;transition:background .2s,box-shadow .2s,transform .3s var(--spring)}button:hover{background:#eaece3}button:active{transform:translateY(1px) scale(.985)}button:disabled{opacity:.38;cursor:not-allowed;transform:none}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline}button:focus-visible,a:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #9c7841;outline-offset:3px}[hidden]{display:none!important}.icon-library{position:absolute;width:0;height:0;overflow:hidden}.icon{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.icon-button{display:grid;place-items:center;width:34px;height:34px;padding:0}
.topbar{height:72px;display:flex;align-items:center;gap:20px;padding:0 32px;border-bottom:1px solid var(--line);background:#fbfaf7;position:relative;z-index:12}.wordmark{position:relative;font-size:29px;font-weight:760;letter-spacing:-1.8px;line-height:1}.wordmark:hover{text-decoration:none}.wordmark-dot{position:absolute;font-size:8px;letter-spacing:0;top:0;right:-8px}.header-divider{height:21px;width:1px;background:var(--line);margin-left:10px}.studio-label{font-size:12px;color:#687368;letter-spacing:.2px}.project-identity{position:absolute;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:9px;max-width:32%;padding:7px 11px;font-size:11px;white-space:nowrap}.project-identity #project-name{overflow:hidden;text-overflow:ellipsis}.project-light{width:6px;height:6px;border-radius:50%;background:#9ba58e;flex-shrink:0}#project-badge{font-size:9px;color:#7a8377;border:1px solid #dce0d4;background:#f1f3eb;border-radius:4px;padding:3px 5px;flex-shrink:0}.topbar nav{margin-left:auto;display:flex;align-items:center;gap:15px}.topbar nav>button{display:flex;align-items:center;gap:8px;font-size:11px;padding:8px 12px;border-color:#e0e2d8;box-shadow:0 1px 2px #26352e04}.topbar nav .icon{width:15px;height:15px}.account-link{display:grid;place-items:center;border:1px solid #d5dbcf;background:#eef0e6;width:33px;height:33px;border-radius:50%;color:#56664e;box-shadow:inset 0 1px #fff}.account-link:hover{background:#e3e8da}.mobile-workspace-tabs{display:none}
.workspace{height:calc(100dvh - 72px);min-height:670px;display:grid;grid-template-columns:minmax(330px,34%) minmax(0,1fr)}.agent-pane{display:flex;flex-direction:column;min-height:0;padding:27px 30px 17px;border-right:1px solid var(--line);background:var(--paper);position:relative}.agent-heading{display:flex;align-items:center;gap:11px;padding-bottom:22px;flex-shrink:0}.agent-mark{position:relative;width:37px;height:40px;border-radius:10px;display:grid;place-items:center;color:#e4d2a6;background:linear-gradient(145deg,#45614d,#203b2d 80%);box-shadow:inset 0 1px #d9d1a769,inset 0 0 0 1px #1b372b,0 3px 4px #10261914;overflow:hidden}.agent-mark svg{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:1.35;stroke-linejoin:round}.agent-mark:after{content:"";position:absolute;inset:-60%;background:linear-gradient(115deg,transparent 40%,#ffebba44 49%,transparent 58%);transform:translateX(-65%);animation:mark-glint 12s ease-in-out infinite}.agent-heading h1{font-size:12px;font-weight:650;letter-spacing:-.1px;margin:0 0 6px}.agent-heading p{display:flex;align-items:center;gap:5px;font-size:9px;color:#7c8578;margin:0}.status-light{width:4px;height:4px;border-radius:50%;background:#73905c}.agent-label{margin-left:auto;font-size:8px;letter-spacing:1.4px;color:#899281;border:1px solid #dfe4d6;border-radius:4px;padding:5px 6px}
.welcome{padding:20px 0 26px;margin:auto 0;max-width:400px}.eyebrow{font-size:8px;line-height:1.6;font-weight:550;letter-spacing:1.45px;color:#8c947d;display:flex;align-items:center;gap:9px}.eyebrow-rule{width:19px;height:1px;background:#9b8c5d}.welcome h2{font-size:clamp(34px,3.6vw,57px);line-height:1.09;font-weight:480;letter-spacing:-2.5px;margin:23px 0 18px}.welcome h2 em{font-family:Georgia,"Times New Roman",serif;font-weight:400;color:#58744b;letter-spacing:-2.4px}.welcome>p{font-size:13px;line-height:1.85;color:#858979;margin:0}.suggestions{margin-top:29px;display:flex;flex-direction:column;gap:8px}.suggestions button{display:flex;align-items:center;gap:11px;text-align:left;padding:11px 12px;border-color:#e5e6db;background:linear-gradient(115deg,#fffdfb,#f7f8f0);box-shadow:0 1px 1px #27382303;overflow:hidden}.suggestions button:hover{transform:translateX(4px);border-color:#bccab1;background:#f4f7eb;box-shadow:0 4px 12px #35492a08}.suggestions button>span:nth-child(2){min-width:0}.suggestions strong{display:block;font-size:11px;font-weight:550;letter-spacing:.1px}.suggestions small{display:block;color:#929783;font-size:9px;margin-top:4px}.suggestion-icon{width:33px;height:35px;display:grid;place-items:center;border:1px solid #e0dccb;border-radius:8px;background:#f3ede0;color:#98805c;box-shadow:inset 0 1px #fff;flex-shrink:0}.suggestion-icon.habit{background:#eaf0e2;color:#728560;border-color:#dce3d2}.suggestion-icon.planner{background:#ecebf2;color:#8b829d;border-color:#e0deea}.suggestion-icon .icon{width:17px;height:17px}.suggestion-arrow{margin-left:auto;color:#929e85;width:13px;height:13px;transition:transform .3s var(--spring)}.suggestions button:hover .suggestion-arrow{transform:translate(2px,-2px)}
.messages{overflow-y:auto;flex:1;min-height:0;scroll-behavior:smooth;scrollbar-width:thin;scrollbar-color:#cfd5c5 transparent}.messages:empty{flex:0}.message{font-size:12px;line-height:1.85;margin:17px 0 22px;white-space:pre-wrap;overflow-wrap:anywhere;animation:message-arrive .4s var(--spring)}.message.user{background:#edf0e5;border:1px solid #e1e6d7;border-radius:14px 14px 3px 14px;padding:13px 15px;margin-left:28px}.message.assistant{padding:0 7px 0 2px}.message.assistant>span{display:block;padding-left:31px}.message small{display:flex;align-items:center;gap:8px;margin-bottom:8px;font-size:8px;font-weight:600;letter-spacing:1.4px;color:#849174;text-transform:uppercase}.message.assistant small:before{content:"B";display:grid;place-items:center;width:23px;height:25px;border-radius:6px;background:linear-gradient(135deg,#526d4e,#2b4634);color:#e6d6b2;font:16px Georgia;letter-spacing:0;box-shadow:inset 0 1px #b6c18b66}.message.user small{color:#87957a;font-size:7px}
.composer{border:1px solid #c7cfbc;border-radius:15px;background:linear-gradient(#fffefa,#fdfdf8);box-shadow:0 3px 3px #35412503,0 10px 25px #3c48220a,inset 0 1px #fff;margin-top:12px;flex-shrink:0;position:relative;transition:box-shadow .3s,border-color .3s}.composer textarea{resize:none;width:100%;max-height:170px;min-height:96px;display:block;border:0;background:transparent;padding:18px 17px 5px;color:var(--ink);font-size:12px;line-height:1.8;border-radius:15px}.composer textarea::placeholder{color:#9b9f90}.composer textarea:focus{outline:none}.composer:focus-within{border-color:#8d9f78;box-shadow:0 0 0 3px #9dad801b,0 12px 28px #3445210c}.composer-actions{padding:9px 10px 10px 16px;display:flex;justify-content:space-between;align-items:center;gap:8px}.composer-actions>span{font-size:8px;color:#899580;line-height:1.6;max-width:55%}.composer-actions button{display:flex;align-items:center;gap:15px;padding:9px 10px 9px 13px;background:linear-gradient(145deg,#416046,#254532);border-color:#2d4b33;box-shadow:inset 0 1px #9db48344,0 2px 3px #1c331519;color:#f9f5e8;font-size:10px;white-space:nowrap;border-radius:9px}.composer-actions button .icon{width:15px;height:15px}.composer-actions button:hover{background:linear-gradient(145deg,#55784f,#315738);box-shadow:0 4px 10px #26382325}.composer-foot{display:flex;align-items:center;justify-content:space-between;padding:11px 4px 0;flex-shrink:0;color:#949b89;font-size:8px;letter-spacing:.25px}.composer-foot kbd{font:10px ui-sans-serif,system-ui;letter-spacing:2px;border:1px solid #e0e4d6;border-radius:4px;padding:2px 4px;color:#a0a792}.signin-note{display:flex;flex-wrap:wrap;gap:3px;font-size:9px;line-height:1.8;color:#93998b;margin:12px 3px 0;flex-shrink:0}.signin-note a:first-child{color:#4f6545;text-decoration:underline;text-underline-offset:3px}.signin-note a:last-child{margin-left:auto;color:#627455}.notice{margin:9px 0 0;padding:10px 12px;border:1px solid #d8c6a1;background:#f8f0de;color:#6d5a37;font-size:11px;line-height:1.6;border-radius:9px;flex-shrink:0;max-height:130px;overflow:auto}.build-progress{display:flex;align-items:center;gap:10px;border:1px solid #d5ddc6;background:#eff3e6;border-radius:10px;padding:11px;margin:8px 0 0;font-size:10px;flex-shrink:0}.build-progress>div:nth-child(2){flex:1;min-width:0}.build-progress strong{display:block;font-size:10px;font-weight:550;color:#4d6443;margin-bottom:4px}.build-progress span{font-size:9px;color:#859070;display:block;overflow-wrap:anywhere}.build-progress button{font-size:9px;padding:5px 8px;border-color:#c9d3ba}.film-strip{position:relative;height:25px;width:26px;flex-shrink:0}.film-strip i{position:absolute;width:17px;height:21px;border:1px solid #758767;border-radius:4px;background:#ecf1e0;transform-origin:50% 100%;animation:unfold 1.8s var(--spring) infinite}.film-strip i:nth-child(2){animation-delay:.12s}.film-strip i:nth-child(3){animation-delay:.24s}
.preview-pane{min-width:0;min-height:0;display:flex;flex-direction:column;padding:18px 22px 0;background:#eeefe7;position:relative}.preview-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:37px;margin-bottom:13px;flex-shrink:0}.view-tabs{display:flex;background:#e0e4d8;border:1px solid #dce0d3;border-radius:9px;padding:3px;gap:2px;box-shadow:inset 0 1px 2px #29392b03}.view-tabs button{display:flex;align-items:center;gap:6px;border:0;background:transparent;border-radius:6px;font-size:10px;padding:7px 10px;color:#88907c}.view-tabs button .icon{width:13px;height:13px}.view-tabs button[aria-selected=true]{color:#475b3a;background:linear-gradient(#fdfdf8,#f4f5ed);box-shadow:0 1px 3px #26321a12,inset 0 1px #fff}.preview-actions{display:flex;gap:8px;align-items:center;font-size:10px;min-width:0}.preview-actions button{font-size:10px}.size-tabs{display:flex;gap:2px;padding-right:10px;border-right:1px solid #d4dbcb}.size-tabs button{display:grid;place-items:center;border:0;background:transparent;color:#97a08d;padding:7px;border-radius:5px}.size-tabs .icon{width:16px;height:16px}.size-tabs button[aria-pressed=true]{background:#dce3d2;color:#566b49;box-shadow:inset 0 1px #d1dac6}.preview-actions>.icon-button{border-color:transparent;color:#839178}.preview-actions a{display:flex;align-items:center;gap:4px;font-size:9px;white-space:nowrap}.preview-actions a .icon{width:12px;height:12px}.publish{color:#fff9e9;background:linear-gradient(135deg,#546d4b,#314d33);border:1px solid #3a5433;box-shadow:inset 0 1px #b7c6a137,0 2px 3px #23361712;padding:8px 14px!important;white-space:nowrap}.publish:hover{background:linear-gradient(135deg,#657f59,#3d5d3e)}.preview-actions #unpublish{font-size:9px;padding:7px;border-color:#d8dece;white-space:nowrap}
.version-toolbar{display:flex;align-items:center;justify-content:space-between;gap:9px;padding:0 3px 12px;min-height:32px;flex-shrink:0;font-size:9px;color:#8b957f}.version-selector{display:flex;align-items:center;gap:8px;min-width:0}.version-selector label{font-size:7px;letter-spacing:1.2px;color:#8b957f}.version-toolbar select{font-size:9px;width:135px;max-width:100%;border:0;background:transparent;color:#7b896e;padding:4px;cursor:pointer;text-overflow:ellipsis}.version-toolbar button{font-size:8px;padding:4px 6px;white-space:nowrap}.version-toolbar>span{font-size:8px;max-width:46%;text-align:right;line-height:1.5}.version-toolbar>span[data-passed=true]{color:#567446}.version-toolbar>span[data-passed=true]:before{content:"✓";margin-right:5px}
.preview-panel{flex:1;min-height:0;display:flex;justify-content:center;position:relative;border:1px solid #343e34;border-radius:14px;overflow:hidden;background:#182820;box-shadow:0 2px 3px #1624110a,0 16px 32px #23371310,inset 0 0 0 1px #f0e5ba18}.preview-empty{width:100%;min-height:0;position:relative;isolation:isolate;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:56px 24px 28px;background:radial-gradient(ellipse at 53% 30%,#7c805b29,transparent 54%),radial-gradient(ellipse at 50% 100%,#61734b20,transparent 70%),linear-gradient(150deg,#24382b,#14251d 65%,#1b2b21);overflow:hidden}.preview-empty:before{content:"";position:absolute;inset:0;z-index:-1;opacity:.3;background-image:linear-gradient(#d0d8ac0e 1px,transparent 1px),linear-gradient(90deg,#d0d8ac0e 1px,transparent 1px);background-size:48px 48px;mask-image:radial-gradient(ellipse at 50% 40%,#000,transparent 80%)}.preview-empty:after{content:"";position:absolute;inset:9px;z-index:-1;border:1px solid #cadbb314;border-radius:8px;pointer-events:none}.canvas-corner{position:absolute;left:25px;right:25px;top:24px;display:flex;align-items:center;gap:7px;color:#9eae87;font-size:7px;letter-spacing:1.55px;text-align:left}.canvas-light{height:4px;width:4px;background:#b3bd86;border-radius:50%;box-shadow:0 0 8px #c4ce8a4d}.canvas-index{margin-left:auto;font-size:8px;letter-spacing:2px;color:#879778}
.stage-scene{position:relative;width:350px;height:270px;max-width:100%;perspective:1000px;flex-shrink:0;--pointer-x:0;--pointer-y:0}.stage-orbit{position:absolute;left:50%;top:47%;border:1px solid #c8d3a414;border-radius:50%;transform:translate(-50%,-50%) rotate(-22deg);pointer-events:none}.orbit-one{width:325px;height:214px}.orbit-two{width:395px;height:268px;border-style:dashed;border-color:#c8d3a409}.stage-object{position:absolute;width:200px;height:224px;left:50%;top:47%;transform:translate(-50%,-50%) rotateX(var(--tilt-x,10deg)) rotateY(var(--tilt-y,-18deg)) rotateZ(-8deg);transform-style:preserve-3d;transition:transform .8s var(--spring);animation:object-reveal 1.2s var(--spring) both}.glass-layer{position:absolute;width:182px;height:210px;inset:0;border:1px solid #e1e8c745;border-radius:16px;background:linear-gradient(135deg,#d8e3b31c,#d8e3b307 65%);box-shadow:inset 0 1px #eaf7d529,0 15px 20px #08140f25;backdrop-filter:blur(5px);overflow:hidden}.layer-back{transform:translate(43px,-14px) rotate(16deg);opacity:.44;padding:29px 15px;color:#d8d9b0}.layer-middle{transform:translate(23px,-8px) rotate(8deg);opacity:.72;padding:26px 14px;background:linear-gradient(135deg,#d8dfac19,#354a329e)}.glass-layer>span{display:block;width:26px;height:26px;border:1px solid #d6debd33;border-radius:7px;margin-bottom:48px}.glass-layer>i{display:block;height:5px;width:90%;margin:8px 0;background:#cad7af16;border-radius:3px}.glass-layer>i:last-child{width:65%}.layer-front{display:flex;flex-direction:column;background:linear-gradient(145deg,#52705463,#2b453784 35%,#253d2ec9);border-color:#c3cea964;box-shadow:inset 0 1px #ecf9d25c,inset 0 0 0 4px #0c1b100f,0 12px 16px #020c072e,0 27px 45px #03100940}.layer-front:after{content:"";position:absolute;inset:-50%;background:linear-gradient(110deg,transparent 43%,#f8e8b31b 49%,transparent 57%);transform:translateX(-65%);animation:mark-glint 12s ease-in-out infinite;pointer-events:none}.object-top{display:flex;align-items:center;gap:4px;margin:13px 12px;padding-bottom:10px;border-bottom:1px solid #d3e2b925}.object-top>span{width:3px;height:3px;background:#b5c49b67;border-radius:50%}.object-top>b{font-size:4px;letter-spacing:1.5px;font-weight:400;color:#c2d0a688;margin-left:auto}.ribbon-mark{position:relative;width:88px;height:112px;margin:3px auto 0;filter:drop-shadow(3px 8px 5px #07150f55);transform:translateZ(18px)}.ribbon-stem{position:absolute;width:20px;height:103px;left:5px;top:0;background:linear-gradient(90deg,#8d815c,#e0c98e 43%,#f5dfac 58%,#bbaa73);box-shadow:inset 2px 0 #fff1c269;border-radius:3px 0 0 3px}.ribbon-loop{position:absolute;left:24px;height:54px;width:59px;border:18px solid #c4af79;border-left:0;border-radius:0 32px 32px 0;box-shadow:2px 3px 2px #10211440;background:linear-gradient(135deg,#bcce9614,transparent);border-top-color:#e8d59f;border-right-color:#c0a775;border-bottom-color:#9e9164}.ribbon-top{top:0;transform:skewY(-5deg)}.ribbon-bottom{top:50px;width:65px;transform:skewY(-5deg);border-top-color:#cfbd86;border-right-color:#e2ce95;border-bottom-color:#a8915d}.object-bottom{display:flex;align-items:center;justify-content:space-between;padding:12px 13px;margin-top:auto;border-top:1px solid #d3e2b91c;color:#c1cda3}.object-bottom>span{font-size:5px;letter-spacing:1.5px}.object-bottom .icon{width:11px;height:11px;stroke-width:1}.stage-ground{position:absolute;height:22px;width:210px;left:50%;bottom:1px;transform:translateX(-50%) rotate(-8deg);background:#04100b47;border-radius:50%;filter:blur(11px)}.drawing-note{position:absolute;font:italic 11px Georgia,serif;color:#a6b38e73;letter-spacing:.15px}.note-one{top:31px;left:-2px;transform:rotate(-9deg)}.note-two{right:0;bottom:51px;transform:rotate(-9deg)}
.canvas-copy{position:relative;z-index:1;margin-top:14px}.canvas-copy .eyebrow{justify-content:center;color:#a1af85;font-size:6px;letter-spacing:2.1px}.canvas-copy h2{font-size:clamp(27px,2.9vw,43px);font-weight:440;line-height:1.15;letter-spacing:-1.4px;color:#e9ead9;margin:14px 0 11px}.canvas-copy h2 em{font-family:Georgia,"Times New Roman",serif;font-weight:400;letter-spacing:-1px;color:#b9c499}.canvas-copy p{font-size:10px;color:#8f9e80;line-height:1.8;margin:0}.build-steps{padding:0;margin:40px 0 0;list-style:none;display:flex;gap:24px;text-align:left}.build-steps li{display:flex;align-items:flex-start;gap:8px;position:relative}.build-steps li>span{font-size:8px;letter-spacing:.5px;color:#99a97a;border:1px solid #98ac7130;border-radius:50%;width:23px;height:23px;display:grid;place-items:center;flex-shrink:0}.build-steps strong{display:block;font-size:9px;font-weight:450;color:#bbc7a2;margin:1px 0 5px}.build-steps small{display:block;font-size:7px;color:#778969;white-space:nowrap}.build-steps li:not(:last-child):after{content:"";position:absolute;width:12px;height:1px;background:#a8b98c20;right:-18px;top:12px}
#app-preview{height:100%;width:100%;border:0;background:white;transition:width .45s var(--spring);min-height:360px}#app-preview.phone{width:390px;max-width:100%;border-left:1px solid #536149;border-right:1px solid #536149;box-shadow:0 0 36px #07130966}.preview-foot{height:36px;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:8px;color:#8b967e;letter-spacing:.15px;flex-shrink:0;padding:0 2px}.save-indicator{display:flex;align-items:center;gap:5px;min-width:0}.save-indicator>.icon{width:11px;height:11px;color:#7e936a}.save-indicator>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.made-with{display:flex;align-items:center;gap:4px;white-space:nowrap;font-size:7px}.made-with strong{font-size:12px;font-weight:700;letter-spacing:-.5px;color:#657354}.brand-spark{font-size:12px;color:#a29163;margin-left:1px}
.code-panel{flex:1;min-height:0;display:grid;grid-template-columns:155px minmax(0,1fr);border:1px solid #354034;border-radius:13px;overflow:hidden;background:#1e2c24;color:#d2dbc4;box-shadow:0 12px 28px #273d2110}.code-panel>aside{border-right:1px solid #c8d8b314;background:#25352a;overflow:auto}.files-heading{display:flex;align-items:center;gap:8px;height:44px;padding:0 13px;font-size:7px;letter-spacing:1.3px;color:#8e9e80;border-bottom:1px solid #c8d8b314}.files-heading .icon{width:12px;height:12px}#files{padding:8px 6px}#files button{border:1px solid transparent;display:block;text-align:left;font-size:10px;padding:9px 9px;border-radius:5px;width:100%;overflow-wrap:anywhere;color:#aebda0;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}#files button:hover{background:#334631}#files button[aria-current=true]{border-color:#a9c18b17;background:#3e5335;color:#d7e6b6;box-shadow:inset 2px 0 #b2c58f}.editor{min-width:0;display:flex;flex-direction:column;overflow:hidden}.editor-bar{height:44px;border-bottom:1px solid #c8d8b314;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 12px;font:10px ui-monospace,SFMono-Regular,Menlo,monospace;flex-shrink:0;color:#c0cfae}.editor-bar>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.editor-bar button{font:9px ui-sans-serif,system-ui;padding:6px 9px;border-color:#6d86564f;background:#3c5232;color:#cfddbb;white-space:nowrap}.editor-bar button:hover{background:#516c45}#source{width:100%;flex:1;min-height:0;border:0;resize:none;outline-offset:-3px!important;border-radius:0;background:transparent;color:#d7dfc9;font:11px/1.85 ui-monospace,SFMono-Regular,Menlo,monospace;padding:19px 20px;tab-size:2;caret-color:#cbd899}#source::placeholder{color:#71836b;white-space:normal;line-height:1.9}.editor-foot{height:28px;padding:0 12px;display:flex;align-items:center;justify-content:space-between;font:8px ui-monospace,SFMono-Regular,Menlo,monospace;color:#839575;border-top:1px solid #c8d8b314;flex-shrink:0}
.drawer-shade{position:fixed;inset:72px 0 0;background:#1a2a1e33;backdrop-filter:blur(3px);z-index:18}.projects-drawer{position:fixed;right:16px;top:83px;bottom:16px;width:min(390px,calc(100vw - 32px));display:flex;flex-direction:column;background:#fafaf3;border:1px solid #d6ddca;border-radius:16px;box-shadow:0 24px 70px #11231533,inset 0 1px #fff;padding:24px;z-index:20;animation:drawer-arrive .35s var(--spring)}.drawer-title{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}.drawer-title .eyebrow{font-size:7px;color:#899778;letter-spacing:1.7px}.drawer-title h2{font:24px/1.25 Georgia,serif;letter-spacing:-.6px;margin:10px 0 20px;color:#415a38}.drawer-title .icon-button{width:27px;height:27px;border:0;color:#8d9881}.new-app{display:flex;align-items:center;justify-content:center;gap:7px;background:#edf2e3;border-color:#d4dec7;color:#547045;font-size:11px}.new-app .icon{width:15px;height:15px}#projects{overflow:auto;min-height:0}#projects>button{display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%;text-align:left;border:1px solid #e2e7d7;background:#fffef9;border-radius:10px;padding:14px 12px;font-size:11px;margin-top:8px}#projects>button>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#projects>button:hover{background:#f0f5e6;border-color:#c6d3b5}#projects small{font-size:8px;color:#81926e;border:1px solid #dce5cf;border-radius:4px;padding:3px 5px;flex-shrink:0}#projects-status{font-size:10px;color:#879579;line-height:1.7;margin:18px 0 5px}.drawer-foot{padding-top:20px;margin-top:auto;font:italic 12px Georgia,serif;color:#8b9b7c}
.skip{position:absolute;top:-100px;z-index:30;padding:12px;background:#fff}.skip:focus{top:10px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
@keyframes mark-glint{0%,70%{transform:translateX(-65%)}87%,100%{transform:translateX(65%)}}@keyframes unfold{0%,100%{transform:rotate(-12deg) translateX(-3px)}50%{transform:rotate(20deg) translateX(5px)}}@keyframes message-arrive{from{transform:translateY(12px);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes drawer-arrive{from{transform:translateX(30px);opacity:0}to{transform:translateX(0);opacity:1}}@keyframes object-reveal{from{opacity:0;translate:0 25px;scale:.9}to{opacity:1;translate:0 0;scale:1}}
@media(min-height:1000px) and (min-width:900px){.welcome{padding-bottom:42px}.suggestions{margin-top:38px}.welcome h2{margin-top:28px}.stage-scene{scale:1.12;margin-bottom:23px}.build-steps{margin-top:48px}}
@media(max-height:820px) and (min-width:761px){.workspace{min-height:610px}.agent-pane{padding-top:19px}.agent-heading{padding-bottom:8px}.welcome{padding:13px 0}.welcome h2{font-size:42px;margin:16px 0 12px}.welcome>p{font-size:11px}.suggestions{margin-top:21px;gap:6px}.suggestions button{padding:8px 10px}.suggestions small{font-size:8px}.stage-scene{height:232px;scale:.92;margin-top:-12px;margin-bottom:-5px}.build-steps{margin-top:29px}.canvas-copy h2{font-size:34px}.preview-empty{padding-top:40px;padding-bottom:22px}.composer textarea{min-height:82px}}
@media(max-width:1150px){.workspace{grid-template-columns:minmax(320px,37%) minmax(0,1fr)}.agent-pane{padding-left:22px;padding-right:22px}.preview-pane{padding-left:16px;padding-right:16px}.preview-actions{gap:4px}.size-tabs{padding-right:5px}.preview-actions a{font-size:0}.preview-actions a .icon{width:15px;height:15px}.preview-actions #unpublish{font-size:8px}.project-identity{max-width:26%}.project-identity #project-badge{display:none}.build-steps{gap:15px}.build-steps li{gap:6px}.build-steps li:not(:last-child):after{width:7px;right:-11px}.build-steps small{font-size:6px}.stage-scene{width:315px}.note-one{left:0}.note-two{right:-1px}.agent-label{display:none}.welcome h2{font-size:clamp(38px,4vw,50px)}}
@media(max-width:900px) and (min-width:761px){.agent-pane{padding:20px 18px 15px}.preview-pane{padding:14px 12px 0}.preview-actions .size-tabs{display:none}.preview-actions #unpublish{max-width:49px;white-space:normal;padding:4px;font-size:7px}.canvas-copy h2{font-size:31px}.canvas-copy p{font-size:8px}.canvas-copy .eyebrow{font-size:5px}.stage-scene{scale:.9;margin-top:-10px;margin-bottom:-15px}.build-steps{gap:9px}.build-steps small{display:none}.build-steps li:not(:last-child):after{display:none}.version-toolbar select{width:110px}.code-panel{grid-template-columns:105px minmax(0,1fr)}.view-tabs button{padding:7px}.topbar{padding:0 24px}}
@media(max-width:760px){.topbar{height:62px;padding:0 19px;gap:14px}.wordmark{font-size:27px}.header-divider{height:18px;margin-left:5px}.studio-label{font-size:10px}.project-identity{display:none}.topbar nav{gap:10px}.topbar nav>button{font-size:10px;padding:7px 9px;gap:6px}.topbar nav .icon{width:13px;height:13px}.account-link{width:30px;height:30px}.mobile-workspace-tabs{display:flex;gap:3px;padding:7px 17px;background:#f6f5ef;border-bottom:1px solid #dfe3d5;height:50px}.mobile-workspace-tabs>button{display:flex;align-items:center;justify-content:center;gap:7px;flex:1;font-size:11px;border:1px solid transparent;padding:6px;border-radius:7px;color:#8c9682}.mobile-workspace-tabs>button .icon{width:14px;height:14px}.mobile-workspace-tabs>button[aria-selected=true]{background:#fffef8;border-color:#dfe4d4;color:#4c6441;box-shadow:0 1px 2px #34422109}#mobile-preview-ready{font-size:7px;background:#e5edd7;color:#6c8354;border-radius:3px;padding:3px 4px}.workspace{height:calc(100dvh - 112px);min-height:550px;display:block}.agent-pane{height:100%;border:0;padding:20px 24px 17px}.agent-heading{padding-bottom:10px}.welcome{max-width:500px;margin:auto 0;padding:18px 0 24px}.welcome h2{font-size:48px;letter-spacing:-2.3px;margin:20px 0 15px}.welcome>p{font-size:12px}.welcome .eyebrow{font-size:7px;letter-spacing:1.1px}.suggestions{margin-top:25px;gap:7px}.suggestions button{padding:10px 12px}.suggestions strong{font-size:11px}.suggestions small{font-size:8px}.suggestion-icon{width:32px;height:32px}.agent-label{display:block}.composer textarea{min-height:93px;font-size:16px;max-height:140px;padding-top:15px}.composer-actions>span{font-size:8px}.composer-actions button{font-size:11px;min-height:37px}.composer-foot{font-size:8px;padding-top:10px}.signin-note{font-size:9px;line-height:1.7}.messages{max-height:none}.preview-pane{height:100%;padding:14px 13px 0}.preview-toolbar{margin-bottom:10px;min-height:36px;gap:5px}.preview-actions{gap:3px}.view-tabs button{font-size:10px;padding:7px 9px}.view-tabs button .icon{width:12px;height:12px}.size-tabs{padding-right:3px}.size-tabs button{padding:5px}.size-tabs .icon{width:14px;height:14px}.preview-actions .icon-button{width:27px;height:30px}.preview-actions a{font-size:0}.publish{font-size:10px!important;padding:8px 10px!important}.preview-actions #unpublish{max-width:42px;font-size:7px;white-space:normal;padding:4px}.version-toolbar{padding-bottom:10px;min-height:30px}.version-toolbar>span{font-size:7px;max-width:42%}.version-selector{gap:4px}.version-selector select{width:104px;font-size:8px}.version-selector label{font-size:6px}.version-toolbar button{font-size:7px;padding:4px}.preview-empty{padding:37px 15px 24px;min-height:430px}.canvas-corner{left:20px;right:20px;top:21px;font-size:6px;letter-spacing:1.1px}.stage-scene{height:240px;width:300px;scale:.92;margin-bottom:-6px}.canvas-copy{margin-top:5px}.canvas-copy h2{font-size:36px;margin-top:12px}.canvas-copy .eyebrow{font-size:6px;letter-spacing:1.5px}.canvas-copy p{font-size:9px}.build-steps{margin-top:34px;gap:16px}.build-steps strong{font-size:8px}.build-steps small{font-size:6px}.build-steps li>span{width:21px;height:21px;font-size:7px}.build-steps li:not(:last-child):after{width:7px;right:-11px}.preview-foot{height:33px;font-size:7px}.code-panel{grid-template-columns:104px minmax(0,1fr)}.files-heading{font-size:6px;padding:0 8px;gap:5px}#files button{font-size:9px;padding:8px 6px}.editor-bar{font-size:9px;padding:0 8px}.editor-bar button{font-size:8px;padding:5px 7px}#source{font-size:12px;padding:15px}.drawer-shade{top:62px}.projects-drawer{top:72px;padding:22px}[data-mobile-view=chat] .preview-pane{display:none}[data-mobile-view=preview] .agent-pane{display:none}}
@media(max-width:370px){.topbar{padding:0 14px;gap:10px}.studio-label{font-size:9px}.topbar nav>button{padding:6px;font-size:9px}.agent-pane{padding-left:19px;padding-right:19px}.agent-label{display:none}.welcome h2{font-size:43px}.welcome .eyebrow{font-size:6px}.preview-actions .size-tabs{display:none}.build-steps{gap:12px}.build-steps small{display:none}.stage-scene{scale:.86;margin-left:-5px}.canvas-copy h2{font-size:31px}.editor-bar button{font-size:7px}.code-panel{grid-template-columns:88px minmax(0,1fr)}}
@media(max-height:740px) and (max-width:760px){.workspace{min-height:500px}.agent-pane{padding-top:15px}.agent-heading{padding-bottom:3px}.welcome{padding:11px 0}.welcome h2{font-size:41px;margin:14px 0 10px}.welcome>p{font-size:11px;line-height:1.6}.suggestions{margin-top:17px;gap:5px}.suggestions button{padding:7px 10px}.suggestions small{display:none}.suggestion-icon{width:29px;height:29px}.composer textarea{min-height:77px;padding-top:12px}.composer-foot{padding-top:7px}.signin-note{margin-top:7px}.preview-empty{padding-top:30px;min-height:385px}.stage-scene{height:217px;scale:.8;margin-bottom:-28px;margin-top:-18px}.canvas-copy h2{font-size:29px}.build-steps{margin-top:24px}.canvas-copy p{font-size:8px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.stage-object{transform:translate(-50%,-50%) rotateX(10deg) rotateY(-18deg) rotateZ(-8deg)}}

.save-indicator[data-dirty=true]>.icon{color:#ae8650}

/* Keep the studio's quiet details readable at their actual rendered size. */
.agent-heading h1{font-size:13px}.agent-heading p{font-size:10px}.welcome>p{font-size:14px;color:#727b69}.suggestions strong{font-size:12px}.suggestions small{font-size:10px;color:#768067}.composer-actions>span{font-size:9px;color:#727f65}.composer-actions button{font-size:11px}.composer-foot{font-size:9px;color:#78836b}.signin-note{font-size:10px;color:#727e67}.message{font-size:13px}.canvas-copy p{font-size:11px;color:#a1af91}.build-steps strong{font-size:10px}.build-steps small{font-size:8px;color:#96a786}.preview-foot{font-size:9px;color:#71815e}.canvas-copy .eyebrow{font-size:7px}.version-toolbar>span{font-size:9px}.version-toolbar select{font-size:10px}.drawing-note{color:#b4c29b94}
@media(max-width:760px){.agent-heading h1{font-size:13px}.agent-heading p{font-size:9px}.welcome>p{font-size:13px}.suggestions strong{font-size:12px}.suggestions small{font-size:9px}.composer-actions>span{font-size:8px}.composer-foot{font-size:8px}.message{font-size:14px}.version-toolbar>span{font-size:8px}.version-toolbar select{font-size:9px}.preview-foot{font-size:8px}.build-steps strong{font-size:9px}.build-steps small{font-size:7px}.canvas-copy p{font-size:10px}}
@media(max-height:740px) and (max-width:760px){.welcome>p{font-size:12px}.suggestions strong{font-size:11px}}
