/* Brixy · Obsidian glass. Limited blur, real contrast, one accent. */
:root{--g-bg:#08090a;--g-panel:rgba(255,255,255,.035);--g-border:rgba(255,255,255,.085);--g-text:#efeff3;--g-muted:#a2a3ae;--g-accent:#b9a2ea;--g-ease:cubic-bezier(.2,.8,.2,1);--g-shadow:inset 0 1px 0 #ffffff08,0 14px 45px #0003}
html{color-scheme:dark}html body{background:var(--g-bg);color:var(--g-text)}html body :is(.brixy-home,.chat-app,.legal-page,.payments-page,.admin-page,.support-page,.brixy-not-found){font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--g-text);background:radial-gradient(ellipse at 76% -10%,#69527d18,transparent 52%),radial-gradient(ellipse at 5% 100%,#23324418,transparent 50%),var(--g-bg)}
html body .chat-app{height:100dvh;gap:0;padding:0;position:relative;isolation:isolate;overflow:hidden;--purple:var(--g-accent)}html body .chat-app .chat-sidebar{display:flex;width:246px;margin:0;padding:22px 14px 16px;height:100%;border:0;border-right:1px solid #ffffff0a;border-radius:0;background:#ffffff02;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;z-index:25;transition:width 320ms var(--g-ease),transform 320ms var(--g-ease)}
html body .chat-app .sidebar-brand{padding:0 10px 22px;min-height:51px}html body .chat-app .sidebar-brand a{font-size:20px;font-weight:650;letter-spacing:-.65px;gap:8px}html body .chat-app .sidebar-logo{width:27px;height:27px;object-fit:contain}html body .chat-app .sidebar-brand a span{color:#beb5d2}html body .chat-app .new-project{height:43px;padding:0 12px;border:1px solid #ffffff18;background:#ededf0;color:#17171c;border-radius:11px;box-shadow:inset 0 1px 0 #fff5;font-size:13px;font-weight:600;transition:background 220ms,border-color 220ms,transform 220ms}html body .chat-app .new-project:hover{background:#fff;transform:translateY(-1px)}
.glass-sidebar-nav{display:grid;gap:3px;margin:15px 0 10px}.glass-sidebar-nav>button{display:flex;align-items:center;gap:10px;height:37px;padding:0 11px;border:1px solid transparent;border-radius:9px;background:none;color:#a5a3ae;font-size:13px;text-align:left}.glass-sidebar-nav>button:hover,.glass-sidebar-nav>button[aria-pressed=true]{background:#ffffff05;border-color:#ffffff08;color:#eeeaf5}.glass-sidebar-nav svg{flex-shrink:0}.glass-sidebar-nav kbd{margin-left:auto;opacity:.55;font-size:10px}.sidebar-search{display:flex;align-items:center;gap:7px;padding:8px 10px;border:1px solid #ffffff08;background:#ffffff02;border-radius:9px;color:#888491}.sidebar-search input{min-width:0;width:100%;border:0;background:none;color:#e1dce9;outline:none;font-size:12px}.sidebar-search:focus-within{border-color:#b9a2ea55}.sidebar-search input::placeholder{color:#888491}
html body .chat-app .sidebar-project-limit{padding:15px 10px 0;font-size:11px;color:#87838f}html body .chat-app .conversation-list{padding-top:12px;scrollbar-width:thin;scrollbar-color:#ffffff12 transparent}html body .chat-app .sidebar-project-group>h2{font-size:10px;text-transform:uppercase;letter-spacing:1.2px;color:#88848f;padding:9px 10px}html body .chat-app .conversation-item{border:1px solid transparent;border-radius:9px;margin-bottom:3px}html body .chat-app .conversation-item.selected{background:#ffffff06;border-color:#ffffff08}html body .chat-app .conversation-open{font-size:12px;padding:10px;color:#b7b3bf}html body .chat-app .conversation-item:hover{background:#ffffff04}html body .chat-app .project-options-toggle{opacity:.65}html body .chat-app .profile-credit-card{border:1px solid #ffffff08;background:#ffffff03;border-radius:12px;box-shadow:none;padding:12px;margin-top:15px}html body .chat-app .profile-credit-track{background:#ffffff04;border:0;height:5px}html body .chat-app .profile-credit-fill{box-shadow:none;background:#a38bbd}
html body .chat-app .chat-main{flex:1;min-width:0;border:0;background:none;box-shadow:none;padding:0;margin:0;height:100%;display:flex;flex-direction:column}html body .chat-app .chat-header{height:66px;min-height:66px;border:0;border-bottom:1px solid #ffffff06;border-radius:0;margin:0;padding:0 27px;background:transparent;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}html body .chat-app .chat-header>div:first-child{min-width:0;gap:12px}html body .chat-app .chat-header>div:first-child>span{max-width:300px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#a5a0ae;font-size:12px}html body .chat-app .header-docs-button{height:33px;padding:0 10px;display:inline-flex;align-items:center;gap:6px;font-size:12px;border:1px solid #ffffff08;border-radius:9px;background:#ffffff03;color:#b6b0c1;box-shadow:none}html body .chat-app .header-account{gap:8px}html body .chat-app .header-account .pro-header-link{background:#ffffff05;border:1px solid #ba9ed332;color:#d0b9e9!important;border-radius:9px;box-shadow:none;height:33px;font-size:12px}html body .chat-app .notifications-toggle{width:33px;height:33px;border:1px solid #ffffff08;border-radius:10px;background:#ffffff03;box-shadow:none}html body .chat-app .header-account .account-row{padding:2px;border:1px solid #ffffff16;background:#ffffff03;box-shadow:none}html body .chat-app .header-account .account-avatar{width:29px;height:29px}
html body .chat-app .chat-content{flex:1;display:flex;flex-direction:column;min-height:0;padding:0;overflow:hidden}html body .chat-app .chat-messages{width:100%;max-width:900px;margin:0 auto;padding:35px 35px 20px;flex:1;min-height:0;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#ffffff12 transparent;overscroll-behavior:contain;scroll-padding-bottom:24px}html body .chat-app .chat-message{max-width:100%;margin-bottom:30px;padding:0;border:0;box-shadow:none;background:none;animation:glass-rise 240ms var(--g-ease)}html body .chat-app .chat-message .message-label{display:block;font-size:11px;color:#93909c;margin-bottom:10px;letter-spacing:.02em}html body .chat-app .chat-message.user{align-self:flex-end;max-width:85%;margin-left:auto;padding:14px 17px;background:rgba(255,255,255,.045);border:1px solid #ffffff0d;border-radius:16px;box-shadow:inset 0 1px 0 #ffffff04}html body .chat-app .chat-message p{font-size:15px;line-height:1.8;color:#d5d2dd}html body .chat-app .chat-markdown{color:#d5d2dd;line-height:1.8}html body .chat-app .chat-markdown h1,html body .chat-app .chat-markdown h2,html body .chat-app .chat-markdown h3{color:#efedf4;font-weight:600;letter-spacing:-.03em}html body .chat-app .chat-markdown a{color:#cab0ed;text-decoration:underline}html body .chat-app .chat-markdown :not(pre)>code{color:#d0b2eb;background:#ffffff05;border:1px solid #ffffff09;padding:2px 5px;border-radius:5px;font-size:.85em}
html body .chat-app .chat-composer{width:100%;max-width:900px;flex-shrink:0;margin:0 auto;padding:14px 30px max(22px,env(safe-area-inset-bottom));background:none;border:0;position:relative;z-index:12}html body .chat-app .chat-composer .prompt-bar{width:100%}html body .chat-app .chat-composer .prompt-bar__field{padding:19px;border:1px solid #ffffff12;border-radius:21px;background:rgba(24,24,29,.8);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);box-shadow:inset 0 1px 0 #ffffff06,0 12px 45px #0004;transition:border-color 250ms,box-shadow 250ms}html body .chat-app .chat-composer .prompt-bar__field:focus-within{border-color:#b79ec655;box-shadow:inset 0 1px 0 #ffffff08,0 0 0 3px #b79ec606,0 12px 40px #0004}html body .chat-app .prompt-bar__input{font-size:14px;line-height:1.6;min-height:55px}html body .chat-app .prompt-bar__send{background:#e5dfed;color:#18151e;box-shadow:none}html body .chat-app .prompt-bar__send:hover{background:white}html body .chat-app .prompt-bar__menu{background:#1a1920ef;border:1px solid #ffffff12;box-shadow:var(--g-shadow),0 20px 60px #0008;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border-radius:16px;animation:glass-rise 240ms var(--g-ease)}html body .chat-app .studio-chat-lock{border:1px solid #ffffff0b;border-radius:11px;background:rgba(255,255,255,.025);color:#bdb2cc;font-size:12px;box-shadow:none;margin-bottom:10px}html body .chat-app .studio-task-status{background:#ffffff03;border:1px solid #ffffff0b;border-radius:12px;box-shadow:none}
.glass-drawer-backdrop{display:none}
.glass-dashboard{flex:1;min-height:0;width:100%;max-width:1000px;margin:0 auto;padding:36px 35px 15px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#ffffff12 transparent}.workspace-eyebrow{display:flex;align-items:center;gap:7px;font-size:10px;letter-spacing:1.4px;color:#8b8794;font-weight:550}.workspace-eyebrow>span{width:5px;height:5px;border-radius:50%;background:#a99abb}.workspace-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:15px 0 28px}.workspace-intro h1{font-size:clamp(25px,3vw,35px);letter-spacing:-1.3px;line-height:1.2;font-weight:550;color:#f0edf4;margin:0 0 10px}.workspace-intro p{font-size:13px;color:#99939f;line-height:1.5;margin:0}.workspace-command{display:flex;align-items:center;gap:8px;border:1px solid #ffffff10;background:rgba(255,255,255,.035);padding:9px;color:#a69cac;border-radius:10px}.workspace-command kbd{font-size:11px}.workspace-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:13px}.workspace-grid>section{border:1px solid #ffffff09;border-radius:17px;background:linear-gradient(145deg,#ffffff04,#ffffff02);padding:21px;box-shadow:inset 0 1px 0 #ffffff04;min-width:0;animation:glass-rise 300ms var(--g-ease)}.workspace-credits{grid-column:span 4}.workspace-plan{grid-column:span 2}.workspace-projects{grid-column:span 4;grid-row:span 2}.workspace-usage{grid-column:span 2}.workspace-models{grid-column:span 4}.workspace-shortcuts{grid-column:span 2}.bento-label{display:flex;align-items:center;gap:8px;font-size:12px;color:#a39ba9;line-height:1.4;margin-bottom:18px}.bento-label>a,.bento-label>span{margin-left:auto}.bento-label small{margin-left:auto;font-size:10px;color:#7f758d}.bento-number{display:flex;gap:10px;align-items:baseline;font-size:38px;line-height:1;font-weight:550;letter-spacing:-1.5px;color:#ede8f4}.bento-number small{font-weight:400;font-size:12px;color:#9a90a5;letter-spacing:0}.workspace-grid p{font-size:12px;line-height:1.6;color:#9c92a7}.workspace-plan>strong{font-size:19px;font-weight:550;color:#dfd1ed;letter-spacing:-.6px}.workspace-plan>a{display:flex;align-items:center;justify-content:space-between;font-size:12px;margin-top:18px;color:#c5adda}.workspace-credit-track{height:4px;border-radius:99px;background:#ffffff06;overflow:hidden;margin:22px 0 11px}.workspace-credit-track>span{display:block;height:100%;border-radius:inherit;background:#a390b9;transition:width 650ms var(--g-ease)}.workspace-projects>button{display:flex;gap:11px;align-items:center;width:100%;padding:12px 0;background:none;color:#ded7e6;border:0;border-bottom:1px solid #ffffff06;text-align:left;font-size:13px}.workspace-projects>button>span:nth-child(2){min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workspace-projects small{display:block;font-size:11px;color:#908498;margin-top:4px}.workspace-projects>button>svg{margin-left:auto;color:#8c7e95;flex-shrink:0}.workspace-project-icon{display:grid;place-items:center;width:33px;height:33px;border:1px solid #ffffff09;background:#ffffff04;border-radius:9px;color:#b8a0ce;flex-shrink:0}.workspace-projects .workspace-new{border:0;margin-top:11px;color:#c4aed7;font-size:12px;justify-content:center;padding:11px;border-radius:10px;background:#ffffff03}.workspace-empty{display:grid;place-items:center;padding:28px 0;color:#8e7c9e;text-align:center}.workspace-empty p{max-width:200px;margin-bottom:8px}.workspace-usage-meta{display:flex;flex-wrap:wrap;gap:9px;font-size:10px;color:#93849f;margin-top:18px}.workspace-model-list{display:grid;grid-template-columns:1fr 1fr;gap:8px}.workspace-model-list button{display:flex;align-items:center;gap:9px;padding:10px;border-radius:10px;border:1px solid #ffffff06;background:#ffffff02;color:#cfc7d9;text-align:left;min-width:0}.workspace-model-list img{width:22px;height:22px;object-fit:contain;flex-shrink:0}.workspace-model-list span{font-size:11px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workspace-model-list small{display:block;font-size:10px;letter-spacing:1px;color:#897996;margin-top:3px}.workspace-model-list svg{margin-left:auto;color:#887c91;flex-shrink:0}.workspace-model-list button[aria-pressed=true] svg{color:#cbb2e3}.workspace-shortcuts>a,.workspace-shortcuts>button{display:flex;align-items:center;gap:9px;margin:12px 0;padding:0;border:0;background:none;color:#bcaec8;font-size:11px;text-align:left;width:100%}.workspace-shortcuts small{display:block;font-size:10px;color:#9a8caa;line-height:1.5;margin-top:5px}.workspace-shortcuts>a>svg:last-child,.workspace-shortcuts>button>svg:last-child{margin-left:auto;flex-shrink:0}.glass-skeleton{width:65%;height:22px;background:#ffffff06;border-radius:8px;animation:glass-skeleton 1.8s ease-in-out infinite;margin:12px 0}.glass-skeleton:nth-child(2){width:40%}
html body .glass-command-dialog{position:fixed;inset:0;margin:15vh auto auto;width:min(590px,calc(100vw - 28px));max-height:70dvh;padding:0;border:1px solid #ffffff14;border-radius:21px;background:#18161df2;color:#e5deee;backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);box-shadow:inset 0 1px 0 #ffffff0c,0 30px 100px #0009;animation:glass-modal 260ms var(--g-ease)}.glass-command-dialog::backdrop{background:#0009;backdrop-filter:blur(7px)}.glass-command-dialog>header{display:flex;align-items:center;gap:11px;padding:18px 20px;border-bottom:1px solid #ffffff08;color:#a392b7}.glass-command-dialog input{flex:1;min-width:0;border:0;background:none;outline:none;color:#ece5f5;font:inherit;font-size:14px}.glass-command-dialog header>button{border:0;background:none;color:#9e8eaf;cursor:pointer;padding:6px}.glass-command-results{padding:8px;max-height:45dvh;overflow:auto}.glass-command-results>button{display:flex;align-items:center;gap:11px;width:100%;padding:13px;border:1px solid transparent;background:none;color:#c6bbd2;border-radius:10px;text-align:left;font-size:13px;cursor:pointer}.glass-command-results>button.is-selected{border-color:#ffffff09;background:rgba(255,255,255,.055);color:#eee7f7}.glass-command-results kbd{margin-left:auto;color:#9b87ae}.glass-command-results p{padding:14px;font-size:13px;color:#9a8da9}.glass-command-dialog footer{display:flex;gap:17px;padding:12px 20px;border-top:1px solid #ffffff08;font-size:10px;color:#9b8baa}
html body :is(.account-settings,.project-dialog,.premium-feature-dialog,.project-tools,.admin-action-dialog,.credit-gift-dialog,.support-finish-confirm){background:linear-gradient(140deg,#242129ed,#151319f5)!important;border:1px solid #ffffff16!important;box-shadow:inset 0 1px 0 #ffffff0e,0 30px 100px #0009!important;backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px);animation:glass-modal 280ms var(--g-ease)}html body dialog::backdrop{background:#050507b3;backdrop-filter:blur(6px)}html body .chat-app :is(.profile-popover,.notifications-panel,.project-options-menu){background:linear-gradient(140deg,#232027ef,#15131af7);border:1px solid #ffffff13;box-shadow:inset 0 1px 0 #ffffff09,0 20px 50px #0006;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);animation:glass-rise 230ms var(--g-ease)}html body .chat-app .profile-actions a,html body .chat-app .profile-actions>button{background:rgba(255,255,255,.025);border:1px solid #ffffff07;border-radius:10px;box-shadow:none}html body .chat-app .notifications-panel h2{font-weight:550;letter-spacing:-.5px}.notification-feed article{background:rgba(255,255,255,.025)!important;border-color:#ffffff08!important;box-shadow:none!important}html body .dashboard-alert{background:#231d29f5;border:1px solid #b995cb26;border-radius:14px;box-shadow:0 14px 40px #0005;font-size:13px;animation:glass-rise 250ms var(--g-ease)}
html body .brixy-activity{background:linear-gradient(110deg,rgba(255,255,255,.035),rgba(255,255,255,.015));border-color:#ffffff09;box-shadow:none;max-width:100%;border-radius:14px;padding:12px 15px}.brixy-activity .activity-mascot{width:46px;height:46px}html body .chat-app .brixy-activity .activity-mascot>img{width:46px;height:46px;max-width:46px}.brixy-activity p{font-size:13px;color:#c9b9d5}.activity-dots i{background:#b49acb}
.glass-code-block{border:1px solid #ffffff0d;border-radius:13px;overflow:hidden;margin:17px 0;background:#0b0b0e}.glass-code-block>header{display:flex;justify-content:space-between;align-items:center;padding:10px 14px;border-bottom:1px solid #ffffff09;background:#ffffff02;color:#95859f;font-size:11px}.glass-code-block button{display:flex;gap:6px;align-items:center;border:0;background:none;color:#b2a1c0;font-size:11px;cursor:pointer}.chat-markdown .glass-code-block pre{padding:16px;margin:0;background:none;border:0;border-radius:0;overflow:auto;font-size:12px;line-height:1.75;scrollbar-width:thin;scrollbar-color:#ffffff12 transparent}.glass-code-block code{font-family:"SFMono-Regular",Consolas,"Liberation Mono",monospace;white-space:pre;color:#d4c7df}.syntax-comment{color:#7e8c8b}.syntax-string{color:#b0c6a0}.syntax-number{color:#deb78c}.syntax-keyword{color:#bc9fdb}
html body .brixy-home .page-background{background:radial-gradient(ellipse at 25% 25%,#77537c25,transparent 45%),radial-gradient(ellipse at 80% 40%,#30415822,transparent 55%),#08090a}.brixy-home .page-background canvas{display:none!important}html body .brixy-home::after{background:linear-gradient(180deg,#08090a11,#08090ab3);pointer-events:none}html body .brixy-home .home-nav{height:64px;border-color:#ffffff12;border-radius:99px;background:#17161dbb;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);box-shadow:var(--g-shadow);max-width:920px;width:calc(100% - 48px);padding:0 24px}html body .brixy-home .hero h1{font-weight:550;letter-spacing:-.065em;line-height:1.08;color:#efeaf5}html body .brixy-home .hero h1 span{color:#b4a4c3}html body .brixy-home .hero p{color:#aaa2b4;font-size:16px}html body .brixy-home :is(.plan-card,.faq-item,.plan-comparison){border-color:#ffffff0d;background:linear-gradient(145deg,rgba(255,255,255,.035),rgba(255,255,255,.015));box-shadow:inset 0 1px 0 #ffffff06;backdrop-filter:none;-webkit-backdrop-filter:none}html body .brixy-home .plan-pro{border-color:#b49bc333;background:linear-gradient(145deg,#9a7cb508,rgba(255,255,255,.015))}html body .brixy-home .plan-price strong{font-weight:550;letter-spacing:-.05em}html body .brixy-home .plan-button{background:#e8e2ee;border:1px solid #ffffff15;color:#201824;box-shadow:none;border-radius:12px}html body .brixy-home footer{background:rgba(255,255,255,.015);border-color:#ffffff08;border-radius:18px;box-shadow:none;backdrop-filter:none}html body .uiverse-button{background:#e8e2ee;color:#17141c;box-shadow:none;border-color:#ffffff15}html body .uiverse-button-shadow{opacity:.15}
html body :is(.legal-page,.payments-page,.admin-page,.support-page){background:radial-gradient(ellipse at 70% -10%,#866b9813,transparent 50%),#08090a}html body :is(.admin-panel,.admin-stat,.admin-overview-grid>article,.docs-card,.payments-panel,.legal-page article,.feature-card){border-color:#ffffff0d;background:linear-gradient(145deg,rgba(255,255,255,.035),rgba(255,255,255,.015));box-shadow:inset 0 1px 0 #ffffff04;backdrop-filter:none;-webkit-backdrop-filter:none;border-radius:17px}html body :is(.admin-sidebar,.support-sidebar){background:#ffffff02;border-color:#ffffff0a;box-shadow:none;backdrop-filter:none}html body .admin-header{background:none;border-color:#ffffff08;box-shadow:none}html body .admin-sidebar button[aria-current],html body .admin-sidebar button.active{background:#ffffff06;border-color:#ffffff0b;color:#d6c3e7}html body .admin-primary,html body .payments-panel .pix-checkout button{background:#e8e1ef;color:#211a28;border-color:#ffffff12;box-shadow:none}html body .payments-nav .wordmark{font-weight:600}.payments-main h1{font-weight:550;color:#f1eaf7}.payments-tag{color:#b69acb}.payments-page .payments-panel{background:rgba(255,255,255,.025);border-color:#ffffff10;box-shadow:inset 0 1px 0 #ffffff08,0 20px 55px #0003}.payments-page .pix-checkout input{background:rgba(255,255,255,.025);border-color:#ffffff0b}.payments-page .pix-checkout input:focus-visible{outline:2px solid #b296c855}.payments-page .payments-price strong{font-weight:550}.payments-benefits svg{color:#b69acb}.payments-trust{border-color:#ffffff08}html body .docs-topbar{background:rgba(255,255,255,.025);border-color:#ffffff08;box-shadow:none;backdrop-filter:blur(14px)}html body .docs-card:hover{border-color:#b196c52e;transform:translateY(-1px);background:#ffffff05}html body .support-conversation{background:none;border-color:#ffffff0c;box-shadow:none}html body .support-messages article{background:none;border-color:#ffffff0c;box-shadow:none}html body .support-messages article.own{background:#ffffff04;border:1px solid #ffffff0a;border-radius:14px}html body .support-conversation>header{background:#ffffff02;border-color:#ffffff0b}html body .support-conversation form{background:#19161fbb;border-color:#ffffff0f;box-shadow:var(--g-shadow);border-radius:17px}html body .support-conversation form button{background:#e5ddec;color:#1d1725}
html body :is(.chat-app,.glass-dashboard,.glass-command-dialog,.payments-page,.admin-page,.docs-page) :is(button,a,input,select,summary):focus-visible{outline:2px solid #c2a8d8;outline-offset:3px}html body :is(.glass-sidebar-nav,.workspace-grid,.glass-command-results) button:disabled{opacity:.45;cursor:not-allowed}.workspace-grid button:hover,.workspace-grid a:hover{filter:brightness(1.12)}html body :is(.project-dialog,.account-settings,.premium-feature-dialog) button{transition:background 220ms,border-color 220ms,transform 220ms}.glass-code-block button:hover{color:#fff}html body .chat-app .chat-welcome{min-height:0;justify-content:center;padding:36px 24px!important}html body .chat-app .chat-welcome h1{font-size:30px;font-weight:550;letter-spacing:-1px}html body .chat-app .chat-welcome .welcome-symbol{width:48px;height:48px;margin-bottom:23px;border:1px solid #ffffff09;border-radius:15px;background:#ffffff03;box-shadow:none}html body .chat-app .chat-welcome .welcome-symbol img{width:32px;height:32px}
@keyframes glass-rise{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@keyframes glass-modal{from{opacity:0;transform:translateY(5px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes glass-skeleton{50%{opacity:.35}}
@media(min-width:1200px){.glass-dashboard{padding-top:45px}.workspace-grid{gap:15px}.workspace-grid>section{padding:23px}.workspace-intro{margin-bottom:32px}}
@media(max-width:1000px){.workspace-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.workspace-credits,.workspace-plan,.workspace-usage,.workspace-shortcuts{grid-column:span 2}.workspace-projects,.workspace-models{grid-column:span 4}.workspace-projects{grid-row:auto}.glass-dashboard{padding:27px 25px 15px}.workspace-intro h1{font-size:27px}}
@media(max-width:700px){html body .chat-app .chat-sidebar{position:fixed;inset:0 auto 0 0;width:min(290px,86vw);height:100dvh;margin:0;padding:22px 15px max(18px,env(safe-area-inset-bottom));border-radius:0;background:#111015f7;box-shadow:30px 0 80px #0008;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);z-index:55}html body .chat-app.sidebar-collapsed .chat-sidebar{display:none}.glass-drawer-backdrop{display:block;position:fixed;inset:0;border:0;background:#0008;z-index:54;backdrop-filter:blur(3px)}html body .chat-app .chat-header{height:58px;min-height:58px;padding:0 13px}html body .chat-app .chat-header>div:first-child>span{max-width:110px;font-size:11px}html body .chat-app .header-account{gap:5px;margin-left:8px}html body .chat-app .header-docs-button{padding:0 7px;font-size:10px;gap:4px}html body .chat-app .header-docs-button svg{width:14px}html body .chat-app .header-account .pro-header-link{padding:0 8px;font-size:10px}html body .chat-app .chat-messages{padding:23px 18px 10px}html body .chat-app .chat-message.user{max-width:94%;padding:12px 14px}.glass-dashboard{padding:26px 18px 15px}.workspace-intro{margin:15px 0 23px}.workspace-intro h1{font-size:26px;letter-spacing:-1px}.workspace-intro p{font-size:12px}.workspace-command{padding:8px}.workspace-command kbd{display:none}.workspace-grid{gap:10px}.workspace-grid>section{padding:17px;border-radius:14px}.workspace-model-list{grid-template-columns:1fr 1fr}.bento-number{font-size:30px}.bento-label{font-size:10px}.bento-label small{display:none}.workspace-plan>strong{font-size:17px}html body .chat-app .chat-composer{padding:10px 12px max(12px,env(safe-area-inset-bottom))}html body .chat-app .chat-composer .prompt-bar__field{padding:14px;border-radius:18px;background:#17151df2;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}html body .chat-app .prompt-bar__input{font-size:16px;min-height:47px}html body .chat-app .prompt-bar__menu{position:fixed;bottom:max(12px,env(safe-area-inset-bottom));left:10px;right:10px;width:auto!important;max-width:none;border-radius:20px;max-height:65dvh;overflow-y:auto;padding:9px;z-index:60;box-shadow:0 -20px 80px #000b}html body .chat-app .prompt-bar__menu button{min-height:42px}html body .chat-app .notifications-panel{position:fixed;left:10px;right:10px;top:auto;bottom:max(12px,env(safe-area-inset-bottom));width:auto;max-height:80dvh;border-radius:22px;z-index:65}html body .glass-command-dialog{margin:auto auto max(12px,env(safe-area-inset-bottom));max-height:75dvh;width:calc(100vw - 20px);border-radius:22px}.glass-command-results{max-height:50dvh}.glass-command-results>button{min-height:46px}.glass-command-dialog input{font-size:16px}html body .brixy-home .home-nav{width:calc(100% - 24px);padding:0 16px;height:58px;gap:15px}.brixy-home .home-nav nav{gap:14px!important}html body .brixy-home .hero h1{font-size:clamp(36px,9vw,64px)}html body .chat-app .profile-popover{position:fixed;bottom:max(12px,env(safe-area-inset-bottom));top:auto;left:10px;right:10px;width:auto;max-height:80dvh;overflow-y:auto;border-radius:21px;z-index:65}}
@media(max-width:390px){html body .chat-app .chat-header>div:first-child>span{max-width:70px}.workspace-model-list{grid-template-columns:1fr}.workspace-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-projects,.workspace-models{grid-column:span 2}.workspace-credits,.workspace-plan,.workspace-usage,.workspace-shortcuts{grid-column:span 2}.workspace-intro h1{font-size:24px}.chat-header .header-docs-button:first-child{font-size:0}.chat-header .header-docs-button:first-child svg{width:16px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}.glass-skeleton{opacity:.65}}
@media(prefers-reduced-transparency:reduce){html body .chat-app .prompt-bar__field,html body dialog,html body .notifications-panel,html body .profile-popover{backdrop-filter:none;-webkit-backdrop-filter:none;background:#18151e!important}}
@supports not (backdrop-filter:blur(1px)){html body .chat-app .chat-composer .prompt-bar__field,html body dialog{background:#19161f!important}}
.activity-body{min-width:0}.activity-stages{display:flex;flex-wrap:wrap;gap:5px;margin-top:9px}.activity-stages>span{display:inline-flex;align-items:center;gap:4px;padding:4px 7px;border:1px solid #ffffff05;background:#ffffff02;border-radius:6px;font-size:10px;color:#8f829e;animation:glass-rise 230ms var(--g-ease)}.activity-stages>span.is-current{border-color:#b39dc022;color:#c8b4dc;background:#b39dc006}.activity-done .activity-mascot img{animation:none}.activity-done .activity-mascot>span{background:#8dac99}.activity-done .activity-heading>svg{color:#9db6a8}.chat-app .chat-header:has(.header-account){position:relative}.workspace-model-list button{transition:border-color 220ms,background 220ms}.workspace-model-list button:hover{border-color:#ffffff15}.workspace-model-list button:focus-visible{outline:2px solid #baa1d0;outline-offset:2px}

.gui-theme-wrap{width:100%;max-width:900px;margin:0 auto 10px;position:relative;z-index:32}
.gui-theme-picker{position:relative;width:max-content}
.gui-theme-picker summary{list-style:none;display:flex;align-items:center;gap:8px;padding:8px 11px;border:1px solid #ffffff12;border-radius:11px;background:#ffffff04;color:#a89caf;font-size:12px;cursor:pointer;box-shadow:inset 0 1px 0 #ffffff08;transition:background 220ms,border-color 220ms}
.gui-theme-picker summary::-webkit-details-marker{display:none}
.gui-theme-picker summary:hover,.gui-theme-picker[open] summary{background:#ffffff08;border-color:#bda2d33b}
.gui-theme-picker summary[aria-disabled=true]{opacity:.5;cursor:default}
.gui-theme-prefix{color:#89838f;padding-right:8px;border-right:1px solid #ffffff14}
.gui-theme-selected{color:#ded7e5}
.gui-theme-picker[open] summary>svg:last-child{transform:rotate(180deg)}
.gui-theme-menu{position:absolute;bottom:calc(100% + 10px);left:0;width:min(310px,calc(100vw - 32px));max-height:min(470px,65dvh);overflow-y:auto;padding:7px;border:1px solid #ffffff18;border-radius:17px;background:#19161ff5;backdrop-filter:blur(22px);box-shadow:inset 0 1px 0 #ffffff0a,0 16px 50px #0009;animation:glass-rise 220ms ease}
.gui-theme-menu header{padding:10px 10px 13px}
.gui-theme-menu header>span{font-size:10px;letter-spacing:1.3px;color:#aaa0b4}
.gui-theme-menu header small{display:block;color:#92899c;font-size:12px;margin-top:5px}
.gui-theme-menu button{display:flex;width:100%;align-items:center;gap:11px;border:1px solid transparent;background:none;color:#d9d2e1;padding:10px;border-radius:11px;text-align:left;cursor:pointer;transition:background 220ms,border-color 220ms}
.gui-theme-menu button:hover{background:#ffffff06}
.gui-theme-menu button[aria-pressed=true]{background:#c9a8e70b;border-color:#c9a8e723}
.gui-theme-icon{width:33px;height:33px;display:grid;place-items:center;border-radius:9px;background:#ffffff05;border:1px solid #ffffff09;color:#b3a0c3;flex-shrink:0}
.gui-theme-menu strong{display:block;font-size:13px;font-weight:500}
.gui-theme-menu button small{display:block;font-size:12px;line-height:1.4;margin-top:4px;color:#aaa1b1}
.gui-theme-menu button>svg{margin-left:auto;color:#bfa7d1;flex-shrink:0}
.gui-theme-picker summary:focus-visible,.gui-theme-menu button:focus-visible{outline:2px solid #c2a8d8;outline-offset:2px}
@media(prefers-reduced-motion:reduce){.gui-theme-menu{animation:none}.gui-theme-picker summary,.gui-theme-menu button{transition:none}}

.gui-mode-toolbar{display:flex;align-items:center;gap:12px;max-width:900px;width:100%;margin:0 auto 10px}.gui-mode-toolbar .gui-theme-wrap{width:auto;margin:0}.gui-mode-control{display:flex;align-items:center;gap:8px;margin-left:auto;color:#a59aac;font-size:12px}.gui-mode-control small{font-size:10px;width:43px;color:#92899b}.gui-mode-control button{width:35px;height:21px;padding:3px;border:1px solid #ffffff18;border-radius:99px;background:#ffffff0a;cursor:pointer;transition:background 220ms,border-color 220ms}.gui-mode-control button>span{display:block;width:13px;height:13px;border-radius:50%;background:#afa7b7;transition:transform 220ms,background 220ms}.gui-mode-control button[aria-checked=true]{background:#9b78b866;border-color:#c1a0dd55}.gui-mode-control button[aria-checked=true]>span{transform:translateX(13px);background:#eadbf7}.gui-mode-control button:focus-visible{outline:2px solid #c2a8d8;outline-offset:3px}.gui-mode-control button:disabled{opacity:.5;cursor:default}.generated-gui-result{margin-top:15px}.generated-gui-result img{display:block;max-width:100%;max-height:600px;border:1px solid #ffffff14;border-radius:15px;background-color:#18151d;background-image:linear-gradient(45deg,#ffffff05 25%,transparent 25%),linear-gradient(-45deg,#ffffff05 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#ffffff05 75%),linear-gradient(-45deg,transparent 75%,#ffffff05 75%);background-size:20px 20px;background-position:0 0,0 10px,10px -10px,-10px 0}.generated-gui-result a{display:inline-block;margin-top:12px;color:#ccb7e0;font-size:13px;padding:8px 12px;border:1px solid #ffffff18;border-radius:10px}.gui-mode-toolbar+.studio-chat-lock{display:none}@media(max-width:400px){.gui-mode-control>span{font-size:10px}.gui-mode-toolbar{gap:7px}.gui-mode-control{gap:5px}}@media(prefers-reduced-motion:reduce){.gui-mode-control button,.gui-mode-control button>span{transition:none}}

.studio-pair-lock{display:flex;align-items:center;gap:14px;width:100%;max-width:900px;margin:0 auto 16px;padding:18px 20px;background:#ffffff04;border:1px solid #ffffff12;border-radius:17px;box-shadow:inset 0 1px 0 #ffffff07}
.studio-pair-lock-icon{width:42px;height:42px;display:grid;place-items:center;flex-shrink:0;border-radius:13px;background:#b89ad30a;border:1px solid #b89ad322;color:#b6a0c9}
.studio-pair-lock strong{display:block;font-size:14px;font-weight:550;color:#e5dfeb}
.studio-pair-lock p{font-size:12px;line-height:1.5;color:#a49bad;margin:5px 0 0}
.studio-pair-lock button{display:flex;align-items:center;justify-content:center;gap:7px;flex-shrink:0;margin-left:auto;border:1px solid #ffffff15;background:#e5ddec;color:#251e2c;border-radius:10px;padding:10px 13px;font-size:12px;font-weight:550;cursor:pointer;transition:filter 220ms,transform 220ms}
.studio-pair-lock button:hover{filter:brightness(1.07);transform:translateY(-1px)}
@media(max-width:600px){.studio-pair-lock{flex-wrap:wrap;padding:16px;gap:11px}.studio-pair-lock>div{flex:1;min-width:180px}.studio-pair-lock button{width:100%;margin-left:0;min-height:40px}}

.prompt-bar__field .studio-pair-lock{max-width:none;margin:0;min-height:130px;background:none;border:0;box-shadow:none;padding:22px 12px}

.agent-composer-options{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:10px}.agent-composer-options .gui-theme-wrap{margin:0}.agent-composer-options label{display:flex;gap:7px;align-items:center;font-size:12px;color:#a8a4b2}.agent-composer-options select,.agent-composer-options input{border:1px solid #ffffff12;border-radius:9px;background:#131319;color:#eae6f0;padding:7px;font:inherit}.agent-composer-options input{width:58px}.agent-steps{width:100%;max-width:850px;margin:22px auto;padding:20px;border:1px solid #ffffff12;border-radius:20px;background:#ffffff04;box-shadow:inset 0 1px 0 #ffffff08;text-align:left}.agent-steps header{display:flex;align-items:center;gap:12px}.agent-steps header img{width:40px;height:40px;object-fit:contain}.agent-steps header strong{font-size:14px}.agent-steps header strong span{font-size:10px;color:#b3a4cb;margin-left:6px}.agent-steps header p{font-size:12px;color:#b8adc9;margin:4px 0}.agent-steps header>small{margin-left:auto;color:#97919f;font-size:11px}.agent-steps details>summary{cursor:pointer;font-size:13px;color:#d2cadc;display:flex;gap:10px;align-items:center;padding:10px 0}.agent-steps details>summary small{color:#8f869b;margin-left:auto;font-size:10px}.agent-steps details pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;line-height:1.6;max-height:240px;overflow:auto;color:#aaa1b9}.agent-step-list{list-style:none;padding:0;margin:12px 0}.agent-step-list li{display:flex;gap:10px;border-bottom:1px solid #ffffff07}.agent-step-list details{flex:1;min-width:0}.agent-step-icon{padding-top:11px;color:#bda7dc}.agent-step-list [data-state=running] .agent-step-icon svg{animation:spin 1.2s linear infinite}.agent-step-list [data-state=failed] .agent-step-icon{color:#e8a4a4}.agent-summary,.agent-plugin-review{white-space:pre-wrap;line-height:1.6;color:#b9b0c5;font-size:13px}.agent-steps footer{display:flex;gap:10px;flex-wrap:wrap}.agent-steps footer button{display:flex;gap:6px;align-items:center;border:1px solid #ffffff18;background:#ffffff08;color:#e5dbee;padding:9px 13px;border-radius:10px;cursor:pointer;font-size:12px;transition:background 220ms}.agent-steps footer button:hover{background:#ffffff12}.agent-steps footer button:disabled{opacity:.45;cursor:default}.agent-error{color:#edb5b5;font-size:12px}.agent-steps button:focus-visible,.agent-composer-options :focus-visible{outline:2px solid #bda7dc;outline-offset:3px}@media(max-width:600px){.agent-steps{padding:15px}.agent-steps header>small{font-size:10px}.agent-composer-options{gap:8px}.agent-steps footer button{min-height:42px}}@media(prefers-reduced-motion:reduce){.agent-step-list [data-state=running] .agent-step-icon svg{animation:none}}

.pix-countdown { display:flex; justify-content:center; align-items:center; gap:10px; color:#b9b5c7; font-size:13px; }
.pix-countdown strong { font-variant-numeric:tabular-nums; color:#eee8ff; background:rgba(139,92,246,.12); border:1px solid rgba(167,139,250,.2); padding:6px 10px; border-radius:10px; }
/* Brixy execution: decorative motion, authoritative counters. */
.brixy-execution{--activity:#b8a1ff;position:relative;isolation:isolate;overflow:hidden;max-width:760px;margin:12px 0;padding:20px;border:1px solid #ffffff10;border-radius:20px;background:linear-gradient(120deg,#ffffff05,#ffffff02),#0d0e13e8;box-shadow:inset 0 1px #ffffff07,0 12px 35px #00000016;backdrop-filter:blur(14px);text-align:left}.brixy-execution[data-phase=applying]{--activity:#92bbf4}.brixy-execution[data-phase=testing],.brixy-execution[data-phase=validating]{--activity:#96d1c0}.brixy-execution[data-phase=done]{--activity:#87c9a4}.brixy-execution[data-phase=error]{--activity:#e9a2a2}.brixy-execution[data-phase=cancelled],.brixy-execution[data-phase=paused],.brixy-execution[data-phase=approval]{--activity:#aea6bc}.execution-header{position:relative;display:flex;align-items:center;gap:12px}.execution-emblem{height:42px;width:42px;border:1px solid #ffffff0f;background:#ffffff05;border-radius:13px;display:grid;place-items:center;color:var(--activity);flex:none}.execution-equalizer{display:flex;gap:4px;align-items:center;height:20px}.execution-equalizer i{width:3px;height:18px;border-radius:2px;background:var(--activity);transform-origin:center;animation:brixy-bars 1.2s ease-in-out infinite}.execution-equalizer i:nth-child(2){animation-delay:-.35s}.execution-equalizer i:nth-child(3){animation-delay:-.7s}.execution-heading{flex:1;min-width:0}.execution-heading strong{font-size:12px;letter-spacing:.12em;color:#eceaf2}.execution-heading strong span{font-size:9px;font-weight:500;letter-spacing:.08em;margin-left:8px;color:#92889f}.execution-heading p{display:flex;align-items:center;gap:7px;margin:6px 0 0;color:#c1bacd;font-size:12px}.execution-pulse{width:5px;height:5px;border-radius:50%;background:var(--activity);flex:none}.brixy-execution[data-live=true] .execution-pulse{animation:brixy-pulse 1.8s ease-in-out infinite}.execution-clock{display:flex;gap:7px;align-items:center;font-size:12px;color:#a7a0b4;font-variant-numeric:tabular-nums;flex:none}.execution-digits{display:flex}.execution-digit{position:relative;width:.68em;height:1.2em;overflow:hidden}.execution-digit span{display:block}.execution-metrics{display:flex;justify-content:space-between;gap:12px;margin-top:20px;font-size:11px;color:#948b9e}.execution-progress{height:3px;overflow:hidden;border-radius:3px;background:#ffffff0a;margin-top:8px}.execution-progress>div{height:100%;width:100%;background:var(--activity);transform-origin:left;border-radius:3px}.execution-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:12px;font-size:10px;color:#8d8399}.execution-disclosure{background:none;border:0;color:#b3a8c5;font-size:11px;padding:5px 0;display:flex;align-items:center;gap:6px;cursor:pointer}.execution-disclosure>span{display:flex}.execution-details{overflow:hidden}.execution-details-inner{padding-top:15px;border-top:1px solid #ffffff08;margin-top:12px}.execution-plan strong{font-size:12px;color:#bbb1cc}.execution-plan ol{padding-left:20px;font-size:12px;color:#a69bb7;line-height:1.8}.execution-step-list{list-style:none;padding:0;margin:12px 0}.execution-step-list>li{display:flex;gap:10px;padding:8px 0;border-bottom:1px solid #ffffff06}.execution-step-marker{color:#9384b2;padding-top:3px;flex:none}.execution-step-list [data-state=failed] .execution-step-marker{color:#e9a2a2}.execution-step-list details{flex:1;min-width:0}.execution-step-list summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;gap:12px;font-size:12px;color:#c0b6ce}.execution-step-list summary::-webkit-details-marker{display:none}.execution-step-list small{display:block;margin-top:3px;font-size:10px;color:#8f829e}.execution-step-list time{font-size:10px;color:#9d90aa;white-space:nowrap}.execution-step-list pre{font-size:11px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;color:#b1a4bd;max-height:250px;overflow:auto;background:#00000018;padding:12px;border-radius:9px}.execution-report{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.6;color:#b6aac4}.execution-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.execution-actions:empty{display:none}.execution-actions button{display:flex;align-items:center;gap:6px;padding:8px 11px;border-radius:9px;border:1px solid #ffffff12;background:#ffffff06;color:#cec2de;font-size:11px;cursor:pointer;transition:background .22s,border-color .22s}.execution-actions button:hover{background:#ffffff0d;border-color:#ffffff20}.execution-actions button:disabled{opacity:.45;cursor:wait}.execution-stop{margin-left:auto}.execution-notice,.execution-error{display:flex;align-items:center;gap:8px;font-size:12px;line-height:1.5;color:#b2a5c1}.execution-error{color:#e4aeae}.execution-notice svg,.execution-error svg{flex:none}.execution-trace{position:absolute;z-index:-1;right:20px;top:8px;width:140px;opacity:.1;mask-image:linear-gradient(to right,transparent,#000);pointer-events:none;font:9px/1.9 ui-monospace,monospace;color:var(--activity)}.execution-trace span{display:block;white-space:nowrap}.execution-trace i{font-style:normal}.brixy-execution[data-live=true] .execution-trace span{animation:brixy-trace 3s ease-in-out infinite}.execution-trace span:nth-child(2){animation-delay:-1s}.execution-trace span:nth-child(3){animation-delay:-2s}.brixy-execution button:focus-visible,.execution-step-list summary:focus-visible{outline:2px solid var(--activity);outline-offset:4px}@keyframes brixy-bars{0%,100%{transform:scaleY(.3)}50%{transform:scaleY(1)}}@keyframes brixy-pulse{0%,100%{opacity:.4;box-shadow:0 0 0 0 #b8a1ff00}50%{opacity:1;box-shadow:0 0 8px 2px #b8a1ff22}}@keyframes brixy-trace{0%,100%{opacity:.3;transform:translateY(3px)}50%{opacity:1;transform:translateY(-3px)}}@media(max-width:600px){.brixy-execution{padding:15px;border-radius:16px;backdrop-filter:none}.execution-heading strong span{display:none}.execution-heading p{font-size:11px}.execution-disclosure,.execution-actions button{min-height:42px}.execution-metrics{font-size:10px}.execution-emblem{width:36px;height:36px}.execution-clock{gap:4px;font-size:11px}}@media(prefers-reduced-motion:reduce){.execution-equalizer i,.brixy-execution[data-live=true] .execution-pulse,.brixy-execution[data-live=true] .execution-trace span{animation:none!important}.execution-actions button{transition:none}}

.execution-sync{display:flex;animation:brixy-sync 1.5s ease-in-out infinite}@keyframes brixy-sync{0%,100%{opacity:.5;transform:scale(.96)}50%{opacity:1;transform:scale(1)}}@media(prefers-reduced-motion:reduce){.execution-sync{animation:none}}

/* Sidebar entry and exit: keep the surface mounted throughout the transition. */
html body .chat-app .chat-sidebar{overflow:hidden;min-width:0;opacity:1;transform:translateX(0);transition:width 320ms var(--g-ease),padding 320ms var(--g-ease),opacity 240ms ease,transform 320ms var(--g-ease),border-color 240ms ease;}
html body .chat-app .chat-sidebar>:is(.sidebar-brand,.new-project,.sidebar-project-limit,.conversation-list,.profile-credit-card){min-width:218px;transition:opacity 220ms ease,transform 320ms var(--g-ease);}
html body .chat-app.sidebar-collapsed .chat-sidebar{display:flex;width:0;padding-left:0;padding-right:0;border-right-color:transparent;opacity:0;pointer-events:none;}
html body .chat-app.sidebar-collapsed .chat-sidebar>*{opacity:0;transform:translateX(-12px);}
@media(max-width:700px){
 html body .chat-app .chat-sidebar,html body .chat-app.sidebar-collapsed .chat-sidebar{display:flex;width:min(290px,86vw);padding:22px 15px max(18px,env(safe-area-inset-bottom));transition:transform 320ms var(--g-ease),opacity 240ms ease;}
 html body .chat-app.sidebar-collapsed .chat-sidebar{transform:translateX(-100%);opacity:0;pointer-events:none;}
 html body .chat-app .glass-drawer-backdrop{display:block;opacity:1;transition:opacity 280ms ease,visibility 0s;}
 html body .chat-app.sidebar-collapsed .glass-drawer-backdrop{opacity:0;visibility:hidden;pointer-events:none;transition:opacity 280ms ease,visibility 0s 280ms;}
}
@media(prefers-reduced-motion:reduce){html body .chat-app .chat-sidebar,html body .chat-app .chat-sidebar>*,html body .chat-app .glass-drawer-backdrop{transition:none!important;}}


html body .chat-app.project-workspace{display:grid;grid-template-columns:10% 60% 30%;gap:0}html body .chat-app.project-workspace .chat-sidebar{width:100%;padding:20px 10px;opacity:1;pointer-events:auto;border-right:1px solid #ffffff0c;transform:none}html body .chat-app.project-workspace .chat-sidebar>*{min-width:0;transform:none;opacity:1}html body .chat-app.project-workspace.sidebar-collapsed .sidebar-brand{justify-content:center;padding:0 0 22px}html body .chat-app.project-workspace.sidebar-collapsed .sidebar-brand a{font-size:0;gap:0}html body .chat-app.project-workspace.sidebar-collapsed .sidebar-brand a span,html body .chat-app.project-workspace.sidebar-collapsed .sidebar-brand button,html body .chat-app.project-workspace.sidebar-collapsed .conversation-list{display:none}html body .chat-app.project-workspace.sidebar-collapsed .new-project{font-size:0;justify-content:center;padding:0}html body .chat-app.project-workspace.sidebar-collapsed .profile-credit-card{margin-top:auto;padding:9px;font-size:11px}html body .chat-app.project-workspace .chat-main{min-width:0;border-left:1px solid #ffffff0d}html body .chat-app.project-workspace .chat-header{padding:0 10px;flex-wrap:wrap;height:auto;min-height:76px;gap:8px}html body .chat-app.project-workspace .header-account{gap:4px;margin-left:0}html body .chat-app.project-workspace .chat-messages{padding:22px 16px}html body .chat-app.project-workspace .chat-composer{padding:12px}html body .chat-app.project-workspace .chat-welcome h1{font-size:24px}html body .chat-app.project-workspace .chat-message.user{max-width:100%;margin-left:0}html body .chat-app.project-workspace .brixy-execution{padding:14px}.game-tree-panel{display:flex;flex-direction:column;min-width:0;min-height:0;overflow:hidden;background:#0b0c0e;color:#c7c2cf;font-family:system-ui}.game-tree-panel>header{height:65px;padding:0 22px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #ffffff09}.game-tree-panel header>div{display:flex;gap:10px;align-items:center;font-size:13px}.game-tree-panel header span{font-size:11px;color:#817888}.game-tree-panel header span.connected{color:#86bba1}.game-tree-panel button{border:0;background:none;color:inherit}.game-tree-panel header>button{padding:8px;border-radius:8px}.game-tree-search{display:flex;gap:9px;margin:18px 20px;padding:10px 12px;border:1px solid #ffffff0d;background:#ffffff03;border-radius:11px}.game-tree-search input{background:none;color:#dfd8e8;border:0;outline:none;width:100%;font:inherit;font-size:13px}.game-tree-scroll{flex:1;min-height:0;overflow:auto;scrollbar-width:thin;scrollbar-color:#ffffff15 transparent;padding:0 8px 20px}.game-tree-scroll ul{list-style:none;margin:0;padding:0}.game-tree-row{display:flex;align-items:center;gap:8px;min-height:34px;width:100%;text-align:left;padding-right:12px!important;font-size:12px!important;white-space:nowrap;border-radius:6px}.game-tree-row:hover{background:#ffffff05}.game-tree-row>span{overflow:hidden;text-overflow:ellipsis}.game-tree-row svg{flex-shrink:0;color:#9c8bb0;transition:transform 200ms}.game-tree-row small{color:#6f687a;margin-left:auto;font-size:10px}.game-tree-empty{text-align:center;margin:15vh auto;max-width:300px;padding:20px}.game-tree-empty h2{font-size:20px;font-weight:500}.game-tree-empty p{font-size:13px;line-height:1.7;color:#8b8296}.game-tree-empty button{background:#e3d8ed;padding:11px 18px;border-radius:10px;color:#241a2b}.game-tree-panel footer{padding:12px 22px;border-top:1px solid #ffffff08;font-size:11px;color:#81768c}.game-tree-error{font-size:12px;color:#d8a1a1;padding:0 20px}.game-tree-panel button:focus-visible{outline:2px solid #ba9cd3;outline-offset:2px}@media(max-width:1100px) and (min-width:701px){html body .chat-app.project-workspace{grid-template-columns:10% 45% 45%}}@media(max-width:700px){html body .chat-app.project-workspace{display:flex;flex-direction:column}html body .chat-app.project-workspace .game-tree-panel{height:35dvh;flex-shrink:0}html body .chat-app.project-workspace .chat-main{flex:1;min-height:0}html body .chat-app.project-workspace .chat-sidebar{width:min(290px,86vw)}html body .chat-app.project-workspace.sidebar-collapsed .chat-sidebar{transform:translateX(-100%);opacity:0;pointer-events:none}html body .chat-app.project-workspace .chat-sidebar>*{min-width:0}.game-tree-empty{margin:12px auto}.game-tree-panel>header{height:45px;flex-shrink:0}.game-tree-search{margin:10px 14px}.game-tree-row small{display:none}.game-tree-panel footer{padding:8px 14px}}@media(prefers-reduced-motion:reduce){.game-tree-row svg{transition:none}}
@media(max-width:700px){html body .chat-app.project-workspace.sidebar-collapsed .chat-sidebar{visibility:hidden}html body .chat-app.project-workspace:not(.sidebar-collapsed) .chat-sidebar{visibility:visible}}

/* Refined project workbench: restrained surfaces, readable compact chat. */
html body .chat-app.project-workspace{background:#08090b;padding:10px;gap:8px;grid-template-columns:minmax(0,10fr) minmax(0,60fr) minmax(0,30fr)}
html body .chat-app.project-workspace .chat-sidebar{background:#0e0e12;border:1px solid #ffffff09;border-radius:16px;padding:20px 12px;overflow:hidden}
html body .chat-app.project-workspace .chat-main{background:#101014;border:1px solid #ffffff0b;border-radius:18px;overflow:hidden}
html body .chat-app.project-workspace .chat-header{height:auto;min-height:92px;padding:14px 16px;gap:12px;align-content:center;flex-shrink:0;background:#ffffff02}
html body .chat-app.project-workspace .chat-header>div:first-child{width:100%;gap:9px}
html body .chat-app.project-workspace .chat-header>div:first-child>span{font-size:13px;color:#e3ddea;max-width:calc(100% - 40px)}
html body .chat-app.project-workspace .header-account{width:100%;display:flex;justify-content:flex-end;gap:6px}
html body .chat-app.project-workspace .header-account .header-docs-button{font-size:11px;padding:0 7px;height:30px;border-radius:8px}
html body .chat-app.project-workspace .header-account .pro-header-link{font-size:10px;padding:0 6px;height:30px;white-space:nowrap}
html body .chat-app.project-workspace .chat-messages{padding:24px 18px 12px}
html body .chat-app.project-workspace .chat-message{font-size:13px;line-height:1.75;margin-bottom:22px}
html body .chat-app.project-workspace .chat-composer{padding:12px 14px 16px}
html body .chat-app.project-workspace .prompt-bar__field{padding:13px;border-radius:15px;background:#1b1921;backdrop-filter:none;box-shadow:0 6px 20px #0002}
html body .chat-app.project-workspace .prompt-bar__input{font-size:13px;min-height:65px}
html body .chat-app.project-workspace .chat-welcome{padding:26px 18px!important}
html body .chat-app.project-workspace .chat-welcome h1{font-size:22px;letter-spacing:-.7px;line-height:1.3}
html body .chat-app.project-workspace .chat-welcome p{font-size:12px;line-height:1.7}
html body .chat-app.project-workspace .agent-composer-options{padding:0 0 10px;gap:6px;flex-wrap:wrap}
html body .chat-app.project-workspace.sidebar-collapsed .sidebar-brand{padding-bottom:26px}
html body .chat-app.project-workspace.sidebar-collapsed .sidebar-logo{width:32px;height:32px}
html body .chat-app.project-workspace.sidebar-collapsed .new-project{width:42px;height:42px;margin:0 auto;border-radius:13px;background:#e5dfed}
.workspace-history-toggle{display:grid;place-items:center;width:42px;height:42px;margin:10px auto;border:1px solid #ffffff0b!important;border-radius:12px;background:#ffffff03!important;color:#ac9eba!important}
html body .chat-app.project-workspace .sidebar-credit-card{margin-top:auto;background:#ffffff03;border:1px solid #ffffff09;border-radius:12px;padding:11px;width:100%;min-width:0}
html body .chat-app.project-workspace .sidebar-credit-card>div:first-child{display:flex;flex-direction:column;align-items:flex-start;gap:7px}
html body .chat-app.project-workspace .sidebar-credit-card strong{font-size:11px;font-weight:500;color:#c2b5d1}
html body .chat-app.project-workspace .sidebar-credit-card .profile-credit-count{font-size:10px;white-space:normal;line-height:1.5}
html body .chat-app.project-workspace .sidebar-credit-card .profile-credit-track{height:4px;margin-top:10px}
.game-tree-panel{border:1px solid #ffffff0a;border-radius:18px;background:linear-gradient(160deg,#111116,#0c0d10);box-shadow:inset 0 1px #ffffff03}
.game-tree-panel>header{height:70px;flex-shrink:0;padding:0 24px;background:#ffffff02}
.game-tree-panel header strong{font-weight:550;font-size:14px;color:#e1dae9}
.game-tree-panel header span{border:1px solid #ffffff0b;border-radius:20px;padding:4px 8px;font-size:10px}
.game-tree-panel header span.connected{background:#8bbb9e09;border-color:#8bbb9e20}
.game-tree-search{margin:18px 24px;background:#0002;border-radius:10px;padding:11px 12px}
.game-tree-scroll{padding:0 16px 20px}
.game-tree-row{height:36px;border-radius:8px;gap:9px;font-size:13px!important}
.game-tree-row:hover{background:#bb99db09;color:#eee7f5}
.game-tree-row small{font-size:10px;color:#82798e}
.game-tree-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;margin:0;max-width:none;min-height:calc(100dvh - 230px);padding:35px}
.game-tree-empty>svg{width:54px;height:54px;padding:14px;border:1px solid #ffffff0d;border-radius:17px;background:#ffffff03;color:#b59bcd}
.game-tree-empty h2{margin:22px 0 8px;font-size:23px;letter-spacing:-.6px;color:#dbd4e4}
.game-tree-empty p{max-width:320px;margin:0 0 22px;font-size:13px;color:#92869f}
.game-tree-empty button{font-size:12px;padding:12px 20px;border-radius:11px}
.game-tree-panel footer{border-top:1px solid #ffffff08;color:#867b92;padding:13px 24px}
@media(max-width:1100px) and (min-width:701px){html body .chat-app.project-workspace{grid-template-columns:minmax(70px,10fr) minmax(0,45fr) minmax(0,45fr);padding:8px;gap:6px}}
@media(max-width:700px){html body .chat-app.project-workspace{padding:8px;gap:8px}html body .chat-app.project-workspace .game-tree-panel{height:32dvh;border-radius:14px}html body .chat-app.project-workspace .chat-main{border-radius:14px}html body .chat-app.project-workspace .chat-sidebar{border-radius:0;padding:22px 15px}.game-tree-panel>header{height:46px;padding:0 15px}.game-tree-search{margin:10px 14px}.game-tree-empty{min-height:0;padding:16px}.game-tree-empty>svg{display:none}.game-tree-empty h2{font-size:16px;margin:0 0 5px}.game-tree-empty p{font-size:11px;margin-bottom:9px}.game-tree-empty button{padding:8px 12px}.game-tree-panel footer{padding:8px 14px;font-size:10px}html body .chat-app.project-workspace .chat-header{min-height:82px;padding:10px 14px;gap:8px}}
/* Project navigation expands into tree space; the chat keeps its width. */
html body .chat-app.project-workspace{--workspace-chat:30%;grid-template-columns:10% minmax(0,1fr) var(--workspace-chat);transition:grid-template-columns 320ms var(--g-ease)}
html body .chat-app.project-workspace:not(.sidebar-collapsed){grid-template-columns:246px minmax(0,1fr) var(--workspace-chat)}
html body .chat-app.project-workspace.sidebar-collapsed .chat-sidebar .conversation-list{display:none!important;visibility:hidden;pointer-events:none}
html body .chat-app.project-workspace:not(.sidebar-collapsed) .chat-sidebar .conversation-list{display:block;visibility:visible;flex:1;min-height:0;overflow-y:auto}
html body .chat-app.project-workspace .chat-sidebar{transition:background 240ms ease,padding 320ms var(--g-ease);min-width:0}
html body .chat-app.project-workspace:not(.sidebar-collapsed) .sidebar-brand{padding:0 5px 22px;justify-content:space-between}
html body .chat-app.project-workspace:not(.sidebar-collapsed) .sidebar-brand a{font-size:20px;gap:8px}
html body .chat-app.project-workspace:not(.sidebar-collapsed) .new-project{width:100%;font-size:13px;padding:0 12px;justify-content:flex-start}
html body .chat-app.project-workspace:not(.sidebar-collapsed) .sidebar-credit-card>div:first-child{flex-direction:row;justify-content:space-between;align-items:center}
html body .chat-app.project-workspace:not(.sidebar-collapsed) .sidebar-credit-card .profile-credit-count{font-size:11px}
@media(max-width:1100px) and (min-width:701px){html body .chat-app.project-workspace{--workspace-chat:45%;grid-template-columns:76px minmax(0,1fr) var(--workspace-chat)}html body .chat-app.project-workspace:not(.sidebar-collapsed){grid-template-columns:210px minmax(0,1fr) var(--workspace-chat)}}
@media(max-width:700px){html body .chat-app.project-workspace{transition:none}html body .chat-app.project-workspace .chat-sidebar{transition:transform 320ms var(--g-ease),opacity 240ms ease}}
@media(prefers-reduced-motion:reduce){html body .chat-app.project-workspace,html body .chat-app.project-workspace .chat-sidebar{transition:none!important}}
/* A collapsed sidebar is a slim icon rail, independent of screen width. */
@media(min-width:701px){html body .chat-app.project-workspace.sidebar-collapsed{grid-template-columns:64px minmax(0,1fr) var(--workspace-chat)}html body .chat-app.project-workspace.sidebar-collapsed .chat-sidebar{padding:20px 7px}html body .chat-app.project-workspace.sidebar-collapsed .sidebar-credit-card{padding:8px 5px;overflow:hidden}html body .chat-app.project-workspace.sidebar-collapsed .sidebar-credit-card .profile-credit-copy strong{display:none}html body .chat-app.project-workspace.sidebar-collapsed .sidebar-credit-card .profile-credit-count{font-size:9px;overflow-wrap:anywhere}html body .chat-app.project-workspace.sidebar-collapsed .sidebar-credit-card .profile-credit-track{margin-top:5px}}
html body dialog.update-premium{display:none;inset:0;margin:0;max-width:none;max-height:none;width:100vw;height:100dvh;padding:32px;border:0;border-radius:0;background:radial-gradient(ellipse at 50% 40%,#9277b018,transparent 55%),#09090d;color:#ece7f2;box-sizing:border-box;backdrop-filter:none;animation:none}
html body dialog.update-premium[open]{display:flex;align-items:center;justify-content:center;flex-direction:column}
.update-premium::backdrop{background:#09090d}
.update-premium .update-brand{position:absolute;left:32px;top:28px;display:flex;align-items:center;gap:8px;font-size:18px;font-weight:600;letter-spacing:-.5px;color:#dfd6ea}.update-brand img{width:26px;height:26px}.update-brand>span{color:#a992c1;margin-left:-6px}
html body .update-premium .site-update-content{position:relative;display:flex;flex-direction:column;align-items:center;gap:24px;padding:40px;width:min(540px,100%);border:1px solid #ffffff0e;border-radius:30px;background:linear-gradient(150deg,#ffffff06,#ffffff02);box-shadow:inset 0 1px #ffffff06,0 24px 100px #0004;animation:update-panel-enter 320ms ease both;text-align:center;box-sizing:border-box}
html body .update-premium .site-update-content .support-notice-close{position:absolute;inset:14px 14px auto auto;width:32px;height:32px;padding:6px;border:1px solid #ffffff0b;background:#ffffff03;color:#a99eb6;min-width:0;border-radius:10px}
.update-premium .update-mascot-stage{display:grid;place-items:center;width:180px;height:160px;background:radial-gradient(ellipse,#ac83d51a,transparent 65%)}.update-premium .update-mascot-stage img{width:170px;height:170px;object-fit:contain;filter:drop-shadow(0 14px 20px #0004)}
html body .update-premium .update-copy{display:flex;flex-direction:column;align-items:center;gap:17px}
html body .update-premium .update-version-badge{display:inline-flex;align-items:center;gap:7px;border:1px solid #bda2d426;border-radius:20px;background:#ad8dcb09;padding:7px 10px;font-size:9px;letter-spacing:1.4px;color:#bfa6d5}.update-version-badge>span{width:5px;height:5px;border-radius:50%;background:#bca0d8;box-shadow:0 0 10px #bd95e450}
html body .update-premium h2{margin:0;font-size:clamp(25px,4vw,32px);line-height:1.2;font-weight:550;letter-spacing:-1px;max-width:400px}
.update-premium #site-update-description{font-size:14px;line-height:1.7;color:#a69aae;max-width:365px;margin:0}
html body .update-premium .update-actions{display:flex;flex-direction:column;width:100%;gap:9px;margin-top:7px}
html body .update-premium .update-actions>button{display:flex;align-items:center;justify-content:center;gap:9px;min-height:46px;min-width:0;width:100%;border-radius:13px;font:inherit;font-size:13px;cursor:pointer;transition:background 220ms,transform 220ms}
html body .update-premium .update-actions .update-primary{background:#e6ddee;color:#251b2d;border:1px solid #ffffff35;box-shadow:inset 0 1px #fff8}.update-premium .update-primary:hover{transform:translateY(-1px);background:#f3edf8!important}
html body .update-premium .update-actions .update-later{background:none;border:0;color:#9c8ea9;min-height:36px}
.update-premium .update-footer{position:absolute;bottom:22px;color:#756a81;font-size:11px;letter-spacing:.2px}.update-premium button:focus-visible{outline:2px solid #c5a5df;outline-offset:4px}
@keyframes update-panel-enter{from{opacity:0;transform:translateY(10px) scale(.98)}to{opacity:1;transform:none}}
@media(max-width:600px){html body dialog.update-premium{padding:22px}.update-premium .update-brand{top:22px;left:22px}html body .update-premium .site-update-content{padding:32px 24px;border-radius:24px}.update-premium .update-mascot-stage{height:130px}.update-premium .update-mascot-stage img{height:140px;width:140px}.update-premium #site-update-description{font-size:13px}}
@media(max-height:660px){html body .update-premium .site-update-content{padding:24px;gap:12px}.update-premium .update-mascot-stage{height:85px}.update-premium .update-mascot-stage img{width:100px;height:100px}.update-premium .update-footer{position:static;margin-top:16px}html body dialog.update-premium[open]{overflow:auto}.update-premium .update-brand{display:none}}
@media(prefers-reduced-motion:reduce){html body .update-premium .site-update-content{animation:none}.update-premium button{transition:none!important}}
.brixy-loading{display:flex;align-items:center;gap:11px;color:#a79ab5;font:500 12px/1.5 system-ui;min-height:28px}.brixy-loading.is-inline{display:inline-flex;color:inherit;justify-content:center;font:inherit}.brixy-loading-bars{display:flex;align-items:center;gap:3px;height:18px;width:20px;flex-shrink:0}.brixy-loading-bars i{display:block;width:3px;height:12px;border-radius:4px;background:currentColor;opacity:.75;animation:brixy-load-bar 1.1s ease-in-out infinite}.brixy-loading-bars i:nth-child(2){animation-delay:120ms;height:17px}.brixy-loading-bars i:nth-child(3){animation-delay:240ms}.brixy-loading-state{padding:24px;min-width:0;font-family:system-ui}.brixy-skeleton-group{display:flex;flex-direction:column;gap:13px;margin-top:20px;overflow:hidden}.brixy-skeleton-line,.glass-skeleton{position:relative;overflow:hidden;border-radius:7px;background:#ffffff06;min-height:12px}.brixy-skeleton-line::after,.glass-skeleton::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,transparent,#c9abd414,transparent);transform:translateX(-100%);animation:brixy-load-shimmer 1.8s ease-in-out infinite}.loading-tree .brixy-skeleton-line{height:20px;border-radius:6px}.loading-page{min-height:100dvh;display:flex;align-items:center;justify-content:center;flex-direction:column;background:#08090b;box-sizing:border-box;gap:20px}.loading-page .loading-brand{width:40px;height:40px;object-fit:contain}.loading-page .brixy-skeleton-group{width:min(260px,75vw);margin:0}.loading-page .brixy-skeleton-line{height:7px}.loading-panel{border:1px solid #ffffff08;border-radius:14px;background:#ffffff02}.feature-spinner,.admin-spin{animation:brixy-load-spin 1.1s linear infinite!important}.support-typing span{animation-duration:1.2s!important}.brixy-loading-state.loading-tree{padding:12px 16px}@keyframes brixy-load-bar{0%,100%{transform:scaleY(.45);opacity:.45}50%{transform:scaleY(1);opacity:1}}@keyframes brixy-load-shimmer{to{transform:translateX(100%)}}@keyframes brixy-load-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.brixy-loading-bars i,.brixy-skeleton-line::after,.glass-skeleton::after,.feature-spinner,.admin-spin{animation:none!important}.brixy-skeleton-line::after,.glass-skeleton::after{display:none}}

/* Aligned workspace navigation and compact composer. */
.sidebar-workspace-tools{display:flex;flex-direction:column;gap:5px;margin:10px 0 16px}.sidebar-workspace-tools :is(a,button){display:flex;align-items:center;gap:11px;width:100%;min-height:42px;box-sizing:border-box;padding:0 12px;border:1px solid transparent;border-radius:11px;background:transparent;color:#aaa0b6;font:500 12px system-ui;text-decoration:none;cursor:pointer;transition:background 220ms,border-color 220ms}.sidebar-workspace-tools :is(a,button):hover{background:#ffffff05;border-color:#ffffff0b;color:#e3d9ec}.sidebar-workspace-tools svg{flex-shrink:0}
html body .chat-app.project-workspace .chat-header{min-height:54px;height:54px;padding:0 14px;flex-wrap:nowrap;gap:8px}html body .chat-app.project-workspace .header-account{flex-shrink:0}html body .chat-app.project-workspace .chat-header>div:first-child{min-width:0}html body .chat-app.project-workspace .chat-header>div:first-child>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html body .chat-app .chat-composer{padding:8px 16px max(12px,env(safe-area-inset-bottom))}html body .chat-app .chat-composer .prompt-bar__field{padding:12px;border-radius:16px}html body .chat-app .prompt-bar__input{min-height:42px;max-height:120px}html body .chat-app .agent-composer-options{margin-bottom:7px}
@media(min-width:701px){html body .chat-app.project-workspace.sidebar-collapsed .chat-sidebar{align-items:center}html body .chat-app.project-workspace.sidebar-collapsed :is(.new-project,.workspace-history-toggle){width:42px;height:42px;min-height:42px;margin:5px auto;padding:0;display:flex;align-items:center;justify-content:center;box-sizing:border-box}html body .chat-app.project-workspace.sidebar-collapsed .sidebar-workspace-tools{width:42px;align-items:center;margin:5px auto 14px}html body .chat-app.project-workspace.sidebar-collapsed .sidebar-workspace-tools :is(a,button){width:42px;height:42px;padding:0;justify-content:center}html body .chat-app.project-workspace.sidebar-collapsed .sidebar-workspace-tools span{display:none}html body .chat-app.project-workspace.sidebar-collapsed .sidebar-credit-card{width:100%;box-sizing:border-box}html body .chat-app.project-workspace .chat-header .sidebar-toggle{display:none}}
@media(max-width:700px){html body .chat-app .chat-composer{padding:8px 12px max(10px,env(safe-area-inset-bottom))}.sidebar-workspace-tools :is(a,button){min-height:44px}}

.sidebar-workspace-tools button:disabled{opacity:.4;cursor:not-allowed}

/* Header actions adapt to the chat pane, not only the viewport. */
html body .chat-app .chat-main{container-type:inline-size;container-name:chat-pane}html body .chat-app .chat-header{gap:8px;min-width:0}html body .chat-app .chat-header>div:first-child{flex:1;min-width:0}html body .chat-app .chat-header>div:first-child>span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}html body .chat-app .header-account{flex-shrink:0;gap:5px;margin-left:0}html body .chat-app .header-account :is(.header-docs-button,.pro-header-link){display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:34px;box-sizing:border-box;white-space:nowrap}
html body .chat-app .chat-composer{padding-top:5px;padding-bottom:max(10px,env(safe-area-inset-bottom))}html body .chat-app .chat-composer .prompt-bar__field{padding:10px}html body .chat-app .prompt-bar__input{min-height:30px;max-height:100px}html body .chat-app .prompt-bar__field .studio-pair-lock{min-height:70px;padding:10px 2px;gap:8px;box-sizing:border-box}html body .chat-app .studio-pair-lock p{margin:4px 0;font-size:11px;line-height:1.45}html body .chat-app .studio-pair-lock button{padding:8px 10px}
@container chat-pane (max-width:480px){html body .chat-app .header-account :is(.header-docs-button,.pro-header-link){width:32px;padding:0}html body .chat-app .header-account :is(.header-docs-button,.pro-header-link)>span{display:none}html body .chat-app .chat-header{padding-left:10px;padding-right:10px}html body .chat-app .studio-pair-lock{flex-wrap:wrap}html body .chat-app .studio-pair-lock>div{min-width:0;flex:1}html body .chat-app .studio-pair-lock button{width:auto;margin-left:auto;min-height:32px}html body .chat-app .chat-header>div:first-child>span{font-size:12px}}
@media(max-width:380px){html body .chat-app .header-account{gap:2px}html body .chat-app .header-account :is(.header-docs-button,.pro-header-link){width:28px}html body .chat-app .chat-header{gap:4px}}

/* Quiet surfaces and content-shaped placeholders. */
.brixy-loading{color:#a3a5ad}.brixy-loading-state{padding:20px}.brixy-skeleton-group{gap:16px;margin-top:18px}.brixy-skeleton-row{display:flex;align-items:center;gap:10px;min-height:16px;box-sizing:border-box}.brixy-skeleton-line,.brixy-skeleton-icon,.glass-skeleton{background:#ffffff07;border-radius:4px}.brixy-skeleton-line{min-height:10px;height:10px}.brixy-skeleton-icon{width:14px;height:14px;flex-shrink:0}.loading-tree .brixy-skeleton-line{height:9px}.loading-tree .brixy-skeleton-row{min-height:30px}.brixy-skeleton-line::after,.glass-skeleton::after{background:linear-gradient(90deg,transparent,#ffffff08,transparent);animation-duration:2.4s}.glass-skeleton{animation:none!important}.loading-panel{background:none;border-color:#ffffff06;border-radius:10px}.loading-page .brixy-skeleton-group{width:min(220px,70vw)}.loading-page .brixy-skeleton-row{justify-content:center}.loading-page .brixy-skeleton-line{height:5px;min-height:5px}
html body .chat-app .chat-welcome .welcome-symbol{background:none;border:0;box-shadow:none}html body .chat-app .chat-welcome h1{font-weight:500;letter-spacing:-.6px}html body .chat-app .chat-composer .prompt-bar__field{box-shadow:0 4px 18px #0002;background:#17171bcc;border-color:#ffffff14}html body .chat-app .chat-composer .prompt-bar__field:focus-within{box-shadow:0 0 0 2px #ffffff05;border-color:#ffffff29}html body .chat-app :is(.project-dialog,.account-settings,.premium-feature-dialog,.profile-popover,.notifications-panel){box-shadow:0 18px 50px #0005;border-color:#ffffff14}html body .chat-app :is(.gui-theme-picker,.header-docs-button){box-shadow:none}.workspace-eyebrow{letter-spacing:.4px}.workspace-grid>section{box-shadow:none!important;background:#ffffff02!important}.workspace-intro h1{letter-spacing:-.6px}.game-tree-empty>svg{background:none;border:0;border-radius:0}.game-tree-empty h2{font-weight:500;letter-spacing:-.4px}
@media(prefers-reduced-motion:reduce){.brixy-skeleton-line::after,.glass-skeleton::after{animation:none!important;display:none}}

html body :is(.chat-app,.legal-page,.payments-page,.admin-page,.support-page,.brixy-not-found){background:#090a0c}.workspace-credits>.glass-skeleton{height:38px;width:55%;margin-top:18px}.workspace-projects>.glass-skeleton{height:34px;width:100%;margin:10px 0}.workspace-projects>.glass-skeleton:nth-of-type(2){width:78%}

.appeal-ban-reason{padding:16px 18px;border:1px solid #dc939326;border-radius:12px;background:#dc939308;text-align:left;margin:12px 0 18px}.appeal-ban-reason>strong{font-size:13px;color:#ddb5b5}.appeal-ban-reason p{font-size:13px;line-height:1.6;margin:8px 0;color:#b7afb9}.appeal-ban-reason blockquote{margin:10px 0 0;padding:8px 12px;border-left:2px solid #dc939344;font-size:12px;color:#a59baa;overflow-wrap:anywhere;white-space:pre-wrap}

.ai-planning{margin:12px 0;border:1px solid #ffffff10;border-radius:12px;overflow:hidden;background:#101114;color:#d5d5da;font-family:inherit}.ai-planning-trigger{display:flex;align-items:center;gap:10px;width:100%;padding:14px 16px;border:0;background:#ffffff02;color:inherit;text-align:left;cursor:pointer}.ai-planning-trigger>svg{flex-shrink:0;color:#a9b8ce}.ai-planning-trigger strong{font-size:13px;font-weight:550;min-width:0;flex:1}.ai-planning-meta{font:11px ui-monospace,monospace;color:#7e838e}.planning-collapse{display:grid;grid-template-rows:0fr;opacity:0;transition:grid-template-rows 280ms ease,opacity 220ms ease}.planning-collapse[data-open=true]{grid-template-rows:1fr;opacity:1}.planning-collapse>div{min-height:0;overflow:hidden}.planning-timeline{list-style:none;margin:0;padding:18px 16px 0}.planning-timeline>li{position:relative;display:flex;gap:12px;padding:0 0 19px}.planning-timeline>li:not(:last-child)::before{content:'';position:absolute;left:10px;top:24px;bottom:0;width:1px;background:#ffffff0c}.planning-marker{display:grid;place-items:center;width:22px;height:22px;flex-shrink:0;border-radius:50%;background:#1b1d22;color:#717783;margin-top:2px}.planning-timeline>li[data-status=success] .planning-marker{color:#8cb8a2;background:#83b39412}.planning-timeline>li[data-status=active] .planning-marker{color:#9aafd0;background:#9aafd014}.planning-timeline>li[data-status=error] .planning-marker{color:#dba1a5;background:#dba1a512}.planning-step-body{min-width:0;flex:1}.planning-step-trigger{display:flex;align-items:center;gap:9px;width:100%;padding:5px 0;border:0;background:none;color:inherit;font:500 12px/1.5 inherit;text-align:left}.planning-step-trigger>span{flex:1;min-width:0;overflow-wrap:anywhere}.planning-step-trigger time{font:10px ui-monospace,monospace;color:#7d838f;white-space:nowrap}.planning-step-trigger>svg{color:#737986;flex-shrink:0}button.planning-step-trigger{cursor:pointer}.planning-step-content{padding:8px 0 3px;color:#8f95a1;font-size:11px}.planning-step-content pre{white-space:pre-wrap;overflow-wrap:anywhere;font:11px/1.65 ui-monospace,monospace;margin:8px 0 0;max-height:280px;overflow:auto}.planning-tool{font:10px ui-monospace,monospace;color:#a9afbc}.planning-footer{padding:0 16px 14px}.planning-footer:empty{display:none}.planning-report{font-size:12px;line-height:1.65;color:#a4a8b2;overflow-wrap:anywhere;display:flex;align-items:center;gap:7px}.planning-proposed{font-size:12px;line-height:1.7;color:#a6acb8}.planning-proposed summary{cursor:pointer}.ai-planning button:focus-visible,.planning-proposed summary:focus-visible{outline:2px solid #a3b2c9;outline-offset:-2px}.planning-spin{animation:brixy-load-spin 1.2s linear infinite}.ai-planning .execution-actions{margin-top:10px}.ai-planning .execution-actions button{font-size:11px}.planning-timeline>li[data-status=pending]{opacity:.6}@media(prefers-reduced-motion:reduce){.planning-collapse{transition:none}.planning-spin{animation:none}}@media(max-width:480px){.ai-planning-trigger{padding:12px}.planning-timeline{padding:14px 12px 0}.planning-footer{padding:0 12px 12px}.ai-planning-trigger strong{font-size:12px}}

.ai-planning-meta{display:flex;align-items:center;gap:10px}.planning-count{color:#696f7a;font-size:10px}.planning-step-trigger{font-family:inherit;font-size:12px;font-weight:500;line-height:1.5}
