*{box-sizing:border-box}body{color:#30313c;background:#fff;margin:0;font-family:Arial,Helvetica,system-ui,sans-serif}button,input,textarea,select{font:inherit}button{cursor:pointer;color:inherit}button:disabled{cursor:not-allowed;opacity:.4}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--accent);outline-offset:4px}button{transition:background .15s,transform .15s}button:hover:not(:disabled){filter:brightness(.975)}.kivvli{--accent:#9464b7;--accent-strong:#7847a1;--soft:#f1e8f6;--nav:#f6f2f8;--hint:#998da5;--tint:#fbf7fc;min-height:100dvh;font-size:14px;display:flex}.ocean{--accent:#348aa8;--accent-strong:#267591;--soft:#e2eff5;--nav:#f0f6f8;--hint:#809ca8;--tint:#f7fbfc}button{background:0 0;border:0}.chat-nav{background:var(--nav);z-index:10;flex-direction:column;flex-shrink:0;width:255px;padding:24px 17px 18px;display:flex;position:fixed;inset:0 auto 0 0}.nav-collapse{color:#6f6578;width:38px;padding:8px}.new-chat{background:var(--soft);color:#776382;border-radius:25px;align-items:center;gap:13px;width:143px;margin:27px 0 16px;padding:14px 18px;font-size:13px;font-weight:600;display:flex}.nav-item{text-align:left;color:#776e7f;border-radius:25px;align-items:center;gap:11px;padding:12px 14px;font-size:13px;display:flex}.nav-item span{color:#a297aa;margin-left:auto;font-size:11px}.nav-item:hover,.nav-item.active{background:var(--soft)}.recent-label{color:#84778d;margin:25px 14px 14px;font-size:11px;font-weight:600}.thread-list{flex:1;min-height:50px;overflow:auto}.thread-list>p{color:#aea3b5;padding:0 14px;font-size:11px}.thread-list button{text-align:left;color:#82728e;border-radius:20px;align-items:center;gap:10px;width:100%;max-width:100%;padding:11px 12px;font-size:12px;display:flex}.thread-list button>span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.thread-list button>svg{flex-shrink:0}.thread-list .current{background:var(--soft)}.nav-bottom{margin-top:20px;padding:0 4px}.nav-bottom>button{color:#80718b;align-items:center;gap:12px;width:100%;padding:12px;font-size:12px;display:flex}.nav-bottom>small{color:#b4a8bc;padding:15px 12px 0;font-size:9px;display:block}.theme-row{color:#9d8aa8;align-items:center;gap:8px;padding:12px;font-size:10px;display:flex}.theme-row>span{margin-right:auto}.colour{color:#fff;border:2px solid #fff;border-radius:50%;place-items:center;width:22px;height:22px;display:grid}.blossom-colour{background:#b384c9}.ocean-colour{background:#559fb5}.colour[aria-pressed=true]{box-shadow:0 0 0 1px #afa0ba}.chat-main{flex-direction:column;flex:1;min-width:0;height:100dvh;margin-left:255px;display:flex}.topbar{flex-shrink:0;justify-content:space-between;align-items:center;height:78px;padding:0 30px;display:flex}.topbar>div{align-items:center;gap:20px;display:flex}.wordmark{letter-spacing:-1px;color:#65556f;align-items:center;gap:8px;font-size:25px;font-weight:600;display:flex}.wordmark svg{color:var(--accent)}.avatar{background:var(--soft);color:var(--accent-strong);border-radius:50%;place-items:center;width:34px;height:34px;font-size:13px;font-weight:600;display:inline-grid}.parent-shortcut{color:#9c8aa7;padding:4px}.menu-button{color:#786785;display:none}.chat-layout{flex:1;min-height:0;display:flex;overflow:hidden}.chat-column{flex-direction:column;width:100%;max-width:910px;min-height:0;margin:0 auto;padding:0 43px;display:flex}.messages{scrollbar-width:thin;flex:1;min-height:120px;padding:30px 0 25px;overflow-y:auto}.messages.empty{justify-content:center;align-items:center;padding-top:0;display:flex}.greeting{width:100%;max-width:740px;margin:0 auto;padding:20px 0 35px}.greeting-spark{background:var(--tint);width:50px;height:50px;color:var(--accent);border-radius:17px;place-items:center;margin-bottom:23px;display:grid}.greeting h1{letter-spacing:-1.9px;background:linear-gradient(90deg,#cb87b6,var(--accent-strong));-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text;margin:0 0 8px;font-size:43px;font-weight:500}.ocean .greeting h1{background-image:linear-gradient(90deg,#54b6b0,#3e76a8)}.greeting h2{color:#c4bccb;letter-spacing:-1.5px;margin:0 0 22px;font-size:38px;font-weight:400}.greeting>p{color:#a294ad;margin:0;font-size:13px;line-height:1.9}.mobile-break{display:none}.suggestions{grid-template-columns:repeat(3,1fr);gap:12px;margin:32px 0 20px;display:grid}.suggestions>button{background:var(--tint);text-align:left;min-height:139px;color:var(--accent);border:1px solid #f0eaf4;border-radius:15px;flex-direction:column;align-items:flex-start;gap:17px;padding:20px 17px 15px;display:flex;position:relative}.suggestions>button:nth-child(2){background:#fbf4f7}.ocean .suggestions>button:nth-child(2){background:#f3f8fb}.suggestions>button:nth-child(3){background:#f4f8f5}.suggestions>button:hover{transform:translateY(-2px)}.suggestions span{color:#887694;font-size:12px;line-height:1.6}.suggestions svg:last-child{color:#b1a1bd;width:15px;position:absolute;bottom:15px;right:14px}.starter-link{color:#ae9dbb;align-items:center;gap:6px;padding:4px 0;font-size:10px;display:flex}.composer-zone{flex-shrink:0;padding-bottom:20px}.composer{background:var(--nav);border:1px solid #eee7f2;border-radius:25px;padding:17px 18px 12px}.composer textarea{resize:none;color:#54465f;background:0 0;border:0;width:100%;min-height:52px;max-height:160px;padding:0 5px;font-size:14px;line-height:1.7;display:block}.composer textarea::placeholder{color:#a196a9}.composer textarea:focus{outline:none}.composer-tools{justify-content:space-between;align-items:center;gap:10px;margin-top:10px;display:flex}.mode-pills{gap:5px;display:flex}.mode-pills>button{color:#a391ae;border-radius:18px;align-items:center;gap:6px;padding:8px 11px;font-size:11px;display:flex}.mode-pills>button.selected{color:var(--accent-strong);background:#fff;box-shadow:0 1px 4px #5c337609}.send-button{background:var(--accent);color:#fff;border-radius:50%;place-items:center;width:35px;height:35px;display:grid}.composer-hint{text-align:center;color:#b3a5bd;padding:12px 5px 0;font-size:9px}.setup-hint{color:#b19a7e;justify-content:center;align-items:center;gap:6px;margin-top:9px;font-size:9px;display:flex}.setup-hint>span,.ai-status>span{background:#c8a66b;border-radius:50%;flex-shrink:0;width:5px;height:5px}.setup-hint button{color:var(--accent-strong);text-underline-offset:2px;padding:0 2px;font-size:9px;text-decoration:underline}.chat-message{color:#76677f;overflow-wrap:anywhere;gap:14px;margin:0 0 27px;font-size:14px;line-height:1.9;display:flex}.chat-message.user{justify-content:flex-end;margin-top:10px}.chat-message.user>div{background:var(--nav);color:#6b5c75;border-radius:22px 22px 4px;max-width:85%;padding:13px 19px}.chat-message p{white-space:pre-wrap;margin:0}.chat-message.assistant>div{padding-top:2px}.chat-message b{color:#9a7eac;margin-bottom:8px;font-size:11px;display:block}.ai-star{color:var(--accent);flex-shrink:0;margin-top:1px}.working{color:var(--accent);align-items:center;gap:10px;margin:20px 0;font-size:12px;display:flex}.form-error{color:#9d744c;overflow-wrap:anywhere;background:#fff5ec;border:1px solid #f1dfcd;border-radius:11px;margin:15px 0;padding:12px 15px;font-size:12px;line-height:1.8}.with-preview .chat-column{flex:1;width:46%;max-width:none;padding:0 23px}.with-preview .greeting h1{font-size:33px}.with-preview .greeting h2{font-size:26px}.with-preview .suggestions{grid-template-columns:1fr}.with-preview .suggestions>button{flex-direction:row;align-items:center;gap:10px;min-height:60px;padding:12px;display:flex}.with-preview .suggestions br{display:none}.with-preview .suggestions svg:last-child{margin-left:auto;position:static}.project-preview{scrollbar-width:thin;background:#fff;border:1px solid #eee7f2;border-radius:18px;align-self:stretch;width:51%;min-width:330px;margin:8px 22px 23px 0;overflow:auto}.preview-toolbar{color:var(--accent);border-bottom:1px solid #f0eaf4;justify-content:space-between;align-items:center;padding:14px 16px;display:flex}.preview-toolbar>span,.preview-toolbar>div{align-items:center;gap:8px;font-size:10px;display:flex}.preview-toolbar button{color:#a38eaf;padding:3px}.project-preview h2{letter-spacing:-.4px;margin:21px 20px 12px;font-size:18px;font-weight:500}.example-label{letter-spacing:.9px;color:#b5a3bf;margin:0 20px 16px;font-size:7px;display:block}.project-preview>iframe{background:#f6f2fa;border:0;width:100%;height:410px}.project-picture{object-fit:contain;width:100%;max-height:540px}.code-panel{color:#eadff0;white-space:pre-wrap;background:#2c2736;max-height:440px;padding:20px;font-size:10px;overflow:auto}.experiment{color:#b19152;background:#faf6e9;border-radius:12px;gap:10px;margin:20px;padding:14px;display:flex}.experiment>svg{flex-shrink:0}.experiment strong{font-size:11px}.experiment p{color:#a69778;margin:7px 0;font-size:10px;line-height:1.8}.experiment button{color:#ac8950;align-items:center;gap:7px;padding:0;font-size:10px;display:flex}.approval-wait{text-align:center;min-height:320px;color:var(--accent);flex-direction:column;justify-content:center;align-items:center;padding:25px;display:flex}.approval-wait h3{font-size:18px;font-weight:500}.approval-wait p{color:#a392af;font-size:12px;line-height:1.8}.saved-view{padding:35px 0;overflow:auto}.saved-view>h1{letter-spacing:-1px;color:var(--accent);font-size:32px;font-weight:500}.saved-view>p{color:#a18caf;font-size:12px;line-height:1.8}.saved-grid{grid-template-columns:repeat(3,1fr);gap:14px;margin-top:30px;display:grid}.saved-grid>button{text-align:left;border:1px solid #efe7f3;border-radius:14px;min-width:0;padding:12px}.saved-art{background:var(--soft);border-radius:8px;place-items:center;height:120px;margin-bottom:14px;font-size:45px;display:grid;overflow:hidden}.saved-art.sunshine{background:#fbf0ca}.saved-art img{object-fit:cover;width:100%;height:100%}.saved-grid small{letter-spacing:.7px;color:#b39cbe;font-size:7px}.saved-grid h3{color:#8c759a;font-size:12px;font-weight:500;line-height:1.7}.saved-grid span{color:var(--accent);align-items:center;gap:8px;font-size:10px;display:flex}.paused-strip{color:#a18859;background:#fff5df;justify-content:center;align-items:center;gap:9px;padding:10px 20px;font-size:11px;display:flex}.dialog-shade{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);z-index:30;background:#33223c40;place-items:center;padding:22px;display:grid;position:fixed;inset:0}.parent-panel{scrollbar-width:thin;background:#fff;border-radius:20px;width:100%;max-width:590px;max-height:90dvh;padding:25px;overflow:auto}.panel-heading{border-bottom:1px solid #f0e8f5;justify-content:space-between;align-items:center;margin-bottom:20px;padding-bottom:17px;display:flex}.panel-heading>div{color:var(--accent);align-items:center;gap:10px;display:flex}.panel-heading h2{letter-spacing:-.5px;margin:0;font-size:18px;font-weight:500}.panel-heading button{color:#ac96ba}.parent-panel h3{color:#8d779b;margin-top:25px;font-size:13px;font-weight:600}.parent-panel p{color:#a18cae;font-size:11px;line-height:1.8}.parent-panel label,.login-card label{color:#9a85a7;margin:16px 0;font-size:11px;display:block}.parent-panel input,.parent-panel select,.login-card input{color:#6c567b;background:#fff;border:1px solid #e5dbea;border-radius:10px;width:100%;margin-top:8px;padding:11px 12px;font-size:13px;display:block}.accent-button{background:var(--accent);color:#fff;border-radius:22px;justify-content:center;align-items:center;gap:8px;padding:12px 20px;font-size:12px;display:inline-flex}.soft-button{color:var(--accent-strong);background:#fff;border:1px solid #e1d3e9;border-radius:18px;padding:9px 14px;font-size:11px}.pin-login{max-width:350px;margin:20px auto}.hosted-note{color:#ac97ba;margin-top:20px;font-size:10px;line-height:1.8}.ai-status{background:#fff8ec;border:1px solid #f0e5d4;border-radius:12px;align-items:flex-start;gap:11px;margin:20px 0;padding:15px;display:flex}.ai-status>span{margin-top:5px}.ai-status strong{color:#ad915f;font-size:11px}.ai-status p{color:#b8a27d;margin:7px 0 0;font-size:10px}.ai-status.connected{background:#f0f8f0;border-color:#dbeadb}.ai-status.connected strong{color:#6a9b6e}.ai-status.connected>span{background:#7eae82}.setting-row{border-bottom:1px solid #f2edf5;align-items:center;gap:20px;padding:16px 0;display:flex}.setting-row strong{color:#8c769b;font-size:12px;font-weight:500}.setting-row small{color:#b4a0c0;margin-top:5px;font-size:10px;display:block}.toggle{background:#e4dde9;border-radius:20px;flex-shrink:0;width:37px;height:23px;margin-left:auto;padding:3px}.toggle span{background:#fff;border-radius:50%;width:17px;height:17px;transition:transform .18s;display:block}.toggle.on{background:var(--accent)}.toggle.on span{transform:translate(14px)}.settings-fields{grid-template-columns:1fr 1fr;gap:20px;margin:10px 0 15px;display:grid}.always-on{color:#b4a0c0;background:var(--tint);border-radius:10px;align-items:flex-start;gap:8px;margin-top:17px;padding:13px;font-size:9px;line-height:1.8;display:flex}.always-on svg{flex-shrink:0}.review-row{background:var(--tint);border-radius:12px;align-items:center;gap:10px;margin:10px 0;padding:12px;display:flex}.review-row>div{flex:1}.review-row strong{color:#8e769d;font-size:12px;font-weight:500;display:block}.review-row>div button{color:var(--accent);padding:8px 0 0;font-size:10px}.review-preview iframe{border:0;width:100%;height:400px}.review-preview img{object-fit:contain;width:100%;max-height:400px}.history{color:#a38ab3;margin:20px 0;font-size:11px}.history p{white-space:pre-wrap;background:var(--tint);overflow-wrap:anywhere;border-radius:8px;padding:12px}.delete-history{color:#bf959b;padding:8px 0;font-size:10px}.parent-limit{color:#bca8c7!important;margin-top:16px!important;font-size:9px!important}.notice{background:var(--soft);border-radius:10px;padding:12px;position:sticky;bottom:0;color:var(--accent-strong)!important;font-size:11px!important}.child-accounts{border-bottom:1px solid #f0e8f5;margin-bottom:22px;padding-bottom:22px}.child-account{background:var(--tint);border-radius:12px;align-items:center;gap:12px;padding:12px;display:flex}.child-account strong{color:#9377a5;font-size:12px;font-weight:500}.child-account small{color:#b7a2c3;margin-left:auto;font-size:9px}.child-accounts details{color:#a98eb9;margin-top:18px;font-size:10px}.parent-signin{text-align:center;color:var(--accent);padding:25px;line-height:1.8}.parent-signin>svg{margin:8px auto}.loading-screen{width:100vw;height:100dvh;color:var(--accent);flex-direction:column;justify-content:center;align-items:center;gap:16px;font-size:12px;display:flex}.logo-spark{color:var(--accent)}.login-page{background:linear-gradient(150deg,var(--tint),#fff);flex-direction:column;justify-content:center;align-items:center;width:100%;min-height:100dvh;padding:35px 20px;display:flex}.login-brand{color:var(--accent);align-items:center;gap:9px;margin-bottom:30px;display:flex}.login-brand strong{letter-spacing:-1.4px;font-size:30px}.login-card{background:#fff;border:1px solid #efe5f4;border-radius:25px;width:100%;max-width:420px;padding:30px;box-shadow:0 15px 60px #7c528309}.login-orbit{color:#d5b6e0;margin-bottom:10px;font-size:35px}.login-card h1{letter-spacing:-1px;color:#7c5e8d;margin:0 0 12px;font-size:28px;font-weight:500}.login-card>p{color:#ae99ba;margin:0 0 25px;font-size:12px;line-height:1.8}.login-card .accent-button{width:100%;margin:12px 0 20px}.login-card>small{color:#b9a5c5;text-align:center;font-size:10px;line-height:1.8;display:block}.login-footer{color:#b19aba;align-items:center;gap:6px;margin-top:25px;font-size:10px;display:flex}.nav-shade{display:none}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.spin{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@media (width>=1500px){.chat-column{max-width:960px;padding:0 65px}.greeting h1{font-size:49px}.greeting h2{font-size:43px}.suggestions>button{min-height:151px}.composer-zone{padding-bottom:30px}}@media (width<=1150px){.chat-nav{width:220px}.chat-main{margin-left:220px}.chat-column{padding:0 30px}.greeting h1{font-size:39px}.greeting h2{font-size:32px}.suggestions{gap:9px}.suggestions>button{padding:16px 13px}.project-preview{min-width:290px;margin-right:15px}.with-preview .chat-column{padding:0 18px}.with-preview .greeting h1{font-size:28px}.with-preview .greeting h2{font-size:23px}.with-preview .greeting>p{font-size:11px}.with-preview .mode-pills>button{padding:8px}.with-preview .mode-pills>button span{font-size:10px}}@media (width<=900px){.chat-nav{transition:transform .2s;transform:translate(-100%)}.chat-nav.open{transform:translate(0)}.chat-main{margin-left:0}.menu-button{padding:3px;display:block}.nav-shade{z-index:9;background:#37213e30;display:block;position:fixed;inset:0}.chat-column{max-width:800px}.topbar{height:70px;padding:0 24px}.with-preview .chat-column{width:45%}.with-preview .project-preview{width:54%}.greeting{padding-bottom:20px}}@media (width<=650px){.topbar{height:64px;padding:0 17px}.topbar>div{gap:14px}.wordmark{font-size:23px}.avatar{width:30px;height:30px;font-size:12px}.parent-shortcut{display:none}.chat-column{padding:0 20px}.greeting h1{letter-spacing:-1.5px;font-size:34px}.greeting h2{letter-spacing:-1.3px;font-size:28px}.greeting>p{font-size:12px}.greeting-spark{width:42px;height:42px;margin-bottom:20px}.greeting-spark svg{width:25px}.suggestions{grid-template-columns:repeat(3,1fr);gap:7px;margin-top:27px}.suggestions>button{border-radius:13px;gap:14px;min-height:125px;padding:13px 10px 17px}.suggestions>button>svg:first-child{width:18px}.suggestions span{font-size:10px;line-height:1.7}.suggestions svg:last-child{display:none}.composer-zone{padding-bottom:14px}.composer{border-radius:23px;padding:15px 14px 11px}.composer textarea{min-height:58px;font-size:14px}.composer-tools{margin-top:6px}.composer-hint,.setup-hint,.setup-hint button{font-size:8px}.messages{padding-top:20px}.chat-message{gap:10px;font-size:13px}.chat-message.user>div{max-width:92%;padding:12px 15px}.greeting{padding:0 0 15px}.mobile-break{display:block}.mode-pills>button{padding:7px 10px;font-size:10px}.chat-layout.with-preview{display:block;overflow:auto}.with-preview .chat-column{width:100%;height:520px;min-height:450px;padding:0 20px}.with-preview .project-preview{width:auto;min-width:0;min-height:500px;margin:10px 15px 20px}.with-preview .greeting{padding-top:20px}.with-preview .greeting h1{font-size:31px}.with-preview .greeting h2{font-size:25px}.with-preview .suggestions{grid-template-columns:repeat(3,1fr)}.with-preview .suggestions>button{flex-direction:column;align-items:flex-start;gap:10px;min-height:115px;padding:12px 10px;display:flex}.with-preview .suggestions br{display:block}.project-preview>iframe{height:400px}.dialog-shade{padding:12px}.parent-panel{max-height:94dvh;padding:20px}.setting-row small{font-size:9px}.settings-fields{gap:10px}.setting-row strong{font-size:11px}.saved-grid{grid-template-columns:repeat(2,1fr)}.saved-view{padding-top:15px}.saved-view>h1{font-size:27px}.saved-art{height:110px}.login-card{padding:26px}.login-card h1{font-size:26px}.login-page{padding:25px 18px}.form-error{font-size:11px}.chat-nav{width:245px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.greeting h2{color:#9986a5}.greeting>p{color:#85718f}.suggestions span{color:#75627f}.composer-hint{color:#95839f}.messages.empty{flex-direction:column;align-items:stretch}.messages.empty .greeting{margin:auto}.messages.empty>.form-error{margin:0 0 12px}.thread-list>p{color:#9985a5}
