/* The question is the visual focus; configuration stays in a single quiet tray. */
body.home-scenes.v4-organized #form.v18-search{display:block!important;position:relative!important;box-sizing:border-box!important;padding:22px!important;margin:0!important;border:1px solid #dce3d3!important;border-top:1px solid #dce3d3!important;border-radius:26px!important;background:#fffef9!important;box-shadow:0 14px 45px #284b2f08!important;overflow:visible!important}
#form.v18-search .v18-composer-heading{display:flex;align-items:center;gap:8px;padding:0 2px;margin-bottom:12px;color:#759169}#form.v18-search .v18-composer-heading>svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6}#form.v18-search .v18-composer-title{font:500 17px/1.6 SiteUI,system-ui!important;color:#6a835e!important;margin:0!important}
body.home-scenes.v4-organized #form.v18-search .searchrow{display:block!important;position:relative!important;background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;border-radius:0!important;margin:0!important;gap:0!important;min-height:0!important}
body.home-scenes.v4-organized #form.v18-search .query-shell{display:flex!important;flex-direction:column!important;align-items:stretch!important;position:relative!important;box-sizing:border-box!important;width:100%!important;min-width:0!important;min-height:188px!important;height:auto!important;padding:0!important;overflow:visible!important;background:linear-gradient(125deg,#f2f7ed,#fbfcf5)!important;border:1.5px solid #a8c09c!important;border-radius:22px!important;box-shadow:0 6px 25px #345b3810,inset 0 1px #fff!important;transition:border-color .2s,box-shadow .2s}
body.home-scenes.v4-organized #form.v18-search .query-shell:focus-within{border-color:#5e986b!important;box-shadow:0 0 0 4px #82a97316,0 9px 30px #315b3710!important}
body.home-scenes.v4-organized #form.v18-search .query-shell #query{position:relative!important;display:block!important;box-sizing:border-box!important;flex:none!important;width:100%!important;max-width:100%!important;min-height:132px!important;height:132px!important;max-height:280px!important;border:0!important;border-radius:22px 22px 0 0!important;background:transparent!important;box-shadow:none!important;outline:0!important;padding:22px 24px 14px!important;margin:0!important;font:400 25px/1.75 SiteUI,system-ui!important;color:#315c43!important;resize:none!important;overflow-y:auto!important;text-align:right!important}
body.home-scenes.v4-organized #form.v18-search .typing-hint{position:absolute!important;inset:22px 24px auto!important;display:block!important;box-sizing:border-box!important;max-width:calc(100% - 48px)!important;padding:0!important;margin:0!important;min-height:0!important;max-height:96px!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;font:400 25px/1.75 SiteUI,system-ui!important;color:#7e9b78!important;text-align:right!important;pointer-events:none!important;text-wrap:pretty}
#form.v18-search .typing-hint[hidden]{display:none!important}#form.v18-search .typing-hint>span{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;display:inline!important}#form.v18-search .typing-hint>i{display:inline-block!important;height:24px;vertical-align:middle!important;margin-inline-start:3px!important}
#form.v18-search .v4-query-clear{top:10px!important;inset-inline-end:10px!important;bottom:auto!important;right:auto!important;left:10px!important;width:25px!important;height:25px!important;padding:0!important;min-height:25px!important;font-size:18px!important;opacity:.75!important}#form.v18-search:has(.v4-query-clear:not([hidden])) .query-shell #query{padding-inline-end:40px!important}
#form.v18-search .v18-composer-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;position:relative;border-top:1px solid #b6caab55;margin:0 17px;padding:11px 0!important;min-width:0}#form.v18-search .v18-submit-actions{display:flex;align-items:center;gap:6px;flex:none}
body.home-scenes.v4-organized #form.v18-search :is(#search,#cancel-search){display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:9px!important;width:auto!important;min-width:108px!important;height:47px!important;min-height:47px!important;padding:9px 18px!important;margin:0!important;border-radius:14px!important;box-shadow:0 5px 15px #2e624526!important;font:500 17px/1.5 SiteUI,system-ui!important;background:linear-gradient(115deg,#2d654c,#3f7953)!important;color:#fff!important;border:1px solid #346c4b!important;white-space:nowrap!important;flex:none!important}
#form.v18-search #search svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8}body.home-scenes.v4-organized #form.v18-search #cancel-search{background:#fff3eb!important;border-color:#dbb29b!important;color:#9f634b!important;box-shadow:none!important}body.home-scenes.v4-organized #form.v18-search :is(#search,#cancel-search)[hidden]{display:none!important}
#form.v18-search .v18-search-options{position:static!important;min-width:0;flex:1;border:0!important;background:transparent!important;padding:0!important;margin:0!important}#form.v18-search .v18-search-options>summary{display:flex!important;align-items:center;flex-wrap:wrap;gap:5px 8px;list-style:none;cursor:pointer;color:#76906c;font:400 13px/1.6 SiteUI,system-ui!important;padding:4px 0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;min-width:0}#form.v18-search .v18-search-options>summary:after{content:none!important}#form.v18-search .v18-search-options>summary svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.7;flex:none}#form.v18-search .v18-search-options small{max-width:180px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font:400 12px/1.5 SiteUI,system-ui;color:#9aa38e;border-inline-start:1px solid #ccd7c1;padding-inline-start:8px}
.v18-settings-panel{box-sizing:border-box!important;padding:16px!important;border:1px solid #d4dfc9!important;border-radius:20px!important;background:#fffef9!important;box-shadow:0 16px 55px #223c2829!important;direction:rtl;color:#4a6948}.v18-settings-panel[hidden]{display:none!important}.v18-settings-panel>h3{font:500 14px/1.7 SiteUI,system-ui!important;margin:0 0 9px!important;color:#7c8e6e}.v18-settings-panel>h3:not(:first-child){margin-top:18px!important;padding-top:13px;border-top:1px solid #e5eadd}.v18-settings-panel .search-kind-field{position:static!important;display:block!important;width:100%!important;max-width:none!important;padding:0!important;margin:0!important;background:transparent!important;border:0!important;box-shadow:none!important}.v18-settings-panel .mode-segments{display:flex!important;width:100%!important;padding:4px!important;background:#edf3e6!important;border:1px solid #d7e1cd!important;border-radius:13px!important;box-shadow:none!important}.v18-settings-panel .mode-segments button{flex:1!important;min-width:0!important;padding:9px 8px!important;min-height:40px!important;border-radius:9px!important;font:400 14px/1.5 SiteUI,system-ui!important;white-space:normal!important;box-shadow:none!important}.v18-settings-panel .mode-segments svg{width:18px!important;height:18px!important}.v18-settings-panel .mode-segments button[aria-pressed=true]{background:#fffef9!important;color:#315c43!important;box-shadow:0 2px 7px #244d2920!important}.v18-settings-panel .model-control-strip{position:static!important;display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:8px!important;width:100%!important;max-width:100%!important;padding:9px!important;border:1px solid #e0e6d6!important;border-radius:13px!important;background:#f6f8f1!important;box-shadow:none!important;margin:0!important;transform:none!important}.v18-settings-panel :is(.v10-engine-switch,.engine-bar){position:static!important;display:flex!important;flex-wrap:wrap!important;gap:6px!important;margin:0!important;padding:0!important;min-width:0!important}.v18-settings-panel :is(.v10-local-engine,.v10-provider-add,.v4-key-trigger){font-size:13px!important;min-height:36px!important;height:auto!important;padding:7px 10px!important;box-shadow:none!important}.v18-settings-panel .connection-guide-banner{margin:14px 0 0!important;padding:12px!important;border-radius:12px!important}.v18-settings-panel .v4-guide-intro>span{display:none}.v18-settings-panel .v4-guide-intro strong{font-size:14px!important}.v18-settings-panel .v4-key-steps{grid-template-columns:1fr!important;gap:6px!important}.v18-settings-panel .v4-key-step{min-height:48px!important;padding:7px!important;gap:8px!important}.v18-settings-panel .v4-key-step img{width:44px!important;height:30px!important}.v18-settings-panel .v4-key-step strong{font-size:13px!important}.v18-settings-panel .v4-key-step small{font-size:11px!important}.v18-settings-panel .v4-key-help{font-size:12px!important}
body.home-scenes.v4-organized #form.v18-search .suggestion-integrated{padding:0!important;margin:14px 0 0!important;border:0!important}#form.v18-search .suggestion-heading{display:flex!important;justify-content:space-between;align-items:center!important;gap:8px!important;margin:0 0 8px!important;padding:0!important}#form.v18-search .suggestion-heading h3{font:400 13px/1.5 SiteUI,system-ui!important;color:#92a084!important;margin:0!important}#form.v18-search .v4-history-toggle{font-size:12px!important;min-height:26px!important;padding:3px 0!important;background:transparent!important;border:0!important;color:#8e9d80!important;box-shadow:none!important}#form.v18-search .examples{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr)) 42px!important;gap:7px!important;margin:0!important;padding:0!important;width:100%!important}body.home-scenes.v4-organized #form.v18-search .examples button{box-sizing:border-box!important;min-width:0!important;min-height:43px!important;height:auto!important;padding:9px 12px!important;margin:0!important;border:1px solid #e1e6d8!important;border-radius:12px!important;background:#f8faf4!important;color:#6a8260!important;font:400 13px/1.6 SiteUI,system-ui!important;text-align:right!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;display:flex!important;align-items:center!important;box-shadow:none!important}#form.v18-search .examples button[hidden]{display:none!important}#form.v18-search .examples .v18-rotate-questions{display:grid!important;place-items:center!important;padding:9px!important;background:transparent!important}#form.v18-search .v18-rotate-questions svg{width:21px;height:21px;fill:none;stroke:#8c9c7d;stroke-width:1.5}
#form.v18-search .v18-range-details{padding:0!important;margin:12px 0 0!important;border:0!important;border-top:1px solid #edf0e7!important;border-radius:0!important;background:transparent!important}#form.v18-search .v18-range-details>summary{display:flex;align-items:center;justify-content:flex-start;gap:8px;list-style:none;padding:11px 0 0;color:#93a186;font:400 12px/1.5 SiteUI,system-ui;cursor:pointer}#form.v18-search .v18-range-details>summary svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.6;margin-inline-start:auto}.v18-range-state{color:#7d956c}body.home-scenes.v4-organized #form.v18-search .precision-control{padding:12px 0 0!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important}#form.v18-search .precision-control :is(label,output){font-size:12px!important}#form.v18-search .precision-control .v5-witness-heading{margin-bottom:8px!important}#form.v18-search .precision-control :is(.precision-ends,#precision-help){font-size:12px!important;line-height:1.65!important;margin-block:7px!important}#form.v18-search #precision-help>span{display:block!important;font-size:12px!important;margin:0!important}#form.v18-search .search-customization>summary{font-size:12px!important;padding:4px 8px!important;border:0!important;background:transparent!important;box-shadow:none!important}#form.v18-search .search-customization>summary svg{width:16px!important;height:16px!important}#form.v18-search .v6-range-track{margin-block:6px!important}
body.home-scenes.v4-organized #form.v18-search .v18-install-ribbon{display:grid!important;grid-template-columns:32px minmax(0,1fr) auto 22px!important;align-items:center!important;gap:10px!important;width:100%!important;box-sizing:border-box!important;margin:14px 0 0!important;padding:12px 0 0!important;border:0!important;border-top:1px solid #edf0e7!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;min-height:0!important}#form.v18-search .v18-install-ribbon>img{width:32px!important;height:32px!important;max-width:32px!important;object-fit:contain;border-radius:9px!important}#form.v18-search .v18-install-ribbon .install-banner-copy{min-width:0!important;display:block!important}#form.v18-search .v18-install-ribbon strong{font:400 13px/1.5 SiteUI,system-ui!important;color:#8b9a7c!important;margin:0!important}#form.v18-search .v18-install-ribbon p{font:400 11px/1.5 SiteUI,system-ui!important;color:#a0aa94!important;margin:2px 0 0!important}#form.v18-search .v18-install-ribbon [data-install]{padding:6px 8px!important;min-height:32px!important;height:auto!important;min-width:0!important;gap:5px!important;font:400 12px/1.5 SiteUI,system-ui!important;background:transparent!important;color:#7d956e!important;border:1px solid #e0e7d7!important;border-radius:9px!important;box-shadow:none!important;white-space:nowrap!important}#form.v18-search .v18-install-ribbon [data-install] svg{width:17px!important;height:17px!important}#form.v18-search .v18-install-ribbon .install-dismiss{position:static!important;display:grid!important;place-items:center!important;width:22px!important;height:22px!important;min-height:22px!important;padding:0!important;background:transparent!important;border:0!important;font:18px/1 SiteUI!important;color:#a8b39a!important}#form.v18-search .install-banner-copy>a{display:none!important}
@media(max-width:650px){body.home-scenes.v4-organized #form.v18-search{padding:16px!important;border-radius:23px!important}#form.v18-search .v18-composer-heading{margin-bottom:10px!important}#form.v18-search .v18-composer-title{font-size:15px!important}body.home-scenes.v4-organized #form.v18-search .query-shell{min-height:173px!important;border-radius:19px!important}body.home-scenes.v4-organized #form.v18-search .query-shell #query{font-size:21px!important;line-height:1.7!important;min-height:108px!important;height:108px!important;padding:17px 16px 10px!important}body.home-scenes.v4-organized #form.v18-search .typing-hint{font-size:21px!important;line-height:1.7!important;inset:17px 16px auto!important;max-width:calc(100% - 32px)!important;max-height:76px!important}.v18-composer-actions{margin-inline:12px!important;gap:8px!important}body.home-scenes.v4-organized #form.v18-search :is(#search,#cancel-search){min-width:86px!important;height:43px!important;min-height:43px!important;padding:8px 13px!important;font-size:16px!important;border-radius:12px!important}#form.v18-search .v18-search-options>summary{font-size:11px!important;gap:3px 5px!important}#form.v18-search .v18-search-options small{max-width:100px;font-size:10px!important;padding-inline-start:5px!important}#form.v18-search .v18-search-options>summary>span{flex-basis:100%}#form.v18-search .v18-search-options>summary>svg{width:13px;height:13px}#form.v18-search .examples{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px!important}body.home-scenes.v4-organized #form.v18-search .examples [data-example][data-mobile-suggestion=hide]{display:none!important}#form.v18-search .examples [data-example][data-mobile-suggestion=show]:first-child{grid-column:1/-1!important}#form.v18-search .examples [data-example][data-mobile-suggestion=show]:not(:first-child){grid-column:span 3!important}body.home-scenes.v4-organized #form.v18-search .examples [data-example]{min-height:44px!important;padding:9px 11px!important;font-size:13px!important;line-height:1.65!important}#form.v18-search .examples .v18-rotate-questions{grid-column:span 1!important;min-height:44px!important}#form.v18-search .suggestion-heading h3{font-size:12px!important}#form.v18-search .v4-history-toggle{font-size:11px!important}#form.v18-search .v18-install-ribbon{gap:7px!important;grid-template-columns:28px minmax(0,1fr) 31px 20px!important}#form.v18-search .v18-install-ribbon>img{width:28px!important;height:28px!important}#form.v18-search .v18-install-ribbon strong{font-size:12px!important}#form.v18-search .v18-install-ribbon p{font-size:10px!important}#form.v18-search .v18-install-ribbon [data-install]{font-size:0!important;padding:6px!important;width:31px!important;height:31px!important}#form.v18-search .v18-install-ribbon [data-install] span{font-size:0!important}#form.v18-search .v18-install-ribbon [data-install] svg{width:17px!important;height:17px!important}.v18-settings-panel .model-control-strip{padding:7px!important}.v18-settings-panel :is(.v10-local-engine,.v10-provider-add,.v4-key-trigger){font-size:12px!important;padding:6px 8px!important}}
@media(prefers-reduced-motion:no-preference){#form.v18-search #search{transition:transform .18s,box-shadow .18s!important}#form.v18-search #search:hover{transform:translateY(-1px);box-shadow:0 7px 18px #2e624533!important}#form.v18-search #search:active{transform:scale(.97)}}
body.home-scenes.v4-organized .v9-search-folded #form.v18-search{display:none!important}
body.home-scenes.v4-organized #form.v18-search .examples [data-example]:nth-child(n+4){display:none!important}
#form.v18-search .examples .v18-rotate-questions{grid-column:4!important;grid-row:1!important}
@media(max-width:650px){body.home-scenes.v4-organized #form.v18-search .examples [data-example]:nth-child(n+3){display:none!important}body.home-scenes.v4-organized #form.v18-search .examples [data-example]:first-child{grid-column:1/-1!important}body.home-scenes.v4-organized #form.v18-search .examples [data-example]:nth-child(2){display:flex!important;grid-column:span 3!important}#form.v18-search .examples .v18-rotate-questions{grid-column:4!important;grid-row:2!important}}
body.home-scenes.v4-organized #form.v18-search .v18-install-ribbon>*{grid-area:auto!important;grid-row:1!important}
body.home-scenes.v4-organized #form.v18-search .v18-install-ribbon[hidden]{display:none!important}
body.home-scenes.v4-organized #form.v18-search .typing-hint[hidden],body.home-scenes.v4-organized #form.v18-search .query-shell:has(#query:not(:placeholder-shown)) .typing-hint{display:none!important;visibility:hidden!important}
.v18-settings-panel .v10-provider-add{position:relative!important;display:grid!important;grid-template-columns:minmax(0,1fr) 16px!important;align-items:center!important;column-gap:6px!important;row-gap:3px!important;min-width:130px!important;max-width:220px!important;min-height:48px!important;height:auto!important;padding:9px 12px!important;margin:0!important;line-height:1.45!important;transform:none!important}
.v18-settings-panel .v10-provider-add :is(.v12-provider-title,.v12-provider-model,.v12-model-chevron){position:static!important;inset:auto!important;transform:none!important;display:block!important;margin:0!important;padding:0!important;line-height:1.45!important;max-width:100%!important;white-space:normal!important;overflow-wrap:anywhere!important}
.v18-settings-panel .v12-provider-title{grid-column:1!important;grid-row:1!important;font:400 14px/1.45 SiteUI!important}.v18-settings-panel .v12-provider-model{grid-column:1!important;grid-row:2!important;font:400 12px/1.45 SiteUI!important}.v18-settings-panel .v12-model-chevron{grid-column:2!important;grid-row:1/span 2!important;font-size:16px!important}
#model-dialog.v4-settings-dialog{box-sizing:border-box!important;margin:0!important;max-width:calc(100vw - 24px)!important;max-height:calc(100dvh - 24px)!important;overflow:auto!important;z-index:2147483647!important}#model-dialog::backdrop{background:#2d493b30;backdrop-filter:blur(3px)}
@media(prefers-reduced-motion:no-preference){#form.v18-search .v18-composer-heading>svg{transform-origin:center;animation:search-spark-breathe 6s ease-in-out infinite}#form.v18-search #search:hover svg,#form.v18-search #search:focus-visible svg{animation:search-glass .65s ease-in-out}.v18-settings-panel .mode-segments button svg{transition:transform .3s}.v18-settings-panel .mode-segments button:hover svg,.v18-settings-panel .mode-segments button:focus-visible svg{transform:rotate(-12deg) scale(1.12)}#form.v18-search .v18-search-options>summary:hover>svg{transform:translateY(2px);transition:transform .2s}@keyframes search-spark-breathe{0%,75%,100%{transform:scale(1) rotate(0);opacity:.7}85%{transform:scale(1.2) rotate(12deg);opacity:1}}@keyframes search-glass{0%,100%{transform:none}40%{transform:translate(-2px,-2px) rotate(-12deg)}70%{transform:translate(2px,1px)}}}
#form.v18-search .v18-search-options small,.v18-settings-panel .v12-provider-model,.v18-settings-panel .v12-provider-title{direction:ltr;unicode-bidi:isolate}
.v18-settings-panel .model-control-strip{display:grid!important;grid-template-columns:76px minmax(0,1fr) auto!important;align-items:stretch!important;gap:0!important;padding:0!important;border:1px solid #d6e1cc!important;border-radius:14px!important;overflow:hidden!important;background:#f5f8ef!important}.v18-settings-panel .v10-engine-switch{display:contents!important}.v18-settings-panel .v10-provider-add{min-width:0!important;width:100%!important;max-width:none!important;border:0!important;border-inline:1px solid #d7e1cc!important;border-radius:0!important;background:transparent!important;min-height:60px!important}.v18-settings-panel .v10-local-engine{height:100%!important;min-height:60px!important;width:100%!important;border:0!important;border-radius:0!important;background:transparent!important}.v18-settings-panel .v4-key-trigger{grid-column:3!important;grid-row:1!important;display:flex!important;align-items:center;justify-content:center;gap:7px;padding:10px!important;max-width:150px;white-space:normal;line-height:1.6!important;border:0!important;border-radius:0!important;background:#faf6e7!important;color:#8f7840!important}.v18-settings-panel .v4-key-trigger svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;flex:none}.v22-service-state{grid-column:1/-1;display:block;text-align:center;font:12px/1.5 SiteUI;color:#9a956f;padding:6px;border-top:1px solid #e1e6d6}.v22-service-state[data-connected=true]{color:#5f875c}.v22-activation-banner{display:flex;align-items:center;gap:8px;width:100%;box-sizing:border-box;padding:11px 13px;margin:0 0 12px;border:1px solid #ded7b9;border-radius:13px;background:#faf7e9;color:#8c7949;font:14px/1.6 SiteUI;text-align:start;box-shadow:none}.v22-activation-banner>svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;flex:none}.v22-activation-banner>small{margin-inline-start:auto;font-size:12px;color:#9b987e}.v22-activation-banner[hidden]{display:none!important}#form.v18-search.is-searching .search-progress-inline{margin-top:14px!important;gap:12px!important;align-items:center!important}#form.v18-search.is-searching #search-progress{padding:12px 0 0!important;margin-top:0!important}#form.v18-search.is-searching .query-shell{margin-bottom:12px!important}@media(max-width:650px){.v18-settings-panel .model-control-strip{grid-template-columns:60px minmax(0,1fr) 104px!important}.v18-settings-panel .v4-key-trigger{font-size:12px!important}.v22-activation-banner{flex-wrap:wrap;font-size:13px}.v22-activation-banner>small{display:none}}
.v18-settings-panel .model-control-strip>.engine-bar,.v18-settings-panel .v10-engine-switch{display:contents!important}.v18-settings-panel .v10-local-engine{grid-column:1!important;grid-row:1!important;display:flex!important;align-items:center;justify-content:center;min-height:66px!important}.v18-settings-panel .v10-provider-add{grid-column:2!important;grid-row:1!important;min-height:66px!important}.v18-settings-panel .model-connection-state{display:none!important}.v18-settings-panel .v4-key-trigger{display:grid!important;grid-template-columns:18px minmax(0,1fr)!important;gap:3px 6px!important;align-content:center!important;min-height:66px!important}.v18-settings-panel .v4-key-trigger .v22-service-state{grid-column:1/-1!important;padding:0!important;border:0!important;font-size:11px!important;background:none!important}.v18-settings-panel .v4-key-trigger>span:not(.v22-service-state){font-size:12px!important}
.v18-settings-panel .v4-key-trigger{width:100%!important;max-width:none!important;height:auto!important;min-width:0!important;overflow:visible!important}.v18-settings-panel .v4-key-trigger>span{display:block!important;position:static!important;inset:auto!important;opacity:1!important;visibility:visible!important;transform:none!important;clip:auto!important;font-size:12px!important;line-height:1.6!important;white-space:normal!important}
/* The connection panel owns its layout, independent of the form's old banner styles. */
html body #search-settings-panel .v24-service-strip{display:grid!important;grid-template-columns:74px minmax(0,1fr) 154px!important;gap:0!important;border:1px solid #cddfd3!important;border-radius:16px!important;background:#f2f7f1!important;overflow:hidden!important;padding:0!important;box-shadow:none!important}
html body #search-settings-panel .v24-service-strip :is(.engine-bar,.v10-engine-switch){display:contents!important}
html body #search-settings-panel .v24-service-strip :is(.model-connection-state,.v4-external-provider,.v4-external-provider-label){display:none!important}
html body #search-settings-panel .v24-service-strip .v10-local-engine{grid-area:1/1/2/2!important;display:grid!important;place-items:center!important;min-height:70px!important;height:70px!important;width:100%!important;box-sizing:border-box!important;border:0!important;border-radius:0!important;margin:0!important;padding:10px!important;background:#eaf2e7!important;color:#56734e!important;font:16px SiteUI!important}
html body #search-settings-panel .v24-service-strip .v10-provider-add{grid-area:1/2/2/3!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;width:100%!important;min-width:0!important;max-width:none!important;height:70px!important;min-height:70px!important;box-sizing:border-box!important;margin:0!important;padding:8px 12px!important;background:transparent!important;border:0!important;border-inline:1px solid #d7e4d8!important;border-radius:0!important;box-shadow:none!important;color:#355e47!important}
html body #search-settings-panel .v24-service-strip .v12-provider-title{font:500 16px/1.4 SiteUI!important;white-space:normal!important}
html body #search-settings-panel .v24-service-strip .v12-provider-model{font:12px/1.4 SiteUI!important;color:#789078!important;white-space:normal!important;overflow:visible!important}
html body #search-settings-panel .v24-service-strip .v12-model-chevron{display:none!important}
html body #search-settings-panel .v24-service-strip .v4-key-trigger{grid-area:1/3/2/4!important;display:grid!important;grid-template-columns:22px minmax(0,1fr)!important;grid-template-rows:auto auto!important;align-content:center!important;justify-items:start!important;gap:1px 8px!important;min-width:0!important;width:100%!important;max-width:none!important;height:70px!important;min-height:70px!important;box-sizing:border-box!important;padding:10px 13px!important;border:0!important;border-radius:0!important;margin:0!important;background:#edf6f2!important;color:#356d5c!important;white-space:normal!important;overflow:visible!important;box-shadow:none!important}
html body #search-settings-panel .v24-service-strip .v4-key-trigger>svg{grid-area:1/1/3/2!important;width:21px!important;height:21px!important;align-self:center!important}
html body #search-settings-panel .v24-service-strip .v4-key-trigger>span:not(.v22-service-state){grid-area:1/2!important;display:block!important;font:13px/1.5 SiteUI!important}
html body #search-settings-panel .v24-service-strip .v4-key-trigger>.v22-service-state{grid-area:2/2!important;display:block!important;width:auto!important;padding:0!important;margin:0!important;border:0!important;text-align:start!important;font:11px/1.5 SiteUI!important;color:#7f9485!important}
html body #search-settings-panel .v24-service-strip .v4-key-trigger>.v22-service-state[data-connected=true]{color:#32785b!important}
html body.v4-organized #key-dialog{width:min(760px,calc(100vw - 28px))!important;max-width:calc(100vw - 28px)!important;max-height:calc(100dvh - 28px)!important;box-sizing:border-box!important;padding:0!important;border:1px solid #cedecf!important;border-radius:24px!important;background:#fffefa!important;color:#355e46!important;overflow:auto!important}
html body.v4-organized #key-dialog::backdrop{background:#17362c60!important;backdrop-filter:blur(8px)}
html body.v4-organized #key-dialog .v4-dialog-head{position:sticky!important;top:0!important;z-index:3!important;background:#fffefaee!important;backdrop-filter:blur(12px);padding:18px 24px!important;border-bottom:1px solid #e0e8da!important;gap:16px!important}
html body.v4-organized #key-dialog .v4-dialog-head h2{font:500 22px/1.5 SiteUI!important;margin:0!important}
html body.v4-organized #key-dialog .v4-dialog-close{display:grid!important;place-items:center!important;width:34px!important;height:34px!important;min-height:34px!important;min-width:34px!important;border:1px solid #d9e3d4!important;border-radius:11px!important;background:#f0f5eb!important;color:#5c7657!important;font:24px/1 SiteUI!important;padding:0!important}
html body.v4-organized #key-dialog .v4-dialog-body{display:flex!important;flex-direction:column!important;gap:20px!important;padding:24px!important;min-width:0!important}
html body.v4-organized #key-dialog #api-settings{margin:0!important;padding:0!important;background:none!important;border:0!important;width:100%!important}
html body.v4-organized #key-dialog #api-settings .api-fields{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important;margin:0!important}
html body.v4-organized #key-dialog :is(.v4-key-field,.api-fields label){min-width:0!important;width:100%!important;font:14px/1.7 SiteUI!important;color:#627b5e!important}
html body.v4-organized #key-dialog #api-key{width:100%!important;height:52px!important;min-height:52px!important;padding:12px 16px!important;box-sizing:border-box!important;border:1px solid #cdddc6!important;border-radius:12px!important;background:#f7faf2!important;color:#355943!important;font:16px SiteUI!important;direction:ltr!important;text-align:left!important}
html body.v4-organized #key-dialog .row{display:flex!important;flex-wrap:wrap!important;gap:10px!important;margin-top:12px!important}
html body.v4-organized #key-dialog :is(.v4-paste-key,#api-connect){flex:1!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:9px!important;min-width:100px!important;min-height:46px!important;border:1px solid #bcd8c7!important;border-radius:12px!important;padding:11px 16px!important;background:#37684f!important;color:#fffefa!important;font:15px SiteUI!important;box-shadow:none!important}
html body.v4-organized #key-dialog #api-connect{background:#eff5e9!important;color:#54704b!important;border-color:#dce6d0!important}
html body.v4-organized #key-dialog button:disabled{opacity:.55!important}
html body.v4-organized #key-dialog .v4-get-key{display:flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;background:#edf5f0!important;color:#35694e!important;padding:14px 18px!important;border:1px solid #cee0d4!important;border-radius:13px!important;font:15px/1.6 SiteUI!important;text-decoration:none!important;margin:0!important}
html body.v4-organized #key-dialog .v11-key-services{margin:0 24px!important;padding:12px 0!important;border:0!important;border-bottom:1px solid #e1e9d9!important;border-radius:0!important;background:none!important}
html body.v4-organized #key-dialog .v11-key-services>summary{font:14px SiteUI!important;color:#7b8d72!important}
html body.v4-organized #key-dialog .remember{font:13px SiteUI!important;color:#74866e!important;margin-top:14px!important}
html body.v4-organized #key-dialog .v24-connect-guide{display:block!important;position:relative!important;width:100%!important;box-sizing:border-box!important;min-width:0!important;margin:0!important;padding:20px!important;border:1px solid #d6e3d8!important;border-radius:18px!important;background:linear-gradient(140deg,#f2f7ed,#edf7f4)!important;box-shadow:none!important;color:#406348!important;overflow:visible!important}
html body.v4-organized #key-dialog .v24-connect-guide .v4-guide-intro{display:flex!important;flex-wrap:wrap!important;align-items:baseline!important;justify-content:space-between!important;gap:5px 12px!important;margin:0 0 16px!important;padding:0!important}
html body.v4-organized #key-dialog .v24-connect-guide .v4-guide-intro strong{font:500 17px/1.6 SiteUI!important;color:#355f47!important}
html body.v4-organized #key-dialog .v24-connect-guide .v4-guide-intro>span{font:12px/1.7 SiteUI!important;color:#7a8f76!important}
html body.v4-organized #key-dialog .v24-connect-guide .v4-key-steps{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;width:100%!important;min-width:0!important}
html body.v4-organized #key-dialog .v24-connect-guide .v4-key-step{display:flex!important;flex-direction:column!important;align-items:flex-start!important;text-align:start!important;gap:12px!important;min-width:0!important;width:100%!important;height:auto!important;min-height:0!important;box-sizing:border-box!important;margin:0!important;padding:15px!important;border:1px solid #d9e5d8!important;border-radius:14px!important;background:#ffffffb8!important;color:#45694f!important;box-shadow:none!important;text-decoration:none!important;position:relative!important;overflow:visible!important}
html body.v4-organized #key-dialog .v24-connect-guide .v4-key-step>img{width:100%!important;height:86px!important;max-width:none!important;object-fit:contain!important;flex:none!important;margin:0!important}
html body.v4-organized #key-dialog .v24-connect-guide .v4-key-step>span{display:block!important;min-width:0!important;width:100%!important;flex:1!important}
html body.v4-organized #key-dialog .v24-connect-guide .v4-key-step strong{display:block!important;font:500 14px/1.7 SiteUI!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important}
html body.v4-organized #key-dialog .v24-connect-guide .v4-key-step small{display:block!important;margin-top:4px!important;font:12px/1.7 SiteUI!important;color:#7c9177!important;white-space:normal!important}
html body.v4-organized #key-dialog .v24-connect-guide .v4-key-step>svg{width:16px!important;height:16px!important;stroke:currentColor!important;fill:none!important;align-self:flex-end!important;flex:none!important}
html body.v4-organized #key-dialog .v24-connect-guide .v4-key-help{display:block!important;width:fit-content!important;margin:14px auto 0!important;font:13px/1.7 SiteUI!important;color:#557e61!important;text-decoration:underline!important;text-underline-offset:4px!important}
html body #form .v24-activation-banner{display:flex!important;align-items:center!important;gap:13px!important;position:relative!important;isolation:isolate;overflow:hidden!important;padding:16px 20px!important;border:1px solid #c4ded0!important;border-radius:18px!important;background:linear-gradient(115deg,#edf8f5,#e7f1e5 65%,#f9fcf6)!important;color:#376b53!important;box-shadow:0 6px 24px #234b3508!important;min-height:66px!important;text-align:start!important;font:15px/1.6 SiteUI!important}
html body #form .v24-activation-banner:before{content:'';position:absolute;width:150px;height:150px;inset-inline-start:-35px;top:-62px;z-index:-1;border:1px solid #8bb49a35;border-radius:50%;box-shadow:0 0 0 15px #8bb49a0b,0 0 0 32px #8bb49a09}
html body #form .v24-activation-banner>svg:first-child{width:28px!important;height:28px!important;padding:9px!important;box-sizing:content-box!important;border:1px solid #bad7c5;border-radius:15px;background:#ffffffaa;stroke:#4d896b!important}
html body #form .v24-activation-banner>small{display:block!important;margin-inline-start:auto!important;padding:6px 10px!important;border-radius:9px!important;background:#ffffff99!important;color:#5b826a!important;font:12px/1.5 SiteUI!important;white-space:nowrap!important}
html body #form .v24-activation-banner>svg:last-child{width:16px!important;height:16px!important;rotate:90deg;flex:none!important}
html body #form .v24-activation-banner[hidden]{display:none!important}
@media(max-width:650px){html body #search-settings-panel .v24-service-strip{grid-template-columns:56px minmax(0,1fr) 118px!important}html body #search-settings-panel .v24-service-strip .v4-key-trigger{padding:9px!important;gap:1px 5px!important;grid-template-columns:19px minmax(0,1fr)!important}html body #search-settings-panel .v24-service-strip .v4-key-trigger>span:not(.v22-service-state){font-size:12px!important}html body #search-settings-panel .v24-service-strip .v10-provider-add{padding:7px!important}html body #search-settings-panel .v24-service-strip .v12-provider-title{font-size:15px!important}html body.v4-organized #key-dialog .v4-dialog-head{padding:14px 16px!important}html body.v4-organized #key-dialog .v4-dialog-body{padding:16px!important;gap:16px!important}html body.v4-organized #key-dialog .v11-key-services{margin-inline:16px!important}html body.v4-organized #key-dialog .v24-connect-guide{padding:15px!important}html body.v4-organized #key-dialog .v24-connect-guide .v4-key-steps{grid-template-columns:minmax(0,1fr)!important;gap:8px!important}html body.v4-organized #key-dialog .v24-connect-guide .v4-key-step{display:grid!important;grid-template-columns:60px minmax(0,1fr) 16px!important;align-items:center!important;gap:10px!important;padding:12px!important}html body.v4-organized #key-dialog .v24-connect-guide .v4-key-step>img{width:60px!important;height:48px!important}html body.v4-organized #key-dialog .v24-connect-guide .v4-key-step>svg{align-self:center!important}html body.v4-organized #key-dialog .v24-connect-guide .v4-key-step strong{font-size:13px!important}html body.v4-organized #key-dialog .v24-connect-guide .v4-key-step small{font-size:11px!important}html body #form .v24-activation-banner{display:grid!important;grid-template-columns:42px minmax(0,1fr) 16px!important;gap:0 11px!important;padding:13px 15px!important;min-height:76px!important;font-size:14px!important}html body #form .v24-activation-banner>svg:first-child{grid-area:1/1/3/2!important;width:24px!important;height:24px!important;padding:8px!important}html body #form .v24-activation-banner>span{grid-area:1/2!important}html body #form .v24-activation-banner>small{grid-area:2/2!important;justify-self:start!important;background:none!important;padding:0!important;margin:0!important;font-size:11px!important}html body #form .v24-activation-banner>svg:last-child{grid-area:1/3/3/4!important}}
/* Intentional micro-motion: invitation, lens, plus, and completed search seal. */
html body .v9-new-search .v24-new-search-lens{width:24px!important;height:24px!important;fill:none;stroke:currentColor;stroke-width:1.6;overflow:visible}
html body .v9-new-search .v24-new-search-add{display:grid!important;place-items:center!important;width:29px!important;height:29px!important;border:1px solid #cdddc6;border-radius:50%;background:#fbfdf7;color:#8a9c6a;flex:none}
html body .v9-new-search .v24-new-search-add svg{width:15px!important;height:15px!important;padding:0!important;background:none!important;border:0!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8;transition:rotate .35s cubic-bezier(.2,.8,.3,1)}
html body #result-status .result-complete-icon:has(svg){display:grid!important;place-items:center!important;background:#e8f2e8!important;border:1px solid #c4dbc7!important;color:#3c7558!important;box-shadow:none!important}
html body #result-status .result-complete-icon:has(svg) svg{width:30px!important;height:30px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.7;overflow:visible}
html body #result-status .result-complete-icon:has(svg) svg circle{opacity:.35}
html body #result-status .result-complete-icon:has(svg) svg path{stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:24;stroke-dashoffset:0}
@media(prefers-reduced-motion:no-preference){html body #form .v24-activation-banner>svg:first-child{animation:v24-spark 7s ease-in-out infinite}html body #form .v24-activation-banner:hover>svg:first-child{animation:v24-invite .65s ease both}html body .v9-new-search:hover .v24-new-search-lens{animation:v24-lens .65s ease both}html body .v9-new-search:hover .v24-new-search-add svg{rotate:90deg}html body .v9-new-search:active .v24-new-search-add{scale:.9}html body #result-status .result-complete-icon:has(svg) svg path{animation:v24-check .6s .12s ease both}html body #result-status .result-complete-icon:has(svg) svg{animation:v24-seal .5s ease both}html body #result-status .result-complete-icon:has(svg):hover svg path{animation:v24-check .6s ease both}@keyframes v24-spark{0%,78%,100%{rotate:0deg;scale:1}86%{rotate:12deg;scale:1.08}93%{rotate:-7deg}}@keyframes v24-invite{40%{rotate:16deg;scale:1.12}70%{rotate:-8deg}100%{rotate:0deg;scale:1}}@keyframes v24-lens{35%{transform:translate(-2px,-2px) rotate(-12deg)}70%{transform:translate(1px,1px) rotate(6deg)}100%{transform:none}}@keyframes v24-check{from{stroke-dashoffset:24}to{stroke-dashoffset:0}}@keyframes v24-seal{0%{transform:scale(.75);opacity:0}70%{transform:scale(1.08)}100%{transform:scale(1);opacity:1}}}

html body.v4-organized #key-dialog .remember{display:flex!important;align-items:center!important;justify-content:flex-start!important;flex-wrap:wrap!important;width:100%!important;max-width:none!important;min-width:0!important;gap:7px!important;box-sizing:border-box!important}html body.v4-organized #key-dialog .remember input{flex:none!important;width:16px!important;height:16px!important;margin:0!important}html body.v4-organized #key-dialog .remember .api-key-save-state{width:auto!important;max-width:none!important;margin-inline-start:auto!important;font:11px/1.6 SiteUI!important;color:#83967b!important;white-space:nowrap!important}
html body #form .v24-activation-banner{background:linear-gradient(115deg,#f2f9f6,#f1f6ed 65%,#fafcf7)!important}
/* Equal, readable service choices; emphasis follows the actual selected engine. */
html body #search-settings-panel.v18-settings-panel .v24-service-strip{grid-template-columns:minmax(110px,1fr) minmax(140px,1.3fr) minmax(110px,.9fr)!important;gap:6px!important;border:0!important;background:transparent!important;overflow:visible!important}
html body #search-settings-panel.v18-settings-panel .v24-service-strip :is(.v10-local-engine,.v10-provider-add,.v4-key-trigger){min-height:64px!important;height:auto!important;width:100%!important;max-width:none!important;border:1px solid #d8e1d1!important;border-radius:13px!important;background:#f4f6ef!important;color:#85907c!important;box-shadow:none!important;font-size:15px!important}
html body[data-ai-engine=local] #search-settings-panel.v18-settings-panel .v24-service-strip .v10-local-engine,html body #search-settings-panel.v18-settings-panel .v24-service-strip .v10-provider-add.is-current{border-color:#7d9e73!important;background:#e2efdc!important;color:#315d43!important;box-shadow:inset 0 0 0 1px #7d9e7322!important}
@media(max-width:650px){html body #search-settings-panel.v18-settings-panel .v24-service-strip{grid-template-columns:minmax(85px,1fr) minmax(100px,1.2fr) minmax(82px,.9fr)!important}html body #search-settings-panel.v18-settings-panel .v24-service-strip :is(.v10-local-engine,.v10-provider-add,.v4-key-trigger){padding:8px!important;font-size:14px!important}}

html body .v24-activation-banner{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;background:#fff0bc!important;border:1px solid #d9af44!important;color:#71500f!important;box-shadow:none!important;padding:10px 14px!important}html body .v24-activation-banner[hidden]{display:none!important}html body .v24-activation-banner small{color:#80621f!important;font-size:12px}html body .v24-activation-banner svg{color:#9b741c!important}
html body #form .v24-activation-banner{background:#fff0bc!important;border-color:#d9af44!important;color:#71500f!important;box-shadow:none!important;padding:10px 14px!important;min-height:54px!important}html body #form .v24-activation-banner>small{color:#80621f!important;white-space:normal!important}html body #form .v24-activation-banner>svg:first-child{stroke:#9b741c!important;border-color:#dcc477!important;background:#fff8dd!important}html body #form .v24-activation-banner:before{display:none!important}

/* The prompt owns its height, so inflated text never covers the search controls. */
html.tq-large-ui body.home-scenes.v4-organized #form.v18-search .query-shell #query{min-height:5.2em!important;height:5.2em!important;max-width:100%!important;resize:vertical}
html.tq-large-ui body.home-scenes.v4-organized #form.v18-search .query-shell .typing-hint{max-height:none!important;overflow:hidden!important;max-width:calc(100% - 32px)!important}
html.tq-large-ui body.home-scenes.v4-organized #form.v18-search .v18-composer-actions{display:flex!important;flex-wrap:wrap!important;gap:10px!important;align-items:center!important;position:relative!important;min-width:0!important}
html.tq-large-ui body.home-scenes.v4-organized #form.v18-search .v18-search-options{min-width:0!important;flex:1 1 130px!important;max-width:100%!important}
html.tq-large-ui body.home-scenes.v4-organized #form.v18-search .v18-search-options>summary{height:auto!important;min-height:44px!important;max-width:100%;white-space:normal!important}
html.tq-large-ui body.home-scenes.v4-organized #form.v18-search :is(#search,#cancel-search){height:auto!important;min-height:44px!important;line-height:1.5!important;white-space:normal!important}
@media(max-width:650px){
 html.tq-large-ui body #search-settings-panel.v18-settings-panel .v24-service-strip{grid-template-columns:minmax(0,1fr)!important}
 html.tq-large-ui body #search-settings-panel.v18-settings-panel .v24-service-strip>*{grid-area:auto!important;min-width:0!important;height:auto!important}
 html.tq-large-ui body #search-settings-panel.v18-settings-panel .v24-service-strip .v4-key-trigger{grid-column:auto!important;grid-row:auto!important}
 html.tq-large-ui body #form .v24-activation-banner{gap:8px!important;flex-wrap:wrap!important}
 html.tq-large-ui body #form .v24-activation-banner>span{flex:1 1 120px;min-width:0;white-space:normal}
 html.tq-large-ui body #form .v24-activation-banner>small{flex-basis:100%;margin:0!important;padding-inline:0!important}
}
/* A warning is text content, not three competing columns. It must survive text-only zoom. */
@media(max-width:650px){
 html body.home-scenes #form.v18-search .v24-activation-banner{display:block!important;grid-template-columns:none!important;padding:12px!important;min-height:0!important;height:auto!important;max-height:none!important;overflow:visible!important;text-align:start!important;line-height:1.65!important;white-space:normal!important;word-break:normal!important;overflow-wrap:normal!important}
 html body.home-scenes #form.v18-search .v24-activation-banner[hidden]{display:none!important}
 html body.home-scenes #form.v18-search .v24-activation-banner>svg{display:none!important}
 html body.home-scenes #form.v18-search .v24-activation-banner>span{display:block!important;width:auto!important;max-width:none!important;min-width:0!important;margin:0!important;padding:0!important;white-space:normal!important;word-break:normal!important;overflow-wrap:normal!important;line-height:1.65!important}
 html body.home-scenes #form.v18-search .v24-activation-banner>small{display:block!important;width:auto!important;max-width:none!important;min-width:0!important;justify-self:stretch!important;margin:4px 0 0!important;padding:0!important;white-space:normal!important;word-break:normal!important;overflow-wrap:normal!important;line-height:1.65!important;background:none!important}
}
html body.home-search-focused #home-search-focus #form.v18-search .v24-activation-banner{display:none!important}

/* Incomplete advanced activation: clear status, one primary action, and an explicit fallback. */
html body .advanced-activation-entry{display:flex!important;align-items:center;gap:12px;width:100%;margin:0 0 18px;padding:14px 16px;text-align:start;border:1px solid #e0bd65;border-radius:16px;background:#fff5d8;color:#79591f;cursor:pointer;box-sizing:border-box;transition:background .2s,border-color .2s}
html body .advanced-activation-entry[hidden]{display:none!important}
html body .advanced-activation-entry:hover{background:#ffedbd;border-color:#b48a35}
html body .advanced-activation-entry>svg{width:27px;height:27px;flex:none;fill:none;stroke:currentColor;stroke-width:1.6}
html body .advanced-activation-entry>span:not(.activation-entry-action){flex:1;min-width:0}
html body .advanced-activation-entry strong{display:block;font:600 16px/1.6 SiteUI}
html body .advanced-activation-entry small{display:block;margin-top:2px;font:13px/1.65 SiteUI;color:#8a713d}
html body .activation-entry-action{flex:none;font:600 13px/1.6 SiteUI}
html body #form.v18-search .v18-search-options.needs-activation>summary small{color:#90651e!important;background:#fff0c5;border:1px solid #ead08b;border-radius:7px;padding:2px 7px!important;font-size:12px!important}
html body #search-settings-panel .v4-key-trigger.needs-activation{background:#fff1cb!important;border:1px solid #d7b361!important;color:#7b581c!important;box-shadow:none!important}
html body #search-settings-panel .v4-key-trigger.needs-activation .v22-service-state{color:#90651e!important}
html body .advanced-search-gate{box-sizing:border-box;width:min(510px,calc(100vw - 24px));max-width:none;max-height:calc(100dvh - 32px);padding:28px;margin:auto;border:1px solid #d8bd75;border-top:5px solid #bb913c;border-radius:25px;background:#fffcf3;color:#344b3a;box-shadow:0 25px 90px #17271e55;overflow:auto;overscroll-behavior:contain;animation:search-gate-in .25s ease-out}
html body .advanced-search-gate::backdrop{background:#15241da6;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
html body .local-search-choice-head{display:flex;align-items:center;gap:9px;color:#9b762b;font:500 12px/1.6 SiteUI}
html body .local-search-choice-head svg{width:29px;height:29px;padding:9px;border-radius:14px;background:#f6e8c2;fill:none;stroke:currentColor;stroke-width:1.5;flex:none}
html body .advanced-search-gate h2{margin:17px 0 8px;color:#5d4724;font:600 clamp(23px,5vw,29px)/1.55 SiteUI}
html body .advanced-search-gate>p{margin:0;color:#77735e;font:14px/1.85 SiteUI}
html body .advanced-activation-steps{display:grid;gap:0;padding:0;margin:22px 0;list-style:none;counter-reset:activation-step;border:1px solid #e6dfc8;border-radius:16px;background:#f8f6ec;overflow:hidden}
html body .advanced-activation-steps li{display:flex;align-items:center;gap:12px;padding:14px 16px;counter-increment:activation-step}
html body .advanced-activation-steps li+li{border-top:1px solid #e6dfc8}
html body .advanced-activation-steps li::before{content:counter(activation-step,arabic-indic);display:grid;place-items:center;width:31px;height:31px;border:1px solid #d4bc81;border-radius:50%;background:#fffbef;color:#92712e;font:16px SiteUI;flex:none}
html body .advanced-activation-steps strong{display:block;color:#485d43;font:500 15px/1.6 SiteUI}
html body .advanced-activation-steps small{display:block;margin-top:2px;color:#81816d;font:12px/1.65 SiteUI}
html body .local-search-choice-actions{display:grid;grid-template-columns:1fr auto;gap:10px}
html body .local-search-choice-actions button{min-height:46px;padding:11px 14px;border:1px solid #d9dece;border-radius:12px;background:transparent;color:#72745f;font:500 13px/1.5 SiteUI;cursor:pointer}
html body .local-search-choice-actions .local-search-advanced{grid-column:1/-1;background:#355c45;border-color:#355c45;color:#fff;font-size:15px;box-shadow:0 5px 12px #355c4514}
html body .local-search-choice-actions .local-search-advanced:hover{background:#254b36}
html body .local-search-choice-actions .local-search-continue{background:#fffdf6;color:#6d715e}
html body .local-search-choice-actions .local-search-dismiss{border-color:transparent;color:#8a8b79}
html body .local-search-running-note{display:flex;align-items:center;gap:10px;margin:12px 0 0;padding:10px 12px;border:1px solid #e7ce8e;border-radius:11px;background:#fff6df;color:#806431;font:12px/1.75 SiteUI}
html body .local-search-running-note p{flex:1;margin:0;font:inherit}
html body .local-search-running-note button{flex:none;padding:4px 0;border:0;background:none;color:#75551d;text-decoration:underline;text-underline-offset:4px;font:500 12px/1.5 SiteUI;cursor:pointer}
html body .local-search-running-note[hidden]{display:none!important}
html body #home-search-focus .advanced-activation-entry{display:none!important}
@keyframes search-gate-in{from{opacity:0;transform:translateY(18px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:520px){html body .advanced-search-gate{padding:23px 20px;border-radius:22px}html body .advanced-activation-entry{gap:9px;padding:12px}html body .advanced-activation-entry strong{font-size:14px}html body .advanced-activation-entry small{font-size:11px}html body .activation-entry-action{font-size:11px;max-width:58px}html body .local-search-running-note{display:block}html body .local-search-running-note button{margin-top:6px}}
@media(prefers-reduced-motion:reduce){html body .advanced-search-gate{animation:none}}
html body .local-search-choice-actions .local-search-dismiss{background:transparent!important;box-shadow:none!important;color:#8a8b79!important;border-color:transparent!important}
/* Explicit component colors take precedence over legacy generic button states. */
html body #advanced-activation-entry{background:#fff2cf!important;background-image:none!important;color:#79591f!important;border:1px solid #d6b15b!important;box-shadow:none!important;text-shadow:none!important;opacity:1!important}
html body #advanced-activation-entry:hover,html body #advanced-activation-entry:active{background:#ffebba!important;color:#79591f!important}
html body #advanced-activation-entry strong,html body #advanced-activation-entry>.activation-entry-action,html body #advanced-activation-entry>svg{color:#79591f!important}
html body #advanced-activation-entry small{color:#8c713c!important}
html body #advanced-search-activation .local-search-choice-head{position:relative;padding-inline-end:0;padding-inline-start:40px;min-height:32px}
html body #advanced-search-activation .local-search-choice-head .local-search-dismiss{position:absolute;inset-inline-start:0;top:0;width:31px;height:31px;margin:0;padding:0;border:1px solid #d9dccb!important;border-radius:10px;background:#f2f3e8!important;color:#738064!important;font:24px/1 SiteUI;cursor:pointer;box-shadow:none!important;text-shadow:none!important}
html body #advanced-search-activation .local-search-choice-actions{grid-template-columns:1fr!important;gap:9px!important}
html body #advanced-search-activation .local-search-advanced{background:#355c45!important;background-image:none!important;color:#fff!important;border:1px solid #355c45!important;box-shadow:none!important;font:500 15px/1.5 SiteUI!important}
html body #advanced-search-activation .local-search-advanced:hover{background:#294d38!important}
html body #advanced-search-activation .local-search-continue{background:#fffdf6!important;background-image:none!important;color:#6c725e!important;border:1px solid #dadfce!important;box-shadow:none!important;font:400 13px/1.5 SiteUI!important}
html body #advanced-search-activation button:focus-visible,html body #advanced-activation-entry:focus-visible{outline:2px solid #b9964a!important;outline-offset:3px!important}
html body #advanced-search-activation .advanced-support-invite{display:flex;align-items:start;gap:12px;flex-wrap:wrap;margin-top:21px;padding-top:16px;border-top:1px solid #e4dfcc}
html body #advanced-search-activation .advanced-support-invite>span{flex:1 1 220px;min-width:0}
html body #advanced-search-activation .advanced-support-invite strong{display:block;color:#7d815f;font:500 12px/1.6 SiteUI}
html body #advanced-search-activation .advanced-support-invite small{display:block;margin-top:4px;color:#969681;font:11px/1.8 SiteUI}
html body #advanced-search-activation .advanced-support-invite>a{display:inline-block;flex:none;padding:5px 0;color:#9c7934!important;background:none!important;font:500 12px/1.5 SiteUI;text-decoration:none!important}
html body #advanced-search-activation .advanced-support-invite>a:hover{text-decoration:underline!important;text-underline-offset:4px}
html body #advanced-search-activation .local-search-choice-head{padding-inline:0 40px}
html body #advanced-search-activation .local-search-choice-head .local-search-dismiss{inset-inline-start:auto;inset-inline-end:0}
html body .activation-key-help{display:inline-block;margin-top:14px;font:12px/1.7 SiteUI;color:#907237;text-decoration:underline;text-underline-offset:4px}
html body #form.v18-search .composer-model-name{color:#7e8b72!important;font:400 12px/1.4 SiteUI!important;white-space:nowrap}
html body #form.v18-search .composer-model-name[hidden]{display:none!important}
html body.v4-organized #key-dialog #api-connect.v4-save-key{display:flex!important;width:100%!important;min-height:46px!important;background:#355c45!important;color:#fff!important;border:1px solid #355c45!important;border-radius:12px!important;font:500 15px/1.5 SiteUI!important}
html body.v4-organized #key-dialog #api-settings>.row{grid-template-columns:1fr!important}
html body #form .local-search-running-note{box-sizing:border-box;width:100%!important;max-width:100%!important;margin:10px 0 0!important}
html body #form .local-search-running-note>button{flex:none;min-height:32px!important;min-width:0!important;width:auto!important;height:auto!important;margin:0!important;padding:4px 6px!important;border:0!important;border-radius:7px!important;background:transparent!important;background-image:none!important;box-shadow:none!important;color:#806020!important;text-shadow:none!important;font:500 12px/1.5 SiteUI!important;text-decoration:underline!important;text-underline-offset:4px}
html body #form .local-search-running-note>button:hover{background:#f4e8c3!important;color:#674b13!important}

/* Connection state remains fully readable at narrow widths. */
html body #form.v18-search .v18-search-options>summary{min-width:0!important;max-width:100%!important;gap:4px 7px!important}
html body #form.v18-search .v18-search-options>summary small{max-width:100%!important;min-width:0!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:normal!important;word-break:normal!important;direction:rtl!important;line-height:1.6!important;flex-shrink:0;font-size:11px!important;box-sizing:border-box}
html body #form.v18-search .v18-search-options.needs-activation>summary small{font-size:11px!important}
html body #form.v18-search #query{scroll-margin-top:24px}

html body.home-scenes.v4-organized #form.v18-search .install-banner.v18-install-ribbon [data-install]{font:400 12px/1.6 SiteUI!important;width:auto!important;min-width:112px!important;height:auto!important;min-height:36px!important;padding:7px 10px!important;overflow:visible!important;white-space:nowrap!important}
@media(max-width:650px){html body.home-scenes.v4-organized #form.v18-search .install-banner.v18-install-ribbon{grid-template-columns:32px minmax(0,1fr) 24px!important;gap:8px!important}html body.home-scenes.v4-organized #form.v18-search .install-banner.v18-install-ribbon [data-install]{grid-column:2!important;grid-row:2!important;justify-self:start!important}html body.home-scenes.v4-organized #form.v18-search .install-banner.v18-install-ribbon .install-dismiss{grid-column:3!important;grid-row:1!important}html body.home-scenes.v4-organized #form.v18-search .install-banner.v18-install-ribbon .install-banner-copy{grid-column:2!important;grid-row:1!important}}
html body #form .local-search-running-note{position:relative!important;inset:auto!important;float:none!important;transform:none!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto 32px!important;align-items:center!important;gap:10px!important;grid-column:1/-1!important;width:calc(100% - 32px)!important;max-width:calc(100% - 32px)!important;min-width:0!important;box-sizing:border-box!important;margin:12px 16px 16px!important;padding:11px 13px!important;border-radius:12px!important;background:#fff7e7!important;border-color:#e6d4a8!important}
html body #form .local-search-running-note>p{font:400 13px/1.85 SiteUI!important;min-width:0!important;margin:0!important;white-space:normal!important}
html body #form .local-search-running-note>.local-notice-close{display:grid!important;place-items:center!important;width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important;padding:0!important;font:24px/1 SiteUI!important;text-decoration:none!important;color:#8b733b!important}
html body #form .local-search-running-note[hidden]{display:none!important}
@media(max-width:600px){html body #form .local-search-running-note{grid-template-columns:minmax(0,1fr) 36px!important;gap:6px 9px!important;width:calc(100% - 24px)!important;max-width:calc(100% - 24px)!important;margin:10px 12px 12px!important}html body #form .local-search-running-note>.local-notice-close{grid-column:2;grid-row:1;width:36px!important;height:36px!important}html body #form .local-search-running-note>button:not(.local-notice-close){grid-column:1;justify-self:start}}
