.import-workspace.constructor-mobile{margin:0}.constructor-mobile>.import-header>.workspace-heading{display:none}.constructor-mobile>.import-header>.collection-actions{margin:8px 0}.constructor-mobile>.import-toolbar{flex-wrap:wrap;align-items:center;gap:12px;margin:10px 0}.constructor-mobile>.import-toolbar>:is(h1,h2){overflow-wrap:anywhere;flex:200px;width:auto;min-width:0;margin:0;font-size:18px;line-height:1.3}.constructor-mobile>.import-toolbar .trash-controls{flex-shrink:0}.constructor-mobile .constructor-brief{color:var(--muted);margin:12px 0;font-size:13px;line-height:1.5}.constructor-mobile .constructor-brief>summary{cursor:pointer;align-content:center;min-height:44px}.constructor-mobile .designer-form-frame{border-radius:16px;padding:16px 12px}.constructor-mobile .designer-form-frame>.designer-form-heading{margin:0 0 16px;font-size:13px}.constructor-mobile .designer-form-frame>.designer-form-heading h2,.constructor-mobile .designer-form-frame>.designer-form-heading>.muted{display:none}.constructor-mobile .designer-form-frame>.designer-form-heading:not(:has(p:not(.muted))){display:none}.constructor-mobile .designer-form-frame>.schema-section{border:0;border-radius:0;margin:20px 0;padding:0}.constructor-mobile .designer-form-frame>.schema-section:first-of-type{margin-top:0}.constructor-mobile .designer-block-heading h3{align-content:center;margin:0 0 12px;font-size:14px;line-height:1.45}.constructor-mobile .designer-fields{grid-template-columns:minmax(0,1fr);gap:12px}.constructor-mobile .constructor-field{border:1px solid var(--line);background:#fff;border-radius:12px;min-width:0}.constructor-mobile .constructor-field>summary{cursor:pointer;padding:12px;list-style:none}.constructor-mobile .constructor-field>summary::-webkit-details-marker{display:none}.constructor-mobile .constructor-field>summary:focus-visible{outline-offset:2px;border-radius:12px;outline:3px solid #8aacf4}.constructor-mobile .constructor-field-label{align-items:flex-start;gap:8px;display:flex}.constructor-mobile .constructor-field-label>.field-label{flex:1;min-width:0;margin:0;font-size:14px;line-height:1.4}.constructor-mobile .constructor-field-label>.form-icon{color:var(--blue);flex-shrink:0}.constructor-mobile .constructor-field-preview{pointer-events:none;-webkit-user-select:none;user-select:none;margin-top:8px}.constructor-mobile .constructor-field-preview .field{margin:0}.constructor-mobile .constructor-field-preview .field-control{margin-top:0}.constructor-mobile .constructor-field-preview input,.constructor-mobile .constructor-field-preview select{opacity:1;color:var(--muted);height:42px}.constructor-mobile .constructor-field[open]{background:#f9fbff;border-color:#9bb8df}.constructor-mobile .constructor-field>.schema-field{border:0;border-top:1px solid var(--line);background:0 0;border-radius:0 0 12px 12px;gap:18px;margin:0;padding:14px 12px}.constructor-mobile .constructor-field-settings>label,.constructor-mobile .constructor-field-additional>div>label{font-size:13px}.constructor-mobile .constructor-field-settings input,.constructor-mobile .constructor-field-settings select{font-size:16px}.constructor-mobile .constructor-field-settings .choice-options{grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:8px}.constructor-mobile .constructor-field-settings .choice-option-content{min-height:48px;padding:10px}.constructor-mobile .constructor-field-settings .choice-option-label{font-size:13px}.constructor-mobile .constructor-field-additional{border-top:1px solid var(--line);min-width:0}.constructor-mobile .constructor-field-additional>summary{cursor:pointer;min-height:48px;color:var(--muted);justify-content:space-between;align-items:center;gap:8px;font-size:13px;list-style:none;display:flex}.constructor-mobile .constructor-field-additional>summary::-webkit-details-marker{display:none}.constructor-mobile .constructor-field-additional>div{gap:18px;padding:8px 0;display:grid}.constructor-mobile .designer-settings-actions{gap:12px}.constructor-mobile .designer-settings-actions>.primary{flex:1;justify-content:center;min-height:44px}.constructor-mobile .designer-settings-actions>.danger{min-height:44px}.constructor-mobile .designer-author-settings{margin-top:22px}.constructor-mobile .designer-author-settings>.creator-settings{padding:14px}.constructor-mobile .designer-add-field{min-height:44px;margin-top:12px}.constructor-mobile .confirm-import{background:#f5f9ff;border-radius:14px;margin:20px 0 0;padding:12px}.constructor-mobile .confirm-import label{min-height:40px;font-size:12px}.constructor-mobile .confirm-import p{font-size:12px}.constructor-mobile .confirm-import .constructor-save-notice{color:var(--ink);margin:0 0 12px}.constructor-mobile .confirm-import>.primary{justify-content:center;width:100%;min-height:48px;margin-top:10px}.constructor-mobile .confirm-import>.primary:only-child{margin:0}.constructor-mobile .creator-empty{padding:28px 12px}.constructor-mobile .creator-empty ol{display:none}.template-editor.constructor-mobile .designer-form-frame{padding:0}.template-editor.constructor-mobile .designer-form-frame>.schema-section{border:1px solid var(--line);border-radius:16px;margin:0 0 18px;padding:20px 18px}.template-editor.constructor-mobile .designer-block-heading h3{font-size:19px}.template-editor.constructor-mobile .constructor-field{background:0 0;border:0}.template-editor.constructor-mobile .constructor-field>summary{padding:0}.template-editor.constructor-mobile .constructor-field[open]{background:#f9fbff}.template-editor.constructor-mobile .constructor-field>.schema-field{border-top:1px solid var(--line);margin-top:12px}.template-editor.constructor-mobile .constructor-field-label>.field-label{font-size:15px}
.import-workspace.template-editor{container:template-editor/inline-size}.template-editor[data-template-open]{max-width:none}@media (min-width:1280px){.application:has(.template-editor[data-template-open])>.main{padding-left:16px;padding-right:12px}}.template-editor .template-editor-header{border-bottom:1px solid var(--line);flex-wrap:nowrap;align-items:center;gap:12px;min-height:64px;margin-bottom:24px;padding:0 0 16px;display:flex;position:relative}.template-editor .template-editor-header .import-return{flex:none}.template-editor .template-editor-header .import-return button{border:1px solid var(--control-border);border-radius:var(--radius-md);background:var(--surface);width:44px;height:44px;color:var(--ink);place-items:center;padding:0;display:grid}.template-editor .template-editor-header .import-return button>span{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.template-editor .template-editor-header h1{font-size:20px;line-height:28px}.template-editor .template-editor-header>header{flex:1 1 0;order:1;min-width:0;margin:0}.template-editor .template-editor-header>header .template-symbol{display:none}.template-editor .template-editor-header h1,.template-editor .template-editor-header>header h1+div{white-space:nowrap;text-overflow:ellipsis;overflow-wrap:normal;overflow:hidden}@media (min-width:1280px){.template-editor .template-editor-header>div:last-child{display:contents}.template-editor .template-editor-header:has(.trash-confirm){flex-wrap:wrap}.template-editor .template-editor-header>div:last-child>*{order:2}.template-editor .template-editor-header>div:last-child>:has(.trash-confirm){flex-basis:100%;order:10}.template-editor .template-editor-header>div:last-child>:is(.share-control,.template-assemble){flex:1 1 0;order:3;justify-content:flex-end;width:auto;display:flex}.template-editor .template-editor-header>div:last-child>:is(.share-control,.template-assemble)>:not(dialog){flex:none;width:auto}}@media (max-width:1279px){.template-editor .template-editor-header{flex-wrap:wrap}.template-editor .template-editor-header>div:last-child{display:contents}.template-editor .template-editor-header>div:last-child>*{order:4}.template-editor .template-editor-header>.import-return{order:0}.template-editor .template-editor-header>div:last-child>:is(.share-control,.template-assemble){flex:none;order:2;width:auto}.template-editor .template-editor-header:after{content:"";flex-basis:100%;order:3;height:0}}.template-editor .template-device-switch{border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface);gap:0;padding:3px;display:flex}.template-editor .confirm-import:empty{display:none}.template-form-layout>.template-settings-panel{grid-column:-2/-1}.template-settings-title{letter-spacing:-.01em;margin:8px 0 12px;font-size:20px}.template-settings-fieldset{border:0;min-width:0;margin:0;padding:0}.template-settings-panel .designer-author-settings{gap:16px;margin:0;display:grid}.template-settings-block{box-sizing:border-box;border-radius:var(--radius-sheet);background:#fff8ee;border:1px solid #ecd6b4;gap:18px;min-width:0;padding:20px 24px 24px;display:grid}.template-settings-block>h2{letter-spacing:-.01em;justify-content:space-between;align-items:baseline;gap:12px;margin:0;font-size:20px;display:flex}.template-settings-block>h2>small{color:var(--muted);white-space:nowrap;font-size:14px;font-weight:400}.template-settings-block>label,.template-settings-block>details>label{color:#526279;gap:8px;font-size:13px;font-weight:600;display:grid}.template-settings-block textarea{resize:vertical}.template-material{border-top:1px solid var(--line);gap:6px;padding-top:14px;display:grid}.template-material:first-of-type{border-top:0;padding-top:0}.template-material>h3{margin:0;font-size:15px}.template-material .check-label+textarea{margin:4px 0 8px}.template-original-source{margin:0 0 16px}.template-original-source>summary{cursor:pointer;width:auto;list-style:none;display:inline-flex}.template-original-source>summary::-webkit-details-marker{display:none}.template-original-source[open]>summary{margin-bottom:12px}@media (max-width:700px){.template-settings-block{padding:16px}}.application:has(.template-dialogue-slot)>.main{margin-right:0}.template-conversation-workbench{flex-direction:column;gap:16px;max-width:760px;margin:0 auto;display:flex}.template-conversation-result{min-width:0;position:relative;container:template-result/inline-size}.template-form-layout{transition:opacity .25s}.template-conversation-result[data-assistant-busy] .template-form-layout{opacity:.55;cursor:not-allowed;transition:opacity .3s .5s}.template-assistant-busy{min-height:44px;color:var(--ink-3);align-items:center;margin-left:auto;font-size:13px;display:flex}.template-canvas-question[data-changed]{border-color:var(--brand);background:var(--brand-tint);animation:3.5s forwards template-changed}@keyframes template-changed{0%,70%{border-color:var(--brand);background:var(--brand-tint)}to{background:0 0;border-color:#0000}}@media (prefers-reduced-motion:reduce){.template-form-layout,.template-conversation-result[data-assistant-busy] .template-form-layout{transition:none}.template-canvas-question[data-changed]{animation:none}}.template-dialogue-slot{min-width:0}.template-dialogue-slot>.assistant-host{z-index:1;border:1px solid var(--line);border-radius:var(--radius-sheet);background:var(--surface);-webkit-backdrop-filter:none;width:100%;height:min(640px,100dvh - 260px);min-height:420px;max-height:none;box-shadow:none;margin:0;padding:0;position:relative;inset:auto;overflow:hidden}.template-editor[data-template-open] .template-conversation-workbench{grid-template-columns:var(--assistant-w) minmax(0,1fr);align-items:start;gap:24px;max-width:none;margin:0;display:grid}.template-editor[data-template-open] .template-dialogue-slot{position:sticky;top:12px}.template-editor[data-template-open] .template-dialogue-slot>.assistant-host{height:calc(100dvh - 140px);min-height:480px;box-shadow:var(--shadow-sheet);border-radius:24px}.template-editor[data-template-open] .template-conversation-workbench:has(.assistant-panel-collapsed){grid-template-columns:minmax(0,1fr)}.template-editor[data-template-open] .template-dialogue-slot:has(>.assistant-panel-collapsed){display:contents}.template-dialogue-slot>.assistant-host.assistant-panel-collapsed{display:none}.template-dialogue-slot .companion-panel>header{border-bottom:1px solid var(--line);background:0 0;min-height:64px;padding:12px 20px;display:flex}.template-dialogue-slot .companion-identity small{color:var(--ink-3);display:block}.template-dialogue-slot .companion-content{padding:24px 20px;display:block}.template-dialogue-slot .chat-bubble{box-shadow:none;font-size:14px}.template-dialogue-slot .chat-bubble-assistant{background:0 0;border:0;padding:0}.template-dialogue-slot .chat-bubble-user{background:var(--surface-sunk);color:var(--ink);border-radius:16px 16px 4px}.template-dialogue-slot .companion-panel>footer{border-top:1px solid var(--line);background:0 0;max-height:none;padding:16px;position:static;overflow:visible}.template-dialogue-slot .companion-dialogue-toggle{display:none}.template-dialogue-slot .assistant-composer{border-color:var(--line);box-shadow:none;border-radius:20px}.template-dialogue-slot .assistant-composer-actions{justify-content:flex-end}.template-dialogue-slot .assistant-composer :is(.companion-dictate,.assistant-talk){flex:none;min-height:40px;padding:8px 14px}.template-dialogue-slot .assistant-send{background:var(--signal);color:var(--ink)}.assistant-draft-files{margin:0 0 8px;padding:0;list-style:none}.assistant-draft-files li{overflow-wrap:anywhere;justify-content:space-between;align-items:center;gap:8px;font-size:13px;display:flex}.template-form-layout{grid-template-columns:minmax(0,1fr);align-items:start;gap:28px;display:grid}.template-form-layout[hidden]{display:none}.template-form-stage{min-width:0;container:template-stage/inline-size}.template-stage-saved{justify-content:center;margin-bottom:10px;display:flex}.template-editor .save-status{font-size:13px}.template-save-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-top:16px;display:flex}.template-save-row>.share-control{width:auto;margin-left:auto}.template-editor :is(.template-editor-header,.template-save-row) .share-toggle{border-radius:var(--radius-md);background:var(--signal);width:auto;min-height:44px;color:var(--ink);border:1px solid #a87a00;padding:8px 20px;font-size:15px;font-weight:600}.template-stage-toolbar{flex-wrap:wrap;justify-content:center;align-items:center;gap:12px;margin-bottom:14px;display:flex}.template-stage-toolbar h2{color:var(--ink-3);margin:0;font-size:13px;font-weight:600;line-height:1.4}.template-editor .template-device-switch button{min-height:38px;color:var(--ink);background:0 0;border:0;border-radius:9px;padding:0 14px;font-size:14px;font-weight:400}.template-editor .template-device-switch button[aria-pressed=true]{background:var(--brand-tint);font-weight:600}.template-editor .layout-fieldset{border:0;min-width:0;margin:0;padding:0}.template-editor .layout-fieldset[hidden]{display:none}.template-canvas-card{box-sizing:border-box;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-lg);max-width:720px;margin:0 auto;padding:24px;box-shadow:0 8px 28px #141a240f}.template-form-stage[data-empty] .template-canvas-card{min-height:50dvh}.template-editor .template-canvas-card .designer-form-heading{text-align:left;color:var(--ink);overflow-wrap:anywhere;margin:0 0 16px}.template-editor .template-canvas-card .designer-form-heading h2{margin:0;font-size:20px;line-height:1.25}.template-editor .template-canvas-card{position:relative}.template-editor .template-canvas-card[data-selected]{border-color:var(--brand);box-shadow:0 0 0 1px var(--brand), 0 8px 28px #141a240f}.template-editor .template-form-settings>.designer-settings-toggle{z-index:15;box-sizing:border-box;border:2px solid var(--brand);background:var(--surface);width:40px;height:38px;color:var(--ink);border-bottom:0;border-radius:10px 10px 0 0;top:auto;bottom:100%;right:14px}.template-editor .template-canvas-card:not([data-selected])>.template-form-settings>.designer-settings-toggle:not(:focus-visible){opacity:0;pointer-events:none}.template-editor .template-canvas-card .designer-form-heading p{color:var(--ink-3);margin:6px 0 0;font-size:14px}.template-editor .template-canvas-card .template-canvas-section{border:2px solid var(--line);border-radius:var(--radius-card);background:0 0;margin:0 0 16px;padding:12px}.template-editor .template-canvas-card .template-canvas-section:last-child{margin-bottom:0}.template-editor .template-canvas-card .template-canvas-section{cursor:pointer}.template-editor .template-canvas-section .designer-block-heading[data-untitled]{margin:0}.template-add-tile,.template-add-split{cursor:auto;min-width:0}.form-add-trigger{box-sizing:border-box;background:var(--surface-sunk);width:100%;min-height:56px;color:var(--ink-2);font:inherit;cursor:pointer;border:0;border-radius:0;justify-content:center;align-items:center;gap:8px;font-size:15px;font-weight:600;display:flex}.form-add-trigger:before{content:"+";font-size:20px;line-height:1}.form-add-trigger:hover,.form-add-trigger[aria-expanded=true]{color:var(--brand);background:var(--brand-tint)}.form-add-trigger:focus-visible{outline:2px solid var(--brand);outline-offset:-4px}.template-add-tile{border:2px dashed var(--line-strong);border-radius:var(--radius-card);overflow:hidden}.template-add-tile:has(>[aria-expanded=true]){border-color:var(--brand)}.template-add-tile>.form-add-trigger{min-height:88px}.template-add-split{border:2px dashed var(--line-strong);border-radius:var(--radius-card);grid-template-columns:1fr 1fr;margin-top:16px;display:grid;overflow:hidden}.template-add-split>.form-add-trigger+.form-add-trigger{border-left:2px dashed var(--line-strong)}.form-add-panel{z-index:5;box-sizing:border-box;background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow-sheet);color:var(--ink);border-radius:24px;flex-direction:column;display:flex;position:absolute;inset:0;overflow:hidden}:is(.form-add-panel[data-floating],.template-dialogue-slot:has(>.assistant-panel-collapsed)>.form-add-panel){z-index:1000;width:min(560px,100vw - 32px);height:min(760px,100dvh - 32px);position:fixed;inset:50% auto auto 50%;transform:translate(-50%,-50%)}.form-add-header{align-items:flex-start;gap:12px;padding:20px 20px 12px;display:flex}.form-add-header>div{flex:1;min-width:0}.form-add-header h2{margin:0;font-size:22px;line-height:1.2}.form-add-header p{color:var(--ink-3);margin:4px 0 0;font-size:14px}.form-add-close{border:1px solid var(--line);background:var(--surface);width:44px;height:44px;color:var(--ink);cursor:pointer;border-radius:12px;place-items:center;padding:0;display:grid}.form-add-search{border:1px solid var(--line-strong);min-height:46px;color:var(--ink-3);border-radius:12px;align-items:center;gap:10px;margin:0 20px 12px;padding:0 14px;display:flex}.form-add-search input,.form-add-search input:focus,.form-add-search input:focus-visible{min-width:0;min-height:0;box-shadow:none;font:inherit;color:var(--ink);background:0 0;border:0;outline:0;flex:1;padding:0;font-size:16px}.form-add-search:focus-within{border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-tint)}.form-add-list{border-top:1px solid var(--line);flex:1;padding:4px 20px 20px;overflow:auto}.form-add-section{margin-top:14px}.form-add-section h3{color:var(--ink-3);margin:0 0 4px;font-size:13px;font-weight:600}.form-add-divider{align-items:center;gap:12px;display:flex;margin-top:20px!important}.form-add-divider:before,.form-add-divider:after{content:"";background:var(--line);flex:1;height:1px}.form-add-options{gap:2px;display:grid}.form-add-option{min-height:40px;color:var(--ink);font:inherit;text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:10px;align-items:center;gap:12px;padding:0 12px;display:flex}.form-add-option>svg{flex:none}.form-add-option-name{flex:1;min-width:0;font-size:15px;font-weight:600}.form-add-option-hint{min-width:0;color:var(--ink-3);text-align:right;text-overflow:ellipsis;white-space:nowrap;flex:0 auto;font-size:13px;overflow:hidden}.form-add-option:hover,.form-add-option:focus-visible{border-color:var(--brand);background:var(--brand-tint);outline:0}.form-add-option:disabled{opacity:.55;cursor:progress}.form-add-ready .form-add-option>svg{color:var(--brand)}.form-add-panel[data-kind=group] .form-add-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.form-add-panel[data-kind=group] .form-add-option{border-color:var(--line);border-radius:14px;grid-template-columns:auto 1fr;align-content:start;gap:4px 12px;min-height:84px;padding:14px;display:grid}.form-add-panel[data-kind=group] .form-add-option>svg{grid-row:span 2}.form-add-panel[data-kind=group] .form-add-option-hint{white-space:normal;text-align:left;line-height:1.35}@media (max-width:520px){.form-add-panel[data-kind=group] .form-add-options{grid-template-columns:1fr}}.form-options-editor{border:0;gap:6px;min-width:0;margin:0;padding:0;display:grid}.form-options-editor>legend{padding:0 0 6px;font-size:13px;font-weight:600}.form-option-row{border-radius:12px;align-items:center;gap:6px;display:flex}.form-option-row[data-drop-target]{box-shadow:0 -3px 0 var(--brand)}.form-option-handle{cursor:grab;width:16px;height:44px;color:var(--line-strong);letter-spacing:-2px;-webkit-user-select:none;user-select:none;flex:none;place-items:center;font-size:20px;font-weight:700;line-height:1;display:grid}.form-option-handle:hover{color:var(--ink-2)}.form-option-handle:before{content:"⋮⋮"}.form-option-handle:active{cursor:grabbing}.template-editor .template-question-panel .form-options-editor .form-option-row>input{flex:1;min-width:0;min-height:44px;margin:0}.form-option-row>button{flex:none;place-items:center;width:40px;height:40px;margin:0;padding:0;display:grid}.form-options-editor>small{color:var(--ink-3);padding-left:22px}.form-option-add{border-style:dashed;justify-self:start;align-items:center;gap:6px;margin-left:22px;display:inline-flex}.form-display-switch{gap:6px;font-size:13px;font-weight:600;display:grid}.form-display-switch>div{background:var(--surface-sunk);border-radius:12px;flex-wrap:wrap;gap:4px;padding:4px;display:flex}.form-display-switch button{white-space:nowrap;min-height:40px;color:var(--ink);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:9px;flex:auto;padding:0 12px;font-size:14px;font-weight:500}.form-display-switch button[aria-pressed=true]{background:var(--surface);font-weight:600;box-shadow:0 1px 3px #141a2426}.template-editor .template-canvas-section .block-settings>.creator-settings-content>label.block-repeat{cursor:pointer;align-items:flex-start;gap:10px;display:flex}.template-editor .template-canvas-section .block-settings>.creator-settings-content>label.block-repeat>input{width:20px;height:20px;min-height:0;accent-color:var(--brand);flex:none;margin:1px 0 0;padding:0}.block-repeat>span{gap:2px;display:grid}.block-repeat strong{color:var(--ink);font-size:14px}.block-repeat small{color:var(--ink-3);font-size:13px;font-weight:400;line-height:1.35}.template-editor .template-canvas-card .template-canvas-section[data-loose]:not([data-selected]){border-color:#0000}.template-editor .template-canvas-card .template-canvas-section[data-selected]{border-color:var(--brand);box-shadow:0 6px 18px #3455dd1f}.template-editor .template-canvas-section .block-settings>.creator-settings-content{cursor:auto}.template-editor .template-canvas-card .template-canvas-section{position:relative}.template-editor .template-canvas-section .designer-block-heading{position:static}.template-editor .template-node-tools{z-index:15;border:2px solid var(--brand);background:var(--surface);border-bottom:0;border-radius:10px 10px 0 0;display:flex;position:absolute;bottom:100%;right:14px;overflow:hidden}.template-editor .template-node-tools>button{width:40px;height:36px;min-height:0;box-shadow:none;color:var(--ink);background:0 0;border:0;border-radius:0;place-items:center;padding:0;display:grid}.template-editor .template-node-tools>button+button{border-left:1px solid var(--line)}.template-editor .template-node-tools>button:hover:not(:disabled){background:var(--brand-tint);color:var(--brand-deep)}.template-editor .template-node-tools>button:disabled{color:var(--ink-3);opacity:1}.template-editor .template-node-tools>button:disabled>svg{opacity:.4}.template-editor .template-node-tools>.template-question-settings[aria-expanded=true]{background:var(--brand-tint);color:var(--brand-deep)}.template-editor .template-block-order{border-right:0;border-radius:10px 0 0;right:54px}.template-editor .template-canvas-section .designer-block-heading .designer-settings-toggle{z-index:15;box-sizing:border-box;border:2px solid var(--brand);border-bottom:0;border-left:1px solid var(--line);background:var(--surface);width:40px;height:38px;color:var(--ink);border-radius:0 10px 0 0;top:auto;bottom:100%;right:14px}.template-editor .template-canvas-section:not([data-selected])>.designer-block-heading :is(.template-block-order,.designer-settings-toggle):not(:focus-within,:focus-visible),.template-canvas-question:not([data-selected]) .template-node-tools:not(:focus-within){opacity:0;pointer-events:none}.template-canvas-question[data-dragging] .template-node-tools{display:none}.template-canvas-question[data-drop-target]{border-color:var(--line)}.template-add-tile[data-drop-target],.template-add-split>[data-drop-target]{border-color:var(--brand);background:var(--brand-tint)}.template-question-panel .order-step-buttons{display:none}.template-editor :is(.template-canvas-section .block-settings,.template-form-settings)>.creator-settings-content{z-index:20;box-sizing:border-box;border-radius:var(--radius-sheet);width:min(360px,100%);box-shadow:var(--shadow-sheet);background:#fff8ee;border:1px solid #ecd6b4;gap:12px;margin:0;padding:16px;display:grid;position:absolute;top:0;right:-2px}.template-editor :is(.template-canvas-section .block-settings,.template-form-settings)>.creator-settings-content>label{color:var(--ink-2);gap:6px;margin:0;font-size:13px;font-weight:600;display:grid}.template-editor :is(.template-canvas-section .block-settings,.template-form-settings)>.creator-settings-content>label>:is(input,textarea){box-sizing:border-box;resize:vertical;border:1px solid var(--line-strong);border-radius:var(--radius-md);background:var(--surface);width:100%;min-height:44px;color:var(--ink);font:inherit;margin:0;padding:10px 12px;font-size:15px;font-weight:400}.template-editor :is(.template-canvas-section .block-settings,.template-form-settings)>.creator-settings-content>label>:is(input,textarea):focus{border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-tint);outline:none}.template-editor :is(.template-canvas-section .block-settings,.template-form-settings) .designer-settings-actions{border-top:1px solid var(--line);justify-content:space-between;margin:0;padding-top:12px}.template-editor .template-canvas-section .designer-block-heading{margin:0 0 4px}.template-editor .template-canvas-section .designer-block-heading h3{min-height:44px;color:var(--ink);align-items:center;margin:0;padding-right:0;font-size:20px;font-weight:700;line-height:1.35;display:flex}.template-editor .template-canvas-fields{grid-template-columns:minmax(0,1fr)}.template-canvas-item{min-width:0;position:relative}.template-canvas-question{border-radius:var(--radius-card);cursor:pointer;border:2px solid #0000;padding:8px 8px 12px 12px;position:relative}.template-canvas-question:hover{border-color:var(--line)}.template-canvas-question[data-selected]{border-color:var(--brand);box-shadow:0 6px 18px #3455dd1f}.template-canvas-control{pointer-events:none;min-width:0}.template-canvas-control :disabled{opacity:1}.template-question-panel{z-index:20;box-sizing:border-box;border-radius:var(--radius-sheet);box-shadow:var(--shadow-sheet);cursor:auto;background:#fff8ee;border:1px solid #ecd6b4;margin:0;padding:14px;position:absolute;top:calc(100% + 8px);left:0;right:0}.template-question-panel>header{align-items:center;gap:8px;display:flex}.template-editor .template-question-panel>header h3{white-space:nowrap;margin:0 auto 0 0;font-size:15px;font-weight:600;line-height:1.3}.template-editor .template-question-panel-close{width:44px;height:44px;color:var(--ink);background:0 0;border:0;border-radius:10px;flex:none;place-items:center;margin:-8px -8px -8px 0;padding:0;display:grid}.template-editor .template-question-panel .schema-field{width:auto;box-shadow:none;background:0 0;border:0;grid-template-columns:minmax(0,1fr);gap:12px;margin:8px 0 0;padding:0;display:grid;position:static}.template-question-panel .schema-field label{margin:0;font-size:13px}.template-question-panel .constructor-field-additional>summary{cursor:pointer;min-height:44px;color:var(--ink-2);justify-content:space-between;align-items:center;font-size:13px;list-style:none;display:flex}.template-question-panel .constructor-field-additional>summary::-webkit-details-marker{display:none}.template-question-panel .constructor-field-additional[open]>summary>svg{transform:rotate(180deg)}.template-question-panel .constructor-field-additional>div{gap:12px;display:grid}.template-editor .template-question-panel .order-controls{margin-left:0}.template-question-panel .designer-settings-actions{border-top:1px solid var(--line);justify-content:space-between;margin:0;padding-top:6px}.template-phone-preview{box-sizing:border-box;border:8px solid var(--ink);background:var(--paper);border-radius:40px;width:372px;max-width:100%;height:650px;margin:0 auto;overflow:hidden}.template-phone-preview>.simple-form{overscroll-behavior:contain;box-sizing:border-box;height:100%;padding:18px 12px 24px;overflow-y:auto}.template-phone-preview .designer-form-heading{overflow-wrap:anywhere;margin:4px 4px 18px}.template-phone-preview .designer-form-heading h2{margin:0 0 8px;font-size:21px;line-height:27px}.template-phone-preview .designer-form-heading p{font-size:13px;line-height:19px}.template-phone-preview .simple-form .form-sheet{border-radius:14px;padding:16px 12px}.template-phone-preview .simple-form .form-sheet .form-section:not([data-loose]){border-radius:12px;margin:0 0 16px;padding:14px 12px}.template-phone-preview .simple-form .form-section h3{margin:0 0 14px;font-size:16px}.template-phone-preview .simple-form .fields{grid-template-columns:minmax(0,1fr);row-gap:16px}.template-phone-preview .simple-form .field-label{margin-bottom:6px;font-size:14px}.template-phone-preview .simple-form .field input,.template-phone-preview .simple-form .field select{height:42px}.template-pdf-view{min-width:0;max-width:960px;margin:0 auto}.template-pdf-view iframe.template-pdf-preview{box-sizing:border-box;border:1px solid var(--line);border-radius:var(--radius-card);background:var(--surface);width:100%;height:calc(100dvh - 200px);min-height:480px;margin:0;padding:0;display:block}@container template-result (max-width:500px){.template-canvas-card{padding:16px 12px}}@media (max-width:1279px){.template-editor[data-template-open] .template-conversation-workbench{grid-template-columns:minmax(0,1fr);gap:20px}.template-editor .template-editor-header{gap:10px 8px;margin-bottom:16px}.template-editor :is(.template-editor-header,.template-save-row) .share-toggle{padding:8px 14px}.template-editor .template-editor-header .section-tutorial-trigger{justify-content:center;width:44px;height:44px;padding:0}.template-editor .template-editor-header .section-tutorial-trigger>span{display:none}.template-form-layout{flex-direction:column;align-items:stretch;gap:16px;display:flex}.template-question-panel{max-width:480px}.template-editor .template-pdf-view .template-device-switch button{min-height:44px}}@media (max-width:767px){.template-editor{padding-bottom:calc(76px + env(safe-area-inset-bottom))}.template-question-panel{max-width:none;scroll-margin-bottom:calc(76px + env(safe-area-inset-bottom))}}.voice-setting{border:1px solid var(--line);background:var(--surface);border-radius:12px;gap:0;display:grid;overflow:hidden}.voice-setting-switch{width:100%;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:0;justify-content:space-between;align-items:center;gap:16px;padding:14px 16px;display:flex}.voice-setting-switch:hover{background:#faf9f6}.voice-setting-switch>span:first-child{gap:2px;display:grid}.voice-setting-switch strong{font-size:15px}.voice-setting-switch small{color:var(--ink-3);font-size:13px}.voice-setting-toggle{background:#c9c4b8;border-radius:13px;flex:none;width:44px;height:26px;transition:background .15s;position:relative}.voice-setting-toggle:after{content:"";background:#fff;border-radius:50%;width:20px;height:20px;transition:left .15s;position:absolute;top:3px;left:3px;box-shadow:0 1px 3px #0003}.voice-setting-switch[aria-checked=true] .voice-setting-toggle{background:var(--brand)}.voice-setting-switch[aria-checked=true] .voice-setting-toggle:after{left:21px}.voice-setting-minutes{border-top:1px solid var(--line);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px 16px;padding:12px 16px 14px;font-size:14px;display:grid}.voice-setting-minutes>small{color:var(--ink-3);grid-column:1/-1;font-size:13px}.voice-setting-stepper{border:1px solid var(--line-strong);border-radius:10px;align-items:center;display:inline-flex;overflow:hidden}.voice-setting-stepper button{background:var(--surface);width:36px;height:36px;color:var(--ink);cursor:pointer;border:0;border-radius:0;font-size:18px;line-height:1}.voice-setting-stepper button:hover:not(:disabled){background:var(--surface-sunk)}.voice-setting-stepper button:disabled{color:var(--line-strong);cursor:default}.voice-setting-stepper output{text-align:center;font-variant-numeric:tabular-nums;min-width:64px;font-weight:600}
