@import url('./studio-fonts.css?v=20261009-preview-fonts');
/* Studio design: isolated from Classic; shared DOM keeps all business actions intact. */
html[data-theme="studio"]{--green:#3f7f55;--green-dark:#2f6042;--navy:#1f2a24;--muted:#66746d;--line:#cfe0d4;--surface:#fff;--admin-green:#3f7f55;--admin-dark:#1f2a24;--admin-muted:#66746d;--admin-line:#cfe0d4;--studio-primary:#3f7f55;--studio-accent:#eaf4ed;--studio-multi:#d4855a;--studio-random:#5b83ab;color-scheme:light}
html[data-theme="studio"] body{background:#f8f9f8;color:#1f2a24;font-family:'DM Sans',sans-serif;font-size:14px;line-height:1.5}
html[data-theme="studio"] :is(button,input,select,textarea){font-family:'DM Sans',sans-serif}
html[data-theme="studio"] :is(h1,h2,h3,h4,h5,h6,.brand-name,.field-head>span:not(.step)){font-family:'Space Grotesk',sans-serif;color:#1f2a24;letter-spacing:-.025em}
html[data-theme="studio"] :is(pre,code,.protected-editor,.tester-variable-value-editor,textarea[name*="prompt"]){font-family:'JetBrains Mono',monospace;font-size:13.5px;font-weight:400;line-height:1.75}
html[data-theme="studio"] :is(time,.variant-time){font-family:'JetBrains Mono',monospace;font-size:11px}
html[data-theme="studio"] *{scrollbar-width:thin;scrollbar-color:#a9c5b1 transparent}
html[data-theme="studio"] *::-webkit-scrollbar{width:6px;height:6px}
html[data-theme="studio"] *::-webkit-scrollbar-thumb{border-radius:20px;background:#a9c5b1}
html[data-theme="studio"] :is(.app,.admin-app){display:block;padding-left:64px;background:#f8f9f8;transition:padding-left .2s,margin-right .3s}
html[data-theme="studio"] :is(.app,.admin-app):has(.sidebar.is-pinned-open){padding-left:240px}
html[data-theme="studio"] :is(.main,.admin-main){min-width:0;margin:0;width:auto}
html[data-theme="studio"] .studio-sidebar,html[data-theme="studio"] .studio-sidebar:is(:hover,:focus-within,.is-collapsed){position:fixed;inset:0 auto 0 0;z-index:60;display:flex;flex-direction:column;width:64px;height:100dvh;padding:16px 12px;overflow:hidden;background:white;border-right:1px solid #cfe0d4;transition:width .2s}
html[data-theme="studio"] .studio-sidebar.is-pinned-open{width:240px}
html[data-theme="studio"] .studio-sidebar .brand{width:216px;min-height:48px;margin:0 0 24px;gap:12px;padding:0;text-decoration:none;color:#1f2a24}
html[data-theme="studio"] .studio-sidebar .brand-mark{flex:0 0 40px;width:40px;height:40px;border-radius:50%;border:1px solid #b4cfbd;background:#eaf4ed;box-shadow:none;color:#3f7f55}
html[data-theme="studio"] .studio-sidebar .brand-mark::before,html[data-theme="studio"] .studio-sidebar .brand-mark::after{display:none}
html[data-theme="studio"] .studio-sidebar .brand-mark svg{width:20px;height:20px}
html[data-theme="studio"] .studio-sidebar .brand-name{display:grid;opacity:0;visibility:hidden;transform:none;font-size:15px;line-height:1.2}
html[data-theme="studio"] .studio-sidebar .brand-name small{font:10px 'DM Sans',sans-serif;margin-top:5px;color:#66746d}
html[data-theme="studio"] .studio-sidebar .nav{display:flex;flex-direction:column;gap:4px;flex:1;min-height:0;overflow-y:auto;overflow-x:hidden}
html[data-theme="studio"] .studio-sidebar :is(.nav a,.side-link){display:flex;align-items:center;gap:12px;width:40px;height:40px;min-height:40px;padding:0 10px;border:0;border-radius:8px;color:#66746d;background:transparent;font-size:14px;font-weight:600;text-decoration:none;white-space:nowrap}
html[data-theme="studio"] .studio-sidebar :is(.nav a,.side-link):hover,html[data-theme="studio"] .studio-sidebar :is(.nav a,.side-link).active{background:#eaf4ed;color:#3f7f55}
html[data-theme="studio"] .studio-sidebar :is(.nav-icon,.side-icon){display:grid;place-items:center;flex:0 0 20px;width:20px;height:20px}
html[data-theme="studio"] .studio-sidebar :is(.nav-icon,.side-icon) svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2}
html[data-theme="studio"] .studio-sidebar :is(.nav-label,.side-label){display:inline;font-size:14px;color:inherit;opacity:0;visibility:hidden;transform:none}
html[data-theme="studio"] .studio-sidebar .sidebar-footer{margin-top:12px;flex:0 0 auto;padding:0;border:0}
html[data-theme="studio"] .studio-sidebar .sidebar-legal{display:none}
html[data-theme="studio"] .studio-sidebar.is-pinned-open :is(.brand-name,.nav-label,.side-label){opacity:1;visibility:visible;transform:none}
html[data-theme="studio"] .studio-sidebar.is-pinned-open :is(.nav a,.side-link){width:216px}
html[data-theme="studio"] .studio-sidebar.is-pinned-open .sidebar-legal{display:block;opacity:1;visibility:visible;font-size:10px;margin-top:10px}
html[data-theme="studio"] :is(.topbar,.admin-app .admin-header){position:sticky;top:0;z-index:50;display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:16px;min-height:56px;padding:9px 24px;border-bottom:1px solid #cfe0d4;background:#f8f9f8;backdrop-filter:none}
html[data-theme="studio"] .topbar>.page-title,html[data-theme="studio"] .admin-project-context{display:none}
html[data-theme="studio"] .studio-breadcrumb{display:flex;align-items:center;gap:7px;min-width:0;color:#66746d;font-size:13px}
html[data-theme="studio"] .studio-breadcrumb>a{color:#66746d;text-decoration:none}
html[data-theme="studio"] .studio-breadcrumb>b{font-weight:500;max-width:320px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html[data-theme="studio"] .studio-admin-navigation{position:relative;flex:0 0 auto;margin-left:9px}
html[data-theme="studio"] .studio-admin-navigation summary{display:flex;align-items:center;gap:6px;min-height:28px;padding:3px 9px;border:1px solid #cfe0d4;border-radius:6px;background:#fff;font-size:12px;font-weight:500;cursor:pointer;list-style:none}
html[data-theme="studio"] .studio-admin-navigation summary::-webkit-details-marker{display:none}
html[data-theme="studio"] .studio-admin-navigation[open] summary{color:#3f7f55;background:#eaf4ed;border-color:#3f7f55}
html[data-theme="studio"] .studio-admin-navigation svg{width:14px;height:14px}
html[data-theme="studio"] .studio-admin-navigation>div{position:absolute;top:calc(100% + 7px);left:0;width:230px;padding:5px;background:white;border:1px solid #cfe0d4;border-radius:6px;box-shadow:0 6px 20px #1f2a2414;z-index:80}
html[data-theme="studio"] .studio-admin-navigation a{display:flex;align-items:center;gap:10px;padding:7px 9px;color:#1f2a24;text-decoration:none;border-radius:4px}
html[data-theme="studio"] .studio-admin-navigation a:hover{background:#eaf4ed;color:#3f7f55}
html[data-theme="studio"] .top-actions{display:flex;flex:0 0 auto;gap:10px;align-items:center}
html[data-theme="studio"] .search-shell{height:36px;border-color:#cfe0d4;border-radius:8px;background:#fff;box-shadow:none}
html[data-theme="studio"] .search-input{height:34px;width:230px;max-width:100%;font-size:13px;color:#1f2a24}
html[data-theme="studio"] .user-chip{height:36px;min-height:36px;padding:3px 9px 3px 5px;border-color:#cfe0d4;border-radius:8px;background:white;gap:8px}
html[data-theme="studio"] .user-chip .avatar{width:26px;height:26px}
html[data-theme="studio"] .user-copy b{font-size:13px;color:#1f2a24}
html[data-theme="studio"] .user-copy small{display:none}
html[data-theme="studio"] .admin-notification-link{width:36px;height:36px;flex-basis:36px;border-radius:8px}
html[data-theme="studio"] .header-notification-badge,html[data-theme="studio"] .admin-notification-link b{background:#c9372d}
html[data-theme="studio"] .account-menu{border:1px solid #cfe0d4;border-radius:8px;box-shadow:0 6px 24px #1f2a2415}
html[data-theme="studio"] .account-menu :is(a,button){color:#1f2a24;font-size:13px}
html[data-theme="studio"] .account-menu :is(a,button):hover{background:#eaf4ed;color:#3f7f55}
html[data-theme="studio"] :is(.content,.admin-content){padding:24px;max-width:1600px;margin-inline:auto}
html[data-theme="studio"] :is(.panel,.admin-panel,.studio-panel,.admin-project-card,.project-card,.field-card,.submission-inbox){border:1px solid #cfe0d4;border-radius:12px;background:white;box-shadow:none}
html[data-theme="studio"] :is(.button,.admin-btn.primary,.submission-primary){min-height:32px;border-radius:6px;background:#3f7f55;border-color:#3f7f55;color:#f8f9f8;font-size:12px;font-weight:600;box-shadow:none}
html[data-theme="studio"] :is(.button,.admin-btn.primary,.submission-primary):hover{background:#2f6042}
html[data-theme="studio"] :is(.button.ghost,.admin-btn:not(.primary),.submission-button:not(.submission-primary)){border:1px solid #cfe0d4;border-radius:6px;background:white;color:#66746d;box-shadow:none;font-weight:500;font-size:12px}
html[data-theme="studio"] :is(.button.ghost,.admin-btn:not(.primary),.submission-button:not(.submission-primary)):hover{background:#eaf4ed;color:#3f7f55;border-color:#3f7f55}
html[data-theme="studio"] :is(button,a):focus-visible{outline:2px solid #3f7f55;outline-offset:2px}
html[data-theme="studio"] :is(input,select,textarea){border-color:#cfe0d4;border-radius:6px;color:#1f2a24;box-shadow:none;font-weight:400}
html[data-theme="studio"] :is(input,select,textarea):focus{outline:1px solid #3f7f55;border-color:#3f7f55}
html[data-theme="studio"] :is(button,input,select,textarea):disabled{opacity:.5}
html[data-theme="studio"] :is(.workbench-live,.studio-content){background:#f8f9f8}
html[data-theme="studio"] .workbench-live{max-width:1400px;padding-top:24px;padding-right:86px}
html[data-theme="studio"] .project-summary{display:flex;align-items:center;gap:20px;padding:20px 24px;border:1px solid #1f4d3a;border-radius:12px;background:#163d2c;box-shadow:none;color:#f8f9f8}
html[data-theme="studio"] .project-summary-orbit{display:none}
html[data-theme="studio"] .project-summary-copy{flex:1;min-width:0}
html[data-theme="studio"] .project-summary :is(strong,b,.summary-sub){color:#f8f9f8}
html[data-theme="studio"] .project-summary .project-line strong{font-family:'Space Grotesk',sans-serif;font-size:24px;font-weight:600}
html[data-theme="studio"] .project-summary :is(.project-summary-kicker,.project-summary-meta span,.project-summary-meta small){color:#9fd8b4}
html[data-theme="studio"] .project-summary-meta{background:transparent;border-color:#3c6450;border-radius:6px}
html[data-theme="studio"] .workspace{padding:0;background:transparent;border:0;box-shadow:none}
html[data-theme="studio"] .workbench-heading{padding:16px 0;border:0;gap:12px}
html[data-theme="studio"] .workbench-heading .section-heading{font-size:18px}
html[data-theme="studio"] .workspace-sub{font-size:12px;color:#66746d}
html[data-theme="studio"] .workbench-heading-actions{gap:6px}
html[data-theme="studio"] :is(.fields-reset-button,.section-edit,.section-toggle,.workbench-curl-button,.workbench-field-reset){min-height:32px;border:1px solid #cfe0d4;border-radius:6px;background:white;color:#66746d;box-shadow:none;font-size:12px;font-weight:500;padding:5px 9px}
html[data-theme="studio"] :is(.fields-reset-button,.section-edit,.section-toggle,.workbench-curl-button):hover{background:#eaf4ed;border-color:#3f7f55;color:#3f7f55;box-shadow:none}
html[data-theme="studio"] .workbench-category-group{padding:0;border:1px solid #cfe0d4;border-radius:12px;background:#fff;box-shadow:none;overflow:hidden;margin-bottom:16px;gap:0}
html[data-theme="studio"] .live-section{padding:0;border:0;border-radius:0;background:white;box-shadow:none}
html[data-theme="studio"] .live-section .field-head{padding:12px 16px;background:white;border-bottom:1px solid #cfe0d4;border-radius:0;gap:10px;font-size:15px}
html[data-theme="studio"] .live-section.is-sub .field-head{background:#f8f9f8;font-size:14px;padding:10px 16px}
html[data-theme="studio"] .step{display:grid;place-items:center;width:auto;min-width:28px;height:28px;border-radius:6px;border:0;background:#3f7f55;color:#fff;box-shadow:none;font-family:'Space Grotesk',sans-serif;font-size:12px;font-weight:700}
html[data-theme="studio"] .step::before,html[data-theme="studio"] .step::after{display:none}
html[data-theme="studio"] .section-content{padding:12px 16px}
html[data-theme="studio"] .section-tasks{background:transparent;border:0;padding:0}
html[data-theme="studio"] .section-tasks-title{font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:#66746d}
html[data-theme="studio"] .section-prompt{background:#f8f9f8;border:1px solid #cfe0d4;border-radius:6px;color:#1f2a24;padding:12px}
html[data-theme="studio"] .workbench-variable-actions{display:flex;flex-direction:row;gap:6px;padding:0;border:0;border-radius:0;background:transparent;width:auto;margin-top:5px}
html[data-theme="studio"] .workbench-variable-actions>button{width:auto;min-height:32px;border:1px solid #cfe0d4;border-radius:6px;background:white;color:#66746d;box-shadow:none;font-size:12px;padding:5px 9px}
html[data-theme="studio"] .workbench-variable-actions .tester-variable-manage{color:#3f7f55;background:#eaf4ed}
html[data-theme="studio"] .workbench-variable-actions .multitest-trigger.is-active{border-color:#d4855a;background:#fbf4ee;color:#a85a32;box-shadow:none}
html[data-theme="studio"] .workbench-variable-actions .random-trigger.is-active{border-color:#5b83ab;background:#eef3f8;color:#3e6086}
html[data-theme="studio"] .workbench-variable-actions svg{width:14px;height:14px}
html[data-theme="studio"] .multitest-trigger b{background:transparent;border:0;box-shadow:none;color:inherit}
html[data-theme="studio"] .generated{border-radius:8px;background:white;margin-top:18px;box-shadow:none}
html[data-theme="studio"] .generated-head{background:white;border-color:#cfe0d4;position:sticky;top:56px}
html[data-theme="studio"] .workbench-dispatch{padding:16px;margin-top:16px;background:white}
html[data-theme="studio"] .dispatch-button{min-height:40px;font-size:14px}
html[data-theme="studio"] .provider-grid{gap:8px}
html[data-theme="studio"] .provider-option{background:white;border-color:#cfe0d4;border-radius:6px;box-shadow:none}
html[data-theme="studio"] .provider-option.is-active{background:#eaf4ed;border-color:#3f7f55;color:#3f7f55}
html[data-theme="studio"] .studio-quick-nav{position:fixed;right:20px;top:140px;z-index:40;display:flex;flex-direction:column;align-items:center;gap:5px;width:44px;padding:4px;border:1px solid #cfe0d4;border-radius:8px;background:white}
html[data-theme="studio"] .studio-quick-nav :is(.prompt-visibility-toggle,.workbench-jump-down,.workbench-quick-tag,.workbench-quick-dispatch,.test-queue-toggle){position:relative;inset:auto;display:grid;place-items:center;width:34px;min-width:34px;min-height:34px;height:34px;max-width:34px;padding:0;margin:0;border:0;border-radius:6px;background:transparent;color:#66746d;box-shadow:none;transform:none}
html[data-theme="studio"] .studio-quick-nav :is(.prompt-visibility-toggle,.workbench-jump-down,.workbench-quick-tag):hover{background:#eaf4ed;color:#3f7f55}
html[data-theme="studio"] .studio-quick-nav .workbench-quick-dispatch{background:#3f7f55;color:white}
html[data-theme="studio"] .studio-quick-nav .repeat-start{display:flex;flex-direction:column;gap:0;border:0}
html[data-theme="studio"] .studio-quick-nav .repeat-start-toggle{width:34px;height:16px;min-height:16px;border:1px solid #aac7b3;border-top:0;background:#eaf4ed;color:#3f7f55;padding:0}
html[data-theme="studio"] .studio-quick-nav .repeat-start-panel{position:absolute;right:calc(100% + 6px);bottom:0;top:auto;left:auto;width:170px;min-width:170px;background:white;border-color:#cfe0d4;color:#1f2a24}
html[data-theme="studio"] .studio-quick-nav .workbench-quick-dock{display:contents}
html[data-theme="studio"] .studio-quick-nav :is(.workbench-quick-tag-indicator,.workbench-quick-tag small){display:none}
html[data-theme="studio"] .studio-quick-nav .workbench-quick-tag b{position:absolute;right:calc(100% + 7px);padding:7px 10px;border:1px solid #cfe0d4;border-radius:6px;background:white;color:#66746d;font-size:12px;white-space:nowrap;display:none}
html[data-theme="studio"] .studio-quick-nav .workbench-quick-tag:hover b,html[data-theme="studio"] .studio-quick-nav .workbench-quick-tag:focus-visible b{display:block}
html[data-theme="studio"] .studio-quick-nav .test-queue-toggle svg{width:24px;height:24px}
html[data-theme="studio"] .studio-quick-nav .test-queue-toggle b{position:absolute;inset:auto;font-size:10px}
html[data-theme="studio"] .demo-drawer{top:56px;height:calc(100dvh - 56px);padding:16px;border-left:1px solid #cfe0d4;background:white;box-shadow:-4px 0 20px #1f2a2408}
html[data-theme="studio"] .demo-drawer>.drawer-header{top:-16px;margin:-16px -16px 0;padding:12px 16px;background:white;box-shadow:none;border-bottom:1px solid #cfe0d4}
html[data-theme="studio"] .drawer-kicker{font-size:10px;letter-spacing:.08em;color:#66746d}
html[data-theme="studio"] .drawer-header h2{font-size:18px}
html[data-theme="studio"] .drawer-context,html[data-theme="studio"] .drawer-note{font-size:12px;color:#66746d}
html[data-theme="studio"] .drawer-close{display:grid;place-items:center;width:32px;height:32px;border:1px solid #cfe0d4;border-radius:6px;color:#66746d;background:white;font-size:20px;box-shadow:none}
html[data-theme="studio"] :is(.tester-variable-admin-values,.tester-variable-personal,.tester-variable-form){border-color:#cfe0d4;background:white;border-radius:8px;box-shadow:none}
html[data-theme="studio"] .tester-variable-variant-row{border-color:#cfe0d4;background:white;border-radius:6px}
html[data-theme="studio"] .tester-variable-variant-badge{border-color:#d4855a;background:#fbf4ee;color:#a85a32;border-radius:4px}
html[data-theme="studio"] .tester-variable-personal-badge{background:#eef3f8;color:#3e6086}
html[data-theme="studio"] :is(.multitest-dialog,.resource-library-dialog,.submission-dialog,.tester-variable-ai-dialog){position:fixed;top:72px;bottom:auto;margin:0 auto;max-height:calc(100dvh - 90px);border:1px solid #cfe0d4;border-radius:12px;background:white;color:#1f2a24;box-shadow:0 15px 45px #1f2a2426}
html[data-theme="studio"] dialog::backdrop{background:#1f2a2466;backdrop-filter:blur(2px)}
html[data-theme="studio"] .multitest-dialog header{background:white;border-bottom:1px solid #cfe0d4}
html[data-theme="studio"] .multitest-dialog h2{font-size:20px}
html[data-theme="studio"] .multitest-value{background:white;border-color:#cfe0d4;border-radius:6px;font-size:13px}
html[data-theme="studio"] .multitest-value:has(input:checked){border-color:#d4855a;background:#fbf4ee}
html[data-theme="studio"] #random-dialog .multitest-value:has(input:checked){border-color:#5b83ab;background:#eef3f8}
html[data-theme="studio"] .result-card{border-color:#cfe0d4;background:white;border-radius:10px;box-shadow:none}
html[data-theme="studio"] .version-strip button{border-color:#cfe0d4;border-radius:6px;box-shadow:none}
html[data-theme="studio"] .submission-intro{background:#eaf4ed;border-color:#cfe0d4;box-shadow:none}
html[data-theme="studio"] .submission-intro h1{font-size:25px}
html[data-theme="studio"] .submission-page{--submission-ink:#1f2a24;--submission-muted:#66746d;--submission-line:#cfe0d4;--submission-green:#3f7f55}
html[data-theme="studio"] .theme-preferences{margin:24px;padding:20px;background:white;border:1px solid #cfe0d4;border-radius:12px}
html[data-theme="studio"] .theme-preferences h2{font-size:18px;margin:0 0 5px}
html[data-theme="studio"] .theme-preferences p{color:#66746d;font-size:13px}
.theme-preferences button{padding:8px 14px;margin-right:8px;border:1px solid #cfe0d4;border-radius:6px;background:white;color:#66746d;cursor:pointer}
.theme-preferences button[aria-pressed="true"]{background:#eaf4ed;border-color:#3f7f55;color:#3f7f55}
@media(max-width:1100px){html[data-theme="studio"] .search-input{width:160px}html[data-theme="studio"] .studio-breadcrumb>b{max-width:180px}html[data-theme="studio"] .studio-admin-navigation summary span{display:none}html[data-theme="studio"] .user-copy{display:none}}
@media(max-width:760px){html[data-theme="studio"] :is(.topbar,.admin-app .admin-header){gap:8px;padding:10px 12px;min-height:56px;flex-wrap:wrap}html[data-theme="studio"] .top-actions>.search-shell,html[data-theme="studio"] .top-actions>.project-quick-search{display:none}html[data-theme="studio"] .studio-breadcrumb{flex:1;font-size:12px}html[data-theme="studio"] .studio-breadcrumb>b{max-width:150px}html[data-theme="studio"] .studio-breadcrumb>a,html[data-theme="studio"] .studio-breadcrumb>span{display:none}html[data-theme="studio"] .studio-sidebar.is-pinned-open{width:240px;box-shadow:10px 0 25px #1f2a241a}html[data-theme="studio"] :is(.app,.admin-app):has(.sidebar.is-pinned-open){padding-left:64px}html[data-theme="studio"] :is(.content,.admin-content){padding:16px}html[data-theme="studio"] .workbench-live{padding-right:16px;padding-bottom:80px}html[data-theme="studio"] .project-summary{padding:16px;flex-wrap:wrap;gap:10px}html[data-theme="studio"] .project-summary .project-line strong{font-size:20px}html[data-theme="studio"] .workbench-heading{flex-wrap:wrap}html[data-theme="studio"] .workbench-variable-actions{flex-wrap:wrap}html[data-theme="studio"] .studio-quick-nav{top:auto;bottom:12px;right:12px;width:auto;flex-direction:row;box-shadow:0 4px 20px #1f2a241a}html[data-theme="studio"] .studio-quick-nav .repeat-start{flex-direction:row}html[data-theme="studio"] .studio-quick-nav .repeat-start-toggle{width:16px;height:34px;border-top:1px solid #aac7b3;border-left:0}html[data-theme="studio"] .demo-drawer{top:0;height:100dvh;width:100vw;max-width:100vw}html[data-theme="studio"] :is(.multitest-dialog,.resource-library-dialog,.submission-dialog,.tester-variable-ai-dialog){top:12px;max-height:calc(100dvh - 24px);max-width:calc(100vw - 24px)}html[data-theme="studio"] .studio-admin-navigation>div{left:auto;right:0}html[data-theme="studio"] .theme-preferences{margin:16px}}
html[data-theme="studio"] .project-summary::before,html[data-theme="studio"] .project-summary::after{display:none}
html[data-theme="studio"] .live-section .field-head .step{border-radius:6px!important;background:#3f7f55!important;border:0!important;box-shadow:none!important;color:white!important;width:auto!important;min-width:28px!important;height:28px!important}
html[data-theme="studio"] .section-edit .section-edit-icon{width:16px;height:16px;padding:0;border:0;background:none;box-shadow:none}
html[data-theme="studio"] .workbench-live .section-edit i{border:0;background:none;box-shadow:none;width:16px;height:16px}
html[data-theme="studio"] .workbench-live .section-edit svg{width:14px;height:14px;padding:0}
html[data-theme="studio"] .studio-quick-nav svg{width:16px;height:16px}
html[data-theme="studio"] .workbench-heading .workbench-dirty{background:#fbf4ee;border-color:#d4855a;color:#a85a32}
html[data-theme="studio"] .section-tasks :is(select,input:not([type="checkbox"]):not([type="radio"]):not([type="range"])){width:min(640px,100%);min-height:36px;font-size:13px;padding:7px 11px}
html[data-theme="studio"] .studio-value-field{display:flex;align-items:stretch;width:min(640px,100%);height:36px;overflow:hidden;border:1px solid #cfe0d4;border-radius:6px;background:white}
html[data-theme="studio"] .studio-value-field select{flex:1;width:auto!important;min-width:0;border:0;border-radius:0;padding:6px 10px}
html[data-theme="studio"] .studio-value-field .tester-variable-manage{display:flex;align-items:center;gap:6px;flex:0 0 auto;min-height:34px;margin:0;padding:0 10px;border:0;border-left:1px solid #cfe0d4;border-radius:0;background:#eaf4ed;color:#3f7f55;font-size:12px;box-shadow:none}
html[data-theme="studio"] .studio-value-field .tester-variable-manage:hover{background:#3f7f55;color:white}
html[data-theme="studio"] .studio-value-field svg{width:14px;height:14px}
html[data-theme="studio"] .studio-quick-nav .repeat-start-toggle{position:static;inset:auto;transform:none;margin:0;border-radius:0 0 6px 6px}
html[data-theme="studio"] .studio-quick-nav .repeat-start-panel{grid-template-columns:repeat(4,1fr)}
html[data-theme="studio"] .studio-quick-nav .repeat-start-panel small{white-space:normal}
@media(max-width:760px){html[data-theme="studio"] .studio-quick-nav{left:auto!important;right:12px!important;max-width:calc(100vw - 88px);width:max-content}html[data-theme="studio"] .studio-quick-nav .repeat-start{width:auto;flex-basis:auto}html[data-theme="studio"] .studio-quick-nav .repeat-start-toggle{border-radius:0 6px 6px 0}html[data-theme="studio"] .studio-quick-nav .repeat-start-panel{top:auto!important;bottom:calc(100% + 8px)!important;right:0!important;left:auto!important}}
html[data-theme="studio"] .studio-view-group{position:relative}
html[data-theme="studio"] .studio-view-modes{position:absolute;right:calc(100% + 6px);top:0;display:none;gap:3px;padding:3px;background:white;border:1px solid #cfe0d4;border-radius:6px}
html[data-theme="studio"] .studio-view-group:hover .studio-view-modes,html[data-theme="studio"] .studio-view-group:focus-within .studio-view-modes{display:flex}
html[data-theme="studio"] .studio-view-modes button{display:grid;place-items:center;width:32px;height:32px;padding:0;border:0;border-radius:4px;background:white;color:#66746d}
html[data-theme="studio"] .studio-view-modes button:is(:hover,.active){background:#eaf4ed;color:#3f7f55}
html[data-theme="studio"] .studio-forms-only .live-section:not(:has(.section-tasks)){display:none}
html[data-theme="studio"] .studio-forms-only .live-section .section-prompt{display:none!important}
html[data-theme="studio"] .studio-project-tools{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
html[data-theme="studio"] .studio-project-tools button{background:transparent;color:#f8f9f8;border-color:#416c54;font-size:11px;min-height:32px;white-space:nowrap}
html[data-theme="studio"] .studio-project-tools button:hover{background:#244d37;color:white;border-color:#9fd8b4}
html[data-theme="studio"] .project-summary-actions{display:flex;flex-direction:column;gap:10px;align-items:flex-end}
html[data-theme="studio"] .studio-breadcrumb .workbench-dirty{font-size:11px;color:#a85a32;background:#fbf4ee;border:1px solid #d4855a;border-radius:20px;white-space:nowrap;padding:3px 7px}
html[data-theme="studio"] .studio-breadcrumb .workbench-dirty.is-clean{color:#3f7f55;background:#eaf4ed;border-color:#cfe0d4}
html[data-theme="studio"] :is(.admin-project-overview,.admin-project-overview-header,.admin-project-card,.project-summary-meta,.admin-project-lead){box-shadow:none;background-image:none;border-color:#cfe0d4}
html[data-theme="studio"] .admin-project-overview{border-radius:12px;background:white}
html[data-theme="studio"] :is(.admin-project-meta,.admin-project-card p,.studio-panel p,.results-heading small){color:#66746d}
@media(max-width:1050px){html[data-theme="studio"] .project-summary{flex-wrap:wrap}html[data-theme="studio"] .project-summary-actions{width:100%;flex-direction:row;align-items:center;justify-content:space-between}html[data-theme="studio"] .studio-breadcrumb .workbench-dirty{display:none}}
@media(max-width:760px){html[data-theme="studio"] .studio-view-modes{top:auto;bottom:calc(100% + 6px);right:0}html[data-theme="studio"] .studio-project-tools{width:100%}html[data-theme="studio"] .project-summary-actions{flex-wrap:wrap}html[data-theme="studio"] .studio-project-tools button span{max-width:110px;overflow:hidden;text-overflow:ellipsis}}
html[data-theme="studio"]{overflow-x:clip}
html[data-theme="studio"] body{min-width:0;overflow-x:clip}
@media(max-width:760px){html[data-theme="studio"] .studio-quick-nav{right:12px!important;left:auto!important;bottom:12px!important;top:auto!important}html[data-theme="studio"] .studio-quick-nav .test-queue-toggle[hidden]{display:none!important}html[data-theme="studio"] .studio-quick-nav .workbench-quick-tag{display:grid!important}}
/* Layout transcribed from the local Lovable reference, with real BKI controls. */
html[data-theme="studio"] .topbar{height:56px;min-height:56px;padding-block:0}
html[data-theme="studio"] .topbar .search-shell{min-height:32px;height:32px}
html[data-theme="studio"] .topbar .search-input{height:30px}
html[data-theme="studio"] .workbench-live{box-sizing:border-box;max-width:1200px;padding:24px 92px 32px 24px}
html[data-theme="studio"] .workbench-ready-content{display:flex;flex-direction:column;gap:24px}
html[data-theme="studio"] .project-summary{min-height:0;margin:0;padding:14px 20px;gap:16px;border:1px solid #cfe0d4;background:#edf5ef;color:#1f2a24;flex-wrap:wrap}
html[data-theme="studio"] .project-summary-copy{min-width:240px}
html[data-theme="studio"] .project-summary-kicker{display:none}
html[data-theme="studio"] .project-summary .project-line{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0;line-height:1.4}
html[data-theme="studio"] .project-summary .project-line strong{font-size:20px;font-weight:700;color:#1f2a24}
html[data-theme="studio"] .project-summary .summary-sub{margin:4px 0 0;font-size:14px;color:#66746d;line-height:1.5}
html[data-theme="studio"] .project-summary-status{display:inline-flex;align-items:center;gap:6px;height:24px;padding:0 9px;border:1px solid #b8d0bf;border-radius:20px;background:white;color:#3f7f55;font:500 12px 'DM Sans',sans-serif}
html[data-theme="studio"] .project-summary-status i{width:6px;height:6px;background:#3f7f55;box-shadow:none}
html[data-theme="studio"] .project-summary-meta{display:inline-flex;width:auto;min-width:0;padding:2px 9px;height:24px;border:1px solid #cfe0d4;border-radius:20px;background:white;box-sizing:border-box}
html[data-theme="studio"] .project-summary-meta :is(span,small){display:none}
html[data-theme="studio"] .project-summary-meta b{margin:0;color:#1f2a24;font:600 12px 'JetBrains Mono',monospace;white-space:nowrap}
html[data-theme="studio"] .project-summary-actions{width:auto;flex-direction:row;align-items:center;flex-wrap:wrap;gap:8px}
html[data-theme="studio"] .studio-project-tools{gap:8px}
html[data-theme="studio"] .studio-project-tools button{background:white;color:#66746d;border-color:#cfe0d4;font-size:12px;min-height:32px;padding:5px 10px}
html[data-theme="studio"] .studio-project-tools button:hover{background:#eaf4ed;color:#3f7f55;border-color:#3f7f55}
html[data-theme="studio"] .project-summary .admin-dynamic-return{order:2}
html[data-theme="studio"] .project-summary .admin-dynamic-return button{min-height:32px;padding:5px 9px;font-size:11px;background:white;color:#66746d;border:1px solid #cfe0d4;border-radius:6px;box-shadow:none}
html[data-theme="studio"] .workspace{margin:0;display:flex;flex-direction:column;gap:24px}
html[data-theme="studio"] .studio-workbench-heading{display:none}
html[data-theme="studio"] .workbench-resources{padding:0;margin:0;border:0;background:transparent;box-shadow:none}
html[data-theme="studio"] .resource-section-heading{padding:0 4px;margin-bottom:14px;display:block}
html[data-theme="studio"] .resource-section-heading h3{font-size:18px;margin:0;font-weight:600}
html[data-theme="studio"] .resource-section-heading :is(span,>p){display:none}
html[data-theme="studio"] #workbench-resource-groups{display:grid;gap:16px;padding:24px;border:1px solid #cfe0d4;border-radius:16px;background:white}
html[data-theme="studio"] .workbench-resource-group{padding:0;border:0;background:transparent;border-radius:0;box-shadow:none}
html[data-theme="studio"] .workbench-resource-group>header{padding:0;margin-bottom:8px;align-items:start}
html[data-theme="studio"] .workbench-resource-group>header h4{font-size:14px;font-weight:600}
html[data-theme="studio"] .workbench-resource-group>header p{font-size:12px;color:#66746d;margin-top:2px}
html[data-theme="studio"] .workbench-resource-group>header>span{display:none}
html[data-theme="studio"] .workbench-resource-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 24px}
html[data-theme="studio"] .workbench-upload-field{position:relative;display:flex;align-items:center;gap:16px;min-height:80px;margin:0;padding:8px;border:0;border-radius:6px;background:transparent;cursor:pointer;box-shadow:none}
html[data-theme="studio"] .workbench-upload-field:hover{background:#f1f5f2}
html[data-theme="studio"] .studio-upload-copy{min-width:0;display:grid;gap:2px;flex:1}
html[data-theme="studio"] .studio-upload-copy>b{font-size:14px;color:#1f2a24}
html[data-theme="studio"] .studio-upload-copy>small{font-size:11px;color:#66746d}
html[data-theme="studio"] .studio-upload-copy>span{min-width:0;display:grid;gap:2px}
html[data-theme="studio"] .studio-upload-copy>span>b{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#1f2a24}
html[data-theme="studio"] .studio-upload-copy>span>small{font-size:12px;color:#66746d}
html[data-theme="studio"] .workbench-upload-field>.resource-upload-button{position:absolute;inset:0;opacity:0;z-index:-1;width:100%;min-height:0;pointer-events:none}
html[data-theme="studio"] .studio-upload-placeholder,html[data-theme="studio"] .workbench-upload-field>.resource-image-preview{display:flex;align-items:center;justify-content:center;width:64px;height:64px;flex:0 0 64px;border-radius:6px;margin:0}
html[data-theme="studio"] .studio-upload-placeholder{border:1px dashed #cfe0d4;color:#66746d}
html[data-theme="studio"] .studio-upload-placeholder svg{width:20px;height:20px}
html[data-theme="studio"] .resource-image-preview>img{width:64px;height:64px;max-width:64px;max-height:64px;object-fit:cover;border-radius:6px}
html[data-theme="studio"] .studio-upload-remove{position:absolute;left:60px;top:3px;z-index:2;width:20px;height:20px;padding:0;border:0;border-radius:50%;background:#1f2a24b3;color:white;font-size:15px}
html[data-theme="studio"] .studio-upload-remove:hover{background:#c9372d}
html[data-theme="studio"] #workbench-sections{display:block;border:1px solid #cfe0d4;border-radius:16px;background:white;overflow:clip}
html[data-theme="studio"] .workbench-category-group{border:0;border-bottom:1px solid #cfe0d4;border-radius:0;margin:0;padding:0;overflow:visible}
html[data-theme="studio"] .workbench-category-group:last-child{border-bottom:0}
html[data-theme="studio"] .live-section.is-header{border-bottom:1px solid #cfe0d4}
html[data-theme="studio"] .live-section .field-head{min-height:44px;padding:8px 12px;border:0;gap:12px;font-size:16px;position:sticky;top:56px;z-index:8;box-sizing:border-box}
html[data-theme="studio"] .live-section .field-head[role="button"]{cursor:pointer}
html[data-theme="studio"] .live-section:hover>.field-head{background:#f1f5f2}
html[data-theme="studio"] .live-section .field-head>span:not(.step){font-weight:600;font-size:16px}
html[data-theme="studio"] .live-section .field-head :is(.section-edit,.section-toggle){width:32px;min-width:32px;height:32px;padding:0;display:flex;align-items:center;justify-content:center;opacity:0}
html[data-theme="studio"] .live-section:hover .field-head :is(.section-edit,.section-toggle),html[data-theme="studio"] .field-head:focus-within :is(.section-edit,.section-toggle){opacity:1}
html[data-theme="studio"] .field-head :is(.section-edit,.section-toggle)>span{display:none}
html[data-theme="studio"] .field-head .section-toggle{margin-left:auto}
html[data-theme="studio"] .field-head .section-edit{margin-left:0}
html[data-theme="studio"] .field-head .section-edit:last-child:nth-child(3){margin-left:auto}
html[data-theme="studio"] .live-section.is-sub .field-head{position:static;background:transparent;padding:6px 24px;font-size:14px}
html[data-theme="studio"] .live-section.is-sub .field-head>span:not(.step){font-size:14px}
html[data-theme="studio"] .live-section .section-content{padding:0 24px 16px}
html[data-theme="studio"] .live-section .section-content:not(:has(.section-tasks)){padding-bottom:0}
html[data-theme="studio"] .live-section .section-content:has(.section-prompt:not([hidden])){padding-bottom:16px}
html[data-theme="studio"] .workbench-subsections{padding:0 0 8px}
html[data-theme="studio"] .section-tasks-title{display:none}
html[data-theme="studio"] .section-tasks{display:grid;gap:12px;margin:0;padding:0}
html[data-theme="studio"] .live-field-label{margin-bottom:5px;font-size:14px;font-weight:500;color:#1f2a24}
html[data-theme="studio"] .section-prompt{border:0;background:transparent;padding:0;margin:0 0 12px;font-size:15px;line-height:1.6;font-family:'DM Sans',sans-serif;color:#1f2a24}
html[data-theme="studio"] .workbench-control.is-select{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
html[data-theme="studio"] .workbench-variable-actions{margin:0;gap:6px;align-items:center}
html[data-theme="studio"] .studio-mode-select{position:relative;font-size:12px}
html[data-theme="studio"] .studio-mode-select summary{display:flex;align-items:center;gap:6px;height:36px;padding:0 12px;background:white;color:#1f2a24;border:1px solid #cfe0d4;border-radius:6px;cursor:pointer;list-style:none;white-space:nowrap;font-weight:600}
html[data-theme="studio"] .studio-mode-select summary::-webkit-details-marker{display:none}
html[data-theme="studio"] .studio-mode-select.is-random summary{color:#3e6086;background:#eef3f8;border-color:#5b83ab}
html[data-theme="studio"] .studio-mode-select.is-multitest summary{color:#a85a32;background:#fbf4ee;border-color:#d4855a}
html[data-theme="studio"] .studio-mode-options{position:absolute;left:0;top:calc(100% + 5px);z-index:30;width:190px;padding:5px;border:1px solid #cfe0d4;border-radius:6px;background:white;box-shadow:0 5px 18px #1f2a241a}
html[data-theme="studio"] .studio-mode-options>button{display:flex;align-items:center;gap:8px;width:100%;min-height:32px;padding:6px 8px;border:0;background:white;color:#1f2a24;text-align:left;font-size:12px;border-radius:4px;box-shadow:none}
html[data-theme="studio"] .studio-mode-options>button:hover{background:#eaf4ed}
html[data-theme="studio"] .studio-mode-options svg{width:14px;height:14px}
html[data-theme="studio"] .workbench-field-reset{display:none}
html[data-theme="studio"] .generated{margin:0;padding:0;border-radius:16px;overflow:visible}
html[data-theme="studio"] .generated-head{padding:12px 24px;border-radius:16px 16px 0 0}
html[data-theme="studio"] .generated-title{font:600 18px 'Space Grotesk',sans-serif;color:#1f2a24}
html[data-theme="studio"] .generated-prompt-box{margin:0 24px;padding:16px 12px;border:0;border-top:1px solid #cfe0d4;background:white}
html[data-theme="studio"] .generated .workbench-dispatch{border:0;border-top:1px solid #cfe0d4;margin:0 24px;padding:16px 12px;border-radius:0;background:white}
html[data-theme="studio"] .dispatch-heading>div:first-child{display:none}
html[data-theme="studio"] .dispatch-heading{margin:0;justify-content:flex-end}
html[data-theme="studio"] .dispatch-heading:has(.extension-state[hidden]){display:none}
html[data-theme="studio"] .dispatch-footer{display:flex;align-items:center;gap:12px;border:0;padding:0;margin:0;flex-wrap:wrap}
html[data-theme="studio"] .dispatch-actions{flex:1;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
html[data-theme="studio"] #dispatch-requirement{font-size:12px;color:#66746d;margin:10px 0 0;padding:0;line-height:1.5}
html[data-theme="studio"] .studio-provider-picker{position:relative}
html[data-theme="studio"] .studio-provider-picker summary{display:flex;align-items:center;gap:8px;height:40px;padding:0 12px;border:1px solid #b8d0bf;border-radius:6px;background:#eaf4ed;color:#66746d;cursor:pointer;list-style:none;font-size:12px}
html[data-theme="studio"] .studio-provider-picker summary b{color:#1f2a24;font-size:14px}
html[data-theme="studio"] .studio-provider-picker summary::-webkit-details-marker{display:none}
html[data-theme="studio"] .studio-provider-picker .provider-grid{position:absolute;bottom:calc(100% + 8px);left:0;z-index:30;display:grid;grid-template-columns:1fr;width:min(460px,70vw);padding:6px;background:white;border:1px solid #cfe0d4;border-radius:8px;gap:3px;box-shadow:0 5px 18px #1f2a241a}
html[data-theme="studio"] .studio-provider-picker .provider-option{padding:8px;border:0;min-height:0;background:white;display:flex}
html[data-theme="studio"] .studio-provider-picker .provider-option:is(:hover,.is-selected){background:#eaf4ed}
html[data-theme="studio"] .studio-provider-picker .provider-icon{width:32px;height:32px;border:0;background:none;box-shadow:none}
html[data-theme="studio"] .studio-provider-picker .provider-copy{flex:1}
html[data-theme="studio"] .studio-quick-nav{right:max(24px,calc((100vw - 64px - 1152px)/2));top:80px}
html[data-theme="studio"] .dispatch-tag-button{height:40px;min-height:40px;padding:0 12px;border:1px solid #cfe0d4;border-radius:6px;background:white;color:#66746d;font-size:12px}
html[data-theme="studio"] .dispatch-tag-button b{color:#1f2a24;font-size:14px}
html[data-theme="studio"] .raw-prompt-toggle{height:32px;min-height:32px;padding:0 10px;border-radius:6px;border:1px solid #cfe0d4;background:white;color:#66746d;font-size:12px}
@media(max-width:760px){html[data-theme="studio"] .workbench-live{padding:16px 16px 88px}html[data-theme="studio"] .workbench-resource-grid{grid-template-columns:1fr}html[data-theme="studio"] #workbench-resource-groups{padding:16px}html[data-theme="studio"] .project-summary-copy{min-width:0;width:100%}html[data-theme="studio"] .project-summary-actions{width:100%}html[data-theme="studio"] .studio-project-tools{width:auto}html[data-theme="studio"] .studio-project-tools button span{max-width:none}html[data-theme="studio"] .project-summary .admin-dynamic-return{width:100%}html[data-theme="studio"] .live-section .field-head{padding:8px 10px;gap:8px}html[data-theme="studio"] .live-section .field-head>span:not(.step){font-size:14px;min-width:0;flex:1}html[data-theme="studio"] .live-section .field-head :is(.section-edit,.section-toggle){opacity:1;min-width:28px;width:28px}html[data-theme="studio"] .live-section .section-content{padding-inline:14px}html[data-theme="studio"] .studio-mode-select summary{height:32px}html[data-theme="studio"] .generated-head{padding:12px 14px;flex-wrap:wrap;gap:8px}html[data-theme="studio"] .generated .workbench-dispatch{margin-inline:14px;padding-inline:0}html[data-theme="studio"] .dispatch-footer{align-items:stretch}html[data-theme="studio"] .dispatch-actions{width:100%;flex-basis:100%;gap:8px}html[data-theme="studio"] .studio-provider-picker summary{max-width:100%}html[data-theme="studio"] .studio-provider-picker .provider-grid{bottom:auto;top:calc(100% + 8px);width:min(460px,calc(100vw - 122px))}html[data-theme="studio"] .studio-mode-options{width:160px}html[data-theme="studio"] .workbench-ready-content,html[data-theme="studio"] .workspace{gap:20px}}
html[data-theme="studio"] .project-summary .project-summary-meta b{color:#1f2a24}
html[data-theme="studio"] .workbench-live .field-head{margin:0;padding-block:6px;min-height:44px}
html[data-theme="studio"] .workbench-live:not(.show-section-prompts) .section-content:not(:has(.section-tasks)){padding-block:0}
html[data-theme="studio"] .workbench-live .studio-value-field select{background:white;min-height:34px;box-shadow:none}
html[data-theme="studio"] .workbench-live .dispatch-actions{background:none;border:0;box-shadow:none;padding:0}
html[data-theme="studio"] .workbench-live .repeat-start-toggle{position:static;inset:auto;transform:none;margin:0;height:40px;border-radius:0 6px 6px 0;flex:0 0 28px;min-width:28px;border:1px solid #b8d0bf;border-left:0;background:#eaf4ed;color:#3f7f55}
html[data-theme="studio"] .workbench-live .repeat-start{display:flex;gap:0}
html[data-theme="studio"] .workbench-live .repeat-start>button:first-child{border-radius:6px 0 0 6px}
html[data-theme="studio"] .workbench-live .repeat-start-panel{bottom:calc(100% + 6px);top:auto;right:0;left:auto;background:white;border:1px solid #cfe0d4;color:#1f2a24}
html[data-theme="studio"] .workbench-live :is(.browsercloud-intelligence-setting,.browsercloud-service-status,.extension-state){box-shadow:none}
html[data-theme="studio"] .workbench-live .browsercloud-intelligence-setting{background:#f8f9f8;border-color:#cfe0d4}
html[data-theme="studio"] .workbench-live .browsercloud-intelligence-setting :is(b,small){color:#66746d}
html[data-theme="studio"] .workbench-live .section-prompt{font:400 15px/1.6 'DM Sans',sans-serif}
html[data-theme="studio"] .studio-mode-options .workbench-field-reset{display:flex}
html[data-theme="studio"] .studio-prompt-heading{padding:0 4px;margin-bottom:-8px}
html[data-theme="studio"] .studio-prompt-heading h2{font-size:18px;font-weight:600;margin:0}
html[data-theme="studio"] .studio-prompt-heading p{font-size:14px;color:#66746d;margin:2px 0 0}
html[data-theme="studio"] #workbench-sections{padding:12px 24px}
html[data-theme="studio"] .workbench-live .live-section .section-content{padding-left:52px;padding-right:12px}
html[data-theme="studio"] .workbench-live .live-section.is-sub .field-head{padding-left:52px}
html[data-theme="studio"] .live-section.is-sub .field-head .step{background:transparent!important;color:#3f7f55!important;min-width:0!important;height:auto!important;font-family:'JetBrains Mono',monospace!important}
html[data-theme="studio"] .workbench-live .live-section.is-sub .section-content{padding-left:52px}
html[data-theme="studio"] .studio-resource-limits{display:block;padding:12px 24px 0;margin-top:-1px;font-size:12px;color:#66746d}
html[data-theme="studio"] .workbench-resources:has(.studio-resource-limits) #workbench-resource-groups{border-radius:16px 16px 0 0;border-bottom:0;padding-bottom:0}
html[data-theme="studio"] .studio-resource-limits{background:white;border:1px solid #cfe0d4;border-top:0;border-radius:0 0 16px 16px;padding-bottom:24px}
html[data-theme="studio"] .studio-provider-picker:not([open])>.provider-grid,html[data-theme="studio"] .studio-mode-select:not([open])>.studio-mode-options{display:none}
@media(max-width:760px){html[data-theme="studio"] #workbench-sections{padding:8px}html[data-theme="studio"] .workbench-live .live-section .section-content{padding-left:14px}html[data-theme="studio"] .workbench-live .live-section.is-sub :is(.field-head,.section-content){padding-left:24px}html[data-theme="studio"] .studio-resource-limits{padding-inline:16px;padding-bottom:16px}}
html[data-theme="studio"] .studio-upload-title{display:flex;align-items:center;gap:8px;min-width:0}
html[data-theme="studio"] .studio-upload-title b{font-size:14px;font-weight:500;color:#1f2a24}
html[data-theme="studio"] .studio-upload-badge{font-size:11px;color:#66746d;padding:1px 6px;border:1px solid #cfe0d4;border-radius:3px;white-space:nowrap}
html[data-theme="studio"] .studio-upload-badge.is-required{background:#eaf4ed;color:#3f7f55;border-color:#aac7b3}
html[data-theme="studio"] .studio-upload-hint{font-size:12px;color:#66746d}
html[data-theme="studio"] .workbench-live :is(.live-section,.workbench-subsections,.workbench-category-group)::before,html[data-theme="studio"] .workbench-live :is(.live-section,.workbench-subsections,.workbench-category-group)::after{display:none}
html[data-theme="studio"] .workbench-live .live-section{box-shadow:none!important;background-image:none!important}
html[data-theme="studio"] .workbench-live .live-section .field-head .step{min-width:28px!important;height:28px!important;flex-basis:28px!important}
html[data-theme="studio"] .workbench-live .live-section.is-sub .field-head .step{min-width:0!important;height:auto!important;flex-basis:auto!important}
html[data-theme="studio"] .workbench-category-group{display:block}
html[data-theme="studio"] .workbench-live :is(.live-section,.section-content,.section-tasks,.live-field,.workbench-control,.studio-value-field){min-width:0;max-width:100%;box-sizing:border-box}
html[data-theme="studio"] .workbench-live :is(.section-content,.section-tasks,.live-field){grid-template-columns:minmax(0,1fr)}
html[data-theme="studio"] .workbench-live .studio-value-field{flex:0 1 640px}
html[data-theme="studio"] .account-menu{left:auto;right:0}
@media(max-width:760px){html[data-theme="studio"] .user-chip{min-width:0;width:auto}html[data-theme="studio"] .topbar .account-control{min-width:0}}
html[data-theme="studio"] .studio-sidebar .brand{align-items:center;justify-content:flex-start;margin-bottom:32px}
html[data-theme="studio"] .studio-sidebar.is-collapsed .brand{width:40px}
html[data-theme="studio"] .studio-sidebar .brand-mark{margin:0}
/* Independent workbench/editor scroll areas, matching the reference split view. */
html[data-theme="studio"] :is(.workbench-live,.studio-sidebar .nav,.studio-drawer-scroll){scrollbar-width:thin;scrollbar-color:color-mix(in oklab,#3f7f55 28%,transparent) transparent}
html[data-theme="studio"] :is(.workbench-live,.studio-sidebar .nav,.studio-drawer-scroll)::-webkit-scrollbar{width:6px;height:6px}
html[data-theme="studio"] :is(.workbench-live,.studio-sidebar .nav,.studio-drawer-scroll)::-webkit-scrollbar-track{background:transparent}
html[data-theme="studio"] :is(.workbench-live,.studio-sidebar .nav,.studio-drawer-scroll)::-webkit-scrollbar-thumb{background:color-mix(in oklab,#3f7f55 28%,transparent);border:0;border-radius:9999px}
html[data-theme="studio"] :is(.workbench-live,.studio-sidebar .nav,.studio-drawer-scroll)::-webkit-scrollbar-thumb:hover{background:color-mix(in oklab,#3f7f55 50%,transparent)}
html[data-theme="studio"] .demo-drawer{padding:0;overflow:hidden;box-shadow:none}
html[data-theme="studio"] .demo-drawer>.drawer-header{position:static;flex:0 0 auto;top:auto;margin:0;padding:16px 20px;background:white;border-bottom:1px solid #cfe0d4}
html[data-theme="studio"] .studio-drawer-scroll{flex:1;min-height:0;padding:20px;overflow-y:auto;overscroll-behavior-y:contain;scrollbar-gutter:stable}
html[data-theme="studio"] .studio-drawer-scroll .protected-editor{flex:none;min-height:420px;margin:16px 0;padding:16px;overflow:visible}
html[data-theme="studio"] .demo-drawer>.drawer-editor-actions{flex:0 0 auto;margin:0;padding:16px 20px;background:white;border-top:1px solid #cfe0d4}
@media(min-width:761px){
 html[data-theme="studio"] body.drawer-docked{overflow:hidden}
 html[data-theme="studio"] body.drawer-docked .app{margin-right:0;transform:none;transition:none}
 html[data-theme="studio"] body.drawer-docked .main{height:100dvh;display:flex;flex-direction:column;overflow:hidden}
 html[data-theme="studio"] body.drawer-docked .topbar{position:relative;flex:0 0 56px;flex-direction:row;align-items:center;gap:16px;width:100%;box-sizing:border-box}
 html[data-theme="studio"] body.drawer-docked .top-actions{width:auto;flex-wrap:nowrap}
 html[data-theme="studio"] body.drawer-docked .user-chip{flex:none;min-width:0}
 html[data-theme="studio"] body.drawer-docked .workbench-live{flex:1;min-height:0;max-width:none;width:calc(100% - var(--workbench-drawer-width,50vw) - 8px);margin:0;padding:24px 84px 24px 24px;overflow-y:scroll;overscroll-behavior-y:contain;scrollbar-gutter:stable}
 html[data-theme="studio"] body.drawer-docked .studio-quick-nav{right:calc(var(--workbench-drawer-width,50vw) + 28px);top:80px}
 html[data-theme="studio"] body.drawer-docked>.drawer-resize-handle{top:56px;right:var(--workbench-drawer-width,50vw);left:auto;width:8px;height:calc(100dvh - 56px);padding:0;border:0;border-radius:0;background:#f8f9f8;box-shadow:none;transform:none;cursor:col-resize}
 html[data-theme="studio"] body.drawer-docked>.drawer-resize-handle::before{top:50%;left:50%;width:3px;height:40px;background:#66746d59;border-radius:99px;box-shadow:none;transform:translate(-50%,-50%);z-index:1}
 html[data-theme="studio"] body.drawer-docked>.drawer-resize-handle::after{position:absolute;inset:0 auto 0 50%;width:1px;background:#cfe0d4;content:''}
 html[data-theme="studio"] body.drawer-docked>.drawer-resize-handle:is(:hover,:focus-visible)::before{background:#3f7f55}
 html[data-theme="studio"] body.drawer-docked>.drawer-resize-handle:hover{outline:0}
 html[data-theme="studio"] body.drawer-docked .project-summary-copy{min-width:0}
 html[data-theme="studio"] body.drawer-docked .project-summary-actions{width:100%;justify-content:flex-start}
 html[data-theme="studio"] body.drawer-docked .project-summary{padding:14px 16px}
 html[data-theme="studio"] body.drawer-docked .studio-project-tools{flex-wrap:wrap;width:100%}
 html[data-theme="studio"] body.drawer-docked .live-section .field-head{gap:6px;min-width:0}
 html[data-theme="studio"] body.drawer-docked .field-head>span:not(.step){min-width:0;flex:1;overflow-wrap:anywhere}
}
@media(min-width:761px){html[data-theme="studio"] body.drawer-docked :is(.field-head,.generated-head){top:0}}
@media(min-width:761px){html[data-theme="studio"]:has(body.drawer-docked){height:100dvh;overflow:hidden}html[data-theme="studio"] body.drawer-docked :is(.app,.main){height:100dvh;min-height:0;overflow:hidden}}
html[data-theme="studio"] :is(.workbench-live,.studio-sidebar .nav,.studio-drawer-scroll)::-webkit-scrollbar-button{display:none;width:0;height:0}
html[data-theme="studio"] :is(.workbench-live,.studio-sidebar .nav,.studio-drawer-scroll)::-webkit-scrollbar-corner{background:transparent}
@supports selector(::-webkit-scrollbar){html[data-theme="studio"] :is(.workbench-live,.studio-sidebar .nav,.studio-drawer-scroll){scrollbar-width:auto;scrollbar-color:auto}}
/* Reference interaction states: contiguous sections, individual subsection hover. */
html[data-theme="studio"] .workbench-live .workbench-subsections{display:block!important;margin:0;padding:0;gap:0}
html[data-theme="studio"] .workbench-live .live-section.is-sub{margin:0 12px 2px 40px;padding:2px 12px;border:0;border-radius:6px;box-shadow:none}
html[data-theme="studio"] .workbench-live .live-section.is-sub:hover{background:#f1f5f2}
html[data-theme="studio"] .workbench-live .live-section.is-sub .field-head{padding:4px 0;min-height:40px;background:transparent;gap:10px}
html[data-theme="studio"] .workbench-live .live-section.is-sub .field-head>span:not(.step){font:600 14px/20px 'Space Grotesk','DM Sans',sans-serif;letter-spacing:normal}
html[data-theme="studio"] .workbench-live .live-section.is-sub .section-content{padding:0 0 8px}
html[data-theme="studio"] .workbench-live .live-section.is-sub.studio-text-closed:not(:has(.section-tasks)) .section-content{padding:0}
html[data-theme="studio"] .workbench-live .live-section:not(.is-sub) .field-head{padding:8px 12px;min-height:48px;gap:12px}
html[data-theme="studio"] .workbench-live .live-section.is-main:not(:has(.section-tasks)):not(:hover) .field-head{background:white}
html[data-theme="studio"] .workbench-live .workbench-category-group:hover>.is-main .field-head :is(.section-edit,.section-toggle){opacity:1}
html[data-theme="studio"] .workbench-live .is-sub .field-head :is(.section-edit,.section-toggle){opacity:0}
html[data-theme="studio"] .workbench-live .is-sub .field-head:is(:hover,:focus-within) :is(.section-edit,.section-toggle){opacity:1}
html[data-theme="studio"] .workbench-live .field-head :is(.section-edit,.section-toggle){transition:opacity .15s,background-color .15s,border-color .15s,color .15s;box-shadow:none}
html[data-theme="studio"] .workbench-live .field-head :is(.section-edit,.section-toggle):hover{background:#eaf4ed;color:#3f7f55;border-color:#3f7f55;transform:none}
html[data-theme="studio"] .workbench-live .field-head .section-toggle i{display:none}
html[data-theme="studio"] .workbench-live .field-head .section-toggle svg{width:16px;height:16px;transition:transform .15s}
html[data-theme="studio"] .workbench-live .field-head .section-toggle[aria-expanded="true"] svg{transform:rotate(180deg)}
html[data-theme="studio"] .workbench-live .studio-text-closed>.section-content>.section-prompt{display:none!important}
html[data-theme="studio"] .workbench-live .studio-text-open>.section-content>.section-prompt{display:block!important}
html[data-theme="studio"] .workbench-live .workbench-category-group.is-collapsed>.live-section.is-main>.section-content{display:grid}
html[data-theme="studio"] .workbench-live .section-prompt[role="button"]{cursor:text;border-radius:6px;transition:background-color .15s}
html[data-theme="studio"] .workbench-live .section-prompt[role="button"]:hover{background:#f1f4f2}
html[data-theme="studio"] .workbench-live .workbench-control{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
html[data-theme="studio"] .workbench-live .live-field-label{font:500 12px 'DM Sans',sans-serif;margin:0 0 5px;letter-spacing:0}
html[data-theme="studio"] .workbench-live .studio-value-field :is(select,input[type="number"],input[type="text"]){height:34px;min-height:34px;flex:1;min-width:0;width:auto!important;border:0;border-radius:0;padding:6px 12px;background:white;font:400 14px 'DM Sans',sans-serif;outline:none}
html[data-theme="studio"] .workbench-live .studio-value-field:focus-within{border-color:#3f7f55}
html[data-theme="studio"] .workbench-live .studio-choice-field{height:auto;min-height:36px}
html[data-theme="studio"] .workbench-live .studio-choice-field .workbench-choice-grid{display:flex;flex:1;min-width:0;flex-wrap:wrap;gap:0;margin:0}
html[data-theme="studio"] .workbench-live .studio-choice-field .workbench-choice{flex:1;min-width:80px;min-height:34px;display:flex;align-items:center;gap:10px;margin:0;padding:6px 16px;border:0;border-right:1px solid #cfe0d4;border-radius:0;background:white;box-shadow:none;color:#66746d;font:400 14px 'DM Sans',sans-serif}
html[data-theme="studio"] .workbench-live .studio-choice-field .workbench-choice:has(input:checked){color:#1f2a24;font-weight:500;background:white}
html[data-theme="studio"] .workbench-live .studio-choice-field .workbench-choice:hover{background:#f3f7f4;color:#1f2a24}
html[data-theme="studio"] .workbench-live .studio-choice-field input{appearance:auto;width:16px;height:16px;min-height:0;margin:0;accent-color:#3f7f55;flex:0 0 16px}
html[data-theme="studio"] .workbench-live .studio-choice-field .tester-variable-manage{border-left:0}
html[data-theme="studio"] .workbench-live .studio-mode-static{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0 12px;border:1px solid #cfe0d4;border-radius:6px;background:white;color:#1f2a24;font-size:12px;font-weight:600}
html[data-theme="studio"] .workbench-live .studio-mode-static svg{width:14px;height:14px}
html[data-theme="studio"] .workbench-live .studio-mode-select summary:hover{border-color:#3f7f55;background:#f3f7f4}
html[data-theme="studio"] .workbench-live .studio-mode-select:is(.is-multitest,.is-random) summary{border-radius:6px 0 0 6px}
html[data-theme="studio"] .workbench-live .studio-mode-reset{height:36px;width:32px;margin-left:-6px;padding:0;display:grid;place-items:center;border:1px solid #d4855a;border-left:0;border-radius:0 6px 6px 0;background:#fbf4ee;color:#a85a32}
html[data-theme="studio"] .workbench-live .studio-mode-select.is-random+.studio-mode-reset{border-color:#5b83ab;background:#eef3f8;color:#3e6086}
html[data-theme="studio"] .workbench-live .studio-mode-reset:hover{background:#d4855a;color:white}
html[data-theme="studio"] .workbench-live .studio-mode-select.is-random+.studio-mode-reset:hover{background:#5b83ab;color:white}
html[data-theme="studio"] .studio-mode-options{width:256px;box-shadow:none}
html[data-theme="studio"] .studio-single-resource>header{display:none}
html[data-theme="studio"] .studio-resource-help{margin:3px 0 0;color:#66746d;font-size:14px}
html[data-theme="studio"] .studio-upload-copy>small{display:none}
html[data-theme="studio"] .studio-upload-copy>span>b{font:400 12px 'DM Sans',sans-serif}
html[data-theme="studio"] .studio-upload-placeholder{border-color:#cfe0d4}
html[data-theme="studio"] .workbench-upload-field{padding:8px 0;min-height:80px}
html[data-theme="studio"] .studio-upload-remove{left:50px;top:2px}
html[data-theme="studio"] .studio-quick-nav{gap:0;padding:4px}
html[data-theme="studio"] .studio-quick-nav .workbench-jump-down{margin-bottom:6px}
html[data-theme="studio"] .studio-quick-nav .workbench-quick-tag{border-top:1px solid #cfe0d4;border-radius:0;margin-top:2px;padding-top:8px;height:42px;max-height:42px}
html[data-theme="studio"] .studio-tooltip{position:fixed;z-index:120;max-width:260px;padding:6px 12px;border-radius:6px;background:#3f7f55;color:#f8f9f8;font:400 12px 'DM Sans',sans-serif;pointer-events:none;box-shadow:none}
html[data-theme="studio"] .studio-tooltip[hidden]{display:none}
@media(max-width:760px){html[data-theme="studio"] .workbench-live .live-section.is-sub{margin-left:20px;margin-right:0;padding-inline:8px}html[data-theme="studio"] .workbench-live .is-sub .field-head :is(.section-edit,.section-toggle){opacity:1}html[data-theme="studio"] .studio-mode-options{max-width:calc(100vw - 112px)}html[data-theme="studio"] .studio-quick-nav .workbench-quick-tag{border:0;padding:0;margin:0;height:34px}}
html[data-theme="studio"] #workbench-sections{overflow:visible}
html[data-theme="studio"] .studio-popover{position:fixed!important;z-index:100;display:block;max-height:calc(100dvh - 32px);overflow-y:auto;margin:0;max-width:calc(100vw - 16px)}
html[data-theme="studio"] .studio-popover.provider-grid{display:grid;grid-template-columns:1fr;width:460px;padding:6px;gap:3px;border:1px solid #cfe0d4;border-radius:8px;background:white;box-shadow:none;bottom:auto;right:auto}
html[data-theme="studio"] .studio-popover .provider-option{display:flex;padding:8px;border:0;min-height:0;background:white}
html[data-theme="studio"] .studio-popover .provider-option:is(:hover,.is-selected){background:#eaf4ed}
html[data-theme="studio"] .studio-popover .provider-icon{width:32px;height:32px;border:0;background:none;box-shadow:none}
html[data-theme="studio"] .studio-popover .provider-copy{flex:1}
html[data-theme="studio"] .workbench-upload-field .resource-image-popover{position:fixed;inset:0;z-index:110;display:none;align-items:center;justify-content:center;pointer-events:none;background:#1f2a2440;border:0;border-radius:0;padding:0;width:auto;height:auto;max-width:none;max-height:none;opacity:1;visibility:visible;transform:none;box-shadow:none}
html[data-theme="studio"] .workbench-upload-field .resource-image-preview:is(:hover,:focus-visible) .resource-image-popover{display:flex}
html[data-theme="studio"] .workbench-upload-field .resource-image-popover>img{max-width:80vw;max-height:80dvh;width:auto;height:auto;border:1px solid #cfe0d4;border-radius:8px;padding:6px;background:white;object-fit:contain}
html[data-theme="studio"] .workbench-live.studio-forms-only .live-section>.section-content>.section-prompt{display:none!important}
html[data-theme="studio"] .studio-forms-only .live-section .field-head{display:none}
html[data-theme="studio"] .studio-forms-only .workbench-category-group:not(:has(.section-tasks)){display:none}
html[data-theme="studio"] .studio-forms-only .workbench-category-group{border:0;padding-bottom:16px}
html[data-theme="studio"] .studio-forms-only .live-section.is-sub{margin:0;padding:0}
html[data-theme="studio"] .studio-forms-only .live-section .section-content{padding:0}
html[data-theme="studio"] .studio-left-toggle{display:none}
@media(min-width:761px){
 html[data-theme="studio"] body.drawer-docked .studio-left-toggle{position:fixed;left:68px;top:64px;z-index:45;display:grid;place-items:center;width:28px;height:28px;padding:0;background:white;color:#66746d;border:1px solid #cfe0d4;border-radius:6px;cursor:pointer}
 html[data-theme="studio"] body.drawer-docked:has(.studio-sidebar.is-pinned-open) .studio-left-toggle{left:244px}
 html[data-theme="studio"] .studio-left-toggle:hover{background:#eaf4ed;color:#3f7f55;border-color:#3f7f55}
 html[data-theme="studio"] body.studio-left-collapsed .workbench-live,html[data-theme="studio"] body.studio-left-collapsed .studio-quick-nav,html[data-theme="studio"] body.studio-left-collapsed>.drawer-resize-handle{display:none}
 html[data-theme="studio"] body.studio-left-collapsed .demo-drawer{width:calc(100vw - 108px)}
 html[data-theme="studio"] body.studio-left-collapsed:has(.studio-sidebar.is-pinned-open) .demo-drawer{width:calc(100vw - 284px)}
 html[data-theme="studio"] body.studio-left-collapsed .studio-left-toggle{left:64px;top:56px;width:44px;height:calc(100dvh - 56px);display:flex;flex-direction:column;justify-content:flex-start;gap:12px;padding-top:16px;border:0;border-right:1px solid #cfe0d4;border-radius:0;background:#eef4f0}
 html[data-theme="studio"] body.studio-left-collapsed:has(.studio-sidebar.is-pinned-open) .studio-left-toggle{left:240px}
 html[data-theme="studio"] body.studio-left-collapsed .studio-left-toggle span{font:500 12px 'Space Grotesk',sans-serif;writing-mode:vertical-rl;transform:rotate(180deg)}
}

html[data-theme="studio"] .workbench-live .live-section.is-sub .field-head .step{font-size:14px!important;font-weight:600!important;line-height:1!important}
html[data-theme="studio"] .studio-tooltip{font-size:11px;font-weight:500}
html[data-theme="studio"] .studio-mode-options>button{align-items:flex-start;padding:6px 8px}
html[data-theme="studio"] .studio-mode-options>button>span{flex:1}
html[data-theme="studio"] .studio-mode-options>button b{display:block;font:600 12px 'DM Sans',sans-serif}
html[data-theme="studio"] .studio-mode-options>button small{display:block;font:400 11px 'DM Sans',sans-serif;color:#66746d}
html[data-theme="studio"] .studio-mode-options>button>svg{margin-top:2px;flex:none}
html[data-theme="studio"] .studio-mode-options>.studio-mode-current{background:#eaf4ed}
html[data-theme="studio"] .studio-mode-options>[data-studio-mode="flask-conical"]>svg{color:#3f7f55}
html[data-theme="studio"] .studio-mode-options>[data-studio-mode="square-check-big"]>svg{color:#a85a32}
html[data-theme="studio"] .studio-mode-options>[data-studio-mode="shuffle"]>svg{color:#3e6086}

html[data-theme="studio"] .project-summary .admin-dynamic-return{width:auto}
html[data-theme="studio"] .project-summary .admin-dynamic-return button{width:32px;height:32px;padding:0;display:flex;align-items:center;justify-content:center}
html[data-theme="studio"] .project-summary .admin-dynamic-return button span{display:none}
html[data-theme="studio"] .project-summary .admin-dynamic-return button:hover{background:#eaf4ed;border-color:#3f7f55;color:#3f7f55}

html[data-theme="studio"] .studio-quick-nav .workbench-quick-dock .workbench-quick-tag{opacity:1;pointer-events:auto;overflow:visible;flex:none}
html[data-theme="studio"] .studio-quick-nav .workbench-quick-dock .workbench-quick-tag-indicator{display:none!important}

/* Final Raw-Prompt: the reference header and execution row retain original controls. */
html[data-theme="studio"] .workbench-live #final-prompt-panel{padding:20px 24px 0;border:1px solid #cfe0d4;border-radius:16px;background:white;gap:0}
html[data-theme="studio"] .workbench-live #final-prompt-panel .generated-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 12px 8px;margin:0;background:white;border:0;border-radius:0;min-height:44px;box-shadow:none}
html[data-theme="studio"] .studio-final-heading{display:flex;align-items:center;gap:12px;min-width:0;flex-wrap:wrap}
html[data-theme="studio"] .studio-final-mark{width:36px;height:36px;display:grid;place-items:center;flex:none;border-radius:10px;background:#eaf4ed;color:#3f7f55}
html[data-theme="studio"] .studio-final-mark svg{width:18px;height:18px}
html[data-theme="studio"] .studio-final-heading .generated-title{font:600 18px 'Space Grotesk',sans-serif}
html[data-theme="studio"] .studio-final-heading #prompt-status{padding:2px 8px;border:0;border-radius:20px;background:#edf2ee;color:#3f7f55;font:600 11px 'DM Sans',sans-serif;white-space:nowrap}
html[data-theme="studio"] #final-prompt-panel .generated-head-actions{display:flex;width:auto;flex:none;gap:6px}
html[data-theme="studio"] #final-prompt-panel :is(.raw-prompt-toggle,.prompt-copy-icon){position:static;display:grid;place-items:center;width:32px;height:32px;min-height:32px;padding:0;border:1px solid #cfe0d4;border-radius:8px;background:white;color:#66746d;box-shadow:none;transform:none}
html[data-theme="studio"] #final-prompt-panel :is(.raw-prompt-toggle,.prompt-copy-icon):hover{background:#eaf4ed;border-color:#3f7f55;color:#3f7f55;transform:none}
html[data-theme="studio"] #final-prompt-panel .raw-prompt-toggle :is(span,i){display:none}
html[data-theme="studio"] #final-prompt-panel .raw-prompt-toggle svg{width:16px;height:16px;transition:transform .15s}
html[data-theme="studio"] #final-prompt-panel .raw-prompt-toggle[aria-expanded="true"] svg{transform:rotate(180deg)}
html[data-theme="studio"] #final-prompt-panel .prompt-copy-icon svg{width:16px;height:16px}
html[data-theme="studio"] .workbench-live #final-prompt-panel .generated-prompt-box{margin:0;padding:16px 12px;border:0;border-top:1px solid #cfe0d4;max-height:480px;overflow:auto}
html[data-theme="studio"] .workbench-live #final-prompt-panel .workbench-dispatch{display:flex;flex-direction:column;gap:12px;margin:0;padding:16px 12px;border:0;border-top:1px solid #cfe0d4}
html[data-theme="studio"] .workbench-live #final-prompt-panel .dispatch-footer{display:flex;flex-direction:row;align-items:center;gap:12px;padding:0;border:0;border-radius:0;background:none;box-shadow:none;flex-wrap:wrap}
html[data-theme="studio"] .workbench-live #final-prompt-panel .dispatch-actions{flex:0 0 auto;width:auto;margin-left:auto;gap:0;justify-content:flex-end}
html[data-theme="studio"] .studio-provider-symbol{display:flex;align-items:center;justify-content:center;width:16px;height:16px;flex:none;color:#66746d}
html[data-theme="studio"] .studio-provider-symbol svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8}
html[data-theme="studio"] .studio-provider-prefix{font:600 11px 'DM Sans',sans-serif;text-transform:uppercase;letter-spacing:.03em}
html[data-theme="studio"] .studio-provider-caps .provider-capabilities{display:flex;gap:6px;padding:0}
html[data-theme="studio"] .studio-provider-caps .provider-capability{background:none;border:0;padding:0;width:14px;height:14px;color:#66746d}
html[data-theme="studio"] .studio-provider-caps svg{width:14px;height:14px}
html[data-theme="studio"] .studio-provider-picker summary:hover{border-color:#3f7f5599;background:#eaf4ed}
html[data-theme="studio"] .workbench-live #final-prompt-panel .dispatch-tag-button{display:flex;gap:8px;align-items:center;justify-content:center;padding:0 12px;height:40px;min-height:40px;border-radius:8px;background:white;box-shadow:none}
html[data-theme="studio"] #final-prompt-panel .dispatch-tag-button>svg[data-studio-icon="tag"]{order:-1}
html[data-theme="studio"] #final-prompt-panel .dispatch-tag-button>span{font:600 12px 'DM Sans',sans-serif;letter-spacing:0;color:#66746d}
html[data-theme="studio"] #final-prompt-panel .dispatch-tag-button b{font:600 14px 'DM Sans',sans-serif;color:#66746d}
html[data-theme="studio"] #final-prompt-panel .dispatch-tag-button svg{width:16px;height:16px}
html[data-theme="studio"] #final-prompt-panel .dispatch-tag-button:hover{background:#eaf4ed;color:#1f2a24;transform:none}
html[data-theme="studio"] .workbench-live #final-prompt-panel .dispatch-button{height:40px;min-height:40px;width:auto;padding:0 12px;border:0;border-radius:8px 0 0 8px;background:#3f7f55;color:#f8f9f8;font:600 14px 'DM Sans',sans-serif;box-shadow:none;transform:none;filter:none;letter-spacing:0}
html[data-theme="studio"] .workbench-live #final-prompt-panel .dispatch-button:not(:disabled):hover{background:#39734d;transform:none;filter:none;box-shadow:none}
html[data-theme="studio"] #final-prompt-panel .dispatch-button svg{width:16px;height:16px}
html[data-theme="studio"] #final-prompt-panel .repeat-start-toggle{position:static;inset:auto;width:28px;height:40px;margin:0;padding:0;border:1px solid #3f7f554d;border-left:0;border-radius:0 8px 8px 0;background:#eaf4ed;color:#3f7f55;box-shadow:none}
html[data-theme="studio"] #final-prompt-panel .repeat-start-toggle:not(:disabled):hover{background:#3f7f55;color:white;border-color:#3f7f55}
html[data-theme="studio"] #final-prompt-panel .repeat-start-panel{grid-template-columns:repeat(4,32px);gap:4px;padding:6px;border:1px solid #cfe0d4;border-radius:6px;box-shadow:0 4px 12px #1f2a2414}
html[data-theme="studio"] #final-prompt-panel .repeat-start-panel button{height:32px;border:0;border-radius:4px;background:white;color:#3f7f55;font:600 14px 'DM Sans',sans-serif}
html[data-theme="studio"] #final-prompt-panel .repeat-start-panel button:hover{background:#3f7f55;color:white}
html[data-theme="studio"] #final-prompt-panel .repeat-start-panel>small:first-child{font-size:11px;color:#66746d}
html[data-theme="studio"] #final-prompt-panel .repeat-start-hint{display:none}
html[data-theme="studio"] #final-prompt-panel #dispatch-requirement.studio-ready-message{display:none}
@media(max-width:760px){html[data-theme="studio"] .workbench-live #final-prompt-panel{padding:16px 12px 0}html[data-theme="studio"] .workbench-live #final-prompt-panel .generated-head{padding-inline:0;flex-wrap:nowrap}html[data-theme="studio"] .studio-final-heading{gap:8px}html[data-theme="studio"] .studio-final-heading .generated-title{font-size:16px}html[data-theme="studio"] .studio-final-mark{width:28px;height:28px}html[data-theme="studio"] .workbench-live #final-prompt-panel .workbench-dispatch{padding-inline:0}html[data-theme="studio"] .workbench-live #final-prompt-panel .dispatch-actions{margin-left:0}html[data-theme="studio"] #final-prompt-panel .repeat-start-panel{position:absolute;left:auto;right:0;top:auto;bottom:100%;margin-bottom:7px}}

/* Compact action rail. Override the classic expanding tag/side popup completely. */
html[data-theme="studio"] .studio-quick-nav{width:42px;padding:4px;gap:4px;box-sizing:border-box}
html[data-theme="studio"] .studio-quick-nav :is(.prompt-visibility-toggle,.workbench-jump-down,.test-queue-toggle){width:32px;min-width:32px;height:32px;min-height:32px;max-width:32px}
html[data-theme="studio"] .studio-quick-nav .prompt-visibility-toggle{background:#eaf4ed;color:#3f7f55}
html[data-theme="studio"] .studio-quick-nav .workbench-jump-down{margin:0}
html[data-theme="studio"] .studio-quick-nav .studio-tool-separator{width:24px;height:1px;flex:none;margin:2px 0;background:#cfe0d4}
html[data-theme="studio"] .studio-quick-nav .workbench-quick-dock .workbench-quick-tag{position:relative;inset:auto;display:grid;place-items:center;flex:none;align-self:auto;width:32px;min-width:32px;max-width:32px;height:32px;min-height:32px;max-height:32px;margin:0;padding:0;opacity:1;pointer-events:auto;overflow:visible;border:0;border-radius:6px;background:transparent;box-shadow:none;transition:background-color .15s,color .15s}
html[data-theme="studio"] .studio-quick-nav .workbench-quick-dock .workbench-quick-tag:hover{background:#eaf4ed;color:#3f7f55}
html[data-theme="studio"] .studio-quick-nav .workbench-quick-dock.has-active-tag .workbench-quick-tag{color:#a85a32}
html[data-theme="studio"] .studio-quick-nav .workbench-quick-dock .workbench-quick-tag b{position:absolute;right:calc(100% + 5px);top:50%;transform:translateY(-50%);height:32px;padding:0 10px;align-items:center;display:none;border:1px solid #3f7f5566;border-right:0;border-radius:6px 0 0 6px;background:white;color:#1f2a24;font:600 12px 'DM Sans',sans-serif;white-space:nowrap;overflow:visible;box-shadow:0 2px 4px #1f2a240d}
html[data-theme="studio"] .studio-quick-nav .workbench-quick-dock .workbench-quick-tag:is(:hover,:focus-visible) b{display:flex}
html[data-theme="studio"] .studio-quick-nav .workbench-quick-dock .repeat-start{position:relative;display:flex;flex-direction:column;gap:0;width:32px;min-width:32px;flex:none;border:0;border-radius:6px;overflow:visible}
html[data-theme="studio"] .studio-quick-nav .workbench-quick-dock .workbench-quick-dispatch{position:relative;inset:auto;width:32px;min-width:32px;max-width:32px;height:32px;min-height:32px;max-height:32px;flex:none;margin:0;padding:0;display:grid;place-items:center;border:0;border-radius:6px 6px 0 0;background:#3f7f55;color:white;box-shadow:none;transform:none}
html[data-theme="studio"] .studio-quick-nav .workbench-quick-dock .workbench-quick-dispatch:hover{background:#39734d;transform:none}
html[data-theme="studio"] .studio-quick-nav .workbench-quick-dock .repeat-start-toggle{position:static;inset:auto;transform:none;width:32px;min-width:32px;height:16px;min-height:16px;margin:0;padding:0;border:1px solid #3f7f554d;border-top:0;border-radius:0 0 6px 6px;background:#eaf4ed;color:#3f7f55}
html[data-theme="studio"] .studio-quick-nav .workbench-quick-dock .repeat-start-toggle:not(:disabled):hover{background:#3f7f55;color:white}
html[data-theme="studio"] .studio-quick-nav .workbench-quick-dock .repeat-start-panel{position:static!important;inset:auto!important;transform:none;display:none;flex-direction:column;gap:0;width:32px;min-width:32px;max-width:32px;margin:0;padding:0;border:1px solid #3f7f554d;border-top:0;border-radius:0 0 6px 6px;box-shadow:none;background:white;visibility:visible;opacity:1;pointer-events:auto;box-sizing:border-box}
html[data-theme="studio"] .studio-quick-nav .workbench-quick-dock .repeat-start-panel:after{display:none}
html[data-theme="studio"] .studio-quick-nav .workbench-quick-dock .repeat-start-panel small{display:none}
html[data-theme="studio"] .studio-quick-nav .workbench-quick-dock .repeat-start-panel button{display:grid;place-items:center;width:100%;height:28px;min-height:28px;margin:0;padding:0;border:0;border-radius:0;background:white;color:#3f7f55;font:600 12px 'DM Sans',sans-serif;box-shadow:none;transform:none}
html[data-theme="studio"] .studio-quick-nav .workbench-quick-dock .repeat-start-panel button:last-of-type{border-radius:0 0 5px 5px}
html[data-theme="studio"] .studio-quick-nav .workbench-quick-dock .repeat-start-panel button:hover{background:#3f7f55;color:white}
html[data-theme="studio"] .studio-quick-nav .workbench-quick-dock .repeat-start:not(.is-unavailable):is(.is-open,:focus-within):not(.is-dismissed) .repeat-start-panel{display:flex}
html[data-theme="studio"] .studio-quick-nav .workbench-quick-dock .repeat-start:not(.is-unavailable):is(.is-open,:focus-within):not(.is-dismissed) .repeat-start-toggle{border-radius:0}
@media(hover:hover){html[data-theme="studio"] .studio-quick-nav .workbench-quick-dock .repeat-start:not(.is-unavailable):not(.is-dismissed):hover .repeat-start-panel{display:flex}html[data-theme="studio"] .studio-quick-nav .workbench-quick-dock .repeat-start:not(.is-unavailable):not(.is-dismissed):hover .repeat-start-toggle{border-radius:0}}
html[data-theme="studio"] .studio-quick-nav .repeat-start:has(.repeat-start-panel:hover) .repeat-start-toggle svg{transform:rotate(180deg)}
html[data-theme="studio"] .studio-quick-nav .repeat-start-toggle[aria-expanded="true"] svg{transform:rotate(180deg)}
html[data-theme="studio"] .studio-quick-nav .test-queue-toggle.studio-queue-empty{display:none!important}
@media(max-width:760px){html[data-theme="studio"] .studio-quick-nav{width:42px;max-width:42px;max-height:calc(100dvh - 80px)}html[data-theme="studio"] .studio-quick-nav .workbench-quick-dock .workbench-quick-tag{display:grid!important}}

@media(hover:hover){html[data-theme="studio"] .studio-quick-nav .workbench-quick-dock .repeat-start:not(.is-unavailable):not(.is-dismissed):hover .repeat-start-toggle svg{transform:rotate(180deg)}}

html[data-theme="studio"] .studio-quick-nav{flex-direction:column;box-shadow:none}
html[data-theme="studio"] .studio-quick-nav .workbench-jump-down.is-floating{height:32px;min-height:32px;max-height:32px}

html[data-theme="studio"] .studio-quick-nav :is(button,svg){animation:none}

/* Prompt sections: reference spacing, shared subsection hover and field alignment. */
html[data-theme="studio"] .workbench-live .live-field{display:grid;gap:4px;margin:0;padding:2px 0;background:transparent;border:0;box-shadow:none}
html[data-theme="studio"] .workbench-live .live-field-label{margin:0;padding:0;font:500 12px/16px 'DM Sans',sans-serif;color:#1f2a24}
html[data-theme="studio"] .workbench-live .live-field-label>span{font-weight:400;color:#66746d}
html[data-theme="studio"] .workbench-live .section-tasks{display:grid;gap:12px;margin:6px 0 0;padding:0;border:0;background:transparent;box-shadow:none}
html[data-theme="studio"] .workbench-live .live-section>.section-content{gap:0}
html[data-theme="studio"] .workbench-live .live-section:not(.is-sub)>.section-content{padding:4px 12px 16px 52px}
html[data-theme="studio"] .workbench-live .live-section.is-sub{margin:0 12px 2px 40px;padding:2px 12px;border:0;border-radius:6px;background:transparent;transition:background-color .15s}
html[data-theme="studio"] .workbench-live .live-section.is-sub:has(.section-tasks),html[data-theme="studio"] .workbench-live .live-section.is-sub.studio-text-open{padding-bottom:8px}
html[data-theme="studio"] .workbench-live .live-section.is-sub:hover{background:#f1f5f2}
html[data-theme="studio"] .workbench-live .live-section.is-sub>.section-content{padding:0;background:transparent;gap:0}
html[data-theme="studio"] .workbench-live .live-section.is-sub>.field-head{min-height:40px;padding:4px 0;gap:10px;background:transparent;box-shadow:none}
html[data-theme="studio"] .workbench-live .live-section.is-sub>.field-head>.step{display:inline-block;flex:none;aspect-ratio:auto;min-height:0!important;min-width:0!important;width:auto!important;height:auto!important;padding:0!important;border:0;border-radius:0;box-shadow:none;line-height:14px!important}
html[data-theme="studio"] .workbench-live .live-section.is-sub>.field-head>span:not(.step){min-width:0;flex:1;font:600 14px/20px 'Space Grotesk','DM Sans',sans-serif;letter-spacing:normal}
html[data-theme="studio"] .workbench-live .field-head .section-edit{margin-left:-4px}
html[data-theme="studio"] .workbench-live .section-prompt{margin:8px 0 0;padding:0}
html[data-theme="studio"] .workbench-live .section-prompt:has(+.section-tasks){margin-bottom:4px}
html[data-theme="studio"] .workbench-live .studio-value-field select{appearance:none;-webkit-appearance:none;padding-right:34px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2366746d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;background-size:14px 14px}
html[data-theme="studio"] .workbench-live .studio-mode-select summary{gap:6px;font-size:12px}
html[data-theme="studio"] .workbench-live.studio-forms-only .live-section>.section-content{padding:0}
@media(max-width:760px){html[data-theme="studio"] .workbench-live .live-section:not(.is-sub)>.section-content{padding-left:14px}html[data-theme="studio"] .workbench-live .live-section.is-sub{margin-left:14px;margin-right:0;padding-inline:8px}}

html[data-theme="studio"] .workbench-live .live-section:not(.is-sub).studio-text-closed:not(:has(.section-tasks))>.section-content{display:none;padding:0}
/* Heading-only previews leave no content spacing; dynamic fields keep their layout. */
html[data-theme="studio"] .workbench-live .live-section>.section-content>.section-prompt.studio-empty-prompt{display:none!important;margin:0;padding:0}
html[data-theme="studio"] .workbench-live .live-section>.section-content:has(>.studio-empty-prompt):not(:has(>.section-tasks)){display:none!important;padding:0}
html[data-theme="studio"] .workbench-live .workbench-subsections{padding:4px 0 14px!important}
html[data-theme="studio"] .workbench-live.studio-forms-only .workbench-subsections{padding:0!important}

html[data-theme="studio"] .workbench-live.studio-forms-only .live-section.is-sub{margin:0;padding:0}

/* View selector: centered reference flyout with a continuous pointer path. */
html[data-theme="studio"] .studio-view-modes{display:flex;right:calc(100% + 8px);top:50%;bottom:auto;transform:translateY(-50%);gap:4px;padding:4px;border-radius:8px;box-shadow:0 4px 6px -1px rgb(0 0 0 / .1),0 2px 4px -2px rgb(0 0 0 / .1);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .15s}
html[data-theme="studio"] .studio-view-modes::after{content:"";position:absolute;left:100%;top:0;width:8px;height:100%}
html[data-theme="studio"] .studio-view-group:hover .studio-view-modes,html[data-theme="studio"] .studio-view-group:focus-within .studio-view-modes{opacity:1;visibility:visible;pointer-events:auto}
html[data-theme="studio"] .studio-view-modes button{width:36px;height:36px;min-width:36px;border-radius:8px}
html[data-theme="studio"] .studio-view-modes button:focus-visible{outline:2px solid #3f7f55;outline-offset:1px}

/* Reference rail: regular size, compact with editor, stable color and height transitions. */
html[data-theme="studio"] .studio-quick-nav{--studio-rail-button:36px;width:calc(var(--studio-rail-button) + 10px);max-width:calc(var(--studio-rail-button) + 10px);gap:4px}
html[data-theme="studio"] body.drawer-docked .studio-quick-nav{--studio-rail-button:32px}
html[data-theme="studio"] .studio-quick-nav .studio-view-group{width:var(--studio-rail-button);height:var(--studio-rail-button);flex:none}
html[data-theme="studio"] .studio-quick-nav :is(.prompt-visibility-toggle,.workbench-jump-down,.test-queue-toggle),html[data-theme="studio"] .studio-quick-nav .workbench-quick-dock :is(.workbench-quick-tag,.workbench-quick-dispatch){width:var(--studio-rail-button);min-width:var(--studio-rail-button);max-width:var(--studio-rail-button);height:var(--studio-rail-button);min-height:var(--studio-rail-button);max-height:var(--studio-rail-button);flex:none;transform:none;box-shadow:none;background-image:none;transition:background-color .15s ease,color .15s ease}
html[data-theme="studio"] .studio-quick-nav .prompt-visibility-toggle{background:#eaf4ed;color:#3f7f55}
html[data-theme="studio"] .studio-quick-nav .workbench-quick-dock .repeat-start,html[data-theme="studio"] .studio-quick-nav .workbench-quick-dock :is(.repeat-start-toggle,.repeat-start-panel){width:var(--studio-rail-button);min-width:var(--studio-rail-button);max-width:var(--studio-rail-button)}
html[data-theme="studio"] .studio-quick-nav .workbench-quick-dock .repeat-start-toggle{display:grid;place-items:center;transition:background-color .15s ease,color .15s ease}
html[data-theme="studio"] .studio-quick-nav .workbench-quick-dock .repeat-start-toggle svg{width:12px;height:12px;transition:transform .2s ease}
html[data-theme="studio"] .studio-quick-nav .workbench-quick-dock .repeat-start-panel{display:flex;max-height:0;overflow:hidden;border-bottom-width:0;opacity:0;visibility:hidden;pointer-events:none;transition:max-height .2s ease,opacity .15s ease,visibility 0s linear .2s}
html[data-theme="studio"] .studio-quick-nav .workbench-quick-dock .repeat-start-panel button{flex:none;transition:background-color .15s ease,color .15s ease}
html[data-theme="studio"] .studio-quick-nav .workbench-quick-dock .repeat-start:not(.is-unavailable):is(.is-open,:focus-within):not(.is-dismissed) .repeat-start-panel{max-height:113px;border-bottom-width:1px;opacity:1;visibility:visible;pointer-events:auto;transition-delay:0s}
@media(hover:hover){html[data-theme="studio"] .studio-quick-nav .workbench-quick-dock .repeat-start:not(.is-unavailable):not(.is-dismissed):hover .repeat-start-panel{max-height:113px;border-bottom-width:1px;opacity:1;visibility:visible;pointer-events:auto;transition-delay:0s}}
html[data-theme="studio"] .studio-quick-nav .workbench-quick-dock .workbench-quick-tag b{display:flex;gap:6px;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .15s ease,visibility 0s linear .15s}
html[data-theme="studio"] .studio-quick-nav .workbench-quick-dock .workbench-quick-tag:is(:hover,:focus-visible) b{opacity:1;visibility:visible;pointer-events:auto;transition-delay:0s}
html[data-theme="studio"] .studio-quick-nav .workbench-quick-dock .workbench-quick-tag b::after{content:"";position:absolute;left:100%;top:-4px;width:8px;height:calc(100% + 8px)}
html[data-theme="studio"] .studio-quick-nav .studio-tool-separator[hidden],html[data-theme="studio"] .studio-quick-nav .test-queue-toggle[hidden]{display:none!important}
html[data-theme="studio"] .studio-quick-nav .test-queue-toggle{color:#3f7f55;backdrop-filter:none}
html[data-theme="studio"] .studio-quick-nav .test-queue-toggle svg{position:absolute;inset:0;width:100%;height:100%;transform:none;animation:none}
html[data-theme="studio"] .studio-quick-nav .test-queue-toggle .test-queue-track{stroke:#eaf4ed;stroke-width:5.3}
html[data-theme="studio"] .studio-quick-nav .test-queue-toggle .test-queue-orbit{stroke:#3f7f55;stroke-width:5.3;stroke-dasharray:39 156;transform-origin:32px 32px}
html[data-theme="studio"] .studio-quick-nav .test-queue-toggle.is-active .test-queue-orbit{animation:test-queue-spin 1.4s linear infinite}
html[data-theme="studio"] .studio-quick-nav .test-queue-toggle>span{font:600 12px 'DM Sans',sans-serif;font-variant-numeric:tabular-nums}
@media(prefers-reduced-motion:reduce){html[data-theme="studio"] .studio-quick-nav *,html[data-theme="studio"] .studio-quick-nav *::after{transition:none!important;animation:none!important}}
html[data-theme="studio"] .studio-quick-nav .workbench-jump-down.is-floating{height:var(--studio-rail-button);min-height:var(--studio-rail-button);max-height:var(--studio-rail-button)}

/* Sidebar mark: override the classic pseudo-icon block layout. */
html[data-theme="studio"] .studio-sidebar .brand{align-items:center;height:48px}
html[data-theme="studio"] .studio-sidebar .brand-mark{display:flex;align-items:center;justify-content:center;min-width:40px;min-height:40px;max-width:40px;max-height:40px;border-color:rgb(63 127 85 / .3)}
html[data-theme="studio"] .studio-sidebar .brand-mark svg{position:static;display:block;flex:none;width:20px;height:20px;margin:0;transform:none}

/* Sidebar: neutralize classic collapsed widths and match preview hover targets. */
html[data-theme="studio"] .studio-sidebar.is-collapsed .brand{width:40px!important;min-width:40px;max-width:40px;justify-content:center;gap:0}
html[data-theme="studio"] .studio-sidebar.is-collapsed :is(.nav>a,.side-link){width:40px!important;min-width:40px;max-width:40px;flex:none;justify-content:center;gap:0;padding:0}
html[data-theme="studio"] .studio-sidebar :is(.nav>a,.side-link){color:rgb(31 42 36 / .7);transition:background-color .15s ease,color .15s ease}
html[data-theme="studio"] .studio-sidebar :is(.nav>a,.side-link):is(:hover,.active){background:#eaf4ed;color:#3f7f55}
html[data-theme="studio"] .studio-sidebar :is(.nav>a,.side-link):focus-visible{outline:2px solid #3f7f55;outline-offset:-2px}
html[data-theme="studio"] .studio-sidebar-tooltip{font:400 12px/16px 'DM Sans',sans-serif;padding:6px 12px;transform-origin:left center;animation:studio-sidebar-tip-enter .15s ease-out}
@keyframes studio-sidebar-tip-enter{from{opacity:0;transform:translateX(-8px) scale(.95)}to{opacity:1;transform:translateX(0) scale(1)}}
@media(prefers-reduced-motion:reduce){html[data-theme="studio"] .studio-sidebar-tooltip{animation:none}html[data-theme="studio"] .studio-sidebar :is(.nav>a,.side-link){transition:none}}

/* Radio fields keep the reference height even with personal variants. */
html[data-theme="studio"] .workbench-live .studio-choice-field:has(input[type="radio"]){height:36px;min-height:36px;max-height:36px}
html[data-theme="studio"] .workbench-live .studio-choice-field:has(input[type="radio"]) .workbench-choice-grid{flex-wrap:nowrap;overflow:hidden}
html[data-theme="studio"] .workbench-live .studio-choice-field:has(input[type="radio"]) .workbench-choice{position:relative;flex:1 1 0;min-width:0;height:34px;min-height:34px;max-height:34px;gap:8px;padding:0 12px;white-space:nowrap}
html[data-theme="studio"] .workbench-live .studio-choice-field:has(input[type="radio"]) .workbench-choice>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html[data-theme="studio"] .workbench-live .studio-choice-field:has(input[type="radio"]) .workbench-choice>small{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
html[data-theme="studio"] .workbench-live .studio-choice-field:has(input[type="radio"]) .tester-variable-manage{height:34px;min-height:34px;align-self:stretch;white-space:nowrap}

/* Tag selection uses a small anchored popover; full management remains available. */
html[data-theme="studio"] .studio-tag-picker{position:fixed;z-index:100;width:224px;max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);overflow:auto;padding:6px;border:1px solid #cfe0d4;border-radius:6px;background:white;color:#1f2a24;box-shadow:0 4px 6px -1px rgb(0 0 0 / .1),0 2px 4px -2px rgb(0 0 0 / .1);font:400 14px/20px 'DM Sans',sans-serif;animation:studio-tag-enter .15s ease-out}
html[data-theme="studio"] .studio-tag-search{position:relative;margin-bottom:6px}
html[data-theme="studio"] .studio-tag-picker svg{width:14px;height:14px;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
html[data-theme="studio"] .studio-tag-search svg{position:absolute;left:10px;top:9px;color:#66746d;pointer-events:none}
html[data-theme="studio"] .studio-tag-search input{display:block;width:100%;height:32px;min-height:32px;margin:0;padding:0 10px 0 32px;border:1px solid #cfe0d4;border-radius:6px;background:white;color:#1f2a24;font:400 14px/20px 'DM Sans',sans-serif;box-shadow:none;outline:none}
html[data-theme="studio"] .studio-tag-search input:focus{border-color:#3f7f55;box-shadow:0 0 0 1px rgb(63 127 85 / .12)}
html[data-theme="studio"] .studio-tag-search input::-webkit-search-cancel-button{-webkit-appearance:none}
html[data-theme="studio"] .studio-tag-options{max-height:256px;overflow-y:auto;padding-right:4px}
html[data-theme="studio"] .studio-tag-options button{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-height:32px;margin:0;padding:6px 8px;border:0;border-radius:6px;background:white;color:#1f2a24;text-align:left;font:400 14px/20px 'DM Sans',sans-serif;box-shadow:none;transition:background-color .15s ease}
html[data-theme="studio"] .studio-tag-options button>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html[data-theme="studio"] .studio-tag-options button[aria-selected="true"]{font-weight:600;color:#3f7f55}
html[data-theme="studio"] .studio-tag-options button:is(:hover,:focus-visible){background:#eaf4ed;outline:none}
html[data-theme="studio"] .studio-tag-options p{padding:6px 8px;margin:0;font-size:12px;color:#66746d}
html[data-theme="studio"] .studio-tag-picker :is(.studio-tag-create,.studio-tag-manage){width:100%;min-height:28px;margin:6px 0 0;padding:6px 8px;border:0;border-top:1px solid #cfe0d4;border-radius:0;background:white;color:#3f7f55;text-align:left;font:400 12px/16px 'DM Sans',sans-serif;box-shadow:none}
html[data-theme="studio"] .studio-tag-picker .studio-tag-create{font-size:14px;line-height:20px}
html[data-theme="studio"] .studio-tag-picker :is(.studio-tag-create,.studio-tag-manage):hover{text-decoration:underline}
html[data-theme="studio"] .studio-tag-picker [hidden]{display:none!important}
html[data-theme="studio"] .studio-tag-picker[aria-busy="true"] button{opacity:.6;cursor:wait}
@keyframes studio-tag-enter{from{opacity:0;transform:scale(.97)}to{opacity:1;transform:scale(1)}}
@media(prefers-reduced-motion:reduce){html[data-theme="studio"] .studio-tag-picker{animation:none}html[data-theme="studio"] .studio-tag-options button{transition:none}}

/* Focused variable editor and chronological variant picker from the reference. */
html[data-theme="studio"] .tester-variable-drawer.studio-variable-detail>.drawer-header{height:56px;min-height:56px;padding:8px 24px;gap:8px}
html[data-theme="studio"] .studio-variable-detail>.drawer-header>div:first-of-type{flex:1;min-width:0}
html[data-theme="studio"] .studio-variable-detail .drawer-kicker{font:500 10px/14px 'DM Sans',sans-serif;letter-spacing:.05em;color:#66746d}
html[data-theme="studio"] .studio-variable-detail #tester-variable-title{display:inline;font:600 16px/20px 'Space Grotesk',sans-serif}
html[data-theme="studio"] .studio-variable-active{margin-left:8px;white-space:nowrap;font:500 12px 'DM Sans',sans-serif;color:#3f7f55}
html[data-theme="studio"] .studio-variable-detail :is(.drawer-context,.tester-variable-admin-values,.tester-variable-personal){display:none}
html[data-theme="studio"] .studio-variable-detail .studio-drawer-scroll{padding:0;display:flex;flex-direction:column;overflow:hidden}
html[data-theme="studio"] .studio-variable-panel{display:flex;flex-direction:column;flex:1;min-height:0;height:100%;padding:0 24px;background:white}
html[data-theme="studio"] .studio-variable-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:12px;flex:none;padding:20px 0 12px;border-bottom:1px solid #cfe0d4}
html[data-theme="studio"] :is(.studio-variable-back,.studio-variable-add,.studio-variable-toolbar button){display:inline-flex;align-items:center;justify-content:center;gap:6px;height:32px;min-height:32px;margin:0;padding:0 10px;border:1px solid #cfe0d4;border-radius:6px;background:white;color:#1f2a24;font:500 12px 'DM Sans',sans-serif;box-shadow:none;transition:background-color .15s,border-color .15s}
html[data-theme="studio"] :is(.studio-variable-back,.studio-variable-add){width:32px;padding:0;flex:none}
html[data-theme="studio"] :is(.studio-variable-toolbar,.studio-variable-back,.studio-variable-add,.studio-variant-popup) svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:none}
html[data-theme="studio"] .studio-variable-toolbar button:is(:hover,:focus-visible),html[data-theme="studio"] :is(.studio-variable-back,.studio-variable-add):hover{background:#eaf4ed;border-color:#3f7f55;color:#3f7f55}
html[data-theme="studio"] .studio-variable-toolbar button:disabled{opacity:.3;pointer-events:none}
html[data-theme="studio"] .studio-variable-toolbar .studio-variable-ai{margin-left:auto}
html[data-theme="studio"] .studio-variant-picker{display:inline-flex;align-items:center;overflow:hidden;height:32px;border:1px solid #cfe0d4;border-radius:6px}
html[data-theme="studio"] .studio-variant-picker>button{border:0;border-radius:0;height:30px;min-height:30px}
html[data-theme="studio"] .studio-variant-picker>button:first-child{width:28px;padding:0;border-right:1px solid #cfe0d4}
html[data-theme="studio"] .studio-variant-picker>button:last-child{width:28px;padding:0;border-left:1px solid #cfe0d4}
html[data-theme="studio"] .studio-variant-picker .studio-variant-trigger{gap:8px;padding:0 8px 0 4px;color:#66746d}
html[data-theme="studio"] .studio-entry-badge{display:inline-flex;align-items:center;justify-content:center;flex:none;min-width:52px;height:24px;padding:0 8px;border:1px solid #3f7f5533;border-radius:6px;background:#eaf4ed;color:#3f7f55;font:600 10px 'DM Sans',sans-serif;text-transform:uppercase;white-space:nowrap}
html[data-theme="studio"] .studio-entry-badge.is-variant{border-color:#d4855a4d;background:#fbf4ee;color:#d4855a}
html[data-theme="studio"] .studio-entry-badge.is-active{background:#3f7f55;border-color:#3f7f55;color:white}
html[data-theme="studio"] .studio-entry-badge.is-variant.is-active{background:#d4855a;border-color:#d4855a;color:white}
html[data-theme="studio"] .studio-entry-badge.is-inactive{background:#f2f4f2;border-color:#cfe0d4;color:#66746d;text-decoration:line-through;opacity:.6}
html[data-theme="studio"] .studio-variant-popup{position:fixed;z-index:110;min-width:288px;width:346px;max-width:calc(100vw - 16px);max-height:min(320px,calc(100dvh - 16px));padding:6px;border:1px solid #cfe0d4;border-radius:6px;background:white;box-shadow:0 4px 6px -1px rgb(0 0 0 / .1),0 2px 4px -2px rgb(0 0 0 / .1);overflow-y:auto}
html[data-theme="studio"] .studio-variant-popup button{display:flex;align-items:center;gap:10px;width:100%;min-height:36px;padding:6px 8px;margin:0;border:0;border-radius:6px;background:white;text-align:left;color:#1f2a24;box-shadow:none}
html[data-theme="studio"] .studio-variant-popup button:is(:hover,[aria-selected="true"]){background:#eaf4ed}
html[data-theme="studio"] .studio-variant-popup button:focus-visible{outline:2px solid #3f7f55;outline-offset:-2px}
html[data-theme="studio"] .studio-variant-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:400 14px 'DM Sans',sans-serif}
html[data-theme="studio"] .studio-variant-popup .is-inactive .studio-variant-name{text-decoration:line-through;color:#66746d}
html[data-theme="studio"] .studio-variant-popup time{font:400 11px 'JetBrains Mono',monospace;white-space:nowrap;color:#66746d}
html[data-theme="studio"] .studio-variable-content{flex:1;min-height:0;overflow:auto;padding:32px 0 16px}
html[data-theme="studio"] .studio-variable-content>small{display:block;margin-bottom:8px;font:400 11px 'DM Sans',sans-serif;color:#66746d;letter-spacing:.03em}
html[data-theme="studio"] .studio-variable-title{padding:0 0 12px;border-bottom:1px solid #cfe0d4;font:500 16px/24px 'Space Grotesk',sans-serif;cursor:text}
html[data-theme="studio"] .studio-variable-prompt{white-space:pre-wrap;overflow-wrap:anywhere;margin:16px 0 0;padding:0;border:0;background:white;box-shadow:none;font:400 13.5px/1.75 'JetBrains Mono',monospace;cursor:text}
html[data-theme="studio"] .studio-variable-panel.is-editing .studio-variable-content>:is(small,.studio-variable-title,.studio-variable-prompt){display:none}
html[data-theme="studio"] .studio-variable-form-host #tester-variable-form{margin:0;padding:0;border:0;background:white;max-height:none;overflow:visible}
html[data-theme="studio"] .studio-variable-form-host #tester-variable-value{min-height:360px;resize:vertical;font:400 13.5px/1.75 'JetBrains Mono',monospace}
html[data-theme="studio"] .studio-variable-footer{position:relative;flex:none;display:flex;align-items:center;flex-wrap:wrap;justify-content:space-between;gap:8px;padding:10px 0;border-top:1px solid #cfe0d4;color:#66746d;font:400 11px 'DM Sans',sans-serif}
html[data-theme="studio"] .studio-variable-extras{position:relative;font-size:11px}
html[data-theme="studio"] .studio-variable-extras[open]{display:flex;flex-wrap:wrap;gap:6px}
html[data-theme="studio"] .studio-variable-extras summary{cursor:pointer;color:#3f7f55}
html[data-theme="studio"] .studio-variable-extras>button{padding:4px 8px;border:1px solid #cfe0d4;border-radius:6px;background:white;font:500 11px 'DM Sans',sans-serif}
html[data-theme="studio"] .studio-variable-extras>button svg{width:14px;height:14px}
@media(max-width:760px){html[data-theme="studio"] .studio-variable-panel{padding-inline:16px}html[data-theme="studio"] .tester-variable-drawer.studio-variable-detail>.drawer-header{padding-inline:16px}html[data-theme="studio"] .studio-variable-toolbar{gap:8px}html[data-theme="studio"] .studio-variant-popup{min-width:0}html[data-theme="studio"] .studio-variable-active{font-size:10px}}

/* Styleguide edge rail: 44 px shell, 36 px controls (32 px in a drawer). */
html[data-theme="studio"] .studio-quick-nav{width:44px;max-width:44px;padding:3px;gap:4px;border-radius:10px;background:#fff;border-color:#cfe0d4;overflow:visible}
html[data-theme="studio"] .studio-quick-nav .studio-view-group{align-self:center}
html[data-theme="studio"] .studio-quick-nav .studio-view-modes{right:calc(100% + 8px);padding:4px;gap:4px;border-radius:10px}
html[data-theme="studio"] .studio-quick-nav .studio-view-modes button{width:var(--studio-rail-button);height:var(--studio-rail-button);min-width:var(--studio-rail-button);border-radius:8px}
html[data-theme="studio"] .studio-quick-nav .studio-tool-separator{width:24px;margin:2px 0}
html[data-theme="studio"] .studio-quick-nav .workbench-quick-dock.has-active-tag .workbench-quick-tag{color:#d47751}
html[data-theme="studio"] .studio-quick-nav .workbench-quick-dock .workbench-quick-tag b{height:32px;right:calc(100% + 5px);font-size:11px;font-weight:600;color:#66746d;padding:0 10px;max-width:min(240px,calc(100vw - 80px))}
html[data-theme="studio"] .studio-quick-nav .workbench-quick-tag b>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html[data-theme="studio"] .studio-quick-nav .workbench-quick-tag b>svg{width:12px;height:12px;flex:none}
html[data-theme="studio"] .studio-quick-nav .workbench-quick-dock .workbench-quick-tag[aria-expanded="true"] b{opacity:0;visibility:hidden;pointer-events:none}
html[data-theme="studio"] .studio-quick-nav .repeat-start-panel button{font-size:11px}
html[data-theme="studio"] .studio-quick-nav .test-queue-toggle svg{width:32px;height:32px;inset:2px;overflow:visible}
html[data-theme="studio"] body.drawer-docked .studio-quick-nav .test-queue-toggle svg{width:28px;height:28px}
html[data-theme="studio"] .studio-tag-picker.is-rail{width:208px}
html[data-theme="studio"] .studio-tag-picker.is-rail .studio-tag-options{max-height:176px;scrollbar-width:thin;scrollbar-color:#cadbd0 transparent}
html[data-theme="studio"] .studio-tag-picker.is-rail .studio-tag-manage{display:none}
html[data-theme="studio"] .studio-tag-picker.is-rail .studio-tag-create{display:flex;align-items:center;gap:8px;padding-top:10px;font-size:13px;line-height:20px}
html[data-theme="studio"] .studio-tag-picker.is-rail .studio-tag-create::before{content:"+";flex:none}
html[data-theme="studio"] .studio-quick-nav .studio-view-modes.is-dismissed{opacity:0;visibility:hidden;pointer-events:none}
@media(max-width:760px){html[data-theme="studio"] .studio-quick-nav{--studio-rail-button:32px;width:40px;max-width:40px;padding:3px}}

/* Trainbench field context, value origin, search and variant picker. */
html[data-theme="studio"] .studio-field-pill{display:inline-flex;align-items:center;max-width:100%;padding:3px 10px;border:1px solid #a9ccb5;border-radius:999px;background:#eaf4ed;color:#3f7f55;font:500 11px/16px 'DM Sans',sans-serif;overflow-wrap:anywhere}
html[data-theme="studio"] .studio-field-pill[data-mode="multi"]{border-color:#efc1ab;background:#fff4ee;color:#b65a32}
html[data-theme="studio"] .studio-field-pill[data-mode="random"]{border-color:#afc7e2;background:#eef3f9;color:#416894}
.resource-field-pill{display:none}
html[data-theme="studio"] .resource-field-pill{display:inline-flex;margin-top:8px}
html[data-theme="studio"] .multitest-value .studio-choice-copy{display:flex;flex:1;align-items:center;justify-content:space-between;gap:10px;min-width:0}
html[data-theme="studio"] .multitest-value .studio-choice-copy>b{font:400 13px/20px 'DM Sans',sans-serif;min-width:0;overflow-wrap:anywhere}
html[data-theme="studio"] .studio-choice-badges{display:flex;gap:4px;flex:none}
html[data-theme="studio"] .multitest-value .studio-choice-badge{display:inline-flex;align-items:center;justify-content:center;padding:2px 6px;border:1px solid #afc7e2;border-radius:3px;background:#eef3f9;color:#416894;font:600 9px/14px 'DM Sans',sans-serif;text-transform:uppercase;white-space:nowrap}
html[data-theme="studio"] .multitest-value .studio-choice-badge.is-variant{border-color:#efc1ab;background:#fff4ee;color:#d47751}
html[data-theme="studio"] .studio-search-shell{display:flex;align-items:center;gap:8px;width:100%;min-height:32px;border:1px solid #cfe0d4;border-radius:6px;background:white;padding:0 10px;box-sizing:border-box}
html[data-theme="studio"] .studio-search-shell:focus-within{border-color:#3f7f55;box-shadow:0 0 0 1px #3f7f5533}
html[data-theme="studio"] .studio-search-shell>svg{width:14px;height:14px;flex:none;color:#66746d}
html[data-theme="studio"] :is(.multitest-search,.resource-library-search) .studio-search-shell input{flex:1;min-width:0;width:0;border:0;outline:0;box-shadow:none;padding:6px 0;border-radius:0;background:transparent;height:32px;min-height:32px;font-size:13px}
html[data-theme="studio"] .studio-search-shell input::-webkit-search-cancel-button{display:none}
html[data-theme="studio"] .studio-search-clear{display:grid;place-items:center;width:20px;min-width:20px;height:24px;min-height:24px;padding:0;border:0;background:none;color:#66746d;box-shadow:none;border-radius:4px}
html[data-theme="studio"] .studio-search-clear[hidden]{display:none}
html[data-theme="studio"] .studio-search-clear svg{width:12px;height:12px}
html[data-theme="studio"] .studio-variant-popup{width:320px;min-width:0;padding:6px}
html[data-theme="studio"] .studio-variant-popup button{align-items:flex-start;min-height:36px;padding:6px;gap:8px}
html[data-theme="studio"] .studio-variant-popup .studio-entry-badge{height:20px;min-width:55px;padding:0 5px;border-radius:3px;font-weight:500}
html[data-theme="studio"] .studio-variant-popup .studio-variant-name{white-space:normal;overflow-wrap:anywhere;font-size:13px;line-height:20px}
html[data-theme="studio"] .studio-variant-popup time{margin-left:auto;padding-top:2px;font-size:10px;flex:none;text-align:right}

/* Variable workbench: one framed surface, borderless title and prompt, docked edit actions. */
html[data-theme="studio"] .studio-variable-panel{height:auto;margin:16px;flex:1;padding:0;border:1px solid #cfe0d4;border-radius:12px;overflow:hidden}
html[data-theme="studio"] .studio-variable-toolbar{padding:8px 12px;gap:8px;min-height:48px}
html[data-theme="studio"] .studio-variable-content{padding:0;overflow:auto}
html[data-theme="studio"] .studio-variable-content>small{float:left;margin:0;padding:12px 0 12px 16px;line-height:24px}
html[data-theme="studio"] .studio-variable-title{padding:12px 16px 12px 60px;font:600 14px/24px 'DM Sans',sans-serif}
html[data-theme="studio"] .studio-variable-prompt{margin:0;padding:14px 16px;min-height:140px}
html[data-theme="studio"] .studio-variable-footer{padding:8px 16px;font-size:11px;border-top:0;gap:8px}
html[data-theme="studio"] .studio-variable-form-host #tester-variable-form{display:flex;flex-direction:column;gap:0}
html[data-theme="studio"] .studio-variable-form-host #tester-variable-form[hidden]{display:none}
html[data-theme="studio"] .studio-variable-form-host #tester-variable-form>label{margin:0;gap:0;padding:0;border:0}
html[data-theme="studio"] .studio-variable-form-host #tester-variable-form>label:not(#tester-variable-value-field){display:flex;align-items:center;border-bottom:1px solid #cfe0d4;padding:8px 16px;gap:8px}
html[data-theme="studio"] .studio-variable-form-host #tester-variable-label-caption{flex:none;font:400 10px/24px 'DM Sans',sans-serif;color:#66746d;margin:0}
html[data-theme="studio"] .studio-variable-form-host #tester-variable-label{border:0;background:white;box-shadow:none;padding:4px 0;margin:0;min-width:0;flex:1;border-radius:0;height:30px;font:600 14px/22px 'DM Sans',sans-serif}
html[data-theme="studio"] .studio-variable-form-host #tester-variable-value-field>span,html[data-theme="studio"] .studio-variable-form-host #tester-variable-value-field>small{display:none}
html[data-theme="studio"] .studio-variable-form-host #tester-variable-value{width:100%;min-height:140px;max-height:none;margin:0;border:0;border-radius:0;padding:14px 16px;resize:none;box-shadow:none;background:white;overflow:hidden;font:400 13.5px/1.75 'JetBrains Mono',monospace}
html[data-theme="studio"] .studio-variable-form-host #tester-variable-form>div:last-child{position:sticky;bottom:0;display:flex;justify-content:flex-end;gap:8px;padding:8px 12px;border-top:1px solid #cfe0d4;background:white;z-index:1}
html[data-theme="studio"] .studio-variable-form-host #tester-variable-form>div:last-child button{height:32px;min-height:32px;padding:0 12px;border-radius:6px;font:600 12px 'DM Sans',sans-serif}
html[data-theme="studio"] .studio-variable-panel.is-editing .studio-variable-extras{display:none}
html[data-theme="studio"] .studio-variable-template-note{font-size:11px}
html[data-theme="studio"] .studio-variable-panel.is-editing .studio-variable-form-host #tester-variable-template-note:not([hidden]){padding:8px 16px;border-radius:0;margin:0}
/* Independent left/right comparison pickers and prompt-only statistics. */
html[data-theme="studio"] #variant-comparison-dialog{width:min(1100px,calc(100vw - 32px));max-height:calc(100dvh - 32px);border:1px solid #cfe0d4;border-radius:12px;background:white;color:#1f2a24;padding:0}
html[data-theme="studio"] #variant-comparison-dialog>.variant-comparison-toolbar{display:none}
html[data-theme="studio"] #variant-comparison-dialog>main{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0;padding:0;margin:0;border-top:1px solid #cfe0d4}
html[data-theme="studio"] #variant-comparison-dialog .variant-comparison-pane{min-width:0;margin:0;border:0;border-radius:0;background:white;box-shadow:none;display:flex;flex-direction:column}
html[data-theme="studio"] #variant-comparison-dialog .variant-comparison-pane+section{border-left:1px solid #cfe0d4}
html[data-theme="studio"] #variant-comparison-dialog .variant-comparison-pane>header{padding:12px;min-height:62px;border-bottom:1px solid #cfe0d4;background:white;display:block}
html[data-theme="studio"] #variant-comparison-dialog .variant-comparison-pane>header>:not(.studio-comparison-picker){display:none}
html[data-theme="studio"] .studio-comparison-picker{display:inline-flex;height:32px;max-width:100%;border:1px solid #cfe0d4;border-radius:6px;overflow:hidden;align-items:center}
html[data-theme="studio"] .studio-comparison-picker>button{width:28px;min-height:30px;height:30px;padding:0;margin:0;background:white;border:0;border-radius:0;color:#66746d;box-shadow:none;font-size:22px}
html[data-theme="studio"] .studio-comparison-picker>button:disabled{opacity:.3}
html[data-theme="studio"] .studio-comparison-select{position:relative;display:flex;align-items:center;height:30px;padding:0 26px 0 5px;border-inline:1px solid #cfe0d4}
html[data-theme="studio"] .studio-comparison-select::after{content:'⌄';position:absolute;right:8px;color:#66746d;pointer-events:none}
html[data-theme="studio"] .studio-comparison-current{display:block;padding:4px 8px;border-radius:4px;background:#3f7f55;color:white;font:600 10px/16px 'DM Sans',sans-serif;text-transform:uppercase;white-space:nowrap}
html[data-theme="studio"] .studio-comparison-picker.is-variant .studio-comparison-current{background:#d4855a}
html[data-theme="studio"] #variant-comparison-dialog .studio-comparison-select select{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;margin:0;padding:0}
html[data-theme="studio"] .studio-comparison-select:focus-within{outline:2px solid #3f7f55;outline-offset:-2px}
html[data-theme="studio"] #variant-comparison-dialog .variant-comparison-pane article{padding:12px 16px;margin:0;border:0;background:white;overflow-wrap:anywhere}
html[data-theme="studio"] #variant-comparison-dialog .variant-comparison-pane article.is-prompt{flex:1;font:400 13.5px/1.75 'JetBrains Mono',monospace;white-space:pre-wrap;max-height:55dvh;overflow:auto}
html[data-theme="studio"] #variant-comparison-dialog .variant-comparison-pane article>small{font:400 10px 'DM Sans',sans-serif;color:#66746d;margin-bottom:6px}
html[data-theme="studio"] #variant-comparison-dialog mark{padding:0;border-radius:0;font:inherit;background:transparent;color:inherit}
html[data-theme="studio"] #variant-comparison-dialog mark.is-added{background:#e4ede6;color:#1f2a24}
html[data-theme="studio"] #variant-comparison-dialog mark.is-removed{background:#fff1ed;color:#d74432;text-decoration:line-through}
html[data-theme="studio"] #variant-comparison-dialog .variant-comparison-pane>footer{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:10px 12px;border-top:1px solid #cfe0d4;font:400 11px 'DM Sans',sans-serif;color:#66746d}
html[data-theme="studio"] #variant-comparison-dialog [id^="variant-comparison-delta-"]{padding:3px 6px;border-radius:3px;background:#eaf4ed;color:#3f7f55;margin-left:auto}
html[data-theme="studio"] #variant-comparison-dialog [id^="variant-comparison-delta-"].is-negative{background:#fff1ed;color:#b65a32}
@media(max-width:600px){html[data-theme="studio"] .studio-variable-panel{margin:8px}html[data-theme="studio"] #variant-comparison-dialog>main{grid-template-columns:minmax(0,1fr)}html[data-theme="studio"] #variant-comparison-dialog .variant-comparison-pane+section{border-left:0;border-top:1px solid #cfe0d4}html[data-theme="studio"] .studio-variable-footer{align-items:flex-start}html[data-theme="studio"] .studio-variable-toolbar{flex-wrap:wrap}}
html[data-theme="studio"] #variant-comparison-dialog[open]{grid-template-rows:auto minmax(0,1fr)}
html[data-theme="studio"] #variant-comparison-dialog .variant-comparison-pane{padding:0;gap:0;overflow:hidden}
html[data-theme="studio"] #variant-comparison-dialog .variant-comparison-pane.is-source{border-right:0}
html[data-theme="studio"] #variant-comparison-dialog .variant-comparison-pane article{box-shadow:none;border-radius:0}
html[data-theme="studio"] #variant-comparison-dialog .variant-comparison-pane article:not(.is-prompt){border-bottom:1px solid #cfe0d4}
html[data-theme="studio"] :is(.studio-variant-popup,.studio-variable-content,.studio-drawer-scroll,.resource-library-dialog>section){scrollbar-width:thin;scrollbar-color:#cadccf #fff;scrollbar-gutter:stable;overflow-y:scroll}
html[data-theme="studio"] :is(.studio-variant-popup,.studio-variable-content,.studio-drawer-scroll,.resource-library-dialog>section)::-webkit-scrollbar{width:6px;height:6px}
html[data-theme="studio"] :is(.studio-variant-popup,.studio-variable-content,.studio-drawer-scroll,.resource-library-dialog>section)::-webkit-scrollbar-track{background:#fff}
html[data-theme="studio"] :is(.studio-variant-popup,.studio-variable-content,.studio-drawer-scroll,.resource-library-dialog>section)::-webkit-scrollbar-thumb{background:#cadccf;border-radius:6px}
html[data-theme="studio"] .studio-new-entry-menu{width:280px;min-width:0}
html[data-theme="studio"] .resource-library-dialog .studio-upload-zone{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px;margin:16px 20px;padding:16px;border:1px dashed #a9ccb5;border-radius:12px;background:#f3f8f4}
html[data-theme="studio"] .studio-upload-zone b{font:400 13px 'DM Sans',sans-serif;color:#66746d}
html[data-theme="studio"] .studio-upload-zone>button{border:0;background:transparent;color:#3f7f55;font:600 13px 'DM Sans',sans-serif;box-shadow:none;padding:0;min-height:24px}
html[data-theme="studio"] .studio-upload-zone.is-dragover{background:#eaf4ed;border-color:#3f7f55}
html[data-theme="studio"] .resource-library-card{cursor:pointer;border:1px solid #cfe0d4;border-radius:10px;background:white}
html[data-theme="studio"] .resource-library-card:focus-visible{outline:2px solid #3f7f55;outline-offset:2px}
html[data-theme="studio"] .resource-library-card .resource-library-project-title{display:block;color:#1f2a24;font:600 14px/20px 'DM Sans',sans-serif}
html[data-theme="studio"] .resource-library-card>div>b{font:400 12px/20px 'DM Sans',sans-serif;color:#66746d}
html[data-theme="studio"] .resource-library-card>.resource-library-select{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
html[data-theme="studio"] .resource-library-card>.resource-library-select:focus-visible{position:static;width:auto;height:auto;clip-path:none}

html[data-theme="studio"] #workbench-dirty.changed{display:inline-flex;align-items:center;gap:6px;min-height:24px;padding:3px 10px;border:1px solid #efc1ab;border-radius:999px;background:#fbf4ee;color:#1f2a24;font:500 12px/16px 'DM Sans',sans-serif;letter-spacing:0;white-space:nowrap}
html[data-theme="studio"] #workbench-dirty.changed::before{content:'';width:6px;height:6px;flex:none;border-radius:50%;background:#d4855a}
/* Final styleguide alignment: use the same spacing and controls in every picker. */
html[data-theme="studio"]{--studio-multi-soft:#fbf4ee;--studio-multi-hover:#f6e6da;--studio-multi-text:#a85a32;--studio-random-soft:#eef3f8;--studio-random-hover:#e1eaf3;--studio-random-text:#3e6086;--studio-border:#cfe0d4;--studio-gap:8px}
html[data-theme="studio"] .studio-variable-active[hidden]{display:none}
html[data-theme="studio"] .studio-search-clear{width:20px;height:20px;min-height:20px}
html[data-theme="studio"] .studio-field-pill[data-mode="multi"]{background:#fbf4ee;border-color:#d4855a66;color:#a85a32}
html[data-theme="studio"] .studio-field-pill[data-mode="random"]{background:#eef3f8;border-color:#5b83ab66;color:#3e6086}
html[data-theme="studio"] .studio-choice-badge.is-variant{background:#fbf4ee;border-color:#d4855a66;color:#a85a32}
html[data-theme="studio"] .studio-choice-badge.is-own{background:#eef3f8;border-color:#5b83ab66;color:#3e6086}
html[data-theme="studio"] :is(.multitest-dialog,.resource-library-dialog,.submission-dialog,.tester-variable-ai-dialog){top:56px;max-height:calc(100dvh - 72px)}
html[data-theme="studio"] :is(.multitest-dialog,.resource-library-dialog)>header{min-height:56px;padding:12px 16px;gap:12px}
html[data-theme="studio"] :is(.multitest-dialog,.resource-library-dialog)>header>div{display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-width:0;flex:1}
html[data-theme="studio"] :is(.multitest-dialog,.resource-library-dialog)>header :is(h2){margin:0;font-size:18px;line-height:24px}
html[data-theme="studio"] :is(.multitest-dialog,.resource-library-dialog)>header>div>p,html[data-theme="studio"] :is(.multitest-dialog,.resource-library-dialog)>header>div>span:not(.studio-field-pill){display:none}
html[data-theme="studio"] :is(.multitest-dialog,.resource-library-dialog)>header>button{width:32px;height:32px;min-height:32px;flex:none;border:1px solid #cfe0d4;border-radius:6px;background:white;color:#66746d;display:grid;place-items:center;padding:0;font-size:22px;box-shadow:none}
html[data-theme="studio"] :is(.multitest-dialog,.resource-library-dialog)>header>button:hover{background:#eaf4ed;color:#3f7f55;border-color:#3f7f55}
html[data-theme="studio"] .multitest-dialog .multitest-tools{gap:8px;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr);align-items:end}
html[data-theme="studio"] .multitest-dialog .multitest-tools :is(input,select){height:32px;min-height:32px;font-size:12px;border-radius:6px}
html[data-theme="studio"] .multitest-dialog :is(.random-filter-toggle,.multitest-dialog-body~footer button){min-height:32px;font:500 12px 'DM Sans',sans-serif}
html[data-theme="studio"] .multitest-dialog .random-filter-toggle{background:#eaf4ed;color:#3f7f55;border-color:#a9ccb5}
html[data-theme="studio"] .multitest-value-list{gap:4px}
html[data-theme="studio"] .multitest-value{padding:8px 10px;min-height:36px}
html[data-theme="studio"] :is(.multitest-dialog-body,.resource-library-dialog>section){padding:16px}
html[data-theme="studio"] .multitest-dialog footer{gap:8px;padding:12px 16px;flex-wrap:wrap}
html[data-theme="studio"] .resource-library-pagination{gap:8px;padding:12px 0 0}
html[data-theme="studio"] .resource-library-pagination button{width:32px;height:32px;min-height:32px;border-radius:6px}
html[data-theme="studio"] .studio-upload-zone{position:relative}
html[data-theme="studio"] .studio-upload-zone::before{content:'↑';font-size:18px;color:#3f7f55;line-height:20px}
html[data-theme="studio"] .studio-ai-chat{position:absolute;z-index:6;inset:56px 0 0 auto;display:flex;flex-direction:column;width:min(360px,100%);border-left:1px solid #cfe0d4;background:#fff;box-shadow:-6px 0 20px #1f2a240a;color:#1f2a24}
html[data-theme="studio"] .studio-ai-chat>header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 16px;border-bottom:1px solid #cfe0d4;min-height:56px}
html[data-theme="studio"] .studio-ai-chat>header>div{display:grid;gap:2px;min-width:0}
html[data-theme="studio"] .studio-ai-chat header strong{font:600 16px 'Space Grotesk',sans-serif}
html[data-theme="studio"] .studio-ai-chat header small{font-size:11px;color:#66746d;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html[data-theme="studio"] .studio-ai-chat button{height:32px;min-height:32px;padding:0 10px;border:1px solid #cfe0d4;border-radius:6px;background:#fff;color:#1f2a24;font:500 12px 'DM Sans',sans-serif;box-shadow:none}
html[data-theme="studio"] .studio-ai-chat button:hover{background:#eaf4ed;border-color:#3f7f55;color:#3f7f55}
html[data-theme="studio"] .studio-ai-chat button:disabled{opacity:.45;cursor:default}
html[data-theme="studio"] .studio-ai-chat button[title]:has(svg){width:32px;padding:0;flex:none}
html[data-theme="studio"] .studio-ai-chat svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8}
html[data-theme="studio"] .studio-ai-messages{flex:1;min-height:0;overflow-y:scroll;padding:16px;display:flex;flex-direction:column;gap:16px;scrollbar-gutter:stable;scrollbar-color:#cadccf #fff;scrollbar-width:thin}
html[data-theme="studio"] .studio-ai-quick{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}
html[data-theme="studio"] .studio-ai-quick button{height:auto;min-height:40px;white-space:normal;text-align:left;padding:8px}
html[data-theme="studio"] .studio-ai-user{background:#eaf4ed;border:1px solid #cfe0d4;border-radius:10px;padding:10px 12px;align-self:flex-end;max-width:95%;white-space:pre-wrap;overflow-wrap:anywhere}
html[data-theme="studio"] .studio-ai-answer{white-space:pre-wrap;font-size:13px;line-height:1.6;overflow-wrap:anywhere}
html[data-theme="studio"] .studio-ai-suggestion{display:flex;flex-direction:column;gap:12px;border-top:1px solid #cfe0d4;padding-top:12px}
html[data-theme="studio"] .studio-ai-suggestion-tools{display:flex;align-items:center;flex-wrap:wrap;gap:4px}
html[data-theme="studio"] .studio-ai-delta{margin-right:auto;padding:3px 6px;border-radius:999px;background:#eaf4ed;color:#3f7f55;font-size:10px}
html[data-theme="studio"] .studio-ai-suggestion-tools button{height:24px;min-height:24px;padding:0 6px;font-size:10px;border:0}
html[data-theme="studio"] .studio-ai-suggestion-tools .is-active{background:#eaf4ed;color:#3f7f55}
html[data-theme="studio"] .studio-ai-chat .studio-ai-proposal{margin:0;padding:0;white-space:pre-wrap;overflow-wrap:anywhere;background:white;border:0;box-shadow:none;font:400 13.5px/1.75 'JetBrains Mono',monospace}
html[data-theme="studio"] .studio-ai-proposal mark{background:transparent;color:inherit;font:inherit}
html[data-theme="studio"] .studio-ai-proposal mark.is-added{background:#eaf4ed}
html[data-theme="studio"] .studio-ai-proposal mark.is-removed{background:#fff1ed;color:#c9372d;text-decoration:line-through}
html[data-theme="studio"] .studio-ai-proposal-actions{display:flex;flex-wrap:wrap;gap:8px}
html[data-theme="studio"] .studio-ai-chat .is-primary,html[data-theme="studio"] .studio-ai-input button{background:#3f7f55;color:#f8f9f8;border-color:#3f7f55}
html[data-theme="studio"] .studio-ai-chat .is-primary:hover,html[data-theme="studio"] .studio-ai-input button:hover{background:#2f6042;color:white}
html[data-theme="studio"] .studio-ai-input{display:flex;align-items:flex-end;gap:8px;padding:12px;border-top:1px solid #cfe0d4;margin:0}
html[data-theme="studio"] .studio-ai-input textarea{min-height:64px;max-height:140px;min-width:0;flex:1;border:1px solid #cfe0d4;border-radius:8px;padding:8px 10px;font:400 13px/20px 'DM Sans',sans-serif;resize:vertical}
html[data-theme="studio"] .studio-variable-ai.is-open{background:#eaf4ed;border-color:#a9ccb5;color:#3f7f55}
@media(max-width:600px){html[data-theme="studio"] .multitest-dialog .multitest-tools{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}html[data-theme="studio"] .multitest-tools>.multitest-search{grid-column:1/-1}html[data-theme="studio"] .studio-ai-chat{width:100%}}
@media(min-width:1100px){html[data-theme="studio"] #tester-variable-drawer:has(.studio-ai-chat) .studio-variable-panel{margin-right:376px}html[data-theme="studio"] #tester-variable-drawer:has(.studio-ai-chat) .studio-variable-toolbar{flex-wrap:wrap}}
html[data-theme="studio"] .multitest-field-context[hidden]{display:none}
html[data-theme="studio"] .multitest-dialog header .studio-field-pill{letter-spacing:0;text-transform:none;font-weight:500}
html[data-theme="studio"] .workbench-live.studio-narrow .workbench-resource-grid{grid-template-columns:minmax(0,1fr)}
html[data-theme="studio"] :is(#workbench-curl-dialog,#variant-comparison-dialog){top:56px;bottom:auto;margin:0 auto;max-height:calc(100dvh - 72px)}
html[data-theme="studio"] .workbench-curl-warning{background:#fbf4ee;border-color:#d4855a66;color:#a85a32;gap:8px;padding:12px;border-radius:8px}
html[data-theme="studio"] .workbench-curl-code{background:#111613;border-color:#39413c;border-radius:8px}
html[data-theme="studio"] .workbench-curl-code pre{font:400 13.5px/1.75 'JetBrains Mono',monospace}
html[data-theme="studio"] .workbench-curl-code #workbench-curl-copy{display:grid;place-items:center;width:28px;height:28px;min-height:28px;padding:0;border:1px solid #39413c;border-radius:6px;background:#202622;color:#eee;font-size:11px;box-shadow:none}
html[data-theme="studio"] .workbench-curl-code #workbench-curl-copy span{display:none}
html[data-theme="studio"] .workbench-curl-code #workbench-curl-copy svg{width:14px;height:14px}
html[data-theme="studio"] #result-image-viewer :is(.result-viewer-tools button,.result-viewer-pane-tools button,.result-viewer-pane-tools a){width:32px;height:32px;min-height:32px}
@media(max-width:1100px){html[data-theme="studio"] body:has(.studio-ai-chat) .studio-quick-nav{display:none}}
html[data-theme="studio"] .workbench-live #final-prompt-panel .generated-head{flex-wrap:wrap;gap:8px;z-index:4}
html[data-theme="studio"] #final-prompt-panel .generated-head .dispatch-footer{display:contents}
html[data-theme="studio"] #final-prompt-panel .generated-head .dispatch-actions{display:flex;width:auto;flex:0 0 auto;margin:0;gap:8px}
html[data-theme="studio"] #final-prompt-panel .generated-head .extension-state{padding:4px 6px;border:1px solid #c9372d44;border-radius:4px;background:#fff1ed;color:#c9372d;font:600 10px 'DM Sans',sans-serif;gap:4px;text-transform:uppercase;box-shadow:none}
html[data-theme="studio"] #final-prompt-panel .generated-head .extension-state.is-online{color:#3f7f55;border-color:#a9ccb5;background:#eaf4ed}
html[data-theme="studio"] #final-prompt-panel .extension-state[hidden],html[data-theme="studio"] #workbench-dispatch .dispatch-heading{display:none}

/* Keep project action icons centered without inherited title-button padding. */
html[data-theme="studio"] .studio-project-tools>button{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:32px;min-height:32px;box-sizing:border-box;line-height:1;transform:none}
html[data-theme="studio"] .studio-project-tools>button>svg{display:block;width:16px;height:16px;flex:0 0 16px;margin:0}
html[data-theme="studio"] .studio-project-tools>#workbench-curl-button{width:32px;min-width:32px;flex:0 0 32px;padding:0}

/* Match icon actions and chat input geometry to the preview. */
html[data-theme="studio"] .studio-ai-chat button:has(>svg){display:inline-flex;align-items:center;justify-content:center;gap:8px;box-sizing:border-box;line-height:1;transform:none}
html[data-theme="studio"] .studio-ai-chat button>svg{display:block;flex:0 0 16px;margin:0}
html[data-theme="studio"] .studio-ai-chat button.studio-ai-copy[title]:has(svg){width:24px;height:24px;min-height:24px;padding:0}
html[data-theme="studio"] .studio-ai-chat .studio-ai-regenerate{width:32px;height:32px;min-height:32px;padding:0}
html[data-theme="studio"] .studio-ai-copy.is-copied{color:#3f7f55;background:#eaf4ed}
html[data-theme="studio"] .studio-ai-regenerate.is-loading svg{animation:studio-chat-spin 1s linear infinite}
@keyframes studio-chat-spin{to{transform:rotate(360deg)}}
html[data-theme="studio"] .studio-ai-input{position:relative;display:block}
html[data-theme="studio"] .studio-ai-input textarea{display:block;box-sizing:border-box;width:100%;padding:10px 48px 10px 12px}
html[data-theme="studio"] .studio-ai-input button[type="submit"]{position:absolute;right:20px;bottom:20px;border-radius:999px;width:32px;height:32px;min-height:32px;padding:0}
@media(prefers-reduced-motion:reduce){html[data-theme="studio"] .studio-ai-regenerate.is-loading svg{animation:none}}

html[data-theme="studio"] .studio-variable-detail #tester-variable-title{display:inline-block;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:bottom}
html[data-theme="studio"] .studio-variable-detail .drawer-header>div:has(.studio-variable-active:not([hidden])) #tester-variable-title{max-width:calc(100% - 64px)}

/* Resizable KI dock: same header, conversation entry and edge handle as the preview. */
html[data-theme="studio"] .studio-ai-chat{top:0;width:var(--studio-chat-width,360px);box-shadow:none;container-type:inline-size}
html[data-theme="studio"] .studio-ai-chat>header{height:56px;min-height:56px;flex:none;padding:0 16px;box-sizing:border-box}
html[data-theme="studio"] .studio-ai-chat>header>div:first-child{display:flex;align-items:center;gap:8px;flex:1;min-width:0}
html[data-theme="studio"] .studio-ai-chat header strong{font:600 15px 'Space Grotesk',sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html[data-theme="studio"] .studio-ai-bot{display:grid;place-items:center;width:28px;height:28px;flex:none;border-radius:6px;background:#eaf4ed;color:#3f7f55}
html[data-theme="studio"] .studio-ai-version{flex:none;padding:2px 8px;border:1px solid #3f7f5533;border-radius:999px;background:#eaf4ed;color:#3f7f55;font:500 12px/16px 'DM Sans',sans-serif}
html[data-theme="studio"] .studio-ai-chat>header>.studio-ai-header-actions{display:flex;gap:8px;flex:none}
html[data-theme="studio"] .studio-ai-intro{margin:0;font:400 15px/24px 'DM Sans',sans-serif}
html[data-theme="studio"] .studio-ai-messages{gap:24px}
html[data-theme="studio"] .studio-ai-quick button{border-radius:12px;background:#f8f9f8;padding:10px 12px;font-size:14px;line-height:20px;min-height:42px}
html[data-theme="studio"] .studio-ai-input{padding:12px 16px;flex:none}
html[data-theme="studio"] .studio-ai-input textarea{min-height:44px;max-height:192px;resize:none;border-radius:12px;font:400 15px/22px 'DM Sans',sans-serif}
html[data-theme="studio"] .studio-ai-input button[type="submit"]{right:24px;bottom:20px}
html[data-theme="studio"] .studio-ai-input button:disabled{background:#9fbaa8;border-color:#9fbaa8;color:white;opacity:1}
html[data-theme="studio"] .studio-ai-resize{position:absolute;left:-6px;top:0;bottom:0;width:12px;z-index:20;cursor:col-resize;touch-action:none}
html[data-theme="studio"] .studio-ai-resize::before{content:"";position:absolute;left:5px;top:0;bottom:0;width:1px;background:transparent}
html[data-theme="studio"] .studio-ai-resize::after{content:"";position:absolute;left:4px;top:calc(50% - 20px);height:40px;width:4px;border-radius:999px;background:#66746d59}
html[data-theme="studio"] .studio-ai-resize:is(:hover,:focus-visible)::before,html[data-theme="studio"] .studio-ai-chat.is-resizing .studio-ai-resize::before{background:#3f7f55;width:2px}
html[data-theme="studio"] .studio-ai-resize:is(:hover,:focus-visible)::after,html[data-theme="studio"] .studio-ai-chat.is-resizing .studio-ai-resize::after{background:#3f7f55}
@media(min-width:760px){html[data-theme="studio"] #tester-variable-drawer:has(.studio-ai-chat) .studio-variable-panel{margin-right:calc(var(--studio-chat-width,360px) + 16px)}html[data-theme="studio"] #tester-variable-drawer:has(.studio-ai-chat)>.drawer-header{padding-right:calc(var(--studio-chat-width,360px) + 16px)}}
@media(max-width:759px){html[data-theme="studio"] .studio-ai-chat{width:100%}html[data-theme="studio"] .studio-ai-resize{display:none}}
@container(max-width:330px){html[data-theme="studio"] .studio-ai-quick{grid-template-columns:1fr}html[data-theme="studio"] .studio-ai-chat header strong{font-size:13px}}

html[data-theme="studio"] .studio-ai-resize:focus-visible{outline:none}

/* Preview two/three-column editor: no nested card while KI is docked. */
html[data-theme="studio"] #tester-variable-drawer:has(.studio-ai-chat) .studio-variable-panel{border:0;border-radius:0;margin:0 var(--studio-chat-width,360px) 0 0;box-shadow:none;padding:0;overflow:hidden}
html[data-theme="studio"] #tester-variable-drawer:has(.studio-ai-chat) .studio-variable-toolbar{margin:0 24px;padding:20px 0 12px;min-height:64px;gap:12px;border-bottom:1px solid #cfe0d4;box-sizing:border-box}
html[data-theme="studio"] #tester-variable-drawer:has(.studio-ai-chat) .studio-variable-content{margin-top:24px}
html[data-theme="studio"] #tester-variable-drawer:has(.studio-ai-chat) .studio-variable-content>small{padding:8px 0 8px 24px;line-height:24px}
html[data-theme="studio"] #tester-variable-drawer:has(.studio-ai-chat) .studio-variable-title{margin:0 24px;padding:8px 0 8px 38px;border-bottom:1px solid #cfe0d4}
html[data-theme="studio"] #tester-variable-drawer:has(.studio-ai-chat) .studio-variable-prompt{padding:16px 24px}
html[data-theme="studio"] #tester-variable-drawer:has(.studio-ai-chat) .studio-variable-footer{padding-inline:24px}
html[data-theme="studio"] .studio-variable-toolbar .studio-variable-ai{white-space:nowrap}

html[data-theme="studio"] #tester-variable-drawer:has(.studio-ai-chat) .studio-drawer-scroll{overflow:hidden;scrollbar-gutter:auto}
html[data-theme="studio"] .studio-variable-detail>.drawer-header #tester-variable-ai-settings{display:none}

/* Keep header search chrome on the shared shell, including focus. */
html[data-theme="studio"] .topbar .search-shell{display:flex;align-items:center;gap:8px;padding:0 10px;border:1px solid #cfe0d4;border-radius:8px;background:#fff;box-sizing:border-box}
html[data-theme="studio"] .topbar .search-shell:focus-within{border-color:#3f7f55;box-shadow:0 0 0 2px #3f7f551a}
html[data-theme="studio"] .topbar .search-shell .search-input{flex:1;min-width:0;height:30px;min-height:0;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;outline:none;box-sizing:border-box}
html[data-theme="studio"] .topbar .search-shell .search-input:focus{border:0;box-shadow:none;outline:none}
html[data-theme="studio"] .topbar .search-icon{display:flex;align-items:center;flex:0 0 16px}

/* Current styleguide: separate preview card and compact test action bar. */
html[data-theme="studio"] .workbench-live #final-prompt-panel{display:contents;padding:0;border:0;border-radius:0;background:transparent;overflow:visible}
html[data-theme="studio"] .studio-live-preview{border:1px solid #cfe0d4;border-radius:12px;background:white;overflow:hidden}
html[data-theme="studio"] .workbench-live #final-prompt-panel .studio-live-preview>.generated-head{position:static;min-height:52px;padding:10px 16px;gap:12px;flex-wrap:nowrap;border:0}
html[data-theme="studio"] .studio-live-preview .studio-final-mark{width:32px;height:32px;border-radius:8px}
html[data-theme="studio"] .studio-live-preview .studio-final-mark svg{width:16px;height:16px}
html[data-theme="studio"] .studio-live-preview .studio-final-heading .generated-title{font:600 16px/24px 'Space Grotesk',sans-serif}
html[data-theme="studio"] .studio-preview-status{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
html[data-theme="studio"] .workbench-live #final-prompt-panel .studio-raw-prompt-bar{position:sticky;top:56px;z-index:8;display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:-8px;padding:8px 12px;min-height:50px;border:1px solid #cfe0d4;border-radius:12px;background:white}
html[data-theme="studio"] .studio-raw-title{color:#66746d;font:600 12px/16px 'DM Sans',sans-serif;text-transform:uppercase;letter-spacing:.025em}
html[data-theme="studio"] #final-prompt-panel .studio-raw-prompt-bar .studio-provider-picker summary{min-height:32px;height:32px;padding:0 10px;background:white;border-radius:6px}
html[data-theme="studio"] #final-prompt-panel .studio-provider-picker .extension-state{padding:2px 5px;font-size:10px;flex:none}
html[data-theme="studio"] #final-prompt-panel .studio-raw-prompt-bar .dispatch-tag-button{height:32px;min-height:32px;padding:0 10px;border-radius:6px}
html[data-theme="studio"] #final-prompt-panel .studio-raw-prompt-bar .dispatch-tag-button b{font-size:12px;max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html[data-theme="studio"] #final-prompt-panel .studio-raw-prompt-bar .dispatch-actions{margin-left:auto;gap:0;flex:0 0 auto;width:auto}
html[data-theme="studio"] .workbench-live #final-prompt-panel .studio-raw-prompt-bar .dispatch-button{height:40px;min-height:40px;font-size:12px;border-radius:6px 0 0 6px}
html[data-theme="studio"] #final-prompt-panel .studio-raw-prompt-bar .repeat-start-toggle{height:40px;border-radius:0 6px 6px 0}
html[data-theme="studio"] .workbench-live .studio-mode-select.is-multitest summary:hover{background:#f6e6da;border-color:#d4855a;color:#a85a32}
html[data-theme="studio"] .workbench-live .studio-mode-select.is-random summary:hover{background:#e1eaf3;border-color:#5b83ab;color:#3e6086}
html[data-theme="studio"] .studio-variable-title,html[data-theme="studio"] .studio-variable-form-host #tester-variable-label{font-size:15px;line-height:22.5px}
html[data-theme="studio"] #final-prompt-panel .studio-raw-prompt-bar .studio-provider-picker{min-width:0;max-width:100%}
html[data-theme="studio"] #final-prompt-panel .studio-raw-prompt-bar .studio-provider-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}
html[data-theme="studio"] #final-prompt-panel .studio-raw-prompt-bar .studio-provider-picker summary>svg{flex:none}
html[data-theme="studio"] #final-prompt-panel .studio-raw-prompt-bar .dispatch-tag-button{width:auto;max-width:100%;flex:0 1 auto}
@media(max-width:600px){html[data-theme="studio"] #final-prompt-panel .studio-raw-prompt-bar .studio-provider-caps{display:none}html[data-theme="studio"] #final-prompt-panel .studio-raw-prompt-bar .studio-provider-picker summary{gap:6px}html[data-theme="studio"] #final-prompt-panel .studio-raw-prompt-bar .studio-provider-prefix,html[data-theme="studio"] #final-prompt-panel .studio-raw-prompt-bar .dispatch-tag-button>span{display:none}}
@media(max-width:760px){html[data-theme="studio"] .workbench-live #final-prompt-panel .studio-raw-prompt-bar{margin-top:-4px}}

/* Current preview proposal actions and segmented Diff/Full picker. */
html[data-theme="studio"] .studio-ai-view-switch{display:flex;gap:0;padding:2px;border:1px solid #cfe0d4;border-radius:6px;background:#fff}
html[data-theme="studio"] .studio-ai-view-switch button{border-radius:4px}
html[data-theme="studio"] .studio-ai-proposal-actions{justify-content:space-between;align-items:center}
html[data-theme="studio"] .studio-ai-proposal-choices{display:flex;flex-wrap:wrap;gap:6px;min-width:0}
html[data-theme="studio"] .studio-ai-chat .studio-ai-apply{background:#eaf4ed;border-color:#3f7f5533;color:#3f7f55}
html[data-theme="studio"] .studio-ai-chat .studio-ai-apply[hidden]{display:none}
html[data-theme="studio"] .studio-ai-chat .studio-ai-proposal-choices .is-primary{display:inline-flex;align-items:center;gap:4px;width:auto;white-space:nowrap}
html[data-theme="studio"] .studio-ai-chat .studio-ai-proposal-choices .is-primary svg{width:14px;height:14px;flex-basis:14px}
html[data-theme="studio"] .studio-ai-chat .studio-ai-proposal-actions .studio-ai-regenerate{border:0;background:transparent;color:#66746d}

/* Fixed-value fields use the same operable mode dropdown as choice fields. */
html[data-theme="studio"] .studio-mode-select summary>svg{width:14px;height:14px;flex:none}
html[data-theme="studio"] .studio-mode-select summary>svg:last-child{width:12px;height:12px;opacity:.6}
html[data-theme="studio"] .studio-mode-options>button:disabled{opacity:.5;cursor:not-allowed;background:transparent}
html[data-theme="studio"] .studio-mode-options>button:focus-visible{outline:2px solid #3f7f55;outline-offset:-2px;background:#eaf4ed}
html[data-theme="studio"] .workbench-live .studio-mode-select summary{height:36px}

/* Keep repeat choices below the sticky start bar when the header leaves no room above. */
html[data-theme="studio"] #final-prompt-panel .repeat-start.repeat-opens-down .repeat-start-panel{top:100%;bottom:auto;margin-top:7px;margin-bottom:0}
html[data-theme="studio"] #final-prompt-panel .repeat-start.repeat-opens-down .repeat-start-panel:after{top:auto;bottom:100%}

/* Match the preview topbar without changing the account/search actions. */
html[data-theme="studio"] :is(.topbar,.admin-app .admin-header){height:56px;min-height:56px;padding-block:0;flex-wrap:nowrap}
html[data-theme="studio"] .studio-breadcrumb{flex:0 1 auto;gap:6px;font-size:14px;line-height:20px}
html[data-theme="studio"] .studio-breadcrumb>a,html[data-theme="studio"] .studio-breadcrumb>span{flex:none}
html[data-theme="studio"] .studio-breadcrumb>b{min-width:0;max-width:none;color:#1f2a24;font-weight:500}
html[data-theme="studio"] .studio-breadcrumb>span>svg{display:block;width:14px;height:14px}
html[data-theme="studio"] .studio-admin-navigation{margin-left:12px}
html[data-theme="studio"] .studio-admin-navigation summary{height:28px;min-height:28px;padding:0 10px;font:500 12px/16px 'DM Sans',sans-serif;color:#66746d;white-space:nowrap}
html[data-theme="studio"] .studio-admin-navigation summary span{display:inline}
html[data-theme="studio"] .topbar .top-actions{display:flex;flex:none;align-items:center;gap:16px;width:auto}
html[data-theme="studio"] .topbar .search-shell{width:256px;height:36px;min-height:36px;padding:0 12px;gap:8px;background:white}
html[data-theme="studio"] .topbar .search-shell:hover{background:white}
html[data-theme="studio"] .topbar .search-icon{width:16px;background:transparent;color:#66746d}
html[data-theme="studio"] .topbar .search-icon svg{width:16px;height:16px;stroke-width:2}
html[data-theme="studio"] .topbar .search-shell .search-input{width:0;height:34px;font:400 14px/20px 'DM Sans',sans-serif}
html[data-theme="studio"] .topbar .search-input::placeholder{color:#66746d;opacity:1}
html[data-theme="studio"] .topbar .project-quick-search{width:256px}
html[data-theme="studio"] .topbar .account{width:auto;flex:none}
html[data-theme="studio"] .topbar .user-chip{width:auto;min-width:0;height:36px;min-height:36px;padding:0 10px 0 6px;gap:10px;border:1px solid #cfe0d4;background:white}
html[data-theme="studio"] .topbar .user-chip:hover,html[data-theme="studio"] .topbar .user-chip[aria-expanded="true"]{background:#eaf4ed;border-color:#cfe0d4}
html[data-theme="studio"] .topbar .user-chip .avatar{flex:none;width:24px;height:24px;background:#3f7f551a;color:#3f7f55}
html[data-theme="studio"] .topbar .user-copy{display:block;flex:none}
html[data-theme="studio"] .topbar .user-copy b{font:600 14px/20px 'DM Sans',sans-serif;white-space:nowrap}
html[data-theme="studio"] .topbar .account-chevron{display:grid;place-items:center;flex:none;width:16px;height:16px;margin:0;border:0;transform:none;color:#66746d}
html[data-theme="studio"] .topbar .account-chevron svg{width:16px;height:16px;transition:transform .18s ease}
html[data-theme="studio"] .topbar .account.open .account-chevron svg{transform:rotate(180deg)}
html[data-theme="studio"] .topbar .header-notification-badge{position:absolute;top:-1px;left:22px;min-width:16px;height:16px;padding:0 4px;border:0;font-size:9px;font-weight:700;line-height:1;background:#c9372d;pointer-events:none}
@media(max-width:1100px) and (min-width:761px){html[data-theme="studio"] .topbar .search-shell,html[data-theme="studio"] .topbar .project-quick-search{width:200px}}
@media(max-width:760px){html[data-theme="studio"] :is(.topbar,.admin-app .admin-header){padding-inline:12px;gap:8px}html[data-theme="studio"] .studio-breadcrumb{flex:1;font-size:12px}html[data-theme="studio"] .studio-breadcrumb>b{max-width:none}html[data-theme="studio"] .studio-admin-navigation{margin-left:4px}html[data-theme="studio"] .studio-admin-navigation summary{padding-inline:6px;gap:4px}html[data-theme="studio"] .studio-admin-navigation summary span,html[data-theme="studio"] .topbar .user-copy{display:none}html[data-theme="studio"] .topbar .top-actions{gap:8px}html[data-theme="studio"] .topbar .top-actions>.search-shell,html[data-theme="studio"] .topbar .project-quick-search{display:none}html[data-theme="studio"] .topbar .account-menu{left:auto;right:0;width:min(230px,calc(100vw - 104px))}}

@media(max-width:1000px){html[data-theme="studio"] .studio-admin-navigation summary span,html[data-theme="studio"] .topbar .user-copy{display:none}}

/* Prompt heading typography from the current preview (h3/h4). */
html[data-theme="studio"] .workbench-live .live-section:not(.is-sub)>.field-head>span:not(.step){font:600 16px/24px 'Space Grotesk','DM Sans',sans-serif;letter-spacing:normal}

/* File thumbnail removal uses the preview's centered Lucide cross. */
html[data-theme="studio"] .studio-upload-remove{display:flex;align-items:center;justify-content:center;padding:0;line-height:1;background:rgb(31 42 36 / .7);color:#f8f9f8;box-shadow:0 1px 2px rgb(0 0 0 / .05)}
html[data-theme="studio"] .studio-upload-remove>svg{display:block;flex:none;width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
html[data-theme="studio"] .studio-upload-remove:not(:disabled):hover{background:#c9372d;color:#f8f9f8}

/* Prompt structure follows the preview's contiguous section rows and field labels. */
html[data-theme="studio"] .workbench-live .workbench-subsections:empty{display:none!important;padding:0!important}
html[data-theme="studio"] .workbench-live .workbench-subsections{padding-bottom:16px!important}
html[data-theme="studio"] .workbench-live .live-field-label{display:block;font:500 12px/16px 'DM Sans',sans-serif;margin:0;padding:0;color:#1f2a24}
html[data-theme="studio"] .workbench-live .studio-value-field .tester-variable-manage{padding-inline:12px;font:600 12px/16px 'DM Sans',sans-serif}
html[data-theme="studio"] .studio-fixed-field-dialog{position:fixed;inset:0 0 0 auto;margin:0;width:400px;max-width:100vw;height:100dvh;max-height:100dvh;padding:0;border:0;border-left:1px solid #cfe0d4;background:white;color:#1f2a24}
html[data-theme="studio"] .studio-fixed-field-dialog::backdrop{background:rgb(31 42 36 / .12)}
html[data-theme="studio"] .studio-fixed-field-dialog form{display:flex;flex-direction:column;height:100%}
html[data-theme="studio"] .studio-fixed-field-dialog header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 20px;border-bottom:1px solid #cfe0d4}
html[data-theme="studio"] .studio-fixed-field-dialog header p{margin:0;color:#3f7f55;font:600 11px/16px 'DM Sans',sans-serif;text-transform:uppercase;letter-spacing:.05em}
html[data-theme="studio"] .studio-fixed-field-dialog h2{margin:0;font:600 16px/20px 'Space Grotesk',sans-serif;letter-spacing:normal}
html[data-theme="studio"] .studio-fixed-close{display:flex;align-items:center;justify-content:center;flex:none;width:32px;height:32px;padding:0;border:0;border-radius:8px;background:white;color:#66746d}
html[data-theme="studio"] .studio-fixed-close svg{width:18px;height:18px}
html[data-theme="studio"] .studio-fixed-body{flex:1;overflow:auto;padding:20px}
html[data-theme="studio"] .studio-fixed-body label{display:grid;gap:8px;font-size:12px}
html[data-theme="studio"] .studio-fixed-body input{width:100%;height:36px;padding:0 12px;border:1px solid #cfe0d4;border-radius:6px;background:white;color:#1f2a24}
html[data-theme="studio"] .studio-fixed-body p{font-size:12px;color:#66746d}
html[data-theme="studio"] .studio-fixed-field-dialog footer{display:flex;gap:8px;padding:16px 20px;border-top:1px solid #cfe0d4}
html[data-theme="studio"] .studio-fixed-field-dialog footer button{display:flex;align-items:center;justify-content:center;gap:6px;flex:1;height:32px;border:1px solid #cfe0d4;border-radius:6px;background:white;color:#66746d;font:500 12px/16px 'DM Sans',sans-serif}
html[data-theme="studio"] .studio-fixed-field-dialog footer button.primary{background:#3f7f55;color:#f8f9f8;border-color:#3f7f55}
html[data-theme="studio"] .studio-fixed-field-dialog footer svg{width:14px;height:14px}

html[data-theme="studio"] .studio-mode-select summary:focus-visible{outline:2px solid #3f7f55;outline-offset:2px;box-shadow:none}

html[data-theme="studio"] .workbench-live .live-section>.field-head>span:not(.step){min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

html[data-theme="studio"] .workbench-live .field-head :is(.section-edit,.section-toggle){height:32px;min-height:32px;margin-block:0}

/* Upload tiles and project totals follow the Studio preview. */
html[data-theme="studio"] .workbench-resource-grid{gap:4px 24px}
html[data-theme="studio"] .workbench-upload-field{padding:8px;margin-inline:-8px;min-width:0;border-radius:8px}
html[data-theme="studio"] .workbench-upload-field>.resource-image-preview{border:0;box-shadow:none;background:transparent}
html[data-theme="studio"] .studio-upload-remove{left:58px;top:2px}
html[data-theme="studio"] .studio-upload-copy{gap:0}
html[data-theme="studio"] .studio-upload-title b{font:500 14px/20px 'DM Sans',sans-serif}
html[data-theme="studio"] .studio-upload-badge{font:500 11px/16px 'DM Sans',sans-serif}
html[data-theme="studio"] .studio-upload-copy>span{gap:0}
html[data-theme="studio"] .studio-upload-copy>span>b{font:400 12px/16px 'DM Sans',sans-serif;color:rgb(31 42 36 / .8)}
html[data-theme="studio"] .studio-upload-copy>span>small,html[data-theme="studio"] .studio-upload-hint{font:400 12px/16px 'DM Sans',sans-serif}
html[data-theme="studio"] .project-tests-total{display:inline-flex;align-items:center;gap:4px;height:24px;padding:0 10px;border:1px solid #cfe0d4;border-radius:999px;background:white;color:#66746d;font:400 12px/16px 'DM Sans',sans-serif}
html[data-theme="studio"] .project-tests-total[hidden]{display:none}
html[data-theme="studio"] .project-tests-total b{color:#1f2a24;font:600 12px/16px 'JetBrains Mono',monospace}
@media(max-width:767px){html[data-theme="studio"] .workbench-resource-grid{grid-template-columns:minmax(0,1fr)}}

/* Preview section controls: one Lucide icon with inherited neutral color. */
html[data-theme="studio"] .workbench-live .field-head :is(.section-edit,.section-toggle){color:#66746d;background:#fff;border-color:#cfe0d4;width:32px;min-width:32px;border-radius:8px}
html[data-theme="studio"] .workbench-live .field-head .section-edit svg{width:16px;height:16px;stroke-width:2}
html[data-theme="studio"] .workbench-live .field-head :is(.section-edit,.section-toggle):hover{color:#3f7f55;background:#eaf4ed;border-color:#3f7f55}

/* Project header uses the Preview's intrinsic-width, wrapping layout. */
html[data-theme="studio"] .project-summary{justify-content:space-between;background:rgb(234 244 237 / .6);border-color:rgb(63 127 85 / .15)}
html[data-theme="studio"] .project-summary .project-summary-copy{flex:0 1 auto;min-width:0;max-width:100%;width:auto}
html[data-theme="studio"] .project-summary .summary-sub{display:block;max-width:none;overflow:visible;-webkit-line-clamp:unset;line-clamp:unset;font:400 14px/20px 'DM Sans',sans-serif}
html[data-theme="studio"] .project-summary .project-tests-total b{color:#1f2a24}
html[data-theme="studio"] .project-summary .project-summary-actions{flex:0 0 auto;width:auto}
html[data-theme="studio"] .studio-quick-nav .admin-dynamic-return{margin:0}
html[data-theme="studio"] .studio-quick-nav .admin-dynamic-return button{display:flex;align-items:center;justify-content:center;width:34px;height:34px;min-height:34px;padding:0;border:0;border-radius:6px;background:transparent;color:#66746d;box-shadow:none}
html[data-theme="studio"] .studio-quick-nav .admin-dynamic-return button span{display:none}
html[data-theme="studio"] .studio-quick-nav .admin-dynamic-return button svg{width:16px;height:16px}
html[data-theme="studio"] .studio-quick-nav .admin-dynamic-return button:hover{background:#eaf4ed;color:#3f7f55}

/* Typography measured from the running Studio preview, including native font rendering. */
html[data-theme="studio"]{--studio-font-sans:'DM Sans',ui-sans-serif,system-ui,sans-serif;--studio-font-display:'Space Grotesk','DM Sans',ui-sans-serif,sans-serif;--studio-font-mono:'JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,monospace;-webkit-font-smoothing:auto}
html[data-theme="studio"] body{font-family:var(--studio-font-sans)}
html[data-theme="studio"] .workbench-live :is(button,input,select,textarea,summary,.live-field-label,.studio-upload-copy,.studio-upload-badge,.studio-resource-help,.studio-prompt-heading p,.summary-sub){font-family:var(--studio-font-sans)}
html[data-theme="studio"] .workbench-live :is(h1,h2,h3,h4,h5,h6),html[data-theme="studio"] .workbench-live .project-summary .project-line strong,html[data-theme="studio"] .workbench-live .live-section .field-head>span:not(.step){font-family:var(--studio-font-display)}
html[data-theme="studio"] .workbench-live .project-summary .project-line strong{font-size:20px;font-weight:700;line-height:28px;letter-spacing:-.5px}
html[data-theme="studio"] .workbench-live :is(.resource-section-heading h3,.studio-prompt-heading h2){font:600 18px/28px var(--studio-font-display);letter-spacing:-.45px}
html[data-theme="studio"] .workbench-live :is(.studio-resource-help,.studio-prompt-heading p){font-size:14px;font-weight:400;line-height:20px;letter-spacing:normal}
html[data-theme="studio"] .workbench-live .section-tasks :is(select,input:not([type="checkbox"]):not([type="radio"]):not([type="range"])){font-size:14px;font-weight:400;line-height:20px;letter-spacing:normal}
html[data-theme="studio"] .workbench-live .studio-mode-select summary{font-size:12px;font-weight:600;line-height:16px;letter-spacing:normal}
html[data-theme="studio"] .workbench-live .studio-upload-badge{font-size:11px;font-weight:400;line-height:16.5px}
html[data-theme="studio"] .workbench-live .studio-upload-badge.is-required{font-weight:500}
html[data-theme="studio"] .workbench-live .section-prompt,html[data-theme="studio"] .workbench-live #generated-prompt-box{font:400 15px/1.625 var(--studio-font-sans);letter-spacing:normal;color:rgb(31 42 36 / .9)}
html[data-theme="studio"] .workbench-live .studio-live-preview .studio-final-heading .generated-title,html[data-theme="studio"] .workbench-live .studio-raw-title{font:600 18px/28px var(--studio-font-display);letter-spacing:-.45px;color:#1f2a24;text-transform:none}
html[data-theme="studio"] .workbench-live #final-prompt-panel .studio-raw-prompt-bar .dispatch-button{font:600 14px/20px var(--studio-font-sans)}
html[data-theme="studio"] .workbench-live #final-prompt-panel .studio-raw-prompt-bar :is(.studio-provider-label,.dispatch-tag-button,.dispatch-tag-button b){font:500 14px/20px var(--studio-font-sans);letter-spacing:normal;color:#1f2a24}
html[data-theme="studio"] .workbench-live :is(.studio-provider-prefix,.dispatch-tag-button>span){font:600 12px/16px var(--studio-font-sans);letter-spacing:normal}
html[data-theme="studio"] .workbench-live .live-section:not(.is-sub)>.field-head>.step{font:700 12px/16px var(--studio-font-display);letter-spacing:normal}
html[data-theme="studio"] .workbench-live :is(.project-tests-total b,#workbench-master-version),html[data-theme="studio"] .workbench-live .live-section.is-sub .field-head .step{font-family:var(--studio-font-mono)!important}
html[data-theme="studio"] .workbench-live .live-section:not(.is-sub)>.field-head>span:not(.step),html[data-theme="studio"] .workbench-live .live-section.is-sub>.field-head>span:not(.step){font-family:var(--studio-font-display)}
html[data-theme="studio"] .workbench-live .section-tasks .studio-value-field :is(input,select){font-family:var(--studio-font-sans)}
html[data-theme="studio"] .workbench-live .studio-value-field .tester-variable-manage{font-family:var(--studio-font-sans)}
html[data-theme="studio"] .workbench-live #workbench-master-version{font:600 12px/16px var(--studio-font-mono);letter-spacing:normal}
html[data-theme="studio"] .workbench-live .project-summary-status{font:500 12px/16px var(--studio-font-sans)}
html[data-theme="studio"] .workbench-live #final-prompt-panel .studio-raw-prompt-bar :is(.studio-provider-label,.dispatch-tag-button b){font-weight:600}
html[data-theme="studio"] .workbench-live .studio-provider-prefix{letter-spacing:.3px}
html[data-theme="studio"] :is(#workbench-editor,#tester-variable-drawer) .drawer-header h2{font:600 16px/24px var(--studio-font-display);letter-spacing:normal}
html[data-theme="studio"] :is(#protected-editor,.tester-variable-value-editor){font:400 13.5px/1.75 var(--studio-font-mono);letter-spacing:normal}
html[data-theme="studio"] :is(#workbench-editor,#tester-variable-drawer) .drawer-kicker{font:500 10px/12.5px var(--studio-font-sans);letter-spacing:.5px}
html[data-theme="studio"] .studio-fixed-field-dialog h2{font:600 16px/24px var(--studio-font-display);letter-spacing:normal}
@media(max-width:767px){html[data-theme="studio"] .workbench-live .section-tasks .studio-value-field>input:not([type="checkbox"]):not([type="radio"]):not([type="range"]){font-size:16px;line-height:24px}}

/* Icon sizes measured on the current Preview Workbench. */
html[data-theme="studio"] .workbench-live .section-edit svg{width:16px;height:16px}
html[data-theme="studio"] .studio-mode-select>summary>svg:last-child,html[data-theme="studio"] .studio-mode-static>svg:last-child{width:12px;height:12px}
html[data-theme="studio"] #workbench-curl-button svg,html[data-theme="studio"] #fields-random-button svg,html[data-theme="studio"] #fields-reset-button svg{width:16px;height:16px}
html[data-theme="studio"] .repeat-start-toggle svg{width:14px;height:14px}
html[data-theme="studio"] .studio-quick-nav .repeat-start-toggle svg{width:12px;height:12px}

/* Personal root entries retain their origin badge alongside Original/Var. */
html[data-theme="studio"] .studio-entry-badge.is-new{min-width:0;border-color:#9ab7df;background:#f0f5fc;color:#4974b0}

/* Preview-style variable footer and visible action bar. */
html[data-theme="studio"] .studio-variable-panel .studio-variable-footer{padding:10px 0;border-top:1px solid #cfe0d4;font-size:10px}
html[data-theme="studio"] .studio-variable-edit-status{display:inline-flex;align-items:center;gap:5px;cursor:pointer}
html[data-theme="studio"] .studio-variable-edit-status svg{width:13px;height:13px;flex:none}
html[data-theme="studio"] .studio-variable-statistics{margin-left:auto;text-align:right}
html[data-theme="studio"] .studio-variable-primary-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:none;padding:12px 0;border-top:1px solid #cfe0d4}
html[data-theme="studio"] .studio-variable-actions-left,html[data-theme="studio"] .studio-variable-actions-right{display:flex;align-items:center;flex-wrap:wrap;gap:7px}
html[data-theme="studio"] .studio-variable-actions-right{margin-left:auto;justify-content:flex-end}
html[data-theme="studio"] .studio-variable-primary-actions button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:32px;height:32px;padding:0 11px;border:1px solid #cfe0d4;border-radius:6px;background:#fff;color:#60766b;font:500 12px 'DM Sans',sans-serif;cursor:pointer;box-shadow:none}
html[data-theme="studio"] .studio-variable-actions-left button{width:32px;padding:0}
html[data-theme="studio"] .studio-variable-primary-actions button svg{width:16px;height:16px;flex:none}
html[data-theme="studio"] .studio-variable-primary-actions button.is-primary{background:#3f7f55;border-color:#3f7f55;color:#fff;font-weight:600}
html[data-theme="studio"] .studio-variable-primary-actions button.is-select{background:#eaf4ed;color:#3f7f55}
html[data-theme="studio"] .studio-variable-primary-actions button:hover{filter:brightness(.96)}
html[data-theme="studio"] .studio-variable-primary-actions button:focus-visible{outline:2px solid #3f7f55;outline-offset:2px}
html[data-theme="studio"] .studio-variable-panel.is-editing .studio-variable-primary-actions{display:none}
@media(max-width:560px){html[data-theme="studio"] .studio-variable-primary-actions{flex-wrap:wrap}html[data-theme="studio"] .studio-variable-statistics{margin-left:0;text-align:left}}
