/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:"DM Sans", "Noto Sans TC", Inter, ui-sans-serif, system-ui, sans-serif;--font-mono:"JetBrains Mono", ui-monospace, SFMono-Regular, monospace;--spacing:.25rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--font-display:Figtree, "DM Sans", "Noto Sans TC", Inter, ui-sans-serif, system-ui, sans-serif}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.fixed{position:fixed}.static{position:static}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.container{width:100%}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.mx-auto{margin-inline:auto}.block{display:block}.contents{display:contents}.hidden{display:none}.inline{display:inline}.w-full{width:100%}.resize{resize:both}.overflow-x-auto{overflow-x:auto}.p-4{padding:calc(var(--spacing) * 4)}.pt-16{padding-top:calc(var(--spacing) * 16)}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}:root{--ro-purple-50:#f3f0ff;--ro-purple-100:#e5dff5;--ro-purple-200:#c9bbe8;--ro-purple-500:#8260ca;--ro-purple-600:#7a55c7;--ro-purple-700:#6845af;--ro-blue-50:#eef6ff;--ro-blue-100:#d4e4f7;--ro-page:linear-gradient(180deg, #f5f2fb 0%, #eef0f8 50%, #f5f2fb 100%);--ro-section:linear-gradient(180deg, #f0ecf9 0%, #e8f0fe 100%);--ro-card:linear-gradient(180deg, #f8f5ff 0%, #fff 100%);--ro-surface:#fff;--ro-surface-muted:#f8f6fd;--ro-border:#e8e0f0;--ro-border-strong:#d8cce8;--ro-text:#25213b;--ro-text-muted:#6b647e;--ro-shadow-card:0 2px 12px #7850b414;--ro-shadow-card-hover:0 8px 24px #7850b426;--ro-radius-card:20px;--ide-ink:#19182a;--ide-ink-panel:#211f35;--ide-ink-soft:#2a2740;--ide-ink-border:#39334f}*{box-sizing:border-box}html,body{background:var(--ro-page);min-height:100%;color:var(--ro-text);font-family:var(--font-sans);margin:0}button,input,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}.project-page{min-height:100dvh;padding:40px 22px}.project-nav{border:1px solid var(--ro-border);box-shadow:var(--ro-shadow-card-hover);backdrop-filter:blur(18px);background:#ffffffc7;border-radius:22px;justify-content:space-between;align-items:center;gap:18px;max-width:1600px;min-height:76px;margin:0 auto 36px;padding:10px 22px;display:flex}.project-brand{color:var(--ro-text);font-family:var(--font-display);align-items:center;gap:10px;min-width:0;font-size:15px;font-weight:850;display:flex}.project-logo-mark{color:#fff;font-family:var(--font-display);background:linear-gradient(135deg,#8a5cf6 0%,#21d6b1 100%);border-radius:12px;justify-content:center;align-items:center;width:42px;height:42px;font-size:13px;font-weight:900;display:inline-flex;box-shadow:0 8px 18px #7a55c733}.eyebrow,.ide-label{color:var(--ro-purple-600);letter-spacing:.08em;text-transform:uppercase;margin:0 0 8px;font-size:12px;font-weight:800}.login-panel-header h1{font-family:var(--font-display);letter-spacing:0;margin:0;font-size:34px;font-weight:800;line-height:1.08}.subtle{color:var(--ro-text-muted);margin:10px 0 0}.header-actions{align-items:center;gap:12px;display:flex}.user-menu{position:relative}.user-menu summary{list-style:none}.user-menu summary::-webkit-details-marker{display:none}.user-menu-trigger{border:1px solid var(--ro-border);color:var(--ro-text-muted);background:#ffffffb8;border-radius:999px;align-items:center;gap:6px;min-height:38px;padding:2px 8px 2px 2px;display:inline-flex}.user-menu-trigger:hover,.user-menu-trigger:focus-visible{border-color:var(--ro-purple-200);color:var(--ro-purple-700);outline:none}.user-avatar{color:#fff;background:linear-gradient(135deg,#8c72ff 0%,#6f7bff 100%);border:2px solid #d7cdfa;border-radius:999px;justify-content:center;align-items:center;width:34px;height:34px;font-size:15px;font-weight:850;display:inline-flex}.user-menu-panel{border:1px solid var(--ro-border);z-index:30;background:#fffffff5;border-radius:18px;min-width:220px;padding:14px;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 16px 40px #372a562e}.user-menu-label,.user-menu-email{color:var(--ro-text-muted);margin:0;font-size:12px}.user-menu-name{color:var(--ro-text);margin:4px 0;font-weight:800}.user-menu-panel form{margin-top:12px}.user-menu-panel .ghost-button{width:100%}.create-form{align-items:center;gap:8px;display:flex}.create-form input,.project-card-actions input{background:var(--ro-surface);border:1px solid var(--ro-border);color:var(--ro-text);border-radius:14px;min-height:38px;padding:0 12px}.create-form button,.modal-actions button,.login-panel button,.primary-button,.ghost-button{background:var(--ro-purple-600);border:1px solid var(--ro-purple-600);color:#fff;border-radius:14px;min-height:38px;padding:0 14px;font-weight:700;box-shadow:0 8px 18px #7a55c733}.ghost-button{border-color:var(--ro-border);box-shadow:none;color:var(--ro-text);background:#ffffffa3}.project-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:14px;max-width:1600px;margin:0 auto;display:grid}.project-card,.empty-projects,.login-panel{background:var(--ro-card);border:1px solid var(--ro-border);border-radius:var(--ro-radius-card);box-shadow:var(--ro-shadow-card)}.project-card{flex-direction:column;min-height:158px;display:flex;overflow:hidden}.project-open-link{flex-direction:column;flex:1;gap:10px;padding:20px;display:flex}.project-name{color:var(--ro-text);font-family:var(--font-display);font-size:20px;font-weight:750}.project-meta{color:var(--ro-text-muted);font-size:13px}.project-card-actions{border-top:1px solid var(--ro-border);justify-content:flex-end;padding:8px 12px 12px;display:flex}.project-card-actions .project-edit-button{border-color:var(--ro-border);box-shadow:none;color:var(--ro-purple-600);background:#fff;border-radius:999px;justify-content:center;align-items:center;width:32px;height:32px;min-height:32px;padding:0;display:inline-flex}.project-card-actions .project-edit-button:hover,.project-card-actions .project-edit-button:focus-visible{background:var(--ro-purple-50);border-color:var(--ro-purple-200);color:var(--ro-purple-700);outline:none}.danger-button,.icon-button.danger{color:#be123c}.project-card-actions .danger-button{background:#fff1f2;border-color:#fecdd3}.empty-projects{max-width:1600px;margin:0 auto;padding:36px}.modal-backdrop{backdrop-filter:blur(8px);z-index:100;background:#25213b4d;justify-content:center;align-items:center;padding:22px;display:flex;position:fixed;inset:0}.app-modal{background:var(--ro-card);border:1px solid var(--ro-border);border-radius:24px;width:min(100%,460px);max-width:460px;padding:20px;box-shadow:0 24px 70px #372a563d}.modal-header{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:18px;display:flex}.modal-header h2{color:var(--ro-text);font-family:var(--font-display);letter-spacing:0;margin:0;font-size:22px;line-height:1.1}.modal-form{gap:14px;display:grid}.modal-form label{gap:7px;display:grid}.modal-form label span{color:var(--ro-text-muted);font-size:12px;font-weight:800}.modal-form input{border:1px solid var(--ro-border);color:var(--ro-text);background:#fff;border-radius:14px;width:100%;min-height:42px;padding:0 12px}.modal-form input:focus{border-color:var(--ro-purple-500);outline:none;box-shadow:0 0 0 3px #7a55c71f}.modal-actions{justify-content:flex-end;gap:8px;display:flex}.publish-redirect-modal{max-width:420px}.publish-redirect-content{gap:10px;margin-bottom:18px;display:grid}.publish-redirect-content p{color:var(--ro-text-muted);margin:0;font-size:14px;line-height:1.45}.publish-redirect-target{border:1px solid var(--ro-border);color:var(--ro-text);overflow-wrap:anywhere;background:#fff;border-radius:12px;padding:10px 12px;font-size:13px;line-height:1.35}.login-page{width:100%;min-height:100dvh;padding:16px;padding-top:max(16px, env(safe-area-inset-top,0px));padding-bottom:max(16px, env(safe-area-inset-bottom,0px));background:linear-gradient(135deg,#e8e0f0 0%,#d4e4f7 50%,#e8e0f0 100%);justify-content:center;align-items:center;gap:18px;display:flex;position:relative;overflow:hidden}.login-theme-color-hack{pointer-events:none;z-index:9999;background:#e8e0f0;width:89%;height:11px;position:fixed;top:4px;left:50%;transform:translate(-50%);mask-image:linear-gradient(90deg,#0000,#0000)}.login-hero,.login-content{flex:50%;min-width:0}.login-hero{border-radius:24px;align-self:stretch;min-height:min(720px,100dvh - 32px);position:relative;overflow:hidden;box-shadow:0 4px 24px #7850b41f}.login-hero-image{object-fit:cover;object-position:center;width:100%;height:100%;position:absolute;inset:0}.login-hero-overlay{color:#fff;text-align:center;z-index:1;background:#00000059;flex-direction:column;justify-content:center;align-items:center;gap:24px;padding:32px;display:flex;position:absolute;inset:0}.login-hero-logo{max-width:min(240px,76%);height:auto}.login-hero-overlay p{color:#ffffffe6;max-width:420px;margin:0;font-size:18px;line-height:1.45}.login-content{justify-content:center;align-items:center;padding:32px 24px;display:flex}.login-panel{-webkit-backdrop-filter:blur(16px);background:#ffffffb3;border:1px solid #fff9;border-radius:24px;width:100%;max-width:420px;padding:34px 32px;box-shadow:0 8px 32px #7850b414,0 1px 4px #7850b40a}.login-panel-header{text-align:center;justify-items:center;gap:8px;display:grid}.login-panel form{width:100%;margin-top:28px}.login-submit-button{border:1px solid var(--ro-border);color:var(--ro-text);background:#fff;border-radius:12px;justify-content:center;align-items:center;gap:10px;width:100%;height:48px;min-height:48px;padding:0 16px;font-weight:650;transition:border-color .2s,box-shadow .2s,transform .2s;display:inline-flex;box-shadow:0 1px 4px #7850b40a}.login-submit-button:hover{border-color:var(--ro-purple-200);transform:translateY(-1px);box-shadow:0 8px 18px #7a55c71f}.login-submit-button:focus-visible{border-color:var(--ro-purple-500);outline:none;box-shadow:0 0 0 3px #8260ca2e,0 8px 18px #7a55c71f}.login-provider-icon{width:20px;height:20px}@media (width<=860px){.login-page{flex-direction:column;justify-content:flex-start;align-items:stretch}.login-hero,.login-content{flex:initial}.login-hero{min-height:40vh}.login-content{padding:8px 8px 18px}}@media (width<=520px){.login-page{padding:12px;padding-bottom:max(12px, env(safe-area-inset-bottom,0px));padding-top:max(12px, env(safe-area-inset-top,0px));gap:14px}.login-hero{border-radius:20px;min-height:38vh}.login-hero-overlay{gap:16px;padding:24px}.login-hero-overlay p{font-size:15px}.login-panel{border-radius:20px;padding:28px 22px}.login-panel-header h1{font-size:30px}}.ide-loading{background:var(--ro-page);min-height:100dvh;color:var(--ro-text-muted);justify-content:center;align-items:center;font-weight:700;display:flex}.ide-shell{background:var(--ro-section);color:var(--ro-text);grid-template-columns:var(--files-panel-width,280px) 8px minmax(0, 1fr) 8px var(--chat-panel-width,420px);grid-template-rows:36px minmax(0,1fr);row-gap:3px;height:100dvh;display:grid;position:relative;overflow:hidden}.ide-shell.files-collapsed{grid-template-columns:0 0 minmax(0, 1fr) 8px var(--chat-panel-width,420px)}.ide-shell.files-collapsed .ide-files{pointer-events:none;visibility:hidden}.ide-shell.chat-collapsed{grid-template-columns:var(--files-panel-width,280px) 8px minmax(0, 1fr) 0 0}.ide-shell.files-collapsed.chat-collapsed{grid-template-columns:0 0 minmax(0,1fr) 0 0}.ide-shell.chat-collapsed .ide-chat{pointer-events:none;visibility:hidden}.ide-tooltip{color:#fff;overflow-wrap:anywhere;pointer-events:none;text-align:center;white-space:normal;z-index:1000;background:#211b33;border:1px solid #ffffff1f;border-radius:7px;max-width:min(220px,100vw - 16px);padding:7px 9px;font-size:11px;font-weight:800;line-height:1.2;animation:.12s both tooltip-fade-in;position:fixed;box-shadow:0 10px 26px #1f1c2b38}.ide-tooltip.bottom{transform:translate(-50%)}.ide-tooltip.left{transform:translate(-100%,-50%)}.ide-tooltip.right{transform:translateY(-50%)}@keyframes tooltip-fade-in{0%{opacity:0}to{opacity:1}}.panel-resize-placeholder{min-width:0}.ide-topbar{border:1px solid var(--ro-border);box-shadow:var(--ro-shadow-card);backdrop-filter:blur(18px);z-index:80;background:#ffffffc2;border-radius:12px;grid-area:1/1/auto/-1;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:8px;min-width:0;padding:2px 8px;display:grid;position:relative;overflow:visible}.topbar-webapp,.topbar-view-switcher,.topbar-controls{align-items:center;gap:8px;min-width:0;display:flex}.topbar-webapp{justify-self:start}.topbar-controls{justify-content:flex-end;justify-self:end;gap:6px}.topbar-view-switcher{justify-self:center}.topbar-webapp .ide-label{margin:0}.topbar-title-display{min-width:0}.topbar-title-display h2{color:var(--ro-text);font-family:var(--font-display);letter-spacing:0;text-overflow:ellipsis;white-space:nowrap;max-width:240px;margin:0;font-size:13px;overflow:hidden}.topbar-title-form{flex:auto;grid-template-columns:minmax(120px,240px) 28px 28px;align-items:center;max-width:340px;display:grid}.topbar-preview-actions{align-items:center;gap:4px;min-width:0;display:flex}.topbar-preview-actions .icon-button{border-radius:9px;height:28px;min-height:28px;padding:0 7px}.topbar-preview-actions>.icon-button:not(.publish-button){width:28px;padding:0}.topbar-preview-actions .icon-button:disabled{cursor:wait;opacity:.8}.share-menu{z-index:90;position:relative}.share-menu summary{list-style:none}.share-menu summary::-webkit-details-marker{display:none}.topbar-preview-actions .share-button{color:var(--ro-text);cursor:pointer;gap:5px;width:auto;padding:0 8px}.share-menu[open] .share-button{border-color:var(--ro-purple-200);background:#f7f4ff}.share-menu-panel{border:1px solid var(--ro-border);color:var(--ro-text);z-index:100;background:#fff;border-radius:10px;gap:10px;width:min(330px,100vw - 24px);padding:12px;display:grid;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 18px 46px #1f1c2b2e}.share-menu-header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.share-menu-header div{gap:2px;min-width:0;display:grid}.share-menu-header strong{font-size:13px}.share-menu-header span{color:var(--ro-text-muted);font-size:12px;line-height:1.35}.share-access-pill{border:1px solid var(--ro-border);color:var(--ro-text-muted);border-radius:999px;flex:none;padding:3px 8px;font-size:11px;font-weight:700}.share-access-pill.public{color:#21866b;background:#eefaf6;border-color:#b7ead9}.share-access-pill.family{color:#9a5a07;background:#fff6e8;border-color:#ffd39d}.share-mode-control{border:1px solid var(--ro-border);background:#f8f8fb;border-radius:8px;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px;padding:2px;display:grid}.share-mode-option{color:var(--ro-text-muted);cursor:pointer;background:0 0;border:0;border-radius:6px;min-width:0;height:28px;font-size:12px;font-weight:800}.share-mode-option.active{color:var(--ro-text);background:#fff;box-shadow:0 1px 3px #110e261f}.share-mode-option:disabled{cursor:wait;opacity:.75}.share-url-row{border:1px solid var(--ro-border);color:var(--ro-text-muted);text-overflow:ellipsis;white-space:nowrap;background:#f8f8fb;border-radius:8px;min-width:0;padding:8px 9px;font-size:12px;line-height:1.35;overflow:hidden}.share-copy-button{background:var(--ro-purple-600);border:1px solid var(--ro-purple-600);color:#fff;cursor:pointer;border-radius:8px;justify-content:center;align-items:center;gap:6px;height:32px;padding:0 12px;font-size:12px;font-weight:800;display:inline-flex}.share-copy-button:disabled{cursor:wait;opacity:.8}.share-open-link{color:var(--ro-purple-700);font-size:12px;font-weight:700;text-decoration:none}.share-open-link:hover{text-decoration:underline}.share-state{color:var(--ro-text-muted);margin:0;font-size:12px;line-height:1.35}.share-state.copied{color:#21866b}.share-state.error{color:#be123c}.icon-button.is-spinning svg{animation:.9s linear infinite icon-spin}@keyframes icon-spin{to{transform:rotate(360deg)}}.build-state{color:var(--ro-text-muted);text-overflow:ellipsis;white-space:nowrap;max-width:190px;font-size:12px;font-weight:800;overflow:hidden}.build-state.error{color:#be123c}.layout-toggle-group{border:1px solid var(--ro-border);background:#ffffffbf;border-radius:10px;align-items:center;gap:1px;padding:2px;display:flex}.layout-toggle-group button{color:var(--ro-text-muted);background:0 0;border:0;border-radius:7px;justify-content:center;align-items:center;width:24px;height:24px;padding:0;display:inline-flex}.layout-toggle-group button:hover,.layout-toggle-group button:focus-visible{background:var(--ro-purple-50);color:var(--ro-purple-700);outline:none}.layout-toggle-group button.active{background:var(--ro-purple-100);color:var(--ro-purple-700)}.panel-resize-handle{cursor:col-resize;touch-action:none;background:0 0;border:0;min-width:8px;padding:0;position:relative}.panel-resize-handle:before{content:"";background:#7850b41f;border-radius:999px;position:absolute;inset:12px 2px}.panel-resize-handle:hover,.panel-resize-handle:focus-visible{background:0 0;outline:none}.panel-resize-handle:hover:before,.panel-resize-handle:focus-visible:before{background:var(--ro-purple-500)}body.is-resizing-panels{cursor:col-resize;user-select:none}body.is-resizing-panels iframe{pointer-events:none}.ide-files,.ide-chat{border:1px solid var(--ro-border);box-shadow:var(--ro-shadow-card);backdrop-filter:blur(18px);color:var(--ro-text);background:#ffffffb8;border-radius:20px;flex-direction:column;min-width:0;display:flex;overflow:hidden}.ide-files{flex-direction:row}.ide-activity-bar{border-right:1px solid var(--ro-border);background:#f7f4ffb3;flex-direction:column;flex:0 0 34px;align-items:center;gap:5px;padding:6px 3px;display:flex}.ide-activity-bar button{color:var(--ro-text-muted);background:0 0;border:0;border-radius:10px;justify-content:center;align-items:center;width:28px;height:28px;padding:0;display:inline-flex;position:relative}.ide-activity-bar button:before{background:var(--ro-purple-600);content:"";opacity:0;border-radius:999px;width:3px;height:16px;position:absolute;top:6px;left:-3px}.ide-activity-bar button:hover,.ide-activity-bar button:focus-visible{background:var(--ro-purple-50);color:var(--ro-purple-700);outline:none}.ide-activity-bar button.active{color:var(--ro-purple-700);background:#fff}.ide-activity-bar button.active:before{opacity:1}.ide-sidebar-panel{flex-direction:column;flex:auto;min-width:0;display:flex;overflow:hidden}.ide-files,.panel-resize-handle,.panel-resize-placeholder,.ide-main,.ide-chat{grid-row:2}.ide-files,.ide-chat{border-color:var(--ro-border);border-style:solid;border-width:1px}.ide-chat{border-width:1px}.ide-main{background:var(--ide-ink);border:1px solid #2f2a45;border-radius:20px;flex-direction:column;min-width:0;display:flex;overflow:hidden;box-shadow:0 18px 44px #372a562e}.ide-panel-header{border-bottom:1px solid var(--ro-border);background:#ffffff80;justify-content:space-between;align-items:center;min-height:44px;padding:9px 12px;display:flex}.ide-panel-header>div:first-child{flex:auto;min-width:0}.ide-panel-header-actions{flex:none;align-items:center;gap:4px;display:flex}.ide-panel-header h2{color:var(--ro-text);font-family:var(--font-display);letter-spacing:0;text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:14px;font-weight:700;overflow:hidden}.asset-upload-state{color:var(--ro-text-muted);text-overflow:ellipsis;white-space:nowrap;max-width:180px;font-size:11px;line-height:1.2;display:block;overflow:hidden}.asset-upload-state.error{color:#d14343}.asset-import-modal{width:min(100%,620px);max-width:620px}.asset-import-content{gap:12px;margin-bottom:18px;display:grid}.asset-import-toolbar{color:var(--ro-text-muted);justify-content:space-between;align-items:center;font-size:12px;font-weight:700;display:flex}.asset-import-toolbar>div{gap:6px;display:flex}.asset-import-toolbar button{border:1px solid var(--ro-border);color:var(--ro-text);background:#fff;border-radius:8px;min-height:28px;padding:0 10px}.asset-import-list{border:1px solid var(--ro-border);border-radius:12px;max-height:min(48vh,420px);display:grid;overflow:auto}.asset-import-item{border-bottom:1px solid var(--ro-border);background:#fff;grid-template-columns:18px minmax(0,1fr) minmax(120px,auto);align-items:center;gap:10px;min-height:58px;padding:10px 12px;display:grid}.asset-import-item:last-child{border-bottom:0}.asset-import-item input{margin:0}.asset-import-item-main,.asset-import-item-meta{min-width:0;display:grid}.asset-import-item-main>span,.asset-import-item-main>small,.asset-import-item-meta>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.asset-import-item-main>span{color:var(--ro-text);font-weight:750}.asset-import-item-main>small,.asset-import-item-meta{color:var(--ro-text-muted);font-size:11px}.asset-import-item-meta{justify-items:end}.asset-import-empty{border:1px dashed var(--ro-border);color:var(--ro-text-muted);text-align:center;border-radius:12px;justify-content:center;align-items:center;min-height:140px;padding:18px;display:flex}.clear-chat-button{width:30px;height:30px;min-height:30px;padding:0}.clear-chat-button svg{flex:none;width:20px;height:20px}.visually-hidden{width:1px;height:1px;position:absolute;top:auto;left:-9999px;overflow:hidden}.webapp-title-display{align-items:center;gap:6px;min-width:0;display:flex}.webapp-title-display h2{min-width:0}.webapp-title-form{grid-template-columns:minmax(0,1fr) 28px 28px;gap:6px;max-width:210px;display:grid}.webapp-title-form input{border:1px solid var(--ro-border);color:var(--ro-text);font:inherit;background:#fff;border-radius:12px;min-width:0;padding:5px 9px}.topbar-webapp .topbar-title-form{grid-template-columns:minmax(120px,240px) 28px 28px;max-width:340px}.webapp-title-error{color:#fca5a5;grid-column:1/-1;font-size:11px;line-height:1.35}.file-actions{border-bottom:1px solid var(--ro-border);border-top:1px solid var(--ro-border);gap:4px;min-height:38px;padding:6px 8px;display:flex}.icon-button,.send-button{color:var(--ro-text-muted);background:0 0;border:1px solid #0000;border-radius:12px;justify-content:center;align-items:center;gap:6px;min-height:30px;padding:0 8px;display:inline-flex}.icon-button:hover,.send-button:hover{background:var(--ro-purple-50);border-color:var(--ro-purple-200);color:var(--ro-purple-700)}.file-search{border-bottom:1px solid var(--ro-border);color:var(--ro-text-muted);grid-template-columns:13px minmax(0,1fr) 20px;align-items:center;gap:4px;min-height:34px;padding:4px 6px;display:grid}.file-search input{border:1px solid var(--ro-border);color:var(--ro-text);background:#fff;border-radius:7px;min-width:0;height:24px;padding:0 7px;font-size:12px}.file-search input:focus{border-color:var(--ro-purple-500);outline:none}.file-search input::placeholder{color:var(--ro-text-muted)}.file-search button{color:var(--ro-text-muted);background:0 0;border:0;border-radius:7px;justify-content:center;align-items:center;width:20px;height:20px;padding:0;display:inline-flex}.file-search button:hover,.file-search button:focus-visible{background:var(--ro-purple-50);color:var(--ro-purple-700);outline:none}.file-tree{flex:1;padding:5px 6px 7px;position:relative;overflow:auto}.file-search+.file-tree{padding:5px 6px 7px}.file-node{color:var(--ro-text-muted);text-align:left;background:0 0;border:0;border-radius:7px;align-items:center;gap:4px;width:100%;min-height:24px;padding:0 6px;display:flex;overflow:hidden}.file-node span:last-child{font-family:var(--font-mono);text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.file-node:hover,.file-node.active,.file-node.context-active,.file-search-result:hover,.file-search-result.active,.file-search-result.context-active,.file-search-result.selected{background:var(--ro-purple-50);color:var(--ro-purple-700)}.file-node.context-active{box-shadow:none}.file-search-results{gap:2px;display:grid}.file-search-summary{color:var(--ro-text-muted);padding:0 6px 4px;font-size:10px}.file-search-group{gap:1px;display:grid}.file-search-group summary{color:var(--ro-text-muted);cursor:pointer;border-radius:7px;grid-template-columns:12px 12px minmax(0,.95fr) minmax(0,1.05fr) auto;align-items:center;gap:4px;min-height:23px;padding:0 4px;display:grid}.file-search-group summary::-webkit-details-marker{display:none}.file-search-group summary::marker{content:""}.file-search-group summary:hover,.file-search-group summary:focus-visible{background:var(--ro-purple-50);color:var(--ro-purple-700);outline:none}.file-search-group[open]>summary .chevron{transform:rotate(90deg)}.file-search-group summary svg{width:12px;height:12px}.file-search-group summary span,.file-search-group summary small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.file-search-group summary span{font-family:var(--font-mono);font-size:11px}.file-search-group summary small{color:var(--ro-text-muted);font-family:var(--font-mono);font-size:9px}.file-search-group summary b{color:var(--ro-text-muted);text-align:center;background:#7850b41a;border-radius:999px;min-width:16px;padding:1px 5px;font-size:9px;font-weight:700}.file-search-group-results{border-left:1px solid var(--ro-border);gap:0;margin-left:10px;padding-left:4px;display:grid}.file-search-result{color:var(--ro-text-muted);text-align:left;background:0 0;border:0;border-radius:7px;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:0 5px;width:100%;min-height:23px;padding:2px 4px;display:grid}.file-search-result small,.file-search-result p{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.file-search-result small{font-family:var(--font-mono);opacity:.76;text-align:right;grid-column:1;font-size:9px}.file-search-result p{opacity:.9;grid-column:2;margin:0;font-size:10.5px;line-height:1.25}.file-search-highlight{color:#7c2d12;background:#fed7aa;border-radius:2px;padding:0 1px}.file-search-empty{color:var(--ro-text-muted);padding:6px;font-size:11px}.file-context-menu{border:1px solid var(--ro-border);box-shadow:var(--ro-shadow-card-hover);z-index:50;background:#fff;border-radius:16px;min-width:190px;padding:5px;display:grid;position:fixed}.file-context-menu button{color:var(--ro-text);text-align:left;background:0 0;border:0;border-radius:10px;align-items:center;gap:8px;width:100%;min-height:30px;padding:0 9px;display:flex}.file-context-menu button:hover,.file-context-menu button:focus-visible{background:var(--ro-purple-50);color:var(--ro-purple-700);outline:none}.file-context-menu button.danger{color:#fda4af}.context-menu-divider{background:var(--ro-border);height:1px;margin:5px 2px}.chevron{flex:none;width:12px;transition:transform .12s;transform:rotate(0)}.chevron.open{transform:rotate(90deg)}.file-spacer{flex:0 0 12px}.editor-tabs{border-bottom:1px solid var(--ro-border);background:#f8f5ff;align-items:center;gap:0;min-height:36px;padding:3px 5px;display:flex;overflow:hidden}.editor-tab-list{scrollbar-width:none;flex:auto;align-items:center;min-width:0;display:flex;overflow:auto hidden}.editor-tab-list::-webkit-scrollbar{display:none}.editor-tab{color:var(--ro-text-muted);font-family:var(--font-mono);background:0 0;border:0;border-radius:8px;flex:0 0 132px;align-items:center;min-width:82px;max-width:180px;height:28px;font-size:11px;display:flex;overflow:hidden}.editor-tab.active{color:var(--ro-text);background:#fff;box-shadow:0 1px 6px #7850b41f}.editor-tab:hover,.editor-tab:focus-within{color:var(--ro-purple-700);background:#fff}.editor-tab-label{color:inherit;cursor:pointer;font-family:inherit;font-size:inherit;text-align:left;text-overflow:ellipsis;white-space:nowrap;background:0 0;border:0;flex:1;min-width:0;height:100%;padding:0 4px 0 9px;overflow:hidden}.editor-tab-close{color:inherit;cursor:pointer;opacity:.68;background:0 0;border:0;border-radius:4px;flex:0 0 20px;justify-content:center;align-items:center;width:20px;height:20px;margin-right:4px;padding:0;display:inline-flex}.editor-tab:hover .editor-tab-close,.editor-tab-close:focus-visible{opacity:1}.editor-tab-label:hover,.editor-tab-close:hover,.editor-tab-label:focus-visible,.editor-tab-close:focus-visible{color:inherit;outline:none}.segmented{border:1px solid var(--ro-border);background:#fff;border-radius:12px;flex:none;padding:2px;display:flex;box-shadow:0 1px 8px #7850b414}.segmented button{color:var(--ro-text-muted);background:0 0;border:0;border-radius:8px;min-height:24px;padding:0 8px;font-size:12px;font-weight:700}.segmented button.active{background:var(--ro-purple-600);color:#fff;box-shadow:0 6px 14px #7a55c733}.workspace-surface{flex:1;min-height:0;overflow:hidden}.empty-editor{color:#a7a0bb;justify-content:center;align-items:center;height:100%;display:flex}.search-editor-match-inline{outline-offset:1px;background:#fbbf2457;border-radius:3px;outline:1px solid #f59e0ba6}.asset-editor-preview{background:var(--ide-ink);color:#e7e3f4;flex-direction:column;align-items:stretch;height:100%;min-height:0;display:flex}.asset-preview-toolbar{background:var(--ide-ink-panel);border-bottom:1px solid #39334f;justify-content:flex-end;align-items:center;min-height:42px;padding:6px 10px;display:flex}.asset-preview-mode{background:#171323;border:1px solid #39334f;border-radius:6px;display:inline-flex;overflow:hidden}.asset-preview-mode button{color:#a7a0bb;cursor:pointer;font-family:var(--font-ui);background:0 0;border:0;height:28px;padding:0 12px;font-size:12px}.asset-preview-mode button[aria-selected=true]{color:#fff;background:#2d2840}.asset-preview-mode button:disabled{color:#6f6884;cursor:not-allowed}.asset-preview-canvas{flex:1;justify-content:center;align-items:center;min-height:0;padding:24px;display:flex;overflow:auto}.asset-preview-raw{color:#d8d2e8;font-family:var(--font-mono);white-space:pre-wrap;word-break:break-word;background:#0f0d18;flex:1;min-height:0;margin:0;padding:16px;font-size:12px;line-height:1.55;overflow:auto}.asset-preview-canvas img{object-fit:contain;background:#fff;border:1px solid #39334f;border-radius:12px;max-width:100%;max-height:100%;box-shadow:0 18px 44px #00000038}.asset-preview-audio{width:100%;max-width:min(640px,100%)}.asset-preview-video{background:#05040c;border:1px solid #39334f;border-radius:8px;max-width:100%;max-height:100%}.asset-preview-frame{background:#fff;border:1px solid #39334f;border-radius:8px;width:min(900px,100%);height:100%;min-height:360px}.asset-preview-font{color:#12101d;background:#fff;border:1px solid #39334f;border-radius:8px;align-items:center;min-height:180px;padding:32px;font-size:48px;display:flex}.asset-preview-generic{color:#c7c0da;font-family:var(--font-mono);border:1px dashed #554d70;border-radius:8px;align-items:center;min-height:120px;padding:24px;font-size:13px;display:flex}.asset-preview-meta{background:var(--ide-ink-panel);color:#a7a0bb;font-family:var(--font-mono);border-top:1px solid #39334f;flex-wrap:wrap;align-items:center;gap:12px;min-height:34px;padding:7px 12px;font-size:12px;display:flex}.asset-preview-meta span:first-child{color:#e7e3f4;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.asset-preview-empty{color:#a7a0bb;flex-direction:column;justify-content:center;align-items:center;gap:6px;height:100%;padding:24px;display:flex}.asset-preview-empty span{color:#e7e3f4;font-family:var(--font-mono);font-size:13px}.asset-preview-empty small{color:#a7a0bb}.large-file-preview{background:var(--ide-ink);color:#e7e3f4;flex-direction:column;height:100%;min-height:0;display:flex}.large-file-preview-header{background:var(--ide-ink-panel);border-bottom:1px solid #39334f;justify-content:space-between;align-items:center;gap:12px;min-height:46px;padding:8px 12px;display:flex}.large-file-preview-header div{gap:2px;min-width:0;display:grid}.large-file-preview-header span{color:#f8fafc;font-family:var(--font-mono);text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.large-file-preview-header small{color:#a7a0bb;font-size:12px}.large-file-preview-header button{background:var(--ro-purple-600);border:1px solid var(--ro-purple-600);color:#fff;border-radius:10px;flex:none;min-height:30px;padding:0 10px;font-size:12px;font-weight:800}.large-file-preview pre{font-family:var(--font-mono);white-space:pre;flex:1;margin:0;padding:14px;font-size:12px;line-height:1.5;overflow:auto}.preview-pane{flex-direction:column;height:100%;display:flex}.preview-toolbar{border-bottom:1px solid var(--ro-border);color:var(--ro-text);min-height:52px;font-family:var(--font-display);background:#fff;justify-content:space-between;align-items:center;padding:0 14px;font-weight:700;display:flex}.preview-toolbar .icon-button{color:var(--ro-text)}.preview-toolbar-actions{align-items:center;gap:6px;display:flex}.preview-toolbar .icon-button:disabled{cursor:not-allowed;opacity:.55}.publish-button{background:var(--ro-purple-600);border-color:var(--ro-purple-600);color:#fff;gap:5px;font-size:12px;font-weight:800;box-shadow:0 6px 14px #7a55c733}.preview-toolbar .publish-button{color:#fff}.publish-status{border-bottom:1px solid var(--ro-border);color:var(--ro-text-muted);background:#faf8ff;min-height:28px;padding:6px 10px;font-size:12px}.publish-status.published{color:#2f8f74}.publish-status.error{color:#be123c}.publish-status a{text-decoration:underline}.preview-browser-chrome{background:#f6f7fb;border-bottom:1px solid #dfe3ed;grid-template-columns:auto auto minmax(0,1fr);align-items:center;gap:8px;min-height:42px;padding:7px 12px;display:grid}.preview-window-controls{align-items:center;gap:6px;display:flex}.preview-window-controls span{border-radius:999px;width:10px;height:10px;display:block}.preview-window-controls span:first-child{background:#ef5b58}.preview-window-controls span:nth-child(2){background:#f4bd4f}.preview-window-controls span:nth-child(3){background:#5fc66c}.preview-navigation-controls{flex:none;align-items:center;gap:3px;display:flex}.preview-navigation-button{appearance:none;color:#475569;cursor:pointer;background:#fff;border:1px solid #d8deea;border-radius:7px;justify-content:center;align-items:center;width:28px;height:28px;padding:0;transition:background .12s,border-color .12s,color .12s;display:flex}.preview-navigation-button:hover:not(:disabled){color:#1f2937;background:#f8fafc;border-color:#c5cedc}.preview-navigation-button:disabled{cursor:not-allowed;opacity:.45}.preview-address-field{color:#475569;font-family:var(--font-mono);background:#fff;border:1px solid #d8deea;border-radius:8px;align-items:center;gap:7px;min-width:0;height:28px;margin:0;padding:0 10px;font-size:12px;display:flex}.preview-address-field svg{color:#64748b;flex:none}.preview-address-field input{appearance:none;color:inherit;font:inherit;text-overflow:ellipsis;white-space:nowrap;background:0 0;border:0;outline:0;width:100%;min-width:0;height:100%;padding:0;display:block;overflow:hidden}.preview-address-field input:disabled{cursor:not-allowed;opacity:.65}.preview-frame{background:#fff;border:0;flex:1;width:100%;min-height:0}.build-error{color:#fecdd3;white-space:pre-wrap;background:#180f12;flex:1;margin:0;padding:18px;overflow:auto}.preview-status-tabs{border-top:1px solid var(--ro-border);background:#fff;flex:none;min-width:0}.preview-status-tab-list{background:#fbfaff;align-items:stretch;min-width:0;min-height:34px;display:flex}.preview-status-tab{border:0;border-right:1px solid var(--ro-border);color:var(--ro-text);cursor:pointer;text-align:left;background:#fbfaff;flex:1 1 0;justify-content:space-between;align-items:center;min-width:0;min-height:34px;padding:0 12px;font-size:12px;font-weight:800;display:flex}.preview-status-tab span,.preview-status-tab small{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.preview-status-tab small{color:var(--ro-text-muted);font-family:var(--font-mono);margin-left:12px;font-size:11px;font-weight:600}.preview-status-tab:hover,.preview-status-tab:focus-visible,.preview-status-hide-tab:hover:not(:disabled),.preview-status-hide-tab:focus-visible{background:var(--ro-purple-50);outline:none}.preview-status-tab[aria-selected=true]{box-shadow:inset 0 2px 0 var(--ro-purple-500);color:var(--ro-purple-700);background:#fff}.preview-status-hide-tab{border:0;border-left:1px solid var(--ro-border);color:var(--ro-text);cursor:pointer;background:#fbfaff;flex:0 0 38px;justify-content:center;align-items:center;min-height:34px;padding:0;display:flex}.preview-status-hide-tab:disabled{cursor:not-allowed;opacity:.42}.preview-status-tab-panels{border-top:1px solid var(--ro-border);background:#fff;max-height:300px;overflow:auto}.preview-status-tab-panels[hidden],.preview-status-tab-panel[hidden]{display:none}.preview-debug-panel{color:var(--ro-text);background:#fff}.preview-debug-body{background:#fff;gap:8px;min-width:0;padding:10px;display:grid}.preview-debug-controls,.preview-debug-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.preview-debug-controls input[type=text],.preview-debug-controls input:not([type]),.preview-debug-controls select{border:1px solid var(--ro-border);color:var(--ro-text);background:#fff;border-radius:8px;min-height:30px;padding:0 9px;font-size:12px}.preview-debug-controls input[type=text],.preview-debug-controls input:not([type]){flex:180px;min-width:140px}.preview-debug-checkbox{color:var(--ro-text-muted);align-items:center;gap:6px;min-height:30px;font-size:12px;font-weight:700;display:inline-flex}.preview-debug-actions button{border:1px solid var(--ro-border);color:var(--ro-text);background:#fff;border-radius:8px;align-items:center;gap:5px;min-height:30px;padding:0 9px;font-size:12px;font-weight:800;display:inline-flex}.preview-debug-actions button:hover:not(:disabled){background:var(--ro-purple-50);border-color:var(--ro-purple-200);color:var(--ro-purple-700)}.preview-debug-actions button:disabled{cursor:not-allowed;opacity:.5}.preview-debug-status{color:var(--ro-purple-700);font-family:var(--font-mono);font-size:11px}.preview-debug-result{color:#d8d4e7;background:#19182a;border:1px solid #39334f;border-radius:8px;gap:8px;width:100%;min-width:0;padding:8px;display:grid;overflow:hidden}.preview-debug-log-list{gap:4px;width:100%;min-width:0;max-height:160px;display:grid;overflow:auto}.preview-debug-log{grid-template-columns:48px minmax(0,1fr);align-items:start;gap:8px;min-width:0;display:grid}.preview-debug-log span{color:#a7a0bb;font-family:var(--font-mono);font-size:11px}.preview-debug-log.error span,.preview-debug-log.warn span{color:#fda4af}.preview-debug-log code{color:#e7e3f4;font-family:var(--font-mono);overflow-wrap:break-word;white-space:pre-wrap;min-width:0;font-size:11px;display:block;overflow:auto}.preview-debug-diagnostic code{gap:2px;display:grid}.preview-debug-diagnostic-location{color:#f1f5f9;text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.preview-debug-diagnostic-message{color:#e7e3f4;white-space:normal}.preview-debug-result details{gap:6px;min-width:0;display:grid}.preview-debug-result summary{color:#f8fafc;cursor:pointer;font-size:12px;font-weight:800}.preview-debug-result pre{color:#d8d4e7;font-family:var(--font-mono);white-space:pre-wrap;min-width:0;max-height:220px;margin:0;font-size:11px;line-height:1.45;overflow:auto}.compile-result{color:var(--ro-text);font-family:var(--font-mono);background:#fff;flex-direction:column;font-size:12px;display:flex}.compile-logs{background:#fff;flex-direction:column;flex:1;gap:4px;padding:10px 12px;display:flex;overflow:auto}.compile-empty{color:var(--ro-text-muted);font-family:var(--font-mono);font-size:12px;line-height:1.5}.compile-log-line{white-space:pre-wrap;grid-template-columns:48px minmax(0,1fr);gap:10px;line-height:1.5;display:grid}.compile-log-level{color:var(--ro-purple-700);text-transform:uppercase}.compile-log-line.warn .compile-log-level{color:#facc15}.compile-log-line.error .compile-log-level{color:#fb7185}.preview-window-shell{background:#fff;width:100vw;height:100vh;overflow:hidden}.preview-window-frame{background:#fff;border:0;width:100%;height:100%;display:block}.preview-window-loading,.preview-window-empty{color:var(--ro-text);text-align:center;background:#fbfaff;flex-direction:column;justify-content:center;align-items:center;gap:8px;height:100vh;padding:24px;display:flex}.preview-window-empty h1{margin:0;font-size:18px;font-weight:800}.preview-window-empty p{color:var(--ro-text-muted);margin:0;font-size:13px}.chat-messages{flex-direction:column;flex:1;gap:12px;padding:14px;display:flex;overflow:auto}.chat-context-meter-wrap{display:inline-flex;position:relative}.chat-context-meter{--context-ring-color:var(--ro-purple-600);background:conic-gradient(var(--context-ring-color) var(--context-usage-percent,0%), #e7e2f4 0);border-radius:999px;justify-content:center;align-items:center;width:18px;height:18px;display:inline-flex;position:relative}.chat-context-meter:after{border-radius:inherit;content:"";background:#fff;width:10px;height:10px}.chat-context-meter.compacting,.chat-context-meter.compacted{--context-ring-color:#0f9f8f}.chat-context-meter.error{--context-ring-color:#dc2626}.chat-context-popover{border:1px solid var(--ro-border);box-shadow:var(--ro-shadow-card-hover);color:var(--ro-text-muted);opacity:0;pointer-events:none;white-space:nowrap;z-index:80;background:#fff;border-radius:12px;gap:3px;min-width:178px;padding:8px 10px;font-size:11px;transition:opacity .14s,transform .14s;display:grid;position:absolute;bottom:calc(100% + 8px);right:0;transform:translateY(4px)}.chat-context-popover strong{color:var(--ro-text);font-size:12px}.chat-context-meter-wrap:hover .chat-context-popover{opacity:1;transform:translateY(0)}.chat-message{border:1px solid var(--ro-border);border-radius:18px;flex-direction:column;gap:8px;max-width:94%;padding:11px 13px;line-height:1.5;display:flex;box-shadow:0 1px 8px #7850b40f}.chat-message.user{background:linear-gradient(135deg, var(--ro-purple-600), #5b7ad6);color:#fff;border-color:#0000;margin-left:auto}.chat-message.assistant{background:#fff;width:100%;margin-right:auto}.chat-role{color:var(--ro-text-muted);letter-spacing:.08em;text-transform:uppercase;font-size:11px;font-weight:750}.chat-message.user .chat-role{color:#ffffffb8}.chat-markdown{overflow-wrap:anywhere}.chat-markdown>:first-child{margin-top:0}.chat-markdown>:last-child{margin-bottom:0}.chat-markdown p,.reasoning-part p{white-space:pre-wrap;margin:0}.chat-markdown p+p,.chat-markdown ul,.chat-markdown ol,.chat-markdown blockquote,.chat-markdown pre,.chat-markdown table{margin:8px 0 0}.chat-markdown ul,.chat-markdown ol{padding-left:18px}.chat-markdown li{margin:2px 0}.chat-markdown input[type=checkbox]{vertical-align:middle;margin:0 6px 0 0}.chat-markdown a{color:var(--ro-purple-700);text-decoration:underline}.chat-markdown blockquote{border-left:2px solid var(--ro-purple-200);color:var(--ro-text-muted);padding-left:10px}.chat-markdown code{border:1px solid var(--ro-border);color:var(--ro-purple-700);font-family:var(--font-mono);background:#f8f5ff;border-radius:8px;padding:1px 4px;font-size:.92em}.chat-markdown pre{color:#f5f2ff;background:#171625;border:1px solid #3f3955;border-radius:12px;padding:9px;overflow:auto;box-shadow:inset 0 1px #ffffff0d}.chat-markdown pre code{color:#f5f2ff;white-space:pre;background:0 0;border:0;border-radius:0;padding:0;font-size:12px;line-height:1.5;display:block}.chat-markdown table{border-collapse:collapse;max-width:100%;display:block;overflow:auto}.chat-markdown th,.chat-markdown td{border:1px solid var(--ro-border);padding:4px 7px}.chat-markdown th{color:var(--ro-text);background:#f8f5ff;font-weight:750}.reasoning-part{border-left:2px solid var(--ro-purple-200);color:var(--ro-text-muted);margin-top:8px;padding-left:8px;font-size:13px}.reasoning-part button{color:var(--ro-text-muted);background:0 0;border:0;align-items:center;gap:4px;min-height:24px;padding:0;display:inline-flex}.chat-source-link{color:var(--ro-purple-700);overflow-wrap:anywhere;margin-top:6px;text-decoration:underline;display:inline-block}.chat-file-image{border:1px solid var(--ro-border);color:var(--ro-text-muted);background:#fff;border-radius:12px;gap:6px;max-width:min(320px,100%);padding:6px;text-decoration:none;display:inline-grid;overflow:hidden}.chat-file-image img{object-fit:contain;border-radius:8px;max-width:100%;max-height:220px;display:block}.chat-file-image span,.chat-file-link span{text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.chat-file-link{border:1px solid var(--ro-border);color:var(--ro-purple-700);background:#fff;border-radius:999px;align-items:center;gap:6px;max-width:100%;min-height:28px;padding:0 9px;text-decoration:none;display:inline-flex}.tool-card,.json-block{border:1px solid var(--ro-border);background:#fbfaff;border-radius:14px;overflow:hidden}.tool-card-group{border:1px solid var(--ro-border);background:#fbfaff;border-radius:14px;display:grid;overflow:hidden}.tool-card-group.done{border-color:#b8e0d2}.tool-card-group.error{border-color:#fecdd3}.tool-card-group.running{border-color:#c7d2fe}.tool-card-group-summary{color:var(--ro-text);text-align:left;background:0 0;border:0;grid-template-columns:auto auto minmax(0,1fr) auto;align-items:center;gap:7px;width:100%;min-height:38px;padding:7px 8px;display:grid}.tool-card-group-summary:hover,.tool-card-group-summary:focus-visible{background:var(--ro-purple-50);outline:none}.tool-card-group-count{color:var(--ro-text-muted);white-space:nowrap;font-size:11px;font-weight:800}.tool-card-group-current{grid-template-columns:auto minmax(56px,auto) minmax(0,1fr);align-items:center;gap:7px;min-width:0;display:grid}.tool-card-group-list{border-top:1px solid var(--ro-border);display:grid}.tool-card-group .tool-card{background:0 0;border:0;border-radius:0}.tool-card-group-list .tool-card+.tool-card{border-top:1px solid var(--ro-border)}.tool-card-group-list .tool-card-summary{min-height:34px;padding:5px 8px}.tool-card.done{border-color:#b8e0d2}.tool-card.error{border-color:#fecdd3}.tool-card-summary{color:var(--ro-text);text-align:left;background:0 0;border:0;grid-template-columns:auto auto minmax(68px,auto) minmax(0,1fr) auto;align-items:center;gap:7px;width:100%;min-height:38px;padding:7px 8px;display:grid}.tool-card-summary:hover,.tool-card-summary:focus-visible{background:var(--ro-purple-50);outline:none}.tool-name{color:var(--ro-purple-700);font-family:var(--font-mono);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.tool-description{color:var(--ro-text-muted);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.tool-status{color:#2f8f74;text-transform:uppercase;justify-self:end;align-items:center;gap:4px;font-size:11px;font-weight:750;display:inline-flex}.tool-card.error .tool-status,.tool-card-group.error>.tool-card-group-summary .tool-status{color:#fca5a5}.tool-card.running .tool-status,.tool-card-group.running>.tool-card-group-summary .tool-status{color:#5b7ad6}.tool-card-details{border-top:1px solid var(--ro-border);flex-direction:column;gap:10px;padding:10px;display:flex}.tool-stream-progress{border-top:1px solid var(--ro-border);background:#664aba0f;padding:7px 10px}.tool-stream-progress-header{color:var(--ro-text-muted);justify-content:space-between;align-items:center;gap:8px;min-width:0;font-size:11px;font-weight:750;display:flex}.tool-stream-progress-header span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.tool-section-label{color:var(--ro-text-muted);letter-spacing:.08em;text-transform:uppercase;margin-bottom:5px;font-size:11px;font-weight:750}.tool-command,.tool-output,.tool-error,.json-block pre,.diff-block{background:var(--ide-ink);color:#e7e3f4;font-family:var(--font-mono);white-space:pre-wrap;border:1px solid #39334f;border-radius:12px;margin:0;padding:8px;font-size:12px;line-height:1.5;overflow:auto}.tool-output .stderr,.tool-error{color:#fca5a5}.tool-entry-list{background:var(--ide-ink);color:#e7e3f4;font-family:var(--font-mono);border:1px solid #39334f;border-radius:12px;gap:3px;max-height:220px;padding:8px;font-size:12px;display:grid;overflow:auto}.tool-entry-list span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.tool-entry-type{color:#a99bd6}.diff-block{white-space:pre;padding:0}.diff-line{padding:0 8px;display:block}.diff-line.add{color:#bbf7d0;background:#123225}.diff-line.remove{color:#fecdd3;background:#3a1419}.diff-line.meta{color:#c9bbe8;background:#27233f}.json-block{padding:8px}.tool-json{color:var(--ro-text-muted);font-size:12px}.tool-json summary{cursor:pointer;margin-bottom:8px}.chat-streaming{color:var(--ro-purple-600);font-size:13px}.chat-form{border-top:1px solid var(--ro-border);background:#ffffffb8;padding:12px}.chat-input-wrap{border:1px solid var(--ro-border);background:#fff;border-radius:24px;flex-direction:column;min-width:0;padding:14px 14px 10px;transition:border-color .16s,box-shadow .16s;display:flex;position:relative;overflow:visible;box-shadow:0 8px 28px #7850b41a}.chat-input-wrap:focus-within{border-color:var(--ro-purple-300,var(--ro-purple-200));box-shadow:0 12px 34px #7850b424,0 0 0 3px #7a55c71a}.chat-form textarea{color:var(--ro-text);font-family:var(--font-sans);resize:none;background:0 0;border:0;width:100%;min-height:78px;max-height:160px;padding:0;font-size:14px;line-height:1.45;display:block}.chat-form textarea::placeholder{color:#8d889c}.chat-form textarea:focus{outline:none}.chat-image-attachments{flex-wrap:wrap;gap:8px;padding-bottom:8px;display:flex}.chat-image-attachment{border:1px solid var(--ro-border);background:#fbfaff;border-radius:12px;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:6px;width:190px;max-width:100%;min-height:44px;padding:4px 5px 4px 4px;display:grid}.chat-image-attachment img{object-fit:cover;border-radius:8px;width:36px;height:36px}.chat-image-attachment span{color:var(--ro-text-muted);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.chat-image-attachment button{color:var(--ro-text-muted);background:0 0;border:0;border-radius:999px;justify-content:center;align-items:center;width:24px;height:24px;padding:0;display:inline-flex}.chat-image-attachment button:hover{background:var(--ro-purple-50);color:var(--ro-purple-700)}.chat-composer-footer{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding-top:8px;display:flex}.chat-composer-tools{flex-wrap:wrap;flex:150px;align-items:center;gap:8px;min-width:0;display:inline-flex}.chat-tools-menu{position:relative}.chat-tools-menu-trigger{color:var(--ro-text-muted);cursor:pointer;background:0 0;border:0;border-radius:999px;justify-content:center;align-items:center;width:28px;height:28px;padding:0;list-style:none;display:inline-flex}.chat-tools-menu-trigger::-webkit-details-marker{display:none}.chat-tools-menu[open] .chat-tools-menu-trigger,.chat-tools-menu-trigger:hover,.chat-tools-menu-trigger:focus-visible{background:var(--ro-purple-50);color:var(--ro-purple-700);outline:none}.chat-tools-menu-panel{border:1px solid var(--ro-border);box-shadow:var(--ro-shadow-card-hover);z-index:70;background:#fff;border-radius:12px;gap:4px;min-width:168px;padding:6px;display:grid;position:absolute;bottom:calc(100% + 8px);left:0}.chat-tools-menu-item{color:var(--ro-text);cursor:pointer;text-align:left;background:0 0;border:0;border-radius:8px;grid-template-columns:auto auto minmax(0,1fr);align-items:center;gap:8px;min-height:30px;padding:0 8px;font-size:12px;font-weight:750;display:grid}.chat-tools-menu-item:hover,.chat-tools-menu-item:focus-visible{background:var(--ro-purple-50);color:var(--ro-purple-700);outline:none}.chat-tools-menu-item input{accent-color:var(--ro-purple-600);width:13px;height:13px;margin:0}.chat-tools-menu-spacer{width:13px}.chat-tools-menu-item:disabled{cursor:not-allowed;opacity:.6}.chat-model-select{border:1px solid var(--ro-border);color:var(--ro-text-muted);background:#fff;border-radius:999px;align-items:center;gap:5px;min-height:26px;padding:0 6px 0 9px;display:inline-flex}.chat-model-select:hover,.chat-model-select:focus-within{background:var(--ro-purple-50);border-color:var(--ro-purple-200);color:var(--ro-purple-700)}.chat-model-select select{color:inherit;cursor:pointer;font:inherit;background:0 0;border:0;outline:none;max-width:145px;min-height:24px;font-size:12px;font-weight:800}.chat-model-select select:disabled{cursor:not-allowed;opacity:.65}.chat-composer-actions{flex:0 auto;justify-content:flex-end;align-items:center;gap:10px;min-width:0;margin-left:auto;display:inline-flex}.chat-image-error{color:#dc2626;font-size:12px}.send-button{background:var(--ro-purple-600);border-color:var(--ro-purple-600);color:#fff;border-radius:999px;width:34px;height:34px;min-height:34px;padding:0;box-shadow:0 8px 18px #7a55c738}.send-button:disabled{background:var(--ro-purple-200);border-color:var(--ro-purple-200);box-shadow:none;cursor:not-allowed;opacity:.65}.stop-button{background:#ef4444;border-color:#ef4444;box-shadow:0 8px 18px #ef444433}.stop-button:hover{background:#dc2626;border-color:#dc2626}.path-mention-popover{border:1px solid var(--ro-border);box-shadow:var(--ro-shadow-card-hover);z-index:60;background:#fff;border-radius:16px;gap:2px;max-height:260px;padding:6px;display:grid;position:absolute;bottom:calc(100% + 8px);left:0;right:0;overflow:auto}.path-mention-option{color:var(--ro-text);text-align:left;background:0 0;border:0;border-radius:12px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;min-height:34px;padding:0 9px;display:grid}.path-mention-option span{font-family:var(--font-mono);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.path-mention-option small{color:var(--ro-text-muted);font-size:11px}.path-mention-option:hover,.path-mention-option.active{background:var(--ro-purple-50);color:var(--ro-purple-700)}@media (width<=980px){.ide-shell{grid-template-columns:var(--files-panel-width,220px) 8px minmax(0, 1fr)}.ide-shell.files-collapsed{grid-template-columns:0 0 minmax(0,1fr)}.chat-resize,.chat-resize-placeholder,.ide-chat{display:none}.topbar-title-display h2{max-width:180px}.project-nav,.header-actions{flex-direction:column;align-items:stretch}}@media (width<=720px){.project-page{padding:18px}.create-form{flex-direction:column;grid-template-columns:1fr;align-items:stretch}.ide-shell{grid-template-rows:auto minmax(0,1fr);grid-template-columns:1fr}.ide-topbar{flex-direction:column;align-items:stretch;height:auto;display:flex}.topbar-view-switcher{align-self:center}.topbar-controls{justify-content:space-between}.topbar-title-display h2{max-width:150px}.panel-resize-handle,.ide-files{display:none}}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}
