/* V4 adds useful interactions to the retained typography, palette and layout. */
.v4-query-clear{position:absolute;inset-inline-end:10px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:30px;height:30px;padding:0;border:1px solid #cbdac8;border-radius:50%;background:#fffef9;color:#59725a;font:400 22px/1 SiteUI,system-ui;z-index:2}
.v4-query-clear:hover{transform:translateY(-50%)!important;background:#eef5e9}
body.home-scenes .searchrow .query-shell #query{padding-inline-end:48px!important}
.v4-toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);max-width:min(440px,calc(100vw - 32px));padding:11px 19px;border:1px solid #cbdac8;border-radius:13px;background:#355d44;color:#fff;font:400 14px/1.7 SiteUI,system-ui;box-shadow:0 9px 25px #355d4426;z-index:300;text-align:center;pointer-events:none;animation:v4-feedback-in .16s ease-out}
@keyframes v4-feedback-in{from{opacity:0;translate:0 5px}to{opacity:1;translate:0 0}}
.v4-active-query{margin:0 0 12px;padding:0 0 10px;border-bottom:1px solid #dce4d3;color:#355d44;font:400 16px/1.7 SiteUI,system-ui;overflow-wrap:anywhere}
body.home-scenes .journey-caption{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:26px}
.v4-journey-nav{display:flex;align-items:center;gap:6px;flex:none;color:#7c896f}
.v4-journey-nav button{display:grid;place-items:center;width:25px;height:25px;border:1px solid #dbe1cf;border-radius:50%;background:#fffdf7;color:#728164;padding:0;font:400 15px/1 SiteUI,system-ui}
.v4-journey-counter{font:400 10px/1 SiteUI,system-ui;direction:ltr;font-variant-numeric:tabular-nums;min-width:28px;text-align:center}
body.home-scenes .journey-paths{top:var(--journey-connector-top,116px)!important}
body.home-scenes .journey-question strong{text-wrap:balance}
.v4-use-question{display:block;width:max-content;margin:7px auto 0;padding:4px 12px;border:1px solid #d6dfcb;border-radius:8px;background:#f1f5e9;color:#53704d;font:400 11px/1.6 SiteUI,system-ui}
.v4-copy-verse{display:grid;place-items:center;flex:none;width:30px;height:30px;padding:6px;border:1px solid #d9e1cf;border-radius:9px;background:#f7f9f0;color:#657c58}
.v4-copy-verse svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.v4-copy-verse[data-copied=true]{background:#e6f1df;color:#355d44}
.v4-result-index{display:grid;place-items:center;min-width:24px;height:24px;padding:0 5px;border-radius:8px;background:#edf2e6;color:#57704c;font:400 12px/1 SiteUI,system-ui;font-variant-numeric:tabular-nums;flex:none}
.result-card-top{flex-wrap:wrap}
@media(hover:hover){body.home-scenes .examples>button:hover{box-shadow:0 5px 15px #345b3d0c!important}.v4-copy-verse:hover,.v4-use-question:hover{background:#eaf2e2}}
@media(max-width:650px){.v4-active-query{font-size:14px}.v4-toast{bottom:82px;font-size:13px}.v4-copy-verse{width:28px;height:28px}.v4-result-index{height:22px;min-width:22px}}
@media(prefers-reduced-motion:reduce){.v4-toast{animation:none}}

body.home-scenes .meaning-journey .v4-journey-nav button{background:#fffdf7!important;color:#728164!important;border:1px solid #dbe1cf!important}
body.home-scenes .meaning-journey .v4-use-question{background:#f1f5e9!important;color:#53704d!important;border:1px solid #d6dfcb!important}
body.home-scenes .workspace .v4-copy-verse{background:#f7f9f0!important;color:#657c58!important;border:1px solid #d9e1cf!important}
/* A saved model name alone is not a verified connection. */
body.home-scenes .model-control-strip:not(.model-connected) .model-connection-light{display:none!important}
body.home-scenes .model-control-strip.model-connected .model-connection-light{display:inline-block!important}

/* Local semantic search requires no API activation. */


/* Version 4: floating controls, clear connection tasks, and quiet paper surfaces. */
body.v4-organized #form{position:relative!important;overflow:visible!important;padding:50px 28px 28px!important;background:#fffefa!important;border-color:#b4c4a8!important}
body.v4-organized #form .v4-floating-controls{position:absolute;top:-25px;inset-inline:28px;display:flex;justify-content:space-between;align-items:flex-start;gap:16px;z-index:20;pointer-events:none}
body.v4-organized .v4-floating-controls>*{pointer-events:auto}
body.v4-organized #form .search-kind-field{width:auto!important;min-width:0;margin:0!important}
body.v4-organized #form .mode-segments{display:flex!important;min-height:48px!important;background:#fffdf7!important;border:1px solid #d7dfcd!important;padding:4px!important;box-shadow:0 3px 12px #314f3410;border-radius:17px!important}
body.v4-organized #form .mode-segments button{height:39px!important;min-height:39px!important;padding:8px 15px!important;font-size:14px!important;white-space:nowrap!important;border-radius:12px!important}
body.v4-organized #form .mode-segments button[aria-pressed=true]{background:#355d44!important;color:#fffefa!important;box-shadow:0 3px 8px #355d4419}
body.v4-organized #form .model-control-strip{margin:0!important;padding:0!important;min-width:0!important;max-width:58%;border:0!important;background:none!important}
body.v4-organized #form .engine-bar{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:7px!important;padding:6px 10px!important;min-height:48px!important;border:1px solid #dce3d3!important;border-radius:17px!important;background:#fffdf7!important;box-shadow:0 3px 12px #314f3410}
body.v4-organized #engine-panel>summary{padding:3px 0!important;gap:5px!important;border:0!important;background:transparent!important;min-height:30px!important;font:400 13px/1.6 SiteUI,system-ui!important}
body.v4-organized #engine-panel>summary>svg{display:none!important}
body.v4-organized #engine-panel>summary .model-connection-light,body.v4-organized #engine-panel>summary .model-edit-label{display:none!important}
body.v4-organized #active-engine{max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px!important;color:#355d44!important}
body.v4-organized .model-connection-state{display:inline-flex!important;align-items:center;gap:5px;min-height:22px;font-size:11px!important;background:none!important;border:0!important;padding:0 5px!important}
body.v4-organized .model-connection-state[hidden]{display:none!important}
body.v4-organized .model-connection-state[data-connected=true]:before{content:'';width:7px;height:7px;border-radius:50%;background:#21a562;box-shadow:0 0 0 4px #21a56212,0 0 9px #21a56244}
body.v4-organized #form :is(.v4-key-trigger,.v4-model-settings,.v4-thinking-indicator){display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:30px;height:30px;padding:4px 8px;border-radius:9px;border:0;background:#eef3e8;color:#355d44;font:400 12px/1.5 SiteUI,system-ui;white-space:nowrap}
body.v4-organized #form .v4-key-trigger{background:#fbefd4;color:#876627;box-shadow:inset 0 0 0 1px #e7d2a2}
body.v4-organized #form .v4-key-trigger.has-key{background:transparent;box-shadow:none;color:#708269}
body.v4-organized #form .v4-thinking-indicator{background:transparent;padding-inline:3px;color:#718066;font-size:11px}
body.v4-organized :is(.v4-key-trigger,.v4-model-settings,.v4-key-step,.v4-paste-key,.v4-get-key) svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
body.v4-organized #form :is(.v4-model-settings,.v4-key-trigger):hover svg{transform:rotate(-9deg);transition:transform .2s}
body.v4-organized #form .engine-inline-content{background:#fffefa!important;border:1px solid #d6dfcc!important;border-radius:18px!important;padding:18px!important;width:min(420px,calc(100vw - 24px))!important;max-width:calc(100vw - 24px)!important}
body.v4-organized #engine-panel .engine-heading{margin:0 0 14px!important;padding:0!important}
body.v4-organized #engine-panel h2{font:400 21px/1.5 SiteUI,system-ui!important}
body.v4-organized #engine-panel .engine-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;margin:0!important}
body.v4-organized #engine-panel .engine-grid>label,body.v4-organized .v4-external-provider{display:flex!important;align-items:center!important;justify-content:center!important;gap:9px;min-height:64px!important;padding:12px!important;border:1px solid #d6dfcc!important;border-radius:12px!important;background:#f5f7ef!important;color:#355d44;font:400 17px/1.5 SiteUI,system-ui!important;cursor:pointer}
body.v4-organized #engine-panel .engine-grid>label strong{font:inherit!important}
body.v4-organized #engine-panel .engine-grid>label>span,body.v4-organized #engine-description{display:none!important}
body.v4-organized .v4-external-provider strong{font:inherit}.v4-external-provider svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2}
body.v4-organized .v4-provider-options{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px;padding-top:12px;border-top:1px solid #e3e8dc}
body.v4-organized .v4-provider-options>label{display:flex;align-items:center;gap:7px;padding:10px;border:1px solid #e0e6d8;border-radius:10px;cursor:pointer;background:#fff}
body.v4-organized .v4-provider-options>label:has(input:checked){background:#edf4e5;border-color:#a1b996}
body.v4-organized .v4-provider-options strong{font:400 14px/1.5 SiteUI,system-ui}.v4-provider-options label>span{display:none}
body.v4-organized #form .search-mode-row{display:flex!important;justify-content:flex-start!important;align-items:center;gap:0!important;border:0!important;margin:18px 0 10px!important;padding:0!important}
body.v4-organized #form .search-mode-row .search-customization{width:auto!important;min-width:170px!important;max-width:100%;margin:0!important}
body.v4-organized #form .search-customization>summary{padding:10px 14px!important;min-height:44px!important;background:#f2f5ec!important;border:1px solid #d7e1ce!important;border-radius:12px!important;gap:8px!important}
body.v4-organized #form .search-customization .result-filter-caption{display:none!important}
body.v4-organized #form .search-customization .result-filter-trigger{font:400 14px/1.6 SiteUI,system-ui!important;color:#536e4d!important}
body.v4-organized #form .searchrow{min-height:126px!important;height:auto!important;align-items:center!important;gap:12px!important;background:linear-gradient(105deg,#e8f4ed,#f4f7ed)!important;padding:17px 20px!important;border:1.5px solid #92b599!important;box-shadow:0 7px 24px #365e4508!important}
body.v4-organized #query{display:block!important;width:100%!important;min-height:86px!important;max-height:none!important;overflow:hidden!important;resize:none!important;white-space:pre-wrap!important;overflow-wrap:anywhere!important;word-break:normal!important;line-height:1.85!important;font:400 22px/1.85 SiteUI,system-ui!important;padding:12px 4px 12px 34px!important;background:transparent!important;border:0!important;box-shadow:none!important;outline:0!important}
body.v4-organized .query-shell{display:flex!important;align-items:center;min-width:0!important;height:auto!important;flex:1!important}
body.v4-organized #form :is(#search,#cancel-search){flex:0 0 auto!important;align-self:center!important;min-width:116px!important;height:55px!important;font-size:17px!important;border-radius:15px!important}
body.v4-organized #form.is-searching #search,body.v4-organized #form #search[hidden]{display:none!important}
body.v4-organized #form #cancel-search[hidden]{display:none!important}
body.v4-organized #form .suggestion-heading{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin:18px 0 10px!important;padding:0!important;flex-wrap:wrap!important}
body.v4-organized #form .suggestion-heading h3{font-size:18px!important;margin:0!important}
body.v4-organized .v4-history-toggle{display:inline-flex;align-items:center;gap:7px;padding:7px 0!important;border:0!important;background:none!important;color:#78866d!important;font:400 13px/1.5 SiteUI,system-ui!important;white-space:nowrap}
.v4-history-toggle svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:2;transition:transform .18s}.v4-history-toggle[aria-expanded=false] svg{transform:rotate(90deg)}
body.v4-organized #form .history-panel{border:1px solid #dbe3d1!important;border-radius:14px!important;background:#f4f6ed!important;padding:12px!important;margin:0 0 12px!important}
body.v4-organized #form .history-panel[hidden]{display:none!important}
body.v4-organized #form .history-panel:not([open]){display:none!important}
body.v4-organized #form .history-panel>summary{display:none!important}
body.v4-organized #form .history-panel p{font-size:12px!important;margin:0 0 9px!important}
body.v4-organized #query-history:empty:before{content:'ستظهر هنا الأسئلة التي تبحث عنها على هذا الجهاز.';font-size:13px;color:#7a876e}
body.v4-organized #form .precision-control{background:#f3f6ed!important;border:1px solid #dce4d3!important;border-radius:16px!important;padding:16px 18px!important;margin-top:8px!important}
body.v4-organized #form #precision,body.v4-organized #display-precision{appearance:none!important;-webkit-appearance:none!important;direction:rtl!important;height:8px!important;padding:0!important;margin:22px 0!important;border:0!important;border-radius:8px!important;background:linear-gradient(to left,#267b61 0%,#355d44 var(--range-fill,40%),#e2e7dc var(--range-fill,40%),#e2e7dc 100%)!important;box-shadow:none!important;cursor:pointer}
body.v4-organized :is(#precision,#display-precision)::-webkit-slider-runnable-track{height:8px;background:transparent;border:0;border-radius:8px}
body.v4-organized :is(#precision,#display-precision)::-webkit-slider-thumb{appearance:none!important;-webkit-appearance:none!important;width:36px!important;height:36px!important;border:0!important;border-radius:0!important;margin-top:-14px!important;background:var(--range-thumb) center/contain no-repeat!important;box-shadow:none!important;filter:drop-shadow(0 2px 3px #355d4420);transition:filter .15s}
body.v4-organized :is(#precision,#display-precision)::-moz-range-track{height:8px;background:transparent;border:0}
body.v4-organized :is(#precision,#display-precision)::-moz-range-thumb{width:36px!important;height:36px!important;border:0!important;border-radius:0!important;background:var(--range-thumb) center/contain no-repeat!important;box-shadow:none!important}
body.v4-organized :is(#precision,#display-precision):focus-visible{outline:2px solid #2c8b70!important;outline-offset:12px}
/* Connection instructions are intentionally amber, separate from the search palette. */
body.v4-organized #form .connection-guide-banner{display:block!important;position:static!important;max-width:none!important;margin:0 0 18px!important;padding:14px 16px!important;background:#fff6e5!important;border:1px solid #e4d2ab!important;border-radius:16px!important;box-shadow:none!important;color:#7c632f!important}
body.v4-organized #form .connection-guide-banner[hidden]{display:none!important}
.v4-guide-intro{display:flex;align-items:center;gap:12px;position:relative;padding-inline-end:25px}.v4-guide-intro>strong{font:400 17px/1.5 SiteUI,system-ui}.v4-guide-intro>span{font-size:12px;color:#99855b}.v4-guide-intro .connection-hint-dismiss{position:absolute;inset-inline-end:0;top:0}
.v4-key-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:11px}
body.v4-organized #form .v4-key-step{display:flex!important;align-items:center;gap:9px;min-width:0;text-align:right;text-decoration:none;background:#fffdf7!important;border:1px solid #e8dabc!important;border-radius:12px!important;padding:10px!important;color:#78612f!important;box-shadow:none!important;font:400 13px/1.5 SiteUI,system-ui!important}
body.v4-organized #form .v4-key-step:last-child{background:#355d44!important;border-color:#355d44!important;color:white!important}
.v4-key-step img{width:66px;height:46px;object-fit:contain;flex-shrink:0}.v4-key-step>span{flex:1;min-width:0}.v4-key-step strong,.v4-key-step small{display:block}.v4-key-step strong{font-weight:400}.v4-key-step small{font-size:10px;margin-top:3px;color:#9e8b61}.v4-key-step:last-child small{color:#d6e6d5}.v4-key-step>svg{width:14px!important;height:14px!important}
.v4-key-help{display:block;margin-top:8px;font-size:11px;color:#967c43;text-underline-offset:3px;width:max-content}
.v4-settings-dialog{width:min(540px,calc(100vw - 24px));max-height:calc(100dvh - 32px);padding:0;border:1px solid #d6dfcb;border-radius:23px;background:#fffefa;color:#355d44;box-shadow:0 24px 90px #19342d26;font-family:SiteUI,system-ui;overflow:auto}
.v4-settings-dialog::backdrop{background:#203f3440;backdrop-filter:blur(5px)}
.v4-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 22px 12px}.v4-dialog-head h2{font:400 24px/1.5 SiteUI,system-ui;margin:0;color:#355d44}
.v4-dialog-close{display:grid;place-items:center;width:35px;height:35px;border-radius:11px;border:0;background:#eff3e8;color:#6c7e60;font:400 25px/1 SiteUI,system-ui;cursor:pointer}
.v4-dialog-body{padding:8px 22px 24px}.v4-dialog-body label{display:flex;flex-direction:column;gap:7px;margin:12px 0;font:400 14px/1.7 SiteUI,system-ui;color:#6e8063}
.v4-dialog-body :is(input[type=password],input[type=text],input[type=url],select){box-sizing:border-box;width:100%;height:48px;padding:10px 12px;border:1px solid #cfdcc3;border-radius:12px;background:#f6f8f0;color:#355d44;font:400 15px/1.5 SiteUI,system-ui}
.v4-dialog-body #api-settings{display:block;margin:0;padding:0;border:0;background:none}.v4-dialog-body #api-settings[hidden]{display:none}
.v4-dialog-body .api-fields{display:block}.v4-dialog-body .connection-heading strong{display:none}.v4-dialog-body .v4-link-status{padding:0;line-height:1.8;font-size:13px;color:#7c7456}.v4-dialog-body #api-status:empty{display:none}
.v4-dialog-body .v4-key-field{padding:12px 14px;border:1px solid #ead6ad;border-radius:15px;background:#fff7e8;color:#846c3d}.v4-dialog-body .v4-key-field input{background:#fffefa;border-color:#dbc79c;direction:ltr;text-align:left}
.v4-dialog-body .row{display:flex;gap:9px;flex-wrap:wrap;align-items:center;margin-top:12px}.v4-dialog-body button{cursor:pointer;font-family:SiteUI,system-ui}
.v4-dialog-body #api-connect,.v4-dialog-body .v4-paste-key{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 17px;min-height:46px;border:0;border-radius:12px;font:400 16px/1.5 SiteUI,system-ui;background:#355d44;color:white}
.v4-dialog-body #api-connect{background:#edf2e6;color:#59734f;font-size:13px}
.v4-dialog-body .remember{display:flex;flex-direction:row;align-items:center;gap:8px;font-size:12px}.v4-dialog-body .remember input{accent-color:#355d44}
.v4-dialog-body .api-key-save-state{font-size:11px;color:#8e805f}.v4-dialog-body .muted{font-size:12px;line-height:1.7;color:#89917e}.v4-dialog-body .model-quota-note{display:none}
.v4-dialog-body .v4-get-key{display:flex;align-items:center;justify-content:center;gap:9px;padding:13px 12px;text-align:center;background:#f9edcf;border:1px solid #e6d09c;border-radius:13px;color:#836125;text-decoration:none;font-size:14px}
.v4-dialog-body .v4-get-key svg:last-child{width:14px;height:14px}.v4-dialog-body .search-thinking{display:block!important;padding:0!important;border:0!important;background:none!important;margin:18px 0!important}
.v4-dialog-body .search-thinking .result-filter-trigger{width:100%;text-align:right;padding:12px;border:1px solid #d3dec9;border-radius:12px;background:#f4f7ed;color:#355d44;font:400 15px/1.5 SiteUI,system-ui}.v4-dialog-body .search-thinking .result-filter-caption{display:block;font-size:13px;margin-bottom:7px}
.v4-dialog-body .connection-advanced{border:0;padding:0;margin:14px 0}.v4-dialog-body .connection-secondary-actions{display:flex;flex-wrap:wrap;gap:8px}.v4-dialog-body .connection-secondary-actions button{border:1px solid #dce4d2;background:#f4f7ed;color:#607854;border-radius:10px;padding:8px 11px;font-size:12px}
.v4-dialog-body .thinking-note{font-size:11px;color:#86917b;line-height:1.7}
@media(max-width:1050px){body.v4-organized #form .model-control-strip{max-width:50%}body.v4-organized #form .mode-segments button{font-size:12px!important;padding:7px 10px!important}.v4-key-step img{width:42px}.v4-key-step>svg{display:none!important}}
@media(max-width:750px){body.v4-organized #form{padding:108px 14px 18px!important}body.v4-organized #form .v4-floating-controls{inset-inline:14px;top:-23px;display:grid;grid-template-columns:minmax(0,1fr);gap:9px}body.v4-organized #form .mode-segments{width:100%!important;justify-content:stretch!important}body.v4-organized #form .mode-segments button{flex:1!important;min-width:0!important;font-size:12px!important;padding:8px 5px!important}body.v4-organized #form .mode-segments button svg{width:17px!important;height:17px!important}body.v4-organized #form .model-control-strip{max-width:100%!important;width:100%!important}body.v4-organized #form .engine-bar{box-shadow:none!important;min-height:42px!important;padding:5px 8px!important;gap:6px!important;border-radius:13px!important}body.v4-organized #active-engine{max-width:150px;font-size:12px!important}body.v4-organized #form .v4-key-trigger.has-key span{display:inline}body.v4-organized #form .model-connection-state{font-size:10px!important}body.v4-organized #form .v4-thinking-indicator{font-size:10px!important}body.v4-organized #form .searchrow{padding:11px 12px!important;min-height:104px!important;gap:8px!important;flex-wrap:nowrap!important}body.v4-organized #query{font-size:17px!important;line-height:1.85!important;min-height:70px!important;padding-left:24px!important}body.v4-organized #form #search,body.v4-organized #form #cancel-search{min-width:66px!important;width:66px!important;height:48px!important;padding:9px 7px!important;font-size:14px!important}body.v4-organized #form #search svg{width:18px!important;height:18px!important}body.v4-organized #form #search{flex-direction:column!important;height:60px!important;gap:2px!important}body.v4-organized #form #cancel-search{white-space:normal!important;font-size:12px!important}body.v4-organized #form .suggestion-heading h3{font-size:15px!important}body.v4-organized #form .suggestion-heading{gap:8px!important}.v4-history-toggle{font-size:12px!important}.v4-guide-intro{align-items:flex-start;flex-wrap:wrap;gap:3px}.v4-guide-intro>strong{font-size:15px}.v4-guide-intro>span{font-size:11px;width:100%}.v4-key-steps{gap:6px}.v4-key-step img{width:46px;height:36px}body.v4-organized #form .v4-key-step{flex-direction:column;align-items:flex-start;font-size:11px!important;padding:8px!important;gap:5px}.v4-key-step small{font-size:9px}.v4-key-help{font-size:10px}.v4-dialog-head{padding:17px 17px 10px}.v4-dialog-body{padding:8px 17px 20px}.v4-dialog-head h2{font-size:21px}.v4-settings-dialog{border-radius:18px}body.v4-organized #form .precision-control{padding:13px!important}.v4-guide-intro .connection-hint-dismiss{width:24px!important;height:24px!important}}
@media(prefers-reduced-motion:reduce){.v4-history-toggle svg,body.v4-organized #form :is(.v4-model-settings,.v4-key-trigger) svg{transition:none!important;transform:none!important}}
body.v4-organized [hidden]{display:none!important}

.v4-settings-dialog .result-filter-menu{background:#fffefa;border:1px solid #d4dfca;border-radius:13px;padding:7px;box-shadow:0 10px 35px #24452e20}.v4-settings-dialog .result-filter-menu button{font:400 14px/1.6 SiteUI,system-ui;padding:10px 12px;color:#59744d;display:block;width:100%;text-align:right;border:0;border-radius:8px;background:transparent}.v4-settings-dialog .result-filter-menu button[aria-selected=true]{background:#eaf2df}
body.v4-organized #form .v4-key-step:last-child strong{color:#fffefa!important}body.v4-organized #form .v4-key-step:last-child small{color:#e6efe4!important}
.v4-source-tabs{display:flex;gap:6px;border-bottom:1px solid #dce3d4;padding:0 0 10px;margin-bottom:14px}.v4-source-tabs button{flex:1;padding:9px 12px!important;border-radius:12px!important;background:#f2f5ed!important;color:#466044!important;font-size:.95rem!important;box-shadow:none!important}.v4-source-tabs button[aria-selected=true]{background:#355d44!important;color:#fff!important}.v4-source-panel[hidden]{display:none!important}.v4-source-panel{display:grid;gap:12px}.v4-source-panel label{font-size:.95rem}.v4-source-panel .muted{font-size:.83rem;line-height:1.85;margin:0}.v4-source-panel input:not([type=checkbox]):not([type=file]),.v4-source-panel textarea{display:block;width:100%;min-width:0;box-sizing:border-box;margin-top:6px;padding:10px 12px;border:1px solid #cad8c2;border-radius:12px;background:#fffefa;color:#344535;font:inherit}.v4-source-panel textarea{resize:vertical}.v4-source-toggle{display:flex!important;align-items:center;gap:8px}.v4-source-panel input[type=checkbox]{accent-color:#355d44;width:17px;height:17px;flex-shrink:0}.v4-web-site-list{display:grid;grid-template-columns:1fr 1fr;gap:9px}.v4-web-site-list label{display:flex;align-items:center;gap:4px}.v4-web-availability{font-size:.85rem;margin:0;color:#355d44}.v4-source-cost{font-size:.68rem;background:#eee6d6;color:#7b612c;border-radius:5px;padding:1px 5px;margin-inline-start:auto}.v4-personal-source-list{display:grid;gap:8px}.v4-personal-source-list>div{display:flex;align-items:center;justify-content:space-between;gap:10px}.v4-personal-source-list button{padding:4px 10px!important;font-size:.8rem!important}.v4-supplemental-results{display:grid;gap:16px;margin-block:16px}.v4-supplemental-results[hidden]{display:none}.v4-supplement-section{border:1px solid #cbd8c5;border-radius:20px;padding:20px;background:#f5f7ef}.v4-supplement-section h3{margin:0 0 8px;color:#355d44;font:700 1.1rem var(--font-ui,inherit)}.v4-supplement-section>article{background:#fffefa;border:1px solid #dce3d4;border-radius:14px;padding:16px;margin-top:12px;line-height:1.9}.v4-supplement-section>article p{margin:8px 0}.v4-supplement-section a{color:#355d44;text-decoration:underline;text-underline-offset:4px}.v4-web-card>a:last-child{display:block;font-size:.85rem;margin-top:8px}.v4-web-verse{font-family:'Amiri Quran','Amiri',serif;font-size:1.45rem;color:#334334}.v4-google-suggestions{width:100%;min-height:180px;border:0;margin-top:12px}.v4-source-panel #sources{display:grid;grid-template-columns:1fr 1fr;gap:8px}.v4-source-panel #sources label{display:flex;align-items:center;gap:6px;padding:8px;border:1px solid #e0e6d9;border-radius:10px;flex-wrap:wrap}.v4-source-panel #sources label:has(input:checked){background:#f2f6ec;border-color:#c1d2b5}.search-customization-panel{overscroll-behavior:contain}
@media(max-width:650px){.v4-source-panel #sources{grid-template-columns:1fr}.v4-source-tabs button{padding:9px 7px!important;font-size:.88rem!important}.v4-supplement-section{padding:14px}.v4-source-cost{margin-inline-start:4px}}
/* Give the search mode priority; keep model preferences in one direct menu. */
body.v4-organized #form .mode-segments{min-height:58px!important;border-radius:21px!important;padding:5px!important;box-shadow:0 5px 16px #355d4413,inset 0 1px 0 #fff!important}
body.v4-organized #form .mode-segments button{height:46px!important;min-height:46px!important;padding:9px 20px!important;font-size:16px!important;border-radius:16px!important}
body.v4-organized #form .mode-segments button:first-child{padding-inline:24px!important}
body.v4-organized #form .mode-segments button[aria-pressed=true]{background:linear-gradient(115deg,#355d44,#416f52)!important;box-shadow:0 4px 10px #355d4422!important}
body.v4-organized #form .mode-segments button svg{width:22px!important;height:22px!important;transition:transform .22s}
body.v4-organized #form .mode-segments button:hover svg{transform:rotate(-8deg) scale(1.08)}
body.v4-organized #form .engine-bar{min-height:43px!important;padding:5px 9px!important;border-radius:15px!important;flex-wrap:nowrap!important}
body.v4-organized #form :is(.v4-model-settings,.v4-thinking-indicator){display:none!important}
body.v4-organized #form .v4-key-trigger.has-key{color:#355d44;background:#edf3e6;padding-inline:10px;box-shadow:inset 0 0 0 1px #dce6d3}
body.v4-organized #form .v4-key-trigger.has-key svg{width:13px;height:13px;order:2}
body.v4-organized #form .engine-inline-content{padding:14px!important;width:min(350px,calc(100vw - 24px))!important}
body.v4-organized #engine-panel .engine-grid>label,body.v4-organized .v4-external-provider{height:48px!important;min-height:48px!important;box-sizing:border-box!important;padding:8px 12px!important;font-size:15px!important;flex-direction:row!important;margin:0!important}
body.v4-organized #engine-panel .engine-grid>label input{width:15px!important;height:15px!important;margin:0!important}
body.v4-organized #engine-panel h2{font-size:17px!important}
body.v4-organized #engine-panel .engine-heading{margin-bottom:10px!important}
body.v4-organized #key-dialog #api-settings>.row{display:grid!important;grid-template-columns:1fr 1fr;gap:10px}
body.v4-organized #key-dialog :is(.v4-paste-key,#api-connect){height:46px!important;width:100%!important;min-width:0!important;margin:0!important;justify-content:center!important;font-size:15px!important;padding:8px!important}
body.v4-organized .v4-model-quick{margin:0!important;max-height:min(520px,calc(100dvh - 24px));padding:0!important;border-radius:18px!important;box-shadow:0 16px 45px #25452d20!important}
body.v4-organized .v4-model-quick .v4-dialog-head{padding:12px 15px!important;margin:0!important;border-bottom:1px solid #e0e6d8!important}
body.v4-organized .v4-model-quick .v4-dialog-head h2{font-size:16px!important}
body.v4-organized .v4-model-quick .v4-dialog-close{width:26px;height:26px;font-size:21px}
body.v4-organized .v4-model-quick-body{display:block!important;padding:0 14px 12px!important}
body.v4-organized .v4-model-quick-body>:is(label,.connection-advanced)[hidden]{display:none!important}
.v4-model-quick-top{position:sticky;top:0;background:#fffefa;z-index:2;display:grid;grid-template-columns:auto 1fr;gap:8px 12px;padding:12px 0;border-bottom:1px solid #e0e6d8;font-size:13px;align-items:center}
.v4-quick-segments{display:flex;gap:4px;background:#f1f5e9;padding:3px;border:1px solid #e0e6d8;border-radius:10px}
.v4-quick-segments button{flex:1;border:0;border-radius:7px;background:none;color:#6b7b60;padding:6px 4px;font:400 12px/1.5 SiteUI,system-ui;cursor:pointer}
.v4-quick-segments button[aria-pressed=true]{background:#355d44;color:#fffefa;box-shadow:0 2px 4px #355d4415}
.v4-quick-segments button[hidden]{display:none}.v4-quick-model-caption{display:block;font-size:12px;color:#859079;margin:12px 0 6px}
.v4-direct-model-options{display:grid;gap:3px;max-height:230px;overflow:auto;overscroll-behavior:contain}
.v4-direct-model-option{display:flex;justify-content:space-between;align-items:center;gap:10px;background:transparent;border:0;color:#466044;padding:11px 10px;text-align:start;border-radius:9px;font:400 14px/1.5 SiteUI,system-ui;cursor:pointer}
.v4-direct-model-option:hover,.v4-direct-model-option[aria-pressed=true]{background:#ecf3e4;color:#355d44}.v4-direct-model-option:disabled{opacity:.4;cursor:not-allowed}
.v4-quick-key-change{display:block;width:100%;margin-top:10px;border:0;border-top:1px solid #e0e6d8;padding:10px 0 0;background:none;color:#7d885f;font:400 12px/1.5 SiteUI,system-ui;cursor:pointer}
@media(max-width:650px){body.v4-organized #form .mode-segments{min-height:53px!important}body.v4-organized #form .mode-segments button{height:41px!important;min-height:41px!important;padding:8px 12px!important;font-size:13px!important}body.v4-organized #form .mode-segments button:first-child{padding-inline:13px!important}body.v4-organized #form .mode-segments button svg{width:18px!important;height:18px!important}body.v4-organized #form .engine-bar{min-height:37px!important}body.v4-organized #form .v4-key-trigger{max-width:190px!important;font-size:11px!important}.v4-model-quick-top{font-size:12px}.v4-quick-segments button{font-size:11px}}
@media(prefers-reduced-motion:reduce){body.v4-organized #form .mode-segments button svg{transition:none!important}}
body.v4-organized #form .model-connection-state:not([hidden]){display:inline-flex!important;align-items:center;gap:5px}
body.v4-organized[data-ai-engine=local] #form .connection-guide-banner:not([hidden]){display:block!important}
body.v4-organized #form .v4-key-trigger span{display:inline!important;overflow:hidden;text-overflow:ellipsis;max-width:170px}
body.v4-organized #model-dialog .v4-direct-model-option{display:flex!important;background:transparent!important;color:#466044!important;border:0!important;box-shadow:none!important;border-radius:9px!important;padding:11px 10px!important;font:400 14px/1.5 SiteUI,system-ui!important;text-align:start!important;direction:ltr}
body.v4-organized #model-dialog .v4-direct-model-option:hover,body.v4-organized #model-dialog .v4-direct-model-option[aria-pressed=true]{background:#edf4e6!important;color:#355d44!important}
body.v4-organized #model-dialog .v4-quick-segments button{background:transparent!important;color:#78866a!important;border:0!important;box-shadow:none!important;border-radius:7px!important;padding:6px 4px!important;font:400 12px/1.5 SiteUI,system-ui!important}
body.v4-organized #model-dialog .v4-quick-segments button[aria-pressed=true]{background:#355d44!important;color:#fffefa!important;box-shadow:0 2px 4px #355d4415!important}
body.v4-organized #model-dialog .v4-quick-key-change{background:transparent!important;color:#7b845f!important;border:0!important;border-top:1px solid #e0e6d8!important;border-radius:0!important;padding:10px 0 0!important;box-shadow:none!important;font:400 12px/1.5 SiteUI,system-ui!important}
body.v4-organized #model-dialog .v4-dialog-close{background:#f1f4ea!important;color:#617451!important;border:0!important;border-radius:50%!important;padding:0!important;box-shadow:none!important}
body.v4-organized #form .mode-segments{flex-wrap:nowrap!important;flex-shrink:0!important}
body.v4-organized #form .mode-segments button{flex-shrink:0!important}
body.v4-organized #form #active-engine{max-width:110px!important}
body.v4-organized #form .engine-bar .model-connection-state{white-space:nowrap}
body.v4-organized #form .v4-guide-intro>strong{color:#7b602c!important}
@media(max-width:750px){body.v4-organized #form .mode-segments button{flex-shrink:1!important}body.v4-organized #form .v4-key-trigger span{max-width:165px}}
/* Search scope belongs next to witness breadth, with one compact source menu. */
body.v5-results #form .search-mode-row[hidden]{display:none!important}
body.v5-results #form .precision-control{padding:18px 20px!important;margin-top:20px!important}
body.v5-results .v5-witness-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:5px}
body.v5-results #form .v5-witness-heading>label{flex:1;margin:0!important;justify-content:flex-start!important;gap:14px!important;font-size:17px!important}
body.v5-results #form .v5-witness-heading output{margin-inline-start:0!important;font-size:15px!important}
body.v5-results #form .v5-witness-heading .search-customization{margin:0!important;flex:none;min-width:0!important;width:auto!important}
body.v5-results #form .v5-witness-heading .search-customization>summary{display:flex!important;align-items:center;gap:8px!important;min-height:43px!important;padding:8px 12px!important;background:#fffefa!important;border:1px solid #cddbc2!important;border-radius:12px!important;font-size:15px!important;box-shadow:0 2px 6px #355d4405!important}
.v5-witness-heading summary>svg{width:20px;height:20px;fill:none;stroke:#59724e;stroke-width:1.7}
body.v5-results #form .search-customization .result-filter-trigger{font-size:15px!important}
body.v5-results .search-customization-panel{border-radius:18px!important;padding:14px!important;box-shadow:0 14px 45px #355d4422!important;max-height:min(620px,calc(100dvh - 24px))!important}
body.v5-results .v4-source-tabs{position:sticky;top:-14px;z-index:2;background:#fffefa;padding-top:8px}
.v5-source-tools{display:flex;align-items:center;gap:8px}.v5-source-tools button{padding:6px 10px!important;min-height:34px!important;border-radius:9px!important;background:#edf3e6!important;color:#47633f!important;border:1px solid #dce6d4!important;font:400 14px/1.5 SiteUI,system-ui!important}.v5-source-count{margin-inline-end:auto;font:600 15px/1.5 Arial,system-ui;direction:ltr;color:#355d44}
body.v5-results .v4-source-panel #sources label{font-size:15px!important;padding:9px 10px!important;min-height:40px}.v4-source-panel #sources label[hidden]{display:none!important}
body.v5-results .results-dashboard{background:#f4f7ee!important;border:1px solid #d6e0ca!important;border-radius:22px!important;padding:20px!important;box-shadow:none!important;gap:0!important}
body.v5-results .results-dashboard .v4-active-query{font-size:17px!important;line-height:1.8!important;padding:0 0 12px!important;margin:0 0 12px!important;border-color:#e0e7d8!important}
body.v5-results .results-dashboard .resultsbar{display:flex!important;align-items:center!important;gap:14px!important;flex-wrap:wrap!important;border:0!important;margin:0!important;padding:0 0 12px!important}
body.v5-results #result-title{font:600 24px/1.5 SiteUI,system-ui!important;margin:0!important;margin-inline-end:auto!important;color:#35513d!important}
body.v5-results .results-dashboard .reading-size{margin:0!important;padding:4px!important;gap:4px!important;background:#fffefa!important;border:1px solid #d9e3ce!important;border-radius:11px!important}
body.v5-results .results-dashboard .reading-size>span{display:none!important}
body.v5-results .results-dashboard .reading-size button{padding:5px!important;min-width:33px!important;height:33px!important;border-radius:7px!important;font-size:17px!important;background:transparent!important}
body.v5-results #font-value{font:600 15px/1.5 Arial,system-ui!important}
body.v5-results .results-dashboard .diacritics-control{min-height:40px!important;border:0!important;border-radius:10px!important;padding:7px 10px!important;background:#fffefa!important;gap:8px!important;font-size:14px!important}
body.v5-results .results-dashboard #result-status{display:flex!important;align-items:center;gap:10px!important;border:0!important;background:transparent!important;padding:0 0 14px!important;margin:0!important;box-shadow:none!important;min-height:0!important}
body.v5-results .results-dashboard #result-status[hidden]{display:none!important}
body.v5-results #result-status .result-complete-icon{width:25px!important;height:25px!important;flex:none!important;font:700 15px/1 Arial,system-ui!important;background:#e4eedc!important;color:#426c3e!important;box-shadow:none!important}
body.v5-results #result-status[data-outcome=limited] .result-complete-icon,body.v5-results #result-status[data-outcome=partial] .result-complete-icon{background:#f4e8cb!important;color:#94712b!important}
body.v5-results .result-status-copy{display:flex!important;align-items:center;gap:14px;min-width:0;flex:1}
body.v5-results #search-complete{display:flex!important;align-items:center;flex-wrap:wrap;gap:12px!important;font-size:16px!important;line-height:1.7!important}
body.v5-results #search-complete[hidden]{display:none!important}
body.v5-results .result-completion-label{font-size:16px!important;font-weight:500!important}
body.v5-results .result-time-metric{display:inline-flex!important;align-items:baseline;gap:5px;direction:ltr;background:#fffefa;border:1px solid #dae5d1;padding:3px 9px;border-radius:8px;white-space:nowrap}
body.v5-results .result-time-metric strong{font:600 19px/1.4 Arial,system-ui!important;color:#355d44!important}
body.v5-results .result-time-metric span{font-size:14px!important}
body.v5-results #result-status.is-complete #message{display:none!important}
.v5-search-details{position:relative;flex:none;margin-inline-start:auto}.v5-search-details>summary{list-style:none;cursor:pointer;color:#75836b;font:400 14px/1.6 SiteUI,system-ui;white-space:nowrap;text-decoration:underline;text-decoration-color:#bdcbb1;text-underline-offset:4px}.v5-search-details>summary::-webkit-details-marker{display:none}.v5-search-details>div{position:absolute;z-index:35;inset-inline-end:0;top:calc(100% + 9px);width:min(480px,calc(100vw - 45px));max-height:420px;overflow:auto;padding:18px;background:#fffefa;border:1px solid #d3dfc6;border-radius:14px;box-shadow:0 12px 40px #355d4425;box-sizing:border-box;font-size:14px;line-height:1.9}.v5-search-details:not([open])>div{display:none}.v5-search-details #plan{border:0!important;background:none!important;padding:0!important;margin:0!important}.v5-search-details #plan>summary{display:none!important}.v5-search-details #plan-body p{font-size:14px!important}.v5-search-details #plan-body .pill{font-size:14px!important}
body.v5-results .results-dashboard .display-filters{background:transparent!important;border:0!important;border-top:1px solid #dbe5cf!important;border-radius:0!important;padding:14px 0 0!important;margin:0!important}
body.v5-results .display-filter-head{display:grid!important;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;align-items:center!important;gap:16px!important;margin-bottom:14px!important}
body.v5-results .display-filter-head>strong{grid-column:1!important;display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:14px!important;font-weight:400!important}
body.v5-results #display-count{display:inline-flex;align-items:baseline;gap:7px;font-size:14px!important;white-space:nowrap}
body.v5-results #display-count strong{font:600 21px/1.4 Arial,system-ui!important;color:#355d44!important;min-width:0!important}
body.v5-results .result-count-label,.result-total-number{font-size:14px!important;color:#7c8871!important}
body.v5-results .display-filter-head .result-view-options{grid-column:2!important;grid-row:1!important;justify-self:center;display:flex!important;gap:3px!important;padding:3px!important;border:1px solid #d3dfc6!important;background:#fffefa!important;border-radius:11px!important;width:auto!important}
body.v5-results .result-view-options button{display:flex!important;align-items:center;gap:6px!important;padding:7px 10px!important;height:36px!important;min-height:36px!important;border-radius:8px!important;min-width:64px!important;font-size:14px!important;background:transparent!important;color:#74866a!important;border:0!important;box-shadow:none!important}
body.v5-results .result-view-options button[aria-pressed=true]{background:#355d44!important;color:#fffefa!important}
body.v5-results .result-view-options svg{width:17px!important;height:17px!important}
body.v5-results .result-sort-field{grid-column:3!important;grid-row:1!important;justify-self:end;display:flex!important;align-items:center;gap:8px!important;white-space:nowrap;font-size:14px!important;color:#7c8871!important}
body.v5-results .result-sort-field select{font:400 14px/1.6 SiteUI,system-ui!important;max-width:160px;min-width:0;padding:7px 9px!important;border:1px solid #d2dfc5!important;border-radius:10px!important;background:#fffefa!important;color:#46633f!important}
body.v5-results .result-filter-row{display:grid!important;grid-template-columns:minmax(145px,.8fr) minmax(145px,.8fr) minmax(260px,1.7fr)!important;gap:16px!important;align-items:center!important}
body.v5-results .result-filter-row .result-filter-caption{font-size:14px!important;margin:0 0 7px!important}
body.v5-results .result-filter-row .result-filter-trigger{min-height:44px!important;height:44px!important;padding:8px 11px!important;border-radius:11px!important;font-size:15px!important;background:#fffefa!important;white-space:nowrap}
body.v5-results .result-filter-row .result-precision-control{padding:0!important;margin:0!important;min-width:0!important}
body.v5-results .result-precision-control>div:first-child{display:flex!important;justify-content:space-between;align-items:center;font-size:14px!important}
body.v5-results .result-precision-control label,body.v5-results .result-precision-control output{font-size:14px!important}
body.v5-results #display-precision{margin:18px 0!important;width:100%!important}
body.v5-results .result-precision-ends{font-size:14px!important;margin:0!important}
body.v5-results .result-filter-note{display:none!important}
body.v5-results .result-card{border-radius:19px!important;padding:20px!important;margin-top:14px!important}
body.v5-results .result-card-top{gap:10px!important;margin-bottom:12px!important}
body.v5-results .result-card .reference{font-size:16px!important}.v5-results .result-relevance{font-size:14px!important;padding:4px 8px!important}
body.v5-results .v4-result-index{font:600 15px/1 Arial,system-ui!important;min-width:28px;height:28px!important}
body.v5-results .result-font-tools{display:none!important}
body.v5-results .search-overview{padding:14px 18px!important;border:1px solid #e4d6ba!important;border-radius:16px!important;background:#fbf6eb!important;margin:16px 0!important;box-shadow:none!important}
body.v5-results .search-overview>.overview-heading{cursor:pointer;list-style:none;display:flex!important;align-items:center;gap:9px!important;margin:0!important}
body.v5-results .search-overview>.overview-heading h3{font:500 17px/1.6 SiteUI,system-ui!important;margin:0!important}
body.v5-results .search-overview>.overview-heading small{display:none!important}
body.v5-results .search-overview>.overview-heading:after{content:'⌄';margin-inline-start:auto;color:#998556;font-size:18px}
body.v5-results .search-overview:not([open])>:not(summary){display:none!important}
body.v5-results .search-overview .overview-body{margin-top:14px}
@media(max-width:850px){body.v5-results .display-filter-head{grid-template-columns:1fr 1fr!important;gap:12px!important}body.v5-results .display-filter-head>strong{grid-column:1/-1!important;grid-row:1!important;justify-content:center}body.v5-results .display-filter-head .result-view-options{grid-column:1!important;grid-row:2!important;justify-self:start}body.v5-results .result-sort-field{grid-column:2!important;grid-row:2!important}body.v5-results .result-filter-row{grid-template-columns:1fr 1fr!important;gap:12px!important}body.v5-results .result-precision-control{grid-column:1/-1!important}body.v5-results .result-status-copy{flex:1}body.v5-results .v5-search-details{margin-inline-start:0}}
@media(max-width:550px){body.v5-results #form .precision-control{padding:14px!important}body.v5-results .v5-witness-heading{gap:10px;flex-wrap:wrap}body.v5-results #form .v5-witness-heading>label{font-size:16px!important;min-width:0}body.v5-results #form .v5-witness-heading output{font-size:14px!important}body.v5-results #form .v5-witness-heading .search-customization>summary{padding:7px 9px!important}body.v5-results .results-dashboard{padding:14px!important;border-radius:17px!important}body.v5-results #result-title{font-size:21px!important}body.v5-results .results-dashboard .resultsbar{gap:9px!important}body.v5-results .results-dashboard .diacritics-control{padding:5px!important}body.v5-results #result-status{flex-wrap:wrap!important}body.v5-results .result-status-copy{flex-basis:80%}body.v5-results .v5-search-details{margin-inline-start:35px}body.v5-results .result-sort-field{gap:5px!important;flex-wrap:wrap}body.v5-results .result-sort-field select{max-width:150px}body.v5-results .result-card{padding:16px!important}.v5-search-details>div{position:fixed;left:12px;right:12px;top:20vh;width:auto;max-height:65vh}}
body.v5-results .v5-search-details .service-detail{padding:10px;background:#fff5e3;border-radius:9px;color:#806333;overflow-wrap:anywhere}
body.v5-results #form .model-control-strip .v4-key-trigger{font-size:14px!important;max-width:200px!important;min-height:34px!important;height:34px!important}
body.v5-results #form .model-control-strip .engine-bar{min-height:48px!important}
body.v5-results #form .model-control-strip .model-connection-state{font-size:14px!important}
body.v5-results #form .model-control-strip{max-width:48%!important}
body.v5-results #form .v4-floating-controls{gap:12px!important}
body.v5-results #form #active-engine{font-size:14px!important}
@media(max-width:1000px){body.v5-results #form{padding-top:115px!important}body.v5-results #form .v4-floating-controls{display:grid!important;grid-template-columns:1fr;gap:10px!important;top:-27px!important}body.v5-results #form .model-control-strip{max-width:100%!important;justify-self:start}body.v5-results #form .mode-segments{max-width:100%!important}body.v5-results #form .engine-bar{flex-wrap:wrap!important}body.v5-results #form .v4-key-trigger span{max-width:165px!important}}
@media(max-width:550px){body.v5-results .display-filter-head{grid-template-columns:auto minmax(0,1fr)!important;gap:10px!important}body.v5-results .display-filter-head .result-view-options{justify-self:center!important}body.v5-results .result-view-options button{min-width:39px!important;width:39px!important;padding:6px!important;gap:0!important}body.v5-results .result-view-options button span{display:none!important}body.v5-results .result-sort-field{min-width:0!important;width:100%!important;flex-wrap:nowrap!important}body.v5-results .result-sort-caption{display:none!important}body.v5-results .result-sort-field select{width:100%!important;max-width:none!important;min-width:0!important;box-sizing:border-box}body.v5-results .results-dashboard .resultsbar{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important}body.v5-results #result-title{grid-column:1;font-size:21px!important;text-align:start!important}body.v5-results #result-tools{grid-column:2}body.v5-results .diacritics-control{grid-column:1/-1;justify-self:start;margin:0!important}body.v5-results #form .v5-witness-heading>label{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:4px!important}body.v5-results #form .v5-witness-heading output{padding:2px 5px!important;min-width:0!important}body.v5-results #form .v5-witness-heading .search-customization>summary{font-size:14px!important}body.v5-results #form .v5-witness-heading{flex-wrap:nowrap!important}}
@media(max-width:550px){body.v5-results .chat-widget #chat-widget-toggle{width:48px!important;min-width:48px!important;height:48px!important;min-height:48px!important;padding:10px!important;border-radius:50%!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:0!important}body.v5-results #chat-widget-toggle .mini-chat-label{display:none!important}body.v5-results #chat-widget-toggle svg{width:28px!important;height:28px!important}body.v5-results .back-top{width:43px!important;height:43px!important;min-width:43px!important;padding:6px!important;box-sizing:border-box!important;border-radius:50%!important}body.v5-results .back-top span:last-child{display:none!important}body.v5-results .back-top span:first-child{font-size:23px!important}body.v5-results .workspace{padding-bottom:80px!important}}

/* Compact Arabic search scope and opaque model controls. */
body.v4-organized #form .engine-bar,body.v4-organized #form .engine-bar :is(button:disabled,select:disabled){opacity:1!important}
body.v4-organized #form .engine-bar{background:#fffefa!important}
body.v5-results #form .precision-control{padding:12px 16px!important;margin-top:12px!important}
body.v5-results #form .v5-witness-heading{gap:12px;margin-bottom:0}
body.v5-results #form .v5-witness-heading output{font:700 18px/1.4 Arial,system-ui!important;color:#355d44!important;padding:3px 9px!important}
body.v5-results #form #precision{margin:15px 0 7px!important}
body.v5-results #form .precision-ends{margin-top:4px!important;font-size:14px!important;line-height:1.5!important}
body.v5-results #form #precision-help{font-size:14px!important;line-height:1.6!important;margin:7px 0 0!important;color:#65735d!important}
body.v5-results #form .v5-witness-heading .search-customization>summary{min-height:38px!important;padding:5px 10px!important;background:#edf2e7!important;border-color:#d3ddc9!important;box-shadow:none!important;border-radius:10px!important}
body.v5-results #form .search-customization>summary .result-filter-trigger{border:0!important;background:transparent!important;padding:0!important;min-height:0!important;height:auto!important;box-shadow:none!important;border-radius:0!important;gap:8px!important}
body.v5-results #form .search-customization[open]>summary{background:#355d44!important;border-color:#355d44!important;color:#fffefa!important}
body.v5-results #form .search-customization[open]>summary :is(span,svg){color:#fffefa!important;stroke:currentColor!important}
body.v5-results .search-customization-panel{padding:12px!important;border-radius:16px!important;background:#fffefa!important;box-sizing:border-box!important}
body.v5-results .v4-source-tabs{gap:4px!important;top:-12px;padding:3px!important;border:1px solid #dce4d3;border-radius:11px;background:#eff3e9!important}
body.v5-results .v4-source-tabs button{min-height:36px!important;padding:6px 8px!important;border-radius:8px!important;font-size:14px!important;background:transparent!important;color:#607457!important;border:1px solid transparent!important}
body.v5-results .v4-source-tabs button[aria-selected=true]{background:#355d44!important;color:#fffefa!important;box-shadow:0 2px 4px #355d441a!important}
body.v5-results .v4-source-panel{gap:9px!important}
body.v5-results #source-panel-local>input[type=search]{height:38px!important;min-height:38px!important;margin:0!important;padding:7px 10px!important;font-size:15px!important;border-radius:9px!important}
body.v5-results #source-panel-local>.row:not(#sources){display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;margin:0!important}
body.v5-results #source-panel-local>.row:not(#sources)>label{display:grid!important;gap:4px!important;min-width:0!important;font-size:14px!important}
body.v5-results .search-customization-panel .inline-select-picker .result-filter-trigger{height:38px!important;min-height:38px!important;padding:6px 9px!important;font-size:14px!important;box-shadow:none!important;background:#f5f7f0!important}
body.v5-results .v4-source-panel #sources{grid-template-columns:1fr 1fr!important;gap:6px!important}
body.v5-results .v4-source-panel #sources label{box-sizing:border-box!important;min-height:39px!important;padding:7px 8px!important;gap:7px!important;font-size:15px!important;line-height:1.45!important;background:#fafbf7!important;border:1px solid #e0e5d9!important;border-radius:9px!important;color:#65725b!important}
body.v5-results .v4-source-panel #sources label:has(input:checked){background:#e7efdf!important;border-color:#719061!important;color:#284d35!important;font-weight:600!important}
body.v5-results .v4-source-panel input[type=checkbox]{appearance:none!important;-webkit-appearance:none!important;display:inline-grid!important;place-content:center;width:19px!important;height:19px!important;min-width:19px!important;margin:0!important;border:1.5px solid #9aaa90!important;border-radius:5px!important;background:#fffefa!important;opacity:1!important;cursor:pointer}
body.v5-results .v4-source-panel input[type=checkbox]:checked{background:#355d44!important;border-color:#355d44!important}
body.v5-results .v4-source-panel input[type=checkbox]:checked:after{content:'';width:9px;height:5px;border:solid white;border-width:0 0 2px 2px;transform:rotate(-45deg);margin-top:-2px}
body.v5-results .v4-source-panel input[type=checkbox]:focus-visible{outline:3px solid #c5ad71;outline-offset:2px}
body.v5-results .v4-source-cost{flex-basis:100%;font-size:14px!important;background:transparent!important;padding:0!important;margin:0!important;color:#8b7444!important}
body.v5-results .v5-source-count{font-size:19px!important;font-weight:700!important}
body.v5-results :is(.result-shown-number,.result-loaded-number){font-size:27px!important;line-height:1.25!important}
body.v5-results .result-time-metric strong{font-size:21px!important}
body.v5-results #font-value{font-size:19px!important}
body.v5-results .v4-result-index{font-size:19px!important;min-width:30px!important}
@media(max-width:550px){body.v5-results #form .precision-control{padding:12px!important}body.v5-results #form .v5-witness-heading output{font-size:17px!important}body.v5-results .v4-source-panel #sources label{font-size:14px!important}body.v5-results #form .v5-witness-heading>label{gap:3px!important}}

body.v5-results #source-panel-local>.row:not(#sources) .inline-select-picker{width:100%!important;min-width:0!important}
body.v5-results .v5-source-count{unicode-bidi:isolate!important;direction:ltr!important;white-space:nowrap}
/* Restore full guidance; reduce spacing rather than the meaning. */
body.v5-results #form .v5-witness-heading>label{font:600 18px/1.6 SiteUI,system-ui!important;color:#596f4e!important}
body.v5-results #form #precision-help{display:block!important;font:400 14px/1.8 SiteUI,system-ui!important;margin:8px 0 0!important}
body.v5-results #form #precision-help span{display:block!important;margin-top:2px!important;color:#7a806d!important}
.v6-range-track{position:relative;width:100%;margin:15px 0 7px}
body.v4-organized .v6-range-track :is(#precision,#display-precision){display:block!important;width:100%!important;margin:0!important}
.v6-range-number{position:absolute;top:50%;transform:translate(-50%,-50%);width:28px;height:28px;display:flex;align-items:center;justify-content:center;pointer-events:none;font:600 18px/1 SiteUI,system-ui!important;color:#355d44;direction:rtl;text-align:center;z-index:1}
body.v5-results .result-precision-control .v6-range-track{margin:12px 0!important}
body.v5-results #form .v5-witness-heading output,body.v5-results #font-value,body.v5-results .v5-source-count,body.v5-results .result-time-metric strong,body.v5-results .v4-result-index{font-family:SiteUI,system-ui!important}
body.v5-results .results-dashboard .v4-active-query{font:600 23px/1.8 SiteUI,system-ui!important;color:#355d44!important;padding-bottom:12px!important}
body.v5-results #result-title{margin:0!important;white-space:nowrap}
body.v5-results .results-dashboard .resultsbar{gap:12px!important;flex-wrap:wrap!important}
body.v5-results .results-dashboard .resultsbar>#result-status{flex:1;min-width:230px!important;padding:0!important;gap:10px!important}
body.v5-results #result-status .result-complete-icon{width:38px!important;height:38px!important;display:flex!important;align-items:center;justify-content:center;border-radius:12px!important;background:#355d44!important;color:#fffefa!important;font:600 25px/1 SiteUI,system-ui!important;box-shadow:0 3px 8px #355d441a!important}
body.v5-results #search-complete{gap:8px!important;font-size:15px!important}
body.v5-results .result-status-copy{gap:8px!important}
body.v5-results .result-time-metric{padding:3px 8px!important;border-radius:9px!important;white-space:nowrap}
body.v5-results .v5-search-details{margin:0!important}
@media(max-width:650px){body.v5-results .results-dashboard .resultsbar{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important}body.v5-results .resultsbar>#result-status{grid-column:1/-1!important;grid-row:2!important;min-width:0!important}body.v5-results #result-status .result-status-copy{flex-basis:auto!important}body.v5-results .results-dashboard .diacritics-control{grid-row:3!important}body.v5-results .results-dashboard .v4-active-query{font-size:21px!important}body.v5-results #form .v5-witness-heading>label{font-size:18px!important}}
body.v5-results :is(.result-shown-number,.result-loaded-number,.result-time-metric strong,.v6-range-number),body.v5-results #form .v5-witness-heading output{font-weight:700!important}
body.v5-results .v4-result-index{font-weight:400!important}
body.v5-results .v5-source-count{font-weight:500!important;direction:rtl!important}
/* Content-sized source rows: long titles never overlap their neighbours. */
body.v5-results .v4-source-tabs{position:static!important;top:auto!important}
body.v5-results .v4-source-panel #sources{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-rows:auto!important;align-items:stretch!important;height:auto!important;max-height:none!important}
body.v5-results .v4-source-panel #sources>label{display:grid!important;grid-template-columns:19px minmax(0,1fr)!important;grid-template-rows:auto!important;align-content:center!important;align-items:center!important;gap:5px 7px!important;min-width:0!important;height:auto!important;max-height:none!important;position:static!important;transform:none!important;margin:0!important}
body.v5-results .v6-source-name{min-width:0;white-space:normal!important;overflow-wrap:break-word;line-height:1.65!important}
body.v5-results .v4-source-panel #sources>label .v4-source-cost{grid-column:2!important;line-height:1.55!important}

.v6-range-number{box-sizing:border-box;padding-top:4px}
/* Quran results use the actual Mushaf page glyphs, with canonical accessible text. */
.qpc-ready{font-family:inherit!important;font-weight:400!important;line-height:2.35!important}
.qpc-verse-glyphs{direction:rtl;font-size:1em;letter-spacing:0;word-spacing:0;user-select:none}
.qpc-result-word{display:inline-block;font-size:1em;line-height:inherit;font-weight:400;white-space:nowrap;margin-inline-end:.07em}
.qpc-canonical-text{position:absolute!important;clip-path:inset(50%);width:1px;height:1px;overflow:hidden;white-space:nowrap}
body.v7-results .result-card .result-verse-wrap{position:relative;min-width:0}
body.v7-results .result-verse-wrap>.verse,body.v7-results .result-verse-wrap>.result-passage{display:block!important;max-height:none!important;overflow:visible!important;margin:12px 0 4px!important;font-size:calc(29px * var(--reading-scale,1))!important;line-height:2.2!important;-webkit-line-clamp:unset!important}
body.v7-results .result-verse-wrap>.result-passage{font:400 calc(19px * var(--reading-scale,1))/2 SiteUI,system-ui!important}
body.v7-results .result-has-long-text:not(.result-text-expanded) .result-verse-wrap>.verse,body.v7-results .result-has-long-text:not(.result-text-expanded) .result-verse-wrap>.result-passage{display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:6!important;overflow:hidden!important;max-height:none!important}
body.v7-results .result-note-inline{display:inline-flex!important;vertical-align:middle;align-items:center;justify-content:center;width:32px!important;height:32px!important;min-height:32px!important;padding:5px!important;margin-inline:5px!important;border:1px solid #c9d7bb!important;border-radius:9px!important;background:#f5f7ee!important;color:#597246!important;line-height:1!important}
.result-note-inline svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5}
body.v7-results .result-expand{display:inline-flex!important;align-items:center!important;min-height:32px!important;padding:4px 9px!important;margin:4px 0!important;font-size:14px!important}
body.v7-results .result-expand[hidden]{display:none!important}
body.v7-results .result-card-foot{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;padding-top:10px!important}
body.v7-results .result-card-foot .v4-copy-verse{margin-inline-start:auto!important;width:33px!important;height:33px!important;min-height:33px!important;padding:6px!important}
body.v7-results .result-card-foot .v4-copy-verse svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6}
body.v7-results .result-card[data-relevance=direct]{border-inline-start:4px solid #35745a!important;background:#f3f8ef!important}
body.v7-results .result-card[data-relevance=related]{border-inline-start:4px solid #67899a!important;background:#f4f8f9!important}
body.v7-results .result-card[data-relevance=expanded]{border-inline-start:4px solid #b09658!important;background:#fbf8ef!important}
body.v7-results .result-card[data-relevance=direct] .result-relevance{background:#dcebd6!important;color:#2e6246!important}
body.v7-results .result-card[data-relevance=related] .result-relevance{background:#e1edf0!important;color:#45697b!important}
body.v7-results .result-card[data-relevance=expanded] .result-relevance{background:#f1e8d3!important;color:#8a6c30!important}
body.v7-results #result-title,body.v7-results #result-status,body.v7-results .v5-search-details{display:none!important}
body.v7-results .v7-results-dashboard[hidden]{display:none!important}
body.v7-results .v7-query-heading{display:flex;align-items:center;gap:12px;min-width:0}
body.v7-results .v7-query-heading .v4-active-query{flex:1;min-width:0;margin:0!important;padding:0!important;border:0!important;font:600 24px/1.8 SiteUI,system-ui!important;overflow-wrap:anywhere}
.v7-query-icon{display:flex;align-items:center;justify-content:center;flex:0 0 38px;width:38px;height:38px;border-radius:12px;background:#355d44;color:#fffefa}
.v7-query-icon svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.v7-query-heading.is-loading .v7-query-icon{background:#edf2e4;color:#6c814e}
.v7-query-heading.is-loading .v7-query-icon svg{animation:v7-spin 1s linear infinite}
.v7-query-heading.is-loading circle{opacity:.2}
@keyframes v7-spin{to{transform:rotate(360deg)}}
.v7-search-time{font:600 17px/1.5 SiteUI,system-ui;color:#355d44;white-space:nowrap;padding:4px 7px;border-radius:9px;background:#fffefa}
.v7-search-time:empty{display:none}
.v7-search-meta{font:400 14px/1.65 SiteUI,system-ui;color:#7b8473;margin:5px 50px 9px 0}
body.v7-results .results-dashboard .resultsbar{display:flex!important;justify-content:flex-end!important;gap:9px!important;padding:3px 0 9px!important;border-bottom:1px solid #e0e6d5!important;margin-bottom:9px!important}
body.v7-results .results-dashboard .diacritics-control{grid-column:auto!important;grid-row:auto!important}
body.v7-results .results-dashboard .reading-size{padding:2px!important}
body.v7-results .display-filter-head{margin-bottom:10px!important;gap:10px!important}
body.v7-results :is(.result-shown-number,.result-loaded-number){font-size:23px!important}
body.v7-results .result-filter-row{gap:12px!important}
body.v7-results .result-precision-control>div{align-items:center!important}
body.v7-results .result-precision-control output{white-space:nowrap!important;font-size:14px!important}
.overview-connection{font:400 16px/1.9 SiteUI,system-ui;color:#53664b}
.overview-regenerate{display:inline-flex;align-items:center;min-height:36px;margin-top:12px;padding:7px 12px;border:1px solid #cbd8bf;border-radius:10px;background:#f4f7ed;color:#355d44;font:400 15px/1.5 SiteUI,system-ui}
@media(max-width:650px){body.v7-results .results-dashboard{padding:14px!important}body.v7-results .v7-query-heading{gap:8px;flex-wrap:wrap}body.v7-results .v7-query-heading .v4-active-query{font-size:21px!important;flex-basis:calc(100% - 50px)}.v7-search-time{margin-inline-start:46px;font-size:16px;padding:2px 6px}.v7-search-meta{margin-inline-start:46px;margin-inline-end:0;margin-top:4px}.v7-query-icon{flex-basis:34px;width:34px;height:34px;border-radius:10px}body.v7-results .resultsbar .reading-size{margin-inline-start:auto!important}body.v7-results .display-filter-head{grid-template-columns:1fr auto!important}body.v7-results .display-filter-head>strong{grid-column:1!important;grid-row:1!important;justify-content:flex-start!important;font-size:14px!important;gap:5px!important}body.v7-results .display-filter-head .result-view-options{grid-column:2!important;grid-row:1!important}body.v7-results .result-sort-field{grid-column:1/-1!important;grid-row:2!important}body.v7-results .result-filter-row{gap:9px!important}body.v7-results .result-filter-trigger{font-size:14px!important;padding:7px 9px!important}body.v7-results .result-verse-wrap>.verse{font-size:calc(27px * var(--reading-scale,1))!important}}
@media(prefers-reduced-motion:reduce){.v7-query-heading.is-loading .v7-query-icon svg{animation:none}}
body.v7-results .results-dashboard #result-status{display:none!important}
.v7-query-heading.is-error .v7-query-icon{background:#f4e6d1;color:#92723a}
.result-repeat-references{font:400 14px/1.7 SiteUI,system-ui;color:#728465;position:relative}
.result-repeat-references summary{cursor:pointer}
.result-repeat-references a{display:block;padding:4px 0;font-size:14px!important}
.summary-regenerate-icon{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important;padding:6px!important;flex:none;border:1px solid #d9cfaf!important;border-radius:10px!important;background:#fffaf0!important;color:#9b803f!important;box-shadow:none!important;cursor:pointer}
.summary-regenerate-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.summary-regenerate-icon:hover{background:#f1e7cb!important}
.summary-regenerate-icon:disabled{opacity:.6!important}
.summary-regenerate-row{display:flex;justify-content:flex-end;margin-top:8px}
body.v7-results .overview-heading{display:flex!important;align-items:center!important;gap:10px!important}
body.v7-results .overview-heading>div{flex:1;min-width:0}
body.v7-results .overview-heading>.summary-regenerate-icon{margin-inline-start:auto!important}
body.v7-results .overview-heading .summary-regenerate-icon svg{width:19px!important;height:19px!important}
html,body{scroll-snap-type:none!important}
body.home-scenes .home-search-scene{padding-top:30px!important;padding-bottom:45px!important}
.search-entry-invitation{width:100%;max-width:1160px;margin:0 auto 64px;min-height:0}
body.home-scenes .entry-install-banner{position:relative;display:grid!important;grid-template-columns:155px minmax(0,1fr) auto!important;align-items:center;gap:22px!important;padding:21px 27px!important;margin:0!important;border-radius:23px!important;background:linear-gradient(120deg,#fffaf0,#f5f6ed)!important;border:1px solid #dfd9bd!important;box-shadow:0 10px 30px #355d4406!important;max-height:260px;opacity:1;transition:opacity .25s,transform .25s,max-height .25s,padding .25s}
body.home-scenes .entry-install-banner>img{display:block!important;width:155px!important;height:68px!important;object-fit:contain!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important}
body.home-scenes .entry-install-banner .install-banner-copy strong{font:500 20px/1.7 SiteUI,system-ui!important}
body.home-scenes .entry-install-banner .install-banner-copy p{font:400 15px/1.8 SiteUI,system-ui!important;margin:2px 0 0!important}
body.home-scenes .entry-install-banner .install-banner-copy>a{display:none!important}
body.home-scenes .entry-install-banner>[data-install]{font-size:16px!important;padding:10px 15px!important;min-height:42px!important;margin:12px 0 0!important}
body.home-scenes .entry-install-banner .install-dismiss{position:absolute!important;left:8px!important;right:auto!important;top:5px!important;width:25px!important;height:25px!important;padding:0!important;font-size:20px!important;border:0!important;background:transparent!important;color:#9c987e!important;line-height:1!important}
body.home-scenes .entry-install-banner.is-dismissing{opacity:0;transform:translateY(-5px);max-height:0!important;padding-block:0!important;overflow:hidden}
@media(max-width:650px){.search-entry-invitation{margin-bottom:48px}body.home-scenes .home-search-scene{padding-top:24px!important}body.home-scenes .entry-install-banner{grid-template-columns:100px minmax(0,1fr)!important;gap:11px!important;padding:18px!important;border-radius:20px!important}body.home-scenes .entry-install-banner>img{width:100px!important;height:52px!important}body.home-scenes .entry-install-banner .install-banner-copy strong{font-size:17px!important}body.home-scenes .entry-install-banner .install-banner-copy p{font-size:14px!important}body.home-scenes .entry-install-banner>[data-install]{grid-column:1/-1;justify-self:end;margin:0!important;font-size:15px!important;padding:8px 12px!important;min-height:39px!important}}
.model-audit{padding-top:12px;margin-top:10px;border-top:1px solid #dce4d3;font:400 14px/1.8 SiteUI,system-ui}
.model-audit>summary{cursor:pointer;color:#7f713f;font-size:14px}
.model-audit>p{font-size:14px;color:#849075;margin:8px 0}
.model-audit button{font:400 14px/1.5 SiteUI,system-ui;padding:7px 10px;border:1px solid #d4ddca;border-radius:9px;background:#f3f6ed;color:#355d44}
.model-audit-row{padding:9px 0;border-bottom:1px solid #edf0e7;display:grid;gap:4px}
.model-audit-row strong{font:500 14px/1.5 SiteUI,system-ui;direction:ltr;text-align:start;overflow-wrap:anywhere}
.model-audit-row span,.model-audit-row p{font-size:14px;color:#768466;margin:0;overflow-wrap:anywhere}
/* Two complementary search states; each detail has one home. */
body.v8-search-busy .results-dashboard,body.v8-search-busy #results.loading{display:none!important}
body.v8-search-busy .v4-query-clear{display:none!important}
body.v8-search-busy .searchrow{flex-wrap:wrap;row-gap:8px}
.v8-inline-search-status{flex:0 0 100%;display:flex;align-items:center;gap:10px;padding:0 8px 4px;color:var(--green,#315b43)}
.v8-inline-search-status[hidden]{display:none!important}
.v8-inline-search-status .search-activity-mark{width:30px;height:30px;flex:0 0 30px;font-size:20px}
.v8-inline-search-status .search-activity-copy{flex:1;min-width:0;gap:4px}
.v8-inline-search-status .search-activity-copy>strong{display:none}
.v8-inline-search-status #search-stage{font-size:15px;line-height:1.6}
.v8-inline-search-status #search-elapsed{font-size:17px;font-weight:700;white-space:nowrap;min-width:70px;text-align:center}
body.v8-search-busy #search-progress{display:block!important;padding:18px 24px!important;margin-top:16px!important}
body.v8-search-busy #search-progress .search-remembrance{margin:0!important;padding-top:0!important;border-top:0!important}
@media(max-width:600px){.v8-inline-search-status{padding:0;gap:7px}.v8-inline-search-status #search-stage{font-size:14px}.v8-inline-search-status #search-elapsed{font-size:16px;min-width:60px}body.v8-search-busy #search-progress{padding:16px!important}}
body.v4-organized.v8-search-busy #form .searchrow{flex-wrap:wrap!important;row-gap:8px!important}
body.v8-search-busy .v8-inline-search-status{min-width:0;box-sizing:border-box;max-width:100%}
body.v8-search-busy .v8-inline-search-status .search-activity-copy{overflow-wrap:anywhere}
/* Direct provider choice and a two-step connection. */
.v9-engine-tabs{display:flex;gap:3px;align-items:center;min-width:0;padding:3px;background:#eef3e8;border-radius:11px}
body.v4-organized .v9-engine-tab{display:flex!important;align-items:center;justify-content:center;min-width:58px!important;padding:7px 10px!important;margin:0!important;border:1px solid transparent!important;border-radius:8px!important;background:transparent!important;cursor:pointer;box-shadow:none!important;font-size:15px!important;line-height:1.5!important;white-space:nowrap}
.v9-engine-tab input{position:absolute;opacity:0;pointer-events:none;width:1px!important;height:1px!important}.v9-engine-tab small,.v9-engine-tab>svg{display:none!important}
body.v4-organized .v9-engine-tab:has(input:checked){background:#315b43!important;color:#fff!important;border-color:#315b43!important;box-shadow:0 2px 5px #315b4322!important}.v9-engine-tab strong{font:500 15px/1.5 SiteUI,system-ui!important;color:inherit!important}.v9-engine-tab:focus-within{outline:2px solid #b49a55;outline-offset:2px}
body.home-scenes .v9-direct-engines #engine-panel{flex:0 0 28px!important;width:28px!important;min-width:28px!important}
body.home-scenes .v9-direct-engines #engine-panel>summary>:not(.v9-more-engines){display:none!important}.v9-more-engines{font-size:23px;letter-spacing:1px;color:#7b896d}.v9-direct-engines .v4-external-provider{display:none!important}
body.v4-organized #key-dialog .api-fields{display:block!important}body.v4-organized #key-dialog .v4-key-field,body.v4-organized #key-dialog .v4-get-key{display:flex!important;box-sizing:border-box!important;width:100%!important;max-width:none!important;margin-inline:0!important}body.v4-organized #key-dialog .v4-key-field{flex-direction:column;align-items:stretch!important;gap:9px;padding:14px!important;background:#f3f6ed;border:1px solid #d8e1cb;border-radius:14px;margin-top:14px!important;font-size:16px!important}body.v4-organized #key-dialog #api-key{width:100%!important;box-sizing:border-box!important;min-height:49px!important;direction:ltr;text-align:left;font:400 16px/1.7 SiteUI,system-ui!important}body.v4-organized #key-dialog .v4-get-key{min-height:64px!important;padding:15px!important;font-size:16px!important}
.v9-search-folded #form,.v9-search-folded .search-entry-invitation{display:none!important}
.v9-new-search{width:100%;display:flex;align-items:center;gap:12px;box-sizing:border-box;padding:17px 22px!important;background:#fffdf6!important;color:#315b43!important;border:1px solid #d8dfca!important;border-radius:17px!important;box-shadow:0 5px 20px #34482d08;font:400 16px/1.7 SiteUI,system-ui!important;text-align:right;cursor:pointer}.v9-new-search[hidden]{display:none!important}.v9-new-search>svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.7}.v9-new-search strong{font-size:18px}.v9-new-search>span:last-child{margin-inline-start:auto;font-size:23px;color:#a78c48}.v9-new-search>span:not(:last-child){color:#7f8b74;font-size:14px}.v9-search-folded{padding-bottom:10px!important}
body.v7-results .v9-compact-results{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:7px 18px;padding:22px!important}
body.v7-results .v9-compact-results[hidden]{display:none!important}body.v7-results .v9-compact-results .v7-query-heading{grid-column:1/-1;margin:0!important;gap:12px!important}.v9-compact-results .v7-query-heading .v4-active-query{font-size:clamp(23px,2.2vw,34px)!important}.v9-compact-results .v7-search-meta{grid-column:1;grid-row:2;margin:0!important;font-size:14px!important}.v9-compact-results #result-tools{grid-column:2;grid-row:2;align-self:center;margin:0!important}.v9-compact-results .resultsbar{display:none!important}.v9-compact-results #display-filters{grid-column:1/-1;border-top:1px solid #dce4d1;padding-top:13px!important;margin-top:6px!important}
body.v7-results .v9-compact-results .display-filter-head{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(180px,1fr) minmax(0,1fr)!important;align-items:center!important;margin-bottom:12px!important;gap:12px!important}.v9-compact-results .display-filter-head>strong{display:none!important}.v9-compact-results .result-sort-field{grid-column:3;grid-row:1;justify-self:end}.v9-compact-results .result-view-options{grid-column:2;grid-row:1;justify-self:center}.v9-compact-results #display-count{margin-inline-start:auto;display:inline-flex;gap:4px;font-size:15px!important;align-items:baseline!important;white-space:nowrap}.v9-compact-results #display-count strong{font-size:20px!important}.v9-compact-results .result-precision-control>div:first-child{display:flex!important;align-items:center;gap:9px}.v9-compact-results .result-filter-row{grid-template-columns:minmax(140px,1fr) minmax(140px,1fr) minmax(260px,2fr)!important;gap:14px!important}.v9-compact-results .result-filter-row select{height:46px!important;min-height:46px!important;font-size:16px!important}.v9-compact-results .result-filter-row>label{font-size:14px!important;gap:7px!important}.v9-compact-results .result-precision-ends{font-size:14px!important}.v9-compact-results #display-precision{margin-block:15px 10px!important}
@media(max-width:650px){.v9-direct-engines{flex-wrap:wrap!important}.v9-engine-tabs{flex:1}.v9-engine-tab{flex:1}.v9-direct-engines .v4-key-trigger{margin-inline-start:auto!important}body.v7-results .v9-compact-results{display:block!important;padding:15px!important}.v9-compact-results #result-tools{display:flex!important;margin:9px 0!important;justify-content:flex-start!important}.v9-compact-results .v7-search-meta{margin-top:6px!important}.v9-compact-results .v7-query-heading .v4-active-query{font-size:23px!important}.v9-compact-results .display-filter-head{grid-template-columns:1fr 1fr!important;gap:9px!important}.v9-compact-results .result-view-options{grid-column:1!important;justify-self:start!important}.v9-compact-results .result-sort-field{grid-column:2!important}.v9-compact-results .result-filter-row{grid-template-columns:1fr 1fr!important;gap:12px!important}.v9-compact-results .result-precision-control{grid-column:1/-1!important}.v9-new-search>span:not(:last-child){display:none}.v9-new-search{padding:14px 16px!important}.v9-compact-results #display-count strong{font-size:19px!important}}
body.v7-results .v9-compact-results .display-filter-head #result-tools{grid-column:1;grid-row:1;justify-self:start;display:flex!important;align-items:center!important;gap:8px!important;margin:0!important}.v9-compact-results #result-tools .reading-size{min-height:36px!important;padding:2px!important;gap:2px!important}.v9-compact-results #result-tools .reading-size button{min-height:32px!important;min-width:29px!important;height:32px!important;padding:3px!important;font-size:16px!important}.v9-compact-results #result-tools .diacritics-control{min-height:36px!important;padding:5px 8px!important;font-size:14px!important}.v9-compact-results .display-filter-head{direction:rtl}
@media(max-width:650px){body.v7-results .v9-compact-results .display-filter-head{display:grid!important;grid-template-columns:1fr 1fr!important;gap:9px!important}body.v7-results .v9-compact-results .display-filter-head #result-tools{grid-column:1/-1!important;grid-row:1!important;justify-self:stretch;justify-content:space-between!important}.v9-compact-results .display-filter-head .result-view-options{grid-row:2!important;grid-column:1!important}.v9-compact-results .display-filter-head .result-sort-field{grid-row:2!important;grid-column:2!important}.v9-compact-results .result-filter-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}}
.v9-engine-tab>span,.v9-engine-tab small{display:none!important}
body.v7-results .results-dashboard.v9-compact-results{display:block!important}
body.v7-results .results-dashboard.v9-compact-results[hidden],body.v7-results .v9-compact-results .resultsbar{display:none!important}
body.v7-results .v9-compact-results .v7-search-meta{margin:4px 42px 8px 0!important;line-height:1.6!important}
body.v7-results .v9-compact-results .display-filter-head{display:flex!important;flex-wrap:wrap!important;justify-content:space-between!important;align-items:center!important;gap:10px!important}
body.v7-results .v9-compact-results .display-filter-head #result-tools{display:flex!important;flex-wrap:nowrap!important;flex:0 1 auto!important;min-width:0!important;gap:8px!important;justify-content:flex-start!important}
body.v7-results .v9-compact-results .display-filter-head .result-view-options{flex:none!important;margin:0!important}
body.v7-results .v9-compact-results .display-filter-head .result-sort-field{display:flex!important;align-items:center!important;gap:6px!important;margin:0!important;flex:0 1 155px!important;min-width:0!important}
body.v7-results .v9-compact-results .result-sort-caption{display:none!important}
body.v7-results .v9-compact-results .result-sort-field select{height:40px!important;min-height:40px!important;font-size:15px!important;width:100%!important;padding:6px 10px!important}
body.v7-results .v9-compact-results .result-filter-row{grid-template-columns:minmax(130px,1fr) minmax(130px,1fr) minmax(260px,2.3fr)!important;align-items:start!important}
body.v7-results .v9-compact-results #display-filters{padding-top:12px!important;margin-top:10px!important}
@media(max-width:900px){body.v7-results .v9-compact-results .result-filter-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}body.v7-results .v9-compact-results .result-precision-control{grid-column:1/-1!important}}
@media(max-width:650px){body.v7-results .v9-compact-results .display-filter-head #result-tools{flex:1 0 100%!important;justify-content:space-between!important}body.v7-results .v9-compact-results .display-filter-head .result-sort-field{flex-basis:calc(50% - 10px)!important}body.v7-results .v9-compact-results .v7-search-meta{margin-inline-start:0!important;margin-inline-end:0!important;font-size:14px!important}}
body.v4-organized #key-dialog .v4-key-field{padding:0!important;border:0!important;background:transparent!important;border-radius:0!important}
body.v4-organized #key-dialog #api-key{height:64px!important;min-height:64px!important;padding:14px 15px!important;border:1px solid #d1ddc4!important;border-radius:13px!important;background:#f6f8ef!important}
body.v4-organized #key-dialog .api-key-heading{padding:0!important;justify-content:flex-start!important;font-size:15px!important}
body.v7-results.v8-search-busy .results-dashboard.v9-compact-results{display:none!important}

/* One service chooser, with local search kept immediately accessible. */
.v10-engine-switch{display:flex;align-items:center;gap:7px;flex:none}
body.v4-organized .v10-local-engine{display:flex!important;align-items:center;justify-content:center;position:relative;min-height:42px!important;padding:6px 15px!important;border:1px solid transparent!important;border-radius:11px!important;background:#f1f5eb!important;color:#607653!important;cursor:pointer;box-sizing:border-box}
.v10-local-engine input{position:absolute;opacity:0;width:1px!important;height:1px!important}.v10-local-engine>span,.v10-local-engine small,.v10-local-engine>svg{display:none!important}.v10-local-engine strong{font:500 16px/1.5 SiteUI,system-ui!important;color:inherit!important}
body.v4-organized .v10-local-engine:has(input:checked){background:#315b43!important;color:#fff!important}.v10-local-engine:focus-within{outline:2px solid #b49a55;outline-offset:2px}
body.v4-organized .v10-provider-add{display:grid!important;place-items:center;width:44px!important;min-width:44px!important;height:44px!important;padding:0!important;border:1px solid #d5dfc9!important;border-radius:12px!important;background:#fff9e9!important;color:#8c7134!important;font:400 32px/1 SiteUI,system-ui!important;cursor:pointer;transition:background .18s,box-shadow .18s}
body.v4-organized .v10-provider-add:hover,body.v4-organized .v10-provider-add[aria-expanded=true]{background:#f7e9bf!important;box-shadow:0 3px 10px #8c713419}.v10-provider-add:disabled{cursor:wait}
body.v4-organized .v10-unified-engines #engine-panel{display:none!important}.v10-unified-engines{gap:9px!important}
.v10-provider-chooser{z-index:1500;box-sizing:border-box;padding:12px;direction:rtl;background:#fffef9;border:1px solid #d6e0cc;border-radius:18px;box-shadow:0 16px 45px #263b2926;display:grid;grid-template-columns:1fr 1fr;gap:7px}.v10-provider-chooser[hidden]{display:none!important}.v10-provider-caption{grid-column:1/-1;font:500 15px/1.7 SiteUI,system-ui;color:#75806c;padding:2px 4px 7px}
body .v10-provider-chooser .v10-provider-choice{position:relative;display:flex!important;align-items:center;justify-content:space-between;gap:10px;min-height:48px!important;padding:10px 13px!important;border:1px solid #e0e5d6!important;border-radius:11px!important;background:#f6f8f1!important;color:#526b49!important;cursor:pointer;box-sizing:border-box}
.v10-provider-choice>span,.v10-provider-choice small,.v10-provider-choice>svg{display:none!important}.v10-provider-choice strong{font:500 16px/1.6 SiteUI,system-ui!important;color:inherit!important}.v10-provider-choice input{position:absolute;opacity:0;width:1px!important;height:1px!important}.v10-provider-choice:after{content:'＋';font-size:20px;line-height:1;color:#94a184}
body .v10-provider-chooser .v10-provider-choice:has(input:checked){background:#315b43!important;border-color:#315b43!important;color:white!important}.v10-provider-choice:has(input:checked):after{content:'✓';color:#fff}.v10-provider-choice:focus-within{outline:2px solid #b49a55;outline-offset:2px}.v10-provider-choice:last-child{grid-column:1/-1}
@media(max-width:650px){.v10-unified-engines{flex-wrap:nowrap!important}.v10-unified-engines .v4-key-trigger{min-width:0!important;max-width:180px!important}.v10-unified-engines .v4-key-trigger span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}
/* Results controls share one rhythm and one surface. */
body.v7-results .v9-compact-results .display-filter-head{display:grid!important;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;align-items:center!important;gap:14px!important}
body.v7-results .v9-compact-results .display-filter-head #result-tools{grid-column:1!important;grid-row:1!important;justify-self:start!important;flex-wrap:nowrap!important;gap:8px!important}
body.v7-results .v9-compact-results .result-view-options{grid-column:2!important;grid-row:1!important;justify-self:center!important}
body.v7-results .v9-compact-results .result-sort-field{grid-column:3!important;grid-row:1!important;justify-self:end!important}
body.v7-results .v9-compact-results #result-tools .reading-size,body.v7-results .v9-compact-results #result-tools .diacritics-control,body.v7-results .v9-compact-results .result-view-options,body.v7-results .v9-compact-results #display-sort{height:48px!important;min-height:48px!important;box-sizing:border-box!important;background:#fffef9!important;border:1px solid #d6e0cc!important;border-radius:12px!important;box-shadow:none!important;font:400 16px/1.5 SiteUI,system-ui!important;margin-block:0!important}
body.v7-results .v9-compact-results #result-tools .reading-size{padding:4px!important;gap:1px!important}body.v7-results .v9-compact-results #result-tools .diacritics-control{display:flex!important;align-items:center!important;padding:6px 11px!important;white-space:nowrap}
body.v7-results .v9-compact-results .result-view-options{padding:4px!important;gap:4px!important}.v9-compact-results .result-view-options button{height:38px!important;min-height:38px!important;padding:4px 13px!important;font:400 16px/1.5 SiteUI,system-ui!important;border-radius:8px!important}
body.v7-results .v9-compact-results #result-tools .reading-size button{height:38px!important;min-height:38px!important;font:500 17px/1.5 SiteUI,system-ui!important}.v9-compact-results #display-sort{min-width:170px!important;padding:7px 12px!important}
body.v7-results .v9-compact-results .result-precision-control>div:first-child{display:grid!important;grid-template-columns:1fr auto 1fr!important;gap:8px!important;align-items:center!important;min-height:34px}
body.v7-results .v9-compact-results .result-precision-control>div:first-child>label{grid-column:1!important;grid-row:1!important;display:flex;align-items:center;gap:8px;white-space:nowrap;font:500 16px/1.6 SiteUI,system-ui!important}
body.v7-results .v9-compact-results #display-precision-value{font:400 14px/1.5 SiteUI,system-ui!important;padding:4px 9px!important;border:1px solid #d7e1cd;border-radius:8px;background:#fffef9;color:#718362;white-space:nowrap}
body.v7-results .v9-compact-results #display-count{grid-column:2!important;grid-row:1!important;margin:0!important;justify-self:center!important;gap:5px!important;font:400 15px/1.6 SiteUI,system-ui!important;letter-spacing:0!important}
body.v7-results .v9-compact-results #display-count strong{font:600 19px/1.4 SiteUI,system-ui!important;letter-spacing:0!important}
body.v7-results .v7-query-icon{width:46px!important;height:46px!important;flex-basis:46px!important;border-radius:13px!important}.v7-query-icon svg{width:30px!important;height:30px!important}
body.v7-results .v7-search-time{display:flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:46px!important;margin-inline-start:auto!important;font:500 25px/1.4 SiteUI,system-ui!important;padding:5px 12px!important;border-radius:12px!important}
html.home-scenes-root{scroll-behavior:auto!important;scroll-snap-type:none!important}.home-scenes .home-scene{scroll-snap-align:none!important;scroll-snap-stop:normal!important}.home-scenes .just-completed,.home-scenes .results-arrived{animation:none!important;transition:none!important}
@media(max-width:800px){body.v7-results .v9-compact-results .display-filter-head{grid-template-columns:1fr 1fr!important;gap:10px!important}body.v7-results .v9-compact-results .display-filter-head #result-tools{grid-column:1/-1!important;grid-row:1!important;justify-self:stretch!important;justify-content:space-between!important}body.v7-results .v9-compact-results .result-view-options{grid-column:1!important;grid-row:2!important;justify-self:start!important}body.v7-results .v9-compact-results .result-sort-field{grid-column:2!important;grid-row:2!important;justify-self:end!important}.v9-compact-results #display-sort{min-width:0!important;width:100%!important}.v9-compact-results .result-view-options button{padding-inline:8px!important}body.v7-results .v9-compact-results .result-precision-control>div:first-child{grid-template-columns:auto 1fr!important}body.v7-results .v9-compact-results #display-count{justify-self:end!important;font-size:14px!important}body.v7-results .v9-compact-results #display-count strong{font-size:18px!important}body.v7-results .v9-compact-results .result-precision-control>div:first-child>label{font-size:15px!important;gap:5px!important}.v9-compact-results #display-count .result-total-number{display:none}body.v7-results .v7-query-heading{flex-wrap:nowrap!important;gap:9px!important}body.v7-results .v7-query-heading .v4-active-query{flex:1!important;min-width:0!important;font-size:22px!important}body.v7-results .v7-search-time{font-size:20px!important;padding:5px 8px!important;min-height:46px!important}}
body.v4-organized .v10-provider-add.has-service{width:auto!important;min-width:88px!important;padding:6px 14px!important;font:500 16px/1.5 SiteUI,system-ui!important;background:#f0f4e9!important;color:#667a55!important}.v10-provider-add.has-service.is-current{border-color:#739265!important;background:#e8f0df!important;color:#315b43!important}
.v11-key-services{margin:0 0 15px;padding:0;border:1px solid #dce3d3;border-radius:12px}.v11-key-services>summary{cursor:pointer;padding:11px 14px;color:#6c7c5c;font:400 15px/1.5 SiteUI,system-ui}.v11-key-services .v10-provider-chooser{position:static!important;inset:auto!important;width:auto!important;max-width:none!important;max-height:none!important;box-shadow:none!important;border:0!important;padding:8px!important}.v11-key-services .v10-provider-caption{display:none}.v11-key-services .v10-provider-choice{min-height:42px!important}
.result-source-control{min-width:0!important}.result-source-control .result-source-name{min-width:0!important;max-width:100%!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;display:block!important;-webkit-line-clamp:unset!important}
.v11-submodel-trigger{min-height:36px!important;max-width:170px;padding:5px 9px!important;border:1px solid #d7e1cd!important;border-radius:9px!important;background:#fffef9!important;color:#5e7451!important;font:400 14px/1.5 SiteUI,system-ui!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.v11-submodel-trigger:after{content:'⌄';margin-inline-start:7px;color:#879475}.v11-submodel-trigger[hidden]{display:none!important}.v10-unified-engines .v4-key-trigger.has-key{min-width:36px!important;width:36px!important;padding:7px!important;justify-content:center}.v10-unified-engines .v4-key-trigger.has-key>span{display:none!important}.v10-unified-engines{flex-wrap:wrap!important}.v10-unified-engines .model-connection-state{font-size:13px!important}
.result-source-picker{min-width:0!important;max-width:100%!important;overflow:visible}.result-source-picker .result-source-name{min-width:0!important;max-width:100%!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;display:block!important;-webkit-line-clamp:unset!important;font-size:14px!important}.result-source-picker .result-source-name:after{display:none!important}
.result-inline-search{display:flex;align-items:center;justify-content:center;position:relative;gap:9px;grid-column:1/-1;margin:6px 0 17px;min-height:38px}.result-inline-search:before,.result-inline-search:after{content:'';height:1px;background:#dde3d5;flex:1;max-width:105px}.result-inline-search-toggle{display:grid!important;place-items:center;width:38px;height:38px;padding:8px!important;border:1px solid #d8e1ce!important;border-radius:50%!important;background:#fffdf5!important;color:#718463!important;flex:none}.result-inline-search-toggle svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7}.result-inline-search-panel{display:flex;align-items:center;gap:6px;background:#fffef9;border:1px solid #c8d8bf;border-radius:13px;padding:5px 10px;max-width:540px;flex:1;animation:result-search-open .2s ease-out}.result-inline-search-panel[hidden]{display:none!important}.result-inline-search-panel input{border:0!important;background:transparent!important;min-width:0!important;flex:1!important;width:100%!important;padding:8px!important;font:400 16px/1.7 SiteUI,system-ui!important}.result-inline-search-panel>button{padding:4px!important;min-width:30px!important;background:transparent!important;color:#8d987e!important;border:0!important;font-size:23px!important}.result-inline-search.is-open:before,.result-inline-search.is-open:after{display:none}.result-inline-search.is-open .result-inline-search-toggle{background:#315b43!important;color:#fff!important}
@keyframes result-search-open{from{opacity:0;transform:scaleX(.94)}to{opacity:1;transform:scaleX(1)}}@media(prefers-reduced-motion:reduce){.result-inline-search-panel{animation:none}}

.v10-provider-choice[aria-disabled=true]{opacity:.5;cursor:not-allowed!important;flex-wrap:wrap}.v10-provider-choice[aria-disabled=true]:after{display:none!important}.v10-provider-choice .v11-provider-note{display:block!important;width:100%;font:400 12px/1.5 SiteUI,system-ui!important;color:#8c7953}

/* Unified connected service: local, model, and key are peers on one baseline. */
body.v4-organized #form .v10-unified-engines{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;gap:7px!important;padding:7px!important;min-width:0!important;border-radius:18px!important;background:#fffef9!important;opacity:1!important}
.v10-engine-switch{display:flex!important;align-items:center!important;gap:7px!important;min-width:0}
body.v4-organized #form .v10-unified-engines :is(.v10-local-engine,.v10-provider-add,.v4-key-trigger){height:46px!important;min-height:46px!important;box-sizing:border-box!important;border-radius:11px!important;font:500 16px/1.5 SiteUI,system-ui!important;box-shadow:none!important}
body.v4-organized #form .v10-unified-engines .v10-local-engine{padding:8px 15px!important}
body.v4-organized #form .v10-unified-engines .v10-provider-add.has-service{display:flex!important;align-items:center!important;gap:9px!important;padding:8px 12px!important;min-width:0!important;max-width:310px!important;background:#edf3e7!important;border-color:#cfddc1!important}
body.v4-organized #form .v10-unified-engines .v10-provider-add.is-current{background:#315b43!important;border-color:#315b43!important;color:#fffef9!important}
.v12-provider-title{font-size:15px;flex:none}.v12-provider-model{font-size:14px;font-weight:400;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;direction:ltr;opacity:.9}.v12-model-chevron{font-size:17px;flex:none}
body.v4-organized #form .v10-unified-engines .v4-key-trigger,body.v4-organized #form .v10-unified-engines .v4-key-trigger.has-key{display:flex!important;width:auto!important;min-width:0!important;padding:8px 13px!important;background:#faf1dc!important;border:1px solid #dfcb98!important;color:#80652e!important;gap:7px!important}
body.v4-organized #form .v10-unified-engines .v4-key-trigger.has-key>span{display:inline!important}.v10-unified-engines .v4-key-trigger svg{width:19px!important;height:19px!important;flex:none}.v10-unified-engines .model-connection-state,.v11-submodel-trigger{display:none!important}
body.v4-organized #form .v10-unified-engines button:focus-visible{outline:2px solid #ad914b!important;outline-offset:3px!important}
@media(max-width:650px){body.v4-organized #form .v10-unified-engines{width:100%!important;gap:5px!important;justify-content:space-between!important}.v10-engine-switch{flex:1;gap:5px!important}.v10-provider-add:has(.v12-provider-model) .v12-provider-title{display:none}.v12-provider-model{font-size:14px;max-width:150px}body.v4-organized #form .v10-unified-engines .v10-provider-add.has-service{flex:1;max-width:none!important;justify-content:center!important}.v10-unified-engines .v4-key-trigger span{font-size:14px!important}body.v4-organized #form .v10-unified-engines .v4-key-trigger{padding:8px!important}body.v4-organized #form .v10-unified-engines .v10-local-engine{padding:8px 12px!important}}
/* One consistent reading navigation, with a split interpretation selector. */
body.v7-results .result-card .result-tab-bar{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr) minmax(0,1fr)!important;align-items:stretch!important;gap:5px!important;padding:5px!important;background:#eef3e8!important;border:1px solid #d7e1cd!important;border-radius:14px!important}
body.v7-results .result-card .result-tab-bar :is(.result-tab,.result-source-name){display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;gap:7px!important;height:43px!important;min-height:43px!important;margin:0!important;padding:7px 10px!important;border:1px solid transparent!important;border-radius:9px!important;background:transparent!important;color:#5b7150!important;box-shadow:none!important;font:500 16px/1.5 SiteUI,system-ui!important;white-space:nowrap!important}
body.v7-results .result-card .result-tab-bar .result-tab>svg{width:19px!important;height:19px!important;flex:none;margin:0!important;stroke:#a78942}
body.v7-results .result-card .result-source-picker{display:flex!important;align-items:stretch!important;min-width:0!important;padding:0!important;border:1px solid #d5dfc9!important;border-radius:10px!important;background:#fffef9!important;overflow:visible!important}
body.v7-results .result-card .result-source-toggle{flex:0 0 auto!important;padding-inline:11px!important;border-inline-end:1px solid #e0e7d8!important;border-radius:0 9px 9px 0!important}
body.v7-results .result-card .result-source-name{display:block!important;flex:1!important;min-width:0!important;text-overflow:ellipsis!important;overflow:hidden!important;border-radius:9px 0 0 9px!important;font-weight:400!important}
body.v7-results .result-card .result-source-name:after{content:'⌄';margin-inline-start:7px;color:#879473}
body.v7-results .result-card .result-tab[aria-pressed=true]{background:#315b43!important;border-color:#315b43!important;color:#fffef9!important}.result-card .result-source-picker.is-active{border-color:#789663!important}.result-card .result-source-picker.is-active .result-source-toggle{background:#315b43!important;color:#fff!important}
body.v7-results .result-card .result-font-tools{display:none!important}
body.v7-results .result-card .result-insight-body{background:#fffef9!important;border:1px solid #dce4d2!important;border-radius:15px!important;margin-top:15px!important;padding:clamp(18px,3vw,29px)!important;box-shadow:0 8px 22px #355d4405}
body.v7-results .result-card .ai-explanation{padding:0!important;border:0!important;background:transparent!important;margin:0!important}
.result-card :is(.summary-meaning,.summary-connection){padding:0!important;margin:0!important}.result-card .summary-connection{border-top:1px solid #e5eadf!important;margin-top:20px!important;padding-top:18px!important}.result-card .summary-connection h4{font:600 15px/1.6 SiteUI,system-ui!important;color:#9a7c37!important;margin:0 0 8px!important}
body.v7-results .result-card :is(.result-prose,.result-tafsir-panel .tafsir){font-family:SiteUI,system-ui!important;font-size:calc(18px * var(--card-reading-scale,1))!important;line-height:2.1!important;color:#42583f!important;text-align:start!important;margin:0 0 12px!important;white-space:pre-line;overflow-wrap:anywhere}
.quran-inline-quote{font-family:Read,serif!important;font-size:1.2em!important;line-height:2.1!important;color:#94712b!important;font-weight:400!important}.result-card .result-summary-sources{border:0!important;margin:16px 0 0!important;padding:0!important;font-size:14px!important}.result-card .summary-regenerate-row{display:flex;justify-content:flex-end;margin-top:10px!important}.result-card .result-tafsir-panel .tafsir-source{background:transparent!important;border:0!important;padding:0!important}.result-card .result-tafsir-panel .tafsir-source>summary{color:#8a7953!important;font-size:15px!important;margin-bottom:14px!important}
body.v7-results .v9-new-search{min-height:86px!important;background:linear-gradient(105deg,#edf3e7,#fffdf6 75%)!important;border:1px solid #cbd9bb!important;border-radius:20px!important;padding:20px 25px!important;gap:15px!important;box-shadow:0 6px 24px #315b4308!important}.v9-new-search>svg{width:35px!important;height:35px!important;background:#e8efdf;border-radius:12px;padding:9px;box-sizing:content-box}.v9-new-search strong{font-size:23px!important;font-weight:600!important}.v9-new-search>span:not(:last-child){font-size:16px!important}.v9-new-search>span:last-child{display:grid;place-items:center;width:37px;height:37px;background:#fffef9;border:1px solid #dae3cc;border-radius:50%;font-size:26px!important}
.scene-transition-veil{position:fixed;inset:0;z-index:3000;background:#f8f7f2;pointer-events:none;opacity:0}
.v12-web-site{display:block;font:500 14px/1.7 SiteUI,system-ui;color:#977b3d;margin-bottom:7px}.v4-web-card{background:#fffef9!important;border:1px solid #dce4d2!important;border-radius:15px!important;padding:20px!important}.v4-web-card>a:first-of-type{font-size:19px;font-weight:500;color:#315b43}.v4-web-card>p:not(.verse){font-size:16px;line-height:1.9;color:#68795d}.v12-web-links{display:flex;gap:8px;flex-wrap:wrap}.v12-web-links a{padding:8px 12px;background:#f2f5eb;border:1px solid #dce4d0;border-radius:9px;font-size:15px;color:#5a744c}.v4-web-verse{padding:12px 0;color:#92712c}
@media(max-width:650px){body.v7-results .result-card .result-tab-bar{grid-template-columns:minmax(0,1fr) minmax(0,1.35fr)!important;gap:4px!important}body.v7-results .result-card .result-why-tab{grid-column:1/-1;height:35px!important;min-height:35px!important;font-size:14px!important;border-top:1px solid #dde6d4!important;border-radius:0 0 9px 9px!important}body.v7-results .result-card .result-tab-bar :is(.result-tab,.result-source-name){font-size:15px!important;padding:7px!important}.v9-new-search>span:not(:last-child){display:none}.v9-new-search strong{font-size:21px!important}body.v7-results .v9-new-search{padding:15px 18px!important;min-height:78px!important}.result-card .result-insight-body{padding:18px!important}}

body.v7-results #results .result-card .result-tab-bar :is(.result-tab,.result-source-name){height:46px!important;min-height:46px!important;max-height:46px!important;box-sizing:border-box!important;align-self:center!important}body.v7-results #results .result-card .result-source-picker{height:46px!important;min-height:46px!important;box-sizing:border-box!important;border:0!important;box-shadow:inset 0 0 0 1px #d5dfc9!important;align-self:center!important}body.v7-results #results .result-source-toggle{height:46px!important;min-height:46px!important}.v10-unified-engines .model-connection-state{display:none!important}body.v4-organized #form .v10-unified-engines .model-connection-state{display:none!important}
.quran-inline-quote .qpc-canonical-text{position:absolute!important;width:1px!important;height:1px!important;clip-path:inset(50%)!important;overflow:hidden!important;white-space:nowrap!important}.quran-inline-quote .qpc-verse-glyphs{font-size:1em!important;line-height:inherit!important;color:inherit!important}.quran-inline-quote .qpc-result-word{display:inline-block;white-space:nowrap}
/* Reading actions share one calm visual language. */
body.v7-results .result-card-foot :is(.result-share-button,.v4-copy-verse){display:inline-flex!important;align-items:center!important;justify-content:center!important;width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;padding:8px!important;background:#f4f7ed!important;color:#71865f!important;border:1px solid #d5e0c8!important;border-radius:12px!important;box-shadow:none!important;vertical-align:middle!important}
body.v7-results .result-card-foot :is(.result-share-button,.v4-copy-verse) svg{width:22px!important;height:22px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.7!important;stroke-linejoin:round;stroke-linecap:round}
body.v7-results .result-verse-wrap>.verse{font-size:calc(26.1px * var(--reading-scale,1))!important;line-height:2!important}
body.v7-results .result-has-long-text:not(.result-text-expanded) .result-verse-wrap>:is(.verse,.result-passage){display:block!important;-webkit-line-clamp:unset!important;overflow:visible!important;max-height:none!important}
body.v7-results .result-expand{display:none!important}
body.v7-results #result-tools{display:flex!important;align-items:stretch!important;justify-content:flex-start!important;gap:8px!important;flex-wrap:nowrap!important;width:100%!important;grid-column:1/-1!important;min-width:0!important}
body.v7-results #result-tools :is(.reading-size,.diacritics-control,.result-sort-field){position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;box-sizing:border-box!important;min-width:0!important;min-height:44px!important;height:44px!important;margin:0!important;padding:0 10px!important;border:1px solid #d4dfc6!important;border-radius:12px!important;background:#fffef9!important;color:#67805a!important;box-shadow:none!important;white-space:nowrap!important;font:400 14px/1.4 SiteUI,system-ui!important}
body.v7-results #result-tools .reading-size{flex:0 0 150px!important}body.v7-results #result-tools .diacritics-control{flex:0 1 160px!important}body.v7-results #result-tools .result-sort-field{flex:1 1 180px!important;max-width:230px!important;grid-column:auto!important;grid-row:auto!important;justify-self:stretch!important;padding:0!important}
body.v7-results #result-tools .reading-size button{min-height:30px!important;height:30px!important;width:27px!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;font-size:18px!important;color:inherit!important}body.v7-results #result-tools .reading-size #font-reset{width:50px!important;font-size:14px!important}
body.v7-results #result-tools .result-sort-field>svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;position:absolute;inset-inline-start:8px;pointer-events:none}
body.v7-results #result-tools #display-sort{appearance:none!important;display:block!important;width:100%!important;height:42px!important;min-height:42px!important;min-width:0!important;margin:0!important;padding:0 31px 0 8px!important;border:0!important;border-radius:12px!important;background:transparent!important;color:inherit!important;font:400 14px/1.4 SiteUI,system-ui!important;box-shadow:none!important;text-overflow:ellipsis!important}
@media(max-width:650px){body.v7-results .result-verse-wrap>.verse{font-size:calc(24.3px * var(--reading-scale,1))!important}body.v7-results #result-tools{gap:5px!important;display:grid!important;grid-template-columns:1.1fr 1.05fr 1.2fr!important}body.v7-results #result-tools :is(.reading-size,.diacritics-control,.result-sort-field){width:100%!important;max-width:none!important;padding:0 5px!important;gap:4px!important;font-size:12px!important;min-height:42px!important;height:42px!important}body.v7-results #result-tools .reading-size{gap:0!important}body.v7-results #result-tools .reading-size button{width:22px!important;min-width:0!important;font-size:17px!important}body.v7-results #result-tools .reading-size #font-reset{width:44px!important;font-size:12px!important}body.v7-results #result-tools .diacritics-control input{width:14px!important;height:14px!important;flex:none!important}body.v7-results #result-tools #display-sort{font-size:12px!important;padding-inline-start:27px!important;padding-inline-end:5px!important;height:40px!important;min-height:40px!important}body.v7-results #result-tools .result-sort-field>svg{width:16px!important;height:16px!important;inset-inline-start:6px!important}}
@media(max-width:650px){body.home-scenes.v4-organized.v7-results .v9-compact-results #result-tools{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important;align-items:stretch!important}body.home-scenes.v4-organized.v7-results .v9-compact-results #result-tools :is(.reading-size,.diacritics-control,.result-sort-field){box-sizing:border-box!important;display:flex!important;position:relative!important;align-items:center!important;justify-content:center!important;min-width:0!important;max-width:none!important;width:100%!important;min-height:42px!important;max-height:42px!important;height:42px!important;grid-column:auto!important;grid-row:auto!important;margin:0!important;padding:0 4px!important;gap:3px!important;flex:none!important;font:400 12px/1.4 SiteUI,system-ui!important;border:1px solid #d4dfc6!important;border-radius:12px!important;background:#fffef9!important;color:#67805a!important}body.home-scenes.v4-organized.v7-results .v9-compact-results #result-tools .reading-size button{width:20px!important;min-width:0!important;min-height:28px!important;height:28px!important;padding:0!important;font-size:17px!important;flex:none!important}body.home-scenes.v4-organized.v7-results .v9-compact-results #result-tools .reading-size #font-reset{width:40px!important;font-size:12px!important}body.home-scenes.v4-organized.v7-results .v9-compact-results #result-tools .diacritics-control span{white-space:nowrap!important;font-size:12px!important}body.home-scenes.v4-organized.v7-results .v9-compact-results #result-tools #display-sort{width:100%!important;min-width:0!important;height:40px!important;min-height:40px!important;padding-inline:23px 2px!important;font-size:12px!important;border:0!important;background:transparent!important}body.home-scenes.v4-organized.v7-results .v9-compact-results #result-tools .result-sort-field>svg{width:15px!important;inset-inline-start:5px!important}body.home-scenes.v4-organized.v7-results .v9-compact-results #result-tools .result-sort-caption{display:none!important}}
body.v7-results .result-precision-control output{display:inline!important;background:none!important;border:0!important;box-shadow:none!important;padding:0!important;border-radius:0!important;font:inherit!important;color:inherit!important;pointer-events:none!important}
body.v7-results .result-precision-control>div:first-child{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;min-height:30px!important}body.v7-results .result-precision-control>div:first-child>label,body.v7-results #display-count{font:400 15px/1.6 SiteUI!important;display:flex!important;align-items:center!important;gap:5px!important;margin:0!important}body.v7-results #display-count :is(strong,b,span){font:inherit!important}body.v7-results #display-count .result-total-number,body.v7-results #display-count .result-loaded-number{display:inline!important}.result-total-number{font:inherit!important}
body.home-scenes.v4-organized.v7-results .v9-compact-results .display-filter-head{display:grid!important;grid-template-columns:1fr auto 1fr!important;align-items:center!important;gap:12px!important}body.home-scenes.v4-organized.v7-results .v9-compact-results .display-filter-head>.result-sort-field{grid-column:3!important;grid-row:1!important;justify-self:end!important;min-height:44px!important;height:44px!important;margin:0!important}.display-filter-head>.result-sort-field>svg{display:block}body.home-scenes.v4-organized.v7-results .v9-compact-results .display-filter-head>#result-tools{grid-column:1!important;grid-row:1!important;width:auto!important}.display-filter-head>.result-view-options{grid-column:2!important;grid-row:1!important;min-height:44px!important;box-sizing:border-box!important}.display-filter-head>.result-sort-field select{height:44px!important;min-height:44px!important;border-radius:12px!important;background:#fffef9!important;border:1px solid #d4dfc6!important;font:14px SiteUI!important}.result-inline-actions{display:inline-flex;align-items:center;gap:7px;vertical-align:middle;line-height:1;margin-inline:8px;white-space:nowrap}.result-inline-actions :is(.result-note-inline,.result-share-button){display:inline-grid!important;place-items:center!important;position:static!important;width:32px!important;min-width:32px!important;height:32px!important;min-height:32px!important;margin:0!important;padding:6px!important;border:1px solid var(--card-border,#d5dfc8)!important;border-radius:9px!important;background:var(--card-paper,#f5f8ef)!important;color:var(--card-ink,#71905d)!important;box-shadow:none!important}.result-inline-actions svg{width:20px!important;height:20px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.7!important;stroke-linejoin:round;stroke-linecap:round}
@media(max-width:650px){body.home-scenes.v4-organized.v7-results .v9-compact-results .display-filter-head{grid-template-columns:minmax(0,1fr)!important;gap:10px!important}body.home-scenes.v4-organized.v7-results .v9-compact-results .display-filter-head>#result-tools{grid-column:1!important;grid-row:2!important;width:100%!important}.display-filter-head>.result-view-options{grid-column:1!important;grid-row:1!important;width:100%!important}body.home-scenes.v4-organized.v7-results .v9-compact-results .result-precision-control>div:first-child{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:space-between!important}body.home-scenes.v4-organized.v7-results .v9-compact-results #display-count{justify-self:auto!important;margin-inline-start:auto!important;font:400 14px/1.5 SiteUI!important}body.home-scenes.v4-organized.v7-results .v9-compact-results .result-precision-control>div:first-child>label{font:400 14px/1.5 SiteUI!important;white-space:nowrap}body.home-scenes.v4-organized.v7-results .v9-compact-results .result-precision-control output{font:inherit!important}}
body.home-scenes.v4-organized.v7-results .v9-compact-results .result-view-options{height:44px!important;min-height:44px!important;max-height:44px!important;box-sizing:border-box!important;padding:4px!important}.v9-compact-results .result-view-options button{height:34px!important;min-height:34px!important;padding-block:4px!important}.v9-compact-results .result-filter-trigger{min-height:44px!important;height:44px!important;box-sizing:border-box!important}@media(max-width:650px){body.home-scenes.v4-organized.v7-results .v9-compact-results .result-view-options{height:42px!important;min-height:42px!important;max-height:42px!important}.v9-compact-results .result-view-options button{height:32px!important;min-height:32px!important}.v9-compact-results .result-filter-trigger{height:42px!important;min-height:42px!important}body.v7-results #display-count .result-total-number{display:none!important}}
body.home-scenes.v4-organized.v7-results .v9-compact-results #result-tools :is(.reading-size,.diacritics-control){height:44px!important;min-height:44px!important;max-height:44px!important;box-sizing:border-box!important}body.home-scenes.v4-organized.v7-results .v9-compact-results #result-tools{min-height:44px!important;height:44px!important;align-items:stretch!important}@media(max-width:650px){body.home-scenes.v4-organized.v7-results .v9-compact-results #result-tools,body.home-scenes.v4-organized.v7-results .v9-compact-results #result-tools :is(.reading-size,.diacritics-control){height:42px!important;min-height:42px!important;max-height:42px!important}}
