.studio-heading{padding:1.5rem 0 2rem}
.studio-title-row{display:flex;align-items:center;justify-content:space-between;gap:2rem;padding-top:1rem}
.studio-title-row h1{font-size:clamp(2rem,3vw,3rem)!important;margin:0 0 .8rem}
.studio-title-row p:not(.eyebrow){max-width:70ch;color:var(--kw-text-muted);font-size:1rem;line-height:1.7;margin:0}
.studio-title-row .eyebrow{margin-bottom:.7rem}
.studio{padding:0 0 4rem}
.studio :is(button,input,select,textarea){font:inherit}
.studio button:disabled{opacity:.55;cursor:not-allowed}
.studio :is(input,select,textarea){min-width:0;max-width:100%}
body main .studio-panel,body main .studio-context,body main .studio-project-bar,body main .ai-access-panel{background:#FFFFFF!important;border:1px solid #E1E4E8!important;border-radius:6px!important;color:#191919!important;--kw-bg:#F8F9FA;--kw-bg-alt:#F4F5F6;--kw-bg-card:#FFFFFF;--kw-bg-input:#FFFFFF;--kw-text-primary:#191919;--kw-text-secondary:#3D424A;--kw-text-muted:#626872;--kw-border:#DEE1E5;color-scheme:light;box-shadow:none!important}
.studio-panel{padding:1.5rem;min-width:0}
.studio-panel h2,.studio-panel h3{font-size:1.125rem!important;line-height:1.4;margin:0 0 1rem}
.studio-panel p{color:#626872;font-size:.875rem;line-height:1.7}
.studio-project-bar{display:flex;align-items:center;gap:.65rem;padding:1rem;flex-wrap:wrap;margin-bottom:1rem}
.studio-project-bar>label{font-weight:650;font-size:.875rem}
.studio-project-bar select{min-height:44px;max-width:270px;padding:.5rem .75rem;border:1px solid #C5CBD2;border-radius:4px}
.studio-project-bar .kw-btn{font-size:.8125rem;min-height:44px;padding:.65rem .8rem;color:#191919}
.studio-project-status{flex-basis:100%;font-size:.75rem;color:#626872}
.studio-project-more summary{cursor:pointer;font-size:.8125rem;padding:.65rem .8rem;min-height:44px;border:1px solid #D6DAE0;border-radius:4px;color:#191919}
.studio-project-more[open]{flex-basis:100%}.studio-project-more[open] summary{width:max-content;margin-bottom:.65rem}.studio-project-actions{display:flex;gap:.65rem;flex-wrap:wrap;padding:.75rem 0;border-top:1px solid #E1E4E8}
.studio-context{padding:1.25rem;margin-bottom:1.5rem}
.studio-context label{display:block;font-size:.875rem;font-weight:650;margin-bottom:.5rem}
.studio-context textarea{width:100%;border:1px solid #C5CBD2;border-radius:4px;padding:.7rem .8rem;resize:vertical;min-height:70px}
.studio-context p{margin:.6rem 0 0;font-size:.75rem;color:#626872}
.studio-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:1.25rem;align-items:start}
.studio-grid.wide-editor{grid-template-columns:minmax(0,1fr) 310px}
.studio-stack{display:grid;gap:1rem;min-width:0}
.studio-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.studio-field{display:grid;gap:.4rem;align-content:start;min-width:0;font-size:.875rem;color:#3D424A}
.studio-field.wide{grid-column:1/-1}
body main .studio :is(.studio-field input,.studio-field select,.studio-field textarea,.studio-table input,.studio-table select){background:#FFFFFF!important;color:#191919!important;border:1px solid #C5CBD2!important;border-radius:4px;padding:.65rem .7rem;min-height:44px;width:100%}
.studio-field textarea{resize:vertical;min-height:100px;line-height:1.6}
.studio-field small{font-size:.75rem;line-height:1.5;color:#626872}
.studio-field input[type=checkbox]{width:18px!important;min-height:18px!important;accent-color:#191919}
.studio-check{display:flex;align-items:center;gap:.65rem;font-size:.875rem;color:#3D424A;min-height:44px}
.studio-check input{width:18px;height:18px;accent-color:#191919}
.studio-toolbar{display:flex;gap:.65rem;flex-wrap:wrap;align-items:center;margin:0 0 1.25rem}
.studio-toolbar .kw-btn,.studio-output-actions .kw-btn{min-height:44px;color:#191919;background:#FFFFFF;border:1px solid #D6DAE0;padding:.7rem 1rem}
.studio-toolbar .kw-btn:hover,.studio-project-bar .kw-btn:hover{border-color:#C47F00!important;color:#8E5E00}
.studio-toolbar select{min-height:44px;padding:.6rem;border:1px solid #C5CBD2;max-width:100%;border-radius:4px}
.studio-empty{padding:2rem 1rem;text-align:center;color:#626872;line-height:1.7}
.studio-code{white-space:pre-wrap;overflow-wrap:anywhere;font: .8125rem/1.7 Consolas,monospace!important;background:#F4F5F6!important;color:#191919;padding:1rem;border:1px solid #E1E4E8;border-radius:4px;max-height:500px;overflow:auto}
.studio-table-scroll{overflow-x:auto;max-width:100%}
.studio-table{width:100%;border-collapse:collapse;font-size:.8125rem;color:#191919}
.studio-table th,.studio-table td{padding:.65rem .5rem;text-align:left;border-bottom:1px solid #E1E4E8;vertical-align:top}
.studio-table th{font-size:.75rem;color:#626872;white-space:nowrap}
.studio-table input{min-width:100px}.studio-table select{min-width:110px}.studio-table input[type=checkbox]{min-width:18px;min-height:18px!important;width:18px!important;accent-color:#191919}
.studio-table .kw-btn{min-width:44px;min-height:44px;padding:.5rem;color:#191919}
.studio-entry{padding:1rem 0;border-bottom:1px solid #E1E4E8}
.studio-entry:first-child{padding-top:0}.studio-entry:last-child{border-bottom:0;padding-bottom:0}
.studio-entry-header{display:flex;align-items:center;gap:.65rem;justify-content:space-between;margin-bottom:.75rem}
.studio-entry-header strong{font-size:.9375rem}.studio-entry-header .kw-btn{min-height:44px;min-width:44px;padding:.5rem;color:#191919}
.studio-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin:1.25rem 0}
.studio-metrics>div{padding:.75rem 0;border-top:2px solid #F5A800;min-width:0}
.studio-metrics strong{font-size:1.5rem;display:block;overflow-wrap:anywhere;line-height:1.5}
.studio-metrics span{font-size:.75rem;color:#626872}
.studio-output-actions{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;margin-top:1.5rem}
#lab-status{font-size:.8125rem;color:var(--kw-text-muted);flex-basis:100%}
.studio-review{margin-top:1.25rem}.studio-review ul{padding-left:1.25rem;list-style:disc}.studio-review li{font-size:.875rem;line-height:1.8;margin-bottom:.35rem}
.studio-next-tools{display:flex;flex-wrap:wrap;gap:.65rem 1.4rem;padding:2.5rem 0 0}
.studio-next-tools h2{flex-basis:100%;font-size:1.25rem!important;margin:0 0 .5rem}
.studio-next-tools a{display:inline-flex;align-items:center;gap:.5rem;font-size:.8125rem;color:var(--kw-text-primary);text-decoration:underline;text-decoration-color:#F5A800;text-underline-offset:4px}
.studio-diagram{width:100%;min-height:200px;overflow:auto}
.studio-diagram svg{width:100%;height:auto;min-width:380px}.studio-diagram text{font-family:Inter,sans-serif;fill:#191919}
.studio-preview-frame{width:100%;min-height:480px;border:1px solid #D6DAE0;background:#FFFFFF;border-radius:4px}
.studio-form-preview{display:grid;gap:1rem}.studio-form-preview label{display:grid;gap:.4rem;font-size:.875rem}.studio-form-preview input,.studio-form-preview select,.studio-form-preview textarea{padding:.7rem;border:1px solid #C5CBD2;border-radius:4px;width:100%;background:#FFFFFF;color:#191919}
.studio-list{display:grid;gap:.65rem}.studio-list button{min-height:44px;text-align:left;background:#FFFFFF;color:#191919;border:1px solid #D6DAE0;border-radius:4px;padding:.8rem}.studio-list button[aria-pressed=true]{border:2px solid #F5A800}
.studio-disclosure{border-top:1px solid #E1E4E8;padding:1rem 0}.studio-disclosure summary{cursor:pointer;font-weight:600;font-size:.875rem}
.studio-progress{height:5px;background:#E1E4E8;border-radius:3px;overflow:hidden;margin:1rem 0}.studio-progress>span{display:block;height:100%;background:#F5A800}
.studio-notice{font-size:.8125rem;line-height:1.65;color:#626872;padding:.8rem 0}
.studio-error{color:#B42318!important}.studio-tabs{display:flex;gap:.65rem;flex-wrap:wrap;margin-bottom:1.25rem}.studio-tabs button{border:0;border-bottom:2px solid transparent;background:none;color:#626872;padding:.75rem .5rem;min-height:44px}.studio-tabs button[aria-selected=true]{border-color:#F5A800;color:#191919;font-weight:600}
.hub-section{padding:3.5rem 0}.hub-section-heading{display:flex;justify-content:space-between;align-items:end;gap:2rem;margin-bottom:2rem}.hub-section-heading h2{margin:0 0 .65rem}.hub-section-heading p{color:var(--kw-text-muted);max-width:65ch;margin:0;line-height:1.7}
.hub-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.25rem}.hub-grid.premium-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
body main .hub-tool{display:flex;flex-direction:column;gap:1rem;background:#FFFFFF!important;color:#191919;border:1px solid #E1E4E8;border-radius:6px;padding:1.6rem;min-width:0;--kw-text-primary:#191919;--kw-text-secondary:#3D424A;--kw-text-muted:#626872;--kw-bg-input:#FFFFFF}
.hub-tool .hub-tool-meta{display:flex;justify-content:space-between;align-items:center;gap:.75rem;font-size:.75rem;color:#626872}.hub-tool-meta>i{font-size:25px;color:#8E5E00}.hub-tool h3{font-size:1.2rem!important;margin:0}.hub-tool p{font-size:.875rem;line-height:1.7;color:#626872;margin:0}.hub-tool ul{padding-left:1rem;list-style:disc;font-size:.8125rem;color:#626872;line-height:1.7}.hub-tool .kw-btn{margin-top:auto;align-self:start}.hub-tool small{font-size:.75rem;color:#626872}
.hub-filter{display:flex;gap:.75rem;align-items:center;flex-wrap:wrap;margin-bottom:1.5rem}.hub-filter label{flex:1;min-width:200px}.hub-filter input{padding:.75rem 1rem;min-height:46px;width:100%;border:1px solid var(--kw-border);border-radius:5px}.hub-filter button{min-height:44px}.hub-filter button[aria-pressed=true]{background:#F5A800!important;color:#191919!important}
body main .ai-access-panel{padding:2rem;margin-bottom:1.5rem}.ai-access-panel h2{font-size:1.35rem!important}.ai-access-panel p{color:#626872;line-height:1.7}.ai-workspace-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:1.25rem}.ai-result-editor{width:100%;min-height:280px;padding:.85rem;border:1px solid #C5CBD2;resize:vertical;line-height:1.7}.ai-result{overflow-wrap:anywhere;font-size:.9375rem;line-height:1.8}.ai-result h2,.ai-result h3{font-size:1.15rem!important;margin-top:1.5rem}.ai-result pre{background:#F4F5F6;padding:1rem;white-space:pre-wrap;overflow-wrap:anywhere;font: .8125rem/1.7 Consolas,monospace}.ai-result ul,.ai-result ol{padding-left:1.3rem;list-style:revert}.ai-result table{border-collapse:collapse;width:100%;font-size:.8125rem}.ai-result td,.ai-result th{border-bottom:1px solid #DEE1E5;padding:.5rem;text-align:left}.ai-input-meta{display:flex;justify-content:space-between;gap:.75rem;align-items:center;font-size:.75rem;color:#626872;margin:.75rem 0 1rem}
.lab-start-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.5rem}.lab-start-grid button{background:none;border:0;border-top:2px solid #F5A800;color:var(--kw-text-primary);padding:1.25rem 0;text-align:left}.lab-start-grid strong{font-size:1.125rem;display:block;margin-bottom:.6rem}.lab-start-grid span{display:block;font-size:.875rem;line-height:1.7;color:var(--kw-text-muted)}
@media(max-width:1100px){.studio-grid.wide-editor{grid-template-columns:minmax(0,1fr) 270px}.hub-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.studio-grid,.studio-grid.wide-editor,.ai-workspace-grid{grid-template-columns:minmax(0,1fr)}.studio-title-row{align-items:start;flex-direction:column;gap:1rem}.studio-title-row>.text-link{font-size:.875rem}.hub-section-heading{align-items:start;flex-direction:column;gap:1rem}}
@media(max-width:600px){.studio-heading{padding-top:1rem}.studio-panel{padding:1.1rem}.studio-project-bar{gap:.5rem}.studio-project-bar select{max-width:100%;width:100%}.studio-project-bar>label{width:100%}.studio-fields{grid-template-columns:minmax(0,1fr)}.studio-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.studio-output-actions .kw-btn{flex:1;justify-content:center;font-size:.8125rem}.studio-toolbar .kw-btn{font-size:.8125rem;padding:.65rem .8rem}.hub-grid,.hub-grid.premium-grid,.lab-start-grid{grid-template-columns:minmax(0,1fr)}.hub-tool{padding:1.25rem!important}.hub-section{padding:2.5rem 0}.studio-context{padding:1rem}.studio-table{min-width:570px}}
