@import url('/static/fonts.css');
:root{--paper:#faf8f4;--ink:#323735;--muted:#858780;--line:#e8e8df;--green:#456855;--mint:#edf2ea;--purple:#827095;--pink:#e5b9a8;--white:#fffefa;font-family:'Segoe UI',system-ui,sans-serif;color:var(--ink);background:var(--paper);font-size:14px}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,a{cursor:pointer}button{color:inherit}button:disabled{opacity:.45;cursor:wait}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #a28eb4;outline-offset:3px}[hidden]{display:none!important}button{border:0;background:none}a{color:inherit;text-decoration:none}.sidebar{position:fixed;width:228px;inset:0 auto 0 0;padding:37px 24px 26px;border-right:1px solid var(--line);background:#f3f3eb;display:flex;flex-direction:column;z-index:5}.brand{display:flex;align-items:center;gap:12px;font-size:21px;font-weight:650;letter-spacing:-.8px}.brand b{display:block;font-size:8px;font-weight:600;letter-spacing:1.6px;margin-top:7px;color:var(--muted)}.brand-mark{font-family:Georgia,serif;color:#fff;background:var(--green);border-radius:14px;width:44px;height:44px;font-size:39px;font-weight:normal;text-align:center;line-height:38px;flex-shrink:0;letter-spacing:-4px;padding-right:5px}.side-caption{font-size:9px;letter-spacing:1.5px;color:#8b9288;margin:54px 10px 14px}.nav-item{width:100%;display:flex;align-items:center;gap:15px;text-align:left;border-radius:9px;margin:5px 0;padding:14px 16px;font-size:14px;color:#6c746b}.nav-item span{font-size:22px;width:22px}.nav-item.active{background:#e2e9dc;color:#38543c;font-weight:650}.nav-item:hover{background:#e9ece2}.sidebar-bottom{margin-top:auto}.test-note{padding:18px 12px;font-size:12px;color:#58715a;border-top:1px solid #dfe4d8}.test-note p{color:#929a8d;font-size:11px;line-height:1.8;margin-bottom:0}.dot{display:inline-block;background:#91ab85;width:6px;height:6px;border-radius:50%;margin-right:6px}.text-button{padding:10px;font-size:12px;color:#7c8578}.simfinity{border-top:1px solid #dfe4d8;margin-top:18px;padding:25px 10px 0;color:#8b9385;font-size:10px;letter-spacing:3px}.simfinity span{float:right;font-size:23px;line-height:12px}main{margin-left:228px;min-height:100vh}.topbar{height:83px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 46px;color:#72786e;font-size:12px}.slash{margin:0 14px;color:#b7bbae}.header-right{display:flex;gap:20px;align-items:center}.pill{display:inline-block;border:1px solid var(--line);border-radius:30px;padding:6px 10px;font-size:10px;color:#808b78;background:#f6f7ef}.test-pill{letter-spacing:1px;font-size:8px;background:none}.balance{font-size:13px;color:#667452;border:1px solid #dfe5d5;padding:9px 14px;border-radius:24px;background:#f1f4e8}.balance strong{margin:0 5px}.balance span{font-size:10px}.view{padding:43px 46px 12px;max-width:1510px;margin:0 auto}.eyebrow{font-size:9px;letter-spacing:2px;font-weight:650;color:#8d967f;margin:0 0 18px}h1{font-family:Georgia,'Times New Roman',serif;font-weight:normal;font-size:52px;line-height:1.07;letter-spacing:-1.8px;margin:0}h1 em{font-weight:normal;color:#789376}h2{font-size:17px;font-weight:600;letter-spacing:-.4px;margin:0}h3{font-weight:550}p{line-height:1.6}.subtitle{color:#979a91;font-size:13px;margin:17px 0 27px}.heading-row{display:flex;align-items:center;justify-content:space-between;gap:20px}.secondary{border:1px solid #d6ddcf;background:#fffefa;border-radius:8px;padding:12px 18px;font-size:12px;color:#5d7058}.secondary:hover{background:#edf2e7}.primary{display:flex;align-items:center;justify-content:space-between;gap:18px;border-radius:8px;background:var(--green);color:#fff;padding:13px 18px;font-weight:550;font-size:12px;min-height:43px}.primary:hover{background:#365341}.primary span{font-size:18px}.workspace{display:grid;grid-template-columns:minmax(340px,1.1fr) minmax(310px,.9fr);gap:25px;align-items:stretch}.card{background:var(--white);border:1px solid var(--line);border-radius:15px}.editor,.preview{padding:24px}.card-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:25px}.card-top>div{display:flex;gap:12px;align-items:center}.step{font-size:10px;color:#97a48a;width:27px;height:27px;display:grid;place-items:center;border:1px solid #e1e7d7;border-radius:50%}.field-label{font-size:9px;letter-spacing:1.5px;font-weight:650;color:#8c9583;display:block;margin:0 0 10px}input:not([type=radio]):not([type=range]):not([type=color]),select{width:100%;border:1px solid #e0e3d9;padding:12px 13px;border-radius:7px;background:#fdfdf8;color:#515d4f;min-height:43px}select{cursor:pointer}.editor-tabs{display:flex;gap:25px;border-bottom:1px solid var(--line);margin:23px 0}.editor-tabs button{color:#9b9e94;font-size:12px;padding:0 0 13px;white-space:nowrap}.editor-tabs .selected{border-bottom:2px solid #6b8764;color:#526d4b}.assistant-intro{display:flex;gap:12px;align-items:center;margin:23px 0 18px}.sparkle{font-size:26px;color:#a48eac;background:#f0eaf2;border-radius:12px;padding:6px 11px}.assistant-intro p{font-size:13px;margin:0}.assistant-intro small{font-size:10px;color:#9d9f94;display:block;margin-top:4px}textarea{width:100%;resize:vertical;border:1px solid #dce2d4;background:#fcfcf7;border-radius:9px;padding:17px;line-height:1.7;color:#53614f;min-height:135px;font-size:12px}textarea::placeholder{color:#adb0a3}.prompt-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:12px 0 18px}.prompt-footer>span{font-size:9px;color:#959d8a}.suggestions{display:flex;flex-wrap:wrap;gap:8px}.suggestions button{border:1px solid #e5e7df;border-radius:20px;padding:8px 11px;font-size:9px;color:#8a927f;background:#f9faf4}.suggestions button:hover{background:#edf2e7}.hint{font-size:10px;color:#9b9f93;line-height:1.7}.live{font-size:10px;color:#88967e}.preview-stage{height:345px;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;margin-top:-9px;background:radial-gradient(ellipse at 50% 56%,#eee9ed 0%,#f9f6f5 55%,#fffefa 73%)}.device{position:relative;padding:10px 9px;background:#363638;border:3px solid #555255;border-radius:38px;box-shadow:7px 15px 22px #5d536626;transform:rotate(-3deg);z-index:2}.device canvas{width:230px;height:280px;display:block;border-radius:24px;background:#141421}.device-key{position:absolute;right:-6px;width:4px;height:21px;border-radius:3px;background:#5b575b}.key-one{top:72px}.key-two{top:126px}.orbit{position:absolute;border:1px solid #e5e3d9;border-radius:50%;width:326px;height:326px;transform:rotate(-20deg) scaleY(.63)}.orbit-two{transform:rotate(35deg) scaleY(.63);width:365px;height:365px;border-style:dashed}.star{position:absolute;color:#baa9bd;z-index:3;font-size:23px}.star-one{left:14%;top:38px}.star-two{right:12%;bottom:35px;color:#c9c5a7;font-size:31px}.preview-controls{display:flex;justify-content:center;align-items:center;gap:25px;margin:3px 0 16px}.preview-controls>span{font-size:12px;color:#6f7867;min-width:90px;text-align:center}.round{border:1px solid #e3e6da;border-radius:50%;width:30px;height:30px;color:#8d987d}.reactions{display:flex;gap:8px;justify-content:center}.reactions button{background:#f3f4ec;padding:9px 17px;border-radius:7px;color:#7b8a6c;font-size:11px}.preview-note{text-align:center;font-size:9px;margin:15px 0}.install-button{border:1px solid #dae2cf;background:#f5f7ef;width:100%;padding:13px;border-radius:8px;font-size:11px;color:#718265}.bottom-note{display:flex;gap:15px;padding:22px 2px 5px;color:#a8ab9e;max-width:650px}.bottom-note>span{font-size:24px;color:#9bab8d}.bottom-note p{font-size:10px;line-height:1.8;margin:0}.bottom-note strong{font-weight:550;color:#838e78}footer{padding:25px 46px;color:#aaaea1;font-size:9px;display:flex;justify-content:space-between}.conversation:empty{display:none}.message{padding:14px 16px;margin:12px 0;border-radius:9px;font-size:12px;line-height:1.6;background:#f3f5ec}.message.user{background:#f2edf4}.message .hint{margin:8px 0}.proposal-actions{display:flex;gap:8px;margin-top:12px}.proposal-actions button{font-size:11px}.proposal-actions .secondary{padding:9px 12px}.conversation{max-height:310px;overflow:auto}label{font-size:11px;color:#7b8472;display:block;margin:15px 0}label input,label select{display:block;margin-top:8px}.two-fields{display:grid;grid-template-columns:1fr 80px;gap:15px}input[type=color]{width:100%;height:44px;background:#fff;border:1px solid var(--line);border-radius:6px;padding:4px}input[type=range]{width:100%;accent-color:#72896c;margin-top:12px}label>span{float:right;color:#a3ab97;font-size:10px}.room-field{display:flex;align-items:center;gap:10px}.room-field span{width:65px;font-size:10px;color:#9aa38d}.room-field input{min-width:0}.empty{padding:32px 0}.empty p{color:#9b9f93;font-size:12px}.library-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:20px;margin-top:25px}.world-card{padding:22px;text-align:left;min-height:195px;display:flex;flex-direction:column;align-items:flex-start;gap:12px}.world-card:hover{border-color:#b5c3a6;transform:translateY(-2px)}.world-card .emoji{font-size:35px}.world-card h2{font-family:Georgia,serif;font-size:24px;font-weight:normal}.world-card small{color:#98a08e;font-size:10px}.world-card .open-label{font-size:11px;color:#68835d;margin-top:auto}.section-actions{margin:28px 0}.credit-summary{padding:30px;display:flex;gap:28px;align-items:center;margin-top:35px}.credit-icon{font-size:52px;color:#8e9b70}.credit-summary strong{font:52px Georgia,serif;display:block}.credit-summary p{font-size:11px;color:#98a08d}.credit-summary button{margin-left:auto}.ledger-title{margin:35px 0 18px}.ledger{overflow:hidden}.ledger-row{padding:17px 23px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:15px;font-size:12px}.ledger-row:last-child{border:0}.ledger-row small{display:block;font-size:9px;color:#a5ac9a;margin-top:5px}.ledger-row strong{color:#71855e;font-size:13px}.history-row{padding:16px 0;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:16px;align-items:center;font-size:12px}.history-row small{display:block;color:#a0a791;margin-top:5px;font-size:10px}.history-row button{font-size:10px;padding:8px 12px}.history-row span{max-width:70%}.history-row p{margin:5px 0;color:#8f9983;font-size:10px}.login{min-height:100vh;display:grid;place-items:center;background:radial-gradient(ellipse at 75% 40%,#ece7ed,transparent 55%),var(--paper);padding:30px}.login-card{max-width:390px;width:100%}.login-card .brand-mark{margin-bottom:32px}.login h1{font-size:44px}.login-card>p:not(.eyebrow){color:#929c87}.login button{width:100%;margin-top:20px}.login #loginError{color:#b06e64;font-size:12px}dialog{border:1px solid var(--line);border-radius:18px;background:var(--paper);padding:34px;max-width:470px;width:calc(100% - 32px);color:var(--ink);box-shadow:0 15px 90px #28332c30}dialog::backdrop{background:#28332c55;backdrop-filter:blur(3px)}dialog h2{font-family:Georgia,serif;font-weight:normal;font-size:29px;margin:10px 0 25px}.dialog-close{position:absolute;right:16px;top:12px;font-size:25px;color:#9aa28e}fieldset{border:0;padding:0;margin:25px 0}legend{font-size:11px;color:#87927a}.template-option{padding:13px;border:1px solid #dde3d4;border-radius:8px;display:flex;align-items:center;gap:10px}.template-option input{accent-color:var(--green);margin:0}dialog .primary{width:100%;justify-content:center}dialog ol{padding-left:20px;font-size:12px;line-height:1.8}dialog li{margin:12px 0}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#3d5143;color:#fff;padding:14px 22px;border-radius:12px;box-shadow:0 6px 35px #26382b22;z-index:50;font-size:12px;max-width:85vw}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}details{margin-top:25px;font-size:11px;color:#8c987d}summary{cursor:pointer}.file-label{padding:12px;background:#f1f4e9;border-radius:8px}input[type=file]{font-size:10px}
@media(min-width:1450px){.view{padding-top:55px}.workspace{gap:30px}.editor,.preview{padding:30px}.preview-stage{height:390px}.device canvas{width:253px;height:308px}.heading-row{margin-bottom:8px}}
@media(max-width:1120px){.sidebar{width:190px;padding:30px 18px}.brand{font-size:18px;gap:8px}.brand b{font-size:7px}main{margin-left:190px}.view{padding:35px 25px 10px}.topbar{padding:0 25px}.workspace{gap:16px;grid-template-columns:minmax(300px,1fr) minmax(290px,.9fr)}.editor,.preview{padding:18px}.prompt-footer{align-items:flex-start;flex-direction:column}.preview-stage{height:340px}.header-right{gap:10px}}
@media(max-width:850px){.sidebar{width:75px;padding:25px 12px}.brand>span:last-child,.side-caption,.sidebar-bottom,.nav-item{font-size:0}.brand{justify-content:center}.nav-item{padding:12px 6px;justify-content:center}.nav-item span{font-size:24px}.sidebar nav{margin-top:35px}main{margin-left:75px}.workspace{grid-template-columns:1fr}.preview{max-width:100%}.preview-stage{height:365px}.prompt-footer{flex-direction:row;align-items:center}.view{padding:30px 22px}h1{font-size:45px}.topbar{height:70px;padding:0 22px}.test-pill{display:none}.credit-summary{flex-wrap:wrap}.credit-summary button{margin-left:0}footer{padding:24px;gap:20px}}
@media(max-width:500px){.sidebar{position:static;width:100%;height:64px;flex-direction:row;align-items:center;justify-content:space-between;padding:10px 16px;border-right:0;border-bottom:1px solid var(--line)}.brand-mark{width:35px;height:35px;font-size:32px;line-height:30px;border-radius:10px}.brand>span:last-child{display:block;font-size:17px}.brand b{font-size:6px}.sidebar nav{display:flex;margin:0;gap:5px}.nav-item{margin:0;padding:7px 9px}.nav-item span{font-size:22px;width:auto}.sidebar-bottom{display:none}main{margin:0}.topbar{height:56px;font-size:10px;padding:0 18px}.balance{padding:7px 10px}.balance span{font-size:9px}.view{padding:29px 16px 5px}h1{font-size:40px}.heading-row{align-items:flex-start}.heading-row>.secondary{padding:10px;font-size:10px;margin-top:35px}.eyebrow{font-size:8px;letter-spacing:1.2px}.subtitle{font-size:11px}.editor,.preview{padding:19px}.prompt-footer{flex-direction:column;align-items:stretch}.prompt-footer>span{font-size:10px}.preview-stage{height:340px}.header-right{gap:0}.slash{margin:0 9px}.credit-summary{padding:22px;gap:15px}.credit-summary p{font-size:10px}footer{font-size:8px;padding:24px 18px}.bottom-note{padding:20px 0}.bottom-note p{font-size:9px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

.editor-tabs{gap:16px;overflow-x:auto}.editor-tabs button{flex-shrink:0}
