/* Shared configuration rhythm and writing-first editor surfaces. */
html body.settings-tabs.settings-editor-wide[data-settings-section=prompts] #pvbox,html body.settings-tabs.settings-editor-wide[data-settings-section=code] #pvbox{display:none!important}
@media(min-width:761px){html body.settings-tabs.settings-editor-wide[data-settings-section=prompts] .layout.resizable-columns,html body.settings-tabs.settings-editor-wide[data-settings-section=code] .layout.resizable-columns,html body.settings-tabs.settings-editor-wide[data-settings-section=prompts] .layout,html body.settings-tabs.settings-editor-wide[data-settings-section=code] .layout{grid-template-columns:152px minmax(0,1fr)!important}}
html body.settings-tabs #sec-prompts details.selected-editor{padding:16px!important}html body.settings-tabs #sec-prompts details.selected-editor .sbody{padding:0!important}html body.settings-tabs #sec-prompts details.selected-editor textarea{font:14px/1.6 ui-monospace,monospace!important;min-height:200px!important;width:100%!important;padding:16px!important}
html body.settings-tabs.settings-editor-wide #sec-code .inline-editor details.helper.selected-editor{padding:12px!important}html body.settings-tabs.settings-editor-wide #sec-code .inline-editor details.helper.selected-editor>summary{padding:4px 0 12px!important}html body.settings-tabs.settings-editor-wide #sec-code .inline-editor details.helper.selected-editor>textarea{min-height:160px!important;width:100%!important;padding:12px!important}html body.settings-tabs #sec-code .connector-key-label input{flex:1 0 100%!important;max-width:100%!important;width:100%!important;font-size:13px!important}
html body.settings-tabs>.card>h1,html body.settings-tabs.simple>.card>h1{text-align:left!important;font:600 28px/1.2 system-ui,sans-serif!important;margin:0 0 8px!important}html body.settings-tabs>.card>.lead,html body.settings-tabs.simple>.card>.lead{text-align:left!important;margin:0 0 16px!important}
html body.settings-tabs .modebar{margin:16px 0!important}html body.settings-tabs .settings-studio-actions{margin:12px 0!important}.settings-studio-actions .app-builder-open{background:transparent!important;border:1px solid #bac9bf!important;color:#173f35!important}
html body.settings-tabs .category-tabs [aria-selected=true]{font-weight:700!important;box-shadow:inset 0 -3px #173f35!important}html body.settings-tabs #menu a{min-height:44px!important;border-radius:8px!important}html body.settings-tabs #menu a.on{background:#eef3ea!important;color:#173f35!important;font-weight:700!important}
html body.settings-tabs .source-key-card,html body.settings-tabs .tile{border-radius:12px!important}html body.settings-tabs .source-key-card{padding:16px!important;margin:12px 0!important;border:1px solid #d5ded6!important;background:#fff!important}.source-key-card summary{min-height:44px}.source-key-card p,.source-key-card small{line-height:1.5}
html body.settings-tabs #seg button[data-p]{min-height:48px!important;border-radius:10px!important}html body.settings-tabs #seg button.on{outline:2px solid #173f35!important;outline-offset:2px}html body.settings-tabs input[type=range]{min-height:32px!important}
html body.settings-tabs .tile .head b{font-family:system-ui,sans-serif!important}html body.settings-tabs #pvbox{border:0!important;padding:0!important}html body.settings-tabs #pvbox iframe{border:1px solid #cdd8cf!important;box-shadow:none!important}html body.settings-tabs .settings-help .settings-help-head h3{font:600 22px/1.2 system-ui,sans-serif!important}
html body.settings-tabs .settings-help #settingsHelpQuestion{min-height:120px!important}html body.settings-tabs :is(button,a,input,textarea,select,summary):focus-visible{outline:2px solid #173f35!important;outline-offset:3px}html body.settings-tabs .settings-active-panel:focus{outline:none!important}
@media(min-width:1101px){html body.settings-tabs .layout.resizable-columns{grid-template-columns:152px minmax(360px,1fr) minmax(300px,32%)!important;gap:24px!important}}
@media(max-width:760px){html body.settings-tabs #menu .mobile-section-label,html body.settings-tabs #menu #mobileSection{display:block!important}html body.settings-tabs #menu .section-tabs{display:none!important}html body.settings-tabs .settings-active-panel{scroll-margin-top:144px!important}}
html body.settings-tabs.settings-editor-wide #sec-code .inline-editor details.helper.selected-editor{border:0!important;background:transparent!important;padding:0!important;box-shadow:none!important}html body.settings-tabs.settings-editor-wide #sec-code .inline-editor details.helper.selected-editor>textarea{font:15px/1.5 system-ui,sans-serif!important;min-height:180px!important;background:#fff!important;border:1px solid #bac9bf!important}#sec-code details.inner{border:0!important;border-top:1px solid #d5ded6!important;border-radius:0!important;padding:12px 0!important}#sec-code h4{margin:24px 0 12px}#sec-code .cmhost:not(.filled){height:100px!important;min-height:100px!important}#sec-code .cmhost.filled{min-height:220px!important;max-height:560px;overflow:auto}#sec-code .keyrow button{min-height:44px!important}#sec-code .review:empty{display:none}
.source-key-card[data-state=missing] .source-key-badge{background:#fff4de;color:#684715}.source-key-card[data-state=disabled] .source-key-badge{background:#f0f2ee;color:#526650}.source-key-card[data-state=untested] .source-key-badge{background:#eef3e8;color:#315442}
html body.settings-tabs #sec-prompts .workspace-fields textarea{min-height:88px!important;max-height:400px;resize:vertical}
html body.settings-tabs .loaded-app,html body.settings-tabs.simple .loaded-app{display:block!important;margin:12px 0!important;padding:12px 16px!important}html body.settings-tabs .loaded-app>summary{min-height:44px;display:list-item}
html body.settings-tabs .two:has(#sname){grid-template-columns:1fr 1fr!important;gap:24px!important}html body.settings-tabs .two:has(#sname)>.sub{display:flex!important;flex-direction:column;gap:8px!important;padding:16px!important;margin:0!important}html body.settings-tabs #sname{min-height:44px!important;width:100%!important}html body.settings-tabs #states+.cs-btn,html body.settings-tabs #states~.cs-btn{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}html body.settings-tabs .cs:has(#states){width:100%!important;min-width:0!important}html body.settings-tabs .cs:has(#states) .cs-label{white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis}html body.settings-tabs #presets .preset[aria-pressed=true]{outline:2px solid #173f35;outline-offset:2px}html body.settings-tabs .look-transfer{display:flex;gap:12px;padding:12px 0}html body.settings-tabs .look-danger{margin-top:16px;padding-top:16px;border-top:1px solid #d5ded6}html body.settings-tabs .look-more>summary{min-height:44px;padding:12px 0}html body.settings-tabs .logoctl{gap:12px!important}html body.settings-tabs .logobox{padding:12px!important}.field>label,.field .flabel{display:flex;align-items:center;gap:8px}
html body.settings-tabs #settingsNavTop{position:sticky;top:0!important}html body.settings-tabs .settings-active-panel{scroll-margin-top:144px!important}html body.settings-tabs :is(input,textarea,select,button,summary){scroll-margin-top:160px}
@media(max-width:760px){html body.settings-tabs .two:has(#sname){grid-template-columns:1fr!important}html body.settings-tabs #states~.cs-btn{max-width:100%!important}html body.settings-tabs #pvbox{grid-row:3!important;margin:16px 0!important}}
html body.settings-tabs #f-font+.cs-btn,html body.settings-tabs #f-heading_font+.cs-btn{min-height:44px}.cs-list{overscroll-behavior:contain}html body.settings-tabs .cs-list{max-height:var(--picker-height,300px)!important;overflow-y:auto!important}.cs-opt{min-height:44px}.cs:has(select[data-fonts]) .cs-opt{height:48px}html body.settings-tabs .colorrow input[type=text]{width:112px!important;min-width:112px!important}html body.settings-tabs input[aria-invalid=true]{border-color:#9d312e!important;outline-color:#9d312e!important}html body.settings-tabs .field:has(.colorrow){display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:8px 16px!important}.field:has(.colorrow)>.flabel{grid-column:1;grid-row:1}.field:has(.colorrow)>.h{grid-column:1;grid-row:2}.field:has(.colorrow)>.colorrow{grid-column:2;grid-row:1/3}
@media(max-width:480px){html body.settings-tabs .field:has(.colorrow){grid-template-columns:1fr!important}.field:has(.colorrow)>.colorrow{grid-column:1;grid-row:3}}
.shape-shortcuts,.background-shortcuts{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.background-shortcuts button{min-height:64px!important}.background-shortcuts button:nth-child(2){background:linear-gradient(120deg,#f8f4e9,#e4eddd)!important}.color-edit-note{margin:12px 0 24px!important}.custom-font-status{margin:16px 0!important}
html body.settings-tabs .cs.open .cs-list,html body.settings-tabs .cs.closing .cs-list,html body.settings-tabs .cs.up .cs-list{position:fixed!important;top:auto;bottom:auto!important;z-index:1000!important;max-height:var(--picker-height,300px)!important;overflow:auto!important}html body.settings-tabs .cs.open{z-index:1000!important}.cs-label{white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis}
html body.settings-tabs #sec-emoji .emoji-control{display:flex;align-items:center;gap:8px}html body.settings-tabs #sec-emoji .emoji-tile{width:48px!important;height:48px!important;min-height:48px!important;font-size:25px!important;border-radius:10px!important}html body.settings-tabs #sec-emoji .field{padding:12px 0!important;border-bottom:1px solid #e0e6df}
.sidebar-shortcuts{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.sidebar-shortcuts [aria-pressed=true]{outline:2px solid #173f35;outline-offset:2px}.sidebar-shortcuts button{min-height:64px!important}.budget-section-title{margin:24px 0 12px}.freshness-state{font-weight:600}
.sidebar-shortcuts button{display:flex;flex-direction:column;align-items:center;gap:8px;flex:1 1 100px}.sidebar-diagram{width:84px;height:48px;border:1px solid #aabbb0;border-radius:6px;display:flex;padding:4px;gap:4px;background:#fffdf7}.sidebar-diagram i{display:block;width:22%;height:100%;background:#d1ded4;border-radius:2px}.sidebar-diagram>span{flex:1;display:block;height:100%;background:#eff3eb;border-radius:2px}.sidebar-diagram.right{flex-direction:row-reverse}.sidebar-diagram.hidden i{display:none}.chat-width-shortcuts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0}.chat-width-shortcuts button{white-space:normal;text-align:left}.chat-width-shortcuts button small{display:block;font-weight:400;font-size:12px;line-height:1.5;margin-top:6px}.chat-width-shortcuts [aria-pressed=true]{outline:2px solid #173f35;outline-offset:2px}
html body.settings-tabs #sec-code #codeEditor{padding:0!important;border:0!important;box-shadow:none!important;background:transparent!important}html body.settings-tabs #sec-code #codeEditor details.helper.selected-editor{display:block!important;padding:0!important;margin:0!important;background:transparent!important;border:0!important;width:100%!important}html body.settings-tabs #sec-code #codeEditor details.helper.selected-editor>textarea,html body.settings-tabs #sec-code #codeEditor details.helper.selected-editor>h4,html body.settings-tabs #sec-code #codeEditor details.helper.selected-editor>p,html body.settings-tabs #sec-code #codeEditor details.helper.selected-editor>label,html body.settings-tabs #sec-code #codeEditor details.helper.selected-editor>summary{margin-left:0!important;margin-right:0!important;width:100%!important;box-sizing:border-box}html body.settings-tabs #sec-code #codeEditor details.helper.selected-editor>textarea{font:15px/1.5 system-ui,sans-serif!important;padding:12px!important;min-height:156px!important;background:#fff!important}html body.settings-tabs #sec-code #codeEditor summary{display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left!important;padding:12px 0!important}html body.settings-tabs #sec-code #codeEditor summary small{font-weight:400;text-align:left!important}html body.settings-tabs #sec-code #codeEditor summary b{font-weight:600;text-align:left!important}html body.settings-tabs #sec-code .keyrow{margin:8px 0!important;width:100%!important;box-sizing:border-box}html body.settings-tabs #sec-code #codeEditor .keyrow input{min-width:0;max-width:100%}html body.settings-tabs #sec-code .connector-key-label input{background:#fff!important;border:1px solid #b8c8bd!important;box-shadow:none!important}
html body.settings-tabs #sec-code #codeEditor details.helper.selected-editor>summary{justify-content:flex-start!important;align-items:flex-start!important}html body.settings-tabs #sec-code #codeEditor summary>b{flex:1;text-align:left!important}html body.settings-tabs #sec-code #codeEditor summary::after{margin-left:auto}

.shape-shortcuts [aria-pressed=true],.background-shortcuts [aria-pressed=true]{outline:2px solid #173f35;outline-offset:2px}
/* Search results must sit above the following sticky section navigation. */
html body.settings-tabs .settings-search:has(.settings-search-results:not([hidden])){z-index:200}html body.settings-tabs .settings-search-results{z-index:210;max-height:min(360px,50dvh)}
html body.settings-tabs #sec-code #codeEditor details.helper.selected-editor>textarea.code{font:14px/1.6 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace!important;min-height:240px!important}
html body.settings-tabs #lead,html body.settings-tabs.simple #lead,html body.settings-tabs #modehelp{display:block!important}html body.settings-tabs .modebar,html body.settings-tabs.simple .modebar{display:grid!important;grid-template-columns:240px minmax(0,1fr) auto!important;gap:12px!important}html body.settings-tabs #cfgmode [aria-checked=true]{background:#173f35!important;color:#fffdf7!important}html body.settings-tabs #cfgmode{width:240px!important}html body.settings-tabs .modebar .preview-toggle{grid-column:3;grid-row:1}html body.settings-tabs #modehelp{grid-column:2;grid-row:1}html body.settings-tabs #cfgmode button{padding:0 12px!important}@media(max-width:760px){html body.settings-tabs .modebar,html body.settings-tabs.simple .modebar{grid-template-columns:minmax(0,1fr)!important;min-height:0!important}html body.settings-tabs #cfgmode{grid-column:1;grid-row:1;width:100%!important}html body.settings-tabs #modehelp{grid-column:1;grid-row:2;min-height:0!important}html body.settings-tabs .modebar .preview-toggle{grid-column:1;grid-row:3;justify-self:start}html body.settings-tabs>.card>h1,html body.settings-tabs.simple>.card>h1{font-size:25px!important}}
html body.settings-tabs.simple #loadedApp,html body.settings-tabs.simple #loadedApp>summary{display:block!important}html body.settings-tabs.simple #loadedApp>summary{display:list-item!important}
html body.settings-tabs .settings-utilities{margin:16px 0;padding:16px 0;border-top:1px solid #d6dfd3;border-bottom:1px solid #d6dfd3}html body.settings-tabs .settings-utilities .settings-studio-actions{margin:0 0 12px!important}html body.settings-tabs .settings-utilities .settings-search{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;margin:0!important;gap:8px!important}html body.settings-tabs .settings-utilities .settings-search>label{grid-column:1/-1;grid-row:1;margin:0!important}html body.settings-tabs .settings-utilities #settingsFind{grid-column:1!important;grid-row:2!important;min-height:44px!important;margin:0!important}html body.settings-tabs .settings-utilities .settings-help-open{grid-column:2!important;grid-row:2!important;min-height:44px!important;margin:0!important;align-self:stretch}html body.settings-tabs .settings-utilities .settings-search-results,html body.settings-tabs .settings-utilities .settings-search-status{grid-column:1/-1!important;grid-row:auto!important}
html body.settings-tabs :is(#saveLook,#apply,#saveBudget){background:#173f35!important;color:#fffdf7!important;border:1px solid #173f35!important;box-shadow:none!important;min-height:44px!important;font-weight:600!important}html body.settings-tabs .secfoot button{min-height:44px!important;border:1px solid #bac9bf!important;background:transparent!important;color:#173f35!important}
/* Start the settings card and preview toolbar on the same desktop row. */
@media(min-width:1101px){html body.settings-tabs:not(.simple) #col{padding-top:0!important}html body.settings-tabs:not(.simple) .col>.settings-active-panel,html body.settings-tabs:not(.simple) #look>.settings-active-panel{padding-top:0!important;margin-top:0!important}html body.settings-tabs .layout{align-items:start!important}}
html body.settings-tabs .memory-graph small,html body.settings-tabs .memory-graph .memory-label,html body.settings-tabs .memory-thresholds span{font-size:12px!important;line-height:1.5}html body.settings-tabs .memory-thresholds{display:flex;flex-wrap:wrap;gap:0}html body.settings-tabs .memory-thresholds span{flex:1 1 100px;padding:8px!important}
html body.settings-tabs .provider-test-scope{flex:1 0 100%;margin:8px 0!important;font-size:12px;line-height:1.5}

html body.settings-tabs .settings-utilities .settings-search{grid-template-columns:minmax(0,1fr) 44px auto!important}
html body.settings-tabs .settings-utilities .settings-search .settings-find-clear{grid-column:2!important;grid-row:2!important;width:44px;min-height:44px;padding:0;border:1px solid #c7d3c9;border-radius:8px;background:#fffdf7;color:#173f35;font:24px/1 system-ui;cursor:pointer;transition:opacity .14s ease}
html body.settings-tabs .settings-utilities .settings-search .settings-find-clear:disabled{visibility:hidden;pointer-events:none}
html body.settings-tabs .settings-utilities .settings-search .settings-help-open{grid-column:3!important}
.settings-search-results.results-arrived{animation:settings-results-arrive .16s ease-out}@keyframes settings-results-arrive{from{opacity:0}to{opacity:1}}
@media(prefers-reduced-motion:reduce){.settings-search-results.results-arrived{animation:none!important}.settings-find-clear{transition:none!important}}html[data-motion=none] .settings-search-results.results-arrived{animation:none!important}
#settingsFind::-webkit-search-cancel-button{display:none;-webkit-appearance:none}
.settings-search-results[data-result-state=empty]{padding:14px;font-size:13px;color:#53665b}
html body.settings-tabs .settings-utilities .settings-search{grid-template-columns:minmax(0,1fr) auto!important}
html body.settings-tabs .settings-utilities .settings-search #settingsFind{padding-right:54px!important}
html body.settings-tabs .settings-utilities .settings-search .settings-find-clear{grid-column:1!important;grid-row:2!important;justify-self:end;margin-right:2px;width:44px;border:0;background:transparent;z-index:1}
html body.settings-tabs .settings-utilities .settings-search .settings-help-open{grid-column:2!important}

.settings-search-highlight{animation:settings-search-target 1.4s ease-out}@keyframes settings-search-target{from{background-color:#eef3ea}to{background-color:transparent}}
@media(prefers-reduced-motion:reduce){.settings-search-highlight{animation:none!important;background:#eef3ea!important}}html[data-motion=none] .settings-search-highlight{animation:none!important;background:#eef3ea!important}
html body.settings-tabs #sec-model .keyrow:has(#modelPick){display:flex;flex-wrap:wrap;align-items:start}
html body.settings-tabs #sec-model .cs:has(#modelPick){flex:1 1 220px;min-width:0}
html body.settings-tabs #sec-model .cs:has(#modelPick) .cs-btn{height:auto!important;min-height:44px;padding:10px 12px!important}
html body.settings-tabs #sec-model .cs:has(#modelPick) .cs-label{white-space:normal!important;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}
.settings-studio-actions .app-builder-drafts{appearance:none;min-height:44px;padding:10px 14px;border:1px solid #bac9bf;border-radius:12px;background:transparent;color:#173f35;font:600 13px system-ui;cursor:pointer;flex-shrink:0}.settings-studio-actions .app-builder-drafts:focus-visible{outline:3px solid #416544;outline-offset:3px}

.builder-example-choices{margin:8px 0 20px;border:0;background:transparent}.builder-example-choices>summary{cursor:pointer;font-size:13px}.builder-example-choices>div{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}dialog.app-builder .builder-example-choices button{min-height:44px;padding:10px 12px;border:1px solid #bac9bf;border-radius:10px;background:transparent;box-shadow:none;color:#173f35}
html body.settings-tabs .memory-graph{scroll-margin-top:144px}

.memory-legend{display:flex;flex-wrap:wrap;gap:4px 16px;margin:0 0 12px;font-size:12px;line-height:1.5}.memory-total>div{min-width:0;overflow:hidden}
/* Layout choices keep their geometry; only the selected surface changes. */
.sidebar-shortcuts button,.chat-width-shortcuts button{transition:background-color 160ms ease-out,border-color 160ms ease-out!important;transform:none!important}
.sidebar-shortcuts button:hover,.chat-width-shortcuts button:hover{border-color:#78917d!important;transform:none!important}
.sidebar-shortcuts button[aria-pressed=true],.chat-width-shortcuts button[aria-pressed=true]{background:#edf2e8!important}
@media(prefers-reduced-motion:reduce){.sidebar-shortcuts button,.chat-width-shortcuts button{transition:none!important}}
html[data-motion=none] .sidebar-shortcuts button,html[data-motion=none] .chat-width-shortcuts button{transition:none!important}
html body.settings-tabs .sidebar-shortcuts button[aria-pressed=true],html body.settings-tabs .chat-width-shortcuts button[aria-pressed=true]{background:#edf2e8!important}

html body.settings-tabs #seg button[data-p]{transition:background-color 160ms ease-out,border-color 160ms ease-out!important;transform:none!important;min-height:48px!important}
html body.settings-tabs #seg button[data-p]:hover{border-color:#78917d!important;transform:none!important}
#seg .provider-name{flex:1;text-align:left;min-width:0}
#seg .provider-selected{display:inline-block;width:14px;flex:0 0 14px;opacity:0;transition:opacity 160ms ease-out}
#seg [aria-checked=true] .provider-selected{opacity:1}
.connection-status-icon{display:inline-block;min-width:16px;text-align:center;margin-right:6px}
#testconn{min-width:142px}
@media(prefers-reduced-motion:reduce){html body.settings-tabs #seg button[data-p],#seg .provider-selected{transition:none!important}}
html[data-motion=none] body.settings-tabs #seg button[data-p],html[data-motion=none] #seg .provider-selected{transition:none!important}
@media(max-width:760px){#pvcloud .cpick{display:grid;grid-template-columns:26px minmax(0,1fr);align-items:start;gap:8px 10px}#pvcloud .cpick>.plogo,#pvcloud .cpick>.pm{grid-column:1;grid-row:1;margin-top:3px}#pvcloud .cpick>.cpt{grid-column:2;grid-row:1}#pvcloud .cpick>button{grid-column:2;grid-row:2;justify-self:end}#pvcloud .cloud-selection-status{min-height:36px}}

html body.settings-tabs .preset{position:relative;transition:background-color 160ms ease-out,border-color 160ms ease-out!important;transform:none!important}
html body.settings-tabs .preset:hover{border-color:#78917d!important;transform:none!important}
html body.settings-tabs .preset.selected{background:#edf2e8!important;border-color:#78917d!important}
.preset-selected{position:absolute;right:8px;top:8px;opacity:0;transition:opacity 160ms ease-out}
.preset.selected .preset-selected{opacity:1}
@media(prefers-reduced-motion:reduce){html body.settings-tabs .preset,.preset-selected{transition:none!important}}
html[data-motion=none] body.settings-tabs .preset,html[data-motion=none] .preset-selected{transition:none!important}
html body.settings-tabs #settingsFind{transition:box-shadow 160ms ease-out,border-color 160ms ease-out!important}
html body.settings-tabs #settingsFind:focus-visible{border-color:#648967!important;box-shadow:0 0 0 3px #64896733!important;outline:2px solid #648967;outline-offset:2px}
html body.settings-tabs .colorrow input[type=color]{transition:background-color 160ms ease-out,border-color 160ms ease-out!important;transform:none!important}
html body.settings-tabs .colorrow input[type=color]:hover{border-color:#78917d!important;transform:none!important}
@media(prefers-reduced-motion:reduce){html body.settings-tabs #settingsFind,html body.settings-tabs .colorrow input[type=color]{transition:none!important}}
html[data-motion=none] body.settings-tabs #settingsFind,html[data-motion=none] body.settings-tabs .colorrow input[type=color]{transition:none!important}
/* Optional response matching uses the same content width as its connector. */
html body.settings-tabs #sec-code #codeEditor details.helper.selected-editor>details.inner{margin-inline:0!important;width:100%!important;box-sizing:border-box}
html body.settings-tabs #sec-code #codeEditor details.helper.selected-editor>details.inner>.sbody{padding-inline:0!important;margin-inline:0!important;width:100%!important;box-sizing:border-box}
html body.settings-tabs #sec-code #codeEditor details.inner textarea.code{width:100%!important;box-sizing:border-box;min-height:180px!important;max-height:440px;font:14px/1.6 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace!important}
/* Logo help belongs to the title row, not a second centered line. */
html body.settings-tabs #sec-wording .field:has(>.logobox)>.flabel{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;text-align:left!important;gap:6px!important}
html body.settings-tabs #sec-wording .field:has(>.logobox)>.flabel .info-tip{margin:0!important}
/* Prompt and code editors have no preview surface or preview controls. */
html body.settings-tabs:is([data-settings-section=prompts],[data-settings-section=code]) :is(.preview-toggle,#pvfab){display:none!important}
/* At high browser zoom, keep an editor and its caret below the sticky navigation. */
@media(max-height:420px){html body.settings-tabs.settings-editor-wide :is(#sec-prompts,#sec-code) :is(#promptsEditor,#codeEditor,.workspace-fields) :is(textarea,.cmhost.filled){min-height:64px!important;max-height:calc(100dvh - 144px)!important;overflow:auto!important}}
@media(max-height:420px){html body.settings-tabs.settings-editor-wide #sec-code #codeEditor details.helper.selected-editor>textarea,html body.settings-tabs.settings-editor-wide #sec-code #codeEditor details.inner textarea.code{min-height:64px!important;max-height:calc(100dvh - 144px)!important;overflow:auto!important}}
@media(max-height:420px) and (max-width:600px){html body.settings-tabs :is(input,textarea,select,button,summary){scroll-margin-top:110px!important}}
@media(max-height:420px){html body.settings-tabs #nerdDrop{min-height:64px!important;max-height:calc(100dvh - 144px)!important;overflow:auto;padding:8px!important;scroll-margin-top:110px}}
