.workspace-tabs{display:flex;gap:5px;align-items:center;overflow-x:auto;flex-shrink:0;padding:9px 14px;background:#fcfaff;border-bottom:1px solid #e8e1ef;scrollbar-width:thin}.workspace-tabs[hidden]{display:none}.workspace-tab{display:flex;align-items:center;flex-shrink:0;border:1px solid transparent;border-radius:9px;background:transparent;max-width:230px}.workspace-tab[data-active=true]{background:#f0e9fc;border-color:#ddcef1;color:#58339b}.workspace-tabs button{border:0;background:transparent;color:inherit;font:inherit;font-size:12px;min-height:34px;padding:7px 10px;border-radius:8px;white-space:nowrap;cursor:pointer}.workspace-tab button:first-child{overflow:hidden;text-overflow:ellipsis}.workspace-tabs button:hover{background:#e9e0f6}.workspace-tabs button:focus-visible{outline:2px solid #7750c6;outline-offset:-2px}.workspace-tabs>button{font-size:20px;min-width:34px}.workspace-tab button+button{font-size:17px;padding:5px 9px}.workspace-create{display:flex;gap:8px;margin-bottom:18px}.workspace-create input{flex:1;min-width:0;padding:12px;border:1px solid #ddd1ee;border-radius:10px}.workspace-create button{border:0;background:#6840ba;color:white;border-radius:10px;padding:10px 16px}.page-view-tabs{padding-left:24px}.chat-view-tabs{padding:5px 10px}.workspace-main{min-height:0}@media(max-width:600px){.workspace-tabs{padding:6px 10px}.workspace-tab{max-width:180px}.workspace-create{flex-direction:column}}

#page-list[hidden]{display:none!important}.content-section-tabs{display:flex;gap:8px;margin-bottom:24px;border-bottom:1px solid #e7dfef;padding-bottom:12px}.content-section-tabs button{border:0;border-radius:10px;padding:9px 20px;background:transparent;color:#6b5e7c}.content-section-tabs button[aria-pressed=true]{background:#ede5fb;color:#553095}.project-code-preview{white-space:pre;max-height:400px;overflow:auto;background:#f7f4fb;border:1px solid #e3d9ef;padding:16px;border-radius:12px;font:12px/1.6 ui-monospace,monospace}.editor[data-layout=studio]>.chat-panel{grid-template-rows:48px 40px minmax(0,1fr)}.editor[data-layout=studio] .chat-view-tabs{grid-column:1/-1;grid-row:2}.editor[data-layout=studio] .conversation,.editor[data-layout=studio] .chat-bottom{grid-row:3}

/* Dense workspace chrome: conversation switcher and browser tabs have distinct roles. */
.editor{gap:8px;padding:8px;grid-template-columns:clamp(320px,28vw,430px) minmax(0,1fr)}
.editor .chat-panel{border-radius:14px}.editor .chat-header{height:54px;padding:8px 13px}.editor .chat-header .nextler-logo{width:138px}.editor .workspace-header{height:52px;padding:3px 6px 7px}.editor .workspace-symbol{width:30px;height:30px;border-radius:9px}.editor .workspace-symbol svg{width:16px}.editor .conversation{padding:16px 16px 20px}.editor .chat-bottom{padding:0 10px 5px}.editor .chat-composer{padding:11px 12px 9px;border-radius:15px}.editor .chat-composer textarea{min-height:38px}.editor .composer-bottom{margin-top:4px}.editor .chat-footer{padding-top:3px}.editor .canvas-toolbar{margin:3px auto;padding:3px;border-radius:10px;box-shadow:none;background:#fff}.editor .preview-shell{border-radius:0 0 12px 12px}.editor .canvas-toolbar .icon-button{height:28px;min-height:28px}.editor .canvas-toolbar .tool-button{min-height:28px;padding:5px 8px}
.editor .workspace-tabs{box-sizing:border-box;min-height:34px;height:34px;gap:4px;padding:0 8px;align-items:center}.editor .workspace-tabs button{box-sizing:border-box;min-height:0;height:26px;padding:0 9px;line-height:26px;font-size:11px}.editor .workspace-tabs>.workspace-tab{height:26px;min-height:0;border-radius:6px;max-width:190px}.editor .workspace-tabs>button{width:26px;min-width:26px;height:26px;padding:0;font-size:18px;line-height:24px;flex:none;border-radius:6px}.editor .workspace-tab button+button{padding:0;width:22px;font-size:15px}.editor .chat-view-tabs{background:transparent;border-bottom:1px solid #e8e3ee;padding-inline:12px;height:32px;min-height:32px}.editor .chat-view-tabs .workspace-tab{border:0;border-radius:0;background:transparent;color:#82768f}.editor .chat-view-tabs .workspace-tab[data-active=true]{color:#513187;box-shadow:inset 0 -2px #7952bb}.editor .chat-view-tabs button{border-radius:5px}.editor .chat-view-tabs .workspace-tab button:first-child{font-weight:550}.editor .page-view-tabs{padding:4px 7px 0;height:36px;min-height:36px;background:#eae7f0;border:1px solid #dfdce5;border-bottom:0;border-radius:11px 11px 0 0;gap:3px;align-items:flex-end}.editor .page-view-tabs .workspace-tab{height:31px;border:0;border-radius:8px 8px 0 0;color:#80748c}.editor .page-view-tabs .workspace-tab[data-active=true]{background:#fff;color:#3b2d4e;box-shadow:0 -1px 4px #34264d09}.editor .page-view-tabs .workspace-tab button{height:30px;line-height:30px}.editor .page-view-tabs>button{margin-bottom:3px}.editor[data-layout=studio]>.chat-panel{grid-template-rows:40px 30px minmax(0,1fr)}.editor[data-layout=studio] .chat-header{height:40px}.editor[data-layout=studio] .chat-view-tabs{height:30px;min-height:30px}.workspace-main{position:relative}
.project-desk{position:absolute;z-index:5;inset:52px 0 0;display:flex;flex-direction:column;min-height:0;border:1px solid #dfdce6;border-radius:12px;background:#fcfbfe;overflow:hidden;box-shadow:0 8px 24px #33264a0a}.desk-bar{display:flex;align-items:center;gap:20px;min-height:45px;padding:5px 12px;border-bottom:1px solid #e6e0ed;background:#f7f5fa}.desk-project-name{font-size:12px;max-width:30%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.desk-tabs{display:flex;gap:3px}.desk-tabs button,.desk-close{border:0;background:transparent;color:#82758e;border-radius:7px;padding:6px 12px;font-size:12px!important;min-height:30px}.desk-tabs button[aria-pressed=true]{background:white;color:#5932a4;box-shadow:0 1px 5px #33264d12}.desk-close{margin-left:auto;font-size:22px!important;width:30px;padding:0}.desk-content{flex:1;min-height:0;display:flex}.desk-panel{flex:1;min-width:0;overflow:auto;padding:22px}.desk-section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px}.desk-section-heading h3{margin:0;font-size:16px}.desk-page{display:grid;grid-template-columns:32px minmax(0,1fr) auto 20px;align-items:center;width:100%;gap:12px;padding:15px 10px;background:transparent;border:0;border-bottom:1px solid #eae4f0;text-align:left;color:#55456b}.desk-page:hover{background:#f2edf8}.desk-page strong{font-size:13px}.desk-page small{color:#8d7e9c}.desk-file-icon{font-size:23px;color:#9b84b6}.desk-panel.desk-code{padding:0;display:grid;grid-template-columns:200px minmax(0,1fr);overflow:hidden}.desk-tree{overflow:auto;padding:12px 9px;border-right:1px solid #e5deec;background:#f8f6fb}.desk-search{box-sizing:border-box;width:100%;border:1px solid #ded5e8;border-radius:7px;padding:9px;background:white;font:inherit;font-size:12px;margin-bottom:15px}.desk-file{display:block;width:100%;text-align:left;border:0;background:transparent;border-radius:6px;padding:8px;font:12px ui-monospace,monospace!important;color:#6e5b80;overflow:hidden;text-overflow:ellipsis}.desk-file[hidden]{display:none}.desk-file[aria-current=true]{background:#ebe2f7;color:#56318f}.desk-code-view{min-width:0;min-height:0;display:flex;flex-direction:column}.desk-code-heading{display:flex;gap:16px;align-items:center;padding:5px 14px;min-height:40px;border-bottom:1px solid #e9e2ef;font-size:11px;color:#8a7d94}.desk-code-heading strong{color:#53465e}.desk-code-heading button{margin-left:auto;font-size:11px}.desk-code{margin:0;flex:1;overflow:auto;padding:20px;font:12px/1.75 ui-monospace,SFMono-Regular,Consolas,monospace;color:#57416d;tab-size:2;white-space:pre;background:#fdfcfe}.desk-export{padding:25px 4px;font-size:10px;color:#8c7c9c}.desk-export .publish-button{white-space:normal;font-size:11px!important;padding:8px;min-height:30px}.desk-media .project-file-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:10px}@media(max-width:740px){.editor{padding:5px 5px 55px}.editor .chat-header{height:50px}.editor .workspace-header{height:48px}.editor .chat-composer textarea{min-height:38px}.project-desk{inset:48px 0 0}.desk-project-name{display:none}.desk-bar{gap:10px}.desk-panel.desk-code{grid-template-columns:120px minmax(0,1fr)}.desk-panel{padding:12px}.desk-tree{padding:8px 5px}.desk-code{padding:12px;font-size:11px}.desk-page{grid-template-columns:24px minmax(0,1fr) 18px;gap:8px}.desk-page small{display:none}.desk-code-heading{padding:5px 8px;gap:8px}.desk-code-heading>span{display:none}}
.editor .workspace-tab>button,.editor .workspace-tab>button:hover{background:transparent!important;border-radius:0;box-shadow:none}.editor .chat-view-tabs .workspace-tab:hover{background:transparent;color:#59378c}.editor .chat-view-tabs .workspace-tab[data-active=true]{background:transparent;color:#513187}.editor .chat-view-tabs .workspace-tab:not([data-active=true]):hover{box-shadow:inset 0 -1px #c6b4dd}.editor .page-view-tabs .workspace-tab:not([data-active=true]):hover{background:#f5f2fa;color:#51415f}.editor .page-view-tabs .workspace-tab[data-active=true]:hover{background:#fff}.editor .workspace-tab>button+button{border-radius:50%;height:20px;line-height:20px;width:20px;margin-right:4px;align-self:center}.editor .workspace-tab>button+button:hover{background:#ded4ea!important;color:#4f306c}.editor .workspace-tabs>button:hover{background:#e1d7ee}.editor .workspace-tabs>button{box-sizing:border-box;max-height:26px;max-width:26px}

/* File navigation and export guidance use interface typography, not code whitespace. */
.desk-tree{white-space:normal;font-size:12px;line-height:1.55;font-family:inherit}.desk-export{white-space:normal;overflow-wrap:anywhere;font-family:var(--font-sans,Arial,sans-serif);font-size:11px;line-height:1.6}.desk-export p{margin:10px 0 0}.desk-export .publish-button{width:100%}
