/* Atlas settings: same blue, white and restrained borders as the search UI. */
.atlas-settings-v64 .atlas-settings-dialog{width:min(620px,calc(100vw - 28px))!important;max-height:calc(100dvh - 32px)!important;padding:0!important;overflow:hidden!important;border:1px solid #dce8f5!important;border-radius:22px!important;background:#fff!important;box-shadow:0 24px 80px rgba(20,48,86,.22)!important;display:flex!important;flex-direction:column!important}
.atlas-settings-v64 .atlas-settings-hero{min-height:104px!important;padding:22px 26px!important;grid-template-columns:46px minmax(0,1fr) 36px!important;gap:14px!important;background:linear-gradient(120deg,#f4f9ff,#fff 75%)!important;border-color:#e6eef8!important}
.atlas-settings-v64 .atlas-settings-hero-icon{width:46px!important;height:46px!important;border-radius:14px!important;background:#eaf3ff!important;color:#0878ef!important;box-shadow:none!important}
.atlas-settings-v64 .atlas-settings-hero span{margin-bottom:5px!important;color:#0878ef!important;font-size:10px!important;letter-spacing:.08em!important}
.atlas-settings-v64 .atlas-settings-hero h2{color:#102a4a!important;font-size:25px!important;font-weight:750!important}
.atlas-settings-v64 .atlas-settings-hero p{margin-top:5px!important;color:#7188a5!important;font-size:12px!important}
.atlas-settings-v64 .atlas-settings-close{width:36px!important;height:36px!important;border:1px solid #e0eaf5!important;border-radius:11px!important;background:#f7faff!important;color:#6d85a2!important;font-size:23px!important}
.atlas-settings-v64 .atlas-settings-close:hover{background:#eaf3ff!important;color:#0878ef!important}
.atlas-settings-v64 .atlas-settings-scroll{min-height:0!important;max-height:none!important;flex:1 1 auto!important;padding:22px 26px 26px!important;scrollbar-color:#bfd4eb transparent!important}
.atlas-settings-v64 .atlas-settings-section{margin-bottom:23px!important}
.atlas-settings-v64 .atlas-settings-section:last-of-type{margin-bottom:22px!important}
.atlas-settings-v64 .atlas-settings-section-head{margin:0 2px 10px!important;align-items:center!important}
.atlas-settings-v64 .atlas-settings-section-head span{color:#14375d!important;font-size:13px!important;font-weight:740!important}
.atlas-settings-v64 .atlas-settings-section-head small{color:#8ca0b7!important;font-size:11px!important}
.atlas-settings-v64 .atlas-settings-card{border-color:#dfeaf6!important;border-radius:15px!important;background:#fff!important}
.atlas-settings-v64 .atlas-setting-row-v64{min-height:70px!important;padding:13px 16px!important;border-color:#e8eef6!important;background:#fff!important}
.atlas-settings-v64 .atlas-setting-row-v64:hover{background:#f7fbff!important}
.atlas-settings-v64 .atlas-setting-row-v64>span{gap:4px!important}
.atlas-settings-v64 .atlas-setting-row-v64 b{color:#203c60!important;font-size:13px!important;font-weight:680!important;line-height:1.3!important}
.atlas-settings-v64 .atlas-setting-row-v64 small{color:#8194ae!important;font-size:11px!important;line-height:1.35!important}
.atlas-settings-v64 .atlas-toggle-v64{width:42px!important;height:24px!important;flex-basis:42px!important;background:#d9e2ee!important}
.atlas-settings-v64 .atlas-toggle-v64::after{width:18px!important;height:18px!important}
.atlas-settings-v64 .atlas-setting-row-v64 input:checked+.atlas-toggle-v64{background:#0878ef!important}
.atlas-settings-v64 .atlas-setting-row-v64 input:checked+.atlas-toggle-v64::after{transform:translateX(18px)!important}
.atlas-settings-v64 .atlas-setting-row-v64:focus-within{outline:2px solid #84bcff!important;outline-offset:-2px!important}
.atlas-settings-v64 .atlas-settings-subgroup-v65{min-height:62px!important;margin-top:10px!important;padding:10px 15px!important;border-color:#dfeaf6!important;border-radius:15px!important;background:#fff!important}
.atlas-settings-v64 .atlas-settings-subgroup-v65>span{color:#203c60!important;font-size:12px!important;font-weight:680!important}
.atlas-settings-v64 .atlas-safe-segment-v65{gap:3px!important;padding:4px!important;background:#f0f5fb!important;border:1px solid #e2eaf4!important}
.atlas-settings-v64 .atlas-safe-segment-v65 button{min-width:76px!important;height:34px!important;padding:0 10px!important;color:#667e9c!important;font-size:11px!important}
.atlas-settings-v64 .atlas-safe-segment-v65 button.is-active{background:#fff!important;color:#0878ef!important;box-shadow:0 2px 8px rgba(32,86,153,.12)!important}
.atlas-settings-v64 .atlas-theme-segment{gap:5px!important;padding:5px!important;border-color:#dfeaf6!important;background:#f2f7fc!important}
.atlas-settings-v64 .atlas-theme-segment button{min-height:47px!important;color:#667e9c!important}
.atlas-settings-v64 .atlas-theme-segment button b{font-size:11px!important;font-weight:680!important}
.atlas-settings-v64 .atlas-theme-segment button.is-active{color:#0878ef!important;background:#fff!important;box-shadow:0 2px 9px rgba(32,86,153,.12)!important}
.atlas-settings-v64 .atlas-private-card-v64{min-height:78px!important;border-color:#d9e9fb!important;background:#f3f9ff!important}
.atlas-settings-v64 .atlas-private-icon-v64{background:#e4f1ff!important;color:#0878ef!important}
.atlas-settings-v64 .atlas-private-card-v64 b{color:#203c60!important;font-size:13px!important}
.atlas-settings-v64 .atlas-private-card-v64 small{color:#8194ae!important;font-size:11px!important;line-height:1.35!important}
.atlas-settings-v64 .atlas-private-card-v64 button{min-width:86px!important;height:36px!important;border-color:#bad8fa!important;color:#086acc!important;font-size:11px!important}
.atlas-settings-v64 .atlas-private-card-v64 button.is-active{background:#0878ef!important;color:#fff!important}
.atlas-settings-v64 .atlas-settings-footer{min-height:70px!important;flex:0 0 auto!important;padding:13px 26px!important;border-color:#e6eef8!important;background:#fff!important}
.atlas-settings-v64 .atlas-settings-save-state-v65{color:#8297b1!important;font-size:11px!important}
.atlas-settings-v64 .atlas-settings-footer button{height:40px!important;min-width:96px!important;background:#0878ef!important;border-radius:10px!important;box-shadow:0 6px 16px rgba(8,120,239,.18)!important;font-size:12px!important;font-weight:700!important}
.atlas-settings-v64 button:focus-visible{outline:2px solid #64aaff!important;outline-offset:2px!important}
/* Local density controls also cover Atlas' own result markup. */
html.atlas-compact-results .rp-web-results .web-result{padding-top:13px!important;padding-bottom:13px!important;margin-bottom:0!important}
html.atlas-compact-results .rp-web-results .web-result-title{font-size:17px!important;line-height:1.3!important}
html.atlas-compact-results .rp-web-results .web-result-desc{margin-top:4px!important;line-height:1.45!important;display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;overflow:hidden!important}
html.atlas-compact-results .rp-web-results .atlas-result-actions{margin-top:7px!important}
html.atlas-compact-images .atlas-image-results .atlas-owned-image-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important}
html.atlas-compact-images .atlas-image-results .atlas-owned-grid-media{aspect-ratio:16/9!important}
html.atlas-compact-images .atlas-image-results .atlas-owned-grid-copy{min-height:48px!important;padding:7px 9px!important}
/* The theme selector has a visible effect on the portal, including the dialog. */
html[data-atlas-theme="dark"] body{background:#101b2a!important;color:#e6effa!important}
html[data-atlas-theme="dark"],html[data-atlas-theme="dark"] body.home,html[data-atlas-theme="dark"] body.search-results,html[data-atlas-theme="dark"] body.home .a18-frame,html[data-atlas-theme="dark"] body.search-results .a18-frame,html[data-atlas-theme="dark"] body.home #content,html[data-atlas-theme="dark"] body.search-results #content{background:#101b2a!important;color:#e6effa!important}
html[data-atlas-theme="dark"] body.search-results #header,html[data-atlas-theme="dark"] .rp-results-header,html[data-atlas-theme="dark"] .rp-search-tabs,html[data-atlas-theme="dark"] .rp-topbar,html[data-atlas-theme="dark"] .rp-hero{background:#142236!important;border-color:#2d435d!important;color:#e6effa!important}
html[data-atlas-theme="dark"] .rp-query-form,html[data-atlas-theme="dark"] .rp-query-form input[type=search],html[data-atlas-theme="dark"] .rp-topbutton{background:#1b2c42!important;color:#e6effa!important;border-color:#406184!important}
html[data-atlas-theme="dark"] .rp-brand,html[data-atlas-theme="dark"] .rp-brand-large h1,html[data-atlas-theme="dark"] .rp-section-heading h2,html[data-atlas-theme="dark"] .rp-results-caption,html[data-atlas-theme="dark"] .rp-mainnav a{color:#e6effa!important}
html[data-atlas-theme="dark"] .rp-ai-results,html[data-atlas-theme="dark"] .rp-web-results,html[data-atlas-theme="dark"] .rp-related,html[data-atlas-theme="dark"] .rp-card,html[data-atlas-theme="dark"] .rp-side-card,html[data-atlas-theme="dark"] .rp-footer{background:#17283b!important;border-color:#304a65!important;color:#e6effa!important}
html[data-atlas-theme="dark"] .rp-ai-results-heading,html[data-atlas-theme="dark"] .rp-side-link,html[data-atlas-theme="dark"] .rp-card-bottom{background:#1c3047!important;border-color:#304a65!important}
html[data-atlas-theme="dark"] .rp-ai-results-body,html[data-atlas-theme="dark"] .rp-ai-results-body p,html[data-atlas-theme="dark"] .rp-ai-results-body li,html[data-atlas-theme="dark"] .rp-ai-results-label b,html[data-atlas-theme="dark"] .rp-card-label h3,html[data-atlas-theme="dark"] .rp-side-title h2,html[data-atlas-theme="dark"] .rp-temp,html[data-atlas-theme="dark"] .rp-side-weather-main strong,html[data-atlas-theme="dark"] .rp-currency-list b,html[data-atlas-theme="dark"] .rp-currency-list strong,html[data-atlas-theme="dark"] .rp-date-main strong{color:#e6effa!important}
html[data-atlas-theme="dark"] .rp-weather-description,html[data-atlas-theme="dark"] .rp-side-weather-main span,html[data-atlas-theme="dark"] .rp-ai-copy h4,html[data-atlas-theme="dark"] .rp-ai-copy p,html[data-atlas-theme="dark"] .rp-horoscope-body strong,html[data-atlas-theme="dark"] .rp-horoscope-body p{color:#c9d9ec!important}
html[data-atlas-theme="dark"] .rp-weather-metrics>div,html[data-atlas-theme="dark"] .rp-side-stats span,html[data-atlas-theme="dark"] .rp-related a,html[data-atlas-theme="dark"] .rp-service-shortcuts a,html[data-atlas-theme="dark"] .rp-service-shortcuts button{background:#213852!important;border-color:#304a65!important;color:#c9d9ec!important}
html[data-atlas-theme="dark"] .rp-web-results .web-result,html[data-atlas-theme="dark"] .rp-web-results .gsc-control-cse,html[data-atlas-theme="dark"] .rp-web-results .gsc-result,html[data-atlas-theme="dark"] .rp-web-results .gsc-control-cse .gsc-table-result{background:#17283b!important;border-color:#304a65!important;color:#c9d9ec!important}
html[data-atlas-theme="dark"] .rp-web-results .web-result-desc,html[data-atlas-theme="dark"] .rp-web-results .gs-snippet,html[data-atlas-theme="dark"] .rp-web-results .gs-bidi-start-align.gs-snippet{color:#b8cae0!important}
html[data-atlas-theme="dark"] .rp-web-results .web-result-title,html[data-atlas-theme="dark"] .rp-web-results .gsc-result .gs-title a{color:#8fc5ff!important}
html[data-atlas-theme="dark"] .rp-web-results .web-result-title-heading,html[data-atlas-theme="dark"] .rp-web-results .web-result-title-heading a,html[data-atlas-theme="dark"] .rp-results-caption strong{color:#ddecff!important}
html[data-atlas-theme="dark"] .rp-ai-results-body,html[data-atlas-theme="dark"] .rp-ai-results-footer,html[data-atlas-theme="dark"] .rp-ai-expand{background:#17283b!important;border-color:#304a65!important;color:#d8e7f8!important}
html[data-atlas-theme="dark"] .rp-ai-results-body .atlas-ai-summary,html[data-atlas-theme="dark"] .rp-ai-results-body .atlas-ai-points,html[data-atlas-theme="dark"] .rp-ai-results-body .atlas-ai-followups{background:#17283b!important;color:#d8e7f8!important}
html[data-atlas-theme="dark"] .atlas-search-wordmark,html[data-atlas-theme="dark"] .rp-results-header .atlas-search-wordmark:link,html[data-atlas-theme="dark"] .rp-results-header .atlas-search-wordmark:visited{color:#e6effa!important}
html[data-atlas-theme="dark"] .rp-web-results .atlas-result-actions button,html[data-atlas-theme="dark"] .rp-ai-results-footer button,html[data-atlas-theme="dark"] .rp-web-results .atlas-sort-button{background:#233a53!important;color:#c6dcf4!important;border-color:#36546f!important}
html[data-atlas-theme="dark"] .atlas-image-results .atlas-owned-image-card,html[data-atlas-theme="dark"] .atlas-image-results .atlas-owned-grid-copy{background:#1c3047!important;border-color:#34516d!important}
html[data-atlas-theme="dark"] .atlas-image-results .atlas-owned-grid-title{color:#e6effa!important}
html[data-atlas-theme="dark"] .atlas-image-results .atlas-owned-grid-source{color:#9fb5cf!important}
html[data-atlas-theme="dark"] .atlas-settings-v64 .atlas-settings-dialog{background:#17283b!important;border-color:#324b66!important}
html[data-atlas-theme="dark"] .atlas-settings-v64 .atlas-settings-hero{background:#1c3047!important;border-color:#324b66!important}
html[data-atlas-theme="dark"] .atlas-settings-v64 .atlas-settings-hero h2,html[data-atlas-theme="dark"] .atlas-settings-v64 .atlas-settings-section-head span,html[data-atlas-theme="dark"] .atlas-settings-v64 .atlas-setting-row-v64 b,html[data-atlas-theme="dark"] .atlas-settings-v64 .atlas-settings-subgroup-v65>span,html[data-atlas-theme="dark"] .atlas-settings-v64 .atlas-private-card-v64 b{color:#e8f2ff!important}
html[data-atlas-theme="dark"] .atlas-settings-v64 .atlas-settings-card,html[data-atlas-theme="dark"] .atlas-settings-v64 .atlas-setting-row-v64,html[data-atlas-theme="dark"] .atlas-settings-v64 .atlas-settings-subgroup-v65,html[data-atlas-theme="dark"] .atlas-settings-v64 .atlas-settings-footer{background:#17283b!important;border-color:#324b66!important}
html[data-atlas-theme="dark"] .atlas-settings-v64 .atlas-setting-row-v64:hover{background:#213852!important}
html[data-atlas-theme="dark"] .atlas-settings-v64 .atlas-theme-segment,html[data-atlas-theme="dark"] .atlas-settings-v64 .atlas-safe-segment-v65{background:#213852!important;border-color:#324b66!important}
html[data-atlas-theme="dark"] .atlas-settings-v64 .atlas-theme-segment button.is-active,html[data-atlas-theme="dark"] .atlas-settings-v64 .atlas-safe-segment-v65 button.is-active{background:#2b4662!important;color:#8fc5ff!important}
html[data-atlas-theme="dark"] .atlas-settings-v64 .atlas-private-card-v64{background:#1c344d!important;border-color:#345775!important}
@media(max-width:720px){html.atlas-compact-images .atlas-image-results .atlas-owned-image-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:480px){.atlas-settings-v64 .atlas-settings-dialog{width:calc(100vw - 16px)!important;max-height:calc(100dvh - 16px)!important;border-radius:18px!important}.atlas-settings-v64 .atlas-settings-hero{padding:17px 18px!important}.atlas-settings-v64 .atlas-settings-scroll{padding:19px 17px!important}.atlas-settings-v64 .atlas-settings-section-head small{display:none!important}.atlas-settings-v64 .atlas-settings-footer{padding:12px 17px!important}.atlas-settings-v64 .atlas-settings-subgroup-v65{align-items:stretch!important}.atlas-settings-v64 .atlas-safe-segment-v65{width:100%!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}.atlas-settings-v64 .atlas-safe-segment-v65 button{width:100%!important;min-width:0!important}}
