.pregen-accent{color:var(--studio-violet)}.pregen-input{display:block;width:100%;margin-top:.35rem;border:1px solid var(--studio-control-border);border-radius:var(--studio-radius-control);padding:.6rem .75rem;background:var(--studio-surface);color:inherit;font-size:var(--studio-type-body)}.pregen-input:focus-visible{outline:2px solid var(--studio-focus);outline-offset:2px}.pregen-option{display:flex;align-items:center;gap:.55rem;border:1px solid var(--studio-border);border-radius:var(--studio-radius-control);padding:.6rem .8rem;font-size:var(--studio-type-label)}.pregen-box{padding:var(--studio-space-4)}.pregen-badge,.pregen-box{border:1px solid var(--studio-border);border-radius:var(--studio-radius)}.pregen-badge{display:inline-flex;padding:.2rem .65rem;margin-right:.35rem;font-size:var(--studio-type-caption)}.pregen-summary{display:flex;flex-wrap:wrap;justify-content:space-between;gap:var(--studio-space-3);padding:var(--studio-space-4);border-radius:var(--studio-radius);background:var(--studio-surface-muted)}.pregen-map{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--studio-space-4)}.pregen-map h4{font-weight:var(--studio-weight-strong)}.pregen-map h4,.pregen-map-node{margin-bottom:var(--studio-space-3)}.pregen-map-node{padding:.85rem;border:1px solid var(--studio-border);border-radius:var(--studio-radius-control);overflow-wrap:anywhere}.pregen-map-node.is-highlighted{border-color:var(--studio-violet);outline:2px solid var(--studio-violet);outline-offset:1px}.pregen-result{padding:var(--studio-space-4);border:1px solid var(--studio-violet);border-radius:var(--studio-radius-control)}.pregen-json{white-space:pre-wrap;overflow-wrap:anywhere;max-height:18rem;overflow:auto;font-size:var(--studio-type-caption);margin-top:var(--studio-space-3)}@media (max-width:640px){.pregen-map{grid-template-columns:1fr}}.template-editor-toolbar{background:var(--studio-surface);border-bottom:1px solid var(--studio-border)}.template-editor-toolbar-inner,.template-editor-workspace{max-width:78rem;margin-inline:auto;padding:var(--studio-space-6) var(--studio-space-8)}.template-editor-feedback{margin-top:var(--studio-space-4);padding:var(--studio-space-3) var(--studio-space-4);border-radius:var(--studio-radius-control);white-space:pre-line;overflow-wrap:anywhere;font-size:var(--studio-type-label)}.template-editor-feedback.is-error{background:var(--studio-danger-soft);color:var(--studio-danger)}.template-editor-feedback.is-success{background:var(--studio-success-soft);color:var(--studio-success)}.template-editor-tabs{display:flex;flex-wrap:wrap;gap:var(--studio-space-2);padding-bottom:var(--studio-space-3);border-bottom:1px solid var(--studio-border)}.template-editor-tabs button{display:inline-flex;align-items:center;gap:var(--studio-space-2);min-height:var(--studio-control-height);border-radius:var(--studio-radius-control);padding:var(--studio-space-2) var(--studio-space-4);font-size:var(--studio-type-label);font-weight:var(--studio-weight-strong);color:var(--studio-text-secondary)}.template-editor-tabs button:hover{background:var(--studio-surface-raised)}.template-editor-tabs .is-selected{background:var(--studio-accent-soft);color:var(--studio-accent);box-shadow:inset 0 -2px var(--studio-accent)}.template-editor-panel{padding-block:var(--studio-space-6)}.template-editor-section-intro{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:var(--studio-space-4);margin-bottom:var(--studio-space-5)}.template-editor-section-intro h2{font-size:var(--studio-type-heading);font-weight:var(--studio-weight-heading)}.template-editor-section-intro p{color:var(--studio-muted);font-size:var(--studio-type-label);margin-top:var(--studio-space-1)}.template-timeline{padding:var(--studio-space-5);border:1px solid var(--studio-border);border-radius:var(--studio-radius-lg);background:var(--studio-surface);box-shadow:var(--studio-shadow-panel);display:grid;gap:var(--studio-space-5)}.template-chunk-palette{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:var(--studio-space-2)}.template-chunk-choice-trigger{display:flex;min-width:0}.template-chunk-choice{width:100%;text-align:left;cursor:grab;touch-action:none}.template-chunk-choice.is-dragging{opacity:0}.template-chunk-choice strong{display:block;font-size:var(--studio-type-label);font-weight:var(--studio-weight-strong)}.template-chunk-editor{min-width:0}.template-chunk-guide{display:flex;justify-content:flex-end;margin-block:var(--studio-space-3)}.template-chunk-guide a{display:inline-flex;align-items:center;gap:var(--studio-space-2);min-height:var(--studio-control-height-sm);padding:var(--studio-space-2);border-radius:var(--studio-radius-control);color:var(--studio-accent);font-size:var(--studio-type-label);text-decoration:underline;text-underline-offset:3px}.template-chunk-guide a:hover{background:var(--studio-accent-soft)}.template-guide{max-width:84rem;margin-inline:auto;padding:var(--studio-space-8)}.template-guide-header{padding-block:var(--studio-space-4) var(--studio-space-8);border-bottom:1px solid var(--studio-border)}.template-guide-header h1{margin-top:var(--studio-space-3);max-width:26ch;font-size:var(--studio-type-title);line-height:var(--studio-leading-heading)}.template-guide-header>p{margin-top:var(--studio-space-4);max-width:65ch;color:var(--studio-text-secondary)}.template-guide-layout{display:grid;grid-template-columns:13rem minmax(0,1fr);gap:var(--studio-space-10);padding-top:var(--studio-space-8);align-items:start}.template-guide-nav{position:sticky;top:var(--studio-space-6);display:grid;gap:var(--studio-space-1)}.template-guide-nav a{padding:var(--studio-space-2);border-radius:var(--studio-radius-control);font-size:var(--studio-type-label);color:var(--studio-text-secondary)}.template-guide-nav a:hover{background:var(--studio-accent-soft);color:var(--studio-accent)}.template-guide-section{margin-bottom:var(--studio-space-12);scroll-margin-top:var(--studio-space-8)}.template-guide-section h2{margin-bottom:var(--studio-space-5);font-size:var(--studio-type-section);line-height:var(--studio-leading-heading);font-weight:var(--studio-weight-heading)}.template-guide-section h3{font-size:var(--studio-type-subheading);font-weight:var(--studio-weight-heading)}.template-guide-section p{margin-block:var(--studio-space-3);color:var(--studio-text-secondary)}.template-guide-section a{color:var(--studio-accent);text-decoration:underline;text-underline-offset:3px}.template-guide-section code{background:var(--studio-surface-muted);color:var(--studio-text);padding:var(--studio-space-1);border-radius:var(--studio-radius-sm);font-size:var(--studio-type-label);overflow-wrap:anywhere}.template-guide-list,.template-guide-steps{padding-left:var(--studio-space-6);display:grid;gap:var(--studio-space-3);color:var(--studio-text-secondary)}.template-guide-steps{list-style:decimal}.template-guide-list{list-style:disc}.template-guide-type{border-top:1px solid var(--studio-border);padding-top:var(--studio-space-5);scroll-margin-top:var(--studio-space-6)}.template-guide-example{margin-block:var(--studio-space-4);padding:var(--studio-space-4);border:1px solid var(--studio-control-border);border-radius:var(--studio-radius-control);background:var(--studio-surface);color:var(--studio-text)}.template-guide-example pre{margin-top:var(--studio-space-3);white-space:pre-wrap;overflow-wrap:anywhere;font-size:var(--studio-type-label);line-height:var(--studio-leading-body)}.template-guide-table-wrap{overflow-x:auto;margin-block:var(--studio-space-5)}.template-guide table{width:100%;border-collapse:collapse;font-size:var(--studio-type-label)}.template-guide td,.template-guide th{padding:var(--studio-space-3);text-align:left;vertical-align:top;border-bottom:1px solid var(--studio-border);min-width:8rem}.template-guide th{background:var(--studio-surface-muted);color:var(--studio-text)}.template-guide tbody th{background:transparent;font-weight:var(--studio-weight-strong)}.template-guide-definitions{display:grid;gap:var(--studio-space-4)}.template-guide-definitions dt{font-weight:var(--studio-weight-strong)}.template-guide-definitions dd{color:var(--studio-text-secondary);margin-top:var(--studio-space-1)}.template-guide-checklist{display:flex;align-items:flex-start;gap:var(--studio-space-3);padding:var(--studio-space-4);border-radius:var(--studio-radius);background:var(--studio-success-soft);color:var(--studio-success)}.template-guide-checklist svg{flex-shrink:0;margin-top:var(--studio-space-1)}.template-guide-checklist p{color:var(--studio-success)}.template-flow{padding:var(--studio-space-5);border:1px solid var(--studio-border);border-radius:var(--studio-radius-lg);background:var(--studio-surface)}.template-flow-end,.template-flow-start{display:grid;gap:var(--studio-space-1);padding:var(--studio-space-4);text-align:center;border:1px solid var(--studio-accent);border-radius:var(--studio-radius-control);background:var(--studio-accent-soft);font-size:var(--studio-type-label);margin-top:var(--studio-space-4)}.template-flow-arrow{display:block;margin:var(--studio-space-3) auto;color:var(--studio-muted);width:var(--studio-space-5);height:var(--studio-space-5)}.template-flow-branches{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:var(--studio-space-2);align-items:stretch}.template-answer-flow{margin-block:var(--studio-space-5)}.template-answer-branches{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--studio-space-3);align-items:stretch}.template-flow-branch{display:flex;flex-direction:column}.template-flow-node{display:grid;gap:var(--studio-space-2);flex:1;padding:var(--studio-space-3);border:1px solid var(--studio-control-border);border-radius:var(--studio-radius-control);font-size:var(--studio-type-caption);overflow-wrap:anywhere}.template-flow-node strong{font-size:var(--studio-type-label)}.template-flow-output{background:var(--studio-surface-muted)}.template-flow-reuse{margin-top:var(--studio-space-5);padding:var(--studio-space-4);border:1px dashed var(--studio-control-border);border-radius:var(--studio-radius-control);font-size:var(--studio-type-label)}.template-flow-reuse>div{display:flex;flex-wrap:wrap;align-items:center;gap:var(--studio-space-2);margin-top:var(--studio-space-2)}.template-flow-reuse svg{width:var(--studio-space-4);height:var(--studio-space-4)}.template-guide-rule-map{display:grid;grid-template-columns:1fr auto 1fr auto 1fr;gap:var(--studio-space-3);align-items:center;margin-block:var(--studio-space-5);font-size:var(--studio-type-label)}.template-guide-rule-map>div{padding:var(--studio-space-4);border:1px solid var(--studio-control-border);border-radius:var(--studio-radius-control);background:var(--studio-surface)}.template-guide-rule-arrow{color:var(--studio-muted);justify-self:center}@media (max-width:1100px){.template-chunk-palette{grid-template-columns:repeat(3,minmax(0,1fr))}.template-guide-layout{grid-template-columns:1fr;gap:var(--studio-space-6)}.template-guide-nav{position:static;display:flex;flex-wrap:wrap;gap:var(--studio-space-2)}.template-guide-nav>p{flex-basis:100%}}@media (max-width:640px){.template-editor-toolbar-inner,.template-editor-workspace,.template-guide{padding:var(--studio-space-4)}.template-editor-tabs{gap:var(--studio-space-1)}.template-editor-tabs button{padding:var(--studio-space-2);flex:1;justify-content:center}.template-flow,.template-timeline{padding:var(--studio-space-3)}.template-chunk-palette,.template-flow-branches{grid-template-columns:1fr}.template-flow-branches{gap:var(--studio-space-4)}.template-flow-branch{flex-direction:row;gap:var(--studio-space-2);align-items:stretch}.template-flow-branch .template-flow-arrow{transform:rotate(-90deg);flex-shrink:0;align-self:center}.template-flow-node{min-width:0}.template-guide-rule-map{grid-template-columns:1fr}.template-guide-rule-arrow{transform:rotate(90deg)}}@media (max-width:900px){.template-answer-branches{grid-template-columns:1fr;gap:var(--studio-space-4)}.template-answer-branches .template-flow-branch{flex-direction:column}.template-answer-branches .template-flow-arrow{transform:none}}.authoring-create{max-width:78rem;margin-inline:auto;padding:var(--studio-space-6) var(--studio-space-8)}.authoring-create-header{display:flex;justify-content:space-between;align-items:flex-start;gap:var(--studio-space-4);margin-bottom:var(--studio-space-6)}.authoring-create-header h1{font-size:var(--studio-type-title);font-weight:var(--studio-weight-heading);line-height:1.2}.authoring-create-header p,.authoring-section-header p{color:var(--studio-muted);margin-top:var(--studio-space-2);max-width:70ch}.authoring-shell{display:grid;grid-template-columns:15rem minmax(0,1fr);align-items:start;gap:var(--studio-space-6)}.authoring-outline{min-width:0;position:sticky;top:var(--studio-space-4)}.authoring-outline ol{list-style:none;padding:0;margin:0}.authoring-outline button{min-height:44px}.authoring-outline ol>li>button,.authoring-section-nav>button{display:flex;width:100%;align-items:center;gap:var(--studio-space-3);padding:var(--studio-space-3);text-align:left;border:1px solid transparent;border-radius:var(--studio-radius-control);color:var(--studio-text-secondary)}.authoring-outline button:hover{background:var(--studio-surface-muted)}.authoring-outline [aria-current=step],.authoring-outline [aria-selected=true]{background:var(--studio-accent-soft);color:var(--studio-accent);border-color:transparent;font-weight:var(--studio-weight-strong)}.authoring-step-number{display:inline-flex;align-items:center;justify-content:center;flex:0 0 1.75rem;height:1.75rem;border:1px solid var(--studio-control-border);border-radius:50%;font-size:var(--studio-type-caption);font-variant-numeric:tabular-nums}.authoring-outline-note{margin-top:var(--studio-space-6);padding-top:var(--studio-space-4);border-top:1px solid var(--studio-border);color:var(--studio-muted);font-size:var(--studio-type-label)}.authoring-content{min-width:0;background:var(--studio-surface);border:1px solid var(--studio-border);border-radius:var(--studio-radius-lg);padding:var(--studio-space-6)}.authoring-section-header{margin-bottom:var(--studio-space-6);padding-bottom:var(--studio-space-5);border-bottom:1px solid var(--studio-border)}.authoring-section-header h2{font-size:var(--studio-type-section);font-weight:var(--studio-weight-heading);line-height:1.3}.authoring-fields{min-width:0;margin:0;border:0;padding:0}.authoring-actions{display:flex;justify-content:space-between;align-items:center;gap:var(--studio-space-3);border-top:1px solid var(--studio-border);margin-top:var(--studio-space-8);padding-top:var(--studio-space-5)}.authoring-actions>div{display:flex;gap:var(--studio-space-2)}.authoring-primary{background:var(--studio-action);color:var(--studio-action-text);border-color:var(--studio-action-border)}.authoring-primary:hover:not(:disabled){background:var(--studio-action-hover)}.authoring-details{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(12rem,1fr);gap:var(--studio-space-6);align-items:start}.authoring-detail-fields{display:flex;flex-direction:column;gap:var(--studio-space-3)}.authoring-field-help{color:var(--studio-muted);font-size:var(--studio-type-label);line-height:1.6;margin:var(--studio-space-2) 0 var(--studio-space-3)}.authoring-cover h3,.authoring-subsection-heading h3{font-size:var(--studio-type-subheading);font-weight:var(--studio-weight-strong)}.authoring-cover img{width:100%;max-width:16rem;aspect-ratio:1;-o-object-fit:cover;object-fit:cover;border-radius:var(--studio-radius-control);margin-bottom:var(--studio-space-3);border:1px solid var(--studio-border)}.authoring-upload{width:100%;min-height:12rem;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:var(--studio-space-2);border:1px dashed var(--studio-control-border);border-radius:var(--studio-radius-control);background:var(--studio-page);padding:var(--studio-space-4)}.authoring-upload span{color:var(--studio-muted);font-size:var(--studio-type-label)}.authoring-upload.is-dragging,.authoring-upload:hover{background:var(--studio-accent-soft);border-color:var(--studio-action-border)}.authoring-media{display:flex;flex-direction:column;gap:var(--studio-space-8)}.authoring-media>section+section{padding-top:var(--studio-space-6);border-top:1px solid var(--studio-border)}.authoring-subsection-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:var(--studio-space-3);margin-bottom:var(--studio-space-3)}.authoring-review>div{display:grid;grid-template-columns:10rem minmax(0,1fr);padding-block:var(--studio-space-4);border-bottom:1px solid var(--studio-border);gap:var(--studio-space-4)}.authoring-review dt{color:var(--studio-muted)}.authoring-review dd{overflow-wrap:anywhere;font-weight:var(--studio-weight-medium)}.authoring-next-note,.authoring-question-explainer{color:var(--studio-text-secondary);max-width:70ch;margin-bottom:var(--studio-space-5);line-height:1.6}.authoring-next-note{margin-top:var(--studio-space-5)}.authoring-question{border:1px solid var(--studio-border);border-radius:var(--studio-radius-control);margin-bottom:var(--studio-space-3)}.authoring-question-heading{display:flex;align-items:center;padding:var(--studio-space-2);background:var(--studio-surface-muted);border-radius:var(--studio-radius-control)}.authoring-question-heading>button:first-child{display:flex;align-items:center;gap:var(--studio-space-3);flex:1;min-width:0;min-height:52px;text-align:left;padding:var(--studio-space-2)}.authoring-question-heading>button:first-child>span:nth-child(2){flex:1;min-width:0;overflow-wrap:anywhere}.authoring-question-heading strong{display:block;font-weight:var(--studio-weight-strong)}.authoring-question-summary{display:block;font-size:var(--studio-type-label);color:var(--studio-muted);margin-top:var(--studio-space-1)}.authoring-question-fields{padding:var(--studio-space-5)}.authoring-question-fields[hidden]{display:none}.authoring-question-grid{display:grid;grid-template-columns:1fr 1fr;gap:var(--studio-space-4);align-items:end}.authoring-question-grid>div:first-child{grid-column:1/-1}.authoring-field-label{display:flex;flex-direction:column;gap:var(--studio-space-2);color:var(--studio-text-secondary);font-size:var(--studio-type-label);font-weight:var(--studio-weight-medium)}.authoring-field-label select{min-height:44px}.authoring-advanced{margin-top:var(--studio-space-5);border-top:1px solid var(--studio-border);padding-top:var(--studio-space-3)}.authoring-advanced>summary{cursor:pointer;min-height:44px;padding-block:var(--studio-space-2);color:var(--studio-text-secondary);font-size:var(--studio-type-label);font-weight:var(--studio-weight-medium)}.authoring-count{margin-left:auto;font-size:var(--studio-type-caption);font-variant-numeric:tabular-nums}.authoring-back-link{display:inline-flex;min-height:36px;color:var(--studio-muted);font-size:var(--studio-type-label);text-decoration:underline;text-underline-offset:4px;margin-bottom:var(--studio-space-2)}.authoring-content .template-timeline{padding:0;border:0;background:transparent}.authoring-content .template-chunk-palette{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.authoring-content .template-chunk-choice{min-height:var(--studio-control-height)}@media(max-width:1100px){.authoring-shell{grid-template-columns:12rem minmax(0,1fr);gap:var(--studio-space-4)}.authoring-details{grid-template-columns:1fr}.authoring-cover{max-width:25rem}}@media(max-width:760px){.authoring-shell{grid-template-columns:1fr}.authoring-outline{position:static}.authoring-outline>ol,.authoring-section-nav{display:flex;flex-wrap:wrap;gap:var(--studio-space-1)}.authoring-outline>ol>li{flex:1 1 45%}.authoring-section-nav>button{width:auto;flex:1 1 45%}.authoring-outline-note{margin-top:var(--studio-space-3)}.authoring-content,.authoring-create{padding:var(--studio-space-4)}.authoring-create-header{flex-direction:column}.authoring-question-grid{grid-template-columns:1fr}.authoring-question-grid>div:first-child{grid-column:auto}.authoring-review>div{grid-template-columns:1fr;gap:var(--studio-space-1)}.authoring-question-fields{padding:var(--studio-space-3)}}@media(max-width:420px){.authoring-content .template-chunk-palette{grid-template-columns:1fr}}.authoring-add-summary{display:list-item;cursor:pointer;min-height:44px;padding-block:var(--studio-space-2);font-size:var(--studio-type-subheading);font-weight:var(--studio-weight-strong);color:var(--studio-accent)}.authoring-add-chunks[open] .authoring-add-summary{margin-bottom:var(--studio-space-2)}.authoring-selected-chunk{justify-content:space-between;align-items:center;gap:var(--studio-space-3);flex-wrap:wrap;margin-top:var(--studio-space-6);padding-top:var(--studio-space-5);border-top:1px solid var(--studio-border)}.authoring-selected-chunk strong{font-size:var(--studio-type-subheading);font-weight:var(--studio-weight-strong)}.authoring-content :is(input,textarea,select){caret-color:var(--studio-accent)}.authoring-question code{color:var(--studio-text);background:var(--studio-surface-muted);border-radius:var(--studio-radius-sm);padding:var(--studio-space-1)}.authoring-question input:not([type=checkbox]),.authoring-question select{min-height:44px}.authoring-question label:has(input[type=checkbox]){min-height:44px}.authoring-routed-options{margin-top:var(--studio-space-4)}.authoring-routed-options ul{list-style:disc;padding-left:var(--studio-space-5);margin-top:var(--studio-space-2);color:var(--studio-text-secondary)}.authoring-actions,.authoring-actions>div{flex-wrap:wrap}.authoring-audio-section{padding-bottom:var(--studio-space-6);border-bottom:1px solid var(--studio-border)}@media(max-width:420px){.authoring-actions>div{width:100%}.authoring-actions>.authoring-primary{width:100%;justify-content:center}}.template-editor-title-actions{display:flex;align-items:center;flex-wrap:wrap;gap:var(--studio-space-4)}.template-editor-title{flex:1 1 12rem;min-width:0}.template-editor-actions{display:flex;flex-wrap:wrap;align-items:center;gap:var(--studio-space-2)}.authoring-editor-guide{width:100%;margin-top:var(--studio-space-5)}.authoring-upload.authoring-upload-primary{border-style:solid;border-color:var(--studio-action-border);background:var(--studio-action);color:var(--studio-action-text)}.authoring-upload.authoring-upload-primary span{color:inherit}.authoring-upload.authoring-upload-primary.is-dragging,.authoring-upload.authoring-upload-primary:hover{background:var(--studio-action-hover)}.authoring-upload.authoring-upload-primary:disabled{background:var(--studio-surface-muted);color:var(--studio-muted)}.chunk-tone-prompted{--chunk-fill:var(--studio-chunk-prompted-fill);--chunk-hover:var(--studio-chunk-prompted-hover);--chunk-surface:var(--studio-chunk-prompted-surface)}.chunk-tone-static{--chunk-fill:var(--studio-chunk-static-fill);--chunk-hover:var(--studio-chunk-static-hover);--chunk-surface:var(--studio-chunk-static-surface)}.chunk-tone-recording{--chunk-fill:var(--studio-chunk-recording-fill);--chunk-hover:var(--studio-chunk-recording-hover);--chunk-surface:var(--studio-chunk-recording-surface)}.chunk-tone-pregenerated{--chunk-fill:var(--studio-chunk-pregenerated-fill);--chunk-hover:var(--studio-chunk-pregenerated-hover);--chunk-surface:var(--studio-chunk-pregenerated-surface)}.chunk-tone-pause{--chunk-fill:var(--studio-chunk-pause-fill);--chunk-hover:var(--studio-chunk-pause-hover);--chunk-surface:var(--studio-chunk-pause-surface)}.chunk-type-text,.template-chunk-editor .pregen-accent{color:var(--chunk-fill)}.chunk-on-fill{color:inherit}.chunk-type-outline{border-color:var(--chunk-fill)}.chunk-type-button,.template-timeline-chunk{display:flex;align-items:center;justify-content:flex-start;gap:var(--studio-space-2);min-height:var(--studio-control-height);padding:var(--studio-space-2) var(--studio-space-3);border:1px solid var(--chunk-fill);border-radius:var(--studio-radius-control);background:var(--chunk-fill);color:var(--studio-chunk-on-fill);font-size:var(--studio-type-label);font-weight:var(--studio-weight-strong);transition:background-color var(--studio-duration) var(--studio-easing)}.chunk-type-button svg,.template-timeline-chunk svg{flex:none}.chunk-type-button:hover,.template-timeline-chunk:hover{background:var(--chunk-hover);border-color:var(--chunk-hover)}.chunk-type-button:focus-visible,.template-timeline-chunk:focus-visible{outline:2px solid var(--chunk-fill);outline-offset:3px}.template-timeline-chunk{margin-inline:var(--studio-space-1)}.template-timeline-chunk>span{min-width:0;overflow:hidden;text-overflow:ellipsis}.speech-block-card{border-color:var(--chunk-fill)}.speech-block-card-header{padding:var(--studio-space-3);border-radius:var(--studio-radius-control);background:var(--chunk-surface);color:var(--chunk-fill)}.speech-block-card-header h3{color:inherit}.template-chunk-editor .authoring-selected-chunk{color:var(--chunk-fill);border-color:var(--chunk-fill)}.template-chunk-editor .authoring-selected-chunk a{color:inherit}.template-chunk-editor .authoring-selected-chunk a:hover{background:var(--chunk-surface)}.template-chunk-editor :is(input,textarea){caret-color:var(--chunk-fill)}.chunk-tooltip{padding:var(--studio-space-3);background:var(--studio-surface-raised);color:var(--studio-text);border-color:var(--chunk-fill);font-size:var(--studio-type-label);line-height:var(--studio-leading-body);box-shadow:var(--studio-shadow-overlay);animation:chunk-tooltip-enter var(--studio-duration) var(--studio-easing)}.chunk-tooltip p{margin-top:var(--studio-space-2)}.chunk-tooltip-instruction{color:var(--studio-text-secondary)}.chunk-tooltip>span>span{background:var(--studio-surface-raised);border-color:var(--chunk-fill)}@keyframes chunk-tooltip-enter{0%{opacity:0;transform:translateY(4px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}@media(prefers-reduced-motion:reduce){.chunk-type-button,.studio-tooltip,.template-timeline-chunk{transition:none}.chunk-tooltip{animation:none}}.template-editor-toolbar-inner,.template-editor-workspace{max-width:90rem;padding-inline:var(--studio-space-6)}.template-editor-workspace{grid-template-columns:13rem minmax(0,1fr)}.template-editor-title-actions{align-items:flex-start}.template-editor-title{flex:1 1 22rem}.template-editor-title h1{overflow-wrap:anywhere;text-wrap:balance}.template-editor-actions{justify-content:flex-end;gap:var(--studio-space-3)}.template-editor-draft-actions,.template-editor-preview-actions{display:flex;flex-wrap:wrap;gap:var(--studio-space-2)}.template-editor-workspace .authoring-content{container-type:inline-size}.template-editor-workspace .authoring-section-header{margin-bottom:var(--studio-space-5);padding-bottom:var(--studio-space-4)}.template-editor-workspace .authoring-section-header p{max-width:65ch}.template-track-row{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:var(--studio-space-2);padding:var(--studio-space-2)}.template-track-name{min-width:0;min-height:44px;overflow-wrap:anywhere}.template-track-actions{display:flex;align-items:center;gap:var(--studio-space-1)}.template-icon-action,.ui-button.template-icon-action{display:inline-flex;flex:none;justify-content:center;align-items:center;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;border-radius:var(--studio-radius-control);border:1px solid transparent;cursor:pointer}.template-icon-action:hover:not(:disabled){background:var(--studio-surface-muted)}.template-icon-action--danger:hover:not(:disabled){background:var(--studio-danger-soft)}.template-icon-action:focus-visible{outline:2px solid var(--studio-focus);outline-offset:3px}.template-icon-action:disabled{cursor:default;opacity:.5}.template-icon-action.ui-button>span:empty{display:none}.template-editor-workspace .template-chunk-palette{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:var(--studio-space-1)}.template-editor-workspace .template-chunk-choice{min-width:0;gap:var(--studio-space-2)}.template-editor-workspace .template-chunk-choice strong{overflow-wrap:normal}.template-editor-workspace .speech-block-card{padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}.speech-block-card-header{min-height:60px;padding:var(--studio-space-2) var(--studio-space-3)}.template-chunk-name{min-width:0;overflow-wrap:anywhere}.template-flow-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:var(--studio-space-3)}.template-flow-title{display:flex;align-items:center;gap:var(--studio-space-1)}.template-flow-title h2{font-size:var(--studio-type-section);font-weight:var(--studio-weight-heading)}.template-flow-heading .template-chunk-palette{margin-left:auto}.template-editor-workspace .template-chunk-choice{min-height:var(--studio-control-height-sm);padding:var(--studio-space-1) var(--studio-space-2);gap:var(--studio-space-1)}.template-editor-workspace .template-chunk-choice svg{width:16px;height:16px}.speech-block-card-header{flex-wrap:wrap}.template-chunk-order-actions{display:flex;flex-wrap:wrap;gap:var(--studio-space-2);margin-left:auto}.template-summary{display:flex;align-items:flex-start;gap:var(--studio-space-3)}.template-summary-cover{flex:none}.template-summary-cover-button{position:relative;display:grid;place-items:center;width:calc(var(--studio-space-8) * 2);aspect-ratio:1;overflow:hidden;border:1px solid var(--studio-control-border);border-radius:var(--studio-radius-control);background:var(--studio-surface-raised)}.template-summary-cover-button img{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.template-summary-cover-edit{position:absolute;bottom:0;right:0;display:grid;place-items:center;padding:var(--studio-space-1);background:var(--studio-surface);color:var(--studio-text);border-top-left-radius:var(--studio-radius-control)}.template-summary-fields{min-width:0;flex:1}.template-summary-row{display:flex;align-items:center;gap:var(--studio-space-1);min-width:0}.template-summary-row>h1,.template-summary-row>p{flex:0 1 auto;min-width:0}.template-summary-row>div{flex:1;min-width:0}.template-summary-row>.template-icon-action{flex:none}.template-summary-description{color:var(--studio-text-secondary);font-size:var(--studio-type-label);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;padding-block:var(--studio-space-2)}.template-editor-workspace .authoring-questions-header{border-bottom:0;padding-bottom:0;margin-bottom:var(--studio-space-2)}.template-editor-workspace .authoring-outline .template-track-list{margin-top:var(--studio-space-6)}.template-editor-workspace .authoring-outline .template-track-row{grid-template-columns:44px minmax(0,1fr)}.template-editor-workspace .authoring-outline .template-track-actions{grid-column:1/-1;justify-content:flex-end;flex-wrap:wrap}.template-audio-controls{max-width:100%}.template-pause-duration{width:10rem;max-width:100%}.template-guide-chunk-links{display:flex;flex-wrap:wrap;gap:var(--studio-space-3);margin-bottom:var(--studio-space-5)}.template-guide-chunk-links a{color:var(--studio-accent);text-decoration:underline;text-underline-offset:3px}.template-editor-workspace .authoring-selected-chunk{margin-top:var(--studio-space-5);padding-top:var(--studio-space-4)}.template-script-part{padding:var(--studio-space-4);box-shadow:none}.template-part-header,.template-part-toolbar{justify-content:space-between}.template-part-actions,.template-part-header,.template-part-heading,.template-part-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:var(--studio-space-2)}.template-part-heading{flex:1 0 auto}.template-part-heading>div{white-space:nowrap}.template-part-actions{justify-content:flex-end}.template-part-actions a{display:inline-flex;align-items:center}.template-part-action,.template-part-actions a{min-height:44px;white-space:nowrap;flex:none}.template-part-toolbar{justify-content:flex-start}.template-part-behavior-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--studio-space-3)}.template-part-behavior-grid>div{min-width:0}.template-script-part :is(select,input,textarea){min-width:0;max-width:100%}.template-script-part select{min-height:48px}.speech-block-card :is(button,a) svg{flex-shrink:0}.speech-block-card>div :is(button:not(.template-icon-action)){min-height:44px}.template-preview-overlay{padding:var(--studio-space-5)}.template-preview-backdrop{background:var(--studio-overlay);opacity:.65}.template-preview-dialog{max-height:calc(100dvh - 2.5rem)}.template-preview-dialog :is(input,textarea,select){max-width:100%;min-width:0}.template-preview-dialog audio{max-width:100%}.template-preview-dialog [role=radiogroup] label{min-height:44px}@media (min-width:1024px){.template-preview-result{position:sticky;top:var(--studio-space-5);align-self:start}}@container (max-width:44rem){.template-track-row{grid-template-columns:44px minmax(0,1fr)}.template-track-actions{grid-column:2;justify-content:flex-start}.template-editor-workspace .template-chunk-palette{grid-template-columns:repeat(2,minmax(0,1fr))}.template-part-behavior-grid{grid-template-columns:1fr}.template-part-behavior-grid>div:empty{display:none}}@media(max-width:1200px){.template-editor-workspace{grid-template-columns:1fr}.template-editor-workspace .authoring-outline{position:static}.template-editor-workspace .authoring-section-nav{display:flex;flex-wrap:wrap;gap:var(--studio-space-1)}.template-editor-workspace .authoring-section-nav>button{width:auto;flex:1 1 auto;min-height:48px}.template-editor-workspace .authoring-editor-guide{width:auto;margin-top:var(--studio-space-3)}}@media(max-width:640px){.template-editor-toolbar-inner,.template-editor-workspace,.template-editor-workspace .authoring-content{padding:var(--studio-space-4)}.template-editor-actions{width:100%}.template-editor-draft-actions,.template-editor-preview-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.template-editor-preview-actions{grid-template-columns:minmax(0,1fr)}.template-editor-actions .ui-button{width:100%;padding-inline:var(--studio-space-2);white-space:normal}.template-editor-actions .ui-button>span{min-width:0;text-wrap:balance}.template-editor-workspace .authoring-section-nav>button{flex:1 1 calc(50% - .25rem);padding:var(--studio-space-2);gap:var(--studio-space-2)}.template-editor-workspace .authoring-section-nav>button>span:not(.authoring-count){min-width:0}.template-editor-workspace .authoring-subsection-heading{align-items:flex-start}.template-editor-workspace .authoring-selected-chunk strong{font-size:var(--studio-type-body)}.template-script-part{padding:var(--studio-space-3)}.template-part-actions{justify-content:flex-start}.template-part-actions a{white-space:nowrap}.template-preview-overlay{padding:var(--studio-space-2)}.template-preview-dialog{max-height:calc(100dvh - 1rem)}.template-preview-dialog>.border-b,.template-preview-dialog>.border-t{padding:var(--studio-space-3)}}.profile-actions,.profile-heading,.profile-split{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}.profile-heading{margin-bottom:1.5rem}.profile-heading p{margin-top:.5rem}.profile-actions{justify-content:flex-start}.profile-workspace{display:grid;grid-template-columns:260px minmax(0,1fr);gap:2rem;padding:0;margin:2rem 0;border:0;min-width:0}.profile-list{border-right:1px solid var(--studio-border);padding-right:1.5rem}.profile-editor{min-width:0}.profile-test-list{display:grid;gap:.5rem;margin:1rem 0 1.5rem}.profile-test-link{display:grid;gap:.35rem;width:100%;text-align:left;padding:.9rem;background:var(--studio-surface);color:var(--studio-text);border:1px solid var(--studio-border);border-radius:var(--studio-radius-control);overflow-wrap:anywhere;cursor:pointer}.profile-test-link:hover{background:var(--studio-surface-muted)}.profile-test-link.is-selected{border-color:transparent;background:var(--studio-accent-soft);color:var(--studio-accent)}.profile-field{display:grid;gap:.5rem;margin:1rem 0;min-width:0}.profile-field textarea{resize:vertical}.profile-feedback{padding:1rem;margin:1rem 0;background:var(--studio-surface);border:1px solid var(--studio-border);border-radius:var(--studio-radius-control)}.profile-section{margin-top:2.5rem;padding-top:1.5rem;border-top:1px solid var(--studio-border)}.profile-dimension{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) minmax(0,1fr) auto;gap:.75rem;align-items:center}.profile-question-editor{margin:1rem 0;padding:1rem;border:1px solid var(--studio-border);border-radius:var(--studio-radius-control);background:var(--studio-surface)}.profile-help summary,.profile-question-editor summary{cursor:pointer;padding:.5rem 0;overflow-wrap:anywhere}.profile-score-scroll{overflow-x:auto;margin:1rem 0}.profile-score-table{width:100%;border-collapse:collapse}.profile-score-table td,.profile-score-table th{padding:.5rem;text-align:left;border-bottom:1px solid var(--studio-border)}.profile-score-table caption{text-align:left;margin-bottom:.5rem}.profile-score-table th{font-size:var(--studio-type-label)}.profile-score-table td:first-child{min-width:180px}.profile-score-table input[type=number]{min-width:95px;width:100%;font-variant-numeric:tabular-nums}.profile-question{border:0;padding:0;margin:1.5rem 0}.profile-question legend{margin-bottom:.75rem}.profile-options{display:flex;gap:.5rem;flex-wrap:wrap}.profile-options label{display:flex;align-items:center;gap:.5rem;border:1px solid var(--studio-control-border);border-radius:var(--studio-radius-control);padding:.75rem;background:var(--studio-surface);cursor:pointer}.profile-check{display:flex;align-items:flex-start;gap:.75rem;margin:1rem 0}.profile-setup input[type=checkbox],.profile-setup input[type=radio]{accent-color:var(--studio-accent);width:1.1rem;height:1.1rem;flex-shrink:0}.profile-setup button:focus-visible,.profile-setup summary:focus-visible{outline:2px solid var(--studio-focus);outline-offset:3px}.profile-spectra{display:grid;gap:1.5rem;margin:2rem 0}.profile-spectra meter{display:block;width:100%;height:1rem;margin:.5rem 0;accent-color:var(--studio-accent)}.profile-spectra meter::-webkit-meter-bar{background:var(--studio-surface-muted);border:1px solid var(--studio-border)}.profile-spectra meter::-webkit-meter-optimum-value{background:var(--studio-accent)}.profile-help{margin-top:2rem;color:var(--studio-text-secondary)}.profile-help p{margin:1rem 0}@media(max-width:1000px){.profile-workspace{grid-template-columns:1fr}.profile-list{border-right:0;border-bottom:1px solid var(--studio-border);padding:0 0 1.5rem}.profile-test-list{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}}@media(max-width:600px){.profile-dimension{grid-template-columns:1fr 1fr}.profile-dimension .profile-field:first-child{grid-column:1/-1}.profile-heading{align-items:flex-start}.profile-options{flex-direction:column}}.studio-app-publishing{margin-top:var(--studio-space-8);padding-top:var(--studio-space-6);border-top:1px solid var(--studio-border)}.studio-app-publishing>p{margin:var(--studio-space-3) 0;max-width:70ch}.studio-app-publishing form{display:grid;gap:var(--studio-space-4)}.studio-app-publishing-fields{border:0;padding:0;margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--studio-space-6);min-width:0}.studio-app-publishing-fields>div{display:grid;gap:var(--studio-space-2);min-width:0}.studio-app-publishing input{width:100%;min-width:0}.studio-app-publishing form>.ui-button{justify-self:start}@media(max-width:640px){.studio-app-publishing-fields{grid-template-columns:1fr}}.template-editor-section-tabs{grid-column:1/-1;min-width:0}.template-editor-workspace.is-single-session{grid-template-columns:minmax(0,1fr)}.template-editor-workspace.is-single-session .authoring-outline{position:static;display:flex;justify-content:flex-end}.template-editor-workspace.is-single-session .authoring-editor-guide{margin-top:0;width:auto}.template-timeline-chunk{background:var(--chunk-surface);color:var(--chunk-fill);border-color:transparent}.template-timeline-chunk.is-selected,.template-timeline-chunk:hover{background:var(--chunk-fill);color:var(--studio-chunk-on-fill);border-color:transparent}.template-preview-footer,.template-preview-header{flex-shrink:0}.template-editor-footer{grid-column:1/-1;display:flex;justify-content:flex-end}.template-editor-footer .authoring-editor-guide{width:auto;margin:0}.template-editor-panel[hidden]{display:none}.template-audio-columns{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--studio-space-6);align-items:start}.template-audio-columns>:first-child{padding:0;border:0}.template-audio-columns>*{min-width:0}@container(min-width:660px){.template-audio-columns{grid-template-columns:repeat(2,minmax(0,1fr))}}.template-editor-toolbar-inner{padding-bottom:0}.template-editor-header-tabs{margin-top:var(--studio-space-6);min-width:0}.template-editor-header-tabs .studio-paper-tabs-scroll{border-bottom:0}.template-editor-workspace .template-editor-panel{background:transparent;border:0;border-radius:0;padding:0;box-shadow:none}.template-editor-workspace .authoring-outline{border-right:1px solid var(--studio-border);padding-right:var(--studio-space-4);align-self:stretch}.template-editor-workspace .authoring-outline .template-track-list{margin-top:0}.template-editor-workspace .authoring-outline .template-track-row,.template-track-row{grid-template-columns:minmax(0,1fr) auto;padding:var(--studio-space-2) 0;border-bottom:1px solid var(--studio-border);background:transparent;border-radius:0;box-shadow:none}.template-track-name{text-align:left;color:var(--studio-text);cursor:grab;touch-action:none}.template-track-name.is-selected{color:var(--studio-accent)}.template-track-name:focus-visible{outline:2px solid var(--studio-focus);outline-offset:2px}.template-track-rename{display:flex;flex-wrap:wrap;min-width:0}.template-track-rename input{width:100%;background:transparent;color:var(--studio-text);border:0;border-bottom:2px solid var(--studio-accent)}.template-flow-header-actions{display:flex;align-items:center;gap:var(--studio-space-2);min-width:0}.studio-inline-edit{display:flex;align-items:center;min-width:0;padding:0}.studio-inline-edit-text{position:relative;flex:1;min-width:0;margin:0;font:inherit;color:inherit}.studio-inline-edit-text>button,.studio-inline-edit-text>input,.studio-inline-edit-text>textarea{display:block;width:100%;margin:0;padding:0;border:0;border-radius:0;font:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;background:transparent;text-align:left;box-shadow:none}.studio-inline-edit-text>button{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.studio-inline-edit-text>input,.studio-inline-edit-text>textarea{position:absolute;inset:0;height:100%;resize:none;outline:none;box-shadow:0 2px 0 var(--studio-accent)}.studio-inline-edit-text>button:focus-visible{outline:2px solid var(--studio-focus);outline-offset:2px}.template-summary-name{font-family:var(--studio-heading-family);font-size:var(--studio-type-section);font-weight:var(--studio-weight-heading);line-height:1.3}.studio-inline-edit-actions{display:flex;flex:none;width:80px;min-height:40px}.studio-inline-edit-pencil,.template-summary-cover-edit{opacity:0;transition:opacity .15s ease}.studio-inline-edit:focus-within .studio-inline-edit-pencil,.studio-inline-edit:hover .studio-inline-edit-pencil,.template-summary-cover-button:focus-visible .template-summary-cover-edit,.template-summary-cover-button:hover .template-summary-cover-edit{opacity:1}.studio-confirm-overlay{position:fixed;inset:0;z-index:10010;display:grid;place-items:center;padding:var(--studio-space-6)}.studio-confirm-backdrop{position:absolute;inset:0;background:var(--studio-overlay)}.studio-confirm-dialog{position:relative;width:min(100%,32rem);max-height:90dvh;overflow:auto;outline:none}.studio-confirm-actions{display:flex;justify-content:flex-end;gap:var(--studio-space-2);margin-top:var(--studio-space-6)}@media (hover:none){.studio-inline-edit-pencil,.template-summary-cover-edit{opacity:1}}@media (prefers-reduced-motion:reduce){.studio-inline-edit-pencil,.template-summary-cover-edit{transition:none}}@media (max-width:1200px){.template-editor-workspace .authoring-outline{border-right:0;border-bottom:1px solid var(--studio-border);padding-right:0;padding-bottom:var(--studio-space-4)}}.studio-audio-catalog,.studio-audio-catalog-inner{min-width:0}.studio-audio-grid{grid-template-columns:repeat(auto-fill,minmax(136px,164px))}.studio-audio-grid,.studio-audio-reorder{display:grid;gap:var(--studio-space-3);align-items:start}.studio-audio-reorder{grid-auto-flow:column;grid-auto-columns:152px;overflow-x:auto;padding:var(--studio-space-1) var(--studio-space-1) var(--studio-space-3)}.studio-audio-card{position:relative;min-width:0;background:var(--studio-surface);border-radius:var(--studio-radius-control);padding:var(--studio-space-2)}.studio-audio-card[data-selected]{background:var(--studio-accent-soft)}.studio-audio-art{position:relative;min-width:0}.studio-audio-portrait{width:100%;aspect-ratio:4/5;-o-object-fit:cover;object-fit:cover;-o-object-position:center top;object-position:center top;border-radius:var(--studio-radius-control)}.studio-audio-caption{display:flex;flex-direction:column;gap:var(--studio-space-1);padding-top:var(--studio-space-2);overflow-wrap:anywhere}.studio-audio-select{opacity:0;position:absolute;inset:0;width:100%;height:100%;background:transparent;border:0;border-radius:inherit;cursor:pointer}.studio-audio-preview{right:var(--studio-space-1);bottom:var(--studio-space-1);z-index:2}.studio-audio-check,.studio-audio-preview{position:absolute;background:var(--studio-surface);border-radius:50%}.studio-audio-check{right:0;top:0;pointer-events:none}.studio-audio-drag{position:absolute;left:var(--studio-space-2);top:var(--studio-space-2);z-index:2;width:36px;height:36px;display:grid;place-items:center;border-radius:50%;background:var(--studio-surface);color:var(--studio-accent);cursor:grab;touch-action:none}.studio-audio-drag:active{cursor:grabbing}.studio-audio-card .cd-case{display:block;width:100%;height:auto}.studio-audio-card .album-cover{position:relative;width:100%;height:100%;overflow:hidden;background:var(--studio-surface);color:var(--studio-text)}.studio-audio-card .album-cover img{position:absolute;inset:0;width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.studio-audio-card .album-cover-type{position:absolute;inset:0 0 auto;padding:12px 16px 32px;background:linear-gradient(var(--cd-cover-scrim),transparent);color:var(--cd-cover-light)}.studio-audio-card .album-cover-title{display:block;font-family:Georgia,serif;font-size:28px;line-height:1.15;overflow-wrap:anywhere}.studio-audio-card .album-cover-placeholder{position:absolute;inset:0;margin:auto;width:48px;height:48px;color:var(--studio-text-secondary)}.studio-audio-card:has(.studio-audio-select:focus-visible){outline:2px solid var(--studio-focus);outline-offset:2px}.template-editor-toolbar-inner{padding-top:var(--studio-space-4)}.template-editor-header-tabs{margin-top:var(--studio-space-2)}.template-summary-description{padding-block:var(--studio-space-1)}.template-summary-description,.template-summary-name{margin-block:0}.template-chunk-choice.chunk-type-button{border-radius:9999px}.template-timeline-chunk{border-radius:0;margin-inline:0}.timeline-chunk-name-input{width:100%;min-width:0;border:0;border-bottom:1px solid;border-radius:0;padding:0;background:transparent;color:inherit;font:inherit;outline:none}.template-timeline-chunk:has(.timeline-chunk-name-input){cursor:text;touch-action:auto}.template-part-behavior-grid{align-items:center}.script-answer-branch{display:grid;grid-template-columns:minmax(7rem,25%) minmax(0,1fr);align-items:center;gap:var(--studio-space-5);position:relative}.script-answer-branch>:not(.script-answer-node){grid-column:2;grid-row:1}.script-answer-node{grid-column:1;grid-row:1;position:relative;padding:var(--studio-space-3);background:var(--studio-surface-muted);border:1px solid var(--studio-border);overflow-wrap:anywhere;font-size:var(--studio-type-label)}.script-answer-node:before{content:"";position:absolute;left:100%;top:50%;width:var(--studio-space-5);border-top:1px solid var(--studio-border)}.script-answer-tools{display:flex;flex-wrap:wrap;gap:var(--studio-space-1);padding:0 14px 12px}.template-audio-columns>:last-child{border-top:1px solid var(--studio-border);padding-top:var(--studio-space-6)}.template-audio-columns .template-audio-controls{width:100%;margin-left:0;justify-content:space-between;gap:var(--studio-space-4)}.studio-audio-grid{grid-template-columns:repeat(auto-fill,minmax(112px,132px))}.studio-audio-reorder{grid-auto-columns:128px}@container(min-width:660px){.template-audio-columns>:last-child{border-top:0;padding-top:0;border-left:1px solid var(--studio-border);padding-left:var(--studio-space-6)}}@media(max-width:600px){.script-answer-branch{grid-template-columns:minmax(5rem,28%) minmax(0,1fr);gap:var(--studio-space-3)}.script-answer-node{padding:var(--studio-space-2)}.script-answer-node:before{width:var(--studio-space-3)}}.template-summary-fields .studio-inline-edit{position:relative;min-height:32px;padding-right:80px}.template-summary-fields .studio-inline-edit-actions{position:absolute;right:0;top:50%;transform:translateY(-50%)}.speech-block-card .template-script-part .script-answer-tools button{min-height:28px}.template-chunk-move-actions,.template-chunk-order-actions{align-items:center;gap:var(--studio-space-1)}.template-chunk-move-actions{display:flex}.speech-block-card-header{row-gap:var(--studio-space-1)}.speech-block-card-header .template-chunk-order-actions button{min-height:40px}.template-chunk-order-actions .studio-paper-action{flex:none}.variation-pool-dialog{position:relative;width:min(760px,100%);max-height:calc(100dvh - 32px);outline:none}.variation-pool-heading{display:grid;gap:8px;padding:24px 24px 16px}.variation-pool-fields{display:grid;gap:20px;padding:8px 24px;max-height:calc(100dvh - 240px);overflow-y:auto}.variation-pool-entry{display:grid;grid-template-columns:minmax(0,1fr) 40px;gap:8px;align-items:start}.variation-pool-actions{padding:16px 24px 24px}.pool-library{padding:24px;width:100%;min-width:0;max-width:1200px;margin:0 auto}.pool-library-actions,.pool-library-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.pool-library-workspace{display:grid;grid-template-columns:minmax(180px,240px) minmax(0,1fr);gap:32px;padding-top:24px}.pool-library-list{border-right:1px solid var(--studio-border);padding-right:20px}.pool-library-row{border-bottom:1px solid var(--studio-border);padding:8px 0}.pool-library-row.is-selected{background:var(--studio-surface-muted)}.pool-library-editor{display:grid;gap:24px;min-width:0}.pool-library-actions{justify-content:flex-end;flex-wrap:wrap}.pool-library audio{min-width:0;max-width:100%}@media(max-width:700px){.pool-library{padding:16px}.pool-library-workspace{grid-template-columns:minmax(0,1fr);gap:20px}.pool-library-list{border-right:0;padding-right:0;border-bottom:1px solid var(--studio-border);padding-bottom:16px}}.question-preset-toolbar{display:flex;flex-wrap:wrap;gap:12px;align-items:center}.question-preset-dialog{max-width:600px}.question-preset-row{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:12px;align-items:center}.question-preset-row .studio-paper-action{min-width:0;max-width:100%}.question-preset-row .studio-paper-action button{max-width:100%}.studio-content-setup{width:100%;min-width:0;padding:24px 32px}.studio-content-heading{margin-bottom:16px}.studio-content-panel{min-width:0;padding-top:24px}.studio-content-panel[hidden]{display:none}.studio-content-panel>.pool-library,.studio-content-panel>.studio-page{padding:0;max-width:none;margin:0}.studio-content-panel .text-title{font-size:24px;line-height:1.3}.question-preset-editor{min-width:0;display:grid;gap:24px;align-content:start;border:0;padding:0;margin:0}.studio-app-url-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.studio-app-url-list dt{margin-bottom:8px}.studio-app-url-list dd{margin:0;overflow-wrap:anywhere}.studio-app-url-list a{color:var(--studio-accent);text-decoration:underline;text-underline-offset:3px}@media(max-width:700px){.studio-content-setup{padding:20px 16px}.studio-app-url-list{grid-template-columns:minmax(0,1fr);gap:16px}}.studio-media-heading{margin-bottom:var(--studio-space-6)}.studio-media-heading-row{display:flex;align-items:center;justify-content:space-between;gap:var(--studio-space-4);flex-wrap:wrap}.studio-media-heading-row h1{min-width:0}.studio-media-heading-action{flex-shrink:0}.studio-media-heading>p{max-width:65ch;margin-top:var(--studio-space-2)}.studio-media-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--studio-space-6);align-items:start;margin-top:var(--studio-space-6)}.studio-media-collection,.studio-media-detail{min-width:0}.studio-media-grid:not(.has-editor) .studio-media-collection{max-width:60rem}.studio-media-row-active{background:var(--studio-accent-soft)}.studio-media-row-select{display:flex;align-items:center;gap:var(--studio-space-3);min-width:0;flex:1;min-height:44px;text-align:left;color:inherit;border:0;background:transparent;padding:0;cursor:pointer;border-radius:var(--studio-radius-control)}.studio-media-row-select>:first-child{flex-shrink:0}.studio-media-empty{display:grid;place-items:center;min-height:17rem;padding:var(--studio-space-8) var(--studio-space-4);text-align:center;border:1px dashed var(--studio-control-border);border-radius:var(--studio-radius);background:var(--studio-surface)}.studio-media-empty-description{max-width:38ch;margin-top:var(--studio-space-2)}.studio-media-empty-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:var(--studio-space-3);margin-top:var(--studio-space-6)}.studio-media-empty-actions .ui-button{white-space:nowrap}.studio-media-editor-heading{gap:var(--studio-space-3);margin-bottom:var(--studio-space-5)}.studio-media-editor-actions,.studio-media-editor-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap}.studio-media-editor-actions{gap:var(--studio-space-4);margin-top:var(--studio-space-4)}.studio-media-save-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:var(--studio-space-3);margin-left:auto}.studio-media-editor-actions .ui-button,.studio-media-save-actions .ui-button{flex-shrink:0;white-space:nowrap}.studio-media-audio-controls{display:flex;align-items:center;gap:var(--studio-space-3);min-width:0}.studio-media-audio-controls audio{min-width:0}.studio-media-audio-controls>button{flex-shrink:0}.studio-media-field-label{display:flex;align-items:baseline;justify-content:space-between;gap:var(--studio-space-2);margin-bottom:var(--studio-space-2)}.studio-media-field-label>span{flex-shrink:0}.studio-media-preview-actions,.studio-media-sample-actions{display:flex;align-items:center;gap:var(--studio-space-2);flex-wrap:wrap}.studio-media-preview-actions{min-width:0}.studio-media-dialog{display:flex;flex-direction:column;max-height:calc(100dvh - var(--studio-space-8));overflow:hidden}.studio-media-dialog-heading{display:flex;align-items:center;gap:var(--studio-space-3);padding:var(--studio-space-5);flex-shrink:0;border-bottom:1px solid var(--studio-border)}.studio-media-dialog-body{padding:var(--studio-space-5);min-height:0;overflow-y:auto;border:0;margin:0;min-width:0}.studio-media-dialog-fields{border:0;padding:0;margin:0;min-width:0}.studio-media-dialog-actions{display:flex;justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:var(--studio-space-3);padding:var(--studio-space-4) var(--studio-space-5);flex-shrink:0;border-top:1px solid var(--studio-border)}.studio-media-dialog-actions .ui-button{white-space:nowrap}.studio-media-voice-customization{display:grid;grid-template-columns:10rem minmax(0,1fr);gap:var(--studio-space-4)}.studio-media-voice-image{min-width:0}.studio-app-setup{max-width:72rem}.studio-app-setup-heading{display:flex;align-items:center;gap:var(--studio-space-4);flex-wrap:wrap;margin-bottom:var(--studio-space-8)}.studio-app-setup-heading>div:nth-child(2){flex:1;min-width:0}.studio-app-setup-heading p{margin-top:var(--studio-space-2)}.studio-app-setup-icon{display:grid;place-items:center;width:3.5rem;height:3.5rem;flex-shrink:0;background:var(--studio-accent-soft);color:var(--studio-accent);border-radius:var(--studio-radius-control);overflow:hidden}.studio-app-setup-icon img{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.studio-app-status{border:1px solid var(--studio-control-border);border-radius:var(--radius-999);padding:var(--studio-space-1) var(--studio-space-3);background:var(--studio-surface);color:var(--studio-text-secondary)}.studio-app-setup-step{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:var(--studio-space-5);padding:var(--studio-space-6) 0;border-top:1px solid var(--studio-border)}.studio-app-setup-step p{margin-top:var(--studio-space-2);max-width:54ch}.studio-app-setup-step>.ui-button{white-space:nowrap}.studio-app-test-build{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:var(--studio-space-6);padding:var(--studio-space-6);margin-top:var(--studio-space-6);border:1px solid var(--studio-border);border-radius:var(--studio-radius);background:var(--studio-surface)}.studio-app-test-build>div{flex:1;min-width:15rem}.studio-app-test-build p{margin-top:var(--studio-space-2);max-width:54ch}.studio-apps-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,16rem),1fr));gap:var(--studio-space-5)}.studio-apps-page .studio-app-tile h2{overflow-wrap:anywhere}.studio-app-wizard-progress{display:flex;flex-wrap:wrap;gap:var(--studio-space-5);margin:var(--studio-space-6) 0;list-style:none}.studio-app-wizard-progress li{display:flex;align-items:center;gap:var(--studio-space-2);font-size:var(--studio-type-label);color:var(--studio-muted)}.studio-app-wizard-progress li span{display:grid;place-items:center;width:1.75rem;height:1.75rem;border:1px solid var(--studio-control-border);border-radius:50%}.studio-app-wizard-progress li[aria-current=step]{color:var(--studio-accent);font-weight:var(--studio-weight-strong)}.studio-app-wizard-progress li[aria-current=step] span{background:var(--studio-accent-soft);border-color:transparent}.studio-app-wizard-actions{display:flex;align-items:center;flex-wrap:wrap;gap:var(--studio-space-3);margin-top:var(--studio-space-5)}@media(min-width:1200px){.studio-media-grid.has-editor{grid-template-columns:minmax(15rem,.7fr) minmax(0,1fr)}}@media(max-width:1000px){.studio-app-setup-step{grid-template-columns:auto minmax(0,1fr)}.studio-app-setup-step>.ui-button{grid-column:2;justify-self:start}}@media(max-width:767px){.studio-app-setup h1,.studio-apps-page h1,.studio-media-page h1{font-size:var(--type-page-title-compact-size)}.studio-media-heading-row{align-items:flex-start}.studio-media-editor-actions{align-items:stretch;flex-direction:column}.studio-media-save-actions{width:100%;margin-left:0;order:-1}.studio-media-save-actions .ui-button{flex:1}.studio-media-editor-actions>.ui-button--danger{align-self:flex-start}.studio-media-voice-customization{grid-template-columns:minmax(0,1fr)}.studio-media-voice-image{max-width:10rem}.studio-app-test-build{padding:var(--studio-space-5)}.studio-app-test-build>div{min-width:0;flex-basis:100%}}@media(max-width:420px){.studio-media-heading-action{margin-left:0}.studio-app-setup-step{gap:var(--studio-space-3)}}@media(prefers-reduced-motion:reduce){.studio-app-wizard [class*=animate-]{animation:none}}.studio-paper-action{display:inline-flex;vertical-align:middle;max-width:100%;min-width:0}.studio-paper-action>div{width:100%;min-width:0}.studio-paper-action [role=button]{width:100%}.studio-paper-action:is(.studio-button,.studio-action,.studio-primary,.authoring-primary){padding:0;border:0;background:none;color:inherit;box-shadow:none}.studio-paper-icon{min-width:44px;min-height:44px;flex-shrink:0}.studio-paper-icon,.studio-paper-icon-content{display:inline-flex;align-items:center;justify-content:center}.studio-paper-icon-content{gap:8px;max-width:100%;color:inherit}.studio-paper-icon-content svg{flex-shrink:0}.studio-paper-field{height:auto;padding:0!important}.studio-paper-field,.studio-paper-field .studio-paper-native-input{min-width:0;width:100%;border:0!important;background:transparent!important;box-shadow:none!important}.studio-paper-field .studio-paper-native-input{min-height:0;padding:12px 14px;outline:none;border-radius:0;color:var(--studio-text);font-family:var(--studio-font-family);font-size:16px;line-height:1.5}.studio-paper-field textarea.studio-paper-native-input{resize:vertical}.studio-paper-field .studio-paper-native-input:disabled{color:var(--text-disabled)}.studio-paper-choice{position:relative;display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;flex-shrink:0;cursor:pointer}.studio-paper-choice>input{position:absolute;width:100%;height:100%;inset:0;margin:0;opacity:0;cursor:inherit;z-index:1}.studio-paper-choice:has(input:focus-visible){outline:2px solid var(--studio-focus);outline-offset:2px;border-radius:6px}.studio-paper-choice:has(input:disabled){cursor:not-allowed}.studio-paper-switch{width:-moz-fit-content;width:fit-content;max-width:100%;justify-self:start;align-self:center;display:inline-flex;gap:12px;align-items:center;cursor:pointer;min-height:44px}.studio-paper-link{display:inline-flex;gap:8px;align-items:center;justify-content:center;min-height:48px;padding:10px 20px;border:1px solid var(--studio-control-border);color:var(--studio-text);background:transparent;font-weight:600;text-decoration:none}.studio-paper-link.ui-button--primary{background:var(--studio-action);color:var(--studio-action-text);border-color:var(--studio-action)}.studio-paper-link:is(.ui-button--ghost,.ui-button--link){border-color:transparent;color:var(--studio-accent)}.studio-paper-link:hover{background:var(--surface-hover)}.studio-paper-link.ui-button--primary:hover{background:var(--studio-action-hover)}.studio-paper-link[aria-disabled=true]{opacity:.38;cursor:not-allowed}.studio-appearance-controls{display:flex;align-items:center;gap:8px}.studio-appearance-controls .studio-sidebar-theme{flex:1;min-width:44px}.studio-appearance-controls .studio-sidebar-theme>div{width:100%}.studio-appearance-panel{width:min(340px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow-y:auto;z-index:100;outline:none;color:var(--studio-text);font-family:var(--studio-font-family)}.studio-seed-swatches{display:flex;gap:8px;flex-wrap:wrap}.studio-seed-swatches button{width:44px;height:44px;background:var(--seed);border:2px solid transparent;border-radius:50%;display:grid;place-items:center;color:white;cursor:pointer}.studio-custom-seed{display:grid;grid-template-columns:44px minmax(0,1fr);gap:12px;align-items:end}.studio-custom-seed input[type=color]{padding:3px;width:44px;height:52px;border:1px solid var(--studio-control-border);border-radius:8px;background:var(--studio-surface);cursor:pointer}.studio-custom-seed label{display:block;margin-bottom:4px;font-size:14px}.studio-palette-preview{display:flex;gap:12px;align-items:center}.studio-preview-swatches{display:flex;flex:1;height:32px;overflow:hidden;border-radius:8px}.studio-preview-swatches span{flex:1}.studio-sidebar.is-collapsed .studio-appearance-controls{flex-direction:column}.studio-paper-surface.studio-panel{padding:0;border:0;background:transparent;box-shadow:none}.studio-paper-surface.studio-panel>div{padding:24px}@media(max-width:760px){.studio-sidebar.is-collapsed .studio-appearance-controls{flex-direction:row}.studio-appearance-controls .studio-sidebar-label{display:none}}@media(prefers-reduced-motion:reduce){[data-paper-ripple]{display:none!important}.studio-paper-link{transition:none}}.studio-paper-icon.ui-icon-action{padding:0;background:transparent}.studio-sidebar-account.studio-paper-icon{width:100%}.studio-sidebar-account .studio-paper-icon-content{justify-content:flex-start;padding-inline:8px;width:100%}.studio-paper-choice [inert] input{opacity:0!important;pointer-events:none}.studio-paper-action [data-testid=button-text] svg{flex-shrink:0}.studio-paper-tabs-scroll{overflow-x:auto;scrollbar-width:thin;flex-shrink:0}.studio-paper-tabs{position:relative;display:grid;grid-template-columns:repeat(var(--tab-count),minmax(0,1fr));min-width:calc(var(--tab-count) * 12rem);border-bottom:1px solid var(--studio-border)}.studio-paper-tab-label{display:flex;align-items:center;justify-content:center;gap:8px}.studio-paper-tab-label svg{flex:none}.studio-paper-tab-indicator{position:absolute;bottom:0;left:0;height:3px;width:calc(100% / var(--tab-count));background:var(--studio-accent);transform:translateX(calc(var(--tab-index) * 100%));transition:transform .2s cubic-bezier(.2,0,0,1);pointer-events:none}@media(prefers-reduced-motion:reduce){.studio-paper-tab-indicator{transition:none}}.studio-button-icon{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.studio-paper-action svg,.studio-paper-icon-content svg,.studio-paper-link svg{color:inherit!important}.studio-paper-link.ui-button--secondary{color:var(--studio-accent)}.studio-choice-switch{display:flex;align-items:center;gap:var(--studio-space-2);flex-wrap:wrap;color:var(--studio-text-secondary);font-size:var(--studio-type-label)}.studio-choice-switch>.is-active{color:var(--studio-accent);font-weight:var(--studio-weight-strong)}.studio-choice-switch .studio-paper-switch{width:-moz-fit-content;width:fit-content;max-width:100%;justify-self:start;align-self:center;display:inline-flex}.studio-choice-switch .studio-paper-choice{min-width:52px}.studio-paper-input-content{min-width:0}.studio-paper-field--actions{position:relative;margin-top:22px}.studio-field-label-rail{position:absolute;inset:8px 12px auto;transform:translateY(-50%);display:flex;align-items:center;justify-content:space-between;gap:8px;pointer-events:none}.studio-field-label-actions,.studio-field-label-start{display:flex;align-items:center;gap:8px;min-width:0;position:relative;isolation:isolate;padding-inline:4px;pointer-events:auto}.studio-field-label-start>label{font-size:12px;line-height:16px;white-space:nowrap}.studio-field-label-rail .studio-paper-choice,.studio-field-label-rail .studio-paper-icon{min-width:32px;min-height:32px}.studio-field-label-rail .studio-paper-icon>div{max-width:32px;max-height:32px}.studio-field-label-rail{top:0}.studio-field-label-actions:before,.studio-field-label-start:before{content:"";position:absolute;z-index:-1;inset:50% 0 auto;height:20px;transform:translateY(-50%);background:var(--studio-field-label-surface,var(--studio-surface))}.studio-field-label-start .question-required>span:last-child,.studio-field-label-start>label{background:var(--studio-field-label-surface,var(--studio-surface))}.studio-paper-field--actions .studio-paper-native-input{padding-top:20px!important}