.preview-label{align-items:center;display:flex;justify-content:space-between;gap:.5rem;margin-bottom:.55rem;color:#6d6258;font-size:.78rem;font-weight:600}.preview-viewport-toggle{display:inline-flex;gap:.25rem}.studio-frame{position:relative;margin-inline:auto;background:#eee9e1;border:1px solid #ded7ce;border-radius:.8rem;padding:.45rem;width:100%}.studio-frame-mobile{max-width:390px}.studio-frame-desktop{max-width:100%}.studio-frame iframe{background:white;border:0;border-radius:.45rem;display:block;height:min(72vh,760px);width:100%}.studio-frame-play iframe{height:min(78vh,840px)}.studio-frame:not(:has(iframe)){min-height:300px}.studio-preview-feedback{position:absolute;inset:0;display:flex;flex-direction:column;gap:14px;justify-content:center;align-items:center;padding:24px;min-height:300px;background:#fafaf6ed;color:#53634f;font:14px/1.6 system-ui;text-align:center}.studio-preview-feedback button{border:1px solid #c9d1c3;border-radius:20px;background:white;color:inherit;padding:8px 15px;cursor:pointer}.chat-form{display:grid;gap:.7rem}.chat-form button{justify-self:start}.chat-footer{align-items:center;display:flex;gap:.8rem;justify-content:space-between}.chat-footer small{color:#978b80;font-size:.72rem}.chat-footer button{margin-left:auto}.ai-questions{background:#f8f1dc;border:1px solid #ead9a6;border-radius:.7rem;color:#594b2d;font-size:.84rem;margin-top:1rem;padding:.85rem 1rem}.ai-questions strong{font-size:.76rem}.ai-questions ul{margin:.45rem 0 0;padding-left:1.1rem}.ai-questions li+li{margin-top:.3rem}.assistant-card{border-color:#d8d2c2;box-shadow:0 14px 38px #34261a12}.assistant-card h2{font-size:clamp(1.45rem,3vw,2rem)}.chat-history{display:grid;gap:.6rem;margin:1rem 0;max-height:330px;overflow-y:auto;padding-right:.2rem}.chat-message{border-radius:.8rem;max-width:88%;padding:.7rem .8rem}.chat-message>span:first-child{color:#81766c;display:block;font-size:.66rem;font-weight:800;letter-spacing:.08em;margin-bottom:.2rem;text-transform:uppercase}.chat-message p{font-size:.85rem;margin:0;white-space:pre-wrap}.chat-message-user{background:#f2eadf;justify-self:end}.chat-message-assistant{background:#edf2ec;justify-self:start}.chat-empty{background:#faf8f5;border:1px dashed #d8d0c4;border-radius:.7rem;color:#81766c;font-size:.82rem;margin:0;padding:.8rem}.chat-attachment{align-items:center;background:#faf8f5;border:1px dashed #cfc3b5;border-radius:.7rem;color:#66594f;cursor:pointer;display:flex;font-size:.78rem;gap:.55rem;justify-content:center;margin:0;padding:.7rem;text-align:center}.chat-attachment input{height:1px;opacity:0;position:absolute;width:1px}.chat-attachment:focus-within{outline:3px solid #b88946;outline-offset:3px}.chat-attachment small{color:#978b80;display:block;font-size:.68rem;font-weight:400;margin-top:.18rem}.chat-starter-card{border-color:#d8cab7;box-shadow:0 2px 7px #24190f0a;text-align:left;transition:border-color .15s,background-color .15s,box-shadow .15s}.chat-starter-card:hover,.chat-starter-card[aria-pressed=true]{background:#f8f2e9;border-color:#a88c62;box-shadow:0 3px 10px #24190f14}.chat-starter-card:focus-visible{outline:3px solid #a88c62;outline-offset:2px}.chat-starter-card .mantine-Button-label>span{position:relative;padding-right:1.1rem}.chat-starter-card strong{color:#302a23;font-size:.85rem;line-height:1.35}.chat-starter-card .mantine-Button-label span span:not(.chat-starter-arrow){color:#746d65;display:block;font-size:.72rem;font-weight:400;line-height:1.4;margin-top:.2rem}.chat-starter-card .chat-starter-arrow{color:#806440;font-size:.95rem;position:absolute;right:0;top:0}.assistant-card .chat-message-attachments{display:flex;flex-wrap:wrap;gap:.35rem;margin-top:.45rem}.assistant-card .chat-message-attachments img{aspect-ratio:1;border:1px solid #ffffffa6;border-radius:.4rem;max-height:92px;max-width:92px;object-fit:cover}.assistant-card .chat-message-pending{min-width:5rem}.assistant-card .chat-message-pending p{align-items:center;display:flex;gap:.25rem;min-height:1.2em}.assistant-card .chat-message-pending i{animation:chat-thinking 1.1s ease-in-out infinite;background:#80766d;border-radius:50%;display:block;height:.35rem;opacity:.38;width:.35rem}.assistant-card .chat-message-pending i:nth-child(2){animation-delay:.15s}.assistant-card .chat-message-pending i:nth-child(3){animation-delay:.3s}@keyframes chat-thinking{50%{opacity:1;transform:translateY(-2px)}}.assistant-card .chat-composer{flex:0 0 auto;gap:.4rem;margin:0}.assistant-card .chat-composer-row{align-items:center;display:grid;gap:.45rem;grid-template-columns:40px minmax(0,1fr) 40px}.assistant-card .chat-composer-row[data-can-upload=false]{grid-template-columns:minmax(0,1fr) 40px}.assistant-card .chat-icon-button{margin:0;align-items:center;border-radius:.65rem;display:inline-flex;flex:0 0 40px;height:40px;justify-content:center;padding:0;width:40px}.assistant-card .chat-icon-button svg{fill:none;height:1.15rem;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8;width:1.15rem}.assistant-card .chat-attach-button{background:#faf8f5;border:1px solid #ded9d2;color:#5f574f;cursor:pointer;position:relative}.assistant-card .chat-attach-button:focus-within{outline:3px solid #b88946;outline-offset:2px}.assistant-card .chat-attach-button input{cursor:pointer;height:100%;inset:0;opacity:0;position:absolute;width:100%}.assistant-card .chat-attach-button:has(input:disabled){cursor:not-allowed;opacity:.55}.assistant-card .chat-message-input{min-width:0}.assistant-card .chat-message-input .mantine-Textarea-input{max-height:140px;min-height:40px;overflow-y:auto;padding:.6rem .7rem;resize:none}.assistant-card .chat-send-button{min-width:40px}.assistant-card .chat-send-spinner{animation:chat-thinking .7s ease-in-out infinite;border:2px solid;border-right:2px solid transparent;border-radius:50%;display:block;height:1rem;width:1rem}.assistant-card .chat-composer-error{color:#9c332d;font-size:.76rem;line-height:1.35;margin:0}.assistant-card .chat-composer-footer{align-items:center;color:#81766c;display:flex;font-size:.67rem;gap:.5rem;justify-content:space-between;min-width:0}.assistant-card .chat-composer-footer small{font-size:inherit}.assistant-card .chat-attachments{display:flex;gap:.45rem;max-width:100%;overflow-x:auto;padding:.15rem .1rem .25rem}.assistant-card .chat-attachment-preview{align-items:center;background:#faf8f5;border:1px solid #e7e1d9;border-radius:.55rem;display:grid;flex:0 0 68px;grid-template-columns:minmax(0,1fr) 20px;grid-template-rows:48px auto;margin:0;min-width:0;padding:.2rem}.assistant-card .chat-attachment-preview img{border-radius:.35rem;grid-column:1/-1;height:48px;object-fit:cover;width:100%}.assistant-card .chat-attachment-preview figcaption{color:#625b53;font-size:.58rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.assistant-card .chat-attachment-preview button{border-radius:50%;font-size:.95rem;height:19px;line-height:1;min-height:19px;min-width:19px;padding:0}@media (max-width:680px){.assistant-card .chat-composer-row[data-can-upload=false]{grid-template-columns:minmax(0,1fr) 38px}.assistant-card .chat-composer-row{gap:.35rem;grid-template-columns:38px minmax(0,1fr) 38px}.assistant-card .chat-icon-button{flex-basis:38px;height:38px;width:38px}.assistant-card .chat-message-input .mantine-Textarea-input{max-height:112px;min-height:38px}}@media (prefers-reduced-motion:reduce){.assistant-card .chat-message-pending i,.assistant-card .chat-send-spinner{animation:none}}