/* Compact navigation and controls. */
.header{height:65px;padding-inline:3.2%;gap:24px;border-bottom:0}.brand{font-size:24px;gap:8px;letter-spacing:-1px}.brand-symbol{width:28px;height:33px}.main-nav{gap:25px;margin-left:17px}.main-nav button{font-size:11px}.main-nav button.active:after{display:none}.header-right{gap:11px}.header .balance{padding:8px 12px;font-size:10px;gap:8px;box-shadow:inset 0 1px 0 #ff9aad08}.header .avatar{width:32px;height:32px;font-size:16px}.header .theme-toggle{width:29px;height:29px}.header-language{font-size:9px;width:27px}.demo-tag{display:none}.nav-count{font-size:8px;padding:0 4px;margin-left:3px}.studio-page{padding-top:30px}.studio-title h1{font-size:29px}.studio-title .eyebrow{font-size:8px}.studio-title p{font-size:10px}.hero-grid{perspective:1200px;align-items:center;gap:0;margin:32px 0 42px;isolation:isolate}.hero-card{height:194px;border-radius:17px;box-shadow:0 20px 35px #0003;transform-style:preserve-3d}.hero-card:nth-child(1){transform:rotateY(9deg) rotateZ(1.6deg) scale(.96);transform-origin:right center;z-index:1}.hero-card:nth-child(2){transform:translateZ(12px) scale(1.025);z-index:2;height:212px}.hero-card:nth-child(3){transform:rotateY(-9deg) rotateZ(-1.6deg) scale(.96);transform-origin:left center;z-index:1}.hero-card:nth-child(1):hover{transform:rotateY(9deg) rotateZ(1.6deg) scale(.97) translateY(-3px)}.hero-card:nth-child(2):hover{transform:translateZ(12px) scale(1.035) translateY(-3px)}.hero-card:nth-child(3):hover{transform:rotateY(-9deg) rotateZ(-1.6deg) scale(.97) translateY(-3px)}.hero-card h3{font-size:19px}.hero-card p{font-size:9px}.hero-card .card-tag{font-size:7px}.editor-top{height:47px;padding-inline:19px}.editor-content{padding:17px 19px 10px}.editor-controls{padding:13px 17px 16px;gap:7px}.control-pill{padding:8px 10px;gap:7px}.control-pill .chevron{width:11px;height:11px;margin-left:1px;flex:0 0 11px;transform:none}.control-pill>svg{flex-shrink:0}.script-area{font-size:17px;line-height:1.9;min-height:135px}.script-tools{margin-bottom:13px}.script-tools button{font-size:9px}.editor-meta{font-size:8px}.generate{padding:10px 15px}.below-editor{margin-top:10px;margin-bottom:18px}.settings-panel{padding:18px 19px}.settings-title{font-size:11px;margin-bottom:16px}.settings-title button{font-size:9px}.settings-grid{gap:16px 21px}.settings-grid .field label{font-size:9px}.settings-grid .field input:not([type=range]){padding:9px 10px;font-size:10px}.settings-toggles{margin-top:19px;padding-top:16px;gap:12px 21px}.switch-row{font-size:9px}.settings-grid .field:has(input[type=range]){padding-bottom:7px}.field .range-label{margin-bottom:13px}.field .range-label b{font-size:10px}.settings-panel .field input[readonly]{font-size:8px!important}.saved-label{display:none}.account-menu{width:278px;top:59px;right:3.2%;padding:10px;border-radius:16px;position:absolute}.menu-account-heading{padding:7px 8px 13px;gap:10px}.menu-account-heading .avatar{width:35px;height:35px;font-size:17px}.menu-account-heading h3{font-size:12px}.menu-account-heading p{font-size:9px;margin-top:2px}.account-menu .menu-plan{padding:11px 12px;border-radius:10px}.menu-plan small{font-size:9px;margin-top:7px}.menu-plan .progress{height:3px;margin-top:9px}.menu-plan .subtle-button{font-size:9px;gap:4px}.menu-plan .subtle-button svg{width:11px;height:11px;flex:0 0 11px;margin:0}.account-menu button.menu-item{min-height:36px;padding:9px 8px;font-size:11px;gap:10px;display:grid;grid-template-columns:17px minmax(0,1fr) 12px;align-items:center}.account-menu button.menu-item>svg:first-child{width:17px;height:17px;margin:0}.account-menu button.menu-item>svg:last-child{width:11px;height:11px;margin:0;justify-self:end}.account-menu button.menu-item:has(.current-locale){grid-template-columns:17px auto minmax(0,1fr) 12px}.current-locale{justify-self:end;font-size:9px;white-space:nowrap}.menu-preference{padding:8px;gap:10px}.menu-preference>span{font-size:11px;gap:10px}.menu-preference>span svg{width:17px;height:17px}.menu-preference .theme-control button{padding:5px 8px}.menu-preference .theme-control svg{width:13px;height:13px}.menu-divider{margin:7px 0}.locale-dropdown{z-index:80;min-width:188px;max-width:calc(100vw - 28px);padding:7px;border:1px solid var(--line);border-radius:12px;background:var(--panel);box-shadow:var(--shadow);animation:appear .15s ease}.locale-dropdown .locale-control{gap:2px}.locale-dropdown .locale-control button{padding:9px 10px;font-size:11px;min-width:165px;gap:15px}.locale-dropdown .locale-control button svg{width:13px;height:13px}.account-menu:has(.locale-dropdown){z-index:70}
/* Native selects are form state only; the visible list is authored by w-voice. */
select.enhanced-native{display:none!important}.custom-select{position:relative;display:inline-flex;min-width:0;max-width:100%;vertical-align:middle;flex-shrink:0}.field>.custom-select,.form-grid .custom-select,.settings-grid .custom-select{width:100%}.select-trigger{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;min-height:36px;background:var(--field);color:var(--text);border:1px solid var(--line);border-radius:9px;padding:9px 11px;font-size:11px;text-align:left;line-height:1.4}.select-trigger:hover{background:var(--panel2);border-color:var(--subtle);color:var(--text)}.select-value{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.select-chevron{width:12px!important;height:12px!important;flex:0 0 12px;margin:0!important;transform:none;stroke-width:1.7}.custom-select.open{z-index:40}.custom-select.open .select-trigger{border-color:var(--subtle);background:var(--panel2)}.custom-select.open .select-chevron{transform:rotate(180deg)}.custom-options{position:absolute;left:0;top:calc(100% + 6px);min-width:100%;width:max-content;max-width:min(380px,calc(100vw - 30px));max-height:245px;overflow:auto;padding:5px;border:1px solid var(--line);border-radius:12px;background:var(--panel);box-shadow:var(--shadow);z-index:90;scrollbar-width:thin;scrollbar-color:var(--subtle) transparent;animation:appear .12s ease}.custom-options button{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:34px;width:100%;padding:8px 10px;border-radius:7px;font-size:11px;text-align:left;color:var(--text);white-space:nowrap}.custom-options button:hover,.custom-options button:focus-visible{background:var(--surface-hover);color:var(--text);outline:0}.custom-options button.selected{background:var(--panel2);font-weight:650}.custom-options button svg{width:13px;height:13px;flex-shrink:0;color:var(--accent)}.editor:has(.custom-select.open){position:relative;z-index:35}.settings-panel:has(.custom-select.open){position:relative;z-index:10}.account-card:has(.custom-select.open){position:relative;z-index:40}.library-toolbar:has(.custom-select.open){position:relative;z-index:50}.library-toolbar>.custom-select{min-width:136px}.library-toolbar .select-trigger{height:40px;min-height:40px;font-size:11px}.library-toolbar .custom-options{max-width:230px}.preference-row>.custom-select{min-width:155px;max-width:250px}.account-section-heading>.custom-select{min-width:142px}.settings-grid .select-trigger{font-size:10px;min-height:34px;padding:8px 10px}
/* Thicker slider rails and substantial circular thumbs. */
input[type="range"]{--range-fill:50%;-webkit-appearance:none;appearance:none;height:24px!important;background:transparent!important;border:0!important;outline:none;padding:0!important;cursor:pointer;box-shadow:none}
input[type="range"]::-webkit-slider-runnable-track{height:7px;border-radius:10px;background:linear-gradient(to right,#f4f4f4 0 var(--range-fill),var(--surface-hover) var(--range-fill) 100%);box-shadow:inset 0 0 0 1px var(--line)}
input[type="range"]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:21px;height:21px;margin-top:-7px;border-radius:50%;border:2px solid var(--bg);background:#fff;box-shadow:0 1px 5px #0005}
input[type="range"]::-moz-range-track{height:7px;border-radius:10px;background:var(--surface-hover);box-shadow:inset 0 0 0 1px var(--line)}
input[type="range"]::-moz-range-progress{height:7px;border-radius:10px;background:#f4f4f4}
input[type="range"]::-moz-range-thumb{width:18px;height:18px;border-radius:50%;border:2px solid var(--bg);background:#fff;box-shadow:0 1px 5px #0005}
input[type="range"]:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:20px}
[data-theme="light"] input[type="range"]::-webkit-slider-runnable-track{background:linear-gradient(to right,#454545 0 var(--range-fill),#dedede var(--range-fill) 100%)}
[data-theme="light"] input[type="range"]::-moz-range-progress{background:#454545}
.context-popover.inline-picker{width:292px;padding:11px;border-radius:13px;max-height:310px}.inline-picker .popover-title{font-size:12px;margin:3px 6px 9px}.model-option{padding:10px 8px;gap:10px;border-radius:9px}.model-icon{width:29px;height:29px;border-radius:8px}.model-icon svg{width:16px;height:16px}.model-option b{font-size:11px}.model-option small{font-size:9px;margin-top:3px}.model-option em{font-size:7px}.language-options button{padding:8px;font-size:10px}.inline-picker .search input{font-size:10px;padding:9px 0}.inline-picker .search svg{width:14px;height:14px}.emotion-modal{max-width:850px;width:calc(100% - 36px)}.emotion-modal .modal-head{padding:18px 22px}.emotion-modal .modal-head h2{font-size:17px}.emotion-modal .modal-body{padding:21px 22px}.emotion-groups{display:flex;flex-direction:column;gap:22px}.emotion-group h3{font-size:12px;letter-spacing:0;margin:0 0 11px}.emotion-group>div{display:flex;gap:7px;flex-wrap:wrap}.emotion-tag{padding:7px 10px;border:1px solid var(--line);border-radius:7px;background:var(--panel2);color:var(--muted);font-family:monospace;font-size:11px;line-height:1.3}.emotion-tag:hover{background:var(--accent-glass);border-color:var(--accent-edge);color:var(--accent-text)}.voice-visibility{margin-top:19px}.voice-visibility>div{display:grid;grid-template-columns:1fr 1fr;gap:10px}.voice-visibility button{display:flex;align-items:center;text-align:left;gap:11px;border:1px solid var(--line);border-radius:11px;background:var(--panel);padding:12px;color:var(--muted)}.voice-visibility button.selected{border-color:var(--accent-edge);background:var(--accent-glass);color:var(--text)}.voice-visibility button>svg:first-child{width:17px;height:17px;flex-shrink:0}.voice-visibility button>svg:last-child{width:13px;height:13px;margin-left:auto;flex-shrink:0;color:var(--accent-text)}.voice-visibility button>span{min-width:0;flex:1}.voice-visibility b{display:block;font-size:11px;font-weight:600}.voice-visibility small{display:block;font-size:9px;color:var(--muted);line-height:1.5;margin-top:3px}.clone-summary{display:flex;align-items:center;gap:13px;padding:15px;border:1px solid var(--line);border-radius:12px;background:var(--panel2)}.clone-summary>span{color:var(--accent)}.clone-summary b{display:block;font-size:13px}.clone-summary small{display:block;font-size:10px;color:var(--muted);margin-top:4px}.clone-library-meta{display:flex;align-items:center;gap:6px;margin:14px 0}.clone-library-meta .tag{display:flex;align-items:center;gap:5px;font-size:9px}.clone-library-meta svg{width:11px;height:11px}.clone-recording{font-size:10px;color:var(--subtle);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:12px 0}.clone-access-buttons{display:flex;gap:7px}.clone-access-buttons button{flex:1;padding:8px;border:1px solid var(--line);border-radius:7px;display:flex;align-items:center;justify-content:center;gap:5px;font-size:10px;color:var(--muted)}.clone-access-buttons button.selected{background:var(--accent-glass);border-color:var(--accent-edge);color:var(--accent-text)}.clone-access-buttons svg{height:12px;width:12px}.clone-note{font-size:9px;color:var(--subtle);margin-top:12px}
@media(min-width:1600px){.header{height:70px}.studio-page{padding-top:37px}.hero-card{height:210px}.hero-card:nth-child(2){height:232px}}
@media(max-width:900px){.header{gap:15px}.main-nav{gap:17px;margin-left:10px}.main-nav button{font-size:10px}.brand{font-size:22px}.header-right{gap:9px}.header .balance{padding:7px 9px;font-size:9px;gap:6px}.hero-card{height:174px;padding:16px}.hero-card:nth-child(2){height:190px}.hero-card h3{font-size:16px}.hero-card p{font-size:8px}}
@media(max-width:600px){.header{height:58px;padding:0 17px;gap:10px}.brand{font-size:22px}.brand-symbol{width:26px;height:30px}.header .avatar{width:29px;height:29px;font-size:15px}.header .theme-toggle{width:26px;height:26px}.header-right{gap:12px}.studio-page{padding-top:25px}.studio-title h1{font-size:27px}.studio-title .eyebrow{font-size:7px}.hero-grid{display:grid;grid-template-columns:repeat(3,minmax(252px,1fr));gap:7px;width:calc(100% + 38px);margin:20px -19px 23px;padding:13px 21px 20px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none;perspective:none}.hero-card,.hero-card:last-child{display:flex;height:162px;scroll-snap-align:center;padding:15px}.hero-card:nth-child(2){height:178px;transform:scale(1);margin-inline:0}.hero-card:nth-child(1){transform:rotate(1.3deg) scale(.96);transform-origin:center}.hero-card:nth-child(3){transform:rotate(-1.3deg) scale(.96);transform-origin:center}.hero-card h3{font-size:16px;max-width:none}.hero-card p{font-size:9px;max-width:190px}.hero-card .card-tag{font-size:7px}.tool-tabs button{font-size:9px;padding:8px 9px}.editor-top{height:44px;padding-inline:14px}.editor-content{padding:15px 14px 8px}.script-area{font-size:15px;min-height:175px}.editor-controls{padding:12px 13px 14px;gap:7px}.control-pill{font-size:9px;padding:8px;gap:5px}.control-pill.voice-control{min-width:150px}.editor-meta{font-size:8px}.settings-panel{padding:16px 14px}.settings-grid{gap:15px 13px}.settings-title{font-size:10px}.settings-title button{font-size:8px}.settings-grid .select-trigger{font-size:9px;min-height:33px;padding:8px 9px}.settings-grid .field label{font-size:8px}.settings-toggles{gap:12px}.account-menu{width:260px;top:51px;right:15px;padding:9px}.account-menu button.menu-item{font-size:10px;min-height:34px;padding:8px 7px;gap:9px}.menu-account-heading h3{font-size:11px}.menu-account-heading p{font-size:8px}.menu-account-heading .avatar{width:31px;height:31px;font-size:15px}.account-menu .menu-plan{padding:10px}.menu-plan small{font-size:8px}.menu-plan .subtle-button{font-size:8px}.menu-preference>span{font-size:10px}.current-locale{font-size:8px}.context-popover.inline-picker{width:280px;max-width:calc(100vw - 28px);padding:10px}.model-option b{font-size:10px}.model-option small{font-size:9px}.custom-options{max-width:calc(100vw - 30px);max-height:220px}.custom-options button{font-size:10px;padding:9px;min-height:35px}.library-toolbar>.custom-select{flex:1;min-width:0}.library-toolbar .select-trigger{font-size:10px;height:36px;min-height:36px}.voice-visibility>div{grid-template-columns:1fr}.voice-visibility button{padding:11px}.voice-visibility small{font-size:8px}.emotion-modal .modal-body{padding:17px}.emotion-modal .modal-head{padding:14px 17px}.emotion-modal .modal-head h2{font-size:15px}.emotion-group h3{font-size:11px}.emotion-groups{gap:18px}.emotion-tag{font-size:10px;padding:7px 8px}.emotion-group>div{gap:6px}.preference-row>.custom-select{width:100%;max-width:100%;min-width:0}.account-section-heading>.custom-select{min-width:130px}}
.workspace-loading{position:fixed;inset:65px 0 0;z-index:100;background:var(--bg);display:flex;align-items:center;justify-content:center;gap:12px;color:var(--muted);font-size:12px}.workspace-loading span{width:18px;height:18px;border:2px solid var(--line);border-top-color:var(--accent);border-radius:50%;animation:workspace-spin .8s linear infinite}@keyframes workspace-spin{to{transform:rotate(360deg)}}
